@partex/one-core 2.0.14 → 2.0.16
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 -1
- package/lib/components/actionButton/function.d.ts +1 -1
- package/lib/components/actionButton/interface.d.ts +1 -1
- package/lib/components/circle/index.d.ts +1 -0
- package/lib/components/circle/index.vue.d.ts +72 -0
- package/lib/components/common.d.ts +1 -59
- package/lib/components/components.d.ts +5 -4
- package/lib/components/create.d.ts +2 -1
- package/lib/components/error/index.d.ts +1 -0
- package/lib/components/error/index.vue.d.ts +23 -0
- package/lib/components/fetch.d.ts +7 -0
- package/lib/components/form/index.vue.d.ts +13 -13
- package/lib/components/form/interface.d.ts +1 -1
- package/lib/components/header/index.d.ts +0 -2
- package/lib/components/header/index.vue.d.ts +7 -15
- package/lib/components/icon/Add.vue.d.ts +3 -0
- package/lib/components/icon/Alert.vue.d.ts +3 -0
- package/lib/components/icon/ArrowClockwise.vue.d.ts +3 -0
- package/lib/components/icon/ArrowDown.vue.d.ts +3 -0
- package/lib/components/icon/ArrowSquareDown.vue.d.ts +3 -0
- package/lib/components/icon/ArrowUp.vue.d.ts +3 -0
- package/lib/components/icon/Bar.vue.d.ts +3 -0
- package/lib/components/icon/CalendarArrowDown.vue.d.ts +3 -0
- package/lib/components/icon/ChevronLeft.vue.d.ts +3 -0
- package/lib/components/icon/Clear.vue.d.ts +3 -0
- package/lib/components/icon/CloudArrowDown.vue.d.ts +3 -0
- package/lib/components/icon/Delete.vue.d.ts +3 -0
- package/lib/components/icon/Dismiss.vue.d.ts +3 -0
- package/lib/components/icon/Drafts.vue.d.ts +3 -0
- package/lib/components/icon/Eye.vue.d.ts +3 -0
- package/lib/components/icon/Filter.vue.d.ts +3 -0
- package/lib/components/icon/FullScreenMaximize.vue.d.ts +3 -0
- package/lib/components/icon/GridDots.vue.d.ts +3 -0
- package/lib/components/icon/MailInboxAdd.vue.d.ts +3 -0
- package/lib/components/icon/Navigation.vue.d.ts +3 -0
- package/lib/components/icon/Pin.vue.d.ts +3 -0
- package/lib/components/icon/Reset.vue.d.ts +3 -0
- package/lib/components/icon/Search.vue.d.ts +3 -0
- package/lib/components/icon/WeatherMoon.vue.d.ts +3 -0
- package/lib/components/icon/WeatherSunny.vue.d.ts +3 -0
- package/lib/components/icon/index.d.ts +25 -0
- package/lib/components/importer/api.d.ts +1 -1
- package/lib/components/importer/index.vue.d.ts +1 -1
- package/lib/components/index.d.ts +5 -0
- package/lib/components/interface.d.ts +45 -0
- package/lib/components/local/index.d.ts +181 -177
- package/lib/components/login/index.d.ts +0 -2
- package/lib/components/login/index.vue.d.ts +14 -0
- package/lib/components/main/index.d.ts +1 -0
- package/lib/components/main/index.vue.d.ts +157 -0
- package/lib/components/numberRoll/index.vue.d.ts +1 -1
- package/lib/components/role.d.ts +5 -0
- package/lib/components/searchBar/index.vue.d.ts +3 -2
- package/lib/components/{header → store}/api.d.ts +8 -1
- package/lib/components/{header/store.d.ts → store/common.d.ts} +7 -4
- package/lib/components/store/index.d.ts +4 -0
- package/lib/components/{login/store.d.ts → store/user.d.ts} +1 -1
- package/lib/components/table/index.d.ts +1 -1
- package/lib/components/table/index.vue.d.ts +1 -1
- package/lib/components/table/interface.d.ts +25 -1
- package/lib/components/theme.d.ts +4 -0
- package/lib/components/utils/fetch.d.ts +4 -0
- package/lib/components/utils/localStorage.d.ts +15 -0
- package/lib/components/utils/router.d.ts +3 -0
- package/lib/one-core.cjs +1 -98
- package/lib/one-core.js +4084 -6698
- package/lib/one-core.umd.cjs +1 -98
- package/lib/style.css +1 -1
- package/package.json +4 -1
- package/volar.d.ts +56 -18
- package/lib/components/dashboard/index.d.ts +0 -1
- package/lib/components/error404/index.d.ts +0 -1
- package/lib/components/error404/index.vue.d.ts +0 -5
- package/lib/components/error500/index.d.ts +0 -1
- package/lib/components/error500/index.vue.d.ts +0 -5
- package/lib/components/icon.d.ts +0 -25
- package/lib/components/login/api.d.ts +0 -7
- package/lib/components/tableEdit/common.d.ts +0 -1
- package/lib/components/tableEdit/components/action.vue.d.ts +0 -79
- package/lib/components/tableEdit/components/code.vue.d.ts +0 -42
- package/lib/components/tableEdit/components/form.vue.d.ts +0 -254
- package/lib/components/tableEdit/components/header.vue.d.ts +0 -270
- package/lib/components/tableEdit/index.d.ts +0 -2
- package/lib/components/tableEdit/index.vue.d.ts +0 -610
- package/lib/components/tableEdit/interface.d.ts +0 -25
- package/lib/src/monaco.d.ts +0 -2
- /package/lib/components/{dashboard/store.d.ts → scale.d.ts} +0 -0
- /package/lib/components/{login → store}/interface.d.ts +0 -0
|
@@ -1,254 +0,0 @@
|
|
|
1
|
-
import { Fn, ObjectKey } from '../..';
|
|
2
|
-
import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
-
import type { IFormItem } from '../../form';
|
|
4
|
-
declare const _default: DefineComponent<{
|
|
5
|
-
value: {
|
|
6
|
-
type: PropType<IFormItem>;
|
|
7
|
-
default: undefined;
|
|
8
|
-
};
|
|
9
|
-
}, {
|
|
10
|
-
rules: Ref<{
|
|
11
|
-
input: {
|
|
12
|
-
required: boolean;
|
|
13
|
-
message: string;
|
|
14
|
-
trigger: string[];
|
|
15
|
-
}[];
|
|
16
|
-
label: {
|
|
17
|
-
required: boolean;
|
|
18
|
-
message: string;
|
|
19
|
-
trigger: string[];
|
|
20
|
-
}[];
|
|
21
|
-
key: {
|
|
22
|
-
required: boolean;
|
|
23
|
-
message: string;
|
|
24
|
-
trigger: string[];
|
|
25
|
-
}[];
|
|
26
|
-
type: {
|
|
27
|
-
required: boolean;
|
|
28
|
-
message: string;
|
|
29
|
-
trigger: string[];
|
|
30
|
-
}[];
|
|
31
|
-
}>;
|
|
32
|
-
formRef: Ref<any>;
|
|
33
|
-
popoverRef: Ref<any>;
|
|
34
|
-
element: Ref<{
|
|
35
|
-
input: "input";
|
|
36
|
-
type: "textarea" | "text" | "password";
|
|
37
|
-
minlength: number | null;
|
|
38
|
-
maxlength: number | null;
|
|
39
|
-
rows: number | null;
|
|
40
|
-
label: string;
|
|
41
|
-
key: string;
|
|
42
|
-
placeholder: string;
|
|
43
|
-
span: number;
|
|
44
|
-
disabled: boolean;
|
|
45
|
-
readonly: boolean;
|
|
46
|
-
clearable: boolean;
|
|
47
|
-
rule: {
|
|
48
|
-
required: boolean;
|
|
49
|
-
type?: ("string" | "number" | "boolean" | "object" | "url" | "method" | "pattern" | "email" | "hex" | "regexp" | "integer" | "float" | "array" | "enum" | "date" | "any") | undefined;
|
|
50
|
-
message: string;
|
|
51
|
-
trigger: ("input" | "blur" | "change" | "focus") | ("input" | "blur" | "change" | "focus")[];
|
|
52
|
-
validator?: string | Fn<any, any> | undefined;
|
|
53
|
-
};
|
|
54
|
-
edit: {
|
|
55
|
-
show?: boolean | undefined;
|
|
56
|
-
disabled?: boolean | undefined;
|
|
57
|
-
readonly?: boolean | undefined;
|
|
58
|
-
};
|
|
59
|
-
} | {
|
|
60
|
-
input: "number";
|
|
61
|
-
showButton: boolean;
|
|
62
|
-
min: number | null;
|
|
63
|
-
max: number | null;
|
|
64
|
-
step: number | null;
|
|
65
|
-
precision: number | null;
|
|
66
|
-
label: string;
|
|
67
|
-
key: string;
|
|
68
|
-
placeholder: string;
|
|
69
|
-
span: number;
|
|
70
|
-
disabled: boolean;
|
|
71
|
-
readonly: boolean;
|
|
72
|
-
clearable: boolean;
|
|
73
|
-
rule: {
|
|
74
|
-
required: boolean;
|
|
75
|
-
type?: ("string" | "number" | "boolean" | "object" | "url" | "method" | "pattern" | "email" | "hex" | "regexp" | "integer" | "float" | "array" | "enum" | "date" | "any") | undefined;
|
|
76
|
-
message: string;
|
|
77
|
-
trigger: ("input" | "blur" | "change" | "focus") | ("input" | "blur" | "change" | "focus")[];
|
|
78
|
-
validator?: string | Fn<any, any> | undefined;
|
|
79
|
-
};
|
|
80
|
-
edit: {
|
|
81
|
-
show?: boolean | undefined;
|
|
82
|
-
disabled?: boolean | undefined;
|
|
83
|
-
readonly?: boolean | undefined;
|
|
84
|
-
};
|
|
85
|
-
} | {
|
|
86
|
-
input: "date";
|
|
87
|
-
type: "date" | "datetime" | "daterange" | "datetimerange" | "month" | "monthrange" | "year" | "yearrange" | "quarter" | "quarterrange" | "week";
|
|
88
|
-
label: string;
|
|
89
|
-
key: string;
|
|
90
|
-
placeholder: string;
|
|
91
|
-
span: number;
|
|
92
|
-
disabled: boolean;
|
|
93
|
-
readonly: boolean;
|
|
94
|
-
clearable: boolean;
|
|
95
|
-
rule: {
|
|
96
|
-
required: boolean;
|
|
97
|
-
type?: ("string" | "number" | "boolean" | "object" | "url" | "method" | "pattern" | "email" | "hex" | "regexp" | "integer" | "float" | "array" | "enum" | "date" | "any") | undefined;
|
|
98
|
-
message: string;
|
|
99
|
-
trigger: ("input" | "blur" | "change" | "focus") | ("input" | "blur" | "change" | "focus")[];
|
|
100
|
-
validator?: string | Fn<any, any> | undefined;
|
|
101
|
-
};
|
|
102
|
-
edit: {
|
|
103
|
-
show?: boolean | undefined;
|
|
104
|
-
disabled?: boolean | undefined;
|
|
105
|
-
readonly?: boolean | undefined;
|
|
106
|
-
};
|
|
107
|
-
} | {
|
|
108
|
-
input: "select";
|
|
109
|
-
options: ObjectKey[];
|
|
110
|
-
filterable: boolean;
|
|
111
|
-
multiple: boolean;
|
|
112
|
-
maxTagCount: number | "responsive" | null;
|
|
113
|
-
label: string;
|
|
114
|
-
key: string;
|
|
115
|
-
placeholder: string;
|
|
116
|
-
span: number;
|
|
117
|
-
disabled: boolean;
|
|
118
|
-
readonly: boolean;
|
|
119
|
-
clearable: boolean;
|
|
120
|
-
rule: {
|
|
121
|
-
required: boolean;
|
|
122
|
-
type?: ("string" | "number" | "boolean" | "object" | "url" | "method" | "pattern" | "email" | "hex" | "regexp" | "integer" | "float" | "array" | "enum" | "date" | "any") | undefined;
|
|
123
|
-
message: string;
|
|
124
|
-
trigger: ("input" | "blur" | "change" | "focus") | ("input" | "blur" | "change" | "focus")[];
|
|
125
|
-
validator?: string | Fn<any, any> | undefined;
|
|
126
|
-
};
|
|
127
|
-
edit: {
|
|
128
|
-
show?: boolean | undefined;
|
|
129
|
-
disabled?: boolean | undefined;
|
|
130
|
-
readonly?: boolean | undefined;
|
|
131
|
-
};
|
|
132
|
-
} | {
|
|
133
|
-
input: "time";
|
|
134
|
-
label: string;
|
|
135
|
-
key: string;
|
|
136
|
-
placeholder: string;
|
|
137
|
-
span: number;
|
|
138
|
-
disabled: boolean;
|
|
139
|
-
readonly: boolean;
|
|
140
|
-
clearable: boolean;
|
|
141
|
-
rule: {
|
|
142
|
-
required: boolean;
|
|
143
|
-
type?: ("string" | "number" | "boolean" | "object" | "url" | "method" | "pattern" | "email" | "hex" | "regexp" | "integer" | "float" | "array" | "enum" | "date" | "any") | undefined;
|
|
144
|
-
message: string;
|
|
145
|
-
trigger: ("input" | "blur" | "change" | "focus") | ("input" | "blur" | "change" | "focus")[];
|
|
146
|
-
validator?: string | Fn<any, any> | undefined;
|
|
147
|
-
};
|
|
148
|
-
edit: {
|
|
149
|
-
show?: boolean | undefined;
|
|
150
|
-
disabled?: boolean | undefined;
|
|
151
|
-
readonly?: boolean | undefined;
|
|
152
|
-
};
|
|
153
|
-
} | {
|
|
154
|
-
input: "switch";
|
|
155
|
-
label: string;
|
|
156
|
-
key: string;
|
|
157
|
-
placeholder: string;
|
|
158
|
-
span: number;
|
|
159
|
-
disabled: boolean;
|
|
160
|
-
readonly: boolean;
|
|
161
|
-
clearable: boolean;
|
|
162
|
-
rule: {
|
|
163
|
-
required: boolean;
|
|
164
|
-
type?: ("string" | "number" | "boolean" | "object" | "url" | "method" | "pattern" | "email" | "hex" | "regexp" | "integer" | "float" | "array" | "enum" | "date" | "any") | undefined;
|
|
165
|
-
message: string;
|
|
166
|
-
trigger: ("input" | "blur" | "change" | "focus") | ("input" | "blur" | "change" | "focus")[];
|
|
167
|
-
validator?: string | Fn<any, any> | undefined;
|
|
168
|
-
};
|
|
169
|
-
edit: {
|
|
170
|
-
show?: boolean | undefined;
|
|
171
|
-
disabled?: boolean | undefined;
|
|
172
|
-
readonly?: boolean | undefined;
|
|
173
|
-
};
|
|
174
|
-
} | {
|
|
175
|
-
input: "upload";
|
|
176
|
-
accept: string;
|
|
177
|
-
max: number | null;
|
|
178
|
-
label: string;
|
|
179
|
-
key: string;
|
|
180
|
-
placeholder: string;
|
|
181
|
-
span: number;
|
|
182
|
-
disabled: boolean;
|
|
183
|
-
readonly: boolean;
|
|
184
|
-
clearable: boolean;
|
|
185
|
-
rule: {
|
|
186
|
-
required: boolean;
|
|
187
|
-
type?: ("string" | "number" | "boolean" | "object" | "url" | "method" | "pattern" | "email" | "hex" | "regexp" | "integer" | "float" | "array" | "enum" | "date" | "any") | undefined;
|
|
188
|
-
message: string;
|
|
189
|
-
trigger: ("input" | "blur" | "change" | "focus") | ("input" | "blur" | "change" | "focus")[];
|
|
190
|
-
validator?: string | Fn<any, any> | undefined;
|
|
191
|
-
};
|
|
192
|
-
edit: {
|
|
193
|
-
show?: boolean | undefined;
|
|
194
|
-
disabled?: boolean | undefined;
|
|
195
|
-
readonly?: boolean | undefined;
|
|
196
|
-
};
|
|
197
|
-
} | {
|
|
198
|
-
label: string;
|
|
199
|
-
key: string;
|
|
200
|
-
input: "";
|
|
201
|
-
placeholder: string;
|
|
202
|
-
span: number;
|
|
203
|
-
disabled: boolean;
|
|
204
|
-
readonly: boolean;
|
|
205
|
-
clearable: boolean;
|
|
206
|
-
rule: {
|
|
207
|
-
required: boolean;
|
|
208
|
-
type?: ("string" | "number" | "boolean" | "object" | "url" | "method" | "pattern" | "email" | "hex" | "regexp" | "integer" | "float" | "array" | "enum" | "date" | "any") | undefined;
|
|
209
|
-
message: string;
|
|
210
|
-
trigger: ("input" | "blur" | "change" | "focus") | ("input" | "blur" | "change" | "focus")[];
|
|
211
|
-
validator?: string | Fn<any, any> | undefined;
|
|
212
|
-
};
|
|
213
|
-
edit: {
|
|
214
|
-
show: boolean;
|
|
215
|
-
disabled: boolean;
|
|
216
|
-
readonly: boolean;
|
|
217
|
-
};
|
|
218
|
-
}>;
|
|
219
|
-
options: Ref<{
|
|
220
|
-
label: string;
|
|
221
|
-
value: string;
|
|
222
|
-
}[]>;
|
|
223
|
-
optionsA: Ref<{
|
|
224
|
-
label: string;
|
|
225
|
-
value: string;
|
|
226
|
-
}[]>;
|
|
227
|
-
optionsB: Ref<{
|
|
228
|
-
label: string;
|
|
229
|
-
value: string;
|
|
230
|
-
}[]>;
|
|
231
|
-
optionsInput: Ref<{
|
|
232
|
-
label: string;
|
|
233
|
-
value: string;
|
|
234
|
-
}[]>;
|
|
235
|
-
optionsDate: Ref<{
|
|
236
|
-
label: string;
|
|
237
|
-
value: string;
|
|
238
|
-
}[]>;
|
|
239
|
-
doSubmit: () => void;
|
|
240
|
-
doCancel: () => void;
|
|
241
|
-
inputChange: (value: '' | 'number' | 'date' | 'select' | 'input' | 'time' | 'switch' | 'upload') => void;
|
|
242
|
-
doSelectAdd: () => void;
|
|
243
|
-
doSelectDelete: (index: number) => void;
|
|
244
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "on-update:value"[], "on-update:value", PublicProps, Readonly<ExtractPropTypes<{
|
|
245
|
-
value: {
|
|
246
|
-
type: PropType<IFormItem>;
|
|
247
|
-
default: undefined;
|
|
248
|
-
};
|
|
249
|
-
}>> & {
|
|
250
|
-
"onOn-update:value"?: ((...args: any[]) => any) | undefined;
|
|
251
|
-
}, {
|
|
252
|
-
value: IFormItem;
|
|
253
|
-
}, {}>;
|
|
254
|
-
export default _default;
|
|
@@ -1,270 +0,0 @@
|
|
|
1
|
-
import { GroupInput } from '../../searchBar/interface';
|
|
2
|
-
import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
-
import type { IOcDataTableColumn } from '../../table/interface';
|
|
4
|
-
declare const _default: DefineComponent<{
|
|
5
|
-
value: {
|
|
6
|
-
type: PropType<IOcDataTableColumn<{
|
|
7
|
-
[x: string]: unknown;
|
|
8
|
-
}>>;
|
|
9
|
-
default: () => {};
|
|
10
|
-
};
|
|
11
|
-
}, {
|
|
12
|
-
formRef: Ref<any>;
|
|
13
|
-
popoverRef: Ref<any>;
|
|
14
|
-
rules: Ref<{
|
|
15
|
-
title: {
|
|
16
|
-
required: boolean;
|
|
17
|
-
message: string;
|
|
18
|
-
trigger: string[];
|
|
19
|
-
}[];
|
|
20
|
-
key: {
|
|
21
|
-
required: boolean;
|
|
22
|
-
message: string;
|
|
23
|
-
trigger: string[];
|
|
24
|
-
}[];
|
|
25
|
-
}>;
|
|
26
|
-
element: Ref<{
|
|
27
|
-
title: string;
|
|
28
|
-
key: string;
|
|
29
|
-
align: "left" | "center" | "right" | null;
|
|
30
|
-
titleAlign: "left" | "center" | "right" | null;
|
|
31
|
-
fixed: string | null;
|
|
32
|
-
width: number | null;
|
|
33
|
-
ellipsis: boolean | {
|
|
34
|
-
tooltip: boolean;
|
|
35
|
-
};
|
|
36
|
-
sorter: boolean;
|
|
37
|
-
titleColSpan?: number | undefined;
|
|
38
|
-
type?: undefined;
|
|
39
|
-
tree?: boolean | undefined;
|
|
40
|
-
resizable?: boolean | undefined;
|
|
41
|
-
show?: boolean | undefined;
|
|
42
|
-
hide?: boolean | undefined;
|
|
43
|
-
minWidth?: string | number | undefined;
|
|
44
|
-
maxWidth?: string | number | undefined;
|
|
45
|
-
render?: string | undefined;
|
|
46
|
-
search: {
|
|
47
|
-
type: "input";
|
|
48
|
-
title?: string | (() => string) | undefined;
|
|
49
|
-
key?: string | undefined;
|
|
50
|
-
defaultValue?: any;
|
|
51
|
-
show?: boolean | undefined;
|
|
52
|
-
clearable?: boolean | undefined;
|
|
53
|
-
placeholder?: string | (() => string) | undefined;
|
|
54
|
-
disabled?: boolean | undefined;
|
|
55
|
-
updateValue?: ((value: string | number | [] | null, data: any) => void) | undefined;
|
|
56
|
-
} | {
|
|
57
|
-
type: "number";
|
|
58
|
-
min?: number | undefined;
|
|
59
|
-
max?: number | undefined;
|
|
60
|
-
step?: number | undefined;
|
|
61
|
-
showButton?: boolean | undefined;
|
|
62
|
-
suffix?: string | undefined;
|
|
63
|
-
validator?: ((value: number) => boolean) | undefined;
|
|
64
|
-
title?: string | (() => string) | undefined;
|
|
65
|
-
key?: string | undefined;
|
|
66
|
-
defaultValue?: any;
|
|
67
|
-
show?: boolean | undefined;
|
|
68
|
-
clearable?: boolean | undefined;
|
|
69
|
-
placeholder?: string | (() => string) | undefined;
|
|
70
|
-
disabled?: boolean | undefined;
|
|
71
|
-
updateValue?: ((value: string | number | [] | null, data: any) => void) | undefined;
|
|
72
|
-
} | {
|
|
73
|
-
type: "select";
|
|
74
|
-
multiple?: boolean | undefined;
|
|
75
|
-
options: any;
|
|
76
|
-
title?: string | (() => string) | undefined;
|
|
77
|
-
key?: string | undefined;
|
|
78
|
-
defaultValue?: any;
|
|
79
|
-
show?: boolean | undefined;
|
|
80
|
-
clearable?: boolean | undefined;
|
|
81
|
-
placeholder?: string | (() => string) | undefined;
|
|
82
|
-
disabled?: boolean | undefined;
|
|
83
|
-
updateValue?: ((value: string | number | [] | null, data: any) => void) | undefined;
|
|
84
|
-
} | {
|
|
85
|
-
type: "dropdown";
|
|
86
|
-
options: any;
|
|
87
|
-
title?: string | (() => string) | undefined;
|
|
88
|
-
key?: string | undefined;
|
|
89
|
-
defaultValue?: any;
|
|
90
|
-
show?: boolean | undefined;
|
|
91
|
-
clearable?: boolean | undefined;
|
|
92
|
-
placeholder?: string | (() => string) | undefined;
|
|
93
|
-
disabled?: boolean | undefined;
|
|
94
|
-
updateValue?: ((value: string | number | [] | null, data: any) => void) | undefined;
|
|
95
|
-
} | {
|
|
96
|
-
type: "cascader";
|
|
97
|
-
multiple?: boolean | undefined;
|
|
98
|
-
checkStrategy?: "all" | "parent" | "child" | undefined;
|
|
99
|
-
options: any;
|
|
100
|
-
title?: string | (() => string) | undefined;
|
|
101
|
-
key?: string | undefined;
|
|
102
|
-
defaultValue?: any;
|
|
103
|
-
show?: boolean | undefined;
|
|
104
|
-
clearable?: boolean | undefined;
|
|
105
|
-
placeholder?: string | (() => string) | undefined;
|
|
106
|
-
disabled?: boolean | undefined;
|
|
107
|
-
updateValue?: ((value: string | number | [] | null, data: any) => void) | undefined;
|
|
108
|
-
} | {
|
|
109
|
-
type: "treeSelect";
|
|
110
|
-
multiple?: boolean | undefined;
|
|
111
|
-
checkStrategy?: "all" | "parent" | "child" | undefined;
|
|
112
|
-
options: any;
|
|
113
|
-
title?: string | (() => string) | undefined;
|
|
114
|
-
key?: string | undefined;
|
|
115
|
-
defaultValue?: any;
|
|
116
|
-
show?: boolean | undefined;
|
|
117
|
-
clearable?: boolean | undefined;
|
|
118
|
-
placeholder?: string | (() => string) | undefined;
|
|
119
|
-
disabled?: boolean | undefined;
|
|
120
|
-
updateValue?: ((value: string | number | [] | null, data: any) => void) | undefined;
|
|
121
|
-
} | {
|
|
122
|
-
type: "datePicker";
|
|
123
|
-
dateType: "date" | "datetime" | "daterange" | "datetimerange" | "month" | "monthrange" | "year" | "quarter";
|
|
124
|
-
format?: string | undefined;
|
|
125
|
-
isDateDisabled?: ((current: number) => boolean) | undefined;
|
|
126
|
-
shortcuts?: Record<string, number | (() => number)> | Record<string, [number, number] | (() => [number, number])> | undefined;
|
|
127
|
-
title?: string | (() => string) | undefined;
|
|
128
|
-
key?: string | undefined;
|
|
129
|
-
defaultValue?: any;
|
|
130
|
-
show?: boolean | undefined;
|
|
131
|
-
clearable?: boolean | undefined;
|
|
132
|
-
placeholder?: string | (() => string) | undefined;
|
|
133
|
-
disabled?: boolean | undefined;
|
|
134
|
-
updateValue?: ((value: string | number | [] | null, data: any) => void) | undefined;
|
|
135
|
-
} | {
|
|
136
|
-
type: "timePicker";
|
|
137
|
-
dateType: "time" | "timerange";
|
|
138
|
-
format?: string | undefined;
|
|
139
|
-
title?: string | (() => string) | undefined;
|
|
140
|
-
key?: string | undefined;
|
|
141
|
-
defaultValue?: any;
|
|
142
|
-
show?: boolean | undefined;
|
|
143
|
-
clearable?: boolean | undefined;
|
|
144
|
-
placeholder?: string | (() => string) | undefined;
|
|
145
|
-
disabled?: boolean | undefined;
|
|
146
|
-
updateValue?: ((value: string | number | [] | null, data: any) => void) | undefined;
|
|
147
|
-
} | {
|
|
148
|
-
type: "group";
|
|
149
|
-
options: any[];
|
|
150
|
-
input: {
|
|
151
|
-
key: string;
|
|
152
|
-
options: {
|
|
153
|
-
[key: string]: GroupInput;
|
|
154
|
-
};
|
|
155
|
-
};
|
|
156
|
-
width?: string | number | undefined;
|
|
157
|
-
inputTemp?: {
|
|
158
|
-
options?: any[] | undefined;
|
|
159
|
-
type: "input";
|
|
160
|
-
disabled?: boolean | undefined;
|
|
161
|
-
key?: string | undefined;
|
|
162
|
-
placeholder?: string | (() => string) | undefined;
|
|
163
|
-
defaultValue?: any;
|
|
164
|
-
clearable?: boolean | undefined;
|
|
165
|
-
updateValue?: ((value: string | number | [] | null, data: any) => void) | undefined;
|
|
166
|
-
} | {
|
|
167
|
-
options?: any[] | undefined;
|
|
168
|
-
max?: number | undefined;
|
|
169
|
-
type: "number";
|
|
170
|
-
disabled?: boolean | undefined;
|
|
171
|
-
key?: string | undefined;
|
|
172
|
-
validator?: ((value: number) => boolean) | undefined;
|
|
173
|
-
min?: number | undefined;
|
|
174
|
-
suffix?: string | undefined;
|
|
175
|
-
placeholder?: string | (() => string) | undefined;
|
|
176
|
-
defaultValue?: any;
|
|
177
|
-
clearable?: boolean | undefined;
|
|
178
|
-
step?: number | undefined;
|
|
179
|
-
showButton?: boolean | undefined;
|
|
180
|
-
updateValue?: ((value: string | number | [] | null, data: any) => void) | undefined;
|
|
181
|
-
} | {
|
|
182
|
-
options?: any[] | undefined;
|
|
183
|
-
type: "datePicker";
|
|
184
|
-
disabled?: boolean | undefined;
|
|
185
|
-
key?: string | undefined;
|
|
186
|
-
placeholder?: string | (() => string) | undefined;
|
|
187
|
-
defaultValue?: any;
|
|
188
|
-
clearable?: boolean | undefined;
|
|
189
|
-
format?: string | undefined;
|
|
190
|
-
shortcuts?: Record<string, number | (() => number)> | Record<string, [number, number] | (() => [number, number])> | undefined;
|
|
191
|
-
isDateDisabled?: ((current: number) => boolean) | undefined;
|
|
192
|
-
dateType: "date" | "datetime" | "daterange" | "datetimerange" | "month" | "monthrange" | "year" | "quarter";
|
|
193
|
-
updateValue?: ((value: string | number | [] | null, data: any) => void) | undefined;
|
|
194
|
-
} | {
|
|
195
|
-
multiple?: boolean | undefined;
|
|
196
|
-
type: "select";
|
|
197
|
-
options: any;
|
|
198
|
-
disabled?: boolean | undefined;
|
|
199
|
-
key?: string | undefined;
|
|
200
|
-
placeholder?: string | (() => string) | undefined;
|
|
201
|
-
defaultValue?: any;
|
|
202
|
-
clearable?: boolean | undefined;
|
|
203
|
-
updateValue?: ((value: string | number | [] | null, data: any) => void) | undefined;
|
|
204
|
-
} | {
|
|
205
|
-
type: "select";
|
|
206
|
-
multiple?: boolean | undefined;
|
|
207
|
-
options: any;
|
|
208
|
-
disabled?: boolean | undefined;
|
|
209
|
-
key?: string | undefined;
|
|
210
|
-
placeholder?: string | (() => string) | undefined;
|
|
211
|
-
defaultValue?: any;
|
|
212
|
-
clearable?: boolean | undefined;
|
|
213
|
-
updateValue?: ((value: string | number | [] | null, data: any) => void) | undefined;
|
|
214
|
-
} | undefined;
|
|
215
|
-
show?: boolean | undefined;
|
|
216
|
-
disabled?: boolean | undefined;
|
|
217
|
-
key?: string | undefined;
|
|
218
|
-
placeholder?: string | (() => string) | undefined;
|
|
219
|
-
defaultValue?: any;
|
|
220
|
-
updateValue?: ((value: string | number | [] | null, data: any) => void) | undefined;
|
|
221
|
-
} | {
|
|
222
|
-
type: "";
|
|
223
|
-
};
|
|
224
|
-
}>;
|
|
225
|
-
options: Ref<{
|
|
226
|
-
label: string;
|
|
227
|
-
value: string;
|
|
228
|
-
}[]>;
|
|
229
|
-
optionsA: Ref<{
|
|
230
|
-
label: string;
|
|
231
|
-
value: string;
|
|
232
|
-
}[]>;
|
|
233
|
-
optionsB: Ref<{
|
|
234
|
-
label: string;
|
|
235
|
-
value: string;
|
|
236
|
-
}[]>;
|
|
237
|
-
optionsC: Ref<{
|
|
238
|
-
label: string;
|
|
239
|
-
value: string;
|
|
240
|
-
}[]>;
|
|
241
|
-
optionsD: Ref<{
|
|
242
|
-
label: string;
|
|
243
|
-
value: string;
|
|
244
|
-
}[]>;
|
|
245
|
-
optionsE: Ref<{
|
|
246
|
-
label: string;
|
|
247
|
-
value: string;
|
|
248
|
-
}[]>;
|
|
249
|
-
inputChange: (value: '' | 'input' | 'number' | 'datePicker' | 'timePicker' | 'group' | 'select' | 'dropdown' | 'cascader' | 'treeSelect') => void;
|
|
250
|
-
doSubmit: () => void;
|
|
251
|
-
doCancel: () => void;
|
|
252
|
-
doSelectAdd: () => void;
|
|
253
|
-
doSelectDelete: (index: number) => void;
|
|
254
|
-
doGroupAdd: () => void;
|
|
255
|
-
doGroupDelete: (index: number) => void;
|
|
256
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "on-update:value"[], "on-update:value", PublicProps, Readonly<ExtractPropTypes<{
|
|
257
|
-
value: {
|
|
258
|
-
type: PropType<IOcDataTableColumn<{
|
|
259
|
-
[x: string]: unknown;
|
|
260
|
-
}>>;
|
|
261
|
-
default: () => {};
|
|
262
|
-
};
|
|
263
|
-
}>> & {
|
|
264
|
-
"onOn-update:value"?: ((...args: any[]) => any) | undefined;
|
|
265
|
-
}, {
|
|
266
|
-
value: IOcDataTableColumn<{
|
|
267
|
-
[x: string]: unknown;
|
|
268
|
-
}>;
|
|
269
|
-
}, {}>;
|
|
270
|
-
export default _default;
|