@alauda/ui 7.3.3-beta.37 → 7.3.3-beta.38

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.
@@ -1,6 +1,6 @@
1
1
  import { ChangeDetectorRef, OnDestroy, PipeTransform } from '@angular/core';
2
2
  import { I18nService } from './i18n.service';
3
- import { StringMap } from './i18n.type';
3
+ import { StringMap } from 'src/types';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class I18nPipe implements PipeTransform, OnDestroy {
6
6
  private readonly i18n;
@@ -1,5 +1,6 @@
1
1
  import { Observable } from 'rxjs';
2
- import { I18NInterface, StringMap } from './i18n.type';
2
+ import { I18NInterface } from './i18n.type';
3
+ import { StringMap } from 'src/types';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class I18nService {
5
6
  private _i18n;
@@ -3,5 +3,4 @@ export interface I18NInterface {
3
3
  locale: string;
4
4
  translation: Record<string, string>;
5
5
  }
6
- export type StringMap = Record<string, string>;
7
6
  export declare const I18NInterfaceToken: InjectionToken<I18NInterface>;
package/index.d.ts CHANGED
@@ -34,4 +34,4 @@ export * from './theme';
34
34
  export * from './time-picker';
35
35
  export * from './tooltip';
36
36
  export * from './tree-select';
37
- export * from './types';
37
+ export { ComponentSize } from './types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alauda/ui",
3
- "version": "7.3.3-beta.37",
3
+ "version": "7.3.3-beta.38",
4
4
  "description": "Angular UI components by Alauda Frontend Team.",
5
5
  "repository": "git+https://github.com/alauda/alauda-ui.git",
6
6
  "author": "Alauda Frontend",
package/types.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export type ValueOf<T> = T[keyof T];
2
+ export type StringMap = Record<string, string>;
2
3
  export declare const ComponentSize: {
3
4
  readonly Large: "large";
4
5
  readonly Medium: "medium";