@xyo-network/react-powered-by-xyo 2.64.0-rc.2 → 2.64.0-rc.4

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 (353) hide show
  1. package/dist/browser/components/ArchivistSummary.d.mts.map +1 -0
  2. package/dist/browser/components/ArchivistSummary.d.ts.map +1 -0
  3. package/dist/browser/components/ArchivistSummary.js +10 -0
  4. package/dist/browser/components/ArchivistSummary.js.map +1 -0
  5. package/dist/browser/components/BridgeSummary.d.mts.map +1 -0
  6. package/dist/browser/components/BridgeSummary.d.ts.map +1 -0
  7. package/dist/browser/components/BridgeSummary.js +10 -0
  8. package/dist/browser/components/BridgeSummary.js.map +1 -0
  9. package/dist/browser/components/DebugDialog.d.mts.map +1 -0
  10. package/dist/browser/components/DebugDialog.d.ts.map +1 -0
  11. package/dist/browser/components/DebugDialog.js +14 -0
  12. package/dist/browser/components/DebugDialog.js.map +1 -0
  13. package/dist/browser/components/DivinerSummary.d.mts.map +1 -0
  14. package/dist/browser/components/DivinerSummary.d.ts.map +1 -0
  15. package/dist/browser/components/DivinerSummary.js +10 -0
  16. package/dist/browser/components/DivinerSummary.js.map +1 -0
  17. package/dist/browser/components/JsonViewerButton.d.mts.map +1 -0
  18. package/dist/browser/components/JsonViewerButton.d.ts.map +1 -0
  19. package/dist/browser/components/JsonViewerButton.js +20 -0
  20. package/dist/browser/components/JsonViewerButton.js.map +1 -0
  21. package/dist/browser/components/ModuleAccordion.d.mts.map +1 -0
  22. package/dist/browser/components/ModuleAccordion.d.ts.map +1 -0
  23. package/dist/browser/components/ModuleAccordion.js +15 -0
  24. package/dist/browser/components/ModuleAccordion.js.map +1 -0
  25. package/dist/browser/components/ModuleDetails.d.mts.map +1 -0
  26. package/dist/browser/components/ModuleDetails.d.ts.map +1 -0
  27. package/dist/browser/components/ModuleDetails.js +41 -0
  28. package/dist/browser/components/ModuleDetails.js.map +1 -0
  29. package/dist/browser/components/ModuleSummary.d.mts.map +1 -0
  30. package/dist/browser/components/ModuleSummary.d.ts.map +1 -0
  31. package/dist/browser/components/ModuleSummary.js +30 -0
  32. package/dist/browser/components/ModuleSummary.js.map +1 -0
  33. package/dist/browser/components/NodeDetails.d.mts.map +1 -0
  34. package/dist/browser/components/NodeDetails.d.ts.map +1 -0
  35. package/dist/browser/components/NodeDetails.js +13 -0
  36. package/dist/browser/components/NodeDetails.js.map +1 -0
  37. package/dist/browser/components/NodeSummary.d.mts.map +1 -0
  38. package/dist/browser/components/NodeSummary.d.ts.map +1 -0
  39. package/dist/browser/components/NodeSummary.js +20 -0
  40. package/dist/browser/components/NodeSummary.js.map +1 -0
  41. package/dist/browser/components/PoweredByXyo.d.mts.map +1 -0
  42. package/dist/browser/components/PoweredByXyo.d.ts.map +1 -0
  43. package/dist/browser/components/PoweredByXyo.js +96 -0
  44. package/dist/browser/components/PoweredByXyo.js.map +1 -0
  45. package/dist/browser/components/PoweredByXyoButton.d.mts.map +1 -0
  46. package/dist/browser/components/PoweredByXyoButton.d.ts.map +1 -0
  47. package/dist/browser/components/PoweredByXyoButton.js +33 -0
  48. package/dist/browser/components/PoweredByXyoButton.js.map +1 -0
  49. package/dist/browser/components/SentinelSummary.d.mts.map +1 -0
  50. package/dist/browser/components/SentinelSummary.d.ts.map +1 -0
  51. package/dist/browser/components/SentinelSummary.js +10 -0
  52. package/dist/browser/components/SentinelSummary.js.map +1 -0
  53. package/dist/browser/components/TypedModuleSummary.d.mts.map +1 -0
  54. package/dist/browser/components/TypedModuleSummary.d.ts.map +1 -0
  55. package/dist/browser/components/TypedModuleSummary.js +39 -0
  56. package/dist/browser/components/TypedModuleSummary.js.map +1 -0
  57. package/dist/browser/components/WitnessSummary.d.mts.map +1 -0
  58. package/dist/browser/components/WitnessSummary.d.ts.map +1 -0
  59. package/dist/browser/components/WitnessSummary.js +10 -0
  60. package/dist/browser/components/WitnessSummary.js.map +1 -0
  61. package/dist/browser/components/XyoBusy.d.mts.map +1 -0
  62. package/dist/browser/components/XyoBusy.d.ts.map +1 -0
  63. package/dist/browser/components/XyoBusy.js +35 -0
  64. package/dist/browser/components/XyoBusy.js.map +1 -0
  65. package/dist/browser/components/index.d.mts.map +1 -0
  66. package/dist/browser/components/index.d.ts.map +1 -0
  67. package/dist/browser/components/index.js +15 -0
  68. package/dist/browser/components/index.js.map +1 -0
  69. package/dist/browser/components/stories/PoweredByXyo.stories.js +64 -0
  70. package/dist/browser/components/stories/PoweredByXyo.stories.js.map +1 -0
  71. package/dist/browser/components/stories/PoweredByXyoButton.stories.js +22 -0
  72. package/dist/browser/components/stories/PoweredByXyoButton.stories.js.map +1 -0
  73. package/dist/browser/components/stories/XyoBusy.stories.js +22 -0
  74. package/dist/browser/components/stories/XyoBusy.stories.js.map +1 -0
  75. package/dist/browser/components/stories/simple-node-inline-manifest.js +62 -0
  76. package/dist/browser/components/stories/simple-node-inline-manifest.js.map +1 -0
  77. package/dist/browser/img/index.d.mts.map +1 -0
  78. package/dist/browser/img/index.d.ts.map +1 -0
  79. package/dist/browser/img/index.js +7 -0
  80. package/dist/browser/img/index.js.map +1 -0
  81. package/dist/{index.d.mts.map → browser/index.d.mts.map} +1 -1
  82. package/dist/{index.d.ts.map → browser/index.d.ts.map} +1 -1
  83. package/dist/browser/index.js +2 -0
  84. package/dist/browser/index.js.map +1 -0
  85. package/dist/browser/types/images.d.js +1 -0
  86. package/dist/browser/types/images.d.js.map +1 -0
  87. package/dist/node/components/ArchivistSummary.d.mts +5 -0
  88. package/dist/node/components/ArchivistSummary.d.mts.map +1 -0
  89. package/dist/node/components/ArchivistSummary.d.ts +5 -0
  90. package/dist/node/components/ArchivistSummary.d.ts.map +1 -0
  91. package/dist/node/components/ArchivistSummary.js +34 -0
  92. package/dist/node/components/ArchivistSummary.js.map +1 -0
  93. package/dist/node/components/ArchivistSummary.mjs +10 -0
  94. package/dist/node/components/ArchivistSummary.mjs.map +1 -0
  95. package/dist/node/components/BridgeSummary.d.mts +5 -0
  96. package/dist/node/components/BridgeSummary.d.mts.map +1 -0
  97. package/dist/node/components/BridgeSummary.d.ts +5 -0
  98. package/dist/node/components/BridgeSummary.d.ts.map +1 -0
  99. package/dist/node/components/BridgeSummary.js +34 -0
  100. package/dist/node/components/BridgeSummary.js.map +1 -0
  101. package/dist/node/components/BridgeSummary.mjs +10 -0
  102. package/dist/node/components/BridgeSummary.mjs.map +1 -0
  103. package/dist/node/components/DebugDialog.d.mts +6 -0
  104. package/dist/node/components/DebugDialog.d.mts.map +1 -0
  105. package/dist/node/components/DebugDialog.d.ts +6 -0
  106. package/dist/node/components/DebugDialog.d.ts.map +1 -0
  107. package/dist/node/components/DebugDialog.js +38 -0
  108. package/dist/node/components/DebugDialog.js.map +1 -0
  109. package/dist/node/components/DebugDialog.mjs +14 -0
  110. package/dist/node/components/DebugDialog.mjs.map +1 -0
  111. package/dist/node/components/DivinerSummary.d.mts +5 -0
  112. package/dist/node/components/DivinerSummary.d.mts.map +1 -0
  113. package/dist/node/components/DivinerSummary.d.ts +5 -0
  114. package/dist/node/components/DivinerSummary.d.ts.map +1 -0
  115. package/dist/node/components/DivinerSummary.js +34 -0
  116. package/dist/node/components/DivinerSummary.js.map +1 -0
  117. package/dist/node/components/DivinerSummary.mjs +10 -0
  118. package/dist/node/components/DivinerSummary.mjs.map +1 -0
  119. package/dist/node/components/JsonViewerButton.d.mts +9 -0
  120. package/dist/node/components/JsonViewerButton.d.mts.map +1 -0
  121. package/dist/node/components/JsonViewerButton.d.ts +9 -0
  122. package/dist/node/components/JsonViewerButton.d.ts.map +1 -0
  123. package/dist/node/components/JsonViewerButton.js +54 -0
  124. package/dist/node/components/JsonViewerButton.js.map +1 -0
  125. package/dist/node/components/JsonViewerButton.mjs +20 -0
  126. package/dist/node/components/JsonViewerButton.mjs.map +1 -0
  127. package/dist/node/components/ModuleAccordion.d.mts +8 -0
  128. package/dist/node/components/ModuleAccordion.d.mts.map +1 -0
  129. package/dist/node/components/ModuleAccordion.d.ts +8 -0
  130. package/dist/node/components/ModuleAccordion.d.ts.map +1 -0
  131. package/dist/node/components/ModuleAccordion.js +39 -0
  132. package/dist/node/components/ModuleAccordion.js.map +1 -0
  133. package/dist/node/components/ModuleAccordion.mjs +15 -0
  134. package/dist/node/components/ModuleAccordion.mjs.map +1 -0
  135. package/dist/node/components/ModuleDetails.d.mts +8 -0
  136. package/dist/node/components/ModuleDetails.d.mts.map +1 -0
  137. package/dist/node/components/ModuleDetails.d.ts +8 -0
  138. package/dist/node/components/ModuleDetails.d.ts.map +1 -0
  139. package/dist/node/components/ModuleDetails.js +65 -0
  140. package/dist/node/components/ModuleDetails.js.map +1 -0
  141. package/dist/node/components/ModuleDetails.mjs +41 -0
  142. package/dist/node/components/ModuleDetails.mjs.map +1 -0
  143. package/dist/node/components/ModuleSummary.d.mts +9 -0
  144. package/dist/node/components/ModuleSummary.d.mts.map +1 -0
  145. package/dist/node/components/ModuleSummary.d.ts +9 -0
  146. package/dist/node/components/ModuleSummary.d.ts.map +1 -0
  147. package/dist/node/components/ModuleSummary.js +54 -0
  148. package/dist/node/components/ModuleSummary.js.map +1 -0
  149. package/dist/node/components/ModuleSummary.mjs +30 -0
  150. package/dist/node/components/ModuleSummary.mjs.map +1 -0
  151. package/dist/node/components/NodeDetails.d.mts +7 -0
  152. package/dist/node/components/NodeDetails.d.mts.map +1 -0
  153. package/dist/node/components/NodeDetails.d.ts +7 -0
  154. package/dist/node/components/NodeDetails.d.ts.map +1 -0
  155. package/dist/node/components/NodeDetails.js +37 -0
  156. package/dist/node/components/NodeDetails.js.map +1 -0
  157. package/dist/node/components/NodeDetails.mjs +13 -0
  158. package/dist/node/components/NodeDetails.mjs.map +1 -0
  159. package/dist/node/components/NodeSummary.d.mts +5 -0
  160. package/dist/node/components/NodeSummary.d.mts.map +1 -0
  161. package/dist/node/components/NodeSummary.d.ts +5 -0
  162. package/dist/node/components/NodeSummary.d.ts.map +1 -0
  163. package/dist/node/components/NodeSummary.js +44 -0
  164. package/dist/node/components/NodeSummary.js.map +1 -0
  165. package/dist/node/components/NodeSummary.mjs +20 -0
  166. package/dist/node/components/NodeSummary.mjs.map +1 -0
  167. package/dist/node/components/PoweredByXyo.d.mts +19 -0
  168. package/dist/node/components/PoweredByXyo.d.mts.map +1 -0
  169. package/dist/node/components/PoweredByXyo.d.ts +19 -0
  170. package/dist/node/components/PoweredByXyo.d.ts.map +1 -0
  171. package/dist/node/components/PoweredByXyo.js +120 -0
  172. package/dist/node/components/PoweredByXyo.js.map +1 -0
  173. package/dist/node/components/PoweredByXyo.mjs +96 -0
  174. package/dist/node/components/PoweredByXyo.mjs.map +1 -0
  175. package/dist/node/components/PoweredByXyoButton.d.mts +9 -0
  176. package/dist/node/components/PoweredByXyoButton.d.mts.map +1 -0
  177. package/dist/node/components/PoweredByXyoButton.d.ts +9 -0
  178. package/dist/node/components/PoweredByXyoButton.d.ts.map +1 -0
  179. package/dist/node/components/PoweredByXyoButton.js +57 -0
  180. package/dist/node/components/PoweredByXyoButton.js.map +1 -0
  181. package/dist/node/components/PoweredByXyoButton.mjs +33 -0
  182. package/dist/node/components/PoweredByXyoButton.mjs.map +1 -0
  183. package/dist/node/components/SentinelSummary.d.mts +5 -0
  184. package/dist/node/components/SentinelSummary.d.mts.map +1 -0
  185. package/dist/node/components/SentinelSummary.d.ts +5 -0
  186. package/dist/node/components/SentinelSummary.d.ts.map +1 -0
  187. package/dist/node/components/SentinelSummary.js +34 -0
  188. package/dist/node/components/SentinelSummary.js.map +1 -0
  189. package/dist/node/components/SentinelSummary.mjs +10 -0
  190. package/dist/node/components/SentinelSummary.mjs.map +1 -0
  191. package/dist/node/components/TypedModuleSummary.d.mts +4 -0
  192. package/dist/node/components/TypedModuleSummary.d.mts.map +1 -0
  193. package/dist/node/components/TypedModuleSummary.d.ts +4 -0
  194. package/dist/node/components/TypedModuleSummary.d.ts.map +1 -0
  195. package/dist/node/components/TypedModuleSummary.js +63 -0
  196. package/dist/node/components/TypedModuleSummary.js.map +1 -0
  197. package/dist/node/components/TypedModuleSummary.mjs +39 -0
  198. package/dist/node/components/TypedModuleSummary.mjs.map +1 -0
  199. package/dist/node/components/WitnessSummary.d.mts +5 -0
  200. package/dist/node/components/WitnessSummary.d.mts.map +1 -0
  201. package/dist/node/components/WitnessSummary.d.ts +5 -0
  202. package/dist/node/components/WitnessSummary.d.ts.map +1 -0
  203. package/dist/node/components/WitnessSummary.js +34 -0
  204. package/dist/node/components/WitnessSummary.js.map +1 -0
  205. package/dist/node/components/WitnessSummary.mjs +10 -0
  206. package/dist/node/components/WitnessSummary.mjs.map +1 -0
  207. package/dist/node/components/XyoBusy.d.mts +9 -0
  208. package/dist/node/components/XyoBusy.d.mts.map +1 -0
  209. package/dist/node/components/XyoBusy.d.ts +9 -0
  210. package/dist/node/components/XyoBusy.d.ts.map +1 -0
  211. package/dist/node/components/XyoBusy.js +59 -0
  212. package/dist/node/components/XyoBusy.js.map +1 -0
  213. package/dist/node/components/XyoBusy.mjs +35 -0
  214. package/dist/node/components/XyoBusy.mjs.map +1 -0
  215. package/dist/node/components/index.d.mts +15 -0
  216. package/dist/node/components/index.d.mts.map +1 -0
  217. package/dist/node/components/index.d.ts +15 -0
  218. package/dist/node/components/index.d.ts.map +1 -0
  219. package/dist/node/components/index.js +49 -0
  220. package/dist/node/components/index.js.map +1 -0
  221. package/dist/node/components/index.mjs +15 -0
  222. package/dist/node/components/index.mjs.map +1 -0
  223. package/dist/node/components/stories/PoweredByXyo.stories.js +101 -0
  224. package/dist/node/components/stories/PoweredByXyo.stories.js.map +1 -0
  225. package/dist/node/components/stories/PoweredByXyo.stories.mjs +64 -0
  226. package/dist/node/components/stories/PoweredByXyo.stories.mjs.map +1 -0
  227. package/dist/node/components/stories/PoweredByXyoButton.stories.js +47 -0
  228. package/dist/node/components/stories/PoweredByXyoButton.stories.js.map +1 -0
  229. package/dist/node/components/stories/PoweredByXyoButton.stories.mjs +22 -0
  230. package/dist/node/components/stories/PoweredByXyoButton.stories.mjs.map +1 -0
  231. package/dist/node/components/stories/XyoBusy.stories.js +47 -0
  232. package/dist/node/components/stories/XyoBusy.stories.js.map +1 -0
  233. package/dist/node/components/stories/XyoBusy.stories.mjs +22 -0
  234. package/dist/node/components/stories/XyoBusy.stories.mjs.map +1 -0
  235. package/dist/node/components/stories/simple-node-inline-manifest.js +53 -0
  236. package/dist/node/components/stories/simple-node-inline-manifest.js.map +1 -0
  237. package/dist/node/components/stories/simple-node-inline-manifest.mjs +62 -0
  238. package/dist/node/components/stories/simple-node-inline-manifest.mjs.map +1 -0
  239. package/dist/node/img/index.d.mts +4 -0
  240. package/dist/node/img/index.d.mts.map +1 -0
  241. package/dist/node/img/index.d.ts +4 -0
  242. package/dist/node/img/index.d.ts.map +1 -0
  243. package/dist/node/img/index.js +42 -0
  244. package/dist/node/img/index.js.map +1 -0
  245. package/dist/node/img/index.mjs +7 -0
  246. package/dist/node/img/index.mjs.map +1 -0
  247. package/dist/node/img/xyo-color-logo-text-only.svg +1 -0
  248. package/dist/node/img/xyo-color-logo.svg +1 -0
  249. package/dist/node/index.d.mts +2 -0
  250. package/dist/node/index.d.mts.map +1 -0
  251. package/dist/node/index.d.ts +2 -0
  252. package/dist/node/index.d.ts.map +1 -0
  253. package/dist/node/index.js +23 -0
  254. package/dist/node/index.js.map +1 -0
  255. package/dist/node/index.mjs +2 -0
  256. package/dist/node/index.mjs.map +1 -0
  257. package/dist/node/types/images.d.js +2 -0
  258. package/dist/node/types/images.d.js.map +1 -0
  259. package/dist/node/types/images.d.mjs +1 -0
  260. package/dist/node/types/images.d.mjs.map +1 -0
  261. package/package.json +30 -30
  262. package/dist/components/ArchivistSummary.d.mts.map +0 -1
  263. package/dist/components/ArchivistSummary.d.ts.map +0 -1
  264. package/dist/components/BridgeSummary.d.mts.map +0 -1
  265. package/dist/components/BridgeSummary.d.ts.map +0 -1
  266. package/dist/components/DebugDialog.d.mts.map +0 -1
  267. package/dist/components/DebugDialog.d.ts.map +0 -1
  268. package/dist/components/DivinerSummary.d.mts.map +0 -1
  269. package/dist/components/DivinerSummary.d.ts.map +0 -1
  270. package/dist/components/JsonViewerButton.d.mts.map +0 -1
  271. package/dist/components/JsonViewerButton.d.ts.map +0 -1
  272. package/dist/components/ModuleAccordion.d.mts.map +0 -1
  273. package/dist/components/ModuleAccordion.d.ts.map +0 -1
  274. package/dist/components/ModuleDetails.d.mts.map +0 -1
  275. package/dist/components/ModuleDetails.d.ts.map +0 -1
  276. package/dist/components/ModuleSummary.d.mts.map +0 -1
  277. package/dist/components/ModuleSummary.d.ts.map +0 -1
  278. package/dist/components/NodeDetails.d.mts.map +0 -1
  279. package/dist/components/NodeDetails.d.ts.map +0 -1
  280. package/dist/components/NodeSummary.d.mts.map +0 -1
  281. package/dist/components/NodeSummary.d.ts.map +0 -1
  282. package/dist/components/PoweredByXyo.d.mts.map +0 -1
  283. package/dist/components/PoweredByXyo.d.ts.map +0 -1
  284. package/dist/components/PoweredByXyoButton.d.mts.map +0 -1
  285. package/dist/components/PoweredByXyoButton.d.ts.map +0 -1
  286. package/dist/components/SentinelSummary.d.mts.map +0 -1
  287. package/dist/components/SentinelSummary.d.ts.map +0 -1
  288. package/dist/components/TypedModuleSummary.d.mts.map +0 -1
  289. package/dist/components/TypedModuleSummary.d.ts.map +0 -1
  290. package/dist/components/WitnessSummary.d.mts.map +0 -1
  291. package/dist/components/WitnessSummary.d.ts.map +0 -1
  292. package/dist/components/XyoBusy.d.mts.map +0 -1
  293. package/dist/components/XyoBusy.d.ts.map +0 -1
  294. package/dist/components/index.d.mts.map +0 -1
  295. package/dist/components/index.d.ts.map +0 -1
  296. package/dist/components/stories/PoweredByXyo.stories.d.mts +0 -9
  297. package/dist/components/stories/PoweredByXyo.stories.d.mts.map +0 -1
  298. package/dist/components/stories/PoweredByXyo.stories.d.ts +0 -9
  299. package/dist/components/stories/PoweredByXyo.stories.d.ts.map +0 -1
  300. package/dist/components/stories/PoweredByXyoButton.stories.d.mts +0 -7
  301. package/dist/components/stories/PoweredByXyoButton.stories.d.mts.map +0 -1
  302. package/dist/components/stories/PoweredByXyoButton.stories.d.ts +0 -7
  303. package/dist/components/stories/PoweredByXyoButton.stories.d.ts.map +0 -1
  304. package/dist/components/stories/XyoBusy.stories.d.mts +0 -18
  305. package/dist/components/stories/XyoBusy.stories.d.mts.map +0 -1
  306. package/dist/components/stories/XyoBusy.stories.d.ts +0 -18
  307. package/dist/components/stories/XyoBusy.stories.d.ts.map +0 -1
  308. package/dist/img/index.d.mts.map +0 -1
  309. package/dist/img/index.d.ts.map +0 -1
  310. package/dist/index.js +0 -439
  311. package/dist/index.js.map +0 -1
  312. package/dist/index.mjs +0 -389
  313. package/dist/index.mjs.map +0 -1
  314. /package/dist/{components → browser/components}/ArchivistSummary.d.mts +0 -0
  315. /package/dist/{components → browser/components}/ArchivistSummary.d.ts +0 -0
  316. /package/dist/{components → browser/components}/BridgeSummary.d.mts +0 -0
  317. /package/dist/{components → browser/components}/BridgeSummary.d.ts +0 -0
  318. /package/dist/{components → browser/components}/DebugDialog.d.mts +0 -0
  319. /package/dist/{components → browser/components}/DebugDialog.d.ts +0 -0
  320. /package/dist/{components → browser/components}/DivinerSummary.d.mts +0 -0
  321. /package/dist/{components → browser/components}/DivinerSummary.d.ts +0 -0
  322. /package/dist/{components → browser/components}/JsonViewerButton.d.mts +0 -0
  323. /package/dist/{components → browser/components}/JsonViewerButton.d.ts +0 -0
  324. /package/dist/{components → browser/components}/ModuleAccordion.d.mts +0 -0
  325. /package/dist/{components → browser/components}/ModuleAccordion.d.ts +0 -0
  326. /package/dist/{components → browser/components}/ModuleDetails.d.mts +0 -0
  327. /package/dist/{components → browser/components}/ModuleDetails.d.ts +0 -0
  328. /package/dist/{components → browser/components}/ModuleSummary.d.mts +0 -0
  329. /package/dist/{components → browser/components}/ModuleSummary.d.ts +0 -0
  330. /package/dist/{components → browser/components}/NodeDetails.d.mts +0 -0
  331. /package/dist/{components → browser/components}/NodeDetails.d.ts +0 -0
  332. /package/dist/{components → browser/components}/NodeSummary.d.mts +0 -0
  333. /package/dist/{components → browser/components}/NodeSummary.d.ts +0 -0
  334. /package/dist/{components → browser/components}/PoweredByXyo.d.mts +0 -0
  335. /package/dist/{components → browser/components}/PoweredByXyo.d.ts +0 -0
  336. /package/dist/{components → browser/components}/PoweredByXyoButton.d.mts +0 -0
  337. /package/dist/{components → browser/components}/PoweredByXyoButton.d.ts +0 -0
  338. /package/dist/{components → browser/components}/SentinelSummary.d.mts +0 -0
  339. /package/dist/{components → browser/components}/SentinelSummary.d.ts +0 -0
  340. /package/dist/{components → browser/components}/TypedModuleSummary.d.mts +0 -0
  341. /package/dist/{components → browser/components}/TypedModuleSummary.d.ts +0 -0
  342. /package/dist/{components → browser/components}/WitnessSummary.d.mts +0 -0
  343. /package/dist/{components → browser/components}/WitnessSummary.d.ts +0 -0
  344. /package/dist/{components → browser/components}/XyoBusy.d.mts +0 -0
  345. /package/dist/{components → browser/components}/XyoBusy.d.ts +0 -0
  346. /package/dist/{components → browser/components}/index.d.mts +0 -0
  347. /package/dist/{components → browser/components}/index.d.ts +0 -0
  348. /package/dist/{img → browser/img}/index.d.mts +0 -0
  349. /package/dist/{img → browser/img}/index.d.ts +0 -0
  350. /package/dist/{xyo-color-logo-text-only-QPAW5BSQ.svg → browser/img/xyo-color-logo-text-only.svg} +0 -0
  351. /package/dist/{xyo-color-logo-LHR2SMEM.svg → browser/img/xyo-color-logo.svg} +0 -0
  352. /package/dist/{index.d.mts → browser/index.d.mts} +0 -0
  353. /package/dist/{index.d.ts → browser/index.d.ts} +0 -0
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var NodeDetails_exports = {};
20
+ __export(NodeDetails_exports, {
21
+ NodeDetails: () => NodeDetails
22
+ });
23
+ module.exports = __toCommonJS(NodeDetails_exports);
24
+ var import_jsx_runtime = require("react/jsx-runtime");
25
+ var import_react_flexbox = require("@xylabs/react-flexbox");
26
+ var import_react_node = require("@xyo-network/react-node");
27
+ var import_ModuleAccordion = require("./ModuleAccordion");
28
+ const NodeDetails = ({ module: module2, ...props }) => {
29
+ const [node = module2] = (0, import_react_node.useProvidedNode)();
30
+ const [children] = (0, import_react_node.useModulesFromNode)(void 0, { node: node ?? void 0 });
31
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_flexbox.FlexCol, { alignItems: "stretch", ...props, children: children ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_flexbox.FlexCol, { alignItems: "stretch", marginY: 1, children: children?.map((child) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ModuleAccordion.ModuleAccordion, { module: child }, child.address)) }) }) : null });
32
+ };
33
+ // Annotate the CommonJS export names for ESM import in node:
34
+ 0 && (module.exports = {
35
+ NodeDetails
36
+ });
37
+ //# sourceMappingURL=NodeDetails.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/components/NodeDetails.tsx"],"sourcesContent":["import { FlexCol } from '@xylabs/react-flexbox'\nimport { NodeInstance } from '@xyo-network/node-model'\nimport { useModulesFromNode, useProvidedNode } from '@xyo-network/react-node'\n\nimport { ModuleAccordion } from './ModuleAccordion'\nimport { ModuleDetailsProps } from './ModuleDetails'\n\nexport interface NodeViewerProps extends ModuleDetailsProps<NodeInstance> {}\n\nexport const NodeDetails: React.FC<NodeViewerProps> = ({ module, ...props }) => {\n const [node = module] = useProvidedNode()\n\n const [children] = useModulesFromNode(undefined, { node: node ?? undefined })\n\n return (\n <FlexCol alignItems=\"stretch\" {...props}>\n {children ? (\n <>\n <FlexCol alignItems=\"stretch\" marginY={1}>\n {children?.map((child) => <ModuleAccordion key={child.address} module={child} />)}\n </FlexCol>\n </>\n ) : null}\n </FlexCol>\n )\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAiBQ;AAjBR,2BAAwB;AAExB,wBAAoD;AAEpD,6BAAgC;AAKzB,MAAM,cAAyC,CAAC,EAAE,QAAAA,SAAQ,GAAG,MAAM,MAAM;AAC9E,QAAM,CAAC,OAAOA,OAAM,QAAI,mCAAgB;AAExC,QAAM,CAAC,QAAQ,QAAI,sCAAmB,QAAW,EAAE,MAAM,QAAQ,OAAU,CAAC;AAE5E,SACE,4CAAC,gCAAQ,YAAW,WAAW,GAAG,OAC/B,qBACC,2EACE,sDAAC,gCAAQ,YAAW,WAAU,SAAS,GACpC,oBAAU,IAAI,CAAC,UAAU,4CAAC,0CAAoC,QAAQ,SAAvB,MAAM,OAAwB,CAAE,GAClF,GACF,IACE,MACN;AAEJ;","names":["module"]}
@@ -0,0 +1,13 @@
1
+ import { Fragment, jsx } from "react/jsx-runtime";
2
+ import { FlexCol } from "@xylabs/react-flexbox";
3
+ import { useModulesFromNode, useProvidedNode } from "@xyo-network/react-node";
4
+ import { ModuleAccordion } from "./ModuleAccordion";
5
+ const NodeDetails = ({ module, ...props }) => {
6
+ const [node = module] = useProvidedNode();
7
+ const [children] = useModulesFromNode(void 0, { node: node ?? void 0 });
8
+ return /* @__PURE__ */ jsx(FlexCol, { alignItems: "stretch", ...props, children: children ? /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(FlexCol, { alignItems: "stretch", marginY: 1, children: children?.map((child) => /* @__PURE__ */ jsx(ModuleAccordion, { module: child }, child.address)) }) }) : null });
9
+ };
10
+ export {
11
+ NodeDetails
12
+ };
13
+ //# sourceMappingURL=NodeDetails.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/components/NodeDetails.tsx"],"sourcesContent":["import { FlexCol } from '@xylabs/react-flexbox'\nimport { NodeInstance } from '@xyo-network/node-model'\nimport { useModulesFromNode, useProvidedNode } from '@xyo-network/react-node'\n\nimport { ModuleAccordion } from './ModuleAccordion'\nimport { ModuleDetailsProps } from './ModuleDetails'\n\nexport interface NodeViewerProps extends ModuleDetailsProps<NodeInstance> {}\n\nexport const NodeDetails: React.FC<NodeViewerProps> = ({ module, ...props }) => {\n const [node = module] = useProvidedNode()\n\n const [children] = useModulesFromNode(undefined, { node: node ?? undefined })\n\n return (\n <FlexCol alignItems=\"stretch\" {...props}>\n {children ? (\n <>\n <FlexCol alignItems=\"stretch\" marginY={1}>\n {children?.map((child) => <ModuleAccordion key={child.address} module={child} />)}\n </FlexCol>\n </>\n ) : null}\n </FlexCol>\n )\n}\n"],"mappings":"AAiBQ,mBAE8B,WAF9B;AAjBR,SAAS,eAAe;AAExB,SAAS,oBAAoB,uBAAuB;AAEpD,SAAS,uBAAuB;AAKzB,MAAM,cAAyC,CAAC,EAAE,QAAQ,GAAG,MAAM,MAAM;AAC9E,QAAM,CAAC,OAAO,MAAM,IAAI,gBAAgB;AAExC,QAAM,CAAC,QAAQ,IAAI,mBAAmB,QAAW,EAAE,MAAM,QAAQ,OAAU,CAAC;AAE5E,SACE,oBAAC,WAAQ,YAAW,WAAW,GAAG,OAC/B,qBACC,gCACE,8BAAC,WAAQ,YAAW,WAAU,SAAS,GACpC,oBAAU,IAAI,CAAC,UAAU,oBAAC,mBAAoC,QAAQ,SAAvB,MAAM,OAAwB,CAAE,GAClF,GACF,IACE,MACN;AAEJ;","names":[]}
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { NodeInstance } from '@xyo-network/node-model';
3
+ import { ModuleSummaryProps } from './ModuleSummary';
4
+ export declare const NodeSummary: React.FC<ModuleSummaryProps<NodeInstance>>;
5
+ //# sourceMappingURL=NodeSummary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NodeSummary.d.ts","sourceRoot":"","sources":["../../../src/components/NodeSummary.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAGtD,OAAO,EAAiB,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAEnE,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAAC,YAAY,CAAC,CAoBlE,CAAA"}
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { NodeInstance } from '@xyo-network/node-model';
3
+ import { ModuleSummaryProps } from './ModuleSummary';
4
+ export declare const NodeSummary: React.FC<ModuleSummaryProps<NodeInstance>>;
5
+ //# sourceMappingURL=NodeSummary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NodeSummary.d.ts","sourceRoot":"","sources":["../../../src/components/NodeSummary.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAGtD,OAAO,EAAiB,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAEnE,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAAC,YAAY,CAAC,CAoBlE,CAAA"}
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var NodeSummary_exports = {};
20
+ __export(NodeSummary_exports, {
21
+ NodeSummary: () => NodeSummary
22
+ });
23
+ module.exports = __toCommonJS(NodeSummary_exports);
24
+ var import_jsx_runtime = require("react/jsx-runtime");
25
+ var import_icons_material = require("@mui/icons-material");
26
+ var import_react_promise = require("@xylabs/react-promise");
27
+ var import_react_node = require("@xyo-network/react-node");
28
+ var import_ModuleSummary = require("./ModuleSummary");
29
+ const NodeSummary = ({ module: module2, ...props }) => {
30
+ const [manifest] = (0, import_react_promise.usePromise)(async () => {
31
+ return await module2?.manifest();
32
+ }, [module2]);
33
+ const [downModules] = (0, import_react_node.useModulesFromNode)(void 0, { direction: "down" });
34
+ const [upModules] = (0, import_react_node.useModulesFromNode)(void 0, { direction: "up" });
35
+ const downModulesFromResolve = downModules?.length;
36
+ const upModulesFromResolve = upModules?.length;
37
+ const manifestPublicModules = manifest?.modules?.public?.length;
38
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ModuleSummary.ModuleSummary, { module: module2, icon: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_icons_material.HubRounded, {}), ...props, children: manifestPublicModules !== void 0 && downModulesFromResolve !== void 0 && upModulesFromResolve !== void 0 ? `[${manifestPublicModules}m/${downModulesFromResolve}\u2193/${upModulesFromResolve}\u2191]` : null });
39
+ };
40
+ // Annotate the CommonJS export names for ESM import in node:
41
+ 0 && (module.exports = {
42
+ NodeSummary
43
+ });
44
+ //# sourceMappingURL=NodeSummary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/components/NodeSummary.tsx"],"sourcesContent":["import { HubRounded as HubRoundedIcon } from '@mui/icons-material'\nimport { usePromise } from '@xylabs/react-promise'\nimport { NodeInstance } from '@xyo-network/node-model'\nimport { useModulesFromNode } from '@xyo-network/react-node'\n\nimport { ModuleSummary, ModuleSummaryProps } from './ModuleSummary'\n\nexport const NodeSummary: React.FC<ModuleSummaryProps<NodeInstance>> = ({ module, ...props }) => {\n const [manifest] = usePromise(async () => {\n return await module?.manifest()\n }, [module])\n\n const [downModules] = useModulesFromNode(undefined, { direction: 'down' })\n const [upModules] = useModulesFromNode(undefined, { direction: 'up' })\n\n const downModulesFromResolve = downModules?.length\n const upModulesFromResolve = upModules?.length\n\n const manifestPublicModules = manifest?.modules?.public?.length\n\n return (\n <ModuleSummary module={module} icon={<HubRoundedIcon />} {...props}>\n {manifestPublicModules !== undefined && downModulesFromResolve !== undefined && upModulesFromResolve !== undefined\n ? `[${manifestPublicModules}m/${downModulesFromResolve}↓/${upModulesFromResolve}↑]`\n : null}\n </ModuleSummary>\n )\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAqByC;AArBzC,4BAA6C;AAC7C,2BAA2B;AAE3B,wBAAmC;AAEnC,2BAAkD;AAE3C,MAAM,cAA0D,CAAC,EAAE,QAAAA,SAAQ,GAAG,MAAM,MAAM;AAC/F,QAAM,CAAC,QAAQ,QAAI,iCAAW,YAAY;AACxC,WAAO,MAAMA,SAAQ,SAAS;AAAA,EAChC,GAAG,CAACA,OAAM,CAAC;AAEX,QAAM,CAAC,WAAW,QAAI,sCAAmB,QAAW,EAAE,WAAW,OAAO,CAAC;AACzE,QAAM,CAAC,SAAS,QAAI,sCAAmB,QAAW,EAAE,WAAW,KAAK,CAAC;AAErE,QAAM,yBAAyB,aAAa;AAC5C,QAAM,uBAAuB,WAAW;AAExC,QAAM,wBAAwB,UAAU,SAAS,QAAQ;AAEzD,SACE,4CAAC,sCAAc,QAAQA,SAAQ,MAAM,4CAAC,sBAAAC,YAAA,EAAe,GAAK,GAAG,OAC1D,oCAA0B,UAAa,2BAA2B,UAAa,yBAAyB,SACrG,IAAI,qBAAqB,KAAK,sBAAsB,UAAK,oBAAoB,YAC7E,MACN;AAEJ;","names":["module","HubRoundedIcon"]}
@@ -0,0 +1,20 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { HubRounded as HubRoundedIcon } from "@mui/icons-material";
3
+ import { usePromise } from "@xylabs/react-promise";
4
+ import { useModulesFromNode } from "@xyo-network/react-node";
5
+ import { ModuleSummary } from "./ModuleSummary";
6
+ const NodeSummary = ({ module, ...props }) => {
7
+ const [manifest] = usePromise(async () => {
8
+ return await module?.manifest();
9
+ }, [module]);
10
+ const [downModules] = useModulesFromNode(void 0, { direction: "down" });
11
+ const [upModules] = useModulesFromNode(void 0, { direction: "up" });
12
+ const downModulesFromResolve = downModules?.length;
13
+ const upModulesFromResolve = upModules?.length;
14
+ const manifestPublicModules = manifest?.modules?.public?.length;
15
+ return /* @__PURE__ */ jsx(ModuleSummary, { module, icon: /* @__PURE__ */ jsx(HubRoundedIcon, {}), ...props, children: manifestPublicModules !== void 0 && downModulesFromResolve !== void 0 && upModulesFromResolve !== void 0 ? `[${manifestPublicModules}m/${downModulesFromResolve}\u2193/${upModulesFromResolve}\u2191]` : null });
16
+ };
17
+ export {
18
+ NodeSummary
19
+ };
20
+ //# sourceMappingURL=NodeSummary.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/components/NodeSummary.tsx"],"sourcesContent":["import { HubRounded as HubRoundedIcon } from '@mui/icons-material'\nimport { usePromise } from '@xylabs/react-promise'\nimport { NodeInstance } from '@xyo-network/node-model'\nimport { useModulesFromNode } from '@xyo-network/react-node'\n\nimport { ModuleSummary, ModuleSummaryProps } from './ModuleSummary'\n\nexport const NodeSummary: React.FC<ModuleSummaryProps<NodeInstance>> = ({ module, ...props }) => {\n const [manifest] = usePromise(async () => {\n return await module?.manifest()\n }, [module])\n\n const [downModules] = useModulesFromNode(undefined, { direction: 'down' })\n const [upModules] = useModulesFromNode(undefined, { direction: 'up' })\n\n const downModulesFromResolve = downModules?.length\n const upModulesFromResolve = upModules?.length\n\n const manifestPublicModules = manifest?.modules?.public?.length\n\n return (\n <ModuleSummary module={module} icon={<HubRoundedIcon />} {...props}>\n {manifestPublicModules !== undefined && downModulesFromResolve !== undefined && upModulesFromResolve !== undefined\n ? `[${manifestPublicModules}m/${downModulesFromResolve}↓/${upModulesFromResolve}↑]`\n : null}\n </ModuleSummary>\n )\n}\n"],"mappings":"AAqByC;AArBzC,SAAS,cAAc,sBAAsB;AAC7C,SAAS,kBAAkB;AAE3B,SAAS,0BAA0B;AAEnC,SAAS,qBAAyC;AAE3C,MAAM,cAA0D,CAAC,EAAE,QAAQ,GAAG,MAAM,MAAM;AAC/F,QAAM,CAAC,QAAQ,IAAI,WAAW,YAAY;AACxC,WAAO,MAAM,QAAQ,SAAS;AAAA,EAChC,GAAG,CAAC,MAAM,CAAC;AAEX,QAAM,CAAC,WAAW,IAAI,mBAAmB,QAAW,EAAE,WAAW,OAAO,CAAC;AACzE,QAAM,CAAC,SAAS,IAAI,mBAAmB,QAAW,EAAE,WAAW,KAAK,CAAC;AAErE,QAAM,yBAAyB,aAAa;AAC5C,QAAM,uBAAuB,WAAW;AAExC,QAAM,wBAAwB,UAAU,SAAS,QAAQ;AAEzD,SACE,oBAAC,iBAAc,QAAgB,MAAM,oBAAC,kBAAe,GAAK,GAAG,OAC1D,oCAA0B,UAAa,2BAA2B,UAAa,yBAAyB,SACrG,IAAI,qBAAqB,KAAK,sBAAsB,UAAK,oBAAoB,YAC7E,MACN;AAEJ;","names":[]}
@@ -0,0 +1,19 @@
1
+ /// <reference types="react" />
2
+ import { ButtonExProps } from '@xylabs/react-button';
3
+ import { FlexBoxProps } from '@xylabs/react-flexbox';
4
+ import { NodeInstance } from '@xyo-network/node-model';
5
+ import { PoweredByXyoButtonProps } from './PoweredByXyoButton';
6
+ export interface PoweredByXyoProps extends FlexBoxProps {
7
+ autoStop?: boolean;
8
+ busy?: boolean;
9
+ buttonProps?: PoweredByXyoButtonProps;
10
+ debugDialog?: boolean;
11
+ disableAnimation?: boolean;
12
+ href?: ButtonExProps['href'];
13
+ logoHeight?: number;
14
+ logoTextSize?: number;
15
+ node?: NodeInstance;
16
+ onButtonClick?: ButtonExProps['onClick'];
17
+ }
18
+ export declare const PoweredByXyo: React.FC<PoweredByXyoProps>;
19
+ //# sourceMappingURL=PoweredByXyo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PoweredByXyo.d.ts","sourceRoot":"","sources":["../../../src/components/PoweredByXyo.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AACpD,OAAO,EAAE,YAAY,EAAW,MAAM,uBAAuB,CAAA;AAE7D,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAKtD,OAAO,EAAsB,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AAElF,MAAM,WAAW,iBAAkB,SAAQ,YAAY;IACrD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,WAAW,CAAC,EAAE,uBAAuB,CAAA;IACrC,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,IAAI,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAA;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,aAAa,CAAC,EAAE,aAAa,CAAC,SAAS,CAAC,CAAA;CACzC;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA+FpD,CAAA"}
@@ -0,0 +1,19 @@
1
+ /// <reference types="react" />
2
+ import { ButtonExProps } from '@xylabs/react-button';
3
+ import { FlexBoxProps } from '@xylabs/react-flexbox';
4
+ import { NodeInstance } from '@xyo-network/node-model';
5
+ import { PoweredByXyoButtonProps } from './PoweredByXyoButton';
6
+ export interface PoweredByXyoProps extends FlexBoxProps {
7
+ autoStop?: boolean;
8
+ busy?: boolean;
9
+ buttonProps?: PoweredByXyoButtonProps;
10
+ debugDialog?: boolean;
11
+ disableAnimation?: boolean;
12
+ href?: ButtonExProps['href'];
13
+ logoHeight?: number;
14
+ logoTextSize?: number;
15
+ node?: NodeInstance;
16
+ onButtonClick?: ButtonExProps['onClick'];
17
+ }
18
+ export declare const PoweredByXyo: React.FC<PoweredByXyoProps>;
19
+ //# sourceMappingURL=PoweredByXyo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PoweredByXyo.d.ts","sourceRoot":"","sources":["../../../src/components/PoweredByXyo.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AACpD,OAAO,EAAE,YAAY,EAAW,MAAM,uBAAuB,CAAA;AAE7D,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAKtD,OAAO,EAAsB,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AAElF,MAAM,WAAW,iBAAkB,SAAQ,YAAY;IACrD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,WAAW,CAAC,EAAE,uBAAuB,CAAA;IACrC,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,IAAI,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAA;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,aAAa,CAAC,EAAE,aAAa,CAAC,SAAS,CAAC,CAAA;CACzC;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA+FpD,CAAA"}
@@ -0,0 +1,120 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var PoweredByXyo_exports = {};
20
+ __export(PoweredByXyo_exports, {
21
+ PoweredByXyo: () => PoweredByXyo
22
+ });
23
+ module.exports = __toCommonJS(PoweredByXyo_exports);
24
+ var import_jsx_runtime = require("react/jsx-runtime");
25
+ var import_material = require("@mui/material");
26
+ var import_delay = require("@xylabs/delay");
27
+ var import_forget = require("@xylabs/forget");
28
+ var import_react_async_effect = require("@xylabs/react-async-effect");
29
+ var import_react_flexbox = require("@xylabs/react-flexbox");
30
+ var import_react_node = require("@xyo-network/react-node");
31
+ var import_react = require("react");
32
+ var import_DebugDialog = require("./DebugDialog");
33
+ var import_PoweredByXyoButton = require("./PoweredByXyoButton");
34
+ const PoweredByXyo = ({
35
+ autoStop,
36
+ busy,
37
+ buttonProps = {},
38
+ debugDialog = false,
39
+ disableAnimation = false,
40
+ href = "https://xyo.network",
41
+ logoHeight,
42
+ logoTextSize,
43
+ onButtonClick,
44
+ node: propNode,
45
+ ...props
46
+ }) => {
47
+ const [node] = (0, import_react_node.useProvidedNode)();
48
+ const [debugDialogOpen, setDebugDialogOpen] = (0, import_react.useState)(false);
49
+ const busyMap = (0, import_react.useMemo)(() => ({}), [node]);
50
+ const activeBusy = busy ?? Object.values(busyMap).reduce((prev, value) => prev || value, false);
51
+ const activeOnButtonClick = (debugDialog ? (event) => {
52
+ if (event.shiftKey && event.altKey) {
53
+ setDebugDialogOpen(true);
54
+ } else if (href) {
55
+ window.open(href);
56
+ }
57
+ } : void 0) ?? onButtonClick;
58
+ const activeHref = activeOnButtonClick ? void 0 : href;
59
+ const onKeyDownEscListener = (event) => {
60
+ if (event.key === "Escape" && debugDialogOpen) {
61
+ setDebugDialogOpen(false);
62
+ }
63
+ };
64
+ (0, import_react_async_effect.useAsyncEffect)(
65
+ // eslint-disable-next-line react-hooks/exhaustive-deps
66
+ async () => {
67
+ const activeNode = propNode ?? node;
68
+ if (disableAnimation) {
69
+ return;
70
+ } else if (activeNode) {
71
+ const mods = await activeNode?.resolve();
72
+ mods?.map((mod) => {
73
+ mod.on("moduleBusy", ({ module: module2, busy: busy2 }) => {
74
+ busyMap[module2.address] = busy2;
75
+ if (autoStop) {
76
+ (0, import_forget.forget)(
77
+ (async () => {
78
+ await (0, import_delay.delay)(1e3);
79
+ busyMap[module2.address] = false;
80
+ })()
81
+ );
82
+ }
83
+ });
84
+ });
85
+ activeNode?.on("moduleBusy", ({ module: module2, busy: busy2 }) => {
86
+ busyMap[module2.address] = busy2;
87
+ if (autoStop) {
88
+ (0, import_forget.forget)(
89
+ (async () => {
90
+ await (0, import_delay.delay)(1e3);
91
+ busyMap[module2.address] = false;
92
+ })()
93
+ );
94
+ }
95
+ });
96
+ }
97
+ },
98
+ [disableAnimation, propNode, node, busyMap, autoStop]
99
+ );
100
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_react_flexbox.FlexCol, { alignItems: "stretch", position: "absolute", bottom: "0", left: "0", ...props, children: [
101
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_material.Paper, { sx: { borderRadius: 0 }, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
102
+ import_PoweredByXyoButton.PoweredByXyoButton,
103
+ {
104
+ onClick: activeOnButtonClick,
105
+ href: activeHref,
106
+ busy: activeBusy,
107
+ logoHeight,
108
+ logoTextSize,
109
+ fullWidth: true,
110
+ ...buttonProps
111
+ }
112
+ ) }),
113
+ debugDialog ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_DebugDialog.DebugDialog, { fullScreen: true, open: debugDialogOpen, onClose: () => setDebugDialogOpen(false), onKeyDown: onKeyDownEscListener }) : null
114
+ ] });
115
+ };
116
+ // Annotate the CommonJS export names for ESM import in node:
117
+ 0 && (module.exports = {
118
+ PoweredByXyo
119
+ });
120
+ //# sourceMappingURL=PoweredByXyo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/components/PoweredByXyo.tsx"],"sourcesContent":["import { Paper } from '@mui/material'\nimport { delay } from '@xylabs/delay'\nimport { forget } from '@xylabs/forget'\nimport { useAsyncEffect } from '@xylabs/react-async-effect'\nimport { ButtonExProps } from '@xylabs/react-button'\nimport { FlexBoxProps, FlexCol } from '@xylabs/react-flexbox'\nimport { Module } from '@xyo-network/module-model'\nimport { NodeInstance } from '@xyo-network/node-model'\nimport { useProvidedNode } from '@xyo-network/react-node'\nimport { KeyboardEvent, useMemo, useState } from 'react'\n\nimport { DebugDialog } from './DebugDialog'\nimport { PoweredByXyoButton, PoweredByXyoButtonProps } from './PoweredByXyoButton'\n\nexport interface PoweredByXyoProps extends FlexBoxProps {\n autoStop?: boolean\n busy?: boolean\n buttonProps?: PoweredByXyoButtonProps\n debugDialog?: boolean\n disableAnimation?: boolean\n href?: ButtonExProps['href']\n logoHeight?: number\n logoTextSize?: number\n node?: NodeInstance\n onButtonClick?: ButtonExProps['onClick']\n}\n\nexport const PoweredByXyo: React.FC<PoweredByXyoProps> = ({\n autoStop,\n busy,\n buttonProps = {},\n debugDialog = false,\n disableAnimation = false,\n href = 'https://xyo.network',\n logoHeight,\n logoTextSize,\n onButtonClick,\n node: propNode,\n ...props\n}) => {\n const [node] = useProvidedNode()\n const [debugDialogOpen, setDebugDialogOpen] = useState(false)\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n const busyMap: Record<string, boolean> = useMemo(() => ({}), [node])\n\n const activeBusy = busy ?? Object.values(busyMap).reduce((prev, value) => prev || value, false)\n\n const activeOnButtonClick: PoweredByXyoProps['onButtonClick'] =\n (debugDialog\n ? (event) => {\n if (event.shiftKey && event.altKey) {\n setDebugDialogOpen(true)\n } else if (href) {\n window.open(href)\n }\n }\n : undefined) ?? onButtonClick\n\n const activeHref = activeOnButtonClick ? undefined : href\n\n const onKeyDownEscListener = (event: KeyboardEvent<HTMLDivElement>) => {\n if (event.key === 'Escape' && debugDialogOpen) {\n setDebugDialogOpen(false)\n }\n }\n\n useAsyncEffect(\n // eslint-disable-next-line react-hooks/exhaustive-deps\n async () => {\n const activeNode = propNode ?? node\n if (disableAnimation) {\n return\n } else if (activeNode) {\n const mods = await activeNode?.resolve()\n mods?.map((mod) => {\n mod.on('moduleBusy', ({ module, busy }) => {\n busyMap[(module as Module).address] = busy\n if (autoStop) {\n forget(\n (async () => {\n await delay(1000)\n busyMap[(module as Module).address] = false\n })(),\n )\n }\n })\n })\n activeNode?.on('moduleBusy', ({ module, busy }) => {\n busyMap[(module as Module).address] = busy\n if (autoStop) {\n forget(\n (async () => {\n await delay(1000)\n busyMap[(module as Module).address] = false\n })(),\n )\n }\n })\n }\n },\n [disableAnimation, propNode, node, busyMap, autoStop],\n )\n\n return (\n <FlexCol alignItems=\"stretch\" position=\"absolute\" bottom=\"0\" left=\"0\" {...props}>\n <Paper sx={{ borderRadius: 0 }}>\n <PoweredByXyoButton\n onClick={activeOnButtonClick}\n href={activeHref}\n busy={activeBusy}\n logoHeight={logoHeight}\n logoTextSize={logoTextSize}\n fullWidth\n {...buttonProps}\n />\n </Paper>\n {debugDialog ? (\n <DebugDialog fullScreen open={debugDialogOpen} onClose={() => setDebugDialogOpen(false)} onKeyDown={onKeyDownEscListener} />\n ) : null}\n </FlexCol>\n )\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAyGI;AAzGJ,sBAAsB;AACtB,mBAAsB;AACtB,oBAAuB;AACvB,gCAA+B;AAE/B,2BAAsC;AAGtC,wBAAgC;AAChC,mBAAiD;AAEjD,yBAA4B;AAC5B,gCAA4D;AAerD,MAAM,eAA4C,CAAC;AAAA,EACxD;AAAA,EACA;AAAA,EACA,cAAc,CAAC;AAAA,EACf,cAAc;AAAA,EACd,mBAAmB;AAAA,EACnB,OAAO;AAAA,EACP;AAAA,EACA;AAAA,EACA;AAAA,EACA,MAAM;AAAA,EACN,GAAG;AACL,MAAM;AACJ,QAAM,CAAC,IAAI,QAAI,mCAAgB;AAC/B,QAAM,CAAC,iBAAiB,kBAAkB,QAAI,uBAAS,KAAK;AAG5D,QAAM,cAAmC,sBAAQ,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC;AAEnE,QAAM,aAAa,QAAQ,OAAO,OAAO,OAAO,EAAE,OAAO,CAAC,MAAM,UAAU,QAAQ,OAAO,KAAK;AAE9F,QAAM,uBACH,cACG,CAAC,UAAU;AACT,QAAI,MAAM,YAAY,MAAM,QAAQ;AAClC,yBAAmB,IAAI;AAAA,IACzB,WAAW,MAAM;AACf,aAAO,KAAK,IAAI;AAAA,IAClB;AAAA,EACF,IACA,WAAc;AAEpB,QAAM,aAAa,sBAAsB,SAAY;AAErD,QAAM,uBAAuB,CAAC,UAAyC;AACrE,QAAI,MAAM,QAAQ,YAAY,iBAAiB;AAC7C,yBAAmB,KAAK;AAAA,IAC1B;AAAA,EACF;AAEA;AAAA;AAAA,IAEE,YAAY;AACV,YAAM,aAAa,YAAY;AAC/B,UAAI,kBAAkB;AACpB;AAAA,MACF,WAAW,YAAY;AACrB,cAAM,OAAO,MAAM,YAAY,QAAQ;AACvC,cAAM,IAAI,CAAC,QAAQ;AACjB,cAAI,GAAG,cAAc,CAAC,EAAE,QAAAA,SAAQ,MAAAC,MAAK,MAAM;AACzC,oBAASD,QAAkB,OAAO,IAAIC;AACtC,gBAAI,UAAU;AACZ;AAAA,iBACG,YAAY;AACX,4BAAM,oBAAM,GAAI;AAChB,0BAASD,QAAkB,OAAO,IAAI;AAAA,gBACxC,GAAG;AAAA,cACL;AAAA,YACF;AAAA,UACF,CAAC;AAAA,QACH,CAAC;AACD,oBAAY,GAAG,cAAc,CAAC,EAAE,QAAAA,SAAQ,MAAAC,MAAK,MAAM;AACjD,kBAASD,QAAkB,OAAO,IAAIC;AACtC,cAAI,UAAU;AACZ;AAAA,eACG,YAAY;AACX,0BAAM,oBAAM,GAAI;AAChB,wBAASD,QAAkB,OAAO,IAAI;AAAA,cACxC,GAAG;AAAA,YACL;AAAA,UACF;AAAA,QACF,CAAC;AAAA,MACH;AAAA,IACF;AAAA,IACA,CAAC,kBAAkB,UAAU,MAAM,SAAS,QAAQ;AAAA,EACtD;AAEA,SACE,6CAAC,gCAAQ,YAAW,WAAU,UAAS,YAAW,QAAO,KAAI,MAAK,KAAK,GAAG,OACxE;AAAA,gDAAC,yBAAM,IAAI,EAAE,cAAc,EAAE,GAC3B;AAAA,MAAC;AAAA;AAAA,QACC,SAAS;AAAA,QACT,MAAM;AAAA,QACN,MAAM;AAAA,QACN;AAAA,QACA;AAAA,QACA,WAAS;AAAA,QACR,GAAG;AAAA;AAAA,IACN,GACF;AAAA,IACC,cACC,4CAAC,kCAAY,YAAU,MAAC,MAAM,iBAAiB,SAAS,MAAM,mBAAmB,KAAK,GAAG,WAAW,sBAAsB,IACxH;AAAA,KACN;AAEJ;","names":["module","busy"]}
@@ -0,0 +1,96 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ import { Paper } from "@mui/material";
3
+ import { delay } from "@xylabs/delay";
4
+ import { forget } from "@xylabs/forget";
5
+ import { useAsyncEffect } from "@xylabs/react-async-effect";
6
+ import { FlexCol } from "@xylabs/react-flexbox";
7
+ import { useProvidedNode } from "@xyo-network/react-node";
8
+ import { useMemo, useState } from "react";
9
+ import { DebugDialog } from "./DebugDialog";
10
+ import { PoweredByXyoButton } from "./PoweredByXyoButton";
11
+ const PoweredByXyo = ({
12
+ autoStop,
13
+ busy,
14
+ buttonProps = {},
15
+ debugDialog = false,
16
+ disableAnimation = false,
17
+ href = "https://xyo.network",
18
+ logoHeight,
19
+ logoTextSize,
20
+ onButtonClick,
21
+ node: propNode,
22
+ ...props
23
+ }) => {
24
+ const [node] = useProvidedNode();
25
+ const [debugDialogOpen, setDebugDialogOpen] = useState(false);
26
+ const busyMap = useMemo(() => ({}), [node]);
27
+ const activeBusy = busy ?? Object.values(busyMap).reduce((prev, value) => prev || value, false);
28
+ const activeOnButtonClick = (debugDialog ? (event) => {
29
+ if (event.shiftKey && event.altKey) {
30
+ setDebugDialogOpen(true);
31
+ } else if (href) {
32
+ window.open(href);
33
+ }
34
+ } : void 0) ?? onButtonClick;
35
+ const activeHref = activeOnButtonClick ? void 0 : href;
36
+ const onKeyDownEscListener = (event) => {
37
+ if (event.key === "Escape" && debugDialogOpen) {
38
+ setDebugDialogOpen(false);
39
+ }
40
+ };
41
+ useAsyncEffect(
42
+ // eslint-disable-next-line react-hooks/exhaustive-deps
43
+ async () => {
44
+ const activeNode = propNode ?? node;
45
+ if (disableAnimation) {
46
+ return;
47
+ } else if (activeNode) {
48
+ const mods = await activeNode?.resolve();
49
+ mods?.map((mod) => {
50
+ mod.on("moduleBusy", ({ module, busy: busy2 }) => {
51
+ busyMap[module.address] = busy2;
52
+ if (autoStop) {
53
+ forget(
54
+ (async () => {
55
+ await delay(1e3);
56
+ busyMap[module.address] = false;
57
+ })()
58
+ );
59
+ }
60
+ });
61
+ });
62
+ activeNode?.on("moduleBusy", ({ module, busy: busy2 }) => {
63
+ busyMap[module.address] = busy2;
64
+ if (autoStop) {
65
+ forget(
66
+ (async () => {
67
+ await delay(1e3);
68
+ busyMap[module.address] = false;
69
+ })()
70
+ );
71
+ }
72
+ });
73
+ }
74
+ },
75
+ [disableAnimation, propNode, node, busyMap, autoStop]
76
+ );
77
+ return /* @__PURE__ */ jsxs(FlexCol, { alignItems: "stretch", position: "absolute", bottom: "0", left: "0", ...props, children: [
78
+ /* @__PURE__ */ jsx(Paper, { sx: { borderRadius: 0 }, children: /* @__PURE__ */ jsx(
79
+ PoweredByXyoButton,
80
+ {
81
+ onClick: activeOnButtonClick,
82
+ href: activeHref,
83
+ busy: activeBusy,
84
+ logoHeight,
85
+ logoTextSize,
86
+ fullWidth: true,
87
+ ...buttonProps
88
+ }
89
+ ) }),
90
+ debugDialog ? /* @__PURE__ */ jsx(DebugDialog, { fullScreen: true, open: debugDialogOpen, onClose: () => setDebugDialogOpen(false), onKeyDown: onKeyDownEscListener }) : null
91
+ ] });
92
+ };
93
+ export {
94
+ PoweredByXyo
95
+ };
96
+ //# sourceMappingURL=PoweredByXyo.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/components/PoweredByXyo.tsx"],"sourcesContent":["import { Paper } from '@mui/material'\nimport { delay } from '@xylabs/delay'\nimport { forget } from '@xylabs/forget'\nimport { useAsyncEffect } from '@xylabs/react-async-effect'\nimport { ButtonExProps } from '@xylabs/react-button'\nimport { FlexBoxProps, FlexCol } from '@xylabs/react-flexbox'\nimport { Module } from '@xyo-network/module-model'\nimport { NodeInstance } from '@xyo-network/node-model'\nimport { useProvidedNode } from '@xyo-network/react-node'\nimport { KeyboardEvent, useMemo, useState } from 'react'\n\nimport { DebugDialog } from './DebugDialog'\nimport { PoweredByXyoButton, PoweredByXyoButtonProps } from './PoweredByXyoButton'\n\nexport interface PoweredByXyoProps extends FlexBoxProps {\n autoStop?: boolean\n busy?: boolean\n buttonProps?: PoweredByXyoButtonProps\n debugDialog?: boolean\n disableAnimation?: boolean\n href?: ButtonExProps['href']\n logoHeight?: number\n logoTextSize?: number\n node?: NodeInstance\n onButtonClick?: ButtonExProps['onClick']\n}\n\nexport const PoweredByXyo: React.FC<PoweredByXyoProps> = ({\n autoStop,\n busy,\n buttonProps = {},\n debugDialog = false,\n disableAnimation = false,\n href = 'https://xyo.network',\n logoHeight,\n logoTextSize,\n onButtonClick,\n node: propNode,\n ...props\n}) => {\n const [node] = useProvidedNode()\n const [debugDialogOpen, setDebugDialogOpen] = useState(false)\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n const busyMap: Record<string, boolean> = useMemo(() => ({}), [node])\n\n const activeBusy = busy ?? Object.values(busyMap).reduce((prev, value) => prev || value, false)\n\n const activeOnButtonClick: PoweredByXyoProps['onButtonClick'] =\n (debugDialog\n ? (event) => {\n if (event.shiftKey && event.altKey) {\n setDebugDialogOpen(true)\n } else if (href) {\n window.open(href)\n }\n }\n : undefined) ?? onButtonClick\n\n const activeHref = activeOnButtonClick ? undefined : href\n\n const onKeyDownEscListener = (event: KeyboardEvent<HTMLDivElement>) => {\n if (event.key === 'Escape' && debugDialogOpen) {\n setDebugDialogOpen(false)\n }\n }\n\n useAsyncEffect(\n // eslint-disable-next-line react-hooks/exhaustive-deps\n async () => {\n const activeNode = propNode ?? node\n if (disableAnimation) {\n return\n } else if (activeNode) {\n const mods = await activeNode?.resolve()\n mods?.map((mod) => {\n mod.on('moduleBusy', ({ module, busy }) => {\n busyMap[(module as Module).address] = busy\n if (autoStop) {\n forget(\n (async () => {\n await delay(1000)\n busyMap[(module as Module).address] = false\n })(),\n )\n }\n })\n })\n activeNode?.on('moduleBusy', ({ module, busy }) => {\n busyMap[(module as Module).address] = busy\n if (autoStop) {\n forget(\n (async () => {\n await delay(1000)\n busyMap[(module as Module).address] = false\n })(),\n )\n }\n })\n }\n },\n [disableAnimation, propNode, node, busyMap, autoStop],\n )\n\n return (\n <FlexCol alignItems=\"stretch\" position=\"absolute\" bottom=\"0\" left=\"0\" {...props}>\n <Paper sx={{ borderRadius: 0 }}>\n <PoweredByXyoButton\n onClick={activeOnButtonClick}\n href={activeHref}\n busy={activeBusy}\n logoHeight={logoHeight}\n logoTextSize={logoTextSize}\n fullWidth\n {...buttonProps}\n />\n </Paper>\n {debugDialog ? (\n <DebugDialog fullScreen open={debugDialogOpen} onClose={() => setDebugDialogOpen(false)} onKeyDown={onKeyDownEscListener} />\n ) : null}\n </FlexCol>\n )\n}\n"],"mappings":"AAyGI,SAEI,KAFJ;AAzGJ,SAAS,aAAa;AACtB,SAAS,aAAa;AACtB,SAAS,cAAc;AACvB,SAAS,sBAAsB;AAE/B,SAAuB,eAAe;AAGtC,SAAS,uBAAuB;AAChC,SAAwB,SAAS,gBAAgB;AAEjD,SAAS,mBAAmB;AAC5B,SAAS,0BAAmD;AAerD,MAAM,eAA4C,CAAC;AAAA,EACxD;AAAA,EACA;AAAA,EACA,cAAc,CAAC;AAAA,EACf,cAAc;AAAA,EACd,mBAAmB;AAAA,EACnB,OAAO;AAAA,EACP;AAAA,EACA;AAAA,EACA;AAAA,EACA,MAAM;AAAA,EACN,GAAG;AACL,MAAM;AACJ,QAAM,CAAC,IAAI,IAAI,gBAAgB;AAC/B,QAAM,CAAC,iBAAiB,kBAAkB,IAAI,SAAS,KAAK;AAG5D,QAAM,UAAmC,QAAQ,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC;AAEnE,QAAM,aAAa,QAAQ,OAAO,OAAO,OAAO,EAAE,OAAO,CAAC,MAAM,UAAU,QAAQ,OAAO,KAAK;AAE9F,QAAM,uBACH,cACG,CAAC,UAAU;AACT,QAAI,MAAM,YAAY,MAAM,QAAQ;AAClC,yBAAmB,IAAI;AAAA,IACzB,WAAW,MAAM;AACf,aAAO,KAAK,IAAI;AAAA,IAClB;AAAA,EACF,IACA,WAAc;AAEpB,QAAM,aAAa,sBAAsB,SAAY;AAErD,QAAM,uBAAuB,CAAC,UAAyC;AACrE,QAAI,MAAM,QAAQ,YAAY,iBAAiB;AAC7C,yBAAmB,KAAK;AAAA,IAC1B;AAAA,EACF;AAEA;AAAA;AAAA,IAEE,YAAY;AACV,YAAM,aAAa,YAAY;AAC/B,UAAI,kBAAkB;AACpB;AAAA,MACF,WAAW,YAAY;AACrB,cAAM,OAAO,MAAM,YAAY,QAAQ;AACvC,cAAM,IAAI,CAAC,QAAQ;AACjB,cAAI,GAAG,cAAc,CAAC,EAAE,QAAQ,MAAAA,MAAK,MAAM;AACzC,oBAAS,OAAkB,OAAO,IAAIA;AACtC,gBAAI,UAAU;AACZ;AAAA,iBACG,YAAY;AACX,wBAAM,MAAM,GAAI;AAChB,0BAAS,OAAkB,OAAO,IAAI;AAAA,gBACxC,GAAG;AAAA,cACL;AAAA,YACF;AAAA,UACF,CAAC;AAAA,QACH,CAAC;AACD,oBAAY,GAAG,cAAc,CAAC,EAAE,QAAQ,MAAAA,MAAK,MAAM;AACjD,kBAAS,OAAkB,OAAO,IAAIA;AACtC,cAAI,UAAU;AACZ;AAAA,eACG,YAAY;AACX,sBAAM,MAAM,GAAI;AAChB,wBAAS,OAAkB,OAAO,IAAI;AAAA,cACxC,GAAG;AAAA,YACL;AAAA,UACF;AAAA,QACF,CAAC;AAAA,MACH;AAAA,IACF;AAAA,IACA,CAAC,kBAAkB,UAAU,MAAM,SAAS,QAAQ;AAAA,EACtD;AAEA,SACE,qBAAC,WAAQ,YAAW,WAAU,UAAS,YAAW,QAAO,KAAI,MAAK,KAAK,GAAG,OACxE;AAAA,wBAAC,SAAM,IAAI,EAAE,cAAc,EAAE,GAC3B;AAAA,MAAC;AAAA;AAAA,QACC,SAAS;AAAA,QACT,MAAM;AAAA,QACN,MAAM;AAAA,QACN;AAAA,QACA;AAAA,QACA,WAAS;AAAA,QACR,GAAG;AAAA;AAAA,IACN,GACF;AAAA,IACC,cACC,oBAAC,eAAY,YAAU,MAAC,MAAM,iBAAiB,SAAS,MAAM,mBAAmB,KAAK,GAAG,WAAW,sBAAsB,IACxH;AAAA,KACN;AAEJ;","names":["busy"]}
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import { ButtonExProps } from '@xylabs/react-button';
3
+ export interface PoweredByXyoButtonProps extends ButtonExProps {
4
+ busy?: boolean;
5
+ logoHeight?: number;
6
+ logoTextSize?: number;
7
+ }
8
+ export declare const PoweredByXyoButton: React.FC<PoweredByXyoButtonProps>;
9
+ //# sourceMappingURL=PoweredByXyoButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PoweredByXyoButton.d.ts","sourceRoot":"","sources":["../../../src/components/PoweredByXyoButton.tsx"],"names":[],"mappings":";AACA,OAAO,EAAY,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAO9D,MAAM,WAAW,uBAAwB,SAAQ,aAAa;IAC5D,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAED,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CA4BhE,CAAA"}
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import { ButtonExProps } from '@xylabs/react-button';
3
+ export interface PoweredByXyoButtonProps extends ButtonExProps {
4
+ busy?: boolean;
5
+ logoHeight?: number;
6
+ logoTextSize?: number;
7
+ }
8
+ export declare const PoweredByXyoButton: React.FC<PoweredByXyoButtonProps>;
9
+ //# sourceMappingURL=PoweredByXyoButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PoweredByXyoButton.d.ts","sourceRoot":"","sources":["../../../src/components/PoweredByXyoButton.tsx"],"names":[],"mappings":";AACA,OAAO,EAAY,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAO9D,MAAM,WAAW,uBAAwB,SAAQ,aAAa;IAC5D,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAED,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CA4BhE,CAAA"}
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var PoweredByXyoButton_exports = {};
20
+ __export(PoweredByXyoButton_exports, {
21
+ PoweredByXyoButton: () => PoweredByXyoButton
22
+ });
23
+ module.exports = __toCommonJS(PoweredByXyoButton_exports);
24
+ var import_jsx_runtime = require("react/jsx-runtime");
25
+ var import_material = require("@mui/material");
26
+ var import_react_button = require("@xylabs/react-button");
27
+ var import_react_flexbox = require("@xylabs/react-flexbox");
28
+ var import_react = require("react");
29
+ var import_img = require("../img");
30
+ var import_XyoBusy = require("./XyoBusy");
31
+ const PoweredByXyoButton = ({
32
+ busy = false,
33
+ href,
34
+ logoHeight,
35
+ logoTextSize,
36
+ sx,
37
+ target = "_blank",
38
+ variant = "text",
39
+ ...props
40
+ }) => {
41
+ const [imageLoaded, setImageLoaded] = (0, import_react.useState)(false);
42
+ const img = new Image();
43
+ img.onload = () => setImageLoaded(true);
44
+ img.src = import_img.xyoColorLogoText;
45
+ return imageLoaded ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_button.ButtonEx, { href, target, variant, sx: { borderRadius: 0, padding: 0, ...sx }, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_react_flexbox.FlexCol, { padding: 0.5, children: [
46
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_material.Typography, { style: { fontSize: logoTextSize ?? 10 }, fontSize: "small", children: "Powered by" }),
47
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_react_flexbox.FlexRow, { children: [
48
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_XyoBusy.XyoBusy, { busy }),
49
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("img", { src: import_img.xyoColorLogoText, height: logoHeight ?? 24, width: 45 })
50
+ ] })
51
+ ] }) }) : null;
52
+ };
53
+ // Annotate the CommonJS export names for ESM import in node:
54
+ 0 && (module.exports = {
55
+ PoweredByXyoButton
56
+ });
57
+ //# sourceMappingURL=PoweredByXyoButton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/components/PoweredByXyoButton.tsx"],"sourcesContent":["import { Typography } from '@mui/material'\nimport { ButtonEx, ButtonExProps } from '@xylabs/react-button'\nimport { FlexCol, FlexRow } from '@xylabs/react-flexbox'\nimport { useState } from 'react'\n\nimport { xyoColorLogoText } from '../img'\nimport { XyoBusy } from './XyoBusy'\n\nexport interface PoweredByXyoButtonProps extends ButtonExProps {\n busy?: boolean\n logoHeight?: number\n logoTextSize?: number\n}\n\nexport const PoweredByXyoButton: React.FC<PoweredByXyoButtonProps> = ({\n busy = false,\n href,\n logoHeight,\n logoTextSize,\n sx,\n target = '_blank',\n variant = 'text',\n ...props\n}) => {\n //preloading image to prevent shifting\n const [imageLoaded, setImageLoaded] = useState(false)\n const img = new Image()\n img.onload = () => setImageLoaded(true)\n img.src = xyoColorLogoText\n return imageLoaded ? (\n <ButtonEx href={href} target={target} variant={variant} sx={{ borderRadius: 0, padding: 0, ...sx }} {...props}>\n <FlexCol padding={0.5}>\n <Typography style={{ fontSize: logoTextSize ?? 10 }} fontSize=\"small\">\n Powered by\n </Typography>\n <FlexRow>\n <XyoBusy busy={busy} />\n <img src={xyoColorLogoText} height={logoHeight ?? 24} width={45} />\n </FlexRow>\n </FlexCol>\n </ButtonEx>\n ) : null\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAgCQ;AAhCR,sBAA2B;AAC3B,0BAAwC;AACxC,2BAAiC;AACjC,mBAAyB;AAEzB,iBAAiC;AACjC,qBAAwB;AAQjB,MAAM,qBAAwD,CAAC;AAAA,EACpE,OAAO;AAAA,EACP;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,SAAS;AAAA,EACT,UAAU;AAAA,EACV,GAAG;AACL,MAAM;AAEJ,QAAM,CAAC,aAAa,cAAc,QAAI,uBAAS,KAAK;AACpD,QAAM,MAAM,IAAI,MAAM;AACtB,MAAI,SAAS,MAAM,eAAe,IAAI;AACtC,MAAI,MAAM;AACV,SAAO,cACL,4CAAC,gCAAS,MAAY,QAAgB,SAAkB,IAAI,EAAE,cAAc,GAAG,SAAS,GAAG,GAAG,GAAG,GAAI,GAAG,OACtG,uDAAC,gCAAQ,SAAS,KAChB;AAAA,gDAAC,8BAAW,OAAO,EAAE,UAAU,gBAAgB,GAAG,GAAG,UAAS,SAAQ,wBAEtE;AAAA,IACA,6CAAC,gCACC;AAAA,kDAAC,0BAAQ,MAAY;AAAA,MACrB,4CAAC,SAAI,KAAK,6BAAkB,QAAQ,cAAc,IAAI,OAAO,IAAI;AAAA,OACnE;AAAA,KACF,GACF,IACE;AACN;","names":[]}
@@ -0,0 +1,33 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ import { Typography } from "@mui/material";
3
+ import { ButtonEx } from "@xylabs/react-button";
4
+ import { FlexCol, FlexRow } from "@xylabs/react-flexbox";
5
+ import { useState } from "react";
6
+ import { xyoColorLogoText } from "../img";
7
+ import { XyoBusy } from "./XyoBusy";
8
+ const PoweredByXyoButton = ({
9
+ busy = false,
10
+ href,
11
+ logoHeight,
12
+ logoTextSize,
13
+ sx,
14
+ target = "_blank",
15
+ variant = "text",
16
+ ...props
17
+ }) => {
18
+ const [imageLoaded, setImageLoaded] = useState(false);
19
+ const img = new Image();
20
+ img.onload = () => setImageLoaded(true);
21
+ img.src = xyoColorLogoText;
22
+ return imageLoaded ? /* @__PURE__ */ jsx(ButtonEx, { href, target, variant, sx: { borderRadius: 0, padding: 0, ...sx }, ...props, children: /* @__PURE__ */ jsxs(FlexCol, { padding: 0.5, children: [
23
+ /* @__PURE__ */ jsx(Typography, { style: { fontSize: logoTextSize ?? 10 }, fontSize: "small", children: "Powered by" }),
24
+ /* @__PURE__ */ jsxs(FlexRow, { children: [
25
+ /* @__PURE__ */ jsx(XyoBusy, { busy }),
26
+ /* @__PURE__ */ jsx("img", { src: xyoColorLogoText, height: logoHeight ?? 24, width: 45 })
27
+ ] })
28
+ ] }) }) : null;
29
+ };
30
+ export {
31
+ PoweredByXyoButton
32
+ };
33
+ //# sourceMappingURL=PoweredByXyoButton.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/components/PoweredByXyoButton.tsx"],"sourcesContent":["import { Typography } from '@mui/material'\nimport { ButtonEx, ButtonExProps } from '@xylabs/react-button'\nimport { FlexCol, FlexRow } from '@xylabs/react-flexbox'\nimport { useState } from 'react'\n\nimport { xyoColorLogoText } from '../img'\nimport { XyoBusy } from './XyoBusy'\n\nexport interface PoweredByXyoButtonProps extends ButtonExProps {\n busy?: boolean\n logoHeight?: number\n logoTextSize?: number\n}\n\nexport const PoweredByXyoButton: React.FC<PoweredByXyoButtonProps> = ({\n busy = false,\n href,\n logoHeight,\n logoTextSize,\n sx,\n target = '_blank',\n variant = 'text',\n ...props\n}) => {\n //preloading image to prevent shifting\n const [imageLoaded, setImageLoaded] = useState(false)\n const img = new Image()\n img.onload = () => setImageLoaded(true)\n img.src = xyoColorLogoText\n return imageLoaded ? (\n <ButtonEx href={href} target={target} variant={variant} sx={{ borderRadius: 0, padding: 0, ...sx }} {...props}>\n <FlexCol padding={0.5}>\n <Typography style={{ fontSize: logoTextSize ?? 10 }} fontSize=\"small\">\n Powered by\n </Typography>\n <FlexRow>\n <XyoBusy busy={busy} />\n <img src={xyoColorLogoText} height={logoHeight ?? 24} width={45} />\n </FlexRow>\n </FlexCol>\n </ButtonEx>\n ) : null\n}\n"],"mappings":"AAgCQ,cAGA,YAHA;AAhCR,SAAS,kBAAkB;AAC3B,SAAS,gBAA+B;AACxC,SAAS,SAAS,eAAe;AACjC,SAAS,gBAAgB;AAEzB,SAAS,wBAAwB;AACjC,SAAS,eAAe;AAQjB,MAAM,qBAAwD,CAAC;AAAA,EACpE,OAAO;AAAA,EACP;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,SAAS;AAAA,EACT,UAAU;AAAA,EACV,GAAG;AACL,MAAM;AAEJ,QAAM,CAAC,aAAa,cAAc,IAAI,SAAS,KAAK;AACpD,QAAM,MAAM,IAAI,MAAM;AACtB,MAAI,SAAS,MAAM,eAAe,IAAI;AACtC,MAAI,MAAM;AACV,SAAO,cACL,oBAAC,YAAS,MAAY,QAAgB,SAAkB,IAAI,EAAE,cAAc,GAAG,SAAS,GAAG,GAAG,GAAG,GAAI,GAAG,OACtG,+BAAC,WAAQ,SAAS,KAChB;AAAA,wBAAC,cAAW,OAAO,EAAE,UAAU,gBAAgB,GAAG,GAAG,UAAS,SAAQ,wBAEtE;AAAA,IACA,qBAAC,WACC;AAAA,0BAAC,WAAQ,MAAY;AAAA,MACrB,oBAAC,SAAI,KAAK,kBAAkB,QAAQ,cAAc,IAAI,OAAO,IAAI;AAAA,OACnE;AAAA,KACF,GACF,IACE;AACN;","names":[]}
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { SentinelInstance } from '@xyo-network/sentinel';
3
+ import { ModuleSummaryProps } from './ModuleSummary';
4
+ export declare const SentinelSummary: React.FC<ModuleSummaryProps<SentinelInstance>>;
5
+ //# sourceMappingURL=SentinelSummary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SentinelSummary.d.ts","sourceRoot":"","sources":["../../../src/components/SentinelSummary.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAExD,OAAO,EAAiB,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAEnE,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,CAE1E,CAAA"}
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { SentinelInstance } from '@xyo-network/sentinel';
3
+ import { ModuleSummaryProps } from './ModuleSummary';
4
+ export declare const SentinelSummary: React.FC<ModuleSummaryProps<SentinelInstance>>;
5
+ //# sourceMappingURL=SentinelSummary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SentinelSummary.d.ts","sourceRoot":"","sources":["../../../src/components/SentinelSummary.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAExD,OAAO,EAAiB,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAEnE,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,CAE1E,CAAA"}