address-book-shell 0.0.1

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.
Files changed (65) hide show
  1. package/.browserslistrc +3 -0
  2. package/.eslintrc.js +14 -0
  3. package/.prettierrc.js +16 -0
  4. package/README.md +20 -0
  5. package/babel.config.js +3 -0
  6. package/docs/.vuepress/components/demo-1.vue +14 -0
  7. package/docs/.vuepress/config.js +24 -0
  8. package/docs/README.md +37 -0
  9. package/docs/assets/imgs/tray.png +0 -0
  10. package/docs/page/README.md +1 -0
  11. package/docs/page/install.md +10 -0
  12. package/docs/page/register.md +11 -0
  13. package/lib/address-book-shell.common.js +5367 -0
  14. package/lib/address-book-shell.umd.js +5377 -0
  15. package/lib/address-book-shell.umd.min.js +1 -0
  16. package/lib/demo.html +8 -0
  17. package/lib/fonts/element-icons.535877f5.woff +0 -0
  18. package/lib/fonts/element-icons.732389de.ttf +0 -0
  19. package/lib/fonts/iconfont.0ebb200a.ttf +0 -0
  20. package/lib/fonts/iconfont.75f80b2a.woff2 +0 -0
  21. package/lib/fonts/iconfont.b7064d58.eot +0 -0
  22. package/lib/fonts/iconfont.f3953641.woff +0 -0
  23. package/lib/img/iconfont.0956fc20.svg +493 -0
  24. package/package.json +39 -0
  25. package/packages/address-book/filters/index.js +17 -0
  26. package/packages/address-book/index.js +6 -0
  27. package/packages/address-book/src/components/address-aside.vue +453 -0
  28. package/packages/address-book/src/components/address-content.vue +1048 -0
  29. package/packages/address-book/src/components/address-current-list.vue +137 -0
  30. package/packages/address-book/src/components/address-figure-tree.vue +106 -0
  31. package/packages/address-book/src/components/address-group-item.vue +145 -0
  32. package/packages/address-book/src/components/address-group.vue +102 -0
  33. package/packages/address-book/src/index.vue +639 -0
  34. package/packages/address-book/src/utils/util.js +109 -0
  35. package/packages/config.js +6 -0
  36. package/packages/index.js +31 -0
  37. package/public/favicon.ico +0 -0
  38. package/public/index.html +17 -0
  39. package/src/App.vue +9 -0
  40. package/src/api/address-list-api.js +89 -0
  41. package/src/api/cas-api.js +0 -0
  42. package/src/assets/icon-font/demo.css +539 -0
  43. package/src/assets/icon-font/demo_index.html +5642 -0
  44. package/src/assets/icon-font/iconfont.css +966 -0
  45. package/src/assets/icon-font/iconfont.eot +0 -0
  46. package/src/assets/icon-font/iconfont.js +1 -0
  47. package/src/assets/icon-font/iconfont.json +1668 -0
  48. package/src/assets/icon-font/iconfont.svg +493 -0
  49. package/src/assets/icon-font/iconfont.ttf +0 -0
  50. package/src/assets/icon-font/iconfont.woff +0 -0
  51. package/src/assets/icon-font/iconfont.woff2 +0 -0
  52. package/src/assets/logo.png +0 -0
  53. package/src/components/HelloWorld.vue +130 -0
  54. package/src/main.js +30 -0
  55. package/src/scss/global.scss +10 -0
  56. package/src/store/index.js +10 -0
  57. package/src/store/mutation-types.js +4 -0
  58. package/src/theme/element-ui-theme/config.json +1 -0
  59. package/src/theme/element-ui-theme/element-ui-common.scss +1394 -0
  60. package/src/theme/element-ui-theme/theme/fonts/element-icons.ttf +0 -0
  61. package/src/theme/element-ui-theme/theme/fonts/element-icons.woff +0 -0
  62. package/src/theme/element-ui-theme/theme/index.css +1 -0
  63. package/src/utils/plug_in-config.js +38 -0
  64. package/src/utils/util.js +20 -0
  65. package/vue.config.js +39 -0
@@ -0,0 +1,3 @@
1
+ > 1%
2
+ last 2 versions
3
+ not dead
package/.eslintrc.js ADDED
@@ -0,0 +1,14 @@
1
+ module.exports = {
2
+ root: true,
3
+ env: {
4
+ node: true,
5
+ },
6
+ extends: ["plugin:vue/essential", "eslint:recommended", "@vue/prettier"],
7
+ parserOptions: {
8
+ parser: "babel-eslint",
9
+ },
10
+ rules: {
11
+ "no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
12
+ "no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
13
+ },
14
+ };
package/.prettierrc.js ADDED
@@ -0,0 +1,16 @@
1
+ module.exports = {
2
+ tabWidth: 2,
3
+ singleQuote: true,
4
+ trailingComma: 'es5',
5
+ printWidth: 100,
6
+ semi: false,
7
+ endOfLine: "auto",
8
+ // vue缩进脚本和样式
9
+ vueIndentScriptAndStyle: false,
10
+ // 标签放在最后一行的末尾,而不是单独放在下一行 默认false
11
+ jsxBracketSameLine: false,
12
+ overrides: [{
13
+ files: '.prettierrc',
14
+ options: { parser: 'json' },
15
+ }, ],
16
+ }
package/README.md ADDED
@@ -0,0 +1,20 @@
1
+ # address-book-shell
2
+
3
+ ### 项目启动
4
+
5
+ npm run dev
6
+
7
+ ### 打包
8
+ 先增加版本号
9
+ 再打包 npm run lib
10
+
11
+ ### 切换npm官方原
12
+ nrm use npm
13
+
14
+ ### 登录npm
15
+
16
+ npm login
17
+
18
+ ### 发布到npm
19
+
20
+ npm publish
@@ -0,0 +1,3 @@
1
+ module.exports = {
2
+ presets: ["@vue/cli-plugin-babel/preset"],
3
+ };
@@ -0,0 +1,14 @@
1
+ <template>
2
+ <span>按钮</span>
3
+ </template>
4
+
5
+ <script>
6
+
7
+ export default {
8
+
9
+ }
10
+ </script>
11
+
12
+ <style>
13
+
14
+ </style>
@@ -0,0 +1,24 @@
1
+ module.exports = {
2
+ base:'/vuepress/dist/',
3
+ title:'地址本',
4
+ description:'地址本',
5
+ head: [
6
+ ['link', { rel: 'icon', href: `../assets/imgs/tray.png` }]
7
+ ],
8
+ markdown: {
9
+ lineNumbers: true // 代码块显示行号
10
+ },
11
+ themeConfig: {
12
+ // nav: [ // 导航栏配置
13
+ // { text: '前端基础', link: '/accumulate/' },
14
+ // { text: '算法题库', link: '/algorithm/' },
15
+ // { text: '微博', link: 'https://baidu.com' }
16
+ // ],
17
+ // sidebar: false,
18
+ sidebar: [
19
+ ['/page/install', '安装'],
20
+ ['/page/register', '注册'],
21
+ ]
22
+ }
23
+ }
24
+
package/docs/README.md ADDED
@@ -0,0 +1,37 @@
1
+ # 地址本使用文档
2
+
3
+ ## 介绍
4
+
5
+
6
+
7
+ <template>
8
+ <a class='start' href='/page/install'> 起步 →</a>
9
+ </template>
10
+
11
+
12
+
13
+ ::: warning Vue.js 版本
14
+ 目前仅支持Vue2开发的项目
15
+ :::
16
+
17
+ <style>
18
+ .start {
19
+ display:block;
20
+ width:110px;
21
+ height:60px;
22
+ line-height:60px;
23
+ color:#fff;
24
+ font-size:22px;
25
+ background:#F44336;
26
+ border-radius:4px;
27
+ margin:auto;
28
+ text-decoration: none;
29
+ text-align:center;
30
+ }
31
+ .start:hover {
32
+ text-decoration:none;
33
+ }
34
+ </style>
35
+ <script>
36
+
37
+ </script>
Binary file
@@ -0,0 +1 @@
1
+ # home
@@ -0,0 +1,10 @@
1
+ ### 安装
2
+ ::: tip npm安装
3
+ npm i address-book-shell-S
4
+ :::
5
+
6
+
7
+
8
+ ::: tip yarn安装
9
+ yarn add address-book-shell
10
+ :::
@@ -0,0 +1,11 @@
1
+ ### 注册
2
+ 本地项目main.js
3
+ ``` js{4}
4
+ export default {
5
+ data () {
6
+ return {
7
+ msg: 'Highlighted!'
8
+ }
9
+ }
10
+ }
11
+ ```