@airpower/web 0.2.32 → 0.2.34

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.
@@ -17,6 +17,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
17
17
  type: StringConstructor;
18
18
  default: undefined;
19
19
  };
20
+ link: {
21
+ type: BooleanConstructor;
22
+ default: boolean;
23
+ };
20
24
  /**
21
25
  * # 是否是主按钮
22
26
  */
@@ -61,6 +65,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
61
65
  type: StringConstructor;
62
66
  default: undefined;
63
67
  };
68
+ link: {
69
+ type: BooleanConstructor;
70
+ default: boolean;
71
+ };
64
72
  /**
65
73
  * # 是否是主按钮
66
74
  */
@@ -99,6 +107,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
99
107
  };
100
108
  }>> & Readonly<{}>, {
101
109
  permission: string;
110
+ link: boolean;
102
111
  primary: boolean;
103
112
  danger: boolean;
104
113
  warning: boolean;
@@ -35,16 +35,16 @@ declare const _default: <E extends RootEntity>(__VLS_props: NonNullable<Awaited<
35
35
  readonly tree?: ITree[] | undefined;
36
36
  readonly onClear?: (() => any) | undefined;
37
37
  readonly onBlur?: (() => any) | undefined;
38
- readonly onChange?: ((value: E) => any) | undefined;
38
+ readonly onChanged?: ((value: E) => any) | undefined;
39
39
  readonly "onUpdate:modelValue"?: ((value: E) => any) | undefined;
40
40
  readonly onFocus?: (() => any) | undefined;
41
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "list" | "entity" | "modelValue" | "readonly" | "disabledValue" | "tree">, "onFocus" | "onBlur" | "onChange" | "field" | "onClear" | "onUpdate:modelValue" | ("disabled" | "list" | "entity" | "modelValue" | "readonly" | "disabledValue" | "tree")> & {} & Partial<{}>> & import('vue').PublicProps;
41
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "list" | "entity" | "modelValue" | "readonly" | "disabledValue" | "tree">, "onFocus" | "onBlur" | "field" | "onClear" | "onChanged" | "onUpdate:modelValue" | ("disabled" | "list" | "entity" | "modelValue" | "readonly" | "disabledValue" | "tree")> & {} & Partial<{}>> & import('vue').PublicProps;
42
42
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
43
43
  attrs: any;
44
44
  slots: {
45
45
  default?(_: {}): any;
46
46
  };
47
- emit: ((evt: "clear") => void) & ((evt: "blur") => void) & ((evt: "change", value: E) => void) & ((evt: "update:modelValue", value: E) => void) & ((evt: "focus") => void);
47
+ emit: ((evt: "clear") => void) & ((evt: "blur") => void) & ((evt: "changed", value: E) => void) & ((evt: "update:modelValue", value: E) => void) & ((evt: "focus") => void);
48
48
  }>) => import('vue').VNode & {
49
49
  __ctx?: Awaited<typeof __VLS_setup>;
50
50
  };
@@ -33,14 +33,14 @@ declare const _default: <E extends RootEntity, T extends ITree, EM extends IEnum
33
33
  readonly modifier?: string | undefined;
34
34
  readonly onClear?: ((...args: any[]) => any) | undefined;
35
35
  readonly onBlur?: ((...args: any[]) => any) | undefined;
36
+ readonly onChanged?: ((...args: any[]) => any) | undefined;
36
37
  readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
37
38
  readonly onFocus?: ((...args: any[]) => any) | undefined;
38
- readonly onChanged?: ((...args: any[]) => any) | undefined;
39
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "list" | "placeholder" | "dateShowFormatter" | "entity" | "modelValue" | "readonly" | "disabledValue" | "tree" | "modelModifiers" | "modifier" | "showClear" | "onSearch">, "onFocus" | "onBlur" | "onClear" | "onUpdate:modelValue" | "onChanged" | ("disabled" | "list" | "placeholder" | "dateShowFormatter" | "entity" | "modelValue" | "readonly" | "disabledValue" | "tree" | "modelModifiers" | "modifier" | "showClear" | "onSearch")> & {} & Partial<{}>> & import('vue').PublicProps;
39
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "list" | "placeholder" | "dateShowFormatter" | "entity" | "modelValue" | "readonly" | "disabledValue" | "tree" | "modelModifiers" | "modifier" | "showClear" | "onSearch">, "onFocus" | "onBlur" | "onClear" | "onChanged" | "onUpdate:modelValue" | ("disabled" | "list" | "placeholder" | "dateShowFormatter" | "entity" | "modelValue" | "readonly" | "disabledValue" | "tree" | "modelModifiers" | "modifier" | "showClear" | "onSearch")> & {} & Partial<{}>> & import('vue').PublicProps;
40
40
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
41
41
  attrs: any;
42
42
  slots: Partial<Record<NonNullable<string | number | symbol>, (_: {}) => any>>;
43
- emit: (event: "clear" | "blur" | "update:modelValue" | "focus" | "changed", ...args: any[]) => void;
43
+ emit: (event: "clear" | "blur" | "changed" | "update:modelValue" | "focus", ...args: any[]) => void;
44
44
  }>) => import('vue').VNode & {
45
45
  __ctx?: Awaited<typeof __VLS_setup>;
46
46
  };
@@ -5,7 +5,7 @@ declare const _default: <E extends RootEntity>(__VLS_props: NonNullable<Awaited<
5
5
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
6
6
  readonly response: QueryResponsePage<E>;
7
7
  readonly onChanged?: ((page: QueryPage) => any) | undefined;
8
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onChanged" | "response"> & {} & Partial<{}>> & import('vue').PublicProps;
8
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "response" | "onChanged"> & {} & Partial<{}>> & import('vue').PublicProps;
9
9
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
10
10
  attrs: any;
11
11
  slots: {};
@@ -18,7 +18,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
18
18
  */
19
19
  title: {
20
20
  type: StringConstructor;
21
- required: true;
21
+ default: string;
22
22
  };
23
23
  /**
24
24
  * # 描述
@@ -62,7 +62,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
62
62
  */
63
63
  title: {
64
64
  type: StringConstructor;
65
- required: true;
65
+ default: string;
66
66
  };
67
67
  /**
68
68
  * # 描述
@@ -100,6 +100,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
100
100
  default: boolean;
101
101
  };
102
102
  }>> & Readonly<{}>, {
103
+ title: string;
103
104
  hideIcon: boolean;
104
105
  hideFooter: boolean;
105
106
  description: string;
@@ -14,7 +14,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
14
14
  */
15
15
  view: {
16
16
  type: PropType<Component>;
17
- required: true;
17
+ required: undefined;
18
18
  };
19
19
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
20
20
  /**
@@ -29,7 +29,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
29
29
  */
30
30
  view: {
31
31
  type: PropType<Component>;
32
- required: true;
32
+ required: undefined;
33
33
  };
34
34
  }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
35
35
  export default _default;
@@ -29,9 +29,9 @@ declare const _default: <T extends IPayload>(__VLS_props: NonNullable<Awaited<ty
29
29
  readonly clearLabel: string;
30
30
  readonly selector: Component;
31
31
  readonly onClear?: (() => any) | undefined;
32
- readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
33
32
  readonly onChanged?: ((data: T | undefined) => any) | undefined;
34
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "default" | "param" | "placeholder" | "selectLabel" | "clearLabel">, "onClear" | "onUpdate:modelValue" | "onChanged" | "selector" | ("disabled" | "default" | "param" | "placeholder" | "selectLabel" | "clearLabel")> & {
33
+ readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
34
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "default" | "param" | "placeholder" | "selectLabel" | "clearLabel">, "onClear" | "onChanged" | "onUpdate:modelValue" | "selector" | ("disabled" | "default" | "param" | "placeholder" | "selectLabel" | "clearLabel")> & {
35
35
  modelValue?: T;
36
36
  } & Partial<{}>> & import('vue').PublicProps;
37
37
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
@@ -139,6 +139,7 @@ declare const _default: <E extends RootEntity, S extends AbstractCurdService<E>>
139
139
  }) => any>> & {
140
140
  left?(_: {}): any;
141
141
  beforeButton?(_: {}): any;
142
+ addButton?(_: {}): any;
142
143
  afterButton?(_: {}): any;
143
144
  beforeSearch?(_: {}): any;
144
145
  afterSearch?(_: {}): any;
@@ -11,6 +11,10 @@ export interface ITableColumn extends IBaseField, IElementTableColumn {
11
11
  * ### 是否是金额
12
12
  */
13
13
  money?: boolean;
14
+ /**
15
+ * ### 是否是电话号码
16
+ */
17
+ phone?: boolean;
14
18
  /**
15
19
  * ### 列排序
16
20
  * 越大越靠前
@@ -25,9 +29,14 @@ export interface ITableColumn extends IBaseField, IElementTableColumn {
25
29
  */
26
30
  force?: boolean;
27
31
  /**
28
- * ### 是否强制不换行
32
+ * ### 是否强制换行
33
+ */
34
+ wrap?: boolean;
35
+ /**
36
+ * ### 是否是负载对象的字段
37
+ * 请确保该属性对应的类型已经实现了 `IPayload` 接口
29
38
  */
30
- nowrap?: boolean;
39
+ payload?: boolean;
31
40
  /**
32
41
  * ### 删除列
33
42
  */
@@ -69,4 +69,5 @@ export declare class WebI18n extends I18n {
69
69
  FileMaxSizeAllowed: string;
70
70
  UploadImage: string;
71
71
  NoPicture: string;
72
+ Operation: string;
72
73
  }