@mlightcad/cad-editor 1.8.0-preview.2 → 1.8.0-preview.3

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.
@@ -1 +1 @@
1
- {"version":3,"file":"MlCadViewer.vue.d.ts","sourceRoot":"","sources":["../../src/component/MlCadViewer.vue"],"names":[],"mappings":"AA0CA;AA0vBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,OAAO,EAGL,gBAAgB,EAEhB,YAAY,EAGb,MAAM,8BAA8B,CAAA;AA2BrC,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AAuBtC,UAAU,KAAK;IACb,0EAA0E;IAC1E,MAAM,CAAC,EAAE,UAAU,CAAA;IACnB,uEAAuE;IACvE,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,qFAAqF;IACrF,SAAS,CAAC,EAAE,IAAI,CAAA;IAChB,yEAAyE;IACzE,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,uGAAuG;IACvG,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB;;;;;OAKG;IACH,oBAAoB,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;IACnC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,kCAAkC;IAClC,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IACxB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B;;;;;;;;;OASG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B;;;OAGG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B;;;;OAIG;IACH,YAAY,CAAC,EAAE,gB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;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAC7C;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAChD;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC;AACF,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAC9B,CAAC,IAAI,MAAM,CAAC,GAAG,MAAM,GAAG,CAAC,SAAS,MAAM,CAAC,GACvC,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,CAAC,GAC7C,CAAC,CAAC,CAAC,CAAC;CACP,CAAC;AACF,KAAK,mBAAmB,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,GAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,CAAC,GAAG,EAAE,CAAC"}
@@ -1,4 +1,4 @@
1
- import { AcApLocale } from '@mlightcad/cad-simple-viewer';
1
+ import { AcApLocale } from '@mlightcad/cad-simple-viewer/file-open-panel';
2
2
  import { LocaleProp } from '../locale/types';
3
3
  export declare const LOCALE_OPTIONS: ({
4
4
  locale: "en";
@@ -20,6 +20,10 @@ export declare const isSupportedLocale: (value: string) => value is AcApLocale;
20
20
  /**
21
21
  * Locale composable for cad-viewer.
22
22
  *
23
+ * Uses the same `@mlightcad/cad-simple-viewer/file-open-panel` {@link AcApI18n}
24
+ * singleton as `locale/i18n.ts` (vue-i18n host). {@link syncViewerAcApI18n}
25
+ * mirrors changes onto the full-viewer package singleton for plugins.
26
+ *
23
27
  * {@link AcApI18n.setCurrentLocale} is the only write path. vue-i18n is synced
24
28
  * from {@link AcApI18n.events.localeChanged} in `locale/i18n.ts`.
25
29
  */
@@ -1 +1 @@
1
- {"version":3,"file":"useLocale.d.ts","sourceRoot":"","sources":["../../src/composable/useLocale.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,UAAU,EAAE,MAAM,8BAA8B,CAAA;AAQxE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAKjD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;IAM1B,CAAA;AAED,eAAO,MAAM,iBAAiB,GAAI,OAAO,MAAM,KAAG,KAAK,IAAI,UAQ1D,CAAA;AAkBD;;;;;GAKG;AACH,wBAAgB,SAAS,CAAC,UAAU,CAAC,EAAE,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAejB,UAAU;;;EAuCzC"}
1
+ {"version":3,"file":"useLocale.d.ts","sourceRoot":"","sources":["../../src/composable/useLocale.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,UAAU,EAChB,MAAM,8CAA8C,CAAA;AAQrD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAKjD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;IAM1B,CAAA;AAED,eAAO,MAAM,iBAAiB,GAAI,OAAO,MAAM,KAAG,KAAK,IAAI,UAQ1D,CAAA;AAkBD;;;;;;;;;GASG;AACH,wBAAgB,SAAS,CAAC,UAAU,CAAC,EAAE,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAejB,UAAU;;;EAuCzC"}
@@ -1 +1 @@
1
- {"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../src/locale/i18n.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,UAAU,EAChB,MAAM,8CAA8C,CAAA;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AA2FlD,eAAO,MAAM,IAAI,yIAQf,CAAA;AAaF,eAAO,MAAM,UAAU,GAAI,QAAQ,UAAU,WAI5C,CAAA;AAED,eAAO,MAAM,cAAc,GAAI,MAAM,MAAM,WAI1C,CAAA;AAED,eAAO,MAAM,cAAc,GAAI,MAAM,MAAM,WAI1C,CAAA;AAED,eAAO,MAAM,SAAS,GAAI,cAAc,MAAM,WAyB7C,CAAA;AACD,eAAO,MAAM,gBAAgB,GAAI,MAAM,MAAM,WAI5C,CAAA;AAED,eAAO,MAAM,kBAAkB,GAAI,MAAM,MAAM,WAI9C,CAAA;AAED,eAAe,IAAI,CAAA"}
1
+ {"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../src/locale/i18n.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,UAAU,EAChB,MAAM,8CAA8C,CAAA;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AA2FlD,eAAO,MAAM,IAAI,yIAQf,CAAA;AAiBF,eAAO,MAAM,UAAU,GAAI,QAAQ,UAAU,WAI5C,CAAA;AAED,eAAO,MAAM,cAAc,GAAI,MAAM,MAAM,WAI1C,CAAA;AAED,eAAO,MAAM,cAAc,GAAI,MAAM,MAAM,WAI1C,CAAA;AAED,eAAO,MAAM,SAAS,GAAI,cAAc,MAAM,WAyB7C,CAAA;AACD,eAAO,MAAM,gBAAgB,GAAI,MAAM,MAAM,WAI5C,CAAA;AAED,eAAO,MAAM,kBAAkB,GAAI,MAAM,MAAM,WAI9C,CAAA;AAED,eAAe,IAAI,CAAA"}
@@ -1,3 +1,4 @@
1
1
  export * from './i18n';
2
+ export * from './syncViewerAcApI18n';
2
3
  export * from './types';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/locale/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAA;AACtB,cAAc,SAAS,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/locale/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAA;AACtB,cAAc,sBAAsB,CAAA;AACpC,cAAc,SAAS,CAAA"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Mirrors the landing-page {@link AcApI18n} locale onto the full-viewer
3
+ * singleton used by plugins (e.g. CAD Agent).
4
+ *
5
+ * Demo/production builds can load `@mlightcad/cad-simple-viewer/file-open-panel`
6
+ * and `@mlightcad/cad-simple-viewer` as separate graphs, each with its own
7
+ * static `AcApI18n`. Host UI / vue-i18n use the landing singleton; agent and
8
+ * other viewer plugins read the main-package singleton.
9
+ */
10
+ export declare function syncViewerAcApI18n(): void;
11
+ //# sourceMappingURL=syncViewerAcApI18n.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"syncViewerAcApI18n.d.ts","sourceRoot":"","sources":["../../src/locale/syncViewerAcApI18n.ts"],"names":[],"mappings":"AASA;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,IAAI,IAAI,CAczC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mlightcad/cad-editor",
3
- "version": "1.8.0-preview.2",
3
+ "version": "1.8.0-preview.3",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "repository": {
@@ -61,19 +61,19 @@
61
61
  "vue-eslint-parser": "^10.4.0",
62
62
  "vue-i18n": "^11.4.4",
63
63
  "vue-tsc": "^2.1.6",
64
- "@mlightcad/cad-agent-core": "1.8.0-preview.2",
65
- "@mlightcad/cad-script-core": "1.8.0-preview.2",
66
- "@mlightcad/cad-agent-plugin": "1.8.0-preview.2",
67
- "@mlightcad/cad-script-plugin": "1.8.0-preview.2",
68
- "@mlightcad/cad-onedrive-plugin": "1.8.0-preview.2",
69
- "@mlightcad/cad-google-drive-plugin": "1.8.0-preview.2",
70
- "@mlightcad/cad-pdf-plugin": "1.8.0-preview.2",
71
- "@mlightcad/cad-pdf-core": "1.8.0-preview.2",
72
- "@mlightcad/cad-svg-plugin": "1.8.0-preview.2",
73
- "@mlightcad/pdf-renderer": "1.8.0-preview.2",
74
- "@mlightcad/cad-html-plugin": "1.8.0-preview.2",
75
- "@mlightcad/cad-simple-viewer": "1.8.0-preview.2",
76
- "@mlightcad/three-renderer": "1.8.0-preview.2"
64
+ "@mlightcad/cad-agent-core": "1.8.0-preview.3",
65
+ "@mlightcad/cad-agent-plugin": "1.8.0-preview.3",
66
+ "@mlightcad/cad-script-plugin": "1.8.0-preview.3",
67
+ "@mlightcad/cad-html-plugin": "1.8.0-preview.3",
68
+ "@mlightcad/cad-onedrive-plugin": "1.8.0-preview.3",
69
+ "@mlightcad/cad-google-drive-plugin": "1.8.0-preview.3",
70
+ "@mlightcad/cad-script-core": "1.8.0-preview.3",
71
+ "@mlightcad/pdf-renderer": "1.8.0-preview.3",
72
+ "@mlightcad/cad-svg-plugin": "1.8.0-preview.3",
73
+ "@mlightcad/cad-pdf-plugin": "1.8.0-preview.3",
74
+ "@mlightcad/cad-simple-viewer": "1.8.0-preview.3",
75
+ "@mlightcad/three-renderer": "1.8.0-preview.3",
76
+ "@mlightcad/cad-pdf-core": "1.8.0-preview.3"
77
77
  },
78
78
  "peerDependencies": {
79
79
  "@mlightcad/data-model": "1.15.22",
@@ -83,19 +83,19 @@
83
83
  "three": "^0.186.1",
84
84
  "vue": "^3.4.21",
85
85
  "vue-i18n": "^11.4.4",
86
- "@mlightcad/cad-agent-core": "^1.8.0-preview.2",
87
- "@mlightcad/cad-script-core": "^1.8.0-preview.2",
88
- "@mlightcad/cad-agent-plugin": "^1.8.0-preview.2",
89
- "@mlightcad/cad-script-plugin": "^1.8.0-preview.2",
90
- "@mlightcad/cad-html-plugin": "^1.8.0-preview.2",
91
- "@mlightcad/cad-pdf-plugin": "^1.8.0-preview.2",
92
- "@mlightcad/cad-google-drive-plugin": "^1.8.0-preview.2",
93
- "@mlightcad/cad-onedrive-plugin": "^1.8.0-preview.2",
94
- "@mlightcad/pdf-renderer": "^1.8.0-preview.2",
95
- "@mlightcad/cad-svg-plugin": "^1.8.0-preview.2",
96
- "@mlightcad/cad-simple-viewer": "^1.8.0-preview.2",
97
- "@mlightcad/three-renderer": "^1.8.0-preview.2",
98
- "@mlightcad/cad-pdf-core": "^1.8.0-preview.2"
86
+ "@mlightcad/cad-agent-core": "^1.8.0-preview.3",
87
+ "@mlightcad/cad-script-core": "^1.8.0-preview.3",
88
+ "@mlightcad/cad-script-plugin": "^1.8.0-preview.3",
89
+ "@mlightcad/cad-agent-plugin": "^1.8.0-preview.3",
90
+ "@mlightcad/cad-onedrive-plugin": "^1.8.0-preview.3",
91
+ "@mlightcad/cad-google-drive-plugin": "^1.8.0-preview.3",
92
+ "@mlightcad/pdf-renderer": "^1.8.0-preview.3",
93
+ "@mlightcad/cad-svg-plugin": "^1.8.0-preview.3",
94
+ "@mlightcad/cad-pdf-plugin": "^1.8.0-preview.3",
95
+ "@mlightcad/cad-pdf-core": "^1.8.0-preview.3",
96
+ "@mlightcad/cad-simple-viewer": "^1.8.0-preview.3",
97
+ "@mlightcad/three-renderer": "^1.8.0-preview.3",
98
+ "@mlightcad/cad-html-plugin": "^1.8.0-preview.3"
99
99
  },
100
100
  "peerDependenciesMeta": {
101
101
  "@mlightcad/cad-agent-core": {
@@ -106,6 +106,10 @@ export const i18n = createI18n({
106
106
  /**
107
107
  * vue-i18n follows {@link AcApI18n} — never the other way around.
108
108
  * All locale changes must go through {@link AcApI18n.setCurrentLocale}.
109
+ *
110
+ * The full-viewer package entry may carry a separate {@link AcApI18n}
111
+ * singleton; {@link syncViewerAcApI18n} (called from {@link MlCadViewer})
112
+ * mirrors this landing singleton onto it for plugins such as CAD Agent.
109
113
  */
110
114
  AcApI18n.events.localeChanged.addEventListener(args => {
111
115
  i18n.global.locale.value = args.new
@@ -1,2 +1,3 @@
1
1
  export * from './i18n'
2
+ export * from './syncViewerAcApI18n'
2
3
  export * from './types'
@@ -0,0 +1,33 @@
1
+ import { AcApI18n as AcApViewerI18n } from '@mlightcad/cad-simple-viewer'
2
+ import {
3
+ AcApI18n,
4
+ type AcApLocale
5
+ } from '@mlightcad/cad-simple-viewer/file-open-panel'
6
+
7
+ /** Whether the landing → viewer locale bridge is already installed. */
8
+ let isBridgeInstalled = false
9
+
10
+ /**
11
+ * Mirrors the landing-page {@link AcApI18n} locale onto the full-viewer
12
+ * singleton used by plugins (e.g. CAD Agent).
13
+ *
14
+ * Demo/production builds can load `@mlightcad/cad-simple-viewer/file-open-panel`
15
+ * and `@mlightcad/cad-simple-viewer` as separate graphs, each with its own
16
+ * static `AcApI18n`. Host UI / vue-i18n use the landing singleton; agent and
17
+ * other viewer plugins read the main-package singleton.
18
+ */
19
+ export function syncViewerAcApI18n(): void {
20
+ const sync = (locale: AcApLocale) => {
21
+ if (AcApViewerI18n.currentLocale !== locale) {
22
+ AcApViewerI18n.setCurrentLocale(locale)
23
+ }
24
+ }
25
+
26
+ sync(AcApI18n.currentLocale)
27
+
28
+ if (isBridgeInstalled) return
29
+ isBridgeInstalled = true
30
+ AcApI18n.events.localeChanged.addEventListener(args => {
31
+ sync(args.new)
32
+ })
33
+ }