@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,76 @@
1
+ import { DomainFactory, makeAppObjectRepo, makeDomainFactoryRepo, } from "@vived/core";
2
+ import { makeDispatcherFeatureFactory } from "../../Dispatcher";
3
+ import { makeStylusFeatureFactory } from "../../Stylus";
4
+ import { ZSpaceEntity } from "../Entities";
5
+ import { setupZSpace } from "./setupZSpace";
6
+ import { makeZSpaceFeatureFactory } from "./ZSpaceFeatureFactory";
7
+ function makeTestRig() {
8
+ const appObjects = makeAppObjectRepo();
9
+ const factories = makeDomainFactoryRepo(appObjects);
10
+ const mockWarn = jest.fn();
11
+ appObjects.submitWarning = mockWarn;
12
+ const hostHandler = jest.fn((request) => {
13
+ if (request.type === "IS_ZSPACE_AVAILABLE") {
14
+ request.payload.callback(true);
15
+ }
16
+ });
17
+ return { appObjects, factories, mockWarn, hostHandler };
18
+ }
19
+ function componentTypes(appObjects) {
20
+ const types = {};
21
+ appObjects.getAll().forEach((ao) => {
22
+ types[ao.id] = ao
23
+ .allComponents()
24
+ .filter((c) => !(c instanceof DomainFactory))
25
+ .map((c) => c.type)
26
+ .sort();
27
+ });
28
+ return types;
29
+ }
30
+ describe("ZSpaceFeatureFactory", () => {
31
+ it("Builds the same components as setupZSpace", () => {
32
+ const legacy = makeTestRig();
33
+ makeDispatcherFeatureFactory(legacy.appObjects, legacy.hostHandler);
34
+ makeStylusFeatureFactory(legacy.appObjects);
35
+ legacy.factories.setupDomain();
36
+ setupZSpace(legacy.appObjects);
37
+ const { appObjects, factories, hostHandler } = makeTestRig();
38
+ makeDispatcherFeatureFactory(appObjects, hostHandler);
39
+ makeStylusFeatureFactory(appObjects);
40
+ makeZSpaceFeatureFactory(appObjects);
41
+ factories.setupDomain();
42
+ expect(componentTypes(appObjects)).toEqual(componentTypes(legacy.appObjects));
43
+ });
44
+ it("Asks the Host whether zSpace is available when the Dispatcher factory is registered after it", async () => {
45
+ const { appObjects, factories, mockWarn, hostHandler } = makeTestRig();
46
+ makeZSpaceFeatureFactory(appObjects);
47
+ makeStylusFeatureFactory(appObjects);
48
+ makeDispatcherFeatureFactory(appObjects, hostHandler);
49
+ factories.setupDomain();
50
+ await Promise.resolve();
51
+ const requestTypes = hostHandler.mock.calls.map((call) => call[0].type);
52
+ expect(requestTypes).toContain("IS_ZSPACE_AVAILABLE");
53
+ expect(ZSpaceEntity.get(appObjects).isSupported).toBe(true);
54
+ expect(mockWarn).not.toHaveBeenCalledWith("ZSpaceFeatureFactory", expect.anything());
55
+ });
56
+ it("Does not dispatch before finalSetup", () => {
57
+ const { appObjects, factories, hostHandler } = makeTestRig();
58
+ makeDispatcherFeatureFactory(appObjects, hostHandler);
59
+ makeStylusFeatureFactory(appObjects);
60
+ makeZSpaceFeatureFactory(appObjects);
61
+ const all = factories.getAll();
62
+ all.forEach((f) => f.setupEntities());
63
+ all.forEach((f) => f.setupUCs());
64
+ all.forEach((f) => f.setupPMs());
65
+ const requestTypes = hostHandler.mock.calls.map((call) => call[0].type);
66
+ expect(requestTypes).not.toContain("IS_ZSPACE_AVAILABLE");
67
+ });
68
+ it("Warns when there is no Dispatcher Feature", () => {
69
+ const { appObjects, factories, mockWarn } = makeTestRig();
70
+ makeStylusFeatureFactory(appObjects);
71
+ makeZSpaceFeatureFactory(appObjects);
72
+ factories.setupDomain();
73
+ expect(mockWarn).toHaveBeenCalledWith("ZSpaceFeatureFactory", "Unable to find IsZSpaceAvailableUC. The Dispatcher Feature needs to be setup for zSpace");
74
+ });
75
+ });
76
+ //# sourceMappingURL=ZSpaceFeatureFactory.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ZSpaceFeatureFactory.test.js","sourceRoot":"","sources":["../../../../src/zSpace/Factory/ZSpaceFeatureFactory.test.ts"],"names":[],"mappings":"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","sourcesContent":["import {\r\n AppObjectRepo,\r\n DomainFactory,\r\n makeAppObjectRepo,\r\n makeDomainFactoryRepo,\r\n Request,\r\n} from \"@vived/core\";\r\nimport { makeDispatcherFeatureFactory } from \"../../Dispatcher\";\r\nimport { makeStylusFeatureFactory } from \"../../Stylus\";\r\nimport { ZSpaceEntity } from \"../Entities\";\r\nimport { setupZSpace } from \"./setupZSpace\";\r\nimport { makeZSpaceFeatureFactory } from \"./ZSpaceFeatureFactory\";\r\n\r\nfunction makeTestRig() {\r\n const appObjects = makeAppObjectRepo();\r\n const factories = makeDomainFactoryRepo(appObjects);\r\n\r\n const mockWarn = jest.fn();\r\n appObjects.submitWarning = mockWarn;\r\n\r\n const hostHandler = jest.fn((request: Request) => {\r\n if (request.type === \"IS_ZSPACE_AVAILABLE\") {\r\n (request.payload as any).callback(true);\r\n }\r\n });\r\n\r\n return { appObjects, factories, mockWarn, hostHandler };\r\n}\r\n\r\nfunction componentTypes(appObjects: AppObjectRepo) {\r\n const types: { [id: string]: string[] } = {};\r\n appObjects.getAll().forEach((ao) => {\r\n types[ao.id] = ao\r\n .allComponents()\r\n .filter((c) => !(c instanceof DomainFactory))\r\n .map((c) => c.type)\r\n .sort();\r\n });\r\n return types;\r\n}\r\n\r\ndescribe(\"ZSpaceFeatureFactory\", () => {\r\n it(\"Builds the same components as setupZSpace\", () => {\r\n const legacy = makeTestRig();\r\n makeDispatcherFeatureFactory(legacy.appObjects, legacy.hostHandler);\r\n makeStylusFeatureFactory(legacy.appObjects);\r\n legacy.factories.setupDomain();\r\n setupZSpace(legacy.appObjects);\r\n\r\n const { appObjects, factories, hostHandler } = makeTestRig();\r\n makeDispatcherFeatureFactory(appObjects, hostHandler);\r\n makeStylusFeatureFactory(appObjects);\r\n makeZSpaceFeatureFactory(appObjects);\r\n factories.setupDomain();\r\n\r\n expect(componentTypes(appObjects)).toEqual(\r\n componentTypes(legacy.appObjects),\r\n );\r\n });\r\n\r\n it(\"Asks the Host whether zSpace is available when the Dispatcher factory is registered after it\", async () => {\r\n const { appObjects, factories, mockWarn, hostHandler } = makeTestRig();\r\n makeZSpaceFeatureFactory(appObjects);\r\n makeStylusFeatureFactory(appObjects);\r\n makeDispatcherFeatureFactory(appObjects, hostHandler);\r\n factories.setupDomain();\r\n await Promise.resolve();\r\n\r\n const requestTypes = hostHandler.mock.calls.map((call) => call[0].type);\r\n expect(requestTypes).toContain(\"IS_ZSPACE_AVAILABLE\");\r\n expect(ZSpaceEntity.get(appObjects)!.isSupported).toBe(true);\r\n expect(mockWarn).not.toHaveBeenCalledWith(\r\n \"ZSpaceFeatureFactory\",\r\n expect.anything(),\r\n );\r\n });\r\n\r\n it(\"Does not dispatch before finalSetup\", () => {\r\n const { appObjects, factories, hostHandler } = makeTestRig();\r\n makeDispatcherFeatureFactory(appObjects, hostHandler);\r\n makeStylusFeatureFactory(appObjects);\r\n makeZSpaceFeatureFactory(appObjects);\r\n\r\n const all = factories.getAll();\r\n all.forEach((f) => f.setupEntities());\r\n all.forEach((f) => f.setupUCs());\r\n all.forEach((f) => f.setupPMs());\r\n\r\n const requestTypes = hostHandler.mock.calls.map((call) => call[0].type);\r\n expect(requestTypes).not.toContain(\"IS_ZSPACE_AVAILABLE\");\r\n });\r\n\r\n it(\"Warns when there is no Dispatcher Feature\", () => {\r\n const { appObjects, factories, mockWarn } = makeTestRig();\r\n makeStylusFeatureFactory(appObjects);\r\n makeZSpaceFeatureFactory(appObjects);\r\n factories.setupDomain();\r\n\r\n expect(mockWarn).toHaveBeenCalledWith(\r\n \"ZSpaceFeatureFactory\",\r\n \"Unable to find IsZSpaceAvailableUC. The Dispatcher Feature needs to be setup for zSpace\",\r\n );\r\n });\r\n});\r\n"]}
@@ -1,2 +1,3 @@
1
1
  export * from "./setupZSpace";
2
+ export * from "./ZSpaceFeatureFactory";
2
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/zSpace/Factory/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC","sourcesContent":["export * from \"./setupZSpace\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/zSpace/Factory/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC","sourcesContent":["export * from \"./setupZSpace\";\r\nexport * from \"./ZSpaceFeatureFactory\";\r\n"]}
@@ -0,0 +1,24 @@
1
+ import { AppObjectRepo, DomainFactory } from "@vived/core";
2
+ /**
3
+ * Factory responsible for setting up the Callouts Feature domain components.
4
+ *
5
+ * Builds the same components as the legacy setupCallouts function, split into
6
+ * the DomainFactory phases. The CALLOUT tool is created in finalSetup, so its
7
+ * place in the toolbar follows the order the factories are registered.
8
+ *
9
+ * @extends DomainFactory
10
+ */
11
+ export declare class CalloutsFeatureFactory extends DomainFactory {
12
+ factoryName: string;
13
+ setupEntities(): void;
14
+ setupUCs(): void;
15
+ setupPMs(): void;
16
+ finalSetup(): void;
17
+ }
18
+ /**
19
+ * Factory function to create a new CalloutsFeatureFactory
20
+ * @param appObjects The AppObjectRepo to get or create the Callouts AppObject from
21
+ * @returns A new CalloutsFeatureFactory instance
22
+ */
23
+ export declare function makeCalloutsFeatureFactory(appObjects: AppObjectRepo): CalloutsFeatureFactory;
24
+ //# sourceMappingURL=CalloutsFeatureFactory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CalloutsFeatureFactory.d.ts","sourceRoot":"","sources":["../../../../src/Callouts/Factories/CalloutsFeatureFactory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAa3D;;;;;;;;GAQG;AACH,qBAAa,sBAAuB,SAAQ,aAAa;IACvD,WAAW,SAA4B;IAEvC,aAAa,IAAI,IAAI;IAKrB,QAAQ,IAAI,IAAI;IAOhB,QAAQ,IAAI,IAAI;IAIhB,UAAU,IAAI,IAAI;CAuBnB;AAED;;;;GAIG;AACH,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,aAAa,GACxB,sBAAsB,CAExB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=CalloutsFeatureFactory.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CalloutsFeatureFactory.test.d.ts","sourceRoot":"","sources":["../../../../src/Callouts/Factories/CalloutsFeatureFactory.test.ts"],"names":[],"mappings":""}
@@ -1,4 +1,5 @@
1
1
  export * from "./calloutFactory";
2
2
  export * from "./calloutRepoFactory";
3
3
  export * from "./setupCallouts";
4
+ export * from "./CalloutsFeatureFactory";
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Callouts/Factories/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Callouts/Factories/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,0BAA0B,CAAC"}
@@ -0,0 +1,23 @@
1
+ import { AppObjectRepo, DomainFactory } from "@vived/core";
2
+ /**
3
+ * Factory responsible for setting up the ChannelModel Feature domain components.
4
+ *
5
+ * Builds the same components as the legacy setupChannelModels function, split
6
+ * into the DomainFactory phases.
7
+ *
8
+ * @extends DomainFactory
9
+ */
10
+ export declare class ChannelModelFeatureFactory 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 ChannelModelFeatureFactory
19
+ * @param appObjects The AppObjectRepo to get or create the ChannelModels AppObject from
20
+ * @returns A new ChannelModelFeatureFactory instance
21
+ */
22
+ export declare function makeChannelModelFeatureFactory(appObjects: AppObjectRepo): ChannelModelFeatureFactory;
23
+ //# sourceMappingURL=ChannelModelFeatureFactory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChannelModelFeatureFactory.d.ts","sourceRoot":"","sources":["../../../../src/ChannelModel/Factories/ChannelModelFeatureFactory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAe3D;;;;;;;GAOG;AACH,qBAAa,0BAA2B,SAAQ,aAAa;IAC3D,WAAW,SAAgC;IAE3C,aAAa,IAAI,IAAI;IAKrB,QAAQ,IAAI,IAAI;IAOhB,QAAQ,IAAI,IAAI;IAKhB,UAAU,IAAI,IAAI;CAInB;AAED;;;;GAIG;AACH,wBAAgB,8BAA8B,CAC5C,UAAU,EAAE,aAAa,GACxB,0BAA0B,CAI5B"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ChannelModelFeatureFactory.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChannelModelFeatureFactory.test.d.ts","sourceRoot":"","sources":["../../../../src/ChannelModel/Factories/ChannelModelFeatureFactory.test.ts"],"names":[],"mappings":""}
@@ -1,4 +1,5 @@
1
1
  export * from "./channelModelFactory";
2
2
  export * from "./channelObjectFactory";
3
3
  export * from "./setupChannelModels";
4
+ export * from "./ChannelModelFeatureFactory";
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/ChannelModel/Factories/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/ChannelModel/Factories/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,8BAA8B,CAAC"}
@@ -9,7 +9,7 @@ import { DomainFactory, AppObject, Handler, AppObjectRepo } from "@vived/core";
9
9
  *
10
10
  * The factory creates:
11
11
  * - AppDispatcher entity with hostHandler integration
12
- * - All 24 dispatcher-related Use Cases for handling various app operations
12
+ * - All 27 dispatcher-related Use Cases for handling various app operations
13
13
  *
14
14
  * @extends DomainFactory
15
15
  */
@@ -35,11 +35,11 @@ export declare class DispatcherFeatureFactory extends DomainFactory {
35
35
  /**
36
36
  * Sets up all use cases for the Dispatcher Feature.
37
37
  *
38
- * Initializes all 24 use cases that define the business operations and
38
+ * Initializes all 27 use cases that define the business operations and
39
39
  * workflows available through the dispatcher system. These use cases handle:
40
40
  * - App lifecycle management (ready, state changes)
41
41
  * - ZSpace integration (start, stop, availability)
42
- * - Asset management (fetching, metadata, URLs)
42
+ * - Asset management (fetching, metadata, URLs, activity asset upload)
43
43
  * - State navigation (previous, next, completion)
44
44
  * - UI interactions (alerts, confirmations, editors)
45
45
  * - Result submission and logging
@@ -1 +1 @@
1
- {"version":3,"file":"DispatcherFeatureFactory.d.ts","sourceRoot":"","sources":["../../../../src/Dispatcher/Factories/DispatcherFeatureFactory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AA+B/E;;;;;;;;;;;;;GAaG;AACH,qBAAa,wBAAyB,SAAQ,aAAa;IACzD,WAAW,SAA8B;IAElC,OAAO,UAAS;IAEvB,OAAO,CAAC,WAAW,CAAU;IAE7B;;;;;OAKG;gBACS,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,OAAO;IAKtD;;;;;;OAMG;IACH,aAAa,IAAI,IAAI;IAKrB;;;;;;;;;;;OAWG;IACH,QAAQ,IAAI,IAAI;IA0ChB;;;;;OAKG;IACH,QAAQ,IAAI,IAAI;IAIhB;;;;;OAKG;IACH,UAAU,IAAI,IAAI;CAGnB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,4BAA4B,CAC1C,aAAa,EAAE,aAAa,EAC5B,WAAW,EAAE,OAAO,GACnB,wBAAwB,CAG1B"}
1
+ {"version":3,"file":"DispatcherFeatureFactory.d.ts","sourceRoot":"","sources":["../../../../src/Dispatcher/Factories/DispatcherFeatureFactory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAgC/E;;;;;;;;;;;;;GAaG;AACH,qBAAa,wBAAyB,SAAQ,aAAa;IACzD,WAAW,SAA8B;IAElC,OAAO,UAAS;IAEvB,OAAO,CAAC,WAAW,CAAU;IAE7B;;;;;OAKG;gBACS,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,OAAO;IAKtD;;;;;;OAMG;IACH,aAAa,IAAI,IAAI;IAKrB;;;;;;;;;;;OAWG;IACH,QAAQ,IAAI,IAAI;IA2ChB;;;;;OAKG;IACH,QAAQ,IAAI,IAAI;IAIhB;;;;;OAKG;IACH,UAAU,IAAI,IAAI;CAGnB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,4BAA4B,CAC1C,aAAa,EAAE,aAAa,EAC5B,WAAW,EAAE,OAAO,GACnB,wBAAwB,CAG1B"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=DispatcherFeatureFactory.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DispatcherFeatureFactory.test.d.ts","sourceRoot":"","sources":["../../../../src/Dispatcher/Factories/DispatcherFeatureFactory.test.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"setupDispatchers.d.ts","sourceRoot":"","sources":["../../../../src/Dispatcher/Factories/setupDispatchers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AA+BrD,wBAAgB,gBAAgB,CAC9B,UAAU,EAAE,aAAa,EACzB,WAAW,EAAE,OAAO,QAgCrB"}
1
+ {"version":3,"file":"setupDispatchers.d.ts","sourceRoot":"","sources":["../../../../src/Dispatcher/Factories/setupDispatchers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAgCrD,wBAAgB,gBAAgB,CAC9B,UAAU,EAAE,aAAa,EACzB,WAAW,EAAE,OAAO,QAiCrB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=setupDispatchers.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setupDispatchers.test.d.ts","sourceRoot":"","sources":["../../../../src/Dispatcher/Factories/setupDispatchers.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,23 @@
1
+ import { AppObjectRepo, DomainFactory } from "@vived/core";
2
+ /**
3
+ * Factory responsible for setting up the Environment Feature domain components.
4
+ *
5
+ * Builds the same components as the legacy setupEnvironments function, split
6
+ * into the DomainFactory phases.
7
+ *
8
+ * @extends DomainFactory
9
+ */
10
+ export declare class EnvironmentFeatureFactory 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 EnvironmentFeatureFactory
19
+ * @param appObjects The AppObjectRepo to get or create the Environments AppObject from
20
+ * @returns A new EnvironmentFeatureFactory instance
21
+ */
22
+ export declare function makeEnvironmentFeatureFactory(appObjects: AppObjectRepo): EnvironmentFeatureFactory;
23
+ //# sourceMappingURL=EnvironmentFeatureFactory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EnvironmentFeatureFactory.d.ts","sourceRoot":"","sources":["../../../../src/Environment/Factories/EnvironmentFeatureFactory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAQ3D;;;;;;;GAOG;AACH,qBAAa,yBAA0B,SAAQ,aAAa;IAC1D,WAAW,SAA+B;IAE1C,aAAa,IAAI,IAAI;IAIrB,QAAQ,IAAI,IAAI;IAMhB,QAAQ,IAAI,IAAI;IAKhB,UAAU,IAAI,IAAI;CAGnB;AAED;;;;GAIG;AACH,wBAAgB,6BAA6B,CAC3C,UAAU,EAAE,aAAa,GACxB,yBAAyB,CAE3B"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=EnvironmentFeatureFactory.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EnvironmentFeatureFactory.test.d.ts","sourceRoot":"","sources":["../../../../src/Environment/Factories/EnvironmentFeatureFactory.test.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
- export * from "./setupEnvironmnets";
1
+ export * from "./setupEnvironments";
2
+ export * from "./EnvironmentFeatureFactory";
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Environment/Factories/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Environment/Factories/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,6BAA6B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { AppObjectRepo } from "@vived/core";
2
+ export declare function setupEnvironments(appObjects: AppObjectRepo): void;
3
+ //# sourceMappingURL=setupEnvironments.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setupEnvironments.d.ts","sourceRoot":"","sources":["../../../../src/Environment/Factories/setupEnvironments.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAQ5C,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,aAAa,QAW1D"}
@@ -0,0 +1,32 @@
1
+ import { AppObject, AppObjectRepo, DomainFactory } from "@vived/core";
2
+ import { SetupHideableOptions } from "./setupHideable";
3
+ /**
4
+ * Factory responsible for setting up the Hideable Feature domain components.
5
+ *
6
+ * Builds the same components as the legacy setupHideable function, split into
7
+ * the DomainFactory phases. The HIDE tool is created in finalSetup, so its
8
+ * place in the toolbar follows the order the factories are registered.
9
+ *
10
+ * @extends DomainFactory
11
+ */
12
+ export declare class HideableFeatureFactory extends DomainFactory {
13
+ factoryName: string;
14
+ private options?;
15
+ /**
16
+ * @param appObject The Hideable AppObject
17
+ * @param options Optional configuration, as for setupHideable
18
+ */
19
+ constructor(appObject: AppObject, options?: SetupHideableOptions);
20
+ setupEntities(): void;
21
+ setupUCs(): void;
22
+ setupPMs(): void;
23
+ finalSetup(): void;
24
+ }
25
+ /**
26
+ * Factory function to create a new HideableFeatureFactory
27
+ * @param appObjects The AppObjectRepo to get or create the Hideable AppObject from
28
+ * @param options Optional configuration, as for setupHideable
29
+ * @returns A new HideableFeatureFactory instance
30
+ */
31
+ export declare function makeHideableFeatureFactory(appObjects: AppObjectRepo, options?: SetupHideableOptions): HideableFeatureFactory;
32
+ //# sourceMappingURL=HideableFeatureFactory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HideableFeatureFactory.d.ts","sourceRoot":"","sources":["../../../../src/Hideable/Factories/HideableFeatureFactory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAItE,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD;;;;;;;;GAQG;AACH,qBAAa,sBAAuB,SAAQ,aAAa;IACvD,WAAW,SAA4B;IAEvC,OAAO,CAAC,OAAO,CAAC,CAAuB;IAEvC;;;OAGG;gBACS,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,oBAAoB;IAKhE,aAAa,IAAI,IAAI;IAIrB,QAAQ,IAAI,IAAI;IAQhB,QAAQ,IAAI,IAAI;IAIhB,UAAU,IAAI,IAAI;CAuBnB;AAED;;;;;GAKG;AACH,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,aAAa,EACzB,OAAO,CAAC,EAAE,oBAAoB,GAC7B,sBAAsB,CAKxB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=HideableFeatureFactory.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HideableFeatureFactory.test.d.ts","sourceRoot":"","sources":["../../../../src/Hideable/Factories/HideableFeatureFactory.test.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  export * from "./setupHideable";
2
+ export * from "./HideableFeatureFactory";
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Hideable/Factories/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Hideable/Factories/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,0BAA0B,CAAC"}
@@ -0,0 +1,34 @@
1
+ import { AppObject, AppObjectRepo, DomainFactory } from "@vived/core";
2
+ import { HoverLabelOptions } from "./setupHoverLabel";
3
+ /**
4
+ * Factory responsible for setting up the HoverLabel Feature domain components.
5
+ *
6
+ * Builds the same components as the legacy setupHoverLabel function, split
7
+ * into the DomainFactory phases. The hover label transform is parented to the
8
+ * StylusEntity in finalSetup, so the Stylus Feature's factory can be
9
+ * registered before or after this one.
10
+ *
11
+ * @extends DomainFactory
12
+ */
13
+ export declare class HoverLabelFeatureFactory extends DomainFactory {
14
+ factoryName: string;
15
+ private hoverLabelEntity?;
16
+ private options?;
17
+ /**
18
+ * @param appObject The HoverLabel AppObject
19
+ * @param options Optional configuration, as for setupHoverLabel
20
+ */
21
+ constructor(appObject: AppObject, options?: HoverLabelOptions);
22
+ setupEntities(): void;
23
+ setupUCs(): void;
24
+ setupPMs(): void;
25
+ finalSetup(): void;
26
+ }
27
+ /**
28
+ * Factory function to create a new HoverLabelFeatureFactory
29
+ * @param appObjects The AppObjectRepo to get or create the HoverLabel AppObject from
30
+ * @param options Optional configuration, as for setupHoverLabel
31
+ * @returns A new HoverLabelFeatureFactory instance
32
+ */
33
+ export declare function makeHoverLabelFeatureFactory(appObjects: AppObjectRepo, options?: HoverLabelOptions): HoverLabelFeatureFactory;
34
+ //# sourceMappingURL=HoverLabelFeatureFactory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HoverLabelFeatureFactory.d.ts","sourceRoot":"","sources":["../../../../src/HoverLabel/Factories/HoverLabelFeatureFactory.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,aAAa,EACb,aAAa,EAGd,MAAM,aAAa,CAAC;AAmBrB,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAEtD;;;;;;;;;GASG;AACH,qBAAa,wBAAyB,SAAQ,aAAa;IACzD,WAAW,SAA8B;IAEzC,OAAO,CAAC,gBAAgB,CAAC,CAAmB;IAC5C,OAAO,CAAC,OAAO,CAAC,CAAoB;IAEpC;;;OAGG;gBACS,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,iBAAiB;IAK7D,aAAa,IAAI,IAAI;IAIrB,QAAQ,IAAI,IAAI;IAWhB,QAAQ,IAAI,IAAI;IAOhB,UAAU,IAAI,IAAI;CAsBnB;AAED;;;;;GAKG;AACH,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,aAAa,EACzB,OAAO,CAAC,EAAE,iBAAiB,GAC1B,wBAAwB,CAK1B"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=HoverLabelFeatureFactory.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HoverLabelFeatureFactory.test.d.ts","sourceRoot":"","sources":["../../../../src/HoverLabel/Factories/HoverLabelFeatureFactory.test.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  export * from "./setupHoverLabel";
2
+ export * from "./HoverLabelFeatureFactory";
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/HoverLabel/Factories/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/HoverLabel/Factories/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,4BAA4B,CAAC"}
@@ -0,0 +1,26 @@
1
+ import { AppObjectRepo, DomainFactory } from "@vived/core";
2
+ /**
3
+ * Factory responsible for setting up the Landmarks Feature domain components.
4
+ *
5
+ * Builds the same components as the legacy setupLandmarks function, split
6
+ * into the DomainFactory phases, including the "LandmarkPreview" AppObject.
7
+ * The LANDMARK tool is created in finalSetup, so its place in the toolbar
8
+ * follows the order the factories are registered.
9
+ *
10
+ * @extends DomainFactory
11
+ */
12
+ export declare class LandmarksFeatureFactory extends DomainFactory {
13
+ factoryName: string;
14
+ private get previewAO();
15
+ setupEntities(): void;
16
+ setupUCs(): void;
17
+ setupPMs(): void;
18
+ finalSetup(): void;
19
+ }
20
+ /**
21
+ * Factory function to create a new LandmarksFeatureFactory
22
+ * @param appObjects The AppObjectRepo to get or create the Landmarks AppObject from
23
+ * @returns A new LandmarksFeatureFactory instance
24
+ */
25
+ export declare function makeLandmarksFeatureFactory(appObjects: AppObjectRepo): LandmarksFeatureFactory;
26
+ //# sourceMappingURL=LandmarksFeatureFactory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LandmarksFeatureFactory.d.ts","sourceRoot":"","sources":["../../../../src/Landmarks/Factories/LandmarksFeatureFactory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAgBtE;;;;;;;;;GASG;AACH,qBAAa,uBAAwB,SAAQ,aAAa;IACxD,WAAW,SAA6B;IAExC,OAAO,KAAK,SAAS,GAEpB;IAED,aAAa,IAAI,IAAI;IAmBrB,QAAQ,IAAI,IAAI;IAQhB,QAAQ,IAAI,IAAI;IAQhB,UAAU,IAAI,IAAI;CAkBnB;AAED;;;;GAIG;AACH,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,aAAa,GACxB,uBAAuB,CAEzB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=LandmarksFeatureFactory.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LandmarksFeatureFactory.test.d.ts","sourceRoot":"","sources":["../../../../src/Landmarks/Factories/LandmarksFeatureFactory.test.ts"],"names":[],"mappings":""}
@@ -1,4 +1,5 @@
1
1
  export * from "./landmarkFactory";
2
2
  export * from "./landmarkRepoFactory";
3
3
  export * from "./setupLandmarks";
4
+ export * from "./LandmarksFeatureFactory";
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Landmarks/Factories/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Landmarks/Factories/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,2BAA2B,CAAC"}
@@ -0,0 +1,27 @@
1
+ import { AppObjectRepo, DomainFactory } from "@vived/core";
2
+ /**
3
+ * Factory responsible for setting up the Selection Feature domain components.
4
+ *
5
+ * Builds the same components as the legacy setupSelection function, split
6
+ * into the DomainFactory phases.
7
+ *
8
+ * The Hover, Press and Select UCs exist after setupUCs. An app that overrides
9
+ * their allow* hooks can do so from its own factory's setupPMs or finalSetup,
10
+ * through HoverAppObjectUC.get, PressAppObjectUC.get and SelectAppObjectUC.get.
11
+ *
12
+ * @extends DomainFactory
13
+ */
14
+ export declare class SelectionFeatureFactory extends DomainFactory {
15
+ factoryName: string;
16
+ setupEntities(): void;
17
+ setupUCs(): void;
18
+ setupPMs(): void;
19
+ finalSetup(): void;
20
+ }
21
+ /**
22
+ * Factory function to create a new SelectionFeatureFactory
23
+ * @param appObjects The AppObjectRepo to get or create the Selection AppObject from
24
+ * @returns A new SelectionFeatureFactory instance
25
+ */
26
+ export declare function makeSelectionFeatureFactory(appObjects: AppObjectRepo): SelectionFeatureFactory;
27
+ //# sourceMappingURL=SelectionFeatureFactory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SelectionFeatureFactory.d.ts","sourceRoot":"","sources":["../../../../src/Selection/Factories/SelectionFeatureFactory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAkB3D;;;;;;;;;;;GAWG;AACH,qBAAa,uBAAwB,SAAQ,aAAa;IACxD,WAAW,SAA6B;IAExC,aAAa,IAAI,IAAI;IAIrB,QAAQ,IAAI,IAAI;IAOhB,QAAQ,IAAI,IAAI;IAIhB,UAAU,IAAI,IAAI;CAQnB;AAED;;;;GAIG;AACH,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,aAAa,GACxB,uBAAuB,CAEzB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=SelectionFeatureFactory.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SelectionFeatureFactory.test.d.ts","sourceRoot":"","sources":["../../../../src/Selection/Factories/SelectionFeatureFactory.test.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  export * from "./setupSelection";
2
+ export * from "./SelectionFeatureFactory";
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Selection/Factories/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Selection/Factories/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,2BAA2B,CAAC"}
@@ -0,0 +1,23 @@
1
+ import { AppObjectRepo, DomainFactory } from "@vived/core";
2
+ /**
3
+ * Factory responsible for setting up the Stick Feature domain components.
4
+ *
5
+ * Builds the same components as the legacy setupStick function, split into
6
+ * the DomainFactory phases.
7
+ *
8
+ * @extends DomainFactory
9
+ */
10
+ export declare class StickFeatureFactory 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 StickFeatureFactory
19
+ * @param appObjects The AppObjectRepo to get or create the Stick AppObject from
20
+ * @returns A new StickFeatureFactory instance
21
+ */
22
+ export declare function makeStickFeatureFactory(appObjects: AppObjectRepo): StickFeatureFactory;
23
+ //# sourceMappingURL=StickFeatureFactory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StickFeatureFactory.d.ts","sourceRoot":"","sources":["../../../../src/Stick/Factories/StickFeatureFactory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAK3D;;;;;;;GAOG;AACH,qBAAa,mBAAoB,SAAQ,aAAa;IACpD,WAAW,SAAyB;IAEpC,aAAa,IAAI,IAAI;IAIrB,QAAQ,IAAI,IAAI;IAIhB,QAAQ,IAAI,IAAI;IAIhB,UAAU,IAAI,IAAI;CAInB;AAED;;;;GAIG;AACH,wBAAgB,uBAAuB,CACrC,UAAU,EAAE,aAAa,GACxB,mBAAmB,CAErB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=StickFeatureFactory.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StickFeatureFactory.test.d.ts","sourceRoot":"","sources":["../../../../src/Stick/Factories/StickFeatureFactory.test.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  export * from "./setupStick";
2
+ export * from "./StickFeatureFactory";
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Stick/Factories/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Stick/Factories/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,uBAAuB,CAAC"}
@@ -0,0 +1,23 @@
1
+ import { AppObjectRepo, DomainFactory } from "@vived/core";
2
+ /**
3
+ * Factory responsible for setting up the StoredView Feature domain components.
4
+ *
5
+ * Builds the same components as the legacy setupStoredView function, split
6
+ * into the DomainFactory phases.
7
+ *
8
+ * @extends DomainFactory
9
+ */
10
+ export declare class StoredViewFeatureFactory 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 StoredViewFeatureFactory
19
+ * @param appObjects The AppObjectRepo to get or create the StoredView AppObject from
20
+ * @returns A new StoredViewFeatureFactory instance
21
+ */
22
+ export declare function makeStoredViewFeatureFactory(appObjects: AppObjectRepo): StoredViewFeatureFactory;
23
+ //# sourceMappingURL=StoredViewFeatureFactory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StoredViewFeatureFactory.d.ts","sourceRoot":"","sources":["../../../../src/StoredView/Factories/StoredViewFeatureFactory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAW3D;;;;;;;GAOG;AACH,qBAAa,wBAAyB,SAAQ,aAAa;IACzD,WAAW,SAA8B;IAEzC,aAAa,IAAI,IAAI;IAIrB,QAAQ,IAAI,IAAI;IAQhB,QAAQ,IAAI,IAAI;IAIhB,UAAU,IAAI,IAAI;CAGnB;AAED;;;;GAIG;AACH,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,aAAa,GACxB,wBAAwB,CAE1B"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=StoredViewFeatureFactory.test.d.ts.map