@airpower/web 1.2.4 → 1.3.0
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.
|
@@ -4,9 +4,9 @@ import { RootEntity } from '../../model/RootEntity';
|
|
|
4
4
|
declare const _default: <F extends IFile & RootEntity>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
5
5
|
props: __VLS_PrettifyLocal<Pick<Partial<{
|
|
6
6
|
width: number;
|
|
7
|
+
placeholder: string;
|
|
7
8
|
data: IJson<any>;
|
|
8
9
|
headers: IJson<any>;
|
|
9
|
-
placeholder: string;
|
|
10
10
|
clearable: boolean;
|
|
11
11
|
height: number;
|
|
12
12
|
entity: ITransformerConstructor<F>;
|
|
@@ -34,7 +34,7 @@ declare const _default: <F extends IFile & RootEntity>(__VLS_props: NonNullable<
|
|
|
34
34
|
readonly src?: string | undefined;
|
|
35
35
|
readonly onRemoved?: (() => any) | undefined;
|
|
36
36
|
readonly onUploaded?: ((file: F) => any) | undefined;
|
|
37
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "width" | "
|
|
37
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "width" | "placeholder" | "data" | "headers" | "clearable" | "height" | "entity" | "src" | "upload" | "showTips" | "limit" | "extensions" | "uploadUrl" | "uploadFileName">, "onRemoved" | "onUploaded" | ("width" | "placeholder" | "data" | "headers" | "clearable" | "height" | "entity" | "src" | "upload" | "showTips" | "limit" | "extensions" | "uploadUrl" | "uploadFileName")> & {} & Partial<{}>> & import('vue').PublicProps;
|
|
38
38
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
39
39
|
attrs: any;
|
|
40
40
|
slots: {};
|
|
@@ -5,8 +5,8 @@ import { RootEntity } from '../../model/RootEntity';
|
|
|
5
5
|
declare const _default: <E extends RootEntity, T extends ITree, EM extends IEnum>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
6
6
|
props: __VLS_PrettifyLocal<Pick<Partial<{
|
|
7
7
|
disabled: boolean;
|
|
8
|
-
list: EM[];
|
|
9
8
|
placeholder: string;
|
|
9
|
+
list: EM[];
|
|
10
10
|
dateShowFormatter: string;
|
|
11
11
|
entity: ITransformerConstructor<E>;
|
|
12
12
|
modelValue: string | number | boolean | unknown[] | Record<string, any>;
|
|
@@ -36,7 +36,7 @@ declare const _default: <E extends RootEntity, T extends ITree, EM extends IEnum
|
|
|
36
36
|
readonly onChanged?: ((...args: any[]) => any) | undefined;
|
|
37
37
|
readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
38
38
|
readonly onFocus?: ((...args: any[]) => any) | undefined;
|
|
39
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "
|
|
39
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "placeholder" | "list" | "dateShowFormatter" | "entity" | "modelValue" | "readonly" | "disabledValue" | "tree" | "modelModifiers" | "modifier" | "showClear" | "onSearch">, "onFocus" | "onBlur" | "onClear" | "onChanged" | "onUpdate:modelValue" | ("disabled" | "placeholder" | "list" | "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>>;
|
|
@@ -4,6 +4,7 @@ declare const _default: <T extends IPayload>(__VLS_props: NonNullable<Awaited<ty
|
|
|
4
4
|
props: __VLS_PrettifyLocal<Pick<Partial<{
|
|
5
5
|
disabled: boolean;
|
|
6
6
|
default: string;
|
|
7
|
+
placeholder: string;
|
|
7
8
|
param: [{
|
|
8
9
|
type: PropType<T>;
|
|
9
10
|
default: () => null;
|
|
@@ -11,12 +12,12 @@ declare const _default: <T extends IPayload>(__VLS_props: NonNullable<Awaited<ty
|
|
|
11
12
|
type: PropType<T>;
|
|
12
13
|
default: () => null;
|
|
13
14
|
};
|
|
14
|
-
placeholder: string;
|
|
15
15
|
selectLabel: string;
|
|
16
16
|
clearLabel: string;
|
|
17
17
|
}> & Omit<{
|
|
18
18
|
readonly disabled: boolean;
|
|
19
19
|
readonly default: string;
|
|
20
|
+
readonly placeholder: string;
|
|
20
21
|
readonly param: Exclude<[{
|
|
21
22
|
type: PropType<T>;
|
|
22
23
|
default: () => null;
|
|
@@ -24,14 +25,13 @@ declare const _default: <T extends IPayload>(__VLS_props: NonNullable<Awaited<ty
|
|
|
24
25
|
type: PropType<T>;
|
|
25
26
|
default: () => null;
|
|
26
27
|
}, undefined>;
|
|
27
|
-
readonly placeholder: string;
|
|
28
28
|
readonly selectLabel: string;
|
|
29
29
|
readonly clearLabel: string;
|
|
30
30
|
readonly selector: Component;
|
|
31
31
|
readonly onClear?: (() => any) | undefined;
|
|
32
32
|
readonly onChanged?: ((data: T | undefined) => any) | undefined;
|
|
33
33
|
readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
34
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "default" | "
|
|
34
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "default" | "placeholder" | "param" | "selectLabel" | "clearLabel">, "onClear" | "onChanged" | "onUpdate:modelValue" | "selector" | ("disabled" | "default" | "placeholder" | "param" | "selectLabel" | "clearLabel")> & {
|
|
35
35
|
modelValue?: T;
|
|
36
36
|
} & Partial<{}>> & import('vue').PublicProps;
|
|
37
37
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
@@ -3,9 +3,9 @@ import { RootEntity } from '../../model/RootEntity';
|
|
|
3
3
|
declare const _default: <T extends ITree & RootEntity>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
4
|
props: __VLS_PrettifyLocal<Pick<Partial<{
|
|
5
5
|
width: number;
|
|
6
|
+
placeholder: string;
|
|
6
7
|
title: string;
|
|
7
8
|
hideIcon: boolean;
|
|
8
|
-
placeholder: string;
|
|
9
9
|
collapse: boolean;
|
|
10
10
|
defaultExpandAll: boolean;
|
|
11
11
|
hideTree: boolean;
|
|
@@ -14,9 +14,9 @@ declare const _default: <T extends ITree & RootEntity>(__VLS_props: NonNullable<
|
|
|
14
14
|
defaultCollapse: boolean;
|
|
15
15
|
}> & Omit<{
|
|
16
16
|
readonly width: number;
|
|
17
|
+
readonly placeholder: string;
|
|
17
18
|
readonly title: string;
|
|
18
19
|
readonly hideIcon: boolean;
|
|
19
|
-
readonly placeholder: string;
|
|
20
20
|
readonly collapse: boolean;
|
|
21
21
|
readonly defaultExpandAll: boolean;
|
|
22
22
|
readonly hideTree: boolean;
|
|
@@ -25,7 +25,7 @@ declare const _default: <T extends ITree & RootEntity>(__VLS_props: NonNullable<
|
|
|
25
25
|
readonly isTreeLoading: boolean;
|
|
26
26
|
readonly defaultCollapse: boolean;
|
|
27
27
|
readonly onChanged?: ((data: T | undefined) => any) | undefined;
|
|
28
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "width" | "
|
|
28
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "width" | "placeholder" | "title" | "hideIcon" | "collapse" | "defaultExpandAll" | "hideTree" | "searchable" | "isTreeLoading" | "defaultCollapse">, "onChanged" | "treeData" | ("width" | "placeholder" | "title" | "hideIcon" | "collapse" | "defaultExpandAll" | "hideTree" | "searchable" | "isTreeLoading" | "defaultCollapse")> & {} & Partial<{}>> & import('vue').PublicProps;
|
|
29
29
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
30
30
|
attrs: any;
|
|
31
31
|
slots: {
|
package/dist/main.js
CHANGED
|
@@ -2115,7 +2115,8 @@ class I18n {
|
|
|
2115
2115
|
*/
|
|
2116
2116
|
static addLanguage(...languages) {
|
|
2117
2117
|
if (languages.length === 0) {
|
|
2118
|
-
|
|
2118
|
+
console.error("请传入语言包");
|
|
2119
|
+
return;
|
|
2119
2120
|
}
|
|
2120
2121
|
I18n.update(new this());
|
|
2121
2122
|
languages.forEach((item) => {
|
|
@@ -17263,7 +17264,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
17263
17264
|
onClick: ($event) => props.props.onConfirm(data)
|
|
17264
17265
|
}, {
|
|
17265
17266
|
default: withCtx(() => _cache[2] || (_cache[2] = [
|
|
17266
|
-
createTextVNode(" 选择 ")
|
|
17267
|
+
createTextVNode(" 选择 ", -1)
|
|
17267
17268
|
])),
|
|
17268
17269
|
_: 2,
|
|
17269
17270
|
__: [2]
|