@alauda-fe/common 1.4.10 → 1.4.11

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.
@@ -7,6 +7,7 @@ export declare class MultiSearchTagsComponent {
7
7
  conditionCreatable: boolean;
8
8
  conditionConfig: SearchConditionConfig[];
9
9
  existingConditions: SearchConditionModel[];
10
+ showFootAction: boolean;
10
11
  removeCondition: EventEmitter<SearchConditionModel>;
11
12
  setConditionEditing: EventEmitter<SearchConditionModel>;
12
13
  setConditionDeleting: EventEmitter<number>;
@@ -22,5 +23,5 @@ export declare class MultiSearchTagsComponent {
22
23
  getConditionLabel(condition: SearchConditionModel): string;
23
24
  getValueContent(condition: SearchConditionModel): string;
24
25
  static ɵfac: i0.ɵɵFactoryDeclaration<MultiSearchTagsComponent, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<MultiSearchTagsComponent, "acl-multi-search-tags", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "conditionCreatable": { "alias": "conditionCreatable"; "required": false; }; "conditionConfig": { "alias": "conditionConfig"; "required": false; }; "existingConditions": { "alias": "existingConditions"; "required": false; }; }, { "removeCondition": "removeCondition"; "setConditionEditing": "setConditionEditing"; "setConditionDeleting": "setConditionDeleting"; "search": "search"; "completed": "completed"; }, never, ["*"], true, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<MultiSearchTagsComponent, "acl-multi-search-tags", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "conditionCreatable": { "alias": "conditionCreatable"; "required": false; }; "conditionConfig": { "alias": "conditionConfig"; "required": false; }; "existingConditions": { "alias": "existingConditions"; "required": false; }; "showFootAction": { "alias": "showFootAction"; "required": false; }; }, { "removeCondition": "removeCondition"; "setConditionEditing": "setConditionEditing"; "setConditionDeleting": "setConditionDeleting"; "search": "search"; "completed": "completed"; }, never, ["*"], true, never>;
26
27
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alauda-fe/common",
3
- "version": "1.4.10",
3
+ "version": "1.4.11",
4
4
  "description": "Alauda frontend team common codes.",
5
5
  "author": "Alauda Frontend",
6
6
  "license": "MIT",
@@ -15,7 +15,7 @@ export declare class TranslatePipe implements PipeTransform, OnDestroy {
15
15
  private onChange;
16
16
  private readonly destroy$$;
17
17
  constructor(injector: Injector);
18
- transform(key: TranslateKey | any, data?: unknown, ignoreNonExist?: boolean): string;
18
+ transform(key: TranslateKey | any, data?: unknown): string;
19
19
  private updateValue;
20
20
  private dispose;
21
21
  ngOnDestroy(): void;
@@ -26,13 +26,13 @@ export declare class TranslateService implements OnDestroy {
26
26
  * @param data - 根据翻译上下文数据获取翻译内容,翻译项不存在直接返回 key 文本
27
27
  * @param ignoreNonExist - 开发环境是否忽视不存在的翻译项
28
28
  */
29
- get(key: TranslateKey, data?: unknown, ignoreNonExist?: boolean): string;
29
+ get(key: TranslateKey, data?: unknown): string;
30
30
  /**
31
31
  * 直接返回翻译文本模板
32
32
  * @param key - 翻译key
33
33
  * @param ignoreNonExist - 开发环境是否忽视不存在的翻译项
34
34
  */
35
- getRaw(key: TranslateKey, ignoreNonExist?: boolean): string;
35
+ getRaw(key: TranslateKey): string;
36
36
  /**
37
37
  * 根据 `locales` 循环切换当前区域设置
38
38
  */
@@ -55,7 +55,7 @@ export declare class TranslateService implements OnDestroy {
55
55
  private _getValue;
56
56
  private _getWithFallback;
57
57
  private _getBase;
58
- protected _get(key: string, ignoreNonExist?: boolean, locale?: string): string;
58
+ protected _get(key: string, locale?: string): string;
59
59
  private _compareKeys;
60
60
  static ɵfac: i0.ɵɵFactoryDeclaration<TranslateService, [null, null, { optional: true; }, { optional: true; }]>;
61
61
  static ɵprov: i0.ɵɵInjectableDeclaration<TranslateService>;