@delon/abc 16.0.0 → 16.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 (130) hide show
  1. package/date-picker/range.directive.d.ts +0 -1
  2. package/esm2022/auto-focus/auto-focus.directive.mjs +3 -3
  3. package/esm2022/auto-focus/auto-focus.module.mjs +4 -4
  4. package/esm2022/avatar-list/avatar-list-item.component.mjs +3 -3
  5. package/esm2022/avatar-list/avatar-list.component.mjs +3 -3
  6. package/esm2022/avatar-list/avatar-list.module.mjs +4 -4
  7. package/esm2022/count-down/count-down.component.mjs +3 -3
  8. package/esm2022/count-down/count-down.module.mjs +4 -4
  9. package/esm2022/date-picker/date-picker.module.mjs +4 -4
  10. package/esm2022/date-picker/range-shortcut.component.mjs +3 -3
  11. package/esm2022/date-picker/range.directive.mjs +4 -8
  12. package/esm2022/down-file/down-file.directive.mjs +3 -3
  13. package/esm2022/down-file/down-file.module.mjs +4 -4
  14. package/esm2022/ellipsis/ellipsis.component.mjs +3 -3
  15. package/esm2022/ellipsis/ellipsis.module.mjs +4 -4
  16. package/esm2022/error-collect/error-collect.component.mjs +3 -3
  17. package/esm2022/error-collect/error-collect.module.mjs +4 -4
  18. package/esm2022/exception/exception.component.mjs +3 -3
  19. package/esm2022/exception/exception.module.mjs +4 -4
  20. package/esm2022/footer-toolbar/footer-toolbar.component.mjs +3 -3
  21. package/esm2022/footer-toolbar/footer-toolbar.module.mjs +4 -4
  22. package/esm2022/full-content/full-content-toggle.directive.mjs +3 -3
  23. package/esm2022/full-content/full-content.component.mjs +3 -3
  24. package/esm2022/full-content/full-content.module.mjs +4 -4
  25. package/esm2022/full-content/full-content.service.mjs +3 -3
  26. package/esm2022/global-footer/global-footer-item.component.mjs +3 -3
  27. package/esm2022/global-footer/global-footer.component.mjs +3 -3
  28. package/esm2022/global-footer/global-footer.module.mjs +4 -4
  29. package/esm2022/hotkey/hotkey.directive.mjs +3 -3
  30. package/esm2022/hotkey/hotkey.module.mjs +4 -4
  31. package/esm2022/let/let.directive.mjs +3 -3
  32. package/esm2022/let/let.module.mjs +4 -4
  33. package/esm2022/loading/loading.component.mjs +3 -3
  34. package/esm2022/loading/loading.module.mjs +4 -4
  35. package/esm2022/loading/loading.service.mjs +3 -3
  36. package/esm2022/lodop/lodop.module.mjs +4 -4
  37. package/esm2022/lodop/lodop.service.mjs +3 -3
  38. package/esm2022/media/media.component.mjs +3 -3
  39. package/esm2022/media/media.module.mjs +4 -4
  40. package/esm2022/media/media.service.mjs +3 -3
  41. package/esm2022/notice-icon/notice-icon-tab.component.mjs +3 -3
  42. package/esm2022/notice-icon/notice-icon.component.mjs +3 -3
  43. package/esm2022/notice-icon/notice-icon.module.mjs +4 -4
  44. package/esm2022/observers/observer-size.mjs +10 -10
  45. package/esm2022/onboarding/onboarding.component.mjs +3 -3
  46. package/esm2022/onboarding/onboarding.module.mjs +4 -4
  47. package/esm2022/onboarding/onboarding.service.mjs +3 -3
  48. package/esm2022/page-header/page-header.component.mjs +3 -3
  49. package/esm2022/page-header/page-header.module.mjs +4 -4
  50. package/esm2022/pdf/pdf.component.mjs +3 -3
  51. package/esm2022/pdf/pdf.module.mjs +4 -4
  52. package/esm2022/qr/qr.component.mjs +3 -3
  53. package/esm2022/qr/qr.module.mjs +4 -4
  54. package/esm2022/quick-menu/quick-menu.component.mjs +3 -3
  55. package/esm2022/quick-menu/quick-menu.module.mjs +4 -4
  56. package/esm2022/result/result.component.mjs +3 -3
  57. package/esm2022/result/result.module.mjs +4 -4
  58. package/esm2022/reuse-tab/reuse-tab-context-menu.component.mjs +3 -3
  59. package/esm2022/reuse-tab/reuse-tab-context.component.mjs +3 -3
  60. package/esm2022/reuse-tab/reuse-tab-context.directive.mjs +3 -3
  61. package/esm2022/reuse-tab/reuse-tab-context.service.mjs +3 -3
  62. package/esm2022/reuse-tab/reuse-tab.cache.mjs +13 -0
  63. package/esm2022/reuse-tab/reuse-tab.component.mjs +3 -3
  64. package/esm2022/reuse-tab/reuse-tab.module.mjs +14 -5
  65. package/esm2022/reuse-tab/reuse-tab.service.mjs +51 -45
  66. package/esm2022/se/se-container.component.mjs +6 -6
  67. package/esm2022/se/se.component.mjs +3 -3
  68. package/esm2022/se/se.module.mjs +4 -4
  69. package/esm2022/sg/sg-container.component.mjs +3 -3
  70. package/esm2022/sg/sg.component.mjs +3 -3
  71. package/esm2022/sg/sg.module.mjs +4 -4
  72. package/esm2022/st/st-column-source.mjs +3 -3
  73. package/esm2022/st/st-data-source.mjs +3 -3
  74. package/esm2022/st/st-export.mjs +3 -3
  75. package/esm2022/st/st-filter.component.mjs +3 -3
  76. package/esm2022/st/st-row.directive.mjs +6 -6
  77. package/esm2022/st/st-widget-host.directive.mjs +3 -3
  78. package/esm2022/st/st-widget.mjs +3 -3
  79. package/esm2022/st/st.component.mjs +6 -6
  80. package/esm2022/st/st.module.mjs +4 -4
  81. package/esm2022/sv/sv-container.component.mjs +6 -6
  82. package/esm2022/sv/sv-value.component.mjs +3 -3
  83. package/esm2022/sv/sv.component.mjs +3 -3
  84. package/esm2022/sv/sv.module.mjs +4 -4
  85. package/esm2022/tag-select/tag-select.component.mjs +3 -3
  86. package/esm2022/tag-select/tag-select.module.mjs +4 -4
  87. package/esm2022/xlsx/xlsx.directive.mjs +3 -3
  88. package/esm2022/xlsx/xlsx.module.mjs +4 -4
  89. package/esm2022/xlsx/xlsx.service.mjs +3 -3
  90. package/esm2022/zip/zip.module.mjs +4 -4
  91. package/esm2022/zip/zip.service.mjs +3 -3
  92. package/fesm2022/auto-focus.mjs +7 -7
  93. package/fesm2022/avatar-list.mjs +10 -10
  94. package/fesm2022/chart-observer-size.mjs +10 -10
  95. package/fesm2022/count-down.mjs +7 -7
  96. package/fesm2022/date-picker.mjs +10 -14
  97. package/fesm2022/date-picker.mjs.map +1 -1
  98. package/fesm2022/down-file.mjs +7 -7
  99. package/fesm2022/ellipsis.mjs +7 -7
  100. package/fesm2022/error-collect.mjs +7 -7
  101. package/fesm2022/exception.mjs +7 -7
  102. package/fesm2022/footer-toolbar.mjs +7 -7
  103. package/fesm2022/full-content.mjs +13 -13
  104. package/fesm2022/global-footer.mjs +10 -10
  105. package/fesm2022/hotkey.mjs +7 -7
  106. package/fesm2022/let.mjs +7 -7
  107. package/fesm2022/loading.mjs +10 -10
  108. package/fesm2022/lodop.mjs +7 -7
  109. package/fesm2022/media.mjs +10 -10
  110. package/fesm2022/notice-icon.mjs +10 -10
  111. package/fesm2022/onboarding.mjs +10 -10
  112. package/fesm2022/page-header.mjs +7 -7
  113. package/fesm2022/pdf.mjs +7 -7
  114. package/fesm2022/qr.mjs +7 -7
  115. package/fesm2022/quick-menu.mjs +7 -7
  116. package/fesm2022/result.mjs +7 -7
  117. package/fesm2022/reuse-tab.mjs +88 -63
  118. package/fesm2022/reuse-tab.mjs.map +1 -1
  119. package/fesm2022/se.mjs +13 -13
  120. package/fesm2022/sg.mjs +10 -10
  121. package/fesm2022/st.mjs +34 -34
  122. package/fesm2022/sv.mjs +16 -16
  123. package/fesm2022/tag-select.mjs +7 -7
  124. package/fesm2022/xlsx.mjs +10 -10
  125. package/fesm2022/zip.mjs +7 -7
  126. package/package.json +4 -4
  127. package/page-header/style/index.less +5 -0
  128. package/page-header/style/rtl.less +2 -0
  129. package/reuse-tab/reuse-tab.cache.d.ts +24 -0
  130. package/reuse-tab/reuse-tab.service.d.ts +4 -5
package/fesm2022/zip.mjs CHANGED
@@ -105,23 +105,23 @@ class ZipService {
105
105
  });
106
106
  });
107
107
  }
108
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: ZipService, deps: [{ token: i1.HttpClient }, { token: i2.LazyService }, { token: i3.AlainConfigService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable }); }
109
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: ZipService, providedIn: 'root' }); }
108
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: ZipService, deps: [{ token: i1.HttpClient }, { token: i2.LazyService }, { token: i3.AlainConfigService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable }); }
109
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: ZipService, providedIn: 'root' }); }
110
110
  }
111
111
  __decorate([
112
112
  ZoneOutside()
113
113
  ], ZipService.prototype, "read", null);
114
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: ZipService, decorators: [{
114
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: ZipService, decorators: [{
115
115
  type: Injectable,
116
116
  args: [{ providedIn: 'root' }]
117
117
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: i2.LazyService }, { type: i3.AlainConfigService }, { type: i0.NgZone }]; }, propDecorators: { read: [] } });
118
118
 
119
119
  class ZipModule {
120
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: ZipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
121
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.4", ngImport: i0, type: ZipModule, imports: [CommonModule] }); }
122
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: ZipModule, imports: [CommonModule] }); }
120
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: ZipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
121
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: ZipModule, imports: [CommonModule] }); }
122
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: ZipModule, imports: [CommonModule] }); }
123
123
  }
124
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: ZipModule, decorators: [{
124
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: ZipModule, decorators: [{
125
125
  type: NgModule,
126
126
  args: [{
127
127
  imports: [CommonModule]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@delon/abc",
3
- "version": "16.0.0",
3
+ "version": "16.1.0",
4
4
  "author": "cipchk<cipchk@qq.com>",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -29,9 +29,9 @@
29
29
  "pdfjs-dist": "~3.6.172",
30
30
  "@github/hotkey": "^2.0.1",
31
31
  "ngx-countdown": "^15.0.0",
32
- "@delon/theme": "^16.0.0",
33
- "@delon/util": "^16.0.0",
34
- "@delon/acl": "^16.0.0",
32
+ "@delon/theme": "^16.1.0",
33
+ "@delon/util": "^16.1.0",
34
+ "@delon/acl": "^16.1.0",
35
35
  "tslib": "^2.3.0"
36
36
  },
37
37
  "module": "fesm2022/abc.mjs",
@@ -97,16 +97,19 @@
97
97
  min-width: 242px;
98
98
  margin-left: 88px;
99
99
  }
100
+
100
101
  @media screen and (max-width: @screen-xl) {
101
102
  &__extra {
102
103
  margin-left: 44px;
103
104
  }
104
105
  }
106
+
105
107
  @media screen and (max-width: @screen-lg) {
106
108
  &__extra {
107
109
  margin-left: 20px;
108
110
  }
109
111
  }
112
+
110
113
  @media screen and (max-width: @screen-md) {
111
114
  &__row {
112
115
  display: block;
@@ -118,11 +121,13 @@
118
121
  margin-left: 0;
119
122
  }
120
123
  }
124
+
121
125
  @media screen and (max-width: @screen-sm) {
122
126
  &__detail {
123
127
  display: block;
124
128
  }
125
129
  }
130
+
126
131
  @media screen and (max-width: @screen-xs) {
127
132
  &__action {
128
133
  .@{ant-prefix}-btn-group,
@@ -22,12 +22,14 @@
22
22
  margin-right: 88px;
23
23
  margin-left: 0;
24
24
  }
25
+
25
26
  @media screen and (max-width: @screen-xl) {
26
27
  &__extra {
27
28
  margin-right: 44px;
28
29
  margin-left: 0;
29
30
  }
30
31
  }
32
+
31
33
  @media screen and (max-width: @screen-lg) {
32
34
  &__extra {
33
35
  margin-right: 20px;
@@ -0,0 +1,24 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ import { ReuseTabCached, ReuseTitle } from './reuse-tab.interfaces';
3
+ /**
4
+ * Storage manager that can change rules by implementing `get`, `set` accessors
5
+ */
6
+ export declare const REUSE_TAB_CACHED_MANAGER: InjectionToken<ReuseTabCachedManager>;
7
+ export interface ReuseTabCachedManager {
8
+ list: ReuseTabCached[];
9
+ title: {
10
+ [url: string]: ReuseTitle;
11
+ };
12
+ closable: {
13
+ [url: string]: boolean;
14
+ };
15
+ }
16
+ export declare class ReuseTabCachedManagerFactory implements ReuseTabCachedManager {
17
+ list: ReuseTabCached[];
18
+ title: {
19
+ [url: string]: ReuseTitle;
20
+ };
21
+ closable: {
22
+ [url: string]: boolean;
23
+ };
24
+ }
@@ -3,21 +3,20 @@ import { ActivatedRouteSnapshot } from '@angular/router';
3
3
  import { Observable } from 'rxjs';
4
4
  import { MenuService } from '@delon/theme';
5
5
  import type { NzSafeAny } from 'ng-zorro-antd/core/types';
6
+ import { ReuseTabCachedManager } from './reuse-tab.cache';
6
7
  import { ReuseComponentRef, ReuseHookOnReuseInitType, ReuseHookTypes, ReuseTabCached, ReuseTabMatchMode, ReuseTabNotify, ReuseTabRouteParamMatchMode, ReuseTitle } from './reuse-tab.interfaces';
7
8
  import { ReuseTabStorageState } from './reuse-tab.state';
8
9
  import * as i0 from "@angular/core";
9
10
  export declare class ReuseTabService implements OnDestroy {
10
11
  private injector;
11
12
  private menuService;
13
+ private cached;
12
14
  private stateKey;
13
15
  private stateSrv;
14
16
  private _inited;
15
17
  private _max;
16
18
  private _keepingScroll;
17
19
  private _cachedChange;
18
- private _cached;
19
- private _titleCached;
20
- private _closableCached;
21
20
  private _router$?;
22
21
  private removeUrlBuffer;
23
22
  private positionBuffer;
@@ -152,7 +151,7 @@ export declare class ReuseTabService implements OnDestroy {
152
151
  refresh(data?: NzSafeAny): void;
153
152
  private destroy;
154
153
  private di;
155
- constructor(injector: Injector, menuService: MenuService, stateKey: string, stateSrv: ReuseTabStorageState);
154
+ constructor(injector: Injector, menuService: MenuService, cached: ReuseTabCachedManager, stateKey: string, stateSrv: ReuseTabStorageState);
156
155
  init(): void;
157
156
  private loadState;
158
157
  private getMenu;
@@ -190,6 +189,6 @@ export declare class ReuseTabService implements OnDestroy {
190
189
  private get ss();
191
190
  private initScroll;
192
191
  ngOnDestroy(): void;
193
- static ɵfac: i0.ɵɵFactoryDeclaration<ReuseTabService, [null, null, { optional: true; }, { optional: true; }]>;
192
+ static ɵfac: i0.ɵɵFactoryDeclaration<ReuseTabService, [null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
194
193
  static ɵprov: i0.ɵɵInjectableDeclaration<ReuseTabService>;
195
194
  }