@mlightcad/cad-viewer 1.2.5 → 1.3.1

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 (39) hide show
  1. package/README.md +1 -0
  2. package/dist/component/MlCadViewer.vue.d.ts +5 -0
  3. package/dist/component/MlCadViewer.vue.d.ts.map +1 -1
  4. package/dist/component/common/MlBaseDialog.vue.d.ts.map +1 -1
  5. package/dist/component/common/MlColorDropdown.vue.d.ts +22 -0
  6. package/dist/component/common/MlColorDropdown.vue.d.ts.map +1 -0
  7. package/dist/component/common/MlColorIndexPicker.vue.d.ts +19 -0
  8. package/dist/component/common/MlColorIndexPicker.vue.d.ts.map +1 -0
  9. package/dist/component/common/index.d.ts +2 -0
  10. package/dist/component/common/index.d.ts.map +1 -1
  11. package/dist/component/dialog/MlColorPickerDlg.vue.d.ts +29 -0
  12. package/dist/component/dialog/MlColorPickerDlg.vue.d.ts.map +1 -0
  13. package/dist/component/dialog/index.d.ts +2 -1
  14. package/dist/component/dialog/index.d.ts.map +1 -1
  15. package/dist/component/palette/MlEntityProperties.vue.d.ts.map +1 -1
  16. package/dist/component/palette/MlLayerList.vue.d.ts +5 -4
  17. package/dist/component/palette/MlLayerList.vue.d.ts.map +1 -1
  18. package/dist/component/palette/MlPaletteManager.vue.d.ts.map +1 -1
  19. package/dist/component/statusBar/MlStatusBar.vue.d.ts +15 -2
  20. package/dist/component/statusBar/MlStatusBar.vue.d.ts.map +1 -1
  21. package/dist/component/statusBar/MlThemeButton.vue.d.ts +14 -1
  22. package/dist/component/statusBar/MlThemeButton.vue.d.ts.map +1 -1
  23. package/dist/composable/useHover.d.ts +174 -70
  24. package/dist/composable/useHover.d.ts.map +1 -1
  25. package/dist/composable/useLayers.d.ts +4 -1
  26. package/dist/composable/useLayers.d.ts.map +1 -1
  27. package/dist/composable/useLocale.d.ts +19 -3
  28. package/dist/composable/useLocale.d.ts.map +1 -1
  29. package/dist/index.css +1 -1
  30. package/dist/index.js +2389 -1949
  31. package/dist/locale/en/dialog.d.ts +5 -0
  32. package/dist/locale/en/dialog.d.ts.map +1 -1
  33. package/dist/locale/en/main.d.ts +10 -0
  34. package/dist/locale/en/main.d.ts.map +1 -1
  35. package/dist/locale/zh/dialog.d.ts +5 -0
  36. package/dist/locale/zh/dialog.d.ts.map +1 -1
  37. package/dist/locale/zh/main.d.ts +10 -0
  38. package/dist/locale/zh/main.d.ts.map +1 -1
  39. package/package.json +10 -9
@@ -17,6 +17,11 @@ declare const _default: {
17
17
  title: string;
18
18
  pointSize: string;
19
19
  };
20
+ colorPickerDlg: {
21
+ title: string;
22
+ aciTabTitle: string;
23
+ rgbTabTitle: string;
24
+ };
20
25
  };
21
26
  export default _default;
22
27
  //# sourceMappingURL=dialog.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../../src/locale/en/dialog.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,wBAmBC"}
1
+ {"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../../src/locale/en/dialog.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAwBC"}
@@ -73,9 +73,19 @@ declare const _default: {
73
73
  name: string;
74
74
  on: string;
75
75
  color: string;
76
+ zoomToLayer: string;
76
77
  };
77
78
  };
78
79
  };
80
+ colorDropdown: {
81
+ custom: string;
82
+ };
83
+ colorIndexPicker: {
84
+ color: string;
85
+ colorIndex: string;
86
+ inputPlaceholder: string;
87
+ rgb: string;
88
+ };
79
89
  entityInfo: {
80
90
  color: string;
81
91
  layer: string;
@@ -1 +1 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../src/locale/en/main.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAkHC"}
1
+ {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../src/locale/en/main.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBA4HC"}
@@ -17,6 +17,11 @@ declare const _default: {
17
17
  title: string;
18
18
  pointSize: string;
19
19
  };
20
+ colorPickerDlg: {
21
+ title: string;
22
+ aciTabTitle: string;
23
+ rgbTabTitle: string;
24
+ };
20
25
  };
21
26
  export default _default;
22
27
  //# sourceMappingURL=dialog.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../../src/locale/zh/dialog.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,wBAmBC"}
1
+ {"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../../src/locale/zh/dialog.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAwBC"}
@@ -73,9 +73,19 @@ declare const _default: {
73
73
  name: string;
74
74
  on: string;
75
75
  color: string;
76
+ zoomToLayer: string;
76
77
  };
77
78
  };
78
79
  };
80
+ colorDropdown: {
81
+ custom: string;
82
+ };
83
+ colorIndexPicker: {
84
+ color: string;
85
+ colorIndex: string;
86
+ inputPlaceholder: string;
87
+ rgb: string;
88
+ };
79
89
  entityInfo: {
80
90
  color: string;
81
91
  layer: string;
@@ -1 +1 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../src/locale/zh/main.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAiHC"}
1
+ {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../src/locale/zh/main.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBA2HC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mlightcad/cad-viewer",
3
- "version": "1.2.5",
3
+ "version": "1.3.1",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "repository": {
@@ -33,30 +33,31 @@
33
33
  ],
34
34
  "devDependencies": {
35
35
  "@mlightcad/three-viewcube": "0.0.9",
36
- "@mlightcad/ui-components": "^0.1.1",
36
+ "@mlightcad/ui-components": "^0.1.3",
37
37
  "@types/lodash-es": "^4.17.12",
38
38
  "@vitejs/plugin-vue": "^5.1.3",
39
- "sass": "^1.80.6",
39
+ "sass": "^1.95.1",
40
40
  "vite-plugin-dts": "^4.0.0",
41
41
  "vite-plugin-lib-inject-css": "^1.0.0",
42
42
  "vite-svg-loader": "^5.1.0",
43
43
  "vue-eslint-parser": "^9.4.3",
44
44
  "vue-tsc": "^2.1.6",
45
- "@mlightcad/svg-renderer": "1.2.5",
46
- "@mlightcad/three-renderer": "1.2.5"
45
+ "@mlightcad/svg-renderer": "1.3.1",
46
+ "@mlightcad/three-renderer": "1.3.1"
47
47
  },
48
48
  "dependencies": {
49
49
  "@element-plus/icons-vue": "^2.3.1",
50
50
  "lodash-es": "4.17.21",
51
- "three": "^0.172.0"
51
+ "three": "^0.172.0",
52
+ "vue-pick-colors": "^1.8.0"
52
53
  },
53
54
  "peerDependencies": {
54
- "@mlightcad/data-model": "^1.3.16",
55
+ "@mlightcad/data-model": "^1.3.18",
55
56
  "@vueuse/core": "^11.1.0",
56
- "element-plus": "^2.9.1",
57
+ "element-plus": "^2.12.0",
57
58
  "vue": "^3.4.21",
58
59
  "vue-i18n": "^10.0.1",
59
- "@mlightcad/cad-simple-viewer": "1.2.5"
60
+ "@mlightcad/cad-simple-viewer": "1.3.1"
60
61
  },
61
62
  "scripts": {
62
63
  "analyze": "vite build --mode analyze",