@a2simcode/ui 0.0.2 → 0.0.4
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/README.md +1 -0
- package/dist/components/autocomplete/index.d.ts +118 -0
- package/dist/components/autocomplete/src/autocomplete.vue.d.ts +109 -0
- package/dist/components/barcode/index.d.ts +114 -0
- package/dist/components/barcode/src/barcode.vue.d.ts +101 -0
- package/dist/components/button/index.d.ts +278 -0
- package/dist/components/button/src/button.vue.d.ts +268 -0
- package/dist/components/buttons/index.d.ts +81 -0
- package/dist/components/buttons/src/index.vue.d.ts +76 -0
- package/dist/components/buttons/src/interface.d.ts +128 -0
- package/dist/components/buttons/src/useButtons.d.ts +4 -0
- package/dist/components/cascader-select/index.d.ts +142 -0
- package/dist/components/cascader-select/src/cascader-select.vue.d.ts +128 -0
- package/dist/components/checkbox/index.d.ts +73 -0
- package/dist/components/checkbox/src/checkbox.vue.d.ts +55 -0
- package/dist/components/code-mirror/index.d.ts +74 -0
- package/dist/components/code-mirror/src/code-mirror.vue.d.ts +45 -0
- package/dist/components/comp/index.d.ts +157 -0
- package/dist/components/comp/src/comp.vue.d.ts +164 -0
- package/dist/components/dialog/index.d.ts +416 -0
- package/dist/components/dialog/src/index.vue.d.ts +404 -0
- package/dist/components/dialog-full/index.d.ts +311 -0
- package/dist/components/dialog-full/src/index.vue.d.ts +287 -0
- package/dist/components/drawer/index.d.ts +335 -0
- package/dist/components/drawer/src/drawer.vue.d.ts +337 -0
- package/dist/components/dynamic-layer/index.d.ts +25 -0
- package/dist/components/dynamic-layer/src/dynamic-layer.vue.d.ts +8 -0
- package/dist/components/dynamic-layer/src/interface.d.ts +66 -0
- package/dist/components/echarts/index.d.ts +177 -0
- package/dist/components/echarts/src/echarts.vue.d.ts +118 -0
- package/dist/components/form/index.d.ts +194 -0
- package/dist/components/form/src/form.vue.d.ts +106 -0
- package/dist/components/form/src/interface.d.ts +138 -0
- package/dist/components/form/src/useForm/index.d.ts +9 -0
- package/dist/components/form/src/useForm/interface.d.ts +170 -0
- package/dist/components/form/src/useForm/validateUtil.d.ts +5 -0
- package/dist/components/form-item/index.d.ts +112 -0
- package/dist/components/form-item/src/form-item.vue.d.ts +97 -0
- package/dist/components/icon/index.d.ts +31 -0
- package/dist/components/icon/src/icon.vue.d.ts +33 -0
- package/dist/components/index.d.ts +35 -0
- package/dist/components/input/index.d.ts +111 -0
- package/dist/components/input/src/input.vue.d.ts +110 -0
- package/dist/components/input-tag/index.d.ts +75 -0
- package/dist/components/input-tag/src/input-tag.vue.d.ts +40 -0
- package/dist/components/layer/index.d.ts +284 -0
- package/dist/components/layer/src/layer.vue.d.ts +263 -0
- package/dist/components/layout/__tests__/layout.test.d.ts +1 -0
- package/dist/components/layout/index.d.ts +173 -0
- package/dist/components/layout/src/layout.vue.d.ts +187 -0
- package/dist/components/number/index.d.ts +85 -0
- package/dist/components/number/src/number.vue.d.ts +78 -0
- package/dist/components/page/index.d.ts +67 -0
- package/dist/components/page/src/interface.d.ts +22 -0
- package/dist/components/page/src/page.vue.d.ts +52 -0
- package/dist/components/radio/index.d.ts +152 -0
- package/dist/components/radio/src/radio.vue.d.ts +123 -0
- package/dist/components/rate/index.d.ts +71 -0
- package/dist/components/rate/src/rate.vue.d.ts +42 -0
- package/dist/components/select/index.d.ts +88 -0
- package/dist/components/select/src/select.vue.d.ts +75 -0
- package/dist/components/slider/index.d.ts +89 -0
- package/dist/components/slider/src/slider.vue.d.ts +76 -0
- package/dist/components/table/index.d.ts +160 -0
- package/dist/components/table/src/table.vue.d.ts +143 -0
- package/dist/components/upload/index.d.ts +405 -0
- package/dist/components/upload/src/list.vue.d.ts +103 -0
- package/dist/components/upload/src/upload.vue.d.ts +367 -0
- package/dist/components/upload/src/utils.d.ts +2 -0
- package/dist/{utils → components/utils}/index.d.ts +0 -1
- package/dist/core/index.d.ts +1 -0
- package/dist/core/utils/cipher.d.ts +21 -0
- package/dist/core/utils/common.d.ts +41 -0
- package/dist/core/utils/comp.d.ts +9 -0
- package/dist/core/utils/date.d.ts +3 -0
- package/dist/core/utils/dom.d.ts +4 -0
- package/dist/core/utils/index.d.ts +6 -0
- package/dist/core/utils/is.d.ts +2 -0
- package/dist/index.d.ts +6 -9
- package/dist/simcode-ui.es.js +5021 -81
- package/dist/simcode-ui.umd.js +1 -1
- package/dist/stats.html +4949 -0
- package/dist/ui.css +1 -0
- package/package.json +36 -22
- package/dist/button/index.d.ts +0 -157
- package/dist/button/src/button.vue.d.ts +0 -78
- package/dist/input/index.d.ts +0 -137
- package/dist/input/src/input.vue.d.ts +0 -64
- package/dist/style.css +0 -1
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { Component } from 'vue';
|
|
2
|
+
export interface InputProps {
|
|
3
|
+
/** 绑定值 */
|
|
4
|
+
modelValue?: string | number;
|
|
5
|
+
/** 输入类型,更多信息请参见 MDN */
|
|
6
|
+
type?: string;
|
|
7
|
+
/** v-model 修饰符,参考 Vue 修饰符 */
|
|
8
|
+
modelModifiers?: Record<string, boolean>;
|
|
9
|
+
/** 同原生 maxlength 属性 */
|
|
10
|
+
maxlength?: string | number;
|
|
11
|
+
/** 原生属性,最小输入长度 */
|
|
12
|
+
minlength?: string | number;
|
|
13
|
+
/** 是否显示统计字数, 只在 type 为 'text' 或 'textarea' 的时候生效 */
|
|
14
|
+
showWordLimit?: boolean;
|
|
15
|
+
/** 字数统计的位置,仅当 show-word-limit 为 true 时生效 */
|
|
16
|
+
wordLimitPosition?: 'inside' | 'outside';
|
|
17
|
+
/** 输入框占位文本 */
|
|
18
|
+
placeholder?: string;
|
|
19
|
+
/** 是否显示清除按钮,只有当 type 不是 textarea时生效 */
|
|
20
|
+
clearable?: boolean;
|
|
21
|
+
/** 自定义清除图标 */
|
|
22
|
+
clearIcon?: string | Component;
|
|
23
|
+
/** 指定输入值的格式。(只有当 type 是"text"时才能工作) */
|
|
24
|
+
formatter?: (value: string | number) => string;
|
|
25
|
+
/** 指定从格式化器输入中提取的值。(仅当 type 是"text"时才起作用) */
|
|
26
|
+
parser?: (value: string) => string | number;
|
|
27
|
+
/** 是否显示切换密码图标 */
|
|
28
|
+
showPassword?: boolean;
|
|
29
|
+
/** 是否禁用 */
|
|
30
|
+
disabled?: boolean;
|
|
31
|
+
/** 输入框尺寸,只在 type 不为 'textarea' 时有效 */
|
|
32
|
+
size?: 'large' | 'default' | 'small';
|
|
33
|
+
/** 自定义前缀图标 */
|
|
34
|
+
prefixIcon?: string;
|
|
35
|
+
/** 自定义后缀图标 */
|
|
36
|
+
suffixIcon?: string;
|
|
37
|
+
/** 输入框行数,仅 type 为 'textarea' 时有效 */
|
|
38
|
+
rows?: number;
|
|
39
|
+
/** textarea 高度是否自适应,仅 type 为 'textarea' 时生效。 可以接受一个对象,比如: { minRows: 2, maxRows: 6 } */
|
|
40
|
+
autosize?: boolean | {
|
|
41
|
+
minRows?: number;
|
|
42
|
+
maxRows?: number;
|
|
43
|
+
};
|
|
44
|
+
/** 原生 autocomplete 属性 */
|
|
45
|
+
autocomplete?: string;
|
|
46
|
+
/** 等价于原生 input name 属性 */
|
|
47
|
+
name?: string;
|
|
48
|
+
/** 原生 readonly 属性,是否只读 */
|
|
49
|
+
readonly?: boolean;
|
|
50
|
+
/** 原生 max 属性,设置最大值 */
|
|
51
|
+
max?: string | number;
|
|
52
|
+
/** 原生属性,设置最小值 */
|
|
53
|
+
min?: string | number;
|
|
54
|
+
/** 原生属性,设置输入字段的合法数字间隔 */
|
|
55
|
+
step?: string | number;
|
|
56
|
+
/** 控制是否能被用户缩放 */
|
|
57
|
+
resize?: 'none' | 'both' | 'horizontal' | 'vertical';
|
|
58
|
+
/** 原生属性,自动获取焦点 */
|
|
59
|
+
autofocus?: boolean;
|
|
60
|
+
/** 原生属性 */
|
|
61
|
+
form?: string;
|
|
62
|
+
/** 等价于原生 input aria-label 属性 */
|
|
63
|
+
ariaLabel?: string;
|
|
64
|
+
/** 输入框的 tabindex */
|
|
65
|
+
tabindex?: string | number;
|
|
66
|
+
/** 输入时是否触发表单的校验 */
|
|
67
|
+
validateEvent?: boolean;
|
|
68
|
+
/** input 元素或 textarea 元素的 style */
|
|
69
|
+
inputStyle?: string | Record<string, string | number>;
|
|
70
|
+
/** 等价于原生 input aria-label 属性 (已废弃) */
|
|
71
|
+
label?: string;
|
|
72
|
+
/** 等价于原生 input inputmode 属性 */
|
|
73
|
+
inputmode?: string;
|
|
74
|
+
}
|
|
75
|
+
declare const _default: import('vue').DefineComponent<InputProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
76
|
+
clear: () => any;
|
|
77
|
+
input: (value: string | number) => any;
|
|
78
|
+
focus: (evt: FocusEvent) => any;
|
|
79
|
+
blur: (evt: FocusEvent) => any;
|
|
80
|
+
"update:modelValue": (value: string | number) => any;
|
|
81
|
+
change: (value: string | number) => any;
|
|
82
|
+
}, string, import('vue').PublicProps, Readonly<InputProps> & Readonly<{
|
|
83
|
+
onClear?: (() => any) | undefined;
|
|
84
|
+
onInput?: ((value: string | number) => any) | undefined;
|
|
85
|
+
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
86
|
+
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
87
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
88
|
+
onChange?: ((value: string | number) => any) | undefined;
|
|
89
|
+
}>, {
|
|
90
|
+
size: "large" | "default" | "small";
|
|
91
|
+
type: string;
|
|
92
|
+
disabled: boolean;
|
|
93
|
+
readonly: boolean;
|
|
94
|
+
modelValue: string | number;
|
|
95
|
+
showWordLimit: boolean;
|
|
96
|
+
wordLimitPosition: "inside" | "outside";
|
|
97
|
+
placeholder: string;
|
|
98
|
+
clearable: boolean;
|
|
99
|
+
showPassword: boolean;
|
|
100
|
+
rows: number;
|
|
101
|
+
autosize: boolean | {
|
|
102
|
+
minRows?: number;
|
|
103
|
+
maxRows?: number;
|
|
104
|
+
};
|
|
105
|
+
autocomplete: string;
|
|
106
|
+
autofocus: boolean;
|
|
107
|
+
validateEvent: boolean;
|
|
108
|
+
inputStyle: string | Record<string, string | number>;
|
|
109
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
110
|
+
export default _default;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
export declare const JInputTag: {
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./src/input-tag.vue').InputTagProps> & Readonly<{
|
|
3
|
+
onSearch?: ((value: any) => any) | undefined;
|
|
4
|
+
onSelect?: ((value: any) => any) | undefined;
|
|
5
|
+
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
6
|
+
onChange?: ((value: {
|
|
7
|
+
value: string;
|
|
8
|
+
}) => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
+
search: (value: any) => any;
|
|
11
|
+
select: (value: any) => any;
|
|
12
|
+
"update:modelValue": (value: string | undefined) => any;
|
|
13
|
+
change: (value: {
|
|
14
|
+
value: string;
|
|
15
|
+
}) => any;
|
|
16
|
+
}, import('vue').PublicProps, {
|
|
17
|
+
size: "small" | "default" | "large";
|
|
18
|
+
readonly: boolean;
|
|
19
|
+
modelValue: string;
|
|
20
|
+
placeholder: string;
|
|
21
|
+
options: any[];
|
|
22
|
+
colors: any[];
|
|
23
|
+
isStyleLoop: boolean;
|
|
24
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
25
|
+
P: {};
|
|
26
|
+
B: {};
|
|
27
|
+
D: {};
|
|
28
|
+
C: {};
|
|
29
|
+
M: {};
|
|
30
|
+
Defaults: {};
|
|
31
|
+
}, Readonly<import('./src/input-tag.vue').InputTagProps> & Readonly<{
|
|
32
|
+
onSearch?: ((value: any) => any) | undefined;
|
|
33
|
+
onSelect?: ((value: any) => any) | undefined;
|
|
34
|
+
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
35
|
+
onChange?: ((value: {
|
|
36
|
+
value: string;
|
|
37
|
+
}) => any) | undefined;
|
|
38
|
+
}>, {}, {}, {}, {}, {
|
|
39
|
+
size: "small" | "default" | "large";
|
|
40
|
+
readonly: boolean;
|
|
41
|
+
modelValue: string;
|
|
42
|
+
placeholder: string;
|
|
43
|
+
options: any[];
|
|
44
|
+
colors: any[];
|
|
45
|
+
isStyleLoop: boolean;
|
|
46
|
+
}>;
|
|
47
|
+
__isFragment?: never;
|
|
48
|
+
__isTeleport?: never;
|
|
49
|
+
__isSuspense?: never;
|
|
50
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./src/input-tag.vue').InputTagProps> & Readonly<{
|
|
51
|
+
onSearch?: ((value: any) => any) | undefined;
|
|
52
|
+
onSelect?: ((value: any) => any) | undefined;
|
|
53
|
+
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
54
|
+
onChange?: ((value: {
|
|
55
|
+
value: string;
|
|
56
|
+
}) => any) | undefined;
|
|
57
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
58
|
+
search: (value: any) => any;
|
|
59
|
+
select: (value: any) => any;
|
|
60
|
+
"update:modelValue": (value: string | undefined) => any;
|
|
61
|
+
change: (value: {
|
|
62
|
+
value: string;
|
|
63
|
+
}) => any;
|
|
64
|
+
}, string, {
|
|
65
|
+
size: "small" | "default" | "large";
|
|
66
|
+
readonly: boolean;
|
|
67
|
+
modelValue: string;
|
|
68
|
+
placeholder: string;
|
|
69
|
+
options: any[];
|
|
70
|
+
colors: any[];
|
|
71
|
+
isStyleLoop: boolean;
|
|
72
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
|
73
|
+
install: (app: import('vue').App) => void;
|
|
74
|
+
};
|
|
75
|
+
export default JInputTag;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export interface InputTagProps {
|
|
2
|
+
/** 输入值 */
|
|
3
|
+
modelValue?: string;
|
|
4
|
+
/** 自动完成的数据源 */
|
|
5
|
+
options?: any[];
|
|
6
|
+
/** 输入框提示 */
|
|
7
|
+
placeholder?: string;
|
|
8
|
+
/** 是否只读 */
|
|
9
|
+
readonly?: boolean;
|
|
10
|
+
/** 颜色组 */
|
|
11
|
+
colors?: any[];
|
|
12
|
+
/** 样式是否循环 */
|
|
13
|
+
isStyleLoop?: boolean;
|
|
14
|
+
/** 尺寸 */
|
|
15
|
+
size?: 'small' | 'default' | 'large';
|
|
16
|
+
}
|
|
17
|
+
declare const _default: import('vue').DefineComponent<InputTagProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
|
+
search: (value: any) => any;
|
|
19
|
+
select: (value: any) => any;
|
|
20
|
+
"update:modelValue": (value: string | undefined) => any;
|
|
21
|
+
change: (value: {
|
|
22
|
+
value: string;
|
|
23
|
+
}) => any;
|
|
24
|
+
}, string, import('vue').PublicProps, Readonly<InputTagProps> & Readonly<{
|
|
25
|
+
onSearch?: ((value: any) => any) | undefined;
|
|
26
|
+
onSelect?: ((value: any) => any) | undefined;
|
|
27
|
+
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
28
|
+
onChange?: ((value: {
|
|
29
|
+
value: string;
|
|
30
|
+
}) => any) | undefined;
|
|
31
|
+
}>, {
|
|
32
|
+
size: "small" | "default" | "large";
|
|
33
|
+
readonly: boolean;
|
|
34
|
+
modelValue: string;
|
|
35
|
+
placeholder: string;
|
|
36
|
+
options: any[];
|
|
37
|
+
colors: any[];
|
|
38
|
+
isStyleLoop: boolean;
|
|
39
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
40
|
+
export default _default;
|
|
@@ -0,0 +1,284 @@
|
|
|
1
|
+
export declare const JLayer: {
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
3
|
+
width: {
|
|
4
|
+
type: NumberConstructor;
|
|
5
|
+
default: number;
|
|
6
|
+
};
|
|
7
|
+
height: {
|
|
8
|
+
type: NumberConstructor;
|
|
9
|
+
default: number;
|
|
10
|
+
};
|
|
11
|
+
isStep: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
steps: {
|
|
16
|
+
type: {
|
|
17
|
+
(arrayLength: number): string[];
|
|
18
|
+
(...items: string[]): string[];
|
|
19
|
+
new (arrayLength: number): string[];
|
|
20
|
+
new (...items: string[]): string[];
|
|
21
|
+
isArray(arg: any): arg is any[];
|
|
22
|
+
readonly prototype: any[];
|
|
23
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
24
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
25
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
26
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
27
|
+
of<T>(...items: T[]): T[];
|
|
28
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
29
|
+
};
|
|
30
|
+
default: () => never[];
|
|
31
|
+
};
|
|
32
|
+
hasHeader: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
hasBtns: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
hasSaveBtn: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
44
|
+
btnText: {
|
|
45
|
+
type: StringConstructor;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
buttons: {
|
|
49
|
+
type: import('vue').PropType<import('../buttons/src/interface').buttonItem[]>;
|
|
50
|
+
default: () => never[];
|
|
51
|
+
};
|
|
52
|
+
destroyOnClose: {
|
|
53
|
+
type: BooleanConstructor;
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
56
|
+
validateSteps: {
|
|
57
|
+
type: FunctionConstructor;
|
|
58
|
+
default: undefined;
|
|
59
|
+
};
|
|
60
|
+
beforeClose: {
|
|
61
|
+
type: FunctionConstructor;
|
|
62
|
+
default: undefined;
|
|
63
|
+
};
|
|
64
|
+
}>> & Readonly<{
|
|
65
|
+
onOk?: ((...args: any[]) => any) | undefined;
|
|
66
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
67
|
+
onClosed?: ((...args: any[]) => any) | undefined;
|
|
68
|
+
}>, {
|
|
69
|
+
open: (layerTitle: string, type?: string, layerSubtitle?: any) => void;
|
|
70
|
+
close: () => void;
|
|
71
|
+
showLoading: (text?: string) => void;
|
|
72
|
+
hideLoading: () => void;
|
|
73
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
74
|
+
ok: (...args: any[]) => void;
|
|
75
|
+
cancel: (...args: any[]) => void;
|
|
76
|
+
closed: (...args: any[]) => void;
|
|
77
|
+
}, import('vue').PublicProps, {
|
|
78
|
+
height: number;
|
|
79
|
+
width: number;
|
|
80
|
+
buttons: import('../buttons/src/interface').buttonItem[];
|
|
81
|
+
destroyOnClose: boolean;
|
|
82
|
+
hasBtns: boolean;
|
|
83
|
+
hasSaveBtn: boolean;
|
|
84
|
+
btnText: string;
|
|
85
|
+
isStep: boolean;
|
|
86
|
+
steps: string[];
|
|
87
|
+
validateSteps: Function;
|
|
88
|
+
beforeClose: Function;
|
|
89
|
+
hasHeader: boolean;
|
|
90
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
91
|
+
modalRef: unknown;
|
|
92
|
+
}, any, import('vue').ComponentProvideOptions, {
|
|
93
|
+
P: {};
|
|
94
|
+
B: {};
|
|
95
|
+
D: {};
|
|
96
|
+
C: {};
|
|
97
|
+
M: {};
|
|
98
|
+
Defaults: {};
|
|
99
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
100
|
+
width: {
|
|
101
|
+
type: NumberConstructor;
|
|
102
|
+
default: number;
|
|
103
|
+
};
|
|
104
|
+
height: {
|
|
105
|
+
type: NumberConstructor;
|
|
106
|
+
default: number;
|
|
107
|
+
};
|
|
108
|
+
isStep: {
|
|
109
|
+
type: BooleanConstructor;
|
|
110
|
+
default: boolean;
|
|
111
|
+
};
|
|
112
|
+
steps: {
|
|
113
|
+
type: {
|
|
114
|
+
(arrayLength: number): string[];
|
|
115
|
+
(...items: string[]): string[];
|
|
116
|
+
new (arrayLength: number): string[];
|
|
117
|
+
new (...items: string[]): string[];
|
|
118
|
+
isArray(arg: any): arg is any[];
|
|
119
|
+
readonly prototype: any[];
|
|
120
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
121
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
122
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
123
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
124
|
+
of<T>(...items: T[]): T[];
|
|
125
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
126
|
+
};
|
|
127
|
+
default: () => never[];
|
|
128
|
+
};
|
|
129
|
+
hasHeader: {
|
|
130
|
+
type: BooleanConstructor;
|
|
131
|
+
default: boolean;
|
|
132
|
+
};
|
|
133
|
+
hasBtns: {
|
|
134
|
+
type: BooleanConstructor;
|
|
135
|
+
default: boolean;
|
|
136
|
+
};
|
|
137
|
+
hasSaveBtn: {
|
|
138
|
+
type: BooleanConstructor;
|
|
139
|
+
default: boolean;
|
|
140
|
+
};
|
|
141
|
+
btnText: {
|
|
142
|
+
type: StringConstructor;
|
|
143
|
+
default: string;
|
|
144
|
+
};
|
|
145
|
+
buttons: {
|
|
146
|
+
type: import('vue').PropType<import('../buttons/src/interface').buttonItem[]>;
|
|
147
|
+
default: () => never[];
|
|
148
|
+
};
|
|
149
|
+
destroyOnClose: {
|
|
150
|
+
type: BooleanConstructor;
|
|
151
|
+
default: boolean;
|
|
152
|
+
};
|
|
153
|
+
validateSteps: {
|
|
154
|
+
type: FunctionConstructor;
|
|
155
|
+
default: undefined;
|
|
156
|
+
};
|
|
157
|
+
beforeClose: {
|
|
158
|
+
type: FunctionConstructor;
|
|
159
|
+
default: undefined;
|
|
160
|
+
};
|
|
161
|
+
}>> & Readonly<{
|
|
162
|
+
onOk?: ((...args: any[]) => any) | undefined;
|
|
163
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
164
|
+
onClosed?: ((...args: any[]) => any) | undefined;
|
|
165
|
+
}>, {
|
|
166
|
+
open: (layerTitle: string, type?: string, layerSubtitle?: any) => void;
|
|
167
|
+
close: () => void;
|
|
168
|
+
showLoading: (text?: string) => void;
|
|
169
|
+
hideLoading: () => void;
|
|
170
|
+
}, {}, {}, {}, {
|
|
171
|
+
height: number;
|
|
172
|
+
width: number;
|
|
173
|
+
buttons: import('../buttons/src/interface').buttonItem[];
|
|
174
|
+
destroyOnClose: boolean;
|
|
175
|
+
hasBtns: boolean;
|
|
176
|
+
hasSaveBtn: boolean;
|
|
177
|
+
btnText: string;
|
|
178
|
+
isStep: boolean;
|
|
179
|
+
steps: string[];
|
|
180
|
+
validateSteps: Function;
|
|
181
|
+
beforeClose: Function;
|
|
182
|
+
hasHeader: boolean;
|
|
183
|
+
}>;
|
|
184
|
+
__isFragment?: never;
|
|
185
|
+
__isTeleport?: never;
|
|
186
|
+
__isSuspense?: never;
|
|
187
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
188
|
+
width: {
|
|
189
|
+
type: NumberConstructor;
|
|
190
|
+
default: number;
|
|
191
|
+
};
|
|
192
|
+
height: {
|
|
193
|
+
type: NumberConstructor;
|
|
194
|
+
default: number;
|
|
195
|
+
};
|
|
196
|
+
isStep: {
|
|
197
|
+
type: BooleanConstructor;
|
|
198
|
+
default: boolean;
|
|
199
|
+
};
|
|
200
|
+
steps: {
|
|
201
|
+
type: {
|
|
202
|
+
(arrayLength: number): string[];
|
|
203
|
+
(...items: string[]): string[];
|
|
204
|
+
new (arrayLength: number): string[];
|
|
205
|
+
new (...items: string[]): string[];
|
|
206
|
+
isArray(arg: any): arg is any[];
|
|
207
|
+
readonly prototype: any[];
|
|
208
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
209
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
210
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
211
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
212
|
+
of<T>(...items: T[]): T[];
|
|
213
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
214
|
+
};
|
|
215
|
+
default: () => never[];
|
|
216
|
+
};
|
|
217
|
+
hasHeader: {
|
|
218
|
+
type: BooleanConstructor;
|
|
219
|
+
default: boolean;
|
|
220
|
+
};
|
|
221
|
+
hasBtns: {
|
|
222
|
+
type: BooleanConstructor;
|
|
223
|
+
default: boolean;
|
|
224
|
+
};
|
|
225
|
+
hasSaveBtn: {
|
|
226
|
+
type: BooleanConstructor;
|
|
227
|
+
default: boolean;
|
|
228
|
+
};
|
|
229
|
+
btnText: {
|
|
230
|
+
type: StringConstructor;
|
|
231
|
+
default: string;
|
|
232
|
+
};
|
|
233
|
+
buttons: {
|
|
234
|
+
type: import('vue').PropType<import('../buttons/src/interface').buttonItem[]>;
|
|
235
|
+
default: () => never[];
|
|
236
|
+
};
|
|
237
|
+
destroyOnClose: {
|
|
238
|
+
type: BooleanConstructor;
|
|
239
|
+
default: boolean;
|
|
240
|
+
};
|
|
241
|
+
validateSteps: {
|
|
242
|
+
type: FunctionConstructor;
|
|
243
|
+
default: undefined;
|
|
244
|
+
};
|
|
245
|
+
beforeClose: {
|
|
246
|
+
type: FunctionConstructor;
|
|
247
|
+
default: undefined;
|
|
248
|
+
};
|
|
249
|
+
}>> & Readonly<{
|
|
250
|
+
onOk?: ((...args: any[]) => any) | undefined;
|
|
251
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
252
|
+
onClosed?: ((...args: any[]) => any) | undefined;
|
|
253
|
+
}>, {
|
|
254
|
+
open: (layerTitle: string, type?: string, layerSubtitle?: any) => void;
|
|
255
|
+
close: () => void;
|
|
256
|
+
showLoading: (text?: string) => void;
|
|
257
|
+
hideLoading: () => void;
|
|
258
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
259
|
+
ok: (...args: any[]) => void;
|
|
260
|
+
cancel: (...args: any[]) => void;
|
|
261
|
+
closed: (...args: any[]) => void;
|
|
262
|
+
}, string, {
|
|
263
|
+
height: number;
|
|
264
|
+
width: number;
|
|
265
|
+
buttons: import('../buttons/src/interface').buttonItem[];
|
|
266
|
+
destroyOnClose: boolean;
|
|
267
|
+
hasBtns: boolean;
|
|
268
|
+
hasSaveBtn: boolean;
|
|
269
|
+
btnText: string;
|
|
270
|
+
isStep: boolean;
|
|
271
|
+
steps: string[];
|
|
272
|
+
validateSteps: Function;
|
|
273
|
+
beforeClose: Function;
|
|
274
|
+
hasHeader: boolean;
|
|
275
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
276
|
+
$slots: {
|
|
277
|
+
default?(_: {}): any;
|
|
278
|
+
default?(_: {}): any;
|
|
279
|
+
default?(_: {}): any;
|
|
280
|
+
};
|
|
281
|
+
}) & {
|
|
282
|
+
install: (app: import('vue').App) => void;
|
|
283
|
+
};
|
|
284
|
+
export default JLayer;
|