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

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 (229) hide show
  1. package/bundles/abp-ng.theme.shared-extensions.umd.js +81 -80
  2. package/bundles/abp-ng.theme.shared-extensions.umd.js.map +1 -1
  3. package/bundles/abp-ng.theme.shared-testing.umd.js +8 -10
  4. package/bundles/abp-ng.theme.shared-testing.umd.js.map +1 -1
  5. package/bundles/abp-ng.theme.shared.umd.js +158 -138
  6. package/bundles/abp-ng.theme.shared.umd.js.map +1 -1
  7. package/esm2015/abp-ng.theme.shared.js +1 -1
  8. package/esm2015/extensions/abp-ng.theme.shared-extensions.js +1 -1
  9. package/esm2015/extensions/lib/adapters/date-time.adapter.js +6 -6
  10. package/esm2015/extensions/lib/adapters/date.adapter.js +4 -4
  11. package/esm2015/extensions/lib/adapters/time.adapter.js +4 -4
  12. package/esm2015/extensions/lib/components/abstract-actions/abstract-actions.component.js +4 -4
  13. package/esm2015/extensions/lib/components/date-time-picker/date-time-picker.component.js +5 -5
  14. package/esm2015/extensions/lib/components/extensible-form/extensible-form-prop.component.js +7 -7
  15. package/esm2015/extensions/lib/components/extensible-form/extensible-form.component.js +4 -4
  16. package/esm2015/extensions/lib/components/extensible-table/extensible-table.component.js +4 -4
  17. package/esm2015/extensions/lib/components/grid-actions/grid-actions.component.js +5 -5
  18. package/esm2015/extensions/lib/components/page-toolbar/page-toolbar.component.js +4 -4
  19. package/esm2015/extensions/lib/constants/extra-properties.js +1 -1
  20. package/esm2015/extensions/lib/directives/disabled.directive.js +5 -4
  21. package/esm2015/extensions/lib/directives/prop-data.directive.js +4 -4
  22. package/esm2015/extensions/lib/enums/props.enum.js +1 -1
  23. package/esm2015/extensions/lib/models/actions.js +1 -1
  24. package/esm2015/extensions/lib/models/entity-actions.js +1 -1
  25. package/esm2015/extensions/lib/models/entity-props.js +1 -1
  26. package/esm2015/extensions/lib/models/form-props.js +1 -1
  27. package/esm2015/extensions/lib/models/internal/object-extensions.js +1 -1
  28. package/esm2015/extensions/lib/models/object-extensions.js +1 -1
  29. package/esm2015/extensions/lib/models/props.js +1 -1
  30. package/esm2015/extensions/lib/models/toolbar-actions.js +3 -3
  31. package/esm2015/extensions/lib/services/extensions.service.js +4 -4
  32. package/esm2015/extensions/lib/tokens/extensions.token.js +1 -1
  33. package/esm2015/extensions/lib/ui-extensions.module.js +9 -9
  34. package/esm2015/extensions/lib/utils/actions.util.js +1 -1
  35. package/esm2015/extensions/lib/utils/enum.util.js +4 -4
  36. package/esm2015/extensions/lib/utils/factory.util.js +1 -1
  37. package/esm2015/extensions/lib/utils/form-props.util.js +1 -1
  38. package/esm2015/extensions/lib/utils/localization.util.js +4 -4
  39. package/esm2015/extensions/lib/utils/props.util.js +1 -1
  40. package/esm2015/extensions/lib/utils/state.util.js +5 -4
  41. package/esm2015/extensions/lib/utils/typeahead.util.js +9 -9
  42. package/esm2015/extensions/lib/utils/validation.util.js +3 -2
  43. package/esm2015/extensions/public-api.js +1 -1
  44. package/esm2015/lib/animations/bounce.animations.js +1 -1
  45. package/esm2015/lib/animations/collapse.animations.js +1 -1
  46. package/esm2015/lib/animations/fade.animations.js +1 -1
  47. package/esm2015/lib/animations/index.js +1 -1
  48. package/esm2015/lib/animations/modal.animations.js +1 -1
  49. package/esm2015/lib/animations/slide.animations.js +1 -1
  50. package/esm2015/lib/animations/toast.animations.js +1 -1
  51. package/esm2015/lib/components/breadcrumb/breadcrumb.component.js +4 -4
  52. package/esm2015/lib/components/breadcrumb-items/breadcrumb-items.component.js +4 -4
  53. package/esm2015/lib/components/button/button.component.js +8 -5
  54. package/esm2015/lib/components/confirmation/confirmation.component.js +4 -4
  55. package/esm2015/lib/components/http-error-wrapper/http-error-wrapper.component.js +8 -6
  56. package/esm2015/lib/components/index.js +1 -1
  57. package/esm2015/lib/components/loader-bar/loader-bar.component.js +4 -4
  58. package/esm2015/lib/components/loading/loading.component.js +4 -4
  59. package/esm2015/lib/components/modal/modal-close.directive.js +4 -4
  60. package/esm2015/lib/components/modal/modal-ref.service.js +4 -4
  61. package/esm2015/lib/components/modal/modal.component.js +15 -15
  62. package/esm2015/lib/components/toast/toast.component.js +6 -5
  63. package/esm2015/lib/components/toast-container/toast-container.component.js +6 -5
  64. package/esm2015/lib/constants/styles.js +1 -1
  65. package/esm2015/lib/constants/validation.js +1 -1
  66. package/esm2015/lib/directives/ellipsis.directive.js +8 -8
  67. package/esm2015/lib/directives/index.js +1 -1
  68. package/esm2015/lib/directives/loading.directive.js +8 -5
  69. package/esm2015/lib/directives/ngx-datatable-default.directive.js +4 -4
  70. package/esm2015/lib/directives/ngx-datatable-list.directive.js +4 -4
  71. package/esm2015/lib/enums/index.js +1 -1
  72. package/esm2015/lib/enums/route-names.js +1 -1
  73. package/esm2015/lib/handlers/document-dir.handler.js +4 -4
  74. package/esm2015/lib/handlers/error.handler.js +44 -33
  75. package/esm2015/lib/handlers/index.js +1 -1
  76. package/esm2015/lib/models/common.js +1 -1
  77. package/esm2015/lib/models/confirmation.js +1 -1
  78. package/esm2015/lib/models/index.js +1 -1
  79. package/esm2015/lib/models/nav-item.js +1 -1
  80. package/esm2015/lib/models/statistics.js +1 -1
  81. package/esm2015/lib/models/toaster.js +1 -1
  82. package/esm2015/lib/providers/index.js +1 -1
  83. package/esm2015/lib/providers/ng-bootstrap-config.provider.js +1 -1
  84. package/esm2015/lib/providers/route.provider.js +1 -1
  85. package/esm2015/lib/services/confirmation.service.js +4 -4
  86. package/esm2015/lib/services/index.js +1 -1
  87. package/esm2015/lib/services/nav-items.service.js +4 -4
  88. package/esm2015/lib/services/page-alert.service.js +4 -4
  89. package/esm2015/lib/services/toaster.service.js +5 -5
  90. package/esm2015/lib/theme-shared.module.js +9 -9
  91. package/esm2015/lib/tokens/append-content.token.js +1 -1
  92. package/esm2015/lib/tokens/http-error.token.js +1 -1
  93. package/esm2015/lib/tokens/index.js +1 -1
  94. package/esm2015/lib/tokens/ngx-datatable-messages.token.js +1 -1
  95. package/esm2015/lib/tokens/suppress-unsaved-changes-warning.token.js +1 -1
  96. package/esm2015/lib/utils/date-parser-formatter.js +7 -6
  97. package/esm2015/lib/utils/index.js +1 -1
  98. package/esm2015/lib/utils/validation-utils.js +1 -1
  99. package/esm2015/public-api.js +1 -1
  100. package/esm2015/testing/abp-ng.theme.shared-testing.js +1 -1
  101. package/esm2015/testing/lib/models/config.js +1 -1
  102. package/esm2015/testing/lib/models/index.js +1 -1
  103. package/esm2015/testing/lib/theme-shared-testing.module.js +5 -5
  104. package/esm2015/testing/public-api.js +1 -1
  105. package/extensions/lib/adapters/date.adapter.d.ts +1 -1
  106. package/extensions/lib/adapters/time.adapter.d.ts +1 -1
  107. package/extensions/lib/components/abstract-actions/abstract-actions.component.d.ts +1 -1
  108. package/extensions/lib/components/extensible-form/extensible-form-prop.component.d.ts +1 -1
  109. package/extensions/lib/directives/prop-data.directive.d.ts +3 -3
  110. package/extensions/lib/models/actions.d.ts +1 -1
  111. package/extensions/lib/models/props.d.ts +1 -1
  112. package/extensions/lib/utils/state.util.d.ts +1 -1
  113. package/fesm2015/abp-ng.theme.shared-extensions.js +77 -74
  114. package/fesm2015/abp-ng.theme.shared-extensions.js.map +1 -1
  115. package/fesm2015/abp-ng.theme.shared-testing.js +4 -4
  116. package/fesm2015/abp-ng.theme.shared-testing.js.map +1 -1
  117. package/fesm2015/abp-ng.theme.shared.js +152 -130
  118. package/fesm2015/abp-ng.theme.shared.js.map +1 -1
  119. package/lib/components/breadcrumb-items/breadcrumb-items.component.d.ts +2 -1
  120. package/lib/components/button/button.component.d.ts +3 -3
  121. package/lib/components/http-error-wrapper/http-error-wrapper.component.d.ts +2 -2
  122. package/lib/components/modal/modal-ref.service.d.ts +1 -1
  123. package/lib/components/modal/modal.component.d.ts +5 -5
  124. package/lib/components/toast-container/toast-container.component.d.ts +4 -4
  125. package/lib/directives/ellipsis.directive.d.ts +2 -2
  126. package/lib/directives/loading.directive.d.ts +3 -3
  127. package/lib/handlers/error.handler.d.ts +3 -2
  128. package/lib/models/nav-item.d.ts +1 -1
  129. package/lib/services/toaster.service.d.ts +1 -1
  130. package/lib/utils/date-parser-formatter.d.ts +1 -1
  131. package/package.json +4 -4
  132. package/esm2015/abp-ng.theme.shared.js.map +0 -1
  133. package/esm2015/extensions/abp-ng.theme.shared-extensions.js.map +0 -1
  134. package/esm2015/extensions/lib/adapters/date-time.adapter.js.map +0 -1
  135. package/esm2015/extensions/lib/adapters/date.adapter.js.map +0 -1
  136. package/esm2015/extensions/lib/adapters/time.adapter.js.map +0 -1
  137. package/esm2015/extensions/lib/components/abstract-actions/abstract-actions.component.js.map +0 -1
  138. package/esm2015/extensions/lib/components/date-time-picker/date-time-picker.component.js.map +0 -1
  139. package/esm2015/extensions/lib/components/extensible-form/extensible-form-prop.component.js.map +0 -1
  140. package/esm2015/extensions/lib/components/extensible-form/extensible-form.component.js.map +0 -1
  141. package/esm2015/extensions/lib/components/extensible-table/extensible-table.component.js.map +0 -1
  142. package/esm2015/extensions/lib/components/grid-actions/grid-actions.component.js.map +0 -1
  143. package/esm2015/extensions/lib/components/page-toolbar/page-toolbar.component.js.map +0 -1
  144. package/esm2015/extensions/lib/constants/extra-properties.js.map +0 -1
  145. package/esm2015/extensions/lib/directives/disabled.directive.js.map +0 -1
  146. package/esm2015/extensions/lib/directives/prop-data.directive.js.map +0 -1
  147. package/esm2015/extensions/lib/enums/props.enum.js.map +0 -1
  148. package/esm2015/extensions/lib/models/actions.js.map +0 -1
  149. package/esm2015/extensions/lib/models/entity-actions.js.map +0 -1
  150. package/esm2015/extensions/lib/models/entity-props.js.map +0 -1
  151. package/esm2015/extensions/lib/models/form-props.js.map +0 -1
  152. package/esm2015/extensions/lib/models/internal/object-extensions.js.map +0 -1
  153. package/esm2015/extensions/lib/models/object-extensions.js.map +0 -1
  154. package/esm2015/extensions/lib/models/props.js.map +0 -1
  155. package/esm2015/extensions/lib/models/toolbar-actions.js.map +0 -1
  156. package/esm2015/extensions/lib/services/extensions.service.js.map +0 -1
  157. package/esm2015/extensions/lib/tokens/extensions.token.js.map +0 -1
  158. package/esm2015/extensions/lib/ui-extensions.module.js.map +0 -1
  159. package/esm2015/extensions/lib/utils/actions.util.js.map +0 -1
  160. package/esm2015/extensions/lib/utils/enum.util.js.map +0 -1
  161. package/esm2015/extensions/lib/utils/factory.util.js.map +0 -1
  162. package/esm2015/extensions/lib/utils/form-props.util.js.map +0 -1
  163. package/esm2015/extensions/lib/utils/localization.util.js.map +0 -1
  164. package/esm2015/extensions/lib/utils/props.util.js.map +0 -1
  165. package/esm2015/extensions/lib/utils/state.util.js.map +0 -1
  166. package/esm2015/extensions/lib/utils/typeahead.util.js.map +0 -1
  167. package/esm2015/extensions/lib/utils/validation.util.js.map +0 -1
  168. package/esm2015/extensions/public-api.js.map +0 -1
  169. package/esm2015/lib/animations/bounce.animations.js.map +0 -1
  170. package/esm2015/lib/animations/collapse.animations.js.map +0 -1
  171. package/esm2015/lib/animations/fade.animations.js.map +0 -1
  172. package/esm2015/lib/animations/index.js.map +0 -1
  173. package/esm2015/lib/animations/modal.animations.js.map +0 -1
  174. package/esm2015/lib/animations/slide.animations.js.map +0 -1
  175. package/esm2015/lib/animations/toast.animations.js.map +0 -1
  176. package/esm2015/lib/components/breadcrumb/breadcrumb.component.js.map +0 -1
  177. package/esm2015/lib/components/breadcrumb-items/breadcrumb-items.component.js.map +0 -1
  178. package/esm2015/lib/components/button/button.component.js.map +0 -1
  179. package/esm2015/lib/components/confirmation/confirmation.component.js.map +0 -1
  180. package/esm2015/lib/components/http-error-wrapper/http-error-wrapper.component.js.map +0 -1
  181. package/esm2015/lib/components/index.js.map +0 -1
  182. package/esm2015/lib/components/loader-bar/loader-bar.component.js.map +0 -1
  183. package/esm2015/lib/components/loading/loading.component.js.map +0 -1
  184. package/esm2015/lib/components/modal/modal-close.directive.js.map +0 -1
  185. package/esm2015/lib/components/modal/modal-ref.service.js.map +0 -1
  186. package/esm2015/lib/components/modal/modal.component.js.map +0 -1
  187. package/esm2015/lib/components/toast/toast.component.js.map +0 -1
  188. package/esm2015/lib/components/toast-container/toast-container.component.js.map +0 -1
  189. package/esm2015/lib/constants/styles.js.map +0 -1
  190. package/esm2015/lib/constants/validation.js.map +0 -1
  191. package/esm2015/lib/directives/ellipsis.directive.js.map +0 -1
  192. package/esm2015/lib/directives/index.js.map +0 -1
  193. package/esm2015/lib/directives/loading.directive.js.map +0 -1
  194. package/esm2015/lib/directives/ngx-datatable-default.directive.js.map +0 -1
  195. package/esm2015/lib/directives/ngx-datatable-list.directive.js.map +0 -1
  196. package/esm2015/lib/enums/index.js.map +0 -1
  197. package/esm2015/lib/enums/route-names.js.map +0 -1
  198. package/esm2015/lib/handlers/document-dir.handler.js.map +0 -1
  199. package/esm2015/lib/handlers/error.handler.js.map +0 -1
  200. package/esm2015/lib/handlers/index.js.map +0 -1
  201. package/esm2015/lib/models/common.js.map +0 -1
  202. package/esm2015/lib/models/confirmation.js.map +0 -1
  203. package/esm2015/lib/models/index.js.map +0 -1
  204. package/esm2015/lib/models/nav-item.js.map +0 -1
  205. package/esm2015/lib/models/statistics.js.map +0 -1
  206. package/esm2015/lib/models/toaster.js.map +0 -1
  207. package/esm2015/lib/providers/index.js.map +0 -1
  208. package/esm2015/lib/providers/ng-bootstrap-config.provider.js.map +0 -1
  209. package/esm2015/lib/providers/route.provider.js.map +0 -1
  210. package/esm2015/lib/services/confirmation.service.js.map +0 -1
  211. package/esm2015/lib/services/index.js.map +0 -1
  212. package/esm2015/lib/services/nav-items.service.js.map +0 -1
  213. package/esm2015/lib/services/page-alert.service.js.map +0 -1
  214. package/esm2015/lib/services/toaster.service.js.map +0 -1
  215. package/esm2015/lib/theme-shared.module.js.map +0 -1
  216. package/esm2015/lib/tokens/append-content.token.js.map +0 -1
  217. package/esm2015/lib/tokens/http-error.token.js.map +0 -1
  218. package/esm2015/lib/tokens/index.js.map +0 -1
  219. package/esm2015/lib/tokens/ngx-datatable-messages.token.js.map +0 -1
  220. package/esm2015/lib/tokens/suppress-unsaved-changes-warning.token.js.map +0 -1
  221. package/esm2015/lib/utils/date-parser-formatter.js.map +0 -1
  222. package/esm2015/lib/utils/index.js.map +0 -1
  223. package/esm2015/lib/utils/validation-utils.js.map +0 -1
  224. package/esm2015/public-api.js.map +0 -1
  225. package/esm2015/testing/abp-ng.theme.shared-testing.js.map +0 -1
  226. package/esm2015/testing/lib/models/config.js.map +0 -1
  227. package/esm2015/testing/lib/models/index.js.map +0 -1
  228. package/esm2015/testing/lib/theme-shared-testing.module.js.map +0 -1
  229. package/esm2015/testing/public-api.js.map +0 -1
@@ -153,9 +153,9 @@ class BreadcrumbItemsComponent {
153
153
  this.items = [];
154
154
  }
155
155
  }
156
- BreadcrumbItemsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: BreadcrumbItemsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
157
- BreadcrumbItemsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: BreadcrumbItemsComponent, selector: "abp-breadcrumb-items", inputs: { items: "items" }, ngImport: i0, template: "<ol class=\"breadcrumb\" *ngIf=\"items.length\">\r\n <li class=\"breadcrumb-item\">\r\n <a routerLink=\"/\"><i class=\"fa fa-home\"></i> </a>\r\n </li>\r\n <li\r\n *ngFor=\"let item of items; let last = last\"\r\n class=\"breadcrumb-item\"\r\n [class.active]=\"last\"\r\n aria-current=\"page\"\r\n >\r\n <ng-container\r\n *ngTemplateOutlet=\"item.path ? linkTemplate : textTemplate; context: { $implicit: item }\"\r\n ></ng-container>\r\n </li>\r\n</ol>\r\n\r\n<ng-template #linkTemplate let-item>\r\n <a [routerLink]=\"item.path\"> {{ item.name | abpLocalization }}</a>\r\n</ng-template>\r\n\r\n<ng-template #textTemplate let-item>\r\n {{ item.name | abpLocalization }}\r\n</ng-template>\r\n", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["routerLink", "target", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], pipes: { "abpLocalization": i2.LocalizationPipe } });
158
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: BreadcrumbItemsComponent, decorators: [{
156
+ BreadcrumbItemsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: BreadcrumbItemsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
157
+ BreadcrumbItemsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: BreadcrumbItemsComponent, selector: "abp-breadcrumb-items", inputs: { items: "items" }, ngImport: i0, template: "<ol class=\"breadcrumb\" *ngIf=\"items.length\">\r\n <li class=\"breadcrumb-item\">\r\n <a routerLink=\"/\"><i class=\"fa fa-home\"></i> </a>\r\n </li>\r\n <li\r\n *ngFor=\"let item of items; let last = last\"\r\n class=\"breadcrumb-item\"\r\n [class.active]=\"last\"\r\n aria-current=\"page\"\r\n >\r\n <ng-container\r\n *ngTemplateOutlet=\"item.path ? linkTemplate : textTemplate; context: { $implicit: item }\"\r\n ></ng-container>\r\n </li>\r\n</ol>\r\n\r\n<ng-template #linkTemplate let-item>\r\n <a [routerLink]=\"item.path\"> {{ item.name | abpLocalization }}</a>\r\n</ng-template>\r\n\r\n<ng-template #textTemplate let-item>\r\n {{ item.name | abpLocalization }}\r\n</ng-template>\r\n", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["routerLink", "target", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], pipes: { "abpLocalization": i2.LocalizationPipe } });
158
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: BreadcrumbItemsComponent, decorators: [{
159
159
  type: Component,
160
160
  args: [{
161
161
  selector: 'abp-breadcrumb-items',
@@ -190,9 +190,9 @@ class BreadcrumbComponent {
190
190
  });
191
191
  }
192
192
  }
193
- BreadcrumbComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: BreadcrumbComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$1.Router }, { token: i2.RoutesService }, { token: i2.SubscriptionService }, { token: i2.RouterEvents }], target: i0.ɵɵFactoryTarget.Component });
194
- BreadcrumbComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: BreadcrumbComponent, selector: "abp-breadcrumb", providers: [SubscriptionService], ngImport: i0, template: "<abp-breadcrumb-items [items]=\"segments\"></abp-breadcrumb-items>\r\n", components: [{ type: BreadcrumbItemsComponent, selector: "abp-breadcrumb-items", inputs: ["items"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
195
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: BreadcrumbComponent, decorators: [{
193
+ BreadcrumbComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: BreadcrumbComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$1.Router }, { token: i2.RoutesService }, { token: i2.SubscriptionService }, { token: i2.RouterEvents }], target: i0.ɵɵFactoryTarget.Component });
194
+ BreadcrumbComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: BreadcrumbComponent, selector: "abp-breadcrumb", providers: [SubscriptionService], ngImport: i0, template: "<abp-breadcrumb-items [items]=\"segments\"></abp-breadcrumb-items>\r\n", components: [{ type: BreadcrumbItemsComponent, selector: "abp-breadcrumb-items", inputs: ["items"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
195
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: BreadcrumbComponent, decorators: [{
196
196
  type: Component,
197
197
  args: [{
198
198
  selector: 'abp-breadcrumb',
@@ -226,13 +226,16 @@ class ButtonComponent {
226
226
  ngOnInit() {
227
227
  if (this.attributes) {
228
228
  Object.keys(this.attributes).forEach(key => {
229
- this.renderer.setAttribute(this.buttonRef.nativeElement, key, this.attributes[key]);
229
+ var _a;
230
+ if ((_a = this.attributes) === null || _a === void 0 ? void 0 : _a[key]) {
231
+ this.renderer.setAttribute(this.buttonRef.nativeElement, key, this.attributes[key]);
232
+ }
230
233
  });
231
234
  }
232
235
  }
233
236
  }
234
- ButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ButtonComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
235
- ButtonComponent.ɵcmp = i0.ɵɵ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, template: `
237
+ ButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ButtonComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
238
+ ButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", 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, template: `
236
239
  <button
237
240
  #button
238
241
  [id]="buttonId"
@@ -246,7 +249,7 @@ ButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
246
249
  <i [ngClass]="icon" class="me-1"></i><ng-content></ng-content>
247
250
  </button>
248
251
  `, isInline: true, directives: [{ type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.StopPropagationDirective, selector: "[click.stop]", outputs: ["click.stop"] }] });
249
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ButtonComponent, decorators: [{
252
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ButtonComponent, decorators: [{
250
253
  type: Component,
251
254
  args: [{
252
255
  selector: 'abp-button',
@@ -330,9 +333,9 @@ class ConfirmationComponent {
330
333
  }
331
334
  }
332
335
  }
333
- ConfirmationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ConfirmationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
334
- ConfirmationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: ConfirmationComponent, selector: "abp-confirmation", ngImport: i0, template: "<div class=\"confirmation\" *ngIf=\"confirmation$ | async as data\">\r\n <div\r\n class=\"confirmation-backdrop\"\r\n (click)=\"data.options?.dismissible ? close(dismiss) : null\"\r\n ></div>\r\n <div class=\"confirmation-dialog\">\r\n <div class=\"icon-container\" [ngClass]=\"data.severity\" *ngIf=\"data.severity\">\r\n <i class=\"fa icon\" [ngClass]=\"getIconClass(data)\"></i>\r\n </div>\r\n <div class=\"content\">\r\n <h1\r\n class=\"title\"\r\n *ngIf=\"data.title\"\r\n [innerHTML]=\"data.title | abpLocalization: data.options?.titleLocalizationParams\"\r\n ></h1>\r\n <p\r\n class=\"message\"\r\n *ngIf=\"data.message\"\r\n [innerHTML]=\"data.message | abpLocalization: data.options?.messageLocalizationParams\"\r\n ></p>\r\n </div>\r\n <div class=\"footer\">\r\n <button\r\n id=\"cancel\"\r\n class=\"confirmation-button confirmation-button--reject\"\r\n [innerHTML]=\"data.options?.cancelText || 'AbpUi::Cancel' | abpLocalization\"\r\n *ngIf=\"!data?.options?.hideCancelBtn\"\r\n (click)=\"close(reject)\"\r\n ></button>\r\n <button\r\n id=\"confirm\"\r\n class=\"confirmation-button confirmation-button--approve\"\r\n [innerHTML]=\"data.options?.yesText || 'AbpUi::Yes' | abpLocalization\"\r\n *ngIf=\"!data?.options?.hideYesBtn\"\r\n (click)=\"close(confirm)\"\r\n ></button>\r\n </div>\r\n </div>\r\n</div>\r\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.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], pipes: { "async": i1.AsyncPipe, "abpLocalization": i2.LocalizationPipe } });
335
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ConfirmationComponent, decorators: [{
336
+ ConfirmationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ConfirmationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
337
+ ConfirmationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: ConfirmationComponent, selector: "abp-confirmation", ngImport: i0, template: "<div class=\"confirmation\" *ngIf=\"confirmation$ | async as data\">\r\n <div\r\n class=\"confirmation-backdrop\"\r\n (click)=\"data.options?.dismissible ? close(dismiss) : null\"\r\n ></div>\r\n <div class=\"confirmation-dialog\">\r\n <div class=\"icon-container\" [ngClass]=\"data.severity\" *ngIf=\"data.severity\">\r\n <i class=\"fa icon\" [ngClass]=\"getIconClass(data)\"></i>\r\n </div>\r\n <div class=\"content\">\r\n <h1\r\n class=\"title\"\r\n *ngIf=\"data.title\"\r\n [innerHTML]=\"data.title | abpLocalization: data.options?.titleLocalizationParams\"\r\n ></h1>\r\n <p\r\n class=\"message\"\r\n *ngIf=\"data.message\"\r\n [innerHTML]=\"data.message | abpLocalization: data.options?.messageLocalizationParams\"\r\n ></p>\r\n </div>\r\n <div class=\"footer\">\r\n <button\r\n id=\"cancel\"\r\n class=\"confirmation-button confirmation-button--reject\"\r\n [innerHTML]=\"data.options?.cancelText || 'AbpUi::Cancel' | abpLocalization\"\r\n *ngIf=\"!data?.options?.hideCancelBtn\"\r\n (click)=\"close(reject)\"\r\n ></button>\r\n <button\r\n id=\"confirm\"\r\n class=\"confirmation-button confirmation-button--approve\"\r\n [innerHTML]=\"data.options?.yesText || 'AbpUi::Yes' | abpLocalization\"\r\n *ngIf=\"!data?.options?.hideYesBtn\"\r\n (click)=\"close(confirm)\"\r\n ></button>\r\n </div>\r\n </div>\r\n</div>\r\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.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], pipes: { "async": i1.AsyncPipe, "abpLocalization": i2.LocalizationPipe } });
338
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ConfirmationComponent, decorators: [{
336
339
  type: Component,
337
340
  args: [{
338
341
  selector: 'abp-confirmation',
@@ -347,7 +350,7 @@ class HttpErrorWrapperComponent {
347
350
  this.status = 0;
348
351
  this.title = 'Oops!';
349
352
  this.details = 'Sorry, an error has occured.';
350
- this.customComponent = null;
353
+ this.customComponent = undefined;
351
354
  this.hideCloseIcon = false;
352
355
  this.isHomeShow = true;
353
356
  }
@@ -367,7 +370,9 @@ class HttpErrorWrapperComponent {
367
370
  customComponentRef.instance.errorStatus = this.status;
368
371
  customComponentRef.instance.destroy$ = this.destroy$;
369
372
  this.appRef.attachView(customComponentRef.hostView);
370
- this.containerRef.nativeElement.appendChild(customComponentRef.hostView.rootNodes[0]);
373
+ if (this.containerRef) {
374
+ this.containerRef.nativeElement.appendChild(customComponentRef.hostView.rootNodes[0]);
375
+ }
371
376
  customComponentRef.changeDetectorRef.detectChanges();
372
377
  }
373
378
  const keyup$ = fromEvent(document, 'keyup').pipe(debounceTime(150), filter((key) => key && key.key === 'Escape'));
@@ -381,9 +386,9 @@ class HttpErrorWrapperComponent {
381
386
  this.destroy$.complete();
382
387
  }
383
388
  }
384
- HttpErrorWrapperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: HttpErrorWrapperComponent, deps: [{ token: i2.SubscriptionService }], target: i0.ɵɵFactoryTarget.Component });
385
- HttpErrorWrapperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: HttpErrorWrapperComponent, selector: "abp-http-error-wrapper", providers: [SubscriptionService], viewQueries: [{ propertyName: "containerRef", first: true, predicate: ["container"], descendants: true }], ngImport: i0, template: "<div\r\n #container\r\n id=\"abp-http-error-container\"\r\n class=\"error\"\r\n [style.backgroundColor]=\"backgroundColor\"\r\n>\r\n <button\r\n *ngIf=\"!hideCloseIcon\"\r\n id=\"abp-close-button\"\r\n type=\"button\"\r\n class=\"close me-2\"\r\n (click)=\"destroy()\"\r\n >\r\n <span aria-hidden=\"true\">&times;</span>\r\n </button>\r\n\r\n <div *ngIf=\"!customComponent\" class=\"row centered\">\r\n <div class=\"col-md-12\">\r\n <div class=\"error-template\">\r\n <h1>{{ statusText }} {{ title | abpLocalization }}</h1>\r\n <div class=\"error-details\">\r\n {{ details | abpLocalization }}\r\n </div>\r\n <div class=\"error-actions\">\r\n <a\r\n *ngIf=\"isHomeShow\"\r\n (click)=\"destroy()\"\r\n routerLink=\"/\"\r\n class=\"btn btn-primary btn-md mt-2\"\r\n ><span class=\"glyphicon glyphicon-home\"></span>\r\n {{ { key: '::Menu:Home', defaultValue: 'Home' } | abpLocalization }}\r\n </a>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\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.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["routerLink", "target", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo"] }], pipes: { "abpLocalization": i2.LocalizationPipe } });
386
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: HttpErrorWrapperComponent, decorators: [{
389
+ HttpErrorWrapperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: HttpErrorWrapperComponent, deps: [{ token: i2.SubscriptionService }], target: i0.ɵɵFactoryTarget.Component });
390
+ HttpErrorWrapperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: HttpErrorWrapperComponent, selector: "abp-http-error-wrapper", providers: [SubscriptionService], viewQueries: [{ propertyName: "containerRef", first: true, predicate: ["container"], descendants: true }], ngImport: i0, template: "<div\r\n #container\r\n id=\"abp-http-error-container\"\r\n class=\"error\"\r\n [style.backgroundColor]=\"backgroundColor\"\r\n>\r\n <button\r\n *ngIf=\"!hideCloseIcon\"\r\n id=\"abp-close-button\"\r\n type=\"button\"\r\n class=\"btn-close me-2\"\r\n (click)=\"destroy()\"\r\n ></button>\r\n\r\n <div *ngIf=\"!customComponent\" class=\"row centered\">\r\n <div class=\"col-md-12\">\r\n <div class=\"error-template\">\r\n <h1>{{ statusText }} {{ title | abpLocalization }}</h1>\r\n <div class=\"error-details\">\r\n {{ details | abpLocalization }}\r\n </div>\r\n <div class=\"error-actions\">\r\n <a\r\n *ngIf=\"isHomeShow\"\r\n (click)=\"destroy()\"\r\n routerLink=\"/\"\r\n class=\"btn btn-primary btn-md mt-2\"\r\n ><span class=\"glyphicon glyphicon-home\"></span>\r\n {{ { key: '::Menu:Home', defaultValue: 'Home' } | abpLocalization }}\r\n </a>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\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.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["routerLink", "target", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo"] }], pipes: { "abpLocalization": i2.LocalizationPipe } });
391
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: HttpErrorWrapperComponent, decorators: [{
387
392
  type: Component,
388
393
  args: [{
389
394
  selector: 'abp-http-error-wrapper',
@@ -472,8 +477,8 @@ class LoaderBarComponent {
472
477
  this.timer = timer(this.stopDelay).subscribe(this.clearProgress);
473
478
  }
474
479
  }
475
- LoaderBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: LoaderBarComponent, deps: [{ token: i1$1.Router }, { token: i0.ChangeDetectorRef }, { token: i2.SubscriptionService }, { token: i2.HttpWaitService }, { token: i2.RouterWaitService }], target: i0.ɵɵFactoryTarget.Component });
476
- LoaderBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: LoaderBarComponent, selector: "abp-loader-bar", inputs: { isLoading: "isLoading", containerClass: "containerClass", color: "color" }, providers: [SubscriptionService], ngImport: i0, template: `
480
+ LoaderBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: LoaderBarComponent, deps: [{ token: i1$1.Router }, { token: i0.ChangeDetectorRef }, { token: i2.SubscriptionService }, { token: i2.HttpWaitService }, { token: i2.RouterWaitService }], target: i0.ɵɵFactoryTarget.Component });
481
+ LoaderBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: LoaderBarComponent, selector: "abp-loader-bar", inputs: { isLoading: "isLoading", containerClass: "containerClass", color: "color" }, providers: [SubscriptionService], ngImport: i0, template: `
477
482
  <div id="abp-loader-bar" [ngClass]="containerClass" [class.is-loading]="isLoading">
478
483
  <div
479
484
  class="abp-progress"
@@ -486,7 +491,7 @@ LoaderBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
486
491
  ></div>
487
492
  </div>
488
493
  `, 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.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
489
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: LoaderBarComponent, decorators: [{
494
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: LoaderBarComponent, decorators: [{
490
495
  type: Component,
491
496
  args: [{
492
497
  selector: 'abp-loader-bar',
@@ -516,13 +521,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
516
521
 
517
522
  class LoadingComponent {
518
523
  }
519
- LoadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: LoadingComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
520
- LoadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: LoadingComponent, selector: "abp-loading", ngImport: i0, template: `
524
+ LoadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: LoadingComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
525
+ LoadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: LoadingComponent, selector: "abp-loading", ngImport: i0, template: `
521
526
  <div class="abp-loading">
522
527
  <i class="fa fa-spinner fa-pulse abp-spinner"></i>
523
528
  </div>
524
529
  `, 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.ViewEncapsulation.None });
525
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: LoadingComponent, decorators: [{
530
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: LoadingComponent, decorators: [{
526
531
  type: Component,
527
532
  args: [{
528
533
  selector: 'abp-loading',
@@ -612,9 +617,9 @@ class ConfirmationService {
612
617
  });
613
618
  }
614
619
  }
615
- ConfirmationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ConfirmationService, deps: [{ token: i2.ContentProjectionService }], target: i0.ɵɵFactoryTarget.Injectable });
616
- ConfirmationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ConfirmationService, providedIn: 'root' });
617
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ConfirmationService, decorators: [{
620
+ ConfirmationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ConfirmationService, deps: [{ token: i2.ContentProjectionService }], target: i0.ɵɵFactoryTarget.Injectable });
621
+ ConfirmationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ConfirmationService, providedIn: 'root' });
622
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ConfirmationService, decorators: [{
618
623
  type: Injectable,
619
624
  args: [{ providedIn: 'root' }]
620
625
  }], ctorParameters: function () { return [{ type: i2.ContentProjectionService }]; } });
@@ -638,9 +643,9 @@ class ModalRefService {
638
643
  this.modalRefs.forEach(modal => modal.dismiss(mode));
639
644
  }
640
645
  }
641
- ModalRefService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ModalRefService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
642
- ModalRefService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ModalRefService, providedIn: 'root' });
643
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ModalRefService, decorators: [{
646
+ ModalRefService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ModalRefService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
647
+ ModalRefService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ModalRefService, providedIn: 'root' });
648
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ModalRefService, decorators: [{
644
649
  type: Injectable,
645
650
  args: [{ providedIn: 'root' }]
646
651
  }] });
@@ -687,7 +692,8 @@ class ModalComponent {
687
692
  return document.querySelector(`ngb-modal-window.${this.modalIdentifier}`);
688
693
  }
689
694
  get isFormDirty() {
690
- return Boolean(this.modalWindowRef.querySelector('.ng-dirty'));
695
+ var _a;
696
+ return Boolean((_a = this.modalWindowRef) === null || _a === void 0 ? void 0 : _a.querySelector('.ng-dirty'));
691
697
  }
692
698
  ngOnInit() {
693
699
  this.modalRefService.register(this);
@@ -739,7 +745,7 @@ class ModalComponent {
739
745
  return;
740
746
  this.isConfirmationOpen = true;
741
747
  this.confirmationService
742
- .warn('AbpAccount::AreYouSureYouWantToCancelEditingWarningMessage', 'AbpAccount::AreYouSure', { dismissible: false })
748
+ .warn('AbpUi::AreYouSureYouWantToCancelEditingWarningMessage', 'AbpUi::AreYouSure', { dismissible: false })
743
749
  .subscribe((status) => {
744
750
  this.isConfirmationOpen = false;
745
751
  if (status === Confirmation.Status.confirm) {
@@ -752,26 +758,25 @@ class ModalComponent {
752
758
  }
753
759
  }
754
760
  listen() {
755
- fromEvent(this.modalWindowRef, 'keyup')
756
- .pipe(takeUntil(this.destroy$), debounceTime(150), filter((key) => key && key.key === 'Escape'))
757
- .subscribe(() => this.close());
761
+ if (this.modalWindowRef) {
762
+ fromEvent(this.modalWindowRef, 'keyup')
763
+ .pipe(takeUntil(this.destroy$), debounceTime(150), filter((key) => key && key.key === 'Escape'))
764
+ .subscribe(() => this.close());
765
+ }
758
766
  fromEvent(window, 'beforeunload')
759
767
  .pipe(takeUntil(this.destroy$))
760
768
  .subscribe(event => {
761
- event.preventDefault();
762
- if (this.isFormDirty && !this.suppressUnsavedChangesWarning) {
763
- event.returnValue = true;
764
- }
765
- else {
766
- delete event.returnValue;
769
+ // TODO: check this
770
+ if (!this.isFormDirty || this.suppressUnsavedChangesWarning) {
771
+ event.preventDefault();
767
772
  }
768
773
  });
769
774
  this.init.emit();
770
775
  }
771
776
  }
772
- ModalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ModalComponent, deps: [{ token: ConfirmationService }, { token: i2.SubscriptionService }, { token: SUPPRESS_UNSAVED_CHANGES_WARNING, optional: true }, { token: i3.NgbModal }, { token: ModalRefService }], target: i0.ɵɵFactoryTarget.Component });
773
- ModalComponent.ɵcmp = i0.ɵɵ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: [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, template: "<ng-content></ng-content>\r\n\r\n<ng-template #modalContent let-modal>\r\n <div id=\"abp-modal-header\" class=\"modal-header\">\r\n <ng-container *ngTemplateOutlet=\"abpHeader\"></ng-container>\r\n \u200B\r\n <button\r\n id=\"abp-modal-close-button\"\r\n type=\"button\"\r\n class=\"btn-sm btn-close\"\r\n aria-label=\"Close\"\r\n (click)=\"modal.dismiss()\"\r\n ></button>\r\n </div>\r\n <div id=\"abp-modal-body\" class=\"modal-body\">\r\n <ng-container *ngTemplateOutlet=\"abpBody\"></ng-container>\r\n </div>\r\n <div *ngIf=\"abpFooter\" id=\"abp-modal-footer\" class=\"modal-footer\">\r\n <ng-container *ngTemplateOutlet=\"abpFooter\"></ng-container>\r\n </div>\r\n</ng-template>\r\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.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
774
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ModalComponent, decorators: [{
777
+ ModalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ModalComponent, deps: [{ token: ConfirmationService }, { token: i2.SubscriptionService }, { token: SUPPRESS_UNSAVED_CHANGES_WARNING, optional: true }, { token: i3.NgbModal }, { token: ModalRefService }], target: i0.ɵɵFactoryTarget.Component });
778
+ ModalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: ModalComponent, selector: "abp-modal", inputs: { visible: "visible", busy: "busy", options: "options", suppressUnsavedChangesWarning: "suppressUnsavedChangesWarning" }, outputs: { visibleChange: "visibleChange", init: "init", appear: "appear", disappear: "disappear" }, providers: [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, template: "<ng-content></ng-content>\r\n\r\n<ng-template #modalContent let-modal>\r\n <div *ngIf=\"abpHeader\" id=\"abp-modal-header\" class=\"modal-header\">\r\n <ng-container *ngTemplateOutlet=\"abpHeader\"></ng-container>\r\n \u200B\r\n <button\r\n id=\"abp-modal-close-button\"\r\n type=\"button\"\r\n class=\"btn-sm btn-close\"\r\n aria-label=\"Close\"\r\n (click)=\"modal.dismiss()\"\r\n ></button>\r\n </div>\r\n <div *ngIf=\"abpBody\" id=\"abp-modal-body\" class=\"modal-body\">\r\n <ng-container *ngTemplateOutlet=\"abpBody\"></ng-container>\r\n </div>\r\n <div *ngIf=\"abpFooter\" id=\"abp-modal-footer\" class=\"modal-footer\">\r\n <ng-container *ngTemplateOutlet=\"abpFooter\"></ng-container>\r\n </div>\r\n</ng-template>\r\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.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
779
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ModalComponent, decorators: [{
775
780
  type: Component,
776
781
  args: [{
777
782
  selector: 'abp-modal',
@@ -829,9 +834,9 @@ class ModalCloseDirective {
829
834
  (_a = this.modal) === null || _a === void 0 ? void 0 : _a.close();
830
835
  }
831
836
  }
832
- ModalCloseDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ModalCloseDirective, deps: [{ token: ModalComponent, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
833
- ModalCloseDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.6", type: ModalCloseDirective, selector: "[abpClose]", host: { listeners: { "click": "onClick()" } }, ngImport: i0 });
834
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ModalCloseDirective, decorators: [{
837
+ ModalCloseDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ModalCloseDirective, deps: [{ token: ModalComponent, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
838
+ ModalCloseDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.13", type: ModalCloseDirective, selector: "[abpClose]", host: { listeners: { "click": "onClick()" } }, ngImport: i0 });
839
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ModalCloseDirective, decorators: [{
835
840
  type: Directive,
836
841
  args: [{ selector: '[abpClose]' }]
837
842
  }], ctorParameters: function () { return [{ type: ModalComponent, decorators: [{
@@ -874,7 +879,8 @@ class ToastComponent {
874
879
  }, timeout);
875
880
  }
876
881
  close() {
877
- this.remove.emit(this.toast.options.id);
882
+ var _a;
883
+ this.remove.emit((_a = this.toast.options) === null || _a === void 0 ? void 0 : _a.id);
878
884
  }
879
885
  tap() {
880
886
  var _a;
@@ -882,9 +888,9 @@ class ToastComponent {
882
888
  this.close();
883
889
  }
884
890
  }
885
- ToastComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ToastComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
886
- ToastComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: ToastComponent, selector: "abp-toast", inputs: { toast: "toast" }, outputs: { remove: "remove" }, ngImport: i0, template: "<div class=\"abp-toast\" [ngClass]=\"severityClass\" (click)=\"tap()\">\r\n <div class=\"abp-toast-icon\">\r\n <i class=\"fa icon\" [ngClass]=\"iconClass\"></i>\r\n </div>\r\n <div class=\"abp-toast-content\">\r\n <button class=\"abp-toast-close-button\" (click)=\"close()\" *ngIf=\"toast.options.closable\">\r\n <i class=\"fa fa-times\"></i>\r\n </button>\r\n <div class=\"abp-toast-title\">\r\n {{ toast.title | abpLocalization: toast.options?.titleLocalizationParams }}\r\n </div>\r\n <p\r\n class=\"abp-toast-message\"\r\n [innerHTML]=\"toast.message | abpLocalization: toast.options?.messageLocalizationParams\"\r\n ></p>\r\n </div>\r\n</div>\r\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.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "abpLocalization": i2.LocalizationPipe } });
887
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ToastComponent, decorators: [{
891
+ ToastComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ToastComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
892
+ ToastComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: ToastComponent, selector: "abp-toast", inputs: { toast: "toast" }, outputs: { remove: "remove" }, ngImport: i0, template: "<div class=\"abp-toast\" [ngClass]=\"severityClass\" (click)=\"tap()\">\r\n <div class=\"abp-toast-icon\">\r\n <i class=\"fa icon\" [ngClass]=\"iconClass\"></i>\r\n </div>\r\n <div class=\"abp-toast-content\">\r\n <button class=\"abp-toast-close-button\" (click)=\"close()\" *ngIf=\"toast.options?.closable\">\r\n <i class=\"fa fa-times\"></i>\r\n </button>\r\n <div class=\"abp-toast-title\">\r\n {{ toast.title | abpLocalization: toast.options?.titleLocalizationParams }}\r\n </div>\r\n <p\r\n class=\"abp-toast-message\"\r\n [innerHTML]=\"toast.message | abpLocalization: toast.options?.messageLocalizationParams\"\r\n ></p>\r\n </div>\r\n</div>\r\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.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "abpLocalization": i2.LocalizationPipe } });
893
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ToastComponent, decorators: [{
888
894
  type: Component,
889
895
  args: [{
890
896
  selector: 'abp-toast',
@@ -913,14 +919,15 @@ class ToastContainerComponent {
913
919
  });
914
920
  }
915
921
  trackByFunc(index, toast) {
922
+ var _a;
916
923
  if (!toast)
917
924
  return null;
918
- return toast.options.id;
925
+ return (_a = toast.options) === null || _a === void 0 ? void 0 : _a.id;
919
926
  }
920
927
  }
921
- ToastContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ToastContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
922
- ToastContainerComponent.ɵcmp = i0.ɵɵ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, template: "<div\r\n class=\"abp-toast-container\"\r\n [style.top]=\"top || 'auto'\"\r\n [style.right]=\"right || 'auto'\"\r\n [style.bottom]=\"bottom || 'auto'\"\r\n [style.left]=\"left || 'auto'\"\r\n [style.display]=\"toasts.length ? 'flex' : 'none'\"\r\n [@toastInOut]=\"toasts.length\"\r\n>\r\n <abp-toast\r\n [toast]=\"toast\"\r\n *ngFor=\"let toast of toasts; trackBy: trackByFunc\"\r\n (remove)=\"remove($event)\"\r\n ></abp-toast>\r\n</div>\r\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.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], animations: [toastInOut] });
923
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ToastContainerComponent, decorators: [{
928
+ ToastContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ToastContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
929
+ ToastContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: ToastContainerComponent, selector: "abp-toast-container", inputs: { top: "top", right: "right", bottom: "bottom", left: "left", toastKey: "toastKey" }, ngImport: i0, template: "<div\r\n class=\"abp-toast-container\"\r\n [style.top]=\"top || 'auto'\"\r\n [style.right]=\"right || 'auto'\"\r\n [style.bottom]=\"bottom || 'auto'\"\r\n [style.left]=\"left || 'auto'\"\r\n [style.display]=\"toasts.length ? 'flex' : 'none'\"\r\n [@toastInOut]=\"toasts.length\"\r\n>\r\n <abp-toast\r\n [toast]=\"toast\"\r\n *ngFor=\"let toast of toasts; trackBy: trackByFunc\"\r\n (remove)=\"remove($event)\"\r\n ></abp-toast>\r\n</div>\r\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.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], animations: [toastInOut] });
930
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ToastContainerComponent, decorators: [{
924
931
  type: Component,
925
932
  args: [{
926
933
  selector: 'abp-toast-container',
@@ -975,9 +982,9 @@ class EllipsisDirective {
975
982
  this.cdRef.detectChanges();
976
983
  }
977
984
  }
978
- EllipsisDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EllipsisDirective, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
979
- EllipsisDirective.ɵdir = i0.ɵɵ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 });
980
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EllipsisDirective, decorators: [{
985
+ EllipsisDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: EllipsisDirective, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
986
+ EllipsisDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.13", 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 });
987
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: EllipsisDirective, decorators: [{
981
988
  type: Directive,
982
989
  args: [{
983
990
  selector: '[abpEllipsis]',
@@ -1005,10 +1012,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
1005
1012
  }] } });
1006
1013
  class EllipsisModule {
1007
1014
  }
1008
- EllipsisModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EllipsisModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1009
- EllipsisModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EllipsisModule, declarations: [EllipsisDirective], exports: [EllipsisDirective] });
1010
- EllipsisModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EllipsisModule });
1011
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EllipsisModule, decorators: [{
1015
+ EllipsisModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: EllipsisModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1016
+ EllipsisModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: EllipsisModule, declarations: [EllipsisDirective], exports: [EllipsisDirective] });
1017
+ EllipsisModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: EllipsisModule });
1018
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: EllipsisModule, decorators: [{
1012
1019
  type: NgModule,
1013
1020
  args: [{
1014
1021
  exports: [EllipsisDirective],
@@ -1025,6 +1032,8 @@ class LoadingDirective {
1025
1032
  this.renderer = renderer;
1026
1033
  this.position = 'relative';
1027
1034
  this.delay = 0;
1035
+ this.rootNode = null;
1036
+ this.timerSubscription = null;
1028
1037
  }
1029
1038
  get loading() {
1030
1039
  return this._loading;
@@ -1044,6 +1053,7 @@ class LoadingDirective {
1044
1053
  this.timerSubscription = timer(this.delay)
1045
1054
  .pipe(take(1))
1046
1055
  .subscribe(() => {
1056
+ var _a;
1047
1057
  if (!this.componentRef) {
1048
1058
  this.componentRef = this.cdRes
1049
1059
  .resolveComponentFactory(LoadingComponent)
@@ -1051,7 +1061,7 @@ class LoadingDirective {
1051
1061
  }
1052
1062
  if (newValue && !this.rootNode) {
1053
1063
  this.rootNode = this.componentRef.hostView.rootNodes[0];
1054
- this.targetElement.appendChild(this.rootNode);
1064
+ (_a = this.targetElement) === null || _a === void 0 ? void 0 : _a.appendChild(this.rootNode);
1055
1065
  }
1056
1066
  else if (this.rootNode) {
1057
1067
  this.renderer.removeChild(this.rootNode.parentElement, this.rootNode);
@@ -1079,9 +1089,9 @@ class LoadingDirective {
1079
1089
  }
1080
1090
  }
1081
1091
  }
1082
- LoadingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: LoadingDirective, deps: [{ token: i0.ElementRef }, { token: i0.ViewContainerRef }, { token: i0.ComponentFactoryResolver }, { token: i0.Injector }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
1083
- LoadingDirective.ɵdir = i0.ɵɵ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 });
1084
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: LoadingDirective, decorators: [{
1092
+ LoadingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: LoadingDirective, deps: [{ token: i0.ElementRef }, { token: i0.ViewContainerRef }, { token: i0.ComponentFactoryResolver }, { token: i0.Injector }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
1093
+ LoadingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.13", type: LoadingDirective, selector: "[abpLoading]", inputs: { loading: ["abpLoading", "loading"], targetElement: ["abpLoadingTargetElement", "targetElement"], delay: ["abpLoadingDelay", "delay"] }, host: { properties: { "style.position": "this.position" } }, ngImport: i0 });
1094
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: LoadingDirective, decorators: [{
1085
1095
  type: Directive,
1086
1096
  args: [{ selector: '[abpLoading]' }]
1087
1097
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ViewContainerRef }, { type: i0.ComponentFactoryResolver }, { type: i0.Injector }, { type: i0.Renderer2 }]; }, propDecorators: { position: [{
@@ -1147,9 +1157,9 @@ class NgxDatatableDefaultDirective {
1147
1157
  this.subscription.unsubscribe();
1148
1158
  }
1149
1159
  }
1150
- NgxDatatableDefaultDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: NgxDatatableDefaultDirective, deps: [{ token: i1$2.DatatableComponent }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Directive });
1151
- NgxDatatableDefaultDirective.ɵdir = i0.ɵɵ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 });
1152
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: NgxDatatableDefaultDirective, decorators: [{
1160
+ NgxDatatableDefaultDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: NgxDatatableDefaultDirective, deps: [{ token: i1$2.DatatableComponent }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Directive });
1161
+ NgxDatatableDefaultDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.13", type: NgxDatatableDefaultDirective, selector: "ngx-datatable[default]", inputs: { class: "class" }, host: { properties: { "class": "this.classes" } }, exportAs: ["ngxDatatableDefault"], ngImport: i0 });
1162
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: NgxDatatableDefaultDirective, decorators: [{
1153
1163
  type: Directive,
1154
1164
  args: [{
1155
1165
  // eslint-disable-next-line @angular-eslint/directive-selector
@@ -1241,9 +1251,9 @@ class NgxDatatableListDirective {
1241
1251
  this.subscribeToSort();
1242
1252
  }
1243
1253
  }
1244
- NgxDatatableListDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: NgxDatatableListDirective, deps: [{ token: i1$2.DatatableComponent }, { token: i0.ChangeDetectorRef }, { token: i2.LocalizationService }, { token: NGX_DATATABLE_MESSAGES, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
1245
- NgxDatatableListDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.6", type: NgxDatatableListDirective, selector: "ngx-datatable[list]", inputs: { list: "list" }, exportAs: ["ngxDatatableList"], usesOnChanges: true, ngImport: i0 });
1246
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: NgxDatatableListDirective, decorators: [{
1254
+ NgxDatatableListDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: NgxDatatableListDirective, deps: [{ token: i1$2.DatatableComponent }, { token: i0.ChangeDetectorRef }, { token: i2.LocalizationService }, { token: NGX_DATATABLE_MESSAGES, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
1255
+ NgxDatatableListDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.13", type: NgxDatatableListDirective, selector: "ngx-datatable[list]", inputs: { list: "list" }, exportAs: ["ngxDatatableList"], usesOnChanges: true, ngImport: i0 });
1256
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: NgxDatatableListDirective, decorators: [{
1247
1257
  type: Directive,
1248
1258
  args: [{
1249
1259
  // eslint-disable-next-line @angular-eslint/directive-selector
@@ -1281,9 +1291,9 @@ class DocumentDirHandlerService {
1281
1291
  document.dir = dir;
1282
1292
  }
1283
1293
  }
1284
- DocumentDirHandlerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DocumentDirHandlerService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
1285
- DocumentDirHandlerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DocumentDirHandlerService });
1286
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DocumentDirHandlerService, decorators: [{
1294
+ DocumentDirHandlerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: DocumentDirHandlerService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
1295
+ DocumentDirHandlerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: DocumentDirHandlerService });
1296
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: DocumentDirHandlerService, decorators: [{
1287
1297
  type: Injectable
1288
1298
  }], ctorParameters: function () { return [{ type: i0.Injector }]; } });
1289
1299
 
@@ -1343,8 +1353,9 @@ const DEFAULT_ERROR_LOCALIZATIONS = {
1343
1353
  class ErrorHandler {
1344
1354
  constructor(injector) {
1345
1355
  this.injector = injector;
1356
+ this.componentRef = null;
1346
1357
  this.httpErrorHandler = this.injector.get(HTTP_ERROR_HANDLER, (_, err) => throwError(err));
1347
- this.executeErrorHandler = error => {
1358
+ this.executeErrorHandler = (error) => {
1348
1359
  const returnValue = this.httpErrorHandler(this.injector, error);
1349
1360
  return (returnValue instanceof Observable ? returnValue : of(null)).pipe(catchError(err => {
1350
1361
  this.handleError(err);
@@ -1354,11 +1365,13 @@ class ErrorHandler {
1354
1365
  this.filterRestErrors = ({ status }) => {
1355
1366
  if (typeof status !== 'number')
1356
1367
  return false;
1357
- return this.httpErrorConfig.skipHandledErrorCodes.findIndex(code => code === status) < 0;
1368
+ return (!!this.httpErrorConfig.skipHandledErrorCodes &&
1369
+ this.httpErrorConfig.skipHandledErrorCodes.findIndex(code => code === status) < 0);
1358
1370
  };
1359
1371
  this.filterRouteErrors = (navigationError) => {
1360
1372
  var _a, _b;
1361
1373
  return (((_b = (_a = navigationError.error) === null || _a === void 0 ? void 0 : _a.message) === null || _b === void 0 ? void 0 : _b.indexOf('Cannot match')) > -1 &&
1374
+ !!this.httpErrorConfig.skipHandledErrorCodes &&
1362
1375
  this.httpErrorConfig.skipHandledErrorCodes.findIndex(code => code === 404) < 0);
1363
1376
  };
1364
1377
  this.httpErrorReporter = injector.get(HttpErrorReporterService);
@@ -1382,7 +1395,8 @@ class ErrorHandler {
1382
1395
  .getEvents(ResolveEnd)
1383
1396
  .pipe(filter(() => !!this.componentRef))
1384
1397
  .subscribe(() => {
1385
- this.componentRef.destroy();
1398
+ var _a;
1399
+ (_a = this.componentRef) === null || _a === void 0 ? void 0 : _a.destroy();
1386
1400
  this.componentRef = null;
1387
1401
  });
1388
1402
  }
@@ -1398,7 +1412,7 @@ class ErrorHandler {
1398
1412
  defaultValue: DEFAULT_ERROR_MESSAGES.defaultError.title,
1399
1413
  };
1400
1414
  if (err instanceof HttpErrorResponse && err.headers.get('_AbpErrorFormat')) {
1401
- const confirmation$ = this.showError(null, null, body);
1415
+ const confirmation$ = this.showErrorWithRequestBody(body);
1402
1416
  if (err.status === 401) {
1403
1417
  confirmation$.subscribe(() => {
1404
1418
  this.navigateToLogin();
@@ -1497,26 +1511,30 @@ class ErrorHandler {
1497
1511
  status: 404,
1498
1512
  });
1499
1513
  }
1500
- showError(message, title, body) {
1501
- if (body) {
1502
- if (body.details) {
1503
- message = body.details;
1504
- title = body.message;
1505
- }
1506
- else if (body.message) {
1507
- title = {
1508
- key: DEFAULT_ERROR_LOCALIZATIONS.defaultError.title,
1509
- defaultValue: DEFAULT_ERROR_MESSAGES.defaultError.title,
1510
- };
1511
- message = body.message;
1512
- }
1513
- else {
1514
- message = body.message || {
1515
- key: DEFAULT_ERROR_LOCALIZATIONS.defaultError.title,
1516
- defaultValue: DEFAULT_ERROR_MESSAGES.defaultError.title,
1517
- };
1518
- }
1514
+ showErrorWithRequestBody(body) {
1515
+ let message;
1516
+ let title;
1517
+ if (body.details) {
1518
+ message = body.details;
1519
+ title = body.message;
1520
+ }
1521
+ else if (body.message) {
1522
+ title = {
1523
+ key: DEFAULT_ERROR_LOCALIZATIONS.defaultError.title,
1524
+ defaultValue: DEFAULT_ERROR_MESSAGES.defaultError.title,
1525
+ };
1526
+ message = body.message;
1519
1527
  }
1528
+ else {
1529
+ message = body.message || {
1530
+ key: DEFAULT_ERROR_LOCALIZATIONS.defaultError.title,
1531
+ defaultValue: DEFAULT_ERROR_MESSAGES.defaultError.title,
1532
+ };
1533
+ title = '';
1534
+ }
1535
+ return this.showError(message, title);
1536
+ }
1537
+ showError(message, title) {
1520
1538
  return this.confirmationService.error(message, title, {
1521
1539
  hideCancelBtn: true,
1522
1540
  yesText: 'AbpAccount::Close',
@@ -1526,6 +1544,7 @@ class ErrorHandler {
1526
1544
  this.injector.get(AuthService).navigateToLogin();
1527
1545
  }
1528
1546
  createErrorComponent(instance) {
1547
+ var _a, _b;
1529
1548
  const renderer = this.rendererFactory.createRenderer(null, null);
1530
1549
  const host = renderer.selectRootElement(document.body, true);
1531
1550
  this.componentRef = this.cfRes
@@ -1537,32 +1556,34 @@ class ErrorHandler {
1537
1556
  this.componentRef.instance[key] = instance[key];
1538
1557
  }
1539
1558
  }
1540
- this.componentRef.instance.hideCloseIcon = this.httpErrorConfig.errorScreen.hideCloseIcon;
1559
+ this.componentRef.instance.hideCloseIcon = !!((_a = this.httpErrorConfig.errorScreen) === null || _a === void 0 ? void 0 : _a.hideCloseIcon);
1541
1560
  const appRef = this.injector.get(ApplicationRef);
1542
1561
  if (this.canCreateCustomError(instance.status)) {
1543
1562
  this.componentRef.instance.cfRes = this.cfRes;
1544
1563
  this.componentRef.instance.appRef = appRef;
1545
1564
  this.componentRef.instance.injector = this.injector;
1546
- this.componentRef.instance.customComponent = this.httpErrorConfig.errorScreen.component;
1565
+ this.componentRef.instance.customComponent = (_b = this.httpErrorConfig.errorScreen) === null || _b === void 0 ? void 0 : _b.component;
1547
1566
  }
1548
1567
  appRef.attachView(this.componentRef.hostView);
1549
1568
  renderer.appendChild(host, this.componentRef.hostView.rootNodes[0]);
1550
1569
  const destroy$ = new Subject();
1551
1570
  this.componentRef.instance.destroy$ = destroy$;
1552
1571
  destroy$.subscribe(() => {
1553
- this.componentRef.destroy();
1572
+ var _a;
1573
+ (_a = this.componentRef) === null || _a === void 0 ? void 0 : _a.destroy();
1554
1574
  this.componentRef = null;
1555
1575
  });
1556
1576
  }
1557
1577
  canCreateCustomError(status) {
1558
- var _a, _b, _c, _d, _e;
1559
- return (((_b = (_a = this.httpErrorConfig) === null || _a === void 0 ? void 0 : _a.errorScreen) === null || _b === void 0 ? void 0 : _b.component) &&
1560
- ((_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);
1578
+ var _a, _b, _c, _d, _e, _f;
1579
+ return !!(((_b = (_a = this.httpErrorConfig) === null || _a === void 0 ? void 0 : _a.errorScreen) === null || _b === void 0 ? void 0 : _b.component) &&
1580
+ ((_d = (_c = this.httpErrorConfig) === null || _c === void 0 ? void 0 : _c.errorScreen) === null || _d === void 0 ? void 0 : _d.forWhichErrors) &&
1581
+ ((_f = (_e = this.httpErrorConfig) === null || _e === void 0 ? void 0 : _e.errorScreen) === null || _f === void 0 ? void 0 : _f.forWhichErrors.indexOf(status)) > -1);
1561
1582
  }
1562
1583
  }
1563
- ErrorHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ErrorHandler, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
1564
- ErrorHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ErrorHandler, providedIn: 'root' });
1565
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ErrorHandler, decorators: [{
1584
+ ErrorHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ErrorHandler, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
1585
+ ErrorHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ErrorHandler, providedIn: 'root' });
1586
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ErrorHandler, decorators: [{
1566
1587
  type: Injectable,
1567
1588
  args: [{ providedIn: 'root' }]
1568
1589
  }], ctorParameters: function () { return [{ type: i0.Injector }]; } });
@@ -1638,9 +1659,9 @@ class NavItemsService {
1638
1659
  this._items$.next(items);
1639
1660
  }
1640
1661
  }
1641
- NavItemsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: NavItemsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1642
- NavItemsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: NavItemsService, providedIn: 'root' });
1643
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: NavItemsService, decorators: [{
1662
+ NavItemsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: NavItemsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1663
+ NavItemsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: NavItemsService, providedIn: 'root' });
1664
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: NavItemsService, decorators: [{
1644
1665
  type: Injectable,
1645
1666
  args: [{ providedIn: 'root' }]
1646
1667
  }] });
@@ -1668,9 +1689,9 @@ class PageAlertService {
1668
1689
  this.alerts.set(alerts);
1669
1690
  }
1670
1691
  }
1671
- PageAlertService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: PageAlertService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1672
- PageAlertService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: PageAlertService, providedIn: 'root' });
1673
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: PageAlertService, decorators: [{
1692
+ PageAlertService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: PageAlertService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1693
+ PageAlertService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: PageAlertService, providedIn: 'root' });
1694
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: PageAlertService, decorators: [{
1674
1695
  type: Injectable,
1675
1696
  args: [{ providedIn: 'root' }]
1676
1697
  }], ctorParameters: function () { return []; } });
@@ -1740,7 +1761,7 @@ class ToasterService {
1740
1761
  * @param severity Sets color of the toast. "success", "warning" etc.
1741
1762
  * @param options Spesific style or structural options for individual toast
1742
1763
  */
1743
- show(message, title = null, severity = 'neutral', options = {}) {
1764
+ show(message, title = undefined, severity = 'neutral', options = {}) {
1744
1765
  if (!this.containerComponentRef)
1745
1766
  this.setContainer();
1746
1767
  const id = ++this.lastId;
@@ -1763,9 +1784,9 @@ class ToasterService {
1763
1784
  this.toasts$.next(this.toasts);
1764
1785
  }
1765
1786
  }
1766
- ToasterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ToasterService, deps: [{ token: i2.ContentProjectionService }], target: i0.ɵɵFactoryTarget.Injectable });
1767
- ToasterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ToasterService, providedIn: 'root' });
1768
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ToasterService, decorators: [{
1787
+ ToasterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ToasterService, deps: [{ token: i2.ContentProjectionService }], target: i0.ɵɵFactoryTarget.Injectable });
1788
+ ToasterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ToasterService, providedIn: 'root' });
1789
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ToasterService, decorators: [{
1769
1790
  type: Injectable,
1770
1791
  args: [{
1771
1792
  providedIn: 'root',
@@ -1977,11 +1998,12 @@ class DateParserFormatter extends NgbDateParserFormatter {
1977
1998
  parse(value) {
1978
1999
  if (value) {
1979
2000
  const dateParts = value.trim().split('-');
2001
+ // TODO: CHANGED
1980
2002
  if (dateParts.length === 1 && isNumber(dateParts[0])) {
1981
- return { year: toInteger(dateParts[0]), month: null, day: null };
2003
+ return { year: toInteger(dateParts[0]), month: -1, day: -1 };
1982
2004
  }
1983
2005
  else if (dateParts.length === 2 && isNumber(dateParts[0]) && isNumber(dateParts[1])) {
1984
- return { year: toInteger(dateParts[0]), month: toInteger(dateParts[1]), day: null };
2006
+ return { year: toInteger(dateParts[0]), month: toInteger(dateParts[1]), day: -1 };
1985
2007
  }
1986
2008
  else if (dateParts.length === 3 &&
1987
2009
  isNumber(dateParts[0]) &&
@@ -2005,9 +2027,9 @@ class DateParserFormatter extends NgbDateParserFormatter {
2005
2027
  return formatDate(new Date(date.year, date.month - 1, date.day), dateFormat, this.locale);
2006
2028
  }
2007
2029
  }
2008
- DateParserFormatter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DateParserFormatter, deps: [{ token: i2.ConfigStateService }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable });
2009
- DateParserFormatter.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DateParserFormatter });
2010
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DateParserFormatter, decorators: [{
2030
+ DateParserFormatter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: DateParserFormatter, deps: [{ token: i2.ConfigStateService }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable });
2031
+ DateParserFormatter.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: DateParserFormatter });
2032
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: DateParserFormatter, decorators: [{
2011
2033
  type: Injectable
2012
2034
  }], ctorParameters: function () { return [{ type: i2.ConfigStateService }, { type: undefined, decorators: [{
2013
2035
  type: Inject,
@@ -2031,8 +2053,8 @@ const declarationsWithExports = [
2031
2053
  ];
2032
2054
  class BaseThemeSharedModule {
2033
2055
  }
2034
- BaseThemeSharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: BaseThemeSharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2035
- BaseThemeSharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: BaseThemeSharedModule, declarations: [BreadcrumbComponent,
2056
+ BaseThemeSharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: BaseThemeSharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2057
+ BaseThemeSharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: BaseThemeSharedModule, declarations: [BreadcrumbComponent,
2036
2058
  BreadcrumbItemsComponent,
2037
2059
  ButtonComponent,
2038
2060
  ConfirmationComponent,
@@ -2061,14 +2083,14 @@ BaseThemeSharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", v
2061
2083
  NgxDatatableListDirective,
2062
2084
  LoadingDirective,
2063
2085
  ModalCloseDirective] });
2064
- BaseThemeSharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: BaseThemeSharedModule, providers: [DatePipe], imports: [[
2086
+ BaseThemeSharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: BaseThemeSharedModule, providers: [DatePipe], imports: [[
2065
2087
  CoreModule,
2066
2088
  NgxDatatableModule,
2067
2089
  NgxValidateCoreModule,
2068
2090
  NgbPaginationModule,
2069
2091
  EllipsisModule,
2070
2092
  ], NgxDatatableModule, EllipsisModule] });
2071
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: BaseThemeSharedModule, decorators: [{
2093
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: BaseThemeSharedModule, decorators: [{
2072
2094
  type: NgModule,
2073
2095
  args: [{
2074
2096
  imports: [
@@ -2138,10 +2160,10 @@ class ThemeSharedModule {
2138
2160
  };
2139
2161
  }
2140
2162
  }
2141
- ThemeSharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ThemeSharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2142
- ThemeSharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ThemeSharedModule, imports: [BaseThemeSharedModule], exports: [BaseThemeSharedModule] });
2143
- ThemeSharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ThemeSharedModule, imports: [[BaseThemeSharedModule], BaseThemeSharedModule] });
2144
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ThemeSharedModule, decorators: [{
2163
+ ThemeSharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ThemeSharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2164
+ ThemeSharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ThemeSharedModule, imports: [BaseThemeSharedModule], exports: [BaseThemeSharedModule] });
2165
+ ThemeSharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ThemeSharedModule, imports: [[BaseThemeSharedModule], BaseThemeSharedModule] });
2166
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ThemeSharedModule, decorators: [{
2145
2167
  type: NgModule,
2146
2168
  args: [{
2147
2169
  imports: [BaseThemeSharedModule],