@yelon/util 16.0.2 → 16.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. package/config/auth/auth.type.d.ts +2 -2
  2. package/esm2022/analysis/global-event.subject.mjs +3 -3
  3. package/esm2022/array/array.service.mjs +3 -3
  4. package/esm2022/browser/cookie.service.mjs +3 -3
  5. package/esm2022/browser/scroll.service.mjs +3 -3
  6. package/esm2022/config/auth/auth.type.mjs +1 -1
  7. package/esm2022/config/config.service.mjs +3 -3
  8. package/esm2022/format/currency.service.mjs +3 -3
  9. package/esm2022/index.mjs +3 -1
  10. package/esm2022/mcache/index.mjs +2 -0
  11. package/esm2022/mcache/localStorageUtils.mjs +69 -0
  12. package/esm2022/mcache/mcache.mjs +5 -0
  13. package/esm2022/mtypes/authority.type.mjs +2 -0
  14. package/esm2022/mtypes/header-menu.type.mjs +2 -0
  15. package/esm2022/mtypes/index.mjs +10 -0
  16. package/esm2022/mtypes/menu.type.mjs +2 -0
  17. package/esm2022/mtypes/mtypes.mjs +5 -0
  18. package/esm2022/mtypes/nav.types.mjs +7 -0
  19. package/esm2022/mtypes/page.mjs +42 -0
  20. package/esm2022/mtypes/project-info.types.mjs +2 -0
  21. package/esm2022/mtypes/response.mjs +2 -0
  22. package/esm2022/mtypes/role.type.mjs +2 -0
  23. package/esm2022/mtypes/user.types.mjs +2 -0
  24. package/esm2022/other/lazy.service.mjs +3 -3
  25. package/esm2022/other/path-to-regexp.service.mjs +3 -3
  26. package/esm2022/pipes/currency/cny.pipe.mjs +3 -3
  27. package/esm2022/pipes/currency/mega.pipe.mjs +3 -3
  28. package/esm2022/pipes/currency/module.mjs +4 -4
  29. package/esm2022/pipes/currency/price.pipe.mjs +3 -3
  30. package/esm2022/pipes/filter/filter.pipe.mjs +3 -3
  31. package/esm2022/pipes/filter/module.mjs +4 -4
  32. package/esm2022/pipes/format/mask.pipe.mjs +3 -3
  33. package/esm2022/pipes/format/module.mjs +4 -4
  34. package/fesm2022/analysis.mjs +3 -3
  35. package/fesm2022/array.mjs +3 -3
  36. package/fesm2022/browser.mjs +6 -6
  37. package/fesm2022/config.mjs +3 -3
  38. package/fesm2022/format.mjs +3 -3
  39. package/fesm2022/mcache.mjs +75 -0
  40. package/fesm2022/mcache.mjs.map +1 -0
  41. package/fesm2022/mtypes.mjs +55 -0
  42. package/fesm2022/mtypes.mjs.map +1 -0
  43. package/fesm2022/other.mjs +6 -6
  44. package/fesm2022/pipe-currency.mjs +13 -13
  45. package/fesm2022/pipe-filter.mjs +7 -7
  46. package/fesm2022/pipe-format.mjs +7 -7
  47. package/fesm2022/yelon-util.mjs +2 -0
  48. package/fesm2022/yelon-util.mjs.map +1 -1
  49. package/index.d.ts +2 -0
  50. package/mcache/index.d.ts +1 -0
  51. package/mcache/localStorageUtils.d.ts +28 -0
  52. package/mtypes/authority.type.d.ts +3 -0
  53. package/mtypes/header-menu.type.d.ts +12 -0
  54. package/mtypes/index.d.ts +9 -0
  55. package/mtypes/menu.type.d.ts +40 -0
  56. package/mtypes/nav.types.d.ts +30 -0
  57. package/mtypes/page.d.ts +46 -0
  58. package/mtypes/project-info.types.d.ts +21 -0
  59. package/mtypes/response.d.ts +7 -0
  60. package/mtypes/role.type.d.ts +10 -0
  61. package/mtypes/user.types.d.ts +22 -0
  62. package/package.json +13 -1
@@ -18,9 +18,9 @@ export interface YunzaiAuthConfig {
18
18
  */
19
19
  token_send_key?: string;
20
20
  /**
21
- * 发送token模板(默认为:`'${token}'`),使用 `${token}` 表示token点位符(**注意:**请务必使用 \`\` 包裹),例如:
21
+ * 发送token模板(默认为:`'${access_token}'`),使用 `${access_token}` 表示token点位符(**注意:**请务必使用 \`\` 包裹),例如:
22
22
  *
23
- * - `Bearer ${token}`
23
+ * - `Bearer ${access_token}`
24
24
  */
25
25
  token_send_template?: string;
26
26
  /**
@@ -5,11 +5,11 @@ class GlobalEventSubjectService {
5
5
  constructor() {
6
6
  this.clickEvents = new Subject();
7
7
  }
8
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: GlobalEventSubjectService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
9
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: GlobalEventSubjectService, providedIn: 'root' }); }
8
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: GlobalEventSubjectService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
9
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: GlobalEventSubjectService, providedIn: 'root' }); }
10
10
  }
11
11
  export { GlobalEventSubjectService };
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: GlobalEventSubjectService, decorators: [{
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: GlobalEventSubjectService, decorators: [{
13
13
  type: Injectable,
14
14
  args: [{
15
15
  providedIn: 'root'
@@ -267,11 +267,11 @@ class ArrayService {
267
267
  }, new Map())
268
268
  .values());
269
269
  }
270
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: ArrayService, deps: [{ token: i1.YunzaiConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
271
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: ArrayService, providedIn: 'root' }); }
270
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: ArrayService, deps: [{ token: i1.YunzaiConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
271
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: ArrayService, providedIn: 'root' }); }
272
272
  }
273
273
  export { ArrayService };
274
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: ArrayService, decorators: [{
274
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: ArrayService, decorators: [{
275
275
  type: Injectable,
276
276
  args: [{ providedIn: 'root' }]
277
277
  }], ctorParameters: function () { return [{ type: i1.YunzaiConfigService }]; } });
@@ -90,11 +90,11 @@ class CookieService {
90
90
  removeAll() {
91
91
  this.doc.cookie = '';
92
92
  }
93
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: CookieService, deps: [{ token: DOCUMENT }, { token: i1.Platform }], target: i0.ɵɵFactoryTarget.Injectable }); }
94
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: CookieService, providedIn: 'root' }); }
93
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: CookieService, deps: [{ token: DOCUMENT }, { token: i1.Platform }], target: i0.ɵɵFactoryTarget.Injectable }); }
94
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: CookieService, providedIn: 'root' }); }
95
95
  }
96
96
  export { CookieService };
97
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: CookieService, decorators: [{
97
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: CookieService, decorators: [{
98
98
  type: Injectable,
99
99
  args: [{ providedIn: 'root' }]
100
100
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -75,11 +75,11 @@ class ScrollService {
75
75
  }
76
76
  this.scrollToElement(this._getDoc().body, topOffset);
77
77
  }
78
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: ScrollService, deps: [{ token: DOCUMENT }, { token: i1.Platform }], target: i0.ɵɵFactoryTarget.Injectable }); }
79
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: ScrollService, providedIn: 'root' }); }
78
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: ScrollService, deps: [{ token: DOCUMENT }, { token: i1.Platform }], target: i0.ɵɵFactoryTarget.Injectable }); }
79
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: ScrollService, providedIn: 'root' }); }
80
80
  }
81
81
  export { ScrollService };
82
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: ScrollService, decorators: [{
82
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: ScrollService, decorators: [{
83
83
  type: Injectable,
84
84
  args: [{ providedIn: 'root' }]
85
85
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -1,2 +1,2 @@
1
1
  export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aC50eXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvdXRpbC9jb25maWcvYXV0aC9hdXRoLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgWXVuemFpQXV0aENvbmZpZyB7XG4gIC8qKlxuICAgKiDlrZjlgqhLRVnlgLzvvIzpu5jorqTvvJpgX3Rva2VuYFxuICAgKi9cbiAgc3RvcmVfa2V5Pzogc3RyaW5nO1xuICAvKipcbiAgICog5peg5pWI5pe26Lez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mmBbL1xcL2xvZ2luLywgL2Fzc2V0c1xcLy8sIC9wYXNzcG9ydFxcLy9dYFxuICAgKi9cbiAgaWdub3Jlcz86IFJlZ0V4cFtdO1xuICAvKipcbiAgICog5YWB6K645Yy/5ZCN55m75b2VS0VZ77yM6Iul6K+35rGC5Y+C5pWw5Lit5bim5pyJ6K+lS0VZ6KGo56S65b+955WlVE9LRU7vvIzpu5jorqTvvJpgX2FsbG93X2Fub255bW91c2BcbiAgICovXG4gIGFsbG93X2Fub255bW91c19rZXk/OiBzdHJpbmc7XG4gIC8qKlxuICAgKiDmmK/lkKbmoKHpqozlpLHmlYjml7blkb3kuK3lkI7nu6fnu63osIPnlKjlkI7nu63mi6bmiKrlmajnmoQgYGludGVyY2VwdGAg5pa55rOV77yM6buY6K6k77yaYHRydWVgXG4gICAqL1xuICBleGVjdXRlT3RoZXJJbnRlcmNlcHRvcnM/OiBib29sZWFuO1xuICAvKipcbiAgICog5Yi35paw6Ze06ZqU5pe26ZW/77yI5Y2V5L2N77yabXPvvInvvIzpu5jorqTvvJpgMzAwMGBcbiAgICovXG4gIHJlZnJlc2hUaW1lPzogbnVtYmVyO1xuICAvKipcbiAgICog6L+H5pyf6K6h566X5YGP56e75YC877yI5Y2V5L2N77yabXPvvInvvIzpu5jorqTvvJpgNjAwMGBcbiAgICogLSAqKuW7uuiurioq5qC55o2uIGByZWZyZXNoVGltZWAg5YCN5pWw5p2l6K6+572uXG4gICAqL1xuICByZWZyZXNoT2Zmc2V0PzogbnVtYmVyO1xufVxuIl19
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aC50eXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvdXRpbC9jb25maWcvYXV0aC9hdXRoLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4c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fCAnYm9keScgfCAndXJsJztcbiAgLyoqXG4gICAqIOeZu+W9lemhtei3r+eUseWcsOWdgO+8jOm7mOiupO+8mmAvbG9naW5gXG4gICAqL1xuICBsb2dpbl91cmw/OiBzdHJpbmc7XG4gIC8qKlxuICAgKiDlv73nlaVUT0tFTueahFVSTOWcsOWdgOWIl+ihqO+8jOm7mOiupOWAvOS4uu+8mmBbL1xcL2xvZ2luLywgL2Fzc2V0c1xcLy8sIC9wYXNzcG9ydFxcLy9dYFxuICAgKi9cbiAgaWdub3Jlcz86IFJlZ0V4cFtdO1xuICAvKipcbiAgICog5YWB6K645Yy/5ZCN55m75b2VS0VZ77yM6Iul6K+35rGC5Y+C5pWw5Lit5bim5pyJ6K+lS0VZ6KGo56S65b+955WlVE9LRU7vvIzpu5jorqTvvJpgX2FsbG93X2Fub255bW91c2BcbiAgICovXG4gIGFsbG93X2Fub255bW91c19rZXk/OiBzdHJpbmc7XG4gIC8qKlxuICAgKiDmmK/lkKbmoKHpqozlpLHmlYjml7blkb3kuK3lkI7nu6fnu63osIPnlKjlkI7nu63mi6bmiKrlmajnmoQgYGludGVyY2VwdGAg5pa55rOV77yM6buY6K6k77yaYHRydWVgXG4gICAqL1xuICBleGVjdXRlT3RoZXJJbnRlcmNlcHRvcnM/OiBib29sZWFuO1xuICAvKipcbiAgICog5Yi35paw6Ze06ZqU5pe26ZW/77yI5Y2V5L2N77yabXPvvInvvIzpu5jorqTvvJpgMzAwMGBcbiAgICovXG4gIHJlZnJlc2hUaW1lPzogbnVtYmVyO1xuICAvKipcbiAgICog6L+H5pyf6K6h566X5YGP56e75YC877yI5Y2V5L2N77yabXPvvInvvIzpu5jorqTvvJpgNjAwMGBcbiAgICogLSAqKuW7uuiurioq5qC55o2uIGByZWZyZXNoVGltZWAg5YCN5pWw5p2l6K6+572uXG4gICAqL1xuICByZWZyZXNoT2Zmc2V0PzogbnVtYmVyO1xufVxuIl19
@@ -22,11 +22,11 @@ class YunzaiConfigService {
22
22
  set(componentName, value) {
23
23
  this.config[componentName] = { ...this.config[componentName], ...value };
24
24
  }
25
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: YunzaiConfigService, deps: [{ token: YUNZAI_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
26
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: YunzaiConfigService, providedIn: 'root' }); }
25
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: YunzaiConfigService, deps: [{ token: YUNZAI_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
26
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: YunzaiConfigService, providedIn: 'root' }); }
27
27
  }
28
28
  export { YunzaiConfigService };
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: YunzaiConfigService, decorators: [{
29
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: YunzaiConfigService, decorators: [{
30
30
  type: Injectable,
31
31
  args: [{ providedIn: 'root' }]
32
32
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -222,11 +222,11 @@ class CurrencyService {
222
222
  : integerRes + (decimalRes === '' ? '' : `点${decimalRes}`));
223
223
  return ret;
224
224
  }
225
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: CurrencyService, deps: [{ token: i1.YunzaiConfigService }, { token: LOCALE_ID }, { token: DEFAULT_CURRENCY_CODE }], target: i0.ɵɵFactoryTarget.Injectable }); }
226
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: CurrencyService, providedIn: 'root' }); }
225
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: CurrencyService, deps: [{ token: i1.YunzaiConfigService }, { token: LOCALE_ID }, { token: DEFAULT_CURRENCY_CODE }], target: i0.ɵɵFactoryTarget.Injectable }); }
226
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: CurrencyService, providedIn: 'root' }); }
227
227
  }
228
228
  export { CurrencyService };
229
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: CurrencyService, decorators: [{
229
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: CurrencyService, decorators: [{
230
230
  type: Injectable,
231
231
  args: [{ providedIn: 'root' }]
232
232
  }], ctorParameters: function () { return [{ type: i1.YunzaiConfigService }, { type: undefined, decorators: [{
package/esm2022/index.mjs CHANGED
@@ -10,4 +10,6 @@ export * from '@yelon/util/decorator';
10
10
  export * from '@yelon/util/other';
11
11
  export * from '@yelon/util/pipes';
12
12
  export * from '@yelon/util/token';
13
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wYWNrYWdlcy91dGlsL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsc0JBQXNCLENBQUM7QUFDckMsY0FBYyxtQkFBbUIsQ0FBQztBQUNsQyxjQUFjLHFCQUFxQixDQUFDO0FBQ3BDLGNBQWMsb0JBQW9CLENBQUM7QUFDbkMsY0FBYyx1QkFBdUIsQ0FBQztBQUN0QyxjQUFjLGtCQUFrQixDQUFDO0FBQ2pDLGNBQWMsb0JBQW9CLENBQUM7QUFDbkMsY0FBYyxrQkFBa0IsQ0FBQztBQUNqQyxjQUFjLHVCQUF1QixDQUFDO0FBQ3RDLGNBQWMsbUJBQW1CLENBQUM7QUFDbEMsY0FBYyxtQkFBbUIsQ0FBQztBQUNsQyxjQUFjLG1CQUFtQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnQHllbG9uL3V0aWwvYW5hbHlzaXMnO1xuZXhwb3J0ICogZnJvbSAnQHllbG9uL3V0aWwvYXJyYXknO1xuZXhwb3J0ICogZnJvbSAnQHllbG9uL3V0aWwvYnJvd3Nlcic7XG5leHBvcnQgKiBmcm9tICdAeWVsb24vdXRpbC9jb25maWcnO1xuZXhwb3J0ICogZnJvbSAnQHllbG9uL3V0aWwvZGF0ZS10aW1lJztcbmV4cG9ydCAqIGZyb20gJ0B5ZWxvbi91dGlsL2Zvcm0nO1xuZXhwb3J0ICogZnJvbSAnQHllbG9uL3V0aWwvZm9ybWF0JztcbmV4cG9ydCAqIGZyb20gJ0B5ZWxvbi91dGlsL21hdGgnO1xuZXhwb3J0ICogZnJvbSAnQHllbG9uL3V0aWwvZGVjb3JhdG9yJztcbmV4cG9ydCAqIGZyb20gJ0B5ZWxvbi91dGlsL290aGVyJztcbmV4cG9ydCAqIGZyb20gJ0B5ZWxvbi91dGlsL3BpcGVzJztcbmV4cG9ydCAqIGZyb20gJ0B5ZWxvbi91dGlsL3Rva2VuJztcbiJdfQ==
13
+ export * from '@yelon/util/mtypes';
14
+ export * from "@yelon/util/mcache";
15
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wYWNrYWdlcy91dGlsL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsc0JBQXNCLENBQUM7QUFDckMsY0FBYyxtQkFBbUIsQ0FBQztBQUNsQyxjQUFjLHFCQUFxQixDQUFDO0FBQ3BDLGNBQWMsb0JBQW9CL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orageUtils";
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy91dGlsL21jYWNoZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHFCQUFxQixDQUFBIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSBcIi4vbG9jYWxTdG9yYWdlVXRpbHNcIlxuIl19
@@ -0,0 +1,69 @@
1
+ export const YZ_USER_KEY = '_yz_user';
2
+ export const YZ_PROJECT_INFO_KEY = '_yz_project_info';
3
+ export const YZ_CURRENT_KEY = '_yz_current';
4
+ export const YZ_HEADER_KEY = '_yz_header';
5
+ export const YZ_HEADER_TYPE_KEY = '_yz_header_type';
6
+ export const YZ_DEFAULT_ROUTE_KEY = '_yz_default_route';
7
+ export const YZ_TENANT_KEY = '_yz_tenant';
8
+ export const YZ_LANGS_KEY = '_yz_langs';
9
+ export const YZ_LANG_KEY = '_yz_lang';
10
+ function get(key) {
11
+ if (key === YZ_HEADER_TYPE_KEY) {
12
+ return localStorage.getItem(key);
13
+ }
14
+ const item = localStorage.getItem(key);
15
+ return item ? JSON.parse(item) : null;
16
+ }
17
+ function set(key, data) {
18
+ if (key === YZ_HEADER_TYPE_KEY) {
19
+ localStorage.setItem(YZ_HEADER_TYPE_KEY, data);
20
+ return;
21
+ }
22
+ localStorage.setItem(key, JSON.stringify(data));
23
+ }
24
+ export function useLocalStorageUser() {
25
+ const setFn = (user) => set(YZ_USER_KEY, user);
26
+ const getFn = () => get(YZ_USER_KEY);
27
+ return [setFn, getFn];
28
+ }
29
+ export function useLocalStorageProjectInfo() {
30
+ const setFn = (data) => set(YZ_PROJECT_INFO_KEY, data);
31
+ const getFn = () => get(YZ_PROJECT_INFO_KEY);
32
+ return [setFn, getFn];
33
+ }
34
+ export function useLocalStorageCurrent() {
35
+ const setFn = (data) => set(YZ_CURRENT_KEY, data);
36
+ const getFn = () => get(YZ_CURRENT_KEY);
37
+ return [setFn, getFn];
38
+ }
39
+ export function useLocalStorageHeaderType() {
40
+ const setFn = (data) => set(YZ_HEADER_TYPE_KEY, data);
41
+ const getFn = () => get(YZ_HEADER_TYPE_KEY);
42
+ return [setFn, getFn];
43
+ }
44
+ export function useLocalStorageHeader() {
45
+ const setFn = (data) => set(YZ_HEADER_KEY, data);
46
+ const getFn = () => get(YZ_HEADER_KEY);
47
+ return [setFn, getFn];
48
+ }
49
+ export function useLocalStorageDefaultRoute() {
50
+ const setFn = (data) => set(YZ_DEFAULT_ROUTE_KEY, data);
51
+ const getFn = () => get(YZ_DEFAULT_ROUTE_KEY);
52
+ return [setFn, getFn];
53
+ }
54
+ export function useLocalStorageTenant() {
55
+ const setFn = (data) => set(YZ_TENANT_KEY, data);
56
+ const getFn = () => get(YZ_TENANT_KEY);
57
+ return [setFn, getFn];
58
+ }
59
+ export function useLocalStorageLangs() {
60
+ const setFn = (data) => set(YZ_LANGS_KEY, data);
61
+ const getFn = () => get(YZ_LANGS_KEY);
62
+ return [setFn, getFn];
63
+ }
64
+ export function useLocalStorageLang() {
65
+ const setFn = (key, data) => set(`${YZ_LANG_KEY}_${key}`, data);
66
+ const getFn = (key) => get(`${YZ_LANG_KEY}_${key}`);
67
+ return [setFn, getFn];
68
+ }
69
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9jYWxTdG9yYWdlVXRpbHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy91dGlsL21jYWNoZS9sb2NhbFN0b3JhZ2VVdGlscy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxNQUFNLENBQUMsTUFBTSxXQUFXLEdBQUcsVUFBVSxDQUFDO0FBQ3RDLE1BQU0sQ0FBQyx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iBbc2V0Rm4sIGdldEZuXTtcbn1cblxuZXhwb3J0IGZ1bmN0aW9uIHVzZUxvY2FsU3RvcmFnZUxhbmcoKTogWyhrZXk6IHN0cmluZywgZGF0YTogUmVjb3JkPHN0cmluZywgdW5rbm93bj4pID0+IHZvaWQsIChrZXk6IHN0cmluZykgPT4gUmVjb3JkPHN0cmluZywgdW5rbm93bj4gfCBudWxsXSB7XG4gICAgY29uc3Qgc2V0Rm4gPSAoa2V5OiBzdHJpbmcsIGRhdGE6IFJlY29yZDxzdHJpbmcsIHVua25vd24+KSA9PiBzZXQoYCR7WVpfTEFOR19LRVl9XyR7a2V5fWAsIGRhdGEpO1xuICAgIGNvbnN0IGdldEZuID0gKGtleTogc3RyaW5nKTogUmVjb3JkPHN0cmluZywgdW5rbm93bj4gfCBudWxsID0+IGdldDxSZWNvcmQ8c3RyaW5nLCB1bmtub3duPj4oYCR7WVpfTEFOR19LRVl9XyR7a2V5fWApO1xuICAgIHJldHVybiBbc2V0Rm4sIGdldEZuXTtcbn1cblxuIl19
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './index';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWNhY2hlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvdXRpbC9tY2FjaGUvbWNhY2hlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aG9yaXR5LnR5cGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy91dGlsL210eXBlcy9hdXRob3JpdHkudHlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGludGVyZmFjZSBZdW56YWlBdXRob3JpdHkge1xuICBhdXRob3JpdHk6IHN0cmluZztcbn1cbiJdfQ==
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVhZGVyLW1lbnUudHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL3V0aWwvbXR5cGVzL2hlYWRlci1tZW51LnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgWXVuemFpTmF2VG9waWMge1xuICAvLyDmianlsZXpoblcbiAgYXR0cmlidXRlOiBhbnk7XG4gIC8vIOWbvuagh1xuICBpY29uOiBhbnk7XG4gIC8vIOWtkOiPnOWNlVxuICBjaGlsZHJlbjogWXVuemFpTmF2VG9waWNbXTtcbiAgLy8g5o+P6L+wXG4gIGludHJvOiBzdHJpbmc7XG4gIC8vIGtleVxuICBrZXk6IHN0cmluZztcbiAgLy8g5ZCN56ewXG4gIG5hbWU6IHN0cmluZztcbiAgLy8g5omT5byA5pa55byPXG4gIHRhcmdldDogc3RyaW5nO1xuICAvLyDmmK/lkKbmnInmnYPpmZDmiZPlvIBcbiAgYXV0aDogYm9vbGVhbjtcbiAgLy8g6Lev5b6EXG4gIHVybDogc3RyaW5nO1xuICAvLyDniYjmnKxcbiAgdmVyc2lvbjogc3RyaW5nO1xufVxuIl19
@@ -0,0 +1,10 @@
1
+ export * from './authority.type';
2
+ export * from './menu.type';
3
+ export * from './user.types';
4
+ export * from './role.type';
5
+ export * from './project-info.types';
6
+ export * from './header-menu.type';
7
+ export * from "./nav.types";
8
+ export * from "./page";
9
+ export * from "./response";
10
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy91dGlsL210eXBlcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGtCQUFrQixDQUFDO0FBQ2pDLGNBQWMsYUFBYSxDQUFDO0FBQzVCLGNBQWMsY0FBYyxDQUFDO0FBQzdCLGNBQWMsYUFBYSxDQUFDO0FBQzVCLGNBQWMsc0JBQXNCLENBQUM7QUFDckMsY0FBYyxvQkFBb0IsQ0FBQztBQUNuQyxjQUFjLGFBQWEsQ0FBQztBQUM1QixjQUFjLFFBQVEsQ0FBQztBQUN2QixjQUFjLFlBQVksQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vYXV0aG9yaXR5LnR5cGUnO1xuZXhwb3J0ICogZnJvbSAnLi9tZW51LnR5cGUnO1xuZXhwb3J0ICogZnJvbSAnLi91c2VyLnR5cGVzJztcbmV4cG9ydCAqIGZyb20gJy4vcm9sZS50eXBlJztcbmV4cG9ydCAqIGZyb20gJy4vcHJvamVjdC1pbmZvLnR5cGVzJztcbmV4cG9ydCAqIGZyb20gJy4vaGVhZGVyLW1lbnUudHlwZSc7XG5leHBvcnQgKiBmcm9tIFwiLi9uYXYudHlwZXNcIjtcbmV4cG9ydCAqIGZyb20gXCIuL3BhZ2VcIjtcbmV4cG9ydCAqIGZyb20gXCIuL3Jlc3BvbnNlXCI7XG4iXX0=
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJza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c3RyaW5nO1xuICB2ZXJzaW9uOiBudW1iZXI7XG59XG5cbmV4cG9ydCBpbnRlcmZhY2UgWXVuemFpTWVudUF0dHJpYnV0ZSB7XG4gIGRlZmF1bHRSb3V0ZTogYW55O1xuICBkYXRhUGxhdGZvcm06IGFueTtcbiAgdGFyZ2V0VXNlcjogYW55O1xuICBzdGFyQ29uZmlnOiBhbnk7XG59XG4iXX0=
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './index';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXR5cGVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvdXRpbC9tdHlwZXMvbXR5cGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19
@@ -0,0 +1,7 @@
1
+ export var NavType;
2
+ (function (NavType) {
3
+ NavType["APPLICATION"] = "application";
4
+ NavType["GROUP"] = "group";
5
+ NavType["TILE"] = "tile";
6
+ })(NavType || (NavType = {}));
7
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF2LnR5cGVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvdXRpbC9tdHlwZXMvbmF2LnR5cGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUdBLE1BQU0sQ0FBTixJQUFZLE9BSVg7QUFKRCxXQUFZLE9BQU87SUFDakIsc0NBQTJCLENBQUE7S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
+ const YUNZAI_PAGE = {
2
+ PAGE_NUM: 1,
3
+ PAGE_SIZE: 1000
4
+ };
5
+ export class YunzaiPageBuilder {
6
+ constructor() {
7
+ this.page = {};
8
+ }
9
+ pageNum(pageNum) {
10
+ this.page.pageNum = pageNum;
11
+ return this;
12
+ }
13
+ pageSize(pageSize) {
14
+ this.page.pageSize = pageSize;
15
+ return this;
16
+ }
17
+ pageParam(param) {
18
+ this.page.pageParam = param;
19
+ return this;
20
+ }
21
+ default() {
22
+ this.page.pageNum = YUNZAI_PAGE.PAGE_NUM;
23
+ this.page.pageSize = YUNZAI_PAGE.PAGE_SIZE;
24
+ return this;
25
+ }
26
+ build() {
27
+ return this.page;
28
+ }
29
+ }
30
+ export class Page {
31
+ constructor(pageNum, pageSize, param) {
32
+ this.pageNum = 1;
33
+ this.pageSize = 30;
34
+ this.pageNum = pageNum;
35
+ this.pageSize = pageSize;
36
+ this.param = param;
37
+ }
38
+ static create() {
39
+ return new Page(1, 30);
40
+ }
41
+ }
42
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL3V0aWwvbXR5cGVzL3BhZ2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBT0EsTUFBTSxXQUFXLEdBQUc7SUFDbEIsUUFBUSxFQUFFLENBQUM7SUFDWCxTQUFTLEVBQUUsSUFBSTtDQUNoQixDQUFDO0FBK0JGLE1BQU0sT0FBTyxpQkFBaUI7SUFBOUI7UUFDVSxTQUFJLEdBQXVCLEVBQUUsQ0FBQztJQTBCeEMsQ0FBQztJQXhCUSxPQUFPLENBQUMsT0FBZTtRQUM1QixJQUFJLENBQUMsSUFBSSxDQUFDLE9BQU8sR0FBRyxPQUFPLENBQUM7UUFDNUIsT0FBTyxJQUFJLENBQUM7SUFDZCxDQUFDO0lBRU0s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2 @@
1
+ export {};
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvamVjdC1pbmZvLnR5cGVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvdXRpbC9tdHlwZXMvcHJvamVjdC1pbmZvLnR5cGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIFl1bnphaUhlYWRlclN0eWxlIHtcbiAgbGFiZWw6IHN0cmluZztcbiAgdmFsdWU6IHN0cmluZztcbn1cblxuZXhwb3J0IGludGVyZmFjZSBZdW56YWlQcm9maWxlIHtcbiAgbmFtZTogc3RyaW5nO1xuICB1cmw6IHN0cmluZztcbn1cblxuZXhwb3J0IGludGVyZmFjZSBZdW56YWlQcm9qZWN0SW5mbyB7XG4gIGNvbG9yZnVsTG9nb1VybDogc3RyaW5nO1xuICBjb3B5cmlnaHQ6IHN0cmluZztcbiAgZmF2aWNvblVybDogc3RyaW5nO1xuICBnYXRld2F5OiBzdHJpbmc7XG4gIGhlYWRlclN0eWxlOiBZdW56YWlIZWFkZXJTdHlsZVtdO1xuICBtYXhMb2dvVXJsOiBzdHJpbmc7XG4gIG1pbmlMb2dvVXJsOiBzdHJpbmc7XG4gIHByb2ZpbGVMaXN0OiBZdW56YWlQcm9maWxlW107XG4gIHByb2plY3ROYW1lOiBzdHJpbmc7XG4gIHNob3dBbGxNZW51OiBib29sZWFuO1xuICB0dWNhb1VybDogc3RyaW5nO1xufVxuIl19
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzcG9uc2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy91dGlsL210eXBlcy9yZXNwb25zZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtZdW56YWlQYWdlUmVzdWx0fSBmcm9tICcuL3BhZ2UnO1xuXG5leHBvcnQgaW50ZXJmYWNlIFl1bnphaVJlc3BvbnNlPFQ+IHtcbiAgZGF0YTogVDtcbiAgZXJyb3JNZXNzYWdlOiBzdHJpbmc7XG4gIG1lc3NhZ2U6IHN0cmluZztcbn1cblxuZXhwb3J0IHR5cGUgWXVuemFpUGFnZVJlc3BvbnNlPFQ+ID0gWXVuemFpUmVzcG9uc2U8WXVuemFpUGFnZVJlc3VsdDxUPj47XG4iXX0=
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm9sZS50eXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvdXRpbC9tdHlwZXMvcm9sZS50eXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIFl1bnphaVJvbGUge1xuICBpZDogc3RyaW5nO1xuICBvbmx5RGVwdE9uZTogYm9vbGVhbjtcbiAgb25seU9uZTogYm9vbGVhbjtcbiAgcm9sZURlc2M6IHN0cmluZztcbiAgcm9sZU5hbWU6IHN0cmluZztcbiAgcm9sZVZhbHVlOiBzdHJpbmc7XG4gIHN0YXR1czogbnVtYmVyO1xuICB0aGlzRGVwYXJ0bWVudDogYm9vbGVhbjtcbn1cbiJdfQ==
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci50eXBlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL3V0aWwvbXR5cGVzL3VzZXIudHlwZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFl1bnphaUF1dGhvcml0eSB9IGZyb20gJy4vYXV0aG9yaXR5LnR5cGUnO1xuaW1wb3J0IHsgWXVuemFpTWVudSB9IGZyb20gJy4vbWVudS50eXBlJztcbmltcG9ydCB7IFl1bnphaVJvbGUgfSBmcm9tICcuL3JvbGUudHlwZSc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgWXVuemFpVXNlciB7XG4gIGVtYWlsOiBzdHJpbmc7XG4gIGFjY291bnROb25FeHBpcmVkOiBib29sZWFuO1xuICBhY2NvdW50Tm9uTG9ja2VkOiBib29sZWFuO1xuICBhdXRob3JpdGllczogWXVuemFpQXV0aG9yaXR5W107XG4gIGF2YXRhcklkOiBzdHJpbmc7XG4gIGNyZWRlbnRpYWxzTm9uRXhwaXJlZDogYm9vbGVhbjtcbiAgZGVwdElkOiBzdHJpbmc7XG4gIGRlcHROYW1lOiBzdHJpbmc7XG4gIGVuYWJsZWQ6IGJvb2xlYW47XG4gIGlkOiBzdHJpbmc7XG4gIG1lbnU6IFl1bnphaU1lbnVbXTtcbiAgcmVhbG5hbWU6IHN0cmluZztcbiAgcm9sZXM6IFl1bnphaVJvbGVbXTtcbiAgdXNlckNvZGU6IHN0cmluZztcbiAgdXNlcklkOiBzdHJpbmc7XG4gIHVzZXJUeXBlOiBudW1iZXI7XG4gIHVzZXJuYW1lOiBzdHJpbmc7XG59XG4iXX0=
@@ -119,11 +119,11 @@ class LazyService {
119
119
  resolve(item);
120
120
  });
121
121
  }
122
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: LazyService, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
123
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: LazyService, providedIn: 'root' }); }
122
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: LazyService, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
123
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: LazyService, providedIn: 'root' }); }
124
124
  }
125
125
  export { LazyService };
126
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: LazyService, decorators: [{
126
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: LazyService, decorators: [{
127
127
  type: Injectable,
128
128
  args: [{ providedIn: 'root' }]
129
129
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -227,11 +227,11 @@ class PathToRegexpService {
227
227
  }
228
228
  return this.stringToRegexp(/** @type {string} */ path, keys, options);
229
229
  }
230
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: PathToRegexpService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
231
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: PathToRegexpService, providedIn: 'root' }); }
230
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: PathToRegexpService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
231
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: PathToRegexpService, providedIn: 'root' }); }
232
232
  }
233
233
  export { PathToRegexpService };
234
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: PathToRegexpService, decorators: [{
234
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: PathToRegexpService, decorators: [{
235
235
  type: Injectable,
236
236
  args: [{
237
237
  providedIn: 'root'
@@ -13,11 +13,11 @@ class CurrencyCNYPipe {
13
13
  transform(value, options) {
14
14
  return this.srv.cny(value, options);
15
15
  }
16
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: CurrencyCNYPipe, deps: [{ token: i1.CurrencyService }], target: i0.ɵɵFactoryTarget.Pipe }); }
17
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.2", ngImport: i0, type: CurrencyCNYPipe, name: "cny" }); }
16
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: CurrencyCNYPipe, deps: [{ token: i1.CurrencyService }], target: i0.ɵɵFactoryTarget.Pipe }); }
17
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.8", ngImport: i0, type: CurrencyCNYPipe, name: "cny" }); }
18
18
  }
19
19
  export { CurrencyCNYPipe };
20
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: CurrencyCNYPipe, decorators: [{
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: CurrencyCNYPipe, decorators: [{
21
21
  type: Pipe,
22
22
  args: [{ name: 'cny' }]
23
23
  }], ctorParameters: function () { return [{ type: i1.CurrencyService }]; } });
@@ -16,11 +16,11 @@ class CurrencyMegaPipe {
16
16
  const res = this.srv.mega(value, options);
17
17
  return res.value + (this.isCN ? res.unitI18n : res.unit);
18
18
  }
19
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: CurrencyMegaPipe, deps: [{ token: i1.CurrencyService }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe }); }
20
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.2", ngImport: i0, type: CurrencyMegaPipe, name: "mega" }); }
19
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: CurrencyMegaPipe, deps: [{ token: i1.CurrencyService }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe }); }
20
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.8", ngImport: i0, type: CurrencyMegaPipe, name: "mega" }); }
21
21
  }
22
22
  export { CurrencyMegaPipe };
23
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: CurrencyMegaPipe, decorators: [{
23
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: CurrencyMegaPipe, decorators: [{
24
24
  type: Pipe,
25
25
  args: [{ name: 'mega' }]
26
26
  }], ctorParameters: function () { return [{ type: i1.CurrencyService }, { type: undefined, decorators: [{
@@ -5,12 +5,12 @@ import { CurrencyPricePipe } from './price.pipe';
5
5
  import * as i0 from "@angular/core";
6
6
  const PIPES = [CurrencyMegaPipe, CurrencyPricePipe, CurrencyCNYPipe];
7
7
  class CurrencyPipeModule {
8
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: CurrencyPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
9
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.2", ngImport: i0, type: CurrencyPipeModule, declarations: [CurrencyMegaPipe, CurrencyPricePipe, CurrencyCNYPipe], exports: [CurrencyMegaPipe, CurrencyPricePipe, CurrencyCNYPipe] }); }
10
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: CurrencyPipeModule }); }
8
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: CurrencyPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
9
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.8", ngImport: i0, type: CurrencyPipeModule, declarations: [CurrencyMegaPipe, CurrencyPricePipe, CurrencyCNYPipe], exports: [CurrencyMegaPipe, CurrencyPricePipe, CurrencyCNYPipe] }); }
10
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: CurrencyPipeModule }); }
11
11
  }
12
12
  export { CurrencyPipeModule };
13
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: CurrencyPipeModule, decorators: [{
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: CurrencyPipeModule, decorators: [{
14
14
  type: NgModule,
15
15
  args: [{
16
16
  declarations: PIPES,
@@ -17,11 +17,11 @@ class CurrencyPricePipe {
17
17
  transform(value, options) {
18
18
  return this.srv.format(value, options);
19
19
  }
20
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: CurrencyPricePipe, deps: [{ token: i1.CurrencyService }], target: i0.ɵɵFactoryTarget.Pipe }); }
21
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.2", ngImport: i0, type: CurrencyPricePipe, name: "price" }); }
20
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: CurrencyPricePipe, deps: [{ token: i1.CurrencyService }], target: i0.ɵɵFactoryTarget.Pipe }); }
21
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.8", ngImport: i0, type: CurrencyPricePipe, name: "price" }); }
22
22
  }
23
23
  export { CurrencyPricePipe };
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: CurrencyPricePipe, decorators: [{
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: CurrencyPricePipe, decorators: [{
25
25
  type: Pipe,
26
26
  args: [{ name: 'price' }]
27
27
  }], ctorParameters: function () { return [{ type: i1.CurrencyService }]; } });
@@ -9,11 +9,11 @@ class FilterPipe {
9
9
  transform(array, matcher, ...args) {
10
10
  return array.filter(i => matcher(i, ...args));
11
11
  }
12
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: FilterPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
13
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.2", ngImport: i0, type: FilterPipe, name: "filter" }); }
12
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: FilterPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
13
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.8", ngImport: i0, type: FilterPipe, name: "filter" }); }
14
14
  }
15
15
  export { FilterPipe };
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: FilterPipe, decorators: [{
16
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: FilterPipe, decorators: [{
17
17
  type: Pipe,
18
18
  args: [{ name: 'filter' }]
19
19
  }] });
@@ -3,12 +3,12 @@ import { FilterPipe } from './filter.pipe';
3
3
  import * as i0 from "@angular/core";
4
4
  const PIPES = [FilterPipe];
5
5
  class FilterPipeModule {
6
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: FilterPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
7
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.2", ngImport: i0, type: FilterPipeModule, declarations: [FilterPipe], exports: [FilterPipe] }); }
8
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: FilterPipeModule }); }
6
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: FilterPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
7
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.8", ngImport: i0, type: FilterPipeModule, declarations: [FilterPipe], exports: [FilterPipe] }); }
8
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: FilterPipeModule }); }
9
9
  }
10
10
  export { FilterPipeModule };
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: FilterPipeModule, decorators: [{
11
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: FilterPipeModule, decorators: [{
12
12
  type: NgModule,
13
13
  args: [{
14
14
  declarations: PIPES,
@@ -24,11 +24,11 @@ class FormatMaskPipe {
24
24
  transform(value, mask) {
25
25
  return formatMask(value, mask);
26
26
  }
27
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: FormatMaskPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
28
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.2", ngImport: i0, type: FormatMaskPipe, name: "mask" }); }
27
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: FormatMaskPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
28
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.8", ngImport: i0, type: FormatMaskPipe, name: "mask" }); }
29
29
  }
30
30
  export { FormatMaskPipe };
31
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: FormatMaskPipe, decorators: [{
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: FormatMaskPipe, decorators: [{
32
32
  type: Pipe,
33
33
  args: [{ name: 'mask' }]
34
34
  }] });
@@ -3,12 +3,12 @@ import { FormatMaskPipe } from './mask.pipe';
3
3
  import * as i0 from "@angular/core";
4
4
  const PIPES = [FormatMaskPipe];
5
5
  class FormatPipeModule {
6
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: FormatPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
7
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.2", ngImport: i0, type: FormatPipeModule, declarations: [FormatMaskPipe], exports: [FormatMaskPipe] }); }
8
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: FormatPipeModule }); }
6
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: FormatPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
7
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.8", ngImport: i0, type: FormatPipeModule, declarations: [FormatMaskPipe], exports: [FormatMaskPipe] }); }
8
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: FormatPipeModule }); }
9
9
  }
10
10
  export { FormatPipeModule };
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: FormatPipeModule, decorators: [{
11
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: FormatPipeModule, decorators: [{
12
12
  type: NgModule,
13
13
  args: [{
14
14
  declarations: PIPES,
@@ -6,10 +6,10 @@ class GlobalEventSubjectService {
6
6
  constructor() {
7
7
  this.clickEvents = new Subject();
8
8
  }
9
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: GlobalEventSubjectService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
10
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: GlobalEventSubjectService, providedIn: 'root' }); }
9
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: GlobalEventSubjectService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
10
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: GlobalEventSubjectService, providedIn: 'root' }); }
11
11
  }
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: GlobalEventSubjectService, decorators: [{
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: GlobalEventSubjectService, decorators: [{
13
13
  type: Injectable,
14
14
  args: [{
15
15
  providedIn: 'root'
@@ -268,10 +268,10 @@ class ArrayService {
268
268
  }, new Map())
269
269
  .values());
270
270
  }
271
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: ArrayService, deps: [{ token: i1.YunzaiConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
272
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: ArrayService, providedIn: 'root' }); }
271
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: ArrayService, deps: [{ token: i1.YunzaiConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
272
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: ArrayService, providedIn: 'root' }); }
273
273
  }
274
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: ArrayService, decorators: [{
274
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: ArrayService, decorators: [{
275
275
  type: Injectable,
276
276
  args: [{ providedIn: 'root' }]
277
277
  }], ctorParameters: function () { return [{ type: i1.YunzaiConfigService }]; } });
@@ -91,10 +91,10 @@ class CookieService {
91
91
  removeAll() {
92
92
  this.doc.cookie = '';
93
93
  }
94
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: CookieService, deps: [{ token: DOCUMENT }, { token: i1.Platform }], target: i0.ɵɵFactoryTarget.Injectable }); }
95
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: CookieService, providedIn: 'root' }); }
94
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: CookieService, deps: [{ token: DOCUMENT }, { token: i1.Platform }], target: i0.ɵɵFactoryTarget.Injectable }); }
95
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: CookieService, providedIn: 'root' }); }
96
96
  }
97
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: CookieService, decorators: [{
97
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: CookieService, decorators: [{
98
98
  type: Injectable,
99
99
  args: [{ providedIn: 'root' }]
100
100
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -222,10 +222,10 @@ class ScrollService {
222
222
  }
223
223
  this.scrollToElement(this._getDoc().body, topOffset);
224
224
  }
225
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: ScrollService, deps: [{ token: DOCUMENT }, { token: i1.Platform }], target: i0.ɵɵFactoryTarget.Injectable }); }
226
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: ScrollService, providedIn: 'root' }); }
225
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: ScrollService, deps: [{ token: DOCUMENT }, { token: i1.Platform }], target: i0.ɵɵFactoryTarget.Injectable }); }
226
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: ScrollService, providedIn: 'root' }); }
227
227
  }
228
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: ScrollService, decorators: [{
228
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: ScrollService, decorators: [{
229
229
  type: Injectable,
230
230
  args: [{ providedIn: 'root' }]
231
231
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{