ztxkui 4.2.18-21 → 4.2.18-220
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/dist/App.js +315 -291
- package/dist/Demo.js +64 -43
- package/dist/DemoCom/BasicDemo.js +57 -56
- package/dist/DemoCom/CodeQueryDemo.js +3 -2
- package/dist/DemoCom/CollapseDemo.js +28 -27
- package/dist/DemoCom/DragSort.js +11 -10
- package/dist/DemoCom/FormDemo.js +36 -30
- package/dist/DemoCom/PrintContainerDemo.js +151 -150
- package/dist/DemoCom/PrintDemo.js +15 -14
- package/dist/DemoCom/SinaturesDemo.js +9 -8
- package/dist/DemoCom/SyhDemo.js +21 -20
- package/dist/DemoCom/TableAnalyse.js +34 -33
- package/dist/DemoCom/TableDemo.js +73 -69
- package/dist/DemoCom/TableDemo1.js +84 -34
- package/dist/DemoCom/TableDetail.d.ts +9 -0
- package/dist/DemoCom/TableDetail.js +259 -0
- package/dist/DemoCom/TestCom.js +22 -19
- package/dist/DemoCom/data.d.ts +110 -0
- package/dist/DemoCom/data.js +2308 -0
- package/dist/TableDemo/BasicTable.js +225 -25
- package/dist/TableDemo/EditableTable.js +146 -72
- package/dist/TableDemo/ModalTable.js +25 -24
- package/dist/TableDemo/ProEditableTable.js +30 -29
- package/dist/TableDemo/data.d.ts +34 -0
- package/dist/TableDemo/data.js +387 -10
- package/dist/TableDemo/index.js +3 -3
- package/dist/TreeDemo.js +8 -7
- package/dist/TreeSelectDemo.js +12 -8
- package/dist/UI/Form/index.d.ts +3 -0
- package/dist/UI/Form/index.js +347 -0
- package/dist/UI/Input/index.d.ts +17 -0
- package/dist/UI/Input/index.js +74 -0
- package/dist/UI/InputNumber/index.d.ts +3 -0
- package/dist/UI/InputNumber/index.js +45 -0
- package/dist/UI/OldForm/index.d.ts +9 -0
- package/dist/UI/OldForm/index.js +302 -0
- package/dist/UI/Select/EmpForQuitDemo.d.ts +15 -0
- package/dist/UI/Select/EmpForQuitDemo.js +120 -0
- package/dist/UI/Select/index.d.ts +10 -0
- package/dist/UI/Select/index.js +207 -0
- package/dist/UI/Table/BusinessListDemo.d.ts +15 -0
- package/dist/UI/Table/BusinessListDemo.js +227 -0
- package/dist/UI/Table/BusinessMemberDemo.d.ts +18 -0
- package/dist/UI/Table/BusinessMemberDemo.js +181 -0
- package/dist/UI/Table/index.d.ts +10 -0
- package/dist/UI/Table/index.js +850 -0
- package/dist/UI/TreeSelect/index.d.ts +3 -0
- package/dist/UI/TreeSelect/index.js +120 -0
- package/dist/UI/index.d.ts +2 -0
- package/dist/UI/index.js +34 -0
- package/dist/UploadDemo.js +27 -23
- package/dist/components/Button/button.d.ts +6 -0
- package/dist/components/Button/button.js +11 -4
- package/dist/components/Collapse/collapse.js +2 -1
- package/dist/components/DatePicker/data-picker.d.ts +3 -1
- package/dist/components/EnhanceSelect/index.d.ts +11 -1
- package/dist/components/EnhanceSelect/index.js +231 -49
- package/dist/components/EnhanceTree/index.js +4 -3
- package/dist/components/EnhanceTreeSelect/index.d.ts +5 -1
- package/dist/components/EnhanceTreeSelect/index.js +57 -7
- package/dist/components/Export/export.js +5 -4
- package/dist/components/Form/form.d.ts +11 -1
- package/dist/components/Form/form.js +5 -3
- package/dist/components/Input/input.d.ts +5 -3
- package/dist/components/Input/input.js +72 -3
- package/dist/components/InputNumber/input-number.js +3 -2
- package/dist/components/Layout/layout.d.ts +4 -4
- package/dist/components/Menu/menu.d.ts +1 -1
- package/dist/components/NumberCase/index.js +9 -7
- package/dist/components/Print/print.js +4 -3
- package/dist/components/PrintContainer/AttachPreviewModal.js +3 -2
- package/dist/components/PrintContainer/PrintModal.js +4 -3
- package/dist/components/PrintContainer/handle.d.ts +2 -4
- package/dist/components/PrintContainer/handle.js +3 -2
- package/dist/components/PrintContainer/lodop.js +2 -1
- package/dist/components/PrintContainer/print-container.js +74 -73
- package/dist/components/PrintContainer/service.js +5 -4
- package/dist/components/ProForm/hooks.d.ts +23 -0
- package/dist/components/ProForm/hooks.js +209 -0
- package/dist/components/ProForm/index.d.ts +9 -0
- package/dist/components/ProForm/index.js +168 -0
- package/dist/components/ProForm/interface.d.ts +200 -0
- package/dist/components/ProForm/interface.js +1 -0
- package/dist/components/ProForm/item.d.ts +13 -0
- package/dist/components/ProForm/item.js +222 -0
- package/dist/components/ProForm/items.d.ts +5 -0
- package/dist/components/ProForm/items.js +36 -0
- package/dist/components/ProForm/record-common-list.d.ts +18 -0
- package/dist/components/ProForm/record-common-list.js +83 -0
- package/dist/components/ProForm/search-drawer.d.ts +14 -0
- package/dist/components/ProForm/search-drawer.js +237 -0
- package/dist/components/ProForm/setting.d.ts +5 -0
- package/dist/components/ProForm/setting.js +12 -0
- package/dist/components/ProForm/useCommonSearch.d.ts +35 -0
- package/dist/components/ProForm/useCommonSearch.js +352 -0
- package/dist/components/ProFormList/index.d.ts +12 -0
- package/dist/components/ProFormList/index.js +34 -0
- package/dist/components/RangePicker/range-picker.js +5 -2
- package/dist/components/SortableCancel/sortable-cancel.d.ts +1 -0
- package/dist/components/SortableCancel/sortable-cancel.js +2 -2
- package/dist/components/Table/components/FillDown.js +2 -1
- package/dist/components/Table/components/FilterDropdown.d.ts +1 -0
- package/dist/components/Table/components/FilterDropdown.js +36 -12
- package/dist/components/Table/hooks/useColumns.d.ts +5 -0
- package/dist/components/Table/hooks/useColumns.js +396 -22
- package/dist/components/Table/hooks/useDropRef.js +2 -1
- package/dist/components/Table/hooks/useScuRfresh.d.ts +3 -0
- package/dist/components/Table/hooks/useScuRfresh.js +22 -0
- package/dist/components/Table/hooks/useSelectSubtotal.js +5 -1
- package/dist/components/Table/hooks/useVituralScrollBar.d.ts +10 -0
- package/dist/components/Table/hooks/useVituralScrollBar.js +234 -0
- package/dist/components/Table/index.d.ts +4 -0
- package/dist/components/Table/table-adddel-column.js +4 -3
- package/dist/components/Table/table-dynamic.d.ts +1 -0
- package/dist/components/Table/table-dynamic.js +447 -60
- package/dist/components/Table/table-enhance-cell.d.ts +3 -0
- package/dist/components/Table/table-enhance-cell.js +28 -8
- package/dist/components/Table/table-menu.d.ts +7 -0
- package/dist/components/Table/table-menu.js +359 -0
- package/dist/components/Table/table-resizable-title.js +1 -0
- package/dist/components/Table/table-sort.js +4 -3
- package/dist/components/Table/table.d.ts +16 -0
- package/dist/components/Table/table.js +241 -65
- package/dist/components/Table/utils/dom.js +2 -1
- package/dist/components/Table/utils/filterHandle.d.ts +1 -1
- package/dist/components/Table/utils/filterHandle.js +27 -12
- package/dist/components/Table/utils/getSummaryData.d.ts +1 -1
- package/dist/components/Table/utils/getSummaryData.js +279 -24
- package/dist/components/Table/utils/shallowEqual.js +2 -1
- package/dist/components/Table/utils/validate.js +25 -6
- package/dist/components/Tabs/tabs.d.ts +2 -0
- package/dist/components/Tabs/tabs.js +3 -1
- package/dist/components/TranslationButton/DownFile.d.ts +7 -0
- package/dist/components/TranslationButton/DownFile.js +95 -0
- package/dist/components/TranslationButton/PreviewFile.d.ts +5 -0
- package/dist/components/TranslationButton/PreviewFile.js +73 -0
- package/dist/components/TranslationButton/TranslationButton.d.ts +34 -0
- package/dist/components/TranslationButton/TranslationButton.js +245 -0
- package/dist/components/TranslationButton/hooks.d.ts +8 -0
- package/dist/components/TranslationButton/hooks.js +139 -0
- package/dist/components/TranslationButton/index.d.ts +4 -0
- package/dist/components/TranslationButton/index.js +4 -0
- package/dist/components/TreeSelect/index.d.ts +19 -0
- package/dist/components/TreeSelect/index.js +88 -0
- package/dist/components/Upload/upload-table.js +31 -26
- package/dist/components/Upload/upload.d.ts +20 -1
- package/dist/components/Upload/upload.js +172 -27
- package/dist/components/Upload/utils.d.ts +9 -2
- package/dist/components/Upload/utils.js +153 -38
- package/dist/components/UploadCustom/hooks/useDg.d.ts +6 -0
- package/dist/components/UploadCustom/hooks/useDg.js +55 -0
- package/dist/components/UploadSingle/upload-single.js +5 -4
- package/dist/components/Watermark/index.d.ts +2 -0
- package/dist/components/Watermark/index.js +2 -0
- package/dist/components/Watermark/interface.d.ts +20 -0
- package/dist/components/Watermark/interface.js +1 -0
- package/dist/components/Watermark/utils.d.ts +1 -0
- package/dist/components/Watermark/utils.js +70 -0
- package/dist/components/Watermark/water.d.ts +50 -0
- package/dist/components/Watermark/water.js +66 -0
- package/dist/components/Watermark/watermark-div.d.ts +4 -0
- package/dist/components/Watermark/watermark-div.js +41 -0
- package/dist/components/Watermark/watermark-shadow.d.ts +6 -0
- package/dist/components/Watermark/watermark-shadow.js +116 -0
- package/dist/components/Watermark/watermark.d.ts +3 -0
- package/dist/components/Watermark/watermark.js +102 -0
- package/dist/components/WorkflowPrintContainer/component/Gragh/Gragh.d.ts +9 -0
- package/dist/components/WorkflowPrintContainer/component/Gragh/Gragh.js +63 -0
- package/dist/components/WorkflowPrintContainer/component/Header.d.ts +12 -0
- package/dist/components/WorkflowPrintContainer/component/Header.js +109 -0
- package/dist/components/WorkflowPrintContainer/component/ProcessDetail.d.ts +18 -0
- package/dist/components/WorkflowPrintContainer/component/ProcessDetail.js +243 -0
- package/dist/components/WorkflowPrintContainer/component/Upload/index.d.ts +20 -0
- package/dist/components/WorkflowPrintContainer/component/Upload/index.js +59 -0
- package/dist/components/WorkflowPrintContainer/component/association/component/TableList.d.ts +10 -0
- package/dist/components/WorkflowPrintContainer/component/association/component/TableList.js +75 -0
- package/dist/components/WorkflowPrintContainer/component/association/index.d.ts +9 -0
- package/dist/components/WorkflowPrintContainer/component/association/index.js +92 -0
- package/dist/components/WorkflowPrintContainer/component/attention/component/TableList.d.ts +9 -0
- package/dist/components/WorkflowPrintContainer/component/attention/component/TableList.js +38 -0
- package/dist/components/WorkflowPrintContainer/component/attention/index.d.ts +10 -0
- package/dist/components/WorkflowPrintContainer/component/attention/index.js +95 -0
- package/dist/components/WorkflowPrintContainer/component/audit/component/TableList.d.ts +8 -0
- package/dist/components/WorkflowPrintContainer/component/audit/component/TableList.js +53 -0
- package/dist/components/WorkflowPrintContainer/component/audit/index.d.ts +7 -0
- package/dist/components/WorkflowPrintContainer/component/audit/index.js +88 -0
- package/dist/components/WorkflowPrintContainer/component/previewTable/component/TableList.d.ts +9 -0
- package/dist/components/WorkflowPrintContainer/component/previewTable/component/TableList.js +53 -0
- package/dist/components/WorkflowPrintContainer/component/previewTable/index.d.ts +11 -0
- package/dist/components/WorkflowPrintContainer/component/previewTable/index.js +60 -0
- package/dist/components/WorkflowPrintContainer/component/send/component/TableList.d.ts +9 -0
- package/dist/components/WorkflowPrintContainer/component/send/component/TableList.js +50 -0
- package/dist/components/WorkflowPrintContainer/component/send/index.d.ts +9 -0
- package/dist/components/WorkflowPrintContainer/component/send/index.js +92 -0
- package/dist/components/WorkflowPrintContainer/component/trail/component/TableList.d.ts +12 -0
- package/dist/components/WorkflowPrintContainer/component/trail/component/TableList.js +282 -0
- package/dist/components/WorkflowPrintContainer/component/trail/index.d.ts +11 -0
- package/dist/components/WorkflowPrintContainer/component/trail/index.js +56 -0
- package/dist/components/WorkflowPrintContainer/images.d.ts +2 -0
- package/dist/components/WorkflowPrintContainer/images.js +2 -0
- package/dist/components/WorkflowPrintContainer/index.d.ts +2 -0
- package/dist/components/WorkflowPrintContainer/index.js +2 -0
- package/dist/components/WorkflowPrintContainer/service.d.ts +14 -0
- package/dist/components/WorkflowPrintContainer/service.js +101 -0
- package/dist/components/WorkflowPrintContainer/usePagination.d.ts +14 -0
- package/dist/components/WorkflowPrintContainer/usePagination.js +22 -0
- package/dist/components/WorkflowPrintContainer/workflow-print-container.d.ts +100 -0
- package/dist/components/WorkflowPrintContainer/workflow-print-container.js +236 -0
- package/dist/components/ZtIcon/index.js +2 -0
- package/dist/components/business/Analyse/index.js +12 -11
- package/dist/components/business/CodeQuery/component/SearchForm.js +3 -2
- package/dist/components/business/CodeQuery/component/TableList.js +5 -4
- package/dist/components/business/CodeQuery/hooks.js +2 -1
- package/dist/components/business/CodeQuery/index.js +2 -1
- package/dist/components/business/Common/UserForgetPassword/index.js +36 -28
- package/dist/components/business/Common/UserInfo/component/MakingForm.js +11 -10
- package/dist/components/business/Common/UserInfo/index.js +5 -4
- package/dist/components/business/Common/UserPassword/index.js +14 -11
- package/dist/components/business/Common/validatePassword.d.ts +1 -1
- package/dist/components/business/Common/validatePassword.js +17 -7
- package/dist/components/business/DetailCard/index.js +7 -6
- package/dist/components/business/DetailHeader/index.js +7 -6
- package/dist/components/business/DetailList/index.js +5 -4
- package/dist/components/business/DgColumns/index.js +12 -11
- package/dist/components/business/ExportButton/index.js +6 -5
- package/dist/components/business/Footer/index.js +4 -1
- package/dist/components/business/GridList/item.d.ts +1 -1
- package/dist/components/business/List/item.d.ts +1 -1
- package/dist/components/business/NewList/item.d.ts +1 -1
- package/dist/components/business/NewList/item.js +1 -1
- package/dist/components/business/OperationBtnGroup/index.js +17 -16
- package/dist/components/business/SearchContainer/hooks/useDynamic.d.ts +2 -1
- package/dist/components/business/SearchContainer/hooks/useDynamic.js +6 -3
- package/dist/components/business/SearchContainer/hooks/useToggle.d.ts +1 -1
- package/dist/components/business/SearchContainer/hooks/useToggle.js +31 -12
- package/dist/components/business/SearchContainer/record-common-item.d.ts +14 -0
- package/dist/components/business/SearchContainer/record-common-item.js +83 -0
- package/dist/components/business/SearchContainer/record-common-list.d.ts +3 -0
- package/dist/components/business/SearchContainer/record-common-list.js +95 -0
- package/dist/components/business/SearchContainer/search-container.d.ts +22 -0
- package/dist/components/business/SearchContainer/search-container.js +66 -3
- package/dist/components/business/SearchContainer/search-drawer.d.ts +1 -0
- package/dist/components/business/SearchContainer/search-drawer.js +167 -13
- package/dist/components/business/SearchContainer/search-item.js +48 -5
- package/dist/components/business/SearchContainer/search-left.d.ts +8 -0
- package/dist/components/business/SearchContainer/search-left.js +105 -68
- package/dist/components/business/SearchContainer/search-right.d.ts +4 -0
- package/dist/components/business/SearchContainer/search-right.js +62 -5
- package/dist/components/business/SearchContainer/useRecordCommonInit.d.ts +18 -0
- package/dist/components/business/SearchContainer/useRecordCommonInit.js +258 -0
- package/dist/components/business/SearchContainer/useRecordCommonSearch.d.ts +8 -0
- package/dist/components/business/SearchContainer/useRecordCommonSearch.js +145 -0
- package/dist/components/business/SearchContainer/useRecordCommonSearchContext.d.ts +37 -0
- package/dist/components/business/SearchContainer/useRecordCommonSearchContext.js +8 -0
- package/dist/components/business/SearchContainer/useTemplate.d.ts +20 -0
- package/dist/components/business/SearchContainer/useTemplate.js +347 -0
- package/dist/components/business/Signatures/components/AttachOperation.js +7 -6
- package/dist/components/business/Signatures/components/CodeModal.d.ts +3 -0
- package/dist/components/business/Signatures/components/CodeModal.js +157 -0
- package/dist/components/business/Signatures/components/CompareResult.js +7 -6
- package/dist/components/business/Signatures/components/DetailTable.js +37 -34
- package/dist/components/business/Signatures/components/QunjSeal.js +5 -4
- package/dist/components/business/Signatures/components/SealCheckbox.js +3 -2
- package/dist/components/business/Signatures/components/TemplateAttach.js +2 -1
- package/dist/components/business/Signatures/index.js +64 -53
- package/dist/components/business/SortList/sort-drawer.js +5 -4
- package/dist/components/business/Template/index.js +11 -10
- package/dist/components/electron-signatures/content.d.ts +9 -0
- package/dist/components/electron-signatures/content.js +1146 -0
- package/dist/components/electron-signatures/demoComponents/coUseDetail.d.ts +8 -0
- package/dist/components/electron-signatures/demoComponents/coUseDetail.js +255 -0
- package/dist/components/electron-signatures/demoComponents/data.d.ts +58 -0
- package/dist/components/electron-signatures/demoComponents/data.js +1307 -0
- package/dist/components/electron-signatures/demoComponents/detail.d.ts +6 -0
- package/dist/components/electron-signatures/demoComponents/detail.js +283 -0
- package/dist/components/electron-signatures/demoComponents/index.d.ts +2 -0
- package/dist/components/electron-signatures/demoComponents/index.js +30 -0
- package/dist/components/electron-signatures/demoComponents/jgqrd.d.ts +6 -0
- package/dist/components/electron-signatures/demoComponents/jgqrd.js +135 -0
- package/dist/components/electron-signatures/demoComponents/making.d.ts +6 -0
- package/dist/components/electron-signatures/demoComponents/making.js +211 -0
- package/dist/components/electron-signatures/demoComponents/makingData.d.ts +675 -0
- package/dist/components/electron-signatures/demoComponents/makingData.js +1178 -0
- package/dist/components/electron-signatures/demoComponents/newDetail.d.ts +6 -0
- package/dist/components/electron-signatures/demoComponents/newDetail.js +283 -0
- package/dist/components/electron-signatures/demoComponents/preview.d.ts +3 -0
- package/dist/components/electron-signatures/demoComponents/preview.js +9 -0
- package/dist/components/electron-signatures/demoComponents/singleQjDetail.d.ts +6 -0
- package/dist/components/electron-signatures/demoComponents/singleQjDetail.js +530 -0
- package/dist/components/electron-signatures/demoComponents/singleQjMaking.d.ts +6 -0
- package/dist/components/electron-signatures/demoComponents/singleQjMaking.js +219 -0
- package/dist/components/electron-signatures/demoComponents/test.d.ts +6 -0
- package/dist/components/electron-signatures/demoComponents/test.js +119 -0
- package/dist/components/electron-signatures/dgComponents/contract-comparison.d.ts +39 -0
- package/dist/components/electron-signatures/dgComponents/contract-comparison.js +53 -0
- package/dist/components/electron-signatures/dgComponents/file-comparison-btn.d.ts +11 -0
- package/dist/components/electron-signatures/dgComponents/file-comparison-btn.js +180 -0
- package/dist/components/electron-signatures/dgComponents/new-contract-comparison.d.ts +45 -0
- package/dist/components/electron-signatures/dgComponents/new-contract-comparison.js +68 -0
- package/dist/components/electron-signatures/dgComponents/useContractColumns.d.ts +21 -0
- package/dist/components/electron-signatures/dgComponents/useContractColumns.js +171 -0
- package/dist/components/electron-signatures/electron-signatures-fragment.d.ts +8 -0
- package/dist/components/electron-signatures/electron-signatures-fragment.js +392 -0
- package/dist/components/electron-signatures/electronComponents/electron-seal-batch-download.d.ts +52 -0
- package/dist/components/electron-signatures/electronComponents/electron-seal-batch-download.js +509 -0
- package/dist/components/electron-signatures/electronComponents/electron-seal-detail.d.ts +8 -0
- package/dist/components/electron-signatures/electronComponents/electron-seal-detail.js +59 -0
- package/dist/components/electron-signatures/electronComponents/electron-seal-download.d.ts +16 -0
- package/dist/components/electron-signatures/electronComponents/electron-seal-download.js +85 -0
- package/dist/components/electron-signatures/electronComponents/electron-seal-firstLevelPerson.d.ts +9 -0
- package/dist/components/electron-signatures/electronComponents/electron-seal-firstLevelPerson.js +16 -0
- package/dist/components/electron-signatures/electronComponents/electron-seal-item-detail.d.ts +15 -0
- package/dist/components/electron-signatures/electronComponents/electron-seal-item-detail.js +16 -0
- package/dist/components/electron-signatures/electronComponents/electron-seal-item.d.ts +20 -0
- package/dist/components/electron-signatures/electronComponents/electron-seal-item.js +47 -0
- package/dist/components/electron-signatures/electronComponents/electron-seal-list.d.ts +11 -0
- package/dist/components/electron-signatures/electronComponents/electron-seal-list.js +191 -0
- package/dist/components/electron-signatures/electronComponents/electron-seal-personal-sign.d.ts +35 -0
- package/dist/components/electron-signatures/electronComponents/electron-seal-personal-sign.js +39 -0
- package/dist/components/electron-signatures/electronComponents/electron-seal-setting.d.ts +15 -0
- package/dist/components/electron-signatures/electronComponents/electron-seal-setting.js +10 -0
- package/dist/components/electron-signatures/electronComponents/last-qys-modal.d.ts +7 -0
- package/dist/components/electron-signatures/electronComponents/last-qys-modal.js +42 -0
- package/dist/components/electron-signatures/electronComponents/useCheckedSealInfoList.d.ts +3 -0
- package/dist/components/electron-signatures/electronComponents/useCheckedSealInfoList.js +43 -0
- package/dist/components/electron-signatures/electronComponents/useElectronColumns.d.ts +30 -0
- package/dist/components/electron-signatures/electronComponents/useElectronColumns.js +398 -0
- package/dist/components/electron-signatures/electronComponents/useFetchElectronData.d.ts +24 -0
- package/dist/components/electron-signatures/electronComponents/useFetchElectronData.js +254 -0
- package/dist/components/electron-signatures/electronComponents/useGetDeptInfo.d.ts +3 -0
- package/dist/components/electron-signatures/electronComponents/useGetDeptInfo.js +35 -0
- package/dist/components/electron-signatures/fileComponents/file-operation.d.ts +7 -0
- package/dist/components/electron-signatures/fileComponents/file-operation.js +67 -0
- package/dist/components/electron-signatures/fileComponents/file-type-select.d.ts +12 -0
- package/dist/components/electron-signatures/fileComponents/file-type-select.js +10 -0
- package/dist/components/electron-signatures/fileComponents/file-upload.d.ts +11 -0
- package/dist/components/electron-signatures/fileComponents/file-upload.js +146 -0
- package/dist/components/electron-signatures/fileComponents/fileUtils.d.ts +17 -0
- package/dist/components/electron-signatures/fileComponents/fileUtils.js +36 -0
- package/dist/components/electron-signatures/fileComponents/new-file-operation.d.ts +10 -0
- package/dist/components/electron-signatures/fileComponents/new-file-operation.js +73 -0
- package/dist/components/electron-signatures/fileComponents/useFetchFileTypeData.d.ts +13 -0
- package/dist/components/electron-signatures/fileComponents/useFetchFileTypeData.js +43 -0
- package/dist/components/electron-signatures/fileComponents/useFileColumns.d.ts +38 -0
- package/dist/components/electron-signatures/fileComponents/useFileColumns.js +329 -0
- package/dist/components/electron-signatures/fileComponents/useFileTypeColumns.d.ts +19 -0
- package/dist/components/electron-signatures/fileComponents/useFileTypeColumns.js +72 -0
- package/dist/components/electron-signatures/hooks/useGetQjVerifyCode.d.ts +30 -0
- package/dist/components/electron-signatures/hooks/useGetQjVerifyCode.js +132 -0
- package/dist/components/electron-signatures/hooks/useMergeRecords.d.ts +17 -0
- package/dist/components/electron-signatures/hooks/useMergeRecords.js +49 -0
- package/dist/components/electron-signatures/hooks/useParseElectronListData.d.ts +49 -0
- package/dist/components/electron-signatures/hooks/useParseElectronListData.js +111 -0
- package/dist/components/electron-signatures/hooks/useParseElectronSetting.d.ts +111 -0
- package/dist/components/electron-signatures/hooks/useParseElectronSetting.js +436 -0
- package/dist/components/electron-signatures/hooks/useParseIsNeedElectronData.d.ts +40 -0
- package/dist/components/electron-signatures/hooks/useParseIsNeedElectronData.js +139 -0
- package/dist/components/electron-signatures/hooks/useParseIsNeedQunjData.d.ts +36 -0
- package/dist/components/electron-signatures/hooks/useParseIsNeedQunjData.js +48 -0
- package/dist/components/electron-signatures/hooks/useParseQunjListData.d.ts +56 -0
- package/dist/components/electron-signatures/hooks/useParseQunjListData.js +204 -0
- package/dist/components/electron-signatures/hooks/useParseQunjSingleData.d.ts +34 -0
- package/dist/components/electron-signatures/hooks/useParseQunjSingleData.js +110 -0
- package/dist/components/electron-signatures/hooks/useParseRecords.d.ts +65 -0
- package/dist/components/electron-signatures/hooks/useParseRecords.js +165 -0
- package/dist/components/electron-signatures/index.d.ts +15 -0
- package/dist/components/electron-signatures/index.js +63 -0
- package/dist/components/electron-signatures/interface.d.ts +865 -0
- package/dist/components/electron-signatures/interface.js +57 -0
- package/dist/components/electron-signatures/qunjComponents/qunj-apply.d.ts +6 -0
- package/dist/components/electron-signatures/qunjComponents/qunj-apply.js +8 -0
- package/dist/components/electron-signatures/qunjComponents/qunj-check.d.ts +21 -0
- package/dist/components/electron-signatures/qunjComponents/qunj-check.js +41 -0
- package/dist/components/electron-signatures/qunjComponents/qunj-detail.d.ts +35 -0
- package/dist/components/electron-signatures/qunjComponents/qunj-detail.js +267 -0
- package/dist/components/electron-signatures/qunjComponents/qunj-list.d.ts +24 -0
- package/dist/components/electron-signatures/qunjComponents/qunj-list.js +355 -0
- package/dist/components/electron-signatures/qunjComponents/useFetchQunjData.d.ts +20 -0
- package/dist/components/electron-signatures/qunjComponents/useFetchQunjData.js +66 -0
- package/dist/components/electron-signatures/qunjComponents/useQunjColumns.d.ts +36 -0
- package/dist/components/electron-signatures/qunjComponents/useQunjColumns.js +321 -0
- package/dist/components/electron-signatures/translateComponents/TranslateButton.d.ts +10 -0
- package/dist/components/electron-signatures/translateComponents/TranslateButton.js +44 -0
- package/dist/components/electron-signatures/translateComponents/useTranslateCom.d.ts +22 -0
- package/dist/components/electron-signatures/translateComponents/useTranslateCom.js +50 -0
- package/dist/components/electron-signatures/utils.d.ts +26 -0
- package/dist/components/electron-signatures/utils.js +67 -0
- package/dist/components/utils/MyStorage.d.ts +36 -0
- package/dist/components/utils/MyStorage.js +120 -0
- package/dist/components/utils/ZtxkContext.d.ts +67 -0
- package/dist/components/utils/ZtxkContext.js +20 -0
- package/dist/components/utils/checkSealCoUse.d.ts +16 -0
- package/dist/components/utils/checkSealCoUse.js +83 -0
- package/dist/components/utils/fetch.d.ts +10 -0
- package/dist/components/utils/fetch.js +119 -0
- package/dist/components/utils/index.d.ts +9 -0
- package/dist/components/utils/index.js +11 -0
- package/dist/components/utils/processNumber.d.ts +12 -0
- package/dist/components/utils/processNumber.js +106 -0
- package/dist/components/utils/upload.js +6 -3
- package/dist/components/utils/useBaseContext.d.ts +23 -0
- package/dist/components/utils/useBaseContext.js +31 -0
- package/dist/components/utils/useMemoizedFn.d.ts +4 -0
- package/dist/components/utils/useMemoizedFn.js +19 -0
- package/dist/components/utils/usePrevious.d.ts +3 -0
- package/dist/components/utils/usePrevious.js +13 -0
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/dist/index.css +2205 -58
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +12 -1
- package/dist/index.js +255 -86
- package/dist/locales/en-US.json +828 -0
- package/dist/locales/zh-CN.json +828 -0
- package/dist/request.js +7 -6
- package/package.json +13 -4
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface IVituralScrollBarOptions {
|
|
3
|
+
isOpen?: boolean;
|
|
4
|
+
scrollY?: any;
|
|
5
|
+
scrollX?: any;
|
|
6
|
+
}
|
|
7
|
+
export default function useVituralScrollBar(containerDomRef: any, options: IVituralScrollBarOptions): {
|
|
8
|
+
createMiniMap: JSX.Element;
|
|
9
|
+
};
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
import i18next from 'ztxkutils/dist/i18next';
|
|
2
|
+
import React, { useEffect, useMemo, useRef } from 'react';
|
|
3
|
+
import { Alert } from 'antd';
|
|
4
|
+
import throttle from 'lodash/throttle';
|
|
5
|
+
var miniMapContainerWidth = 100;
|
|
6
|
+
var miniMapContainerHeight = 50;
|
|
7
|
+
export default function useVituralScrollBar(containerDomRef, options) {
|
|
8
|
+
var isOpen = options.isOpen, scrollY = options.scrollY;
|
|
9
|
+
var alertRef = useRef(null);
|
|
10
|
+
var miniMapContainerRef = useRef(null);
|
|
11
|
+
var miniMapThumbRef = useRef(null);
|
|
12
|
+
var isFirstRef = useRef(false);
|
|
13
|
+
// 创建迷你地图,用于拖动滚动条位置
|
|
14
|
+
var createMiniMap = useMemo(function () {
|
|
15
|
+
if (!isOpen) {
|
|
16
|
+
return null;
|
|
17
|
+
}
|
|
18
|
+
return (React.createElement(React.Fragment, null,
|
|
19
|
+
React.createElement("div", { id: "minimap-container", ref: miniMapContainerRef, style: {
|
|
20
|
+
position: 'absolute',
|
|
21
|
+
width: miniMapContainerWidth,
|
|
22
|
+
height: miniMapContainerHeight,
|
|
23
|
+
backgroundColor: '#e1d8d8',
|
|
24
|
+
top: '5px',
|
|
25
|
+
right: '20px',
|
|
26
|
+
zIndex: 999,
|
|
27
|
+
opacity: 0.75,
|
|
28
|
+
display: 'none',
|
|
29
|
+
cursor: 'move',
|
|
30
|
+
} },
|
|
31
|
+
React.createElement("div", { ref: alertRef, style: {
|
|
32
|
+
display: 'none',
|
|
33
|
+
position: 'absolute',
|
|
34
|
+
top: miniMapContainerHeight,
|
|
35
|
+
left: -miniMapContainerWidth,
|
|
36
|
+
width: 2 * miniMapContainerWidth,
|
|
37
|
+
} },
|
|
38
|
+
React.createElement(Alert, { message: i18next.t('试试拖动小蓝块滚动表格'), type: "info", closable: true, style: { padding: '4px 8px', fontSize: '13px' } })),
|
|
39
|
+
React.createElement("div", { id: "minimap-thumb", ref: miniMapThumbRef, style: {
|
|
40
|
+
position: 'absolute',
|
|
41
|
+
width: 20,
|
|
42
|
+
height: 10,
|
|
43
|
+
backgroundColor: '#1566d2',
|
|
44
|
+
cursor: 'pointer',
|
|
45
|
+
}, title: i18next.t('拖动我,可滚动表格!') }))));
|
|
46
|
+
}, [isOpen]);
|
|
47
|
+
useEffect(function () {
|
|
48
|
+
var containerDom = containerDomRef.current;
|
|
49
|
+
var miniMapContainerDom = miniMapContainerRef.current;
|
|
50
|
+
var minimapThumbDom = miniMapThumbRef.current;
|
|
51
|
+
if (!isOpen) {
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
if (!containerDom) {
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
// 监听容器滚动,更新迷你地图位置
|
|
58
|
+
// 当没有配置scrollY时,滚动容器是 ant-table-content
|
|
59
|
+
var scrollTableSelector = scrollY
|
|
60
|
+
? '.ant-table-body'
|
|
61
|
+
: '.ant-table-content';
|
|
62
|
+
var scrollTableBody = containerDom.querySelector(scrollTableSelector);
|
|
63
|
+
if (!scrollTableBody) {
|
|
64
|
+
return;
|
|
65
|
+
}
|
|
66
|
+
// 更新迷你地图的位置和大小
|
|
67
|
+
var updateMiniMap = throttle(function () {
|
|
68
|
+
if (!miniMapContainerRef.current) {
|
|
69
|
+
console.error(i18next.t('请将迷你地图放置在容器中...'));
|
|
70
|
+
return;
|
|
71
|
+
}
|
|
72
|
+
var scrollTableBody = containerDom.querySelector(scrollTableSelector);
|
|
73
|
+
if (!scrollTableBody) {
|
|
74
|
+
return;
|
|
75
|
+
}
|
|
76
|
+
var clientWidth = scrollTableBody.clientWidth;
|
|
77
|
+
var clientHeight = scrollTableBody.clientHeight;
|
|
78
|
+
var scrollWidth = scrollTableBody.scrollWidth;
|
|
79
|
+
var scrollHeight = scrollTableBody.scrollHeight;
|
|
80
|
+
var minimapThumbDom = miniMapThumbRef.current;
|
|
81
|
+
// 计算缩放比例
|
|
82
|
+
var scaleX = miniMapContainerWidth / scrollWidth;
|
|
83
|
+
var scaleY = miniMapContainerHeight / scrollHeight;
|
|
84
|
+
// 设置迷你地图的尺寸
|
|
85
|
+
if (!minimapThumbDom) {
|
|
86
|
+
return;
|
|
87
|
+
}
|
|
88
|
+
minimapThumbDom.style.width = clientWidth * scaleX + 'px';
|
|
89
|
+
minimapThumbDom.style.height = clientHeight * scaleY + 'px';
|
|
90
|
+
// 更新迷你地图位置
|
|
91
|
+
updateThumbPosition();
|
|
92
|
+
}, 50);
|
|
93
|
+
// 更新迷你地图拇指的位置
|
|
94
|
+
var updateThumbPosition = throttle(function () {
|
|
95
|
+
var scrollTableBody = containerDom.querySelector(scrollTableSelector);
|
|
96
|
+
if (!scrollTableBody) {
|
|
97
|
+
return;
|
|
98
|
+
}
|
|
99
|
+
var scrollTop = scrollTableBody.scrollTop;
|
|
100
|
+
var scrollLeft = scrollTableBody.scrollLeft;
|
|
101
|
+
var scrollHeight = scrollTableBody.scrollHeight;
|
|
102
|
+
var scrollWidth = scrollTableBody.scrollWidth;
|
|
103
|
+
var clientHeight = scrollTableBody.clientHeight;
|
|
104
|
+
var clientWidth = scrollTableBody.clientWidth;
|
|
105
|
+
var miniMapContainerDom = miniMapContainerRef.current;
|
|
106
|
+
var minimapThumbDom = miniMapThumbRef.current;
|
|
107
|
+
if (!minimapThumbDom || !miniMapContainerDom) {
|
|
108
|
+
return;
|
|
109
|
+
}
|
|
110
|
+
var thumbHeight = parseInt(minimapThumbDom.style.height, 10);
|
|
111
|
+
var thumbWidth = parseInt(minimapThumbDom.style.width, 10);
|
|
112
|
+
var top = (scrollTop / (scrollHeight - clientHeight)) *
|
|
113
|
+
(miniMapContainerDom.offsetHeight - thumbHeight);
|
|
114
|
+
var left = (scrollLeft / (scrollWidth - clientWidth)) *
|
|
115
|
+
(miniMapContainerDom.offsetWidth - thumbWidth);
|
|
116
|
+
minimapThumbDom.style.top = top + 'px';
|
|
117
|
+
minimapThumbDom.style.left = left + 'px';
|
|
118
|
+
}, 50);
|
|
119
|
+
// 鼠标进入时,显示当前可滚动区域的滚动条信息
|
|
120
|
+
var mouseenterFn = function () {
|
|
121
|
+
if (!miniMapContainerDom) {
|
|
122
|
+
return;
|
|
123
|
+
}
|
|
124
|
+
miniMapContainerDom.style.display = 'block';
|
|
125
|
+
if (!isFirstRef.current) {
|
|
126
|
+
if (alertRef.current) {
|
|
127
|
+
isFirstRef.current = true;
|
|
128
|
+
alertRef.current.style.display = 'block';
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
updateMiniMap();
|
|
132
|
+
};
|
|
133
|
+
// 鼠标进入时,移除当前可滚动区域的滚动条信息
|
|
134
|
+
var mouseleaveFn = function () {
|
|
135
|
+
if (!miniMapContainerDom) {
|
|
136
|
+
return;
|
|
137
|
+
}
|
|
138
|
+
miniMapContainerDom.style.display = 'none';
|
|
139
|
+
};
|
|
140
|
+
containerDom.addEventListener('mouseenter', mouseenterFn);
|
|
141
|
+
containerDom.addEventListener('mouseleave', mouseleaveFn);
|
|
142
|
+
scrollTableBody.addEventListener('scroll', updateThumbPosition);
|
|
143
|
+
// 迷你地图拇指拖拽事件
|
|
144
|
+
var isDragging = false;
|
|
145
|
+
var minimapThumbMousedownFn = function (e) {
|
|
146
|
+
isDragging = true;
|
|
147
|
+
e.preventDefault(); // 阻止默认行为
|
|
148
|
+
e.stopPropagation(); // 阻止冒泡
|
|
149
|
+
};
|
|
150
|
+
minimapThumbDom.addEventListener('mousedown', minimapThumbMousedownFn);
|
|
151
|
+
var windowMousemoveFn = throttle(function (e) {
|
|
152
|
+
if (isDragging) {
|
|
153
|
+
var rect = miniMapContainerDom.getBoundingClientRect();
|
|
154
|
+
var containerTop = rect.top;
|
|
155
|
+
var containerLeft = rect.left;
|
|
156
|
+
var containerHeight = miniMapContainerDom.offsetHeight;
|
|
157
|
+
var containerWidth = miniMapContainerDom.offsetWidth;
|
|
158
|
+
var thumbHeight = minimapThumbDom.offsetHeight;
|
|
159
|
+
var thumbWidth = minimapThumbDom.offsetWidth;
|
|
160
|
+
// 计算新的顶部和左侧位置
|
|
161
|
+
var newTop = e.clientY - containerTop - thumbHeight / 2;
|
|
162
|
+
var newLeft = e.clientX - containerLeft - thumbWidth / 2;
|
|
163
|
+
// 确保新位置在容器内
|
|
164
|
+
newTop = Math.max(0, Math.min(containerHeight - thumbHeight, newTop));
|
|
165
|
+
newLeft = Math.max(0, Math.min(containerWidth - thumbWidth, newLeft));
|
|
166
|
+
// 更新迷你地图拇指的位置
|
|
167
|
+
minimapThumbDom.style.top = newTop + 'px';
|
|
168
|
+
minimapThumbDom.style.left = newLeft + 'px';
|
|
169
|
+
// 根据迷你地图更新大容器的滚动位置
|
|
170
|
+
scrollTableBody.scrollTop =
|
|
171
|
+
(newTop / (containerHeight - thumbHeight)) *
|
|
172
|
+
(scrollTableBody.scrollHeight - scrollTableBody.clientHeight);
|
|
173
|
+
scrollTableBody.scrollLeft =
|
|
174
|
+
(newLeft / (containerWidth - thumbWidth)) *
|
|
175
|
+
(scrollTableBody.scrollWidth - scrollTableBody.clientWidth);
|
|
176
|
+
}
|
|
177
|
+
}, 50);
|
|
178
|
+
window.addEventListener('mousemove', windowMousemoveFn);
|
|
179
|
+
// 迷你地图拖拽事件
|
|
180
|
+
var isMapDragging = false;
|
|
181
|
+
var minimapMousedownFn = function (e) {
|
|
182
|
+
isMapDragging = true;
|
|
183
|
+
e.preventDefault(); // 阻止默认行为
|
|
184
|
+
e.stopPropagation(); // 阻止冒泡
|
|
185
|
+
};
|
|
186
|
+
miniMapContainerDom.addEventListener('mousedown', minimapMousedownFn);
|
|
187
|
+
var windowMapMousemoveFn = throttle(function (e) {
|
|
188
|
+
if (isMapDragging) {
|
|
189
|
+
var rect = containerDom.getBoundingClientRect();
|
|
190
|
+
var containerTop = rect.top;
|
|
191
|
+
var containerLeft = rect.left;
|
|
192
|
+
var containerHeight = scrollTableBody.offsetHeight;
|
|
193
|
+
var containerWidth = scrollTableBody.offsetWidth;
|
|
194
|
+
var thumbHeight = miniMapContainerDom.offsetHeight;
|
|
195
|
+
var thumbWidth = miniMapContainerDom.offsetWidth;
|
|
196
|
+
// 计算新的顶部和左侧位置
|
|
197
|
+
var newTop = e.clientY - containerTop - thumbHeight / 2;
|
|
198
|
+
var newLeft = e.clientX - containerLeft - thumbWidth / 2;
|
|
199
|
+
// 确保新位置在容器内
|
|
200
|
+
newTop = Math.max(0, Math.min(containerHeight - thumbHeight, newTop));
|
|
201
|
+
newLeft = Math.max(0, Math.min(containerWidth - thumbWidth, newLeft));
|
|
202
|
+
// 更新迷你地图拇指的位置
|
|
203
|
+
miniMapContainerDom.style.top = newTop + 'px';
|
|
204
|
+
miniMapContainerDom.style.left = newLeft + 'px';
|
|
205
|
+
}
|
|
206
|
+
}, 50);
|
|
207
|
+
window.addEventListener('mousemove', windowMapMousemoveFn);
|
|
208
|
+
// 地图的拖拽 和 拇指的拖拽 公用一个 window mouseUp事件
|
|
209
|
+
var windowMouseupFn = function () {
|
|
210
|
+
isDragging = false;
|
|
211
|
+
isMapDragging = false;
|
|
212
|
+
};
|
|
213
|
+
window.addEventListener('mouseup', windowMouseupFn);
|
|
214
|
+
// 监听窗口大小变化以更新迷你地图
|
|
215
|
+
window.addEventListener('resize', updateMiniMap);
|
|
216
|
+
// 初始化更新迷你地图位置大小
|
|
217
|
+
updateMiniMap();
|
|
218
|
+
return function () {
|
|
219
|
+
containerDom.removeEventListener('mouseenter', mouseenterFn);
|
|
220
|
+
containerDom.removeEventListener('mouseleave', mouseleaveFn);
|
|
221
|
+
scrollTableBody.removeEventListener('scroll', updateThumbPosition);
|
|
222
|
+
minimapThumbDom.removeEventListener('mousedown', minimapThumbMousedownFn);
|
|
223
|
+
window.removeEventListener('mouseup', windowMouseupFn);
|
|
224
|
+
window.removeEventListener('mousemove', windowMousemoveFn);
|
|
225
|
+
miniMapContainerDom.removeEventListener('mousedown', minimapMousedownFn);
|
|
226
|
+
window.removeEventListener('mousemove', windowMapMousemoveFn);
|
|
227
|
+
window.removeEventListener('resize', updateMiniMap);
|
|
228
|
+
};
|
|
229
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
230
|
+
}, [isOpen]);
|
|
231
|
+
return {
|
|
232
|
+
createMiniMap: createMiniMap,
|
|
233
|
+
};
|
|
234
|
+
}
|
|
@@ -27,6 +27,8 @@ export interface IValidate {
|
|
|
27
27
|
export interface IColumnType<RecordType> extends ColumnType<RecordType> {
|
|
28
28
|
/**是否隐藏该列 可以传入一个返回boolean值得函数 */
|
|
29
29
|
hideColumn?: boolean | (() => boolean);
|
|
30
|
+
/**是否禁用自定义配置 */
|
|
31
|
+
isNoDynamicHide?: boolean;
|
|
30
32
|
/**是否增加必填title, 可以传入一个返回boolean值的函数 */
|
|
31
33
|
required?: boolean | (() => boolean);
|
|
32
34
|
/**是否可以编辑 */
|
|
@@ -43,6 +45,8 @@ export interface IColumnType<RecordType> extends ColumnType<RecordType> {
|
|
|
43
45
|
isFilter?: boolean;
|
|
44
46
|
/** 是否需要往下填充 */
|
|
45
47
|
isFillDown?: boolean;
|
|
48
|
+
/**表头别名 */
|
|
49
|
+
titleAlias?: string;
|
|
46
50
|
}
|
|
47
51
|
export interface IColumnGroupType<RecordType> extends Omit<IColumnType<RecordType>, ''> {
|
|
48
52
|
children: ColumnsType<RecordType>;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import i18next from 'ztxkutils/dist/i18next';
|
|
1
2
|
import React, { memo } from 'react';
|
|
2
3
|
import { PlusOutlined, MinusOutlined } from '@ant-design/icons';
|
|
3
4
|
import debounce from 'lodash/debounce';
|
|
4
5
|
import { Popconfirm } from '../../index';
|
|
5
6
|
var TableAddDelColumn = function (_a) {
|
|
6
|
-
var onAddAndDelHandle = _a.onAddAndDelHandle, hideAddIcon = _a.hideAddIcon, addIconText = _a.addIconText, hideDelIcon = _a.hideDelIcon, _b = _a.delIconText, delIconText = _b === void 0 ? '是否删除该行?' : _b, index = _a.index, record = _a.record;
|
|
7
|
+
var onAddAndDelHandle = _a.onAddAndDelHandle, hideAddIcon = _a.hideAddIcon, addIconText = _a.addIconText, hideDelIcon = _a.hideDelIcon, _b = _a.delIconText, delIconText = _b === void 0 ? i18next.t('是否删除该行?') : _b, index = _a.index, record = _a.record;
|
|
7
8
|
var onAddfn = function () {
|
|
8
9
|
onAddAndDelHandle && onAddAndDelHandle('add', index);
|
|
9
10
|
};
|
|
@@ -14,9 +15,9 @@ var TableAddDelColumn = function (_a) {
|
|
|
14
15
|
? hideDelIcon(record, index)
|
|
15
16
|
: hideDelIcon;
|
|
16
17
|
return (React.createElement(React.Fragment, null,
|
|
17
|
-
hiddenAddIcon ? null : (React.createElement("div", { title:
|
|
18
|
+
hiddenAddIcon ? null : (React.createElement("div", { title: i18next.t('新增一行'), className: "zt-column__add-icon" },
|
|
18
19
|
React.createElement(PlusOutlined, { onClick: debounce(onAddfn, 500) }))),
|
|
19
|
-
hiddenDelIcon ? null : (React.createElement("div", { title:
|
|
20
|
+
hiddenDelIcon ? null : (React.createElement("div", { title: i18next.t('删除该行'), className: "zt-column__del-icon" },
|
|
20
21
|
React.createElement(Popconfirm, { title: typeof delIconText === 'function'
|
|
21
22
|
? delIconText(record, index)
|
|
22
23
|
: delIconText, onConfirm: function () {
|
|
@@ -6,6 +6,7 @@ interface IProps<RecordType> {
|
|
|
6
6
|
onReset?: () => void;
|
|
7
7
|
onSave?: (columns: ColumnsType<RecordType> | undefined) => void;
|
|
8
8
|
columns?: ColumnsType<RecordType>;
|
|
9
|
+
dynamicStorageKey?: string;
|
|
9
10
|
}
|
|
10
11
|
declare function TableDynamic<RecordType>(props: IProps<RecordType>): JSX.Element;
|
|
11
12
|
declare const _default: React.MemoExoticComponent<typeof TableDynamic>;
|