@sd-angular/core 1.2.83 → 1.2.86

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 (1251) hide show
  1. package/api/package.json +12 -1
  2. package/api/sd-angular-core-api.d.ts +2 -0
  3. package/api/sd-angular-core-api.d.ts.__ivy_ngcc_bak +4 -0
  4. package/api/sd-angular-core-api.d.ts.map +1 -0
  5. package/assets/img/file-types/eps/001-file.eps +143 -143
  6. package/assets/img/file-types/eps/002-file-1.eps +136 -136
  7. package/assets/img/file-types/eps/003-file-2.eps +130 -130
  8. package/assets/img/file-types/eps/004-file-3.eps +127 -127
  9. package/assets/img/file-types/eps/005-file-4.eps +120 -120
  10. package/assets/img/file-types/eps/006-file-5.eps +133 -133
  11. package/assets/img/file-types/eps/007-file-6.eps +133 -133
  12. package/assets/img/file-types/eps/008-file-7.eps +144 -144
  13. package/assets/img/file-types/eps/009-file-8.eps +150 -150
  14. package/assets/img/file-types/eps/010-file-9.eps +155 -155
  15. package/assets/img/file-types/eps/011-file-10.eps +124 -124
  16. package/assets/img/file-types/eps/012-file-11.eps +147 -147
  17. package/assets/img/file-types/eps/013-file-12.eps +125 -125
  18. package/assets/img/file-types/eps/014-file-13.eps +129 -129
  19. package/assets/img/file-types/eps/015-file-14.eps +143 -143
  20. package/assets/img/file-types/eps/016-file-15.eps +130 -130
  21. package/assets/img/file-types/eps/017-file-16.eps +197 -197
  22. package/assets/img/file-types/eps/018-file-17.eps +146 -146
  23. package/assets/img/file-types/eps/019-file-18.eps +131 -131
  24. package/assets/img/file-types/eps/020-file-19.eps +137 -137
  25. package/assets/img/file-types/eps/021-file-20.eps +134 -134
  26. package/assets/img/file-types/eps/022-file-21.eps +130 -130
  27. package/assets/img/file-types/eps/023-file-22.eps +161 -161
  28. package/assets/img/file-types/eps/024-file-23.eps +144 -144
  29. package/assets/img/file-types/eps/025-file-24.eps +164 -164
  30. package/assets/img/file-types/eps/026-file-25.eps +135 -135
  31. package/assets/img/file-types/eps/027-file-26.eps +124 -124
  32. package/assets/img/file-types/eps/028-file-27.eps +120 -120
  33. package/assets/img/file-types/eps/029-file-28.eps +141 -141
  34. package/assets/img/file-types/eps/030-file-29.eps +130 -130
  35. package/assets/img/file-types/eps/031-file-30.eps +157 -157
  36. package/assets/img/file-types/eps/032-file-31.eps +139 -139
  37. package/assets/img/file-types/eps/033-file-32.eps +139 -139
  38. package/assets/img/file-types/eps/034-file-33.eps +189 -189
  39. package/assets/img/file-types/eps/035-file-34.eps +162 -162
  40. package/assets/img/file-types/eps/036-file-35.eps +142 -142
  41. package/assets/img/file-types/eps/037-file-36.eps +123 -123
  42. package/assets/img/file-types/eps/038-file-37.eps +127 -127
  43. package/assets/img/file-types/eps/039-file-38.eps +146 -146
  44. package/assets/img/file-types/eps/040-file-39.eps +126 -126
  45. package/assets/img/file-types/eps/041-file-40.eps +117 -117
  46. package/assets/img/file-types/eps/042-file-41.eps +156 -156
  47. package/assets/img/file-types/eps/043-file-42.eps +118 -118
  48. package/assets/img/file-types/eps/044-file-43.eps +172 -172
  49. package/assets/img/file-types/eps/045-file-44.eps +201 -201
  50. package/assets/img/file-types/eps/046-file-45.eps +94 -94
  51. package/assets/img/file-types/eps/047-file-46.eps +176 -176
  52. package/assets/img/file-types/eps/048-file-47.eps +238 -238
  53. package/assets/img/file-types/eps/049-file-48.eps +187 -187
  54. package/assets/img/file-types/eps/050-file-49.eps +137 -137
  55. package/autocomplete/package.json +12 -1
  56. package/autocomplete/sd-angular-core-autocomplete.d.ts +2 -0
  57. package/autocomplete/sd-angular-core-autocomplete.d.ts.__ivy_ngcc_bak +4 -0
  58. package/autocomplete/sd-angular-core-autocomplete.d.ts.map +1 -0
  59. package/badge/package.json +12 -1
  60. package/badge/sd-angular-core-badge.d.ts +2 -0
  61. package/badge/sd-angular-core-badge.d.ts.__ivy_ngcc_bak +4 -0
  62. package/badge/sd-angular-core-badge.d.ts.map +1 -0
  63. package/bundles/sd-angular-core-api.umd.js +2 -1
  64. package/bundles/sd-angular-core-api.umd.js.__ivy_ngcc_bak +876 -0
  65. package/bundles/sd-angular-core-api.umd.js.map +1 -1
  66. package/bundles/sd-angular-core-api.umd.js.map.__ivy_ngcc_bak +1 -0
  67. package/bundles/sd-angular-core-autocomplete.umd.js +2 -1
  68. package/bundles/sd-angular-core-autocomplete.umd.js.__ivy_ngcc_bak +791 -0
  69. package/bundles/sd-angular-core-autocomplete.umd.js.map +1 -1
  70. package/bundles/sd-angular-core-autocomplete.umd.js.map.__ivy_ngcc_bak +1 -0
  71. package/bundles/sd-angular-core-badge.umd.js +2 -1
  72. package/bundles/sd-angular-core-badge.umd.js.__ivy_ngcc_bak +89 -0
  73. package/bundles/sd-angular-core-badge.umd.js.map +1 -1
  74. package/bundles/sd-angular-core-badge.umd.js.map.__ivy_ngcc_bak +1 -0
  75. package/bundles/sd-angular-core-button.umd.js +2 -1
  76. package/bundles/sd-angular-core-button.umd.js.__ivy_ngcc_bak +444 -0
  77. package/bundles/sd-angular-core-button.umd.js.map +1 -1
  78. package/bundles/sd-angular-core-button.umd.js.map.__ivy_ngcc_bak +1 -0
  79. package/bundles/sd-angular-core-cache.umd.js +2 -1
  80. package/bundles/sd-angular-core-cache.umd.js.__ivy_ngcc_bak +623 -0
  81. package/bundles/sd-angular-core-cache.umd.js.map +1 -1
  82. package/bundles/sd-angular-core-cache.umd.js.map.__ivy_ngcc_bak +1 -0
  83. package/bundles/sd-angular-core-chart.umd.js +2 -1
  84. package/bundles/sd-angular-core-chart.umd.js.__ivy_ngcc_bak +1106 -0
  85. package/bundles/sd-angular-core-chart.umd.js.map +1 -1
  86. package/bundles/sd-angular-core-chart.umd.js.map.__ivy_ngcc_bak +1 -0
  87. package/bundles/sd-angular-core-checkbox.umd.js +2 -1
  88. package/bundles/sd-angular-core-checkbox.umd.js.__ivy_ngcc_bak +461 -0
  89. package/bundles/sd-angular-core-checkbox.umd.js.map +1 -1
  90. package/bundles/sd-angular-core-checkbox.umd.js.map.__ivy_ngcc_bak +1 -0
  91. package/bundles/sd-angular-core-chip.umd.js +2 -1
  92. package/bundles/sd-angular-core-chip.umd.js.__ivy_ngcc_bak +1051 -0
  93. package/bundles/sd-angular-core-chip.umd.js.map +1 -1
  94. package/bundles/sd-angular-core-chip.umd.js.map.__ivy_ngcc_bak +1 -0
  95. package/bundles/sd-angular-core-comment.umd.js +2 -1
  96. package/bundles/sd-angular-core-comment.umd.js.__ivy_ngcc_bak +456 -0
  97. package/bundles/sd-angular-core-comment.umd.js.map +1 -1
  98. package/bundles/sd-angular-core-comment.umd.js.map.__ivy_ngcc_bak +1 -0
  99. package/bundles/sd-angular-core-common.umd.js +2 -1
  100. package/bundles/sd-angular-core-common.umd.js.__ivy_ngcc_bak +962 -0
  101. package/bundles/sd-angular-core-common.umd.js.map +1 -1
  102. package/bundles/sd-angular-core-common.umd.js.map.__ivy_ngcc_bak +1 -0
  103. package/bundles/sd-angular-core-confirm.umd.js +2 -1
  104. package/bundles/sd-angular-core-confirm.umd.js.__ivy_ngcc_bak +159 -0
  105. package/bundles/sd-angular-core-confirm.umd.js.map +1 -1
  106. package/bundles/sd-angular-core-confirm.umd.js.map.__ivy_ngcc_bak +1 -0
  107. package/bundles/sd-angular-core-date-month.umd.js +2 -1
  108. package/bundles/sd-angular-core-date-month.umd.js.__ivy_ngcc_bak +650 -0
  109. package/bundles/sd-angular-core-date-month.umd.js.map +1 -1
  110. package/bundles/sd-angular-core-date-month.umd.js.map.__ivy_ngcc_bak +1 -0
  111. package/bundles/sd-angular-core-date-range.umd.js +2 -1
  112. package/bundles/sd-angular-core-date-range.umd.js.__ivy_ngcc_bak +660 -0
  113. package/bundles/sd-angular-core-date-range.umd.js.map +1 -1
  114. package/bundles/sd-angular-core-date-range.umd.js.map.__ivy_ngcc_bak +1 -0
  115. package/bundles/sd-angular-core-date-time.umd.js +2 -1
  116. package/bundles/sd-angular-core-date-time.umd.js.__ivy_ngcc_bak +734 -0
  117. package/bundles/sd-angular-core-date-time.umd.js.map +1 -1
  118. package/bundles/sd-angular-core-date-time.umd.js.map.__ivy_ngcc_bak +1 -0
  119. package/bundles/sd-angular-core-db.umd.js +2 -1
  120. package/bundles/sd-angular-core-db.umd.js.__ivy_ngcc_bak +464 -0
  121. package/bundles/sd-angular-core-db.umd.js.map +1 -1
  122. package/bundles/sd-angular-core-db.umd.js.map.__ivy_ngcc_bak +1 -0
  123. package/bundles/sd-angular-core-dynamic-report.umd.js +2 -1
  124. package/bundles/sd-angular-core-dynamic-report.umd.js.__ivy_ngcc_bak +96 -0
  125. package/bundles/sd-angular-core-dynamic-report.umd.js.map +1 -1
  126. package/bundles/sd-angular-core-dynamic-report.umd.js.map.__ivy_ngcc_bak +1 -0
  127. package/bundles/sd-angular-core-editor.umd.js +2 -1
  128. package/bundles/sd-angular-core-editor.umd.js.__ivy_ngcc_bak +782 -0
  129. package/bundles/sd-angular-core-editor.umd.js.map +1 -1
  130. package/bundles/sd-angular-core-editor.umd.js.map.__ivy_ngcc_bak +1 -0
  131. package/bundles/sd-angular-core-excel.umd.js +2 -1
  132. package/bundles/sd-angular-core-excel.umd.js.__ivy_ngcc_bak +500 -0
  133. package/bundles/sd-angular-core-excel.umd.js.map +1 -1
  134. package/bundles/sd-angular-core-excel.umd.js.map.__ivy_ngcc_bak +1 -0
  135. package/bundles/sd-angular-core-export.umd.js +7 -1
  136. package/bundles/sd-angular-core-export.umd.js.__ivy_ngcc_bak +712 -0
  137. package/bundles/sd-angular-core-export.umd.js.map +1 -1
  138. package/bundles/sd-angular-core-export.umd.js.map.__ivy_ngcc_bak +1 -0
  139. package/bundles/sd-angular-core-export.umd.min.js +1 -1
  140. package/bundles/sd-angular-core-export.umd.min.js.map +1 -1
  141. package/bundles/sd-angular-core-form.umd.js +2 -1
  142. package/bundles/sd-angular-core-form.umd.js.__ivy_ngcc_bak +88 -0
  143. package/bundles/sd-angular-core-form.umd.js.map +1 -1
  144. package/bundles/sd-angular-core-form.umd.js.map.__ivy_ngcc_bak +1 -0
  145. package/bundles/sd-angular-core-grid-material.umd.js +13 -6
  146. package/bundles/sd-angular-core-grid-material.umd.js.__ivy_ngcc_bak +5029 -0
  147. package/bundles/sd-angular-core-grid-material.umd.js.map +1 -1
  148. package/bundles/sd-angular-core-grid-material.umd.js.map.__ivy_ngcc_bak +1 -0
  149. package/bundles/sd-angular-core-grid-material.umd.min.js +1 -1
  150. package/bundles/sd-angular-core-grid-material.umd.min.js.map +1 -1
  151. package/bundles/sd-angular-core-group.umd.js +2 -1
  152. package/bundles/sd-angular-core-group.umd.js.__ivy_ngcc_bak +93 -0
  153. package/bundles/sd-angular-core-group.umd.js.map +1 -1
  154. package/bundles/sd-angular-core-group.umd.js.map.__ivy_ngcc_bak +1 -0
  155. package/bundles/sd-angular-core-header-title.umd.js +2 -1
  156. package/bundles/sd-angular-core-header-title.umd.js.__ivy_ngcc_bak +56 -0
  157. package/bundles/sd-angular-core-header-title.umd.js.map +1 -1
  158. package/bundles/sd-angular-core-header-title.umd.js.map.__ivy_ngcc_bak +1 -0
  159. package/bundles/sd-angular-core-image-preview.umd.js +2 -1
  160. package/bundles/sd-angular-core-image-preview.umd.js.__ivy_ngcc_bak +121 -0
  161. package/bundles/sd-angular-core-image-preview.umd.js.map +1 -1
  162. package/bundles/sd-angular-core-image-preview.umd.js.map.__ivy_ngcc_bak +1 -0
  163. package/bundles/sd-angular-core-input-currency.umd.js +2 -1
  164. package/bundles/sd-angular-core-input-currency.umd.js.__ivy_ngcc_bak +737 -0
  165. package/bundles/sd-angular-core-input-currency.umd.js.map +1 -1
  166. package/bundles/sd-angular-core-input-currency.umd.js.map.__ivy_ngcc_bak +1 -0
  167. package/bundles/sd-angular-core-input-dropdown.umd.js +2 -1
  168. package/bundles/sd-angular-core-input-dropdown.umd.js.__ivy_ngcc_bak +634 -0
  169. package/bundles/sd-angular-core-input-dropdown.umd.js.map +1 -1
  170. package/bundles/sd-angular-core-input-dropdown.umd.js.map.__ivy_ngcc_bak +1 -0
  171. package/bundles/sd-angular-core-input-number.umd.js +8 -4
  172. package/bundles/sd-angular-core-input-number.umd.js.__ivy_ngcc_bak +792 -0
  173. package/bundles/sd-angular-core-input-number.umd.js.map +1 -1
  174. package/bundles/sd-angular-core-input-number.umd.js.map.__ivy_ngcc_bak +1 -0
  175. package/bundles/sd-angular-core-input-number.umd.min.js +1 -1
  176. package/bundles/sd-angular-core-input-number.umd.min.js.map +1 -1
  177. package/bundles/sd-angular-core-input-upload-file.umd.js +2 -1
  178. package/bundles/sd-angular-core-input-upload-file.umd.js.__ivy_ngcc_bak +648 -0
  179. package/bundles/sd-angular-core-input-upload-file.umd.js.map +1 -1
  180. package/bundles/sd-angular-core-input-upload-file.umd.js.map.__ivy_ngcc_bak +1 -0
  181. package/bundles/sd-angular-core-input.umd.js +2 -1
  182. package/bundles/sd-angular-core-input.umd.js.__ivy_ngcc_bak +798 -0
  183. package/bundles/sd-angular-core-input.umd.js.map +1 -1
  184. package/bundles/sd-angular-core-input.umd.js.map.__ivy_ngcc_bak +1 -0
  185. package/bundles/sd-angular-core-json-editor.umd.js +2 -1
  186. package/bundles/sd-angular-core-json-editor.umd.js.__ivy_ngcc_bak +523 -0
  187. package/bundles/sd-angular-core-json-editor.umd.js.map +1 -1
  188. package/bundles/sd-angular-core-json-editor.umd.js.map.__ivy_ngcc_bak +1 -0
  189. package/bundles/sd-angular-core-konva.umd.js +2 -1
  190. package/bundles/sd-angular-core-konva.umd.js.__ivy_ngcc_bak +605 -0
  191. package/bundles/sd-angular-core-konva.umd.js.map +1 -1
  192. package/bundles/sd-angular-core-konva.umd.js.map.__ivy_ngcc_bak +1 -0
  193. package/bundles/sd-angular-core-label.umd.js +2 -1
  194. package/bundles/sd-angular-core-label.umd.js.__ivy_ngcc_bak +60 -0
  195. package/bundles/sd-angular-core-label.umd.js.map +1 -1
  196. package/bundles/sd-angular-core-label.umd.js.map.__ivy_ngcc_bak +1 -0
  197. package/bundles/sd-angular-core-loading.umd.js +2 -1
  198. package/bundles/sd-angular-core-loading.umd.js.__ivy_ngcc_bak +413 -0
  199. package/bundles/sd-angular-core-loading.umd.js.map +1 -1
  200. package/bundles/sd-angular-core-loading.umd.js.map.__ivy_ngcc_bak +1 -0
  201. package/bundles/sd-angular-core-modal-resizable.umd.js +2 -1
  202. package/bundles/sd-angular-core-modal-resizable.umd.js.__ivy_ngcc_bak +487 -0
  203. package/bundles/sd-angular-core-modal-resizable.umd.js.map +1 -1
  204. package/bundles/sd-angular-core-modal-resizable.umd.js.map.__ivy_ngcc_bak +1 -0
  205. package/bundles/sd-angular-core-modal.umd.js +2 -1
  206. package/bundles/sd-angular-core-modal.umd.js.__ivy_ngcc_bak +307 -0
  207. package/bundles/sd-angular-core-modal.umd.js.map +1 -1
  208. package/bundles/sd-angular-core-modal.umd.js.map.__ivy_ngcc_bak +1 -0
  209. package/bundles/sd-angular-core-notify.umd.js +2 -1
  210. package/bundles/sd-angular-core-notify.umd.js.__ivy_ngcc_bak +719 -0
  211. package/bundles/sd-angular-core-notify.umd.js.map +1 -1
  212. package/bundles/sd-angular-core-notify.umd.js.map.__ivy_ngcc_bak +1 -0
  213. package/bundles/sd-angular-core-popover.umd.js +2 -1
  214. package/bundles/sd-angular-core-popover.umd.js.__ivy_ngcc_bak +752 -0
  215. package/bundles/sd-angular-core-popover.umd.js.map +1 -1
  216. package/bundles/sd-angular-core-popover.umd.js.map.__ivy_ngcc_bak +1 -0
  217. package/bundles/sd-angular-core-quick-action.umd.js +2 -1
  218. package/bundles/sd-angular-core-quick-action.umd.js.__ivy_ngcc_bak +66 -0
  219. package/bundles/sd-angular-core-quick-action.umd.js.map +1 -1
  220. package/bundles/sd-angular-core-quick-action.umd.js.map.__ivy_ngcc_bak +1 -0
  221. package/bundles/sd-angular-core-radio.umd.js +2 -1
  222. package/bundles/sd-angular-core-radio.umd.js.__ivy_ngcc_bak +535 -0
  223. package/bundles/sd-angular-core-radio.umd.js.map +1 -1
  224. package/bundles/sd-angular-core-radio.umd.js.map.__ivy_ngcc_bak +1 -0
  225. package/bundles/sd-angular-core-select-badge.umd.js +2 -1
  226. package/bundles/sd-angular-core-select-badge.umd.js.__ivy_ngcc_bak +486 -0
  227. package/bundles/sd-angular-core-select-badge.umd.js.map +1 -1
  228. package/bundles/sd-angular-core-select-badge.umd.js.map.__ivy_ngcc_bak +1 -0
  229. package/bundles/sd-angular-core-select-editor.umd.js +3 -2
  230. package/bundles/sd-angular-core-select-editor.umd.js.__ivy_ngcc_bak +431 -0
  231. package/bundles/sd-angular-core-select-editor.umd.js.map +1 -1
  232. package/bundles/sd-angular-core-select-editor.umd.js.map.__ivy_ngcc_bak +1 -0
  233. package/bundles/sd-angular-core-select-editor.umd.min.js +1 -1
  234. package/bundles/sd-angular-core-select-editor.umd.min.js.map +1 -1
  235. package/bundles/sd-angular-core-select.umd.js +2 -1
  236. package/bundles/sd-angular-core-select.umd.js.__ivy_ngcc_bak +921 -0
  237. package/bundles/sd-angular-core-select.umd.js.map +1 -1
  238. package/bundles/sd-angular-core-select.umd.js.map.__ivy_ngcc_bak +1 -0
  239. package/bundles/sd-angular-core-service.umd.js +2 -1
  240. package/bundles/sd-angular-core-service.umd.js.__ivy_ngcc_bak +42 -0
  241. package/bundles/sd-angular-core-service.umd.js.map +1 -1
  242. package/bundles/sd-angular-core-service.umd.js.map.__ivy_ngcc_bak +1 -0
  243. package/bundles/sd-angular-core-setting.umd.js +2 -1
  244. package/bundles/sd-angular-core-setting.umd.js.__ivy_ngcc_bak +664 -0
  245. package/bundles/sd-angular-core-setting.umd.js.map +1 -1
  246. package/bundles/sd-angular-core-setting.umd.js.map.__ivy_ngcc_bak +1 -0
  247. package/bundles/sd-angular-core-side-drawer.umd.js +2 -1
  248. package/bundles/sd-angular-core-side-drawer.umd.js.__ivy_ngcc_bak +438 -0
  249. package/bundles/sd-angular-core-side-drawer.umd.js.map +1 -1
  250. package/bundles/sd-angular-core-side-drawer.umd.js.map.__ivy_ngcc_bak +1 -0
  251. package/bundles/sd-angular-core-switch.umd.js +2 -1
  252. package/bundles/sd-angular-core-switch.umd.js.__ivy_ngcc_bak +454 -0
  253. package/bundles/sd-angular-core-switch.umd.js.map +1 -1
  254. package/bundles/sd-angular-core-switch.umd.js.map.__ivy_ngcc_bak +1 -0
  255. package/bundles/sd-angular-core-tab-router.umd.js +32 -12
  256. package/bundles/sd-angular-core-tab-router.umd.js.__ivy_ngcc_bak +941 -0
  257. package/bundles/sd-angular-core-tab-router.umd.js.map +1 -1
  258. package/bundles/sd-angular-core-tab-router.umd.js.map.__ivy_ngcc_bak +1 -0
  259. package/bundles/sd-angular-core-tab-router.umd.min.js +2 -2
  260. package/bundles/sd-angular-core-tab-router.umd.min.js.map +1 -1
  261. package/bundles/sd-angular-core-textarea.umd.js +2 -1
  262. package/bundles/sd-angular-core-textarea.umd.js.__ivy_ngcc_bak +642 -0
  263. package/bundles/sd-angular-core-textarea.umd.js.map +1 -1
  264. package/bundles/sd-angular-core-textarea.umd.js.map.__ivy_ngcc_bak +1 -0
  265. package/bundles/sd-angular-core-time.umd.js +2 -1
  266. package/bundles/sd-angular-core-time.umd.js.__ivy_ngcc_bak +497 -0
  267. package/bundles/sd-angular-core-time.umd.js.map +1 -1
  268. package/bundles/sd-angular-core-time.umd.js.map.__ivy_ngcc_bak +1 -0
  269. package/bundles/sd-angular-core-timeline.umd.js +2 -1
  270. package/bundles/sd-angular-core-timeline.umd.js.__ivy_ngcc_bak +102 -0
  271. package/bundles/sd-angular-core-timeline.umd.js.map +1 -1
  272. package/bundles/sd-angular-core-timeline.umd.js.map.__ivy_ngcc_bak +1 -0
  273. package/bundles/sd-angular-core-translate.umd.js +2 -1
  274. package/bundles/sd-angular-core-translate.umd.js.__ivy_ngcc_bak +119 -0
  275. package/bundles/sd-angular-core-translate.umd.js.map +1 -1
  276. package/bundles/sd-angular-core-translate.umd.js.map.__ivy_ngcc_bak +1 -0
  277. package/bundles/sd-angular-core-upload-excel.umd.js +2 -1
  278. package/bundles/sd-angular-core-upload-excel.umd.js.__ivy_ngcc_bak +1114 -0
  279. package/bundles/sd-angular-core-upload-excel.umd.js.map +1 -1
  280. package/bundles/sd-angular-core-upload-excel.umd.js.map.__ivy_ngcc_bak +1 -0
  281. package/bundles/sd-angular-core-upload-file.umd.js +2 -1
  282. package/bundles/sd-angular-core-upload-file.umd.js.__ivy_ngcc_bak +880 -0
  283. package/bundles/sd-angular-core-upload-file.umd.js.map +1 -1
  284. package/bundles/sd-angular-core-upload-file.umd.js.map.__ivy_ngcc_bak +1 -0
  285. package/bundles/sd-angular-core-utility.umd.js +2 -1
  286. package/bundles/sd-angular-core-utility.umd.js.__ivy_ngcc_bak +708 -0
  287. package/bundles/sd-angular-core-utility.umd.js.map +1 -1
  288. package/bundles/sd-angular-core-utility.umd.js.map.__ivy_ngcc_bak +1 -0
  289. package/bundles/sd-angular-core-view.umd.js +2 -1
  290. package/bundles/sd-angular-core-view.umd.js.__ivy_ngcc_bak +32 -0
  291. package/bundles/sd-angular-core-view.umd.js.map +1 -1
  292. package/bundles/sd-angular-core-view.umd.js.map.__ivy_ngcc_bak +1 -0
  293. package/button/package.json +12 -1
  294. package/button/sd-angular-core-button.d.ts +2 -0
  295. package/button/sd-angular-core-button.d.ts.__ivy_ngcc_bak +4 -0
  296. package/button/sd-angular-core-button.d.ts.map +1 -0
  297. package/cache/package.json +12 -1
  298. package/cache/sd-angular-core-cache.d.ts +2 -0
  299. package/cache/sd-angular-core-cache.d.ts.__ivy_ngcc_bak +4 -0
  300. package/cache/sd-angular-core-cache.d.ts.map +1 -0
  301. package/chart/package.json +12 -1
  302. package/chart/sd-angular-core-chart.d.ts +2 -0
  303. package/chart/sd-angular-core-chart.d.ts.__ivy_ngcc_bak +4 -0
  304. package/chart/sd-angular-core-chart.d.ts.map +1 -0
  305. package/checkbox/package.json +12 -1
  306. package/checkbox/sd-angular-core-checkbox.d.ts +2 -0
  307. package/checkbox/sd-angular-core-checkbox.d.ts.__ivy_ngcc_bak +5 -0
  308. package/checkbox/sd-angular-core-checkbox.d.ts.map +1 -0
  309. package/chip/package.json +12 -1
  310. package/chip/sd-angular-core-chip.d.ts +2 -0
  311. package/chip/sd-angular-core-chip.d.ts.__ivy_ngcc_bak +5 -0
  312. package/chip/sd-angular-core-chip.d.ts.map +1 -0
  313. package/comment/package.json +12 -1
  314. package/comment/sd-angular-core-comment.d.ts +2 -0
  315. package/comment/sd-angular-core-comment.d.ts.__ivy_ngcc_bak +4 -0
  316. package/comment/sd-angular-core-comment.d.ts.map +1 -0
  317. package/common/package.json +12 -1
  318. package/common/sd-angular-core-common.d.ts +2 -0
  319. package/common/sd-angular-core-common.d.ts.__ivy_ngcc_bak +4 -0
  320. package/common/sd-angular-core-common.d.ts.map +1 -0
  321. package/confirm/package.json +12 -1
  322. package/confirm/sd-angular-core-confirm.d.ts +2 -0
  323. package/confirm/sd-angular-core-confirm.d.ts.__ivy_ngcc_bak +4 -0
  324. package/confirm/sd-angular-core-confirm.d.ts.map +1 -0
  325. package/date-month/package.json +12 -1
  326. package/date-month/sd-angular-core-date-month.d.ts +2 -0
  327. package/date-month/sd-angular-core-date-month.d.ts.__ivy_ngcc_bak +5 -0
  328. package/date-month/sd-angular-core-date-month.d.ts.map +1 -0
  329. package/date-range/package.json +12 -1
  330. package/date-range/sd-angular-core-date-range.d.ts +2 -0
  331. package/date-range/sd-angular-core-date-range.d.ts.__ivy_ngcc_bak +4 -0
  332. package/date-range/sd-angular-core-date-range.d.ts.map +1 -0
  333. package/date-time/package.json +12 -1
  334. package/date-time/sd-angular-core-date-time.d.ts +2 -0
  335. package/date-time/sd-angular-core-date-time.d.ts.__ivy_ngcc_bak +4 -0
  336. package/date-time/sd-angular-core-date-time.d.ts.map +1 -0
  337. package/db/package.json +12 -1
  338. package/db/sd-angular-core-db.d.ts +2 -0
  339. package/db/sd-angular-core-db.d.ts.__ivy_ngcc_bak +4 -0
  340. package/db/sd-angular-core-db.d.ts.map +1 -0
  341. package/dynamic-report/package.json +12 -1
  342. package/dynamic-report/sd-angular-core-dynamic-report.d.ts +2 -0
  343. package/dynamic-report/sd-angular-core-dynamic-report.d.ts.__ivy_ngcc_bak +4 -0
  344. package/dynamic-report/sd-angular-core-dynamic-report.d.ts.map +1 -0
  345. package/editor/package.json +12 -1
  346. package/editor/sd-angular-core-editor.d.ts +2 -0
  347. package/editor/sd-angular-core-editor.d.ts.__ivy_ngcc_bak +4 -0
  348. package/editor/sd-angular-core-editor.d.ts.map +1 -0
  349. package/esm2015/api/index.js +1 -1
  350. package/esm2015/api/sd-angular-core-api.js +1 -1
  351. package/esm2015/api/sd-angular-core-api.js.__ivy_ngcc_bak +5 -0
  352. package/esm2015/api/src/lib/api.model.js +1 -1
  353. package/esm2015/api/src/lib/api.module.js +1 -1
  354. package/esm2015/api/src/lib/api.service.js +1 -1
  355. package/esm2015/api/src/lib/http.interceptor.js +1 -1
  356. package/esm2015/api/src/lib/http.service.js +1 -1
  357. package/esm2015/api/src/lib/token.service.js +1 -1
  358. package/esm2015/api/src/public-api.js +1 -1
  359. package/esm2015/autocomplete/index.js +1 -1
  360. package/esm2015/autocomplete/sd-angular-core-autocomplete.js +1 -1
  361. package/esm2015/autocomplete/sd-angular-core-autocomplete.js.__ivy_ngcc_bak +5 -0
  362. package/esm2015/autocomplete/src/lib/autocomplete-display-def.directive.js +1 -1
  363. package/esm2015/autocomplete/src/lib/autocomplete.component.js +1 -1
  364. package/esm2015/autocomplete/src/lib/autocomplete.module.js +1 -1
  365. package/esm2015/autocomplete/src/public-api.js +1 -1
  366. package/esm2015/badge/index.js +1 -1
  367. package/esm2015/badge/sd-angular-core-badge.js +1 -1
  368. package/esm2015/badge/sd-angular-core-badge.js.__ivy_ngcc_bak +5 -0
  369. package/esm2015/badge/src/lib/badge.component.js +1 -1
  370. package/esm2015/badge/src/lib/badge.module.js +1 -1
  371. package/esm2015/badge/src/public-api.js +1 -1
  372. package/esm2015/button/index.js +1 -1
  373. package/esm2015/button/sd-angular-core-button.js +1 -1
  374. package/esm2015/button/sd-angular-core-button.js.__ivy_ngcc_bak +5 -0
  375. package/esm2015/button/src/lib/button.component.js +1 -1
  376. package/esm2015/button/src/lib/button.module.js +1 -1
  377. package/esm2015/button/src/public-api.js +1 -1
  378. package/esm2015/cache/index.js +1 -1
  379. package/esm2015/cache/sd-angular-core-cache.js +1 -1
  380. package/esm2015/cache/sd-angular-core-cache.js.__ivy_ngcc_bak +5 -0
  381. package/esm2015/cache/src/lib/cache.model.js +1 -1
  382. package/esm2015/cache/src/lib/cache.service.js +1 -1
  383. package/esm2015/cache/src/public-api.js +1 -1
  384. package/esm2015/chart/index.js +1 -1
  385. package/esm2015/chart/sd-angular-core-chart.js +1 -1
  386. package/esm2015/chart/sd-angular-core-chart.js.__ivy_ngcc_bak +5 -0
  387. package/esm2015/chart/src/lib/chart.component.js +1 -1
  388. package/esm2015/chart/src/lib/chart.model.js +1 -1
  389. package/esm2015/chart/src/lib/chart.module.js +1 -1
  390. package/esm2015/chart/src/public-api.js +1 -1
  391. package/esm2015/checkbox/index.js +1 -1
  392. package/esm2015/checkbox/sd-angular-core-checkbox.js +1 -1
  393. package/esm2015/checkbox/sd-angular-core-checkbox.js.__ivy_ngcc_bak +6 -0
  394. package/esm2015/checkbox/src/lib/checkbox.component.js +1 -1
  395. package/esm2015/checkbox/src/lib/checkbox.module.js +1 -1
  396. package/esm2015/checkbox/src/public-api.js +1 -1
  397. package/esm2015/chip/index.js +1 -1
  398. package/esm2015/chip/sd-angular-core-chip.js +1 -1
  399. package/esm2015/chip/sd-angular-core-chip.js.__ivy_ngcc_bak +6 -0
  400. package/esm2015/chip/src/lib/chip.component.js +1 -1
  401. package/esm2015/chip/src/lib/chip.model.js +1 -1
  402. package/esm2015/chip/src/lib/chip.module.js +1 -1
  403. package/esm2015/chip/src/lib/directives/sd-chip-display-def.directive.js +1 -1
  404. package/esm2015/chip/src/lib/pipes/removable-chip.pipe.js +1 -1
  405. package/esm2015/chip/src/public-api.js +1 -1
  406. package/esm2015/comment/index.js +1 -1
  407. package/esm2015/comment/sd-angular-core-comment.js +1 -1
  408. package/esm2015/comment/sd-angular-core-comment.js.__ivy_ngcc_bak +5 -0
  409. package/esm2015/comment/src/lib/comment.component.js +1 -1
  410. package/esm2015/comment/src/lib/comment.model.js +1 -1
  411. package/esm2015/comment/src/lib/comment.module.js +1 -1
  412. package/esm2015/comment/src/public-api.js +1 -1
  413. package/esm2015/common/index.js +1 -1
  414. package/esm2015/common/sd-angular-core-common.js +1 -1
  415. package/esm2015/common/sd-angular-core-common.js.__ivy_ngcc_bak +5 -0
  416. package/esm2015/common/src/lib/common.module.js +1 -1
  417. package/esm2015/common/src/lib/configurations/firebase.configuration.js +1 -1
  418. package/esm2015/common/src/lib/configurations/form.configuration.js +1 -1
  419. package/esm2015/common/src/lib/directives/sd-lable.directive.js +1 -1
  420. package/esm2015/common/src/lib/directives/sd-let.directive.js +1 -1
  421. package/esm2015/common/src/lib/directives/sd-scroll.directive.js +1 -1
  422. package/esm2015/common/src/lib/directives/sd-suffix.directive.js +1 -1
  423. package/esm2015/common/src/lib/directives/view-def.directive.js +1 -1
  424. package/esm2015/common/src/lib/models/sd-form-control.js +1 -1
  425. package/esm2015/common/src/lib/services/browser.service.js +1 -1
  426. package/esm2015/common/src/lib/typings/array.extension.js +1 -1
  427. package/esm2015/common/src/lib/typings/date.extension.js +1 -1
  428. package/esm2015/common/src/lib/typings/number.extension.js +1 -1
  429. package/esm2015/common/src/lib/typings/string.extension.js +1 -1
  430. package/esm2015/common/src/public-api.js +1 -1
  431. package/esm2015/confirm/index.js +1 -1
  432. package/esm2015/confirm/sd-angular-core-confirm.js +1 -1
  433. package/esm2015/confirm/sd-angular-core-confirm.js.__ivy_ngcc_bak +5 -0
  434. package/esm2015/confirm/src/lib/components/dialog-confirm/dialog-confirm.component.js +1 -1
  435. package/esm2015/confirm/src/lib/confirm.module.js +1 -1
  436. package/esm2015/confirm/src/lib/confirm.service.js +1 -1
  437. package/esm2015/confirm/src/public-api.js +1 -1
  438. package/esm2015/date-month/index.js +1 -1
  439. package/esm2015/date-month/sd-angular-core-date-month.js +1 -1
  440. package/esm2015/date-month/sd-angular-core-date-month.js.__ivy_ngcc_bak +6 -0
  441. package/esm2015/date-month/src/lib/date-month.component.js +1 -1
  442. package/esm2015/date-month/src/lib/date-month.module.js +1 -1
  443. package/esm2015/date-month/src/public-api.js +1 -1
  444. package/esm2015/date-range/index.js +1 -1
  445. package/esm2015/date-range/sd-angular-core-date-range.js +1 -1
  446. package/esm2015/date-range/sd-angular-core-date-range.js.__ivy_ngcc_bak +5 -0
  447. package/esm2015/date-range/src/lib/date-range.component.js +1 -1
  448. package/esm2015/date-range/src/lib/date-range.module.js +1 -1
  449. package/esm2015/date-range/src/public-api.js +1 -1
  450. package/esm2015/date-time/index.js +1 -1
  451. package/esm2015/date-time/sd-angular-core-date-time.js +1 -1
  452. package/esm2015/date-time/sd-angular-core-date-time.js.__ivy_ngcc_bak +5 -0
  453. package/esm2015/date-time/src/lib/date-time.component.js +1 -1
  454. package/esm2015/date-time/src/lib/date-time.module.js +1 -1
  455. package/esm2015/date-time/src/public-api.js +1 -1
  456. package/esm2015/db/index.js +1 -1
  457. package/esm2015/db/sd-angular-core-db.js +1 -1
  458. package/esm2015/db/sd-angular-core-db.js.__ivy_ngcc_bak +5 -0
  459. package/esm2015/db/src/lib/db.model.js +1 -1
  460. package/esm2015/db/src/lib/db.service.js +1 -1
  461. package/esm2015/db/src/public-api.js +1 -1
  462. package/esm2015/dynamic-report/index.js +1 -1
  463. package/esm2015/dynamic-report/sd-angular-core-dynamic-report.js +1 -1
  464. package/esm2015/dynamic-report/sd-angular-core-dynamic-report.js.__ivy_ngcc_bak +5 -0
  465. package/esm2015/dynamic-report/src/lib/dynamic-report.component.js +1 -1
  466. package/esm2015/dynamic-report/src/lib/dynamic-report.module.js +1 -1
  467. package/esm2015/dynamic-report/src/public-api.js +1 -1
  468. package/esm2015/editor/index.js +1 -1
  469. package/esm2015/editor/sd-angular-core-editor.js +1 -1
  470. package/esm2015/editor/sd-angular-core-editor.js.__ivy_ngcc_bak +5 -0
  471. package/esm2015/editor/src/lib/constant.js +1 -1
  472. package/esm2015/editor/src/lib/editor.component.js +1 -1
  473. package/esm2015/editor/src/lib/editor.module.js +1 -1
  474. package/esm2015/editor/src/public-api.js +1 -1
  475. package/esm2015/excel/index.js +1 -1
  476. package/esm2015/excel/sd-angular-core-excel.js +1 -1
  477. package/esm2015/excel/sd-angular-core-excel.js.__ivy_ngcc_bak +5 -0
  478. package/esm2015/excel/src/lib/excel.model.js +1 -1
  479. package/esm2015/excel/src/lib/excel.service.js +1 -1
  480. package/esm2015/excel/src/public-api.js +1 -1
  481. package/esm2015/export/index.js +1 -1
  482. package/esm2015/export/sd-angular-core-export.js +1 -1
  483. package/esm2015/export/sd-angular-core-export.js.__ivy_ngcc_bak +5 -0
  484. package/esm2015/export/src/lib/export.model.js +1 -1
  485. package/esm2015/export/src/lib/export.service.js +3 -1
  486. package/esm2015/export/src/public-api.js +1 -1
  487. package/esm2015/filter/index.js +1 -1
  488. package/esm2015/filter/sd-angular-core-filter.js +1 -1
  489. package/esm2015/filter/src/lib/directives/sd-filter-def.directive.js +1 -1
  490. package/esm2015/filter/src/lib/filter.component.js +1 -1
  491. package/esm2015/filter/src/lib/filter.model.js +1 -1
  492. package/esm2015/filter/src/lib/filter.module.js +1 -1
  493. package/esm2015/filter/src/lib/filter.service.js +1 -1
  494. package/esm2015/filter/src/lib/pipes/values-local.pipe.js +1 -1
  495. package/esm2015/filter/src/lib/pipes/values-server.pipe.js +1 -1
  496. package/esm2015/filter/src/public-api.js +1 -1
  497. package/esm2015/form/index.js +1 -1
  498. package/esm2015/form/sd-angular-core-form.js +1 -1
  499. package/esm2015/form/sd-angular-core-form.js.__ivy_ngcc_bak +5 -0
  500. package/esm2015/form/src/lib/form.module.js +1 -1
  501. package/esm2015/form/src/public-api.js +1 -1
  502. package/esm2015/grid/index.js +1 -1
  503. package/esm2015/grid/sd-angular-core-grid.js +1 -1
  504. package/esm2015/grid/src/lib/components/grid-config/grid-config.component.js +1 -1
  505. package/esm2015/grid/src/lib/components/grid-config/grid-config.model.js +1 -1
  506. package/esm2015/grid/src/lib/components/grid-desktop-column-children-view/grid-desktop-column-children-view.component.js +1 -1
  507. package/esm2015/grid/src/lib/components/grid-desktop-column-edit/grid-desktop-column-edit.component.js +1 -1
  508. package/esm2015/grid/src/lib/components/grid-desktop-column-view/grid-desktop-column-view.component.js +1 -1
  509. package/esm2015/grid/src/lib/components/grid-desktop-inline-filter/grid-desktop-inline-filter.component.js +1 -1
  510. package/esm2015/grid/src/lib/components/grid-import-excel/grid-import-excel.component.js +1 -1
  511. package/esm2015/grid/src/lib/components/grid-mobile-item-view/grid-mobile-item-view.component.js +1 -1
  512. package/esm2015/grid/src/lib/components/grid-popup-editor/grid-popup-editor.component.js +1 -1
  513. package/esm2015/grid/src/lib/components/grid-popup-export-excel/grid-popup-export-excel.component.js +1 -1
  514. package/esm2015/grid/src/lib/components/grid-popup-export-excel/grid-popup-export-excel.model.js +1 -1
  515. package/esm2015/grid/src/lib/components/grid-popup-filter/grid-popup-filter.component.js +1 -1
  516. package/esm2015/grid/src/lib/components/grid-popup-filter/grid-popup-filter.model.js +1 -1
  517. package/esm2015/grid/src/lib/components/grid-popup-quick-filter-detail/grid-popup-quick-filter-detail.component.js +1 -1
  518. package/esm2015/grid/src/lib/components/grid-sub-information/grid-sub-information.component.js +1 -1
  519. package/esm2015/grid/src/lib/directives/cell-def.directive.js +1 -1
  520. package/esm2015/grid/src/lib/directives/cell-editor-def.directive.js +1 -1
  521. package/esm2015/grid/src/lib/directives/cell-footer-def.directive.js +1 -1
  522. package/esm2015/grid/src/lib/directives/sub-information-header-def.directive.js +1 -1
  523. package/esm2015/grid/src/lib/grid.component.js +1 -1
  524. package/esm2015/grid/src/lib/grid.model.js +1 -1
  525. package/esm2015/grid/src/lib/grid.module.js +1 -1
  526. package/esm2015/grid/src/lib/models/filter-info.model.js +1 -1
  527. package/esm2015/grid/src/lib/models/grid-configuration.model.js +1 -1
  528. package/esm2015/grid/src/lib/models/handler-dotnet.js +1 -1
  529. package/esm2015/grid/src/lib/models/handler-local.js +1 -1
  530. package/esm2015/grid/src/lib/models/handler.js +1 -1
  531. package/esm2015/grid/src/lib/pipes/cell-desktop-class-name.pipe.js +1 -1
  532. package/esm2015/grid/src/lib/pipes/cell-mobile-class-name.pipe.js +1 -1
  533. package/esm2015/grid/src/lib/pipes/column-command-filter.pipe.js +1 -1
  534. package/esm2015/grid/src/lib/pipes/column-html-template.pipe.js +1 -1
  535. package/esm2015/grid/src/lib/pipes/column-title.pipe.js +1 -1
  536. package/esm2015/grid/src/lib/pipes/column-values.pipe.js +1 -1
  537. package/esm2015/grid/src/lib/pipes/command-disabled.pipe.js +1 -1
  538. package/esm2015/grid/src/lib/pipes/command-filter.pipe.js +1 -1
  539. package/esm2015/grid/src/lib/pipes/command-hidden.pipe.js +1 -1
  540. package/esm2015/grid/src/lib/pipes/command-icon.pipe.js +1 -1
  541. package/esm2015/grid/src/lib/pipes/command-title.pipe.js +1 -1
  542. package/esm2015/grid/src/lib/pipes/dynamic-items.pipe.js +1 -1
  543. package/esm2015/grid/src/lib/pipes/editor-dynamic-item.pipe.js +1 -1
  544. package/esm2015/grid/src/lib/pipes/editor-handler.pipe.js +1 -1
  545. package/esm2015/grid/src/lib/pipes/editor-popup-visible.pipe.js +1 -1
  546. package/esm2015/grid/src/lib/pipes/editor-sub-information-handler.pipe.js +1 -1
  547. package/esm2015/grid/src/lib/pipes/editor-validate.pipe.js +1 -1
  548. package/esm2015/grid/src/lib/pipes/filter-mobile.pipe.js +1 -1
  549. package/esm2015/grid/src/lib/pipes/mobile-command-filter.js +1 -1
  550. package/esm2015/grid/src/lib/pipes/mobile-view-html-template.pipe.js +1 -1
  551. package/esm2015/grid/src/lib/pipes/value-transform.pipe.js +1 -1
  552. package/esm2015/grid/src/public-api.js +1 -1
  553. package/esm2015/grid-material/index.js +1 -1
  554. package/esm2015/grid-material/sd-angular-core-grid-material.js +1 -1
  555. package/esm2015/grid-material/sd-angular-core-grid-material.js.__ivy_ngcc_bak +47 -0
  556. package/esm2015/grid-material/src/lib/components/column-inline-filter/column-inline-filter.component.js +1 -1
  557. package/esm2015/grid-material/src/lib/components/desktop-cell/desktop-cell.component.js +1 -1
  558. package/esm2015/grid-material/src/lib/components/desktop-cell-children-view/desktop-cell-children-view.component.js +1 -1
  559. package/esm2015/grid-material/src/lib/components/desktop-cell-editor/desktop-cell-editor.component.js +1 -1
  560. package/esm2015/grid-material/src/lib/components/desktop-cell-view/desktop-cell-view.component.js +1 -1
  561. package/esm2015/grid-material/src/lib/components/desktop-command/desktop-command.component.js +1 -1
  562. package/esm2015/grid-material/src/lib/components/desktop-editor-validation/desktop-editor-validation.component.js +1 -1
  563. package/esm2015/grid-material/src/lib/components/dynamic-column/dynamic-column.component.js +1 -1
  564. package/esm2015/grid-material/src/lib/components/grid-filter/grid-filter.component.js +1 -1
  565. package/esm2015/grid-material/src/lib/components/popup-export/popup-export.component.js +1 -1
  566. package/esm2015/grid-material/src/lib/components/popup-filter/popup-filter.component.js +1 -1
  567. package/esm2015/grid-material/src/lib/components/popup-grid-configuration/popup-grid-configuration.component.js +1 -1
  568. package/esm2015/grid-material/src/lib/components/quick-action/quick-action.component.js +1 -1
  569. package/esm2015/grid-material/src/lib/directives/sd-material-cell-def.directive.js +1 -1
  570. package/esm2015/grid-material/src/lib/directives/sd-material-empty-data-def.directive.js +1 -1
  571. package/esm2015/grid-material/src/lib/directives/sd-material-filter-def.directive.js +1 -1
  572. package/esm2015/grid-material/src/lib/directives/sd-material-footer-def.directive.js +1 -1
  573. package/esm2015/grid-material/src/lib/directives/sd-material-sub-information-def.directive.js +1 -1
  574. package/esm2015/grid-material/src/lib/functions/calculate-sd-id.js +1 -1
  575. package/esm2015/grid-material/src/lib/grid-material.component.js +3 -3
  576. package/esm2015/grid-material/src/lib/grid-material.module.js +1 -1
  577. package/esm2015/grid-material/src/lib/models/grid-action.model.js +1 -1
  578. package/esm2015/grid-material/src/lib/models/grid-cell.model.js +1 -1
  579. package/esm2015/grid-material/src/lib/models/grid-column.model.js +1 -1
  580. package/esm2015/grid-material/src/lib/models/grid-command.model.js +1 -1
  581. package/esm2015/grid-material/src/lib/models/grid-config.model.js +1 -1
  582. package/esm2015/grid-material/src/lib/models/grid-configuration.model.js +1 -1
  583. package/esm2015/grid-material/src/lib/models/grid-editor.model.js +1 -1
  584. package/esm2015/grid-material/src/lib/models/grid-export.model.js +1 -1
  585. package/esm2015/grid-material/src/lib/models/grid-filter.model.js +1 -1
  586. package/esm2015/grid-material/src/lib/models/grid-group.model.js +1 -1
  587. package/esm2015/grid-material/src/lib/models/grid-option.model.js +1 -1
  588. package/esm2015/grid-material/src/lib/models/grid-reload.model.js +1 -1
  589. package/esm2015/grid-material/src/lib/models/grid-selection.model.js +1 -1
  590. package/esm2015/grid-material/src/lib/models/grid-style.model.js +1 -1
  591. package/esm2015/grid-material/src/lib/models/grid-sub-information.model.js +1 -1
  592. package/esm2015/grid-material/src/lib/models/grid.model.js +1 -1
  593. package/esm2015/grid-material/src/lib/pipes/cell-view.pipe.js +9 -3
  594. package/esm2015/grid-material/src/lib/pipes/column-badge.pipe.js +1 -1
  595. package/esm2015/grid-material/src/lib/pipes/column-children-filter.pipe.js +1 -1
  596. package/esm2015/grid-material/src/lib/pipes/column-html-template.pipe.js +1 -1
  597. package/esm2015/grid-material/src/lib/pipes/column-title.pipe.js +1 -1
  598. package/esm2015/grid-material/src/lib/pipes/column-tooltip.pipe.js +1 -1
  599. package/esm2015/grid-material/src/lib/pipes/column-transform.pipe.js +1 -1
  600. package/esm2015/grid-material/src/lib/pipes/column-values.pipe.js +1 -1
  601. package/esm2015/grid-material/src/lib/pipes/command-disable.pipe.js +1 -1
  602. package/esm2015/grid-material/src/lib/pipes/command-filter.pipe.js +1 -1
  603. package/esm2015/grid-material/src/lib/pipes/command-icon.pipe.js +1 -1
  604. package/esm2015/grid-material/src/lib/pipes/command-title.pipe.js +1 -1
  605. package/esm2015/grid-material/src/lib/pipes/editor-handler-column.pipe.js +1 -1
  606. package/esm2015/grid-material/src/lib/pipes/editor-handler-row.pipe.js +1 -1
  607. package/esm2015/grid-material/src/lib/pipes/editor-validate.pipe.js +1 -1
  608. package/esm2015/grid-material/src/lib/pipes/filter-column.pipe.js +1 -1
  609. package/esm2015/grid-material/src/lib/pipes/filter-external.pipe.js +1 -1
  610. package/esm2015/grid-material/src/lib/pipes/grid-configuration-result.pipe.js +1 -1
  611. package/esm2015/grid-material/src/lib/pipes/sd-group.pipe.js +1 -1
  612. package/esm2015/grid-material/src/lib/pipes/selection-action-filter.pipe.js +1 -1
  613. package/esm2015/grid-material/src/lib/pipes/selection-disable.pipe.js +1 -1
  614. package/esm2015/grid-material/src/lib/pipes/selection-visible-select-all.pipe.js +1 -1
  615. package/esm2015/grid-material/src/lib/pipes/selection-visible.pipe.js +1 -1
  616. package/esm2015/grid-material/src/lib/pipes/style-row-css.pipe.js +1 -1
  617. package/esm2015/grid-material/src/lib/services/generated-column/generated-column.model.js +1 -1
  618. package/esm2015/grid-material/src/lib/services/generated-column/generated-column.service.js +1 -1
  619. package/esm2015/grid-material/src/lib/services/grid-configuration.service.js +1 -1
  620. package/esm2015/grid-material/src/lib/services/grid-filter.service.js +1 -1
  621. package/esm2015/grid-material/src/public-api.js +1 -1
  622. package/esm2015/group/index.js +1 -1
  623. package/esm2015/group/sd-angular-core-group.js +1 -1
  624. package/esm2015/group/sd-angular-core-group.js.__ivy_ngcc_bak +6 -0
  625. package/esm2015/group/src/lib/group.component.js +1 -1
  626. package/esm2015/group/src/lib/group.module.js +1 -1
  627. package/esm2015/group/src/public-api.js +1 -1
  628. package/esm2015/header-title/index.js +1 -1
  629. package/esm2015/header-title/sd-angular-core-header-title.js +1 -1
  630. package/esm2015/header-title/sd-angular-core-header-title.js.__ivy_ngcc_bak +6 -0
  631. package/esm2015/header-title/src/lib/header-title.component.js +1 -1
  632. package/esm2015/header-title/src/lib/header-title.module.js +1 -1
  633. package/esm2015/header-title/src/public-api.js +1 -1
  634. package/esm2015/image-preview/index.js +1 -1
  635. package/esm2015/image-preview/sd-angular-core-image-preview.js +1 -1
  636. package/esm2015/image-preview/sd-angular-core-image-preview.js.__ivy_ngcc_bak +7 -0
  637. package/esm2015/image-preview/src/lib/directives/image-preview.directive.js +1 -1
  638. package/esm2015/image-preview/src/lib/image-preview/image-preview.component.js +1 -1
  639. package/esm2015/image-preview/src/lib/image-preview/image-preview.module.js +1 -1
  640. package/esm2015/image-preview/src/lib/models/image-preview.model.js +1 -1
  641. package/esm2015/image-preview/src/public-api.js +1 -1
  642. package/esm2015/input/index.js +1 -1
  643. package/esm2015/input/sd-angular-core-input.js +1 -1
  644. package/esm2015/input/sd-angular-core-input.js.__ivy_ngcc_bak +6 -0
  645. package/esm2015/input/src/lib/directives/input-suffix.directive.js +1 -1
  646. package/esm2015/input/src/lib/directives/touch.directive.js +1 -1
  647. package/esm2015/input/src/lib/input-tooltip.pipe.js +1 -1
  648. package/esm2015/input/src/lib/input.component.js +1 -1
  649. package/esm2015/input/src/lib/input.module.js +1 -1
  650. package/esm2015/input/src/public-api.js +1 -1
  651. package/esm2015/input-currency/index.js +1 -1
  652. package/esm2015/input-currency/sd-angular-core-input-currency.js +1 -1
  653. package/esm2015/input-currency/sd-angular-core-input-currency.js.__ivy_ngcc_bak +5 -0
  654. package/esm2015/input-currency/src/lib/input-currency-tooltip.pipe.js +1 -1
  655. package/esm2015/input-currency/src/lib/input-currency.component.js +1 -1
  656. package/esm2015/input-currency/src/lib/input-currency.module.js +1 -1
  657. package/esm2015/input-currency/src/public-api.js +1 -1
  658. package/esm2015/input-dropdown/index.js +1 -1
  659. package/esm2015/input-dropdown/sd-angular-core-input-dropdown.js +1 -1
  660. package/esm2015/input-dropdown/sd-angular-core-input-dropdown.js.__ivy_ngcc_bak +5 -0
  661. package/esm2015/input-dropdown/src/lib/input-tooltip.pipe.js +1 -1
  662. package/esm2015/input-dropdown/src/lib/input.component.js +1 -1
  663. package/esm2015/input-dropdown/src/lib/input.module.js +1 -1
  664. package/esm2015/input-dropdown/src/public-api.js +1 -1
  665. package/esm2015/input-number/index.js +1 -1
  666. package/esm2015/input-number/sd-angular-core-input-number.js +1 -1
  667. package/esm2015/input-number/sd-angular-core-input-number.js.__ivy_ngcc_bak +5 -0
  668. package/esm2015/input-number/src/lib/input-number.component.js +7 -4
  669. package/esm2015/input-number/src/lib/input-number.module.js +1 -1
  670. package/esm2015/input-number/src/public-api.js +1 -1
  671. package/esm2015/input-upload-file/index.js +1 -1
  672. package/esm2015/input-upload-file/sd-angular-core-input-upload-file.js +1 -1
  673. package/esm2015/input-upload-file/sd-angular-core-input-upload-file.js.__ivy_ngcc_bak +5 -0
  674. package/esm2015/input-upload-file/src/lib/input-upload-file.component.js +1 -1
  675. package/esm2015/input-upload-file/src/lib/input-upload-file.module.js +1 -1
  676. package/esm2015/input-upload-file/src/public-api.js +1 -1
  677. package/esm2015/json-editor/index.js +1 -1
  678. package/esm2015/json-editor/sd-angular-core-json-editor.js +1 -1
  679. package/esm2015/json-editor/sd-angular-core-json-editor.js.__ivy_ngcc_bak +5 -0
  680. package/esm2015/json-editor/src/lib/json-editor.component.js +1 -1
  681. package/esm2015/json-editor/src/lib/json-editor.module.js +1 -1
  682. package/esm2015/json-editor/src/public-api.js +1 -1
  683. package/esm2015/konva/index.js +1 -1
  684. package/esm2015/konva/sd-angular-core-konva.js +1 -1
  685. package/esm2015/konva/sd-angular-core-konva.js.__ivy_ngcc_bak +5 -0
  686. package/esm2015/konva/src/lib/konva.module.js +1 -1
  687. package/esm2015/konva/src/lib/merge-images/merge-images.component.js +1 -1
  688. package/esm2015/konva/src/public-api.js +1 -1
  689. package/esm2015/label/index.js +1 -1
  690. package/esm2015/label/sd-angular-core-label.js +1 -1
  691. package/esm2015/label/sd-angular-core-label.js.__ivy_ngcc_bak +6 -0
  692. package/esm2015/label/src/lib/label.component.js +1 -1
  693. package/esm2015/label/src/lib/label.module.js +1 -1
  694. package/esm2015/label/src/public-api.js +1 -1
  695. package/esm2015/lib/core.module.js +1 -1
  696. package/esm2015/lib/material.module.js +1 -1
  697. package/esm2015/loading/index.js +1 -1
  698. package/esm2015/loading/sd-angular-core-loading.js +1 -1
  699. package/esm2015/loading/sd-angular-core-loading.js.__ivy_ngcc_bak +5 -0
  700. package/esm2015/loading/src/lib/loading.service.js +1 -1
  701. package/esm2015/loading/src/public-api.js +1 -1
  702. package/esm2015/modal/index.js +1 -1
  703. package/esm2015/modal/sd-angular-core-modal.js +1 -1
  704. package/esm2015/modal/sd-angular-core-modal.js.__ivy_ngcc_bak +5 -0
  705. package/esm2015/modal/src/lib/bottom-sheet/bottom-sheet-body/bottom-sheet-body.component.js +1 -1
  706. package/esm2015/modal/src/lib/bottom-sheet/bottom-sheet-footer/bottom-sheet-footer.component.js +1 -1
  707. package/esm2015/modal/src/lib/bottom-sheet/bottom-sheet-header/bottom-sheet-header.component.js +1 -1
  708. package/esm2015/modal/src/lib/bottom-sheet/bottom-sheet.component.js +1 -1
  709. package/esm2015/modal/src/lib/modal/modal-body/modal-body.component.js +1 -1
  710. package/esm2015/modal/src/lib/modal/modal-footer/modal-footer.component.js +1 -1
  711. package/esm2015/modal/src/lib/modal/modal-header/modal-header.component.js +1 -1
  712. package/esm2015/modal/src/lib/modal/modal.component.js +1 -1
  713. package/esm2015/modal/src/lib/modal.module.js +1 -1
  714. package/esm2015/modal/src/public-api.js +1 -1
  715. package/esm2015/modal-resizable/index.js +1 -1
  716. package/esm2015/modal-resizable/sd-angular-core-modal-resizable.js +1 -1
  717. package/esm2015/modal-resizable/sd-angular-core-modal-resizable.js.__ivy_ngcc_bak +5 -0
  718. package/esm2015/modal-resizable/src/lib/modal-resizable/modal-resizable.component.js +1 -1
  719. package/esm2015/modal-resizable/src/lib/modal-resizable.module.js +1 -1
  720. package/esm2015/modal-resizable/src/public-api.js +1 -1
  721. package/esm2015/notify/index.js +1 -1
  722. package/esm2015/notify/sd-angular-core-notify.js +1 -1
  723. package/esm2015/notify/sd-angular-core-notify.js.__ivy_ngcc_bak +5 -0
  724. package/esm2015/notify/src/lib/components/dialog-confirm/dialog-confirm.component.js +1 -1
  725. package/esm2015/notify/src/lib/configurations/notify.configuration.js +1 -1
  726. package/esm2015/notify/src/lib/notify.module.js +1 -1
  727. package/esm2015/notify/src/lib/notify.service.js +1 -1
  728. package/esm2015/notify/src/public-api.js +1 -1
  729. package/esm2015/popover/index.js +1 -1
  730. package/esm2015/popover/sd-angular-core-popover.js +1 -1
  731. package/esm2015/popover/sd-angular-core-popover.js.__ivy_ngcc_bak +5 -0
  732. package/esm2015/popover/src/lib/directives/popover-content.directive.js +1 -1
  733. package/esm2015/popover/src/lib/directives/popover-trigger.directive.js +1 -1
  734. package/esm2015/popover/src/lib/popover/popover.component.js +1 -1
  735. package/esm2015/popover/src/lib/popover.model.js +1 -1
  736. package/esm2015/popover/src/lib/popover.module.js +1 -1
  737. package/esm2015/popover/src/public-api.js +1 -1
  738. package/esm2015/public-api.js +1 -1
  739. package/esm2015/quick-action/index.js +1 -1
  740. package/esm2015/quick-action/sd-angular-core-quick-action.js +1 -1
  741. package/esm2015/quick-action/sd-angular-core-quick-action.js.__ivy_ngcc_bak +5 -0
  742. package/esm2015/quick-action/src/lib/quick-action.component.js +1 -1
  743. package/esm2015/quick-action/src/lib/quick-action.module.js +1 -1
  744. package/esm2015/quick-action/src/public-api.js +1 -1
  745. package/esm2015/radio/index.js +1 -1
  746. package/esm2015/radio/sd-angular-core-radio.js +1 -1
  747. package/esm2015/radio/sd-angular-core-radio.js.__ivy_ngcc_bak +5 -0
  748. package/esm2015/radio/src/lib/radio.component.js +1 -1
  749. package/esm2015/radio/src/lib/radio.module.js +1 -1
  750. package/esm2015/radio/src/public-api.js +1 -1
  751. package/esm2015/sd-angular-core.js +1 -1
  752. package/esm2015/select/index.js +1 -1
  753. package/esm2015/select/sd-angular-core-select.js +1 -1
  754. package/esm2015/select/sd-angular-core-select.js.__ivy_ngcc_bak +5 -0
  755. package/esm2015/select/src/lib/select-display-def.directive.js +1 -1
  756. package/esm2015/select/src/lib/select.component.js +1 -1
  757. package/esm2015/select/src/lib/select.module.js +1 -1
  758. package/esm2015/select/src/public-api.js +1 -1
  759. package/esm2015/select-badge/index.js +1 -1
  760. package/esm2015/select-badge/sd-angular-core-select-badge.js +1 -1
  761. package/esm2015/select-badge/sd-angular-core-select-badge.js.__ivy_ngcc_bak +5 -0
  762. package/esm2015/select-badge/src/lib/select-badge-display-def.directive.js +1 -1
  763. package/esm2015/select-badge/src/lib/select-badge.component.js +1 -1
  764. package/esm2015/select-badge/src/lib/select-badge.module.js +1 -1
  765. package/esm2015/select-badge/src/public-api.js +1 -1
  766. package/esm2015/select-editor/index.js +1 -1
  767. package/esm2015/select-editor/sd-angular-core-select-editor.js +1 -1
  768. package/esm2015/select-editor/sd-angular-core-select-editor.js.__ivy_ngcc_bak +5 -0
  769. package/esm2015/select-editor/src/lib/select-editor.component.js +2 -2
  770. package/esm2015/select-editor/src/lib/select-editor.module.js +1 -1
  771. package/esm2015/select-editor/src/public-api.js +1 -1
  772. package/esm2015/service/index.js +1 -1
  773. package/esm2015/service/sd-angular-core-service.js +1 -1
  774. package/esm2015/service/sd-angular-core-service.js.__ivy_ngcc_bak +5 -0
  775. package/esm2015/service/src/lib/service.module.js +1 -1
  776. package/esm2015/service/src/public-api.js +1 -1
  777. package/esm2015/setting/index.js +1 -1
  778. package/esm2015/setting/sd-angular-core-setting.js +1 -1
  779. package/esm2015/setting/sd-angular-core-setting.js.__ivy_ngcc_bak +5 -0
  780. package/esm2015/setting/src/lib/setting.model.js +1 -1
  781. package/esm2015/setting/src/lib/setting.service.js +1 -1
  782. package/esm2015/setting/src/public-api.js +1 -1
  783. package/esm2015/side-drawer/index.js +1 -1
  784. package/esm2015/side-drawer/sd-angular-core-side-drawer.js +1 -1
  785. package/esm2015/side-drawer/sd-angular-core-side-drawer.js.__ivy_ngcc_bak +5 -0
  786. package/esm2015/side-drawer/src/lib/side-drawer/side-drawer.component.js +1 -1
  787. package/esm2015/side-drawer/src/lib/side-drawer.module.js +1 -1
  788. package/esm2015/side-drawer/src/public-api.js +1 -1
  789. package/esm2015/switch/index.js +1 -1
  790. package/esm2015/switch/sd-angular-core-switch.js +1 -1
  791. package/esm2015/switch/sd-angular-core-switch.js.__ivy_ngcc_bak +5 -0
  792. package/esm2015/switch/src/lib/switch.component.js +1 -1
  793. package/esm2015/switch/src/lib/switch.module.js +1 -1
  794. package/esm2015/switch/src/public-api.js +1 -1
  795. package/esm2015/tab-router/index.js +1 -1
  796. package/esm2015/tab-router/sd-angular-core-tab-router.js +1 -1
  797. package/esm2015/tab-router/sd-angular-core-tab-router.js.__ivy_ngcc_bak +7 -0
  798. package/esm2015/tab-router/src/lib/actions/tab-router.action.js +1 -1
  799. package/esm2015/tab-router/src/lib/components/tab-router-item/tab-router-item.component.js +21 -7
  800. package/esm2015/tab-router/src/lib/components/tab-router-nav/tab-router-nav.component.js +10 -6
  801. package/esm2015/tab-router/src/lib/components/tab-router-outlet/tab-router-outlet.component.js +3 -1
  802. package/esm2015/tab-router/src/lib/decorators/tab.decorator.js +1 -1
  803. package/esm2015/tab-router/src/lib/directives/router-link-mouse-down.directive.js +1 -1
  804. package/esm2015/tab-router/src/lib/events/tab-router.event.js +1 -1
  805. package/esm2015/tab-router/src/lib/models/tab-router.model.js +1 -1
  806. package/esm2015/tab-router/src/lib/pipes/tab-info.pipe.js +3 -3
  807. package/esm2015/tab-router/src/lib/services/tab-decorator.service.js +1 -1
  808. package/esm2015/tab-router/src/lib/services/tab-router.service.js +1 -1
  809. package/esm2015/tab-router/src/lib/tab-router.module.js +1 -1
  810. package/esm2015/tab-router/src/public-api.js +1 -1
  811. package/esm2015/textarea/index.js +1 -1
  812. package/esm2015/textarea/sd-angular-core-textarea.js +1 -1
  813. package/esm2015/textarea/sd-angular-core-textarea.js.__ivy_ngcc_bak +5 -0
  814. package/esm2015/textarea/src/lib/textarea.component.js +1 -1
  815. package/esm2015/textarea/src/lib/textarea.module.js +1 -1
  816. package/esm2015/textarea/src/public-api.js +1 -1
  817. package/esm2015/time/index.js +1 -1
  818. package/esm2015/time/sd-angular-core-time.js +1 -1
  819. package/esm2015/time/sd-angular-core-time.js.__ivy_ngcc_bak +6 -0
  820. package/esm2015/time/src/lib/time.component.js +1 -1
  821. package/esm2015/time/src/lib/time.module.js +1 -1
  822. package/esm2015/time/src/public-api.js +1 -1
  823. package/esm2015/timeline/index.js +1 -1
  824. package/esm2015/timeline/sd-angular-core-timeline.js +1 -1
  825. package/esm2015/timeline/sd-angular-core-timeline.js.__ivy_ngcc_bak +6 -0
  826. package/esm2015/timeline/src/lib/components/timeline.component.js +1 -1
  827. package/esm2015/timeline/src/lib/directives/timeline-def.directive.js +1 -1
  828. package/esm2015/timeline/src/lib/timeline.module.js +1 -1
  829. package/esm2015/timeline/src/public-api.js +1 -1
  830. package/esm2015/translate/index.js +1 -1
  831. package/esm2015/translate/sd-angular-core-translate.js +1 -1
  832. package/esm2015/translate/sd-angular-core-translate.js.__ivy_ngcc_bak +5 -0
  833. package/esm2015/translate/src/lib/translate.model.js +1 -1
  834. package/esm2015/translate/src/lib/translate.module.js +1 -1
  835. package/esm2015/translate/src/lib/translate.pipe.js +1 -1
  836. package/esm2015/translate/src/lib/translate.service.js +1 -1
  837. package/esm2015/upload-excel/index.js +1 -1
  838. package/esm2015/upload-excel/sd-angular-core-upload-excel.js +1 -1
  839. package/esm2015/upload-excel/sd-angular-core-upload-excel.js.__ivy_ngcc_bak +7 -0
  840. package/esm2015/upload-excel/src/lib/pipes/columm-hidden.pipe.js +1 -1
  841. package/esm2015/upload-excel/src/lib/pipes/column-transform.pipe.js +1 -1
  842. package/esm2015/upload-excel/src/lib/upload-excel.component.js +1 -1
  843. package/esm2015/upload-excel/src/lib/upload-excel.model.js +1 -1
  844. package/esm2015/upload-excel/src/lib/upload-excel.module.js +1 -1
  845. package/esm2015/upload-excel/src/public-api.js +1 -1
  846. package/esm2015/upload-file/index.js +1 -1
  847. package/esm2015/upload-file/sd-angular-core-upload-file.js +1 -1
  848. package/esm2015/upload-file/sd-angular-core-upload-file.js.__ivy_ngcc_bak +5 -0
  849. package/esm2015/upload-file/src/lib/upload-file.component.js +1 -1
  850. package/esm2015/upload-file/src/lib/upload-file.module.js +1 -1
  851. package/esm2015/upload-file/src/public-api.js +1 -1
  852. package/esm2015/utility/index.js +1 -1
  853. package/esm2015/utility/sd-angular-core-utility.js +1 -1
  854. package/esm2015/utility/sd-angular-core-utility.js.__ivy_ngcc_bak +5 -0
  855. package/esm2015/utility/src/lib/directives/desktop.directive.js +1 -1
  856. package/esm2015/utility/src/lib/directives/mobile-tablet.directive.js +1 -1
  857. package/esm2015/utility/src/lib/directives/mobile.directive.js +1 -1
  858. package/esm2015/utility/src/lib/directives/tablet.directive.js +1 -1
  859. package/esm2015/utility/src/lib/pipes/currency.pipe.js +1 -1
  860. package/esm2015/utility/src/lib/pipes/safe-html.pipe.js +1 -1
  861. package/esm2015/utility/src/lib/pipes/time-different.pipe.js +1 -1
  862. package/esm2015/utility/src/lib/utility.module.js +1 -1
  863. package/esm2015/utility/src/lib/utility.service.js +1 -1
  864. package/esm2015/utility/src/public-api.js +1 -1
  865. package/esm2015/view/index.js +1 -1
  866. package/esm2015/view/sd-angular-core-view.js +1 -1
  867. package/esm2015/view/sd-angular-core-view.js.__ivy_ngcc_bak +5 -0
  868. package/esm2015/view/src/lib/view.module.js +1 -1
  869. package/esm2015/view/src/public-api.js +1 -1
  870. package/excel/package.json +12 -1
  871. package/excel/sd-angular-core-excel.d.ts +2 -0
  872. package/excel/sd-angular-core-excel.d.ts.__ivy_ngcc_bak +4 -0
  873. package/excel/sd-angular-core-excel.d.ts.map +1 -0
  874. package/export/package.json +12 -1
  875. package/export/sd-angular-core-export.d.ts +2 -0
  876. package/export/sd-angular-core-export.d.ts.__ivy_ngcc_bak +4 -0
  877. package/export/sd-angular-core-export.d.ts.map +1 -0
  878. package/export/src/lib/export.service.d.ts +3 -0
  879. package/fesm2015/sd-angular-core-api.js +2 -1
  880. package/fesm2015/sd-angular-core-api.js.__ivy_ngcc_bak +496 -0
  881. package/fesm2015/sd-angular-core-api.js.map +1 -1
  882. package/fesm2015/sd-angular-core-api.js.map.__ivy_ngcc_bak +1 -0
  883. package/fesm2015/sd-angular-core-autocomplete.js +2 -1
  884. package/fesm2015/sd-angular-core-autocomplete.js.__ivy_ngcc_bak +427 -0
  885. package/fesm2015/sd-angular-core-autocomplete.js.map +1 -1
  886. package/fesm2015/sd-angular-core-autocomplete.js.map.__ivy_ngcc_bak +1 -0
  887. package/fesm2015/sd-angular-core-badge.js +2 -1
  888. package/fesm2015/sd-angular-core-badge.js.__ivy_ngcc_bak +70 -0
  889. package/fesm2015/sd-angular-core-badge.js.map +1 -1
  890. package/fesm2015/sd-angular-core-badge.js.map.__ivy_ngcc_bak +1 -0
  891. package/fesm2015/sd-angular-core-button.js +2 -1
  892. package/fesm2015/sd-angular-core-button.js.__ivy_ngcc_bak +115 -0
  893. package/fesm2015/sd-angular-core-button.js.map +1 -1
  894. package/fesm2015/sd-angular-core-button.js.map.__ivy_ngcc_bak +1 -0
  895. package/fesm2015/sd-angular-core-cache.js +2 -1
  896. package/fesm2015/sd-angular-core-cache.js.__ivy_ngcc_bak +259 -0
  897. package/fesm2015/sd-angular-core-cache.js.map +1 -1
  898. package/fesm2015/sd-angular-core-cache.js.map.__ivy_ngcc_bak +1 -0
  899. package/fesm2015/sd-angular-core-chart.js +2 -1
  900. package/fesm2015/sd-angular-core-chart.js.__ivy_ngcc_bak +727 -0
  901. package/fesm2015/sd-angular-core-chart.js.map +1 -1
  902. package/fesm2015/sd-angular-core-chart.js.map.__ivy_ngcc_bak +1 -0
  903. package/fesm2015/sd-angular-core-checkbox.js +2 -1
  904. package/fesm2015/sd-angular-core-checkbox.js.__ivy_ngcc_bak +120 -0
  905. package/fesm2015/sd-angular-core-checkbox.js.map +1 -1
  906. package/fesm2015/sd-angular-core-checkbox.js.map.__ivy_ngcc_bak +1 -0
  907. package/fesm2015/sd-angular-core-chip.js +2 -1
  908. package/fesm2015/sd-angular-core-chip.js.__ivy_ngcc_bak +632 -0
  909. package/fesm2015/sd-angular-core-chip.js.map +1 -1
  910. package/fesm2015/sd-angular-core-chip.js.map.__ivy_ngcc_bak +1 -0
  911. package/fesm2015/sd-angular-core-comment.js +2 -1
  912. package/fesm2015/sd-angular-core-comment.js.__ivy_ngcc_bak +118 -0
  913. package/fesm2015/sd-angular-core-comment.js.map +1 -1
  914. package/fesm2015/sd-angular-core-comment.js.map.__ivy_ngcc_bak +1 -0
  915. package/fesm2015/sd-angular-core-common.js +2 -1
  916. package/fesm2015/sd-angular-core-common.js.__ivy_ngcc_bak +562 -0
  917. package/fesm2015/sd-angular-core-common.js.map +1 -1
  918. package/fesm2015/sd-angular-core-common.js.map.__ivy_ngcc_bak +1 -0
  919. package/fesm2015/sd-angular-core-confirm.js +2 -1
  920. package/fesm2015/sd-angular-core-confirm.js.__ivy_ngcc_bak +154 -0
  921. package/fesm2015/sd-angular-core-confirm.js.map +1 -1
  922. package/fesm2015/sd-angular-core-confirm.js.map.__ivy_ngcc_bak +1 -0
  923. package/fesm2015/sd-angular-core-date-month.js +2 -1
  924. package/fesm2015/sd-angular-core-date-month.js.__ivy_ngcc_bak +289 -0
  925. package/fesm2015/sd-angular-core-date-month.js.map +1 -1
  926. package/fesm2015/sd-angular-core-date-month.js.map.__ivy_ngcc_bak +1 -0
  927. package/fesm2015/sd-angular-core-date-range.js +2 -1
  928. package/fesm2015/sd-angular-core-date-range.js.__ivy_ngcc_bak +297 -0
  929. package/fesm2015/sd-angular-core-date-range.js.map +1 -1
  930. package/fesm2015/sd-angular-core-date-range.js.map.__ivy_ngcc_bak +1 -0
  931. package/fesm2015/sd-angular-core-date-time.js +2 -1
  932. package/fesm2015/sd-angular-core-date-time.js.__ivy_ngcc_bak +367 -0
  933. package/fesm2015/sd-angular-core-date-time.js.map +1 -1
  934. package/fesm2015/sd-angular-core-date-time.js.map.__ivy_ngcc_bak +1 -0
  935. package/fesm2015/sd-angular-core-db.js +2 -1
  936. package/fesm2015/sd-angular-core-db.js.__ivy_ngcc_bak +91 -0
  937. package/fesm2015/sd-angular-core-db.js.map +1 -1
  938. package/fesm2015/sd-angular-core-db.js.map.__ivy_ngcc_bak +1 -0
  939. package/fesm2015/sd-angular-core-dynamic-report.js +2 -1
  940. package/fesm2015/sd-angular-core-dynamic-report.js.__ivy_ngcc_bak +82 -0
  941. package/fesm2015/sd-angular-core-dynamic-report.js.map +1 -1
  942. package/fesm2015/sd-angular-core-dynamic-report.js.map.__ivy_ngcc_bak +1 -0
  943. package/fesm2015/sd-angular-core-editor.js +2 -1
  944. package/fesm2015/sd-angular-core-editor.js.__ivy_ngcc_bak +432 -0
  945. package/fesm2015/sd-angular-core-editor.js.map +1 -1
  946. package/fesm2015/sd-angular-core-editor.js.map.__ivy_ngcc_bak +1 -0
  947. package/fesm2015/sd-angular-core-excel.js +2 -1
  948. package/fesm2015/sd-angular-core-excel.js.__ivy_ngcc_bak +100 -0
  949. package/fesm2015/sd-angular-core-excel.js.map +1 -1
  950. package/fesm2015/sd-angular-core-excel.js.map.__ivy_ngcc_bak +1 -0
  951. package/fesm2015/sd-angular-core-export.js +4 -1
  952. package/fesm2015/sd-angular-core-export.js.__ivy_ngcc_bak +272 -0
  953. package/fesm2015/sd-angular-core-export.js.map +1 -1
  954. package/fesm2015/sd-angular-core-export.js.map.__ivy_ngcc_bak +1 -0
  955. package/fesm2015/sd-angular-core-form.js +2 -1
  956. package/fesm2015/sd-angular-core-form.js.__ivy_ngcc_bak +104 -0
  957. package/fesm2015/sd-angular-core-form.js.map +1 -1
  958. package/fesm2015/sd-angular-core-form.js.map.__ivy_ngcc_bak +1 -0
  959. package/fesm2015/sd-angular-core-grid-material.js +12 -5
  960. package/fesm2015/sd-angular-core-grid-material.js.__ivy_ngcc_bak +3740 -0
  961. package/fesm2015/sd-angular-core-grid-material.js.map +1 -1
  962. package/fesm2015/sd-angular-core-grid-material.js.map.__ivy_ngcc_bak +1 -0
  963. package/fesm2015/sd-angular-core-group.js +2 -1
  964. package/fesm2015/sd-angular-core-group.js.__ivy_ngcc_bak +74 -0
  965. package/fesm2015/sd-angular-core-group.js.map +1 -1
  966. package/fesm2015/sd-angular-core-group.js.map.__ivy_ngcc_bak +1 -0
  967. package/fesm2015/sd-angular-core-header-title.js +2 -1
  968. package/fesm2015/sd-angular-core-header-title.js.__ivy_ngcc_bak +45 -0
  969. package/fesm2015/sd-angular-core-header-title.js.map +1 -1
  970. package/fesm2015/sd-angular-core-header-title.js.map.__ivy_ngcc_bak +1 -0
  971. package/fesm2015/sd-angular-core-image-preview.js +2 -1
  972. package/fesm2015/sd-angular-core-image-preview.js.__ivy_ngcc_bak +107 -0
  973. package/fesm2015/sd-angular-core-image-preview.js.map +1 -1
  974. package/fesm2015/sd-angular-core-image-preview.js.map.__ivy_ngcc_bak +1 -0
  975. package/fesm2015/sd-angular-core-input-currency.js +2 -1
  976. package/fesm2015/sd-angular-core-input-currency.js.__ivy_ngcc_bak +330 -0
  977. package/fesm2015/sd-angular-core-input-currency.js.map +1 -1
  978. package/fesm2015/sd-angular-core-input-currency.js.map.__ivy_ngcc_bak +1 -0
  979. package/fesm2015/sd-angular-core-input-dropdown.js +2 -1
  980. package/fesm2015/sd-angular-core-input-dropdown.js.__ivy_ngcc_bak +268 -0
  981. package/fesm2015/sd-angular-core-input-dropdown.js.map +1 -1
  982. package/fesm2015/sd-angular-core-input-dropdown.js.map.__ivy_ngcc_bak +1 -0
  983. package/fesm2015/sd-angular-core-input-number.js +8 -4
  984. package/fesm2015/sd-angular-core-input-number.js.__ivy_ngcc_bak +415 -0
  985. package/fesm2015/sd-angular-core-input-number.js.map +1 -1
  986. package/fesm2015/sd-angular-core-input-number.js.map.__ivy_ngcc_bak +1 -0
  987. package/fesm2015/sd-angular-core-input-upload-file.js +2 -1
  988. package/fesm2015/sd-angular-core-input-upload-file.js.__ivy_ngcc_bak +274 -0
  989. package/fesm2015/sd-angular-core-input-upload-file.js.map +1 -1
  990. package/fesm2015/sd-angular-core-input-upload-file.js.map.__ivy_ngcc_bak +1 -0
  991. package/fesm2015/sd-angular-core-input.js +2 -1
  992. package/fesm2015/sd-angular-core-input.js.__ivy_ngcc_bak +398 -0
  993. package/fesm2015/sd-angular-core-input.js.map +1 -1
  994. package/fesm2015/sd-angular-core-input.js.map.__ivy_ngcc_bak +1 -0
  995. package/fesm2015/sd-angular-core-json-editor.js +2 -1
  996. package/fesm2015/sd-angular-core-json-editor.js.__ivy_ngcc_bak +180 -0
  997. package/fesm2015/sd-angular-core-json-editor.js.map +1 -1
  998. package/fesm2015/sd-angular-core-json-editor.js.map.__ivy_ngcc_bak +1 -0
  999. package/fesm2015/sd-angular-core-konva.js +2 -1
  1000. package/fesm2015/sd-angular-core-konva.js.__ivy_ngcc_bak +237 -0
  1001. package/fesm2015/sd-angular-core-konva.js.map +1 -1
  1002. package/fesm2015/sd-angular-core-konva.js.map.__ivy_ngcc_bak +1 -0
  1003. package/fesm2015/sd-angular-core-label.js +2 -1
  1004. package/fesm2015/sd-angular-core-label.js.__ivy_ngcc_bak +49 -0
  1005. package/fesm2015/sd-angular-core-label.js.map +1 -1
  1006. package/fesm2015/sd-angular-core-label.js.map.__ivy_ngcc_bak +1 -0
  1007. package/fesm2015/sd-angular-core-loading.js +2 -1
  1008. package/fesm2015/sd-angular-core-loading.js.__ivy_ngcc_bak +83 -0
  1009. package/fesm2015/sd-angular-core-loading.js.map +1 -1
  1010. package/fesm2015/sd-angular-core-loading.js.map.__ivy_ngcc_bak +1 -0
  1011. package/fesm2015/sd-angular-core-modal-resizable.js +2 -1
  1012. package/fesm2015/sd-angular-core-modal-resizable.js.__ivy_ngcc_bak +161 -0
  1013. package/fesm2015/sd-angular-core-modal-resizable.js.map +1 -1
  1014. package/fesm2015/sd-angular-core-modal-resizable.js.map.__ivy_ngcc_bak +1 -0
  1015. package/fesm2015/sd-angular-core-modal.js +2 -1
  1016. package/fesm2015/sd-angular-core-modal.js.__ivy_ngcc_bak +284 -0
  1017. package/fesm2015/sd-angular-core-modal.js.map +1 -1
  1018. package/fesm2015/sd-angular-core-modal.js.map.__ivy_ngcc_bak +1 -0
  1019. package/fesm2015/sd-angular-core-notify.js +2 -1
  1020. package/fesm2015/sd-angular-core-notify.js.__ivy_ngcc_bak +402 -0
  1021. package/fesm2015/sd-angular-core-notify.js.map +1 -1
  1022. package/fesm2015/sd-angular-core-notify.js.map.__ivy_ngcc_bak +1 -0
  1023. package/fesm2015/sd-angular-core-popover.js +2 -1
  1024. package/fesm2015/sd-angular-core-popover.js.__ivy_ngcc_bak +415 -0
  1025. package/fesm2015/sd-angular-core-popover.js.map +1 -1
  1026. package/fesm2015/sd-angular-core-popover.js.map.__ivy_ngcc_bak +1 -0
  1027. package/fesm2015/sd-angular-core-quick-action.js +2 -1
  1028. package/fesm2015/sd-angular-core-quick-action.js.__ivy_ngcc_bak +53 -0
  1029. package/fesm2015/sd-angular-core-quick-action.js.map +1 -1
  1030. package/fesm2015/sd-angular-core-quick-action.js.map.__ivy_ngcc_bak +1 -0
  1031. package/fesm2015/sd-angular-core-radio.js +2 -1
  1032. package/fesm2015/sd-angular-core-radio.js.__ivy_ngcc_bak +188 -0
  1033. package/fesm2015/sd-angular-core-radio.js.map +1 -1
  1034. package/fesm2015/sd-angular-core-radio.js.map.__ivy_ngcc_bak +1 -0
  1035. package/fesm2015/sd-angular-core-select-badge.js +2 -1
  1036. package/fesm2015/sd-angular-core-select-badge.js.__ivy_ngcc_bak +156 -0
  1037. package/fesm2015/sd-angular-core-select-badge.js.map +1 -1
  1038. package/fesm2015/sd-angular-core-select-badge.js.map.__ivy_ngcc_bak +1 -0
  1039. package/fesm2015/sd-angular-core-select-editor.js +3 -2
  1040. package/fesm2015/sd-angular-core-select-editor.js.__ivy_ngcc_bak +110 -0
  1041. package/fesm2015/sd-angular-core-select-editor.js.map +1 -1
  1042. package/fesm2015/sd-angular-core-select-editor.js.map.__ivy_ngcc_bak +1 -0
  1043. package/fesm2015/sd-angular-core-select.js +2 -1
  1044. package/fesm2015/sd-angular-core-select.js.__ivy_ngcc_bak +487 -0
  1045. package/fesm2015/sd-angular-core-select.js.map +1 -1
  1046. package/fesm2015/sd-angular-core-select.js.map.__ivy_ngcc_bak +1 -0
  1047. package/fesm2015/sd-angular-core-service.js +2 -1
  1048. package/fesm2015/sd-angular-core-service.js.__ivy_ngcc_bak +36 -0
  1049. package/fesm2015/sd-angular-core-service.js.map +1 -1
  1050. package/fesm2015/sd-angular-core-service.js.map.__ivy_ngcc_bak +1 -0
  1051. package/fesm2015/sd-angular-core-setting.js +2 -1
  1052. package/fesm2015/sd-angular-core-setting.js.__ivy_ngcc_bak +290 -0
  1053. package/fesm2015/sd-angular-core-setting.js.map +1 -1
  1054. package/fesm2015/sd-angular-core-setting.js.map.__ivy_ngcc_bak +1 -0
  1055. package/fesm2015/sd-angular-core-side-drawer.js +2 -1
  1056. package/fesm2015/sd-angular-core-side-drawer.js.__ivy_ngcc_bak +115 -0
  1057. package/fesm2015/sd-angular-core-side-drawer.js.map +1 -1
  1058. package/fesm2015/sd-angular-core-side-drawer.js.map.__ivy_ngcc_bak +1 -0
  1059. package/fesm2015/sd-angular-core-switch.js +2 -1
  1060. package/fesm2015/sd-angular-core-switch.js.__ivy_ngcc_bak +116 -0
  1061. package/fesm2015/sd-angular-core-switch.js.map +1 -1
  1062. package/fesm2015/sd-angular-core-switch.js.map.__ivy_ngcc_bak +1 -0
  1063. package/fesm2015/sd-angular-core-tab-router.js +31 -12
  1064. package/fesm2015/sd-angular-core-tab-router.js.__ivy_ngcc_bak +531 -0
  1065. package/fesm2015/sd-angular-core-tab-router.js.map +1 -1
  1066. package/fesm2015/sd-angular-core-tab-router.js.map.__ivy_ngcc_bak +1 -0
  1067. package/fesm2015/sd-angular-core-textarea.js +2 -1
  1068. package/fesm2015/sd-angular-core-textarea.js.__ivy_ngcc_bak +266 -0
  1069. package/fesm2015/sd-angular-core-textarea.js.map +1 -1
  1070. package/fesm2015/sd-angular-core-textarea.js.map.__ivy_ngcc_bak +1 -0
  1071. package/fesm2015/sd-angular-core-time.js +2 -1
  1072. package/fesm2015/sd-angular-core-time.js.__ivy_ngcc_bak +143 -0
  1073. package/fesm2015/sd-angular-core-time.js.map +1 -1
  1074. package/fesm2015/sd-angular-core-time.js.map.__ivy_ngcc_bak +1 -0
  1075. package/fesm2015/sd-angular-core-timeline.js +2 -1
  1076. package/fesm2015/sd-angular-core-timeline.js.__ivy_ngcc_bak +87 -0
  1077. package/fesm2015/sd-angular-core-timeline.js.map +1 -1
  1078. package/fesm2015/sd-angular-core-timeline.js.map.__ivy_ngcc_bak +1 -0
  1079. package/fesm2015/sd-angular-core-translate.js +2 -1
  1080. package/fesm2015/sd-angular-core-translate.js.__ivy_ngcc_bak +101 -0
  1081. package/fesm2015/sd-angular-core-translate.js.map +1 -1
  1082. package/fesm2015/sd-angular-core-translate.js.map.__ivy_ngcc_bak +1 -0
  1083. package/fesm2015/sd-angular-core-upload-excel.js +2 -1
  1084. package/fesm2015/sd-angular-core-upload-excel.js.__ivy_ngcc_bak +638 -0
  1085. package/fesm2015/sd-angular-core-upload-excel.js.map +1 -1
  1086. package/fesm2015/sd-angular-core-upload-excel.js.map.__ivy_ngcc_bak +1 -0
  1087. package/fesm2015/sd-angular-core-upload-file.js +2 -1
  1088. package/fesm2015/sd-angular-core-upload-file.js.__ivy_ngcc_bak +462 -0
  1089. package/fesm2015/sd-angular-core-upload-file.js.map +1 -1
  1090. package/fesm2015/sd-angular-core-upload-file.js.map.__ivy_ngcc_bak +1 -0
  1091. package/fesm2015/sd-angular-core-utility.js +2 -1
  1092. package/fesm2015/sd-angular-core-utility.js.__ivy_ngcc_bak +364 -0
  1093. package/fesm2015/sd-angular-core-utility.js.map +1 -1
  1094. package/fesm2015/sd-angular-core-utility.js.map.__ivy_ngcc_bak +1 -0
  1095. package/fesm2015/sd-angular-core-view.js +2 -1
  1096. package/fesm2015/sd-angular-core-view.js.__ivy_ngcc_bak +23 -0
  1097. package/fesm2015/sd-angular-core-view.js.map +1 -1
  1098. package/fesm2015/sd-angular-core-view.js.map.__ivy_ngcc_bak +1 -0
  1099. package/form/package.json +12 -1
  1100. package/form/sd-angular-core-form.d.ts +2 -0
  1101. package/form/sd-angular-core-form.d.ts.__ivy_ngcc_bak +4 -0
  1102. package/form/sd-angular-core-form.d.ts.map +1 -0
  1103. package/grid-material/package.json +12 -1
  1104. package/grid-material/sd-angular-core-grid-material.d.ts +2 -0
  1105. package/grid-material/sd-angular-core-grid-material.d.ts.__ivy_ngcc_bak +46 -0
  1106. package/grid-material/sd-angular-core-grid-material.d.ts.map +1 -0
  1107. package/group/package.json +12 -1
  1108. package/group/sd-angular-core-group.d.ts +2 -0
  1109. package/group/sd-angular-core-group.d.ts.__ivy_ngcc_bak +5 -0
  1110. package/group/sd-angular-core-group.d.ts.map +1 -0
  1111. package/header-title/package.json +12 -1
  1112. package/header-title/sd-angular-core-header-title.d.ts +2 -0
  1113. package/header-title/sd-angular-core-header-title.d.ts.__ivy_ngcc_bak +5 -0
  1114. package/header-title/sd-angular-core-header-title.d.ts.map +1 -0
  1115. package/image-preview/package.json +12 -1
  1116. package/image-preview/sd-angular-core-image-preview.d.ts +2 -0
  1117. package/image-preview/sd-angular-core-image-preview.d.ts.__ivy_ngcc_bak +6 -0
  1118. package/image-preview/sd-angular-core-image-preview.d.ts.map +1 -0
  1119. package/input/package.json +12 -1
  1120. package/input/sd-angular-core-input.d.ts +2 -0
  1121. package/input/sd-angular-core-input.d.ts.__ivy_ngcc_bak +5 -0
  1122. package/input/sd-angular-core-input.d.ts.map +1 -0
  1123. package/input-currency/package.json +12 -1
  1124. package/input-currency/sd-angular-core-input-currency.d.ts +2 -0
  1125. package/input-currency/sd-angular-core-input-currency.d.ts.__ivy_ngcc_bak +4 -0
  1126. package/input-currency/sd-angular-core-input-currency.d.ts.map +1 -0
  1127. package/input-dropdown/package.json +12 -1
  1128. package/input-dropdown/sd-angular-core-input-dropdown.d.ts +2 -0
  1129. package/input-dropdown/sd-angular-core-input-dropdown.d.ts.__ivy_ngcc_bak +4 -0
  1130. package/input-dropdown/sd-angular-core-input-dropdown.d.ts.map +1 -0
  1131. package/input-number/package.json +12 -1
  1132. package/input-number/sd-angular-core-input-number.d.ts +2 -0
  1133. package/input-number/sd-angular-core-input-number.d.ts.__ivy_ngcc_bak +4 -0
  1134. package/input-number/sd-angular-core-input-number.d.ts.map +1 -0
  1135. package/input-upload-file/package.json +12 -1
  1136. package/input-upload-file/sd-angular-core-input-upload-file.d.ts +2 -0
  1137. package/input-upload-file/sd-angular-core-input-upload-file.d.ts.__ivy_ngcc_bak +4 -0
  1138. package/input-upload-file/sd-angular-core-input-upload-file.d.ts.map +1 -0
  1139. package/json-editor/package.json +12 -1
  1140. package/json-editor/sd-angular-core-json-editor.d.ts +2 -0
  1141. package/json-editor/sd-angular-core-json-editor.d.ts.__ivy_ngcc_bak +4 -0
  1142. package/json-editor/sd-angular-core-json-editor.d.ts.map +1 -0
  1143. package/konva/package.json +12 -1
  1144. package/konva/sd-angular-core-konva.d.ts +2 -0
  1145. package/konva/sd-angular-core-konva.d.ts.__ivy_ngcc_bak +4 -0
  1146. package/konva/sd-angular-core-konva.d.ts.map +1 -0
  1147. package/label/package.json +12 -1
  1148. package/label/sd-angular-core-label.d.ts +2 -0
  1149. package/label/sd-angular-core-label.d.ts.__ivy_ngcc_bak +5 -0
  1150. package/label/sd-angular-core-label.d.ts.map +1 -0
  1151. package/loading/package.json +12 -1
  1152. package/loading/sd-angular-core-loading.d.ts +2 -0
  1153. package/loading/sd-angular-core-loading.d.ts.__ivy_ngcc_bak +4 -0
  1154. package/loading/sd-angular-core-loading.d.ts.map +1 -0
  1155. package/modal/package.json +12 -1
  1156. package/modal/sd-angular-core-modal.d.ts +2 -0
  1157. package/modal/sd-angular-core-modal.d.ts.__ivy_ngcc_bak +4 -0
  1158. package/modal/sd-angular-core-modal.d.ts.map +1 -0
  1159. package/modal-resizable/package.json +12 -1
  1160. package/modal-resizable/sd-angular-core-modal-resizable.d.ts +2 -0
  1161. package/modal-resizable/sd-angular-core-modal-resizable.d.ts.__ivy_ngcc_bak +4 -0
  1162. package/modal-resizable/sd-angular-core-modal-resizable.d.ts.map +1 -0
  1163. package/notify/package.json +12 -1
  1164. package/notify/sd-angular-core-notify.d.ts +2 -0
  1165. package/notify/sd-angular-core-notify.d.ts.__ivy_ngcc_bak +4 -0
  1166. package/notify/sd-angular-core-notify.d.ts.map +1 -0
  1167. package/package.json +1 -1
  1168. package/popover/package.json +12 -1
  1169. package/popover/sd-angular-core-popover.d.ts +2 -0
  1170. package/popover/sd-angular-core-popover.d.ts.__ivy_ngcc_bak +4 -0
  1171. package/popover/sd-angular-core-popover.d.ts.map +1 -0
  1172. package/quick-action/package.json +12 -1
  1173. package/quick-action/sd-angular-core-quick-action.d.ts +2 -0
  1174. package/quick-action/sd-angular-core-quick-action.d.ts.__ivy_ngcc_bak +4 -0
  1175. package/quick-action/sd-angular-core-quick-action.d.ts.map +1 -0
  1176. package/radio/package.json +12 -1
  1177. package/radio/sd-angular-core-radio.d.ts +2 -0
  1178. package/radio/sd-angular-core-radio.d.ts.__ivy_ngcc_bak +4 -0
  1179. package/radio/sd-angular-core-radio.d.ts.map +1 -0
  1180. package/sd-angular-core-1.2.86.tgz +0 -0
  1181. package/select/package.json +12 -1
  1182. package/select/sd-angular-core-select.d.ts +2 -0
  1183. package/select/sd-angular-core-select.d.ts.__ivy_ngcc_bak +4 -0
  1184. package/select/sd-angular-core-select.d.ts.map +1 -0
  1185. package/select-badge/package.json +12 -1
  1186. package/select-badge/sd-angular-core-select-badge.d.ts +2 -0
  1187. package/select-badge/sd-angular-core-select-badge.d.ts.__ivy_ngcc_bak +4 -0
  1188. package/select-badge/sd-angular-core-select-badge.d.ts.map +1 -0
  1189. package/select-editor/package.json +12 -1
  1190. package/select-editor/sd-angular-core-select-editor.d.ts +2 -0
  1191. package/select-editor/sd-angular-core-select-editor.d.ts.__ivy_ngcc_bak +4 -0
  1192. package/select-editor/sd-angular-core-select-editor.d.ts.map +1 -0
  1193. package/select-editor/sd-angular-core-select-editor.metadata.json +1 -1
  1194. package/service/package.json +12 -1
  1195. package/service/sd-angular-core-service.d.ts +2 -0
  1196. package/service/sd-angular-core-service.d.ts.__ivy_ngcc_bak +4 -0
  1197. package/service/sd-angular-core-service.d.ts.map +1 -0
  1198. package/setting/package.json +12 -1
  1199. package/setting/sd-angular-core-setting.d.ts +2 -0
  1200. package/setting/sd-angular-core-setting.d.ts.__ivy_ngcc_bak +4 -0
  1201. package/setting/sd-angular-core-setting.d.ts.map +1 -0
  1202. package/side-drawer/package.json +12 -1
  1203. package/side-drawer/sd-angular-core-side-drawer.d.ts +2 -0
  1204. package/side-drawer/sd-angular-core-side-drawer.d.ts.__ivy_ngcc_bak +4 -0
  1205. package/side-drawer/sd-angular-core-side-drawer.d.ts.map +1 -0
  1206. package/switch/package.json +12 -1
  1207. package/switch/sd-angular-core-switch.d.ts +2 -0
  1208. package/switch/sd-angular-core-switch.d.ts.__ivy_ngcc_bak +4 -0
  1209. package/switch/sd-angular-core-switch.d.ts.map +1 -0
  1210. package/tab-router/package.json +12 -1
  1211. package/tab-router/sd-angular-core-tab-router.d.ts +2 -0
  1212. package/tab-router/sd-angular-core-tab-router.d.ts.__ivy_ngcc_bak +6 -0
  1213. package/tab-router/sd-angular-core-tab-router.d.ts.map +1 -0
  1214. package/tab-router/sd-angular-core-tab-router.metadata.json +1 -1
  1215. package/tab-router/src/lib/components/tab-router-item/tab-router-item.component.d.ts +9 -4
  1216. package/tab-router/src/lib/components/tab-router-nav/tab-router-nav.component.d.ts +3 -2
  1217. package/tab-router/src/lib/decorators/tab.decorator.d.ts +1 -0
  1218. package/tab-router/src/lib/models/tab-router.model.d.ts +1 -0
  1219. package/textarea/package.json +12 -1
  1220. package/textarea/sd-angular-core-textarea.d.ts +2 -0
  1221. package/textarea/sd-angular-core-textarea.d.ts.__ivy_ngcc_bak +4 -0
  1222. package/textarea/sd-angular-core-textarea.d.ts.map +1 -0
  1223. package/time/package.json +12 -1
  1224. package/time/sd-angular-core-time.d.ts +2 -0
  1225. package/time/sd-angular-core-time.d.ts.__ivy_ngcc_bak +5 -0
  1226. package/time/sd-angular-core-time.d.ts.map +1 -0
  1227. package/timeline/package.json +12 -1
  1228. package/timeline/sd-angular-core-timeline.d.ts +2 -0
  1229. package/timeline/sd-angular-core-timeline.d.ts.__ivy_ngcc_bak +5 -0
  1230. package/timeline/sd-angular-core-timeline.d.ts.map +1 -0
  1231. package/translate/package.json +12 -1
  1232. package/translate/sd-angular-core-translate.d.ts +2 -0
  1233. package/translate/sd-angular-core-translate.d.ts.__ivy_ngcc_bak +4 -0
  1234. package/translate/sd-angular-core-translate.d.ts.map +1 -0
  1235. package/upload-excel/package.json +12 -1
  1236. package/upload-excel/sd-angular-core-upload-excel.d.ts +2 -0
  1237. package/upload-excel/sd-angular-core-upload-excel.d.ts.__ivy_ngcc_bak +6 -0
  1238. package/upload-excel/sd-angular-core-upload-excel.d.ts.map +1 -0
  1239. package/upload-file/package.json +12 -1
  1240. package/upload-file/sd-angular-core-upload-file.d.ts +2 -0
  1241. package/upload-file/sd-angular-core-upload-file.d.ts.__ivy_ngcc_bak +4 -0
  1242. package/upload-file/sd-angular-core-upload-file.d.ts.map +1 -0
  1243. package/utility/package.json +12 -1
  1244. package/utility/sd-angular-core-utility.d.ts +2 -0
  1245. package/utility/sd-angular-core-utility.d.ts.__ivy_ngcc_bak +4 -0
  1246. package/utility/sd-angular-core-utility.d.ts.map +1 -0
  1247. package/view/package.json +12 -1
  1248. package/view/sd-angular-core-view.d.ts +2 -0
  1249. package/view/sd-angular-core-view.d.ts.__ivy_ngcc_bak +4 -0
  1250. package/view/sd-angular-core-view.d.ts.map +1 -0
  1251. package/sd-angular-core-1.2.83.tgz +0 -0
@@ -0,0 +1,70 @@
1
+ import { EventEmitter, Component, ChangeDetectionStrategy, Input, Output, NgModule } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { MatIconModule } from '@angular/material/icon';
4
+ import { MatTooltipModule } from '@angular/material/tooltip';
5
+
6
+ class SdBadge {
7
+ constructor() {
8
+ this.color = 'unknown';
9
+ this.type = 'circle';
10
+ this.icon = 'fiber_manual_record';
11
+ this.size = 'sm';
12
+ this.sdClick = new EventEmitter();
13
+ this.onClick = (event) => {
14
+ this.sdClick.observers.length;
15
+ this.sdClick.emit(event);
16
+ };
17
+ }
18
+ set _color(color) {
19
+ if (!color || !['normal', 'primary', 'info', 'success', 'warning', 'danger'].includes(color)) {
20
+ this.color = 'unknown';
21
+ }
22
+ else {
23
+ this.color = color;
24
+ }
25
+ }
26
+ ;
27
+ set _icon(val) {
28
+ this.icon = val || 'fiber_manual_record';
29
+ }
30
+ ;
31
+ }
32
+ SdBadge.decorators = [
33
+ { type: Component, args: [{
34
+ selector: 'sd-badge',
35
+ template: "<div *ngIf=\"type === 'round'\" class=\"c-badge\" matTooltipPosition=\"above\" [matTooltip]=\"tooltip\"\r\n [ngClass]=\"{'c-black400': color === 'normal', 'c-info': color === 'info', 'c-success': color === 'success', 'c-danger': color === 'danger', 'c-warning': color === 'warning'}\"\r\n [class.pointer]=\"!!sdClick.observers?.length\" (click)=\"onClick($event)\">\r\n {{ title }}\r\n</div>\r\n<div *ngIf=\"type === 'circle' || type === 'icon'\" class=\"d-flex\" matTooltipPosition=\"above\" [matTooltip]=\"tooltip\"\r\n [ngClass]=\"{'c-badge-circle': type === 'circle','c-badge-icon': type === 'icon', 'c-unknown': color === 'unknown', 'c-primary': color === 'primary', 'c-black400': color === 'normal', 'c-info': color === 'info', 'c-success': color === 'success', 'c-danger': color === 'danger', 'c-warning': color === 'warning'}\"\r\n [class.pointer]=\"!!sdClick.observers?.length\" (click)=\"onClick($event)\">\r\n <div class=\"d-flex align-items-center\">\r\n <span class=\"c-material-icon mr-4\" [ngClass]=\"{\r\n 'material-icons-outlined': color === 'unknown',\r\n 'material-icons-round': color !== 'unknown',\r\n 'c-xs': size === 'xs',\r\n 'c-sm': size === 'sm',\r\n 'c-md': size === 'md',\r\n 'c-lg': size === 'lg', \r\n 'c-unknown': color === 'unknown', \r\n 'c-primary': color === 'primary', \r\n 'c-black400': color === 'normal', \r\n 'c-info': color === 'info', \r\n 'c-success': color === 'success', \r\n 'c-danger': color === 'danger', \r\n 'c-warning': color === 'warning'\r\n }\">\r\n {{ icon }}\r\n </span>\r\n <div class=\"d-flex flex-column\">\r\n <span class=\"T14R\">{{ title }}</span>\r\n <span *ngIf=\"description\" class=\"T12R c-badge-description\">{{ description }}</span>\r\n </div>\r\n </div>\r\n</div>",
36
+ changeDetection: ChangeDetectionStrategy.OnPush,
37
+ styles: [".text-black400{color:#757575}.c-badge{border-radius:20px;display:inline-block;margin-bottom:4px;min-width:150px;overflow-wrap:break-word;padding:2px 12px;text-align:center}.c-badge.c-primary{background:#e7e9ff;color:#2962ff}.c-badge.c-black400{background:#e9e9e9;color:#757575}.c-badge.c-info{background:#e7e9ff;color:#2962ff}.c-badge.c-warning{background:#ffeacc;color:#ff9600}.c-badge.c-success{background:#dbefdc;color:#4caf50}.c-badge.c-danger{background:#fed5d0;color:#f82c13}.c-badge-circle{min-width:150px}.c-badge-circle .c-material-icon{font-size:16px;height:16px;width:16px}.c-badge-circle .c-material-icon.c-badge-icon{font-size:12px;height:12px;width:12px}.c-badge-circle.c-unknown{color:rgba(0,0,0,.5)}.c-badge-circle.c-primary{color:#2962ff}.c-badge-circle.c-black400{color:#757575}.c-badge-circle.c-info{color:#2962ff}.c-badge-circle.c-success{color:#4caf50}.c-badge-circle.c-danger{color:#f82c13}.c-badge-circle.c-warning{color:#ff9600}.c-badge-icon{min-width:50px}.c-badge-icon .c-material-icon{border-radius:50%;padding:2px}.c-badge-icon .c-material-icon.c-xs{font-size:14px;height:18px;width:18px}.c-badge-icon .c-material-icon.c-sm{font-size:16px;height:20px;width:20px}.c-badge-icon .c-material-icon.c-md{font-size:18px;height:22px;width:22px}.c-badge-icon .c-material-icon.c-lg{font-size:24px;height:28px;width:28px}.c-badge-icon .c-material-icon.c-unknown{color:rgba(0,0,0,.5)}.c-badge-icon .c-material-icon.c-primary{color:#2962ff}.c-badge-icon .c-material-icon.c-black400{color:#757575}.c-badge-icon .c-material-icon.c-info{color:#2962ff}.c-badge-icon .c-material-icon.c-success{color:#4caf50}.c-badge-icon .c-material-icon.c-danger{color:#f82c13}.c-badge-icon .c-material-icon.c-warning{color:#ff9600}.c-badge-description{color:rgba(0,0,0,.5)}"]
38
+ },] }
39
+ ];
40
+ SdBadge.propDecorators = {
41
+ type: [{ type: Input }],
42
+ _color: [{ type: Input, args: ['color',] }],
43
+ title: [{ type: Input }],
44
+ description: [{ type: Input }],
45
+ tooltip: [{ type: Input }],
46
+ _icon: [{ type: Input, args: ['icon',] }],
47
+ size: [{ type: Input }],
48
+ sdClick: [{ type: Output }]
49
+ };
50
+
51
+ class SdBadgeModule {
52
+ }
53
+ SdBadgeModule.decorators = [
54
+ { type: NgModule, args: [{
55
+ imports: [CommonModule, MatIconModule, MatTooltipModule],
56
+ declarations: [SdBadge],
57
+ exports: [SdBadge],
58
+ },] }
59
+ ];
60
+
61
+ /*
62
+ * Public API Surface of superdev-angular-core
63
+ */
64
+
65
+ /**
66
+ * Generated bundle index. Do not edit.
67
+ */
68
+
69
+ export { SdBadge, SdBadgeModule };
70
+ //# sourceMappingURL=sd-angular-core-badge.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sd-angular-core-badge.js","sources":["../../../../projects/sd-core/badge/src/lib/badge.component.ts","../../../../projects/sd-core/badge/src/lib/badge.module.ts","../../../../projects/sd-core/badge/src/public-api.ts","../../../../projects/sd-core/badge/sd-angular-core-badge.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\r\n\r\nexport type SdBadgeColor = 'normal' | 'primary' | 'info' | 'success' | 'warning' | 'danger';\r\n\r\n@Component({\r\n selector: 'sd-badge',\r\n templateUrl: './badge.component.html',\r\n styleUrls: ['./badge.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class SdBadge {\r\n color: SdBadgeColor | 'unknown' = 'unknown';\r\n @Input() type: 'circle' | 'round' | 'icon' = 'circle';\r\n @Input('color') set _color(color: SdBadgeColor) {\r\n if (!color || !['normal', 'primary', 'info', 'success', 'warning', 'danger'].includes(color)) {\r\n this.color = 'unknown';\r\n } else {\r\n this.color = color;\r\n }\r\n };\r\n @Input() title: string;\r\n @Input() description: string;\r\n @Input() tooltip: string;\r\n\r\n icon: string = 'fiber_manual_record';\r\n @Input('icon') set _icon(val: string) {\r\n this.icon = val || 'fiber_manual_record';\r\n };\r\n\r\n @Input() size: 'xs' | 'sm' | 'md' | 'lg' = 'sm';\r\n @Output() sdClick = new EventEmitter();\r\n onClick = (event: Event) => {\r\n this.sdClick.observers.length\r\n this.sdClick.emit(event);\r\n }\r\n}\r\n","import { NgModule } from \"@angular/core\";\r\nimport { CommonModule } from \"@angular/common\";\r\nimport { MatIconModule } from \"@angular/material/icon\";\r\n\r\nimport { SdBadge } from \"./badge.component\";\r\nimport { MatTooltipModule } from \"@angular/material/tooltip\";\r\n\r\n@NgModule({\r\n imports: [CommonModule, MatIconModule, MatTooltipModule],\r\n declarations: [SdBadge],\r\n exports: [SdBadge],\r\n})\r\nexport class SdBadgeModule {}\r\n","/*\r\n * Public API Surface of superdev-angular-core\r\n */\r\n\r\nexport { SdBadgeModule } from \"./lib/badge.module\";\r\nexport * from \"./lib/badge.component\";\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAUa,OAAO;IANpB;QAOE,UAAK,GAA6B,SAAS,CAAC;QACnC,SAAI,GAAgC,QAAQ,CAAC;QAYtD,SAAI,GAAW,qBAAqB,CAAC;QAK5B,SAAI,GAA8B,IAAI,CAAC;QACtC,YAAO,GAAG,IAAI,YAAY,EAAE,CAAC;QACvC,YAAO,GAAG,CAAC,KAAY;YACrB,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,MAAM,CAAA;YAC7B,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;SAC1B,CAAA;KACF;IAtBC,IAAoB,MAAM,CAAC,KAAmB;QAC5C,IAAI,CAAC,KAAK,IAAI,CAAC,CAAC,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE;YAC5F,IAAI,CAAC,KAAK,GAAG,SAAS,CAAC;SACxB;aAAM;YACL,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;SACpB;KACF;;IAMD,IAAmB,KAAK,CAAC,GAAW;QAClC,IAAI,CAAC,IAAI,GAAG,GAAG,IAAI,qBAAqB,CAAC;KAC1C;;;;YAvBF,SAAS,SAAC;gBACT,QAAQ,EAAE,UAAU;gBACpB,uzDAAqC;gBAErC,eAAe,EAAE,uBAAuB,CAAC,MAAM;;aAChD;;;mBAGE,KAAK;qBACL,KAAK,SAAC,OAAO;oBAOb,KAAK;0BACL,KAAK;sBACL,KAAK;oBAGL,KAAK,SAAC,MAAM;mBAIZ,KAAK;sBACL,MAAM;;;MClBI,aAAa;;;YALzB,QAAQ,SAAC;gBACR,OAAO,EAAE,CAAC,YAAY,EAAE,aAAa,EAAE,gBAAgB,CAAC;gBACxD,YAAY,EAAE,CAAC,OAAO,CAAC;gBACvB,OAAO,EAAE,CAAC,OAAO,CAAC;aACnB;;;ACXD;;;;ACAA;;;;;;"}
1
+ {"version":3,"file":"sd-angular-core-badge.js","sources":["../../../../projects/sd-core/badge/src/lib/badge.component.ts","../../../../projects/sd-core/badge/src/lib/badge.module.ts","../../../../projects/sd-core/badge/src/public-api.ts","../../../../projects/sd-core/badge/sd-angular-core-badge.ts"],"names":[],"mappings":";;;;;MAUa,OAAO;AACpB,IAPA;AACG,QAMD,UAAK,GAA6B,SAAS,CAAC;AAC9C,QAAW,SAAI,GAAgC,QA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AE,CAAC,YAAY,EAAE,aAAa,EAAE,gBAAgB,CAAC;AAC1D,gBAAE,YAAY,EAAE,CAAC,OAAO,CAAC;AACzB,gBAAE,OAAO,EAAE,CAAC,OAAO,CAAC;AACpB,aAAC;AACE;AAAG;ACZN;AACA;AACA;AACA;ACHA;AACA;AACA;AACA;AACA;AACU","sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\r\n\r\nexport type SdBadgeColor = 'normal' | 'primary' | 'info' | 'success' | 'warning' | 'danger';\r\n\r\n@Component({\r\n selector: 'sd-badge',\r\n templateUrl: './badge.component.html',\r\n styleUrls: ['./badge.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class SdBadge {\r\n color: SdBadgeColor | 'unknown' = 'unknown';\r\n @Input() type: 'circle' | 'round' | 'icon' = 'circle';\r\n @Input('color') set _color(color: SdBadgeColor) {\r\n if (!color || !['normal', 'primary', 'info', 'success', 'warning', 'danger'].includes(color)) {\r\n this.color = 'unknown';\r\n } else {\r\n this.color = color;\r\n }\r\n };\r\n @Input() title: string;\r\n @Input() description: string;\r\n @Input() tooltip: string;\r\n\r\n icon: string = 'fiber_manual_record';\r\n @Input('icon') set _icon(val: string) {\r\n this.icon = val || 'fiber_manual_record';\r\n };\r\n\r\n @Input() size: 'xs' | 'sm' | 'md' | 'lg' = 'sm';\r\n @Output() sdClick = new EventEmitter();\r\n onClick = (event: Event) => {\r\n this.sdClick.observers.length\r\n this.sdClick.emit(event);\r\n }\r\n}\r\n","import { NgModule } from \"@angular/core\";\r\nimport { CommonModule } from \"@angular/common\";\r\nimport { MatIconModule } from \"@angular/material/icon\";\r\n\r\nimport { SdBadge } from \"./badge.component\";\r\nimport { MatTooltipModule } from \"@angular/material/tooltip\";\r\n\r\n@NgModule({\r\n imports: [CommonModule, MatIconModule, MatTooltipModule],\r\n declarations: [SdBadge],\r\n exports: [SdBadge],\r\n})\r\nexport class SdBadgeModule {}\r\n","/*\r\n * Public API Surface of superdev-angular-core\r\n */\r\n\r\nexport { SdBadgeModule } from \"./lib/badge.module\";\r\nexport * from \"./lib/badge.component\";\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sd-angular-core-badge.js","sources":["../../../../projects/sd-core/badge/src/lib/badge.component.ts","../../../../projects/sd-core/badge/src/lib/badge.module.ts","../../../../projects/sd-core/badge/src/public-api.ts","../../../../projects/sd-core/badge/sd-angular-core-badge.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\r\n\r\nexport type SdBadgeColor = 'normal' | 'primary' | 'info' | 'success' | 'warning' | 'danger';\r\n\r\n@Component({\r\n selector: 'sd-badge',\r\n templateUrl: './badge.component.html',\r\n styleUrls: ['./badge.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class SdBadge {\r\n color: SdBadgeColor | 'unknown' = 'unknown';\r\n @Input() type: 'circle' | 'round' | 'icon' = 'circle';\r\n @Input('color') set _color(color: SdBadgeColor) {\r\n if (!color || !['normal', 'primary', 'info', 'success', 'warning', 'danger'].includes(color)) {\r\n this.color = 'unknown';\r\n } else {\r\n this.color = color;\r\n }\r\n };\r\n @Input() title: string;\r\n @Input() description: string;\r\n @Input() tooltip: string;\r\n\r\n icon: string = 'fiber_manual_record';\r\n @Input('icon') set _icon(val: string) {\r\n this.icon = val || 'fiber_manual_record';\r\n };\r\n\r\n @Input() size: 'xs' | 'sm' | 'md' | 'lg' = 'sm';\r\n @Output() sdClick = new EventEmitter();\r\n onClick = (event: Event) => {\r\n this.sdClick.observers.length\r\n this.sdClick.emit(event);\r\n }\r\n}\r\n","import { NgModule } from \"@angular/core\";\r\nimport { CommonModule } from \"@angular/common\";\r\nimport { MatIconModule } from \"@angular/material/icon\";\r\n\r\nimport { SdBadge } from \"./badge.component\";\r\nimport { MatTooltipModule } from \"@angular/material/tooltip\";\r\n\r\n@NgModule({\r\n imports: [CommonModule, MatIconModule, MatTooltipModule],\r\n declarations: [SdBadge],\r\n exports: [SdBadge],\r\n})\r\nexport class SdBadgeModule {}\r\n","/*\r\n * Public API Surface of superdev-angular-core\r\n */\r\n\r\nexport { SdBadgeModule } from \"./lib/badge.module\";\r\nexport * from \"./lib/badge.component\";\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAUa,OAAO;IANpB;QAOE,UAAK,GAA6B,SAAS,CAAC;QACnC,SAAI,GAAgC,QAAQ,CAAC;QAYtD,SAAI,GAAW,qBAAqB,CAAC;QAK5B,SAAI,GAA8B,IAAI,CAAC;QACtC,YAAO,GAAG,IAAI,YAAY,EAAE,CAAC;QACvC,YAAO,GAAG,CAAC,KAAY;YACrB,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,MAAM,CAAA;YAC7B,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;SAC1B,CAAA;KACF;IAtBC,IAAoB,MAAM,CAAC,KAAmB;QAC5C,IAAI,CAAC,KAAK,IAAI,CAAC,CAAC,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE;YAC5F,IAAI,CAAC,KAAK,GAAG,SAAS,CAAC;SACxB;aAAM;YACL,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;SACpB;KACF;;IAMD,IAAmB,KAAK,CAAC,GAAW;QAClC,IAAI,CAAC,IAAI,GAAG,GAAG,IAAI,qBAAqB,CAAC;KAC1C;;;;YAvBF,SAAS,SAAC;gBACT,QAAQ,EAAE,UAAU;gBACpB,uzDAAqC;gBAErC,eAAe,EAAE,uBAAuB,CAAC,MAAM;;aAChD;;;mBAGE,KAAK;qBACL,KAAK,SAAC,OAAO;oBAOb,KAAK;0BACL,KAAK;sBACL,KAAK;oBAGL,KAAK,SAAC,MAAM;mBAIZ,KAAK;sBACL,MAAM;;;MClBI,aAAa;;;YALzB,QAAQ,SAAC;gBACR,OAAO,EAAE,CAAC,YAAY,EAAE,aAAa,EAAE,gBAAgB,CAAC;gBACxD,YAAY,EAAE,CAAC,OAAO,CAAC;gBACvB,OAAO,EAAE,CAAC,OAAO,CAAC;aACnB;;;ACXD;;;;ACAA;;;;;;"}
@@ -112,4 +112,5 @@ SdButtonModule.decorators = [
112
112
  */
113
113
 
114
114
  export { SdButton, SdButtonModule };
115
- //# sourceMappingURL=sd-angular-core-button.js.map
115
+
116
+ //# sourceMappingURL=sd-angular-core-button.js.map
@@ -0,0 +1,115 @@
1
+ import { EventEmitter, Component, ChangeDetectionStrategy, ChangeDetectorRef, ViewChild, Input, Output, NgModule } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { __classPrivateFieldGet, __classPrivateFieldSet } from 'tslib';
4
+ import { Subscription, fromEvent } from 'rxjs';
5
+ import { debounceTime } from 'rxjs/operators';
6
+ import { MatIconModule } from '@angular/material/icon';
7
+ import { MatButtonModule } from '@angular/material/button';
8
+ import { MatTooltipModule } from '@angular/material/tooltip';
9
+ import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
10
+
11
+ var _disabled, _initialized, _subscription, _onChanges;
12
+ class SdButton {
13
+ constructor(ref) {
14
+ this.ref = ref;
15
+ _disabled.set(this, false);
16
+ _initialized.set(this, false);
17
+ this.isDisabled = false;
18
+ this.type = 'light';
19
+ this.color = 'secondary';
20
+ this.iconSuffix = false;
21
+ this.fontSet = 'material-icons';
22
+ this.loading = false;
23
+ this.action = new EventEmitter();
24
+ _subscription.set(this, new Subscription());
25
+ _onChanges.set(this, () => {
26
+ this.isDisabled = __classPrivateFieldGet(this, _disabled);
27
+ this.ref.detectChanges();
28
+ });
29
+ this.onClick = ($event) => {
30
+ if (this.loading) {
31
+ return;
32
+ }
33
+ this.action.emit($event);
34
+ };
35
+ }
36
+ set disabled(value) {
37
+ __classPrivateFieldSet(this, _disabled, value || false);
38
+ if (__classPrivateFieldGet(this, _initialized)) {
39
+ __classPrivateFieldGet(this, _onChanges).call(this);
40
+ }
41
+ }
42
+ ngOnInit() {
43
+ }
44
+ ngAfterViewInit() {
45
+ __classPrivateFieldGet(this, _onChanges).call(this);
46
+ __classPrivateFieldGet(this, _subscription).add(fromEvent(this.button._elementRef.nativeElement, 'click').pipe(debounceTime(200)).subscribe($event => {
47
+ if (this.loading) {
48
+ return;
49
+ }
50
+ this.action.emit($event);
51
+ }));
52
+ __classPrivateFieldSet(this, _initialized, true);
53
+ }
54
+ ngOnDestroy() {
55
+ __classPrivateFieldGet(this, _subscription).unsubscribe();
56
+ }
57
+ }
58
+ _disabled = new WeakMap(), _initialized = new WeakMap(), _subscription = new WeakMap(), _onChanges = new WeakMap();
59
+ SdButton.decorators = [
60
+ { type: Component, args: [{
61
+ selector: 'sd-button',
62
+ template: "<button *ngIf=\"type === 'fill'\" [ngStyle]=\"{'width':width}\" class=\"c-button c-fill\" [class.c-square]=\"icon && !title\"\r\n [ngClass]=\"{'c-sm': size === 'sm', 'c-lg': size === 'lg'}\" type=\"button\" [color]=\"color\" [disabled]=\"isDisabled\"\r\n matTooltipPosition=\"above\" [matTooltip]=\"tooltip\" mat-flat-button #button>\r\n <ng-container *ngTemplateOutlet=\"buttonContent\"></ng-container>\r\n</button>\r\n<button *ngIf=\"type === 'light'\" [ngStyle]=\"{'width':width}\" class=\"c-button c-light\" [class.c-square]=\"icon && !title\"\r\n [ngClass]=\"{'c-sm': size === 'sm', 'c-lg': size === 'lg'}\" type=\"button\" [color]=\"color\" [disabled]=\"isDisabled\"\r\n matTooltipPosition=\"above\" [matTooltip]=\"tooltip\" mat-flat-button #button>\r\n <ng-container *ngTemplateOutlet=\"buttonContent\"></ng-container>\r\n</button>\r\n<button *ngIf=\"type === 'outline'\" [ngStyle]=\"{'width':width}\" class=\"c-button c-outline\"\r\n [class.c-square]=\"icon && !title\" [ngClass]=\"{'c-sm': size === 'sm', 'c-lg': size === 'lg'}\" type=\"button\"\r\n [color]=\"color\" [disabled]=\"isDisabled\" matTooltipPosition=\"above\" [matTooltip]=\"tooltip\" mat-stroked-button #button>\r\n <ng-container *ngTemplateOutlet=\"buttonContent\"></ng-container>\r\n</button>\r\n<button *ngIf=\"type === 'link'\" [ngStyle]=\"{'width':width}\" class=\"c-button c-link\" [class.c-square]=\"icon && !title\"\r\n [ngClass]=\"{'c-sm': size === 'sm', 'c-lg': size === 'lg'}\" type=\"button\" [color]=\"color\" [disabled]=\"isDisabled\"\r\n matTooltipPosition=\"above\" [matTooltip]=\"tooltip\" mat-button #button>\r\n <ng-container *ngTemplateOutlet=\"buttonContent\"></ng-container>\r\n</button>\r\n<ng-template #buttonContent>\r\n <ng-container *ngIf=\"title\">\r\n <ng-container *ngIf=\"!iconSuffix\">\r\n <mat-spinner *ngIf=\"loading\" strokeWidth=\"2\" mode=\"indeterminate\" diameter=\"18\" value=\"100\"\r\n class=\"d-inline-block\"></mat-spinner>\r\n <mat-icon *ngIf=\"!loading && icon\" [fontSet]=\"fontSet\">{{icon}}</mat-icon>\r\n </ng-container>\r\n <span class=\"d-inline\" [ngClass]=\"{'ml-8': icon && !iconSuffix, 'mr-8': icon && iconSuffix}\">{{title}}</span>\r\n <mat-icon *ngIf=\"iconSuffix && icon\" [fontSet]=\"fontSet\">{{icon}}</mat-icon>\r\n </ng-container>\r\n <ng-container *ngIf=\"!title\">\r\n <mat-icon [fontSet]=\"fontSet\">{{icon}}</mat-icon>\r\n </ng-container>\r\n</ng-template>",
63
+ changeDetection: ChangeDetectionStrategy.OnPush,
64
+ styles: [".text-black400{color:#757575}:host ::ng-deep button.c-button{font-size:16px;height:40px;line-height:20px;min-width:auto;padding:2px 16px!important}:host ::ng-deep button.c-button .mat-button-wrapper{align-items:center;display:flex;justify-content:center}:host ::ng-deep button.c-button.mat-button-disabled{background-color:#e9e9e9!important;color:#a6a6a6!important}:host ::ng-deep button.c-button.c-square{min-width:auto!important;padding:0!important;width:40px!important}:host ::ng-deep button.c-button.c-sm{font-size:14px!important;font-weight:400;height:32px;line-height:20px!important;padding:2px 16px!important}:host ::ng-deep button.c-button.c-sm mat-icon{font-size:16px!important;height:16px!important;width:16px!important}:host ::ng-deep button.c-button.c-sm.c-square{width:32px!important}:host ::ng-deep button.c-button.c-lg{font-size:16px!important;height:48px;line-height:20px!important;padding:2px 16px!important}:host ::ng-deep button.c-button.c-lg.c-square{width:48px!important}:host ::ng-deep button.c-button:focus{outline:none}:host ::ng-deep button.c-button.c-fill.mat-flat-button.mat-info,:host ::ng-deep button.c-button.c-fill.mat-flat-button.mat-primary{background-color:#2962ff;color:#fff}:host ::ng-deep button.c-button.c-fill.mat-flat-button.mat-success{background-color:#4caf50;color:#fff}:host ::ng-deep button.c-button.c-fill.mat-flat-button.mat-warning{background-color:#ff9600;color:#fff}:host ::ng-deep button.c-button.c-fill.mat-flat-button.mat-danger{background-color:#f82c13;color:#fff}:host ::ng-deep button.c-button.c-fill.mat-flat-button.mat-secondary{background-color:#212121;color:#fff}:host ::ng-deep button.c-button.c-light.mat-flat-button.mat-info,:host ::ng-deep button.c-button.c-light.mat-flat-button.mat-primary{background-color:#e7e9ff;color:#2962ff}:host ::ng-deep button.c-button.c-light.mat-flat-button.mat-success{background-color:#dbefdc;color:#4caf50}:host ::ng-deep button.c-button.c-light.mat-flat-button.mat-warning{background-color:#ffeacc;color:#ff9600}:host ::ng-deep button.c-button.c-light.mat-flat-button.mat-danger{background-color:#fed5d0;color:#f82c13}:host ::ng-deep button.c-button.c-light.mat-flat-button.mat-secondary{background-color:#e9e9e9;color:#212121}:host ::ng-deep button.c-button.c-outline.mat-stroked-button{border-color:#d3d3d3}:host ::ng-deep button.c-button.c-outline.mat-stroked-button.mat-info,:host ::ng-deep button.c-button.c-outline.mat-stroked-button.mat-primary{color:#2962ff}:host ::ng-deep button.c-button.c-outline.mat-stroked-button.mat-success{color:#4caf50}:host ::ng-deep button.c-button.c-outline.mat-stroked-button.mat-warning{color:#ff9600}:host ::ng-deep button.c-button.c-outline.mat-stroked-button.mat-danger{color:#f82c13}:host ::ng-deep button.c-button.c-outline.mat-stroked-button.mat-secondary{color:#212121}:host ::ng-deep button.c-button.c-outline.mat-stroked-button.mat-button-disabled{background:transparent!important}:host ::ng-deep button.c-button.c-link.mat-button.mat-info,:host ::ng-deep button.c-button.c-link.mat-button.mat-primary{color:#2962ff}:host ::ng-deep button.c-button.c-link.mat-button.mat-success{color:#4caf50}:host ::ng-deep button.c-button.c-link.mat-button.mat-warning{color:#ff9600}:host ::ng-deep button.c-button.c-link.mat-button.mat-danger{color:#f82c13}:host ::ng-deep button.c-button.c-link.mat-button.mat-secondary{color:#212121}"]
65
+ },] }
66
+ ];
67
+ SdButton.ctorParameters = () => [
68
+ { type: ChangeDetectorRef }
69
+ ];
70
+ SdButton.propDecorators = {
71
+ button: [{ type: ViewChild, args: ['button',] }],
72
+ type: [{ type: Input }],
73
+ color: [{ type: Input }],
74
+ title: [{ type: Input }],
75
+ icon: [{ type: Input }],
76
+ width: [{ type: Input }],
77
+ size: [{ type: Input }],
78
+ tooltip: [{ type: Input }],
79
+ iconSuffix: [{ type: Input }],
80
+ fontSet: [{ type: Input }],
81
+ disabled: [{ type: Input }],
82
+ loading: [{ type: Input }],
83
+ action: [{ type: Output }]
84
+ };
85
+
86
+ class SdButtonModule {
87
+ }
88
+ SdButtonModule.decorators = [
89
+ { type: NgModule, args: [{
90
+ imports: [
91
+ CommonModule,
92
+ MatIconModule,
93
+ MatButtonModule,
94
+ MatProgressSpinnerModule,
95
+ MatTooltipModule
96
+ ],
97
+ declarations: [
98
+ SdButton
99
+ ],
100
+ exports: [
101
+ SdButton
102
+ ]
103
+ },] }
104
+ ];
105
+
106
+ /*
107
+ * Public API Surface of superdev-angular-core
108
+ */
109
+
110
+ /**
111
+ * Generated bundle index. Do not edit.
112
+ */
113
+
114
+ export { SdButton, SdButtonModule };
115
+ //# sourceMappingURL=sd-angular-core-button.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sd-angular-core-button.js","sources":["../../../../projects/sd-core/button/src/lib/button.component.ts","../../../../projects/sd-core/button/src/lib/button.module.ts","../../../../projects/sd-core/button/src/public-api.ts","../../../../projects/sd-core/button/sd-angular-core-button.ts"],"sourcesContent":["import {\r\n Component,\r\n Input,\r\n Output,\r\n EventEmitter,\r\n ChangeDetectorRef,\r\n OnInit,\r\n AfterViewInit,\r\n ViewChild,\r\n ElementRef,\r\n ChangeDetectionStrategy,\r\n} from '@angular/core';\r\nimport { Subscription, fromEvent } from 'rxjs';\r\nimport { debounceTime } from 'rxjs/operators';\r\nimport { MatButton } from '@angular/material/button';\r\n\r\n@Component({\r\n selector: 'sd-button',\r\n templateUrl: './button.component.html',\r\n styleUrls: ['./button.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\n\r\nexport class SdButton implements OnInit, AfterViewInit {\r\n @ViewChild('button') button: MatButton;\r\n #disabled = false;\r\n #initialized = false;\r\n isDisabled = false;\r\n @Input() type: 'fill' | 'light' | 'outline' | 'link' = 'light';\r\n @Input() color: 'primary' | 'accent' | 'warn' | 'info' | 'success' | 'warning' | 'danger' | 'secondary' = 'secondary';\r\n @Input() title: string;\r\n @Input() icon: string;\r\n @Input() width: string;\r\n @Input() size: 'sm' | 'lg';\r\n @Input() tooltip: string;\r\n @Input() iconSuffix = false;\r\n @Input() fontSet: 'material-icons' |\r\n 'material-icons-outlined' |\r\n 'material-icons-round' |\r\n 'material-icons-sharp' = 'material-icons';\r\n @Input() set disabled(value: boolean) {\r\n this.#disabled = value || false;\r\n if (this.#initialized) {\r\n this.#onChanges();\r\n }\r\n }\r\n @Input() loading = false;\r\n @Output() action = new EventEmitter();\r\n #subscription = new Subscription();\r\n constructor(private ref: ChangeDetectorRef) {\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.#onChanges();\r\n this.#subscription.add(fromEvent(this.button._elementRef.nativeElement, 'click').pipe(debounceTime(200)).subscribe($event => {\r\n if (this.loading) {\r\n return;\r\n }\r\n this.action.emit($event);\r\n }));\r\n this.#initialized = true;\r\n }\r\n\r\n ngOnDestroy() {\r\n this.#subscription.unsubscribe();\r\n }\r\n\r\n #onChanges = () => {\r\n this.isDisabled = this.#disabled;\r\n this.ref.detectChanges();\r\n }\r\n\r\n onClick = ($event: any) => {\r\n if (this.loading) {\r\n return;\r\n }\r\n this.action.emit($event);\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { SdButton } from './button.component';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n MatIconModule,\r\n MatButtonModule,\r\n MatProgressSpinnerModule,\r\n MatTooltipModule\r\n ],\r\n declarations: [\r\n SdButton\r\n ],\r\n exports: [\r\n SdButton\r\n ]\r\n})\r\nexport class SdButtonModule { }\r\n","/*\r\n * Public API Surface of superdev-angular-core\r\n */\r\n\r\nexport { SdButtonModule } from './lib/button.module';\r\nexport * from './lib/button.component';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;MAuBa,QAAQ;IA0BnB,YAAoB,GAAsB;QAAtB,QAAG,GAAH,GAAG,CAAmB;QAxB1C,oBAAY,KAAK,EAAC;QAClB,uBAAe,KAAK,EAAC;QACrB,eAAU,GAAG,KAAK,CAAC;QACV,SAAI,GAA0C,OAAO,CAAC;QACtD,UAAK,GAA4F,WAAW,CAAC;QAM7G,eAAU,GAAG,KAAK,CAAC;QACnB,YAAO,GAGW,gBAAgB,CAAC;QAOnC,YAAO,GAAG,KAAK,CAAC;QACf,WAAM,GAAG,IAAI,YAAY,EAAE,CAAC;QACtC,wBAAgB,IAAI,YAAY,EAAE,EAAC;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AAO,EAAE;oBACP,YAAY;oBACZ,aAAa;oBACb,eAAe;oBACf,wBAAwB;oBACxB,gBAAgB;iBACjB;gBACD,YAAY,EAAE;oBACZ,QAAQ;iBACT;gBACD,OAAO,EAAE;oBACP,QAAQ;iBACT;aACF;;;ACtBD;;;;ACAA;;;;;;"}
1
+ {"version":3,"file":"sd-angular-core-button.js","sources":["../../../../projects/sd-core/button/src/lib/button.component.ts","../../../../projects/sd-core/button/src/lib/button.module.ts","../../../../projects/sd-core/button/src/public-api.ts","../../../../projects/sd-core/button/sd-angular-core-button.ts"],"names":[],"mappings":";;;;;;;;;;;MAuBa,QAAQ;AAAG,IA0BtB,YAAoB,GAAsB;AAC5C,QADsB,QAAG,GAAH,GAAG,CAAmB;AAAC,QAxB3C,oBAAY,KAAK,EAAC;AACpB,QAAE,uBAAe,KAAK,EAAC;AACvB,QAAE,eAAU,GAAG,KAAK,CAAC;AACrB,QAAW,SAAI,GAA0C,OAAO,CAAC;AACjE,QAAW,UAAK,GAA4F,WAAW,CAAC;AACxH,QAKW,eAAU,GAAG,KAAK,CAAC;AAC9B,QAAW,YAAO,GAGW,gBAAgB,CAAC;AAC9C,QAMW,YAAO,GAAG,KAAK,CAAC;AAC3B,QAAY,WAAM,GAAG,IAAI,YAAY,EAAE,CAAC;AACxC,QAAE,wBAAgB,IAAI,YAAY,EAAE,EAAC;AACrC,QAqBE,qBAAa;AACf,YAAI,IAAI,CAAC,UAAU,0CAAiB,CAAC;AACrC,YAAI,IAAI,CAAC,GAAG,CAAC,aAAa,EAAE,CAAC;AAC7B,SAAG,EAAA;AACH,QACE,YAAO,GAAG,CAAC,MAAW;AACxB,YAAI,IAAI,IAAI,CAAC,OAAO,EAAE;AACtB,gBAAM,OAAO;AACb,aAAK;AACL,YAAI,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;AAC7B,SAAG,CAAA;AACH,KA/BG;AACH,IAXE,IAAa,QAAQ,CAAC,KAAc;AACtC,QAAI,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AAO,EAAE;AACX,oBAAI,YAAY;AAChB,oBAAI,aAAa;AACjB,oBAAI,eAAe;AACnB,oBAAI,wBAAwB;AAC5B,oBAAI,gBAAgB;AACpB,iBAAG;AACH,gBAAE,YAAY,EAAE;AAChB,oBAAI,QAAQ;AACZ,iBAAG;AACH,gBAAE,OAAO,EAAE;AACX,oBAAI,QAAQ;AACZ,iBAAG;AACH,aAAC;AACE;AAAG;ACvBN;AACA;AACA;AACA;ACHA;AACA;AACA;AACA;AACA;AACY","sourcesContent":["import {\r\n Component,\r\n Input,\r\n Output,\r\n EventEmitter,\r\n ChangeDetectorRef,\r\n OnInit,\r\n AfterViewInit,\r\n ViewChild,\r\n ElementRef,\r\n ChangeDetectionStrategy,\r\n} from '@angular/core';\r\nimport { Subscription, fromEvent } from 'rxjs';\r\nimport { debounceTime } from 'rxjs/operators';\r\nimport { MatButton } from '@angular/material/button';\r\n\r\n@Component({\r\n selector: 'sd-button',\r\n templateUrl: './button.component.html',\r\n styleUrls: ['./button.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\n\r\nexport class SdButton implements OnInit, AfterViewInit {\r\n @ViewChild('button') button: MatButton;\r\n #disabled = false;\r\n #initialized = false;\r\n isDisabled = false;\r\n @Input() type: 'fill' | 'light' | 'outline' | 'link' = 'light';\r\n @Input() color: 'primary' | 'accent' | 'warn' | 'info' | 'success' | 'warning' | 'danger' | 'secondary' = 'secondary';\r\n @Input() title: string;\r\n @Input() icon: string;\r\n @Input() width: string;\r\n @Input() size: 'sm' | 'lg';\r\n @Input() tooltip: string;\r\n @Input() iconSuffix = false;\r\n @Input() fontSet: 'material-icons' |\r\n 'material-icons-outlined' |\r\n 'material-icons-round' |\r\n 'material-icons-sharp' = 'material-icons';\r\n @Input() set disabled(value: boolean) {\r\n this.#disabled = value || false;\r\n if (this.#initialized) {\r\n this.#onChanges();\r\n }\r\n }\r\n @Input() loading = false;\r\n @Output() action = new EventEmitter();\r\n #subscription = new Subscription();\r\n constructor(private ref: ChangeDetectorRef) {\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.#onChanges();\r\n this.#subscription.add(fromEvent(this.button._elementRef.nativeElement, 'click').pipe(debounceTime(200)).subscribe($event => {\r\n if (this.loading) {\r\n return;\r\n }\r\n this.action.emit($event);\r\n }));\r\n this.#initialized = true;\r\n }\r\n\r\n ngOnDestroy() {\r\n this.#subscription.unsubscribe();\r\n }\r\n\r\n #onChanges = () => {\r\n this.isDisabled = this.#disabled;\r\n this.ref.detectChanges();\r\n }\r\n\r\n onClick = ($event: any) => {\r\n if (this.loading) {\r\n return;\r\n }\r\n this.action.emit($event);\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { SdButton } from './button.component';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n MatIconModule,\r\n MatButtonModule,\r\n MatProgressSpinnerModule,\r\n MatTooltipModule\r\n ],\r\n declarations: [\r\n SdButton\r\n ],\r\n exports: [\r\n SdButton\r\n ]\r\n})\r\nexport class SdButtonModule { }\r\n","/*\r\n * Public API Surface of superdev-angular-core\r\n */\r\n\r\nexport { SdButtonModule } from './lib/button.module';\r\nexport * from './lib/button.component';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sd-angular-core-button.js","sources":["../../../../projects/sd-core/button/src/lib/button.component.ts","../../../../projects/sd-core/button/src/lib/button.module.ts","../../../../projects/sd-core/button/src/public-api.ts","../../../../projects/sd-core/button/sd-angular-core-button.ts"],"sourcesContent":["import {\r\n Component,\r\n Input,\r\n Output,\r\n EventEmitter,\r\n ChangeDetectorRef,\r\n OnInit,\r\n AfterViewInit,\r\n ViewChild,\r\n ElementRef,\r\n ChangeDetectionStrategy,\r\n} from '@angular/core';\r\nimport { Subscription, fromEvent } from 'rxjs';\r\nimport { debounceTime } from 'rxjs/operators';\r\nimport { MatButton } from '@angular/material/button';\r\n\r\n@Component({\r\n selector: 'sd-button',\r\n templateUrl: './button.component.html',\r\n styleUrls: ['./button.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\n\r\nexport class SdButton implements OnInit, AfterViewInit {\r\n @ViewChild('button') button: MatButton;\r\n #disabled = false;\r\n #initialized = false;\r\n isDisabled = false;\r\n @Input() type: 'fill' | 'light' | 'outline' | 'link' = 'light';\r\n @Input() color: 'primary' | 'accent' | 'warn' | 'info' | 'success' | 'warning' | 'danger' | 'secondary' = 'secondary';\r\n @Input() title: string;\r\n @Input() icon: string;\r\n @Input() width: string;\r\n @Input() size: 'sm' | 'lg';\r\n @Input() tooltip: string;\r\n @Input() iconSuffix = false;\r\n @Input() fontSet: 'material-icons' |\r\n 'material-icons-outlined' |\r\n 'material-icons-round' |\r\n 'material-icons-sharp' = 'material-icons';\r\n @Input() set disabled(value: boolean) {\r\n this.#disabled = value || false;\r\n if (this.#initialized) {\r\n this.#onChanges();\r\n }\r\n }\r\n @Input() loading = false;\r\n @Output() action = new EventEmitter();\r\n #subscription = new Subscription();\r\n constructor(private ref: ChangeDetectorRef) {\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.#onChanges();\r\n this.#subscription.add(fromEvent(this.button._elementRef.nativeElement, 'click').pipe(debounceTime(200)).subscribe($event => {\r\n if (this.loading) {\r\n return;\r\n }\r\n this.action.emit($event);\r\n }));\r\n this.#initialized = true;\r\n }\r\n\r\n ngOnDestroy() {\r\n this.#subscription.unsubscribe();\r\n }\r\n\r\n #onChanges = () => {\r\n this.isDisabled = this.#disabled;\r\n this.ref.detectChanges();\r\n }\r\n\r\n onClick = ($event: any) => {\r\n if (this.loading) {\r\n return;\r\n }\r\n this.action.emit($event);\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { SdButton } from './button.component';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n MatIconModule,\r\n MatButtonModule,\r\n MatProgressSpinnerModule,\r\n MatTooltipModule\r\n ],\r\n declarations: [\r\n SdButton\r\n ],\r\n exports: [\r\n SdButton\r\n ]\r\n})\r\nexport class SdButtonModule { }\r\n","/*\r\n * Public API Surface of superdev-angular-core\r\n */\r\n\r\nexport { SdButtonModule } from './lib/button.module';\r\nexport * from './lib/button.component';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;MAuBa,QAAQ;IA0BnB,YAAoB,GAAsB;QAAtB,QAAG,GAAH,GAAG,CAAmB;QAxB1C,oBAAY,KAAK,EAAC;QAClB,uBAAe,KAAK,EAAC;QACrB,eAAU,GAAG,KAAK,CAAC;QACV,SAAI,GAA0C,OAAO,CAAC;QACtD,UAAK,GAA4F,WAAW,CAAC;QAM7G,eAAU,GAAG,KAAK,CAAC;QACnB,YAAO,GAGW,gBAAgB,CAAC;QAOnC,YAAO,GAAG,KAAK,CAAC;QACf,WAAM,GAAG,IAAI,YAAY,EAAE,CAAC;QACtC,wBAAgB,IAAI,YAAY,EAAE,EAAC;QAsBnC,qBAAa;YACX,IAAI,CAAC,UAAU,0CAAiB,CAAC;YACjC,IAAI,CAAC,GAAG,CAAC,aAAa,EAAE,CAAC;SAC1B,EAAA;QAED,YAAO,GAAG,CAAC,MAAW;YACpB,IAAI,IAAI,CAAC,OAAO,EAAE;gBAChB,OAAO;aACR;YACD,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM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
257
257
 
258
258
  export { CACHE_CONFIG, SdCacheService };
259
- //# sourceMappingURL=sd-angular-core-cache.js.map
259
+
260
+ //# sourceMappingURL=sd-angular-core-cache.js.map
@@ -0,0 +1,259 @@
1
+ import '@sd-angular/core/common';
2
+ import { __classPrivateFieldGet, __awaiter } from 'tslib';
3
+ import { InjectionToken, ɵɵdefineInjectable, ɵɵinject, Injectable, Inject, Optional } from '@angular/core';
4
+ import hash from 'object-hash';
5
+ import { BehaviorSubject } from 'rxjs';
6
+ import { map, switchMap } from 'rxjs/operators';
7
+
8
+ const CACHE_CONFIG = new InjectionToken('cache.configuration');
9
+
10
+ var _cache, _subject, _get, _getServer, _set, _setServer, _has, _hasServer, _remove, _removeServer;
11
+ class SdCacheService {
12
+ constructor(configuration) {
13
+ this.configuration = configuration;
14
+ _cache.set(this, {});
15
+ _subject.set(this, {});
16
+ _get.set(this, (key, option) => {
17
+ return () => {
18
+ let cache = __classPrivateFieldGet(this, _cache)[key];
19
+ if ((option === null || option === void 0 ? void 0 : option.type) === 'session') {
20
+ try {
21
+ cache = JSON.parse(sessionStorage.getItem(key));
22
+ }
23
+ catch (_a) {
24
+ cache = undefined;
25
+ }
26
+ }
27
+ if ((option === null || option === void 0 ? void 0 : option.type) === 'local') {
28
+ try {
29
+ cache = JSON.parse(localStorage.getItem(key));
30
+ }
31
+ catch (_b) {
32
+ cache = undefined;
33
+ }
34
+ }
35
+ if (!cache) {
36
+ return option === null || option === void 0 ? void 0 : option.default;
37
+ }
38
+ if ((option === null || option === void 0 ? void 0 : option.hours) && Date.addHours(cache.createdOn, option === null || option === void 0 ? void 0 : option.hours) < new Date()) {
39
+ const remove = __classPrivateFieldGet(this, _remove).call(this, key, option);
40
+ remove();
41
+ return option === null || option === void 0 ? void 0 : option.default;
42
+ }
43
+ return JSON.parse(JSON.stringify(cache.data));
44
+ };
45
+ });
46
+ _getServer.set(this, (key, option) => {
47
+ return () => __awaiter(this, void 0, void 0, function* () {
48
+ var _a;
49
+ let cache = __classPrivateFieldGet(this, _cache)[key];
50
+ if ((_a = this.configuration) === null || _a === void 0 ? void 0 : _a.get) {
51
+ cache = yield this.configuration.get(key, option).catch(err => {
52
+ console.error(err);
53
+ return undefined;
54
+ });
55
+ }
56
+ if (!cache) {
57
+ return option === null || option === void 0 ? void 0 : option.default;
58
+ }
59
+ if ((option === null || option === void 0 ? void 0 : option.hours) && Date.addHours(cache.createdOn, option === null || option === void 0 ? void 0 : option.hours) < new Date()) {
60
+ const remove = __classPrivateFieldGet(this, _removeServer).call(this, key, option);
61
+ remove();
62
+ return option === null || option === void 0 ? void 0 : option.default;
63
+ }
64
+ return JSON.parse(JSON.stringify(cache.data));
65
+ });
66
+ });
67
+ _set.set(this, (key, option) => {
68
+ return (data) => {
69
+ data = data !== null && data !== void 0 ? data : null;
70
+ __classPrivateFieldGet(this, _cache)[key] = {
71
+ data: JSON.parse(JSON.stringify(data)),
72
+ createdOn: new Date()
73
+ };
74
+ if ((option === null || option === void 0 ? void 0 : option.type) === 'session') {
75
+ try {
76
+ sessionStorage.setItem(key, JSON.stringify(__classPrivateFieldGet(this, _cache)[key]));
77
+ }
78
+ catch (err) {
79
+ console.error(err);
80
+ }
81
+ }
82
+ if ((option === null || option === void 0 ? void 0 : option.type) === 'local') {
83
+ try {
84
+ localStorage.setItem(key, JSON.stringify(__classPrivateFieldGet(this, _cache)[key]));
85
+ }
86
+ catch (err) {
87
+ console.error(err);
88
+ }
89
+ }
90
+ __classPrivateFieldGet(this, _subject)[key].next(__classPrivateFieldGet(this, _cache)[key].data);
91
+ };
92
+ });
93
+ _setServer.set(this, (key, option) => {
94
+ return (data) => __awaiter(this, void 0, void 0, function* () {
95
+ var _a;
96
+ data = data !== null && data !== void 0 ? data : null;
97
+ __classPrivateFieldGet(this, _cache)[key] = {
98
+ data: JSON.parse(JSON.stringify(data)),
99
+ createdOn: new Date()
100
+ };
101
+ if ((_a = this.configuration) === null || _a === void 0 ? void 0 : _a.set) {
102
+ try {
103
+ yield this.configuration.set(key, __classPrivateFieldGet(this, _cache)[key], option);
104
+ }
105
+ catch (err) {
106
+ console.error(err);
107
+ }
108
+ }
109
+ __classPrivateFieldGet(this, _subject)[key].next(__classPrivateFieldGet(this, _cache)[key].data);
110
+ });
111
+ });
112
+ _has.set(this, (key, option) => {
113
+ return () => {
114
+ let cache = __classPrivateFieldGet(this, _cache)[key];
115
+ if ((option === null || option === void 0 ? void 0 : option.type) === 'session') {
116
+ try {
117
+ cache = JSON.parse(sessionStorage.getItem(key));
118
+ }
119
+ catch (_a) {
120
+ cache = undefined;
121
+ }
122
+ }
123
+ if ((option === null || option === void 0 ? void 0 : option.type) === 'local') {
124
+ try {
125
+ cache = JSON.parse(localStorage.getItem(key));
126
+ }
127
+ catch (_b) {
128
+ cache = undefined;
129
+ }
130
+ }
131
+ if (!cache) {
132
+ return false;
133
+ }
134
+ if ((option === null || option === void 0 ? void 0 : option.hours) && Date.addHours(cache.createdOn, option === null || option === void 0 ? void 0 : option.hours) < new Date()) {
135
+ return false;
136
+ }
137
+ return true;
138
+ };
139
+ });
140
+ _hasServer.set(this, (key, option) => {
141
+ return () => __awaiter(this, void 0, void 0, function* () {
142
+ var _a;
143
+ let cache = __classPrivateFieldGet(this, _cache)[key];
144
+ if ((_a = this.configuration) === null || _a === void 0 ? void 0 : _a.get) {
145
+ cache = yield this.configuration.get(key, option).catch(err => {
146
+ console.error(err);
147
+ return undefined;
148
+ });
149
+ }
150
+ if (!cache) {
151
+ return false;
152
+ }
153
+ if ((option === null || option === void 0 ? void 0 : option.hours) && Date.addHours(cache.createdOn, option === null || option === void 0 ? void 0 : option.hours) < new Date()) {
154
+ return false;
155
+ }
156
+ return true;
157
+ });
158
+ });
159
+ _remove.set(this, (key, option) => {
160
+ return () => {
161
+ __classPrivateFieldGet(this, _cache)[key] = undefined;
162
+ if ((option === null || option === void 0 ? void 0 : option.type) === 'session') {
163
+ sessionStorage.removeItem(key);
164
+ }
165
+ if ((option === null || option === void 0 ? void 0 : option.type) === 'local') {
166
+ localStorage.removeItem(key);
167
+ }
168
+ __classPrivateFieldGet(this, _subject)[key].next(undefined);
169
+ };
170
+ });
171
+ _removeServer.set(this, (key, option) => {
172
+ return () => __awaiter(this, void 0, void 0, function* () {
173
+ var _a;
174
+ __classPrivateFieldGet(this, _cache)[key] = undefined;
175
+ if ((_a = this.configuration) === null || _a === void 0 ? void 0 : _a.remove) {
176
+ yield this.configuration.remove(key, option).catch(err => {
177
+ console.error(err);
178
+ });
179
+ }
180
+ __classPrivateFieldGet(this, _subject)[key].next(undefined);
181
+ });
182
+ });
183
+ }
184
+ create(key, option) {
185
+ if (!key) {
186
+ throw new Error('Key is required');
187
+ }
188
+ let hashKey = null;
189
+ if (typeof (key) === 'string') {
190
+ hashKey = key;
191
+ }
192
+ else if (typeof (key) === 'object') {
193
+ hashKey = hash(key);
194
+ }
195
+ else {
196
+ throw new Error('Invalid key');
197
+ }
198
+ if (!__classPrivateFieldGet(this, _subject)[hashKey]) {
199
+ __classPrivateFieldGet(this, _subject)[hashKey] = new BehaviorSubject(option === null || option === void 0 ? void 0 : option.default);
200
+ }
201
+ const get = __classPrivateFieldGet(this, _get).call(this, hashKey, option);
202
+ const set = __classPrivateFieldGet(this, _set).call(this, hashKey, option);
203
+ const has = __classPrivateFieldGet(this, _has).call(this, hashKey, option);
204
+ const remove = __classPrivateFieldGet(this, _remove).call(this, hashKey, option);
205
+ return {
206
+ get,
207
+ set,
208
+ has,
209
+ remove,
210
+ observer: __classPrivateFieldGet(this, _subject)[hashKey].pipe(map(get))
211
+ };
212
+ }
213
+ createServer(key, option) {
214
+ if (!key) {
215
+ throw new Error('Key is required');
216
+ }
217
+ let hashKey = null;
218
+ if (typeof (key) === 'string') {
219
+ hashKey = key;
220
+ }
221
+ else if (typeof (key) === 'object') {
222
+ hashKey = hash(key);
223
+ }
224
+ else {
225
+ throw new Error('Invalid key');
226
+ }
227
+ if (!__classPrivateFieldGet(this, _subject)[hashKey]) {
228
+ __classPrivateFieldGet(this, _subject)[hashKey] = new BehaviorSubject(option === null || option === void 0 ? void 0 : option.default);
229
+ }
230
+ const get = __classPrivateFieldGet(this, _getServer).call(this, hashKey, option);
231
+ const set = __classPrivateFieldGet(this, _setServer).call(this, hashKey, option);
232
+ const has = __classPrivateFieldGet(this, _hasServer).call(this, hashKey, option);
233
+ const remove = __classPrivateFieldGet(this, _removeServer).call(this, hashKey, option);
234
+ return {
235
+ get,
236
+ set,
237
+ has,
238
+ remove,
239
+ observer: __classPrivateFieldGet(this, _subject)[hashKey].pipe(switchMap(get))
240
+ };
241
+ }
242
+ }
243
+ _cache = new WeakMap(), _subject = new WeakMap(), _get = new WeakMap(), _getServer = new WeakMap(), _set = new WeakMap(), _setServer = new WeakMap(), _has = new WeakMap(), _hasServer = new WeakMap(), _remove = new WeakMap(), _removeServer = new WeakMap();
244
+ SdCacheService.ɵprov = ɵɵdefineInjectable({ factory: function SdCacheService_Factory() { return new SdCacheService(ɵɵinject(CACHE_CONFIG, 8)); }, token: SdCacheService, providedIn: "root" });
245
+ SdCacheService.decorators = [
246
+ { type: Injectable, args: [{
247
+ providedIn: 'root'
248
+ },] }
249
+ ];
250
+ SdCacheService.ctorParameters = () => [
251
+ { type: undefined, decorators: [{ type: Inject, args: [CACHE_CONFIG,] }, { type: Optional }] }
252
+ ];
253
+
254
+ /**
255
+ * Generated bundle index. Do not edit.
256
+ */
257
+
258
+ export { CACHE_CONFIG, SdCacheService };
259
+ //# sourceMappingURL=sd-angular-core-cache.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sd-angular-core-cache.js","sources":["../../../../projects/sd-core/cache/src/lib/cache.model.ts","../../../../projects/sd-core/cache/src/lib/cache.service.ts","../../../../projects/sd-core/cache/sd-angular-core-cache.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\nexport interface SdCacheOption<T = any> {\r\n type?: 'default' | 'session' | 'local';\r\n hours?: number;\r\n default?: T;\r\n args?: {\r\n [key: string]: any\r\n };\r\n}\r\n\r\nexport interface SdCacheServerOption<T = any> {\r\n hours?: number;\r\n default?: T;\r\n args?: {\r\n [key: string]: any\r\n };\r\n}\r\n\r\nexport interface SdCache<T = any> {\r\n get: () => T;\r\n set: (data: T) => void;\r\n has: () => boolean;\r\n remove: () => void;\r\n observer: Observable<T>;\r\n}\r\n\r\nexport interface SdCacheServer<T = any> {\r\n get: () => Promise<T>;\r\n set: (data: T) => Promise<void>;\r\n has: () => Promise<boolean>;\r\n remove: () => Promise<void>;\r\n observer: Observable<T>;\r\n}\r\n\r\nexport interface ICacheConfiguration {\r\n convertKey?: (key: string) => string;\r\n set?: (key: string, value: { data: any, createdOn: Date }, option?: SdCacheServerOption) => Promise<void>;\r\n get?: (key: string, option?: SdCacheServerOption) => Promise<{ data: any, createdOn: Date }>;\r\n remove?: (key: string, option?: SdCacheServerOption) => Promise<void>;\r\n}\r\n\r\nexport const CACHE_CONFIG = new InjectionToken<ICacheConfiguration>('cache.configuration');\r\n","import { Inject, Injectable, Optional } from '@angular/core';\r\nimport hash from 'object-hash';\r\nimport { CACHE_CONFIG, ICacheConfiguration, SdCache, SdCacheOption, SdCacheServer, SdCacheServerOption } from './cache.model';\r\nimport { BehaviorSubject } from 'rxjs';\r\nimport { map, switchMap } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class SdCacheService {\r\n #cache: {\r\n [key: string]: {\r\n data: any,\r\n createdOn: Date\r\n }\r\n } = {};\r\n #subject: {\r\n [key: string]: BehaviorSubject<any>;\r\n } = {};\r\n constructor(@Inject(CACHE_CONFIG) @Optional() private configuration: ICacheConfiguration) {\r\n }\r\n\r\n create<T = any>(key: string | object, option?: SdCacheOption<T>): SdCache<T> {\r\n if (!key) {\r\n throw new Error('Key is required');\r\n }\r\n let hashKey: string = null;\r\n if (typeof (key) === 'string') {\r\n hashKey = key;\r\n } else if (typeof (key) === 'object') {\r\n hashKey = hash(key);\r\n } else {\r\n throw new Error('Invalid key');\r\n }\r\n if (!this.#subject[hashKey]) {\r\n this.#subject[hashKey] = new BehaviorSubject<any>(option?.default);\r\n }\r\n const get = this.#get<T>(hashKey, option);\r\n const set = this.#set<T>(hashKey, option);\r\n const has = this.#has(hashKey, option);\r\n const remove = this.#remove(hashKey, option);\r\n return {\r\n get,\r\n set,\r\n has,\r\n remove,\r\n observer: this.#subject[hashKey].pipe(map(get))\r\n };\r\n }\r\n\r\n createServer<T = any>(key: string | object, option?: SdCacheOption<T>): SdCacheServer<T> {\r\n if (!key) {\r\n throw new Error('Key is required');\r\n }\r\n let hashKey: string = null;\r\n if (typeof (key) === 'string') {\r\n hashKey = key;\r\n } else if (typeof (key) === 'object') {\r\n hashKey = hash(key);\r\n } else {\r\n throw new Error('Invalid key');\r\n }\r\n if (!this.#subject[hashKey]) {\r\n this.#subject[hashKey] = new BehaviorSubject<any>(option?.default);\r\n }\r\n const get = this.#getServer<T>(hashKey, option);\r\n const set = this.#setServer<T>(hashKey, option);\r\n const has = this.#hasServer(hashKey, option);\r\n const remove = this.#removeServer(hashKey, option);\r\n return {\r\n get,\r\n set,\r\n has,\r\n remove,\r\n observer: this.#subject[hashKey].pipe(switchMap(get))\r\n };\r\n }\r\n\r\n #get = <T = any>(key: string, option?: SdCacheOption): (() => T) => {\r\n return () => {\r\n let cache = this.#cache[key];\r\n if (option?.type === 'session') {\r\n try {\r\n cache = JSON.parse(sessionStorage.getItem(key));\r\n } catch {\r\n cache = undefined;\r\n }\r\n }\r\n if (option?.type === 'local') {\r\n try {\r\n cache = JSON.parse(localStorage.getItem(key));\r\n } catch {\r\n cache = undefined;\r\n }\r\n }\r\n if (!cache) {\r\n return option?.default;\r\n }\r\n if (option?.hours && Date.addHours(cache.createdOn, option?.hours) < new Date()) {\r\n const remove = this.#remove(key, option);\r\n remove();\r\n return option?.default;\r\n }\r\n return JSON.parse(JSON.stringify(cache.data));\r\n };\r\n }\r\n\r\n #getServer = <T = any>(key: string, option?: SdCacheServerOption): (() => Promise<T>) => {\r\n return async () => {\r\n let cache = this.#cache[key];\r\n if (this.configuration?.get) {\r\n cache = await this.configuration.get(key, option).catch(err => {\r\n console.error(err);\r\n return undefined;\r\n });\r\n }\r\n if (!cache) {\r\n return option?.default;\r\n }\r\n if (option?.hours && Date.addHours(cache.createdOn, option?.hours) < new Date()) {\r\n const remove = this.#removeServer(key, option);\r\n remove();\r\n return option?.default;\r\n }\r\n return JSON.parse(JSON.stringify(cache.data));\r\n };\r\n }\r\n\r\n #set = <T = any>(key: string, option?: SdCacheOption): ((data: T) => void) => {\r\n return (data: T) => {\r\n data = data ?? null;\r\n this.#cache[key] = {\r\n data: JSON.parse(JSON.stringify(data)),\r\n createdOn: new Date()\r\n };\r\n if (option?.type === 'session') {\r\n try {\r\n sessionStorage.setItem(key, JSON.stringify(this.#cache[key]));\r\n } catch (err) {\r\n console.error(err);\r\n }\r\n }\r\n if (option?.type === 'local') {\r\n try {\r\n localStorage.setItem(key, JSON.stringify(this.#cache[key]));\r\n } catch (err) {\r\n console.error(err);\r\n }\r\n }\r\n this.#subject[key].next(this.#cache[key].data);\r\n };\r\n }\r\n\r\n #setServer = <T = any>(key: string, option?: SdCacheServerOption): ((data: T) => Promise<void>) => {\r\n return async (data: T) => {\r\n data = data ?? null;\r\n this.#cache[key] = {\r\n data: JSON.parse(JSON.stringify(data)),\r\n createdOn: new Date()\r\n };\r\n if (this.configuration?.set) {\r\n try {\r\n await this.configuration.set(key, this.#cache[key], option);\r\n } catch (err) {\r\n console.error(err);\r\n }\r\n }\r\n this.#subject[key].next(this.#cache[key].data);\r\n };\r\n }\r\n\r\n #has = (key: string, option?: SdCacheOption): (() => boolean) => {\r\n return () => {\r\n let cache = this.#cache[key];\r\n\r\n if (option?.type === 'session') {\r\n try {\r\n cache = JSON.parse(sessionStorage.getItem(key));\r\n } catch {\r\n cache = undefined;\r\n }\r\n }\r\n if (option?.type === 'local') {\r\n try {\r\n cache = JSON.parse(localStorage.getItem(key));\r\n } catch {\r\n cache = undefined;\r\n }\r\n }\r\n if (!cache) {\r\n return false;\r\n }\r\n if (option?.hours && Date.addHours(cache.createdOn, option?.hours) < new Date()) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n }\r\n\r\n #hasServer = (key: string, option?: SdCacheServerOption): (() => Promise<boolean>) => {\r\n return async () => {\r\n let cache = this.#cache[key];\r\n if (this.configuration?.get) {\r\n cache = await this.configuration.get(key, option).catch(err => {\r\n console.error(err);\r\n return undefined;\r\n });\r\n }\r\n if (!cache) {\r\n return false;\r\n }\r\n if (option?.hours && Date.addHours(cache.createdOn, option?.hours) < new Date()) {\r\n return false;\r\n }\r\n return true;\r\n };\r\n }\r\n\r\n #remove = (key: string, option?: SdCacheOption): (() => void) => {\r\n return () => {\r\n this.#cache[key] = undefined;\r\n if (option?.type === 'session') {\r\n sessionStorage.removeItem(key);\r\n }\r\n if (option?.type === 'local') {\r\n localStorage.removeItem(key);\r\n }\r\n this.#subject[key].next(undefined);\r\n };\r\n }\r\n\r\n #removeServer = (key: string, option?: SdCacheServerOption): (() => Promise<void>) => {\r\n return async () => {\r\n this.#cache[key] = undefined;\r\n if (this.configuration?.remove) {\r\n await this.configuration.remove(key, option).catch(err => {\r\n console.error(err);\r\n });\r\n }\r\n this.#subject[key].next(undefined);\r\n };\r\n }\r\n}\r\n\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MA2Ca,YAAY,GAAG,IAAI,cAAc,CAAsB,qBAAqB;;;MClC5E,cAAc;IAUzB,YAAsD,aAAkC;QAAlC,kBAAa,GAAb,aAAa,CAAqB;QATxF,iBAKI,EAAE,EAAC;QACP,mBAEI,EAAE,EAAC;QA4DP,eAAO,CAAU,GAAW,EAAE,MAAsB;YAClD,OAAO;gBACL,IAAI,KAAK,GAAG,qCAAY,GAAG,CAAC,CAAC;gBAC7B,IAAI,CAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,IAAI,MAAK,SAAS,EAAE;oBAC9B,IA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ACf;aAAM,IAAI,QAAQ,GAAG,CAAC,KAAK,QAAQ,EAAE;YACpC,OAAO,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC;SACrB;aAAM;YACL,MAAM,IAAI,KAAK,CAAC,aAAa,CAAC,CAAC;SAChC;QACD,IAAI,CAAC,uCAAc,OAAO,CAAC,EAAE;YAC3B,uCAAc,OAAO,CAAC,GAAG,IAAI,eAAe,CAAM,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,OAAO,CAAC,CAAC;SACpE;QACD,MAAM,GAAG,GAAG,8CAAA,IAAI,EAAe,OAAO,EAAE,MAAM,CAAC,CAAC;QAChD,MAAM,GAAG,GAAG,8CAAA,IAAI,EAAe,OAAO,EAAE,MAAM,CAAC,CAAC;QAChD,MAAM,GAAG,GAAG,8CAAA,IAAI,EAAY,OAAO,EAAE,MAAM,CAAC,CAAC;QAC7C,MAAM,MAAM,GAAG,iDAAA,IAAI,EAAe,OAAO,EAAE,MAAM,CAAC,CAAC;QACnD,OAAO;YACL,GAAG;YACH,GAAG;YACH,GAAG;YACH,MAAM;YACN,QAAQ,EAAE,uCAAc,OAAO,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;SACtD,CAAC;KACH;;;;;YAtEF,UAAU,SAAC;gBACV,UAAU,EAAE,MAAM;aACnB;;;4CAWc,MAAM,SAAC,YAAY,cAAG,QAAQ;;;ACnB7C;;;;;;"}
1
+ {"version":3,"file":"sd-angular-core-cache.js","sources":["../../../../projects/sd-core/cache/src/lib/cache.model.ts","../../../../projects/sd-core/cache/src/lib/cache.service.ts","../../../../projects/sd-core/cache/sd-angular-core-cache.ts"],"names":[],"mappings":";;;;;;;MA2Ca,YAAY,GAAG,IAAI,cAAc,CAAsB,qBAAqB;AACzF;AAAC;AAAoG,MCnCxF,cAAc;AAC3B,IASE,YAAsD,aAAkC;AAC1F,QADwD,kBAAa,GAAb,aAAa,CAAqB;AAAC,QATzF,iBAKI,EAAE,EAAC;AACT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AAM;AACpB,aAAC;AACE;AAAG;AAEF,4CAQW,MAAM,SAAC,YAAY,cAAG,QAAQ;AAAM;AAAG;ACnBtD;AACA;AACA;AACA;AACA;AACgB","sourcesContent":["import { InjectionToken } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\nexport interface SdCacheOption<T = any> {\r\n type?: 'default' | 'session' | 'local';\r\n hours?: number;\r\n default?: T;\r\n args?: {\r\n [key: string]: any\r\n };\r\n}\r\n\r\nexport interface SdCacheServerOption<T = any> {\r\n hours?: number;\r\n default?: T;\r\n args?: {\r\n [key: string]: any\r\n };\r\n}\r\n\r\nexport interface SdCache<T = any> {\r\n get: () => T;\r\n set: (data: T) => void;\r\n has: () => boolean;\r\n remove: () => void;\r\n observer: Observable<T>;\r\n}\r\n\r\nexport interface SdCacheServer<T = any> {\r\n get: () => Promise<T>;\r\n set: (data: T) => Promise<void>;\r\n has: () => Promise<boolean>;\r\n remove: () => Promise<void>;\r\n observer: Observable<T>;\r\n}\r\n\r\nexport interface ICacheConfiguration {\r\n convertKey?: (key: string) => string;\r\n set?: (key: string, value: { data: any, createdOn: Date }, option?: SdCacheServerOption) => Promise<void>;\r\n get?: (key: string, option?: SdCacheServerOption) => Promise<{ data: any, createdOn: Date }>;\r\n remove?: (key: string, option?: SdCacheServerOption) => Promise<void>;\r\n}\r\n\r\nexport const CACHE_CONFIG = new InjectionToken<ICacheConfiguration>('cache.configuration');\r\n","import { Inject, Injectable, Optional } from '@angular/core';\r\nimport hash from 'object-hash';\r\nimport { CACHE_CONFIG, ICacheConfiguration, SdCache, SdCacheOption, SdCacheServer, SdCacheServerOption } from './cache.model';\r\nimport { BehaviorSubject } from 'rxjs';\r\nimport { map, switchMap } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class SdCacheService {\r\n #cache: {\r\n [key: string]: {\r\n data: any,\r\n createdOn: Date\r\n }\r\n } = {};\r\n #subject: {\r\n [key: string]: BehaviorSubject<any>;\r\n } = {};\r\n constructor(@Inject(CACHE_CONFIG) @Optional() private configuration: ICacheConfiguration) {\r\n }\r\n\r\n create<T = any>(key: string | object, option?: SdCacheOption<T>): SdCache<T> {\r\n if (!key) {\r\n throw new Error('Key is required');\r\n }\r\n let hashKey: string = null;\r\n if (typeof (key) === 'string') {\r\n hashKey = key;\r\n } else if (typeof (key) === 'object') {\r\n hashKey = hash(key);\r\n } else {\r\n throw new Error('Invalid key');\r\n }\r\n if (!this.#subject[hashKey]) {\r\n this.#subject[hashKey] = new BehaviorSubject<any>(option?.default);\r\n }\r\n const get = this.#get<T>(hashKey, option);\r\n const set = this.#set<T>(hashKey, option);\r\n const has = this.#has(hashKey, option);\r\n const remove = this.#remove(hashKey, option);\r\n return {\r\n get,\r\n set,\r\n has,\r\n remove,\r\n observer: this.#subject[hashKey].pipe(map(get))\r\n };\r\n }\r\n\r\n createServer<T = any>(key: string | object, option?: SdCacheOption<T>): SdCacheServer<T> {\r\n if (!key) {\r\n throw new Error('Key is required');\r\n }\r\n let hashKey: string = null;\r\n if (typeof (key) === 'string') {\r\n hashKey = key;\r\n } else if (typeof (key) === 'object') {\r\n hashKey = hash(key);\r\n } else {\r\n throw new Error('Invalid key');\r\n }\r\n if (!this.#subject[hashKey]) {\r\n this.#subject[hashKey] = new BehaviorSubject<any>(option?.default);\r\n }\r\n const get = this.#getServer<T>(hashKey, option);\r\n const set = this.#setServer<T>(hashKey, option);\r\n const has = this.#hasServer(hashKey, option);\r\n const remove = this.#removeServer(hashKey, option);\r\n return {\r\n get,\r\n set,\r\n has,\r\n remove,\r\n observer: this.#subject[hashKey].pipe(switchMap(get))\r\n };\r\n }\r\n\r\n #get = <T = any>(key: string, option?: SdCacheOption): (() => T) => {\r\n return () => {\r\n let cache = this.#cache[key];\r\n if (option?.type === 'session') {\r\n try {\r\n cache = JSON.parse(sessionStorage.getItem(key));\r\n } catch {\r\n cache = undefined;\r\n }\r\n }\r\n if (option?.type === 'local') {\r\n try {\r\n cache = JSON.parse(localStorage.getItem(key));\r\n } catch {\r\n cache = undefined;\r\n }\r\n }\r\n if (!cache) {\r\n return option?.default;\r\n }\r\n if (option?.hours && Date.addHours(cache.createdOn, option?.hours) < new Date()) {\r\n const remove = this.#remove(key, option);\r\n remove();\r\n return option?.default;\r\n }\r\n return JSON.parse(JSON.stringify(cache.data));\r\n };\r\n }\r\n\r\n #getServer = <T = any>(key: string, option?: SdCacheServerOption): (() => Promise<T>) => {\r\n return async () => {\r\n let cache = this.#cache[key];\r\n if (this.configuration?.get) {\r\n cache = await this.configuration.get(key, option).catch(err => {\r\n console.error(err);\r\n return undefined;\r\n });\r\n }\r\n if (!cache) {\r\n return option?.default;\r\n }\r\n if (option?.hours && Date.addHours(cache.createdOn, option?.hours) < new Date()) {\r\n const remove = this.#removeServer(key, option);\r\n remove();\r\n return option?.default;\r\n }\r\n return JSON.parse(JSON.stringify(cache.data));\r\n };\r\n }\r\n\r\n #set = <T = any>(key: string, option?: SdCacheOption): ((data: T) => void) => {\r\n return (data: T) => {\r\n data = data ?? null;\r\n this.#cache[key] = {\r\n data: JSON.parse(JSON.stringify(data)),\r\n createdOn: new Date()\r\n };\r\n if (option?.type === 'session') {\r\n try {\r\n sessionStorage.setItem(key, JSON.stringify(this.#cache[key]));\r\n } catch (err) {\r\n console.error(err);\r\n }\r\n }\r\n if (option?.type === 'local') {\r\n try {\r\n localStorage.setItem(key, JSON.stringify(this.#cache[key]));\r\n } catch (err) {\r\n console.error(err);\r\n }\r\n }\r\n this.#subject[key].next(this.#cache[key].data);\r\n };\r\n }\r\n\r\n #setServer = <T = any>(key: string, option?: SdCacheServerOption): ((data: T) => Promise<void>) => {\r\n return async (data: T) => {\r\n data = data ?? null;\r\n this.#cache[key] = {\r\n data: JSON.parse(JSON.stringify(data)),\r\n createdOn: new Date()\r\n };\r\n if (this.configuration?.set) {\r\n try {\r\n await this.configuration.set(key, this.#cache[key], option);\r\n } catch (err) {\r\n console.error(err);\r\n }\r\n }\r\n this.#subject[key].next(this.#cache[key].data);\r\n };\r\n }\r\n\r\n #has = (key: string, option?: SdCacheOption): (() => boolean) => {\r\n return () => {\r\n let cache = this.#cache[key];\r\n\r\n if (option?.type === 'session') {\r\n try {\r\n cache = JSON.parse(sessionStorage.getItem(key));\r\n } catch {\r\n cache = undefined;\r\n }\r\n }\r\n if (option?.type === 'local') {\r\n try {\r\n cache = JSON.parse(localStorage.getItem(key));\r\n } catch {\r\n cache = undefined;\r\n }\r\n }\r\n if (!cache) {\r\n return false;\r\n }\r\n if (option?.hours && Date.addHours(cache.createdOn, option?.hours) < new Date()) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n }\r\n\r\n #hasServer = (key: string, option?: SdCacheServerOption): (() => Promise<boolean>) => {\r\n return async () => {\r\n let cache = this.#cache[key];\r\n if (this.configuration?.get) {\r\n cache = await this.configuration.get(key, option).catch(err => {\r\n console.error(err);\r\n return undefined;\r\n });\r\n }\r\n if (!cache) {\r\n return false;\r\n }\r\n if (option?.hours && Date.addHours(cache.createdOn, option?.hours) < new Date()) {\r\n return false;\r\n }\r\n return true;\r\n };\r\n }\r\n\r\n #remove = (key: string, option?: SdCacheOption): (() => void) => {\r\n return () => {\r\n this.#cache[key] = undefined;\r\n if (option?.type === 'session') {\r\n sessionStorage.removeItem(key);\r\n }\r\n if (option?.type === 'local') {\r\n localStorage.removeItem(key);\r\n }\r\n this.#subject[key].next(undefined);\r\n };\r\n }\r\n\r\n #removeServer = (key: string, option?: SdCacheServerOption): (() => Promise<void>) => {\r\n return async () => {\r\n this.#cache[key] = undefined;\r\n if (this.configuration?.remove) {\r\n await this.configuration.remove(key, option).catch(err => {\r\n console.error(err);\r\n });\r\n }\r\n this.#subject[key].next(undefined);\r\n };\r\n }\r\n}\r\n\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"]}