@hw-component/table 1.0.4 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.eslintcache CHANGED
@@ -1 +1 @@
1
- [{"/Users/hedongjie/Desktop/web/hw-component-table/src/Layout.tsx":"1","/Users/hedongjie/Desktop/web/hw-component-table/src/app.tsx":"2","/Users/hedongjie/Desktop/web/hw-component-table/src/index.tsx":"3","/Users/hedongjie/Desktop/web/hw-component-table/src/routes.tsx":"4","/Users/hedongjie/Desktop/web/hw-component-table/src/components/index.tsx":"5","/Users/hedongjie/Desktop/web/hw-component-table/src/components/Table.tsx":"6","/Users/hedongjie/Desktop/web/hw-component-table/src/components/context.ts":"7","/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useCurrentTable.ts":"8","/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useHTable.tsx":"9","/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useRowObj.ts":"10","/Users/hedongjie/Desktop/web/hw-component-table/src/components/modal.ts":"11","/Users/hedongjie/Desktop/web/hw-component-table/src/components/TableConfig.tsx":"12","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/index.tsx":"13","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableFooter/index.tsx":"14","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/index.tsx":"15","/Users/hedongjie/Desktop/web/hw-component-table/src/components/TableCustomize.tsx":"16","/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useDispatch.ts":"17","/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useReq.ts":"18","/Users/hedongjie/Desktop/web/hw-component-table/src/pages/Table/index.tsx":"19","/Users/hedongjie/Desktop/web/hw-component-table/src/pages/TableCustomize/index.tsx":"20","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTablePagination/index.tsx":"21","/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/index.ts":"22","/Users/hedongjie/Desktop/web/hw-component-table/src/components/ModalTable/hooks.ts":"23","/Users/hedongjie/Desktop/web/hw-component-table/src/components/ModalTable/index.tsx":"24","/Users/hedongjie/Desktop/web/hw-component-table/src/pages/ModalTable/index.tsx":"25","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/AlertMsg.tsx":"26","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/RowSelection.tsx":"27","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/hooks.tsx":"28","/Users/hedongjie/Desktop/web/hw-component-table/src/components/GoTop/index.tsx":"29","/Users/hedongjie/Desktop/web/hw-component-table/src/typings.d.ts":"30","/Users/hedongjie/Desktop/web/hw-component-table/scripts/rollup.config.js":"31","/Users/hedongjie/Desktop/web/hw-component-table/scripts/webpack.config.js":"32","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/hooks.tsx":"33","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/defaultSubComponent.tsx":"34","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/modal.ts":"35","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/Content.tsx":"36","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/Title.tsx":"37","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/index.tsx":"38","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/modal.d.ts":"39","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/utils.ts":"40","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/HeaderTitle/index.tsx":"41","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/RangePickerSearch.tsx":"42","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/defaultFormRender.tsx":"43"},{"size":1541,"mtime":1709541397429,"results":"44","hashOfConfig":"45"},{"size":741,"mtime":1713518829815,"results":"46","hashOfConfig":"45"},{"size":308,"mtime":1709541397430,"results":"47","hashOfConfig":"45"},{"size":769,"mtime":1710811861083,"results":"48","hashOfConfig":"45"},{"size":608,"mtime":1716085382302,"results":"49","hashOfConfig":"45"},{"size":2477,"mtime":1716085382212,"results":"50","hashOfConfig":"45"},{"size":971,"mtime":1716085382228,"results":"51","hashOfConfig":"45"},{"size":1215,"mtime":1716085382286,"results":"52","hashOfConfig":"45"},{"size":677,"mtime":1716085382293,"results":"53","hashOfConfig":"45"},{"size":739,"mtime":1716085382298,"results":"54","hashOfConfig":"45"},{"size":4476,"mtime":1716085382318,"results":"55","hashOfConfig":"45"},{"size":945,"mtime":1716085371836,"results":"56","hashOfConfig":"45"},{"size":4999,"mtime":1716085382125,"results":"57","hashOfConfig":"45"},{"size":2163,"mtime":1716085382140,"results":"58","hashOfConfig":"45"},{"size":1471,"mtime":1713775056928,"results":"59","hashOfConfig":"45"},{"size":1870,"mtime":1716085382224,"results":"60","hashOfConfig":"45"},{"size":209,"mtime":1713781957255,"results":"61","hashOfConfig":"45"},{"size":1410,"mtime":1713781991430,"results":"62","hashOfConfig":"45"},{"size":3124,"mtime":1716085382346,"results":"63","hashOfConfig":"45"},{"size":1762,"mtime":1716085371838,"results":"64","hashOfConfig":"45"},{"size":3149,"mtime":1716085382191,"results":"65","hashOfConfig":"45"},{"size":498,"mtime":1709893919938,"results":"66","hashOfConfig":"45"},{"size":1503,"mtime":1716085382199,"results":"67","hashOfConfig":"45"},{"size":2083,"mtime":1716085382206,"results":"68","hashOfConfig":"45"},{"size":2830,"mtime":1716085382332,"results":"69","hashOfConfig":"45"},{"size":1080,"mtime":1716085371834,"results":"70","hashOfConfig":"45"},{"size":3603,"mtime":1713782094969,"results":"71","hashOfConfig":"45"},{"size":2765,"mtime":1716085382106,"results":"72","hashOfConfig":"45"},{"size":1102,"mtime":1710829302576,"results":"73","hashOfConfig":"45"},{"size":1162,"mtime":1710829299926,"results":"74","hashOfConfig":"45"},{"size":2302,"mtime":1711102156682,"results":"75","hashOfConfig":"45"},{"size":1677,"mtime":1716085381973,"results":"76","hashOfConfig":"45"},{"size":4869,"mtime":1716085371835,"results":"77","hashOfConfig":"45"},{"size":1943,"mtime":1712056204827,"results":"78","hashOfConfig":"45"},{"size":579,"mtime":1716085371835,"results":"79","hashOfConfig":"45"},{"size":1781,"mtime":1713782021632,"results":"80","hashOfConfig":"45"},{"size":1349,"mtime":1711679772700,"results":"81","hashOfConfig":"45"},{"size":3092,"mtime":1713518816733,"results":"82","hashOfConfig":"45"},{"size":482,"mtime":1713782042608,"results":"83","hashOfConfig":"45"},{"size":1685,"mtime":1713782074355,"results":"84","hashOfConfig":"45"},{"size":1049,"mtime":1716085371834,"results":"85","hashOfConfig":"45"},{"size":1208,"mtime":1716085371834,"results":"86","hashOfConfig":"45"},{"size":365,"mtime":1716085371835,"results":"87","hashOfConfig":"45"},{"filePath":"88","messages":"89","suppressedMessages":"90","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1mh59l9",{"filePath":"91","messages":"92","suppressedMessages":"93","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"94","messages":"95","suppressedMessages":"96","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"97","messages":"98","suppressedMessages":"99","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"100","messages":"101","suppressedMessages":"102","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"103","messages":"104","suppressedMessages":"105","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"106","messages":"107","suppressedMessages":"108","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"109","messages":"110","suppressedMessages":"111","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"112","messages":"113","suppressedMessages":"114","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"115","messages":"116","suppressedMessages":"117","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"118","messages":"119","suppressedMessages":"120","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"121","messages":"122","suppressedMessages":"123","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"124","messages":"125","suppressedMessages":"126","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"127","messages":"128","suppressedMessages":"129","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"130","messages":"131","suppressedMessages":"132","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"133","messages":"134","suppressedMessages":"135","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"136","messages":"137","suppressedMessages":"138","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"139","messages":"140","suppressedMessages":"141","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"142","messages":"143","suppressedMessages":"144","errorCount":0,"fatalErrorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"145","messages":"146","suppressedMessages":"147","errorCount":0,"fatalErrorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"148","messages":"149","suppressedMessages":"150","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"151","messages":"152","suppressedMessages":"153","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"154","messages":"155","suppressedMessages":"156","errorCount":0,"fatalErrorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"157","messages":"158","suppressedMessages":"159","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"160","messages":"161","suppressedMessages":"162","errorCount":0,"fatalErrorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"163","messages":"164","suppressedMessages":"165","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"166","messages":"167","suppressedMessages":"168","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"169","messages":"170","suppressedMessages":"171","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"172","messages":"173","suppressedMessages":"174","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"175","messages":"176","suppressedMessages":"177","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"178","messages":"179","suppressedMessages":"180","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"181","messages":"182","suppressedMessages":"183","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"184","messages":"185","suppressedMessages":"186","errorCount":0,"fatalErrorCount":0,"warningCount":6,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"187","messages":"188","suppressedMessages":"189","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"190","messages":"191","suppressedMessages":"192","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"193","messages":"194","suppressedMessages":"195","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"196","messages":"197","suppressedMessages":"198","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"199","messages":"200","suppressedMessages":"201","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"202","messages":"203","suppressedMessages":"204","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"205","messages":"206","suppressedMessages":"207","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"208","messages":"209","suppressedMessages":"210","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"211","messages":"212","suppressedMessages":"213","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"214","messages":"215","suppressedMessages":"216","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/Users/hedongjie/Desktop/web/hw-component-table/src/Layout.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/app.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/index.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/routes.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/index.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/Table.tsx",["217","218"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/context.ts",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useCurrentTable.ts",["219"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useHTable.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useRowObj.ts",["220"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/modal.ts",["221"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/TableConfig.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/index.tsx",["222","223"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableFooter/index.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/index.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/TableCustomize.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useDispatch.ts",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useReq.ts",["224"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/pages/Table/index.tsx",["225","226","227"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/pages/TableCustomize/index.tsx",["228","229","230"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTablePagination/index.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/index.ts",["231"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/ModalTable/hooks.ts",["232","233","234","235"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/ModalTable/index.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/pages/ModalTable/index.tsx",["236","237","238","239"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/AlertMsg.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/RowSelection.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/hooks.tsx",["240","241"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/GoTop/index.tsx",["242","243"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/typings.d.ts",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/scripts/rollup.config.js",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/scripts/webpack.config.js",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/hooks.tsx",["244","245","246","247","248","249"],[],"/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",["250"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/Title.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/index.tsx",["251"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/modal.d.ts",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/utils.ts",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/HeaderTitle/index.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/RangePickerSearch.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/defaultFormRender.tsx",[],[],{"ruleId":"252","severity":1,"message":"253","line":20,"column":3,"nodeType":"254","messageId":"255","endLine":20,"endColumn":12},{"ruleId":"252","severity":1,"message":"256","line":21,"column":3,"nodeType":"254","messageId":"255","endLine":21,"endColumn":12},{"ruleId":"257","severity":1,"message":"258","line":31,"column":6,"nodeType":"259","endLine":31,"endColumn":13,"suggestions":"260"},{"ruleId":"252","severity":1,"message":"261","line":8,"column":9,"nodeType":"254","messageId":"255","endLine":8,"endColumn":30},{"ruleId":"252","severity":1,"message":"262","line":65,"column":6,"nodeType":"254","messageId":"255","endLine":65,"endColumn":20},{"ruleId":"252","severity":1,"message":"263","line":77,"column":5,"nodeType":"254","messageId":"255","endLine":77,"endColumn":16},{"ruleId":"252","severity":1,"message":"264","line":80,"column":5,"nodeType":"254","messageId":"255","endLine":80,"endColumn":20},{"ruleId":"257","severity":1,"message":"265","line":50,"column":6,"nodeType":"259","endLine":50,"endColumn":8,"suggestions":"266"},{"ruleId":"252","severity":1,"message":"267","line":4,"column":8,"nodeType":"254","messageId":"255","endLine":4,"endColumn":13},{"ruleId":"252","severity":1,"message":"268","line":61,"column":7,"nodeType":"254","messageId":"255","endLine":61,"endColumn":11},{"ruleId":"252","severity":1,"message":"269","line":115,"column":42,"nodeType":"254","messageId":"255","endLine":115,"endColumn":48},{"ruleId":"252","severity":1,"message":"270","line":5,"column":3,"nodeType":"254","messageId":"255","endLine":5,"endColumn":15},{"ruleId":"252","severity":1,"message":"271","line":6,"column":3,"nodeType":"254","messageId":"255","endLine":6,"endColumn":19},{"ruleId":"252","severity":1,"message":"269","line":41,"column":36,"nodeType":"254","messageId":"255","endLine":41,"endColumn":42},{"ruleId":"257","severity":1,"message":"272","line":13,"column":6,"nodeType":"259","endLine":13,"endColumn":17,"suggestions":"273"},{"ruleId":"252","severity":1,"message":"274","line":9,"column":10,"nodeType":"254","messageId":"255","endLine":9,"endColumn":21},{"ruleId":"252","severity":1,"message":"275","line":16,"column":14,"nodeType":"254","messageId":"255","endLine":16,"endColumn":39},{"ruleId":"257","severity":1,"message":"276","line":20,"column":6,"nodeType":"259","endLine":20,"endColumn":8,"suggestions":"277"},{"ruleId":"257","severity":1,"message":"278","line":48,"column":6,"nodeType":"259","endLine":48,"endColumn":8,"suggestions":"279"},{"ruleId":"252","severity":1,"message":"280","line":24,"column":7,"nodeType":"254","messageId":"255","endLine":24,"endColumn":11},{"ruleId":"252","severity":1,"message":"269","line":27,"column":32,"nodeType":"254","messageId":"255","endLine":27,"endColumn":38},{"ruleId":"252","severity":1,"message":"269","line":47,"column":32,"nodeType":"254","messageId":"255","endLine":47,"endColumn":38},{"ruleId":"252","severity":1,"message":"281","line":114,"column":9,"nodeType":"254","messageId":"255","endLine":114,"endColumn":21},{"ruleId":"257","severity":1,"message":"282","line":60,"column":6,"nodeType":"259","endLine":60,"endColumn":39,"suggestions":"283"},{"ruleId":"257","severity":1,"message":"284","line":89,"column":6,"nodeType":"259","endLine":89,"endColumn":40,"suggestions":"285"},{"ruleId":"257","severity":1,"message":"286","line":26,"column":6,"nodeType":"259","endLine":26,"endColumn":11,"suggestions":"287"},{"ruleId":"257","severity":1,"message":"286","line":34,"column":6,"nodeType":"259","endLine":34,"endColumn":8,"suggestions":"288"},{"ruleId":"252","severity":1,"message":"289","line":69,"column":5,"nodeType":"254","messageId":"255","endLine":69,"endColumn":22},{"ruleId":"252","severity":1,"message":"290","line":70,"column":5,"nodeType":"254","messageId":"255","endLine":70,"endColumn":15},{"ruleId":"252","severity":1,"message":"291","line":71,"column":5,"nodeType":"254","messageId":"255","endLine":71,"endColumn":16},{"ruleId":"252","severity":1,"message":"292","line":72,"column":5,"nodeType":"254","messageId":"255","endLine":72,"endColumn":10},{"ruleId":"257","severity":1,"message":"293","line":188,"column":6,"nodeType":"259","endLine":188,"endColumn":42,"suggestions":"294"},{"ruleId":"257","severity":1,"message":"293","line":194,"column":6,"nodeType":"259","endLine":194,"endColumn":42,"suggestions":"295"},{"ruleId":"257","severity":1,"message":"296","line":31,"column":6,"nodeType":"259","endLine":31,"endColumn":15,"suggestions":"297"},{"ruleId":"257","severity":1,"message":"298","line":37,"column":6,"nodeType":"259","endLine":37,"endColumn":15,"suggestions":"299"},"@typescript-eslint/no-unused-vars","'spaceSize' is assigned a value but never used.","Identifier","unusedVar","'className' is defined but never used.","react-hooks/exhaustive-deps","React Hook useMemo has missing dependencies: 'changeRowData', 'dispatch', 'getTableParams', 'reload', 'reloadWithParams', and 'useCurrentTable'. Either include them or remove the dependency array.","ArrayExpression",["300"],"'selectedRowDataSource' is assigned a value but never used.","'FooterRenderFn' is defined but never used.","'rowOnChange' is assigned a value but never used.","'allSelectChange' is assigned a value but never used.","React Hook useEffect has missing dependencies: 'manual', 'reloadFn', 'request', and 'resultAction'. Either include them or remove the dependency array.",["301"],"'table' is defined but never used.","'Test' is assigned a value but never used.","'reject' is defined but never used.","'HTableFooter' is defined but never used.","'HTablePagination' is defined but never used.","React Hook useMemo has a missing dependency: 'config'. Either include it or remove the dependency array.",["302"],"'HTableProps' is defined but never used.","'params' is defined but never used.","React Hook useMemo has a missing dependency: 'tableInstance'. Either include it or remove the dependency array.",["303"],"React Hook useEffect has missing dependencies: 'dialogTableInstance', 'hide', and 'show'. Either include them or remove the dependency array.",["304"],"'req1' is assigned a value but never used.","'dialogTable1' is assigned a value but never used.","React Hook useEffect has a missing dependency: 'changeConfigData'. Either include it or remove the dependency array.",["305"],"React Hook useEffect has a missing dependency: 'rowOnChange'. Either include it or remove the dependency array.",["306"],"React Hook useEffect has a missing dependency: 'cuDom'. Either include it or remove the dependency array.",["307"],["308"],"'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.",["309"],["310"],"React Hook useMemo has a missing dependency: 'titleClass'. Either include it or remove the dependency array.",["311"],"React Hook useEffect has a missing dependency: 'tableInstance.table'. Either include it or remove the dependency array.",["312"],{"desc":"313","fix":"314"},{"desc":"315","fix":"316"},{"desc":"317","fix":"318"},{"desc":"319","fix":"320"},{"desc":"321","fix":"322"},{"desc":"323","fix":"324"},{"desc":"325","fix":"326"},{"desc":"327","fix":"328"},{"desc":"329","fix":"330"},{"desc":"331","fix":"332"},{"desc":"331","fix":"333"},{"desc":"334","fix":"335"},{"desc":"336","fix":"337"},"Update the dependencies array to be: [changeRowData, dispatch, getTableParams, reload, reloadWithParams, table, useCurrentTable]",{"range":"338","text":"339"},"Update the dependencies array to be: [manual, reloadFn, request, resultAction]",{"range":"340","text":"341"},"Update the dependencies array to be: [className, config]",{"range":"342","text":"343"},"Update the dependencies array to be: [tableInstance]",{"range":"344","text":"345"},"Update the dependencies array to be: [dialogTableInstance, hide, show]",{"range":"346","text":"347"},"Update the dependencies array to be: [configData, table, rowSelection, changeConfigData]",{"range":"348","text":"349"},"Update the dependencies array to be: [selectedRowKeys, records, rowKey, rowOnChange]",{"range":"350","text":"351"},"Update the dependencies array to be: [cuDom, dom]",{"range":"352","text":"353"},"Update the dependencies array to be: [cuDom]",{"range":"354","text":"355"},"Update the dependencies array to be: [configData, searchSpan, headerOpen, mkNewFn]",{"range":"356","text":"357"},{"range":"358","text":"357"},"Update the dependencies array to be: [columns, titleClass]",{"range":"359","text":"360"},"Update the dependencies array to be: [columns, tableInstance.table]",{"range":"361","text":"362"},[1016,1023],"[changeRowData, dispatch, getTableParams, reload, reloadWithParams, table, useCurrentTable]",[1222,1224],"[manual, reloadFn, request, resultAction]",[481,492],"[className, config]",[523,525],"[tableInstance]",[1229,1231],"[dialogTableInstance, hide, show]",[1764,1797],"[configData, table, rowSelection, changeConfigData]",[2532,2566],"[selectedRowKeys, records, rowKey, rowOnChange]",[825,830],"[cuDom, dom]",[1021,1023],"[cuDom]",[4597,4633],"[configData, searchSpan, headerOpen, mkNewFn]",[4788,4824],[996,1005],"[columns, titleClass]",[1123,1132],"[columns, tableInstance.table]"]
1
+ [{"/Users/hedongjie/Desktop/web/hw-component-table/src/Layout.tsx":"1","/Users/hedongjie/Desktop/web/hw-component-table/src/app.tsx":"2","/Users/hedongjie/Desktop/web/hw-component-table/src/index.tsx":"3","/Users/hedongjie/Desktop/web/hw-component-table/src/routes.tsx":"4","/Users/hedongjie/Desktop/web/hw-component-table/src/components/index.tsx":"5","/Users/hedongjie/Desktop/web/hw-component-table/src/components/Table.tsx":"6","/Users/hedongjie/Desktop/web/hw-component-table/src/components/context.ts":"7","/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useCurrentTable.ts":"8","/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useHTable.tsx":"9","/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useRowObj.ts":"10","/Users/hedongjie/Desktop/web/hw-component-table/src/components/modal.ts":"11","/Users/hedongjie/Desktop/web/hw-component-table/src/components/TableConfig.tsx":"12","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/index.tsx":"13","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableFooter/index.tsx":"14","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/index.tsx":"15","/Users/hedongjie/Desktop/web/hw-component-table/src/components/TableCustomize.tsx":"16","/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useDispatch.ts":"17","/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useReq.ts":"18","/Users/hedongjie/Desktop/web/hw-component-table/src/pages/Table/index.tsx":"19","/Users/hedongjie/Desktop/web/hw-component-table/src/pages/TableCustomize/index.tsx":"20","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTablePagination/index.tsx":"21","/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/index.ts":"22","/Users/hedongjie/Desktop/web/hw-component-table/src/components/ModalTable/hooks.ts":"23","/Users/hedongjie/Desktop/web/hw-component-table/src/components/ModalTable/index.tsx":"24","/Users/hedongjie/Desktop/web/hw-component-table/src/pages/ModalTable/index.tsx":"25","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/AlertMsg.tsx":"26","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/RowSelection.tsx":"27","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/hooks.tsx":"28","/Users/hedongjie/Desktop/web/hw-component-table/src/components/GoTop/index.tsx":"29","/Users/hedongjie/Desktop/web/hw-component-table/src/typings.d.ts":"30","/Users/hedongjie/Desktop/web/hw-component-table/scripts/rollup.config.js":"31","/Users/hedongjie/Desktop/web/hw-component-table/scripts/webpack.config.js":"32","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/hooks.tsx":"33","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/defaultSubComponent.tsx":"34","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/modal.ts":"35","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/Content.tsx":"36","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/Title.tsx":"37","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/index.tsx":"38","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/modal.d.ts":"39","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/utils.ts":"40","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/HeaderTitle/index.tsx":"41","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/RangePickerSearch.tsx":"42","/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/defaultFormRender.tsx":"43"},{"size":1541,"mtime":1709541397429,"results":"44","hashOfConfig":"45"},{"size":741,"mtime":1713518829815,"results":"46","hashOfConfig":"45"},{"size":370,"mtime":1718160488742,"results":"47","hashOfConfig":"45"},{"size":769,"mtime":1710811861083,"results":"48","hashOfConfig":"45"},{"size":608,"mtime":1716085382302,"results":"49","hashOfConfig":"45"},{"size":2543,"mtime":1718160488717,"results":"50","hashOfConfig":"45"},{"size":971,"mtime":1716085382228,"results":"51","hashOfConfig":"45"},{"size":1220,"mtime":1716085384998,"results":"52","hashOfConfig":"45"},{"size":739,"mtime":1718160488723,"results":"53","hashOfConfig":"45"},{"size":739,"mtime":1716085382298,"results":"54","hashOfConfig":"45"},{"size":4522,"mtime":1718160488737,"results":"55","hashOfConfig":"45"},{"size":945,"mtime":1716085371836,"results":"56","hashOfConfig":"45"},{"size":5000,"mtime":1718160462597,"results":"57","hashOfConfig":"45"},{"size":2163,"mtime":1716085382140,"results":"58","hashOfConfig":"45"},{"size":1855,"mtime":1718160488697,"results":"59","hashOfConfig":"45"},{"size":1870,"mtime":1716085382224,"results":"60","hashOfConfig":"45"},{"size":209,"mtime":1713781957255,"results":"61","hashOfConfig":"45"},{"size":1410,"mtime":1713781991430,"results":"62","hashOfConfig":"45"},{"size":3162,"mtime":1718160488759,"results":"63","hashOfConfig":"45"},{"size":1762,"mtime":1716085371838,"results":"64","hashOfConfig":"45"},{"size":3149,"mtime":1716085382191,"results":"65","hashOfConfig":"45"},{"size":498,"mtime":1709893919938,"results":"66","hashOfConfig":"45"},{"size":1503,"mtime":1716085382199,"results":"67","hashOfConfig":"45"},{"size":2083,"mtime":1716085382206,"results":"68","hashOfConfig":"45"},{"size":2830,"mtime":1716085382332,"results":"69","hashOfConfig":"45"},{"size":1080,"mtime":1716085371834,"results":"70","hashOfConfig":"45"},{"size":3603,"mtime":1713782094969,"results":"71","hashOfConfig":"45"},{"size":2765,"mtime":1716085382106,"results":"72","hashOfConfig":"45"},{"size":1102,"mtime":1710829302576,"results":"73","hashOfConfig":"45"},{"size":1162,"mtime":1710829299926,"results":"74","hashOfConfig":"45"},{"size":2302,"mtime":1711102156682,"results":"75","hashOfConfig":"45"},{"size":1677,"mtime":1716085381973,"results":"76","hashOfConfig":"45"},{"size":4897,"mtime":1718160488688,"results":"77","hashOfConfig":"45"},{"size":1943,"mtime":1712056204827,"results":"78","hashOfConfig":"45"},{"size":670,"mtime":1718160488706,"results":"79","hashOfConfig":"45"},{"size":1781,"mtime":1713782021632,"results":"80","hashOfConfig":"45"},{"size":1349,"mtime":1711679772700,"results":"81","hashOfConfig":"45"},{"size":3092,"mtime":1713518816733,"results":"82","hashOfConfig":"45"},{"size":482,"mtime":1713782042608,"results":"83","hashOfConfig":"45"},{"size":1685,"mtime":1713782074355,"results":"84","hashOfConfig":"45"},{"size":1049,"mtime":1716085371834,"results":"85","hashOfConfig":"45"},{"size":1208,"mtime":1716085371834,"results":"86","hashOfConfig":"45"},{"size":365,"mtime":1716085371835,"results":"87","hashOfConfig":"45"},{"filePath":"88","messages":"89","suppressedMessages":"90","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1mh59l9",{"filePath":"91","messages":"92","suppressedMessages":"93","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"94","messages":"95","suppressedMessages":"96","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"97","messages":"98","suppressedMessages":"99","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"100","messages":"101","suppressedMessages":"102","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"103","messages":"104","suppressedMessages":"105","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"106","messages":"107","suppressedMessages":"108","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"109","messages":"110","suppressedMessages":"111","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"112","messages":"113","suppressedMessages":"114","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"115","messages":"116","suppressedMessages":"117","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"118","messages":"119","suppressedMessages":"120","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"121","messages":"122","suppressedMessages":"123","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"124","messages":"125","suppressedMessages":"126","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"127","messages":"128","suppressedMessages":"129","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"130","messages":"131","suppressedMessages":"132","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"133","messages":"134","suppressedMessages":"135","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"136","messages":"137","suppressedMessages":"138","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"139","messages":"140","suppressedMessages":"141","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"142","messages":"143","suppressedMessages":"144","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"145","messages":"146","suppressedMessages":"147","errorCount":0,"fatalErrorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"148","messages":"149","suppressedMessages":"150","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"151","messages":"152","suppressedMessages":"153","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"154","messages":"155","suppressedMessages":"156","errorCount":0,"fatalErrorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"157","messages":"158","suppressedMessages":"159","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"160","messages":"161","suppressedMessages":"162","errorCount":0,"fatalErrorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"163","messages":"164","suppressedMessages":"165","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"166","messages":"167","suppressedMessages":"168","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"169","messages":"170","suppressedMessages":"171","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"172","messages":"173","suppressedMessages":"174","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"175","messages":"176","suppressedMessages":"177","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"178","messages":"179","suppressedMessages":"180","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"181","messages":"182","suppressedMessages":"183","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"184","messages":"185","suppressedMessages":"186","errorCount":0,"fatalErrorCount":0,"warningCount":6,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"187","messages":"188","suppressedMessages":"189","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"190","messages":"191","suppressedMessages":"192","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"193","messages":"194","suppressedMessages":"195","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"196","messages":"197","suppressedMessages":"198","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"199","messages":"200","suppressedMessages":"201","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"202","messages":"203","suppressedMessages":"204","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"205","messages":"206","suppressedMessages":"207","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"208","messages":"209","suppressedMessages":"210","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"211","messages":"212","suppressedMessages":"213","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"214","messages":"215","suppressedMessages":"216","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/Users/hedongjie/Desktop/web/hw-component-table/src/Layout.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/app.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/index.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/routes.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/index.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/Table.tsx",["217","218"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/context.ts",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useCurrentTable.ts",["219"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useHTable.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useRowObj.ts",["220"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/modal.ts",["221"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/TableConfig.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/index.tsx",["222","223"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableFooter/index.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/index.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/TableCustomize.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useDispatch.ts",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/useReq.ts",["224"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/pages/Table/index.tsx",["225","226"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/pages/TableCustomize/index.tsx",["227","228","229"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTablePagination/index.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/hooks/index.ts",["230"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/ModalTable/hooks.ts",["231","232","233","234"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/ModalTable/index.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/pages/ModalTable/index.tsx",["235","236","237","238"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/AlertMsg.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/RowSelection.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/hooks.tsx",["239","240"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/GoTop/index.tsx",["241","242"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/typings.d.ts",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/scripts/rollup.config.js",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/scripts/webpack.config.js",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/hooks.tsx",["243","244","245","246","247","248"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/defaultSubComponent.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/modal.ts",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/Content.tsx",["249"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/Title.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/index.tsx",["250"],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/modal.d.ts",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/Options/utils.ts",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableBody/HeaderTitle/index.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/RangePickerSearch.tsx",[],[],"/Users/hedongjie/Desktop/web/hw-component-table/src/components/HTableHeader/defaultFormRender.tsx",[],[],{"ruleId":"251","severity":1,"message":"252","line":20,"column":3,"nodeType":"253","messageId":"254","endLine":20,"endColumn":12},{"ruleId":"251","severity":1,"message":"255","line":21,"column":3,"nodeType":"253","messageId":"254","endLine":21,"endColumn":12},{"ruleId":"256","severity":1,"message":"257","line":37,"column":6,"nodeType":"258","endLine":37,"endColumn":30,"suggestions":"259"},{"ruleId":"251","severity":1,"message":"260","line":8,"column":9,"nodeType":"253","messageId":"254","endLine":8,"endColumn":30},{"ruleId":"251","severity":1,"message":"261","line":65,"column":6,"nodeType":"253","messageId":"254","endLine":65,"endColumn":20},{"ruleId":"251","severity":1,"message":"262","line":77,"column":5,"nodeType":"253","messageId":"254","endLine":77,"endColumn":16},{"ruleId":"251","severity":1,"message":"263","line":80,"column":5,"nodeType":"253","messageId":"254","endLine":80,"endColumn":20},{"ruleId":"256","severity":1,"message":"264","line":50,"column":6,"nodeType":"258","endLine":50,"endColumn":8,"suggestions":"265"},{"ruleId":"251","severity":1,"message":"266","line":61,"column":7,"nodeType":"253","messageId":"254","endLine":61,"endColumn":11},{"ruleId":"251","severity":1,"message":"267","line":117,"column":42,"nodeType":"253","messageId":"254","endLine":117,"endColumn":48},{"ruleId":"251","severity":1,"message":"268","line":5,"column":3,"nodeType":"253","messageId":"254","endLine":5,"endColumn":15},{"ruleId":"251","severity":1,"message":"269","line":6,"column":3,"nodeType":"253","messageId":"254","endLine":6,"endColumn":19},{"ruleId":"251","severity":1,"message":"267","line":41,"column":36,"nodeType":"253","messageId":"254","endLine":41,"endColumn":42},{"ruleId":"256","severity":1,"message":"270","line":13,"column":6,"nodeType":"258","endLine":13,"endColumn":17,"suggestions":"271"},{"ruleId":"251","severity":1,"message":"272","line":9,"column":10,"nodeType":"253","messageId":"254","endLine":9,"endColumn":21},{"ruleId":"251","severity":1,"message":"273","line":16,"column":14,"nodeType":"253","messageId":"254","endLine":16,"endColumn":39},{"ruleId":"256","severity":1,"message":"274","line":20,"column":6,"nodeType":"258","endLine":20,"endColumn":8,"suggestions":"275"},{"ruleId":"256","severity":1,"message":"276","line":48,"column":6,"nodeType":"258","endLine":48,"endColumn":8,"suggestions":"277"},{"ruleId":"251","severity":1,"message":"278","line":24,"column":7,"nodeType":"253","messageId":"254","endLine":24,"endColumn":11},{"ruleId":"251","severity":1,"message":"267","line":27,"column":32,"nodeType":"253","messageId":"254","endLine":27,"endColumn":38},{"ruleId":"251","severity":1,"message":"267","line":47,"column":32,"nodeType":"253","messageId":"254","endLine":47,"endColumn":38},{"ruleId":"251","severity":1,"message":"279","line":114,"column":9,"nodeType":"253","messageId":"254","endLine":114,"endColumn":21},{"ruleId":"256","severity":1,"message":"280","line":60,"column":6,"nodeType":"258","endLine":60,"endColumn":39,"suggestions":"281"},{"ruleId":"256","severity":1,"message":"282","line":89,"column":6,"nodeType":"258","endLine":89,"endColumn":40,"suggestions":"283"},{"ruleId":"256","severity":1,"message":"284","line":26,"column":6,"nodeType":"258","endLine":26,"endColumn":11,"suggestions":"285"},{"ruleId":"256","severity":1,"message":"284","line":34,"column":6,"nodeType":"258","endLine":34,"endColumn":8,"suggestions":"286"},{"ruleId":"251","severity":1,"message":"287","line":68,"column":5,"nodeType":"253","messageId":"254","endLine":68,"endColumn":22},{"ruleId":"251","severity":1,"message":"288","line":69,"column":5,"nodeType":"253","messageId":"254","endLine":69,"endColumn":15},{"ruleId":"251","severity":1,"message":"289","line":70,"column":5,"nodeType":"253","messageId":"254","endLine":70,"endColumn":16},{"ruleId":"251","severity":1,"message":"290","line":71,"column":5,"nodeType":"253","messageId":"254","endLine":71,"endColumn":10},{"ruleId":"256","severity":1,"message":"291","line":188,"column":6,"nodeType":"258","endLine":188,"endColumn":42,"suggestions":"292"},{"ruleId":"256","severity":1,"message":"291","line":194,"column":6,"nodeType":"258","endLine":194,"endColumn":42,"suggestions":"293"},{"ruleId":"256","severity":1,"message":"294","line":31,"column":6,"nodeType":"258","endLine":31,"endColumn":15,"suggestions":"295"},{"ruleId":"256","severity":1,"message":"296","line":37,"column":6,"nodeType":"258","endLine":37,"endColumn":15,"suggestions":"297"},"@typescript-eslint/no-unused-vars","'spaceSize' is assigned a value but never used.","Identifier","unusedVar","'className' is defined but never used.","react-hooks/exhaustive-deps","React Hook useMemo has missing dependencies: 'changeRowData', 'dispatch', 'getTableParams', 'reload', 'reloadWithParams', and 'useCurrentTable'. Either include them or remove the dependency array.","ArrayExpression",["298"],"'selectedRowDataSource' is assigned a value but never used.","'FooterRenderFn' is defined but never used.","'rowOnChange' is assigned a value but never used.","'allSelectChange' is assigned a value but never used.","React Hook useEffect has missing dependencies: 'manual', 'reloadFn', 'request', and 'resultAction'. Either include them or remove the dependency array.",["299"],"'Test' is assigned a value but never used.","'reject' is defined but never used.","'HTableFooter' is defined but never used.","'HTablePagination' is defined but never used.","React Hook useMemo has a missing dependency: 'config'. Either include it or remove the dependency array.",["300"],"'HTableProps' is defined but never used.","'params' is defined but never used.","React Hook useMemo has a missing dependency: 'tableInstance'. Either include it or remove the dependency array.",["301"],"React Hook useEffect has missing dependencies: 'dialogTableInstance', 'hide', and 'show'. Either include them or remove the dependency array.",["302"],"'req1' is assigned a value but never used.","'dialogTable1' is assigned a value but never used.","React Hook useEffect has a missing dependency: 'changeConfigData'. Either include it or remove the dependency array.",["303"],"React Hook useEffect has a missing dependency: 'rowOnChange'. Either include it or remove the dependency array.",["304"],"React Hook useEffect has a missing dependency: 'cuDom'. Either include it or remove the dependency array.",["305"],["306"],"'childrenDataIndex' is defined but never used.","'showSearch' is defined but never used.","'hideInTable' is defined but never used.","'align' is defined but never used.","React Hook useEffect has a missing dependency: 'mkNewFn'. Either include it or remove the dependency array.",["307"],["308"],"React Hook useMemo has a missing dependency: 'titleClass'. Either include it or remove the dependency array.",["309"],"React Hook useEffect has a missing dependency: 'tableInstance.table'. Either include it or remove the dependency array.",["310"],{"desc":"311","fix":"312"},{"desc":"313","fix":"314"},{"desc":"315","fix":"316"},{"desc":"317","fix":"318"},{"desc":"319","fix":"320"},{"desc":"321","fix":"322"},{"desc":"323","fix":"324"},{"desc":"325","fix":"326"},{"desc":"327","fix":"328"},{"desc":"329","fix":"330"},{"desc":"329","fix":"331"},{"desc":"332","fix":"333"},{"desc":"334","fix":"335"},"Update the dependencies array to be: [table, useCurrentTable, reload, changeRowData, dispatch, reloadWithParams, getTableParams, selectedRowData]",{"range":"336","text":"337"},"Update the dependencies array to be: [manual, reloadFn, request, resultAction]",{"range":"338","text":"339"},"Update the dependencies array to be: [className, config]",{"range":"340","text":"341"},"Update the dependencies array to be: [tableInstance]",{"range":"342","text":"343"},"Update the dependencies array to be: [dialogTableInstance, hide, show]",{"range":"344","text":"345"},"Update the dependencies array to be: [configData, table, rowSelection, changeConfigData]",{"range":"346","text":"347"},"Update the dependencies array to be: [selectedRowKeys, records, rowKey, rowOnChange]",{"range":"348","text":"349"},"Update the dependencies array to be: [cuDom, dom]",{"range":"350","text":"351"},"Update the dependencies array to be: [cuDom]",{"range":"352","text":"353"},"Update the dependencies array to be: [configData, searchSpan, headerOpen, mkNewFn]",{"range":"354","text":"355"},{"range":"356","text":"355"},"Update the dependencies array to be: [columns, titleClass]",{"range":"357","text":"358"},"Update the dependencies array to be: [columns, tableInstance.table]",{"range":"359","text":"360"},[1190,1214],"[table, useCurrentTable, reload, changeRowData, dispatch, reloadWithParams, getTableParams, selectedRowData]",[1222,1224],"[manual, reloadFn, request, resultAction]",[481,492],"[className, config]",[523,525],"[tableInstance]",[1229,1231],"[dialogTableInstance, hide, show]",[1764,1797],"[configData, table, rowSelection, changeConfigData]",[2532,2566],"[selectedRowKeys, records, rowKey, rowOnChange]",[825,830],"[cuDom, dom]",[1021,1023],"[cuDom]",[4625,4661],"[configData, searchSpan, headerOpen, mkNewFn]",[4816,4852],[996,1005],"[columns, titleClass]",[1123,1132],"[columns, tableInstance.table]"]
@@ -24,7 +24,7 @@ import { DefaultSubComponent } from './defaultSubComponent.js';
24
24
  import { useHTableContext } from '../context.js';
25
25
  import { renderData } from './defaultFormRender.js';
26
26
 
27
- var _excluded = ["colon", "searchType", "title", "name", "dataIndex", "itemProps", "searchRender", "childrenDataIndex", "showSearch", "hideInTable", "align"];
27
+ var _excluded = ["searchType", "title", "name", "dataIndex", "itemProps", "searchRender", "childrenDataIndex", "showSearch", "hideInTable", "align", "searchLabel", "titleStr"];
28
28
  function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
29
29
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _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; }
30
30
  var sizeObj = {
@@ -85,9 +85,7 @@ var getCuSpanMaxNum = function getCuSpanMaxNum() {
85
85
  return 24 / cuSpan;
86
86
  };
87
87
  var formConfigDataItemProvider = function formConfigDataItemProvider(_ref, table) {
88
- var _ref$colon = _ref.colon,
89
- colon = _ref$colon === void 0 ? false : _ref$colon,
90
- searchType = _ref.searchType,
88
+ var searchType = _ref.searchType,
91
89
  title = _ref.title,
92
90
  name = _ref.name,
93
91
  dataIndex = _ref.dataIndex,
@@ -98,15 +96,16 @@ var formConfigDataItemProvider = function formConfigDataItemProvider(_ref, table
98
96
  _ref.showSearch;
99
97
  _ref.hideInTable;
100
98
  _ref.align;
101
- var props = _objectWithoutProperties(_ref, _excluded);
99
+ var searchLabel = _ref.searchLabel,
100
+ titleStr = _ref.titleStr,
101
+ props = _objectWithoutProperties(_ref, _excluded);
102
102
  var _itemProps$allowClear = itemProps.allowClear,
103
103
  allowClear = _itemProps$allowClear === void 0 ? true : _itemProps$allowClear;
104
104
  return _objectSpread(_objectSpread({}, props), {}, {
105
105
  itemProps: _objectSpread(_objectSpread({}, itemProps), {}, {
106
106
  allowClear: allowClear
107
107
  }),
108
- label: title,
109
- colon: colon,
108
+ label: searchLabel || titleStr || title,
110
109
  type: searchType,
111
110
  name: name || dataIndex,
112
111
  render: function render(item, node, form) {
@@ -1,3 +1,3 @@
1
1
  import type { IHeaderProps } from "./modal";
2
- declare const _default: ({ configData, onFinish, searchSpan, headerStyle, initValues, }: IHeaderProps) => JSX.Element;
2
+ declare const _default: ({ configData, onFinish, searchSpan, headerStyle, initValues, hideLabel, labelWidth, }: IHeaderProps) => JSX.Element;
3
3
  export default _default;
@@ -30,12 +30,16 @@ var Header = (function (_ref) {
30
30
  _ref$searchSpan = _ref.searchSpan,
31
31
  searchSpan = _ref$searchSpan === void 0 ? defaultSearchSpan : _ref$searchSpan,
32
32
  headerStyle = _ref.headerStyle,
33
- initValues = _ref.initValues;
33
+ initValues = _ref.initValues,
34
+ hideLabel = _ref.hideLabel,
35
+ labelWidth = _ref.labelWidth;
34
36
  var _useHTableContext = useHTableContext(),
35
37
  tableInstance = _useHTableContext.tableInstance,
36
38
  loading = _useHTableContext.loading,
37
39
  contextOnFinish = _useHTableContext.onFinish,
38
- contextConfigData = _useHTableContext.configData;
40
+ contextConfigData = _useHTableContext.configData,
41
+ contextHideLabel = _useHTableContext.hideLabel,
42
+ contextLabelWidth = _useHTableContext.labelWidth;
39
43
  var headerConfigData = configData || contextConfigData;
40
44
  var form = tableInstance.form;
41
45
  var subOnFinish = onFinish || contextOnFinish;
@@ -44,6 +48,8 @@ var Header = (function (_ref) {
44
48
  configData: headerConfigData,
45
49
  table: tableInstance
46
50
  });
51
+ var tableHideLabel = typeof hideLabel === "undefined" ? contextHideLabel : hideLabel;
52
+ var tableLabelWidth = labelWidth || contextLabelWidth;
47
53
  var className = useClassName("hw-table-header");
48
54
  return jsx(Card, {
49
55
  style: _objectSpread({
@@ -61,9 +67,11 @@ var Header = (function (_ref) {
61
67
  submitLoading: loading,
62
68
  gutter: [20, 0],
63
69
  initialValues: initValues,
64
- hideLabel: true,
70
+ hideLabel: typeof tableHideLabel === "undefined" ? true : tableHideLabel,
65
71
  configData: nConfigData,
66
- form: form
72
+ form: form,
73
+ colon: true,
74
+ labelWidth: tableLabelWidth
67
75
  })
68
76
  });
69
77
  });
@@ -10,7 +10,11 @@ export interface IHeaderProps {
10
10
  headerStyle?: React.CSSProperties;
11
11
  table?: HTableInstance;
12
12
  initValues?: Record<string, any>;
13
+ hideLabel?: boolean;
14
+ labelWidth?: number;
13
15
  }
14
16
  export interface FormConfigDataItemProviderModal extends ConfigItemModal {
15
17
  className?: string;
18
+ searchLabel?: string;
19
+ titleStr?: string;
16
20
  }
package/es/Table.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  import type { HTableProps } from "./modal";
2
- declare const _default: ({ request, configData, searchSpan, table, hideHeader, headerStyle, tableStyle, action, spaceSize, className, paginationStyle, rowKey, onFinish, manual, formInitValues, ...props }: HTableProps) => JSX.Element;
2
+ declare const _default: ({ request, configData, searchSpan, table, hideHeader, headerStyle, tableStyle, action, spaceSize, className, paginationStyle, rowKey, onFinish, manual, formInitValues, hideLabel, labelWidth, ...props }: HTableProps) => JSX.Element;
3
3
  export default _default;
package/es/Table.js CHANGED
@@ -21,7 +21,7 @@ import useReq from './hooks/useReq.js';
21
21
  import useDispatch from './hooks/useDispatch.js';
22
22
  import { useState } from 'react';
23
23
 
24
- var _excluded = ["request", "configData", "searchSpan", "table", "hideHeader", "headerStyle", "tableStyle", "action", "spaceSize", "className", "paginationStyle", "rowKey", "onFinish", "manual", "formInitValues"];
24
+ var _excluded = ["request", "configData", "searchSpan", "table", "hideHeader", "headerStyle", "tableStyle", "action", "spaceSize", "className", "paginationStyle", "rowKey", "onFinish", "manual", "formInitValues", "hideLabel", "labelWidth"];
25
25
  function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
26
26
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
27
27
  var Table = (function (_ref) {
@@ -44,6 +44,8 @@ var Table = (function (_ref) {
44
44
  onFinish = _ref.onFinish,
45
45
  manual = _ref.manual,
46
46
  formInitValues = _ref.formInitValues,
47
+ hideLabel = _ref.hideLabel,
48
+ labelWidth = _ref.labelWidth,
47
49
  props = _objectWithoutProperties(_ref, _excluded);
48
50
  var _useReq = useReq({
49
51
  request: request,
@@ -103,7 +105,9 @@ var Table = (function (_ref) {
103
105
  setSelectedRowData: setSelectedRowData,
104
106
  rowKey: rowKey,
105
107
  headerOpen: open,
106
- setHeaderOpen: setOpen
108
+ setHeaderOpen: setOpen,
109
+ hideLabel: hideLabel,
110
+ labelWidth: labelWidth
107
111
  },
108
112
  children: jsxs(Space, {
109
113
  direction: "vertical",
package/es/modal.d.ts CHANGED
@@ -73,6 +73,8 @@ export interface HTableProps extends Omit<ProTableProps<any, any>, "request" | "
73
73
  paginationActionRender?: (tableInstance: HTableInstance) => React.ReactNode;
74
74
  localSorter?: boolean;
75
75
  formInitValues?: Record<string, any>;
76
+ labelWidth?: number;
77
+ hideLabel?: boolean;
76
78
  }
77
79
  export interface TableInstance {
78
80
  reload: (params?: ParamsModal) => Promise<any>;
@@ -25,7 +25,7 @@ var defaultSubComponent = require('./defaultSubComponent.js');
25
25
  var context = require('../context.js');
26
26
  var defaultFormRender = require('./defaultFormRender.js');
27
27
 
28
- var _excluded = ["colon", "searchType", "title", "name", "dataIndex", "itemProps", "searchRender", "childrenDataIndex", "showSearch", "hideInTable", "align"];
28
+ var _excluded = ["searchType", "title", "name", "dataIndex", "itemProps", "searchRender", "childrenDataIndex", "showSearch", "hideInTable", "align", "searchLabel", "titleStr"];
29
29
  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; }
30
30
  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; }
31
31
  var sizeObj = {
@@ -86,9 +86,7 @@ var getCuSpanMaxNum = function getCuSpanMaxNum() {
86
86
  return 24 / cuSpan;
87
87
  };
88
88
  var formConfigDataItemProvider = function formConfigDataItemProvider(_ref, table) {
89
- var _ref$colon = _ref.colon,
90
- colon = _ref$colon === void 0 ? false : _ref$colon,
91
- searchType = _ref.searchType,
89
+ var searchType = _ref.searchType,
92
90
  title = _ref.title,
93
91
  name = _ref.name,
94
92
  dataIndex = _ref.dataIndex,
@@ -99,15 +97,16 @@ var formConfigDataItemProvider = function formConfigDataItemProvider(_ref, table
99
97
  _ref.showSearch;
100
98
  _ref.hideInTable;
101
99
  _ref.align;
102
- var props = _objectWithoutProperties(_ref, _excluded);
100
+ var searchLabel = _ref.searchLabel,
101
+ titleStr = _ref.titleStr,
102
+ props = _objectWithoutProperties(_ref, _excluded);
103
103
  var _itemProps$allowClear = itemProps.allowClear,
104
104
  allowClear = _itemProps$allowClear === void 0 ? true : _itemProps$allowClear;
105
105
  return _objectSpread(_objectSpread({}, props), {}, {
106
106
  itemProps: _objectSpread(_objectSpread({}, itemProps), {}, {
107
107
  allowClear: allowClear
108
108
  }),
109
- label: title,
110
- colon: colon,
109
+ label: searchLabel || titleStr || title,
111
110
  type: searchType,
112
111
  name: name || dataIndex,
113
112
  render: function render(item, node, form) {
@@ -1,3 +1,3 @@
1
1
  import type { IHeaderProps } from "./modal";
2
- declare const _default: ({ configData, onFinish, searchSpan, headerStyle, initValues, }: IHeaderProps) => JSX.Element;
2
+ declare const _default: ({ configData, onFinish, searchSpan, headerStyle, initValues, hideLabel, labelWidth, }: IHeaderProps) => JSX.Element;
3
3
  export default _default;
@@ -33,12 +33,16 @@ var Header = (function (_ref) {
33
33
  _ref$searchSpan = _ref.searchSpan,
34
34
  searchSpan = _ref$searchSpan === void 0 ? defaultSearchSpan : _ref$searchSpan,
35
35
  headerStyle = _ref.headerStyle,
36
- initValues = _ref.initValues;
36
+ initValues = _ref.initValues,
37
+ hideLabel = _ref.hideLabel,
38
+ labelWidth = _ref.labelWidth;
37
39
  var _useHTableContext = context.useHTableContext(),
38
40
  tableInstance = _useHTableContext.tableInstance,
39
41
  loading = _useHTableContext.loading,
40
42
  contextOnFinish = _useHTableContext.onFinish,
41
- contextConfigData = _useHTableContext.configData;
43
+ contextConfigData = _useHTableContext.configData,
44
+ contextHideLabel = _useHTableContext.hideLabel,
45
+ contextLabelWidth = _useHTableContext.labelWidth;
42
46
  var headerConfigData = configData || contextConfigData;
43
47
  var form$1 = tableInstance.form;
44
48
  var subOnFinish = onFinish || contextOnFinish;
@@ -47,6 +51,8 @@ var Header = (function (_ref) {
47
51
  configData: headerConfigData,
48
52
  table: tableInstance
49
53
  });
54
+ var tableHideLabel = typeof hideLabel === "undefined" ? contextHideLabel : hideLabel;
55
+ var tableLabelWidth = labelWidth || contextLabelWidth;
50
56
  var className = index.useClassName("hw-table-header");
51
57
  return jsxRuntime.jsx(antd.Card, {
52
58
  style: _objectSpread({
@@ -64,9 +70,11 @@ var Header = (function (_ref) {
64
70
  submitLoading: loading,
65
71
  gutter: [20, 0],
66
72
  initialValues: initValues,
67
- hideLabel: true,
73
+ hideLabel: typeof tableHideLabel === "undefined" ? true : tableHideLabel,
68
74
  configData: nConfigData,
69
- form: form$1
75
+ form: form$1,
76
+ colon: true,
77
+ labelWidth: tableLabelWidth
70
78
  })
71
79
  });
72
80
  });
@@ -10,7 +10,11 @@ export interface IHeaderProps {
10
10
  headerStyle?: React.CSSProperties;
11
11
  table?: HTableInstance;
12
12
  initValues?: Record<string, any>;
13
+ hideLabel?: boolean;
14
+ labelWidth?: number;
13
15
  }
14
16
  export interface FormConfigDataItemProviderModal extends ConfigItemModal {
15
17
  className?: string;
18
+ searchLabel?: string;
19
+ titleStr?: string;
16
20
  }
package/lib/Table.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  import type { HTableProps } from "./modal";
2
- declare const _default: ({ request, configData, searchSpan, table, hideHeader, headerStyle, tableStyle, action, spaceSize, className, paginationStyle, rowKey, onFinish, manual, formInitValues, ...props }: HTableProps) => JSX.Element;
2
+ declare const _default: ({ request, configData, searchSpan, table, hideHeader, headerStyle, tableStyle, action, spaceSize, className, paginationStyle, rowKey, onFinish, manual, formInitValues, hideLabel, labelWidth, ...props }: HTableProps) => JSX.Element;
3
3
  export default _default;
package/lib/Table.js CHANGED
@@ -24,7 +24,7 @@ var useReq = require('./hooks/useReq.js');
24
24
  var useDispatch = require('./hooks/useDispatch.js');
25
25
  var React = require('react');
26
26
 
27
- var _excluded = ["request", "configData", "searchSpan", "table", "hideHeader", "headerStyle", "tableStyle", "action", "spaceSize", "className", "paginationStyle", "rowKey", "onFinish", "manual", "formInitValues"];
27
+ var _excluded = ["request", "configData", "searchSpan", "table", "hideHeader", "headerStyle", "tableStyle", "action", "spaceSize", "className", "paginationStyle", "rowKey", "onFinish", "manual", "formInitValues", "hideLabel", "labelWidth"];
28
28
  function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
29
29
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
30
30
  var Table = (function (_ref) {
@@ -47,6 +47,8 @@ var Table = (function (_ref) {
47
47
  onFinish = _ref.onFinish,
48
48
  manual = _ref.manual,
49
49
  formInitValues = _ref.formInitValues,
50
+ hideLabel = _ref.hideLabel,
51
+ labelWidth = _ref.labelWidth,
50
52
  props = _objectWithoutProperties(_ref, _excluded);
51
53
  var _useReq = useReq.default({
52
54
  request: request,
@@ -106,7 +108,9 @@ var Table = (function (_ref) {
106
108
  setSelectedRowData: setSelectedRowData,
107
109
  rowKey: rowKey,
108
110
  headerOpen: open,
109
- setHeaderOpen: setOpen
111
+ setHeaderOpen: setOpen,
112
+ hideLabel: hideLabel,
113
+ labelWidth: labelWidth
110
114
  },
111
115
  children: jsxRuntime.jsxs(antd.Space, {
112
116
  direction: "vertical",
package/lib/modal.d.ts CHANGED
@@ -73,6 +73,8 @@ export interface HTableProps extends Omit<ProTableProps<any, any>, "request" | "
73
73
  paginationActionRender?: (tableInstance: HTableInstance) => React.ReactNode;
74
74
  localSorter?: boolean;
75
75
  formInitValues?: Record<string, any>;
76
+ labelWidth?: number;
77
+ hideLabel?: boolean;
76
78
  }
77
79
  export interface TableInstance {
78
80
  reload: (params?: ParamsModal) => Promise<any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hw-component/table",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "基于antd二次开发table组件",
5
5
  "keywords": [
6
6
  "table"
@@ -31,7 +31,7 @@
31
31
  "dependencies": {
32
32
  "@ant-design/icons": "4.6.2",
33
33
  "@ant-design/pro-table": "2.70.0",
34
- "@hw-component/form": "1.3.7",
34
+ "@hw-component/form": "1.3.9",
35
35
  "ahooks": "2.10.9",
36
36
  "antd": "4.20.7",
37
37
  "core-js": "3",
@@ -59,7 +59,6 @@ const getCuSpanMaxNum = (searchSpan: ColProps = { span: 6 }) => {
59
59
  };
60
60
  const formConfigDataItemProvider = (
61
61
  {
62
- colon = false,
63
62
  searchType,
64
63
  title,
65
64
  name,
@@ -70,6 +69,8 @@ const formConfigDataItemProvider = (
70
69
  showSearch,
71
70
  hideInTable,
72
71
  align,
72
+ searchLabel,
73
+ titleStr,
73
74
  ...props
74
75
  }: FormConfigDataItemProviderModal,
75
76
  table: HTableInstance
@@ -82,8 +83,7 @@ const formConfigDataItemProvider = (
82
83
  ...itemProps,
83
84
  allowClear,
84
85
  },
85
- label: title,
86
- colon,
86
+ label: searchLabel || titleStr || title,
87
87
  type: searchType,
88
88
  name: name || (dataIndex as string),
89
89
  render: (item, node, form) => {
@@ -19,12 +19,16 @@ export default ({
19
19
  searchSpan = defaultSearchSpan,
20
20
  headerStyle,
21
21
  initValues,
22
+ hideLabel,
23
+ labelWidth,
22
24
  }: IHeaderProps) => {
23
25
  const {
24
26
  tableInstance,
25
27
  loading,
26
28
  onFinish: contextOnFinish,
27
29
  configData: contextConfigData,
30
+ hideLabel: contextHideLabel,
31
+ labelWidth: contextLabelWidth,
28
32
  } = useHTableContext();
29
33
  const headerConfigData = configData || contextConfigData;
30
34
  const { form } = tableInstance;
@@ -34,6 +38,10 @@ export default ({
34
38
  configData: headerConfigData,
35
39
  table: tableInstance,
36
40
  });
41
+ const tableHideLabel =
42
+ typeof hideLabel === "undefined" ? contextHideLabel : hideLabel;
43
+ const tableLabelWidth = labelWidth || contextLabelWidth;
44
+
37
45
  const className = useClassName("hw-table-header");
38
46
  return (
39
47
  <Card
@@ -52,9 +60,13 @@ export default ({
52
60
  submitLoading={loading}
53
61
  gutter={[20, 0]}
54
62
  initialValues={initValues}
55
- hideLabel={true}
63
+ hideLabel={
64
+ typeof tableHideLabel === "undefined" ? true : tableHideLabel
65
+ }
56
66
  configData={nConfigData}
57
67
  form={form}
68
+ colon={true}
69
+ labelWidth={tableLabelWidth}
58
70
  />
59
71
  </Card>
60
72
  );
@@ -11,8 +11,12 @@ export interface IHeaderProps {
11
11
  headerStyle?: React.CSSProperties;
12
12
  table?: HTableInstance;
13
13
  initValues?: Record<string, any>;
14
+ hideLabel?: boolean;
15
+ labelWidth?: number;
14
16
  }
15
17
 
16
18
  export interface FormConfigDataItemProviderModal extends ConfigItemModal {
17
19
  className?: string;
20
+ searchLabel?: string;
21
+ titleStr?: string;
18
22
  }
@@ -24,6 +24,8 @@ export default ({
24
24
  onFinish,
25
25
  manual,
26
26
  formInitValues,
27
+ hideLabel,
28
+ labelWidth,
27
29
  ...props
28
30
  }: HTableProps) => {
29
31
  const { run, loading, data, error, saveParams } = useReq({ request, manual });
@@ -69,6 +71,8 @@ export default ({
69
71
  rowKey,
70
72
  headerOpen: open,
71
73
  setHeaderOpen: setOpen,
74
+ hideLabel,
75
+ labelWidth,
72
76
  }}
73
77
  >
74
78
  <Space direction={"vertical"} size={0} style={{ width: "100%" }}>
@@ -18,9 +18,9 @@ export default (): HTableInstance => {
18
18
  return {} as any;
19
19
  },
20
20
  settingKeys: {},
21
- getSelectedRowData:()=>{
21
+ getSelectedRowData: () => {
22
22
  return {};
23
- }
23
+ },
24
24
  };
25
25
  }, []);
26
26
  return {
@@ -111,6 +111,8 @@ export interface HTableProps
111
111
  paginationActionRender?: (tableInstance: HTableInstance) => React.ReactNode;
112
112
  localSorter?: boolean;
113
113
  formInitValues?: Record<string, any>;
114
+ labelWidth?: number;
115
+ hideLabel?: boolean;
114
116
  }
115
117
  export interface TableInstance {
116
118
  reload: (params?: ParamsModal) => Promise<any>;
package/src/index.tsx CHANGED
@@ -3,6 +3,7 @@ import App from "./app";
3
3
  import React from "react";
4
4
  import "antd/dist/antd.css";
5
5
  import zhCN from "antd/es/locale/zh_CN";
6
+ import "@hw-component/form/src/components/styles/index.less";
6
7
  import { ConfigProvider } from "antd";
7
8
  render(
8
9
  <ConfigProvider locale={zhCN}>
@@ -1,7 +1,6 @@
1
1
  import { HTable, useHTable } from "@/components";
2
2
  import { Button } from "antd";
3
3
  import { HFormConfigProvider } from "@hw-component/form";
4
- import table from "@/components/Table";
5
4
 
6
5
  const configData = [
7
6
  {
@@ -9,6 +8,7 @@ const configData = [
9
8
  showSearch: true,
10
9
  searchType: "rangePicker",
11
10
  dataIndex: "id",
11
+ searchLabel: "fff",
12
12
  sorter: (a, b) => a.id - b.id,
13
13
  itemProps: {
14
14
  options: [{ label: "1", value: 1 }],
@@ -78,6 +78,8 @@ export default () => {
78
78
  configData={configData}
79
79
  rowKey={"id"}
80
80
  table={hTable}
81
+ hideLabel={false}
82
+ labelWidth={88}
81
83
  action={{
82
84
  test: (params) => {
83
85
  console.log(params, "lllll");