@powerhousedao/design-system 6.0.0-dev.225 → 6.0.0-dev.227
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.
- package/dist/connect/index.d.ts +1 -1
- package/dist/connect/index.js +1 -1
- package/dist/{connect-Cah5FuAm.js → connect-DMIhscA7.js} +82 -19
- package/dist/connect-DMIhscA7.js.map +1 -0
- package/dist/{index-BC5abmFF.d.ts → index-TqW9VZBf.d.ts} +5 -1
- package/dist/{index-BC5abmFF.d.ts.map → index-TqW9VZBf.d.ts.map} +1 -1
- package/dist/rwa/index.d.ts +1 -1
- package/dist/rwa/index.js +1 -1
- package/dist/style.css +8 -0
- package/package.json +5 -5
- package/dist/connect-Cah5FuAm.js.map +0 -1
package/dist/connect/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
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-
|
|
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-TqW9VZBf.js";
|
|
2
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-B6YyDoT1.js";
|
|
3
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 };
|
package/dist/connect/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { i as ConnectTooltipProvider, r as ConnectTooltip, t as DocumentTimeline } from "../document-timeline-FWiQhfIq.js";
|
|
2
|
-
import { $ as AddRemoteDriveForm, $t as AccountPopover, A as ReadRequiredModal, At as DropZone, B as ConnectDeleteItemModal, Bt as Divider, C as PackageManagerInput, Ct as normalNodeOptionsMap, D as About, Dt as EditorActionButtons, E as DangerZone, Et as EditorUndoRedoButtons, F as ConnectionStateBadge, Ft as useDrop, G as AddDriveModal, Gt as ConnectSelect, H as CreateDocumentModal, Ht as DefaultEditorLoader, I as QueueInspector, It as DocumentToolbar, J as HomeScreen, Jt as Combobox, K as LoadingScreen, Kt as ConnectConfirmationModal, L as ProcessorsInspector, Lt as DocumentStateViewer, M as InspectorModal, Mt as UploadFileList, N as RemotesInspector, Nt as UploadFileItem, O as DependencyVersions, Ot as ConnectDropdownMenu, P as ChannelInspector, Pt as ConnectReplaceDuplicateModal, Q as FormattedJsonViewer, Qt as AnimatedLoader, R as ObjectInspectorModal, Rt as Tabs, S as PackageManagerListItem, St as normalNodeOptions, T as DefaultEditorSelect, Tt as ENSAvatar, U as AddRemoteDriveModal, Ut as DebugInspector, V as ConnectDeleteDriveModal, Vt as Disclosure, W as AddLocalDriveModal, Wt as DBExplorer, X as HomeScreenItem, Xt as Breadcrumbs, Y as HomeScreenAddDriveItem, Yt as Breadcrumb, Z as HomeBackgroundImage, Zt as NodeInput, _ as ClearStorageSettingsRow, _t as defaultDriveOptions, a as ConnectSidebarHeader, at as FolderItem, b as PackageManager, bt as nodeOptions, c as SidebarLogin, ct as CONFLICT, d as ConnectSearchBar, dt as MISSING, et as AddLocalDriveForm, f as RevisionHistory, ft as SUCCESS, g as SettingsModalOld, gt as debugNodeOptionsMap, h as ConnectUpgradeDriveModal, ht as debugNodeOptions, i as ConnectSidebar, it as FooterLink, j as PackageInstallModal, jt as UploadFileListContainer, k as verifyPackageJsonFields, kt as DropZoneWrapper, l as SidebarAddDriveItem, lt as ERROR, m as useEns, mt as syncStatuses, n as removeSuccessFiles, nt as FormInput, o as ConnectSidebarFooter, ot as FileItem, p as formatEthAddress, pt as SYNCING, q as IntegrityInspector, qt as CookieBanner, r as sortFilesByStatus, rt as Footer, s as SidebarUser, st as SyncStatusIcon, t as getFolderStatus, tt as Toggle, u as SidebarItem, ut as INITIAL_SYNC, v as SettingsRow, vt as defaultNodeOptions, w as DefaultEditor, wt as sharingTypeOptions, x as PackageManagerList, xt as nodeOptionsMap, y as SettingsModal, yt as locationInfoByLocation, z as DriveSettingsModal, zt as TabContent } from "../connect-
|
|
2
|
+
import { $ as AddRemoteDriveForm, $t as AccountPopover, A as ReadRequiredModal, At as DropZone, B as ConnectDeleteItemModal, Bt as Divider, C as PackageManagerInput, Ct as normalNodeOptionsMap, D as About, Dt as EditorActionButtons, E as DangerZone, Et as EditorUndoRedoButtons, F as ConnectionStateBadge, Ft as useDrop, G as AddDriveModal, Gt as ConnectSelect, H as CreateDocumentModal, Ht as DefaultEditorLoader, I as QueueInspector, It as DocumentToolbar, J as HomeScreen, Jt as Combobox, K as LoadingScreen, Kt as ConnectConfirmationModal, L as ProcessorsInspector, Lt as DocumentStateViewer, M as InspectorModal, Mt as UploadFileList, N as RemotesInspector, Nt as UploadFileItem, O as DependencyVersions, Ot as ConnectDropdownMenu, P as ChannelInspector, Pt as ConnectReplaceDuplicateModal, Q as FormattedJsonViewer, Qt as AnimatedLoader, R as ObjectInspectorModal, Rt as Tabs, S as PackageManagerListItem, St as normalNodeOptions, T as DefaultEditorSelect, Tt as ENSAvatar, U as AddRemoteDriveModal, Ut as DebugInspector, V as ConnectDeleteDriveModal, Vt as Disclosure, W as AddLocalDriveModal, Wt as DBExplorer, X as HomeScreenItem, Xt as Breadcrumbs, Y as HomeScreenAddDriveItem, Yt as Breadcrumb, Z as HomeBackgroundImage, Zt as NodeInput, _ as ClearStorageSettingsRow, _t as defaultDriveOptions, a as ConnectSidebarHeader, at as FolderItem, b as PackageManager, bt as nodeOptions, c as SidebarLogin, ct as CONFLICT, d as ConnectSearchBar, dt as MISSING, et as AddLocalDriveForm, f as RevisionHistory, ft as SUCCESS, g as SettingsModalOld, gt as debugNodeOptionsMap, h as ConnectUpgradeDriveModal, ht as debugNodeOptions, i as ConnectSidebar, it as FooterLink, j as PackageInstallModal, jt as UploadFileListContainer, k as verifyPackageJsonFields, kt as DropZoneWrapper, l as SidebarAddDriveItem, lt as ERROR, m as useEns, mt as syncStatuses, n as removeSuccessFiles, nt as FormInput, o as ConnectSidebarFooter, ot as FileItem, p as formatEthAddress, pt as SYNCING, q as IntegrityInspector, qt as CookieBanner, r as sortFilesByStatus, rt as Footer, s as SidebarUser, st as SyncStatusIcon, t as getFolderStatus, tt as Toggle, u as SidebarItem, ut as INITIAL_SYNC, v as SettingsRow, vt as defaultNodeOptions, w as DefaultEditor, wt as sharingTypeOptions, x as PackageManagerList, xt as nodeOptionsMap, y as SettingsModal, yt as locationInfoByLocation, z as DriveSettingsModal, zt as TabContent } from "../connect-DMIhscA7.js";
|
|
3
3
|
export { About, AccountPopover, AddDriveModal, AddLocalDriveForm, AddLocalDriveModal, AddRemoteDriveForm, AddRemoteDriveModal, AnimatedLoader, Breadcrumb, Breadcrumbs, CONFLICT, ChannelInspector, ClearStorageSettingsRow, Combobox, ConnectConfirmationModal, ConnectDeleteDriveModal, ConnectDeleteItemModal, ConnectDropdownMenu, ConnectReplaceDuplicateModal, ConnectSearchBar, ConnectSelect, ConnectSidebar, ConnectSidebarFooter, ConnectSidebarHeader, ConnectTooltip, ConnectTooltipProvider, ConnectUpgradeDriveModal, ConnectionStateBadge, CookieBanner, CreateDocumentModal, DBExplorer, DangerZone, DebugInspector, DefaultEditor, DefaultEditorLoader, DefaultEditorSelect, DependencyVersions, Disclosure, Divider, DocumentStateViewer, DocumentTimeline, DocumentToolbar, DriveSettingsModal, DropZone, DropZoneWrapper, ENSAvatar, ERROR, EditorActionButtons, EditorUndoRedoButtons, FileItem, FolderItem, Footer, FooterLink, FormInput, FormattedJsonViewer, HomeBackgroundImage, HomeScreen, HomeScreenAddDriveItem, HomeScreenItem, INITIAL_SYNC, InspectorModal, IntegrityInspector, LoadingScreen, MISSING, NodeInput, ObjectInspectorModal, PackageInstallModal, PackageManager, PackageManagerInput, PackageManagerList, PackageManagerListItem, ProcessorsInspector, QueueInspector, ReadRequiredModal, RemotesInspector, RevisionHistory, SUCCESS, SYNCING, SettingsModal, SettingsModalOld, SettingsRow, SidebarAddDriveItem, SidebarItem, SidebarLogin, SidebarUser, SyncStatusIcon, TabContent, Tabs, Toggle, UploadFileItem, UploadFileList, UploadFileListContainer, debugNodeOptions, debugNodeOptionsMap, defaultDriveOptions, defaultNodeOptions, formatEthAddress, getFolderStatus, locationInfoByLocation, nodeOptions, nodeOptionsMap, normalNodeOptions, normalNodeOptionsMap, removeSuccessFiles, sharingTypeOptions, sortFilesByStatus, syncStatuses, useDrop, useEns, verifyPackageJsonFields };
|
|
@@ -5774,12 +5774,16 @@ function sortRemotes(remotes, sort) {
|
|
|
5774
5774
|
return sort.direction === "asc" ? comparison : -comparison;
|
|
5775
5775
|
});
|
|
5776
5776
|
}
|
|
5777
|
-
function RemotesInspector({ getRemotes, removeRemote, connectionStates }) {
|
|
5777
|
+
function RemotesInspector({ getRemotes, removeRemote, addRemoteManual, triggerPull, connectionStates }) {
|
|
5778
5778
|
const [remotes, setRemotes] = useState([]);
|
|
5779
5779
|
const [loading, setLoading] = useState(true);
|
|
5780
5780
|
const [sort, setSort] = useState();
|
|
5781
5781
|
const [selectedRemote, setSelectedRemote] = useState();
|
|
5782
|
-
const
|
|
5782
|
+
const [manualUrl, setManualUrl] = useState("");
|
|
5783
|
+
const [adding, setAdding] = useState(false);
|
|
5784
|
+
const [addError, setAddError] = useState();
|
|
5785
|
+
const hasRowActions = !!removeRemote || !!triggerPull;
|
|
5786
|
+
const columns = useMemo(() => hasRowActions ? [...BASE_COLUMNS, ACTIONS_COLUMN] : BASE_COLUMNS, [hasRowActions]);
|
|
5783
5787
|
const loadRemotes = useCallback(async () => {
|
|
5784
5788
|
setLoading(true);
|
|
5785
5789
|
setRemotes(await getRemotes());
|
|
@@ -5819,6 +5823,29 @@ function RemotesInspector({ getRemotes, removeRemote, connectionStates }) {
|
|
|
5819
5823
|
const handleBack = () => {
|
|
5820
5824
|
setSelectedRemote(void 0);
|
|
5821
5825
|
};
|
|
5826
|
+
const handleAddManual = useCallback(async () => {
|
|
5827
|
+
if (!addRemoteManual) return;
|
|
5828
|
+
const url = manualUrl.trim();
|
|
5829
|
+
if (!url) return;
|
|
5830
|
+
setAdding(true);
|
|
5831
|
+
setAddError(void 0);
|
|
5832
|
+
try {
|
|
5833
|
+
await addRemoteManual(url);
|
|
5834
|
+
setManualUrl("");
|
|
5835
|
+
await loadRemotes();
|
|
5836
|
+
} catch (error) {
|
|
5837
|
+
setAddError(error instanceof Error ? error.message : String(error));
|
|
5838
|
+
} finally {
|
|
5839
|
+
setAdding(false);
|
|
5840
|
+
}
|
|
5841
|
+
}, [
|
|
5842
|
+
addRemoteManual,
|
|
5843
|
+
manualUrl,
|
|
5844
|
+
loadRemotes
|
|
5845
|
+
]);
|
|
5846
|
+
const handlePull = useCallback((remote) => {
|
|
5847
|
+
triggerPull?.(remote.name);
|
|
5848
|
+
}, [triggerPull]);
|
|
5822
5849
|
if (selectedRemote) return /* @__PURE__ */ jsx(ChannelInspector, {
|
|
5823
5850
|
channel: selectedRemote.channel,
|
|
5824
5851
|
connectionState: connectionStates?.get(selectedRemote.name),
|
|
@@ -5831,21 +5858,48 @@ function RemotesInspector({ getRemotes, removeRemote, connectionStates }) {
|
|
|
5831
5858
|
className: "flex h-full flex-col gap-2",
|
|
5832
5859
|
children: [
|
|
5833
5860
|
/* @__PURE__ */ jsxs("div", {
|
|
5834
|
-
className: "flex shrink-0 items-center justify-between",
|
|
5861
|
+
className: "flex shrink-0 items-center justify-between gap-2",
|
|
5835
5862
|
children: [/* @__PURE__ */ jsx("h2", {
|
|
5836
5863
|
className: "text-lg font-semibold text-gray-900",
|
|
5837
5864
|
children: "Remotes Inspector"
|
|
5838
|
-
}), /* @__PURE__ */ jsxs("
|
|
5839
|
-
className: "flex items-center gap-
|
|
5840
|
-
|
|
5841
|
-
|
|
5842
|
-
|
|
5843
|
-
|
|
5844
|
-
|
|
5845
|
-
|
|
5846
|
-
|
|
5865
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
5866
|
+
className: "flex items-center gap-2",
|
|
5867
|
+
children: [addRemoteManual && /* @__PURE__ */ jsxs("div", {
|
|
5868
|
+
className: "flex items-center gap-1",
|
|
5869
|
+
children: [/* @__PURE__ */ jsx("input", {
|
|
5870
|
+
className: "w-[260px] rounded border border-gray-300 px-2 py-1.5 text-sm text-gray-900 placeholder:text-gray-400",
|
|
5871
|
+
disabled: adding,
|
|
5872
|
+
onChange: (e) => setManualUrl(e.target.value),
|
|
5873
|
+
onKeyDown: (e) => {
|
|
5874
|
+
if (e.key === "Enter") handleAddManual();
|
|
5875
|
+
},
|
|
5876
|
+
placeholder: "https://reactor/d/drive-id",
|
|
5877
|
+
type: "text",
|
|
5878
|
+
value: manualUrl
|
|
5879
|
+
}), /* @__PURE__ */ jsx("button", {
|
|
5880
|
+
className: "flex items-center gap-1 rounded border border-gray-300 bg-white px-3 py-1.5 text-sm text-gray-700 hover:bg-gray-100 disabled:opacity-50",
|
|
5881
|
+
disabled: adding || !manualUrl.trim(),
|
|
5882
|
+
onClick: () => void handleAddManual(),
|
|
5883
|
+
title: "Register a remote drive in manual poll mode (no background polling)",
|
|
5884
|
+
type: "button",
|
|
5885
|
+
children: "Add (manual)"
|
|
5886
|
+
})]
|
|
5887
|
+
}), /* @__PURE__ */ jsxs("button", {
|
|
5888
|
+
className: "flex items-center gap-1 rounded border border-gray-300 bg-white px-3 py-1.5 text-sm text-gray-700 hover:bg-gray-100 disabled:opacity-50",
|
|
5889
|
+
disabled: loading,
|
|
5890
|
+
onClick: () => void handleRefresh(),
|
|
5891
|
+
type: "button",
|
|
5892
|
+
children: [/* @__PURE__ */ jsx(Icon, {
|
|
5893
|
+
name: "Reload",
|
|
5894
|
+
size: 14
|
|
5895
|
+
}), "Refresh"]
|
|
5896
|
+
})]
|
|
5847
5897
|
})]
|
|
5848
5898
|
}),
|
|
5899
|
+
addError && /* @__PURE__ */ jsx("div", {
|
|
5900
|
+
className: "shrink-0 rounded border border-red-300 bg-red-50 px-3 py-1.5 text-xs text-red-700",
|
|
5901
|
+
children: addError
|
|
5902
|
+
}),
|
|
5849
5903
|
/* @__PURE__ */ jsx("div", {
|
|
5850
5904
|
className: "max-h-full overflow-auto rounded-lg border border-gray-300",
|
|
5851
5905
|
children: /* @__PURE__ */ jsxs("table", {
|
|
@@ -5937,13 +5991,22 @@ function RemotesInspector({ getRemotes, removeRemote, connectionStates }) {
|
|
|
5937
5991
|
})]
|
|
5938
5992
|
})
|
|
5939
5993
|
}),
|
|
5940
|
-
|
|
5994
|
+
hasRowActions && /* @__PURE__ */ jsx("td", {
|
|
5941
5995
|
className: "border-l border-gray-300 px-3 py-2",
|
|
5942
|
-
children: /* @__PURE__ */
|
|
5943
|
-
className: "
|
|
5944
|
-
|
|
5945
|
-
|
|
5946
|
-
|
|
5996
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
5997
|
+
className: "flex items-center gap-1",
|
|
5998
|
+
children: [triggerPull && /* @__PURE__ */ jsx("button", {
|
|
5999
|
+
className: "rounded bg-gray-100 px-2 py-1 text-xs text-gray-700 hover:bg-gray-200",
|
|
6000
|
+
onClick: () => handlePull(remote),
|
|
6001
|
+
title: "Trigger a single pull cycle for this remote",
|
|
6002
|
+
type: "button",
|
|
6003
|
+
children: "Pull"
|
|
6004
|
+
}), removeRemote && /* @__PURE__ */ jsx("button", {
|
|
6005
|
+
className: "rounded bg-red-50 px-2 py-1 text-xs text-red-700 hover:bg-red-100",
|
|
6006
|
+
onClick: () => void handleRemove(remote),
|
|
6007
|
+
type: "button",
|
|
6008
|
+
children: "Remove"
|
|
6009
|
+
})]
|
|
5947
6010
|
})
|
|
5948
6011
|
})
|
|
5949
6012
|
]
|
|
@@ -8274,4 +8337,4 @@ const removeSuccessFiles = (files) => {
|
|
|
8274
8337
|
//#endregion
|
|
8275
8338
|
export { AddRemoteDriveForm as $, AccountPopover as $t, ReadRequiredModal as A, DropZone as At, ConnectDeleteItemModal as B, Divider as Bt, PackageManagerInput as C, normalNodeOptionsMap as Ct, About as D, EditorActionButtons as Dt, DangerZone as E, EditorUndoRedoButtons as Et, ConnectionStateBadge as F, useDrop as Ft, AddDriveModal as G, ConnectSelect as Gt, CreateDocumentModal as H, DefaultEditorLoader as Ht, QueueInspector as I, DocumentToolbar as It, HomeScreen as J, Combobox as Jt, LoadingScreen as K, ConnectConfirmationModal as Kt, ProcessorsInspector as L, DocumentStateViewer as Lt, InspectorModal as M, UploadFileList as Mt, RemotesInspector as N, UploadFileItem as Nt, DependencyVersions as O, ConnectDropdownMenu as Ot, ChannelInspector as P, ConnectReplaceDuplicateModal as Pt, FormattedJsonViewer as Q, AnimatedLoader as Qt, ObjectInspectorModal as R, Tabs as Rt, PackageManagerListItem as S, normalNodeOptions as St, DefaultEditorSelect as T, ENSAvatar as Tt, AddRemoteDriveModal as U, DebugInspector as Ut, ConnectDeleteDriveModal as V, Disclosure as Vt, AddLocalDriveModal as W, DBExplorer as Wt, HomeScreenItem as X, Breadcrumbs as Xt, HomeScreenAddDriveItem as Y, Breadcrumb as Yt, HomeBackgroundImage as Z, NodeInput as Zt, ClearStorageSettingsRow as _, defaultDriveOptions as _t, ConnectSidebarHeader as a, FolderItem as at, PackageManager as b, nodeOptions as bt, SidebarLogin as c, CONFLICT as ct, ConnectSearchBar as d, MISSING as dt, AddLocalDriveForm as et, RevisionHistory as f, SUCCESS as ft, SettingsModalOld as g, debugNodeOptionsMap as gt, ConnectUpgradeDriveModal as h, debugNodeOptions as ht, ConnectSidebar as i, FooterLink as it, PackageInstallModal as j, UploadFileListContainer as jt, verifyPackageJsonFields as k, DropZoneWrapper as kt, SidebarAddDriveItem as l, ERROR as lt, useEns as m, syncStatuses as mt, removeSuccessFiles as n, FormInput as nt, ConnectSidebarFooter as o, FileItem as ot, formatEthAddress as p, SYNCING as pt, IntegrityInspector as q, CookieBanner as qt, sortFilesByStatus as r, Footer as rt, SidebarUser as s, SyncStatusIcon as st, getFolderStatus as t, Toggle as tt, SidebarItem as u, INITIAL_SYNC as ut, SettingsRow as v, defaultNodeOptions as vt, DefaultEditor as w, sharingTypeOptions as wt, PackageManagerList as x, nodeOptionsMap as xt, SettingsModal as y, locationInfoByLocation as yt, DriveSettingsModal as z, TabContent as zt };
|
|
8276
8339
|
|
|
8277
|
-
//# sourceMappingURL=connect-
|
|
8340
|
+
//# sourceMappingURL=connect-DMIhscA7.js.map
|