@hw-component/table 0.0.8-beta-v13 → 0.0.8-beta-v17
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/Table.d.ts +1 -1
- package/es/Table.js +4 -2
- package/lib/Table.d.ts +1 -1
- package/lib/Table.js +4 -2
- package/package.json +2 -2
- package/src/components/HTableHeader/defaultSubComponent.tsx +10 -10
- package/src/components/Table.tsx +2 -1
- package/src/pages/ModalTable/index.tsx +1 -1
- package/src/pages/Table/index.tsx +1 -0
- package/src/pages/TableCustomize/index.tsx +1 -0
package/.eslintcache
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"/Users/hedongjie/Desktop/web/hw-component-table/src/Layout.tsx":"1","/Users/hedongjie/Desktop/web/hw-component-table/src/app.tsx":"2","/Users/hedongjie/Desktop/web/hw-component-table/src/index.tsx":"3","/Users/hedongjie/Desktop/web/hw-component-table/src/routes.tsx":"4","/Users/hedongjie/Desktop/web/hw-component-table/src/components/index.tsx":"5","/Users/hedongjie/Desktop/web/hw-component-table/src/components/Table.tsx":"6","/Users/hedongjie/Desktop/web/hw-component-table/src/components/context.ts":"7","/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useCurrentTable.ts":"8","/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useHTable.tsx":"9","/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useRowObj.ts":"10","/Users/hedongjie/Desktop/web/hw-component-table/src/components/modal.ts":"11","/Users/hedongjie/Desktop/web/hw-component-table/src/components/TableConfig.tsx":"12","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/index.tsx":"13","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableFooter/index.tsx":"14","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/index.tsx":"15","/Users/hedongjie/Desktop/web/hw-component-table/src/components/TableCustomize.tsx":"16","/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useDispatch.ts":"17","/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useReq.ts":"18","/Users/hedongjie/Desktop/web/hw-component-table/src/pages/Table/index.tsx":"19","/Users/hedongjie/Desktop/web/hw-component-table/src/pages/TableCustomize/index.tsx":"20","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTablePagination/index.tsx":"21","/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/index.ts":"22","/Users/hedongjie/Desktop/web/hw-component-table/src/components/ModalTable/hooks.ts":"23","/Users/hedongjie/Desktop/web/hw-component-table/src/components/ModalTable/index.tsx":"24","/Users/hedongjie/Desktop/web/hw-component-table/src/pages/ModalTable/index.tsx":"25","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/AlertMsg.tsx":"26","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/RowSelection.tsx":"27","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/hooks.tsx":"28","/Users/hedongjie/Desktop/web/hw-component-table/src/components/GoTop/index.tsx":"29","/Users/hedongjie/Desktop/web/hw-component-table/src/typings.d.ts":"30","/Users/hedongjie/Desktop/web/hw-component-table/scripts/rollup.config.js":"31","/Users/hedongjie/Desktop/web/hw-component-table/scripts/webpack.config.js":"32","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/hooks.tsx":"33","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/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]"]
|
|
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":1943,"mtime":1712056204827,"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]"]
|
package/es/Table.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { HTableProps } from "./modal";
|
|
2
|
-
declare const _default: ({ request, configData, searchSpan, table, hideHeader, headerStyle, tableStyle, action, spaceSize, className, paginationStyle, rowKey, onFinish, ...props }: HTableProps) => JSX.Element;
|
|
2
|
+
declare const _default: ({ request, configData, searchSpan, table, hideHeader, headerStyle, tableStyle, action, spaceSize, className, paginationStyle, rowKey, onFinish, manual, ...props }: HTableProps) => JSX.Element;
|
|
3
3
|
export default _default;
|
package/es/Table.js
CHANGED
|
@@ -21,7 +21,7 @@ import useReq from './hooks/useReq.js';
|
|
|
21
21
|
import useDispatch from './hooks/useDispatch.js';
|
|
22
22
|
import { useState } from 'react';
|
|
23
23
|
|
|
24
|
-
var _excluded = ["request", "configData", "searchSpan", "table", "hideHeader", "headerStyle", "tableStyle", "action", "spaceSize", "className", "paginationStyle", "rowKey", "onFinish"];
|
|
24
|
+
var _excluded = ["request", "configData", "searchSpan", "table", "hideHeader", "headerStyle", "tableStyle", "action", "spaceSize", "className", "paginationStyle", "rowKey", "onFinish", "manual"];
|
|
25
25
|
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; }
|
|
26
26
|
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; }
|
|
27
27
|
var Table = (function (_ref) {
|
|
@@ -42,9 +42,11 @@ var Table = (function (_ref) {
|
|
|
42
42
|
_ref$rowKey = _ref.rowKey,
|
|
43
43
|
rowKey = _ref$rowKey === void 0 ? "id" : _ref$rowKey,
|
|
44
44
|
onFinish = _ref.onFinish,
|
|
45
|
+
manual = _ref.manual,
|
|
45
46
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
46
47
|
var _useReq = useReq({
|
|
47
|
-
request: request
|
|
48
|
+
request: request,
|
|
49
|
+
manual: manual
|
|
48
50
|
}),
|
|
49
51
|
run = _useReq.run,
|
|
50
52
|
loading = _useReq.loading,
|
package/lib/Table.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { HTableProps } from "./modal";
|
|
2
|
-
declare const _default: ({ request, configData, searchSpan, table, hideHeader, headerStyle, tableStyle, action, spaceSize, className, paginationStyle, rowKey, onFinish, ...props }: HTableProps) => JSX.Element;
|
|
2
|
+
declare const _default: ({ request, configData, searchSpan, table, hideHeader, headerStyle, tableStyle, action, spaceSize, className, paginationStyle, rowKey, onFinish, manual, ...props }: HTableProps) => JSX.Element;
|
|
3
3
|
export default _default;
|
package/lib/Table.js
CHANGED
|
@@ -24,7 +24,7 @@ var useReq = require('./hooks/useReq.js');
|
|
|
24
24
|
var useDispatch = require('./hooks/useDispatch.js');
|
|
25
25
|
var React = require('react');
|
|
26
26
|
|
|
27
|
-
var _excluded = ["request", "configData", "searchSpan", "table", "hideHeader", "headerStyle", "tableStyle", "action", "spaceSize", "className", "paginationStyle", "rowKey", "onFinish"];
|
|
27
|
+
var _excluded = ["request", "configData", "searchSpan", "table", "hideHeader", "headerStyle", "tableStyle", "action", "spaceSize", "className", "paginationStyle", "rowKey", "onFinish", "manual"];
|
|
28
28
|
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; }
|
|
29
29
|
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; }
|
|
30
30
|
var Table = (function (_ref) {
|
|
@@ -45,9 +45,11 @@ var Table = (function (_ref) {
|
|
|
45
45
|
_ref$rowKey = _ref.rowKey,
|
|
46
46
|
rowKey = _ref$rowKey === void 0 ? "id" : _ref$rowKey,
|
|
47
47
|
onFinish = _ref.onFinish,
|
|
48
|
+
manual = _ref.manual,
|
|
48
49
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
49
50
|
var _useReq = useReq.default({
|
|
50
|
-
request: request
|
|
51
|
+
request: request,
|
|
52
|
+
manual: manual
|
|
51
53
|
}),
|
|
52
54
|
run = _useReq.run,
|
|
53
55
|
loading = _useReq.loading,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hw-component/table",
|
|
3
|
-
"version": "0.0.8-beta-
|
|
3
|
+
"version": "0.0.8-beta-v17",
|
|
4
4
|
"description": "基于antd二次开发table组件",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"table"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@ant-design/icons": "4.6.2",
|
|
33
33
|
"@ant-design/pro-table": "2.70.0",
|
|
34
|
-
"@hw-component/form": "1.0.
|
|
34
|
+
"@hw-component/form": "1.0.3",
|
|
35
35
|
"ahooks": "2.10.9",
|
|
36
36
|
"antd": "4.20.7",
|
|
37
37
|
"core-js": "3",
|
|
@@ -57,20 +57,20 @@ export const DefaultSubComponent = ({ form }: IProps) => {
|
|
|
57
57
|
>
|
|
58
58
|
<Space size={6}>
|
|
59
59
|
<Button
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
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
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
70
|
+
style={{ borderRadius: 4 }}
|
|
71
|
+
onClick={() => {
|
|
72
|
+
form.resetFields();
|
|
73
|
+
}}
|
|
74
74
|
>
|
|
75
75
|
重置
|
|
76
76
|
</Button>
|
package/src/components/Table.tsx
CHANGED
|
@@ -22,9 +22,10 @@ export default ({
|
|
|
22
22
|
paginationStyle,
|
|
23
23
|
rowKey = "id",
|
|
24
24
|
onFinish,
|
|
25
|
+
manual,
|
|
25
26
|
...props
|
|
26
27
|
}: HTableProps) => {
|
|
27
|
-
const { run, loading, data, error, saveParams } = useReq({ request });
|
|
28
|
+
const { run, loading, data, error, saveParams } = useReq({ request,manual });
|
|
28
29
|
const dispatch = useDispatch(action);
|
|
29
30
|
const { selectedRowData, rowOnChange, allSelectChange, setSelectedRowData } =
|
|
30
31
|
useRowObj();
|
|
@@ -43,7 +43,6 @@ const req1 = (params) => {
|
|
|
43
43
|
};
|
|
44
44
|
|
|
45
45
|
const req2 = (params) => {
|
|
46
|
-
console.log(params, "req2");
|
|
47
46
|
const { current = 1 } = params;
|
|
48
47
|
return new Promise((resolve, reject) => {
|
|
49
48
|
setTimeout(() => {
|
|
@@ -99,6 +98,7 @@ export default () => {
|
|
|
99
98
|
request={req2}
|
|
100
99
|
configData={configData}
|
|
101
100
|
tableProps={{
|
|
101
|
+
manual:true,
|
|
102
102
|
headerTitle: (
|
|
103
103
|
<div
|
|
104
104
|
onClick={() => {
|