@hw-component/table 1.0.8 → 1.0.9
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.js +2 -1
- package/es/TableCustomize.js +2 -1
- package/es/hooks/useCurrentTable.d.ts +3 -1
- package/es/hooks/useCurrentTable.js +6 -2
- package/es/hooks/useReq.d.ts +1 -1
- package/es/modal.d.ts +1 -0
- package/lib/Table.js +2 -1
- package/lib/TableCustomize.js +2 -1
- package/lib/hooks/useCurrentTable.d.ts +3 -1
- package/lib/hooks/useCurrentTable.js +6 -2
- package/lib/hooks/useReq.d.ts +1 -1
- package/lib/modal.d.ts +1 -0
- package/package.json +1 -1
- package/src/components/Table.tsx +6 -1
- package/src/components/TableCustomize.tsx +1 -0
- package/src/components/hooks/useCurrentTable.ts +7 -1
- package/src/components/hooks/useReq.ts +2 -2
- package/src/components/modal.ts +1 -0
- package/src/pages/Table/index.tsx +2 -2
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","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/HeaderTitle/index.tsx":"41","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/RangePickerSearch.tsx":"42","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/defaultFormRender.tsx":"43"},{"size":1541,"mtime":1709541397429,"results":"44","hashOfConfig":"45"},{"size":741,"mtime":1713518829815,"results":"46","hashOfConfig":"45"},{"size":370,"mtime":1718160488742,"results":"47","hashOfConfig":"45"},{"size":769,"mtime":1710811861083,"results":"48","hashOfConfig":"45"},{"size":608,"mtime":1716085382302,"results":"49","hashOfConfig":"45"},{"size":2543,"mtime":1718160488717,"results":"50","hashOfConfig":"45"},{"size":971,"mtime":1716085382228,"results":"51","hashOfConfig":"45"},{"size":1220,"mtime":1716085384998,"results":"52","hashOfConfig":"45"},{"size":739,"mtime":1718160488723,"results":"53","hashOfConfig":"45"},{"size":739,"mtime":1716085382298,"results":"54","hashOfConfig":"45"},{"size":4522,"mtime":1718160488737,"results":"55","hashOfConfig":"45"},{"size":945,"mtime":1716085371836,"results":"56","hashOfConfig":"45"},{"size":5000,"mtime":1718160462597,"results":"57","hashOfConfig":"45"},{"size":2163,"mtime":1716085382140,"results":"58","hashOfConfig":"45"},{"size":1855,"mtime":1718160488697,"results":"59","hashOfConfig":"45"},{"size":1870,"mtime":1716085382224,"results":"60","hashOfConfig":"45"},{"size":209,"mtime":1713781957255,"results":"61","hashOfConfig":"45"},{"size":1410,"mtime":1713781991430,"results":"62","hashOfConfig":"45"},{"size":3162,"mtime":1718160488759,"results":"63","hashOfConfig":"45"},{"size":1762,"mtime":1716085371838,"results":"64","hashOfConfig":"45"},{"size":3149,"mtime":1716085382191,"results":"65","hashOfConfig":"45"},{"size":498,"mtime":1709893919938,"results":"66","hashOfConfig":"45"},{"size":1503,"mtime":1716085382199,"results":"67","hashOfConfig":"45"},{"size":2083,"mtime":1716085382206,"results":"68","hashOfConfig":"45"},{"size":2830,"mtime":1716085382332,"results":"69","hashOfConfig":"45"},{"size":1080,"mtime":1716085371834,"results":"70","hashOfConfig":"45"},{"size":3603,"mtime":1713782094969,"results":"71","hashOfConfig":"45"},{"size":2765,"mtime":1716085382106,"results":"72","hashOfConfig":"45"},{"size":1102,"mtime":1710829302576,"results":"73","hashOfConfig":"45"},{"size":1162,"mtime":1710829299926,"results":"74","hashOfConfig":"45"},{"size":2302,"mtime":1711102156682,"results":"75","hashOfConfig":"45"},{"size":1677,"mtime":1716085381973,"results":"76","hashOfConfig":"45"},{"size":4897,"mtime":1718160488688,"results":"77","hashOfConfig":"45"},{"size":1943,"mtime":1712056204827,"results":"78","hashOfConfig":"45"},{"size":670,"mtime":1718160488706,"results":"79","hashOfConfig":"45"},{"size":1781,"mtime":1713782021632,"results":"80","hashOfConfig":"45"},{"size":1349,"mtime":1711679772700,"results":"81","hashOfConfig":"45"},{"size":3092,"mtime":1713518816733,"results":"82","hashOfConfig":"45"},{"size":482,"mtime":1713782042608,"results":"83","hashOfConfig":"45"},{"size":1685,"mtime":1713782074355,"results":"84","hashOfConfig":"45"},{"size":1049,"mtime":1716085371834,"results":"85","hashOfConfig":"45"},{"size":1208,"mtime":1716085371834,"results":"86","hashOfConfig":"45"},{"size":365,"mtime":1716085371835,"results":"87","hashOfConfig":"45"},{"filePath":"88","messages":"89","suppressedMessages":"90","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1mh59l9",{"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":0,"fixableErrorCount":0,"fixableWarningCount":0},{"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":2,"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":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"112","messages":"113","suppressedMessages":"114","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"115","messages":"116","suppressedMessages":"117","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"118","messages":"119","suppressedMessages":"120","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"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":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"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":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"136","messages":"137","suppressedMessages":"138","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"139","messages":"140","suppressedMessages":"141","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"142","messages":"143","suppressedMessages":"144","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"145","messages":"146","suppressedMessages":"147","errorCount":0,"fatalErrorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"148","messages":"149","suppressedMessages":"150","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"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":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"163","messages":"164","suppressedMessages":"165","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"166","messages":"167","suppressedMessages":"168","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"169","messages":"170","suppressedMessages":"171","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"172","messages":"173","suppressedMessages":"174","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"175","messages":"176","suppressedMessages":"177","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"178","messages":"179","suppressedMessages":"180","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"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":6,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"187","messages":"188","suppressedMessages":"189","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"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":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"202","messages":"203","suppressedMessages":"204","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"205","messages":"206","suppressedMessages":"207","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"208","messages":"209","suppressedMessages":"210","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"211","messages":"212","suppressedMessages":"213","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"214","messages":"215","suppressedMessages":"216","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",["217","218"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/context.ts",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useCurrentTable.ts",["219"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useHTable.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useRowObj.ts",["220"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/modal.ts",["221"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/TableConfig.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/index.tsx",["222","223"],[],"/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",["224"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/pages/Table/index.tsx",["225","226"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/pages/TableCustomize/index.tsx",["227","228","229"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTablePagination/index.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/index.ts",["230"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/ModalTable/hooks.ts",["231","232","233","234"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/ModalTable/index.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/pages/ModalTable/index.tsx",["235","236","237","238"],[],"/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",["239","240"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/GoTop/index.tsx",["241","242"],[],"/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",["243","244","245","246","247","248"],[],"/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",["249"],[],"/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",["250"],[],"/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",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/HeaderTitle/index.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/RangePickerSearch.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/defaultFormRender.tsx",[],[],{"ruleId":"251","severity":1,"message":"252","line":20,"column":3,"nodeType":"253","messageId":"254","endLine":20,"endColumn":12},{"ruleId":"251","severity":1,"message":"255","line":21,"column":3,"nodeType":"253","messageId":"254","endLine":21,"endColumn":12},{"ruleId":"256","severity":1,"message":"257","line":37,"column":6,"nodeType":"258","endLine":37,"endColumn":30,"suggestions":"259"},{"ruleId":"251","severity":1,"message":"260","line":8,"column":9,"nodeType":"253","messageId":"254","endLine":8,"endColumn":30},{"ruleId":"251","severity":1,"message":"261","line":65,"column":6,"nodeType":"253","messageId":"254","endLine":65,"endColumn":20},{"ruleId":"251","severity":1,"message":"262","line":77,"column":5,"nodeType":"253","messageId":"254","endLine":77,"endColumn":16},{"ruleId":"251","severity":1,"message":"263","line":80,"column":5,"nodeType":"253","messageId":"254","endLine":80,"endColumn":20},{"ruleId":"256","severity":1,"message":"264","line":50,"column":6,"nodeType":"258","endLine":50,"endColumn":8,"suggestions":"265"},{"ruleId":"251","severity":1,"message":"266","line":61,"column":7,"nodeType":"253","messageId":"254","endLine":61,"endColumn":11},{"ruleId":"251","severity":1,"message":"267","line":117,"column":42,"nodeType":"253","messageId":"254","endLine":117,"endColumn":48},{"ruleId":"251","severity":1,"message":"268","line":5,"column":3,"nodeType":"253","messageId":"254","endLine":5,"endColumn":15},{"ruleId":"251","severity":1,"message":"269","line":6,"column":3,"nodeType":"253","messageId":"254","endLine":6,"endColumn":19},{"ruleId":"251","severity":1,"message":"267","line":41,"column":36,"nodeType":"253","messageId":"254","endLine":41,"endColumn":42},{"ruleId":"256","severity":1,"message":"270","line":13,"column":6,"nodeType":"258","endLine":13,"endColumn":17,"suggestions":"271"},{"ruleId":"251","severity":1,"message":"272","line":9,"column":10,"nodeType":"253","messageId":"254","endLine":9,"endColumn":21},{"ruleId":"251","severity":1,"message":"273","line":16,"column":14,"nodeType":"253","messageId":"254","endLine":16,"endColumn":39},{"ruleId":"256","severity":1,"message":"274","line":20,"column":6,"nodeType":"258","endLine":20,"endColumn":8,"suggestions":"275"},{"ruleId":"256","severity":1,"message":"276","line":48,"column":6,"nodeType":"258","endLine":48,"endColumn":8,"suggestions":"277"},{"ruleId":"251","severity":1,"message":"278","line":24,"column":7,"nodeType":"253","messageId":"254","endLine":24,"endColumn":11},{"ruleId":"251","severity":1,"message":"267","line":27,"column":32,"nodeType":"253","messageId":"254","endLine":27,"endColumn":38},{"ruleId":"251","severity":1,"message":"267","line":47,"column":32,"nodeType":"253","messageId":"254","endLine":47,"endColumn":38},{"ruleId":"251","severity":1,"message":"279","line":114,"column":9,"nodeType":"253","messageId":"254","endLine":114,"endColumn":21},{"ruleId":"256","severity":1,"message":"280","line":60,"column":6,"nodeType":"258","endLine":60,"endColumn":39,"suggestions":"281"},{"ruleId":"256","severity":1,"message":"282","line":89,"column":6,"nodeType":"258","endLine":89,"endColumn":40,"suggestions":"283"},{"ruleId":"256","severity":1,"message":"284","line":26,"column":6,"nodeType":"258","endLine":26,"endColumn":11,"suggestions":"285"},{"ruleId":"256","severity":1,"message":"284","line":34,"column":6,"nodeType":"258","endLine":34,"endColumn":8,"suggestions":"286"},{"ruleId":"251","severity":1,"message":"287","line":68,"column":5,"nodeType":"253","messageId":"254","endLine":68,"endColumn":22},{"ruleId":"251","severity":1,"message":"288","line":69,"column":5,"nodeType":"253","messageId":"254","endLine":69,"endColumn":15},{"ruleId":"251","severity":1,"message":"289","line":70,"column":5,"nodeType":"253","messageId":"254","endLine":70,"endColumn":16},{"ruleId":"251","severity":1,"message":"290","line":71,"column":5,"nodeType":"253","messageId":"254","endLine":71,"endColumn":10},{"ruleId":"256","severity":1,"message":"291","line":188,"column":6,"nodeType":"258","endLine":188,"endColumn":42,"suggestions":"292"},{"ruleId":"256","severity":1,"message":"291","line":194,"column":6,"nodeType":"258","endLine":194,"endColumn":42,"suggestions":"293"},{"ruleId":"256","severity":1,"message":"294","line":31,"column":6,"nodeType":"258","endLine":31,"endColumn":15,"suggestions":"295"},{"ruleId":"256","severity":1,"message":"296","line":37,"column":6,"nodeType":"258","endLine":37,"endColumn":15,"suggestions":"297"},"@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",["298"],"'selectedRowDataSource' is assigned a value but never used.","'FooterRenderFn' is defined but never used.","'rowOnChange' is assigned a value but never used.","'allSelectChange' is assigned a value but never used.","React Hook useEffect has missing dependencies: 'manual', 'reloadFn', 'request', and 'resultAction'. Either include them or remove the dependency array.",["299"],"'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.",["300"],"'HTableProps' is defined but never used.","'params' is defined but never used.","React Hook useMemo has a missing dependency: 'tableInstance'. Either include it or remove the dependency array.",["301"],"React Hook useEffect has missing dependencies: 'dialogTableInstance', 'hide', and 'show'. Either include them or remove the dependency array.",["302"],"'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.",["303"],"React Hook useEffect has a missing dependency: 'rowOnChange'. Either include it or remove the dependency array.",["304"],"React Hook useEffect has a missing dependency: 'cuDom'. Either include it or remove the dependency array.",["305"],["306"],"'childrenDataIndex' is defined but never used.","'showSearch' is defined but never used.","'hideInTable' is defined but never used.","'align' is defined but never used.","React Hook useEffect has a missing dependency: 'mkNewFn'. Either include it or remove the dependency array.",["307"],["308"],"React Hook useMemo has a missing dependency: 'titleClass'. Either include it or remove the dependency array.",["309"],"React Hook useEffect has a missing dependency: 'tableInstance.table'. Either include it or remove the dependency array.",["310"],{"desc":"311","fix":"312"},{"desc":"313","fix":"314"},{"desc":"315","fix":"316"},{"desc":"317","fix":"318"},{"desc":"319","fix":"320"},{"desc":"321","fix":"322"},{"desc":"323","fix":"324"},{"desc":"325","fix":"326"},{"desc":"327","fix":"328"},{"desc":"329","fix":"330"},{"desc":"329","fix":"331"},{"desc":"332","fix":"333"},{"desc":"334","fix":"335"},"Update the dependencies array to be: [table, useCurrentTable, reload, changeRowData, dispatch, reloadWithParams, getTableParams, selectedRowData]",{"range":"336","text":"337"},"Update the dependencies array to be: [manual, reloadFn, request, resultAction]",{"range":"338","text":"339"},"Update the dependencies array to be: [className, config]",{"range":"340","text":"341"},"Update the dependencies array to be: [tableInstance]",{"range":"342","text":"343"},"Update the dependencies array to be: [dialogTableInstance, hide, show]",{"range":"344","text":"345"},"Update the dependencies array to be: [configData, table, rowSelection, changeConfigData]",{"range":"346","text":"347"},"Update the dependencies array to be: [selectedRowKeys, records, rowKey, rowOnChange]",{"range":"348","text":"349"},"Update the dependencies array to be: [cuDom, dom]",{"range":"350","text":"351"},"Update the dependencies array to be: [cuDom]",{"range":"352","text":"353"},"Update the dependencies array to be: [configData, searchSpan, headerOpen, mkNewFn]",{"range":"354","text":"355"},{"range":"356","text":"355"},"Update the dependencies array to be: [columns, titleClass]",{"range":"357","text":"358"},"Update the dependencies array to be: [columns, tableInstance.table]",{"range":"359","text":"360"},[1190,1214],"[table, useCurrentTable, reload, changeRowData, dispatch, reloadWithParams, getTableParams, selectedRowData]",[1222,1224],"[manual, reloadFn, request, resultAction]",[481,492],"[className, config]",[523,525],"[tableInstance]",[1229,1231],"[dialogTableInstance, hide, show]",[1764,1797],"[configData, table, rowSelection, changeConfigData]",[2532,2566],"[selectedRowKeys, records, rowKey, rowOnChange]",[825,830],"[cuDom, dom]",[1021,1023],"[cuDom]",[4625,4661],"[configData, searchSpan, headerOpen, mkNewFn]",[4816,4852],[996,1005],"[columns, titleClass]",[1123,1132],"[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","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/HeaderTitle/index.tsx":"41","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/RangePickerSearch.tsx":"42","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/defaultFormRender.tsx":"43"},{"size":1541,"mtime":1709541397429,"results":"44","hashOfConfig":"45"},{"size":741,"mtime":1713518829815,"results":"46","hashOfConfig":"45"},{"size":370,"mtime":1718160488742,"results":"47","hashOfConfig":"45"},{"size":769,"mtime":1710811861083,"results":"48","hashOfConfig":"45"},{"size":608,"mtime":1716085382302,"results":"49","hashOfConfig":"45"},{"size":2574,"mtime":1718171272904,"results":"50","hashOfConfig":"45"},{"size":971,"mtime":1716085382228,"results":"51","hashOfConfig":"45"},{"size":1220,"mtime":1716085384998,"results":"52","hashOfConfig":"45"},{"size":739,"mtime":1718160488723,"results":"53","hashOfConfig":"45"},{"size":739,"mtime":1716085382298,"results":"54","hashOfConfig":"45"},{"size":4522,"mtime":1718160488737,"results":"55","hashOfConfig":"45"},{"size":945,"mtime":1716085371836,"results":"56","hashOfConfig":"45"},{"size":5000,"mtime":1718160462597,"results":"57","hashOfConfig":"45"},{"size":2163,"mtime":1716085382140,"results":"58","hashOfConfig":"45"},{"size":1855,"mtime":1718160488697,"results":"59","hashOfConfig":"45"},{"size":1870,"mtime":1716085382224,"results":"60","hashOfConfig":"45"},{"size":209,"mtime":1713781957255,"results":"61","hashOfConfig":"45"},{"size":1487,"mtime":1718171272924,"results":"62","hashOfConfig":"45"},{"size":3138,"mtime":1718171272945,"results":"63","hashOfConfig":"45"},{"size":1762,"mtime":1716085371838,"results":"64","hashOfConfig":"45"},{"size":3149,"mtime":1716085382191,"results":"65","hashOfConfig":"45"},{"size":498,"mtime":1709893919938,"results":"66","hashOfConfig":"45"},{"size":1503,"mtime":1716085382199,"results":"67","hashOfConfig":"45"},{"size":2083,"mtime":1716085382206,"results":"68","hashOfConfig":"45"},{"size":2830,"mtime":1716085382332,"results":"69","hashOfConfig":"45"},{"size":1080,"mtime":1716085371834,"results":"70","hashOfConfig":"45"},{"size":3603,"mtime":1713782094969,"results":"71","hashOfConfig":"45"},{"size":2765,"mtime":1716085382106,"results":"72","hashOfConfig":"45"},{"size":1102,"mtime":1710829302576,"results":"73","hashOfConfig":"45"},{"size":1162,"mtime":1710829299926,"results":"74","hashOfConfig":"45"},{"size":2302,"mtime":1711102156682,"results":"75","hashOfConfig":"45"},{"size":1677,"mtime":1716085381973,"results":"76","hashOfConfig":"45"},{"size":4897,"mtime":1718160488688,"results":"77","hashOfConfig":"45"},{"size":1943,"mtime":1712056204827,"results":"78","hashOfConfig":"45"},{"size":670,"mtime":1718160488706,"results":"79","hashOfConfig":"45"},{"size":1781,"mtime":1713782021632,"results":"80","hashOfConfig":"45"},{"size":1349,"mtime":1711679772700,"results":"81","hashOfConfig":"45"},{"size":3092,"mtime":1713518816733,"results":"82","hashOfConfig":"45"},{"size":482,"mtime":1713782042608,"results":"83","hashOfConfig":"45"},{"size":1685,"mtime":1713782074355,"results":"84","hashOfConfig":"45"},{"size":1049,"mtime":1716085371834,"results":"85","hashOfConfig":"45"},{"size":1208,"mtime":1716085371834,"results":"86","hashOfConfig":"45"},{"size":365,"mtime":1716085371835,"results":"87","hashOfConfig":"45"},{"filePath":"88","messages":"89","suppressedMessages":"90","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1mh59l9",{"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":0,"fixableErrorCount":0,"fixableWarningCount":0},{"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":2,"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":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"112","messages":"113","suppressedMessages":"114","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"115","messages":"116","suppressedMessages":"117","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"118","messages":"119","suppressedMessages":"120","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"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":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"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":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"136","messages":"137","suppressedMessages":"138","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"139","messages":"140","suppressedMessages":"141","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"142","messages":"143","suppressedMessages":"144","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"145","messages":"146","suppressedMessages":"147","errorCount":0,"fatalErrorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"148","messages":"149","suppressedMessages":"150","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"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":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"163","messages":"164","suppressedMessages":"165","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"166","messages":"167","suppressedMessages":"168","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"169","messages":"170","suppressedMessages":"171","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"172","messages":"173","suppressedMessages":"174","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"175","messages":"176","suppressedMessages":"177","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"178","messages":"179","suppressedMessages":"180","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"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":6,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"187","messages":"188","suppressedMessages":"189","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"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":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"202","messages":"203","suppressedMessages":"204","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"205","messages":"206","suppressedMessages":"207","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"208","messages":"209","suppressedMessages":"210","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"211","messages":"212","suppressedMessages":"213","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"214","messages":"215","suppressedMessages":"216","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",["217","218"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/context.ts",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useCurrentTable.ts",["219"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useHTable.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useRowObj.ts",["220"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/modal.ts",["221"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/TableConfig.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/index.tsx",["222","223"],[],"/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",["224"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/pages/Table/index.tsx",["225","226"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/pages/TableCustomize/index.tsx",["227","228","229"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTablePagination/index.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/index.ts",["230"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/ModalTable/hooks.ts",["231","232","233","234"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/ModalTable/index.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/pages/ModalTable/index.tsx",["235","236","237","238"],[],"/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",["239","240"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/GoTop/index.tsx",["241","242"],[],"/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",["243","244","245","246","247","248"],[],"/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",["249"],[],"/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",["250"],[],"/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",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/HeaderTitle/index.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/RangePickerSearch.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/defaultFormRender.tsx",[],[],{"ruleId":"251","severity":1,"message":"252","line":20,"column":3,"nodeType":"253","messageId":"254","endLine":20,"endColumn":12},{"ruleId":"251","severity":1,"message":"255","line":21,"column":3,"nodeType":"253","messageId":"254","endLine":21,"endColumn":12},{"ruleId":"256","severity":1,"message":"257","line":37,"column":6,"nodeType":"258","endLine":37,"endColumn":30,"suggestions":"259"},{"ruleId":"251","severity":1,"message":"260","line":8,"column":9,"nodeType":"253","messageId":"254","endLine":8,"endColumn":30},{"ruleId":"251","severity":1,"message":"261","line":65,"column":6,"nodeType":"253","messageId":"254","endLine":65,"endColumn":20},{"ruleId":"251","severity":1,"message":"262","line":77,"column":5,"nodeType":"253","messageId":"254","endLine":77,"endColumn":16},{"ruleId":"251","severity":1,"message":"263","line":80,"column":5,"nodeType":"253","messageId":"254","endLine":80,"endColumn":20},{"ruleId":"256","severity":1,"message":"264","line":52,"column":6,"nodeType":"258","endLine":52,"endColumn":8,"suggestions":"265"},{"ruleId":"251","severity":1,"message":"266","line":62,"column":7,"nodeType":"253","messageId":"254","endLine":62,"endColumn":11},{"ruleId":"251","severity":1,"message":"267","line":117,"column":42,"nodeType":"253","messageId":"254","endLine":117,"endColumn":48},{"ruleId":"251","severity":1,"message":"268","line":5,"column":3,"nodeType":"253","messageId":"254","endLine":5,"endColumn":15},{"ruleId":"251","severity":1,"message":"269","line":6,"column":3,"nodeType":"253","messageId":"254","endLine":6,"endColumn":19},{"ruleId":"251","severity":1,"message":"267","line":41,"column":36,"nodeType":"253","messageId":"254","endLine":41,"endColumn":42},{"ruleId":"256","severity":1,"message":"270","line":13,"column":6,"nodeType":"258","endLine":13,"endColumn":17,"suggestions":"271"},{"ruleId":"251","severity":1,"message":"272","line":9,"column":10,"nodeType":"253","messageId":"254","endLine":9,"endColumn":21},{"ruleId":"251","severity":1,"message":"273","line":16,"column":14,"nodeType":"253","messageId":"254","endLine":16,"endColumn":39},{"ruleId":"256","severity":1,"message":"274","line":20,"column":6,"nodeType":"258","endLine":20,"endColumn":8,"suggestions":"275"},{"ruleId":"256","severity":1,"message":"276","line":48,"column":6,"nodeType":"258","endLine":48,"endColumn":8,"suggestions":"277"},{"ruleId":"251","severity":1,"message":"278","line":24,"column":7,"nodeType":"253","messageId":"254","endLine":24,"endColumn":11},{"ruleId":"251","severity":1,"message":"267","line":27,"column":32,"nodeType":"253","messageId":"254","endLine":27,"endColumn":38},{"ruleId":"251","severity":1,"message":"267","line":47,"column":32,"nodeType":"253","messageId":"254","endLine":47,"endColumn":38},{"ruleId":"251","severity":1,"message":"279","line":114,"column":9,"nodeType":"253","messageId":"254","endLine":114,"endColumn":21},{"ruleId":"256","severity":1,"message":"280","line":60,"column":6,"nodeType":"258","endLine":60,"endColumn":39,"suggestions":"281"},{"ruleId":"256","severity":1,"message":"282","line":89,"column":6,"nodeType":"258","endLine":89,"endColumn":40,"suggestions":"283"},{"ruleId":"256","severity":1,"message":"284","line":26,"column":6,"nodeType":"258","endLine":26,"endColumn":11,"suggestions":"285"},{"ruleId":"256","severity":1,"message":"284","line":34,"column":6,"nodeType":"258","endLine":34,"endColumn":8,"suggestions":"286"},{"ruleId":"251","severity":1,"message":"287","line":68,"column":5,"nodeType":"253","messageId":"254","endLine":68,"endColumn":22},{"ruleId":"251","severity":1,"message":"288","line":69,"column":5,"nodeType":"253","messageId":"254","endLine":69,"endColumn":15},{"ruleId":"251","severity":1,"message":"289","line":70,"column":5,"nodeType":"253","messageId":"254","endLine":70,"endColumn":16},{"ruleId":"251","severity":1,"message":"290","line":71,"column":5,"nodeType":"253","messageId":"254","endLine":71,"endColumn":10},{"ruleId":"256","severity":1,"message":"291","line":188,"column":6,"nodeType":"258","endLine":188,"endColumn":42,"suggestions":"292"},{"ruleId":"256","severity":1,"message":"291","line":194,"column":6,"nodeType":"258","endLine":194,"endColumn":42,"suggestions":"293"},{"ruleId":"256","severity":1,"message":"294","line":31,"column":6,"nodeType":"258","endLine":31,"endColumn":15,"suggestions":"295"},{"ruleId":"256","severity":1,"message":"296","line":37,"column":6,"nodeType":"258","endLine":37,"endColumn":15,"suggestions":"297"},"@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",["298"],"'selectedRowDataSource' is assigned a value but never used.","'FooterRenderFn' is defined but never used.","'rowOnChange' is assigned a value but never used.","'allSelectChange' is assigned a value but never used.","React Hook useEffect has missing dependencies: 'formInitValues', 'manual', 'reloadFn', 'request', and 'resultAction'. Either include them or remove the dependency array.",["299"],"'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.",["300"],"'HTableProps' is defined but never used.","'params' is defined but never used.","React Hook useMemo has a missing dependency: 'tableInstance'. Either include it or remove the dependency array.",["301"],"React Hook useEffect has missing dependencies: 'dialogTableInstance', 'hide', and 'show'. Either include them or remove the dependency array.",["302"],"'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.",["303"],"React Hook useEffect has a missing dependency: 'rowOnChange'. Either include it or remove the dependency array.",["304"],"React Hook useEffect has a missing dependency: 'cuDom'. Either include it or remove the dependency array.",["305"],["306"],"'childrenDataIndex' is defined but never used.","'showSearch' is defined but never used.","'hideInTable' is defined but never used.","'align' is defined but never used.","React Hook useEffect has a missing dependency: 'mkNewFn'. Either include it or remove the dependency array.",["307"],["308"],"React Hook useMemo has a missing dependency: 'titleClass'. Either include it or remove the dependency array.",["309"],"React Hook useEffect has a missing dependency: 'tableInstance.table'. Either include it or remove the dependency array.",["310"],{"desc":"311","fix":"312"},{"desc":"313","fix":"314"},{"desc":"315","fix":"316"},{"desc":"317","fix":"318"},{"desc":"319","fix":"320"},{"desc":"321","fix":"322"},{"desc":"323","fix":"324"},{"desc":"325","fix":"326"},{"desc":"327","fix":"328"},{"desc":"329","fix":"330"},{"desc":"329","fix":"331"},{"desc":"332","fix":"333"},{"desc":"334","fix":"335"},"Update the dependencies array to be: [table, useCurrentTable, reload, changeRowData, dispatch, reloadWithParams, getTableParams, selectedRowData]",{"range":"336","text":"337"},"Update the dependencies array to be: [formInitValues, manual, reloadFn, request, resultAction]",{"range":"338","text":"339"},"Update the dependencies array to be: [className, config]",{"range":"340","text":"341"},"Update the dependencies array to be: [tableInstance]",{"range":"342","text":"343"},"Update the dependencies array to be: [dialogTableInstance, hide, show]",{"range":"344","text":"345"},"Update the dependencies array to be: [configData, table, rowSelection, changeConfigData]",{"range":"346","text":"347"},"Update the dependencies array to be: [selectedRowKeys, records, rowKey, rowOnChange]",{"range":"348","text":"349"},"Update the dependencies array to be: [cuDom, dom]",{"range":"350","text":"351"},"Update the dependencies array to be: [cuDom]",{"range":"352","text":"353"},"Update the dependencies array to be: [configData, searchSpan, headerOpen, mkNewFn]",{"range":"354","text":"355"},{"range":"356","text":"355"},"Update the dependencies array to be: [columns, titleClass]",{"range":"357","text":"358"},"Update the dependencies array to be: [columns, tableInstance.table]",{"range":"359","text":"360"},[1190,1214],"[table, useCurrentTable, reload, changeRowData, dispatch, reloadWithParams, getTableParams, selectedRowData]",[1299,1301],"[formInitValues, manual, reloadFn, request, resultAction]",[481,492],"[className, config]",[523,525],"[tableInstance]",[1229,1231],"[dialogTableInstance, hide, show]",[1764,1797],"[configData, table, rowSelection, changeConfigData]",[2532,2566],"[selectedRowKeys, records, rowKey, rowOnChange]",[825,830],"[cuDom, dom]",[1021,1023],"[cuDom]",[4625,4661],"[configData, searchSpan, headerOpen, mkNewFn]",[4816,4852],[996,1005],"[columns, titleClass]",[1123,1132],"[columns, tableInstance.table]"]
|
package/es/Table.js
CHANGED
|
@@ -83,7 +83,8 @@ var Table = (function (_ref) {
|
|
|
83
83
|
getTableParams: function getTableParams() {
|
|
84
84
|
return saveParams.old;
|
|
85
85
|
},
|
|
86
|
-
selectedRowData: selectedRowData
|
|
86
|
+
selectedRowData: selectedRowData,
|
|
87
|
+
dataSource: data
|
|
87
88
|
});
|
|
88
89
|
return jsx(HTableContext.Provider, {
|
|
89
90
|
value: {
|
package/es/TableCustomize.js
CHANGED
|
@@ -64,7 +64,8 @@ var Index = function Index(_ref) {
|
|
|
64
64
|
getTableParams: function getTableParams() {
|
|
65
65
|
return saveParams.old;
|
|
66
66
|
},
|
|
67
|
-
selectedRowData: selectedRowData
|
|
67
|
+
selectedRowData: selectedRowData,
|
|
68
|
+
dataSource: data
|
|
68
69
|
});
|
|
69
70
|
return jsx(HTableContext.Provider, {
|
|
70
71
|
value: {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type React from "react";
|
|
2
2
|
import type { ParamsModal, HTableInstance } from "../modal";
|
|
3
3
|
import type { RowObj } from "../modal";
|
|
4
|
+
import { ResultModal } from "../modal";
|
|
4
5
|
interface currentTableParams {
|
|
5
6
|
table?: HTableInstance;
|
|
6
7
|
reload: (params?: ParamsModal) => Promise<any>;
|
|
@@ -9,6 +10,7 @@ interface currentTableParams {
|
|
|
9
10
|
reloadWithParams: (params?: ParamsModal) => Promise<any>;
|
|
10
11
|
getTableParams: () => any;
|
|
11
12
|
selectedRowData: RowObj;
|
|
13
|
+
dataSource?: ResultModal;
|
|
12
14
|
}
|
|
13
|
-
declare const _default: ({ table, reload, changeRowData, dispatch, reloadWithParams, getTableParams, selectedRowData, }: currentTableParams) => HTableInstance;
|
|
15
|
+
declare const _default: ({ table, reload, changeRowData, dispatch, reloadWithParams, getTableParams, selectedRowData, dataSource }: currentTableParams) => HTableInstance;
|
|
14
16
|
export default _default;
|
|
@@ -9,7 +9,8 @@ var useCurrentTable = (function (_ref) {
|
|
|
9
9
|
dispatch = _ref.dispatch,
|
|
10
10
|
reloadWithParams = _ref.reloadWithParams,
|
|
11
11
|
getTableParams = _ref.getTableParams,
|
|
12
|
-
selectedRowData = _ref.selectedRowData
|
|
12
|
+
selectedRowData = _ref.selectedRowData,
|
|
13
|
+
dataSource = _ref.dataSource;
|
|
13
14
|
var useCurrentTable = useHTable();
|
|
14
15
|
return useMemo(function () {
|
|
15
16
|
var resultTable = table || useCurrentTable;
|
|
@@ -21,8 +22,11 @@ var useCurrentTable = (function (_ref) {
|
|
|
21
22
|
resultTable.table.getSelectedRowData = function () {
|
|
22
23
|
return selectedRowData;
|
|
23
24
|
};
|
|
25
|
+
resultTable.table.getTableSourceData = function () {
|
|
26
|
+
return dataSource === null || dataSource === void 0 ? void 0 : dataSource.records;
|
|
27
|
+
};
|
|
24
28
|
return resultTable;
|
|
25
|
-
}, [table, selectedRowData]);
|
|
29
|
+
}, [table, selectedRowData, dataSource]);
|
|
26
30
|
});
|
|
27
31
|
|
|
28
32
|
export { useCurrentTable as default };
|
package/es/hooks/useReq.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export interface IParamsModal {
|
|
|
8
8
|
manual?: boolean;
|
|
9
9
|
formInitValues?: Record<string, any>;
|
|
10
10
|
}
|
|
11
|
-
declare const _default: ({ request, loading, error, reload, dataSource, manual, formInitValues }: IParamsModal) => {
|
|
11
|
+
declare const _default: ({ request, loading, error, reload, dataSource, manual, formInitValues, }: IParamsModal) => {
|
|
12
12
|
saveParams: {
|
|
13
13
|
old: {};
|
|
14
14
|
};
|
package/es/modal.d.ts
CHANGED
package/lib/Table.js
CHANGED
|
@@ -86,7 +86,8 @@ var Table = (function (_ref) {
|
|
|
86
86
|
getTableParams: function getTableParams() {
|
|
87
87
|
return saveParams.old;
|
|
88
88
|
},
|
|
89
|
-
selectedRowData: selectedRowData
|
|
89
|
+
selectedRowData: selectedRowData,
|
|
90
|
+
dataSource: data
|
|
90
91
|
});
|
|
91
92
|
return jsxRuntime.jsx(context.HTableContext.Provider, {
|
|
92
93
|
value: {
|
package/lib/TableCustomize.js
CHANGED
|
@@ -67,7 +67,8 @@ var Index = function Index(_ref) {
|
|
|
67
67
|
getTableParams: function getTableParams() {
|
|
68
68
|
return saveParams.old;
|
|
69
69
|
},
|
|
70
|
-
selectedRowData: selectedRowData
|
|
70
|
+
selectedRowData: selectedRowData,
|
|
71
|
+
dataSource: data
|
|
71
72
|
});
|
|
72
73
|
return jsxRuntime.jsx(context.HTableContext.Provider, {
|
|
73
74
|
value: {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type React from "react";
|
|
2
2
|
import type { ParamsModal, HTableInstance } from "../modal";
|
|
3
3
|
import type { RowObj } from "../modal";
|
|
4
|
+
import { ResultModal } from "../modal";
|
|
4
5
|
interface currentTableParams {
|
|
5
6
|
table?: HTableInstance;
|
|
6
7
|
reload: (params?: ParamsModal) => Promise<any>;
|
|
@@ -9,6 +10,7 @@ interface currentTableParams {
|
|
|
9
10
|
reloadWithParams: (params?: ParamsModal) => Promise<any>;
|
|
10
11
|
getTableParams: () => any;
|
|
11
12
|
selectedRowData: RowObj;
|
|
13
|
+
dataSource?: ResultModal;
|
|
12
14
|
}
|
|
13
|
-
declare const _default: ({ table, reload, changeRowData, dispatch, reloadWithParams, getTableParams, selectedRowData, }: currentTableParams) => HTableInstance;
|
|
15
|
+
declare const _default: ({ table, reload, changeRowData, dispatch, reloadWithParams, getTableParams, selectedRowData, dataSource }: currentTableParams) => HTableInstance;
|
|
14
16
|
export default _default;
|
|
@@ -12,7 +12,8 @@ var useCurrentTable = (function (_ref) {
|
|
|
12
12
|
dispatch = _ref.dispatch,
|
|
13
13
|
reloadWithParams = _ref.reloadWithParams,
|
|
14
14
|
getTableParams = _ref.getTableParams,
|
|
15
|
-
selectedRowData = _ref.selectedRowData
|
|
15
|
+
selectedRowData = _ref.selectedRowData,
|
|
16
|
+
dataSource = _ref.dataSource;
|
|
16
17
|
var useCurrentTable = useHTable.default();
|
|
17
18
|
return React.useMemo(function () {
|
|
18
19
|
var resultTable = table || useCurrentTable;
|
|
@@ -24,8 +25,11 @@ var useCurrentTable = (function (_ref) {
|
|
|
24
25
|
resultTable.table.getSelectedRowData = function () {
|
|
25
26
|
return selectedRowData;
|
|
26
27
|
};
|
|
28
|
+
resultTable.table.getTableSourceData = function () {
|
|
29
|
+
return dataSource === null || dataSource === void 0 ? void 0 : dataSource.records;
|
|
30
|
+
};
|
|
27
31
|
return resultTable;
|
|
28
|
-
}, [table, selectedRowData]);
|
|
32
|
+
}, [table, selectedRowData, dataSource]);
|
|
29
33
|
});
|
|
30
34
|
|
|
31
35
|
exports.default = useCurrentTable;
|
package/lib/hooks/useReq.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export interface IParamsModal {
|
|
|
8
8
|
manual?: boolean;
|
|
9
9
|
formInitValues?: Record<string, any>;
|
|
10
10
|
}
|
|
11
|
-
declare const _default: ({ request, loading, error, reload, dataSource, manual, formInitValues }: IParamsModal) => {
|
|
11
|
+
declare const _default: ({ request, loading, error, reload, dataSource, manual, formInitValues, }: IParamsModal) => {
|
|
12
12
|
saveParams: {
|
|
13
13
|
old: {};
|
|
14
14
|
};
|
package/lib/modal.d.ts
CHANGED
package/package.json
CHANGED
package/src/components/Table.tsx
CHANGED
|
@@ -28,7 +28,11 @@ export default ({
|
|
|
28
28
|
labelWidth,
|
|
29
29
|
...props
|
|
30
30
|
}: HTableProps) => {
|
|
31
|
-
const { run, loading, data, error, saveParams } = useReq({
|
|
31
|
+
const { run, loading, data, error, saveParams } = useReq({
|
|
32
|
+
request,
|
|
33
|
+
manual,
|
|
34
|
+
formInitValues,
|
|
35
|
+
});
|
|
32
36
|
const dispatch = useDispatch(action);
|
|
33
37
|
const { selectedRowData, rowOnChange, allSelectChange, setSelectedRowData } =
|
|
34
38
|
useRowObj();
|
|
@@ -49,6 +53,7 @@ export default ({
|
|
|
49
53
|
return saveParams.old;
|
|
50
54
|
},
|
|
51
55
|
selectedRowData,
|
|
56
|
+
dataSource:data,
|
|
52
57
|
});
|
|
53
58
|
return (
|
|
54
59
|
<HTableContext.Provider
|
|
@@ -3,6 +3,7 @@ import { useMemo } from "react";
|
|
|
3
3
|
import type { ParamsModal, HTableInstance } from "../modal";
|
|
4
4
|
import useHTable from "../hooks/useHTable";
|
|
5
5
|
import type { RowObj } from "../modal";
|
|
6
|
+
import {ResultModal} from "../modal";
|
|
6
7
|
|
|
7
8
|
interface currentTableParams {
|
|
8
9
|
table?: HTableInstance;
|
|
@@ -12,6 +13,7 @@ interface currentTableParams {
|
|
|
12
13
|
reloadWithParams: (params?: ParamsModal) => Promise<any>;
|
|
13
14
|
getTableParams: () => any;
|
|
14
15
|
selectedRowData: RowObj;
|
|
16
|
+
dataSource?:ResultModal;
|
|
15
17
|
}
|
|
16
18
|
export default ({
|
|
17
19
|
table,
|
|
@@ -21,6 +23,7 @@ export default ({
|
|
|
21
23
|
reloadWithParams,
|
|
22
24
|
getTableParams,
|
|
23
25
|
selectedRowData,
|
|
26
|
+
dataSource
|
|
24
27
|
}: currentTableParams) => {
|
|
25
28
|
const useCurrentTable = useHTable();
|
|
26
29
|
return useMemo(() => {
|
|
@@ -33,6 +36,9 @@ export default ({
|
|
|
33
36
|
resultTable.table.getSelectedRowData = () => {
|
|
34
37
|
return selectedRowData;
|
|
35
38
|
};
|
|
39
|
+
resultTable.table.getTableSourceData=()=>{
|
|
40
|
+
return dataSource?.records;
|
|
41
|
+
}
|
|
36
42
|
return resultTable as HTableInstance;
|
|
37
|
-
}, [table, selectedRowData]);
|
|
43
|
+
}, [table, selectedRowData,dataSource]);
|
|
38
44
|
};
|
|
@@ -17,11 +17,11 @@ export default ({
|
|
|
17
17
|
reload,
|
|
18
18
|
dataSource,
|
|
19
19
|
manual = false,
|
|
20
|
-
|
|
20
|
+
formInitValues = {},
|
|
21
21
|
}: IParamsModal) => {
|
|
22
22
|
const saveParams = useMemo(() => {
|
|
23
23
|
return {
|
|
24
|
-
old:{},
|
|
24
|
+
old: {},
|
|
25
25
|
};
|
|
26
26
|
}, []);
|
|
27
27
|
const reloadFn = async (params: Record<string, any> = {}) => {
|
package/src/components/modal.ts
CHANGED
|
@@ -42,7 +42,7 @@ const configData = [
|
|
|
42
42
|
titleStr: "座位",
|
|
43
43
|
showSearch: true,
|
|
44
44
|
dataIndex: "name2",
|
|
45
|
-
searchType:"select",
|
|
45
|
+
searchType: "select",
|
|
46
46
|
sorter: true,
|
|
47
47
|
itemProps: {
|
|
48
48
|
options: [{ label: "name2", value: 1 }],
|
|
@@ -70,7 +70,7 @@ export default () => {
|
|
|
70
70
|
<div>
|
|
71
71
|
<div
|
|
72
72
|
onClick={() => {
|
|
73
|
-
console.log(hTable.table.
|
|
73
|
+
console.log(hTable.table.getTableSourceData());
|
|
74
74
|
}}
|
|
75
75
|
>
|
|
76
76
|
获取
|