halov 0.26.126 → 0.26.130
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 +8 -8
- package/dist/components/ExportModal.vue.d.ts +26 -335
- package/dist/components/GridConfigModal.vue.d.ts +12 -76
- package/dist/components/NumberInputModal.vue.d.ts +11 -914
- package/dist/halov.es.js +4599 -4706
- package/dist/halov.umd.cjs +6 -6
- package/dist/types/SystemMenu.d.ts +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
# halov library document
|
|
2
|
-
|
|
3
|
-
## Prerequisites
|
|
4
|
-
|
|
5
|
-
- Install `naive-ui`:
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
npm install naive-ui
|
|
1
|
+
# halov library document
|
|
2
|
+
|
|
3
|
+
## Prerequisites
|
|
4
|
+
|
|
5
|
+
- Install `naive-ui`:
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install naive-ui
|
|
9
9
|
|
|
@@ -1,338 +1,29 @@
|
|
|
1
|
-
|
|
2
|
-
show:
|
|
3
|
-
range
|
|
4
|
-
supportedFormats
|
|
5
|
-
supportedRanges
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
show: boolean;
|
|
3
|
+
range?: string;
|
|
4
|
+
supportedFormats?: Array<string>;
|
|
5
|
+
supportedRanges?: Array<string>;
|
|
6
|
+
};
|
|
7
|
+
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
9
|
+
slots: {
|
|
10
|
+
options?(_: {}): any;
|
|
11
|
+
};
|
|
12
|
+
refs: {};
|
|
13
|
+
rootEl: any;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
|
+
close: (...args: any[]) => void;
|
|
18
|
+
export: (...args: any[]) => void;
|
|
19
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
18
20
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
19
21
|
onExport?: ((...args: any[]) => any) | undefined;
|
|
20
|
-
}>, {
|
|
21
|
-
|
|
22
|
-
}, {}, {
|
|
23
|
-
NFormItem: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
24
|
-
readonly label: StringConstructor;
|
|
25
|
-
readonly labelWidth: import('vue').PropType<string | number>;
|
|
26
|
-
readonly labelStyle: import('vue').PropType<import('vue').CSSProperties | string>;
|
|
27
|
-
readonly labelAlign: import('vue').PropType<import('naive-ui/es/form/src/interface').LabelAlign>;
|
|
28
|
-
readonly labelPlacement: import('vue').PropType<import('naive-ui/es/form/src/interface').LabelPlacement>;
|
|
29
|
-
readonly path: StringConstructor;
|
|
30
|
-
readonly first: BooleanConstructor;
|
|
31
|
-
readonly rulePath: StringConstructor;
|
|
32
|
-
readonly required: BooleanConstructor;
|
|
33
|
-
readonly showRequireMark: {
|
|
34
|
-
readonly type: import('vue').PropType<boolean | undefined>;
|
|
35
|
-
readonly default: undefined;
|
|
36
|
-
};
|
|
37
|
-
readonly requireMarkPlacement: import('vue').PropType<"left" | "right" | "right-hanging">;
|
|
38
|
-
readonly showFeedback: {
|
|
39
|
-
readonly type: import('vue').PropType<boolean | undefined>;
|
|
40
|
-
readonly default: undefined;
|
|
41
|
-
};
|
|
42
|
-
readonly rule: import('vue').PropType<import('naive-ui').FormItemRule | import('naive-ui').FormItemRule[]>;
|
|
43
|
-
readonly size: import('vue').PropType<"small" | "medium" | "large">;
|
|
44
|
-
readonly ignorePathChange: BooleanConstructor;
|
|
45
|
-
readonly validationStatus: import('vue').PropType<"error" | "warning" | "success">;
|
|
46
|
-
readonly feedback: StringConstructor;
|
|
47
|
-
readonly feedbackClass: StringConstructor;
|
|
48
|
-
readonly feedbackStyle: import('vue').PropType<string | import('vue').CSSProperties>;
|
|
49
|
-
readonly showLabel: {
|
|
50
|
-
readonly type: import('vue').PropType<boolean | undefined>;
|
|
51
|
-
readonly default: undefined;
|
|
52
|
-
};
|
|
53
|
-
readonly labelProps: import('vue').PropType<import('vue').LabelHTMLAttributes>;
|
|
54
|
-
readonly theme: import('vue').PropType<import('naive-ui/es/_mixins').Theme<"Form", {
|
|
55
|
-
blankHeightSmall: string;
|
|
56
|
-
blankHeightMedium: string;
|
|
57
|
-
blankHeightLarge: string;
|
|
58
|
-
lineHeight: string;
|
|
59
|
-
labelTextColor: string;
|
|
60
|
-
asteriskColor: string;
|
|
61
|
-
feedbackTextColorError: string;
|
|
62
|
-
feedbackTextColorWarning: string;
|
|
63
|
-
feedbackTextColor: string;
|
|
64
|
-
feedbackPadding: string;
|
|
65
|
-
feedbackHeightSmall: string;
|
|
66
|
-
feedbackHeightMedium: string;
|
|
67
|
-
feedbackHeightLarge: string;
|
|
68
|
-
feedbackFontSizeSmall: string;
|
|
69
|
-
feedbackFontSizeMedium: string;
|
|
70
|
-
feedbackFontSizeLarge: string;
|
|
71
|
-
labelFontSizeLeftSmall: string;
|
|
72
|
-
labelFontSizeLeftMedium: string;
|
|
73
|
-
labelFontSizeLeftLarge: string;
|
|
74
|
-
labelFontSizeTopSmall: string;
|
|
75
|
-
labelFontSizeTopMedium: string;
|
|
76
|
-
labelFontSizeTopLarge: string;
|
|
77
|
-
labelHeightSmall: string;
|
|
78
|
-
labelHeightMedium: string;
|
|
79
|
-
labelHeightLarge: string;
|
|
80
|
-
labelPaddingVertical: string;
|
|
81
|
-
labelPaddingHorizontal: string;
|
|
82
|
-
labelTextAlignVertical: string;
|
|
83
|
-
labelTextAlignHorizontal: string;
|
|
84
|
-
labelFontWeight: string;
|
|
85
|
-
}, any>>;
|
|
86
|
-
readonly themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Form", {
|
|
87
|
-
blankHeightSmall: string;
|
|
88
|
-
blankHeightMedium: string;
|
|
89
|
-
blankHeightLarge: string;
|
|
90
|
-
lineHeight: string;
|
|
91
|
-
labelTextColor: string;
|
|
92
|
-
asteriskColor: string;
|
|
93
|
-
feedbackTextColorError: string;
|
|
94
|
-
feedbackTextColorWarning: string;
|
|
95
|
-
feedbackTextColor: string;
|
|
96
|
-
feedbackPadding: string;
|
|
97
|
-
feedbackHeightSmall: string;
|
|
98
|
-
feedbackHeightMedium: string;
|
|
99
|
-
feedbackHeightLarge: string;
|
|
100
|
-
feedbackFontSizeSmall: string;
|
|
101
|
-
feedbackFontSizeMedium: string;
|
|
102
|
-
feedbackFontSizeLarge: string;
|
|
103
|
-
labelFontSizeLeftSmall: string;
|
|
104
|
-
labelFontSizeLeftMedium: string;
|
|
105
|
-
labelFontSizeLeftLarge: string;
|
|
106
|
-
labelFontSizeTopSmall: string;
|
|
107
|
-
labelFontSizeTopMedium: string;
|
|
108
|
-
labelFontSizeTopLarge: string;
|
|
109
|
-
labelHeightSmall: string;
|
|
110
|
-
labelHeightMedium: string;
|
|
111
|
-
labelHeightLarge: string;
|
|
112
|
-
labelPaddingVertical: string;
|
|
113
|
-
labelPaddingHorizontal: string;
|
|
114
|
-
labelTextAlignVertical: string;
|
|
115
|
-
labelTextAlignHorizontal: string;
|
|
116
|
-
labelFontWeight: string;
|
|
117
|
-
}, any>>>;
|
|
118
|
-
readonly builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Form", {
|
|
119
|
-
blankHeightSmall: string;
|
|
120
|
-
blankHeightMedium: string;
|
|
121
|
-
blankHeightLarge: string;
|
|
122
|
-
lineHeight: string;
|
|
123
|
-
labelTextColor: string;
|
|
124
|
-
asteriskColor: string;
|
|
125
|
-
feedbackTextColorError: string;
|
|
126
|
-
feedbackTextColorWarning: string;
|
|
127
|
-
feedbackTextColor: string;
|
|
128
|
-
feedbackPadding: string;
|
|
129
|
-
feedbackHeightSmall: string;
|
|
130
|
-
feedbackHeightMedium: string;
|
|
131
|
-
feedbackHeightLarge: string;
|
|
132
|
-
feedbackFontSizeSmall: string;
|
|
133
|
-
feedbackFontSizeMedium: string;
|
|
134
|
-
feedbackFontSizeLarge: string;
|
|
135
|
-
labelFontSizeLeftSmall: string;
|
|
136
|
-
labelFontSizeLeftMedium: string;
|
|
137
|
-
labelFontSizeLeftLarge: string;
|
|
138
|
-
labelFontSizeTopSmall: string;
|
|
139
|
-
labelFontSizeTopMedium: string;
|
|
140
|
-
labelFontSizeTopLarge: string;
|
|
141
|
-
labelHeightSmall: string;
|
|
142
|
-
labelHeightMedium: string;
|
|
143
|
-
labelHeightLarge: string;
|
|
144
|
-
labelPaddingVertical: string;
|
|
145
|
-
labelPaddingHorizontal: string;
|
|
146
|
-
labelTextAlignVertical: string;
|
|
147
|
-
labelTextAlignHorizontal: string;
|
|
148
|
-
labelFontWeight: string;
|
|
149
|
-
}, any>>>;
|
|
150
|
-
}>, {
|
|
151
|
-
cssVars: import('vue').ComputedRef<{
|
|
152
|
-
"--n-bezier": string;
|
|
153
|
-
"--n-line-height": string;
|
|
154
|
-
"--n-blank-height": string;
|
|
155
|
-
"--n-label-font-size": string;
|
|
156
|
-
"--n-label-text-align": string;
|
|
157
|
-
"--n-label-height": string;
|
|
158
|
-
"--n-label-padding": string;
|
|
159
|
-
"--n-label-font-weight": string;
|
|
160
|
-
"--n-asterisk-color": string;
|
|
161
|
-
"--n-label-text-color": string;
|
|
162
|
-
"--n-feedback-padding": string;
|
|
163
|
-
"--n-feedback-font-size": string;
|
|
164
|
-
"--n-feedback-height": string;
|
|
165
|
-
"--n-feedback-text-color": string;
|
|
166
|
-
"--n-feedback-text-color-warning": string;
|
|
167
|
-
"--n-feedback-text-color-error": string;
|
|
168
|
-
}> | undefined;
|
|
169
|
-
themeClass: import('vue').Ref<string, string> | undefined;
|
|
170
|
-
onRender: (() => void) | undefined;
|
|
171
|
-
validate: import('naive-ui/es/form/src/interface').FormItemValidate;
|
|
172
|
-
restoreValidation: () => void;
|
|
173
|
-
path?: string;
|
|
174
|
-
internalValidate: import('naive-ui/es/form/src/interface').FormItemInternalValidate;
|
|
175
|
-
mergedSize: import('vue').ComputedRef<import('naive-ui/es/form/src/interface').Size>;
|
|
176
|
-
validationErrored: import('vue').Ref<boolean, boolean>;
|
|
177
|
-
validationWarned: import('vue').Ref<boolean, boolean>;
|
|
178
|
-
mergedLabelStyle: import('vue').ComputedRef<import('vue').StyleValue[]>;
|
|
179
|
-
mergedLabelPlacement: import('vue').ComputedRef<import('naive-ui/es/form/src/interface').LabelPlacement>;
|
|
180
|
-
mergedLabelAlign: import('vue').ComputedRef<import('naive-ui/es/form/src/interface').LabelAlign | undefined>;
|
|
181
|
-
mergedShowRequireMark: import('vue').ComputedRef<boolean | undefined>;
|
|
182
|
-
mergedRequireMarkPlacement: import('vue').ComputedRef<"left" | "right" | "right-hanging">;
|
|
183
|
-
mergedValidationStatus: import('vue').ComputedRef<"error" | "success" | "warning" | undefined>;
|
|
184
|
-
mergedShowFeedback: import('vue').ComputedRef<boolean>;
|
|
185
|
-
mergedShowLabel: import('vue').ComputedRef<boolean>;
|
|
186
|
-
isAutoLabelWidth: import('vue').ComputedRef<boolean>;
|
|
187
|
-
labelElementRef: import('vue').Ref<HTMLLabelElement | null, HTMLLabelElement | null>;
|
|
188
|
-
mergedClsPrefix: import('vue').Ref<string, string>;
|
|
189
|
-
mergedRequired: import('vue').ComputedRef<boolean>;
|
|
190
|
-
feedbackId: import('vue').Ref<string, string>;
|
|
191
|
-
renderExplains: import('vue').Ref<{
|
|
192
|
-
key: string;
|
|
193
|
-
render: () => import('vue').VNodeChild;
|
|
194
|
-
}[], {
|
|
195
|
-
key: string;
|
|
196
|
-
render: () => import('vue').VNodeChild;
|
|
197
|
-
}[] | {
|
|
198
|
-
key: string;
|
|
199
|
-
render: () => import('vue').VNodeChild;
|
|
200
|
-
}[]>;
|
|
201
|
-
reverseColSpace: import('vue').ComputedRef<boolean>;
|
|
202
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
203
|
-
readonly label: StringConstructor;
|
|
204
|
-
readonly labelWidth: import('vue').PropType<string | number>;
|
|
205
|
-
readonly labelStyle: import('vue').PropType<import('vue').CSSProperties | string>;
|
|
206
|
-
readonly labelAlign: import('vue').PropType<import('naive-ui/es/form/src/interface').LabelAlign>;
|
|
207
|
-
readonly labelPlacement: import('vue').PropType<import('naive-ui/es/form/src/interface').LabelPlacement>;
|
|
208
|
-
readonly path: StringConstructor;
|
|
209
|
-
readonly first: BooleanConstructor;
|
|
210
|
-
readonly rulePath: StringConstructor;
|
|
211
|
-
readonly required: BooleanConstructor;
|
|
212
|
-
readonly showRequireMark: {
|
|
213
|
-
readonly type: import('vue').PropType<boolean | undefined>;
|
|
214
|
-
readonly default: undefined;
|
|
215
|
-
};
|
|
216
|
-
readonly requireMarkPlacement: import('vue').PropType<"left" | "right" | "right-hanging">;
|
|
217
|
-
readonly showFeedback: {
|
|
218
|
-
readonly type: import('vue').PropType<boolean | undefined>;
|
|
219
|
-
readonly default: undefined;
|
|
220
|
-
};
|
|
221
|
-
readonly rule: import('vue').PropType<import('naive-ui').FormItemRule | import('naive-ui').FormItemRule[]>;
|
|
222
|
-
readonly size: import('vue').PropType<"small" | "medium" | "large">;
|
|
223
|
-
readonly ignorePathChange: BooleanConstructor;
|
|
224
|
-
readonly validationStatus: import('vue').PropType<"error" | "warning" | "success">;
|
|
225
|
-
readonly feedback: StringConstructor;
|
|
226
|
-
readonly feedbackClass: StringConstructor;
|
|
227
|
-
readonly feedbackStyle: import('vue').PropType<string | import('vue').CSSProperties>;
|
|
228
|
-
readonly showLabel: {
|
|
229
|
-
readonly type: import('vue').PropType<boolean | undefined>;
|
|
230
|
-
readonly default: undefined;
|
|
231
|
-
};
|
|
232
|
-
readonly labelProps: import('vue').PropType<import('vue').LabelHTMLAttributes>;
|
|
233
|
-
readonly theme: import('vue').PropType<import('naive-ui/es/_mixins').Theme<"Form", {
|
|
234
|
-
blankHeightSmall: string;
|
|
235
|
-
blankHeightMedium: string;
|
|
236
|
-
blankHeightLarge: string;
|
|
237
|
-
lineHeight: string;
|
|
238
|
-
labelTextColor: string;
|
|
239
|
-
asteriskColor: string;
|
|
240
|
-
feedbackTextColorError: string;
|
|
241
|
-
feedbackTextColorWarning: string;
|
|
242
|
-
feedbackTextColor: string;
|
|
243
|
-
feedbackPadding: string;
|
|
244
|
-
feedbackHeightSmall: string;
|
|
245
|
-
feedbackHeightMedium: string;
|
|
246
|
-
feedbackHeightLarge: string;
|
|
247
|
-
feedbackFontSizeSmall: string;
|
|
248
|
-
feedbackFontSizeMedium: string;
|
|
249
|
-
feedbackFontSizeLarge: string;
|
|
250
|
-
labelFontSizeLeftSmall: string;
|
|
251
|
-
labelFontSizeLeftMedium: string;
|
|
252
|
-
labelFontSizeLeftLarge: string;
|
|
253
|
-
labelFontSizeTopSmall: string;
|
|
254
|
-
labelFontSizeTopMedium: string;
|
|
255
|
-
labelFontSizeTopLarge: string;
|
|
256
|
-
labelHeightSmall: string;
|
|
257
|
-
labelHeightMedium: string;
|
|
258
|
-
labelHeightLarge: string;
|
|
259
|
-
labelPaddingVertical: string;
|
|
260
|
-
labelPaddingHorizontal: string;
|
|
261
|
-
labelTextAlignVertical: string;
|
|
262
|
-
labelTextAlignHorizontal: string;
|
|
263
|
-
labelFontWeight: string;
|
|
264
|
-
}, any>>;
|
|
265
|
-
readonly themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Form", {
|
|
266
|
-
blankHeightSmall: string;
|
|
267
|
-
blankHeightMedium: string;
|
|
268
|
-
blankHeightLarge: string;
|
|
269
|
-
lineHeight: string;
|
|
270
|
-
labelTextColor: string;
|
|
271
|
-
asteriskColor: string;
|
|
272
|
-
feedbackTextColorError: string;
|
|
273
|
-
feedbackTextColorWarning: string;
|
|
274
|
-
feedbackTextColor: string;
|
|
275
|
-
feedbackPadding: string;
|
|
276
|
-
feedbackHeightSmall: string;
|
|
277
|
-
feedbackHeightMedium: string;
|
|
278
|
-
feedbackHeightLarge: string;
|
|
279
|
-
feedbackFontSizeSmall: string;
|
|
280
|
-
feedbackFontSizeMedium: string;
|
|
281
|
-
feedbackFontSizeLarge: string;
|
|
282
|
-
labelFontSizeLeftSmall: string;
|
|
283
|
-
labelFontSizeLeftMedium: string;
|
|
284
|
-
labelFontSizeLeftLarge: string;
|
|
285
|
-
labelFontSizeTopSmall: string;
|
|
286
|
-
labelFontSizeTopMedium: string;
|
|
287
|
-
labelFontSizeTopLarge: string;
|
|
288
|
-
labelHeightSmall: string;
|
|
289
|
-
labelHeightMedium: string;
|
|
290
|
-
labelHeightLarge: string;
|
|
291
|
-
labelPaddingVertical: string;
|
|
292
|
-
labelPaddingHorizontal: string;
|
|
293
|
-
labelTextAlignVertical: string;
|
|
294
|
-
labelTextAlignHorizontal: string;
|
|
295
|
-
labelFontWeight: string;
|
|
296
|
-
}, any>>>;
|
|
297
|
-
readonly builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Form", {
|
|
298
|
-
blankHeightSmall: string;
|
|
299
|
-
blankHeightMedium: string;
|
|
300
|
-
blankHeightLarge: string;
|
|
301
|
-
lineHeight: string;
|
|
302
|
-
labelTextColor: string;
|
|
303
|
-
asteriskColor: string;
|
|
304
|
-
feedbackTextColorError: string;
|
|
305
|
-
feedbackTextColorWarning: string;
|
|
306
|
-
feedbackTextColor: string;
|
|
307
|
-
feedbackPadding: string;
|
|
308
|
-
feedbackHeightSmall: string;
|
|
309
|
-
feedbackHeightMedium: string;
|
|
310
|
-
feedbackHeightLarge: string;
|
|
311
|
-
feedbackFontSizeSmall: string;
|
|
312
|
-
feedbackFontSizeMedium: string;
|
|
313
|
-
feedbackFontSizeLarge: string;
|
|
314
|
-
labelFontSizeLeftSmall: string;
|
|
315
|
-
labelFontSizeLeftMedium: string;
|
|
316
|
-
labelFontSizeLeftLarge: string;
|
|
317
|
-
labelFontSizeTopSmall: string;
|
|
318
|
-
labelFontSizeTopMedium: string;
|
|
319
|
-
labelFontSizeTopLarge: string;
|
|
320
|
-
labelHeightSmall: string;
|
|
321
|
-
labelHeightMedium: string;
|
|
322
|
-
labelHeightLarge: string;
|
|
323
|
-
labelPaddingVertical: string;
|
|
324
|
-
labelPaddingHorizontal: string;
|
|
325
|
-
labelTextAlignVertical: string;
|
|
326
|
-
labelTextAlignHorizontal: string;
|
|
327
|
-
labelFontWeight: string;
|
|
328
|
-
}, any>>>;
|
|
329
|
-
}>> & Readonly<{}>, {
|
|
330
|
-
readonly first: boolean;
|
|
331
|
-
readonly required: boolean;
|
|
332
|
-
readonly showRequireMark: boolean | undefined;
|
|
333
|
-
readonly showFeedback: boolean | undefined;
|
|
334
|
-
readonly showLabel: boolean | undefined;
|
|
335
|
-
readonly ignorePathChange: boolean;
|
|
336
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
337
|
-
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
22
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
338
24
|
export default _default;
|
|
25
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
1
|
import { GridColumn } from '../types/HaloTypes';
|
|
3
2
|
export interface ColumnConfig {
|
|
4
3
|
columnId: string;
|
|
@@ -11,82 +10,19 @@ export interface GridConfig {
|
|
|
11
10
|
columns: Array<ColumnConfig>;
|
|
12
11
|
pageSize: number;
|
|
13
12
|
}
|
|
14
|
-
|
|
15
|
-
gridId:
|
|
16
|
-
show:
|
|
17
|
-
pageSize
|
|
18
|
-
gridColumns
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
columnId: string;
|
|
26
|
-
title: string;
|
|
27
|
-
visible: boolean;
|
|
28
|
-
sortIndex: number;
|
|
29
|
-
}[], ColumnConfig[] | {
|
|
30
|
-
columnId: string;
|
|
31
|
-
title: string;
|
|
32
|
-
visible: boolean;
|
|
33
|
-
sortIndex: number;
|
|
34
|
-
}[]>;
|
|
35
|
-
pageSizeRef: import('vue').Ref<number | undefined, number | undefined>;
|
|
36
|
-
maxPageSize: number;
|
|
37
|
-
isDefault: import('vue').Ref<boolean, boolean>;
|
|
38
|
-
allowSystemDefault: import('vue').Ref<boolean, boolean>;
|
|
39
|
-
columns: ({
|
|
40
|
-
title: string;
|
|
41
|
-
key: string;
|
|
42
|
-
width?: undefined;
|
|
43
|
-
align?: undefined;
|
|
44
|
-
fixed?: undefined;
|
|
45
|
-
render?: undefined;
|
|
46
|
-
} | {
|
|
47
|
-
title: string;
|
|
48
|
-
key: string;
|
|
49
|
-
width: number;
|
|
50
|
-
align: string;
|
|
51
|
-
fixed: string;
|
|
52
|
-
render: (rowData: any, rowIndex: number) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
53
|
-
[key: string]: any;
|
|
54
|
-
}>;
|
|
55
|
-
} | {
|
|
56
|
-
key: string;
|
|
57
|
-
width: number;
|
|
58
|
-
align: string;
|
|
59
|
-
fixed: string;
|
|
60
|
-
render: (rowData: any, rowIndex: number) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
61
|
-
[key: string]: any;
|
|
62
|
-
}>;
|
|
63
|
-
title?: undefined;
|
|
64
|
-
} | {
|
|
65
|
-
key: string;
|
|
66
|
-
width: number;
|
|
67
|
-
fixed: string;
|
|
68
|
-
title?: undefined;
|
|
69
|
-
align?: undefined;
|
|
70
|
-
render?: undefined;
|
|
71
|
-
})[];
|
|
72
|
-
save: () => Promise<void>;
|
|
73
|
-
reset: () => void;
|
|
74
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("close" | "update:pageSize" | "update:config")[], "close" | "update:pageSize" | "update:config", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
75
|
-
gridId: StringConstructor;
|
|
76
|
-
show: BooleanConstructor;
|
|
77
|
-
pageSize: NumberConstructor;
|
|
78
|
-
gridColumns: {
|
|
79
|
-
type: PropType<Array<GridColumn>>;
|
|
80
|
-
default: Array<GridColumn>;
|
|
81
|
-
};
|
|
82
|
-
}>> & Readonly<{
|
|
13
|
+
type __VLS_Props = {
|
|
14
|
+
gridId: string;
|
|
15
|
+
show: boolean;
|
|
16
|
+
pageSize?: number;
|
|
17
|
+
gridColumns?: Array<GridColumn>;
|
|
18
|
+
};
|
|
19
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
20
|
+
close: (...args: any[]) => void;
|
|
21
|
+
"update:pageSize": (...args: any[]) => void;
|
|
22
|
+
"update:config": (...args: any[]) => void;
|
|
23
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
83
24
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
84
25
|
"onUpdate:pageSize"?: ((...args: any[]) => any) | undefined;
|
|
85
26
|
"onUpdate:config"?: ((...args: any[]) => any) | undefined;
|
|
86
|
-
}>, {
|
|
87
|
-
show: boolean;
|
|
88
|
-
gridColumns: GridColumn[];
|
|
89
|
-
}, {}, {
|
|
90
|
-
WarningIcon: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
91
|
-
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
27
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
92
28
|
export default _default;
|