cnhis-design-vue 3.1.41-beta.32 → 3.1.41-beta.34
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/es/components/big-table/index.d.ts +1 -0
- package/es/components/big-table/src/BigTable.vue.d.ts +1 -0
- package/es/components/big-table/src/BigTable.vue2.js +1 -1
- package/es/components/big-table/style/index.css +1 -1
- package/es/components/config-provider/index.d.ts +14 -0
- package/es/components/config-provider/index.js +1 -0
- package/es/components/config-provider/src/ConfigProvider.d.ts +14 -0
- package/es/components/config-provider/src/ConfigProvider.js +1 -0
- package/es/components/config-provider/src/interface.d.ts +18 -0
- package/es/components/config-provider/src/interface.js +1 -0
- package/es/components/config-provider/src/utils/index.d.ts +2 -0
- package/es/components/config-provider/src/utils/index.js +1 -0
- package/es/components/fabric-chart/src/hooks/useBirthProcess.js +1 -1
- package/es/components/form-config/index.d.ts +27 -27
- package/es/components/form-config/src/FormConfig.vue.d.ts +27 -27
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +11 -11
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +14 -14
- package/es/components/form-render/index.d.ts +11 -11
- package/es/components/form-render/src/FormRender.vue.d.ts +11 -11
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +11 -11
- package/es/components/form-render/src/FormRenderWrapper.vue.js +1 -1
- package/es/components/form-render/src/components/renderer/radio&checkbox.d.ts +2 -2
- package/es/components/form-render/src/components/renderer/radio_checkbox.js +1 -1
- package/es/components/form-render/src/components/renderer/select.js +1 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.d.ts +1 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
- package/es/components/form-render/src/hooks/useFormRenderOptions.d.ts +4 -2
- package/es/components/form-render/src/hooks/useFormRenderOptions.js +1 -1
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +3 -1
- package/es/components/index.js +1 -1
- package/es/components/info-header/index.d.ts +421 -141
- package/es/components/info-header/src/InfoHeader.vue.d.ts +422 -141
- package/es/components/info-header/src/InfoHeader.vue.js +1 -1
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +320 -0
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.js +1 -0
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +447 -0
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.js +1 -0
- package/es/components/info-header/src/components/infoDescription/HiddenContent.vue.d.ts +2 -2
- package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue.d.ts +1 -1
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +412 -139
- package/es/components/info-header/src/components/infoDescription/index.vue.js +1 -1
- package/es/components/info-header/src/constants/index.d.ts +4 -0
- package/es/components/info-header/src/constants/index.js +1 -0
- package/es/components/info-header/src/hooks/useThemeOverrides.d.ts +4 -0
- package/es/components/info-header/src/hooks/useThemeOverrides.js +1 -0
- package/es/components/info-header/src/types/index.d.ts +12 -3
- package/es/components/info-header/style/index.css +1 -1
- package/es/components/keyboard/index.d.ts +3 -1
- package/es/components/keyboard/src/Keyboard.vue.d.ts +3 -1
- package/es/components/keyboard/src/Keyboard.vue.js +1 -1
- package/es/components/keyboard/src/constants/index.d.ts +2 -0
- package/es/components/keyboard/src/constants/index.js +1 -0
- package/es/components/keyboard/style/index.css +1 -1
- package/es/components/scale-view/src/components/formitem/sign-com.d.ts +1 -1
- package/es/components/shortcut-setter/index.d.ts +12 -12
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +12 -12
- package/es/components/steps-wheel/index.d.ts +1 -0
- package/es/components/steps-wheel/src/StepsWheel.vue.d.ts +1 -0
- package/es/components/steps-wheel/src/StepsWheel.vue.js +1 -1
- package/es/components/steps-wheel/src/constants/index.d.ts +2 -0
- package/es/components/steps-wheel/src/constants/index.js +1 -0
- package/es/components/steps-wheel/style/index.css +1 -1
- package/es/shared/mixins/index.d.ts +1 -0
- package/es/shared/mixins/index.js +1 -0
- package/es/shared/mixins/useTheme.d.ts +3 -0
- package/es/shared/mixins/useTheme.js +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,447 @@
|
|
|
1
|
+
import { Func } from '../../../../../../es/shared/types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
infoList: {
|
|
4
|
+
type: ArrayConstructor;
|
|
5
|
+
required: false;
|
|
6
|
+
default: () => never[];
|
|
7
|
+
};
|
|
8
|
+
labelField: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
required: false;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
valueField: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
required: false;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
rootSlot: {
|
|
19
|
+
type: ObjectConstructor;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
descriptionWidthList: {
|
|
23
|
+
type: ArrayConstructor;
|
|
24
|
+
required: true;
|
|
25
|
+
default: () => never[];
|
|
26
|
+
};
|
|
27
|
+
columnNum: {
|
|
28
|
+
type: NumberConstructor;
|
|
29
|
+
required: true;
|
|
30
|
+
default: number;
|
|
31
|
+
};
|
|
32
|
+
inForm: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
required: false;
|
|
35
|
+
};
|
|
36
|
+
}, {
|
|
37
|
+
descriptionStyle: {
|
|
38
|
+
height: string;
|
|
39
|
+
display: string;
|
|
40
|
+
'align-items': string;
|
|
41
|
+
};
|
|
42
|
+
NDescriptions: any;
|
|
43
|
+
NDescriptionsItem: import("vue").DefineComponent<{
|
|
44
|
+
readonly label: StringConstructor;
|
|
45
|
+
readonly span: {
|
|
46
|
+
readonly type: NumberConstructor;
|
|
47
|
+
readonly default: 1;
|
|
48
|
+
};
|
|
49
|
+
readonly labelStyle: import("vue").PropType<string | import("vue").CSSProperties>;
|
|
50
|
+
readonly contentStyle: import("vue").PropType<string | import("vue").CSSProperties>;
|
|
51
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
52
|
+
readonly label: StringConstructor;
|
|
53
|
+
readonly span: {
|
|
54
|
+
readonly type: NumberConstructor;
|
|
55
|
+
readonly default: 1;
|
|
56
|
+
};
|
|
57
|
+
readonly labelStyle: import("vue").PropType<string | import("vue").CSSProperties>;
|
|
58
|
+
readonly contentStyle: import("vue").PropType<string | import("vue").CSSProperties>;
|
|
59
|
+
}>>, {
|
|
60
|
+
readonly span: number;
|
|
61
|
+
}>;
|
|
62
|
+
DescriptionItem: import("vue").DefineComponent<{
|
|
63
|
+
infoItem: {
|
|
64
|
+
type: null;
|
|
65
|
+
required: true;
|
|
66
|
+
default: () => {};
|
|
67
|
+
};
|
|
68
|
+
labelField: {
|
|
69
|
+
type: StringConstructor;
|
|
70
|
+
required: false;
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
73
|
+
valueField: {
|
|
74
|
+
type: StringConstructor;
|
|
75
|
+
required: false;
|
|
76
|
+
default: string;
|
|
77
|
+
};
|
|
78
|
+
width: {
|
|
79
|
+
type: NumberConstructor;
|
|
80
|
+
required: false;
|
|
81
|
+
};
|
|
82
|
+
rootSlot: {
|
|
83
|
+
type: ObjectConstructor;
|
|
84
|
+
required: true;
|
|
85
|
+
};
|
|
86
|
+
}, {
|
|
87
|
+
props: {
|
|
88
|
+
infoItem: Partial<{
|
|
89
|
+
[K: string]: any;
|
|
90
|
+
slot: string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | ((payload: {
|
|
91
|
+
width: unknown;
|
|
92
|
+
item: Partial<any>;
|
|
93
|
+
}) => any);
|
|
94
|
+
tip: string;
|
|
95
|
+
formField: Partial<import("../../../..").FieldItem>;
|
|
96
|
+
edit: boolean;
|
|
97
|
+
}>;
|
|
98
|
+
labelField: string;
|
|
99
|
+
valueField: string;
|
|
100
|
+
width?: number | undefined;
|
|
101
|
+
rootSlot: Record<string, any>;
|
|
102
|
+
};
|
|
103
|
+
SchemaField: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
104
|
+
formRenderRef: import("vue").Ref<import("../../../..").FormRenderExpose | undefined>;
|
|
105
|
+
onItemDblclick: (item: Partial<{
|
|
106
|
+
[K: string]: any;
|
|
107
|
+
slot: string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | ((payload: {
|
|
108
|
+
width: unknown;
|
|
109
|
+
item: Partial<any>;
|
|
110
|
+
}) => any);
|
|
111
|
+
tip: string;
|
|
112
|
+
formField: Partial<import("../../../..").FieldItem>;
|
|
113
|
+
edit: boolean;
|
|
114
|
+
}>) => Promise<void>;
|
|
115
|
+
onItemClick: (item: Partial<{
|
|
116
|
+
[K: string]: any;
|
|
117
|
+
slot: string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | ((payload: {
|
|
118
|
+
width: unknown;
|
|
119
|
+
item: Partial<any>;
|
|
120
|
+
}) => any);
|
|
121
|
+
tip: string;
|
|
122
|
+
formField: Partial<import("../../../..").FieldItem>;
|
|
123
|
+
edit: boolean;
|
|
124
|
+
}>) => Promise<void>;
|
|
125
|
+
collector: import("../../../..").BusinessCollector | undefined;
|
|
126
|
+
schemaAdaptor: (fieldList: import("../../../..").FieldItem[]) => Record<string, import("@formily/json-schema").Stringify<{
|
|
127
|
+
[key: symbol]: any;
|
|
128
|
+
[key: `x-${string}`]: any;
|
|
129
|
+
[key: `x-${number}`]: any;
|
|
130
|
+
version?: string | undefined;
|
|
131
|
+
name?: import("@formily/json-schema").SchemaKey | undefined;
|
|
132
|
+
title?: any;
|
|
133
|
+
description?: any;
|
|
134
|
+
default?: any;
|
|
135
|
+
readOnly?: boolean | undefined;
|
|
136
|
+
writeOnly?: boolean | undefined;
|
|
137
|
+
type?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
138
|
+
enum?: import("@formily/json-schema").SchemaEnum<any> | undefined;
|
|
139
|
+
const?: any;
|
|
140
|
+
multipleOf?: number | undefined;
|
|
141
|
+
maximum?: number | undefined;
|
|
142
|
+
exclusiveMaximum?: number | undefined;
|
|
143
|
+
minimum?: number | undefined;
|
|
144
|
+
exclusiveMinimum?: number | undefined;
|
|
145
|
+
maxLength?: number | undefined;
|
|
146
|
+
minLength?: number | undefined;
|
|
147
|
+
pattern?: string | RegExp | undefined;
|
|
148
|
+
maxItems?: number | undefined;
|
|
149
|
+
minItems?: number | undefined;
|
|
150
|
+
uniqueItems?: boolean | undefined;
|
|
151
|
+
maxProperties?: number | undefined;
|
|
152
|
+
minProperties?: number | undefined;
|
|
153
|
+
required?: string | boolean | string[] | undefined;
|
|
154
|
+
format?: string | undefined;
|
|
155
|
+
$ref?: string | undefined;
|
|
156
|
+
$namespace?: string | undefined;
|
|
157
|
+
definitions?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
158
|
+
properties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
159
|
+
items?: import("@formily/json-schema").SchemaItems<any, any, any, any, any, any, any, any> | undefined;
|
|
160
|
+
additionalItems?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
161
|
+
patternProperties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
162
|
+
additionalProperties?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
163
|
+
"x-value"?: any;
|
|
164
|
+
"x-index"?: number | undefined;
|
|
165
|
+
"x-pattern"?: any;
|
|
166
|
+
"x-display"?: any;
|
|
167
|
+
"x-validator"?: any;
|
|
168
|
+
"x-decorator"?: any;
|
|
169
|
+
"x-decorator-props"?: any;
|
|
170
|
+
"x-component"?: any;
|
|
171
|
+
"x-component-props"?: any;
|
|
172
|
+
"x-reactions"?: import("@formily/json-schema").SchemaReactions<any> | undefined;
|
|
173
|
+
"x-content"?: any;
|
|
174
|
+
"x-data"?: any;
|
|
175
|
+
"x-visible"?: boolean | undefined;
|
|
176
|
+
"x-hidden"?: boolean | undefined;
|
|
177
|
+
"x-disabled"?: boolean | undefined;
|
|
178
|
+
"x-editable"?: boolean | undefined;
|
|
179
|
+
"x-read-only"?: boolean | undefined;
|
|
180
|
+
"x-read-pretty"?: boolean | undefined;
|
|
181
|
+
"x-compile-omitted"?: string[] | undefined;
|
|
182
|
+
}>>;
|
|
183
|
+
formModel: import("vue").Ref<import("@formily/core").Form<any>>;
|
|
184
|
+
schema: import("vue").ComputedRef<import("@formily/json-schema").Stringify<{
|
|
185
|
+
[key: symbol]: any;
|
|
186
|
+
[key: `x-${string}`]: any;
|
|
187
|
+
[key: `x-${number}`]: any;
|
|
188
|
+
version?: string | undefined;
|
|
189
|
+
name?: import("@formily/json-schema").SchemaKey | undefined;
|
|
190
|
+
title?: any;
|
|
191
|
+
description?: any;
|
|
192
|
+
default?: any;
|
|
193
|
+
readOnly?: boolean | undefined;
|
|
194
|
+
writeOnly?: boolean | undefined;
|
|
195
|
+
type?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
196
|
+
enum?: import("@formily/json-schema").SchemaEnum<any> | undefined;
|
|
197
|
+
const?: any;
|
|
198
|
+
multipleOf?: number | undefined;
|
|
199
|
+
maximum?: number | undefined;
|
|
200
|
+
exclusiveMaximum?: number | undefined;
|
|
201
|
+
minimum?: number | undefined;
|
|
202
|
+
exclusiveMinimum?: number | undefined;
|
|
203
|
+
maxLength?: number | undefined;
|
|
204
|
+
minLength?: number | undefined;
|
|
205
|
+
pattern?: string | RegExp | undefined;
|
|
206
|
+
maxItems?: number | undefined;
|
|
207
|
+
minItems?: number | undefined;
|
|
208
|
+
uniqueItems?: boolean | undefined;
|
|
209
|
+
maxProperties?: number | undefined;
|
|
210
|
+
minProperties?: number | undefined;
|
|
211
|
+
required?: string | boolean | string[] | undefined;
|
|
212
|
+
format?: string | undefined;
|
|
213
|
+
$ref?: string | undefined;
|
|
214
|
+
$namespace?: string | undefined;
|
|
215
|
+
definitions?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
216
|
+
properties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
217
|
+
items?: import("@formily/json-schema").SchemaItems<any, any, any, any, any, any, any, any> | undefined;
|
|
218
|
+
additionalItems?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
219
|
+
patternProperties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
220
|
+
additionalProperties?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
221
|
+
"x-value"?: any;
|
|
222
|
+
"x-index"?: number | undefined;
|
|
223
|
+
"x-pattern"?: any;
|
|
224
|
+
"x-display"?: any;
|
|
225
|
+
"x-validator"?: any;
|
|
226
|
+
"x-decorator"?: any;
|
|
227
|
+
"x-decorator-props"?: any;
|
|
228
|
+
"x-component"?: any;
|
|
229
|
+
"x-component-props"?: any;
|
|
230
|
+
"x-reactions"?: import("@formily/json-schema").SchemaReactions<any> | undefined;
|
|
231
|
+
"x-content"?: any;
|
|
232
|
+
"x-data"?: any;
|
|
233
|
+
"x-visible"?: boolean | undefined;
|
|
234
|
+
"x-hidden"?: boolean | undefined;
|
|
235
|
+
"x-disabled"?: boolean | undefined;
|
|
236
|
+
"x-editable"?: boolean | undefined;
|
|
237
|
+
"x-read-only"?: boolean | undefined;
|
|
238
|
+
"x-read-pretty"?: boolean | undefined;
|
|
239
|
+
"x-compile-omitted"?: string[] | undefined;
|
|
240
|
+
}>>;
|
|
241
|
+
itemStyle: import("vue").ComputedRef<any>;
|
|
242
|
+
ellipsisStyle: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
243
|
+
isHiddenContent: import("vue").ComputedRef<boolean>;
|
|
244
|
+
HiddenContent: import("vue").DefineComponent<{
|
|
245
|
+
content: {
|
|
246
|
+
type: StringConstructor;
|
|
247
|
+
default: string;
|
|
248
|
+
};
|
|
249
|
+
tip: StringConstructor;
|
|
250
|
+
width: {
|
|
251
|
+
type: NumberConstructor;
|
|
252
|
+
};
|
|
253
|
+
contentStyle: {
|
|
254
|
+
type: import("vue").PropType<import("vue").CSSProperties>;
|
|
255
|
+
default: () => {};
|
|
256
|
+
};
|
|
257
|
+
}, {
|
|
258
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
259
|
+
content: {
|
|
260
|
+
type: StringConstructor;
|
|
261
|
+
default: string;
|
|
262
|
+
};
|
|
263
|
+
tip: StringConstructor;
|
|
264
|
+
width: {
|
|
265
|
+
type: NumberConstructor;
|
|
266
|
+
};
|
|
267
|
+
contentStyle: {
|
|
268
|
+
type: import("vue").PropType<import("vue").CSSProperties>;
|
|
269
|
+
default: () => {};
|
|
270
|
+
};
|
|
271
|
+
}>> & {}>>;
|
|
272
|
+
hidden: import("vue").Ref<boolean>;
|
|
273
|
+
toggleHidden: () => void;
|
|
274
|
+
wrapperStyle: import("vue").ComputedRef<{
|
|
275
|
+
maxWidth: string;
|
|
276
|
+
width: string;
|
|
277
|
+
}>;
|
|
278
|
+
parsedContentStyle: import("vue").ComputedRef<{}>;
|
|
279
|
+
displayContent: import("vue").ComputedRef<string>;
|
|
280
|
+
InfoEllipsis: import("vue").DefineComponent<{
|
|
281
|
+
content: {
|
|
282
|
+
type: StringConstructor;
|
|
283
|
+
default: string;
|
|
284
|
+
};
|
|
285
|
+
tip: {
|
|
286
|
+
type: StringConstructor;
|
|
287
|
+
};
|
|
288
|
+
contentStyle: {
|
|
289
|
+
type: import("vue").PropType<import("vue").CSSProperties>;
|
|
290
|
+
default: () => {};
|
|
291
|
+
};
|
|
292
|
+
}, {
|
|
293
|
+
NEllipsis: any;
|
|
294
|
+
NTooltip: any;
|
|
295
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
296
|
+
content: {
|
|
297
|
+
type: StringConstructor;
|
|
298
|
+
default: string;
|
|
299
|
+
};
|
|
300
|
+
tip: {
|
|
301
|
+
type: StringConstructor;
|
|
302
|
+
};
|
|
303
|
+
contentStyle: {
|
|
304
|
+
type: import("vue").PropType<import("vue").CSSProperties>;
|
|
305
|
+
default: () => {};
|
|
306
|
+
};
|
|
307
|
+
}>>, {
|
|
308
|
+
content: string;
|
|
309
|
+
contentStyle: import("vue").CSSProperties;
|
|
310
|
+
}>;
|
|
311
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
312
|
+
content: {
|
|
313
|
+
type: StringConstructor;
|
|
314
|
+
default: string;
|
|
315
|
+
};
|
|
316
|
+
tip: StringConstructor;
|
|
317
|
+
width: {
|
|
318
|
+
type: NumberConstructor;
|
|
319
|
+
};
|
|
320
|
+
contentStyle: {
|
|
321
|
+
type: import("vue").PropType<import("vue").CSSProperties>;
|
|
322
|
+
default: () => {};
|
|
323
|
+
};
|
|
324
|
+
}>>, {
|
|
325
|
+
content: string;
|
|
326
|
+
contentStyle: import("vue").CSSProperties;
|
|
327
|
+
}>;
|
|
328
|
+
InfoEllipsis: import("vue").DefineComponent<{
|
|
329
|
+
content: {
|
|
330
|
+
type: StringConstructor;
|
|
331
|
+
default: string;
|
|
332
|
+
};
|
|
333
|
+
tip: {
|
|
334
|
+
type: StringConstructor;
|
|
335
|
+
};
|
|
336
|
+
contentStyle: {
|
|
337
|
+
type: import("vue").PropType<import("vue").CSSProperties>;
|
|
338
|
+
default: () => {};
|
|
339
|
+
};
|
|
340
|
+
}, {
|
|
341
|
+
NEllipsis: any;
|
|
342
|
+
NTooltip: any;
|
|
343
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
344
|
+
content: {
|
|
345
|
+
type: StringConstructor;
|
|
346
|
+
default: string;
|
|
347
|
+
};
|
|
348
|
+
tip: {
|
|
349
|
+
type: StringConstructor;
|
|
350
|
+
};
|
|
351
|
+
contentStyle: {
|
|
352
|
+
type: import("vue").PropType<import("vue").CSSProperties>;
|
|
353
|
+
default: () => {};
|
|
354
|
+
};
|
|
355
|
+
}>>, {
|
|
356
|
+
content: string;
|
|
357
|
+
contentStyle: import("vue").CSSProperties;
|
|
358
|
+
}>;
|
|
359
|
+
SlotRender: import("vue").DefineComponent<{
|
|
360
|
+
renderer: {
|
|
361
|
+
type: import("vue").PropType<string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | Func<any[], any>>;
|
|
362
|
+
required: true;
|
|
363
|
+
};
|
|
364
|
+
rootSlots: {
|
|
365
|
+
type: import("vue").PropType<Record<string, Func<any[], any>>>;
|
|
366
|
+
};
|
|
367
|
+
}, () => any, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
368
|
+
renderer: {
|
|
369
|
+
type: import("vue").PropType<string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | Func<any[], any>>;
|
|
370
|
+
required: true;
|
|
371
|
+
};
|
|
372
|
+
rootSlots: {
|
|
373
|
+
type: import("vue").PropType<Record<string, Func<any[], any>>>;
|
|
374
|
+
};
|
|
375
|
+
}>>, {}>;
|
|
376
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
377
|
+
infoItem: {
|
|
378
|
+
type: null;
|
|
379
|
+
required: true;
|
|
380
|
+
default: () => {};
|
|
381
|
+
};
|
|
382
|
+
labelField: {
|
|
383
|
+
type: StringConstructor;
|
|
384
|
+
required: false;
|
|
385
|
+
default: string;
|
|
386
|
+
};
|
|
387
|
+
valueField: {
|
|
388
|
+
type: StringConstructor;
|
|
389
|
+
required: false;
|
|
390
|
+
default: string;
|
|
391
|
+
};
|
|
392
|
+
width: {
|
|
393
|
+
type: NumberConstructor;
|
|
394
|
+
required: false;
|
|
395
|
+
};
|
|
396
|
+
rootSlot: {
|
|
397
|
+
type: ObjectConstructor;
|
|
398
|
+
required: true;
|
|
399
|
+
};
|
|
400
|
+
}>>, {
|
|
401
|
+
labelField: string;
|
|
402
|
+
valueField: string;
|
|
403
|
+
infoItem: any;
|
|
404
|
+
}>;
|
|
405
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
406
|
+
infoList: {
|
|
407
|
+
type: ArrayConstructor;
|
|
408
|
+
required: false;
|
|
409
|
+
default: () => never[];
|
|
410
|
+
};
|
|
411
|
+
labelField: {
|
|
412
|
+
type: StringConstructor;
|
|
413
|
+
required: false;
|
|
414
|
+
default: string;
|
|
415
|
+
};
|
|
416
|
+
valueField: {
|
|
417
|
+
type: StringConstructor;
|
|
418
|
+
required: false;
|
|
419
|
+
default: string;
|
|
420
|
+
};
|
|
421
|
+
rootSlot: {
|
|
422
|
+
type: ObjectConstructor;
|
|
423
|
+
required: true;
|
|
424
|
+
};
|
|
425
|
+
descriptionWidthList: {
|
|
426
|
+
type: ArrayConstructor;
|
|
427
|
+
required: true;
|
|
428
|
+
default: () => never[];
|
|
429
|
+
};
|
|
430
|
+
columnNum: {
|
|
431
|
+
type: NumberConstructor;
|
|
432
|
+
required: true;
|
|
433
|
+
default: number;
|
|
434
|
+
};
|
|
435
|
+
inForm: {
|
|
436
|
+
type: BooleanConstructor;
|
|
437
|
+
required: false;
|
|
438
|
+
};
|
|
439
|
+
}>>, {
|
|
440
|
+
infoList: unknown[];
|
|
441
|
+
labelField: string;
|
|
442
|
+
valueField: string;
|
|
443
|
+
descriptionWidthList: unknown[];
|
|
444
|
+
columnNum: number;
|
|
445
|
+
inForm: boolean;
|
|
446
|
+
}>;
|
|
447
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{defineComponent as l,openBlock as e,createBlock as t,unref as i,withCtx as o,createElementBlock as a,Fragment as n,renderList as u}from"vue";import{NDescriptions as r,NDescriptionsItem as d}from"naive-ui";import s from"./DescriptionItem.vue.js";import f from"../../../../../_virtual/plugin-vue_export-helper.js";var m=f(l({__name:"DescriptionList",props:{infoList:{default:()=>[]},labelField:{default:"label"},valueField:{default:"value"},rootSlot:null,descriptionWidthList:{default:()=>[]},columnNum:{default:3},inForm:{type:Boolean}},setup(l){const f={height:"100%",display:"inline-flex","align-items":"center"};return(m,p)=>(e(),t(i(r),{"label-align":"right","label-placement":"left",separator:":",column:l.columnNum,"label-style":f,"content-style":f},{default:o((()=>[(e(!0),a(n,null,u(l.infoList,((a,n)=>(e(),t(i(d),{key:a[l.labelField],label:a[l.labelField]},{default:o((()=>[(e(),t(s,{key:a[l.labelField],"info-item":a,width:l.descriptionWidthList[n],"root-slot":l.rootSlot,"label-field":l.labelField,"value-field":l.valueField},null,8,["info-item","width","root-slot","label-field","value-field"]))])),_:2},1032,["label"])))),128))])),_:1},8,["column"]))}}),[["__file","DescriptionList.vue"]]);export{m as default};
|
|
@@ -63,8 +63,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
63
63
|
default: () => {};
|
|
64
64
|
};
|
|
65
65
|
}>>, {
|
|
66
|
-
contentStyle: CSSProperties;
|
|
67
66
|
content: string;
|
|
67
|
+
contentStyle: CSSProperties;
|
|
68
68
|
}>;
|
|
69
69
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
70
70
|
content: {
|
|
@@ -80,7 +80,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
80
80
|
default: () => {};
|
|
81
81
|
};
|
|
82
82
|
}>>, {
|
|
83
|
-
contentStyle: CSSProperties;
|
|
84
83
|
content: string;
|
|
84
|
+
contentStyle: CSSProperties;
|
|
85
85
|
}>;
|
|
86
86
|
export default _default;
|