@abp/ng.theme.shared 5.0.0-beta.2 → 5.0.0-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (241) hide show
  1. package/README.md +3 -3
  2. package/bundles/abp-ng.theme.shared-extensions.umd.js +82 -81
  3. package/bundles/abp-ng.theme.shared-extensions.umd.js.map +1 -1
  4. package/bundles/abp-ng.theme.shared-testing.umd.js +8 -10
  5. package/bundles/abp-ng.theme.shared-testing.umd.js.map +1 -1
  6. package/bundles/abp-ng.theme.shared.umd.js +195 -241
  7. package/bundles/abp-ng.theme.shared.umd.js.map +1 -1
  8. package/esm2015/abp-ng.theme.shared.js +1 -1
  9. package/esm2015/extensions/abp-ng.theme.shared-extensions.js +1 -1
  10. package/esm2015/extensions/lib/adapters/date-time.adapter.js +6 -6
  11. package/esm2015/extensions/lib/adapters/date.adapter.js +4 -4
  12. package/esm2015/extensions/lib/adapters/time.adapter.js +4 -4
  13. package/esm2015/extensions/lib/components/abstract-actions/abstract-actions.component.js +4 -4
  14. package/esm2015/extensions/lib/components/date-time-picker/date-time-picker.component.js +40 -40
  15. package/esm2015/extensions/lib/components/extensible-form/extensible-form-prop.component.js +7 -7
  16. package/esm2015/extensions/lib/components/extensible-form/extensible-form.component.js +4 -4
  17. package/esm2015/extensions/lib/components/extensible-table/extensible-table.component.js +4 -4
  18. package/esm2015/extensions/lib/components/grid-actions/grid-actions.component.js +5 -5
  19. package/esm2015/extensions/lib/components/page-toolbar/page-toolbar.component.js +5 -5
  20. package/esm2015/extensions/lib/constants/extra-properties.js +1 -1
  21. package/esm2015/extensions/lib/directives/disabled.directive.js +5 -4
  22. package/esm2015/extensions/lib/directives/prop-data.directive.js +4 -4
  23. package/esm2015/extensions/lib/enums/props.enum.js +1 -1
  24. package/esm2015/extensions/lib/models/actions.js +1 -1
  25. package/esm2015/extensions/lib/models/entity-actions.js +1 -1
  26. package/esm2015/extensions/lib/models/entity-props.js +1 -1
  27. package/esm2015/extensions/lib/models/form-props.js +1 -1
  28. package/esm2015/extensions/lib/models/internal/object-extensions.js +1 -1
  29. package/esm2015/extensions/lib/models/object-extensions.js +1 -1
  30. package/esm2015/extensions/lib/models/props.js +1 -1
  31. package/esm2015/extensions/lib/models/toolbar-actions.js +3 -3
  32. package/esm2015/extensions/lib/services/extensions.service.js +4 -4
  33. package/esm2015/extensions/lib/tokens/extensions.token.js +1 -1
  34. package/esm2015/extensions/lib/ui-extensions.module.js +9 -9
  35. package/esm2015/extensions/lib/utils/actions.util.js +1 -1
  36. package/esm2015/extensions/lib/utils/enum.util.js +4 -4
  37. package/esm2015/extensions/lib/utils/factory.util.js +1 -1
  38. package/esm2015/extensions/lib/utils/form-props.util.js +1 -1
  39. package/esm2015/extensions/lib/utils/localization.util.js +4 -4
  40. package/esm2015/extensions/lib/utils/props.util.js +1 -1
  41. package/esm2015/extensions/lib/utils/state.util.js +5 -4
  42. package/esm2015/extensions/lib/utils/typeahead.util.js +9 -9
  43. package/esm2015/extensions/lib/utils/validation.util.js +3 -2
  44. package/esm2015/extensions/public-api.js +1 -1
  45. package/esm2015/lib/animations/bounce.animations.js +1 -1
  46. package/esm2015/lib/animations/collapse.animations.js +1 -1
  47. package/esm2015/lib/animations/fade.animations.js +1 -1
  48. package/esm2015/lib/animations/index.js +1 -1
  49. package/esm2015/lib/animations/modal.animations.js +1 -1
  50. package/esm2015/lib/animations/slide.animations.js +1 -1
  51. package/esm2015/lib/animations/toast.animations.js +1 -1
  52. package/esm2015/lib/components/breadcrumb/breadcrumb.component.js +4 -4
  53. package/esm2015/lib/components/breadcrumb-items/breadcrumb-items.component.js +4 -4
  54. package/esm2015/lib/components/button/button.component.js +33 -30
  55. package/esm2015/lib/components/confirmation/confirmation.component.js +4 -4
  56. package/esm2015/lib/components/http-error-wrapper/http-error-wrapper.component.js +8 -6
  57. package/esm2015/lib/components/index.js +1 -1
  58. package/esm2015/lib/components/loader-bar/loader-bar.component.js +27 -27
  59. package/esm2015/lib/components/loading/loading.component.js +32 -32
  60. package/esm2015/lib/components/modal/modal-close.directive.js +4 -4
  61. package/esm2015/lib/components/modal/modal-ref.service.js +4 -4
  62. package/esm2015/lib/components/modal/modal.component.js +14 -14
  63. package/esm2015/lib/components/toast/toast.component.js +6 -5
  64. package/esm2015/lib/components/toast-container/toast-container.component.js +6 -5
  65. package/esm2015/lib/constants/styles.js +181 -180
  66. package/esm2015/lib/constants/validation.js +1 -1
  67. package/esm2015/lib/directives/ellipsis.directive.js +8 -8
  68. package/esm2015/lib/directives/index.js +1 -1
  69. package/esm2015/lib/directives/loading.directive.js +8 -5
  70. package/esm2015/lib/directives/ngx-datatable-default.directive.js +4 -4
  71. package/esm2015/lib/directives/ngx-datatable-list.directive.js +4 -4
  72. package/esm2015/lib/enums/index.js +1 -1
  73. package/esm2015/lib/enums/route-names.js +1 -1
  74. package/esm2015/lib/handlers/document-dir.handler.js +33 -0
  75. package/esm2015/lib/handlers/error.handler.js +44 -33
  76. package/esm2015/lib/handlers/index.js +2 -2
  77. package/esm2015/lib/models/common.js +1 -1
  78. package/esm2015/lib/models/confirmation.js +1 -1
  79. package/esm2015/lib/models/index.js +1 -1
  80. package/esm2015/lib/models/nav-item.js +1 -1
  81. package/esm2015/lib/models/statistics.js +1 -1
  82. package/esm2015/lib/models/toaster.js +1 -1
  83. package/esm2015/lib/providers/index.js +1 -1
  84. package/esm2015/lib/providers/ng-bootstrap-config.provider.js +1 -1
  85. package/esm2015/lib/providers/route.provider.js +1 -1
  86. package/esm2015/lib/services/confirmation.service.js +4 -4
  87. package/esm2015/lib/services/index.js +1 -1
  88. package/esm2015/lib/services/nav-items.service.js +4 -4
  89. package/esm2015/lib/services/page-alert.service.js +4 -4
  90. package/esm2015/lib/services/toaster.service.js +5 -5
  91. package/esm2015/lib/theme-shared.module.js +19 -18
  92. package/esm2015/lib/tokens/append-content.token.js +1 -1
  93. package/esm2015/lib/tokens/http-error.token.js +1 -1
  94. package/esm2015/lib/tokens/index.js +1 -2
  95. package/esm2015/lib/tokens/ngx-datatable-messages.token.js +1 -1
  96. package/esm2015/lib/tokens/suppress-unsaved-changes-warning.token.js +1 -1
  97. package/esm2015/lib/utils/date-parser-formatter.js +7 -6
  98. package/esm2015/lib/utils/index.js +1 -1
  99. package/esm2015/lib/utils/validation-utils.js +1 -1
  100. package/esm2015/public-api.js +1 -2
  101. package/esm2015/testing/abp-ng.theme.shared-testing.js +1 -1
  102. package/esm2015/testing/lib/models/config.js +1 -1
  103. package/esm2015/testing/lib/models/index.js +1 -1
  104. package/esm2015/testing/lib/theme-shared-testing.module.js +5 -5
  105. package/esm2015/testing/public-api.js +1 -1
  106. package/extensions/lib/adapters/date.adapter.d.ts +1 -1
  107. package/extensions/lib/adapters/time.adapter.d.ts +1 -1
  108. package/extensions/lib/components/abstract-actions/abstract-actions.component.d.ts +1 -1
  109. package/extensions/lib/components/extensible-form/extensible-form-prop.component.d.ts +1 -1
  110. package/extensions/lib/directives/prop-data.directive.d.ts +3 -3
  111. package/extensions/lib/models/actions.d.ts +1 -1
  112. package/extensions/lib/models/props.d.ts +1 -1
  113. package/extensions/lib/utils/state.util.d.ts +1 -1
  114. package/fesm2015/abp-ng.theme.shared-extensions.js +113 -110
  115. package/fesm2015/abp-ng.theme.shared-extensions.js.map +1 -1
  116. package/fesm2015/abp-ng.theme.shared-testing.js +4 -4
  117. package/fesm2015/abp-ng.theme.shared-testing.js.map +1 -1
  118. package/fesm2015/abp-ng.theme.shared.js +445 -478
  119. package/fesm2015/abp-ng.theme.shared.js.map +1 -1
  120. package/lib/components/breadcrumb-items/breadcrumb-items.component.d.ts +2 -1
  121. package/lib/components/button/button.component.d.ts +3 -3
  122. package/lib/components/http-error-wrapper/http-error-wrapper.component.d.ts +2 -2
  123. package/lib/components/modal/modal-ref.service.d.ts +1 -1
  124. package/lib/components/modal/modal.component.d.ts +5 -5
  125. package/lib/components/toast-container/toast-container.component.d.ts +4 -4
  126. package/lib/constants/styles.d.ts +1 -2
  127. package/lib/directives/ellipsis.directive.d.ts +2 -2
  128. package/lib/directives/loading.directive.d.ts +3 -3
  129. package/lib/handlers/document-dir.handler.d.ts +13 -0
  130. package/lib/handlers/error.handler.d.ts +3 -2
  131. package/lib/handlers/index.d.ts +1 -1
  132. package/lib/models/nav-item.d.ts +1 -1
  133. package/lib/services/toaster.service.d.ts +1 -1
  134. package/lib/tokens/index.d.ts +0 -1
  135. package/lib/utils/date-parser-formatter.d.ts +1 -1
  136. package/package.json +5 -5
  137. package/public-api.d.ts +0 -1
  138. package/esm2015/abp-ng.theme.shared.js.map +0 -1
  139. package/esm2015/extensions/abp-ng.theme.shared-extensions.js.map +0 -1
  140. package/esm2015/extensions/lib/adapters/date-time.adapter.js.map +0 -1
  141. package/esm2015/extensions/lib/adapters/date.adapter.js.map +0 -1
  142. package/esm2015/extensions/lib/adapters/time.adapter.js.map +0 -1
  143. package/esm2015/extensions/lib/components/abstract-actions/abstract-actions.component.js.map +0 -1
  144. package/esm2015/extensions/lib/components/date-time-picker/date-time-picker.component.js.map +0 -1
  145. package/esm2015/extensions/lib/components/extensible-form/extensible-form-prop.component.js.map +0 -1
  146. package/esm2015/extensions/lib/components/extensible-form/extensible-form.component.js.map +0 -1
  147. package/esm2015/extensions/lib/components/extensible-table/extensible-table.component.js.map +0 -1
  148. package/esm2015/extensions/lib/components/grid-actions/grid-actions.component.js.map +0 -1
  149. package/esm2015/extensions/lib/components/page-toolbar/page-toolbar.component.js.map +0 -1
  150. package/esm2015/extensions/lib/constants/extra-properties.js.map +0 -1
  151. package/esm2015/extensions/lib/directives/disabled.directive.js.map +0 -1
  152. package/esm2015/extensions/lib/directives/prop-data.directive.js.map +0 -1
  153. package/esm2015/extensions/lib/enums/props.enum.js.map +0 -1
  154. package/esm2015/extensions/lib/models/actions.js.map +0 -1
  155. package/esm2015/extensions/lib/models/entity-actions.js.map +0 -1
  156. package/esm2015/extensions/lib/models/entity-props.js.map +0 -1
  157. package/esm2015/extensions/lib/models/form-props.js.map +0 -1
  158. package/esm2015/extensions/lib/models/internal/object-extensions.js.map +0 -1
  159. package/esm2015/extensions/lib/models/object-extensions.js.map +0 -1
  160. package/esm2015/extensions/lib/models/props.js.map +0 -1
  161. package/esm2015/extensions/lib/models/toolbar-actions.js.map +0 -1
  162. package/esm2015/extensions/lib/services/extensions.service.js.map +0 -1
  163. package/esm2015/extensions/lib/tokens/extensions.token.js.map +0 -1
  164. package/esm2015/extensions/lib/ui-extensions.module.js.map +0 -1
  165. package/esm2015/extensions/lib/utils/actions.util.js.map +0 -1
  166. package/esm2015/extensions/lib/utils/enum.util.js.map +0 -1
  167. package/esm2015/extensions/lib/utils/factory.util.js.map +0 -1
  168. package/esm2015/extensions/lib/utils/form-props.util.js.map +0 -1
  169. package/esm2015/extensions/lib/utils/localization.util.js.map +0 -1
  170. package/esm2015/extensions/lib/utils/props.util.js.map +0 -1
  171. package/esm2015/extensions/lib/utils/state.util.js.map +0 -1
  172. package/esm2015/extensions/lib/utils/typeahead.util.js.map +0 -1
  173. package/esm2015/extensions/lib/utils/validation.util.js.map +0 -1
  174. package/esm2015/extensions/public-api.js.map +0 -1
  175. package/esm2015/lib/animations/bounce.animations.js.map +0 -1
  176. package/esm2015/lib/animations/collapse.animations.js.map +0 -1
  177. package/esm2015/lib/animations/fade.animations.js.map +0 -1
  178. package/esm2015/lib/animations/index.js.map +0 -1
  179. package/esm2015/lib/animations/modal.animations.js.map +0 -1
  180. package/esm2015/lib/animations/slide.animations.js.map +0 -1
  181. package/esm2015/lib/animations/toast.animations.js.map +0 -1
  182. package/esm2015/lib/components/breadcrumb/breadcrumb.component.js.map +0 -1
  183. package/esm2015/lib/components/breadcrumb-items/breadcrumb-items.component.js.map +0 -1
  184. package/esm2015/lib/components/button/button.component.js.map +0 -1
  185. package/esm2015/lib/components/confirmation/confirmation.component.js.map +0 -1
  186. package/esm2015/lib/components/http-error-wrapper/http-error-wrapper.component.js.map +0 -1
  187. package/esm2015/lib/components/index.js.map +0 -1
  188. package/esm2015/lib/components/loader-bar/loader-bar.component.js.map +0 -1
  189. package/esm2015/lib/components/loading/loading.component.js.map +0 -1
  190. package/esm2015/lib/components/modal/modal-close.directive.js.map +0 -1
  191. package/esm2015/lib/components/modal/modal-ref.service.js.map +0 -1
  192. package/esm2015/lib/components/modal/modal.component.js.map +0 -1
  193. package/esm2015/lib/components/toast/toast.component.js.map +0 -1
  194. package/esm2015/lib/components/toast-container/toast-container.component.js.map +0 -1
  195. package/esm2015/lib/constants/styles.js.map +0 -1
  196. package/esm2015/lib/constants/validation.js.map +0 -1
  197. package/esm2015/lib/directives/ellipsis.directive.js.map +0 -1
  198. package/esm2015/lib/directives/index.js.map +0 -1
  199. package/esm2015/lib/directives/loading.directive.js.map +0 -1
  200. package/esm2015/lib/directives/ngx-datatable-default.directive.js.map +0 -1
  201. package/esm2015/lib/directives/ngx-datatable-list.directive.js.map +0 -1
  202. package/esm2015/lib/enums/index.js.map +0 -1
  203. package/esm2015/lib/enums/route-names.js.map +0 -1
  204. package/esm2015/lib/handlers/error.handler.js.map +0 -1
  205. package/esm2015/lib/handlers/index.js.map +0 -1
  206. package/esm2015/lib/handlers/lazy-style.handler.js +0 -89
  207. package/esm2015/lib/handlers/lazy-style.handler.js.map +0 -1
  208. package/esm2015/lib/models/common.js.map +0 -1
  209. package/esm2015/lib/models/confirmation.js.map +0 -1
  210. package/esm2015/lib/models/index.js.map +0 -1
  211. package/esm2015/lib/models/nav-item.js.map +0 -1
  212. package/esm2015/lib/models/statistics.js.map +0 -1
  213. package/esm2015/lib/models/toaster.js.map +0 -1
  214. package/esm2015/lib/providers/index.js.map +0 -1
  215. package/esm2015/lib/providers/ng-bootstrap-config.provider.js.map +0 -1
  216. package/esm2015/lib/providers/route.provider.js.map +0 -1
  217. package/esm2015/lib/services/confirmation.service.js.map +0 -1
  218. package/esm2015/lib/services/index.js.map +0 -1
  219. package/esm2015/lib/services/nav-items.service.js.map +0 -1
  220. package/esm2015/lib/services/page-alert.service.js.map +0 -1
  221. package/esm2015/lib/services/toaster.service.js.map +0 -1
  222. package/esm2015/lib/theme-shared.module.js.map +0 -1
  223. package/esm2015/lib/tokens/append-content.token.js.map +0 -1
  224. package/esm2015/lib/tokens/http-error.token.js.map +0 -1
  225. package/esm2015/lib/tokens/index.js.map +0 -1
  226. package/esm2015/lib/tokens/lazy-styles.token.js +0 -3
  227. package/esm2015/lib/tokens/lazy-styles.token.js.map +0 -1
  228. package/esm2015/lib/tokens/ngx-datatable-messages.token.js.map +0 -1
  229. package/esm2015/lib/tokens/suppress-unsaved-changes-warning.token.js.map +0 -1
  230. package/esm2015/lib/utils/date-parser-formatter.js.map +0 -1
  231. package/esm2015/lib/utils/index.js.map +0 -1
  232. package/esm2015/lib/utils/validation-utils.js.map +0 -1
  233. package/esm2015/public-api.js.map +0 -1
  234. package/esm2015/testing/abp-ng.theme.shared-testing.js.map +0 -1
  235. package/esm2015/testing/lib/models/config.js.map +0 -1
  236. package/esm2015/testing/lib/models/index.js.map +0 -1
  237. package/esm2015/testing/lib/theme-shared-testing.module.js.map +0 -1
  238. package/esm2015/testing/public-api.js.map +0 -1
  239. package/lib/handlers/lazy-style.handler.d.ts +0 -23
  240. package/lib/tokens/lazy-styles.token.d.ts +0 -2
  241. package/styles/bootstrap-rtl.min.css +0 -7
@@ -2,7 +2,7 @@
2
2
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/animations'), require('@angular/core'), require('@angular/common'), require('@angular/router'), require('@abp/ng.core'), require('rxjs/operators'), require('rxjs'), require('@ng-bootstrap/ng-bootstrap'), require('@swimlane/ngx-datatable'), require('@angular/common/http'), require('@ngx-validate/core'), require('@angular/forms')) :
3
3
  typeof define === 'function' && define.amd ? define('@abp/ng.theme.shared', ['exports', '@angular/animations', '@angular/core', '@angular/common', '@angular/router', '@abp/ng.core', 'rxjs/operators', 'rxjs', '@ng-bootstrap/ng-bootstrap', '@swimlane/ngx-datatable', '@angular/common/http', '@ngx-validate/core', '@angular/forms'], factory) :
4
4
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.abp = global.abp || {}, global.abp.ng = global.abp.ng || {}, global.abp.ng.theme = global.abp.ng.theme || {}, global.abp.ng.theme.shared = {}), global.ng.animations, global.ng.core, global.ng.common, global.ng.router, global.i2, global.rxjs.operators, global.rxjs, global.i3, global.i1$2, global.ng.common.http, global.core, global.ng.forms));
5
- }(this, (function (exports, animations, i0, i1, i1$1, i2, operators, rxjs, i3, i1$2, http, core, forms) { 'use strict';
5
+ })(this, (function (exports, animations, i0, i1, i1$1, i2, operators, rxjs, i3, i1$2, http, core, forms) { 'use strict';
6
6
 
7
7
  function _interopNamespace(e) {
8
8
  if (e && e.__esModule) return e;
@@ -13,14 +13,12 @@
13
13
  var d = Object.getOwnPropertyDescriptor(e, k);
14
14
  Object.defineProperty(n, k, d.get ? d : {
15
15
  enumerable: true,
16
- get: function () {
17
- return e[k];
18
- }
16
+ get: function () { return e[k]; }
19
17
  });
20
18
  }
21
19
  });
22
20
  }
23
- n['default'] = e;
21
+ n["default"] = e;
24
22
  return Object.freeze(n);
25
23
  }
26
24
 
@@ -167,9 +165,9 @@
167
165
  }
168
166
  return BreadcrumbItemsComponent;
169
167
  }());
170
- BreadcrumbItemsComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: BreadcrumbItemsComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
171
- BreadcrumbItemsComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: BreadcrumbItemsComponent, selector: "abp-breadcrumb-items", inputs: { items: "items" }, ngImport: i0__namespace, template: "<ol class=\"breadcrumb\" *ngIf=\"items.length\">\n <li class=\"breadcrumb-item\">\n <a routerLink=\"/\"><i class=\"fa fa-home\"></i> </a>\n </li>\n <li\n *ngFor=\"let item of items; let last = last\"\n class=\"breadcrumb-item\"\n [class.active]=\"last\"\n aria-current=\"page\"\n >\n <ng-container\n *ngTemplateOutlet=\"item.path ? linkTemplate : textTemplate; context: { $implicit: item }\"\n ></ng-container>\n </li>\n</ol>\n\n<ng-template #linkTemplate let-item>\n <a [routerLink]=\"item.path\"> {{ item.name | abpLocalization }}</a>\n</ng-template>\n\n<ng-template #textTemplate let-item>\n {{ item.name | abpLocalization }}\n</ng-template>\n", directives: [{ type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace$1.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["routerLink", "target", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo"] }, { type: i1__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], pipes: { "abpLocalization": i2__namespace.LocalizationPipe } });
172
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: BreadcrumbItemsComponent, decorators: [{
168
+ BreadcrumbItemsComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: BreadcrumbItemsComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
169
+ BreadcrumbItemsComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: BreadcrumbItemsComponent, selector: "abp-breadcrumb-items", inputs: { items: "items" }, ngImport: i0__namespace, 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__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace$1.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["routerLink", "target", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo"] }, { type: i1__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], pipes: { "abpLocalization": i2__namespace.LocalizationPipe } });
170
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: BreadcrumbItemsComponent, decorators: [{
173
171
  type: i0.Component,
174
172
  args: [{
175
173
  selector: 'abp-breadcrumb-items',
@@ -524,9 +522,9 @@
524
522
  };
525
523
  return BreadcrumbComponent;
526
524
  }());
527
- BreadcrumbComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: BreadcrumbComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }, { token: i1__namespace$1.Router }, { token: i2__namespace.RoutesService }, { token: i2__namespace.SubscriptionService }, { token: i2__namespace.RouterEvents }], target: i0__namespace.ɵɵFactoryTarget.Component });
528
- BreadcrumbComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: BreadcrumbComponent, selector: "abp-breadcrumb", providers: [i2.SubscriptionService], ngImport: i0__namespace, template: "<abp-breadcrumb-items [items]=\"segments\"></abp-breadcrumb-items>\n", components: [{ type: BreadcrumbItemsComponent, selector: "abp-breadcrumb-items", inputs: ["items"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
529
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: BreadcrumbComponent, decorators: [{
525
+ BreadcrumbComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: BreadcrumbComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }, { token: i1__namespace$1.Router }, { token: i2__namespace.RoutesService }, { token: i2__namespace.SubscriptionService }, { token: i2__namespace.RouterEvents }], target: i0__namespace.ɵɵFactoryTarget.Component });
526
+ BreadcrumbComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: BreadcrumbComponent, selector: "abp-breadcrumb", providers: [i2.SubscriptionService], ngImport: i0__namespace, template: "<abp-breadcrumb-items [items]=\"segments\"></abp-breadcrumb-items>\r\n", components: [{ type: BreadcrumbItemsComponent, selector: "abp-breadcrumb-items", inputs: ["items"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
527
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: BreadcrumbComponent, decorators: [{
530
528
  type: i0.Component,
531
529
  args: [{
532
530
  selector: 'abp-breadcrumb',
@@ -565,19 +563,22 @@
565
563
  var _this = this;
566
564
  if (this.attributes) {
567
565
  Object.keys(this.attributes).forEach(function (key) {
568
- _this.renderer.setAttribute(_this.buttonRef.nativeElement, key, _this.attributes[key]);
566
+ var _a;
567
+ if ((_a = _this.attributes) === null || _a === void 0 ? void 0 : _a[key]) {
568
+ _this.renderer.setAttribute(_this.buttonRef.nativeElement, key, _this.attributes[key]);
569
+ }
569
570
  });
570
571
  }
571
572
  };
572
573
  return ButtonComponent;
573
574
  }());
574
- ButtonComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ButtonComponent, deps: [{ token: i0__namespace.Renderer2 }], target: i0__namespace.ɵɵFactoryTarget.Component });
575
- ButtonComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: ButtonComponent, selector: "abp-button", inputs: { buttonId: "buttonId", buttonClass: "buttonClass", buttonType: "buttonType", iconClass: "iconClass", loading: "loading", disabled: "disabled", attributes: "attributes" }, outputs: { click: "click", focus: "focus", blur: "blur", abpClick: "abpClick", abpFocus: "abpFocus", abpBlur: "abpBlur" }, viewQueries: [{ propertyName: "buttonRef", first: true, predicate: ["button"], descendants: true, static: true }], ngImport: i0__namespace, template: "\n <button\n #button\n [id]=\"buttonId\"\n [attr.type]=\"buttonType\"\n [ngClass]=\"buttonClass\"\n [disabled]=\"loading || disabled\"\n (click.stop)=\"click.next($event); abpClick.next($event)\"\n (focus)=\"focus.next($event); abpFocus.next($event)\"\n (blur)=\"blur.next($event); abpBlur.next($event)\"\n >\n <i [ngClass]=\"icon\" class=\"mr-1\"></i><ng-content></ng-content>\n </button>\n ", isInline: true, directives: [{ type: i1__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2__namespace.StopPropagationDirective, selector: "[click.stop]", outputs: ["click.stop"] }] });
576
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ButtonComponent, decorators: [{
575
+ ButtonComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ButtonComponent, deps: [{ token: i0__namespace.Renderer2 }], target: i0__namespace.ɵɵFactoryTarget.Component });
576
+ ButtonComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, template: "\n <button\n #button\n [id]=\"buttonId\"\n [attr.type]=\"buttonType\"\n [ngClass]=\"buttonClass\"\n [disabled]=\"loading || disabled\"\n (click.stop)=\"click.next($event); abpClick.next($event)\"\n (focus)=\"focus.next($event); abpFocus.next($event)\"\n (blur)=\"blur.next($event); abpBlur.next($event)\"\n >\n <i [ngClass]=\"icon\" class=\"me-1\"></i><ng-content></ng-content>\n </button>\n ", isInline: true, directives: [{ type: i1__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2__namespace.StopPropagationDirective, selector: "[click.stop]", outputs: ["click.stop"] }] });
577
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ButtonComponent, decorators: [{
577
578
  type: i0.Component,
578
579
  args: [{
579
580
  selector: 'abp-button',
580
- template: "\n <button\n #button\n [id]=\"buttonId\"\n [attr.type]=\"buttonType\"\n [ngClass]=\"buttonClass\"\n [disabled]=\"loading || disabled\"\n (click.stop)=\"click.next($event); abpClick.next($event)\"\n (focus)=\"focus.next($event); abpFocus.next($event)\"\n (blur)=\"blur.next($event); abpBlur.next($event)\"\n >\n <i [ngClass]=\"icon\" class=\"mr-1\"></i><ng-content></ng-content>\n </button>\n ",
581
+ template: "\n <button\n #button\n [id]=\"buttonId\"\n [attr.type]=\"buttonType\"\n [ngClass]=\"buttonClass\"\n [disabled]=\"loading || disabled\"\n (click.stop)=\"click.next($event); abpClick.next($event)\"\n (focus)=\"focus.next($event); abpFocus.next($event)\"\n (blur)=\"blur.next($event); abpBlur.next($event)\"\n >\n <i [ngClass]=\"icon\" class=\"me-1\"></i><ng-content></ng-content>\n </button>\n ",
581
582
  }]
582
583
  }], ctorParameters: function () { return [{ type: i0__namespace.Renderer2 }]; }, propDecorators: { buttonId: [{
583
584
  type: i0.Input
@@ -646,9 +647,9 @@
646
647
  };
647
648
  return ConfirmationComponent;
648
649
  }());
649
- ConfirmationComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ConfirmationComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
650
- ConfirmationComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: ConfirmationComponent, selector: "abp-confirmation", ngImport: i0__namespace, template: "<div class=\"confirmation\" *ngIf=\"confirmation$ | async as data\">\n <div\n class=\"confirmation-backdrop\"\n (click)=\"data.options?.dismissible ? close(dismiss) : null\"\n ></div>\n <div class=\"confirmation-dialog\">\n <div class=\"icon-container\" [ngClass]=\"data.severity\" *ngIf=\"data.severity\">\n <i class=\"fa icon\" [ngClass]=\"getIconClass(data)\"></i>\n </div>\n <div class=\"content\">\n <h1\n class=\"title\"\n *ngIf=\"data.title\"\n [innerHTML]=\"data.title | abpLocalization: data.options?.titleLocalizationParams\"\n ></h1>\n <p\n class=\"message\"\n *ngIf=\"data.message\"\n [innerHTML]=\"data.message | abpLocalization: data.options?.messageLocalizationParams\"\n ></p>\n </div>\n <div class=\"footer\">\n <button\n id=\"cancel\"\n class=\"confirmation-button confirmation-button--reject\"\n [innerHTML]=\"data.options?.cancelText || 'AbpUi::Cancel' | abpLocalization\"\n *ngIf=\"!data?.options?.hideCancelBtn\"\n (click)=\"close(reject)\"\n ></button>\n <button\n id=\"confirm\"\n class=\"confirmation-button confirmation-button--approve\"\n [innerHTML]=\"data.options?.yesText || 'AbpUi::Yes' | abpLocalization\"\n *ngIf=\"!data?.options?.hideYesBtn\"\n (click)=\"close(confirm)\"\n ></button>\n </div>\n </div>\n</div>\n", styles: [".confirmation{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;z-index:1060}.confirmation .confirmation-backdrop{position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:1061!important}.confirmation .confirmation-dialog{display:flex;flex-direction:column;margin:20px auto;padding:0;width:450px;min-height:300px;z-index:1062!important}@media screen and (max-width: 500px){.confirmation .confirmation-dialog{width:90vw}}.confirmation .confirmation-dialog .icon-container{display:flex;align-items:center;justify-content:center;margin:0 0 10px;padding:20px}.confirmation .confirmation-dialog .icon-container .icon{width:100px;height:100px;stroke-width:1;font-size:80px;text-align:center}.confirmation .confirmation-dialog .content{flex-grow:1;display:block}.confirmation .confirmation-dialog .content .title{display:block;margin:0;padding:0;font-size:27px;font-weight:600;text-align:center}.confirmation .confirmation-dialog .content .message{display:block;margin:10px auto;padding:20px;font-size:16px;font-weight:400;text-align:center}.confirmation .confirmation-dialog .footer{display:flex;align-items:center;justify-content:flex-end;margin:10px 0 0;padding:20px;width:100%}.confirmation .confirmation-dialog .footer .confirmation-button{display:inline-block;margin:0 5px;padding:10px 20px;border:none;border-radius:6px;font-size:14px;font-weight:600}\n"], directives: [{ type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], pipes: { "async": i1__namespace.AsyncPipe, "abpLocalization": i2__namespace.LocalizationPipe } });
651
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ConfirmationComponent, decorators: [{
650
+ ConfirmationComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ConfirmationComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
651
+ ConfirmationComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: ConfirmationComponent, selector: "abp-confirmation", ngImport: i0__namespace, 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__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], pipes: { "async": i1__namespace.AsyncPipe, "abpLocalization": i2__namespace.LocalizationPipe } });
652
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ConfirmationComponent, decorators: [{
652
653
  type: i0.Component,
653
654
  args: [{
654
655
  selector: 'abp-confirmation',
@@ -663,7 +664,7 @@
663
664
  this.status = 0;
664
665
  this.title = 'Oops!';
665
666
  this.details = 'Sorry, an error has occured.';
666
- this.customComponent = null;
667
+ this.customComponent = undefined;
667
668
  this.hideCloseIcon = false;
668
669
  this.isHomeShow = true;
669
670
  }
@@ -688,7 +689,9 @@
688
689
  customComponentRef.instance.errorStatus = this.status;
689
690
  customComponentRef.instance.destroy$ = this.destroy$;
690
691
  this.appRef.attachView(customComponentRef.hostView);
691
- this.containerRef.nativeElement.appendChild(customComponentRef.hostView.rootNodes[0]);
692
+ if (this.containerRef) {
693
+ this.containerRef.nativeElement.appendChild(customComponentRef.hostView.rootNodes[0]);
694
+ }
692
695
  customComponentRef.changeDetectorRef.detectChanges();
693
696
  }
694
697
  var keyup$ = rxjs.fromEvent(document, 'keyup').pipe(operators.debounceTime(150), operators.filter(function (key) { return key && key.key === 'Escape'; }));
@@ -703,9 +706,9 @@
703
706
  };
704
707
  return HttpErrorWrapperComponent;
705
708
  }());
706
- HttpErrorWrapperComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: HttpErrorWrapperComponent, deps: [{ token: i2__namespace.SubscriptionService }], target: i0__namespace.ɵɵFactoryTarget.Component });
707
- HttpErrorWrapperComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: HttpErrorWrapperComponent, selector: "abp-http-error-wrapper", providers: [i2.SubscriptionService], viewQueries: [{ propertyName: "containerRef", first: true, predicate: ["container"], descendants: true }], ngImport: i0__namespace, template: "<div\n #container\n id=\"abp-http-error-container\"\n class=\"error\"\n [style.backgroundColor]=\"backgroundColor\"\n>\n <button\n *ngIf=\"!hideCloseIcon\"\n id=\"abp-close-button\"\n type=\"button\"\n class=\"close mr-2\"\n (click)=\"destroy()\"\n >\n <span aria-hidden=\"true\">&times;</span>\n </button>\n\n <div *ngIf=\"!customComponent\" class=\"row centered\">\n <div class=\"col-md-12\">\n <div class=\"error-template\">\n <h1>{{ statusText }} {{ title | abpLocalization }}</h1>\n <div class=\"error-details\">\n {{ details | abpLocalization }}\n </div>\n <div class=\"error-actions\">\n <a\n *ngIf=\"isHomeShow\"\n (click)=\"destroy()\"\n routerLink=\"/\"\n class=\"btn btn-primary btn-md mt-2\"\n ><span class=\"glyphicon glyphicon-home\"></span>\n {{ { key: '::Menu:Home', defaultValue: 'Home' } | abpLocalization }}\n </a>\n </div>\n </div>\n </div>\n </div>\n</div>\n", styles: [".error{position:fixed;top:0;width:100vw;height:100vh;z-index:999999}.centered{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)}\n"], directives: [{ type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace$1.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["routerLink", "target", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo"] }], pipes: { "abpLocalization": i2__namespace.LocalizationPipe } });
708
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: HttpErrorWrapperComponent, decorators: [{
709
+ HttpErrorWrapperComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: HttpErrorWrapperComponent, deps: [{ token: i2__namespace.SubscriptionService }], target: i0__namespace.ɵɵFactoryTarget.Component });
710
+ HttpErrorWrapperComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: HttpErrorWrapperComponent, selector: "abp-http-error-wrapper", providers: [i2.SubscriptionService], viewQueries: [{ propertyName: "containerRef", first: true, predicate: ["container"], descendants: true }], ngImport: i0__namespace, 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__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace$1.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["routerLink", "target", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo"] }], pipes: { "abpLocalization": i2__namespace.LocalizationPipe } });
711
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: HttpErrorWrapperComponent, decorators: [{
709
712
  type: i0.Component,
710
713
  args: [{
711
714
  selector: 'abp-http-error-wrapper',
@@ -806,9 +809,9 @@
806
809
  };
807
810
  return LoaderBarComponent;
808
811
  }());
809
- LoaderBarComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: LoaderBarComponent, deps: [{ token: i1__namespace$1.Router }, { token: i0__namespace.ChangeDetectorRef }, { token: i2__namespace.SubscriptionService }, { token: i2__namespace.HttpWaitService }, { token: i2__namespace.RouterWaitService }], target: i0__namespace.ɵɵFactoryTarget.Component });
810
- LoaderBarComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: LoaderBarComponent, selector: "abp-loader-bar", inputs: { isLoading: "isLoading", containerClass: "containerClass", color: "color" }, providers: [i2.SubscriptionService], ngImport: i0__namespace, template: "\n <div id=\"abp-loader-bar\" [ngClass]=\"containerClass\" [class.is-loading]=\"isLoading\">\n <div\n class=\"abp-progress\"\n [class.progressing]=\"progressLevel\"\n [style.width.vw]=\"progressLevel\"\n [ngStyle]=\"{\n 'background-color': color,\n 'box-shadow': boxShadow\n }\"\n ></div>\n </div>\n ", isInline: true, styles: [".abp-loader-bar{left:0;opacity:0;position:fixed;top:0;transition:opacity .4s linear .4s;z-index:99999}.abp-loader-bar.is-loading{opacity:1;transition:none}.abp-loader-bar .abp-progress{height:3px;left:0;position:fixed;top:0}.abp-loader-bar .abp-progress.progressing{transition:width .4s ease}\n"], directives: [{ type: i1__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1__namespace.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
811
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: LoaderBarComponent, decorators: [{
812
+ LoaderBarComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: LoaderBarComponent, deps: [{ token: i1__namespace$1.Router }, { token: i0__namespace.ChangeDetectorRef }, { token: i2__namespace.SubscriptionService }, { token: i2__namespace.HttpWaitService }, { token: i2__namespace.RouterWaitService }], target: i0__namespace.ɵɵFactoryTarget.Component });
813
+ LoaderBarComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: LoaderBarComponent, selector: "abp-loader-bar", inputs: { isLoading: "isLoading", containerClass: "containerClass", color: "color" }, providers: [i2.SubscriptionService], ngImport: i0__namespace, template: "\n <div id=\"abp-loader-bar\" [ngClass]=\"containerClass\" [class.is-loading]=\"isLoading\">\n <div\n class=\"abp-progress\"\n [class.progressing]=\"progressLevel\"\n [style.width.vw]=\"progressLevel\"\n [ngStyle]=\"{\n 'background-color': color,\n 'box-shadow': boxShadow\n }\"\n ></div>\n </div>\n ", isInline: true, styles: [".abp-loader-bar{left:0;opacity:0;position:fixed;top:0;transition:opacity .4s linear .4s;z-index:99999}.abp-loader-bar.is-loading{opacity:1;transition:none}.abp-loader-bar .abp-progress{height:3px;left:0;position:fixed;top:0}.abp-loader-bar .abp-progress.progressing{transition:width .4s ease}\n"], directives: [{ type: i1__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1__namespace.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
814
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: LoaderBarComponent, decorators: [{
812
815
  type: i0.Component,
813
816
  args: [{
814
817
  selector: 'abp-loader-bar',
@@ -829,9 +832,9 @@
829
832
  }
830
833
  return LoadingComponent;
831
834
  }());
832
- LoadingComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: LoadingComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
833
- LoadingComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: LoadingComponent, selector: "abp-loading", ngImport: i0__namespace, template: "\n <div class=\"abp-loading\">\n <i class=\"fa fa-spinner fa-pulse abp-spinner\"></i>\n </div>\n ", isInline: true, styles: ["\n .abp-loading {\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n z-index: 1040;\n }\n\n .abp-loading .abp-spinner {\n position: absolute;\n top: 50%;\n left: 50%;\n font-size: 14px;\n -moz-transform: translateX(-50%) translateY(-50%);\n -o-transform: translateX(-50%) translateY(-50%);\n -ms-transform: translateX(-50%) translateY(-50%);\n -webkit-transform: translateX(-50%) translateY(-50%);\n transform: translateX(-50%) translateY(-50%);\n }\n "], encapsulation: i0__namespace.ViewEncapsulation.None });
834
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: LoadingComponent, decorators: [{
835
+ LoadingComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: LoadingComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
836
+ LoadingComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: LoadingComponent, selector: "abp-loading", ngImport: i0__namespace, template: "\n <div class=\"abp-loading\">\n <i class=\"fa fa-spinner fa-pulse abp-spinner\"></i>\n </div>\n ", isInline: true, styles: ["\n .abp-loading {\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n z-index: 1040;\n }\n\n .abp-loading .abp-spinner {\n position: absolute;\n top: 50%;\n left: 50%;\n font-size: 14px;\n -moz-transform: translateX(-50%) translateY(-50%);\n -o-transform: translateX(-50%) translateY(-50%);\n -ms-transform: translateX(-50%) translateY(-50%);\n -webkit-transform: translateX(-50%) translateY(-50%);\n transform: translateX(-50%) translateY(-50%);\n }\n "], encapsulation: i0__namespace.ViewEncapsulation.None });
837
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: LoadingComponent, decorators: [{
835
838
  type: i0.Component,
836
839
  args: [{
837
840
  selector: 'abp-loading',
@@ -904,9 +907,9 @@
904
907
  };
905
908
  return ConfirmationService;
906
909
  }());
907
- ConfirmationService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ConfirmationService, deps: [{ token: i2__namespace.ContentProjectionService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
908
- ConfirmationService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ConfirmationService, providedIn: 'root' });
909
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ConfirmationService, decorators: [{
910
+ ConfirmationService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ConfirmationService, deps: [{ token: i2__namespace.ContentProjectionService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
911
+ ConfirmationService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ConfirmationService, providedIn: 'root' });
912
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ConfirmationService, decorators: [{
910
913
  type: i0.Injectable,
911
914
  args: [{ providedIn: 'root' }]
912
915
  }], ctorParameters: function () { return [{ type: i2__namespace.ContentProjectionService }]; } });
@@ -929,9 +932,9 @@
929
932
  };
930
933
  return ModalRefService;
931
934
  }());
932
- ModalRefService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ModalRefService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
933
- ModalRefService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ModalRefService, providedIn: 'root' });
934
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ModalRefService, decorators: [{
935
+ ModalRefService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ModalRefService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
936
+ ModalRefService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ModalRefService, providedIn: 'root' });
937
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ModalRefService, decorators: [{
935
938
  type: i0.Injectable,
936
939
  args: [{ providedIn: 'root' }]
937
940
  }] });
@@ -991,7 +994,8 @@
991
994
  });
992
995
  Object.defineProperty(ModalComponent.prototype, "isFormDirty", {
993
996
  get: function () {
994
- return Boolean(this.modalWindowRef.querySelector('.ng-dirty'));
997
+ var _a;
998
+ return Boolean((_a = this.modalWindowRef) === null || _a === void 0 ? void 0 : _a.querySelector('.ng-dirty'));
995
999
  },
996
1000
  enumerable: false,
997
1001
  configurable: true
@@ -1063,27 +1067,26 @@
1063
1067
  };
1064
1068
  ModalComponent.prototype.listen = function () {
1065
1069
  var _this = this;
1066
- rxjs.fromEvent(this.modalWindowRef, 'keyup')
1067
- .pipe(operators.takeUntil(this.destroy$), operators.debounceTime(150), operators.filter(function (key) { return key && key.key === 'Escape'; }))
1068
- .subscribe(function () { return _this.close(); });
1070
+ if (this.modalWindowRef) {
1071
+ rxjs.fromEvent(this.modalWindowRef, 'keyup')
1072
+ .pipe(operators.takeUntil(this.destroy$), operators.debounceTime(150), operators.filter(function (key) { return key && key.key === 'Escape'; }))
1073
+ .subscribe(function () { return _this.close(); });
1074
+ }
1069
1075
  rxjs.fromEvent(window, 'beforeunload')
1070
1076
  .pipe(operators.takeUntil(this.destroy$))
1071
1077
  .subscribe(function (event) {
1072
- event.preventDefault();
1073
- if (_this.isFormDirty && !_this.suppressUnsavedChangesWarning) {
1074
- event.returnValue = true;
1075
- }
1076
- else {
1077
- delete event.returnValue;
1078
+ // TODO: check this
1079
+ if (!_this.isFormDirty || _this.suppressUnsavedChangesWarning) {
1080
+ event.preventDefault();
1078
1081
  }
1079
1082
  });
1080
1083
  this.init.emit();
1081
1084
  };
1082
1085
  return ModalComponent;
1083
1086
  }());
1084
- ModalComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ModalComponent, deps: [{ token: ConfirmationService }, { token: i2__namespace.SubscriptionService }, { token: SUPPRESS_UNSAVED_CHANGES_WARNING, optional: true }, { token: i3__namespace.NgbModal }, { token: ModalRefService }], target: i0__namespace.ɵɵFactoryTarget.Component });
1085
- ModalComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: ModalComponent, selector: "abp-modal", inputs: { visible: "visible", busy: "busy", options: "options", suppressUnsavedChangesWarning: "suppressUnsavedChangesWarning" }, outputs: { visibleChange: "visibleChange", init: "init", appear: "appear", disappear: "disappear" }, providers: [i2.SubscriptionService], queries: [{ propertyName: "abpHeader", first: true, predicate: ["abpHeader"], descendants: true }, { propertyName: "abpBody", first: true, predicate: ["abpBody"], descendants: true }, { propertyName: "abpFooter", first: true, predicate: ["abpFooter"], descendants: true }, { propertyName: "abpSubmit", first: true, predicate: ButtonComponent, descendants: true, read: ButtonComponent }], viewQueries: [{ propertyName: "modalContent", first: true, predicate: ["modalContent"], descendants: true }], ngImport: i0__namespace, template: "<ng-content></ng-content>\n\n<ng-template #modalContent let-modal>\n <div id=\"abp-modal-header\" class=\"modal-header\">\n <ng-container *ngTemplateOutlet=\"abpHeader\"></ng-container>\n \u200B\n <button\n id=\"abp-modal-close-button\"\n type=\"button\"\n class=\"close\"\n aria-label=\"Close\"\n (click)=\"modal.dismiss()\"\n >\n <span aria-hidden=\"true\">&times;</span>\n </button>\n </div>\n <div id=\"abp-modal-body\" class=\"modal-body\">\n <ng-container *ngTemplateOutlet=\"abpBody\"></ng-container>\n </div>\n <div *ngIf=\"abpFooter\" id=\"abp-modal-footer\" class=\"modal-footer\">\n <ng-container *ngTemplateOutlet=\"abpFooter\"></ng-container>\n </div>\n</ng-template>\n", styles: [".modal.show{display:block!important}.modal-backdrop{opacity:.8}.modal::-webkit-scrollbar{width:7px}.modal::-webkit-scrollbar-track{background:#ddd}.modal::-webkit-scrollbar-thumb{background:#8a8686}.modal-dialog{z-index:1050}\n"], directives: [{ type: i1__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
1086
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ModalComponent, decorators: [{
1087
+ ModalComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ModalComponent, deps: [{ token: ConfirmationService }, { token: i2__namespace.SubscriptionService }, { token: SUPPRESS_UNSAVED_CHANGES_WARNING, optional: true }, { token: i3__namespace.NgbModal }, { token: ModalRefService }], target: i0__namespace.ɵɵFactoryTarget.Component });
1088
+ ModalComponent.ɵcmp = i0__namespace.ɵɵ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: [i2.SubscriptionService], queries: [{ propertyName: "abpHeader", first: true, predicate: ["abpHeader"], descendants: true }, { propertyName: "abpBody", first: true, predicate: ["abpBody"], descendants: true }, { propertyName: "abpFooter", first: true, predicate: ["abpFooter"], descendants: true }, { propertyName: "abpSubmit", first: true, predicate: ButtonComponent, descendants: true, read: ButtonComponent }], viewQueries: [{ propertyName: "modalContent", first: true, predicate: ["modalContent"], descendants: true }], ngImport: i0__namespace, template: "<ng-content></ng-content>\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__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
1089
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ModalComponent, decorators: [{
1087
1090
  type: i0.Component,
1088
1091
  args: [{
1089
1092
  selector: 'abp-modal',
@@ -1144,9 +1147,9 @@
1144
1147
  };
1145
1148
  return ModalCloseDirective;
1146
1149
  }());
1147
- ModalCloseDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ModalCloseDirective, deps: [{ token: ModalComponent, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Directive });
1148
- ModalCloseDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.6", type: ModalCloseDirective, selector: "[abpClose]", host: { listeners: { "click": "onClick()" } }, ngImport: i0__namespace });
1149
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ModalCloseDirective, decorators: [{
1150
+ ModalCloseDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ModalCloseDirective, deps: [{ token: ModalComponent, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Directive });
1151
+ ModalCloseDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.13", type: ModalCloseDirective, selector: "[abpClose]", host: { listeners: { "click": "onClick()" } }, ngImport: i0__namespace });
1152
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ModalCloseDirective, decorators: [{
1150
1153
  type: i0.Directive,
1151
1154
  args: [{ selector: '[abpClose]' }]
1152
1155
  }], ctorParameters: function () {
@@ -1200,7 +1203,8 @@
1200
1203
  }, timeout);
1201
1204
  };
1202
1205
  ToastComponent.prototype.close = function () {
1203
- this.remove.emit(this.toast.options.id);
1206
+ var _a;
1207
+ this.remove.emit((_a = this.toast.options) === null || _a === void 0 ? void 0 : _a.id);
1204
1208
  };
1205
1209
  ToastComponent.prototype.tap = function () {
1206
1210
  var _a;
@@ -1209,9 +1213,9 @@
1209
1213
  };
1210
1214
  return ToastComponent;
1211
1215
  }());
1212
- ToastComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ToastComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
1213
- ToastComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: ToastComponent, selector: "abp-toast", inputs: { toast: "toast" }, outputs: { remove: "remove" }, ngImport: i0__namespace, template: "<div class=\"abp-toast\" [ngClass]=\"severityClass\" (click)=\"tap()\">\n <div class=\"abp-toast-icon\">\n <i class=\"fa icon\" [ngClass]=\"iconClass\"></i>\n </div>\n <div class=\"abp-toast-content\">\n <button class=\"abp-toast-close-button\" (click)=\"close()\" *ngIf=\"toast.options.closable\">\n <i class=\"fa fa-times\"></i>\n </button>\n <div class=\"abp-toast-title\">\n {{ toast.title | abpLocalization: toast.options?.titleLocalizationParams }}\n </div>\n <p\n class=\"abp-toast-message\"\n [innerHTML]=\"toast.message | abpLocalization: toast.options?.messageLocalizationParams\"\n ></p>\n </div>\n</div>\n", styles: [".abp-toast{display:grid;grid-template-columns:50px 1fr;grid-gap:10px;gap:10px;margin:5px 0;padding:10px;border-radius:0;width:350px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:9999;border:2px solid #f0f0f0;background-color:#f0f0f0;color:#000;box-shadow:0 0 10px -5px #0006;opacity:1}.abp-toast:hover{border:2px solid #e3e3e3;background-color:#e3e3e3;box-shadow:0 0 15px -5px #0006}.abp-toast.abp-toast-success{border:2px solid #51a351;background-color:#51a351;color:#fff;box-shadow:0 0 10px -5px #0006}.abp-toast.abp-toast-success:hover{border:2px solid #499249;background-color:#499249;box-shadow:0 0 15px -5px #0006}.abp-toast.abp-toast-info{border:2px solid #2f96b4;background-color:#2f96b4;color:#fff;box-shadow:0 0 10px -5px #0006}.abp-toast.abp-toast-info:hover{border:2px solid #2a85a0;background-color:#2a85a0;box-shadow:0 0 15px -5px #0006}.abp-toast.abp-toast-warning{border:2px solid #f89406;background-color:#f89406;color:#fff;box-shadow:0 0 10px -5px #0006}.abp-toast.abp-toast-warning:hover{border:2px solid #df8505;background-color:#df8505;box-shadow:0 0 15px -5px #0006}.abp-toast.abp-toast-error{border:2px solid #bd362f;background-color:#bd362f;color:#fff;box-shadow:0 0 10px -5px #0006}.abp-toast.abp-toast-error:hover{border:2px solid #a9302a;background-color:#a9302a;box-shadow:0 0 15px -5px #0006}.abp-toast .abp-toast-icon{display:flex;align-items:center;justify-content:center}.abp-toast .abp-toast-icon .icon{font-size:36px}.abp-toast .abp-toast-content{position:relative}.abp-toast .abp-toast-content .abp-toast-close-button{position:absolute;top:0;right:0;display:flex;align-items:center;justify-content:center;margin:0;padding:0 5px 0 0;width:25px;height:25px;border:none;border-radius:50%;background:transparent;color:inherit}.abp-toast .abp-toast-content .abp-toast-close-button:focus{outline:none}.abp-toast .abp-toast-content .abp-toast-title{margin:0;padding:0;font-size:1rem;font-weight:600}.abp-toast .abp-toast-content .abp-toast-message{margin:0;padding:0;max-width:240px}\n"], directives: [{ type: i1__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "abpLocalization": i2__namespace.LocalizationPipe } });
1214
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ToastComponent, decorators: [{
1216
+ ToastComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ToastComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
1217
+ ToastComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: ToastComponent, selector: "abp-toast", inputs: { toast: "toast" }, outputs: { remove: "remove" }, ngImport: i0__namespace, 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__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "abpLocalization": i2__namespace.LocalizationPipe } });
1218
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ToastComponent, decorators: [{
1215
1219
  type: i0.Component,
1216
1220
  args: [{
1217
1221
  selector: 'abp-toast',
@@ -1241,15 +1245,16 @@
1241
1245
  });
1242
1246
  };
1243
1247
  ToastContainerComponent.prototype.trackByFunc = function (index, toast) {
1248
+ var _a;
1244
1249
  if (!toast)
1245
1250
  return null;
1246
- return toast.options.id;
1251
+ return (_a = toast.options) === null || _a === void 0 ? void 0 : _a.id;
1247
1252
  };
1248
1253
  return ToastContainerComponent;
1249
1254
  }());
1250
- ToastContainerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ToastContainerComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
1251
- ToastContainerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: ToastContainerComponent, selector: "abp-toast-container", inputs: { top: "top", right: "right", bottom: "bottom", left: "left", toastKey: "toastKey" }, ngImport: i0__namespace, template: "<div\n class=\"abp-toast-container\"\n [style.top]=\"top || 'auto'\"\n [style.right]=\"right || 'auto'\"\n [style.bottom]=\"bottom || 'auto'\"\n [style.left]=\"left || 'auto'\"\n [style.display]=\"toasts.length ? 'flex' : 'none'\"\n [@toastInOut]=\"toasts.length\"\n>\n <abp-toast\n [toast]=\"toast\"\n *ngFor=\"let toast of toasts; trackBy: trackByFunc\"\n (remove)=\"remove($event)\"\n ></abp-toast>\n</div>\n", styles: [".abp-toast-container{position:fixed;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;min-width:350px;min-height:80px;z-index:1900}.abp-toast-container.new-on-top{flex-direction:column-reverse}\n"], components: [{ type: ToastComponent, selector: "abp-toast", inputs: ["toast"], outputs: ["remove"] }], directives: [{ type: i1__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], animations: [toastInOut] });
1252
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ToastContainerComponent, decorators: [{
1255
+ ToastContainerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ToastContainerComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
1256
+ ToastContainerComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], animations: [toastInOut] });
1257
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ToastContainerComponent, decorators: [{
1253
1258
  type: i0.Component,
1254
1259
  args: [{
1255
1260
  selector: 'abp-toast-container',
@@ -1269,9 +1274,6 @@
1269
1274
  type: i0.Input
1270
1275
  }] } });
1271
1276
 
1272
- var styles = "\n.is-invalid .form-control {\n border-color: #dc3545;\n border-style: solid !important;\n padding-right: calc(1.5em + .75rem);\n background-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e);\n background-repeat: no-repeat;\n background-position: right calc(.375em + .1875rem) center;\n background-size: calc(.75em + .375rem) calc(.75em + .375rem);\n}\n\n.is-invalid .invalid-feedback,\n.is-invalid + * .invalid-feedback {\n display: block;\n}\n\n.data-tables-filter {\n text-align: right;\n}\n\n[dir=rtl] .data-tables-filter {\n text-align: left;\n}\n\n.pointer {\n cursor: pointer;\n}\n\n.navbar .dropdown-submenu a::after {\n transform: rotate(-90deg);\n position: absolute;\n right: 16px;\n top: 18px;\n}\n\n.navbar .dropdown-menu {\n min-width: 215px;\n}\n\n.datatable-scroll {\n margin-bottom: 5px !important;\n width: unset !important;\n}\n\n.ui-table-scrollable-body::-webkit-scrollbar {\n height: 5px !important;\n width: 5px !important;\n}\n\n.ui-table-scrollable-body::-webkit-scrollbar-track {\n background: #ddd;\n}\n\n.ui-table-scrollable-body::-webkit-scrollbar-thumb {\n background: #8a8686;\n}\n\n.abp-ellipsis-inline {\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.abp-ellipsis {\n overflow: hidden !important;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.ui-widget-overlay {\n z-index: 1000;\n}\n\n.color-white {\n color: #FFF !important;\n}\n\n.custom-checkbox > label {\n cursor: pointer;\n}\n\n/* <animations */\n\n.fade-in-top {\n animation: fadeInTop 0.2s ease-in-out;\n}\n\n.fade-out-top {\n animation: fadeOutTop 0.2s ease-in-out;\n}\n\n.abp-collapsed-height {\n -moz-transition: max-height linear 0.35s;\n -ms-transition: max-height linear 0.35s;\n -o-transition: max-height linear 0.35s;\n -webkit-transition: max-height linear 0.35s;\n overflow:hidden;\n transition:max-height 0.35s linear;\n height:auto;\n max-height: 0;\n}\n\n.abp-mh-25 {\n max-height: 25vh;\n}\n\n.abp-mh-50 {\n transition:max-height 0.65s linear;\n max-height: 50vh;\n}\n\n.abp-mh-75 {\n transition:max-height 0.85s linear;\n max-height: 75vh;\n}\n\n.abp-mh-100 {\n transition:max-height 1s linear;\n max-height: 100vh;\n}\n\n[class^=\"sorting\"] {\n opacity: .3;\n cursor: pointer;\n}\n[class^=\"sorting\"]:before {\n right: 0.5rem;\n content: \"\u2191\";\n}\n[class^=\"sorting\"]:after {\n right: 0.5rem;\n content: \"\u2193\";\n}\n\n.sorting_desc {\n opacity: 1;\n}\n.sorting_desc:before {\n opacity: .3;\n}\n\n.sorting_asc {\n opacity: 1;\n}\n.sorting_asc:after {\n opacity: .3;\n}\n.ngx-datatable.material {\n box-shadow: none;\n}\nngb-typeahead-window, ngb-typeahead-window.dropdown-menu {\n max-height: 25em;\n overflow-y: scroll !important;\n z-index: 1050;\n}\n\n@keyframes fadeInTop {\n from {\n transform: translateY(-5px);\n opacity: 0;\n }\n\n to {\n transform: translateY(0px);\n opacity: 1;\n }\n}\n\n@keyframes fadeOutTop {\n to {\n transform: translateY(-5px);\n opacity: 0;\n }\n}\n\n/* </animations */\n\n";
1273
- var BOOTSTRAP = 'bootstrap-{{dir}}.min.css';
1274
-
1275
1277
  var DEFAULT_VALIDATION_BLUEPRINTS = {
1276
1278
  creditCard: 'AbpValidation::ThisFieldIsNotAValidCreditCardNumber.',
1277
1279
  email: 'AbpValidation::ThisFieldIsNotAValidEmailAddress.',
@@ -1320,9 +1322,9 @@
1320
1322
  };
1321
1323
  return EllipsisDirective;
1322
1324
  }());
1323
- EllipsisDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: EllipsisDirective, deps: [{ token: i0__namespace.ChangeDetectorRef }, { token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
1324
- EllipsisDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.6", type: EllipsisDirective, selector: "[abpEllipsis]", inputs: { width: ["abpEllipsis", "width"], title: "title", enabled: ["abpEllipsisEnabled", "enabled"] }, host: { properties: { "title": "this.title", "class.abp-ellipsis-inline": "this.inlineClass", "class.abp-ellipsis": "this.class", "style.max-width": "this.maxWidth" } }, ngImport: i0__namespace });
1325
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: EllipsisDirective, decorators: [{
1325
+ EllipsisDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: EllipsisDirective, deps: [{ token: i0__namespace.ChangeDetectorRef }, { token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
1326
+ EllipsisDirective.ɵdir = i0__namespace.ɵɵ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__namespace });
1327
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: EllipsisDirective, decorators: [{
1326
1328
  type: i0.Directive,
1327
1329
  args: [{
1328
1330
  selector: '[abpEllipsis]',
@@ -1353,10 +1355,10 @@
1353
1355
  }
1354
1356
  return EllipsisModule;
1355
1357
  }());
1356
- EllipsisModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: EllipsisModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
1357
- EllipsisModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: EllipsisModule, declarations: [EllipsisDirective], exports: [EllipsisDirective] });
1358
- EllipsisModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: EllipsisModule });
1359
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: EllipsisModule, decorators: [{
1358
+ EllipsisModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: EllipsisModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
1359
+ EllipsisModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: EllipsisModule, declarations: [EllipsisDirective], exports: [EllipsisDirective] });
1360
+ EllipsisModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: EllipsisModule });
1361
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: EllipsisModule, decorators: [{
1360
1362
  type: i0.NgModule,
1361
1363
  args: [{
1362
1364
  exports: [EllipsisDirective],
@@ -1373,6 +1375,8 @@
1373
1375
  this.renderer = renderer;
1374
1376
  this.position = 'relative';
1375
1377
  this.delay = 0;
1378
+ this.rootNode = null;
1379
+ this.timerSubscription = null;
1376
1380
  }
1377
1381
  Object.defineProperty(LoadingDirective.prototype, "loading", {
1378
1382
  get: function () {
@@ -1394,6 +1398,7 @@
1394
1398
  _this.timerSubscription = rxjs.timer(_this.delay)
1395
1399
  .pipe(operators.take(1))
1396
1400
  .subscribe(function () {
1401
+ var _a;
1397
1402
  if (!_this.componentRef) {
1398
1403
  _this.componentRef = _this.cdRes
1399
1404
  .resolveComponentFactory(LoadingComponent)
@@ -1401,7 +1406,7 @@
1401
1406
  }
1402
1407
  if (newValue && !_this.rootNode) {
1403
1408
  _this.rootNode = _this.componentRef.hostView.rootNodes[0];
1404
- _this.targetElement.appendChild(_this.rootNode);
1409
+ (_a = _this.targetElement) === null || _a === void 0 ? void 0 : _a.appendChild(_this.rootNode);
1405
1410
  }
1406
1411
  else if (_this.rootNode) {
1407
1412
  _this.renderer.removeChild(_this.rootNode.parentElement, _this.rootNode);
@@ -1417,7 +1422,7 @@
1417
1422
  });
1418
1423
  LoadingDirective.prototype.ngOnInit = function () {
1419
1424
  if (!this.targetElement) {
1420
- var _a = this.elRef.nativeElement, offsetHeight = _a.offsetHeight, offsetWidth = _a.offsetWidth;
1425
+ var _b = this.elRef.nativeElement, offsetHeight = _b.offsetHeight, offsetWidth = _b.offsetWidth;
1421
1426
  if (!offsetHeight && !offsetWidth && this.elRef.nativeElement.children.length) {
1422
1427
  this.targetElement = this.elRef.nativeElement.children[0];
1423
1428
  }
@@ -1433,9 +1438,9 @@
1433
1438
  };
1434
1439
  return LoadingDirective;
1435
1440
  }());
1436
- LoadingDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: LoadingDirective, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ViewContainerRef }, { token: i0__namespace.ComponentFactoryResolver }, { token: i0__namespace.Injector }, { token: i0__namespace.Renderer2 }], target: i0__namespace.ɵɵFactoryTarget.Directive });
1437
- LoadingDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.6", type: LoadingDirective, selector: "[abpLoading]", inputs: { loading: ["abpLoading", "loading"], targetElement: ["abpLoadingTargetElement", "targetElement"], delay: ["abpLoadingDelay", "delay"] }, host: { properties: { "style.position": "this.position" } }, ngImport: i0__namespace });
1438
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: LoadingDirective, decorators: [{
1441
+ LoadingDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: LoadingDirective, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ViewContainerRef }, { token: i0__namespace.ComponentFactoryResolver }, { token: i0__namespace.Injector }, { token: i0__namespace.Renderer2 }], target: i0__namespace.ɵɵFactoryTarget.Directive });
1442
+ LoadingDirective.ɵdir = i0__namespace.ɵɵ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__namespace });
1443
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: LoadingDirective, decorators: [{
1439
1444
  type: i0.Directive,
1440
1445
  args: [{ selector: '[abpLoading]' }]
1441
1446
  }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ViewContainerRef }, { type: i0__namespace.ComponentFactoryResolver }, { type: i0__namespace.Injector }, { type: i0__namespace.Renderer2 }]; }, propDecorators: { position: [{
@@ -1507,9 +1512,9 @@
1507
1512
  };
1508
1513
  return NgxDatatableDefaultDirective;
1509
1514
  }());
1510
- NgxDatatableDefaultDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: NgxDatatableDefaultDirective, deps: [{ token: i1__namespace$2.DatatableComponent }, { token: i1.DOCUMENT }], target: i0__namespace.ɵɵFactoryTarget.Directive });
1511
- NgxDatatableDefaultDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.6", type: NgxDatatableDefaultDirective, selector: "ngx-datatable[default]", inputs: { class: "class" }, host: { properties: { "class": "this.classes" } }, exportAs: ["ngxDatatableDefault"], ngImport: i0__namespace });
1512
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: NgxDatatableDefaultDirective, decorators: [{
1515
+ NgxDatatableDefaultDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: NgxDatatableDefaultDirective, deps: [{ token: i1__namespace$2.DatatableComponent }, { token: i1.DOCUMENT }], target: i0__namespace.ɵɵFactoryTarget.Directive });
1516
+ NgxDatatableDefaultDirective.ɵdir = i0__namespace.ɵɵ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__namespace });
1517
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: NgxDatatableDefaultDirective, decorators: [{
1513
1518
  type: i0.Directive,
1514
1519
  args: [{
1515
1520
  // eslint-disable-next-line @angular-eslint/directive-selector
@@ -1610,9 +1615,9 @@
1610
1615
  };
1611
1616
  return NgxDatatableListDirective;
1612
1617
  }());
1613
- NgxDatatableListDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: NgxDatatableListDirective, deps: [{ token: i1__namespace$2.DatatableComponent }, { token: i0__namespace.ChangeDetectorRef }, { token: i2__namespace.LocalizationService }, { token: NGX_DATATABLE_MESSAGES, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Directive });
1614
- NgxDatatableListDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.6", type: NgxDatatableListDirective, selector: "ngx-datatable[list]", inputs: { list: "list" }, exportAs: ["ngxDatatableList"], usesOnChanges: true, ngImport: i0__namespace });
1615
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: NgxDatatableListDirective, decorators: [{
1618
+ NgxDatatableListDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: NgxDatatableListDirective, deps: [{ token: i1__namespace$2.DatatableComponent }, { token: i0__namespace.ChangeDetectorRef }, { token: i2__namespace.LocalizationService }, { token: NGX_DATATABLE_MESSAGES, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Directive });
1619
+ NgxDatatableListDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.13", type: NgxDatatableListDirective, selector: "ngx-datatable[list]", inputs: { list: "list" }, exportAs: ["ngxDatatableList"], usesOnChanges: true, ngImport: i0__namespace });
1620
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: NgxDatatableListDirective, decorators: [{
1616
1621
  type: i0.Directive,
1617
1622
  args: [{
1618
1623
  // eslint-disable-next-line @angular-eslint/directive-selector
@@ -1630,6 +1635,36 @@
1630
1635
  type: i0.Input
1631
1636
  }] } });
1632
1637
 
1638
+ var DocumentDirHandlerService = /** @class */ (function () {
1639
+ function DocumentDirHandlerService(injector) {
1640
+ this.injector = injector;
1641
+ this.dir = new rxjs.BehaviorSubject('ltr');
1642
+ this.dir$ = this.dir.asObservable();
1643
+ this.listenToLanguageChanges();
1644
+ }
1645
+ DocumentDirHandlerService.prototype.listenToLanguageChanges = function () {
1646
+ var _this = this;
1647
+ var l10n = this.injector.get(i2.LocalizationService);
1648
+ // will always listen, no need to unsubscribe
1649
+ l10n.languageChange$
1650
+ .pipe(operators.startWith(l10n.currentLang), operators.map(function (locale) { return i2.getLocaleDirection(locale); }))
1651
+ .subscribe(function (dir) {
1652
+ _this.dir.next(dir);
1653
+ _this.setBodyDir(dir);
1654
+ });
1655
+ };
1656
+ DocumentDirHandlerService.prototype.setBodyDir = function (dir) {
1657
+ document.body.dir = dir;
1658
+ document.dir = dir;
1659
+ };
1660
+ return DocumentDirHandlerService;
1661
+ }());
1662
+ DocumentDirHandlerService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DocumentDirHandlerService, deps: [{ token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
1663
+ DocumentDirHandlerService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DocumentDirHandlerService });
1664
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DocumentDirHandlerService, decorators: [{
1665
+ type: i0.Injectable
1666
+ }], ctorParameters: function () { return [{ type: i0__namespace.Injector }]; } });
1667
+
1633
1668
  function httpErrorConfigFactory(config) {
1634
1669
  if (config === void 0) { config = {}; }
1635
1670
  if (config.errorScreen && config.errorScreen.component && !config.errorScreen.forWhichErrors) {
@@ -1688,6 +1723,7 @@
1688
1723
  function ErrorHandler(injector) {
1689
1724
  var _this = this;
1690
1725
  this.injector = injector;
1726
+ this.componentRef = null;
1691
1727
  this.httpErrorHandler = this.injector.get(HTTP_ERROR_HANDLER, function (_, err) { return rxjs.throwError(err); });
1692
1728
  this.executeErrorHandler = function (error) {
1693
1729
  var returnValue = _this.httpErrorHandler(_this.injector, error);
@@ -1696,15 +1732,17 @@
1696
1732
  return rxjs.of(null);
1697
1733
  }));
1698
1734
  };
1699
- this.filterRestErrors = function (_f) {
1700
- var status = _f.status;
1735
+ this.filterRestErrors = function (_g) {
1736
+ var status = _g.status;
1701
1737
  if (typeof status !== 'number')
1702
1738
  return false;
1703
- return _this.httpErrorConfig.skipHandledErrorCodes.findIndex(function (code) { return code === status; }) < 0;
1739
+ return (!!_this.httpErrorConfig.skipHandledErrorCodes &&
1740
+ _this.httpErrorConfig.skipHandledErrorCodes.findIndex(function (code) { return code === status; }) < 0);
1704
1741
  };
1705
1742
  this.filterRouteErrors = function (navigationError) {
1706
1743
  var _a, _b;
1707
1744
  return (((_b = (_a = navigationError.error) === null || _a === void 0 ? void 0 : _a.message) === null || _b === void 0 ? void 0 : _b.indexOf('Cannot match')) > -1 &&
1745
+ !!_this.httpErrorConfig.skipHandledErrorCodes &&
1708
1746
  _this.httpErrorConfig.skipHandledErrorCodes.findIndex(function (code) { return code === 404; }) < 0);
1709
1747
  };
1710
1748
  this.httpErrorReporter = injector.get(i2.HttpErrorReporterService);
@@ -1730,7 +1768,8 @@
1730
1768
  .getEvents(i1$1.ResolveEnd)
1731
1769
  .pipe(operators.filter(function () { return !!_this.componentRef; }))
1732
1770
  .subscribe(function () {
1733
- _this.componentRef.destroy();
1771
+ var _a;
1772
+ (_a = _this.componentRef) === null || _a === void 0 ? void 0 : _a.destroy();
1734
1773
  _this.componentRef = null;
1735
1774
  });
1736
1775
  };
@@ -1747,7 +1786,7 @@
1747
1786
  defaultValue: DEFAULT_ERROR_MESSAGES.defaultError.title,
1748
1787
  };
1749
1788
  if (err instanceof http.HttpErrorResponse && err.headers.get('_AbpErrorFormat')) {
1750
- var confirmation$ = this.showError(null, null, body);
1789
+ var confirmation$ = this.showErrorWithRequestBody(body);
1751
1790
  if (err.status === 401) {
1752
1791
  confirmation$.subscribe(function () {
1753
1792
  _this.navigateToLogin();
@@ -1846,26 +1885,30 @@
1846
1885
  status: 404,
1847
1886
  });
1848
1887
  };
1849
- ErrorHandler.prototype.showError = function (message, title, body) {
1850
- if (body) {
1851
- if (body.details) {
1852
- message = body.details;
1853
- title = body.message;
1854
- }
1855
- else if (body.message) {
1856
- title = {
1857
- key: DEFAULT_ERROR_LOCALIZATIONS.defaultError.title,
1858
- defaultValue: DEFAULT_ERROR_MESSAGES.defaultError.title,
1859
- };
1860
- message = body.message;
1861
- }
1862
- else {
1863
- message = body.message || {
1864
- key: DEFAULT_ERROR_LOCALIZATIONS.defaultError.title,
1865
- defaultValue: DEFAULT_ERROR_MESSAGES.defaultError.title,
1866
- };
1867
- }
1888
+ ErrorHandler.prototype.showErrorWithRequestBody = function (body) {
1889
+ var message;
1890
+ var title;
1891
+ if (body.details) {
1892
+ message = body.details;
1893
+ title = body.message;
1894
+ }
1895
+ else if (body.message) {
1896
+ title = {
1897
+ key: DEFAULT_ERROR_LOCALIZATIONS.defaultError.title,
1898
+ defaultValue: DEFAULT_ERROR_MESSAGES.defaultError.title,
1899
+ };
1900
+ message = body.message;
1901
+ }
1902
+ else {
1903
+ message = body.message || {
1904
+ key: DEFAULT_ERROR_LOCALIZATIONS.defaultError.title,
1905
+ defaultValue: DEFAULT_ERROR_MESSAGES.defaultError.title,
1906
+ };
1907
+ title = '';
1868
1908
  }
1909
+ return this.showError(message, title);
1910
+ };
1911
+ ErrorHandler.prototype.showError = function (message, title) {
1869
1912
  return this.confirmationService.error(message, title, {
1870
1913
  hideCancelBtn: true,
1871
1914
  yesText: 'AbpAccount::Close',
@@ -1876,6 +1919,7 @@
1876
1919
  };
1877
1920
  ErrorHandler.prototype.createErrorComponent = function (instance) {
1878
1921
  var _this = this;
1922
+ var _a, _b;
1879
1923
  var renderer = this.rendererFactory.createRenderer(null, null);
1880
1924
  var host = renderer.selectRootElement(document.body, true);
1881
1925
  this.componentRef = this.cfRes
@@ -1887,129 +1931,39 @@
1887
1931
  this.componentRef.instance[key] = instance[key];
1888
1932
  }
1889
1933
  }
1890
- this.componentRef.instance.hideCloseIcon = this.httpErrorConfig.errorScreen.hideCloseIcon;
1934
+ this.componentRef.instance.hideCloseIcon = !!((_a = this.httpErrorConfig.errorScreen) === null || _a === void 0 ? void 0 : _a.hideCloseIcon);
1891
1935
  var appRef = this.injector.get(i0.ApplicationRef);
1892
1936
  if (this.canCreateCustomError(instance.status)) {
1893
1937
  this.componentRef.instance.cfRes = this.cfRes;
1894
1938
  this.componentRef.instance.appRef = appRef;
1895
1939
  this.componentRef.instance.injector = this.injector;
1896
- this.componentRef.instance.customComponent = this.httpErrorConfig.errorScreen.component;
1940
+ this.componentRef.instance.customComponent = (_b = this.httpErrorConfig.errorScreen) === null || _b === void 0 ? void 0 : _b.component;
1897
1941
  }
1898
1942
  appRef.attachView(this.componentRef.hostView);
1899
1943
  renderer.appendChild(host, this.componentRef.hostView.rootNodes[0]);
1900
1944
  var destroy$ = new rxjs.Subject();
1901
1945
  this.componentRef.instance.destroy$ = destroy$;
1902
1946
  destroy$.subscribe(function () {
1903
- _this.componentRef.destroy();
1947
+ var _a;
1948
+ (_a = _this.componentRef) === null || _a === void 0 ? void 0 : _a.destroy();
1904
1949
  _this.componentRef = null;
1905
1950
  });
1906
1951
  };
1907
1952
  ErrorHandler.prototype.canCreateCustomError = function (status) {
1908
- var _a, _b, _c, _d, _e;
1909
- return (((_b = (_a = this.httpErrorConfig) === null || _a === void 0 ? void 0 : _a.errorScreen) === null || _b === void 0 ? void 0 : _b.component) &&
1910
- ((_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);
1953
+ var _a, _b, _c, _d, _e, _f;
1954
+ return !!(((_b = (_a = this.httpErrorConfig) === null || _a === void 0 ? void 0 : _a.errorScreen) === null || _b === void 0 ? void 0 : _b.component) &&
1955
+ ((_d = (_c = this.httpErrorConfig) === null || _c === void 0 ? void 0 : _c.errorScreen) === null || _d === void 0 ? void 0 : _d.forWhichErrors) &&
1956
+ ((_f = (_e = this.httpErrorConfig) === null || _e === void 0 ? void 0 : _e.errorScreen) === null || _f === void 0 ? void 0 : _f.forWhichErrors.indexOf(status)) > -1);
1911
1957
  };
1912
1958
  return ErrorHandler;
1913
1959
  }());
1914
- ErrorHandler.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ErrorHandler, deps: [{ token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
1915
- ErrorHandler.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ErrorHandler, providedIn: 'root' });
1916
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ErrorHandler, decorators: [{
1960
+ ErrorHandler.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ErrorHandler, deps: [{ token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
1961
+ ErrorHandler.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ErrorHandler, providedIn: 'root' });
1962
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ErrorHandler, decorators: [{
1917
1963
  type: i0.Injectable,
1918
1964
  args: [{ providedIn: 'root' }]
1919
1965
  }], ctorParameters: function () { return [{ type: i0__namespace.Injector }]; } });
1920
1966
 
1921
- var LAZY_STYLES = new i0.InjectionToken('LAZY_STYLES');
1922
-
1923
- var LazyStyleHandler = /** @class */ (function () {
1924
- function LazyStyleHandler(injector) {
1925
- this._dir = 'ltr';
1926
- this.loaded = new Map();
1927
- this.setStyles(injector);
1928
- this.setLazyLoad(injector);
1929
- this.listenToLanguageChanges(injector);
1930
- }
1931
- Object.defineProperty(LazyStyleHandler.prototype, "dir", {
1932
- get: function () {
1933
- return this._dir;
1934
- },
1935
- set: function (dir) {
1936
- if (dir === this._dir)
1937
- return;
1938
- this.switchCSS(dir);
1939
- this.setBodyDir(dir);
1940
- this._dir = dir;
1941
- },
1942
- enumerable: false,
1943
- configurable: true
1944
- });
1945
- LazyStyleHandler.prototype.getHrefFromLink = function (link) {
1946
- if (!link)
1947
- return '';
1948
- var a = document.createElement('a');
1949
- a.href = link.href;
1950
- return a.pathname.replace(/^\//, '');
1951
- };
1952
- LazyStyleHandler.prototype.getLoadedBootstrap = function () {
1953
- var href = createLazyStyleHref(BOOTSTRAP, this.dir);
1954
- var selector = "[href*=\"" + href.replace(/\.css$/, '') + "\"]";
1955
- var link = document.querySelector(selector);
1956
- return { href: href, link: link };
1957
- };
1958
- LazyStyleHandler.prototype.listenToLanguageChanges = function (injector) {
1959
- var _this = this;
1960
- var l10n = injector.get(i2.LocalizationService);
1961
- // will always listen, no need to unsubscribe
1962
- l10n.languageChange$.pipe(operators.startWith(l10n.currentLang)).subscribe(function (locale) {
1963
- _this.dir = i2.getLocaleDirection(locale);
1964
- });
1965
- };
1966
- LazyStyleHandler.prototype.setBodyDir = function (dir) {
1967
- document.body.dir = dir;
1968
- };
1969
- LazyStyleHandler.prototype.setLazyLoad = function (injector) {
1970
- this.lazyLoad = injector.get(i2.LazyLoadService);
1971
- var _a = this.getLoadedBootstrap(), href = _a.href, link = _a.link;
1972
- this.lazyLoad.loaded.set(href, link);
1973
- };
1974
- LazyStyleHandler.prototype.setStyles = function (injector) {
1975
- this.styles = injector.get(LAZY_STYLES, [BOOTSTRAP]);
1976
- };
1977
- LazyStyleHandler.prototype.switchCSS = function (dir) {
1978
- var _this = this;
1979
- this.styles.forEach(function (style) {
1980
- var oldHref = createLazyStyleHref(style, _this.dir);
1981
- var newHref = createLazyStyleHref(style, dir);
1982
- var link = _this.loaded.get(newHref);
1983
- var href = _this.getHrefFromLink(link) || newHref;
1984
- var strategy = i2.LOADING_STRATEGY.PrependAnonymousStyleToHead(href);
1985
- _this.lazyLoad.load(strategy).subscribe(function () {
1986
- var oldLink = _this.lazyLoad.loaded.get(oldHref);
1987
- _this.loaded.delete(newHref);
1988
- _this.loaded.set(oldHref, oldLink);
1989
- var newLink = _this.lazyLoad.loaded.get(href);
1990
- _this.lazyLoad.loaded.delete(href);
1991
- _this.lazyLoad.loaded.set(newHref, newLink);
1992
- _this.lazyLoad.remove(oldHref);
1993
- });
1994
- });
1995
- };
1996
- return LazyStyleHandler;
1997
- }());
1998
- LazyStyleHandler.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: LazyStyleHandler, deps: [{ token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
1999
- LazyStyleHandler.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: LazyStyleHandler, providedIn: 'root' });
2000
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: LazyStyleHandler, decorators: [{
2001
- type: i0.Injectable,
2002
- args: [{
2003
- providedIn: 'root',
2004
- }]
2005
- }], ctorParameters: function () { return [{ type: i0__namespace.Injector }]; } });
2006
- function createLazyStyleHref(style, dir) {
2007
- return style.replace(/{{\s*dir\s*}}/g, dir);
2008
- }
2009
- function initLazyStyleHandler(injector) {
2010
- return function () { return new LazyStyleHandler(injector); };
2011
- }
2012
-
2013
1967
  var NavItem = /** @class */ (function () {
2014
1968
  function NavItem(props) {
2015
1969
  props = Object.assign(Object.assign({}, props), { visible: props.visible || (function () { return true; }) });
@@ -2091,9 +2045,9 @@
2091
2045
  };
2092
2046
  return NavItemsService;
2093
2047
  }());
2094
- NavItemsService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: NavItemsService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
2095
- NavItemsService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: NavItemsService, providedIn: 'root' });
2096
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: NavItemsService, decorators: [{
2048
+ NavItemsService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: NavItemsService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
2049
+ NavItemsService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: NavItemsService, providedIn: 'root' });
2050
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: NavItemsService, decorators: [{
2097
2051
  type: i0.Injectable,
2098
2052
  args: [{ providedIn: 'root' }]
2099
2053
  }] });
@@ -2122,9 +2076,9 @@
2122
2076
  };
2123
2077
  return PageAlertService;
2124
2078
  }());
2125
- PageAlertService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: PageAlertService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
2126
- PageAlertService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: PageAlertService, providedIn: 'root' });
2127
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: PageAlertService, decorators: [{
2079
+ PageAlertService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: PageAlertService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
2080
+ PageAlertService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: PageAlertService, providedIn: 'root' });
2081
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: PageAlertService, decorators: [{
2128
2082
  type: i0.Injectable,
2129
2083
  args: [{ providedIn: 'root' }]
2130
2084
  }], ctorParameters: function () { return []; } });
@@ -2196,7 +2150,7 @@
2196
2150
  * @param options Spesific style or structural options for individual toast
2197
2151
  */
2198
2152
  ToasterService.prototype.show = function (message, title, severity, options) {
2199
- if (title === void 0) { title = null; }
2153
+ if (title === void 0) { title = undefined; }
2200
2154
  if (severity === void 0) { severity = 'neutral'; }
2201
2155
  if (options === void 0) { options = {}; }
2202
2156
  if (!this.containerComponentRef)
@@ -2222,15 +2176,17 @@
2222
2176
  };
2223
2177
  return ToasterService;
2224
2178
  }());
2225
- ToasterService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ToasterService, deps: [{ token: i2__namespace.ContentProjectionService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
2226
- ToasterService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ToasterService, providedIn: 'root' });
2227
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ToasterService, decorators: [{
2179
+ ToasterService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ToasterService, deps: [{ token: i2__namespace.ContentProjectionService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
2180
+ ToasterService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ToasterService, providedIn: 'root' });
2181
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ToasterService, decorators: [{
2228
2182
  type: i0.Injectable,
2229
2183
  args: [{
2230
2184
  providedIn: 'root',
2231
2185
  }]
2232
2186
  }], ctorParameters: function () { return [{ type: i2__namespace.ContentProjectionService }]; } });
2233
2187
 
2188
+ var styles = "\n.is-invalid .form-control {\n border-color: #dc3545;\n border-style: solid !important;\n padding-right: calc(1.5em + .75rem);\n background-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e);\n background-repeat: no-repeat;\n background-position: right calc(.375em + .1875rem) center;\n background-size: calc(.75em + .375rem) calc(.75em + .375rem);\n}\n\n.is-invalid .invalid-feedback,\n.is-invalid + * .invalid-feedback {\n display: block;\n}\n\n.data-tables-filter {\n text-align: right;\n}\n\n[dir=rtl] .data-tables-filter {\n text-align: left;\n}\n\n.pointer {\n cursor: pointer;\n}\n\n.navbar .dropdown-submenu a::after {\n transform: rotate(-90deg);\n position: absolute;\n right: 16px;\n top: 18px;\n}\n\n.navbar .dropdown-menu {\n min-width: 215px;\n}\n\n.datatable-scroll {\n margin-bottom: 5px !important;\n width: unset !important;\n}\n\n.ui-table-scrollable-body::-webkit-scrollbar {\n height: 5px !important;\n width: 5px !important;\n}\n\n.ui-table-scrollable-body::-webkit-scrollbar-track {\n background: #ddd;\n}\n\n.ui-table-scrollable-body::-webkit-scrollbar-thumb {\n background: #8a8686;\n}\n\n.abp-ellipsis-inline {\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.abp-ellipsis {\n overflow: hidden !important;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.ui-widget-overlay {\n z-index: 1000;\n}\n\n.color-white {\n color: #FFF !important;\n}\n\n.custom-checkbox > label {\n cursor: pointer;\n}\n\n/* <animations */\n\n.fade-in-top {\n animation: fadeInTop 0.2s ease-in-out;\n}\n\n.fade-out-top {\n animation: fadeOutTop 0.2s ease-in-out;\n}\n\n.abp-collapsed-height {\n -moz-transition: max-height linear 0.35s;\n -ms-transition: max-height linear 0.35s;\n -o-transition: max-height linear 0.35s;\n -webkit-transition: max-height linear 0.35s;\n overflow:hidden;\n transition:max-height 0.35s linear;\n height:auto;\n max-height: 0;\n}\n\n.abp-mh-25 {\n max-height: 25vh;\n}\n\n.abp-mh-50 {\n transition:max-height 0.65s linear;\n max-height: 50vh;\n}\n\n.abp-mh-75 {\n transition:max-height 0.85s linear;\n max-height: 75vh;\n}\n\n.abp-mh-100 {\n transition:max-height 1s linear;\n max-height: 100vh;\n}\n\n[class^=\"sorting\"] {\n opacity: .3;\n cursor: pointer;\n}\n[class^=\"sorting\"]:before {\n right: 0.5rem;\n content: \"\u2191\";\n}\n[class^=\"sorting\"]:after {\n right: 0.5rem;\n content: \"\u2193\";\n}\n\n.sorting_desc {\n opacity: 1;\n}\n.sorting_desc:before {\n opacity: .3;\n}\n\n.sorting_asc {\n opacity: 1;\n}\n.sorting_asc:after {\n opacity: .3;\n}\n.ngx-datatable.material {\n box-shadow: none;\n}\nngb-typeahead-window, ngb-typeahead-window.dropdown-menu {\n max-height: 25em;\n overflow-y: scroll !important;\n z-index: 1050;\n}\n\n@keyframes fadeInTop {\n from {\n transform: translateY(-5px);\n opacity: 0;\n }\n\n to {\n transform: translateY(0px);\n opacity: 1;\n }\n}\n\n@keyframes fadeOutTop {\n to {\n transform: translateY(-5px);\n opacity: 0;\n }\n}\n\n/* </animations */\n.ngb-dp-body {\n z-index: 1055 !important;\n}\n";
2189
+
2234
2190
  var THEME_SHARED_APPEND_CONTENT = new i0.InjectionToken('THEME_SHARED_APPEND_CONTENT', {
2235
2191
  providedIn: 'root',
2236
2192
  factory: function () {
@@ -2256,11 +2212,12 @@
2256
2212
  DateParserFormatter.prototype.parse = function (value) {
2257
2213
  if (value) {
2258
2214
  var dateParts = value.trim().split('-');
2215
+ // TODO: CHANGED
2259
2216
  if (dateParts.length === 1 && isNumber(dateParts[0])) {
2260
- return { year: toInteger(dateParts[0]), month: null, day: null };
2217
+ return { year: toInteger(dateParts[0]), month: -1, day: -1 };
2261
2218
  }
2262
2219
  else if (dateParts.length === 2 && isNumber(dateParts[0]) && isNumber(dateParts[1])) {
2263
- return { year: toInteger(dateParts[0]), month: toInteger(dateParts[1]), day: null };
2220
+ return { year: toInteger(dateParts[0]), month: toInteger(dateParts[1]), day: -1 };
2264
2221
  }
2265
2222
  else if (dateParts.length === 3 &&
2266
2223
  isNumber(dateParts[0]) &&
@@ -2285,9 +2242,9 @@
2285
2242
  };
2286
2243
  return DateParserFormatter;
2287
2244
  }(i3.NgbDateParserFormatter));
2288
- DateParserFormatter.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: DateParserFormatter, deps: [{ token: i2__namespace.ConfigStateService }, { token: i0.LOCALE_ID }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
2289
- DateParserFormatter.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: DateParserFormatter });
2290
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: DateParserFormatter, decorators: [{
2245
+ DateParserFormatter.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DateParserFormatter, deps: [{ token: i2__namespace.ConfigStateService }, { token: i0.LOCALE_ID }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
2246
+ DateParserFormatter.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DateParserFormatter });
2247
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DateParserFormatter, decorators: [{
2291
2248
  type: i0.Injectable
2292
2249
  }], ctorParameters: function () {
2293
2250
  return [{ type: i2__namespace.ConfigStateService }, { type: undefined, decorators: [{
@@ -2316,8 +2273,8 @@
2316
2273
  }
2317
2274
  return BaseThemeSharedModule;
2318
2275
  }());
2319
- BaseThemeSharedModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: BaseThemeSharedModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
2320
- BaseThemeSharedModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: BaseThemeSharedModule, declarations: [BreadcrumbComponent,
2276
+ BaseThemeSharedModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: BaseThemeSharedModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
2277
+ BaseThemeSharedModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: BaseThemeSharedModule, declarations: [BreadcrumbComponent,
2321
2278
  BreadcrumbItemsComponent,
2322
2279
  ButtonComponent,
2323
2280
  ConfirmationComponent,
@@ -2346,14 +2303,14 @@
2346
2303
  NgxDatatableListDirective,
2347
2304
  LoadingDirective,
2348
2305
  ModalCloseDirective] });
2349
- BaseThemeSharedModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: BaseThemeSharedModule, providers: [i1.DatePipe], imports: [[
2306
+ BaseThemeSharedModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: BaseThemeSharedModule, providers: [i1.DatePipe], imports: [[
2350
2307
  i2.CoreModule,
2351
2308
  i1$2.NgxDatatableModule,
2352
2309
  core.NgxValidateCoreModule,
2353
2310
  i3.NgbPaginationModule,
2354
2311
  EllipsisModule,
2355
2312
  ], i1$2.NgxDatatableModule, EllipsisModule] });
2356
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: BaseThemeSharedModule, decorators: [{
2313
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: BaseThemeSharedModule, decorators: [{
2357
2314
  type: i0.NgModule,
2358
2315
  args: [{
2359
2316
  imports: [
@@ -2395,12 +2352,6 @@
2395
2352
  deps: [THEME_SHARED_APPEND_CONTENT],
2396
2353
  useFactory: i2.noop,
2397
2354
  },
2398
- {
2399
- provide: i0.APP_INITIALIZER,
2400
- multi: true,
2401
- deps: [i0.Injector],
2402
- useFactory: initLazyStyleHandler,
2403
- },
2404
2355
  { provide: HTTP_ERROR_CONFIG, useValue: httpErrorConfig },
2405
2356
  {
2406
2357
  provide: 'HTTP_ERROR_CONFIG',
@@ -2421,15 +2372,22 @@
2421
2372
  provide: core.VALIDATION_VALIDATE_ON_SUBMIT,
2422
2373
  useValue: validation.validateOnSubmit,
2423
2374
  },
2375
+ DocumentDirHandlerService,
2376
+ {
2377
+ provide: i0.APP_INITIALIZER,
2378
+ useFactory: i2.noop,
2379
+ multi: true,
2380
+ deps: [DocumentDirHandlerService],
2381
+ },
2424
2382
  ],
2425
2383
  };
2426
2384
  };
2427
2385
  return ThemeSharedModule;
2428
2386
  }());
2429
- ThemeSharedModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ThemeSharedModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
2430
- ThemeSharedModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ThemeSharedModule, imports: [BaseThemeSharedModule], exports: [BaseThemeSharedModule] });
2431
- ThemeSharedModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ThemeSharedModule, imports: [[BaseThemeSharedModule], BaseThemeSharedModule] });
2432
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: ThemeSharedModule, decorators: [{
2387
+ ThemeSharedModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ThemeSharedModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
2388
+ ThemeSharedModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ThemeSharedModule, imports: [BaseThemeSharedModule], exports: [BaseThemeSharedModule] });
2389
+ ThemeSharedModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ThemeSharedModule, imports: [[BaseThemeSharedModule], BaseThemeSharedModule] });
2390
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ThemeSharedModule, decorators: [{
2433
2391
  type: i0.NgModule,
2434
2392
  args: [{
2435
2393
  imports: [BaseThemeSharedModule],
@@ -2475,7 +2433,6 @@
2475
2433
  * Generated bundle index. Do not edit.
2476
2434
  */
2477
2435
 
2478
- exports.BOOTSTRAP = BOOTSTRAP;
2479
2436
  exports.BaseThemeSharedModule = BaseThemeSharedModule;
2480
2437
  exports.BreadcrumbComponent = BreadcrumbComponent;
2481
2438
  exports.BreadcrumbItemsComponent = BreadcrumbItemsComponent;
@@ -2486,14 +2443,13 @@
2486
2443
  exports.DEFAULT_ERROR_MESSAGES = DEFAULT_ERROR_MESSAGES;
2487
2444
  exports.DEFAULT_VALIDATION_BLUEPRINTS = DEFAULT_VALIDATION_BLUEPRINTS;
2488
2445
  exports.DateParserFormatter = DateParserFormatter;
2446
+ exports.DocumentDirHandlerService = DocumentDirHandlerService;
2489
2447
  exports.EllipsisDirective = EllipsisDirective;
2490
2448
  exports.EllipsisModule = EllipsisModule;
2491
2449
  exports.ErrorHandler = ErrorHandler;
2492
2450
  exports.HTTP_ERROR_CONFIG = HTTP_ERROR_CONFIG;
2493
2451
  exports.HTTP_ERROR_HANDLER = HTTP_ERROR_HANDLER;
2494
2452
  exports.HttpErrorWrapperComponent = HttpErrorWrapperComponent;
2495
- exports.LAZY_STYLES = LAZY_STYLES;
2496
- exports.LazyStyleHandler = LazyStyleHandler;
2497
2453
  exports.LoaderBarComponent = LoaderBarComponent;
2498
2454
  exports.LoadingComponent = LoadingComponent;
2499
2455
  exports.LoadingDirective = LoadingDirective;
@@ -2523,7 +2479,6 @@
2523
2479
  exports.collapseYWithMargin = collapseYWithMargin;
2524
2480
  exports.configureNgBootstrap = configureNgBootstrap;
2525
2481
  exports.configureRoutes = configureRoutes;
2526
- exports.createLazyStyleHref = createLazyStyleHref;
2527
2482
  exports.defaultNgxDatatableMessages = defaultNgxDatatableMessages;
2528
2483
  exports.dialogAnimation = dialogAnimation;
2529
2484
  exports.expandX = expandX;
@@ -2542,11 +2497,10 @@
2542
2497
  exports.fadeOutUp = fadeOutUp;
2543
2498
  exports.getPasswordValidators = getPasswordValidators;
2544
2499
  exports.httpErrorConfigFactory = httpErrorConfigFactory;
2545
- exports.initLazyStyleHandler = initLazyStyleHandler;
2546
2500
  exports.slideFromBottom = slideFromBottom;
2547
2501
  exports.toastInOut = toastInOut;
2548
2502
 
2549
2503
  Object.defineProperty(exports, '__esModule', { value: true });
2550
2504
 
2551
- })));
2505
+ }));
2552
2506
  //# sourceMappingURL=abp-ng.theme.shared.umd.js.map