@powerhousedao/design-system 6.0.0-dev.15 → 6.0.0-dev.151

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 (336) hide show
  1. package/README.md +4 -1
  2. package/dist/src/connect/components/animated-loader/animated-loader.js +1 -1
  3. package/dist/src/connect/components/animated-loader/animated-loader.js.map +1 -1
  4. package/dist/src/connect/components/breadcrumbs/useBreadcrumbs.d.ts +1 -1
  5. package/dist/src/connect/components/breadcrumbs/useBreadcrumbs.d.ts.map +1 -1
  6. package/dist/src/connect/components/cookie-banner/cookie-banner.d.ts.map +1 -1
  7. package/dist/src/connect/components/cookie-banner/cookie-banner.js.map +1 -1
  8. package/dist/src/connect/components/document-timeline/components/timeline-bar.d.ts.map +1 -1
  9. package/dist/src/connect/components/document-timeline/components/timeline-bar.js.map +1 -1
  10. package/dist/src/connect/components/document-toolbar/document-toolbar.d.ts +1 -1
  11. package/dist/src/connect/components/document-toolbar/document-toolbar.d.ts.map +1 -1
  12. package/dist/src/connect/components/document-toolbar/document-toolbar.js +2 -2
  13. package/dist/src/connect/components/document-toolbar/document-toolbar.js.map +1 -1
  14. package/dist/src/connect/components/document-toolbar/utils/use-document-undo-redo.js +1 -1
  15. package/dist/src/connect/components/document-toolbar/utils/use-document-undo-redo.js.map +1 -1
  16. package/dist/src/connect/components/drop-zone/drop-zone.d.ts +1 -1
  17. package/dist/src/connect/components/drop-zone/drop-zone.d.ts.map +1 -1
  18. package/dist/src/connect/components/drop-zone/upload-file-list-container.d.ts +1 -1
  19. package/dist/src/connect/components/drop-zone/upload-file-list-container.d.ts.map +1 -1
  20. package/dist/src/connect/components/drop-zone/use-upload-tracker.d.ts +1 -1
  21. package/dist/src/connect/components/drop-zone/use-upload-tracker.d.ts.map +1 -1
  22. package/dist/src/connect/components/drop-zone/use-upload-tracker.js +4 -0
  23. package/dist/src/connect/components/drop-zone/use-upload-tracker.js.map +1 -1
  24. package/dist/src/connect/components/drop-zone/utils.d.ts +1 -1
  25. package/dist/src/connect/components/drop-zone/utils.d.ts.map +1 -1
  26. package/dist/src/connect/components/ens-avatar/ens-avatar.js +1 -1
  27. package/dist/src/connect/components/ens-avatar/ens-avatar.js.map +1 -1
  28. package/dist/src/connect/components/file-item/file-item.d.ts +1 -1
  29. package/dist/src/connect/components/file-item/file-item.d.ts.map +1 -1
  30. package/dist/src/connect/components/file-item/file-item.js +16 -2
  31. package/dist/src/connect/components/file-item/file-item.js.map +1 -1
  32. package/dist/src/connect/components/folder-item/folder-item.d.ts +1 -1
  33. package/dist/src/connect/components/folder-item/folder-item.d.ts.map +1 -1
  34. package/dist/src/connect/components/folder-item/folder-item.js +1 -1
  35. package/dist/src/connect/components/folder-item/folder-item.js.map +1 -1
  36. package/dist/src/connect/components/folder-item/folder-item.stories.d.ts.map +1 -1
  37. package/dist/src/connect/components/form/add-local-drive-form.d.ts +3 -10
  38. package/dist/src/connect/components/form/add-local-drive-form.d.ts.map +1 -1
  39. package/dist/src/connect/components/form/add-local-drive-form.js +2 -2
  40. package/dist/src/connect/components/form/add-local-drive-form.js.map +1 -1
  41. package/dist/src/connect/components/form/add-local-drive-form.stories.d.ts.map +1 -1
  42. package/dist/src/connect/components/form/add-local-drive-form.stories.js +6 -3
  43. package/dist/src/connect/components/form/add-local-drive-form.stories.js.map +1 -1
  44. package/dist/src/connect/components/form/add-remote-drive-form.d.ts +1 -1
  45. package/dist/src/connect/components/form/add-remote-drive-form.d.ts.map +1 -1
  46. package/dist/src/connect/components/form/drive-settings-form.d.ts +2 -1
  47. package/dist/src/connect/components/form/drive-settings-form.d.ts.map +1 -1
  48. package/dist/src/connect/components/form/drive-settings-form.js.map +1 -1
  49. package/dist/src/connect/components/form/drive-settings-form.stories.d.ts.map +1 -1
  50. package/dist/src/connect/components/form/inputs/app-form-input.d.ts +5 -9
  51. package/dist/src/connect/components/form/inputs/app-form-input.d.ts.map +1 -1
  52. package/dist/src/connect/components/form/inputs/app-form-input.js +1 -1
  53. package/dist/src/connect/components/form/inputs/app-form-input.js.map +1 -1
  54. package/dist/src/connect/components/form/inputs/delete-drive.d.ts +1 -1
  55. package/dist/src/connect/components/form/inputs/delete-drive.d.ts.map +1 -1
  56. package/dist/src/connect/components/form/inputs/sharing-type-form-input.d.ts +1 -1
  57. package/dist/src/connect/components/form/inputs/sharing-type-form-input.d.ts.map +1 -1
  58. package/dist/src/connect/components/home-screen/home-background-image.d.ts.map +1 -1
  59. package/dist/src/connect/components/home-screen/home-background-image.js +2 -2
  60. package/dist/src/connect/components/home-screen/home-background-image.js.map +1 -1
  61. package/dist/src/connect/components/index.d.ts +5 -0
  62. package/dist/src/connect/components/index.d.ts.map +1 -1
  63. package/dist/src/connect/components/index.js +4 -0
  64. package/dist/src/connect/components/index.js.map +1 -1
  65. package/dist/src/connect/components/integrity-inspector/index.d.ts +2 -0
  66. package/dist/src/connect/components/integrity-inspector/index.d.ts.map +1 -0
  67. package/dist/src/connect/components/integrity-inspector/index.js +2 -0
  68. package/dist/src/connect/components/integrity-inspector/index.js.map +1 -0
  69. package/dist/src/connect/components/integrity-inspector/integrity-inspector.d.ts +8 -0
  70. package/dist/src/connect/components/integrity-inspector/integrity-inspector.d.ts.map +1 -0
  71. package/dist/src/connect/components/integrity-inspector/integrity-inspector.js +90 -0
  72. package/dist/src/connect/components/integrity-inspector/integrity-inspector.js.map +1 -0
  73. package/dist/src/connect/components/modal/add-drive-modal/add-drive-modal.d.ts +3 -5
  74. package/dist/src/connect/components/modal/add-drive-modal/add-drive-modal.d.ts.map +1 -1
  75. package/dist/src/connect/components/modal/add-drive-modal/add-drive-modal.js +4 -2
  76. package/dist/src/connect/components/modal/add-drive-modal/add-drive-modal.js.map +1 -1
  77. package/dist/src/connect/components/modal/add-drive-modal/add-drive-modal.stories.d.ts.map +1 -1
  78. package/dist/src/connect/components/modal/add-drive-modal/add-drive-modal.stories.js +6 -3
  79. package/dist/src/connect/components/modal/add-drive-modal/add-drive-modal.stories.js.map +1 -1
  80. package/dist/src/connect/components/modal/add-local-drive-modal.d.ts +3 -5
  81. package/dist/src/connect/components/modal/add-local-drive-modal.d.ts.map +1 -1
  82. package/dist/src/connect/components/modal/add-local-drive-modal.js +1 -1
  83. package/dist/src/connect/components/modal/add-local-drive-modal.js.map +1 -1
  84. package/dist/src/connect/components/modal/add-local-drive-modal.stories.d.ts.map +1 -1
  85. package/dist/src/connect/components/modal/add-local-drive-modal.stories.js +6 -3
  86. package/dist/src/connect/components/modal/add-local-drive-modal.stories.js.map +1 -1
  87. package/dist/src/connect/components/modal/add-remote-drive-modal.d.ts +1 -1
  88. package/dist/src/connect/components/modal/add-remote-drive-modal.d.ts.map +1 -1
  89. package/dist/src/connect/components/modal/create-document-modal.js +1 -1
  90. package/dist/src/connect/components/modal/create-document-modal.js.map +1 -1
  91. package/dist/src/connect/components/modal/delete-item-modal.d.ts.map +1 -1
  92. package/dist/src/connect/components/modal/delete-item-modal.js.map +1 -1
  93. package/dist/src/connect/components/modal/drive-settings-modal.d.ts +2 -1
  94. package/dist/src/connect/components/modal/drive-settings-modal.d.ts.map +1 -1
  95. package/dist/src/connect/components/modal/drive-settings-modal.js.map +1 -1
  96. package/dist/src/connect/components/modal/drive-settings-modal.stories.d.ts.map +1 -1
  97. package/dist/src/connect/components/modal/drive-settings-modal.stories.js.map +1 -1
  98. package/dist/src/connect/components/modal/index.d.ts +1 -0
  99. package/dist/src/connect/components/modal/index.d.ts.map +1 -1
  100. package/dist/src/connect/components/modal/index.js +1 -0
  101. package/dist/src/connect/components/modal/index.js.map +1 -1
  102. package/dist/src/connect/components/modal/inspector-modal/inspector-modal.d.ts +8 -2
  103. package/dist/src/connect/components/modal/inspector-modal/inspector-modal.d.ts.map +1 -1
  104. package/dist/src/connect/components/modal/inspector-modal/inspector-modal.js +6 -2
  105. package/dist/src/connect/components/modal/inspector-modal/inspector-modal.js.map +1 -1
  106. package/dist/src/connect/components/modal/inspector-modal/inspector-modal.stories.js +4 -4
  107. package/dist/src/connect/components/modal/inspector-modal/inspector-modal.stories.js.map +1 -1
  108. package/dist/src/connect/components/modal/missing-package-modal.d.ts +13 -0
  109. package/dist/src/connect/components/modal/missing-package-modal.d.ts.map +1 -0
  110. package/dist/src/connect/components/modal/missing-package-modal.js +57 -0
  111. package/dist/src/connect/components/modal/missing-package-modal.js.map +1 -0
  112. package/dist/src/connect/components/modal/settings-modal/dependency-versions/dependency-versions.d.ts.map +1 -1
  113. package/dist/src/connect/components/modal/settings-modal/dependency-versions/dependency-versions.js +14 -23
  114. package/dist/src/connect/components/modal/settings-modal/dependency-versions/dependency-versions.js.map +1 -1
  115. package/dist/src/connect/components/modal/settings-modal/document-select-row.d.ts.map +1 -1
  116. package/dist/src/connect/components/modal/settings-modal/document-select-row.js.map +1 -1
  117. package/dist/src/connect/components/modal/settings-modal-v2/danger-zone.d.ts +1 -1
  118. package/dist/src/connect/components/modal/settings-modal-v2/danger-zone.d.ts.map +1 -1
  119. package/dist/src/connect/components/modal/settings-modal-v2/danger-zone.js +17 -3
  120. package/dist/src/connect/components/modal/settings-modal-v2/danger-zone.js.map +1 -1
  121. package/dist/src/connect/components/modal/settings-modal-v2/danger-zone.stories.d.ts.map +1 -1
  122. package/dist/src/connect/components/modal/settings-modal-v2/danger-zone.stories.js.map +1 -1
  123. package/dist/src/connect/components/modal/settings-modal-v2/index.d.ts +1 -1
  124. package/dist/src/connect/components/modal/settings-modal-v2/index.d.ts.map +1 -1
  125. package/dist/src/connect/components/modal/settings-modal-v2/index.js +1 -1
  126. package/dist/src/connect/components/modal/settings-modal-v2/index.js.map +1 -1
  127. package/dist/src/connect/components/modal/settings-modal-v2/mocks.d.ts +2 -14
  128. package/dist/src/connect/components/modal/settings-modal-v2/mocks.d.ts.map +1 -1
  129. package/dist/src/connect/components/modal/settings-modal-v2/mocks.js +145 -47
  130. package/dist/src/connect/components/modal/settings-modal-v2/mocks.js.map +1 -1
  131. package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-input.d.ts +4 -3
  132. package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-input.d.ts.map +1 -1
  133. package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-input.js +19 -57
  134. package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-input.js.map +1 -1
  135. package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-list.d.ts +11 -22
  136. package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-list.d.ts.map +1 -1
  137. package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-list.js +54 -19
  138. package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-list.js.map +1 -1
  139. package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager.d.ts +9 -4
  140. package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager.d.ts.map +1 -1
  141. package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager.js +2 -5
  142. package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager.js.map +1 -1
  143. package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager.stories.d.ts +2 -4
  144. package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager.stories.d.ts.map +1 -1
  145. package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager.stories.js +16 -24
  146. package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager.stories.js.map +1 -1
  147. package/dist/src/connect/components/modal/settings-modal-v2/package-manager/types.d.ts +8 -0
  148. package/dist/src/connect/components/modal/settings-modal-v2/package-manager/types.d.ts.map +1 -0
  149. package/dist/src/connect/components/modal/settings-modal-v2/package-manager/types.js +2 -0
  150. package/dist/src/connect/components/modal/settings-modal-v2/package-manager/types.js.map +1 -0
  151. package/dist/src/connect/components/modal/settings-modal-v2/settings-modal.stories.d.ts.map +1 -1
  152. package/dist/src/connect/components/modal/settings-modal-v2/settings-modal.stories.js +1 -2
  153. package/dist/src/connect/components/modal/settings-modal-v2/settings-modal.stories.js.map +1 -1
  154. package/dist/src/connect/components/object-inspector-modal/index.d.ts +2 -0
  155. package/dist/src/connect/components/object-inspector-modal/index.d.ts.map +1 -0
  156. package/dist/src/connect/components/object-inspector-modal/index.js +2 -0
  157. package/dist/src/connect/components/object-inspector-modal/index.js.map +1 -0
  158. package/dist/src/connect/components/object-inspector-modal/object-inspector-modal.d.ts +8 -0
  159. package/dist/src/connect/components/object-inspector-modal/object-inspector-modal.d.ts.map +1 -0
  160. package/dist/src/connect/components/object-inspector-modal/object-inspector-modal.js +26 -0
  161. package/dist/src/connect/components/object-inspector-modal/object-inspector-modal.js.map +1 -0
  162. package/dist/src/connect/components/processors-inspector/index.d.ts +2 -0
  163. package/dist/src/connect/components/processors-inspector/index.d.ts.map +1 -0
  164. package/dist/src/connect/components/processors-inspector/index.js +2 -0
  165. package/dist/src/connect/components/processors-inspector/index.js.map +1 -0
  166. package/dist/src/connect/components/processors-inspector/processors-inspector.d.ts +16 -0
  167. package/dist/src/connect/components/processors-inspector/processors-inspector.d.ts.map +1 -0
  168. package/dist/src/connect/components/processors-inspector/processors-inspector.js +128 -0
  169. package/dist/src/connect/components/processors-inspector/processors-inspector.js.map +1 -0
  170. package/dist/src/connect/components/queue-inspector/index.d.ts +2 -0
  171. package/dist/src/connect/components/queue-inspector/index.d.ts.map +1 -0
  172. package/dist/src/connect/components/queue-inspector/index.js +2 -0
  173. package/dist/src/connect/components/queue-inspector/index.js.map +1 -0
  174. package/dist/src/connect/components/queue-inspector/queue-inspector.d.ts +15 -0
  175. package/dist/src/connect/components/queue-inspector/queue-inspector.d.ts.map +1 -0
  176. package/dist/src/connect/components/queue-inspector/queue-inspector.js +132 -0
  177. package/dist/src/connect/components/queue-inspector/queue-inspector.js.map +1 -0
  178. package/dist/src/connect/components/remotes-inspector/components/channel-inspector.d.ts +4 -2
  179. package/dist/src/connect/components/remotes-inspector/components/channel-inspector.d.ts.map +1 -1
  180. package/dist/src/connect/components/remotes-inspector/components/channel-inspector.js +89 -3
  181. package/dist/src/connect/components/remotes-inspector/components/channel-inspector.js.map +1 -1
  182. package/dist/src/connect/components/remotes-inspector/components/channel-inspector.stories.d.ts.map +1 -1
  183. package/dist/src/connect/components/remotes-inspector/components/channel-inspector.stories.js +23 -7
  184. package/dist/src/connect/components/remotes-inspector/components/channel-inspector.stories.js.map +1 -1
  185. package/dist/src/connect/components/remotes-inspector/components/connection-state-badge.d.ts +6 -0
  186. package/dist/src/connect/components/remotes-inspector/components/connection-state-badge.d.ts.map +1 -0
  187. package/dist/src/connect/components/remotes-inspector/components/connection-state-badge.js +14 -0
  188. package/dist/src/connect/components/remotes-inspector/components/connection-state-badge.js.map +1 -0
  189. package/dist/src/connect/components/remotes-inspector/components/mailbox-table.d.ts +1 -1
  190. package/dist/src/connect/components/remotes-inspector/components/mailbox-table.d.ts.map +1 -1
  191. package/dist/src/connect/components/remotes-inspector/components/mailbox-table.js +30 -8
  192. package/dist/src/connect/components/remotes-inspector/components/mailbox-table.js.map +1 -1
  193. package/dist/src/connect/components/remotes-inspector/index.d.ts +1 -0
  194. package/dist/src/connect/components/remotes-inspector/index.d.ts.map +1 -1
  195. package/dist/src/connect/components/remotes-inspector/index.js +1 -0
  196. package/dist/src/connect/components/remotes-inspector/index.js.map +1 -1
  197. package/dist/src/connect/components/remotes-inspector/remotes-inspector.d.ts +12 -2
  198. package/dist/src/connect/components/remotes-inspector/remotes-inspector.d.ts.map +1 -1
  199. package/dist/src/connect/components/remotes-inspector/remotes-inspector.js +29 -8
  200. package/dist/src/connect/components/remotes-inspector/remotes-inspector.js.map +1 -1
  201. package/dist/src/connect/components/remotes-inspector/remotes-inspector.stories.d.ts.map +1 -1
  202. package/dist/src/connect/components/remotes-inspector/remotes-inspector.stories.js +58 -6
  203. package/dist/src/connect/components/remotes-inspector/remotes-inspector.stories.js.map +1 -1
  204. package/dist/src/connect/components/revision-history/header/doc-id.d.ts +1 -0
  205. package/dist/src/connect/components/revision-history/header/doc-id.d.ts.map +1 -1
  206. package/dist/src/connect/components/revision-history/header/doc-id.js +6 -2
  207. package/dist/src/connect/components/revision-history/header/doc-id.js.map +1 -1
  208. package/dist/src/connect/components/revision-history/header/header.d.ts +1 -0
  209. package/dist/src/connect/components/revision-history/header/header.d.ts.map +1 -1
  210. package/dist/src/connect/components/revision-history/header/header.js +2 -2
  211. package/dist/src/connect/components/revision-history/header/header.js.map +1 -1
  212. package/dist/src/connect/components/revision-history/mocks.d.ts +3 -3
  213. package/dist/src/connect/components/revision-history/mocks.d.ts.map +1 -1
  214. package/dist/src/connect/components/revision-history/revision-history.d.ts +2 -1
  215. package/dist/src/connect/components/revision-history/revision-history.d.ts.map +1 -1
  216. package/dist/src/connect/components/revision-history/revision-history.js +3 -3
  217. package/dist/src/connect/components/revision-history/revision-history.js.map +1 -1
  218. package/dist/src/connect/components/revision-history/timeline/timeline.d.ts +1 -1
  219. package/dist/src/connect/components/revision-history/timeline/timeline.d.ts.map +1 -1
  220. package/dist/src/connect/components/revision-history/utils.d.ts +1 -1
  221. package/dist/src/connect/components/revision-history/utils.d.ts.map +1 -1
  222. package/dist/src/connect/components/sidebar/sidebar-footer.d.ts.map +1 -1
  223. package/dist/src/connect/components/sidebar/sidebar-footer.js.map +1 -1
  224. package/dist/src/connect/components/sidebar/sidebar-header.d.ts.map +1 -1
  225. package/dist/src/connect/components/sidebar/sidebar-header.js.map +1 -1
  226. package/dist/src/connect/components/sidebar/sidebar-login.js +2 -2
  227. package/dist/src/connect/components/sidebar/sidebar-login.js.map +1 -1
  228. package/dist/src/connect/components/sidebar/sidebar.d.ts.map +1 -1
  229. package/dist/src/connect/components/sidebar/sidebar.js.map +1 -1
  230. package/dist/src/connect/components/sidebar/sidebar.stories.d.ts +1 -1
  231. package/dist/src/connect/components/sidebar/sidebar.stories.d.ts.map +1 -1
  232. package/dist/src/connect/components/sidebar/sidebar.stories.js.map +1 -1
  233. package/dist/src/connect/components/tabs/tab-content.js +1 -1
  234. package/dist/src/connect/components/tabs/tab-content.js.map +1 -1
  235. package/dist/src/connect/components/tabs/tabs.d.ts.map +1 -1
  236. package/dist/src/connect/components/tabs/tabs.js +3 -3
  237. package/dist/src/connect/components/tabs/tabs.js.map +1 -1
  238. package/dist/src/connect/components/toggle/toggle.stories.d.ts +13 -13
  239. package/dist/src/connect/components/types.d.ts +7 -1
  240. package/dist/src/connect/components/types.d.ts.map +1 -1
  241. package/dist/src/connect/constants/icons.js +3 -3
  242. package/dist/src/connect/constants/icons.js.map +1 -1
  243. package/dist/src/connect/constants/options.js +13 -13
  244. package/dist/src/connect/constants/options.js.map +1 -1
  245. package/dist/src/connect/hooks/use-drag.d.ts +1 -1
  246. package/dist/src/connect/hooks/use-drag.d.ts.map +1 -1
  247. package/dist/src/connect/hooks/use-drop.d.ts +1 -1
  248. package/dist/src/connect/hooks/use-drop.d.ts.map +1 -1
  249. package/dist/src/connect/types.d.ts +2 -1
  250. package/dist/src/connect/types.d.ts.map +1 -1
  251. package/dist/src/connect/utils/get-folder-status.d.ts +2 -1
  252. package/dist/src/connect/utils/get-folder-status.d.ts.map +1 -1
  253. package/dist/src/connect/utils/get-folder-status.js.map +1 -1
  254. package/dist/src/powerhouse/components/index.d.ts +1 -0
  255. package/dist/src/powerhouse/components/index.d.ts.map +1 -1
  256. package/dist/src/powerhouse/components/index.js +1 -0
  257. package/dist/src/powerhouse/components/index.js.map +1 -1
  258. package/dist/src/powerhouse/components/package-animation/package-animation.d.ts +9 -0
  259. package/dist/src/powerhouse/components/package-animation/package-animation.d.ts.map +1 -0
  260. package/dist/src/powerhouse/components/package-animation/package-animation.js +75 -0
  261. package/dist/src/powerhouse/components/package-animation/package-animation.js.map +1 -0
  262. package/dist/src/powerhouse/components/package-animation/package-animation.stories.d.ts +13 -0
  263. package/dist/src/powerhouse/components/package-animation/package-animation.stories.d.ts.map +1 -0
  264. package/dist/src/powerhouse/components/package-animation/package-animation.stories.js +209 -0
  265. package/dist/src/powerhouse/components/package-animation/package-animation.stories.js.map +1 -0
  266. package/dist/src/powerhouse/components/pagination/pagination.d.ts.map +1 -1
  267. package/dist/src/powerhouse/components/pagination/pagination.js.map +1 -1
  268. package/dist/src/rwa/types/state.d.ts +1 -1
  269. package/dist/src/rwa/types/state.d.ts.map +1 -1
  270. package/dist/src/rwa/utils/table.d.ts +1 -1
  271. package/dist/src/rwa/utils/table.d.ts.map +1 -1
  272. package/dist/src/ui/components/button/button.d.ts.map +1 -1
  273. package/dist/src/ui/components/button/button.js.map +1 -1
  274. package/dist/src/ui/components/checkbox/checkbox.d.ts.map +1 -1
  275. package/dist/src/ui/components/checkbox/checkbox.js.map +1 -1
  276. package/dist/src/ui/components/form-label/form-label.d.ts.map +1 -1
  277. package/dist/src/ui/components/form-label/form-label.js.map +1 -1
  278. package/dist/src/ui/components/id-autocomplete/id-autocomplete-input-container.d.ts.map +1 -1
  279. package/dist/src/ui/components/id-autocomplete/id-autocomplete-input-container.js.map +1 -1
  280. package/dist/src/ui/components/index.d.ts +1 -0
  281. package/dist/src/ui/components/index.d.ts.map +1 -1
  282. package/dist/src/ui/components/index.js +1 -0
  283. package/dist/src/ui/components/index.js.map +1 -1
  284. package/dist/src/ui/components/json-viewer/json-viewer.d.ts.map +1 -1
  285. package/dist/src/ui/components/json-viewer/json-viewer.js +64 -1
  286. package/dist/src/ui/components/json-viewer/json-viewer.js.map +1 -1
  287. package/dist/src/ui/components/radio-group-field/radio-group.d.ts.map +1 -1
  288. package/dist/src/ui/components/radio-group-field/radio-group.js.map +1 -1
  289. package/dist/src/ui/components/radio-group-field/radio.d.ts.map +1 -1
  290. package/dist/src/ui/components/radio-group-field/radio.js.map +1 -1
  291. package/dist/src/ui/components/search-autocomplete/index.d.ts +4 -0
  292. package/dist/src/ui/components/search-autocomplete/index.d.ts.map +1 -0
  293. package/dist/src/ui/components/search-autocomplete/index.js +3 -0
  294. package/dist/src/ui/components/search-autocomplete/index.js.map +1 -0
  295. package/dist/src/ui/components/search-autocomplete/search-autocomplete.d.ts +4 -0
  296. package/dist/src/ui/components/search-autocomplete/search-autocomplete.d.ts.map +1 -0
  297. package/dist/src/ui/components/search-autocomplete/search-autocomplete.js +52 -0
  298. package/dist/src/ui/components/search-autocomplete/search-autocomplete.js.map +1 -0
  299. package/dist/src/ui/components/search-autocomplete/types.d.ts +20 -0
  300. package/dist/src/ui/components/search-autocomplete/types.d.ts.map +1 -0
  301. package/dist/src/ui/components/search-autocomplete/types.js +2 -0
  302. package/dist/src/ui/components/search-autocomplete/types.js.map +1 -0
  303. package/dist/src/ui/components/search-autocomplete/use-search-autocomplete.d.ts +17 -0
  304. package/dist/src/ui/components/search-autocomplete/use-search-autocomplete.d.ts.map +1 -0
  305. package/dist/src/ui/components/search-autocomplete/use-search-autocomplete.js +78 -0
  306. package/dist/src/ui/components/search-autocomplete/use-search-autocomplete.js.map +1 -0
  307. package/dist/src/ui/components/text-input/text-input.d.ts.map +1 -1
  308. package/dist/src/ui/components/text-input/text-input.js.map +1 -1
  309. package/dist/src/ui/components/tooltip/tooltip.d.ts.map +1 -1
  310. package/dist/src/ui/components/tooltip/tooltip.js.map +1 -1
  311. package/dist/style.css +167 -27
  312. package/dist/tsconfig.tsbuildinfo +1 -1
  313. package/dist/vitest.config.d.ts.map +1 -1
  314. package/dist/vitest.config.js +1 -0
  315. package/dist/vitest.config.js.map +1 -1
  316. package/package.json +32 -53
  317. package/theme.css +1 -1
  318. package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-select.d.ts +0 -9
  319. package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-select.d.ts.map +0 -1
  320. package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-select.js +0 -11
  321. package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-select.js.map +0 -1
  322. /package/{assets → dist/assets}/connect-loader.mp4 +0 -0
  323. /package/{assets → dist/assets}/connect.png +0 -0
  324. /package/{assets → dist/assets}/home-bg.avif +0 -0
  325. /package/{assets → dist/assets}/home-bg.png +0 -0
  326. /package/{assets → dist/assets}/icons/budget.png +0 -0
  327. /package/{assets → dist/assets}/icons/global.png +0 -0
  328. /package/{assets → dist/assets}/icons/legal.png +0 -0
  329. /package/{assets → dist/assets}/icons/profile.png +0 -0
  330. /package/{assets → dist/assets}/icons/rwa-report.png +0 -0
  331. /package/{assets → dist/assets}/icons/template.png +0 -0
  332. /package/{assets → dist/assets}/powerhouse-rounded.png +0 -0
  333. /package/{assets → dist/assets}/renown-hover.png +0 -0
  334. /package/{assets → dist/assets}/renown-short-hover.png +0 -0
  335. /package/{assets → dist/assets}/renown-short.png +0 -0
  336. /package/{assets → dist/assets}/renown.png +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"drive-settings-form.stories.d.ts","sourceRoot":"","sources":["../../../../../src/connect/components/form/drive-settings-form.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,QAAA,MAAM,IAAI;;;CAGgC,CAAC;AAE3C,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAuBrB,CAAC"}
1
+ {"version":3,"file":"drive-settings-form.stories.d.ts","sourceRoot":"","sources":["../../../../../src/connect/components/form/drive-settings-form.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,QAAA,MAAM,IAAI;;;CAGgC,CAAC;AAE3C,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAuBrB,CAAC"}
@@ -1,17 +1,13 @@
1
- import type { App } from "document-model";
1
+ import { type AppOptions } from "@powerhousedao/design-system";
2
2
  import type { ComponentPropsWithRef } from "react";
3
3
  import type { Control } from "react-hook-form";
4
4
  import type { ConnectSelectItem } from "../../select/select.js";
5
5
  import { ConnectSelect } from "../../select/select.js";
6
- export declare function appToInputOption(app: App): ConnectSelectItem<string>;
7
- type AppFormInputProps<T extends {
8
- appId: string;
9
- }> = Omit<ComponentPropsWithRef<typeof ConnectSelect>, "id" | "items" | "value" | "onChange"> & {
6
+ export declare function appToInputOption(app: AppOptions): ConnectSelectItem<string>;
7
+ type AppFormInputProps<T extends AppOptions> = Omit<ComponentPropsWithRef<typeof ConnectSelect>, "id" | "items" | "value" | "onChange"> & {
10
8
  readonly control: Control<T>;
11
- readonly appOptions: App[];
9
+ readonly appOptions: T[];
12
10
  };
13
- export declare function AppFormInput<T extends {
14
- appId: string;
15
- }>(props: AppFormInputProps<T>): import("react/jsx-runtime").JSX.Element;
11
+ export declare function AppFormInput<T extends AppOptions>(props: AppFormInputProps<T>): import("react/jsx-runtime").JSX.Element;
16
12
  export {};
17
13
  //# sourceMappingURL=app-form-input.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app-form-input.d.ts","sourceRoot":"","sources":["../../../../../../src/connect/components/form/inputs/app-form-input.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,KAAK,EAAE,OAAO,EAAQ,MAAM,iBAAiB,CAAC;AAErD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAEvD,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,GAAG,GAAG,iBAAiB,CAAC,MAAM,CAAC,CAOpE;AACD,KAAK,iBAAiB,CAAC,CAAC,SAAS;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,IAAI,IAAI,CACxD,qBAAqB,CAAC,OAAO,aAAa,CAAC,EAC3C,IAAI,GAAG,OAAO,GAAG,OAAO,GAAG,UAAU,CACtC,GAAG;IACF,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;IAC7B,QAAQ,CAAC,UAAU,EAAE,GAAG,EAAE,CAAC;CAC5B,CAAC;AAEF,wBAAgB,YAAY,CAAC,CAAC,SAAS;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,EACtD,KAAK,EAAE,iBAAiB,CAAC,CAAC,CAAC,2CAmB5B"}
1
+ {"version":3,"file":"app-form-input.d.ts","sourceRoot":"","sources":["../../../../../../src/connect/components/form/inputs/app-form-input.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,UAAU,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,KAAK,EAAE,OAAO,EAAQ,MAAM,iBAAiB,CAAC;AAErD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAEvD,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,UAAU,GAAG,iBAAiB,CAAC,MAAM,CAAC,CAO3E;AACD,KAAK,iBAAiB,CAAC,CAAC,SAAS,UAAU,IAAI,IAAI,CACjD,qBAAqB,CAAC,OAAO,aAAa,CAAC,EAC3C,IAAI,GAAG,OAAO,GAAG,OAAO,GAAG,UAAU,CACtC,GAAG;IACF,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;IAC7B,QAAQ,CAAC,UAAU,EAAE,CAAC,EAAE,CAAC;CAC1B,CAAC;AAEF,wBAAgB,YAAY,CAAC,CAAC,SAAS,UAAU,EAC/C,KAAK,EAAE,iBAAiB,CAAC,CAAC,CAAC,2CAc5B"}
@@ -13,6 +13,6 @@ export function appToInputOption(app) {
13
13
  export function AppFormInput(props) {
14
14
  const { control, appOptions, ...delegatedProps } = props;
15
15
  const items = appOptions.map(appToInputOption);
16
- return (_jsx(Controller, { control: control, name: "appId", render: ({ field }) => (_jsx(ConnectSelect, { ...delegatedProps, ...field, id: "appId", items: items })) }));
16
+ return (_jsx(Controller, { control: control, name: "id", render: ({ field }) => (_jsx(ConnectSelect, { ...delegatedProps, ...field, id: "id", items: items })) }));
17
17
  }
18
18
  //# sourceMappingURL=app-form-input.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"app-form-input.js","sourceRoot":"","sources":["../../../../../../src/connect/components/form/inputs/app-form-input.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AAIpD,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAEvD,MAAM,UAAU,gBAAgB,CAAC,GAAQ;IACvC,OAAO;QACL,KAAK,EAAE,GAAG,CAAC,EAAE;QACb,YAAY,EAAE,GAAG,CAAC,IAAI;QACtB,IAAI,EAAE,KAAC,IAAI,IAAC,IAAI,EAAC,qBAAqB,GAAG;QACzC,WAAW,EAAE,qBAAqB;KACnC,CAAC;AACJ,CAAC;AASD,MAAM,UAAU,YAAY,CAC1B,KAA2B;IAE3B,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,GAAG,cAAc,EAAE,GAAG,KAAK,CAAC;IACzD,MAAM,KAAK,GAAG,UAAU,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;IAE/C,OAAO,CACL,KAAC,UAAU,IACT,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,OAAkB,EACxB,MAAM,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CACrB,KAAC,aAAa,OACR,cAAc,KACd,KAAK,EACT,EAAE,EAAC,OAAO,EACV,KAAK,EAAE,KAAK,GACZ,CACH,GACD,CACH,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"app-form-input.js","sourceRoot":"","sources":["../../../../../../src/connect/components/form/inputs/app-form-input.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAmB,MAAM,8BAA8B,CAAC;AAGrE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAEvD,MAAM,UAAU,gBAAgB,CAAC,GAAe;IAC9C,OAAO;QACL,KAAK,EAAE,GAAG,CAAC,EAAE;QACb,YAAY,EAAE,GAAG,CAAC,IAAI;QACtB,IAAI,EAAE,KAAC,IAAI,IAAC,IAAI,EAAC,qBAAqB,GAAG;QACzC,WAAW,EAAE,qBAAqB;KACnC,CAAC;AACJ,CAAC;AASD,MAAM,UAAU,YAAY,CAC1B,KAA2B;IAE3B,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,GAAG,cAAc,EAAE,GAAG,KAAK,CAAC;IACzD,MAAM,KAAK,GAAG,UAAU,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;IAE/C,OAAO,CACL,KAAC,UAAU,IACT,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,IAAe,EACrB,MAAM,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CACrB,KAAC,aAAa,OAAK,cAAc,KAAM,KAAK,EAAE,EAAE,EAAC,IAAI,EAAC,KAAK,EAAE,KAAK,GAAI,CACvE,GACD,CACH,CAAC;AACJ,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { DocumentDriveDocument } from "document-drive";
1
+ import type { DocumentDriveDocument } from "@powerhousedao/shared/document-drive";
2
2
  export type DeleteDriveProps = {
3
3
  drive: DocumentDriveDocument;
4
4
  handleDeleteDrive: () => void;
@@ -1 +1 @@
1
- {"version":3,"file":"delete-drive.d.ts","sourceRoot":"","sources":["../../../../../../src/connect/components/form/inputs/delete-drive.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAI5D,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,EAAE,qBAAqB,CAAC;IAC7B,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAEF,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,2CAuClD"}
1
+ {"version":3,"file":"delete-drive.d.ts","sourceRoot":"","sources":["../../../../../../src/connect/components/form/inputs/delete-drive.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAIlF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,EAAE,qBAAqB,CAAC;IAC7B,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAEF,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,2CAuClD"}
@@ -1,4 +1,4 @@
1
- import type { SharingType } from "document-drive";
1
+ import type { SharingType } from "@powerhousedao/shared/document-drive";
2
2
  import type { ComponentPropsWithRef } from "react";
3
3
  import type { Control } from "react-hook-form";
4
4
  import { ConnectSelect } from "../../select/select.js";
@@ -1 +1 @@
1
- {"version":3,"file":"sharing-type-form-input.d.ts","sourceRoot":"","sources":["../../../../../../src/connect/components/form/inputs/sharing-type-form-input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,KAAK,EAAE,OAAO,EAAQ,MAAM,iBAAiB,CAAC;AAErD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAGvD,KAAK,yBAAyB,CAAC,CAAC,SAAS;IAAE,WAAW,EAAE,WAAW,CAAA;CAAE,IAAI,IAAI,CAC3E,qBAAqB,CAAC,OAAO,aAAa,CAAC,EAC3C,IAAI,GAAG,OAAO,GAAG,OAAO,GAAG,UAAU,CACtC,GAAG;IACF,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;CAC9B,CAAC;AACF,wBAAgB,oBAAoB,CAAC,CAAC,SAAS;IAAE,WAAW,EAAE,WAAW,CAAA;CAAE,EACzE,KAAK,EAAE,yBAAyB,CAAC,CAAC,CAAC,2CAkBpC"}
1
+ {"version":3,"file":"sharing-type-form-input.d.ts","sourceRoot":"","sources":["../../../../../../src/connect/components/form/inputs/sharing-type-form-input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,KAAK,EAAE,OAAO,EAAQ,MAAM,iBAAiB,CAAC;AAErD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAGvD,KAAK,yBAAyB,CAAC,CAAC,SAAS;IAAE,WAAW,EAAE,WAAW,CAAA;CAAE,IAAI,IAAI,CAC3E,qBAAqB,CAAC,OAAO,aAAa,CAAC,EAC3C,IAAI,GAAG,OAAO,GAAG,OAAO,GAAG,UAAU,CACtC,GAAG;IACF,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;CAC9B,CAAC;AACF,wBAAgB,oBAAoB,CAAC,CAAC,SAAS;IAAE,WAAW,EAAE,WAAW,CAAA;CAAE,EACzE,KAAK,EAAE,yBAAyB,CAAC,CAAC,CAAC,2CAkBpC"}
@@ -1 +1 @@
1
- {"version":3,"file":"home-background-image.d.ts","sourceRoot":"","sources":["../../../../../src/connect/components/home-screen/home-background-image.tsx"],"names":[],"mappings":"AAOA,wBAAgB,mBAAmB,4CAOlC"}
1
+ {"version":3,"file":"home-background-image.d.ts","sourceRoot":"","sources":["../../../../../src/connect/components/home-screen/home-background-image.tsx"],"names":[],"mappings":"AAIA,wBAAgB,mBAAmB,4CAOlC"}
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- const HomeBgAvif = new URL("../../../../../assets/home-bg.avif", import.meta.url).href;
3
- const HomeBg = new URL("../../../../../assets/home-bg.png", import.meta.url)
2
+ const HomeBgAvif = new URL("../../../../assets/home-bg.avif", import.meta.url)
4
3
  .href;
4
+ const HomeBg = new URL("../../../../assets/home-bg.png", import.meta.url).href;
5
5
  export function HomeBackgroundImage() {
6
6
  return (_jsxs("picture", { className: "pointer-events-none absolute inset-8 z-0 size-[calc(100%-32px)] object-contain", children: [_jsx("source", { srcSet: HomeBgAvif, type: "image/avif" }), _jsx("img", { src: HomeBg, alt: "background", className: "object-contain" })] }));
7
7
  }
@@ -1 +1 @@
1
- {"version":3,"file":"home-background-image.js","sourceRoot":"","sources":["../../../../../src/connect/components/home-screen/home-background-image.tsx"],"names":[],"mappings":";AAAA,MAAM,UAAU,GAAG,IAAI,GAAG,CACxB,oCAAoC,EACpC,MAAM,CAAC,IAAI,CAAC,GAAG,CAChB,CAAC,IAAI,CAAC;AACP,MAAM,MAAM,GAAG,IAAI,GAAG,CAAC,mCAAmC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;KACzE,IAAI,CAAC;AAER,MAAM,UAAU,mBAAmB;IACjC,OAAO,CACL,mBAAS,SAAS,EAAC,gFAAgF,aACjG,iBAAQ,MAAM,EAAE,UAAU,EAAE,IAAI,EAAC,YAAY,GAAG,EAChD,cAAK,GAAG,EAAE,MAAM,EAAE,GAAG,EAAC,YAAY,EAAC,SAAS,EAAC,gBAAgB,GAAG,IACxD,CACX,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"home-background-image.js","sourceRoot":"","sources":["../../../../../src/connect/components/home-screen/home-background-image.tsx"],"names":[],"mappings":";AAAA,MAAM,UAAU,GAAG,IAAI,GAAG,CAAC,iCAAiC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;KAC3E,IAAI,CAAC;AACR,MAAM,MAAM,GAAG,IAAI,GAAG,CAAC,gCAAgC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC;AAE/E,MAAM,UAAU,mBAAmB;IACjC,OAAO,CACL,mBAAS,SAAS,EAAC,gFAAgF,aACjG,iBAAQ,MAAM,EAAE,UAAU,EAAE,IAAI,EAAC,YAAY,GAAG,EAChD,cAAK,GAAG,EAAE,MAAM,EAAE,GAAG,EAAC,YAAY,EAAC,SAAS,EAAC,gBAAgB,GAAG,IACxD,CACX,CAAC;AACJ,CAAC"}
@@ -28,11 +28,15 @@ export * from "./home-screen/home-background-image.js";
28
28
  export * from "./home-screen/home-screen-add-drive-item.js";
29
29
  export * from "./home-screen/home-screen-item.js";
30
30
  export * from "./home-screen/home-screen.js";
31
+ export * from "./integrity-inspector/index.js";
31
32
  export * from "./loading-screen/loading-screen.js";
32
33
  export * from "./modal/add-drive-modal/add-drive-modal.js";
33
34
  export * from "./modal/index.js";
34
35
  export * from "./modal/settings-modal-v2/danger-zone.js";
35
36
  export * from "./node-input/node-input.js";
37
+ export * from "./object-inspector-modal/index.js";
38
+ export * from "./processors-inspector/index.js";
39
+ export * from "./queue-inspector/index.js";
36
40
  export * from "./remotes-inspector/index.js";
37
41
  export * from "./revision-history/revision-history.js";
38
42
  export * from "./search-bar/search-bar.js";
@@ -50,6 +54,7 @@ export * from "./tabs/tabs.js";
50
54
  export * from "./toast/toast.js";
51
55
  export * from "./toggle/toggle.js";
52
56
  export * from "./tooltip/tooltip.js";
57
+ export type * from "./types.js";
53
58
  export * from "./upload-file-item/upload-file-item.js";
54
59
  export * from "./upload-file-list/upload-file-list.js";
55
60
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/connect/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,sCAAsC,CAAC;AACrD,cAAc,sC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Ac,mCAAmC,CAAC;AAClD,cAAc,iCAAiC,CAAC;AAChD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wCAAwC,CAAC;AACvD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,cAAc,qCAAqC,CAAC;AACpD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,mCAAmC,CAAC;AAClD,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,mBAAmB,YAAY,CAAC;AAChC,cAAc,wCAAwC,CAAC;AACvD,cAAc,wCAAwC,CAAC"}
@@ -28,11 +28,15 @@ export * from "./home-screen/home-background-image.js";
28
28
  export * from "./home-screen/home-screen-add-drive-item.js";
29
29
  export * from "./home-screen/home-screen-item.js";
30
30
  export * from "./home-screen/home-screen.js";
31
+ export * from "./integrity-inspector/index.js";
31
32
  export * from "./loading-screen/loading-screen.js";
32
33
  export * from "./modal/add-drive-modal/add-drive-modal.js";
33
34
  export * from "./modal/index.js";
34
35
  export * from "./modal/settings-modal-v2/danger-zone.js";
35
36
  export * from "./node-input/node-input.js";
37
+ export * from "./object-inspector-modal/index.js";
38
+ export * from "./processors-inspector/index.js";
39
+ export * from "./queue-inspector/index.js";
36
40
  export * from "./remotes-inspector/index.js";
37
41
  export * from "./revision-history/revision-history.js";
38
42
  export * from "./search-bar/search-bar.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/connect/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,sCAAsC,CAAC;AACrD,cAAc,sCAAsC,CAAC;AACrD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ClD,cAAc,iCAAiC,CAAC;AAChD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wCAAwC,CAAC;AACvD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,cAAc,qCAAqC,CAAC;AACpD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,mCAAmC,CAAC;AAClD,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AAErC,cAAc,wCAAwC,CAAC;AACvD,cAAc,wCAAwC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from "./integrity-inspector.js";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/connect/components/integrity-inspector/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from "./integrity-inspector.js";
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/connect/components/integrity-inspector/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { RebuildResult, ValidationResult } from "@powerhousedao/reactor-browser";
2
+ export type IntegrityInspectorProps = {
3
+ readonly onValidate: (documentId: string, branch?: string) => Promise<ValidationResult>;
4
+ readonly onRebuildKeyframes: (documentId: string, branch?: string) => Promise<RebuildResult>;
5
+ readonly onRebuildSnapshots: (documentId: string, branch?: string) => Promise<RebuildResult>;
6
+ };
7
+ export declare function IntegrityInspector({ onValidate, onRebuildKeyframes, onRebuildSnapshots, }: IntegrityInspectorProps): import("react/jsx-runtime").JSX.Element;
8
+ //# sourceMappingURL=integrity-inspector.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"integrity-inspector.d.ts","sourceRoot":"","sources":["../../../../../src/connect/components/integrity-inspector/integrity-inspector.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,aAAa,EACb,gBAAgB,EACjB,MAAM,gCAAgC,CAAC;AAExC,MAAM,MAAM,uBAAuB,GAAG;IACpC,QAAQ,CAAC,UAAU,EAAE,CACnB,UAAU,EAAE,MAAM,EAClB,MAAM,CAAC,EAAE,MAAM,KACZ,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAC/B,QAAQ,CAAC,kBAAkB,EAAE,CAC3B,UAAU,EAAE,MAAM,EAClB,MAAM,CAAC,EAAE,MAAM,KACZ,OAAO,CAAC,aAAa,CAAC,CAAC;IAC5B,QAAQ,CAAC,kBAAkB,EAAE,CAC3B,UAAU,EAAE,MAAM,EAClB,MAAM,CAAC,EAAE,MAAM,KACZ,OAAO,CAAC,aAAa,CAAC,CAAC;CAC7B,CAAC;AAKF,wBAAgB,kBAAkB,CAAC,EACjC,UAAU,EACV,kBAAkB,EAClB,kBAAkB,GACnB,EAAE,uBAAuB,2CA6MzB"}
@@ -0,0 +1,90 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Icon } from "@powerhousedao/design-system";
3
+ import { useCallback, useState } from "react";
4
+ import { twMerge } from "tailwind-merge";
5
+ export function IntegrityInspector({ onValidate, onRebuildKeyframes, onRebuildSnapshots, }) {
6
+ const [documentId, setDocumentId] = useState("");
7
+ const [branch, setBranch] = useState("");
8
+ const [status, setStatus] = useState("idle");
9
+ const [validationResult, setValidationResult] = useState(null);
10
+ const [rebuildResult, setRebuildResult] = useState(null);
11
+ const [error, setError] = useState(null);
12
+ const [confirmAction, setConfirmAction] = useState(null);
13
+ const clearResults = useCallback(() => {
14
+ setValidationResult(null);
15
+ setRebuildResult(null);
16
+ setError(null);
17
+ setConfirmAction(null);
18
+ }, []);
19
+ const handleValidate = useCallback(async () => {
20
+ if (!documentId.trim())
21
+ return;
22
+ clearResults();
23
+ setStatus("running");
24
+ try {
25
+ const result = await onValidate(documentId.trim(), branch.trim() || undefined);
26
+ setValidationResult(result);
27
+ setStatus("done");
28
+ }
29
+ catch (err) {
30
+ setError(err instanceof Error ? err.message : String(err));
31
+ setStatus("error");
32
+ }
33
+ }, [documentId, branch, onValidate, clearResults]);
34
+ const handleRebuildKeyframes = useCallback(async () => {
35
+ if (!documentId.trim())
36
+ return;
37
+ clearResults();
38
+ setStatus("running");
39
+ try {
40
+ const result = await onRebuildKeyframes(documentId.trim(), branch.trim() || undefined);
41
+ setRebuildResult(result);
42
+ setStatus("done");
43
+ }
44
+ catch (err) {
45
+ setError(err instanceof Error ? err.message : String(err));
46
+ setStatus("error");
47
+ }
48
+ }, [documentId, branch, onRebuildKeyframes, clearResults]);
49
+ const handleRebuildSnapshots = useCallback(async () => {
50
+ if (!documentId.trim())
51
+ return;
52
+ clearResults();
53
+ setStatus("running");
54
+ try {
55
+ const result = await onRebuildSnapshots(documentId.trim(), branch.trim() || undefined);
56
+ setRebuildResult(result);
57
+ setStatus("done");
58
+ }
59
+ catch (err) {
60
+ setError(err instanceof Error ? err.message : String(err));
61
+ setStatus("error");
62
+ }
63
+ }, [documentId, branch, onRebuildSnapshots, clearResults]);
64
+ return (_jsxs("div", { className: "flex h-full flex-col gap-3", children: [_jsx("div", { className: "flex shrink-0 items-center justify-between", children: _jsx("h2", { className: "text-lg font-semibold text-gray-900", children: "Integrity Inspector" }) }), _jsxs("div", { className: "flex shrink-0 items-end gap-3", children: [_jsxs("div", { className: "flex flex-1 flex-col gap-1", children: [_jsx("label", { className: "text-xs font-medium text-gray-600", children: "Document ID" }), _jsx("input", { className: "rounded border border-gray-300 px-3 py-1.5 text-sm outline-none focus:border-blue-400", onChange: (e) => setDocumentId(e.target.value), placeholder: "Enter document ID", type: "text", value: documentId })] }), _jsxs("div", { className: "flex w-40 flex-col gap-1", children: [_jsx("label", { className: "text-xs font-medium text-gray-600", children: "Branch (optional)" }), _jsx("input", { className: "rounded border border-gray-300 px-3 py-1.5 text-sm outline-none focus:border-blue-400", onChange: (e) => setBranch(e.target.value), placeholder: "main", type: "text", value: branch })] }), _jsxs("div", { className: "flex gap-2", children: [_jsxs("button", { className: "flex items-center gap-1 rounded border border-blue-300 bg-blue-50 px-3 py-1.5 text-sm text-blue-700 hover:bg-blue-100 disabled:opacity-50", disabled: !documentId.trim() ||
65
+ status === "running" ||
66
+ confirmAction !== null, onClick: () => void handleValidate(), type: "button", children: [_jsx(Icon, { name: "Checkmark", size: 14 }), "Validate"] }), _jsxs("button", { className: "flex items-center gap-1 rounded border border-yellow-300 bg-yellow-50 px-3 py-1.5 text-sm text-yellow-700 hover:bg-yellow-100 disabled:opacity-50", disabled: !documentId.trim() ||
67
+ status === "running" ||
68
+ confirmAction !== null, onClick: () => setConfirmAction("keyframes"), type: "button", children: [_jsx(Icon, { name: "Reload", size: 14 }), "Rebuild Keyframes"] }), _jsxs("button", { className: "flex items-center gap-1 rounded border border-yellow-300 bg-yellow-50 px-3 py-1.5 text-sm text-yellow-700 hover:bg-yellow-100 disabled:opacity-50", disabled: !documentId.trim() ||
69
+ status === "running" ||
70
+ confirmAction !== null, onClick: () => setConfirmAction("snapshots"), type: "button", children: [_jsx(Icon, { name: "Reload", size: 14 }), "Rebuild Snapshots"] })] })] }), confirmAction && (_jsxs("div", { className: "flex shrink-0 items-center gap-3 rounded border border-yellow-400 bg-yellow-50 px-3 py-2", children: [_jsx("span", { className: "text-sm text-yellow-800", children: confirmAction === "keyframes"
71
+ ? "This will delete all keyframes for this document. Continue?"
72
+ : "This will invalidate all cached snapshots for this document. Continue?" }), _jsx("button", { className: "rounded bg-yellow-600 px-3 py-1 text-sm text-white hover:bg-yellow-700", onClick: () => {
73
+ if (confirmAction === "keyframes") {
74
+ void handleRebuildKeyframes();
75
+ }
76
+ else {
77
+ void handleRebuildSnapshots();
78
+ }
79
+ }, type: "button", children: "Confirm" }), _jsx("button", { className: "rounded border border-gray-300 bg-white px-3 py-1 text-sm text-gray-600 hover:bg-gray-50", onClick: () => setConfirmAction(null), type: "button", children: "Cancel" })] })), _jsxs("div", { className: "min-h-0 flex-1 overflow-auto rounded-lg border border-gray-300 p-4", children: [status === "idle" && (_jsx("div", { className: "flex h-full items-center justify-center text-sm text-gray-400", children: "Enter a document ID and run an action" })), status === "running" && (_jsx("div", { className: "flex h-full items-center justify-center text-sm text-gray-500", children: "Running..." })), status === "error" && error && (_jsx("div", { className: "rounded bg-red-50 p-3 text-sm text-red-700", children: error })), status === "done" && validationResult && (_jsx(ValidationResultView, { result: validationResult })), status === "done" && rebuildResult && (_jsx(RebuildResultView, { result: rebuildResult }))] })] }));
80
+ }
81
+ function ValidationResultView({ result }) {
82
+ const totalIssues = result.keyframeIssues.length + result.snapshotIssues.length;
83
+ return (_jsxs("div", { className: "flex flex-col gap-3", children: [_jsxs("div", { className: "flex items-center gap-2", children: [_jsx("span", { className: twMerge("size-3 rounded-full", result.isConsistent ? "bg-green-500" : "bg-red-500") }), _jsx("span", { className: "text-sm font-medium", children: result.isConsistent
84
+ ? "Document is consistent"
85
+ : `Found ${totalIssues} issue(s)` })] }), _jsxs("div", { className: "text-xs text-gray-500", children: ["Document: ", result.documentId] }), result.keyframeIssues.length > 0 && (_jsxs("div", { className: "flex flex-col gap-1", children: [_jsx("h3", { className: "text-sm font-medium text-gray-700", children: "Keyframe Issues" }), _jsxs("table", { className: "w-full border-collapse text-xs", children: [_jsx("thead", { children: _jsxs("tr", { className: "bg-gray-100", children: [_jsx("th", { className: "px-2 py-1 text-left font-medium text-gray-600", children: "Scope" }), _jsx("th", { className: "border-l border-gray-300 px-2 py-1 text-left font-medium text-gray-600", children: "Branch" }), _jsx("th", { className: "border-l border-gray-300 px-2 py-1 text-left font-medium text-gray-600", children: "Revision" }), _jsx("th", { className: "border-l border-gray-300 px-2 py-1 text-left font-medium text-gray-600", children: "Keyframe Hash" }), _jsx("th", { className: "border-l border-gray-300 px-2 py-1 text-left font-medium text-gray-600", children: "Replayed Hash" })] }) }), _jsx("tbody", { children: result.keyframeIssues.map((issue, i) => (_jsxs("tr", { className: "odd:bg-white even:bg-gray-50", children: [_jsx("td", { className: "px-2 py-1", children: issue.scope }), _jsx("td", { className: "border-l border-gray-300 px-2 py-1", children: issue.branch }), _jsx("td", { className: "border-l border-gray-300 px-2 py-1", children: issue.revision }), _jsx("td", { className: "border-l border-gray-300 px-2 py-1 font-mono", children: issue.keyframeHash }), _jsx("td", { className: "border-l border-gray-300 px-2 py-1 font-mono", children: issue.replayedHash })] }, `kf-${i}`))) })] })] })), result.snapshotIssues.length > 0 && (_jsxs("div", { className: "flex flex-col gap-1", children: [_jsx("h3", { className: "text-sm font-medium text-gray-700", children: "Snapshot Issues" }), _jsxs("table", { className: "w-full border-collapse text-xs", children: [_jsx("thead", { children: _jsxs("tr", { className: "bg-gray-100", children: [_jsx("th", { className: "px-2 py-1 text-left font-medium text-gray-600", children: "Scope" }), _jsx("th", { className: "border-l border-gray-300 px-2 py-1 text-left font-medium text-gray-600", children: "Branch" }), _jsx("th", { className: "border-l border-gray-300 px-2 py-1 text-left font-medium text-gray-600", children: "Snapshot Hash" }), _jsx("th", { className: "border-l border-gray-300 px-2 py-1 text-left font-medium text-gray-600", children: "Replayed Hash" })] }) }), _jsx("tbody", { children: result.snapshotIssues.map((issue, i) => (_jsxs("tr", { className: "odd:bg-white even:bg-gray-50", children: [_jsx("td", { className: "px-2 py-1", children: issue.scope }), _jsx("td", { className: "border-l border-gray-300 px-2 py-1", children: issue.branch }), _jsx("td", { className: "border-l border-gray-300 px-2 py-1 font-mono", children: issue.snapshotHash }), _jsx("td", { className: "border-l border-gray-300 px-2 py-1 font-mono", children: issue.replayedHash })] }, `snap-${i}`))) })] })] }))] }));
86
+ }
87
+ function RebuildResultView({ result }) {
88
+ return (_jsxs("div", { className: "flex flex-col gap-2", children: [_jsxs("div", { className: "flex items-center gap-2", children: [_jsx("span", { className: "size-3 rounded-full bg-green-500" }), _jsx("span", { className: "text-sm font-medium", children: "Rebuild complete" })] }), _jsxs("div", { className: "text-xs text-gray-500", children: ["Document: ", result.documentId] }), result.keyframesDeleted > 0 && (_jsxs("div", { className: "text-sm text-gray-700", children: ["Keyframes deleted: ", result.keyframesDeleted] })), result.scopesInvalidated > 0 && (_jsxs("div", { className: "text-sm text-gray-700", children: ["Scopes invalidated: ", result.scopesInvalidated] }))] }));
89
+ }
90
+ //# sourceMappingURL=integrity-inspector.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"integrity-inspector.js","sourceRoot":"","sources":["../../../../../src/connect/components/integrity-inspector/integrity-inspector.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAyBzC,MAAM,UAAU,kBAAkB,CAAC,EACjC,UAAU,EACV,kBAAkB,EAClB,kBAAkB,GACM;IACxB,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;IACjD,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;IACzC,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAe,MAAM,CAAC,CAAC;IAC3D,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,GAC3C,QAAQ,CAA0B,IAAI,CAAC,CAAC;IAC1C,MAAM,CAAC,aAAa,EAAE,gBAAgB,CAAC,GAAG,QAAQ,CAChD,IAAI,CACL,CAAC;IACF,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QA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,CACP,IACG,CACP,CAAC;AACJ,CAAC;AAED,SAAS,iBAAiB,CAAC,EAAE,MAAM,EAA6B;IAC9D,OAAO,CACL,eAAK,SAAS,EAAC,qBAAqB,aAClC,eAAK,SAAS,EAAC,yBAAyB,aACtC,eAAM,SAAS,EAAC,kCAAkC,GAAG,EACrD,eAAM,SAAS,EAAC,qBAAqB,iCAAwB,IACzD,EACN,eAAK,SAAS,EAAC,uBAAuB,2BAAY,MAAM,CAAC,UAAU,IAAO,EACzE,MAAM,CAAC,gBAAgB,GAAG,CAAC,IAAI,CAC9B,eAAK,SAAS,EAAC,uBAAuB,oCAChB,MAAM,CAAC,gBAAgB,IACvC,CACP,EACA,MAAM,CAAC,iBAAiB,GAAG,CAAC,IAAI,CAC/B,eAAK,SAAS,EAAC,uBAAuB,qCACf,MAAM,CAAC,iBAAiB,IACzC,CACP,IACG,CACP,CAAC;AACJ,CAAC"}
@@ -1,22 +1,20 @@
1
- import type { DivProps } from "@powerhousedao/design-system";
1
+ import type { AppOptions, DivProps } from "@powerhousedao/design-system";
2
2
  import { Modal } from "@powerhousedao/design-system";
3
- import type { App } from "document-model";
4
3
  import type { ComponentPropsWithoutRef } from "react";
5
- import { type AddLocalDriveInput } from "../../form/add-local-drive-form.js";
6
4
  import { type AddRemoteDriveInput } from "../../form/add-remote-drive-form.js";
7
5
  type ModalProps = ComponentPropsWithoutRef<typeof Modal>;
8
6
  export type AddDriveModalProps = {
9
7
  readonly open: boolean;
10
8
  readonly onOpenChange: (open: boolean) => void;
11
9
  readonly onAddRemoteDrive: (data: AddRemoteDriveInput) => void;
12
- readonly onAddLocalDrive: (data: AddLocalDriveInput) => void;
10
+ readonly onAddLocalDrive: (data: AppOptions) => void;
13
11
  readonly modalProps?: ModalProps;
14
12
  readonly containerProps?: DivProps;
15
13
  readonly requestPublicDrive: (url: string) => Promise<{
16
14
  id: string;
17
15
  name: string;
18
16
  }>;
19
- readonly appOptions: App[];
17
+ readonly appOptions: AppOptions[];
20
18
  };
21
19
  export declare function AddDriveModal(props: AddDriveModalProps): import("react/jsx-runtime").JSX.Element;
22
20
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"add-drive-modal.d.ts","sourceRoot":"","sources":["../../../../../../src/connect/components/modal/add-drive-modal/add-drive-modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAC;AACrD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,EACL,KAAK,kBAAkB,EAExB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,KAAK,mBAAmB,EAEzB,MAAM,qCAAqC,CAAC;AAI7C,KAAK,UAAU,GAAG,wBAAwB,CAAC,OAAO,KAAK,CAAC,CAAC;AACzD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAC/C,QAAQ,CAAC,gBAAgB,EAAE,CAAC,IAAI,EAAE,mBAAmB,KAAK,IAAI,CAAC;IAC/D,QAAQ,CAAC,eAAe,EAAE,CAAC,IAAI,EAAE,kBAAkB,KAAK,IAAI,CAAC;IAC7D,QAAQ,CAAC,UAAU,CAAC,EAAE,UAAU,CAAC;IACjC,QAAQ,CAAC,cAAc,CAAC,EAAE,QAAQ,CAAC;IACnC,QAAQ,CAAC,kBAAkB,EAAE,CAC3B,GAAG,EAAE,MAAM,KACR,OAAO,CAAC;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC3C,QAAQ,CAAC,UAAU,EAAE,GAAG,EAAE,CAAC;CAC5B,CAAC;AACF,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,2CAiDtD"}
1
+ {"version":3,"file":"add-drive-modal.d.ts","sourceRoot":"","sources":["../../../../../../src/connect/components/modal/add-drive-modal/add-drive-modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAC;AACrD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAGtD,OAAO,EACL,KAAK,mBAAmB,EAEzB,MAAM,qCAAqC,CAAC;AAI7C,KAAK,UAAU,GAAG,wBAAwB,CAAC,OAAO,KAAK,CAAC,CAAC;AACzD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAC/C,QAAQ,CAAC,gBAAgB,EAAE,CAAC,IAAI,EAAE,mBAAmB,KAAK,IAAI,CAAC;IAC/D,QAAQ,CAAC,eAAe,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;IACrD,QAAQ,CAAC,UAAU,CAAC,EAAE,UAAU,CAAC;IACjC,QAAQ,CAAC,cAAc,CAAC,EAAE,QAAQ,CAAC;IACnC,QAAQ,CAAC,kBAAkB,EAAE,CAC3B,GAAG,EAAE,MAAM,KACR,OAAO,CAAC;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC3C,QAAQ,CAAC,UAAU,EAAE,UAAU,EAAE,CAAC;CACnC,CAAC;AACF,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,2CAoDtD"}
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Modal } from "@powerhousedao/design-system";
3
3
  import { twMerge } from "tailwind-merge";
4
- import { AddLocalDriveForm, } from "../../form/add-local-drive-form.js";
4
+ import { AddLocalDriveForm } from "../../form/add-local-drive-form.js";
5
5
  import { AddRemoteDriveForm, } from "../../form/add-remote-drive-form.js";
6
6
  import { TabContent } from "../../tabs/tab-content.js";
7
7
  import { Tabs } from "../../tabs/tabs.js";
@@ -10,7 +10,9 @@ export function AddDriveModal(props) {
10
10
  onOpenChange(false);
11
11
  }
12
12
  const { open, onOpenChange, onAddRemoteDrive, onAddLocalDrive, requestPublicDrive, modalProps, containerProps, } = props;
13
- return (_jsx(Modal, { ...modalProps, contentProps: {
13
+ return (_jsx(Modal, { ...modalProps, overlayProps: {
14
+ className: "items-start pt-[15vh]",
15
+ }, contentProps: {
14
16
  className: "rounded-2xl",
15
17
  }, onOpenChange: onOpenChange, open: open, children: _jsx("div", { ...containerProps, className: twMerge("w-[408px] rounded-2xl p-6", containerProps?.className), children: _jsxs(Tabs, { defaultValue: "Create Drive", children: [_jsx(TabContent, { label: "Create Drive", description: "Create a new drive", children: _jsx(AddLocalDriveForm, { onCancel: handleCancel, onSubmit: onAddLocalDrive, appOptions: props.appOptions }) }), _jsx(TabContent, { label: "Add Drive", description: "Add a drive", children: _jsx(AddRemoteDriveForm, { sharingType: "PUBLIC", onSubmit: onAddRemoteDrive, onCancel: handleCancel, requestPublicDrive: requestPublicDrive }) })] }) }) }));
16
18
  }
@@ -1 +1 @@
1
- {"version":3,"file":"add-drive-modal.js","sourceRoot":"","sources":["../../../../../../src/connect/components/modal/add-drive-modal/add-drive-modal.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAC;AAGrD,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAEL,iBAAiB,GAClB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAEL,kBAAkB,GACnB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAe1C,MAAM,UAAU,aAAa,CAAC,KAAyB;IACrD,SAAS,YAAY;QACnB,YAAY,CAAC,KAAK,CAAC,CAAC;IACtB,CAAC;IACD,MAAM,EACJ,IAAI,EACJ,YAAY,EACZ,gBAAgB,EAChB,eAAe,EACf,kBAAkB,EAClB,UAAU,EACV,cAAc,GACf,GAAG,KAAK,CAAC;IACV,OAAO,CACL,KAAC,KAAK,OACA,UAAU,EACd,YAAY,EAAE;YACZ,SAAS,EAAE,aAAa;SACzB,EACD,YAAY,EAAE,YAAY,EAC1B,IAAI,EAAE,IAAI,YAEV,iBACM,cAAc,EAClB,SAAS,EAAE,OAAO,CAChB,2BAA2B,EAC3B,cAAc,EAAE,SAAS,CAC1B,YAED,MAAC,IAAI,IAAC,YAAY,EAAC,cAAc,aAC/B,KAAC,UAAU,IAAC,KAAK,EAAC,cAAc,EAAC,WAAW,EAAC,oBAAoB,YAC/D,KAAC,iBAAiB,IAChB,QAAQ,EAAE,YAAY,EACtB,QAAQ,EAAE,eAAe,EACzB,UAAU,EAAE,KAAK,CAAC,UAAU,GAC5B,GACS,EACb,KAAC,UAAU,IAAC,KAAK,EAAC,WAAW,EAAC,WAAW,EAAC,aAAa,YACrD,KAAC,kBAAkB,IACjB,WAAW,EAAC,QAAQ,EACpB,QAAQ,EAAE,gBAAgB,EAC1B,QAAQ,EAAE,YAAY,EACtB,kBAAkB,EAAE,kBAAkB,GACtC,GACS,IACR,GACH,GACA,CACT,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"add-drive-modal.js","sourceRoot":"","sources":["../../../../../../src/connect/components/modal/add-drive-modal/add-drive-modal.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAC;AAErD,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AACvE,OAAO,EAEL,kBAAkB,GACnB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAe1C,MAAM,UAAU,aAAa,CAAC,KAAyB;IACrD,SAAS,YAAY;QACnB,YAAY,CAAC,KAAK,CAAC,CAAC;IACtB,CAAC;IACD,MAAM,EACJ,IAAI,EACJ,YAAY,EACZ,gBAAgB,EAChB,eAAe,EACf,kBAAkB,EAClB,UAAU,EACV,cAAc,GACf,GAAG,KAAK,CAAC;IACV,OAAO,CACL,KAAC,KAAK,OACA,UAAU,EACd,YAAY,EAAE;YACZ,SAAS,EAAE,uBAAuB;SACnC,EACD,YAAY,EAAE;YACZ,SAAS,EAAE,aAAa;SACzB,EACD,YAAY,EAAE,YAAY,EAC1B,IAAI,EAAE,IAAI,YAEV,iBACM,cAAc,EAClB,SAAS,EAAE,OAAO,CAChB,2BAA2B,EAC3B,cAAc,EAAE,SAAS,CAC1B,YAED,MAAC,IAAI,IAAC,YAAY,EAAC,cAAc,aAC/B,KAAC,UAAU,IAAC,KAAK,EAAC,cAAc,EAAC,WAAW,EAAC,oBAAoB,YAC/D,KAAC,iBAAiB,IAChB,QAAQ,EAAE,YAAY,EACtB,QAAQ,EAAE,eAAe,EACzB,UAAU,EAAE,KAAK,CAAC,UAAU,GAC5B,GACS,EACb,KAAC,UAAU,IAAC,KAAK,EAAC,WAAW,EAAC,WAAW,EAAC,aAAa,YACrD,KAAC,kBAAkB,IACjB,WAAW,EAAC,QAAQ,EACpB,QAAQ,EAAE,gBAAgB,EAC1B,QAAQ,EAAE,YAAY,EACtB,kBAAkB,EAAE,kBAAkB,GACtC,GACS,IACR,GACH,GACA,CACT,CAAC;AACJ,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"add-drive-modal.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/connect/components/modal/add-drive-modal/add-drive-modal.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAErD,QAAA,MAAM,IAAI;;;CAG4B,CAAC;AAEvC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KA0DrB,CAAC"}
1
+ {"version":3,"file":"add-drive-modal.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/connect/components/modal/add-drive-modal/add-drive-modal.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAErD,QAAA,MAAM,IAAI;;;CAG4B,CAAC;AAEvC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KA6DrB,CAAC"}
@@ -19,17 +19,20 @@ export const Default = {
19
19
  {
20
20
  id: "powerhouse/common",
21
21
  name: "Generic Drive Explorer",
22
- driveEditor: "GenericDriveExplorer",
22
+ sharingType: "LOCAL",
23
+ availableOffline: false,
23
24
  },
24
25
  {
25
26
  id: "powerhouse/invoice/contributor",
26
27
  name: "Contributor App",
27
- driveEditor: "ContributorDrive",
28
+ sharingType: "LOCAL",
29
+ availableOffline: false,
28
30
  },
29
31
  {
30
32
  id: "powerhouse/invoice/administrator",
31
33
  name: "OH Administrator App",
32
- driveEditor: "AdministratorDrive",
34
+ sharingType: "LOCAL",
35
+ availableOffline: false,
33
36
  },
34
37
  ],
35
38
  },
@@ -1 +1 @@
1
- {"version":3,"file":"add-drive-modal.stories.js","sourceRoot":"","sources":["../../../../../../src/connect/components/modal/add-drive-modal/add-drive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,CAAC,IAAI,EAAE,EAAE;4BACrB,OAAO,CAAC;gCACN,GAAG,IAAI;gCACP,IAAI;6BACL,CAAC,CAAC;wBACL,CAAC;qBACF,GACD,IACE,CACP,CAAC;IACJ,CAAC;CACF,CAAC"}
1
+ {"version":3,"file":"add-drive-modal.stories.js","sourceRoot":"","sources":["../../../../../../src/connect/components/modal/add-drive-modal/add-drive-modal.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAEjD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAErD,MAAM,IAAI,GAAG;IACX,KAAK,EAAE,oCAAoC;IAC3C,SAAS,EAAE,aAAa;CACY,CAAC;AAEvC,eAAe,IAAI,CAAC;AAIpB,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE;QACJ,IAAI,EAAE,IAAI;QACV,gBAAgB,KAAI,CAAC;QACrB,eAAe,KAAI,CAAC;QACpB,YAAY,KAAI,CAAC;QACjB,kBAAkB;YAChB,OAAO,OAAO,CAAC,OAAO,CAAC,EAAE,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,CAAC;QAC1D,CAAC;QACD,UAAU,EAAE;YACV;gBACE,EAAE,EAAE,mBAAmB;gBACvB,IAAI,EAAE,wBAAwB;gBAC9B,WAAW,EAAE,OAAO;gBACpB,gBAAgB,EAAE,KAAK;aACxB;YACD;gBACE,EAAE,EAAE,gCAAgC;gBACpC,IAAI,EAAE,iBAAiB;gBACvB,WAAW,EAAE,OAAO;gBACpB,gBAAgB,EAAE,KAAK;aACxB;YACD;gBACE,EAAE,EAAE,kCAAkC;gBACtC,IAAI,EAAE,sBAAsB;gBAC5B,WAAW,EAAE,OAAO;gBACpB,gBAAgB,EAAE,KAAK;aACxB;SACF;KACF;IACD,MAAM,EAAE,SAAS,OAAO,CAAC,IAAI;QAC3B,MAAM,CAAC,EAAE,OAAO,CAAC,GAAG,OAAO,EAAe,CAAC;QAE3C,OAAO,CACL,eAAK,SAAS,EAAC,mCAAmC,aAChD,iBACE,SAAS,EAAC,sCAAsC,EAChD,OAAO,EAAE,GAAG,EAAE;wBACZ,OAAO,CAAC;4BACN,GAAG,IAAI;4BACP,IAAI,EAAE,IAAI;yBACX,CAAC,CAAC;oBACL,CAAC,2BAGM,EACT,KAAC,aAAa,OACR,IAAI,EACR,UAAU,EAAE;wBACV,GAAG,IAAI,CAAC,UAAU;wBAClB,YAAY,EAAE,CAAC,IAAI,EAAE,EAAE;4BACrB,OAAO,CAAC;gCACN,GAAG,IAAI;gCACP,IAAI;6BACL,CAAC,CAAC;wBACL,CAAC;qBACF,GACD,IACE,CACP,CAAC;IACJ,CAAC;CACF,CAAC"}
@@ -1,16 +1,14 @@
1
- import type { DivProps } from "@powerhousedao/design-system";
1
+ import type { AppOptions, DivProps } from "@powerhousedao/design-system";
2
2
  import { Modal } from "@powerhousedao/design-system";
3
- import type { App } from "document-model";
4
3
  import type { ComponentPropsWithoutRef } from "react";
5
- import { type AddLocalDriveInput } from "../form/add-local-drive-form.js";
6
4
  type ModalProps = ComponentPropsWithoutRef<typeof Modal>;
7
5
  export type AddLocalDriveModal = {
8
6
  readonly open: boolean;
9
7
  readonly onOpenChange: (open: boolean) => void;
10
- readonly onSubmit: (data: AddLocalDriveInput) => void;
8
+ readonly onSubmit: (data: AppOptions) => void;
11
9
  readonly modalProps?: ModalProps;
12
10
  readonly containerProps?: DivProps;
13
- readonly appOptions: App[];
11
+ readonly appOptions: AppOptions[];
14
12
  };
15
13
  export declare function AddLocalDriveModal(props: AddLocalDriveModal): import("react/jsx-runtime").JSX.Element;
16
14
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"add-local-drive-modal.d.ts","sourceRoot":"","sources":["../../../../../src/connect/components/modal/add-local-drive-modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAQ,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AC,QAAQ,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;IAC9C,QAAQ,CAAC,UAAU,CAAC,EAAE,UAAU,CAAC;IACjC,QAAQ,CAAC,cAAc,CAAC,EAAE,QAAQ,CAAC;IACnC,QAAQ,CAAC,UAAU,EAAE,UAAU,EAAE,CAAC;CACnC,CAAC;AACF,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,kBAAkB,2CA+C3D"}
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Icon, Modal } from "@powerhousedao/design-system";
3
3
  import { twMerge } from "tailwind-merge";
4
4
  import { Divider } from "../divider/divider.js";
5
- import { AddLocalDriveForm, } from "../form/add-local-drive-form.js";
5
+ import { AddLocalDriveForm } from "../form/add-local-drive-form.js";
6
6
  export function AddLocalDriveModal(props) {
7
7
  const { open, onOpenChange, onSubmit, modalProps, containerProps, appOptions, } = props;
8
8
  function handleCancel() {
@@ -1 +1 @@
1
- {"version":3,"file":"add-local-drive-modal.js","sourceRoot":"","sources":["../../../../../src/connect/components/modal/add-local-drive-modal.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAC;AAG3D,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAChD,OAAO,EAEL,iBAAiB,GAClB,MAAM,iCAAiC,CAAC;AAWzC,MAAM,UAAU,kBAAkB,CAAC,KAAyB;IAC1D,MAAM,EACJ,IAAI,EACJ,YAAY,EACZ,QAAQ,EACR,UAAU,EACV,cAAc,EACd,UAAU,GACX,GAAG,KAAK,CAAC;IACV,SAAS,YAAY;QACnB,YAAY,CAAC,KAAK,CAAC,CAAC;IACtB,CAAC;IACD,OAAO,CACL,KAAC,KAAK,OACA,UAAU,EACd,YAAY,EAAE;YACZ,SAAS,EAAE,aAAa;SACzB,EACD,YAAY,EAAE,YAAY,EAC1B,IAAI,EAAE,IAAI,YAEV,kBACM,cAAc,EAClB,SAAS,EAAE,OAAO,CAChB,+BAA+B,EAC/B,cAAc,EAAE,SAAS,CAC1B,aAED,eAAK,SAAS,EAAC,sBAAsB,aACnC,aAAI,SAAS,EAAC,mBAAmB,kCAAuB,EACxD,iBACE,SAAS,EAAC,+GAA+G,EACzH,OAAO,EAAE,YAAY,EACrB,QAAQ,EAAE,CAAC,CAAC,YAEZ,KAAC,IAAI,IAAC,IAAI,EAAC,YAAY,EAAC,IAAI,EAAE,EAAE,GAAI,GAC7B,IACL,EACN,KAAC,OAAO,IAAC,SAAS,EAAC,MAAM,GAAG,EAC5B,KAAC,iBAAiB,IAChB,QAAQ,EAAE,YAAY,EACtB,QAAQ,EAAE,QAAQ,EAClB,UAAU,EAAE,UAAU,GACtB,IACE,GACA,CACT,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"add-local-drive-modal.js","sourceRoot":"","sources":["../../../../../src/connect/components/modal/add-local-drive-modal.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAC;AAE3D,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAWpE,MAAM,UAAU,kBAAkB,CAAC,KAAyB;IAC1D,MAAM,EACJ,IAAI,EACJ,YAAY,EACZ,QAAQ,EACR,UAAU,EACV,cAAc,EACd,UAAU,GACX,GAAG,KAAK,CAAC;IACV,SAAS,YAAY;QACnB,YAAY,CAAC,KAAK,CAAC,CAAC;IACtB,CAAC;IACD,OAAO,CACL,KAAC,KAAK,OACA,UAAU,EACd,YAAY,EAAE;YACZ,SAAS,EAAE,aAAa;SACzB,EACD,YAAY,EAAE,YAAY,EAC1B,IAAI,EAAE,IAAI,YAEV,kBACM,cAAc,EAClB,SAAS,EAAE,OAAO,CAChB,+BAA+B,EAC/B,cAAc,EAAE,SAAS,CAC1B,aAED,eAAK,SAAS,EAAC,sBAAsB,aACnC,aAAI,SAAS,EAAC,mBAAmB,kCAAuB,EACxD,iBACE,SAAS,EAAC,+GAA+G,EACzH,OAAO,EAAE,YAAY,EACrB,QAAQ,EAAE,CAAC,CAAC,YAEZ,KAAC,IAAI,IAAC,IAAI,EAAC,YAAY,EAAC,IAAI,EAAE,EAAE,GAAI,GAC7B,IACL,EACN,KAAC,OAAO,IAAC,SAAS,EAAC,MAAM,GAAG,EAC5B,KAAC,iBAAiB,IAChB,QAAQ,EAAE,YAAY,EACtB,QAAQ,EAAE,QAAQ,EAClB,UAAU,EAAE,UAAU,GACtB,IACE,GACA,CACT,CAAC;AACJ,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"add-local-drive-modal.stories.d.ts","sourceRoot":"","sources":["../../../../../src/connect/components/modal/add-local-drive-modal.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAEhE,QAAA,MAAM,IAAI;;;CAGiC,CAAC;AAE5C,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAsDrB,CAAC"}
1
+ {"version":3,"file":"add-local-drive-modal.stories.d.ts","sourceRoot":"","sources":["../../../../../src/connect/components/modal/add-local-drive-modal.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAEhE,QAAA,MAAM,IAAI;;;CAGiC,CAAC;AAE5C,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAyDrB,CAAC"}
@@ -15,17 +15,20 @@ export const Default = {
15
15
  {
16
16
  id: "powerhouse/common",
17
17
  name: "Generic Drive Explorer",
18
- driveEditor: "GenericDriveExplorer",
18
+ sharingType: "LOCAL",
19
+ availableOffline: false,
19
20
  },
20
21
  {
21
22
  id: "powerhouse/invoice/contributor",
22
23
  name: "Contributor App",
23
- driveEditor: "ContributorDrive",
24
+ sharingType: "LOCAL",
25
+ availableOffline: false,
24
26
  },
25
27
  {
26
28
  id: "powerhouse/invoice/administrator",
27
29
  name: "OH Administrator App",
28
- driveEditor: "AdministratorDrive",
30
+ sharingType: "LOCAL",
31
+ availableOffline: false,
29
32
  },
30
33
  ],
31
34
  },
@@ -1 +1 @@
1
- {"version":3,"file":"add-local-drive-modal.stories.js","sourceRoot":"","sources":["../../../../../src/connect/components/modal/add-local-drive-modal.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAEjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAEhE,MAAM,IAAI,GAAG;IACX,KAAK,EAAE,uCAAuC;IAC9C,SAAS,EAAE,kBAAkB;CACY,CAAC;AAE5C,eAAe,IAAI,CAAC;AAIpB,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE;QACJ,IAAI,EAAE,IAAI;QACV,QAAQ,KAAI,CAAC;QACb,YAAY,KAAI,CAAC;QACjB,UAAU,EAAE;YACV;gBACE,EAAE,EAAE,mBAAmB;gBACvB,IAAI,EAAE,wBAAwB;gBAC9B,WAAW,EAAE,sBAAsB;aACpC;YACD;gBACE,EAAE,EAAE,gCAAgC;gBACpC,IAAI,EAAE,iBAAiB;gBACvB,WAAW,EAAE,kBAAkB;aAChC;YACD;gBACE,EAAE,EAAE,kCAAkC;gBACtC,IAAI,EAAE,sBAAsB;gBAC5B,WAAW,EAAE,oBAAoB;aAClC;SACF;KACF;IACD,MAAM,EAAE,SAAS,OAAO,CAAC,IAAI;QAC3B,MAAM,CAAC,EAAE,OAAO,CAAC,GAAG,OAAO,EAAe,CAAC;QAE3C,OAAO,CACL,eAAK,SAAS,EAAC,mCAAmC,aAChD,iBACE,SAAS,EAAC,sCAAsC,EAChD,OAAO,EAAE,GAAG,EAAE;wBACZ,OAAO,CAAC;4BACN,GAAG,IAAI;4BACP,IAAI,EAAE,IAAI;yBACX,CAAC,CAAC;oBACL,CAAC,2BAGM,EACT,KAAC,kBAAkB,OACb,IAAI,EACR,UAAU,EAAE;wBACV,GAAG,IAAI,CAAC,UAAU;wBAClB,YAAY,EAAE,CAAC,IAAI,EAAE,EAAE;4BACrB,OAAO,CAAC;gCACN,GAAG,IAAI;gCACP,IAAI;6BACL,CAAC,CAAC;wBACL,CAAC;qBACF,GACD,IACE,CACP,CAAC;IACJ,CAAC;CACF,CAAC"}
1
+ {"version":3,"file":"add-local-drive-modal.stories.js","sourceRoot":"","sources":["../../../../../src/connect/components/modal/add-local-drive-modal.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAEjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAEhE,MAAM,IAAI,GAAG;IACX,KAAK,EAAE,uCAAuC;IAC9C,SAAS,EAAE,kBAAkB;CACY,CAAC;AAE5C,eAAe,IAAI,CAAC;AAIpB,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE;QACJ,IAAI,EAAE,IAAI;QACV,QAAQ,KAAI,CAAC;QACb,YAAY,KAAI,CAAC;QACjB,UAAU,EAAE;YACV;gBACE,EAAE,EAAE,mBAAmB;gBACvB,IAAI,EAAE,wBAAwB;gBAC9B,WAAW,EAAE,OAAO;gBACpB,gBAAgB,EAAE,KAAK;aACxB;YACD;gBACE,EAAE,EAAE,gCAAgC;gBACpC,IAAI,EAAE,iBAAiB;gBACvB,WAAW,EAAE,OAAO;gBACpB,gBAAgB,EAAE,KAAK;aACxB;YACD;gBACE,EAAE,EAAE,kCAAkC;gBACtC,IAAI,EAAE,sBAAsB;gBAC5B,WAAW,EAAE,OAAO;gBACpB,gBAAgB,EAAE,KAAK;aACxB;SACF;KACF;IACD,MAAM,EAAE,SAAS,OAAO,CAAC,IAAI;QAC3B,MAAM,CAAC,EAAE,OAAO,CAAC,GAAG,OAAO,EAAe,CAAC;QAE3C,OAAO,CACL,eAAK,SAAS,EAAC,mCAAmC,aAChD,iBACE,SAAS,EAAC,sCAAsC,EAChD,OAAO,EAAE,GAAG,EAAE;wBACZ,OAAO,CAAC;4BACN,GAAG,IAAI;4BACP,IAAI,EAAE,IAAI;yBACX,CAAC,CAAC;oBACL,CAAC,2BAGM,EACT,KAAC,kBAAkB,OACb,IAAI,EACR,UAAU,EAAE;wBACV,GAAG,IAAI,CAAC,UAAU;wBAClB,YAAY,EAAE,CAAC,IAAI,EAAE,EAAE;4BACrB,OAAO,CAAC;gCACN,GAAG,IAAI;gCACP,IAAI;6BACL,CAAC,CAAC;wBACL,CAAC;qBACF,GACD,IACE,CACP,CAAC;IACJ,CAAC;CACF,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import type { DivProps } from "@powerhousedao/design-system";
2
2
  import { Modal } from "@powerhousedao/design-system";
3
- import type { SharingType } from "document-drive";
3
+ import type { SharingType } from "@powerhousedao/shared/document-drive";
4
4
  import type { ComponentPropsWithoutRef } from "react";
5
5
  import { type AddPublicDriveFormProps, type AddRemoteDriveInput } from "../form/add-remote-drive-form.js";
6
6
  type ModalProps = ComponentPropsWithoutRef<typeof Modal>;
@@ -1 +1 @@
1
- {"version":3,"file":"add-remote-drive-modal.d.ts","sourceRoot":"","sources":["../../../../../src/connect/components/modal/add-remote-drive-modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EA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C,OAAO,KAAK,CAAC,CAAC;AACzD,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAC/C,QAAQ,CAAC,QAAQ,EAAE,CAAC,IAAI,EAAE,mBAAmB,KAAK,IAAI,CAAC;IACvD,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAC;IAClC,QAAQ,CAAC,UAAU,CAAC,EAAE,UAAU,CAAC;IACjC,QAAQ,CAAC,cAAc,CAAC,EAAE,QAAQ,CAAC;CACpC,GAAG,IAAI,CAAC,uBAAuB,EAAE,oBAAoB,CAAC,CAAC;AACxD,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,mBAAmB,2CAiD7D"}
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Icon, Modal, PowerhouseButton } from "@powerhousedao/design-system";
3
- import { isValidName } from "document-drive";
3
+ import { isValidName } from "@powerhousedao/shared/document-drive";
4
4
  import { useCallback, useState } from "react";
5
5
  import { twMerge } from "tailwind-merge";
6
6
  import { FormInput } from "../form-input/form-input.js";
@@ -1 +1 @@
1
- {"version":3,"file":"create-document-modal.js","sourceRoot":"","sources":["../../../../../src/connect/components/modal/create-document-modal.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAC7E,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAExD,MAAM,YAAY,GAChB,iJAAiJ,CAAC;AAQpJ,MAAM,wBAAwB,G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,gBACE,IAAI,EAAC,iBAAiB,EACtB,SAAS,EAAC,8BAA8B,EACxC,QAAQ,EAAE,YAAY,aAEtB,cAAK,SAAS,EAAC,gEAAgE,sCAEzE,EACN,eAAK,SAAS,EAAC,MAAM,aAClB,CAAC,OAAO,IAAI,QAAQ,IAAI,CACvB,cAAK,SAAS,EAAC,mBAAmB,4DAE5B,CACP,EACD,KAAC,SAAS,IACR,IAAI,EAAE,KAAC,IAAI,IAAC,IAAI,EAAC,YAAY,GAAG,EAChC,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE;gCACd,MAAM,IAAI,GAAG,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC;gCAC5B,WAAW,CAAC,IAAI,CAAC,CAAC;gCAClB,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC;4BAChC,CAAC,EACD,WAAW,EAAC,eAAe,EAC3B,QAAQ,QACR,KAAK,EAAE,QAAQ,GACf,IACE,EACN,eAAK,SAAS,EAAC,iCAAiC,aAC9C,iBACE,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE,OAAO,CAChB,YAAY,EACZ,mCAAmC,CACpC,EACD,OAAO,EAAE,YAAY,uBAGd,EACT,KAAC,gBAAgB,IACf,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE,OAAO,CAAC,YAAY,EAAE,iCAAiC,CAAC,EACnE,QAAQ,EAAE,CAAC,OAAO,uBAGD,IACf,IACD,GACD,CACT,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"create-document-modal.js","sourceRoot":"","sources":["../../../../../src/connect/components/modal/create-document-modal.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAC7E,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AAEnE,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAA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,CAAC;SAC3D,EACD,YAAY,EAAE,YAAY,EAC1B,YAAY,EAAE;YACZ,GAAG,YAAY;YACf,SAAS,EAAE,YAAY,EAAE,SAAS;SACnC,KACG,SAAS,YAEb,gBACE,IAAI,EAAC,iBAAiB,EACtB,SAAS,EAAC,8BAA8B,EACxC,QAAQ,EAAE,YAAY,aAEtB,cAAK,SAAS,EAAC,gEAAgE,sCAEzE,EACN,eAAK,SAAS,EAAC,MAAM,aAClB,CAAC,OAAO,IAAI,QAAQ,IAAI,CACvB,cAAK,SAAS,EAAC,mBAAmB,4DAE5B,CACP,EACD,KAAC,SAAS,IACR,IAAI,EAAE,KAAC,IAAI,IAAC,IAAI,EAAC,YAAY,GAAG,EAChC,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE;gCACd,MAAM,IAAI,GAAG,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC;gCAC5B,WAAW,CAAC,IAAI,CAAC,CAAC;gCAClB,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC;4BAChC,CAAC,EACD,WAAW,EAAC,eAAe,EAC3B,QAAQ,QACR,KAAK,EAAE,QAAQ,GACf,IACE,EACN,eAAK,SAAS,EAAC,iCAAiC,aAC9C,iBACE,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE,OAAO,CAChB,YAAY,EACZ,mCAAmC,CACpC,EACD,OAAO,EAAE,YAAY,uBAGd,EACT,KAAC,gBAAgB,IACf,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE,OAAO,CAAC,YAAY,EAAE,iCAAiC,CAAC,EACnE,QAAQ,EAAE,CAAC,OAAO,uBAGD,IACf,IACD,GACD,CACT,CAAC;AACJ,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"delete-item-modal.d.ts","sourceRoot":"","sources":["../../../../../src/connect/components/modal/delete-item-modal.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,sBAAsB,EAE5B,MAAM,yBAAyB,CAAC;AAEjC,MAAM,WAAW,2BACf,SAAQ,IAAI,CAAC,sBAAsB,EAAE,YAAY,GAAG,eAAe,CAAC;IACpE,QAAQ,CAAC,QAAQ,EAAE,MAAM,IAAI,CAAC;IAC9B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B;AAED,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,2BAA2B,2CAcxE"}
1
+ {"version":3,"file":"delete-item-modal.d.ts","sourceRoot":"","sources":["../../../../../src/connect/components/modal/delete-item-modal.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,sBAAsB,EAE5B,MAAM,yBAAyB,CAAC;AAEjC,MAAM,WAAW,2BAA4B,SAAQ,IAAI,CACvD,sBAAsB,EACtB,YAAY,GAAG,eAAe,CAC/B;IACC,QAAQ,CAAC,QAAQ,EAAE,MAAM,IAAI,CAAC;IAC9B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B;AAED,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,2BAA2B,2CAcxE"}
@@ -1 +1 @@
1
- {"version":3,"file":"delete-item-modal.js","sourceRoot":"","sources":["../../../../../src/connect/components/modal/delete-item-modal.tsx"],"names":[],"mappings":";AAAA,OAAO,EAEL,wBAAwB,GACzB,MAAM,yBAAyB,CAAC;AAQjC,MAAM,UAAU,sBAAsB,CAAC,KAAkC;IACvE,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,GAAG,SAAS,EAAE,GAAG,KAAK,CAAC;IAEtD,OAAO,CACL,KAAC,wBAAwB,OACnB,SAAS,EACb,cAAc,EAAE,EAAE,SAAS,EAAE,WAAW,EAAE,EAC1C,mBAAmB,EAAE;YACnB,SAAS,EAAE,YAAY;SACxB,EACD,aAAa,EAAE,WAAW,EAC1B,UAAU,EAAE,QAAQ,GACpB,CACH,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"delete-item-modal.js","sourceRoot":"","sources":["../../../../../src/connect/components/modal/delete-item-modal.tsx"],"names":[],"mappings":";AAAA,OAAO,EAEL,wBAAwB,GACzB,MAAM,yBAAyB,CAAC;AAUjC,MAAM,UAAU,sBAAsB,CAAC,KAAkC;IACvE,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,GAAG,SAAS,EAAE,GAAG,KAAK,CAAC;IAEtD,OAAO,CACL,KAAC,wBAAwB,OACnB,SAAS,EACb,cAAc,EAAE,EAAE,SAAS,EAAE,WAAW,EAAE,EAC1C,mBAAmB,EAAE;YACnB,SAAS,EAAE,YAAY;SACxB,EACD,aAAa,EAAE,WAAW,EAC1B,UAAU,EAAE,QAAQ,GACpB,CACH,CAAC;AACJ,CAAC"}