@94ai/nf-search-form 6.1.6 → 6.1.7

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,666 @@
1
+ import { NfSearchFormItemOption } from './types';
2
+ import { ITabItem } from '@94ai/nf-drawer/lib/types';
3
+ declare const _default: __VLS_WithTemplateSlots<import("vue-demi").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
+ upIcon?: string | undefined;
5
+ downIcon?: string | undefined;
6
+ columns?: number | undefined;
7
+ showBtn?: boolean | undefined;
8
+ isCollapse?: boolean | undefined;
9
+ expandBtnType?: string | undefined;
10
+ expandBtnIcon?: string | undefined;
11
+ expandBtnPlain?: boolean | undefined;
12
+ expandBtnSize?: string | undefined;
13
+ expandBtnRound?: boolean | undefined;
14
+ expandBtnCircle?: boolean | undefined;
15
+ expandBtnLoading?: boolean | undefined;
16
+ expandBtnDisabled?: boolean | undefined;
17
+ expandBtnTooltipDesc?: string | undefined;
18
+ shrinkBtnTooltipDesc?: string | undefined;
19
+ rules?: Record<string, any> | undefined;
20
+ labelSuffix?: string | undefined;
21
+ hideRequiredAsterisk?: boolean | undefined;
22
+ showMessage?: boolean | undefined;
23
+ inlineMessage?: boolean | undefined;
24
+ statusIcon?: boolean | undefined;
25
+ validateOnRuleChange?: boolean | undefined;
26
+ size?: "medium" | "small" | "mini" | undefined;
27
+ disabled?: boolean | undefined;
28
+ labelPosition?: "right" | "left" | "top" | undefined;
29
+ inline?: boolean | undefined;
30
+ btnBoxLabel?: string | undefined;
31
+ btnModel?: "inline" | "block" | undefined;
32
+ itemWidth?: number | undefined;
33
+ labelWidth?: number | undefined;
34
+ formOptions?: NfSearchFormItemOption[] | any;
35
+ closable?: boolean | undefined;
36
+ columnEdit?: boolean | undefined;
37
+ showItems?: string[] | undefined;
38
+ priority?: "value" | "cached" | undefined;
39
+ storageKey?: string | undefined;
40
+ checkMode?: "dialog" | "drawer" | undefined;
41
+ selectEmptyWarningTips?: string | undefined;
42
+ columnDisplayBtnText?: string | undefined;
43
+ checkBtnIcon?: string | undefined;
44
+ checkBtnType?: string | undefined;
45
+ checkBtnPlain?: boolean | undefined;
46
+ checkBtnSize?: string | undefined;
47
+ checkBtnRound?: boolean | undefined;
48
+ checkBtnCircle?: boolean | undefined;
49
+ checkBtnLoading?: boolean | undefined;
50
+ checkBtnDisabled?: boolean | undefined;
51
+ checkBtnClass?: string | undefined;
52
+ columnCheckCancelButtonText?: string | undefined;
53
+ columnCheckConfirmButtonText?: string | undefined;
54
+ moreDialogTitle?: string | undefined;
55
+ moreDialogWidth?: string | undefined;
56
+ modalAppendToBody?: boolean | undefined;
57
+ modal?: boolean | undefined;
58
+ fullscreen?: boolean | undefined;
59
+ top?: string | undefined;
60
+ appendToBody?: boolean | undefined;
61
+ lockScroll?: boolean | undefined;
62
+ customClass?: string | undefined;
63
+ closeOnlickModal?: boolean | undefined;
64
+ closeOnPressEscape?: boolean | undefined;
65
+ showClose?: boolean | undefined;
66
+ beforeClose?: Function | undefined;
67
+ center?: boolean | undefined;
68
+ destroyOnClose?: boolean | undefined;
69
+ columnCheckSearchPlaceholder?: string | undefined;
70
+ columnCheckFixedLeftDesc?: string | undefined;
71
+ columnCheckClearDesc?: string | undefined;
72
+ columnCheckNoFixedDesc?: string | undefined;
73
+ columnCheckBasicFieldDesc?: string | undefined;
74
+ columnCheckGetCheckedLengthDesc?: any;
75
+ columnCheckGetAllCheckDesc?: any;
76
+ columnCheckTabs?: ITabItem[] | undefined;
77
+ columnCheckCurrentTab?: string | undefined;
78
+ btnItems?: "" | string[] | "search" | "export" | "reset" | undefined;
79
+ reverseBtnSlot?: boolean | undefined;
80
+ exportBtnIcon?: string | undefined;
81
+ exportBtnType?: string | undefined;
82
+ exportBtnPlain?: boolean | undefined;
83
+ exportBtnSize?: string | undefined;
84
+ exportBtnRound?: boolean | undefined;
85
+ exportBtnCircle?: boolean | undefined;
86
+ exportBtnLoading?: boolean | undefined;
87
+ exportBtnDisabled?: boolean | undefined;
88
+ exportBtnText?: string | undefined;
89
+ exportBtnClass?: string | undefined;
90
+ queryBtnIcon?: string | undefined;
91
+ queryBtnType?: string | undefined;
92
+ queryBtnPlain?: boolean | undefined;
93
+ queryBtnSize?: string | undefined;
94
+ queryBtnRound?: boolean | undefined;
95
+ queryBtnCircle?: boolean | undefined;
96
+ queryBtnLoading?: boolean | undefined;
97
+ queryBtnDisabled?: boolean | undefined;
98
+ queryBtnText?: string | undefined;
99
+ queryBtnClass?: string | undefined;
100
+ resetBtnIcon?: string | undefined;
101
+ resetBtnType?: string | undefined;
102
+ resetBtnPlain?: boolean | undefined;
103
+ resetBtnSize?: string | undefined;
104
+ resetBtnRound?: boolean | undefined;
105
+ resetBtnCircle?: boolean | undefined;
106
+ resetBtnLoading?: boolean | undefined;
107
+ resetBtnDisabled?: boolean | undefined;
108
+ resetBtnText?: string | undefined;
109
+ resetBtnClass?: string | undefined;
110
+ }>, {
111
+ priority: string;
112
+ storageKey: string;
113
+ checkMode: string;
114
+ upIcon: string;
115
+ downIcon: string;
116
+ showBtn: boolean;
117
+ isCollapse: boolean;
118
+ expandBtnType: string;
119
+ expandBtnPlain: boolean;
120
+ expandBtnRound: boolean;
121
+ expandBtnCircle: boolean;
122
+ expandBtnLoading: boolean;
123
+ expandBtnDisabled: boolean;
124
+ columns: undefined;
125
+ labelPosition: string;
126
+ inline: boolean;
127
+ rules: undefined;
128
+ labelSuffix: undefined;
129
+ hideRequiredAsterisk: boolean;
130
+ showMessage: boolean;
131
+ inlineMessage: boolean;
132
+ statusIcon: boolean;
133
+ validateOnRuleChange: boolean;
134
+ size: string;
135
+ disabled: boolean;
136
+ labelWidth: number;
137
+ formOptions: () => never[];
138
+ showItems: () => never[];
139
+ closable: boolean;
140
+ itemWidth: number;
141
+ btnItems: () => "";
142
+ columnEdit: boolean;
143
+ btnBoxLabel: string;
144
+ btnModel: string;
145
+ checkBtnIcon: string;
146
+ checkBtnPlain: boolean;
147
+ checkBtnType: string;
148
+ checkBtnRound: boolean;
149
+ checkBtnCircle: boolean;
150
+ checkBtnLoading: boolean;
151
+ checkBtnDisabled: boolean;
152
+ checkBtnClass: string;
153
+ queryBtnIcon: string;
154
+ queryBtnPlain: boolean;
155
+ queryBtnType: string;
156
+ queryBtnRound: boolean;
157
+ queryBtnCircle: boolean;
158
+ queryBtnLoading: boolean;
159
+ queryBtnDisabled: boolean;
160
+ queryBtnClass: string;
161
+ resetBtnIcon: string;
162
+ resetBtnPlain: boolean;
163
+ resetBtnType: string;
164
+ resetBtnRound: boolean;
165
+ resetBtnCircle: boolean;
166
+ resetBtnLoading: boolean;
167
+ resetBtnDisabled: boolean;
168
+ resetBtnClass: string;
169
+ exportBtnIcon: string;
170
+ exportBtnPlain: boolean;
171
+ exportBtnType: string;
172
+ exportBtnRound: boolean;
173
+ exportBtnCircle: boolean;
174
+ exportBtnLoading: boolean;
175
+ exportBtnDisabled: boolean;
176
+ exportBtnClass: string;
177
+ reverseBtnSlot: boolean;
178
+ moreDialogWidth: string;
179
+ modalAppendToBody: boolean;
180
+ modal: boolean;
181
+ fullscreen: boolean;
182
+ top: string;
183
+ appendToBody: boolean;
184
+ lockScroll: boolean;
185
+ customClass: string;
186
+ closeOnlickModal: boolean;
187
+ closeOnPressEscape: boolean;
188
+ showClose: boolean;
189
+ beforeClose: undefined;
190
+ center: boolean;
191
+ destroyOnClose: boolean;
192
+ expandBtnTooltipDesc: string;
193
+ shrinkBtnTooltipDesc: string;
194
+ exportBtnText: string;
195
+ resetBtnText: string;
196
+ queryBtnText: string;
197
+ selectEmptyWarningTips: string;
198
+ columnCheckCancelButtonText: string;
199
+ columnCheckConfirmButtonText: string;
200
+ moreDialogTitle: string;
201
+ columnDisplayBtnText: string;
202
+ columnCheckSearchPlaceholder: string;
203
+ columnCheckFixedLeftDesc: string;
204
+ columnCheckClearDesc: string;
205
+ columnCheckNoFixedDesc: string;
206
+ columnCheckBasicFieldDesc: string;
207
+ columnCheckGetCheckedLengthDesc: (length: any) => (length: any) => string;
208
+ columnCheckGetAllCheckDesc: (length: any) => (length: any) => string;
209
+ }>, {
210
+ localShowItems: import("vue-demi").Ref<string[]>;
211
+ syncLocalShowColumnToCookies: () => void;
212
+ syncCookiesToLocalShowColumn: (refreshModel?: boolean) => Promise<void>;
213
+ syncShowItemToInitHidden: () => void;
214
+ hiddenNfSearchFormItemOptionField: (prop: any) => Promise<void>;
215
+ refreshNfSearchFormModel: (outEmit?: boolean, init?: boolean) => void;
216
+ renderSearchFormItemOptions: import("vue-demi").Ref<{
217
+ key?: string | undefined;
218
+ _index?: number | undefined;
219
+ __index?: number | undefined;
220
+ initHidden?: boolean | undefined;
221
+ destory?: boolean | undefined;
222
+ label?: string | undefined;
223
+ addLabel?: string | undefined;
224
+ prop?: string | undefined;
225
+ width?: string | undefined;
226
+ isShowColon?: boolean | undefined;
227
+ hidden?: boolean | undefined;
228
+ required?: boolean | undefined;
229
+ rules?: Record<string, any> | undefined;
230
+ size?: "medium" | "small" | "mini" | undefined;
231
+ labelWidth?: string | undefined;
232
+ 'is-range'?: boolean | undefined;
233
+ showMessage?: boolean | undefined;
234
+ inlineMessage?: boolean | undefined;
235
+ category?: string | undefined;
236
+ initValue?: any;
237
+ slot?: string | undefined;
238
+ labelSlot?: string | undefined;
239
+ inputSlot?: {
240
+ prepend?: string | undefined;
241
+ append?: string | undefined;
242
+ suffix?: string | undefined;
243
+ prefix?: string | undefined;
244
+ doublePrepend?: string | undefined;
245
+ doubleAppend?: string | undefined;
246
+ doubleSuffix?: string | undefined;
247
+ doublePrefix?: string | undefined;
248
+ doubleSegment?: string | undefined;
249
+ } | undefined;
250
+ class?: string | undefined;
251
+ tooltip?: {
252
+ slot: string;
253
+ } | undefined;
254
+ type?: "monthrange" | "datetimerange" | "daterange" | "yearrange" | "halfyearrange" | "quarterrange" | "date" | "month" | "week" | "dates" | undefined;
255
+ element?: "el-input" | "el-select" | "custom-select" | "ai-select" | "ai-custom-select" | "nf-lazy-select" | "el-input-number" | "el-date-picker" | "el-cascader" | "el-time-select" | "el-time-picker" | "number-range" | "nf-date-picker" | "nf-timezone-picker" | "nf-quarter-picker" | "nf-half-year-picker" | "nf-double-year" | "nf-double-week" | "nf-double-half-year" | "nf-double-quarter" | "nf-transfer-select" | undefined;
256
+ events?: Record<string, Function> | undefined;
257
+ placeholder?: string | undefined;
258
+ virtualList?: boolean | undefined;
259
+ 'controls-position'?: "right" | "left" | undefined;
260
+ clearable?: boolean | undefined;
261
+ startPlaceholder?: string | undefined;
262
+ rangeSeparator?: string | undefined;
263
+ endPlaceholder?: string | undefined;
264
+ defaultTime?: string[] | undefined;
265
+ options?: {
266
+ label: string;
267
+ value: string | number;
268
+ }[] | undefined;
269
+ 'picker-options'?: {
270
+ start: string;
271
+ step: string;
272
+ end: string;
273
+ } | undefined;
274
+ valueFormat?: string | undefined;
275
+ min?: 0 | undefined;
276
+ }[]>;
277
+ resetNfSearchFormModel: () => void;
278
+ onNfSearchFormValidate: (callback: any) => void;
279
+ onNfSearchFormSearch: () => void;
280
+ onNfSearchFormExport: () => void;
281
+ nfSearchFormModel: import("vue-demi").Ref<Record<string, any>>;
282
+ nfSearchFormRef: import("vue-demi").Ref<any>;
283
+ columnCheckNfDrawer: import("vue-demi").Ref<any>;
284
+ columnCheckDialog: import("vue-demi").Ref<any>;
285
+ columnCheckDrawer: import("vue-demi").Ref<any>;
286
+ configNfSearchItemVisibleDialog: import("vue-demi").Ref<boolean>;
287
+ syncCookiesToSearchFormItemOptions: (readCached?: boolean) => Promise<void>;
288
+ onResize: (params?: Record<string, any>) => Promise<void>;
289
+ visibleChange: () => void;
290
+ clearDragCached: () => Promise<void>;
291
+ clearColumnEditCached: () => Promise<void>;
292
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
293
+ onChange: (event: Record<string, any>) => void;
294
+ itemsChange: (event: string[]) => void;
295
+ onSearch: (event: Record<string, any>) => void;
296
+ onExport: (event: Record<string, any>) => void;
297
+ onResetFields: () => void;
298
+ isCollapseChange: (event: boolean) => void;
299
+ "update:showItems": (event: string[] | undefined) => void;
300
+ }, string, Readonly<import("vue-demi").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
301
+ upIcon?: string | undefined;
302
+ downIcon?: string | undefined;
303
+ columns?: number | undefined;
304
+ showBtn?: boolean | undefined;
305
+ isCollapse?: boolean | undefined;
306
+ expandBtnType?: string | undefined;
307
+ expandBtnIcon?: string | undefined;
308
+ expandBtnPlain?: boolean | undefined;
309
+ expandBtnSize?: string | undefined;
310
+ expandBtnRound?: boolean | undefined;
311
+ expandBtnCircle?: boolean | undefined;
312
+ expandBtnLoading?: boolean | undefined;
313
+ expandBtnDisabled?: boolean | undefined;
314
+ expandBtnTooltipDesc?: string | undefined;
315
+ shrinkBtnTooltipDesc?: string | undefined;
316
+ rules?: Record<string, any> | undefined;
317
+ labelSuffix?: string | undefined;
318
+ hideRequiredAsterisk?: boolean | undefined;
319
+ showMessage?: boolean | undefined;
320
+ inlineMessage?: boolean | undefined;
321
+ statusIcon?: boolean | undefined;
322
+ validateOnRuleChange?: boolean | undefined;
323
+ size?: "medium" | "small" | "mini" | undefined;
324
+ disabled?: boolean | undefined;
325
+ labelPosition?: "right" | "left" | "top" | undefined;
326
+ inline?: boolean | undefined;
327
+ btnBoxLabel?: string | undefined;
328
+ btnModel?: "inline" | "block" | undefined;
329
+ itemWidth?: number | undefined;
330
+ labelWidth?: number | undefined;
331
+ formOptions?: NfSearchFormItemOption[] | any;
332
+ closable?: boolean | undefined;
333
+ columnEdit?: boolean | undefined;
334
+ showItems?: string[] | undefined;
335
+ priority?: "value" | "cached" | undefined;
336
+ storageKey?: string | undefined;
337
+ checkMode?: "dialog" | "drawer" | undefined;
338
+ selectEmptyWarningTips?: string | undefined;
339
+ columnDisplayBtnText?: string | undefined;
340
+ checkBtnIcon?: string | undefined;
341
+ checkBtnType?: string | undefined;
342
+ checkBtnPlain?: boolean | undefined;
343
+ checkBtnSize?: string | undefined;
344
+ checkBtnRound?: boolean | undefined;
345
+ checkBtnCircle?: boolean | undefined;
346
+ checkBtnLoading?: boolean | undefined;
347
+ checkBtnDisabled?: boolean | undefined;
348
+ checkBtnClass?: string | undefined;
349
+ columnCheckCancelButtonText?: string | undefined;
350
+ columnCheckConfirmButtonText?: string | undefined;
351
+ moreDialogTitle?: string | undefined;
352
+ moreDialogWidth?: string | undefined;
353
+ modalAppendToBody?: boolean | undefined;
354
+ modal?: boolean | undefined;
355
+ fullscreen?: boolean | undefined;
356
+ top?: string | undefined;
357
+ appendToBody?: boolean | undefined;
358
+ lockScroll?: boolean | undefined;
359
+ customClass?: string | undefined;
360
+ closeOnlickModal?: boolean | undefined;
361
+ closeOnPressEscape?: boolean | undefined;
362
+ showClose?: boolean | undefined;
363
+ beforeClose?: Function | undefined;
364
+ center?: boolean | undefined;
365
+ destroyOnClose?: boolean | undefined;
366
+ columnCheckSearchPlaceholder?: string | undefined;
367
+ columnCheckFixedLeftDesc?: string | undefined;
368
+ columnCheckClearDesc?: string | undefined;
369
+ columnCheckNoFixedDesc?: string | undefined;
370
+ columnCheckBasicFieldDesc?: string | undefined;
371
+ columnCheckGetCheckedLengthDesc?: any;
372
+ columnCheckGetAllCheckDesc?: any;
373
+ columnCheckTabs?: ITabItem[] | undefined;
374
+ columnCheckCurrentTab?: string | undefined;
375
+ btnItems?: "" | string[] | "search" | "export" | "reset" | undefined;
376
+ reverseBtnSlot?: boolean | undefined;
377
+ exportBtnIcon?: string | undefined;
378
+ exportBtnType?: string | undefined;
379
+ exportBtnPlain?: boolean | undefined;
380
+ exportBtnSize?: string | undefined;
381
+ exportBtnRound?: boolean | undefined;
382
+ exportBtnCircle?: boolean | undefined;
383
+ exportBtnLoading?: boolean | undefined;
384
+ exportBtnDisabled?: boolean | undefined;
385
+ exportBtnText?: string | undefined;
386
+ exportBtnClass?: string | undefined;
387
+ queryBtnIcon?: string | undefined;
388
+ queryBtnType?: string | undefined;
389
+ queryBtnPlain?: boolean | undefined;
390
+ queryBtnSize?: string | undefined;
391
+ queryBtnRound?: boolean | undefined;
392
+ queryBtnCircle?: boolean | undefined;
393
+ queryBtnLoading?: boolean | undefined;
394
+ queryBtnDisabled?: boolean | undefined;
395
+ queryBtnText?: string | undefined;
396
+ queryBtnClass?: string | undefined;
397
+ resetBtnIcon?: string | undefined;
398
+ resetBtnType?: string | undefined;
399
+ resetBtnPlain?: boolean | undefined;
400
+ resetBtnSize?: string | undefined;
401
+ resetBtnRound?: boolean | undefined;
402
+ resetBtnCircle?: boolean | undefined;
403
+ resetBtnLoading?: boolean | undefined;
404
+ resetBtnDisabled?: boolean | undefined;
405
+ resetBtnText?: string | undefined;
406
+ resetBtnClass?: string | undefined;
407
+ }>, {
408
+ priority: string;
409
+ storageKey: string;
410
+ checkMode: string;
411
+ upIcon: string;
412
+ downIcon: string;
413
+ showBtn: boolean;
414
+ isCollapse: boolean;
415
+ expandBtnType: string;
416
+ expandBtnPlain: boolean;
417
+ expandBtnRound: boolean;
418
+ expandBtnCircle: boolean;
419
+ expandBtnLoading: boolean;
420
+ expandBtnDisabled: boolean;
421
+ columns: undefined;
422
+ labelPosition: string;
423
+ inline: boolean;
424
+ rules: undefined;
425
+ labelSuffix: undefined;
426
+ hideRequiredAsterisk: boolean;
427
+ showMessage: boolean;
428
+ inlineMessage: boolean;
429
+ statusIcon: boolean;
430
+ validateOnRuleChange: boolean;
431
+ size: string;
432
+ disabled: boolean;
433
+ labelWidth: number;
434
+ formOptions: () => never[];
435
+ showItems: () => never[];
436
+ closable: boolean;
437
+ itemWidth: number;
438
+ btnItems: () => "";
439
+ columnEdit: boolean;
440
+ btnBoxLabel: string;
441
+ btnModel: string;
442
+ checkBtnIcon: string;
443
+ checkBtnPlain: boolean;
444
+ checkBtnType: string;
445
+ checkBtnRound: boolean;
446
+ checkBtnCircle: boolean;
447
+ checkBtnLoading: boolean;
448
+ checkBtnDisabled: boolean;
449
+ checkBtnClass: string;
450
+ queryBtnIcon: string;
451
+ queryBtnPlain: boolean;
452
+ queryBtnType: string;
453
+ queryBtnRound: boolean;
454
+ queryBtnCircle: boolean;
455
+ queryBtnLoading: boolean;
456
+ queryBtnDisabled: boolean;
457
+ queryBtnClass: string;
458
+ resetBtnIcon: string;
459
+ resetBtnPlain: boolean;
460
+ resetBtnType: string;
461
+ resetBtnRound: boolean;
462
+ resetBtnCircle: boolean;
463
+ resetBtnLoading: boolean;
464
+ resetBtnDisabled: boolean;
465
+ resetBtnClass: string;
466
+ exportBtnIcon: string;
467
+ exportBtnPlain: boolean;
468
+ exportBtnType: string;
469
+ exportBtnRound: boolean;
470
+ exportBtnCircle: boolean;
471
+ exportBtnLoading: boolean;
472
+ exportBtnDisabled: boolean;
473
+ exportBtnClass: string;
474
+ reverseBtnSlot: boolean;
475
+ moreDialogWidth: string;
476
+ modalAppendToBody: boolean;
477
+ modal: boolean;
478
+ fullscreen: boolean;
479
+ top: string;
480
+ appendToBody: boolean;
481
+ lockScroll: boolean;
482
+ customClass: string;
483
+ closeOnlickModal: boolean;
484
+ closeOnPressEscape: boolean;
485
+ showClose: boolean;
486
+ beforeClose: undefined;
487
+ center: boolean;
488
+ destroyOnClose: boolean;
489
+ expandBtnTooltipDesc: string;
490
+ shrinkBtnTooltipDesc: string;
491
+ exportBtnText: string;
492
+ resetBtnText: string;
493
+ queryBtnText: string;
494
+ selectEmptyWarningTips: string;
495
+ columnCheckCancelButtonText: string;
496
+ columnCheckConfirmButtonText: string;
497
+ moreDialogTitle: string;
498
+ columnDisplayBtnText: string;
499
+ columnCheckSearchPlaceholder: string;
500
+ columnCheckFixedLeftDesc: string;
501
+ columnCheckClearDesc: string;
502
+ columnCheckNoFixedDesc: string;
503
+ columnCheckBasicFieldDesc: string;
504
+ columnCheckGetCheckedLengthDesc: (length: any) => (length: any) => string;
505
+ columnCheckGetAllCheckDesc: (length: any) => (length: any) => string;
506
+ }>>>, {
507
+ columns: number;
508
+ top: string;
509
+ storageKey: string;
510
+ columnEdit: boolean;
511
+ modalAppendToBody: boolean;
512
+ modal: boolean;
513
+ fullscreen: boolean;
514
+ appendToBody: boolean;
515
+ lockScroll: boolean;
516
+ customClass: string;
517
+ closeOnlickModal: boolean;
518
+ closeOnPressEscape: boolean;
519
+ showClose: boolean;
520
+ beforeClose: Function;
521
+ center: boolean;
522
+ destroyOnClose: boolean;
523
+ size: 'medium' | 'small' | 'mini';
524
+ selectEmptyWarningTips: string;
525
+ disabled: boolean;
526
+ itemWidth: number;
527
+ rules: Record<string, any>;
528
+ inline: boolean;
529
+ upIcon: string;
530
+ downIcon: string;
531
+ showBtn: boolean;
532
+ isCollapse: boolean;
533
+ expandBtnType: string;
534
+ expandBtnPlain: boolean;
535
+ expandBtnRound: boolean;
536
+ expandBtnCircle: boolean;
537
+ expandBtnLoading: boolean;
538
+ expandBtnDisabled: boolean;
539
+ expandBtnTooltipDesc: string;
540
+ shrinkBtnTooltipDesc: string;
541
+ labelSuffix: string;
542
+ hideRequiredAsterisk: boolean;
543
+ showMessage: boolean;
544
+ inlineMessage: boolean;
545
+ statusIcon: boolean;
546
+ validateOnRuleChange: boolean;
547
+ labelPosition: 'top' | 'right' | 'left';
548
+ btnBoxLabel: string;
549
+ btnModel: 'inline' | 'block';
550
+ labelWidth: number;
551
+ formOptions: NfSearchFormItemOption[] | any;
552
+ closable: boolean;
553
+ showItems: string[];
554
+ priority: 'cached' | 'value';
555
+ checkMode: 'dialog' | 'drawer';
556
+ columnDisplayBtnText: string;
557
+ checkBtnIcon: string;
558
+ checkBtnType: string;
559
+ checkBtnPlain: boolean;
560
+ checkBtnRound: boolean;
561
+ checkBtnCircle: boolean;
562
+ checkBtnLoading: boolean;
563
+ checkBtnDisabled: boolean;
564
+ checkBtnClass: string;
565
+ columnCheckCancelButtonText: string;
566
+ columnCheckConfirmButtonText: string;
567
+ moreDialogTitle: string;
568
+ moreDialogWidth: string;
569
+ columnCheckSearchPlaceholder: string;
570
+ columnCheckFixedLeftDesc: string;
571
+ columnCheckClearDesc: string;
572
+ columnCheckNoFixedDesc: string;
573
+ columnCheckBasicFieldDesc: string;
574
+ columnCheckGetCheckedLengthDesc: any;
575
+ columnCheckGetAllCheckDesc: any;
576
+ btnItems: string[] | 'search' | 'export' | 'reset' | '';
577
+ reverseBtnSlot: boolean;
578
+ exportBtnIcon: string;
579
+ exportBtnType: string;
580
+ exportBtnPlain: boolean;
581
+ exportBtnRound: boolean;
582
+ exportBtnCircle: boolean;
583
+ exportBtnLoading: boolean;
584
+ exportBtnDisabled: boolean;
585
+ exportBtnText: string;
586
+ exportBtnClass: string;
587
+ queryBtnIcon: string;
588
+ queryBtnType: string;
589
+ queryBtnPlain: boolean;
590
+ queryBtnRound: boolean;
591
+ queryBtnCircle: boolean;
592
+ queryBtnLoading: boolean;
593
+ queryBtnDisabled: boolean;
594
+ queryBtnText: string;
595
+ queryBtnClass: string;
596
+ resetBtnIcon: string;
597
+ resetBtnType: string;
598
+ resetBtnPlain: boolean;
599
+ resetBtnRound: boolean;
600
+ resetBtnCircle: boolean;
601
+ resetBtnLoading: boolean;
602
+ resetBtnDisabled: boolean;
603
+ resetBtnText: string;
604
+ resetBtnClass: string;
605
+ }>, Partial<Record<string, (_: {
606
+ slot: string;
607
+ }) => any>> & Partial<Record<string, (_: {
608
+ slot: string;
609
+ }) => any>> & Partial<Record<string, (_: {
610
+ slot: string;
611
+ }) => any>> & Partial<Record<string, (_: {
612
+ slot: string;
613
+ }) => any>> & Partial<Record<string, (_: {
614
+ slot: string;
615
+ }) => any>> & Partial<Record<string, (_: {
616
+ slot: string;
617
+ }) => any>> & Partial<Record<string, (_: {
618
+ slot: string;
619
+ }) => any>> & Partial<Record<string, (_: {
620
+ slot: string;
621
+ }) => any>> & Partial<Record<string, (_: {
622
+ slot: string;
623
+ }) => any>> & Partial<Record<string, (_: {
624
+ slot: string;
625
+ }) => any>> & Partial<Record<string, (_: {
626
+ slot: string;
627
+ }) => any>> & Partial<Record<string, (_: {
628
+ slot: string;
629
+ }) => any>> & {
630
+ btnBox?(_: {}): any;
631
+ dialogTitle?(_: {
632
+ slot: string;
633
+ }): any;
634
+ dialogFooter?(_: {
635
+ slot: string;
636
+ }): any;
637
+ columCheckTitle?(_: {
638
+ slot: string;
639
+ }): any;
640
+ columCheckFooter?(_: {
641
+ slot: string;
642
+ }): any;
643
+ }>;
644
+ export default _default;
645
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
646
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
647
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
648
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
649
+ } : {
650
+ type: import('vue').PropType<T[K]>;
651
+ required: true;
652
+ };
653
+ };
654
+ declare type __VLS_WithDefaults<P, D> = {
655
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
656
+ default: D[K];
657
+ }> : P[K];
658
+ };
659
+ declare type __VLS_Prettify<T> = {
660
+ [K in keyof T]: T[K];
661
+ } & {};
662
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
663
+ new (): {
664
+ $scopedSlots: S;
665
+ };
666
+ };
package/lib/types.d.ts CHANGED
@@ -1,7 +1,3 @@
1
- interface IExchangeKey {
2
- type: number;
3
- value?: any;
4
- }
5
1
  export declare type NfSearchFormItemOption = {
6
2
  key?: string;
7
3
  _index?: number;
@@ -21,10 +17,6 @@ export declare type NfSearchFormItemOption = {
21
17
  'is-range'?: boolean;
22
18
  showMessage?: boolean;
23
19
  inlineMessage?: boolean;
24
- getOptions?: (callback: (options: any[]) => void, formData: Record<string, any>) => void;
25
- changeProps?: string[];
26
- show?: (formData: Record<string, any>) => boolean;
27
- exchangeKey?: IExchangeKey;
28
20
  category?: string;
29
21
  initValue?: any;
30
22
  slot?: string;
@@ -67,4 +59,3 @@ export declare type NfSearchFormItemOption = {
67
59
  valueFormat?: string;
68
60
  min?: 0;
69
61
  };
70
- export {};
@@ -39,6 +39,7 @@
39
39
  </el-dialog>
40
40
  </template>
41
41
 
42
+
42
43
  <script lang="ts">
43
44
  import { defineComponent } from 'vue-demi'
44
45