@hw-component/table 0.0.8-beta-v8 → 0.0.8-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 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","/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","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/utils.ts":"40"},{"size":1541,"mtime":1709541397429,"results":"41","hashOfConfig":"42"},{"size":741,"mtime":1709541397429,"results":"43","hashOfConfig":"42"},{"size":308,"mtime":1709541397430,"results":"44","hashOfConfig":"42"},{"size":769,"mtime":1710811861083,"results":"45","hashOfConfig":"42"},{"size":590,"mtime":1710764754366,"results":"46","hashOfConfig":"42"},{"size":2391,"mtime":1711680603085,"results":"47","hashOfConfig":"42"},{"size":1001,"mtime":1711095487545,"results":"48","hashOfConfig":"42"},{"size":1029,"mtime":1711679923592,"results":"49","hashOfConfig":"42"},{"size":709,"mtime":1711680386755,"results":"50","hashOfConfig":"42"},{"size":676,"mtime":1710420049843,"results":"51","hashOfConfig":"42"},{"size":4150,"mtime":1711680603116,"results":"52","hashOfConfig":"42"},{"size":932,"mtime":1709620303143,"results":"53","hashOfConfig":"42"},{"size":4580,"mtime":1711679783882,"results":"54","hashOfConfig":"42"},{"size":2216,"mtime":1710420049765,"results":"55","hashOfConfig":"42"},{"size":1396,"mtime":1711159046327,"results":"56","hashOfConfig":"42"},{"size":1811,"mtime":1711095484422,"results":"57","hashOfConfig":"42"},{"size":209,"mtime":1711180552221,"results":"58","hashOfConfig":"42"},{"size":1410,"mtime":1711180552221,"results":"59","hashOfConfig":"42"},{"size":2556,"mtime":1711679783962,"results":"60","hashOfConfig":"42"},{"size":1711,"mtime":1711018011830,"results":"61","hashOfConfig":"42"},{"size":2815,"mtime":1711180552221,"results":"62","hashOfConfig":"42"},{"size":498,"mtime":1709893919938,"results":"63","hashOfConfig":"42"},{"size":1493,"mtime":1711679783897,"results":"64","hashOfConfig":"42"},{"size":2063,"mtime":1711679783908,"results":"65","hashOfConfig":"42"},{"size":2361,"mtime":1711679783952,"results":"66","hashOfConfig":"42"},{"size":1068,"mtime":1710763360964,"results":"67","hashOfConfig":"42"},{"size":3603,"mtime":1711017972577,"results":"68","hashOfConfig":"42"},{"size":2820,"mtime":1711679783860,"results":"69","hashOfConfig":"42"},{"size":1102,"mtime":1710829302576,"results":"70","hashOfConfig":"42"},{"size":1162,"mtime":1710829299926,"results":"71","hashOfConfig":"42"},{"size":2302,"mtime":1711102156682,"results":"72","hashOfConfig":"42"},{"size":1688,"mtime":1710827401948,"results":"73","hashOfConfig":"42"},{"size":4365,"mtime":1711372222017,"results":"74","hashOfConfig":"42"},{"size":1908,"mtime":1711102159240,"results":"75","hashOfConfig":"42"},{"size":445,"mtime":1711180552220,"results":"76","hashOfConfig":"42"},{"size":1624,"mtime":1711679783797,"results":"77","hashOfConfig":"42"},{"size":1349,"mtime":1711679772700,"results":"78","hashOfConfig":"42"},{"size":3172,"mtime":1711679783837,"results":"79","hashOfConfig":"42"},{"size":482,"mtime":1711372224438,"results":"80","hashOfConfig":"42"},{"size":1232,"mtime":1711679786298,"results":"81","hashOfConfig":"42"},{"filePath":"82","messages":"83","suppressedMessages":"84","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1mh59l9",{"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":0,"fixableErrorCount":0,"fixableWarningCount":0},{"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":2,"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":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"106","messages":"107","suppressedMessages":"108","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"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":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"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":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"130","messages":"131","suppressedMessages":"132","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"133","messages":"134","suppressedMessages":"135","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"136","messages":"137","suppressedMessages":"138","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"139","messages":"140","suppressedMessages":"141","errorCount":0,"fatalErrorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"142","messages":"143","suppressedMessages":"144","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"145","messages":"146","suppressedMessages":"147","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"148","messages":"149","suppressedMessages":"150","errorCount":0,"fatalErrorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"151","messages":"152","suppressedMessages":"153","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"154","messages":"155","suppressedMessages":"156","errorCount":0,"fatalErrorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"157","messages":"158","suppressedMessages":"159","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"160","messages":"161","suppressedMessages":"162","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"163","messages":"164","suppressedMessages":"165","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"166","messages":"167","suppressedMessages":"168","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"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":0,"fixableErrorCount":0,"fixableWarningCount":0},{"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":5,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"181","messages":"182","suppressedMessages":"183","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"184","messages":"185","suppressedMessages":"186","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"187","messages":"188","suppressedMessages":"189","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"190","messages":"191","suppressedMessages":"192","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"193","messages":"194","suppressedMessages":"195","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"196","messages":"197","suppressedMessages":"198","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"199","messages":"200","suppressedMessages":"201","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",["202","203"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/context.ts",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useCurrentTable.ts",["204"],[],"/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",["205"],[],"/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",["206"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/pages/Table/index.tsx",["207","208"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/pages/TableCustomize/index.tsx",["209","210","211"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTablePagination/index.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/index.ts",["212"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/ModalTable/hooks.ts",["213","214","215"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/ModalTable/index.tsx",["216"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/pages/ModalTable/index.tsx",["217","218","219","220"],[],"/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",["221","222"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/GoTop/index.tsx",["223","224"],[],"/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",["225","226","227","228","229"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/defaultSubComponent.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/modal.ts",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/Content.tsx",["230"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/Title.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/index.tsx",["231"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/modal.d.ts",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/utils.ts",[],[],{"ruleId":"232","severity":1,"message":"233","line":20,"column":3,"nodeType":"234","messageId":"235","endLine":20,"endColumn":12},{"ruleId":"232","severity":1,"message":"236","line":21,"column":3,"nodeType":"234","messageId":"235","endLine":21,"endColumn":12},{"ruleId":"237","severity":1,"message":"238","line":31,"column":6,"nodeType":"239","endLine":31,"endColumn":13,"suggestions":"240"},{"ruleId":"232","severity":1,"message":"241","line":59,"column":6,"nodeType":"234","messageId":"235","endLine":59,"endColumn":20},{"ruleId":"237","severity":1,"message":"242","line":50,"column":6,"nodeType":"239","endLine":50,"endColumn":8,"suggestions":"243"},{"ruleId":"232","severity":1,"message":"244","line":44,"column":7,"nodeType":"234","messageId":"235","endLine":44,"endColumn":11},{"ruleId":"232","severity":1,"message":"245","line":90,"column":42,"nodeType":"234","messageId":"235","endLine":90,"endColumn":48},{"ruleId":"232","severity":1,"message":"246","line":5,"column":3,"nodeType":"234","messageId":"235","endLine":5,"endColumn":15},{"ruleId":"232","severity":1,"message":"247","line":6,"column":3,"nodeType":"234","messageId":"235","endLine":6,"endColumn":19},{"ruleId":"232","severity":1,"message":"245","line":41,"column":36,"nodeType":"234","messageId":"235","endLine":41,"endColumn":42},{"ruleId":"237","severity":1,"message":"248","line":13,"column":6,"nodeType":"239","endLine":13,"endColumn":17,"suggestions":"249"},{"ruleId":"232","severity":1,"message":"250","line":15,"column":14,"nodeType":"234","messageId":"235","endLine":15,"endColumn":39},{"ruleId":"237","severity":1,"message":"251","line":19,"column":6,"nodeType":"239","endLine":19,"endColumn":8,"suggestions":"252"},{"ruleId":"237","severity":1,"message":"253","line":47,"column":6,"nodeType":"239","endLine":47,"endColumn":8,"suggestions":"254"},{"ruleId":"232","severity":1,"message":"255","line":3,"column":32,"nodeType":"234","messageId":"235","endLine":3,"endColumn":43},{"ruleId":"232","severity":1,"message":"256","line":24,"column":7,"nodeType":"234","messageId":"235","endLine":24,"endColumn":11},{"ruleId":"232","severity":1,"message":"245","line":27,"column":32,"nodeType":"234","messageId":"235","endLine":27,"endColumn":38},{"ruleId":"232","severity":1,"message":"245","line":48,"column":32,"nodeType":"234","messageId":"235","endLine":48,"endColumn":38},{"ruleId":"232","severity":1,"message":"257","line":87,"column":9,"nodeType":"234","messageId":"235","endLine":87,"endColumn":21},{"ruleId":"237","severity":1,"message":"258","line":57,"column":6,"nodeType":"239","endLine":57,"endColumn":39,"suggestions":"259"},{"ruleId":"237","severity":1,"message":"260","line":86,"column":6,"nodeType":"239","endLine":86,"endColumn":40,"suggestions":"261"},{"ruleId":"237","severity":1,"message":"262","line":26,"column":6,"nodeType":"239","endLine":26,"endColumn":11,"suggestions":"263"},{"ruleId":"237","severity":1,"message":"262","line":34,"column":6,"nodeType":"239","endLine":34,"endColumn":8,"suggestions":"264"},{"ruleId":"232","severity":1,"message":"265","line":66,"column":3,"nodeType":"234","messageId":"235","endLine":66,"endColumn":20},{"ruleId":"232","severity":1,"message":"266","line":67,"column":3,"nodeType":"234","messageId":"235","endLine":67,"endColumn":13},{"ruleId":"232","severity":1,"message":"267","line":68,"column":3,"nodeType":"234","messageId":"235","endLine":68,"endColumn":14},{"ruleId":"237","severity":1,"message":"268","line":164,"column":6,"nodeType":"239","endLine":164,"endColumn":42,"suggestions":"269"},{"ruleId":"237","severity":1,"message":"268","line":170,"column":6,"nodeType":"239","endLine":170,"endColumn":42,"suggestions":"270"},{"ruleId":"237","severity":1,"message":"271","line":26,"column":6,"nodeType":"239","endLine":26,"endColumn":15,"suggestions":"272"},{"ruleId":"237","severity":1,"message":"273","line":38,"column":6,"nodeType":"239","endLine":38,"endColumn":15,"suggestions":"274"},"@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",["275"],"'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.",["276"],"'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.",["277"],"'params' is defined but never used.","React Hook useMemo has a missing dependency: 'tableInstance'. Either include it or remove the dependency array.",["278"],"React Hook useEffect has missing dependencies: 'dialogTableInstance', 'hide', and 'show'. Either include them or remove the dependency array.",["279"],"'ParamsModal' is defined but never used.","'req1' is assigned a value but never used.","'dialogTable1' is assigned a value but never used.","React Hook useEffect has a missing dependency: 'changeConfigData'. Either include it or remove the dependency array.",["280"],"React Hook useEffect has a missing dependency: 'rowOnChange'. Either include it or remove the dependency array.",["281"],"React Hook useEffect has a missing dependency: 'cuDom'. Either include it or remove the dependency array.",["282"],["283"],"'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.",["284"],["285"],"React Hook useMemo has a missing dependency: 'titleClass'. Either include it or remove the dependency array.",["286"],"React Hook useEffect has a missing dependency: 'tableInstance.table'. Either include it or remove the dependency array.",["287"],{"desc":"288","fix":"289"},{"desc":"290","fix":"291"},{"desc":"292","fix":"293"},{"desc":"294","fix":"295"},{"desc":"296","fix":"297"},{"desc":"298","fix":"299"},{"desc":"300","fix":"301"},{"desc":"302","fix":"303"},{"desc":"304","fix":"305"},{"desc":"306","fix":"307"},{"desc":"306","fix":"308"},{"desc":"309","fix":"310"},{"desc":"311","fix":"312"},"Update the dependencies array to be: [changeRowData, dispatch, getTableParams, reload, reloadWithParams, table, useCurrentTable]",{"range":"313","text":"314"},"Update the dependencies array to be: [manual, reloadFn, request, resultAction]",{"range":"315","text":"316"},"Update the dependencies array to be: [className, config]",{"range":"317","text":"318"},"Update the dependencies array to be: [tableInstance]",{"range":"319","text":"320"},"Update the dependencies array to be: [dialogTableInstance, hide, show]",{"range":"321","text":"322"},"Update the dependencies array to be: [configData, table, rowSelection, changeConfigData]",{"range":"323","text":"324"},"Update the dependencies array to be: [selectedRowKeys, records, rowKey, rowOnChange]",{"range":"325","text":"326"},"Update the dependencies array to be: [cuDom, dom]",{"range":"327","text":"328"},"Update the dependencies array to be: [cuDom]",{"range":"329","text":"330"},"Update the dependencies array to be: [configData, searchSpan, headerOpen, mkNewFn]",{"range":"331","text":"332"},{"range":"333","text":"332"},"Update the dependencies array to be: [columns, titleClass]",{"range":"334","text":"335"},"Update the dependencies array to be: [columns, tableInstance.table]",{"range":"336","text":"337"},[1016,1023],"[changeRowData, dispatch, getTableParams, reload, reloadWithParams, table, useCurrentTable]",[1222,1224],"[manual, reloadFn, request, resultAction]",[481,492],"[className, config]",[513,515],"[tableInstance]",[1219,1221],"[dialogTableInstance, hide, show]",[1819,1852],"[configData, table, rowSelection, changeConfigData]",[2587,2621],"[selectedRowKeys, records, rowKey, rowOnChange]",[825,830],"[cuDom, dom]",[1021,1023],"[cuDom]",[4093,4129],"[configData, searchSpan, headerOpen, mkNewFn]",[4284,4320],[839,848],"[columns, titleClass]",[1181,1190],"[columns, tableInstance.table]"]
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","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/utils.ts":"40"},{"size":1541,"mtime":1709541397429,"results":"41","hashOfConfig":"42"},{"size":741,"mtime":1709541397429,"results":"43","hashOfConfig":"42"},{"size":308,"mtime":1709541397430,"results":"44","hashOfConfig":"42"},{"size":769,"mtime":1710811861083,"results":"45","hashOfConfig":"42"},{"size":590,"mtime":1710764754366,"results":"46","hashOfConfig":"42"},{"size":2358,"mtime":1711702437646,"results":"47","hashOfConfig":"42"},{"size":1001,"mtime":1711095487545,"results":"48","hashOfConfig":"42"},{"size":1029,"mtime":1711679923592,"results":"49","hashOfConfig":"42"},{"size":709,"mtime":1711680386755,"results":"50","hashOfConfig":"42"},{"size":676,"mtime":1710420049843,"results":"51","hashOfConfig":"42"},{"size":4171,"mtime":1711702477597,"results":"52","hashOfConfig":"42"},{"size":932,"mtime":1709620303143,"results":"53","hashOfConfig":"42"},{"size":4580,"mtime":1711679783882,"results":"54","hashOfConfig":"42"},{"size":2216,"mtime":1710420049765,"results":"55","hashOfConfig":"42"},{"size":1396,"mtime":1711159046327,"results":"56","hashOfConfig":"42"},{"size":1811,"mtime":1711095484422,"results":"57","hashOfConfig":"42"},{"size":209,"mtime":1711180552221,"results":"58","hashOfConfig":"42"},{"size":1410,"mtime":1711180552221,"results":"59","hashOfConfig":"42"},{"size":2735,"mtime":1711702477614,"results":"60","hashOfConfig":"42"},{"size":1711,"mtime":1711018011830,"results":"61","hashOfConfig":"42"},{"size":2815,"mtime":1711180552221,"results":"62","hashOfConfig":"42"},{"size":498,"mtime":1709893919938,"results":"63","hashOfConfig":"42"},{"size":1493,"mtime":1711679783897,"results":"64","hashOfConfig":"42"},{"size":2063,"mtime":1711679783908,"results":"65","hashOfConfig":"42"},{"size":2361,"mtime":1711679783952,"results":"66","hashOfConfig":"42"},{"size":1068,"mtime":1710763360964,"results":"67","hashOfConfig":"42"},{"size":3603,"mtime":1711017972577,"results":"68","hashOfConfig":"42"},{"size":2820,"mtime":1711679783860,"results":"69","hashOfConfig":"42"},{"size":1102,"mtime":1710829302576,"results":"70","hashOfConfig":"42"},{"size":1162,"mtime":1710829299926,"results":"71","hashOfConfig":"42"},{"size":2302,"mtime":1711102156682,"results":"72","hashOfConfig":"42"},{"size":1688,"mtime":1710827401948,"results":"73","hashOfConfig":"42"},{"size":4365,"mtime":1711372222017,"results":"74","hashOfConfig":"42"},{"size":2046,"mtime":1711702477570,"results":"75","hashOfConfig":"42"},{"size":445,"mtime":1711180552220,"results":"76","hashOfConfig":"42"},{"size":1781,"mtime":1711702477530,"results":"77","hashOfConfig":"42"},{"size":1349,"mtime":1711679772700,"results":"78","hashOfConfig":"42"},{"size":3172,"mtime":1711679783837,"results":"79","hashOfConfig":"42"},{"size":482,"mtime":1711372224438,"results":"80","hashOfConfig":"42"},{"size":1685,"mtime":1711702477553,"results":"81","hashOfConfig":"42"},{"filePath":"82","messages":"83","suppressedMessages":"84","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1mh59l9",{"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":0,"fixableErrorCount":0,"fixableWarningCount":0},{"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":3,"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":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"106","messages":"107","suppressedMessages":"108","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"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":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"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":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"130","messages":"131","suppressedMessages":"132","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"133","messages":"134","suppressedMessages":"135","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"136","messages":"137","suppressedMessages":"138","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"139","messages":"140","suppressedMessages":"141","errorCount":0,"fatalErrorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"142","messages":"143","suppressedMessages":"144","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"145","messages":"146","suppressedMessages":"147","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"148","messages":"149","suppressedMessages":"150","errorCount":0,"fatalErrorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"151","messages":"152","suppressedMessages":"153","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"154","messages":"155","suppressedMessages":"156","errorCount":0,"fatalErrorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"157","messages":"158","suppressedMessages":"159","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"160","messages":"161","suppressedMessages":"162","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"163","messages":"164","suppressedMessages":"165","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"166","messages":"167","suppressedMessages":"168","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"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":0,"fixableErrorCount":0,"fixableWarningCount":0},{"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":5,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"181","messages":"182","suppressedMessages":"183","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"184","messages":"185","suppressedMessages":"186","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"187","messages":"188","suppressedMessages":"189","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"190","messages":"191","suppressedMessages":"192","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"193","messages":"194","suppressedMessages":"195","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"196","messages":"197","suppressedMessages":"198","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"199","messages":"200","suppressedMessages":"201","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",["202","203","204"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/context.ts",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useCurrentTable.ts",["205"],[],"/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",["206"],[],"/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",["207"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/pages/Table/index.tsx",["208","209"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/pages/TableCustomize/index.tsx",["210","211","212"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTablePagination/index.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/index.ts",["213"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/ModalTable/hooks.ts",["214","215","216"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/ModalTable/index.tsx",["217"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/pages/ModalTable/index.tsx",["218","219","220","221"],[],"/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",["222","223"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/GoTop/index.tsx",["224","225"],[],"/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",["226","227","228","229","230"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/defaultSubComponent.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/modal.ts",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/Content.tsx",["231"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/Title.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/index.tsx",["232"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/modal.d.ts",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/utils.ts",[],[],{"ruleId":"233","severity":1,"message":"234","line":7,"column":15,"nodeType":"235","messageId":"236","endLine":7,"endColumn":29},{"ruleId":"233","severity":1,"message":"237","line":20,"column":3,"nodeType":"235","messageId":"236","endLine":20,"endColumn":12},{"ruleId":"233","severity":1,"message":"238","line":21,"column":3,"nodeType":"235","messageId":"236","endLine":21,"endColumn":12},{"ruleId":"239","severity":1,"message":"240","line":31,"column":6,"nodeType":"241","endLine":31,"endColumn":13,"suggestions":"242"},{"ruleId":"233","severity":1,"message":"243","line":60,"column":6,"nodeType":"235","messageId":"236","endLine":60,"endColumn":20},{"ruleId":"239","severity":1,"message":"244","line":50,"column":6,"nodeType":"241","endLine":50,"endColumn":8,"suggestions":"245"},{"ruleId":"233","severity":1,"message":"246","line":54,"column":7,"nodeType":"235","messageId":"236","endLine":54,"endColumn":11},{"ruleId":"233","severity":1,"message":"247","line":100,"column":42,"nodeType":"235","messageId":"236","endLine":100,"endColumn":48},{"ruleId":"233","severity":1,"message":"248","line":5,"column":3,"nodeType":"235","messageId":"236","endLine":5,"endColumn":15},{"ruleId":"233","severity":1,"message":"249","line":6,"column":3,"nodeType":"235","messageId":"236","endLine":6,"endColumn":19},{"ruleId":"233","severity":1,"message":"247","line":41,"column":36,"nodeType":"235","messageId":"236","endLine":41,"endColumn":42},{"ruleId":"239","severity":1,"message":"250","line":13,"column":6,"nodeType":"241","endLine":13,"endColumn":17,"suggestions":"251"},{"ruleId":"233","severity":1,"message":"252","line":15,"column":14,"nodeType":"235","messageId":"236","endLine":15,"endColumn":39},{"ruleId":"239","severity":1,"message":"253","line":19,"column":6,"nodeType":"241","endLine":19,"endColumn":8,"suggestions":"254"},{"ruleId":"239","severity":1,"message":"255","line":47,"column":6,"nodeType":"241","endLine":47,"endColumn":8,"suggestions":"256"},{"ruleId":"233","severity":1,"message":"257","line":3,"column":32,"nodeType":"235","messageId":"236","endLine":3,"endColumn":43},{"ruleId":"233","severity":1,"message":"258","line":24,"column":7,"nodeType":"235","messageId":"236","endLine":24,"endColumn":11},{"ruleId":"233","severity":1,"message":"247","line":27,"column":32,"nodeType":"235","messageId":"236","endLine":27,"endColumn":38},{"ruleId":"233","severity":1,"message":"247","line":48,"column":32,"nodeType":"235","messageId":"236","endLine":48,"endColumn":38},{"ruleId":"233","severity":1,"message":"259","line":87,"column":9,"nodeType":"235","messageId":"236","endLine":87,"endColumn":21},{"ruleId":"239","severity":1,"message":"260","line":57,"column":6,"nodeType":"241","endLine":57,"endColumn":39,"suggestions":"261"},{"ruleId":"239","severity":1,"message":"262","line":86,"column":6,"nodeType":"241","endLine":86,"endColumn":40,"suggestions":"263"},{"ruleId":"239","severity":1,"message":"264","line":26,"column":6,"nodeType":"241","endLine":26,"endColumn":11,"suggestions":"265"},{"ruleId":"239","severity":1,"message":"264","line":34,"column":6,"nodeType":"241","endLine":34,"endColumn":8,"suggestions":"266"},{"ruleId":"233","severity":1,"message":"267","line":66,"column":3,"nodeType":"235","messageId":"236","endLine":66,"endColumn":20},{"ruleId":"233","severity":1,"message":"268","line":67,"column":3,"nodeType":"235","messageId":"236","endLine":67,"endColumn":13},{"ruleId":"233","severity":1,"message":"269","line":68,"column":3,"nodeType":"235","messageId":"236","endLine":68,"endColumn":14},{"ruleId":"239","severity":1,"message":"270","line":164,"column":6,"nodeType":"241","endLine":164,"endColumn":42,"suggestions":"271"},{"ruleId":"239","severity":1,"message":"270","line":170,"column":6,"nodeType":"241","endLine":170,"endColumn":42,"suggestions":"272"},{"ruleId":"239","severity":1,"message":"273","line":31,"column":6,"nodeType":"241","endLine":31,"endColumn":15,"suggestions":"274"},{"ruleId":"239","severity":1,"message":"275","line":38,"column":6,"nodeType":"241","endLine":38,"endColumn":15,"suggestions":"276"},"@typescript-eslint/no-unused-vars","'HTableInstance' is defined but never used.","Identifier","unusedVar","'spaceSize' is assigned a value but never used.","'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",["277"],"'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.",["278"],"'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.",["279"],"'params' is defined but never used.","React Hook useMemo has a missing dependency: 'tableInstance'. Either include it or remove the dependency array.",["280"],"React Hook useEffect has missing dependencies: 'dialogTableInstance', 'hide', and 'show'. Either include them or remove the dependency array.",["281"],"'ParamsModal' is defined but never used.","'req1' is assigned a value but never used.","'dialogTable1' is assigned a value but never used.","React Hook useEffect has a missing dependency: 'changeConfigData'. Either include it or remove the dependency array.",["282"],"React Hook useEffect has a missing dependency: 'rowOnChange'. Either include it or remove the dependency array.",["283"],"React Hook useEffect has a missing dependency: 'cuDom'. Either include it or remove the dependency array.",["284"],["285"],"'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.",["286"],["287"],"React Hook useMemo has a missing dependency: 'titleClass'. Either include it or remove the dependency array.",["288"],"React Hook useEffect has a missing dependency: 'tableInstance.table'. Either include it or remove the dependency array.",["289"],{"desc":"290","fix":"291"},{"desc":"292","fix":"293"},{"desc":"294","fix":"295"},{"desc":"296","fix":"297"},{"desc":"298","fix":"299"},{"desc":"300","fix":"301"},{"desc":"302","fix":"303"},{"desc":"304","fix":"305"},{"desc":"306","fix":"307"},{"desc":"308","fix":"309"},{"desc":"308","fix":"310"},{"desc":"311","fix":"312"},{"desc":"313","fix":"314"},"Update the dependencies array to be: [changeRowData, dispatch, getTableParams, reload, reloadWithParams, table, useCurrentTable]",{"range":"315","text":"316"},"Update the dependencies array to be: [manual, reloadFn, request, resultAction]",{"range":"317","text":"318"},"Update the dependencies array to be: [className, config]",{"range":"319","text":"320"},"Update the dependencies array to be: [tableInstance]",{"range":"321","text":"322"},"Update the dependencies array to be: [dialogTableInstance, hide, show]",{"range":"323","text":"324"},"Update the dependencies array to be: [configData, table, rowSelection, changeConfigData]",{"range":"325","text":"326"},"Update the dependencies array to be: [selectedRowKeys, records, rowKey, rowOnChange]",{"range":"327","text":"328"},"Update the dependencies array to be: [cuDom, dom]",{"range":"329","text":"330"},"Update the dependencies array to be: [cuDom]",{"range":"331","text":"332"},"Update the dependencies array to be: [configData, searchSpan, headerOpen, mkNewFn]",{"range":"333","text":"334"},{"range":"335","text":"334"},"Update the dependencies array to be: [columns, titleClass]",{"range":"336","text":"337"},"Update the dependencies array to be: [columns, tableInstance.table]",{"range":"338","text":"339"},[1016,1023],"[changeRowData, dispatch, getTableParams, reload, reloadWithParams, table, useCurrentTable]",[1222,1224],"[manual, reloadFn, request, resultAction]",[481,492],"[className, config]",[513,515],"[tableInstance]",[1219,1221],"[dialogTableInstance, hide, show]",[1819,1852],"[configData, table, rowSelection, changeConfigData]",[2587,2621],"[selectedRowKeys, records, rowKey, rowOnChange]",[825,830],"[cuDom, dom]",[1021,1023],"[cuDom]",[4093,4129],"[configData, searchSpan, headerOpen, mkNewFn]",[4284,4320],[996,1005],"[columns, titleClass]",[1181,1190],"[columns, tableInstance.table]"]
@@ -41,7 +41,7 @@ var DefaultSubComponent = function DefaultSubComponent(_ref) {
41
41
  headerOpen = _useHTableContext2.headerOpen;
42
42
  var hide = typeof headerOpen === "undefined";
43
43
  var _useMemo = useMemo(function () {
44
- if (hide) {
44
+ if (headerOpen === true || hide) {
45
45
  return {
46
46
  justify: "start",
47
47
  style: {
@@ -53,7 +53,7 @@ var DefaultSubComponent = function DefaultSubComponent(_ref) {
53
53
  justify: "end",
54
54
  style: {}
55
55
  };
56
- }, [hide]),
56
+ }, [headerOpen, hide]),
57
57
  justify = _useMemo.justify,
58
58
  style = _useMemo.style;
59
59
  return jsx(Row, {
@@ -42,7 +42,7 @@ var DefaultSubComponent = function DefaultSubComponent(_ref) {
42
42
  headerOpen = _useHTableContext2.headerOpen;
43
43
  var hide = typeof headerOpen === "undefined";
44
44
  var _useMemo = React.useMemo(function () {
45
- if (hide) {
45
+ if (headerOpen === true || hide) {
46
46
  return {
47
47
  justify: "start",
48
48
  style: {
@@ -54,7 +54,7 @@ var DefaultSubComponent = function DefaultSubComponent(_ref) {
54
54
  justify: "end",
55
55
  style: {}
56
56
  };
57
- }, [hide]),
57
+ }, [headerOpen, hide]),
58
58
  justify = _useMemo.justify,
59
59
  style = _useMemo.style;
60
60
  return jsxRuntime.jsx(antd.Row, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hw-component/table",
3
- "version": "0.0.8-beta-v8",
3
+ "version": "0.0.8-beta-v10",
4
4
  "description": "基于antd二次开发table组件",
5
5
  "keywords": [
6
6
  "table"
@@ -3,7 +3,7 @@ import { useMemo } from "react";
3
3
  import type { ConfigDataModal } from "../../modal";
4
4
  import { Tree } from "antd";
5
5
  import type { ItemProps } from "./modal";
6
- import {getItemValue} from "./utils";
6
+ import { getItemValue } from "./utils";
7
7
 
8
8
  export const ColsSettingContent = ({
9
9
  columns,
@@ -15,12 +15,12 @@ export const ColsSettingContent = ({
15
15
  const treeClass = useClassName("hw-table-body-option-tree");
16
16
  const contentTreeData = useMemo(() => {
17
17
  const treeData: ConfigDataModal = [];
18
- columns.forEach(({ dataIndex, title,titleStr }) => {
18
+ columns.forEach(({ dataIndex, title, titleStr }) => {
19
19
  if (dataIndex) {
20
- const {title:cuTitleStr}=getItemValue({
20
+ const { title: cuTitleStr } = getItemValue({
21
21
  titleStr,
22
22
  title,
23
- })
23
+ });
24
24
  treeData.push({
25
25
  title: <div className={titleClass}>{cuTitleStr}</div>,
26
26
  key: dataIndex.toString(),
@@ -1,30 +1,32 @@
1
1
  import type { ConfigDataModal, ConfigItemModal } from "../../modal";
2
2
  import React from "react";
3
- export const getItemValue= (data:ConfigItemModal) => {
4
- const {dataIndex,title,titleStr,...oData}=data;
5
- let resultTitle=React.isValidElement(title)?title.props.children:title;
6
- if (titleStr){
7
- resultTitle =titleStr;
3
+ export const getItemValue = (data: ConfigItemModal) => {
4
+ const { dataIndex, title, titleStr, ...oData } = data;
5
+ let resultTitle = React.isValidElement(title) ? title.props.children : title;
6
+ if (titleStr) {
7
+ resultTitle = titleStr;
8
8
  }
9
9
  return {
10
- title:resultTitle,
10
+ title: resultTitle,
11
11
  dataIndex,
12
- ...oData
13
- }
14
- }
12
+ ...oData,
13
+ };
14
+ };
15
15
  const childDataIndexProvider = (
16
16
  data: ConfigItemModal[] | string[],
17
- title?: string|React.ReactNode
17
+ title?: string | React.ReactNode
18
18
  ) => {
19
19
  const keys: string[] = [];
20
20
  const cols: ConfigDataModal = [];
21
21
  data.forEach((value) => {
22
22
  if (typeof value === "string") {
23
23
  keys.push(value);
24
- cols.push(getItemValue({
25
- title,
26
- dataIndex:value
27
- }));
24
+ cols.push(
25
+ getItemValue({
26
+ title,
27
+ dataIndex: value,
28
+ })
29
+ );
28
30
  return;
29
31
  }
30
32
  keys.push(value.dataIndex);
@@ -40,7 +42,8 @@ export const defaultKeys = (cols: ConfigDataModal) => {
40
42
  const allKeys: string[] = [];
41
43
  const checkCols: ConfigDataModal = [];
42
44
  cols.forEach((value) => {
43
- const { title,titleStr, dataIndex, hideInTable, childrenDataIndex } = value;
45
+ const { title, titleStr, dataIndex, hideInTable, childrenDataIndex } =
46
+ value;
44
47
  if (hideInTable || !dataIndex) {
45
48
  return;
46
49
  }
@@ -48,7 +51,7 @@ export const defaultKeys = (cols: ConfigDataModal) => {
48
51
  if (childrenDataIndex) {
49
52
  const { keys: childKeys, cols: childCols } = childDataIndexProvider(
50
53
  childrenDataIndex,
51
- titleStr||title
54
+ titleStr || title
52
55
  );
53
56
  allKeys.push(...childKeys);
54
57
  checkCols.push(...childCols);
@@ -37,7 +37,7 @@ export const DefaultSubComponent = ({ form }: IProps) => {
37
37
  const { loading, headerOpen } = useHTableContext();
38
38
  const hide = typeof headerOpen === "undefined";
39
39
  const { justify, style } = useMemo(() => {
40
- if (hide) {
40
+ if (headerOpen === true || hide) {
41
41
  return {
42
42
  justify: "start",
43
43
  style: {
@@ -49,7 +49,7 @@ export const DefaultSubComponent = ({ form }: IProps) => {
49
49
  justify: "end",
50
50
  style: {},
51
51
  };
52
- }, [hide]);
52
+ }, [headerOpen, hide]);
53
53
  return (
54
54
  <Row
55
55
  justify={justify as RowProps["justify"]}
@@ -57,20 +57,20 @@ export const DefaultSubComponent = ({ form }: IProps) => {
57
57
  >
58
58
  <Space size={6}>
59
59
  <Button
60
- type={"primary"}
61
- style={{ borderRadius: 4 }}
62
- loading={loading}
63
- onClick={() => {
64
- form.submit();
65
- }}
60
+ type={"primary"}
61
+ style={{ borderRadius: 4 }}
62
+ loading={loading}
63
+ onClick={() => {
64
+ form.submit();
65
+ }}
66
66
  >
67
67
  查询
68
68
  </Button>
69
69
  <Button
70
- style={{ borderRadius: 4 }}
71
- onClick={() => {
72
- form.resetFields();
73
- }}
70
+ style={{ borderRadius: 4 }}
71
+ onClick={() => {
72
+ form.resetFields();
73
+ }}
74
74
  >
75
75
  重置
76
76
  </Button>
@@ -40,7 +40,7 @@ interface HColumns extends Omit<ProColumns, "render" | "title"> {
40
40
  }
41
41
  interface BcItemModal {
42
42
  childrenDataIndex?: ConfigItemModal[] | string[];
43
- titleStr?:string;
43
+ titleStr?: string;
44
44
  }
45
45
  export type ConfigItemModal = Omit<HItemProps, "render" | "type"> &
46
46
  HColumns &
@@ -17,20 +17,23 @@ const configData = [
17
17
  title: "座位断开",
18
18
  showSearch: true,
19
19
  dataIndex: "name1",
20
- childrenDataIndex: [{
21
- dataIndex:"name2",
22
- title:"座位断开2"
23
- },{
24
- dataIndex:"name3",
25
- title:"座位断开3"
26
- }],
20
+ childrenDataIndex: [
21
+ {
22
+ dataIndex: "name2",
23
+ title: "座位断开2",
24
+ },
25
+ {
26
+ dataIndex: "name3",
27
+ title: "座位断开3",
28
+ },
29
+ ],
27
30
  itemProps: {
28
31
  options: [{ label: "1", value: 1 }],
29
32
  },
30
33
  },
31
34
  {
32
- title:<div>座位fff</div>,
33
- titleStr:"座位",
35
+ title: <div>座位fff</div>,
36
+ titleStr: "座位",
34
37
  showSearch: true,
35
38
  dataIndex: "name2",
36
39
  itemProps: {