@sd-angular/core 1.3.149 → 1.3.151

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 (658) hide show
  1. package/api/sd-angular-core-api.metadata.json +1 -1
  2. package/api/src/lib/api.service.d.ts +1 -5
  3. package/assets/img/file-types/eps/001-file.eps +143 -143
  4. package/assets/img/file-types/eps/002-file-1.eps +136 -136
  5. package/assets/img/file-types/eps/003-file-2.eps +130 -130
  6. package/assets/img/file-types/eps/004-file-3.eps +127 -127
  7. package/assets/img/file-types/eps/005-file-4.eps +120 -120
  8. package/assets/img/file-types/eps/006-file-5.eps +133 -133
  9. package/assets/img/file-types/eps/007-file-6.eps +133 -133
  10. package/assets/img/file-types/eps/008-file-7.eps +144 -144
  11. package/assets/img/file-types/eps/009-file-8.eps +150 -150
  12. package/assets/img/file-types/eps/010-file-9.eps +155 -155
  13. package/assets/img/file-types/eps/011-file-10.eps +124 -124
  14. package/assets/img/file-types/eps/012-file-11.eps +147 -147
  15. package/assets/img/file-types/eps/013-file-12.eps +125 -125
  16. package/assets/img/file-types/eps/014-file-13.eps +129 -129
  17. package/assets/img/file-types/eps/015-file-14.eps +143 -143
  18. package/assets/img/file-types/eps/016-file-15.eps +130 -130
  19. package/assets/img/file-types/eps/017-file-16.eps +197 -197
  20. package/assets/img/file-types/eps/018-file-17.eps +146 -146
  21. package/assets/img/file-types/eps/019-file-18.eps +131 -131
  22. package/assets/img/file-types/eps/020-file-19.eps +137 -137
  23. package/assets/img/file-types/eps/021-file-20.eps +134 -134
  24. package/assets/img/file-types/eps/022-file-21.eps +130 -130
  25. package/assets/img/file-types/eps/023-file-22.eps +161 -161
  26. package/assets/img/file-types/eps/024-file-23.eps +144 -144
  27. package/assets/img/file-types/eps/025-file-24.eps +164 -164
  28. package/assets/img/file-types/eps/026-file-25.eps +135 -135
  29. package/assets/img/file-types/eps/027-file-26.eps +124 -124
  30. package/assets/img/file-types/eps/028-file-27.eps +120 -120
  31. package/assets/img/file-types/eps/029-file-28.eps +141 -141
  32. package/assets/img/file-types/eps/030-file-29.eps +130 -130
  33. package/assets/img/file-types/eps/031-file-30.eps +157 -157
  34. package/assets/img/file-types/eps/032-file-31.eps +139 -139
  35. package/assets/img/file-types/eps/033-file-32.eps +139 -139
  36. package/assets/img/file-types/eps/034-file-33.eps +189 -189
  37. package/assets/img/file-types/eps/035-file-34.eps +162 -162
  38. package/assets/img/file-types/eps/036-file-35.eps +142 -142
  39. package/assets/img/file-types/eps/037-file-36.eps +123 -123
  40. package/assets/img/file-types/eps/038-file-37.eps +127 -127
  41. package/assets/img/file-types/eps/039-file-38.eps +146 -146
  42. package/assets/img/file-types/eps/040-file-39.eps +126 -126
  43. package/assets/img/file-types/eps/041-file-40.eps +117 -117
  44. package/assets/img/file-types/eps/042-file-41.eps +156 -156
  45. package/assets/img/file-types/eps/043-file-42.eps +118 -118
  46. package/assets/img/file-types/eps/044-file-43.eps +172 -172
  47. package/assets/img/file-types/eps/045-file-44.eps +201 -201
  48. package/assets/img/file-types/eps/046-file-45.eps +94 -94
  49. package/assets/img/file-types/eps/047-file-46.eps +176 -176
  50. package/assets/img/file-types/eps/048-file-47.eps +238 -238
  51. package/assets/img/file-types/eps/049-file-48.eps +187 -187
  52. package/assets/img/file-types/eps/050-file-49.eps +137 -137
  53. package/bundles/sd-angular-core-api.umd.js +27 -59
  54. package/bundles/sd-angular-core-api.umd.js.map +1 -1
  55. package/bundles/sd-angular-core-api.umd.min.js +1 -1
  56. package/bundles/sd-angular-core-api.umd.min.js.map +1 -1
  57. package/bundles/sd-angular-core-common.umd.js +92 -0
  58. package/bundles/sd-angular-core-common.umd.js.map +1 -1
  59. package/bundles/sd-angular-core-common.umd.min.js +1 -1
  60. package/bundles/sd-angular-core-common.umd.min.js.map +1 -1
  61. package/bundles/sd-angular-core-input-dropdown.umd.js +9 -12
  62. package/bundles/sd-angular-core-input-dropdown.umd.js.map +1 -1
  63. package/bundles/sd-angular-core-input-dropdown.umd.min.js +2 -2
  64. package/bundles/sd-angular-core-input-dropdown.umd.min.js.map +1 -1
  65. package/bundles/sd-angular-core-table.umd.js +585 -991
  66. package/bundles/sd-angular-core-table.umd.js.map +1 -1
  67. package/bundles/sd-angular-core-table.umd.min.js +1 -1
  68. package/bundles/sd-angular-core-table.umd.min.js.map +1 -1
  69. package/bundles/sd-angular-core-utility.umd.js +10 -56
  70. package/bundles/sd-angular-core-utility.umd.js.map +1 -1
  71. package/bundles/sd-angular-core-utility.umd.min.js +1 -1
  72. package/bundles/sd-angular-core-utility.umd.min.js.map +1 -1
  73. package/common/sd-angular-core-common.d.ts +1 -0
  74. package/common/sd-angular-core-common.metadata.json +1 -1
  75. package/common/src/lib/directives/sd-for.directive.d.ts +16 -0
  76. package/esm2015/api/index.js +1 -1
  77. package/esm2015/api/sd-angular-core-api.js +1 -1
  78. package/esm2015/api/src/lib/api.model.js +1 -1
  79. package/esm2015/api/src/lib/api.module.js +1 -1
  80. package/esm2015/api/src/lib/api.service.js +3 -36
  81. package/esm2015/api/src/lib/http.interceptor.js +1 -1
  82. package/esm2015/api/src/lib/http.service.js +1 -1
  83. package/esm2015/api/src/lib/token.service.js +1 -1
  84. package/esm2015/api/src/public-api.js +1 -1
  85. package/esm2015/autocomplete/index.js +1 -1
  86. package/esm2015/autocomplete/sd-angular-core-autocomplete.js +1 -1
  87. package/esm2015/autocomplete/src/lib/autocomplete-display-def.directive.js +1 -1
  88. package/esm2015/autocomplete/src/lib/autocomplete.component.js +1 -1
  89. package/esm2015/autocomplete/src/lib/autocomplete.module.js +1 -1
  90. package/esm2015/autocomplete/src/public-api.js +1 -1
  91. package/esm2015/badge/index.js +1 -1
  92. package/esm2015/badge/sd-angular-core-badge.js +1 -1
  93. package/esm2015/badge/src/lib/badge.component.js +1 -1
  94. package/esm2015/badge/src/lib/badge.module.js +1 -1
  95. package/esm2015/badge/src/public-api.js +1 -1
  96. package/esm2015/button/index.js +1 -1
  97. package/esm2015/button/sd-angular-core-button.js +1 -1
  98. package/esm2015/button/src/lib/button.component.js +1 -1
  99. package/esm2015/button/src/lib/button.module.js +1 -1
  100. package/esm2015/button/src/public-api.js +1 -1
  101. package/esm2015/cache/index.js +1 -1
  102. package/esm2015/cache/sd-angular-core-cache.js +1 -1
  103. package/esm2015/cache/src/lib/cache.model.js +1 -1
  104. package/esm2015/cache/src/lib/cache.service.js +1 -1
  105. package/esm2015/cache/src/public-api.js +1 -1
  106. package/esm2015/chart/index.js +1 -1
  107. package/esm2015/chart/sd-angular-core-chart.js +1 -1
  108. package/esm2015/chart/src/lib/chart.component.js +1 -1
  109. package/esm2015/chart/src/lib/chart.model.js +1 -1
  110. package/esm2015/chart/src/lib/chart.module.js +1 -1
  111. package/esm2015/chart/src/public-api.js +1 -1
  112. package/esm2015/checkbox/index.js +1 -1
  113. package/esm2015/checkbox/sd-angular-core-checkbox.js +1 -1
  114. package/esm2015/checkbox/src/lib/checkbox.component.js +1 -1
  115. package/esm2015/checkbox/src/lib/checkbox.module.js +1 -1
  116. package/esm2015/checkbox/src/public-api.js +1 -1
  117. package/esm2015/chip/index.js +1 -1
  118. package/esm2015/chip/sd-angular-core-chip.js +1 -1
  119. package/esm2015/chip/src/lib/chip.component.js +1 -1
  120. package/esm2015/chip/src/lib/chip.model.js +1 -1
  121. package/esm2015/chip/src/lib/chip.module.js +1 -1
  122. package/esm2015/chip/src/lib/directives/sd-chip-display-def.directive.js +1 -1
  123. package/esm2015/chip/src/lib/pipes/removable-chip.pipe.js +1 -1
  124. package/esm2015/chip/src/public-api.js +1 -1
  125. package/esm2015/comment/index.js +1 -1
  126. package/esm2015/comment/sd-angular-core-comment.js +1 -1
  127. package/esm2015/comment/src/lib/comment.component.js +1 -1
  128. package/esm2015/comment/src/lib/comment.model.js +1 -1
  129. package/esm2015/comment/src/lib/comment.module.js +1 -1
  130. package/esm2015/comment/src/public-api.js +1 -1
  131. package/esm2015/common/index.js +1 -1
  132. package/esm2015/common/sd-angular-core-common.js +2 -1
  133. package/esm2015/common/src/lib/common.module.js +4 -1
  134. package/esm2015/common/src/lib/configurations/firebase.configuration.js +1 -1
  135. package/esm2015/common/src/lib/configurations/form.configuration.js +1 -1
  136. package/esm2015/common/src/lib/directives/sd-for.directive.js +82 -0
  137. package/esm2015/common/src/lib/directives/sd-lable.directive.js +1 -1
  138. package/esm2015/common/src/lib/directives/sd-let.directive.js +1 -1
  139. package/esm2015/common/src/lib/directives/sd-scroll.directive.js +1 -1
  140. package/esm2015/common/src/lib/directives/sd-suffix.directive.js +1 -1
  141. package/esm2015/common/src/lib/directives/view-def.directive.js +1 -1
  142. package/esm2015/common/src/lib/models/sd-form-control.js +1 -1
  143. package/esm2015/common/src/lib/others/detectIncognito.js +1 -1
  144. package/esm2015/common/src/lib/services/browser.service.js +1 -1
  145. package/esm2015/common/src/lib/typings/array.extension.js +1 -1
  146. package/esm2015/common/src/lib/typings/date.extension.js +1 -1
  147. package/esm2015/common/src/lib/typings/index.js +1 -1
  148. package/esm2015/common/src/lib/typings/number.extension.js +1 -1
  149. package/esm2015/common/src/lib/typings/string.extension.js +1 -1
  150. package/esm2015/common/src/lib/typings/utility.extension.js +1 -1
  151. package/esm2015/common/src/public-api.js +1 -1
  152. package/esm2015/confirm/index.js +1 -1
  153. package/esm2015/confirm/sd-angular-core-confirm.js +1 -1
  154. package/esm2015/confirm/src/lib/components/dialog-confirm/dialog-confirm.component.js +1 -1
  155. package/esm2015/confirm/src/lib/confirm.module.js +1 -1
  156. package/esm2015/confirm/src/lib/confirm.service.js +1 -1
  157. package/esm2015/confirm/src/public-api.js +1 -1
  158. package/esm2015/date-month/index.js +1 -1
  159. package/esm2015/date-month/sd-angular-core-date-month.js +1 -1
  160. package/esm2015/date-month/src/lib/date-month.component.js +1 -1
  161. package/esm2015/date-month/src/lib/date-month.module.js +1 -1
  162. package/esm2015/date-month/src/public-api.js +1 -1
  163. package/esm2015/date-range/index.js +1 -1
  164. package/esm2015/date-range/sd-angular-core-date-range.js +1 -1
  165. package/esm2015/date-range/src/lib/date-range.component.js +1 -1
  166. package/esm2015/date-range/src/lib/date-range.module.js +1 -1
  167. package/esm2015/date-range/src/public-api.js +1 -1
  168. package/esm2015/date-time/index.js +1 -1
  169. package/esm2015/date-time/sd-angular-core-date-time.js +1 -1
  170. package/esm2015/date-time/src/lib/date-time.component.js +1 -1
  171. package/esm2015/date-time/src/lib/date-time.module.js +1 -1
  172. package/esm2015/date-time/src/public-api.js +1 -1
  173. package/esm2015/db/index.js +1 -1
  174. package/esm2015/db/sd-angular-core-db.js +1 -1
  175. package/esm2015/db/src/lib/db.model.js +1 -1
  176. package/esm2015/db/src/lib/db.service.js +1 -1
  177. package/esm2015/db/src/public-api.js +1 -1
  178. package/esm2015/dynamic-report/index.js +1 -1
  179. package/esm2015/dynamic-report/sd-angular-core-dynamic-report.js +1 -1
  180. package/esm2015/dynamic-report/src/lib/dynamic-report.component.js +1 -1
  181. package/esm2015/dynamic-report/src/lib/dynamic-report.module.js +1 -1
  182. package/esm2015/dynamic-report/src/public-api.js +1 -1
  183. package/esm2015/editor/index.js +1 -1
  184. package/esm2015/editor/sd-angular-core-editor.js +1 -1
  185. package/esm2015/editor/src/lib/constant.js +1 -1
  186. package/esm2015/editor/src/lib/editor.component.js +1 -1
  187. package/esm2015/editor/src/lib/editor.model.js +1 -1
  188. package/esm2015/editor/src/lib/editor.module.js +1 -1
  189. package/esm2015/editor/src/public-api.js +1 -1
  190. package/esm2015/export/index.js +1 -1
  191. package/esm2015/export/sd-angular-core-export.js +1 -1
  192. package/esm2015/export/src/lib/excel.model.js +1 -1
  193. package/esm2015/export/src/lib/export.model.js +1 -1
  194. package/esm2015/export/src/lib/export.service.js +1 -1
  195. package/esm2015/export/src/public-api.js +1 -1
  196. package/esm2015/filter/index.js +1 -1
  197. package/esm2015/filter/sd-angular-core-filter.js +1 -1
  198. package/esm2015/filter/src/lib/directives/sd-filter-def.directive.js +1 -1
  199. package/esm2015/filter/src/lib/filter.component.js +1 -1
  200. package/esm2015/filter/src/lib/filter.model.js +1 -1
  201. package/esm2015/filter/src/lib/filter.module.js +1 -1
  202. package/esm2015/filter/src/lib/filter.service.js +1 -1
  203. package/esm2015/filter/src/lib/pipes/values-local.pipe.js +1 -1
  204. package/esm2015/filter/src/lib/pipes/values-server.pipe.js +1 -1
  205. package/esm2015/filter/src/public-api.js +1 -1
  206. package/esm2015/form/index.js +1 -1
  207. package/esm2015/form/sd-angular-core-form.js +1 -1
  208. package/esm2015/form/src/lib/form.module.js +1 -1
  209. package/esm2015/form/src/public-api.js +1 -1
  210. package/esm2015/grid/index.js +1 -1
  211. package/esm2015/grid/sd-angular-core-grid.js +1 -1
  212. package/esm2015/grid/src/lib/components/grid-config/grid-config.component.js +1 -1
  213. package/esm2015/grid/src/lib/components/grid-config/grid-config.model.js +1 -1
  214. package/esm2015/grid/src/lib/components/grid-desktop-column-children-view/grid-desktop-column-children-view.component.js +1 -1
  215. package/esm2015/grid/src/lib/components/grid-desktop-column-edit/grid-desktop-column-edit.component.js +1 -1
  216. package/esm2015/grid/src/lib/components/grid-desktop-column-view/grid-desktop-column-view.component.js +1 -1
  217. package/esm2015/grid/src/lib/components/grid-desktop-inline-filter/grid-desktop-inline-filter.component.js +1 -1
  218. package/esm2015/grid/src/lib/components/grid-import-excel/grid-import-excel.component.js +1 -1
  219. package/esm2015/grid/src/lib/components/grid-mobile-item-view/grid-mobile-item-view.component.js +1 -1
  220. package/esm2015/grid/src/lib/components/grid-popup-editor/grid-popup-editor.component.js +1 -1
  221. package/esm2015/grid/src/lib/components/grid-popup-export-excel/grid-popup-export-excel.component.js +1 -1
  222. package/esm2015/grid/src/lib/components/grid-popup-export-excel/grid-popup-export-excel.model.js +1 -1
  223. package/esm2015/grid/src/lib/components/grid-popup-filter/grid-popup-filter.component.js +1 -1
  224. package/esm2015/grid/src/lib/components/grid-popup-filter/grid-popup-filter.model.js +1 -1
  225. package/esm2015/grid/src/lib/components/grid-popup-quick-filter-detail/grid-popup-quick-filter-detail.component.js +1 -1
  226. package/esm2015/grid/src/lib/components/grid-sub-information/grid-sub-information.component.js +1 -1
  227. package/esm2015/grid/src/lib/directives/cell-def.directive.js +1 -1
  228. package/esm2015/grid/src/lib/directives/cell-editor-def.directive.js +1 -1
  229. package/esm2015/grid/src/lib/directives/cell-footer-def.directive.js +1 -1
  230. package/esm2015/grid/src/lib/directives/sub-information-header-def.directive.js +1 -1
  231. package/esm2015/grid/src/lib/grid.component.js +1 -1
  232. package/esm2015/grid/src/lib/grid.model.js +1 -1
  233. package/esm2015/grid/src/lib/grid.module.js +1 -1
  234. package/esm2015/grid/src/lib/models/filter-info.model.js +1 -1
  235. package/esm2015/grid/src/lib/models/grid-configuration.model.js +1 -1
  236. package/esm2015/grid/src/lib/models/handler-dotnet.js +1 -1
  237. package/esm2015/grid/src/lib/models/handler-local.js +1 -1
  238. package/esm2015/grid/src/lib/models/handler.js +1 -1
  239. package/esm2015/grid/src/lib/pipes/cell-desktop-class-name.pipe.js +1 -1
  240. package/esm2015/grid/src/lib/pipes/cell-mobile-class-name.pipe.js +1 -1
  241. package/esm2015/grid/src/lib/pipes/column-command-filter.pipe.js +1 -1
  242. package/esm2015/grid/src/lib/pipes/column-html-template.pipe.js +1 -1
  243. package/esm2015/grid/src/lib/pipes/column-title.pipe.js +1 -1
  244. package/esm2015/grid/src/lib/pipes/column-values.pipe.js +1 -1
  245. package/esm2015/grid/src/lib/pipes/command-disabled.pipe.js +1 -1
  246. package/esm2015/grid/src/lib/pipes/command-filter.pipe.js +1 -1
  247. package/esm2015/grid/src/lib/pipes/command-hidden.pipe.js +1 -1
  248. package/esm2015/grid/src/lib/pipes/command-icon.pipe.js +1 -1
  249. package/esm2015/grid/src/lib/pipes/command-title.pipe.js +1 -1
  250. package/esm2015/grid/src/lib/pipes/dynamic-items.pipe.js +1 -1
  251. package/esm2015/grid/src/lib/pipes/editor-dynamic-item.pipe.js +1 -1
  252. package/esm2015/grid/src/lib/pipes/editor-handler.pipe.js +1 -1
  253. package/esm2015/grid/src/lib/pipes/editor-popup-visible.pipe.js +1 -1
  254. package/esm2015/grid/src/lib/pipes/editor-sub-information-handler.pipe.js +1 -1
  255. package/esm2015/grid/src/lib/pipes/editor-validate.pipe.js +1 -1
  256. package/esm2015/grid/src/lib/pipes/filter-mobile.pipe.js +1 -1
  257. package/esm2015/grid/src/lib/pipes/mobile-command-filter.js +1 -1
  258. package/esm2015/grid/src/lib/pipes/mobile-view-html-template.pipe.js +1 -1
  259. package/esm2015/grid/src/lib/pipes/value-transform.pipe.js +1 -1
  260. package/esm2015/grid/src/public-api.js +1 -1
  261. package/esm2015/grid-material/index.js +1 -1
  262. package/esm2015/grid-material/sd-angular-core-grid-material.js +1 -1
  263. package/esm2015/grid-material/src/lib/components/column-inline-filter/column-inline-filter.component.js +1 -1
  264. package/esm2015/grid-material/src/lib/components/desktop-cell/desktop-cell.component.js +1 -1
  265. package/esm2015/grid-material/src/lib/components/desktop-cell-children-view/desktop-cell-children-view.component.js +1 -1
  266. package/esm2015/grid-material/src/lib/components/desktop-cell-editor/desktop-cell-editor.component.js +1 -1
  267. package/esm2015/grid-material/src/lib/components/desktop-cell-view/desktop-cell-view.component.js +1 -1
  268. package/esm2015/grid-material/src/lib/components/desktop-command/desktop-command.component.js +1 -1
  269. package/esm2015/grid-material/src/lib/components/desktop-editor-validation/desktop-editor-validation.component.js +1 -1
  270. package/esm2015/grid-material/src/lib/components/dynamic-column/dynamic-column.component.js +1 -1
  271. package/esm2015/grid-material/src/lib/components/grid-filter/grid-filter.component.js +1 -1
  272. package/esm2015/grid-material/src/lib/components/popup-export/popup-export.component.js +1 -1
  273. package/esm2015/grid-material/src/lib/components/popup-filter/popup-filter.component.js +1 -1
  274. package/esm2015/grid-material/src/lib/components/popup-grid-configuration/popup-grid-configuration.component.js +1 -1
  275. package/esm2015/grid-material/src/lib/components/quick-action/quick-action.component.js +1 -1
  276. package/esm2015/grid-material/src/lib/directives/sd-material-cell-def.directive.js +1 -1
  277. package/esm2015/grid-material/src/lib/directives/sd-material-empty-data-def.directive.js +1 -1
  278. package/esm2015/grid-material/src/lib/directives/sd-material-filter-def.directive.js +1 -1
  279. package/esm2015/grid-material/src/lib/directives/sd-material-footer-def.directive.js +1 -1
  280. package/esm2015/grid-material/src/lib/directives/sd-material-sub-information-def.directive.js +1 -1
  281. package/esm2015/grid-material/src/lib/functions/calculate-sd-id.js +1 -1
  282. package/esm2015/grid-material/src/lib/grid-material.component.js +1 -1
  283. package/esm2015/grid-material/src/lib/grid-material.module.js +1 -1
  284. package/esm2015/grid-material/src/lib/models/grid-action.model.js +1 -1
  285. package/esm2015/grid-material/src/lib/models/grid-cell.model.js +1 -1
  286. package/esm2015/grid-material/src/lib/models/grid-column.model.js +1 -1
  287. package/esm2015/grid-material/src/lib/models/grid-command.model.js +1 -1
  288. package/esm2015/grid-material/src/lib/models/grid-config.model.js +1 -1
  289. package/esm2015/grid-material/src/lib/models/grid-configuration.model.js +1 -1
  290. package/esm2015/grid-material/src/lib/models/grid-editor.model.js +1 -1
  291. package/esm2015/grid-material/src/lib/models/grid-export.model.js +1 -1
  292. package/esm2015/grid-material/src/lib/models/grid-group.model.js +1 -1
  293. package/esm2015/grid-material/src/lib/models/grid-option.model.js +1 -1
  294. package/esm2015/grid-material/src/lib/models/grid-reload.model.js +1 -1
  295. package/esm2015/grid-material/src/lib/models/grid-selection.model.js +1 -1
  296. package/esm2015/grid-material/src/lib/models/grid-style.model.js +1 -1
  297. package/esm2015/grid-material/src/lib/models/grid-sub-information.model.js +1 -1
  298. package/esm2015/grid-material/src/lib/models/grid.model.js +1 -1
  299. package/esm2015/grid-material/src/lib/pipes/cell-view.pipe.js +1 -1
  300. package/esm2015/grid-material/src/lib/pipes/column-badge.pipe.js +1 -1
  301. package/esm2015/grid-material/src/lib/pipes/column-children-filter.pipe.js +1 -1
  302. package/esm2015/grid-material/src/lib/pipes/column-html-template.pipe.js +1 -1
  303. package/esm2015/grid-material/src/lib/pipes/column-title.pipe.js +1 -1
  304. package/esm2015/grid-material/src/lib/pipes/column-tooltip.pipe.js +1 -1
  305. package/esm2015/grid-material/src/lib/pipes/column-transform.pipe.js +1 -1
  306. package/esm2015/grid-material/src/lib/pipes/column-values.pipe.js +1 -1
  307. package/esm2015/grid-material/src/lib/pipes/command-disable.pipe.js +1 -1
  308. package/esm2015/grid-material/src/lib/pipes/command-filter.pipe.js +1 -1
  309. package/esm2015/grid-material/src/lib/pipes/command-icon.pipe.js +1 -1
  310. package/esm2015/grid-material/src/lib/pipes/command-title.pipe.js +1 -1
  311. package/esm2015/grid-material/src/lib/pipes/editor-handler-column.pipe.js +1 -1
  312. package/esm2015/grid-material/src/lib/pipes/editor-handler-row.pipe.js +1 -1
  313. package/esm2015/grid-material/src/lib/pipes/editor-validate.pipe.js +1 -1
  314. package/esm2015/grid-material/src/lib/pipes/filter-column.pipe.js +1 -1
  315. package/esm2015/grid-material/src/lib/pipes/filter-external.pipe.js +1 -1
  316. package/esm2015/grid-material/src/lib/pipes/grid-configuration-result.pipe.js +1 -1
  317. package/esm2015/grid-material/src/lib/pipes/sd-group.pipe.js +1 -1
  318. package/esm2015/grid-material/src/lib/pipes/selection-action-filter.pipe.js +1 -1
  319. package/esm2015/grid-material/src/lib/pipes/selection-disable.pipe.js +1 -1
  320. package/esm2015/grid-material/src/lib/pipes/selection-visible-select-all.pipe.js +1 -1
  321. package/esm2015/grid-material/src/lib/pipes/selection-visible.pipe.js +1 -1
  322. package/esm2015/grid-material/src/lib/pipes/style-row-css.pipe.js +1 -1
  323. package/esm2015/grid-material/src/lib/services/generated-column/generated-column.model.js +1 -1
  324. package/esm2015/grid-material/src/lib/services/generated-column/generated-column.service.js +1 -1
  325. package/esm2015/grid-material/src/lib/services/grid-configuration.service.js +1 -1
  326. package/esm2015/grid-material/src/lib/services/grid-filter/grid-filter.model.js +1 -1
  327. package/esm2015/grid-material/src/lib/services/grid-filter/grid-filter.service.js +1 -1
  328. package/esm2015/grid-material/src/public-api.js +1 -1
  329. package/esm2015/group/index.js +1 -1
  330. package/esm2015/group/sd-angular-core-group.js +1 -1
  331. package/esm2015/group/src/lib/group.component.js +1 -1
  332. package/esm2015/group/src/lib/group.module.js +1 -1
  333. package/esm2015/group/src/public-api.js +1 -1
  334. package/esm2015/header-title/index.js +1 -1
  335. package/esm2015/header-title/sd-angular-core-header-title.js +1 -1
  336. package/esm2015/header-title/src/lib/header-title.component.js +1 -1
  337. package/esm2015/header-title/src/lib/header-title.module.js +1 -1
  338. package/esm2015/header-title/src/public-api.js +1 -1
  339. package/esm2015/image-preview/index.js +1 -1
  340. package/esm2015/image-preview/sd-angular-core-image-preview.js +1 -1
  341. package/esm2015/image-preview/src/lib/directives/image-preview.directive.js +1 -1
  342. package/esm2015/image-preview/src/lib/image-preview/image-preview-sdmodal.component.js +1 -1
  343. package/esm2015/image-preview/src/lib/image-preview/image-preview.component.js +1 -1
  344. package/esm2015/image-preview/src/lib/image-preview/image-preview.module.js +1 -1
  345. package/esm2015/image-preview/src/lib/models/image-preview.model.js +1 -1
  346. package/esm2015/image-preview/src/public-api.js +1 -1
  347. package/esm2015/input/index.js +1 -1
  348. package/esm2015/input/sd-angular-core-input.js +1 -1
  349. package/esm2015/input/src/lib/directives/input-suffix.directive.js +1 -1
  350. package/esm2015/input/src/lib/directives/touch.directive.js +1 -1
  351. package/esm2015/input/src/lib/input-tooltip.pipe.js +1 -1
  352. package/esm2015/input/src/lib/input.component.js +1 -1
  353. package/esm2015/input/src/lib/input.module.js +1 -1
  354. package/esm2015/input/src/public-api.js +1 -1
  355. package/esm2015/input-currency/index.js +1 -1
  356. package/esm2015/input-currency/sd-angular-core-input-currency.js +1 -1
  357. package/esm2015/input-currency/src/lib/input-currency-tooltip.pipe.js +1 -1
  358. package/esm2015/input-currency/src/lib/input-currency.component.js +1 -1
  359. package/esm2015/input-currency/src/lib/input-currency.module.js +1 -1
  360. package/esm2015/input-currency/src/public-api.js +1 -1
  361. package/esm2015/input-dropdown/index.js +1 -1
  362. package/esm2015/input-dropdown/sd-angular-core-input-dropdown.js +1 -1
  363. package/esm2015/input-dropdown/src/lib/input-tooltip.pipe.js +1 -1
  364. package/esm2015/input-dropdown/src/lib/input.component.js +3 -3
  365. package/esm2015/input-dropdown/src/lib/input.module.js +1 -1
  366. package/esm2015/input-dropdown/src/public-api.js +1 -1
  367. package/esm2015/input-number/index.js +1 -1
  368. package/esm2015/input-number/sd-angular-core-input-number.js +1 -1
  369. package/esm2015/input-number/src/lib/input-number.component.js +1 -1
  370. package/esm2015/input-number/src/lib/input-number.module.js +1 -1
  371. package/esm2015/input-number/src/public-api.js +1 -1
  372. package/esm2015/input-upload-file/index.js +1 -1
  373. package/esm2015/input-upload-file/sd-angular-core-input-upload-file.js +1 -1
  374. package/esm2015/input-upload-file/src/lib/input-upload-file.component.js +1 -1
  375. package/esm2015/input-upload-file/src/lib/input-upload-file.module.js +1 -1
  376. package/esm2015/input-upload-file/src/public-api.js +1 -1
  377. package/esm2015/json-editor/index.js +1 -1
  378. package/esm2015/json-editor/sd-angular-core-json-editor.js +1 -1
  379. package/esm2015/json-editor/src/lib/json-editor.component.js +1 -1
  380. package/esm2015/json-editor/src/lib/json-editor.module.js +1 -1
  381. package/esm2015/json-editor/src/public-api.js +1 -1
  382. package/esm2015/konva/index.js +1 -1
  383. package/esm2015/konva/sd-angular-core-konva.js +1 -1
  384. package/esm2015/konva/src/lib/konva.module.js +1 -1
  385. package/esm2015/konva/src/lib/merge-images/merge-images.component.js +1 -1
  386. package/esm2015/konva/src/public-api.js +1 -1
  387. package/esm2015/label/index.js +1 -1
  388. package/esm2015/label/sd-angular-core-label.js +1 -1
  389. package/esm2015/label/src/lib/label.component.js +1 -1
  390. package/esm2015/label/src/lib/label.module.js +1 -1
  391. package/esm2015/label/src/public-api.js +1 -1
  392. package/esm2015/lib/core.module.js +1 -1
  393. package/esm2015/lib/material.module.js +1 -1
  394. package/esm2015/loading/index.js +1 -1
  395. package/esm2015/loading/sd-angular-core-loading.js +1 -1
  396. package/esm2015/loading/src/lib/loading.service.js +1 -1
  397. package/esm2015/loading/src/public-api.js +1 -1
  398. package/esm2015/modal/index.js +1 -1
  399. package/esm2015/modal/sd-angular-core-modal.js +1 -1
  400. package/esm2015/modal/src/lib/bottom-sheet/bottom-sheet-body/bottom-sheet-body.component.js +1 -1
  401. package/esm2015/modal/src/lib/bottom-sheet/bottom-sheet-footer/bottom-sheet-footer.component.js +1 -1
  402. package/esm2015/modal/src/lib/bottom-sheet/bottom-sheet-header/bottom-sheet-header.component.js +1 -1
  403. package/esm2015/modal/src/lib/bottom-sheet/bottom-sheet.component.js +1 -1
  404. package/esm2015/modal/src/lib/modal/modal-body/modal-body.component.js +1 -1
  405. package/esm2015/modal/src/lib/modal/modal-footer/modal-footer.component.js +1 -1
  406. package/esm2015/modal/src/lib/modal/modal-header/modal-header.component.js +1 -1
  407. package/esm2015/modal/src/lib/modal/modal.component.js +1 -1
  408. package/esm2015/modal/src/lib/modal.module.js +1 -1
  409. package/esm2015/modal/src/public-api.js +1 -1
  410. package/esm2015/modal-resizable/index.js +1 -1
  411. package/esm2015/modal-resizable/sd-angular-core-modal-resizable.js +1 -1
  412. package/esm2015/modal-resizable/src/lib/modal-resizable/modal-resizable.component.js +1 -1
  413. package/esm2015/modal-resizable/src/lib/modal-resizable.module.js +1 -1
  414. package/esm2015/modal-resizable/src/public-api.js +1 -1
  415. package/esm2015/notify/index.js +1 -1
  416. package/esm2015/notify/sd-angular-core-notify.js +1 -1
  417. package/esm2015/notify/src/lib/components/dialog-confirm/dialog-confirm.component.js +1 -1
  418. package/esm2015/notify/src/lib/configurations/notify.configuration.js +1 -1
  419. package/esm2015/notify/src/lib/notify.module.js +1 -1
  420. package/esm2015/notify/src/lib/notify.service.js +1 -1
  421. package/esm2015/notify/src/public-api.js +1 -1
  422. package/esm2015/pdf/index.js +1 -1
  423. package/esm2015/pdf/sd-angular-core-pdf.js +1 -1
  424. package/esm2015/pdf/src/lib/pdf.module.js +1 -1
  425. package/esm2015/pdf/src/lib/pdf.service.js +1 -1
  426. package/esm2015/pdf/src/public-api.js +1 -1
  427. package/esm2015/popover/index.js +1 -1
  428. package/esm2015/popover/sd-angular-core-popover.js +1 -1
  429. package/esm2015/popover/src/lib/directives/popover-content.directive.js +1 -1
  430. package/esm2015/popover/src/lib/directives/popover-trigger.directive.js +1 -1
  431. package/esm2015/popover/src/lib/popover/popover.component.js +1 -1
  432. package/esm2015/popover/src/lib/popover.model.js +1 -1
  433. package/esm2015/popover/src/lib/popover.module.js +1 -1
  434. package/esm2015/popover/src/public-api.js +1 -1
  435. package/esm2015/print/index.js +1 -1
  436. package/esm2015/print/sd-angular-core-print.js +1 -1
  437. package/esm2015/print/src/lib/fonts/times/bold-italic.js +1 -1
  438. package/esm2015/print/src/lib/fonts/times/bold.js +1 -1
  439. package/esm2015/print/src/lib/fonts/times/italic.js +1 -1
  440. package/esm2015/print/src/lib/fonts/times/normal.js +1 -1
  441. package/esm2015/print/src/lib/print.component.js +1 -1
  442. package/esm2015/print/src/lib/print.module.js +1 -1
  443. package/esm2015/print/src/public-api.js +1 -1
  444. package/esm2015/public-api.js +1 -1
  445. package/esm2015/quick-action/index.js +1 -1
  446. package/esm2015/quick-action/sd-angular-core-quick-action.js +1 -1
  447. package/esm2015/quick-action/src/lib/quick-action.component.js +1 -1
  448. package/esm2015/quick-action/src/lib/quick-action.module.js +1 -1
  449. package/esm2015/quick-action/src/public-api.js +1 -1
  450. package/esm2015/radio/index.js +1 -1
  451. package/esm2015/radio/sd-angular-core-radio.js +1 -1
  452. package/esm2015/radio/src/lib/radio.component.js +1 -1
  453. package/esm2015/radio/src/lib/radio.module.js +1 -1
  454. package/esm2015/radio/src/public-api.js +1 -1
  455. package/esm2015/sd-angular-core.js +1 -1
  456. package/esm2015/select/index.js +1 -1
  457. package/esm2015/select/sd-angular-core-select.js +1 -1
  458. package/esm2015/select/src/lib/select-display-def.directive.js +1 -1
  459. package/esm2015/select/src/lib/select.component.js +1 -1
  460. package/esm2015/select/src/lib/select.module.js +1 -1
  461. package/esm2015/select/src/public-api.js +1 -1
  462. package/esm2015/select-badge/index.js +1 -1
  463. package/esm2015/select-badge/sd-angular-core-select-badge.js +1 -1
  464. package/esm2015/select-badge/src/lib/select-badge-display-def.directive.js +1 -1
  465. package/esm2015/select-badge/src/lib/select-badge.component.js +1 -1
  466. package/esm2015/select-badge/src/lib/select-badge.module.js +1 -1
  467. package/esm2015/select-badge/src/public-api.js +1 -1
  468. package/esm2015/select-editor/index.js +1 -1
  469. package/esm2015/select-editor/sd-angular-core-select-editor.js +1 -1
  470. package/esm2015/select-editor/src/lib/select-editor.component.js +1 -1
  471. package/esm2015/select-editor/src/lib/select-editor.module.js +1 -1
  472. package/esm2015/select-editor/src/public-api.js +1 -1
  473. package/esm2015/service/index.js +1 -1
  474. package/esm2015/service/sd-angular-core-service.js +1 -1
  475. package/esm2015/service/src/lib/service.module.js +1 -1
  476. package/esm2015/service/src/public-api.js +1 -1
  477. package/esm2015/setting/index.js +1 -1
  478. package/esm2015/setting/sd-angular-core-setting.js +1 -1
  479. package/esm2015/setting/src/lib/setting.model.js +1 -1
  480. package/esm2015/setting/src/lib/setting.service.js +1 -1
  481. package/esm2015/setting/src/public-api.js +1 -1
  482. package/esm2015/side-drawer/index.js +1 -1
  483. package/esm2015/side-drawer/sd-angular-core-side-drawer.js +1 -1
  484. package/esm2015/side-drawer/src/lib/side-drawer/side-drawer.component.js +1 -1
  485. package/esm2015/side-drawer/src/lib/side-drawer.module.js +1 -1
  486. package/esm2015/side-drawer/src/public-api.js +1 -1
  487. package/esm2015/switch/index.js +1 -1
  488. package/esm2015/switch/sd-angular-core-switch.js +1 -1
  489. package/esm2015/switch/src/lib/switch.component.js +1 -1
  490. package/esm2015/switch/src/lib/switch.module.js +1 -1
  491. package/esm2015/switch/src/public-api.js +1 -1
  492. package/esm2015/tab-router/index.js +1 -1
  493. package/esm2015/tab-router/sd-angular-core-tab-router.js +1 -1
  494. package/esm2015/tab-router/src/lib/actions/tab-router.action.js +1 -1
  495. package/esm2015/tab-router/src/lib/components/tab-router-item/tab-router-item.component.js +1 -1
  496. package/esm2015/tab-router/src/lib/components/tab-router-nav/tab-router-nav.component.js +1 -1
  497. package/esm2015/tab-router/src/lib/components/tab-router-outlet/tab-router-outlet.component.js +1 -1
  498. package/esm2015/tab-router/src/lib/decorators/tab.decorator.js +1 -1
  499. package/esm2015/tab-router/src/lib/directives/router-link-mouse-down.directive.js +1 -1
  500. package/esm2015/tab-router/src/lib/events/tab-router.event.js +1 -1
  501. package/esm2015/tab-router/src/lib/models/tab-router.model.js +1 -1
  502. package/esm2015/tab-router/src/lib/pipes/tab-info.pipe.js +1 -1
  503. package/esm2015/tab-router/src/lib/services/tab-decorator.service.js +1 -1
  504. package/esm2015/tab-router/src/lib/services/tab-router.service.js +1 -1
  505. package/esm2015/tab-router/src/lib/tab-router.module.js +1 -1
  506. package/esm2015/tab-router/src/public-api.js +1 -1
  507. package/esm2015/table/index.js +1 -1
  508. package/esm2015/table/sd-angular-core-table.js +24 -31
  509. package/esm2015/table/src/lib/components/column-inline-filter/column-inline-filter.component.js +17 -4
  510. package/esm2015/table/src/lib/components/desktop-cell/desktop-cell.component.js +1 -1
  511. package/esm2015/table/src/lib/components/desktop-cell-view/desktop-cell-view.component.js +2 -2
  512. package/esm2015/table/src/lib/components/desktop-command/desktop-command.component.js +1 -1
  513. package/esm2015/table/src/lib/components/popup-configuration/popup-configuration.component.js +69 -0
  514. package/esm2015/table/src/lib/components/popup-filter/popup-filter.component.js +2 -2
  515. package/esm2015/table/src/lib/components/quick-action/quick-action.component.js +6 -6
  516. package/esm2015/table/src/lib/components/table-filter/table-filter.component.js +99 -0
  517. package/esm2015/table/src/lib/directives/sd-material-cell-def.directive.js +1 -1
  518. package/esm2015/table/src/lib/directives/sd-material-empty-data-def.directive.js +1 -1
  519. package/esm2015/table/src/lib/directives/sd-material-filter-def.directive.js +1 -1
  520. package/esm2015/table/src/lib/directives/sd-material-footer-def.directive.js +1 -1
  521. package/esm2015/table/src/lib/directives/sd-material-sub-information-def.directive.js +1 -1
  522. package/esm2015/table/src/lib/models/index.js +1 -1
  523. package/esm2015/table/src/lib/models/table-column.model.js +7 -7
  524. package/esm2015/table/src/lib/models/table-command.model.js +1 -1
  525. package/esm2015/table/src/lib/models/table-configuration.model.js +1 -1
  526. package/esm2015/table/src/lib/models/table-item.model.js +3 -3
  527. package/esm2015/table/src/lib/models/table-option-config.model.js +1 -1
  528. package/esm2015/table/src/lib/models/table-option-expand.model.js +1 -1
  529. package/esm2015/table/src/lib/models/table-option-export.model.js +1 -1
  530. package/esm2015/table/src/lib/models/table-option-group.model.js +1 -1
  531. package/esm2015/table/src/lib/models/table-option-paginate.model.js +1 -1
  532. package/esm2015/table/src/lib/models/table-option-reload.model.js +1 -1
  533. package/esm2015/table/src/lib/models/table-option-selector.model.js +1 -1
  534. package/esm2015/table/src/lib/models/table-option-sort.model.js +1 -1
  535. package/esm2015/table/src/lib/models/table-option-style.model.js +1 -1
  536. package/esm2015/table/src/lib/models/table-option.model.js +1 -1
  537. package/esm2015/table/src/lib/pipes/column-tooltip.pipe.js +1 -1
  538. package/esm2015/table/src/lib/pipes/command-disable.pipe.js +1 -1
  539. package/esm2015/table/src/lib/pipes/command-filter.pipe.js +1 -1
  540. package/esm2015/table/src/lib/pipes/command-icon.pipe.js +1 -1
  541. package/esm2015/table/src/lib/pipes/command-title.pipe.js +1 -1
  542. package/esm2015/table/src/lib/pipes/filter-column.pipe.js +1 -1
  543. package/esm2015/table/src/lib/pipes/filter-external.pipe.js +1 -1
  544. package/esm2015/table/src/lib/pipes/sd-group.pipe.js +1 -1
  545. package/esm2015/table/src/lib/pipes/selection-action-filter.pipe.js +1 -1
  546. package/esm2015/table/src/lib/pipes/selection-disable.pipe.js +1 -1
  547. package/esm2015/table/src/lib/pipes/selection-visible-select-all.pipe.js +1 -1
  548. package/esm2015/table/src/lib/pipes/selection-visible.pipe.js +1 -1
  549. package/esm2015/table/src/lib/services/table-configuration.service.js +37 -207
  550. package/esm2015/table/src/lib/services/table-filter/table-filter.model.js +1 -1
  551. package/esm2015/table/src/lib/services/table-filter/table-filter.service.js +1 -1
  552. package/esm2015/table/src/lib/table.component.js +197 -87
  553. package/esm2015/table/src/lib/table.module.js +7 -22
  554. package/esm2015/table/src/public-api.js +1 -1
  555. package/esm2015/textarea/index.js +1 -1
  556. package/esm2015/textarea/sd-angular-core-textarea.js +1 -1
  557. package/esm2015/textarea/src/lib/textarea.component.js +1 -1
  558. package/esm2015/textarea/src/lib/textarea.module.js +1 -1
  559. package/esm2015/textarea/src/public-api.js +1 -1
  560. package/esm2015/time/index.js +1 -1
  561. package/esm2015/time/sd-angular-core-time.js +1 -1
  562. package/esm2015/time/src/lib/time.component.js +1 -1
  563. package/esm2015/time/src/lib/time.module.js +1 -1
  564. package/esm2015/time/src/public-api.js +1 -1
  565. package/esm2015/timeline/index.js +1 -1
  566. package/esm2015/timeline/sd-angular-core-timeline.js +1 -1
  567. package/esm2015/timeline/src/lib/components/timeline.component.js +1 -1
  568. package/esm2015/timeline/src/lib/directives/timeline-def.directive.js +1 -1
  569. package/esm2015/timeline/src/lib/timeline.module.js +1 -1
  570. package/esm2015/timeline/src/public-api.js +1 -1
  571. package/esm2015/translate/index.js +1 -1
  572. package/esm2015/translate/sd-angular-core-translate.js +1 -1
  573. package/esm2015/translate/src/lib/translate.model.js +1 -1
  574. package/esm2015/translate/src/lib/translate.module.js +1 -1
  575. package/esm2015/translate/src/lib/translate.pipe.js +1 -1
  576. package/esm2015/translate/src/lib/translate.service.js +1 -1
  577. package/esm2015/upload-excel/index.js +1 -1
  578. package/esm2015/upload-excel/sd-angular-core-upload-excel.js +1 -1
  579. package/esm2015/upload-excel/src/lib/pipes/columm-hidden.pipe.js +1 -1
  580. package/esm2015/upload-excel/src/lib/pipes/column-transform.pipe.js +1 -1
  581. package/esm2015/upload-excel/src/lib/upload-excel.component.js +1 -1
  582. package/esm2015/upload-excel/src/lib/upload-excel.model.js +1 -1
  583. package/esm2015/upload-excel/src/lib/upload-excel.module.js +1 -1
  584. package/esm2015/upload-excel/src/public-api.js +1 -1
  585. package/esm2015/upload-file/index.js +1 -1
  586. package/esm2015/upload-file/sd-angular-core-upload-file.js +1 -1
  587. package/esm2015/upload-file/src/lib/upload-file.component.js +1 -1
  588. package/esm2015/upload-file/src/lib/upload-file.module.js +1 -1
  589. package/esm2015/upload-file/src/public-api.js +1 -1
  590. package/esm2015/utility/index.js +1 -1
  591. package/esm2015/utility/sd-angular-core-utility.js +1 -1
  592. package/esm2015/utility/src/lib/directives/desktop.directive.js +1 -1
  593. package/esm2015/utility/src/lib/directives/mobile-tablet.directive.js +1 -1
  594. package/esm2015/utility/src/lib/directives/mobile.directive.js +1 -1
  595. package/esm2015/utility/src/lib/directives/tablet.directive.js +1 -1
  596. package/esm2015/utility/src/lib/pipes/currency.pipe.js +1 -1
  597. package/esm2015/utility/src/lib/pipes/safe-html.pipe.js +1 -1
  598. package/esm2015/utility/src/lib/pipes/time-different.pipe.js +1 -1
  599. package/esm2015/utility/src/lib/utility.module.js +1 -3
  600. package/esm2015/utility/src/lib/utility.service.js +7 -54
  601. package/esm2015/utility/src/public-api.js +1 -1
  602. package/esm2015/view/index.js +1 -1
  603. package/esm2015/view/sd-angular-core-view.js +1 -1
  604. package/esm2015/view/src/lib/view.module.js +1 -1
  605. package/esm2015/view/src/public-api.js +1 -1
  606. package/esm2015/zip/index.js +1 -1
  607. package/esm2015/zip/sd-angular-core-zip.js +1 -1
  608. package/esm2015/zip/src/lib/zip.module.js +1 -1
  609. package/esm2015/zip/src/lib/zip.service.js +1 -1
  610. package/esm2015/zip/src/public-api.js +1 -1
  611. package/fesm2015/sd-angular-core-api.js +2 -35
  612. package/fesm2015/sd-angular-core-api.js.map +1 -1
  613. package/fesm2015/sd-angular-core-common.js +85 -2
  614. package/fesm2015/sd-angular-core-common.js.map +1 -1
  615. package/fesm2015/sd-angular-core-input-dropdown.js +2 -2
  616. package/fesm2015/sd-angular-core-input-dropdown.js.map +1 -1
  617. package/fesm2015/sd-angular-core-table.js +348 -804
  618. package/fesm2015/sd-angular-core-table.js.map +1 -1
  619. package/fesm2015/sd-angular-core-utility.js +7 -54
  620. package/fesm2015/sd-angular-core-utility.js.map +1 -1
  621. package/input-dropdown/sd-angular-core-input-dropdown.metadata.json +1 -1
  622. package/package.json +1 -1
  623. package/{sd-angular-core-1.3.149.tgz → sd-angular-core-1.3.151.tgz} +0 -0
  624. package/table/sd-angular-core-table.d.ts +23 -30
  625. package/table/sd-angular-core-table.metadata.json +1 -1
  626. package/table/src/lib/components/column-inline-filter/column-inline-filter.component.d.ts +2 -0
  627. package/table/src/lib/components/{popup-grid-configuration/popup-grid-configuration.component.d.ts → popup-configuration/popup-configuration.component.d.ts} +5 -10
  628. package/table/src/lib/components/popup-filter/popup-filter.component.d.ts +2 -2
  629. package/table/src/lib/components/quick-action/quick-action.component.d.ts +1 -1
  630. package/table/src/lib/components/{grid-filter/grid-filter.component.d.ts → table-filter/table-filter.component.d.ts} +5 -5
  631. package/table/src/lib/models/table-column.model.d.ts +15 -48
  632. package/table/src/lib/models/table-item.model.d.ts +15 -2
  633. package/table/src/lib/models/table-option-config.model.d.ts +2 -11
  634. package/table/src/lib/models/table-option.model.d.ts +0 -4
  635. package/table/src/lib/services/table-configuration.service.d.ts +5 -5
  636. package/table/src/lib/services/table-filter/table-filter.model.d.ts +1 -2
  637. package/table/src/lib/services/table-filter/table-filter.service.d.ts +2 -2
  638. package/table/src/lib/table.component.d.ts +12 -13
  639. package/utility/sd-angular-core-utility.metadata.json +1 -1
  640. package/utility/src/lib/utility.service.d.ts +2 -4
  641. package/esm2015/table/src/lib/components/grid-filter/grid-filter.component.js +0 -99
  642. package/esm2015/table/src/lib/components/popup-grid-configuration/popup-grid-configuration.component.js +0 -96
  643. package/esm2015/table/src/lib/models/grid-cell.model.js +0 -2
  644. package/esm2015/table/src/lib/pipes/cell-view.pipe.js +0 -180
  645. package/esm2015/table/src/lib/pipes/column-badge.pipe.js +0 -43
  646. package/esm2015/table/src/lib/pipes/column-children-filter.pipe.js +0 -31
  647. package/esm2015/table/src/lib/pipes/column-html-template.pipe.js +0 -23
  648. package/esm2015/table/src/lib/pipes/column-transform.pipe.js +0 -35
  649. package/esm2015/table/src/lib/pipes/column-values.pipe.js +0 -63
  650. package/esm2015/table/src/lib/pipes/grid-configuration-result.pipe.js +0 -21
  651. package/table/src/lib/models/grid-cell.model.d.ts +0 -16
  652. package/table/src/lib/pipes/cell-view.pipe.d.ts +0 -15
  653. package/table/src/lib/pipes/column-badge.pipe.d.ts +0 -11
  654. package/table/src/lib/pipes/column-children-filter.pipe.d.ts +0 -8
  655. package/table/src/lib/pipes/column-html-template.pipe.d.ts +0 -8
  656. package/table/src/lib/pipes/column-transform.pipe.d.ts +0 -8
  657. package/table/src/lib/pipes/column-values.pipe.d.ts +0 -6
  658. package/table/src/lib/pipes/grid-configuration-result.pipe.d.ts +0 -10
@@ -15,6 +15,8 @@ export declare class SdColumnInlineFilter implements OnInit {
15
15
  display: string;
16
16
  }[];
17
17
  column: SdTableColumn;
18
+ items: any[] | ((searchText: string) => Promise<any[]>);
19
+ cacheValues: Record<string, any[]>;
18
20
  set _column(column: SdTableColumn);
19
21
  filterChange: EventEmitter<any>;
20
22
  constructor(ref: ChangeDetectorRef);
@@ -1,38 +1,33 @@
1
1
  import { OnInit, EventEmitter, ChangeDetectorRef } from '@angular/core';
2
2
  import { SdModal } from '@sd-angular/core/modal';
3
3
  import { SdNotifyService } from '@sd-angular/core/notify';
4
- import { SdTranslateService } from '@sd-angular/core/translate';
5
4
  import { SdTableOption } from '../../models/table-option.model';
6
- import { SdGridConfigurationResult, SdGridConfiguration } from '../../models/table-option-config.model';
5
+ import { SdTableConfigurationResult, SdTableConfiguration } from '../../models/table-option-config.model';
7
6
  import { SdTableConfigurationService } from '../../services/table-configuration.service';
8
7
  import { MatTable } from '@angular/material/table';
9
8
  import { CdkDragDrop } from '@angular/cdk/drag-drop';
10
9
  import { SdTableColumn } from '../../models/table-column.model';
11
- export declare class SdPopupGridConfiguration implements OnInit {
10
+ export declare class SdPopupConfiguration implements OnInit {
12
11
  #private;
13
12
  private ref;
14
13
  private notifyService;
15
- private translateService;
16
14
  private gridConfigurationService;
17
15
  gridOption: SdTableOption;
18
- key: string;
19
16
  modal: SdModal;
20
17
  table: MatTable<SdTableColumn>;
21
- readonly changes: EventEmitter<SdGridConfigurationResult>;
22
- configuration: SdGridConfiguration;
18
+ readonly changes: EventEmitter<SdTableConfigurationResult>;
19
+ configuration: SdTableConfiguration;
23
20
  isCreatingColumn: boolean;
24
21
  selected: {
25
22
  [key: string]: boolean;
26
23
  };
27
24
  disabledDrag: boolean;
28
- constructor(ref: ChangeDetectorRef, notifyService: SdNotifyService, translateService: SdTranslateService, gridConfigurationService: SdTableConfigurationService);
25
+ constructor(ref: ChangeDetectorRef, notifyService: SdNotifyService, gridConfigurationService: SdTableConfigurationService);
29
26
  ngOnInit(): void;
30
27
  mouseUp(event: any): void;
31
28
  open: () => Promise<void>;
32
29
  onSave: () => void;
33
30
  onReset: () => Promise<void>;
34
- createColumn: () => Promise<void>;
35
- confirm: () => Promise<void>;
36
31
  dropTable(event: CdkDragDrop<SdTableColumn[]>): void;
37
32
  handleMouseDown(): void;
38
33
  handleMouseUp(): void;
@@ -1,13 +1,13 @@
1
1
  import { ChangeDetectorRef } from '@angular/core';
2
2
  import { SdModal } from '@sd-angular/core/modal';
3
3
  import { SdTableColumn } from '../../models/table-column.model';
4
- import { SdTableExternalFilter, SdGridMaterialFilterRegister } from '../../services/table-filter/table-filter.model';
4
+ import { SdTableExternalFilter, SdTableFilterRegister } from '../../services/table-filter/table-filter.model';
5
5
  import { SdMaterialFilterDefDirective } from '../../directives/sd-material-filter-def.directive';
6
6
  export declare class SdPopupFilter {
7
7
  #private;
8
8
  private cdRef;
9
9
  modal: SdModal;
10
- set filterRegister(value: SdGridMaterialFilterRegister);
10
+ set filterRegister(value: SdTableFilterRegister);
11
11
  externalFilters: SdTableExternalFilter[];
12
12
  externalFilter: Record<string, any>;
13
13
  inlineExternal: Record<string, boolean>;
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter } from '@angular/core';
2
2
  import { SdTableOption } from '../../models/table-option.model';
3
- export declare class SdGridQuickAction {
3
+ export declare class SdTableQuickAction {
4
4
  gridOption: SdTableOption;
5
5
  selectedItems: any[];
6
6
  clear: EventEmitter<any>;
@@ -1,11 +1,11 @@
1
1
  import { AfterViewInit, OnDestroy, ChangeDetectorRef } from '@angular/core';
2
- import { SdTableOptionFilter, SdTableExternalFilter, SdGridMaterialFilterRegister } from '../../services/table-filter/table-filter.model';
2
+ import { SdTableOptionFilter, SdTableExternalFilter, SdTableFilterRegister } from '../../services/table-filter/table-filter.model';
3
3
  import { SdTableColumn } from '../../models/table-column.model';
4
4
  import { SdPopupFilter } from '../popup-filter/popup-filter.component';
5
5
  import { BehaviorSubject } from 'rxjs';
6
6
  import { DeviceDetectorService } from 'ngx-device-detector';
7
7
  import { SdMaterialFilterDefDirective } from '../../directives/sd-material-filter-def.directive';
8
- export declare class SdGridFilter implements AfterViewInit, OnDestroy {
8
+ export declare class SdTableFilter implements AfterViewInit, OnDestroy {
9
9
  #private;
10
10
  private ref;
11
11
  private deviceService;
@@ -16,9 +16,9 @@ export declare class SdGridFilter implements AfterViewInit, OnDestroy {
16
16
  externalFilters: SdTableExternalFilter[];
17
17
  set _externalFilters(value: SdTableExternalFilter[]);
18
18
  filterDefs: SdMaterialFilterDefDirective[];
19
- filterRegister: SdGridMaterialFilterRegister;
20
- set _filterRegister(value: SdGridMaterialFilterRegister);
21
- filterRegisterChange: BehaviorSubject<SdGridMaterialFilterRegister>;
19
+ filterRegister: SdTableFilterRegister;
20
+ set _filterRegister(value: SdTableFilterRegister);
21
+ filterRegisterChange: BehaviorSubject<SdTableFilterRegister>;
22
22
  filterDef: any;
23
23
  inlineFilterDef: Record<string, boolean>;
24
24
  columnFilter: any;
@@ -1,5 +1,5 @@
1
1
  import { SdBadgeColor } from '@sd-angular/core/badge';
2
- export declare type SdTableColumn<T = any> = SdTableColumnText<T> | SdTableColumnNumber<T> | SdTableColumnBool<T> | SdTableColumnDate<T> | SdTableColumnValues<T> | SdTableColumnChildren<T>;
2
+ export declare type SdTableColumn<T = any> = SdTableColumnText<T> | SdTableColumnNumber<T> | SdTableColumnBool<T> | SdTableColumnDate<T> | SdTableColumnValues<T> | SdTableColumnLazyValues<T> | SdTableColumnChildren<T>;
3
3
  export declare type SdFilterOperator = 'EQUAL' | 'NOT_EQUAL' | 'CONTAIN' | 'NOT_CONTAIN' | 'IN' | 'NOT_IN' | 'START_WITH' | 'END_WITH' | 'GREATER_THAN' | 'LESS_THAN' | 'GREATER_OR_EQUAL' | 'LESS_OR_EQUAL';
4
4
  export declare const SdFilterOperators: {
5
5
  value: SdFilterOperator;
@@ -18,8 +18,8 @@ interface SdTableColumnBase<T = any> {
18
18
  hidden?: boolean;
19
19
  invisible?: boolean;
20
20
  fixed?: boolean;
21
- align?: 'center' | 'left' | 'right';
22
- htmlTemplate?: (value: any, rowData: T, isMobileOrTablet: boolean) => string;
21
+ cellStyle?: (value: any, rowData: T) => Record<string, string>;
22
+ htmlTemplate?: (value: any, rowData: T) => string;
23
23
  transform?: SdTableColumnTransformFunc<T>;
24
24
  tooltip?: (value: any, rowData: T) => string;
25
25
  click?: (value: any, rowData: T) => void;
@@ -42,31 +42,12 @@ interface SdTableColumnText<T = any> extends SdTableColumnBase<T> {
42
42
  badge?: (value: any, rowData: T) => SdBadgeColor;
43
43
  badgeIcon?: (value: any, rowData: T) => string;
44
44
  badgeType?: 'circle' | 'icon';
45
- editor?: {
46
- change?: (rowData: T, selected?: any) => void;
47
- hidden?: boolean | ((rowData: T) => boolean);
48
- disabled?: boolean | ((rowData: T) => boolean);
49
- required?: boolean | ((rowData: T) => boolean);
50
- minLength?: number;
51
- maxLength?: number;
52
- validator?: (rowData: T) => string;
53
- };
54
45
  }
55
46
  interface SdTableColumnNumber<T = any> extends SdTableColumnBase<T> {
56
47
  type: 'number';
57
48
  badge?: (value: any, rowData: T) => SdBadgeColor;
58
49
  badgeIcon?: (value: any, rowData: T) => string;
59
50
  badgeType?: 'circle' | 'icon';
60
- editor?: {
61
- change?: (rowData: T, selected?: any) => void;
62
- hidden?: boolean | ((rowData: T) => boolean);
63
- disabled?: boolean | ((rowData: T) => boolean);
64
- required?: boolean | ((rowData: T) => boolean);
65
- minValue?: number;
66
- maxValue?: number;
67
- precision?: number;
68
- validator?: (rowData: T) => string;
69
- };
70
51
  }
71
52
  interface SdTableColumnBool<T = any> extends SdTableColumnBase<T> {
72
53
  type: 'bool';
@@ -74,26 +55,11 @@ interface SdTableColumnBool<T = any> extends SdTableColumnBase<T> {
74
55
  displayOnTrue?: string;
75
56
  displayOnFalse?: string;
76
57
  };
77
- badgeType?: 'circle';
78
- editor?: {
79
- change?: (rowData: T, selected?: any) => void;
80
- hidden?: boolean | ((rowData: T) => boolean);
81
- disabled?: boolean | ((rowData: T) => boolean);
82
- required?: boolean | ((rowData: T) => boolean);
83
- };
84
58
  }
85
59
  interface SdTableColumnDate<T = any> extends SdTableColumnBase<T> {
86
60
  type: 'date' | 'datetime' | 'time';
87
- option?: {
61
+ filter?: SdTableColumnBase['filter'] & {
88
62
  useFilterDate?: boolean;
89
- timeDifferent?: 'second' | 'minute' | 'hour' | 'day' | 'month';
90
- };
91
- transformDate?: (value: any, rowData: T) => string | Date;
92
- editor?: {
93
- change?: (rowData: T, selected?: any) => void;
94
- hidden?: boolean | ((rowData: T) => boolean);
95
- disabled?: boolean | ((rowData: T) => boolean);
96
- required?: boolean | ((rowData: T) => boolean);
97
63
  };
98
64
  }
99
65
  export interface SdTableColumnValues<T = any> extends SdTableColumnBase<T> {
@@ -102,19 +68,20 @@ export interface SdTableColumnValues<T = any> extends SdTableColumnBase<T> {
102
68
  badgeIcon?: (value: any, rowData: T) => string;
103
69
  badgeType?: 'circle' | 'icon';
104
70
  option: {
105
- items: any[] | ((searchText?: string, isFormValue?: boolean) => Promise<any[]>) | ((searchText?: string[], isFormValue?: boolean) => Promise<any[]>);
106
71
  valueField: string;
107
72
  displayField: string;
108
- selection?: 'AUTOCOMPLETE' | 'MULTIPLE' | 'MULTIPLEAUTOCOMPLETE' | 'AUTOCOMPLETE_EDITOR' | 'MULTIPLE_EDITOR' | 'MULTIPLEAUTOCOMPLETE_EDITOR';
73
+ items: any[] | (() => Promise<any[]>);
74
+ selection?: 'AUTOCOMPLETE' | 'MULTIPLE' | 'MULTIPLEAUTOCOMPLETE';
109
75
  };
110
- editor?: {
111
- change?: (rowData: T, selected?: any) => void;
112
- add?: (rowData: T) => void;
113
- edit?: (option: any, rowData: T) => void;
114
- delete?: (option: any, rowData: T) => void;
115
- hidden?: boolean | ((rowData: T) => boolean);
116
- disabled?: boolean | ((rowData: T) => boolean);
117
- required?: boolean | ((rowData: T) => boolean);
76
+ }
77
+ export interface SdTableColumnLazyValues<T = any> extends SdTableColumnBase<T> {
78
+ type: 'lazy-values';
79
+ option: {
80
+ valueField: string;
81
+ displayField: string;
82
+ items: (searchText: string) => Promise<any[]>;
83
+ views?: (values: string[]) => Promise<any[]>;
84
+ selection?: 'AUTOCOMPLETE' | 'MULTIPLE' | 'MULTIPLEAUTOCOMPLETE';
118
85
  };
119
86
  }
120
87
  declare type SdTableColumnNormal<T> = Exclude<SdTableColumn<T>, SdTableColumnChildren<T>>;
@@ -1,3 +1,4 @@
1
+ import { SdBadgeColor } from '@sd-angular/core/badge';
1
2
  export interface SdTableMetaSelector {
2
3
  selectable?: boolean;
3
4
  isSelected?: boolean;
@@ -8,8 +9,21 @@ export interface SdTableMetaExpand {
8
9
  isExpanding?: boolean;
9
10
  data?: any;
10
11
  }
12
+ export interface SdTableDisplay {
13
+ tooltip: string;
14
+ badge: {
15
+ type: 'round' | 'circle' | 'icon';
16
+ color: SdBadgeColor;
17
+ icon: string;
18
+ };
19
+ cellStyle: Record<string, string>;
20
+ data: string;
21
+ isHtml: boolean;
22
+ click: () => void;
23
+ }
11
24
  export interface SdTableMeta<T> {
12
25
  id?: string;
26
+ display: Record<string, SdTableDisplay>;
13
27
  selector?: SdTableMetaSelector;
14
28
  expand?: SdTableMetaExpand;
15
29
  group?: {
@@ -19,7 +33,6 @@ export interface SdTableMeta<T> {
19
33
  }
20
34
  export interface SdTableItem<T = any> {
21
35
  meta: SdTableMeta<T>;
22
- origin: T;
23
- current: T;
36
+ data: T;
24
37
  }
25
38
  export declare const MapToSdTableItem: <T = any>(item: T) => SdTableItem<T>;
@@ -1,7 +1,5 @@
1
- import { Observable } from 'rxjs';
2
1
  import { SdTableColumn } from './table-column.model';
3
2
  export interface SdTableConfigOption<T = any> {
4
- key?: string;
5
3
  visible?: boolean;
6
4
  storage?: 'session' | 'server';
7
5
  customColumn?: boolean;
@@ -29,10 +27,10 @@ export interface SdColumnConfiguration {
29
27
  fixed?: boolean;
30
28
  htmlTemplate?: string;
31
29
  }
32
- export interface SdGridConfiguration {
30
+ export interface SdTableConfiguration {
33
31
  columns?: SdColumnConfiguration[];
34
32
  }
35
- export interface SdGridConfigurationResult {
33
+ export interface SdTableConfigurationResult {
36
34
  column: {
37
35
  [field: string]: {
38
36
  title?: string;
@@ -53,10 +51,3 @@ export interface SdGridConfigurationResult {
53
51
  displayedFooters: string[];
54
52
  multipleHeader: boolean;
55
53
  }
56
- export interface SdGridConfigurationCache {
57
- load: () => Promise<void>;
58
- get: () => Promise<SdGridConfiguration>;
59
- set: (configuration: SdGridConfiguration) => SdGridConfiguration;
60
- remove: () => void;
61
- observer: Observable<SdGridConfiguration>;
62
- }
@@ -25,10 +25,6 @@ interface SdTableBaseOption<T = any> {
25
25
  commands?: SdTableCommand<T>[];
26
26
  columns: SdTableColumn<T>[];
27
27
  style?: SdTableOptionStyle<T>;
28
- displayOnEmpty?: boolean | ((rowData: T, column?: SdTableColumn<T>) => string) | {
29
- display?: boolean | ((rowData: T, column?: SdTableColumn<T>) => string);
30
- emptyValues?: any[];
31
- };
32
28
  }
33
29
  interface SdTableLocalOption<T = any> extends SdTableBaseOption<T> {
34
30
  type: 'local';
@@ -1,13 +1,13 @@
1
- import { SdSettingService } from '@sd-angular/core/setting';
1
+ import { SdSetting, SdSettingService } from '@sd-angular/core/setting';
2
2
  import { SdTableOption } from '../models/table-option.model';
3
- import { SdGridConfiguration, SdGridConfigurationCache, SdGridConfigurationResult } from '../models/table-option-config.model';
4
- import { SdMaterialSubInformationDefDirective } from '../directives/sd-material-sub-information-def.directive';
3
+ import { SdTableConfiguration, SdTableConfigurationResult } from '../models/table-option-config.model';
5
4
  import { ISdTableConfiguration } from '../models/table-configuration.model';
6
5
  export declare class SdTableConfigurationService {
7
6
  #private;
8
7
  private settingService;
9
8
  gridMaterialConfiguration: ISdTableConfiguration;
10
9
  constructor(settingService: SdSettingService, gridMaterialConfiguration: ISdTableConfiguration);
11
- init: (key: string, gridOption: SdTableOption) => SdGridConfigurationCache;
12
- generateConfigurationResult: (configuration: SdGridConfiguration, gridOption: SdTableOption, sdSubInformation: SdMaterialSubInformationDefDirective) => SdGridConfigurationResult;
10
+ loadConfiguration: (gridOption: SdTableOption) => SdTableConfiguration;
11
+ loadConfigurationResult: (gridOption: SdTableOption, configuration: SdTableConfiguration) => SdTableConfigurationResult;
12
+ init: (gridOption: SdTableOption) => SdSetting<SdTableConfiguration>;
13
13
  }
@@ -40,7 +40,6 @@ export interface SdTableOptionFilter {
40
40
  cacheFilter?: boolean;
41
41
  disabled?: boolean;
42
42
  externalFilters?: SdTableExternalFilter[];
43
- inlineColumn?: boolean;
44
43
  sorts?: string[];
45
44
  enableCollapse?: boolean;
46
45
  }
@@ -100,7 +99,7 @@ interface BoolFilter extends BaseFilter {
100
99
  };
101
100
  default?: boolean;
102
101
  }
103
- export interface SdGridMaterialFilterRegister {
102
+ export interface SdTableFilterRegister {
104
103
  configuration: {
105
104
  get: () => SdTableFilterConfiguration;
106
105
  set: (configuration: Partial<SdTableFilterConfiguration>) => SdTableFilterConfiguration;
@@ -1,5 +1,5 @@
1
1
  import { SdSettingService } from '@sd-angular/core/setting';
2
- import { SdTableExternalFilter, SdTableOptionFilter, SdGridMaterialFilterRegister } from './table-filter.model';
2
+ import { SdTableExternalFilter, SdTableOptionFilter, SdTableFilterRegister } from './table-filter.model';
3
3
  import { SdTableColumn } from '../../models/table-column.model';
4
4
  import { SdMaterialFilterDefDirective } from '../../directives/sd-material-filter-def.directive';
5
5
  export declare class SdTableFilterService {
@@ -11,5 +11,5 @@ export declare class SdTableFilterService {
11
11
  columns: SdTableColumn[];
12
12
  externalFilters: SdTableExternalFilter[];
13
13
  filterDefs: SdMaterialFilterDefDirective[];
14
- }) => SdGridMaterialFilterRegister;
14
+ }) => SdTableFilterRegister;
15
15
  }
@@ -1,44 +1,42 @@
1
1
  import { AfterViewInit, ChangeDetectorRef, QueryList, OnInit, OnDestroy } from '@angular/core';
2
2
  import { MatPaginator } from '@angular/material/paginator';
3
3
  import { MatSort } from '@angular/material/sort';
4
- import { SdGridMaterialFilterRegister } from './services/table-filter/table-filter.model';
4
+ import { SdTableFilterRegister } from './services/table-filter/table-filter.model';
5
5
  import { SdTableOption } from './models/table-option.model';
6
6
  import { ISdTableConfiguration } from './models/table-configuration.model';
7
- import { Observable } from 'rxjs';
8
7
  import { SdNotifyService } from '@sd-angular/core/notify';
9
8
  import { SdFilterOperator } from './models/table-column.model';
10
9
  import { SdMaterialCellDefDirective } from './directives/sd-material-cell-def.directive';
11
- import { SdGridFilter } from './components/grid-filter/grid-filter.component';
10
+ import { SdTableFilter } from './components/table-filter/table-filter.component';
12
11
  import { SdMaterialFilterDefDirective } from './directives/sd-material-filter-def.directive';
13
12
  import { SdMaterialSubInformationDefDirective } from './directives/sd-material-sub-information-def.directive';
14
13
  import { SdMaterialFooterDefDirective } from './directives/sd-material-footer-def.directive';
15
14
  import { SdMaterialEmptyDataDefDirective } from './directives/sd-material-empty-data-def.directive';
16
15
  import { SdExportService } from '@sd-angular/core/export';
17
- import { SdGridConfiguration } from './models/table-option-config.model';
16
+ import { SdTableConfigurationResult } from './models/table-option-config.model';
18
17
  import { SdTableConfigurationService } from './services/table-configuration.service';
19
18
  import { SdQuickAction } from '@sd-angular/core/quick-action';
20
19
  import { SdTableItem } from './models/table-item.model';
21
- import { SdColumnValuesPipe } from './pipes/column-values.pipe';
22
20
  import { SdScrollDirective } from '@sd-angular/core/common';
23
21
  import { SdTableFilterService } from './services/table-filter/table-filter.service';
22
+ import { SdPopupConfiguration } from './components/popup-configuration/popup-configuration.component';
24
23
  export declare class SdTable<T = any> implements OnInit, AfterViewInit, OnDestroy {
25
24
  #private;
26
25
  private ref;
27
- configuration: ISdTableConfiguration;
26
+ tableConfiguration: ISdTableConfiguration;
28
27
  private gridConfigurationService;
29
28
  private exportService;
30
29
  private notifyService;
31
- private columnValuesPipe;
32
30
  private gridFilterService;
31
+ popupConfiguration: SdPopupConfiguration;
33
32
  sdScroll: SdScrollDirective;
34
- filterRegister: SdGridMaterialFilterRegister;
33
+ filterRegister: SdTableFilterRegister;
35
34
  key: string;
36
- gridConfigurationObserver: Observable<SdGridConfiguration>;
37
35
  quickAction: SdQuickAction;
38
- gridFilter: SdGridFilter;
39
- set _gridFilter(gridFilter: SdGridFilter);
40
- set option(option: SdTableOption);
36
+ tableFilter: SdTableFilter;
41
37
  gridOption: SdTableOption<T>;
38
+ configuration: SdTableConfigurationResult;
39
+ set option(option: SdTableOption);
42
40
  items: SdTableItem<T>[];
43
41
  selectedItems: T[];
44
42
  total: number;
@@ -64,7 +62,8 @@ export declare class SdTable<T = any> implements OnInit, AfterViewInit, OnDestro
64
62
  isExporting: boolean;
65
63
  isSelectAll: boolean;
66
64
  exportTitle: string;
67
- constructor(ref: ChangeDetectorRef, configuration: ISdTableConfiguration, gridConfigurationService: SdTableConfigurationService, exportService: SdExportService, notifyService: SdNotifyService, columnValuesPipe: SdColumnValuesPipe, gridFilterService: SdTableFilterService);
65
+ cacheValues: Record<string, any[]>;
66
+ constructor(ref: ChangeDetectorRef, tableConfiguration: ISdTableConfiguration, gridConfigurationService: SdTableConfigurationService, exportService: SdExportService, notifyService: SdNotifyService, gridFilterService: SdTableFilterService);
68
67
  ngOnInit(): void;
69
68
  ngAfterViewInit(): void;
70
69
  ngOnDestroy(): void;
@@ -1 +1 @@
1
- {"__symbolic":"module","version":4,"metadata":{"SdUtilityModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":12,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":14,"character":4},{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClientModule","line":15,"character":4}],"declarations":[{"__symbolic":"reference","name":"SdDesktopDirective"},{"__symbolic":"reference","name":"SdMobileTabletDirective"},{"__symbolic":"reference","name":"SdMobileDirective"},{"__symbolic":"reference","name":"SdTabletDirective"},{"__symbolic":"reference","name":"SdCurrencyPipe"},{"__symbolic":"reference","name":"SdSafeHtmlPipe"},{"__symbolic":"reference","name":"SdTimeDifferentPipe"}],"exports":[{"__symbolic":"reference","name":"SdDesktopDirective"},{"__symbolic":"reference","name":"SdMobileTabletDirective"},{"__symbolic":"reference","name":"SdMobileDirective"},{"__symbolic":"reference","name":"SdTabletDirective"},{"__symbolic":"reference","name":"SdCurrencyPipe"},{"__symbolic":"reference","name":"SdSafeHtmlPipe"},{"__symbolic":"reference","name":"SdTimeDifferentPipe"}],"providers":[{"__symbolic":"reference","name":"SdCurrencyPipe"},{"__symbolic":"reference","name":"SdSafeHtmlPipe"},{"__symbolic":"reference","name":"SdTimeDifferentPipe"}]}]}],"members":{}},"SdUtilityService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":7,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClient","line":13,"character":34}]}]},"statics":{"ɵprov":{}}},"SdDesktopDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":4,"character":1},"arguments":[{"selector":"[sdDesktop]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef","line":10,"character":30},{"__symbolic":"reference","module":"ngx-device-detector","name":"DeviceDetectorService","line":11,"character":19}]}]}},"SdMobileDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":4,"character":1},"arguments":[{"selector":"[sdMobile]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef","line":10,"character":30},{"__symbolic":"reference","module":"ngx-device-detector","name":"DeviceDetectorService","line":11,"character":19}]}]}},"SdMobileTabletDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":4,"character":1},"arguments":[{"selector":"[sdMobileTablet]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef","line":10,"character":30},{"__symbolic":"reference","module":"ngx-device-detector","name":"DeviceDetectorService","line":11,"character":19}]}]}},"SdTabletDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":4,"character":1},"arguments":[{"selector":"[sdTablet]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef","line":10,"character":30},{"__symbolic":"reference","module":"ngx-device-detector","name":"DeviceDetectorService","line":11,"character":19}]}]}},"SdCurrencyPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe","line":1,"character":1},"arguments":[{"name":"sdCurrency"}]}],"members":{"transform":[{"__symbolic":"method"}]}},"SdSafeHtmlPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe","line":3,"character":1},"arguments":[{"name":"safeHtml"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/platform-browser","name":"DomSanitizer","line":8,"character":33}]}],"transform":[{"__symbolic":"method"}]}},"SdTimeDifferentPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe","line":4,"character":1},"arguments":[{"name":"sdTimeDifferent"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"SdUtilityService"}]}],"transform":[{"__symbolic":"method"}]}}},"origins":{"SdUtilityModule":"./src/lib/utility.module","SdUtilityService":"./src/lib/utility.service","SdDesktopDirective":"./src/lib/directives/desktop.directive","SdMobileDirective":"./src/lib/directives/mobile.directive","SdMobileTabletDirective":"./src/lib/directives/mobile-tablet.directive","SdTabletDirective":"./src/lib/directives/tablet.directive","SdCurrencyPipe":"./src/lib/pipes/currency.pipe","SdSafeHtmlPipe":"./src/lib/pipes/safe-html.pipe","SdTimeDifferentPipe":"./src/lib/pipes/time-different.pipe"},"importAs":"@sd-angular/core/utility"}
1
+ {"__symbolic":"module","version":4,"metadata":{"SdUtilityModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":11,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":13,"character":4}],"declarations":[{"__symbolic":"reference","name":"SdDesktopDirective"},{"__symbolic":"reference","name":"SdMobileTabletDirective"},{"__symbolic":"reference","name":"SdMobileDirective"},{"__symbolic":"reference","name":"SdTabletDirective"},{"__symbolic":"reference","name":"SdCurrencyPipe"},{"__symbolic":"reference","name":"SdSafeHtmlPipe"},{"__symbolic":"reference","name":"SdTimeDifferentPipe"}],"exports":[{"__symbolic":"reference","name":"SdDesktopDirective"},{"__symbolic":"reference","name":"SdMobileTabletDirective"},{"__symbolic":"reference","name":"SdMobileDirective"},{"__symbolic":"reference","name":"SdTabletDirective"},{"__symbolic":"reference","name":"SdCurrencyPipe"},{"__symbolic":"reference","name":"SdSafeHtmlPipe"},{"__symbolic":"reference","name":"SdTimeDifferentPipe"}],"providers":[{"__symbolic":"reference","name":"SdCurrencyPipe"},{"__symbolic":"reference","name":"SdSafeHtmlPipe"},{"__symbolic":"reference","name":"SdTimeDifferentPipe"}]}]}],"members":{}},"SdUtilityService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":5,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}]},"statics":{"ɵprov":{}}},"SdDesktopDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":4,"character":1},"arguments":[{"selector":"[sdDesktop]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef","line":10,"character":30},{"__symbolic":"reference","module":"ngx-device-detector","name":"DeviceDetectorService","line":11,"character":19}]}]}},"SdMobileDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":4,"character":1},"arguments":[{"selector":"[sdMobile]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef","line":10,"character":30},{"__symbolic":"reference","module":"ngx-device-detector","name":"DeviceDetectorService","line":11,"character":19}]}]}},"SdMobileTabletDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":4,"character":1},"arguments":[{"selector":"[sdMobileTablet]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef","line":10,"character":30},{"__symbolic":"reference","module":"ngx-device-detector","name":"DeviceDetectorService","line":11,"character":19}]}]}},"SdTabletDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":4,"character":1},"arguments":[{"selector":"[sdTablet]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef","line":10,"character":30},{"__symbolic":"reference","module":"ngx-device-detector","name":"DeviceDetectorService","line":11,"character":19}]}]}},"SdCurrencyPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe","line":1,"character":1},"arguments":[{"name":"sdCurrency"}]}],"members":{"transform":[{"__symbolic":"method"}]}},"SdSafeHtmlPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe","line":3,"character":1},"arguments":[{"name":"safeHtml"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/platform-browser","name":"DomSanitizer","line":8,"character":33}]}],"transform":[{"__symbolic":"method"}]}},"SdTimeDifferentPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe","line":4,"character":1},"arguments":[{"name":"sdTimeDifferent"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"SdUtilityService"}]}],"transform":[{"__symbolic":"method"}]}}},"origins":{"SdUtilityModule":"./src/lib/utility.module","SdUtilityService":"./src/lib/utility.service","SdDesktopDirective":"./src/lib/directives/desktop.directive","SdMobileDirective":"./src/lib/directives/mobile.directive","SdMobileTabletDirective":"./src/lib/directives/mobile-tablet.directive","SdTabletDirective":"./src/lib/directives/tablet.directive","SdCurrencyPipe":"./src/lib/pipes/currency.pipe","SdSafeHtmlPipe":"./src/lib/pipes/safe-html.pipe","SdTimeDifferentPipe":"./src/lib/pipes/time-different.pipe"},"importAs":"@sd-angular/core/utility"}
@@ -1,9 +1,7 @@
1
- import { HttpClient } from '@angular/common/http';
2
1
  export declare class SdUtilityService {
3
2
  #private;
4
- private httpClient;
5
- constructor(httpClient: HttpClient);
6
- hashMD5: (key: string) => string;
3
+ constructor();
4
+ hashMD5: (key: string) => any;
7
5
  arrayToObject: <T>(items: T[], key: string) => {
8
6
  [key: string]: T;
9
7
  };
@@ -1,99 +0,0 @@
1
- var _subscription;
2
- import { __classPrivateFieldGet } from "tslib";
3
- import { Component, Input, ViewChild, ChangeDetectionStrategy, ChangeDetectorRef, } from '@angular/core';
4
- import { SdPopupFilter } from '../popup-filter/popup-filter.component';
5
- import { BehaviorSubject, Subscription } from 'rxjs';
6
- import { DeviceDetectorService } from 'ngx-device-detector';
7
- import { startWith } from 'rxjs/operators';
8
- export class SdGridFilter {
9
- constructor(ref, deviceService) {
10
- this.ref = ref;
11
- this.deviceService = deviceService;
12
- this.columns = [];
13
- this.externalFilters = [];
14
- this.filterDefs = [];
15
- this.filterRegisterChange = new BehaviorSubject(null);
16
- this.filterDef = {};
17
- this.inlineFilterDef = {};
18
- this.columnFilter = {};
19
- this.inlineColumn = {};
20
- this.externalFilter = {};
21
- this.inlineExternal = {};
22
- _subscription.set(this, new Subscription());
23
- this.onFilter = (item) => {
24
- this.filterRegister.value.set({
25
- columnFilter: this.columnFilter,
26
- externalFilter: this.externalFilter,
27
- filterDef: this.filterDef,
28
- });
29
- };
30
- this.updateFilter = () => {
31
- this.filterRegister.value.set({
32
- columnFilter: this.columnFilter,
33
- externalFilter: this.externalFilter,
34
- filterDef: this.filterDef,
35
- notReload: true
36
- });
37
- };
38
- this.open = () => {
39
- this.popupFilter.open();
40
- };
41
- this.isMobileOrTablet = !this.deviceService.isDesktop();
42
- this.ref.markForCheck();
43
- }
44
- set _filter(filter) {
45
- this.filter = filter;
46
- }
47
- set _externalFilters(value) {
48
- this.externalFilters = value || [];
49
- }
50
- set _filterRegister(value) {
51
- this.filterRegister = value;
52
- this.filterRegisterChange.next(this.filterRegister);
53
- }
54
- ngAfterViewInit() {
55
- __classPrivateFieldGet(this, _subscription).add(this.filterRegisterChange.pipe(startWith(this.filterRegister)).subscribe(filterRegister => {
56
- if (this.filterRegister) {
57
- __classPrivateFieldGet(this, _subscription).add(this.filterRegister.configuration.observer.subscribe(configuration => {
58
- const { inlineColumn, inlineExternal, inlineFilterDef } = configuration;
59
- this.inlineColumn = inlineColumn;
60
- this.inlineExternal = inlineExternal;
61
- this.inlineFilterDef = inlineFilterDef;
62
- this.ref.markForCheck();
63
- }));
64
- __classPrivateFieldGet(this, _subscription).add(this.filterRegister.value.observer.subscribe(value => {
65
- const { columnFilter, externalFilter, filterDef } = value;
66
- this.columnFilter = columnFilter;
67
- this.externalFilter = externalFilter;
68
- this.filterDef = filterDef;
69
- this.ref.markForCheck();
70
- }));
71
- }
72
- }));
73
- }
74
- ngOnDestroy() {
75
- __classPrivateFieldGet(this, _subscription).unsubscribe();
76
- }
77
- }
78
- _subscription = new WeakMap();
79
- SdGridFilter.decorators = [
80
- { type: Component, args: [{
81
- selector: 'sd-grid-filter',
82
- template: "<ng-container *ngIf=\"!filter?.disabled\">\r\n <ng-container *ngIf=\"filter?.enableCollapse;else noCollapse\">\r\n <sd-group class=\"p-12\" [isExpanded]=\"false\" title=\"T\u00ECm ki\u1EBFm\" expandable>\r\n <div sdGroupBody>\r\n <ng-container *ngTemplateOutlet=\"noCollapse\"></ng-container>\r\n </div>\r\n </sd-group>\r\n </ng-container>\r\n <ng-template #noCollapse>\r\n <div\r\n *ngIf=\"!isMobileOrTablet && ((columns?.length && !filter?.inlineColumn) || externalFilters?.length || filterDefs?.length)\"\r\n class=\"row mx-0\">\r\n <ng-container *ngIf=\"filter?.sorts?.length\">\r\n <ng-container *ngFor=\"let field of filter?.sorts\">\r\n <ng-container *ngIf=\"columns?.length && !filter?.inlineColumn\">\r\n <ng-container *ngFor=\"let item of columns | sdFilterColumn:field\">\r\n <ng-container *ngTemplateOutlet=\"filterColumn; context: {item: item}\"></ng-container>\r\n </ng-container>\r\n </ng-container>\r\n <ng-container *ngIf=\"externalFilters?.length\">\r\n <ng-container *ngFor=\"let item of externalFilters | sdFilterExternal:field\">\r\n <ng-container *ngTemplateOutlet=\"filterExternal; context: {item: item}\"></ng-container>\r\n </ng-container>\r\n </ng-container>\r\n <ng-container *ngFor=\"let item of filterDefs\">\r\n <div *ngIf=\"inlineFilterDef[item.sdMaterialFilterDef] && item.sdMaterialFilterDef === field\"\r\n class=\"col-lg-2 col-md-3 col-sm-6 px-8\">\r\n <ng-container *ngTemplateOutlet=\"item.templateRef;context:{filterDef:filterDef, isInline: true}\">\r\n </ng-container>\r\n </div>\r\n </ng-container>\r\n </ng-container>\r\n </ng-container>\r\n <ng-container *ngIf=\"!filter?.sorts?.length\">\r\n <ng-container *ngIf=\"columns?.length && !filter?.inlineColumn\">\r\n <ng-container *ngFor=\"let item of columns | sdFilterColumn\">\r\n <ng-container *ngTemplateOutlet=\"filterColumn; context: {item: item}\"></ng-container>\r\n </ng-container>\r\n </ng-container>\r\n <ng-container *ngIf=\"externalFilters?.length\">\r\n <ng-container *ngFor=\"let item of externalFilters | sdFilterExternal\">\r\n <ng-container *ngTemplateOutlet=\"filterExternal; context: {item: item}\"></ng-container>\r\n </ng-container>\r\n </ng-container>\r\n <ng-container *ngFor=\"let item of filterDefs\">\r\n <div *ngIf=\"inlineFilterDef[item.sdMaterialFilterDef]\" class=\"col-lg-2 col-md-3 col-sm-6 px-8\">\r\n <ng-container *ngTemplateOutlet=\"item.templateRef;context:{filterDef:filterDef, isInline: true}\">\r\n </ng-container>\r\n </div>\r\n </ng-container>\r\n </ng-container>\r\n </div>\r\n <ng-template #filterColumn let-item=\"item\">\r\n <div *ngIf=\"inlineColumn[item.field]\" class=\"col-lg-2 col-md-3 col-sm-6 px-8\">\r\n <sd-input [label]=\"item.title\" *ngIf=\"item.type === 'string'\" type=\"text\" [(model)]=\"columnFilter[item.field]\"\r\n (keyupEnter)=\"onFilter(item)\" appearance=\"outline\">\r\n </sd-input>\r\n <sd-input-number [label]=\"item.title\" *ngIf=\"item.type === 'number'\" [(model)]=\"columnFilter[item.field]\"\r\n (keyupEnter)=\"onFilter(item)\" appearance=\"outline\">\r\n </sd-input-number>\r\n <sd-select [label]=\"item.title\" *ngIf=\"item.type === 'bool'\" [items]=\"[{value:'1',display:item.option?.displayOnTrue || 'True' },\r\n {value:'0',display:item.option?.displayOnFalse || 'False' }]\" valueField=\"value\" displayField=\"display\"\r\n [(model)]=\"columnFilter[item.field]\" (sdChange)=\"onFilter(item)\" appearance=\"outline\">\r\n </sd-select>\r\n <sd-select *ngIf=\"item.type === 'values' && item?.option?.selection !== 'AUTOCOMPLETE'\"\r\n [items]=\"item.option?.items\" [valueField]=\"item.option?.valueField\" [displayField]=\"item.option.displayField\"\r\n [(model)]=\"columnFilter[item.field]\" (sdChange)=\"onFilter(item)\" [disabled]=\"item.filter?.disabled\"\r\n [multiple]=\"item?.option?.selection === 'MULTIPLE' || item?.item?.selection === 'MULTIPLEAUTOCOMPLETE'\"\r\n [filtered]=\"item?.option?.selection === 'MULTIPLEAUTOCOMPLETE'\" appearance=\"outline\">\r\n </sd-select>\r\n <sd-autocomplete *ngIf=\"item.type === 'values' && item?.option?.selection === 'AUTOCOMPLETE'\"\r\n [items]=\"item.option?.items\" [valueField]=\"item.option?.valueField\" [displayField]=\"item.option?.displayField\"\r\n [(model)]=\"columnFilter[item.field]\" (sdChange)=\"onFilter(item)\" [disabled]=\"item.filter?.disabled\"\r\n appearance=\"outline\">\r\n </sd-autocomplete>\r\n <sd-date-time *ngIf=\"item.type === 'date' || item.type === 'datetime' || item.type === 'time'\"\r\n [label]=\"item.title\" [(model)]=\"columnFilter[item.field]\" [type]=\"item.type\" (sdChange)=\"onFilter(item)\"\r\n appearance=\"outline\">\r\n </sd-date-time>\r\n </div>\r\n </ng-template>\r\n <ng-template #filterExternal let-item=\"item\">\r\n <div *ngIf=\"inlineExternal[item.field]\" class=\"col-lg-2 col-md-3 col-sm-6 px-8\">\r\n <sd-input [label]=\"item.title\" *ngIf=\"item.type === 'string'\" type=\"text\" [(model)]=\"externalFilter[item.field]\"\r\n (keyupEnter)=\"onFilter(item)\" appearance=\"outline\">\r\n </sd-input>\r\n <sd-input-number [label]=\"item.title\" *ngIf=\"item.type === 'number'\" [(model)]=\"externalFilter[item.field]\"\r\n (keyupEnter)=\"onFilter(item)\" appearance=\"outline\">\r\n </sd-input-number>\r\n <sd-select [label]=\"item.title\" *ngIf=\"item.type === 'bool'\" [items]=\"[{value:'1',display:item.option?.displayOnTrue || 'True' },\r\n {value:'0',display:item.option?.displayOnFalse || 'False' }]\" valueField=\"value\" displayField=\"display\"\r\n [(model)]=\"externalFilter[item.field]\" (sdChange)=\"onFilter(item)\" appearance=\"outline\">\r\n </sd-select>\r\n <ng-container *ngIf=\"item.type === 'values' && item.option\">\r\n <sd-select *ngIf=\"item.option?.selection === 'MULTIPLE'\" [label]=\"item.title\" [items]=\"item.option.items\"\r\n [valueField]=\"item.option.valueField\" [displayField]=\"item.option.displayField\"\r\n [(model)]=\"externalFilter[item.field]\" (sdChange)=\"onFilter(item)\" [selectAll]=\"item.option.selectAll\"\r\n appearance=\"outline\" multiple>\r\n </sd-select>\r\n <sd-autocomplete *ngIf=\"item.option?.selection === 'AUTOCOMPLETE'\" [label]=\"item.title\"\r\n [items]=\"item.option.items\" [valueField]=\"item.option.valueField\" [displayField]=\"item.option.displayField\"\r\n [(model)]=\"externalFilter[item.field]\" (sdChange)=\"onFilter(item)\" appearance=\"outline\">\r\n </sd-autocomplete>\r\n <sd-select *ngIf=\"item.option?.selection === 'MULTIPLEAUTOCOMPLETE'\" [label]=\"item.title\"\r\n [items]=\"item.option.items\" [valueField]=\"item.option.valueField\" [displayField]=\"item.option.displayField\"\r\n [(model)]=\"externalFilter[item.field]\" (sdChange)=\"onFilter(item)\" filtered=\"true\" appearance=\"outline\"\r\n multiple>\r\n </sd-select>\r\n <sd-select *ngIf=\"!item.option?.selection\" [label]=\"item.title\" [items]=\"item.option.items\"\r\n [valueField]=\"item.option.valueField\" [displayField]=\"item.option.displayField\"\r\n [(model)]=\"externalFilter[item.field]\" (sdChange)=\"onFilter(item)\" appearance=\"outline\">\r\n </sd-select>\r\n </ng-container>\r\n <sd-date-time [label]=\"item.title\" *ngIf=\"item.type ==='date' || item.type ==='datetime'\"\r\n [(model)]=\"externalFilter[item.field]\" [type]=\"item.type\" (sdChange)=\"onFilter(item)\" appearance=\"outline\">\r\n </sd-date-time>\r\n <sd-date-range [label]=\"item.title\" *ngIf=\"item.type ==='daterange' && externalFilter[item.field]\"\r\n [(from)]=\"externalFilter[item.field].from\" [(to)]=\"externalFilter[item.field].to\" [min]=\"item.minDate\"\r\n [max]=\"item.maxDate\" (sdChange)=\"onFilter(item)\" appearance=\"outline\">\r\n </sd-date-range>\r\n </div>\r\n </ng-template>\r\n <sd-popup-filter [filterRegister]=\"filterRegister\" [columns]=\"columns\"\r\n [externalFilters]=\"externalFilters\" [filterDefs]=\"filterDefs\">\r\n </sd-popup-filter>\r\n </ng-template>\r\n</ng-container>",
83
- changeDetection: ChangeDetectionStrategy.OnPush,
84
- styles: [":host{display:block;padding-bottom:10px;padding-left:0;padding-right:0}:host ::ng-deep .mat-form-field-wrapper{padding-bottom:0}"]
85
- },] }
86
- ];
87
- SdGridFilter.ctorParameters = () => [
88
- { type: ChangeDetectorRef },
89
- { type: DeviceDetectorService }
90
- ];
91
- SdGridFilter.propDecorators = {
92
- popupFilter: [{ type: ViewChild, args: [SdPopupFilter,] }],
93
- _filter: [{ type: Input, args: ['filter',] }],
94
- columns: [{ type: Input }],
95
- _externalFilters: [{ type: Input, args: ['externalFilters',] }],
96
- filterDefs: [{ type: Input }],
97
- _filterRegister: [{ type: Input, args: ['filterRegister',] }]
98
- };
99
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JpZC1maWx0ZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IkM6L1VzZXJzL25naGlhdHQxNV9vbmVtb3VudC9Eb2N1bWVudHMvbGliLWNvcmUtdWkvcHJvamVjdHMvc2QtY29yZS90YWJsZS8iLCJzb3VyY2VzIjpbInNyYy9saWIvY29tcG9uZW50cy9ncmlkLWZpbHRlci9ncmlkLWZpbHRlci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSxPQUFPLEVBQ0wsU0FBUyxFQUNULEtBQUssRUFHTCxTQUFTLEVBR1QsdUJBQXVCLEVBQ3ZCLGlCQUFpQixHQUNsQixNQUFNLGVBQWUsQ0FBQztBQU92QixPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sd0NBQXdDLENBQUM7QUFDdkUsT0FBTyxFQUFFLGVBQWUsRUFBVyxZQUFZLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFDOUQsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFFNUQsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBUTNDLE1BQ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