@dreamerbird/r3f 1.2.0 → 1.4.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.
@@ -1,10 +1,3 @@
1
- /**
2
- * r3f 基础属性的界面词条(en + zh-CN 四部词典,纯数据无依赖)。
3
- * 由 main/i18n.ts 与 extension/i18n.ts 两个薄注册壳分别注入 studio
4
- * i18n 单例——src 根部禁值导入 @dreamerbird/studio 子路径(生产构建
5
- * 不可用),main/extension 各自的 eslint 规则又互禁跨边,所以词典
6
- * 放共享根部,注册壳放两侧。
7
- */
8
1
  export declare const r3fPropsEn: {
9
2
  readonly 'r3f.props.position': "Position";
10
3
  readonly 'r3f.props.rotation': "Rotation";
@@ -43,4 +36,5 @@ export declare const r3fEditorEn: {
43
36
  readonly 'r3f.editor.space': "Space";
44
37
  };
45
38
  export declare const r3fEditorZhCN: Record<keyof typeof r3fEditorEn, string>;
39
+ export declare const r3fMessages: Record<string, Record<keyof typeof r3fPropsEn | keyof typeof r3fEditorEn, string>>;
46
40
  //# sourceMappingURL=i18nDicts.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"i18nDicts.d.ts","sourceRoot":"","sources":["../src/i18nDicts.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;CA6Bb,CAAA;AAEV,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,MAAM,OAAO,UAAU,EAAE,MAAM,CAwBhE,CAAA;AAED,eAAO,MAAM,WAAW;;;;;;;;;;CAUd,CAAA;AAEV,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,MAAM,OAAO,WAAW,EAAE,MAAM,CAUlE,CAAA"}
1
+ {"version":3,"file":"i18nDicts.d.ts","sourceRoot":"","sources":["../src/i18nDicts.ts"],"names":[],"mappings":"AAeA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;CA6Bb,CAAA;AAEV,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,MAAM,OAAO,UAAU,EAAE,MAAM,CAwBhE,CAAA;AAED,eAAO,MAAM,WAAW;;;;;;;;;;CAUd,CAAA;AAEV,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,MAAM,OAAO,WAAW,EAAE,MAAM,CAUlE,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,MAAM,CAC9B,MAAM,EACN,MAAM,CAAC,MAAM,OAAO,UAAU,GAAG,MAAM,OAAO,WAAW,EAAE,MAAM,CAAC,CAWnE,CAAA"}
@@ -0,0 +1,35 @@
1
+ export declare const messages: {
2
+ 'r3f.props.position': string;
3
+ 'r3f.props.rotation': string;
4
+ 'r3f.props.scale': string;
5
+ 'r3f.props.fov': string;
6
+ 'r3f.props.zoom': string;
7
+ 'r3f.props.near': string;
8
+ 'r3f.props.far': string;
9
+ 'r3f.props.intensity': string;
10
+ 'r3f.props.distance': string;
11
+ 'r3f.props.decay': string;
12
+ 'r3f.props.color': string;
13
+ 'r3f.props.angle': string;
14
+ 'r3f.props.penumbra': string;
15
+ 'r3f.props.groundColor': string;
16
+ 'r3f.props.fogColor': string;
17
+ 'r3f.props.fogNear': string;
18
+ 'r3f.props.fogFar': string;
19
+ 'r3f.props.transform': string;
20
+ 'r3f.props.target': string;
21
+ 'r3f.props.lens': string;
22
+ 'r3f.props.focus': string;
23
+ 'r3f.props.filmGauge': string;
24
+ 'r3f.props.filmOffset': string;
25
+ 'r3f.editor.viewport': string;
26
+ 'r3f.editor.showAxes': string;
27
+ 'r3f.editor.showGrid': string;
28
+ 'r3f.editor.showOverlayIcons': string;
29
+ 'r3f.editor.shading': string;
30
+ 'r3f.editor.referenceWindow': string;
31
+ 'r3f.editor.transformControls': string;
32
+ 'r3f.editor.mode': string;
33
+ 'r3f.editor.space': string;
34
+ };
35
+ //# sourceMappingURL=de.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"de.d.ts","sourceRoot":"","sources":["../../src/i18nLocales/de.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkCpB,CAAA"}
@@ -0,0 +1,35 @@
1
+ export declare const messages: {
2
+ 'r3f.props.position': string;
3
+ 'r3f.props.rotation': string;
4
+ 'r3f.props.scale': string;
5
+ 'r3f.props.fov': string;
6
+ 'r3f.props.zoom': string;
7
+ 'r3f.props.near': string;
8
+ 'r3f.props.far': string;
9
+ 'r3f.props.intensity': string;
10
+ 'r3f.props.distance': string;
11
+ 'r3f.props.decay': string;
12
+ 'r3f.props.color': string;
13
+ 'r3f.props.angle': string;
14
+ 'r3f.props.penumbra': string;
15
+ 'r3f.props.groundColor': string;
16
+ 'r3f.props.fogColor': string;
17
+ 'r3f.props.fogNear': string;
18
+ 'r3f.props.fogFar': string;
19
+ 'r3f.props.transform': string;
20
+ 'r3f.props.target': string;
21
+ 'r3f.props.lens': string;
22
+ 'r3f.props.focus': string;
23
+ 'r3f.props.filmGauge': string;
24
+ 'r3f.props.filmOffset': string;
25
+ 'r3f.editor.viewport': string;
26
+ 'r3f.editor.showAxes': string;
27
+ 'r3f.editor.showGrid': string;
28
+ 'r3f.editor.showOverlayIcons': string;
29
+ 'r3f.editor.shading': string;
30
+ 'r3f.editor.referenceWindow': string;
31
+ 'r3f.editor.transformControls': string;
32
+ 'r3f.editor.mode': string;
33
+ 'r3f.editor.space': string;
34
+ };
35
+ //# sourceMappingURL=es.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"es.d.ts","sourceRoot":"","sources":["../../src/i18nLocales/es.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiCpB,CAAA"}
@@ -0,0 +1,35 @@
1
+ export declare const messages: {
2
+ 'r3f.props.position': string;
3
+ 'r3f.props.rotation': string;
4
+ 'r3f.props.scale': string;
5
+ 'r3f.props.fov': string;
6
+ 'r3f.props.zoom': string;
7
+ 'r3f.props.near': string;
8
+ 'r3f.props.far': string;
9
+ 'r3f.props.intensity': string;
10
+ 'r3f.props.distance': string;
11
+ 'r3f.props.decay': string;
12
+ 'r3f.props.color': string;
13
+ 'r3f.props.angle': string;
14
+ 'r3f.props.penumbra': string;
15
+ 'r3f.props.groundColor': string;
16
+ 'r3f.props.fogColor': string;
17
+ 'r3f.props.fogNear': string;
18
+ 'r3f.props.fogFar': string;
19
+ 'r3f.props.transform': string;
20
+ 'r3f.props.target': string;
21
+ 'r3f.props.lens': string;
22
+ 'r3f.props.focus': string;
23
+ 'r3f.props.filmGauge': string;
24
+ 'r3f.props.filmOffset': string;
25
+ 'r3f.editor.viewport': string;
26
+ 'r3f.editor.showAxes': string;
27
+ 'r3f.editor.showGrid': string;
28
+ 'r3f.editor.showOverlayIcons': string;
29
+ 'r3f.editor.shading': string;
30
+ 'r3f.editor.referenceWindow': string;
31
+ 'r3f.editor.transformControls': string;
32
+ 'r3f.editor.mode': string;
33
+ 'r3f.editor.space': string;
34
+ };
35
+ //# sourceMappingURL=fr.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fr.d.ts","sourceRoot":"","sources":["../../src/i18nLocales/fr.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkCpB,CAAA"}
@@ -0,0 +1,35 @@
1
+ export declare const messages: {
2
+ 'r3f.props.position': string;
3
+ 'r3f.props.rotation': string;
4
+ 'r3f.props.scale': string;
5
+ 'r3f.props.fov': string;
6
+ 'r3f.props.zoom': string;
7
+ 'r3f.props.near': string;
8
+ 'r3f.props.far': string;
9
+ 'r3f.props.intensity': string;
10
+ 'r3f.props.distance': string;
11
+ 'r3f.props.decay': string;
12
+ 'r3f.props.color': string;
13
+ 'r3f.props.angle': string;
14
+ 'r3f.props.penumbra': string;
15
+ 'r3f.props.groundColor': string;
16
+ 'r3f.props.fogColor': string;
17
+ 'r3f.props.fogNear': string;
18
+ 'r3f.props.fogFar': string;
19
+ 'r3f.props.transform': string;
20
+ 'r3f.props.target': string;
21
+ 'r3f.props.lens': string;
22
+ 'r3f.props.focus': string;
23
+ 'r3f.props.filmGauge': string;
24
+ 'r3f.props.filmOffset': string;
25
+ 'r3f.editor.viewport': string;
26
+ 'r3f.editor.showAxes': string;
27
+ 'r3f.editor.showGrid': string;
28
+ 'r3f.editor.showOverlayIcons': string;
29
+ 'r3f.editor.shading': string;
30
+ 'r3f.editor.referenceWindow': string;
31
+ 'r3f.editor.transformControls': string;
32
+ 'r3f.editor.mode': string;
33
+ 'r3f.editor.space': string;
34
+ };
35
+ //# sourceMappingURL=ja.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ja.d.ts","sourceRoot":"","sources":["../../src/i18nLocales/ja.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiCpB,CAAA"}
@@ -0,0 +1,35 @@
1
+ export declare const messages: {
2
+ 'r3f.props.position': string;
3
+ 'r3f.props.rotation': string;
4
+ 'r3f.props.scale': string;
5
+ 'r3f.props.fov': string;
6
+ 'r3f.props.zoom': string;
7
+ 'r3f.props.near': string;
8
+ 'r3f.props.far': string;
9
+ 'r3f.props.intensity': string;
10
+ 'r3f.props.distance': string;
11
+ 'r3f.props.decay': string;
12
+ 'r3f.props.color': string;
13
+ 'r3f.props.angle': string;
14
+ 'r3f.props.penumbra': string;
15
+ 'r3f.props.groundColor': string;
16
+ 'r3f.props.fogColor': string;
17
+ 'r3f.props.fogNear': string;
18
+ 'r3f.props.fogFar': string;
19
+ 'r3f.props.transform': string;
20
+ 'r3f.props.target': string;
21
+ 'r3f.props.lens': string;
22
+ 'r3f.props.focus': string;
23
+ 'r3f.props.filmGauge': string;
24
+ 'r3f.props.filmOffset': string;
25
+ 'r3f.editor.viewport': string;
26
+ 'r3f.editor.showAxes': string;
27
+ 'r3f.editor.showGrid': string;
28
+ 'r3f.editor.showOverlayIcons': string;
29
+ 'r3f.editor.shading': string;
30
+ 'r3f.editor.referenceWindow': string;
31
+ 'r3f.editor.transformControls': string;
32
+ 'r3f.editor.mode': string;
33
+ 'r3f.editor.space': string;
34
+ };
35
+ //# sourceMappingURL=ko.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ko.d.ts","sourceRoot":"","sources":["../../src/i18nLocales/ko.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiCpB,CAAA"}
@@ -0,0 +1,35 @@
1
+ export declare const messages: {
2
+ 'r3f.props.position': string;
3
+ 'r3f.props.rotation': string;
4
+ 'r3f.props.scale': string;
5
+ 'r3f.props.fov': string;
6
+ 'r3f.props.zoom': string;
7
+ 'r3f.props.near': string;
8
+ 'r3f.props.far': string;
9
+ 'r3f.props.intensity': string;
10
+ 'r3f.props.distance': string;
11
+ 'r3f.props.decay': string;
12
+ 'r3f.props.color': string;
13
+ 'r3f.props.angle': string;
14
+ 'r3f.props.penumbra': string;
15
+ 'r3f.props.groundColor': string;
16
+ 'r3f.props.fogColor': string;
17
+ 'r3f.props.fogNear': string;
18
+ 'r3f.props.fogFar': string;
19
+ 'r3f.props.transform': string;
20
+ 'r3f.props.target': string;
21
+ 'r3f.props.lens': string;
22
+ 'r3f.props.focus': string;
23
+ 'r3f.props.filmGauge': string;
24
+ 'r3f.props.filmOffset': string;
25
+ 'r3f.editor.viewport': string;
26
+ 'r3f.editor.showAxes': string;
27
+ 'r3f.editor.showGrid': string;
28
+ 'r3f.editor.showOverlayIcons': string;
29
+ 'r3f.editor.shading': string;
30
+ 'r3f.editor.referenceWindow': string;
31
+ 'r3f.editor.transformControls': string;
32
+ 'r3f.editor.mode': string;
33
+ 'r3f.editor.space': string;
34
+ };
35
+ //# sourceMappingURL=pt.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pt.d.ts","sourceRoot":"","sources":["../../src/i18nLocales/pt.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiCpB,CAAA"}
@@ -0,0 +1,35 @@
1
+ export declare const messages: {
2
+ 'r3f.props.position': string;
3
+ 'r3f.props.rotation': string;
4
+ 'r3f.props.scale': string;
5
+ 'r3f.props.fov': string;
6
+ 'r3f.props.zoom': string;
7
+ 'r3f.props.near': string;
8
+ 'r3f.props.far': string;
9
+ 'r3f.props.intensity': string;
10
+ 'r3f.props.distance': string;
11
+ 'r3f.props.decay': string;
12
+ 'r3f.props.color': string;
13
+ 'r3f.props.angle': string;
14
+ 'r3f.props.penumbra': string;
15
+ 'r3f.props.groundColor': string;
16
+ 'r3f.props.fogColor': string;
17
+ 'r3f.props.fogNear': string;
18
+ 'r3f.props.fogFar': string;
19
+ 'r3f.props.transform': string;
20
+ 'r3f.props.target': string;
21
+ 'r3f.props.lens': string;
22
+ 'r3f.props.focus': string;
23
+ 'r3f.props.filmGauge': string;
24
+ 'r3f.props.filmOffset': string;
25
+ 'r3f.editor.viewport': string;
26
+ 'r3f.editor.showAxes': string;
27
+ 'r3f.editor.showGrid': string;
28
+ 'r3f.editor.showOverlayIcons': string;
29
+ 'r3f.editor.shading': string;
30
+ 'r3f.editor.referenceWindow': string;
31
+ 'r3f.editor.transformControls': string;
32
+ 'r3f.editor.mode': string;
33
+ 'r3f.editor.space': string;
34
+ };
35
+ //# sourceMappingURL=ru.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ru.d.ts","sourceRoot":"","sources":["../../src/i18nLocales/ru.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiCpB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dreamerbird/r3f",
3
- "version": "1.2.0",
3
+ "version": "1.4.0",
4
4
  "license": "Apache-2.0",
5
5
  "authors": [
6
6
  {
@@ -63,8 +63,8 @@
63
63
  "tsx": "4.7.0",
64
64
  "typescript": "5.6.3",
65
65
  "zustand": "^3.5.1",
66
- "@dreamerbird/dataverse": "1.2.0",
67
- "@dreamerbird/react": "1.2.0"
66
+ "@dreamerbird/dataverse": "1.4.0",
67
+ "@dreamerbird/react": "1.4.0"
68
68
  },
69
69
  "peerDependencies": {
70
70
  "@dreamerbird/core": "*",