snail.vue 1.0.20 → 1.0.22
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/dist/snail.vue.d.ts +251 -37
- package/dist/snail.vue.js +349 -65
- package/dist/snail.vue.umd.js +347 -62
- package/dist/{css → styles}/snail.vue.vue.css +22 -16
- package/package.json +4 -3
package/dist/snail.vue.d.ts
CHANGED
|
@@ -1,23 +1,8 @@
|
|
|
1
|
+
import { AlignStyle, SizeOptions } from 'snail.style';
|
|
1
2
|
import * as vue from 'vue';
|
|
2
3
|
import { Component, App, Ref, ShallowRef } from 'vue';
|
|
3
4
|
import { IScope } from 'snail.core';
|
|
4
5
|
|
|
5
|
-
/**
|
|
6
|
-
* 无数据提醒的配置选项
|
|
7
|
-
*/
|
|
8
|
-
type NoDataOptions = {
|
|
9
|
-
/**
|
|
10
|
-
* 提醒消息
|
|
11
|
-
* - 默认值:无数据
|
|
12
|
-
*/
|
|
13
|
-
message?: string;
|
|
14
|
-
/**
|
|
15
|
-
* 无数据提醒图标Url地址
|
|
16
|
-
* - 不传入则使用默认的
|
|
17
|
-
*/
|
|
18
|
-
imageUrl?: string;
|
|
19
|
-
};
|
|
20
|
-
|
|
21
6
|
/**
|
|
22
7
|
* loading提示框的配置选项
|
|
23
8
|
*/
|
|
@@ -44,6 +29,22 @@ type LoadingOptions = {
|
|
|
44
29
|
transition?: string;
|
|
45
30
|
};
|
|
46
31
|
|
|
32
|
+
/**
|
|
33
|
+
* 空状态配置选项
|
|
34
|
+
*/
|
|
35
|
+
type EmptyOptions = {
|
|
36
|
+
/**
|
|
37
|
+
* 提醒消息
|
|
38
|
+
* - 默认值:无数据
|
|
39
|
+
*/
|
|
40
|
+
message?: string;
|
|
41
|
+
/**
|
|
42
|
+
* 提醒图标Url地址
|
|
43
|
+
* - 不传入则使用默认的
|
|
44
|
+
*/
|
|
45
|
+
imageUrl?: string;
|
|
46
|
+
};
|
|
47
|
+
|
|
47
48
|
/**
|
|
48
49
|
* 拖动验证配置选项
|
|
49
50
|
*/
|
|
@@ -75,6 +76,63 @@ type DragVerifyInfo = {
|
|
|
75
76
|
distance: number;
|
|
76
77
|
};
|
|
77
78
|
|
|
79
|
+
/**
|
|
80
|
+
* 输入框配置选项
|
|
81
|
+
*/
|
|
82
|
+
type InputOptions = {
|
|
83
|
+
/**
|
|
84
|
+
* 输入框类型
|
|
85
|
+
* - text: 文本输入框
|
|
86
|
+
* - number: 数字输入框
|
|
87
|
+
* - password: 密码输入框
|
|
88
|
+
*/
|
|
89
|
+
type?: "text" | "number" | "password";
|
|
90
|
+
/**
|
|
91
|
+
* 输入框标题
|
|
92
|
+
* - 不传入则不展示 标题区域
|
|
93
|
+
*/
|
|
94
|
+
title?: string;
|
|
95
|
+
/**
|
|
96
|
+
* 输入框是否必填
|
|
97
|
+
* - 必填,则验证不通过时,显示错误信息
|
|
98
|
+
* - 必填时,显示必填标记,红色 * 号
|
|
99
|
+
*/
|
|
100
|
+
required?: boolean;
|
|
101
|
+
/**
|
|
102
|
+
* 输入框提示语
|
|
103
|
+
*/
|
|
104
|
+
placeholder?: string;
|
|
105
|
+
/**
|
|
106
|
+
* 是否为只读状态
|
|
107
|
+
*/
|
|
108
|
+
readonly?: boolean;
|
|
109
|
+
/**
|
|
110
|
+
* 是否为禁用状态
|
|
111
|
+
* - 暂时不对外开放
|
|
112
|
+
disabled?: boolean;
|
|
113
|
+
*/
|
|
114
|
+
/**
|
|
115
|
+
* 标题区域样式
|
|
116
|
+
* - 对齐方式
|
|
117
|
+
* - 标题区域宽度
|
|
118
|
+
*/
|
|
119
|
+
titleStyle?: AlignStyle & SizeOptions;
|
|
120
|
+
};
|
|
121
|
+
/**
|
|
122
|
+
* 输入框事件
|
|
123
|
+
*/
|
|
124
|
+
type InputEvents = {
|
|
125
|
+
/**
|
|
126
|
+
* 输入框点击时
|
|
127
|
+
*/
|
|
128
|
+
click: [];
|
|
129
|
+
/**
|
|
130
|
+
* 输入框内容发生改变时
|
|
131
|
+
* @param value 输入框内容
|
|
132
|
+
*/
|
|
133
|
+
change: [value: string];
|
|
134
|
+
};
|
|
135
|
+
|
|
78
136
|
/**
|
|
79
137
|
* 滚动视图配置选项
|
|
80
138
|
*/
|
|
@@ -212,6 +270,42 @@ type TableColOptions = {
|
|
|
212
270
|
paddingStyle?: string;
|
|
213
271
|
};
|
|
214
272
|
|
|
273
|
+
/**
|
|
274
|
+
* 折叠面板配置选项
|
|
275
|
+
*/
|
|
276
|
+
type FoldOptions = {
|
|
277
|
+
/**
|
|
278
|
+
* 折叠面板标题
|
|
279
|
+
*/
|
|
280
|
+
title?: string;
|
|
281
|
+
/**
|
|
282
|
+
* 副标题
|
|
283
|
+
* - 跟随在title后
|
|
284
|
+
*/
|
|
285
|
+
subtitle?: string;
|
|
286
|
+
/**
|
|
287
|
+
* 使用禁用【折叠】功能
|
|
288
|
+
* - true 则禁用折叠,始终展开内容区域
|
|
289
|
+
*/
|
|
290
|
+
disable?: boolean;
|
|
291
|
+
};
|
|
292
|
+
/**
|
|
293
|
+
* 折叠状态
|
|
294
|
+
* - expand : 展开状态
|
|
295
|
+
* - fold : 折叠状态
|
|
296
|
+
*/
|
|
297
|
+
type FoldStatus = "expand" | "fold";
|
|
298
|
+
/**
|
|
299
|
+
* 折叠面板事件
|
|
300
|
+
*/
|
|
301
|
+
type FoldEvents = {
|
|
302
|
+
/**
|
|
303
|
+
* 折叠状态发生改变时
|
|
304
|
+
* @param status 折叠状态
|
|
305
|
+
*/
|
|
306
|
+
change: [status: FoldStatus];
|
|
307
|
+
};
|
|
308
|
+
|
|
215
309
|
/**
|
|
216
310
|
* 组件配置选项
|
|
217
311
|
*/
|
|
@@ -250,6 +344,26 @@ type ComponentMountOptions = ComponentOptions & {
|
|
|
250
344
|
props?: Record<string, any>;
|
|
251
345
|
};
|
|
252
346
|
|
|
347
|
+
/**
|
|
348
|
+
* 开关 配置选项
|
|
349
|
+
*/
|
|
350
|
+
type SwitchOptions = {
|
|
351
|
+
/**
|
|
352
|
+
* 是否只读
|
|
353
|
+
*/
|
|
354
|
+
readonly?: boolean;
|
|
355
|
+
};
|
|
356
|
+
/**
|
|
357
|
+
* 开关 事件
|
|
358
|
+
*/
|
|
359
|
+
type SwitchEvents = {
|
|
360
|
+
/**
|
|
361
|
+
* 开关 状态变化时
|
|
362
|
+
* @param value 开启、还是关闭
|
|
363
|
+
*/
|
|
364
|
+
change: [value: boolean];
|
|
365
|
+
};
|
|
366
|
+
|
|
253
367
|
/**
|
|
254
368
|
* 图标配置选项
|
|
255
369
|
* - 后续支持外部直接传入svg路径,这样实现更细粒度的控制
|
|
@@ -392,7 +506,7 @@ type ButtonOptions = {
|
|
|
392
506
|
/**
|
|
393
507
|
* 按钮尺寸
|
|
394
508
|
* - max : 120 X 40
|
|
395
|
-
* - middle :
|
|
509
|
+
* - middle : 90 X 32
|
|
396
510
|
* - normal : 54 X 28
|
|
397
511
|
* - small : 30 X 20
|
|
398
512
|
*/
|
|
@@ -497,21 +611,42 @@ declare function onResize(el: Element, fn: (size: Readonly<{
|
|
|
497
611
|
*/
|
|
498
612
|
declare function onRerect(el: Element, fn: (rect: DOMRectReadOnly) => void): IScope;
|
|
499
613
|
|
|
614
|
+
/**
|
|
615
|
+
* 动画相应时样式类型
|
|
616
|
+
*/
|
|
617
|
+
type AnimationRefStyle = Partial<CSSStyleDeclaration>;
|
|
618
|
+
|
|
500
619
|
/**
|
|
501
620
|
* 响应式助手类,封装一些响应式相关的工具方法
|
|
502
621
|
*/
|
|
503
622
|
|
|
504
623
|
/**
|
|
505
|
-
* 作用域ref
|
|
506
|
-
* -
|
|
507
|
-
* -
|
|
624
|
+
* 作用域ref,方法执行逻辑:
|
|
625
|
+
* -1、初始化作用域,设置rv值: rv.value = start
|
|
626
|
+
* -2、在延迟 dealy 销毁作用域,设置rv值:rv.value = end
|
|
627
|
+
* - 备注示例:可和 snail.core 中的 waitInScope 方法联动实现:api请求开始时显示loading,api请求结束后隐藏loading
|
|
508
628
|
* @param rv 响应式变量对象
|
|
509
|
-
* @param
|
|
510
|
-
* @param
|
|
511
|
-
* @param dealy 销毁时的延迟时间;单位 ms ;实现延迟设置
|
|
629
|
+
* @param start 起始值,scope创建时执行 rv.value = start
|
|
630
|
+
* @param end 销毁值,scope销毁时执行 rv.value = end
|
|
631
|
+
* @param dealy 销毁时的延迟时间;单位 ms ;实现延迟设置 end 值
|
|
512
632
|
* @returns 新创建的作用域对象
|
|
513
633
|
*/
|
|
514
|
-
declare function scopeRef<T>(rv: Ref<T> | ShallowRef<T>,
|
|
634
|
+
declare function scopeRef<T>(rv: Ref<T> | ShallowRef<T>, start: T, end: T, dealy?: number): IScope;
|
|
635
|
+
/**
|
|
636
|
+
* 动画ref,方法执行逻辑:
|
|
637
|
+
* - 1、初始动画,设置styleRef起始值:styleRef.value = start
|
|
638
|
+
* - 2、开始动画,设置styleRef目标值:styleRef.value = target
|
|
639
|
+
* - 3、结束动画,设置styleRef最终值:styleRef.value = end
|
|
640
|
+
* - 备注示例:外部自己控制动画效果,这里只操作样式值
|
|
641
|
+
* - 1、设置height动画效果(0-100,1s动画结束后清理height值):animationRef(styleRef,1000,{height:0},{height:"100px",{}})
|
|
642
|
+
* @param styleRef 动画样式ref对象
|
|
643
|
+
* @param start 初始动画style样式
|
|
644
|
+
* @param target 目标动画style样式
|
|
645
|
+
* @param aTime 动画时间,单位ms,延迟 aTime后执行【结束动画】操作,不传入则忽略【结束动画】操作
|
|
646
|
+
* @param end 结束动画style样式;不传入则忽略【结束动画】操作
|
|
647
|
+
* @returns 作用域对象,destroy 方法直接执行【结束动画】操作
|
|
648
|
+
*/
|
|
649
|
+
declare function animationRef(styleRef: ShallowRef<AnimationRefStyle>, start: AnimationRefStyle, target: AnimationRefStyle, aTime?: number, end?: AnimationRefStyle): IScope;
|
|
515
650
|
|
|
516
651
|
/**
|
|
517
652
|
* 模态弹窗显示的组件配置选项
|
|
@@ -597,6 +732,12 @@ type Dialog = {
|
|
|
597
732
|
handle: DialogHandle<any>;
|
|
598
733
|
};
|
|
599
734
|
|
|
735
|
+
/**
|
|
736
|
+
* 模态弹窗助手;提供模态弹窗相关功能
|
|
737
|
+
* 1、内部维护一个VueApp实例,专门用于进行模态弹窗操
|
|
738
|
+
* 2、模态弹窗展示效果,通过 @see ../componets/dialog-wrapper.vue 实现
|
|
739
|
+
*/
|
|
740
|
+
|
|
600
741
|
/**
|
|
601
742
|
* 打开模态弹窗
|
|
602
743
|
* @param options 弹窗组件配置选项
|
|
@@ -604,6 +745,17 @@ type Dialog = {
|
|
|
604
745
|
* @returns 弹窗打开结果,可手动关闭弹窗
|
|
605
746
|
*/
|
|
606
747
|
declare function openDialog<T>(options: DialogOptions, onDestroyed?: (fn: () => void) => void): DialogOpenResult<T>;
|
|
748
|
+
/**
|
|
749
|
+
* 作用域弹窗:方法执行逻辑:
|
|
750
|
+
* - 1、打开弹窗前:若scopeRef有值,则强制执行 scopeRef.value.destroy() 做销毁
|
|
751
|
+
* - 2、打开弹窗 :构建IScope赋值给 scopeRef.value ;外部可 scopeRef.value.destroy() 强制关闭弹窗
|
|
752
|
+
* - 3、等待弹窗关闭 :得到弹窗返回值,置空scopeRef值,并返回弹窗返回值:scopeRef.value = undefined
|
|
753
|
+
* - 备注说明:封装重复性代码,简化外部开发逻辑;无实际业务意义
|
|
754
|
+
* @param options 弹窗配置选项
|
|
755
|
+
* @param scopeRef 作用域响应式对象
|
|
756
|
+
* @returns 弹窗关闭时传递的数据
|
|
757
|
+
*/
|
|
758
|
+
declare function scopeDialog<T>(options: DialogOptions, scopeRef: ShallowRef<IScope | undefined>): Promise<T>;
|
|
607
759
|
|
|
608
760
|
/**
|
|
609
761
|
* 确认弹窗配置选项
|
|
@@ -763,12 +915,21 @@ declare const components: {
|
|
|
763
915
|
close: () => any;
|
|
764
916
|
}, string, {}, {}, string, {}, vue.GlobalComponents, vue.GlobalDirectives, string, vue.ComponentProvideOptions> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & (new () => {
|
|
765
917
|
$slots: {
|
|
766
|
-
default?: (props: {
|
|
767
|
-
class: string;
|
|
768
|
-
}) => any;
|
|
918
|
+
default?: (props: {}) => any;
|
|
769
919
|
};
|
|
770
920
|
});
|
|
771
921
|
Icon: vue.DefineComponent<IconOptions, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<IconOptions> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
922
|
+
Switch: vue.DefineComponent<SwitchOptions & {
|
|
923
|
+
modelValue?: boolean;
|
|
924
|
+
}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
925
|
+
change: (value: boolean) => any;
|
|
926
|
+
"update:modelValue": (value: boolean) => any;
|
|
927
|
+
}, string, vue.PublicProps, Readonly<SwitchOptions & {
|
|
928
|
+
modelValue?: boolean;
|
|
929
|
+
}> & Readonly<{
|
|
930
|
+
onChange?: (value: boolean) => any;
|
|
931
|
+
"onUpdate:modelValue"?: (value: boolean) => any;
|
|
932
|
+
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
772
933
|
Dynamic: {
|
|
773
934
|
new (...args: any[]): vue.CreateComponentPublicInstanceWithMixins<Readonly<ComponentOptions> & Readonly<{}>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, vue.PublicProps, {}, true, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
|
|
774
935
|
P: {};
|
|
@@ -787,6 +948,46 @@ declare const components: {
|
|
|
787
948
|
[x: number]: (props: any) => any;
|
|
788
949
|
};
|
|
789
950
|
});
|
|
951
|
+
Fold: {
|
|
952
|
+
new (...args: any[]): vue.CreateComponentPublicInstanceWithMixins<Readonly<FoldOptions & {
|
|
953
|
+
status?: FoldStatus;
|
|
954
|
+
}> & Readonly<{
|
|
955
|
+
onChange?: (status: FoldStatus) => any;
|
|
956
|
+
"onUpdate:status"?: (value: FoldStatus) => any;
|
|
957
|
+
}>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
958
|
+
change: (status: FoldStatus) => any;
|
|
959
|
+
"update:status": (value: FoldStatus) => any;
|
|
960
|
+
}, vue.PublicProps, {}, true, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
|
|
961
|
+
P: {};
|
|
962
|
+
B: {};
|
|
963
|
+
D: {};
|
|
964
|
+
C: {};
|
|
965
|
+
M: {};
|
|
966
|
+
Defaults: {};
|
|
967
|
+
}, Readonly<FoldOptions & {
|
|
968
|
+
status?: FoldStatus;
|
|
969
|
+
}> & Readonly<{
|
|
970
|
+
onChange?: (status: FoldStatus) => any;
|
|
971
|
+
"onUpdate:status"?: (value: FoldStatus) => any;
|
|
972
|
+
}>, {}, {}, {}, {}, {}>;
|
|
973
|
+
__isFragment?: never;
|
|
974
|
+
__isTeleport?: never;
|
|
975
|
+
__isSuspense?: never;
|
|
976
|
+
} & vue.ComponentOptionsBase<Readonly<FoldOptions & {
|
|
977
|
+
status?: FoldStatus;
|
|
978
|
+
}> & Readonly<{
|
|
979
|
+
onChange?: (status: FoldStatus) => any;
|
|
980
|
+
"onUpdate:status"?: (value: FoldStatus) => any;
|
|
981
|
+
}>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
982
|
+
change: (status: FoldStatus) => any;
|
|
983
|
+
"update:status": (value: FoldStatus) => any;
|
|
984
|
+
}, string, {}, {}, string, {}, vue.GlobalComponents, vue.GlobalDirectives, string, vue.ComponentProvideOptions> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & (new () => {
|
|
985
|
+
$slots: {
|
|
986
|
+
header?: (props: {}) => any;
|
|
987
|
+
} & {
|
|
988
|
+
default?: (props: {}) => any;
|
|
989
|
+
};
|
|
990
|
+
});
|
|
790
991
|
Scroll: {
|
|
791
992
|
new (...args: any[]): vue.CreateComponentPublicInstanceWithMixins<Readonly<ScrollOptions> & Readonly<{}>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, vue.PublicProps, {}, true, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
|
|
792
993
|
P: {};
|
|
@@ -859,41 +1060,54 @@ declare const components: {
|
|
|
859
1060
|
default?: (props: {}) => any;
|
|
860
1061
|
};
|
|
861
1062
|
});
|
|
1063
|
+
Input: vue.DefineComponent<InputOptions & {
|
|
1064
|
+
modelValue?: string;
|
|
1065
|
+
}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
1066
|
+
change: (value: string) => any;
|
|
1067
|
+
click: () => any;
|
|
1068
|
+
"update:modelValue": (value: string) => any;
|
|
1069
|
+
}, string, vue.PublicProps, Readonly<InputOptions & {
|
|
1070
|
+
modelValue?: string;
|
|
1071
|
+
}> & Readonly<{
|
|
1072
|
+
onChange?: (value: string) => any;
|
|
1073
|
+
onClick?: () => any;
|
|
1074
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
1075
|
+
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
862
1076
|
DragVerify: vue.DefineComponent<DragVerifyOptions, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
863
1077
|
success: () => any;
|
|
864
1078
|
}, string, vue.PublicProps, Readonly<DragVerifyOptions> & Readonly<{
|
|
865
1079
|
onSuccess?: () => any;
|
|
866
1080
|
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
867
|
-
|
|
868
|
-
new (...args: any[]): vue.CreateComponentPublicInstanceWithMixins<Readonly<
|
|
1081
|
+
Empty: {
|
|
1082
|
+
new (...args: any[]): vue.CreateComponentPublicInstanceWithMixins<Readonly<EmptyOptions> & Readonly<{}>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, vue.PublicProps, {}, true, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
|
|
869
1083
|
P: {};
|
|
870
1084
|
B: {};
|
|
871
1085
|
D: {};
|
|
872
1086
|
C: {};
|
|
873
1087
|
M: {};
|
|
874
1088
|
Defaults: {};
|
|
875
|
-
}, Readonly<
|
|
1089
|
+
}, Readonly<EmptyOptions> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
876
1090
|
__isFragment?: never;
|
|
877
1091
|
__isTeleport?: never;
|
|
878
1092
|
__isSuspense?: never;
|
|
879
|
-
} & vue.ComponentOptionsBase<Readonly<
|
|
1093
|
+
} & vue.ComponentOptionsBase<Readonly<EmptyOptions> & Readonly<{}>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, {}, {}, string, {}, vue.GlobalComponents, vue.GlobalDirectives, string, vue.ComponentProvideOptions> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & (new () => {
|
|
880
1094
|
$slots: {
|
|
881
1095
|
default?: (props: {}) => any;
|
|
882
1096
|
};
|
|
883
1097
|
});
|
|
884
|
-
|
|
885
|
-
new (...args: any[]): vue.CreateComponentPublicInstanceWithMixins<Readonly<
|
|
1098
|
+
Loading: {
|
|
1099
|
+
new (...args: any[]): vue.CreateComponentPublicInstanceWithMixins<Readonly<LoadingOptions> & Readonly<{}>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, vue.PublicProps, {}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
|
|
886
1100
|
P: {};
|
|
887
1101
|
B: {};
|
|
888
1102
|
D: {};
|
|
889
1103
|
C: {};
|
|
890
1104
|
M: {};
|
|
891
1105
|
Defaults: {};
|
|
892
|
-
}, Readonly<
|
|
1106
|
+
}, Readonly<LoadingOptions> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
893
1107
|
__isFragment?: never;
|
|
894
1108
|
__isTeleport?: never;
|
|
895
1109
|
__isSuspense?: never;
|
|
896
|
-
} & vue.ComponentOptionsBase<Readonly<
|
|
1110
|
+
} & vue.ComponentOptionsBase<Readonly<LoadingOptions> & Readonly<{}>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, {}, {}, string, {}, vue.GlobalComponents, vue.GlobalDirectives, string, vue.ComponentProvideOptions> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & (new () => {
|
|
897
1111
|
$slots: {
|
|
898
1112
|
default?: (props: {}) => any;
|
|
899
1113
|
};
|
|
@@ -910,5 +1124,5 @@ declare const components: {
|
|
|
910
1124
|
*/
|
|
911
1125
|
declare function mount(options: ComponentMountOptions, onDestroyed?: (fn: () => void) => void): IScope;
|
|
912
1126
|
|
|
913
|
-
export { components, confirm, getSvgIcon, mount, onAppCreated, onEvent, onInterval, onRerect, onResize, onTimeout, openDialog, scopeRef, toast, triggerAppCreated, useScopes };
|
|
914
|
-
export type { ButtonOptions, ComponentMountOptions, ComponentOptions, ConfirmHandle, ConfirmOptions, Dialog, DialogHandle, DialogOpenResult, DialogOptions, DragVerifyInfo, DragVerifyOptions, FooterEvents, FooterOptions, HeaderEvents, HeaderOptions, IconOptions, IconPathOptions, IconType,
|
|
1127
|
+
export { animationRef, components, confirm, getSvgIcon, mount, onAppCreated, onEvent, onInterval, onRerect, onResize, onTimeout, openDialog, scopeDialog, scopeRef, toast, triggerAppCreated, useScopes };
|
|
1128
|
+
export type { ButtonOptions, ComponentMountOptions, ComponentOptions, ConfirmHandle, ConfirmOptions, Dialog, DialogHandle, DialogOpenResult, DialogOptions, DragVerifyInfo, DragVerifyOptions, EmptyOptions, FoldEvents, FoldOptions, FoldStatus, FooterEvents, FooterOptions, HeaderEvents, HeaderOptions, IconOptions, IconPathOptions, IconType, InputEvents, InputOptions, LoadingOptions, ScrollEvents, ScrollOptions, ScrollTouchType, SwitchEvents, SwitchOptions, TableColOptions, TableOptions, TableRowOptions, TableStyleOptions, ToastHandle, ToastOptions };
|