@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,102 @@
1
+ import { __awaiter } from 'tslib';
2
+ import { ɵɵdefineInjectable, ɵɵinject, Injectable, Inject, Optional } from '@angular/core';
3
+ import { SdApiService } from '@sd-angular/core/api';
4
+ import { FIREBASE_CONFIG } from '@sd-angular/core/common';
5
+
6
+ class SdDbService {
7
+ constructor(apiService, firebaseConfiguration) {
8
+ this.apiService = apiService;
9
+ this.firebaseConfiguration = firebaseConfiguration;
10
+ this.register = (collection, option) => {
11
+ if (!this.hasConfiguration) {
12
+ throw new Error('No firebase function configuration');
13
+ }
14
+ return {
15
+ get: (id) => this.get(collection, id),
16
+ set: (id, data) => this.set(collection, id, data),
17
+ remove: (id) => this.remove(collection, id),
18
+ find: (query) => this.find(collection, query)
19
+ };
20
+ };
21
+ this.get = (collection, id) => __awaiter(this, void 0, void 0, function* () {
22
+ if (!this.hasConfiguration) {
23
+ throw new Error('No firebase function configuration');
24
+ }
25
+ const { functionUrl, project, env } = this.firebaseConfiguration;
26
+ const url = `${functionUrl}/db/get/${project}/${env}/${collection}/${id}`;
27
+ return yield this.apiService.get(url);
28
+ });
29
+ this.set = (collection, id, data) => __awaiter(this, void 0, void 0, function* () {
30
+ if (!this.hasConfiguration) {
31
+ throw new Error('No firebase function configuration');
32
+ }
33
+ const { functionUrl, project, env } = this.firebaseConfiguration;
34
+ const url = `${functionUrl}/db/set/${project}/${env}/${collection}/${id}`;
35
+ yield this.apiService.post(url, data);
36
+ });
37
+ this.remove = (collection, id) => __awaiter(this, void 0, void 0, function* () {
38
+ if (!this.hasConfiguration) {
39
+ throw new Error('No firebase function configuration');
40
+ }
41
+ const { functionUrl, project, env } = this.firebaseConfiguration;
42
+ const url = `${functionUrl}/db/remove/${project}/${env}/${collection}/${id}`;
43
+ yield this.apiService.delete(url);
44
+ });
45
+ this.find = (collection, query) => __awaiter(this, void 0, void 0, function* () {
46
+ if (!this.hasConfiguration) {
47
+ throw new Error('No firebase function configuration');
48
+ }
49
+ let { functionUrl, project, env } = this.firebaseConfiguration;
50
+ if (typeof (collection) === 'string') {
51
+ const url = `${functionUrl}/db/find/${project}/${env}/${collection}`;
52
+ return yield this.apiService.post(url, query);
53
+ }
54
+ functionUrl = (collection === null || collection === void 0 ? void 0 : collection.functionUrl) || functionUrl;
55
+ project = (collection === null || collection === void 0 ? void 0 : collection.project) || project;
56
+ env = (collection === null || collection === void 0 ? void 0 : collection.env) || env;
57
+ const url = `${functionUrl}/db/find/${project}/${env}/${collection.collection}`;
58
+ return yield this.apiService.post(url, query);
59
+ });
60
+ this.clone = (args, from) => __awaiter(this, void 0, void 0, function* () {
61
+ if (!this.hasConfiguration) {
62
+ throw new Error('No firebase function configuration');
63
+ }
64
+ const { functionUrl, project, env } = this.firebaseConfiguration;
65
+ const fromFunctionUrl = (from === null || from === void 0 ? void 0 : from.functionUrl) || functionUrl;
66
+ const fromProject = (from === null || from === void 0 ? void 0 : from.project) || project;
67
+ const fromEnv = from === null || from === void 0 ? void 0 : from.env;
68
+ const fromCollection = from === null || from === void 0 ? void 0 : from.collection;
69
+ const fromDocumentId = from === null || from === void 0 ? void 0 : from.documentId;
70
+ const toCollection = (args === null || args === void 0 ? void 0 : args.collection) || (from === null || from === void 0 ? void 0 : from.collection);
71
+ const toDocumentId = (args === null || args === void 0 ? void 0 : args.documentId) || (from === null || from === void 0 ? void 0 : from.documentId);
72
+ const fromUrl = `${fromFunctionUrl}/db/get/${fromProject}/${fromEnv}/${fromCollection}/${fromDocumentId}`;
73
+ const document = yield this.apiService.get(fromUrl);
74
+ yield this.set(toCollection, toDocumentId, document.data);
75
+ });
76
+ }
77
+ get hasConfiguration() {
78
+ var _a, _b, _c;
79
+ return !!((_a = this.firebaseConfiguration) === null || _a === void 0 ? void 0 : _a.functionUrl) && !!((_b = this.firebaseConfiguration) === null || _b === void 0 ? void 0 : _b.project) && !!((_c = this.firebaseConfiguration) === null || _c === void 0 ? void 0 : _c.env);
80
+ }
81
+ }
82
+ SdDbService.ɵprov = ɵɵdefineInjectable({ factory: function SdDbService_Factory() { return new SdDbService(ɵɵinject(SdApiService), ɵɵinject(FIREBASE_CONFIG, 8)); }, token: SdDbService, providedIn: "root" });
83
+ SdDbService.decorators = [
84
+ { type: Injectable, args: [{
85
+ providedIn: 'root'
86
+ },] }
87
+ ];
88
+ SdDbService.ctorParameters = () => [
89
+ { type: SdApiService },
90
+ { type: undefined, decorators: [{ type: Inject, args: [FIREBASE_CONFIG,] }, { type: Optional }] }
91
+ ];
92
+
93
+ /*
94
+ * Public API Surface of superdev-angular-core
95
+ */
96
+
97
+ /**
98
+ * Generated bundle index. Do not edit.
99
+ */
100
+
101
+ export { SdDbService };
102
+ //# sourceMappingURL=sd-angular-core-db.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sd-angular-core-db.js","sources":["../../../../projects/sd-core/db/src/lib/db.service.ts","../../../../projects/sd-core/db/src/public-api.ts","../../../../projects/sd-core/db/sd-angular-core-db.ts"],"sourcesContent":["import { Optional } from '@angular/core';\r\nimport { Injectable, Inject } from '@angular/core';\r\nimport { SdApiService } from '@sd-angular/core/api';\r\nimport { FIREBASE_CONFIG, IFirebaseConfiguration } from '@sd-angular/core/common';\r\nimport { SdDbQuery, SdDbRegister, SdDbRes } from './db.model';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class SdDbService {\r\n get hasConfiguration() {\r\n return !!this.firebaseConfiguration?.functionUrl && !!this.firebaseConfiguration?.project && !!this.firebaseConfiguration?.env;\r\n }\r\n constructor(\r\n private apiService: SdApiService,\r\n @Inject(FIREBASE_CONFIG) @Optional() private firebaseConfiguration: IFirebaseConfiguration) {\r\n }\r\n\r\n register = <T = any>(collection: string, option?: {\r\n cacheable?: boolean\r\n }): SdDbRegister<T> => {\r\n if (!this.hasConfiguration) {\r\n throw new Error('No firebase function configuration');\r\n }\r\n return {\r\n get: (id: string) => this.get(collection, id),\r\n set: (id: string, data: T) => this.set(collection, id, data),\r\n remove: (id: string) => this.remove(collection, id),\r\n find: (query?: SdDbQuery) => this.find(collection, query)\r\n }\r\n }\r\n\r\n get = async <T = any>(collection: string, id: string): Promise<SdDbRes<T>> => {\r\n if (!this.hasConfiguration) {\r\n throw new Error('No firebase function configuration');\r\n }\r\n const { functionUrl, project, env } = this.firebaseConfiguration;\r\n const url = `${functionUrl}/db/get/${project}/${env}/${collection}/${id}`;\r\n return await this.apiService.get(url);\r\n }\r\n\r\n set = async <T = any>(collection: string, id: string, data: T): Promise<void> => {\r\n if (!this.hasConfiguration) {\r\n throw new Error('No firebase function configuration');\r\n }\r\n const { functionUrl, project, env } = this.firebaseConfiguration;\r\n const url = `${functionUrl}/db/set/${project}/${env}/${collection}/${id}`;\r\n await this.apiService.post(url, data);\r\n }\r\n\r\n remove = async (collection: string, id: string): Promise<void> => {\r\n if (!this.hasConfiguration) {\r\n throw new Error('No firebase function configuration');\r\n }\r\n const { functionUrl, project, env } = this.firebaseConfiguration;\r\n const url = `${functionUrl}/db/remove/${project}/${env}/${collection}/${id}`;\r\n await this.apiService.delete(url);\r\n }\r\n\r\n find = async <T = any>(collection: string | {\r\n functionUrl?: string;\r\n project?: string;\r\n env?: string;\r\n collection: string;\r\n }, query?: SdDbQuery): Promise<SdDbRes<(T & { documentId: string })[]>> => {\r\n if (!this.hasConfiguration) {\r\n throw new Error('No firebase function configuration');\r\n }\r\n let { functionUrl, project, env } = this.firebaseConfiguration;\r\n if (typeof (collection) === 'string') {\r\n const url = `${functionUrl}/db/find/${project}/${env}/${collection}`;\r\n return await this.apiService.post(url, query);\r\n }\r\n functionUrl = collection?.functionUrl || functionUrl;\r\n project = collection?.project || project;\r\n env = collection?.env || env;\r\n const url = `${functionUrl}/db/find/${project}/${env}/${collection.collection}`;\r\n return await this.apiService.post(url, query);\r\n }\r\n\r\n clone = async<T = any>(args: {\r\n collection?: string,\r\n documentId?: string\r\n }, from: {\r\n functionUrl?: string,\r\n project?: string,\r\n env: string,\r\n collection: string,\r\n documentId: string\r\n }) => {\r\n if (!this.hasConfiguration) {\r\n throw new Error('No firebase function configuration');\r\n }\r\n const { functionUrl, project, env } = this.firebaseConfiguration;\r\n const fromFunctionUrl = from?.functionUrl || functionUrl;\r\n const fromProject = from?.project || project;\r\n const fromEnv = from?.env;\r\n const fromCollection = from?.collection;\r\n const fromDocumentId = from?.documentId;\r\n const toCollection = args?.collection || from?.collection;\r\n const toDocumentId = args?.documentId || from?.documentId;\r\n const fromUrl = `${fromFunctionUrl}/db/get/${fromProject}/${fromEnv}/${fromCollection}/${fromDocumentId}`;\r\n const document = await this.apiService.get<SdDbRes<T>>(fromUrl);\r\n await this.set(toCollection, toDocumentId, document.data);\r\n }\r\n}\r\n","/*\r\n * Public API Surface of superdev-angular-core\r\n */\r\n\r\nexport * from './lib/db.model';\r\nexport * from './lib/db.service';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MASa,WAAW;IAItB,YACU,UAAwB,EACa,qBAA6C;QADlF,eAAU,GAAV,UAAU,CAAc;QACa,0BAAqB,GAArB,qBAAqB,CAAwB;QAG5F,aAAQ,GAAG,CAAU,UAAkB,EAAE,MAExC;YACC,IAAI,CAAC,IAAI,CAAC,gBAAgB,EAAE;gBAC1B,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACvD;YACD,OAAO;gBACL,GAAG,EAAE,CAAC,EAAU,KAAK,IAAI,C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AAE,YAAY,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC;SAC3D,CAAA,CAAA;KAxFA;IAND,IAAI,gBAAgB;;QAClB,OAAO,CAAC,QAAC,IAAI,CAAC,qBAAqB,0CAAE,WAAW,CAAA,IAAI,CAAC,QAAC,IAAI,CAAC,qBAAqB,0CAAE,OAAO,CAAA,IAAI,CAAC,QAAC,IAAI,CAAC,qBAAqB,0CAAE,GAAG,CAAA,CAAC;KAChI;;;;YANF,UAAU,SAAC;gBACV,UAAU,EAAE,MAAM;aACnB;;;YANQ,YAAY;4CAahB,MAAM,SAAC,eAAe,cAAG,QAAQ;;;ACftC;;;;ACAA;;;;;;"}
1
+ {"version":3,"file":"sd-angular-core-db.js","sources":["../../../../projects/sd-core/db/src/lib/db.service.ts","../../../../projects/sd-core/db/src/public-api.ts","../../../../projects/sd-core/db/sd-angular-core-db.ts"],"names":[],"mappings":";;;;;MASa,WAAW;AACxB,IAGE,YACU,UAAwB,EACa,qBAA6C;AAC9F,QAFY,eAAU,GAAV,UAAU,CAAc;AAAC,QACY,0BAAqB,GAArB,qBAAqB,CAAwB;AAAC,QAG7F,aAAQ,GAAG,CAAU,UAAkB,EAAE,MAExC;AAAO,YACN,IAAI,CAAC,IAAI,CAAC,gBAAgB,EAAE;AAChC,gBAAM,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;AAC5D,aAAK;AACL,YAAI,OAAO;AACX,gBAAM,GAAG,EAAE,CAAC,EAAU,KAAK,IAAI,CAAC,GAAG,CAAC,UAAU,EAAE,EAAE,CAAC;AACnD,gBAAM,GAAG,EAAE,CAAC,EAAU,EAAE,IAAO,KAAK,IAAI,CAAC,GAAG,CAAC,UAAU,EAAE,EAAE,EAAE,IAAI,CAAC;AAClE,gBAAM,MAAM,EAAE,CAAC,EAAU,KAAK,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE,EAAE,CAAC;AACzD,gBAAM,IAAI,EAAE,CAAC,KAAiB,KAAK,IAAI,CAAC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AACpE,YAAI,MAAM,IAAI,CAAC,GAAG,CAAC,YAAY,EAAE,YAAY,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC;AAC9D,SAAG,CAAA,CAAA;AACH,KAzFG;AACH,IAPE,IAAI,gBAAgB;AACtB;AAAwB,QAApB,OAAO,CAAC,QAAC,IAAI,CAAC,qBAAqB,0CAAE,WAAW,CAAA,IAAI,CAAC,QAAC,IAAI,CAAC,qBAAqB,0CAAE,OAAO,CAAA,IAAI,CAAC,QAAC,IAAI,CAAC,qBAAqB,0CAAE,GAAG,CAAA,CAAC;AACnI,KAAG;AACH;AAAE;AAKmD;AAEnD,YAdD,UAAU,SAAC;AACZ,gBAAE,UAAU,EAAE,MAAM;AACpB,aAAC;AACE;AAAG;AACU,YARP,YAAY;AAAI,4CAapB,MAAM,SAAC,eAAe,cAAG,QAAQ;AAAM;AAAG;ACf/C;AACA;AACA;AACA;ACHA;AACA;AACA;AACA;AACA;AAAwB","sourcesContent":["import { Optional } from '@angular/core';\r\nimport { Injectable, Inject } from '@angular/core';\r\nimport { SdApiService } from '@sd-angular/core/api';\r\nimport { FIREBASE_CONFIG, IFirebaseConfiguration } from '@sd-angular/core/common';\r\nimport { SdDbQuery, SdDbRegister, SdDbRes } from './db.model';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class SdDbService {\r\n get hasConfiguration() {\r\n return !!this.firebaseConfiguration?.functionUrl && !!this.firebaseConfiguration?.project && !!this.firebaseConfiguration?.env;\r\n }\r\n constructor(\r\n private apiService: SdApiService,\r\n @Inject(FIREBASE_CONFIG) @Optional() private firebaseConfiguration: IFirebaseConfiguration) {\r\n }\r\n\r\n register = <T = any>(collection: string, option?: {\r\n cacheable?: boolean\r\n }): SdDbRegister<T> => {\r\n if (!this.hasConfiguration) {\r\n throw new Error('No firebase function configuration');\r\n }\r\n return {\r\n get: (id: string) => this.get(collection, id),\r\n set: (id: string, data: T) => this.set(collection, id, data),\r\n remove: (id: string) => this.remove(collection, id),\r\n find: (query?: SdDbQuery) => this.find(collection, query)\r\n }\r\n }\r\n\r\n get = async <T = any>(collection: string, id: string): Promise<SdDbRes<T>> => {\r\n if (!this.hasConfiguration) {\r\n throw new Error('No firebase function configuration');\r\n }\r\n const { functionUrl, project, env } = this.firebaseConfiguration;\r\n const url = `${functionUrl}/db/get/${project}/${env}/${collection}/${id}`;\r\n return await this.apiService.get(url);\r\n }\r\n\r\n set = async <T = any>(collection: string, id: string, data: T): Promise<void> => {\r\n if (!this.hasConfiguration) {\r\n throw new Error('No firebase function configuration');\r\n }\r\n const { functionUrl, project, env } = this.firebaseConfiguration;\r\n const url = `${functionUrl}/db/set/${project}/${env}/${collection}/${id}`;\r\n await this.apiService.post(url, data);\r\n }\r\n\r\n remove = async (collection: string, id: string): Promise<void> => {\r\n if (!this.hasConfiguration) {\r\n throw new Error('No firebase function configuration');\r\n }\r\n const { functionUrl, project, env } = this.firebaseConfiguration;\r\n const url = `${functionUrl}/db/remove/${project}/${env}/${collection}/${id}`;\r\n await this.apiService.delete(url);\r\n }\r\n\r\n find = async <T = any>(collection: string | {\r\n functionUrl?: string;\r\n project?: string;\r\n env?: string;\r\n collection: string;\r\n }, query?: SdDbQuery): Promise<SdDbRes<(T & { documentId: string })[]>> => {\r\n if (!this.hasConfiguration) {\r\n throw new Error('No firebase function configuration');\r\n }\r\n let { functionUrl, project, env } = this.firebaseConfiguration;\r\n if (typeof (collection) === 'string') {\r\n const url = `${functionUrl}/db/find/${project}/${env}/${collection}`;\r\n return await this.apiService.post(url, query);\r\n }\r\n functionUrl = collection?.functionUrl || functionUrl;\r\n project = collection?.project || project;\r\n env = collection?.env || env;\r\n const url = `${functionUrl}/db/find/${project}/${env}/${collection.collection}`;\r\n return await this.apiService.post(url, query);\r\n }\r\n\r\n clone = async<T = any>(args: {\r\n collection?: string,\r\n documentId?: string\r\n }, from: {\r\n functionUrl?: string,\r\n project?: string,\r\n env: string,\r\n collection: string,\r\n documentId: string\r\n }) => {\r\n if (!this.hasConfiguration) {\r\n throw new Error('No firebase function configuration');\r\n }\r\n const { functionUrl, project, env } = this.firebaseConfiguration;\r\n const fromFunctionUrl = from?.functionUrl || functionUrl;\r\n const fromProject = from?.project || project;\r\n const fromEnv = from?.env;\r\n const fromCollection = from?.collection;\r\n const fromDocumentId = from?.documentId;\r\n const toCollection = args?.collection || from?.collection;\r\n const toDocumentId = args?.documentId || from?.documentId;\r\n const fromUrl = `${fromFunctionUrl}/db/get/${fromProject}/${fromEnv}/${fromCollection}/${fromDocumentId}`;\r\n const document = await this.apiService.get<SdDbRes<T>>(fromUrl);\r\n await this.set(toCollection, toDocumentId, document.data);\r\n }\r\n}\r\n","/*\r\n * Public API Surface of superdev-angular-core\r\n */\r\n\r\nexport * from './lib/db.model';\r\nexport * from './lib/db.service';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sd-angular-core-db.js","sources":["../../../../projects/sd-core/db/src/lib/db.service.ts","../../../../projects/sd-core/db/src/public-api.ts","../../../../projects/sd-core/db/sd-angular-core-db.ts"],"sourcesContent":["import { Optional } from '@angular/core';\r\nimport { Injectable, Inject } from '@angular/core';\r\nimport { SdApiService } from '@sd-angular/core/api';\r\nimport { FIREBASE_CONFIG, IFirebaseConfiguration } from '@sd-angular/core/common';\r\nimport { SdDbQuery, SdDbRegister, SdDbRes } from './db.model';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class SdDbService {\r\n get hasConfiguration() {\r\n return !!this.firebaseConfiguration?.functionUrl && !!this.firebaseConfiguration?.project && !!this.firebaseConfiguration?.env;\r\n }\r\n constructor(\r\n private apiService: SdApiService,\r\n @Inject(FIREBASE_CONFIG) @Optional() private firebaseConfiguration: IFirebaseConfiguration) {\r\n }\r\n\r\n register = <T = any>(collection: string, option?: {\r\n cacheable?: boolean\r\n }): SdDbRegister<T> => {\r\n if (!this.hasConfiguration) {\r\n throw new Error('No firebase function configuration');\r\n }\r\n return {\r\n get: (id: string) => this.get(collection, id),\r\n set: (id: string, data: T) => this.set(collection, id, data),\r\n remove: (id: string) => this.remove(collection, id),\r\n find: (query?: SdDbQuery) => this.find(collection, query)\r\n }\r\n }\r\n\r\n get = async <T = any>(collection: string, id: string): Promise<SdDbRes<T>> => {\r\n if (!this.hasConfiguration) {\r\n throw new Error('No firebase function configuration');\r\n }\r\n const { functionUrl, project, env } = this.firebaseConfiguration;\r\n const url = `${functionUrl}/db/get/${project}/${env}/${collection}/${id}`;\r\n return await this.apiService.get(url);\r\n }\r\n\r\n set = async <T = any>(collection: string, id: string, data: T): Promise<void> => {\r\n if (!this.hasConfiguration) {\r\n throw new Error('No firebase function configuration');\r\n }\r\n const { functionUrl, project, env } = this.firebaseConfiguration;\r\n const url = `${functionUrl}/db/set/${project}/${env}/${collection}/${id}`;\r\n await this.apiService.post(url, data);\r\n }\r\n\r\n remove = async (collection: string, id: string): Promise<void> => {\r\n if (!this.hasConfiguration) {\r\n throw new Error('No firebase function configuration');\r\n }\r\n const { functionUrl, project, env } = this.firebaseConfiguration;\r\n const url = `${functionUrl}/db/remove/${project}/${env}/${collection}/${id}`;\r\n await this.apiService.delete(url);\r\n }\r\n\r\n find = async <T = any>(collection: string | {\r\n functionUrl?: string;\r\n project?: string;\r\n env?: string;\r\n collection: string;\r\n }, query?: SdDbQuery): Promise<SdDbRes<(T & { documentId: string })[]>> => {\r\n if (!this.hasConfiguration) {\r\n throw new Error('No firebase function configuration');\r\n }\r\n let { functionUrl, project, env } = this.firebaseConfiguration;\r\n if (typeof (collection) === 'string') {\r\n const url = `${functionUrl}/db/find/${project}/${env}/${collection}`;\r\n return await this.apiService.post(url, query);\r\n }\r\n functionUrl = collection?.functionUrl || functionUrl;\r\n project = collection?.project || project;\r\n env = collection?.env || env;\r\n const url = `${functionUrl}/db/find/${project}/${env}/${collection.collection}`;\r\n return await this.apiService.post(url, query);\r\n }\r\n\r\n clone = async<T = any>(args: {\r\n collection?: string,\r\n documentId?: string\r\n }, from: {\r\n functionUrl?: string,\r\n project?: string,\r\n env: string,\r\n collection: string,\r\n documentId: string\r\n }) => {\r\n if (!this.hasConfiguration) {\r\n throw new Error('No firebase function configuration');\r\n }\r\n const { functionUrl, project, env } = this.firebaseConfiguration;\r\n const fromFunctionUrl = from?.functionUrl || functionUrl;\r\n const fromProject = from?.project || project;\r\n const fromEnv = from?.env;\r\n const fromCollection = from?.collection;\r\n const fromDocumentId = from?.documentId;\r\n const toCollection = args?.collection || from?.collection;\r\n const toDocumentId = args?.documentId || from?.documentId;\r\n const fromUrl = `${fromFunctionUrl}/db/get/${fromProject}/${fromEnv}/${fromCollection}/${fromDocumentId}`;\r\n const document = await this.apiService.get<SdDbRes<T>>(fromUrl);\r\n await this.set(toCollection, toDocumentId, document.data);\r\n }\r\n}\r\n","/*\r\n * Public API Surface of superdev-angular-core\r\n */\r\n\r\nexport * from './lib/db.model';\r\nexport * from './lib/db.service';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MASa,WAAW;IAItB,YACU,UAAwB,EACa,qBAA6C;QADlF,eAAU,GAAV,UAAU,CAAc;QACa,0BAAqB,GAArB,qBAAqB,CAAwB;QAG5F,aAAQ,GAAG,CAAU,UAAkB,EAAE,MAExC;YACC,IAAI,CAAC,IAAI,CAAC,gBAAgB,EAAE;gBAC1B,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACvD;YACD,OAAO;gBACL,GAAG,EAAE,CAAC,EAAU,KAAK,IAAI,CAAC,GAAG,CAAC,UAAU,EAAE,EAAE,CAAC;gBAC7C,GAAG,EAAE,CAAC,EAAU,EAAE,IAAO,KAAK,IAAI,CAAC,GAAG,CAAC,UAAU,EAAE,EAAE,EAAE,IAAI,CAAC;gBAC5D,MAAM,EAAE,CAAC,EAAU,KAAK,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE,EAAE,CAAC;gBACnD,IAAI,EAAE,CAAC,KAA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,CAAA,CAAC;KAChI;;;;YANF,UAAU,SAAC;gBACV,UAAU,EAAE,MAAM;aACnB;;;YANQ,YAAY;4CAahB,MAAM,SAAC,eAAe,cAAG,QAAQ;;;ACftC;;;;ACAA;;;;;;"}
@@ -79,4 +79,5 @@ SdDynamicReportModule.decorators = [
79
79
  */
80
80
 
81
81
  export { SdDynamicReportComponent, SdDynamicReportModule };
82
- //# sourceMappingURL=sd-angular-core-dynamic-report.js.map
82
+
83
+ //# sourceMappingURL=sd-angular-core-dynamic-report.js.map
@@ -0,0 +1,82 @@
1
+ import { Component, ChangeDetectorRef, Input, NgModule } from '@angular/core';
2
+ import { DomSanitizer } from '@angular/platform-browser';
3
+ import { SdUtilityService, SdUtilityModule } from '@sd-angular/core/utility';
4
+ import { v4 } from 'uuid';
5
+
6
+ class SdDynamicReportComponent {
7
+ constructor(ref, sanitizer, utilityService) {
8
+ this.ref = ref;
9
+ this.sanitizer = sanitizer;
10
+ this.utilityService = utilityService;
11
+ this.printId = 'sd' + v4();
12
+ this.print = () => {
13
+ // this.utilityService.printHtml(this.printId);
14
+ };
15
+ }
16
+ set html(value) {
17
+ // tslint:disable-next-line: max-line-length
18
+ const regex = /\{[a-zA-ZÀÁÂÃÈÉÊÌÍÒÓÔÕÙÚĂĐĨŨƠàáâãèéêìíòóôõùúăđĩũơƯĂẠẢẤẦẨẪẬẮẰẲẴẶẸẺẼỀỀỂẾưăạảấầẩẫậắằẳẵặẹẻẽềềểếỄỆỈỊỌỎỐỒỔỖỘỚỜỞỠỢỤỦỨỪễệỉịọỏốồổỗộớờởỡợụủứừỬỮỰỲỴÝỶỸửữựỳỵỷỹ0-9 ]*\}/g;
19
+ // tslint:disable-next-line: max-line-length
20
+ const style = 'border-top: none !important; border-left: none !important; border-right: none !important;border-bottom: dotted 1px black !important;background-color: lightgray !important;outline: none !important;';
21
+ let result = value;
22
+ if (typeof (value) === 'string') {
23
+ while (1) {
24
+ const strs = regex.exec(value);
25
+ if (!strs) {
26
+ break;
27
+ }
28
+ const placeholder = strs[0].substr(1, strs[0].length - 2);
29
+ result = result.replace(strs[0], `<input id="sd${v4()}" placeholder="${placeholder}" style="${style}">`);
30
+ }
31
+ }
32
+ this.cHtml = this.sanitizer.bypassSecurityTrustHtml(result);
33
+ }
34
+ ngOnInit() {
35
+ }
36
+ ngAfterViewInit() {
37
+ this.ref.detectChanges();
38
+ }
39
+ }
40
+ SdDynamicReportComponent.decorators = [
41
+ { type: Component, args: [{
42
+ selector: 'sd-dynamic-report',
43
+ template: "<div [id]=\"printId\" [innerHtml]=\"cHtml\">\r\n <div [innerHtml]=\"cHtml\"></div>\r\n</div>"
44
+ },] }
45
+ ];
46
+ SdDynamicReportComponent.ctorParameters = () => [
47
+ { type: ChangeDetectorRef },
48
+ { type: DomSanitizer },
49
+ { type: SdUtilityService }
50
+ ];
51
+ SdDynamicReportComponent.propDecorators = {
52
+ title: [{ type: Input }],
53
+ html: [{ type: Input }]
54
+ };
55
+
56
+ class SdDynamicReportModule {
57
+ }
58
+ SdDynamicReportModule.decorators = [
59
+ { type: NgModule, args: [{
60
+ imports: [
61
+ SdUtilityModule
62
+ ],
63
+ declarations: [
64
+ SdDynamicReportComponent
65
+ ],
66
+ exports: [
67
+ SdDynamicReportComponent
68
+ ],
69
+ providers: []
70
+ },] }
71
+ ];
72
+
73
+ /*
74
+ * Public API Surface of superdev-angular-core
75
+ */
76
+
77
+ /**
78
+ * Generated bundle index. Do not edit.
79
+ */
80
+
81
+ export { SdDynamicReportComponent, SdDynamicReportModule };
82
+ //# sourceMappingURL=sd-angular-core-dynamic-report.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sd-angular-core-dynamic-report.js","sources":["../../../../projects/sd-core/dynamic-report/src/lib/dynamic-report.component.ts","../../../../projects/sd-core/dynamic-report/src/lib/dynamic-report.module.ts","../../../../projects/sd-core/dynamic-report/src/public-api.ts","../../../../projects/sd-core/dynamic-report/sd-angular-core-dynamic-report.ts"],"sourcesContent":["import {\r\n Component,\r\n Input,\r\n ChangeDetectorRef,\r\n OnInit,\r\n AfterViewInit,\r\n ViewChild,\r\n ElementRef\r\n} from '@angular/core';\r\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\r\nimport { SdUtilityService } from '@sd-angular/core/utility';\r\n\r\nimport * as uuid from 'uuid';\r\n\r\n@Component({\r\n selector: 'sd-dynamic-report',\r\n templateUrl: './dynamic-report.component.html',\r\n styleUrls: []\r\n})\r\n\r\nexport class SdDynamicReportComponent implements OnInit, AfterViewInit {\r\n printId = 'sd' + uuid.v4();\r\n cHtml: SafeHtml;\r\n @Input() title: string;\r\n @Input() set html(value: string) {\r\n // tslint:disable-next-line: max-line-length\r\n const regex = /\\{[a-zA-ZÀÁÂÃÈÉÊÌÍÒÓÔÕÙÚĂĐĨŨƠàáâãèéêìíòóôõùúăđĩũơƯĂẠẢẤẦẨẪẬẮẰẲẴẶẸẺẼỀỀỂẾưăạảấầẩẫậắằẳẵặẹẻẽềềểếỄỆỈỊỌỎỐỒỔỖỘỚỜỞỠỢỤỦỨỪễệỉịọỏốồổỗộớờởỡợụủứừỬỮỰỲỴÝỶỸửữựỳỵỷỹ0-9 ]*\\}/g;\r\n // tslint:disable-next-line: max-line-length\r\n const style = 'border-top: none !important; border-left: none !important; border-right: none !important;border-bottom: dotted 1px black !important;background-color: lightgray !important;outline: none !important;';\r\n let result = value;\r\n if (typeof (value) === 'string') {\r\n while (1) {\r\n const strs = regex.exec(value);\r\n if (!strs) {\r\n break;\r\n }\r\n const placeholder = strs[0].substr(1, strs[0].length - 2);\r\n result = result.replace(strs[0], `<input id=\"sd${uuid.v4()}\" placeholder=\"${placeholder}\" style=\"${style}\">`);\r\n }\r\n }\r\n this.cHtml = this.sanitizer.bypassSecurityTrustHtml(result);\r\n }\r\n\r\n constructor(\r\n private ref: ChangeDetectorRef,\r\n private sanitizer: DomSanitizer,\r\n private utilityService: SdUtilityService) {\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.ref.detectChanges();\r\n }\r\n print = () => {\r\n // this.utilityService.printHtml(this.printId);\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { SdUtilityModule } from '@sd-angular/core/utility';\r\nimport { SdDynamicReportComponent } from './dynamic-report.component';\r\n@NgModule({\r\n imports: [\r\n SdUtilityModule\r\n ],\r\n declarations: [\r\n SdDynamicReportComponent\r\n ],\r\n exports: [\r\n SdDynamicReportComponent\r\n ],\r\n providers: []\r\n})\r\nexport class SdDynamicReportModule {\r\n}\r\n","/*\r\n * Public API Surface of superdev-angular-core\r\n */\r\n\r\nexport { SdDynamicReportComponent } from './lib/dynamic-report.component';\r\nexport { SdDynamicReportModule } from './lib/dynamic-report.module';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["uuid.v4"],"mappings":";;;;;MAoBa,wBAAwB;IAuBnC,YACU,GAAsB,EACtB,SAAuB,EACvB,cAAgC;QAFhC,QAAG,GAAH,GAAG,CAAmB;QACtB,cAAS,GAAT,SAAS,CAAc;QACvB,mBAAc,GAAd,cAAc,CAAkB;QAzB1C,YAAO,GAAG,IAAI,GAAGA,EAAO,EAAE,CAAC;QAkC3B,UAAK,GAAG;;SAEP,CAAA;KAVA;IAvBD,IAAa,IAAI,CAAC,KAAa;;QAE7B,MAAM,KAAK,GAAG,6JAA6J,CAAC;;QAE5K,MAAM,KAAK,GAAG,uMAAuM,CAAC;QACtN,IAAI,MAAM,GAAG,KAAK,CAAC;QACnB,IAAI,QAAQ,KAAK,CAAC,KAAK,QAAQ,EAAE;YAC/B,OAAO,CAAC,EAAE;gBACR,MAAM,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;gBAC/B,IAAI,CAAC,IAAI,EAAE;oBACT,MAAM;iBACP;gBACD,MAAM,WAAW,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;gBAC1D,MAAM,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,gBAAgBA,EAAO,EAAE,kBAAkB,WAAW,YAAY,KAAK,IAAI,CAAC,CAAC;aAC/G;SACF;QACD,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC,uBAAuB,CAAC,MAAM,CAAC,CAAC;KAC7D;IAQD,QAAQ;KACP;IAED,eAAe;QACb,IAAI,CAAC,GAAG,CAAC,aAAa,EAAE,CAAC;KAC1B;;;YAxCF,SAAS,SAAC;gBACT,QAAQ,EAAE,mBAAmB;gBAC7B,yGAA8C;aAE/C;;;YAfC,iBAAiB;YAMV,YAAY;YACZ,gBAAgB;;;oBAatB,KAAK;mBACL,KAAK;;;MCTK,qBAAqB;;;YAZjC,QAAQ,SAAC;gBACR,OAAO,EAAE;oBACP,eAAe;iBAChB;gBACD,YAAY,EAAE;oBACZ,wBAAwB;iBACzB;gBACD,OAAO,EAAE;oBACP,wBAAwB;iBACzB;gBACD,SAAS,EAAE,EAAE;aACd;;;ACdD;;;;ACAA;;;;;;"}
1
+ {"version":3,"file":"sd-angular-core-dynamic-report.js","sources":["../../../../projects/sd-core/dynamic-report/src/lib/dynamic-report.component.ts","../../../../projects/sd-core/dynamic-report/src/lib/dynamic-report.module.ts","../../../../projects/sd-core/dynamic-report/src/public-api.ts","../../../../projects/sd-core/dynamic-report/sd-angular-core-dynamic-report.ts"],"names":["uuid.v4"],"mappings":";;;;;MAoBa,wBAAwB;AAAG,IAuBtC,YACU,GAAsB,EACtB,SAAuB,EACvB,cAAgC;AAC5C,QAHY,QAAG,GAAH,GAAG,CAAmB;AAAC,QACvB,cAAS,GAAT,SAAS,CAAc;AAAC,QACxB,mBAAc,GAAd,cAAc,CAAkB;AAAC,QAzB3C,YAAO,GAAG,IAAI,GAAGA,EAAO,EAAE,CAAC;AAC7B,QAiCE,UAAK,GAAG;AACV;AAGE,SAFC,CAAA;A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YAdpC,QAAQ,SAAC;AACV,gBAAE,OAAO,EAAE;AACX,oBAAI,eAAe;AACnB,iBAAG;AACH,gBAAE,YAAY,EAAE;AAChB,oBAAI,wBAAwB;AAC5B,iBAAG;AACH,gBAAE,OAAO,EAAE;AACX,oBAAI,wBAAwB;AAC5B,iBAAG;AACH,gBAAE,SAAS,EAAE,EAAE;AACf,aAAC;AACE;AAAG;ACfN;AACA;AACA;AACA;ACHA;AACA;AACA;AACA;AACA;AACmC","sourcesContent":["import {\r\n Component,\r\n Input,\r\n ChangeDetectorRef,\r\n OnInit,\r\n AfterViewInit,\r\n ViewChild,\r\n ElementRef\r\n} from '@angular/core';\r\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\r\nimport { SdUtilityService } from '@sd-angular/core/utility';\r\n\r\nimport * as uuid from 'uuid';\r\n\r\n@Component({\r\n selector: 'sd-dynamic-report',\r\n templateUrl: './dynamic-report.component.html',\r\n styleUrls: []\r\n})\r\n\r\nexport class SdDynamicReportComponent implements OnInit, AfterViewInit {\r\n printId = 'sd' + uuid.v4();\r\n cHtml: SafeHtml;\r\n @Input() title: string;\r\n @Input() set html(value: string) {\r\n // tslint:disable-next-line: max-line-length\r\n const regex = /\\{[a-zA-ZÀÁÂÃÈÉÊÌÍÒÓÔÕÙÚĂĐĨŨƠàáâãèéêìíòóôõùúăđĩũơƯĂẠẢẤẦẨẪẬẮẰẲẴẶẸẺẼỀỀỂẾưăạảấầẩẫậắằẳẵặẹẻẽềềểếỄỆỈỊỌỎỐỒỔỖỘỚỜỞỠỢỤỦỨỪễệỉịọỏốồổỗộớờởỡợụủứừỬỮỰỲỴÝỶỸửữựỳỵỷỹ0-9 ]*\\}/g;\r\n // tslint:disable-next-line: max-line-length\r\n const style = 'border-top: none !important; border-left: none !important; border-right: none !important;border-bottom: dotted 1px black !important;background-color: lightgray !important;outline: none !important;';\r\n let result = value;\r\n if (typeof (value) === 'string') {\r\n while (1) {\r\n const strs = regex.exec(value);\r\n if (!strs) {\r\n break;\r\n }\r\n const placeholder = strs[0].substr(1, strs[0].length - 2);\r\n result = result.replace(strs[0], `<input id=\"sd${uuid.v4()}\" placeholder=\"${placeholder}\" style=\"${style}\">`);\r\n }\r\n }\r\n this.cHtml = this.sanitizer.bypassSecurityTrustHtml(result);\r\n }\r\n\r\n constructor(\r\n private ref: ChangeDetectorRef,\r\n private sanitizer: DomSanitizer,\r\n private utilityService: SdUtilityService) {\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.ref.detectChanges();\r\n }\r\n print = () => {\r\n // this.utilityService.printHtml(this.printId);\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { SdUtilityModule } from '@sd-angular/core/utility';\r\nimport { SdDynamicReportComponent } from './dynamic-report.component';\r\n@NgModule({\r\n imports: [\r\n SdUtilityModule\r\n ],\r\n declarations: [\r\n SdDynamicReportComponent\r\n ],\r\n exports: [\r\n SdDynamicReportComponent\r\n ],\r\n providers: []\r\n})\r\nexport class SdDynamicReportModule {\r\n}\r\n","/*\r\n * Public API Surface of superdev-angular-core\r\n */\r\n\r\nexport { SdDynamicReportComponent } from './lib/dynamic-report.component';\r\nexport { SdDynamicReportModule } from './lib/dynamic-report.module';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sd-angular-core-dynamic-report.js","sources":["../../../../projects/sd-core/dynamic-report/src/lib/dynamic-report.component.ts","../../../../projects/sd-core/dynamic-report/src/lib/dynamic-report.module.ts","../../../../projects/sd-core/dynamic-report/src/public-api.ts","../../../../projects/sd-core/dynamic-report/sd-angular-core-dynamic-report.ts"],"sourcesContent":["import {\r\n Component,\r\n Input,\r\n ChangeDetectorRef,\r\n OnInit,\r\n AfterViewInit,\r\n ViewChild,\r\n ElementRef\r\n} from '@angular/core';\r\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\r\nimport { SdUtilityService } from '@sd-angular/core/utility';\r\n\r\nimport * as uuid from 'uuid';\r\n\r\n@Component({\r\n selector: 'sd-dynamic-report',\r\n templateUrl: './dynamic-report.component.html',\r\n styleUrls: []\r\n})\r\n\r\nexport class SdDynamicReportComponent implements OnInit, AfterViewInit {\r\n printId = 'sd' + uuid.v4();\r\n cHtml: SafeHtml;\r\n @Input() title: string;\r\n @Input() set html(value: string) {\r\n // tslint:disable-next-line: max-line-length\r\n const regex = /\\{[a-zA-ZÀÁÂÃÈÉÊÌÍÒÓÔÕÙÚĂĐĨŨƠàáâãèéêìíòóôõùúăđĩũơƯĂẠẢẤẦẨẪẬẮẰẲẴẶẸẺẼỀỀỂẾưăạảấầẩẫậắằẳẵặẹẻẽềềểếỄỆỈỊỌỎỐỒỔỖỘỚỜỞỠỢỤỦỨỪễệỉịọỏốồổỗộớờởỡợụủứừỬỮỰỲỴÝỶỸửữựỳỵỷỹ0-9 ]*\\}/g;\r\n // tslint:disable-next-line: max-line-length\r\n const style = 'border-top: none !important; border-left: none !important; border-right: none !important;border-bottom: dotted 1px black !important;background-color: lightgray !important;outline: none !important;';\r\n let result = value;\r\n if (typeof (value) === 'string') {\r\n while (1) {\r\n const strs = regex.exec(value);\r\n if (!strs) {\r\n break;\r\n }\r\n const placeholder = strs[0].substr(1, strs[0].length - 2);\r\n result = result.replace(strs[0], `<input id=\"sd${uuid.v4()}\" placeholder=\"${placeholder}\" style=\"${style}\">`);\r\n }\r\n }\r\n this.cHtml = this.sanitizer.bypassSecurityTrustHtml(result);\r\n }\r\n\r\n constructor(\r\n private ref: ChangeDetectorRef,\r\n private sanitizer: DomSanitizer,\r\n private utilityService: SdUtilityService) {\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.ref.detectChanges();\r\n }\r\n print = () => {\r\n // this.utilityService.printHtml(this.printId);\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { SdUtilityModule } from '@sd-angular/core/utility';\r\nimport { SdDynamicReportComponent } from './dynamic-report.component';\r\n@NgModule({\r\n imports: [\r\n SdUtilityModule\r\n ],\r\n declarations: [\r\n SdDynamicReportComponent\r\n ],\r\n exports: [\r\n SdDynamicReportComponent\r\n ],\r\n providers: []\r\n})\r\nexport class SdDynamicReportModule {\r\n}\r\n","/*\r\n * Public API Surface of superdev-angular-core\r\n */\r\n\r\nexport { SdDynamicReportComponent } from './lib/dynamic-report.component';\r\nexport { SdDynamicReportModule } from './lib/dynamic-report.module';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["uuid.v4"],"mappings":";;;;;MAoBa,wBAAwB;IAuBnC,YACU,GAAsB,EACtB,SAAuB,EACvB,cAAgC;QAFhC,QAAG,GAAH,GAAG,CAAmB;QACtB,cAAS,GAAT,SAAS,CAAc;QACvB,mBAAc,GAAd,cAAc,CAAkB;QAzB1C,YAAO,GAAG,IAAI,GAAGA,EAAO,EAAE,CAAC;QAkC3B,UAAK,GAAG;;SAEP,CAAA;KAVA;IAvBD,IAAa,IAAI,CAAC,KAAa;;QAE7B,MAAM,KAAK,GAAG,6JAA6J,CAAC;;QAE5K,MAAM,KAAK,GAAG,uMAAuM,CAAC;QACtN,IAAI,MAAM,GAAG,KAAK,CAAC;QACnB,IAAI,QAAQ,KAAK,CAAC,KAAK,QAAQ,EAAE;YAC/B,OAAO,CAAC,EAAE;gBACR,MAAM,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;gBAC/B,IAAI,CAAC,IAAI,EAAE;oBACT,MAAM;iBACP;gBACD,MAAM,WAAW,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;gBAC1D,MAAM,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,gBAAgBA,EAAO,EAAE,kBAAkB,WAAW,YAAY,KAAK,IAAI,CAAC,CAAC;aAC/G;SACF;QACD,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC,uBAAuB,CAAC,MAAM,CAAC,CAAC;KAC7D;IAQD,QAAQ;KACP;IAED,eAAe;QACb,IAAI,CAAC,GAAG,CAAC,aAAa,EAAE,CAAC;KAC1B;;;YAxCF,SAAS,SAAC;gBACT,QAAQ,EAAE,mBAAmB;gBAC7B,yGAA8C;aAE/C;;;YAfC,iBAAiB;YAMV,YAAY;YACZ,gBAAgB;;;oBAatB,KAAK;mBACL,KAAK;;;MCTK,qBAAqB;;;YAZjC,QAAQ,SAAC;gBACR,OAAO,EAAE;oBACP,eAAe;iBAChB;gBACD,YAAY,EAAE;oBACZ,wBAAwB;iBACzB;gBACD,OAAO,EAAE;oBACP,wBAAwB;iBACzB;gBACD,SAAS,EAAE,EAAE;aACd;;;ACdD;;;;ACAA;;;;;;"}
@@ -573,4 +573,5 @@ SdEditorModule.decorators = [
573
573
  */
574
574
 
575
575
  export { Constants, EDITOR_CONFIG, PROMOTION_FORM, PROMOTION_PERMISSIONS, SdEditor, SdEditorModule, ValidateMessageConstants };
576
- //# sourceMappingURL=sd-angular-core-editor.js.map
576
+
577
+ //# sourceMappingURL=sd-angular-core-editor.js.map