@hw-component/table 0.0.7-beta-v2 → 0.0.7-beta-v6
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 +1 -1
- package/es/HTableBody/index.js +22 -22
- package/es/HTableHeader/modal.d.ts +13 -0
- package/es/HTablePagination/index.d.ts +1 -1
- package/es/hooks/useDispatch.d.ts +1 -1
- package/es/hooks/useReq.d.ts +1 -1
- package/lib/HTableBody/index.js +20 -20
- package/lib/HTableHeader/modal.d.ts +13 -0
- package/lib/HTablePagination/index.d.ts +1 -1
- package/lib/hooks/useDispatch.d.ts +1 -1
- package/lib/hooks/useReq.d.ts +1 -1
- package/package.json +1 -1
- package/src/components/HTableBody/index.tsx +16 -16
- package/src/components/HTableHeader/{modal.d.ts → modal.ts} +1 -1
- package/src/components/HTablePagination/index.tsx +1 -1
- package/src/components/hooks/useDispatch.ts +1 -1
- package/src/components/hooks/useReq.ts +1 -1
- package/tsconfig.json +1 -0
- /package/es/{src/components/HTableHeader → HTableHeader}/index.d.ts +0 -0
- /package/es/{src/components/Table.d.ts → Table.d.ts} +0 -0
- /package/es/{src/components/context.d.ts → context.d.ts} +0 -0
- /package/es/{src/components/hooks → hooks}/index.d.ts +0 -0
- /package/es/{src/components/index.d.ts → index.d.ts} +0 -0
- /package/es/{src/components/modal.d.ts → modal.d.ts} +0 -0
- /package/lib/{src/components/HTableHeader → HTableHeader}/index.d.ts +0 -0
- /package/lib/{src/components/Table.d.ts → Table.d.ts} +0 -0
- /package/lib/{src/components/context.d.ts → context.d.ts} +0 -0
- /package/lib/{src/components/hooks → hooks}/index.d.ts +0 -0
- /package/lib/{src/components/index.d.ts → index.d.ts} +0 -0
- /package/lib/{src/components/modal.d.ts → modal.d.ts} +0 -0
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":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]]
|
|
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/defaultSubComponent.tsx":"34","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/modal.ts":"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":4238,"mtime":1711180563196,"results":"49","hashOfConfig":"37"},{"size":2216,"mtime":1710420049765,"results":"50","hashOfConfig":"37"},{"size":1396,"mtime":1711159046327,"results":"51","hashOfConfig":"37"},{"size":1811,"mtime":1711095484422,"results":"52","hashOfConfig":"37"},{"size":209,"mtime":1711180552221,"results":"53","hashOfConfig":"37"},{"size":1410,"mtime":1711180552221,"results":"54","hashOfConfig":"37"},{"size":2530,"mtime":1711094825656,"results":"55","hashOfConfig":"37"},{"size":1711,"mtime":1711018011830,"results":"56","hashOfConfig":"37"},{"size":2815,"mtime":1711180552221,"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":1711159035593,"results":"69","hashOfConfig":"37"},{"size":1908,"mtime":1711102159240,"results":"70","hashOfConfig":"37"},{"size":445,"mtime":1711180552220,"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/defaultSubComponent.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/modal.ts",[],[],{"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]",[1222,1224],"[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]]
|
package/es/HTableBody/index.js
CHANGED
|
@@ -10,12 +10,12 @@ import _forEachInstanceProperty from '@babel/runtime-corejs3/core-js/instance/fo
|
|
|
10
10
|
import _Object$getOwnPropertyDescriptors from '@babel/runtime-corejs3/core-js/object/get-own-property-descriptors';
|
|
11
11
|
import _Object$defineProperties from '@babel/runtime-corejs3/core-js/object/define-properties';
|
|
12
12
|
import _Object$defineProperty from '@babel/runtime-corejs3/core-js/object/define-property';
|
|
13
|
-
import {
|
|
13
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
14
14
|
import ProTable from '@ant-design/pro-table';
|
|
15
15
|
import { useCols, useSynchronousKeys } from './hooks.js';
|
|
16
16
|
import { useHTableContext } from '../context.js';
|
|
17
17
|
import React from 'react';
|
|
18
|
-
import {
|
|
18
|
+
import { Row, Alert, ConfigProvider, Empty } from 'antd';
|
|
19
19
|
import { useHTableConfigContext } from '../TableConfig.js';
|
|
20
20
|
import HTablePagination from '../HTablePagination/index.js';
|
|
21
21
|
import { useClassName } from '../hooks/index.js';
|
|
@@ -90,33 +90,33 @@ var Body = (function (_ref) {
|
|
|
90
90
|
selectAll = selectedRowData.selectAll;
|
|
91
91
|
var alwaysShowAlert = keys.length > 0 || selectAll;
|
|
92
92
|
var className = useClassName("hw-table-body");
|
|
93
|
-
return
|
|
93
|
+
return jsxs("div", {
|
|
94
94
|
style: tableStyle,
|
|
95
95
|
className: "hw_table_body ".concat(className),
|
|
96
|
-
children:
|
|
96
|
+
children: [headerTitle && jsx(Row, {
|
|
97
|
+
gutter: [0, 8],
|
|
98
|
+
style: contentStyle,
|
|
99
|
+
children: /*#__PURE__*/React.cloneElement(headerTitle, {
|
|
100
|
+
selectedRowData: selectedRowData,
|
|
101
|
+
allSelectChange: allSelectChange,
|
|
102
|
+
rowOnChange: rowOnChange
|
|
103
|
+
})
|
|
104
|
+
}), alwaysShowAlert && jsx("div", {
|
|
105
|
+
style: contentStyle,
|
|
106
|
+
children: jsx(Alert, {
|
|
107
|
+
message: jsx(AlertMsg, {
|
|
108
|
+
actionRender: actionRender
|
|
109
|
+
}),
|
|
110
|
+
type: "info"
|
|
111
|
+
})
|
|
112
|
+
}), jsxs(ConfigProvider, {
|
|
97
113
|
renderEmpty: function renderEmpty() {
|
|
98
114
|
if (error) {
|
|
99
115
|
return tableErrorRender === null || tableErrorRender === void 0 ? void 0 : tableErrorRender(tableInstance, error);
|
|
100
116
|
}
|
|
101
117
|
return tableEmptyRender === null || tableEmptyRender === void 0 ? void 0 : tableEmptyRender(tableInstance);
|
|
102
118
|
},
|
|
103
|
-
children: [
|
|
104
|
-
gutter: [0, 8],
|
|
105
|
-
style: contentStyle,
|
|
106
|
-
children: /*#__PURE__*/React.cloneElement(headerTitle, {
|
|
107
|
-
selectedRowData: selectedRowData,
|
|
108
|
-
allSelectChange: allSelectChange,
|
|
109
|
-
rowOnChange: rowOnChange
|
|
110
|
-
})
|
|
111
|
-
}), alwaysShowAlert && jsx("div", {
|
|
112
|
-
style: contentStyle,
|
|
113
|
-
children: jsx(Alert, {
|
|
114
|
-
message: jsx(AlertMsg, {
|
|
115
|
-
actionRender: actionRender
|
|
116
|
-
}),
|
|
117
|
-
type: "info"
|
|
118
|
-
})
|
|
119
|
-
}), jsx(ProTable, _objectSpread(_objectSpread({}, props), {}, {
|
|
119
|
+
children: [jsx(ProTable, _objectSpread(_objectSpread({}, props), {}, {
|
|
120
120
|
columns: cols,
|
|
121
121
|
search: false,
|
|
122
122
|
options: options ? options : {
|
|
@@ -138,7 +138,7 @@ var Body = (function (_ref) {
|
|
|
138
138
|
affixProps: affixProps,
|
|
139
139
|
goTop: goTop
|
|
140
140
|
}, pagination))]
|
|
141
|
-
})
|
|
141
|
+
})]
|
|
142
142
|
});
|
|
143
143
|
});
|
|
144
144
|
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ConfigDataModal, ConfigItemModal } from "../modal";
|
|
2
|
+
import type { ColProps } from "antd";
|
|
3
|
+
import type React from "react";
|
|
4
|
+
export interface IHeaderProps {
|
|
5
|
+
configData?: ConfigDataModal;
|
|
6
|
+
onFinish?: (value: Record<string, any>) => Promise<any>;
|
|
7
|
+
searchSpan?: ColProps;
|
|
8
|
+
loading?: boolean;
|
|
9
|
+
headerStyle?: React.CSSProperties;
|
|
10
|
+
}
|
|
11
|
+
export interface FormConfigDataItemProviderModal extends ConfigItemModal {
|
|
12
|
+
className?: string;
|
|
13
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PaginationProps } from "antd";
|
|
2
|
-
import type { ParamsModal } from "
|
|
2
|
+
import type { ParamsModal } from "../modal";
|
|
3
3
|
import React from "react";
|
|
4
4
|
import type { AffixProps } from "antd/lib/affix";
|
|
5
5
|
export interface IPaginationProps extends PaginationProps {
|
package/es/hooks/useReq.d.ts
CHANGED
package/lib/HTableBody/index.js
CHANGED
|
@@ -93,33 +93,33 @@ var Body = (function (_ref) {
|
|
|
93
93
|
selectAll = selectedRowData.selectAll;
|
|
94
94
|
var alwaysShowAlert = keys.length > 0 || selectAll;
|
|
95
95
|
var className = index.useClassName("hw-table-body");
|
|
96
|
-
return jsxRuntime.
|
|
96
|
+
return jsxRuntime.jsxs("div", {
|
|
97
97
|
style: tableStyle,
|
|
98
98
|
className: "hw_table_body ".concat(className),
|
|
99
|
-
children: jsxRuntime.
|
|
99
|
+
children: [headerTitle && jsxRuntime.jsx(antd.Row, {
|
|
100
|
+
gutter: [0, 8],
|
|
101
|
+
style: contentStyle,
|
|
102
|
+
children: /*#__PURE__*/React.cloneElement(headerTitle, {
|
|
103
|
+
selectedRowData: selectedRowData,
|
|
104
|
+
allSelectChange: allSelectChange,
|
|
105
|
+
rowOnChange: rowOnChange
|
|
106
|
+
})
|
|
107
|
+
}), alwaysShowAlert && jsxRuntime.jsx("div", {
|
|
108
|
+
style: contentStyle,
|
|
109
|
+
children: jsxRuntime.jsx(antd.Alert, {
|
|
110
|
+
message: jsxRuntime.jsx(AlertMsg.default, {
|
|
111
|
+
actionRender: actionRender
|
|
112
|
+
}),
|
|
113
|
+
type: "info"
|
|
114
|
+
})
|
|
115
|
+
}), jsxRuntime.jsxs(antd.ConfigProvider, {
|
|
100
116
|
renderEmpty: function renderEmpty() {
|
|
101
117
|
if (error) {
|
|
102
118
|
return tableErrorRender === null || tableErrorRender === void 0 ? void 0 : tableErrorRender(tableInstance, error);
|
|
103
119
|
}
|
|
104
120
|
return tableEmptyRender === null || tableEmptyRender === void 0 ? void 0 : tableEmptyRender(tableInstance);
|
|
105
121
|
},
|
|
106
|
-
children: [
|
|
107
|
-
gutter: [0, 8],
|
|
108
|
-
style: contentStyle,
|
|
109
|
-
children: /*#__PURE__*/React.cloneElement(headerTitle, {
|
|
110
|
-
selectedRowData: selectedRowData,
|
|
111
|
-
allSelectChange: allSelectChange,
|
|
112
|
-
rowOnChange: rowOnChange
|
|
113
|
-
})
|
|
114
|
-
}), alwaysShowAlert && jsxRuntime.jsx("div", {
|
|
115
|
-
style: contentStyle,
|
|
116
|
-
children: jsxRuntime.jsx(antd.Alert, {
|
|
117
|
-
message: jsxRuntime.jsx(AlertMsg.default, {
|
|
118
|
-
actionRender: actionRender
|
|
119
|
-
}),
|
|
120
|
-
type: "info"
|
|
121
|
-
})
|
|
122
|
-
}), jsxRuntime.jsx(ProTable, _objectSpread(_objectSpread({}, props), {}, {
|
|
122
|
+
children: [jsxRuntime.jsx(ProTable, _objectSpread(_objectSpread({}, props), {}, {
|
|
123
123
|
columns: cols,
|
|
124
124
|
search: false,
|
|
125
125
|
options: options ? options : {
|
|
@@ -141,7 +141,7 @@ var Body = (function (_ref) {
|
|
|
141
141
|
affixProps: affixProps,
|
|
142
142
|
goTop: goTop
|
|
143
143
|
}, pagination))]
|
|
144
|
-
})
|
|
144
|
+
})]
|
|
145
145
|
});
|
|
146
146
|
});
|
|
147
147
|
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ConfigDataModal, ConfigItemModal } from "../modal";
|
|
2
|
+
import type { ColProps } from "antd";
|
|
3
|
+
import type React from "react";
|
|
4
|
+
export interface IHeaderProps {
|
|
5
|
+
configData?: ConfigDataModal;
|
|
6
|
+
onFinish?: (value: Record<string, any>) => Promise<any>;
|
|
7
|
+
searchSpan?: ColProps;
|
|
8
|
+
loading?: boolean;
|
|
9
|
+
headerStyle?: React.CSSProperties;
|
|
10
|
+
}
|
|
11
|
+
export interface FormConfigDataItemProviderModal extends ConfigItemModal {
|
|
12
|
+
className?: string;
|
|
13
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PaginationProps } from "antd";
|
|
2
|
-
import type { ParamsModal } from "
|
|
2
|
+
import type { ParamsModal } from "../modal";
|
|
3
3
|
import React from "react";
|
|
4
4
|
import type { AffixProps } from "antd/lib/affix";
|
|
5
5
|
export interface IPaginationProps extends PaginationProps {
|
package/lib/hooks/useReq.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -87,6 +87,22 @@ export default ({
|
|
|
87
87
|
const className = useClassName("hw-table-body");
|
|
88
88
|
return (
|
|
89
89
|
<div style={tableStyle} className={`hw_table_body ${className}`}>
|
|
90
|
+
{headerTitle && (
|
|
91
|
+
<Row gutter={[0, 8]} style={contentStyle}>
|
|
92
|
+
{React.cloneElement(
|
|
93
|
+
headerTitle as DetailedReactHTMLElement<any, any>,
|
|
94
|
+
{ selectedRowData, allSelectChange, rowOnChange }
|
|
95
|
+
)}
|
|
96
|
+
</Row>
|
|
97
|
+
)}
|
|
98
|
+
{alwaysShowAlert && (
|
|
99
|
+
<div style={contentStyle}>
|
|
100
|
+
<Alert
|
|
101
|
+
message={<AlertMsg actionRender={actionRender} />}
|
|
102
|
+
type="info"
|
|
103
|
+
/>
|
|
104
|
+
</div>
|
|
105
|
+
)}
|
|
90
106
|
<ConfigProvider
|
|
91
107
|
renderEmpty={() => {
|
|
92
108
|
if (error) {
|
|
@@ -95,22 +111,6 @@ export default ({
|
|
|
95
111
|
return tableEmptyRender?.(tableInstance);
|
|
96
112
|
}}
|
|
97
113
|
>
|
|
98
|
-
{headerTitle && (
|
|
99
|
-
<Row gutter={[0, 8]} style={contentStyle}>
|
|
100
|
-
{React.cloneElement(
|
|
101
|
-
headerTitle as DetailedReactHTMLElement<any, any>,
|
|
102
|
-
{ selectedRowData, allSelectChange, rowOnChange }
|
|
103
|
-
)}
|
|
104
|
-
</Row>
|
|
105
|
-
)}
|
|
106
|
-
{alwaysShowAlert && (
|
|
107
|
-
<div style={contentStyle}>
|
|
108
|
-
<Alert
|
|
109
|
-
message={<AlertMsg actionRender={actionRender} />}
|
|
110
|
-
type="info"
|
|
111
|
-
/>
|
|
112
|
-
</div>
|
|
113
|
-
)}
|
|
114
114
|
<ProTable
|
|
115
115
|
{...props}
|
|
116
116
|
columns={cols}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { PaginationProps } from "antd";
|
|
2
2
|
import { Affix, Pagination, Row } from "antd";
|
|
3
3
|
import { useHTableContext } from "../context";
|
|
4
|
-
import type { ParamsModal } from "
|
|
4
|
+
import type { ParamsModal } from "../modal";
|
|
5
5
|
import { useClassName } from "../hooks";
|
|
6
6
|
import React, { useState } from "react";
|
|
7
7
|
import type { AffixProps } from "antd/lib/affix";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useEffect, useMemo } from "react";
|
|
2
2
|
import { useRequest } from "ahooks";
|
|
3
|
-
import type { ParamsModal, ResultModal } from "
|
|
3
|
+
import type { ParamsModal, ResultModal } from "../modal";
|
|
4
4
|
export interface IParamsModal {
|
|
5
5
|
request?: (params: ParamsModal) => Promise<ResultModal>;
|
|
6
6
|
loading?: boolean;
|
package/tsconfig.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|