@dreamerbird/r3f 0.0.0-stage → 1.0.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 (81) hide show
  1. package/LICENSE +203 -0
  2. package/README.md +103 -2
  3. package/dist/drei/OrthographicCamera.d.ts +20 -0
  4. package/dist/drei/OrthographicCamera.d.ts.map +1 -0
  5. package/dist/drei/PerspectiveCamera.d.ts +20 -0
  6. package/dist/drei/PerspectiveCamera.d.ts.map +1 -0
  7. package/dist/drei/index.d.ts +3 -0
  8. package/dist/drei/index.d.ts.map +1 -0
  9. package/dist/extension/InfiniteGridHelper/index.d.ts +12 -0
  10. package/dist/extension/InfiniteGridHelper/index.d.ts.map +1 -0
  11. package/dist/extension/components/DragDetector.d.ts +8 -0
  12. package/dist/extension/components/DragDetector.d.ts.map +1 -0
  13. package/dist/extension/components/EditableProxy.d.ts +9 -0
  14. package/dist/extension/components/EditableProxy.d.ts.map +1 -0
  15. package/dist/extension/components/OrbitControls/OrbitControlsImpl.d.ts +70 -0
  16. package/dist/extension/components/OrbitControls/OrbitControlsImpl.d.ts.map +1 -0
  17. package/dist/extension/components/OrbitControls/index.d.ts +25 -0
  18. package/dist/extension/components/OrbitControls/index.d.ts.map +1 -0
  19. package/dist/extension/components/ProxyManager.d.ts +9 -0
  20. package/dist/extension/components/ProxyManager.d.ts.map +1 -0
  21. package/dist/extension/components/ReferenceWindow/ReferenceWindow.d.ts +10 -0
  22. package/dist/extension/components/ReferenceWindow/ReferenceWindow.d.ts.map +1 -0
  23. package/dist/extension/components/ReferenceWindow/noiseImage.d.ts +3 -0
  24. package/dist/extension/components/ReferenceWindow/noiseImage.d.ts.map +1 -0
  25. package/dist/extension/components/SnapshotEditor.d.ts +6 -0
  26. package/dist/extension/components/SnapshotEditor.d.ts.map +1 -0
  27. package/dist/extension/components/TransformControls.d.ts +24 -0
  28. package/dist/extension/components/TransformControls.d.ts.map +1 -0
  29. package/dist/extension/components/useRefAndState.d.ts +18 -0
  30. package/dist/extension/components/useRefAndState.d.ts.map +1 -0
  31. package/dist/extension/components/useSelected.d.ts +3 -0
  32. package/dist/extension/components/useSelected.d.ts.map +1 -0
  33. package/dist/extension/components/useSnapshotEditorCamera.d.ts +10 -0
  34. package/dist/extension/components/useSnapshotEditorCamera.d.ts.map +1 -0
  35. package/dist/extension/editorStuff.d.ts +19 -0
  36. package/dist/extension/editorStuff.d.ts.map +1 -0
  37. package/dist/extension/i18n.d.ts +2 -0
  38. package/dist/extension/i18n.d.ts.map +1 -0
  39. package/dist/extension/icons.d.ts +13 -0
  40. package/dist/extension/icons.d.ts.map +1 -0
  41. package/dist/extension/index.d.ts +4 -0
  42. package/dist/extension/index.d.ts.map +1 -0
  43. package/dist/extension/index.esm.js +33742 -0
  44. package/dist/extension/index.esm.js.map +7 -0
  45. package/dist/extension/index.js +33710 -0
  46. package/dist/extension/index.js.map +7 -0
  47. package/dist/extension/useExtensionStore.d.ts +3 -0
  48. package/dist/extension/useExtensionStore.d.ts.map +1 -0
  49. package/dist/i18n.test.d.ts +2 -0
  50. package/dist/i18n.test.d.ts.map +1 -0
  51. package/dist/i18nDicts.d.ts +46 -0
  52. package/dist/i18nDicts.d.ts.map +1 -0
  53. package/dist/index.d.ts +8 -0
  54. package/dist/index.d.ts.map +1 -0
  55. package/dist/index.esm.js +844 -0
  56. package/dist/index.esm.js.map +7 -0
  57. package/dist/index.js +842 -0
  58. package/dist/index.js.map +7 -0
  59. package/dist/main/RafDriverProvider.d.ts +10 -0
  60. package/dist/main/RafDriverProvider.d.ts.map +1 -0
  61. package/dist/main/RefreshSnapshot.d.ts +19 -0
  62. package/dist/main/RefreshSnapshot.d.ts.map +1 -0
  63. package/dist/main/SheetProvider.d.ts +10 -0
  64. package/dist/main/SheetProvider.d.ts.map +1 -0
  65. package/dist/main/defaultEditableFactoryConfig.d.ts +534 -0
  66. package/dist/main/defaultEditableFactoryConfig.d.ts.map +1 -0
  67. package/dist/main/editable.d.ts +149 -0
  68. package/dist/main/editable.d.ts.map +1 -0
  69. package/dist/main/editableFactoryConfigUtils.d.ts +64 -0
  70. package/dist/main/editableFactoryConfigUtils.d.ts.map +1 -0
  71. package/dist/main/i18n.d.ts +2 -0
  72. package/dist/main/i18n.d.ts.map +1 -0
  73. package/dist/main/store.d.ts +46 -0
  74. package/dist/main/store.d.ts.map +1 -0
  75. package/dist/main/useInvalidate.d.ts +2 -0
  76. package/dist/main/useInvalidate.d.ts.map +1 -0
  77. package/dist/main/utils.d.ts +4 -0
  78. package/dist/main/utils.d.ts.map +1 -0
  79. package/dist/types.d.ts +9 -0
  80. package/dist/types.d.ts.map +1 -0
  81. package/package.json +81 -3
@@ -0,0 +1,149 @@
1
+ import type { ComponentProps, ComponentType, PropsWithoutRef, Ref } from 'react';
2
+ import React from 'react';
3
+ import type { ThreeElements } from '@react-three/fiber';
4
+ import type { $FixMe } from '../types';
5
+ import type { SheetObjectActionsConfig } from '@dreamerbird/core';
6
+ declare const editable: (<T extends ComponentType<any> | keyof ThreeElements | "primitive", U extends "spotLight" | "orthographicCamera" | "perspectiveCamera" | "ambientLight" | "directionalLight" | "hemisphereLight" | "pointLight" | "group" | "lineLoop" | "lineSegments" | "mesh" | "points" | "fog">(Component: T, type: T extends "primitive" ? null : U) => React.ForwardRefExoticComponent<PropsWithoutRef<Omit<ComponentProps<T>, "visible"> & {
7
+ theatreKey: string;
8
+ visible?: boolean | "editor";
9
+ /** 不进 studio 大纲树/时间轴(透传 core 的 sheet.object 选项) */
10
+ hideFromOutline?: boolean;
11
+ additionalProps?: $FixMe;
12
+ objectActions?: SheetObjectActionsConfig;
13
+ objRef?: $FixMe;
14
+ } & (T extends "primitive" ? {
15
+ editableType: U;
16
+ } : {})> & React.RefAttributes<unknown>>) & {
17
+ spotLight: React.ForwardRefExoticComponent<Omit<import("@react-three/fiber/dist/declarations/src/core/utils").Mutable<import("@react-three/fiber/dist/declarations/src/core/utils").Overwrite<Partial<import("@react-three/fiber/dist/declarations/src/core/utils").Overwrite<import("three").SpotLight, import("@react-three/fiber").MathProps<import("three").SpotLight> & import("@react-three/fiber").ReactProps<import("three").SpotLight> & Partial<import("@react-three/fiber").EventHandlers>>>, Omit<import("@react-three/fiber").InstanceProps<import("three").SpotLight, typeof import("three").SpotLight>, "object">>>, "visible"> & {
18
+ theatreKey: string;
19
+ visible?: boolean | "editor";
20
+ hideFromOutline?: boolean;
21
+ additionalProps?: $FixMe;
22
+ objectActions?: SheetObjectActionsConfig;
23
+ objRef?: $FixMe;
24
+ ref?: Ref<unknown>;
25
+ }>;
26
+ orthographicCamera: React.ForwardRefExoticComponent<Omit<import("@react-three/fiber/dist/declarations/src/core/utils").Mutable<import("@react-three/fiber/dist/declarations/src/core/utils").Overwrite<Partial<import("@react-three/fiber/dist/declarations/src/core/utils").Overwrite<import("three").OrthographicCamera, import("@react-three/fiber").MathProps<import("three").OrthographicCamera> & import("@react-three/fiber").ReactProps<import("three").OrthographicCamera> & Partial<import("@react-three/fiber").EventHandlers>>>, Omit<import("@react-three/fiber").InstanceProps<import("three").OrthographicCamera, typeof import("three").OrthographicCamera>, "object">>>, "visible"> & {
27
+ theatreKey: string;
28
+ visible?: boolean | "editor";
29
+ hideFromOutline?: boolean;
30
+ additionalProps?: $FixMe;
31
+ objectActions?: SheetObjectActionsConfig;
32
+ objRef?: $FixMe;
33
+ ref?: Ref<unknown>;
34
+ }>;
35
+ perspectiveCamera: React.ForwardRefExoticComponent<Omit<import("@react-three/fiber/dist/declarations/src/core/utils").Mutable<import("@react-three/fiber/dist/declarations/src/core/utils").Overwrite<Partial<import("@react-three/fiber/dist/declarations/src/core/utils").Overwrite<import("three").PerspectiveCamera, import("@react-three/fiber").MathProps<import("three").PerspectiveCamera> & import("@react-three/fiber").ReactProps<import("three").PerspectiveCamera> & Partial<import("@react-three/fiber").EventHandlers>>>, Omit<import("@react-three/fiber").InstanceProps<import("three").PerspectiveCamera, typeof import("three").PerspectiveCamera>, "object">>>, "visible"> & {
36
+ theatreKey: string;
37
+ visible?: boolean | "editor";
38
+ hideFromOutline?: boolean;
39
+ additionalProps?: $FixMe;
40
+ objectActions?: SheetObjectActionsConfig;
41
+ objRef?: $FixMe;
42
+ ref?: Ref<unknown>;
43
+ }>;
44
+ ambientLight: React.ForwardRefExoticComponent<Omit<import("@react-three/fiber/dist/declarations/src/core/utils").Mutable<import("@react-three/fiber/dist/declarations/src/core/utils").Overwrite<Partial<import("@react-three/fiber/dist/declarations/src/core/utils").Overwrite<import("three").AmbientLight, import("@react-three/fiber").MathProps<import("three").AmbientLight> & import("@react-three/fiber").ReactProps<import("three").AmbientLight> & Partial<import("@react-three/fiber").EventHandlers>>>, Omit<import("@react-three/fiber").InstanceProps<import("three").AmbientLight, typeof import("three").AmbientLight>, "object">>>, "visible"> & {
45
+ theatreKey: string;
46
+ visible?: boolean | "editor";
47
+ hideFromOutline?: boolean;
48
+ additionalProps?: $FixMe;
49
+ objectActions?: SheetObjectActionsConfig;
50
+ objRef?: $FixMe;
51
+ ref?: Ref<unknown>;
52
+ }>;
53
+ directionalLight: React.ForwardRefExoticComponent<Omit<import("@react-three/fiber/dist/declarations/src/core/utils").Mutable<import("@react-three/fiber/dist/declarations/src/core/utils").Overwrite<Partial<import("@react-three/fiber/dist/declarations/src/core/utils").Overwrite<import("three").DirectionalLight, import("@react-three/fiber").MathProps<import("three").DirectionalLight> & import("@react-three/fiber").ReactProps<import("three").DirectionalLight> & Partial<import("@react-three/fiber").EventHandlers>>>, Omit<import("@react-three/fiber").InstanceProps<import("three").DirectionalLight, typeof import("three").DirectionalLight>, "object">>>, "visible"> & {
54
+ theatreKey: string;
55
+ visible?: boolean | "editor";
56
+ hideFromOutline?: boolean;
57
+ additionalProps?: $FixMe;
58
+ objectActions?: SheetObjectActionsConfig;
59
+ objRef?: $FixMe;
60
+ ref?: Ref<unknown>;
61
+ }>;
62
+ hemisphereLight: React.ForwardRefExoticComponent<Omit<import("@react-three/fiber/dist/declarations/src/core/utils").Mutable<import("@react-three/fiber/dist/declarations/src/core/utils").Overwrite<Partial<import("@react-three/fiber/dist/declarations/src/core/utils").Overwrite<import("three").HemisphereLight, import("@react-three/fiber").MathProps<import("three").HemisphereLight> & import("@react-three/fiber").ReactProps<import("three").HemisphereLight> & Partial<import("@react-three/fiber").EventHandlers>>>, Omit<import("@react-three/fiber").InstanceProps<import("three").HemisphereLight, typeof import("three").HemisphereLight>, "object">>>, "visible"> & {
63
+ theatreKey: string;
64
+ visible?: boolean | "editor";
65
+ hideFromOutline?: boolean;
66
+ additionalProps?: $FixMe;
67
+ objectActions?: SheetObjectActionsConfig;
68
+ objRef?: $FixMe;
69
+ ref?: Ref<unknown>;
70
+ }>;
71
+ pointLight: React.ForwardRefExoticComponent<Omit<import("@react-three/fiber/dist/declarations/src/core/utils").Mutable<import("@react-three/fiber/dist/declarations/src/core/utils").Overwrite<Partial<import("@react-three/fiber/dist/declarations/src/core/utils").Overwrite<import("three").PointLight, import("@react-three/fiber").MathProps<import("three").PointLight> & import("@react-three/fiber").ReactProps<import("three").PointLight> & Partial<import("@react-three/fiber").EventHandlers>>>, Omit<import("@react-three/fiber").InstanceProps<import("three").PointLight, typeof import("three").PointLight>, "object">>>, "visible"> & {
72
+ theatreKey: string;
73
+ visible?: boolean | "editor";
74
+ hideFromOutline?: boolean;
75
+ additionalProps?: $FixMe;
76
+ objectActions?: SheetObjectActionsConfig;
77
+ objRef?: $FixMe;
78
+ ref?: Ref<unknown>;
79
+ }>;
80
+ group: React.ForwardRefExoticComponent<Omit<import("@react-three/fiber/dist/declarations/src/core/utils").Mutable<import("@react-three/fiber/dist/declarations/src/core/utils").Overwrite<Partial<import("@react-three/fiber/dist/declarations/src/core/utils").Overwrite<import("three").Group<import("three").Object3DEventMap>, import("@react-three/fiber").MathProps<import("three").Group<import("three").Object3DEventMap>> & import("@react-three/fiber").ReactProps<import("three").Group<import("three").Object3DEventMap>> & Partial<import("@react-three/fiber").EventHandlers>>>, Omit<import("@react-three/fiber").InstanceProps<import("three").Group<import("three").Object3DEventMap>, typeof import("three").Group>, "object">>>, "visible"> & {
81
+ theatreKey: string;
82
+ visible?: boolean | "editor";
83
+ hideFromOutline?: boolean;
84
+ additionalProps?: $FixMe;
85
+ objectActions?: SheetObjectActionsConfig;
86
+ objRef?: $FixMe;
87
+ ref?: Ref<unknown>;
88
+ }>;
89
+ lineLoop: React.ForwardRefExoticComponent<Omit<import("@react-three/fiber/dist/declarations/src/core/utils").Mutable<import("@react-three/fiber/dist/declarations/src/core/utils").Overwrite<Partial<import("@react-three/fiber/dist/declarations/src/core/utils").Overwrite<import("three").LineLoop<import("three").BufferGeometry<import("three").NormalBufferAttributes, import("three").BufferGeometryEventMap>, import("three").Material<import("three").MaterialEventMap> | import("three").Material<import("three").MaterialEventMap>[], import("three").Object3DEventMap>, import("@react-three/fiber").MathProps<import("three").LineLoop<import("three").BufferGeometry<import("three").NormalBufferAttributes, import("three").BufferGeometryEventMap>, import("three").Material<import("three").MaterialEventMap> | import("three").Material<import("three").MaterialEventMap>[], import("three").Object3DEventMap>> & import("@react-three/fiber").ReactProps<import("three").LineLoop<import("three").BufferGeometry<import("three").NormalBufferAttributes, import("three").BufferGeometryEventMap>, import("three").Material<import("three").MaterialEventMap> | import("three").Material<import("three").MaterialEventMap>[], import("three").Object3DEventMap>> & Partial<import("@react-three/fiber").EventHandlers>>>, Omit<import("@react-three/fiber").InstanceProps<import("three").LineLoop<import("three").BufferGeometry<import("three").NormalBufferAttributes, import("three").BufferGeometryEventMap>, import("three").Material<import("three").MaterialEventMap> | import("three").Material<import("three").MaterialEventMap>[], import("three").Object3DEventMap>, typeof import("three").LineLoop>, "object">>>, "visible"> & {
90
+ theatreKey: string;
91
+ visible?: boolean | "editor";
92
+ hideFromOutline?: boolean;
93
+ additionalProps?: $FixMe;
94
+ objectActions?: SheetObjectActionsConfig;
95
+ objRef?: $FixMe;
96
+ ref?: Ref<unknown>;
97
+ }>;
98
+ lineSegments: React.ForwardRefExoticComponent<Omit<import("@react-three/fiber/dist/declarations/src/core/utils").Mutable<import("@react-three/fiber/dist/declarations/src/core/utils").Overwrite<Partial<import("@react-three/fiber/dist/declarations/src/core/utils").Overwrite<import("three").LineSegments<import("three").BufferGeometry<import("three").NormalBufferAttributes, import("three").BufferGeometryEventMap>, import("three").Material<import("three").MaterialEventMap> | import("three").Material<import("three").MaterialEventMap>[], import("three").Object3DEventMap>, import("@react-three/fiber").MathProps<import("three").LineSegments<import("three").BufferGeometry<import("three").NormalBufferAttributes, import("three").BufferGeometryEventMap>, import("three").Material<import("three").MaterialEventMap> | import("three").Material<import("three").MaterialEventMap>[], import("three").Object3DEventMap>> & import("@react-three/fiber").ReactProps<import("three").LineSegments<import("three").BufferGeometry<import("three").NormalBufferAttributes, import("three").BufferGeometryEventMap>, import("three").Material<import("three").MaterialEventMap> | import("three").Material<import("three").MaterialEventMap>[], import("three").Object3DEventMap>> & Partial<import("@react-three/fiber").EventHandlers>>>, Omit<import("@react-three/fiber").InstanceProps<import("three").LineSegments<import("three").BufferGeometry<import("three").NormalBufferAttributes, import("three").BufferGeometryEventMap>, import("three").Material<import("three").MaterialEventMap> | import("three").Material<import("three").MaterialEventMap>[], import("three").Object3DEventMap>, typeof import("three").LineSegments>, "object">>>, "visible"> & {
99
+ theatreKey: string;
100
+ visible?: boolean | "editor";
101
+ hideFromOutline?: boolean;
102
+ additionalProps?: $FixMe;
103
+ objectActions?: SheetObjectActionsConfig;
104
+ objRef?: $FixMe;
105
+ ref?: Ref<unknown>;
106
+ }>;
107
+ mesh: React.ForwardRefExoticComponent<Omit<import("@react-three/fiber/dist/declarations/src/core/utils").Mutable<import("@react-three/fiber/dist/declarations/src/core/utils").Overwrite<Partial<import("@react-three/fiber/dist/declarations/src/core/utils").Overwrite<import("three").Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes, import("three").BufferGeometryEventMap>, import("three").Material<import("three").MaterialEventMap> | import("three").Material<import("three").MaterialEventMap>[], import("three").Object3DEventMap>, import("@react-three/fiber").MathProps<import("three").Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes, import("three").BufferGeometryEventMap>, import("three").Material<import("three").MaterialEventMap> | import("three").Material<import("three").MaterialEventMap>[], import("three").Object3DEventMap>> & import("@react-three/fiber").ReactProps<import("three").Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes, import("three").BufferGeometryEventMap>, import("three").Material<import("three").MaterialEventMap> | import("three").Material<import("three").MaterialEventMap>[], import("three").Object3DEventMap>> & Partial<import("@react-three/fiber").EventHandlers>>>, Omit<import("@react-three/fiber").InstanceProps<import("three").Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes, import("three").BufferGeometryEventMap>, import("three").Material<import("three").MaterialEventMap> | import("three").Material<import("three").MaterialEventMap>[], import("three").Object3DEventMap>, typeof import("three").Mesh>, "object">>>, "visible"> & {
108
+ theatreKey: string;
109
+ visible?: boolean | "editor";
110
+ hideFromOutline?: boolean;
111
+ additionalProps?: $FixMe;
112
+ objectActions?: SheetObjectActionsConfig;
113
+ objRef?: $FixMe;
114
+ ref?: Ref<unknown>;
115
+ }>;
116
+ points: React.ForwardRefExoticComponent<Omit<import("@react-three/fiber/dist/declarations/src/core/utils").Mutable<import("@react-three/fiber/dist/declarations/src/core/utils").Overwrite<Partial<import("@react-three/fiber/dist/declarations/src/core/utils").Overwrite<import("three").Points<import("three").BufferGeometry<import("three").NormalOrGLBufferAttributes, import("three").BufferGeometryEventMap>, import("three").Material<import("three").MaterialEventMap> | import("three").Material<import("three").MaterialEventMap>[], import("three").Object3DEventMap>, import("@react-three/fiber").MathProps<import("three").Points<import("three").BufferGeometry<import("three").NormalOrGLBufferAttributes, import("three").BufferGeometryEventMap>, import("three").Material<import("three").MaterialEventMap> | import("three").Material<import("three").MaterialEventMap>[], import("three").Object3DEventMap>> & import("@react-three/fiber").ReactProps<import("three").Points<import("three").BufferGeometry<import("three").NormalOrGLBufferAttributes, import("three").BufferGeometryEventMap>, import("three").Material<import("three").MaterialEventMap> | import("three").Material<import("three").MaterialEventMap>[], import("three").Object3DEventMap>> & Partial<import("@react-three/fiber").EventHandlers>>>, Omit<import("@react-three/fiber").InstanceProps<import("three").Points<import("three").BufferGeometry<import("three").NormalOrGLBufferAttributes, import("three").BufferGeometryEventMap>, import("three").Material<import("three").MaterialEventMap> | import("three").Material<import("three").MaterialEventMap>[], import("three").Object3DEventMap>, typeof import("three").Points>, "object">>>, "visible"> & {
117
+ theatreKey: string;
118
+ visible?: boolean | "editor";
119
+ hideFromOutline?: boolean;
120
+ additionalProps?: $FixMe;
121
+ objectActions?: SheetObjectActionsConfig;
122
+ objRef?: $FixMe;
123
+ ref?: Ref<unknown>;
124
+ }>;
125
+ fog: React.ForwardRefExoticComponent<Omit<import("@react-three/fiber/dist/declarations/src/core/utils").Mutable<import("@react-three/fiber/dist/declarations/src/core/utils").Overwrite<Partial<import("@react-three/fiber/dist/declarations/src/core/utils").Overwrite<import("three").Fog, import("@react-three/fiber").MathProps<import("three").Fog> & import("@react-three/fiber").ReactProps<import("three").Fog>>>, Omit<import("@react-three/fiber").InstanceProps<import("three").Fog, typeof import("three").Fog>, "object">>>, "visible"> & {
126
+ theatreKey: string;
127
+ visible?: boolean | "editor";
128
+ hideFromOutline?: boolean;
129
+ additionalProps?: $FixMe;
130
+ objectActions?: SheetObjectActionsConfig;
131
+ objRef?: $FixMe;
132
+ ref?: Ref<unknown>;
133
+ }>;
134
+ } & {
135
+ primitive: React.ForwardRefExoticComponent<{
136
+ object: any;
137
+ theatreKey: string;
138
+ visible?: boolean | "editor";
139
+ additionalProps?: $FixMe;
140
+ objectActions?: SheetObjectActionsConfig;
141
+ objRef?: $FixMe;
142
+ editableType: keyof ThreeElements;
143
+ ref?: Ref<unknown>;
144
+ } & {
145
+ [props: string]: any;
146
+ }>;
147
+ };
148
+ export default editable;
149
+ //# sourceMappingURL=editable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"editable.d.ts","sourceRoot":"","sources":["../../src/main/editable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,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AAC;;;oBAPN,MAAM;kBACR,OAAO,GAAG,QAAQ;0BACV,OAAO;0BACP,MAAM;wBACR,wBAAwB;iBAC/B,MAAM;cAET,GAAG,CAAC,OAAO,CAAC;;;oBAPN,MAAM;kBACR,OAAO,GAAG,QAAQ;0BACV,OAAO;0BACP,MAAM;wBACR,wBAAwB;iBAC/B,MAAM;cAET,GAAG,CAAC,OAAO,CAAC;;;oBAPN,MAAM;kBACR,OAAO,GAAG,QAAQ;0BACV,OAAO;0BACP,MAAM;wBACR,wBAAwB;iBAC/B,MAAM;cAET,GAAG,CAAC,OAAO,CAAC;;;oBAPN,MAAM;kBACR,OAAO,GAAG,QAAQ;0BACV,OAAO;0BACP,MAAM;wBACR,wBAAwB;iBAC/B,MAAM;cAET,GAAG,CAAC,OAAO,CAAC;;;oBAPN,MAAM;kBACR,OAAO,GAAG,QAAQ;0BACV,OAAO;0BACP,MAAM;wBACR,wBAAwB;iBAC/B,MAAM;cAET,GAAG,CAAC,OAAO,CAAC;;;oBAPN,MAAM;kBACR,OAAO,GAAG,QAAQ;0BACV,OAAO;0BACP,MAAM;wBACR,wBAAwB;iBAC/B,MAAM;cAET,GAAG,CAAC,OAAO,CAAC;;;oBAPN,MAAM;kBACR,OAAO,GAAG,QAAQ;0BACV,OAAO;0BACP,MAAM;wBACR,wBAAwB;iBAC/B,MAAM;cAET,GAAG,CAAC,OAAO,CAAC;;;;gBAMV,GAAG;oBACC,MAAM;kBACR,OAAO,GAAG,QAAQ;0BACV,MAAM;wBACR,wBAAwB;iBAC/B,MAAM;sBACD,MAAM,aAAa;cAE3B,GAAG,CAAC,OAAO,CAAC;;;;CAczB,CAAA;AAED,eAAe,QAAQ,CAAA"}
@@ -0,0 +1,64 @@
1
+ import type { UnknownShorthandCompoundProps } from '@dreamerbird/core';
2
+ import type { PropLabel } from '@dreamerbird/core/types/public';
3
+ import type { Object3D } from 'three';
4
+ import type { ThreeElements } from '@react-three/fiber';
5
+ import type { IconID } from '../extension/icons';
6
+ import { Color } from 'three';
7
+ export type Helper = Object3D & {
8
+ update?: () => void;
9
+ };
10
+ type PropConfig<T> = {
11
+ parse: (props: Record<string, any>) => T;
12
+ apply: (value: T, object: any) => void;
13
+ type: UnknownShorthandCompoundProps;
14
+ };
15
+ type Props = Record<string, PropConfig<any>>;
16
+ type Meta<T> = {
17
+ useTransformControls: boolean;
18
+ updateObject?: (object: T) => void;
19
+ icon: IconID;
20
+ dimensionless?: boolean;
21
+ createHelper?: (object: T) => Helper;
22
+ };
23
+ export type ObjectConfig<T> = {
24
+ props: Props;
25
+ } & Meta<T>;
26
+ export type EditableFactoryConfig = Partial<Record<keyof ThreeElements, ObjectConfig<any>>>;
27
+ type Vector3 = {
28
+ x: number;
29
+ y: number;
30
+ z: number;
31
+ };
32
+ export declare const createVector: (components?: [number, number, number]) => {
33
+ x: number;
34
+ y: number;
35
+ z: number;
36
+ };
37
+ export declare const createVectorPropConfig: (key: string, defaultValue?: {
38
+ x: number;
39
+ y: number;
40
+ z: number;
41
+ }, { nudgeMultiplier, label, }?: {
42
+ nudgeMultiplier?: number;
43
+ label?: PropLabel;
44
+ }) => PropConfig<Vector3>;
45
+ export declare const createNumberPropConfig: (key: string, defaultValue?: number, { nudgeMultiplier, label, }?: {
46
+ nudgeMultiplier?: number;
47
+ label?: PropLabel;
48
+ }) => PropConfig<number>;
49
+ export type Rgba = {
50
+ r: number;
51
+ g: number;
52
+ b: number;
53
+ a: number;
54
+ };
55
+ export declare const createColorPropConfig: (key: string, defaultValue?: Color, { label }?: {
56
+ label?: PropLabel;
57
+ }) => PropConfig<Rgba>;
58
+ export declare const extendObjectProps: <T extends {
59
+ props: {};
60
+ }>(objectConfig: T, extension: Props) => T & {
61
+ props: {};
62
+ };
63
+ export {};
64
+ //# sourceMappingURL=editableFactoryConfigUtils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"editableFactoryConfigUtils.d.ts","sourceRoot":"","sources":["../../src/main/editableFactoryConfigUtils.ts"],"names":[],"mappings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AAa,EAAE,YAAY,CAAC,GAAG,CAAC,CAAC,CAC/C,CAAA;AAED,KAAK,OAAO,GAAG;IACb,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;CACV,CAAA;AAUD,eAAO,MAAM,YAAY,gBAAiB,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC;;;;CAQjE,CAAA;AAED,eAAO,MAAM,sBAAsB,QAC5B,MAAM;;;;iCAKR;IAAC,eAAe,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,SAAS,CAAA;CAAC,KAC/C,UAAU,CAAC,OAAO,CA0DnB,CAAA;AAEF,eAAO,MAAM,sBAAsB,QAC5B,MAAM,iBACG,MAAM,gCAIjB;IAAC,eAAe,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,SAAS,CAAA;CAAC,KAC/C,UAAU,CAAC,MAAM,CAUlB,CAAA;AAEF,MAAM,MAAM,IAAI,GAAG;IACjB,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;CACV,CAAA;AAED,eAAO,MAAM,qBAAqB,QAC3B,MAAM,oCAEF;IAAC,KAAK,CAAC,EAAE,SAAS,CAAA;CAAC,KAC3B,UAAU,CAAC,IAAI,CAUhB,CAAA;AAEF,eAAO,MAAM,iBAAiB,GAAI,CAAC,SAAS;IAAC,KAAK,EAAE,EAAE,CAAA;CAAC,gBACvC,CAAC,aACJ,KAAK;;CAIhB,CAAA"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=i18n.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../src/main/i18n.ts"],"names":[],"mappings":""}
@@ -0,0 +1,46 @@
1
+ import type { Object3D, Scene, WebGLRenderer } from 'three';
2
+ import { Group } from 'three';
3
+ import type { ISheetObject } from '@dreamerbird/core';
4
+ import type { ObjectConfig } from './editableFactoryConfigUtils';
5
+ export type TransformControlsMode = 'translate' | 'rotate' | 'scale';
6
+ export type TransformControlsSpace = 'world' | 'local';
7
+ export type ViewportShading = 'wireframe' | 'flat' | 'solid' | 'rendered';
8
+ export type BaseSheetObjectType = ISheetObject<any>;
9
+ export declare const allRegisteredObjects: WeakSet<BaseSheetObjectType>;
10
+ export interface Editable<T> {
11
+ type: string;
12
+ sheetObject: ISheetObject<any>;
13
+ objectConfig: ObjectConfig<T>;
14
+ visibleOnlyInEditor: boolean;
15
+ }
16
+ export type EditableSnapshot<T extends Editable<any> = Editable<any>> = {
17
+ proxyObject?: Object3D | null;
18
+ } & T;
19
+ export interface SerializedEditable {
20
+ type: string;
21
+ }
22
+ export interface EditableState {
23
+ editables: Record<string, SerializedEditable>;
24
+ }
25
+ export type EditorStore = {
26
+ scene: Scene | null;
27
+ gl: WebGLRenderer | null;
28
+ helpersRoot: Group;
29
+ editables: Record<string, Editable<any>>;
30
+ canvasName: string;
31
+ sceneSnapshot: Scene | null;
32
+ editablesSnapshot: Record<string, EditableSnapshot> | null;
33
+ init: (scene: Scene, gl: WebGLRenderer) => void;
34
+ addEditable: (theatreKey: string, editable: Editable<any>) => void;
35
+ removeEditable: (theatreKey: string) => void;
36
+ createSnapshot: () => void;
37
+ setSnapshotProxyObject: (proxyObject: Object3D | null, theatreKey: string) => void;
38
+ };
39
+ export declare const editorStore: import("zustand").StoreApi<EditorStore>;
40
+ export type BindFunction = (options: {
41
+ allowImplicitInstancing?: boolean;
42
+ gl: WebGLRenderer;
43
+ scene: Scene;
44
+ }) => void;
45
+ export declare const bindToCanvas: BindFunction;
46
+ //# sourceMappingURL=store.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../src/main/store.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAC,QAAQ,EAAE,KAAK,EAA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E,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAA;IAExC,UAAU,EAAE,MAAM,CAAA;IAClB,aAAa,EAAE,KAAK,GAAG,IAAI,CAAA;IAC3B,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,GAAG,IAAI,CAAA;IAE1D,IAAI,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,EAAE,aAAa,KAAK,IAAI,CAAA;IAE/C,WAAW,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,CAAC,GAAG,CAAC,KAAK,IAAI,CAAA;IAClE,cAAc,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAA;IAC5C,cAAc,EAAE,MAAM,IAAI,CAAA;IAC1B,sBAAsB,EAAE,CACtB,WAAW,EAAE,QAAQ,GAAG,IAAI,EAC5B,UAAU,EAAE,MAAM,KACf,IAAI,CAAA;CACV,CAAA;AAkED,eAAO,MAAM,WAAW,yCAA8B,CAAA;AAEtD,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,EAAE;IACnC,uBAAuB,CAAC,EAAE,OAAO,CAAA;IACjC,EAAE,EAAE,aAAa,CAAA;IACjB,KAAK,EAAE,KAAK,CAAA;CACb,KAAK,IAAI,CAAA;AAEV,eAAO,MAAM,YAAY,EAAE,YAG1B,CAAA"}
@@ -0,0 +1,2 @@
1
+ export default function useInvalidate(): (frames?: number) => void;
2
+ //# sourceMappingURL=useInvalidate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useInvalidate.d.ts","sourceRoot":"","sources":["../../src/main/useInvalidate.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO,UAAU,aAAa,8BAEpC"}
@@ -0,0 +1,4 @@
1
+ import type { ISheetObject } from '@dreamerbird/core';
2
+ export declare const refreshSnapshot: () => void;
3
+ export declare const makeStoreKey: (sheetObjectAddress: ISheetObject["address"]) => string;
4
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/main/utils.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,mBAAmB,CAAA;AAEnD,eAAO,MAAM,eAAe,YAAwC,CAAA;AAEpE,eAAO,MAAM,YAAY,uBAAwB,YAAY,CAAC,SAAS,CAAC,WAC+B,CAAA"}
@@ -0,0 +1,9 @@
1
+ export type $FixMe = any;
2
+ export type $IntentionalAny = any;
3
+ /**
4
+ * `T` with the keys of `U` replaced by `U`'s types.
5
+ * fiber v9 no longer exports its `Overwrite` helper, so we keep
6
+ * our own equivalent for the two controls components that used it.
7
+ */
8
+ export type Overwrite<T, U> = Omit<T, keyof U> & U;
9
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,MAAM,GAAG,GAAG,CAAA;AACxB,MAAM,MAAM,eAAe,GAAG,GAAG,CAAA;AAEjC;;;;GAIG;AACH,MAAM,MAAM,SAAS,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,84 @@
1
1
  {
2
2
  "name": "@dreamerbird/r3f",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "1.0.1",
4
+ "license": "Apache-2.0",
5
+ "authors": [
6
+ {
7
+ "name": "Andrew Prifer",
8
+ "email": "andrew.prifer@gmail.com",
9
+ "url": "https://github.com/AndrewPrifer"
10
+ },
11
+ {
12
+ "name": "Aria Minaei",
13
+ "email": "aria@theatrejs.com",
14
+ "url": "https://github.com/AriaMinaei"
15
+ }
16
+ ],
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "https://github.com/theatre-js/theatre",
20
+ "directory": "packages/r3f"
21
+ },
22
+ "main": "dist/index.js",
23
+ "module": "dist/index.esm.js",
24
+ "sideEffects": false,
25
+ "files": [
26
+ "dist/**/*"
27
+ ],
28
+ "exports": {
29
+ ".": {
30
+ "import": "./dist/index.esm.js",
31
+ "require": "./dist/index.js",
32
+ "types": "./dist/index.d.ts"
33
+ },
34
+ "./dist/extension": {
35
+ "import": "./dist/extension/index.esm.js",
36
+ "require": "./dist/extension/index.js",
37
+ "types": "./dist/extension/index.d.ts"
38
+ }
39
+ },
40
+ "devDependencies": {
41
+ "@react-three/drei": "^10.7.8",
42
+ "@react-three/fiber": "^9.7.0",
43
+ "@types/jest": "^26.0.23",
44
+ "@types/lodash-es": "^4.17.4",
45
+ "@types/node": "^15.6.2",
46
+ "@types/react": "^19.2.18",
47
+ "@types/react-dom": "^19.2.5",
48
+ "@types/three": "0.185.4",
49
+ "esbuild": "^0.18.17",
50
+ "lodash-es": "^4.17.21",
51
+ "npm-run-all": "^4.1.5",
52
+ "polished": "^4.1.3",
53
+ "react": "^19.2.0",
54
+ "react-dom": "^19.2.0",
55
+ "react-icons": "^5.7.0",
56
+ "react-merge-refs": "^2.0.2",
57
+ "react-shadow": "^20.6.0",
58
+ "react-use-measure": "^2.1.1",
59
+ "reakit": "^1.3.8",
60
+ "styled-components": "^6.5.3",
61
+ "three": "^0.185.1",
62
+ "three-stdlib": "^2.36.1",
63
+ "tsx": "4.7.0",
64
+ "typescript": "5.6.3",
65
+ "zustand": "^3.5.1",
66
+ "@dreamerbird/dataverse": "1.0.1",
67
+ "@dreamerbird/react": "1.0.1"
68
+ },
69
+ "peerDependencies": {
70
+ "@dreamerbird/core": "*",
71
+ "@dreamerbird/studio": "*",
72
+ "@react-three/fiber": "^9.0.0",
73
+ "react": ">=19.0.0",
74
+ "react-dom": ">=19.0.0",
75
+ "three": ">=0.156.0"
76
+ },
77
+ "scripts": {
78
+ "typecheck": "pnpm run build",
79
+ "build": "run-s build:ts build:js",
80
+ "build:js": "tsx devEnv/bundle.ts",
81
+ "build:ts": "tsc --build ./tsconfig.json",
82
+ "clean": "rm -rf ./dist && rm -f tsconfig.tsbuildinfo"
83
+ }
6
84
  }