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.
- package/.browserslistrc +3 -0
- package/.eslintrc.js +14 -0
- package/.prettierrc.js +16 -0
- package/README.md +20 -0
- package/babel.config.js +3 -0
- package/docs/.vuepress/components/demo-1.vue +14 -0
- package/docs/.vuepress/config.js +24 -0
- package/docs/README.md +37 -0
- package/docs/assets/imgs/tray.png +0 -0
- package/docs/page/README.md +1 -0
- package/docs/page/install.md +10 -0
- package/docs/page/register.md +11 -0
- package/lib/address-book-shell.common.js +5367 -0
- package/lib/address-book-shell.umd.js +5377 -0
- package/lib/address-book-shell.umd.min.js +1 -0
- package/lib/demo.html +8 -0
- package/lib/fonts/element-icons.535877f5.woff +0 -0
- package/lib/fonts/element-icons.732389de.ttf +0 -0
- package/lib/fonts/iconfont.0ebb200a.ttf +0 -0
- package/lib/fonts/iconfont.75f80b2a.woff2 +0 -0
- package/lib/fonts/iconfont.b7064d58.eot +0 -0
- package/lib/fonts/iconfont.f3953641.woff +0 -0
- package/lib/img/iconfont.0956fc20.svg +493 -0
- package/package.json +39 -0
- package/packages/address-book/filters/index.js +17 -0
- package/packages/address-book/index.js +6 -0
- package/packages/address-book/src/components/address-aside.vue +453 -0
- package/packages/address-book/src/components/address-content.vue +1048 -0
- package/packages/address-book/src/components/address-current-list.vue +137 -0
- package/packages/address-book/src/components/address-figure-tree.vue +106 -0
- package/packages/address-book/src/components/address-group-item.vue +145 -0
- package/packages/address-book/src/components/address-group.vue +102 -0
- package/packages/address-book/src/index.vue +639 -0
- package/packages/address-book/src/utils/util.js +109 -0
- package/packages/config.js +6 -0
- package/packages/index.js +31 -0
- package/public/favicon.ico +0 -0
- package/public/index.html +17 -0
- package/src/App.vue +9 -0
- package/src/api/address-list-api.js +89 -0
- package/src/api/cas-api.js +0 -0
- package/src/assets/icon-font/demo.css +539 -0
- package/src/assets/icon-font/demo_index.html +5642 -0
- package/src/assets/icon-font/iconfont.css +966 -0
- package/src/assets/icon-font/iconfont.eot +0 -0
- package/src/assets/icon-font/iconfont.js +1 -0
- package/src/assets/icon-font/iconfont.json +1668 -0
- package/src/assets/icon-font/iconfont.svg +493 -0
- package/src/assets/icon-font/iconfont.ttf +0 -0
- package/src/assets/icon-font/iconfont.woff +0 -0
- package/src/assets/icon-font/iconfont.woff2 +0 -0
- package/src/assets/logo.png +0 -0
- package/src/components/HelloWorld.vue +130 -0
- package/src/main.js +30 -0
- package/src/scss/global.scss +10 -0
- package/src/store/index.js +10 -0
- package/src/store/mutation-types.js +4 -0
- package/src/theme/element-ui-theme/config.json +1 -0
- package/src/theme/element-ui-theme/element-ui-common.scss +1394 -0
- package/src/theme/element-ui-theme/theme/fonts/element-icons.ttf +0 -0
- package/src/theme/element-ui-theme/theme/fonts/element-icons.woff +0 -0
- package/src/theme/element-ui-theme/theme/index.css +1 -0
- package/src/utils/plug_in-config.js +38 -0
- package/src/utils/util.js +20 -0
- package/vue.config.js +39 -0
package/.browserslistrc
ADDED
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
package/babel.config.js
ADDED
|
@@ -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
|