@powerhousedao/design-system 6.0.0-dev.234 → 6.0.0-dev.236

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 (151) hide show
  1. package/dist/{button-C8doazjv.d.ts → button-DIE3LLBZ.d.ts} +1 -1
  2. package/dist/{button-C8doazjv.d.ts.map → button-DIE3LLBZ.d.ts.map} +1 -1
  3. package/dist/{character-counter-BWoglM2P.d.ts → character-counter-BZ-4xC7Q.d.ts} +1 -1
  4. package/dist/{character-counter-BWoglM2P.d.ts.map → character-counter-BZ-4xC7Q.d.ts.map} +1 -1
  5. package/dist/{checkbox-D9rmZ1dJ.d.ts → checkbox-BgS8z46p.d.ts} +3 -3
  6. package/dist/{checkbox-D9rmZ1dJ.d.ts.map → checkbox-BgS8z46p.d.ts.map} +1 -1
  7. package/dist/{checkbox-base-CZo-4eL0.d.ts → checkbox-base-Bh08IVG2.d.ts} +1 -1
  8. package/dist/{checkbox-base-CZo-4eL0.d.ts.map → checkbox-base-Bh08IVG2.d.ts.map} +1 -1
  9. package/dist/{command-CbTi7Jj2.d.ts → command-EVLVv94t.d.ts} +8 -8
  10. package/dist/{command-CbTi7Jj2.d.ts.map → command-EVLVv94t.d.ts.map} +1 -1
  11. package/dist/connect/index.d.ts +1266 -3
  12. package/dist/connect/index.d.ts.map +1 -0
  13. package/dist/connect/index.js +8193 -2
  14. package/dist/connect/index.js.map +1 -0
  15. package/dist/{content-DJVuhrPq.d.ts → content-ZWaCzypo.d.ts} +2 -2
  16. package/dist/{content-DJVuhrPq.d.ts.map → content-ZWaCzypo.d.ts.map} +1 -1
  17. package/dist/{enum-field-C-HqOUUb.d.ts → enum-field-CU6jo1T9.d.ts} +4 -4
  18. package/dist/{enum-field-C-HqOUUb.d.ts.map → enum-field-CU6jo1T9.d.ts.map} +1 -1
  19. package/dist/{form-CKRKn0TQ.d.ts → form-6Lmx7pU_.d.ts} +1 -1
  20. package/dist/{form-CKRKn0TQ.d.ts.map → form-6Lmx7pU_.d.ts.map} +1 -1
  21. package/dist/{form-description-CYkcMEzm.d.ts → form-description-Bsurk7mm.d.ts} +1 -1
  22. package/dist/{form-description-CYkcMEzm.d.ts.map → form-description-Bsurk7mm.d.ts.map} +1 -1
  23. package/dist/{form-group-C8kL6pdZ.d.ts → form-group-B092xF-f.d.ts} +1 -1
  24. package/dist/form-group-B092xF-f.d.ts.map +1 -0
  25. package/dist/{form-label-b6nQi0XO.d.ts → form-label-CURXUfpb.d.ts} +1 -1
  26. package/dist/{form-label-b6nQi0XO.d.ts.map → form-label-CURXUfpb.d.ts.map} +1 -1
  27. package/dist/{form-message-Dq72nBXz.d.ts → form-message-BeAVBzjc.d.ts} +1 -1
  28. package/dist/{form-message-Dq72nBXz.d.ts.map → form-message-BeAVBzjc.d.ts.map} +1 -1
  29. package/dist/{form-server-error-message-DXbaiTfF.d.ts → form-server-error-message-CbKMtocn.d.ts} +1 -1
  30. package/dist/{form-server-error-message-DXbaiTfF.d.ts.map → form-server-error-message-CbKMtocn.d.ts.map} +1 -1
  31. package/dist/{id-autocomplete-D_0Y3vO6.d.ts → id-autocomplete-DGTfhFRw.d.ts} +2 -2
  32. package/dist/{id-autocomplete-D_0Y3vO6.d.ts.map → id-autocomplete-DGTfhFRw.d.ts.map} +1 -1
  33. package/dist/{id-autocomplete-input-container-BBPnEQKE.d.ts → id-autocomplete-input-container-DefHskQg.d.ts} +2 -2
  34. package/dist/{id-autocomplete-input-container-BBPnEQKE.d.ts.map → id-autocomplete-input-container-DefHskQg.d.ts.map} +1 -1
  35. package/dist/{id-autocomplete-list-yagWAecF.d.ts → id-autocomplete-list-C5uiH5nJ.d.ts} +2 -2
  36. package/dist/{id-autocomplete-list-yagWAecF.d.ts.map → id-autocomplete-list-C5uiH5nJ.d.ts.map} +1 -1
  37. package/dist/{id-autocomplete-list-option-BtGmT-PL.d.ts → id-autocomplete-list-option-CyF3v8IB.d.ts} +2 -2
  38. package/dist/{id-autocomplete-list-option-BtGmT-PL.d.ts.map → id-autocomplete-list-option-CyF3v8IB.d.ts.map} +1 -1
  39. package/dist/{index-C8XGTcEE.d.ts → index-DoFR9kRM.d.ts} +4 -67
  40. package/dist/index-DoFR9kRM.d.ts.map +1 -0
  41. package/dist/index.d.ts +3 -3
  42. package/dist/{input-BpEQjaWV.d.ts → input-BMf1G8BP.d.ts} +1 -1
  43. package/dist/{input-BpEQjaWV.d.ts.map → input-BMf1G8BP.d.ts.map} +1 -1
  44. package/dist/{json-viewer-DaTgmzkS.d.ts → json-viewer-DD7b-PP2.d.ts} +1 -1
  45. package/dist/{json-viewer-DaTgmzkS.d.ts.map → json-viewer-DD7b-PP2.d.ts.map} +1 -1
  46. package/dist/{message-list-C4mPpBBa.d.ts → message-list-DDi6OrSM.d.ts} +2 -2
  47. package/dist/{message-list-C4mPpBBa.d.ts.map → message-list-DDi6OrSM.d.ts.map} +1 -1
  48. package/dist/{popover-XSBOuSih.d.ts → popover-BXlVJZZW.d.ts} +1 -1
  49. package/dist/{popover-XSBOuSih.d.ts.map → popover-BXlVJZZW.d.ts.map} +1 -1
  50. package/dist/{radio-eL0Oy86J.d.ts → radio-YzIhzpRk.d.ts} +1 -1
  51. package/dist/{radio-eL0Oy86J.d.ts.map → radio-YzIhzpRk.d.ts.map} +1 -1
  52. package/dist/{radio-group-Bkli6nUz.d.ts → radio-group-D2NSfihe.d.ts} +1 -1
  53. package/dist/{radio-group-Bkli6nUz.d.ts.map → radio-group-D2NSfihe.d.ts.map} +1 -1
  54. package/dist/{radio-group-field-CvEiKxgz.d.ts → radio-group-field-maxYxQ6A.d.ts} +2 -2
  55. package/dist/{radio-group-field-CvEiKxgz.d.ts.map → radio-group-field-maxYxQ6A.d.ts.map} +1 -1
  56. package/dist/{search-autocomplete-BJJkrZ1i.d.ts → search-autocomplete-CfSjqceY.d.ts} +2 -2
  57. package/dist/{search-autocomplete-BJJkrZ1i.d.ts.map → search-autocomplete-CfSjqceY.d.ts.map} +1 -1
  58. package/dist/{select-field-DTnErvyf.d.ts → select-field-U8KSDxbg.d.ts} +2 -2
  59. package/dist/{select-field-DTnErvyf.d.ts.map → select-field-U8KSDxbg.d.ts.map} +1 -1
  60. package/dist/{selected-content-BFFMrHZW.d.ts → selected-content-iwV6vmSI.d.ts} +2 -2
  61. package/dist/{selected-content-BFFMrHZW.d.ts.map → selected-content-iwV6vmSI.d.ts.map} +1 -1
  62. package/dist/{splitted-input-diff-BuvB5vhe.d.ts → splitted-input-diff-DSME-KaQ.d.ts} +2 -2
  63. package/dist/{splitted-input-diff-BuvB5vhe.d.ts.map → splitted-input-diff-DSME-KaQ.d.ts.map} +1 -1
  64. package/dist/style.css +3 -133
  65. package/dist/{text-field-DQ89eiZL.d.ts → text-field-Cxpz1D2u.d.ts} +3 -3
  66. package/dist/{text-field-DQ89eiZL.d.ts.map → text-field-Cxpz1D2u.d.ts.map} +1 -1
  67. package/dist/{text-input-diff-K3kzOkxj.d.ts → text-input-diff-bO84di00.d.ts} +2 -2
  68. package/dist/{text-input-diff-K3kzOkxj.d.ts.map → text-input-diff-bO84di00.d.ts.map} +1 -1
  69. package/dist/{text-input-C_Dl2L8-.d.ts → text-input-t0uGOMAO.d.ts} +3 -3
  70. package/dist/{text-input-C_Dl2L8-.d.ts.map → text-input-t0uGOMAO.d.ts.map} +1 -1
  71. package/dist/{tooltip-CsucyiCV.d.ts → tooltip-Db1dLIxg.d.ts} +1 -1
  72. package/dist/{tooltip-CsucyiCV.d.ts.map → tooltip-Db1dLIxg.d.ts.map} +1 -1
  73. package/dist/{types-C04Q_Fan.d.ts → types-BDeBOEOj.d.ts} +1 -1
  74. package/dist/{types-C04Q_Fan.d.ts.map → types-BDeBOEOj.d.ts.map} +1 -1
  75. package/dist/{types-BTq-St7H.d.ts → types-BLss8ZBX.d.ts} +1 -1
  76. package/dist/{types-BTq-St7H.d.ts.map → types-BLss8ZBX.d.ts.map} +1 -1
  77. package/dist/{types-Bsn62tJB.d.ts → types-BzoMu6VB.d.ts} +1 -1
  78. package/dist/{types-Bsn62tJB.d.ts.map → types-BzoMu6VB.d.ts.map} +1 -1
  79. package/dist/ui/components/button/button.d.ts +1 -1
  80. package/dist/ui/components/character-counter/character-counter.d.ts +1 -1
  81. package/dist/ui/components/checkbox/checkbox-base.d.ts +1 -1
  82. package/dist/ui/components/checkbox/checkbox.d.ts +1 -1
  83. package/dist/ui/components/command/command.d.ts +1 -1
  84. package/dist/ui/components/enum-field/enum-field.d.ts +1 -1
  85. package/dist/ui/components/enum-field/types.d.ts +1 -1
  86. package/dist/ui/components/form/form.d.ts +1 -1
  87. package/dist/ui/components/form-description/form-description.d.ts +1 -1
  88. package/dist/ui/components/form-group/form-group.d.ts +1 -1
  89. package/dist/ui/components/form-label/form-label.d.ts +1 -1
  90. package/dist/ui/components/form-message/form-message.d.ts +1 -1
  91. package/dist/ui/components/form-message/form-server-error-message.d.ts +1 -1
  92. package/dist/ui/components/form-message/message-list.d.ts +1 -1
  93. package/dist/ui/components/id-autocomplete/id-autocomplete-input-container.d.ts +1 -1
  94. package/dist/ui/components/id-autocomplete/id-autocomplete-list-option.d.ts +1 -1
  95. package/dist/ui/components/id-autocomplete/id-autocomplete-list.d.ts +1 -1
  96. package/dist/ui/components/id-autocomplete/id-autocomplete.d.ts +1 -1
  97. package/dist/ui/components/id-autocomplete/types.d.ts +1 -1
  98. package/dist/ui/components/id-autocomplete/use-id-autocomplete.d.ts +1 -1
  99. package/dist/ui/components/index.d.ts +36 -36
  100. package/dist/ui/components/input/input.d.ts +1 -1
  101. package/dist/ui/components/input/splitted-input-diff.d.ts +1 -1
  102. package/dist/ui/components/input/subcomponent/text-diff.d.ts +1 -1
  103. package/dist/ui/components/json-viewer/json-viewer.d.ts +1 -1
  104. package/dist/ui/components/popover/popover.d.ts +1 -1
  105. package/dist/ui/components/radio-group-field/radio-group-field.d.ts +1 -1
  106. package/dist/ui/components/radio-group-field/radio-group.d.ts +1 -1
  107. package/dist/ui/components/radio-group-field/radio.d.ts +1 -1
  108. package/dist/ui/components/search-autocomplete/index.d.ts +3 -3
  109. package/dist/ui/components/search-autocomplete/search-autocomplete.d.ts +1 -1
  110. package/dist/ui/components/search-autocomplete/types.d.ts +1 -1
  111. package/dist/ui/components/search-autocomplete/use-search-autocomplete.d.ts +1 -1
  112. package/dist/ui/components/select-field/content.d.ts +1 -1
  113. package/dist/ui/components/select-field/select-field.d.ts +1 -1
  114. package/dist/ui/components/select-field/selected-content.d.ts +1 -1
  115. package/dist/ui/components/select-field/subcomponents/CommandItemList.d.ts +1 -1
  116. package/dist/ui/components/select-field/use-select-field.d.ts +1 -1
  117. package/dist/ui/components/text-field/text-field.d.ts +1 -1
  118. package/dist/ui/components/text-input/text-input-diff.d.ts +1 -1
  119. package/dist/ui/components/text-input/text-input.d.ts +1 -1
  120. package/dist/ui/components/text-input/types.d.ts +1 -1
  121. package/dist/ui/components/tooltip/tooltip.d.ts +1 -1
  122. package/dist/ui/components/types.d.ts +1 -1
  123. package/dist/ui/components/value-transformer/value-transformer.d.ts +1 -1
  124. package/dist/ui/components/with-field-validation/with-field-validation.d.ts +1 -1
  125. package/dist/ui/index.d.ts +38 -38
  126. package/dist/ui/lib/date-picker.d.ts +1 -1
  127. package/dist/ui/lib/shared-value-transformers.d.ts +1 -1
  128. package/dist/ui/lib/types.d.ts +1 -1
  129. package/dist/ui/types.d.ts +2 -2
  130. package/dist/{use-id-autocomplete-DrTVtqMy.d.ts → use-id-autocomplete-BRzpIF4U.d.ts} +2 -2
  131. package/dist/{use-id-autocomplete-DrTVtqMy.d.ts.map → use-id-autocomplete-BRzpIF4U.d.ts.map} +1 -1
  132. package/dist/{use-search-autocomplete-IfcQ_gKh.d.ts → use-search-autocomplete-ZLxfAC6X.d.ts} +2 -2
  133. package/dist/{use-search-autocomplete-IfcQ_gKh.d.ts.map → use-search-autocomplete-ZLxfAC6X.d.ts.map} +1 -1
  134. package/dist/{value-transformer-2yvrA5Rp.d.ts → value-transformer-MGhQTCdM.d.ts} +2 -2
  135. package/dist/{value-transformer-2yvrA5Rp.d.ts.map → value-transformer-MGhQTCdM.d.ts.map} +1 -1
  136. package/dist/{with-field-validation-Bd0Nq4k-.d.ts → with-field-validation-DWMigXJz.d.ts} +2 -2
  137. package/dist/{with-field-validation-Bd0Nq4k-.d.ts.map → with-field-validation-DWMigXJz.d.ts.map} +1 -1
  138. package/package.json +4 -13
  139. package/dist/connect-BSkeWkEI.js +0 -8340
  140. package/dist/connect-BSkeWkEI.js.map +0 -1
  141. package/dist/form-group-C8kL6pdZ.d.ts.map +0 -1
  142. package/dist/index-C8XGTcEE.d.ts.map +0 -1
  143. package/dist/index-VqN1Wx2S.d.ts +0 -1201
  144. package/dist/index-VqN1Wx2S.d.ts.map +0 -1
  145. package/dist/rwa/index.d.ts +0 -791
  146. package/dist/rwa/index.d.ts.map +0 -1
  147. package/dist/rwa/index.js +0 -2686
  148. package/dist/rwa/index.js.map +0 -1
  149. /package/dist/{index--okzibnx.d.ts → index-BN8Gwmlj.d.ts} +0 -0
  150. /package/dist/{index-E7Wvm5uX.d.ts → index-Dw5cCt-A.d.ts} +0 -0
  151. /package/dist/{index-J3R2mDFQ.d.ts → index-qM4PwHTs.d.ts} +0 -0
@@ -1,3 +1,1266 @@
1
- import { $ as PackageManager, $n as Combobox, $t as AddPublicDriveFormProps, A as ConnectSelect, An as TimelineDividerItem, At as DriveSettingsModal, B as ConnectUpgradeDriveModalProps, Bn as DbClient, Bt as AddRemoteDriveModal, C as SidebarLoginProps, Cn as DropZoneWrapper, Ct as RemotesInspectorProps, D as ConnectSidebarFooter, Dn as DocumentTimeline, Dt as ProcessorInfo, E as ConnectSidebarHeaderProps, En as DocumentToolbarProps, Et as QueueState, F as RevisionHistory, Fn as DefaultEditorLoader, Ft as ConnectDeleteDriveModalProps, G as ClearStorageSettingsRow, Gn as ColumnInfo, Gt as LoadingScreenProps, H as SettingsModalOldProps, Hn as PgVersionControl, Ht as AddDriveModal, I as ObjectInspectorModal, In as DebugInspector, It as CreateDocumentModal, J as SettingsRowProps, Jn as FilterOperator, Jt as HomeScreen, K as ClearStorageSettingsRowProps, Kn as FilterClause, Kt as IntegrityInspector, L as ObjectInspectorModalProps, Ln as DebugInspectorProps, Lt as CreateDocumentModalProps, M as ConnectSelectProps, Mn as DocumentStateViewer, Mt as ConnectDeleteItemModal, N as ConnectSearchBar, Nn as Divider, Nt as ConnectDeleteItemModalProps, O as ConnectSidebarFooterProps, On as DocumentTimelineProps, Ot as ProcessorsInspector, P as ConnectSearchBarProps, Pn as Disclosure, Pt as ConnectDeleteDriveModal, Q as RegistryStatus, Qn as CookieInput, Qt as FormattedJsonViewer, R as NodeInput, Rn as DBExplorer, Rt as ConfirmationModalProps, S as SidebarLogin, Sn as UploadFileItemStatus, St as RemotesInspector, T as ConnectSidebarHeader, Tn as DocumentToolbarControl, Tt as QueueInspectorProps, U as DependencyVersions, Un as TablePage, Ut as AddDriveModalProps, V as SettingsModalOld, Vn as GetTableRowsOptions, Vt as AddLocalDriveModal, W as verifyPackageJsonFields, Wn as TableInfo, Wt as LoadingScreen, X as SettingsTab, Xn as CookieBanner, Xt as HomeScreenAddDriveItem, Y as SettingsModal, Yn as SortOptions, Yt as HomeScreenItem, Z as RegistryOption, Zn as CookieBannerProps, Zt as HomeBackgroundImage, _ as SyncStatusIconProps, _n as UploadFileListContainerProps, _t as ConnectionStateBadge, a as formatEthAddress, an as FooterLink, ar as AccountPopoverProps, at as DefaultEditorSelect, b as SidebarUser, bn as UploadFileItem, bt as ChannelInspectorProps, c as UploadFileList, cn as ENSAvatar, ct as ConnectReplaceDuplicateModal, d as ConnectTooltipProvider, dn as EditorActionButtons, dt as ReadRequiredModalProps, en as AddRemoteDriveForm, er as Breadcrumb, et as PackageManagerList, f as Toggle, fn as EditorActionButtonsProps, ft as PackageInstallModal, g as SyncStatusIcon, gn as UploadFileListContainer, gt as InspectorModalProps, h as TabContentProps, hn as ConnectDropdownMenuProps, ht as InspectorModal, i as sortFilesByStatus, in as Footer, ir as AccountPopover, it as DefaultEditor, j as ConnectSelectItem, jn as TimelineItem, jt as DriveSettingsModalProps, k as SidebarAddDriveItem, kn as TimelineBarItem, kt as ProcessorsInspectorProps, l as UploadFileListProps, ln as EditorUndoRedoButtons, lt as ConnectReplaceDuplicateModalProps, m as TabContent, mn as ConnectDropdownMenuItem, mt as PendingPackageInstallation, n as getFolderStatus, nn as AddLocalDriveForm, nr as Breadcrumbs, nt as PackageManagerInput, o as useEns, on as FolderItem, ot as DangerZone, p as Tabs, pn as ConnectDropdownMenu, pt as PackageInstallModalProps, q as SettingsRow, qn as FilterGroup, qt as IntegrityInspectorProps, r as removeSuccessFiles, rn as FormInput, rr as AnimatedLoader, rt as PackageManagerInputProps, s as useDrop, sn as FileItem, st as About, t as FileStatus, tn as AddRemoteDriveInput, tr as BreadcrumbProps, tt as PackageManagerListItem, u as ConnectTooltip, un as EditorUndoRedoButtonsProps, ut as ReadRequiredModal, v as ConnectSidebar, vn as DropZone, vt as ConnectionStateBadgeProps, w as SidebarItem, wn as DocumentToolbar, wt as QueueInspector, x as SidebarUserProps, xn as UploadFileItemProps, xt as ConnectionStateSummary, y as ConnectSidebarProps, yn as DropZoneProps, yt as ChannelInspector, z as ConnectUpgradeDriveModal, zn as DBExplorerProps, zt as ConnectConfirmationModal } from "../index-VqN1Wx2S.js";
2
- import { At as syncStatuses, Bt as sharingTypeOptions, Ct as AppOptions, Dt as MISSING, Et as INITIAL_SYNC, Ft as locationInfoByLocation, It as nodeOptions, Lt as nodeOptionsMap, Mt as debugNodeOptionsMap, Nt as defaultDriveOptions, Ot as SUCCESS, Pt as defaultNodeOptions, Rt as normalNodeOptions, Tt as ERROR, jt as debugNodeOptions, kt as SYNCING, wt as CONFLICT, zt as normalNodeOptionsMap } from "../index-C8XGTcEE.js";
3
- export { About, AccountPopover, AccountPopoverProps, AddDriveModal, AddDriveModalProps, AddLocalDriveForm, AddLocalDriveModal, AddPublicDriveFormProps, AddRemoteDriveForm, AddRemoteDriveInput, AddRemoteDriveModal, AnimatedLoader, AppOptions, Breadcrumb, BreadcrumbProps, Breadcrumbs, CONFLICT, ChannelInspector, ChannelInspectorProps, ClearStorageSettingsRow, ClearStorageSettingsRowProps, ColumnInfo, Combobox, ConfirmationModalProps, ConnectConfirmationModal, ConnectDeleteDriveModal, ConnectDeleteDriveModalProps, ConnectDeleteItemModal, ConnectDeleteItemModalProps, ConnectDropdownMenu, ConnectDropdownMenuItem, ConnectDropdownMenuProps, ConnectReplaceDuplicateModal, ConnectReplaceDuplicateModalProps, ConnectSearchBar, ConnectSearchBarProps, ConnectSelect, ConnectSelectItem, ConnectSelectProps, ConnectSidebar, ConnectSidebarFooter, ConnectSidebarFooterProps, ConnectSidebarHeader, ConnectSidebarHeaderProps, ConnectSidebarProps, ConnectTooltip, ConnectTooltipProvider, ConnectUpgradeDriveModal, ConnectUpgradeDriveModalProps, ConnectionStateBadge, ConnectionStateBadgeProps, ConnectionStateSummary, CookieBanner, CookieBannerProps, CookieInput, CreateDocumentModal, CreateDocumentModalProps, DBExplorer, DBExplorerProps, DangerZone, DbClient, DebugInspector, DebugInspectorProps, DefaultEditor, DefaultEditorLoader, DefaultEditorSelect, DependencyVersions, Disclosure, Divider, DocumentStateViewer, DocumentTimeline, DocumentTimelineProps, DocumentToolbar, DocumentToolbarControl, DocumentToolbarProps, DriveSettingsModal, DriveSettingsModalProps, DropZone, DropZoneProps, DropZoneWrapper, ENSAvatar, ERROR, EditorActionButtons, EditorActionButtonsProps, EditorUndoRedoButtons, EditorUndoRedoButtonsProps, FileItem, FileStatus, FilterClause, FilterGroup, FilterOperator, FolderItem, Footer, FooterLink, FormInput, FormattedJsonViewer, GetTableRowsOptions, HomeBackgroundImage, HomeScreen, HomeScreenAddDriveItem, HomeScreenItem, INITIAL_SYNC, InspectorModal, InspectorModalProps, IntegrityInspector, IntegrityInspectorProps, LoadingScreen, LoadingScreenProps, MISSING, NodeInput, ObjectInspectorModal, ObjectInspectorModalProps, PackageInstallModal, PackageInstallModalProps, PackageManager, PackageManagerInput, PackageManagerInputProps, PackageManagerList, PackageManagerListItem, PendingPackageInstallation, PgVersionControl, ProcessorInfo, ProcessorsInspector, ProcessorsInspectorProps, QueueInspector, QueueInspectorProps, QueueState, ReadRequiredModal, ReadRequiredModalProps, RegistryOption, RegistryStatus, RemotesInspector, RemotesInspectorProps, RevisionHistory, SUCCESS, SYNCING, SettingsModal, SettingsModalOld, SettingsModalOldProps, SettingsRow, SettingsRowProps, SettingsTab, SidebarAddDriveItem, SidebarItem, SidebarLogin, SidebarLoginProps, SidebarUser, SidebarUserProps, SortOptions, SyncStatusIcon, SyncStatusIconProps, TabContent, TabContentProps, TableInfo, TablePage, Tabs, TimelineBarItem, TimelineDividerItem, TimelineItem, Toggle, UploadFileItem, UploadFileItemProps, UploadFileItemStatus, UploadFileList, UploadFileListContainer, UploadFileListContainerProps, UploadFileListProps, debugNodeOptions, debugNodeOptionsMap, defaultDriveOptions, defaultNodeOptions, formatEthAddress, getFolderStatus, locationInfoByLocation, nodeOptions, nodeOptionsMap, normalNodeOptions, normalNodeOptionsMap, removeSuccessFiles, sharingTypeOptions, sortFilesByStatus, syncStatuses, useDrop, useEns, verifyPackageJsonFields };
1
+ import { D as Size, I as SidebarFooter, L as SidebarHeader, Q as Icon, S as SelectOption, T as DivProps, Z as Modal, _t as INITIAL_SYNC, bt as SYNCING, ft as SyncStatus$1, gt as ERROR, ht as CONFLICT, mt as AppOptions, nt as IconName, vt as MISSING, xt as syncStatuses, yt as SUCCESS } from "../index-DoFR9kRM.js";
2
+ import * as react from "react";
3
+ import React$1, { CSSProperties, ComponentProps, ComponentPropsWithRef, ComponentPropsWithoutRef, HTMLAttributes, ReactNode, RefAttributes } from "react";
4
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
5
+ import * as _radix_ui_react_tooltip0 from "@radix-ui/react-tooltip";
6
+ import { TooltipProps } from "@radix-ui/react-tooltip";
7
+ import { SubmitHandler } from "react-hook-form";
8
+ import { ConflictResolution, DocumentTypeIcon, DriveSystemInfoState, FileUploadProgress, IChannel, Job, RebuildResult, Remote, ValidationResult } from "@powerhousedao/reactor-browser";
9
+ import Select from "react-select";
10
+ import { Operation, PHDocument } from "@powerhousedao/shared/document-model";
11
+ import { JsonViewProps } from "@uiw/react-json-view";
12
+ import { DocumentDriveDocument, FileNode, FolderNode, Node, SharingType } from "@powerhousedao/shared/document-drive";
13
+ import { RegistryPackage, RegistryPackageList } from "@powerhousedao/shared/registry";
14
+
15
+ //#region src/connect/components/account-popover/account-popover.d.ts
16
+ interface AccountPopoverProps {
17
+ children: ReactNode;
18
+ content: ReactNode;
19
+ }
20
+ declare const AccountPopover: ({
21
+ children,
22
+ content
23
+ }: AccountPopoverProps) => react_jsx_runtime0.JSX.Element;
24
+ //#endregion
25
+ //#region src/connect/components/animated-loader/animated-loader.d.ts
26
+ type Props$12 = ComponentPropsWithoutRef<"video"> & {
27
+ readonly size?: Size;
28
+ };
29
+ declare function AnimatedLoader(props: Props$12): react_jsx_runtime0.JSX.Element;
30
+ //#endregion
31
+ //#region src/connect/components/breadcrumbs/breadcrumbs.d.ts
32
+ declare function Breadcrumbs(): react_jsx_runtime0.JSX.Element;
33
+ type BreadcrumbProps = {
34
+ name: string;
35
+ id: string | undefined;
36
+ parentId: string | null | undefined;
37
+ onClick: () => void;
38
+ };
39
+ declare function Breadcrumb(props: BreadcrumbProps): react_jsx_runtime0.JSX.Element;
40
+ //#endregion
41
+ //#region src/connect/components/combobox/combobox.d.ts
42
+ type SelectProps = ComponentPropsWithoutRef<typeof Select>;
43
+ type Props$11 = Omit<SelectProps, "components" | "styles" | "theme"> & {
44
+ readonly addItemButtonProps?: {
45
+ label?: ReactNode;
46
+ onClick?: () => void;
47
+ };
48
+ };
49
+ declare function Combobox(props: Props$11): react_jsx_runtime0.JSX.Element;
50
+ //#endregion
51
+ //#region src/connect/components/cookie-banner/cookie-banner.d.ts
52
+ type CookieInput = {
53
+ id: string;
54
+ label: string;
55
+ value: boolean;
56
+ };
57
+ interface CookieBannerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onSubmit"> {
58
+ cookies: CookieInput[];
59
+ submitLabel?: string;
60
+ rejectLabel?: string;
61
+ onSubmit?: (cookies: CookieInput[]) => void;
62
+ onReject?: () => void;
63
+ }
64
+ declare const CookieBanner: React.FC<CookieBannerProps>;
65
+ //#endregion
66
+ //#region src/connect/components/db-explorer/components/table-view.d.ts
67
+ type ColumnInfo = {
68
+ readonly name: string;
69
+ readonly dataType: string;
70
+ readonly isNullable: boolean;
71
+ };
72
+ type SortDirection = "asc" | "desc";
73
+ type SortOptions = {
74
+ readonly column: string;
75
+ readonly direction: SortDirection;
76
+ };
77
+ type FilterOperator = "=" | "!=" | ">" | "<" | ">=" | "<=" | "LIKE" | "ILIKE" | "IS NULL" | "IS NOT NULL";
78
+ type FilterClause = {
79
+ readonly id: string;
80
+ readonly column: string;
81
+ readonly operator: FilterOperator;
82
+ readonly value: string;
83
+ };
84
+ type FilterGroup = {
85
+ readonly clauses: FilterClause[];
86
+ readonly connectors: ("AND" | "OR")[];
87
+ };
88
+ //#endregion
89
+ //#region src/connect/components/db-explorer/components/schema-tree-sidebar.d.ts
90
+ type TableInfo = {
91
+ readonly name: string;
92
+ readonly columns: ColumnInfo[];
93
+ };
94
+ //#endregion
95
+ //#region src/connect/components/db-explorer/db-explorer.d.ts
96
+ type GetTableRowsOptions = {
97
+ readonly schema?: string;
98
+ readonly limit: number;
99
+ readonly offset: number;
100
+ readonly sort?: SortOptions;
101
+ readonly filters?: FilterGroup;
102
+ };
103
+ type TablePage = {
104
+ readonly columns: string[];
105
+ readonly rows: Record<string, unknown>[];
106
+ readonly total: number | null;
107
+ };
108
+ interface DbClient {
109
+ readonly kind: string;
110
+ listTables(schema?: string): Promise<string[]>;
111
+ getTableSchema(table: string, schema?: string): Promise<ColumnInfo[]>;
112
+ getTableRows(table: string, options: GetTableRowsOptions): Promise<TablePage>;
113
+ }
114
+ type PgVersionControl = {
115
+ readonly currentPgVersion: number | null;
116
+ readonly supportedPgVersions: readonly number[];
117
+ readonly onResetToPgVersion: (major: number) => void | Promise<void>;
118
+ };
119
+ /** Props for the main DBExplorer component */
120
+ type DBExplorerProps = {
121
+ readonly schema: string;
122
+ readonly getTables: () => Promise<TableInfo[]>;
123
+ readonly getTableRows: (table: string, options: GetTableRowsOptions) => Promise<TablePage>;
124
+ readonly getDefaultSort?: (table: string) => SortOptions | undefined;
125
+ readonly pageSize?: number;
126
+ readonly onImportDb?: (sqlContent: string) => void | Promise<void>;
127
+ readonly onExportDb?: () => void | Promise<void>;
128
+ readonly pgVersionControl?: PgVersionControl;
129
+ };
130
+ declare function DBExplorer({
131
+ schema,
132
+ getTables,
133
+ getTableRows,
134
+ getDefaultSort,
135
+ pageSize,
136
+ onImportDb,
137
+ onExportDb,
138
+ pgVersionControl
139
+ }: DBExplorerProps): react_jsx_runtime0.JSX.Element;
140
+ //#endregion
141
+ //#region src/connect/components/debug-inspector/debug-inspector.d.ts
142
+ type DebugInspectorProps = {
143
+ readonly supportedPgVersions: readonly number[];
144
+ readonly currentPgVersion: number | null;
145
+ readonly onResetToPgVersion: (major: number) => Promise<void>;
146
+ };
147
+ declare function DebugInspector({
148
+ supportedPgVersions,
149
+ currentPgVersion,
150
+ onResetToPgVersion
151
+ }: DebugInspectorProps): react_jsx_runtime0.JSX.Element;
152
+ //#endregion
153
+ //#region src/connect/components/default-editor-loader/default-editor-loader.d.ts
154
+ type DefaultEditorLoaderProps = DivProps & {
155
+ readonly message?: string;
156
+ };
157
+ declare function DefaultEditorLoader(props: DefaultEditorLoaderProps): react_jsx_runtime0.JSX.Element;
158
+ //#endregion
159
+ //#region src/connect/components/disclosure/disclosure.d.ts
160
+ type DisclosureProps = {
161
+ title: ReactNode;
162
+ isOpen: boolean;
163
+ onOpenChange: () => void;
164
+ children: ReactNode;
165
+ containerClassName?: string;
166
+ toggleClassName?: string;
167
+ contentClassName?: string;
168
+ };
169
+ declare function Disclosure(props: DisclosureProps): react_jsx_runtime0.JSX.Element;
170
+ //#endregion
171
+ //#region src/connect/components/divider/divider.d.ts
172
+ declare function Divider(props: DivProps): react_jsx_runtime0.JSX.Element;
173
+ //#endregion
174
+ //#region src/connect/components/document-state-viewer/document-state-viewer.d.ts
175
+ interface DocumentStateViewerProps {
176
+ state: Record<string, unknown>;
177
+ ignoredScopes?: string[];
178
+ defaultScope?: string;
179
+ className?: string;
180
+ }
181
+ declare function DocumentStateViewer({
182
+ state,
183
+ ignoredScopes,
184
+ defaultScope,
185
+ className
186
+ }: DocumentStateViewerProps): react_jsx_runtime0.JSX.Element;
187
+ //#endregion
188
+ //#region src/connect/components/document-timeline/document-timeline.d.ts
189
+ type TimelineBarItem = {
190
+ id: string;
191
+ type: "bar";
192
+ addSize?: 0 | 1 | 2 | 3 | 4;
193
+ delSize?: 0 | 1 | 2 | 3 | 4;
194
+ timestampUtcMs?: string;
195
+ additions?: number;
196
+ deletions?: number;
197
+ revision?: number;
198
+ startDate?: Date;
199
+ endDate?: Date;
200
+ };
201
+ type TimelineDividerItem = {
202
+ id: string;
203
+ type: "divider";
204
+ timestampUtcMs?: string;
205
+ title?: string;
206
+ subtitle?: string;
207
+ revision?: number;
208
+ startDate?: Date;
209
+ endDate?: Date;
210
+ };
211
+ type TimelineItem = TimelineBarItem | TimelineDividerItem;
212
+ interface DocumentTimelineProps {
213
+ onItemClick?: (item: TimelineItem | null) => void;
214
+ timeline?: Array<TimelineItem>;
215
+ }
216
+ declare const DocumentTimeline: (props: DocumentTimelineProps) => react_jsx_runtime0.JSX.Element;
217
+ //#endregion
218
+ //#region src/connect/components/document-toolbar/document-toolbar.d.ts
219
+ type DocumentToolbarControl = "undo" | "redo" | "export" | "history" | "timeline";
220
+ type DocumentToolbarBaseProps = ComponentPropsWithoutRef<"div"> & {
221
+ /**
222
+ * Additional CSS class names to apply to the toolbar container.
223
+ */
224
+ className?: string;
225
+ /**
226
+ * Array of controls to show in the toolbar.
227
+ * @default ["undo", "redo", "export", "switchboard", "history", "timeline"]
228
+ */
229
+ enabledControls?: DocumentToolbarControl[];
230
+ /**
231
+ * Disables the revision history button when set to true.
232
+ * @default false
233
+ */
234
+ disableRevisionHistory?: boolean;
235
+ /**
236
+ * Callback function triggered when the switchboard link button is clicked.
237
+ * If not provided, will use the default behavior of opening the document in switchboard.
238
+ * The button will only be shown for documents in remote drives.
239
+ */
240
+ onSwitchboardLinkClick?: () => void;
241
+ /**
242
+ * Custom export handler for the document.
243
+ * If not provided, will use the default export functionality.
244
+ */
245
+ onDownloadDocument?: (document: PHDocument) => void;
246
+ /**
247
+ * Controls whether the timeline is visible when the component first renders.
248
+ * @default false
249
+ */
250
+ initialTimelineVisible?: boolean;
251
+ /**
252
+ * Controls whether the timeline toggle button is shown in the toolbar.
253
+ * @default true
254
+ */
255
+ defaultTimelineVisible?: boolean;
256
+ };
257
+ type DocumentToolbarProps = DocumentToolbarBaseProps & ({
258
+ /**
259
+ * The document object to display in the toolbar.
260
+ * When provided, the onClose callback becomes required.
261
+ */
262
+ document: PHDocument;
263
+ /**
264
+ * Callback function triggered when the close button is clicked.
265
+ * Required when a document is provided.
266
+ */
267
+ onClose: () => void;
268
+ } | {
269
+ /**
270
+ * The document object to display in the toolbar.
271
+ * When undefined, will fall back to the currently selected document.
272
+ */
273
+ document?: undefined;
274
+ /**
275
+ * Callback function triggered when the close button is clicked.
276
+ * Optional when no document is provided - defaults to navigating back to the parent folder.
277
+ */
278
+ onClose?: () => void;
279
+ });
280
+ declare const DocumentToolbar: React.FC<DocumentToolbarProps>;
281
+ //#endregion
282
+ //#region src/connect/components/drop-zone/drop-zone-wrapper.d.ts
283
+ declare function DropZoneWrapper({
284
+ children,
285
+ ...props
286
+ }: {
287
+ children: React.ReactNode;
288
+ } & ComponentPropsWithoutRef<"div">): react_jsx_runtime0.JSX.Element;
289
+ //#endregion
290
+ //#region src/connect/components/upload-file-item/upload-file-item.d.ts
291
+ type UploadFileItemStatus = "success" | "failed" | "pending" | "uploading" | "conflict" | "unsupported-document-type";
292
+ type UploadFileItemProps = ComponentPropsWithoutRef<"div"> & {
293
+ readonly fileName: string;
294
+ readonly fileSize: string;
295
+ readonly status: UploadFileItemStatus;
296
+ readonly documentType?: DocumentTypeIcon;
297
+ readonly progress?: number;
298
+ readonly errorDetails?: string;
299
+ readonly onClose?: () => void;
300
+ readonly onOpenDocument?: () => void;
301
+ readonly onFindResolution?: () => void;
302
+ };
303
+ declare const UploadFileItem: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
304
+ readonly fileName: string;
305
+ readonly fileSize: string;
306
+ readonly status: UploadFileItemStatus;
307
+ readonly documentType?: DocumentTypeIcon;
308
+ readonly progress?: number;
309
+ readonly errorDetails?: string;
310
+ readonly onClose?: () => void;
311
+ readonly onOpenDocument?: () => void;
312
+ readonly onFindResolution?: () => void;
313
+ } & react.RefAttributes<HTMLDivElement>>;
314
+ //#endregion
315
+ //#region src/connect/components/drop-zone/utils.d.ts
316
+ type UploadTracker = {
317
+ id: string;
318
+ fileName: string;
319
+ fileSize: string;
320
+ status: "pending" | "uploading" | "success" | "failed" | "conflict" | "unsupported-document-type";
321
+ progress: number;
322
+ errorDetails?: string;
323
+ fileNode?: Node;
324
+ documentType?: DocumentTypeIcon;
325
+ file?: File;
326
+ parentNode?: Node;
327
+ duplicateType?: "id" | "name";
328
+ };
329
+ type OnAddFileWithProgress = (file: File, parent: Node | undefined, onProgress?: (progress: FileUploadProgress) => void, resolveConflict?: ConflictResolution) => Promise<Node | undefined> | Node | undefined;
330
+ //#endregion
331
+ //#region src/connect/components/drop-zone/drop-zone.d.ts
332
+ type DropZoneProps = ComponentPropsWithoutRef<"div"> & {
333
+ readonly title?: string;
334
+ readonly subtitle?: string;
335
+ readonly node?: Node;
336
+ readonly enable?: boolean;
337
+ readonly children?: ReactNode;
338
+ readonly onAddFile?: OnAddFileWithProgress;
339
+ readonly useLocalStorage?: boolean;
340
+ readonly driveId?: string;
341
+ readonly acceptedFileExtensions?: string[];
342
+ };
343
+ declare function DropZone(props: DropZoneProps): react_jsx_runtime0.JSX.Element;
344
+ //#endregion
345
+ //#region src/connect/components/drop-zone/upload-file-list-container.d.ts
346
+ type UploadFileListContainerProps = ComponentPropsWithoutRef<"div"> & {
347
+ readonly uploadsArray: (UploadTracker | undefined)[];
348
+ readonly uploadsCount: number;
349
+ readonly removeUpload: (uploadId: string) => void;
350
+ readonly clearAllUploads: () => void;
351
+ readonly setSelectedNode?: (nodeOrNodeSlug: Node | string | undefined) => void;
352
+ readonly onClose?: () => void;
353
+ readonly onConflictResolution?: (uploadId: string) => void;
354
+ };
355
+ declare function UploadFileListContainer(props: UploadFileListContainerProps): react_jsx_runtime0.JSX.Element | null;
356
+ //#endregion
357
+ //#region src/connect/components/dropdown-menu/dropdown-menu.d.ts
358
+ type ConnectDropdownMenuItem<TItemId extends string> = {
359
+ id: TItemId;
360
+ label: ReactNode;
361
+ icon?: React.JSX.Element;
362
+ className?: string;
363
+ };
364
+ interface ConnectDropdownMenuProps<TItemId extends string> {
365
+ readonly children: ReactNode;
366
+ readonly items: ConnectDropdownMenuItem<TItemId>[];
367
+ readonly open?: boolean;
368
+ readonly onItemClick: (id: TItemId) => void;
369
+ readonly onOpenChange?: (open: boolean) => void;
370
+ readonly menuClassName?: string;
371
+ }
372
+ declare function ConnectDropdownMenu<TItemId extends string>(props: ConnectDropdownMenuProps<TItemId>): react_jsx_runtime0.JSX.Element;
373
+ //#endregion
374
+ //#region src/connect/components/editor-action-buttons/editor-action-buttons.d.ts
375
+ type EditorActionButtonsProps = {
376
+ readonly onSwitchboardLinkClick?: (() => void) | undefined;
377
+ readonly onDownloadDocument?: (() => void) | undefined;
378
+ readonly onClose: () => void;
379
+ readonly onShowRevisionHistory?: (() => void) | undefined;
380
+ readonly onShowTimeline?: (() => void) | undefined;
381
+ };
382
+ declare function EditorActionButtons(props: EditorActionButtonsProps): react_jsx_runtime0.JSX.Element;
383
+ //#endregion
384
+ //#region src/connect/components/editor-undo-redo-buttons/editor-undo-redo-buttons.d.ts
385
+ type EditorUndoRedoButtonsProps = {
386
+ readonly canUndo: boolean;
387
+ readonly canRedo: boolean;
388
+ readonly undo: () => void;
389
+ readonly redo: () => void;
390
+ };
391
+ declare function EditorUndoRedoButtons(props: EditorUndoRedoButtonsProps): react_jsx_runtime0.JSX.Element;
392
+ //#endregion
393
+ //#region src/connect/components/ens-avatar/ens-avatar.d.ts
394
+ type Props$10 = {
395
+ readonly address: `0x${string}`;
396
+ readonly chainId?: number;
397
+ readonly avatarUrl?: string;
398
+ readonly size?: CSSProperties["width"];
399
+ };
400
+ declare function ENSAvatar(props: Props$10): react_jsx_runtime0.JSX.Element;
401
+ //#endregion
402
+ //#region src/connect/components/file-item/file-item.d.ts
403
+ type Props$9 = {
404
+ fileNode: FileNode;
405
+ className?: string;
406
+ customDocumentIconSrc?: string;
407
+ };
408
+ declare function FileItem(props: Props$9): react_jsx_runtime0.JSX.Element;
409
+ //#endregion
410
+ //#region src/connect/components/folder-item/folder-item.d.ts
411
+ declare function FolderItem(props: {
412
+ folderNode: FolderNode;
413
+ className?: string;
414
+ }): react_jsx_runtime0.JSX.Element;
415
+ //#endregion
416
+ //#region src/connect/components/footer/footer-link.d.ts
417
+ type FooterLinkProps<E extends React.ElementType> = {
418
+ readonly as?: E;
419
+ } & React.ComponentPropsWithRef<E>;
420
+ declare function FooterLink<E extends React.ElementType = "a">(props: FooterLinkProps<E>): react_jsx_runtime0.JSX.Element;
421
+ //#endregion
422
+ //#region src/connect/components/footer/footer.d.ts
423
+ declare const Footer: React.FC<React.HTMLAttributes<HTMLElement>>;
424
+ //#endregion
425
+ //#region src/connect/components/form-input/form-input.d.ts
426
+ type InputProps = ComponentPropsWithRef<"input">;
427
+ type FormInputProps = Omit<InputProps, "className"> & {
428
+ readonly icon?: React.JSX.Element;
429
+ readonly errorMessage?: string;
430
+ readonly isTouched?: boolean;
431
+ readonly isDirty?: boolean;
432
+ readonly type?: "text" | "password" | "email" | "url";
433
+ readonly inputClassName?: string;
434
+ readonly containerClassName?: string;
435
+ readonly errorMessageClassName?: string;
436
+ readonly hideErrors?: boolean;
437
+ };
438
+ declare const FormInput: react.ForwardRefExoticComponent<Omit<FormInputProps, "ref"> & react.RefAttributes<HTMLInputElement>>;
439
+ //#endregion
440
+ //#region src/connect/components/form/add-local-drive-form.d.ts
441
+ type AddLocalDriveFormProps = {
442
+ readonly onSubmit: CreateDriveFormSubmitHandler;
443
+ readonly onCancel: () => void;
444
+ readonly appOptions: AppOptions[];
445
+ };
446
+ type CreateDriveFormSubmitHandler = SubmitHandler<AppOptions>;
447
+ declare function AddLocalDriveForm(props: AddLocalDriveFormProps): react_jsx_runtime0.JSX.Element;
448
+ //#endregion
449
+ //#region src/connect/components/form/add-remote-drive-form.d.ts
450
+ type RemoteDriveDetails = {
451
+ id: string;
452
+ name: string;
453
+ sharingType: SharingType;
454
+ location: "SWITCHBOARD";
455
+ availableOffline: boolean;
456
+ };
457
+ type AddRemoteDriveInput = RemoteDriveDetails & {
458
+ url: string;
459
+ };
460
+ type AddPublicDriveFormProps = {
461
+ readonly sharingType: SharingType;
462
+ readonly onSubmit: (data: AddRemoteDriveInput) => void;
463
+ readonly onCancel: () => void;
464
+ readonly requestPublicDrive: (url: string) => Promise<{
465
+ id: string;
466
+ name: string;
467
+ }>;
468
+ };
469
+ declare function AddRemoteDriveForm(props: AddPublicDriveFormProps): react_jsx_runtime0.JSX.Element;
470
+ //#endregion
471
+ //#region src/connect/components/formatted-json-viewer.d.ts
472
+ declare function FormattedJsonViewer(props: JsonViewProps<object>): react_jsx_runtime0.JSX.Element;
473
+ //#endregion
474
+ //#region src/connect/components/home-screen/home-background-image.d.ts
475
+ declare function HomeBackgroundImage(): react_jsx_runtime0.JSX.Element;
476
+ //#endregion
477
+ //#region src/connect/components/home-screen/home-screen-add-drive-item.d.ts
478
+ type HomeScreenAddDriveItemProps = {
479
+ readonly containerClassName?: string;
480
+ };
481
+ declare const HomeScreenAddDriveItem: (props: HomeScreenAddDriveItemProps) => react_jsx_runtime0.JSX.Element;
482
+ //#endregion
483
+ //#region src/connect/components/home-screen/home-screen-item.d.ts
484
+ type HomeScreenItemProps = {
485
+ readonly icon?: React.JSX.Element;
486
+ readonly title: string;
487
+ readonly description?: string;
488
+ readonly containerClassName?: string;
489
+ readonly shareable?: boolean;
490
+ readonly onClick?: (event: React.MouseEvent<HTMLDivElement>) => void;
491
+ };
492
+ declare const HomeScreenItem: (props: HomeScreenItemProps) => react_jsx_runtime0.JSX.Element;
493
+ //#endregion
494
+ //#region src/connect/components/home-screen/home-screen.d.ts
495
+ type HomeScreenProps = {
496
+ readonly children: React.ReactNode;
497
+ readonly containerClassName?: string;
498
+ };
499
+ declare const HomeScreen: (props: HomeScreenProps) => react_jsx_runtime0.JSX.Element;
500
+ //#endregion
501
+ //#region src/connect/components/integrity-inspector/integrity-inspector.d.ts
502
+ type IntegrityInspectorProps = {
503
+ readonly onValidate: (documentId: string, branch?: string) => Promise<ValidationResult>;
504
+ readonly onRebuildKeyframes: (documentId: string, branch?: string) => Promise<RebuildResult>;
505
+ readonly onRebuildSnapshots: (documentId: string, branch?: string) => Promise<RebuildResult>;
506
+ };
507
+ declare function IntegrityInspector({
508
+ onValidate,
509
+ onRebuildKeyframes,
510
+ onRebuildSnapshots
511
+ }: IntegrityInspectorProps): react_jsx_runtime0.JSX.Element;
512
+ //#endregion
513
+ //#region src/connect/components/loading-screen/loading-screen.d.ts
514
+ interface LoadingScreenProps {
515
+ showLoadingScreen: boolean;
516
+ loadingComponent?: React.ReactNode;
517
+ size?: Size;
518
+ className?: string;
519
+ }
520
+ declare const LoadingScreen: React.FC<LoadingScreenProps>;
521
+ //#endregion
522
+ //#region src/connect/components/modal/add-drive-modal/add-drive-modal.d.ts
523
+ type ModalProps$4 = ComponentPropsWithoutRef<typeof Modal>;
524
+ type AddDriveModalProps = {
525
+ readonly open: boolean;
526
+ readonly onOpenChange: (open: boolean) => void;
527
+ readonly onAddRemoteDrive: (data: AddRemoteDriveInput) => void;
528
+ readonly onAddLocalDrive: (data: AppOptions) => void;
529
+ readonly modalProps?: ModalProps$4;
530
+ readonly containerProps?: DivProps;
531
+ readonly requestPublicDrive: (url: string) => Promise<{
532
+ id: string;
533
+ name: string;
534
+ }>;
535
+ readonly appOptions: AppOptions[];
536
+ };
537
+ declare function AddDriveModal(props: AddDriveModalProps): react_jsx_runtime0.JSX.Element;
538
+ //#endregion
539
+ //#region src/connect/components/modal/add-local-drive-modal.d.ts
540
+ type ModalProps$3 = ComponentPropsWithoutRef<typeof Modal>;
541
+ type AddLocalDriveModal = {
542
+ readonly open: boolean;
543
+ readonly onOpenChange: (open: boolean) => void;
544
+ readonly onSubmit: (data: AppOptions) => void;
545
+ readonly modalProps?: ModalProps$3;
546
+ readonly containerProps?: DivProps;
547
+ readonly appOptions: AppOptions[];
548
+ };
549
+ declare function AddLocalDriveModal(props: AddLocalDriveModal): react_jsx_runtime0.JSX.Element;
550
+ //#endregion
551
+ //#region src/connect/components/modal/add-remote-drive-modal.d.ts
552
+ type ModalProps$2 = ComponentPropsWithoutRef<typeof Modal>;
553
+ type AddRemoteDriveModal = {
554
+ readonly open: boolean;
555
+ readonly onOpenChange: (open: boolean) => void;
556
+ readonly onSubmit: (data: AddRemoteDriveInput) => void;
557
+ readonly sharingType: SharingType;
558
+ readonly modalProps?: ModalProps$2;
559
+ readonly containerProps?: DivProps;
560
+ } & Pick<AddPublicDriveFormProps, "requestPublicDrive">;
561
+ declare function AddRemoteDriveModal(props: AddRemoteDriveModal): react_jsx_runtime0.JSX.Element;
562
+ //#endregion
563
+ //#region src/connect/components/modal/confirmation-modal.d.ts
564
+ type ButtonProps$2 = ComponentPropsWithoutRef<"button">;
565
+ type ConfirmationModalProps = ComponentPropsWithoutRef<typeof Modal> & {
566
+ readonly header: React.ReactNode;
567
+ readonly body?: React.ReactNode;
568
+ readonly onCancel: () => void;
569
+ readonly onContinue: () => void;
570
+ readonly cancelLabel: string;
571
+ readonly continueLabel: string;
572
+ readonly bodyProps?: DivProps;
573
+ readonly cancelButtonProps?: ButtonProps$2;
574
+ readonly continueButtonProps?: ButtonProps$2;
575
+ readonly headerProps?: DivProps;
576
+ readonly buttonContainerProps?: DivProps;
577
+ readonly containerProps?: DivProps;
578
+ };
579
+ declare function ConnectConfirmationModal(props: ConfirmationModalProps): react_jsx_runtime0.JSX.Element;
580
+ //#endregion
581
+ //#region src/connect/components/modal/create-document-modal.d.ts
582
+ type CreateDocumentModalProps = ComponentPropsWithoutRef<typeof Modal> & {
583
+ readonly onContinue: (nodeName: string) => void;
584
+ };
585
+ declare function CreateDocumentModal(props: CreateDocumentModalProps): react_jsx_runtime0.JSX.Element;
586
+ //#endregion
587
+ //#region src/connect/components/modal/delete-drive-modal.d.ts
588
+ interface ConnectDeleteDriveModalProps extends ConfirmationModalProps {
589
+ readonly inputPlaceholder: string;
590
+ readonly driveName: string;
591
+ }
592
+ declare const ConnectDeleteDriveModal: React.FC<ConnectDeleteDriveModalProps>;
593
+ //#endregion
594
+ //#region src/connect/components/modal/delete-item-modal.d.ts
595
+ interface ConnectDeleteItemModalProps extends Omit<ConfirmationModalProps, "onContinue" | "continueLabel"> {
596
+ readonly onDelete: () => void;
597
+ readonly deleteLabel: string;
598
+ }
599
+ declare function ConnectDeleteItemModal(props: ConnectDeleteItemModalProps): react_jsx_runtime0.JSX.Element;
600
+ //#endregion
601
+ //#region src/connect/components/modal/drive-settings-modal.d.ts
602
+ type ModalProps$1 = ComponentPropsWithoutRef<typeof Modal>;
603
+ type DriveSettingsModalProps = {
604
+ drive: DocumentDriveDocument;
605
+ sharingType: SharingType;
606
+ availableOffline: boolean;
607
+ systemInfo: DriveSystemInfoState;
608
+ open: boolean;
609
+ onOpenChange: (open: boolean) => void;
610
+ onRenameDrive: (drive: DocumentDriveDocument, newName: string) => void;
611
+ onDeleteDrive: (drive: DocumentDriveDocument) => void;
612
+ onChangeSharingType: (drive: DocumentDriveDocument, newSharingType: SharingType) => void;
613
+ onChangeAvailableOffline: (drive: DocumentDriveDocument, newAvailableOffline: boolean) => void;
614
+ modalProps?: ModalProps$1;
615
+ containerProps?: DivProps;
616
+ };
617
+ declare function DriveSettingsModal(props: DriveSettingsModalProps): react_jsx_runtime0.JSX.Element;
618
+ //#endregion
619
+ //#region src/connect/components/processors-inspector/processors-inspector.d.ts
620
+ type ProcessorInfo = {
621
+ processorId: string;
622
+ factoryId: string;
623
+ driveId: string;
624
+ processorIndex: number;
625
+ lastOrdinal: number;
626
+ status: "active" | "errored";
627
+ lastError: string | undefined;
628
+ lastErrorTimestamp: Date | undefined;
629
+ };
630
+ type ProcessorsInspectorProps = {
631
+ readonly getProcessors: () => Promise<ProcessorInfo[]>;
632
+ readonly onRetry?: (processorId: string) => Promise<void>;
633
+ };
634
+ declare function ProcessorsInspector({
635
+ getProcessors,
636
+ onRetry
637
+ }: ProcessorsInspectorProps): react_jsx_runtime0.JSX.Element;
638
+ //#endregion
639
+ //#region src/connect/components/queue-inspector/queue-inspector.d.ts
640
+ type QueueState = {
641
+ readonly isPaused: boolean;
642
+ readonly pendingJobs: Job[];
643
+ readonly executingJobs: Job[];
644
+ readonly totalPending: number;
645
+ readonly totalExecuting: number;
646
+ };
647
+ type QueueInspectorProps = {
648
+ readonly getQueueState: () => Promise<QueueState>;
649
+ readonly onPause: () => Promise<void>;
650
+ readonly onResume: () => Promise<void>;
651
+ };
652
+ declare function QueueInspector({
653
+ getQueueState,
654
+ onPause,
655
+ onResume
656
+ }: QueueInspectorProps): react_jsx_runtime0.JSX.Element;
657
+ //#endregion
658
+ //#region src/connect/components/remotes-inspector/remotes-inspector.d.ts
659
+ type ConnectionStateSummary = {
660
+ state: string;
661
+ failureCount: number;
662
+ lastSuccessUtcMs: number;
663
+ lastFailureUtcMs: number;
664
+ pushBlocked: boolean;
665
+ pushFailureCount: number;
666
+ };
667
+ type RemotesInspectorProps = {
668
+ readonly getRemotes: () => Promise<Remote[]>;
669
+ readonly removeRemote?: (name: string) => Promise<void>;
670
+ readonly addRemoteManual?: (url: string) => Promise<void>;
671
+ readonly triggerPull?: (name: string) => void;
672
+ readonly connectionStates?: ReadonlyMap<string, ConnectionStateSummary>;
673
+ };
674
+ declare function RemotesInspector({
675
+ getRemotes,
676
+ removeRemote,
677
+ addRemoteManual,
678
+ triggerPull,
679
+ connectionStates
680
+ }: RemotesInspectorProps): react_jsx_runtime0.JSX.Element;
681
+ //#endregion
682
+ //#region src/connect/components/remotes-inspector/components/channel-inspector.d.ts
683
+ type ChannelInspectorProps = {
684
+ readonly remoteName: string;
685
+ readonly channel: IChannel;
686
+ readonly onBack: () => void;
687
+ readonly onRefresh?: () => void;
688
+ readonly connectionState?: ConnectionStateSummary;
689
+ };
690
+ declare function ChannelInspector({
691
+ remoteName,
692
+ channel,
693
+ onBack,
694
+ onRefresh,
695
+ connectionState
696
+ }: ChannelInspectorProps): react_jsx_runtime0.JSX.Element;
697
+ //#endregion
698
+ //#region src/connect/components/remotes-inspector/components/connection-state-badge.d.ts
699
+ type ConnectionStateBadgeProps = {
700
+ readonly state: string;
701
+ readonly failureCount: number;
702
+ };
703
+ declare function ConnectionStateBadge({
704
+ state,
705
+ failureCount
706
+ }: ConnectionStateBadgeProps): react_jsx_runtime0.JSX.Element;
707
+ //#endregion
708
+ //#region src/connect/components/modal/inspector-modal/inspector-modal.d.ts
709
+ type ModalProps = ComponentPropsWithoutRef<typeof Modal>;
710
+ type InspectorModalProps = {
711
+ readonly open: boolean;
712
+ readonly onOpenChange: (open: boolean) => void;
713
+ readonly modalProps?: ModalProps;
714
+ readonly containerProps?: DivProps;
715
+ readonly dbExplorerProps: DBExplorerProps;
716
+ readonly remotesInspectorProps: RemotesInspectorProps;
717
+ readonly queueInspectorProps?: QueueInspectorProps;
718
+ readonly processorsInspectorProps?: ProcessorsInspectorProps;
719
+ readonly integrityInspectorProps?: IntegrityInspectorProps;
720
+ readonly defaultTab?: "Database" | "Remotes" | "Queue" | "Processors" | "Integrity";
721
+ };
722
+ declare function InspectorModal({
723
+ open,
724
+ onOpenChange,
725
+ modalProps,
726
+ containerProps,
727
+ dbExplorerProps,
728
+ remotesInspectorProps,
729
+ queueInspectorProps,
730
+ processorsInspectorProps,
731
+ integrityInspectorProps,
732
+ defaultTab
733
+ }: InspectorModalProps): react_jsx_runtime0.JSX.Element;
734
+ //#endregion
735
+ //#region src/connect/components/modal/missing-package-modal.d.ts
736
+ interface PendingPackageInstallation {
737
+ documentType: string;
738
+ packageName: string;
739
+ }
740
+ type PackageInstallModalProps = ComponentPropsWithoutRef<typeof Modal> & {
741
+ readonly pendingInstallations: PendingPackageInstallation[];
742
+ readonly onInstall: (packageName: string) => Promise<void>;
743
+ readonly onDismiss: (packageName: string) => void;
744
+ };
745
+ declare function PackageInstallModal(props: PackageInstallModalProps): react_jsx_runtime0.JSX.Element | null;
746
+ //#endregion
747
+ //#region src/connect/components/modal/read-required-modal.d.ts
748
+ type ButtonProps$1 = ComponentPropsWithoutRef<"button">;
749
+ type ReadRequiredModalProps = ComponentPropsWithoutRef<typeof Modal> & {
750
+ readonly header: React.ReactNode;
751
+ readonly body?: React.ReactNode;
752
+ readonly onContinue: () => void;
753
+ readonly closeLabel: string;
754
+ readonly bodyProps?: DivProps;
755
+ readonly continueButtonProps?: ButtonProps$1;
756
+ readonly headerProps?: DivProps;
757
+ readonly buttonContainerProps?: DivProps;
758
+ readonly containerProps?: DivProps;
759
+ };
760
+ declare function ReadRequiredModal(props: ReadRequiredModalProps): react_jsx_runtime0.JSX.Element;
761
+ //#endregion
762
+ //#region src/connect/components/modal/replace-duplicate-modal.d.ts
763
+ type ButtonProps = ComponentPropsWithoutRef<"button">;
764
+ type ConnectReplaceDuplicateModalProps = ComponentPropsWithoutRef<typeof Modal> & {
765
+ readonly title?: string;
766
+ readonly fileName?: string;
767
+ readonly message?: string;
768
+ readonly onDuplicate: () => void;
769
+ readonly duplicateLabel?: string;
770
+ readonly bodyProps?: DivProps;
771
+ readonly replaceButtonProps?: ButtonProps;
772
+ readonly duplicateButtonProps?: ButtonProps;
773
+ readonly headerProps?: DivProps;
774
+ readonly buttonContainerProps?: DivProps;
775
+ readonly containerProps?: DivProps;
776
+ };
777
+ declare function ConnectReplaceDuplicateModal(props: ConnectReplaceDuplicateModalProps): react_jsx_runtime0.JSX.Element;
778
+ //#endregion
779
+ //#region src/connect/components/modal/settings-modal-v2/about.d.ts
780
+ type Props$8 = {
781
+ packageJson: unknown;
782
+ phCliVersion?: string;
783
+ };
784
+ declare function About(props: Props$8): react_jsx_runtime0.JSX.Element;
785
+ //#endregion
786
+ //#region src/connect/components/modal/settings-modal-v2/danger-zone.d.ts
787
+ type ModifyDrivesProps = {
788
+ drives: DocumentDriveDocument[];
789
+ onDeleteDrive: (drive: DocumentDriveDocument) => void;
790
+ className?: string;
791
+ };
792
+ type LocalStorageProps = {
793
+ onClearStorage: () => void | Promise<void>;
794
+ className?: string;
795
+ };
796
+ type Props$7 = ModifyDrivesProps & LocalStorageProps;
797
+ declare function DangerZone(props: Props$7): react_jsx_runtime0.JSX.Element;
798
+ //#endregion
799
+ //#region src/connect/components/modal/settings-modal-v2/default-editor.d.ts
800
+ type Props$6 = {
801
+ documentModelEditor: string;
802
+ setDocumentModelEditor: (value: string) => void;
803
+ documentModelEditorOptions: SelectOption[];
804
+ className?: string;
805
+ };
806
+ declare function DefaultEditor(props: Props$6): react_jsx_runtime0.JSX.Element;
807
+ declare function DefaultEditorSelect(props: Props$6): react_jsx_runtime0.JSX.Element;
808
+ //#endregion
809
+ //#region src/connect/components/modal/settings-modal-v2/package-manager/package-manager-input.d.ts
810
+ type PackageManagerInputProps = {
811
+ registryPackageList: RegistryPackageList;
812
+ onInstall: (packageSpec: string) => Promise<void>;
813
+ disabled?: boolean;
814
+ className?: string;
815
+ };
816
+ declare const PackageManagerInput: React.FC<PackageManagerInputProps>;
817
+ //#endregion
818
+ //#region src/connect/components/modal/settings-modal-v2/package-manager/package-manager-list.d.ts
819
+ declare const PackageManagerListItem: (props: {
820
+ registryPackage: RegistryPackage;
821
+ onInstall: (packageSpec: string) => Promise<void>;
822
+ onUninstall: (packageName: string) => void;
823
+ className?: string;
824
+ }) => react_jsx_runtime0.JSX.Element;
825
+ declare const PackageManagerList: (props: {
826
+ registryPackageList: RegistryPackageList;
827
+ onInstall: (packageSpec: string) => Promise<void>;
828
+ onUninstall: (packageName: string) => void;
829
+ className?: string;
830
+ }) => react_jsx_runtime0.JSX.Element;
831
+ //#endregion
832
+ //#region src/connect/components/modal/settings-modal-v2/package-manager/package-manager.d.ts
833
+ type Props$5 = {
834
+ registryPackageList: RegistryPackageList;
835
+ mutable: boolean;
836
+ /**
837
+ * Install handler. The argument is the full spec the user chose — either
838
+ * the bare package name, or `name@tag` / `name@version` when they typed
839
+ * a suffix in the search input or picked one via the filter UI.
840
+ */
841
+ onInstall: (packageSpec: string) => Promise<void>;
842
+ onUninstall: (packageName: string) => void;
843
+ disabled?: boolean;
844
+ className?: string;
845
+ };
846
+ declare const PackageManager: React.FC<Props$5>;
847
+ //#endregion
848
+ //#region src/connect/components/modal/settings-modal-v2/package-manager/types.d.ts
849
+ interface RegistryOption {
850
+ id: string;
851
+ label: string;
852
+ url: string;
853
+ editable?: boolean;
854
+ }
855
+ type RegistryStatus = "idle" | "connecting" | "connected" | "error";
856
+ //#endregion
857
+ //#region src/connect/components/modal/settings-modal-v2/settings-modal.d.ts
858
+ type SettingsTab = {
859
+ id: string;
860
+ icon?: React.ReactNode;
861
+ label: React.ReactNode;
862
+ content: React.ReactNode | React.ComponentType<any>;
863
+ };
864
+ type Props$4 = {
865
+ readonly title: React.ReactNode;
866
+ readonly tabs: SettingsTab[];
867
+ defaultTab?: string;
868
+ } & ComponentProps<typeof Modal>;
869
+ declare function SettingsModal(props: Props$4): react_jsx_runtime0.JSX.Element;
870
+ //#endregion
871
+ //#region src/connect/components/modal/settings-modal/row.d.ts
872
+ interface SettingsRowProps extends Omit<DivProps, "title"> {
873
+ readonly title?: React.ReactNode;
874
+ readonly description: React.ReactNode;
875
+ }
876
+ declare const SettingsRow: React.FC<SettingsRowProps>;
877
+ //#endregion
878
+ //#region src/connect/components/modal/settings-modal/clear-storage-row.d.ts
879
+ interface ClearStorageSettingsRowProps extends SettingsRowProps {
880
+ onClearStorage: () => void;
881
+ buttonLabel: string;
882
+ }
883
+ declare const ClearStorageSettingsRow: React.FC<ClearStorageSettingsRowProps>;
884
+ //#endregion
885
+ //#region src/connect/components/modal/settings-modal/dependency-versions/dependency-versions.d.ts
886
+ type ValidatedPackageJson = {
887
+ version: string;
888
+ dependencies: Record<string, string>;
889
+ };
890
+ declare function verifyPackageJsonFields(packageJson: unknown): ValidatedPackageJson | false;
891
+ type Props$3 = {
892
+ readonly packageJson: unknown;
893
+ readonly phCliVersion?: string;
894
+ };
895
+ declare function DependencyVersions(props: Props$3): react_jsx_runtime0.JSX.Element | null;
896
+ //#endregion
897
+ //#region src/connect/components/modal/settings-modal/settings-modal.d.ts
898
+ type SettingsModalOldProps = ComponentPropsWithoutRef<typeof Modal> & {
899
+ readonly title: React.ReactNode;
900
+ readonly body: React.ReactNode;
901
+ readonly cancelLabel: string;
902
+ readonly saveLabel: string;
903
+ readonly onSave: () => void;
904
+ };
905
+ declare const SettingsModalOld: React.FC<SettingsModalOldProps>;
906
+ //#endregion
907
+ //#region src/connect/components/modal/upgrade-drive-modal.d.ts
908
+ type ConnectUpgradeDriveModalProps = ComponentPropsWithoutRef<typeof Modal> & {
909
+ readonly header: React.ReactNode;
910
+ readonly body: React.ReactNode;
911
+ readonly onContinue: () => void;
912
+ readonly cancelLabel: string;
913
+ readonly continueLabel: string;
914
+ };
915
+ declare function ConnectUpgradeDriveModal(props: ConnectUpgradeDriveModalProps): react_jsx_runtime0.JSX.Element;
916
+ //#endregion
917
+ //#region src/connect/components/node-input/node-input.d.ts
918
+ type Props$2 = {
919
+ readonly name?: string;
920
+ readonly defaultValue?: string;
921
+ readonly placeholder?: string;
922
+ readonly "aria-label"?: string;
923
+ readonly className?: string;
924
+ readonly minLength?: number;
925
+ readonly onSubmit: (value: string) => void;
926
+ readonly onCancel: () => void;
927
+ };
928
+ declare function NodeInput(props: Props$2): react_jsx_runtime0.JSX.Element;
929
+ //#endregion
930
+ //#region src/connect/components/object-inspector-modal/object-inspector-modal.d.ts
931
+ type ObjectInspectorModalProps = {
932
+ readonly open: boolean;
933
+ readonly onOpenChange: (open: boolean) => void;
934
+ readonly title: string;
935
+ readonly object: unknown;
936
+ };
937
+ declare function ObjectInspectorModal({
938
+ open,
939
+ onOpenChange,
940
+ title,
941
+ object
942
+ }: ObjectInspectorModalProps): react_jsx_runtime0.JSX.Element;
943
+ //#endregion
944
+ //#region src/connect/components/revision-history/revision-history.d.ts
945
+ type Props$1 = {
946
+ readonly documentTitle: string;
947
+ readonly documentId: string;
948
+ readonly globalOperations: Operation[];
949
+ readonly localOperations: Operation[];
950
+ readonly onClose: () => void;
951
+ readonly itemsPerPage?: number;
952
+ readonly documentState?: object;
953
+ readonly onCopyState?: () => void;
954
+ readonly onCopyDocId?: () => void;
955
+ };
956
+ declare function RevisionHistory(props: Props$1): react_jsx_runtime0.JSX.Element;
957
+ //#endregion
958
+ //#region src/connect/components/search-bar/filter-item.d.ts
959
+ type FilterItemType = {
960
+ id: string;
961
+ label: string;
962
+ icon?: React.JSX.Element;
963
+ };
964
+ //#endregion
965
+ //#region src/connect/components/search-bar/search-bar.d.ts
966
+ interface ConnectSearchBarProps {
967
+ value?: string;
968
+ onChange?: (value: string) => void;
969
+ placeholder?: string;
970
+ filterLabel?: string;
971
+ filterItems?: Array<FilterItemType>;
972
+ selectedFilter?: string;
973
+ onFilterSelect?: (filterId: string) => void;
974
+ className?: string;
975
+ }
976
+ declare const ConnectSearchBar: React.FC<ConnectSearchBarProps>;
977
+ //#endregion
978
+ //#region src/connect/components/select/select.d.ts
979
+ type ConnectSelectItem<TValue extends string> = {
980
+ readonly value: TValue;
981
+ readonly displayValue?: React.ReactNode;
982
+ readonly description?: React.ReactNode;
983
+ readonly icon?: React.JSX.Element;
984
+ readonly disabled?: boolean;
985
+ };
986
+ type ConnectSelectProps<TValue extends string> = {
987
+ items: readonly ConnectSelectItem<TValue>[];
988
+ value: TValue;
989
+ id: string;
990
+ onChange: (value: TValue) => void;
991
+ containerClassName?: string;
992
+ menuClassName?: string;
993
+ itemClassName?: string;
994
+ borderRadius?: CSSProperties["borderRadius"];
995
+ absolutePositionMenu?: boolean;
996
+ };
997
+ declare const ConnectSelect: <TValue extends string>(props: ConnectSelectProps<TValue> & RefAttributes<HTMLDivElement>) => ReactNode;
998
+ //#endregion
999
+ //#region src/connect/components/sidebar/sidebar-add-drive-item.d.ts
1000
+ type SidebarAddDriveItemProps = {
1001
+ readonly containerClassName?: string;
1002
+ readonly onClick?: (event: React.MouseEvent<HTMLDivElement>) => void;
1003
+ };
1004
+ declare const SidebarAddDriveItem: (props: SidebarAddDriveItemProps) => react_jsx_runtime0.JSX.Element;
1005
+ //#endregion
1006
+ //#region src/connect/components/sidebar/sidebar-footer.d.ts
1007
+ interface ConnectSidebarFooterProps extends ComponentProps<typeof SidebarFooter> {
1008
+ address: `0x${string}` | undefined;
1009
+ ensName?: string;
1010
+ avatarUrl?: string;
1011
+ onClickSettings: (() => void) | undefined;
1012
+ onLogin: (() => void) | undefined;
1013
+ etherscanUrl?: string;
1014
+ onDisconnect: (() => void) | undefined;
1015
+ onHomeClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
1016
+ showDebug?: boolean;
1017
+ onDebugClick?: () => void;
1018
+ }
1019
+ declare const ConnectSidebarFooter: React.FC<ConnectSidebarFooterProps>;
1020
+ //#endregion
1021
+ //#region src/connect/components/sidebar/sidebar-header.d.ts
1022
+ interface ConnectSidebarHeaderProps extends ComponentProps<typeof SidebarHeader> {}
1023
+ declare const ConnectSidebarHeader: React.FC<ConnectSidebarHeaderProps>;
1024
+ //#endregion
1025
+ //#region src/connect/components/sidebar/sidebar-item.d.ts
1026
+ type SidebarItemProps = {
1027
+ readonly icon?: React.JSX.Element;
1028
+ readonly title: string;
1029
+ readonly description?: string;
1030
+ readonly containerClassName?: string;
1031
+ readonly active?: boolean;
1032
+ readonly onClick?: (event: React.MouseEvent<HTMLDivElement>) => void;
1033
+ };
1034
+ declare const SidebarItem: (props: SidebarItemProps) => react_jsx_runtime0.JSX.Element;
1035
+ //#endregion
1036
+ //#region src/connect/components/sidebar/sidebar-login.d.ts
1037
+ interface SidebarLoginProps {
1038
+ onLogin: (() => void) | undefined;
1039
+ }
1040
+ declare const SidebarLogin: React.FC<SidebarLoginProps>;
1041
+ //#endregion
1042
+ //#region src/connect/components/sidebar/sidebar-user.d.ts
1043
+ interface SidebarUserProps {
1044
+ address: `0x${string}`;
1045
+ ensName?: string;
1046
+ avatarUrl?: string;
1047
+ etherscanUrl: string;
1048
+ onDisconnect: (() => void) | undefined;
1049
+ }
1050
+ declare const SidebarUser: React.FC<SidebarUserProps>;
1051
+ //#endregion
1052
+ //#region src/connect/components/sidebar/sidebar.d.ts
1053
+ interface ConnectSidebarProps extends HTMLAttributes<HTMLElement>, ConnectSidebarHeaderProps, ConnectSidebarFooterProps {
1054
+ maxWidth?: string;
1055
+ minWidth?: string;
1056
+ headerContent?: React.ReactNode;
1057
+ loadingUser?: boolean;
1058
+ onLogin: (() => void) | undefined;
1059
+ onDisconnect: (() => void) | undefined;
1060
+ etherscanUrl?: string;
1061
+ onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
1062
+ }
1063
+ declare const ConnectSidebar: React.FC<ConnectSidebarProps>;
1064
+ //#endregion
1065
+ //#region src/connect/components/status-icon/sync-status-icon.d.ts
1066
+ type SyncStatusIconProps = Omit<ComponentPropsWithoutRef<typeof Icon>, "name"> & {
1067
+ syncStatus: SyncStatus$1;
1068
+ overrideSyncIcons?: Partial<Record<SyncStatus$1, IconName>>;
1069
+ };
1070
+ declare function SyncStatusIcon(props: SyncStatusIconProps): react_jsx_runtime0.JSX.Element;
1071
+ //#endregion
1072
+ //#region src/connect/components/tabs/tab-content.d.ts
1073
+ type TabContentProps = {
1074
+ readonly label: ReactNode;
1075
+ readonly description: ReactNode;
1076
+ readonly children: ReactNode;
1077
+ readonly disabled?: boolean;
1078
+ };
1079
+ declare function TabContent(props: TabContentProps): react_jsx_runtime0.JSX.Element;
1080
+ //#endregion
1081
+ //#region src/connect/components/tabs/tabs.d.ts
1082
+ declare function Tabs({
1083
+ children,
1084
+ defaultValue
1085
+ }: {
1086
+ children: React$1.ReactNode;
1087
+ defaultValue: string;
1088
+ }): react_jsx_runtime0.JSX.Element;
1089
+ //#endregion
1090
+ //#region src/connect/components/toggle/toggle.d.ts
1091
+ type ToggleProps = Omit<ComponentPropsWithRef<"input">, "type">;
1092
+ declare const Toggle: react.ForwardRefExoticComponent<Omit<ToggleProps, "ref"> & react.RefAttributes<HTMLInputElement>>;
1093
+ //#endregion
1094
+ //#region src/connect/components/tooltip/tooltip.d.ts
1095
+ type Props = TooltipProps & {
1096
+ readonly className?: string;
1097
+ readonly content: ReactNode;
1098
+ readonly side?: "top" | "right" | "bottom" | "left";
1099
+ readonly sideOffset?: number;
1100
+ };
1101
+ declare function ConnectTooltip(props: Props): react_jsx_runtime0.JSX.Element;
1102
+ declare const ConnectTooltipProvider: react.FC<_radix_ui_react_tooltip0.TooltipProviderProps>;
1103
+ //#endregion
1104
+ //#region src/connect/components/upload-file-list/upload-file-list.d.ts
1105
+ type UploadFileListProps = ComponentPropsWithoutRef<"div"> & {
1106
+ readonly items: ReadonlyArray<UploadFileItemProps>;
1107
+ readonly title?: string;
1108
+ readonly defaultCollapsed?: boolean;
1109
+ readonly onClose?: () => void;
1110
+ };
1111
+ declare function UploadFileList(props: UploadFileListProps): react_jsx_runtime0.JSX.Element;
1112
+ //#endregion
1113
+ //#region src/connect/constants/options.d.ts
1114
+ declare const defaultDriveOptions: readonly ["NEW_FOLDER", "RENAME", "SETTINGS"];
1115
+ declare const defaultNodeOptions: readonly ["RENAME", "DELETE", "DUPLICATE"];
1116
+ declare const normalNodeOptions: readonly ["DUPLICATE", "RENAME", "DELETE", "SETTINGS"];
1117
+ declare const debugNodeOptions: readonly ["ADD_TRIGGER", "REMOVE_TRIGGER", "ADD_INVALID_TRIGGER"];
1118
+ declare const nodeOptions: readonly ["DUPLICATE", "RENAME", "DELETE", "SETTINGS", "ADD_TRIGGER", "REMOVE_TRIGGER", "ADD_INVALID_TRIGGER"];
1119
+ declare const sharingTypeOptions: readonly [{
1120
+ readonly value: "LOCAL";
1121
+ readonly icon: react_jsx_runtime0.JSX.Element;
1122
+ readonly description: "Only available to you";
1123
+ }, {
1124
+ readonly value: "CLOUD";
1125
+ readonly icon: react_jsx_runtime0.JSX.Element;
1126
+ readonly description: "Only available to people in this drive";
1127
+ }, {
1128
+ readonly value: "PUBLIC";
1129
+ readonly icon: react_jsx_runtime0.JSX.Element;
1130
+ readonly description: "Available to everyone";
1131
+ readonly disabled: true;
1132
+ }];
1133
+ declare const locationInfoByLocation: {
1134
+ readonly CLOUD: {
1135
+ readonly title: "Secure cloud";
1136
+ readonly description: "End to end encryption between members.";
1137
+ readonly icon: react_jsx_runtime0.JSX.Element;
1138
+ };
1139
+ readonly LOCAL: {
1140
+ readonly title: "Local";
1141
+ readonly description: "Private and only available to you.";
1142
+ readonly icon: react_jsx_runtime0.JSX.Element;
1143
+ };
1144
+ readonly SWITCHBOARD: {
1145
+ readonly title: "Switchboard";
1146
+ readonly description: "Public and available to everyone.";
1147
+ readonly icon: react_jsx_runtime0.JSX.Element;
1148
+ };
1149
+ };
1150
+ declare const debugNodeOptionsMap: {
1151
+ readonly ADD_TRIGGER: {
1152
+ readonly label: "Add Trigger";
1153
+ readonly icon: react_jsx_runtime0.JSX.Element;
1154
+ };
1155
+ readonly REMOVE_TRIGGER: {
1156
+ readonly label: "Remove Trigger";
1157
+ readonly icon: react_jsx_runtime0.JSX.Element;
1158
+ };
1159
+ readonly ADD_INVALID_TRIGGER: {
1160
+ readonly label: "Add Trigger";
1161
+ readonly icon: react_jsx_runtime0.JSX.Element;
1162
+ };
1163
+ };
1164
+ declare const folderNodeDropdownOptions: {
1165
+ readonly DUPLICATE: {
1166
+ readonly label: "Duplicate";
1167
+ readonly icon: react_jsx_runtime0.JSX.Element;
1168
+ };
1169
+ readonly RENAME: {
1170
+ readonly label: "Rename";
1171
+ readonly icon: react_jsx_runtime0.JSX.Element;
1172
+ };
1173
+ readonly DELETE: {
1174
+ readonly label: "Delete";
1175
+ readonly icon: react_jsx_runtime0.JSX.Element;
1176
+ readonly className: "text-red-900";
1177
+ };
1178
+ };
1179
+ declare const fileNodeDropdownOptions: {
1180
+ DUPLICATE: {
1181
+ readonly label: "Duplicate";
1182
+ readonly icon: react_jsx_runtime0.JSX.Element;
1183
+ };
1184
+ RENAME: {
1185
+ readonly label: "Rename";
1186
+ readonly icon: react_jsx_runtime0.JSX.Element;
1187
+ };
1188
+ DELETE: {
1189
+ readonly label: "Delete";
1190
+ readonly icon: react_jsx_runtime0.JSX.Element;
1191
+ readonly className: "text-red-900";
1192
+ };
1193
+ DOWNLOAD: {
1194
+ label: string;
1195
+ icon: react_jsx_runtime0.JSX.Element;
1196
+ };
1197
+ };
1198
+ //#endregion
1199
+ //#region src/connect/hooks/use-ens.d.ts
1200
+ type EnsData = {
1201
+ ens: string;
1202
+ address: string;
1203
+ avatar: string | null;
1204
+ avatar_small: string | null;
1205
+ avatar_url: string | null;
1206
+ contentHash: string | null;
1207
+ header: string | null;
1208
+ header_url: string | null;
1209
+ ens_primary: string;
1210
+ resolverAddress: string;
1211
+ url: string | null;
1212
+ github: string | null;
1213
+ twitter: string | null;
1214
+ telegram: string | null;
1215
+ email: string | null;
1216
+ description: string | null;
1217
+ notice: string | null;
1218
+ keywords: string | null;
1219
+ discord: string | null;
1220
+ };
1221
+ type UseEnsResult = {
1222
+ data: EnsData | undefined;
1223
+ isLoading: boolean;
1224
+ error: Error | undefined;
1225
+ };
1226
+ declare function useEns(address: `0x${string}` | undefined): UseEnsResult;
1227
+ //#endregion
1228
+ //#region src/connect/utils/address.d.ts
1229
+ declare function formatEthAddress(address: string): string;
1230
+ //#endregion
1231
+ //#region src/connect/utils/get-folder-status.d.ts
1232
+ type SyncStatus = "INITIAL_SYNC" | "SYNCING" | "SUCCESS" | "CONFLICT" | "MISSING" | "ERROR";
1233
+ type FileStatus = {
1234
+ path: string;
1235
+ status?: SyncStatus;
1236
+ };
1237
+ /**
1238
+ * Retrieves the sync status of a folder based on its path and their children files.
1239
+ *
1240
+ * @param folderPath - The path of the folder.
1241
+ * @param sortedFiles - The sorted list of files.
1242
+ * @returns The sync status of the folder.
1243
+ */
1244
+ declare const getFolderStatus: (folderPath: string, sortedFiles: FileStatus[]) => SyncStatus;
1245
+ /**
1246
+ * Sorts an array of files by their status.
1247
+ * The order priority is:
1248
+ * - ERROR
1249
+ * - CONFLICT
1250
+ * - SYNCING
1251
+ * - MISSING
1252
+ * - SUCCESS
1253
+ *
1254
+ * @param files - The array of files to be sorted.
1255
+ * @returns The sorted array of files.
1256
+ */
1257
+ declare const sortFilesByStatus: (files: FileStatus[]) => FileStatus[];
1258
+ /**
1259
+ * Removes files with a status of 'SUCCESS' from the given array of FileStatus objects.
1260
+ * @param files - An array of FileStatus objects.
1261
+ * @returns A new array containing only the FileStatus objects with a status other than 'SUCCESS'.
1262
+ */
1263
+ declare const removeSuccessFiles: (files: FileStatus[]) => FileStatus[];
1264
+ //#endregion
1265
+ export { About, AccountPopover, AccountPopoverProps, AddDriveModal, AddDriveModalProps, AddLocalDriveForm, AddLocalDriveModal, AddPublicDriveFormProps, AddRemoteDriveForm, AddRemoteDriveInput, AddRemoteDriveModal, AnimatedLoader, AppOptions, Breadcrumb, BreadcrumbProps, Breadcrumbs, CONFLICT, ChannelInspector, ChannelInspectorProps, ClearStorageSettingsRow, ClearStorageSettingsRowProps, type ColumnInfo, Combobox, ConfirmationModalProps, ConnectConfirmationModal, ConnectDeleteDriveModal, ConnectDeleteDriveModalProps, ConnectDeleteItemModal, ConnectDeleteItemModalProps, ConnectDropdownMenu, ConnectDropdownMenuItem, ConnectDropdownMenuProps, ConnectReplaceDuplicateModal, ConnectReplaceDuplicateModalProps, ConnectSearchBar, ConnectSearchBarProps, ConnectSelect, ConnectSelectItem, ConnectSelectProps, ConnectSidebar, ConnectSidebarFooter, ConnectSidebarFooterProps, ConnectSidebarHeader, ConnectSidebarHeaderProps, ConnectSidebarProps, ConnectTooltip, ConnectTooltipProvider, ConnectUpgradeDriveModal, ConnectUpgradeDriveModalProps, ConnectionStateBadge, ConnectionStateBadgeProps, ConnectionStateSummary, CookieBanner, CookieBannerProps, CookieInput, CreateDocumentModal, CreateDocumentModalProps, DBExplorer, DBExplorerProps, DangerZone, DbClient, DebugInspector, DebugInspectorProps, DefaultEditor, DefaultEditorLoader, DefaultEditorSelect, DependencyVersions, Disclosure, Divider, DocumentStateViewer, DocumentTimeline, DocumentTimelineProps, DocumentToolbar, DocumentToolbarControl, DocumentToolbarProps, DriveSettingsModal, DriveSettingsModalProps, DropZone, DropZoneProps, DropZoneWrapper, ENSAvatar, ERROR, EditorActionButtons, EditorActionButtonsProps, EditorUndoRedoButtons, EditorUndoRedoButtonsProps, FileItem, FileStatus, type FilterClause, type FilterGroup, type FilterOperator, FolderItem, Footer, FooterLink, FormInput, FormattedJsonViewer, GetTableRowsOptions, HomeBackgroundImage, HomeScreen, HomeScreenAddDriveItem, HomeScreenItem, INITIAL_SYNC, InspectorModal, InspectorModalProps, IntegrityInspector, IntegrityInspectorProps, LoadingScreen, LoadingScreenProps, MISSING, NodeInput, ObjectInspectorModal, ObjectInspectorModalProps, PackageInstallModal, PackageInstallModalProps, PackageManager, PackageManagerInput, PackageManagerInputProps, PackageManagerList, PackageManagerListItem, PendingPackageInstallation, PgVersionControl, ProcessorInfo, ProcessorsInspector, ProcessorsInspectorProps, QueueInspector, QueueInspectorProps, QueueState, ReadRequiredModal, ReadRequiredModalProps, RegistryOption, RegistryStatus, RemotesInspector, RemotesInspectorProps, RevisionHistory, SUCCESS, SYNCING, SettingsModal, SettingsModalOld, SettingsModalOldProps, SettingsRow, SettingsRowProps, SettingsTab, SidebarAddDriveItem, SidebarItem, SidebarLogin, SidebarLoginProps, SidebarUser, SidebarUserProps, type SortOptions, SyncStatusIcon, SyncStatusIconProps, TabContent, TabContentProps, type TableInfo, TablePage, Tabs, TimelineBarItem, TimelineDividerItem, TimelineItem, Toggle, UploadFileItem, UploadFileItemProps, UploadFileItemStatus, UploadFileList, UploadFileListContainer, UploadFileListContainerProps, UploadFileListProps, debugNodeOptions, debugNodeOptionsMap, defaultDriveOptions, defaultNodeOptions, fileNodeDropdownOptions, folderNodeDropdownOptions, formatEthAddress, getFolderStatus, locationInfoByLocation, nodeOptions, normalNodeOptions, removeSuccessFiles, sharingTypeOptions, sortFilesByStatus, syncStatuses, useEns, verifyPackageJsonFields };
1266
+ //# sourceMappingURL=index.d.ts.map