@mlightcad/cad-viewer 1.1.11 → 1.2.0

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 (31) hide show
  1. package/README.md +50 -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/MlFileReader.vue.d.ts.map +1 -1
  5. package/dist/component/index.d.ts +1 -0
  6. package/dist/component/index.d.ts.map +1 -1
  7. package/dist/component/notification/MlNotificationCenter.vue.d.ts +20 -0
  8. package/dist/component/notification/MlNotificationCenter.vue.d.ts.map +1 -0
  9. package/dist/component/notification/MlNotificationItem.vue.d.ts +22 -0
  10. package/dist/component/notification/MlNotificationItem.vue.d.ts.map +1 -0
  11. package/dist/component/notification/index.d.ts +3 -0
  12. package/dist/component/notification/index.d.ts.map +1 -0
  13. package/dist/component/statusBar/MlNotificationButton.vue.d.ts +7 -0
  14. package/dist/component/statusBar/MlNotificationButton.vue.d.ts.map +1 -0
  15. package/dist/component/statusBar/MlStatusBar.vue.d.ts +5 -1
  16. package/dist/component/statusBar/MlStatusBar.vue.d.ts.map +1 -1
  17. package/dist/composable/index.d.ts +2 -0
  18. package/dist/composable/index.d.ts.map +1 -1
  19. package/dist/composable/useIsMobile.d.ts +4 -0
  20. package/dist/composable/useIsMobile.d.ts.map +1 -0
  21. package/dist/composable/useNotificationCenter.d.ts +88 -0
  22. package/dist/composable/useNotificationCenter.d.ts.map +1 -0
  23. package/dist/index.css +1 -1
  24. package/dist/index.js +1644 -1139
  25. package/dist/locale/en/main.d.ts +24 -1
  26. package/dist/locale/en/main.d.ts.map +1 -1
  27. package/dist/locale/i18n.d.ts +48 -2
  28. package/dist/locale/i18n.d.ts.map +1 -1
  29. package/dist/locale/zh/main.d.ts +24 -1
  30. package/dist/locale/zh/main.d.ts.map +1 -1
  31. package/package.json +6 -6
@@ -67,6 +67,9 @@ declare const _default: {
67
67
  warning: {
68
68
  font: string;
69
69
  };
70
+ notification: {
71
+ tooltip: string;
72
+ };
70
73
  };
71
74
  toolPalette: {
72
75
  layerManager: {
@@ -86,12 +89,32 @@ declare const _default: {
86
89
  message: {
87
90
  loadingFonts: string;
88
91
  loadingDwgConverter: string;
89
- fontNotLoaded: string;
92
+ fontsNotFound: string;
93
+ fontsNotLoaded: string;
90
94
  failedToGetAvaiableFonts: string;
91
95
  failedToOpenFile: string;
92
96
  fetchingDrawingFile: string;
93
97
  unknownEntities: string;
94
98
  };
99
+ notification: {
100
+ center: {
101
+ title: string;
102
+ clearAll: string;
103
+ noNotifications: string;
104
+ };
105
+ time: {
106
+ justNow: string;
107
+ minutesAgo: string;
108
+ hoursAgo: string;
109
+ daysAgo: string;
110
+ };
111
+ title: {
112
+ failedToOpenFile: string;
113
+ fontNotFound: string;
114
+ fontNotLoaded: string;
115
+ parsingWarning: string;
116
+ };
117
+ };
95
118
  };
96
119
  export default _default;
97
120
  //# sourceMappingURL=main.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../src/locale/en/main.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAgGC"}
1
+ {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../src/locale/en/main.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAuHC"}
@@ -70,6 +70,9 @@ export declare const i18n: import('vue-i18n').I18n<{
70
70
  warning: {
71
71
  font: string;
72
72
  };
73
+ notification: {
74
+ tooltip: string;
75
+ };
73
76
  };
74
77
  toolPalette: {
75
78
  layerManager: {
@@ -89,12 +92,32 @@ export declare const i18n: import('vue-i18n').I18n<{
89
92
  message: {
90
93
  loadingFonts: string;
91
94
  loadingDwgConverter: string;
92
- fontNotLoaded: string;
95
+ fontsNotFound: string;
96
+ fontsNotLoaded: string;
93
97
  failedToGetAvaiableFonts: string;
94
98
  failedToOpenFile: string;
95
99
  fetchingDrawingFile: string;
96
100
  unknownEntities: string;
97
101
  };
102
+ notification: {
103
+ center: {
104
+ title: string;
105
+ clearAll: string;
106
+ noNotifications: string;
107
+ };
108
+ time: {
109
+ justNow: string;
110
+ minutesAgo: string;
111
+ hoursAgo: string;
112
+ daysAgo: string;
113
+ };
114
+ title: {
115
+ failedToOpenFile: string;
116
+ fontNotFound: string;
117
+ fontNotLoaded: string;
118
+ parsingWarning: string;
119
+ };
120
+ };
98
121
  };
99
122
  command: {
100
123
  ACAD: {
@@ -378,6 +401,9 @@ export declare const i18n: import('vue-i18n').I18n<{
378
401
  warning: {
379
402
  font: string;
380
403
  };
404
+ notification: {
405
+ tooltip: string;
406
+ };
381
407
  };
382
408
  toolPalette: {
383
409
  layerManager: {
@@ -397,12 +423,32 @@ export declare const i18n: import('vue-i18n').I18n<{
397
423
  message: {
398
424
  loadingFonts: string;
399
425
  loadingDwgConverter: string;
400
- fontNotLoaded: string;
426
+ fontsNotFound: string;
427
+ fontsNotLoaded: string;
401
428
  failedToGetAvaiableFonts: string;
402
429
  failedToOpenFile: string;
403
430
  fetchingDrawingFile: string;
404
431
  unknownEntities: string;
405
432
  };
433
+ notification: {
434
+ center: {
435
+ title: string;
436
+ clearAll: string;
437
+ noNotifications: string;
438
+ };
439
+ time: {
440
+ justNow: string;
441
+ minutesAgo: string;
442
+ hoursAgo: string;
443
+ daysAgo: string;
444
+ };
445
+ title: {
446
+ failedToOpenFile: string;
447
+ fontNotFound: string;
448
+ fontNotLoaded: string;
449
+ parsingWarning: string;
450
+ };
451
+ };
406
452
  };
407
453
  command: {
408
454
  ACAD: {
@@ -1 +1 @@
1
- {"version":3,"file":"i18n.d.ts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QAAQ,UAAU,WAI5C,CAAA;AAED,eAAO,MAAM,SAAS,GAAI,cAAc,MAAM,WAQ7C,CAAA;AAED,eAAO,MAAM,sBAAsB,GAAI,OAAO,mBAAmB,WAIhE,CAAA;AAED,eAAe,IAAI,CAAA"}
@@ -67,6 +67,9 @@ declare const _default: {
67
67
  warning: {
68
68
  font: string;
69
69
  };
70
+ notification: {
71
+ tooltip: string;
72
+ };
70
73
  };
71
74
  toolPalette: {
72
75
  layerManager: {
@@ -86,12 +89,32 @@ declare const _default: {
86
89
  message: {
87
90
  loadingFonts: string;
88
91
  loadingDwgConverter: string;
89
- fontNotLoaded: string;
92
+ fontsNotFound: string;
93
+ fontsNotLoaded: string;
90
94
  failedToGetAvaiableFonts: string;
91
95
  failedToOpenFile: string;
92
96
  fetchingDrawingFile: string;
93
97
  unknownEntities: string;
94
98
  };
99
+ notification: {
100
+ center: {
101
+ title: string;
102
+ clearAll: string;
103
+ noNotifications: string;
104
+ };
105
+ time: {
106
+ justNow: string;
107
+ minutesAgo: string;
108
+ hoursAgo: string;
109
+ daysAgo: string;
110
+ };
111
+ title: {
112
+ failedToOpenFile: string;
113
+ fontNotFound: string;
114
+ fontNotLoaded: string;
115
+ parsingWarning: string;
116
+ };
117
+ };
95
118
  };
96
119
  export default _default;
97
120
  //# sourceMappingURL=main.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../src/locale/zh/main.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBA+FC"}
1
+ {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../src/locale/zh/main.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAsHC"}
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@mlightcad/cad-viewer",
3
- "version": "1.1.11",
3
+ "version": "1.2.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "repository": {
7
7
  "type": "git",
8
- "url": "git://github.com/mlight-lee/cad-viewer"
8
+ "url": "https://gitlab.com/mlightcad/cad-viewer.git"
9
9
  },
10
10
  "keywords": [
11
11
  "autocad",
@@ -42,8 +42,8 @@
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/three-renderer": "1.1.10",
46
- "@mlightcad/svg-renderer": "0.0.22"
45
+ "@mlightcad/three-renderer": "1.2.0",
46
+ "@mlightcad/svg-renderer": "1.2.0"
47
47
  },
48
48
  "dependencies": {
49
49
  "@element-plus/icons-vue": "^2.3.1",
@@ -51,12 +51,12 @@
51
51
  "three": "^0.172.0"
52
52
  },
53
53
  "peerDependencies": {
54
- "@mlightcad/data-model": "1.2.24",
54
+ "@mlightcad/data-model": "1.3.0",
55
55
  "@vueuse/core": "^11.1.0",
56
56
  "element-plus": "^2.9.1",
57
57
  "vue": "^3.4.21",
58
58
  "vue-i18n": "^10.0.1",
59
- "@mlightcad/cad-simple-viewer": "1.1.11"
59
+ "@mlightcad/cad-simple-viewer": "1.2.0"
60
60
  },
61
61
  "scripts": {
62
62
  "analyze": "vite build --mode analyze",