@hw-component/table 0.0.6-beta-v20 → 0.0.6-beta-v22

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/.eslintcache CHANGED
@@ -1 +1 @@
1
- [{"/Users/hedongjie/Desktop/web/hw-component-table/src/Layout.tsx":"1","/Users/hedongjie/Desktop/web/hw-component-table/src/app.tsx":"2","/Users/hedongjie/Desktop/web/hw-component-table/src/index.tsx":"3","/Users/hedongjie/Desktop/web/hw-component-table/src/routes.tsx":"4","/Users/hedongjie/Desktop/web/hw-component-table/src/components/index.tsx":"5","/Users/hedongjie/Desktop/web/hw-component-table/src/components/Table.tsx":"6","/Users/hedongjie/Desktop/web/hw-component-table/src/components/context.ts":"7","/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useCurrentTable.ts":"8","/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useHTable.tsx":"9","/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useRowObj.ts":"10","/Users/hedongjie/Desktop/web/hw-component-table/src/components/modal.ts":"11","/Users/hedongjie/Desktop/web/hw-component-table/src/components/TableConfig.tsx":"12","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/index.tsx":"13","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableFooter/index.tsx":"14","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/index.tsx":"15","/Users/hedongjie/Desktop/web/hw-component-table/src/components/TableCustomize.tsx":"16","/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useDispatch.ts":"17","/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useReq.ts":"18","/Users/hedongjie/Desktop/web/hw-component-table/src/pages/Table/index.tsx":"19","/Users/hedongjie/Desktop/web/hw-component-table/src/pages/TableCustomize/index.tsx":"20","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTablePagination/index.tsx":"21","/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/index.ts":"22","/Users/hedongjie/Desktop/web/hw-component-table/src/components/ModalTable/hooks.ts":"23","/Users/hedongjie/Desktop/web/hw-component-table/src/components/ModalTable/index.tsx":"24","/Users/hedongjie/Desktop/web/hw-component-table/src/pages/ModalTable/index.tsx":"25","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/AlertMsg.tsx":"26","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/RowSelection.tsx":"27","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/hooks.tsx":"28","/Users/hedongjie/Desktop/web/hw-component-table/src/components/GoTop/index.tsx":"29","/Users/hedongjie/Desktop/web/hw-component-table/src/typings.d.ts":"30","/Users/hedongjie/Desktop/web/hw-component-table/scripts/rollup.config.js":"31","/Users/hedongjie/Desktop/web/hw-component-table/scripts/webpack.config.js":"32","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/hooks.tsx":"33","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/modal.d.ts":"34","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/defaultSubComponent.tsx":"35"},{"size":1541,"mtime":1709541397429,"results":"36","hashOfConfig":"37"},{"size":741,"mtime":1709541397429,"results":"38","hashOfConfig":"37"},{"size":308,"mtime":1709541397430,"results":"39","hashOfConfig":"37"},{"size":769,"mtime":1710811861083,"results":"40","hashOfConfig":"37"},{"size":590,"mtime":1710764754366,"results":"41","hashOfConfig":"37"},{"size":2264,"mtime":1711095484414,"results":"42","hashOfConfig":"37"},{"size":1001,"mtime":1711095487545,"results":"43","hashOfConfig":"37"},{"size":1011,"mtime":1710420049825,"results":"44","hashOfConfig":"37"},{"size":592,"mtime":1710420049830,"results":"45","hashOfConfig":"37"},{"size":676,"mtime":1710420049843,"results":"46","hashOfConfig":"37"},{"size":3763,"mtime":1710829302576,"results":"47","hashOfConfig":"37"},{"size":932,"mtime":1709620303143,"results":"48","hashOfConfig":"37"},{"size":4270,"mtime":1711017972577,"results":"49","hashOfConfig":"37"},{"size":2216,"mtime":1710420049765,"results":"50","hashOfConfig":"37"},{"size":1396,"mtime":1711095822889,"results":"51","hashOfConfig":"37"},{"size":1811,"mtime":1711095484422,"results":"52","hashOfConfig":"37"},{"size":219,"mtime":1709878695429,"results":"53","hashOfConfig":"37"},{"size":1420,"mtime":1710420049837,"results":"54","hashOfConfig":"37"},{"size":2530,"mtime":1711094825656,"results":"55","hashOfConfig":"37"},{"size":1711,"mtime":1711018011830,"results":"56","hashOfConfig":"37"},{"size":2798,"mtime":1710829299879,"results":"57","hashOfConfig":"37"},{"size":498,"mtime":1709893919938,"results":"58","hashOfConfig":"37"},{"size":1477,"mtime":1711018011772,"results":"59","hashOfConfig":"37"},{"size":1989,"mtime":1711018011783,"results":"60","hashOfConfig":"37"},{"size":2065,"mtime":1711018011810,"results":"61","hashOfConfig":"37"},{"size":1068,"mtime":1710763360964,"results":"62","hashOfConfig":"37"},{"size":3603,"mtime":1711017972577,"results":"63","hashOfConfig":"37"},{"size":2177,"mtime":1710813105836,"results":"64","hashOfConfig":"37"},{"size":1102,"mtime":1710829302576,"results":"65","hashOfConfig":"37"},{"size":1162,"mtime":1710829299926,"results":"66","hashOfConfig":"37"},{"size":2302,"mtime":1710829299719,"results":"67","hashOfConfig":"37"},{"size":1688,"mtime":1710827401948,"results":"68","hashOfConfig":"37"},{"size":4248,"mtime":1711095974902,"results":"69","hashOfConfig":"37"},{"size":438,"mtime":1711090873700,"results":"70","hashOfConfig":"37"},{"size":1527,"mtime":1711095974865,"results":"71","hashOfConfig":"37"},{"filePath":"72","messages":"73","suppressedMessages":"74","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1mh59l9",{"filePath":"75","messages":"76","suppressedMessages":"77","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"78","messages":"79","suppressedMessages":"80","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"81","messages":"82","suppressedMessages":"83","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"84","messages":"85","suppressedMessages":"86","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"87","messages":"88","suppressedMessages":"89","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"90","messages":"91","suppressedMessages":"92","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"93","messages":"94","suppressedMessages":"95","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"96","messages":"97","suppressedMessages":"98","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"99","messages":"100","suppressedMessages":"101","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"102","messages":"103","suppressedMessages":"104","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"105","messages":"106","suppressedMessages":"107","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"108","messages":"109","suppressedMessages":"110","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"111","messages":"112","suppressedMessages":"113","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"114","messages":"115","suppressedMessages":"116","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"117","messages":"118","suppressedMessages":"119","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"120","messages":"121","suppressedMessages":"122","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"123","messages":"124","suppressedMessages":"125","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"126","messages":"127","suppressedMessages":"128","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"129","messages":"130","suppressedMessages":"131","errorCount":0,"fatalErrorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"132","messages":"133","suppressedMessages":"134","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"135","messages":"136","suppressedMessages":"137","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"138","messages":"139","suppressedMessages":"140","errorCount":0,"fatalErrorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"141","messages":"142","suppressedMessages":"143","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"144","messages":"145","suppressedMessages":"146","errorCount":0,"fatalErrorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"147","messages":"148","suppressedMessages":"149","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"150","messages":"151","suppressedMessages":"152","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"153","messages":"154","suppressedMessages":"155","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"156","messages":"157","suppressedMessages":"158","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"159","messages":"160","suppressedMessages":"161","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"162","messages":"163","suppressedMessages":"164","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"165","messages":"166","suppressedMessages":"167","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"168","messages":"169","suppressedMessages":"170","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"171","messages":"172","suppressedMessages":"173","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"174","messages":"175","suppressedMessages":"176","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/Users/hedongjie/Desktop/web/hw-component-table/src/Layout.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/app.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/index.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/routes.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/index.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/Table.tsx",["177","178"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/context.ts",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useCurrentTable.ts",["179"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useHTable.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useRowObj.ts",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/modal.ts",["180"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/TableConfig.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/index.tsx",["181"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableFooter/index.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/index.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/TableCustomize.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useDispatch.ts",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useReq.ts",["182"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/pages/Table/index.tsx",["183","184"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/pages/TableCustomize/index.tsx",["185","186","187"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTablePagination/index.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/index.ts",["188"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/ModalTable/hooks.ts",["189","190","191"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/ModalTable/index.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/pages/ModalTable/index.tsx",["192","193","194","195"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/AlertMsg.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/RowSelection.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/hooks.tsx",["196"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/GoTop/index.tsx",["197","198"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/typings.d.ts",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/scripts/rollup.config.js",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/scripts/webpack.config.js",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/hooks.tsx",["199","200"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/modal.d.ts",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/defaultSubComponent.tsx",[],[],{"ruleId":"201","severity":1,"message":"202","line":20,"column":3,"nodeType":"203","messageId":"204","endLine":20,"endColumn":12},{"ruleId":"201","severity":1,"message":"205","line":21,"column":3,"nodeType":"203","messageId":"204","endLine":21,"endColumn":12},{"ruleId":"206","severity":1,"message":"207","line":31,"column":6,"nodeType":"208","endLine":31,"endColumn":13,"suggestions":"209"},{"ruleId":"201","severity":1,"message":"210","line":52,"column":6,"nodeType":"203","messageId":"204","endLine":52,"endColumn":20},{"ruleId":"201","severity":1,"message":"211","line":16,"column":8,"nodeType":"203","messageId":"204","endLine":16,"endColumn":13},{"ruleId":"206","severity":1,"message":"212","line":50,"column":6,"nodeType":"208","endLine":50,"endColumn":8,"suggestions":"213"},{"ruleId":"201","severity":1,"message":"214","line":51,"column":7,"nodeType":"203","messageId":"204","endLine":51,"endColumn":11},{"ruleId":"201","severity":1,"message":"215","line":92,"column":42,"nodeType":"203","messageId":"204","endLine":92,"endColumn":48},{"ruleId":"201","severity":1,"message":"216","line":5,"column":3,"nodeType":"203","messageId":"204","endLine":5,"endColumn":15},{"ruleId":"201","severity":1,"message":"217","line":6,"column":3,"nodeType":"203","messageId":"204","endLine":6,"endColumn":19},{"ruleId":"201","severity":1,"message":"215","line":41,"column":36,"nodeType":"203","messageId":"204","endLine":41,"endColumn":42},{"ruleId":"206","severity":1,"message":"218","line":13,"column":6,"nodeType":"208","endLine":13,"endColumn":17,"suggestions":"219"},{"ruleId":"201","severity":1,"message":"220","line":15,"column":14,"nodeType":"203","messageId":"204","endLine":15,"endColumn":39},{"ruleId":"206","severity":1,"message":"221","line":18,"column":6,"nodeType":"208","endLine":18,"endColumn":8,"suggestions":"222"},{"ruleId":"206","severity":1,"message":"223","line":46,"column":6,"nodeType":"208","endLine":46,"endColumn":8,"suggestions":"224"},{"ruleId":"201","severity":1,"message":"225","line":24,"column":7,"nodeType":"203","messageId":"204","endLine":24,"endColumn":11},{"ruleId":"201","severity":1,"message":"215","line":27,"column":32,"nodeType":"203","messageId":"204","endLine":27,"endColumn":38},{"ruleId":"201","severity":1,"message":"215","line":48,"column":32,"nodeType":"203","messageId":"204","endLine":48,"endColumn":38},{"ruleId":"201","severity":1,"message":"226","line":87,"column":9,"nodeType":"203","messageId":"204","endLine":87,"endColumn":21},{"ruleId":"206","severity":1,"message":"227","line":71,"column":6,"nodeType":"208","endLine":71,"endColumn":40,"suggestions":"228"},{"ruleId":"206","severity":1,"message":"229","line":26,"column":6,"nodeType":"208","endLine":26,"endColumn":11,"suggestions":"230"},{"ruleId":"206","severity":1,"message":"229","line":34,"column":6,"nodeType":"208","endLine":34,"endColumn":8,"suggestions":"231"},{"ruleId":"206","severity":1,"message":"232","line":156,"column":6,"nodeType":"208","endLine":156,"endColumn":42,"suggestions":"233"},{"ruleId":"206","severity":1,"message":"232","line":162,"column":6,"nodeType":"208","endLine":162,"endColumn":42,"suggestions":"234"},"@typescript-eslint/no-unused-vars","'spaceSize' is assigned a value but never used.","Identifier","unusedVar","'className' is defined but never used.","react-hooks/exhaustive-deps","React Hook useMemo has missing dependencies: 'changeRowData', 'dispatch', 'getTableParams', 'reload', 'reloadWithParams', and 'useCurrentTable'. Either include them or remove the dependency array.","ArrayExpression",["235"],"'FooterRenderFn' is defined but never used.","'GoTop' is defined but never used.","React Hook useEffect has missing dependencies: 'manual', 'reloadFn', 'request', and 'resultAction'. Either include them or remove the dependency array.",["236"],"'Test' is assigned a value but never used.","'reject' is defined but never used.","'HTableFooter' is defined but never used.","'HTablePagination' is defined but never used.","React Hook useMemo has a missing dependency: 'config'. Either include it or remove the dependency array.",["237"],"'params' is defined but never used.","React Hook useMemo has a missing dependency: 'tableInstance'. Either include it or remove the dependency array.",["238"],"React Hook useEffect has missing dependencies: 'dialogTableInstance', 'hide', and 'show'. Either include them or remove the dependency array.",["239"],"'req1' is assigned a value but never used.","'dialogTable1' is assigned a value but never used.","React Hook useEffect has a missing dependency: 'rowOnChange'. Either include it or remove the dependency array.",["240"],"React Hook useEffect has a missing dependency: 'cuDom'. Either include it or remove the dependency array.",["241"],["242"],"React Hook useEffect has a missing dependency: 'mkNewFn'. Either include it or remove the dependency array.",["243"],["244"],{"desc":"245","fix":"246"},{"desc":"247","fix":"248"},{"desc":"249","fix":"250"},{"desc":"251","fix":"252"},{"desc":"253","fix":"254"},{"desc":"255","fix":"256"},{"desc":"257","fix":"258"},{"desc":"259","fix":"260"},{"desc":"261","fix":"262"},{"desc":"261","fix":"263"},"Update the dependencies array to be: [changeRowData, dispatch, getTableParams, reload, reloadWithParams, table, useCurrentTable]",{"range":"264","text":"265"},"Update the dependencies array to be: [manual, reloadFn, request, resultAction]",{"range":"266","text":"267"},"Update the dependencies array to be: [className, config]",{"range":"268","text":"269"},"Update the dependencies array to be: [tableInstance]",{"range":"270","text":"271"},"Update the dependencies array to be: [dialogTableInstance, hide, show]",{"range":"272","text":"273"},"Update the dependencies array to be: [selectedRowKeys, records, rowKey, rowOnChange]",{"range":"274","text":"275"},"Update the dependencies array to be: [cuDom, dom]",{"range":"276","text":"277"},"Update the dependencies array to be: [cuDom]",{"range":"278","text":"279"},"Update the dependencies array to be: [configData, searchSpan, headerOpen, mkNewFn]",{"range":"280","text":"281"},{"range":"282","text":"281"},[998,1005],"[changeRowData, dispatch, getTableParams, reload, reloadWithParams, table, useCurrentTable]",[1232,1234],"[manual, reloadFn, request, resultAction]",[481,492],"[className, config]",[495,497],"[tableInstance]",[1201,1203],"[dialogTableInstance, hide, show]",[2137,2171],"[selectedRowKeys, records, rowKey, rowOnChange]",[825,830],"[cuDom, dom]",[1021,1023],"[cuDom]",[3976,4012],"[configData, searchSpan, headerOpen, mkNewFn]",[4167,4203]]
1
+ [{"/Users/hedongjie/Desktop/web/hw-component-table/src/Layout.tsx":"1","/Users/hedongjie/Desktop/web/hw-component-table/src/app.tsx":"2","/Users/hedongjie/Desktop/web/hw-component-table/src/index.tsx":"3","/Users/hedongjie/Desktop/web/hw-component-table/src/routes.tsx":"4","/Users/hedongjie/Desktop/web/hw-component-table/src/components/index.tsx":"5","/Users/hedongjie/Desktop/web/hw-component-table/src/components/Table.tsx":"6","/Users/hedongjie/Desktop/web/hw-component-table/src/components/context.ts":"7","/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useCurrentTable.ts":"8","/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useHTable.tsx":"9","/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useRowObj.ts":"10","/Users/hedongjie/Desktop/web/hw-component-table/src/components/modal.ts":"11","/Users/hedongjie/Desktop/web/hw-component-table/src/components/TableConfig.tsx":"12","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/index.tsx":"13","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableFooter/index.tsx":"14","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/index.tsx":"15","/Users/hedongjie/Desktop/web/hw-component-table/src/components/TableCustomize.tsx":"16","/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useDispatch.ts":"17","/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useReq.ts":"18","/Users/hedongjie/Desktop/web/hw-component-table/src/pages/Table/index.tsx":"19","/Users/hedongjie/Desktop/web/hw-component-table/src/pages/TableCustomize/index.tsx":"20","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTablePagination/index.tsx":"21","/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/index.ts":"22","/Users/hedongjie/Desktop/web/hw-component-table/src/components/ModalTable/hooks.ts":"23","/Users/hedongjie/Desktop/web/hw-component-table/src/components/ModalTable/index.tsx":"24","/Users/hedongjie/Desktop/web/hw-component-table/src/pages/ModalTable/index.tsx":"25","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/AlertMsg.tsx":"26","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/RowSelection.tsx":"27","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/hooks.tsx":"28","/Users/hedongjie/Desktop/web/hw-component-table/src/components/GoTop/index.tsx":"29","/Users/hedongjie/Desktop/web/hw-component-table/src/typings.d.ts":"30","/Users/hedongjie/Desktop/web/hw-component-table/scripts/rollup.config.js":"31","/Users/hedongjie/Desktop/web/hw-component-table/scripts/webpack.config.js":"32","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/hooks.tsx":"33","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/modal.d.ts":"34","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/defaultSubComponent.tsx":"35"},{"size":1541,"mtime":1709541397429,"results":"36","hashOfConfig":"37"},{"size":741,"mtime":1709541397429,"results":"38","hashOfConfig":"37"},{"size":308,"mtime":1709541397430,"results":"39","hashOfConfig":"37"},{"size":769,"mtime":1710811861083,"results":"40","hashOfConfig":"37"},{"size":590,"mtime":1710764754366,"results":"41","hashOfConfig":"37"},{"size":2264,"mtime":1711095484414,"results":"42","hashOfConfig":"37"},{"size":1001,"mtime":1711095487545,"results":"43","hashOfConfig":"37"},{"size":1011,"mtime":1710420049825,"results":"44","hashOfConfig":"37"},{"size":592,"mtime":1710420049830,"results":"45","hashOfConfig":"37"},{"size":676,"mtime":1710420049843,"results":"46","hashOfConfig":"37"},{"size":3763,"mtime":1710829302576,"results":"47","hashOfConfig":"37"},{"size":932,"mtime":1709620303143,"results":"48","hashOfConfig":"37"},{"size":4270,"mtime":1711017972577,"results":"49","hashOfConfig":"37"},{"size":2216,"mtime":1710420049765,"results":"50","hashOfConfig":"37"},{"size":1396,"mtime":1711095822889,"results":"51","hashOfConfig":"37"},{"size":1811,"mtime":1711095484422,"results":"52","hashOfConfig":"37"},{"size":219,"mtime":1709878695429,"results":"53","hashOfConfig":"37"},{"size":1420,"mtime":1710420049837,"results":"54","hashOfConfig":"37"},{"size":2530,"mtime":1711094825656,"results":"55","hashOfConfig":"37"},{"size":1711,"mtime":1711018011830,"results":"56","hashOfConfig":"37"},{"size":2825,"mtime":1711102156838,"results":"57","hashOfConfig":"37"},{"size":498,"mtime":1709893919938,"results":"58","hashOfConfig":"37"},{"size":1477,"mtime":1711018011772,"results":"59","hashOfConfig":"37"},{"size":1989,"mtime":1711018011783,"results":"60","hashOfConfig":"37"},{"size":2065,"mtime":1711018011810,"results":"61","hashOfConfig":"37"},{"size":1068,"mtime":1710763360964,"results":"62","hashOfConfig":"37"},{"size":3603,"mtime":1711017972577,"results":"63","hashOfConfig":"37"},{"size":2177,"mtime":1710813105836,"results":"64","hashOfConfig":"37"},{"size":1102,"mtime":1710829302576,"results":"65","hashOfConfig":"37"},{"size":1162,"mtime":1710829299926,"results":"66","hashOfConfig":"37"},{"size":2302,"mtime":1711102156682,"results":"67","hashOfConfig":"37"},{"size":1688,"mtime":1710827401948,"results":"68","hashOfConfig":"37"},{"size":4315,"mtime":1711102156822,"results":"69","hashOfConfig":"37"},{"size":438,"mtime":1711090873700,"results":"70","hashOfConfig":"37"},{"size":1903,"mtime":1711102156787,"results":"71","hashOfConfig":"37"},{"filePath":"72","messages":"73","suppressedMessages":"74","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1mh59l9",{"filePath":"75","messages":"76","suppressedMessages":"77","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"78","messages":"79","suppressedMessages":"80","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"81","messages":"82","suppressedMessages":"83","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"84","messages":"85","suppressedMessages":"86","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"87","messages":"88","suppressedMessages":"89","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"90","messages":"91","suppressedMessages":"92","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"93","messages":"94","suppressedMessages":"95","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"96","messages":"97","suppressedMessages":"98","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"99","messages":"100","suppressedMessages":"101","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"102","messages":"103","suppressedMessages":"104","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"105","messages":"106","suppressedMessages":"107","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"108","messages":"109","suppressedMessages":"110","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"111","messages":"112","suppressedMessages":"113","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"114","messages":"115","suppressedMessages":"116","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"117","messages":"118","suppressedMessages":"119","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"120","messages":"121","suppressedMessages":"122","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"123","messages":"124","suppressedMessages":"125","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"126","messages":"127","suppressedMessages":"128","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"129","messages":"130","suppressedMessages":"131","errorCount":0,"fatalErrorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"132","messages":"133","suppressedMessages":"134","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"135","messages":"136","suppressedMessages":"137","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"138","messages":"139","suppressedMessages":"140","errorCount":0,"fatalErrorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"141","messages":"142","suppressedMessages":"143","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"144","messages":"145","suppressedMessages":"146","errorCount":0,"fatalErrorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"147","messages":"148","suppressedMessages":"149","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"150","messages":"151","suppressedMessages":"152","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"153","messages":"154","suppressedMessages":"155","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"156","messages":"157","suppressedMessages":"158","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"159","messages":"160","suppressedMessages":"161","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"162","messages":"163","suppressedMessages":"164","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"165","messages":"166","suppressedMessages":"167","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"168","messages":"169","suppressedMessages":"170","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"171","messages":"172","suppressedMessages":"173","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"174","messages":"175","suppressedMessages":"176","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/Users/hedongjie/Desktop/web/hw-component-table/src/Layout.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/app.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/index.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/routes.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/index.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/Table.tsx",["177","178"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/context.ts",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useCurrentTable.ts",["179"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useHTable.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useRowObj.ts",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/modal.ts",["180"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/TableConfig.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/index.tsx",["181"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableFooter/index.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/index.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/TableCustomize.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useDispatch.ts",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useReq.ts",["182"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/pages/Table/index.tsx",["183","184"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/pages/TableCustomize/index.tsx",["185","186","187"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTablePagination/index.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/index.ts",["188"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/ModalTable/hooks.ts",["189","190","191"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/ModalTable/index.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/pages/ModalTable/index.tsx",["192","193","194","195"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/AlertMsg.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/RowSelection.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/hooks.tsx",["196"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/GoTop/index.tsx",["197","198"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/typings.d.ts",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/scripts/rollup.config.js",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/scripts/webpack.config.js",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/hooks.tsx",["199","200"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/modal.d.ts",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/defaultSubComponent.tsx",[],[],{"ruleId":"201","severity":1,"message":"202","line":20,"column":3,"nodeType":"203","messageId":"204","endLine":20,"endColumn":12},{"ruleId":"201","severity":1,"message":"205","line":21,"column":3,"nodeType":"203","messageId":"204","endLine":21,"endColumn":12},{"ruleId":"206","severity":1,"message":"207","line":31,"column":6,"nodeType":"208","endLine":31,"endColumn":13,"suggestions":"209"},{"ruleId":"201","severity":1,"message":"210","line":52,"column":6,"nodeType":"203","messageId":"204","endLine":52,"endColumn":20},{"ruleId":"201","severity":1,"message":"211","line":16,"column":8,"nodeType":"203","messageId":"204","endLine":16,"endColumn":13},{"ruleId":"206","severity":1,"message":"212","line":50,"column":6,"nodeType":"208","endLine":50,"endColumn":8,"suggestions":"213"},{"ruleId":"201","severity":1,"message":"214","line":51,"column":7,"nodeType":"203","messageId":"204","endLine":51,"endColumn":11},{"ruleId":"201","severity":1,"message":"215","line":92,"column":42,"nodeType":"203","messageId":"204","endLine":92,"endColumn":48},{"ruleId":"201","severity":1,"message":"216","line":5,"column":3,"nodeType":"203","messageId":"204","endLine":5,"endColumn":15},{"ruleId":"201","severity":1,"message":"217","line":6,"column":3,"nodeType":"203","messageId":"204","endLine":6,"endColumn":19},{"ruleId":"201","severity":1,"message":"215","line":41,"column":36,"nodeType":"203","messageId":"204","endLine":41,"endColumn":42},{"ruleId":"206","severity":1,"message":"218","line":13,"column":6,"nodeType":"208","endLine":13,"endColumn":17,"suggestions":"219"},{"ruleId":"201","severity":1,"message":"220","line":15,"column":14,"nodeType":"203","messageId":"204","endLine":15,"endColumn":39},{"ruleId":"206","severity":1,"message":"221","line":18,"column":6,"nodeType":"208","endLine":18,"endColumn":8,"suggestions":"222"},{"ruleId":"206","severity":1,"message":"223","line":46,"column":6,"nodeType":"208","endLine":46,"endColumn":8,"suggestions":"224"},{"ruleId":"201","severity":1,"message":"225","line":24,"column":7,"nodeType":"203","messageId":"204","endLine":24,"endColumn":11},{"ruleId":"201","severity":1,"message":"215","line":27,"column":32,"nodeType":"203","messageId":"204","endLine":27,"endColumn":38},{"ruleId":"201","severity":1,"message":"215","line":48,"column":32,"nodeType":"203","messageId":"204","endLine":48,"endColumn":38},{"ruleId":"201","severity":1,"message":"226","line":87,"column":9,"nodeType":"203","messageId":"204","endLine":87,"endColumn":21},{"ruleId":"206","severity":1,"message":"227","line":71,"column":6,"nodeType":"208","endLine":71,"endColumn":40,"suggestions":"228"},{"ruleId":"206","severity":1,"message":"229","line":26,"column":6,"nodeType":"208","endLine":26,"endColumn":11,"suggestions":"230"},{"ruleId":"206","severity":1,"message":"229","line":34,"column":6,"nodeType":"208","endLine":34,"endColumn":8,"suggestions":"231"},{"ruleId":"206","severity":1,"message":"232","line":161,"column":6,"nodeType":"208","endLine":161,"endColumn":42,"suggestions":"233"},{"ruleId":"206","severity":1,"message":"232","line":167,"column":6,"nodeType":"208","endLine":167,"endColumn":42,"suggestions":"234"},"@typescript-eslint/no-unused-vars","'spaceSize' is assigned a value but never used.","Identifier","unusedVar","'className' is defined but never used.","react-hooks/exhaustive-deps","React Hook useMemo has missing dependencies: 'changeRowData', 'dispatch', 'getTableParams', 'reload', 'reloadWithParams', and 'useCurrentTable'. Either include them or remove the dependency array.","ArrayExpression",["235"],"'FooterRenderFn' is defined but never used.","'GoTop' is defined but never used.","React Hook useEffect has missing dependencies: 'manual', 'reloadFn', 'request', and 'resultAction'. Either include them or remove the dependency array.",["236"],"'Test' is assigned a value but never used.","'reject' is defined but never used.","'HTableFooter' is defined but never used.","'HTablePagination' is defined but never used.","React Hook useMemo has a missing dependency: 'config'. Either include it or remove the dependency array.",["237"],"'params' is defined but never used.","React Hook useMemo has a missing dependency: 'tableInstance'. Either include it or remove the dependency array.",["238"],"React Hook useEffect has missing dependencies: 'dialogTableInstance', 'hide', and 'show'. Either include them or remove the dependency array.",["239"],"'req1' is assigned a value but never used.","'dialogTable1' is assigned a value but never used.","React Hook useEffect has a missing dependency: 'rowOnChange'. Either include it or remove the dependency array.",["240"],"React Hook useEffect has a missing dependency: 'cuDom'. Either include it or remove the dependency array.",["241"],["242"],"React Hook useEffect has a missing dependency: 'mkNewFn'. Either include it or remove the dependency array.",["243"],["244"],{"desc":"245","fix":"246"},{"desc":"247","fix":"248"},{"desc":"249","fix":"250"},{"desc":"251","fix":"252"},{"desc":"253","fix":"254"},{"desc":"255","fix":"256"},{"desc":"257","fix":"258"},{"desc":"259","fix":"260"},{"desc":"261","fix":"262"},{"desc":"261","fix":"263"},"Update the dependencies array to be: [changeRowData, dispatch, getTableParams, reload, reloadWithParams, table, useCurrentTable]",{"range":"264","text":"265"},"Update the dependencies array to be: [manual, reloadFn, request, resultAction]",{"range":"266","text":"267"},"Update the dependencies array to be: [className, config]",{"range":"268","text":"269"},"Update the dependencies array to be: [tableInstance]",{"range":"270","text":"271"},"Update the dependencies array to be: [dialogTableInstance, hide, show]",{"range":"272","text":"273"},"Update the dependencies array to be: [selectedRowKeys, records, rowKey, rowOnChange]",{"range":"274","text":"275"},"Update the dependencies array to be: [cuDom, dom]",{"range":"276","text":"277"},"Update the dependencies array to be: [cuDom]",{"range":"278","text":"279"},"Update the dependencies array to be: [configData, searchSpan, headerOpen, mkNewFn]",{"range":"280","text":"281"},{"range":"282","text":"281"},[998,1005],"[changeRowData, dispatch, getTableParams, reload, reloadWithParams, table, useCurrentTable]",[1232,1234],"[manual, reloadFn, request, resultAction]",[481,492],"[className, config]",[495,497],"[tableInstance]",[1201,1203],"[dialogTableInstance, hide, show]",[2137,2171],"[selectedRowKeys, records, rowKey, rowOnChange]",[825,830],"[cuDom, dom]",[1021,1023],"[cuDom]",[4043,4079],"[configData, searchSpan, headerOpen, mkNewFn]",[4234,4270]]
@@ -87,7 +87,8 @@ var HTablePagination = (function (_ref) {
87
87
  return;
88
88
  }
89
89
  setStyle({
90
- boxShadow: "0px -3px 10px 1px rgba(165,165,165,0.16)"
90
+ boxShadow: "0px -3px 10px 1px rgba(165,165,165,0.16)",
91
+ borderRadius: 0
91
92
  });
92
93
  }
93
94
  }, afProps), {}, {
package/es/index.css CHANGED
@@ -2,13 +2,13 @@
2
2
  border-bottom-left-radius: 4px;
3
3
  border-bottom-right-radius: 4px;
4
4
  background-color: #fff;
5
- overflow: hidden;
6
5
  position: relative;
7
6
  }
8
7
  .ant-hw-table-body .ant-hw-table-pagination {
9
8
  padding: 12px 24px;
10
9
  background-color: #ffffff;
11
- border-radius: 0px;
10
+ border-bottom-left-radius: 4px;
11
+ border-bottom-right-radius: 4px;
12
12
  }
13
13
  .ant-hw-table-body .ant-pro-card-body {
14
14
  padding-bottom: 0px;
@@ -90,7 +90,8 @@ var HTablePagination = (function (_ref) {
90
90
  return;
91
91
  }
92
92
  setStyle({
93
- boxShadow: "0px -3px 10px 1px rgba(165,165,165,0.16)"
93
+ boxShadow: "0px -3px 10px 1px rgba(165,165,165,0.16)",
94
+ borderRadius: 0
94
95
  });
95
96
  }
96
97
  }, afProps), {}, {
package/lib/index.css CHANGED
@@ -2,13 +2,13 @@
2
2
  border-bottom-left-radius: 4px;
3
3
  border-bottom-right-radius: 4px;
4
4
  background-color: #fff;
5
- overflow: hidden;
6
5
  position: relative;
7
6
  }
8
7
  .ant-hw-table-body .ant-hw-table-pagination {
9
8
  padding: 12px 24px;
10
9
  background-color: #ffffff;
11
- border-radius: 0px;
10
+ border-bottom-left-radius: 4px;
11
+ border-bottom-right-radius: 4px;
12
12
  }
13
13
  .ant-hw-table-body .ant-pro-card-body {
14
14
  padding-bottom: 0px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hw-component/table",
3
- "version": "0.0.6-beta-v20",
3
+ "version": "0.0.6-beta-v22",
4
4
  "description": "基于antd二次开发table组件",
5
5
  "keywords": [
6
6
  "table"
@@ -1,9 +1,9 @@
1
1
  import { Button, Row, Space, Typography } from "antd";
2
2
  import type { HFormInstance } from "@hw-component/form/es/Form/modal";
3
3
  import { useHTableContext } from "../context";
4
- import React, {useMemo} from "react";
4
+ import React, { useMemo } from "react";
5
5
  import { DownOutlined, UpOutlined } from "@ant-design/icons";
6
- import {RowProps} from "antd/lib/grid/row";
6
+ import type { RowProps } from "antd/lib/grid/row";
7
7
  interface IProps {
8
8
  form: HFormInstance;
9
9
  }
@@ -35,25 +35,26 @@ const OpenComponent = () => {
35
35
  };
36
36
  export const DefaultSubComponent = ({ form }: IProps) => {
37
37
  const { loading, headerOpen } = useHTableContext();
38
- const hide=typeof headerOpen === "undefined";
39
- const {justify,style}=useMemo(()=>{
40
- if (hide){
41
- return {
42
- justify:"start",
43
- style:{
44
- marginLeft:20
45
- }
46
- }
47
- }
48
- return {
49
- justify:"end",
50
- style:{
51
-
52
- }
38
+ const hide = typeof headerOpen === "undefined";
39
+ const { justify, style } = useMemo(() => {
40
+ if (hide) {
41
+ return {
42
+ justify: "start",
43
+ style: {
44
+ marginLeft: 20,
45
+ },
46
+ };
53
47
  }
54
- },[hide]);
48
+ return {
49
+ justify: "end",
50
+ style: {},
51
+ };
52
+ }, [hide]);
55
53
  return (
56
- <Row justify={(justify as RowProps["justify"])} style={{width:"100%",...style}}>
54
+ <Row
55
+ justify={justify as RowProps["justify"]}
56
+ style={{ width: "100%", ...style }}
57
+ >
57
58
  <Space size={6}>
58
59
  <Button
59
60
  type={"primary"}
@@ -73,7 +74,7 @@ export const DefaultSubComponent = ({ form }: IProps) => {
73
74
  >
74
75
  重置
75
76
  </Button>
76
- {hide? null : <OpenComponent />}
77
+ {hide ? null : <OpenComponent />}
77
78
  </Space>
78
79
  </Row>
79
80
  );
@@ -32,12 +32,12 @@ const sizeObj = {
32
32
  };
33
33
  const defaultSubItem = {
34
34
  type: "submit",
35
- itemProps:{
36
- position:"end"
35
+ itemProps: {
36
+ position: "end",
37
37
  },
38
- style:{
39
- padding:0,
40
- marginLeft:-20
38
+ style: {
39
+ padding: 0,
40
+ marginLeft: -20,
41
41
  },
42
42
  render: (item: HItemProps, node: React.ReactNode, form: HFormInstance) => {
43
43
  return <DefaultSubComponent form={form} />;
@@ -128,9 +128,7 @@ const filterHideFormItem = (
128
128
  };
129
129
  export const useHideMoreTitle = ({ searchSpan, configData }: IHeaderProps) => {
130
130
  const [formConfigData, setFormConfigData] = useState<HItemProps[]>([]);
131
- const [subData, setSubData] = useState<HItemProps>(
132
- defaultSubItem as any
133
- );
131
+ const [subData, setSubData] = useState<HItemProps>(defaultSubItem as any);
134
132
  const { headerOpen, setHeaderOpen } = useHTableContext();
135
133
  const className = useClassName("hw-table-header-item-hide");
136
134
  const mkNewFn = () => {
@@ -61,6 +61,7 @@ export default ({
61
61
  }
62
62
  setStyle({
63
63
  boxShadow: "0px -3px 10px 1px rgba(165,165,165,0.16)",
64
+ borderRadius: 0,
64
65
  });
65
66
  }}
66
67
  {...afProps}
@@ -3,12 +3,12 @@
3
3
  border-bottom-left-radius: 4px;
4
4
  border-bottom-right-radius: 4px;
5
5
  background-color: #fff;
6
- overflow: hidden;
7
6
  position: relative;
8
7
  .@{ant-prefix}-hw-table-pagination{
9
8
  padding: 12px 24px;
10
9
  background-color:#ffffff;
11
- border-radius: 0px;
10
+ border-bottom-left-radius: 4px;
11
+ border-bottom-right-radius: 4px;
12
12
  }
13
13
  .@{ant-prefix}-pro-card-body{
14
14
  padding-bottom: 0px;