cnhis-design-vue 3.1.37-beta.1 → 3.1.37
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 +66 -166
- package/es/components/big-table/src/BigTable.vue.d.ts +79 -194
- package/es/components/button-print/index.d.ts +24 -27
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +101 -100
- package/es/components/button-print/src/components/EditFormat.vue.d.ts +4 -4
- package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +4 -4
- package/es/components/button-print/src/utils/print.js +1 -6
- package/es/components/fabric-chart/index.d.ts +34 -11
- package/es/components/fabric-chart/src/FabricChart.vue.d.ts +35 -12
- package/es/components/fabric-chart/src/FabricChart.vue.js +9 -9
- package/es/components/fabric-chart/src/hooks/useBirthProcess.d.ts +1 -18
- package/es/components/fabric-chart/src/hooks/useBirthProcess.js +129 -42
- package/es/components/fabric-chart/src/hooks/useBirthProcessChart.d.ts +25 -0
- package/es/components/fabric-chart/src/hooks/useBirthProcessChart.js +151 -0
- package/es/components/fabric-chart/src/hooks/useCenter.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/useCenter.js +6 -7
- package/es/components/fabric-chart/src/hooks/useOther.js +3 -2
- package/es/components/fabric-chart/src/hooks/useTemperatureChart.js +1 -1
- package/es/components/fabric-chart/src/interface.d.ts +3 -1
- package/es/components/fabric-chart/src/utils/utils.d.ts +1 -1
- package/es/components/fabric-chart/src/utils/utils.js +7 -4
- package/es/components/form-config/index.d.ts +2 -2
- package/es/components/form-config/src/FormConfig.vue.d.ts +2 -2
- package/es/components/form-config/src/components/FormConfigDragDisplay.vue.d.ts +1 -1
- package/es/components/form-config/src/components/FormConfigDragDisplay.vue.js +1 -1
- package/es/components/form-config/src/components/renderer/ComplexNode.vue.d.ts +1 -1
- package/es/components/form-config/src/hooks/useSortalbeConfig.d.ts +2 -1
- package/es/components/form-config/src/hooks/useSortalbeConfig.js +2 -2
- package/es/components/form-render/src/hooks/useLowCodeReactions.js +19 -18
- package/es/components/form-render/src/types/index.d.ts +2 -2
- package/es/components/iho-table/src/constants/index.d.ts +2 -2
- package/es/components/iho-table/style/index.css +1 -1
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +1 -2
- package/es/components/index.js +0 -3
- package/es/components/scale-view/src/hooks/use-component.d.ts +30 -81
- package/es/components/select-label/index.d.ts +30 -81
- package/es/components/select-label/src/SelectLabel.vue.d.ts +30 -81
- package/es/components/select-person/index.d.ts +113 -41
- package/es/components/select-person/src/SelectPerson.vue.d.ts +76 -45
- package/es/shared/utils/tapable/AsyncParallelBailHook.js +1 -1
- package/es/shared/utils/tapable/AsyncSeriesWaterfallHook.js +2 -3
- package/es/shared/utils/tapable/Hook.d.ts +1 -1
- package/es/shared/utils/tapable/Hook.js +1 -1
- package/es/shared/utils/tapable/HookCodeFactory.js +3 -6
- package/es/shared/utils/tapable/SyncWaterfallHook.js +1 -2
- package/package.json +2 -2
- package/es/components/drag-layout/index.d.ts +0 -606
- package/es/components/drag-layout/index.js +0 -11
- package/es/components/drag-layout/src/DragFormLeftItem.vue.d.ts +0 -21
- package/es/components/drag-layout/src/DragFormLeftItem.vue.js +0 -122
- package/es/components/drag-layout/src/DragFormRightItem.vue.d.ts +0 -125
- package/es/components/drag-layout/src/DragFormRightItem.vue.js +0 -267
- package/es/components/drag-layout/src/DragLayout.vue.d.ts +0 -606
- package/es/components/drag-layout/src/DragLayout.vue.js +0 -662
- package/es/components/drag-layout/style/index.css +0 -1
- package/es/components/fabric-chart/src/BirthProcessChart.vue.d.ts +0 -181
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import { AnyObject } from '../../../../es/shared/types';
|
|
2
|
+
import { VxeTablePropTypes } from 'vxe-table/types/table';
|
|
3
|
+
import { VxeTableEvents } from 'vxe-table';
|
|
1
4
|
declare const _default: import("vue").DefineComponent<{
|
|
2
5
|
data: {
|
|
3
6
|
type: ArrayConstructor;
|
|
@@ -8,7 +11,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
8
11
|
default: number;
|
|
9
12
|
};
|
|
10
13
|
annotation: {
|
|
11
|
-
type: import("vue").PropType<
|
|
14
|
+
type: import("vue").PropType<AnyObject>;
|
|
12
15
|
};
|
|
13
16
|
showFooter: BooleanConstructor;
|
|
14
17
|
sumData: {
|
|
@@ -198,31 +201,21 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
198
201
|
resetInlineBatchEdit: FunctionConstructor;
|
|
199
202
|
resetBatchEditRowStatus: FunctionConstructor;
|
|
200
203
|
anchor: {
|
|
201
|
-
type: import("vue").PropType<
|
|
204
|
+
type: import("vue").PropType<AnyObject[]>;
|
|
202
205
|
default: () => never[];
|
|
203
206
|
};
|
|
204
207
|
totalList: {
|
|
205
|
-
type: import("vue").PropType<
|
|
206
|
-
* computed
|
|
207
|
-
*/
|
|
208
|
+
type: import("vue").PropType<AnyObject[]>;
|
|
208
209
|
default: () => never[];
|
|
209
210
|
};
|
|
210
211
|
}, {
|
|
211
|
-
_hideAllWrap:
|
|
212
|
-
_beforeSearchConvert:
|
|
213
|
-
addInlineEditPrimaryKey:
|
|
212
|
+
_hideAllWrap: any;
|
|
213
|
+
_beforeSearchConvert: any;
|
|
214
|
+
addInlineEditPrimaryKey: any;
|
|
214
215
|
GROUP_TITLE_KEY: string;
|
|
215
|
-
InputButton:
|
|
216
|
-
content: import("vue").Ref<string>;
|
|
217
|
-
emit: (event: "trigger", ...args: any[]) => void;
|
|
218
|
-
search: () => void;
|
|
219
|
-
NButton: any;
|
|
220
|
-
NInput: any;
|
|
221
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "trigger"[], "trigger", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
222
|
-
onTrigger?: ((...args: any[]) => any) | undefined;
|
|
223
|
-
}, {}>;
|
|
216
|
+
InputButton: any;
|
|
224
217
|
$message: import("naive-ui").MessageApi;
|
|
225
|
-
xGrid:
|
|
218
|
+
xGrid: any;
|
|
226
219
|
copyState: {
|
|
227
220
|
curAbleCheckedLen: number;
|
|
228
221
|
showButtonTop: number;
|
|
@@ -270,90 +263,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
270
263
|
fieldLength: number;
|
|
271
264
|
originFormatList: never[];
|
|
272
265
|
isSaveForm: boolean;
|
|
273
|
-
editConfig:
|
|
274
|
-
rowConfig: {
|
|
275
|
-
height: number;
|
|
276
|
-
isHover: boolean;
|
|
277
|
-
isCurrent: boolean;
|
|
278
|
-
};
|
|
279
|
-
anchorValue: string;
|
|
280
|
-
anchorList: never[];
|
|
281
|
-
};
|
|
282
|
-
state: {
|
|
283
|
-
curAbleCheckedLen: number;
|
|
284
|
-
showButtonTop: number;
|
|
285
|
-
isTree: number;
|
|
286
|
-
isShowEmpty: boolean;
|
|
287
|
-
currentPageSelectedLength: number;
|
|
288
|
-
visibleCheckAllWrap: boolean;
|
|
289
|
-
visibleCheckAllWrapMore: boolean;
|
|
290
|
-
checkedRows: never[];
|
|
291
|
-
filterFields: {};
|
|
292
|
-
visibleTreeCheck: boolean;
|
|
293
|
-
treeTableLength: number;
|
|
294
|
-
checkWidth: {
|
|
295
|
-
'table-simple': string;
|
|
296
|
-
'table-classics': string;
|
|
297
|
-
};
|
|
298
|
-
lastPageIndex: number;
|
|
299
|
-
selectType: string;
|
|
300
|
-
levelLazyLoadSetting: null;
|
|
301
|
-
openOnly: number;
|
|
302
|
-
filterWidth: number;
|
|
303
|
-
filterHeight: number;
|
|
304
|
-
startX: number;
|
|
305
|
-
distance: number;
|
|
306
|
-
mask: string;
|
|
307
|
-
groupText: never[];
|
|
308
|
-
currentClickBtnInfo: null;
|
|
309
|
-
columnLen: number;
|
|
310
|
-
hasRefresh: boolean;
|
|
311
|
-
isExpand: number;
|
|
312
|
-
btnIcons: {
|
|
313
|
-
copy: string;
|
|
314
|
-
pencil: string;
|
|
315
|
-
delete: string;
|
|
316
|
-
add: string;
|
|
317
|
-
download: string;
|
|
318
|
-
label: string;
|
|
319
|
-
queding: string;
|
|
320
|
-
del: string;
|
|
321
|
-
};
|
|
322
|
-
tableHeight: string;
|
|
323
|
-
cacheUniqueKey: {};
|
|
324
|
-
theUniqueKeyListObj: {};
|
|
325
|
-
editColumnMap: {};
|
|
326
|
-
fieldLength: number;
|
|
327
|
-
originFormatList: never[];
|
|
328
|
-
isSaveForm: boolean;
|
|
329
|
-
editConfig: {
|
|
330
|
-
trigger?: "manual" | "click" | "dblclick" | undefined;
|
|
331
|
-
enabled?: boolean | undefined;
|
|
332
|
-
mode?: string | undefined;
|
|
333
|
-
icon?: string | undefined;
|
|
334
|
-
showIcon?: boolean | undefined;
|
|
335
|
-
showStatus?: boolean | undefined;
|
|
336
|
-
showUpdateStatus?: boolean | undefined;
|
|
337
|
-
showInsertStatus?: boolean | undefined;
|
|
338
|
-
showAsterisk?: boolean | undefined;
|
|
339
|
-
autoClear?: boolean | undefined;
|
|
340
|
-
beforeEditMethod?: ((params: {
|
|
341
|
-
row: any;
|
|
342
|
-
rowIndex: number;
|
|
343
|
-
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
344
|
-
columnIndex: number;
|
|
345
|
-
$table: import("vxe-table").VxeTableConstructor & import("vxe-table").VxeTablePrivateMethods;
|
|
346
|
-
$grid: import("vxe-table").VxeGridConstructor | null | undefined;
|
|
347
|
-
}) => boolean) | undefined;
|
|
348
|
-
activeMethod?: ((params: {
|
|
349
|
-
row: any;
|
|
350
|
-
rowIndex: number;
|
|
351
|
-
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
352
|
-
columnIndex: number;
|
|
353
|
-
$table: import("vxe-table").VxeTableConstructor & import("vxe-table").VxeTablePrivateMethods;
|
|
354
|
-
$grid: import("vxe-table").VxeGridConstructor | null | undefined;
|
|
355
|
-
}) => boolean) | undefined;
|
|
356
|
-
};
|
|
266
|
+
editConfig: VxeTablePropTypes.EditConfig;
|
|
357
267
|
rowConfig: {
|
|
358
268
|
height: number;
|
|
359
269
|
isHover: boolean;
|
|
@@ -362,6 +272,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
362
272
|
anchorValue: string;
|
|
363
273
|
anchorList: never[];
|
|
364
274
|
};
|
|
275
|
+
state: any;
|
|
365
276
|
emit: (event: string, ...args: any[]) => void;
|
|
366
277
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
367
278
|
data: {
|
|
@@ -373,7 +284,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
373
284
|
default: number;
|
|
374
285
|
};
|
|
375
286
|
annotation: {
|
|
376
|
-
type: import("vue").PropType<
|
|
287
|
+
type: import("vue").PropType<AnyObject>;
|
|
377
288
|
};
|
|
378
289
|
showFooter: BooleanConstructor;
|
|
379
290
|
sumData: {
|
|
@@ -563,21 +474,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
563
474
|
resetInlineBatchEdit: FunctionConstructor;
|
|
564
475
|
resetBatchEditRowStatus: FunctionConstructor;
|
|
565
476
|
anchor: {
|
|
566
|
-
type: import("vue").PropType<
|
|
477
|
+
type: import("vue").PropType<AnyObject[]>;
|
|
567
478
|
default: () => never[];
|
|
568
479
|
};
|
|
569
480
|
totalList: {
|
|
570
|
-
type: import("vue").PropType<
|
|
571
|
-
* computed
|
|
572
|
-
*/
|
|
481
|
+
type: import("vue").PropType<AnyObject[]>;
|
|
573
482
|
default: () => never[];
|
|
574
483
|
};
|
|
575
484
|
}>> & {
|
|
576
485
|
[x: `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
577
486
|
}>>;
|
|
578
|
-
attr:
|
|
579
|
-
[x: string]: unknown;
|
|
580
|
-
};
|
|
487
|
+
attr: AnyObject;
|
|
581
488
|
formatData: (data?: {
|
|
582
489
|
tableList: any[];
|
|
583
490
|
fieldList: any[];
|
|
@@ -609,21 +516,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
609
516
|
parseDurationValue: (v: any, duration: any) => string | undefined;
|
|
610
517
|
parseCombinationValue: (value: any, setting: any) => any;
|
|
611
518
|
formatFieldText: (row: any, field: any, fieldList: any, fieldListOriginal: any, isTimeAxisRenderNew?: any, isTimeAxisExpand?: any) => any;
|
|
612
|
-
allSelectedLength:
|
|
613
|
-
checkOperateCurrentTable:
|
|
614
|
-
setRowStatus:
|
|
615
|
-
resetBatchOperationRowStatus:
|
|
616
|
-
checkListFormUnionSettingParamsList:
|
|
617
|
-
handleClickCancelBtnByInline:
|
|
618
|
-
setAllRowInlineStatus:
|
|
619
|
-
hideSelectCloumns:
|
|
620
|
-
handleEditFormLength:
|
|
621
|
-
resetOperationRowStatus:
|
|
622
|
-
recordClickBtnInfo:
|
|
623
|
-
getInlineOpreateRow:
|
|
624
|
-
row: any;
|
|
625
|
-
rowIndex: any;
|
|
626
|
-
};
|
|
519
|
+
allSelectedLength: any;
|
|
520
|
+
checkOperateCurrentTable: any;
|
|
521
|
+
setRowStatus: any;
|
|
522
|
+
resetBatchOperationRowStatus: any;
|
|
523
|
+
checkListFormUnionSettingParamsList: any;
|
|
524
|
+
handleClickCancelBtnByInline: any;
|
|
525
|
+
setAllRowInlineStatus: any;
|
|
526
|
+
hideSelectCloumns: any;
|
|
527
|
+
handleEditFormLength: any;
|
|
528
|
+
resetOperationRowStatus: any;
|
|
529
|
+
recordClickBtnInfo: any;
|
|
530
|
+
getInlineOpreateRow: any;
|
|
627
531
|
deleteRow: (row: any, col: any, index: number) => void;
|
|
628
532
|
onFormChange: ({ value, row, column, index, type }: {
|
|
629
533
|
value: string | number | null;
|
|
@@ -648,9 +552,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
648
552
|
$event: KeyboardEvent;
|
|
649
553
|
}) => void;
|
|
650
554
|
scroll: (params: any) => void;
|
|
651
|
-
currentCheckedKeys: import("vue").ComputedRef<
|
|
555
|
+
currentCheckedKeys: import("vue").ComputedRef<any>;
|
|
652
556
|
visibleCancelCheckAllBtn: import("vue").ComputedRef<boolean>;
|
|
653
|
-
singleCheckedKey: import("vue").ComputedRef<
|
|
557
|
+
singleCheckedKey: import("vue").ComputedRef<any>;
|
|
654
558
|
tableNoSetting: import("vue").ComputedRef<any>;
|
|
655
559
|
isScanMultiTable: import("vue").ComputedRef<any>;
|
|
656
560
|
configuration: import("vue").ComputedRef<{
|
|
@@ -664,51 +568,51 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
664
568
|
unBindDocumentClick: () => void;
|
|
665
569
|
removeInsert: () => Promise<false | undefined>;
|
|
666
570
|
loadColumn: (config: any) => void;
|
|
667
|
-
separate: (data:
|
|
668
|
-
onColumnResize:
|
|
571
|
+
separate: (data: AnyObject[], rawData: AnyObject[]) => Promise<AnyObject[]>;
|
|
572
|
+
onColumnResize: VxeTableEvents.ResizableChange;
|
|
669
573
|
separateHandle: import("./hooks").SeparateHandle;
|
|
670
|
-
separateDataMap: import("vue").Ref<WeakMap<
|
|
574
|
+
separateDataMap: import("vue").Ref<WeakMap<AnyObject, {
|
|
671
575
|
separateData: Record<string, string>;
|
|
672
576
|
index: number;
|
|
673
|
-
rawRow:
|
|
674
|
-
row:
|
|
577
|
+
rawRow: AnyObject;
|
|
578
|
+
row: AnyObject;
|
|
675
579
|
colspans?: Record<string, number> | undefined;
|
|
676
580
|
}>>;
|
|
677
|
-
onResizableChange:
|
|
581
|
+
onResizableChange: VxeTableEvents.ResizableChange;
|
|
678
582
|
loadData: (data: any) => Promise<void>;
|
|
679
583
|
setGroupTitleToFristColumnFieldData: (formatList: any) => void;
|
|
680
584
|
setCurrentPageRowChecked: () => void;
|
|
681
585
|
setCurrentCheckedLength: () => void;
|
|
682
586
|
formatColumns: (map: any) => any[];
|
|
683
|
-
getRowData: (row:
|
|
587
|
+
getRowData: (row: AnyObject) => {
|
|
684
588
|
separateData: Record<string, string>;
|
|
685
589
|
index: number;
|
|
686
|
-
rawRow:
|
|
687
|
-
row:
|
|
590
|
+
rawRow: AnyObject;
|
|
591
|
+
row: AnyObject;
|
|
688
592
|
colspans?: Record<string, number> | undefined;
|
|
689
593
|
} | undefined;
|
|
690
594
|
formatterEdit: (params: any, col: any) => any;
|
|
691
|
-
getEditBtn: (row: any, col: any, index:
|
|
692
|
-
formatter: (params: any, col: any, _isEdit:
|
|
693
|
-
formatterHeader: (item: any) => () =>
|
|
595
|
+
getEditBtn: (row: any, col: any, index: number) => any;
|
|
596
|
+
formatter: (params: any, col: any, _isEdit: boolean) => any;
|
|
597
|
+
formatterHeader: (item: any) => () => JSX.Element[];
|
|
694
598
|
handlefilterBoxClickSort: (sort: any, field: any) => void;
|
|
695
599
|
handleFilterSeach: (val: any, field: any) => void;
|
|
696
|
-
handleFilterChangeAll: (val:
|
|
600
|
+
handleFilterChangeAll: (val: boolean, field: any) => void;
|
|
697
601
|
handleFilterChange: (value: any, name: any, field: any) => void;
|
|
698
602
|
handleFilterSearchChange: (value: any, columnName: any, field: any) => void;
|
|
699
|
-
handleFilterClearAll: (columnName:
|
|
603
|
+
handleFilterClearAll: (columnName: string) => false | undefined;
|
|
700
604
|
handleCancelFilter: () => void;
|
|
701
|
-
mergeQuickSearchConfig: (filterFields:
|
|
605
|
+
mergeQuickSearchConfig: (filterFields: Record<string, AnyObject>, props: AnyObject) => void;
|
|
702
606
|
handleFilter: (field: any) => void;
|
|
703
607
|
onmousedownFunc: (e: any) => void;
|
|
704
608
|
maskInsert: () => void;
|
|
705
|
-
maskCreate: () =>
|
|
609
|
+
maskCreate: () => any;
|
|
706
610
|
maskMove: (e: any) => void;
|
|
707
611
|
maskUp: (e: any) => void;
|
|
708
612
|
setGroupTreeExpand: () => void;
|
|
709
613
|
resetTableInlineEditStatus: () => false | undefined;
|
|
710
|
-
renderAnnotation: (columnConfig:
|
|
711
|
-
toolTipTitle: (item: any, type
|
|
614
|
+
renderAnnotation: (columnConfig: AnyObject) => JSX.Element | null;
|
|
615
|
+
toolTipTitle: (item: any, type?: any) => (() => any) | (JSX.Element | null)[];
|
|
712
616
|
triggerExpand: (e: any, isExpand: any) => void;
|
|
713
617
|
getOtherConfigInit: () => any;
|
|
714
618
|
refreshTable: () => void;
|
|
@@ -721,69 +625,52 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
721
625
|
}) => Promise<any>;
|
|
722
626
|
getAsyncTableData: (params: any) => Promise<void>;
|
|
723
627
|
setChecklist: (list: any) => any;
|
|
724
|
-
spanMethod: (payload:
|
|
628
|
+
spanMethod: (payload: Parameters<VxeTablePropTypes.SpanMethod>[0]) => any;
|
|
725
629
|
colspanMethod: (payload: any) => any;
|
|
726
630
|
footerRowspanMethod: (obj: any) => {
|
|
727
631
|
rowspan: number;
|
|
728
|
-
colspan:
|
|
632
|
+
colspan: any;
|
|
729
633
|
} | undefined;
|
|
730
|
-
rowdblclick: ({ row, column }:
|
|
731
|
-
|
|
732
|
-
column: any;
|
|
733
|
-
}) => false | undefined;
|
|
734
|
-
pubCheckChange: (rows?: never[]) => void;
|
|
634
|
+
rowdblclick: ({ row, column }: any) => false | undefined;
|
|
635
|
+
pubCheckChange: (rows?: any[]) => void;
|
|
735
636
|
updateAddCheckedRows: (rows: any, isTree?: boolean) => void;
|
|
736
|
-
removeCheckedRows: (rows: any, isCheckedChange
|
|
637
|
+
removeCheckedRows: (rows: any, isCheckedChange?: any) => void;
|
|
737
638
|
setCheckedMehod: (setChecked: any, row: any) => void;
|
|
738
639
|
handlerClickRow: (data: any) => false | undefined;
|
|
739
640
|
addCheckedRows: (rows: any) => void;
|
|
740
641
|
treeTableSelectionChange: (records: any) => boolean;
|
|
741
|
-
selectionChange: ({ checked, row, records, $rowIndex }:
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
$rowIndex: any;
|
|
746
|
-
}) => void;
|
|
747
|
-
selectionChangeAll: ({ checked, records }: {
|
|
748
|
-
checked: any;
|
|
749
|
-
records: any;
|
|
750
|
-
}) => void;
|
|
751
|
-
radioOnChange: (rowData?: {}) => void;
|
|
752
|
-
sortChange: ({ property, order }: {
|
|
753
|
-
property: any;
|
|
754
|
-
order: any;
|
|
755
|
-
}) => false | undefined;
|
|
642
|
+
selectionChange: ({ checked, row, records, $rowIndex }: any) => void;
|
|
643
|
+
selectionChangeAll: ({ checked, records }: any) => void;
|
|
644
|
+
radioOnChange: (rowData?: any) => void;
|
|
645
|
+
sortChange: ({ property, order }: any) => false | undefined;
|
|
756
646
|
showDrawer: () => void;
|
|
757
|
-
handleCellMouseenter: ({ column, $event }:
|
|
758
|
-
column: any;
|
|
759
|
-
$event: any;
|
|
760
|
-
}) => void;
|
|
647
|
+
handleCellMouseenter: ({ column, $event }: any) => void;
|
|
761
648
|
getFooterTooltipTitle: (column: any) => string;
|
|
762
649
|
getFooterTitle: (column: any) => number | undefined;
|
|
763
650
|
hanldeClickRefresh: () => void;
|
|
764
651
|
confirmScanMulti: (params: any) => void;
|
|
765
|
-
scanMultiOperate: (params: any) =>
|
|
652
|
+
scanMultiOperate: (params: any) => JSX.Element;
|
|
766
653
|
showEditForm: (row: any, column: any, $rowIndex: any) => any;
|
|
767
654
|
initBatchDynamicProps: (unionItem: any, row: any, column: any, $rowIndex: any) => any;
|
|
768
|
-
handleSubmitEditForm: (obj?:
|
|
655
|
+
handleSubmitEditForm: (obj?: any) => void;
|
|
769
656
|
banSubmit: (obj: any) => void;
|
|
770
657
|
handleFormTheUniqueKey: () => Promise<void>;
|
|
771
658
|
handlePreView: (data: any, i: any, e: any) => void;
|
|
772
|
-
getPicture: (row: any, item: any, type: any) =>
|
|
773
|
-
getColor: (row: any, item: any) =>
|
|
774
|
-
getDate: (row: any, item: any) =>
|
|
775
|
-
getPercentage: (row: any, item: any) =>
|
|
659
|
+
getPicture: (row: any, item: any, type: any) => JSX.Element[];
|
|
660
|
+
getColor: (row: any, item: any) => JSX.Element[];
|
|
661
|
+
getDate: (row: any, item: any) => JSX.Element[];
|
|
662
|
+
getPercentage: (row: any, item: any) => JSX.Element[] | undefined;
|
|
776
663
|
getvideoList: (row: any, item: any) => null;
|
|
777
|
-
getOrCode: (row: any, item: any, type: any) =>
|
|
664
|
+
getOrCode: (row: any, item: any, type: any) => JSX.Element[];
|
|
778
665
|
qrCodeEvent: (e: any, row: any, item: any) => void;
|
|
779
|
-
generateInlineBtnList: (row: any, index: any) =>
|
|
780
|
-
getTileBtnList: (row: any, index:
|
|
781
|
-
clickBtn: (row: any, btn: any, index:
|
|
666
|
+
generateInlineBtnList: (row: any, index: any) => JSX.Element[] | undefined;
|
|
667
|
+
getTileBtnList: (row: any, index: number) => any[];
|
|
668
|
+
clickBtn: (row: any, btn: any, index: number, e: any, j: any) => void;
|
|
782
669
|
getBtnIcon: (btn: any, mr?: string) => any[];
|
|
783
|
-
getFoldBtnList: (row: any, index:
|
|
670
|
+
getFoldBtnList: (row: any, index: number) => any[];
|
|
784
671
|
switchBtnOnChange: (e: any, r: any, i: any, index: any) => void;
|
|
785
|
-
getBtnLinkSwitch: (row: any, item: any, disabled: any, index: any) =>
|
|
786
|
-
getField: (row: any, item: any, index: any, isLink:
|
|
672
|
+
getBtnLinkSwitch: (row: any, item: any, disabled: any, index: any) => JSX.Element[];
|
|
673
|
+
getField: (row: any, item: any, index: any, isLink: boolean) => JSX.Element[] | JSX.Element[][];
|
|
787
674
|
linkDetail: (row: any, col: any, index: any, e: any) => false | undefined;
|
|
788
675
|
hanldeCopyContent: (e: any, value: any) => void;
|
|
789
676
|
getCheckboxRecords: () => never[];
|
|
@@ -794,7 +681,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
794
681
|
handleClickAddBtnByInline: () => Promise<false | undefined>;
|
|
795
682
|
handleClickSaveBtnByInline: () => false | undefined;
|
|
796
683
|
removeInlineAddRow: () => false | undefined;
|
|
797
|
-
handleMenuClickEvent:
|
|
684
|
+
handleMenuClickEvent: VxeTableEvents.MenuClick;
|
|
798
685
|
setCurrentRow: (row: any) => void;
|
|
799
686
|
loadColumnAndData: (data: any, config: any) => void;
|
|
800
687
|
clearChecked: () => void;
|
|
@@ -901,7 +788,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
901
788
|
readonly displayDirective: "if" | "show" | "show:lazy";
|
|
902
789
|
}>;
|
|
903
790
|
NIcon: any;
|
|
904
|
-
CGrid: import("
|
|
791
|
+
CGrid: import("../../../../es/shared/types").SFCWithInstall<import("vue").DefineComponent<{}, any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
905
792
|
checkMethod: ({ row }: {
|
|
906
793
|
row: any;
|
|
907
794
|
}) => boolean;
|
|
@@ -917,7 +804,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
917
804
|
default: number;
|
|
918
805
|
};
|
|
919
806
|
annotation: {
|
|
920
|
-
type: import("vue").PropType<
|
|
807
|
+
type: import("vue").PropType<AnyObject>;
|
|
921
808
|
};
|
|
922
809
|
showFooter: BooleanConstructor;
|
|
923
810
|
sumData: {
|
|
@@ -1107,19 +994,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1107
994
|
resetInlineBatchEdit: FunctionConstructor;
|
|
1108
995
|
resetBatchEditRowStatus: FunctionConstructor;
|
|
1109
996
|
anchor: {
|
|
1110
|
-
type: import("vue").PropType<
|
|
997
|
+
type: import("vue").PropType<AnyObject[]>;
|
|
1111
998
|
default: () => never[];
|
|
1112
999
|
};
|
|
1113
1000
|
totalList: {
|
|
1114
|
-
type: import("vue").PropType<
|
|
1115
|
-
* computed
|
|
1116
|
-
*/
|
|
1001
|
+
type: import("vue").PropType<AnyObject[]>;
|
|
1117
1002
|
default: () => never[];
|
|
1118
1003
|
};
|
|
1119
1004
|
}>> & {
|
|
1120
1005
|
[x: `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
1121
1006
|
}, {
|
|
1122
|
-
anchor:
|
|
1007
|
+
anchor: AnyObject[];
|
|
1123
1008
|
data: unknown[];
|
|
1124
1009
|
showFooter: boolean;
|
|
1125
1010
|
columnConfig: Record<string, any>;
|
|
@@ -1176,6 +1061,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1176
1061
|
batchEditDoneNumber: Record<string, any>;
|
|
1177
1062
|
batchError: boolean;
|
|
1178
1063
|
batchFormData: Record<string, any>;
|
|
1179
|
-
totalList:
|
|
1064
|
+
totalList: AnyObject[];
|
|
1180
1065
|
}>;
|
|
1181
1066
|
export default _default;
|
|
@@ -3,11 +3,11 @@ import { SFCWithInstall } from '../../../es/shared/types';
|
|
|
3
3
|
export * from './src/utils';
|
|
4
4
|
declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
|
|
5
5
|
printParams: {
|
|
6
|
-
type:
|
|
6
|
+
type: import("vue").PropType<import("../../../es/shared/types").AnyObject[]>;
|
|
7
7
|
};
|
|
8
8
|
params: {
|
|
9
9
|
default: () => never[];
|
|
10
|
-
type:
|
|
10
|
+
type: import("vue").PropType<import("../../../es/shared/types").AnyObject[]>;
|
|
11
11
|
};
|
|
12
12
|
btnText: {
|
|
13
13
|
default: string;
|
|
@@ -66,14 +66,14 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
66
66
|
};
|
|
67
67
|
}, {
|
|
68
68
|
$message: import("naive-ui").MessageApi;
|
|
69
|
-
printInstance:
|
|
69
|
+
printInstance: import("./src/utils").Print | null;
|
|
70
70
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
71
71
|
printParams: {
|
|
72
|
-
type:
|
|
72
|
+
type: import("vue").PropType<import("../../../es/shared/types").AnyObject[]>;
|
|
73
73
|
};
|
|
74
74
|
params: {
|
|
75
75
|
default: () => never[];
|
|
76
|
-
type:
|
|
76
|
+
type: import("vue").PropType<import("../../../es/shared/types").AnyObject[]>;
|
|
77
77
|
};
|
|
78
78
|
btnText: {
|
|
79
79
|
default: string;
|
|
@@ -135,7 +135,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
135
135
|
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
136
136
|
onClickoutside?: ((...args: any[]) => any) | undefined;
|
|
137
137
|
}>>;
|
|
138
|
-
emit: (event: "
|
|
138
|
+
emit: (event: "success" | "error" | "clickoutside", ...args: any[]) => void;
|
|
139
139
|
state: {
|
|
140
140
|
spinning: boolean;
|
|
141
141
|
visible: boolean;
|
|
@@ -150,16 +150,13 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
150
150
|
watchPrintParamsReformatFn: null;
|
|
151
151
|
spinTimer: null;
|
|
152
152
|
};
|
|
153
|
-
options:
|
|
154
|
-
label: string;
|
|
155
|
-
key: string;
|
|
156
|
-
}[];
|
|
153
|
+
options: import("naive-ui").MenuOption[];
|
|
157
154
|
currentFormatItem: import("vue").ComputedRef<{} | undefined>;
|
|
158
155
|
formatTitle: import("vue").ComputedRef<any>;
|
|
159
156
|
getTemplateIdByFormatId: import("vue").ComputedRef<any>;
|
|
160
|
-
renderLabel: (option:
|
|
157
|
+
renderLabel: (option: import("naive-ui").MenuOption) => JSX.Element;
|
|
161
158
|
callLocalServicesSuccessCb: (res: any, type: any) => void;
|
|
162
|
-
callLocalServicesErrorCb: (res:
|
|
159
|
+
callLocalServicesErrorCb: (res: unknown) => void;
|
|
163
160
|
prevFnError: () => void;
|
|
164
161
|
getPrintParams: (index?: number) => string;
|
|
165
162
|
getOnceParams: () => string;
|
|
@@ -167,24 +164,24 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
167
164
|
handleClickPreview: () => Promise<void>;
|
|
168
165
|
handleClickPdf: () => Promise<void>;
|
|
169
166
|
handleClickEdit: () => void;
|
|
170
|
-
handleSelect: (key:
|
|
167
|
+
handleSelect: (key: string) => void;
|
|
171
168
|
handleClickOutside: () => void;
|
|
172
169
|
instantiatePrintSDK: () => false | undefined;
|
|
173
|
-
getDefaultFormatId: (list: any, key:
|
|
170
|
+
getDefaultFormatId: (list: any[], key: string | number) => any;
|
|
174
171
|
setOptions: () => void;
|
|
175
|
-
formatFormatList: (list: any) =>
|
|
172
|
+
formatFormatList: (list: any[]) => any;
|
|
176
173
|
requestError: () => boolean;
|
|
177
|
-
formatDefaultVal: (i: any, tableVal
|
|
178
|
-
formatPrintParams: (paramObj: any, fieldList: any, keyName:
|
|
174
|
+
formatDefaultVal: (i: any, tableVal?: any) => any;
|
|
175
|
+
formatPrintParams: (paramObj: any, fieldList: any[], keyName: string) => any;
|
|
179
176
|
formatParams: ({ customizeDataset, param }: {
|
|
180
177
|
customizeDataset?: never[] | undefined;
|
|
181
178
|
param?: never[] | undefined;
|
|
182
|
-
}, params?:
|
|
179
|
+
}, params?: any[]) => any;
|
|
183
180
|
initCRM: (formatListResult: any) => Promise<boolean | undefined>;
|
|
184
181
|
init: () => Promise<boolean>;
|
|
185
182
|
handleClickBtn: () => Promise<false | undefined>;
|
|
186
183
|
reformatPrintParams: () => void;
|
|
187
|
-
verifiySuccess: (token:
|
|
184
|
+
verifiySuccess: (token: string) => void;
|
|
188
185
|
NDropdown: any;
|
|
189
186
|
NButton: any;
|
|
190
187
|
NIcon: any;
|
|
@@ -909,7 +906,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
909
906
|
NUpload: any;
|
|
910
907
|
NUploadDragger: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
911
908
|
NP: import("vue").DefineComponent<{
|
|
912
|
-
depth: import("vue").PropType<2 | 1 | "1" | "2" |
|
|
909
|
+
depth: import("vue").PropType<2 | 1 | "1" | "2" | 3 | "3">;
|
|
913
910
|
theme: import("vue").PropType<import("naive-ui/es/_mixins").Theme<"Typography", {
|
|
914
911
|
aTextColor: string;
|
|
915
912
|
blockquoteTextColor: string;
|
|
@@ -1120,7 +1117,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1120
1117
|
themeClass: import("vue").Ref<string> | undefined;
|
|
1121
1118
|
onRender: (() => void) | undefined;
|
|
1122
1119
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1123
|
-
depth: import("vue").PropType<2 | 1 | "1" | "2" |
|
|
1120
|
+
depth: import("vue").PropType<2 | 1 | "1" | "2" | 3 | "3">;
|
|
1124
1121
|
theme: import("vue").PropType<import("naive-ui/es/_mixins").Theme<"Typography", {
|
|
1125
1122
|
aTextColor: string;
|
|
1126
1123
|
blockquoteTextColor: string;
|
|
@@ -1331,7 +1328,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1331
1328
|
readonly strong: BooleanConstructor;
|
|
1332
1329
|
readonly italic: BooleanConstructor;
|
|
1333
1330
|
readonly underline: BooleanConstructor;
|
|
1334
|
-
readonly depth: import("vue").PropType<2 | 1 | "1" | "2" |
|
|
1331
|
+
readonly depth: import("vue").PropType<2 | 1 | "1" | "2" | 3 | "3">;
|
|
1335
1332
|
readonly tag: StringConstructor;
|
|
1336
1333
|
readonly as: {
|
|
1337
1334
|
readonly type: StringConstructor;
|
|
@@ -1561,7 +1558,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1561
1558
|
readonly strong: BooleanConstructor;
|
|
1562
1559
|
readonly italic: BooleanConstructor;
|
|
1563
1560
|
readonly underline: BooleanConstructor;
|
|
1564
|
-
readonly depth: import("vue").PropType<2 | 1 | "1" | "2" |
|
|
1561
|
+
readonly depth: import("vue").PropType<2 | 1 | "1" | "2" | 3 | "3">;
|
|
1565
1562
|
readonly tag: StringConstructor;
|
|
1566
1563
|
readonly as: {
|
|
1567
1564
|
readonly type: StringConstructor;
|
|
@@ -1818,13 +1815,13 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1818
1815
|
verifyUser: Function;
|
|
1819
1816
|
identityVerificationTitle: string;
|
|
1820
1817
|
}>;
|
|
1821
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
1818
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("success" | "error" | "clickoutside")[], "error" | "success" | "clickoutside", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1822
1819
|
printParams: {
|
|
1823
|
-
type:
|
|
1820
|
+
type: import("vue").PropType<import("../../../es/shared/types").AnyObject[]>;
|
|
1824
1821
|
};
|
|
1825
1822
|
params: {
|
|
1826
1823
|
default: () => never[];
|
|
1827
|
-
type:
|
|
1824
|
+
type: import("vue").PropType<import("../../../es/shared/types").AnyObject[]>;
|
|
1828
1825
|
};
|
|
1829
1826
|
btnText: {
|
|
1830
1827
|
default: string;
|
|
@@ -1886,7 +1883,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1886
1883
|
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
1887
1884
|
onClickoutside?: ((...args: any[]) => any) | undefined;
|
|
1888
1885
|
}, {
|
|
1889
|
-
params:
|
|
1886
|
+
params: import("../../../es/shared/types").AnyObject[];
|
|
1890
1887
|
btnText: string;
|
|
1891
1888
|
printText: string;
|
|
1892
1889
|
previewText: string;
|