@delon/theme 12.4.2 → 13.1.0

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 (219) hide show
  1. package/compact.css +1278 -750
  2. package/compact.min.css +1 -1
  3. package/dark.css +1325 -797
  4. package/dark.min.css +1 -1
  5. package/default.css +1286 -758
  6. package/default.min.css +1 -1
  7. package/{esm2015/layout-blank/layout-blank.js → esm2020/layout-blank/layout-blank.mjs} +0 -0
  8. package/{esm2015/layout-blank/public_api.js → esm2020/layout-blank/public_api.mjs} +0 -0
  9. package/{esm2015/layout-default/layout-default.js → esm2020/layout-default/layout-default.mjs} +0 -0
  10. package/esm2020/layout-default/layout-header-item-trigger.directive.mjs +16 -0
  11. package/esm2020/layout-default/layout-header-item.component.mjs +33 -0
  12. package/esm2020/layout-default/layout-header.component.mjs +123 -0
  13. package/esm2020/layout-default/layout-nav.component.mjs +307 -0
  14. package/esm2020/layout-default/layout.component.mjs +132 -0
  15. package/esm2020/layout-default/layout.module.mjs +69 -0
  16. package/{esm2015/layout-default/public_api.js → esm2020/layout-default/public_api.mjs} +0 -0
  17. package/{esm2015/layout-default/types.js → esm2020/layout-default/types.mjs} +0 -0
  18. package/esm2020/public_api.mjs +25 -0
  19. package/{esm2015/setting-drawer/public_api.js → esm2020/setting-drawer/public_api.mjs} +0 -0
  20. package/esm2020/setting-drawer/setting-drawer-item.component.mjs +35 -0
  21. package/esm2020/setting-drawer/setting-drawer.component.mjs +192 -0
  22. package/{esm2015/setting-drawer/setting-drawer.js → esm2020/setting-drawer/setting-drawer.mjs} +0 -0
  23. package/esm2020/setting-drawer/setting-drawer.module.mjs +68 -0
  24. package/{esm2015/setting-drawer/setting-drawer.types.js → esm2020/setting-drawer/setting-drawer.types.mjs} +0 -0
  25. package/{esm2015/src/config.js → esm2020/src/config.mjs} +0 -0
  26. package/{esm2015/src/locale/index.js → esm2020/src/locale/index.mjs} +0 -0
  27. package/{esm2015/src/locale/languages/el-GR.js → esm2020/src/locale/languages/el-GR.mjs} +0 -0
  28. package/{esm2015/src/locale/languages/en-US.js → esm2020/src/locale/languages/en-US.mjs} +0 -0
  29. package/{esm2015/src/locale/languages/es-ES.js → esm2020/src/locale/languages/es-ES.mjs} +0 -0
  30. package/{esm2015/src/locale/languages/fr-FR.js → esm2020/src/locale/languages/fr-FR.mjs} +0 -0
  31. package/{esm2015/src/locale/languages/hr-HR.js → esm2020/src/locale/languages/hr-HR.mjs} +0 -0
  32. package/{esm2015/src/locale/languages/it-IT.js → esm2020/src/locale/languages/it-IT.mjs} +0 -0
  33. package/{esm2015/src/locale/languages/ja-JP.js → esm2020/src/locale/languages/ja-JP.mjs} +0 -0
  34. package/{esm2015/src/locale/languages/ko-KR.js → esm2020/src/locale/languages/ko-KR.mjs} +0 -0
  35. package/{esm2015/src/locale/languages/pl-PL.js → esm2020/src/locale/languages/pl-PL.mjs} +0 -0
  36. package/{esm2015/src/locale/languages/sl-SI.js → esm2020/src/locale/languages/sl-SI.mjs} +0 -0
  37. package/{esm2015/src/locale/languages/tr-TR.js → esm2020/src/locale/languages/tr-TR.mjs} +0 -0
  38. package/{esm2015/src/locale/languages/zh-CN.js → esm2020/src/locale/languages/zh-CN.mjs} +0 -0
  39. package/{esm2015/src/locale/languages/zh-TW.js → esm2020/src/locale/languages/zh-TW.mjs} +0 -0
  40. package/esm2020/src/locale/locale.module.mjs +17 -0
  41. package/esm2020/src/locale/locale.service.mjs +45 -0
  42. package/{esm2015/src/locale/locale.tokens.js → esm2020/src/locale/locale.tokens.mjs} +0 -0
  43. package/{esm2015/src/locale/locale.types.js → esm2020/src/locale/locale.types.mjs} +0 -0
  44. package/{esm2015/src/locale/public_api.js → esm2020/src/locale/public_api.mjs} +0 -0
  45. package/esm2020/src/pipes/date/date.pipe.mjs +24 -0
  46. package/esm2020/src/pipes/keys/keys.pipe.mjs +21 -0
  47. package/esm2020/src/pipes/safe/html.pipe.mjs +18 -0
  48. package/esm2020/src/pipes/safe/url.pipe.mjs +18 -0
  49. package/esm2020/src/pipes/yn/yn.pipe.mjs +38 -0
  50. package/esm2020/src/router/optional-preloader.mjs +22 -0
  51. package/esm2020/src/services/drawer/drawer.helper.mjs +91 -0
  52. package/esm2020/src/services/http/http.client.mjs +154 -0
  53. package/esm2020/src/services/http/http.decorator.mjs +215 -0
  54. package/esm2020/src/services/i18n/i18n.mjs +97 -0
  55. package/esm2020/src/services/i18n/i18n.pipe.mjs +21 -0
  56. package/{esm2015/src/services/menu/interface.js → esm2020/src/services/menu/interface.mjs} +0 -0
  57. package/esm2020/src/services/menu/menu.service.mjs +252 -0
  58. package/esm2020/src/services/modal/modal.helper.mjs +106 -0
  59. package/{esm2015/src/services/preloader/preloader.js → esm2020/src/services/preloader/preloader.mjs} +0 -0
  60. package/esm2020/src/services/responsive/responsive.mjs +46 -0
  61. package/esm2020/src/services/rtl/rtl.service.mjs +101 -0
  62. package/esm2020/src/services/settings/settings.service.mjs +100 -0
  63. package/{esm2015/src/services/settings/types.js → esm2020/src/services/settings/types.mjs} +0 -0
  64. package/esm2020/src/services/title/title.service.mjs +124 -0
  65. package/esm2020/src/theme.module.mjs +76 -0
  66. package/{esm2015/src/version.js → esm2020/src/version.mjs} +1 -1
  67. package/{esm2015/theme-btn/public_api.js → esm2020/theme-btn/public_api.mjs} +0 -0
  68. package/esm2020/theme-btn/theme-btn.component.mjs +106 -0
  69. package/esm2020/theme-btn/theme-btn.mjs +5 -0
  70. package/esm2020/theme-btn/theme-btn.module.mjs +32 -0
  71. package/esm2020/theme.mjs +5 -0
  72. package/fesm2015/{layout-blank.js → layout-blank.mjs} +1 -1
  73. package/fesm2015/layout-blank.mjs.map +1 -0
  74. package/fesm2015/layout-default.mjs +654 -0
  75. package/fesm2015/layout-default.mjs.map +1 -0
  76. package/fesm2015/setting-drawer.mjs +487 -0
  77. package/fesm2015/setting-drawer.mjs.map +1 -0
  78. package/fesm2015/theme-btn.mjs +144 -0
  79. package/fesm2015/theme-btn.mjs.map +1 -0
  80. package/fesm2015/{theme.js → theme.mjs} +226 -188
  81. package/fesm2015/theme.mjs.map +1 -0
  82. package/fesm2020/layout-blank.mjs +7 -0
  83. package/fesm2020/layout-blank.mjs.map +1 -0
  84. package/fesm2020/layout-default.mjs +654 -0
  85. package/fesm2020/layout-default.mjs.map +1 -0
  86. package/fesm2020/setting-drawer.mjs +482 -0
  87. package/fesm2020/setting-drawer.mjs.map +1 -0
  88. package/fesm2020/theme-btn.mjs +141 -0
  89. package/fesm2020/theme-btn.mjs.map +1 -0
  90. package/fesm2020/theme.mjs +2575 -0
  91. package/fesm2020/theme.mjs.map +1 -0
  92. package/layout-blank/layout-blank.d.ts +1 -0
  93. package/layout-blank/package.json +5 -6
  94. package/layout-default/layout-default.d.ts +1 -0
  95. package/layout-default/layout-header-item-trigger.directive.d.ts +3 -0
  96. package/layout-default/layout-header-item.component.d.ts +3 -0
  97. package/layout-default/layout-header.component.d.ts +8 -5
  98. package/layout-default/layout-nav.component.d.ts +4 -1
  99. package/layout-default/layout.component.d.ts +6 -3
  100. package/layout-default/layout.module.d.ts +17 -0
  101. package/layout-default/package.json +5 -6
  102. package/layout-default/style/_aside.less +7 -10
  103. package/layout-default/style/_fixed.less +2 -0
  104. package/layout-default/style/_header.less +21 -0
  105. package/layout-default/style/_layout.less +7 -0
  106. package/layout-default/style/_progress-bar.less +6 -0
  107. package/layout-default/style/fix/_full-content.less +4 -0
  108. package/layout-default/style/widgets/_app-icons.less +3 -0
  109. package/layout-default/style/widgets/_user.less +5 -0
  110. package/package.json +55 -11
  111. package/public_api.d.ts +1 -0
  112. package/setting-drawer/package.json +5 -6
  113. package/setting-drawer/setting-drawer-item.component.d.ts +3 -0
  114. package/setting-drawer/setting-drawer.component.d.ts +3 -0
  115. package/setting-drawer/setting-drawer.d.ts +1 -0
  116. package/setting-drawer/setting-drawer.module.d.ts +18 -0
  117. package/setting-drawer/style/index.less +9 -0
  118. package/setting-drawer/style/rtl.less +1 -0
  119. package/src/locale/locale.module.d.ts +4 -0
  120. package/src/locale/locale.service.d.ts +3 -0
  121. package/src/pipes/date/date.pipe.d.ts +3 -0
  122. package/src/pipes/keys/keys.pipe.d.ts +3 -0
  123. package/src/pipes/safe/html.pipe.d.ts +3 -0
  124. package/src/pipes/safe/url.pipe.d.ts +3 -0
  125. package/src/pipes/yn/style/index.less +3 -0
  126. package/src/pipes/yn/yn.pipe.d.ts +3 -0
  127. package/src/services/drawer/drawer.helper.d.ts +3 -0
  128. package/src/services/http/http.client.d.ts +3 -0
  129. package/src/services/http/http.decorator.d.ts +3 -0
  130. package/src/services/i18n/i18n.d.ts +5 -0
  131. package/src/services/i18n/i18n.pipe.d.ts +3 -0
  132. package/src/services/menu/menu.service.d.ts +5 -0
  133. package/src/services/modal/modal.helper.d.ts +3 -0
  134. package/src/services/responsive/responsive.d.ts +3 -0
  135. package/src/services/rtl/rtl.service.d.ts +3 -0
  136. package/src/services/settings/settings.service.d.ts +9 -0
  137. package/src/services/title/title.service.d.ts +3 -0
  138. package/src/theme.module.d.ts +15 -0
  139. package/system/_preloader.less +10 -0
  140. package/system/_type.less +5 -0
  141. package/system/antd/_modal.less +5 -0
  142. package/system/antd/_table.less +7 -0
  143. package/system/index.less +3 -3
  144. package/system/mixins/_freak.less +2 -2
  145. package/system/mixins/_text-truncate.less +2 -0
  146. package/system/ng/_form.less +1 -0
  147. package/system/theme-default.less +3 -1
  148. package/system/utils/_display.less +9 -0
  149. package/system/utils/_other.less +2 -0
  150. package/system/utils/_scrollbar.less +3 -0
  151. package/system/widgets/_abs.less +3 -0
  152. package/system/widgets/_half-float.less +2 -0
  153. package/system/widgets/_masonry-grid.less +2 -0
  154. package/theme-btn/package.json +6 -7
  155. package/theme-btn/style/index.less +1 -0
  156. package/theme-btn/theme-btn.component.d.ts +3 -0
  157. package/theme-btn/{layout-theme-btn.d.ts → theme-btn.d.ts} +1 -0
  158. package/theme-btn/theme-btn.module.d.ts +8 -0
  159. package/theme-compact.less +1 -1
  160. package/theme-dark.less +1 -1
  161. package/theme-default.less +1 -1
  162. package/theme.d.ts +1 -1
  163. package/bundles/layout-blank.umd.js +0 -19
  164. package/bundles/layout-blank.umd.js.map +0 -1
  165. package/bundles/layout-default.umd.js +0 -876
  166. package/bundles/layout-default.umd.js.map +0 -1
  167. package/bundles/layout-theme-btn.umd.js +0 -141
  168. package/bundles/layout-theme-btn.umd.js.map +0 -1
  169. package/bundles/setting-drawer.umd.js +0 -789
  170. package/bundles/setting-drawer.umd.js.map +0 -1
  171. package/bundles/theme.umd.js +0 -3075
  172. package/bundles/theme.umd.js.map +0 -1
  173. package/esm2015/layout-default/layout-header-item-trigger.directive.js +0 -12
  174. package/esm2015/layout-default/layout-header-item.component.js +0 -23
  175. package/esm2015/layout-default/layout-header.component.js +0 -94
  176. package/esm2015/layout-default/layout-nav.component.js +0 -306
  177. package/esm2015/layout-default/layout.component.js +0 -102
  178. package/esm2015/layout-default/layout.module.js +0 -40
  179. package/esm2015/public_api.js +0 -24
  180. package/esm2015/setting-drawer/setting-drawer-item.component.js +0 -30
  181. package/esm2015/setting-drawer/setting-drawer.component.js +0 -185
  182. package/esm2015/setting-drawer/setting-drawer.module.js +0 -39
  183. package/esm2015/src/locale/locale.module.js +0 -14
  184. package/esm2015/src/locale/locale.service.js +0 -42
  185. package/esm2015/src/pipes/date/date.pipe.js +0 -23
  186. package/esm2015/src/pipes/keys/keys.pipe.js +0 -17
  187. package/esm2015/src/pipes/safe/html.pipe.js +0 -17
  188. package/esm2015/src/pipes/safe/url.pipe.js +0 -17
  189. package/esm2015/src/pipes/yn/yn.pipe.js +0 -37
  190. package/esm2015/src/router/optional-preloader.js +0 -23
  191. package/esm2015/src/services/drawer/drawer.helper.js +0 -90
  192. package/esm2015/src/services/http/http.client.js +0 -138
  193. package/esm2015/src/services/http/http.decorator.js +0 -207
  194. package/esm2015/src/services/i18n/i18n.js +0 -96
  195. package/esm2015/src/services/i18n/i18n.pipe.js +0 -17
  196. package/esm2015/src/services/menu/menu.service.js +0 -252
  197. package/esm2015/src/services/modal/modal.helper.js +0 -105
  198. package/esm2015/src/services/responsive/responsive.js +0 -48
  199. package/esm2015/src/services/rtl/rtl.service.js +0 -110
  200. package/esm2015/src/services/settings/settings.service.js +0 -82
  201. package/esm2015/src/services/title/title.service.js +0 -125
  202. package/esm2015/src/theme.module.js +0 -67
  203. package/esm2015/theme-btn/layout-theme-btn.js +0 -5
  204. package/esm2015/theme-btn/theme-btn.component.js +0 -103
  205. package/esm2015/theme-btn/theme-btn.module.js +0 -22
  206. package/esm2015/theme.js +0 -6
  207. package/fesm2015/layout-blank.js.map +0 -1
  208. package/fesm2015/layout-default.js +0 -561
  209. package/fesm2015/layout-default.js.map +0 -1
  210. package/fesm2015/layout-theme-btn.js +0 -129
  211. package/fesm2015/layout-theme-btn.js.map +0 -1
  212. package/fesm2015/setting-drawer.js +0 -448
  213. package/fesm2015/setting-drawer.js.map +0 -1
  214. package/fesm2015/theme.js.map +0 -1
  215. package/layout-blank/layout-blank.metadata.json +0 -1
  216. package/layout-default/layout-default.metadata.json +0 -1
  217. package/setting-drawer/setting-drawer.metadata.json +0 -1
  218. package/theme-btn/layout-theme-btn.metadata.json +0 -1
  219. package/theme.metadata.json +0 -1
@@ -1,35 +1,29 @@
1
1
  import * as i0 from '@angular/core';
2
- import { InjectionToken, inject, Injectable, Optional, Inject, Injector, SkipSelf, NgModule, Pipe, Version } from '@angular/core';
2
+ import { InjectionToken, inject, Injectable, Optional, Inject, Pipe, SkipSelf, NgModule, Injector, Version } from '@angular/core';
3
3
  import { BehaviorSubject, Subject, Observable, of, throwError } from 'rxjs';
4
4
  import { filter, share, map, delay, tap, switchMap, finalize, catchError } from 'rxjs/operators';
5
- import * as i2 from '@delon/acl';
6
- import { ACLService } from '@delon/acl';
7
5
  import * as i1 from '@delon/util/config';
8
6
  import { AlainConfigService } from '@delon/util/config';
9
- import * as i1$1 from '@angular/cdk/platform';
10
- import { Platform } from '@angular/cdk/platform';
11
- import * as i1$2 from '@angular/cdk/bidi';
12
- import { Directionality } from '@angular/cdk/bidi';
13
- import * as i6 from '@angular/common';
7
+ import * as i1$1 from '@delon/acl';
8
+ import { ACLService } from '@delon/acl';
9
+ import * as i1$2 from '@angular/cdk/platform';
14
10
  import { DOCUMENT, CommonModule } from '@angular/common';
11
+ import * as i1$3 from '@angular/cdk/bidi';
15
12
  import * as i3 from 'ng-zorro-antd/core/config';
16
- import { NzConfigService } from 'ng-zorro-antd/core/config';
17
- import * as i1$3 from '@angular/platform-browser';
18
- import { Title, DomSanitizer } from '@angular/platform-browser';
19
13
  import { ActivatedRoute, Router, RouterModule } from '@angular/router';
14
+ import * as i1$4 from '@angular/platform-browser';
20
15
  import { deepMerge } from '@delon/util/other';
21
- import * as i1$4 from 'ng-zorro-antd/modal';
22
- import { NzModalService } from 'ng-zorro-antd/modal';
23
- import * as i1$5 from 'ng-zorro-antd/drawer';
24
- import { NzDrawerService } from 'ng-zorro-antd/drawer';
25
- import * as i1$6 from '@angular/common/http';
26
- import { HttpParams, HttpClient } from '@angular/common/http';
16
+ import * as i1$5 from 'ng-zorro-antd/modal';
17
+ import * as i1$6 from 'ng-zorro-antd/drawer';
18
+ import * as i1$7 from '@angular/common/http';
19
+ import { HttpParams } from '@angular/common/http';
27
20
  import { formatDistanceToNow, format } from 'date-fns';
28
21
  import { toDate } from '@delon/util/date-time';
29
- import { NzI18nService, NzI18nModule } from 'ng-zorro-antd/i18n';
22
+ import * as i1$8 from 'ng-zorro-antd/i18n';
23
+ import { NzI18nModule } from 'ng-zorro-antd/i18n';
30
24
  import { OverlayModule } from '@angular/cdk/overlay';
31
25
  import { BellOutline, DeleteOutline, PlusOutline, InboxOutline } from '@ant-design/icons-angular/icons';
32
- import { NzIconService } from 'ng-zorro-antd/icon';
26
+ import * as i1$9 from 'ng-zorro-antd/icon';
33
27
 
34
28
  function preloaderFinished() {
35
29
  const body = document.querySelector('body');
@@ -121,12 +115,11 @@ class AlainI18nBaseService {
121
115
  return content;
122
116
  }
123
117
  }
124
- AlainI18nBaseService.decorators = [
125
- { type: Injectable }
126
- ];
127
- AlainI18nBaseService.ctorParameters = () => [
128
- { type: AlainConfigService }
129
- ];
118
+ AlainI18nBaseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: AlainI18nBaseService, deps: [{ token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
119
+ AlainI18nBaseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: AlainI18nBaseService });
120
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: AlainI18nBaseService, decorators: [{
121
+ type: Injectable
122
+ }], ctorParameters: function () { return [{ type: i1.AlainConfigService }]; } });
130
123
  class AlainI18NServiceFake extends AlainI18nBaseService {
131
124
  use(lang, data) {
132
125
  this._data = this.flatData(data, []);
@@ -137,10 +130,12 @@ class AlainI18NServiceFake extends AlainI18nBaseService {
137
130
  return [];
138
131
  }
139
132
  }
140
- AlainI18NServiceFake.ɵprov = i0.ɵɵdefineInjectable({ factory: function AlainI18NServiceFake_Factory() { return new AlainI18NServiceFake(i0.ɵɵinject(i1.AlainConfigService)); }, token: AlainI18NServiceFake, providedIn: "root" });
141
- AlainI18NServiceFake.decorators = [
142
- { type: Injectable, args: [{ providedIn: 'root' },] }
143
- ];
133
+ AlainI18NServiceFake.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: AlainI18NServiceFake, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
134
+ AlainI18NServiceFake.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: AlainI18NServiceFake, providedIn: 'root' });
135
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: AlainI18NServiceFake, decorators: [{
136
+ type: Injectable,
137
+ args: [{ providedIn: 'root' }]
138
+ }] });
144
139
 
145
140
  /**
146
141
  * 菜单服务,[在线文档](https://ng-alain.com/theme/menu)
@@ -219,9 +214,6 @@ class MenuService {
219
214
  // acl
220
215
  item._aclResult = item.acl && this.aclService ? this.aclService.can(item.acl) : true;
221
216
  }
222
- /**
223
- * 重置菜单,可能I18N、用户权限变动时需要调用刷新
224
- */
225
217
  resume(callback) {
226
218
  let i = 1;
227
219
  const shortcuts = [];
@@ -377,14 +369,21 @@ class MenuService {
377
369
  this.i18n$.unsubscribe();
378
370
  }
379
371
  }
380
- MenuService.ɵprov = i0.ɵɵdefineInjectable({ factory: function MenuService_Factory() { return new MenuService(i0.ɵɵinject(ALAIN_I18N_TOKEN, 8), i0.ɵɵinject(i2.ACLService, 8)); }, token: MenuService, providedIn: "root" });
381
- MenuService.decorators = [
382
- { type: Injectable, args: [{ providedIn: 'root' },] }
383
- ];
384
- MenuService.ctorParameters = () => [
385
- { type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [ALAIN_I18N_TOKEN,] }] },
386
- { type: ACLService, decorators: [{ type: Optional }] }
387
- ];
372
+ MenuService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: MenuService, deps: [{ token: ALAIN_I18N_TOKEN, optional: true }, { token: i1$1.ACLService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
373
+ MenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: MenuService, providedIn: 'root' });
374
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: MenuService, decorators: [{
375
+ type: Injectable,
376
+ args: [{ providedIn: 'root' }]
377
+ }], ctorParameters: function () {
378
+ return [{ type: undefined, decorators: [{
379
+ type: Optional
380
+ }, {
381
+ type: Inject,
382
+ args: [ALAIN_I18N_TOKEN]
383
+ }] }, { type: i1$1.ACLService, decorators: [{
384
+ type: Optional
385
+ }] }];
386
+ } });
388
387
 
389
388
  const ALAIN_SETTING_KEYS = new InjectionToken('ALAIN_SETTING_KEYS');
390
389
  class SettingsService {
@@ -443,25 +442,37 @@ class SettingsService {
443
442
  this.notify$.next({ type: 'layout', name, value });
444
443
  return true;
445
444
  }
445
+ getLayout() {
446
+ return this._layout;
447
+ }
446
448
  setApp(value) {
447
449
  this._app = value;
448
450
  this.setData(this.KEYS.app, value);
449
451
  this.notify$.next({ type: 'app', value });
450
452
  }
453
+ getApp() {
454
+ return this._app;
455
+ }
451
456
  setUser(value) {
452
457
  this._user = value;
453
458
  this.setData(this.KEYS.user, value);
454
459
  this.notify$.next({ type: 'user', value });
455
460
  }
461
+ getUser() {
462
+ return this._user;
463
+ }
456
464
  }
457
- SettingsService.ɵprov = i0.ɵɵdefineInjectable({ factory: function SettingsService_Factory() { return new SettingsService(i0.ɵɵinject(i1$1.Platform), i0.ɵɵinject(ALAIN_SETTING_KEYS)); }, token: SettingsService, providedIn: "root" });
458
- SettingsService.decorators = [
459
- { type: Injectable, args: [{ providedIn: 'root' },] }
460
- ];
461
- SettingsService.ctorParameters = () => [
462
- { type: Platform },
463
- { type: undefined, decorators: [{ type: Inject, args: [ALAIN_SETTING_KEYS,] }] }
464
- ];
465
+ SettingsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: SettingsService, deps: [{ token: i1$2.Platform }, { token: ALAIN_SETTING_KEYS }], target: i0.ɵɵFactoryTarget.Injectable });
466
+ SettingsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: SettingsService, providedIn: 'root' });
467
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: SettingsService, decorators: [{
468
+ type: Injectable,
469
+ args: [{ providedIn: 'root' }]
470
+ }], ctorParameters: function () {
471
+ return [{ type: i1$2.Platform }, { type: undefined, decorators: [{
472
+ type: Inject,
473
+ args: [ALAIN_SETTING_KEYS]
474
+ }] }];
475
+ } });
465
476
 
466
477
  const REP_MAX = 6;
467
478
  class ResponsiveService {
@@ -499,13 +510,12 @@ class ResponsiveService {
499
510
  return clsMap;
500
511
  }
501
512
  }
502
- ResponsiveService.ɵprov = i0.ɵɵdefineInjectable({ factory: function ResponsiveService_Factory() { return new ResponsiveService(i0.ɵɵinject(i1.AlainConfigService)); }, token: ResponsiveService, providedIn: "root" });
503
- ResponsiveService.decorators = [
504
- { type: Injectable, args: [{ providedIn: 'root' },] }
505
- ];
506
- ResponsiveService.ctorParameters = () => [
507
- { type: AlainConfigService }
508
- ];
513
+ ResponsiveService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: ResponsiveService, deps: [{ token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
514
+ ResponsiveService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: ResponsiveService, providedIn: 'root' });
515
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: ResponsiveService, decorators: [{
516
+ type: Injectable,
517
+ args: [{ providedIn: 'root' }]
518
+ }], ctorParameters: function () { return [{ type: i1.AlainConfigService }]; } });
509
519
 
510
520
  const HTML_DIR = 'dir';
511
521
  const RTL_DIRECTION = 'direction';
@@ -589,18 +599,17 @@ class RTLService {
589
599
  });
590
600
  }
591
601
  }
592
- RTLService.ɵprov = i0.ɵɵdefineInjectable({ factory: function RTLService_Factory() { return new RTLService(i0.ɵɵinject(i1$2.Directionality), i0.ɵɵinject(SettingsService), i0.ɵɵinject(i3.NzConfigService), i0.ɵɵinject(i1.AlainConfigService), i0.ɵɵinject(i1$1.Platform), i0.ɵɵinject(i6.DOCUMENT)); }, token: RTLService, providedIn: "root" });
593
- RTLService.decorators = [
594
- { type: Injectable, args: [{ providedIn: 'root' },] }
595
- ];
596
- RTLService.ctorParameters = () => [
597
- { type: Directionality },
598
- { type: SettingsService },
599
- { type: NzConfigService },
600
- { type: AlainConfigService },
601
- { type: Platform },
602
- { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }
603
- ];
602
+ RTLService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: RTLService, deps: [{ token: i1$3.Directionality }, { token: SettingsService }, { token: i3.NzConfigService }, { token: i1.AlainConfigService }, { token: i1$2.Platform }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
603
+ RTLService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: RTLService, providedIn: 'root' });
604
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: RTLService, decorators: [{
605
+ type: Injectable,
606
+ args: [{ providedIn: 'root' }]
607
+ }], ctorParameters: function () {
608
+ return [{ type: i1$3.Directionality }, { type: SettingsService }, { type: i3.NzConfigService }, { type: i1.AlainConfigService }, { type: i1$2.Platform }, { type: undefined, decorators: [{
609
+ type: Inject,
610
+ args: [DOCUMENT]
611
+ }] }];
612
+ } });
604
613
 
605
614
  class TitleService {
606
615
  constructor(injector, title, menuSrv, i18nSrv, doc) {
@@ -703,17 +712,42 @@ class TitleService {
703
712
  this.i18n$.unsubscribe();
704
713
  }
705
714
  }
706
- TitleService.ɵprov = i0.ɵɵdefineInjectable({ factory: function TitleService_Factory() { return new TitleService(i0.ɵɵinject(i0.INJECTOR), i0.ɵɵinject(i1$3.Title), i0.ɵɵinject(MenuService), i0.ɵɵinject(ALAIN_I18N_TOKEN, 8), i0.ɵɵinject(i6.DOCUMENT)); }, token: TitleService, providedIn: "root" });
707
- TitleService.decorators = [
708
- { type: Injectable, args: [{ providedIn: 'root' },] }
709
- ];
710
- TitleService.ctorParameters = () => [
711
- { type: Injector },
712
- { type: Title },
713
- { type: MenuService },
714
- { type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [ALAIN_I18N_TOKEN,] }] },
715
- { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }
716
- ];
715
+ TitleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: TitleService, deps: [{ token: i0.Injector }, { token: i1$4.Title }, { token: MenuService }, { token: ALAIN_I18N_TOKEN, optional: true }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
716
+ TitleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: TitleService, providedIn: 'root' });
717
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: TitleService, decorators: [{
718
+ type: Injectable,
719
+ args: [{ providedIn: 'root' }]
720
+ }], ctorParameters: function () {
721
+ return [{ type: i0.Injector }, { type: i1$4.Title }, { type: MenuService }, { type: undefined, decorators: [{
722
+ type: Optional
723
+ }, {
724
+ type: Inject,
725
+ args: [ALAIN_I18N_TOKEN]
726
+ }] }, { type: undefined, decorators: [{
727
+ type: Inject,
728
+ args: [DOCUMENT]
729
+ }] }];
730
+ } });
731
+
732
+ class I18nPipe {
733
+ constructor(i18n) {
734
+ this.i18n = i18n;
735
+ }
736
+ transform(key, params) {
737
+ return this.i18n.fanyi(key, params);
738
+ }
739
+ }
740
+ I18nPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: I18nPipe, deps: [{ token: ALAIN_I18N_TOKEN }], target: i0.ɵɵFactoryTarget.Pipe });
741
+ I18nPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: I18nPipe, name: "i18n" });
742
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: I18nPipe, decorators: [{
743
+ type: Pipe,
744
+ args: [{ name: 'i18n' }]
745
+ }], ctorParameters: function () {
746
+ return [{ type: undefined, decorators: [{
747
+ type: Inject,
748
+ args: [ALAIN_I18N_TOKEN]
749
+ }] }];
750
+ } });
717
751
 
718
752
  const DELON_LOCALE = new InjectionToken('delon-locale');
719
753
 
@@ -823,12 +857,16 @@ class DelonLocaleService {
823
857
  return (this._locale[path] || {});
824
858
  }
825
859
  }
826
- DelonLocaleService.decorators = [
827
- { type: Injectable }
828
- ];
829
- DelonLocaleService.ctorParameters = () => [
830
- { type: undefined, decorators: [{ type: Inject, args: [DELON_LOCALE,] }] }
831
- ];
860
+ DelonLocaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: DelonLocaleService, deps: [{ token: DELON_LOCALE }], target: i0.ɵɵFactoryTarget.Injectable });
861
+ DelonLocaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: DelonLocaleService });
862
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: DelonLocaleService, decorators: [{
863
+ type: Injectable
864
+ }], ctorParameters: function () {
865
+ return [{ type: undefined, decorators: [{
866
+ type: Inject,
867
+ args: [DELON_LOCALE]
868
+ }] }];
869
+ } });
832
870
  function DELON_LOCALE_SERVICE_PROVIDER_FACTORY(exist, locale) {
833
871
  return exist || new DelonLocaleService(locale);
834
872
  }
@@ -838,14 +876,17 @@ const DELON_LOCALE_SERVICE_PROVIDER = {
838
876
  deps: [[new Optional(), new SkipSelf(), DelonLocaleService], DELON_LOCALE]
839
877
  };
840
878
 
841
- const ɵ0$1 = zhCN;
842
879
  class DelonLocaleModule {
843
880
  }
844
- DelonLocaleModule.decorators = [
845
- { type: NgModule, args: [{
846
- providers: [{ provide: DELON_LOCALE, useValue: ɵ0$1 }, DELON_LOCALE_SERVICE_PROVIDER]
847
- },] }
848
- ];
881
+ DelonLocaleModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: DelonLocaleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
882
+ DelonLocaleModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: DelonLocaleModule });
883
+ DelonLocaleModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: DelonLocaleModule, providers: [{ provide: DELON_LOCALE, useValue: zhCN }, DELON_LOCALE_SERVICE_PROVIDER] });
884
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: DelonLocaleModule, decorators: [{
885
+ type: NgModule,
886
+ args: [{
887
+ providers: [{ provide: DELON_LOCALE, useValue: zhCN }, DELON_LOCALE_SERVICE_PROVIDER]
888
+ }]
889
+ }] });
849
890
 
850
891
  var enUS = {
851
892
  abbr: 'en-US',
@@ -1897,13 +1938,12 @@ class ModalHelper {
1897
1938
  return this.create(comp, params, Object.assign(Object.assign({}, options), { modalOptions }));
1898
1939
  }
1899
1940
  }
1900
- ModalHelper.ɵprov = i0.ɵɵdefineInjectable({ factory: function ModalHelper_Factory() { return new ModalHelper(i0.ɵɵinject(i1$4.NzModalService)); }, token: ModalHelper, providedIn: "root" });
1901
- ModalHelper.decorators = [
1902
- { type: Injectable, args: [{ providedIn: 'root' },] }
1903
- ];
1904
- ModalHelper.ctorParameters = () => [
1905
- { type: NzModalService }
1906
- ];
1941
+ ModalHelper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: ModalHelper, deps: [{ token: i1$5.NzModalService }], target: i0.ɵɵFactoryTarget.Injectable });
1942
+ ModalHelper.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: ModalHelper, providedIn: 'root' });
1943
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: ModalHelper, decorators: [{
1944
+ type: Injectable,
1945
+ args: [{ providedIn: 'root' }]
1946
+ }], ctorParameters: function () { return [{ type: i1$5.NzModalService }]; } });
1907
1947
 
1908
1948
  /**
1909
1949
  * 抽屉辅助类
@@ -1981,13 +2021,12 @@ class DrawerHelper {
1981
2021
  return this.create(title, comp, params, Object.assign(Object.assign({}, options), { drawerOptions }));
1982
2022
  }
1983
2023
  }
1984
- DrawerHelper.ɵprov = i0.ɵɵdefineInjectable({ factory: function DrawerHelper_Factory() { return new DrawerHelper(i0.ɵɵinject(i1$5.NzDrawerService)); }, token: DrawerHelper, providedIn: "root" });
1985
- DrawerHelper.decorators = [
1986
- { type: Injectable, args: [{ providedIn: 'root' },] }
1987
- ];
1988
- DrawerHelper.ctorParameters = () => [
1989
- { type: NzDrawerService }
1990
- ];
2024
+ DrawerHelper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: DrawerHelper, deps: [{ token: i1$6.NzDrawerService }], target: i0.ɵɵFactoryTarget.Injectable });
2025
+ DrawerHelper.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: DrawerHelper, providedIn: 'root' });
2026
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: DrawerHelper, decorators: [{
2027
+ type: Injectable,
2028
+ args: [{ providedIn: 'root' }]
2029
+ }], ctorParameters: function () { return [{ type: i1$6.NzDrawerService }]; } });
1991
2030
 
1992
2031
  /* eslint-disable @typescript-eslint/no-explicit-any */
1993
2032
  /**
@@ -2110,14 +2149,12 @@ class _HttpClient {
2110
2149
  delay(0), tap(() => this.push()), switchMap(() => this.http.request(method, url, options)), finalize(() => this.pop()));
2111
2150
  }
2112
2151
  }
2113
- _HttpClient.ɵprov = i0.ɵɵdefineInjectable({ factory: function _HttpClient_Factory() { return new _HttpClient(i0.ɵɵinject(i1$6.HttpClient), i0.ɵɵinject(i1.AlainConfigService)); }, token: _HttpClient, providedIn: "root" });
2114
- _HttpClient.decorators = [
2115
- { type: Injectable, args: [{ providedIn: 'root' },] }
2116
- ];
2117
- _HttpClient.ctorParameters = () => [
2118
- { type: HttpClient },
2119
- { type: AlainConfigService }
2120
- ];
2152
+ _HttpClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: _HttpClient, deps: [{ token: i1$7.HttpClient }, { token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
2153
+ _HttpClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: _HttpClient, providedIn: 'root' });
2154
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: _HttpClient, decorators: [{
2155
+ type: Injectable,
2156
+ args: [{ providedIn: 'root' }]
2157
+ }], ctorParameters: function () { return [{ type: i1$7.HttpClient }, { type: i1.AlainConfigService }]; } });
2121
2158
 
2122
2159
  /**
2123
2160
  * Every http decorator must be based on `BaseAPI`, Like this:
@@ -2131,12 +2168,16 @@ class BaseApi {
2131
2168
  this.injector = injector;
2132
2169
  }
2133
2170
  }
2134
- BaseApi.decorators = [
2135
- { type: Injectable }
2136
- ];
2137
- BaseApi.ctorParameters = () => [
2138
- { type: Injector, decorators: [{ type: Inject, args: [Injector,] }] }
2139
- ];
2171
+ BaseApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: BaseApi, deps: [{ token: Injector }], target: i0.ɵɵFactoryTarget.Injectable });
2172
+ BaseApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: BaseApi });
2173
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: BaseApi, decorators: [{
2174
+ type: Injectable
2175
+ }], ctorParameters: function () {
2176
+ return [{ type: i0.Injector, decorators: [{
2177
+ type: Inject,
2178
+ args: [Injector]
2179
+ }] }];
2180
+ } });
2140
2181
  const paramKey = `__api_params`;
2141
2182
  function setParam(target, key = paramKey) {
2142
2183
  let params = target[key];
@@ -2234,19 +2275,19 @@ function makeMethod(method) {
2234
2275
  const baseData = setParam(this);
2235
2276
  const data = setParam(baseData, targetKey);
2236
2277
  let requestUrl = url || '';
2237
- requestUrl = [baseData.baseUrl || '', requestUrl.startsWith('/') ? requestUrl.substr(1) : requestUrl].join('/');
2278
+ requestUrl = [baseData.baseUrl || '', requestUrl.startsWith('/') ? requestUrl.substring(1) : requestUrl].join('/');
2238
2279
  // fix last split
2239
2280
  if (requestUrl.length > 1 && requestUrl.endsWith('/')) {
2240
- requestUrl = requestUrl.substr(0, requestUrl.length - 1);
2281
+ requestUrl = requestUrl.substring(0, requestUrl.length - 1);
2241
2282
  }
2242
2283
  if (options.acl) {
2243
2284
  const aclSrv = injector.get(ACLService, null);
2244
2285
  if (aclSrv && !aclSrv.can(options.acl)) {
2245
- return throwError({
2286
+ return throwError(() => ({
2246
2287
  url: requestUrl,
2247
2288
  status: 401,
2248
2289
  statusText: `From Http Decorator`
2249
- });
2290
+ }));
2250
2291
  }
2251
2292
  delete options.acl;
2252
2293
  }
@@ -2334,12 +2375,12 @@ class DatePipe {
2334
2375
  return formatString === 'fn' ? formatDistanceToNow(value, langOpt) : format(value, formatString, langOpt);
2335
2376
  }
2336
2377
  }
2337
- DatePipe.decorators = [
2338
- { type: Pipe, args: [{ name: '_date' },] }
2339
- ];
2340
- DatePipe.ctorParameters = () => [
2341
- { type: NzI18nService }
2342
- ];
2378
+ DatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: DatePipe, deps: [{ token: i1$8.NzI18nService }], target: i0.ɵɵFactoryTarget.Pipe });
2379
+ DatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: DatePipe, name: "_date" });
2380
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: DatePipe, decorators: [{
2381
+ type: Pipe,
2382
+ args: [{ name: '_date' }]
2383
+ }], ctorParameters: function () { return [{ type: i1$8.NzI18nService }]; } });
2343
2384
 
2344
2385
  /**
2345
2386
  * [Document](https://ng-alain.com/theme/keys)
@@ -2353,9 +2394,12 @@ class KeysPipe {
2353
2394
  return ret;
2354
2395
  }
2355
2396
  }
2356
- KeysPipe.decorators = [
2357
- { type: Pipe, args: [{ name: 'keys' },] }
2358
- ];
2397
+ KeysPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: KeysPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
2398
+ KeysPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: KeysPipe, name: "keys" });
2399
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: KeysPipe, decorators: [{
2400
+ type: Pipe,
2401
+ args: [{ name: 'keys' }]
2402
+ }] });
2359
2403
 
2360
2404
  const ICON_YES = `<svg viewBox="64 64 896 896" fill="currentColor" width="1em" height="1em" aria-hidden="true"><path d="M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 0 0-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"></path></svg>`;
2361
2405
  const ICON_NO = `<svg viewBox="64 64 896 896" fill="currentColor" width="1em" height="1em" aria-hidden="true"><path d="M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 0 0 203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"></path></svg>`;
@@ -2385,12 +2429,12 @@ class YNPipe {
2385
2429
  return isSafeHtml ? this.dom.bypassSecurityTrustHtml(html) : html;
2386
2430
  }
2387
2431
  }
2388
- YNPipe.decorators = [
2389
- { type: Pipe, args: [{ name: 'yn' },] }
2390
- ];
2391
- YNPipe.ctorParameters = () => [
2392
- { type: DomSanitizer }
2393
- ];
2432
+ YNPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: YNPipe, deps: [{ token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
2433
+ YNPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: YNPipe, name: "yn" });
2434
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: YNPipe, decorators: [{
2435
+ type: Pipe,
2436
+ args: [{ name: 'yn' }]
2437
+ }], ctorParameters: function () { return [{ type: i1$4.DomSanitizer }]; } });
2394
2438
 
2395
2439
  class HTMLPipe {
2396
2440
  constructor(dom) {
@@ -2400,12 +2444,12 @@ class HTMLPipe {
2400
2444
  return html ? this.dom.bypassSecurityTrustHtml(html) : '';
2401
2445
  }
2402
2446
  }
2403
- HTMLPipe.decorators = [
2404
- { type: Pipe, args: [{ name: 'html' },] }
2405
- ];
2406
- HTMLPipe.ctorParameters = () => [
2407
- { type: DomSanitizer }
2408
- ];
2447
+ HTMLPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: HTMLPipe, deps: [{ token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
2448
+ HTMLPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: HTMLPipe, name: "html" });
2449
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: HTMLPipe, decorators: [{
2450
+ type: Pipe,
2451
+ args: [{ name: 'html' }]
2452
+ }], ctorParameters: function () { return [{ type: i1$4.DomSanitizer }]; } });
2409
2453
 
2410
2454
  class URLPipe {
2411
2455
  constructor(dom) {
@@ -2415,38 +2459,18 @@ class URLPipe {
2415
2459
  return url ? this.dom.bypassSecurityTrustUrl(url) : '';
2416
2460
  }
2417
2461
  }
2418
- URLPipe.decorators = [
2419
- { type: Pipe, args: [{ name: 'url' },] }
2420
- ];
2421
- URLPipe.ctorParameters = () => [
2422
- { type: DomSanitizer }
2423
- ];
2424
-
2425
- class I18nPipe {
2426
- constructor(i18n) {
2427
- this.i18n = i18n;
2428
- }
2429
- transform(key, params) {
2430
- return this.i18n.fanyi(key, params);
2431
- }
2432
- }
2433
- I18nPipe.decorators = [
2434
- { type: Pipe, args: [{ name: 'i18n' },] }
2435
- ];
2436
- I18nPipe.ctorParameters = () => [
2437
- { type: undefined, decorators: [{ type: Inject, args: [ALAIN_I18N_TOKEN,] }] }
2438
- ];
2462
+ URLPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: URLPipe, deps: [{ token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
2463
+ URLPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: URLPipe, name: "url" });
2464
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: URLPipe, decorators: [{
2465
+ type: Pipe,
2466
+ args: [{ name: 'url' }]
2467
+ }], ctorParameters: function () { return [{ type: i1$4.DomSanitizer }]; } });
2439
2468
 
2440
2469
  /* eslint-disable import/order */
2441
2470
  // #region import
2442
2471
  const HELPERS = [ModalHelper, DrawerHelper];
2443
2472
  const PIPES = [DatePipe, KeysPipe, YNPipe, I18nPipe, HTMLPipe, URLPipe];
2444
2473
  const ICONS = [BellOutline, DeleteOutline, PlusOutline, InboxOutline];
2445
- const ɵ0 = {
2446
- layout: 'layout',
2447
- user: 'user',
2448
- app: 'app'
2449
- };
2450
2474
  // #endregion
2451
2475
  class AlainThemeModule {
2452
2476
  constructor(iconSrv) {
@@ -2465,22 +2489,36 @@ class AlainThemeModule {
2465
2489
  };
2466
2490
  }
2467
2491
  }
2468
- AlainThemeModule.decorators = [
2469
- { type: NgModule, args: [{
2470
- imports: [CommonModule, RouterModule, OverlayModule, NzI18nModule],
2471
- declarations: [...PIPES],
2472
- providers: [
2473
- {
2474
- provide: ALAIN_SETTING_KEYS,
2475
- useValue: ɵ0
2476
- }
2477
- ],
2478
- exports: [...PIPES, DelonLocaleModule]
2479
- },] }
2480
- ];
2481
- AlainThemeModule.ctorParameters = () => [
2482
- { type: NzIconService }
2483
- ];
2492
+ AlainThemeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: AlainThemeModule, deps: [{ token: i1$9.NzIconService }], target: i0.ɵɵFactoryTarget.NgModule });
2493
+ AlainThemeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: AlainThemeModule, declarations: [DatePipe, KeysPipe, YNPipe, I18nPipe, HTMLPipe, URLPipe], imports: [CommonModule, RouterModule, OverlayModule, NzI18nModule], exports: [DatePipe, KeysPipe, YNPipe, I18nPipe, HTMLPipe, URLPipe, DelonLocaleModule] });
2494
+ AlainThemeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: AlainThemeModule, providers: [
2495
+ {
2496
+ provide: ALAIN_SETTING_KEYS,
2497
+ useValue: {
2498
+ layout: 'layout',
2499
+ user: 'user',
2500
+ app: 'app'
2501
+ }
2502
+ }
2503
+ ], imports: [[CommonModule, RouterModule, OverlayModule, NzI18nModule], DelonLocaleModule] });
2504
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: AlainThemeModule, decorators: [{
2505
+ type: NgModule,
2506
+ args: [{
2507
+ imports: [CommonModule, RouterModule, OverlayModule, NzI18nModule],
2508
+ declarations: [...PIPES],
2509
+ providers: [
2510
+ {
2511
+ provide: ALAIN_SETTING_KEYS,
2512
+ useValue: {
2513
+ layout: 'layout',
2514
+ user: 'user',
2515
+ app: 'app'
2516
+ }
2517
+ }
2518
+ ],
2519
+ exports: [...PIPES, DelonLocaleModule]
2520
+ }]
2521
+ }], ctorParameters: function () { return [{ type: i1$9.NzIconService }]; } });
2484
2522
 
2485
2523
  /**
2486
2524
  * Optional pre-loading module, when it's necessary to load the resource at the first page load for some lazy routes, [example](https://github.com/ng-alain/ng-alain/blob/master/src/app/routes/routes-routing.module.ts).
@@ -2503,11 +2541,11 @@ class PreloadOptionalModules {
2503
2541
  }
2504
2542
  }
2505
2543
 
2506
- const VERSION = new Version('12.4.2');
2544
+ const VERSION = new Version('13.1.0');
2507
2545
 
2508
2546
  /**
2509
2547
  * Generated bundle index. Do not edit.
2510
2548
  */
2511
2549
 
2512
- export { ALAIN_I18N_TOKEN, ALAIN_SETTING_KEYS, AlainI18NServiceFake, AlainI18nBaseService, AlainThemeModule, BaseApi, BaseHeaders, BaseUrl, Body, DELETE, DELON_LOCALE, DELON_LOCALE_SERVICE_PROVIDER, DELON_LOCALE_SERVICE_PROVIDER_FACTORY, DatePipe, DelonLocaleModule, DelonLocaleService, DrawerHelper, FORM, GET, HEAD, HTMLPipe, HTML_DIR, Headers, JSONP, KeysPipe, LTR, MenuService, ModalHelper, OPTIONS, PATCH, POST, PUT, Path, Payload, PreloadOptionalModules, Query, REP_MAX, RTL, RTLService, RTL_DELON_COMPONENTS, RTL_DIRECTION, RTL_NZ_COMPONENTS, ResponsiveService, SettingsService, TitleService, URLPipe, VERSION, YNPipe, _HttpClient, elGR as el_GR, enUS as en_US, esES as es_ES, frFR as fr_FR, hrHR as hr_HR, itIT as it_IT, jaJP as ja_JP, koKR as ko_KR, plPL as pl_PL, preloaderFinished, slSI as sl_SI, trTR as tr_TR, zhCN as zh_CN, zhTW as zh_TW, I18nPipe as ɵa };
2513
- //# sourceMappingURL=theme.js.map
2550
+ export { ALAIN_I18N_TOKEN, ALAIN_SETTING_KEYS, AlainI18NServiceFake, AlainI18nBaseService, AlainThemeModule, BaseApi, BaseHeaders, BaseUrl, Body, DELETE, DELON_LOCALE, DELON_LOCALE_SERVICE_PROVIDER, DELON_LOCALE_SERVICE_PROVIDER_FACTORY, DatePipe, DelonLocaleModule, DelonLocaleService, DrawerHelper, FORM, GET, HEAD, HTMLPipe, HTML_DIR, Headers, I18nPipe, JSONP, KeysPipe, LTR, MenuService, ModalHelper, OPTIONS, PATCH, POST, PUT, Path, Payload, PreloadOptionalModules, Query, REP_MAX, RTL, RTLService, RTL_DELON_COMPONENTS, RTL_DIRECTION, RTL_NZ_COMPONENTS, ResponsiveService, SettingsService, TitleService, URLPipe, VERSION, YNPipe, _HttpClient, elGR as el_GR, enUS as en_US, esES as es_ES, frFR as fr_FR, hrHR as hr_HR, itIT as it_IT, jaJP as ja_JP, koKR as ko_KR, plPL as pl_PL, preloaderFinished, slSI as sl_SI, trTR as tr_TR, zhCN as zh_CN, zhTW as zh_TW };
2551
+ //# sourceMappingURL=theme.mjs.map