mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
* dbeaver/pro#5078 adds chart export
* adds ExportImageDialog and reuses it across the app
* uses canvas2html for downloading images
* Revert "uses canvas2html for downloading images"
This reverts commit b59374cf85.
* moves transformClassesToStyles to helpers
* transforms styling attributes to computed styles
* adds file name
* fixes translations
* fixes styles for png image so it do not exports in black&white mode with incorrect sizing
* fixes styles for svg export
* uses domToImage library to save chart with legend
* cleanup
* moves helpers back to d3js diagrams
* cleanup
* uses html-to-image instead of dom-to-image
* cleanup
* pr fixes
* replaces the lib
* fixes svg so it is not blur
* validation for image urls
* cleanup
---------
Co-authored-by: Evgenia <139753579+EvgeniaBzzz@users.noreply.github.com>
55 lines
1.3 KiB
JSON
55 lines
1.3 KiB
JSON
{
|
|
"name": "@cloudbeaver/core-utils",
|
|
"type": "module",
|
|
"sideEffects": [
|
|
"./lib/module.js",
|
|
"./lib/index.js",
|
|
"src/**/*.css",
|
|
"src/**/*.scss",
|
|
"public/**/*"
|
|
],
|
|
"version": "0.1.0",
|
|
"description": "",
|
|
"license": "Apache-2.0",
|
|
"exports": {
|
|
".": "./lib/index.js",
|
|
"./module": "./lib/module.js"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc -b",
|
|
"clean": "rimraf --glob lib",
|
|
"lint": "eslint ./src/ --ext .ts,.tsx",
|
|
"test": "dbeaver-test",
|
|
"validate-dependencies": "core-cli-validate-dependencies"
|
|
},
|
|
"dependencies": {
|
|
"@timohausmann/quadtree-ts": "^2",
|
|
"fast-deep-equal": "^3",
|
|
"md5": "^2",
|
|
"mobx": "^6",
|
|
"modern-screenshot": "^4",
|
|
"tslib": "^2",
|
|
"underscore": "^1",
|
|
"uuid": "^13",
|
|
"vitest": "^3",
|
|
"whatwg-mimetype": "^4",
|
|
"zod": "^4",
|
|
"zod-validation-error": "^4"
|
|
},
|
|
"devDependencies": {
|
|
"@cloudbeaver/core-cli": "workspace:*",
|
|
"@cloudbeaver/tests-runner": "workspace:*",
|
|
"@cloudbeaver/tsconfig": "workspace:*",
|
|
"@dbeaver/cli": "workspace:*",
|
|
"@dbeaver/react-tests": "workspace:*",
|
|
"@types/md5": "^2",
|
|
"@types/underscore": "^1",
|
|
"@types/uuid": "^10",
|
|
"@types/whatwg-mimetype": "^3",
|
|
"rimraf": "^6",
|
|
"typescript": "^5",
|
|
"vitest": "^3",
|
|
"zod": "^4"
|
|
}
|
|
}
|