@abi-software/flatmapvuer 1.14.1 → 1.15.0
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/cypress.config.js +18 -16
- package/dist/flatmapvuer.js +12062 -12147
- package/dist/flatmapvuer.umd.cjs +14 -18
- package/dist/style.css +2 -1
- package/eslint.config.js +23 -0
- package/package.json +32 -43
- package/src/assets/styles.scss +2 -1
- package/src/components.d.ts +6 -2
- package/vite.config.js +7 -1
- package/babel.config.js +0 -0
package/eslint.config.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import js from "@eslint/js";
|
|
2
|
+
import vue from "eslint-plugin-vue";
|
|
3
|
+
import globals from "globals";
|
|
4
|
+
|
|
5
|
+
export default [
|
|
6
|
+
{
|
|
7
|
+
ignores: ["dist/**", "docs/.vitepress/**", "docs/components/**"],
|
|
8
|
+
},
|
|
9
|
+
js.configs.recommended,
|
|
10
|
+
...vue.configs["flat/essential"],
|
|
11
|
+
{
|
|
12
|
+
files: ["**/*.{js,vue}"],
|
|
13
|
+
languageOptions: {
|
|
14
|
+
ecmaVersion: "latest",
|
|
15
|
+
sourceType: "module",
|
|
16
|
+
globals: {
|
|
17
|
+
...globals.node,
|
|
18
|
+
...globals.browser,
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
rules: {},
|
|
22
|
+
},
|
|
23
|
+
];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abi-software/flatmapvuer",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.15.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=20"
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
"serve": "vite --host --force",
|
|
21
21
|
"build-bundle": "vite build",
|
|
22
22
|
"build-static": "vite build -c vite.static-build.js",
|
|
23
|
+
"lint": "eslint .",
|
|
23
24
|
"cypress:open": "cypress open",
|
|
24
25
|
"cypress:component": "cypress run --component",
|
|
25
26
|
"cypress:record": "cypress run --component --record",
|
|
@@ -47,56 +48,44 @@
|
|
|
47
48
|
"./src/*": "./src/*"
|
|
48
49
|
},
|
|
49
50
|
"dependencies": {
|
|
50
|
-
"@abi-software/map-utilities": "1.
|
|
51
|
+
"@abi-software/map-utilities": "1.10.0",
|
|
51
52
|
"@abi-software/sparc-annotation": "0.3.2",
|
|
52
|
-
"@abi-software/svg-sprite": "1.
|
|
53
|
-
"@element-plus/icons-vue": "^2.3.
|
|
54
|
-
"css-element-queries": "^1.2.
|
|
55
|
-
"element-plus": "2.
|
|
53
|
+
"@abi-software/svg-sprite": "1.2.0",
|
|
54
|
+
"@element-plus/icons-vue": "^2.3.2",
|
|
55
|
+
"css-element-queries": "^1.2.3",
|
|
56
|
+
"element-plus": "^2.14.5",
|
|
56
57
|
"mitt": "^3.0.1",
|
|
57
|
-
"pinia": "^
|
|
58
|
-
"
|
|
59
|
-
"vue": "^3.4.21"
|
|
58
|
+
"pinia": "^4.0.3",
|
|
59
|
+
"vue": "^3.5.41"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@
|
|
62
|
+
"@eslint/js": "^10.0.1",
|
|
63
|
+
"@vitejs/plugin-vue": "^6.0.8",
|
|
64
|
+
"unplugin-vue-components": "^32.1.0",
|
|
63
65
|
"@vuese/markdown-render": "^2.11.3",
|
|
64
|
-
"auto-changelog": "^2.
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"cypress": "^
|
|
69
|
-
"cypress-
|
|
70
|
-
"cypress-
|
|
71
|
-
"
|
|
72
|
-
"eslint": "^
|
|
73
|
-
"eslint-plugin-
|
|
74
|
-
"
|
|
75
|
-
"mochawesome": "^
|
|
76
|
-
"sass": "^1.
|
|
77
|
-
"vite": "^
|
|
78
|
-
"vitepress": "^1.
|
|
66
|
+
"auto-changelog": "^2.6.0",
|
|
67
|
+
"chokidar": "^5.0.0",
|
|
68
|
+
"concurrently": "^9.2.4",
|
|
69
|
+
"cypress": "^15.21.0",
|
|
70
|
+
"cypress-multi-reporters": "^2.0.5",
|
|
71
|
+
"cypress-visual-regression": "^6.0.0",
|
|
72
|
+
"cypress-wait-until": "^3.0.2",
|
|
73
|
+
"eslint": "^10.9.1",
|
|
74
|
+
"eslint-plugin-cypress": "^7.0.0",
|
|
75
|
+
"eslint-plugin-vue": "^10.10.0",
|
|
76
|
+
"globals": "^17.11.0",
|
|
77
|
+
"mochawesome": "^8.0.1",
|
|
78
|
+
"sass": "^1.103.1",
|
|
79
|
+
"vite": "^8.2.1",
|
|
80
|
+
"vitepress": "^1.6.4",
|
|
79
81
|
"vue-docgen-api": "^4.79.2"
|
|
80
82
|
},
|
|
81
83
|
"optionalDependencies": {
|
|
82
|
-
"@esbuild/
|
|
83
|
-
"@
|
|
84
|
-
"@rollup/rollup-
|
|
85
|
-
"@rollup/rollup-
|
|
86
|
-
|
|
87
|
-
"eslintConfig": {
|
|
88
|
-
"root": true,
|
|
89
|
-
"env": {
|
|
90
|
-
"node": true
|
|
91
|
-
},
|
|
92
|
-
"extends": [
|
|
93
|
-
"plugin:vue/essential",
|
|
94
|
-
"eslint:recommended"
|
|
95
|
-
],
|
|
96
|
-
"rules": {},
|
|
97
|
-
"parserOptions": {
|
|
98
|
-
"parser": "babel-eslint"
|
|
99
|
-
}
|
|
84
|
+
"@esbuild/darwin-arm64": "0.28.2",
|
|
85
|
+
"@esbuild/linux-x64": "0.28.2",
|
|
86
|
+
"@rollup/rollup-darwin-arm64": "4.63.0",
|
|
87
|
+
"@rollup/rollup-linux-x64-gnu": "4.63.0",
|
|
88
|
+
"@rollup/rollup-win32-x64-msvc": "4.63.0"
|
|
100
89
|
},
|
|
101
90
|
"browserslist": [
|
|
102
91
|
"> 1%",
|
package/src/assets/styles.scss
CHANGED
package/src/components.d.ts
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
|
-
/* prettier-ignore */
|
|
3
2
|
// @ts-nocheck
|
|
3
|
+
// biome-ignore lint: disable
|
|
4
|
+
// oxlint-disable
|
|
5
|
+
// ------
|
|
4
6
|
// Generated by unplugin-vue-components
|
|
5
7
|
// Read more: https://github.com/vuejs/core/pull/3399
|
|
8
|
+
|
|
6
9
|
export {}
|
|
7
10
|
|
|
11
|
+
/* prettier-ignore */
|
|
8
12
|
declare module 'vue' {
|
|
9
13
|
export interface GlobalComponents {
|
|
10
14
|
DynamicLegends: typeof import('./components/legends/DynamicLegends.vue')['default']
|
|
@@ -31,7 +35,7 @@ declare module 'vue' {
|
|
|
31
35
|
SelectionsGroup: typeof import('./components/SelectionsGroup.vue')['default']
|
|
32
36
|
SvgLegends: typeof import('./components/legends/SvgLegends.vue')['default']
|
|
33
37
|
}
|
|
34
|
-
export interface
|
|
38
|
+
export interface GlobalDirectives {
|
|
35
39
|
vLoading: typeof import('element-plus/es')['ElLoadingDirective']
|
|
36
40
|
vPopover: typeof import('element-plus/es')['ElPopoverDirective']
|
|
37
41
|
}
|
package/vite.config.js
CHANGED
|
@@ -10,7 +10,8 @@ export default defineConfig(({ command, mode }) => {
|
|
|
10
10
|
css: {
|
|
11
11
|
preprocessorOptions: {
|
|
12
12
|
scss: {
|
|
13
|
-
|
|
13
|
+
api: 'modern-compiler',
|
|
14
|
+
additionalData: `@use '@/assets/styles' as *;`,
|
|
14
15
|
},
|
|
15
16
|
},
|
|
16
17
|
},
|
|
@@ -61,6 +62,11 @@ export default defineConfig(({ command, mode }) => {
|
|
|
61
62
|
"@element-plus/icons-vue": "@element-plus/icons-vue",
|
|
62
63
|
"pinia": "pinia"
|
|
63
64
|
},
|
|
65
|
+
// keep css output name stable for the "./dist/style.css" export/import paths
|
|
66
|
+
assetFileNames: (assetInfo) =>
|
|
67
|
+
assetInfo.name?.endsWith(".css")
|
|
68
|
+
? "style.css"
|
|
69
|
+
: "assets/[name][extname]",
|
|
64
70
|
},
|
|
65
71
|
},
|
|
66
72
|
},
|
package/babel.config.js
DELETED
|
File without changes
|