{"_id":"@beisen-platform/tab-component","_rev":"4-4eba7ee016e0dbb5e26ed0ce3a36f923","name":"@beisen-platform/tab-component","dist-tags":{"latest":"0.2.4-rc.1"},"versions":{"0.2.2":{"name":"@beisen-platform/tab-component","version":"0.2.2","description":"平台tab切换组件","main":"lib/index.js","scripts":{"lib":"stl build lib","examples":"sbl start --port 9001"},"keywords":["beisen","react-component","es6"],"author":{"name":"beisen","email":"beisen@beisen.com"},"maintainers":[{"name":"beisencorp","email":"ci@beisen.com"}],"license":"ISC","repository":{"type":"git","url":"http://gitlab.beisencorp.com/ux-cnpm/ux-tab-component"},"dependencies":{"@beisen-platform/tool-tip":"","@beisen-platform/common-mount":"","@beisen-platform/common-func":"","@beisen/es6-promise-debounce":""},"devDependencies":{"commitizen":"^2.10.1","cz-conventional-changelog":"^2.1.0","@beisen/storybook":"1.x.x","@beisen/build":"1.x.x","@beisen/webpack":"4.x.x","@beisen/ts":"1.x.x","@beisen/storybook-react":"4.x.x","@beisen/babel":"7.x.x","react":"16.x.x","react-dom":"16.x.x"},"config":{"commitizen":{"path":"node_modules/cz-conventional-changelog"}},"peerDependencies":{"react":"16.x.x","react-dom":"16.x.x"},"gitHead":"f63ea67af4ac08470d1145eec4dd5401bc19d1ad","_id":"@beisen-platform/tab-component@0.2.2","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"beisencorp","email":"ci@beisen.com"},"dist":{"integrity":"sha512-V0VzuMd9qPS+D1Tv84jNe/Nwgl2M0AiyRiFSX8QCCfSCO6J3cZnF0U+OibOOvvlzct91YV+84G25qQAnApmrqA==","shasum":"2490b00f9e5ba6b4826c164e22b0385d8ca9a285","tarball":"https://registry.npmjs.org/@beisen-platform/tab-component/-/tab-component-0.2.2.tgz","fileCount":13,"unpackedSize":56154,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb/1DtCRA9TVsSAnZWagAAwHQP/3V9bw+YsPH85yECDfU7\nV6EkZXCh+D8epONgjgsNK+A+RdFdSGLK47Z/78OfWqC979lLJzfaYPGRKIDI\nAYouc6D12oHuNzYA6nyVZCJavjMXz+gkST57qWo0b0GCb9AFomiYF3lUsoer\nuERGKSkUgO6UNwgKjhC5hR1/QV0VmE0HICiIVhTM0NTUgKTvD42cj7o4qu+N\nnFf8lPx45MMMHZF90QZ9B6vmCO8NBAOpGw9KSKk9MaLLOYEsvGf4cks1fcPU\nCIrC+CPlodiHjD0MtkuQ53h6yV74PA6aY9UcZwTCn5UBBL52USV9zwGB/sgE\ngSW+BTIW1EZktxf6wVRLbiQ7tg8/xJum6N0HVKCiZ0nyrDU8ifHDA2+1dB/B\nTSqK/wD3f8h6t6wnemlRfA52oJ8B2+OE1Qv3sC1MQ7AARX0WrDnPOUE776pq\nVLwfIW8LLI+il+pMhAfPe2UwMfUjJqwoaE4OdF0HVCnynJrTrfvlvs1HFU9n\nCmTGb/7d+MC395+zLaA58T74jP3BiMlwC2afecgN9q/dOe6vzu7jGAgU50bD\nKs4aLD7tV1S+mX+7M6oyeltQXIR2qKvJejK+cZCJkODwrG/V3mC5payJdPv/\nOJ5EejGSp963JvEba6RquG/kzk2kuOrxB+kzBLdwzOUJOZA2rL1XSscKO2FM\nV5n2\r\n=Q8sr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCP4jW1uCv4eOSMWG75XhGwcWbFo1tMHYX1XNg5P37tJQIhAKT3YzBtEr92ERa8fiURLSqARp7/4aHvr5x7H8Z35bL6"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tab-component_0.2.2_1543459052471_0.9536893804086868"},"_hasShrinkwrap":false},"0.2.3":{"name":"@beisen-platform/tab-component","version":"0.2.3","description":"平台tab切换组件","main":"lib/index.js","scripts":{"lib":"stl build lib","examples":"sbl start --port 9001","start":"italent-thunder start","build":"italent-thunder build prod --mode development","build-prod":"italent-thunder build prod"},"keywords":["beisen","react-component","es6"],"author":{"name":"beisen","email":"beisen@beisen.com"},"maintainers":[{"name":"beisencorp","email":"ci@beisen.com"}],"license":"ISC","repository":{"type":"git","url":"http://gitlab.beisencorp.com/ux-cnpm/ux-tab-component"},"dependencies":{"@beisen-platform/tool-tip":"","@beisen-platform/common-mount":"","@beisen-platform/common-func":"","@beisen/es6-promise-debounce":""},"devDependencies":{"commitizen":"^2.10.1","cz-conventional-changelog":"^2.1.0","@beisen/storybook":"1.x.x","@beisen/build":"1.x.x","@beisen/webpack":"4.x.x","@beisen/ts":"1.x.x","@beisen/storybook-react":"4.x.x","@beisen/babel":"7.x.x","@beisen/italent-thunder":"1.x.x","react":"16.x.x","react-dom":"16.x.x"},"config":{"commitizen":{"path":"node_modules/cz-conventional-changelog"}},"peerDependencies":{"react":"16.x.x","react-dom":"16.x.x"},"gitHead":"d4a1725f7f119cbcb929d6a4c6d5c8367159b15b","_id":"@beisen-platform/tab-component@0.2.3","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"beisencorp","email":"ci@beisen.com"},"dist":{"integrity":"sha512-MQOnro9A6tUZFZouhxdl/tbalmwzN1xvvCAF07VryGFbYa3CnAXErunwVgx4fsfnFgcO76ncqB+Ey+3+DVnCMQ==","shasum":"8983de1bb0f6f341447045ca69bbafa7fdd83260","tarball":"https://registry.npmjs.org/@beisen-platform/tab-component/-/tab-component-0.2.3.tgz","fileCount":13,"unpackedSize":56282,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJci5iMCRA9TVsSAnZWagAAgrkP/2d3XLficXIx8t390ua9\nbdT6ucOEBlUgrEhHEDhmxZwcMdWuBU+xh5S3kGHedbTjUu0VEb678EN4GIaF\n8JQjXtd2rrDk28gzXPT+Uj/RcszfdhaZZC4fqXPHjrOAkpcW6YiUxidPhi5K\nTXKWvlhynlaMAF4ibGQ0Kri/lD11sgoJ/95StPOLsTHNa1J2rwGzcY/tn83s\ny01qiyDPOf0piChkRBIFPY5a7aLVYpS25vQGfE2vUqkHPhMpB1gA5V8qLrqO\nigPzt3JxqeNzxehYwHnFesPW5Ukco7TXMy/7Im28xOdO6/3jzWivCUIPM+Hn\nKD9JnuNCRiYszsr3dKFqAOIOd/ejaf42gCA16EGK5jAsn2d+MC75/WxLQVUC\nG4tuNXFQMekEm2u8kir2fYg1yOEUMpw+AGpI3URfyB2cNbrx0GYd4jiWjjFe\nnFp0Fyx+MTZCPCTIE3MPKZc0It5zNDH8VvRYcq4/NBhFOgH1dtEpxwVll2rC\n7D0IBFxsq7nKuyWpqVDwloWusQrNnTbdIT8mdOhKTuikiuQ4fu+iyIYYea1Z\n+oXoOHO4GJttRyruow4rFwnZcCdoNA0kwSidmvAADVkDymYJEusBqmTOVdTE\nmHWz7PBNtvScLnCLMviNU6uOD3WwUX3fwX6GZQ3BhzD+/P8r4Mr/1dMqhbvn\nd84Y\r\n=H4z+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDewZF5GR+xPQI+CpyYEkjVBKPzrjCE4iIQAy8tjoUA7gIhAP6N69Je87PJxRQOQe+zCwMb7e7jjhH8APxt9j6LqYVl"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tab-component_0.2.3_1552652427538_0.31060221809342914"},"_hasShrinkwrap":false},"0.2.4":{"name":"@beisen-platform/tab-component","version":"0.2.4","description":"用于页面切换，提供平级的区域将大块内容进行收纳和展现，和保持界面整洁。","main":"lib/index.js","scripts":{"lib":"stl build lib","examples":"sbl start --port 9001","start":"italent-thunder start","build":"italent-thunder build prod --mode development","build-prod":"italent-thunder build prod"},"keywords":["beisen","react-component","es6"],"author":{"name":"beisen","email":"beisen@beisen.com"},"maintainers":[{"name":"beisencorp","email":"ci@beisen.com"}],"license":"ISC","repository":{"type":"git","url":"http://gitlab.beisencorp.com/ux-cnpm/ux-tab-component"},"dependencies":{"@beisen-platform/tool-tip":"","@beisen-platform/common-mount":"","@beisen-platform/common-func":"","@beisen/es6-promise-debounce":""},"devDependencies":{"commitizen":"^2.10.1","cz-conventional-changelog":"^2.1.0","@beisen/storybook":"1.x.x","@beisen/build":"1.x.x","@beisen/webpack":"4.x.x","@beisen/ts":"1.x.x","@beisen/storybook-react":"4.x.x","@beisen/babel":"7.x.x","@beisen/italent-thunder":"1.x.x","react":"16.x.x","react-dom":"16.x.x"},"config":{"commitizen":{"path":"node_modules/cz-conventional-changelog"}},"peerDependencies":{"react":"16.x.x","react-dom":"16.x.x"},"gitHead":"6503c39303b781ff060ef9959040e4e836ae461c","_id":"@beisen-platform/tab-component@0.2.4","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"beisencorp","email":"ci@beisen.com"},"dist":{"integrity":"sha512-sOzRlgFEfxOVZpHU2PtAHWAjWj8EmmblqtXFFGtCGf7tcJRkkJ83n6/eEGG5iQ/B3UJTwIjvl3u8RKQNn5p8tw==","shasum":"b267a3077f7c48883c1e32206d3dd825e8109eee","tarball":"https://registry.npmjs.org/@beisen-platform/tab-component/-/tab-component-0.2.4.tgz","fileCount":13,"unpackedSize":56378,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJctdWiCRA9TVsSAnZWagAApVEP/3Pn3iBGUZUZq+yyir78\nFKI/+XRRTTxa5v6WCeLrVLRjo3O75DyvB/sCuxw+TPfHSHxPESedlYd3RXX/\n+WwGFWg3uL0GbnyBvh3ZbOEz1rRB13LR1xq5bT80YUriuBOpiYvdpsEqVXlB\n98fM84TcqrLdZf4i42vE0b2eVDT1Kgu1hP0KEVxmpS/IzHpLDXBjoae1zpg8\nubNB/awFlDn2rcnyMZRARSvenmAwrJW/m3KeHx1AJRDeN2mT+/tsGFDSN2OH\nF2mJvJLJGjKsvW2y/1f1zjWJc3chKKRqBebdC0UKQtfXMETNkOCp49wszYOR\noRi+r34nSqIOuSYvL+KvLD/67jjzgMPdi8VKWD5a8MG2xyhBSQ4K+QUVfBOQ\njT15nIb+nfDriwqz189RoNpOEfKFHMP1UJNwxO91DGXY+m+MEZJWEdEVuR8q\nINQTTmsVBpZ+YnhPQFaO7TNPGFwkdk0n/AMogcHiuapqjUHTWjK8GGV+yLhh\nVqqDlAzgpYS+8aoAY6Ah5e3ukJ3LeXYhLLv4V7X49cnuQkDE3Ytzi3lKOPpP\nu9we17tgejdvQNIqIAng61k18r707hPIeEc/14tZW9mppS5Kwj2YJTwRqbI7\nZwuQtne8J4v6HTT9ecxF8rJj9xSs5+o1CZKCrMlLLFgUnYo4VFcN96YfYhk6\nyYEG\r\n=LT5x\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIERvYzFkrhc8i71Uz5EV0SRS60AmrfDTVAinvcA18AipAiEAyQ49ZA7/IdBH+i93gZSSjrMl0tm0HxvB/I4F5SP9fqY="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tab-component_0.2.4_1555420577848_0.5990788797966797"},"_hasShrinkwrap":false},"0.2.4-rc.1":{"name":"@beisen-platform/tab-component","version":"0.2.4-rc.1","description":"用于页面切换，提供平级的区域将大块内容进行收纳和展现，和保持界面整洁。","main":"lib/index.js","scripts":{"lib":"stl build lib","examples":"sbl start --port 9001","start":"italent-thunder start","build":"italent-thunder build prod --mode development","build-prod":"italent-thunder build prod"},"keywords":["beisen","react-component","es6"],"author":{"name":"beisen","email":"beisen@beisen.com"},"maintainers":[{"name":"beisencorp","email":"ci@beisen.com"}],"license":"ISC","repository":{"type":"git","url":"http://gitlab.beisencorp.com/ux-cnpm/ux-tab-component"},"dependencies":{"@beisen-platform/tool-tip":"","@beisen-platform/common-mount":"","@beisen-platform/common-func":"","@beisen/es6-promise-debounce":""},"devDependencies":{"commitizen":"^2.10.1","cz-conventional-changelog":"^2.1.0","@beisen/storybook":"1.x.x","@beisen/build":"1.x.x","@beisen/webpack":"4.x.x","@beisen/ts":"1.x.x","@beisen/storybook-react":"4.x.x","@beisen/babel":"7.x.x","@beisen/italent-thunder":"1.x.x","react":"16.x.x","react-dom":"16.x.x"},"config":{"commitizen":{"path":"node_modules/cz-conventional-changelog"}},"peerDependencies":{"react":"16.x.x","react-dom":"16.x.x"},"gitHead":"ea53733ccfc61f61b7abc0b63106f9f0b3839d43","_id":"@beisen-platform/tab-component@0.2.4-rc.1","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"beisencorp","email":"ci@beisen.com"},"dist":{"integrity":"sha512-Sz3O5uHUAixV7b8xq24tElzeCD/OSHvAb5iqMBy1fxZGrqP3mf2r+TJ0wzEw9+Z13SXkPoHfR9C9rdu39+lVyw==","shasum":"1d0c75e5ac6a4f221323fd98873846c50727c554","tarball":"https://registry.npmjs.org/@beisen-platform/tab-component/-/tab-component-0.2.4-rc.1.tgz","fileCount":16,"unpackedSize":61558,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcxsi8CRA9TVsSAnZWagAAOIsP/jlpxJnt81UwByC2rUSD\n+5MzXEFGb/zGaoMMnQ4QQEw4CRJMAshYO7FIZEqYSZW0aeaa50A29sW3dKC8\nHICzM5jfJsAh+huPLnMbiyAjvPYLP1UH39R+6wYPiRd5rs78zfdGvG5w5GwQ\nnz2ppTyiuVMcthX8Hr0X6gjbnlhp7Lqjf8CBIp+/4fqscbMnlI96YkPzxcoC\nHU3XbwKV0QigehquAD/Fa1YiYuCRGyQJ5IPR7x6EIW/YM8JV5ThX+ilOvS3D\nYdpks7i3phOWTsdbfL0AJ8iT49s4yurCzNPPmTqqJ5c1LJyFcyD90WFUTlUR\n9KLTgVbXAwIjXb8wzE5+keq4pKE0EIr6cHlhRp1Fm+wD4Ll1Fx9tNGIAZ577\nRUdwuEdUxiIQuMRiym4bbXeToKXF5TbCPB+0SQf5WDnxjmtDco+fK1Q+EJIw\niOV+3XiFs8r868WHzPYSqFtnUrmLNrmcW7pF5E1bYUkINu6NHkTooK3q9KWN\nC8sv4A+MxT0ia/uKWriGF6Vn/83ZRKAabTjgUeFSore6GyFMPaCPObK7jVT1\nuyyGl+G7fgbXBdcYlEw8DSbofovVuw0EY7PHO0CUIYGKneZmOvqUrSt8Q46G\nmxdXSFjqPxHfiCYU4BS4Ru5jLaLoYRFLCfwE9QKk3P/Rnly/Ffg6vk2Y+tLU\nyt9T\r\n=a6cx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDcbydhtSBt885SKmU0b4/C7GPUMLIpRym19DKGqLR7sAiA7ut8Vdo9h6ztR5ieHjTva+CZIT/EtpbVS6GOwOxd+3A=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tab-component_0.2.4-rc.1_1556531387289_0.7145154895424215"},"_hasShrinkwrap":false}},"time":{"created":"2018-11-29T02:37:32.304Z","0.2.2":"2018-11-29T02:37:32.675Z","modified":"2022-04-04T18:18:02.536Z","0.2.3":"2019-03-15T12:20:27.734Z","0.2.4":"2019-04-16T13:16:17.988Z","0.2.4-rc.1":"2019-04-29T09:49:47.471Z"},"maintainers":[{"name":"beisencorp","email":"ci@beisen.com"}],"description":"用于页面切换，提供平级的区域将大块内容进行收纳和展现，和保持界面整洁。","keywords":["beisen","react-component","es6"],"repository":{"type":"git","url":"http://gitlab.beisencorp.com/ux-cnpm/ux-tab-component"},"author":{"name":"beisen","email":"beisen@beisen.com"},"license":"ISC","readme":"\n## Tab组件说明文档\n\n### 参数说明\n\n```javascript\nconst props = {\n\n  /**\n   * 是否渲染\n   */\n  hidden: false,\n\n  /**\n   * tab组件的样式\n   * 可选：block(默认)，tabs\n   */\n  bsStyle: 'block',\n\n  /**\n   * string，当前高亮标签对应的eventKey的值\n   */\n  activeKey: '0',\n\n  /**\n   * 传入的标签数据\n   */\n  tabItems:[\n    {\n      /**\n       * 标签的唯一标识名称\n       */\n      idx: 'tab0',\n\n      /**\n       * 标签的id \n       */\n      eventKey: 0,\n\n      /**\n       * 标签内容\n       */\n      title: '全部档案',\n\n      /**\n       * 该标签初始时是否为高亮状态，\n       * true   高亮\n       * false  不高亮\n       * tabItems内高亮标签个数有且只有一个\n       */\n      active: true,\n    }\n  ],\n\n  /**\n   * 内容自适应\n   * 如果为true，则当浏览器宽度变化的时候会自适应内容，超出的内容会在下拉菜单中出现\n   */\n  autoAdaptive:false,\n\n  /**\n   * 手动自适应\n   * 如果autoAdaptive=true，则该字段无效，显示的最大数目，超出的将会在下拉菜单中显示，当小于零时会显示全部\n   */\n  maxTabLength:3,\n\n  /**\n   * 默认不隐藏\n   */\n  hiddenTip:false,\n\n  /**\n   * 默认水平，可垂直\n   */\n  sideTip:false,\n\n  /**\n   * 点击回调函数\n   * 返回eventKey为当前索引，event为事件对象\n   */\n  callBack: (eventKey,event) => console.log(eventKey, event)\n}\n\n```\n\n### 组件使用方法\n\n1.安装npm组件包\n\n```\nnpm install @beisen/tab-component --save-dev\n```\n\n2.引用组件\n\n  ```javascript\nimport Tab from \"@beisen/tab-component\"\n  ```\n3. 传入参数\n\n  该参数为上述参数，传入方式使用: data={参数}\n\n```javascript\nstate = {\n  bsStyle: 'block',\n  activeKey: '0',\n  tabItems:[\n    {\n      idx: 'tab0',\n      eventKey: 0,\n      title: '全部档案',\n      active: true,\n      children: '000'         \n    },\n    {\n      idx: 'tab1',\n      eventKey: 1,\n      title: '招聘档案',\n      active: false,\n      children: '111'\n    },\n    {\n      idx: 'tab2',\n      eventKey: 2,\n      title: '绩效',\n      active: false,\n      children: '222'\n    }\n  ],\n  maxTabLength:3,\n  autoAdaptive:false,\n  hiddenTip:false,\n  sideTip:false,\n  callBack: (eventKey,event) => console.log(eventKey, event)\n}\n//定义传入组件的数据\n\n```\n使用组件\n\n```javascript\n<Tab {...this.state} /> //将数据传入组件\n\n\n```\n\n\n\n\n","readmeFilename":"README.md"}