@hw-component/table 0.0.7-beta-v8 → 0.0.7-beta-v10
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/Options/Content.d.ts +2 -0
- package/es/HTableBody/Options/Content.js +83 -0
- package/es/HTableBody/Options/Title.d.ts +2 -0
- package/es/HTableBody/Options/Title.js +71 -0
- package/es/HTableBody/Options/index.d.ts +3 -0
- package/es/HTableBody/Options/index.js +124 -0
- package/es/HTableBody/Options/utils.d.ts +5 -0
- package/es/HTableBody/Options/utils.js +31 -0
- package/es/HTableBody/hooks.d.ts +9 -1149
- package/es/HTableBody/hooks.js +39 -9
- package/es/HTableBody/index.d.ts +2 -2
- package/es/HTableBody/index.js +28 -14
- package/es/HTableHeader/hooks.js +6 -3
- package/es/hooks/useHTable.d.ts +1 -0
- package/es/hooks/useHTable.js +2 -1
- package/es/index.css +43 -0
- package/es/modal.d.ts +6 -1
- package/lib/HTableBody/Options/Content.d.ts +2 -0
- package/lib/HTableBody/Options/Content.js +84 -0
- package/lib/HTableBody/Options/Title.d.ts +2 -0
- package/lib/HTableBody/Options/Title.js +72 -0
- package/lib/HTableBody/Options/index.d.ts +3 -0
- package/lib/HTableBody/Options/index.js +127 -0
- package/lib/HTableBody/Options/utils.d.ts +5 -0
- package/lib/HTableBody/Options/utils.js +32 -0
- package/lib/HTableBody/hooks.d.ts +9 -1149
- package/lib/HTableBody/hooks.js +38 -7
- package/lib/HTableBody/index.d.ts +2 -2
- package/lib/HTableBody/index.js +29 -15
- package/lib/HTableHeader/hooks.js +6 -3
- package/lib/hooks/useHTable.d.ts +1 -0
- package/lib/hooks/useHTable.js +2 -1
- package/lib/index.css +43 -0
- package/lib/modal.d.ts +6 -1
- package/package.json +1 -1
- package/src/components/HTableBody/Options/Content.tsx +58 -0
- package/src/components/HTableBody/Options/Title.tsx +48 -0
- package/src/components/HTableBody/Options/index.tsx +108 -0
- package/src/components/HTableBody/Options/modal.d.ts +14 -0
- package/src/components/HTableBody/Options/utils.ts +22 -0
- package/src/components/HTableBody/hooks.tsx +34 -8
- package/src/components/HTableBody/index.tsx +23 -17
- package/src/components/HTableHeader/hooks.tsx +3 -0
- package/src/components/hooks/useHTable.tsx +1 -0
- package/src/components/index.less +41 -0
- package/src/components/modal.ts +8 -1
- package/src/pages/Table/index.tsx +18 -23
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/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]]
|
|
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","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/Content.tsx":"36","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/Title.tsx":"37","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/index.tsx":"38","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/modal.d.ts":"39"},{"size":1541,"mtime":1709541397429,"results":"40","hashOfConfig":"41"},{"size":741,"mtime":1709541397429,"results":"42","hashOfConfig":"41"},{"size":308,"mtime":1709541397430,"results":"43","hashOfConfig":"41"},{"size":769,"mtime":1710811861083,"results":"44","hashOfConfig":"41"},{"size":590,"mtime":1710764754366,"results":"45","hashOfConfig":"41"},{"size":2264,"mtime":1711371966406,"results":"46","hashOfConfig":"41"},{"size":1001,"mtime":1711095487545,"results":"47","hashOfConfig":"41"},{"size":1011,"mtime":1710420049825,"results":"48","hashOfConfig":"41"},{"size":615,"mtime":1711372222024,"results":"49","hashOfConfig":"41"},{"size":676,"mtime":1710420049843,"results":"50","hashOfConfig":"41"},{"size":3895,"mtime":1711372222039,"results":"51","hashOfConfig":"41"},{"size":932,"mtime":1709620303143,"results":"52","hashOfConfig":"41"},{"size":4425,"mtime":1711372221997,"results":"53","hashOfConfig":"41"},{"size":2216,"mtime":1710420049765,"results":"54","hashOfConfig":"41"},{"size":1396,"mtime":1711159046327,"results":"55","hashOfConfig":"41"},{"size":1811,"mtime":1711095484422,"results":"56","hashOfConfig":"41"},{"size":209,"mtime":1711180552221,"results":"57","hashOfConfig":"41"},{"size":1410,"mtime":1711180552221,"results":"58","hashOfConfig":"41"},{"size":2409,"mtime":1711372222053,"results":"59","hashOfConfig":"41"},{"size":1711,"mtime":1711018011830,"results":"60","hashOfConfig":"41"},{"size":2815,"mtime":1711180552221,"results":"61","hashOfConfig":"41"},{"size":498,"mtime":1709893919938,"results":"62","hashOfConfig":"41"},{"size":1477,"mtime":1711018011772,"results":"63","hashOfConfig":"41"},{"size":1989,"mtime":1711018011783,"results":"64","hashOfConfig":"41"},{"size":2065,"mtime":1711018011810,"results":"65","hashOfConfig":"41"},{"size":1068,"mtime":1710763360964,"results":"66","hashOfConfig":"41"},{"size":3603,"mtime":1711017972577,"results":"67","hashOfConfig":"41"},{"size":2803,"mtime":1711372221978,"results":"68","hashOfConfig":"41"},{"size":1102,"mtime":1710829302576,"results":"69","hashOfConfig":"41"},{"size":1162,"mtime":1710829299926,"results":"70","hashOfConfig":"41"},{"size":2302,"mtime":1711102156682,"results":"71","hashOfConfig":"41"},{"size":1688,"mtime":1710827401948,"results":"72","hashOfConfig":"41"},{"size":4365,"mtime":1711372222017,"results":"73","hashOfConfig":"41"},{"size":1908,"mtime":1711102159240,"results":"74","hashOfConfig":"41"},{"size":445,"mtime":1711180552220,"results":"75","hashOfConfig":"41"},{"size":1561,"mtime":1711372221921},{"size":1345,"mtime":1711372221942},{"size":3464,"mtime":1711372221962},{"size":467,"mtime":1711372221967},{"filePath":"76","messages":"77","suppressedMessages":"78","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1mh59l9",{"filePath":"79","messages":"80","suppressedMessages":"81","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"82","messages":"83","suppressedMessages":"84","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"85","messages":"86","suppressedMessages":"87","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"88","messages":"89","suppressedMessages":"90","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"91","messages":"92","suppressedMessages":"93","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"94","messages":"95","suppressedMessages":"96","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"97","messages":"98","suppressedMessages":"99","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"100","messages":"101","suppressedMessages":"102","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"103","messages":"104","suppressedMessages":"105","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"106","messages":"107","suppressedMessages":"108","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"109","messages":"110","suppressedMessages":"111","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"112","messages":"113","suppressedMessages":"114","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"115","messages":"116","suppressedMessages":"117","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"118","messages":"119","suppressedMessages":"120","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"121","messages":"122","suppressedMessages":"123","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"124","messages":"125","suppressedMessages":"126","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"127","messages":"128","suppressedMessages":"129","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"130","messages":"131","suppressedMessages":"132","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"133","messages":"134","suppressedMessages":"135","errorCount":0,"fatalErrorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"136","messages":"137","suppressedMessages":"138","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"139","messages":"140","suppressedMessages":"141","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"142","messages":"143","suppressedMessages":"144","errorCount":0,"fatalErrorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"145","messages":"146","suppressedMessages":"147","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"148","messages":"149","suppressedMessages":"150","errorCount":0,"fatalErrorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"151","messages":"152","suppressedMessages":"153","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"154","messages":"155","suppressedMessages":"156","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"157","messages":"158","suppressedMessages":"159","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"160","messages":"161","suppressedMessages":"162","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"163","messages":"164","suppressedMessages":"165","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"166","messages":"167","suppressedMessages":"168","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"169","messages":"170","suppressedMessages":"171","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"172","messages":"173","suppressedMessages":"174","errorCount":0,"fatalErrorCount":0,"warningCount":5,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"175","messages":"176","suppressedMessages":"177","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"178","messages":"179","suppressedMessages":"180","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",["181","182"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/context.ts",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useCurrentTable.ts",["183"],[],"/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",["184"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/TableConfig.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/index.tsx",[],[],"/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",["185"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/pages/Table/index.tsx",["186","187"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/pages/TableCustomize/index.tsx",["188","189","190"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTablePagination/index.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/index.ts",["191"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/ModalTable/hooks.ts",["192","193","194"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/ModalTable/index.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/pages/ModalTable/index.tsx",["195","196","197","198"],[],"/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",["199"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/GoTop/index.tsx",["200","201"],[],"/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",["202","203","204","205","206"],[],"/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":"207","severity":1,"message":"208","line":20,"column":3,"nodeType":"209","messageId":"210","endLine":20,"endColumn":12},{"ruleId":"207","severity":1,"message":"211","line":21,"column":3,"nodeType":"209","messageId":"210","endLine":21,"endColumn":12},{"ruleId":"212","severity":1,"message":"213","line":31,"column":6,"nodeType":"214","endLine":31,"endColumn":13,"suggestions":"215"},{"ruleId":"207","severity":1,"message":"216","line":58,"column":6,"nodeType":"209","messageId":"210","endLine":58,"endColumn":20},{"ruleId":"212","severity":1,"message":"217","line":50,"column":6,"nodeType":"214","endLine":50,"endColumn":8,"suggestions":"218"},{"ruleId":"207","severity":1,"message":"219","line":44,"column":7,"nodeType":"209","messageId":"210","endLine":44,"endColumn":11},{"ruleId":"207","severity":1,"message":"220","line":85,"column":42,"nodeType":"209","messageId":"210","endLine":85,"endColumn":48},{"ruleId":"207","severity":1,"message":"221","line":5,"column":3,"nodeType":"209","messageId":"210","endLine":5,"endColumn":15},{"ruleId":"207","severity":1,"message":"222","line":6,"column":3,"nodeType":"209","messageId":"210","endLine":6,"endColumn":19},{"ruleId":"207","severity":1,"message":"220","line":41,"column":36,"nodeType":"209","messageId":"210","endLine":41,"endColumn":42},{"ruleId":"212","severity":1,"message":"223","line":13,"column":6,"nodeType":"214","endLine":13,"endColumn":17,"suggestions":"224"},{"ruleId":"207","severity":1,"message":"225","line":15,"column":14,"nodeType":"209","messageId":"210","endLine":15,"endColumn":39},{"ruleId":"212","severity":1,"message":"226","line":18,"column":6,"nodeType":"214","endLine":18,"endColumn":8,"suggestions":"227"},{"ruleId":"212","severity":1,"message":"228","line":46,"column":6,"nodeType":"214","endLine":46,"endColumn":8,"suggestions":"229"},{"ruleId":"207","severity":1,"message":"230","line":24,"column":7,"nodeType":"209","messageId":"210","endLine":24,"endColumn":11},{"ruleId":"207","severity":1,"message":"220","line":27,"column":32,"nodeType":"209","messageId":"210","endLine":27,"endColumn":38},{"ruleId":"207","severity":1,"message":"220","line":48,"column":32,"nodeType":"209","messageId":"210","endLine":48,"endColumn":38},{"ruleId":"207","severity":1,"message":"231","line":87,"column":9,"nodeType":"209","messageId":"210","endLine":87,"endColumn":21},{"ruleId":"212","severity":1,"message":"232","line":71,"column":6,"nodeType":"214","endLine":71,"endColumn":40,"suggestions":"233"},{"ruleId":"212","severity":1,"message":"234","line":26,"column":6,"nodeType":"214","endLine":26,"endColumn":11,"suggestions":"235"},{"ruleId":"212","severity":1,"message":"234","line":34,"column":6,"nodeType":"214","endLine":34,"endColumn":8,"suggestions":"236"},{"ruleId":"207","severity":1,"message":"237","line":66,"column":3,"nodeType":"209","messageId":"210","endLine":66,"endColumn":20},{"ruleId":"207","severity":1,"message":"238","line":67,"column":3,"nodeType":"209","messageId":"210","endLine":67,"endColumn":13},{"ruleId":"207","severity":1,"message":"239","line":68,"column":3,"nodeType":"209","messageId":"210","endLine":68,"endColumn":14},{"ruleId":"212","severity":1,"message":"240","line":164,"column":6,"nodeType":"214","endLine":164,"endColumn":42,"suggestions":"241"},{"ruleId":"212","severity":1,"message":"240","line":170,"column":6,"nodeType":"214","endLine":170,"endColumn":42,"suggestions":"242"},"@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",["243"],"'FooterRenderFn' is defined but never used.","React Hook useEffect has missing dependencies: 'manual', 'reloadFn', 'request', and 'resultAction'. Either include them or remove the dependency array.",["244"],"'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.",["245"],"'params' is defined but never used.","React Hook useMemo has a missing dependency: 'tableInstance'. Either include it or remove the dependency array.",["246"],"React Hook useEffect has missing dependencies: 'dialogTableInstance', 'hide', and 'show'. Either include them or remove the dependency array.",["247"],"'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.",["248"],"React Hook useEffect has a missing dependency: 'cuDom'. Either include it or remove the dependency array.",["249"],["250"],"'childrenDataIndex' is defined but never used.","'showSearch' is defined but never used.","'hideInTable' is defined but never used.","React Hook useEffect has a missing dependency: 'mkNewFn'. Either include it or remove the dependency array.",["251"],["252"],{"desc":"253","fix":"254"},{"desc":"255","fix":"256"},{"desc":"257","fix":"258"},{"desc":"259","fix":"260"},{"desc":"261","fix":"262"},{"desc":"263","fix":"264"},{"desc":"265","fix":"266"},{"desc":"267","fix":"268"},{"desc":"269","fix":"270"},{"desc":"269","fix":"271"},"Update the dependencies array to be: [changeRowData, dispatch, getTableParams, reload, reloadWithParams, table, useCurrentTable]",{"range":"272","text":"273"},"Update the dependencies array to be: [manual, reloadFn, request, resultAction]",{"range":"274","text":"275"},"Update the dependencies array to be: [className, config]",{"range":"276","text":"277"},"Update the dependencies array to be: [tableInstance]",{"range":"278","text":"279"},"Update the dependencies array to be: [dialogTableInstance, hide, show]",{"range":"280","text":"281"},"Update the dependencies array to be: [selectedRowKeys, records, rowKey, rowOnChange]",{"range":"282","text":"283"},"Update the dependencies array to be: [cuDom, dom]",{"range":"284","text":"285"},"Update the dependencies array to be: [cuDom]",{"range":"286","text":"287"},"Update the dependencies array to be: [configData, searchSpan, headerOpen, mkNewFn]",{"range":"288","text":"289"},{"range":"290","text":"289"},[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]",[4093,4129],"[configData, searchSpan, headerOpen, mkNewFn]",[4284,4320]]
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
// welcome to hoo hoo hoo
|
|
2
|
+
import _Object$keys from '@babel/runtime-corejs3/core-js/object/keys';
|
|
3
|
+
import _Object$getOwnPropertySymbols from '@babel/runtime-corejs3/core-js/object/get-own-property-symbols';
|
|
4
|
+
import _filterInstanceProperty from '@babel/runtime-corejs3/core-js/instance/filter';
|
|
5
|
+
import _Object$getOwnPropertyDescriptor from '@babel/runtime-corejs3/core-js/object/get-own-property-descriptor';
|
|
6
|
+
import _Object$getOwnPropertyDescriptors from '@babel/runtime-corejs3/core-js/object/get-own-property-descriptors';
|
|
7
|
+
import _Object$defineProperties from '@babel/runtime-corejs3/core-js/object/define-properties';
|
|
8
|
+
import _Object$defineProperty from '@babel/runtime-corejs3/core-js/object/define-property';
|
|
9
|
+
import _defineProperty from '@babel/runtime-corejs3/helpers/defineProperty';
|
|
10
|
+
import _toConsumableArray from '@babel/runtime-corejs3/helpers/toConsumableArray';
|
|
11
|
+
import 'core-js/modules/es.object.to-string.js';
|
|
12
|
+
import 'core-js/modules/es.regexp.to-string.js';
|
|
13
|
+
import _forEachInstanceProperty from '@babel/runtime-corejs3/core-js/instance/for-each';
|
|
14
|
+
import _indexOfInstanceProperty from '@babel/runtime-corejs3/core-js/instance/index-of';
|
|
15
|
+
import { jsx } from 'react/jsx-runtime';
|
|
16
|
+
import { useClassName } from '../../hooks/index.js';
|
|
17
|
+
import { useMemo } from 'react';
|
|
18
|
+
import { Tree } from 'antd';
|
|
19
|
+
|
|
20
|
+
function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
21
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
22
|
+
var ColsSettingContent = function ColsSettingContent(_ref) {
|
|
23
|
+
var columns = _ref.columns,
|
|
24
|
+
onChange = _ref.onChange,
|
|
25
|
+
checkKeys = _ref.checkKeys;
|
|
26
|
+
var content = useClassName("hw-table-body-option-setting-content");
|
|
27
|
+
var titleClass = useClassName("hw-table-body-option-setting-content-title");
|
|
28
|
+
var treeClass = useClassName("hw-table-body-option-tree");
|
|
29
|
+
var contentTreeData = useMemo(function () {
|
|
30
|
+
var treeData = [];
|
|
31
|
+
_forEachInstanceProperty(columns).call(columns, function (_ref2) {
|
|
32
|
+
var dataIndex = _ref2.dataIndex,
|
|
33
|
+
title = _ref2.title;
|
|
34
|
+
if (dataIndex) {
|
|
35
|
+
treeData.push({
|
|
36
|
+
title: jsx("div", {
|
|
37
|
+
className: titleClass,
|
|
38
|
+
children: title
|
|
39
|
+
}),
|
|
40
|
+
key: dataIndex.toString()
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
return treeData;
|
|
45
|
+
}, [columns]);
|
|
46
|
+
var change = function change(key) {
|
|
47
|
+
var newCols = _toConsumableArray(columns);
|
|
48
|
+
_forEachInstanceProperty(newCols).call(newCols, function (_ref3, index) {
|
|
49
|
+
var dataIndex = _ref3.dataIndex;
|
|
50
|
+
if (!dataIndex) {
|
|
51
|
+
return;
|
|
52
|
+
}
|
|
53
|
+
var strDataIndex = dataIndex.toString();
|
|
54
|
+
var item = newCols[index];
|
|
55
|
+
newCols[index] = _objectSpread(_objectSpread({}, item), {}, {
|
|
56
|
+
hideInTable: _indexOfInstanceProperty(key).call(key, strDataIndex) == -1
|
|
57
|
+
});
|
|
58
|
+
});
|
|
59
|
+
onChange(newCols);
|
|
60
|
+
};
|
|
61
|
+
return jsx("div", {
|
|
62
|
+
className: content,
|
|
63
|
+
children: jsx("div", {
|
|
64
|
+
style: {
|
|
65
|
+
paddingTop: 6,
|
|
66
|
+
paddingBottom: 6
|
|
67
|
+
},
|
|
68
|
+
children: jsx(Tree, {
|
|
69
|
+
checkable: true,
|
|
70
|
+
className: treeClass,
|
|
71
|
+
checkedKeys: checkKeys,
|
|
72
|
+
onCheck: function onCheck(key) {
|
|
73
|
+
change(key);
|
|
74
|
+
},
|
|
75
|
+
height: 268,
|
|
76
|
+
treeData: contentTreeData
|
|
77
|
+
})
|
|
78
|
+
})
|
|
79
|
+
});
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
export { ColsSettingContent };
|
|
83
|
+
// powered by hdj
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
// welcome to hoo hoo hoo
|
|
2
|
+
import _defineProperty from '@babel/runtime-corejs3/helpers/defineProperty';
|
|
3
|
+
import _toConsumableArray from '@babel/runtime-corejs3/helpers/toConsumableArray';
|
|
4
|
+
import _filterInstanceProperty from '@babel/runtime-corejs3/core-js/instance/filter';
|
|
5
|
+
import _forEachInstanceProperty from '@babel/runtime-corejs3/core-js/instance/for-each';
|
|
6
|
+
import _Object$keys from '@babel/runtime-corejs3/core-js/object/keys';
|
|
7
|
+
import _Object$getOwnPropertySymbols from '@babel/runtime-corejs3/core-js/object/get-own-property-symbols';
|
|
8
|
+
import _Object$getOwnPropertyDescriptor from '@babel/runtime-corejs3/core-js/object/get-own-property-descriptor';
|
|
9
|
+
import _Object$getOwnPropertyDescriptors from '@babel/runtime-corejs3/core-js/object/get-own-property-descriptors';
|
|
10
|
+
import _Object$defineProperties from '@babel/runtime-corejs3/core-js/object/define-properties';
|
|
11
|
+
import _Object$defineProperty from '@babel/runtime-corejs3/core-js/object/define-property';
|
|
12
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
13
|
+
import { useClassName } from '../../hooks/index.js';
|
|
14
|
+
import { Typography, Row, Space, Checkbox } from 'antd';
|
|
15
|
+
import { useMemo } from 'react';
|
|
16
|
+
|
|
17
|
+
function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
18
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
19
|
+
var Link = Typography.Link;
|
|
20
|
+
var Title = function Title(_ref) {
|
|
21
|
+
var columns = _ref.columns,
|
|
22
|
+
onChange = _ref.onChange,
|
|
23
|
+
checkKeys = _ref.checkKeys;
|
|
24
|
+
var title = useClassName("hw-table-body-option-setting-title");
|
|
25
|
+
var relLen = useMemo(function () {
|
|
26
|
+
var relArray = _filterInstanceProperty(columns).call(columns, function (_ref2) {
|
|
27
|
+
var dataIndex = _ref2.dataIndex;
|
|
28
|
+
return !!dataIndex;
|
|
29
|
+
});
|
|
30
|
+
return relArray.length;
|
|
31
|
+
}, [columns]);
|
|
32
|
+
var allChange = function allChange(hideInTable) {
|
|
33
|
+
var newCols = _toConsumableArray(columns);
|
|
34
|
+
_forEachInstanceProperty(columns).call(columns, function (item, index) {
|
|
35
|
+
var dataIndex = item.dataIndex;
|
|
36
|
+
if (!dataIndex) {
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
newCols[index] = _objectSpread(_objectSpread({}, item), {}, {
|
|
40
|
+
hideInTable: hideInTable
|
|
41
|
+
});
|
|
42
|
+
});
|
|
43
|
+
onChange(newCols);
|
|
44
|
+
};
|
|
45
|
+
var reset = function reset() {
|
|
46
|
+
allChange(false);
|
|
47
|
+
};
|
|
48
|
+
var indeterminate = relLen !== checkKeys.length && checkKeys.length > 0;
|
|
49
|
+
return jsxs(Row, {
|
|
50
|
+
className: title,
|
|
51
|
+
justify: "space-between",
|
|
52
|
+
children: [jsxs(Space, {
|
|
53
|
+
size: 4,
|
|
54
|
+
children: [jsx(Checkbox, {
|
|
55
|
+
checked: relLen === checkKeys.length,
|
|
56
|
+
indeterminate: indeterminate,
|
|
57
|
+
onChange: function onChange(e) {
|
|
58
|
+
allChange(!e.target.checked);
|
|
59
|
+
}
|
|
60
|
+
}), jsx("span", {
|
|
61
|
+
children: "\u5217\u5C55\u793A"
|
|
62
|
+
})]
|
|
63
|
+
}), jsx(Link, {
|
|
64
|
+
onClick: reset,
|
|
65
|
+
children: "\u91CD\u7F6E"
|
|
66
|
+
})]
|
|
67
|
+
});
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
export { Title };
|
|
71
|
+
// powered by hdj
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
// welcome to hoo hoo hoo
|
|
2
|
+
import _slicedToArray from '@babel/runtime-corejs3/helpers/slicedToArray';
|
|
3
|
+
import _keysInstanceProperty from '@babel/runtime-corejs3/core-js/instance/keys';
|
|
4
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
5
|
+
import { useClassName } from '../../hooks/index.js';
|
|
6
|
+
import { Row, Space, Tooltip, Dropdown, Popover, Menu } from 'antd';
|
|
7
|
+
import { ReloadOutlined, ColumnHeightOutlined, SettingOutlined } from '@ant-design/icons';
|
|
8
|
+
import { useRef, useState, useEffect } from 'react';
|
|
9
|
+
import { ColsSettingContent } from './Content.js';
|
|
10
|
+
import { Title } from './Title.js';
|
|
11
|
+
import { useHTableContext } from '../../context.js';
|
|
12
|
+
import { defaultKeys } from './utils.js';
|
|
13
|
+
|
|
14
|
+
var Options = (function (_ref) {
|
|
15
|
+
var reload = _ref.reload,
|
|
16
|
+
_ref$size = _ref.size,
|
|
17
|
+
size = _ref$size === void 0 ? "middle" : _ref$size,
|
|
18
|
+
_ref$density = _ref.density,
|
|
19
|
+
density = _ref$density === void 0 ? true : _ref$density,
|
|
20
|
+
setSizeChange = _ref.setSizeChange,
|
|
21
|
+
columns = _ref.columns,
|
|
22
|
+
onChange = _ref.onChange;
|
|
23
|
+
var className = useClassName("hw-table-body-option");
|
|
24
|
+
var pointer = useClassName(["hw-table-pointer", "hw-table-body-option-icon"]);
|
|
25
|
+
var ref = useRef(null);
|
|
26
|
+
var _useState = useState([]),
|
|
27
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
28
|
+
keys = _useState2[0],
|
|
29
|
+
setKeys = _useState2[1];
|
|
30
|
+
var _useHTableContext = useHTableContext(),
|
|
31
|
+
tableInstance = _useHTableContext.tableInstance;
|
|
32
|
+
useEffect(function () {
|
|
33
|
+
var _defaultKeys = defaultKeys(columns),
|
|
34
|
+
changeKeys = _keysInstanceProperty(_defaultKeys),
|
|
35
|
+
allKeys = _defaultKeys.allKeys;
|
|
36
|
+
tableInstance.table.settingKeys = allKeys;
|
|
37
|
+
setKeys(changeKeys);
|
|
38
|
+
}, [columns]);
|
|
39
|
+
var SizeItem = function SizeItem() {
|
|
40
|
+
var MenuComponent = Menu;
|
|
41
|
+
var MenuItem = Menu.Item;
|
|
42
|
+
return jsxs(MenuComponent, {
|
|
43
|
+
selectedKeys: [size],
|
|
44
|
+
onClick: function onClick(_ref2) {
|
|
45
|
+
var key = _ref2.key;
|
|
46
|
+
setSizeChange(key);
|
|
47
|
+
},
|
|
48
|
+
children: [jsx(MenuItem, {
|
|
49
|
+
children: jsx("div", {
|
|
50
|
+
style: {
|
|
51
|
+
width: 68
|
|
52
|
+
},
|
|
53
|
+
children: "\u9ED8\u8BA4"
|
|
54
|
+
})
|
|
55
|
+
}, "large"), jsx(MenuItem, {
|
|
56
|
+
children: jsx("div", {
|
|
57
|
+
children: "\u4E2D\u7B49"
|
|
58
|
+
})
|
|
59
|
+
}, "middle"), jsx(MenuItem, {
|
|
60
|
+
children: jsx("div", {
|
|
61
|
+
children: "\u7D27\u51D1"
|
|
62
|
+
})
|
|
63
|
+
}, "small")]
|
|
64
|
+
});
|
|
65
|
+
};
|
|
66
|
+
return jsx(Row, {
|
|
67
|
+
justify: "end",
|
|
68
|
+
className: className,
|
|
69
|
+
ref: ref,
|
|
70
|
+
children: jsxs(Space, {
|
|
71
|
+
size: 20,
|
|
72
|
+
children: [reload && jsx(Tooltip, {
|
|
73
|
+
title: "\u5237\u65B0",
|
|
74
|
+
children: jsx(ReloadOutlined, {
|
|
75
|
+
className: pointer,
|
|
76
|
+
width: 24,
|
|
77
|
+
onClick: function onClick(e) {
|
|
78
|
+
if (typeof reload === "function") {
|
|
79
|
+
reload(e);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
})
|
|
83
|
+
}), density && jsx(Tooltip, {
|
|
84
|
+
title: "\u5BC6\u5EA6",
|
|
85
|
+
children: jsx(Dropdown, {
|
|
86
|
+
overlay: SizeItem,
|
|
87
|
+
placement: "bottom",
|
|
88
|
+
arrow: true,
|
|
89
|
+
trigger: ["click"],
|
|
90
|
+
children: jsx(ColumnHeightOutlined, {
|
|
91
|
+
className: pointer,
|
|
92
|
+
width: 24
|
|
93
|
+
})
|
|
94
|
+
})
|
|
95
|
+
}), jsx(Tooltip, {
|
|
96
|
+
title: "\u5217\u8BBE\u7F6E",
|
|
97
|
+
children: jsx(Popover, {
|
|
98
|
+
content: jsx(ColsSettingContent, {
|
|
99
|
+
columns: columns,
|
|
100
|
+
checkKeys: keys,
|
|
101
|
+
onChange: onChange
|
|
102
|
+
}),
|
|
103
|
+
title: jsx(Title, {
|
|
104
|
+
columns: columns,
|
|
105
|
+
checkKeys: keys,
|
|
106
|
+
onChange: onChange
|
|
107
|
+
}),
|
|
108
|
+
placement: "bottomLeft",
|
|
109
|
+
getPopupContainer: function getPopupContainer() {
|
|
110
|
+
return ref.current || document.body;
|
|
111
|
+
},
|
|
112
|
+
trigger: "click",
|
|
113
|
+
children: jsx(SettingOutlined, {
|
|
114
|
+
className: pointer,
|
|
115
|
+
width: 24
|
|
116
|
+
})
|
|
117
|
+
})
|
|
118
|
+
})]
|
|
119
|
+
})
|
|
120
|
+
});
|
|
121
|
+
});
|
|
122
|
+
|
|
123
|
+
export { Options as default };
|
|
124
|
+
// powered by hdj
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// welcome to hoo hoo hoo
|
|
2
|
+
import _toConsumableArray from '@babel/runtime-corejs3/helpers/toConsumableArray';
|
|
3
|
+
import 'core-js/modules/es.object.to-string.js';
|
|
4
|
+
import 'core-js/modules/es.regexp.to-string.js';
|
|
5
|
+
import _forEachInstanceProperty from '@babel/runtime-corejs3/core-js/instance/for-each';
|
|
6
|
+
|
|
7
|
+
var defaultKeys = function defaultKeys(cols) {
|
|
8
|
+
var keys = [];
|
|
9
|
+
var allKeys = [];
|
|
10
|
+
_forEachInstanceProperty(cols).call(cols, function (value) {
|
|
11
|
+
var dataIndex = value.dataIndex,
|
|
12
|
+
hideInTable = value.hideInTable,
|
|
13
|
+
childrenDataIndex = value.childrenDataIndex;
|
|
14
|
+
if (hideInTable || !dataIndex) {
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
keys.push(dataIndex.toString());
|
|
18
|
+
if (childrenDataIndex) {
|
|
19
|
+
allKeys.push.apply(allKeys, _toConsumableArray(childrenDataIndex));
|
|
20
|
+
return;
|
|
21
|
+
}
|
|
22
|
+
allKeys.push(dataIndex.toString());
|
|
23
|
+
});
|
|
24
|
+
return {
|
|
25
|
+
keys: keys,
|
|
26
|
+
allKeys: allKeys
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
export { defaultKeys };
|
|
31
|
+
// powered by hdj
|