@fox-js/foxui-pc 4.0.1-13 → 4.0.1-15
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/index.cjs.js +3 -3
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +4760 -7431
- package/dist/index.umd.js +3 -3
- package/dist/style.css +1 -1
- package/dist/style.esm.js +1 -1
- package/dist/types/index.d.ts +0 -20
- package/package.json +1 -1
- package/dist/index.cjs.js.map +0 -1
- package/dist/index.esm.js.map +0 -1
- package/dist/index.umd.js.map +0 -1
- package/dist/types/src/api/index.d.ts +0 -35
- package/dist/types/src/base/component.d.ts +0 -70
- package/dist/types/src/base/index.d.ts +0 -4
- package/dist/types/src/base/plugin.d.ts +0 -2
- package/dist/types/src/components/autocompleteitem/common.d.ts +0 -152
- package/dist/types/src/components/autocompleteitem/index.vue.d.ts +0 -3
- package/dist/types/src/components/cascaderitem/common.d.ts +0 -223
- package/dist/types/src/components/cascaderitem/index.vue.d.ts +0 -3
- package/dist/types/src/components/cascaderitem/model.d.ts +0 -70
- package/dist/types/src/components/cascaderitem/types.d.ts +0 -26
- package/dist/types/src/components/checkboxitem/common.d.ts +0 -181
- package/dist/types/src/components/checkboxitem/index.vue.d.ts +0 -3
- package/dist/types/src/components/checkboxitem/model.d.ts +0 -63
- package/dist/types/src/components/checkboxitem/types.d.ts +0 -33
- package/dist/types/src/components/content/common.d.ts +0 -16
- package/dist/types/src/components/content/index.vue.d.ts +0 -3
- package/dist/types/src/components/dateitem/common.d.ts +0 -152
- package/dist/types/src/components/dateitem/index.vue.d.ts +0 -3
- package/dist/types/src/components/dialogitem/common.d.ts +0 -27
- package/dist/types/src/components/dialogitem/index.vue.d.ts +0 -3
- package/dist/types/src/components/exticon/index.vue.d.ts +0 -3
- package/dist/types/src/components/footerbar/common.d.ts +0 -26
- package/dist/types/src/components/footerbar/index.vue.d.ts +0 -3
- package/dist/types/src/components/footerbar/type.d.ts +0 -1
- package/dist/types/src/components/group/commons.d.ts +0 -122
- package/dist/types/src/components/group/group-props.d.ts +0 -97
- package/dist/types/src/components/group/index.vue.d.ts +0 -3
- package/dist/types/src/components/headerbar/common.d.ts +0 -80
- package/dist/types/src/components/headerbar/index.vue.d.ts +0 -3
- package/dist/types/src/components/headerbar/types.d.ts +0 -5
- package/dist/types/src/components/hinttext/index.d.ts +0 -27
- package/dist/types/src/components/hinttext/index.vue.d.ts +0 -3
- package/dist/types/src/components/indicator/common.d.ts +0 -19
- package/dist/types/src/components/indicator/index.vue.d.ts +0 -3
- package/dist/types/src/components/indicator/types.d.ts +0 -1
- package/dist/types/src/components/inputitem/common.d.ts +0 -176
- package/dist/types/src/components/inputitem/index.vue.d.ts +0 -3
- package/dist/types/src/components/inputnumberitem/common.d.ts +0 -176
- package/dist/types/src/components/inputnumberitem/index.vue.d.ts +0 -3
- package/dist/types/src/components/item/common.d.ts +0 -137
- package/dist/types/src/components/item/index.vue.d.ts +0 -3
- package/dist/types/src/components/mapping/common.d.ts +0 -105
- package/dist/types/src/components/mapping/index.vue.d.ts +0 -3
- package/dist/types/src/components/mapping/model.d.ts +0 -28
- package/dist/types/src/components/mapping/types.d.ts +0 -17
- package/dist/types/src/components/moneyitem/common.d.ts +0 -300
- package/dist/types/src/components/moneyitem/index.vue.d.ts +0 -3
- package/dist/types/src/components/moneyitem/util.d.ts +0 -51
- package/dist/types/src/components/page/common.d.ts +0 -120
- package/dist/types/src/components/page/index.vue.d.ts +0 -3
- package/dist/types/src/components/price/index.vue.d.ts +0 -3
- package/dist/types/src/components/price/price-props.d.ts +0 -37
- package/dist/types/src/components/radioitem/common.d.ts +0 -173
- package/dist/types/src/components/radioitem/index.vue.d.ts +0 -3
- package/dist/types/src/components/radioitem/model.d.ts +0 -63
- package/dist/types/src/components/radioitem/types.d.ts +0 -33
- package/dist/types/src/components/rateitem/common.d.ts +0 -136
- package/dist/types/src/components/rateitem/index.vue.d.ts +0 -3
- package/dist/types/src/components/rowitem/common.d.ts +0 -38
- package/dist/types/src/components/rowitem/index.vue.d.ts +0 -3
- package/dist/types/src/components/selectitem/common.d.ts +0 -239
- package/dist/types/src/components/selectitem/index.vue.d.ts +0 -3
- package/dist/types/src/components/selectitem/model.d.ts +0 -70
- package/dist/types/src/components/selectitem/types.d.ts +0 -26
- package/dist/types/src/components/slotitem/common.d.ts +0 -21
- package/dist/types/src/components/slotitem/index.vue.d.ts +0 -3
- package/dist/types/src/components/switchitem/common.d.ts +0 -136
- package/dist/types/src/components/switchitem/index.vue.d.ts +0 -3
- package/dist/types/src/components/tableitem/common.d.ts +0 -230
- package/dist/types/src/components/tableitem/index.vue.d.ts +0 -3
- package/dist/types/src/components/tableitem/model.d.ts +0 -27
- package/dist/types/src/components/tableitem/types.d.ts +0 -19
- package/dist/types/src/components/tablemappingcolumn/common.d.ts +0 -56
- package/dist/types/src/components/tablemappingcolumn/index.vue.d.ts +0 -3
- package/dist/types/src/components/timeitem/common.d.ts +0 -152
- package/dist/types/src/components/timeitem/index.vue.d.ts +0 -3
- package/dist/types/src/components/timeselectitem/common.d.ts +0 -152
- package/dist/types/src/components/timeselectitem/index.vue.d.ts +0 -3
- package/dist/types/src/foxui.vue.build.d.ts +0 -137
- package/dist/types/src/interface.d.ts +0 -83
- package/dist/types/src/main.d.ts +0 -81
- package/dist/types/src/utils/commons.d.ts +0 -220
- package/dist/types/src/utils/create/component.d.ts +0 -18
- package/dist/types/src/utils/create/index.d.ts +0 -1
- package/dist/types/src/utils/date.d.ts +0 -76
- package/dist/types/src/utils/domain/broadcast.d.ts +0 -116
- package/dist/types/src/utils/domain/domain.d.ts +0 -146
- package/dist/types/src/utils/domain/events.d.ts +0 -51
- package/dist/types/src/utils/domain/group.d.ts +0 -61
- package/dist/types/src/utils/domain/index.d.ts +0 -5
- package/dist/types/src/utils/domain/item.d.ts +0 -45
- package/dist/types/src/utils/domain/page.d.ts +0 -113
- package/dist/types/src/utils/domain/types.d.ts +0 -5
- package/dist/types/src/utils/domain/validator.d.ts +0 -230
- package/dist/types/src/utils/functions.d.ts +0 -20
- package/dist/types/src/utils/px.d.ts +0 -13
- package/dist/types/src/utils/unique-id.d.ts +0 -16
- package/dist/types/src/utils/use-expose/index.d.ts +0 -6
- package/dist/types/src/utils/use-position/index.d.ts +0 -14
- package/dist/types/src/utils/use-rect/index.d.ts +0 -20
- package/dist/types/src/utils/use-touch/index.d.ts +0 -21
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
import { PropType, CSSProperties } from 'vue';
|
|
2
|
-
declare type HintType = 'text' | 'number' | 'money';
|
|
3
|
-
/**
|
|
4
|
-
* item props(domain范围内生效)
|
|
5
|
-
*/
|
|
6
|
-
export declare const domainItemProps: {
|
|
7
|
-
disabled: {
|
|
8
|
-
type: PropType<string | boolean>;
|
|
9
|
-
required: boolean;
|
|
10
|
-
};
|
|
11
|
-
readonly: {
|
|
12
|
-
type: PropType<string | boolean>;
|
|
13
|
-
required: boolean;
|
|
14
|
-
};
|
|
15
|
-
labelPosition: {
|
|
16
|
-
type: PropType<string>;
|
|
17
|
-
required: boolean;
|
|
18
|
-
};
|
|
19
|
-
labelWidth: {
|
|
20
|
-
type: PropType<string | number>;
|
|
21
|
-
required: boolean;
|
|
22
|
-
};
|
|
23
|
-
hasBorder: {
|
|
24
|
-
type: PropType<boolean>;
|
|
25
|
-
required: boolean;
|
|
26
|
-
default: boolean;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* item props
|
|
31
|
-
*/
|
|
32
|
-
export declare const itemProps: {
|
|
33
|
-
prop: {
|
|
34
|
-
type: StringConstructor;
|
|
35
|
-
required: boolean;
|
|
36
|
-
};
|
|
37
|
-
label: {
|
|
38
|
-
type: StringConstructor;
|
|
39
|
-
required: boolean;
|
|
40
|
-
};
|
|
41
|
-
labelPosition: {
|
|
42
|
-
type: StringConstructor;
|
|
43
|
-
required: boolean;
|
|
44
|
-
};
|
|
45
|
-
labelWidth: {
|
|
46
|
-
type: PropType<string | number>;
|
|
47
|
-
required: boolean;
|
|
48
|
-
};
|
|
49
|
-
isRequired: {
|
|
50
|
-
type: PropType<string | boolean>;
|
|
51
|
-
required: boolean;
|
|
52
|
-
default: boolean;
|
|
53
|
-
};
|
|
54
|
-
span: {
|
|
55
|
-
type: PropType<string | number>;
|
|
56
|
-
required: boolean;
|
|
57
|
-
default: number;
|
|
58
|
-
};
|
|
59
|
-
offset: {
|
|
60
|
-
type: PropType<string | number>;
|
|
61
|
-
default: number;
|
|
62
|
-
};
|
|
63
|
-
width: {
|
|
64
|
-
type: PropType<string | number>;
|
|
65
|
-
required: boolean;
|
|
66
|
-
};
|
|
67
|
-
errorTip: {
|
|
68
|
-
type: StringConstructor;
|
|
69
|
-
required: boolean;
|
|
70
|
-
};
|
|
71
|
-
errorIcon: {
|
|
72
|
-
type: ObjectConstructor;
|
|
73
|
-
required: boolean;
|
|
74
|
-
};
|
|
75
|
-
errorClass: {
|
|
76
|
-
type: StringConstructor;
|
|
77
|
-
required: boolean;
|
|
78
|
-
};
|
|
79
|
-
warnTip: {
|
|
80
|
-
type: StringConstructor;
|
|
81
|
-
required: boolean;
|
|
82
|
-
};
|
|
83
|
-
warnIcon: {
|
|
84
|
-
type: ObjectConstructor;
|
|
85
|
-
required: boolean;
|
|
86
|
-
};
|
|
87
|
-
warnClass: {
|
|
88
|
-
type: StringConstructor;
|
|
89
|
-
required: boolean;
|
|
90
|
-
};
|
|
91
|
-
infoTip: {
|
|
92
|
-
type: StringConstructor;
|
|
93
|
-
required: boolean;
|
|
94
|
-
};
|
|
95
|
-
infoIcon: {
|
|
96
|
-
type: ObjectConstructor;
|
|
97
|
-
required: boolean;
|
|
98
|
-
};
|
|
99
|
-
infoClass: {
|
|
100
|
-
type: StringConstructor;
|
|
101
|
-
required: boolean;
|
|
102
|
-
};
|
|
103
|
-
contentClass: {
|
|
104
|
-
type: StringConstructor;
|
|
105
|
-
required: boolean;
|
|
106
|
-
default: string;
|
|
107
|
-
};
|
|
108
|
-
contentStyle: {
|
|
109
|
-
type: PropType<CSSProperties>;
|
|
110
|
-
required: boolean;
|
|
111
|
-
default: {};
|
|
112
|
-
};
|
|
113
|
-
hintType: {
|
|
114
|
-
type: PropType<HintType>;
|
|
115
|
-
required: boolean;
|
|
116
|
-
default: string;
|
|
117
|
-
};
|
|
118
|
-
hintText: {
|
|
119
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
120
|
-
required: boolean;
|
|
121
|
-
};
|
|
122
|
-
hintVisible: {
|
|
123
|
-
type: (BooleanConstructor | StringConstructor)[];
|
|
124
|
-
required: boolean;
|
|
125
|
-
default: boolean;
|
|
126
|
-
};
|
|
127
|
-
hintProps: {
|
|
128
|
-
type: ObjectConstructor;
|
|
129
|
-
required: boolean;
|
|
130
|
-
default: {};
|
|
131
|
-
};
|
|
132
|
-
hasBorder: {
|
|
133
|
-
type: BooleanConstructor;
|
|
134
|
-
default: boolean;
|
|
135
|
-
};
|
|
136
|
-
};
|
|
137
|
-
export {};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { DefineComponent, ComputedOptions, MethodOptions, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
|
|
2
|
-
declare const _sfc_main: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
|
|
3
|
-
export default _sfc_main;
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import type { VNode, RendererNode, RendererElement, PropType, SetupContext } from 'vue';
|
|
2
|
-
import { Value, Item, SourceFunction } from './types';
|
|
3
|
-
export declare const mappingProps: {
|
|
4
|
-
tag: {
|
|
5
|
-
type: PropType<any>;
|
|
6
|
-
required: boolean;
|
|
7
|
-
default: string;
|
|
8
|
-
};
|
|
9
|
-
resolveTag: {
|
|
10
|
-
type: PropType<any>;
|
|
11
|
-
required: boolean;
|
|
12
|
-
default: boolean;
|
|
13
|
-
};
|
|
14
|
-
source: {
|
|
15
|
-
type: PropType<string | Item[] | Item[][] | SourceFunction>;
|
|
16
|
-
required: boolean;
|
|
17
|
-
};
|
|
18
|
-
sourceType: {
|
|
19
|
-
type: PropType<string>;
|
|
20
|
-
required: boolean;
|
|
21
|
-
default: string;
|
|
22
|
-
};
|
|
23
|
-
params: {
|
|
24
|
-
type: PropType<any>;
|
|
25
|
-
required: boolean;
|
|
26
|
-
};
|
|
27
|
-
modelValue: {
|
|
28
|
-
type: PropType<Value | Value[]>;
|
|
29
|
-
required: boolean;
|
|
30
|
-
};
|
|
31
|
-
separator: {
|
|
32
|
-
type: PropType<Value | Value[]>;
|
|
33
|
-
required: boolean;
|
|
34
|
-
default: string;
|
|
35
|
-
};
|
|
36
|
-
textKey: {
|
|
37
|
-
type: StringConstructor[];
|
|
38
|
-
required: boolean;
|
|
39
|
-
default: string;
|
|
40
|
-
};
|
|
41
|
-
valueKey: {
|
|
42
|
-
type: StringConstructor[];
|
|
43
|
-
required: boolean;
|
|
44
|
-
default: string;
|
|
45
|
-
};
|
|
46
|
-
childrenKey: {
|
|
47
|
-
type: StringConstructor[];
|
|
48
|
-
required: boolean;
|
|
49
|
-
default: string;
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
|
-
export declare function component(componentName: string, scope: string): {
|
|
53
|
-
props: {
|
|
54
|
-
tag: {
|
|
55
|
-
type: PropType<any>;
|
|
56
|
-
required: boolean;
|
|
57
|
-
default: string;
|
|
58
|
-
};
|
|
59
|
-
resolveTag: {
|
|
60
|
-
type: PropType<any>;
|
|
61
|
-
required: boolean;
|
|
62
|
-
default: boolean;
|
|
63
|
-
};
|
|
64
|
-
source: {
|
|
65
|
-
type: PropType<string | Item[] | Item[][] | SourceFunction>;
|
|
66
|
-
required: boolean;
|
|
67
|
-
};
|
|
68
|
-
sourceType: {
|
|
69
|
-
type: PropType<string>;
|
|
70
|
-
required: boolean;
|
|
71
|
-
default: string;
|
|
72
|
-
};
|
|
73
|
-
params: {
|
|
74
|
-
type: PropType<any>;
|
|
75
|
-
required: boolean;
|
|
76
|
-
};
|
|
77
|
-
modelValue: {
|
|
78
|
-
type: PropType<Value | Value[]>;
|
|
79
|
-
required: boolean;
|
|
80
|
-
};
|
|
81
|
-
separator: {
|
|
82
|
-
type: PropType<Value | Value[]>;
|
|
83
|
-
required: boolean;
|
|
84
|
-
default: string;
|
|
85
|
-
};
|
|
86
|
-
textKey: {
|
|
87
|
-
type: StringConstructor[];
|
|
88
|
-
required: boolean;
|
|
89
|
-
default: string;
|
|
90
|
-
};
|
|
91
|
-
valueKey: {
|
|
92
|
-
type: StringConstructor[];
|
|
93
|
-
required: boolean;
|
|
94
|
-
default: string;
|
|
95
|
-
};
|
|
96
|
-
childrenKey: {
|
|
97
|
-
type: StringConstructor[];
|
|
98
|
-
required: boolean;
|
|
99
|
-
default: string;
|
|
100
|
-
};
|
|
101
|
-
};
|
|
102
|
-
setup(props: Record<string, any>, { attrs }: SetupContext): () => VNode<RendererNode, RendererElement, {
|
|
103
|
-
[key: string]: any;
|
|
104
|
-
}>;
|
|
105
|
-
};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { DefineComponent, ComputedOptions, MethodOptions, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
|
|
2
|
-
declare const _sfc_main: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
|
|
3
|
-
export default _sfc_main;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { ComponentPublicInstance } from 'vue';
|
|
2
|
-
import { Item, SourceFunction, Value } from './types';
|
|
3
|
-
export declare function valueToText(value: Value, items: Item[] | Item[][], textKey: string, valueKey: string, childrenKey: string): string[];
|
|
4
|
-
/**
|
|
5
|
-
* 数据model
|
|
6
|
-
*/
|
|
7
|
-
export declare class Model {
|
|
8
|
-
/**
|
|
9
|
-
* proxy
|
|
10
|
-
*/
|
|
11
|
-
private proxy;
|
|
12
|
-
/**
|
|
13
|
-
* 构造函数
|
|
14
|
-
* @param proxy
|
|
15
|
-
*/
|
|
16
|
-
constructor(proxy: ComponentPublicInstance);
|
|
17
|
-
/**
|
|
18
|
-
* 加载数据源
|
|
19
|
-
* @param src
|
|
20
|
-
* @returns
|
|
21
|
-
*/
|
|
22
|
-
load(componentType: string, src: SourceFunction | Item[] | Item[][] | string, params?: any): Promise<Item[] | Item[][]>;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* 使用model
|
|
26
|
-
* @returns
|
|
27
|
-
*/
|
|
28
|
-
export declare function useModel(): Model;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Item类型
|
|
3
|
-
*/
|
|
4
|
-
export interface Item {
|
|
5
|
-
text: string | number;
|
|
6
|
-
value: any;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
children?: Item[];
|
|
9
|
-
[propName: string]: any;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* 通用Promise函数接口
|
|
13
|
-
*/
|
|
14
|
-
export interface SourceFunction {
|
|
15
|
-
(params?: any): Promise<Item[] | Item[][]>;
|
|
16
|
-
}
|
|
17
|
-
export declare type Value = string | number | boolean;
|
|
@@ -1,300 +0,0 @@
|
|
|
1
|
-
import type { PropType, CSSProperties, RendererNode, RendererElement, SetupContext, VNode } from 'vue';
|
|
2
|
-
export declare const inputProps: {
|
|
3
|
-
modelValue: {
|
|
4
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
5
|
-
required: boolean;
|
|
6
|
-
};
|
|
7
|
-
clearable: {
|
|
8
|
-
type: BooleanConstructor;
|
|
9
|
-
default: boolean;
|
|
10
|
-
};
|
|
11
|
-
showTip: {
|
|
12
|
-
type: (BooleanConstructor | StringConstructor)[];
|
|
13
|
-
required: boolean;
|
|
14
|
-
default: boolean;
|
|
15
|
-
};
|
|
16
|
-
min: {
|
|
17
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
18
|
-
required: boolean;
|
|
19
|
-
};
|
|
20
|
-
minInclude: {
|
|
21
|
-
type: (BooleanConstructor | StringConstructor)[];
|
|
22
|
-
required: boolean;
|
|
23
|
-
default: boolean;
|
|
24
|
-
};
|
|
25
|
-
max: {
|
|
26
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
27
|
-
required: boolean;
|
|
28
|
-
};
|
|
29
|
-
maxInclude: {
|
|
30
|
-
type: (BooleanConstructor | StringConstructor)[];
|
|
31
|
-
required: boolean;
|
|
32
|
-
default: boolean;
|
|
33
|
-
};
|
|
34
|
-
unit: {
|
|
35
|
-
type: StringConstructor;
|
|
36
|
-
required: boolean;
|
|
37
|
-
};
|
|
38
|
-
rates: {
|
|
39
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
40
|
-
required: boolean;
|
|
41
|
-
default: number;
|
|
42
|
-
};
|
|
43
|
-
precision: {
|
|
44
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
45
|
-
required: boolean;
|
|
46
|
-
};
|
|
47
|
-
integerLength: {
|
|
48
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
49
|
-
required: boolean;
|
|
50
|
-
default: number;
|
|
51
|
-
};
|
|
52
|
-
decimalLength: {
|
|
53
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
54
|
-
required: boolean;
|
|
55
|
-
default: number;
|
|
56
|
-
};
|
|
57
|
-
autoPadding: {
|
|
58
|
-
type: BooleanConstructor;
|
|
59
|
-
required: boolean;
|
|
60
|
-
default: boolean;
|
|
61
|
-
};
|
|
62
|
-
digits: {
|
|
63
|
-
type: NumberConstructor;
|
|
64
|
-
required: boolean;
|
|
65
|
-
default: number;
|
|
66
|
-
};
|
|
67
|
-
separator: {
|
|
68
|
-
type: StringConstructor;
|
|
69
|
-
required: boolean;
|
|
70
|
-
default: string;
|
|
71
|
-
};
|
|
72
|
-
placeholder: {
|
|
73
|
-
type: StringConstructor;
|
|
74
|
-
required: boolean;
|
|
75
|
-
default: string;
|
|
76
|
-
};
|
|
77
|
-
textAlign: {
|
|
78
|
-
type: StringConstructor;
|
|
79
|
-
required: boolean;
|
|
80
|
-
};
|
|
81
|
-
adjustPosition: {
|
|
82
|
-
type: BooleanConstructor;
|
|
83
|
-
default: boolean;
|
|
84
|
-
};
|
|
85
|
-
alwaysSystem: {
|
|
86
|
-
type: BooleanConstructor;
|
|
87
|
-
default: boolean;
|
|
88
|
-
};
|
|
89
|
-
};
|
|
90
|
-
/**
|
|
91
|
-
* 创建组件
|
|
92
|
-
* @param componentName
|
|
93
|
-
* @param scope
|
|
94
|
-
* @param Item
|
|
95
|
-
*/
|
|
96
|
-
export declare function component(componentName: string, scope: string, Item: any): {
|
|
97
|
-
props: {
|
|
98
|
-
modelValue: {
|
|
99
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
100
|
-
required: boolean;
|
|
101
|
-
};
|
|
102
|
-
clearable: {
|
|
103
|
-
type: BooleanConstructor;
|
|
104
|
-
default: boolean;
|
|
105
|
-
};
|
|
106
|
-
showTip: {
|
|
107
|
-
type: (BooleanConstructor | StringConstructor)[];
|
|
108
|
-
required: boolean;
|
|
109
|
-
default: boolean;
|
|
110
|
-
};
|
|
111
|
-
min: {
|
|
112
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
113
|
-
required: boolean;
|
|
114
|
-
};
|
|
115
|
-
minInclude: {
|
|
116
|
-
type: (BooleanConstructor | StringConstructor)[];
|
|
117
|
-
required: boolean;
|
|
118
|
-
default: boolean;
|
|
119
|
-
};
|
|
120
|
-
max: {
|
|
121
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
122
|
-
required: boolean;
|
|
123
|
-
};
|
|
124
|
-
maxInclude: {
|
|
125
|
-
type: (BooleanConstructor | StringConstructor)[];
|
|
126
|
-
required: boolean;
|
|
127
|
-
default: boolean;
|
|
128
|
-
};
|
|
129
|
-
unit: {
|
|
130
|
-
type: StringConstructor;
|
|
131
|
-
required: boolean;
|
|
132
|
-
};
|
|
133
|
-
rates: {
|
|
134
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
135
|
-
required: boolean;
|
|
136
|
-
default: number;
|
|
137
|
-
};
|
|
138
|
-
precision: {
|
|
139
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
140
|
-
required: boolean;
|
|
141
|
-
};
|
|
142
|
-
integerLength: {
|
|
143
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
144
|
-
required: boolean;
|
|
145
|
-
default: number;
|
|
146
|
-
};
|
|
147
|
-
decimalLength: {
|
|
148
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
149
|
-
required: boolean;
|
|
150
|
-
default: number;
|
|
151
|
-
};
|
|
152
|
-
autoPadding: {
|
|
153
|
-
type: BooleanConstructor;
|
|
154
|
-
required: boolean;
|
|
155
|
-
default: boolean;
|
|
156
|
-
};
|
|
157
|
-
digits: {
|
|
158
|
-
type: NumberConstructor;
|
|
159
|
-
required: boolean;
|
|
160
|
-
default: number;
|
|
161
|
-
};
|
|
162
|
-
separator: {
|
|
163
|
-
type: StringConstructor;
|
|
164
|
-
required: boolean;
|
|
165
|
-
default: string;
|
|
166
|
-
};
|
|
167
|
-
placeholder: {
|
|
168
|
-
type: StringConstructor;
|
|
169
|
-
required: boolean;
|
|
170
|
-
default: string;
|
|
171
|
-
};
|
|
172
|
-
textAlign: {
|
|
173
|
-
type: StringConstructor;
|
|
174
|
-
required: boolean;
|
|
175
|
-
};
|
|
176
|
-
adjustPosition: {
|
|
177
|
-
type: BooleanConstructor;
|
|
178
|
-
default: boolean;
|
|
179
|
-
};
|
|
180
|
-
alwaysSystem: {
|
|
181
|
-
type: BooleanConstructor;
|
|
182
|
-
default: boolean;
|
|
183
|
-
};
|
|
184
|
-
prop: {
|
|
185
|
-
type: StringConstructor;
|
|
186
|
-
required: boolean;
|
|
187
|
-
};
|
|
188
|
-
label: {
|
|
189
|
-
type: StringConstructor;
|
|
190
|
-
required: boolean;
|
|
191
|
-
};
|
|
192
|
-
labelPosition: {
|
|
193
|
-
type: StringConstructor;
|
|
194
|
-
required: boolean;
|
|
195
|
-
};
|
|
196
|
-
labelWidth: {
|
|
197
|
-
type: PropType<string | number>;
|
|
198
|
-
required: boolean;
|
|
199
|
-
};
|
|
200
|
-
isRequired: {
|
|
201
|
-
type: PropType<string | boolean>;
|
|
202
|
-
required: boolean;
|
|
203
|
-
default: boolean;
|
|
204
|
-
};
|
|
205
|
-
span: {
|
|
206
|
-
type: PropType<string | number>;
|
|
207
|
-
required: boolean;
|
|
208
|
-
default: number;
|
|
209
|
-
};
|
|
210
|
-
offset: {
|
|
211
|
-
type: PropType<string | number>;
|
|
212
|
-
default: number;
|
|
213
|
-
};
|
|
214
|
-
width: {
|
|
215
|
-
type: PropType<string | number>;
|
|
216
|
-
required: boolean;
|
|
217
|
-
};
|
|
218
|
-
errorTip: {
|
|
219
|
-
type: StringConstructor;
|
|
220
|
-
required: boolean;
|
|
221
|
-
};
|
|
222
|
-
errorIcon: {
|
|
223
|
-
type: ObjectConstructor;
|
|
224
|
-
required: boolean;
|
|
225
|
-
};
|
|
226
|
-
errorClass: {
|
|
227
|
-
type: StringConstructor;
|
|
228
|
-
required: boolean;
|
|
229
|
-
};
|
|
230
|
-
warnTip: {
|
|
231
|
-
type: StringConstructor;
|
|
232
|
-
required: boolean;
|
|
233
|
-
};
|
|
234
|
-
warnIcon: {
|
|
235
|
-
type: ObjectConstructor;
|
|
236
|
-
required: boolean;
|
|
237
|
-
};
|
|
238
|
-
warnClass: {
|
|
239
|
-
type: StringConstructor;
|
|
240
|
-
required: boolean;
|
|
241
|
-
};
|
|
242
|
-
infoTip: {
|
|
243
|
-
type: StringConstructor;
|
|
244
|
-
required: boolean;
|
|
245
|
-
};
|
|
246
|
-
infoIcon: {
|
|
247
|
-
type: ObjectConstructor;
|
|
248
|
-
required: boolean;
|
|
249
|
-
};
|
|
250
|
-
infoClass: {
|
|
251
|
-
type: StringConstructor;
|
|
252
|
-
required: boolean;
|
|
253
|
-
};
|
|
254
|
-
contentClass: {
|
|
255
|
-
type: StringConstructor;
|
|
256
|
-
required: boolean;
|
|
257
|
-
default: string;
|
|
258
|
-
};
|
|
259
|
-
contentStyle: {
|
|
260
|
-
type: PropType<CSSProperties>;
|
|
261
|
-
required: boolean;
|
|
262
|
-
default: {};
|
|
263
|
-
};
|
|
264
|
-
hintType: {
|
|
265
|
-
type: PropType<"number" | "text" | "money">;
|
|
266
|
-
required: boolean;
|
|
267
|
-
default: string;
|
|
268
|
-
};
|
|
269
|
-
hintText: {
|
|
270
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
271
|
-
required: boolean;
|
|
272
|
-
};
|
|
273
|
-
hintVisible: {
|
|
274
|
-
type: (BooleanConstructor | StringConstructor)[];
|
|
275
|
-
required: boolean;
|
|
276
|
-
default: boolean;
|
|
277
|
-
};
|
|
278
|
-
hintProps: {
|
|
279
|
-
type: ObjectConstructor;
|
|
280
|
-
required: boolean;
|
|
281
|
-
default: {};
|
|
282
|
-
};
|
|
283
|
-
hasBorder: {
|
|
284
|
-
type: BooleanConstructor;
|
|
285
|
-
default: boolean;
|
|
286
|
-
};
|
|
287
|
-
disabled: {
|
|
288
|
-
type: PropType<string | boolean>;
|
|
289
|
-
required: boolean;
|
|
290
|
-
};
|
|
291
|
-
readonly: {
|
|
292
|
-
type: PropType<string | boolean>;
|
|
293
|
-
required: boolean;
|
|
294
|
-
};
|
|
295
|
-
};
|
|
296
|
-
emits: string[];
|
|
297
|
-
setup(props: Record<string, any>, context: SetupContext): () => VNode<RendererNode, RendererElement, {
|
|
298
|
-
[key: string]: any;
|
|
299
|
-
}>;
|
|
300
|
-
};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { DefineComponent, ComputedOptions, MethodOptions, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
|
|
2
|
-
declare const _sfc_main: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
|
|
3
|
-
export default _sfc_main;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 清理数据尾部无用的零
|
|
3
|
-
* @param value
|
|
4
|
-
* @param minDecimalLength(最小小数位长度)
|
|
5
|
-
*/
|
|
6
|
-
export declare function trimTailZero(value: string, minDecimalLength?: number): string;
|
|
7
|
-
/**
|
|
8
|
-
* 扩展数据
|
|
9
|
-
* @param value
|
|
10
|
-
* @param scale(scale>0代表*scale,如果scale<0代表/scale)
|
|
11
|
-
*/
|
|
12
|
-
export declare function scaleNumber(value: string, scale: number, precision?: number): string;
|
|
13
|
-
/**
|
|
14
|
-
* 金额格式化
|
|
15
|
-
* @param value
|
|
16
|
-
* @param decimalLength
|
|
17
|
-
* @param autoPadding
|
|
18
|
-
* @param digits
|
|
19
|
-
* @param separator
|
|
20
|
-
* @returns
|
|
21
|
-
*/
|
|
22
|
-
export declare function formatMoney(value: string, decimalLength?: number, autoPadding?: boolean, digits?: number, separator?: string): string;
|
|
23
|
-
/**
|
|
24
|
-
* 金额反格式化
|
|
25
|
-
* @param value
|
|
26
|
-
* @returns
|
|
27
|
-
*/
|
|
28
|
-
export declare function unFormatMoney(value: string): string;
|
|
29
|
-
/**
|
|
30
|
-
* 利率转换
|
|
31
|
-
* @param value
|
|
32
|
-
* @param rates
|
|
33
|
-
* @param precision
|
|
34
|
-
* @param flag
|
|
35
|
-
* @param zeroFormat
|
|
36
|
-
* @returns
|
|
37
|
-
*/
|
|
38
|
-
export declare function rateConversion(value: string, rates: number, precision: number, flag: boolean, zeroFormat?: boolean): string;
|
|
39
|
-
/**
|
|
40
|
-
* 校验结果
|
|
41
|
-
*/
|
|
42
|
-
export interface ValidResult {
|
|
43
|
-
maxValid: boolean;
|
|
44
|
-
minValid: boolean;
|
|
45
|
-
message: string;
|
|
46
|
-
}
|
|
47
|
-
export declare function inValidScope(val: number | string, props: Record<string, any>): {
|
|
48
|
-
maxValid: boolean;
|
|
49
|
-
minValid: boolean;
|
|
50
|
-
message: string;
|
|
51
|
-
};
|