tsviewer 0.1.0 → 1.0.2

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 (37) hide show
  1. package/README.md +9 -0
  2. package/dist/tsviewer.css +1 -0
  3. package/dist/tsviewer.es.js +21456 -0
  4. package/dist/tsviewer.umd.js +26 -33259
  5. package/package.json +35 -32
  6. package/babel.config.js +0 -5
  7. package/dist/demo.html +0 -1
  8. package/dist/tsviewer.common.js +0 -33247
  9. package/dist/tsviewer.common.js.map +0 -1
  10. package/dist/tsviewer.umd.js.map +0 -1
  11. package/dist/tsviewer.umd.min.js +0 -4
  12. package/dist/tsviewer.umd.min.js.map +0 -1
  13. package/jsconfig.json +0 -19
  14. package/public/favicon.ico +0 -0
  15. package/public/index.html +0 -17
  16. package/src/App.vue +0 -41
  17. package/src/assets/icons/blackfynn-amplitude-zoom.js +0 -11
  18. package/src/assets/icons/blackfynn-timescale.js +0 -11
  19. package/src/assets/icons/icon-controller-pause.js +0 -11
  20. package/src/assets/icons/icon-controller-play.js +0 -11
  21. package/src/assets/icons/icon-next-page.js +0 -11
  22. package/src/assets/icons/icon-previous-page.js +0 -11
  23. package/src/assets/icons/icon-stopwatch.js +0 -11
  24. package/src/assets/icons/index.js +0 -7
  25. package/src/components/TSPlotCanvas.vue +0 -1868
  26. package/src/components/TSScrubber.vue +0 -420
  27. package/src/components/TSViewer.vue +0 -595
  28. package/src/components/TSViewerCanvas.vue +0 -793
  29. package/src/components/TSViewerToolbar.vue +0 -356
  30. package/src/components/index.js +0 -13
  31. package/src/main.js +0 -23
  32. package/src/mixins/request/index.js +0 -100
  33. package/src/mixins/ts-annotation/index.js +0 -202
  34. package/src/mixins/viewer-active-tool/index.js +0 -36
  35. package/src/store/index.js +0 -184
  36. package/src/utils/constants.js +0 -15
  37. package/vue.config.js +0 -12
package/package.json CHANGED
@@ -1,41 +1,48 @@
1
1
  {
2
2
  "name": "tsviewer",
3
- "version": "0.1.0",
4
- "scripts": {
5
- "serve": "vue-cli-service serve",
6
- "build": "vue-cli-service build",
7
- "build-lib": "vue-cli-service build --target lib --name tsviewer src/components/index.js",
8
- "build-dev-lib": "vue-cli-service build --mode development --target lib --name tsviewer src/components/index.js",
9
- "lint": "vue-cli-service lint"
10
- },
11
- "main": "./dist/tsviewer.common.js",
3
+ "version": "1.0.2",
4
+ "main": "./dist/tsviewer.umd.js",
5
+ "module": "./dist/tsviewer.es.js",
6
+ "style": "dist/tsviewer.css",
12
7
  "files": [
13
- "dist/*",
14
- "src/*",
15
- "public/*",
16
- "*.json",
17
- "*.js"
8
+ "dist/"
18
9
  ],
10
+ "exports": {
11
+ ".": {
12
+ "import": "./dist/tsviewer.es.js",
13
+ "require": "./dist/tsviewer.umd.js"
14
+ },
15
+ "./style": {
16
+ "default": "./dist/tsviewer.css"
17
+ }
18
+ },
19
+ "scripts": {
20
+ "build": "vite build",
21
+ "dev": "vite"
22
+ },
19
23
  "dependencies": {
24
+ "@element-plus/icons-vue": "2.3.1",
20
25
  "core-js": "^3.8.3",
21
26
  "protobufjs": "^6.11.2",
22
- "ramda": "^0.28.0"
27
+ "ramda": "^0.28.0",
28
+ "tiny-emitter": "2.1.0",
29
+ "vuex": "^4"
23
30
  },
24
31
  "devDependencies": {
25
- "@babel/core": "^7.12.16",
26
- "@babel/eslint-parser": "^7.12.16",
27
- "@nih-sparc/sparc-design-system-components": "^0.26.15",
28
- "@vue/cli-plugin-babel": "~5.0.0",
29
- "@vue/cli-plugin-eslint": "~5.0.0",
30
- "@vue/cli-service": "~5.0.0",
32
+ "@vitejs/plugin-vue": "^5.2.4",
33
+ "@vue/compiler-sfc": "^3.2.45",
34
+ "element-plus": "^2.3.0",
31
35
  "eslint": "^7.32.0",
32
36
  "eslint-plugin-vue": "^8.0.3",
33
- "node-sass": "^7.0.1",
34
- "sass-loader": "^12.6.0",
35
- "vue-template-compiler": "^2.6.14",
36
- "vuex": "3.6.2",
37
- "vue": "^2.6.14",
38
- "vue-svgicon": "^3.2.9"
37
+ "sass": "^1.88.0",
38
+ "unplugin-auto-import": "^19.2.0",
39
+ "unplugin-vue-components": "^28.5.0",
40
+ "vite": "^6.2.4",
41
+ "vue": "^3.2.45"
42
+ },
43
+ "peerDependencies": {
44
+ "element-plus": "^2.3.0",
45
+ "vue": "^3.2.0"
39
46
  },
40
47
  "eslintConfig": {
41
48
  "root": true,
@@ -46,9 +53,6 @@
46
53
  "plugin:vue/essential",
47
54
  "eslint:recommended"
48
55
  ],
49
- "parserOptions": {
50
- "parser": "@babel/eslint-parser"
51
- },
52
56
  "rules": {}
53
57
  },
54
58
  "browserslist": [
@@ -56,6 +60,5 @@
56
60
  "last 2 versions",
57
61
  "not dead"
58
62
  ],
59
- "_id": "tsviewer@0.1.0",
60
- "readme": "ERROR: No README data found!"
63
+ "license": "MIT"
61
64
  }
package/babel.config.js DELETED
@@ -1,5 +0,0 @@
1
- module.exports = {
2
- presets: [
3
- '@vue/cli-plugin-babel/preset'
4
- ]
5
- }
package/dist/demo.html DELETED
@@ -1 +0,0 @@
1
- <!doctype html><meta charset="utf-8"><title>tsviewer demo</title><script src="./tsviewer.umd.js"></script><script>console.log(tsviewer)</script>