cnhis-design-vue 3.1.57-release.2 → 3.1.57
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 +87 -87
- package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
- package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +1 -0
- package/es/components/bpmn-workflow/types/ModelingModule.d.ts +1 -0
- package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +1 -0
- package/es/components/calendar/index.d.ts +276 -0
- package/es/components/calendar/index.js +1 -0
- package/es/components/calendar/src/Calendar.vue.d.ts +265 -0
- package/es/components/calendar/src/Calendar.vue.js +1 -0
- package/es/components/calendar/src/Calendar.vue2.js +1 -0
- package/es/components/calendar/src/types/index.d.ts +6 -0
- package/es/components/calendar/src/types/index.js +1 -0
- package/es/components/calendar/style/index.css +1 -0
- package/es/components/callback/src/components/render/popupMaps.d.ts +218 -216
- package/es/components/classification/index.d.ts +3 -3
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +3 -3
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +3 -3
- package/es/components/classification/src/components/table-modal/index.vue.d.ts +0 -3
- package/es/components/classification/src/index.vue.d.ts +6 -6
- package/es/components/date-picker/index.d.ts +1 -1
- package/es/components/date-picker/src/DatePicker.vue.d.ts +1 -1
- package/es/components/date-picker/src/DatePicker.vue2.js +1 -1
- package/es/components/expand-field/src/components/form.vue2.js +1 -1
- package/es/components/fabric-chart/index.d.ts +4 -2
- package/es/components/fabric-chart/src/FabricChart.vue.d.ts +4 -2
- package/es/components/fabric-chart/src/FabricChart.vue2.js +1 -1
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.js +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useOther.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useOther.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
- package/es/components/fabric-chart/src/interface.d.ts +2 -0
- package/es/components/field-set/src/FieldColor.vue.d.ts +4 -4
- package/es/components/field-set/src/FieldSet.vue.d.ts +1 -1
- package/es/components/field-set/src/components/Row.vue.d.ts +1 -1
- package/es/components/field-set/src/components/condition.vue.d.ts +1 -1
- package/es/components/field-set/src/components/edit-dialog.vue.d.ts +3 -3
- package/es/components/field-set/src/components/edit-filter.vue.d.ts +1 -1
- package/es/components/form-config/index.d.ts +7 -0
- package/es/components/form-config/src/FormConfig.vue.d.ts +7 -0
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +3 -0
- package/es/components/form-render/src/components/renderer/combination/combination.d.ts +12 -0
- package/es/components/form-render/src/components/renderer/combination/combination.js +1 -1
- package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.js +1 -1
- package/es/components/form-render/src/components/renderer/combination/jsonCombination.d.ts +12 -0
- package/es/components/form-render/src/components/renderer/combination/jsonCombination.js +1 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
- package/es/components/form-render/src/types/fieldItem.d.ts +1 -0
- package/es/components/guide/src/renderer.d.ts +2 -2
- package/es/components/iho-table/index.d.ts +218 -216
- package/es/components/iho-table/src/IhoTable.vue.d.ts +218 -216
- package/es/components/iho-table/src/IhoTable.vue2.js +1 -1
- package/es/components/iho-table/src/plugins/{bindEventSettingPlugin/index.d.ts → bindEventSettingPlugin.d.ts} +1 -1
- package/es/components/iho-table/src/plugins/bindEventSettingPlugin.js +1 -0
- package/es/components/iho-table/src/plugins/{defaultConfigPlugin/index.d.ts → defaultConfigPlugin.d.ts} +1 -1
- package/es/components/iho-table/src/plugins/defaultConfigPlugin.js +1 -0
- package/es/components/iho-table/src/plugins/dragScrollPlugin.d.ts +1 -0
- package/es/components/iho-table/src/plugins/dragScrollPlugin.js +1 -0
- package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +1 -1
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.d.ts +3 -1
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +1 -1
- package/es/components/iho-table/src/plugins/headerPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/index.js +1 -1
- package/es/components/iho-table/src/plugins/{keyboardEventPlugin/index.d.ts → keyboardEventPlugin.d.ts} +1 -1
- package/es/components/iho-table/src/plugins/keyboardEventPlugin.js +1 -0
- package/es/components/iho-table/src/plugins/{lowCodeFieldAdaptorPlugin/index.d.ts → lowCodeFieldAdaptorPlugin.d.ts} +1 -1
- package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin.js +1 -0
- package/es/components/iho-table/src/plugins/{operationalFormPlugin/index.d.ts → operationalFormPlugin.d.ts} +1 -1
- package/es/components/iho-table/src/plugins/operationalFormPlugin.js +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +32 -2
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue2.js +1 -1
- package/es/components/iho-table/src/plugins/rowClickPlugin.d.ts +1 -0
- package/es/components/iho-table/src/plugins/rowClickPlugin.js +1 -0
- package/es/components/iho-table/src/plugins/rowDragPlugin.d.ts +1 -0
- package/es/components/iho-table/src/plugins/rowDragPlugin.js +1 -0
- package/es/components/iho-table/src/plugins/{varialbleHeightPlugin/index.d.ts → varialbleHeightPlugin.d.ts} +1 -1
- package/es/components/iho-table/src/plugins/varialbleHeightPlugin.js +1 -0
- package/es/components/iho-table/src/plugins/{virtualTreePlugin/index.d.ts → virtualTreePlugin.d.ts} +1 -1
- package/es/components/iho-table/src/plugins/virtualTreePlugin.js +1 -0
- package/es/components/iho-table/src/types/index.d.ts +2 -0
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +2 -1
- package/es/components/index.js +1 -1
- package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
- package/es/components/select-label/src/LabelFormContent.vue2.js +1 -1
- package/es/components/select-person/src/SearchMultiple.vue.d.ts +0 -6
- package/es/components/select-person/src/SelectPerson.vue2.js +1 -1
- package/es/components/shortcut-setter/index.d.ts +1 -0
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +1 -0
- package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +3 -0
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/bi-filter/components/Date.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +1 -1
- package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +2 -2
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +2 -2
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +2 -2
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +4 -4
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +4 -4
- package/es/env.d.ts +25 -25
- package/es/shared/assets/img/failure.png.js +1 -1
- package/es/shared/assets/img/no-permission.png.js +1 -1
- package/es/shared/assets/img/nodata.png.js +1 -1
- package/es/shared/assets/img/notfound.png.js +1 -1
- package/es/shared/assets/img/qr.png.js +1 -1
- package/es/shared/assets/img/success.png.js +1 -1
- package/es/shared/assets/img/video.png.js +1 -1
- package/es/shared/assets/img/video_default_cover.png.js +1 -1
- package/es/shared/assets/img/xb_big.png.js +1 -1
- package/es/shared/assets/img/xb_small.png.js +1 -1
- package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +86 -0
- package/es/shared/package.json.js +1 -1
- package/es/shared/utils/fabricjs/index.d.ts +6823 -0
- package/es/shared/utils/tapable/index.d.ts +139 -0
- package/package.json +74 -68
- package/es/components/iho-table/src/plugins/bindEventSettingPlugin/index.js +0 -1
- package/es/components/iho-table/src/plugins/defaultConfigPlugin/index.js +0 -1
- package/es/components/iho-table/src/plugins/keyboardEventPlugin/index.js +0 -1
- package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin/index.js +0 -1
- package/es/components/iho-table/src/plugins/operationalFormPlugin/index.js +0 -1
- package/es/components/iho-table/src/plugins/rowClickPlugin/index.d.ts +0 -1
- package/es/components/iho-table/src/plugins/rowClickPlugin/index.js +0 -1
- package/es/components/iho-table/src/plugins/rowDragPlugin/index.d.ts +0 -1
- package/es/components/iho-table/src/plugins/rowDragPlugin/index.js +0 -1
- package/es/components/iho-table/src/plugins/varialbleHeightPlugin/index.js +0 -1
- package/es/components/iho-table/src/plugins/virtualTreePlugin/index.js +0 -1
|
@@ -311,29 +311,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
311
311
|
autofocus?: string | undefined;
|
|
312
312
|
autoselect?: boolean | undefined;
|
|
313
313
|
defaultValue?: string | number | object | any[] | {
|
|
314
|
-
exec: (string: string) => RegExpExecArray | null;
|
|
315
|
-
test: (string: string) => boolean;
|
|
316
|
-
readonly source: string;
|
|
317
|
-
readonly global: boolean;
|
|
318
|
-
readonly ignoreCase: boolean;
|
|
319
|
-
readonly multiline: boolean;
|
|
320
|
-
lastIndex: number;
|
|
321
|
-
compile: (pattern: string, flags?: string | undefined) => RegExp;
|
|
322
|
-
readonly flags: string;
|
|
323
|
-
readonly sticky: boolean;
|
|
324
|
-
readonly unicode: boolean;
|
|
325
|
-
readonly dotAll: boolean;
|
|
326
|
-
[Symbol.match]: (string: string) => RegExpMatchArray | null;
|
|
327
|
-
[Symbol.replace]: {
|
|
328
|
-
(string: string, replaceValue: string): string;
|
|
329
|
-
(string: string, replacer: (substring: string, ...args: any[]) => string): string;
|
|
330
|
-
};
|
|
331
|
-
[Symbol.search]: (string: string) => number;
|
|
332
|
-
[Symbol.split]: (string: string, limit?: number | undefined) => string[];
|
|
333
|
-
[Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
|
|
334
|
-
} | ((params: {
|
|
335
|
-
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
336
|
-
}) => any) | {
|
|
337
314
|
toString: () => string;
|
|
338
315
|
toDateString: () => string;
|
|
339
316
|
toTimeString: () => string;
|
|
@@ -395,7 +372,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
395
372
|
(hint: "number"): number;
|
|
396
373
|
(hint: string): string | number;
|
|
397
374
|
};
|
|
398
|
-
} |
|
|
375
|
+
} | {
|
|
376
|
+
exec: (string: string) => RegExpExecArray | null;
|
|
377
|
+
test: (string: string) => boolean;
|
|
378
|
+
readonly source: string;
|
|
379
|
+
readonly global: boolean;
|
|
380
|
+
readonly ignoreCase: boolean;
|
|
381
|
+
readonly multiline: boolean;
|
|
382
|
+
lastIndex: number;
|
|
383
|
+
compile: (pattern: string, flags?: string | undefined) => RegExp;
|
|
384
|
+
readonly flags: string;
|
|
385
|
+
readonly sticky: boolean;
|
|
386
|
+
readonly unicode: boolean;
|
|
387
|
+
readonly dotAll: boolean;
|
|
388
|
+
[Symbol.match]: (string: string) => RegExpMatchArray | null;
|
|
389
|
+
[Symbol.replace]: {
|
|
390
|
+
(string: string, replaceValue: string): string;
|
|
391
|
+
(string: string, replacer: (substring: string, ...args: any[]) => string): string;
|
|
392
|
+
};
|
|
393
|
+
[Symbol.search]: (string: string) => number;
|
|
394
|
+
[Symbol.split]: (string: string, limit?: number | undefined) => string[];
|
|
395
|
+
[Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
|
|
396
|
+
} | ((params: {
|
|
397
|
+
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
398
|
+
}) => any) | null | undefined;
|
|
399
399
|
immediate?: boolean | undefined;
|
|
400
400
|
content?: string | undefined;
|
|
401
401
|
placeholder?: string | undefined;
|
|
@@ -614,29 +614,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
614
614
|
autofocus?: string | undefined;
|
|
615
615
|
autoselect?: boolean | undefined;
|
|
616
616
|
defaultValue?: string | number | object | any[] | {
|
|
617
|
-
exec: (string: string) => RegExpExecArray | null;
|
|
618
|
-
test: (string: string) => boolean;
|
|
619
|
-
readonly source: string;
|
|
620
|
-
readonly global: boolean;
|
|
621
|
-
readonly ignoreCase: boolean;
|
|
622
|
-
readonly multiline: boolean;
|
|
623
|
-
lastIndex: number;
|
|
624
|
-
compile: (pattern: string, flags?: string | undefined) => RegExp;
|
|
625
|
-
readonly flags: string;
|
|
626
|
-
readonly sticky: boolean;
|
|
627
|
-
readonly unicode: boolean;
|
|
628
|
-
readonly dotAll: boolean;
|
|
629
|
-
[Symbol.match]: (string: string) => RegExpMatchArray | null;
|
|
630
|
-
[Symbol.replace]: {
|
|
631
|
-
(string: string, replaceValue: string): string;
|
|
632
|
-
(string: string, replacer: (substring: string, ...args: any[]) => string): string;
|
|
633
|
-
};
|
|
634
|
-
[Symbol.search]: (string: string) => number;
|
|
635
|
-
[Symbol.split]: (string: string, limit?: number | undefined) => string[];
|
|
636
|
-
[Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
|
|
637
|
-
} | ((params: {
|
|
638
|
-
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
639
|
-
}) => any) | {
|
|
640
617
|
toString: () => string;
|
|
641
618
|
toDateString: () => string;
|
|
642
619
|
toTimeString: () => string;
|
|
@@ -698,7 +675,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
698
675
|
(hint: "number"): number;
|
|
699
676
|
(hint: string): string | number;
|
|
700
677
|
};
|
|
701
|
-
} |
|
|
678
|
+
} | {
|
|
679
|
+
exec: (string: string) => RegExpExecArray | null;
|
|
680
|
+
test: (string: string) => boolean;
|
|
681
|
+
readonly source: string;
|
|
682
|
+
readonly global: boolean;
|
|
683
|
+
readonly ignoreCase: boolean;
|
|
684
|
+
readonly multiline: boolean;
|
|
685
|
+
lastIndex: number;
|
|
686
|
+
compile: (pattern: string, flags?: string | undefined) => RegExp;
|
|
687
|
+
readonly flags: string;
|
|
688
|
+
readonly sticky: boolean;
|
|
689
|
+
readonly unicode: boolean;
|
|
690
|
+
readonly dotAll: boolean;
|
|
691
|
+
[Symbol.match]: (string: string) => RegExpMatchArray | null;
|
|
692
|
+
[Symbol.replace]: {
|
|
693
|
+
(string: string, replaceValue: string): string;
|
|
694
|
+
(string: string, replacer: (substring: string, ...args: any[]) => string): string;
|
|
695
|
+
};
|
|
696
|
+
[Symbol.search]: (string: string) => number;
|
|
697
|
+
[Symbol.split]: (string: string, limit?: number | undefined) => string[];
|
|
698
|
+
[Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
|
|
699
|
+
} | ((params: {
|
|
700
|
+
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
701
|
+
}) => any) | null | undefined;
|
|
702
702
|
immediate?: boolean | undefined;
|
|
703
703
|
content?: string | undefined;
|
|
704
704
|
placeholder?: string | undefined;
|
|
@@ -1105,29 +1105,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1105
1105
|
autofocus?: string | undefined;
|
|
1106
1106
|
autoselect?: boolean | undefined;
|
|
1107
1107
|
defaultValue?: string | number | object | any[] | {
|
|
1108
|
-
exec: (string: string) => RegExpExecArray | null;
|
|
1109
|
-
test: (string: string) => boolean;
|
|
1110
|
-
readonly source: string;
|
|
1111
|
-
readonly global: boolean;
|
|
1112
|
-
readonly ignoreCase: boolean;
|
|
1113
|
-
readonly multiline: boolean;
|
|
1114
|
-
lastIndex: number;
|
|
1115
|
-
compile: (pattern: string, flags?: string | undefined) => RegExp;
|
|
1116
|
-
readonly flags: string;
|
|
1117
|
-
readonly sticky: boolean;
|
|
1118
|
-
readonly unicode: boolean;
|
|
1119
|
-
readonly dotAll: boolean;
|
|
1120
|
-
[Symbol.match]: (string: string) => RegExpMatchArray | null;
|
|
1121
|
-
[Symbol.replace]: {
|
|
1122
|
-
(string: string, replaceValue: string): string;
|
|
1123
|
-
(string: string, replacer: (substring: string, ...args: any[]) => string): string;
|
|
1124
|
-
};
|
|
1125
|
-
[Symbol.search]: (string: string) => number;
|
|
1126
|
-
[Symbol.split]: (string: string, limit?: number | undefined) => string[];
|
|
1127
|
-
[Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
|
|
1128
|
-
} | ((params: {
|
|
1129
|
-
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
1130
|
-
}) => any) | {
|
|
1131
1108
|
toString: () => string;
|
|
1132
1109
|
toDateString: () => string;
|
|
1133
1110
|
toTimeString: () => string;
|
|
@@ -1189,7 +1166,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1189
1166
|
(hint: "number"): number;
|
|
1190
1167
|
(hint: string): string | number;
|
|
1191
1168
|
};
|
|
1192
|
-
} |
|
|
1169
|
+
} | {
|
|
1170
|
+
exec: (string: string) => RegExpExecArray | null;
|
|
1171
|
+
test: (string: string) => boolean;
|
|
1172
|
+
readonly source: string;
|
|
1173
|
+
readonly global: boolean;
|
|
1174
|
+
readonly ignoreCase: boolean;
|
|
1175
|
+
readonly multiline: boolean;
|
|
1176
|
+
lastIndex: number;
|
|
1177
|
+
compile: (pattern: string, flags?: string | undefined) => RegExp;
|
|
1178
|
+
readonly flags: string;
|
|
1179
|
+
readonly sticky: boolean;
|
|
1180
|
+
readonly unicode: boolean;
|
|
1181
|
+
readonly dotAll: boolean;
|
|
1182
|
+
[Symbol.match]: (string: string) => RegExpMatchArray | null;
|
|
1183
|
+
[Symbol.replace]: {
|
|
1184
|
+
(string: string, replaceValue: string): string;
|
|
1185
|
+
(string: string, replacer: (substring: string, ...args: any[]) => string): string;
|
|
1186
|
+
};
|
|
1187
|
+
[Symbol.search]: (string: string) => number;
|
|
1188
|
+
[Symbol.split]: (string: string, limit?: number | undefined) => string[];
|
|
1189
|
+
[Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
|
|
1190
|
+
} | ((params: {
|
|
1191
|
+
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
1192
|
+
}) => any) | null | undefined;
|
|
1193
1193
|
immediate?: boolean | undefined;
|
|
1194
1194
|
content?: string | undefined;
|
|
1195
1195
|
placeholder?: string | undefined;
|
|
@@ -1464,29 +1464,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1464
1464
|
autofocus?: string | undefined;
|
|
1465
1465
|
autoselect?: boolean | undefined;
|
|
1466
1466
|
defaultValue?: string | number | object | any[] | {
|
|
1467
|
-
exec: (string: string) => RegExpExecArray | null;
|
|
1468
|
-
test: (string: string) => boolean;
|
|
1469
|
-
readonly source: string;
|
|
1470
|
-
readonly global: boolean;
|
|
1471
|
-
readonly ignoreCase: boolean;
|
|
1472
|
-
readonly multiline: boolean;
|
|
1473
|
-
lastIndex: number;
|
|
1474
|
-
compile: (pattern: string, flags?: string | undefined) => RegExp;
|
|
1475
|
-
readonly flags: string;
|
|
1476
|
-
readonly sticky: boolean;
|
|
1477
|
-
readonly unicode: boolean;
|
|
1478
|
-
readonly dotAll: boolean;
|
|
1479
|
-
[Symbol.match]: (string: string) => RegExpMatchArray | null;
|
|
1480
|
-
[Symbol.replace]: {
|
|
1481
|
-
(string: string, replaceValue: string): string;
|
|
1482
|
-
(string: string, replacer: (substring: string, ...args: any[]) => string): string;
|
|
1483
|
-
};
|
|
1484
|
-
[Symbol.search]: (string: string) => number;
|
|
1485
|
-
[Symbol.split]: (string: string, limit?: number | undefined) => string[];
|
|
1486
|
-
[Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
|
|
1487
|
-
} | ((params: {
|
|
1488
|
-
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
1489
|
-
}) => any) | {
|
|
1490
1467
|
toString: () => string;
|
|
1491
1468
|
toDateString: () => string;
|
|
1492
1469
|
toTimeString: () => string;
|
|
@@ -1548,7 +1525,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1548
1525
|
(hint: "number"): number;
|
|
1549
1526
|
(hint: string): string | number;
|
|
1550
1527
|
};
|
|
1551
|
-
} |
|
|
1528
|
+
} | {
|
|
1529
|
+
exec: (string: string) => RegExpExecArray | null;
|
|
1530
|
+
test: (string: string) => boolean;
|
|
1531
|
+
readonly source: string;
|
|
1532
|
+
readonly global: boolean;
|
|
1533
|
+
readonly ignoreCase: boolean;
|
|
1534
|
+
readonly multiline: boolean;
|
|
1535
|
+
lastIndex: number;
|
|
1536
|
+
compile: (pattern: string, flags?: string | undefined) => RegExp;
|
|
1537
|
+
readonly flags: string;
|
|
1538
|
+
readonly sticky: boolean;
|
|
1539
|
+
readonly unicode: boolean;
|
|
1540
|
+
readonly dotAll: boolean;
|
|
1541
|
+
[Symbol.match]: (string: string) => RegExpMatchArray | null;
|
|
1542
|
+
[Symbol.replace]: {
|
|
1543
|
+
(string: string, replaceValue: string): string;
|
|
1544
|
+
(string: string, replacer: (substring: string, ...args: any[]) => string): string;
|
|
1545
|
+
};
|
|
1546
|
+
[Symbol.search]: (string: string) => number;
|
|
1547
|
+
[Symbol.split]: (string: string, limit?: number | undefined) => string[];
|
|
1548
|
+
[Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
|
|
1549
|
+
} | ((params: {
|
|
1550
|
+
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
1551
|
+
}) => any) | null | undefined;
|
|
1552
1552
|
immediate?: boolean | undefined;
|
|
1553
1553
|
content?: string | undefined;
|
|
1554
1554
|
placeholder?: string | undefined;
|
|
@@ -2149,6 +2149,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2149
2149
|
isTree?: import("../../../shared/types").MaybeString<0 | 2 | 1 | 3> | undefined;
|
|
2150
2150
|
isBatchSelect?: import("../../../shared/types").MaybeString<0 | 1> | undefined;
|
|
2151
2151
|
isSingleSelect?: import("../../../shared/types").MaybeString<0 | 1> | undefined;
|
|
2152
|
+
dragScroll?: boolean | undefined;
|
|
2152
2153
|
selectType?: "checkbox" | "radio" | null | undefined;
|
|
2153
2154
|
rowDraggable?: boolean | undefined;
|
|
2154
2155
|
showSeq?: boolean | undefined;
|
|
@@ -2364,29 +2365,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2364
2365
|
autofocus?: string | undefined;
|
|
2365
2366
|
autoselect?: boolean | undefined;
|
|
2366
2367
|
defaultValue?: string | number | object | any[] | {
|
|
2367
|
-
exec: (string: string) => RegExpExecArray | null;
|
|
2368
|
-
test: (string: string) => boolean;
|
|
2369
|
-
readonly source: string;
|
|
2370
|
-
readonly global: boolean;
|
|
2371
|
-
readonly ignoreCase: boolean;
|
|
2372
|
-
readonly multiline: boolean;
|
|
2373
|
-
lastIndex: number;
|
|
2374
|
-
compile: (pattern: string, flags?: string | undefined) => RegExp;
|
|
2375
|
-
readonly flags: string;
|
|
2376
|
-
readonly sticky: boolean;
|
|
2377
|
-
readonly unicode: boolean;
|
|
2378
|
-
readonly dotAll: boolean;
|
|
2379
|
-
[Symbol.match]: (string: string) => RegExpMatchArray | null;
|
|
2380
|
-
[Symbol.replace]: {
|
|
2381
|
-
(string: string, replaceValue: string): string;
|
|
2382
|
-
(string: string, replacer: (substring: string, ...args: any[]) => string): string;
|
|
2383
|
-
};
|
|
2384
|
-
[Symbol.search]: (string: string) => number;
|
|
2385
|
-
[Symbol.split]: (string: string, limit?: number | undefined) => string[];
|
|
2386
|
-
[Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
|
|
2387
|
-
} | ((params: {
|
|
2388
|
-
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
2389
|
-
}) => any) | {
|
|
2390
2368
|
toString: () => string;
|
|
2391
2369
|
toDateString: () => string;
|
|
2392
2370
|
toTimeString: () => string;
|
|
@@ -2448,7 +2426,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2448
2426
|
(hint: "number"): number;
|
|
2449
2427
|
(hint: string): string | number;
|
|
2450
2428
|
};
|
|
2451
|
-
} |
|
|
2429
|
+
} | {
|
|
2430
|
+
exec: (string: string) => RegExpExecArray | null;
|
|
2431
|
+
test: (string: string) => boolean;
|
|
2432
|
+
readonly source: string;
|
|
2433
|
+
readonly global: boolean;
|
|
2434
|
+
readonly ignoreCase: boolean;
|
|
2435
|
+
readonly multiline: boolean;
|
|
2436
|
+
lastIndex: number;
|
|
2437
|
+
compile: (pattern: string, flags?: string | undefined) => RegExp;
|
|
2438
|
+
readonly flags: string;
|
|
2439
|
+
readonly sticky: boolean;
|
|
2440
|
+
readonly unicode: boolean;
|
|
2441
|
+
readonly dotAll: boolean;
|
|
2442
|
+
[Symbol.match]: (string: string) => RegExpMatchArray | null;
|
|
2443
|
+
[Symbol.replace]: {
|
|
2444
|
+
(string: string, replaceValue: string): string;
|
|
2445
|
+
(string: string, replacer: (substring: string, ...args: any[]) => string): string;
|
|
2446
|
+
};
|
|
2447
|
+
[Symbol.search]: (string: string) => number;
|
|
2448
|
+
[Symbol.split]: (string: string, limit?: number | undefined) => string[];
|
|
2449
|
+
[Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
|
|
2450
|
+
} | ((params: {
|
|
2451
|
+
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
2452
|
+
}) => any) | null | undefined;
|
|
2452
2453
|
immediate?: boolean | undefined;
|
|
2453
2454
|
content?: string | undefined;
|
|
2454
2455
|
placeholder?: string | undefined;
|
|
@@ -2828,29 +2829,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2828
2829
|
autofocus?: string | undefined;
|
|
2829
2830
|
autoselect?: boolean | undefined;
|
|
2830
2831
|
defaultValue?: string | number | object | any[] | {
|
|
2831
|
-
exec: (string: string) => RegExpExecArray | null;
|
|
2832
|
-
test: (string: string) => boolean;
|
|
2833
|
-
readonly source: string;
|
|
2834
|
-
readonly global: boolean;
|
|
2835
|
-
readonly ignoreCase: boolean;
|
|
2836
|
-
readonly multiline: boolean;
|
|
2837
|
-
lastIndex: number;
|
|
2838
|
-
compile: (pattern: string, flags?: string | undefined) => RegExp;
|
|
2839
|
-
readonly flags: string;
|
|
2840
|
-
readonly sticky: boolean;
|
|
2841
|
-
readonly unicode: boolean;
|
|
2842
|
-
readonly dotAll: boolean;
|
|
2843
|
-
[Symbol.match]: (string: string) => RegExpMatchArray | null;
|
|
2844
|
-
[Symbol.replace]: {
|
|
2845
|
-
(string: string, replaceValue: string): string;
|
|
2846
|
-
(string: string, replacer: (substring: string, ...args: any[]) => string): string;
|
|
2847
|
-
};
|
|
2848
|
-
[Symbol.search]: (string: string) => number;
|
|
2849
|
-
[Symbol.split]: (string: string, limit?: number | undefined) => string[];
|
|
2850
|
-
[Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
|
|
2851
|
-
} | ((params: {
|
|
2852
|
-
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
2853
|
-
}) => any) | {
|
|
2854
2832
|
toString: () => string;
|
|
2855
2833
|
toDateString: () => string;
|
|
2856
2834
|
toTimeString: () => string;
|
|
@@ -2912,7 +2890,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2912
2890
|
(hint: "number"): number;
|
|
2913
2891
|
(hint: string): string | number;
|
|
2914
2892
|
};
|
|
2915
|
-
} |
|
|
2893
|
+
} | {
|
|
2894
|
+
exec: (string: string) => RegExpExecArray | null;
|
|
2895
|
+
test: (string: string) => boolean;
|
|
2896
|
+
readonly source: string;
|
|
2897
|
+
readonly global: boolean;
|
|
2898
|
+
readonly ignoreCase: boolean;
|
|
2899
|
+
readonly multiline: boolean;
|
|
2900
|
+
lastIndex: number;
|
|
2901
|
+
compile: (pattern: string, flags?: string | undefined) => RegExp;
|
|
2902
|
+
readonly flags: string;
|
|
2903
|
+
readonly sticky: boolean;
|
|
2904
|
+
readonly unicode: boolean;
|
|
2905
|
+
readonly dotAll: boolean;
|
|
2906
|
+
[Symbol.match]: (string: string) => RegExpMatchArray | null;
|
|
2907
|
+
[Symbol.replace]: {
|
|
2908
|
+
(string: string, replaceValue: string): string;
|
|
2909
|
+
(string: string, replacer: (substring: string, ...args: any[]) => string): string;
|
|
2910
|
+
};
|
|
2911
|
+
[Symbol.search]: (string: string) => number;
|
|
2912
|
+
[Symbol.split]: (string: string, limit?: number | undefined) => string[];
|
|
2913
|
+
[Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
|
|
2914
|
+
} | ((params: {
|
|
2915
|
+
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
2916
|
+
}) => any) | null | undefined;
|
|
2916
2917
|
immediate?: boolean | undefined;
|
|
2917
2918
|
content?: string | undefined;
|
|
2918
2919
|
placeholder?: string | undefined;
|
|
@@ -3131,29 +3132,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3131
3132
|
autofocus?: string | undefined;
|
|
3132
3133
|
autoselect?: boolean | undefined;
|
|
3133
3134
|
defaultValue?: string | number | object | any[] | {
|
|
3134
|
-
exec: (string: string) => RegExpExecArray | null;
|
|
3135
|
-
test: (string: string) => boolean;
|
|
3136
|
-
readonly source: string;
|
|
3137
|
-
readonly global: boolean;
|
|
3138
|
-
readonly ignoreCase: boolean;
|
|
3139
|
-
readonly multiline: boolean;
|
|
3140
|
-
lastIndex: number;
|
|
3141
|
-
compile: (pattern: string, flags?: string | undefined) => RegExp;
|
|
3142
|
-
readonly flags: string;
|
|
3143
|
-
readonly sticky: boolean;
|
|
3144
|
-
readonly unicode: boolean;
|
|
3145
|
-
readonly dotAll: boolean;
|
|
3146
|
-
[Symbol.match]: (string: string) => RegExpMatchArray | null;
|
|
3147
|
-
[Symbol.replace]: {
|
|
3148
|
-
(string: string, replaceValue: string): string;
|
|
3149
|
-
(string: string, replacer: (substring: string, ...args: any[]) => string): string;
|
|
3150
|
-
};
|
|
3151
|
-
[Symbol.search]: (string: string) => number;
|
|
3152
|
-
[Symbol.split]: (string: string, limit?: number | undefined) => string[];
|
|
3153
|
-
[Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
|
|
3154
|
-
} | ((params: {
|
|
3155
|
-
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
3156
|
-
}) => any) | {
|
|
3157
3135
|
toString: () => string;
|
|
3158
3136
|
toDateString: () => string;
|
|
3159
3137
|
toTimeString: () => string;
|
|
@@ -3215,7 +3193,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3215
3193
|
(hint: "number"): number;
|
|
3216
3194
|
(hint: string): string | number;
|
|
3217
3195
|
};
|
|
3218
|
-
} |
|
|
3196
|
+
} | {
|
|
3197
|
+
exec: (string: string) => RegExpExecArray | null;
|
|
3198
|
+
test: (string: string) => boolean;
|
|
3199
|
+
readonly source: string;
|
|
3200
|
+
readonly global: boolean;
|
|
3201
|
+
readonly ignoreCase: boolean;
|
|
3202
|
+
readonly multiline: boolean;
|
|
3203
|
+
lastIndex: number;
|
|
3204
|
+
compile: (pattern: string, flags?: string | undefined) => RegExp;
|
|
3205
|
+
readonly flags: string;
|
|
3206
|
+
readonly sticky: boolean;
|
|
3207
|
+
readonly unicode: boolean;
|
|
3208
|
+
readonly dotAll: boolean;
|
|
3209
|
+
[Symbol.match]: (string: string) => RegExpMatchArray | null;
|
|
3210
|
+
[Symbol.replace]: {
|
|
3211
|
+
(string: string, replaceValue: string): string;
|
|
3212
|
+
(string: string, replacer: (substring: string, ...args: any[]) => string): string;
|
|
3213
|
+
};
|
|
3214
|
+
[Symbol.search]: (string: string) => number;
|
|
3215
|
+
[Symbol.split]: (string: string, limit?: number | undefined) => string[];
|
|
3216
|
+
[Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
|
|
3217
|
+
} | ((params: {
|
|
3218
|
+
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
3219
|
+
}) => any) | null | undefined;
|
|
3219
3220
|
immediate?: boolean | undefined;
|
|
3220
3221
|
content?: string | undefined;
|
|
3221
3222
|
placeholder?: string | undefined;
|
|
@@ -3622,29 +3623,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3622
3623
|
autofocus?: string | undefined;
|
|
3623
3624
|
autoselect?: boolean | undefined;
|
|
3624
3625
|
defaultValue?: string | number | object | any[] | {
|
|
3625
|
-
exec: (string: string) => RegExpExecArray | null;
|
|
3626
|
-
test: (string: string) => boolean;
|
|
3627
|
-
readonly source: string;
|
|
3628
|
-
readonly global: boolean;
|
|
3629
|
-
readonly ignoreCase: boolean;
|
|
3630
|
-
readonly multiline: boolean;
|
|
3631
|
-
lastIndex: number;
|
|
3632
|
-
compile: (pattern: string, flags?: string | undefined) => RegExp;
|
|
3633
|
-
readonly flags: string;
|
|
3634
|
-
readonly sticky: boolean;
|
|
3635
|
-
readonly unicode: boolean;
|
|
3636
|
-
readonly dotAll: boolean;
|
|
3637
|
-
[Symbol.match]: (string: string) => RegExpMatchArray | null;
|
|
3638
|
-
[Symbol.replace]: {
|
|
3639
|
-
(string: string, replaceValue: string): string;
|
|
3640
|
-
(string: string, replacer: (substring: string, ...args: any[]) => string): string;
|
|
3641
|
-
};
|
|
3642
|
-
[Symbol.search]: (string: string) => number;
|
|
3643
|
-
[Symbol.split]: (string: string, limit?: number | undefined) => string[];
|
|
3644
|
-
[Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
|
|
3645
|
-
} | ((params: {
|
|
3646
|
-
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
3647
|
-
}) => any) | {
|
|
3648
3626
|
toString: () => string;
|
|
3649
3627
|
toDateString: () => string;
|
|
3650
3628
|
toTimeString: () => string;
|
|
@@ -3706,7 +3684,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3706
3684
|
(hint: "number"): number;
|
|
3707
3685
|
(hint: string): string | number;
|
|
3708
3686
|
};
|
|
3709
|
-
} |
|
|
3687
|
+
} | {
|
|
3688
|
+
exec: (string: string) => RegExpExecArray | null;
|
|
3689
|
+
test: (string: string) => boolean;
|
|
3690
|
+
readonly source: string;
|
|
3691
|
+
readonly global: boolean;
|
|
3692
|
+
readonly ignoreCase: boolean;
|
|
3693
|
+
readonly multiline: boolean;
|
|
3694
|
+
lastIndex: number;
|
|
3695
|
+
compile: (pattern: string, flags?: string | undefined) => RegExp;
|
|
3696
|
+
readonly flags: string;
|
|
3697
|
+
readonly sticky: boolean;
|
|
3698
|
+
readonly unicode: boolean;
|
|
3699
|
+
readonly dotAll: boolean;
|
|
3700
|
+
[Symbol.match]: (string: string) => RegExpMatchArray | null;
|
|
3701
|
+
[Symbol.replace]: {
|
|
3702
|
+
(string: string, replaceValue: string): string;
|
|
3703
|
+
(string: string, replacer: (substring: string, ...args: any[]) => string): string;
|
|
3704
|
+
};
|
|
3705
|
+
[Symbol.search]: (string: string) => number;
|
|
3706
|
+
[Symbol.split]: (string: string, limit?: number | undefined) => string[];
|
|
3707
|
+
[Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
|
|
3708
|
+
} | ((params: {
|
|
3709
|
+
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
3710
|
+
}) => any) | null | undefined;
|
|
3710
3711
|
immediate?: boolean | undefined;
|
|
3711
3712
|
content?: string | undefined;
|
|
3712
3713
|
placeholder?: string | undefined;
|
|
@@ -3981,29 +3982,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3981
3982
|
autofocus?: string | undefined;
|
|
3982
3983
|
autoselect?: boolean | undefined;
|
|
3983
3984
|
defaultValue?: string | number | object | any[] | {
|
|
3984
|
-
exec: (string: string) => RegExpExecArray | null;
|
|
3985
|
-
test: (string: string) => boolean;
|
|
3986
|
-
readonly source: string;
|
|
3987
|
-
readonly global: boolean;
|
|
3988
|
-
readonly ignoreCase: boolean;
|
|
3989
|
-
readonly multiline: boolean;
|
|
3990
|
-
lastIndex: number;
|
|
3991
|
-
compile: (pattern: string, flags?: string | undefined) => RegExp;
|
|
3992
|
-
readonly flags: string;
|
|
3993
|
-
readonly sticky: boolean;
|
|
3994
|
-
readonly unicode: boolean;
|
|
3995
|
-
readonly dotAll: boolean;
|
|
3996
|
-
[Symbol.match]: (string: string) => RegExpMatchArray | null;
|
|
3997
|
-
[Symbol.replace]: {
|
|
3998
|
-
(string: string, replaceValue: string): string;
|
|
3999
|
-
(string: string, replacer: (substring: string, ...args: any[]) => string): string;
|
|
4000
|
-
};
|
|
4001
|
-
[Symbol.search]: (string: string) => number;
|
|
4002
|
-
[Symbol.split]: (string: string, limit?: number | undefined) => string[];
|
|
4003
|
-
[Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
|
|
4004
|
-
} | ((params: {
|
|
4005
|
-
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
4006
|
-
}) => any) | {
|
|
4007
3985
|
toString: () => string;
|
|
4008
3986
|
toDateString: () => string;
|
|
4009
3987
|
toTimeString: () => string;
|
|
@@ -4065,7 +4043,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4065
4043
|
(hint: "number"): number;
|
|
4066
4044
|
(hint: string): string | number;
|
|
4067
4045
|
};
|
|
4068
|
-
} |
|
|
4046
|
+
} | {
|
|
4047
|
+
exec: (string: string) => RegExpExecArray | null;
|
|
4048
|
+
test: (string: string) => boolean;
|
|
4049
|
+
readonly source: string;
|
|
4050
|
+
readonly global: boolean;
|
|
4051
|
+
readonly ignoreCase: boolean;
|
|
4052
|
+
readonly multiline: boolean;
|
|
4053
|
+
lastIndex: number;
|
|
4054
|
+
compile: (pattern: string, flags?: string | undefined) => RegExp;
|
|
4055
|
+
readonly flags: string;
|
|
4056
|
+
readonly sticky: boolean;
|
|
4057
|
+
readonly unicode: boolean;
|
|
4058
|
+
readonly dotAll: boolean;
|
|
4059
|
+
[Symbol.match]: (string: string) => RegExpMatchArray | null;
|
|
4060
|
+
[Symbol.replace]: {
|
|
4061
|
+
(string: string, replaceValue: string): string;
|
|
4062
|
+
(string: string, replacer: (substring: string, ...args: any[]) => string): string;
|
|
4063
|
+
};
|
|
4064
|
+
[Symbol.search]: (string: string) => number;
|
|
4065
|
+
[Symbol.split]: (string: string, limit?: number | undefined) => string[];
|
|
4066
|
+
[Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
|
|
4067
|
+
} | ((params: {
|
|
4068
|
+
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
4069
|
+
}) => any) | null | undefined;
|
|
4069
4070
|
immediate?: boolean | undefined;
|
|
4070
4071
|
content?: string | undefined;
|
|
4071
4072
|
placeholder?: string | undefined;
|
|
@@ -4606,6 +4607,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4606
4607
|
isTree?: import("../../../shared/types").MaybeString<0 | 2 | 1 | 3> | undefined;
|
|
4607
4608
|
isBatchSelect?: import("../../../shared/types").MaybeString<0 | 1> | undefined;
|
|
4608
4609
|
isSingleSelect?: import("../../../shared/types").MaybeString<0 | 1> | undefined;
|
|
4610
|
+
dragScroll?: boolean | undefined;
|
|
4609
4611
|
selectType?: "checkbox" | "radio" | null | undefined;
|
|
4610
4612
|
rowDraggable?: boolean | undefined;
|
|
4611
4613
|
showSeq?: boolean | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,computed as t,provide as o,ref as a,toRaw as l,watch as n,resolveComponent as s,openBlock as r,createElementBlock as i,mergeProps as u,unref as
|
|
1
|
+
import{defineComponent as e,computed as t,provide as o,ref as a,toRaw as l,watch as n,resolveComponent as s,openBlock as r,createElementBlock as i,mergeProps as u,unref as d,createBlock as c,resolveDynamicComponent as f,createElementVNode as m,normalizeStyle as v,createVNode as p,createSlots as h,renderList as b,withCtx as g,createCommentVNode as x,renderSlot as k,normalizeProps as y,guardReactiveProps as C}from"vue";import{useTheme as D}from"../../../shared/hooks/useTheme.js";import{useDebounceFn as j}from"@vueuse/core";import"date-fns";import{isString as $,isEqualWith as I,isFunction as w,pick as q}from"lodash-es";import{useFormAsyncQueue as R,presetRequestHandler as H}from"../../../shared/hooks/useFormRequest/index.js";import{promiseTimeout as T}from"@vueuse/shared";import{widthAppend as _,uuidGenerator as A}from"../../../shared/utils/index.js";import"../../../shared/hooks/selectHooks/useSearchContent.js";import"@vicons/ionicons5";import"naive-ui";import{useVersion as L}from"../../../shared/hooks/useVersion.js";import{VxeTableEventNameList as S,InjectionIhoTableEmits as F,InjectionTableAsyncQueue as O,InjectionIhoTableAnnotation as B,InjectionIhoTableUUID as E,InjectionIhoTableInstance as N,InjectionIhoTableConfig as V,InjectionIhoTableFieldList as W,InjectionIhoTableHandler as z}from"./constants/index.js";import{createTableHooks as G,applyTableConfigHooks as J,applyTableFieldHooks as K,createTableEventHandlers as M,createDomInsertComponent as P,createDataTransfer as Q}from"./hooks/tapHooks/index.js";import{provideIhoTableEventListener as U}from"./hooks/tapHooks/useEventHooks.js";import{eventName2EventListener as X}from"./utils/index.js";const Y=["id"];var Z=e({__name:"IhoTable",props:{tableConfig:{type:Object,default:()=>({})},fieldList:{type:Array,default:()=>[]},tableData:{type:Array,default:()=>[]},annotation:{type:Object},requestInstance:{type:Object},uniqueCacheData:{type:Boolean,default:!1},parallelism:{type:Number,default:3}},emits:["formChange","settingClick","formClick","keyboard","rowDrag",...S],setup(e,{expose:S,emit:Z}){var ee,te;const oe=e,ae=D({"--c-border-color":"#d0d0d0","--c-head-bg-color":"#f2f2f2","--c-hover-color":"#e6e6e6","--c-stripe-color":"#f6f6f6"}),le=t((()=>{var e,t;const o=null!=(t=null==(e=oe.tableConfig)?void 0:e.height)?t:"100%";return{height:"auto"===o?"100%":$(o)&&(o.includes("calc")||o.endsWith("%"))?o:_(o)}})),ne=U(),se=function(e,...t){Z(e,...t);const o=d(ce)[X(e)];w(o)&&o(...t),ne.trigger(e,...t)};o(F,se);const re=R(t((()=>oe.requestInstance)),t((()=>!!oe.uniqueCacheData))).create(oe.parallelism,{beforeRequest:(e,t)=>t,afterRequest:(e,t)=>H(t)});o(O,re);const ie=G();o(B,t((()=>oe.annotation)));const ue=A();o(E,ue);const de=a();o(N,de);const ce=a({uuid:null!=(te=null==(ee=oe.tableConfig)?void 0:ee.uuid)?te:ue});o(V,ce);const fe=j(me,10);function me(){var e,t;ce.value=J(ie,{...oe.tableConfig,uuid:null!=(t=null==(e=oe.tableConfig)?void 0:e.uuid)?t:ue},{$table:de,emits:se})}const ve=a([]);o(W,ve);const pe=j(he,10);function he(){const e=K(ie,oe.fieldList,ce.value,{$table:de,emits:se});I(e,l(ve.value),((e,t)=>{if(w(e)&&w(t))return e.toString()===t.toString()}))||(ve.value=e)}const be=Q(ie,ce,de),ge=a([]);async function xe(){var e,t;const o=await be(oe.tableData),a=null==(e=de.value)?void 0:e.getTableData().fullData;if(a){let e=0;if(!(a.some((t=>{var a;if(!(null==(a=de.value)?void 0:a.isInsertByRow(t))){if(t!==o[e])return!0;e++}}))||e!==o.length))return}ge.value=o,null==(t=de.value)||t.recalculate(!0)}const ke={updateTableDataRef:j(xe,10),updateConfigRef:fe,updateFieldListRef:pe};o(z,ke);const ye=M({hooks:ie,config:ce,$table:de,context:ke,emits:se}),Ce=t((()=>({...ce.value,...ye})));let De=!1,je=!1,$e=!1;const Ie=j((()=>{De&&me(),je&&he(),$e&&xe(),De=!1,je=!1,$e=!1}),10);n((()=>oe.tableConfig),(()=>{De=!0,je=!0,$e=!0,Ie()}),{deep:!0}),n((()=>oe.fieldList),(()=>{je=!0,$e=!0,Ie()}),{deep:!0}),n([()=>[...oe.tableData],()=>{var e;return null==(e=oe.tableData)?void 0:e.length}],(()=>{$e=!0,Ie()})),n([()=>oe.tableData,()=>{var e;return null==(e=oe.tableData)?void 0:e.length}],(async()=>{var e,t;(null==(e=ce.value.treeConfig)?void 0:e.expandAll)&&(await T(11),null==(t=de.value)||t.setAllTreeExpand(!0))})),me(),he(),xe();const{header:we,footer:qe}=P(ie);function Re(e){return q(e,["row","rowIndex","$rowIndex","column","columnIndex","$columnIndex","_columnIndex","checked","disabled","indeterminate"])}return S({$table:de,async loadData(e){var t;null==(t=de.value)||t.loadData(await be(e))},setSort:(e,t)=>({field:e,value:t}),setFilter:(e,t)=>({field:e,value:t}),reload(){var e,t;null==(e=de.value)||e.loadColumn([]),null==(t=de.value)||t.loadData([]),me(),he(),xe()},...ie.exposeHooks.expose.call({},ce,{$table:de,emits:se})}),ie.setupHooks.setup.call(ce,ve,{$table:de,emits:se}),(e,t)=>{const o=s("vxe-grid");return r(),i("section",u({class:"iho-table",id:d(ue),style:d(ae)},d(L)()),[(r(),c(f(d(we)))),m("section",{style:v(d(le))},[p(o,u({ref_key:"$table",ref:de},d(Ce),{columns:ve.value,data:ge.value}),h({_:2},[b(e.$slots,((t,o)=>({name:o,fn:g((t=>[x(" 实际上所有的vxe-grid插槽都支持 "),k(e.$slots,o,y(C(Re(t))))]))})))]),1040,["columns","data"])],4),(r(),c(f(d(qe))))],16,Y)}}});export{Z as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function bindEventSettingPlugin(): import("
|
|
1
|
+
export declare function bindEventSettingPlugin(): import("../../../../components/iho-table").TablePlugin;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"../../../../shared/utils/index.js";import"../../index.js";import{isFunction as n}from"lodash-es";import{getBindEventSettingTrigger as t}from"../../../../shared/utils/business.js";import{defineTablePlugin as o}from"../hooks/useTablePlugin.js";function e(){const e="bindEventSettingPlugin";return o({name:e,apply(o){o.configHooks.config.tap(e,(o=>{const e=o.onFormChange;return o.onFormChange=function(o){var i;const{column:r,row:s}=o,u=null==(i=r.editRender)?void 0:i.props;if(u&&(null==u?void 0:u.bindEventSetting)){u.bindEventSetting.forEach((n=>{t(n.event_type)(n,{getter:n=>s[n],setter:(n,t)=>s[n]=t})}))}n(e)&&e(o)},o}))}})}export{e as bindEventSettingPlugin};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function defaultConfigPlugin(): import("
|
|
1
|
+
export declare function defaultConfigPlugin(): import("../../../../components/iho-table").TablePlugin;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{mergeWith as e,isObject as o}from"lodash-es";import{HIGHEST_PRIORITY as i}from"../constants/index.js";import{defineTablePlugin as t}from"../hooks/useTablePlugin.js";import{IhoTableStatusHelper as s}from"../utils/index.js";function n(){const n="defaultTablePlugin";return t({name:n,vxe(e){e.setup({zIndex:3e3})},apply(t){t.configHooks.config.tap({name:n,stage:i},(o=>{const i=e({border:!0,showSeq:!0,columnConfig:{resizable:!0},rowConfig:{height:36,useKey:!0,isHover:!0,isCurrent:!0,keyField:"theUniqueKey"},showOverflow:"title",showHeaderOverflow:"title",editConfig:{trigger:"click",mode:"cell"}},o,{height:o.height?"auto":void 0});return i.selectType=o.selectType||(s.isPositive(o.isBatchSelect)?"checkbox":s.isPositive(o.isSingleSelect)?"radio":void 0),i})),t.configHooks.mouseConfig.tap({name:n,stage:i},((e,i)=>o(i.keyboardConfig)?Object.assign({selected:!!i.keyboardConfig.isEdit},e):e))}})}export{n as defaultConfigPlugin};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function dragScrollPlugin(): import("../../../../components/iho-table").TablePlugin;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{findAncestor as e}from"../../../../shared/utils/index.js";import{useThrottleFn as t}from"@vueuse/core";import{flow as o}from"lodash-es";import{onBeforeUnmount as s,unref as r}from"vue";import"../../index.js";import{defineTablePlugin as n}from"../hooks/useTablePlugin.js";function u(){const e="dragScrollPlugin";return n({name:e,apply(r){const n={events:new Map,regist(e,t,o){document.body.addEventListener(t,o);const s=this.events.get(e)||[];s.push((()=>document.body.removeEventListener(t,o))),this.events.set(e,s)},stopper(e){var t;o(null!=(t=this.events.get(e))?t:[])(),this.events.delete(e)}};r.configHooks.config.tap(e,((e,{$table:o})=>{if(!1===e.dragScroll||!e.uuid)return e;n.stopper(e.uuid);let s=0,r=0,u=0,l=0,a=!1;const c={queue:[],lock:!1,add(e){this.queue.push(e),this.execute()},async execute(){if(!this.lock){this.lock=!0;try{for(;this.queue.length;)await this.queue.shift()()}finally{this.lock=!1}}},clear(){this.queue=[]}};return n.regist(e.uuid,"mousemove",t((e=>{var t;if(!a){const{bodyEle:t,inEmptyArea:s}=i(e,o);return void(t&&(t.style.cursor=s?"grab":"default"))}const{pageX:n,pageY:p}=e,d=n-s,m=p-r;c.add((()=>o.value.scrollTo(Math.max(0,u-d),Math.max(0,l-m)))),window.getSelection&&(null==(t=window.getSelection())||t.removeAllRanges())}),50)),n.regist(e.uuid,"mousedown",(e=>{const{bodyEle:t,inEmptyArea:n}=i(e,o);if(!t||!n)return;s=e.pageX,r=e.pageY;const{scrollTop:c,scrollLeft:p}=o.value.getScroll();u=p,l=c,a=!0})),n.regist(e.uuid,"mouseup",(()=>{a=!1,c.clear()})),e})),r.setupHooks.setup.tap(e,(e=>{s((()=>e.value.uuid&&n.stopper(e.value.uuid)))}))}})}function i(e,t){const o=e.target,s="TD"===o.tagName||o.classList.contains("vxe-cell"),n=r(t);return n?{target:o,bodyEle:l(o,n),inEmptyArea:s}:{target:o,inEmptyArea:s,bodyEle:null}}function l(t,o){const s=r(o.getRefMaps().refElem);let n=!1,u=!1,i=null;return e(t,(e=>(n||(n=e===s),u||(u=e.classList.contains("vxe-table--body-wrapper"),i=e),n&&u)))?i:null}export{u as dragScrollPlugin};
|
|
@@ -75,7 +75,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
75
75
|
focus: () => any;
|
|
76
76
|
blur: () => any;
|
|
77
77
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
78
|
-
onUpdateShow: (show: boolean) => void
|
|
78
|
+
onUpdateShow: (show: boolean) => Promise<void>;
|
|
79
79
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
80
80
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
81
81
|
NDatePicker: any;
|