@sd-angular/core 1.3.0 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (805) hide show
  1. package/api/package.json +1 -12
  2. package/api/sd-angular-core-api.d.ts +0 -2
  3. package/autocomplete/package.json +1 -12
  4. package/autocomplete/sd-angular-core-autocomplete.d.ts +0 -2
  5. package/badge/package.json +1 -12
  6. package/badge/sd-angular-core-badge.d.ts +0 -2
  7. package/bundles/sd-angular-core-api.umd.js +1 -2
  8. package/bundles/sd-angular-core-api.umd.js.map +1 -1
  9. package/bundles/sd-angular-core-autocomplete.umd.js +1 -2
  10. package/bundles/sd-angular-core-autocomplete.umd.js.map +1 -1
  11. package/bundles/sd-angular-core-badge.umd.js +1 -2
  12. package/bundles/sd-angular-core-badge.umd.js.map +1 -1
  13. package/bundles/sd-angular-core-button.umd.js +1 -2
  14. package/bundles/sd-angular-core-button.umd.js.map +1 -1
  15. package/bundles/sd-angular-core-cache.umd.js +1 -2
  16. package/bundles/sd-angular-core-cache.umd.js.map +1 -1
  17. package/bundles/sd-angular-core-chart.umd.js +1 -2
  18. package/bundles/sd-angular-core-chart.umd.js.map +1 -1
  19. package/bundles/sd-angular-core-checkbox.umd.js +1 -2
  20. package/bundles/sd-angular-core-checkbox.umd.js.map +1 -1
  21. package/bundles/sd-angular-core-chip.umd.js +1 -2
  22. package/bundles/sd-angular-core-chip.umd.js.map +1 -1
  23. package/bundles/sd-angular-core-comment.umd.js +1 -2
  24. package/bundles/sd-angular-core-comment.umd.js.map +1 -1
  25. package/bundles/sd-angular-core-common.umd.js +1 -2
  26. package/bundles/sd-angular-core-common.umd.js.map +1 -1
  27. package/bundles/sd-angular-core-confirm.umd.js +1 -2
  28. package/bundles/sd-angular-core-confirm.umd.js.map +1 -1
  29. package/bundles/sd-angular-core-date-month.umd.js +1 -2
  30. package/bundles/sd-angular-core-date-month.umd.js.map +1 -1
  31. package/bundles/sd-angular-core-date-range.umd.js +1 -2
  32. package/bundles/sd-angular-core-date-range.umd.js.map +1 -1
  33. package/bundles/sd-angular-core-date-time.umd.js +1 -2
  34. package/bundles/sd-angular-core-date-time.umd.js.map +1 -1
  35. package/bundles/sd-angular-core-db.umd.js +1 -2
  36. package/bundles/sd-angular-core-db.umd.js.map +1 -1
  37. package/bundles/sd-angular-core-dynamic-report.umd.js +1 -2
  38. package/bundles/sd-angular-core-dynamic-report.umd.js.map +1 -1
  39. package/bundles/sd-angular-core-editor.umd.js +1 -2
  40. package/bundles/sd-angular-core-editor.umd.js.map +1 -1
  41. package/bundles/sd-angular-core-excel.umd.js +1 -2
  42. package/bundles/sd-angular-core-excel.umd.js.map +1 -1
  43. package/bundles/sd-angular-core-export.umd.js +1 -2
  44. package/bundles/sd-angular-core-export.umd.js.map +1 -1
  45. package/bundles/sd-angular-core-filter.umd.js +1 -2
  46. package/bundles/sd-angular-core-filter.umd.js.map +1 -1
  47. package/bundles/sd-angular-core-form.umd.js +1 -2
  48. package/bundles/sd-angular-core-form.umd.js.map +1 -1
  49. package/bundles/sd-angular-core-grid-material.umd.js +19 -17
  50. package/bundles/sd-angular-core-grid-material.umd.js.map +1 -1
  51. package/bundles/sd-angular-core-grid-material.umd.min.js +1 -1
  52. package/bundles/sd-angular-core-grid-material.umd.min.js.map +1 -1
  53. package/bundles/sd-angular-core-grid.umd.js +1 -2
  54. package/bundles/sd-angular-core-grid.umd.js.map +1 -1
  55. package/bundles/sd-angular-core-group.umd.js +1 -2
  56. package/bundles/sd-angular-core-group.umd.js.map +1 -1
  57. package/bundles/sd-angular-core-header-title.umd.js +1 -2
  58. package/bundles/sd-angular-core-header-title.umd.js.map +1 -1
  59. package/bundles/sd-angular-core-image-preview.umd.js +1 -2
  60. package/bundles/sd-angular-core-image-preview.umd.js.map +1 -1
  61. package/bundles/sd-angular-core-input-currency.umd.js +1 -2
  62. package/bundles/sd-angular-core-input-currency.umd.js.map +1 -1
  63. package/bundles/sd-angular-core-input-dropdown.umd.js +1 -2
  64. package/bundles/sd-angular-core-input-dropdown.umd.js.map +1 -1
  65. package/bundles/sd-angular-core-input-number.umd.js +1 -2
  66. package/bundles/sd-angular-core-input-number.umd.js.map +1 -1
  67. package/bundles/sd-angular-core-input-upload-file.umd.js +1 -2
  68. package/bundles/sd-angular-core-input-upload-file.umd.js.map +1 -1
  69. package/bundles/sd-angular-core-input.umd.js +1 -2
  70. package/bundles/sd-angular-core-input.umd.js.map +1 -1
  71. package/bundles/sd-angular-core-json-editor.umd.js +1 -2
  72. package/bundles/sd-angular-core-json-editor.umd.js.map +1 -1
  73. package/bundles/sd-angular-core-konva.umd.js +1 -2
  74. package/bundles/sd-angular-core-konva.umd.js.map +1 -1
  75. package/bundles/sd-angular-core-label.umd.js +1 -2
  76. package/bundles/sd-angular-core-label.umd.js.map +1 -1
  77. package/bundles/sd-angular-core-loading.umd.js +1 -2
  78. package/bundles/sd-angular-core-loading.umd.js.map +1 -1
  79. package/bundles/sd-angular-core-modal-resizable.umd.js +1 -2
  80. package/bundles/sd-angular-core-modal-resizable.umd.js.map +1 -1
  81. package/bundles/sd-angular-core-modal.umd.js +1 -2
  82. package/bundles/sd-angular-core-modal.umd.js.map +1 -1
  83. package/bundles/sd-angular-core-notify.umd.js +1 -2
  84. package/bundles/sd-angular-core-notify.umd.js.map +1 -1
  85. package/bundles/sd-angular-core-popover.umd.js +1 -2
  86. package/bundles/sd-angular-core-popover.umd.js.map +1 -1
  87. package/bundles/sd-angular-core-quick-action.umd.js +1 -2
  88. package/bundles/sd-angular-core-quick-action.umd.js.map +1 -1
  89. package/bundles/sd-angular-core-radio.umd.js +1 -2
  90. package/bundles/sd-angular-core-radio.umd.js.map +1 -1
  91. package/bundles/sd-angular-core-select-badge.umd.js +1 -2
  92. package/bundles/sd-angular-core-select-badge.umd.js.map +1 -1
  93. package/bundles/sd-angular-core-select-editor.umd.js +1 -2
  94. package/bundles/sd-angular-core-select-editor.umd.js.map +1 -1
  95. package/bundles/sd-angular-core-select.umd.js +1 -2
  96. package/bundles/sd-angular-core-select.umd.js.map +1 -1
  97. package/bundles/sd-angular-core-service.umd.js +1 -2
  98. package/bundles/sd-angular-core-service.umd.js.map +1 -1
  99. package/bundles/sd-angular-core-setting.umd.js +1 -2
  100. package/bundles/sd-angular-core-setting.umd.js.map +1 -1
  101. package/bundles/sd-angular-core-side-drawer.umd.js +1 -2
  102. package/bundles/sd-angular-core-side-drawer.umd.js.map +1 -1
  103. package/bundles/sd-angular-core-switch.umd.js +1 -2
  104. package/bundles/sd-angular-core-switch.umd.js.map +1 -1
  105. package/bundles/sd-angular-core-tab-router.umd.js +1 -2
  106. package/bundles/sd-angular-core-tab-router.umd.js.map +1 -1
  107. package/bundles/sd-angular-core-textarea.umd.js +1 -2
  108. package/bundles/sd-angular-core-textarea.umd.js.map +1 -1
  109. package/bundles/sd-angular-core-time.umd.js +1 -2
  110. package/bundles/sd-angular-core-time.umd.js.map +1 -1
  111. package/bundles/sd-angular-core-timeline.umd.js +1 -2
  112. package/bundles/sd-angular-core-timeline.umd.js.map +1 -1
  113. package/bundles/sd-angular-core-translate.umd.js +1 -2
  114. package/bundles/sd-angular-core-translate.umd.js.map +1 -1
  115. package/bundles/sd-angular-core-upload-excel.umd.js +1 -2
  116. package/bundles/sd-angular-core-upload-excel.umd.js.map +1 -1
  117. package/bundles/sd-angular-core-upload-file.umd.js +1 -2
  118. package/bundles/sd-angular-core-upload-file.umd.js.map +1 -1
  119. package/bundles/sd-angular-core-utility.umd.js +1 -2
  120. package/bundles/sd-angular-core-utility.umd.js.map +1 -1
  121. package/bundles/sd-angular-core-view.umd.js +1 -2
  122. package/bundles/sd-angular-core-view.umd.js.map +1 -1
  123. package/button/package.json +1 -12
  124. package/button/sd-angular-core-button.d.ts +0 -2
  125. package/cache/package.json +1 -12
  126. package/cache/sd-angular-core-cache.d.ts +0 -2
  127. package/chart/package.json +1 -12
  128. package/chart/sd-angular-core-chart.d.ts +0 -2
  129. package/checkbox/package.json +1 -12
  130. package/checkbox/sd-angular-core-checkbox.d.ts +0 -2
  131. package/chip/package.json +1 -12
  132. package/chip/sd-angular-core-chip.d.ts +0 -2
  133. package/comment/package.json +1 -12
  134. package/comment/sd-angular-core-comment.d.ts +0 -2
  135. package/common/package.json +1 -12
  136. package/common/sd-angular-core-common.d.ts +0 -2
  137. package/confirm/package.json +1 -12
  138. package/confirm/sd-angular-core-confirm.d.ts +0 -2
  139. package/date-month/package.json +1 -12
  140. package/date-month/sd-angular-core-date-month.d.ts +0 -2
  141. package/date-range/package.json +1 -12
  142. package/date-range/sd-angular-core-date-range.d.ts +0 -2
  143. package/date-time/package.json +1 -12
  144. package/date-time/sd-angular-core-date-time.d.ts +0 -2
  145. package/db/package.json +1 -12
  146. package/db/sd-angular-core-db.d.ts +0 -2
  147. package/dynamic-report/package.json +1 -12
  148. package/dynamic-report/sd-angular-core-dynamic-report.d.ts +0 -2
  149. package/editor/package.json +1 -12
  150. package/editor/sd-angular-core-editor.d.ts +0 -2
  151. package/esm2015/api/sd-angular-core-api.js +1 -1
  152. package/esm2015/autocomplete/sd-angular-core-autocomplete.js +1 -1
  153. package/esm2015/badge/sd-angular-core-badge.js +1 -1
  154. package/esm2015/button/sd-angular-core-button.js +1 -1
  155. package/esm2015/cache/sd-angular-core-cache.js +1 -1
  156. package/esm2015/chart/sd-angular-core-chart.js +1 -1
  157. package/esm2015/checkbox/sd-angular-core-checkbox.js +1 -1
  158. package/esm2015/chip/sd-angular-core-chip.js +1 -1
  159. package/esm2015/comment/sd-angular-core-comment.js +1 -1
  160. package/esm2015/common/sd-angular-core-common.js +1 -1
  161. package/esm2015/confirm/sd-angular-core-confirm.js +1 -1
  162. package/esm2015/date-month/sd-angular-core-date-month.js +1 -1
  163. package/esm2015/date-range/sd-angular-core-date-range.js +1 -1
  164. package/esm2015/date-time/sd-angular-core-date-time.js +1 -1
  165. package/esm2015/db/sd-angular-core-db.js +1 -1
  166. package/esm2015/dynamic-report/sd-angular-core-dynamic-report.js +1 -1
  167. package/esm2015/editor/sd-angular-core-editor.js +1 -1
  168. package/esm2015/excel/sd-angular-core-excel.js +1 -1
  169. package/esm2015/export/sd-angular-core-export.js +1 -1
  170. package/esm2015/filter/sd-angular-core-filter.js +1 -1
  171. package/esm2015/form/sd-angular-core-form.js +1 -1
  172. package/esm2015/grid/sd-angular-core-grid.js +1 -1
  173. package/esm2015/grid-material/sd-angular-core-grid-material.js +1 -1
  174. package/esm2015/grid-material/src/lib/grid-material.component.js +44 -40
  175. package/esm2015/group/sd-angular-core-group.js +1 -1
  176. package/esm2015/header-title/sd-angular-core-header-title.js +1 -1
  177. package/esm2015/image-preview/sd-angular-core-image-preview.js +1 -1
  178. package/esm2015/input/sd-angular-core-input.js +1 -1
  179. package/esm2015/input-currency/sd-angular-core-input-currency.js +1 -1
  180. package/esm2015/input-dropdown/sd-angular-core-input-dropdown.js +1 -1
  181. package/esm2015/input-number/sd-angular-core-input-number.js +1 -1
  182. package/esm2015/input-upload-file/sd-angular-core-input-upload-file.js +1 -1
  183. package/esm2015/json-editor/sd-angular-core-json-editor.js +1 -1
  184. package/esm2015/konva/sd-angular-core-konva.js +1 -1
  185. package/esm2015/label/sd-angular-core-label.js +1 -1
  186. package/esm2015/loading/sd-angular-core-loading.js +1 -1
  187. package/esm2015/modal/sd-angular-core-modal.js +1 -1
  188. package/esm2015/modal-resizable/sd-angular-core-modal-resizable.js +1 -1
  189. package/esm2015/notify/sd-angular-core-notify.js +1 -1
  190. package/esm2015/popover/sd-angular-core-popover.js +1 -1
  191. package/esm2015/quick-action/sd-angular-core-quick-action.js +1 -1
  192. package/esm2015/radio/sd-angular-core-radio.js +1 -1
  193. package/esm2015/select/sd-angular-core-select.js +1 -1
  194. package/esm2015/select-badge/sd-angular-core-select-badge.js +1 -1
  195. package/esm2015/select-editor/sd-angular-core-select-editor.js +1 -1
  196. package/esm2015/service/sd-angular-core-service.js +1 -1
  197. package/esm2015/setting/sd-angular-core-setting.js +1 -1
  198. package/esm2015/side-drawer/sd-angular-core-side-drawer.js +1 -1
  199. package/esm2015/switch/sd-angular-core-switch.js +1 -1
  200. package/esm2015/tab-router/sd-angular-core-tab-router.js +1 -1
  201. package/esm2015/textarea/sd-angular-core-textarea.js +1 -1
  202. package/esm2015/time/sd-angular-core-time.js +1 -1
  203. package/esm2015/timeline/sd-angular-core-timeline.js +1 -1
  204. package/esm2015/translate/sd-angular-core-translate.js +1 -1
  205. package/esm2015/upload-excel/sd-angular-core-upload-excel.js +1 -1
  206. package/esm2015/upload-file/sd-angular-core-upload-file.js +1 -1
  207. package/esm2015/utility/sd-angular-core-utility.js +1 -1
  208. package/esm2015/view/sd-angular-core-view.js +1 -1
  209. package/excel/package.json +1 -12
  210. package/excel/sd-angular-core-excel.d.ts +0 -2
  211. package/export/package.json +1 -12
  212. package/export/sd-angular-core-export.d.ts +0 -2
  213. package/fesm2015/sd-angular-core-api.js +1 -2
  214. package/fesm2015/sd-angular-core-api.js.map +1 -1
  215. package/fesm2015/sd-angular-core-autocomplete.js +1 -2
  216. package/fesm2015/sd-angular-core-autocomplete.js.map +1 -1
  217. package/fesm2015/sd-angular-core-badge.js +1 -2
  218. package/fesm2015/sd-angular-core-badge.js.map +1 -1
  219. package/fesm2015/sd-angular-core-button.js +1 -2
  220. package/fesm2015/sd-angular-core-button.js.map +1 -1
  221. package/fesm2015/sd-angular-core-cache.js +1 -2
  222. package/fesm2015/sd-angular-core-cache.js.map +1 -1
  223. package/fesm2015/sd-angular-core-chart.js +1 -2
  224. package/fesm2015/sd-angular-core-chart.js.map +1 -1
  225. package/fesm2015/sd-angular-core-checkbox.js +1 -2
  226. package/fesm2015/sd-angular-core-checkbox.js.map +1 -1
  227. package/fesm2015/sd-angular-core-chip.js +1 -2
  228. package/fesm2015/sd-angular-core-chip.js.map +1 -1
  229. package/fesm2015/sd-angular-core-comment.js +1 -2
  230. package/fesm2015/sd-angular-core-comment.js.map +1 -1
  231. package/fesm2015/sd-angular-core-common.js +1 -2
  232. package/fesm2015/sd-angular-core-common.js.map +1 -1
  233. package/fesm2015/sd-angular-core-confirm.js +1 -2
  234. package/fesm2015/sd-angular-core-confirm.js.map +1 -1
  235. package/fesm2015/sd-angular-core-date-month.js +1 -2
  236. package/fesm2015/sd-angular-core-date-month.js.map +1 -1
  237. package/fesm2015/sd-angular-core-date-range.js +1 -2
  238. package/fesm2015/sd-angular-core-date-range.js.map +1 -1
  239. package/fesm2015/sd-angular-core-date-time.js +1 -2
  240. package/fesm2015/sd-angular-core-date-time.js.map +1 -1
  241. package/fesm2015/sd-angular-core-db.js +1 -2
  242. package/fesm2015/sd-angular-core-db.js.map +1 -1
  243. package/fesm2015/sd-angular-core-dynamic-report.js +1 -2
  244. package/fesm2015/sd-angular-core-dynamic-report.js.map +1 -1
  245. package/fesm2015/sd-angular-core-editor.js +1 -2
  246. package/fesm2015/sd-angular-core-editor.js.map +1 -1
  247. package/fesm2015/sd-angular-core-excel.js +1 -2
  248. package/fesm2015/sd-angular-core-excel.js.map +1 -1
  249. package/fesm2015/sd-angular-core-export.js +1 -2
  250. package/fesm2015/sd-angular-core-export.js.map +1 -1
  251. package/fesm2015/sd-angular-core-filter.js +1 -2
  252. package/fesm2015/sd-angular-core-filter.js.map +1 -1
  253. package/fesm2015/sd-angular-core-form.js +1 -2
  254. package/fesm2015/sd-angular-core-form.js.map +1 -1
  255. package/fesm2015/sd-angular-core-grid-material.js +44 -41
  256. package/fesm2015/sd-angular-core-grid-material.js.map +1 -1
  257. package/fesm2015/sd-angular-core-grid.js +1 -2
  258. package/fesm2015/sd-angular-core-grid.js.map +1 -1
  259. package/fesm2015/sd-angular-core-group.js +1 -2
  260. package/fesm2015/sd-angular-core-group.js.map +1 -1
  261. package/fesm2015/sd-angular-core-header-title.js +1 -2
  262. package/fesm2015/sd-angular-core-header-title.js.map +1 -1
  263. package/fesm2015/sd-angular-core-image-preview.js +1 -2
  264. package/fesm2015/sd-angular-core-image-preview.js.map +1 -1
  265. package/fesm2015/sd-angular-core-input-currency.js +1 -2
  266. package/fesm2015/sd-angular-core-input-currency.js.map +1 -1
  267. package/fesm2015/sd-angular-core-input-dropdown.js +1 -2
  268. package/fesm2015/sd-angular-core-input-dropdown.js.map +1 -1
  269. package/fesm2015/sd-angular-core-input-number.js +1 -2
  270. package/fesm2015/sd-angular-core-input-number.js.map +1 -1
  271. package/fesm2015/sd-angular-core-input-upload-file.js +1 -2
  272. package/fesm2015/sd-angular-core-input-upload-file.js.map +1 -1
  273. package/fesm2015/sd-angular-core-input.js +1 -2
  274. package/fesm2015/sd-angular-core-input.js.map +1 -1
  275. package/fesm2015/sd-angular-core-json-editor.js +1 -2
  276. package/fesm2015/sd-angular-core-json-editor.js.map +1 -1
  277. package/fesm2015/sd-angular-core-konva.js +1 -2
  278. package/fesm2015/sd-angular-core-konva.js.map +1 -1
  279. package/fesm2015/sd-angular-core-label.js +1 -2
  280. package/fesm2015/sd-angular-core-label.js.map +1 -1
  281. package/fesm2015/sd-angular-core-loading.js +1 -2
  282. package/fesm2015/sd-angular-core-loading.js.map +1 -1
  283. package/fesm2015/sd-angular-core-modal-resizable.js +1 -2
  284. package/fesm2015/sd-angular-core-modal-resizable.js.map +1 -1
  285. package/fesm2015/sd-angular-core-modal.js +1 -2
  286. package/fesm2015/sd-angular-core-modal.js.map +1 -1
  287. package/fesm2015/sd-angular-core-notify.js +1 -2
  288. package/fesm2015/sd-angular-core-notify.js.map +1 -1
  289. package/fesm2015/sd-angular-core-popover.js +1 -2
  290. package/fesm2015/sd-angular-core-popover.js.map +1 -1
  291. package/fesm2015/sd-angular-core-quick-action.js +1 -2
  292. package/fesm2015/sd-angular-core-quick-action.js.map +1 -1
  293. package/fesm2015/sd-angular-core-radio.js +1 -2
  294. package/fesm2015/sd-angular-core-radio.js.map +1 -1
  295. package/fesm2015/sd-angular-core-select-badge.js +1 -2
  296. package/fesm2015/sd-angular-core-select-badge.js.map +1 -1
  297. package/fesm2015/sd-angular-core-select-editor.js +1 -2
  298. package/fesm2015/sd-angular-core-select-editor.js.map +1 -1
  299. package/fesm2015/sd-angular-core-select.js +1 -2
  300. package/fesm2015/sd-angular-core-select.js.map +1 -1
  301. package/fesm2015/sd-angular-core-service.js +1 -2
  302. package/fesm2015/sd-angular-core-service.js.map +1 -1
  303. package/fesm2015/sd-angular-core-setting.js +1 -2
  304. package/fesm2015/sd-angular-core-setting.js.map +1 -1
  305. package/fesm2015/sd-angular-core-side-drawer.js +1 -2
  306. package/fesm2015/sd-angular-core-side-drawer.js.map +1 -1
  307. package/fesm2015/sd-angular-core-switch.js +1 -2
  308. package/fesm2015/sd-angular-core-switch.js.map +1 -1
  309. package/fesm2015/sd-angular-core-tab-router.js +1 -2
  310. package/fesm2015/sd-angular-core-tab-router.js.map +1 -1
  311. package/fesm2015/sd-angular-core-textarea.js +1 -2
  312. package/fesm2015/sd-angular-core-textarea.js.map +1 -1
  313. package/fesm2015/sd-angular-core-time.js +1 -2
  314. package/fesm2015/sd-angular-core-time.js.map +1 -1
  315. package/fesm2015/sd-angular-core-timeline.js +1 -2
  316. package/fesm2015/sd-angular-core-timeline.js.map +1 -1
  317. package/fesm2015/sd-angular-core-translate.js +1 -2
  318. package/fesm2015/sd-angular-core-translate.js.map +1 -1
  319. package/fesm2015/sd-angular-core-upload-excel.js +1 -2
  320. package/fesm2015/sd-angular-core-upload-excel.js.map +1 -1
  321. package/fesm2015/sd-angular-core-upload-file.js +1 -2
  322. package/fesm2015/sd-angular-core-upload-file.js.map +1 -1
  323. package/fesm2015/sd-angular-core-utility.js +1 -2
  324. package/fesm2015/sd-angular-core-utility.js.map +1 -1
  325. package/fesm2015/sd-angular-core-view.js +1 -2
  326. package/fesm2015/sd-angular-core-view.js.map +1 -1
  327. package/filter/package.json +1 -12
  328. package/filter/sd-angular-core-filter.d.ts +0 -2
  329. package/form/package.json +1 -12
  330. package/form/sd-angular-core-form.d.ts +0 -2
  331. package/grid/package.json +1 -12
  332. package/grid/sd-angular-core-grid.d.ts +0 -2
  333. package/grid-material/package.json +1 -12
  334. package/grid-material/sd-angular-core-grid-material.d.ts +0 -2
  335. package/grid-material/sd-angular-core-grid-material.metadata.json +1 -1
  336. package/group/package.json +1 -12
  337. package/group/sd-angular-core-group.d.ts +0 -2
  338. package/header-title/package.json +1 -12
  339. package/header-title/sd-angular-core-header-title.d.ts +0 -2
  340. package/image-preview/package.json +1 -12
  341. package/image-preview/sd-angular-core-image-preview.d.ts +0 -2
  342. package/input/package.json +1 -12
  343. package/input/sd-angular-core-input.d.ts +0 -2
  344. package/input-currency/package.json +1 -12
  345. package/input-currency/sd-angular-core-input-currency.d.ts +0 -2
  346. package/input-dropdown/package.json +1 -12
  347. package/input-dropdown/sd-angular-core-input-dropdown.d.ts +0 -2
  348. package/input-number/package.json +1 -12
  349. package/input-number/sd-angular-core-input-number.d.ts +0 -2
  350. package/input-upload-file/package.json +1 -12
  351. package/input-upload-file/sd-angular-core-input-upload-file.d.ts +0 -2
  352. package/json-editor/package.json +1 -12
  353. package/json-editor/sd-angular-core-json-editor.d.ts +0 -2
  354. package/konva/package.json +1 -12
  355. package/konva/sd-angular-core-konva.d.ts +0 -2
  356. package/label/package.json +1 -12
  357. package/label/sd-angular-core-label.d.ts +0 -2
  358. package/loading/package.json +1 -12
  359. package/loading/sd-angular-core-loading.d.ts +0 -2
  360. package/modal/package.json +1 -12
  361. package/modal/sd-angular-core-modal.d.ts +0 -2
  362. package/modal-resizable/package.json +1 -12
  363. package/modal-resizable/sd-angular-core-modal-resizable.d.ts +0 -2
  364. package/notify/package.json +1 -12
  365. package/notify/sd-angular-core-notify.d.ts +0 -2
  366. package/package.json +1 -1
  367. package/popover/package.json +1 -12
  368. package/popover/sd-angular-core-popover.d.ts +0 -2
  369. package/quick-action/package.json +1 -12
  370. package/quick-action/sd-angular-core-quick-action.d.ts +0 -2
  371. package/radio/package.json +1 -12
  372. package/radio/sd-angular-core-radio.d.ts +0 -2
  373. package/sd-angular-core-1.3.1.tgz +0 -0
  374. package/select/package.json +1 -12
  375. package/select/sd-angular-core-select.d.ts +0 -2
  376. package/select-badge/package.json +1 -12
  377. package/select-badge/sd-angular-core-select-badge.d.ts +0 -2
  378. package/select-editor/package.json +1 -12
  379. package/select-editor/sd-angular-core-select-editor.d.ts +0 -2
  380. package/service/package.json +1 -12
  381. package/service/sd-angular-core-service.d.ts +0 -2
  382. package/setting/package.json +1 -12
  383. package/setting/sd-angular-core-setting.d.ts +0 -2
  384. package/side-drawer/package.json +1 -12
  385. package/side-drawer/sd-angular-core-side-drawer.d.ts +0 -2
  386. package/switch/package.json +1 -12
  387. package/switch/sd-angular-core-switch.d.ts +0 -2
  388. package/tab-router/package.json +1 -12
  389. package/tab-router/sd-angular-core-tab-router.d.ts +0 -2
  390. package/textarea/package.json +1 -12
  391. package/textarea/sd-angular-core-textarea.d.ts +0 -2
  392. package/time/package.json +1 -12
  393. package/time/sd-angular-core-time.d.ts +0 -2
  394. package/timeline/package.json +1 -12
  395. package/timeline/sd-angular-core-timeline.d.ts +0 -2
  396. package/translate/package.json +1 -12
  397. package/translate/sd-angular-core-translate.d.ts +0 -2
  398. package/upload-excel/package.json +1 -12
  399. package/upload-excel/sd-angular-core-upload-excel.d.ts +0 -2
  400. package/upload-file/package.json +1 -12
  401. package/upload-file/sd-angular-core-upload-file.d.ts +0 -2
  402. package/utility/package.json +1 -12
  403. package/utility/sd-angular-core-utility.d.ts +0 -2
  404. package/view/package.json +1 -12
  405. package/view/sd-angular-core-view.d.ts +0 -2
  406. package/api/sd-angular-core-api.d.ts.__ivy_ngcc_bak +0 -4
  407. package/api/sd-angular-core-api.d.ts.map +0 -1
  408. package/autocomplete/sd-angular-core-autocomplete.d.ts.__ivy_ngcc_bak +0 -4
  409. package/autocomplete/sd-angular-core-autocomplete.d.ts.map +0 -1
  410. package/badge/sd-angular-core-badge.d.ts.__ivy_ngcc_bak +0 -4
  411. package/badge/sd-angular-core-badge.d.ts.map +0 -1
  412. package/bundles/sd-angular-core-api.umd.js.__ivy_ngcc_bak +0 -876
  413. package/bundles/sd-angular-core-api.umd.js.map.__ivy_ngcc_bak +0 -1
  414. package/bundles/sd-angular-core-autocomplete.umd.js.__ivy_ngcc_bak +0 -791
  415. package/bundles/sd-angular-core-autocomplete.umd.js.map.__ivy_ngcc_bak +0 -1
  416. package/bundles/sd-angular-core-badge.umd.js.__ivy_ngcc_bak +0 -89
  417. package/bundles/sd-angular-core-badge.umd.js.map.__ivy_ngcc_bak +0 -1
  418. package/bundles/sd-angular-core-button.umd.js.__ivy_ngcc_bak +0 -447
  419. package/bundles/sd-angular-core-button.umd.js.map.__ivy_ngcc_bak +0 -1
  420. package/bundles/sd-angular-core-cache.umd.js.__ivy_ngcc_bak +0 -623
  421. package/bundles/sd-angular-core-cache.umd.js.map.__ivy_ngcc_bak +0 -1
  422. package/bundles/sd-angular-core-chart.umd.js.__ivy_ngcc_bak +0 -1106
  423. package/bundles/sd-angular-core-chart.umd.js.map.__ivy_ngcc_bak +0 -1
  424. package/bundles/sd-angular-core-checkbox.umd.js.__ivy_ngcc_bak +0 -461
  425. package/bundles/sd-angular-core-checkbox.umd.js.map.__ivy_ngcc_bak +0 -1
  426. package/bundles/sd-angular-core-chip.umd.js.__ivy_ngcc_bak +0 -1051
  427. package/bundles/sd-angular-core-chip.umd.js.map.__ivy_ngcc_bak +0 -1
  428. package/bundles/sd-angular-core-comment.umd.js.__ivy_ngcc_bak +0 -456
  429. package/bundles/sd-angular-core-comment.umd.js.map.__ivy_ngcc_bak +0 -1
  430. package/bundles/sd-angular-core-common.umd.js.__ivy_ngcc_bak +0 -962
  431. package/bundles/sd-angular-core-common.umd.js.map.__ivy_ngcc_bak +0 -1
  432. package/bundles/sd-angular-core-confirm.umd.js.__ivy_ngcc_bak +0 -159
  433. package/bundles/sd-angular-core-confirm.umd.js.map.__ivy_ngcc_bak +0 -1
  434. package/bundles/sd-angular-core-date-month.umd.js.__ivy_ngcc_bak +0 -650
  435. package/bundles/sd-angular-core-date-month.umd.js.map.__ivy_ngcc_bak +0 -1
  436. package/bundles/sd-angular-core-date-range.umd.js.__ivy_ngcc_bak +0 -660
  437. package/bundles/sd-angular-core-date-range.umd.js.map.__ivy_ngcc_bak +0 -1
  438. package/bundles/sd-angular-core-date-time.umd.js.__ivy_ngcc_bak +0 -734
  439. package/bundles/sd-angular-core-date-time.umd.js.map.__ivy_ngcc_bak +0 -1
  440. package/bundles/sd-angular-core-db.umd.js.__ivy_ngcc_bak +0 -475
  441. package/bundles/sd-angular-core-db.umd.js.map.__ivy_ngcc_bak +0 -1
  442. package/bundles/sd-angular-core-dynamic-report.umd.js.__ivy_ngcc_bak +0 -96
  443. package/bundles/sd-angular-core-dynamic-report.umd.js.map.__ivy_ngcc_bak +0 -1
  444. package/bundles/sd-angular-core-editor.umd.js.__ivy_ngcc_bak +0 -943
  445. package/bundles/sd-angular-core-editor.umd.js.map.__ivy_ngcc_bak +0 -1
  446. package/bundles/sd-angular-core-excel.umd.js.__ivy_ngcc_bak +0 -500
  447. package/bundles/sd-angular-core-excel.umd.js.map.__ivy_ngcc_bak +0 -1
  448. package/bundles/sd-angular-core-export.umd.js.__ivy_ngcc_bak +0 -712
  449. package/bundles/sd-angular-core-export.umd.js.map.__ivy_ngcc_bak +0 -1
  450. package/bundles/sd-angular-core-filter.umd.js.__ivy_ngcc_bak +0 -703
  451. package/bundles/sd-angular-core-filter.umd.js.map.__ivy_ngcc_bak +0 -1
  452. package/bundles/sd-angular-core-form.umd.js.__ivy_ngcc_bak +0 -88
  453. package/bundles/sd-angular-core-form.umd.js.map.__ivy_ngcc_bak +0 -1
  454. package/bundles/sd-angular-core-grid-material.umd.js.__ivy_ngcc_bak +0 -5029
  455. package/bundles/sd-angular-core-grid-material.umd.js.map.__ivy_ngcc_bak +0 -1
  456. package/bundles/sd-angular-core-grid.umd.js.__ivy_ngcc_bak +0 -5125
  457. package/bundles/sd-angular-core-grid.umd.js.map.__ivy_ngcc_bak +0 -1
  458. package/bundles/sd-angular-core-group.umd.js.__ivy_ngcc_bak +0 -93
  459. package/bundles/sd-angular-core-group.umd.js.map.__ivy_ngcc_bak +0 -1
  460. package/bundles/sd-angular-core-header-title.umd.js.__ivy_ngcc_bak +0 -56
  461. package/bundles/sd-angular-core-header-title.umd.js.map.__ivy_ngcc_bak +0 -1
  462. package/bundles/sd-angular-core-image-preview.umd.js.__ivy_ngcc_bak +0 -121
  463. package/bundles/sd-angular-core-image-preview.umd.js.map.__ivy_ngcc_bak +0 -1
  464. package/bundles/sd-angular-core-input-currency.umd.js.__ivy_ngcc_bak +0 -737
  465. package/bundles/sd-angular-core-input-currency.umd.js.map.__ivy_ngcc_bak +0 -1
  466. package/bundles/sd-angular-core-input-dropdown.umd.js.__ivy_ngcc_bak +0 -634
  467. package/bundles/sd-angular-core-input-dropdown.umd.js.map.__ivy_ngcc_bak +0 -1
  468. package/bundles/sd-angular-core-input-number.umd.js.__ivy_ngcc_bak +0 -792
  469. package/bundles/sd-angular-core-input-number.umd.js.map.__ivy_ngcc_bak +0 -1
  470. package/bundles/sd-angular-core-input-upload-file.umd.js.__ivy_ngcc_bak +0 -648
  471. package/bundles/sd-angular-core-input-upload-file.umd.js.map.__ivy_ngcc_bak +0 -1
  472. package/bundles/sd-angular-core-input.umd.js.__ivy_ngcc_bak +0 -798
  473. package/bundles/sd-angular-core-input.umd.js.map.__ivy_ngcc_bak +0 -1
  474. package/bundles/sd-angular-core-json-editor.umd.js.__ivy_ngcc_bak +0 -523
  475. package/bundles/sd-angular-core-json-editor.umd.js.map.__ivy_ngcc_bak +0 -1
  476. package/bundles/sd-angular-core-konva.umd.js.__ivy_ngcc_bak +0 -605
  477. package/bundles/sd-angular-core-konva.umd.js.map.__ivy_ngcc_bak +0 -1
  478. package/bundles/sd-angular-core-label.umd.js.__ivy_ngcc_bak +0 -60
  479. package/bundles/sd-angular-core-label.umd.js.map.__ivy_ngcc_bak +0 -1
  480. package/bundles/sd-angular-core-loading.umd.js.__ivy_ngcc_bak +0 -413
  481. package/bundles/sd-angular-core-loading.umd.js.map.__ivy_ngcc_bak +0 -1
  482. package/bundles/sd-angular-core-modal-resizable.umd.js.__ivy_ngcc_bak +0 -487
  483. package/bundles/sd-angular-core-modal-resizable.umd.js.map.__ivy_ngcc_bak +0 -1
  484. package/bundles/sd-angular-core-modal.umd.js.__ivy_ngcc_bak +0 -307
  485. package/bundles/sd-angular-core-modal.umd.js.map.__ivy_ngcc_bak +0 -1
  486. package/bundles/sd-angular-core-notify.umd.js.__ivy_ngcc_bak +0 -719
  487. package/bundles/sd-angular-core-notify.umd.js.map.__ivy_ngcc_bak +0 -1
  488. package/bundles/sd-angular-core-popover.umd.js.__ivy_ngcc_bak +0 -752
  489. package/bundles/sd-angular-core-popover.umd.js.map.__ivy_ngcc_bak +0 -1
  490. package/bundles/sd-angular-core-quick-action.umd.js.__ivy_ngcc_bak +0 -66
  491. package/bundles/sd-angular-core-quick-action.umd.js.map.__ivy_ngcc_bak +0 -1
  492. package/bundles/sd-angular-core-radio.umd.js.__ivy_ngcc_bak +0 -535
  493. package/bundles/sd-angular-core-radio.umd.js.map.__ivy_ngcc_bak +0 -1
  494. package/bundles/sd-angular-core-select-badge.umd.js.__ivy_ngcc_bak +0 -486
  495. package/bundles/sd-angular-core-select-badge.umd.js.map.__ivy_ngcc_bak +0 -1
  496. package/bundles/sd-angular-core-select-editor.umd.js.__ivy_ngcc_bak +0 -431
  497. package/bundles/sd-angular-core-select-editor.umd.js.map.__ivy_ngcc_bak +0 -1
  498. package/bundles/sd-angular-core-select.umd.js.__ivy_ngcc_bak +0 -921
  499. package/bundles/sd-angular-core-select.umd.js.map.__ivy_ngcc_bak +0 -1
  500. package/bundles/sd-angular-core-service.umd.js.__ivy_ngcc_bak +0 -42
  501. package/bundles/sd-angular-core-service.umd.js.map.__ivy_ngcc_bak +0 -1
  502. package/bundles/sd-angular-core-setting.umd.js.__ivy_ngcc_bak +0 -664
  503. package/bundles/sd-angular-core-setting.umd.js.map.__ivy_ngcc_bak +0 -1
  504. package/bundles/sd-angular-core-side-drawer.umd.js.__ivy_ngcc_bak +0 -438
  505. package/bundles/sd-angular-core-side-drawer.umd.js.map.__ivy_ngcc_bak +0 -1
  506. package/bundles/sd-angular-core-switch.umd.js.__ivy_ngcc_bak +0 -454
  507. package/bundles/sd-angular-core-switch.umd.js.map.__ivy_ngcc_bak +0 -1
  508. package/bundles/sd-angular-core-tab-router.umd.js.__ivy_ngcc_bak +0 -941
  509. package/bundles/sd-angular-core-tab-router.umd.js.map.__ivy_ngcc_bak +0 -1
  510. package/bundles/sd-angular-core-textarea.umd.js.__ivy_ngcc_bak +0 -642
  511. package/bundles/sd-angular-core-textarea.umd.js.map.__ivy_ngcc_bak +0 -1
  512. package/bundles/sd-angular-core-time.umd.js.__ivy_ngcc_bak +0 -497
  513. package/bundles/sd-angular-core-time.umd.js.map.__ivy_ngcc_bak +0 -1
  514. package/bundles/sd-angular-core-timeline.umd.js.__ivy_ngcc_bak +0 -102
  515. package/bundles/sd-angular-core-timeline.umd.js.map.__ivy_ngcc_bak +0 -1
  516. package/bundles/sd-angular-core-translate.umd.js.__ivy_ngcc_bak +0 -119
  517. package/bundles/sd-angular-core-translate.umd.js.map.__ivy_ngcc_bak +0 -1
  518. package/bundles/sd-angular-core-upload-excel.umd.js.__ivy_ngcc_bak +0 -1114
  519. package/bundles/sd-angular-core-upload-excel.umd.js.map.__ivy_ngcc_bak +0 -1
  520. package/bundles/sd-angular-core-upload-file.umd.js.__ivy_ngcc_bak +0 -880
  521. package/bundles/sd-angular-core-upload-file.umd.js.map.__ivy_ngcc_bak +0 -1
  522. package/bundles/sd-angular-core-utility.umd.js.__ivy_ngcc_bak +0 -739
  523. package/bundles/sd-angular-core-utility.umd.js.map.__ivy_ngcc_bak +0 -1
  524. package/bundles/sd-angular-core-view.umd.js.__ivy_ngcc_bak +0 -32
  525. package/bundles/sd-angular-core-view.umd.js.map.__ivy_ngcc_bak +0 -1
  526. package/button/sd-angular-core-button.d.ts.__ivy_ngcc_bak +0 -4
  527. package/button/sd-angular-core-button.d.ts.map +0 -1
  528. package/cache/sd-angular-core-cache.d.ts.__ivy_ngcc_bak +0 -4
  529. package/cache/sd-angular-core-cache.d.ts.map +0 -1
  530. package/chart/sd-angular-core-chart.d.ts.__ivy_ngcc_bak +0 -4
  531. package/chart/sd-angular-core-chart.d.ts.map +0 -1
  532. package/checkbox/sd-angular-core-checkbox.d.ts.__ivy_ngcc_bak +0 -5
  533. package/checkbox/sd-angular-core-checkbox.d.ts.map +0 -1
  534. package/chip/sd-angular-core-chip.d.ts.__ivy_ngcc_bak +0 -5
  535. package/chip/sd-angular-core-chip.d.ts.map +0 -1
  536. package/comment/sd-angular-core-comment.d.ts.__ivy_ngcc_bak +0 -4
  537. package/comment/sd-angular-core-comment.d.ts.map +0 -1
  538. package/common/sd-angular-core-common.d.ts.__ivy_ngcc_bak +0 -4
  539. package/common/sd-angular-core-common.d.ts.map +0 -1
  540. package/confirm/sd-angular-core-confirm.d.ts.__ivy_ngcc_bak +0 -4
  541. package/confirm/sd-angular-core-confirm.d.ts.map +0 -1
  542. package/date-month/sd-angular-core-date-month.d.ts.__ivy_ngcc_bak +0 -5
  543. package/date-month/sd-angular-core-date-month.d.ts.map +0 -1
  544. package/date-range/sd-angular-core-date-range.d.ts.__ivy_ngcc_bak +0 -4
  545. package/date-range/sd-angular-core-date-range.d.ts.map +0 -1
  546. package/date-time/sd-angular-core-date-time.d.ts.__ivy_ngcc_bak +0 -4
  547. package/date-time/sd-angular-core-date-time.d.ts.map +0 -1
  548. package/db/sd-angular-core-db.d.ts.__ivy_ngcc_bak +0 -4
  549. package/db/sd-angular-core-db.d.ts.map +0 -1
  550. package/dynamic-report/sd-angular-core-dynamic-report.d.ts.__ivy_ngcc_bak +0 -4
  551. package/dynamic-report/sd-angular-core-dynamic-report.d.ts.map +0 -1
  552. package/editor/sd-angular-core-editor.d.ts.__ivy_ngcc_bak +0 -4
  553. package/editor/sd-angular-core-editor.d.ts.map +0 -1
  554. package/esm2015/api/sd-angular-core-api.js.__ivy_ngcc_bak +0 -5
  555. package/esm2015/autocomplete/sd-angular-core-autocomplete.js.__ivy_ngcc_bak +0 -5
  556. package/esm2015/badge/sd-angular-core-badge.js.__ivy_ngcc_bak +0 -5
  557. package/esm2015/button/sd-angular-core-button.js.__ivy_ngcc_bak +0 -5
  558. package/esm2015/cache/sd-angular-core-cache.js.__ivy_ngcc_bak +0 -5
  559. package/esm2015/chart/sd-angular-core-chart.js.__ivy_ngcc_bak +0 -5
  560. package/esm2015/checkbox/sd-angular-core-checkbox.js.__ivy_ngcc_bak +0 -6
  561. package/esm2015/chip/sd-angular-core-chip.js.__ivy_ngcc_bak +0 -6
  562. package/esm2015/comment/sd-angular-core-comment.js.__ivy_ngcc_bak +0 -5
  563. package/esm2015/common/sd-angular-core-common.js.__ivy_ngcc_bak +0 -5
  564. package/esm2015/confirm/sd-angular-core-confirm.js.__ivy_ngcc_bak +0 -5
  565. package/esm2015/date-month/sd-angular-core-date-month.js.__ivy_ngcc_bak +0 -6
  566. package/esm2015/date-range/sd-angular-core-date-range.js.__ivy_ngcc_bak +0 -5
  567. package/esm2015/date-time/sd-angular-core-date-time.js.__ivy_ngcc_bak +0 -5
  568. package/esm2015/db/sd-angular-core-db.js.__ivy_ngcc_bak +0 -5
  569. package/esm2015/dynamic-report/sd-angular-core-dynamic-report.js.__ivy_ngcc_bak +0 -5
  570. package/esm2015/editor/sd-angular-core-editor.js.__ivy_ngcc_bak +0 -5
  571. package/esm2015/excel/sd-angular-core-excel.js.__ivy_ngcc_bak +0 -5
  572. package/esm2015/export/sd-angular-core-export.js.__ivy_ngcc_bak +0 -5
  573. package/esm2015/filter/sd-angular-core-filter.js.__ivy_ngcc_bak +0 -8
  574. package/esm2015/form/sd-angular-core-form.js.__ivy_ngcc_bak +0 -5
  575. package/esm2015/grid/sd-angular-core-grid.js.__ivy_ngcc_bak +0 -5
  576. package/esm2015/grid-material/sd-angular-core-grid-material.js.__ivy_ngcc_bak +0 -47
  577. package/esm2015/group/sd-angular-core-group.js.__ivy_ngcc_bak +0 -6
  578. package/esm2015/header-title/sd-angular-core-header-title.js.__ivy_ngcc_bak +0 -6
  579. package/esm2015/image-preview/sd-angular-core-image-preview.js.__ivy_ngcc_bak +0 -7
  580. package/esm2015/input/sd-angular-core-input.js.__ivy_ngcc_bak +0 -6
  581. package/esm2015/input-currency/sd-angular-core-input-currency.js.__ivy_ngcc_bak +0 -5
  582. package/esm2015/input-dropdown/sd-angular-core-input-dropdown.js.__ivy_ngcc_bak +0 -5
  583. package/esm2015/input-number/sd-angular-core-input-number.js.__ivy_ngcc_bak +0 -5
  584. package/esm2015/input-upload-file/sd-angular-core-input-upload-file.js.__ivy_ngcc_bak +0 -5
  585. package/esm2015/json-editor/sd-angular-core-json-editor.js.__ivy_ngcc_bak +0 -5
  586. package/esm2015/konva/sd-angular-core-konva.js.__ivy_ngcc_bak +0 -5
  587. package/esm2015/label/sd-angular-core-label.js.__ivy_ngcc_bak +0 -6
  588. package/esm2015/loading/sd-angular-core-loading.js.__ivy_ngcc_bak +0 -5
  589. package/esm2015/modal/sd-angular-core-modal.js.__ivy_ngcc_bak +0 -5
  590. package/esm2015/modal-resizable/sd-angular-core-modal-resizable.js.__ivy_ngcc_bak +0 -5
  591. package/esm2015/notify/sd-angular-core-notify.js.__ivy_ngcc_bak +0 -5
  592. package/esm2015/popover/sd-angular-core-popover.js.__ivy_ngcc_bak +0 -5
  593. package/esm2015/quick-action/sd-angular-core-quick-action.js.__ivy_ngcc_bak +0 -5
  594. package/esm2015/radio/sd-angular-core-radio.js.__ivy_ngcc_bak +0 -5
  595. package/esm2015/select/sd-angular-core-select.js.__ivy_ngcc_bak +0 -5
  596. package/esm2015/select-badge/sd-angular-core-select-badge.js.__ivy_ngcc_bak +0 -5
  597. package/esm2015/select-editor/sd-angular-core-select-editor.js.__ivy_ngcc_bak +0 -5
  598. package/esm2015/service/sd-angular-core-service.js.__ivy_ngcc_bak +0 -5
  599. package/esm2015/setting/sd-angular-core-setting.js.__ivy_ngcc_bak +0 -5
  600. package/esm2015/side-drawer/sd-angular-core-side-drawer.js.__ivy_ngcc_bak +0 -5
  601. package/esm2015/switch/sd-angular-core-switch.js.__ivy_ngcc_bak +0 -5
  602. package/esm2015/tab-router/sd-angular-core-tab-router.js.__ivy_ngcc_bak +0 -7
  603. package/esm2015/textarea/sd-angular-core-textarea.js.__ivy_ngcc_bak +0 -5
  604. package/esm2015/time/sd-angular-core-time.js.__ivy_ngcc_bak +0 -6
  605. package/esm2015/timeline/sd-angular-core-timeline.js.__ivy_ngcc_bak +0 -6
  606. package/esm2015/translate/sd-angular-core-translate.js.__ivy_ngcc_bak +0 -5
  607. package/esm2015/upload-excel/sd-angular-core-upload-excel.js.__ivy_ngcc_bak +0 -7
  608. package/esm2015/upload-file/sd-angular-core-upload-file.js.__ivy_ngcc_bak +0 -5
  609. package/esm2015/utility/sd-angular-core-utility.js.__ivy_ngcc_bak +0 -5
  610. package/esm2015/view/sd-angular-core-view.js.__ivy_ngcc_bak +0 -5
  611. package/excel/sd-angular-core-excel.d.ts.__ivy_ngcc_bak +0 -4
  612. package/excel/sd-angular-core-excel.d.ts.map +0 -1
  613. package/export/sd-angular-core-export.d.ts.__ivy_ngcc_bak +0 -4
  614. package/export/sd-angular-core-export.d.ts.map +0 -1
  615. package/fesm2015/sd-angular-core-api.js.__ivy_ngcc_bak +0 -496
  616. package/fesm2015/sd-angular-core-api.js.map.__ivy_ngcc_bak +0 -1
  617. package/fesm2015/sd-angular-core-autocomplete.js.__ivy_ngcc_bak +0 -427
  618. package/fesm2015/sd-angular-core-autocomplete.js.map.__ivy_ngcc_bak +0 -1
  619. package/fesm2015/sd-angular-core-badge.js.__ivy_ngcc_bak +0 -70
  620. package/fesm2015/sd-angular-core-badge.js.map.__ivy_ngcc_bak +0 -1
  621. package/fesm2015/sd-angular-core-button.js.__ivy_ngcc_bak +0 -118
  622. package/fesm2015/sd-angular-core-button.js.map.__ivy_ngcc_bak +0 -1
  623. package/fesm2015/sd-angular-core-cache.js.__ivy_ngcc_bak +0 -259
  624. package/fesm2015/sd-angular-core-cache.js.map.__ivy_ngcc_bak +0 -1
  625. package/fesm2015/sd-angular-core-chart.js.__ivy_ngcc_bak +0 -727
  626. package/fesm2015/sd-angular-core-chart.js.map.__ivy_ngcc_bak +0 -1
  627. package/fesm2015/sd-angular-core-checkbox.js.__ivy_ngcc_bak +0 -120
  628. package/fesm2015/sd-angular-core-checkbox.js.map.__ivy_ngcc_bak +0 -1
  629. package/fesm2015/sd-angular-core-chip.js.__ivy_ngcc_bak +0 -632
  630. package/fesm2015/sd-angular-core-chip.js.map.__ivy_ngcc_bak +0 -1
  631. package/fesm2015/sd-angular-core-comment.js.__ivy_ngcc_bak +0 -118
  632. package/fesm2015/sd-angular-core-comment.js.map.__ivy_ngcc_bak +0 -1
  633. package/fesm2015/sd-angular-core-common.js.__ivy_ngcc_bak +0 -562
  634. package/fesm2015/sd-angular-core-common.js.map.__ivy_ngcc_bak +0 -1
  635. package/fesm2015/sd-angular-core-confirm.js.__ivy_ngcc_bak +0 -154
  636. package/fesm2015/sd-angular-core-confirm.js.map.__ivy_ngcc_bak +0 -1
  637. package/fesm2015/sd-angular-core-date-month.js.__ivy_ngcc_bak +0 -289
  638. package/fesm2015/sd-angular-core-date-month.js.map.__ivy_ngcc_bak +0 -1
  639. package/fesm2015/sd-angular-core-date-range.js.__ivy_ngcc_bak +0 -297
  640. package/fesm2015/sd-angular-core-date-range.js.map.__ivy_ngcc_bak +0 -1
  641. package/fesm2015/sd-angular-core-date-time.js.__ivy_ngcc_bak +0 -367
  642. package/fesm2015/sd-angular-core-date-time.js.map.__ivy_ngcc_bak +0 -1
  643. package/fesm2015/sd-angular-core-db.js.__ivy_ngcc_bak +0 -102
  644. package/fesm2015/sd-angular-core-db.js.map.__ivy_ngcc_bak +0 -1
  645. package/fesm2015/sd-angular-core-dynamic-report.js.__ivy_ngcc_bak +0 -82
  646. package/fesm2015/sd-angular-core-dynamic-report.js.map.__ivy_ngcc_bak +0 -1
  647. package/fesm2015/sd-angular-core-editor.js.__ivy_ngcc_bak +0 -576
  648. package/fesm2015/sd-angular-core-editor.js.map.__ivy_ngcc_bak +0 -1
  649. package/fesm2015/sd-angular-core-excel.js.__ivy_ngcc_bak +0 -100
  650. package/fesm2015/sd-angular-core-excel.js.map.__ivy_ngcc_bak +0 -1
  651. package/fesm2015/sd-angular-core-export.js.__ivy_ngcc_bak +0 -272
  652. package/fesm2015/sd-angular-core-export.js.map.__ivy_ngcc_bak +0 -1
  653. package/fesm2015/sd-angular-core-filter.js.__ivy_ngcc_bak +0 -323
  654. package/fesm2015/sd-angular-core-filter.js.map.__ivy_ngcc_bak +0 -1
  655. package/fesm2015/sd-angular-core-form.js.__ivy_ngcc_bak +0 -104
  656. package/fesm2015/sd-angular-core-form.js.map.__ivy_ngcc_bak +0 -1
  657. package/fesm2015/sd-angular-core-grid-material.js.__ivy_ngcc_bak +0 -3740
  658. package/fesm2015/sd-angular-core-grid-material.js.map.__ivy_ngcc_bak +0 -1
  659. package/fesm2015/sd-angular-core-grid.js.__ivy_ngcc_bak +0 -3935
  660. package/fesm2015/sd-angular-core-grid.js.map.__ivy_ngcc_bak +0 -1
  661. package/fesm2015/sd-angular-core-group.js.__ivy_ngcc_bak +0 -74
  662. package/fesm2015/sd-angular-core-group.js.map.__ivy_ngcc_bak +0 -1
  663. package/fesm2015/sd-angular-core-header-title.js.__ivy_ngcc_bak +0 -45
  664. package/fesm2015/sd-angular-core-header-title.js.map.__ivy_ngcc_bak +0 -1
  665. package/fesm2015/sd-angular-core-image-preview.js.__ivy_ngcc_bak +0 -107
  666. package/fesm2015/sd-angular-core-image-preview.js.map.__ivy_ngcc_bak +0 -1
  667. package/fesm2015/sd-angular-core-input-currency.js.__ivy_ngcc_bak +0 -330
  668. package/fesm2015/sd-angular-core-input-currency.js.map.__ivy_ngcc_bak +0 -1
  669. package/fesm2015/sd-angular-core-input-dropdown.js.__ivy_ngcc_bak +0 -268
  670. package/fesm2015/sd-angular-core-input-dropdown.js.map.__ivy_ngcc_bak +0 -1
  671. package/fesm2015/sd-angular-core-input-number.js.__ivy_ngcc_bak +0 -415
  672. package/fesm2015/sd-angular-core-input-number.js.map.__ivy_ngcc_bak +0 -1
  673. package/fesm2015/sd-angular-core-input-upload-file.js.__ivy_ngcc_bak +0 -274
  674. package/fesm2015/sd-angular-core-input-upload-file.js.map.__ivy_ngcc_bak +0 -1
  675. package/fesm2015/sd-angular-core-input.js.__ivy_ngcc_bak +0 -398
  676. package/fesm2015/sd-angular-core-input.js.map.__ivy_ngcc_bak +0 -1
  677. package/fesm2015/sd-angular-core-json-editor.js.__ivy_ngcc_bak +0 -180
  678. package/fesm2015/sd-angular-core-json-editor.js.map.__ivy_ngcc_bak +0 -1
  679. package/fesm2015/sd-angular-core-konva.js.__ivy_ngcc_bak +0 -237
  680. package/fesm2015/sd-angular-core-konva.js.map.__ivy_ngcc_bak +0 -1
  681. package/fesm2015/sd-angular-core-label.js.__ivy_ngcc_bak +0 -49
  682. package/fesm2015/sd-angular-core-label.js.map.__ivy_ngcc_bak +0 -1
  683. package/fesm2015/sd-angular-core-loading.js.__ivy_ngcc_bak +0 -83
  684. package/fesm2015/sd-angular-core-loading.js.map.__ivy_ngcc_bak +0 -1
  685. package/fesm2015/sd-angular-core-modal-resizable.js.__ivy_ngcc_bak +0 -161
  686. package/fesm2015/sd-angular-core-modal-resizable.js.map.__ivy_ngcc_bak +0 -1
  687. package/fesm2015/sd-angular-core-modal.js.__ivy_ngcc_bak +0 -284
  688. package/fesm2015/sd-angular-core-modal.js.map.__ivy_ngcc_bak +0 -1
  689. package/fesm2015/sd-angular-core-notify.js.__ivy_ngcc_bak +0 -402
  690. package/fesm2015/sd-angular-core-notify.js.map.__ivy_ngcc_bak +0 -1
  691. package/fesm2015/sd-angular-core-popover.js.__ivy_ngcc_bak +0 -415
  692. package/fesm2015/sd-angular-core-popover.js.map.__ivy_ngcc_bak +0 -1
  693. package/fesm2015/sd-angular-core-quick-action.js.__ivy_ngcc_bak +0 -53
  694. package/fesm2015/sd-angular-core-quick-action.js.map.__ivy_ngcc_bak +0 -1
  695. package/fesm2015/sd-angular-core-radio.js.__ivy_ngcc_bak +0 -188
  696. package/fesm2015/sd-angular-core-radio.js.map.__ivy_ngcc_bak +0 -1
  697. package/fesm2015/sd-angular-core-select-badge.js.__ivy_ngcc_bak +0 -156
  698. package/fesm2015/sd-angular-core-select-badge.js.map.__ivy_ngcc_bak +0 -1
  699. package/fesm2015/sd-angular-core-select-editor.js.__ivy_ngcc_bak +0 -110
  700. package/fesm2015/sd-angular-core-select-editor.js.map.__ivy_ngcc_bak +0 -1
  701. package/fesm2015/sd-angular-core-select.js.__ivy_ngcc_bak +0 -487
  702. package/fesm2015/sd-angular-core-select.js.map.__ivy_ngcc_bak +0 -1
  703. package/fesm2015/sd-angular-core-service.js.__ivy_ngcc_bak +0 -36
  704. package/fesm2015/sd-angular-core-service.js.map.__ivy_ngcc_bak +0 -1
  705. package/fesm2015/sd-angular-core-setting.js.__ivy_ngcc_bak +0 -290
  706. package/fesm2015/sd-angular-core-setting.js.map.__ivy_ngcc_bak +0 -1
  707. package/fesm2015/sd-angular-core-side-drawer.js.__ivy_ngcc_bak +0 -115
  708. package/fesm2015/sd-angular-core-side-drawer.js.map.__ivy_ngcc_bak +0 -1
  709. package/fesm2015/sd-angular-core-switch.js.__ivy_ngcc_bak +0 -116
  710. package/fesm2015/sd-angular-core-switch.js.map.__ivy_ngcc_bak +0 -1
  711. package/fesm2015/sd-angular-core-tab-router.js.__ivy_ngcc_bak +0 -531
  712. package/fesm2015/sd-angular-core-tab-router.js.map.__ivy_ngcc_bak +0 -1
  713. package/fesm2015/sd-angular-core-textarea.js.__ivy_ngcc_bak +0 -266
  714. package/fesm2015/sd-angular-core-textarea.js.map.__ivy_ngcc_bak +0 -1
  715. package/fesm2015/sd-angular-core-time.js.__ivy_ngcc_bak +0 -143
  716. package/fesm2015/sd-angular-core-time.js.map.__ivy_ngcc_bak +0 -1
  717. package/fesm2015/sd-angular-core-timeline.js.__ivy_ngcc_bak +0 -87
  718. package/fesm2015/sd-angular-core-timeline.js.map.__ivy_ngcc_bak +0 -1
  719. package/fesm2015/sd-angular-core-translate.js.__ivy_ngcc_bak +0 -101
  720. package/fesm2015/sd-angular-core-translate.js.map.__ivy_ngcc_bak +0 -1
  721. package/fesm2015/sd-angular-core-upload-excel.js.__ivy_ngcc_bak +0 -638
  722. package/fesm2015/sd-angular-core-upload-excel.js.map.__ivy_ngcc_bak +0 -1
  723. package/fesm2015/sd-angular-core-upload-file.js.__ivy_ngcc_bak +0 -462
  724. package/fesm2015/sd-angular-core-upload-file.js.map.__ivy_ngcc_bak +0 -1
  725. package/fesm2015/sd-angular-core-utility.js.__ivy_ngcc_bak +0 -384
  726. package/fesm2015/sd-angular-core-utility.js.map.__ivy_ngcc_bak +0 -1
  727. package/fesm2015/sd-angular-core-view.js.__ivy_ngcc_bak +0 -23
  728. package/fesm2015/sd-angular-core-view.js.map.__ivy_ngcc_bak +0 -1
  729. package/filter/sd-angular-core-filter.d.ts.__ivy_ngcc_bak +0 -7
  730. package/filter/sd-angular-core-filter.d.ts.map +0 -1
  731. package/form/sd-angular-core-form.d.ts.__ivy_ngcc_bak +0 -4
  732. package/form/sd-angular-core-form.d.ts.map +0 -1
  733. package/grid/sd-angular-core-grid.d.ts.__ivy_ngcc_bak +0 -4
  734. package/grid/sd-angular-core-grid.d.ts.map +0 -1
  735. package/grid-material/sd-angular-core-grid-material.d.ts.__ivy_ngcc_bak +0 -46
  736. package/grid-material/sd-angular-core-grid-material.d.ts.map +0 -1
  737. package/group/sd-angular-core-group.d.ts.__ivy_ngcc_bak +0 -5
  738. package/group/sd-angular-core-group.d.ts.map +0 -1
  739. package/header-title/sd-angular-core-header-title.d.ts.__ivy_ngcc_bak +0 -5
  740. package/header-title/sd-angular-core-header-title.d.ts.map +0 -1
  741. package/image-preview/sd-angular-core-image-preview.d.ts.__ivy_ngcc_bak +0 -6
  742. package/image-preview/sd-angular-core-image-preview.d.ts.map +0 -1
  743. package/input/sd-angular-core-input.d.ts.__ivy_ngcc_bak +0 -5
  744. package/input/sd-angular-core-input.d.ts.map +0 -1
  745. package/input-currency/sd-angular-core-input-currency.d.ts.__ivy_ngcc_bak +0 -4
  746. package/input-currency/sd-angular-core-input-currency.d.ts.map +0 -1
  747. package/input-dropdown/sd-angular-core-input-dropdown.d.ts.__ivy_ngcc_bak +0 -4
  748. package/input-dropdown/sd-angular-core-input-dropdown.d.ts.map +0 -1
  749. package/input-number/sd-angular-core-input-number.d.ts.__ivy_ngcc_bak +0 -4
  750. package/input-number/sd-angular-core-input-number.d.ts.map +0 -1
  751. package/input-upload-file/sd-angular-core-input-upload-file.d.ts.__ivy_ngcc_bak +0 -4
  752. package/input-upload-file/sd-angular-core-input-upload-file.d.ts.map +0 -1
  753. package/json-editor/sd-angular-core-json-editor.d.ts.__ivy_ngcc_bak +0 -4
  754. package/json-editor/sd-angular-core-json-editor.d.ts.map +0 -1
  755. package/konva/sd-angular-core-konva.d.ts.__ivy_ngcc_bak +0 -4
  756. package/konva/sd-angular-core-konva.d.ts.map +0 -1
  757. package/label/sd-angular-core-label.d.ts.__ivy_ngcc_bak +0 -5
  758. package/label/sd-angular-core-label.d.ts.map +0 -1
  759. package/loading/sd-angular-core-loading.d.ts.__ivy_ngcc_bak +0 -4
  760. package/loading/sd-angular-core-loading.d.ts.map +0 -1
  761. package/modal/sd-angular-core-modal.d.ts.__ivy_ngcc_bak +0 -4
  762. package/modal/sd-angular-core-modal.d.ts.map +0 -1
  763. package/modal-resizable/sd-angular-core-modal-resizable.d.ts.__ivy_ngcc_bak +0 -4
  764. package/modal-resizable/sd-angular-core-modal-resizable.d.ts.map +0 -1
  765. package/notify/sd-angular-core-notify.d.ts.__ivy_ngcc_bak +0 -4
  766. package/notify/sd-angular-core-notify.d.ts.map +0 -1
  767. package/popover/sd-angular-core-popover.d.ts.__ivy_ngcc_bak +0 -4
  768. package/popover/sd-angular-core-popover.d.ts.map +0 -1
  769. package/quick-action/sd-angular-core-quick-action.d.ts.__ivy_ngcc_bak +0 -4
  770. package/quick-action/sd-angular-core-quick-action.d.ts.map +0 -1
  771. package/radio/sd-angular-core-radio.d.ts.__ivy_ngcc_bak +0 -4
  772. package/radio/sd-angular-core-radio.d.ts.map +0 -1
  773. package/sd-angular-core-1.3.0.tgz +0 -0
  774. package/select/sd-angular-core-select.d.ts.__ivy_ngcc_bak +0 -4
  775. package/select/sd-angular-core-select.d.ts.map +0 -1
  776. package/select-badge/sd-angular-core-select-badge.d.ts.__ivy_ngcc_bak +0 -4
  777. package/select-badge/sd-angular-core-select-badge.d.ts.map +0 -1
  778. package/select-editor/sd-angular-core-select-editor.d.ts.__ivy_ngcc_bak +0 -4
  779. package/select-editor/sd-angular-core-select-editor.d.ts.map +0 -1
  780. package/service/sd-angular-core-service.d.ts.__ivy_ngcc_bak +0 -4
  781. package/service/sd-angular-core-service.d.ts.map +0 -1
  782. package/setting/sd-angular-core-setting.d.ts.__ivy_ngcc_bak +0 -4
  783. package/setting/sd-angular-core-setting.d.ts.map +0 -1
  784. package/side-drawer/sd-angular-core-side-drawer.d.ts.__ivy_ngcc_bak +0 -4
  785. package/side-drawer/sd-angular-core-side-drawer.d.ts.map +0 -1
  786. package/switch/sd-angular-core-switch.d.ts.__ivy_ngcc_bak +0 -4
  787. package/switch/sd-angular-core-switch.d.ts.map +0 -1
  788. package/tab-router/sd-angular-core-tab-router.d.ts.__ivy_ngcc_bak +0 -6
  789. package/tab-router/sd-angular-core-tab-router.d.ts.map +0 -1
  790. package/textarea/sd-angular-core-textarea.d.ts.__ivy_ngcc_bak +0 -4
  791. package/textarea/sd-angular-core-textarea.d.ts.map +0 -1
  792. package/time/sd-angular-core-time.d.ts.__ivy_ngcc_bak +0 -5
  793. package/time/sd-angular-core-time.d.ts.map +0 -1
  794. package/timeline/sd-angular-core-timeline.d.ts.__ivy_ngcc_bak +0 -5
  795. package/timeline/sd-angular-core-timeline.d.ts.map +0 -1
  796. package/translate/sd-angular-core-translate.d.ts.__ivy_ngcc_bak +0 -4
  797. package/translate/sd-angular-core-translate.d.ts.map +0 -1
  798. package/upload-excel/sd-angular-core-upload-excel.d.ts.__ivy_ngcc_bak +0 -6
  799. package/upload-excel/sd-angular-core-upload-excel.d.ts.map +0 -1
  800. package/upload-file/sd-angular-core-upload-file.d.ts.__ivy_ngcc_bak +0 -4
  801. package/upload-file/sd-angular-core-upload-file.d.ts.map +0 -1
  802. package/utility/sd-angular-core-utility.d.ts.__ivy_ngcc_bak +0 -4
  803. package/utility/sd-angular-core-utility.d.ts.map +0 -1
  804. package/view/sd-angular-core-view.d.ts.__ivy_ngcc_bak +0 -4
  805. package/view/sd-angular-core-view.d.ts.map +0 -1
@@ -1,876 +0,0 @@
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