Compare commits
No commits in common. "main" and "v1.0.24" have entirely different histories.
|
@ -5,10 +5,6 @@ All notable changes to this project will be documented in this file.
|
||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
## [1.0.28] - 2025-08-11
|
|
||||||
### fixed
|
|
||||||
- bug fixed
|
|
||||||
|
|
||||||
## [1.0.24] - 2025-08-02
|
## [1.0.24] - 2025-08-02
|
||||||
### fixed
|
### fixed
|
||||||
- Composable error fixed
|
- Composable error fixed
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
# visua-vue
|
# visua-vue
|
||||||
|
|
||||||
**Current version: v1.0.28**
|
**Current version: v1.0.24**
|
342
package-lock.json
generated
342
package-lock.json
generated
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "@cellule-financiere-pmo/visua-vue",
|
"name": "@cellule-financiere-pmo/visua-vue",
|
||||||
"version": "1.0.28",
|
"version": "1.0.24",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@cellule-financiere-pmo/visua-vue",
|
"name": "@cellule-financiere-pmo/visua-vue",
|
||||||
"version": "1.0.28",
|
"version": "1.0.24",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@cellule-financiere-pmo/visua": "1.1.3"
|
"@cellule-financiere-pmo/visua": "1.1.3"
|
||||||
|
@ -1135,6 +1135,23 @@
|
||||||
"node": ">=18"
|
"node": ">=18"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/@esbuild/win32-x64": {
|
||||||
|
"version": "0.25.8",
|
||||||
|
"resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.8.tgz",
|
||||||
|
"integrity": "sha512-cn3Yr7+OaaZq1c+2pe+8yxC8E144SReCQjN6/2ynubzYjvyqZjTXfQJpAcQpsdJq3My7XADANiYGHoFC69pLQw==",
|
||||||
|
"cpu": [
|
||||||
|
"x64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"win32"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">=18"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/@eslint-community/eslint-utils": {
|
"node_modules/@eslint-community/eslint-utils": {
|
||||||
"version": "4.7.0",
|
"version": "4.7.0",
|
||||||
"resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.7.0.tgz",
|
"resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.7.0.tgz",
|
||||||
|
@ -1204,9 +1221,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@eslint/config-helpers": {
|
"node_modules/@eslint/config-helpers": {
|
||||||
"version": "0.3.1",
|
"version": "0.3.0",
|
||||||
"resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.3.1.tgz",
|
"resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.3.0.tgz",
|
||||||
"integrity": "sha512-xR93k9WhrDYpXHORXpxVL5oHj3Era7wo6k/Wd8/IsQNnZUTzkGS29lyn3nAT05v6ltUuTFVCCYDEGfy2Or/sPA==",
|
"integrity": "sha512-ViuymvFmcJi04qdZeDc2whTHryouGcDlaxPqarTD0ZE10ISpxGUVZGZDx4w01upyIynL3iu6IXH2bS1NhclQMw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"engines": {
|
"engines": {
|
||||||
|
@ -1214,9 +1231,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@eslint/core": {
|
"node_modules/@eslint/core": {
|
||||||
"version": "0.15.2",
|
"version": "0.15.1",
|
||||||
"resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.15.2.tgz",
|
"resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.15.1.tgz",
|
||||||
"integrity": "sha512-78Md3/Rrxh83gCxoUc0EiciuOHsIITzLy53m3d9UyiW8y9Dj2D29FeETqyKA+BRK76tnTp6RXWb3pCay8Oyomg==",
|
"integrity": "sha512-bkOp+iumZCCbt1K1CmWf0R9pM5yKpDv+ZXtvSyQpudrI9kuFLp+bM2WOPXImuD/ceQuaa8f5pj93Y7zyECIGNA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -1275,9 +1292,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@eslint/js": {
|
"node_modules/@eslint/js": {
|
||||||
"version": "9.33.0",
|
"version": "9.32.0",
|
||||||
"resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.33.0.tgz",
|
"resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.32.0.tgz",
|
||||||
"integrity": "sha512-5K1/mKhWaMfreBGJTwval43JJmkip0RmM+3+IuqupeSKNC/Th2Kc7ucaq5ovTSra/OOKB9c58CGSz3QMVbWt0A==",
|
"integrity": "sha512-BBpRFZK3eX6uMLKz8WxFOBIFFcGFJ/g8XuwjTHCqHROSIsopI+ddn/d5Cfh36+7+e5edVS8dbSHnBNhrLEX0zg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
|
@ -1298,13 +1315,13 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@eslint/plugin-kit": {
|
"node_modules/@eslint/plugin-kit": {
|
||||||
"version": "0.3.5",
|
"version": "0.3.4",
|
||||||
"resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.3.5.tgz",
|
"resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.3.4.tgz",
|
||||||
"integrity": "sha512-Z5kJ+wU3oA7MMIqVR9tyZRtjYPr4OC004Q4Rw7pgOKUOKkJfZ3O24nz3WYfGRpMDNmcOi3TwQOmgm7B7Tpii0w==",
|
"integrity": "sha512-Ul5l+lHEcw3L5+k8POx6r74mxEYKG5kOb6Xpy2gCRW6zweT6TEhAf8vhxGgjhqrd/VO/Dirhsb+1hNpD1ue9hw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@eslint/core": "^0.15.2",
|
"@eslint/core": "^0.15.1",
|
||||||
"levn": "^0.4.1"
|
"levn": "^0.4.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
|
@ -1886,6 +1903,20 @@
|
||||||
"win32"
|
"win32"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"node_modules/@rollup/rollup-win32-x64-msvc": {
|
||||||
|
"version": "4.46.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.46.2.tgz",
|
||||||
|
"integrity": "sha512-CvUo2ixeIQGtF6WvuB87XWqPQkoFAFqW+HUo/WzHwuHDvIwZCtjdWXoYCcr06iKGydiqTclC4jU/TNObC/xKZg==",
|
||||||
|
"cpu": [
|
||||||
|
"x64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"win32"
|
||||||
|
]
|
||||||
|
},
|
||||||
"node_modules/@sec-ant/readable-stream": {
|
"node_modules/@sec-ant/readable-stream": {
|
||||||
"version": "0.4.1",
|
"version": "0.4.1",
|
||||||
"resolved": "https://registry.npmjs.org/@sec-ant/readable-stream/-/readable-stream-0.4.1.tgz",
|
"resolved": "https://registry.npmjs.org/@sec-ant/readable-stream/-/readable-stream-0.4.1.tgz",
|
||||||
|
@ -1945,9 +1976,9 @@
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/@types/node": {
|
"node_modules/@types/node": {
|
||||||
"version": "22.17.1",
|
"version": "22.17.0",
|
||||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.17.1.tgz",
|
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.17.0.tgz",
|
||||||
"integrity": "sha512-y3tBaz+rjspDTylNjAX37jEC3TETEFGNJL6uQDxwF9/8GLLIjW1rvVHlynyuUKMnMr1Roq8jOv3vkopBjC4/VA==",
|
"integrity": "sha512-bbAKTCqX5aNVryi7qXVMi+OkB3w/OyblodicMbvE38blyAz7GxXf6XYhklokijuPwwVg9sDLKRxt0ZHXQwZVfQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -1955,17 +1986,17 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/eslint-plugin": {
|
"node_modules/@typescript-eslint/eslint-plugin": {
|
||||||
"version": "8.39.1",
|
"version": "8.38.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.39.1.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.38.0.tgz",
|
||||||
"integrity": "sha512-yYegZ5n3Yr6eOcqgj2nJH8cH/ZZgF+l0YIdKILSDjYFRjgYQMgv/lRjV5Z7Up04b9VYUondt8EPMqg7kTWgJ2g==",
|
"integrity": "sha512-CPoznzpuAnIOl4nhj4tRr4gIPj5AfKgkiJmGQDaq+fQnRJTYlcBjbX3wbciGmpoPf8DREufuPRe1tNMZnGdanA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@eslint-community/regexpp": "^4.10.0",
|
"@eslint-community/regexpp": "^4.10.0",
|
||||||
"@typescript-eslint/scope-manager": "8.39.1",
|
"@typescript-eslint/scope-manager": "8.38.0",
|
||||||
"@typescript-eslint/type-utils": "8.39.1",
|
"@typescript-eslint/type-utils": "8.38.0",
|
||||||
"@typescript-eslint/utils": "8.39.1",
|
"@typescript-eslint/utils": "8.38.0",
|
||||||
"@typescript-eslint/visitor-keys": "8.39.1",
|
"@typescript-eslint/visitor-keys": "8.38.0",
|
||||||
"graphemer": "^1.4.0",
|
"graphemer": "^1.4.0",
|
||||||
"ignore": "^7.0.0",
|
"ignore": "^7.0.0",
|
||||||
"natural-compare": "^1.4.0",
|
"natural-compare": "^1.4.0",
|
||||||
|
@ -1979,9 +2010,9 @@
|
||||||
"url": "https://opencollective.com/typescript-eslint"
|
"url": "https://opencollective.com/typescript-eslint"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@typescript-eslint/parser": "^8.39.1",
|
"@typescript-eslint/parser": "^8.38.0",
|
||||||
"eslint": "^8.57.0 || ^9.0.0",
|
"eslint": "^8.57.0 || ^9.0.0",
|
||||||
"typescript": ">=4.8.4 <6.0.0"
|
"typescript": ">=4.8.4 <5.9.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore": {
|
"node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore": {
|
||||||
|
@ -1995,16 +2026,16 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/parser": {
|
"node_modules/@typescript-eslint/parser": {
|
||||||
"version": "8.39.1",
|
"version": "8.38.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.39.1.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.38.0.tgz",
|
||||||
"integrity": "sha512-pUXGCuHnnKw6PyYq93lLRiZm3vjuslIy7tus1lIQTYVK9bL8XBgJnCWm8a0KcTtHC84Yya1Q6rtll+duSMj0dg==",
|
"integrity": "sha512-Zhy8HCvBUEfBECzIl1PKqF4p11+d0aUJS1GeUiuqK9WmOug8YCmC4h4bjyBvMyAMI9sbRczmrYL5lKg/YMbrcQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/scope-manager": "8.39.1",
|
"@typescript-eslint/scope-manager": "8.38.0",
|
||||||
"@typescript-eslint/types": "8.39.1",
|
"@typescript-eslint/types": "8.38.0",
|
||||||
"@typescript-eslint/typescript-estree": "8.39.1",
|
"@typescript-eslint/typescript-estree": "8.38.0",
|
||||||
"@typescript-eslint/visitor-keys": "8.39.1",
|
"@typescript-eslint/visitor-keys": "8.38.0",
|
||||||
"debug": "^4.3.4"
|
"debug": "^4.3.4"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
|
@ -2016,18 +2047,18 @@
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"eslint": "^8.57.0 || ^9.0.0",
|
"eslint": "^8.57.0 || ^9.0.0",
|
||||||
"typescript": ">=4.8.4 <6.0.0"
|
"typescript": ">=4.8.4 <5.9.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/project-service": {
|
"node_modules/@typescript-eslint/project-service": {
|
||||||
"version": "8.39.1",
|
"version": "8.38.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.39.1.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.38.0.tgz",
|
||||||
"integrity": "sha512-8fZxek3ONTwBu9ptw5nCKqZOSkXshZB7uAxuFF0J/wTMkKydjXCzqqga7MlFMpHi9DoG4BadhmTkITBcg8Aybw==",
|
"integrity": "sha512-dbK7Jvqcb8c9QfH01YB6pORpqX1mn5gDZc9n63Ak/+jD67oWXn3Gs0M6vddAN+eDXBCS5EmNWzbSxsn9SzFWWg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/tsconfig-utils": "^8.39.1",
|
"@typescript-eslint/tsconfig-utils": "^8.38.0",
|
||||||
"@typescript-eslint/types": "^8.39.1",
|
"@typescript-eslint/types": "^8.38.0",
|
||||||
"debug": "^4.3.4"
|
"debug": "^4.3.4"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
|
@ -2038,18 +2069,18 @@
|
||||||
"url": "https://opencollective.com/typescript-eslint"
|
"url": "https://opencollective.com/typescript-eslint"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"typescript": ">=4.8.4 <6.0.0"
|
"typescript": ">=4.8.4 <5.9.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/scope-manager": {
|
"node_modules/@typescript-eslint/scope-manager": {
|
||||||
"version": "8.39.1",
|
"version": "8.38.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.39.1.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.38.0.tgz",
|
||||||
"integrity": "sha512-RkBKGBrjgskFGWuyUGz/EtD8AF/GW49S21J8dvMzpJitOF1slLEbbHnNEtAHtnDAnx8qDEdRrULRnWVx27wGBw==",
|
"integrity": "sha512-WJw3AVlFFcdT9Ri1xs/lg8LwDqgekWXWhH3iAF+1ZM+QPd7oxQ6jvtW/JPwzAScxitILUIFs0/AnQ/UWHzbATQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/types": "8.39.1",
|
"@typescript-eslint/types": "8.38.0",
|
||||||
"@typescript-eslint/visitor-keys": "8.39.1"
|
"@typescript-eslint/visitor-keys": "8.38.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
||||||
|
@ -2060,9 +2091,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/tsconfig-utils": {
|
"node_modules/@typescript-eslint/tsconfig-utils": {
|
||||||
"version": "8.39.1",
|
"version": "8.38.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.39.1.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.38.0.tgz",
|
||||||
"integrity": "sha512-ePUPGVtTMR8XMU2Hee8kD0Pu4NDE1CN9Q1sxGSGd/mbOtGZDM7pnhXNJnzW63zk/q+Z54zVzj44HtwXln5CvHA==",
|
"integrity": "sha512-Lum9RtSE3EroKk/bYns+sPOodqb2Fv50XOl/gMviMKNvanETUuUcC9ObRbzrJ4VSd2JalPqgSAavwrPiPvnAiQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
|
@ -2073,19 +2104,19 @@
|
||||||
"url": "https://opencollective.com/typescript-eslint"
|
"url": "https://opencollective.com/typescript-eslint"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"typescript": ">=4.8.4 <6.0.0"
|
"typescript": ">=4.8.4 <5.9.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/type-utils": {
|
"node_modules/@typescript-eslint/type-utils": {
|
||||||
"version": "8.39.1",
|
"version": "8.38.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.39.1.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.38.0.tgz",
|
||||||
"integrity": "sha512-gu9/ahyatyAdQbKeHnhT4R+y3YLtqqHyvkfDxaBYk97EcbfChSJXyaJnIL3ygUv7OuZatePHmQvuH5ru0lnVeA==",
|
"integrity": "sha512-c7jAvGEZVf0ao2z+nnz8BUaHZD09Agbh+DY7qvBQqLiz8uJzRgVPj5YvOh8I8uEiH8oIUGIfHzMwUcGVco/SJg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/types": "8.39.1",
|
"@typescript-eslint/types": "8.38.0",
|
||||||
"@typescript-eslint/typescript-estree": "8.39.1",
|
"@typescript-eslint/typescript-estree": "8.38.0",
|
||||||
"@typescript-eslint/utils": "8.39.1",
|
"@typescript-eslint/utils": "8.38.0",
|
||||||
"debug": "^4.3.4",
|
"debug": "^4.3.4",
|
||||||
"ts-api-utils": "^2.1.0"
|
"ts-api-utils": "^2.1.0"
|
||||||
},
|
},
|
||||||
|
@ -2098,13 +2129,13 @@
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"eslint": "^8.57.0 || ^9.0.0",
|
"eslint": "^8.57.0 || ^9.0.0",
|
||||||
"typescript": ">=4.8.4 <6.0.0"
|
"typescript": ">=4.8.4 <5.9.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/types": {
|
"node_modules/@typescript-eslint/types": {
|
||||||
"version": "8.39.1",
|
"version": "8.38.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.39.1.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.38.0.tgz",
|
||||||
"integrity": "sha512-7sPDKQQp+S11laqTrhHqeAbsCfMkwJMrV7oTDvtDds4mEofJYir414bYKUEb8YPUm9QL3U+8f6L6YExSoAGdQw==",
|
"integrity": "sha512-wzkUfX3plUqij4YwWaJyqhiPE5UCRVlFpKn1oCRn2O1bJ592XxWJj8ROQ3JD5MYXLORW84063z3tZTb/cs4Tyw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
|
@ -2116,16 +2147,16 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/typescript-estree": {
|
"node_modules/@typescript-eslint/typescript-estree": {
|
||||||
"version": "8.39.1",
|
"version": "8.38.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.39.1.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.38.0.tgz",
|
||||||
"integrity": "sha512-EKkpcPuIux48dddVDXyQBlKdeTPMmALqBUbEk38McWv0qVEZwOpVJBi7ugK5qVNgeuYjGNQxrrnoM/5+TI/BPw==",
|
"integrity": "sha512-fooELKcAKzxux6fA6pxOflpNS0jc+nOQEEOipXFNjSlBS6fqrJOVY/whSn70SScHrcJ2LDsxWrneFoWYSVfqhQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/project-service": "8.39.1",
|
"@typescript-eslint/project-service": "8.38.0",
|
||||||
"@typescript-eslint/tsconfig-utils": "8.39.1",
|
"@typescript-eslint/tsconfig-utils": "8.38.0",
|
||||||
"@typescript-eslint/types": "8.39.1",
|
"@typescript-eslint/types": "8.38.0",
|
||||||
"@typescript-eslint/visitor-keys": "8.39.1",
|
"@typescript-eslint/visitor-keys": "8.38.0",
|
||||||
"debug": "^4.3.4",
|
"debug": "^4.3.4",
|
||||||
"fast-glob": "^3.3.2",
|
"fast-glob": "^3.3.2",
|
||||||
"is-glob": "^4.0.3",
|
"is-glob": "^4.0.3",
|
||||||
|
@ -2141,20 +2172,20 @@
|
||||||
"url": "https://opencollective.com/typescript-eslint"
|
"url": "https://opencollective.com/typescript-eslint"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"typescript": ">=4.8.4 <6.0.0"
|
"typescript": ">=4.8.4 <5.9.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/utils": {
|
"node_modules/@typescript-eslint/utils": {
|
||||||
"version": "8.39.1",
|
"version": "8.38.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.39.1.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.38.0.tgz",
|
||||||
"integrity": "sha512-VF5tZ2XnUSTuiqZFXCZfZs1cgkdd3O/sSYmdo2EpSyDlC86UM/8YytTmKnehOW3TGAlivqTDT6bS87B/GQ/jyg==",
|
"integrity": "sha512-hHcMA86Hgt+ijJlrD8fX0j1j8w4C92zue/8LOPAFioIno+W0+L7KqE8QZKCcPGc/92Vs9x36w/4MPTJhqXdyvg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@eslint-community/eslint-utils": "^4.7.0",
|
"@eslint-community/eslint-utils": "^4.7.0",
|
||||||
"@typescript-eslint/scope-manager": "8.39.1",
|
"@typescript-eslint/scope-manager": "8.38.0",
|
||||||
"@typescript-eslint/types": "8.39.1",
|
"@typescript-eslint/types": "8.38.0",
|
||||||
"@typescript-eslint/typescript-estree": "8.39.1"
|
"@typescript-eslint/typescript-estree": "8.38.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
||||||
|
@ -2165,17 +2196,17 @@
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"eslint": "^8.57.0 || ^9.0.0",
|
"eslint": "^8.57.0 || ^9.0.0",
|
||||||
"typescript": ">=4.8.4 <6.0.0"
|
"typescript": ">=4.8.4 <5.9.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/visitor-keys": {
|
"node_modules/@typescript-eslint/visitor-keys": {
|
||||||
"version": "8.39.1",
|
"version": "8.38.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.39.1.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.38.0.tgz",
|
||||||
"integrity": "sha512-W8FQi6kEh2e8zVhQ0eeRnxdvIoOkAp/CPAahcNio6nO9dsIwb9b34z90KOlheoyuVf6LSOEdjlkxSkapNEc+4A==",
|
"integrity": "sha512-pWrTcoFNWuwHlA9CvlfSsGWs14JxfN1TH25zM5L7o0pRLhsoZkDnTsXfQRJBEWJoV5DL0jf+Z+sxiud+K0mq1g==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/types": "8.39.1",
|
"@typescript-eslint/types": "8.38.0",
|
||||||
"eslint-visitor-keys": "^4.2.1"
|
"eslint-visitor-keys": "^4.2.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
|
@ -2395,28 +2426,28 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@vue/babel-helper-vue-transform-on": {
|
"node_modules/@vue/babel-helper-vue-transform-on": {
|
||||||
"version": "1.5.0",
|
"version": "1.4.0",
|
||||||
"resolved": "https://registry.npmjs.org/@vue/babel-helper-vue-transform-on/-/babel-helper-vue-transform-on-1.5.0.tgz",
|
"resolved": "https://registry.npmjs.org/@vue/babel-helper-vue-transform-on/-/babel-helper-vue-transform-on-1.4.0.tgz",
|
||||||
"integrity": "sha512-0dAYkerNhhHutHZ34JtTl2czVQHUNWv6xEbkdF5W+Yrv5pCWsqjeORdOgbtW2I9gWlt+wBmVn+ttqN9ZxR5tzA==",
|
"integrity": "sha512-mCokbouEQ/ocRce/FpKCRItGo+013tHg7tixg3DUNS+6bmIchPt66012kBMm476vyEIJPafrvOf4E5OYj3shSw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/@vue/babel-plugin-jsx": {
|
"node_modules/@vue/babel-plugin-jsx": {
|
||||||
"version": "1.5.0",
|
"version": "1.4.0",
|
||||||
"resolved": "https://registry.npmjs.org/@vue/babel-plugin-jsx/-/babel-plugin-jsx-1.5.0.tgz",
|
"resolved": "https://registry.npmjs.org/@vue/babel-plugin-jsx/-/babel-plugin-jsx-1.4.0.tgz",
|
||||||
"integrity": "sha512-mneBhw1oOqCd2247O0Yw/mRwC9jIGACAJUlawkmMBiNmL4dGA2eMzuNZVNqOUfYTa6vqmND4CtOPzmEEEqLKFw==",
|
"integrity": "sha512-9zAHmwgMWlaN6qRKdrg1uKsBKHvnUU+Py+MOCTuYZBoZsopa90Di10QRjB+YPnVss0BZbG/H5XFwJY1fTxJWhA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/helper-module-imports": "^7.27.1",
|
"@babel/helper-module-imports": "^7.25.9",
|
||||||
"@babel/helper-plugin-utils": "^7.27.1",
|
"@babel/helper-plugin-utils": "^7.26.5",
|
||||||
"@babel/plugin-syntax-jsx": "^7.27.1",
|
"@babel/plugin-syntax-jsx": "^7.25.9",
|
||||||
"@babel/template": "^7.27.2",
|
"@babel/template": "^7.26.9",
|
||||||
"@babel/traverse": "^7.28.0",
|
"@babel/traverse": "^7.26.9",
|
||||||
"@babel/types": "^7.28.2",
|
"@babel/types": "^7.26.9",
|
||||||
"@vue/babel-helper-vue-transform-on": "1.5.0",
|
"@vue/babel-helper-vue-transform-on": "1.4.0",
|
||||||
"@vue/babel-plugin-resolve-type": "1.5.0",
|
"@vue/babel-plugin-resolve-type": "1.4.0",
|
||||||
"@vue/shared": "^3.5.18"
|
"@vue/shared": "^3.5.13"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@babel/core": "^7.0.0-0"
|
"@babel/core": "^7.0.0-0"
|
||||||
|
@ -2428,17 +2459,17 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@vue/babel-plugin-resolve-type": {
|
"node_modules/@vue/babel-plugin-resolve-type": {
|
||||||
"version": "1.5.0",
|
"version": "1.4.0",
|
||||||
"resolved": "https://registry.npmjs.org/@vue/babel-plugin-resolve-type/-/babel-plugin-resolve-type-1.5.0.tgz",
|
"resolved": "https://registry.npmjs.org/@vue/babel-plugin-resolve-type/-/babel-plugin-resolve-type-1.4.0.tgz",
|
||||||
"integrity": "sha512-Wm/60o+53JwJODm4Knz47dxJnLDJ9FnKnGZJbUUf8nQRAtt6P+undLUAVU3Ha33LxOJe6IPoifRQ6F/0RrU31w==",
|
"integrity": "sha512-4xqDRRbQQEWHQyjlYSgZsWj44KfiF6D+ktCuXyZ8EnVDYV3pztmXJDf1HveAjUAXxAnR8daCQT51RneWWxtTyQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/code-frame": "^7.27.1",
|
"@babel/code-frame": "^7.26.2",
|
||||||
"@babel/helper-module-imports": "^7.27.1",
|
"@babel/helper-module-imports": "^7.25.9",
|
||||||
"@babel/helper-plugin-utils": "^7.27.1",
|
"@babel/helper-plugin-utils": "^7.26.5",
|
||||||
"@babel/parser": "^7.28.0",
|
"@babel/parser": "^7.26.9",
|
||||||
"@vue/compiler-sfc": "^3.5.18"
|
"@vue/compiler-sfc": "^3.5.13"
|
||||||
},
|
},
|
||||||
"funding": {
|
"funding": {
|
||||||
"url": "https://github.com/sponsors/sxzz"
|
"url": "https://github.com/sponsors/sxzz"
|
||||||
|
@ -2916,9 +2947,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/browserslist": {
|
"node_modules/browserslist": {
|
||||||
"version": "4.25.2",
|
"version": "4.25.1",
|
||||||
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.25.2.tgz",
|
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.25.1.tgz",
|
||||||
"integrity": "sha512-0si2SJK3ooGzIawRu61ZdPCO1IncZwS8IzuX73sPZsXW6EQ/w/DAfPyKI8l1ETTCr2MnvqWitmlCUxgdul45jA==",
|
"integrity": "sha512-KGj0KoOMXLpSNkkEI6Z6mShmQy0bc1I+T7K9N81k4WWMrfz+6fQ6es80B/YLAeRoKvjYE1YSHHOW1qe9xIVzHw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
|
@ -2936,8 +2967,8 @@
|
||||||
],
|
],
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"caniuse-lite": "^1.0.30001733",
|
"caniuse-lite": "^1.0.30001726",
|
||||||
"electron-to-chromium": "^1.5.199",
|
"electron-to-chromium": "^1.5.173",
|
||||||
"node-releases": "^2.0.19",
|
"node-releases": "^2.0.19",
|
||||||
"update-browserslist-db": "^1.1.3"
|
"update-browserslist-db": "^1.1.3"
|
||||||
},
|
},
|
||||||
|
@ -2985,9 +3016,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/caniuse-lite": {
|
"node_modules/caniuse-lite": {
|
||||||
"version": "1.0.30001734",
|
"version": "1.0.30001731",
|
||||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001734.tgz",
|
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001731.tgz",
|
||||||
"integrity": "sha512-uhE1Ye5vgqju6OI71HTQqcBCZrvHugk0MjLak7Q+HfoBgoq5Bi+5YnwjP4fjDgrtYr/l8MVRBvzz9dPD4KyK0A==",
|
"integrity": "sha512-lDdp2/wrOmTRWuoB5DpfNkC0rJDU8DqRa6nYL6HK6sytw70QMopt/NIc/9SM7ylItlBWfACXk0tEn37UWM/+mg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
|
@ -3317,9 +3348,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/electron-to-chromium": {
|
"node_modules/electron-to-chromium": {
|
||||||
"version": "1.5.199",
|
"version": "1.5.194",
|
||||||
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.199.tgz",
|
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.194.tgz",
|
||||||
"integrity": "sha512-3gl0S7zQd88kCAZRO/DnxtBKuhMO4h0EaQIN3YgZfV6+pW+5+bf2AdQeHNESCoaQqo/gjGVYEf2YM4O5HJQqpQ==",
|
"integrity": "sha512-SdnWJwSUot04UR51I2oPD8kuP2VI37/CADR1OHsFOUzZIvfWJBO6q11k5P/uKNyTT3cdOsnyjkrZ+DDShqYqJA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "ISC"
|
"license": "ISC"
|
||||||
},
|
},
|
||||||
|
@ -3402,23 +3433,6 @@
|
||||||
"@esbuild/win32-x64": "0.25.8"
|
"@esbuild/win32-x64": "0.25.8"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/esbuild/node_modules/@esbuild/win32-x64": {
|
|
||||||
"version": "0.25.8",
|
|
||||||
"resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.8.tgz",
|
|
||||||
"integrity": "sha512-cn3Yr7+OaaZq1c+2pe+8yxC8E144SReCQjN6/2ynubzYjvyqZjTXfQJpAcQpsdJq3My7XADANiYGHoFC69pLQw==",
|
|
||||||
"cpu": [
|
|
||||||
"x64"
|
|
||||||
],
|
|
||||||
"dev": true,
|
|
||||||
"license": "MIT",
|
|
||||||
"optional": true,
|
|
||||||
"os": [
|
|
||||||
"win32"
|
|
||||||
],
|
|
||||||
"engines": {
|
|
||||||
"node": ">=18"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/escalade": {
|
"node_modules/escalade": {
|
||||||
"version": "3.2.0",
|
"version": "3.2.0",
|
||||||
"resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz",
|
"resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz",
|
||||||
|
@ -3443,20 +3457,20 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/eslint": {
|
"node_modules/eslint": {
|
||||||
"version": "9.33.0",
|
"version": "9.32.0",
|
||||||
"resolved": "https://registry.npmjs.org/eslint/-/eslint-9.33.0.tgz",
|
"resolved": "https://registry.npmjs.org/eslint/-/eslint-9.32.0.tgz",
|
||||||
"integrity": "sha512-TS9bTNIryDzStCpJN93aC5VRSW3uTx9sClUn4B87pwiCaJh220otoI0X8mJKr+VcPtniMdN8GKjlwgWGUv5ZKA==",
|
"integrity": "sha512-LSehfdpgMeWcTZkWZVIJl+tkZ2nuSkyyB9C27MZqFWXuph7DvaowgcTvKqxvpLW1JZIk8PN7hFY3Rj9LQ7m7lg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@eslint-community/eslint-utils": "^4.2.0",
|
"@eslint-community/eslint-utils": "^4.2.0",
|
||||||
"@eslint-community/regexpp": "^4.12.1",
|
"@eslint-community/regexpp": "^4.12.1",
|
||||||
"@eslint/config-array": "^0.21.0",
|
"@eslint/config-array": "^0.21.0",
|
||||||
"@eslint/config-helpers": "^0.3.1",
|
"@eslint/config-helpers": "^0.3.0",
|
||||||
"@eslint/core": "^0.15.2",
|
"@eslint/core": "^0.15.0",
|
||||||
"@eslint/eslintrc": "^3.3.1",
|
"@eslint/eslintrc": "^3.3.1",
|
||||||
"@eslint/js": "9.33.0",
|
"@eslint/js": "9.32.0",
|
||||||
"@eslint/plugin-kit": "^0.3.5",
|
"@eslint/plugin-kit": "^0.3.4",
|
||||||
"@humanfs/node": "^0.16.6",
|
"@humanfs/node": "^0.16.6",
|
||||||
"@humanwhocodes/module-importer": "^1.0.1",
|
"@humanwhocodes/module-importer": "^1.0.1",
|
||||||
"@humanwhocodes/retry": "^0.4.2",
|
"@humanwhocodes/retry": "^0.4.2",
|
||||||
|
@ -3875,9 +3889,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/fs-extra": {
|
"node_modules/fs-extra": {
|
||||||
"version": "11.3.1",
|
"version": "11.3.0",
|
||||||
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.1.tgz",
|
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.0.tgz",
|
||||||
"integrity": "sha512-eXvGGwZ5CL17ZSwHWd3bbgk7UUpF6IFHtP57NYYakPvHOs8GDgDe5KJI36jIJzDkJ6eJjuzRA8eBQb6SkKue0g==",
|
"integrity": "sha512-Z4XaCL6dUDHfP/jT25jJKMmtxvuwbkrD1vNSMFlo9lNLY2c5FHYSQgHPRZUjAB26TpDEoW9HCOgplrdbaPV/ew==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -5371,20 +5385,6 @@
|
||||||
"fsevents": "~2.3.2"
|
"fsevents": "~2.3.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/rollup/node_modules/@rollup/rollup-win32-x64-msvc": {
|
|
||||||
"version": "4.46.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.46.2.tgz",
|
|
||||||
"integrity": "sha512-CvUo2ixeIQGtF6WvuB87XWqPQkoFAFqW+HUo/WzHwuHDvIwZCtjdWXoYCcr06iKGydiqTclC4jU/TNObC/xKZg==",
|
|
||||||
"cpu": [
|
|
||||||
"x64"
|
|
||||||
],
|
|
||||||
"dev": true,
|
|
||||||
"license": "MIT",
|
|
||||||
"optional": true,
|
|
||||||
"os": [
|
|
||||||
"win32"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"node_modules/rrweb-cssom": {
|
"node_modules/rrweb-cssom": {
|
||||||
"version": "0.8.0",
|
"version": "0.8.0",
|
||||||
"resolved": "https://registry.npmjs.org/rrweb-cssom/-/rrweb-cssom-0.8.0.tgz",
|
"resolved": "https://registry.npmjs.org/rrweb-cssom/-/rrweb-cssom-0.8.0.tgz",
|
||||||
|
@ -5956,16 +5956,16 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/typescript-eslint": {
|
"node_modules/typescript-eslint": {
|
||||||
"version": "8.39.1",
|
"version": "8.38.0",
|
||||||
"resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.39.1.tgz",
|
"resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.38.0.tgz",
|
||||||
"integrity": "sha512-GDUv6/NDYngUlNvwaHM1RamYftxf782IyEDbdj3SeaIHHv8fNQVRC++fITT7kUJV/5rIA/tkoRSSskt6osEfqg==",
|
"integrity": "sha512-FsZlrYK6bPDGoLeZRuvx2v6qrM03I0U0SnfCLPs/XCCPCFD80xU9Pg09H/K+XFa68uJuZo7l/Xhs+eDRg2l3hg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/eslint-plugin": "8.39.1",
|
"@typescript-eslint/eslint-plugin": "8.38.0",
|
||||||
"@typescript-eslint/parser": "8.39.1",
|
"@typescript-eslint/parser": "8.38.0",
|
||||||
"@typescript-eslint/typescript-estree": "8.39.1",
|
"@typescript-eslint/typescript-estree": "8.38.0",
|
||||||
"@typescript-eslint/utils": "8.39.1"
|
"@typescript-eslint/utils": "8.38.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
||||||
|
@ -5976,7 +5976,7 @@
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"eslint": "^8.57.0 || ^9.0.0",
|
"eslint": "^8.57.0 || ^9.0.0",
|
||||||
"typescript": ">=4.8.4 <6.0.0"
|
"typescript": ">=4.8.4 <5.9.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/undici-types": {
|
"node_modules/undici-types": {
|
||||||
|
@ -6010,14 +6010,14 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/unplugin-utils": {
|
"node_modules/unplugin-utils": {
|
||||||
"version": "0.2.5",
|
"version": "0.2.4",
|
||||||
"resolved": "https://registry.npmjs.org/unplugin-utils/-/unplugin-utils-0.2.5.tgz",
|
"resolved": "https://registry.npmjs.org/unplugin-utils/-/unplugin-utils-0.2.4.tgz",
|
||||||
"integrity": "sha512-gwXJnPRewT4rT7sBi/IvxKTjsms7jX7QIDLOClApuZwR49SXbrB1z2NLUZ+vDHyqCj/n58OzRRqaW+B8OZi8vg==",
|
"integrity": "sha512-8U/MtpkPkkk3Atewj1+RcKIjb5WBimZ/WSLhhR3w6SsIj8XJuKTacSP8g+2JhfSGw0Cb125Y+2zA/IzJZDVbhA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"pathe": "^2.0.3",
|
"pathe": "^2.0.2",
|
||||||
"picomatch": "^4.0.3"
|
"picomatch": "^4.0.2"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18.12.0"
|
"node": ">=18.12.0"
|
||||||
|
@ -6088,9 +6088,9 @@
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/vite": {
|
"node_modules/vite": {
|
||||||
"version": "7.1.1",
|
"version": "7.0.6",
|
||||||
"resolved": "https://registry.npmjs.org/vite/-/vite-7.1.1.tgz",
|
"resolved": "https://registry.npmjs.org/vite/-/vite-7.0.6.tgz",
|
||||||
"integrity": "sha512-yJ+Mp7OyV+4S+afWo+QyoL9jFWD11QFH0i5i7JypnfTcA1rmgxCbiA8WwAICDEtZ1Z1hzrVhN8R8rGTqkTY8ZQ==",
|
"integrity": "sha512-MHFiOENNBd+Bd9uvc8GEsIzdkn1JxMmEeYX35tI3fv0sJBUTfW5tQsoaOwuY4KhBI09A3dUJ/DXf2yxPVPUceg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -6098,7 +6098,7 @@
|
||||||
"fdir": "^6.4.6",
|
"fdir": "^6.4.6",
|
||||||
"picomatch": "^4.0.3",
|
"picomatch": "^4.0.3",
|
||||||
"postcss": "^8.5.6",
|
"postcss": "^8.5.6",
|
||||||
"rollup": "^4.43.0",
|
"rollup": "^4.40.0",
|
||||||
"tinyglobby": "^0.2.14"
|
"tinyglobby": "^0.2.14"
|
||||||
},
|
},
|
||||||
"bin": {
|
"bin": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@cellule-financiere-pmo/visua-vue",
|
"name": "@cellule-financiere-pmo/visua-vue",
|
||||||
"version": "1.0.28",
|
"version": "1.0.24",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"description": "Vue.js components of the Visua Design System.",
|
"description": "Vue.js components of the Visua Design System.",
|
||||||
"main": "./dist/visua-vue.umd.cjs",
|
"main": "./dist/visua-vue.umd.cjs",
|
||||||
|
|
14
src/App.vue
14
src/App.vue
|
@ -12,10 +12,9 @@
|
||||||
// import VFileUploadView from '../template/VFileUploadView.vue';
|
// import VFileUploadView from '../template/VFileUploadView.vue';
|
||||||
// import VAlertView from '../template/VAlertView.vue';
|
// import VAlertView from '../template/VAlertView.vue';
|
||||||
// import VModalView from '../template/VModalView.vue';
|
// import VModalView from '../template/VModalView.vue';
|
||||||
// import VConfirmModalView from '../template/VConfirmModalView.vue';
|
import VConfirmModalView from '../template/VConfirmModalView.vue';
|
||||||
import VDataTableView from '../template/VDataTableView.vue';
|
// import VDataTableView from '../template/VDataTableView.vue';
|
||||||
// import VMenuBarView from '../template/VMenuBarView.vue'
|
// import VMenuBarView from '../template/VMenuBarView.vue'
|
||||||
// import VDataTable from './components/table/VDataTable.vue';
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
@ -26,18 +25,17 @@ import VDataTableView from '../template/VDataTableView.vue';
|
||||||
<!-- <VAccordionView/> -->
|
<!-- <VAccordionView/> -->
|
||||||
<!-- <VInputView/> -->
|
<!-- <VInputView/> -->
|
||||||
<!-- <VCheckboxView/> -->
|
<!-- <VCheckboxView/> -->
|
||||||
<!-- <VBadgeView/>-->
|
<!-- <VBadgeView/>
|
||||||
<!-- <VSelectView/> -->
|
<VSelectView/> -->
|
||||||
<!-- <VProgressBarView/> -->
|
<!-- <VProgressBarView/> -->
|
||||||
<!-- <VMessageView/> -->
|
<!-- <VMessageView/> -->
|
||||||
<!-- <VFileUploadView/> -->
|
<!-- <VFileUploadView/> -->
|
||||||
<!-- <VAlertView/> -->
|
<!-- <VAlertView/> -->
|
||||||
<!-- <VModalView/> -->
|
<!-- <VModalView/> -->
|
||||||
<!-- <VConfirmModalView/> -->
|
<VConfirmModalView/>
|
||||||
<VDataTableView/>
|
<!-- <VDataTableView/> -->
|
||||||
<!-- <RouterView/> -->
|
<!-- <RouterView/> -->
|
||||||
<!-- <VMenuBarView/> -->
|
<!-- <VMenuBarView/> -->
|
||||||
<!-- <VDataTable/> -->
|
|
||||||
</template>
|
</template>
|
||||||
<style lang="css" scoped>
|
<style lang="css" scoped>
|
||||||
*{
|
*{
|
||||||
|
|
|
@ -53,21 +53,21 @@
|
||||||
--p-datatable-footer-border-color: var(--p-datatable-border-color);
|
--p-datatable-footer-border-color: var(--p-datatable-border-color);
|
||||||
--p-datatable-footer-color: var(--p-content-color);
|
--p-datatable-footer-color: var(--p-content-color);
|
||||||
--p-datatable-footer-border-width: 0 0 1px 0;
|
--p-datatable-footer-border-width: 0 0 1px 0;
|
||||||
--p-datatable-footer-padding: 0.75rem;
|
--p-datatable-footer-padding: 1rem;
|
||||||
--p-datatable-footer-lg-padding: 1rem;
|
--p-datatable-footer-lg-padding: 1.25rem;
|
||||||
--p-datatable-footer-sm-padding: 0.5rem;
|
--p-datatable-footer-sm-padding: 0.5rem;
|
||||||
--p-datatable-column-footer-font-weight: 600;
|
--p-datatable-column-footer-font-weight: 600;
|
||||||
--p-datatable-footer-cell-background: var(--datatable-background);
|
--p-datatable-footer-cell-background: var(--datatable-background);
|
||||||
--p-datatable-footer-cell-border-color: var(--p-datatable-border-color);
|
--p-datatable-footer-cell-border-color: var(--p-datatable-border-color);
|
||||||
--p-datatable-footer-cell-color: var(--p-content-color);
|
--p-datatable-footer-cell-color: var(--p-content-color);
|
||||||
--p-datatable-footer-cell-padding: 0.75rem;
|
--p-datatable-footer-cell-padding: 1rem;
|
||||||
--p-datatable-footer-cell-lg-padding: 1rem;
|
--p-datatable-footer-cell-lg-padding: 1.25rem;
|
||||||
--p-datatable-footer-cell-sm-padding: 0.5rem;
|
--p-datatable-footer-cell-sm-padding: 0.5rem;
|
||||||
--p-datatable-body-cell-border-color: var(--p-datatable-border-color);
|
--p-datatable-body-cell-border-color: var(--p-datatable-border-color);
|
||||||
--p-datatable-body-cell-padding: 0.75rem;
|
--p-datatable-body-cell-padding: 1rem;
|
||||||
--p-datatable-body-cell-lg-padding: 1rem;
|
--p-datatable-body-cell-lg-padding: 1.25rem;
|
||||||
--p-datatable-body-cell-sm-padding: 0.5rem;
|
--p-datatable-body-cell-sm-padding: 0.5rem;
|
||||||
--p-datatable-row-background: var(--datatable-background);
|
--p-datatable-row-background: var(--datatable-alt-background);
|
||||||
--p-datatable-row-hover-background: var(--datatable-hover-background);
|
--p-datatable-row-hover-background: var(--datatable-hover-background);
|
||||||
--p-datatable-row-selected-background: var(--datatable-active-background);
|
--p-datatable-row-selected-background: var(--datatable-active-background);
|
||||||
--p-datatable-row-color: var(--datatable-row-color);
|
--p-datatable-row-color: var(--datatable-row-color);
|
||||||
|
@ -78,17 +78,17 @@
|
||||||
--p-datatable-row-focus-ring-color: var(--focus-color);
|
--p-datatable-row-focus-ring-color: var(--focus-color);
|
||||||
--p-datatable-row-focus-ring-offset: -1px;
|
--p-datatable-row-focus-ring-offset: -1px;
|
||||||
/* --p-datatable-row-focus-ring-shadow: var(--p-focus-ring-shadow); */
|
/* --p-datatable-row-focus-ring-shadow: var(--p-focus-ring-shadow); */
|
||||||
--p-datatable-column-title-font-weight: var(--text-body-SM-detail-text-Medium-weight);
|
--p-datatable-column-title-font-weight: var(--text-body-SM-detail-text-Bold-weight);
|
||||||
--p-datatable-header-cell-background: var(--primary-color-850-blue-france-default);
|
--p-datatable-header-cell-background: var(--datatable-background);
|
||||||
--p-datatable-header-cell-hover-background: var(--primary-color-850-blue-france-hover);
|
--p-datatable-header-cell-hover-background: var(--datatable-hover-background);
|
||||||
--p-datatable-header-cell-selected-background: var(--primary-color-850-blue-france-active);
|
--p-datatable-header-cell-selected-background: var(--datatable-active-background);
|
||||||
--p-datatable-header-cell-border-color: var(--border-plain-grey);
|
--p-datatable-header-cell-border-color: var(--border-plain-grey);
|
||||||
--p-datatable-header-cell-color: var(--datatable-header-cell-color);
|
--p-datatable-header-cell-color: var(--datatable-header-cell-color);
|
||||||
--p-datatable-header-cell-hover-color: var(--datatable-header-cell-color);
|
--p-datatable-header-cell-hover-color: var(--datatable-header-cell-color);
|
||||||
--p-datatable-header-cell-selected-color: var(--datatable-header-cell-color);
|
--p-datatable-header-cell-selected-color: var(--datatable-header-cell-color);
|
||||||
--p-datatable-header-cell-gap: 0.5rem;
|
--p-datatable-header-cell-gap: 0.5rem;
|
||||||
--p-datatable-header-cell-padding: 0.75rem;
|
--p-datatable-header-cell-padding: 1rem;
|
||||||
--p-datatable-header-cell-lg-padding: 1rem;
|
--p-datatable-header-cell-lg-padding: 1.25rem;
|
||||||
--p-datatable-header-cell-sm-padding: 0.5rem;
|
--p-datatable-header-cell-sm-padding: 0.5rem;
|
||||||
--p-datatable-header-cell-focus-ring-width: var(--focus-width);
|
--p-datatable-header-cell-focus-ring-width: var(--focus-width);
|
||||||
--p-datatable-header-cell-focus-ring-style: var(--focus-style);
|
--p-datatable-header-cell-focus-ring-style: var(--focus-style);
|
||||||
|
@ -96,11 +96,11 @@
|
||||||
--p-datatable-header-cell-focus-ring-offset: -1px;
|
--p-datatable-header-cell-focus-ring-offset: -1px;
|
||||||
/* --p-datatable-header-cell-focus-ring-shadow: var(--p-focus-ring-shadow); */
|
/* --p-datatable-header-cell-focus-ring-shadow: var(--p-focus-ring-shadow); */
|
||||||
--p-datatable-header-background: var(--datatable-background);
|
--p-datatable-header-background: var(--datatable-background);
|
||||||
--p-datatable-header-border-color: transparent;
|
--p-datatable-header-border-color: var(--border-default-grey);
|
||||||
--p-datatable-header-color: var(--datatable-header-cell-color);
|
--p-datatable-header-color: var(--datatable-header-cell-color);
|
||||||
--p-datatable-header-border-width: 0 0 1px 0;
|
--p-datatable-header-border-width: 0 0 1px 0;
|
||||||
--p-datatable-header-padding: 0.75rem;
|
--p-datatable-header-padding: 1rem;
|
||||||
--p-datatable-header-lg-padding: 1rem;
|
--p-datatable-header-lg-padding: 1.25rem;
|
||||||
--p-datatable-header-sm-padding: 0.5rem;
|
--p-datatable-header-sm-padding: 0.5rem;
|
||||||
/* --p-datatable-transition-duration: var(--p-transition-duration); */
|
/* --p-datatable-transition-duration: var(--p-transition-duration); */
|
||||||
--p-datatable-body-cell-selected-border-color: var(--datatable-active-background);
|
--p-datatable-body-cell-selected-border-color: var(--datatable-active-background);
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
--p-fileupload-header-border-width: 0;
|
--p-fileupload-header-border-width: 0;
|
||||||
--p-fileupload-header-border-radius: 0;
|
--p-fileupload-header-border-radius: 0;
|
||||||
--p-fileupload-header-gap: 0.5rem;
|
--p-fileupload-header-gap: 0.5rem;
|
||||||
--p-fileupload-background: var(--background-default-grey);
|
--p-fileupload-background: var(--background-transparent);
|
||||||
--p-fileupload-border-color: var(--border-default-grey);
|
--p-fileupload-border-color: var(--border-default-grey);
|
||||||
--p-fileupload-color: var(--text-default-grey);
|
--p-fileupload-color: var(--text-default-grey);
|
||||||
--p-fileupload-border-radius: 0px;
|
--p-fileupload-border-radius: 0px;
|
||||||
|
|
|
@ -15,11 +15,7 @@ import styles from '@visua/typography.module.css';
|
||||||
|
|
||||||
const fileUploadRef = ref();
|
const fileUploadRef = ref();
|
||||||
const fileProgressMap = ref<Record<string, number>>({});
|
const fileProgressMap = ref<Record<string, number>>({});
|
||||||
const hasValidationError = ref(false);
|
const hasActiveError = ref(false);
|
||||||
const hasSystemError = ref(false);
|
|
||||||
const systemErrorMessage = ref('');
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
defineOptions({
|
defineOptions({
|
||||||
inheritAttrs: false,
|
inheritAttrs: false,
|
||||||
|
@ -76,6 +72,7 @@ const handleSelect = (event: FileUploadSelectEvent) => {
|
||||||
|
|
||||||
const handleClear = () => {
|
const handleClear = () => {
|
||||||
emit('clear');
|
emit('clear');
|
||||||
|
hasActiveError.value = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleUpload = (event: FileUploadUploadEvent) => {
|
const handleUpload = (event: FileUploadUploadEvent) => {
|
||||||
|
@ -84,6 +81,7 @@ const handleUpload = (event: FileUploadUploadEvent) => {
|
||||||
|
|
||||||
const handleRemove = (event: FileUploadRemoveEvent) => {
|
const handleRemove = (event: FileUploadRemoveEvent) => {
|
||||||
emit('remove', event);
|
emit('remove', event);
|
||||||
|
hasActiveError.value =false;
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleProgress = (event: FileUploadProgressEvent) => {
|
const handleProgress = (event: FileUploadProgressEvent) => {
|
||||||
|
@ -97,21 +95,11 @@ const handleProgress = (event: FileUploadProgressEvent) => {
|
||||||
|
|
||||||
const handleError = (event: FileUploadErrorEvent) => {
|
const handleError = (event: FileUploadErrorEvent) => {
|
||||||
emit('error', event);
|
emit('error', event);
|
||||||
hasSystemError.value = true;
|
hasActiveError.value = true;
|
||||||
|
|
||||||
const status = event.xhr?.status;
|
|
||||||
const statusText = event.xhr?.statusText || 'Erreur inconnue';
|
|
||||||
const fileNames = Array.isArray(event.files)
|
|
||||||
? event.files.map(f => f.name).join(', ')
|
|
||||||
: event.files.name;
|
|
||||||
|
|
||||||
systemErrorMessage.value = `Echec de téléversement du fichier ${fileNames} {Status : ${status} | Message : <${statusText}>}`;
|
|
||||||
|
|
||||||
if (!props.advanced && fileUploadRef.value) {
|
if (!props.advanced && fileUploadRef.value) {
|
||||||
fileUploadRef.value.uploadedFiles = [];
|
fileUploadRef.value.uploadedFiles = [];
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
|
|
||||||
|
|
||||||
const lastSelectedFile = computed(() => {
|
const lastSelectedFile = computed(() => {
|
||||||
const files = fileUploadRef.value?.files || [];
|
const files = fileUploadRef.value?.files || [];
|
||||||
|
@ -126,10 +114,10 @@ const padding = computed(() => props.advanced ? '1.125rem' : '0rem')
|
||||||
const borderColor = computed(() => props.advanced ? 'var(--border-default-grey)' : 'transparent');
|
const borderColor = computed(() => props.advanced ? 'var(--border-default-grey)' : 'transparent');
|
||||||
|
|
||||||
const labelState = computed(() => {
|
const labelState = computed(() => {
|
||||||
if ((hasValidationError.value || hasSystemError.value) && !props.disabled) return 'error';
|
if(!hasActiveError.value && !props.disabled) return 'default';
|
||||||
return 'default';
|
else if(hasActiveError.value && !props.disabled) return 'error';
|
||||||
});
|
else return undefined
|
||||||
|
})
|
||||||
|
|
||||||
type MessageType = 'alert' | 'warning' | 'success' | 'info';
|
type MessageType = 'alert' | 'warning' | 'success' | 'info';
|
||||||
|
|
||||||
|
@ -234,21 +222,21 @@ const globalStatusMessage = computed<{
|
||||||
title="parcourir les fichiers"
|
title="parcourir les fichiers"
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
v-if="(!slotProps.files || slotProps.files.length === 0) && (!slotProps.uploadedFiles || slotProps.uploadedFiles.length === 0) && !(hasSystemError || hasValidationError)"
|
v-if="(!slotProps.files || slotProps.files.length === 0) && (!slotProps.uploadedFiles || slotProps.uploadedFiles.length === 0) && !hasActiveError"
|
||||||
:class="[styles['text-body-SM-detail-text-Regular']]"
|
:class="[styles['text-body-SM-detail-text-Regular']]"
|
||||||
>
|
>
|
||||||
Aucun fichier sélectionné
|
Aucun fichier sélectionné
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template #empty v-if="props.advanced && !(hasSystemError || hasValidationError)">
|
<template #empty v-if="props.advanced && !hasActiveError">
|
||||||
<div class="fileupload-empty" :class="[styles['text-body-SM-detail-text-Regular']]">
|
<div class="fileupload-empty" :class="[styles['text-body-SM-detail-text-Regular']]">
|
||||||
<i class="ri-upload-cloud-line upload-cloud-icon"></i>
|
<i class="ri-upload-cloud-line upload-cloud-icon"></i>
|
||||||
<p>Glissez-déposez les fichiers ici pour les téléverser.</p>
|
<p>Glissez-déposez les fichiers ici pour les téléverser.</p>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template #content="slotProps">
|
<template #content="slotProps">
|
||||||
<div v-if="props.advanced && !(hasValidationError || hasSystemError)" style="margin-top: 0.75rem;" class="file-content">
|
<div v-if="props.advanced && !hasActiveError" style="margin-top: 0.75rem;" class="file-content">
|
||||||
<VMessage
|
<VMessage
|
||||||
v-if="globalStatusMessage"
|
v-if="globalStatusMessage"
|
||||||
:type="globalStatusMessage.type"
|
:type="globalStatusMessage.type"
|
||||||
|
@ -283,7 +271,7 @@ const globalStatusMessage = computed<{
|
||||||
</div>
|
</div>
|
||||||
</VScrollPanel>
|
</VScrollPanel>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="!props.advanced && !(hasValidationError || hasSystemError)">
|
<div v-if="!props.advanced && !hasActiveError">
|
||||||
<VFile
|
<VFile
|
||||||
v-if="lastSelectedFile"
|
v-if="lastSelectedFile"
|
||||||
:file="lastSelectedFile"
|
:file="lastSelectedFile"
|
||||||
|
@ -302,17 +290,14 @@ const globalStatusMessage = computed<{
|
||||||
aria-live="polite"
|
aria-live="polite"
|
||||||
>
|
>
|
||||||
<VHint
|
<VHint
|
||||||
v-for="message of [...(slotProps.messages ?? []), ...(hasSystemError ? [systemErrorMessage] : [])]"
|
v-for="message of slotProps.messages"
|
||||||
:key="message"
|
:key="message"
|
||||||
:title="message"
|
:title="message"
|
||||||
type="alert"
|
type="alert"
|
||||||
icon
|
icon
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<VLabelErrorProxy
|
<VLabelErrorProxy :hasError="(slotProps.messages ?? []).length > 0" @update:error="hasActiveError = $event" />
|
||||||
:hasError="(slotProps.messages ?? []).length > 0"
|
|
||||||
@update:error="hasValidationError = $event"
|
|
||||||
/>
|
|
||||||
</template>
|
</template>
|
||||||
</FileUpload>
|
</FileUpload>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -70,7 +70,7 @@ const labelState = computed(() => {
|
||||||
v-if="props.labelVisible"
|
v-if="props.labelVisible"
|
||||||
:for="props.id"
|
:for="props.id"
|
||||||
:label="props.label"
|
:label="props.label"
|
||||||
:required="!props.disabled && props.required"
|
:required="!props.disabled"
|
||||||
:disabled="props.disabled"
|
:disabled="props.disabled"
|
||||||
:type="labelState"
|
:type="labelState"
|
||||||
:hint="props.hint"
|
:hint="props.hint"
|
||||||
|
|
|
@ -14,7 +14,6 @@ const props = withDefaults(defineProps<IVLabel>(), {
|
||||||
<template>
|
<template>
|
||||||
<label
|
<label
|
||||||
:for="props.for"
|
:for="props.for"
|
||||||
class="label-container"
|
|
||||||
:class="[styles['text-body-MD-standard-text-Regular'], {
|
:class="[styles['text-body-MD-standard-text-Regular'], {
|
||||||
'label': props.type === 'default',
|
'label': props.type === 'default',
|
||||||
'success': props.type === 'success',
|
'success': props.type === 'success',
|
||||||
|
@ -24,14 +23,12 @@ const props = withDefaults(defineProps<IVLabel>(), {
|
||||||
:aria-label="props.label"
|
:aria-label="props.label"
|
||||||
:aria-disabled="props.disabled"
|
:aria-disabled="props.disabled"
|
||||||
>
|
>
|
||||||
<span>
|
|
||||||
{{ props.label }}
|
{{ props.label }}
|
||||||
<template v-if="props.required">
|
<template v-if="props.required">
|
||||||
<span v-if="props.required" :class="{ 'required': !props.disabled}">
|
<span v-if="props.required" :class="{ 'required': !props.disabled}">
|
||||||
<slot name="required-tip">*</slot>
|
<slot name="required-tip">*</slot>
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</span>
|
|
||||||
<VHint
|
<VHint
|
||||||
v-if="props.hint"
|
v-if="props.hint"
|
||||||
:title="props.hint"
|
:title="props.hint"
|
||||||
|
@ -41,18 +38,6 @@ const props = withDefaults(defineProps<IVLabel>(), {
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style lang="css" scoped>
|
<style lang="css" scoped>
|
||||||
*{
|
|
||||||
padding: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.label-container{
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
align-items: start;
|
|
||||||
gap: 0.25rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.label {color: var(--text-label-grey);}
|
.label {color: var(--text-label-grey);}
|
||||||
.success {color: var(--text-default-success);}
|
.success {color: var(--text-default-success);}
|
||||||
.error {color: var(--text-default-error);}
|
.error {color: var(--text-default-error);}
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
import Menubar from 'primevue/menubar';
|
import Menubar from 'primevue/menubar';
|
||||||
import type IVMenuBar from './IVMenuBar.type.js';
|
import type IVMenuBar from './IVMenuBar.type.js';
|
||||||
import styles from '@visua/typography.module.css'
|
import styles from '@visua/typography.module.css'
|
||||||
import { useRoute } from 'vue-router';
|
|
||||||
|
|
||||||
const props = withDefaults(defineProps<IVMenuBar>(), {
|
const props = withDefaults(defineProps<IVMenuBar>(), {
|
||||||
searchbarId: 'searchbar-header',
|
searchbarId: 'searchbar-header',
|
||||||
|
@ -15,8 +14,6 @@ const props = withDefaults(defineProps<IVMenuBar>(), {
|
||||||
menuLabel: undefined,
|
menuLabel: undefined,
|
||||||
logoPath: '/home',
|
logoPath: '/home',
|
||||||
})
|
})
|
||||||
|
|
||||||
const route = useRoute();
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
@ -53,9 +50,7 @@ const route = useRoute();
|
||||||
:tabindex="0"
|
:tabindex="0"
|
||||||
v-bind="props.action"
|
v-bind="props.action"
|
||||||
class="item"
|
class="item"
|
||||||
:class="[styles['text-body-LG-article-text-Regular'],
|
:class="[styles['text-body-LG-article-text-Regular']]"
|
||||||
item.to === route.path ? 'active' : ''
|
|
||||||
]"
|
|
||||||
>
|
>
|
||||||
<slot name="itemicon" :item="item" v-if="'icon' in item">
|
<slot name="itemicon" :item="item" v-if="'icon' in item">
|
||||||
<i :class="[item.icon]"></i>
|
<i :class="[item.icon]"></i>
|
||||||
|
@ -110,13 +105,7 @@ a{
|
||||||
}
|
}
|
||||||
|
|
||||||
.item:hover,
|
.item:hover,
|
||||||
.item.active{
|
.item:active{
|
||||||
color: var(--menu-active-color);
|
color: var(--menu-active-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
.item.active {
|
|
||||||
height: 100%;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import Select, { type SelectSlots } from 'primevue/select';
|
import Select from 'primevue/select';
|
||||||
import type IVSelect from './IVSelect.type.js';
|
import type IVSelect from './IVSelect.type.js';
|
||||||
import { useId, computed, watch, ref } from 'vue';
|
import { useId, computed, watch, ref } from 'vue';
|
||||||
import VLabel from '../label/VLabel.vue';
|
import VLabel from '../label/VLabel.vue';
|
||||||
|
@ -29,7 +29,9 @@ const props = withDefaults(defineProps<IVSelect>(), {
|
||||||
selectionMessage: 'Elements sélectionnés',
|
selectionMessage: 'Elements sélectionnés',
|
||||||
emptySelectionMessage: 'Aucun élément sélectionné',
|
emptySelectionMessage: 'Aucun élément sélectionné',
|
||||||
emptyFilterMessage: 'Aucun résultat trouvé',
|
emptyFilterMessage: 'Aucun résultat trouvé',
|
||||||
emptyMessage: 'Aucune option disponible'
|
emptyMessage: 'Aucune option disponible',
|
||||||
|
optionTemplate: false,
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
||||||
const emit = defineEmits([
|
const emit = defineEmits([
|
||||||
|
@ -76,33 +78,6 @@ const labelState = computed(() => {
|
||||||
else if(props.errorMessage && !props.successMessage && !props.disabled) return 'error';
|
else if(props.errorMessage && !props.successMessage && !props.disabled) return 'error';
|
||||||
else return undefined
|
else return undefined
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
type VSelectSlots = SelectSlots & {
|
|
||||||
required?: (props: Record<string, unknown>) => unknown
|
|
||||||
};
|
|
||||||
|
|
||||||
const slots = defineSlots<VSelectSlots>();
|
|
||||||
|
|
||||||
const selectSlotKeys = [
|
|
||||||
'value',
|
|
||||||
'header',
|
|
||||||
'footer',
|
|
||||||
'option',
|
|
||||||
'optiongroup',
|
|
||||||
'emptyfilter',
|
|
||||||
'empty',
|
|
||||||
'content',
|
|
||||||
'loader',
|
|
||||||
'clearicon',
|
|
||||||
'dropdownicon',
|
|
||||||
'loadingicon',
|
|
||||||
'filtericon'
|
|
||||||
] as const;
|
|
||||||
|
|
||||||
const availableSlots = computed(() =>
|
|
||||||
selectSlotKeys.filter((key) => !!slots[key]).map((key) => [key, slots[key]])
|
|
||||||
);
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
@ -111,13 +86,13 @@ const availableSlots = computed(() =>
|
||||||
v-if="props.label"
|
v-if="props.label"
|
||||||
:for="props.selectId"
|
:for="props.selectId"
|
||||||
:label="props.label"
|
:label="props.label"
|
||||||
:required="props.required && !props.disabled"
|
:required="!props.disabled"
|
||||||
:disabled="props.disabled"
|
:disabled="props.disabled"
|
||||||
:type="labelState"
|
:type="labelState"
|
||||||
:hint="props.hint"
|
:hint="props.hint"
|
||||||
>
|
>
|
||||||
<template #required-type v-if="props.required">
|
<template #required-type v-if="props.required">
|
||||||
<slot name="required"/>
|
<slot name="required-type"/>
|
||||||
</template>
|
</template>
|
||||||
</VLabel>
|
</VLabel>
|
||||||
<Select
|
<Select
|
||||||
|
@ -166,12 +141,8 @@ const availableSlots = computed(() =>
|
||||||
}
|
}
|
||||||
]"
|
]"
|
||||||
>
|
>
|
||||||
<template
|
<template v-if="props.optionTemplate" #option="{option, selected, index}">
|
||||||
v-for="([name]) in availableSlots"
|
<slot name="option" :option="option" :selected="selected" :index="index"/>
|
||||||
:key="name"
|
|
||||||
v-slot:[name]="slotProps"
|
|
||||||
>
|
|
||||||
<slot :name="name" v-bind="slotProps" />
|
|
||||||
</template>
|
</template>
|
||||||
</Select>
|
</Select>
|
||||||
<div
|
<div
|
||||||
|
@ -203,8 +174,6 @@ const availableSlots = computed(() =>
|
||||||
--p-select-dropdown-color: var(--text-disabled-grey);
|
--p-select-dropdown-color: var(--text-disabled-grey);
|
||||||
}
|
}
|
||||||
|
|
||||||
.p-select.error, .p-select.success{border-width: var(--large-border-width);}
|
|
||||||
|
|
||||||
.p-select.error{
|
.p-select.error{
|
||||||
--p-select-border-color: var(--border-plain-error);
|
--p-select-border-color: var(--border-plain-error);
|
||||||
--p-select-hover-border-color: var(--border-plain-error);
|
--p-select-hover-border-color: var(--border-plain-error);
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
import DataTable from 'primevue/datatable';
|
import DataTable from 'primevue/datatable';
|
||||||
import type { DataTableProps, DataTableSlots } from 'primevue/datatable';
|
import type { DataTableProps, DataTableSlots } from 'primevue/datatable';
|
||||||
import { useId, ref, watch, computed } from 'vue';
|
import { useId, ref, watch, computed } from 'vue';
|
||||||
import styles from '@visua/typography.module.css';
|
|
||||||
|
|
||||||
export interface IVDataTable extends Partial<Omit<DataTableProps, 'pt' | 'dt' | 'ptOptions' | 'unstyled'>>{
|
export interface IVDataTable extends Partial<Omit<DataTableProps, 'pt' | 'dt' | 'ptOptions' | 'unstyled'>>{
|
||||||
id?: string
|
id?: string
|
||||||
|
@ -416,31 +415,11 @@ watch(localEditingRows, (newVal) => {
|
||||||
<slot :name="name" v-bind="slotProps" />
|
<slot :name="name" v-bind="slotProps" />
|
||||||
</template>
|
</template>
|
||||||
<slot></slot>
|
<slot></slot>
|
||||||
<template #empty>
|
|
||||||
<div class="datatable-empty" :class="[styles['text-body-SM-detail-text-Regular']]">
|
|
||||||
<i class="ri-database-line database-icon"></i>
|
|
||||||
<span> Aucune donnée trouvée. </span>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
</DataTable>
|
</DataTable>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style lang="css" scoped>
|
<style lang="css" scoped>
|
||||||
.datatable-empty{
|
.p-datatable{
|
||||||
height: fit-content;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
align-items: center;
|
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
gap: 1.5rem;
|
|
||||||
margin-top: 1.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.database-icon{
|
|
||||||
padding: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
display: block;
|
|
||||||
color: var(--border-contrast-grey);
|
|
||||||
font-size: 5rem;
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
34
test/VuseAlert.spec.ts
Normal file
34
test/VuseAlert.spec.ts
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
import { describe, it, expect, vi } from 'vitest'
|
||||||
|
|
||||||
|
// 1️⃣ Mock BEFORE importing useAlert
|
||||||
|
const addSpy = vi.fn()
|
||||||
|
vi.mock('primevue/usetoast', () => ({
|
||||||
|
useToast: () => ({
|
||||||
|
add: addSpy
|
||||||
|
})
|
||||||
|
}))
|
||||||
|
|
||||||
|
// 2️⃣ Import le module après que le mock soit actif
|
||||||
|
import { useAlert } from '../src/components/composable/useAlert'
|
||||||
|
|
||||||
|
describe('useAlert', () => {
|
||||||
|
it('should call toast.add with correct options', () => {
|
||||||
|
const { showAlert } = useAlert()
|
||||||
|
|
||||||
|
showAlert({
|
||||||
|
title: 'Test title',
|
||||||
|
description: 'Test description',
|
||||||
|
type: 'warn',
|
||||||
|
closeable: true,
|
||||||
|
lifeTime: 3000,
|
||||||
|
})
|
||||||
|
|
||||||
|
expect(addSpy).toHaveBeenCalledWith({
|
||||||
|
severity: 'warn',
|
||||||
|
summary: 'Test title',
|
||||||
|
detail: 'Test description',
|
||||||
|
closable: true,
|
||||||
|
life: 3000,
|
||||||
|
})
|
||||||
|
})
|
||||||
|
})
|
34
test/VuseConfirmModal.spec.ts
Normal file
34
test/VuseConfirmModal.spec.ts
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
// tests/useConfirmModal.spec.ts
|
||||||
|
import { describe, it, expect, vi } from 'vitest'
|
||||||
|
|
||||||
|
// ✅ Mock AVANT import de useConfirmModal
|
||||||
|
const requireSpy = vi.fn()
|
||||||
|
vi.mock('primevue', () => ({
|
||||||
|
useConfirm: () => ({
|
||||||
|
require: requireSpy
|
||||||
|
})
|
||||||
|
}))
|
||||||
|
|
||||||
|
import { useConfirmModal } from '../src/components/composable/useConfirmModal'
|
||||||
|
|
||||||
|
describe('useConfirmModal', () => {
|
||||||
|
it('should call confirm.require with the given options', () => {
|
||||||
|
const { showConfirmModal } = useConfirmModal()
|
||||||
|
|
||||||
|
const options = {
|
||||||
|
header: 'Confirm Header',
|
||||||
|
message: 'Are you sure?',
|
||||||
|
accept: vi.fn(),
|
||||||
|
reject: vi.fn(),
|
||||||
|
}
|
||||||
|
|
||||||
|
showConfirmModal(options)
|
||||||
|
|
||||||
|
expect(requireSpy).toHaveBeenCalledWith(expect.objectContaining({
|
||||||
|
header: 'Confirm Header',
|
||||||
|
message: 'Are you sure?',
|
||||||
|
accept: options.accept,
|
||||||
|
reject: options.reject,
|
||||||
|
}))
|
||||||
|
})
|
||||||
|
})
|
Loading…
Reference in New Issue
Block a user