galaxy-charts 0.0.19 → 0.0.21

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/.github/workflows/main.yml +64 -0
  2. package/.vscode/extensions.json +3 -0
  3. package/docs/.vitepress/cache/deps/_metadata.json +40 -0
  4. package/docs/.vitepress/cache/deps/chunk-G3PMV62Z.js +36 -0
  5. package/docs/.vitepress/cache/deps/chunk-G3PMV62Z.js.map +7 -0
  6. package/docs/.vitepress/cache/deps/chunk-XYSSNQS4.js +12492 -0
  7. package/docs/.vitepress/cache/deps/chunk-XYSSNQS4.js.map +7 -0
  8. package/docs/.vitepress/cache/deps/naive-ui.js +107113 -0
  9. package/docs/.vitepress/cache/deps/naive-ui.js.map +7 -0
  10. package/docs/.vitepress/cache/deps/package.json +3 -0
  11. package/docs/.vitepress/cache/deps/vitepress___@vue_devtools-api.js +4494 -0
  12. package/docs/.vitepress/cache/deps/vitepress___@vue_devtools-api.js.map +7 -0
  13. package/docs/.vitepress/cache/deps/vitepress___@vueuse_core.js +9345 -0
  14. package/docs/.vitepress/cache/deps/vitepress___@vueuse_core.js.map +7 -0
  15. package/docs/.vitepress/cache/deps/vue.js +344 -0
  16. package/docs/.vitepress/cache/deps/vue.js.map +7 -0
  17. package/docs/.vitepress/config.mts +55 -0
  18. package/docs/.vitepress/theme/index.js +7 -0
  19. package/docs/.vitepress/theme/tailwind.css +7 -0
  20. package/docs/content/configuration.md +45 -0
  21. package/docs/content/deploy-plugin.md +22 -0
  22. package/docs/content/deploy-request.md +65 -0
  23. package/docs/content/installation.md +42 -0
  24. package/docs/content/introduction.md +45 -0
  25. package/docs/content/vue-introduction.md +38 -0
  26. package/docs/content/vue-utilities.md +70 -0
  27. package/docs/content/xml-datasources.md +34 -0
  28. package/docs/content/xml-framework.md +140 -0
  29. package/docs/content/xml-inputs.md +248 -0
  30. package/docs/content/xml-introduction.md +23 -0
  31. package/docs/content/xml-sections.md +50 -0
  32. package/docs/index.md +27 -0
  33. package/docs/package-lock.json +4203 -0
  34. package/docs/package.json +21 -0
  35. package/docs/postcss.config.js +6 -0
  36. package/docs/public/eslint.svg +7 -0
  37. package/docs/public/galaxy-charts-demo.gif +0 -0
  38. package/docs/public/galaxy-charts-starter.jpg +0 -0
  39. package/docs/public/galaxy-charts.svg +7 -0
  40. package/docs/public/javascript.svg +8 -0
  41. package/docs/public/naive-ui.svg +9 -0
  42. package/docs/public/next-js.svg +25 -0
  43. package/docs/public/nuxt.svg +3 -0
  44. package/docs/public/prettier.svg +46 -0
  45. package/docs/public/react.svg +1 -0
  46. package/docs/public/tailwind.svg +12 -0
  47. package/docs/public/typescript.svg +8 -0
  48. package/docs/public/vite.svg +15 -0
  49. package/docs/public/vitest.svg +9 -0
  50. package/docs/public/vue.svg +8 -0
  51. package/docs/public/vuetify.svg +9 -0
  52. package/docs/tailwind.config.js +9 -0
  53. package/index.html +13 -0
  54. package/lib/galaxy-charts.js +7 -0
  55. package/package.json +8 -10
  56. package/postcss.config.js +6 -0
  57. package/prettier.config.js +5 -0
  58. package/public/galaxy-charts.xml +138 -0
  59. package/src/App.vue +23 -0
  60. package/src/Plugin.vue +37 -0
  61. package/src/api/client.ts +46 -0
  62. package/src/api/datasets.ts +34 -0
  63. package/src/api/visualizations.ts +33 -0
  64. package/src/components/AlertNotify.vue +35 -0
  65. package/src/components/ApiStatus.vue +39 -0
  66. package/src/components/GalaxyCharts.vue +136 -0
  67. package/src/components/InputConditional.vue +109 -0
  68. package/src/components/InputData.vue +74 -0
  69. package/src/components/InputDataColumn.vue +54 -0
  70. package/src/components/InputForm.vue +119 -0
  71. package/src/components/InputRepeats.vue +70 -0
  72. package/src/components/SidePanel.vue +158 -0
  73. package/src/main.js +27 -0
  74. package/src/store/columnsStore.ts +59 -0
  75. package/src/store/configStore.ts +29 -0
  76. package/src/style.css +3 -0
  77. package/src/utilities/getFileName.test.js +8 -0
  78. package/src/utilities/getFileName.ts +4 -0
  79. package/src/utilities/parseColumns.ts +34 -0
  80. package/src/utilities/parseDefaults.test.js +13 -0
  81. package/src/utilities/parseDefaults.ts +17 -0
  82. package/src/utilities/parseIncoming.ts +32 -0
  83. package/src/utilities/parsePlugin.ts +95 -0
  84. package/src/utilities/parseXML.ts +156 -0
  85. package/src/utilities/simpleError.ts +21 -0
  86. package/src/utilities/toBoolean.test.js +12 -0
  87. package/src/utilities/toBoolean.ts +5 -0
  88. package/tailwind.config.js +8 -0
  89. package/tsconfig.json +28 -0
  90. package/vite.config.js +70 -0
  91. package/dist/galaxy-charts.css +0 -1
  92. package/dist/galaxy-charts.js +0 -21277
  93. package/dist/galaxy-charts.umd.cjs +0 -2073
  94. /package/{dist/types.d.ts → src/types.ts} +0 -0
@@ -0,0 +1,64 @@
1
+ # Sample workflow for building and deploying a VitePress site to GitHub Pages
2
+ #
3
+ name: Deploy VitePress site to Pages
4
+
5
+ on:
6
+ # Runs on pushes targeting the `main` branch. Change this to `master` if you're
7
+ # using the `master` branch as the default branch.
8
+ push:
9
+ branches: [main]
10
+
11
+ # Allows you to run this workflow manually from the Actions tab
12
+ workflow_dispatch:
13
+
14
+ # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
15
+ permissions:
16
+ contents: read
17
+ pages: write
18
+ id-token: write
19
+
20
+ # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
21
+ # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
22
+ concurrency:
23
+ group: pages
24
+ cancel-in-progress: false
25
+
26
+ jobs:
27
+ # Build job
28
+ build:
29
+ runs-on: ubuntu-latest
30
+ steps:
31
+ - name: Checkout
32
+ uses: actions/checkout@v4
33
+ with:
34
+ fetch-depth: 0 # Not needed if lastUpdated is not enabled
35
+ # - uses: pnpm/action-setup@v3 # Uncomment this if you're using pnpm
36
+ # - uses: oven-sh/setup-bun@v1 # Uncomment this if you're using Bun
37
+ - name: Setup Node
38
+ uses: actions/setup-node@v4
39
+ with:
40
+ node-version: 20
41
+ cache: npm # or pnpm / yarn
42
+ - name: Setup Pages
43
+ uses: actions/configure-pages@v4
44
+ - name: Install dependencies
45
+ run: cd docs && npm ci # or pnpm install / yarn install / bun install
46
+ - name: Build with VitePress
47
+ run: cd docs && npm run docs:build # or pnpm docs:build / yarn docs:build / bun run docs:build
48
+ - name: Upload artifact
49
+ uses: actions/upload-pages-artifact@v3
50
+ with:
51
+ path: docs/.vitepress/dist
52
+
53
+ # Deployment job
54
+ deploy:
55
+ environment:
56
+ name: github-pages
57
+ url: ${{ steps.deployment.outputs.page_url }}
58
+ needs: build
59
+ runs-on: ubuntu-latest
60
+ name: Deploy
61
+ steps:
62
+ - name: Deploy to GitHub Pages
63
+ id: deployment
64
+ uses: actions/deploy-pages@v4
@@ -0,0 +1,3 @@
1
+ {
2
+ "recommendations": ["Vue.volar"]
3
+ }
@@ -0,0 +1,40 @@
1
+ {
2
+ "hash": "198d9c57",
3
+ "configHash": "33a92b7a",
4
+ "lockfileHash": "e0ad2096",
5
+ "browserHash": "2ab63683",
6
+ "optimized": {
7
+ "vue": {
8
+ "src": "../../../node_modules/vue/dist/vue.runtime.esm-bundler.js",
9
+ "file": "vue.js",
10
+ "fileHash": "3d77ba93",
11
+ "needsInterop": false
12
+ },
13
+ "vitepress > @vue/devtools-api": {
14
+ "src": "../../../node_modules/@vue/devtools-api/dist/index.js",
15
+ "file": "vitepress___@vue_devtools-api.js",
16
+ "fileHash": "5700e87b",
17
+ "needsInterop": false
18
+ },
19
+ "vitepress > @vueuse/core": {
20
+ "src": "../../../node_modules/@vueuse/core/index.mjs",
21
+ "file": "vitepress___@vueuse_core.js",
22
+ "fileHash": "3a0f4368",
23
+ "needsInterop": false
24
+ },
25
+ "naive-ui": {
26
+ "src": "../../../node_modules/naive-ui/es/index.mjs",
27
+ "file": "naive-ui.js",
28
+ "fileHash": "0f488cc5",
29
+ "needsInterop": false
30
+ }
31
+ },
32
+ "chunks": {
33
+ "chunk-XYSSNQS4": {
34
+ "file": "chunk-XYSSNQS4.js"
35
+ },
36
+ "chunk-G3PMV62Z": {
37
+ "file": "chunk-G3PMV62Z.js"
38
+ }
39
+ }
40
+ }
@@ -0,0 +1,36 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __commonJS = (cb, mod) => function __require() {
8
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
9
+ };
10
+ var __export = (target, all) => {
11
+ for (var name in all)
12
+ __defProp(target, name, { get: all[name], enumerable: true });
13
+ };
14
+ var __copyProps = (to, from, except, desc) => {
15
+ if (from && typeof from === "object" || typeof from === "function") {
16
+ for (let key of __getOwnPropNames(from))
17
+ if (!__hasOwnProp.call(to, key) && key !== except)
18
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
19
+ }
20
+ return to;
21
+ };
22
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
23
+ // If the importer is in node compatibility mode or this is not an ESM
24
+ // file that has been converted to a CommonJS file using a Babel-
25
+ // compatible transform (i.e. "__esModule" has not been set), then set
26
+ // "default" to the CommonJS "module.exports" for node compatibility.
27
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
28
+ mod
29
+ ));
30
+
31
+ export {
32
+ __commonJS,
33
+ __export,
34
+ __toESM
35
+ };
36
+ //# sourceMappingURL=chunk-G3PMV62Z.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [],
5
+ "mappings": "",
6
+ "names": []
7
+ }