galaxy-charts 0.0.21 → 0.0.23

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.
Files changed (94) hide show
  1. package/dist/galaxy-charts.css +1 -0
  2. package/dist/galaxy-charts.js +21275 -0
  3. package/dist/galaxy-charts.umd.cjs +2073 -0
  4. package/{src/types.ts → dist/types.d.ts} +8 -7
  5. package/package.json +7 -1
  6. package/.github/workflows/main.yml +0 -64
  7. package/.vscode/extensions.json +0 -3
  8. package/docs/.vitepress/cache/deps/_metadata.json +0 -40
  9. package/docs/.vitepress/cache/deps/chunk-G3PMV62Z.js +0 -36
  10. package/docs/.vitepress/cache/deps/chunk-G3PMV62Z.js.map +0 -7
  11. package/docs/.vitepress/cache/deps/chunk-XYSSNQS4.js +0 -12492
  12. package/docs/.vitepress/cache/deps/chunk-XYSSNQS4.js.map +0 -7
  13. package/docs/.vitepress/cache/deps/naive-ui.js +0 -107113
  14. package/docs/.vitepress/cache/deps/naive-ui.js.map +0 -7
  15. package/docs/.vitepress/cache/deps/package.json +0 -3
  16. package/docs/.vitepress/cache/deps/vitepress___@vue_devtools-api.js +0 -4494
  17. package/docs/.vitepress/cache/deps/vitepress___@vue_devtools-api.js.map +0 -7
  18. package/docs/.vitepress/cache/deps/vitepress___@vueuse_core.js +0 -9345
  19. package/docs/.vitepress/cache/deps/vitepress___@vueuse_core.js.map +0 -7
  20. package/docs/.vitepress/cache/deps/vue.js +0 -344
  21. package/docs/.vitepress/cache/deps/vue.js.map +0 -7
  22. package/docs/.vitepress/config.mts +0 -55
  23. package/docs/.vitepress/theme/index.js +0 -7
  24. package/docs/.vitepress/theme/tailwind.css +0 -7
  25. package/docs/content/configuration.md +0 -45
  26. package/docs/content/deploy-plugin.md +0 -22
  27. package/docs/content/deploy-request.md +0 -65
  28. package/docs/content/installation.md +0 -42
  29. package/docs/content/introduction.md +0 -45
  30. package/docs/content/vue-introduction.md +0 -38
  31. package/docs/content/vue-utilities.md +0 -70
  32. package/docs/content/xml-datasources.md +0 -34
  33. package/docs/content/xml-framework.md +0 -140
  34. package/docs/content/xml-inputs.md +0 -248
  35. package/docs/content/xml-introduction.md +0 -23
  36. package/docs/content/xml-sections.md +0 -50
  37. package/docs/index.md +0 -27
  38. package/docs/package-lock.json +0 -4203
  39. package/docs/package.json +0 -21
  40. package/docs/postcss.config.js +0 -6
  41. package/docs/public/eslint.svg +0 -7
  42. package/docs/public/galaxy-charts-demo.gif +0 -0
  43. package/docs/public/galaxy-charts-starter.jpg +0 -0
  44. package/docs/public/galaxy-charts.svg +0 -7
  45. package/docs/public/javascript.svg +0 -8
  46. package/docs/public/naive-ui.svg +0 -9
  47. package/docs/public/next-js.svg +0 -25
  48. package/docs/public/nuxt.svg +0 -3
  49. package/docs/public/prettier.svg +0 -46
  50. package/docs/public/react.svg +0 -1
  51. package/docs/public/tailwind.svg +0 -12
  52. package/docs/public/typescript.svg +0 -8
  53. package/docs/public/vite.svg +0 -15
  54. package/docs/public/vitest.svg +0 -9
  55. package/docs/public/vue.svg +0 -8
  56. package/docs/public/vuetify.svg +0 -9
  57. package/docs/tailwind.config.js +0 -9
  58. package/index.html +0 -13
  59. package/lib/galaxy-charts.js +0 -7
  60. package/postcss.config.js +0 -6
  61. package/prettier.config.js +0 -5
  62. package/public/galaxy-charts.xml +0 -138
  63. package/src/App.vue +0 -23
  64. package/src/Plugin.vue +0 -37
  65. package/src/api/client.ts +0 -46
  66. package/src/api/datasets.ts +0 -34
  67. package/src/api/visualizations.ts +0 -33
  68. package/src/components/AlertNotify.vue +0 -35
  69. package/src/components/ApiStatus.vue +0 -39
  70. package/src/components/GalaxyCharts.vue +0 -136
  71. package/src/components/InputConditional.vue +0 -109
  72. package/src/components/InputData.vue +0 -74
  73. package/src/components/InputDataColumn.vue +0 -54
  74. package/src/components/InputForm.vue +0 -119
  75. package/src/components/InputRepeats.vue +0 -70
  76. package/src/components/SidePanel.vue +0 -158
  77. package/src/main.js +0 -27
  78. package/src/store/columnsStore.ts +0 -59
  79. package/src/store/configStore.ts +0 -29
  80. package/src/style.css +0 -3
  81. package/src/utilities/getFileName.test.js +0 -8
  82. package/src/utilities/getFileName.ts +0 -4
  83. package/src/utilities/parseColumns.ts +0 -34
  84. package/src/utilities/parseDefaults.test.js +0 -13
  85. package/src/utilities/parseDefaults.ts +0 -17
  86. package/src/utilities/parseIncoming.ts +0 -32
  87. package/src/utilities/parsePlugin.ts +0 -95
  88. package/src/utilities/parseXML.ts +0 -156
  89. package/src/utilities/simpleError.ts +0 -21
  90. package/src/utilities/toBoolean.test.js +0 -12
  91. package/src/utilities/toBoolean.ts +0 -5
  92. package/tailwind.config.js +0 -8
  93. package/tsconfig.json +0 -28
  94. package/vite.config.js +0 -70
@@ -1,5 +0,0 @@
1
- import type { InputAtomicType } from "@/types";
2
-
3
- export function toBoolean(value: InputAtomicType) {
4
- return String(value).toLowerCase() === "true";
5
- }
@@ -1,8 +0,0 @@
1
- /** @type {import('tailwindcss').Config} */
2
- export default {
3
- content: ["./src/**/*.vue"],
4
- theme: {
5
- extend: {},
6
- },
7
- plugins: [],
8
- };
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
- });