@abi-software/flatmapvuer 0.2.4-dynamic-1 → 0.2.4
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 +133 -112
- package/dist/flatmapvuer.common.js.map +1 -1
- package/dist/flatmapvuer.css +1 -1
- package/dist/flatmapvuer.umd.js +133 -112
- 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 +13897 -13890
- package/package.json +66 -66
- package/public/index.html +17 -17
- package/src/App.vue +159 -150
- package/src/assets/_variables.scss +43 -43
- package/src/assets/styles.scss +7 -7
- package/src/components/FlatmapVuer.vue +1282 -1264
- package/src/components/MultiFlatmapVuer.vue +340 -336
- package/src/components/PubmedViewer.vue +180 -180
- package/src/components/Tooltip.vue +267 -267
- package/src/components/index.js +9 -9
- 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/main.js +8 -8
- package/vue.config.js +31 -31
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
@font-face {
|
|
2
|
-
font-family: 'mapicon-species';
|
|
3
|
-
src: url('fonts/mapicon-species.eot?h40clo');
|
|
4
|
-
src: url('fonts/mapicon-species.eot?h40clo#iefix') format('embedded-opentype'),
|
|
5
|
-
url('fonts/mapicon-species.ttf?h40clo') format('truetype'),
|
|
6
|
-
url('fonts/mapicon-species.woff?h40clo') format('woff'),
|
|
7
|
-
url('fonts/mapicon-species.svg?h40clo#mapicon-species') format('svg');
|
|
8
|
-
font-weight: normal;
|
|
9
|
-
font-style: normal;
|
|
10
|
-
font-display: block;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
[class^="icon
|
|
14
|
-
/* use !important to prevent issues with browser extensions that change fonts */
|
|
15
|
-
font-family: 'mapicon-species' !important;
|
|
16
|
-
speak: never;
|
|
17
|
-
font-style: normal;
|
|
18
|
-
font-weight: normal;
|
|
19
|
-
font-variant: normal;
|
|
20
|
-
text-transform: none;
|
|
21
|
-
line-height: 1;
|
|
22
|
-
|
|
23
|
-
/* Better Font Rendering =========== */
|
|
24
|
-
-webkit-font-smoothing: antialiased;
|
|
25
|
-
-moz-osx-font-smoothing: grayscale;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.
|
|
29
|
-
content: "\e904";
|
|
30
|
-
}
|
|
31
|
-
.
|
|
32
|
-
content: "\e900";
|
|
33
|
-
}
|
|
34
|
-
.
|
|
35
|
-
content: "\e901";
|
|
36
|
-
}
|
|
37
|
-
.
|
|
38
|
-
content: "\e902";
|
|
39
|
-
}
|
|
40
|
-
.
|
|
41
|
-
content: "\e903";
|
|
42
|
-
}
|
|
1
|
+
@font-face {
|
|
2
|
+
font-family: 'mapicon-species';
|
|
3
|
+
src: url('fonts/mapicon-species.eot?h40clo');
|
|
4
|
+
src: url('fonts/mapicon-species.eot?h40clo#iefix') format('embedded-opentype'),
|
|
5
|
+
url('fonts/mapicon-species.ttf?h40clo') format('truetype'),
|
|
6
|
+
url('fonts/mapicon-species.woff?h40clo') format('woff'),
|
|
7
|
+
url('fonts/mapicon-species.svg?h40clo#mapicon-species') format('svg');
|
|
8
|
+
font-weight: normal;
|
|
9
|
+
font-style: normal;
|
|
10
|
+
font-display: block;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
[class^="mapicon-icon"], [class*=" mapicon-icon"] {
|
|
14
|
+
/* use !important to prevent issues with browser extensions that change fonts */
|
|
15
|
+
font-family: 'mapicon-species' !important;
|
|
16
|
+
speak: never;
|
|
17
|
+
font-style: normal;
|
|
18
|
+
font-weight: normal;
|
|
19
|
+
font-variant: normal;
|
|
20
|
+
text-transform: none;
|
|
21
|
+
line-height: 1;
|
|
22
|
+
|
|
23
|
+
/* Better Font Rendering =========== */
|
|
24
|
+
-webkit-font-smoothing: antialiased;
|
|
25
|
+
-moz-osx-font-smoothing: grayscale;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.mapicon-icon_cat:before {
|
|
29
|
+
content: "\e904";
|
|
30
|
+
}
|
|
31
|
+
.mapicon-icon_rat:before {
|
|
32
|
+
content: "\e900";
|
|
33
|
+
}
|
|
34
|
+
.mapicon-icon_pig:before {
|
|
35
|
+
content: "\e901";
|
|
36
|
+
}
|
|
37
|
+
.mapicon-icon_mouse:before {
|
|
38
|
+
content: "\e902";
|
|
39
|
+
}
|
|
40
|
+
.mapicon-icon_human:before {
|
|
41
|
+
content: "\e903";
|
|
42
|
+
}
|
package/src/main.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import Vue from 'vue'
|
|
2
|
-
import App from './App.vue'
|
|
3
|
-
|
|
4
|
-
Vue.config.productionTip = false
|
|
5
|
-
|
|
6
|
-
new Vue({
|
|
7
|
-
render: h => h(App),
|
|
8
|
-
}).$mount('#app')
|
|
1
|
+
import Vue from 'vue'
|
|
2
|
+
import App from './App.vue'
|
|
3
|
+
|
|
4
|
+
Vue.config.productionTip = false
|
|
5
|
+
|
|
6
|
+
new Vue({
|
|
7
|
+
render: h => h(App),
|
|
8
|
+
}).$mount('#app')
|
package/vue.config.js
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
const nodeExternals = require('webpack-node-externals');
|
|
2
|
-
|
|
3
|
-
module.exports = {
|
|
4
|
-
configureWebpack: config => {
|
|
5
|
-
if(process.env.NODE_ENV === 'production') {
|
|
6
|
-
config.externals = [nodeExternals({}) ];
|
|
7
|
-
}
|
|
8
|
-
},
|
|
9
|
-
chainWebpack: config => {
|
|
10
|
-
const fontsRule = config.module.rule('fonts')
|
|
11
|
-
fontsRule.uses.clear()
|
|
12
|
-
config.module
|
|
13
|
-
.rule('fonts')
|
|
14
|
-
.test(/\.(ttf|otf|eot|woff|woff2)$/)
|
|
15
|
-
.use('base64-inline-loader')
|
|
16
|
-
.loader('base64-inline-loader')
|
|
17
|
-
.tap(options => {
|
|
18
|
-
// modify the options...
|
|
19
|
-
return options
|
|
20
|
-
})
|
|
21
|
-
.end()
|
|
22
|
-
},
|
|
23
|
-
css: {
|
|
24
|
-
//Import variables into all stylesheets.
|
|
25
|
-
loaderOptions: {
|
|
26
|
-
sass: {
|
|
27
|
-
prependData: `@import '@/assets/styles';`
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
1
|
+
const nodeExternals = require('webpack-node-externals');
|
|
2
|
+
|
|
3
|
+
module.exports = {
|
|
4
|
+
configureWebpack: config => {
|
|
5
|
+
if(process.env.NODE_ENV === 'production') {
|
|
6
|
+
config.externals = [nodeExternals({}) ];
|
|
7
|
+
}
|
|
8
|
+
},
|
|
9
|
+
chainWebpack: config => {
|
|
10
|
+
const fontsRule = config.module.rule('fonts')
|
|
11
|
+
fontsRule.uses.clear()
|
|
12
|
+
config.module
|
|
13
|
+
.rule('fonts')
|
|
14
|
+
.test(/\.(ttf|otf|eot|woff|woff2)$/)
|
|
15
|
+
.use('base64-inline-loader')
|
|
16
|
+
.loader('base64-inline-loader')
|
|
17
|
+
.tap(options => {
|
|
18
|
+
// modify the options...
|
|
19
|
+
return options
|
|
20
|
+
})
|
|
21
|
+
.end()
|
|
22
|
+
},
|
|
23
|
+
css: {
|
|
24
|
+
//Import variables into all stylesheets.
|
|
25
|
+
loaderOptions: {
|
|
26
|
+
sass: {
|
|
27
|
+
prependData: `@import '@/assets/styles';`
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|