cnhis-design-vue 3.1.57-beta.2 → 3.1.57-beta.21
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/button-print/index.d.ts +8 -8
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +8 -8
- package/es/components/button-print/src/ButtonPrint.vue2.js +1 -1
- package/es/components/button-print/src/components/EditFormat.vue.d.ts +3 -3
- package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +7 -7
- package/es/components/button-print/style/index.css +1 -1
- 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 +233 -224
- package/es/components/classification/src/components/table-modal/index.vue.d.ts +3 -0
- package/es/components/classification/src/index.vue.d.ts +3 -3
- package/es/components/expand-field/index.d.ts +18 -27
- package/es/components/expand-field/src/components/FormItemPerson.vue.d.ts +15 -24
- package/es/components/expand-field/src/components/PersonModal.vue.d.ts +15 -24
- package/es/components/expand-field/src/components/form.vue.d.ts +18 -27
- package/es/components/expand-field/src/components/form.vue2.js +1 -1
- package/es/components/expand-field/src/index.vue.d.ts +18 -27
- 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/components/PopupMenu.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/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 +4 -3
- package/es/components/field-set/index.d.ts +107 -616
- package/es/components/field-set/index.js +1 -1
- package/es/components/field-set/src/FieldColor.vue.d.ts +1680 -0
- package/es/components/field-set/src/FieldColor.vue.js +1 -0
- package/es/components/field-set/src/FieldColor.vue2.js +1 -0
- package/es/components/field-set/src/FieldSet.vue.d.ts +58 -16
- package/es/components/field-set/src/FieldSet.vue2.js +1 -1
- package/es/components/field-set/src/Index.vue.d.ts +141 -0
- package/es/components/field-set/src/Index.vue.js +1 -0
- package/es/components/field-set/src/Index.vue2.js +1 -0
- package/es/components/field-set/src/components/Row.vue.d.ts +50 -9
- package/es/components/field-set/src/components/Row.vue2.js +1 -1
- package/es/components/field-set/src/components/condition.vue.d.ts +172 -0
- package/es/components/field-set/src/components/condition.vue.js +1 -0
- package/es/components/field-set/src/components/condition.vue2.js +1 -0
- package/es/components/field-set/src/components/edit-dialog.vue.d.ts +1194 -0
- package/es/components/field-set/src/components/edit-dialog.vue.js +1 -0
- package/es/components/field-set/src/components/edit-dialog.vue2.js +1 -0
- package/es/components/field-set/src/components/edit-filter.vue.d.ts +286 -0
- package/es/components/field-set/src/components/edit-filter.vue.js +1 -0
- package/es/components/field-set/src/components/edit-filter.vue2.js +1 -0
- package/es/components/field-set/src/constants/index.d.ts +55 -0
- package/es/components/field-set/src/constants/index.js +1 -0
- package/es/components/field-set/src/types/index.d.ts +31 -1
- package/es/components/field-set/src/utils/index.d.ts +2 -1
- package/es/components/field-set/src/utils/index.js +1 -1
- package/es/components/field-set/style/index.css +1 -1
- package/es/components/form-config/index.d.ts +55 -30
- package/es/components/form-config/src/FormConfig.vue.d.ts +55 -30
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +17 -8
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +23 -11
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +8 -8
- package/es/components/form-config/src/constants/index.d.ts +1 -1
- package/es/components/form-config/src/types/index.d.ts +2 -2
- package/es/components/form-render/index.d.ts +17 -8
- package/es/components/form-render/index.js +1 -1
- package/es/components/form-render/src/FormRender.vue.d.ts +17 -8
- package/es/components/form-render/src/FormRender.vue2.js +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +17 -8
- 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/components/renderer/switch.js +1 -1
- package/es/components/form-render/src/hooks/index.d.ts +1 -0
- package/es/components/form-render/src/hooks/index.js +1 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
- package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +2 -2
- package/es/components/form-render/src/hooks/useLowCodeReactions.d.ts +1 -1
- package/es/components/form-render/src/hooks/useNewLowCodeReactions.d.ts +6 -0
- package/es/components/form-render/src/hooks/useNewLowCodeReactions.js +1 -0
- package/es/components/form-render/src/types/fieldItem.d.ts +1 -0
- package/es/components/form-render/src/types/index.d.ts +1 -1
- package/es/components/guide/src/renderer.d.ts +2 -2
- package/es/components/iho-table/index.d.ts +216 -216
- package/es/components/iho-table/src/IhoTable.vue.d.ts +216 -216
- 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/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue2.js +1 -1
- package/es/components/iho-table/src/types/index.d.ts +1 -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/info-header/index.d.ts +41 -23
- package/es/components/info-header/src/InfoHeader.vue.d.ts +41 -23
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +1 -1
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +1 -1
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +18 -9
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +17 -8
- package/es/components/keyboard/index.d.ts +1 -1
- package/es/components/keyboard/src/Keyboard.vue.d.ts +1 -1
- package/es/components/quick-search/index.d.ts +3 -3
- package/es/components/quick-search/src/index.vue.d.ts +3 -3
- package/es/components/recommend-search/index.d.ts +6 -6
- package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +6 -6
- package/es/components/recommend-search/src/components/BaseSearch.d.ts +1 -1
- package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +1 -1
- package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +1 -1
- package/es/components/scale-view/index.d.ts +3 -3
- package/es/components/scale-view/src/ScaleView.vue.d.ts +3 -3
- package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
- package/es/components/scale-view/src/components/formitem/standard-modal.d.ts +1 -1
- package/es/components/scale-view/src/hooks/use-component.d.ts +1 -1
- package/es/components/select-label/index.d.ts +2 -2
- package/es/components/select-label/src/LabelFormContent.vue.d.ts +1 -1
- package/es/components/select-label/src/LabelFormContent.vue2.js +1 -1
- package/es/components/select-label/src/SelectLabel.vue.d.ts +1 -1
- package/es/components/select-label/src/index.vue.d.ts +1 -1
- package/es/components/select-person/index.d.ts +15 -24
- package/es/components/select-person/src/SearchMultiple.vue.d.ts +6 -0
- package/es/components/select-person/src/SelectPerson.vue.d.ts +15 -18
- package/es/components/select-person/src/SelectPerson.vue2.js +1 -1
- package/es/components/select-person/style/index.css +1 -1
- package/es/components/shortcut-provider/src/hooks/useShortcuts.js +1 -1
- package/es/components/shortcut-setter/index.d.ts +18 -8
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +18 -8
- package/es/components/table-export-field/index.d.ts +3 -3
- package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +0 -3
- package/es/components/table-export-field/src/components/SaveProjectModal.vue.d.ts +3 -3
- package/es/components/table-export-field/src/index.vue.d.ts +3 -3
- package/es/components/time-line/index.d.ts +7 -7
- package/es/components/time-line/src/TimeLine.vue.d.ts +3 -3
- 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/package.json.js +1 -1
- package/es/shared/types/business.d.ts +23 -3
- package/es/shared/utils/business.d.ts +2 -1
- package/es/shared/utils/business.js +1 -1
- package/es/shared/utils/index.js +1 -1
- package/package.json +8 -2
- package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
- package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
- package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
- package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
- package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
- package/es/shared/utils/fabricjs/index.d.ts +0 -6823
- package/es/shared/utils/tapable/index.d.ts +0 -139
|
@@ -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;
|
|
@@ -2364,29 +2364,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2364
2364
|
autofocus?: string | undefined;
|
|
2365
2365
|
autoselect?: boolean | undefined;
|
|
2366
2366
|
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
2367
|
toString: () => string;
|
|
2391
2368
|
toDateString: () => string;
|
|
2392
2369
|
toTimeString: () => string;
|
|
@@ -2448,7 +2425,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2448
2425
|
(hint: "number"): number;
|
|
2449
2426
|
(hint: string): string | number;
|
|
2450
2427
|
};
|
|
2451
|
-
} |
|
|
2428
|
+
} | {
|
|
2429
|
+
exec: (string: string) => RegExpExecArray | null;
|
|
2430
|
+
test: (string: string) => boolean;
|
|
2431
|
+
readonly source: string;
|
|
2432
|
+
readonly global: boolean;
|
|
2433
|
+
readonly ignoreCase: boolean;
|
|
2434
|
+
readonly multiline: boolean;
|
|
2435
|
+
lastIndex: number;
|
|
2436
|
+
compile: (pattern: string, flags?: string | undefined) => RegExp;
|
|
2437
|
+
readonly flags: string;
|
|
2438
|
+
readonly sticky: boolean;
|
|
2439
|
+
readonly unicode: boolean;
|
|
2440
|
+
readonly dotAll: boolean;
|
|
2441
|
+
[Symbol.match]: (string: string) => RegExpMatchArray | null;
|
|
2442
|
+
[Symbol.replace]: {
|
|
2443
|
+
(string: string, replaceValue: string): string;
|
|
2444
|
+
(string: string, replacer: (substring: string, ...args: any[]) => string): string;
|
|
2445
|
+
};
|
|
2446
|
+
[Symbol.search]: (string: string) => number;
|
|
2447
|
+
[Symbol.split]: (string: string, limit?: number | undefined) => string[];
|
|
2448
|
+
[Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
|
|
2449
|
+
} | ((params: {
|
|
2450
|
+
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
2451
|
+
}) => any) | null | undefined;
|
|
2452
2452
|
immediate?: boolean | undefined;
|
|
2453
2453
|
content?: string | undefined;
|
|
2454
2454
|
placeholder?: string | undefined;
|
|
@@ -2828,29 +2828,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2828
2828
|
autofocus?: string | undefined;
|
|
2829
2829
|
autoselect?: boolean | undefined;
|
|
2830
2830
|
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
2831
|
toString: () => string;
|
|
2855
2832
|
toDateString: () => string;
|
|
2856
2833
|
toTimeString: () => string;
|
|
@@ -2912,7 +2889,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2912
2889
|
(hint: "number"): number;
|
|
2913
2890
|
(hint: string): string | number;
|
|
2914
2891
|
};
|
|
2915
|
-
} |
|
|
2892
|
+
} | {
|
|
2893
|
+
exec: (string: string) => RegExpExecArray | null;
|
|
2894
|
+
test: (string: string) => boolean;
|
|
2895
|
+
readonly source: string;
|
|
2896
|
+
readonly global: boolean;
|
|
2897
|
+
readonly ignoreCase: boolean;
|
|
2898
|
+
readonly multiline: boolean;
|
|
2899
|
+
lastIndex: number;
|
|
2900
|
+
compile: (pattern: string, flags?: string | undefined) => RegExp;
|
|
2901
|
+
readonly flags: string;
|
|
2902
|
+
readonly sticky: boolean;
|
|
2903
|
+
readonly unicode: boolean;
|
|
2904
|
+
readonly dotAll: boolean;
|
|
2905
|
+
[Symbol.match]: (string: string) => RegExpMatchArray | null;
|
|
2906
|
+
[Symbol.replace]: {
|
|
2907
|
+
(string: string, replaceValue: string): string;
|
|
2908
|
+
(string: string, replacer: (substring: string, ...args: any[]) => string): string;
|
|
2909
|
+
};
|
|
2910
|
+
[Symbol.search]: (string: string) => number;
|
|
2911
|
+
[Symbol.split]: (string: string, limit?: number | undefined) => string[];
|
|
2912
|
+
[Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
|
|
2913
|
+
} | ((params: {
|
|
2914
|
+
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
2915
|
+
}) => any) | null | undefined;
|
|
2916
2916
|
immediate?: boolean | undefined;
|
|
2917
2917
|
content?: string | undefined;
|
|
2918
2918
|
placeholder?: string | undefined;
|
|
@@ -3131,29 +3131,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3131
3131
|
autofocus?: string | undefined;
|
|
3132
3132
|
autoselect?: boolean | undefined;
|
|
3133
3133
|
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
3134
|
toString: () => string;
|
|
3158
3135
|
toDateString: () => string;
|
|
3159
3136
|
toTimeString: () => string;
|
|
@@ -3215,7 +3192,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3215
3192
|
(hint: "number"): number;
|
|
3216
3193
|
(hint: string): string | number;
|
|
3217
3194
|
};
|
|
3218
|
-
} |
|
|
3195
|
+
} | {
|
|
3196
|
+
exec: (string: string) => RegExpExecArray | null;
|
|
3197
|
+
test: (string: string) => boolean;
|
|
3198
|
+
readonly source: string;
|
|
3199
|
+
readonly global: boolean;
|
|
3200
|
+
readonly ignoreCase: boolean;
|
|
3201
|
+
readonly multiline: boolean;
|
|
3202
|
+
lastIndex: number;
|
|
3203
|
+
compile: (pattern: string, flags?: string | undefined) => RegExp;
|
|
3204
|
+
readonly flags: string;
|
|
3205
|
+
readonly sticky: boolean;
|
|
3206
|
+
readonly unicode: boolean;
|
|
3207
|
+
readonly dotAll: boolean;
|
|
3208
|
+
[Symbol.match]: (string: string) => RegExpMatchArray | null;
|
|
3209
|
+
[Symbol.replace]: {
|
|
3210
|
+
(string: string, replaceValue: string): string;
|
|
3211
|
+
(string: string, replacer: (substring: string, ...args: any[]) => string): string;
|
|
3212
|
+
};
|
|
3213
|
+
[Symbol.search]: (string: string) => number;
|
|
3214
|
+
[Symbol.split]: (string: string, limit?: number | undefined) => string[];
|
|
3215
|
+
[Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
|
|
3216
|
+
} | ((params: {
|
|
3217
|
+
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
3218
|
+
}) => any) | null | undefined;
|
|
3219
3219
|
immediate?: boolean | undefined;
|
|
3220
3220
|
content?: string | undefined;
|
|
3221
3221
|
placeholder?: string | undefined;
|
|
@@ -3622,29 +3622,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3622
3622
|
autofocus?: string | undefined;
|
|
3623
3623
|
autoselect?: boolean | undefined;
|
|
3624
3624
|
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
3625
|
toString: () => string;
|
|
3649
3626
|
toDateString: () => string;
|
|
3650
3627
|
toTimeString: () => string;
|
|
@@ -3706,7 +3683,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3706
3683
|
(hint: "number"): number;
|
|
3707
3684
|
(hint: string): string | number;
|
|
3708
3685
|
};
|
|
3709
|
-
} |
|
|
3686
|
+
} | {
|
|
3687
|
+
exec: (string: string) => RegExpExecArray | null;
|
|
3688
|
+
test: (string: string) => boolean;
|
|
3689
|
+
readonly source: string;
|
|
3690
|
+
readonly global: boolean;
|
|
3691
|
+
readonly ignoreCase: boolean;
|
|
3692
|
+
readonly multiline: boolean;
|
|
3693
|
+
lastIndex: number;
|
|
3694
|
+
compile: (pattern: string, flags?: string | undefined) => RegExp;
|
|
3695
|
+
readonly flags: string;
|
|
3696
|
+
readonly sticky: boolean;
|
|
3697
|
+
readonly unicode: boolean;
|
|
3698
|
+
readonly dotAll: boolean;
|
|
3699
|
+
[Symbol.match]: (string: string) => RegExpMatchArray | null;
|
|
3700
|
+
[Symbol.replace]: {
|
|
3701
|
+
(string: string, replaceValue: string): string;
|
|
3702
|
+
(string: string, replacer: (substring: string, ...args: any[]) => string): string;
|
|
3703
|
+
};
|
|
3704
|
+
[Symbol.search]: (string: string) => number;
|
|
3705
|
+
[Symbol.split]: (string: string, limit?: number | undefined) => string[];
|
|
3706
|
+
[Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
|
|
3707
|
+
} | ((params: {
|
|
3708
|
+
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
3709
|
+
}) => any) | null | undefined;
|
|
3710
3710
|
immediate?: boolean | undefined;
|
|
3711
3711
|
content?: string | undefined;
|
|
3712
3712
|
placeholder?: string | undefined;
|
|
@@ -3981,29 +3981,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3981
3981
|
autofocus?: string | undefined;
|
|
3982
3982
|
autoselect?: boolean | undefined;
|
|
3983
3983
|
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
3984
|
toString: () => string;
|
|
4008
3985
|
toDateString: () => string;
|
|
4009
3986
|
toTimeString: () => string;
|
|
@@ -4065,7 +4042,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4065
4042
|
(hint: "number"): number;
|
|
4066
4043
|
(hint: string): string | number;
|
|
4067
4044
|
};
|
|
4068
|
-
} |
|
|
4045
|
+
} | {
|
|
4046
|
+
exec: (string: string) => RegExpExecArray | null;
|
|
4047
|
+
test: (string: string) => boolean;
|
|
4048
|
+
readonly source: string;
|
|
4049
|
+
readonly global: boolean;
|
|
4050
|
+
readonly ignoreCase: boolean;
|
|
4051
|
+
readonly multiline: boolean;
|
|
4052
|
+
lastIndex: number;
|
|
4053
|
+
compile: (pattern: string, flags?: string | undefined) => RegExp;
|
|
4054
|
+
readonly flags: string;
|
|
4055
|
+
readonly sticky: boolean;
|
|
4056
|
+
readonly unicode: boolean;
|
|
4057
|
+
readonly dotAll: boolean;
|
|
4058
|
+
[Symbol.match]: (string: string) => RegExpMatchArray | null;
|
|
4059
|
+
[Symbol.replace]: {
|
|
4060
|
+
(string: string, replaceValue: string): string;
|
|
4061
|
+
(string: string, replacer: (substring: string, ...args: any[]) => string): string;
|
|
4062
|
+
};
|
|
4063
|
+
[Symbol.search]: (string: string) => number;
|
|
4064
|
+
[Symbol.split]: (string: string, limit?: number | undefined) => string[];
|
|
4065
|
+
[Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
|
|
4066
|
+
} | ((params: {
|
|
4067
|
+
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
4068
|
+
}) => any) | null | undefined;
|
|
4069
4069
|
immediate?: boolean | undefined;
|
|
4070
4070
|
content?: string | undefined;
|
|
4071
4071
|
placeholder?: string | undefined;
|
|
@@ -40,8 +40,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
40
40
|
checkAll: import("vue").WritableComputedRef<boolean>;
|
|
41
41
|
indeterminate: import("vue").ComputedRef<boolean>;
|
|
42
42
|
containerStyleWithHeight: import("vue").ComputedRef<CSSProperties>;
|
|
43
|
-
|
|
43
|
+
confirm: () => void;
|
|
44
44
|
reset: () => void;
|
|
45
|
+
loading: import("vue").Ref<boolean>;
|
|
45
46
|
CancelRadio: import("vue").DefineComponent<{
|
|
46
47
|
currentValue: {};
|
|
47
48
|
cancelable: BooleanConstructor;
|
|
@@ -390,6 +391,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
390
391
|
readonly disabled: boolean | undefined;
|
|
391
392
|
readonly defaultValue: string | number | boolean | null;
|
|
392
393
|
}>;
|
|
394
|
+
NSpin: any;
|
|
393
395
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
394
396
|
payload: {
|
|
395
397
|
type: PropType<VxeColumnPropTypes.FilterSlotParams>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,inject as l,computed as a,ref as t,onDeactivated as u,
|
|
1
|
+
import{defineComponent as e,inject as l,computed as a,ref as t,onDeactivated as u,onMounted as i,toRaw as o,openBlock as r,createElementBlock as n,unref as v,createBlock as c,createCommentVNode as s,createElementVNode as d,createVNode as p,isRef as f,withCtx as h,mergeProps as m,normalizeProps as _,guardReactiveProps as y,Fragment as b,renderList as k,toDisplayString as g,createTextVNode as C,normalizeStyle as L}from"vue";import I from"../../../../../shared/components/CancelRadio/CancelRadio.js";import{keywordMatcher as w,widthAppend as D}from"../../../../../shared/utils/index.js";import{useVirtualList as S}from"@vueuse/core";import{isNumber as x,isString as U,isFunction as F,isEqual as R}from"lodash-es";import{NInput as W,NCheckbox as Y,NSpin as j,NCheckboxGroup as E,NRadioGroup as $,NButtonGroup as O,NButton as P}from"naive-ui";const V={class:"iho-table__filterWrapper"},q={key:1,class:"iho-table__filterCheckAllWrapper"},z={class:"iho-table__filterListItem"},A={class:"iho-table__filterListItem"},H=["title"],M=["title"],B={class:"iho-table__filterListItemContent"},G={class:"iho-table__filterFooter"};var J=e({__name:"filter",props:{payload:{type:Object,required:!0}},setup(e){const J=e,K=l("$xetable"),N=a((()=>{var e;return!!(null==(e=J.payload)?void 0:e.column.filterMultiple)})),Q=a((()=>{var e,l,a;return null!=(a=null==(l=null==(e=J.payload)?void 0:e.column)?void 0:l.filters)?a:[]})),T=a({get:()=>Q.value.reduce(((e,l)=>(l.checked&&e.push(l.value),e)),[]),set(e){if(!J.payload||!K)return;const l=K.reactData.filterStore.options||[];N.value?(l.forEach((l=>l._checked=e.includes(l.value))),K.checkFilterOptions()):l.forEach((l=>l._checked=l.value===e[0]));const{startIndex:a,endIndex:t}=K.internalData.scrollYStore;if(0===a&&1===t||K.reactData.scrollYLoad)return u();function u(){J.payload.$panel.confirmFilter(new CustomEvent("click"))}K.reactData.scrollYLoad=!0,u(),K.reactData.scrollYLoad=!1}}),X=t([...T.value]),Z=t("");function ee(){K&&(K.reactData.filterStore.visible=!1)}u(ee);const le=a((()=>{var e,l;if(!J.payload||!J.payload.column)return 10;const{filterCapacity:a}=null!=(l=null==(e=J.payload.column.editRender)?void 0:e.props)?l:{};return x(a)&&a>0?a:10})),ae=a((()=>Z.value?Q.value.filter((e=>!!`${e.label}`.includes(Z.value)||(U(e.data)?w(Z.value,e.data):void 0))):Q.value)),{list:te,containerProps:ue,wrapperProps:ie}=S(ae,{itemHeight:32,overscan:3}),oe=a({get:()=>ae.value.every((e=>X.value.includes(e.value))),set(e){X.value=e?[...new Set([...X.value,...ae.value.map((e=>e.value))])]:X.value.filter((e=>ae.value.every((l=>l.value!==e))))}}),re=a((()=>ae.value.some((e=>X.value.includes(e.value)))&&!oe.value)),ne=a({get:()=>X.value.length===Q.value.length&&0!==Q.value.length,set:e=>{X.value=e?Q.value.map((e=>e.value)):[]}}),ve=a((()=>!!X.value.length&&!ne.value)),ce=a((()=>({height:D(32*le.value)})));function se(){T.value=N.value?X.value:R(X.value[0],null)?[]:[X.value[0]],ee()}function de(){X.value=N.value?[]:[null]}const pe=t(!1);return i((async()=>{var e;if(!K)return;const l=null==(e=J.payload.column.editRender.props)?void 0:e.onFilterShow;if(F(l))try{pe.value=!0,await l(J.payload);const{filterStore:e}=K.reactData;o(e.options)!==o(Q.value)&&(e.options=Q.value)}finally{pe.value=!1}})),(e,l)=>(r(),n("section",V,[v(Q).length>5?(r(),c(v(W),{key:0,value:Z.value,"onUpdate:value":l[0]||(l[0]=e=>Z.value=e)},null,8,["value"])):s("v-if",!0),v(N)?(r(),n("div",q,[d("div",z,[p(v(Y),{label:"全选当前",checked:v(oe),"onUpdate:checked":l[1]||(l[1]=e=>f(oe)?oe.value=e:null),indeterminate:v(re)},null,8,["checked","indeterminate"])]),d("div",A,[p(v(Y),{label:"全选所有",checked:v(ne),"onUpdate:checked":l[2]||(l[2]=e=>f(ne)?ne.value=e:null),indeterminate:v(ve)},null,8,["checked","indeterminate"])])])):s("v-if",!0),p(v(j),{show:pe.value},{default:h((()=>[v(N)?(r(),c(v(E),{key:0,value:X.value,"onUpdate:value":l[3]||(l[3]=e=>X.value=e)},{default:h((()=>[d("section",m(v(ue),{style:v(ce),class:"iho-table__filterListWrapper"}),[d("section",_(y(v(ie))),[(r(!0),n(b,null,k(v(te),(e=>(r(),n("div",{class:"iho-table__filterListItem",key:e.data.value},[p(v(Y),{value:e.data.value},{default:h((()=>[d("div",{class:"iho-table__filterListItemContent",title:e.data.label},g(e.data.label),9,H)])),_:2},1032,["value"])])))),128))],16)],16)])),_:1},8,["value"])):(r(),c(v($),{key:1,value:X.value[0],"onUpdate:value":l[5]||(l[5]=e=>X.value[0]=e)},{default:h((()=>[d("section",m(v(ue),{style:v(ce),class:"iho-table__filterListWrapper"}),[d("section",_(y(v(ie))),[(r(!0),n(b,null,k(v(te),(e=>(r(),n("div",{class:"iho-table__filterListItem",key:e.data.value,title:e.data.label},[p(v(I),{value:e.data.value,currentValue:X.value[0],cancelable:"",onCancel:l[4]||(l[4]=e=>X.value=[null])},{default:h((()=>[d("div",B,g(e.data.label),1)])),_:2},1032,["value","currentValue"])],8,M)))),128))],16)],16)])),_:1},8,["value"]))])),_:1},8,["show"]),d("footer",G,[d("section",null,[v(N)?(r(),n(b,{key:0},[C(" 已选择 "),d("span",{style:L({color:"var(--c-primary-color)"})},g(X.value.length),5),C(" 项 ")],64)):s("v-if",!0)]),p(v(O),{size:"small"},{default:h((()=>[p(v(P),{onClick:de},{default:h((()=>[C("清空")])),_:1}),p(v(P),{onClick:ee},{default:h((()=>[C("取消")])),_:1}),p(v(P),{type:"primary",onClick:se},{default:h((()=>[C("确定")])),_:1})])),_:1})])]))}});export{J as default};
|
|
@@ -59,7 +59,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
59
59
|
} | {
|
|
60
60
|
style?: undefined;
|
|
61
61
|
}>;
|
|
62
|
-
__formattedValue: import("vue").WritableComputedRef<
|
|
62
|
+
__formattedValue: import("vue").WritableComputedRef<string | null>;
|
|
63
63
|
placeholder: any;
|
|
64
64
|
valueFormat: any;
|
|
65
65
|
timeConfig: AnyObject;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,useAttrs as l,inject as t,ref as a,computed as r,reactive as u,watch as o,nextTick as i,openBlock as n,createBlock as d,unref as c,withCtx as v,createVNode as m,mergeProps as s,isRef as f,createElementBlock as p,Fragment as h,renderList as y,createTextVNode as k,toDisplayString as b,createCommentVNode as w}from"vue";import{NPopover as _,NInput as g,NSpace as
|
|
1
|
+
import{defineComponent as e,useAttrs as l,inject as t,ref as a,computed as r,reactive as u,watch as o,nextTick as i,openBlock as n,createBlock as d,unref as c,withCtx as v,createVNode as m,mergeProps as s,isRef as f,createElementBlock as p,Fragment as h,renderList as y,createTextVNode as k,toDisplayString as b,createCommentVNode as w}from"vue";import{NPopover as _,NInput as g,NSpace as F,NScrollbar as V,NButton as C}from"naive-ui";import{useIhoTableFormEvent as x}from"../../../../utils/index.js";import D from"../../../../../../time-picker/index.js";import{parse as q,isValid as O,format as j,getHours as S,getMinutes as $,getSeconds as A}from"date-fns";var H=e({__name:"editTime",props:{formattedValue:{type:String},column:{type:Object,required:!0},row:{type:Object,required:!0},rowIndex:{type:Number,required:!0},shortcutOptions:{type:Array,default:()=>[]}},emits:["update:formattedValue","click"],setup(e,{emit:H}){const I=e,P=l(),R=t("$xetable"),{emitFormChangeWithParams:E}=x({...I,$table:R}),M=a(null),U=a(!1),z=a(),K=a(),N=r((()=>K.value&&L(K.value)?{style:"text-decoration: line-through"}:{})),T=r({get(){if(!K.value)return null;const e=q(K.value,G.valueFormat,new Date);return O(e)?j(e,G.valueFormat):I.formattedValue||null},set(e){J(e)}}),{placeholder:W="请选择",valueFormat:B="HH:mm"}=P,G=u({...P,placeholder:W,valueFormat:B,format:B});function J(e){if(K.value=e||"",e&&L(e))return;const l=I.formattedValue;l!==e&&(H("update:formattedValue",e),E({oldValue:l}))}function L(e){var l,t,a;const r=q(e,G.format,new Date),u=S(r),o=$(r),i=A(r),n=null==(l=G.isHourDisabled)?void 0:l.call(G,u),d=null==(t=G.isMinuteDisabled)?void 0:t.call(G,o,u),c=null==(a=G.isSecondDisabled)?void 0:a.call(G,i,o,u);return n||d||c}function Q(){[G.valueFormat.replace(/[^\w]/g,""),G.valueFormat].some((e=>{const l=q(K.value,e,new Date);if(!K.value||O(l)){return J(K.value?j(l,G.valueFormat):null),!0}return!1}))}function X(e){var l;const{key:t}=e;"Enter"===t&&(null==(l=M.value)||l.blur(),U.value=!1)}return o((()=>I.formattedValue),(e=>{if(!e)return"";K.value=e}),{immediate:!0}),o((()=>U.value),(async e=>{var l,t,a,r,u;e&&(await i(),null==(u=null==(r=null==(a=null==(t=null==(l=z.value)?void 0:l.$timePicker)?void 0:t.panelInstRef)?void 0:a.$el)?void 0:r.querySelectorAll(".n-time-picker-col"))||u.forEach((e=>{var l,t;return null==(t=null==(l=null==e?void 0:e.querySelector)?void 0:l.call(e,".n-time-picker-col__item--active"))?void 0:t.scrollIntoView()})))})),(l,t)=>(n(),d(c(_),{show:U.value,trigger:"click",showArrow:!1,placement:"bottom-start",style:{padding:"0"},onClickoutside:t[4]||(t[4]=()=>U.value=!1)},{trigger:v((()=>[m(c(g),{ref_key:"formRef",ref:M,clearable:"",placeholder:c(W),value:K.value,"onUpdate:value":t[0]||(t[0]=e=>K.value=e),valueModifiers:{trim:!0},"input-props":c(N),onClick:t[1]||(t[1]=()=>U.value=!0),onChange:Q,onKeydown:X},null,8,["placeholder","value","input-props"])])),default:v((()=>[m(c(F),null,{default:v((()=>[m(c(D),s({ref_key:"timePickerRef",ref:z,show:""},c(G),{class:"iho-table__time-picker",to:!1,"formatted-value":c(T),"onUpdate:formatted-value":t[2]||(t[2]=e=>f(T)?T.value=e:null),onConfirm:t[3]||(t[3]=()=>U.value=!1)}),null,16,["formatted-value"]),m(c(V),{class:"iho-table__scrollbar"},{default:v((()=>[e.shortcutOptions.length?(n(),d(c(F),{key:0,vertical:"",wrap:!1},{default:v((()=>[(n(!0),p(h,null,y(e.shortcutOptions,(e=>(n(),d(c(C),{size:"tiny",key:e,disabled:L(e),onClick:l=>function(e){J(e),U.value=!1}(e)},{default:v((()=>[k(b(e),1)])),_:2},1032,["disabled","onClick"])))),128))])),_:1})):w("v-if",!0)])),_:1})])),_:1})])),_:1},8,["show"]))}});export{H as default};
|