{"_id":"@asiachan/ui-jsnative","_rev":"1-12babe065e72d82d26927a76a6c8e839","name":"@asiachan/ui-jsnative","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@asiachan/ui-jsnative","version":"0.0.1","description":"A rich interaction, lightweight, high performance UI library based on Weex","main":"index.js","lib":"vue","type":"weex","repository":{"type":"git","url":"git+https://github.com/alibaba/weex-ui.git"},"scripts":{"build":"webpack --progress","watch":"webpack --progress --watch","serve":"anywhere -d build/example/ -p 8080","start":"npm run build & npm run serve & npm run watch"},"keywords":["Light Ui","Light","Vue","Mobile","Ul Components","UI library"],"author":"","license":"MIT","devDependencies":{"@weex-project/weex-picker":"^0.2.4","anywhere":"^1.4.0","babel-core":"^6.26.0","babel-eslint":"~8.0.1","babel-loader":"^7.1.2","babel-preset-es2015":"^6.24.1","babel-preset-stage-0":"^6.24.1","babel-runtime":"^6.26.0","clean-webpack-plugin":"~0.1.17","copy-webpack-plugin":"~4.0.1","css-loader":"~0.28.7","eslint":"^4.11.0","eslint-config-vue":"^2.0.2","eslint-plugin-vue":"^2.1.0","glob":"^7.1.2","lerna":"^2.5.1","vue":"^2.5.3","vue-loader":"^12.2.2","vue-template-compiler":"^2.5.3","webpack":"^2.7.0","weex-loader":"^0.6.0-beta.3","weex-vue-loader":"^0.5.0-beta.3","validator":"^6.2.1","vanilla-masker":"^1.2.0"},"dependencies":{"url-parse":"^1.1.9","weex-picker":"^0.1.0","weex-bindingx":"0.0.17"},"gitHead":"47267be2d56a63f505a11e9c41bd1347d53fc6c4","bugs":{"url":"https://github.com/alibaba/weex-ui/issues"},"homepage":"https://github.com/alibaba/weex-ui#readme","_id":"@asiachan/ui-jsnative@0.0.1","_nodeVersion":"12.9.1","_npmVersion":"6.10.2","dist":{"integrity":"sha512-CqSXrz0plRwn1h3hmXFJ8Rks9fYCsjkEom4iWdgKgE1qPa2dTApEne5TrvrFzKVEXkcP4MBIoWBnVceujwrOVQ==","shasum":"feea12e233f2863328050b9ca298ea74f3093d9b","tarball":"https://registry.npmjs.org/@asiachan/ui-jsnative/-/ui-jsnative-0.0.1.tgz","fileCount":316,"unpackedSize":1245788,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd+ZN+CRA9TVsSAnZWagAAOawP/RVeKeWKAkBp186QNPth\nOpoZuMw1BvJG3YAWi37IsmCz0cMAZYAYXMzswBwO8SWpzNxKIg/4UF5YjDDu\n2NbnEGKssvpk3l7geY+CibdsfXRbkLoY0Gm5nOnitGRbCZepC4VCyYv4V3lk\nMG0wcZIfTH+yT5r8jpDVekiC5s1s22e7qpmUxBHl9LTLYW6yqu+YN2Qa7nyN\nuv/KYakIr6cWPFh/4B8vbXzFiNoieOtMwjulvxJrzr9VTISozq4xPOY7BLAb\nU6QqSQbJWRrSGd0rIYi6s3ktMcQCQ8/xd4cgnz0GiKVbq1SYvlEpa6oV/hM/\n3ORg+OMdo4EXLuQK5zpi6+caxpOGo/AIbOiuSM7GLIKoPWgNfx2iAl6yQyr2\n/ZibjA5kYZrOdv7mPBFSFqYoHhVMJkxNmoHQ6B7FNgosgKmIomZMndUVQPCo\ngjheZbjpTYIJgBNzbtR6PObXILToQgciRCFfpwAkQybga3Km/eUeAimfEgoq\n6WMbRLTxjhBPu1WZql672EuL3Mc2J1G+yP1V7jOSujQUv23fV1S0gWG276E0\nAPD44HqNuxeaL92ys0sZZ/4yprhJOcWuXHkcrVTGCzf6iwQ68qUci2mvtXJ1\ngOggN6lF9KlUfNSraVONTGGypji7T67w53uLJcW08JChOcxeh5r45tGaflCy\nxgfv\r\n=4bzF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/sEK6ZcNe/lxtRS9MgiRhSNXOe/qrEsRxzl995vUZkAIhAOEqJa2hdjXljlUpCusnVjMKZg3BAxFSLFXPMz5qnJjQ"}]},"maintainers":[{"name":"asiaapu","email":"asiaapu@163.com"}],"_npmUser":{"name":"asiaapu","email":"asiaapu@163.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ui-jsnative_0.0.1_1576637309968_0.6303983726821971"},"_hasShrinkwrap":false}},"time":{"created":"2019-12-18T02:48:29.712Z","0.0.1":"2019-12-18T02:48:30.170Z","modified":"2022-04-04T15:46:08.083Z"},"maintainers":[{"name":"asiaapu","email":"asiaapu@163.com"}],"description":"A rich interaction, lightweight, high performance UI library based on Weex","homepage":"https://github.com/alibaba/weex-ui#readme","keywords":["Light Ui","Light","Vue","Mobile","Ul Components","UI library"],"repository":{"type":"git","url":"git+https://github.com/alibaba/weex-ui.git"},"bugs":{"url":"https://github.com/alibaba/weex-ui/issues"},"license":"MIT","readme":"# lighting ui\n\n> 一个基于 [Weex](https://github.com/apache/incubator-weex) 的富交互、轻量级、高性能、三端统一的 金融 UI 组件库\n\n## 预览\n<img src=\"https://i.loli.net/2018/01/15/5a5c407b7fffe.png\" width=540/>\n\n\n## 安装依赖\n\n当工程需要使用UI控件时，首先需要对 `lib` 目录下的 `package.json` 文件进行设置，引入依赖：\n```\n{\n  \"dependencies\": {\n    \"lighting-ui\": \"*\",\n    \"validator\": \"^6.2.1\"\n  }\n}\n```\n然后在 `lib` 目录下执行 `npm install` 完成安装。\n```\nnpm install\n```\n\n## 使用UI控件\n在需要使用组件的视图中引入UI控件，建议大家使用时按需引入，可以节省打包资源。例如当我需要使用 `button` 按钮，步骤如下：\n\n1. 在 `<script>` 中加入 \n```javascript\nimport LcButton from 'lighting-ui/packages/lc-button'\n```\n2. 对组件进行注册 \n```javascript\ncomponents: { LcButton }\n```\n\n3. 最后在 `template` 内使用 \n```html\n<lc-button text=\"确定\" type=\"normal\"></lc-button>\n```\n\n完整代码为：\n```html\n<template>\n    <div>\n         <lc-button text=\"确定\" type=\"normal\"></lc-button>\n    </div>\n</template>\n<script>\n    import LcButton from 'lighting-ui/packages/lc-button';\n    export default {\n        components: { LcButton },\n        data(){\n            return {};\n        }\n    }\n</script>\n<style scoped>\n</style>\n```\n其他控件使用方法类似，改为相对应的控件名即可。\n\n## UI控件使用API\n更多完整控件参考[UI控件API参考](https://git01.hundsun.com/light/light-book/blob/master/content/fu_yan/UI_kong_jian_API_can_kao.md)\n\n","readmeFilename":"README.md"}