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

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.21",
3
+ "version": "0.0.4-alpha.23",
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) => 1 | 0 | -1;
2463
+ declare const compareMinorVersion: (v1: string, v2: string) => 0 | 1 | -1;
2464
2464
 
2465
2465
  type AvailableResourceType = (typeof RESOURCE_MAC_TYPES)[number];
2466
2466
  interface ResourceControl {
@@ -3212,6 +3212,7 @@ declare class ZeroStateComponent {
3212
3212
  customPlaceholder: TemplateRef<unknown> | string;
3213
3213
  zeroState: boolean;
3214
3214
  fetching: boolean;
3215
+ showEmptyIcon: boolean;
3215
3216
  context: 'form' | 'table';
3216
3217
  minHeight: string | number;
3217
3218
  get hiddenState(): boolean;
@@ -3219,7 +3220,7 @@ declare class ZeroStateComponent {
3219
3220
  handlePixel: (value: number | string) => string;
3220
3221
  isTemplateRef: (label: any) => label is TemplateRef<unknown>;
3221
3222
  static ɵfac: i0.ɵɵFactoryDeclaration<ZeroStateComponent, never>;
3222
- static ɵcmp: i0.ɵɵComponentDeclaration<ZeroStateComponent, "acl-zero-state", never, { "resourceName": { "alias": "resourceName"; "required": false; }; "resourceNameTranslated": { "alias": "resourceNameTranslated"; "required": false; }; "customPlaceholder": { "alias": "customPlaceholder"; "required": false; }; "zeroState": { "alias": "zeroState"; "required": false; }; "fetching": { "alias": "fetching"; "required": false; }; "context": { "alias": "context"; "required": false; }; "minHeight": { "alias": "minHeight"; "required": false; }; }, {}, never, never, true, never>;
3223
+ static ɵcmp: i0.ɵɵComponentDeclaration<ZeroStateComponent, "acl-zero-state", never, { "resourceName": { "alias": "resourceName"; "required": false; }; "resourceNameTranslated": { "alias": "resourceNameTranslated"; "required": false; }; "customPlaceholder": { "alias": "customPlaceholder"; "required": false; }; "zeroState": { "alias": "zeroState"; "required": false; }; "fetching": { "alias": "fetching"; "required": false; }; "showEmptyIcon": { "alias": "showEmptyIcon"; "required": false; }; "context": { "alias": "context"; "required": false; }; "minHeight": { "alias": "minHeight"; "required": false; }; }, {}, never, never, true, never>;
3223
3224
  }
3224
3225
 
3225
3226
  declare class RelativeTimeComponent implements OnInit, OnDestroy {
@@ -5193,7 +5194,7 @@ declare class TableComponent<Item extends object, Context = TableUtilService<Ite
5193
5194
  }
5194
5195
 
5195
5196
  declare function defaultFilter<T extends string | number>(value: T, filterValue: T, _item: unknown, name: string): boolean;
5196
- declare function defaultSorter<T>(a: T, b: T): 1 | 0 | -1;
5197
+ declare function defaultSorter<T>(a: T, b: T): 0 | 1 | -1;
5197
5198
 
5198
5199
  declare class NamespaceBadgeComponent {
5199
5200
  name: string;