@vived/app 6.8.0 → 6.10.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 (230) hide show
  1. package/README.md +166 -145
  2. package/dist/cjs/Callouts/Factories/CalloutsFeatureFactory.js +67 -0
  3. package/dist/cjs/Callouts/Factories/CalloutsFeatureFactory.js.map +1 -0
  4. package/dist/cjs/Callouts/Factories/CalloutsFeatureFactory.test.js +84 -0
  5. package/dist/cjs/Callouts/Factories/CalloutsFeatureFactory.test.js.map +1 -0
  6. package/dist/cjs/Callouts/Factories/index.js +1 -0
  7. package/dist/cjs/Callouts/Factories/index.js.map +1 -1
  8. package/dist/cjs/ChannelModel/Factories/ChannelModelFeatureFactory.js +52 -0
  9. package/dist/cjs/ChannelModel/Factories/ChannelModelFeatureFactory.js.map +1 -0
  10. package/dist/cjs/ChannelModel/Factories/ChannelModelFeatureFactory.test.js +44 -0
  11. package/dist/cjs/ChannelModel/Factories/ChannelModelFeatureFactory.test.js.map +1 -0
  12. package/dist/cjs/ChannelModel/Factories/index.js +1 -0
  13. package/dist/cjs/ChannelModel/Factories/index.js.map +1 -1
  14. package/dist/cjs/Dispatcher/Factories/DispatcherFeatureFactory.js +4 -3
  15. package/dist/cjs/Dispatcher/Factories/DispatcherFeatureFactory.js.map +1 -1
  16. package/dist/cjs/Dispatcher/Factories/DispatcherFeatureFactory.test.js +35 -0
  17. package/dist/cjs/Dispatcher/Factories/DispatcherFeatureFactory.test.js.map +1 -0
  18. package/dist/cjs/Dispatcher/Factories/setupDispatchers.js +1 -0
  19. package/dist/cjs/Dispatcher/Factories/setupDispatchers.js.map +1 -1
  20. package/dist/cjs/Dispatcher/Factories/setupDispatchers.test.js +33 -0
  21. package/dist/cjs/Dispatcher/Factories/setupDispatchers.test.js.map +1 -0
  22. package/dist/cjs/Environment/Factories/EnvironmentFeatureFactory.js +50 -0
  23. package/dist/cjs/Environment/Factories/EnvironmentFeatureFactory.js.map +1 -0
  24. package/dist/cjs/Environment/Factories/EnvironmentFeatureFactory.test.js +39 -0
  25. package/dist/cjs/Environment/Factories/EnvironmentFeatureFactory.test.js.map +1 -0
  26. package/dist/cjs/Environment/Factories/index.js +2 -1
  27. package/dist/cjs/Environment/Factories/index.js.map +1 -1
  28. package/dist/cjs/Environment/Factories/setupEnvironments.js +19 -0
  29. package/dist/cjs/Environment/Factories/setupEnvironments.js.map +1 -0
  30. package/dist/cjs/Hideable/Factories/HideableFeatureFactory.js +69 -0
  31. package/dist/cjs/Hideable/Factories/HideableFeatureFactory.js.map +1 -0
  32. package/dist/cjs/Hideable/Factories/HideableFeatureFactory.test.js +116 -0
  33. package/dist/cjs/Hideable/Factories/HideableFeatureFactory.test.js.map +1 -0
  34. package/dist/cjs/Hideable/Factories/index.js +1 -0
  35. package/dist/cjs/Hideable/Factories/index.js.map +1 -1
  36. package/dist/cjs/HoverLabel/Factories/HoverLabelFeatureFactory.js +79 -0
  37. package/dist/cjs/HoverLabel/Factories/HoverLabelFeatureFactory.js.map +1 -0
  38. package/dist/cjs/HoverLabel/Factories/HoverLabelFeatureFactory.test.js +81 -0
  39. package/dist/cjs/HoverLabel/Factories/HoverLabelFeatureFactory.test.js.map +1 -0
  40. package/dist/cjs/HoverLabel/Factories/index.js +1 -0
  41. package/dist/cjs/HoverLabel/Factories/index.js.map +1 -1
  42. package/dist/cjs/Landmarks/Factories/LandmarksFeatureFactory.js +85 -0
  43. package/dist/cjs/Landmarks/Factories/LandmarksFeatureFactory.js.map +1 -0
  44. package/dist/cjs/Landmarks/Factories/LandmarksFeatureFactory.test.js +100 -0
  45. package/dist/cjs/Landmarks/Factories/LandmarksFeatureFactory.test.js.map +1 -0
  46. package/dist/cjs/Landmarks/Factories/index.js +1 -0
  47. package/dist/cjs/Landmarks/Factories/index.js.map +1 -1
  48. package/dist/cjs/Selection/Factories/SelectionFeatureFactory.js +57 -0
  49. package/dist/cjs/Selection/Factories/SelectionFeatureFactory.js.map +1 -0
  50. package/dist/cjs/Selection/Factories/SelectionFeatureFactory.test.js +60 -0
  51. package/dist/cjs/Selection/Factories/SelectionFeatureFactory.test.js.map +1 -0
  52. package/dist/cjs/Selection/Factories/index.js +1 -0
  53. package/dist/cjs/Selection/Factories/index.js.map +1 -1
  54. package/dist/cjs/Stick/Factories/StickFeatureFactory.js +45 -0
  55. package/dist/cjs/Stick/Factories/StickFeatureFactory.js.map +1 -0
  56. package/dist/cjs/Stick/Factories/StickFeatureFactory.test.js +44 -0
  57. package/dist/cjs/Stick/Factories/StickFeatureFactory.test.js.map +1 -0
  58. package/dist/cjs/Stick/Factories/index.js +1 -0
  59. package/dist/cjs/Stick/Factories/index.js.map +1 -1
  60. package/dist/cjs/StoredView/Factories/StoredViewFeatureFactory.js +48 -0
  61. package/dist/cjs/StoredView/Factories/StoredViewFeatureFactory.js.map +1 -0
  62. package/dist/cjs/StoredView/Factories/StoredViewFeatureFactory.test.js +39 -0
  63. package/dist/cjs/StoredView/Factories/StoredViewFeatureFactory.test.js.map +1 -0
  64. package/dist/cjs/StoredView/Factories/index.js +1 -0
  65. package/dist/cjs/StoredView/Factories/index.js.map +1 -1
  66. package/dist/cjs/Stylus/Factories/StylusFeatureFactory.js +47 -0
  67. package/dist/cjs/Stylus/Factories/StylusFeatureFactory.js.map +1 -0
  68. package/dist/cjs/Stylus/Factories/StylusFeatureFactory.test.js +35 -0
  69. package/dist/cjs/Stylus/Factories/StylusFeatureFactory.test.js.map +1 -0
  70. package/dist/cjs/Stylus/Factories/index.js +1 -0
  71. package/dist/cjs/Stylus/Factories/index.js.map +1 -1
  72. package/dist/cjs/zSpace/Factory/ZSpaceFeatureFactory.js +70 -0
  73. package/dist/cjs/zSpace/Factory/ZSpaceFeatureFactory.js.map +1 -0
  74. package/dist/cjs/zSpace/Factory/ZSpaceFeatureFactory.test.js +78 -0
  75. package/dist/cjs/zSpace/Factory/ZSpaceFeatureFactory.test.js.map +1 -0
  76. package/dist/cjs/zSpace/Factory/index.js +1 -0
  77. package/dist/cjs/zSpace/Factory/index.js.map +1 -1
  78. package/dist/esm/Callouts/Factories/CalloutsFeatureFactory.js +62 -0
  79. package/dist/esm/Callouts/Factories/CalloutsFeatureFactory.js.map +1 -0
  80. package/dist/esm/Callouts/Factories/CalloutsFeatureFactory.test.js +82 -0
  81. package/dist/esm/Callouts/Factories/CalloutsFeatureFactory.test.js.map +1 -0
  82. package/dist/esm/Callouts/Factories/index.js +1 -0
  83. package/dist/esm/Callouts/Factories/index.js.map +1 -1
  84. package/dist/esm/ChannelModel/Factories/ChannelModelFeatureFactory.js +47 -0
  85. package/dist/esm/ChannelModel/Factories/ChannelModelFeatureFactory.js.map +1 -0
  86. package/dist/esm/ChannelModel/Factories/ChannelModelFeatureFactory.test.js +42 -0
  87. package/dist/esm/ChannelModel/Factories/ChannelModelFeatureFactory.test.js.map +1 -0
  88. package/dist/esm/ChannelModel/Factories/index.js +1 -0
  89. package/dist/esm/ChannelModel/Factories/index.js.map +1 -1
  90. package/dist/esm/Dispatcher/Factories/DispatcherFeatureFactory.js +5 -4
  91. package/dist/esm/Dispatcher/Factories/DispatcherFeatureFactory.js.map +1 -1
  92. package/dist/esm/Dispatcher/Factories/DispatcherFeatureFactory.test.js +33 -0
  93. package/dist/esm/Dispatcher/Factories/DispatcherFeatureFactory.test.js.map +1 -0
  94. package/dist/esm/Dispatcher/Factories/setupDispatchers.js +2 -1
  95. package/dist/esm/Dispatcher/Factories/setupDispatchers.js.map +1 -1
  96. package/dist/esm/Dispatcher/Factories/setupDispatchers.test.js +31 -0
  97. package/dist/esm/Dispatcher/Factories/setupDispatchers.test.js.map +1 -0
  98. package/dist/esm/Environment/Factories/EnvironmentFeatureFactory.js +45 -0
  99. package/dist/esm/Environment/Factories/EnvironmentFeatureFactory.js.map +1 -0
  100. package/dist/esm/Environment/Factories/EnvironmentFeatureFactory.test.js +37 -0
  101. package/dist/esm/Environment/Factories/EnvironmentFeatureFactory.test.js.map +1 -0
  102. package/dist/esm/Environment/Factories/index.js +2 -1
  103. package/dist/esm/Environment/Factories/index.js.map +1 -1
  104. package/dist/esm/Environment/Factories/setupEnvironments.js +16 -0
  105. package/dist/esm/Environment/Factories/setupEnvironments.js.map +1 -0
  106. package/dist/esm/Hideable/Factories/HideableFeatureFactory.js +64 -0
  107. package/dist/esm/Hideable/Factories/HideableFeatureFactory.js.map +1 -0
  108. package/dist/esm/Hideable/Factories/HideableFeatureFactory.test.js +114 -0
  109. package/dist/esm/Hideable/Factories/HideableFeatureFactory.test.js.map +1 -0
  110. package/dist/esm/Hideable/Factories/index.js +1 -0
  111. package/dist/esm/Hideable/Factories/index.js.map +1 -1
  112. package/dist/esm/HoverLabel/Factories/HoverLabelFeatureFactory.js +74 -0
  113. package/dist/esm/HoverLabel/Factories/HoverLabelFeatureFactory.js.map +1 -0
  114. package/dist/esm/HoverLabel/Factories/HoverLabelFeatureFactory.test.js +79 -0
  115. package/dist/esm/HoverLabel/Factories/HoverLabelFeatureFactory.test.js.map +1 -0
  116. package/dist/esm/HoverLabel/Factories/index.js +1 -0
  117. package/dist/esm/HoverLabel/Factories/index.js.map +1 -1
  118. package/dist/esm/Landmarks/Factories/LandmarksFeatureFactory.js +80 -0
  119. package/dist/esm/Landmarks/Factories/LandmarksFeatureFactory.js.map +1 -0
  120. package/dist/esm/Landmarks/Factories/LandmarksFeatureFactory.test.js +98 -0
  121. package/dist/esm/Landmarks/Factories/LandmarksFeatureFactory.test.js.map +1 -0
  122. package/dist/esm/Landmarks/Factories/index.js +1 -0
  123. package/dist/esm/Landmarks/Factories/index.js.map +1 -1
  124. package/dist/esm/Selection/Factories/SelectionFeatureFactory.js +52 -0
  125. package/dist/esm/Selection/Factories/SelectionFeatureFactory.js.map +1 -0
  126. package/dist/esm/Selection/Factories/SelectionFeatureFactory.test.js +58 -0
  127. package/dist/esm/Selection/Factories/SelectionFeatureFactory.test.js.map +1 -0
  128. package/dist/esm/Selection/Factories/index.js +1 -0
  129. package/dist/esm/Selection/Factories/index.js.map +1 -1
  130. package/dist/esm/Stick/Factories/StickFeatureFactory.js +40 -0
  131. package/dist/esm/Stick/Factories/StickFeatureFactory.js.map +1 -0
  132. package/dist/esm/Stick/Factories/StickFeatureFactory.test.js +42 -0
  133. package/dist/esm/Stick/Factories/StickFeatureFactory.test.js.map +1 -0
  134. package/dist/esm/Stick/Factories/index.js +1 -0
  135. package/dist/esm/Stick/Factories/index.js.map +1 -1
  136. package/dist/esm/StoredView/Factories/StoredViewFeatureFactory.js +43 -0
  137. package/dist/esm/StoredView/Factories/StoredViewFeatureFactory.js.map +1 -0
  138. package/dist/esm/StoredView/Factories/StoredViewFeatureFactory.test.js +37 -0
  139. package/dist/esm/StoredView/Factories/StoredViewFeatureFactory.test.js.map +1 -0
  140. package/dist/esm/StoredView/Factories/index.js +1 -0
  141. package/dist/esm/StoredView/Factories/index.js.map +1 -1
  142. package/dist/esm/Stylus/Factories/StylusFeatureFactory.js +42 -0
  143. package/dist/esm/Stylus/Factories/StylusFeatureFactory.js.map +1 -0
  144. package/dist/esm/Stylus/Factories/StylusFeatureFactory.test.js +33 -0
  145. package/dist/esm/Stylus/Factories/StylusFeatureFactory.test.js.map +1 -0
  146. package/dist/esm/Stylus/Factories/index.js +1 -0
  147. package/dist/esm/Stylus/Factories/index.js.map +1 -1
  148. package/dist/esm/zSpace/Factory/ZSpaceFeatureFactory.js +65 -0
  149. package/dist/esm/zSpace/Factory/ZSpaceFeatureFactory.js.map +1 -0
  150. package/dist/esm/zSpace/Factory/ZSpaceFeatureFactory.test.js +76 -0
  151. package/dist/esm/zSpace/Factory/ZSpaceFeatureFactory.test.js.map +1 -0
  152. package/dist/esm/zSpace/Factory/index.js +1 -0
  153. package/dist/esm/zSpace/Factory/index.js.map +1 -1
  154. package/dist/types/Callouts/Factories/CalloutsFeatureFactory.d.ts +24 -0
  155. package/dist/types/Callouts/Factories/CalloutsFeatureFactory.d.ts.map +1 -0
  156. package/dist/types/Callouts/Factories/CalloutsFeatureFactory.test.d.ts +2 -0
  157. package/dist/types/Callouts/Factories/CalloutsFeatureFactory.test.d.ts.map +1 -0
  158. package/dist/types/Callouts/Factories/index.d.ts +1 -0
  159. package/dist/types/Callouts/Factories/index.d.ts.map +1 -1
  160. package/dist/types/ChannelModel/Factories/ChannelModelFeatureFactory.d.ts +23 -0
  161. package/dist/types/ChannelModel/Factories/ChannelModelFeatureFactory.d.ts.map +1 -0
  162. package/dist/types/ChannelModel/Factories/ChannelModelFeatureFactory.test.d.ts +2 -0
  163. package/dist/types/ChannelModel/Factories/ChannelModelFeatureFactory.test.d.ts.map +1 -0
  164. package/dist/types/ChannelModel/Factories/index.d.ts +1 -0
  165. package/dist/types/ChannelModel/Factories/index.d.ts.map +1 -1
  166. package/dist/types/Dispatcher/Factories/DispatcherFeatureFactory.d.ts +3 -3
  167. package/dist/types/Dispatcher/Factories/DispatcherFeatureFactory.d.ts.map +1 -1
  168. package/dist/types/Dispatcher/Factories/DispatcherFeatureFactory.test.d.ts +2 -0
  169. package/dist/types/Dispatcher/Factories/DispatcherFeatureFactory.test.d.ts.map +1 -0
  170. package/dist/types/Dispatcher/Factories/setupDispatchers.d.ts.map +1 -1
  171. package/dist/types/Dispatcher/Factories/setupDispatchers.test.d.ts +2 -0
  172. package/dist/types/Dispatcher/Factories/setupDispatchers.test.d.ts.map +1 -0
  173. package/dist/types/Environment/Factories/EnvironmentFeatureFactory.d.ts +23 -0
  174. package/dist/types/Environment/Factories/EnvironmentFeatureFactory.d.ts.map +1 -0
  175. package/dist/types/Environment/Factories/EnvironmentFeatureFactory.test.d.ts +2 -0
  176. package/dist/types/Environment/Factories/EnvironmentFeatureFactory.test.d.ts.map +1 -0
  177. package/dist/types/Environment/Factories/index.d.ts +2 -1
  178. package/dist/types/Environment/Factories/index.d.ts.map +1 -1
  179. package/dist/types/Environment/Factories/setupEnvironments.d.ts +3 -0
  180. package/dist/types/Environment/Factories/setupEnvironments.d.ts.map +1 -0
  181. package/dist/types/Hideable/Factories/HideableFeatureFactory.d.ts +32 -0
  182. package/dist/types/Hideable/Factories/HideableFeatureFactory.d.ts.map +1 -0
  183. package/dist/types/Hideable/Factories/HideableFeatureFactory.test.d.ts +2 -0
  184. package/dist/types/Hideable/Factories/HideableFeatureFactory.test.d.ts.map +1 -0
  185. package/dist/types/Hideable/Factories/index.d.ts +1 -0
  186. package/dist/types/Hideable/Factories/index.d.ts.map +1 -1
  187. package/dist/types/HoverLabel/Factories/HoverLabelFeatureFactory.d.ts +34 -0
  188. package/dist/types/HoverLabel/Factories/HoverLabelFeatureFactory.d.ts.map +1 -0
  189. package/dist/types/HoverLabel/Factories/HoverLabelFeatureFactory.test.d.ts +2 -0
  190. package/dist/types/HoverLabel/Factories/HoverLabelFeatureFactory.test.d.ts.map +1 -0
  191. package/dist/types/HoverLabel/Factories/index.d.ts +1 -0
  192. package/dist/types/HoverLabel/Factories/index.d.ts.map +1 -1
  193. package/dist/types/Landmarks/Factories/LandmarksFeatureFactory.d.ts +26 -0
  194. package/dist/types/Landmarks/Factories/LandmarksFeatureFactory.d.ts.map +1 -0
  195. package/dist/types/Landmarks/Factories/LandmarksFeatureFactory.test.d.ts +2 -0
  196. package/dist/types/Landmarks/Factories/LandmarksFeatureFactory.test.d.ts.map +1 -0
  197. package/dist/types/Landmarks/Factories/index.d.ts +1 -0
  198. package/dist/types/Landmarks/Factories/index.d.ts.map +1 -1
  199. package/dist/types/Selection/Factories/SelectionFeatureFactory.d.ts +27 -0
  200. package/dist/types/Selection/Factories/SelectionFeatureFactory.d.ts.map +1 -0
  201. package/dist/types/Selection/Factories/SelectionFeatureFactory.test.d.ts +2 -0
  202. package/dist/types/Selection/Factories/SelectionFeatureFactory.test.d.ts.map +1 -0
  203. package/dist/types/Selection/Factories/index.d.ts +1 -0
  204. package/dist/types/Selection/Factories/index.d.ts.map +1 -1
  205. package/dist/types/Stick/Factories/StickFeatureFactory.d.ts +23 -0
  206. package/dist/types/Stick/Factories/StickFeatureFactory.d.ts.map +1 -0
  207. package/dist/types/Stick/Factories/StickFeatureFactory.test.d.ts +2 -0
  208. package/dist/types/Stick/Factories/StickFeatureFactory.test.d.ts.map +1 -0
  209. package/dist/types/Stick/Factories/index.d.ts +1 -0
  210. package/dist/types/Stick/Factories/index.d.ts.map +1 -1
  211. package/dist/types/StoredView/Factories/StoredViewFeatureFactory.d.ts +23 -0
  212. package/dist/types/StoredView/Factories/StoredViewFeatureFactory.d.ts.map +1 -0
  213. package/dist/types/StoredView/Factories/StoredViewFeatureFactory.test.d.ts +2 -0
  214. package/dist/types/StoredView/Factories/StoredViewFeatureFactory.test.d.ts.map +1 -0
  215. package/dist/types/StoredView/Factories/index.d.ts +1 -0
  216. package/dist/types/StoredView/Factories/index.d.ts.map +1 -1
  217. package/dist/types/Stylus/Factories/StylusFeatureFactory.d.ts +23 -0
  218. package/dist/types/Stylus/Factories/StylusFeatureFactory.d.ts.map +1 -0
  219. package/dist/types/Stylus/Factories/StylusFeatureFactory.test.d.ts +2 -0
  220. package/dist/types/Stylus/Factories/StylusFeatureFactory.test.d.ts.map +1 -0
  221. package/dist/types/Stylus/Factories/index.d.ts +1 -0
  222. package/dist/types/Stylus/Factories/index.d.ts.map +1 -1
  223. package/dist/types/zSpace/Factory/ZSpaceFeatureFactory.d.ts +26 -0
  224. package/dist/types/zSpace/Factory/ZSpaceFeatureFactory.d.ts.map +1 -0
  225. package/dist/types/zSpace/Factory/ZSpaceFeatureFactory.test.d.ts +2 -0
  226. package/dist/types/zSpace/Factory/ZSpaceFeatureFactory.test.d.ts.map +1 -0
  227. package/dist/types/zSpace/Factory/index.d.ts +1 -0
  228. package/dist/types/zSpace/Factory/index.d.ts.map +1 -1
  229. package/package.json +1 -1
  230. package/src/Dispatcher/README.md +9 -6
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StoredViewFeatureFactory.test.d.ts","sourceRoot":"","sources":["../../../../src/StoredView/Factories/StoredViewFeatureFactory.test.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  export * from "./setupStoredView";
2
+ export * from "./StoredViewFeatureFactory";
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/StoredView/Factories/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/StoredView/Factories/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,4BAA4B,CAAC"}
@@ -0,0 +1,23 @@
1
+ import { AppObjectRepo, DomainFactory } from "@vived/core";
2
+ /**
3
+ * Factory responsible for setting up the Stylus Feature domain components.
4
+ *
5
+ * Builds the same components as the legacy setupStylus function, split into
6
+ * the DomainFactory phases.
7
+ *
8
+ * @extends DomainFactory
9
+ */
10
+ export declare class StylusFeatureFactory extends DomainFactory {
11
+ factoryName: string;
12
+ setupEntities(): void;
13
+ setupUCs(): void;
14
+ setupPMs(): void;
15
+ finalSetup(): void;
16
+ }
17
+ /**
18
+ * Factory function to create a new StylusFeatureFactory
19
+ * @param appObjects The AppObjectRepo to get or create the Stylus AppObject from
20
+ * @returns A new StylusFeatureFactory instance
21
+ */
22
+ export declare function makeStylusFeatureFactory(appObjects: AppObjectRepo): StylusFeatureFactory;
23
+ //# sourceMappingURL=StylusFeatureFactory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StylusFeatureFactory.d.ts","sourceRoot":"","sources":["../../../../src/Stylus/Factories/StylusFeatureFactory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAM3D;;;;;;;GAOG;AACH,qBAAa,oBAAqB,SAAQ,aAAa;IACrD,WAAW,SAA0B;IAErC,aAAa,IAAI,IAAI;IAIrB,QAAQ,IAAI,IAAI;IAIhB,QAAQ,IAAI,IAAI;IAMhB,UAAU,IAAI,IAAI;CAGnB;AAED;;;;GAIG;AACH,wBAAgB,wBAAwB,CACtC,UAAU,EAAE,aAAa,GACxB,oBAAoB,CAEtB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=StylusFeatureFactory.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StylusFeatureFactory.test.d.ts","sourceRoot":"","sources":["../../../../src/Stylus/Factories/StylusFeatureFactory.test.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  export * from "./setupStylus";
2
+ export * from "./StylusFeatureFactory";
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Stylus/Factories/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Stylus/Factories/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC"}
@@ -0,0 +1,26 @@
1
+ import { AppObjectRepo, DomainFactory } from "@vived/core";
2
+ /**
3
+ * Factory responsible for setting up the zSpace Feature domain components.
4
+ *
5
+ * Builds the same components as the legacy setupZSpace function, split into
6
+ * the DomainFactory phases. The IS_ZSPACE_AVAILABLE request is dispatched in
7
+ * finalSetup, so the Dispatcher Feature's factory can be registered before or
8
+ * after this one.
9
+ *
10
+ * @extends DomainFactory
11
+ */
12
+ export declare class ZSpaceFeatureFactory extends DomainFactory {
13
+ factoryName: string;
14
+ private zSpaceEntity?;
15
+ setupEntities(): void;
16
+ setupUCs(): void;
17
+ setupPMs(): void;
18
+ finalSetup(): void;
19
+ }
20
+ /**
21
+ * Factory function to create a new ZSpaceFeatureFactory
22
+ * @param appObjects The AppObjectRepo to get or create the zSpace AppObject from
23
+ * @returns A new ZSpaceFeatureFactory instance
24
+ */
25
+ export declare function makeZSpaceFeatureFactory(appObjects: AppObjectRepo): ZSpaceFeatureFactory;
26
+ //# sourceMappingURL=ZSpaceFeatureFactory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ZSpaceFeatureFactory.d.ts","sourceRoot":"","sources":["../../../../src/zSpace/Factory/ZSpaceFeatureFactory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAiB3D;;;;;;;;;GASG;AACH,qBAAa,oBAAqB,SAAQ,aAAa;IACrD,WAAW,SAA0B;IAErC,OAAO,CAAC,YAAY,CAAC,CAAe;IAEpC,aAAa,IAAI,IAAI;IAMrB,QAAQ,IAAI,IAAI;IAMhB,QAAQ,IAAI,IAAI;IAahB,UAAU,IAAI,IAAI;CAiBnB;AAED;;;;GAIG;AACH,wBAAgB,wBAAwB,CACtC,UAAU,EAAE,aAAa,GACxB,oBAAoB,CAEtB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ZSpaceFeatureFactory.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ZSpaceFeatureFactory.test.d.ts","sourceRoot":"","sources":["../../../../src/zSpace/Factory/ZSpaceFeatureFactory.test.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  export * from "./setupZSpace";
2
+ export * from "./ZSpaceFeatureFactory";
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/zSpace/Factory/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/zSpace/Factory/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vived/app",
3
- "version": "6.8.0",
3
+ "version": "6.10.0",
4
4
  "description": "Public package of VIVED App Components",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -154,10 +154,11 @@ const uc = IsAssetFetchedUC.get(appObjects);
154
154
  const isFetched = await uc?.doDispatch("asset-id");
155
155
  ```
156
156
 
157
- **SubmitActivityAssetUC** - Submit an asset for the activity
157
+ **SubmitActivityAssetUC** - Upload a file to the host as an activity asset; resolves with the new asset's ID
158
158
  ```typescript
159
- const uc = SubmitActivityAssetUC.get(appObjects);
160
- await uc?.submitAsset(assetID, file);
159
+ import { submitActivityAsset } from "@vived/app";
160
+
161
+ const assetID = await submitActivityAsset(file, appObjects);
161
162
  ```
162
163
 
163
164
  #### UI Interaction Use Cases
@@ -325,9 +326,11 @@ import { DispatcherFeatureFactory } from "@vived/app";
325
326
 
326
327
  const factory = new DispatcherFeatureFactory(appObject, hostHandler);
327
328
  factory.verbose = true; // Optional: enable dispatcher logging
328
- factory.setup(); // Sets up entity and all 24 use cases
329
+ factory.setup(); // Sets up the entity and 27 use cases
329
330
  ```
330
331
 
332
+ The factory and the legacy `setupDispatchers` create the same 27 use cases: every use case on this page except `RestoreCurrentStateUC`. That includes `SubmitActivityAssetUC` since 6.9.0, so an app does not need to call `makeSubmitActivityAssetUC` itself.
333
+
331
334
  **Legacy Setup Function:**
332
335
  ```typescript
333
336
  import { setupDispatchers } from "@vived/app";
@@ -517,7 +520,7 @@ describe("ShowAlertUC", () => {
517
520
  ### Entities (1)
518
521
  - `AppDispatcher` - Core dispatcher entity
519
522
 
520
- ### Use Cases (27)
523
+ ### Use Cases (28)
521
524
  **Lifecycle:** AppIsReadyUC, DispatchStateChangeUC, RestoreCurrentStateUC
522
525
 
523
526
  **State Navigation:** GoToNextStateUC, GoToPreviousStateUC, HasNextStateUC, HasPreviousStateUC, StateHasChangedUC, StateIsCompleteUC
@@ -648,6 +651,6 @@ For new functionality, extend by:
648
651
  1. Creating a new UC extending `AppObjectUC`
649
652
  2. Defining `requestType` and `requestVersion`
650
653
  3. Implementing dispatch logic using AppDispatcher
651
- 4. Adding to DispatcherFeatureFactory's `setupUCs()`
654
+ 4. Adding to DispatcherFeatureFactory's `setupUCs()` and to the legacy `setupDispatchers`
652
655
  5. Creating corresponding mock for testing
653
656
  6. Writing comprehensive tests following AAA pattern