@abi-software/gallery 0.3.0 → 0.3.2-beta
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 -3
- package/.eslintrc.js +36 -31
- package/.prettierrc +6 -6
- package/LICENSE +201 -201
- package/Meeting-plan.txt +4 -0
- package/README.md +35 -35
- package/babel.config.js +12 -12
- package/dist/gallery.common.js +127 -77
- package/dist/gallery.common.js.map +1 -1
- package/dist/gallery.css +1 -1
- package/dist/gallery.umd.js +127 -77
- package/dist/gallery.umd.js.map +1 -1
- package/dist/gallery.umd.min.js +1 -1
- package/dist/gallery.umd.min.js.map +1 -1
- package/jest.config.js +3 -3
- package/package.json +43 -43
- package/public/index.html +17 -17
- package/src/App.vue +28 -28
- package/src/components/Card.vue +324 -272
- package/src/components/Gallery.vue +250 -249
- package/src/components/IndexIndicator.vue +45 -45
- package/src/delete.json +39 -0
- package/src/index.js +2 -2
- package/src/main.js +2 -2
- package/src/mixins/GalleryHelpers.js +104 -104
- package/tests/unit/example.spec.js +12 -12
- package/vue.config.js +23 -23
- package/src/assets/data-icon.png +0 -0
- package/src/assets/flatmap-thumbnail.png +0 -0
- package/src/assets/scaffold-light.png +0 -0
- package/src/assets/video-default.png +0 -0
package/jest.config.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
preset: '@vue/cli-plugin-unit-jest',
|
|
3
|
-
}
|
|
1
|
+
module.exports = {
|
|
2
|
+
preset: '@vue/cli-plugin-unit-jest',
|
|
3
|
+
}
|
package/package.json
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@abi-software/gallery",
|
|
3
|
-
"version": "0.3.
|
|
4
|
-
"repository": {
|
|
5
|
-
"type": "git",
|
|
6
|
-
"url": "https://github.com/hsorby/mapcore-gallery.git"
|
|
7
|
-
},
|
|
8
|
-
"license": "Apache-2.0",
|
|
9
|
-
"private": false,
|
|
10
|
-
"scripts": {
|
|
11
|
-
"serve": "vue-cli-service serve",
|
|
12
|
-
"build": "vue-cli-service build",
|
|
13
|
-
"test:unit": "vue-cli-service test:unit",
|
|
14
|
-
"build-bundle": "vue-cli-service build --target lib --name gallery src/main.js",
|
|
15
|
-
"lint": "vue-cli-service lint"
|
|
16
|
-
},
|
|
17
|
-
"main": "dist/gallery.common.js",
|
|
18
|
-
"dependencies": {
|
|
19
|
-
"@babel/code-frame": "^7.12.11",
|
|
20
|
-
"axios": "^0.26.1",
|
|
21
|
-
"babel-plugin-component": "^1.1.1",
|
|
22
|
-
"base64-inline-loader": "^2.0.1",
|
|
23
|
-
"core-js": "^3.8.3",
|
|
24
|
-
"element-ui": "^2.15.0",
|
|
25
|
-
"vue": "^2.6.11"
|
|
26
|
-
},
|
|
27
|
-
"devDependencies": {
|
|
28
|
-
"@vue/cli-plugin-babel": "^4.5.11",
|
|
29
|
-
"@vue/cli-plugin-eslint": "^3.1.1",
|
|
30
|
-
"@vue/cli-plugin-unit-jest": "^4.5.13",
|
|
31
|
-
"@vue/cli-service": "^4.5.13",
|
|
32
|
-
"@vue/eslint-config-prettier": "^6.0.0",
|
|
33
|
-
"@vue/test-utils": "^1.1.2",
|
|
34
|
-
"babel-eslint": "^10.1.0",
|
|
35
|
-
"eslint": "^6.0.0",
|
|
36
|
-
"eslint-config-prettier": "^6.15.0",
|
|
37
|
-
"eslint-plugin-prettier": "^3.3.1",
|
|
38
|
-
"eslint-plugin-vue": "^6.2.2",
|
|
39
|
-
"prettier": "^2.2.1",
|
|
40
|
-
"vue-svg-inline-loader": "^2.1.3",
|
|
41
|
-
"vue-template-compiler": "^2.6.11"
|
|
42
|
-
}
|
|
43
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@abi-software/gallery",
|
|
3
|
+
"version": "0.3.2-beta",
|
|
4
|
+
"repository": {
|
|
5
|
+
"type": "git",
|
|
6
|
+
"url": "https://github.com/hsorby/mapcore-gallery.git"
|
|
7
|
+
},
|
|
8
|
+
"license": "Apache-2.0",
|
|
9
|
+
"private": false,
|
|
10
|
+
"scripts": {
|
|
11
|
+
"serve": "vue-cli-service serve",
|
|
12
|
+
"build": "vue-cli-service build",
|
|
13
|
+
"test:unit": "vue-cli-service test:unit",
|
|
14
|
+
"build-bundle": "vue-cli-service build --target lib --name gallery src/main.js",
|
|
15
|
+
"lint": "vue-cli-service lint"
|
|
16
|
+
},
|
|
17
|
+
"main": "dist/gallery.common.js",
|
|
18
|
+
"dependencies": {
|
|
19
|
+
"@babel/code-frame": "^7.12.11",
|
|
20
|
+
"axios": "^0.26.1",
|
|
21
|
+
"babel-plugin-component": "^1.1.1",
|
|
22
|
+
"base64-inline-loader": "^2.0.1",
|
|
23
|
+
"core-js": "^3.8.3",
|
|
24
|
+
"element-ui": "^2.15.0",
|
|
25
|
+
"vue": "^2.6.11"
|
|
26
|
+
},
|
|
27
|
+
"devDependencies": {
|
|
28
|
+
"@vue/cli-plugin-babel": "^4.5.11",
|
|
29
|
+
"@vue/cli-plugin-eslint": "^3.1.1",
|
|
30
|
+
"@vue/cli-plugin-unit-jest": "^4.5.13",
|
|
31
|
+
"@vue/cli-service": "^4.5.13",
|
|
32
|
+
"@vue/eslint-config-prettier": "^6.0.0",
|
|
33
|
+
"@vue/test-utils": "^1.1.2",
|
|
34
|
+
"babel-eslint": "^10.1.0",
|
|
35
|
+
"eslint": "^6.0.0",
|
|
36
|
+
"eslint-config-prettier": "^6.15.0",
|
|
37
|
+
"eslint-plugin-prettier": "^3.3.1",
|
|
38
|
+
"eslint-plugin-vue": "^6.2.2",
|
|
39
|
+
"prettier": "^2.2.1",
|
|
40
|
+
"vue-svg-inline-loader": "^2.1.3",
|
|
41
|
+
"vue-template-compiler": "^2.6.11"
|
|
42
|
+
}
|
|
43
|
+
}
|
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><%= htmlWebpackPlugin.options.title %></title>
|
|
9
|
-
</head>
|
|
10
|
-
<body>
|
|
11
|
-
<noscript>
|
|
12
|
-
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> 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><%= htmlWebpackPlugin.options.title %></title>
|
|
9
|
+
</head>
|
|
10
|
+
<body>
|
|
11
|
+
<noscript>
|
|
12
|
+
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> 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,28 +1,28 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div id="app">
|
|
3
|
-
<img alt="Vue logo" src="./assets/logo.png" />
|
|
4
|
-
<HelloWorld msg="Welcome to Your Vue.js App" />
|
|
5
|
-
</div>
|
|
6
|
-
</template>
|
|
7
|
-
|
|
8
|
-
<script>
|
|
9
|
-
import HelloWorld from './components/HelloWorld.vue'
|
|
10
|
-
|
|
11
|
-
export default {
|
|
12
|
-
name: 'App',
|
|
13
|
-
components: {
|
|
14
|
-
HelloWorld,
|
|
15
|
-
},
|
|
16
|
-
}
|
|
17
|
-
</script>
|
|
18
|
-
|
|
19
|
-
<style scoped>
|
|
20
|
-
#app {
|
|
21
|
-
font-family: Avenir, Helvetica, Arial, sans-serif;
|
|
22
|
-
-webkit-font-smoothing: antialiased;
|
|
23
|
-
-moz-osx-font-smoothing: grayscale;
|
|
24
|
-
text-align: center;
|
|
25
|
-
color: #2c3e50;
|
|
26
|
-
margin-top: 60px;
|
|
27
|
-
}
|
|
28
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div id="app">
|
|
3
|
+
<img alt="Vue logo" src="./assets/logo.png" />
|
|
4
|
+
<HelloWorld msg="Welcome to Your Vue.js App" />
|
|
5
|
+
</div>
|
|
6
|
+
</template>
|
|
7
|
+
|
|
8
|
+
<script>
|
|
9
|
+
import HelloWorld from './components/HelloWorld.vue'
|
|
10
|
+
|
|
11
|
+
export default {
|
|
12
|
+
name: 'App',
|
|
13
|
+
components: {
|
|
14
|
+
HelloWorld,
|
|
15
|
+
},
|
|
16
|
+
}
|
|
17
|
+
</script>
|
|
18
|
+
|
|
19
|
+
<style scoped>
|
|
20
|
+
#app {
|
|
21
|
+
font-family: Avenir, Helvetica, Arial, sans-serif;
|
|
22
|
+
-webkit-font-smoothing: antialiased;
|
|
23
|
+
-moz-osx-font-smoothing: grayscale;
|
|
24
|
+
text-align: center;
|
|
25
|
+
color: #2c3e50;
|
|
26
|
+
margin-top: 60px;
|
|
27
|
+
}
|
|
28
|
+
</style>
|