@hw-component/table 1.9.59 → 1.9.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintcache +1 -1
- package/es/HTableBody/HeaderTitle/index.d.ts +1 -1
- package/es/HTableBody/{hooks.d.ts → hooks/useColData.d.ts} +3 -16
- package/es/HTableBody/{hooks.js → hooks/useColData.js} +21 -58
- package/es/HTableBody/hooks/useControl.d.ts +16 -0
- package/es/HTableBody/hooks/useControl.js +119 -0
- package/es/HTableBody/index.d.ts +2 -27
- package/es/HTableBody/index.js +9 -21
- package/es/HTableBody/modal.d.ts +27 -0
- package/es/Table.js +2 -1
- package/es/modal.d.ts +1 -1
- package/lib/HTableBody/HeaderTitle/index.d.ts +1 -1
- package/lib/HTableBody/{hooks.d.ts → hooks/useColData.d.ts} +3 -16
- package/lib/HTableBody/{hooks.js → hooks/useColData.js} +20 -59
- package/lib/HTableBody/hooks/useControl.d.ts +16 -0
- package/lib/HTableBody/hooks/useControl.js +122 -0
- package/lib/HTableBody/index.d.ts +2 -27
- package/lib/HTableBody/index.js +13 -25
- package/lib/HTableBody/modal.d.ts +27 -0
- package/lib/Table.js +2 -1
- package/lib/modal.d.ts +1 -1
- package/package.json +1 -1
- package/src/components/HTableBody/HeaderTitle/index.tsx +1 -1
- package/src/components/HTableBody/{hooks.tsx → hooks/useColData.tsx} +27 -61
- package/src/components/HTableBody/hooks/useControl.tsx +106 -0
- package/src/components/HTableBody/index.tsx +13 -62
- package/src/components/HTableBody/modal.ts +41 -0
- package/src/components/Table.tsx +1 -1
- package/src/components/index.less +1 -1
- package/src/components/modal.ts +1 -1
- package/src/components/render/config.tsx +1 -1
- package/src/components/styles/local.less +1 -0
- package/src/pages/Table/index.tsx +16 -14
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/pages/ModalTable/index.tsx":"23","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/AlertMsg.tsx":"24","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/RowSelection.tsx":"25","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/hooks.tsx":"26","/Users/hedongjie/Desktop/web/hw-component-table/src/components/GoTop/index.tsx":"27","/Users/hedongjie/Desktop/web/hw-component-table/src/typings.d.ts":"28","/Users/hedongjie/Desktop/web/hw-component-table/scripts/rollup.config.js":"29","/Users/hedongjie/Desktop/web/hw-component-table/scripts/webpack.config.js":"30","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/defaultSubComponent.tsx":"31","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/modal.ts":"32","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/Content.tsx":"33","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/Title.tsx":"34","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/index.tsx":"35","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/modal.d.ts":"36","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/utils.ts":"37","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/HeaderTitle/index.tsx":"38","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/RangePickerSearch.tsx":"39","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/defaultFormRender.tsx":"40","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/hooks.ts":"41","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/Context.tsx":"42","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/utils.ts":"43","/Users/hedongjie/Desktop/web/hw-component-table/src/components/render/TagsComponent.tsx":"44","/Users/hedongjie/Desktop/web/hw-component-table/src/components/render/config.tsx":"45","/Users/hedongjie/Desktop/web/hw-component-table/src/components/render/index.tsx":"46","/Users/hedongjie/Desktop/web/hw-component-table/src/components/DialogTable/Content.tsx":"47","/Users/hedongjie/Desktop/web/hw-component-table/src/components/DialogTable/DwTable.tsx":"48","/Users/hedongjie/Desktop/web/hw-component-table/src/components/DialogTable/ModalTable.tsx":"49","/Users/hedongjie/Desktop/web/hw-component-table/src/components/DialogTable/hooks.ts":"50","/Users/hedongjie/Desktop/web/hw-component-table/src/components/render/CopyComponent.tsx":"51","/Users/hedongjie/Desktop/web/hw-component-table/src/components/render/Text.tsx":"52","/Users/hedongjie/Desktop/web/hw-component-table/src/pages/DwTable/index.tsx":"53","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/hooks/config.tsx":"54","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/hooks/useHeaderDefaultProps.ts":"55","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/hooks/useHideMoreTitle.tsx":"56","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/defaultRender.tsx":"57","/Users/hedongjie/Desktop/web/hw-component-table/src/components/typings.d.ts":"58"},{"size":1541,"mtime":1709541397429,"results":"59","hashOfConfig":"60"},{"size":741,"mtime":1713518829815,"results":"61","hashOfConfig":"60"},{"size":370,"mtime":1718160488742,"results":"62","hashOfConfig":"60"},{"size":887,"mtime":1724397613543,"results":"63","hashOfConfig":"60"},{"size":778,"mtime":1735036252848,"results":"64","hashOfConfig":"60"},{"size":2966,"mtime":1742356516336,"results":"65","hashOfConfig":"60"},{"size":952,"mtime":1721801509391,"results":"66","hashOfConfig":"60"},{"size":1468,"mtime":1742356516346,"results":"67","hashOfConfig":"60"},{"size":839,"mtime":1720086914276,"results":"68","hashOfConfig":"60"},{"size":1037,"mtime":1742356516354,"results":"69","hashOfConfig":"60"},{"size":5449,"mtime":1742356516378,"results":"70","hashOfConfig":"60"},{"size":1488,"mtime":1721801545279,"results":"71","hashOfConfig":"60"},{"size":6438,"mtime":1742356516318,"results":"72","hashOfConfig":"60"},{"size":2163,"mtime":1716085382140,"results":"73","hashOfConfig":"60"},{"size":1795,"mtime":1740108939749,"results":"74","hashOfConfig":"60"},{"size":1958,"mtime":1729582327153,"results":"75","hashOfConfig":"60"},{"size":209,"mtime":1713781957255,"results":"76","hashOfConfig":"60"},{"size":2879,"mtime":1734490699907,"results":"77","hashOfConfig":"60"},{"size":6376,"mtime":1742356516472,"results":"78","hashOfConfig":"60"},{"size":2108,"mtime":1742356516487,"results":"79","hashOfConfig":"60"},{"size":3518,"mtime":1740040940373,"results":"80","hashOfConfig":"60"},{"size":498,"mtime":1709893919938,"results":"81","hashOfConfig":"60"},{"size":3511,"mtime":1742356516413,"results":"82","hashOfConfig":"60"},{"size":1080,"mtime":1716085371834,"results":"83","hashOfConfig":"60"},{"size":3927,"mtime":1736738630456,"results":"84","hashOfConfig":"60"},{"size":5546,"mtime":1742356516292,"results":"85","hashOfConfig":"60"},{"size":1102,"mtime":1710829302576,"results":"86","hashOfConfig":"60"},{"size":1162,"mtime":1710829299926,"results":"87","hashOfConfig":"60"},{"size":2357,"mtime":1732161767681,"results":"88","hashOfConfig":"60"},{"size":1677,"mtime":1716085381973,"results":"89","hashOfConfig":"60"},{"size":2305,"mtime":1736738630509,"results":"90","hashOfConfig":"60"},{"size":696,"mtime":1720086914261,"results":"91","hashOfConfig":"60"},{"size":1684,"mtime":1720086914112,"results":"92","hashOfConfig":"60"},{"size":1437,"mtime":1720086914134,"results":"93","hashOfConfig":"60"},{"size":2987,"mtime":1720174044485,"results":"94","hashOfConfig":"60"},{"size":782,"mtime":1720174047079,"results":"95","hashOfConfig":"60"},{"size":479,"mtime":1720086914169,"results":"96","hashOfConfig":"60"},{"size":1196,"mtime":1742356516252,"results":"97","hashOfConfig":"60"},{"size":1208,"mtime":1716085371834,"results":"98","hashOfConfig":"60"},{"size":365,"mtime":1716085371835,"results":"99","hashOfConfig":"60"},{"size":665,"mtime":1720086917041,"results":"100","hashOfConfig":"60"},{"size":266,"mtime":1720086917041,"results":"101","hashOfConfig":"60"},{"size":2253,"mtime":1720086917041,"results":"102","hashOfConfig":"60"},{"size":3023,"mtime":1721801547651,"results":"103","hashOfConfig":"60"},{"size":3705,"mtime":1742356516391,"results":"104","hashOfConfig":"60"},{"size":813,"mtime":1726745370599,"results":"105","hashOfConfig":"60"},{"size":494,"mtime":1729582302142,"results":"106","hashOfConfig":"60"},{"size":2872,"mtime":1729582327027,"results":"107","hashOfConfig":"60"},{"size":2404,"mtime":1742356516230,"results":"108","hashOfConfig":"60"},{"size":1682,"mtime":1740108939664,"results":"109","hashOfConfig":"60"},{"size":743,"mtime":1729582327190,"results":"110","hashOfConfig":"60"},{"size":182,"mtime":1724397725474,"results":"111","hashOfConfig":"60"},{"size":3560,"mtime":1740108939820,"results":"112","hashOfConfig":"60"},{"size":703,"mtime":1740108942394,"results":"113","hashOfConfig":"60"},{"size":1071,"mtime":1740108939723,"results":"114","hashOfConfig":"60"},{"size":4477,"mtime":1740108942394,"results":"115","hashOfConfig":"60"},{"size":820,"mtime":1742356516261},{"size":269,"mtime":1695809104376,"results":"116","hashOfConfig":"60"},{"filePath":"117","messages":"118","suppressedMessages":"119","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1mh59l9",{"filePath":"120","messages":"121","suppressedMessages":"122","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"123","messages":"124","suppressedMessages":"125","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"126","messages":"127","suppressedMessages":"128","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"129","messages":"130","suppressedMessages":"131","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"132","messages":"133","suppressedMessages":"134","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"135","messages":"136","suppressedMessages":"137","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"138","messages":"139","suppressedMessages":"140","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"141","messages":"142","suppressedMessages":"143","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"144","messages":"145","suppressedMessages":"146","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"147","messages":"148","suppressedMessages":"149","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"150","messages":"151","suppressedMessages":"152","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"153","messages":"154","suppressedMessages":"155","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"156","messages":"157","suppressedMessages":"158","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"159","messages":"160","suppressedMessages":"161","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"162","messages":"163","suppressedMessages":"164","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"165","messages":"166","suppressedMessages":"167","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"168","messages":"169","suppressedMessages":"170","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"171","messages":"172","suppressedMessages":"173","errorCount":0,"fatalErrorCount":0,"warningCount":16,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"174","messages":"175","suppressedMessages":"176","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"177","messages":"178","suppressedMessages":"179","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"180","messages":"181","suppressedMessages":"182","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"183","messages":"184","suppressedMessages":"185","errorCount":0,"fatalErrorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"186","messages":"187","suppressedMessages":"188","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"189","messages":"190","suppressedMessages":"191","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"192","messages":"193","suppressedMessages":"194","errorCount":0,"fatalErrorCount":0,"warningCount":5,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"195","messages":"196","suppressedMessages":"197","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"198","messages":"199","suppressedMessages":"200","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"201","messages":"202","suppressedMessages":"203","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"204","messages":"205","suppressedMessages":"206","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"207","messages":"208","suppressedMessages":"209","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"210","messages":"211","suppressedMessages":"212","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"213","messages":"214","suppressedMessages":"215","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"216","messages":"217","suppressedMessages":"218","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"219","messages":"220","suppressedMessages":"221","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"222","messages":"223","suppressedMessages":"224","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"225","messages":"226","suppressedMessages":"227","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"228","messages":"229","suppressedMessages":"230","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"231","messages":"232","suppressedMessages":"233","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"234","messages":"235","suppressedMessages":"236","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"237","messages":"238","suppressedMessages":"239","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"240","messages":"241","suppressedMessages":"242","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"243","messages":"244","suppressedMessages":"245","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"246","messages":"247","suppressedMessages":"248","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"249","messages":"250","suppressedMessages":"251","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"252","messages":"253","suppressedMessages":"254","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"255","messages":"256","suppressedMessages":"257","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"258","messages":"259","suppressedMessages":"260","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"261","messages":"262","suppressedMessages":"263","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"264","messages":"265","suppressedMessages":"266","errorCount":0,"fatalErrorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"267","messages":"268","suppressedMessages":"269","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"270","messages":"271","suppressedMessages":"272","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"273","messages":"274","suppressedMessages":"275","errorCount":0,"fatalErrorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"276","messages":"277","suppressedMessages":"278","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"279","messages":"280","suppressedMessages":"281","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"282","messages":"283","suppressedMessages":"284","errorCount":0,"fatalErrorCount":0,"warningCount":6,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"285","messages":"286","suppressedMessages":"287","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",["288","289"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/context.ts",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useCurrentTable.ts",["290"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useHTable.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useRowObj.ts",["291"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/modal.ts",[],[],"/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",["292","293"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/pages/Table/index.tsx",["294","295","296","297","298","299","300","301","302","303","304","305","306","307","308","309"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/pages/TableCustomize/index.tsx",["310","311"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTablePagination/index.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/index.ts",["312"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/pages/ModalTable/index.tsx",["313","314","315","316"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/AlertMsg.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/RowSelection.tsx",["317"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/hooks.tsx",["318","319","320","321","322"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/GoTop/index.tsx",["323","324"],[],"/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/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",["325"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/Title.tsx",["326"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/index.tsx",[],[],"/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",["327","328"],[],"/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",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/hooks.ts",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/Context.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/utils.ts",["329","330"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/render/TagsComponent.tsx",["331","332"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/render/config.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/render/index.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/DialogTable/Content.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/DialogTable/DwTable.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/DialogTable/ModalTable.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/DialogTable/hooks.ts",["333","334","335"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/render/CopyComponent.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/render/Text.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/pages/DwTable/index.tsx",["336","337","338","339"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/hooks/config.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/hooks/useHeaderDefaultProps.ts",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/hooks/useHideMoreTitle.tsx",["340","341","342","343","344","345"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/typings.d.ts",[],[],{"ruleId":"346","severity":1,"message":"347","line":6,"column":10,"nodeType":"348","messageId":"349","endLine":6,"endColumn":15},{"ruleId":"346","severity":1,"message":"350","line":21,"column":3,"nodeType":"348","messageId":"349","endLine":21,"endColumn":12},{"ruleId":"351","severity":1,"message":"352","line":46,"column":6,"nodeType":"353","endLine":46,"endColumn":42,"suggestions":"354"},{"ruleId":"346","severity":1,"message":"355","line":8,"column":9,"nodeType":"348","messageId":"349","endLine":8,"endColumn":30},{"ruleId":"351","severity":1,"message":"356","line":55,"column":6,"nodeType":"353","endLine":55,"endColumn":18,"suggestions":"357"},{"ruleId":"351","severity":1,"message":"358","line":104,"column":6,"nodeType":"353","endLine":104,"endColumn":8,"suggestions":"359"},{"ruleId":"346","severity":1,"message":"360","line":4,"column":3,"nodeType":"348","messageId":"349","endLine":4,"endColumn":15},{"ruleId":"346","severity":1,"message":"361","line":5,"column":3,"nodeType":"348","messageId":"349","endLine":5,"endColumn":21},{"ruleId":"346","severity":1,"message":"362","line":8,"column":18,"nodeType":"348","messageId":"349","endLine":8,"endColumn":22},{"ruleId":"346","severity":1,"message":"363","line":8,"column":50,"nodeType":"348","messageId":"349","endLine":8,"endColumn":53},{"ruleId":"346","severity":1,"message":"364","line":11,"column":8,"nodeType":"348","messageId":"349","endLine":11,"endColumn":16},{"ruleId":"346","severity":1,"message":"365","line":15,"column":32,"nodeType":"348","messageId":"349","endLine":15,"endColumn":40},{"ruleId":"366","severity":1,"message":"367","line":27,"column":21,"nodeType":"348","messageId":"368","endLine":27,"endColumn":26},{"ruleId":"346","severity":1,"message":"369","line":119,"column":7,"nodeType":"348","messageId":"349","endLine":119,"endColumn":13},{"ruleId":"346","severity":1,"message":"370","line":120,"column":7,"nodeType":"348","messageId":"349","endLine":120,"endColumn":27},{"ruleId":"346","severity":1,"message":"371","line":121,"column":7,"nodeType":"348","messageId":"349","endLine":121,"endColumn":20},{"ruleId":"346","severity":1,"message":"372","line":122,"column":7,"nodeType":"348","messageId":"349","endLine":122,"endColumn":36},{"ruleId":"346","severity":1,"message":"373","line":128,"column":7,"nodeType":"348","messageId":"349","endLine":128,"endColumn":11},{"ruleId":"346","severity":1,"message":"374","line":144,"column":11,"nodeType":"348","messageId":"349","endLine":144,"endColumn":18},{"ruleId":"346","severity":1,"message":"375","line":144,"column":20,"nodeType":"348","messageId":"349","endLine":144,"endColumn":24},{"ruleId":"346","severity":1,"message":"376","line":164,"column":34,"nodeType":"348","messageId":"349","endLine":164,"endColumn":40},{"ruleId":"346","severity":1,"message":"377","line":222,"column":21,"nodeType":"348","messageId":"349","endLine":222,"endColumn":27},{"ruleId":"346","severity":1,"message":"378","line":25,"column":7,"nodeType":"348","messageId":"349","endLine":25,"endColumn":13},{"ruleId":"346","severity":1,"message":"376","line":41,"column":36,"nodeType":"348","messageId":"349","endLine":41,"endColumn":42},{"ruleId":"351","severity":1,"message":"379","line":13,"column":6,"nodeType":"353","endLine":13,"endColumn":17,"suggestions":"380"},{"ruleId":"346","severity":1,"message":"381","line":24,"column":7,"nodeType":"348","messageId":"349","endLine":24,"endColumn":11},{"ruleId":"346","severity":1,"message":"376","line":27,"column":32,"nodeType":"348","messageId":"349","endLine":27,"endColumn":38},{"ruleId":"346","severity":1,"message":"376","line":48,"column":32,"nodeType":"348","messageId":"349","endLine":48,"endColumn":38},{"ruleId":"346","severity":1,"message":"382","line":134,"column":9,"nodeType":"348","messageId":"349","endLine":134,"endColumn":21},{"ruleId":"346","severity":1,"message":"383","line":3,"column":10,"nodeType":"348","messageId":"349","endLine":3,"endColumn":19},{"ruleId":"351","severity":1,"message":"384","line":98,"column":6,"nodeType":"353","endLine":98,"endColumn":39,"suggestions":"385"},{"ruleId":"351","severity":1,"message":"386","line":132,"column":6,"nodeType":"353","endLine":132,"endColumn":40,"suggestions":"387"},{"ruleId":"351","severity":1,"message":"388","line":161,"column":6,"nodeType":"353","endLine":161,"endColumn":8,"suggestions":"389"},{"ruleId":"351","severity":1,"message":"390","line":166,"column":6,"nodeType":"353","endLine":166,"endColumn":17,"suggestions":"391"},{"ruleId":"351","severity":1,"message":"392","line":169,"column":6,"nodeType":"353","endLine":169,"endColumn":13,"suggestions":"393"},{"ruleId":"351","severity":1,"message":"394","line":26,"column":6,"nodeType":"353","endLine":26,"endColumn":11,"suggestions":"395"},{"ruleId":"351","severity":1,"message":"394","line":34,"column":6,"nodeType":"353","endLine":34,"endColumn":8,"suggestions":"396"},{"ruleId":"351","severity":1,"message":"397","line":31,"column":6,"nodeType":"353","endLine":31,"endColumn":15,"suggestions":"398"},{"ruleId":"346","severity":1,"message":"399","line":20,"column":9,"nodeType":"348","messageId":"349","endLine":20,"endColumn":16},{"ruleId":"346","severity":1,"message":"400","line":1,"column":15,"nodeType":"348","messageId":"349","endLine":1,"endColumn":30},{"ruleId":"346","severity":1,"message":"401","line":3,"column":10,"nodeType":"348","messageId":"349","endLine":3,"endColumn":22},{"ruleId":"346","severity":1,"message":"402","line":22,"column":51,"nodeType":"348","messageId":"349","endLine":22,"endColumn":63},{"ruleId":"346","severity":1,"message":"403","line":22,"column":65,"nodeType":"348","messageId":"349","endLine":22,"endColumn":73},{"ruleId":"404","severity":1,"message":"405","line":77,"column":13,"nodeType":"406","messageId":"407","endLine":88,"endColumn":23},{"ruleId":"404","severity":1,"message":"405","line":99,"column":11,"nodeType":"406","messageId":"407","endLine":110,"endColumn":21},{"ruleId":"346","severity":1,"message":"377","line":15,"column":14,"nodeType":"348","messageId":"349","endLine":15,"endColumn":39},{"ruleId":"351","severity":1,"message":"408","line":19,"column":6,"nodeType":"353","endLine":19,"endColumn":8,"suggestions":"409"},{"ruleId":"351","severity":1,"message":"410","line":59,"column":6,"nodeType":"353","endLine":59,"endColumn":8,"suggestions":"411"},{"ruleId":"346","severity":1,"message":"381","line":24,"column":7,"nodeType":"348","messageId":"349","endLine":24,"endColumn":11},{"ruleId":"346","severity":1,"message":"376","line":27,"column":32,"nodeType":"348","messageId":"349","endLine":27,"endColumn":38},{"ruleId":"346","severity":1,"message":"376","line":48,"column":32,"nodeType":"348","messageId":"349","endLine":48,"endColumn":38},{"ruleId":"346","severity":1,"message":"382","line":144,"column":9,"nodeType":"348","messageId":"349","endLine":144,"endColumn":21},{"ruleId":"346","severity":1,"message":"412","line":19,"column":5,"nodeType":"348","messageId":"349","endLine":19,"endColumn":22},{"ruleId":"346","severity":1,"message":"413","line":20,"column":5,"nodeType":"348","messageId":"349","endLine":20,"endColumn":15},{"ruleId":"346","severity":1,"message":"414","line":21,"column":5,"nodeType":"348","messageId":"349","endLine":21,"endColumn":16},{"ruleId":"346","severity":1,"message":"415","line":22,"column":5,"nodeType":"348","messageId":"349","endLine":22,"endColumn":10},{"ruleId":"351","severity":1,"message":"416","line":160,"column":6,"nodeType":"353","endLine":160,"endColumn":42,"suggestions":"417"},{"ruleId":"351","severity":1,"message":"416","line":166,"column":6,"nodeType":"353","endLine":166,"endColumn":42,"suggestions":"418"},"@typescript-eslint/no-unused-vars","'Space' is defined but never used.","Identifier","unusedVar","'spaceSize' is assigned a value 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",["419"],"'selectedRowDataSource' is assigned a value but never used.","React Hook useEffect has a missing dependency: 'localMaker'. Either include it or remove the dependency array.",["420"],"React Hook useEffect has missing dependencies: 'formInitValues', 'manual', 'reloadFn', 'request', and 'resultAction'. Either include them or remove the dependency array.",["421"],"'HTableConfig' is defined but never used.","'HTableHeaderSubBtn' is defined but never used.","'Card' is defined but never used.","'Row' is defined but never used.","'ProTable' is defined but never used.","'labelKey' is defined but never used.","react/no-array-index-key","Do not use Array index in keys","noArrayIndex","'_' is defined but never used.","'data' is defined but never used.","'index' is defined but never used.","'tableInstance' is defined but never used.","'Test' is assigned a value but never used.","'loading' is assigned a value but never used.","'data' is assigned a value but never used.","'reject' is defined but never used.","'params' is defined but never used.","'AddBtn' is assigned a value but never used.","React Hook useMemo has a missing dependency: 'config'. Either include it or remove the dependency array.",["422"],"'req1' is assigned a value but never used.","'dialogTable1' is assigned a value but never used.","'useEffect' is defined but never used.","React Hook useEffect has a missing dependency: 'changeConfigData'. Either include it or remove the dependency array.",["423"],"React Hook useEffect has missing dependencies: 'findId' and 'rowOnChange'. Either include them or remove the dependency array.",["424"],"React Hook useMemo has a missing dependency: 'selfValue'. Either include it or remove the dependency array.",["425"],"React Hook useEffect has missing dependencies: 'columns' and 'tableInstance.table'. Either include them or remove the dependency array.",["426"],"React Hook useEffect has a missing dependency: 'columnsState'. Either include it or remove the dependency array. If 'setSelfValue' needs the current value of 'columnsState', you can also switch to useReducer instead of useState and read 'columnsState' in the reducer.",["427"],"React Hook useEffect has a missing dependency: 'cuDom'. Either include it or remove the dependency array.",["428"],["429"],"React Hook useMemo has a missing dependency: 'titleClass'. Either include it or remove the dependency array.",["430"],"'allKeys' is assigned a value but never used.","'ConfigDataModal' is defined but never used.","'ColumnsState' is defined but never used.","'defaultValue' is assigned a value but never used.","'onChange' is assigned a value but never used.","react/jsx-key","Missing \"key\" prop for element in iterator","JSXElement","missingIterKey","React Hook useMemo has a missing dependency: 'tableInstance'. Either include it or remove the dependency array.",["431"],"React Hook useEffect has missing dependencies: 'dialogTableInstance', 'hide', and 'show'. Either include them or remove the dependency array.",["432"],"'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.",["433"],["434"],{"desc":"435","fix":"436"},{"desc":"437","fix":"438"},{"desc":"439","fix":"440"},{"desc":"441","fix":"442"},{"desc":"443","fix":"444"},{"desc":"445","fix":"446"},{"desc":"447","fix":"448"},{"desc":"449","fix":"450"},{"desc":"451","fix":"452"},{"desc":"453","fix":"454"},{"desc":"455","fix":"456"},{"desc":"457","fix":"458"},{"desc":"459","fix":"460"},{"desc":"461","fix":"462"},{"desc":"463","fix":"464"},{"desc":"463","fix":"465"},"Update the dependencies array to be: [table, useCurrentTable, reload, changeRowData, dispatch, reloadWithParams, getTableParams, selectedRowData, dataSource]",{"range":"466","text":"467"},"Update the dependencies array to be: [dataSource, localMaker]",{"range":"468","text":"469"},"Update the dependencies array to be: [formInitValues, manual, reloadFn, request, resultAction]",{"range":"470","text":"471"},"Update the dependencies array to be: [className, config]",{"range":"472","text":"473"},"Update the dependencies array to be: [configData, table, rowSelection, changeConfigData]",{"range":"474","text":"475"},"Update the dependencies array to be: [selectedRowKeys, records, rowKey, rowOnChange, findId]",{"range":"476","text":"477"},"Update the dependencies array to be: [selfValue]",{"range":"478","text":"479"},"Update the dependencies array to be: [columns, selfValue, tableInstance.table]",{"range":"480","text":"481"},"Update the dependencies array to be: [columnsState, value]",{"range":"482","text":"483"},"Update the dependencies array to be: [cuDom, dom]",{"range":"484","text":"485"},"Update the dependencies array to be: [cuDom]",{"range":"486","text":"487"},"Update the dependencies array to be: [columns, titleClass]",{"range":"488","text":"489"},"Update the dependencies array to be: [tableInstance]",{"range":"490","text":"491"},"Update the dependencies array to be: [dialogTableInstance, hide, show]",{"range":"492","text":"493"},"Update the dependencies array to be: [configData, searchSpan, headerOpen, mkNewFn]",{"range":"494","text":"495"},{"range":"496","text":"495"},[1426,1462],"[table, useCurrentTable, reload, changeRowData, dispatch, reloadWithParams, getTableParams, selectedRowData, dataSource]",[1540,1552],"[dataSource, localMaker]",[2666,2668],"[formInitValues, manual, reloadFn, request, resultAction]",[481,492],"[className, config]",[3262,3295],"[configData, table, rowSelection, changeConfigData]",[4134,4168],"[selectedRowKeys, records, rowKey, rowOnChange, findId]",[4903,4905],"[selfValue]",[5040,5051],"[columns, selfValue, tableInstance.table]",[5126,5133],"[columnsState, value]",[825,830],"[cuDom, dom]",[1021,1023],"[cuDom]",[995,1004],"[columns, titleClass]",[483,485],"[tableInstance]",[1408,1410],"[dialogTableInstance, hide, show]",[4205,4241],"[configData, searchSpan, headerOpen, mkNewFn]",[4396,4432]]
|
|
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/pages/ModalTable/index.tsx":"23","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/AlertMsg.tsx":"24","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/RowSelection.tsx":"25","/Users/hedongjie/Desktop/web/hw-component-table/src/components/GoTop/index.tsx":"26","/Users/hedongjie/Desktop/web/hw-component-table/src/typings.d.ts":"27","/Users/hedongjie/Desktop/web/hw-component-table/scripts/rollup.config.js":"28","/Users/hedongjie/Desktop/web/hw-component-table/scripts/webpack.config.js":"29","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/defaultSubComponent.tsx":"30","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/modal.ts":"31","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/Content.tsx":"32","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/Title.tsx":"33","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/index.tsx":"34","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/modal.d.ts":"35","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/utils.ts":"36","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/HeaderTitle/index.tsx":"37","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/RangePickerSearch.tsx":"38","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/defaultFormRender.tsx":"39","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/hooks.ts":"40","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/Context.tsx":"41","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/utils.ts":"42","/Users/hedongjie/Desktop/web/hw-component-table/src/components/render/TagsComponent.tsx":"43","/Users/hedongjie/Desktop/web/hw-component-table/src/components/render/config.tsx":"44","/Users/hedongjie/Desktop/web/hw-component-table/src/components/render/index.tsx":"45","/Users/hedongjie/Desktop/web/hw-component-table/src/components/DialogTable/Content.tsx":"46","/Users/hedongjie/Desktop/web/hw-component-table/src/components/DialogTable/DwTable.tsx":"47","/Users/hedongjie/Desktop/web/hw-component-table/src/components/DialogTable/ModalTable.tsx":"48","/Users/hedongjie/Desktop/web/hw-component-table/src/components/DialogTable/hooks.ts":"49","/Users/hedongjie/Desktop/web/hw-component-table/src/components/render/CopyComponent.tsx":"50","/Users/hedongjie/Desktop/web/hw-component-table/src/components/render/Text.tsx":"51","/Users/hedongjie/Desktop/web/hw-component-table/src/pages/DwTable/index.tsx":"52","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/hooks/config.tsx":"53","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/hooks/useHeaderDefaultProps.ts":"54","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/hooks/useHideMoreTitle.tsx":"55","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/defaultRender.tsx":"56","/Users/hedongjie/Desktop/web/hw-component-table/src/components/typings.d.ts":"57","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/hooks/useColData.tsx":"58","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/hooks/useControl.tsx":"59","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/modal.ts":"60"},{"size":1541,"mtime":1709541397429,"results":"61","hashOfConfig":"62"},{"size":741,"mtime":1713518829815,"results":"63","hashOfConfig":"62"},{"size":370,"mtime":1718160488742,"results":"64","hashOfConfig":"62"},{"size":887,"mtime":1724397613543,"results":"65","hashOfConfig":"62"},{"size":778,"mtime":1735036252848,"results":"66","hashOfConfig":"62"},{"size":2971,"mtime":1742812309023,"results":"67","hashOfConfig":"62"},{"size":952,"mtime":1721801509391,"results":"68","hashOfConfig":"62"},{"size":1468,"mtime":1742356516346,"results":"69","hashOfConfig":"62"},{"size":839,"mtime":1720086914276,"results":"70","hashOfConfig":"62"},{"size":1042,"mtime":1742356519961,"results":"71","hashOfConfig":"62"},{"size":5455,"mtime":1742811475281,"results":"72","hashOfConfig":"62"},{"size":1488,"mtime":1721801545279,"results":"73","hashOfConfig":"62"},{"size":4669,"mtime":1742812309002,"results":"74","hashOfConfig":"62"},{"size":2163,"mtime":1716085382140,"results":"75","hashOfConfig":"62"},{"size":1795,"mtime":1740108939749,"results":"76","hashOfConfig":"62"},{"size":1958,"mtime":1729582327153,"results":"77","hashOfConfig":"62"},{"size":209,"mtime":1713781957255,"results":"78","hashOfConfig":"62"},{"size":2879,"mtime":1734490699907,"results":"79","hashOfConfig":"62"},{"size":6342,"mtime":1742812309091,"results":"80","hashOfConfig":"62"},{"size":2108,"mtime":1742356516487,"results":"81","hashOfConfig":"62"},{"size":3518,"mtime":1740040940373,"results":"82","hashOfConfig":"62"},{"size":498,"mtime":1709893919938,"results":"83","hashOfConfig":"62"},{"size":3507,"mtime":1742356519961,"results":"84","hashOfConfig":"62"},{"size":1080,"mtime":1716085371834,"results":"85","hashOfConfig":"62"},{"size":3927,"mtime":1736738630456,"results":"86","hashOfConfig":"62"},{"size":1102,"mtime":1710829302576,"results":"87","hashOfConfig":"62"},{"size":1162,"mtime":1710829299926,"results":"88","hashOfConfig":"62"},{"size":2357,"mtime":1732161767681,"results":"89","hashOfConfig":"62"},{"size":1677,"mtime":1716085381973,"results":"90","hashOfConfig":"62"},{"size":2305,"mtime":1736738630509,"results":"91","hashOfConfig":"62"},{"size":696,"mtime":1720086914261,"results":"92","hashOfConfig":"62"},{"size":1684,"mtime":1720086914112,"results":"93","hashOfConfig":"62"},{"size":1437,"mtime":1720086914134,"results":"94","hashOfConfig":"62"},{"size":2987,"mtime":1720174044485,"results":"95","hashOfConfig":"62"},{"size":782,"mtime":1720174047079,"results":"96","hashOfConfig":"62"},{"size":479,"mtime":1720086914169,"results":"97","hashOfConfig":"62"},{"size":1196,"mtime":1742811503164,"results":"98","hashOfConfig":"62"},{"size":1208,"mtime":1716085371834,"results":"99","hashOfConfig":"62"},{"size":365,"mtime":1716085371835,"results":"100","hashOfConfig":"62"},{"size":665,"mtime":1720086917041,"results":"101","hashOfConfig":"62"},{"size":266,"mtime":1720086917041,"results":"102","hashOfConfig":"62"},{"size":2253,"mtime":1720086917041,"results":"103","hashOfConfig":"62"},{"size":3023,"mtime":1721801547651,"results":"104","hashOfConfig":"62"},{"size":3741,"mtime":1742812309066,"results":"105","hashOfConfig":"62"},{"size":813,"mtime":1726745370599,"results":"106","hashOfConfig":"62"},{"size":494,"mtime":1729582302142,"results":"107","hashOfConfig":"62"},{"size":2872,"mtime":1729582327027,"results":"108","hashOfConfig":"62"},{"size":2404,"mtime":1742356516230,"results":"109","hashOfConfig":"62"},{"size":1682,"mtime":1740108939664,"results":"110","hashOfConfig":"62"},{"size":743,"mtime":1729582327190,"results":"111","hashOfConfig":"62"},{"size":182,"mtime":1724397725474,"results":"112","hashOfConfig":"62"},{"size":3560,"mtime":1740108939820,"results":"113","hashOfConfig":"62"},{"size":703,"mtime":1740108942394,"results":"114","hashOfConfig":"62"},{"size":1071,"mtime":1740108939723,"results":"115","hashOfConfig":"62"},{"size":4477,"mtime":1740108942394,"results":"116","hashOfConfig":"62"},{"size":825,"mtime":1742356519961,"results":"117","hashOfConfig":"62"},{"size":269,"mtime":1695809104376,"results":"118","hashOfConfig":"62"},{"size":4526,"mtime":1742812308961},{"size":2790,"mtime":1742812308985},{"size":1350,"mtime":1742812309011},{"filePath":"119","messages":"120","suppressedMessages":"121","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1mh59l9",{"filePath":"122","messages":"123","suppressedMessages":"124","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"125","messages":"126","suppressedMessages":"127","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"128","messages":"129","suppressedMessages":"130","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"131","messages":"132","suppressedMessages":"133","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"134","messages":"135","suppressedMessages":"136","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"137","messages":"138","suppressedMessages":"139","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"140","messages":"141","suppressedMessages":"142","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"143","messages":"144","suppressedMessages":"145","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"146","messages":"147","suppressedMessages":"148","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"149","messages":"150","suppressedMessages":"151","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"152","messages":"153","suppressedMessages":"154","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"155","messages":"156","suppressedMessages":"157","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"158","messages":"159","suppressedMessages":"160","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"161","messages":"162","suppressedMessages":"163","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"164","messages":"165","suppressedMessages":"166","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"167","messages":"168","suppressedMessages":"169","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"170","messages":"171","suppressedMessages":"172","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"173","messages":"174","suppressedMessages":"175","errorCount":0,"fatalErrorCount":0,"warningCount":17,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"176","messages":"177","suppressedMessages":"178","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"179","messages":"180","suppressedMessages":"181","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"182","messages":"183","suppressedMessages":"184","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"185","messages":"186","suppressedMessages":"187","errorCount":0,"fatalErrorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"188","messages":"189","suppressedMessages":"190","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"191","messages":"192","suppressedMessages":"193","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"194","messages":"195","suppressedMessages":"196","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"197","messages":"198","suppressedMessages":"199","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"200","messages":"201","suppressedMessages":"202","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"203","messages":"204","suppressedMessages":"205","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"206","messages":"207","suppressedMessages":"208","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"209","messages":"210","suppressedMessages":"211","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"212","messages":"213","suppressedMessages":"214","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"215","messages":"216","suppressedMessages":"217","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"218","messages":"219","suppressedMessages":"220","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"221","messages":"222","suppressedMessages":"223","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"224","messages":"225","suppressedMessages":"226","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"227","messages":"228","suppressedMessages":"229","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"230","messages":"231","suppressedMessages":"232","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"233","messages":"234","suppressedMessages":"235","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"236","messages":"237","suppressedMessages":"238","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"239","messages":"240","suppressedMessages":"241","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"242","messages":"243","suppressedMessages":"244","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"245","messages":"246","suppressedMessages":"247","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"248","messages":"249","suppressedMessages":"250","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"251","messages":"252","suppressedMessages":"253","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"254","messages":"255","suppressedMessages":"256","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"257","messages":"258","suppressedMessages":"259","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"260","messages":"261","suppressedMessages":"262","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"263","messages":"264","suppressedMessages":"265","errorCount":0,"fatalErrorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"266","messages":"267","suppressedMessages":"268","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"269","messages":"270","suppressedMessages":"271","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"272","messages":"273","suppressedMessages":"274","errorCount":0,"fatalErrorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"275","messages":"276","suppressedMessages":"277","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"278","messages":"279","suppressedMessages":"280","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"281","messages":"282","suppressedMessages":"283","errorCount":0,"fatalErrorCount":0,"warningCount":6,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"284","messages":"285","suppressedMessages":"286","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"287","messages":"288","suppressedMessages":"289","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",["290","291"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/context.ts",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useCurrentTable.ts",["292"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useHTable.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useRowObj.ts",["293"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/modal.ts",[],[],"/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",["294","295"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/pages/Table/index.tsx",["296","297","298","299","300","301","302","303","304","305","306","307","308","309","310","311","312"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/pages/TableCustomize/index.tsx",["313","314"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTablePagination/index.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/index.ts",["315"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/pages/ModalTable/index.tsx",["316","317","318","319"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/AlertMsg.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/RowSelection.tsx",["320"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/GoTop/index.tsx",["321","322"],[],"/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/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",["323"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/Title.tsx",["324"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/index.tsx",[],[],"/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",["325","326"],[],"/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",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/hooks.ts",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/Context.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/utils.ts",["327","328"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/render/TagsComponent.tsx",["329","330"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/render/config.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/render/index.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/DialogTable/Content.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/DialogTable/DwTable.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/DialogTable/ModalTable.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/DialogTable/hooks.ts",["331","332","333"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/render/CopyComponent.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/render/Text.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/pages/DwTable/index.tsx",["334","335","336","337"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/hooks/config.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/hooks/useHeaderDefaultProps.ts",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/hooks/useHideMoreTitle.tsx",["338","339","340","341","342","343"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/defaultRender.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/typings.d.ts",[],[],{"ruleId":"344","severity":1,"message":"345","line":6,"column":10,"nodeType":"346","messageId":"347","endLine":6,"endColumn":15},{"ruleId":"344","severity":1,"message":"348","line":21,"column":3,"nodeType":"346","messageId":"347","endLine":21,"endColumn":12},{"ruleId":"349","severity":1,"message":"350","line":46,"column":6,"nodeType":"351","endLine":46,"endColumn":42,"suggestions":"352"},{"ruleId":"344","severity":1,"message":"353","line":16,"column":9,"nodeType":"346","messageId":"347","endLine":16,"endColumn":30},{"ruleId":"349","severity":1,"message":"354","line":55,"column":6,"nodeType":"351","endLine":55,"endColumn":18,"suggestions":"355"},{"ruleId":"349","severity":1,"message":"356","line":104,"column":6,"nodeType":"351","endLine":104,"endColumn":8,"suggestions":"357"},{"ruleId":"344","severity":1,"message":"358","line":4,"column":3,"nodeType":"346","messageId":"347","endLine":4,"endColumn":15},{"ruleId":"344","severity":1,"message":"359","line":5,"column":3,"nodeType":"346","messageId":"347","endLine":5,"endColumn":21},{"ruleId":"344","severity":1,"message":"360","line":8,"column":18,"nodeType":"346","messageId":"347","endLine":8,"endColumn":22},{"ruleId":"344","severity":1,"message":"361","line":8,"column":50,"nodeType":"346","messageId":"347","endLine":8,"endColumn":53},{"ruleId":"344","severity":1,"message":"362","line":11,"column":8,"nodeType":"346","messageId":"347","endLine":11,"endColumn":16},{"ruleId":"344","severity":1,"message":"363","line":15,"column":32,"nodeType":"346","messageId":"347","endLine":15,"endColumn":40},{"ruleId":"364","severity":1,"message":"365","line":27,"column":21,"nodeType":"346","messageId":"366","endLine":27,"endColumn":26},{"ruleId":"344","severity":1,"message":"367","line":125,"column":7,"nodeType":"346","messageId":"347","endLine":125,"endColumn":13},{"ruleId":"344","severity":1,"message":"368","line":126,"column":7,"nodeType":"346","messageId":"347","endLine":126,"endColumn":27},{"ruleId":"344","severity":1,"message":"369","line":127,"column":7,"nodeType":"346","messageId":"347","endLine":127,"endColumn":20},{"ruleId":"344","severity":1,"message":"370","line":128,"column":7,"nodeType":"346","messageId":"347","endLine":128,"endColumn":36},{"ruleId":"344","severity":1,"message":"371","line":134,"column":7,"nodeType":"346","messageId":"347","endLine":134,"endColumn":11},{"ruleId":"344","severity":1,"message":"372","line":150,"column":11,"nodeType":"346","messageId":"347","endLine":150,"endColumn":18},{"ruleId":"344","severity":1,"message":"373","line":150,"column":20,"nodeType":"346","messageId":"347","endLine":150,"endColumn":24},{"ruleId":"344","severity":1,"message":"374","line":170,"column":34,"nodeType":"346","messageId":"347","endLine":170,"endColumn":40},{"ruleId":"344","severity":1,"message":"375","line":177,"column":10,"nodeType":"346","messageId":"347","endLine":177,"endColumn":20},{"ruleId":"344","severity":1,"message":"376","line":177,"column":22,"nodeType":"346","messageId":"347","endLine":177,"endColumn":35},{"ruleId":"344","severity":1,"message":"377","line":25,"column":7,"nodeType":"346","messageId":"347","endLine":25,"endColumn":13},{"ruleId":"344","severity":1,"message":"374","line":41,"column":36,"nodeType":"346","messageId":"347","endLine":41,"endColumn":42},{"ruleId":"349","severity":1,"message":"378","line":13,"column":6,"nodeType":"351","endLine":13,"endColumn":17,"suggestions":"379"},{"ruleId":"344","severity":1,"message":"380","line":24,"column":7,"nodeType":"346","messageId":"347","endLine":24,"endColumn":11},{"ruleId":"344","severity":1,"message":"374","line":27,"column":32,"nodeType":"346","messageId":"347","endLine":27,"endColumn":38},{"ruleId":"344","severity":1,"message":"374","line":48,"column":32,"nodeType":"346","messageId":"347","endLine":48,"endColumn":38},{"ruleId":"344","severity":1,"message":"381","line":134,"column":9,"nodeType":"346","messageId":"347","endLine":134,"endColumn":21},{"ruleId":"344","severity":1,"message":"382","line":3,"column":10,"nodeType":"346","messageId":"347","endLine":3,"endColumn":19},{"ruleId":"349","severity":1,"message":"383","line":26,"column":6,"nodeType":"351","endLine":26,"endColumn":11,"suggestions":"384"},{"ruleId":"349","severity":1,"message":"383","line":34,"column":6,"nodeType":"351","endLine":34,"endColumn":8,"suggestions":"385"},{"ruleId":"349","severity":1,"message":"386","line":31,"column":6,"nodeType":"351","endLine":31,"endColumn":15,"suggestions":"387"},{"ruleId":"344","severity":1,"message":"388","line":20,"column":9,"nodeType":"346","messageId":"347","endLine":20,"endColumn":16},{"ruleId":"344","severity":1,"message":"389","line":1,"column":15,"nodeType":"346","messageId":"347","endLine":1,"endColumn":30},{"ruleId":"344","severity":1,"message":"390","line":3,"column":10,"nodeType":"346","messageId":"347","endLine":3,"endColumn":22},{"ruleId":"344","severity":1,"message":"391","line":22,"column":51,"nodeType":"346","messageId":"347","endLine":22,"endColumn":63},{"ruleId":"344","severity":1,"message":"392","line":22,"column":65,"nodeType":"346","messageId":"347","endLine":22,"endColumn":73},{"ruleId":"393","severity":1,"message":"394","line":77,"column":13,"nodeType":"395","messageId":"396","endLine":88,"endColumn":23},{"ruleId":"393","severity":1,"message":"394","line":99,"column":11,"nodeType":"395","messageId":"396","endLine":110,"endColumn":21},{"ruleId":"344","severity":1,"message":"397","line":15,"column":14,"nodeType":"346","messageId":"347","endLine":15,"endColumn":39},{"ruleId":"349","severity":1,"message":"398","line":19,"column":6,"nodeType":"351","endLine":19,"endColumn":8,"suggestions":"399"},{"ruleId":"349","severity":1,"message":"400","line":59,"column":6,"nodeType":"351","endLine":59,"endColumn":8,"suggestions":"401"},{"ruleId":"344","severity":1,"message":"380","line":24,"column":7,"nodeType":"346","messageId":"347","endLine":24,"endColumn":11},{"ruleId":"344","severity":1,"message":"374","line":27,"column":32,"nodeType":"346","messageId":"347","endLine":27,"endColumn":38},{"ruleId":"344","severity":1,"message":"374","line":48,"column":32,"nodeType":"346","messageId":"347","endLine":48,"endColumn":38},{"ruleId":"344","severity":1,"message":"381","line":144,"column":9,"nodeType":"346","messageId":"347","endLine":144,"endColumn":21},{"ruleId":"344","severity":1,"message":"402","line":19,"column":5,"nodeType":"346","messageId":"347","endLine":19,"endColumn":22},{"ruleId":"344","severity":1,"message":"403","line":20,"column":5,"nodeType":"346","messageId":"347","endLine":20,"endColumn":15},{"ruleId":"344","severity":1,"message":"404","line":21,"column":5,"nodeType":"346","messageId":"347","endLine":21,"endColumn":16},{"ruleId":"344","severity":1,"message":"405","line":22,"column":5,"nodeType":"346","messageId":"347","endLine":22,"endColumn":10},{"ruleId":"349","severity":1,"message":"406","line":160,"column":6,"nodeType":"351","endLine":160,"endColumn":42,"suggestions":"407"},{"ruleId":"349","severity":1,"message":"406","line":166,"column":6,"nodeType":"351","endLine":166,"endColumn":42,"suggestions":"408"},"@typescript-eslint/no-unused-vars","'Space' is defined but never used.","Identifier","unusedVar","'spaceSize' is assigned a value 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",["409"],"'selectedRowDataSource' is assigned a value but never used.","React Hook useEffect has a missing dependency: 'localMaker'. Either include it or remove the dependency array.",["410"],"React Hook useEffect has missing dependencies: 'formInitValues', 'manual', 'reloadFn', 'request', and 'resultAction'. Either include them or remove the dependency array.",["411"],"'HTableConfig' is defined but never used.","'HTableHeaderSubBtn' is defined but never used.","'Card' is defined but never used.","'Row' is defined but never used.","'ProTable' is defined but never used.","'labelKey' is defined but never used.","react/no-array-index-key","Do not use Array index in keys","noArrayIndex","'_' is defined but never used.","'data' is defined but never used.","'index' is defined but never used.","'tableInstance' is defined but never used.","'Test' is assigned a value but never used.","'loading' is assigned a value but never used.","'data' is assigned a value but never used.","'reject' is defined but never used.","'dataSource' is assigned a value but never used.","'setDataSource' is assigned a value but never used.","'AddBtn' is assigned a value but never used.","React Hook useMemo has a missing dependency: 'config'. Either include it or remove the dependency array.",["412"],"'req1' is assigned a value but never used.","'dialogTable1' is assigned a value but never used.","'useEffect' is defined but never used.","React Hook useEffect has a missing dependency: 'cuDom'. Either include it or remove the dependency array.",["413"],["414"],"React Hook useMemo has a missing dependency: 'titleClass'. Either include it or remove the dependency array.",["415"],"'allKeys' is assigned a value but never used.","'ConfigDataModal' is defined but never used.","'ColumnsState' is defined but never used.","'defaultValue' is assigned a value but never used.","'onChange' is assigned a value but never used.","react/jsx-key","Missing \"key\" prop for element in iterator","JSXElement","missingIterKey","'params' is defined but never used.","React Hook useMemo has a missing dependency: 'tableInstance'. Either include it or remove the dependency array.",["416"],"React Hook useEffect has missing dependencies: 'dialogTableInstance', 'hide', and 'show'. Either include them or remove the dependency array.",["417"],"'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.",["418"],["419"],{"desc":"420","fix":"421"},{"desc":"422","fix":"423"},{"desc":"424","fix":"425"},{"desc":"426","fix":"427"},{"desc":"428","fix":"429"},{"desc":"430","fix":"431"},{"desc":"432","fix":"433"},{"desc":"434","fix":"435"},{"desc":"436","fix":"437"},{"desc":"438","fix":"439"},{"desc":"438","fix":"440"},"Update the dependencies array to be: [table, useCurrentTable, reload, changeRowData, dispatch, reloadWithParams, getTableParams, selectedRowData, dataSource]",{"range":"441","text":"442"},"Update the dependencies array to be: [dataSource, localMaker]",{"range":"443","text":"444"},"Update the dependencies array to be: [formInitValues, manual, reloadFn, request, resultAction]",{"range":"445","text":"446"},"Update the dependencies array to be: [className, config]",{"range":"447","text":"448"},"Update the dependencies array to be: [cuDom, dom]",{"range":"449","text":"450"},"Update the dependencies array to be: [cuDom]",{"range":"451","text":"452"},"Update the dependencies array to be: [columns, titleClass]",{"range":"453","text":"454"},"Update the dependencies array to be: [tableInstance]",{"range":"455","text":"456"},"Update the dependencies array to be: [dialogTableInstance, hide, show]",{"range":"457","text":"458"},"Update the dependencies array to be: [configData, searchSpan, headerOpen, mkNewFn]",{"range":"459","text":"460"},{"range":"461","text":"460"},[1426,1462],"[table, useCurrentTable, reload, changeRowData, dispatch, reloadWithParams, getTableParams, selectedRowData, dataSource]",[1540,1552],"[dataSource, localMaker]",[2666,2668],"[formInitValues, manual, reloadFn, request, resultAction]",[481,492],"[className, config]",[825,830],"[cuDom, dom]",[1021,1023],"[cuDom]",[995,1004],"[columns, titleClass]",[483,485],"[tableInstance]",[1408,1410],"[dialogTableInstance, hide, show]",[4205,4241],"[configData, searchSpan, headerOpen, mkNewFn]",[4396,4432]]
|
|
@@ -1,22 +1,9 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import React from "react";
|
|
3
|
-
import type { GetRowKey } from "rc-table/lib/interface";
|
|
4
|
-
import type { SizeType } from "antd/lib/config-provider/SizeContext";
|
|
5
|
-
import type { ColumnsStateType } from "@ant-design/pro-table/es/typing";
|
|
1
|
+
import type { ConfigDataModal, HTableProps } from "@/components/modal";
|
|
6
2
|
import type { ColumnsState } from "@ant-design/pro-table/es/container";
|
|
7
|
-
|
|
3
|
+
import type { ColumnsStateType } from "@ant-design/pro-table/es/typing";
|
|
4
|
+
export declare const useCols: ({ configData, rowSelection, table, bordered, }: HTableProps) => {
|
|
8
5
|
cols: ConfigDataModal;
|
|
9
6
|
};
|
|
10
|
-
interface FilterKeysModal {
|
|
11
|
-
selectedRowKeys?: React.Key[];
|
|
12
|
-
records?: any[];
|
|
13
|
-
rowKey?: string | GetRowKey<any>;
|
|
14
|
-
}
|
|
15
|
-
export declare const useSynchronousKeys: ({ selectedRowKeys, records, rowKey, }: FilterKeysModal) => void;
|
|
16
|
-
export declare const useSize: (size: SizeType) => {
|
|
17
|
-
cuSize: "small" | "middle" | "large" | undefined;
|
|
18
|
-
setCuSize: React.Dispatch<React.SetStateAction<"small" | "middle" | "large" | undefined>>;
|
|
19
|
-
};
|
|
20
7
|
interface useColumnsStateTypeModal {
|
|
21
8
|
columnsState?: ColumnsStateType;
|
|
22
9
|
columns: ConfigDataModal;
|
|
@@ -12,17 +12,16 @@ import _concatInstanceProperty from '@babel/runtime-corejs3/core-js-stable/insta
|
|
|
12
12
|
import _filterInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/filter';
|
|
13
13
|
import _spliceInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/splice';
|
|
14
14
|
import _mapInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/map';
|
|
15
|
-
import _findIndexInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/find-index';
|
|
16
15
|
import _forEachInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/for-each';
|
|
17
16
|
import { jsx } from 'react/jsx-runtime';
|
|
17
|
+
import { useHTableContext } from '../../context.js';
|
|
18
18
|
import { useState, useEffect, useMemo } from 'react';
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import configRender from '
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import { useClassName } from '../hooks/index.js';
|
|
19
|
+
import { useClassName } from '../../hooks/index.js';
|
|
20
|
+
import { useHTableConfigContext } from '../../TableConfig.js';
|
|
21
|
+
import { textTypes } from '../../render/config.js';
|
|
22
|
+
import configRender from '../../render/index.js';
|
|
23
|
+
import { RowSelectionTitle, RowSelectionBox } from '../RowSelection.js';
|
|
24
|
+
import { outColSetting, mkChangeValue } from '../utils.js';
|
|
26
25
|
|
|
27
26
|
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; }
|
|
28
27
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context3, _context4; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context3 = ownKeys(Object(t), !0)).call(_context3, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context4 = ownKeys(Object(t))).call(_context4, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
@@ -116,57 +115,21 @@ var useCols = function useCols(_ref2) {
|
|
|
116
115
|
cols: cols
|
|
117
116
|
};
|
|
118
117
|
};
|
|
119
|
-
var
|
|
120
|
-
var
|
|
121
|
-
|
|
122
|
-
rowKey = _ref4.rowKey;
|
|
118
|
+
var useColumnsStateType = function useColumnsStateType(_ref4) {
|
|
119
|
+
var columnsState = _ref4.columnsState,
|
|
120
|
+
columns = _ref4.columns;
|
|
123
121
|
var _useHTableContext = useHTableContext(),
|
|
124
|
-
|
|
125
|
-
var
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
};
|
|
133
|
-
useEffect(function () {
|
|
134
|
-
if (selectedRowKeys && records && rowKey) {
|
|
135
|
-
var resultData = _mapInstanceProperty(selectedRowKeys).call(selectedRowKeys, function (key) {
|
|
136
|
-
return findId(key);
|
|
137
|
-
});
|
|
138
|
-
rowOnChange(selectedRowKeys, resultData);
|
|
139
|
-
}
|
|
140
|
-
}, [selectedRowKeys, records, rowKey]);
|
|
141
|
-
};
|
|
142
|
-
var useSize = function useSize(size) {
|
|
143
|
-
var _useState3 = useState(size),
|
|
122
|
+
tableInstance = _useHTableContext.tableInstance;
|
|
123
|
+
var _ref5 = columnsState || {},
|
|
124
|
+
persistenceType = _ref5.persistenceType,
|
|
125
|
+
persistenceKey = _ref5.persistenceKey,
|
|
126
|
+
value = _ref5.value,
|
|
127
|
+
defaultValue = _ref5.defaultValue,
|
|
128
|
+
onChange = _ref5.onChange;
|
|
129
|
+
var _useState3 = useState(defaultValue),
|
|
144
130
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
useEffect(function () {
|
|
148
|
-
setCuSize(size);
|
|
149
|
-
}, [size]);
|
|
150
|
-
return {
|
|
151
|
-
cuSize: cuSize,
|
|
152
|
-
setCuSize: setCuSize
|
|
153
|
-
};
|
|
154
|
-
};
|
|
155
|
-
var useColumnsStateType = function useColumnsStateType(_ref5) {
|
|
156
|
-
var columnsState = _ref5.columnsState,
|
|
157
|
-
columns = _ref5.columns;
|
|
158
|
-
var _useHTableContext2 = useHTableContext(),
|
|
159
|
-
tableInstance = _useHTableContext2.tableInstance;
|
|
160
|
-
var _ref6 = columnsState || {},
|
|
161
|
-
persistenceType = _ref6.persistenceType,
|
|
162
|
-
persistenceKey = _ref6.persistenceKey,
|
|
163
|
-
value = _ref6.value,
|
|
164
|
-
defaultValue = _ref6.defaultValue,
|
|
165
|
-
onChange = _ref6.onChange;
|
|
166
|
-
var _useState5 = useState(defaultValue),
|
|
167
|
-
_useState6 = _slicedToArray(_useState5, 2),
|
|
168
|
-
selfValue = _useState6[0],
|
|
169
|
-
setSelfValue = _useState6[1];
|
|
131
|
+
selfValue = _useState4[0],
|
|
132
|
+
setSelfValue = _useState4[1];
|
|
170
133
|
var initTableColsVal = useMemo(function () {
|
|
171
134
|
return selfValue || {};
|
|
172
135
|
}, []);
|
|
@@ -200,5 +163,5 @@ var useColumnsStateType = function useColumnsStateType(_ref5) {
|
|
|
200
163
|
};
|
|
201
164
|
};
|
|
202
165
|
|
|
203
|
-
export { useCols, useColumnsStateType
|
|
166
|
+
export { useCols, useColumnsStateType };
|
|
204
167
|
// powered by hdj
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type React from "react";
|
|
2
|
+
import type { SizeType } from "antd/lib/config-provider/SizeContext";
|
|
3
|
+
import type { HTableBodyProps } from "../modal";
|
|
4
|
+
import type { GetRowKey } from "rc-table/lib/interface";
|
|
5
|
+
export declare const useSize: (size: SizeType) => {
|
|
6
|
+
cuSize: "small" | "middle" | "large" | undefined;
|
|
7
|
+
setCuSize: React.Dispatch<React.SetStateAction<"small" | "middle" | "large" | undefined>>;
|
|
8
|
+
};
|
|
9
|
+
export declare const useTableChange: ({ columns, onChange, localSorter, table: tableInstance, }: HTableBodyProps) => (page: any, filters: any, sorter: any, extra: any) => void;
|
|
10
|
+
interface FilterKeysModal {
|
|
11
|
+
selectedRowKeys?: React.Key[];
|
|
12
|
+
records?: any[];
|
|
13
|
+
rowKey?: string | GetRowKey<any>;
|
|
14
|
+
}
|
|
15
|
+
export declare const useSynchronousKeys: ({ selectedRowKeys, records, rowKey, }: FilterKeysModal) => void;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
// welcome to hoo hoo hoo
|
|
2
|
+
import _Object$getOwnPropertySymbols from '@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols';
|
|
3
|
+
import _filterInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/filter';
|
|
4
|
+
import _Object$getOwnPropertyDescriptor from '@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor';
|
|
5
|
+
import _Object$getOwnPropertyDescriptors from '@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors';
|
|
6
|
+
import _Object$defineProperties from '@babel/runtime-corejs3/core-js-stable/object/define-properties';
|
|
7
|
+
import _Object$defineProperty from '@babel/runtime-corejs3/core-js-stable/object/define-property';
|
|
8
|
+
import _defineProperty from '@babel/runtime-corejs3/helpers/defineProperty';
|
|
9
|
+
import _slicedToArray from '@babel/runtime-corejs3/helpers/slicedToArray';
|
|
10
|
+
import _forEachInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/for-each';
|
|
11
|
+
import _Array$isArray from '@babel/runtime-corejs3/core-js-stable/array/is-array';
|
|
12
|
+
import _Object$keys from '@babel/runtime-corejs3/core-js-stable/object/keys';
|
|
13
|
+
import _findIndexInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/find-index';
|
|
14
|
+
import _mapInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/map';
|
|
15
|
+
import { useState, useEffect, useMemo } from 'react';
|
|
16
|
+
import { useHTableContext } from '../../context.js';
|
|
17
|
+
|
|
18
|
+
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; }
|
|
19
|
+
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; }
|
|
20
|
+
var useSize = function useSize(size) {
|
|
21
|
+
var _useState = useState(size),
|
|
22
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
23
|
+
cuSize = _useState2[0],
|
|
24
|
+
setCuSize = _useState2[1];
|
|
25
|
+
useEffect(function () {
|
|
26
|
+
setCuSize(size);
|
|
27
|
+
}, [size]);
|
|
28
|
+
return {
|
|
29
|
+
cuSize: cuSize,
|
|
30
|
+
setCuSize: setCuSize
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
var useTableChange = function useTableChange(_ref) {
|
|
34
|
+
var columns = _ref.columns,
|
|
35
|
+
onChange = _ref.onChange,
|
|
36
|
+
localSorter = _ref.localSorter,
|
|
37
|
+
tableInstance = _ref.table;
|
|
38
|
+
var filtersObj = useMemo(function () {
|
|
39
|
+
var obj = {};
|
|
40
|
+
columns === null || columns === void 0 || _forEachInstanceProperty(columns).call(columns, function (_ref2) {
|
|
41
|
+
var _ref2$filterMultiple = _ref2.filterMultiple,
|
|
42
|
+
filterMultiple = _ref2$filterMultiple === void 0 ? true : _ref2$filterMultiple,
|
|
43
|
+
filters = _ref2.filters,
|
|
44
|
+
dataIndex = _ref2.dataIndex;
|
|
45
|
+
if (!filters || !dataIndex) {
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
if (_Array$isArray(dataIndex)) {
|
|
49
|
+
obj[dataIndex.join(",")] = filterMultiple;
|
|
50
|
+
return;
|
|
51
|
+
}
|
|
52
|
+
obj[dataIndex] = filterMultiple;
|
|
53
|
+
});
|
|
54
|
+
return obj;
|
|
55
|
+
}, [columns]);
|
|
56
|
+
var filtersMk = function filtersMk(filters) {
|
|
57
|
+
var keys = _Object$keys(filters);
|
|
58
|
+
var len = keys.length;
|
|
59
|
+
if (!len) {
|
|
60
|
+
return {};
|
|
61
|
+
}
|
|
62
|
+
var paramsObj = {};
|
|
63
|
+
_forEachInstanceProperty(keys).call(keys, function (key) {
|
|
64
|
+
var _filters$key;
|
|
65
|
+
if (filtersObj[key]) {
|
|
66
|
+
paramsObj[key] = filters[key];
|
|
67
|
+
return;
|
|
68
|
+
}
|
|
69
|
+
paramsObj[key] = (_filters$key = filters[key]) === null || _filters$key === void 0 ? void 0 : _filters$key[0];
|
|
70
|
+
});
|
|
71
|
+
return paramsObj;
|
|
72
|
+
};
|
|
73
|
+
return function (page, filters, sorter, extra) {
|
|
74
|
+
if (onChange) {
|
|
75
|
+
return onChange(page, filters, sorter, extra);
|
|
76
|
+
}
|
|
77
|
+
var field = sorter.field,
|
|
78
|
+
order = sorter.order,
|
|
79
|
+
column = sorter.column;
|
|
80
|
+
var _ref3 = column || {},
|
|
81
|
+
colSorter = _ref3.sorter;
|
|
82
|
+
if (localSorter || typeof colSorter === "function") {
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
85
|
+
var orderByField = typeof order === "undefined" ? undefined : field;
|
|
86
|
+
var asc = typeof order === "undefined" ? undefined : order === "ascend";
|
|
87
|
+
tableInstance === null || tableInstance === void 0 || tableInstance.table.reloadWithParams(_objectSpread({
|
|
88
|
+
current: 1,
|
|
89
|
+
orderByField: orderByField,
|
|
90
|
+
asc: asc
|
|
91
|
+
}, filtersMk(filters)));
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
var useSynchronousKeys = function useSynchronousKeys(_ref4) {
|
|
95
|
+
var selectedRowKeys = _ref4.selectedRowKeys,
|
|
96
|
+
records = _ref4.records,
|
|
97
|
+
rowKey = _ref4.rowKey;
|
|
98
|
+
var _useHTableContext = useHTableContext(),
|
|
99
|
+
rowOnChange = _useHTableContext.rowOnChange;
|
|
100
|
+
var findId = function findId(key) {
|
|
101
|
+
var msRecords = records;
|
|
102
|
+
var rowIndex = _findIndexInstanceProperty(msRecords).call(msRecords, function (item, index) {
|
|
103
|
+
var id = typeof rowKey === "function" ? rowKey(item, index) : item[rowKey];
|
|
104
|
+
return id === key;
|
|
105
|
+
});
|
|
106
|
+
return msRecords[rowIndex];
|
|
107
|
+
};
|
|
108
|
+
useEffect(function () {
|
|
109
|
+
if (selectedRowKeys && records && rowKey) {
|
|
110
|
+
var resultData = _mapInstanceProperty(selectedRowKeys).call(selectedRowKeys, function (key) {
|
|
111
|
+
return findId(key);
|
|
112
|
+
});
|
|
113
|
+
rowOnChange(selectedRowKeys, resultData);
|
|
114
|
+
}
|
|
115
|
+
}, [selectedRowKeys, records, rowKey]);
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
export { useSize, useSynchronousKeys, useTableChange };
|
|
119
|
+
// powered by hdj
|
package/es/HTableBody/index.d.ts
CHANGED
|
@@ -1,29 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import type {
|
|
3
|
-
import React from "react";
|
|
4
|
-
import type { IPaginationProps } from "../HTablePagination";
|
|
5
|
-
import type { AffixProps } from "antd/lib/affix";
|
|
6
|
-
import type { OptionConfig } from "@ant-design/pro-table/lib/components/ToolBar";
|
|
7
|
-
export interface OptionModal extends OptionConfig {
|
|
8
|
-
settingRender?: () => React.ReactNode;
|
|
9
|
-
}
|
|
10
|
-
export interface HTableBodyProps extends Omit<ProTableProps<any, any>, "dataSource" | "rowSelection" | "options" | "pagination"> {
|
|
11
|
-
configData?: ConfigDataModal;
|
|
12
|
-
onPageChange?: (params: ParamsModal) => void;
|
|
13
|
-
emptyRender?: (tableInstance: HTableInstance) => React.ReactNode;
|
|
14
|
-
errorRender?: (tableInstance: HTableInstance, error: Error) => React.ReactNode;
|
|
15
|
-
tableStyle?: React.CSSProperties;
|
|
16
|
-
paginationStyle?: React.CSSProperties;
|
|
17
|
-
actionRender?: ActionRenderFn;
|
|
18
|
-
rowSelection?: HRowSelection | false;
|
|
19
|
-
affixProps?: AffixProps | false;
|
|
20
|
-
goTop?: boolean;
|
|
21
|
-
optionsRender?: (node: React.ReactNode) => React.ReactNode;
|
|
22
|
-
paginationActionRender?: (tableInstance: HTableInstance) => React.ReactNode;
|
|
23
|
-
localSorter?: boolean;
|
|
24
|
-
options?: OptionModal | false;
|
|
25
|
-
table?: HTableInstance;
|
|
26
|
-
pagination?: IPaginationProps | false;
|
|
27
|
-
}
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { HTableBodyProps } from "./modal";
|
|
28
3
|
declare const _default: (bodyProps: HTableBodyProps) => JSX.Element;
|
|
29
4
|
export default _default;
|