@bscjc/webui 1.0.1 → 1.0.3

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.
@@ -0,0 +1,97 @@
1
+ import type { Plugin } from "vue";
2
+ type SFCWithInstall<T> = T & Plugin;
3
+ export declare const JcCascader: SFCWithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ field: {
5
+ type: StringConstructor;
6
+ required: true;
7
+ default: string;
8
+ };
9
+ options: {
10
+ type: import("vue").PropType<Array<{
11
+ label: string;
12
+ value: string;
13
+ children?: Array<{
14
+ label: string;
15
+ value: string;
16
+ }>;
17
+ }>> | never[];
18
+ default: () => never[];
19
+ };
20
+ keyField: {
21
+ type: any;
22
+ default: () => string[];
23
+ };
24
+ width: {
25
+ type: StringConstructor;
26
+ default: string;
27
+ };
28
+ size: {
29
+ type: import("vue").PropType<"small" | "default" | "large">;
30
+ default: string;
31
+ validator: (value: string) => boolean;
32
+ };
33
+ footerBtnName: {
34
+ type: StringConstructor;
35
+ default: string;
36
+ };
37
+ isNeedFooter: {
38
+ type: BooleanConstructor;
39
+ default: boolean;
40
+ };
41
+ }>, {
42
+ [x: string]: any;
43
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
44
+ field: {
45
+ type: StringConstructor;
46
+ required: true;
47
+ default: string;
48
+ };
49
+ options: {
50
+ type: import("vue").PropType<Array<{
51
+ label: string;
52
+ value: string;
53
+ children?: Array<{
54
+ label: string;
55
+ value: string;
56
+ }>;
57
+ }>> | never[];
58
+ default: () => never[];
59
+ };
60
+ keyField: {
61
+ type: any;
62
+ default: () => string[];
63
+ };
64
+ width: {
65
+ type: StringConstructor;
66
+ default: string;
67
+ };
68
+ size: {
69
+ type: import("vue").PropType<"small" | "default" | "large">;
70
+ default: string;
71
+ validator: (value: string) => boolean;
72
+ };
73
+ footerBtnName: {
74
+ type: StringConstructor;
75
+ default: string;
76
+ };
77
+ isNeedFooter: {
78
+ type: BooleanConstructor;
79
+ default: boolean;
80
+ };
81
+ }>> & Readonly<{}>, {
82
+ size: "small" | "default" | "large";
83
+ field: string;
84
+ options: {
85
+ label: string;
86
+ value: string;
87
+ children?: Array<{
88
+ label: string;
89
+ value: string;
90
+ }>;
91
+ }[];
92
+ keyField: any;
93
+ width: string;
94
+ footerBtnName: string;
95
+ isNeedFooter: boolean;
96
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
97
+ export default JcCascader;
@@ -0,0 +1,84 @@
1
+ import type { PropType } from "vue";
2
+ type Item = {
3
+ label: string;
4
+ value: string;
5
+ };
6
+ type CascaderItem = {
7
+ label: string;
8
+ value: string;
9
+ children?: Array<Item>;
10
+ };
11
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
12
+ field: {
13
+ type: StringConstructor;
14
+ required: true;
15
+ default: string;
16
+ };
17
+ options: {
18
+ type: PropType<Array<CascaderItem>> | never[];
19
+ default: () => never[];
20
+ };
21
+ keyField: {
22
+ type: any;
23
+ default: () => string[];
24
+ };
25
+ width: {
26
+ type: StringConstructor;
27
+ default: string;
28
+ };
29
+ size: {
30
+ type: PropType<"small" | "default" | "large">;
31
+ default: string;
32
+ validator: (value: string) => boolean;
33
+ };
34
+ footerBtnName: {
35
+ type: StringConstructor;
36
+ default: string;
37
+ };
38
+ isNeedFooter: {
39
+ type: BooleanConstructor;
40
+ default: boolean;
41
+ };
42
+ }>, {
43
+ [x: string]: any;
44
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
45
+ field: {
46
+ type: StringConstructor;
47
+ required: true;
48
+ default: string;
49
+ };
50
+ options: {
51
+ type: PropType<Array<CascaderItem>> | never[];
52
+ default: () => never[];
53
+ };
54
+ keyField: {
55
+ type: any;
56
+ default: () => string[];
57
+ };
58
+ width: {
59
+ type: StringConstructor;
60
+ default: string;
61
+ };
62
+ size: {
63
+ type: PropType<"small" | "default" | "large">;
64
+ default: string;
65
+ validator: (value: string) => boolean;
66
+ };
67
+ footerBtnName: {
68
+ type: StringConstructor;
69
+ default: string;
70
+ };
71
+ isNeedFooter: {
72
+ type: BooleanConstructor;
73
+ default: boolean;
74
+ };
75
+ }>> & Readonly<{}>, {
76
+ size: "small" | "default" | "large";
77
+ field: string;
78
+ options: CascaderItem[];
79
+ keyField: any;
80
+ width: string;
81
+ footerBtnName: string;
82
+ isNeedFooter: boolean;
83
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
84
+ export default _default;
@@ -1,4 +1,5 @@
1
1
  export * from "./JcSelectQuery/index";
2
+ export * from "./JcCascader/index";
2
3
  export * from "./JcDatePicker/index";
3
4
  export * from "./JcInputSwitch/index";
4
5
  export * from "./JcInputComplex/index";