@abi-software/flatmapvuer 0.3.7 → 0.3.9
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/LICENSE +201 -201
- package/README.md +105 -105
- package/babel.config.js +14 -14
- package/dist/flatmapvuer.common.js +1418 -1004
- package/dist/flatmapvuer.common.js.map +1 -1
- package/dist/flatmapvuer.css +1 -1
- package/dist/flatmapvuer.umd.js +1418 -1004
- package/dist/flatmapvuer.umd.js.map +1 -1
- package/dist/flatmapvuer.umd.min.js +1 -1
- package/dist/flatmapvuer.umd.min.js.map +1 -1
- package/package-lock.json +14210 -13923
- package/package.json +71 -67
- package/public/index.html +17 -17
- package/src/App.vue +164 -161
- package/src/assets/_variables.scss +43 -43
- package/src/assets/styles.scss +7 -7
- package/src/components/EventBus.js +2 -2
- package/src/components/FlatmapVuer.vue +1413 -1374
- package/src/components/MultiFlatmapVuer.vue +361 -351
- package/src/components/PubmedViewer.vue +198 -198
- package/src/components/Tooltip.vue +591 -591
- package/src/components/index.js +9 -9
- package/src/components/legends/Legends.vue +66 -66
- package/src/icons/fonts/mapicon-species.eot +0 -0
- package/src/icons/fonts/mapicon-species.svg +14 -14
- package/src/icons/fonts/mapicon-species.ttf +0 -0
- package/src/icons/fonts/mapicon-species.woff +0 -0
- package/src/icons/mapicon-species-style.css +42 -42
- package/src/legends/legend.svg +26 -0
- package/src/main.js +8 -8
- package/vue.config.js +31 -31
- package/src/nerve-map.js +0 -99
package/package.json
CHANGED
|
@@ -1,67 +1,71 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@abi-software/flatmapvuer",
|
|
3
|
-
"version": "0.3.
|
|
4
|
-
"main": "./dist/flatmapvuer.common.js",
|
|
5
|
-
"files": [
|
|
6
|
-
"dist/*",
|
|
7
|
-
"src/*",
|
|
8
|
-
"public/*",
|
|
9
|
-
"*.json",
|
|
10
|
-
"*.js"
|
|
11
|
-
],
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"eslint
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
"
|
|
50
|
-
|
|
51
|
-
"
|
|
52
|
-
|
|
53
|
-
"
|
|
54
|
-
|
|
55
|
-
"
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@abi-software/flatmapvuer",
|
|
3
|
+
"version": "0.3.9",
|
|
4
|
+
"main": "./dist/flatmapvuer.common.js",
|
|
5
|
+
"files": [
|
|
6
|
+
"dist/*",
|
|
7
|
+
"src/*",
|
|
8
|
+
"public/*",
|
|
9
|
+
"*.json",
|
|
10
|
+
"*.js"
|
|
11
|
+
],
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "https://github.com/ABI-Software/flatmapvuer.git"
|
|
15
|
+
},
|
|
16
|
+
"scripts": {
|
|
17
|
+
"start": "vue-cli-service serve",
|
|
18
|
+
"serve": "vue-cli-service serve --port 8082",
|
|
19
|
+
"build": "vue-cli-service build --dest test_html --mode staging",
|
|
20
|
+
"build-bundle": "vue-cli-service build --target lib --name flatmapvuer ./src/components/index.js",
|
|
21
|
+
"lint": "vue-cli-service lint"
|
|
22
|
+
},
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"@abi-software/flatmap-viewer": "^2.2.7",
|
|
25
|
+
"@abi-software/svg-sprite": "^0.1.14",
|
|
26
|
+
"core-js": "^3.3.2",
|
|
27
|
+
"css-element-queries": "^1.2.2",
|
|
28
|
+
"current-script-polyfill": "^1.0.0",
|
|
29
|
+
"element-ui": "^2.13.0",
|
|
30
|
+
"file-loader": "^5.0.2",
|
|
31
|
+
"lodash": "^4.17.21",
|
|
32
|
+
"vue": "^2.6.10"
|
|
33
|
+
},
|
|
34
|
+
"devDependencies": {
|
|
35
|
+
"@vue/cli-plugin-babel": "^4.0.0",
|
|
36
|
+
"@vue/cli-plugin-eslint": "^4.0.0",
|
|
37
|
+
"@vue/cli-service": "^4.5.13",
|
|
38
|
+
"babel-eslint": "^10.0.3",
|
|
39
|
+
"babel-plugin-component": "^1.1.1",
|
|
40
|
+
"base64-inline-loader": "^2.0.1",
|
|
41
|
+
"eslint": "^5.16.0",
|
|
42
|
+
"eslint-plugin-vue": "^5.0.0",
|
|
43
|
+
"node-sass": "^4.14.1",
|
|
44
|
+
"sass-loader": "^8.0.2",
|
|
45
|
+
"vue-template-compiler": "^2.6.10",
|
|
46
|
+
"webpack-node-externals": "^2.5.2"
|
|
47
|
+
},
|
|
48
|
+
"eslintConfig": {
|
|
49
|
+
"root": true,
|
|
50
|
+
"env": {
|
|
51
|
+
"node": true
|
|
52
|
+
},
|
|
53
|
+
"extends": [
|
|
54
|
+
"plugin:vue/essential",
|
|
55
|
+
"eslint:recommended"
|
|
56
|
+
],
|
|
57
|
+
"rules": {},
|
|
58
|
+
"parserOptions": {
|
|
59
|
+
"parser": "babel-eslint"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"postcss": {
|
|
63
|
+
"plugins": {
|
|
64
|
+
"autoprefixer": {}
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"browserslist": [
|
|
68
|
+
"> 1%",
|
|
69
|
+
"last 2 versions"
|
|
70
|
+
]
|
|
71
|
+
}
|
package/public/index.html
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8">
|
|
5
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
-
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
|
7
|
-
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
|
8
|
-
<title>flatmapvuer</title>
|
|
9
|
-
</head>
|
|
10
|
-
<body>
|
|
11
|
-
<noscript>
|
|
12
|
-
<strong>We're sorry but scaffoldvuer doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
|
|
13
|
-
</noscript>
|
|
14
|
-
<div id="app"></div>
|
|
15
|
-
<!-- built files will be auto injected -->
|
|
16
|
-
</body>
|
|
17
|
-
</html>
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
+
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
|
7
|
+
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
|
8
|
+
<title>flatmapvuer</title>
|
|
9
|
+
</head>
|
|
10
|
+
<body>
|
|
11
|
+
<noscript>
|
|
12
|
+
<strong>We're sorry but scaffoldvuer doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
|
|
13
|
+
</noscript>
|
|
14
|
+
<div id="app"></div>
|
|
15
|
+
<!-- built files will be auto injected -->
|
|
16
|
+
</body>
|
|
17
|
+
</html>
|
package/src/App.vue
CHANGED
|
@@ -1,161 +1,164 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div id="app">
|
|
3
|
-
<el-popover
|
|
4
|
-
placement="bottom"
|
|
5
|
-
trigger="click"
|
|
6
|
-
width=500
|
|
7
|
-
class="popover"
|
|
8
|
-
:appendToBody=false
|
|
9
|
-
>
|
|
10
|
-
<div class="options-container">
|
|
11
|
-
<el-row :gutter="20">
|
|
12
|
-
<el-button @click="helpMode = !helpMode" size="mini">Help Mode</el-button>
|
|
13
|
-
<el-button @click="saveSettings()" size="mini">Save Settings</el-button>
|
|
14
|
-
<el-button @click="restoreSettings()" size="mini">Restore Settings</el-button>
|
|
15
|
-
</el-row>
|
|
16
|
-
</div>
|
|
17
|
-
<el-button class="options-button" icon="el-icon-setting" slot="reference">Options</el-button>
|
|
18
|
-
</el-popover>
|
|
19
|
-
|
|
20
|
-
<MultiFlatmapVuer ref="multi" :availableSpecies="availableSpecies"
|
|
21
|
-
@resource-selected="FlatmapSelected" :minZoom="minZoom"
|
|
22
|
-
@pan-zoom-callback="panZoomcallback"
|
|
23
|
-
@ready="FlatmapReady" :featureInfo="featureInfo" :searchable="searchable"
|
|
24
|
-
:initial="initial" :pathControls="pathControls" :helpMode="helpMode"
|
|
25
|
-
:displayMinimap=true :flatmapAPI="flatmapAPI"/>
|
|
26
|
-
</div>
|
|
27
|
-
</template>
|
|
28
|
-
|
|
29
|
-
<script>
|
|
30
|
-
/* eslint-disable no-alert, no-console */
|
|
31
|
-
import Vue from "vue";
|
|
32
|
-
import MultiFlatmapVuer from './components/MultiFlatmapVuer.vue'
|
|
33
|
-
import {
|
|
34
|
-
Button,
|
|
35
|
-
Col,
|
|
36
|
-
Popover,
|
|
37
|
-
Row,
|
|
38
|
-
} from 'element-ui';
|
|
39
|
-
import "./icons/mapicon-species-style.css";
|
|
40
|
-
Vue.use(Button);
|
|
41
|
-
Vue.use(Col);
|
|
42
|
-
Vue.use(Popover);
|
|
43
|
-
Vue.use(Row);
|
|
44
|
-
|
|
45
|
-
export default {
|
|
46
|
-
name: 'app',
|
|
47
|
-
methods: {
|
|
48
|
-
saveSettings: function() {
|
|
49
|
-
this._mapSettings.push(this.$refs.multi.getState());
|
|
50
|
-
},
|
|
51
|
-
restoreSettings: function() {
|
|
52
|
-
if (this._mapSettings.length > 0)
|
|
53
|
-
this.$refs.multi.setState(this._mapSettings.pop());
|
|
54
|
-
},
|
|
55
|
-
FlatmapSelected: function(resource) {
|
|
56
|
-
if (resource.eventType === "click")
|
|
57
|
-
console.log('resource', resource);
|
|
58
|
-
},
|
|
59
|
-
FlatmapReady: function(component) {
|
|
60
|
-
let taxon = component.mapImp.describes;
|
|
61
|
-
let id = component.mapImp.addMarker("UBERON:0000948", "simulation");
|
|
62
|
-
component.enablePanZoomEvents(true);
|
|
63
|
-
component.showPathwaysDrawer(false);
|
|
64
|
-
console.log(taxon, id);
|
|
65
|
-
component.searchAndShowResult("heart");
|
|
66
|
-
},
|
|
67
|
-
panZoomcallback: function(payload) {
|
|
68
|
-
this.payload = payload
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
data: function(){
|
|
72
|
-
return {
|
|
73
|
-
featureInfo: true,
|
|
74
|
-
searchable: true,
|
|
75
|
-
pathControls: true,
|
|
76
|
-
minZoom: 4,
|
|
77
|
-
availableSpecies : {
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
//
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
},
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
@import "~element-ui/packages/theme-chalk/src/
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div id="app">
|
|
3
|
+
<el-popover
|
|
4
|
+
placement="bottom"
|
|
5
|
+
trigger="click"
|
|
6
|
+
width=500
|
|
7
|
+
class="popover"
|
|
8
|
+
:appendToBody=false
|
|
9
|
+
>
|
|
10
|
+
<div class="options-container">
|
|
11
|
+
<el-row :gutter="20">
|
|
12
|
+
<el-button @click="helpMode = !helpMode" size="mini">Help Mode</el-button>
|
|
13
|
+
<el-button @click="saveSettings()" size="mini">Save Settings</el-button>
|
|
14
|
+
<el-button @click="restoreSettings()" size="mini">Restore Settings</el-button>
|
|
15
|
+
</el-row>
|
|
16
|
+
</div>
|
|
17
|
+
<el-button class="options-button" icon="el-icon-setting" slot="reference">Options</el-button>
|
|
18
|
+
</el-popover>
|
|
19
|
+
|
|
20
|
+
<MultiFlatmapVuer ref="multi" :availableSpecies="availableSpecies"
|
|
21
|
+
@resource-selected="FlatmapSelected" :minZoom="minZoom"
|
|
22
|
+
@pan-zoom-callback="panZoomcallback"
|
|
23
|
+
@ready="FlatmapReady" :featureInfo="featureInfo" :searchable="searchable"
|
|
24
|
+
:initial="initial" :pathControls="pathControls" :helpMode="helpMode"
|
|
25
|
+
:displayMinimap=true :flatmapAPI="flatmapAPI"/>
|
|
26
|
+
</div>
|
|
27
|
+
</template>
|
|
28
|
+
|
|
29
|
+
<script>
|
|
30
|
+
/* eslint-disable no-alert, no-console */
|
|
31
|
+
import Vue from "vue";
|
|
32
|
+
import MultiFlatmapVuer from './components/MultiFlatmapVuer.vue'
|
|
33
|
+
import {
|
|
34
|
+
Button,
|
|
35
|
+
Col,
|
|
36
|
+
Popover,
|
|
37
|
+
Row,
|
|
38
|
+
} from 'element-ui';
|
|
39
|
+
import "./icons/mapicon-species-style.css";
|
|
40
|
+
Vue.use(Button);
|
|
41
|
+
Vue.use(Col);
|
|
42
|
+
Vue.use(Popover);
|
|
43
|
+
Vue.use(Row);
|
|
44
|
+
|
|
45
|
+
export default {
|
|
46
|
+
name: 'app',
|
|
47
|
+
methods: {
|
|
48
|
+
saveSettings: function() {
|
|
49
|
+
this._mapSettings.push(this.$refs.multi.getState());
|
|
50
|
+
},
|
|
51
|
+
restoreSettings: function() {
|
|
52
|
+
if (this._mapSettings.length > 0)
|
|
53
|
+
this.$refs.multi.setState(this._mapSettings.pop());
|
|
54
|
+
},
|
|
55
|
+
FlatmapSelected: function(resource) {
|
|
56
|
+
if (resource.eventType === "click")
|
|
57
|
+
console.log('resource', resource);
|
|
58
|
+
},
|
|
59
|
+
FlatmapReady: function(component) {
|
|
60
|
+
let taxon = component.mapImp.describes;
|
|
61
|
+
let id = component.mapImp.addMarker("UBERON:0000948", "simulation");
|
|
62
|
+
component.enablePanZoomEvents(true);
|
|
63
|
+
component.showPathwaysDrawer(false);
|
|
64
|
+
console.log(taxon, id);
|
|
65
|
+
component.searchAndShowResult("heart");
|
|
66
|
+
},
|
|
67
|
+
panZoomcallback: function(payload) {
|
|
68
|
+
this.payload = payload
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
data: function(){
|
|
72
|
+
return {
|
|
73
|
+
featureInfo: true,
|
|
74
|
+
searchable: true,
|
|
75
|
+
pathControls: true,
|
|
76
|
+
minZoom: 4,
|
|
77
|
+
availableSpecies : {
|
|
78
|
+
"Human Female":{taxo: "NCBITaxon:9606", biologicalSex: "PATO:0000383", iconClass:"mapicon-icon_human", displayWarning:true},
|
|
79
|
+
"Human Male":{taxo: "NCBITaxon:9606", biologicalSex: "PATO:0000384", iconClass:"mapicon-icon_human", displayWarning:true},
|
|
80
|
+
"Rat":{taxo: "NCBITaxon:10114", iconClass:"mapicon-icon_rat", displayWarning:false, displayLatestChanges:true},
|
|
81
|
+
"Mouse":{taxo: "NCBITaxon:10090", iconClass:"mapicon-icon_mouse", displayWarning:true},
|
|
82
|
+
"Kember":{taxo: "ABI:1000001", displayWarning:true},
|
|
83
|
+
"Pig":{taxo: "NCBITaxon:9823", iconClass:"mapicon-icon_pig", displayWarning:true},
|
|
84
|
+
"Cat":{taxo: "NCBITaxon:9685", iconClass:"mapicon-icon_cat", displayWarning:true},
|
|
85
|
+
"Functional Connectivity": {id: "fc-cardio", displayWarning:true},
|
|
86
|
+
"digestive tract":{taxo: "digestive tract", displayWarning:true}
|
|
87
|
+
},
|
|
88
|
+
tooltipContent: undefined,
|
|
89
|
+
tStyle: {
|
|
90
|
+
top: "200px",
|
|
91
|
+
left: "200px",
|
|
92
|
+
position: "absolute"
|
|
93
|
+
},
|
|
94
|
+
displayCloseButton: false,
|
|
95
|
+
initial: "Rat",
|
|
96
|
+
helpMode: false,
|
|
97
|
+
//flatmapAPI: "https://mapcore-demo.org/current/flatmap/v2/"
|
|
98
|
+
//flatmapAPI: "https://mapcore-demo.org/devel/flatmap/v3/"
|
|
99
|
+
flatmapAPI: "https://mapcore-demo.org/fccb/flatmap/"
|
|
100
|
+
// flatmapAPI: "https://mapcore-demo.org/devel/flatmap/v1/"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
mounted: function() {
|
|
104
|
+
this._mapSettings = [];
|
|
105
|
+
},
|
|
106
|
+
components: {
|
|
107
|
+
MultiFlatmapVuer,
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
</script>
|
|
111
|
+
|
|
112
|
+
<style lang="scss">
|
|
113
|
+
@import "~element-ui/packages/theme-chalk/src/button";
|
|
114
|
+
@import "~element-ui/packages/theme-chalk/src/col";
|
|
115
|
+
@import "~element-ui/packages/theme-chalk/src/popover";
|
|
116
|
+
@import "~element-ui/packages/theme-chalk/src/row";
|
|
117
|
+
|
|
118
|
+
#app {
|
|
119
|
+
font-family: 'Asap', 'Avenir', Helvetica, Arial, sans-serif;
|
|
120
|
+
-webkit-font-smoothing: antialiased;
|
|
121
|
+
-moz-osx-font-smoothing: grayscale;
|
|
122
|
+
text-align: center;
|
|
123
|
+
color: #2c3e50;
|
|
124
|
+
height:100%;
|
|
125
|
+
width: 100%;
|
|
126
|
+
position:absolute;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.mapboxgl-ctrl-top-left .mapboxgl-ctrl {
|
|
130
|
+
margin-top:120px;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
body {
|
|
134
|
+
margin: 0px;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.mapboxgl-ctrl-top-left .mapboxgl-ctrl {
|
|
138
|
+
margin-top:120px;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.popover{
|
|
142
|
+
top:5px;
|
|
143
|
+
right:calc( 50% - 20px);
|
|
144
|
+
position:absolute;
|
|
145
|
+
z-index:1000;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.el-row {
|
|
149
|
+
margin-bottom: 5px;
|
|
150
|
+
&:last-child {
|
|
151
|
+
margin-bottom: 0;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.options-container{
|
|
156
|
+
|
|
157
|
+
text-align: center;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.el-tabs__content {
|
|
161
|
+
height:100%;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
</style>
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
// Primary colors
|
|
2
|
-
$purple: #8300BF;
|
|
3
|
-
$darkBlue: #24245B;
|
|
4
|
-
$grey: #303133;
|
|
5
|
-
|
|
6
|
-
// Secondary colors
|
|
7
|
-
$lightPurple: #BC00FC;
|
|
8
|
-
$blue: #0026FF;
|
|
9
|
-
|
|
10
|
-
// Status colors
|
|
11
|
-
$success: #5e9f69;
|
|
12
|
-
$warning: #FF8400;
|
|
13
|
-
$danger: #b51d09;
|
|
14
|
-
|
|
15
|
-
// Text colors
|
|
16
|
-
$neutralGrey: #616161;
|
|
17
|
-
$mediumGrey: #606266;
|
|
18
|
-
$lightGrey: #909399;
|
|
19
|
-
|
|
20
|
-
// Line colors
|
|
21
|
-
$lineColor1: #DCDFE6;
|
|
22
|
-
$lineColor2: #E4E7ED;
|
|
23
|
-
|
|
24
|
-
// Background colors
|
|
25
|
-
$background: #F5F7FA;
|
|
26
|
-
$cochlear: #FFFFFF;
|
|
27
|
-
|
|
28
|
-
//Search box colors
|
|
29
|
-
$darkGrey: #606266;
|
|
30
|
-
|
|
31
|
-
$app-primary-color: $purple !default;
|
|
32
|
-
$app-secondary-color: $darkBlue !default;
|
|
33
|
-
$text-color: $grey !default;
|
|
34
|
-
$input-text: $grey !default;
|
|
35
|
-
|
|
36
|
-
$system-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
|
|
37
|
-
$font-family: 'Asap', sans-serif;
|
|
38
|
-
|
|
39
|
-
// Viewport Sizes
|
|
40
|
-
$viewport-sm: 20rem;
|
|
41
|
-
$viewport-md: 47rem;
|
|
42
|
-
$viewport-lg: 64rem;
|
|
43
|
-
$viewport-xlg: 120rem;
|
|
1
|
+
// Primary colors
|
|
2
|
+
$purple: #8300BF;
|
|
3
|
+
$darkBlue: #24245B;
|
|
4
|
+
$grey: #303133;
|
|
5
|
+
|
|
6
|
+
// Secondary colors
|
|
7
|
+
$lightPurple: #BC00FC;
|
|
8
|
+
$blue: #0026FF;
|
|
9
|
+
|
|
10
|
+
// Status colors
|
|
11
|
+
$success: #5e9f69;
|
|
12
|
+
$warning: #FF8400;
|
|
13
|
+
$danger: #b51d09;
|
|
14
|
+
|
|
15
|
+
// Text colors
|
|
16
|
+
$neutralGrey: #616161;
|
|
17
|
+
$mediumGrey: #606266;
|
|
18
|
+
$lightGrey: #909399;
|
|
19
|
+
|
|
20
|
+
// Line colors
|
|
21
|
+
$lineColor1: #DCDFE6;
|
|
22
|
+
$lineColor2: #E4E7ED;
|
|
23
|
+
|
|
24
|
+
// Background colors
|
|
25
|
+
$background: #F5F7FA;
|
|
26
|
+
$cochlear: #FFFFFF;
|
|
27
|
+
|
|
28
|
+
//Search box colors
|
|
29
|
+
$darkGrey: #606266;
|
|
30
|
+
|
|
31
|
+
$app-primary-color: $purple !default;
|
|
32
|
+
$app-secondary-color: $darkBlue !default;
|
|
33
|
+
$text-color: $grey !default;
|
|
34
|
+
$input-text: $grey !default;
|
|
35
|
+
|
|
36
|
+
$system-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
|
|
37
|
+
$font-family: 'Asap', sans-serif;
|
|
38
|
+
|
|
39
|
+
// Viewport Sizes
|
|
40
|
+
$viewport-sm: 20rem;
|
|
41
|
+
$viewport-md: 47rem;
|
|
42
|
+
$viewport-lg: 64rem;
|
|
43
|
+
$viewport-xlg: 120rem;
|
package/src/assets/styles.scss
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
@import url('https://fonts.googleapis.com/css?family=Asap:400,400i,500,600,700&display=swap');
|
|
2
|
-
|
|
3
|
-
@import '_variables';
|
|
4
|
-
|
|
5
|
-
/* icon font path, required */
|
|
6
|
-
$--color-primary: $app-primary-color !default;
|
|
7
|
-
$--font-path: '~element-ui/lib/theme-chalk/fonts';
|
|
1
|
+
@import url('https://fonts.googleapis.com/css?family=Asap:400,400i,500,600,700&display=swap');
|
|
2
|
+
|
|
3
|
+
@import '_variables';
|
|
4
|
+
|
|
5
|
+
/* icon font path, required */
|
|
6
|
+
$--color-primary: $app-primary-color !default;
|
|
7
|
+
$--font-path: '~element-ui/lib/theme-chalk/fonts';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import Vue from 'vue';
|
|
2
|
-
const EventBus = new Vue();
|
|
1
|
+
import Vue from 'vue';
|
|
2
|
+
const EventBus = new Vue();
|
|
3
3
|
export default EventBus;
|