@abp/ng.theme.shared 4.4.3 → 5.0.0-beta.3

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 (312) hide show
  1. package/abp-ng.theme.shared.d.ts +1 -34
  2. package/bundles/abp-ng.theme.shared-extensions.umd.js +473 -361
  3. package/bundles/abp-ng.theme.shared-extensions.umd.js.map +1 -1
  4. package/bundles/abp-ng.theme.shared-testing.umd.js +33 -7
  5. package/bundles/abp-ng.theme.shared-testing.umd.js.map +1 -1
  6. package/bundles/abp-ng.theme.shared.umd.js +711 -1164
  7. package/bundles/abp-ng.theme.shared.umd.js.map +1 -1
  8. package/esm2015/abp-ng.theme.shared.js +1 -34
  9. package/esm2015/abp-ng.theme.shared.js.map +1 -0
  10. package/esm2015/extensions/abp-ng.theme.shared-extensions.js +1 -5
  11. package/esm2015/extensions/abp-ng.theme.shared-extensions.js.map +1 -0
  12. package/esm2015/extensions/lib/adapters/date-time.adapter.js +7 -4
  13. package/esm2015/extensions/lib/adapters/date-time.adapter.js.map +1 -0
  14. package/esm2015/extensions/lib/adapters/date.adapter.js +7 -4
  15. package/esm2015/extensions/lib/adapters/date.adapter.js.map +1 -0
  16. package/esm2015/extensions/lib/adapters/time.adapter.js +7 -4
  17. package/esm2015/extensions/lib/adapters/time.adapter.js.map +1 -0
  18. package/esm2015/extensions/lib/components/abstract-actions/abstract-actions.component.js +9 -12
  19. package/esm2015/extensions/lib/components/abstract-actions/abstract-actions.component.js.map +1 -0
  20. package/esm2015/extensions/lib/components/date-time-picker/date-time-picker.component.js +74 -35
  21. package/esm2015/extensions/lib/components/date-time-picker/date-time-picker.component.js.map +1 -0
  22. package/esm2015/extensions/lib/components/extensible-form/extensible-form-prop.component.js +49 -34
  23. package/esm2015/extensions/lib/components/extensible-form/extensible-form-prop.component.js.map +1 -0
  24. package/esm2015/extensions/lib/components/extensible-form/extensible-form.component.js +42 -30
  25. package/esm2015/extensions/lib/components/extensible-form/extensible-form.component.js.map +1 -0
  26. package/esm2015/extensions/lib/components/extensible-table/extensible-table.component.js +59 -28
  27. package/esm2015/extensions/lib/components/extensible-table/extensible-table.component.js.map +1 -0
  28. package/esm2015/extensions/lib/components/grid-actions/grid-actions.component.js +34 -23
  29. package/esm2015/extensions/lib/components/grid-actions/grid-actions.component.js.map +1 -0
  30. package/esm2015/extensions/lib/components/page-toolbar/page-toolbar.component.js +26 -18
  31. package/esm2015/extensions/lib/components/page-toolbar/page-toolbar.component.js.map +1 -0
  32. package/esm2015/extensions/lib/constants/extra-properties.js +1 -1
  33. package/esm2015/extensions/lib/constants/extra-properties.js.map +1 -0
  34. package/esm2015/extensions/lib/directives/disabled.directive.js +15 -12
  35. package/esm2015/extensions/lib/directives/disabled.directive.js.map +1 -0
  36. package/esm2015/extensions/lib/directives/prop-data.directive.js +21 -18
  37. package/esm2015/extensions/lib/directives/prop-data.directive.js.map +1 -0
  38. package/esm2015/extensions/lib/enums/props.enum.js +1 -1
  39. package/esm2015/extensions/lib/enums/props.enum.js.map +1 -0
  40. package/esm2015/extensions/lib/models/actions.js +1 -2
  41. package/esm2015/extensions/lib/models/actions.js.map +1 -0
  42. package/esm2015/extensions/lib/models/entity-actions.js +1 -1
  43. package/esm2015/extensions/lib/models/entity-actions.js.map +1 -0
  44. package/esm2015/extensions/lib/models/entity-props.js +3 -1
  45. package/esm2015/extensions/lib/models/entity-props.js.map +1 -0
  46. package/esm2015/extensions/lib/models/form-props.js +1 -2
  47. package/esm2015/extensions/lib/models/form-props.js.map +1 -0
  48. package/esm2015/extensions/lib/models/internal/object-extensions.js +1 -1
  49. package/esm2015/extensions/lib/models/internal/object-extensions.js.map +1 -0
  50. package/esm2015/extensions/lib/models/object-extensions.js +1 -1
  51. package/esm2015/extensions/lib/models/object-extensions.js.map +1 -0
  52. package/esm2015/extensions/lib/models/props.js +1 -2
  53. package/esm2015/extensions/lib/models/props.js.map +1 -0
  54. package/esm2015/extensions/lib/models/toolbar-actions.js +1 -1
  55. package/esm2015/extensions/lib/models/toolbar-actions.js.map +1 -0
  56. package/esm2015/extensions/lib/services/extensions.service.js +9 -7
  57. package/esm2015/extensions/lib/services/extensions.service.js.map +1 -0
  58. package/esm2015/extensions/lib/tokens/extensions.token.js +2 -1
  59. package/esm2015/extensions/lib/tokens/extensions.token.js.map +1 -0
  60. package/esm2015/extensions/lib/ui-extensions.module.js +75 -39
  61. package/esm2015/extensions/lib/ui-extensions.module.js.map +1 -0
  62. package/esm2015/extensions/lib/utils/actions.util.js +1 -1
  63. package/esm2015/extensions/lib/utils/actions.util.js.map +1 -0
  64. package/esm2015/extensions/lib/utils/enum.util.js +1 -1
  65. package/esm2015/extensions/lib/utils/enum.util.js.map +1 -0
  66. package/esm2015/extensions/lib/utils/factory.util.js +1 -1
  67. package/esm2015/extensions/lib/utils/factory.util.js.map +1 -0
  68. package/esm2015/extensions/lib/utils/form-props.util.js +1 -1
  69. package/esm2015/extensions/lib/utils/form-props.util.js.map +1 -0
  70. package/esm2015/extensions/lib/utils/localization.util.js +1 -1
  71. package/esm2015/extensions/lib/utils/localization.util.js.map +1 -0
  72. package/esm2015/extensions/lib/utils/props.util.js +1 -1
  73. package/esm2015/extensions/lib/utils/props.util.js.map +1 -0
  74. package/esm2015/extensions/lib/utils/state.util.js +1 -1
  75. package/esm2015/extensions/lib/utils/state.util.js.map +1 -0
  76. package/esm2015/extensions/lib/utils/typeahead.util.js +1 -1
  77. package/esm2015/extensions/lib/utils/typeahead.util.js.map +1 -0
  78. package/esm2015/extensions/lib/utils/validation.util.js +1 -1
  79. package/esm2015/extensions/lib/utils/validation.util.js.map +1 -0
  80. package/esm2015/extensions/public-api.js +1 -1
  81. package/esm2015/extensions/public-api.js.map +1 -0
  82. package/esm2015/lib/animations/bounce.animations.js +5 -5
  83. package/esm2015/lib/animations/bounce.animations.js.map +1 -0
  84. package/esm2015/lib/animations/collapse.animations.js +1 -1
  85. package/esm2015/lib/animations/collapse.animations.js.map +1 -0
  86. package/esm2015/lib/animations/fade.animations.js +1 -1
  87. package/esm2015/lib/animations/fade.animations.js.map +1 -0
  88. package/esm2015/lib/animations/index.js +1 -1
  89. package/esm2015/lib/animations/index.js.map +1 -0
  90. package/esm2015/lib/animations/modal.animations.js +1 -1
  91. package/esm2015/lib/animations/modal.animations.js.map +1 -0
  92. package/esm2015/lib/animations/slide.animations.js +1 -1
  93. package/esm2015/lib/animations/slide.animations.js.map +1 -0
  94. package/esm2015/lib/animations/toast.animations.js +1 -1
  95. package/esm2015/lib/animations/toast.animations.js.map +1 -0
  96. package/esm2015/lib/components/breadcrumb/breadcrumb.component.js +19 -21
  97. package/esm2015/lib/components/breadcrumb/breadcrumb.component.js.map +1 -0
  98. package/esm2015/lib/components/breadcrumb-items/breadcrumb-items.component.js +22 -0
  99. package/esm2015/lib/components/breadcrumb-items/breadcrumb-items.component.js.map +1 -0
  100. package/esm2015/lib/components/button/button.component.js +58 -31
  101. package/esm2015/lib/components/button/button.component.js.map +1 -0
  102. package/esm2015/lib/components/confirmation/confirmation.component.js +14 -8
  103. package/esm2015/lib/components/confirmation/confirmation.component.js.map +1 -0
  104. package/esm2015/lib/components/http-error-wrapper/http-error-wrapper.component.js +25 -20
  105. package/esm2015/lib/components/http-error-wrapper/http-error-wrapper.component.js.map +1 -0
  106. package/esm2015/lib/components/index.js +3 -6
  107. package/esm2015/lib/components/index.js.map +1 -0
  108. package/esm2015/lib/components/loader-bar/loader-bar.component.js +34 -21
  109. package/esm2015/lib/components/loader-bar/loader-bar.component.js.map +1 -0
  110. package/esm2015/lib/components/loading/loading.component.js +20 -13
  111. package/esm2015/lib/components/loading/loading.component.js.map +1 -0
  112. package/esm2015/lib/components/modal/modal-close.directive.js +14 -10
  113. package/esm2015/lib/components/modal/modal-close.directive.js.map +1 -0
  114. package/esm2015/lib/components/modal/modal-ref.service.js +7 -5
  115. package/esm2015/lib/components/modal/modal-ref.service.js.map +1 -0
  116. package/esm2015/lib/components/modal/modal.component.js +57 -65
  117. package/esm2015/lib/components/modal/modal.component.js.map +1 -0
  118. package/esm2015/lib/components/toast/toast.component.js +25 -22
  119. package/esm2015/lib/components/toast/toast.component.js.map +1 -0
  120. package/esm2015/lib/components/toast-container/toast-container.component.js +25 -16
  121. package/esm2015/lib/components/toast-container/toast-container.component.js.map +1 -0
  122. package/esm2015/lib/constants/styles.js +4 -3
  123. package/esm2015/lib/constants/styles.js.map +1 -0
  124. package/esm2015/lib/constants/validation.js +1 -1
  125. package/esm2015/lib/constants/validation.js.map +1 -0
  126. package/esm2015/lib/directives/ellipsis.directive.js +40 -24
  127. package/esm2015/lib/directives/ellipsis.directive.js.map +1 -0
  128. package/esm2015/lib/directives/index.js +2 -3
  129. package/esm2015/lib/directives/index.js.map +1 -0
  130. package/esm2015/lib/directives/loading.directive.js +20 -17
  131. package/esm2015/lib/directives/loading.directive.js.map +1 -0
  132. package/esm2015/lib/directives/ngx-datatable-default.directive.js +21 -16
  133. package/esm2015/lib/directives/ngx-datatable-default.directive.js.map +1 -0
  134. package/esm2015/lib/directives/ngx-datatable-list.directive.js +22 -18
  135. package/esm2015/lib/directives/ngx-datatable-list.directive.js.map +1 -0
  136. package/esm2015/lib/enums/index.js +1 -1
  137. package/esm2015/lib/enums/index.js.map +1 -0
  138. package/esm2015/lib/enums/route-names.js +1 -1
  139. package/esm2015/lib/enums/route-names.js.map +1 -0
  140. package/esm2015/lib/handlers/document-dir.handler.js +33 -0
  141. package/esm2015/lib/handlers/document-dir.handler.js.map +1 -0
  142. package/esm2015/lib/handlers/error.handler.js +28 -37
  143. package/esm2015/lib/handlers/error.handler.js.map +1 -0
  144. package/esm2015/lib/handlers/index.js +2 -2
  145. package/esm2015/lib/handlers/index.js.map +1 -0
  146. package/esm2015/lib/models/common.js +1 -1
  147. package/esm2015/lib/models/common.js.map +1 -0
  148. package/esm2015/lib/models/confirmation.js +1 -1
  149. package/esm2015/lib/models/confirmation.js.map +1 -0
  150. package/esm2015/lib/models/index.js +1 -1
  151. package/esm2015/lib/models/index.js.map +1 -0
  152. package/esm2015/lib/models/nav-item.js +1 -1
  153. package/esm2015/lib/models/nav-item.js.map +1 -0
  154. package/esm2015/lib/models/statistics.js +1 -1
  155. package/esm2015/lib/models/statistics.js.map +1 -0
  156. package/esm2015/lib/models/toaster.js +1 -1
  157. package/esm2015/lib/models/toaster.js.map +1 -0
  158. package/esm2015/lib/providers/index.js +1 -1
  159. package/esm2015/lib/providers/index.js.map +1 -0
  160. package/esm2015/lib/providers/ng-bootstrap-config.provider.js +1 -1
  161. package/esm2015/lib/providers/ng-bootstrap-config.provider.js.map +1 -0
  162. package/esm2015/lib/providers/route.provider.js +1 -1
  163. package/esm2015/lib/providers/route.provider.js.map +1 -0
  164. package/esm2015/lib/services/confirmation.service.js +7 -8
  165. package/esm2015/lib/services/confirmation.service.js.map +1 -0
  166. package/esm2015/lib/services/index.js +2 -3
  167. package/esm2015/lib/services/index.js.map +1 -0
  168. package/esm2015/lib/services/nav-items.service.js +7 -5
  169. package/esm2015/lib/services/nav-items.service.js.map +1 -0
  170. package/esm2015/lib/services/page-alert.service.js +7 -6
  171. package/esm2015/lib/services/page-alert.service.js.map +1 -0
  172. package/esm2015/lib/services/toaster.service.js +22 -21
  173. package/esm2015/lib/services/toaster.service.js.map +1 -0
  174. package/esm2015/lib/theme-shared.module.js +81 -47
  175. package/esm2015/lib/theme-shared.module.js.map +1 -0
  176. package/esm2015/lib/tokens/append-content.token.js +1 -3
  177. package/esm2015/lib/tokens/append-content.token.js.map +1 -0
  178. package/esm2015/lib/tokens/http-error.token.js +1 -1
  179. package/esm2015/lib/tokens/http-error.token.js.map +1 -0
  180. package/esm2015/lib/tokens/index.js +1 -2
  181. package/esm2015/lib/tokens/index.js.map +1 -0
  182. package/esm2015/lib/tokens/ngx-datatable-messages.token.js +1 -1
  183. package/esm2015/lib/tokens/ngx-datatable-messages.token.js.map +1 -0
  184. package/esm2015/lib/tokens/suppress-unsaved-changes-warning.token.js +1 -2
  185. package/esm2015/lib/tokens/suppress-unsaved-changes-warning.token.js.map +1 -0
  186. package/esm2015/lib/utils/date-parser-formatter.js +13 -10
  187. package/esm2015/lib/utils/date-parser-formatter.js.map +1 -0
  188. package/esm2015/lib/utils/index.js +1 -2
  189. package/esm2015/lib/utils/index.js.map +1 -0
  190. package/esm2015/lib/utils/validation-utils.js +1 -1
  191. package/esm2015/lib/utils/validation-utils.js.map +1 -0
  192. package/esm2015/public-api.js +1 -2
  193. package/esm2015/public-api.js.map +1 -0
  194. package/esm2015/testing/abp-ng.theme.shared-testing.js +1 -1
  195. package/esm2015/testing/abp-ng.theme.shared-testing.js.map +1 -0
  196. package/esm2015/testing/lib/models/config.js +1 -1
  197. package/esm2015/testing/lib/models/config.js.map +1 -0
  198. package/esm2015/testing/lib/models/index.js +1 -1
  199. package/esm2015/testing/lib/models/index.js.map +1 -0
  200. package/esm2015/testing/lib/theme-shared-testing.module.js +12 -7
  201. package/esm2015/testing/lib/theme-shared-testing.module.js.map +1 -0
  202. package/esm2015/testing/public-api.js +1 -1
  203. package/esm2015/testing/public-api.js.map +1 -0
  204. package/extensions/abp-ng.theme.shared-extensions.d.ts +1 -4
  205. package/extensions/lib/adapters/date-time.adapter.d.ts +3 -0
  206. package/extensions/lib/adapters/date.adapter.d.ts +3 -0
  207. package/extensions/lib/adapters/time.adapter.d.ts +3 -0
  208. package/extensions/lib/components/abstract-actions/abstract-actions.component.d.ts +3 -0
  209. package/extensions/lib/components/date-time-picker/date-time-picker.component.d.ts +3 -0
  210. package/extensions/lib/components/extensible-form/extensible-form-prop.component.d.ts +3 -0
  211. package/extensions/lib/components/extensible-form/extensible-form.component.d.ts +3 -0
  212. package/extensions/lib/components/extensible-table/extensible-table.component.d.ts +9 -4
  213. package/extensions/lib/components/grid-actions/grid-actions.component.d.ts +3 -0
  214. package/extensions/lib/components/page-toolbar/page-toolbar.component.d.ts +3 -0
  215. package/extensions/lib/directives/disabled.directive.d.ts +3 -0
  216. package/extensions/lib/directives/prop-data.directive.d.ts +3 -0
  217. package/extensions/lib/models/entity-props.d.ts +5 -2
  218. package/extensions/lib/services/extensions.service.d.ts +3 -0
  219. package/extensions/lib/tokens/extensions.token.d.ts +3 -1
  220. package/extensions/lib/ui-extensions.module.d.ts +19 -0
  221. package/extensions/lib/utils/state.util.d.ts +1 -1
  222. package/extensions/package.json +0 -1
  223. package/fesm2015/abp-ng.theme.shared-extensions.js +540 -409
  224. package/fesm2015/abp-ng.theme.shared-extensions.js.map +1 -1
  225. package/fesm2015/abp-ng.theme.shared-testing.js +11 -6
  226. package/fesm2015/abp-ng.theme.shared-testing.js.map +1 -1
  227. package/fesm2015/abp-ng.theme.shared.js +947 -1274
  228. package/fesm2015/abp-ng.theme.shared.js.map +1 -1
  229. package/lib/components/breadcrumb/breadcrumb.component.d.ts +3 -0
  230. package/lib/components/breadcrumb-items/breadcrumb-items.component.d.ts +6 -0
  231. package/lib/components/button/button.component.d.ts +4 -1
  232. package/lib/components/confirmation/confirmation.component.d.ts +3 -0
  233. package/lib/components/http-error-wrapper/http-error-wrapper.component.d.ts +6 -3
  234. package/lib/components/index.d.ts +2 -5
  235. package/lib/components/loader-bar/loader-bar.component.d.ts +3 -0
  236. package/lib/components/loading/loading.component.d.ts +4 -4
  237. package/lib/components/modal/modal-close.directive.d.ts +3 -0
  238. package/lib/components/modal/modal-ref.service.d.ts +3 -0
  239. package/lib/components/modal/modal.component.d.ts +4 -18
  240. package/lib/components/toast/toast.component.d.ts +5 -4
  241. package/lib/components/toast-container/toast-container.component.d.ts +5 -1
  242. package/lib/constants/styles.d.ts +1 -2
  243. package/lib/directives/ellipsis.directive.d.ts +6 -0
  244. package/lib/directives/index.d.ts +1 -2
  245. package/lib/directives/loading.directive.d.ts +3 -0
  246. package/lib/directives/ngx-datatable-default.directive.d.ts +3 -0
  247. package/lib/directives/ngx-datatable-list.directive.d.ts +3 -0
  248. package/lib/handlers/document-dir.handler.d.ts +13 -0
  249. package/lib/handlers/error.handler.d.ts +9 -7
  250. package/lib/handlers/index.d.ts +1 -1
  251. package/lib/models/confirmation.d.ts +3 -3
  252. package/lib/models/toaster.d.ts +5 -5
  253. package/lib/providers/ng-bootstrap-config.provider.d.ts +1 -1
  254. package/lib/providers/route.provider.d.ts +1 -1
  255. package/lib/services/confirmation.service.d.ts +3 -0
  256. package/lib/services/index.d.ts +1 -2
  257. package/lib/services/nav-items.service.d.ts +3 -0
  258. package/lib/services/page-alert.service.d.ts +3 -0
  259. package/lib/services/toaster.service.d.ts +4 -1
  260. package/lib/theme-shared.module.d.ts +26 -0
  261. package/lib/tokens/index.d.ts +0 -1
  262. package/lib/utils/date-parser-formatter.d.ts +3 -0
  263. package/lib/utils/index.d.ts +0 -1
  264. package/package.json +6 -8
  265. package/public-api.d.ts +0 -1
  266. package/testing/abp-ng.theme.shared-testing.d.ts +1 -0
  267. package/testing/lib/theme-shared-testing.module.d.ts +6 -0
  268. package/testing/package.json +0 -1
  269. package/abp-ng.theme.shared.metadata.json +0 -1
  270. package/bundles/abp-ng.theme.shared-extensions-testing.umd.js +0 -28
  271. package/bundles/abp-ng.theme.shared-extensions-testing.umd.js.map +0 -1
  272. package/bundles/abp-ng.theme.shared-extensions-testing.umd.min.js +0 -2
  273. package/bundles/abp-ng.theme.shared-extensions-testing.umd.min.js.map +0 -1
  274. package/bundles/abp-ng.theme.shared-extensions.umd.min.js +0 -17
  275. package/bundles/abp-ng.theme.shared-extensions.umd.min.js.map +0 -1
  276. package/bundles/abp-ng.theme.shared-testing.umd.min.js +0 -2
  277. package/bundles/abp-ng.theme.shared-testing.umd.min.js.map +0 -1
  278. package/bundles/abp-ng.theme.shared.umd.min.js +0 -2
  279. package/bundles/abp-ng.theme.shared.umd.min.js.map +0 -1
  280. package/esm2015/extensions/testing/abp-ng.theme.shared-extensions-testing.js +0 -5
  281. package/esm2015/extensions/testing/lib/ui-extensions-testing.module.js +0 -11
  282. package/esm2015/extensions/testing/public-api.js +0 -2
  283. package/esm2015/lib/components/chart/chart.component.js +0 -120
  284. package/esm2015/lib/components/modal/modal-container.component.js +0 -16
  285. package/esm2015/lib/components/sort-order-icon/sort-order-icon.component.js +0 -62
  286. package/esm2015/lib/components/table/table.component.js +0 -71
  287. package/esm2015/lib/components/table-empty-message/table-empty-message.component.js +0 -29
  288. package/esm2015/lib/directives/table-sort.directive.js +0 -43
  289. package/esm2015/lib/handlers/lazy-style.handler.js +0 -90
  290. package/esm2015/lib/services/modal.service.js +0 -46
  291. package/esm2015/lib/tokens/lazy-styles.token.js +0 -3
  292. package/esm2015/lib/utils/widget-utils.js +0 -13
  293. package/extensions/abp-ng.theme.shared-extensions.metadata.json +0 -1
  294. package/extensions/testing/abp-ng.theme.shared-extensions-testing.d.ts +0 -4
  295. package/extensions/testing/abp-ng.theme.shared-extensions-testing.metadata.json +0 -1
  296. package/extensions/testing/lib/ui-extensions-testing.module.d.ts +0 -2
  297. package/extensions/testing/package.json +0 -11
  298. package/extensions/testing/public-api.d.ts +0 -1
  299. package/fesm2015/abp-ng.theme.shared-extensions-testing.js +0 -18
  300. package/fesm2015/abp-ng.theme.shared-extensions-testing.js.map +0 -1
  301. package/lib/components/chart/chart.component.d.ts +0 -30
  302. package/lib/components/modal/modal-container.component.d.ts +0 -7
  303. package/lib/components/sort-order-icon/sort-order-icon.component.d.ts +0 -18
  304. package/lib/components/table/table.component.d.ts +0 -30
  305. package/lib/components/table-empty-message/table-empty-message.component.d.ts +0 -7
  306. package/lib/directives/table-sort.directive.d.ts +0 -21
  307. package/lib/handlers/lazy-style.handler.d.ts +0 -20
  308. package/lib/services/modal.service.d.ts +0 -16
  309. package/lib/tokens/lazy-styles.token.d.ts +0 -2
  310. package/lib/utils/widget-utils.d.ts +0 -3
  311. package/styles/bootstrap-rtl.min.css +0 -7
  312. package/testing/abp-ng.theme.shared-testing.metadata.json +0 -1
@@ -1,10 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/animations'), require('@abp/ng.core'), require('@angular/core'), require('@angular/router'), require('rxjs/operators'), require('rxjs'), require('snq'), require('@ng-bootstrap/ng-bootstrap'), require('@angular/common'), require('@swimlane/ngx-datatable'), require('just-clone'), require('@angular/common/http'), require('@ngxs/store'), require('@ngx-validate/core'), require('@angular/forms')) :
3
- typeof define === 'function' && define.amd ? define('@abp/ng.theme.shared', ['exports', '@angular/animations', '@abp/ng.core', '@angular/core', '@angular/router', 'rxjs/operators', 'rxjs', 'snq', '@ng-bootstrap/ng-bootstrap', '@angular/common', '@swimlane/ngx-datatable', 'just-clone', '@angular/common/http', '@ngxs/store', '@ngx-validate/core', '@angular/forms'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.abp = global.abp || {}, global.abp.ng = global.abp.ng || {}, global.abp.ng.theme = global.abp.ng.theme || {}, global.abp.ng.theme.shared = {}), global.ng.animations, global.i1, global.ng.core, global.ng.router, global.rxjs.operators, global.rxjs, global.snq, global.ngBootstrap, global.ng.common, global.ngxDatatable, global.clone, global.ng.common.http, global.i1$1, global.core, global.ng.forms));
5
- }(this, (function (exports, animations, i1, i0, router, operators, rxjs, snq, ngBootstrap, common, ngxDatatable, clone, http, i1$1, core, forms) { 'use strict';
6
-
7
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/animations'), require('@angular/core'), require('@angular/common'), require('@angular/router'), require('@abp/ng.core'), require('rxjs/operators'), require('rxjs'), require('@ng-bootstrap/ng-bootstrap'), require('@swimlane/ngx-datatable'), require('@angular/common/http'), require('@ngx-validate/core'), require('@angular/forms')) :
3
+ typeof define === 'function' && define.amd ? define('@abp/ng.theme.shared', ['exports', '@angular/animations', '@angular/core', '@angular/common', '@angular/router', '@abp/ng.core', 'rxjs/operators', 'rxjs', '@ng-bootstrap/ng-bootstrap', '@swimlane/ngx-datatable', '@angular/common/http', '@ngx-validate/core', '@angular/forms'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.abp = global.abp || {}, global.abp.ng = global.abp.ng || {}, global.abp.ng.theme = global.abp.ng.theme || {}, global.abp.ng.theme.shared = {}), global.ng.animations, global.ng.core, global.ng.common, global.ng.router, global.i2, global.rxjs.operators, global.rxjs, global.i3, global.i1$2, global.ng.common.http, global.core, global.ng.forms));
5
+ }(this, (function (exports, animations, i0, i1, i1$1, i2, operators, rxjs, i3, i1$2, http, core, forms) { 'use strict';
8
6
 
9
7
  function _interopNamespace(e) {
10
8
  if (e && e.__esModule) return e;
@@ -26,26 +24,27 @@
26
24
  return Object.freeze(n);
27
25
  }
28
26
 
29
- var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
30
27
  var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
31
- var snq__default = /*#__PURE__*/_interopDefaultLegacy(snq);
32
- var clone__default = /*#__PURE__*/_interopDefaultLegacy(clone);
28
+ var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
33
29
  var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1$1);
30
+ var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
31
+ var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
32
+ var i1__namespace$2 = /*#__PURE__*/_interopNamespace(i1$2);
34
33
 
35
34
  var bounceIn = animations.animation([
36
35
  animations.style({ opacity: '0', display: '{{ display }}' }),
37
36
  animations.animate('{{ time}} {{ easing }}', animations.keyframes([
38
37
  animations.style({ opacity: '0', transform: '{{ transform }} scale(0.0)', offset: 0 }),
39
38
  animations.style({ opacity: '0', transform: '{{ transform }} scale(0.8)', offset: 0.5 }),
40
- animations.style({ opacity: '1', transform: '{{ transform }} scale(1.0)', offset: 1 })
41
- ]))
39
+ animations.style({ opacity: '1', transform: '{{ transform }} scale(1.0)', offset: 1 }),
40
+ ])),
42
41
  ], {
43
42
  params: {
44
43
  time: '350ms',
45
44
  easing: 'cubic-bezier(.7,.31,.72,1.47)',
46
45
  display: 'block',
47
- transform: 'translate(-50%, -50%)'
48
- }
46
+ transform: 'translate(-50%, -50%)',
47
+ },
49
48
  });
50
49
 
51
50
  var collapseY = animations.animation([
@@ -162,6 +161,24 @@
162
161
  ]),
163
162
  ]);
164
163
 
164
+ var BreadcrumbItemsComponent = /** @class */ (function () {
165
+ function BreadcrumbItemsComponent() {
166
+ this.items = [];
167
+ }
168
+ return BreadcrumbItemsComponent;
169
+ }());
170
+ BreadcrumbItemsComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: BreadcrumbItemsComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
171
+ BreadcrumbItemsComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: BreadcrumbItemsComponent, selector: "abp-breadcrumb-items", inputs: { items: "items" }, ngImport: i0__namespace, template: "<ol class=\"breadcrumb\" *ngIf=\"items.length\">\n <li class=\"breadcrumb-item\">\n <a routerLink=\"/\"><i class=\"fa fa-home\"></i> </a>\n </li>\n <li\n *ngFor=\"let item of items; let last = last\"\n class=\"breadcrumb-item\"\n [class.active]=\"last\"\n aria-current=\"page\"\n >\n <ng-container\n *ngTemplateOutlet=\"item.path ? linkTemplate : textTemplate; context: { $implicit: item }\"\n ></ng-container>\n </li>\n</ol>\n\n<ng-template #linkTemplate let-item>\n <a [routerLink]=\"item.path\"> {{ item.name | abpLocalization }}</a>\n</ng-template>\n\n<ng-template #textTemplate let-item>\n {{ item.name | abpLocalization }}\n</ng-template>\n", directives: [{ type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace$1.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["routerLink", "target", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo"] }, { type: i1__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], pipes: { "abpLocalization": i2__namespace.LocalizationPipe } });
172
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: BreadcrumbItemsComponent, decorators: [{
173
+ type: i0.Component,
174
+ args: [{
175
+ selector: 'abp-breadcrumb-items',
176
+ templateUrl: './breadcrumb-items.component.html',
177
+ }]
178
+ }], propDecorators: { items: [{
179
+ type: i0.Input
180
+ }] } });
181
+
165
182
  /*! *****************************************************************************
166
183
  Copyright (c) Microsoft Corporation.
167
184
 
@@ -397,7 +414,7 @@
397
414
  ar[i] = from[i];
398
415
  }
399
416
  }
400
- return to.concat(ar || from);
417
+ return to.concat(ar || Array.prototype.slice.call(from));
401
418
  }
402
419
  function __await(v) {
403
420
  return this instanceof __await ? (this.v = v, this) : new __await(v);
@@ -491,15 +508,13 @@
491
508
  }
492
509
  BreadcrumbComponent.prototype.ngOnInit = function () {
493
510
  var _this = this;
494
- this.subscription.addOne(this.routerEvents.getNavigationEvents('End').pipe(
495
- // tslint:disable-next-line:deprecation
496
- operators.startWith(null), operators.map(function () { return _this.routes.search({ path: i1.getRoutePath(_this.router) }); })), function (route) {
511
+ this.subscription.addOne(this.routerEvents.getNavigationEvents('End').pipe(operators.startWith(null), operators.map(function () { return _this.routes.search({ path: i2.getRoutePath(_this.router) }); })), function (route) {
497
512
  _this.segments = [];
498
513
  if (route) {
499
514
  var node = { parent: route };
500
515
  while (node.parent) {
501
516
  node = node.parent;
502
- var parent = node.parent, children = node.children, isLeaf = node.isLeaf, segment = __rest(node, ["parent", "children", "isLeaf"]);
517
+ var parent = node.parent, children = node.children, isLeaf = node.isLeaf, path = node.path, segment = __rest(node, ["parent", "children", "isLeaf", "path"]);
503
518
  if (!isAdministration(segment))
504
519
  _this.segments.unshift(segment);
505
520
  }
@@ -509,21 +524,17 @@
509
524
  };
510
525
  return BreadcrumbComponent;
511
526
  }());
512
- BreadcrumbComponent.decorators = [
513
- { type: i0.Component, args: [{
514
- selector: 'abp-breadcrumb',
515
- template: "<ol class=\"breadcrumb\" *ngIf=\"segments.length\">\n <li class=\"breadcrumb-item\">\n <a routerLink=\"/\"><i class=\"fa fa-home\"></i> </a>\n </li>\n <li\n *ngFor=\"let segment of segments; let last = last\"\n class=\"breadcrumb-item\"\n [class.active]=\"last\"\n aria-current=\"page\"\n >\n {{ segment.name | abpLocalization }}\n </li>\n</ol>\n",
516
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
517
- providers: [i1.SubscriptionService]
518
- },] }
519
- ];
520
- BreadcrumbComponent.ctorParameters = function () { return [
521
- { type: i0.ChangeDetectorRef },
522
- { type: router.Router },
523
- { type: i1.RoutesService },
524
- { type: i1.SubscriptionService },
525
- { type: i1.RouterEvents }
526
- ]; };
527
+ BreadcrumbComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: BreadcrumbComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }, { token: i1__namespace$1.Router }, { token: i2__namespace.RoutesService }, { token: i2__namespace.SubscriptionService }, { token: i2__namespace.RouterEvents }], target: i0__namespace.ɵɵFactoryTarget.Component });
528
+ BreadcrumbComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: BreadcrumbComponent, selector: "abp-breadcrumb", providers: [i2.SubscriptionService], ngImport: i0__namespace, template: "<abp-breadcrumb-items [items]=\"segments\"></abp-breadcrumb-items>\n", components: [{ type: BreadcrumbItemsComponent, selector: "abp-breadcrumb-items", inputs: ["items"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
529
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: BreadcrumbComponent, decorators: [{
530
+ type: i0.Component,
531
+ args: [{
532
+ selector: 'abp-breadcrumb',
533
+ templateUrl: './breadcrumb.component.html',
534
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
535
+ providers: [i2.SubscriptionService],
536
+ }]
537
+ }], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }, { type: i1__namespace$1.Router }, { type: i2__namespace.RoutesService }, { type: i2__namespace.SubscriptionService }, { type: i2__namespace.RouterEvents }]; } });
527
538
  function isAdministration(route) {
528
539
  return route.name === "AbpUiNavigation::Menu:Administration" /* Administration */;
529
540
  }
@@ -536,11 +547,9 @@
536
547
  this.buttonType = 'button';
537
548
  this.loading = false;
538
549
  this.disabled = false;
539
- // tslint:disable
540
550
  this.click = new i0.EventEmitter();
541
551
  this.focus = new i0.EventEmitter();
542
552
  this.blur = new i0.EventEmitter();
543
- // tslint:enable
544
553
  this.abpClick = new i0.EventEmitter();
545
554
  this.abpFocus = new i0.EventEmitter();
546
555
  this.abpBlur = new i0.EventEmitter();
@@ -562,173 +571,44 @@
562
571
  };
563
572
  return ButtonComponent;
564
573
  }());
565
- ButtonComponent.decorators = [
566
- { type: i0.Component, args: [{
567
- selector: 'abp-button',
568
- template: "\n <button\n #button\n [id]=\"buttonId\"\n [attr.type]=\"buttonType\"\n [ngClass]=\"buttonClass\"\n [disabled]=\"loading || disabled\"\n (click.stop)=\"click.next($event); abpClick.next($event)\"\n (focus)=\"focus.next($event); abpFocus.next($event)\"\n (blur)=\"blur.next($event); abpBlur.next($event)\"\n >\n <i [ngClass]=\"icon\" class=\"mr-1\"></i><ng-content></ng-content>\n </button>\n "
569
- },] }
570
- ];
571
- ButtonComponent.ctorParameters = function () { return [
572
- { type: i0.Renderer2 }
573
- ]; };
574
- ButtonComponent.propDecorators = {
575
- buttonId: [{ type: i0.Input }],
576
- buttonClass: [{ type: i0.Input }],
577
- buttonType: [{ type: i0.Input }],
578
- iconClass: [{ type: i0.Input }],
579
- loading: [{ type: i0.Input }],
580
- disabled: [{ type: i0.Input }],
581
- attributes: [{ type: i0.Input }],
582
- click: [{ type: i0.Output }],
583
- focus: [{ type: i0.Output }],
584
- blur: [{ type: i0.Output }],
585
- abpClick: [{ type: i0.Output }],
586
- abpFocus: [{ type: i0.Output }],
587
- abpBlur: [{ type: i0.Output }],
588
- buttonRef: [{ type: i0.ViewChild, args: ['button', { static: true },] }]
589
- };
590
-
591
- function getRandomBackgroundColor(count) {
592
- var colors = [];
593
- for (var i = 0; i < count; i++) {
594
- var r = ((i + 5) * (i + 5) * 474) % 255;
595
- var g = ((i + 5) * (i + 5) * 1600) % 255;
596
- var b = ((i + 5) * (i + 5) * 84065) % 255;
597
- colors.push('rgba(' + r + ', ' + g + ', ' + b + ', 0.7)');
598
- }
599
- return colors;
600
- }
601
- var chartJsLoaded$ = new rxjs.ReplaySubject(1);
602
-
603
- var ChartComponent = /** @class */ (function () {
604
- function ChartComponent(el, cdRef) {
605
- var _this = this;
606
- this.el = el;
607
- this.cdRef = cdRef;
608
- this.options = {};
609
- this.plugins = [];
610
- this.responsive = true;
611
- // tslint:disable-next-line: no-output-on-prefix
612
- this.onDataSelect = new i0.EventEmitter();
613
- this.initialized = new rxjs.BehaviorSubject(this);
614
- this.onCanvasClick = function (event) {
615
- if (_this.chart) {
616
- var element = _this.chart.getElementAtEvent(event);
617
- var dataset = _this.chart.getDatasetAtEvent(event);
618
- if (element && element.length && dataset) {
619
- _this.onDataSelect.emit({
620
- originalEvent: event,
621
- element: element[0],
622
- dataset: dataset,
623
- });
624
- }
625
- }
626
- };
627
- this.initChart = function () {
628
- var opts = _this.options || {};
629
- opts.responsive = _this.responsive;
630
- // allows chart to resize in responsive mode
631
- if (opts.responsive && (_this.height || _this.width)) {
632
- opts.maintainAspectRatio = false;
633
- }
634
- _this.chart = new Chart(_this.canvas, {
635
- type: _this.type,
636
- data: _this.data,
637
- options: _this.options,
638
- plugins: _this.plugins,
639
- });
640
- _this.cdRef.detectChanges();
641
- };
642
- this.generateLegend = function () {
643
- if (_this.chart) {
644
- return _this.chart.generateLegend();
645
- }
646
- };
647
- this.refresh = function () {
648
- if (_this.chart) {
649
- _this.chart.update();
650
- _this.cdRef.detectChanges();
651
- }
652
- };
653
- this.reinit = function () {
654
- if (_this.chart) {
655
- _this.chart.destroy();
656
- _this.initChart();
657
- }
658
- };
659
- }
660
- Object.defineProperty(ChartComponent.prototype, "data", {
661
- get: function () {
662
- return this._data;
663
- },
664
- set: function (val) {
665
- this._data = val;
666
- this.reinit();
667
- },
668
- enumerable: false,
669
- configurable: true
670
- });
671
- Object.defineProperty(ChartComponent.prototype, "canvas", {
672
- get: function () {
673
- return this.el.nativeElement.children[0].children[0];
674
- },
675
- enumerable: false,
676
- configurable: true
677
- });
678
- Object.defineProperty(ChartComponent.prototype, "base64Image", {
679
- get: function () {
680
- return this.chart.toBase64Image();
681
- },
682
- enumerable: false,
683
- configurable: true
684
- });
685
- ChartComponent.prototype.ngAfterViewInit = function () {
686
- var _this = this;
687
- chartJsLoaded$.subscribe(function () {
688
- _this.testChartJs();
689
- _this.initChart();
690
- _this._initialized = true;
691
- });
692
- };
693
- ChartComponent.prototype.testChartJs = function () {
694
- try {
695
- // tslint:disable-next-line: no-unused-expression
696
- Chart;
697
- }
698
- catch (error) {
699
- throw new Error("Chart is not found. Import the Chart from app.module like shown below:\n import('chart.js');\n ");
700
- }
701
- };
702
- ChartComponent.prototype.ngOnDestroy = function () {
703
- if (this.chart) {
704
- this.chart.destroy();
705
- this._initialized = false;
706
- this.chart = null;
707
- }
708
- };
709
- return ChartComponent;
710
- }());
711
- ChartComponent.decorators = [
712
- { type: i0.Component, args: [{
713
- selector: 'abp-chart',
714
- template: "<div\n style=\"position:relative\"\n [style.width]=\"responsive && !width ? null : width\"\n [style.height]=\"responsive && !height ? null : height\"\n>\n <canvas\n [attr.width]=\"responsive && !width ? null : width\"\n [attr.height]=\"responsive && !height ? null : height\"\n (click)=\"onCanvasClick($event)\"\n ></canvas>\n</div>\n"
715
- },] }
716
- ];
717
- ChartComponent.ctorParameters = function () { return [
718
- { type: i0.ElementRef },
719
- { type: i0.ChangeDetectorRef }
720
- ]; };
721
- ChartComponent.propDecorators = {
722
- type: [{ type: i0.Input }],
723
- options: [{ type: i0.Input }],
724
- plugins: [{ type: i0.Input }],
725
- width: [{ type: i0.Input }],
726
- height: [{ type: i0.Input }],
727
- responsive: [{ type: i0.Input }],
728
- onDataSelect: [{ type: i0.Output }],
729
- initialized: [{ type: i0.Output }],
730
- data: [{ type: i0.Input }]
731
- };
574
+ ButtonComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ButtonComponent, deps: [{ token: i0__namespace.Renderer2 }], target: i0__namespace.ɵɵFactoryTarget.Component });
575
+ ButtonComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: ButtonComponent, selector: "abp-button", inputs: { buttonId: "buttonId", buttonClass: "buttonClass", buttonType: "buttonType", iconClass: "iconClass", loading: "loading", disabled: "disabled", attributes: "attributes" }, outputs: { click: "click", focus: "focus", blur: "blur", abpClick: "abpClick", abpFocus: "abpFocus", abpBlur: "abpBlur" }, viewQueries: [{ propertyName: "buttonRef", first: true, predicate: ["button"], descendants: true, static: true }], ngImport: i0__namespace, template: "\n <button\n #button\n [id]=\"buttonId\"\n [attr.type]=\"buttonType\"\n [ngClass]=\"buttonClass\"\n [disabled]=\"loading || disabled\"\n (click.stop)=\"click.next($event); abpClick.next($event)\"\n (focus)=\"focus.next($event); abpFocus.next($event)\"\n (blur)=\"blur.next($event); abpBlur.next($event)\"\n >\n <i [ngClass]=\"icon\" class=\"me-1\"></i><ng-content></ng-content>\n </button>\n ", isInline: true, directives: [{ type: i1__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2__namespace.StopPropagationDirective, selector: "[click.stop]", outputs: ["click.stop"] }] });
576
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ButtonComponent, decorators: [{
577
+ type: i0.Component,
578
+ args: [{
579
+ selector: 'abp-button',
580
+ template: "\n <button\n #button\n [id]=\"buttonId\"\n [attr.type]=\"buttonType\"\n [ngClass]=\"buttonClass\"\n [disabled]=\"loading || disabled\"\n (click.stop)=\"click.next($event); abpClick.next($event)\"\n (focus)=\"focus.next($event); abpFocus.next($event)\"\n (blur)=\"blur.next($event); abpBlur.next($event)\"\n >\n <i [ngClass]=\"icon\" class=\"me-1\"></i><ng-content></ng-content>\n </button>\n ",
581
+ }]
582
+ }], ctorParameters: function () { return [{ type: i0__namespace.Renderer2 }]; }, propDecorators: { buttonId: [{
583
+ type: i0.Input
584
+ }], buttonClass: [{
585
+ type: i0.Input
586
+ }], buttonType: [{
587
+ type: i0.Input
588
+ }], iconClass: [{
589
+ type: i0.Input
590
+ }], loading: [{
591
+ type: i0.Input
592
+ }], disabled: [{
593
+ type: i0.Input
594
+ }], attributes: [{
595
+ type: i0.Input
596
+ }], click: [{
597
+ type: i0.Output
598
+ }], focus: [{
599
+ type: i0.Output
600
+ }], blur: [{
601
+ type: i0.Output
602
+ }], abpClick: [{
603
+ type: i0.Output
604
+ }], abpFocus: [{
605
+ type: i0.Output
606
+ }], abpBlur: [{
607
+ type: i0.Output
608
+ }], buttonRef: [{
609
+ type: i0.ViewChild,
610
+ args: ['button', { static: true }]
611
+ }] } });
732
612
 
733
613
  exports.Confirmation = void 0;
734
614
  (function (Confirmation) {
@@ -766,13 +646,16 @@
766
646
  };
767
647
  return ConfirmationComponent;
768
648
  }());
769
- ConfirmationComponent.decorators = [
770
- { type: i0.Component, args: [{
771
- selector: 'abp-confirmation',
772
- template: "<div class=\"confirmation\" *ngIf=\"confirmation$ | async as data\">\n <div\n class=\"confirmation-backdrop\"\n (click)=\"data.options?.dismissible ? close(dismiss) : null\"\n ></div>\n <div class=\"confirmation-dialog\">\n <div class=\"icon-container\" [ngClass]=\"data.severity\" *ngIf=\"data.severity\">\n <i class=\"fa icon\" [ngClass]=\"getIconClass(data)\"></i>\n </div>\n <div class=\"content\">\n <h1\n class=\"title\"\n *ngIf=\"data.title\"\n [innerHTML]=\"data.title | abpLocalization: data.options?.titleLocalizationParams\"\n ></h1>\n <p\n class=\"message\"\n *ngIf=\"data.message\"\n [innerHTML]=\"data.message | abpLocalization: data.options?.messageLocalizationParams\"\n ></p>\n </div>\n <div class=\"footer\">\n <button\n id=\"cancel\"\n class=\"confirmation-button confirmation-button--reject\"\n [innerHTML]=\"data.options?.cancelText || 'AbpUi::Cancel' | abpLocalization\"\n *ngIf=\"!data?.options?.hideCancelBtn\"\n (click)=\"close(reject)\"\n ></button>\n <button\n id=\"confirm\"\n class=\"confirmation-button confirmation-button--approve\"\n [innerHTML]=\"data.options?.yesText || 'AbpUi::Yes' | abpLocalization\"\n *ngIf=\"!data?.options?.hideYesBtn\"\n (click)=\"close(confirm)\"\n ></button>\n </div>\n </div>\n</div>\n",
773
- styles: [".confirmation{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;z-index:1060}.confirmation .confirmation-backdrop{position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:1061!important}.confirmation .confirmation-dialog{display:flex;flex-direction:column;margin:20px auto;padding:0;width:450px;min-height:300px;z-index:1062!important}@media screen and (max-width:500px){.confirmation .confirmation-dialog{width:90vw}}.confirmation .confirmation-dialog .icon-container{display:flex;align-items:center;justify-content:center;margin:0 0 10px;padding:20px}.confirmation .confirmation-dialog .icon-container .icon{width:100px;height:100px;stroke-width:1;font-size:80px;text-align:center}.confirmation .confirmation-dialog .content{flex-grow:1;display:block}.confirmation .confirmation-dialog .content .title{display:block;margin:0;padding:0;font-size:27px;font-weight:600;text-align:center}.confirmation .confirmation-dialog .content .message{display:block;margin:10px auto;padding:20px;font-size:16px;font-weight:400;text-align:center}.confirmation .confirmation-dialog .footer{display:flex;align-items:center;justify-content:flex-end;margin:10px 0 0;padding:20px;width:100%}.confirmation .confirmation-dialog .footer .confirmation-button{display:inline-block;margin:0 5px;padding:10px 20px;border:none;border-radius:6px;font-size:14px;font-weight:600}"]
774
- },] }
775
- ];
649
+ ConfirmationComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ConfirmationComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
650
+ ConfirmationComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: ConfirmationComponent, selector: "abp-confirmation", ngImport: i0__namespace, template: "<div class=\"confirmation\" *ngIf=\"confirmation$ | async as data\">\n <div\n class=\"confirmation-backdrop\"\n (click)=\"data.options?.dismissible ? close(dismiss) : null\"\n ></div>\n <div class=\"confirmation-dialog\">\n <div class=\"icon-container\" [ngClass]=\"data.severity\" *ngIf=\"data.severity\">\n <i class=\"fa icon\" [ngClass]=\"getIconClass(data)\"></i>\n </div>\n <div class=\"content\">\n <h1\n class=\"title\"\n *ngIf=\"data.title\"\n [innerHTML]=\"data.title | abpLocalization: data.options?.titleLocalizationParams\"\n ></h1>\n <p\n class=\"message\"\n *ngIf=\"data.message\"\n [innerHTML]=\"data.message | abpLocalization: data.options?.messageLocalizationParams\"\n ></p>\n </div>\n <div class=\"footer\">\n <button\n id=\"cancel\"\n class=\"confirmation-button confirmation-button--reject\"\n [innerHTML]=\"data.options?.cancelText || 'AbpUi::Cancel' | abpLocalization\"\n *ngIf=\"!data?.options?.hideCancelBtn\"\n (click)=\"close(reject)\"\n ></button>\n <button\n id=\"confirm\"\n class=\"confirmation-button confirmation-button--approve\"\n [innerHTML]=\"data.options?.yesText || 'AbpUi::Yes' | abpLocalization\"\n *ngIf=\"!data?.options?.hideYesBtn\"\n (click)=\"close(confirm)\"\n ></button>\n </div>\n </div>\n</div>\n", styles: [".confirmation{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;z-index:1060}.confirmation .confirmation-backdrop{position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:1061!important}.confirmation .confirmation-dialog{display:flex;flex-direction:column;margin:20px auto;padding:0;width:450px;min-height:300px;z-index:1062!important}@media screen and (max-width: 500px){.confirmation .confirmation-dialog{width:90vw}}.confirmation .confirmation-dialog .icon-container{display:flex;align-items:center;justify-content:center;margin:0 0 10px;padding:20px}.confirmation .confirmation-dialog .icon-container .icon{width:100px;height:100px;stroke-width:1;font-size:80px;text-align:center}.confirmation .confirmation-dialog .content{flex-grow:1;display:block}.confirmation .confirmation-dialog .content .title{display:block;margin:0;padding:0;font-size:27px;font-weight:600;text-align:center}.confirmation .confirmation-dialog .content .message{display:block;margin:10px auto;padding:20px;font-size:16px;font-weight:400;text-align:center}.confirmation .confirmation-dialog .footer{display:flex;align-items:center;justify-content:flex-end;margin:10px 0 0;padding:20px;width:100%}.confirmation .confirmation-dialog .footer .confirmation-button{display:inline-block;margin:0 5px;padding:10px 20px;border:none;border-radius:6px;font-size:14px;font-weight:600}\n"], directives: [{ type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], pipes: { "async": i1__namespace.AsyncPipe, "abpLocalization": i2__namespace.LocalizationPipe } });
651
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ConfirmationComponent, decorators: [{
652
+ type: i0.Component,
653
+ args: [{
654
+ selector: 'abp-confirmation',
655
+ templateUrl: './confirmation.component.html',
656
+ styleUrls: ['./confirmation.component.scss'],
657
+ }]
658
+ }] });
776
659
 
777
660
  var HttpErrorWrapperComponent = /** @class */ (function () {
778
661
  function HttpErrorWrapperComponent(subscription) {
@@ -792,9 +675,9 @@
792
675
  configurable: true
793
676
  });
794
677
  HttpErrorWrapperComponent.prototype.ngOnInit = function () {
678
+ var _a;
795
679
  this.backgroundColor =
796
- snq__default['default'](function () { return window.getComputedStyle(document.body).getPropertyValue('background-color'); }) ||
797
- '#fff';
680
+ ((_a = window.getComputedStyle(document.body)) === null || _a === void 0 ? void 0 : _a.getPropertyValue('background-color')) || '#fff';
798
681
  };
799
682
  HttpErrorWrapperComponent.prototype.ngAfterViewInit = function () {
800
683
  var _this = this;
@@ -811,27 +694,29 @@
811
694
  var keyup$ = rxjs.fromEvent(document, 'keyup').pipe(operators.debounceTime(150), operators.filter(function (key) { return key && key.key === 'Escape'; }));
812
695
  this.subscription.addOne(keyup$, function () { return _this.destroy(); });
813
696
  };
814
- HttpErrorWrapperComponent.prototype.ngOnDestroy = function () { };
697
+ HttpErrorWrapperComponent.prototype.ngOnDestroy = function () {
698
+ this.destroy();
699
+ };
815
700
  HttpErrorWrapperComponent.prototype.destroy = function () {
816
701
  this.destroy$.next();
817
702
  this.destroy$.complete();
818
703
  };
819
704
  return HttpErrorWrapperComponent;
820
705
  }());
821
- HttpErrorWrapperComponent.decorators = [
822
- { type: i0.Component, args: [{
823
- selector: 'abp-http-error-wrapper',
824
- template: "<div\n #container\n id=\"abp-http-error-container\"\n class=\"error\"\n [style.backgroundColor]=\"backgroundColor\"\n>\n <button\n *ngIf=\"!hideCloseIcon\"\n id=\"abp-close-button\"\n type=\"button\"\n class=\"close mr-2\"\n (click)=\"destroy()\"\n >\n <span aria-hidden=\"true\">&times;</span>\n </button>\n\n <div *ngIf=\"!customComponent\" class=\"row centered\">\n <div class=\"col-md-12\">\n <div class=\"error-template\">\n <h1>{{ statusText }} {{ title | abpLocalization }}</h1>\n <div class=\"error-details\">\n {{ details | abpLocalization }}\n </div>\n <div class=\"error-actions\">\n <a\n *ngIf=\"isHomeShow\"\n (click)=\"destroy()\"\n routerLink=\"/\"\n class=\"btn btn-primary btn-md mt-2\"\n ><span class=\"glyphicon glyphicon-home\"></span>\n {{ { key: '::Menu:Home', defaultValue: 'Home' } | abpLocalization }}\n </a>\n </div>\n </div>\n </div>\n </div>\n</div>\n",
825
- providers: [i1.SubscriptionService],
826
- styles: [".error{position:fixed;top:0;width:100vw;height:100vh;z-index:999999}.centered{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)}"]
827
- },] }
828
- ];
829
- HttpErrorWrapperComponent.ctorParameters = function () { return [
830
- { type: i1.SubscriptionService }
831
- ]; };
832
- HttpErrorWrapperComponent.propDecorators = {
833
- containerRef: [{ type: i0.ViewChild, args: ['container', { static: false },] }]
834
- };
706
+ HttpErrorWrapperComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: HttpErrorWrapperComponent, deps: [{ token: i2__namespace.SubscriptionService }], target: i0__namespace.ɵɵFactoryTarget.Component });
707
+ HttpErrorWrapperComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: HttpErrorWrapperComponent, selector: "abp-http-error-wrapper", providers: [i2.SubscriptionService], viewQueries: [{ propertyName: "containerRef", first: true, predicate: ["container"], descendants: true }], ngImport: i0__namespace, template: "<div\n #container\n id=\"abp-http-error-container\"\n class=\"error\"\n [style.backgroundColor]=\"backgroundColor\"\n>\n <button\n *ngIf=\"!hideCloseIcon\"\n id=\"abp-close-button\"\n type=\"button\"\n class=\"close me-2\"\n (click)=\"destroy()\"\n >\n <span aria-hidden=\"true\">&times;</span>\n </button>\n\n <div *ngIf=\"!customComponent\" class=\"row centered\">\n <div class=\"col-md-12\">\n <div class=\"error-template\">\n <h1>{{ statusText }} {{ title | abpLocalization }}</h1>\n <div class=\"error-details\">\n {{ details | abpLocalization }}\n </div>\n <div class=\"error-actions\">\n <a\n *ngIf=\"isHomeShow\"\n (click)=\"destroy()\"\n routerLink=\"/\"\n class=\"btn btn-primary btn-md mt-2\"\n ><span class=\"glyphicon glyphicon-home\"></span>\n {{ { key: '::Menu:Home', defaultValue: 'Home' } | abpLocalization }}\n </a>\n </div>\n </div>\n </div>\n </div>\n</div>\n", styles: [".error{position:fixed;top:0;width:100vw;height:100vh;z-index:999999}.centered{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)}\n"], directives: [{ type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace$1.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["routerLink", "target", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo"] }], pipes: { "abpLocalization": i2__namespace.LocalizationPipe } });
708
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: HttpErrorWrapperComponent, decorators: [{
709
+ type: i0.Component,
710
+ args: [{
711
+ selector: 'abp-http-error-wrapper',
712
+ templateUrl: './http-error-wrapper.component.html',
713
+ styleUrls: ['http-error-wrapper.component.scss'],
714
+ providers: [i2.SubscriptionService],
715
+ }]
716
+ }], ctorParameters: function () { return [{ type: i2__namespace.SubscriptionService }]; }, propDecorators: { containerRef: [{
717
+ type: i0.ViewChild,
718
+ args: ['container', { static: false }]
719
+ }] } });
835
720
 
836
721
  var LoaderBarComponent = /** @class */ (function () {
837
722
  function LoaderBarComponent(router, cdRef, subscription, httpWaitService, routerWaitService) {
@@ -921,42 +806,44 @@
921
806
  };
922
807
  return LoaderBarComponent;
923
808
  }());
924
- LoaderBarComponent.decorators = [
925
- { type: i0.Component, args: [{
926
- selector: 'abp-loader-bar',
927
- template: "\n <div id=\"abp-loader-bar\" [ngClass]=\"containerClass\" [class.is-loading]=\"isLoading\">\n <div\n class=\"abp-progress\"\n [class.progressing]=\"progressLevel\"\n [style.width.vw]=\"progressLevel\"\n [ngStyle]=\"{\n 'background-color': color,\n 'box-shadow': boxShadow\n }\"\n ></div>\n </div>\n ",
928
- providers: [i1.SubscriptionService],
929
- styles: [".abp-loader-bar{left:0;opacity:0;position:fixed;top:0;transition:opacity .4s linear .4s;z-index:99999}.abp-loader-bar.is-loading{opacity:1;transition:none}.abp-loader-bar .abp-progress{height:3px;left:0;position:fixed;top:0}.abp-loader-bar .abp-progress.progressing{transition:width .4s ease}"]
930
- },] }
931
- ];
932
- LoaderBarComponent.ctorParameters = function () { return [
933
- { type: router.Router },
934
- { type: i0.ChangeDetectorRef },
935
- { type: i1.SubscriptionService },
936
- { type: i1.HttpWaitService },
937
- { type: i1.RouterWaitService }
938
- ]; };
939
- LoaderBarComponent.propDecorators = {
940
- isLoading: [{ type: i0.Input }],
941
- containerClass: [{ type: i0.Input }],
942
- color: [{ type: i0.Input }]
943
- };
809
+ LoaderBarComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: LoaderBarComponent, deps: [{ token: i1__namespace$1.Router }, { token: i0__namespace.ChangeDetectorRef }, { token: i2__namespace.SubscriptionService }, { token: i2__namespace.HttpWaitService }, { token: i2__namespace.RouterWaitService }], target: i0__namespace.ɵɵFactoryTarget.Component });
810
+ LoaderBarComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: LoaderBarComponent, selector: "abp-loader-bar", inputs: { isLoading: "isLoading", containerClass: "containerClass", color: "color" }, providers: [i2.SubscriptionService], ngImport: i0__namespace, template: "\n <div id=\"abp-loader-bar\" [ngClass]=\"containerClass\" [class.is-loading]=\"isLoading\">\n <div\n class=\"abp-progress\"\n [class.progressing]=\"progressLevel\"\n [style.width.vw]=\"progressLevel\"\n [ngStyle]=\"{\n 'background-color': color,\n 'box-shadow': boxShadow\n }\"\n ></div>\n </div>\n ", isInline: true, styles: [".abp-loader-bar{left:0;opacity:0;position:fixed;top:0;transition:opacity .4s linear .4s;z-index:99999}.abp-loader-bar.is-loading{opacity:1;transition:none}.abp-loader-bar .abp-progress{height:3px;left:0;position:fixed;top:0}.abp-loader-bar .abp-progress.progressing{transition:width .4s ease}\n"], directives: [{ type: i1__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1__namespace.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
811
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: LoaderBarComponent, decorators: [{
812
+ type: i0.Component,
813
+ args: [{
814
+ selector: 'abp-loader-bar',
815
+ template: "\n <div id=\"abp-loader-bar\" [ngClass]=\"containerClass\" [class.is-loading]=\"isLoading\">\n <div\n class=\"abp-progress\"\n [class.progressing]=\"progressLevel\"\n [style.width.vw]=\"progressLevel\"\n [ngStyle]=\"{\n 'background-color': color,\n 'box-shadow': boxShadow\n }\"\n ></div>\n </div>\n ",
816
+ styleUrls: ['./loader-bar.component.scss'],
817
+ providers: [i2.SubscriptionService],
818
+ }]
819
+ }], ctorParameters: function () { return [{ type: i1__namespace$1.Router }, { type: i0__namespace.ChangeDetectorRef }, { type: i2__namespace.SubscriptionService }, { type: i2__namespace.HttpWaitService }, { type: i2__namespace.RouterWaitService }]; }, propDecorators: { isLoading: [{
820
+ type: i0.Input
821
+ }], containerClass: [{
822
+ type: i0.Input
823
+ }], color: [{
824
+ type: i0.Input
825
+ }] } });
944
826
 
945
827
  var LoadingComponent = /** @class */ (function () {
946
828
  function LoadingComponent() {
947
829
  }
948
- LoadingComponent.prototype.ngOnInit = function () { };
949
830
  return LoadingComponent;
950
831
  }());
951
- LoadingComponent.decorators = [
952
- { type: i0.Component, args: [{
953
- selector: 'abp-loading',
954
- template: "\n <div class=\"abp-loading\">\n <i class=\"fa fa-spinner fa-pulse abp-spinner\"></i>\n </div>\n ",
955
- encapsulation: i0.ViewEncapsulation.None,
956
- styles: ["\n .abp-loading {\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n z-index: 1040;\n }\n\n .abp-loading .abp-spinner {\n position: absolute;\n top: 50%;\n left: 50%;\n font-size: 14px;\n -moz-transform: translateX(-50%) translateY(-50%);\n -o-transform: translateX(-50%) translateY(-50%);\n -ms-transform: translateX(-50%) translateY(-50%);\n -webkit-transform: translateX(-50%) translateY(-50%);\n transform: translateX(-50%) translateY(-50%);\n }\n "]
957
- },] }
958
- ];
959
- LoadingComponent.ctorParameters = function () { return []; };
832
+ LoadingComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: LoadingComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
833
+ LoadingComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: LoadingComponent, selector: "abp-loading", ngImport: i0__namespace, template: "\n <div class=\"abp-loading\">\n <i class=\"fa fa-spinner fa-pulse abp-spinner\"></i>\n </div>\n ", isInline: true, styles: ["\n .abp-loading {\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n z-index: 1040;\n }\n\n .abp-loading .abp-spinner {\n position: absolute;\n top: 50%;\n left: 50%;\n font-size: 14px;\n -moz-transform: translateX(-50%) translateY(-50%);\n -o-transform: translateX(-50%) translateY(-50%);\n -ms-transform: translateX(-50%) translateY(-50%);\n -webkit-transform: translateX(-50%) translateY(-50%);\n transform: translateX(-50%) translateY(-50%);\n }\n "], encapsulation: i0__namespace.ViewEncapsulation.None });
834
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: LoadingComponent, decorators: [{
835
+ type: i0.Component,
836
+ args: [{
837
+ selector: 'abp-loading',
838
+ template: "\n <div class=\"abp-loading\">\n <i class=\"fa fa-spinner fa-pulse abp-spinner\"></i>\n </div>\n ",
839
+ encapsulation: i0.ViewEncapsulation.None,
840
+ styles: [
841
+ "\n .abp-loading {\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n z-index: 1040;\n }\n\n .abp-loading .abp-spinner {\n position: absolute;\n top: 50%;\n left: 50%;\n font-size: 14px;\n -moz-transform: translateX(-50%) translateY(-50%);\n -o-transform: translateX(-50%) translateY(-50%);\n -ms-transform: translateX(-50%) translateY(-50%);\n -webkit-transform: translateX(-50%) translateY(-50%);\n transform: translateX(-50%) translateY(-50%);\n }\n ",
842
+ ],
843
+ }]
844
+ }] });
845
+
846
+ var SUPPRESS_UNSAVED_CHANGES_WARNING = new i0.InjectionToken('SUPPRESS_UNSAVED_CHANGES_WARNING');
960
847
 
961
848
  var ConfirmationService = /** @class */ (function () {
962
849
  function ConfirmationService(contentProjectionService) {
@@ -971,7 +858,7 @@
971
858
  }
972
859
  ConfirmationService.prototype.setContainer = function () {
973
860
  var _this = this;
974
- this.containerComponentRef = this.contentProjectionService.projectContent(i1.PROJECTION_STRATEGY.AppendComponentToBody(ConfirmationComponent, {
861
+ this.containerComponentRef = this.contentProjectionService.projectContent(i2.PROJECTION_STRATEGY.AppendComponentToBody(ConfirmationComponent, {
975
862
  confirmation$: this.confirmation$,
976
863
  clear: this.clear,
977
864
  }));
@@ -1017,16 +904,12 @@
1017
904
  };
1018
905
  return ConfirmationService;
1019
906
  }());
1020
- ConfirmationService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function ConfirmationService_Factory() { return new ConfirmationService(i0__namespace.ɵɵinject(i1__namespace.ContentProjectionService)); }, token: ConfirmationService, providedIn: "root" });
1021
- ConfirmationService.decorators = [
1022
- { type: i0.Injectable, args: [{ providedIn: 'root' },] }
1023
- ];
1024
- ConfirmationService.ctorParameters = function () { return [
1025
- { type: i1.ContentProjectionService }
1026
- ]; };
1027
-
1028
- // TODO: Should be documented
1029
- var SUPPRESS_UNSAVED_CHANGES_WARNING = new i0.InjectionToken('SUPPRESS_UNSAVED_CHANGES_WARNING');
907
+ ConfirmationService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ConfirmationService, deps: [{ token: i2__namespace.ContentProjectionService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
908
+ ConfirmationService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ConfirmationService, providedIn: 'root' });
909
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ConfirmationService, decorators: [{
910
+ type: i0.Injectable,
911
+ args: [{ providedIn: 'root' }]
912
+ }], ctorParameters: function () { return [{ type: i2__namespace.ContentProjectionService }]; } });
1030
913
 
1031
914
  var ModalRefService = /** @class */ (function () {
1032
915
  function ModalRefService() {
@@ -1046,10 +929,12 @@
1046
929
  };
1047
930
  return ModalRefService;
1048
931
  }());
1049
- ModalRefService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function ModalRefService_Factory() { return new ModalRefService(); }, token: ModalRefService, providedIn: "root" });
1050
- ModalRefService.decorators = [
1051
- { type: i0.Injectable, args: [{ providedIn: 'root' },] }
1052
- ];
932
+ ModalRefService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ModalRefService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
933
+ ModalRefService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ModalRefService, providedIn: 'root' });
934
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ModalRefService, decorators: [{
935
+ type: i0.Injectable,
936
+ args: [{ providedIn: 'root' }]
937
+ }] });
1053
938
 
1054
939
  var ModalComponent = /** @class */ (function () {
1055
940
  function ModalComponent(confirmationService, subscription, suppressUnsavedChangesWarningToken, modal, modalRefService) {
@@ -1058,18 +943,6 @@
1058
943
  this.suppressUnsavedChangesWarningToken = suppressUnsavedChangesWarningToken;
1059
944
  this.modal = modal;
1060
945
  this.modalRefService = modalRefService;
1061
- /**
1062
- * @deprecated Use centered property of options input instead. To be deleted in v5.0.
1063
- */
1064
- this.centered = false;
1065
- /**
1066
- * @deprecated Use windowClass property of options input instead. To be deleted in v5.0.
1067
- */
1068
- this.modalClass = '';
1069
- /**
1070
- * @deprecated Use size property of options input instead. To be deleted in v5.0.
1071
- */
1072
- this.size = 'lg';
1073
946
  this.options = {};
1074
947
  this.suppressUnsavedChangesWarning = this.suppressUnsavedChangesWarningToken;
1075
948
  this.visibleChange = new i0.EventEmitter();
@@ -1080,7 +953,7 @@
1080
953
  this._busy = false;
1081
954
  this.isConfirmationOpen = false;
1082
955
  this.destroy$ = new rxjs.Subject();
1083
- this.modalIdentifier = "modal-" + i1.uuid();
956
+ this.modalIdentifier = "modal-" + i2.uuid();
1084
957
  this.toggle$ = new rxjs.Subject();
1085
958
  this.initToggleStream();
1086
959
  }
@@ -1154,16 +1027,12 @@
1154
1027
  return;
1155
1028
  }
1156
1029
  setTimeout(function () { return _this.listen(); }, 0);
1157
- this.modalRef = this.modal.open(this.modalContent, Object.assign(Object.assign({
1158
- // TODO: set size to 'lg' when removed the size variable
1159
- size: this.size, centered: this.centered, keyboard: false, scrollable: true,
1160
- beforeDismiss: function () {
1030
+ this.modalRef = this.modal.open(this.modalContent, Object.assign(Object.assign({ size: 'md', centered: false, keyboard: false, scrollable: true, beforeDismiss: function () {
1161
1031
  if (!_this.visible)
1162
1032
  return true;
1163
1033
  _this.close();
1164
1034
  return !_this.visible;
1165
- }
1166
- }, this.options), { windowClass: this.modalClass + " " + (this.options.windowClass || '') + " " + this.modalIdentifier }));
1035
+ } }, this.options), { windowClass: (this.options.windowClass || '') + " " + this.modalIdentifier }));
1167
1036
  this.appear.emit();
1168
1037
  };
1169
1038
  ModalComponent.prototype.ngOnDestroy = function () {
@@ -1208,57 +1077,59 @@
1208
1077
  delete event.returnValue;
1209
1078
  }
1210
1079
  });
1211
- setTimeout(function () {
1212
- if (!_this.abpClose)
1213
- return;
1214
- _this.warnForDeprecatedClose();
1215
- rxjs.fromEvent(_this.abpClose.nativeElement, 'click')
1216
- .pipe(operators.takeUntil(_this.destroy$))
1217
- .subscribe(function () { return _this.close(); });
1218
- }, 0);
1219
1080
  this.init.emit();
1220
1081
  };
1221
- ModalComponent.prototype.warnForDeprecatedClose = function () {
1222
- if (i0.isDevMode()) {
1223
- console.warn('Please use abpClose directive instead of #abpClose template variable. #abpClose will be removed in v5.0');
1224
- }
1225
- };
1226
1082
  return ModalComponent;
1227
1083
  }());
1228
- ModalComponent.decorators = [
1229
- { type: i0.Component, args: [{
1230
- selector: 'abp-modal',
1231
- template: "<ng-content></ng-content>\n\n<ng-template #modalContent let-modal>\n <div id=\"abp-modal-header\" class=\"modal-header\">\n <ng-container *ngTemplateOutlet=\"abpHeader\"></ng-container>\n \u200B\n <button\n id=\"abp-modal-close-button\"\n type=\"button\"\n class=\"close\"\n aria-label=\"Close\"\n (click)=\"modal.dismiss()\"\n >\n <span aria-hidden=\"true\">&times;</span>\n </button>\n </div>\n <div id=\"abp-modal-body\" class=\"modal-body\">\n <ng-container *ngTemplateOutlet=\"abpBody\"></ng-container>\n </div>\n <div *ngIf=\"abpFooter\" id=\"abp-modal-footer\" class=\"modal-footer\">\n <ng-container *ngTemplateOutlet=\"abpFooter\"></ng-container>\n </div>\n</ng-template>\n",
1232
- providers: [i1.SubscriptionService],
1233
- styles: [".modal.show{display:block!important}.modal-backdrop{opacity:.8}.modal::-webkit-scrollbar{width:7px}.modal::-webkit-scrollbar-track{background:#ddd}.modal::-webkit-scrollbar-thumb{background:#8a8686}.modal-dialog{z-index:1050}"]
1234
- },] }
1235
- ];
1236
- ModalComponent.ctorParameters = function () { return [
1237
- { type: ConfirmationService },
1238
- { type: i1.SubscriptionService },
1239
- { type: Boolean, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [SUPPRESS_UNSAVED_CHANGES_WARNING,] }] },
1240
- { type: ngBootstrap.NgbModal },
1241
- { type: ModalRefService }
1242
- ]; };
1243
- ModalComponent.propDecorators = {
1244
- centered: [{ type: i0.Input }],
1245
- modalClass: [{ type: i0.Input }],
1246
- size: [{ type: i0.Input }],
1247
- visible: [{ type: i0.Input }],
1248
- busy: [{ type: i0.Input }],
1249
- options: [{ type: i0.Input }],
1250
- suppressUnsavedChangesWarning: [{ type: i0.Input }],
1251
- modalContent: [{ type: i0.ViewChild, args: ['modalContent',] }],
1252
- abpHeader: [{ type: i0.ContentChild, args: ['abpHeader', { static: false },] }],
1253
- abpBody: [{ type: i0.ContentChild, args: ['abpBody', { static: false },] }],
1254
- abpFooter: [{ type: i0.ContentChild, args: ['abpFooter', { static: false },] }],
1255
- abpSubmit: [{ type: i0.ContentChild, args: [ButtonComponent, { static: false, read: ButtonComponent },] }],
1256
- abpClose: [{ type: i0.ContentChild, args: ['abpClose', { static: false, read: i0.ElementRef },] }],
1257
- visibleChange: [{ type: i0.Output }],
1258
- init: [{ type: i0.Output }],
1259
- appear: [{ type: i0.Output }],
1260
- disappear: [{ type: i0.Output }]
1261
- };
1084
+ ModalComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ModalComponent, deps: [{ token: ConfirmationService }, { token: i2__namespace.SubscriptionService }, { token: SUPPRESS_UNSAVED_CHANGES_WARNING, optional: true }, { token: i3__namespace.NgbModal }, { token: ModalRefService }], target: i0__namespace.ɵɵFactoryTarget.Component });
1085
+ ModalComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: ModalComponent, selector: "abp-modal", inputs: { visible: "visible", busy: "busy", options: "options", suppressUnsavedChangesWarning: "suppressUnsavedChangesWarning" }, outputs: { visibleChange: "visibleChange", init: "init", appear: "appear", disappear: "disappear" }, providers: [i2.SubscriptionService], queries: [{ propertyName: "abpHeader", first: true, predicate: ["abpHeader"], descendants: true }, { propertyName: "abpBody", first: true, predicate: ["abpBody"], descendants: true }, { propertyName: "abpFooter", first: true, predicate: ["abpFooter"], descendants: true }, { propertyName: "abpSubmit", first: true, predicate: ButtonComponent, descendants: true, read: ButtonComponent }], viewQueries: [{ propertyName: "modalContent", first: true, predicate: ["modalContent"], descendants: true }], ngImport: i0__namespace, template: "<ng-content></ng-content>\n\n<ng-template #modalContent let-modal>\n <div id=\"abp-modal-header\" class=\"modal-header\">\n <ng-container *ngTemplateOutlet=\"abpHeader\"></ng-container>\n \u200B\n <button\n id=\"abp-modal-close-button\"\n type=\"button\"\n class=\"btn-sm btn-close\"\n aria-label=\"Close\"\n (click)=\"modal.dismiss()\"\n ></button>\n </div>\n <div id=\"abp-modal-body\" class=\"modal-body\">\n <ng-container *ngTemplateOutlet=\"abpBody\"></ng-container>\n </div>\n <div *ngIf=\"abpFooter\" id=\"abp-modal-footer\" class=\"modal-footer\">\n <ng-container *ngTemplateOutlet=\"abpFooter\"></ng-container>\n </div>\n</ng-template>\n", styles: [".modal.show{display:block!important}.modal-backdrop{opacity:.8}.modal::-webkit-scrollbar{width:7px}.modal::-webkit-scrollbar-track{background:#ddd}.modal::-webkit-scrollbar-thumb{background:#8a8686}.modal-dialog{z-index:1050}\n"], directives: [{ type: i1__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
1086
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ModalComponent, decorators: [{
1087
+ type: i0.Component,
1088
+ args: [{
1089
+ selector: 'abp-modal',
1090
+ templateUrl: './modal.component.html',
1091
+ styleUrls: ['./modal.component.scss'],
1092
+ providers: [i2.SubscriptionService],
1093
+ }]
1094
+ }], ctorParameters: function () {
1095
+ return [{ type: ConfirmationService }, { type: i2__namespace.SubscriptionService }, { type: undefined, decorators: [{
1096
+ type: i0.Optional
1097
+ }, {
1098
+ type: i0.Inject,
1099
+ args: [SUPPRESS_UNSAVED_CHANGES_WARNING]
1100
+ }] }, { type: i3__namespace.NgbModal }, { type: ModalRefService }];
1101
+ }, propDecorators: { visible: [{
1102
+ type: i0.Input
1103
+ }], busy: [{
1104
+ type: i0.Input
1105
+ }], options: [{
1106
+ type: i0.Input
1107
+ }], suppressUnsavedChangesWarning: [{
1108
+ type: i0.Input
1109
+ }], modalContent: [{
1110
+ type: i0.ViewChild,
1111
+ args: ['modalContent']
1112
+ }], abpHeader: [{
1113
+ type: i0.ContentChild,
1114
+ args: ['abpHeader', { static: false }]
1115
+ }], abpBody: [{
1116
+ type: i0.ContentChild,
1117
+ args: ['abpBody', { static: false }]
1118
+ }], abpFooter: [{
1119
+ type: i0.ContentChild,
1120
+ args: ['abpFooter', { static: false }]
1121
+ }], abpSubmit: [{
1122
+ type: i0.ContentChild,
1123
+ args: [ButtonComponent, { static: false, read: ButtonComponent }]
1124
+ }], visibleChange: [{
1125
+ type: i0.Output
1126
+ }], init: [{
1127
+ type: i0.Output
1128
+ }], appear: [{
1129
+ type: i0.Output
1130
+ }], disappear: [{
1131
+ type: i0.Output
1132
+ }] } });
1262
1133
 
1263
1134
  var ModalCloseDirective = /** @class */ (function () {
1264
1135
  function ModalCloseDirective(modal) {
@@ -1273,202 +1144,85 @@
1273
1144
  };
1274
1145
  return ModalCloseDirective;
1275
1146
  }());
1276
- ModalCloseDirective.decorators = [
1277
- { type: i0.Directive, args: [{ selector: '[abpClose]' },] }
1278
- ];
1279
- ModalCloseDirective.ctorParameters = function () { return [
1280
- { type: ModalComponent, decorators: [{ type: i0.Optional }] }
1281
- ]; };
1282
- ModalCloseDirective.propDecorators = {
1283
- onClick: [{ type: i0.HostListener, args: ['click',] }]
1284
- };
1285
-
1286
- /**
1287
- * @deprecated To be deleted in v5.0. Use ngx-datatale instead.
1288
- */
1289
- var SortOrderIconComponent = /** @class */ (function () {
1290
- function SortOrderIconComponent() {
1291
- this.orderChange = new i0.EventEmitter();
1292
- this.selectedSortKeyChange = new i0.EventEmitter();
1293
- }
1294
- Object.defineProperty(SortOrderIconComponent.prototype, "selectedSortKey", {
1295
- get: function () {
1296
- return this._selectedSortKey;
1297
- },
1298
- set: function (value) {
1299
- this._selectedSortKey = value;
1300
- this.selectedSortKeyChange.emit(value);
1301
- },
1302
- enumerable: false,
1303
- configurable: true
1304
- });
1305
- Object.defineProperty(SortOrderIconComponent.prototype, "order", {
1306
- get: function () {
1307
- return this._order;
1308
- },
1309
- set: function (value) {
1310
- this._order = value;
1311
- this.orderChange.emit(value);
1312
- },
1313
- enumerable: false,
1314
- configurable: true
1315
- });
1316
- Object.defineProperty(SortOrderIconComponent.prototype, "icon", {
1317
- get: function () {
1318
- if (this.selectedSortKey === this.sortKey)
1319
- return "sorting_" + this.order;
1320
- else
1321
- return 'sorting';
1322
- },
1323
- enumerable: false,
1324
- configurable: true
1325
- });
1326
- SortOrderIconComponent.prototype.sort = function (key) {
1327
- this.selectedSortKey = key;
1328
- switch (this.order) {
1329
- case '':
1330
- this.order = 'asc';
1331
- this.orderChange.emit('asc');
1332
- break;
1333
- case 'asc':
1334
- this.order = 'desc';
1335
- this.orderChange.emit('desc');
1336
- break;
1337
- case 'desc':
1338
- this.order = '';
1339
- this.orderChange.emit('');
1340
- break;
1341
- }
1342
- };
1343
- return SortOrderIconComponent;
1344
- }());
1345
- SortOrderIconComponent.decorators = [
1346
- { type: i0.Component, args: [{
1347
- selector: 'abp-sort-order-icon',
1348
- template: "<div class=\"float-right {{ iconClass }}\">\n <span class=\"{{ icon }}\"></span>\n</div>\n"
1349
- },] }
1350
- ];
1351
- SortOrderIconComponent.propDecorators = {
1352
- sortKey: [{ type: i0.Input }],
1353
- selectedSortKey: [{ type: i0.Input }],
1354
- order: [{ type: i0.Input }],
1355
- orderChange: [{ type: i0.Output }],
1356
- selectedSortKeyChange: [{ type: i0.Output }],
1357
- iconClass: [{ type: i0.Input }]
1358
- };
1359
-
1360
- var TableEmptyMessageComponent = /** @class */ (function () {
1361
- function TableEmptyMessageComponent() {
1362
- this.colspan = 2;
1363
- this.localizationResource = 'AbpAccount';
1364
- this.localizationProp = 'NoDataAvailableInDatatable';
1365
- }
1366
- Object.defineProperty(TableEmptyMessageComponent.prototype, "emptyMessage", {
1367
- get: function () {
1368
- return this.message || this.localizationResource + "::" + this.localizationProp;
1369
- },
1370
- enumerable: false,
1371
- configurable: true
1372
- });
1373
- return TableEmptyMessageComponent;
1374
- }());
1375
- TableEmptyMessageComponent.decorators = [
1376
- { type: i0.Component, args: [{
1377
- // tslint:disable-next-line: component-selector
1378
- selector: '[abp-table-empty-message]',
1379
- template: "\n <td class=\"text-center\" [attr.colspan]=\"colspan\">\n {{ emptyMessage | abpLocalization }}\n </td>\n "
1380
- },] }
1381
- ];
1382
- TableEmptyMessageComponent.propDecorators = {
1383
- colspan: [{ type: i0.Input }],
1384
- message: [{ type: i0.Input }],
1385
- localizationResource: [{ type: i0.Input }],
1386
- localizationProp: [{ type: i0.Input }]
1387
- };
1147
+ ModalCloseDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ModalCloseDirective, deps: [{ token: ModalComponent, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Directive });
1148
+ ModalCloseDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.6", type: ModalCloseDirective, selector: "[abpClose]", host: { listeners: { "click": "onClick()" } }, ngImport: i0__namespace });
1149
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ModalCloseDirective, decorators: [{
1150
+ type: i0.Directive,
1151
+ args: [{ selector: '[abpClose]' }]
1152
+ }], ctorParameters: function () {
1153
+ return [{ type: ModalComponent, decorators: [{
1154
+ type: i0.Optional
1155
+ }] }];
1156
+ }, propDecorators: { onClick: [{
1157
+ type: i0.HostListener,
1158
+ args: ['click']
1159
+ }] } });
1388
1160
 
1389
- /**
1390
- *
1391
- * @deprecated To be deleted in v5.0. Use ngx-datatale instead.
1392
- */
1393
- var TableComponent = /** @class */ (function () {
1394
- function TableComponent() {
1395
- var _this = this;
1396
- this.bodyScrollLeft = 0;
1397
- this.page = 1;
1398
- this.trackingProp = 'id';
1399
- this.emptyMessage = 'AbpAccount::NoDataAvailableInDatatable';
1400
- this.pageChange = new i0.EventEmitter();
1401
- this.trackByFn = function (_, value) {
1402
- return typeof value === 'object' ? value[_this.trackingProp] || value : value;
1403
- };
1161
+ var ToastComponent = /** @class */ (function () {
1162
+ function ToastComponent() {
1163
+ this.remove = new i0.EventEmitter();
1404
1164
  }
1405
- Object.defineProperty(TableComponent.prototype, "totalRecords", {
1406
- get: function () {
1407
- return this._totalRecords || this.value.length;
1408
- },
1409
- set: function (newValue) {
1410
- if (newValue < 0)
1411
- this._totalRecords = 0;
1412
- this._totalRecords = newValue;
1413
- },
1414
- enumerable: false,
1415
- configurable: true
1416
- });
1417
- Object.defineProperty(TableComponent.prototype, "totalPages", {
1165
+ Object.defineProperty(ToastComponent.prototype, "severityClass", {
1418
1166
  get: function () {
1419
- if (!this.rows) {
1420
- return;
1421
- }
1422
- return Math.ceil(this.totalRecords / this.rows);
1167
+ if (!this.toast || !this.toast.severity)
1168
+ return '';
1169
+ return "abp-toast-" + this.toast.severity;
1423
1170
  },
1424
1171
  enumerable: false,
1425
1172
  configurable: true
1426
1173
  });
1427
- Object.defineProperty(TableComponent.prototype, "slicedValue", {
1174
+ Object.defineProperty(ToastComponent.prototype, "iconClass", {
1428
1175
  get: function () {
1429
- if (!this.rows || this.rows >= this.value.length) {
1430
- return this.value;
1176
+ switch (this.toast.severity) {
1177
+ case 'success':
1178
+ return 'fa-check-circle';
1179
+ case 'info':
1180
+ return 'fa-info-circle';
1181
+ case 'warning':
1182
+ return 'fa-exclamation-triangle';
1183
+ case 'error':
1184
+ return 'fa-times-circle';
1185
+ default:
1186
+ return 'fa-exclamation-circle';
1431
1187
  }
1432
- var start = (this.page - 1) * this.rows;
1433
- return this.value.slice(start, start + this.rows);
1434
1188
  },
1435
1189
  enumerable: false,
1436
1190
  configurable: true
1437
1191
  });
1438
- TableComponent.prototype.ngOnInit = function () {
1439
- this.marginCalculator = document.body.dir === 'rtl' ? rtlCalculator : ltrCalculator;
1192
+ ToastComponent.prototype.ngOnInit = function () {
1193
+ var _this = this;
1194
+ var _b = this.toast.options || {}, sticky = _b.sticky, life = _b.life;
1195
+ if (sticky)
1196
+ return;
1197
+ var timeout = life || 5000;
1198
+ setTimeout(function () {
1199
+ _this.close();
1200
+ }, timeout);
1201
+ };
1202
+ ToastComponent.prototype.close = function () {
1203
+ this.remove.emit(this.toast.options.id);
1204
+ };
1205
+ ToastComponent.prototype.tap = function () {
1206
+ var _a;
1207
+ if ((_a = this.toast.options) === null || _a === void 0 ? void 0 : _a.tapToDismiss)
1208
+ this.close();
1440
1209
  };
1441
- return TableComponent;
1210
+ return ToastComponent;
1442
1211
  }());
1443
- TableComponent.decorators = [
1444
- { type: i0.Component, args: [{
1445
- selector: 'abp-table',
1446
- template: "<div #wrapper class=\"ui-table ui-widget\">\n <div class=\"ui-table-wrapper\">\n <ng-container\n *ngTemplateOutlet=\"scrollable ? scrollableTemplate : defaultTemplate\"\n ></ng-container>\n <div class=\"pagination-wrapper\">\n <ngb-pagination\n [class.op-0]=\"!totalPages\"\n [collectionSize]=\"totalPages\"\n [pageSize]=\"1\"\n [page]=\"page\"\n (pageChange)=\"pageChange.emit($event)\"\n [maxSize]=\"3\"\n [rotate]=\"true\"\n ></ngb-pagination>\n </div>\n </div>\n</div>\n\n<ng-template #scrollableTemplate>\n <div class=\"ui-table-scrollable-wrapper\">\n <div class=\"ui-table-scrollable-view\"></div>\n <div class=\"ui-table-scrollable-header ui-widget-header\">\n <div #header class=\"ui-table-scrollable-header-box\">\n <table class=\"ui-table-scrollable-header-table\">\n <ng-container *ngTemplateOutlet=\"colGroup\"></ng-container>\n <ng-container *ngTemplateOutlet=\"head\"></ng-container>\n <tbody></tbody>\n </table>\n </div>\n </div>\n <div\n #scrollableBody\n (scroll)=\"header.style.margin = marginCalculator(scrollableBody)\"\n class=\"ui-table-scrollable-body\"\n [style.max-height]=\"scrollHeight\"\n >\n <table class=\"ui-table-scrollable-body-table\">\n <ng-container *ngTemplateOutlet=\"colGroup\"></ng-container>\n <ng-container *ngTemplateOutlet=\"body\"></ng-container>\n </table>\n </div>\n </div>\n</ng-template>\n\n<ng-template #defaultTemplate>\n <table>\n <ng-container *ngTemplateOutlet=\"colGroup\"></ng-container>\n <ng-container *ngTemplateOutlet=\"head\"></ng-container>\n <ng-container *ngTemplateOutlet=\"body\"></ng-container>\n </table>\n</ng-template>\n\n<ng-template #colGroup>\n <ng-container *ngTemplateOutlet=\"colgroupTemplate\"></ng-container>\n</ng-template>\n\n<ng-template #head>\n <thead class=\"ui-table-thead\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </thead>\n</ng-template>\n\n<ng-template #body>\n <tbody class=\"ui-table-tbody\" *ngIf=\"value && value.length; else emptyTemplate\">\n <ng-template\n #bodyTemplateWrapper\n *ngFor=\"let val of slicedValue; let index = index; trackBy: trackByFn\"\n [ngTemplateOutlet]=\"bodyTemplate\"\n [ngTemplateOutletContext]=\"{ $implicit: val, rowIndex: index }\"\n ></ng-template>\n </tbody>\n</ng-template>\n\n<ng-template #emptyTemplate>\n <caption class=\"ui-table-empty\">\n {{\n emptyMessage | abpLocalization\n }}\n </caption>\n</ng-template>\n",
1447
- encapsulation: i0.ViewEncapsulation.None,
1448
- styles: [".ui-table{position:relative}.ui-table .ui-table-tbody>tr:hover,.ui-table .ui-table-tbody>tr:nth-child(2n):hover{filter:brightness(90%)}.ui-table .ui-table-empty{padding:20px 0;text-align:center;border:1px solid #e0e0e0;border-top:0 solid #e0e0e0}.ui-table .ui-table-caption,.ui-table .ui-table-summary{background-color:#f4f4f4;color:#333;border:1px solid #c8c8c8;padding:.571em 1em}.ui-table .ui-table-caption,.ui-table .ui-table-summary{font-weight:700}.ui-table .ui-table-thead>tr>th{padding:.571em .857em;border:1px solid #c8c8c8;font-weight:700;color:#333;background-color:#f4f4f4}.ui-table .ui-table-tbody>tr>td{padding:.571em .857em}.ui-table .ui-table-tfoot>tr>td{padding:.571em .857em;border:1px solid #c8c8c8;font-weight:700;color:#333;background-color:#fff}.ui-table .ui-sortable-column{transition:box-shadow .2s}.ui-table .ui-sortable-column:focus{outline:0 none;outline-offset:0;box-shadow:inset 0 0 0 .2em #8dcdff}.ui-table .ui-sortable-column .ui-sortable-column-icon{color:#848484}.ui-table .ui-sortable-column:not(.ui-state-highlight):hover{background-color:#e0e0e0;color:#333}.ui-table .ui-sortable-column:not(.ui-state-highlight):hover .ui-sortable-column-icon{color:#333}.ui-table .ui-sortable-column.ui-state-highlight{background-color:#007ad9;color:#fff}.ui-table .ui-sortable-column.ui-state-highlight .ui-sortable-column-icon{color:#fff}.ui-table .ui-editable-column input{font-size:14px;font-family:Open Sans,Helvetica Neue,sans-serif}.ui-table .ui-editable-column input:focus{outline:1px solid #007ad9;outline-offset:2px}.ui-table .ui-table-tbody>tr{background-color:#fff;color:#333}.ui-table .ui-table-tbody>tr>td{background-color:inherit;border:1px solid #c8c8c8}.ui-table .ui-table-tbody>tr.ui-state-highlight{background-color:#007ad9;color:#fff}.ui-table .ui-table-tbody>tr.ui-state-highlight a{color:#fff}.ui-table .ui-table-tbody>tr.ui-contextmenu-selected{background-color:#007ad9;color:#fff}.ui-table .ui-table-tbody>tr.ui-table-dragpoint-top>td{box-shadow:inset 0 2px 0 0 #007ad9}.ui-table .ui-table-tbody>tr.ui-table-dragpoint-bottom>td{box-shadow:inset 0 -2px 0 0 #007ad9}.ui-table .ui-table-tbody>tr:nth-child(2n){background-color:#f9f9f9}.ui-table .ui-table-tbody>tr:nth-child(2n).ui-state-highlight{background-color:#007ad9;color:#fff}.ui-table .ui-table-tbody>tr:nth-child(2n).ui-state-highlight a{color:#fff}.ui-table .ui-table-tbody>tr:nth-child(2n).ui-contextmenu-selected{background-color:#007ad9;color:#fff}.ui-table.ui-table-hoverable-rows .ui-table-tbody>tr.ui-selectable-row:not(.ui-state-highlight):not(.ui-contextmenu-selected):hover{cursor:pointer;background-color:#eaeaea;color:#333}.ui-table .ui-column-resizer-helper{background-color:#007ad9}@media screen and (max-width:40em){.ui-table.ui-table-responsive .ui-table-tbody>tr>td{border:0}}.ui-table table{border-collapse:collapse;width:100%;table-layout:fixed}.ui-table .ui-table-tbody>tr>td,.ui-table .ui-table-tfoot>tr>td,.ui-table .ui-table-thead>tr>th{padding:.571em .857em}.ui-table .ui-sortable-column{cursor:pointer}.ui-table p-sorticon{vertical-align:middle}.ui-table .ui-table-auto-layout>.ui-table-wrapper{overflow-x:auto}.ui-table .ui-table-auto-layout>.ui-table-wrapper>table{table-layout:auto}.ui-table .ui-table-caption,.ui-table .ui-table-summary{padding:.25em .5em;text-align:center;font-weight:700}.ui-table .ui-table-caption{border-bottom:0}.ui-table .ui-table-summary{border-top:0}.ui-table .ui-table-scrollable-wrapper{position:relative}.ui-table .ui-table-scrollable-footer,.ui-table .ui-table-scrollable-header{overflow:hidden;border:0}.ui-table .ui-table-scrollable-body{overflow:auto;position:relative}.ui-table .ui-table-virtual-table{position:absolute}.ui-table .ui-table-loading-virtual-table{display:none}.ui-table .ui-table-frozen-view .ui-table-scrollable-body{overflow:hidden}.ui-table .ui-table-frozen-view>.ui-table-scrollable-body>table>.ui-table-tbody>tr>td:last-child{border-right:0}.ui-table .ui-table-unfrozen-view{position:absolute;top:0}.ui-table .ui-table-resizable>.ui-table-wrapper{overflow-x:auto}.ui-table .ui-table-resizable .ui-table-tbody>tr>td,.ui-table .ui-table-resizable .ui-table-tfoot>tr>td,.ui-table .ui-table-resizable .ui-table-thead>tr>th{overflow:hidden}.ui-table .ui-table-resizable .ui-resizable-column{background-clip:padding-box;position:relative}.ui-table .ui-table-resizable-fit .ui-resizable-column:last-child .ui-column-resizer{display:none}.ui-table .ui-column-resizer{display:block;position:absolute!important;top:0;right:0;margin:0;width:.5em;height:100%;padding:0;cursor:col-resize;border:1px solid transparent}.ui-table .ui-column-resizer-helper{width:1px;position:absolute;z-index:10;display:none}.ui-table .ui-table-tbody>tr>td.ui-editing-cell{padding:0}.ui-table .ui-table-tbody>tr>td.ui-editing-cell p-celleditor>*{width:100%}.ui-table .ui-table-reorder-indicator-down,.ui-table .ui-table-reorder-indicator-up{position:absolute;display:none}.ui-table .ui-table-responsive .ui-table-tbody>tr>td .ui-column-title{display:none}@media screen and (max-width:40em){.ui-table .ui-table-responsive .ui-table-tfoot>tr>td,.ui-table .ui-table-responsive .ui-table-thead>tr>th,.ui-table .ui-table-responsive colgroup{display:none!important}.ui-table .ui-table-responsive .ui-table-tbody>tr>td{text-align:left;display:block;border:0;width:100%!important;box-sizing:border-box;float:left;clear:left}.ui-table .ui-table-responsive .ui-table-tbody>tr>td .ui-column-title{padding:.4em;min-width:30%;display:inline-block;margin:-.4em 1em -.4em -.4em;font-weight:700}}.ui-table .ui-widget{font-family:Open Sans,Helvetica Neue,sans-serif;font-size:14px;text-decoration:none}.ui-table .page-item.disabled .page-link,.ui-table .page-link{background-color:transparent;border:none}.ui-table .page-item.disabled .page-link{box-shadow:none}.ui-table .pagination{margin-bottom:0}.ui-table .pagination-wrapper{display:flex;justify-content:center;border-top:0;padding:0}.ui-table .op-0{opacity:0}"]
1449
- },] }
1450
- ];
1451
- TableComponent.propDecorators = {
1452
- value: [{ type: i0.Input }],
1453
- headerTemplate: [{ type: i0.Input }],
1454
- bodyTemplate: [{ type: i0.Input }],
1455
- colgroupTemplate: [{ type: i0.Input }],
1456
- scrollHeight: [{ type: i0.Input }],
1457
- scrollable: [{ type: i0.Input }],
1458
- rows: [{ type: i0.Input }],
1459
- page: [{ type: i0.Input }],
1460
- trackingProp: [{ type: i0.Input }],
1461
- emptyMessage: [{ type: i0.Input }],
1462
- pageChange: [{ type: i0.Output }],
1463
- wrapperRef: [{ type: i0.ViewChild, args: ['wrapper', { read: i0.ElementRef },] }],
1464
- totalRecords: [{ type: i0.Input }]
1465
- };
1466
- function ltrCalculator(div) {
1467
- return "0 auto 0 -" + div.scrollLeft + "px";
1468
- }
1469
- function rtlCalculator(div) {
1470
- return "0 " + -(div.scrollWidth - div.clientWidth - div.scrollLeft) + "px 0 auto";
1471
- }
1212
+ ToastComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ToastComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
1213
+ ToastComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: ToastComponent, selector: "abp-toast", inputs: { toast: "toast" }, outputs: { remove: "remove" }, ngImport: i0__namespace, template: "<div class=\"abp-toast\" [ngClass]=\"severityClass\" (click)=\"tap()\">\n <div class=\"abp-toast-icon\">\n <i class=\"fa icon\" [ngClass]=\"iconClass\"></i>\n </div>\n <div class=\"abp-toast-content\">\n <button class=\"abp-toast-close-button\" (click)=\"close()\" *ngIf=\"toast.options.closable\">\n <i class=\"fa fa-times\"></i>\n </button>\n <div class=\"abp-toast-title\">\n {{ toast.title | abpLocalization: toast.options?.titleLocalizationParams }}\n </div>\n <p\n class=\"abp-toast-message\"\n [innerHTML]=\"toast.message | abpLocalization: toast.options?.messageLocalizationParams\"\n ></p>\n </div>\n</div>\n", styles: [".abp-toast{display:grid;grid-template-columns:50px 1fr;grid-gap:10px;gap:10px;margin:5px 0;padding:10px;border-radius:0;width:350px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:9999;border:2px solid #f0f0f0;background-color:#f0f0f0;color:#000;box-shadow:0 0 10px -5px #0006;opacity:1}.abp-toast:hover{border:2px solid #e3e3e3;background-color:#e3e3e3;box-shadow:0 0 15px -5px #0006}.abp-toast.abp-toast-success{border:2px solid #51a351;background-color:#51a351;color:#fff;box-shadow:0 0 10px -5px #0006}.abp-toast.abp-toast-success:hover{border:2px solid #499249;background-color:#499249;box-shadow:0 0 15px -5px #0006}.abp-toast.abp-toast-info{border:2px solid #2f96b4;background-color:#2f96b4;color:#fff;box-shadow:0 0 10px -5px #0006}.abp-toast.abp-toast-info:hover{border:2px solid #2a85a0;background-color:#2a85a0;box-shadow:0 0 15px -5px #0006}.abp-toast.abp-toast-warning{border:2px solid #f89406;background-color:#f89406;color:#fff;box-shadow:0 0 10px -5px #0006}.abp-toast.abp-toast-warning:hover{border:2px solid #df8505;background-color:#df8505;box-shadow:0 0 15px -5px #0006}.abp-toast.abp-toast-error{border:2px solid #bd362f;background-color:#bd362f;color:#fff;box-shadow:0 0 10px -5px #0006}.abp-toast.abp-toast-error:hover{border:2px solid #a9302a;background-color:#a9302a;box-shadow:0 0 15px -5px #0006}.abp-toast .abp-toast-icon{display:flex;align-items:center;justify-content:center}.abp-toast .abp-toast-icon .icon{font-size:36px}.abp-toast .abp-toast-content{position:relative}.abp-toast .abp-toast-content .abp-toast-close-button{position:absolute;top:0;right:0;display:flex;align-items:center;justify-content:center;margin:0;padding:0 5px 0 0;width:25px;height:25px;border:none;border-radius:50%;background:transparent;color:inherit}.abp-toast .abp-toast-content .abp-toast-close-button:focus{outline:none}.abp-toast .abp-toast-content .abp-toast-title{margin:0;padding:0;font-size:1rem;font-weight:600}.abp-toast .abp-toast-content .abp-toast-message{margin:0;padding:0;max-width:240px}\n"], directives: [{ type: i1__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "abpLocalization": i2__namespace.LocalizationPipe } });
1214
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ToastComponent, decorators: [{
1215
+ type: i0.Component,
1216
+ args: [{
1217
+ selector: 'abp-toast',
1218
+ templateUrl: './toast.component.html',
1219
+ styleUrls: ['./toast.component.scss'],
1220
+ }]
1221
+ }], propDecorators: { toast: [{
1222
+ type: i0.Input
1223
+ }], remove: [{
1224
+ type: i0.Output
1225
+ }] } });
1472
1226
 
1473
1227
  var ToastContainerComponent = /** @class */ (function () {
1474
1228
  function ToastContainerComponent() {
@@ -1493,202 +1247,119 @@
1493
1247
  };
1494
1248
  return ToastContainerComponent;
1495
1249
  }());
1496
- ToastContainerComponent.decorators = [
1497
- { type: i0.Component, args: [{
1498
- selector: 'abp-toast-container',
1499
- template: "<div\n class=\"abp-toast-container\"\n [style.top]=\"top || 'auto'\"\n [style.right]=\"right || 'auto'\"\n [style.bottom]=\"bottom || 'auto'\"\n [style.left]=\"left || 'auto'\"\n [style.display]=\"toasts.length ? 'flex' : 'none'\"\n [@toastInOut]=\"toasts.length\"\n>\n <abp-toast [toast]=\"toast\" *ngFor=\"let toast of toasts; trackBy: trackByFunc\"></abp-toast>\n</div>\n",
1500
- animations: [toastInOut],
1501
- styles: [".abp-toast-container{position:fixed;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;min-width:350px;min-height:80px;z-index:1900}.abp-toast-container.new-on-top{flex-direction:column-reverse}"]
1502
- },] }
1503
- ];
1504
- ToastContainerComponent.propDecorators = {
1505
- top: [{ type: i0.Input }],
1506
- right: [{ type: i0.Input }],
1507
- bottom: [{ type: i0.Input }],
1508
- left: [{ type: i0.Input }],
1509
- toastKey: [{ type: i0.Input }]
1250
+ ToastContainerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ToastContainerComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
1251
+ ToastContainerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: ToastContainerComponent, selector: "abp-toast-container", inputs: { top: "top", right: "right", bottom: "bottom", left: "left", toastKey: "toastKey" }, ngImport: i0__namespace, template: "<div\n class=\"abp-toast-container\"\n [style.top]=\"top || 'auto'\"\n [style.right]=\"right || 'auto'\"\n [style.bottom]=\"bottom || 'auto'\"\n [style.left]=\"left || 'auto'\"\n [style.display]=\"toasts.length ? 'flex' : 'none'\"\n [@toastInOut]=\"toasts.length\"\n>\n <abp-toast\n [toast]=\"toast\"\n *ngFor=\"let toast of toasts; trackBy: trackByFunc\"\n (remove)=\"remove($event)\"\n ></abp-toast>\n</div>\n", styles: [".abp-toast-container{position:fixed;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;min-width:350px;min-height:80px;z-index:1900}.abp-toast-container.new-on-top{flex-direction:column-reverse}\n"], components: [{ type: ToastComponent, selector: "abp-toast", inputs: ["toast"], outputs: ["remove"] }], directives: [{ type: i1__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], animations: [toastInOut] });
1252
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ToastContainerComponent, decorators: [{
1253
+ type: i0.Component,
1254
+ args: [{
1255
+ selector: 'abp-toast-container',
1256
+ templateUrl: './toast-container.component.html',
1257
+ styleUrls: ['./toast-container.component.scss'],
1258
+ animations: [toastInOut],
1259
+ }]
1260
+ }], propDecorators: { top: [{
1261
+ type: i0.Input
1262
+ }], right: [{
1263
+ type: i0.Input
1264
+ }], bottom: [{
1265
+ type: i0.Input
1266
+ }], left: [{
1267
+ type: i0.Input
1268
+ }], toastKey: [{
1269
+ type: i0.Input
1270
+ }] } });
1271
+
1272
+ var DEFAULT_VALIDATION_BLUEPRINTS = {
1273
+ creditCard: 'AbpValidation::ThisFieldIsNotAValidCreditCardNumber.',
1274
+ email: 'AbpValidation::ThisFieldIsNotAValidEmailAddress.',
1275
+ invalid: 'AbpValidation::ThisFieldIsNotValid.',
1276
+ max: 'AbpValidation::ThisFieldMustBeBetween{0}And{1}[{{ min }},{{ max }}]',
1277
+ maxlength: 'AbpValidation::ThisFieldMustBeAStringOrArrayTypeWithAMaximumLengthOf{0}[{{ requiredLength }}]',
1278
+ min: 'AbpValidation::ThisFieldMustBeBetween{0}And{1}[{{ min }},{{ max }}]',
1279
+ minlength: 'AbpValidation::ThisFieldMustBeAStringOrArrayTypeWithAMinimumLengthOf{0}[{{ requiredLength }}]',
1280
+ ngbDate: 'AbpValidation::ThisFieldIsNotValid.',
1281
+ passwordMismatch: 'AbpIdentity::Volo.Abp.Identity:PasswordConfirmationFailed',
1282
+ range: 'AbpValidation::ThisFieldMustBeBetween{0}And{1}[{{ min }},{{ max }}]',
1283
+ required: 'AbpValidation::ThisFieldIsRequired.',
1284
+ url: 'AbpValidation::ThisFieldIsNotAValidFullyQualifiedHttpHttpsOrFtpUrl',
1510
1285
  };
1511
1286
 
1512
- var ToasterService = /** @class */ (function () {
1513
- function ToasterService(contentProjectionService) {
1514
- this.contentProjectionService = contentProjectionService;
1515
- this.toasts$ = new rxjs.ReplaySubject(1);
1516
- this.lastId = -1;
1517
- this.toasts = [];
1287
+ var EllipsisDirective = /** @class */ (function () {
1288
+ function EllipsisDirective(cdRef, elRef) {
1289
+ this.cdRef = cdRef;
1290
+ this.elRef = elRef;
1291
+ this.enabled = true;
1518
1292
  }
1519
- ToasterService.prototype.setContainer = function () {
1520
- this.containerComponentRef = this.contentProjectionService.projectContent(i1.PROJECTION_STRATEGY.AppendComponentToBody(ToastContainerComponent, { toasts$: this.toasts$ }));
1521
- this.containerComponentRef.changeDetectorRef.detectChanges();
1522
- };
1523
- /**
1524
- * Creates an info toast with given parameters.
1525
- * @param message Content of the toast
1526
- * @param title Title of the toast
1527
- * @param options Spesific style or structural options for individual toast
1528
- */
1529
- ToasterService.prototype.info = function (message, title, options) {
1530
- return this.show(message, title, 'info', options);
1531
- };
1532
- /**
1533
- * Creates a success toast with given parameters.
1534
- * @param message Content of the toast
1535
- * @param title Title of the toast
1536
- * @param options Spesific style or structural options for individual toast
1537
- */
1538
- ToasterService.prototype.success = function (message, title, options) {
1539
- return this.show(message, title, 'success', options);
1293
+ Object.defineProperty(EllipsisDirective.prototype, "inlineClass", {
1294
+ get: function () {
1295
+ return this.enabled && this.width;
1296
+ },
1297
+ enumerable: false,
1298
+ configurable: true
1299
+ });
1300
+ Object.defineProperty(EllipsisDirective.prototype, "class", {
1301
+ get: function () {
1302
+ return this.enabled && !this.width;
1303
+ },
1304
+ enumerable: false,
1305
+ configurable: true
1306
+ });
1307
+ Object.defineProperty(EllipsisDirective.prototype, "maxWidth", {
1308
+ get: function () {
1309
+ return this.enabled && this.width ? this.width || '170px' : undefined;
1310
+ },
1311
+ enumerable: false,
1312
+ configurable: true
1313
+ });
1314
+ EllipsisDirective.prototype.ngAfterViewInit = function () {
1315
+ this.title = this.title || this.elRef.nativeElement.innerText;
1316
+ this.cdRef.detectChanges();
1540
1317
  };
1541
- /**
1542
- * Creates a warning toast with given parameters.
1543
- * @param message Content of the toast
1544
- * @param title Title of the toast
1545
- * @param options Spesific style or structural options for individual toast
1546
- */
1547
- ToasterService.prototype.warn = function (message, title, options) {
1548
- return this.show(message, title, 'warning', options);
1549
- };
1550
- /**
1551
- * Creates an error toast with given parameters.
1552
- * @param message Content of the toast
1553
- * @param title Title of the toast
1554
- * @param options Spesific style or structural options for individual toast
1555
- */
1556
- ToasterService.prototype.error = function (message, title, options) {
1557
- return this.show(message, title, 'error', options);
1558
- };
1559
- /**
1560
- * Creates a toast with given parameters.
1561
- * @param message Content of the toast
1562
- * @param title Title of the toast
1563
- * @param severity Sets color of the toast. "success", "warning" etc.
1564
- * @param options Spesific style or structural options for individual toast
1565
- */
1566
- ToasterService.prototype.show = function (message, title, severity, options) {
1567
- if (title === void 0) { title = null; }
1568
- if (severity === void 0) { severity = 'neutral'; }
1569
- if (options === void 0) { options = {}; }
1570
- if (!this.containerComponentRef)
1571
- this.setContainer();
1572
- var id = ++this.lastId;
1573
- this.toasts.push({
1574
- message: message,
1575
- title: title,
1576
- severity: severity,
1577
- options: Object.assign({ closable: true, id: id }, options),
1578
- });
1579
- this.toasts$.next(this.toasts);
1580
- return id;
1581
- };
1582
- /**
1583
- * Removes the toast with given id.
1584
- * @param id ID of the toast to be removed.
1585
- */
1586
- ToasterService.prototype.remove = function (id) {
1587
- this.toasts = this.toasts.filter(function (toast) { return snq__default['default'](function () { return toast.options.id; }) !== id; });
1588
- this.toasts$.next(this.toasts);
1589
- };
1590
- /**
1591
- * Removes all open toasts at once.
1592
- */
1593
- ToasterService.prototype.clear = function (containerKey) {
1594
- this.toasts = !containerKey
1595
- ? []
1596
- : this.toasts.filter(function (toast) { return snq__default['default'](function () { return toast.options.containerKey; }) !== containerKey; });
1597
- this.toasts$.next(this.toasts);
1598
- };
1599
- return ToasterService;
1318
+ return EllipsisDirective;
1600
1319
  }());
1601
- ToasterServiceprov = i0__namespace.ɵɵdefineInjectable({ factory: function ToasterService_Factory() { return new ToasterService(i0__namespace.ɵɵinject(i1__namespace.ContentProjectionService)); }, token: ToasterService, providedIn: "root" });
1602
- ToasterService.decorators = [
1603
- { type: i0.Injectable, args: [{
1604
- providedIn: 'root',
1605
- },] }
1606
- ];
1607
- ToasterService.ctorParameters = function () { return [
1608
- { type: i1.ContentProjectionService }
1609
- ]; };
1610
-
1611
- var ToastComponent = /** @class */ (function () {
1612
- function ToastComponent(toasterService) {
1613
- this.toasterService = toasterService;
1320
+ EllipsisDirectivefac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: EllipsisDirective, deps: [{ token: i0__namespace.ChangeDetectorRef }, { token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
1321
+ EllipsisDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.6", type: EllipsisDirective, selector: "[abpEllipsis]", inputs: { width: ["abpEllipsis", "width"], title: "title", enabled: ["abpEllipsisEnabled", "enabled"] }, host: { properties: { "title": "this.title", "class.abp-ellipsis-inline": "this.inlineClass", "class.abp-ellipsis": "this.class", "style.max-width": "this.maxWidth" } }, ngImport: i0__namespace });
1322
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: EllipsisDirective, decorators: [{
1323
+ type: i0.Directive,
1324
+ args: [{
1325
+ selector: '[abpEllipsis]',
1326
+ }]
1327
+ }], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }, { type: i0__namespace.ElementRef }]; }, propDecorators: { width: [{
1328
+ type: i0.Input,
1329
+ args: ['abpEllipsis']
1330
+ }], title: [{
1331
+ type: i0.HostBinding,
1332
+ args: ['title']
1333
+ }, {
1334
+ type: i0.Input
1335
+ }], enabled: [{
1336
+ type: i0.Input,
1337
+ args: ['abpEllipsisEnabled']
1338
+ }], inlineClass: [{
1339
+ type: i0.HostBinding,
1340
+ args: ['class.abp-ellipsis-inline']
1341
+ }], class: [{
1342
+ type: i0.HostBinding,
1343
+ args: ['class.abp-ellipsis']
1344
+ }], maxWidth: [{
1345
+ type: i0.HostBinding,
1346
+ args: ['style.max-width']
1347
+ }] } });
1348
+ var EllipsisModule = /** @class */ (function () {
1349
+ function EllipsisModule() {
1614
1350
  }
1615
- Object.defineProperty(ToastComponent.prototype, "severityClass", {
1616
- get: function () {
1617
- if (!this.toast || !this.toast.severity)
1618
- return '';
1619
- return "abp-toast-" + this.toast.severity;
1620
- },
1621
- enumerable: false,
1622
- configurable: true
1623
- });
1624
- Object.defineProperty(ToastComponent.prototype, "iconClass", {
1625
- get: function () {
1626
- switch (this.toast.severity) {
1627
- case 'success':
1628
- return 'fa-check-circle';
1629
- case 'info':
1630
- return 'fa-info-circle';
1631
- case 'warning':
1632
- return 'fa-exclamation-triangle';
1633
- case 'error':
1634
- return 'fa-times-circle';
1635
- default:
1636
- return 'fa-exclamation-circle';
1637
- }
1638
- },
1639
- enumerable: false,
1640
- configurable: true
1641
- });
1642
- ToastComponent.prototype.ngOnInit = function () {
1643
- var _this = this;
1644
- if (snq__default['default'](function () { return _this.toast.options.sticky; }))
1645
- return;
1646
- var timeout = snq__default['default'](function () { return _this.toast.options.life; }) || 5000;
1647
- setTimeout(function () {
1648
- _this.close();
1649
- }, timeout);
1650
- };
1651
- ToastComponent.prototype.close = function () {
1652
- this.toasterService.remove(this.toast.options.id);
1653
- };
1654
- ToastComponent.prototype.tap = function () {
1655
- var _a;
1656
- if ((_a = this.toast.options) === null || _a === void 0 ? void 0 : _a.tapToDismiss)
1657
- this.close();
1658
- };
1659
- return ToastComponent;
1351
+ return EllipsisModule;
1660
1352
  }());
1661
- ToastComponent.decorators = [
1662
- { type: i0.Component, args: [{
1663
- selector: 'abp-toast',
1664
- template: "<div class=\"abp-toast\" [ngClass]=\"severityClass\" (click)=\"tap()\">\n <div class=\"abp-toast-icon\">\n <i class=\"fa icon\" [ngClass]=\"iconClass\"></i>\n </div>\n <div class=\"abp-toast-content\">\n <button class=\"abp-toast-close-button\" (click)=\"close()\" *ngIf=\"toast.options.closable\">\n <i class=\"fa fa-times\"></i>\n </button>\n <div class=\"abp-toast-title\">\n {{ toast.title | abpLocalization: toast.options?.titleLocalizationParams }}\n </div>\n <p\n class=\"abp-toast-message\"\n [innerHTML]=\"toast.message | abpLocalization: toast.options?.messageLocalizationParams\"\n ></p>\n </div>\n</div>\n",
1665
- styles: [".abp-toast{display:grid;grid-template-columns:50px 1fr;gap:10px;margin:5px 0;padding:10px;border-radius:0;width:350px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:9999;border:2px solid #f0f0f0;background-color:#f0f0f0;color:#000;box-shadow:0 0 10px -5px rgba(0,0,0,.4);opacity:1}.abp-toast:hover{border:2px solid #e3e3e3;background-color:#e3e3e3;box-shadow:0 0 15px -5px rgba(0,0,0,.4)}.abp-toast.abp-toast-success{border:2px solid #51a351;background-color:#51a351;color:#fff;box-shadow:0 0 10px -5px rgba(0,0,0,.4)}.abp-toast.abp-toast-success:hover{border:2px solid #499249;background-color:#499249;box-shadow:0 0 15px -5px rgba(0,0,0,.4)}.abp-toast.abp-toast-info{border:2px solid #2f96b4;background-color:#2f96b4;color:#fff;box-shadow:0 0 10px -5px rgba(0,0,0,.4)}.abp-toast.abp-toast-info:hover{border:2px solid #2a85a0;background-color:#2a85a0;box-shadow:0 0 15px -5px rgba(0,0,0,.4)}.abp-toast.abp-toast-warning{border:2px solid #f89406;background-color:#f89406;color:#fff;box-shadow:0 0 10px -5px rgba(0,0,0,.4)}.abp-toast.abp-toast-warning:hover{border:2px solid #df8505;background-color:#df8505;box-shadow:0 0 15px -5px rgba(0,0,0,.4)}.abp-toast.abp-toast-error{border:2px solid #bd362f;background-color:#bd362f;color:#fff;box-shadow:0 0 10px -5px rgba(0,0,0,.4)}.abp-toast.abp-toast-error:hover{border:2px solid #a9302a;background-color:#a9302a;box-shadow:0 0 15px -5px rgba(0,0,0,.4)}.abp-toast .abp-toast-icon{display:flex;align-items:center;justify-content:center}.abp-toast .abp-toast-icon .icon{font-size:36px}.abp-toast .abp-toast-content{position:relative}.abp-toast .abp-toast-content .abp-toast-close-button{position:absolute;top:0;right:0;display:flex;align-items:center;justify-content:center;margin:0;padding:0 5px 0 0;width:25px;height:25px;border:none;border-radius:50%;background:transparent;color:inherit}.abp-toast .abp-toast-content .abp-toast-close-button:focus{outline:none}.abp-toast .abp-toast-content .abp-toast-title{margin:0;padding:0;font-size:1rem;font-weight:600}.abp-toast .abp-toast-content .abp-toast-message{margin:0;padding:0;max-width:240px}"]
1666
- },] }
1667
- ];
1668
- ToastComponent.ctorParameters = function () { return [
1669
- { type: ToasterService }
1670
- ]; };
1671
- ToastComponent.propDecorators = {
1672
- toast: [{ type: i0.Input }]
1673
- };
1674
-
1675
- var styles = "\n.is-invalid .form-control {\n border-color: #dc3545;\n border-style: solid !important;\n padding-right: calc(1.5em + .75rem);\n background-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e);\n background-repeat: no-repeat;\n background-position: right calc(.375em + .1875rem) center;\n background-size: calc(.75em + .375rem) calc(.75em + .375rem);\n}\n\n.is-invalid .invalid-feedback,\n.is-invalid + * .invalid-feedback {\n display: block;\n}\n\n.data-tables-filter {\n text-align: right;\n}\n\n[dir=rtl] .data-tables-filter {\n text-align: left;\n}\n\n.pointer {\n cursor: pointer;\n}\n\n.navbar .dropdown-submenu a::after {\n transform: rotate(-90deg);\n position: absolute;\n right: 16px;\n top: 18px;\n}\n\n.navbar .dropdown-menu {\n min-width: 215px;\n}\n\n.datatable-scroll {\n margin-bottom: 5px !important;\n width: unset !important;\n}\n\n.ui-table-scrollable-body::-webkit-scrollbar {\n height: 5px !important;\n width: 5px !important;\n}\n\n.ui-table-scrollable-body::-webkit-scrollbar-track {\n background: #ddd;\n}\n\n.ui-table-scrollable-body::-webkit-scrollbar-thumb {\n background: #8a8686;\n}\n\n.abp-ellipsis-inline {\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.abp-ellipsis {\n overflow: hidden !important;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.ui-widget-overlay {\n z-index: 1000;\n}\n\n.color-white {\n color: #FFF !important;\n}\n\n.custom-checkbox > label {\n cursor: pointer;\n}\n\n/* <animations */\n\n.fade-in-top {\n animation: fadeInTop 0.2s ease-in-out;\n}\n\n.fade-out-top {\n animation: fadeOutTop 0.2s ease-in-out;\n}\n\n.abp-collapsed-height {\n -moz-transition: max-height linear 0.35s;\n -ms-transition: max-height linear 0.35s;\n -o-transition: max-height linear 0.35s;\n -webkit-transition: max-height linear 0.35s;\n overflow:hidden;\n transition:max-height 0.35s linear;\n height:auto;\n max-height: 0;\n}\n\n.abp-mh-25 {\n max-height: 25vh;\n}\n\n.abp-mh-50 {\n transition:max-height 0.65s linear;\n max-height: 50vh;\n}\n\n.abp-mh-75 {\n transition:max-height 0.85s linear;\n max-height: 75vh;\n}\n\n.abp-mh-100 {\n transition:max-height 1s linear;\n max-height: 100vh;\n}\n\n[class^=\"sorting\"] {\n opacity: .3;\n cursor: pointer;\n}\n[class^=\"sorting\"]:before {\n right: 0.5rem;\n content: \"\u2191\";\n}\n[class^=\"sorting\"]:after {\n right: 0.5rem;\n content: \"\u2193\";\n}\n\n.sorting_desc {\n opacity: 1;\n}\n.sorting_desc:before {\n opacity: .3;\n}\n\n.sorting_asc {\n opacity: 1;\n}\n.sorting_asc:after {\n opacity: .3;\n}\n.ngx-datatable.material {\n box-shadow: none;\n}\nngb-typeahead-window, ngb-typeahead-window.dropdown-menu {\n max-height: 25em;\n overflow-y: scroll !important;\n z-index: 1050;\n}\n\n@keyframes fadeInTop {\n from {\n transform: translateY(-5px);\n opacity: 0;\n }\n\n to {\n transform: translateY(0px);\n opacity: 1;\n }\n}\n\n@keyframes fadeOutTop {\n to {\n transform: translateY(-5px);\n opacity: 0;\n }\n}\n\n/* </animations */\n\n";
1676
- var BOOTSTRAP = 'bootstrap-{{dir}}.min.css';
1677
-
1678
- var DEFAULT_VALIDATION_BLUEPRINTS = {
1679
- creditCard: 'AbpValidation::ThisFieldIsNotAValidCreditCardNumber.',
1680
- email: 'AbpValidation::ThisFieldIsNotAValidEmailAddress.',
1681
- invalid: 'AbpValidation::ThisFieldIsNotValid.',
1682
- max: 'AbpValidation::ThisFieldMustBeBetween{0}And{1}[{{ min }},{{ max }}]',
1683
- maxlength: 'AbpValidation::ThisFieldMustBeAStringOrArrayTypeWithAMaximumLengthOf{0}[{{ requiredLength }}]',
1684
- min: 'AbpValidation::ThisFieldMustBeBetween{0}And{1}[{{ min }},{{ max }}]',
1685
- minlength: 'AbpValidation::ThisFieldMustBeAStringOrArrayTypeWithAMinimumLengthOf{0}[{{ requiredLength }}]',
1686
- ngbDate: 'AbpValidation::ThisFieldIsNotValid.',
1687
- passwordMismatch: 'AbpIdentity::Volo.Abp.Identity:PasswordConfirmationFailed',
1688
- range: 'AbpValidation::ThisFieldMustBeBetween{0}And{1}[{{ min }},{{ max }}]',
1689
- required: 'AbpValidation::ThisFieldIsRequired.',
1690
- url: 'AbpValidation::ThisFieldIsNotAValidFullyQualifiedHttpHttpsOrFtpUrl',
1691
- };
1353
+ EllipsisModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: EllipsisModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
1354
+ EllipsisModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: EllipsisModule, declarations: [EllipsisDirective], exports: [EllipsisDirective] });
1355
+ EllipsisModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: EllipsisModule });
1356
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: EllipsisModule, decorators: [{
1357
+ type: i0.NgModule,
1358
+ args: [{
1359
+ exports: [EllipsisDirective],
1360
+ declarations: [EllipsisDirective],
1361
+ }]
1362
+ }] });
1692
1363
 
1693
1364
  var LoadingDirective = /** @class */ (function () {
1694
1365
  function LoadingDirective(elRef, vcRef, cdRes, injector, renderer) {
@@ -1759,22 +1430,24 @@
1759
1430
  };
1760
1431
  return LoadingDirective;
1761
1432
  }());
1762
- LoadingDirective.decorators = [
1763
- { type: i0.Directive, args: [{ selector: '[abpLoading]' },] }
1764
- ];
1765
- LoadingDirective.ctorParameters = function () { return [
1766
- { type: i0.ElementRef },
1767
- { type: i0.ViewContainerRef },
1768
- { type: i0.ComponentFactoryResolver },
1769
- { type: i0.Injector },
1770
- { type: i0.Renderer2 }
1771
- ]; };
1772
- LoadingDirective.propDecorators = {
1773
- position: [{ type: i0.HostBinding, args: ['style.position',] }],
1774
- loading: [{ type: i0.Input, args: ['abpLoading',] }],
1775
- targetElement: [{ type: i0.Input, args: ['abpLoadingTargetElement',] }],
1776
- delay: [{ type: i0.Input, args: ['abpLoadingDelay',] }]
1777
- };
1433
+ LoadingDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: LoadingDirective, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ViewContainerRef }, { token: i0__namespace.ComponentFactoryResolver }, { token: i0__namespace.Injector }, { token: i0__namespace.Renderer2 }], target: i0__namespace.ɵɵFactoryTarget.Directive });
1434
+ LoadingDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.6", type: LoadingDirective, selector: "[abpLoading]", inputs: { loading: ["abpLoading", "loading"], targetElement: ["abpLoadingTargetElement", "targetElement"], delay: ["abpLoadingDelay", "delay"] }, host: { properties: { "style.position": "this.position" } }, ngImport: i0__namespace });
1435
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: LoadingDirective, decorators: [{
1436
+ type: i0.Directive,
1437
+ args: [{ selector: '[abpLoading]' }]
1438
+ }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ViewContainerRef }, { type: i0__namespace.ComponentFactoryResolver }, { type: i0__namespace.Injector }, { type: i0__namespace.Renderer2 }]; }, propDecorators: { position: [{
1439
+ type: i0.HostBinding,
1440
+ args: ['style.position']
1441
+ }], loading: [{
1442
+ type: i0.Input,
1443
+ args: ['abpLoading']
1444
+ }], targetElement: [{
1445
+ type: i0.Input,
1446
+ args: ['abpLoadingTargetElement']
1447
+ }], delay: [{
1448
+ type: i0.Input,
1449
+ args: ['abpLoadingDelay']
1450
+ }] } });
1778
1451
 
1779
1452
  var NgxDatatableDefaultDirective = /** @class */ (function () {
1780
1453
  function NgxDatatableDefaultDirective(table, document) {
@@ -1783,7 +1456,7 @@
1783
1456
  this.subscription = new rxjs.Subscription();
1784
1457
  this.resizeDiff = 0;
1785
1458
  this.class = 'material bordered';
1786
- this.table.columnMode = ngxDatatable.ColumnMode.force;
1459
+ this.table.columnMode = i1$2.ColumnMode.force;
1787
1460
  this.table.footerHeight = 50;
1788
1461
  this.table.headerHeight = 50;
1789
1462
  this.table.rowHeight = 'auto';
@@ -1831,21 +1504,26 @@
1831
1504
  };
1832
1505
  return NgxDatatableDefaultDirective;
1833
1506
  }());
1834
- NgxDatatableDefaultDirective.decorators = [
1835
- { type: i0.Directive, args: [{
1836
- // tslint:disable-next-line
1837
- selector: 'ngx-datatable[default]',
1838
- exportAs: 'ngxDatatableDefault',
1839
- },] }
1840
- ];
1841
- NgxDatatableDefaultDirective.ctorParameters = function () { return [
1842
- { type: ngxDatatable.DatatableComponent },
1843
- { type: undefined, decorators: [{ type: i0.Inject, args: [common.DOCUMENT,] }] }
1844
- ]; };
1845
- NgxDatatableDefaultDirective.propDecorators = {
1846
- class: [{ type: i0.Input }],
1847
- classes: [{ type: i0.HostBinding, args: ['class',] }]
1848
- };
1507
+ NgxDatatableDefaultDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: NgxDatatableDefaultDirective, deps: [{ token: i1__namespace$2.DatatableComponent }, { token: i1.DOCUMENT }], target: i0__namespace.ɵɵFactoryTarget.Directive });
1508
+ NgxDatatableDefaultDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.6", type: NgxDatatableDefaultDirective, selector: "ngx-datatable[default]", inputs: { class: "class" }, host: { properties: { "class": "this.classes" } }, exportAs: ["ngxDatatableDefault"], ngImport: i0__namespace });
1509
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: NgxDatatableDefaultDirective, decorators: [{
1510
+ type: i0.Directive,
1511
+ args: [{
1512
+ // eslint-disable-next-line @angular-eslint/directive-selector
1513
+ selector: 'ngx-datatable[default]',
1514
+ exportAs: 'ngxDatatableDefault',
1515
+ }]
1516
+ }], ctorParameters: function () {
1517
+ return [{ type: i1__namespace$2.DatatableComponent }, { type: undefined, decorators: [{
1518
+ type: i0.Inject,
1519
+ args: [i1.DOCUMENT]
1520
+ }] }];
1521
+ }, propDecorators: { class: [{
1522
+ type: i0.Input
1523
+ }], classes: [{
1524
+ type: i0.HostBinding,
1525
+ args: ['class']
1526
+ }] } });
1849
1527
 
1850
1528
  var defaultNgxDatatableMessages = {
1851
1529
  emptyMessage: 'AbpUi::NoDataAvailableInDatatable',
@@ -1929,129 +1607,55 @@
1929
1607
  };
1930
1608
  return NgxDatatableListDirective;
1931
1609
  }());
1932
- NgxDatatableListDirective.decorators = [
1933
- { type: i0.Directive, args: [{
1934
- // tslint:disable-next-line
1935
- selector: 'ngx-datatable[list]',
1936
- exportAs: 'ngxDatatableList',
1937
- },] }
1938
- ];
1939
- NgxDatatableListDirective.ctorParameters = function () { return [
1940
- { type: ngxDatatable.DatatableComponent },
1941
- { type: i0.ChangeDetectorRef },
1942
- { type: i1.LocalizationService },
1943
- { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [NGX_DATATABLE_MESSAGES,] }] }
1944
- ]; };
1945
- NgxDatatableListDirective.propDecorators = {
1946
- list: [{ type: i0.Input }]
1947
- };
1610
+ NgxDatatableListDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: NgxDatatableListDirective, deps: [{ token: i1__namespace$2.DatatableComponent }, { token: i0__namespace.ChangeDetectorRef }, { token: i2__namespace.LocalizationService }, { token: NGX_DATATABLE_MESSAGES, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Directive });
1611
+ NgxDatatableListDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.6", type: NgxDatatableListDirective, selector: "ngx-datatable[list]", inputs: { list: "list" }, exportAs: ["ngxDatatableList"], usesOnChanges: true, ngImport: i0__namespace });
1612
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: NgxDatatableListDirective, decorators: [{
1613
+ type: i0.Directive,
1614
+ args: [{
1615
+ // eslint-disable-next-line @angular-eslint/directive-selector
1616
+ selector: 'ngx-datatable[list]',
1617
+ exportAs: 'ngxDatatableList',
1618
+ }]
1619
+ }], ctorParameters: function () {
1620
+ return [{ type: i1__namespace$2.DatatableComponent }, { type: i0__namespace.ChangeDetectorRef }, { type: i2__namespace.LocalizationService }, { type: undefined, decorators: [{
1621
+ type: i0.Optional
1622
+ }, {
1623
+ type: i0.Inject,
1624
+ args: [NGX_DATATABLE_MESSAGES]
1625
+ }] }];
1626
+ }, propDecorators: { list: [{
1627
+ type: i0.Input
1628
+ }] } });
1948
1629
 
1949
- /**
1950
- *
1951
- * @deprecated To be deleted in v5.0
1952
- */
1953
- var TableSortDirective = /** @class */ (function () {
1954
- function TableSortDirective(abpTable, sortPipe, cdRef) {
1955
- this.abpTable = abpTable;
1956
- this.sortPipe = sortPipe;
1957
- this.cdRef = cdRef;
1958
- this.value = [];
1630
+ var DocumentDirHandlerService = /** @class */ (function () {
1631
+ function DocumentDirHandlerService(injector) {
1632
+ this.injector = injector;
1633
+ this.dir = new rxjs.BehaviorSubject('ltr');
1634
+ this.dir$ = this.dir.asObservable();
1635
+ this.listenToLanguageChanges();
1959
1636
  }
1960
- Object.defineProperty(TableSortDirective.prototype, "table", {
1961
- get: function () {
1962
- var _this = this;
1963
- return (this.abpTable || snq__default['default'](function () { return _this.cdRef['_view'].component; }) || snq__default['default'](function () { return _this.cdRef['context']; }) // 'context' for ivy
1964
- );
1965
- },
1966
- enumerable: false,
1967
- configurable: true
1968
- });
1969
- TableSortDirective.prototype.ngOnChanges = function (_a) {
1970
- var value = _a.value, abpTableSort = _a.abpTableSort;
1971
- if (this.table && (value || abpTableSort)) {
1972
- this.abpTableSort = this.abpTableSort || {};
1973
- this.table.value = this.sortPipe.transform(clone__default['default'](this.value), this.abpTableSort.order, this.abpTableSort.key);
1974
- }
1637
+ DocumentDirHandlerService.prototype.listenToLanguageChanges = function () {
1638
+ var _this = this;
1639
+ var l10n = this.injector.get(i2.LocalizationService);
1640
+ // will always listen, no need to unsubscribe
1641
+ l10n.languageChange$
1642
+ .pipe(operators.startWith(l10n.currentLang), operators.map(function (locale) { return i2.getLocaleDirection(locale); }))
1643
+ .subscribe(function (dir) {
1644
+ _this.dir.next(dir);
1645
+ _this.setBodyDir(dir);
1646
+ });
1975
1647
  };
1976
- return TableSortDirective;
1977
- }());
1978
- TableSortDirective.decorators = [
1979
- { type: i0.Directive, args: [{
1980
- selector: '[abpTableSort]',
1981
- providers: [i1.SortPipe],
1982
- },] }
1983
- ];
1984
- TableSortDirective.ctorParameters = function () { return [
1985
- { type: TableComponent, decorators: [{ type: i0.Host }, { type: i0.Optional }, { type: i0.Self }] },
1986
- { type: i1.SortPipe },
1987
- { type: i0.ChangeDetectorRef }
1988
- ]; };
1989
- TableSortDirective.propDecorators = {
1990
- abpTableSort: [{ type: i0.Input }],
1991
- value: [{ type: i0.Input }]
1992
- };
1993
-
1994
- var EllipsisDirective = /** @class */ (function () {
1995
- function EllipsisDirective(cdRef, elRef) {
1996
- this.cdRef = cdRef;
1997
- this.elRef = elRef;
1998
- this.enabled = true;
1999
- }
2000
- Object.defineProperty(EllipsisDirective.prototype, "inlineClass", {
2001
- get: function () {
2002
- return this.enabled && this.width;
2003
- },
2004
- enumerable: false,
2005
- configurable: true
2006
- });
2007
- Object.defineProperty(EllipsisDirective.prototype, "class", {
2008
- get: function () {
2009
- return this.enabled && !this.width;
2010
- },
2011
- enumerable: false,
2012
- configurable: true
2013
- });
2014
- Object.defineProperty(EllipsisDirective.prototype, "maxWidth", {
2015
- get: function () {
2016
- return this.enabled && this.width ? this.width || '170px' : undefined;
2017
- },
2018
- enumerable: false,
2019
- configurable: true
2020
- });
2021
- EllipsisDirective.prototype.ngAfterViewInit = function () {
2022
- this.title = this.title || this.elRef.nativeElement.innerText;
2023
- this.cdRef.detectChanges();
1648
+ DocumentDirHandlerService.prototype.setBodyDir = function (dir) {
1649
+ document.body.dir = dir;
1650
+ document.dir = dir;
2024
1651
  };
2025
- return EllipsisDirective;
2026
- }());
2027
- EllipsisDirective.decorators = [
2028
- { type: i0.Directive, args: [{
2029
- selector: '[abpEllipsis]',
2030
- },] }
2031
- ];
2032
- EllipsisDirective.ctorParameters = function () { return [
2033
- { type: i0.ChangeDetectorRef },
2034
- { type: i0.ElementRef }
2035
- ]; };
2036
- EllipsisDirective.propDecorators = {
2037
- width: [{ type: i0.Input, args: ['abpEllipsis',] }],
2038
- title: [{ type: i0.HostBinding, args: ['title',] }, { type: i0.Input }],
2039
- enabled: [{ type: i0.Input, args: ['abpEllipsisEnabled',] }],
2040
- inlineClass: [{ type: i0.HostBinding, args: ['class.abp-ellipsis-inline',] }],
2041
- class: [{ type: i0.HostBinding, args: ['class.abp-ellipsis',] }],
2042
- maxWidth: [{ type: i0.HostBinding, args: ['style.max-width',] }]
2043
- };
2044
- var EllipsisModule = /** @class */ (function () {
2045
- function EllipsisModule() {
2046
- }
2047
- return EllipsisModule;
1652
+ return DocumentDirHandlerService;
2048
1653
  }());
2049
- EllipsisModule.decorators = [
2050
- { type: i0.NgModule, args: [{
2051
- exports: [EllipsisDirective],
2052
- declarations: [EllipsisDirective],
2053
- },] }
2054
- ];
1654
+ DocumentDirHandlerService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: DocumentDirHandlerService, deps: [{ token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
1655
+ DocumentDirHandlerService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: DocumentDirHandlerService });
1656
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: DocumentDirHandlerService, decorators: [{
1657
+ type: i0.Injectable
1658
+ }], ctorParameters: function () { return [{ type: i0__namespace.Injector }]; } });
2055
1659
 
2056
1660
  function httpErrorConfigFactory(config) {
2057
1661
  if (config === void 0) { config = {}; }
@@ -2108,15 +1712,9 @@
2108
1712
  },
2109
1713
  };
2110
1714
  var ErrorHandler = /** @class */ (function () {
2111
- function ErrorHandler(actions, routerEvents, confirmationService, cfRes, rendererFactory, injector, httpErrorConfig) {
1715
+ function ErrorHandler(injector) {
2112
1716
  var _this = this;
2113
- this.actions = actions;
2114
- this.routerEvents = routerEvents;
2115
- this.confirmationService = confirmationService;
2116
- this.cfRes = cfRes;
2117
- this.rendererFactory = rendererFactory;
2118
1717
  this.injector = injector;
2119
- this.httpErrorConfig = httpErrorConfig;
2120
1718
  this.httpErrorHandler = this.injector.get(HTTP_ERROR_HANDLER, function (_, err) { return rxjs.throwError(err); });
2121
1719
  this.executeErrorHandler = function (error) {
2122
1720
  var returnValue = _this.httpErrorHandler(_this.injector, error);
@@ -2125,16 +1723,23 @@
2125
1723
  return rxjs.of(null);
2126
1724
  }));
2127
1725
  };
2128
- this.filterRestErrors = function (_a) {
2129
- var status = _a.status;
1726
+ this.filterRestErrors = function (_f) {
1727
+ var status = _f.status;
2130
1728
  if (typeof status !== 'number')
2131
1729
  return false;
2132
1730
  return _this.httpErrorConfig.skipHandledErrorCodes.findIndex(function (code) { return code === status; }) < 0;
2133
1731
  };
2134
1732
  this.filterRouteErrors = function (navigationError) {
2135
- return (snq__default['default'](function () { return navigationError.error.message.indexOf('Cannot match') > -1; }) &&
1733
+ var _a, _b;
1734
+ return (((_b = (_a = navigationError.error) === null || _a === void 0 ? void 0 : _a.message) === null || _b === void 0 ? void 0 : _b.indexOf('Cannot match')) > -1 &&
2136
1735
  _this.httpErrorConfig.skipHandledErrorCodes.findIndex(function (code) { return code === 404; }) < 0);
2137
1736
  };
1737
+ this.httpErrorReporter = injector.get(i2.HttpErrorReporterService);
1738
+ this.routerEvents = injector.get(i2.RouterEvents);
1739
+ this.confirmationService = injector.get(ConfirmationService);
1740
+ this.cfRes = injector.get(i0.ComponentFactoryResolver);
1741
+ this.rendererFactory = injector.get(i0.RendererFactory2);
1742
+ this.httpErrorConfig = injector.get('HTTP_ERROR_CONFIG');
2138
1743
  this.listenToRestError();
2139
1744
  this.listenToRouterError();
2140
1745
  this.listenToRouterDataResolved();
@@ -2149,7 +1754,7 @@
2149
1754
  ErrorHandler.prototype.listenToRouterDataResolved = function () {
2150
1755
  var _this = this;
2151
1756
  this.routerEvents
2152
- .getEvents(router.ResolveEnd)
1757
+ .getEvents(i1$1.ResolveEnd)
2153
1758
  .pipe(operators.filter(function () { return !!_this.componentRef; }))
2154
1759
  .subscribe(function () {
2155
1760
  _this.componentRef.destroy();
@@ -2157,16 +1762,17 @@
2157
1762
  });
2158
1763
  };
2159
1764
  ErrorHandler.prototype.listenToRestError = function () {
2160
- this.actions
2161
- .pipe(i1$1.ofActionSuccessful(i1.RestOccurError), operators.map(function (action) { return action.payload; }), operators.filter(this.filterRestErrors), operators.switchMap(this.executeErrorHandler))
1765
+ this.httpErrorReporter.reporter$
1766
+ .pipe(operators.filter(this.filterRestErrors), operators.switchMap(this.executeErrorHandler))
2162
1767
  .subscribe();
2163
1768
  };
2164
1769
  ErrorHandler.prototype.handleError = function (err) {
2165
1770
  var _this = this;
2166
- var body = snq__default['default'](function () { return err.error.error; }, {
1771
+ var _a;
1772
+ var body = ((_a = err === null || err === void 0 ? void 0 : err.error) === null || _a === void 0 ? void 0 : _a.error) || {
2167
1773
  key: DEFAULT_ERROR_LOCALIZATIONS.defaultError.title,
2168
1774
  defaultValue: DEFAULT_ERROR_MESSAGES.defaultError.title,
2169
- });
1775
+ };
2170
1776
  if (err instanceof http.HttpErrorResponse && err.headers.get('_AbpErrorFormat')) {
2171
1777
  var confirmation$ = this.showError(null, null, body);
2172
1778
  if (err.status === 401) {
@@ -2293,7 +1899,7 @@
2293
1899
  });
2294
1900
  };
2295
1901
  ErrorHandler.prototype.navigateToLogin = function () {
2296
- this.injector.get(i1.AuthService).navigateToLogin();
1902
+ this.injector.get(i2.AuthService).navigateToLogin();
2297
1903
  };
2298
1904
  ErrorHandler.prototype.createErrorComponent = function (instance) {
2299
1905
  var _this = this;
@@ -2304,7 +1910,7 @@
2304
1910
  .create(this.injector);
2305
1911
  for (var key in instance) {
2306
1912
  /* istanbul ignore else */
2307
- if (this.componentRef.instance.hasOwnProperty(key)) {
1913
+ if (Object.prototype.hasOwnProperty.call(this.componentRef.instance, key)) {
2308
1914
  this.componentRef.instance[key] = instance[key];
2309
1915
  }
2310
1916
  }
@@ -2326,118 +1932,18 @@
2326
1932
  });
2327
1933
  };
2328
1934
  ErrorHandler.prototype.canCreateCustomError = function (status) {
2329
- var _this = this;
2330
- return snq__default['default'](function () { return _this.httpErrorConfig.errorScreen.component &&
2331
- _this.httpErrorConfig.errorScreen.forWhichErrors.indexOf(status) > -1; });
1935
+ var _a, _b, _c, _d, _e;
1936
+ return (((_b = (_a = this.httpErrorConfig) === null || _a === void 0 ? void 0 : _a.errorScreen) === null || _b === void 0 ? void 0 : _b.component) &&
1937
+ ((_e = (_d = (_c = this.httpErrorConfig) === null || _c === void 0 ? void 0 : _c.errorScreen) === null || _d === void 0 ? void 0 : _d.forWhichErrors) === null || _e === void 0 ? void 0 : _e.indexOf(status)) > -1);
2332
1938
  };
2333
1939
  return ErrorHandler;
2334
1940
  }());
2335
- ErrorHandler.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function ErrorHandler_Factory() { return new ErrorHandler(i0__namespace.ɵɵinject(i1__namespace$1.Actions), i0__namespace.ɵɵinject(i1__namespace.RouterEvents), i0__namespace.ɵɵinject(ConfirmationService), i0__namespace.ɵɵinject(i0__namespace.ComponentFactoryResolver), i0__namespace.ɵɵinject(i0__namespace.RendererFactory2), i0__namespace.ɵɵinject(i0__namespace.INJECTOR), i0__namespace.ɵɵinject("HTTP_ERROR_CONFIG")); }, token: ErrorHandler, providedIn: "root" });
2336
- ErrorHandler.decorators = [
2337
- { type: i0.Injectable, args: [{ providedIn: 'root' },] }
2338
- ];
2339
- ErrorHandler.ctorParameters = function () { return [
2340
- { type: i1$1.Actions },
2341
- { type: i1.RouterEvents },
2342
- { type: ConfirmationService },
2343
- { type: i0.ComponentFactoryResolver },
2344
- { type: i0.RendererFactory2 },
2345
- { type: i0.Injector },
2346
- { type: undefined, decorators: [{ type: i0.Inject, args: ['HTTP_ERROR_CONFIG',] }] }
2347
- ]; };
2348
-
2349
- var LAZY_STYLES = new i0.InjectionToken('LAZY_STYLES');
2350
-
2351
- var LazyStyleHandler = /** @class */ (function () {
2352
- function LazyStyleHandler(injector) {
2353
- this._dir = 'ltr';
2354
- this.loaded = new Map();
2355
- this.setStyles(injector);
2356
- this.setLazyLoad(injector);
2357
- this.listenToLanguageChanges(injector);
2358
- }
2359
- Object.defineProperty(LazyStyleHandler.prototype, "dir", {
2360
- get: function () {
2361
- return this._dir;
2362
- },
2363
- set: function (dir) {
2364
- if (dir === this._dir)
2365
- return;
2366
- this.switchCSS(dir);
2367
- this.setBodyDir(dir);
2368
- this._dir = dir;
2369
- },
2370
- enumerable: false,
2371
- configurable: true
2372
- });
2373
- LazyStyleHandler.prototype.getHrefFromLink = function (link) {
2374
- if (!link)
2375
- return '';
2376
- var a = document.createElement('a');
2377
- a.href = link.href;
2378
- return a.pathname.replace(/^\//, '');
2379
- };
2380
- LazyStyleHandler.prototype.getLoadedBootstrap = function () {
2381
- var href = createLazyStyleHref(BOOTSTRAP, this.dir);
2382
- var selector = "[href*=\"" + href.replace(/\.css$/, '') + "\"]";
2383
- var link = document.querySelector(selector);
2384
- return { href: href, link: link };
2385
- };
2386
- LazyStyleHandler.prototype.listenToLanguageChanges = function (injector) {
2387
- var _this = this;
2388
- var l10n = injector.get(i1.LocalizationService);
2389
- // will always listen, no need to unsubscribe
2390
- l10n.languageChange$.pipe(operators.startWith(l10n.currentLang)).subscribe(function (locale) {
2391
- _this.dir = i1.getLocaleDirection(locale);
2392
- });
2393
- };
2394
- LazyStyleHandler.prototype.setBodyDir = function (dir) {
2395
- document.body.dir = dir;
2396
- };
2397
- LazyStyleHandler.prototype.setLazyLoad = function (injector) {
2398
- this.lazyLoad = injector.get(i1.LazyLoadService);
2399
- var _a = this.getLoadedBootstrap(), href = _a.href, link = _a.link;
2400
- this.lazyLoad.loaded.set(href, link);
2401
- };
2402
- LazyStyleHandler.prototype.setStyles = function (injector) {
2403
- this.styles = injector.get(LAZY_STYLES, [BOOTSTRAP]);
2404
- };
2405
- LazyStyleHandler.prototype.switchCSS = function (dir) {
2406
- var _this = this;
2407
- this.styles.forEach(function (style) {
2408
- var oldHref = createLazyStyleHref(style, _this.dir);
2409
- var newHref = createLazyStyleHref(style, dir);
2410
- var link = _this.loaded.get(newHref);
2411
- var href = _this.getHrefFromLink(link) || newHref;
2412
- var strategy = i1.LOADING_STRATEGY.PrependAnonymousStyleToHead(href);
2413
- _this.lazyLoad.load(strategy).subscribe(function () {
2414
- var oldLink = _this.lazyLoad.loaded.get(oldHref);
2415
- _this.loaded.delete(newHref);
2416
- _this.loaded.set(oldHref, oldLink);
2417
- var newLink = _this.lazyLoad.loaded.get(href);
2418
- _this.lazyLoad.loaded.delete(href);
2419
- _this.lazyLoad.loaded.set(newHref, newLink);
2420
- _this.lazyLoad.remove(oldHref);
2421
- });
2422
- });
2423
- };
2424
- return LazyStyleHandler;
2425
- }());
2426
- LazyStyleHandler.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function LazyStyleHandler_Factory() { return new LazyStyleHandler(i0__namespace.ɵɵinject(i0__namespace.INJECTOR)); }, token: LazyStyleHandler, providedIn: "root" });
2427
- LazyStyleHandler.decorators = [
2428
- { type: i0.Injectable, args: [{
2429
- providedIn: 'root',
2430
- },] }
2431
- ];
2432
- LazyStyleHandler.ctorParameters = function () { return [
2433
- { type: i0.Injector }
2434
- ]; };
2435
- function createLazyStyleHref(style, dir) {
2436
- return style.replace(/{{\s*dir\s*}}/g, dir);
2437
- }
2438
- function initLazyStyleHandler(injector) {
2439
- return function () { return new LazyStyleHandler(injector); };
2440
- }
1941
+ ErrorHandler.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ErrorHandler, deps: [{ token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
1942
+ ErrorHandler.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ErrorHandler, providedIn: 'root' });
1943
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ErrorHandler, decorators: [{
1944
+ type: i0.Injectable,
1945
+ args: [{ providedIn: 'root' }]
1946
+ }], ctorParameters: function () { return [{ type: i0__namespace.Injector }]; } });
2441
1947
 
2442
1948
  var NavItem = /** @class */ (function () {
2443
1949
  function NavItem(props) {
@@ -2451,7 +1957,7 @@
2451
1957
  {
2452
1958
  provide: i0.APP_INITIALIZER,
2453
1959
  useFactory: configureNgBootstrap,
2454
- deps: [ngBootstrap.NgbInputDatepickerConfig, ngBootstrap.NgbTypeaheadConfig],
1960
+ deps: [i3.NgbInputDatepickerConfig, i3.NgbTypeaheadConfig],
2455
1961
  multi: true,
2456
1962
  },
2457
1963
  ];
@@ -2463,7 +1969,7 @@
2463
1969
  }
2464
1970
 
2465
1971
  var THEME_SHARED_ROUTE_PROVIDERS = [
2466
- { provide: i0.APP_INITIALIZER, useFactory: configureRoutes, deps: [i1.RoutesService], multi: true },
1972
+ { provide: i0.APP_INITIALIZER, useFactory: configureRoutes, deps: [i2.RoutesService], multi: true },
2467
1973
  ];
2468
1974
  function configureRoutes(routesService) {
2469
1975
  return function () {
@@ -2478,66 +1984,6 @@
2478
1984
  };
2479
1985
  }
2480
1986
 
2481
- /**
2482
- * @deprecated To be removed in v5.0
2483
- */
2484
- var ModalContainerComponent = /** @class */ (function () {
2485
- function ModalContainerComponent() {
2486
- }
2487
- return ModalContainerComponent;
2488
- }());
2489
- ModalContainerComponent.decorators = [
2490
- { type: i0.Component, args: [{
2491
- selector: 'abp-modal-container',
2492
- template: '<ng-container #container></ng-container>'
2493
- },] }
2494
- ];
2495
- ModalContainerComponent.propDecorators = {
2496
- container: [{ type: i0.ViewChild, args: ['container', { static: true, read: i0.ViewContainerRef },] }]
2497
- };
2498
-
2499
- /**
2500
- * @deprecated Use ng-bootstrap modal. To be deleted in v5.0.
2501
- */
2502
- var ModalService = /** @class */ (function () {
2503
- function ModalService(contentProjectionService) {
2504
- this.contentProjectionService = contentProjectionService;
2505
- this.setContainer();
2506
- }
2507
- ModalService.prototype.setContainer = function () {
2508
- this.containerComponentRef = this.contentProjectionService.projectContent(i1.PROJECTION_STRATEGY.AppendComponentToBody(ModalContainerComponent));
2509
- this.containerComponentRef.changeDetectorRef.detectChanges();
2510
- };
2511
- ModalService.prototype.clearModal = function () {
2512
- this.getContainer().clear();
2513
- this.detectChanges();
2514
- };
2515
- ModalService.prototype.detectChanges = function () {
2516
- this.containerComponentRef.changeDetectorRef.detectChanges();
2517
- };
2518
- ModalService.prototype.getContainer = function () {
2519
- return this.containerComponentRef.instance.container;
2520
- };
2521
- ModalService.prototype.renderTemplate = function (template, context) {
2522
- var containerRef = this.getContainer();
2523
- var strategy = i1.PROJECTION_STRATEGY.ProjectTemplateToContainer(template, containerRef, context);
2524
- this.contentProjectionService.projectContent(strategy);
2525
- };
2526
- ModalService.prototype.ngOnDestroy = function () {
2527
- this.containerComponentRef.destroy();
2528
- };
2529
- return ModalService;
2530
- }());
2531
- ModalService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function ModalService_Factory() { return new ModalService(i0__namespace.ɵɵinject(i1__namespace.ContentProjectionService)); }, token: ModalService, providedIn: "root" });
2532
- ModalService.decorators = [
2533
- { type: i0.Injectable, args: [{
2534
- providedIn: 'root',
2535
- },] }
2536
- ];
2537
- ModalService.ctorParameters = function () { return [
2538
- { type: i1.ContentProjectionService }
2539
- ]; };
2540
-
2541
1987
  var NavItemsService = /** @class */ (function () {
2542
1988
  function NavItemsService() {
2543
1989
  this._items$ = new rxjs.BehaviorSubject([]);
@@ -2557,7 +2003,7 @@
2557
2003
  configurable: true
2558
2004
  });
2559
2005
  NavItemsService.prototype.addItems = function (newItems) {
2560
- var items = __spread(this.items);
2006
+ var items = __spreadArray([], __read(this.items));
2561
2007
  newItems.forEach(function (item) { return items.push(new NavItem(item)); });
2562
2008
  items.sort(sortItems);
2563
2009
  this._items$.next(items);
@@ -2566,24 +2012,26 @@
2566
2012
  var index = this.items.findIndex(function (item) { return item.id === id; });
2567
2013
  if (index < 0)
2568
2014
  return;
2569
- var items = __spread(this.items.slice(0, index), this.items.slice(index + 1));
2015
+ var items = __spreadArray(__spreadArray([], __read(this.items.slice(0, index))), __read(this.items.slice(index + 1)));
2570
2016
  this._items$.next(items);
2571
2017
  };
2572
2018
  NavItemsService.prototype.patchItem = function (id, item) {
2573
2019
  var index = this.items.findIndex(function (i) { return i.id === id; });
2574
2020
  if (index < 0)
2575
2021
  return;
2576
- var items = __spread(this.items);
2022
+ var items = __spreadArray([], __read(this.items));
2577
2023
  items[index] = new NavItem(Object.assign(Object.assign({}, items[index]), item));
2578
2024
  items.sort(sortItems);
2579
2025
  this._items$.next(items);
2580
2026
  };
2581
2027
  return NavItemsService;
2582
2028
  }());
2583
- NavItemsService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function NavItemsService_Factory() { return new NavItemsService(); }, token: NavItemsService, providedIn: "root" });
2584
- NavItemsService.decorators = [
2585
- { type: i0.Injectable, args: [{ providedIn: 'root' },] }
2586
- ];
2029
+ NavItemsService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: NavItemsService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
2030
+ NavItemsService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: NavItemsService, providedIn: 'root' });
2031
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: NavItemsService, decorators: [{
2032
+ type: i0.Injectable,
2033
+ args: [{ providedIn: 'root' }]
2034
+ }] });
2587
2035
  function sortItems(a, b) {
2588
2036
  if (!a.order)
2589
2037
  return 1;
@@ -2594,33 +2042,137 @@
2594
2042
 
2595
2043
  var PageAlertService = /** @class */ (function () {
2596
2044
  function PageAlertService() {
2597
- this.alerts = new i1.InternalStore([]);
2045
+ this.alerts = new i2.InternalStore([]);
2598
2046
  this.alerts$ = this.alerts.sliceState(function (state) { return state; });
2599
2047
  }
2600
2048
  PageAlertService.prototype.show = function (alert) {
2601
2049
  var _a;
2602
2050
  var newAlert = Object.assign(Object.assign({}, alert), { dismissible: (_a = alert.dismissible) !== null && _a !== void 0 ? _a : true });
2603
- this.alerts.set(__spread([newAlert], this.alerts.state));
2051
+ this.alerts.set(__spreadArray([newAlert], __read(this.alerts.state)));
2604
2052
  };
2605
2053
  PageAlertService.prototype.remove = function (index) {
2606
- var alerts = __spread(this.alerts.state);
2054
+ var alerts = __spreadArray([], __read(this.alerts.state));
2607
2055
  alerts.splice(index, 1);
2608
2056
  this.alerts.set(alerts);
2609
2057
  };
2610
2058
  return PageAlertService;
2611
2059
  }());
2612
- PageAlertService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function PageAlertService_Factory() { return new PageAlertService(); }, token: PageAlertService, providedIn: "root" });
2613
- PageAlertService.decorators = [
2614
- { type: i0.Injectable, args: [{ providedIn: 'root' },] }
2615
- ];
2616
- PageAlertService.ctorParameters = function () { return []; };
2060
+ PageAlertService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: PageAlertService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
2061
+ PageAlertService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: PageAlertService, providedIn: 'root' });
2062
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: PageAlertService, decorators: [{
2063
+ type: i0.Injectable,
2064
+ args: [{ providedIn: 'root' }]
2065
+ }], ctorParameters: function () { return []; } });
2066
+
2067
+ var ToasterService = /** @class */ (function () {
2068
+ function ToasterService(contentProjectionService) {
2069
+ var _this = this;
2070
+ this.contentProjectionService = contentProjectionService;
2071
+ this.toasts$ = new rxjs.ReplaySubject(1);
2072
+ this.lastId = -1;
2073
+ this.toasts = [];
2074
+ /**
2075
+ * Removes the toast with given id.
2076
+ * @param id ID of the toast to be removed.
2077
+ */
2078
+ this.remove = function (id) {
2079
+ _this.toasts = _this.toasts.filter(function (toast) { var _a; return ((_a = toast.options) === null || _a === void 0 ? void 0 : _a.id) !== id; });
2080
+ _this.toasts$.next(_this.toasts);
2081
+ };
2082
+ }
2083
+ ToasterService.prototype.setContainer = function () {
2084
+ this.containerComponentRef = this.contentProjectionService.projectContent(i2.PROJECTION_STRATEGY.AppendComponentToBody(ToastContainerComponent, {
2085
+ toasts$: this.toasts$,
2086
+ remove: this.remove,
2087
+ }));
2088
+ this.containerComponentRef.changeDetectorRef.detectChanges();
2089
+ };
2090
+ /**
2091
+ * Creates an info toast with given parameters.
2092
+ * @param message Content of the toast
2093
+ * @param title Title of the toast
2094
+ * @param options Spesific style or structural options for individual toast
2095
+ */
2096
+ ToasterService.prototype.info = function (message, title, options) {
2097
+ return this.show(message, title, 'info', options);
2098
+ };
2099
+ /**
2100
+ * Creates a success toast with given parameters.
2101
+ * @param message Content of the toast
2102
+ * @param title Title of the toast
2103
+ * @param options Spesific style or structural options for individual toast
2104
+ */
2105
+ ToasterService.prototype.success = function (message, title, options) {
2106
+ return this.show(message, title, 'success', options);
2107
+ };
2108
+ /**
2109
+ * Creates a warning toast with given parameters.
2110
+ * @param message Content of the toast
2111
+ * @param title Title of the toast
2112
+ * @param options Spesific style or structural options for individual toast
2113
+ */
2114
+ ToasterService.prototype.warn = function (message, title, options) {
2115
+ return this.show(message, title, 'warning', options);
2116
+ };
2117
+ /**
2118
+ * Creates an error toast with given parameters.
2119
+ * @param message Content of the toast
2120
+ * @param title Title of the toast
2121
+ * @param options Spesific style or structural options for individual toast
2122
+ */
2123
+ ToasterService.prototype.error = function (message, title, options) {
2124
+ return this.show(message, title, 'error', options);
2125
+ };
2126
+ /**
2127
+ * Creates a toast with given parameters.
2128
+ * @param message Content of the toast
2129
+ * @param title Title of the toast
2130
+ * @param severity Sets color of the toast. "success", "warning" etc.
2131
+ * @param options Spesific style or structural options for individual toast
2132
+ */
2133
+ ToasterService.prototype.show = function (message, title, severity, options) {
2134
+ if (title === void 0) { title = null; }
2135
+ if (severity === void 0) { severity = 'neutral'; }
2136
+ if (options === void 0) { options = {}; }
2137
+ if (!this.containerComponentRef)
2138
+ this.setContainer();
2139
+ var id = ++this.lastId;
2140
+ this.toasts.push({
2141
+ message: message,
2142
+ title: title,
2143
+ severity: severity,
2144
+ options: Object.assign({ closable: true, id: id }, options),
2145
+ });
2146
+ this.toasts$.next(this.toasts);
2147
+ return id;
2148
+ };
2149
+ /**
2150
+ * Removes all open toasts at once.
2151
+ */
2152
+ ToasterService.prototype.clear = function (containerKey) {
2153
+ this.toasts = !containerKey
2154
+ ? []
2155
+ : this.toasts.filter(function (toast) { var _a; return ((_a = toast.options) === null || _a === void 0 ? void 0 : _a.containerKey) !== containerKey; });
2156
+ this.toasts$.next(this.toasts);
2157
+ };
2158
+ return ToasterService;
2159
+ }());
2160
+ ToasterService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ToasterService, deps: [{ token: i2__namespace.ContentProjectionService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
2161
+ ToasterService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ToasterService, providedIn: 'root' });
2162
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ToasterService, decorators: [{
2163
+ type: i0.Injectable,
2164
+ args: [{
2165
+ providedIn: 'root',
2166
+ }]
2167
+ }], ctorParameters: function () { return [{ type: i2__namespace.ContentProjectionService }]; } });
2168
+
2169
+ var styles = "\n.is-invalid .form-control {\n border-color: #dc3545;\n border-style: solid !important;\n padding-right: calc(1.5em + .75rem);\n background-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e);\n background-repeat: no-repeat;\n background-position: right calc(.375em + .1875rem) center;\n background-size: calc(.75em + .375rem) calc(.75em + .375rem);\n}\n\n.is-invalid .invalid-feedback,\n.is-invalid + * .invalid-feedback {\n display: block;\n}\n\n.data-tables-filter {\n text-align: right;\n}\n\n[dir=rtl] .data-tables-filter {\n text-align: left;\n}\n\n.pointer {\n cursor: pointer;\n}\n\n.navbar .dropdown-submenu a::after {\n transform: rotate(-90deg);\n position: absolute;\n right: 16px;\n top: 18px;\n}\n\n.navbar .dropdown-menu {\n min-width: 215px;\n}\n\n.datatable-scroll {\n margin-bottom: 5px !important;\n width: unset !important;\n}\n\n.ui-table-scrollable-body::-webkit-scrollbar {\n height: 5px !important;\n width: 5px !important;\n}\n\n.ui-table-scrollable-body::-webkit-scrollbar-track {\n background: #ddd;\n}\n\n.ui-table-scrollable-body::-webkit-scrollbar-thumb {\n background: #8a8686;\n}\n\n.abp-ellipsis-inline {\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.abp-ellipsis {\n overflow: hidden !important;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.ui-widget-overlay {\n z-index: 1000;\n}\n\n.color-white {\n color: #FFF !important;\n}\n\n.custom-checkbox > label {\n cursor: pointer;\n}\n\n/* <animations */\n\n.fade-in-top {\n animation: fadeInTop 0.2s ease-in-out;\n}\n\n.fade-out-top {\n animation: fadeOutTop 0.2s ease-in-out;\n}\n\n.abp-collapsed-height {\n -moz-transition: max-height linear 0.35s;\n -ms-transition: max-height linear 0.35s;\n -o-transition: max-height linear 0.35s;\n -webkit-transition: max-height linear 0.35s;\n overflow:hidden;\n transition:max-height 0.35s linear;\n height:auto;\n max-height: 0;\n}\n\n.abp-mh-25 {\n max-height: 25vh;\n}\n\n.abp-mh-50 {\n transition:max-height 0.65s linear;\n max-height: 50vh;\n}\n\n.abp-mh-75 {\n transition:max-height 0.85s linear;\n max-height: 75vh;\n}\n\n.abp-mh-100 {\n transition:max-height 1s linear;\n max-height: 100vh;\n}\n\n[class^=\"sorting\"] {\n opacity: .3;\n cursor: pointer;\n}\n[class^=\"sorting\"]:before {\n right: 0.5rem;\n content: \"\u2191\";\n}\n[class^=\"sorting\"]:after {\n right: 0.5rem;\n content: \"\u2193\";\n}\n\n.sorting_desc {\n opacity: 1;\n}\n.sorting_desc:before {\n opacity: .3;\n}\n\n.sorting_asc {\n opacity: 1;\n}\n.sorting_asc:after {\n opacity: .3;\n}\n.ngx-datatable.material {\n box-shadow: none;\n}\nngb-typeahead-window, ngb-typeahead-window.dropdown-menu {\n max-height: 25em;\n overflow-y: scroll !important;\n z-index: 1050;\n}\n\n@keyframes fadeInTop {\n from {\n transform: translateY(-5px);\n opacity: 0;\n }\n\n to {\n transform: translateY(0px);\n opacity: 1;\n }\n}\n\n@keyframes fadeOutTop {\n to {\n transform: translateY(-5px);\n opacity: 0;\n }\n}\n\n/* </animations */\n.ngb-dp-body {\n z-index: 1055 !important;\n}\n";
2617
2170
 
2618
2171
  var THEME_SHARED_APPEND_CONTENT = new i0.InjectionToken('THEME_SHARED_APPEND_CONTENT', {
2619
2172
  providedIn: 'root',
2620
2173
  factory: function () {
2621
- var domInsertion = i0.inject(i1.DomInsertionService);
2622
- domInsertion.insertContent(i1.CONTENT_STRATEGY.AppendStyleToHead(styles));
2623
- import('chart.js').then(function () { return chartJsLoaded$.next(true); });
2174
+ var domInsertion = i0.inject(i2.DomInsertionService);
2175
+ domInsertion.insertContent(i2.CONTENT_STRATEGY.AppendStyleToHead(styles));
2624
2176
  },
2625
2177
  });
2626
2178
 
@@ -2661,39 +2213,39 @@
2661
2213
  return null;
2662
2214
  };
2663
2215
  DateParserFormatter.prototype.format = function (date) {
2216
+ var _a, _b;
2664
2217
  if (!date)
2665
2218
  return '';
2666
2219
  var localization = this.configState.getOne('localization');
2667
- var dateFormat = snq__default['default'](function () { return localization.currentCulture.dateTimeFormat.shortDatePattern; }) || 'yyyy-MM-dd';
2668
- return common.formatDate(new Date(date.year, date.month - 1, date.day), dateFormat, this.locale);
2220
+ var dateFormat = ((_b = (_a = localization.currentCulture) === null || _a === void 0 ? void 0 : _a.dateTimeFormat) === null || _b === void 0 ? void 0 : _b.shortDatePattern) || 'yyyy-MM-dd';
2221
+ return i1.formatDate(new Date(date.year, date.month - 1, date.day), dateFormat, this.locale);
2669
2222
  };
2670
2223
  return DateParserFormatter;
2671
- }(ngBootstrap.NgbDateParserFormatter));
2672
- DateParserFormatter.decorators = [
2673
- { type: i0.Injectable }
2674
- ];
2675
- DateParserFormatter.ctorParameters = function () { return [
2676
- { type: i1.ConfigStateService },
2677
- { type: String, decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] }
2678
- ]; };
2224
+ }(i3.NgbDateParserFormatter));
2225
+ DateParserFormatter.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: DateParserFormatter, deps: [{ token: i2__namespace.ConfigStateService }, { token: i0.LOCALE_ID }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
2226
+ DateParserFormatter.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: DateParserFormatter });
2227
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: DateParserFormatter, decorators: [{
2228
+ type: i0.Injectable
2229
+ }], ctorParameters: function () {
2230
+ return [{ type: i2__namespace.ConfigStateService }, { type: undefined, decorators: [{
2231
+ type: i0.Inject,
2232
+ args: [i0.LOCALE_ID]
2233
+ }] }];
2234
+ } });
2679
2235
 
2680
2236
  var declarationsWithExports = [
2681
2237
  BreadcrumbComponent,
2238
+ BreadcrumbItemsComponent,
2682
2239
  ButtonComponent,
2683
- ChartComponent,
2684
2240
  ConfirmationComponent,
2685
2241
  LoaderBarComponent,
2686
2242
  LoadingComponent,
2687
2243
  ModalComponent,
2688
- TableComponent,
2689
- TableEmptyMessageComponent,
2690
2244
  ToastComponent,
2691
2245
  ToastContainerComponent,
2692
- SortOrderIconComponent,
2693
2246
  NgxDatatableDefaultDirective,
2694
2247
  NgxDatatableListDirective,
2695
2248
  LoadingDirective,
2696
- TableSortDirective,
2697
2249
  ModalCloseDirective,
2698
2250
  ];
2699
2251
  var BaseThemeSharedModule = /** @class */ (function () {
@@ -2701,27 +2253,64 @@
2701
2253
  }
2702
2254
  return BaseThemeSharedModule;
2703
2255
  }());
2704
- BaseThemeSharedModule.decorators = [
2705
- { type: i0.NgModule, args: [{
2706
- imports: [
2707
- i1.CoreModule,
2708
- ngxDatatable.NgxDatatableModule,
2709
- core.NgxValidateCoreModule,
2710
- ngBootstrap.NgbPaginationModule,
2711
- EllipsisModule,
2712
- ],
2713
- declarations: __spread(declarationsWithExports, [HttpErrorWrapperComponent, ModalContainerComponent]),
2714
- exports: __spread([ngxDatatable.NgxDatatableModule, EllipsisModule], declarationsWithExports),
2715
- providers: [common.DatePipe],
2716
- entryComponents: [
2717
- HttpErrorWrapperComponent,
2718
- LoadingComponent,
2719
- ModalContainerComponent,
2720
- ToastContainerComponent,
2721
- ConfirmationComponent,
2722
- ],
2723
- },] }
2724
- ];
2256
+ BaseThemeSharedModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: BaseThemeSharedModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
2257
+ BaseThemeSharedModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: BaseThemeSharedModule, declarations: [BreadcrumbComponent,
2258
+ BreadcrumbItemsComponent,
2259
+ ButtonComponent,
2260
+ ConfirmationComponent,
2261
+ LoaderBarComponent,
2262
+ LoadingComponent,
2263
+ ModalComponent,
2264
+ ToastComponent,
2265
+ ToastContainerComponent,
2266
+ NgxDatatableDefaultDirective,
2267
+ NgxDatatableListDirective,
2268
+ LoadingDirective,
2269
+ ModalCloseDirective, HttpErrorWrapperComponent], imports: [i2.CoreModule,
2270
+ i1$2.NgxDatatableModule,
2271
+ core.NgxValidateCoreModule,
2272
+ i3.NgbPaginationModule,
2273
+ EllipsisModule], exports: [i1$2.NgxDatatableModule, EllipsisModule, BreadcrumbComponent,
2274
+ BreadcrumbItemsComponent,
2275
+ ButtonComponent,
2276
+ ConfirmationComponent,
2277
+ LoaderBarComponent,
2278
+ LoadingComponent,
2279
+ ModalComponent,
2280
+ ToastComponent,
2281
+ ToastContainerComponent,
2282
+ NgxDatatableDefaultDirective,
2283
+ NgxDatatableListDirective,
2284
+ LoadingDirective,
2285
+ ModalCloseDirective] });
2286
+ BaseThemeSharedModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: BaseThemeSharedModule, providers: [i1.DatePipe], imports: [[
2287
+ i2.CoreModule,
2288
+ i1$2.NgxDatatableModule,
2289
+ core.NgxValidateCoreModule,
2290
+ i3.NgbPaginationModule,
2291
+ EllipsisModule,
2292
+ ], i1$2.NgxDatatableModule, EllipsisModule] });
2293
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: BaseThemeSharedModule, decorators: [{
2294
+ type: i0.NgModule,
2295
+ args: [{
2296
+ imports: [
2297
+ i2.CoreModule,
2298
+ i1$2.NgxDatatableModule,
2299
+ core.NgxValidateCoreModule,
2300
+ i3.NgbPaginationModule,
2301
+ EllipsisModule,
2302
+ ],
2303
+ declarations: __spreadArray(__spreadArray([], __read(declarationsWithExports)), [HttpErrorWrapperComponent]),
2304
+ exports: __spreadArray([i1$2.NgxDatatableModule, EllipsisModule], __read(declarationsWithExports)),
2305
+ providers: [i1.DatePipe],
2306
+ entryComponents: [
2307
+ HttpErrorWrapperComponent,
2308
+ LoadingComponent,
2309
+ ToastContainerComponent,
2310
+ ConfirmationComponent,
2311
+ ],
2312
+ }]
2313
+ }] });
2725
2314
  var ThemeSharedModule = /** @class */ (function () {
2726
2315
  function ThemeSharedModule() {
2727
2316
  }
@@ -2734,20 +2323,14 @@
2734
2323
  provide: i0.APP_INITIALIZER,
2735
2324
  multi: true,
2736
2325
  deps: [ErrorHandler],
2737
- useFactory: i1.noop,
2326
+ useFactory: i2.noop,
2738
2327
  },
2739
2328
  THEME_SHARED_ROUTE_PROVIDERS,
2740
2329
  {
2741
2330
  provide: i0.APP_INITIALIZER,
2742
2331
  multi: true,
2743
2332
  deps: [THEME_SHARED_APPEND_CONTENT],
2744
- useFactory: i1.noop,
2745
- },
2746
- {
2747
- provide: i0.APP_INITIALIZER,
2748
- multi: true,
2749
- deps: [i0.Injector],
2750
- useFactory: initLazyStyleHandler,
2333
+ useFactory: i2.noop,
2751
2334
  },
2752
2335
  { provide: HTTP_ERROR_CONFIG, useValue: httpErrorConfig },
2753
2336
  {
@@ -2755,7 +2338,7 @@
2755
2338
  useFactory: httpErrorConfigFactory,
2756
2339
  deps: [HTTP_ERROR_CONFIG],
2757
2340
  },
2758
- { provide: ngBootstrap.NgbDateParserFormatter, useClass: DateParserFormatter },
2341
+ { provide: i3.NgbDateParserFormatter, useClass: DateParserFormatter },
2759
2342
  NG_BOOTSTRAP_CONFIG_PROVIDERS,
2760
2343
  {
2761
2344
  provide: core.VALIDATION_BLUEPRINTS,
@@ -2769,17 +2352,28 @@
2769
2352
  provide: core.VALIDATION_VALIDATE_ON_SUBMIT,
2770
2353
  useValue: validation.validateOnSubmit,
2771
2354
  },
2355
+ DocumentDirHandlerService,
2356
+ {
2357
+ provide: i0.APP_INITIALIZER,
2358
+ useFactory: i2.noop,
2359
+ multi: true,
2360
+ deps: [DocumentDirHandlerService],
2361
+ },
2772
2362
  ],
2773
2363
  };
2774
2364
  };
2775
2365
  return ThemeSharedModule;
2776
2366
  }());
2777
- ThemeSharedModule.decorators = [
2778
- { type: i0.NgModule, args: [{
2779
- imports: [BaseThemeSharedModule],
2780
- exports: [BaseThemeSharedModule],
2781
- },] }
2782
- ];
2367
+ ThemeSharedModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ThemeSharedModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
2368
+ ThemeSharedModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ThemeSharedModule, imports: [BaseThemeSharedModule], exports: [BaseThemeSharedModule] });
2369
+ ThemeSharedModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ThemeSharedModule, imports: [[BaseThemeSharedModule], BaseThemeSharedModule] });
2370
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ThemeSharedModule, decorators: [{
2371
+ type: i0.NgModule,
2372
+ args: [{
2373
+ imports: [BaseThemeSharedModule],
2374
+ exports: [BaseThemeSharedModule],
2375
+ }]
2376
+ }] });
2783
2377
 
2784
2378
  var minLength = forms.Validators.minLength, maxLength = forms.Validators.maxLength;
2785
2379
  function getPasswordValidators(injector) {
@@ -2804,7 +2398,7 @@
2804
2398
  return [core.validatePassword(passwordRulesArr), minLength(requiredLength), maxLength(128)];
2805
2399
  }
2806
2400
  function getRuleFn(injector) {
2807
- var configState = injector.get(i1.ConfigStateService);
2401
+ var configState = injector.get(i2.ConfigStateService);
2808
2402
  return function (key) {
2809
2403
  var passwordRules = configState.getSettings('Identity.Password');
2810
2404
  return (passwordRules["Abp.Identity.Password." + key] || '').toLowerCase();
@@ -2819,32 +2413,29 @@
2819
2413
  * Generated bundle index. Do not edit.
2820
2414
  */
2821
2415
 
2822
- exports.BOOTSTRAP = BOOTSTRAP;
2823
2416
  exports.BaseThemeSharedModule = BaseThemeSharedModule;
2824
2417
  exports.BreadcrumbComponent = BreadcrumbComponent;
2418
+ exports.BreadcrumbItemsComponent = BreadcrumbItemsComponent;
2825
2419
  exports.ButtonComponent = ButtonComponent;
2826
- exports.ChartComponent = ChartComponent;
2827
2420
  exports.ConfirmationComponent = ConfirmationComponent;
2828
2421
  exports.ConfirmationService = ConfirmationService;
2829
2422
  exports.DEFAULT_ERROR_LOCALIZATIONS = DEFAULT_ERROR_LOCALIZATIONS;
2830
2423
  exports.DEFAULT_ERROR_MESSAGES = DEFAULT_ERROR_MESSAGES;
2831
2424
  exports.DEFAULT_VALIDATION_BLUEPRINTS = DEFAULT_VALIDATION_BLUEPRINTS;
2832
2425
  exports.DateParserFormatter = DateParserFormatter;
2426
+ exports.DocumentDirHandlerService = DocumentDirHandlerService;
2833
2427
  exports.EllipsisDirective = EllipsisDirective;
2834
2428
  exports.EllipsisModule = EllipsisModule;
2835
2429
  exports.ErrorHandler = ErrorHandler;
2836
2430
  exports.HTTP_ERROR_CONFIG = HTTP_ERROR_CONFIG;
2837
2431
  exports.HTTP_ERROR_HANDLER = HTTP_ERROR_HANDLER;
2838
2432
  exports.HttpErrorWrapperComponent = HttpErrorWrapperComponent;
2839
- exports.LAZY_STYLES = LAZY_STYLES;
2840
- exports.LazyStyleHandler = LazyStyleHandler;
2841
2433
  exports.LoaderBarComponent = LoaderBarComponent;
2842
2434
  exports.LoadingComponent = LoadingComponent;
2843
2435
  exports.LoadingDirective = LoadingDirective;
2844
2436
  exports.ModalCloseDirective = ModalCloseDirective;
2845
2437
  exports.ModalComponent = ModalComponent;
2846
2438
  exports.ModalRefService = ModalRefService;
2847
- exports.ModalService = ModalService;
2848
2439
  exports.NGX_DATATABLE_MESSAGES = NGX_DATATABLE_MESSAGES;
2849
2440
  exports.NG_BOOTSTRAP_CONFIG_PROVIDERS = NG_BOOTSTRAP_CONFIG_PROVIDERS;
2850
2441
  exports.NavItem = NavItem;
@@ -2853,18 +2444,13 @@
2853
2444
  exports.NgxDatatableListDirective = NgxDatatableListDirective;
2854
2445
  exports.PageAlertService = PageAlertService;
2855
2446
  exports.SUPPRESS_UNSAVED_CHANGES_WARNING = SUPPRESS_UNSAVED_CHANGES_WARNING;
2856
- exports.SortOrderIconComponent = SortOrderIconComponent;
2857
2447
  exports.THEME_SHARED_APPEND_CONTENT = THEME_SHARED_APPEND_CONTENT;
2858
2448
  exports.THEME_SHARED_ROUTE_PROVIDERS = THEME_SHARED_ROUTE_PROVIDERS;
2859
- exports.TableComponent = TableComponent;
2860
- exports.TableEmptyMessageComponent = TableEmptyMessageComponent;
2861
- exports.TableSortDirective = TableSortDirective;
2862
2449
  exports.ThemeSharedModule = ThemeSharedModule;
2863
2450
  exports.ToastComponent = ToastComponent;
2864
2451
  exports.ToastContainerComponent = ToastContainerComponent;
2865
2452
  exports.ToasterService = ToasterService;
2866
2453
  exports.bounceIn = bounceIn;
2867
- exports.chartJsLoaded$ = chartJsLoaded$;
2868
2454
  exports.collapse = collapse;
2869
2455
  exports.collapseLinearWithMargin = collapseLinearWithMargin;
2870
2456
  exports.collapseWithMargin = collapseWithMargin;
@@ -2873,7 +2459,6 @@
2873
2459
  exports.collapseYWithMargin = collapseYWithMargin;
2874
2460
  exports.configureNgBootstrap = configureNgBootstrap;
2875
2461
  exports.configureRoutes = configureRoutes;
2876
- exports.createLazyStyleHref = createLazyStyleHref;
2877
2462
  exports.defaultNgxDatatableMessages = defaultNgxDatatableMessages;
2878
2463
  exports.dialogAnimation = dialogAnimation;
2879
2464
  exports.expandX = expandX;
@@ -2891,47 +2476,9 @@
2891
2476
  exports.fadeOutRight = fadeOutRight;
2892
2477
  exports.fadeOutUp = fadeOutUp;
2893
2478
  exports.getPasswordValidators = getPasswordValidators;
2894
- exports.getRandomBackgroundColor = getRandomBackgroundColor;
2895
2479
  exports.httpErrorConfigFactory = httpErrorConfigFactory;
2896
- exports.initLazyStyleHandler = initLazyStyleHandler;
2897
2480
  exports.slideFromBottom = slideFromBottom;
2898
2481
  exports.toastInOut = toastInOut;
2899
- exports.ɵa = EllipsisDirective;
2900
- exports.ɵb = EllipsisModule;
2901
- exports.ɵba = HttpErrorWrapperComponent;
2902
- exports.ɵbb = ModalContainerComponent;
2903
- exports.ɵbc = ErrorHandler;
2904
- exports.ɵbe = THEME_SHARED_ROUTE_PROVIDERS;
2905
- exports.ɵbf = configureRoutes;
2906
- exports.ɵbg = THEME_SHARED_APPEND_CONTENT;
2907
- exports.ɵbh = initLazyStyleHandler;
2908
- exports.ɵbi = httpErrorConfigFactory;
2909
- exports.ɵbj = HTTP_ERROR_CONFIG;
2910
- exports.ɵbk = DateParserFormatter;
2911
- exports.ɵbl = NG_BOOTSTRAP_CONFIG_PROVIDERS;
2912
- exports.ɵc = BreadcrumbComponent;
2913
- exports.ɵd = ButtonComponent;
2914
- exports.ɵe = ChartComponent;
2915
- exports.ɵf = ConfirmationComponent;
2916
- exports.ɵg = LoaderBarComponent;
2917
- exports.ɵh = LoadingComponent;
2918
- exports.ɵi = ModalComponent;
2919
- exports.ɵj = SUPPRESS_UNSAVED_CHANGES_WARNING;
2920
- exports.ɵk = ConfirmationService;
2921
- exports.ɵl = ModalRefService;
2922
- exports.ɵm = TableComponent;
2923
- exports.ɵn = TableEmptyMessageComponent;
2924
- exports.ɵo = ToastComponent;
2925
- exports.ɵp = ToasterService;
2926
- exports.ɵq = ToastContainerComponent;
2927
- exports.ɵr = toastInOut;
2928
- exports.ɵs = SortOrderIconComponent;
2929
- exports.ɵt = NgxDatatableDefaultDirective;
2930
- exports.ɵu = NgxDatatableListDirective;
2931
- exports.ɵw = NGX_DATATABLE_MESSAGES;
2932
- exports.ɵx = LoadingDirective;
2933
- exports.ɵy = TableSortDirective;
2934
- exports.ɵz = ModalCloseDirective;
2935
2482
 
2936
2483
  Object.defineProperty(exports, '__esModule', { value: true });
2937
2484