galaxy-charts 0.0.21 → 0.0.22
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/dist/galaxy-charts.css +1 -0
- package/dist/galaxy-charts.js +21275 -0
- package/dist/galaxy-charts.umd.cjs +2073 -0
- package/{src/types.ts → dist/types.d.ts} +8 -7
- package/package.json +7 -1
- package/.github/workflows/main.yml +0 -64
- package/.vscode/extensions.json +0 -3
- package/docs/.vitepress/cache/deps/_metadata.json +0 -40
- package/docs/.vitepress/cache/deps/chunk-G3PMV62Z.js +0 -36
- package/docs/.vitepress/cache/deps/chunk-G3PMV62Z.js.map +0 -7
- package/docs/.vitepress/cache/deps/chunk-XYSSNQS4.js +0 -12492
- package/docs/.vitepress/cache/deps/chunk-XYSSNQS4.js.map +0 -7
- package/docs/.vitepress/cache/deps/naive-ui.js +0 -107113
- package/docs/.vitepress/cache/deps/naive-ui.js.map +0 -7
- package/docs/.vitepress/cache/deps/package.json +0 -3
- package/docs/.vitepress/cache/deps/vitepress___@vue_devtools-api.js +0 -4494
- package/docs/.vitepress/cache/deps/vitepress___@vue_devtools-api.js.map +0 -7
- package/docs/.vitepress/cache/deps/vitepress___@vueuse_core.js +0 -9345
- package/docs/.vitepress/cache/deps/vitepress___@vueuse_core.js.map +0 -7
- package/docs/.vitepress/cache/deps/vue.js +0 -344
- package/docs/.vitepress/cache/deps/vue.js.map +0 -7
- package/docs/.vitepress/config.mts +0 -55
- package/docs/.vitepress/theme/index.js +0 -7
- package/docs/.vitepress/theme/tailwind.css +0 -7
- package/docs/content/configuration.md +0 -45
- package/docs/content/deploy-plugin.md +0 -22
- package/docs/content/deploy-request.md +0 -65
- package/docs/content/installation.md +0 -42
- package/docs/content/introduction.md +0 -45
- package/docs/content/vue-introduction.md +0 -38
- package/docs/content/vue-utilities.md +0 -70
- package/docs/content/xml-datasources.md +0 -34
- package/docs/content/xml-framework.md +0 -140
- package/docs/content/xml-inputs.md +0 -248
- package/docs/content/xml-introduction.md +0 -23
- package/docs/content/xml-sections.md +0 -50
- package/docs/index.md +0 -27
- package/docs/package-lock.json +0 -4203
- package/docs/package.json +0 -21
- package/docs/postcss.config.js +0 -6
- package/docs/public/eslint.svg +0 -7
- package/docs/public/galaxy-charts-demo.gif +0 -0
- package/docs/public/galaxy-charts-starter.jpg +0 -0
- package/docs/public/galaxy-charts.svg +0 -7
- package/docs/public/javascript.svg +0 -8
- package/docs/public/naive-ui.svg +0 -9
- package/docs/public/next-js.svg +0 -25
- package/docs/public/nuxt.svg +0 -3
- package/docs/public/prettier.svg +0 -46
- package/docs/public/react.svg +0 -1
- package/docs/public/tailwind.svg +0 -12
- package/docs/public/typescript.svg +0 -8
- package/docs/public/vite.svg +0 -15
- package/docs/public/vitest.svg +0 -9
- package/docs/public/vue.svg +0 -8
- package/docs/public/vuetify.svg +0 -9
- package/docs/tailwind.config.js +0 -9
- package/index.html +0 -13
- package/lib/galaxy-charts.js +0 -7
- package/postcss.config.js +0 -6
- package/prettier.config.js +0 -5
- package/public/galaxy-charts.xml +0 -138
- package/src/App.vue +0 -23
- package/src/Plugin.vue +0 -37
- package/src/api/client.ts +0 -46
- package/src/api/datasets.ts +0 -34
- package/src/api/visualizations.ts +0 -33
- package/src/components/AlertNotify.vue +0 -35
- package/src/components/ApiStatus.vue +0 -39
- package/src/components/GalaxyCharts.vue +0 -136
- package/src/components/InputConditional.vue +0 -109
- package/src/components/InputData.vue +0 -74
- package/src/components/InputDataColumn.vue +0 -54
- package/src/components/InputForm.vue +0 -119
- package/src/components/InputRepeats.vue +0 -70
- package/src/components/SidePanel.vue +0 -158
- package/src/main.js +0 -27
- package/src/store/columnsStore.ts +0 -59
- package/src/store/configStore.ts +0 -29
- package/src/style.css +0 -3
- package/src/utilities/getFileName.test.js +0 -8
- package/src/utilities/getFileName.ts +0 -4
- package/src/utilities/parseColumns.ts +0 -34
- package/src/utilities/parseDefaults.test.js +0 -13
- package/src/utilities/parseDefaults.ts +0 -17
- package/src/utilities/parseIncoming.ts +0 -32
- package/src/utilities/parsePlugin.ts +0 -95
- package/src/utilities/parseXML.ts +0 -156
- package/src/utilities/simpleError.ts +0 -21
- package/src/utilities/toBoolean.test.js +0 -12
- package/src/utilities/toBoolean.ts +0 -5
- package/tailwind.config.js +0 -8
- package/tsconfig.json +0 -28
- package/vite.config.js +0 -70
package/tailwind.config.js
DELETED
package/tsconfig.json
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "ESNext",
|
|
4
|
-
"useDefineForClassFields": true,
|
|
5
|
-
"module": "ESNext",
|
|
6
|
-
"moduleResolution": "Node",
|
|
7
|
-
"strict": true,
|
|
8
|
-
"jsx": "preserve",
|
|
9
|
-
"sourceMap": false,
|
|
10
|
-
"resolveJsonModule": true,
|
|
11
|
-
"esModuleInterop": true,
|
|
12
|
-
"lib": ["ESNext", "DOM"],
|
|
13
|
-
"skipLibCheck": true,
|
|
14
|
-
"baseUrl": ".",
|
|
15
|
-
"paths": {
|
|
16
|
-
"@/*": ["src/*"]
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],
|
|
20
|
-
"exclude": [
|
|
21
|
-
"dist",
|
|
22
|
-
"docs",
|
|
23
|
-
"node_modules",
|
|
24
|
-
"static",
|
|
25
|
-
"src/App.vue",
|
|
26
|
-
"src/Plugin.vue"
|
|
27
|
-
],
|
|
28
|
-
}
|
package/vite.config.js
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { defineConfig } from "vite";
|
|
2
|
-
import tailwindcss from "tailwindcss";
|
|
3
|
-
import vue from "@vitejs/plugin-vue";
|
|
4
|
-
import path from "path";
|
|
5
|
-
import { libInjectCss } from "vite-plugin-lib-inject-css";
|
|
6
|
-
import { configDefaults } from "vitest/config";
|
|
7
|
-
import Checker from "vite-plugin-checker";
|
|
8
|
-
|
|
9
|
-
// collect Galaxy server root
|
|
10
|
-
let GALAXY_ROOT = "http://127.0.0.1:8080";
|
|
11
|
-
if (process.env.GALAXY_ROOT) {
|
|
12
|
-
GALAXY_ROOT = process.env.GALAXY_ROOT;
|
|
13
|
-
} else {
|
|
14
|
-
console.log("GALAXY_ROOT not available. Please provide as environment variable.");
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
// collect Galaxy API key
|
|
18
|
-
let GALAXY_KEY = "";
|
|
19
|
-
if (process.env.GALAXY_KEY) {
|
|
20
|
-
GALAXY_KEY = process.env.GALAXY_KEY;
|
|
21
|
-
} else {
|
|
22
|
-
console.log("GALAXY_KEY not available. Please provide as environment variable.");
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
// https://vitejs.dev/config/
|
|
26
|
-
export default defineConfig({
|
|
27
|
-
build: {
|
|
28
|
-
lib: {
|
|
29
|
-
entry: path.resolve(__dirname, "lib/galaxy-charts.js"),
|
|
30
|
-
name: "GalaxyCharts",
|
|
31
|
-
fileName: "galaxy-charts",
|
|
32
|
-
},
|
|
33
|
-
rollupOptions: {
|
|
34
|
-
external: ["vue"],
|
|
35
|
-
output: {
|
|
36
|
-
globals: { vue: "vue" },
|
|
37
|
-
},
|
|
38
|
-
},
|
|
39
|
-
},
|
|
40
|
-
define: {
|
|
41
|
-
"process.env.credentials": JSON.stringify(GALAXY_KEY ? "omit" : "include"),
|
|
42
|
-
},
|
|
43
|
-
plugins: [vue(), tailwindcss(), libInjectCss(), Checker({ typescript: true })],
|
|
44
|
-
resolve: {
|
|
45
|
-
alias: {
|
|
46
|
-
"@": path.resolve(__dirname, "src"),
|
|
47
|
-
},
|
|
48
|
-
},
|
|
49
|
-
server: {
|
|
50
|
-
proxy: {
|
|
51
|
-
"/api": {
|
|
52
|
-
changeOrigin: true,
|
|
53
|
-
rewrite: (path) => {
|
|
54
|
-
if (GALAXY_KEY) {
|
|
55
|
-
const separator = path.includes("?") ? "&" : "?";
|
|
56
|
-
return `${path}${separator}key=${GALAXY_KEY}`;
|
|
57
|
-
} else {
|
|
58
|
-
return path;
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
target: GALAXY_ROOT,
|
|
62
|
-
},
|
|
63
|
-
},
|
|
64
|
-
},
|
|
65
|
-
test: {
|
|
66
|
-
globals: true,
|
|
67
|
-
environment: "jsdom",
|
|
68
|
-
exclude: configDefaults.exclude,
|
|
69
|
-
},
|
|
70
|
-
});
|