{"_id":"th-pdiot-component-ui","_rev":"80-0cdf6198203bb0776acb46ae72d96ac7","time":{"1.0.10":"2021-04-02T12:19:46.644Z","1.0.11":"2021-04-02T12:19:46.644Z","1.0.12":"2021-04-02T12:19:46.644Z","1.0.13":"2021-04-02T12:19:46.644Z","1.0.14":"2021-04-02T12:19:46.644Z","1.0.15":"2021-04-02T12:19:46.644Z","1.0.16":"2021-04-02T12:19:46.644Z","1.0.17":"2021-04-02T12:19:46.644Z","1.0.18":"2021-04-02T12:19:46.644Z","1.0.19":"2021-04-02T12:19:46.644Z","1.0.2":"2021-04-02T12:19:46.644Z","1.0.20":"2021-04-02T12:19:46.644Z","1.0.21":"2021-04-02T12:19:46.644Z","1.0.22":"2021-04-02T12:19:46.644Z","1.0.23":"2021-04-02T12:19:46.644Z","1.0.24":"2021-04-02T12:19:46.644Z","1.0.25":"2021-04-02T12:19:46.644Z","1.0.26":"2021-04-02T12:19:46.644Z","1.0.27":"2021-04-02T12:19:46.644Z","1.0.28":"2021-04-02T12:19:46.644Z","1.0.29":"2021-04-02T12:19:46.644Z","1.0.3":"2021-04-02T12:19:46.644Z","1.0.30":"2021-04-02T12:19:46.644Z","1.0.31":"2021-04-02T12:19:46.644Z","1.0.32":"2021-04-02T12:19:46.644Z","1.0.33":"2021-04-02T12:19:46.644Z","1.0.34":"2021-04-02T12:19:46.644Z","1.0.35":"2021-04-02T12:19:46.644Z","1.0.36":"2021-04-02T12:19:46.644Z","1.0.37":"2021-04-02T12:19:46.644Z","1.0.38":"2021-04-02T12:19:46.644Z","1.0.39":"2021-04-02T12:19:46.644Z","1.0.4":"2021-04-02T12:19:46.644Z","1.0.40":"2021-04-02T12:19:46.644Z","1.0.41":"2021-04-02T12:19:46.644Z","1.0.42":"2021-04-02T12:19:46.644Z","1.0.43":"2021-04-02T12:19:46.644Z","1.0.44":"2021-04-02T12:19:46.644Z","1.0.45":"2021-04-02T12:19:46.644Z","1.0.46":"2021-04-02T12:19:46.644Z","1.0.47":"2021-04-02T12:19:46.644Z","1.0.48":"2021-04-02T12:19:46.644Z","1.0.49":"2021-04-02T12:19:46.644Z","1.0.5":"2021-04-02T12:19:46.644Z","1.0.50":"2021-04-02T12:19:46.644Z","1.0.51":"2021-04-02T12:19:46.644Z","1.0.52":"2021-04-02T12:19:46.644Z","1.0.53":"2021-04-02T12:19:46.644Z","1.0.54":"2021-04-02T12:19:46.644Z","1.0.55":"2021-04-02T12:19:46.644Z","1.0.56":"2021-04-02T12:19:46.644Z","1.0.57":"2021-04-02T12:19:46.644Z","1.0.58":"2021-04-02T12:19:46.644Z","1.0.6":"2021-04-02T12:19:46.644Z","1.0.7":"2021-04-02T12:19:46.644Z","1.0.8":"2021-04-02T12:19:46.644Z","1.0.9":"2021-04-02T12:19:46.644Z","1.1.1":"2021-04-02T12:19:46.644Z","1.1.10":"2021-04-02T12:19:46.644Z","1.1.11":"2021-04-02T12:19:46.644Z","1.1.12":"2021-04-02T12:19:46.644Z","1.1.13":"2021-04-02T12:19:46.644Z","1.1.14":"2021-04-02T12:19:46.644Z","1.1.15":"2021-04-02T12:19:46.644Z","1.1.16":"2021-04-02T12:19:46.644Z","1.1.18":"2021-04-02T12:19:46.644Z","1.1.2":"2021-04-02T12:19:46.644Z","1.1.3":"2021-04-02T12:19:46.644Z","1.1.4":"2021-04-02T12:19:46.644Z","1.1.5":"2021-04-02T12:19:46.644Z","1.1.6":"2021-04-02T12:19:46.644Z","1.1.7":"2021-04-02T12:19:46.644Z","1.1.8":"2021-04-02T12:19:46.644Z","1.1.9":"2021-04-02T12:19:46.644Z","created":"2021-04-21T09:09:42.458Z","1.1.19":"2021-04-21T09:09:44.815Z","modified":"2022-05-21T17:05:10.417Z"},"name":"th-pdiot-component-ui","dist-tags":{"latest":"1.1.19"},"versions":{"1.1.19":{"name":"th-pdiot-component-ui","version":"1.1.19","description":"th-pdiot-component-ui","main":"lib/th-pdiot-component-ui.umd.min.js","private":false,"keywords":["vue","element-ui","th-component","th-pdiot"],"author":{"name":"ywzhou"},"license":"MIT","scripts":{"pre":"npm install --registry https://registry.npm.taobao.org","dev":"vue-cli-service serve","build":"vue-cli-service build --target lib --name th-pdiot-component-ui --dest lib src/index.js","build:theme":"gulp build --gulpfile src/assets/theme/gulpfile.js && cp-cli src/assets/theme/lib lib/theme","deploy":"npm run build && npm run build:theme && npm publish","publish:local":"npm publish --registry=http://192.168.14.114:8081/repository/npm-host-repo/","build:demo":"vue-cli-service build","deploy:demo":"npm run build:demo && node upload.js","lint":"vue-cli-service lint"},"dependencies":{"babel-polyfill":"^6.26.0","classlist-polyfill":"^1.2.0","clipboard":"^2.0.4","core-js":"^3.6.4","crypto-js":"^3.1.9-1","echarts":"^4.4.0","echarts-gl":"^1.1.1","echarts-liquidfill":"^2.0.6","element-ui":"^2.13.0","lodash":"^4.17.15","mockjs":"^1.1.0","moment":"^2.24.0","nprogress":"^0.2.0","pinyin":"^2.9.0","sockjs-client":"^1.0.0","stomp-websocket":"^2.3.4-next","v-viewer":"^1.5.1","vue-count-to":"^1.0.13","vue-echarts":"^4.0.4","vuedraggable":"^2.23.0","xlsx":"^0.15.5"},"devDependencies":{"@vue/cli-plugin-babel":"^4.4.4","@vue/cli-plugin-eslint":"^4.4.4","@vue/cli-service":"^4.4.4","@vue/eslint-config-standard":"^5.1.2","babel-eslint":"^10.1.0","babel-plugin-transform-object-rest-spread":"^6.26.0","cp-cli":"^1.0.2","easy-ftp":"^0.4.1","eslint":"^7.3.0","eslint-plugin-vue":"^6.2.2","gulp":"^4.0.2","gulp-autoprefixer":"^6.0.0","gulp-cssmin":"^0.2.0","gulp-sass":"^4.0.2","node-sass":"^4.14.1","normalize.css":"^8.0.1","path":"^0.12.7","sass-loader":"^8.0.2","script-loader":"^0.7.2","svg-sprite-loader":"^5.0.0","vue":"^2.6.10","vue-router":"^3.0.2","vue-template-compiler":"^2.6.10"},"engines":{"node":">= 8.0.0","npm":">= 5.0.0"},"browserslist":["> 1%","last 2 versions","not ie <= 8"],"gitHead":"a9d00fde9756d41282bd5a265a3c5cfa936d78f6","_id":"th-pdiot-component-ui@1.1.19","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-rAFmTZGuOgEwhoZVTfn2IUbGrhdSrgmZQk8PD3Ec462vXUs4S2IRlt0sv5L6ZNfIpglCLp0DW65UpxamcnSOUw==","shasum":"c360790eb6989a5330cb1dfc7cf8c1a4b38a602b","tarball":"https://registry.npmjs.org/th-pdiot-component-ui/-/th-pdiot-component-ui-1.1.19.tgz","fileCount":217,"unpackedSize":37642252,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgf+vZCRA9TVsSAnZWagAA6RgP/iapJFSyVB6QZ2JP6x6X\nidgsB5VO2zqdos9W5Qu3VEuq9eNgRsSsPBcD8hUXEAMrLWWIcH5n4FMhnkNJ\npkKy4lfHCe8PbZuCfUQkIQNiIKjERjxEzWF63m14fI4yJrRtfOwi9A8RdPm8\nBH0NGL6zzWZKGjzZ3UuqEdyK8x5HIwQdJTlgOFRgZUD4UFBI9kLDxBMdKmh0\nGqpzM/qspeVEx3Ie0IOf4b0xoj0UqfczBVjLDlt69uOA+2gbQaW90PpyaLNA\nPqaGuhjli8I19/lZwti+NcH0OS8QTzSW7yh8F/idPrKQOx5v/5/mRsDvKM0U\nwN0yP9rZNeYSkBscvG/2qs1N7vPjAZEi4LRFOUIOI8YyLNxz9SnZ984HmSWZ\nyCTLylE1R4GTsookl5P51N+H3o8AOhMcYq3AWjDv8ML01xy/tqJpKCEBwD/A\n+DJNJTMVlJ6/eX+KuzbsUQ8c71j8nFoPwbS7Hck7j011ytn1/7t3MtJZ3NDx\ns9ctX04gqabO4/7EiGwNArX/sn0zILiqGlXPsJ4soNM+UaayIEajNgUqORuC\nQzaVfSVteyjm8ZzTJ7sfMWLfWt2C8uF8Ttw236GNitl65RLHeoICwBTYRNwI\nVkgF5+yl+t8+chu/yMC2uXZO/l0DdYJtn+ZrzS/9LlXS+CF7ZDCQbB59L7oT\neADZ\r\n=WYF+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBRYllTf5rlK0r3vVHH5XdwzScYauDa259whiTORZfMqAiEA5UKennd8XoTfjZmiDI9XdB/vWrELtSB0sCeBBrSwIa8="}]},"_npmUser":{"name":"ywzhou","email":"8134599@qq.com"},"directories":{},"maintainers":[{"name":"ywzhou","email":"8134599@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/th-pdiot-component-ui_1.1.19_1618996182459_0.02116211029478876"},"_hasShrinkwrap":false}},"maintainers":[{"name":"ywzhou","email":"8134599@qq.com"}],"description":"th-pdiot-component-ui","keywords":["vue","element-ui","th-component","th-pdiot"],"author":{"name":"ywzhou"},"license":"MIT","readme":"# 基于element-ui封装的公共组件库\n\n[文档](http://192.168.14.185:8000)\n[DEMO](http://192.168.14.185:8001)\n\n- 包含element-ui所有原组件、封装的基础组件、功能性组件、工具类、主题样式类等\n\n- 项目引用\n\n> npm i th-pdiot-component-ui -S\n\n```\n  /**\n  * 导入 th-pdiot-component-ui\n  */\n  import ElementUI from 'th-pdiot-component-ui'\n  import 'th-pdiot-component-ui/lib/theme/index.css'\n  import 'th-pdiot-component-ui/lib/th-pdiot-component-ui.css'\n\n  Vue.use(ElementUI, {\n    size: 'mini',\n    menuType: 'text'\n  })\n```\n\n# 一、指令说明\n\n``` bash\n# 安装依赖\nnpm install\n\n# 启动DEMO开发模式\nnpm run dev\n\n# 打包DEMO\nnpm run build:demo\n\n# 发布DEMO\nnpm run deploy:demo\n\n# 启动文档服务\nnpm run dev:docs\n\n# 打包文档服务\nnpm run build:docs\n\n# 发布文档服务\nnpm run deploy:docs\n\n# 打包组件\nnpm run build\n\n# 打包样式\nnpm run build:theme\n\n# 发布（npm adduser && npm login）\nnpm run deploy\n\n```\n\n# 二、基础组件\n\n- 表格:      `<th-table></th-table>` \n- 分页:      `<th-pagination></th-pagination>`\n- 表单:      `<th-form></th-form>` \n- 表单标题:   `<th-form-title></th-form-title>` \n- 搜索套件:   `<th-search></th-search>`\n- 标签页:     `<th-tabs></th-tabs>`\n- 下拉选择:   `<th-select></th-select>`\n- 下拉菜单:   `<th-dropdown></th-dropdown>`\n- 导出表格:   `<th-export-excel></th-export-excel>`\n- 导入表格:   `<th-import-excel></th-import-excel>`\n- 文件上传:   `<th-file-upload></th-file-upload>`\n- 图标:       `<th-icon></th-icon>`\n- 链接:       `<th-link></th-link>`\n- 气泡:       `<th-popover></th-popover>`\n- 标签输入框: `<th-textarea-tags></th-textarea-tags>`\n- 时间线:    `<th-timeline></th-timeline>`\n- 图片预览:   `<th-viewer></th-viewer>`\n- 主题切换:   `<th-theme></th-theme>`\n- 403:      `<th-error-403></th-error-403>`\n- 404:      `<th-error-404></th-error-404>`\n- 500:      `<th-error-500></th-error-500>`\n\n\n# 三、业务组件\n\n- 设备选择器: `<th-equiment></th-equiment>`\n- 短信通知查询: `<th-sms></th-sms>`\n- 台区选择器: `<th-tg-select></th-tg-select>`\n- 工单约时: `<th-arrang-time></th-arrang-time>`\n- 工单督办: `<th-supervise></th-supervise>`\n\n# 四、图表组件\n\n- 圆饼分类图: `<th-echarts-pie-category/>`\n- 简化圆饼分类图: `<th-echarts-pie-category2/>`\n- 圆环形进度条: `<th-echarts-ring-progress/>`\n- 多环进度条: `<th-echarts-multi-ring/>`\n- 水球图: `<th-echarts-water-polo/>`\n- 曲线图带渐变区域: `<th-echarts-line-area/>`\n- 曲线图: `<th-echarts-line/>`\n- 曲线柱形双轴图: `<th-echarts-line-bar/>`\n- 柱形分类图: `<th-echarts-bar-category/>`\n- 横向柱形进度条: `<th-echarts-bar-progress/>`\n- 3d地图: `<th-echarts-map3d/>`\n- 2d地图: `<th-echarts-map2d/>`\n\n\n# 五、自动注册属性\n\n## 校验匹配规则\n\n- this.$validate\n\n## Form表单校验规则\n\n- this.$rules\n\n## 日期时间插件\n\n- this.$moment\n\n## 数组类型及长度判断\n\n- this.$length\n\n## 序列化\n\n- this.$util.serialize\n\n## 对象深拷贝\n\n- this.$util.deepClone\n\n## 文件下载\n\n- this.$util.download\n\n## 内容复制\n\n- this.$util.copy\n\n## 本地存储\n\n- this.$localStore\n\n# 六、公共样式、主题样式切换\n\n## 公共样式\n\n- src/assets/index.scss\n\n## 扩展el-icon\n\n- src/assets/font/iconfont.css\n\n## 自定义element-ui主题\n\n- src/assets/theme/src/index.scss\n\n## 主题样式变量\n\n- src/assets/theme/src/common/variable.scss\n\n## 主题定义和切换\n\n- src/mixins/color.js\n\n\n# Bugs\n\n## 谷歌低版本报语法错误\n\n- 即不支持es6语法，需要编译成es5语法的js文件\n\n```js\n// 从npm包导出function时正常\nimport th from 'th-pdiot-component-ui'\nconst {serialize} = th.util\nconst {getStore} = th.localStore\n\n// 直接从npm包里的js文件导出function，报语法错误\nimport {serialize} from 'th-pdiot-component-ui/src/utils/util'\nimport {getStore} from 'th-pdiot-component-ui/src/utils/store'\n```\n\n解决方法：\n\n- 新增`babel.config.js`文件:\n\n```js\n  module.exports = {\n  presets: [\n    '@vue/app'\n  ]\n}\n```\n\n- 将instal方法里的注册对象移到export里。\n\n```js\nexport default {\n  version: config.version,\n  install,\n  ...components,\n  validate,\n  rules,\n  util,\n  localStore,\n  filters\n}\n```","readmeFilename":"README.md"}