@sd-angular/core 1.2.99 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (805) 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/autocomplete/package.json +12 -1
  6. package/autocomplete/sd-angular-core-autocomplete.d.ts +2 -0
  7. package/autocomplete/sd-angular-core-autocomplete.d.ts.__ivy_ngcc_bak +4 -0
  8. package/autocomplete/sd-angular-core-autocomplete.d.ts.map +1 -0
  9. package/badge/package.json +12 -1
  10. package/badge/sd-angular-core-badge.d.ts +2 -0
  11. package/badge/sd-angular-core-badge.d.ts.__ivy_ngcc_bak +4 -0
  12. package/badge/sd-angular-core-badge.d.ts.map +1 -0
  13. package/bundles/sd-angular-core-api.umd.js +2 -1
  14. package/bundles/sd-angular-core-api.umd.js.__ivy_ngcc_bak +876 -0
  15. package/bundles/sd-angular-core-api.umd.js.map +1 -1
  16. package/bundles/sd-angular-core-api.umd.js.map.__ivy_ngcc_bak +1 -0
  17. package/bundles/sd-angular-core-autocomplete.umd.js +2 -1
  18. package/bundles/sd-angular-core-autocomplete.umd.js.__ivy_ngcc_bak +791 -0
  19. package/bundles/sd-angular-core-autocomplete.umd.js.map +1 -1
  20. package/bundles/sd-angular-core-autocomplete.umd.js.map.__ivy_ngcc_bak +1 -0
  21. package/bundles/sd-angular-core-badge.umd.js +2 -1
  22. package/bundles/sd-angular-core-badge.umd.js.__ivy_ngcc_bak +89 -0
  23. package/bundles/sd-angular-core-badge.umd.js.map +1 -1
  24. package/bundles/sd-angular-core-badge.umd.js.map.__ivy_ngcc_bak +1 -0
  25. package/bundles/sd-angular-core-button.umd.js +2 -1
  26. package/bundles/sd-angular-core-button.umd.js.__ivy_ngcc_bak +447 -0
  27. package/bundles/sd-angular-core-button.umd.js.map +1 -1
  28. package/bundles/sd-angular-core-button.umd.js.map.__ivy_ngcc_bak +1 -0
  29. package/bundles/sd-angular-core-cache.umd.js +2 -1
  30. package/bundles/sd-angular-core-cache.umd.js.__ivy_ngcc_bak +623 -0
  31. package/bundles/sd-angular-core-cache.umd.js.map +1 -1
  32. package/bundles/sd-angular-core-cache.umd.js.map.__ivy_ngcc_bak +1 -0
  33. package/bundles/sd-angular-core-chart.umd.js +2 -1
  34. package/bundles/sd-angular-core-chart.umd.js.__ivy_ngcc_bak +1106 -0
  35. package/bundles/sd-angular-core-chart.umd.js.map +1 -1
  36. package/bundles/sd-angular-core-chart.umd.js.map.__ivy_ngcc_bak +1 -0
  37. package/bundles/sd-angular-core-checkbox.umd.js +2 -1
  38. package/bundles/sd-angular-core-checkbox.umd.js.__ivy_ngcc_bak +461 -0
  39. package/bundles/sd-angular-core-checkbox.umd.js.map +1 -1
  40. package/bundles/sd-angular-core-checkbox.umd.js.map.__ivy_ngcc_bak +1 -0
  41. package/bundles/sd-angular-core-chip.umd.js +2 -1
  42. package/bundles/sd-angular-core-chip.umd.js.__ivy_ngcc_bak +1051 -0
  43. package/bundles/sd-angular-core-chip.umd.js.map +1 -1
  44. package/bundles/sd-angular-core-chip.umd.js.map.__ivy_ngcc_bak +1 -0
  45. package/bundles/sd-angular-core-comment.umd.js +2 -1
  46. package/bundles/sd-angular-core-comment.umd.js.__ivy_ngcc_bak +456 -0
  47. package/bundles/sd-angular-core-comment.umd.js.map +1 -1
  48. package/bundles/sd-angular-core-comment.umd.js.map.__ivy_ngcc_bak +1 -0
  49. package/bundles/sd-angular-core-common.umd.js +2 -1
  50. package/bundles/sd-angular-core-common.umd.js.__ivy_ngcc_bak +962 -0
  51. package/bundles/sd-angular-core-common.umd.js.map +1 -1
  52. package/bundles/sd-angular-core-common.umd.js.map.__ivy_ngcc_bak +1 -0
  53. package/bundles/sd-angular-core-confirm.umd.js +2 -1
  54. package/bundles/sd-angular-core-confirm.umd.js.__ivy_ngcc_bak +159 -0
  55. package/bundles/sd-angular-core-confirm.umd.js.map +1 -1
  56. package/bundles/sd-angular-core-confirm.umd.js.map.__ivy_ngcc_bak +1 -0
  57. package/bundles/sd-angular-core-date-month.umd.js +2 -1
  58. package/bundles/sd-angular-core-date-month.umd.js.__ivy_ngcc_bak +650 -0
  59. package/bundles/sd-angular-core-date-month.umd.js.map +1 -1
  60. package/bundles/sd-angular-core-date-month.umd.js.map.__ivy_ngcc_bak +1 -0
  61. package/bundles/sd-angular-core-date-range.umd.js +2 -1
  62. package/bundles/sd-angular-core-date-range.umd.js.__ivy_ngcc_bak +660 -0
  63. package/bundles/sd-angular-core-date-range.umd.js.map +1 -1
  64. package/bundles/sd-angular-core-date-range.umd.js.map.__ivy_ngcc_bak +1 -0
  65. package/bundles/sd-angular-core-date-time.umd.js +2 -1
  66. package/bundles/sd-angular-core-date-time.umd.js.__ivy_ngcc_bak +734 -0
  67. package/bundles/sd-angular-core-date-time.umd.js.map +1 -1
  68. package/bundles/sd-angular-core-date-time.umd.js.map.__ivy_ngcc_bak +1 -0
  69. package/bundles/sd-angular-core-db.umd.js +2 -1
  70. package/bundles/sd-angular-core-db.umd.js.__ivy_ngcc_bak +475 -0
  71. package/bundles/sd-angular-core-db.umd.js.map +1 -1
  72. package/bundles/sd-angular-core-db.umd.js.map.__ivy_ngcc_bak +1 -0
  73. package/bundles/sd-angular-core-dynamic-report.umd.js +2 -1
  74. package/bundles/sd-angular-core-dynamic-report.umd.js.__ivy_ngcc_bak +96 -0
  75. package/bundles/sd-angular-core-dynamic-report.umd.js.map +1 -1
  76. package/bundles/sd-angular-core-dynamic-report.umd.js.map.__ivy_ngcc_bak +1 -0
  77. package/bundles/sd-angular-core-editor.umd.js +2 -1
  78. package/bundles/sd-angular-core-editor.umd.js.__ivy_ngcc_bak +943 -0
  79. package/bundles/sd-angular-core-editor.umd.js.map +1 -1
  80. package/bundles/sd-angular-core-editor.umd.js.map.__ivy_ngcc_bak +1 -0
  81. package/bundles/sd-angular-core-excel.umd.js +2 -1
  82. package/bundles/sd-angular-core-excel.umd.js.__ivy_ngcc_bak +500 -0
  83. package/bundles/sd-angular-core-excel.umd.js.map +1 -1
  84. package/bundles/sd-angular-core-excel.umd.js.map.__ivy_ngcc_bak +1 -0
  85. package/bundles/sd-angular-core-export.umd.js +2 -1
  86. package/bundles/sd-angular-core-export.umd.js.__ivy_ngcc_bak +712 -0
  87. package/bundles/sd-angular-core-export.umd.js.map +1 -1
  88. package/bundles/sd-angular-core-export.umd.js.map.__ivy_ngcc_bak +1 -0
  89. package/bundles/sd-angular-core-filter.umd.js +2 -1
  90. package/bundles/sd-angular-core-filter.umd.js.__ivy_ngcc_bak +703 -0
  91. package/bundles/sd-angular-core-filter.umd.js.map +1 -1
  92. package/bundles/sd-angular-core-filter.umd.js.map.__ivy_ngcc_bak +1 -0
  93. package/bundles/sd-angular-core-form.umd.js +2 -1
  94. package/bundles/sd-angular-core-form.umd.js.__ivy_ngcc_bak +88 -0
  95. package/bundles/sd-angular-core-form.umd.js.map +1 -1
  96. package/bundles/sd-angular-core-form.umd.js.map.__ivy_ngcc_bak +1 -0
  97. package/bundles/sd-angular-core-grid-material.umd.js +2 -1
  98. package/bundles/sd-angular-core-grid-material.umd.js.__ivy_ngcc_bak +5029 -0
  99. package/bundles/sd-angular-core-grid-material.umd.js.map +1 -1
  100. package/bundles/sd-angular-core-grid-material.umd.js.map.__ivy_ngcc_bak +1 -0
  101. package/bundles/sd-angular-core-grid.umd.js +2 -1
  102. package/bundles/sd-angular-core-grid.umd.js.__ivy_ngcc_bak +5125 -0
  103. package/bundles/sd-angular-core-grid.umd.js.map +1 -1
  104. package/bundles/sd-angular-core-grid.umd.js.map.__ivy_ngcc_bak +1 -0
  105. package/bundles/sd-angular-core-group.umd.js +2 -1
  106. package/bundles/sd-angular-core-group.umd.js.__ivy_ngcc_bak +93 -0
  107. package/bundles/sd-angular-core-group.umd.js.map +1 -1
  108. package/bundles/sd-angular-core-group.umd.js.map.__ivy_ngcc_bak +1 -0
  109. package/bundles/sd-angular-core-header-title.umd.js +2 -1
  110. package/bundles/sd-angular-core-header-title.umd.js.__ivy_ngcc_bak +56 -0
  111. package/bundles/sd-angular-core-header-title.umd.js.map +1 -1
  112. package/bundles/sd-angular-core-header-title.umd.js.map.__ivy_ngcc_bak +1 -0
  113. package/bundles/sd-angular-core-image-preview.umd.js +2 -1
  114. package/bundles/sd-angular-core-image-preview.umd.js.__ivy_ngcc_bak +121 -0
  115. package/bundles/sd-angular-core-image-preview.umd.js.map +1 -1
  116. package/bundles/sd-angular-core-image-preview.umd.js.map.__ivy_ngcc_bak +1 -0
  117. package/bundles/sd-angular-core-input-currency.umd.js +2 -1
  118. package/bundles/sd-angular-core-input-currency.umd.js.__ivy_ngcc_bak +737 -0
  119. package/bundles/sd-angular-core-input-currency.umd.js.map +1 -1
  120. package/bundles/sd-angular-core-input-currency.umd.js.map.__ivy_ngcc_bak +1 -0
  121. package/bundles/sd-angular-core-input-dropdown.umd.js +2 -1
  122. package/bundles/sd-angular-core-input-dropdown.umd.js.__ivy_ngcc_bak +634 -0
  123. package/bundles/sd-angular-core-input-dropdown.umd.js.map +1 -1
  124. package/bundles/sd-angular-core-input-dropdown.umd.js.map.__ivy_ngcc_bak +1 -0
  125. package/bundles/sd-angular-core-input-number.umd.js +2 -1
  126. package/bundles/sd-angular-core-input-number.umd.js.__ivy_ngcc_bak +792 -0
  127. package/bundles/sd-angular-core-input-number.umd.js.map +1 -1
  128. package/bundles/sd-angular-core-input-number.umd.js.map.__ivy_ngcc_bak +1 -0
  129. package/bundles/sd-angular-core-input-upload-file.umd.js +2 -1
  130. package/bundles/sd-angular-core-input-upload-file.umd.js.__ivy_ngcc_bak +648 -0
  131. package/bundles/sd-angular-core-input-upload-file.umd.js.map +1 -1
  132. package/bundles/sd-angular-core-input-upload-file.umd.js.map.__ivy_ngcc_bak +1 -0
  133. package/bundles/sd-angular-core-input.umd.js +2 -1
  134. package/bundles/sd-angular-core-input.umd.js.__ivy_ngcc_bak +798 -0
  135. package/bundles/sd-angular-core-input.umd.js.map +1 -1
  136. package/bundles/sd-angular-core-input.umd.js.map.__ivy_ngcc_bak +1 -0
  137. package/bundles/sd-angular-core-json-editor.umd.js +2 -1
  138. package/bundles/sd-angular-core-json-editor.umd.js.__ivy_ngcc_bak +523 -0
  139. package/bundles/sd-angular-core-json-editor.umd.js.map +1 -1
  140. package/bundles/sd-angular-core-json-editor.umd.js.map.__ivy_ngcc_bak +1 -0
  141. package/bundles/sd-angular-core-konva.umd.js +2 -1
  142. package/bundles/sd-angular-core-konva.umd.js.__ivy_ngcc_bak +605 -0
  143. package/bundles/sd-angular-core-konva.umd.js.map +1 -1
  144. package/bundles/sd-angular-core-konva.umd.js.map.__ivy_ngcc_bak +1 -0
  145. package/bundles/sd-angular-core-label.umd.js +2 -1
  146. package/bundles/sd-angular-core-label.umd.js.__ivy_ngcc_bak +60 -0
  147. package/bundles/sd-angular-core-label.umd.js.map +1 -1
  148. package/bundles/sd-angular-core-label.umd.js.map.__ivy_ngcc_bak +1 -0
  149. package/bundles/sd-angular-core-loading.umd.js +2 -1
  150. package/bundles/sd-angular-core-loading.umd.js.__ivy_ngcc_bak +413 -0
  151. package/bundles/sd-angular-core-loading.umd.js.map +1 -1
  152. package/bundles/sd-angular-core-loading.umd.js.map.__ivy_ngcc_bak +1 -0
  153. package/bundles/sd-angular-core-modal-resizable.umd.js +2 -1
  154. package/bundles/sd-angular-core-modal-resizable.umd.js.__ivy_ngcc_bak +487 -0
  155. package/bundles/sd-angular-core-modal-resizable.umd.js.map +1 -1
  156. package/bundles/sd-angular-core-modal-resizable.umd.js.map.__ivy_ngcc_bak +1 -0
  157. package/bundles/sd-angular-core-modal.umd.js +2 -1
  158. package/bundles/sd-angular-core-modal.umd.js.__ivy_ngcc_bak +307 -0
  159. package/bundles/sd-angular-core-modal.umd.js.map +1 -1
  160. package/bundles/sd-angular-core-modal.umd.js.map.__ivy_ngcc_bak +1 -0
  161. package/bundles/sd-angular-core-notify.umd.js +2 -1
  162. package/bundles/sd-angular-core-notify.umd.js.__ivy_ngcc_bak +719 -0
  163. package/bundles/sd-angular-core-notify.umd.js.map +1 -1
  164. package/bundles/sd-angular-core-notify.umd.js.map.__ivy_ngcc_bak +1 -0
  165. package/bundles/sd-angular-core-popover.umd.js +2 -1
  166. package/bundles/sd-angular-core-popover.umd.js.__ivy_ngcc_bak +752 -0
  167. package/bundles/sd-angular-core-popover.umd.js.map +1 -1
  168. package/bundles/sd-angular-core-popover.umd.js.map.__ivy_ngcc_bak +1 -0
  169. package/bundles/sd-angular-core-quick-action.umd.js +2 -1
  170. package/bundles/sd-angular-core-quick-action.umd.js.__ivy_ngcc_bak +66 -0
  171. package/bundles/sd-angular-core-quick-action.umd.js.map +1 -1
  172. package/bundles/sd-angular-core-quick-action.umd.js.map.__ivy_ngcc_bak +1 -0
  173. package/bundles/sd-angular-core-radio.umd.js +2 -1
  174. package/bundles/sd-angular-core-radio.umd.js.__ivy_ngcc_bak +535 -0
  175. package/bundles/sd-angular-core-radio.umd.js.map +1 -1
  176. package/bundles/sd-angular-core-radio.umd.js.map.__ivy_ngcc_bak +1 -0
  177. package/bundles/sd-angular-core-select-badge.umd.js +2 -1
  178. package/bundles/sd-angular-core-select-badge.umd.js.__ivy_ngcc_bak +486 -0
  179. package/bundles/sd-angular-core-select-badge.umd.js.map +1 -1
  180. package/bundles/sd-angular-core-select-badge.umd.js.map.__ivy_ngcc_bak +1 -0
  181. package/bundles/sd-angular-core-select-editor.umd.js +2 -1
  182. package/bundles/sd-angular-core-select-editor.umd.js.__ivy_ngcc_bak +431 -0
  183. package/bundles/sd-angular-core-select-editor.umd.js.map +1 -1
  184. package/bundles/sd-angular-core-select-editor.umd.js.map.__ivy_ngcc_bak +1 -0
  185. package/bundles/sd-angular-core-select.umd.js +2 -1
  186. package/bundles/sd-angular-core-select.umd.js.__ivy_ngcc_bak +921 -0
  187. package/bundles/sd-angular-core-select.umd.js.map +1 -1
  188. package/bundles/sd-angular-core-select.umd.js.map.__ivy_ngcc_bak +1 -0
  189. package/bundles/sd-angular-core-service.umd.js +2 -1
  190. package/bundles/sd-angular-core-service.umd.js.__ivy_ngcc_bak +42 -0
  191. package/bundles/sd-angular-core-service.umd.js.map +1 -1
  192. package/bundles/sd-angular-core-service.umd.js.map.__ivy_ngcc_bak +1 -0
  193. package/bundles/sd-angular-core-setting.umd.js +2 -1
  194. package/bundles/sd-angular-core-setting.umd.js.__ivy_ngcc_bak +664 -0
  195. package/bundles/sd-angular-core-setting.umd.js.map +1 -1
  196. package/bundles/sd-angular-core-setting.umd.js.map.__ivy_ngcc_bak +1 -0
  197. package/bundles/sd-angular-core-side-drawer.umd.js +2 -1
  198. package/bundles/sd-angular-core-side-drawer.umd.js.__ivy_ngcc_bak +438 -0
  199. package/bundles/sd-angular-core-side-drawer.umd.js.map +1 -1
  200. package/bundles/sd-angular-core-side-drawer.umd.js.map.__ivy_ngcc_bak +1 -0
  201. package/bundles/sd-angular-core-switch.umd.js +2 -1
  202. package/bundles/sd-angular-core-switch.umd.js.__ivy_ngcc_bak +454 -0
  203. package/bundles/sd-angular-core-switch.umd.js.map +1 -1
  204. package/bundles/sd-angular-core-switch.umd.js.map.__ivy_ngcc_bak +1 -0
  205. package/bundles/sd-angular-core-tab-router.umd.js +2 -1
  206. package/bundles/sd-angular-core-tab-router.umd.js.__ivy_ngcc_bak +941 -0
  207. package/bundles/sd-angular-core-tab-router.umd.js.map +1 -1
  208. package/bundles/sd-angular-core-tab-router.umd.js.map.__ivy_ngcc_bak +1 -0
  209. package/bundles/sd-angular-core-textarea.umd.js +2 -1
  210. package/bundles/sd-angular-core-textarea.umd.js.__ivy_ngcc_bak +642 -0
  211. package/bundles/sd-angular-core-textarea.umd.js.map +1 -1
  212. package/bundles/sd-angular-core-textarea.umd.js.map.__ivy_ngcc_bak +1 -0
  213. package/bundles/sd-angular-core-time.umd.js +2 -1
  214. package/bundles/sd-angular-core-time.umd.js.__ivy_ngcc_bak +497 -0
  215. package/bundles/sd-angular-core-time.umd.js.map +1 -1
  216. package/bundles/sd-angular-core-time.umd.js.map.__ivy_ngcc_bak +1 -0
  217. package/bundles/sd-angular-core-timeline.umd.js +2 -1
  218. package/bundles/sd-angular-core-timeline.umd.js.__ivy_ngcc_bak +102 -0
  219. package/bundles/sd-angular-core-timeline.umd.js.map +1 -1
  220. package/bundles/sd-angular-core-timeline.umd.js.map.__ivy_ngcc_bak +1 -0
  221. package/bundles/sd-angular-core-translate.umd.js +2 -1
  222. package/bundles/sd-angular-core-translate.umd.js.__ivy_ngcc_bak +119 -0
  223. package/bundles/sd-angular-core-translate.umd.js.map +1 -1
  224. package/bundles/sd-angular-core-translate.umd.js.map.__ivy_ngcc_bak +1 -0
  225. package/bundles/sd-angular-core-upload-excel.umd.js +2 -1
  226. package/bundles/sd-angular-core-upload-excel.umd.js.__ivy_ngcc_bak +1114 -0
  227. package/bundles/sd-angular-core-upload-excel.umd.js.map +1 -1
  228. package/bundles/sd-angular-core-upload-excel.umd.js.map.__ivy_ngcc_bak +1 -0
  229. package/bundles/sd-angular-core-upload-file.umd.js +2 -1
  230. package/bundles/sd-angular-core-upload-file.umd.js.__ivy_ngcc_bak +880 -0
  231. package/bundles/sd-angular-core-upload-file.umd.js.map +1 -1
  232. package/bundles/sd-angular-core-upload-file.umd.js.map.__ivy_ngcc_bak +1 -0
  233. package/bundles/sd-angular-core-utility.umd.js +33 -1
  234. package/bundles/sd-angular-core-utility.umd.js.__ivy_ngcc_bak +739 -0
  235. package/bundles/sd-angular-core-utility.umd.js.map +1 -1
  236. package/bundles/sd-angular-core-utility.umd.js.map.__ivy_ngcc_bak +1 -0
  237. package/bundles/sd-angular-core-utility.umd.min.js +1 -1
  238. package/bundles/sd-angular-core-utility.umd.min.js.map +1 -1
  239. package/bundles/sd-angular-core-view.umd.js +2 -1
  240. package/bundles/sd-angular-core-view.umd.js.__ivy_ngcc_bak +32 -0
  241. package/bundles/sd-angular-core-view.umd.js.map +1 -1
  242. package/bundles/sd-angular-core-view.umd.js.map.__ivy_ngcc_bak +1 -0
  243. package/button/package.json +12 -1
  244. package/button/sd-angular-core-button.d.ts +2 -0
  245. package/button/sd-angular-core-button.d.ts.__ivy_ngcc_bak +4 -0
  246. package/button/sd-angular-core-button.d.ts.map +1 -0
  247. package/cache/package.json +12 -1
  248. package/cache/sd-angular-core-cache.d.ts +2 -0
  249. package/cache/sd-angular-core-cache.d.ts.__ivy_ngcc_bak +4 -0
  250. package/cache/sd-angular-core-cache.d.ts.map +1 -0
  251. package/chart/package.json +12 -1
  252. package/chart/sd-angular-core-chart.d.ts +2 -0
  253. package/chart/sd-angular-core-chart.d.ts.__ivy_ngcc_bak +4 -0
  254. package/chart/sd-angular-core-chart.d.ts.map +1 -0
  255. package/checkbox/package.json +12 -1
  256. package/checkbox/sd-angular-core-checkbox.d.ts +2 -0
  257. package/checkbox/sd-angular-core-checkbox.d.ts.__ivy_ngcc_bak +5 -0
  258. package/checkbox/sd-angular-core-checkbox.d.ts.map +1 -0
  259. package/chip/package.json +12 -1
  260. package/chip/sd-angular-core-chip.d.ts +2 -0
  261. package/chip/sd-angular-core-chip.d.ts.__ivy_ngcc_bak +5 -0
  262. package/chip/sd-angular-core-chip.d.ts.map +1 -0
  263. package/comment/package.json +12 -1
  264. package/comment/sd-angular-core-comment.d.ts +2 -0
  265. package/comment/sd-angular-core-comment.d.ts.__ivy_ngcc_bak +4 -0
  266. package/comment/sd-angular-core-comment.d.ts.map +1 -0
  267. package/common/package.json +12 -1
  268. package/common/sd-angular-core-common.d.ts +2 -0
  269. package/common/sd-angular-core-common.d.ts.__ivy_ngcc_bak +4 -0
  270. package/common/sd-angular-core-common.d.ts.map +1 -0
  271. package/confirm/package.json +12 -1
  272. package/confirm/sd-angular-core-confirm.d.ts +2 -0
  273. package/confirm/sd-angular-core-confirm.d.ts.__ivy_ngcc_bak +4 -0
  274. package/confirm/sd-angular-core-confirm.d.ts.map +1 -0
  275. package/date-month/package.json +12 -1
  276. package/date-month/sd-angular-core-date-month.d.ts +2 -0
  277. package/date-month/sd-angular-core-date-month.d.ts.__ivy_ngcc_bak +5 -0
  278. package/date-month/sd-angular-core-date-month.d.ts.map +1 -0
  279. package/date-range/package.json +12 -1
  280. package/date-range/sd-angular-core-date-range.d.ts +2 -0
  281. package/date-range/sd-angular-core-date-range.d.ts.__ivy_ngcc_bak +4 -0
  282. package/date-range/sd-angular-core-date-range.d.ts.map +1 -0
  283. package/date-time/package.json +12 -1
  284. package/date-time/sd-angular-core-date-time.d.ts +2 -0
  285. package/date-time/sd-angular-core-date-time.d.ts.__ivy_ngcc_bak +4 -0
  286. package/date-time/sd-angular-core-date-time.d.ts.map +1 -0
  287. package/db/package.json +12 -1
  288. package/db/sd-angular-core-db.d.ts +2 -0
  289. package/db/sd-angular-core-db.d.ts.__ivy_ngcc_bak +4 -0
  290. package/db/sd-angular-core-db.d.ts.map +1 -0
  291. package/dynamic-report/package.json +12 -1
  292. package/dynamic-report/sd-angular-core-dynamic-report.d.ts +2 -0
  293. package/dynamic-report/sd-angular-core-dynamic-report.d.ts.__ivy_ngcc_bak +4 -0
  294. package/dynamic-report/sd-angular-core-dynamic-report.d.ts.map +1 -0
  295. package/editor/package.json +12 -1
  296. package/editor/sd-angular-core-editor.d.ts +2 -0
  297. package/editor/sd-angular-core-editor.d.ts.__ivy_ngcc_bak +4 -0
  298. package/editor/sd-angular-core-editor.d.ts.map +1 -0
  299. package/esm2015/api/sd-angular-core-api.js +1 -1
  300. package/esm2015/api/sd-angular-core-api.js.__ivy_ngcc_bak +5 -0
  301. package/esm2015/autocomplete/sd-angular-core-autocomplete.js +1 -1
  302. package/esm2015/autocomplete/sd-angular-core-autocomplete.js.__ivy_ngcc_bak +5 -0
  303. package/esm2015/badge/sd-angular-core-badge.js +1 -1
  304. package/esm2015/badge/sd-angular-core-badge.js.__ivy_ngcc_bak +5 -0
  305. package/esm2015/button/sd-angular-core-button.js +1 -1
  306. package/esm2015/button/sd-angular-core-button.js.__ivy_ngcc_bak +5 -0
  307. package/esm2015/cache/sd-angular-core-cache.js +1 -1
  308. package/esm2015/cache/sd-angular-core-cache.js.__ivy_ngcc_bak +5 -0
  309. package/esm2015/chart/sd-angular-core-chart.js +1 -1
  310. package/esm2015/chart/sd-angular-core-chart.js.__ivy_ngcc_bak +5 -0
  311. package/esm2015/checkbox/sd-angular-core-checkbox.js +1 -1
  312. package/esm2015/checkbox/sd-angular-core-checkbox.js.__ivy_ngcc_bak +6 -0
  313. package/esm2015/chip/sd-angular-core-chip.js +1 -1
  314. package/esm2015/chip/sd-angular-core-chip.js.__ivy_ngcc_bak +6 -0
  315. package/esm2015/comment/sd-angular-core-comment.js +1 -1
  316. package/esm2015/comment/sd-angular-core-comment.js.__ivy_ngcc_bak +5 -0
  317. package/esm2015/common/sd-angular-core-common.js +1 -1
  318. package/esm2015/common/sd-angular-core-common.js.__ivy_ngcc_bak +5 -0
  319. package/esm2015/confirm/sd-angular-core-confirm.js +1 -1
  320. package/esm2015/confirm/sd-angular-core-confirm.js.__ivy_ngcc_bak +5 -0
  321. package/esm2015/date-month/sd-angular-core-date-month.js +1 -1
  322. package/esm2015/date-month/sd-angular-core-date-month.js.__ivy_ngcc_bak +6 -0
  323. package/esm2015/date-range/sd-angular-core-date-range.js +1 -1
  324. package/esm2015/date-range/sd-angular-core-date-range.js.__ivy_ngcc_bak +5 -0
  325. package/esm2015/date-time/sd-angular-core-date-time.js +1 -1
  326. package/esm2015/date-time/sd-angular-core-date-time.js.__ivy_ngcc_bak +5 -0
  327. package/esm2015/db/sd-angular-core-db.js +1 -1
  328. package/esm2015/db/sd-angular-core-db.js.__ivy_ngcc_bak +5 -0
  329. package/esm2015/dynamic-report/sd-angular-core-dynamic-report.js +1 -1
  330. package/esm2015/dynamic-report/sd-angular-core-dynamic-report.js.__ivy_ngcc_bak +5 -0
  331. package/esm2015/editor/sd-angular-core-editor.js +1 -1
  332. package/esm2015/editor/sd-angular-core-editor.js.__ivy_ngcc_bak +5 -0
  333. package/esm2015/excel/sd-angular-core-excel.js +1 -1
  334. package/esm2015/excel/sd-angular-core-excel.js.__ivy_ngcc_bak +5 -0
  335. package/esm2015/export/sd-angular-core-export.js +1 -1
  336. package/esm2015/export/sd-angular-core-export.js.__ivy_ngcc_bak +5 -0
  337. package/esm2015/filter/sd-angular-core-filter.js +1 -1
  338. package/esm2015/filter/sd-angular-core-filter.js.__ivy_ngcc_bak +8 -0
  339. package/esm2015/form/sd-angular-core-form.js +1 -1
  340. package/esm2015/form/sd-angular-core-form.js.__ivy_ngcc_bak +5 -0
  341. package/esm2015/grid/sd-angular-core-grid.js +1 -1
  342. package/esm2015/grid/sd-angular-core-grid.js.__ivy_ngcc_bak +5 -0
  343. package/esm2015/grid-material/sd-angular-core-grid-material.js +1 -1
  344. package/esm2015/grid-material/sd-angular-core-grid-material.js.__ivy_ngcc_bak +47 -0
  345. package/esm2015/group/sd-angular-core-group.js +1 -1
  346. package/esm2015/group/sd-angular-core-group.js.__ivy_ngcc_bak +6 -0
  347. package/esm2015/header-title/sd-angular-core-header-title.js +1 -1
  348. package/esm2015/header-title/sd-angular-core-header-title.js.__ivy_ngcc_bak +6 -0
  349. package/esm2015/image-preview/sd-angular-core-image-preview.js +1 -1
  350. package/esm2015/image-preview/sd-angular-core-image-preview.js.__ivy_ngcc_bak +7 -0
  351. package/esm2015/input/sd-angular-core-input.js +1 -1
  352. package/esm2015/input/sd-angular-core-input.js.__ivy_ngcc_bak +6 -0
  353. package/esm2015/input-currency/sd-angular-core-input-currency.js +1 -1
  354. package/esm2015/input-currency/sd-angular-core-input-currency.js.__ivy_ngcc_bak +5 -0
  355. package/esm2015/input-dropdown/sd-angular-core-input-dropdown.js +1 -1
  356. package/esm2015/input-dropdown/sd-angular-core-input-dropdown.js.__ivy_ngcc_bak +5 -0
  357. package/esm2015/input-number/sd-angular-core-input-number.js +1 -1
  358. package/esm2015/input-number/sd-angular-core-input-number.js.__ivy_ngcc_bak +5 -0
  359. package/esm2015/input-upload-file/sd-angular-core-input-upload-file.js +1 -1
  360. package/esm2015/input-upload-file/sd-angular-core-input-upload-file.js.__ivy_ngcc_bak +5 -0
  361. package/esm2015/json-editor/sd-angular-core-json-editor.js +1 -1
  362. package/esm2015/json-editor/sd-angular-core-json-editor.js.__ivy_ngcc_bak +5 -0
  363. package/esm2015/konva/sd-angular-core-konva.js +1 -1
  364. package/esm2015/konva/sd-angular-core-konva.js.__ivy_ngcc_bak +5 -0
  365. package/esm2015/label/sd-angular-core-label.js +1 -1
  366. package/esm2015/label/sd-angular-core-label.js.__ivy_ngcc_bak +6 -0
  367. package/esm2015/loading/sd-angular-core-loading.js +1 -1
  368. package/esm2015/loading/sd-angular-core-loading.js.__ivy_ngcc_bak +5 -0
  369. package/esm2015/modal/sd-angular-core-modal.js +1 -1
  370. package/esm2015/modal/sd-angular-core-modal.js.__ivy_ngcc_bak +5 -0
  371. package/esm2015/modal-resizable/sd-angular-core-modal-resizable.js +1 -1
  372. package/esm2015/modal-resizable/sd-angular-core-modal-resizable.js.__ivy_ngcc_bak +5 -0
  373. package/esm2015/notify/sd-angular-core-notify.js +1 -1
  374. package/esm2015/notify/sd-angular-core-notify.js.__ivy_ngcc_bak +5 -0
  375. package/esm2015/popover/sd-angular-core-popover.js +1 -1
  376. package/esm2015/popover/sd-angular-core-popover.js.__ivy_ngcc_bak +5 -0
  377. package/esm2015/quick-action/sd-angular-core-quick-action.js +1 -1
  378. package/esm2015/quick-action/sd-angular-core-quick-action.js.__ivy_ngcc_bak +5 -0
  379. package/esm2015/radio/sd-angular-core-radio.js +1 -1
  380. package/esm2015/radio/sd-angular-core-radio.js.__ivy_ngcc_bak +5 -0
  381. package/esm2015/select/sd-angular-core-select.js +1 -1
  382. package/esm2015/select/sd-angular-core-select.js.__ivy_ngcc_bak +5 -0
  383. package/esm2015/select-badge/sd-angular-core-select-badge.js +1 -1
  384. package/esm2015/select-badge/sd-angular-core-select-badge.js.__ivy_ngcc_bak +5 -0
  385. package/esm2015/select-editor/sd-angular-core-select-editor.js +1 -1
  386. package/esm2015/select-editor/sd-angular-core-select-editor.js.__ivy_ngcc_bak +5 -0
  387. package/esm2015/service/sd-angular-core-service.js +1 -1
  388. package/esm2015/service/sd-angular-core-service.js.__ivy_ngcc_bak +5 -0
  389. package/esm2015/setting/sd-angular-core-setting.js +1 -1
  390. package/esm2015/setting/sd-angular-core-setting.js.__ivy_ngcc_bak +5 -0
  391. package/esm2015/side-drawer/sd-angular-core-side-drawer.js +1 -1
  392. package/esm2015/side-drawer/sd-angular-core-side-drawer.js.__ivy_ngcc_bak +5 -0
  393. package/esm2015/switch/sd-angular-core-switch.js +1 -1
  394. package/esm2015/switch/sd-angular-core-switch.js.__ivy_ngcc_bak +5 -0
  395. package/esm2015/tab-router/sd-angular-core-tab-router.js +1 -1
  396. package/esm2015/tab-router/sd-angular-core-tab-router.js.__ivy_ngcc_bak +7 -0
  397. package/esm2015/textarea/sd-angular-core-textarea.js +1 -1
  398. package/esm2015/textarea/sd-angular-core-textarea.js.__ivy_ngcc_bak +5 -0
  399. package/esm2015/time/sd-angular-core-time.js +1 -1
  400. package/esm2015/time/sd-angular-core-time.js.__ivy_ngcc_bak +6 -0
  401. package/esm2015/timeline/sd-angular-core-timeline.js +1 -1
  402. package/esm2015/timeline/sd-angular-core-timeline.js.__ivy_ngcc_bak +6 -0
  403. package/esm2015/translate/sd-angular-core-translate.js +1 -1
  404. package/esm2015/translate/sd-angular-core-translate.js.__ivy_ngcc_bak +5 -0
  405. package/esm2015/upload-excel/sd-angular-core-upload-excel.js +1 -1
  406. package/esm2015/upload-excel/sd-angular-core-upload-excel.js.__ivy_ngcc_bak +7 -0
  407. package/esm2015/upload-file/sd-angular-core-upload-file.js +1 -1
  408. package/esm2015/upload-file/sd-angular-core-upload-file.js.__ivy_ngcc_bak +5 -0
  409. package/esm2015/utility/sd-angular-core-utility.js +1 -1
  410. package/esm2015/utility/sd-angular-core-utility.js.__ivy_ngcc_bak +5 -0
  411. package/esm2015/utility/src/lib/utility.service.js +22 -2
  412. package/esm2015/view/sd-angular-core-view.js +1 -1
  413. package/esm2015/view/sd-angular-core-view.js.__ivy_ngcc_bak +5 -0
  414. package/excel/package.json +12 -1
  415. package/excel/sd-angular-core-excel.d.ts +2 -0
  416. package/excel/sd-angular-core-excel.d.ts.__ivy_ngcc_bak +4 -0
  417. package/excel/sd-angular-core-excel.d.ts.map +1 -0
  418. package/export/package.json +12 -1
  419. package/export/sd-angular-core-export.d.ts +2 -0
  420. package/export/sd-angular-core-export.d.ts.__ivy_ngcc_bak +4 -0
  421. package/export/sd-angular-core-export.d.ts.map +1 -0
  422. package/fesm2015/sd-angular-core-api.js +2 -1
  423. package/fesm2015/sd-angular-core-api.js.__ivy_ngcc_bak +496 -0
  424. package/fesm2015/sd-angular-core-api.js.map +1 -1
  425. package/fesm2015/sd-angular-core-api.js.map.__ivy_ngcc_bak +1 -0
  426. package/fesm2015/sd-angular-core-autocomplete.js +2 -1
  427. package/fesm2015/sd-angular-core-autocomplete.js.__ivy_ngcc_bak +427 -0
  428. package/fesm2015/sd-angular-core-autocomplete.js.map +1 -1
  429. package/fesm2015/sd-angular-core-autocomplete.js.map.__ivy_ngcc_bak +1 -0
  430. package/fesm2015/sd-angular-core-badge.js +2 -1
  431. package/fesm2015/sd-angular-core-badge.js.__ivy_ngcc_bak +70 -0
  432. package/fesm2015/sd-angular-core-badge.js.map +1 -1
  433. package/fesm2015/sd-angular-core-badge.js.map.__ivy_ngcc_bak +1 -0
  434. package/fesm2015/sd-angular-core-button.js +2 -1
  435. package/fesm2015/sd-angular-core-button.js.__ivy_ngcc_bak +118 -0
  436. package/fesm2015/sd-angular-core-button.js.map +1 -1
  437. package/fesm2015/sd-angular-core-button.js.map.__ivy_ngcc_bak +1 -0
  438. package/fesm2015/sd-angular-core-cache.js +2 -1
  439. package/fesm2015/sd-angular-core-cache.js.__ivy_ngcc_bak +259 -0
  440. package/fesm2015/sd-angular-core-cache.js.map +1 -1
  441. package/fesm2015/sd-angular-core-cache.js.map.__ivy_ngcc_bak +1 -0
  442. package/fesm2015/sd-angular-core-chart.js +2 -1
  443. package/fesm2015/sd-angular-core-chart.js.__ivy_ngcc_bak +727 -0
  444. package/fesm2015/sd-angular-core-chart.js.map +1 -1
  445. package/fesm2015/sd-angular-core-chart.js.map.__ivy_ngcc_bak +1 -0
  446. package/fesm2015/sd-angular-core-checkbox.js +2 -1
  447. package/fesm2015/sd-angular-core-checkbox.js.__ivy_ngcc_bak +120 -0
  448. package/fesm2015/sd-angular-core-checkbox.js.map +1 -1
  449. package/fesm2015/sd-angular-core-checkbox.js.map.__ivy_ngcc_bak +1 -0
  450. package/fesm2015/sd-angular-core-chip.js +2 -1
  451. package/fesm2015/sd-angular-core-chip.js.__ivy_ngcc_bak +632 -0
  452. package/fesm2015/sd-angular-core-chip.js.map +1 -1
  453. package/fesm2015/sd-angular-core-chip.js.map.__ivy_ngcc_bak +1 -0
  454. package/fesm2015/sd-angular-core-comment.js +2 -1
  455. package/fesm2015/sd-angular-core-comment.js.__ivy_ngcc_bak +118 -0
  456. package/fesm2015/sd-angular-core-comment.js.map +1 -1
  457. package/fesm2015/sd-angular-core-comment.js.map.__ivy_ngcc_bak +1 -0
  458. package/fesm2015/sd-angular-core-common.js +2 -1
  459. package/fesm2015/sd-angular-core-common.js.__ivy_ngcc_bak +562 -0
  460. package/fesm2015/sd-angular-core-common.js.map +1 -1
  461. package/fesm2015/sd-angular-core-common.js.map.__ivy_ngcc_bak +1 -0
  462. package/fesm2015/sd-angular-core-confirm.js +2 -1
  463. package/fesm2015/sd-angular-core-confirm.js.__ivy_ngcc_bak +154 -0
  464. package/fesm2015/sd-angular-core-confirm.js.map +1 -1
  465. package/fesm2015/sd-angular-core-confirm.js.map.__ivy_ngcc_bak +1 -0
  466. package/fesm2015/sd-angular-core-date-month.js +2 -1
  467. package/fesm2015/sd-angular-core-date-month.js.__ivy_ngcc_bak +289 -0
  468. package/fesm2015/sd-angular-core-date-month.js.map +1 -1
  469. package/fesm2015/sd-angular-core-date-month.js.map.__ivy_ngcc_bak +1 -0
  470. package/fesm2015/sd-angular-core-date-range.js +2 -1
  471. package/fesm2015/sd-angular-core-date-range.js.__ivy_ngcc_bak +297 -0
  472. package/fesm2015/sd-angular-core-date-range.js.map +1 -1
  473. package/fesm2015/sd-angular-core-date-range.js.map.__ivy_ngcc_bak +1 -0
  474. package/fesm2015/sd-angular-core-date-time.js +2 -1
  475. package/fesm2015/sd-angular-core-date-time.js.__ivy_ngcc_bak +367 -0
  476. package/fesm2015/sd-angular-core-date-time.js.map +1 -1
  477. package/fesm2015/sd-angular-core-date-time.js.map.__ivy_ngcc_bak +1 -0
  478. package/fesm2015/sd-angular-core-db.js +2 -1
  479. package/fesm2015/sd-angular-core-db.js.__ivy_ngcc_bak +102 -0
  480. package/fesm2015/sd-angular-core-db.js.map +1 -1
  481. package/fesm2015/sd-angular-core-db.js.map.__ivy_ngcc_bak +1 -0
  482. package/fesm2015/sd-angular-core-dynamic-report.js +2 -1
  483. package/fesm2015/sd-angular-core-dynamic-report.js.__ivy_ngcc_bak +82 -0
  484. package/fesm2015/sd-angular-core-dynamic-report.js.map +1 -1
  485. package/fesm2015/sd-angular-core-dynamic-report.js.map.__ivy_ngcc_bak +1 -0
  486. package/fesm2015/sd-angular-core-editor.js +2 -1
  487. package/fesm2015/sd-angular-core-editor.js.__ivy_ngcc_bak +576 -0
  488. package/fesm2015/sd-angular-core-editor.js.map +1 -1
  489. package/fesm2015/sd-angular-core-editor.js.map.__ivy_ngcc_bak +1 -0
  490. package/fesm2015/sd-angular-core-excel.js +2 -1
  491. package/fesm2015/sd-angular-core-excel.js.__ivy_ngcc_bak +100 -0
  492. package/fesm2015/sd-angular-core-excel.js.map +1 -1
  493. package/fesm2015/sd-angular-core-excel.js.map.__ivy_ngcc_bak +1 -0
  494. package/fesm2015/sd-angular-core-export.js +2 -1
  495. package/fesm2015/sd-angular-core-export.js.__ivy_ngcc_bak +272 -0
  496. package/fesm2015/sd-angular-core-export.js.map +1 -1
  497. package/fesm2015/sd-angular-core-export.js.map.__ivy_ngcc_bak +1 -0
  498. package/fesm2015/sd-angular-core-filter.js +2 -1
  499. package/fesm2015/sd-angular-core-filter.js.__ivy_ngcc_bak +323 -0
  500. package/fesm2015/sd-angular-core-filter.js.map +1 -1
  501. package/fesm2015/sd-angular-core-filter.js.map.__ivy_ngcc_bak +1 -0
  502. package/fesm2015/sd-angular-core-form.js +2 -1
  503. package/fesm2015/sd-angular-core-form.js.__ivy_ngcc_bak +104 -0
  504. package/fesm2015/sd-angular-core-form.js.map +1 -1
  505. package/fesm2015/sd-angular-core-form.js.map.__ivy_ngcc_bak +1 -0
  506. package/fesm2015/sd-angular-core-grid-material.js +2 -1
  507. package/fesm2015/sd-angular-core-grid-material.js.__ivy_ngcc_bak +3740 -0
  508. package/fesm2015/sd-angular-core-grid-material.js.map +1 -1
  509. package/fesm2015/sd-angular-core-grid-material.js.map.__ivy_ngcc_bak +1 -0
  510. package/fesm2015/sd-angular-core-grid.js +2 -1
  511. package/fesm2015/sd-angular-core-grid.js.__ivy_ngcc_bak +3935 -0
  512. package/fesm2015/sd-angular-core-grid.js.map +1 -1
  513. package/fesm2015/sd-angular-core-grid.js.map.__ivy_ngcc_bak +1 -0
  514. package/fesm2015/sd-angular-core-group.js +2 -1
  515. package/fesm2015/sd-angular-core-group.js.__ivy_ngcc_bak +74 -0
  516. package/fesm2015/sd-angular-core-group.js.map +1 -1
  517. package/fesm2015/sd-angular-core-group.js.map.__ivy_ngcc_bak +1 -0
  518. package/fesm2015/sd-angular-core-header-title.js +2 -1
  519. package/fesm2015/sd-angular-core-header-title.js.__ivy_ngcc_bak +45 -0
  520. package/fesm2015/sd-angular-core-header-title.js.map +1 -1
  521. package/fesm2015/sd-angular-core-header-title.js.map.__ivy_ngcc_bak +1 -0
  522. package/fesm2015/sd-angular-core-image-preview.js +2 -1
  523. package/fesm2015/sd-angular-core-image-preview.js.__ivy_ngcc_bak +107 -0
  524. package/fesm2015/sd-angular-core-image-preview.js.map +1 -1
  525. package/fesm2015/sd-angular-core-image-preview.js.map.__ivy_ngcc_bak +1 -0
  526. package/fesm2015/sd-angular-core-input-currency.js +2 -1
  527. package/fesm2015/sd-angular-core-input-currency.js.__ivy_ngcc_bak +330 -0
  528. package/fesm2015/sd-angular-core-input-currency.js.map +1 -1
  529. package/fesm2015/sd-angular-core-input-currency.js.map.__ivy_ngcc_bak +1 -0
  530. package/fesm2015/sd-angular-core-input-dropdown.js +2 -1
  531. package/fesm2015/sd-angular-core-input-dropdown.js.__ivy_ngcc_bak +268 -0
  532. package/fesm2015/sd-angular-core-input-dropdown.js.map +1 -1
  533. package/fesm2015/sd-angular-core-input-dropdown.js.map.__ivy_ngcc_bak +1 -0
  534. package/fesm2015/sd-angular-core-input-number.js +2 -1
  535. package/fesm2015/sd-angular-core-input-number.js.__ivy_ngcc_bak +415 -0
  536. package/fesm2015/sd-angular-core-input-number.js.map +1 -1
  537. package/fesm2015/sd-angular-core-input-number.js.map.__ivy_ngcc_bak +1 -0
  538. package/fesm2015/sd-angular-core-input-upload-file.js +2 -1
  539. package/fesm2015/sd-angular-core-input-upload-file.js.__ivy_ngcc_bak +274 -0
  540. package/fesm2015/sd-angular-core-input-upload-file.js.map +1 -1
  541. package/fesm2015/sd-angular-core-input-upload-file.js.map.__ivy_ngcc_bak +1 -0
  542. package/fesm2015/sd-angular-core-input.js +2 -1
  543. package/fesm2015/sd-angular-core-input.js.__ivy_ngcc_bak +398 -0
  544. package/fesm2015/sd-angular-core-input.js.map +1 -1
  545. package/fesm2015/sd-angular-core-input.js.map.__ivy_ngcc_bak +1 -0
  546. package/fesm2015/sd-angular-core-json-editor.js +2 -1
  547. package/fesm2015/sd-angular-core-json-editor.js.__ivy_ngcc_bak +180 -0
  548. package/fesm2015/sd-angular-core-json-editor.js.map +1 -1
  549. package/fesm2015/sd-angular-core-json-editor.js.map.__ivy_ngcc_bak +1 -0
  550. package/fesm2015/sd-angular-core-konva.js +2 -1
  551. package/fesm2015/sd-angular-core-konva.js.__ivy_ngcc_bak +237 -0
  552. package/fesm2015/sd-angular-core-konva.js.map +1 -1
  553. package/fesm2015/sd-angular-core-konva.js.map.__ivy_ngcc_bak +1 -0
  554. package/fesm2015/sd-angular-core-label.js +2 -1
  555. package/fesm2015/sd-angular-core-label.js.__ivy_ngcc_bak +49 -0
  556. package/fesm2015/sd-angular-core-label.js.map +1 -1
  557. package/fesm2015/sd-angular-core-label.js.map.__ivy_ngcc_bak +1 -0
  558. package/fesm2015/sd-angular-core-loading.js +2 -1
  559. package/fesm2015/sd-angular-core-loading.js.__ivy_ngcc_bak +83 -0
  560. package/fesm2015/sd-angular-core-loading.js.map +1 -1
  561. package/fesm2015/sd-angular-core-loading.js.map.__ivy_ngcc_bak +1 -0
  562. package/fesm2015/sd-angular-core-modal-resizable.js +2 -1
  563. package/fesm2015/sd-angular-core-modal-resizable.js.__ivy_ngcc_bak +161 -0
  564. package/fesm2015/sd-angular-core-modal-resizable.js.map +1 -1
  565. package/fesm2015/sd-angular-core-modal-resizable.js.map.__ivy_ngcc_bak +1 -0
  566. package/fesm2015/sd-angular-core-modal.js +2 -1
  567. package/fesm2015/sd-angular-core-modal.js.__ivy_ngcc_bak +284 -0
  568. package/fesm2015/sd-angular-core-modal.js.map +1 -1
  569. package/fesm2015/sd-angular-core-modal.js.map.__ivy_ngcc_bak +1 -0
  570. package/fesm2015/sd-angular-core-notify.js +2 -1
  571. package/fesm2015/sd-angular-core-notify.js.__ivy_ngcc_bak +402 -0
  572. package/fesm2015/sd-angular-core-notify.js.map +1 -1
  573. package/fesm2015/sd-angular-core-notify.js.map.__ivy_ngcc_bak +1 -0
  574. package/fesm2015/sd-angular-core-popover.js +2 -1
  575. package/fesm2015/sd-angular-core-popover.js.__ivy_ngcc_bak +415 -0
  576. package/fesm2015/sd-angular-core-popover.js.map +1 -1
  577. package/fesm2015/sd-angular-core-popover.js.map.__ivy_ngcc_bak +1 -0
  578. package/fesm2015/sd-angular-core-quick-action.js +2 -1
  579. package/fesm2015/sd-angular-core-quick-action.js.__ivy_ngcc_bak +53 -0
  580. package/fesm2015/sd-angular-core-quick-action.js.map +1 -1
  581. package/fesm2015/sd-angular-core-quick-action.js.map.__ivy_ngcc_bak +1 -0
  582. package/fesm2015/sd-angular-core-radio.js +2 -1
  583. package/fesm2015/sd-angular-core-radio.js.__ivy_ngcc_bak +188 -0
  584. package/fesm2015/sd-angular-core-radio.js.map +1 -1
  585. package/fesm2015/sd-angular-core-radio.js.map.__ivy_ngcc_bak +1 -0
  586. package/fesm2015/sd-angular-core-select-badge.js +2 -1
  587. package/fesm2015/sd-angular-core-select-badge.js.__ivy_ngcc_bak +156 -0
  588. package/fesm2015/sd-angular-core-select-badge.js.map +1 -1
  589. package/fesm2015/sd-angular-core-select-badge.js.map.__ivy_ngcc_bak +1 -0
  590. package/fesm2015/sd-angular-core-select-editor.js +2 -1
  591. package/fesm2015/sd-angular-core-select-editor.js.__ivy_ngcc_bak +110 -0
  592. package/fesm2015/sd-angular-core-select-editor.js.map +1 -1
  593. package/fesm2015/sd-angular-core-select-editor.js.map.__ivy_ngcc_bak +1 -0
  594. package/fesm2015/sd-angular-core-select.js +2 -1
  595. package/fesm2015/sd-angular-core-select.js.__ivy_ngcc_bak +487 -0
  596. package/fesm2015/sd-angular-core-select.js.map +1 -1
  597. package/fesm2015/sd-angular-core-select.js.map.__ivy_ngcc_bak +1 -0
  598. package/fesm2015/sd-angular-core-service.js +2 -1
  599. package/fesm2015/sd-angular-core-service.js.__ivy_ngcc_bak +36 -0
  600. package/fesm2015/sd-angular-core-service.js.map +1 -1
  601. package/fesm2015/sd-angular-core-service.js.map.__ivy_ngcc_bak +1 -0
  602. package/fesm2015/sd-angular-core-setting.js +2 -1
  603. package/fesm2015/sd-angular-core-setting.js.__ivy_ngcc_bak +290 -0
  604. package/fesm2015/sd-angular-core-setting.js.map +1 -1
  605. package/fesm2015/sd-angular-core-setting.js.map.__ivy_ngcc_bak +1 -0
  606. package/fesm2015/sd-angular-core-side-drawer.js +2 -1
  607. package/fesm2015/sd-angular-core-side-drawer.js.__ivy_ngcc_bak +115 -0
  608. package/fesm2015/sd-angular-core-side-drawer.js.map +1 -1
  609. package/fesm2015/sd-angular-core-side-drawer.js.map.__ivy_ngcc_bak +1 -0
  610. package/fesm2015/sd-angular-core-switch.js +2 -1
  611. package/fesm2015/sd-angular-core-switch.js.__ivy_ngcc_bak +116 -0
  612. package/fesm2015/sd-angular-core-switch.js.map +1 -1
  613. package/fesm2015/sd-angular-core-switch.js.map.__ivy_ngcc_bak +1 -0
  614. package/fesm2015/sd-angular-core-tab-router.js +2 -1
  615. package/fesm2015/sd-angular-core-tab-router.js.__ivy_ngcc_bak +531 -0
  616. package/fesm2015/sd-angular-core-tab-router.js.map +1 -1
  617. package/fesm2015/sd-angular-core-tab-router.js.map.__ivy_ngcc_bak +1 -0
  618. package/fesm2015/sd-angular-core-textarea.js +2 -1
  619. package/fesm2015/sd-angular-core-textarea.js.__ivy_ngcc_bak +266 -0
  620. package/fesm2015/sd-angular-core-textarea.js.map +1 -1
  621. package/fesm2015/sd-angular-core-textarea.js.map.__ivy_ngcc_bak +1 -0
  622. package/fesm2015/sd-angular-core-time.js +2 -1
  623. package/fesm2015/sd-angular-core-time.js.__ivy_ngcc_bak +143 -0
  624. package/fesm2015/sd-angular-core-time.js.map +1 -1
  625. package/fesm2015/sd-angular-core-time.js.map.__ivy_ngcc_bak +1 -0
  626. package/fesm2015/sd-angular-core-timeline.js +2 -1
  627. package/fesm2015/sd-angular-core-timeline.js.__ivy_ngcc_bak +87 -0
  628. package/fesm2015/sd-angular-core-timeline.js.map +1 -1
  629. package/fesm2015/sd-angular-core-timeline.js.map.__ivy_ngcc_bak +1 -0
  630. package/fesm2015/sd-angular-core-translate.js +2 -1
  631. package/fesm2015/sd-angular-core-translate.js.__ivy_ngcc_bak +101 -0
  632. package/fesm2015/sd-angular-core-translate.js.map +1 -1
  633. package/fesm2015/sd-angular-core-translate.js.map.__ivy_ngcc_bak +1 -0
  634. package/fesm2015/sd-angular-core-upload-excel.js +2 -1
  635. package/fesm2015/sd-angular-core-upload-excel.js.__ivy_ngcc_bak +638 -0
  636. package/fesm2015/sd-angular-core-upload-excel.js.map +1 -1
  637. package/fesm2015/sd-angular-core-upload-excel.js.map.__ivy_ngcc_bak +1 -0
  638. package/fesm2015/sd-angular-core-upload-file.js +2 -1
  639. package/fesm2015/sd-angular-core-upload-file.js.__ivy_ngcc_bak +462 -0
  640. package/fesm2015/sd-angular-core-upload-file.js.map +1 -1
  641. package/fesm2015/sd-angular-core-upload-file.js.map.__ivy_ngcc_bak +1 -0
  642. package/fesm2015/sd-angular-core-utility.js +23 -2
  643. package/fesm2015/sd-angular-core-utility.js.__ivy_ngcc_bak +384 -0
  644. package/fesm2015/sd-angular-core-utility.js.map +1 -1
  645. package/fesm2015/sd-angular-core-utility.js.map.__ivy_ngcc_bak +1 -0
  646. package/fesm2015/sd-angular-core-view.js +2 -1
  647. package/fesm2015/sd-angular-core-view.js.__ivy_ngcc_bak +23 -0
  648. package/fesm2015/sd-angular-core-view.js.map +1 -1
  649. package/fesm2015/sd-angular-core-view.js.map.__ivy_ngcc_bak +1 -0
  650. package/filter/package.json +12 -1
  651. package/filter/sd-angular-core-filter.d.ts +2 -0
  652. package/filter/sd-angular-core-filter.d.ts.__ivy_ngcc_bak +7 -0
  653. package/filter/sd-angular-core-filter.d.ts.map +1 -0
  654. package/form/package.json +12 -1
  655. package/form/sd-angular-core-form.d.ts +2 -0
  656. package/form/sd-angular-core-form.d.ts.__ivy_ngcc_bak +4 -0
  657. package/form/sd-angular-core-form.d.ts.map +1 -0
  658. package/grid/package.json +12 -1
  659. package/grid/sd-angular-core-grid.d.ts +2 -0
  660. package/grid/sd-angular-core-grid.d.ts.__ivy_ngcc_bak +4 -0
  661. package/grid/sd-angular-core-grid.d.ts.map +1 -0
  662. package/grid-material/package.json +12 -1
  663. package/grid-material/sd-angular-core-grid-material.d.ts +2 -0
  664. package/grid-material/sd-angular-core-grid-material.d.ts.__ivy_ngcc_bak +46 -0
  665. package/grid-material/sd-angular-core-grid-material.d.ts.map +1 -0
  666. package/group/package.json +12 -1
  667. package/group/sd-angular-core-group.d.ts +2 -0
  668. package/group/sd-angular-core-group.d.ts.__ivy_ngcc_bak +5 -0
  669. package/group/sd-angular-core-group.d.ts.map +1 -0
  670. package/header-title/package.json +12 -1
  671. package/header-title/sd-angular-core-header-title.d.ts +2 -0
  672. package/header-title/sd-angular-core-header-title.d.ts.__ivy_ngcc_bak +5 -0
  673. package/header-title/sd-angular-core-header-title.d.ts.map +1 -0
  674. package/image-preview/package.json +12 -1
  675. package/image-preview/sd-angular-core-image-preview.d.ts +2 -0
  676. package/image-preview/sd-angular-core-image-preview.d.ts.__ivy_ngcc_bak +6 -0
  677. package/image-preview/sd-angular-core-image-preview.d.ts.map +1 -0
  678. package/input/package.json +12 -1
  679. package/input/sd-angular-core-input.d.ts +2 -0
  680. package/input/sd-angular-core-input.d.ts.__ivy_ngcc_bak +5 -0
  681. package/input/sd-angular-core-input.d.ts.map +1 -0
  682. package/input-currency/package.json +12 -1
  683. package/input-currency/sd-angular-core-input-currency.d.ts +2 -0
  684. package/input-currency/sd-angular-core-input-currency.d.ts.__ivy_ngcc_bak +4 -0
  685. package/input-currency/sd-angular-core-input-currency.d.ts.map +1 -0
  686. package/input-dropdown/package.json +12 -1
  687. package/input-dropdown/sd-angular-core-input-dropdown.d.ts +2 -0
  688. package/input-dropdown/sd-angular-core-input-dropdown.d.ts.__ivy_ngcc_bak +4 -0
  689. package/input-dropdown/sd-angular-core-input-dropdown.d.ts.map +1 -0
  690. package/input-number/package.json +12 -1
  691. package/input-number/sd-angular-core-input-number.d.ts +2 -0
  692. package/input-number/sd-angular-core-input-number.d.ts.__ivy_ngcc_bak +4 -0
  693. package/input-number/sd-angular-core-input-number.d.ts.map +1 -0
  694. package/input-upload-file/package.json +12 -1
  695. package/input-upload-file/sd-angular-core-input-upload-file.d.ts +2 -0
  696. package/input-upload-file/sd-angular-core-input-upload-file.d.ts.__ivy_ngcc_bak +4 -0
  697. package/input-upload-file/sd-angular-core-input-upload-file.d.ts.map +1 -0
  698. package/json-editor/package.json +12 -1
  699. package/json-editor/sd-angular-core-json-editor.d.ts +2 -0
  700. package/json-editor/sd-angular-core-json-editor.d.ts.__ivy_ngcc_bak +4 -0
  701. package/json-editor/sd-angular-core-json-editor.d.ts.map +1 -0
  702. package/konva/package.json +12 -1
  703. package/konva/sd-angular-core-konva.d.ts +2 -0
  704. package/konva/sd-angular-core-konva.d.ts.__ivy_ngcc_bak +4 -0
  705. package/konva/sd-angular-core-konva.d.ts.map +1 -0
  706. package/label/package.json +12 -1
  707. package/label/sd-angular-core-label.d.ts +2 -0
  708. package/label/sd-angular-core-label.d.ts.__ivy_ngcc_bak +5 -0
  709. package/label/sd-angular-core-label.d.ts.map +1 -0
  710. package/loading/package.json +12 -1
  711. package/loading/sd-angular-core-loading.d.ts +2 -0
  712. package/loading/sd-angular-core-loading.d.ts.__ivy_ngcc_bak +4 -0
  713. package/loading/sd-angular-core-loading.d.ts.map +1 -0
  714. package/modal/package.json +12 -1
  715. package/modal/sd-angular-core-modal.d.ts +2 -0
  716. package/modal/sd-angular-core-modal.d.ts.__ivy_ngcc_bak +4 -0
  717. package/modal/sd-angular-core-modal.d.ts.map +1 -0
  718. package/modal-resizable/package.json +12 -1
  719. package/modal-resizable/sd-angular-core-modal-resizable.d.ts +2 -0
  720. package/modal-resizable/sd-angular-core-modal-resizable.d.ts.__ivy_ngcc_bak +4 -0
  721. package/modal-resizable/sd-angular-core-modal-resizable.d.ts.map +1 -0
  722. package/notify/package.json +12 -1
  723. package/notify/sd-angular-core-notify.d.ts +2 -0
  724. package/notify/sd-angular-core-notify.d.ts.__ivy_ngcc_bak +4 -0
  725. package/notify/sd-angular-core-notify.d.ts.map +1 -0
  726. package/package.json +1 -1
  727. package/popover/package.json +12 -1
  728. package/popover/sd-angular-core-popover.d.ts +2 -0
  729. package/popover/sd-angular-core-popover.d.ts.__ivy_ngcc_bak +4 -0
  730. package/popover/sd-angular-core-popover.d.ts.map +1 -0
  731. package/quick-action/package.json +12 -1
  732. package/quick-action/sd-angular-core-quick-action.d.ts +2 -0
  733. package/quick-action/sd-angular-core-quick-action.d.ts.__ivy_ngcc_bak +4 -0
  734. package/quick-action/sd-angular-core-quick-action.d.ts.map +1 -0
  735. package/radio/package.json +12 -1
  736. package/radio/sd-angular-core-radio.d.ts +2 -0
  737. package/radio/sd-angular-core-radio.d.ts.__ivy_ngcc_bak +4 -0
  738. package/radio/sd-angular-core-radio.d.ts.map +1 -0
  739. package/sd-angular-core-1.3.0.tgz +0 -0
  740. package/select/package.json +12 -1
  741. package/select/sd-angular-core-select.d.ts +2 -0
  742. package/select/sd-angular-core-select.d.ts.__ivy_ngcc_bak +4 -0
  743. package/select/sd-angular-core-select.d.ts.map +1 -0
  744. package/select-badge/package.json +12 -1
  745. package/select-badge/sd-angular-core-select-badge.d.ts +2 -0
  746. package/select-badge/sd-angular-core-select-badge.d.ts.__ivy_ngcc_bak +4 -0
  747. package/select-badge/sd-angular-core-select-badge.d.ts.map +1 -0
  748. package/select-editor/package.json +12 -1
  749. package/select-editor/sd-angular-core-select-editor.d.ts +2 -0
  750. package/select-editor/sd-angular-core-select-editor.d.ts.__ivy_ngcc_bak +4 -0
  751. package/select-editor/sd-angular-core-select-editor.d.ts.map +1 -0
  752. package/service/package.json +12 -1
  753. package/service/sd-angular-core-service.d.ts +2 -0
  754. package/service/sd-angular-core-service.d.ts.__ivy_ngcc_bak +4 -0
  755. package/service/sd-angular-core-service.d.ts.map +1 -0
  756. package/setting/package.json +12 -1
  757. package/setting/sd-angular-core-setting.d.ts +2 -0
  758. package/setting/sd-angular-core-setting.d.ts.__ivy_ngcc_bak +4 -0
  759. package/setting/sd-angular-core-setting.d.ts.map +1 -0
  760. package/side-drawer/package.json +12 -1
  761. package/side-drawer/sd-angular-core-side-drawer.d.ts +2 -0
  762. package/side-drawer/sd-angular-core-side-drawer.d.ts.__ivy_ngcc_bak +4 -0
  763. package/side-drawer/sd-angular-core-side-drawer.d.ts.map +1 -0
  764. package/switch/package.json +12 -1
  765. package/switch/sd-angular-core-switch.d.ts +2 -0
  766. package/switch/sd-angular-core-switch.d.ts.__ivy_ngcc_bak +4 -0
  767. package/switch/sd-angular-core-switch.d.ts.map +1 -0
  768. package/tab-router/package.json +12 -1
  769. package/tab-router/sd-angular-core-tab-router.d.ts +2 -0
  770. package/tab-router/sd-angular-core-tab-router.d.ts.__ivy_ngcc_bak +6 -0
  771. package/tab-router/sd-angular-core-tab-router.d.ts.map +1 -0
  772. package/textarea/package.json +12 -1
  773. package/textarea/sd-angular-core-textarea.d.ts +2 -0
  774. package/textarea/sd-angular-core-textarea.d.ts.__ivy_ngcc_bak +4 -0
  775. package/textarea/sd-angular-core-textarea.d.ts.map +1 -0
  776. package/time/package.json +12 -1
  777. package/time/sd-angular-core-time.d.ts +2 -0
  778. package/time/sd-angular-core-time.d.ts.__ivy_ngcc_bak +5 -0
  779. package/time/sd-angular-core-time.d.ts.map +1 -0
  780. package/timeline/package.json +12 -1
  781. package/timeline/sd-angular-core-timeline.d.ts +2 -0
  782. package/timeline/sd-angular-core-timeline.d.ts.__ivy_ngcc_bak +5 -0
  783. package/timeline/sd-angular-core-timeline.d.ts.map +1 -0
  784. package/translate/package.json +12 -1
  785. package/translate/sd-angular-core-translate.d.ts +2 -0
  786. package/translate/sd-angular-core-translate.d.ts.__ivy_ngcc_bak +4 -0
  787. package/translate/sd-angular-core-translate.d.ts.map +1 -0
  788. package/upload-excel/package.json +12 -1
  789. package/upload-excel/sd-angular-core-upload-excel.d.ts +2 -0
  790. package/upload-excel/sd-angular-core-upload-excel.d.ts.__ivy_ngcc_bak +6 -0
  791. package/upload-excel/sd-angular-core-upload-excel.d.ts.map +1 -0
  792. package/upload-file/package.json +12 -1
  793. package/upload-file/sd-angular-core-upload-file.d.ts +2 -0
  794. package/upload-file/sd-angular-core-upload-file.d.ts.__ivy_ngcc_bak +4 -0
  795. package/upload-file/sd-angular-core-upload-file.d.ts.map +1 -0
  796. package/utility/package.json +12 -1
  797. package/utility/sd-angular-core-utility.d.ts +2 -0
  798. package/utility/sd-angular-core-utility.d.ts.__ivy_ngcc_bak +4 -0
  799. package/utility/sd-angular-core-utility.d.ts.map +1 -0
  800. package/utility/src/lib/utility.service.d.ts +4 -0
  801. package/view/package.json +12 -1
  802. package/view/sd-angular-core-view.d.ts +2 -0
  803. package/view/sd-angular-core-view.d.ts.__ivy_ngcc_bak +4 -0
  804. package/view/sd-angular-core-view.d.ts.map +1 -0
  805. package/sd-angular-core-1.2.99.tgz +0 -0
@@ -0,0 +1,876 @@
1
+ (function (global, factory) {
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common/http'), require('rxjs'), require('rxjs/operators'), require('object-hash'), require('@sd-angular/core/cache'), require('jquery'), require('uuid')) :
3
+ typeof define === 'function' && define.amd ? define('@sd-angular/core/api', ['exports', '@angular/core', '@angular/common/http', 'rxjs', 'rxjs/operators', 'object-hash', '@sd-angular/core/cache', 'jquery', 'uuid'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global['sd-angular'] = global['sd-angular'] || {}, global['sd-angular'].core = global['sd-angular'].core || {}, global['sd-angular'].core.api = {}), global.ng.core, global.ng.common.http, global.rxjs, global.rxjs.operators, global['object-hash'], global['sd-angular'].core.cache, global.jquery, global.uuid));
5
+ }(this, (function (exports, i0, i1, rxjs, operators, hash, i2, $, uuid) { 'use strict';
6
+
7
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
+
9
+ var hash__default = /*#__PURE__*/_interopDefaultLegacy(hash);
10
+ var $__default = /*#__PURE__*/_interopDefaultLegacy($);
11
+
12
+ var API_CONFIG = new i0.InjectionToken('api.configuration');
13
+ var TOKEN = hash__default['default']({
14
+ origin: location.origin,
15
+ key: 'ed4a2ffc-af43-41fb-9ac9-970f43d99571'
16
+ });
17
+
18
+ var SdTokenService = /** @class */ (function () {
19
+ function SdTokenService(configuration, cacheService) {
20
+ var _this = this;
21
+ this.configuration = configuration;
22
+ this.cacheService = cacheService;
23
+ this.set = function (token) {
24
+ var set = _this.cacheService.create(TOKEN, {
25
+ type: 'local',
26
+ hours: 240
27
+ }).set;
28
+ set(token);
29
+ };
30
+ this.clear = function () {
31
+ var remove = _this.cacheService.create(TOKEN, {
32
+ type: 'local',
33
+ hours: 240
34
+ }).remove;
35
+ remove();
36
+ };
37
+ this.customHeaders = function (args) {
38
+ var _a, _b;
39
+ return ((_b = (_a = _this.configuration) === null || _a === void 0 ? void 0 : _a.customHeaders) === null || _b === void 0 ? void 0 : _b.call(_a, args)) || null;
40
+ };
41
+ }
42
+ Object.defineProperty(SdTokenService.prototype, "token", {
43
+ get: function () {
44
+ var get = this.cacheService.create(TOKEN, {
45
+ type: 'local',
46
+ hours: 240
47
+ }).get;
48
+ return get();
49
+ },
50
+ enumerable: false,
51
+ configurable: true
52
+ });
53
+ return SdTokenService;
54
+ }());
55
+ SdTokenService.ɵprov = i0.ɵɵdefineInjectable({ factory: function SdTokenService_Factory() { return new SdTokenService(i0.ɵɵinject(API_CONFIG, 8), i0.ɵɵinject(i2.SdCacheService)); }, token: SdTokenService, providedIn: "root" });
56
+ SdTokenService.decorators = [
57
+ { type: i0.Injectable, args: [{
58
+ providedIn: 'root'
59
+ },] }
60
+ ];
61
+ SdTokenService.ctorParameters = function () { return [
62
+ { type: undefined, decorators: [{ type: i0.Inject, args: [API_CONFIG,] }, { type: i0.Optional }] },
63
+ { type: i2.SdCacheService }
64
+ ]; };
65
+
66
+ var SdHttpInterceptor = /** @class */ (function () {
67
+ function SdHttpInterceptor(configuration, tokenService) {
68
+ this.configuration = configuration;
69
+ this.tokenService = tokenService;
70
+ }
71
+ SdHttpInterceptor.prototype.intercept = function (request, next) {
72
+ var _this = this;
73
+ var _a, _b, _c, _d;
74
+ if (((_a = this.configuration) === null || _a === void 0 ? void 0 : _a.tokenHeader) && this.tokenService.token) {
75
+ request = request.clone({ headers: request.headers.set(this.configuration.tokenHeader, this.tokenService.token) });
76
+ }
77
+ if (!request.url.startsWith('http')) {
78
+ request = request.clone({
79
+ url: (((_b = this.configuration) === null || _b === void 0 ? void 0 : _b.host) || location.host) + request.url
80
+ });
81
+ }
82
+ if (request.body instanceof FormData) {
83
+ request = request.clone({
84
+ headers: request.headers.delete('Content-Type')
85
+ });
86
+ }
87
+ var beforeRemote = (_d = (_c = this.configuration) === null || _c === void 0 ? void 0 : _c.beforeRemote) === null || _d === void 0 ? void 0 : _d.call(_c, request);
88
+ if (beforeRemote instanceof Promise) {
89
+ return rxjs.from(beforeRemote).pipe(operators.switchMap(function () { return next.handle(request); }), operators.map(function (event) {
90
+ var _a, _b;
91
+ if (event instanceof i1.HttpResponse) {
92
+ (_b = (_a = _this.configuration) === null || _a === void 0 ? void 0 : _a.afterRemote) === null || _b === void 0 ? void 0 : _b.call(_a, event);
93
+ }
94
+ return event;
95
+ }), operators.catchError(function (error) {
96
+ var _a, _b;
97
+ (_b = (_a = _this.configuration) === null || _a === void 0 ? void 0 : _a.afterRemote) === null || _b === void 0 ? void 0 : _b.call(_a, error);
98
+ return rxjs.throwError(error);
99
+ }));
100
+ }
101
+ return next.handle(request).pipe(operators.map(function (event) {
102
+ var _a, _b;
103
+ if (event instanceof i1.HttpResponse) {
104
+ (_b = (_a = _this.configuration) === null || _a === void 0 ? void 0 : _a.afterRemote) === null || _b === void 0 ? void 0 : _b.call(_a, event);
105
+ }
106
+ return event;
107
+ }), operators.catchError(function (error) {
108
+ var _a, _b;
109
+ (_b = (_a = _this.configuration) === null || _a === void 0 ? void 0 : _a.afterRemote) === null || _b === void 0 ? void 0 : _b.call(_a, error);
110
+ return rxjs.throwError(error);
111
+ }));
112
+ };
113
+ return SdHttpInterceptor;
114
+ }());
115
+ SdHttpInterceptor.decorators = [
116
+ { type: i0.Injectable }
117
+ ];
118
+ SdHttpInterceptor.ctorParameters = function () { return [
119
+ { type: undefined, decorators: [{ type: i0.Inject, args: [API_CONFIG,] }, { type: i0.Optional }] },
120
+ { type: SdTokenService }
121
+ ]; };
122
+
123
+ var SdApiModule = /** @class */ (function () {
124
+ function SdApiModule() {
125
+ }
126
+ return SdApiModule;
127
+ }());
128
+ SdApiModule.decorators = [
129
+ { type: i0.NgModule, args: [{
130
+ imports: [
131
+ i1.HttpClientModule,
132
+ ],
133
+ exports: [
134
+ i1.HttpClientModule
135
+ ],
136
+ providers: [
137
+ { provide: i1.HTTP_INTERCEPTORS, useClass: SdHttpInterceptor, multi: true }
138
+ ],
139
+ },] }
140
+ ];
141
+
142
+ /*! *****************************************************************************
143
+ Copyright (c) Microsoft Corporation.
144
+
145
+ Permission to use, copy, modify, and/or distribute this software for any
146
+ purpose with or without fee is hereby granted.
147
+
148
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
149
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
150
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
151
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
152
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
153
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
154
+ PERFORMANCE OF THIS SOFTWARE.
155
+ ***************************************************************************** */
156
+ /* global Reflect, Promise */
157
+ var extendStatics = function (d, b) {
158
+ extendStatics = Object.setPrototypeOf ||
159
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
160
+ function (d, b) { for (var p in b)
161
+ if (Object.prototype.hasOwnProperty.call(b, p))
162
+ d[p] = b[p]; };
163
+ return extendStatics(d, b);
164
+ };
165
+ function __extends(d, b) {
166
+ if (typeof b !== "function" && b !== null)
167
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
168
+ extendStatics(d, b);
169
+ function __() { this.constructor = d; }
170
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
171
+ }
172
+ var __assign = function () {
173
+ __assign = Object.assign || function __assign(t) {
174
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
175
+ s = arguments[i];
176
+ for (var p in s)
177
+ if (Object.prototype.hasOwnProperty.call(s, p))
178
+ t[p] = s[p];
179
+ }
180
+ return t;
181
+ };
182
+ return __assign.apply(this, arguments);
183
+ };
184
+ function __rest(s, e) {
185
+ var t = {};
186
+ for (var p in s)
187
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
188
+ t[p] = s[p];
189
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
190
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
191
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
192
+ t[p[i]] = s[p[i]];
193
+ }
194
+ return t;
195
+ }
196
+ function __decorate(decorators, target, key, desc) {
197
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
198
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
199
+ r = Reflect.decorate(decorators, target, key, desc);
200
+ else
201
+ for (var i = decorators.length - 1; i >= 0; i--)
202
+ if (d = decorators[i])
203
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
204
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
205
+ }
206
+ function __param(paramIndex, decorator) {
207
+ return function (target, key) { decorator(target, key, paramIndex); };
208
+ }
209
+ function __metadata(metadataKey, metadataValue) {
210
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
211
+ return Reflect.metadata(metadataKey, metadataValue);
212
+ }
213
+ function __awaiter(thisArg, _arguments, P, generator) {
214
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
215
+ return new (P || (P = Promise))(function (resolve, reject) {
216
+ function fulfilled(value) { try {
217
+ step(generator.next(value));
218
+ }
219
+ catch (e) {
220
+ reject(e);
221
+ } }
222
+ function rejected(value) { try {
223
+ step(generator["throw"](value));
224
+ }
225
+ catch (e) {
226
+ reject(e);
227
+ } }
228
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
229
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
230
+ });
231
+ }
232
+ function __generator(thisArg, body) {
233
+ var _ = { label: 0, sent: function () { if (t[0] & 1)
234
+ throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
235
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
236
+ function verb(n) { return function (v) { return step([n, v]); }; }
237
+ function step(op) {
238
+ if (f)
239
+ throw new TypeError("Generator is already executing.");
240
+ while (_)
241
+ try {
242
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
243
+ return t;
244
+ if (y = 0, t)
245
+ op = [op[0] & 2, t.value];
246
+ switch (op[0]) {
247
+ case 0:
248
+ case 1:
249
+ t = op;
250
+ break;
251
+ case 4:
252
+ _.label++;
253
+ return { value: op[1], done: false };
254
+ case 5:
255
+ _.label++;
256
+ y = op[1];
257
+ op = [0];
258
+ continue;
259
+ case 7:
260
+ op = _.ops.pop();
261
+ _.trys.pop();
262
+ continue;
263
+ default:
264
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
265
+ _ = 0;
266
+ continue;
267
+ }
268
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
269
+ _.label = op[1];
270
+ break;
271
+ }
272
+ if (op[0] === 6 && _.label < t[1]) {
273
+ _.label = t[1];
274
+ t = op;
275
+ break;
276
+ }
277
+ if (t && _.label < t[2]) {
278
+ _.label = t[2];
279
+ _.ops.push(op);
280
+ break;
281
+ }
282
+ if (t[2])
283
+ _.ops.pop();
284
+ _.trys.pop();
285
+ continue;
286
+ }
287
+ op = body.call(thisArg, _);
288
+ }
289
+ catch (e) {
290
+ op = [6, e];
291
+ y = 0;
292
+ }
293
+ finally {
294
+ f = t = 0;
295
+ }
296
+ if (op[0] & 5)
297
+ throw op[1];
298
+ return { value: op[0] ? op[1] : void 0, done: true };
299
+ }
300
+ }
301
+ var __createBinding = Object.create ? (function (o, m, k, k2) {
302
+ if (k2 === undefined)
303
+ k2 = k;
304
+ Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
305
+ }) : (function (o, m, k, k2) {
306
+ if (k2 === undefined)
307
+ k2 = k;
308
+ o[k2] = m[k];
309
+ });
310
+ function __exportStar(m, o) {
311
+ for (var p in m)
312
+ if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
313
+ __createBinding(o, m, p);
314
+ }
315
+ function __values(o) {
316
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
317
+ if (m)
318
+ return m.call(o);
319
+ if (o && typeof o.length === "number")
320
+ return {
321
+ next: function () {
322
+ if (o && i >= o.length)
323
+ o = void 0;
324
+ return { value: o && o[i++], done: !o };
325
+ }
326
+ };
327
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
328
+ }
329
+ function __read(o, n) {
330
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
331
+ if (!m)
332
+ return o;
333
+ var i = m.call(o), r, ar = [], e;
334
+ try {
335
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
336
+ ar.push(r.value);
337
+ }
338
+ catch (error) {
339
+ e = { error: error };
340
+ }
341
+ finally {
342
+ try {
343
+ if (r && !r.done && (m = i["return"]))
344
+ m.call(i);
345
+ }
346
+ finally {
347
+ if (e)
348
+ throw e.error;
349
+ }
350
+ }
351
+ return ar;
352
+ }
353
+ /** @deprecated */
354
+ function __spread() {
355
+ for (var ar = [], i = 0; i < arguments.length; i++)
356
+ ar = ar.concat(__read(arguments[i]));
357
+ return ar;
358
+ }
359
+ /** @deprecated */
360
+ function __spreadArrays() {
361
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++)
362
+ s += arguments[i].length;
363
+ for (var r = Array(s), k = 0, i = 0; i < il; i++)
364
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
365
+ r[k] = a[j];
366
+ return r;
367
+ }
368
+ function __spreadArray(to, from, pack) {
369
+ if (pack || arguments.length === 2)
370
+ for (var i = 0, l = from.length, ar; i < l; i++) {
371
+ if (ar || !(i in from)) {
372
+ if (!ar)
373
+ ar = Array.prototype.slice.call(from, 0, i);
374
+ ar[i] = from[i];
375
+ }
376
+ }
377
+ return to.concat(ar || Array.prototype.slice.call(from));
378
+ }
379
+ function __await(v) {
380
+ return this instanceof __await ? (this.v = v, this) : new __await(v);
381
+ }
382
+ function __asyncGenerator(thisArg, _arguments, generator) {
383
+ if (!Symbol.asyncIterator)
384
+ throw new TypeError("Symbol.asyncIterator is not defined.");
385
+ var g = generator.apply(thisArg, _arguments || []), i, q = [];
386
+ return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
387
+ function verb(n) { if (g[n])
388
+ i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
389
+ function resume(n, v) { try {
390
+ step(g[n](v));
391
+ }
392
+ catch (e) {
393
+ settle(q[0][3], e);
394
+ } }
395
+ function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
396
+ function fulfill(value) { resume("next", value); }
397
+ function reject(value) { resume("throw", value); }
398
+ function settle(f, v) { if (f(v), q.shift(), q.length)
399
+ resume(q[0][0], q[0][1]); }
400
+ }
401
+ function __asyncDelegator(o) {
402
+ var i, p;
403
+ return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
404
+ function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
405
+ }
406
+ function __asyncValues(o) {
407
+ if (!Symbol.asyncIterator)
408
+ throw new TypeError("Symbol.asyncIterator is not defined.");
409
+ var m = o[Symbol.asyncIterator], i;
410
+ return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
411
+ function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
412
+ function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
413
+ }
414
+ function __makeTemplateObject(cooked, raw) {
415
+ if (Object.defineProperty) {
416
+ Object.defineProperty(cooked, "raw", { value: raw });
417
+ }
418
+ else {
419
+ cooked.raw = raw;
420
+ }
421
+ return cooked;
422
+ }
423
+ ;
424
+ var __setModuleDefault = Object.create ? (function (o, v) {
425
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
426
+ }) : function (o, v) {
427
+ o["default"] = v;
428
+ };
429
+ function __importStar(mod) {
430
+ if (mod && mod.__esModule)
431
+ return mod;
432
+ var result = {};
433
+ if (mod != null)
434
+ for (var k in mod)
435
+ if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
436
+ __createBinding(result, mod, k);
437
+ __setModuleDefault(result, mod);
438
+ return result;
439
+ }
440
+ function __importDefault(mod) {
441
+ return (mod && mod.__esModule) ? mod : { default: mod };
442
+ }
443
+ function __classPrivateFieldGet(receiver, state, kind, f) {
444
+ if (kind === "a" && !f)
445
+ throw new TypeError("Private accessor was defined without a getter");
446
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
447
+ throw new TypeError("Cannot read private member from an object whose class did not declare it");
448
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
449
+ }
450
+ function __classPrivateFieldSet(receiver, state, value, kind, f) {
451
+ if (kind === "m")
452
+ throw new TypeError("Private method is not writable");
453
+ if (kind === "a" && !f)
454
+ throw new TypeError("Private accessor was defined without a setter");
455
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
456
+ throw new TypeError("Cannot write private member to an object whose class did not declare it");
457
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
458
+ }
459
+
460
+ var _timeout, _cacheDuration, _cache, _defineParams;
461
+ var SdApiService = /** @class */ (function () {
462
+ function SdApiService(httpClient, configuration, cacheService, tokenService) {
463
+ var _this = this;
464
+ this.httpClient = httpClient;
465
+ this.configuration = configuration;
466
+ this.cacheService = cacheService;
467
+ this.tokenService = tokenService;
468
+ this.uploadId = 'U118fefb1-3085-4641-8cb8-f7fe5c28f509';
469
+ _timeout.set(this, 120000); // 120s
470
+ _cacheDuration.set(this, 2000); // 2s
471
+ _cache.set(this, {});
472
+ this.translate = function (value) {
473
+ var _a;
474
+ return ((_a = _this.configuration) === null || _a === void 0 ? void 0 : _a.translate(value)) || value;
475
+ };
476
+ this.post = function (url, body, headers, options) { return __awaiter(_this, void 0, void 0, function () {
477
+ var _a, _b, hashKey;
478
+ var _this = this;
479
+ return __generator(this, function (_d) {
480
+ headers = headers || this.tokenService.customHeaders({
481
+ url: url
482
+ });
483
+ hashKey = uuid.v4();
484
+ if (!(body instanceof FormData)) {
485
+ hashKey = hash__default['default']({
486
+ url: url,
487
+ headers: headers,
488
+ body: body
489
+ });
490
+ }
491
+ if (!__classPrivateFieldGet(this, _cache)[hashKey] || Date.addMiliseconds(__classPrivateFieldGet(this, _cache)[hashKey].createdDate, __classPrivateFieldGet(this, _cacheDuration)) < new Date()) {
492
+ __classPrivateFieldGet(this, _cache)[hashKey] = {
493
+ createdDate: new Date(),
494
+ subject: new rxjs.Subject(),
495
+ };
496
+ if ((options === null || options === void 0 ? void 0 : options.responseType) && options.responseType !== 'json') {
497
+ this.httpClient.post(encodeURI(url), body, {
498
+ observe: 'body',
499
+ headers: headers,
500
+ responseType: options === null || options === void 0 ? void 0 : options.responseType
501
+ }).pipe(operators.timeout(__classPrivateFieldGet(this, _timeout))).subscribe(function (res) {
502
+ __classPrivateFieldGet(_this, _cache)[hashKey].response = {
503
+ status: 'success',
504
+ result: res
505
+ };
506
+ __classPrivateFieldGet(_this, _cache)[hashKey].subject.next(res);
507
+ }, function (err) {
508
+ __classPrivateFieldGet(_this, _cache)[hashKey].response = {
509
+ status: 'error',
510
+ result: err
511
+ };
512
+ __classPrivateFieldGet(_this, _cache)[hashKey].subject.error(err);
513
+ });
514
+ }
515
+ else {
516
+ this.httpClient.post(encodeURI(url), body, {
517
+ observe: 'response',
518
+ headers: headers
519
+ }).pipe(operators.timeout(__classPrivateFieldGet(this, _timeout))).subscribe(function (res) {
520
+ if (res.ok) {
521
+ __classPrivateFieldGet(_this, _cache)[hashKey].response = {
522
+ status: 'success',
523
+ result: res.body
524
+ };
525
+ __classPrivateFieldGet(_this, _cache)[hashKey].subject.next(res.body);
526
+ }
527
+ else {
528
+ __classPrivateFieldGet(_this, _cache)[hashKey].response = {
529
+ status: 'error',
530
+ result: res.body
531
+ };
532
+ __classPrivateFieldGet(_this, _cache)[hashKey].subject.error(res.body);
533
+ }
534
+ }, function (err) {
535
+ __classPrivateFieldGet(_this, _cache)[hashKey].response = {
536
+ status: 'error',
537
+ result: err
538
+ };
539
+ __classPrivateFieldGet(_this, _cache)[hashKey].subject.error(err);
540
+ });
541
+ }
542
+ }
543
+ if ((_a = __classPrivateFieldGet(this, _cache)[hashKey].response) === null || _a === void 0 ? void 0 : _a.status) {
544
+ if (((_b = __classPrivateFieldGet(this, _cache)[hashKey].response) === null || _b === void 0 ? void 0 : _b.status) === 'success') {
545
+ return [2 /*return*/, __classPrivateFieldGet(this, _cache)[hashKey].response.result];
546
+ }
547
+ throw __classPrivateFieldGet(this, _cache)[hashKey].response.result;
548
+ }
549
+ return [2 /*return*/, __classPrivateFieldGet(this, _cache)[hashKey].subject.pipe(operators.take(1)).toPromise()];
550
+ });
551
+ }); };
552
+ this.postCache = function (url, body, options) { return __awaiter(_this, void 0, void 0, function () {
553
+ var headers, _d, get, set, has, result;
554
+ return __generator(this, function (_e) {
555
+ switch (_e.label) {
556
+ case 0:
557
+ headers = (options === null || options === void 0 ? void 0 : options.headers) || this.tokenService.customHeaders({
558
+ url: url
559
+ });
560
+ _d = this.cacheService.create({
561
+ url: url,
562
+ headers: headers,
563
+ body: body
564
+ }, {
565
+ type: options === null || options === void 0 ? void 0 : options.cacheType,
566
+ hours: options === null || options === void 0 ? void 0 : options.cacheHours
567
+ }), get = _d.get, set = _d.set, has = _d.has;
568
+ if (!!has()) return [3 /*break*/, 2];
569
+ return [4 /*yield*/, this.post(url, body, options === null || options === void 0 ? void 0 : options.headers)];
570
+ case 1:
571
+ result = _e.sent();
572
+ set(result);
573
+ return [2 /*return*/, result];
574
+ case 2: return [2 /*return*/, get()];
575
+ }
576
+ });
577
+ }); };
578
+ _defineParams.set(this, function (request) {
579
+ var e_1, _d;
580
+ var rq = [];
581
+ try {
582
+ for (var _e = __values(Object.entries(request)), _f = _e.next(); !_f.done; _f = _e.next()) {
583
+ var _g = __read(_f.value, 2), key = _g[0], value = _g[1];
584
+ if (value !== null && value !== undefined && value !== '' && (value === null || value === void 0 ? void 0 : value.toString()) !== '') {
585
+ rq.push(encodeURIComponent(key) + "=" + encodeURIComponent(value));
586
+ }
587
+ }
588
+ }
589
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
590
+ finally {
591
+ try {
592
+ if (_f && !_f.done && (_d = _e.return)) _d.call(_e);
593
+ }
594
+ finally { if (e_1) throw e_1.error; }
595
+ }
596
+ return "?" + (rq === null || rq === void 0 ? void 0 : rq.join('&'));
597
+ });
598
+ this.getWithParams = function (url, params, options) {
599
+ return _this.get("" + url + __classPrivateFieldGet(_this, _defineParams).call(_this, params), options === null || options === void 0 ? void 0 : options.headers, Object.assign(Object.assign({}, options), { encodeURI: false }));
600
+ };
601
+ this.getCacheWithParams = function (url, params, headers, options) {
602
+ return _this.getCache("" + url + __classPrivateFieldGet(_this, _defineParams).call(_this, params), Object.assign(Object.assign({}, options), { headers: headers, encodeURI: false }));
603
+ };
604
+ this.get = function (url, headers, options) {
605
+ var _a, _b;
606
+ headers = headers || _this.tokenService.customHeaders({
607
+ url: url
608
+ });
609
+ var encodedUrl = (options === null || options === void 0 ? void 0 : options.encodeURI) === false ? url : encodeURI(url);
610
+ // const hashKey = hash({
611
+ // encodedUrl,
612
+ // headers
613
+ // });
614
+ var hashKey = hash__default['default']({
615
+ encodedUrl: encodedUrl,
616
+ headers: headers
617
+ });
618
+ if (!__classPrivateFieldGet(_this, _cache)[hashKey] || Date.addMiliseconds(__classPrivateFieldGet(_this, _cache)[hashKey].createdDate, __classPrivateFieldGet(_this, _cacheDuration)) < new Date()) {
619
+ __classPrivateFieldGet(_this, _cache)[hashKey] = {
620
+ createdDate: new Date(),
621
+ subject: new rxjs.Subject()
622
+ };
623
+ if ((options === null || options === void 0 ? void 0 : options.responseType) && options.responseType !== 'json') {
624
+ _this.httpClient.get(encodedUrl, { observe: 'body', headers: headers, responseType: options === null || options === void 0 ? void 0 : options.responseType })
625
+ .pipe(operators.timeout(__classPrivateFieldGet(_this, _timeout))).subscribe(function (res) {
626
+ __classPrivateFieldGet(_this, _cache)[hashKey].response = {
627
+ status: 'success',
628
+ result: res
629
+ };
630
+ __classPrivateFieldGet(_this, _cache)[hashKey].subject.next(res);
631
+ }, function (err) {
632
+ __classPrivateFieldGet(_this, _cache)[hashKey].response = {
633
+ status: 'error',
634
+ result: err
635
+ };
636
+ __classPrivateFieldGet(_this, _cache)[hashKey].subject.error(err);
637
+ });
638
+ }
639
+ else {
640
+ _this.httpClient.get(encodedUrl, { observe: 'response', headers: headers })
641
+ .pipe(operators.timeout(__classPrivateFieldGet(_this, _timeout))).subscribe(function (res) {
642
+ if (res.ok) {
643
+ __classPrivateFieldGet(_this, _cache)[hashKey].response = {
644
+ status: 'success',
645
+ result: res.body
646
+ };
647
+ __classPrivateFieldGet(_this, _cache)[hashKey].subject.next(res.body);
648
+ }
649
+ else {
650
+ __classPrivateFieldGet(_this, _cache)[hashKey].response = {
651
+ status: 'error',
652
+ result: res.body
653
+ };
654
+ __classPrivateFieldGet(_this, _cache)[hashKey].subject.error(res.body);
655
+ }
656
+ }, function (err) {
657
+ __classPrivateFieldGet(_this, _cache)[hashKey].response = {
658
+ status: 'error',
659
+ result: err
660
+ };
661
+ __classPrivateFieldGet(_this, _cache)[hashKey].subject.error(err);
662
+ });
663
+ }
664
+ }
665
+ if ((_a = __classPrivateFieldGet(_this, _cache)[hashKey].response) === null || _a === void 0 ? void 0 : _a.status) {
666
+ if (((_b = __classPrivateFieldGet(_this, _cache)[hashKey].response) === null || _b === void 0 ? void 0 : _b.status) === 'success') {
667
+ return __classPrivateFieldGet(_this, _cache)[hashKey].response.result;
668
+ }
669
+ throw __classPrivateFieldGet(_this, _cache)[hashKey].response.result;
670
+ }
671
+ return __classPrivateFieldGet(_this, _cache)[hashKey].subject.pipe(operators.take(1)).toPromise();
672
+ };
673
+ this.getCache = function (url, options) { return __awaiter(_this, void 0, void 0, function () {
674
+ var headers, encodedUrl, _d, get, set, has, result;
675
+ return __generator(this, function (_e) {
676
+ switch (_e.label) {
677
+ case 0:
678
+ headers = (options === null || options === void 0 ? void 0 : options.headers) || this.tokenService.customHeaders({
679
+ url: url
680
+ });
681
+ encodedUrl = (options === null || options === void 0 ? void 0 : options.encodeURI) === false ? url : encodeURI(url);
682
+ _d = this.cacheService.create({
683
+ encodedUrl: encodedUrl,
684
+ headers: headers
685
+ }, {
686
+ type: options === null || options === void 0 ? void 0 : options.cacheType,
687
+ hours: options === null || options === void 0 ? void 0 : options.cacheHours
688
+ }), get = _d.get, set = _d.set, has = _d.has;
689
+ if (!(!has() || (options === null || options === void 0 ? void 0 : options.reload))) return [3 /*break*/, 2];
690
+ return [4 /*yield*/, this.get(encodedUrl, options === null || options === void 0 ? void 0 : options.headers, { encodeURI: false })];
691
+ case 1:
692
+ result = _e.sent();
693
+ set(result);
694
+ return [2 /*return*/, result];
695
+ case 2: return [2 /*return*/, get()];
696
+ }
697
+ });
698
+ }); };
699
+ this.uploadSingle = function (url, option) {
700
+ return new Promise(function (resolve, reject) {
701
+ if ($__default['default']("#" + _this.uploadId).length) {
702
+ $__default['default']('body').children("#" + _this.uploadId).remove();
703
+ }
704
+ $__default['default']('body').append("<input id='" + _this.uploadId + "' style='display: none' type='file' />");
705
+ $__default['default']("#" + _this.uploadId).on('change', function (evt) {
706
+ try {
707
+ var target = evt.target;
708
+ var fileToUpload = target.files.item(0);
709
+ _this.upload(url, fileToUpload, option).then(resolve).catch(reject);
710
+ }
711
+ catch (error) {
712
+ reject(error);
713
+ }
714
+ });
715
+ $__default['default']("#" + _this.uploadId).trigger('click');
716
+ });
717
+ };
718
+ this.upload = function (url, file, option) { return __awaiter(_this, void 0, void 0, function () {
719
+ var _c, lastDot, message, extension, message, message, message, formData;
720
+ return __generator(this, function (_d) {
721
+ switch (_d.label) {
722
+ case 0:
723
+ lastDot = file.name.lastIndexOf('.');
724
+ if (lastDot === -1) {
725
+ message = this.translate("Invalid file extension");
726
+ throw new Error(message);
727
+ }
728
+ extension = file.name.substring(lastDot + 1);
729
+ if (option) {
730
+ if (((_c = option.extensions) === null || _c === void 0 ? void 0 : _c.length) && !option.extensions.some(function (e) { return e.toUpperCase() === extension.toUpperCase(); })) {
731
+ message = "[" + file.name + "] " + this.translate('Uploaded file is not match extension') + " " + option.extensions.join(', ');
732
+ throw new Error(message);
733
+ }
734
+ if (option.maxSizeInMb > 0 && option.maxSizeInMb * 1024 * 1024 < file.size) {
735
+ message = "[" + file.name + "] " + this.translate('Max file size') + " " + option.maxSizeInMb + " Mbs";
736
+ throw new Error(message);
737
+ }
738
+ if (option.validator && option.validator(file.name)) {
739
+ message = option.validator(file.name);
740
+ throw new Error(message);
741
+ }
742
+ }
743
+ formData = new FormData();
744
+ formData.append('file', file, file.name);
745
+ return [4 /*yield*/, this.post(url, formData)];
746
+ case 1: return [2 /*return*/, _d.sent()];
747
+ }
748
+ });
749
+ }); };
750
+ }
751
+ SdApiService.prototype.put = function (url, body, headers) {
752
+ var _this = this;
753
+ headers = headers || this.tokenService.customHeaders({
754
+ url: url
755
+ });
756
+ return new Promise(function (resolve, reject) {
757
+ _this.httpClient.put(encodeURI(url), body, {
758
+ observe: 'response',
759
+ headers: headers
760
+ }).pipe(operators.timeout(__classPrivateFieldGet(_this, _timeout))).toPromise().then(function (result) {
761
+ if (result.ok) {
762
+ resolve(result.body);
763
+ }
764
+ else {
765
+ reject(result.body);
766
+ }
767
+ }).catch(function (httpErrorResponse) {
768
+ reject(httpErrorResponse);
769
+ });
770
+ });
771
+ };
772
+ SdApiService.prototype.delete = function (url, headers) {
773
+ var _this = this;
774
+ headers = headers || this.tokenService.customHeaders({
775
+ url: url
776
+ });
777
+ return new Promise(function (resolve, reject) {
778
+ _this.httpClient.delete(encodeURI(url), { observe: 'response', headers: headers })
779
+ .pipe(operators.timeout(__classPrivateFieldGet(_this, _timeout)))
780
+ .toPromise().then(function (result) {
781
+ if (result.ok) {
782
+ resolve(result.body);
783
+ }
784
+ else {
785
+ reject(result.body);
786
+ }
787
+ }).catch(function (httpErrorResponse) {
788
+ reject(httpErrorResponse);
789
+ });
790
+ });
791
+ };
792
+ return SdApiService;
793
+ }());
794
+ _timeout = new WeakMap(), _cacheDuration = new WeakMap(), _cache = new WeakMap(), _defineParams = new WeakMap();
795
+ SdApiService.ɵprov = i0.ɵɵdefineInjectable({ factory: function SdApiService_Factory() { return new SdApiService(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(API_CONFIG, 8), i0.ɵɵinject(i2.SdCacheService), i0.ɵɵinject(SdTokenService)); }, token: SdApiService, providedIn: "root" });
796
+ SdApiService.decorators = [
797
+ { type: i0.Injectable, args: [{
798
+ providedIn: 'root'
799
+ },] }
800
+ ];
801
+ SdApiService.ctorParameters = function () { return [
802
+ { type: i1.HttpClient },
803
+ { type: undefined, decorators: [{ type: i0.Inject, args: [API_CONFIG,] }, { type: i0.Optional }] },
804
+ { type: i2.SdCacheService },
805
+ { type: SdTokenService }
806
+ ]; };
807
+
808
+ var SdHttpService = /** @class */ (function () {
809
+ function SdHttpService(httpClient, tokenService) {
810
+ var _this = this;
811
+ this.httpClient = httpClient;
812
+ this.tokenService = tokenService;
813
+ this.get = function (url, option) {
814
+ option = Object.assign(Object.assign({}, option), { headers: option.headers || _this.tokenService.customHeaders({
815
+ url: url
816
+ }) });
817
+ return _this.httpClient.get(url, option);
818
+ };
819
+ this.post = function (url, body, option) {
820
+ option = Object.assign(Object.assign({}, option), { headers: option.headers || _this.tokenService.customHeaders({
821
+ url: url
822
+ }) });
823
+ return _this.httpClient.post(url, body, option);
824
+ };
825
+ this.put = function (url, body, option) {
826
+ option = Object.assign(Object.assign({}, option), { headers: option.headers || _this.tokenService.customHeaders({
827
+ url: url
828
+ }) });
829
+ return _this.httpClient.put(url, body, option);
830
+ };
831
+ this.delete = function (url, option) {
832
+ option = Object.assign(Object.assign({}, option), { headers: option.headers || _this.tokenService.customHeaders({
833
+ url: url
834
+ }) });
835
+ return _this.httpClient.delete(url, option);
836
+ };
837
+ this.request = function (method, url, option) {
838
+ option = Object.assign(Object.assign({}, option), { headers: option.headers || _this.tokenService.customHeaders({
839
+ url: url
840
+ }) });
841
+ return _this.httpClient.request(method, url, option);
842
+ };
843
+ }
844
+ return SdHttpService;
845
+ }());
846
+ SdHttpService.ɵprov = i0.ɵɵdefineInjectable({ factory: function SdHttpService_Factory() { return new SdHttpService(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(SdTokenService)); }, token: SdHttpService, providedIn: "root" });
847
+ SdHttpService.decorators = [
848
+ { type: i0.Injectable, args: [{
849
+ providedIn: 'root'
850
+ },] }
851
+ ];
852
+ SdHttpService.ctorParameters = function () { return [
853
+ { type: i1.HttpClient },
854
+ { type: SdTokenService }
855
+ ]; };
856
+
857
+ /*
858
+ * Public API Surface of superdev-angular-core
859
+ */
860
+
861
+ /**
862
+ * Generated bundle index. Do not edit.
863
+ */
864
+
865
+ exports.API_CONFIG = API_CONFIG;
866
+ exports.SdApiModule = SdApiModule;
867
+ exports.SdApiService = SdApiService;
868
+ exports.SdHttpInterceptor = SdHttpInterceptor;
869
+ exports.SdHttpService = SdHttpService;
870
+ exports.SdTokenService = SdTokenService;
871
+ exports.TOKEN = TOKEN;
872
+
873
+ Object.defineProperty(exports, '__esModule', { value: true });
874
+
875
+ })));
876
+ //# sourceMappingURL=sd-angular-core-api.umd.js.map