{"_id":"@beisen-phoenix/universityselector","_rev":"2-4c25bcac7c681c8236db391ef9055769","name":"@beisen-phoenix/universityselector","dist-tags":{"latest":"3.2.64-beta.2"},"versions":{"1.0.0":{"name":"@beisen-phoenix/universityselector","version":"1.0.0","description":"","main":"lib/index.js","scripts":{"start":"italent-thunder start","build":"italent-thunder build prod --mode development","build-prod":"italent-thunder build prod","lib":"stl build lib","examples":"sbl start --port 9001","prepublish":"npm run lib","commit":"git-cz"},"license":"ISC","repository":{"type":"git","url":"git@gitlab.beisencorp.com:ux-phoenix/universityselector.git"},"peerDependencies":{"react":"16.x.x","react-dom":"16.x.x"},"devDependencies":{"@beisen/ts":"1.x.x","@beisen/build":"1.x.x","@beisen/babel":"7.x.x","@beisen/storybook":"1.x.x","@beisen/storybook-react":"4.x.x","@beisen/italent-thunder":"1.x.x","@beisen/webpack":"4.x.x","commitizen":"2.x.x","cz-conventional-changelog":"2.x.x","@types/react":"16.x.x","@types/react-dom":"16.x.x","react":"16.x.x","react-dom":"16.x.x"},"dependencies":{"@beisen-phoenix/area-selector":"^3.1.20","@beisen-phoenix/avatar":"^3.0.40","@beisen-phoenix/breadcrumb":"^3.2.22","@beisen-phoenix/button":"^3.0.27","@beisen-phoenix/checkbox":"^3.2.44","@beisen-phoenix/demo-container":"^3.0.57","@beisen-phoenix/icon":"^3.2.22","@beisen-phoenix/loading":"^3.0.44","@beisen-phoenix/radio":"^3.2.22","@beisen-phoenix/search":"^3.2.42","@beisen-phoenix/tooltip":"^3.2.22","classnames":"^2.2.6","isomorphic-fetch":"^2.2.1","lodash.clonedeep":"^4.5.0","react-highlight-words":"^0.16.0","react-virtualized":"^9.21.0"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"gitHead":"b436b28ea668fc5439de86f3d08ce8dbc4d9fcd2","_id":"@beisen-phoenix/universityselector@1.0.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-aJ+EoAk0OvlsIyaOEOmwypVqiwTWq6nYWShERBN/aUkjxAXfBuXd6mIXUfb3ZJg8lJSnxD/YCokdH68Zrm6shQ==","shasum":"36449c6b5be461671d698b28a32d6a481049c109","tarball":"https://registry.npmjs.org/@beisen-phoenix/universityselector/-/universityselector-1.0.0.tgz","fileCount":31,"unpackedSize":76126,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdturWCRA9TVsSAnZWagAAlqkP+gPtvgjJLQYuLeBgghlx\nwV0tRMtGxqUNnH5pbnMPAcIIfKZRyGoBcr3m4dsasg2zhRmqJsZBN3D3kdC9\n2Dbf8HmA63VnJrrKM06BlyWudWn/9PjwuOtbFLl6lln4zuSVt9cFjP8tPTkn\nEuCtKF9nB2/S9z8RGtWJuQFOi0147GrU3lBSqiA7SNuz+t8XG9Toaf/W5rUm\nIUIdnKoqaDKT8z5l4J6i5AZ7aY2MfIYLiqzaZ+8Mp4aKuv/UwJ+dZ86vpLgu\nQR4cArSnOtdpQlKCwxw/r2TMVuFS++A7B5K1shlQuzHMO6ui/X7q5/oefoT4\nX+qag4b6oGC1I8Mxg1+9FYoqDrs+DrynuPKOFxvLP9eIEvJMIf7h98EgYQC3\nMdPzYTnNaGUMHN4CH8P2GRshzYoqn54mQOJfH6U9pKaqBuTMURP//ednWqAi\nZSK7LRzQbNiid5j9jW7sg6mqxeHdeB631WoAZorIcM3jXum+pDgoGbdMZzLd\nJhWCLBfeGPcm2+CSQQziqszyA/a0OjUl8EBtLVXk0KFY8Cjxgri2v6qtSB/F\nxe3mPy2gY7L4ZhYrCUJ+qlatB7YTMlvv1dvtnbMq8IgocF3/Kuvd6/kDuimi\nwqx14c55BP7S/YMJJEKTkfLvo2Xn9IR1+opkd8+KtWA0T/sdj+8WNSgonz6x\n91m8\r\n=QJsa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC6xuhgGlsRsYprFGXdx/0M9wsz5wcdeQCcmFls+J4lggIgXyiL3ek1FcUysTiVf/v82eXma0HbrGxV3g/TVmd5gaA="}]},"maintainers":[{"name":"beisencorp","email":"ci@beisen.com"}],"_npmUser":{"name":"beisencorp","email":"ci@beisen.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/universityselector_1.0.0_1572268758414_0.09431400612238261"},"_hasShrinkwrap":false},"3.2.64-beta.2":{"name":"@beisen-phoenix/universityselector","version":"3.2.64-beta.2","description":"---","main":"lib/index.js","scripts":{"start":"italent-thunder start","build":"italent-thunder build prod --mode development","build-prod":"italent-thunder build prod","lib":"stl build lib","examples":"sbl start --port 9001","prepublish":"npm run lib","commit":"git-cz"},"license":"ISC","repository":{"type":"git","url":"git@gitlab.beisencorp.com:ux-phoenix/universityselector.git"},"peerDependencies":{"react":"16.x.x","react-dom":"16.x.x"},"devDependencies":{"@beisen-phoenix/demo-container":"^3.2.63"},"dependencies":{"@beisen-phoenix/area-selector":"^3.2.63","@beisen-phoenix/avatar":"^3.2.63","@beisen-phoenix/breadcrumb":"^3.2.63","@beisen-phoenix/button":"^3.2.63","@beisen-phoenix/checkbox":"^3.2.63","@beisen-phoenix/icon":"link: ../icon","@beisen-phoenix/loading":"^3.2.63","@beisen-phoenix/message":"^3.2.63","@beisen-phoenix/radio":"^3.2.63","@beisen-phoenix/search":"^3.2.63","@beisen-phoenix/tooltip":"^3.2.63","classnames":"^2.2.6","isomorphic-fetch":"^2.2.1","lodash.clonedeep":"^4.5.0","react-highlight-words":"^0.16.0","react-virtualized":"^9.21.0"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"_id":"@beisen-phoenix/universityselector@3.2.64-beta.2","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-d7zot7wosVGrAetTaryYl1k1eaNRYPG3ClxSoXXPqQWwzwr5D6xH8L0lx6K38dMRLB2e3WghsVsWWVBS1xRWow==","shasum":"27075e23383896d4d4bb2af9b0e20a97509bb31e","tarball":"https://registry.npmjs.org/@beisen-phoenix/universityselector/-/universityselector-3.2.64-beta.2.tgz","fileCount":99,"unpackedSize":317064,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdwAbmCRA9TVsSAnZWagAAKscQAJJxodjap1yljn6Tkda0\nD3cZjjHgxZjA6oQnh7UVP5n2Zrf/6MjjtbrF8blt4jjHQNCKLOCQ2spv3rAt\njndmCkIhxFgdDv4gzcWnfM5FsR6bao7920zEJJ2wsIgXIh16IhCKrsPDaNom\nP7pugodo+ScHxDTg9404Dl8khph3ukzaTNz2+ydrF3K5L6H6+3tFpljySawm\nDk4m+pGgCSVirYoLZf7kYJVunV0Qa30PpNxqhAdoliS/nKlajX4N7/UV+Cty\nUCyTU/AsRwnWgXw0eCcpDtLDXSgTpwkdR9HxhCG4/DRINw6fp+XU9H+zooSk\n6+5DbAEZWhB2+lO5fgMPEbrKtwBZ2ObDzyqzez0fThNU7VRkjmFGlVORu1Su\nE0rRySYHp7YrFfGvW5HFKQeBhWQTg1/28Tmkf7QZSUhzx7cfQdNqXxWhqQZA\nDGivnQiEKPzYoM5UmR/RHPcKeh8LEWlH9yRIJRU4w+nISyr+9+UH2wHK/Bni\nvji+uwNokLGTND4mg++80KjDuUo/K9S1/ZszfUsR4r13cBxwRn6G6fbOnpmm\nD6EqbAhg2UXYLJg2g0CNJnivgJ1gvcgVTGgdtiThh7GPsmKb+FoVf71Kp1uo\n76+/P0zOlPtTXXZFikEfEZsWdrtcsvLlQiiB7vIXpFe13DxmueTvgrQj1/02\nxaCq\r\n=N2mL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCXm946cXwqQOzrmfeaet9k6b39sNTSq5Xsy6P0gbJa/QIgG/7/y3p2uMw13lnq8D4QCE2nmry0rRvhtD4znTVMJQo="}]},"maintainers":[{"name":"beisencorp","email":"ci@beisen.com"}],"_npmUser":{"name":"beisencorp","email":"ci@beisen.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/universityselector_3.2.64-beta.2_1572865765998_0.76095694067977"},"_hasShrinkwrap":false}},"time":{"created":"2019-10-28T13:19:18.236Z","1.0.0":"2019-10-28T13:19:18.569Z","modified":"2022-04-04T18:17:27.100Z","3.2.64-beta.2":"2019-11-04T11:09:26.149Z"},"maintainers":[{"name":"beisencorp","email":"ci@beisen.com"}],"repository":{"type":"git","url":"git@gitlab.beisencorp.com:ux-phoenix/universityselector.git"},"license":"ISC","readme":"# common-constant-selector\n---\n\n## 概述\n\n> 嵌入到输入框、form表单字段组合使用，弹出常量选择窗口。\n>\n> commonConstantSelector支持多层钻取，全局搜索内容及单、多选控制，钻取数据展示列数自定义（列的范围1-3）。\n\n## API\n\n### commonConstantSelector props\n\n| name     | description    | type     | default      |\n|----------|----------------|----------|--------------|\n| limit | 允许选择数量,传0表示不限制数量 | number | 99 |\n| isMulti | 是否多选, true多选，false单选 | bool | false |\n| defaultData | 默认选中的值 | Array [{code: 编码code, name: 显示名称, fullPathCode: 全路径code,fullPathName:全路径名称}] | 无 | Yes |\n| getDataUrl | 数据常量请求链接 | String | \"//const.italent.link/api/v2/compatible/SchoolsValueFormat/110006/chs\" | No |\n| dataSource | 自定义数据源地区的值 | Object | 无 | No |\n| onSubmit | 确定方法  | Function | 无 | Yes |\n| onHide | 隐藏方法  | Function | 无 | Yes |\n| isActiveLinkRelation | 是否开启父子联动 | boolean | false |\n| showParentInSelection | 选中区域显示父节点('root'仅显示根节点, 'all'全路路径, 'parent'直接上级),传false则不显示 | string | 'all' |\n| searchMaxLength | 输入最大字符长度 | number | 200 |\n| isShowBreadcrump | 是否显示全部面包屑 | boolean | true |\n| showSelectAll | 当前层是否显示全选 | boolean | true |\n| showSearchSelectAll | 搜索列表是否显示全选 | boolean | true |\n| selectLevel | 可选级数，配置此参数，默认处理是指定级下及以下可以操作（或小于指定级的末级可操作） | number |\n| levelLayout | 自定义层级部局方式，描述每个层级的列数，长度为1，说明所有子级布局都继承此列数,最大支持3列 | any[number | [3]\n| splitChart | 全路径分割符 | string | '>' |\n| translation | 多语言翻译 | object | null |\n\n\n## 安装及运行示例\n\n```\nnpm install @beisen-phoenix/common-constant-Selector\nnpm run examples\n\n```\n\n\n\n\n### 服务端接口定义格式\n<pre>\n\n常量选中值的接口\n近回数据格式：\n[{code: 1111, label: '名称', fullPathCode: 'xxx/1111', fullPathName: 'xxxx/名称'},...],  //选中的值\n\n常量数据格式树型：\n\n{\n    rules: {\n        layoutColumn:3 // 当前层级分几列布局\n        showSelectAll: true // 当前层是否显示全选\n        limit: 99 // 最大可选数据条数\n        showParentInSelection:数据展示在右侧是否显示父级,\n        showParentInSearchList:搜索列表是否显示父节点作为副标题\n\n    },\n    data: [\n        {\n            code: '1000',\n            name: '北京市',\n            isMulti: true,\n            isShowIcon: true,    //是否显示 多选或单选操作框\n            isLeaf: 下级是否可展开(false 表示不是叶子节点,可以展开,true表示是叶子节点,下级不可点开),\n            showParentInSelection: 当前数据是否在右侧显示父级, 预留目前无用\n            showParentInSearchList:搜索列表是否显示父节点作为副标题,, 预留目前无用\n            fullPathCode:'1110/1111',\n            fullPathName:'北京市/海淀区'\n            },\n            // children为异步数据\n            children: [\n                ......\n            ]\n        }\n    ]\n}\n\n</pre>\n\n","readmeFilename":"README.md","description":"---"}