@bscjc/webui 1.4.1 → 1.4.2
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/components/JcCascader/index.d.ts +25 -187
- package/dist/components/JcCascader/index.vue.d.ts +37 -100
- package/dist/components/JcColumnConfig/index.d.ts +7 -106
- package/dist/components/JcColumnConfig/index.vue.d.ts +23 -71
- package/dist/components/JcDatePicker/index.d.ts +24 -105
- package/dist/components/JcDatePicker/index.vue.d.ts +26 -58
- package/dist/components/JcImportButton/index.d.ts +14 -41
- package/dist/components/JcImportButton/index.vue.d.ts +19 -26
- package/dist/components/JcImportDialog/index.d.ts +14 -74
- package/dist/components/JcImportDialog/index.vue.d.ts +25 -48
- package/dist/components/JcInputComplex/index.d.ts +48 -90
- package/dist/components/JcInputComplex/index.vue.d.ts +32 -48
- package/dist/components/JcInputSwitch/index.d.ts +42 -90
- package/dist/components/JcInputSwitch/index.vue.d.ts +30 -48
- package/dist/components/JcMoreQueryContain/index.d.ts +14 -197
- package/dist/components/JcMoreQueryContain/index.vue.d.ts +23 -88
- package/dist/components/JcSelectQuery/index.d.ts +19 -178
- package/dist/components/JcSelectQuery/index.vue.d.ts +37 -106
- package/dist/components/JcTagQuery/index.d.ts +4 -19
- package/dist/components/JcTagQuery/index.vue.d.ts +7 -12
- package/dist/es/index.mjs +2098 -2167
- package/dist/index.css +2 -2
- package/dist/index.d.ts +3 -1
- package/dist/lib/index.cjs +8 -8
- package/dist/types/components/JcCascader/index.d.ts +25 -187
- package/dist/types/components/JcCascader/index.vue.d.ts +37 -100
- package/dist/types/components/JcColumnConfig/index.d.ts +7 -106
- package/dist/types/components/JcColumnConfig/index.vue.d.ts +23 -71
- package/dist/types/components/JcDatePicker/index.d.ts +24 -105
- package/dist/types/components/JcDatePicker/index.vue.d.ts +26 -58
- package/dist/types/components/JcImportButton/index.d.ts +14 -41
- package/dist/types/components/JcImportButton/index.vue.d.ts +19 -26
- package/dist/types/components/JcImportDialog/index.d.ts +14 -74
- package/dist/types/components/JcImportDialog/index.vue.d.ts +25 -48
- package/dist/types/components/JcInputComplex/index.d.ts +51 -93
- package/dist/types/components/JcInputComplex/index.vue.d.ts +126 -141
- package/dist/types/components/JcInputSwitch/index.d.ts +45 -93
- package/dist/types/components/JcInputSwitch/index.vue.d.ts +74 -91
- package/dist/types/components/JcMoreQueryContain/index.d.ts +14 -197
- package/dist/types/components/JcMoreQueryContain/index.vue.d.ts +108 -172
- package/dist/types/components/JcSelectQuery/index.d.ts +19 -178
- package/dist/types/components/JcSelectQuery/index.vue.d.ts +137 -206
- package/dist/types/components/JcTagQuery/index.d.ts +4 -19
- package/dist/types/components/JcTagQuery/index.vue.d.ts +7 -12
- package/dist/types/index.d.ts +3 -1
- package/package.json +2 -2
|
@@ -1,126 +1,57 @@
|
|
|
1
|
-
import type { PropType } from "vue";
|
|
2
1
|
import "vue-virtual-scroller/dist/vue-virtual-scroller.css";
|
|
3
|
-
|
|
2
|
+
/** 选项项类型 */
|
|
3
|
+
export interface SelectQueryItem {
|
|
4
4
|
label: string;
|
|
5
5
|
value: string;
|
|
6
|
-
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
}
|
|
8
|
+
/** 组件 Props 类型 */
|
|
9
|
+
export interface Props {
|
|
10
|
+
/** 绑定的字段名 */
|
|
11
|
+
field: string;
|
|
12
|
+
/** 选项数据 */
|
|
13
|
+
options: SelectQueryItem[];
|
|
14
|
+
/** 是否允许创建新选项 */
|
|
15
|
+
allowCreate?: boolean;
|
|
16
|
+
/** 选项的键名配置 */
|
|
17
|
+
keyField?: string[];
|
|
18
|
+
/** 组件宽度 */
|
|
19
|
+
width?: string;
|
|
20
|
+
/** 组件尺寸 */
|
|
21
|
+
size?: "small" | "default" | "large";
|
|
22
|
+
/** 底部按钮文本 */
|
|
23
|
+
footerBtnName?: string;
|
|
24
|
+
/** 下拉框最大高度 */
|
|
25
|
+
maxScrollHeight?: string;
|
|
26
|
+
/** 是否显示底部按钮区域 */
|
|
27
|
+
isNeedFooter?: boolean;
|
|
28
|
+
/** 是否显示仅筛选 */
|
|
29
|
+
isNeedOnlySelect?: boolean;
|
|
30
|
+
/** 自定义注入键值 */
|
|
31
|
+
injectionKey?: string;
|
|
32
|
+
}
|
|
7
33
|
declare var __VLS_57: {
|
|
8
34
|
scope: any;
|
|
9
35
|
};
|
|
10
36
|
type __VLS_Slots = {} & {
|
|
11
37
|
default?: (props: typeof __VLS_57) => any;
|
|
12
38
|
};
|
|
13
|
-
declare const __VLS_component: import("vue").DefineComponent<
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
};
|
|
19
|
-
options: {
|
|
20
|
-
type: PropType<Array<Item>> | never[];
|
|
21
|
-
default: () => never[];
|
|
22
|
-
required: true;
|
|
23
|
-
};
|
|
24
|
-
allowCreate: {
|
|
25
|
-
type: BooleanConstructor;
|
|
26
|
-
default: boolean;
|
|
27
|
-
};
|
|
28
|
-
keyField: {
|
|
29
|
-
type: any;
|
|
30
|
-
default: () => string[];
|
|
31
|
-
};
|
|
32
|
-
width: {
|
|
33
|
-
type: StringConstructor;
|
|
34
|
-
default: string;
|
|
35
|
-
};
|
|
36
|
-
size: {
|
|
37
|
-
type: PropType<"small" | "default" | "large">;
|
|
38
|
-
default: string;
|
|
39
|
-
validator: (value: string) => boolean;
|
|
40
|
-
};
|
|
41
|
-
footerBtnName: {
|
|
42
|
-
type: StringConstructor;
|
|
43
|
-
default: string;
|
|
44
|
-
};
|
|
45
|
-
maxScrollHeight: {
|
|
46
|
-
type: StringConstructor;
|
|
47
|
-
default: string;
|
|
48
|
-
};
|
|
49
|
-
isNeedFooter: {
|
|
50
|
-
type: BooleanConstructor;
|
|
51
|
-
default: boolean;
|
|
52
|
-
};
|
|
53
|
-
isNeedOnlySelect: {
|
|
54
|
-
type: BooleanConstructor;
|
|
55
|
-
default: boolean;
|
|
56
|
-
};
|
|
57
|
-
injectionKey: {
|
|
58
|
-
type: StringConstructor;
|
|
59
|
-
default: string;
|
|
60
|
-
};
|
|
61
|
-
}>, {
|
|
62
|
-
[x: string]: string | Function | string[];
|
|
63
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
64
|
-
field: {
|
|
65
|
-
type: StringConstructor;
|
|
66
|
-
required: true;
|
|
67
|
-
default: string;
|
|
68
|
-
};
|
|
69
|
-
options: {
|
|
70
|
-
type: PropType<Array<Item>> | never[];
|
|
71
|
-
default: () => never[];
|
|
72
|
-
required: true;
|
|
73
|
-
};
|
|
74
|
-
allowCreate: {
|
|
75
|
-
type: BooleanConstructor;
|
|
76
|
-
default: boolean;
|
|
77
|
-
};
|
|
78
|
-
keyField: {
|
|
79
|
-
type: any;
|
|
80
|
-
default: () => string[];
|
|
81
|
-
};
|
|
82
|
-
width: {
|
|
83
|
-
type: StringConstructor;
|
|
84
|
-
default: string;
|
|
85
|
-
};
|
|
86
|
-
size: {
|
|
87
|
-
type: PropType<"small" | "default" | "large">;
|
|
88
|
-
default: string;
|
|
89
|
-
validator: (value: string) => boolean;
|
|
90
|
-
};
|
|
91
|
-
footerBtnName: {
|
|
92
|
-
type: StringConstructor;
|
|
93
|
-
default: string;
|
|
94
|
-
};
|
|
95
|
-
maxScrollHeight: {
|
|
96
|
-
type: StringConstructor;
|
|
97
|
-
default: string;
|
|
98
|
-
};
|
|
99
|
-
isNeedFooter: {
|
|
100
|
-
type: BooleanConstructor;
|
|
101
|
-
default: boolean;
|
|
102
|
-
};
|
|
103
|
-
isNeedOnlySelect: {
|
|
104
|
-
type: BooleanConstructor;
|
|
105
|
-
default: boolean;
|
|
106
|
-
};
|
|
107
|
-
injectionKey: {
|
|
108
|
-
type: StringConstructor;
|
|
109
|
-
default: string;
|
|
110
|
-
};
|
|
111
|
-
}>> & Readonly<{}>, {
|
|
39
|
+
declare const __VLS_component: import("vue").DefineComponent<Props, {
|
|
40
|
+
focus: () => void | undefined;
|
|
41
|
+
blur: () => void | undefined;
|
|
42
|
+
selectedLabel: string | string[] | undefined;
|
|
43
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
112
44
|
size: "small" | "default" | "large";
|
|
113
45
|
injectionKey: string;
|
|
114
|
-
|
|
115
|
-
options: Item[];
|
|
46
|
+
options: SelectQueryItem[];
|
|
116
47
|
allowCreate: boolean;
|
|
117
|
-
keyField:
|
|
48
|
+
keyField: string[];
|
|
118
49
|
width: string;
|
|
119
50
|
footerBtnName: string;
|
|
120
51
|
maxScrollHeight: string;
|
|
121
52
|
isNeedFooter: boolean;
|
|
122
53
|
isNeedOnlySelect: boolean;
|
|
123
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
54
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
124
55
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
125
56
|
export default _default;
|
|
126
57
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,35 +1,20 @@
|
|
|
1
1
|
export declare const JcTagQuery: {
|
|
2
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").
|
|
3
|
-
injectionKey: {
|
|
4
|
-
type: StringConstructor;
|
|
5
|
-
default: string;
|
|
6
|
-
};
|
|
7
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
2
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("./index.vue").Props> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
8
3
|
injectionKey: string;
|
|
9
|
-
},
|
|
4
|
+
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
10
5
|
P: {};
|
|
11
6
|
B: {};
|
|
12
7
|
D: {};
|
|
13
8
|
C: {};
|
|
14
9
|
M: {};
|
|
15
10
|
Defaults: {};
|
|
16
|
-
}, Readonly<import("vue").
|
|
17
|
-
injectionKey: {
|
|
18
|
-
type: StringConstructor;
|
|
19
|
-
default: string;
|
|
20
|
-
};
|
|
21
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
11
|
+
}, Readonly<import("./index.vue").Props> & Readonly<{}>, {}, {}, {}, {}, {
|
|
22
12
|
injectionKey: string;
|
|
23
13
|
}>;
|
|
24
14
|
__isFragment?: never;
|
|
25
15
|
__isTeleport?: never;
|
|
26
16
|
__isSuspense?: never;
|
|
27
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").
|
|
28
|
-
injectionKey: {
|
|
29
|
-
type: StringConstructor;
|
|
30
|
-
default: string;
|
|
31
|
-
};
|
|
32
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
17
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("./index.vue").Props> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
33
18
|
injectionKey: string;
|
|
34
19
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin;
|
|
35
20
|
export default JcTagQuery;
|
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
injectionKey: {
|
|
8
|
-
type: StringConstructor;
|
|
9
|
-
default: string;
|
|
10
|
-
};
|
|
11
|
-
}>> & Readonly<{}>, {
|
|
1
|
+
/** 组件 Props 类型 */
|
|
2
|
+
export interface Props {
|
|
3
|
+
/** 自定义注入键值 */
|
|
4
|
+
injectionKey?: string;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
12
7
|
injectionKey: string;
|
|
13
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
8
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
9
|
export default _default;
|