@sd-angular/core 1.3.108 → 1.3.110

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 (547) hide show
  1. package/assets/img/file-types/eps/001-file.eps +143 -143
  2. package/assets/img/file-types/eps/002-file-1.eps +136 -136
  3. package/assets/img/file-types/eps/003-file-2.eps +130 -130
  4. package/assets/img/file-types/eps/004-file-3.eps +127 -127
  5. package/assets/img/file-types/eps/005-file-4.eps +120 -120
  6. package/assets/img/file-types/eps/006-file-5.eps +133 -133
  7. package/assets/img/file-types/eps/007-file-6.eps +133 -133
  8. package/assets/img/file-types/eps/008-file-7.eps +144 -144
  9. package/assets/img/file-types/eps/009-file-8.eps +150 -150
  10. package/assets/img/file-types/eps/010-file-9.eps +155 -155
  11. package/assets/img/file-types/eps/011-file-10.eps +124 -124
  12. package/assets/img/file-types/eps/012-file-11.eps +147 -147
  13. package/assets/img/file-types/eps/013-file-12.eps +125 -125
  14. package/assets/img/file-types/eps/014-file-13.eps +129 -129
  15. package/assets/img/file-types/eps/015-file-14.eps +143 -143
  16. package/assets/img/file-types/eps/016-file-15.eps +130 -130
  17. package/assets/img/file-types/eps/017-file-16.eps +197 -197
  18. package/assets/img/file-types/eps/018-file-17.eps +146 -146
  19. package/assets/img/file-types/eps/019-file-18.eps +131 -131
  20. package/assets/img/file-types/eps/020-file-19.eps +137 -137
  21. package/assets/img/file-types/eps/021-file-20.eps +134 -134
  22. package/assets/img/file-types/eps/022-file-21.eps +130 -130
  23. package/assets/img/file-types/eps/023-file-22.eps +161 -161
  24. package/assets/img/file-types/eps/024-file-23.eps +144 -144
  25. package/assets/img/file-types/eps/025-file-24.eps +164 -164
  26. package/assets/img/file-types/eps/026-file-25.eps +135 -135
  27. package/assets/img/file-types/eps/027-file-26.eps +124 -124
  28. package/assets/img/file-types/eps/028-file-27.eps +120 -120
  29. package/assets/img/file-types/eps/029-file-28.eps +141 -141
  30. package/assets/img/file-types/eps/030-file-29.eps +130 -130
  31. package/assets/img/file-types/eps/031-file-30.eps +157 -157
  32. package/assets/img/file-types/eps/032-file-31.eps +139 -139
  33. package/assets/img/file-types/eps/033-file-32.eps +139 -139
  34. package/assets/img/file-types/eps/034-file-33.eps +189 -189
  35. package/assets/img/file-types/eps/035-file-34.eps +162 -162
  36. package/assets/img/file-types/eps/036-file-35.eps +142 -142
  37. package/assets/img/file-types/eps/037-file-36.eps +123 -123
  38. package/assets/img/file-types/eps/038-file-37.eps +127 -127
  39. package/assets/img/file-types/eps/039-file-38.eps +146 -146
  40. package/assets/img/file-types/eps/040-file-39.eps +126 -126
  41. package/assets/img/file-types/eps/041-file-40.eps +117 -117
  42. package/assets/img/file-types/eps/042-file-41.eps +156 -156
  43. package/assets/img/file-types/eps/043-file-42.eps +118 -118
  44. package/assets/img/file-types/eps/044-file-43.eps +172 -172
  45. package/assets/img/file-types/eps/045-file-44.eps +201 -201
  46. package/assets/img/file-types/eps/046-file-45.eps +94 -94
  47. package/assets/img/file-types/eps/047-file-46.eps +176 -176
  48. package/assets/img/file-types/eps/048-file-47.eps +238 -238
  49. package/assets/img/file-types/eps/049-file-48.eps +187 -187
  50. package/assets/img/file-types/eps/050-file-49.eps +137 -137
  51. package/bundles/sd-angular-core-grid-material.umd.js +180 -162
  52. package/bundles/sd-angular-core-grid-material.umd.js.map +1 -1
  53. package/bundles/sd-angular-core-grid-material.umd.min.js +1 -1
  54. package/bundles/sd-angular-core-grid-material.umd.min.js.map +1 -1
  55. package/esm2015/api/index.js +1 -1
  56. package/esm2015/api/sd-angular-core-api.js +1 -1
  57. package/esm2015/api/src/lib/api.model.js +1 -1
  58. package/esm2015/api/src/lib/api.module.js +1 -1
  59. package/esm2015/api/src/lib/api.service.js +1 -1
  60. package/esm2015/api/src/lib/http.interceptor.js +1 -1
  61. package/esm2015/api/src/lib/http.service.js +1 -1
  62. package/esm2015/api/src/lib/token.service.js +1 -1
  63. package/esm2015/api/src/public-api.js +1 -1
  64. package/esm2015/autocomplete/index.js +1 -1
  65. package/esm2015/autocomplete/sd-angular-core-autocomplete.js +1 -1
  66. package/esm2015/autocomplete/src/lib/autocomplete-display-def.directive.js +1 -1
  67. package/esm2015/autocomplete/src/lib/autocomplete.component.js +1 -1
  68. package/esm2015/autocomplete/src/lib/autocomplete.module.js +1 -1
  69. package/esm2015/autocomplete/src/public-api.js +1 -1
  70. package/esm2015/badge/index.js +1 -1
  71. package/esm2015/badge/sd-angular-core-badge.js +1 -1
  72. package/esm2015/badge/src/lib/badge.component.js +1 -1
  73. package/esm2015/badge/src/lib/badge.module.js +1 -1
  74. package/esm2015/badge/src/public-api.js +1 -1
  75. package/esm2015/button/index.js +1 -1
  76. package/esm2015/button/sd-angular-core-button.js +1 -1
  77. package/esm2015/button/src/lib/button.component.js +1 -1
  78. package/esm2015/button/src/lib/button.module.js +1 -1
  79. package/esm2015/button/src/public-api.js +1 -1
  80. package/esm2015/cache/index.js +1 -1
  81. package/esm2015/cache/sd-angular-core-cache.js +1 -1
  82. package/esm2015/cache/src/lib/cache.model.js +1 -1
  83. package/esm2015/cache/src/lib/cache.service.js +1 -1
  84. package/esm2015/cache/src/public-api.js +1 -1
  85. package/esm2015/chart/index.js +1 -1
  86. package/esm2015/chart/sd-angular-core-chart.js +1 -1
  87. package/esm2015/chart/src/lib/chart.component.js +1 -1
  88. package/esm2015/chart/src/lib/chart.model.js +1 -1
  89. package/esm2015/chart/src/lib/chart.module.js +1 -1
  90. package/esm2015/chart/src/public-api.js +1 -1
  91. package/esm2015/checkbox/index.js +1 -1
  92. package/esm2015/checkbox/sd-angular-core-checkbox.js +1 -1
  93. package/esm2015/checkbox/src/lib/checkbox.component.js +1 -1
  94. package/esm2015/checkbox/src/lib/checkbox.module.js +1 -1
  95. package/esm2015/checkbox/src/public-api.js +1 -1
  96. package/esm2015/chip/index.js +1 -1
  97. package/esm2015/chip/sd-angular-core-chip.js +1 -1
  98. package/esm2015/chip/src/lib/chip.component.js +1 -1
  99. package/esm2015/chip/src/lib/chip.model.js +1 -1
  100. package/esm2015/chip/src/lib/chip.module.js +1 -1
  101. package/esm2015/chip/src/lib/directives/sd-chip-display-def.directive.js +1 -1
  102. package/esm2015/chip/src/lib/pipes/removable-chip.pipe.js +1 -1
  103. package/esm2015/chip/src/public-api.js +1 -1
  104. package/esm2015/comment/index.js +1 -1
  105. package/esm2015/comment/sd-angular-core-comment.js +1 -1
  106. package/esm2015/comment/src/lib/comment.component.js +1 -1
  107. package/esm2015/comment/src/lib/comment.model.js +1 -1
  108. package/esm2015/comment/src/lib/comment.module.js +1 -1
  109. package/esm2015/comment/src/public-api.js +1 -1
  110. package/esm2015/common/index.js +1 -1
  111. package/esm2015/common/sd-angular-core-common.js +1 -1
  112. package/esm2015/common/src/lib/common.module.js +1 -1
  113. package/esm2015/common/src/lib/configurations/firebase.configuration.js +1 -1
  114. package/esm2015/common/src/lib/configurations/form.configuration.js +1 -1
  115. package/esm2015/common/src/lib/directives/sd-lable.directive.js +1 -1
  116. package/esm2015/common/src/lib/directives/sd-let.directive.js +1 -1
  117. package/esm2015/common/src/lib/directives/sd-scroll.directive.js +1 -1
  118. package/esm2015/common/src/lib/directives/sd-suffix.directive.js +1 -1
  119. package/esm2015/common/src/lib/directives/view-def.directive.js +1 -1
  120. package/esm2015/common/src/lib/models/sd-form-control.js +1 -1
  121. package/esm2015/common/src/lib/services/browser.service.js +1 -1
  122. package/esm2015/common/src/lib/typings/array.extension.js +1 -1
  123. package/esm2015/common/src/lib/typings/date.extension.js +1 -1
  124. package/esm2015/common/src/lib/typings/index.js +1 -1
  125. package/esm2015/common/src/lib/typings/number.extension.js +1 -1
  126. package/esm2015/common/src/lib/typings/string.extension.js +1 -1
  127. package/esm2015/common/src/lib/typings/utility.extension.js +1 -1
  128. package/esm2015/common/src/public-api.js +1 -1
  129. package/esm2015/confirm/index.js +1 -1
  130. package/esm2015/confirm/sd-angular-core-confirm.js +1 -1
  131. package/esm2015/confirm/src/lib/components/dialog-confirm/dialog-confirm.component.js +1 -1
  132. package/esm2015/confirm/src/lib/confirm.module.js +1 -1
  133. package/esm2015/confirm/src/lib/confirm.service.js +1 -1
  134. package/esm2015/confirm/src/public-api.js +1 -1
  135. package/esm2015/date-month/index.js +1 -1
  136. package/esm2015/date-month/sd-angular-core-date-month.js +1 -1
  137. package/esm2015/date-month/src/lib/date-month.component.js +1 -1
  138. package/esm2015/date-month/src/lib/date-month.module.js +1 -1
  139. package/esm2015/date-month/src/public-api.js +1 -1
  140. package/esm2015/date-range/index.js +1 -1
  141. package/esm2015/date-range/sd-angular-core-date-range.js +1 -1
  142. package/esm2015/date-range/src/lib/date-range.component.js +1 -1
  143. package/esm2015/date-range/src/lib/date-range.module.js +1 -1
  144. package/esm2015/date-range/src/public-api.js +1 -1
  145. package/esm2015/date-time/index.js +1 -1
  146. package/esm2015/date-time/sd-angular-core-date-time.js +1 -1
  147. package/esm2015/date-time/src/lib/date-time.component.js +1 -1
  148. package/esm2015/date-time/src/lib/date-time.module.js +1 -1
  149. package/esm2015/date-time/src/public-api.js +1 -1
  150. package/esm2015/db/index.js +1 -1
  151. package/esm2015/db/sd-angular-core-db.js +1 -1
  152. package/esm2015/db/src/lib/db.model.js +1 -1
  153. package/esm2015/db/src/lib/db.service.js +1 -1
  154. package/esm2015/db/src/public-api.js +1 -1
  155. package/esm2015/dynamic-report/index.js +1 -1
  156. package/esm2015/dynamic-report/sd-angular-core-dynamic-report.js +1 -1
  157. package/esm2015/dynamic-report/src/lib/dynamic-report.component.js +1 -1
  158. package/esm2015/dynamic-report/src/lib/dynamic-report.module.js +1 -1
  159. package/esm2015/dynamic-report/src/public-api.js +1 -1
  160. package/esm2015/editor/index.js +1 -1
  161. package/esm2015/editor/sd-angular-core-editor.js +1 -1
  162. package/esm2015/editor/src/lib/constant.js +1 -1
  163. package/esm2015/editor/src/lib/editor.component.js +1 -1
  164. package/esm2015/editor/src/lib/editor.model.js +1 -1
  165. package/esm2015/editor/src/lib/editor.module.js +1 -1
  166. package/esm2015/editor/src/public-api.js +1 -1
  167. package/esm2015/export/index.js +1 -1
  168. package/esm2015/export/sd-angular-core-export.js +1 -1
  169. package/esm2015/export/src/lib/excel.model.js +1 -1
  170. package/esm2015/export/src/lib/export.model.js +1 -1
  171. package/esm2015/export/src/lib/export.service.js +1 -1
  172. package/esm2015/export/src/public-api.js +1 -1
  173. package/esm2015/filter/index.js +1 -1
  174. package/esm2015/filter/sd-angular-core-filter.js +1 -1
  175. package/esm2015/filter/src/lib/directives/sd-filter-def.directive.js +1 -1
  176. package/esm2015/filter/src/lib/filter.component.js +1 -1
  177. package/esm2015/filter/src/lib/filter.model.js +1 -1
  178. package/esm2015/filter/src/lib/filter.module.js +1 -1
  179. package/esm2015/filter/src/lib/filter.service.js +1 -1
  180. package/esm2015/filter/src/lib/pipes/values-local.pipe.js +1 -1
  181. package/esm2015/filter/src/lib/pipes/values-server.pipe.js +1 -1
  182. package/esm2015/filter/src/public-api.js +1 -1
  183. package/esm2015/form/index.js +1 -1
  184. package/esm2015/form/sd-angular-core-form.js +1 -1
  185. package/esm2015/form/src/lib/form.module.js +1 -1
  186. package/esm2015/form/src/public-api.js +1 -1
  187. package/esm2015/grid/index.js +1 -1
  188. package/esm2015/grid/sd-angular-core-grid.js +1 -1
  189. package/esm2015/grid/src/lib/components/grid-config/grid-config.component.js +1 -1
  190. package/esm2015/grid/src/lib/components/grid-config/grid-config.model.js +1 -1
  191. package/esm2015/grid/src/lib/components/grid-desktop-column-children-view/grid-desktop-column-children-view.component.js +1 -1
  192. package/esm2015/grid/src/lib/components/grid-desktop-column-edit/grid-desktop-column-edit.component.js +1 -1
  193. package/esm2015/grid/src/lib/components/grid-desktop-column-view/grid-desktop-column-view.component.js +1 -1
  194. package/esm2015/grid/src/lib/components/grid-desktop-inline-filter/grid-desktop-inline-filter.component.js +1 -1
  195. package/esm2015/grid/src/lib/components/grid-import-excel/grid-import-excel.component.js +1 -1
  196. package/esm2015/grid/src/lib/components/grid-mobile-item-view/grid-mobile-item-view.component.js +1 -1
  197. package/esm2015/grid/src/lib/components/grid-popup-editor/grid-popup-editor.component.js +1 -1
  198. package/esm2015/grid/src/lib/components/grid-popup-export-excel/grid-popup-export-excel.component.js +1 -1
  199. package/esm2015/grid/src/lib/components/grid-popup-export-excel/grid-popup-export-excel.model.js +1 -1
  200. package/esm2015/grid/src/lib/components/grid-popup-filter/grid-popup-filter.component.js +1 -1
  201. package/esm2015/grid/src/lib/components/grid-popup-filter/grid-popup-filter.model.js +1 -1
  202. package/esm2015/grid/src/lib/components/grid-popup-quick-filter-detail/grid-popup-quick-filter-detail.component.js +1 -1
  203. package/esm2015/grid/src/lib/components/grid-sub-information/grid-sub-information.component.js +1 -1
  204. package/esm2015/grid/src/lib/directives/cell-def.directive.js +1 -1
  205. package/esm2015/grid/src/lib/directives/cell-editor-def.directive.js +1 -1
  206. package/esm2015/grid/src/lib/directives/cell-footer-def.directive.js +1 -1
  207. package/esm2015/grid/src/lib/directives/sub-information-header-def.directive.js +1 -1
  208. package/esm2015/grid/src/lib/grid.component.js +1 -1
  209. package/esm2015/grid/src/lib/grid.model.js +1 -1
  210. package/esm2015/grid/src/lib/grid.module.js +1 -1
  211. package/esm2015/grid/src/lib/models/filter-info.model.js +1 -1
  212. package/esm2015/grid/src/lib/models/grid-configuration.model.js +1 -1
  213. package/esm2015/grid/src/lib/models/handler-dotnet.js +1 -1
  214. package/esm2015/grid/src/lib/models/handler-local.js +1 -1
  215. package/esm2015/grid/src/lib/models/handler.js +1 -1
  216. package/esm2015/grid/src/lib/pipes/cell-desktop-class-name.pipe.js +1 -1
  217. package/esm2015/grid/src/lib/pipes/cell-mobile-class-name.pipe.js +1 -1
  218. package/esm2015/grid/src/lib/pipes/column-command-filter.pipe.js +1 -1
  219. package/esm2015/grid/src/lib/pipes/column-html-template.pipe.js +1 -1
  220. package/esm2015/grid/src/lib/pipes/column-title.pipe.js +1 -1
  221. package/esm2015/grid/src/lib/pipes/column-values.pipe.js +1 -1
  222. package/esm2015/grid/src/lib/pipes/command-disabled.pipe.js +1 -1
  223. package/esm2015/grid/src/lib/pipes/command-filter.pipe.js +1 -1
  224. package/esm2015/grid/src/lib/pipes/command-hidden.pipe.js +1 -1
  225. package/esm2015/grid/src/lib/pipes/command-icon.pipe.js +1 -1
  226. package/esm2015/grid/src/lib/pipes/command-title.pipe.js +1 -1
  227. package/esm2015/grid/src/lib/pipes/dynamic-items.pipe.js +1 -1
  228. package/esm2015/grid/src/lib/pipes/editor-dynamic-item.pipe.js +1 -1
  229. package/esm2015/grid/src/lib/pipes/editor-handler.pipe.js +1 -1
  230. package/esm2015/grid/src/lib/pipes/editor-popup-visible.pipe.js +1 -1
  231. package/esm2015/grid/src/lib/pipes/editor-sub-information-handler.pipe.js +1 -1
  232. package/esm2015/grid/src/lib/pipes/editor-validate.pipe.js +1 -1
  233. package/esm2015/grid/src/lib/pipes/filter-mobile.pipe.js +1 -1
  234. package/esm2015/grid/src/lib/pipes/mobile-command-filter.js +1 -1
  235. package/esm2015/grid/src/lib/pipes/mobile-view-html-template.pipe.js +1 -1
  236. package/esm2015/grid/src/lib/pipes/value-transform.pipe.js +1 -1
  237. package/esm2015/grid/src/public-api.js +1 -1
  238. package/esm2015/grid-material/index.js +1 -1
  239. package/esm2015/grid-material/sd-angular-core-grid-material.js +1 -1
  240. package/esm2015/grid-material/src/lib/components/column-inline-filter/column-inline-filter.component.js +1 -1
  241. package/esm2015/grid-material/src/lib/components/desktop-cell/desktop-cell.component.js +1 -1
  242. package/esm2015/grid-material/src/lib/components/desktop-cell-children-view/desktop-cell-children-view.component.js +1 -1
  243. package/esm2015/grid-material/src/lib/components/desktop-cell-editor/desktop-cell-editor.component.js +1 -1
  244. package/esm2015/grid-material/src/lib/components/desktop-cell-view/desktop-cell-view.component.js +1 -1
  245. package/esm2015/grid-material/src/lib/components/desktop-command/desktop-command.component.js +1 -1
  246. package/esm2015/grid-material/src/lib/components/desktop-editor-validation/desktop-editor-validation.component.js +1 -1
  247. package/esm2015/grid-material/src/lib/components/dynamic-column/dynamic-column.component.js +1 -1
  248. package/esm2015/grid-material/src/lib/components/grid-filter/grid-filter.component.js +9 -1
  249. package/esm2015/grid-material/src/lib/components/popup-export/popup-export.component.js +1 -1
  250. package/esm2015/grid-material/src/lib/components/popup-filter/popup-filter.component.js +1 -1
  251. package/esm2015/grid-material/src/lib/components/popup-grid-configuration/popup-grid-configuration.component.js +1 -1
  252. package/esm2015/grid-material/src/lib/components/quick-action/quick-action.component.js +1 -1
  253. package/esm2015/grid-material/src/lib/directives/sd-material-cell-def.directive.js +1 -1
  254. package/esm2015/grid-material/src/lib/directives/sd-material-empty-data-def.directive.js +1 -1
  255. package/esm2015/grid-material/src/lib/directives/sd-material-filter-def.directive.js +1 -1
  256. package/esm2015/grid-material/src/lib/directives/sd-material-footer-def.directive.js +1 -1
  257. package/esm2015/grid-material/src/lib/directives/sd-material-sub-information-def.directive.js +1 -1
  258. package/esm2015/grid-material/src/lib/functions/calculate-sd-id.js +1 -1
  259. package/esm2015/grid-material/src/lib/grid-material.component.js +40 -33
  260. package/esm2015/grid-material/src/lib/grid-material.module.js +1 -1
  261. package/esm2015/grid-material/src/lib/models/grid-action.model.js +1 -1
  262. package/esm2015/grid-material/src/lib/models/grid-cell.model.js +1 -1
  263. package/esm2015/grid-material/src/lib/models/grid-column.model.js +1 -1
  264. package/esm2015/grid-material/src/lib/models/grid-command.model.js +1 -1
  265. package/esm2015/grid-material/src/lib/models/grid-config.model.js +1 -1
  266. package/esm2015/grid-material/src/lib/models/grid-configuration.model.js +1 -1
  267. package/esm2015/grid-material/src/lib/models/grid-editor.model.js +1 -1
  268. package/esm2015/grid-material/src/lib/models/grid-export.model.js +1 -1
  269. package/esm2015/grid-material/src/lib/models/grid-group.model.js +1 -1
  270. package/esm2015/grid-material/src/lib/models/grid-option.model.js +1 -1
  271. package/esm2015/grid-material/src/lib/models/grid-reload.model.js +1 -1
  272. package/esm2015/grid-material/src/lib/models/grid-selection.model.js +1 -1
  273. package/esm2015/grid-material/src/lib/models/grid-style.model.js +1 -1
  274. package/esm2015/grid-material/src/lib/models/grid-sub-information.model.js +1 -1
  275. package/esm2015/grid-material/src/lib/models/grid.model.js +1 -1
  276. package/esm2015/grid-material/src/lib/pipes/cell-view.pipe.js +1 -1
  277. package/esm2015/grid-material/src/lib/pipes/column-badge.pipe.js +1 -1
  278. package/esm2015/grid-material/src/lib/pipes/column-children-filter.pipe.js +1 -1
  279. package/esm2015/grid-material/src/lib/pipes/column-html-template.pipe.js +1 -1
  280. package/esm2015/grid-material/src/lib/pipes/column-title.pipe.js +1 -1
  281. package/esm2015/grid-material/src/lib/pipes/column-tooltip.pipe.js +1 -1
  282. package/esm2015/grid-material/src/lib/pipes/column-transform.pipe.js +1 -1
  283. package/esm2015/grid-material/src/lib/pipes/column-values.pipe.js +1 -1
  284. package/esm2015/grid-material/src/lib/pipes/command-disable.pipe.js +1 -1
  285. package/esm2015/grid-material/src/lib/pipes/command-filter.pipe.js +1 -1
  286. package/esm2015/grid-material/src/lib/pipes/command-icon.pipe.js +1 -1
  287. package/esm2015/grid-material/src/lib/pipes/command-title.pipe.js +1 -1
  288. package/esm2015/grid-material/src/lib/pipes/editor-handler-column.pipe.js +1 -1
  289. package/esm2015/grid-material/src/lib/pipes/editor-handler-row.pipe.js +1 -1
  290. package/esm2015/grid-material/src/lib/pipes/editor-validate.pipe.js +1 -1
  291. package/esm2015/grid-material/src/lib/pipes/filter-column.pipe.js +1 -1
  292. package/esm2015/grid-material/src/lib/pipes/filter-external.pipe.js +1 -1
  293. package/esm2015/grid-material/src/lib/pipes/grid-configuration-result.pipe.js +1 -1
  294. package/esm2015/grid-material/src/lib/pipes/sd-group.pipe.js +1 -1
  295. package/esm2015/grid-material/src/lib/pipes/selection-action-filter.pipe.js +1 -1
  296. package/esm2015/grid-material/src/lib/pipes/selection-disable.pipe.js +1 -1
  297. package/esm2015/grid-material/src/lib/pipes/selection-visible-select-all.pipe.js +1 -1
  298. package/esm2015/grid-material/src/lib/pipes/selection-visible.pipe.js +1 -1
  299. package/esm2015/grid-material/src/lib/pipes/style-row-css.pipe.js +1 -1
  300. package/esm2015/grid-material/src/lib/services/generated-column/generated-column.model.js +1 -1
  301. package/esm2015/grid-material/src/lib/services/generated-column/generated-column.service.js +1 -1
  302. package/esm2015/grid-material/src/lib/services/grid-configuration.service.js +1 -1
  303. package/esm2015/grid-material/src/lib/services/grid-filter/grid-filter.model.js +1 -1
  304. package/esm2015/grid-material/src/lib/services/grid-filter/grid-filter.service.js +9 -6
  305. package/esm2015/grid-material/src/public-api.js +1 -1
  306. package/esm2015/group/index.js +1 -1
  307. package/esm2015/group/sd-angular-core-group.js +1 -1
  308. package/esm2015/group/src/lib/group.component.js +1 -1
  309. package/esm2015/group/src/lib/group.module.js +1 -1
  310. package/esm2015/group/src/public-api.js +1 -1
  311. package/esm2015/header-title/index.js +1 -1
  312. package/esm2015/header-title/sd-angular-core-header-title.js +1 -1
  313. package/esm2015/header-title/src/lib/header-title.component.js +1 -1
  314. package/esm2015/header-title/src/lib/header-title.module.js +1 -1
  315. package/esm2015/header-title/src/public-api.js +1 -1
  316. package/esm2015/image-preview/index.js +1 -1
  317. package/esm2015/image-preview/sd-angular-core-image-preview.js +1 -1
  318. package/esm2015/image-preview/src/lib/directives/image-preview.directive.js +1 -1
  319. package/esm2015/image-preview/src/lib/image-preview/image-preview-sdmodal.component.js +1 -1
  320. package/esm2015/image-preview/src/lib/image-preview/image-preview.component.js +1 -1
  321. package/esm2015/image-preview/src/lib/image-preview/image-preview.module.js +1 -1
  322. package/esm2015/image-preview/src/lib/models/image-preview.model.js +1 -1
  323. package/esm2015/image-preview/src/public-api.js +1 -1
  324. package/esm2015/input/index.js +1 -1
  325. package/esm2015/input/sd-angular-core-input.js +1 -1
  326. package/esm2015/input/src/lib/directives/input-suffix.directive.js +1 -1
  327. package/esm2015/input/src/lib/directives/touch.directive.js +1 -1
  328. package/esm2015/input/src/lib/input-tooltip.pipe.js +1 -1
  329. package/esm2015/input/src/lib/input.component.js +1 -1
  330. package/esm2015/input/src/lib/input.module.js +1 -1
  331. package/esm2015/input/src/public-api.js +1 -1
  332. package/esm2015/input-currency/index.js +1 -1
  333. package/esm2015/input-currency/sd-angular-core-input-currency.js +1 -1
  334. package/esm2015/input-currency/src/lib/input-currency-tooltip.pipe.js +1 -1
  335. package/esm2015/input-currency/src/lib/input-currency.component.js +1 -1
  336. package/esm2015/input-currency/src/lib/input-currency.module.js +1 -1
  337. package/esm2015/input-currency/src/public-api.js +1 -1
  338. package/esm2015/input-dropdown/index.js +1 -1
  339. package/esm2015/input-dropdown/sd-angular-core-input-dropdown.js +1 -1
  340. package/esm2015/input-dropdown/src/lib/input-tooltip.pipe.js +1 -1
  341. package/esm2015/input-dropdown/src/lib/input.component.js +1 -1
  342. package/esm2015/input-dropdown/src/lib/input.module.js +1 -1
  343. package/esm2015/input-dropdown/src/public-api.js +1 -1
  344. package/esm2015/input-number/index.js +1 -1
  345. package/esm2015/input-number/sd-angular-core-input-number.js +1 -1
  346. package/esm2015/input-number/src/lib/input-number.component.js +1 -1
  347. package/esm2015/input-number/src/lib/input-number.module.js +1 -1
  348. package/esm2015/input-number/src/public-api.js +1 -1
  349. package/esm2015/input-upload-file/index.js +1 -1
  350. package/esm2015/input-upload-file/sd-angular-core-input-upload-file.js +1 -1
  351. package/esm2015/input-upload-file/src/lib/input-upload-file.component.js +1 -1
  352. package/esm2015/input-upload-file/src/lib/input-upload-file.module.js +1 -1
  353. package/esm2015/input-upload-file/src/public-api.js +1 -1
  354. package/esm2015/json-editor/index.js +1 -1
  355. package/esm2015/json-editor/sd-angular-core-json-editor.js +1 -1
  356. package/esm2015/json-editor/src/lib/json-editor.component.js +1 -1
  357. package/esm2015/json-editor/src/lib/json-editor.module.js +1 -1
  358. package/esm2015/json-editor/src/public-api.js +1 -1
  359. package/esm2015/konva/index.js +1 -1
  360. package/esm2015/konva/sd-angular-core-konva.js +1 -1
  361. package/esm2015/konva/src/lib/konva.module.js +1 -1
  362. package/esm2015/konva/src/lib/merge-images/merge-images.component.js +1 -1
  363. package/esm2015/konva/src/public-api.js +1 -1
  364. package/esm2015/label/index.js +1 -1
  365. package/esm2015/label/sd-angular-core-label.js +1 -1
  366. package/esm2015/label/src/lib/label.component.js +1 -1
  367. package/esm2015/label/src/lib/label.module.js +1 -1
  368. package/esm2015/label/src/public-api.js +1 -1
  369. package/esm2015/lib/core.module.js +1 -1
  370. package/esm2015/lib/material.module.js +1 -1
  371. package/esm2015/loading/index.js +1 -1
  372. package/esm2015/loading/sd-angular-core-loading.js +1 -1
  373. package/esm2015/loading/src/lib/loading.service.js +1 -1
  374. package/esm2015/loading/src/public-api.js +1 -1
  375. package/esm2015/modal/index.js +1 -1
  376. package/esm2015/modal/sd-angular-core-modal.js +1 -1
  377. package/esm2015/modal/src/lib/bottom-sheet/bottom-sheet-body/bottom-sheet-body.component.js +1 -1
  378. package/esm2015/modal/src/lib/bottom-sheet/bottom-sheet-footer/bottom-sheet-footer.component.js +1 -1
  379. package/esm2015/modal/src/lib/bottom-sheet/bottom-sheet-header/bottom-sheet-header.component.js +1 -1
  380. package/esm2015/modal/src/lib/bottom-sheet/bottom-sheet.component.js +1 -1
  381. package/esm2015/modal/src/lib/modal/modal-body/modal-body.component.js +1 -1
  382. package/esm2015/modal/src/lib/modal/modal-footer/modal-footer.component.js +1 -1
  383. package/esm2015/modal/src/lib/modal/modal-header/modal-header.component.js +1 -1
  384. package/esm2015/modal/src/lib/modal/modal.component.js +1 -1
  385. package/esm2015/modal/src/lib/modal.module.js +1 -1
  386. package/esm2015/modal/src/public-api.js +1 -1
  387. package/esm2015/modal-resizable/index.js +1 -1
  388. package/esm2015/modal-resizable/sd-angular-core-modal-resizable.js +1 -1
  389. package/esm2015/modal-resizable/src/lib/modal-resizable/modal-resizable.component.js +1 -1
  390. package/esm2015/modal-resizable/src/lib/modal-resizable.module.js +1 -1
  391. package/esm2015/modal-resizable/src/public-api.js +1 -1
  392. package/esm2015/notify/index.js +1 -1
  393. package/esm2015/notify/sd-angular-core-notify.js +1 -1
  394. package/esm2015/notify/src/lib/components/dialog-confirm/dialog-confirm.component.js +1 -1
  395. package/esm2015/notify/src/lib/configurations/notify.configuration.js +1 -1
  396. package/esm2015/notify/src/lib/notify.module.js +1 -1
  397. package/esm2015/notify/src/lib/notify.service.js +1 -1
  398. package/esm2015/notify/src/public-api.js +1 -1
  399. package/esm2015/pdf/index.js +1 -1
  400. package/esm2015/pdf/sd-angular-core-pdf.js +1 -1
  401. package/esm2015/pdf/src/lib/pdf.module.js +1 -1
  402. package/esm2015/pdf/src/lib/pdf.service.js +1 -1
  403. package/esm2015/pdf/src/public-api.js +1 -1
  404. package/esm2015/popover/index.js +1 -1
  405. package/esm2015/popover/sd-angular-core-popover.js +1 -1
  406. package/esm2015/popover/src/lib/directives/popover-content.directive.js +1 -1
  407. package/esm2015/popover/src/lib/directives/popover-trigger.directive.js +1 -1
  408. package/esm2015/popover/src/lib/popover/popover.component.js +1 -1
  409. package/esm2015/popover/src/lib/popover.model.js +1 -1
  410. package/esm2015/popover/src/lib/popover.module.js +1 -1
  411. package/esm2015/popover/src/public-api.js +1 -1
  412. package/esm2015/print/index.js +1 -1
  413. package/esm2015/print/sd-angular-core-print.js +1 -1
  414. package/esm2015/print/src/lib/fonts/times/bold-italic.js +1 -1
  415. package/esm2015/print/src/lib/fonts/times/bold.js +1 -1
  416. package/esm2015/print/src/lib/fonts/times/italic.js +1 -1
  417. package/esm2015/print/src/lib/fonts/times/normal.js +1 -1
  418. package/esm2015/print/src/lib/print.component.js +1 -1
  419. package/esm2015/print/src/lib/print.module.js +1 -1
  420. package/esm2015/print/src/public-api.js +1 -1
  421. package/esm2015/public-api.js +1 -1
  422. package/esm2015/quick-action/index.js +1 -1
  423. package/esm2015/quick-action/sd-angular-core-quick-action.js +1 -1
  424. package/esm2015/quick-action/src/lib/quick-action.component.js +1 -1
  425. package/esm2015/quick-action/src/lib/quick-action.module.js +1 -1
  426. package/esm2015/quick-action/src/public-api.js +1 -1
  427. package/esm2015/radio/index.js +1 -1
  428. package/esm2015/radio/sd-angular-core-radio.js +1 -1
  429. package/esm2015/radio/src/lib/radio.component.js +1 -1
  430. package/esm2015/radio/src/lib/radio.module.js +1 -1
  431. package/esm2015/radio/src/public-api.js +1 -1
  432. package/esm2015/sd-angular-core.js +1 -1
  433. package/esm2015/select/index.js +1 -1
  434. package/esm2015/select/sd-angular-core-select.js +1 -1
  435. package/esm2015/select/src/lib/select-display-def.directive.js +1 -1
  436. package/esm2015/select/src/lib/select.component.js +1 -1
  437. package/esm2015/select/src/lib/select.module.js +1 -1
  438. package/esm2015/select/src/public-api.js +1 -1
  439. package/esm2015/select-badge/index.js +1 -1
  440. package/esm2015/select-badge/sd-angular-core-select-badge.js +1 -1
  441. package/esm2015/select-badge/src/lib/select-badge-display-def.directive.js +1 -1
  442. package/esm2015/select-badge/src/lib/select-badge.component.js +1 -1
  443. package/esm2015/select-badge/src/lib/select-badge.module.js +1 -1
  444. package/esm2015/select-badge/src/public-api.js +1 -1
  445. package/esm2015/select-editor/index.js +1 -1
  446. package/esm2015/select-editor/sd-angular-core-select-editor.js +1 -1
  447. package/esm2015/select-editor/src/lib/select-editor.component.js +1 -1
  448. package/esm2015/select-editor/src/lib/select-editor.module.js +1 -1
  449. package/esm2015/select-editor/src/public-api.js +1 -1
  450. package/esm2015/service/index.js +1 -1
  451. package/esm2015/service/sd-angular-core-service.js +1 -1
  452. package/esm2015/service/src/lib/service.module.js +1 -1
  453. package/esm2015/service/src/public-api.js +1 -1
  454. package/esm2015/setting/index.js +1 -1
  455. package/esm2015/setting/sd-angular-core-setting.js +1 -1
  456. package/esm2015/setting/src/lib/setting.model.js +1 -1
  457. package/esm2015/setting/src/lib/setting.service.js +1 -1
  458. package/esm2015/setting/src/public-api.js +1 -1
  459. package/esm2015/side-drawer/index.js +1 -1
  460. package/esm2015/side-drawer/sd-angular-core-side-drawer.js +1 -1
  461. package/esm2015/side-drawer/src/lib/side-drawer/side-drawer.component.js +1 -1
  462. package/esm2015/side-drawer/src/lib/side-drawer.module.js +1 -1
  463. package/esm2015/side-drawer/src/public-api.js +1 -1
  464. package/esm2015/switch/index.js +1 -1
  465. package/esm2015/switch/sd-angular-core-switch.js +1 -1
  466. package/esm2015/switch/src/lib/switch.component.js +1 -1
  467. package/esm2015/switch/src/lib/switch.module.js +1 -1
  468. package/esm2015/switch/src/public-api.js +1 -1
  469. package/esm2015/tab-router/index.js +1 -1
  470. package/esm2015/tab-router/sd-angular-core-tab-router.js +1 -1
  471. package/esm2015/tab-router/src/lib/actions/tab-router.action.js +1 -1
  472. package/esm2015/tab-router/src/lib/components/tab-router-item/tab-router-item.component.js +1 -1
  473. package/esm2015/tab-router/src/lib/components/tab-router-nav/tab-router-nav.component.js +1 -1
  474. package/esm2015/tab-router/src/lib/components/tab-router-outlet/tab-router-outlet.component.js +1 -1
  475. package/esm2015/tab-router/src/lib/decorators/tab.decorator.js +1 -1
  476. package/esm2015/tab-router/src/lib/directives/router-link-mouse-down.directive.js +1 -1
  477. package/esm2015/tab-router/src/lib/events/tab-router.event.js +1 -1
  478. package/esm2015/tab-router/src/lib/models/tab-router.model.js +1 -1
  479. package/esm2015/tab-router/src/lib/pipes/tab-info.pipe.js +1 -1
  480. package/esm2015/tab-router/src/lib/services/tab-decorator.service.js +1 -1
  481. package/esm2015/tab-router/src/lib/services/tab-router.service.js +1 -1
  482. package/esm2015/tab-router/src/lib/tab-router.module.js +1 -1
  483. package/esm2015/tab-router/src/public-api.js +1 -1
  484. package/esm2015/textarea/index.js +1 -1
  485. package/esm2015/textarea/sd-angular-core-textarea.js +1 -1
  486. package/esm2015/textarea/src/lib/textarea.component.js +1 -1
  487. package/esm2015/textarea/src/lib/textarea.module.js +1 -1
  488. package/esm2015/textarea/src/public-api.js +1 -1
  489. package/esm2015/time/index.js +1 -1
  490. package/esm2015/time/sd-angular-core-time.js +1 -1
  491. package/esm2015/time/src/lib/time.component.js +1 -1
  492. package/esm2015/time/src/lib/time.module.js +1 -1
  493. package/esm2015/time/src/public-api.js +1 -1
  494. package/esm2015/timeline/index.js +1 -1
  495. package/esm2015/timeline/sd-angular-core-timeline.js +1 -1
  496. package/esm2015/timeline/src/lib/components/timeline.component.js +1 -1
  497. package/esm2015/timeline/src/lib/directives/timeline-def.directive.js +1 -1
  498. package/esm2015/timeline/src/lib/timeline.module.js +1 -1
  499. package/esm2015/timeline/src/public-api.js +1 -1
  500. package/esm2015/translate/index.js +1 -1
  501. package/esm2015/translate/sd-angular-core-translate.js +1 -1
  502. package/esm2015/translate/src/lib/translate.model.js +1 -1
  503. package/esm2015/translate/src/lib/translate.module.js +1 -1
  504. package/esm2015/translate/src/lib/translate.pipe.js +1 -1
  505. package/esm2015/translate/src/lib/translate.service.js +1 -1
  506. package/esm2015/upload-excel/index.js +1 -1
  507. package/esm2015/upload-excel/sd-angular-core-upload-excel.js +1 -1
  508. package/esm2015/upload-excel/src/lib/pipes/columm-hidden.pipe.js +1 -1
  509. package/esm2015/upload-excel/src/lib/pipes/column-transform.pipe.js +1 -1
  510. package/esm2015/upload-excel/src/lib/upload-excel.component.js +1 -1
  511. package/esm2015/upload-excel/src/lib/upload-excel.model.js +1 -1
  512. package/esm2015/upload-excel/src/lib/upload-excel.module.js +1 -1
  513. package/esm2015/upload-excel/src/public-api.js +1 -1
  514. package/esm2015/upload-file/index.js +1 -1
  515. package/esm2015/upload-file/sd-angular-core-upload-file.js +1 -1
  516. package/esm2015/upload-file/src/lib/upload-file.component.js +1 -1
  517. package/esm2015/upload-file/src/lib/upload-file.module.js +1 -1
  518. package/esm2015/upload-file/src/public-api.js +1 -1
  519. package/esm2015/utility/index.js +1 -1
  520. package/esm2015/utility/sd-angular-core-utility.js +1 -1
  521. package/esm2015/utility/src/lib/directives/desktop.directive.js +1 -1
  522. package/esm2015/utility/src/lib/directives/mobile-tablet.directive.js +1 -1
  523. package/esm2015/utility/src/lib/directives/mobile.directive.js +1 -1
  524. package/esm2015/utility/src/lib/directives/tablet.directive.js +1 -1
  525. package/esm2015/utility/src/lib/pipes/currency.pipe.js +1 -1
  526. package/esm2015/utility/src/lib/pipes/safe-html.pipe.js +1 -1
  527. package/esm2015/utility/src/lib/pipes/time-different.pipe.js +1 -1
  528. package/esm2015/utility/src/lib/utility.module.js +1 -1
  529. package/esm2015/utility/src/lib/utility.service.js +1 -1
  530. package/esm2015/utility/src/public-api.js +1 -1
  531. package/esm2015/view/index.js +1 -1
  532. package/esm2015/view/sd-angular-core-view.js +1 -1
  533. package/esm2015/view/src/lib/view.module.js +1 -1
  534. package/esm2015/view/src/public-api.js +1 -1
  535. package/esm2015/zip/index.js +1 -1
  536. package/esm2015/zip/sd-angular-core-zip.js +1 -1
  537. package/esm2015/zip/src/lib/zip.module.js +1 -1
  538. package/esm2015/zip/src/lib/zip.service.js +1 -1
  539. package/esm2015/zip/src/public-api.js +1 -1
  540. package/fesm2015/sd-angular-core-grid-material.js +55 -37
  541. package/fesm2015/sd-angular-core-grid-material.js.map +1 -1
  542. package/grid-material/sd-angular-core-grid-material.metadata.json +1 -1
  543. package/grid-material/src/lib/components/grid-filter/grid-filter.component.d.ts +1 -0
  544. package/grid-material/src/lib/services/grid-filter/grid-filter.model.d.ts +3 -1
  545. package/grid-material/src/lib/services/grid-filter/grid-filter.service.d.ts +2 -2
  546. package/package.json +1 -1
  547. package/{sd-angular-core-1.3.108.tgz → sd-angular-core-1.3.110.tgz} +0 -0
@@ -532,6 +532,14 @@
532
532
  filterDef: _this.filterDef,
533
533
  });
534
534
  };
535
+ this.updateFilter = function () {
536
+ _this.filterRegister.value.set({
537
+ columnFilter: _this.columnFilter,
538
+ externalFilter: _this.externalFilter,
539
+ filterDef: _this.filterDef,
540
+ notReload: true
541
+ });
542
+ };
535
543
  this.open = function () {
536
544
  _this.popupFilter.open();
537
545
  };
@@ -1637,14 +1645,15 @@
1637
1645
  _filterConfiguration.set(this, 'GRID-FILTER-CONFIGURATION');
1638
1646
  _filterValue.set(this, 'GRID-FILTER-VALUE');
1639
1647
  _cache$2.set(this, {});
1640
- this.register = function (key, args) {
1648
+ this.register = function (filter, args) {
1641
1649
  var cacheSession = false;
1650
+ var key = filter === null || filter === void 0 ? void 0 : filter.key;
1642
1651
  if (!key) {
1643
1652
  var id = args.id, columns = args.columns, externalFilters = args.externalFilters;
1644
1653
  key = hash__default['default']({
1645
1654
  id: id,
1646
- columns: columns.map(function (e) { return e.field; }).filter(function (field) { return !!field; }),
1647
- externalFilters: externalFilters.map(function (e) { return e.field; }).filter(function (field) { return !!field; }),
1655
+ columns: (columns === null || columns === void 0 ? void 0 : columns.map(function (e) { return e.field; }).filter(function (field) { return !!field; })) || [],
1656
+ externalFilters: (externalFilters === null || externalFilters === void 0 ? void 0 : externalFilters.map(function (e) { return e.field; }).filter(function (field) { return !!field; })) || [],
1648
1657
  });
1649
1658
  cacheSession = true; // Nếu không có key thì chỉ lưu theo session
1650
1659
  }
@@ -1665,7 +1674,7 @@
1665
1674
  key: key,
1666
1675
  }, {
1667
1676
  default: __classPrivateFieldGet(_this, _defaultValue).call(_this, args),
1668
- type: cacheSession ? 'session' : undefined,
1677
+ type: cacheSession || !(filter === null || filter === void 0 ? void 0 : filter.cacheFilter) ? 'session' : undefined,
1669
1678
  });
1670
1679
  // Lấy giá trị value merge với giá trị default của args nếu như args có thay đổi
1671
1680
  filterValue_1.set(__classPrivateFieldGet(_this, _initValue).call(_this, args, filterValue_1.get()));
@@ -1701,7 +1710,7 @@
1701
1710
  set: function (value) {
1702
1711
  var keys = Object.keys(value || {});
1703
1712
  var current = filterValue_1.get();
1704
- var columnFilter = current.columnFilter, externalFilter = current.externalFilter, filterDef = current.filterDef;
1713
+ var columnFilter = current.columnFilter, externalFilter = current.externalFilter, filterDef = current.filterDef, notReload = current.notReload;
1705
1714
  var updatedFilter = {
1706
1715
  // Filter column
1707
1716
  columnFilter: keys.includes('columnFilter') ? (value === null || value === void 0 ? void 0 : value.columnFilter) || {} : columnFilter,
@@ -1709,6 +1718,8 @@
1709
1718
  externalFilter: keys.includes('externalFilter') ? (value === null || value === void 0 ? void 0 : value.externalFilter) || {} : externalFilter,
1710
1719
  // Filter def
1711
1720
  filterDef: keys.includes('filterDef') ? (value === null || value === void 0 ? void 0 : value.filterDef) || {} : filterDef,
1721
+ // Force
1722
+ force: !!notReload,
1712
1723
  };
1713
1724
  filterValue_1.set(updatedFilter);
1714
1725
  return updatedFilter;
@@ -2020,11 +2031,11 @@
2020
2031
  this.exportTitle = 'Export';
2021
2032
  _loadCompleted.set(this, false);
2022
2033
  _initCellDef.set(this, function () {
2023
- var e_1, _3;
2034
+ var e_1, _4;
2024
2035
  _this.cellDef = {};
2025
2036
  try {
2026
- for (var _4 = __values(_this.sdCellDefs), _5 = _4.next(); !_5.done; _5 = _4.next()) {
2027
- var cellDef = _5.value;
2037
+ for (var _5 = __values(_this.sdCellDefs), _6 = _5.next(); !_6.done; _6 = _5.next()) {
2038
+ var cellDef = _6.value;
2028
2039
  if (cellDef.sdMaterialCellDef) {
2029
2040
  _this.cellDef[cellDef.sdMaterialCellDef] = cellDef;
2030
2041
  }
@@ -2033,35 +2044,35 @@
2033
2044
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
2034
2045
  finally {
2035
2046
  try {
2036
- if (_5 && !_5.done && (_3 = _4.return)) _3.call(_4);
2047
+ if (_6 && !_6.done && (_4 = _5.return)) _4.call(_5);
2037
2048
  }
2038
2049
  finally { if (e_1) throw e_1.error; }
2039
2050
  }
2040
2051
  });
2041
2052
  _initFilterDef.set(this, function () {
2042
- var e_2, _3;
2053
+ var e_2, _4;
2043
2054
  _this.filterDefs = [];
2044
2055
  try {
2045
- for (var _4 = __values(_this.sdFilterDefs), _5 = _4.next(); !_5.done; _5 = _4.next()) {
2046
- var filterDef = _5.value;
2056
+ for (var _5 = __values(_this.sdFilterDefs), _6 = _5.next(); !_6.done; _6 = _5.next()) {
2057
+ var filterDef = _6.value;
2047
2058
  _this.filterDefs.push(filterDef);
2048
2059
  }
2049
2060
  }
2050
2061
  catch (e_2_1) { e_2 = { error: e_2_1 }; }
2051
2062
  finally {
2052
2063
  try {
2053
- if (_5 && !_5.done && (_3 = _4.return)) _3.call(_4);
2064
+ if (_6 && !_6.done && (_4 = _5.return)) _4.call(_5);
2054
2065
  }
2055
2066
  finally { if (e_2) throw e_2.error; }
2056
2067
  }
2057
2068
  });
2058
2069
  _initFooterDef.set(this, function () {
2059
- var e_3, _3;
2070
+ var e_3, _4;
2060
2071
  _this.footerDef = {};
2061
2072
  _this.hasFooter = false;
2062
2073
  try {
2063
- for (var _4 = __values(_this.sdFooterDefs), _5 = _4.next(); !_5.done; _5 = _4.next()) {
2064
- var footerDef = _5.value;
2074
+ for (var _5 = __values(_this.sdFooterDefs), _6 = _5.next(); !_6.done; _6 = _5.next()) {
2075
+ var footerDef = _6.value;
2065
2076
  if (footerDef.sdMaterialFooterDef) {
2066
2077
  _this.hasFooter = true;
2067
2078
  _this.footerDef[footerDef.sdMaterialFooterDef] = footerDef;
@@ -2071,14 +2082,14 @@
2071
2082
  catch (e_3_1) { e_3 = { error: e_3_1 }; }
2072
2083
  finally {
2073
2084
  try {
2074
- if (_5 && !_5.done && (_3 = _4.return)) _3.call(_4);
2085
+ if (_6 && !_6.done && (_4 = _5.return)) _4.call(_5);
2075
2086
  }
2076
2087
  finally { if (e_3) throw e_3.error; }
2077
2088
  }
2078
2089
  });
2079
2090
  _filterExportInfo.set(this, function (pageNumber, pageSize) {
2080
2091
  var _a, _b;
2081
- var _3 = _this.filterRegister.value.get(), columnFilter = _3.columnFilter, externalFilter = _3.externalFilter, filterDef = _3.filterDef;
2092
+ var _4 = _this.filterRegister.value.get(), columnFilter = _4.columnFilter, externalFilter = _4.externalFilter, filterDef = _4.filterDef;
2082
2093
  return {
2083
2094
  rawColumnFilter: columnFilter || {},
2084
2095
  rawExternalFilter: externalFilter || {},
@@ -2102,25 +2113,28 @@
2102
2113
  return option;
2103
2114
  });
2104
2115
  _loadFilterRegister.set(this, function () {
2105
- var _a, _b, _c, _d, _e;
2116
+ var _a, _b, _c, _d;
2106
2117
  // Init filter
2107
2118
  if (_this.gridOption) {
2108
2119
  if (!_this.filterRegister) {
2109
- _this.filterRegister = _this.gridFilterService.register((_b = (_a = _this.gridOption) === null || _a === void 0 ? void 0 : _a.filter) === null || _b === void 0 ? void 0 : _b.key, {
2120
+ _this.filterRegister = _this.gridFilterService.register((_a = _this.gridOption) === null || _a === void 0 ? void 0 : _a.filter, {
2110
2121
  id: __classPrivateFieldGet(_this, _gridId),
2111
- columns: (_c = _this.gridOption) === null || _c === void 0 ? void 0 : _c.columns,
2112
- externalFilters: (_e = (_d = _this.gridOption) === null || _d === void 0 ? void 0 : _d.filter) === null || _e === void 0 ? void 0 : _e.externalFilters,
2122
+ columns: (_b = _this.gridOption) === null || _b === void 0 ? void 0 : _b.columns,
2123
+ externalFilters: (_d = (_c = _this.gridOption) === null || _c === void 0 ? void 0 : _c.filter) === null || _d === void 0 ? void 0 : _d.externalFilters,
2113
2124
  filterDefs: _this.filterDefs,
2114
2125
  });
2115
2126
  __classPrivateFieldGet(_this, _subscription$1).add(_this.filterRegister.value.observer
2116
2127
  .pipe(operators.debounceTime(500), operators.map(function (filterValue) {
2117
- var columnFilter = filterValue.columnFilter;
2128
+ var columnFilter = filterValue.columnFilter, notReload = filterValue.notReload;
2118
2129
  _this.columnFilter = columnFilter;
2119
- __classPrivateFieldGet(_this, _paginator).pageIndex = 0;
2120
- __classPrivateFieldGet(_this, _reload).next({
2121
- force: false,
2122
- });
2123
- })).subscribe());
2130
+ if (!notReload) {
2131
+ __classPrivateFieldGet(_this, _paginator).pageIndex = 0;
2132
+ __classPrivateFieldGet(_this, _reload).next({
2133
+ force: false,
2134
+ });
2135
+ }
2136
+ }))
2137
+ .subscribe());
2124
2138
  }
2125
2139
  }
2126
2140
  });
@@ -2128,7 +2142,7 @@
2128
2142
  var columns = _this.gridOption.columns;
2129
2143
  var rawColumnFilter = filterInfo.rawColumnFilter, orderBy = filterInfo.orderBy, orderDirection = filterInfo.orderDirection, pageSize = filterInfo.pageSize, pageNumber = filterInfo.pageNumber;
2130
2144
  var items = localItems.filter(function (item) {
2131
- var e_4, _3;
2145
+ var e_4, _4;
2132
2146
  var _a, _b, _c, _d;
2133
2147
  try {
2134
2148
  for (var columns_1 = __values(columns), columns_1_1 = columns_1.next(); !columns_1_1.done; columns_1_1 = columns_1.next()) {
@@ -2208,7 +2222,7 @@
2208
2222
  catch (e_4_1) { e_4 = { error: e_4_1 }; }
2209
2223
  finally {
2210
2224
  try {
2211
- if (columns_1_1 && !columns_1_1.done && (_3 = columns_1.return)) _3.call(columns_1);
2225
+ if (columns_1_1 && !columns_1_1.done && (_4 = columns_1.return)) _4.call(columns_1);
2212
2226
  }
2213
2227
  finally { if (e_4) throw e_4.error; }
2214
2228
  }
@@ -2252,7 +2266,7 @@
2252
2266
  });
2253
2267
  _getFilter.set(this, function () {
2254
2268
  var _a, _b, _c, _d, _e, _f;
2255
- var _3 = _this.filterRegister.value.get(), columnFilter = _3.columnFilter, externalFilter = _3.externalFilter, filterDef = _3.filterDef;
2269
+ var _4 = _this.filterRegister.value.get(), columnFilter = _4.columnFilter, externalFilter = _4.externalFilter, filterDef = _4.filterDef;
2256
2270
  return {
2257
2271
  rawColumnFilter: columnFilter || {},
2258
2272
  rawExternalFilter: externalFilter || {},
@@ -2266,28 +2280,28 @@
2266
2280
  _load$1.set(this, function (filterReq, force) {
2267
2281
  if (force === void 0) { force = true; }
2268
2282
  return __awaiter(_this, void 0, void 0, function () {
2269
- var result, data, error_1, results, _3, _4, error_2;
2270
- return __generator(this, function (_5) {
2271
- switch (_5.label) {
2283
+ var result, data, error_1, results, _4, _5, error_2;
2284
+ return __generator(this, function (_6) {
2285
+ switch (_6.label) {
2272
2286
  case 0:
2273
2287
  this.isLoading = true;
2274
2288
  if (!(this.gridOption.type === 'server')) return [3 /*break*/, 6];
2275
- _5.label = 1;
2289
+ _6.label = 1;
2276
2290
  case 1:
2277
- _5.trys.push([1, 3, 4, 5]);
2291
+ _6.trys.push([1, 3, 4, 5]);
2278
2292
  result = this.gridOption.items(filterReq);
2279
2293
  if (rxjs.isObservable(result)) {
2280
2294
  result = result.toPromise();
2281
2295
  }
2282
2296
  return [4 /*yield*/, result];
2283
2297
  case 2:
2284
- data = _5.sent();
2298
+ data = _6.sent();
2285
2299
  return [2 /*return*/, {
2286
2300
  items: (data === null || data === void 0 ? void 0 : data.items) || [],
2287
2301
  total: (data === null || data === void 0 ? void 0 : data.total) || 0,
2288
2302
  }];
2289
2303
  case 3:
2290
- error_1 = _5.sent();
2304
+ error_1 = _6.sent();
2291
2305
  console.error(error_1);
2292
2306
  this.notifyService.notify.warning('Có lỗi xảy ra');
2293
2307
  return [2 /*return*/, {
@@ -2301,20 +2315,20 @@
2301
2315
  case 5: return [3 /*break*/, 14];
2302
2316
  case 6:
2303
2317
  if (!force) return [3 /*break*/, 13];
2304
- _5.label = 7;
2318
+ _6.label = 7;
2305
2319
  case 7:
2306
- _5.trys.push([7, 11, 12, 13]);
2320
+ _6.trys.push([7, 11, 12, 13]);
2307
2321
  results = this.gridOption.items();
2308
2322
  if (!(results instanceof Promise)) return [3 /*break*/, 9];
2309
- _3 = __classPrivateFieldSet;
2310
- _4 = [this, _localItems];
2323
+ _4 = __classPrivateFieldSet;
2324
+ _5 = [this, _localItems];
2311
2325
  return [4 /*yield*/, results];
2312
2326
  case 8:
2313
- _3.apply(void 0, _4.concat([(_5.sent()) || []]));
2327
+ _4.apply(void 0, _5.concat([(_6.sent()) || []]));
2314
2328
  return [3 /*break*/, 10];
2315
2329
  case 9:
2316
2330
  __classPrivateFieldSet(this, _localItems, results || []);
2317
- _5.label = 10;
2331
+ _6.label = 10;
2318
2332
  case 10:
2319
2333
  if (!Array.isArray(__classPrivateFieldGet(this, _localItems))) {
2320
2334
  this.notifyService.notify.warning('Dữ liệu không phải là một mảng');
@@ -2322,7 +2336,7 @@
2322
2336
  }
2323
2337
  return [3 /*break*/, 13];
2324
2338
  case 11:
2325
- error_2 = _5.sent();
2339
+ error_2 = _6.sent();
2326
2340
  console.error(error_2);
2327
2341
  this.notifyService.notify.warning('Có lỗi xảy ra');
2328
2342
  __classPrivateFieldSet(this, _localItems, []);
@@ -2342,8 +2356,8 @@
2342
2356
  });
2343
2357
  _render.set(this, function (args) { return __awaiter(_this, void 0, void 0, function () {
2344
2358
  var _a, _b, _c, _d;
2345
- return __generator(this, function (_3) {
2346
- switch (_3.label) {
2359
+ return __generator(this, function (_4) {
2360
+ switch (_4.label) {
2347
2361
  case 0:
2348
2362
  (_a = this.sdScroll) === null || _a === void 0 ? void 0 : _a.scrollTop();
2349
2363
  this.items = (args === null || args === void 0 ? void 0 : args.items) || [];
@@ -2354,7 +2368,7 @@
2354
2368
  });
2355
2369
  return [4 /*yield*/, ((_d = (_c = (_b = this.gridOption) === null || _b === void 0 ? void 0 : _b.reload) === null || _c === void 0 ? void 0 : _c.onReload) === null || _d === void 0 ? void 0 : _d.call(_c, this.items))];
2356
2370
  case 1:
2357
- _3.sent();
2371
+ _4.sent();
2358
2372
  this.isSelectAll = this.items.every(function (e) { return e.isSelected; });
2359
2373
  __classPrivateFieldGet(this, _updateSelectedItems).call(this);
2360
2374
  return [2 /*return*/];
@@ -2364,12 +2378,16 @@
2364
2378
  this.reload = function (force) {
2365
2379
  if (force === void 0) { force = true; }
2366
2380
  return __awaiter(_this, void 0, void 0, function () {
2367
- var data;
2368
- return __generator(this, function (_3) {
2369
- switch (_3.label) {
2370
- case 0: return [4 /*yield*/, __classPrivateFieldGet(this, _load$1).call(this, __classPrivateFieldGet(this, _getFilter).call(this), force)];
2381
+ var _e, data;
2382
+ return __generator(this, function (_4) {
2383
+ switch (_4.label) {
2384
+ case 0:
2385
+ if ((_e = this.gridFilter) === null || _e === void 0 ? void 0 : _e.updateFilter) {
2386
+ this.gridFilter.updateFilter();
2387
+ }
2388
+ return [4 /*yield*/, __classPrivateFieldGet(this, _load$1).call(this, __classPrivateFieldGet(this, _getFilter).call(this), force)];
2371
2389
  case 1:
2372
- data = _3.sent();
2390
+ data = _4.sent();
2373
2391
  __classPrivateFieldGet(this, _render).call(this, data);
2374
2392
  return [2 /*return*/];
2375
2393
  }
@@ -2380,12 +2398,12 @@
2380
2398
  if (pageNumber === void 0) { pageNumber = 0; }
2381
2399
  if (pageSize === void 0) { pageSize = 10000; }
2382
2400
  return __awaiter(_this, void 0, void 0, function () {
2383
- var _e, _f, result, filterInfo, result, exportedItems, results;
2384
- return __generator(this, function (_3) {
2385
- switch (_3.label) {
2401
+ var _f, _g, result, filterInfo, result, exportedItems, results;
2402
+ return __generator(this, function (_4) {
2403
+ switch (_4.label) {
2386
2404
  case 0:
2387
- if (!((_e = this.gridOption.export) === null || _e === void 0 ? void 0 : _e.items)) return [3 /*break*/, 2];
2388
- result = (_f = this.gridOption.export) === null || _f === void 0 ? void 0 : _f.items(__classPrivateFieldGet(this, _filterExportInfo).call(this, pageNumber, pageSize));
2405
+ if (!((_f = this.gridOption.export) === null || _f === void 0 ? void 0 : _f.items)) return [3 /*break*/, 2];
2406
+ result = (_g = this.gridOption.export) === null || _g === void 0 ? void 0 : _g.items(__classPrivateFieldGet(this, _filterExportInfo).call(this, pageNumber, pageSize));
2389
2407
  if (Array.isArray(result)) {
2390
2408
  return [2 /*return*/, result];
2391
2409
  }
@@ -2396,7 +2414,7 @@
2396
2414
  result = result.toPromise();
2397
2415
  }
2398
2416
  return [4 /*yield*/, result];
2399
- case 1: return [2 /*return*/, _3.sent()];
2417
+ case 1: return [2 /*return*/, _4.sent()];
2400
2418
  case 2:
2401
2419
  filterInfo = __classPrivateFieldGet(this, _filterExportInfo).call(this, pageNumber, pageSize);
2402
2420
  if (!(this.gridOption.type === 'server')) return [3 /*break*/, 4];
@@ -2405,7 +2423,7 @@
2405
2423
  result = result.toPromise();
2406
2424
  }
2407
2425
  return [4 /*yield*/, result];
2408
- case 3: return [2 /*return*/, _3.sent()];
2426
+ case 3: return [2 /*return*/, _4.sent()];
2409
2427
  case 4:
2410
2428
  exportedItems = [];
2411
2429
  if (!(typeof this.gridOption.items === 'function')) return [3 /*break*/, 8];
@@ -2413,15 +2431,15 @@
2413
2431
  if (!(results instanceof Promise)) return [3 /*break*/, 6];
2414
2432
  return [4 /*yield*/, results];
2415
2433
  case 5:
2416
- exportedItems = _3.sent();
2434
+ exportedItems = _4.sent();
2417
2435
  return [3 /*break*/, 7];
2418
2436
  case 6:
2419
2437
  exportedItems = results;
2420
- _3.label = 7;
2438
+ _4.label = 7;
2421
2439
  case 7: return [3 /*break*/, 9];
2422
2440
  case 8:
2423
2441
  exportedItems = this.gridOption.items;
2424
- _3.label = 9;
2442
+ _4.label = 9;
2425
2443
  case 9: return [2 /*return*/, __classPrivateFieldGet(this, _filterLocal).call(this, exportedItems, filterInfo)];
2426
2444
  }
2427
2445
  });
@@ -2463,17 +2481,17 @@
2463
2481
  return ((_b = (_a = _this.gridOption.export) === null || _a === void 0 ? void 0 : _a.columns) === null || _b === void 0 ? void 0 : _b.filter(function (e) { var _a; return !((_a = e.export) === null || _a === void 0 ? void 0 : _a.disabled); })) || [];
2464
2482
  });
2465
2483
  _onExport.set(this, function (args) { return __awaiter(_this, void 0, void 0, function () {
2466
- var _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, file, isCSV, columns_2, pageSize_1, batch, total_1, pageNumber_1, exportItems_1, items_1, promises_1, handleData, sheets, _3, _4, sheet, _5, _6, _7, e_5_1;
2467
- var e_5, _8;
2484
+ var _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, file, isCSV, columns_2, pageSize_1, batch, total_1, pageNumber_1, exportItems_1, items_1, promises_1, handleData, sheets, _4, _5, sheet, _6, _7, _8, e_5_1;
2485
+ var e_5, _9;
2468
2486
  var _this = this;
2469
- return __generator(this, function (_9) {
2470
- switch (_9.label) {
2487
+ return __generator(this, function (_10) {
2488
+ switch (_10.label) {
2471
2489
  case 0:
2472
- _9.trys.push([0, , 20, 21]);
2490
+ _10.trys.push([0, , 20, 21]);
2473
2491
  file = args.file, isCSV = args.isCSV;
2474
2492
  columns_2 = args.columns;
2475
- pageSize_1 = ((_h = (_g = this.gridOption) === null || _g === void 0 ? void 0 : _g.export) === null || _h === void 0 ? void 0 : _h.maxItemsPerRequest) || 1000;
2476
- batch = ((_k = (_j = this.gridOption) === null || _j === void 0 ? void 0 : _j.export) === null || _k === void 0 ? void 0 : _k.batch) || 1;
2493
+ pageSize_1 = ((_j = (_h = this.gridOption) === null || _h === void 0 ? void 0 : _h.export) === null || _j === void 0 ? void 0 : _j.maxItemsPerRequest) || 1000;
2494
+ batch = ((_l = (_k = this.gridOption) === null || _k === void 0 ? void 0 : _k.export) === null || _l === void 0 ? void 0 : _l.batch) || 1;
2477
2495
  total_1 = this.total;
2478
2496
  pageNumber_1 = 0;
2479
2497
  exportItems_1 = [];
@@ -2481,14 +2499,14 @@
2481
2499
  items_1 = [];
2482
2500
  promises_1 = [];
2483
2501
  handleData = function () { return __awaiter(_this, void 0, void 0, function () {
2484
- var _s, results, results_1, results_1_1, result, results_2, totalPage, percent, allColumns, allExportedColumns, _loop_1, exportItems_2, exportItems_2_1, item, e_6_1;
2485
- var e_7, _3, e_6, _4;
2502
+ var _t, results, results_1, results_1_1, result, results_2, totalPage, percent, allColumns, allExportedColumns, _loop_1, exportItems_2, exportItems_2_1, item, e_6_1;
2503
+ var e_7, _4, e_6, _5;
2486
2504
  var _this = this;
2487
- return __generator(this, function (_5) {
2488
- switch (_5.label) {
2505
+ return __generator(this, function (_6) {
2506
+ switch (_6.label) {
2489
2507
  case 0: return [4 /*yield*/, Promise.all(promises_1)];
2490
2508
  case 1:
2491
- results = _5.sent();
2509
+ results = _6.sent();
2492
2510
  promises_1 = [];
2493
2511
  exportItems_1 = [];
2494
2512
  try {
@@ -2506,20 +2524,20 @@
2506
2524
  catch (e_7_1) { e_7 = { error: e_7_1 }; }
2507
2525
  finally {
2508
2526
  try {
2509
- if (results_1_1 && !results_1_1.done && (_3 = results_1.return)) _3.call(results_1);
2527
+ if (results_1_1 && !results_1_1.done && (_4 = results_1.return)) _4.call(results_1);
2510
2528
  }
2511
2529
  finally { if (e_7) throw e_7.error; }
2512
2530
  }
2513
- if (!((_s = this.gridOption.export) === null || _s === void 0 ? void 0 : _s.mapping)) return [3 /*break*/, 4];
2531
+ if (!((_t = this.gridOption.export) === null || _t === void 0 ? void 0 : _t.mapping)) return [3 /*break*/, 4];
2514
2532
  results_2 = this.gridOption.export.mapping(exportItems_1);
2515
2533
  if (!(results_2 instanceof Promise)) return [3 /*break*/, 3];
2516
2534
  return [4 /*yield*/, results_2];
2517
2535
  case 2:
2518
- exportItems_1 = _5.sent();
2536
+ exportItems_1 = _6.sent();
2519
2537
  return [3 /*break*/, 4];
2520
2538
  case 3:
2521
2539
  exportItems_1 = results_2;
2522
- _5.label = 4;
2540
+ _6.label = 4;
2523
2541
  case 4:
2524
2542
  totalPage = total_1 / pageSize_1;
2525
2543
  percent = Math.round(((pageNumber_1 - 1) * 100.0) / totalPage);
@@ -2528,15 +2546,15 @@
2528
2546
  allExportedColumns = __classPrivateFieldGet(this, _allExportedColumns).call(this);
2529
2547
  _loop_1 = function (item) {
2530
2548
  var obj, handle, columns_3, columns_3_1, exportColumn, e_8_1;
2531
- var e_8, _3;
2532
- return __generator(this, function (_4) {
2533
- switch (_4.label) {
2549
+ var e_8, _4;
2550
+ return __generator(this, function (_5) {
2551
+ switch (_5.label) {
2534
2552
  case 0:
2535
2553
  obj = {};
2536
2554
  handle = function (exportColumn) { return __awaiter(_this, void 0, void 0, function () {
2537
- var _t, _u, _v, column, exportedColumn, transform, _3, _4, date, transformDate, date, transformDate, date, transformDate, _5, _6;
2538
- return __generator(this, function (_7) {
2539
- switch (_7.label) {
2555
+ var _u, _v, _w, column, exportedColumn, transform, _4, _5, date, transformDate, date, transformDate, date, transformDate, _6, _7;
2556
+ return __generator(this, function (_8) {
2557
+ switch (_8.label) {
2540
2558
  case 0:
2541
2559
  obj[exportColumn.field] = item[exportColumn.field];
2542
2560
  column = allColumns.find(function (e) { return e.field === exportColumn.field; });
@@ -2560,17 +2578,17 @@
2560
2578
  isExport: true,
2561
2579
  });
2562
2580
  if (!(transform instanceof Promise)) return [3 /*break*/, 2];
2563
- _3 = obj;
2564
- _4 = column.field;
2581
+ _4 = obj;
2582
+ _5 = column.field;
2565
2583
  return [4 /*yield*/, transform];
2566
2584
  case 1:
2567
- _3[_4] = _7.sent();
2585
+ _4[_5] = _8.sent();
2568
2586
  return [3 /*break*/, 3];
2569
2587
  case 2:
2570
2588
  obj[column.field] = transform;
2571
- _7.label = 3;
2589
+ _8.label = 3;
2572
2590
  case 3:
2573
- obj[column.field] = (_t = obj[column.field]) !== null && _t !== void 0 ? _t : '';
2591
+ obj[column.field] = (_u = obj[column.field]) !== null && _u !== void 0 ? _u : '';
2574
2592
  return [3 /*break*/, 13];
2575
2593
  case 4:
2576
2594
  if (!(item[column.field] === undefined || item[column.field] === null || item[column.field] === '')) return [3 /*break*/, 5];
@@ -2585,10 +2603,10 @@
2585
2603
  if (!(column.type === 'bool')) return [3 /*break*/, 7];
2586
2604
  // Nếu là bool thì gán bằng giá trị trueValue và falseValue (nếu có), mặc định là TRUE/FALSE
2587
2605
  if (item[column.field]) {
2588
- obj[column.field] = ((_u = column.option) === null || _u === void 0 ? void 0 : _u.displayOnTrue) || 'True';
2606
+ obj[column.field] = ((_v = column.option) === null || _v === void 0 ? void 0 : _v.displayOnTrue) || 'True';
2589
2607
  }
2590
2608
  else if (obj[column.field] !== undefined && obj[column.field] !== null) {
2591
- obj[column.field] = ((_v = column.option) === null || _v === void 0 ? void 0 : _v.displayOnFalse) || 'False';
2609
+ obj[column.field] = ((_w = column.option) === null || _w === void 0 ? void 0 : _w.displayOnFalse) || 'False';
2592
2610
  }
2593
2611
  return [3 /*break*/, 13];
2594
2612
  case 7:
@@ -2624,43 +2642,43 @@
2624
2642
  case 10:
2625
2643
  if (!(column.type === 'values')) return [3 /*break*/, 12];
2626
2644
  // Nếu là values thì lấy giá trị của value được chọn
2627
- _5 = obj;
2628
- _6 = column.field;
2645
+ _6 = obj;
2646
+ _7 = column.field;
2629
2647
  return [4 /*yield*/, this.columnValuesPipe.transform(item[column.field], column)];
2630
2648
  case 11:
2631
2649
  // Nếu là values thì lấy giá trị của value được chọn
2632
- _5[_6] = _7.sent();
2650
+ _6[_7] = _8.sent();
2633
2651
  return [3 /*break*/, 13];
2634
2652
  case 12:
2635
2653
  obj[column.field] = item[column.field];
2636
- _7.label = 13;
2654
+ _8.label = 13;
2637
2655
  case 13: return [2 /*return*/];
2638
2656
  }
2639
2657
  });
2640
2658
  }); };
2641
- _4.label = 1;
2659
+ _5.label = 1;
2642
2660
  case 1:
2643
- _4.trys.push([1, 6, 7, 8]);
2661
+ _5.trys.push([1, 6, 7, 8]);
2644
2662
  columns_3 = (e_8 = void 0, __values(columns_2)), columns_3_1 = columns_3.next();
2645
- _4.label = 2;
2663
+ _5.label = 2;
2646
2664
  case 2:
2647
2665
  if (!!columns_3_1.done) return [3 /*break*/, 5];
2648
2666
  exportColumn = columns_3_1.value;
2649
2667
  return [4 /*yield*/, handle(exportColumn)];
2650
2668
  case 3:
2651
- _4.sent();
2652
- _4.label = 4;
2669
+ _5.sent();
2670
+ _5.label = 4;
2653
2671
  case 4:
2654
2672
  columns_3_1 = columns_3.next();
2655
2673
  return [3 /*break*/, 2];
2656
2674
  case 5: return [3 /*break*/, 8];
2657
2675
  case 6:
2658
- e_8_1 = _4.sent();
2676
+ e_8_1 = _5.sent();
2659
2677
  e_8 = { error: e_8_1 };
2660
2678
  return [3 /*break*/, 8];
2661
2679
  case 7:
2662
2680
  try {
2663
- if (columns_3_1 && !columns_3_1.done && (_3 = columns_3.return)) _3.call(columns_3);
2681
+ if (columns_3_1 && !columns_3_1.done && (_4 = columns_3.return)) _4.call(columns_3);
2664
2682
  }
2665
2683
  finally { if (e_8) throw e_8.error; }
2666
2684
  return [7 /*endfinally*/];
@@ -2670,29 +2688,29 @@
2670
2688
  }
2671
2689
  });
2672
2690
  };
2673
- _5.label = 5;
2691
+ _6.label = 5;
2674
2692
  case 5:
2675
- _5.trys.push([5, 10, 11, 12]);
2693
+ _6.trys.push([5, 10, 11, 12]);
2676
2694
  exportItems_2 = __values(exportItems_1), exportItems_2_1 = exportItems_2.next();
2677
- _5.label = 6;
2695
+ _6.label = 6;
2678
2696
  case 6:
2679
2697
  if (!!exportItems_2_1.done) return [3 /*break*/, 9];
2680
2698
  item = exportItems_2_1.value;
2681
2699
  return [5 /*yield**/, _loop_1(item)];
2682
2700
  case 7:
2683
- _5.sent();
2684
- _5.label = 8;
2701
+ _6.sent();
2702
+ _6.label = 8;
2685
2703
  case 8:
2686
2704
  exportItems_2_1 = exportItems_2.next();
2687
2705
  return [3 /*break*/, 6];
2688
2706
  case 9: return [3 /*break*/, 12];
2689
2707
  case 10:
2690
- e_6_1 = _5.sent();
2708
+ e_6_1 = _6.sent();
2691
2709
  e_6 = { error: e_6_1 };
2692
2710
  return [3 /*break*/, 12];
2693
2711
  case 11:
2694
2712
  try {
2695
- if (exportItems_2_1 && !exportItems_2_1.done && (_4 = exportItems_2.return)) _4.call(exportItems_2);
2713
+ if (exportItems_2_1 && !exportItems_2_1.done && (_5 = exportItems_2.return)) _5.call(exportItems_2);
2696
2714
  }
2697
2715
  finally { if (e_6) throw e_6.error; }
2698
2716
  return [7 /*endfinally*/];
@@ -2700,7 +2718,7 @@
2700
2718
  }
2701
2719
  });
2702
2720
  }); };
2703
- _9.label = 1;
2721
+ _10.label = 1;
2704
2722
  case 1:
2705
2723
  if (!(pageNumber_1 * pageSize_1 < total_1)) return [3 /*break*/, 3];
2706
2724
  promises_1.push(__classPrivateFieldGet(this, _exportedItems).call(this, pageNumber_1, pageSize_1));
@@ -2710,36 +2728,36 @@
2710
2728
  }
2711
2729
  return [4 /*yield*/, handleData()];
2712
2730
  case 2:
2713
- _9.sent();
2731
+ _10.sent();
2714
2732
  return [3 /*break*/, 1];
2715
2733
  case 3:
2716
2734
  if (!(promises_1.length > 0)) return [3 /*break*/, 5];
2717
2735
  return [4 /*yield*/, handleData()];
2718
2736
  case 4:
2719
- _9.sent();
2720
- _9.label = 5;
2737
+ _10.sent();
2738
+ _10.label = 5;
2721
2739
  case 5:
2722
2740
  if (!!(file === null || file === void 0 ? void 0 : file.filePath)) return [3 /*break*/, 18];
2723
2741
  if (!isCSV) return [3 /*break*/, 7];
2724
2742
  return [4 /*yield*/, this.exportService.exportCSV({
2725
2743
  columns: columns_2,
2726
2744
  items: items_1,
2727
- fileName: (_m = (_l = this.gridOption) === null || _l === void 0 ? void 0 : _l.export) === null || _m === void 0 ? void 0 : _m.fileName,
2745
+ fileName: (_o = (_m = this.gridOption) === null || _m === void 0 ? void 0 : _m.export) === null || _o === void 0 ? void 0 : _o.fileName,
2728
2746
  })];
2729
2747
  case 6:
2730
- _9.sent();
2748
+ _10.sent();
2731
2749
  return [2 /*return*/];
2732
2750
  case 7:
2733
2751
  sheets = [];
2734
- if (!Array.isArray((_p = (_o = this.gridOption) === null || _o === void 0 ? void 0 : _o.export) === null || _p === void 0 ? void 0 : _p.sheets)) return [3 /*break*/, 16];
2735
- _9.label = 8;
2752
+ if (!Array.isArray((_q = (_p = this.gridOption) === null || _p === void 0 ? void 0 : _p.export) === null || _q === void 0 ? void 0 : _q.sheets)) return [3 /*break*/, 16];
2753
+ _10.label = 8;
2736
2754
  case 8:
2737
- _9.trys.push([8, 14, 15, 16]);
2738
- _3 = __values(this.gridOption.export.sheets), _4 = _3.next();
2739
- _9.label = 9;
2755
+ _10.trys.push([8, 14, 15, 16]);
2756
+ _4 = __values(this.gridOption.export.sheets), _5 = _4.next();
2757
+ _10.label = 9;
2740
2758
  case 9:
2741
- if (!!_4.done) return [3 /*break*/, 13];
2742
- sheet = _4.value;
2759
+ if (!!_5.done) return [3 /*break*/, 13];
2760
+ sheet = _5.value;
2743
2761
  if (!(sheet.name && sheet.items && sheet.fields)) return [3 /*break*/, 12];
2744
2762
  if (!Array.isArray(sheet.items)) return [3 /*break*/, 10];
2745
2763
  sheets.push({
@@ -2749,38 +2767,38 @@
2749
2767
  });
2750
2768
  return [3 /*break*/, 12];
2751
2769
  case 10:
2752
- _6 = (_5 = sheets).push;
2753
- _7 = {
2770
+ _7 = (_6 = sheets).push;
2771
+ _8 = {
2754
2772
  name: sheet.name
2755
2773
  };
2756
2774
  return [4 /*yield*/, sheet.items()];
2757
2775
  case 11:
2758
- _6.apply(_5, [(_7.items = _9.sent(),
2759
- _7.fields = sheet.fields,
2760
- _7)]);
2761
- _9.label = 12;
2776
+ _7.apply(_6, [(_8.items = _10.sent(),
2777
+ _8.fields = sheet.fields,
2778
+ _8)]);
2779
+ _10.label = 12;
2762
2780
  case 12:
2763
- _4 = _3.next();
2781
+ _5 = _4.next();
2764
2782
  return [3 /*break*/, 9];
2765
2783
  case 13: return [3 /*break*/, 16];
2766
2784
  case 14:
2767
- e_5_1 = _9.sent();
2785
+ e_5_1 = _10.sent();
2768
2786
  e_5 = { error: e_5_1 };
2769
2787
  return [3 /*break*/, 16];
2770
2788
  case 15:
2771
2789
  try {
2772
- if (_4 && !_4.done && (_8 = _3.return)) _8.call(_3);
2790
+ if (_5 && !_5.done && (_9 = _4.return)) _9.call(_4);
2773
2791
  }
2774
2792
  finally { if (e_5) throw e_5.error; }
2775
2793
  return [7 /*endfinally*/];
2776
2794
  case 16: return [4 /*yield*/, this.exportService.export({
2777
2795
  columns: columns_2,
2778
2796
  items: items_1,
2779
- fileName: (_r = (_q = this.gridOption) === null || _q === void 0 ? void 0 : _q.export) === null || _r === void 0 ? void 0 : _r.fileName,
2797
+ fileName: (_s = (_r = this.gridOption) === null || _r === void 0 ? void 0 : _r.export) === null || _s === void 0 ? void 0 : _s.fileName,
2780
2798
  sheets: sheets,
2781
2799
  })];
2782
2800
  case 17:
2783
- _9.sent();
2801
+ _10.sent();
2784
2802
  return [2 /*return*/];
2785
2803
  case 18: return [4 /*yield*/, this.exportService.exportByTemplate({
2786
2804
  filePath: file.filePath,
@@ -2789,7 +2807,7 @@
2789
2807
  items: items_1,
2790
2808
  })];
2791
2809
  case 19:
2792
- _9.sent();
2810
+ _10.sent();
2793
2811
  return [3 /*break*/, 21];
2794
2812
  case 20:
2795
2813
  this.isExporting = false;
@@ -2801,7 +2819,7 @@
2801
2819
  });
2802
2820
  }); });
2803
2821
  this.onExport = function (args) { return __awaiter(_this, void 0, void 0, function () {
2804
- return __generator(this, function (_3) {
2822
+ return __generator(this, function (_4) {
2805
2823
  __classPrivateFieldGet(this, _onExport).call(this, args);
2806
2824
  return [2 /*return*/];
2807
2825
  });
@@ -2820,9 +2838,9 @@
2820
2838
  }
2821
2839
  };
2822
2840
  this.onExpand = function (rowData) { return __awaiter(_this, void 0, void 0, function () {
2823
- var _w, _x, _y, _z, _0, data;
2824
- return __generator(this, function (_3) {
2825
- if ((_w = this.gridOption.subInformation) === null || _w === void 0 ? void 0 : _w.always) {
2841
+ var _x, _y, _z, _0, _1, data;
2842
+ return __generator(this, function (_4) {
2843
+ if ((_x = this.gridOption.subInformation) === null || _x === void 0 ? void 0 : _x.always) {
2826
2844
  return [2 /*return*/];
2827
2845
  }
2828
2846
  if (rowData.isExpanding) {
@@ -2832,8 +2850,8 @@
2832
2850
  rowData.isExpanded = false;
2833
2851
  return [2 /*return*/];
2834
2852
  }
2835
- data = (_z = (_y = (_x = this.gridOption) === null || _x === void 0 ? void 0 : _x.subInformation) === null || _y === void 0 ? void 0 : _y.onExpand) === null || _z === void 0 ? void 0 : _z.call(_y, rowData);
2836
- if (!((_0 = this.gridOption.subInformation) === null || _0 === void 0 ? void 0 : _0.multiple)) {
2853
+ data = (_0 = (_z = (_y = this.gridOption) === null || _y === void 0 ? void 0 : _y.subInformation) === null || _z === void 0 ? void 0 : _z.onExpand) === null || _0 === void 0 ? void 0 : _0.call(_z, rowData);
2854
+ if (!((_1 = this.gridOption.subInformation) === null || _1 === void 0 ? void 0 : _1.multiple)) {
2837
2855
  this.items.forEach(function (item) { return (item.isExpanding = item.isExpanded = false); });
2838
2856
  }
2839
2857
  if (data instanceof Promise) {
@@ -2903,7 +2921,7 @@
2903
2921
  _this.filterRegister.value.remove();
2904
2922
  };
2905
2923
  this.setFilter = function (args) {
2906
- var _3 = args || {}, columnFilter = _3.columnFilter, externalFilter = _3.externalFilter, filterDef = _3.filterDef;
2924
+ var _4 = args || {}, columnFilter = _4.columnFilter, externalFilter = _4.externalFilter, filterDef = _4.filterDef;
2907
2925
  _this.filterRegister.value.set({
2908
2926
  columnFilter: columnFilter,
2909
2927
  externalFilter: externalFilter,
@@ -2912,7 +2930,7 @@
2912
2930
  };
2913
2931
  this.onCreate = function () {
2914
2932
  var _a, _b;
2915
- var _3 = _this.gridOption, type = _3.type, editor = _3.editor, columns = _3.columns;
2933
+ var _4 = _this.gridOption, type = _4.type, editor = _4.editor, columns = _4.columns;
2916
2934
  if (!(editor === null || editor === void 0 ? void 0 : editor.addable)) {
2917
2935
  return;
2918
2936
  }
@@ -2968,23 +2986,23 @@
2968
2986
  };
2969
2987
  this.onSave = function (item) { return __awaiter(_this, void 0, void 0, function () {
2970
2988
  var editor, result, message, result, err_1;
2971
- return __generator(this, function (_3) {
2972
- switch (_3.label) {
2989
+ return __generator(this, function (_4) {
2990
+ switch (_4.label) {
2973
2991
  case 0:
2974
2992
  if (item.editorHandlerRow.saving) {
2975
2993
  return [2 /*return*/];
2976
2994
  }
2977
2995
  editor = this.gridOption.editor;
2978
- _3.label = 1;
2996
+ _4.label = 1;
2979
2997
  case 1:
2980
- _3.trys.push([1, 7, 8, 9]);
2998
+ _4.trys.push([1, 7, 8, 9]);
2981
2999
  item.editorHandlerRow.saving = true;
2982
3000
  if (!editor.validate) return [3 /*break*/, 4];
2983
3001
  result = editor.validate(item, this.items.indexOf(item));
2984
3002
  if (!(result instanceof Promise)) return [3 /*break*/, 3];
2985
3003
  return [4 /*yield*/, result];
2986
3004
  case 2:
2987
- message = _3.sent();
3005
+ message = _4.sent();
2988
3006
  if (message) {
2989
3007
  throw message;
2990
3008
  }
@@ -2993,15 +3011,15 @@
2993
3011
  if (result) {
2994
3012
  throw result;
2995
3013
  }
2996
- _3.label = 4;
3014
+ _4.label = 4;
2997
3015
  case 4:
2998
3016
  if (!editor.onSave) return [3 /*break*/, 6];
2999
3017
  result = editor.onSave(item);
3000
3018
  if (!(result instanceof Promise)) return [3 /*break*/, 6];
3001
3019
  return [4 /*yield*/, result];
3002
3020
  case 5:
3003
- _3.sent();
3004
- _3.label = 6;
3021
+ _4.sent();
3022
+ _4.label = 6;
3005
3023
  case 6:
3006
3024
  if (item.editorStatus === 'create' && editor.type === 'popup') {
3007
3025
  if (this.gridOption.type === 'local') {
@@ -3012,7 +3030,7 @@
3012
3030
  item.editorStatus = undefined;
3013
3031
  return [3 /*break*/, 9];
3014
3032
  case 7:
3015
- err_1 = _3.sent();
3033
+ err_1 = _4.sent();
3016
3034
  this.notifyService.notify.warning(err_1);
3017
3035
  return [3 /*break*/, 9];
3018
3036
  case 8:
@@ -3063,9 +3081,9 @@
3063
3081
  _this.ref.detectChanges();
3064
3082
  };
3065
3083
  this.onRemove = function (item) { return __awaiter(_this, void 0, void 0, function () {
3066
- var _1, _2, editor, beforeRemove, result, idx2, idx1;
3067
- return __generator(this, function (_3) {
3068
- switch (_3.label) {
3084
+ var _2, _3, editor, beforeRemove, result, idx2, idx1;
3085
+ return __generator(this, function (_4) {
3086
+ switch (_4.label) {
3069
3087
  case 0:
3070
3088
  editor = this.gridOption.editor;
3071
3089
  if (!(editor === null || editor === void 0 ? void 0 : editor.beforeRemove)) return [3 /*break*/, 3];
@@ -3073,7 +3091,7 @@
3073
3091
  if (!(beforeRemove instanceof Promise)) return [3 /*break*/, 2];
3074
3092
  return [4 /*yield*/, beforeRemove];
3075
3093
  case 1:
3076
- result = _3.sent();
3094
+ result = _4.sent();
3077
3095
  if (!result) {
3078
3096
  return [2 /*return*/];
3079
3097
  }
@@ -3082,7 +3100,7 @@
3082
3100
  if (!beforeRemove) {
3083
3101
  return [2 /*return*/];
3084
3102
  }
3085
- _3.label = 3;
3103
+ _4.label = 3;
3086
3104
  case 3:
3087
3105
  if (editor.type === 'inline') {
3088
3106
  if (this.gridOption.type === 'local') {
@@ -3094,10 +3112,10 @@
3094
3112
  this.items.splice(idx1, 1);
3095
3113
  this.items = __spread(this.items);
3096
3114
  if (this.gridOption.type === 'local') {
3097
- (_1 = editor === null || editor === void 0 ? void 0 : editor.onRemove) === null || _1 === void 0 ? void 0 : _1.call(editor, item, __classPrivateFieldGet(this, _localItems));
3115
+ (_2 = editor === null || editor === void 0 ? void 0 : editor.onRemove) === null || _2 === void 0 ? void 0 : _2.call(editor, item, __classPrivateFieldGet(this, _localItems));
3098
3116
  }
3099
3117
  else {
3100
- (_2 = editor === null || editor === void 0 ? void 0 : editor.onRemove) === null || _2 === void 0 ? void 0 : _2.call(editor, item, this.items);
3118
+ (_3 = editor === null || editor === void 0 ? void 0 : editor.onRemove) === null || _3 === void 0 ? void 0 : _3.call(editor, item, this.items);
3101
3119
  }
3102
3120
  this.ref.detectChanges();
3103
3121
  return [2 /*return*/];
@@ -3209,13 +3227,13 @@
3209
3227
  var _this = this;
3210
3228
  __classPrivateFieldGet(this, _subscription$1).add(__classPrivateFieldGet(this, _reload).pipe(operators.debounceTime(200), operators.switchMap(function (data) { return __awaiter(_this, void 0, void 0, function () {
3211
3229
  var filterInfo, result;
3212
- return __generator(this, function (_3) {
3213
- switch (_3.label) {
3230
+ return __generator(this, function (_4) {
3231
+ switch (_4.label) {
3214
3232
  case 0:
3215
3233
  filterInfo = __classPrivateFieldGet(this, _getFilter).call(this);
3216
3234
  return [4 /*yield*/, __classPrivateFieldGet(this, _load$1).call(this, filterInfo, !__classPrivateFieldGet(this, _loadCompleted) || data.force)];
3217
3235
  case 1:
3218
- result = _3.sent();
3236
+ result = _4.sent();
3219
3237
  __classPrivateFieldSet(this, _loadCompleted, true);
3220
3238
  return [2 /*return*/, result];
3221
3239
  }