@alauda-fe/dynamic-plugin-shared 0.0.4-alpha.23 → 0.0.4-alpha.25

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alauda-fe/dynamic-plugin-shared",
3
- "version": "0.0.4-alpha.23",
3
+ "version": "0.0.4-alpha.25",
4
4
  "peerDependencies": {
5
5
  "@alauda/code-editor": "^6.0.1-alpha.3",
6
6
  "@alauda-fe/dynamic-plugin-sdk": "^0.0.1-alpha.25",
@@ -2460,7 +2460,7 @@ declare const compareVersion: {
2460
2460
  gte: (v1: string, v2: string) => boolean;
2461
2461
  cmp: (v1: string, v2: string, operator: CompareOperator) => boolean;
2462
2462
  };
2463
- declare const compareMinorVersion: (v1: string, v2: string) => 0 | 1 | -1;
2463
+ declare const compareMinorVersion: (v1: string, v2: string) => 1 | 0 | -1;
2464
2464
 
2465
2465
  type AvailableResourceType = (typeof RESOURCE_MAC_TYPES)[number];
2466
2466
  interface ResourceControl {
@@ -3813,10 +3813,12 @@ declare class InterceptDeactivateService implements OnDestroy {
3813
3813
  context?: unknown;
3814
3814
  errorFallback?: boolean;
3815
3815
  }): rxjs.Observable<boolean>;
3816
+ interceptCurrentRoute(): rxjs.Observable<boolean>;
3816
3817
  back(escape?: boolean): Promise<void>;
3817
3818
  forward(escape?: boolean): Promise<void>;
3818
3819
  searchParamsToQueryParams(searchParams: URLSearchParams): Record<string, string | string[]>;
3819
3820
  escape(): Promise<void>;
3821
+ private getData;
3820
3822
  static ɵfac: i0.ɵɵFactoryDeclaration<InterceptDeactivateService, never>;
3821
3823
  static ɵprov: i0.ɵɵInjectableDeclaration<InterceptDeactivateService>;
3822
3824
  }
@@ -5194,7 +5196,7 @@ declare class TableComponent<Item extends object, Context = TableUtilService<Ite
5194
5196
  }
5195
5197
 
5196
5198
  declare function defaultFilter<T extends string | number>(value: T, filterValue: T, _item: unknown, name: string): boolean;
5197
- declare function defaultSorter<T>(a: T, b: T): 0 | 1 | -1;
5199
+ declare function defaultSorter<T>(a: T, b: T): 1 | 0 | -1;
5198
5200
 
5199
5201
  declare class NamespaceBadgeComponent {
5200
5202
  name: string;