@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.
@@ -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.14.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.9.0",
51
+ "@abi-software/map-utilities": "1.10.0",
51
52
  "@abi-software/sparc-annotation": "0.3.2",
52
- "@abi-software/svg-sprite": "1.1.0",
53
- "@element-plus/icons-vue": "^2.3.1",
54
- "css-element-queries": "^1.2.2",
55
- "element-plus": "2.8.4",
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": "^2.1.7",
58
- "unplugin-vue-components": "^0.26.0",
59
- "vue": "^3.4.21"
58
+ "pinia": "^4.0.3",
59
+ "vue": "^3.5.41"
60
60
  },
61
61
  "devDependencies": {
62
- "@vitejs/plugin-vue": "^4.6.2",
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.4.0",
65
- "babel-eslint": "^10.1.0",
66
- "chokidar": "^3.6.0",
67
- "concurrently": "^8.2.2",
68
- "cypress": "^13.6.6",
69
- "cypress-multi-reporters": "^1.6.4",
70
- "cypress-visual-regression": "^5.3.0",
71
- "cypress-wait-until": "^2.0.1",
72
- "eslint": "^8.56.0",
73
- "eslint-plugin-cypress": "^2.15.1",
74
- "eslint-plugin-vue": "^9.19.2",
75
- "mochawesome": "^7.1.3",
76
- "sass": "^1.69.5",
77
- "vite": "^5.0.10",
78
- "vitepress": "^1.0.0-rc.44",
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/linux-x64": "0.25.3",
83
- "@rollup/rollup-darwin-arm64": "4.59.0",
84
- "@rollup/rollup-linux-x64-gnu": "4.59.0",
85
- "@rollup/rollup-win32-x64-msvc": "4.59.0"
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%",
@@ -1,4 +1,5 @@
1
- @import '_variables';
1
+ @use '_variables' as *;
2
+ @forward '_variables';
2
3
 
3
4
  @import url('https://fonts.googleapis.com/css?family=Asap:400,400i,500,600,700&display=swap');
4
5
 
@@ -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 ComponentCustomProperties {
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
- additionalData: `@use './src/assets/styles' as *;`
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