@abp/ng.theme.shared 7.2.2 → 7.3.0-rc.2

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 (316) hide show
  1. package/README.md +129 -2
  2. package/{esm2020 → esm2022}/abp-ng.theme.shared.mjs +4 -4
  3. package/{esm2020 → esm2022}/extensions/abp-ng.theme.shared-extensions.mjs +4 -4
  4. package/esm2022/extensions/lib/adapters/date-time.adapter.mjs +45 -0
  5. package/esm2022/extensions/lib/adapters/date.adapter.mjs +42 -0
  6. package/esm2022/extensions/lib/adapters/time.adapter.mjs +37 -0
  7. package/esm2022/extensions/lib/components/abstract-actions/abstract-actions.component.mjs +26 -0
  8. package/esm2022/extensions/lib/components/date-time-picker/date-time-picker.component.mjs +110 -0
  9. package/esm2022/extensions/lib/components/extensible-form/extensible-form-prop.component.mjs +199 -0
  10. package/esm2022/extensions/lib/components/extensible-form/extensible-form.component.mjs +74 -0
  11. package/esm2022/extensions/lib/components/extensible-table/extensible-table.component.mjs +137 -0
  12. package/esm2022/extensions/lib/components/grid-actions/grid-actions.component.mjs +40 -0
  13. package/esm2022/extensions/lib/components/page-toolbar/page-toolbar.component.mjs +39 -0
  14. package/{esm2020 → esm2022}/extensions/lib/constants/extra-properties.mjs +1 -1
  15. package/esm2022/extensions/lib/directives/disabled.directive.mjs +30 -0
  16. package/esm2022/extensions/lib/directives/prop-data.directive.mjs +42 -0
  17. package/{esm2020 → esm2022}/extensions/lib/enums/components.mjs +1 -1
  18. package/{esm2020 → esm2022}/extensions/lib/enums/props.enum.mjs +1 -1
  19. package/{esm2020 → esm2022}/extensions/lib/models/actions.mjs +46 -46
  20. package/{esm2020 → esm2022}/extensions/lib/models/entity-actions.mjs +28 -28
  21. package/esm2022/extensions/lib/models/entity-props.mjs +44 -0
  22. package/esm2022/extensions/lib/models/form-props.mjs +76 -0
  23. package/{esm2020 → esm2022}/extensions/lib/models/internal/object-extensions.mjs +2 -2
  24. package/{esm2020 → esm2022}/extensions/lib/models/object-extensions.mjs +2 -2
  25. package/esm2022/extensions/lib/models/props.mjs +54 -0
  26. package/{esm2020 → esm2022}/extensions/lib/models/toolbar-actions.mjs +43 -43
  27. package/esm2022/extensions/lib/pipes/create-injector.pipe.mjs +37 -0
  28. package/esm2022/extensions/lib/services/extensions.service.mjs +25 -0
  29. package/{esm2020 → esm2022}/extensions/lib/tokens/extensible-form-view-provider.token.mjs +2 -2
  30. package/{esm2020 → esm2022}/extensions/lib/tokens/extensions.token.mjs +11 -11
  31. package/esm2022/extensions/lib/ui-extensions.module.mjs +100 -0
  32. package/{esm2020 → esm2022}/extensions/lib/utils/actions.util.mjs +8 -8
  33. package/{esm2020 → esm2022}/extensions/lib/utils/enum.util.mjs +41 -41
  34. package/{esm2020 → esm2022}/extensions/lib/utils/factory.util.mjs +3 -3
  35. package/esm2022/extensions/lib/utils/form-props.util.mjs +51 -0
  36. package/{esm2020 → esm2022}/extensions/lib/utils/localization.util.mjs +12 -12
  37. package/{esm2020 → esm2022}/extensions/lib/utils/props.util.mjs +13 -13
  38. package/esm2022/extensions/lib/utils/state.util.mjs +126 -0
  39. package/{esm2020 → esm2022}/extensions/lib/utils/typeahead.util.mjs +51 -51
  40. package/{esm2020 → esm2022}/extensions/lib/utils/validation.util.mjs +10 -10
  41. package/{esm2020 → esm2022}/extensions/public-api.mjs +30 -30
  42. package/{esm2020 → esm2022}/lib/animations/bounce.animations.mjs +16 -16
  43. package/{esm2020 → esm2022}/lib/animations/collapse.animations.mjs +49 -49
  44. package/{esm2020 → esm2022}/lib/animations/fade.animations.mjs +37 -37
  45. package/{esm2020 → esm2022}/lib/animations/index.mjs +6 -6
  46. package/{esm2020 → esm2022}/lib/animations/modal.animations.mjs +10 -10
  47. package/{esm2020 → esm2022}/lib/animations/slide.animations.mjs +7 -7
  48. package/{esm2020 → esm2022}/lib/animations/toast.animations.mjs +12 -12
  49. package/esm2022/lib/components/breadcrumb/breadcrumb.component.mjs +44 -0
  50. package/esm2022/lib/components/breadcrumb-items/breadcrumb-items.component.mjs +20 -0
  51. package/esm2022/lib/components/button/button.component.mjs +103 -0
  52. package/{esm2020 → esm2022}/lib/components/card/card-body.component.mjs +27 -26
  53. package/esm2022/lib/components/card/card-footer.component.mjs +31 -0
  54. package/esm2022/lib/components/card/card-header.component.mjs +31 -0
  55. package/esm2022/lib/components/card/card-header.directive.mjs +20 -0
  56. package/esm2022/lib/components/card/card-img-top.directive.mjs +20 -0
  57. package/esm2022/lib/components/card/card-subtitle.directive.mjs +20 -0
  58. package/esm2022/lib/components/card/card-title.directive.mjs +20 -0
  59. package/esm2022/lib/components/card/card.component.mjs +24 -0
  60. package/esm2022/lib/components/card/card.module.mjs +50 -0
  61. package/{esm2020 → esm2022}/lib/components/card/index.mjs +9 -9
  62. package/esm2022/lib/components/checkbox/checkbox.component.mjs +89 -0
  63. package/esm2022/lib/components/confirmation/confirmation.component.mjs +46 -0
  64. package/esm2022/lib/components/form-input/form-input.component.mjs +95 -0
  65. package/esm2022/lib/components/http-error-wrapper/http-error-wrapper.component.mjs +60 -0
  66. package/{esm2020 → esm2022}/lib/components/index.mjs +16 -16
  67. package/esm2022/lib/components/loader-bar/loader-bar.component.mjs +122 -0
  68. package/esm2022/lib/components/loading/loading.component.mjs +20 -0
  69. package/esm2022/lib/components/modal/modal-close.directive.mjs +28 -0
  70. package/esm2022/lib/components/modal/modal-ref.service.mjs +27 -0
  71. package/esm2022/lib/components/modal/modal.component.mjs +190 -0
  72. package/esm2022/lib/components/password/password.component.mjs +39 -0
  73. package/esm2022/lib/components/toast/toast.component.mjs +56 -0
  74. package/esm2022/lib/components/toast-container/toast-container.component.mjs +59 -0
  75. package/{esm2020 → esm2022}/lib/constants/styles.mjs +1 -1
  76. package/{esm2020 → esm2022}/lib/constants/validation.mjs +19 -19
  77. package/esm2022/lib/directives/ellipsis.directive.mjs +65 -0
  78. package/{esm2020 → esm2022}/lib/directives/index.mjs +5 -5
  79. package/esm2022/lib/directives/loading.directive.mjs +90 -0
  80. package/esm2022/lib/directives/ngx-datatable-default.directive.mjs +76 -0
  81. package/esm2022/lib/directives/ngx-datatable-list.directive.mjs +95 -0
  82. package/esm2022/lib/directives/visible.directive.mjs +63 -0
  83. package/{esm2020 → esm2022}/lib/enums/form.mjs +5 -5
  84. package/{esm2020 → esm2022}/lib/enums/index.mjs +2 -2
  85. package/{esm2020 → esm2022}/lib/enums/route-names.mjs +1 -1
  86. package/esm2022/lib/handlers/document-dir.handler.mjs +32 -0
  87. package/esm2022/lib/handlers/error.handler.mjs +294 -0
  88. package/{esm2020 → esm2022}/lib/handlers/index.mjs +2 -2
  89. package/{esm2020 → esm2022}/lib/models/common.mjs +1 -1
  90. package/{esm2020 → esm2022}/lib/models/confirmation.mjs +9 -9
  91. package/{esm2020 → esm2022}/lib/models/index.mjs +7 -7
  92. package/{esm2020 → esm2022}/lib/models/nav-item.mjs +5 -5
  93. package/{esm2020 → esm2022}/lib/models/statistics.mjs +1 -1
  94. package/{esm2020 → esm2022}/lib/models/toaster.mjs +1 -1
  95. package/{esm2020 → esm2022}/lib/models/user-menu.mjs +3 -3
  96. package/{esm2020 → esm2022}/lib/models/validation.mjs +1 -1
  97. package/{esm2020 → esm2022}/lib/providers/index.mjs +2 -2
  98. package/{esm2020 → esm2022}/lib/providers/ng-bootstrap-config.provider.mjs +16 -16
  99. package/{esm2020 → esm2022}/lib/providers/route.provider.mjs +17 -17
  100. package/{esm2020 → esm2022}/lib/services/abstract-menu.service.mjs +49 -49
  101. package/esm2022/lib/services/confirmation.service.mjs +69 -0
  102. package/{esm2020 → esm2022}/lib/services/index.mjs +5 -5
  103. package/esm2022/lib/services/nav-items.service.mjs +18 -0
  104. package/esm2022/lib/services/page-alert.service.mjs +29 -0
  105. package/esm2022/lib/services/toaster.service.mjs +104 -0
  106. package/esm2022/lib/services/user-menu.service.mjs +18 -0
  107. package/esm2022/lib/theme-shared.module.mjs +202 -0
  108. package/{esm2020 → esm2022}/lib/tokens/append-content.token.mjs +10 -10
  109. package/{esm2020 → esm2022}/lib/tokens/confirmation-icons.token.mjs +10 -10
  110. package/{esm2020 → esm2022}/lib/tokens/http-error.token.mjs +13 -13
  111. package/{esm2020 → esm2022}/lib/tokens/index.mjs +4 -4
  112. package/{esm2020 → esm2022}/lib/tokens/ngx-datatable-messages.token.mjs +7 -7
  113. package/{esm2020 → esm2022}/lib/tokens/suppress-unsaved-changes-warning.token.mjs +2 -2
  114. package/esm2022/lib/utils/date-parser-formatter.mjs +59 -0
  115. package/{esm2020 → esm2022}/lib/utils/index.mjs +2 -2
  116. package/{esm2020 → esm2022}/lib/utils/validation-utils.mjs +61 -61
  117. package/{esm2020 → esm2022}/public-api.mjs +15 -15
  118. package/{esm2020 → esm2022}/testing/abp-ng.theme.shared-testing.mjs +4 -4
  119. package/{esm2020 → esm2022}/testing/lib/models/config.mjs +1 -1
  120. package/{esm2020 → esm2022}/testing/lib/models/index.mjs +1 -1
  121. package/esm2022/testing/lib/theme-shared-testing.module.mjs +47 -0
  122. package/{esm2020 → esm2022}/testing/public-api.mjs +3 -3
  123. package/extensions/index.d.ts +5 -5
  124. package/extensions/lib/adapters/date-time.adapter.d.ts +11 -11
  125. package/extensions/lib/adapters/date.adapter.d.ts +9 -9
  126. package/extensions/lib/adapters/time.adapter.d.ts +8 -8
  127. package/extensions/lib/components/abstract-actions/abstract-actions.component.d.ts +12 -12
  128. package/extensions/lib/components/date-time-picker/date-time-picker.component.d.ts +16 -16
  129. package/extensions/lib/components/extensible-form/extensible-form-prop.component.d.ts +43 -43
  130. package/extensions/lib/components/extensible-form/extensible-form.component.d.ts +25 -25
  131. package/extensions/lib/components/extensible-table/extensible-table.component.d.ts +38 -38
  132. package/extensions/lib/components/grid-actions/grid-actions.component.d.ts +13 -13
  133. package/extensions/lib/components/page-toolbar/page-toolbar.component.d.ts +20 -20
  134. package/extensions/lib/constants/extra-properties.d.ts +1 -1
  135. package/extensions/lib/directives/disabled.directive.d.ts +11 -11
  136. package/extensions/lib/directives/prop-data.directive.d.ts +19 -19
  137. package/extensions/lib/enums/components.d.ts +3 -3
  138. package/extensions/lib/enums/props.enum.d.ts +16 -16
  139. package/extensions/lib/models/actions.d.ts +36 -36
  140. package/extensions/lib/models/entity-actions.d.ts +22 -22
  141. package/extensions/lib/models/entity-props.d.ts +30 -29
  142. package/extensions/lib/models/form-props.d.ts +59 -58
  143. package/extensions/lib/models/internal/object-extensions.d.ts +86 -85
  144. package/extensions/lib/models/object-extensions.d.ts +2 -2
  145. package/extensions/lib/models/props.d.ts +45 -44
  146. package/extensions/lib/models/toolbar-actions.d.ts +38 -38
  147. package/extensions/lib/pipes/create-injector.pipe.d.ts +8 -8
  148. package/extensions/lib/services/extensions.service.d.ts +14 -14
  149. package/extensions/lib/tokens/extensible-form-view-provider.token.d.ts +5 -5
  150. package/extensions/lib/tokens/extensions.token.d.ts +20 -24
  151. package/extensions/lib/ui-extensions.module.d.ts +24 -24
  152. package/extensions/lib/utils/actions.util.d.ts +7 -7
  153. package/extensions/lib/utils/enum.util.d.ts +7 -7
  154. package/extensions/lib/utils/factory.util.d.ts +1 -1
  155. package/extensions/lib/utils/form-props.util.d.ts +3 -3
  156. package/extensions/lib/utils/localization.util.d.ts +3 -3
  157. package/extensions/lib/utils/props.util.d.ts +9 -9
  158. package/extensions/lib/utils/state.util.d.ts +5 -5
  159. package/extensions/lib/utils/typeahead.util.d.ts +11 -11
  160. package/extensions/lib/utils/validation.util.d.ts +3 -3
  161. package/extensions/public-api.d.ts +30 -30
  162. package/{fesm2020 → fesm2022}/abp-ng.theme.shared-extensions.mjs +1340 -1331
  163. package/fesm2022/abp-ng.theme.shared-extensions.mjs.map +1 -0
  164. package/{fesm2020 → fesm2022}/abp-ng.theme.shared-testing.mjs +40 -40
  165. package/{fesm2015 → fesm2022}/abp-ng.theme.shared-testing.mjs.map +1 -1
  166. package/{fesm2020 → fesm2022}/abp-ng.theme.shared.mjs +2292 -2290
  167. package/fesm2022/abp-ng.theme.shared.mjs.map +1 -0
  168. package/index.d.ts +5 -5
  169. package/lib/animations/bounce.animations.d.ts +1 -1
  170. package/lib/animations/collapse.animations.d.ts +9 -9
  171. package/lib/animations/fade.animations.d.ts +10 -10
  172. package/lib/animations/index.d.ts +6 -6
  173. package/lib/animations/modal.animations.d.ts +2 -2
  174. package/lib/animations/slide.animations.d.ts +1 -1
  175. package/lib/animations/toast.animations.d.ts +1 -1
  176. package/lib/components/breadcrumb/breadcrumb.component.d.ts +16 -16
  177. package/lib/components/breadcrumb-items/breadcrumb-items.component.d.ts +7 -7
  178. package/lib/components/button/button.component.d.ts +26 -26
  179. package/lib/components/card/card-body.component.d.ts +8 -8
  180. package/lib/components/card/card-footer.component.d.ts +8 -8
  181. package/lib/components/card/card-header.component.d.ts +8 -8
  182. package/lib/components/card/card-header.directive.d.ts +6 -6
  183. package/lib/components/card/card-img-top.directive.d.ts +6 -6
  184. package/lib/components/card/card-subtitle.directive.d.ts +6 -6
  185. package/lib/components/card/card-title.directive.d.ts +6 -6
  186. package/lib/components/card/card.component.d.ts +7 -7
  187. package/lib/components/card/card.module.d.ts +15 -15
  188. package/lib/components/card/index.d.ts +9 -9
  189. package/lib/components/checkbox/checkbox.component.d.ts +18 -18
  190. package/lib/components/confirmation/confirmation.component.d.ts +19 -19
  191. package/lib/components/form-input/form-input.component.d.ts +19 -19
  192. package/lib/components/http-error-wrapper/http-error-wrapper.component.d.ts +27 -27
  193. package/lib/components/index.d.ts +16 -16
  194. package/lib/components/loader-bar/loader-bar.component.d.ts +33 -33
  195. package/lib/components/loading/loading.component.d.ts +5 -5
  196. package/lib/components/modal/modal-close.directive.d.ts +9 -9
  197. package/lib/components/modal/modal-ref.service.d.ts +13 -13
  198. package/lib/components/modal/modal.component.d.ts +50 -50
  199. package/lib/components/password/password.component.d.ts +12 -12
  200. package/lib/components/toast/toast.component.d.ts +14 -14
  201. package/lib/components/toast-container/toast-container.component.d.ts +22 -22
  202. package/lib/constants/styles.d.ts +2 -2
  203. package/lib/constants/validation.d.ts +19 -19
  204. package/lib/directives/ellipsis.directive.d.ts +21 -21
  205. package/lib/directives/index.d.ts +5 -5
  206. package/lib/directives/loading.directive.d.ts +25 -25
  207. package/lib/directives/ngx-datatable-default.directive.d.ts +30 -30
  208. package/lib/directives/ngx-datatable-list.directive.d.ts +24 -24
  209. package/lib/directives/visible.directive.d.ts +18 -18
  210. package/lib/enums/form.d.ts +4 -4
  211. package/lib/enums/index.d.ts +2 -2
  212. package/lib/enums/route-names.d.ts +3 -3
  213. package/lib/handlers/document-dir.handler.d.ts +13 -13
  214. package/lib/handlers/error.handler.d.ts +83 -83
  215. package/lib/handlers/index.d.ts +2 -2
  216. package/lib/models/common.d.ts +21 -21
  217. package/lib/models/confirmation.d.ts +27 -27
  218. package/lib/models/index.d.ts +7 -7
  219. package/lib/models/nav-item.d.ts +13 -13
  220. package/lib/models/statistics.d.ts +12 -12
  221. package/lib/models/toaster.d.ts +30 -30
  222. package/lib/models/user-menu.d.ts +8 -8
  223. package/lib/models/validation.d.ts +1 -1
  224. package/lib/providers/index.d.ts +2 -2
  225. package/lib/providers/ng-bootstrap-config.provider.d.ts +8 -8
  226. package/lib/providers/route.provider.d.ts +8 -8
  227. package/lib/services/abstract-menu.service.d.ts +13 -13
  228. package/lib/services/confirmation.service.d.ts +21 -21
  229. package/lib/services/index.d.ts +5 -5
  230. package/lib/services/nav-items.service.d.ts +8 -8
  231. package/lib/services/page-alert.service.d.ts +18 -18
  232. package/lib/services/toaster.service.d.ts +60 -60
  233. package/lib/services/user-menu.service.d.ts +8 -8
  234. package/lib/theme-shared.module.d.ts +38 -38
  235. package/lib/tokens/append-content.token.d.ts +2 -2
  236. package/lib/tokens/confirmation-icons.token.d.ts +11 -11
  237. package/lib/tokens/http-error.token.d.ts +5 -5
  238. package/lib/tokens/index.d.ts +4 -4
  239. package/lib/tokens/ngx-datatable-messages.token.d.ts +12 -12
  240. package/lib/tokens/suppress-unsaved-changes-warning.token.d.ts +2 -2
  241. package/lib/utils/date-parser-formatter.d.ts +12 -12
  242. package/lib/utils/index.d.ts +2 -2
  243. package/lib/utils/validation-utils.d.ts +5 -5
  244. package/package.json +28 -24
  245. package/public-api.d.ts +12 -12
  246. package/testing/index.d.ts +5 -5
  247. package/testing/lib/models/config.d.ts +4 -4
  248. package/testing/lib/models/index.d.ts +1 -1
  249. package/testing/lib/theme-shared-testing.module.d.ts +14 -14
  250. package/testing/public-api.d.ts +3 -3
  251. package/esm2020/extensions/lib/adapters/date-time.adapter.mjs +0 -44
  252. package/esm2020/extensions/lib/adapters/date.adapter.mjs +0 -41
  253. package/esm2020/extensions/lib/adapters/time.adapter.mjs +0 -36
  254. package/esm2020/extensions/lib/components/abstract-actions/abstract-actions.component.mjs +0 -25
  255. package/esm2020/extensions/lib/components/date-time-picker/date-time-picker.component.mjs +0 -109
  256. package/esm2020/extensions/lib/components/extensible-form/extensible-form-prop.component.mjs +0 -198
  257. package/esm2020/extensions/lib/components/extensible-form/extensible-form.component.mjs +0 -73
  258. package/esm2020/extensions/lib/components/extensible-table/extensible-table.component.mjs +0 -135
  259. package/esm2020/extensions/lib/components/grid-actions/grid-actions.component.mjs +0 -39
  260. package/esm2020/extensions/lib/components/page-toolbar/page-toolbar.component.mjs +0 -38
  261. package/esm2020/extensions/lib/directives/disabled.directive.mjs +0 -29
  262. package/esm2020/extensions/lib/directives/prop-data.directive.mjs +0 -41
  263. package/esm2020/extensions/lib/models/entity-props.mjs +0 -43
  264. package/esm2020/extensions/lib/models/form-props.mjs +0 -75
  265. package/esm2020/extensions/lib/models/props.mjs +0 -53
  266. package/esm2020/extensions/lib/pipes/create-injector.pipe.mjs +0 -36
  267. package/esm2020/extensions/lib/services/extensions.service.mjs +0 -24
  268. package/esm2020/extensions/lib/ui-extensions.module.mjs +0 -95
  269. package/esm2020/extensions/lib/utils/form-props.util.mjs +0 -51
  270. package/esm2020/extensions/lib/utils/state.util.mjs +0 -123
  271. package/esm2020/lib/components/breadcrumb/breadcrumb.component.mjs +0 -43
  272. package/esm2020/lib/components/breadcrumb-items/breadcrumb-items.component.mjs +0 -19
  273. package/esm2020/lib/components/button/button.component.mjs +0 -102
  274. package/esm2020/lib/components/card/card-footer.component.mjs +0 -30
  275. package/esm2020/lib/components/card/card-header.component.mjs +0 -30
  276. package/esm2020/lib/components/card/card-header.directive.mjs +0 -19
  277. package/esm2020/lib/components/card/card-img-top.directive.mjs +0 -19
  278. package/esm2020/lib/components/card/card-subtitle.directive.mjs +0 -19
  279. package/esm2020/lib/components/card/card-title.directive.mjs +0 -19
  280. package/esm2020/lib/components/card/card.component.mjs +0 -23
  281. package/esm2020/lib/components/card/card.module.mjs +0 -49
  282. package/esm2020/lib/components/checkbox/checkbox.component.mjs +0 -88
  283. package/esm2020/lib/components/confirmation/confirmation.component.mjs +0 -45
  284. package/esm2020/lib/components/form-input/form-input.component.mjs +0 -94
  285. package/esm2020/lib/components/http-error-wrapper/http-error-wrapper.component.mjs +0 -59
  286. package/esm2020/lib/components/loader-bar/loader-bar.component.mjs +0 -121
  287. package/esm2020/lib/components/loading/loading.component.mjs +0 -19
  288. package/esm2020/lib/components/modal/modal-close.directive.mjs +0 -27
  289. package/esm2020/lib/components/modal/modal-ref.service.mjs +0 -26
  290. package/esm2020/lib/components/modal/modal.component.mjs +0 -189
  291. package/esm2020/lib/components/password/password.component.mjs +0 -38
  292. package/esm2020/lib/components/toast/toast.component.mjs +0 -55
  293. package/esm2020/lib/components/toast-container/toast-container.component.mjs +0 -58
  294. package/esm2020/lib/directives/ellipsis.directive.mjs +0 -63
  295. package/esm2020/lib/directives/loading.directive.mjs +0 -89
  296. package/esm2020/lib/directives/ngx-datatable-default.directive.mjs +0 -75
  297. package/esm2020/lib/directives/ngx-datatable-list.directive.mjs +0 -94
  298. package/esm2020/lib/directives/visible.directive.mjs +0 -62
  299. package/esm2020/lib/handlers/document-dir.handler.mjs +0 -31
  300. package/esm2020/lib/handlers/error.handler.mjs +0 -291
  301. package/esm2020/lib/services/confirmation.service.mjs +0 -68
  302. package/esm2020/lib/services/nav-items.service.mjs +0 -17
  303. package/esm2020/lib/services/page-alert.service.mjs +0 -28
  304. package/esm2020/lib/services/toaster.service.mjs +0 -103
  305. package/esm2020/lib/services/user-menu.service.mjs +0 -17
  306. package/esm2020/lib/theme-shared.module.mjs +0 -200
  307. package/esm2020/lib/utils/date-parser-formatter.mjs +0 -58
  308. package/esm2020/testing/lib/theme-shared-testing.module.mjs +0 -46
  309. package/fesm2015/abp-ng.theme.shared-extensions.mjs +0 -1460
  310. package/fesm2015/abp-ng.theme.shared-extensions.mjs.map +0 -1
  311. package/fesm2015/abp-ng.theme.shared-testing.mjs +0 -54
  312. package/fesm2015/abp-ng.theme.shared.mjs +0 -2767
  313. package/fesm2015/abp-ng.theme.shared.mjs.map +0 -1
  314. package/fesm2020/abp-ng.theme.shared-extensions.mjs.map +0 -1
  315. package/fesm2020/abp-ng.theme.shared-testing.mjs.map +0 -1
  316. package/fesm2020/abp-ng.theme.shared.mjs.map +0 -1
@@ -1,83 +1,83 @@
1
- import { HttpErrorReporterService, LocalizationParam, RouterEvents } from '@abp/ng.core';
2
- import { HttpErrorResponse } from '@angular/common/http';
3
- import { ComponentFactoryResolver, ComponentRef, Injector, RendererFactory2 } from '@angular/core';
4
- import { NavigationError } from '@angular/router';
5
- import { Observable } from 'rxjs';
6
- import { HttpErrorWrapperComponent } from '../components/http-error-wrapper/http-error-wrapper.component';
7
- import { ErrorScreenErrorCodes, HttpErrorConfig } from '../models/common';
8
- import { Confirmation } from '../models/confirmation';
9
- import { ConfirmationService } from '../services/confirmation.service';
10
- import * as i0 from "@angular/core";
11
- export declare const DEFAULT_ERROR_MESSAGES: {
12
- defaultError: {
13
- title: string;
14
- details: string;
15
- };
16
- defaultError401: {
17
- title: string;
18
- details: string;
19
- };
20
- defaultError403: {
21
- title: string;
22
- details: string;
23
- };
24
- defaultError404: {
25
- title: string;
26
- details: string;
27
- };
28
- defaultError500: {
29
- title: string;
30
- details: string;
31
- };
32
- };
33
- export declare const DEFAULT_ERROR_LOCALIZATIONS: {
34
- defaultError: {
35
- title: string;
36
- details: string;
37
- };
38
- defaultError401: {
39
- title: string;
40
- details: string;
41
- };
42
- defaultError403: {
43
- title: string;
44
- details: string;
45
- };
46
- defaultError404: {
47
- title: string;
48
- details: string;
49
- };
50
- defaultError500: {
51
- title: string;
52
- details: string;
53
- };
54
- };
55
- export declare class ErrorHandler {
56
- protected injector: Injector;
57
- componentRef: ComponentRef<HttpErrorWrapperComponent> | null;
58
- protected httpErrorHandler: import("../models/common").HttpErrorHandler;
59
- protected httpErrorReporter: HttpErrorReporterService;
60
- protected routerEvents: RouterEvents;
61
- protected confirmationService: ConfirmationService;
62
- protected cfRes: ComponentFactoryResolver;
63
- protected rendererFactory: RendererFactory2;
64
- protected httpErrorConfig: HttpErrorConfig;
65
- private authService;
66
- constructor(injector: Injector);
67
- protected listenToRouterError(): void;
68
- protected listenToRouterDataResolved(): void;
69
- protected listenToRestError(): void;
70
- private executeErrorHandler;
71
- private handleError;
72
- protected show401Page(): void;
73
- protected show404Page(): void;
74
- protected showErrorWithRequestBody(body: any): Observable<Confirmation.Status>;
75
- protected showError(message: LocalizationParam, title: LocalizationParam): Observable<Confirmation.Status>;
76
- private navigateToLogin;
77
- createErrorComponent(instance: Partial<HttpErrorWrapperComponent>): void;
78
- canCreateCustomError(status: ErrorScreenErrorCodes): boolean;
79
- protected filterRestErrors: ({ status }: HttpErrorResponse) => boolean;
80
- protected filterRouteErrors: (navigationError: NavigationError) => boolean;
81
- static ɵfac: i0.ɵɵFactoryDeclaration<ErrorHandler, never>;
82
- static ɵprov: i0.ɵɵInjectableDeclaration<ErrorHandler>;
83
- }
1
+ import { HttpErrorReporterService, LocalizationParam, RouterEvents } from '@abp/ng.core';
2
+ import { HttpErrorResponse } from '@angular/common/http';
3
+ import { ComponentFactoryResolver, ComponentRef, Injector, RendererFactory2 } from '@angular/core';
4
+ import { NavigationError } from '@angular/router';
5
+ import { Observable } from 'rxjs';
6
+ import { HttpErrorWrapperComponent } from '../components/http-error-wrapper/http-error-wrapper.component';
7
+ import { ErrorScreenErrorCodes, HttpErrorConfig } from '../models/common';
8
+ import { Confirmation } from '../models/confirmation';
9
+ import { ConfirmationService } from '../services/confirmation.service';
10
+ import * as i0 from "@angular/core";
11
+ export declare const DEFAULT_ERROR_MESSAGES: {
12
+ defaultError: {
13
+ title: string;
14
+ details: string;
15
+ };
16
+ defaultError401: {
17
+ title: string;
18
+ details: string;
19
+ };
20
+ defaultError403: {
21
+ title: string;
22
+ details: string;
23
+ };
24
+ defaultError404: {
25
+ title: string;
26
+ details: string;
27
+ };
28
+ defaultError500: {
29
+ title: string;
30
+ details: string;
31
+ };
32
+ };
33
+ export declare const DEFAULT_ERROR_LOCALIZATIONS: {
34
+ defaultError: {
35
+ title: string;
36
+ details: string;
37
+ };
38
+ defaultError401: {
39
+ title: string;
40
+ details: string;
41
+ };
42
+ defaultError403: {
43
+ title: string;
44
+ details: string;
45
+ };
46
+ defaultError404: {
47
+ title: string;
48
+ details: string;
49
+ };
50
+ defaultError500: {
51
+ title: string;
52
+ details: string;
53
+ };
54
+ };
55
+ export declare class ErrorHandler {
56
+ protected injector: Injector;
57
+ componentRef: ComponentRef<HttpErrorWrapperComponent> | null;
58
+ protected httpErrorHandler: import("../models/common").HttpErrorHandler;
59
+ protected httpErrorReporter: HttpErrorReporterService;
60
+ protected routerEvents: RouterEvents;
61
+ protected confirmationService: ConfirmationService;
62
+ protected cfRes: ComponentFactoryResolver;
63
+ protected rendererFactory: RendererFactory2;
64
+ protected httpErrorConfig: HttpErrorConfig;
65
+ private authService;
66
+ constructor(injector: Injector);
67
+ protected listenToRouterError(): void;
68
+ protected listenToRouterDataResolved(): void;
69
+ protected listenToRestError(): void;
70
+ private executeErrorHandler;
71
+ private handleError;
72
+ protected show401Page(): void;
73
+ protected show404Page(): void;
74
+ protected showErrorWithRequestBody(body: any): Observable<Confirmation.Status>;
75
+ protected showError(message: LocalizationParam, title: LocalizationParam): Observable<Confirmation.Status>;
76
+ private navigateToLogin;
77
+ createErrorComponent(instance: Partial<HttpErrorWrapperComponent>): void;
78
+ canCreateCustomError(status: ErrorScreenErrorCodes): boolean;
79
+ protected filterRestErrors: ({ status }: HttpErrorResponse) => boolean;
80
+ protected filterRouteErrors: (navigationError: NavigationError) => boolean;
81
+ static ɵfac: i0.ɵɵFactoryDeclaration<ErrorHandler, never>;
82
+ static ɵprov: i0.ɵɵInjectableDeclaration<ErrorHandler>;
83
+ }
@@ -1,2 +1,2 @@
1
- export * from './document-dir.handler';
2
- export * from './error.handler';
1
+ export * from './document-dir.handler';
2
+ export * from './error.handler';
@@ -1,21 +1,21 @@
1
- import { HttpErrorResponse } from '@angular/common/http';
2
- import { Injector, Type } from '@angular/core';
3
- import { Validation } from '@ngx-validate/core';
4
- import { Observable } from 'rxjs';
5
- import { ConfirmationIcons } from '../tokens/confirmation-icons.token';
6
- export interface RootParams {
7
- httpErrorConfig?: HttpErrorConfig;
8
- validation?: Partial<Validation.Config>;
9
- confirmationIcons?: Partial<ConfirmationIcons>;
10
- }
11
- export declare type ErrorScreenErrorCodes = 401 | 403 | 404 | 500;
12
- export interface HttpErrorConfig {
13
- skipHandledErrorCodes?: ErrorScreenErrorCodes[] | number[];
14
- errorScreen?: {
15
- component: Type<any>;
16
- forWhichErrors?: ErrorScreenErrorCodes[];
17
- hideCloseIcon?: boolean;
18
- };
19
- }
20
- export declare type HttpErrorHandler = (injector: Injector, httpError: HttpErrorResponse) => Observable<any>;
21
- export declare type LocaleDirection = 'ltr' | 'rtl';
1
+ import { HttpErrorResponse } from '@angular/common/http';
2
+ import { Injector, Type } from '@angular/core';
3
+ import { Validation } from '@ngx-validate/core';
4
+ import { Observable } from 'rxjs';
5
+ import { ConfirmationIcons } from '../tokens/confirmation-icons.token';
6
+ export interface RootParams {
7
+ httpErrorConfig?: HttpErrorConfig;
8
+ validation?: Partial<Validation.Config>;
9
+ confirmationIcons?: Partial<ConfirmationIcons>;
10
+ }
11
+ export type ErrorScreenErrorCodes = 401 | 403 | 404 | 500;
12
+ export interface HttpErrorConfig {
13
+ skipHandledErrorCodes?: ErrorScreenErrorCodes[] | number[];
14
+ errorScreen?: {
15
+ component: Type<any>;
16
+ forWhichErrors?: ErrorScreenErrorCodes[];
17
+ hideCloseIcon?: boolean;
18
+ };
19
+ }
20
+ export type HttpErrorHandler = (injector: Injector, httpError: HttpErrorResponse) => Observable<any>;
21
+ export type LocaleDirection = 'ltr' | 'rtl';
@@ -1,27 +1,27 @@
1
- import { LocalizationParam } from '@abp/ng.core';
2
- export declare namespace Confirmation {
3
- interface Options {
4
- id?: any;
5
- dismissible?: boolean;
6
- messageLocalizationParams?: string[];
7
- titleLocalizationParams?: string[];
8
- hideCancelBtn?: boolean;
9
- hideYesBtn?: boolean;
10
- cancelText?: LocalizationParam;
11
- yesText?: LocalizationParam;
12
- icon?: string;
13
- iconTemplate?: string;
14
- }
15
- interface DialogData {
16
- message: LocalizationParam;
17
- title?: LocalizationParam;
18
- severity?: Severity;
19
- options?: Partial<Options>;
20
- }
21
- type Severity = 'neutral' | 'success' | 'info' | 'warning' | 'error';
22
- enum Status {
23
- confirm = "confirm",
24
- reject = "reject",
25
- dismiss = "dismiss"
26
- }
27
- }
1
+ import { LocalizationParam } from '@abp/ng.core';
2
+ export declare namespace Confirmation {
3
+ interface Options {
4
+ id?: any;
5
+ dismissible?: boolean;
6
+ messageLocalizationParams?: string[];
7
+ titleLocalizationParams?: string[];
8
+ hideCancelBtn?: boolean;
9
+ hideYesBtn?: boolean;
10
+ cancelText?: LocalizationParam;
11
+ yesText?: LocalizationParam;
12
+ icon?: string;
13
+ iconTemplate?: string;
14
+ }
15
+ interface DialogData {
16
+ message: LocalizationParam;
17
+ title?: LocalizationParam;
18
+ severity?: Severity;
19
+ options?: Partial<Options>;
20
+ }
21
+ type Severity = 'neutral' | 'success' | 'info' | 'warning' | 'error';
22
+ enum Status {
23
+ confirm = "confirm",
24
+ reject = "reject",
25
+ dismiss = "dismiss"
26
+ }
27
+ }
@@ -1,7 +1,7 @@
1
- export * from './common';
2
- export * from './confirmation';
3
- export * from './nav-item';
4
- export * from './statistics';
5
- export * from './toaster';
6
- export * from './user-menu';
7
- export * from './validation';
1
+ export * from './common';
2
+ export * from './confirmation';
3
+ export * from './nav-item';
4
+ export * from './statistics';
5
+ export * from './toaster';
6
+ export * from './user-menu';
7
+ export * from './validation';
@@ -1,13 +1,13 @@
1
- import { Injector, Type } from '@angular/core';
2
- import { Observable } from 'rxjs';
3
- export declare class NavItem {
4
- id?: string | number;
5
- component?: Type<any>;
6
- html?: string;
7
- action?: () => void;
8
- order?: number;
9
- requiredPolicy?: string;
10
- visible?: NavBarPropPredicate<NavItem>;
11
- constructor(props: Partial<NavItem>);
12
- }
13
- export declare type NavBarPropPredicate<T> = (prop?: T, injector?: Injector) => boolean | Promise<boolean> | Observable<boolean>;
1
+ import { Injector, Type } from '@angular/core';
2
+ import { Observable } from 'rxjs';
3
+ export declare class NavItem {
4
+ id?: string | number;
5
+ component?: Type<any>;
6
+ html?: string;
7
+ action?: () => void;
8
+ order?: number;
9
+ requiredPolicy?: string;
10
+ visible?: NavBarPropPredicate<NavItem>;
11
+ constructor(props: Partial<NavItem>);
12
+ }
13
+ export type NavBarPropPredicate<T> = (prop?: T, injector?: Injector) => boolean | Promise<boolean> | Observable<boolean>;
@@ -1,12 +1,12 @@
1
- export declare namespace Statistics {
2
- interface Response {
3
- data: Data;
4
- }
5
- interface Data {
6
- [key: string]: number;
7
- }
8
- interface Filter {
9
- startDate: string | Date;
10
- endDate: string | Date;
11
- }
12
- }
1
+ export declare namespace Statistics {
2
+ interface Response {
3
+ data: Data;
4
+ }
5
+ interface Data {
6
+ [key: string]: number;
7
+ }
8
+ interface Filter {
9
+ startDate: string | Date;
10
+ endDate: string | Date;
11
+ }
12
+ }
@@ -1,30 +1,30 @@
1
- import { LocalizationParam } from '@abp/ng.core';
2
- export declare namespace Toaster {
3
- interface ToastOptions {
4
- life?: number;
5
- sticky?: boolean;
6
- closable?: boolean;
7
- tapToDismiss?: boolean;
8
- messageLocalizationParams?: string[];
9
- titleLocalizationParams?: string[];
10
- id: any;
11
- containerKey?: string;
12
- }
13
- interface Toast {
14
- message: LocalizationParam;
15
- title?: LocalizationParam;
16
- severity?: string;
17
- options?: ToastOptions;
18
- }
19
- type Severity = 'neutral' | 'success' | 'info' | 'warning' | 'error';
20
- type ToasterId = string | number;
21
- interface Service {
22
- show: (message: LocalizationParam, title: LocalizationParam, severity: Toaster.Severity, options: Partial<Toaster.ToastOptions>) => ToasterId;
23
- remove: (id: number) => void;
24
- clear: (containerKey?: string) => void;
25
- info: (message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>) => ToasterId;
26
- success: (message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>) => ToasterId;
27
- warn: (message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>) => ToasterId;
28
- error: (message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>) => ToasterId;
29
- }
30
- }
1
+ import { LocalizationParam } from '@abp/ng.core';
2
+ export declare namespace Toaster {
3
+ interface ToastOptions {
4
+ life?: number;
5
+ sticky?: boolean;
6
+ closable?: boolean;
7
+ tapToDismiss?: boolean;
8
+ messageLocalizationParams?: string[];
9
+ titleLocalizationParams?: string[];
10
+ id: any;
11
+ containerKey?: string;
12
+ }
13
+ interface Toast {
14
+ message: LocalizationParam;
15
+ title?: LocalizationParam;
16
+ severity?: string;
17
+ options?: ToastOptions;
18
+ }
19
+ type Severity = 'neutral' | 'success' | 'info' | 'warning' | 'error';
20
+ type ToasterId = string | number;
21
+ interface Service {
22
+ show: (message: LocalizationParam, title: LocalizationParam, severity: Toaster.Severity, options: Partial<Toaster.ToastOptions>) => ToasterId;
23
+ remove: (id: number) => void;
24
+ clear: (containerKey?: string) => void;
25
+ info: (message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>) => ToasterId;
26
+ success: (message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>) => ToasterId;
27
+ warn: (message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>) => ToasterId;
28
+ error: (message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>) => ToasterId;
29
+ }
30
+ }
@@ -1,8 +1,8 @@
1
- import { NavItem } from './nav-item';
2
- export declare class UserMenu extends NavItem {
3
- textTemplate?: UserMenuTextTemplate;
4
- }
5
- export interface UserMenuTextTemplate {
6
- text: string;
7
- icon?: string;
8
- }
1
+ import { NavItem } from './nav-item';
2
+ export declare class UserMenu extends NavItem {
3
+ textTemplate?: UserMenuTextTemplate;
4
+ }
5
+ export interface UserMenuTextTemplate {
6
+ text: string;
7
+ icon?: string;
8
+ }
@@ -1 +1 @@
1
- export declare type PasswordRule = 'small' | 'capital' | 'number' | 'special';
1
+ export type PasswordRule = 'small' | 'capital' | 'number' | 'special';
@@ -1,2 +1,2 @@
1
- export * from './ng-bootstrap-config.provider';
2
- export * from './route.provider';
1
+ export * from './ng-bootstrap-config.provider';
2
+ export * from './route.provider';
@@ -1,8 +1,8 @@
1
- import { NgbInputDatepickerConfig, NgbTypeaheadConfig } from '@ng-bootstrap/ng-bootstrap';
2
- export declare const NG_BOOTSTRAP_CONFIG_PROVIDERS: {
3
- provide: import("@angular/core").InjectionToken<readonly (() => void | import("rxjs").Observable<unknown> | Promise<unknown>)[]>;
4
- useFactory: typeof configureNgBootstrap;
5
- deps: (typeof NgbInputDatepickerConfig | typeof NgbTypeaheadConfig)[];
6
- multi: boolean;
7
- }[];
8
- export declare function configureNgBootstrap(datepicker: NgbInputDatepickerConfig, typeahead: NgbTypeaheadConfig): () => void;
1
+ import { NgbInputDatepickerConfig, NgbTypeaheadConfig } from '@ng-bootstrap/ng-bootstrap';
2
+ export declare const NG_BOOTSTRAP_CONFIG_PROVIDERS: {
3
+ provide: import("@angular/core").InjectionToken<readonly (() => void | import("rxjs").Observable<unknown> | Promise<unknown>)[]>;
4
+ useFactory: typeof configureNgBootstrap;
5
+ deps: (typeof NgbInputDatepickerConfig | typeof NgbTypeaheadConfig)[];
6
+ multi: boolean;
7
+ }[];
8
+ export declare function configureNgBootstrap(datepicker: NgbInputDatepickerConfig, typeahead: NgbTypeaheadConfig): () => void;
@@ -1,8 +1,8 @@
1
- import { RoutesService } from '@abp/ng.core';
2
- export declare const THEME_SHARED_ROUTE_PROVIDERS: {
3
- provide: import("@angular/core").InjectionToken<readonly (() => void | import("rxjs").Observable<unknown> | Promise<unknown>)[]>;
4
- useFactory: typeof configureRoutes;
5
- deps: (typeof RoutesService)[];
6
- multi: boolean;
7
- }[];
8
- export declare function configureRoutes(routesService: RoutesService): () => void;
1
+ import { RoutesService } from '@abp/ng.core';
2
+ export declare const THEME_SHARED_ROUTE_PROVIDERS: {
3
+ provide: import("@angular/core").InjectionToken<readonly (() => void | import("rxjs").Observable<unknown> | Promise<unknown>)[]>;
4
+ useFactory: typeof configureRoutes;
5
+ deps: (typeof RoutesService)[];
6
+ multi: boolean;
7
+ }[];
8
+ export declare function configureRoutes(routesService: RoutesService): () => void;
@@ -1,13 +1,13 @@
1
- import { BehaviorSubject, Observable } from 'rxjs';
2
- import { NavItem } from '../models/nav-item';
3
- import { Type } from '@angular/core';
4
- export declare abstract class AbstractMenuService<T extends NavItem> {
5
- protected abstract baseClass: Type<any>;
6
- protected _items$: BehaviorSubject<T[]>;
7
- get items(): T[];
8
- get items$(): Observable<T[]>;
9
- addItems(newItems: T[]): void;
10
- removeItem(id: string | number): void;
11
- patchItem(id: string | number, item: Partial<Omit<T, 'id'>>): void;
12
- private sortItems;
13
- }
1
+ import { BehaviorSubject, Observable } from 'rxjs';
2
+ import { NavItem } from '../models/nav-item';
3
+ import { Type } from '@angular/core';
4
+ export declare abstract class AbstractMenuService<T extends NavItem> {
5
+ protected abstract baseClass: Type<any>;
6
+ protected _items$: BehaviorSubject<T[]>;
7
+ get items(): T[];
8
+ get items$(): Observable<T[]>;
9
+ addItems(newItems: T[]): void;
10
+ removeItem(id: string | number): void;
11
+ patchItem(id: string | number, item: Partial<Omit<T, 'id'>>): void;
12
+ private sortItems;
13
+ }
@@ -1,21 +1,21 @@
1
- import { ContentProjectionService, LocalizationParam } from '@abp/ng.core';
2
- import { Observable, ReplaySubject, Subject } from 'rxjs';
3
- import { Confirmation } from '../models/confirmation';
4
- import * as i0 from "@angular/core";
5
- export declare class ConfirmationService {
6
- private contentProjectionService;
7
- status$: Subject<Confirmation.Status>;
8
- confirmation$: ReplaySubject<Confirmation.DialogData>;
9
- private containerComponentRef;
10
- clear: (status?: Confirmation.Status) => void;
11
- constructor(contentProjectionService: ContentProjectionService);
12
- private setContainer;
13
- info(message: LocalizationParam, title: LocalizationParam, options?: Partial<Confirmation.Options>): Observable<Confirmation.Status>;
14
- success(message: LocalizationParam, title: LocalizationParam, options?: Partial<Confirmation.Options>): Observable<Confirmation.Status>;
15
- warn(message: LocalizationParam, title: LocalizationParam, options?: Partial<Confirmation.Options>): Observable<Confirmation.Status>;
16
- error(message: LocalizationParam, title: LocalizationParam, options?: Partial<Confirmation.Options>): Observable<Confirmation.Status>;
17
- show(message: LocalizationParam, title: LocalizationParam, severity?: Confirmation.Severity, options?: Partial<Confirmation.Options>): Observable<Confirmation.Status>;
18
- private listenToEscape;
19
- static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationService, never>;
20
- static ɵprov: i0.ɵɵInjectableDeclaration<ConfirmationService>;
21
- }
1
+ import { ContentProjectionService, LocalizationParam } from '@abp/ng.core';
2
+ import { Observable, ReplaySubject, Subject } from 'rxjs';
3
+ import { Confirmation } from '../models/confirmation';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ConfirmationService {
6
+ private contentProjectionService;
7
+ status$: Subject<Confirmation.Status>;
8
+ confirmation$: ReplaySubject<Confirmation.DialogData>;
9
+ private containerComponentRef;
10
+ clear: (status?: Confirmation.Status) => void;
11
+ constructor(contentProjectionService: ContentProjectionService);
12
+ private setContainer;
13
+ info(message: LocalizationParam, title: LocalizationParam, options?: Partial<Confirmation.Options>): Observable<Confirmation.Status>;
14
+ success(message: LocalizationParam, title: LocalizationParam, options?: Partial<Confirmation.Options>): Observable<Confirmation.Status>;
15
+ warn(message: LocalizationParam, title: LocalizationParam, options?: Partial<Confirmation.Options>): Observable<Confirmation.Status>;
16
+ error(message: LocalizationParam, title: LocalizationParam, options?: Partial<Confirmation.Options>): Observable<Confirmation.Status>;
17
+ show(message: LocalizationParam, title: LocalizationParam, severity?: Confirmation.Severity, options?: Partial<Confirmation.Options>): Observable<Confirmation.Status>;
18
+ private listenToEscape;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationService, never>;
20
+ static ɵprov: i0.ɵɵInjectableDeclaration<ConfirmationService>;
21
+ }
@@ -1,5 +1,5 @@
1
- export * from './confirmation.service';
2
- export * from './nav-items.service';
3
- export * from './page-alert.service';
4
- export * from './toaster.service';
5
- export * from './user-menu.service';
1
+ export * from './confirmation.service';
2
+ export * from './nav-items.service';
3
+ export * from './page-alert.service';
4
+ export * from './toaster.service';
5
+ export * from './user-menu.service';
@@ -1,8 +1,8 @@
1
- import { NavItem } from '../models/nav-item';
2
- import { AbstractMenuService } from './abstract-menu.service';
3
- import * as i0 from "@angular/core";
4
- export declare class NavItemsService extends AbstractMenuService<NavItem> {
5
- protected baseClass: typeof NavItem;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<NavItemsService, never>;
7
- static ɵprov: i0.ɵɵInjectableDeclaration<NavItemsService>;
8
- }
1
+ import { NavItem } from '../models/nav-item';
2
+ import { AbstractMenuService } from './abstract-menu.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class NavItemsService extends AbstractMenuService<NavItem> {
5
+ protected baseClass: typeof NavItem;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<NavItemsService, never>;
7
+ static ɵprov: i0.ɵɵInjectableDeclaration<NavItemsService>;
8
+ }
@@ -1,18 +1,18 @@
1
- import * as i0 from "@angular/core";
2
- export interface PageAlert {
3
- type: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark';
4
- message: string;
5
- dismissible?: boolean;
6
- title?: string;
7
- messageLocalizationParams?: string[];
8
- titleLocalizationParams?: string[];
9
- }
10
- export declare class PageAlertService {
11
- private alerts;
12
- alerts$: import("rxjs").Observable<PageAlert[]>;
13
- constructor();
14
- show(alert: PageAlert): void;
15
- remove(index: number): void;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<PageAlertService, never>;
17
- static ɵprov: i0.ɵɵInjectableDeclaration<PageAlertService>;
18
- }
1
+ import * as i0 from "@angular/core";
2
+ export interface PageAlert {
3
+ type: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark';
4
+ message: string;
5
+ dismissible?: boolean;
6
+ title?: string;
7
+ messageLocalizationParams?: string[];
8
+ titleLocalizationParams?: string[];
9
+ }
10
+ export declare class PageAlertService {
11
+ private alerts;
12
+ alerts$: import("rxjs").Observable<PageAlert[]>;
13
+ constructor();
14
+ show(alert: PageAlert): void;
15
+ remove(index: number): void;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<PageAlertService, never>;
17
+ static ɵprov: i0.ɵɵInjectableDeclaration<PageAlertService>;
18
+ }