@powerhousedao/design-system 6.2.3-dev.90 → 6.2.3-dev.91
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 +15 -0
- package/dist/connect/index.d.ts.map +1 -1
- package/dist/connect/index.js +119 -7
- package/dist/connect/index.js.map +1 -1
- package/package.json +4 -4
package/dist/connect/index.d.ts
CHANGED
|
@@ -629,6 +629,21 @@ export declare function ToolbarName(props: {
|
|
|
629
629
|
titleClassName?: string;
|
|
630
630
|
}): import("react/jsx-runtime").JSX.Element | null;
|
|
631
631
|
//#endregion
|
|
632
|
+
//#region src/connect/components/document-toolbar/use-document-undo-redo.d.ts
|
|
633
|
+
/**
|
|
634
|
+
* Undo and redo of a base-reducer 3 document through the reactor client, so
|
|
635
|
+
* the author signs the RETRACT it submits. Availability is read when the
|
|
636
|
+
* global or document revision changes, and presses run one at a time.
|
|
637
|
+
* Without a client the controls are disabled. Returns undefined below
|
|
638
|
+
* base-reducer 3, where the caller dispatches UNDO and REDO itself.
|
|
639
|
+
*/
|
|
640
|
+
export declare function useBaseReducer3UndoRedo(document: PHDocument | undefined): {
|
|
641
|
+
canUndo: boolean;
|
|
642
|
+
canRedo: boolean;
|
|
643
|
+
undo: () => void;
|
|
644
|
+
redo: () => void;
|
|
645
|
+
} | undefined;
|
|
646
|
+
//#endregion
|
|
632
647
|
//#region src/connect/components/drive-auth-gate/drive-auth-gate.d.ts
|
|
633
648
|
export interface DriveAuthGateProps {
|
|
634
649
|
/** Visual state — `"login"` (anonymous) or `"unauthorized"` (already signed in, not the owner). Defaults to `"login"`. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../src/connect/components/account-popover/account-popover.tsx","../../src/connect/components/account-popover/account-popover-login.tsx","../../src/connect/components/renown-login/renown-login-methods.tsx","../../src/connect/components/animated-loader/animated-loader.tsx","../../src/connect/components/breadcrumbs/breadcrumbs.tsx","../../src/connect/components/catch-up-inspector/catch-up-inspector.tsx","../../src/connect/components/combobox/combobox.impl.tsx","../../src/connect/components/combobox/combobox.tsx","../../src/connect/components/consent-banner/consent-banner.tsx","../../src/connect/components/db-explorer/components/table-view.tsx","../../src/connect/components/db-explorer/components/schema-tree-sidebar.tsx","../../src/connect/components/db-explorer/db-explorer.tsx","../../src/connect/components/debug-inspector/debug-inspector.tsx","../../src/connect/components/default-editor-loader/default-editor-loader.tsx","../../src/connect/components/disclosure/disclosure.tsx","../../src/connect/components/divider/divider.tsx","../../src/connect/components/document-state-viewer/document-state-viewer.tsx","../../src/connect/components/document-timeline/document-timeline.impl.tsx","../../src/connect/components/document-timeline/document-timeline.tsx","../../src/connect/components/document-toolbar/containers.tsx","../../src/connect/components/document-toolbar/constants.ts","../../src/connect/components/document-toolbar/types.ts","../../src/connect/components/document-toolbar/document-toolbar.tsx","../../src/connect/components/document-toolbar/toolbar-button.tsx","../../src/connect/components/document-toolbar/toolbar-input.tsx","../../src/connect/components/document-toolbar/toolbar-name.tsx","../../src/connect/components/drive-auth-gate/drive-auth-gate.tsx","../../src/connect/components/drop-zone/drop-zone-wrapper.tsx","../../src/connect/components/upload-file-item/upload-file-item.tsx","../../src/connect/components/drop-zone/utils.ts","../../src/connect/components/drop-zone/drop-zone.tsx","../../src/connect/components/drop-zone/upload-file-list-container.tsx","../../src/connect/components/dropdown-menu/dropdown-menu.tsx","../../src/connect/components/editor-action-buttons/editor-action-buttons.tsx","../../src/connect/components/editor-undo-redo-buttons/editor-undo-redo-buttons.tsx","../../src/connect/components/ens-avatar/ens-avatar.tsx","../../src/connect/components/file-item/file-item.tsx","../../src/connect/components/folder-item/folder-item.tsx","../../src/connect/components/footer/footer-link.tsx","../../src/connect/components/footer/footer.tsx","../../src/connect/components/form-input/form-input.tsx","../../src/connect/components/form/add-local-drive-form.impl.tsx","../../src/connect/components/form/add-local-drive-form.tsx","../../src/connect/components/form/add-remote-drive-form.impl.tsx","../../src/connect/components/form/add-remote-drive-form.tsx","../../src/connect/components/formatted-json-viewer.impl.tsx","../../src/connect/components/formatted-json-viewer.tsx","../../src/connect/components/branding/background-layers.tsx","../../src/connect/components/branding/connect-branding.tsx","../../src/connect/components/home-screen/home-background-image.tsx","../../src/connect/components/home-screen/home-screen-add-drive-item.tsx","../../src/connect/components/home-screen/home-screen-item.tsx","../../src/connect/components/home-screen/home-screen.tsx","../../src/connect/components/integrity-inspector/integrity-inspector.tsx","../../src/connect/components/loading-screen/loading-screen.tsx","../../src/connect/components/logo-animation.tsx","../../src/connect/components/modal/add-drive-modal/add-drive-modal.tsx","../../src/connect/components/modal/confirmation-modal.tsx","../../src/connect/components/modal/create-document-modal.tsx","../../src/connect/components/modal/create-document-with-type-modal.tsx","../../src/connect/components/modal/delete-drive-modal.tsx","../../src/connect/components/modal/delete-item-modal.tsx","../../src/connect/components/modal/drive-settings-modal.tsx","../../src/connect/components/processors-inspector/processors-inspector.tsx","../../src/connect/components/queue-inspector/queue-inspector.tsx","../../src/connect/components/remotes-inspector/remotes-inspector.tsx","../../src/connect/components/remotes-inspector/components/channel-inspector.tsx","../../src/connect/components/remotes-inspector/components/connection-state-badge.tsx","../../src/connect/components/remotes-inspector/components/peer-agreement-panel.tsx","../../src/connect/components/worker-inspector/worker-inspector.tsx","../../src/connect/components/modal/inspector-modal/inspector-modal.tsx","../../src/connect/components/modal/missing-package-modal.tsx","../../src/connect/components/modal/modal-button.tsx","../../src/connect/components/modal/read-required-modal.tsx","../../src/connect/components/modal/replace-duplicate-modal.tsx","../../src/connect/components/modal/settings-modal-v2/about.tsx","../../src/connect/components/modal/settings-modal-v2/danger-zone.tsx","../../src/connect/components/modal/settings-modal-v2/default-editor.impl.tsx","../../src/connect/components/modal/settings-modal-v2/default-editor.tsx","../../src/connect/components/modal/settings-modal-v2/package-manager/available-packages-panel.tsx","../../src/connect/components/modal/settings-modal-v2/package-manager/installed-packages-panel.tsx","../../src/connect/components/modal/settings-modal-v2/package-manager/package-manager-list.tsx","../../src/connect/components/modal/settings-modal-v2/package-manager/package-manager.tsx","../../src/connect/components/modal/settings-modal-v2/package-manager/package-registry-error.tsx","../../src/connect/components/modal/settings-modal-v2/package-manager/types.ts","../../src/connect/components/modal/settings-modal-v2/settings-modal.tsx","../../src/connect/components/modal/settings-modal/dependency-versions/dependency-versions.tsx","../../src/connect/components/modal/upgrade-drive-modal.tsx","../../src/connect/components/node-input/node-input.tsx","../../src/connect/components/object-inspector-modal/object-inspector-modal.tsx","../../src/connect/components/revision-history/revision-history.impl.tsx","../../src/connect/components/revision-history/revision-history.tsx","../../src/connect/components/search-bar/filter-item.tsx","../../src/connect/components/search-bar/search-bar.tsx","../../src/connect/components/select/select.tsx","../../src/connect/components/sidebar/sidebar-add-drive-item.tsx","../../src/connect/components/sidebar/sidebar-footer.tsx","../../src/connect/components/sidebar/sidebar-header.tsx","../../src/connect/components/sidebar/sidebar-item.tsx","../../src/connect/components/sidebar/sidebar-login.tsx","../../src/connect/components/sidebar/sidebar-user.tsx","../../src/connect/components/sidebar/sidebar.tsx","../../src/connect/components/status-icon/sync-status-icon.tsx","../../src/connect/components/tabs/tab-content.tsx","../../src/connect/components/tabs/tabs.tsx","../../src/connect/components/theme-switch.tsx","../../src/connect/components/toggle/toggle.tsx","../../src/connect/components/tooltip/tooltip.tsx","../../src/connect/components/upload-file-list/upload-file-list.tsx","../../src/connect/constants/options.tsx","../../src/connect/hooks/use-ens.ts","../../src/connect/utils/address.ts","../../src/connect/utils/get-folder-status.ts"],"mappings":";;;;;;;;;;;;;;;;iBAGiB;EACf,UAAU;EACV,SAAS;EAET;EACA,gBAAgB;;qBAGL,mBAAc,UAAA,SAAA,MAAA,gBAKxB,oDAAmB,IAAA;;;iBCbL;EAGf;;qBAGW,qBAAqB,GAAG;;;iBCHpB;EACf;EACA;EACA;EACA;;iBAGe;EACf,SAAS;EAGT;EACA;EACA;;qBAsDW,oBAAoB,GAAG;;;KCpE/B,WAAQ;WACF,OAAO;;wBAEF,eAAe,OAAO,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AAI,IAAA;;;;;KCpGH;EACH;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;KAGG;EACH,MAAM;EACN;EACA,OAAO;;wBAuBO,OAAO,qCAAqC;;;wBClD5C,iBAAiB;;;KCA5B;YAQO;EAAe;EAAc,SAAS;;;;;;;;;qBASrC,kBAAe,oBACR,aACL,iBACZ;;;;;;;;;;;;;qBAsBU,oBAAiB,OAAW,iBAAY;;;;;;qBAuBxC,qBAAkB,OAAW,iBAAY"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../src/connect/components/account-popover/account-popover.tsx","../../src/connect/components/account-popover/account-popover-login.tsx","../../src/connect/components/renown-login/renown-login-methods.tsx","../../src/connect/components/animated-loader/animated-loader.tsx","../../src/connect/components/breadcrumbs/breadcrumbs.tsx","../../src/connect/components/catch-up-inspector/catch-up-inspector.tsx","../../src/connect/components/combobox/combobox.impl.tsx","../../src/connect/components/combobox/combobox.tsx","../../src/connect/components/consent-banner/consent-banner.tsx","../../src/connect/components/db-explorer/components/table-view.tsx","../../src/connect/components/db-explorer/components/schema-tree-sidebar.tsx","../../src/connect/components/db-explorer/db-explorer.tsx","../../src/connect/components/debug-inspector/debug-inspector.tsx","../../src/connect/components/default-editor-loader/default-editor-loader.tsx","../../src/connect/components/disclosure/disclosure.tsx","../../src/connect/components/divider/divider.tsx","../../src/connect/components/document-state-viewer/document-state-viewer.tsx","../../src/connect/components/document-timeline/document-timeline.impl.tsx","../../src/connect/components/document-timeline/document-timeline.tsx","../../src/connect/components/document-toolbar/containers.tsx","../../src/connect/components/document-toolbar/constants.ts","../../src/connect/components/document-toolbar/types.ts","../../src/connect/components/document-toolbar/document-toolbar.tsx","../../src/connect/components/document-toolbar/toolbar-button.tsx","../../src/connect/components/document-toolbar/toolbar-input.tsx","../../src/connect/components/document-toolbar/toolbar-name.tsx","../../src/connect/components/document-toolbar/use-document-undo-redo.ts","../../src/connect/components/drive-auth-gate/drive-auth-gate.tsx","../../src/connect/components/drop-zone/drop-zone-wrapper.tsx","../../src/connect/components/upload-file-item/upload-file-item.tsx","../../src/connect/components/drop-zone/utils.ts","../../src/connect/components/drop-zone/drop-zone.tsx","../../src/connect/components/drop-zone/upload-file-list-container.tsx","../../src/connect/components/dropdown-menu/dropdown-menu.tsx","../../src/connect/components/editor-action-buttons/editor-action-buttons.tsx","../../src/connect/components/editor-undo-redo-buttons/editor-undo-redo-buttons.tsx","../../src/connect/components/ens-avatar/ens-avatar.tsx","../../src/connect/components/file-item/file-item.tsx","../../src/connect/components/folder-item/folder-item.tsx","../../src/connect/components/footer/footer-link.tsx","../../src/connect/components/footer/footer.tsx","../../src/connect/components/form-input/form-input.tsx","../../src/connect/components/form/add-local-drive-form.impl.tsx","../../src/connect/components/form/add-local-drive-form.tsx","../../src/connect/components/form/add-remote-drive-form.impl.tsx","../../src/connect/components/form/add-remote-drive-form.tsx","../../src/connect/components/formatted-json-viewer.impl.tsx","../../src/connect/components/formatted-json-viewer.tsx","../../src/connect/components/branding/background-layers.tsx","../../src/connect/components/branding/connect-branding.tsx","../../src/connect/components/home-screen/home-background-image.tsx","../../src/connect/components/home-screen/home-screen-add-drive-item.tsx","../../src/connect/components/home-screen/home-screen-item.tsx","../../src/connect/components/home-screen/home-screen.tsx","../../src/connect/components/integrity-inspector/integrity-inspector.tsx","../../src/connect/components/loading-screen/loading-screen.tsx","../../src/connect/components/logo-animation.tsx","../../src/connect/components/modal/add-drive-modal/add-drive-modal.tsx","../../src/connect/components/modal/confirmation-modal.tsx","../../src/connect/components/modal/create-document-modal.tsx","../../src/connect/components/modal/create-document-with-type-modal.tsx","../../src/connect/components/modal/delete-drive-modal.tsx","../../src/connect/components/modal/delete-item-modal.tsx","../../src/connect/components/modal/drive-settings-modal.tsx","../../src/connect/components/processors-inspector/processors-inspector.tsx","../../src/connect/components/queue-inspector/queue-inspector.tsx","../../src/connect/components/remotes-inspector/remotes-inspector.tsx","../../src/connect/components/remotes-inspector/components/channel-inspector.tsx","../../src/connect/components/remotes-inspector/components/connection-state-badge.tsx","../../src/connect/components/remotes-inspector/components/peer-agreement-panel.tsx","../../src/connect/components/worker-inspector/worker-inspector.tsx","../../src/connect/components/modal/inspector-modal/inspector-modal.tsx","../../src/connect/components/modal/missing-package-modal.tsx","../../src/connect/components/modal/modal-button.tsx","../../src/connect/components/modal/read-required-modal.tsx","../../src/connect/components/modal/replace-duplicate-modal.tsx","../../src/connect/components/modal/settings-modal-v2/about.tsx","../../src/connect/components/modal/settings-modal-v2/danger-zone.tsx","../../src/connect/components/modal/settings-modal-v2/default-editor.impl.tsx","../../src/connect/components/modal/settings-modal-v2/default-editor.tsx","../../src/connect/components/modal/settings-modal-v2/package-manager/available-packages-panel.tsx","../../src/connect/components/modal/settings-modal-v2/package-manager/installed-packages-panel.tsx","../../src/connect/components/modal/settings-modal-v2/package-manager/package-manager-list.tsx","../../src/connect/components/modal/settings-modal-v2/package-manager/package-manager.tsx","../../src/connect/components/modal/settings-modal-v2/package-manager/package-registry-error.tsx","../../src/connect/components/modal/settings-modal-v2/package-manager/types.ts","../../src/connect/components/modal/settings-modal-v2/settings-modal.tsx","../../src/connect/components/modal/settings-modal/dependency-versions/dependency-versions.tsx","../../src/connect/components/modal/upgrade-drive-modal.tsx","../../src/connect/components/node-input/node-input.tsx","../../src/connect/components/object-inspector-modal/object-inspector-modal.tsx","../../src/connect/components/revision-history/revision-history.impl.tsx","../../src/connect/components/revision-history/revision-history.tsx","../../src/connect/components/search-bar/filter-item.tsx","../../src/connect/components/search-bar/search-bar.tsx","../../src/connect/components/select/select.tsx","../../src/connect/components/sidebar/sidebar-add-drive-item.tsx","../../src/connect/components/sidebar/sidebar-footer.tsx","../../src/connect/components/sidebar/sidebar-header.tsx","../../src/connect/components/sidebar/sidebar-item.tsx","../../src/connect/components/sidebar/sidebar-login.tsx","../../src/connect/components/sidebar/sidebar-user.tsx","../../src/connect/components/sidebar/sidebar.tsx","../../src/connect/components/status-icon/sync-status-icon.tsx","../../src/connect/components/tabs/tab-content.tsx","../../src/connect/components/tabs/tabs.tsx","../../src/connect/components/theme-switch.tsx","../../src/connect/components/toggle/toggle.tsx","../../src/connect/components/tooltip/tooltip.tsx","../../src/connect/components/upload-file-list/upload-file-list.tsx","../../src/connect/constants/options.tsx","../../src/connect/hooks/use-ens.ts","../../src/connect/utils/address.ts","../../src/connect/utils/get-folder-status.ts"],"mappings":";;;;;;;;;;;;;;;;iBAGiB;EACf,UAAU;EACV,SAAS;EAET;EACA,gBAAgB;;qBAGL,mBAAc,UAAA,SAAA,MAAA,gBAKxB,oDAAmB,IAAA;;;iBCbL;EAGf;;qBAGW,qBAAqB,GAAG;;;iBCHpB;EACf;EACA;EACA;EACA;;iBAGe;EACf,SAAS;EAGT;EACA;EACA;;qBAsDW,oBAAoB,GAAG;;;KCpE/B,WAAQ;WACF,OAAO;;wBAEF,eAAe,OAAO,uCAAK,IAAA;;;wBCe3B,2CAAW,IAAA;YAkGf;EACV;EACA;EACA;;EAEA;;EAEA,SAAS;EACT;;wBAGc,WAAW,OAAO,8CAAe,IAAA;;;YC/HrC;EACV;EACA;EACA;EACA;;YAGU;EACV;EACA;EACA;EACA;EACA;EACA;;YAGU;EACV;EACA;EACA;EACA;EACA,YAAY;EACZ;;YAGU;EACV,WAAW;EACX,WAAW;;YAGD;WACD,QAAQ;WACR,iBAAiB;WACjB,kBAAkB;;wBAmEb,mBACd,QACA,WACA,cACC,oDAAqB,IAAA;;;KCnGnB,cAAc,gCAAgC;KAE9C,UAAQ,KAAK;WACP;IACP,QAAQ;IACR;;;iBA6CY,WAAS,OAAO,sCAAK,IAAA;;;qBC1DxB,iBAAA;;;YCED;EACV;EACA;EACA;;iBAGe,0BAA0B,KACzC,MAAM,eAAe;EAGrB,SAAS;EACT;EACA;EACA,YAAY,SAAS;EACrB;;qBAGW,cAAc,MAAM,GAAG;;;KChBxB;WACD;WACA;WACA;;KAGC;KAEA;WACD;WACA,WAAW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Ae,OAAO,kDAAmB,IAAA;;;qBCf5C;qBAOA;qBAEA;qBAOA;qBAMA;qBAEA;WAET;WACA,kCAAI,IAAA;WACJ;;WAGA;WACA,kCAAI,IAAA;WACJ;;WAGA;WACA,kCAAI,IAAA;WACJ;WACA;;qBAIS;WACX;aACE;aACA;aACA,kCAAI,IAAA;;WAEN;aACE;aACA;aACA,kCAAI,IAAA;;WAEN;aACE;aACA;aACA,kCAAI,IAAA;;;qBAIK;WACX;aACE;aACA,kCAAI,IAAA;;WAEN;aACE;aACA,kCAAI,IAAA;;WAEN;aACE;aACA,kCAAI,IAAA;;;qBAIK;WACX;aACE;aACA,kCAAI,IAAA;;WAEN;aACE;aACA,kCAAI,IAAA;;WAEN;aACE;aACA,kCAAI,IAAA;;WAEN;aACE;aACA,kCAAI,IAAA;aACJ;;;qBAIS;;aAdT;aACA,kCAAI,IAAA;;;aAGJ;aACA,kCAAI,IAAA;;;aAGJ;aACA,kCAAI,IAAA;aACJ;;;IAOA;IACA,kCAAI,IAAA;;;;;KCpGH;EACH;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;KAGG;EACH,MAAM;EACN;EACA,OAAO;;wBAuBO,OAAO,qCAAqC;;;wBClD5C,iBAAiB;;;KCA5B;YAQO;EAAe;EAAc,SAAS;;;;;;;;;qBASrC,kBAAe,oBACR,aACL,iBACZ;;;;;;;;;;;;;qBAsBU,oBAAiB,OAAW,iBAAY;;;;;;qBAuBxC,qBAAkB,OAAW,iBAAY"}
|
package/dist/connect/index.js
CHANGED
|
@@ -13,10 +13,10 @@ import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
|
13
13
|
import { Content, Portal, Provider, Root, Trigger } from "@radix-ui/react-tooltip";
|
|
14
14
|
import { useEventListener, useOnClickOutside } from "usehooks-ts";
|
|
15
15
|
import { Loader2, Mail, Monitor, Moon, Settings, Smartphone, Sun, Wallet } from "lucide-react";
|
|
16
|
-
import { SyncOperationStatus, addFolder, getNodeTarget, getSyncStatusSync, isPlainClick, makeDriveSlug, preloadEditorModule, showDeleteNodeModal, showPHModal, showRevisionHistory, useCloseNode, useDocumentById, useDocumentVersionStatus, useDownloadDocument, useDownloadFolder, useDragNode, useDriveContext, useDropFile, useDropNode, useEditorModulesForDocumentType, useGetSwitchboardLink, useIsDragAndDropEnabled, useLinkProps, useNodeActions, useNodeById, useNodeTarget, useOnDropFile, usePHNavigation, usePreloadNode, useSelectedDocumentSafe, useSelectedDriveId, useSelectedDriveSafe, useSelectedNodePath, useSetSelectedDrive, useSetSelectedNode, useTheme, useUserPermissions } from "@powerhousedao/reactor-browser";
|
|
16
|
+
import { SyncOperationStatus, addFolder, getNodeTarget, getSyncStatusSync, isPlainClick, makeDriveSlug, preloadEditorModule, showDeleteNodeModal, showPHModal, showRevisionHistory, useCloseNode, useDocumentById, useDocumentVersionStatus, useDownloadDocument, useDownloadFolder, useDragNode, useDriveContext, useDropFile, useDropNode, useEditorModulesForDocumentType, useGetSwitchboardLink, useIsDragAndDropEnabled, useLinkProps, useNodeActions, useNodeById, useNodeTarget, useOnDropFile, usePHNavigation, usePreloadNode, useReactorClient, useSelectedDocumentSafe, useSelectedDriveId, useSelectedDriveSafe, useSelectedNodePath, useSetSelectedDrive, useSetSelectedNode, useTheme, useUserPermissions } from "@powerhousedao/reactor-browser";
|
|
17
17
|
import { Content as Content$1, List, Root as Root$1, Trigger as Trigger$1 } from "@radix-ui/react-tabs";
|
|
18
18
|
import { addProp, defaultTo, entries, filter, hasAtLeast, isArray, isDefined, isIncludedIn, isTruthy, keys, map, pipe, prop, values } from "remeda";
|
|
19
|
-
import { redo, undo } from "@powerhousedao/shared/document-model";
|
|
19
|
+
import { redo, undo, undoCapabilitiesOf } from "@powerhousedao/shared/document-model";
|
|
20
20
|
import { RenownLogo } from "@powerhousedao/reactor-browser/renown";
|
|
21
21
|
import { colorVariants, imageVariants, layerStyle, normalizeBackground } from "@powerhousedao/shared/connect";
|
|
22
22
|
import { isValidName } from "@powerhousedao/shared/document-drive";
|
|
@@ -2146,6 +2146,105 @@ function ToolbarControlsContainer(props) {
|
|
|
2146
2146
|
}
|
|
2147
2147
|
//#endregion
|
|
2148
2148
|
//#region src/connect/components/document-toolbar/use-document-undo-redo.ts
|
|
2149
|
+
const UNAVAILABLE = {
|
|
2150
|
+
canUndo: false,
|
|
2151
|
+
canRedo: false
|
|
2152
|
+
};
|
|
2153
|
+
/** The scope `undo()` and `redo()` target by default. */
|
|
2154
|
+
const UNDO_SCOPE = "global";
|
|
2155
|
+
function isRetractionDocument(document) {
|
|
2156
|
+
const create = document.operations?.document?.[0]?.action;
|
|
2157
|
+
const input = create?.type === "CREATE_DOCUMENT" ? create.input : void 0;
|
|
2158
|
+
return undoCapabilitiesOf(document.header, input)?.undo === "retraction";
|
|
2159
|
+
}
|
|
2160
|
+
function undoRoute(client, document) {
|
|
2161
|
+
if (!document || !isRetractionDocument(document)) return "dispatch";
|
|
2162
|
+
return client ? "client" : "none";
|
|
2163
|
+
}
|
|
2164
|
+
const DISABLED = {
|
|
2165
|
+
canUndo: false,
|
|
2166
|
+
canRedo: false,
|
|
2167
|
+
undo: () => void 0,
|
|
2168
|
+
redo: () => void 0
|
|
2169
|
+
};
|
|
2170
|
+
const availabilityReads = /* @__PURE__ */ new WeakMap();
|
|
2171
|
+
function readAvailability(client, documentId, revision) {
|
|
2172
|
+
let reads = availabilityReads.get(client);
|
|
2173
|
+
if (!reads) {
|
|
2174
|
+
reads = /* @__PURE__ */ new Map();
|
|
2175
|
+
availabilityReads.set(client, reads);
|
|
2176
|
+
}
|
|
2177
|
+
const cached = reads.get(documentId);
|
|
2178
|
+
if (cached?.revision === revision) return cached.read;
|
|
2179
|
+
const entry = {
|
|
2180
|
+
revision,
|
|
2181
|
+
read: Promise.resolve(UNAVAILABLE)
|
|
2182
|
+
};
|
|
2183
|
+
entry.read = client.undoRedoAvailability(documentId, UNDO_SCOPE).catch((error) => {
|
|
2184
|
+
console.error("Failed to read undo and redo availability:", error);
|
|
2185
|
+
if (reads.get(documentId) === entry) reads.delete(documentId);
|
|
2186
|
+
return UNAVAILABLE;
|
|
2187
|
+
});
|
|
2188
|
+
reads.set(documentId, entry);
|
|
2189
|
+
return entry.read;
|
|
2190
|
+
}
|
|
2191
|
+
const pendingPresses = /* @__PURE__ */ new WeakMap();
|
|
2192
|
+
function queuePress(client, documentId, press, failure) {
|
|
2193
|
+
let presses = pendingPresses.get(client);
|
|
2194
|
+
if (!presses) {
|
|
2195
|
+
presses = /* @__PURE__ */ new Map();
|
|
2196
|
+
pendingPresses.set(client, presses);
|
|
2197
|
+
}
|
|
2198
|
+
const queue = presses;
|
|
2199
|
+
const prior = queue.get(documentId);
|
|
2200
|
+
const run = (prior ? prior.then(press) : new Promise((resolve) => resolve(press()))).catch((error) => {
|
|
2201
|
+
console.error(failure, error);
|
|
2202
|
+
});
|
|
2203
|
+
queue.set(documentId, run);
|
|
2204
|
+
run.finally(() => {
|
|
2205
|
+
if (queue.get(documentId) === run) queue.delete(documentId);
|
|
2206
|
+
});
|
|
2207
|
+
}
|
|
2208
|
+
/**
|
|
2209
|
+
* Undo and redo of a base-reducer 3 document through the reactor client, so
|
|
2210
|
+
* the author signs the RETRACT it submits. Availability is read when the
|
|
2211
|
+
* global or document revision changes, and presses run one at a time.
|
|
2212
|
+
* Without a client the controls are disabled. Returns undefined below
|
|
2213
|
+
* base-reducer 3, where the caller dispatches UNDO and REDO itself.
|
|
2214
|
+
*/
|
|
2215
|
+
function useBaseReducer3UndoRedo(document) {
|
|
2216
|
+
const client = useReactorClient();
|
|
2217
|
+
const route = undoRoute(client, document);
|
|
2218
|
+
const documentId = route === "client" ? document?.header.id : void 0;
|
|
2219
|
+
const revision = `${document?.header.revision[UNDO_SCOPE] ?? 0}:${document?.header.revision.document ?? 0}`;
|
|
2220
|
+
const [availability, setAvailability] = useState({ value: UNAVAILABLE });
|
|
2221
|
+
useEffect(() => {
|
|
2222
|
+
if (!client || !documentId) return;
|
|
2223
|
+
let cancelled = false;
|
|
2224
|
+
readAvailability(client, documentId, revision).then((value) => {
|
|
2225
|
+
if (!cancelled) setAvailability({
|
|
2226
|
+
documentId,
|
|
2227
|
+
value
|
|
2228
|
+
});
|
|
2229
|
+
});
|
|
2230
|
+
return () => {
|
|
2231
|
+
cancelled = true;
|
|
2232
|
+
};
|
|
2233
|
+
}, [
|
|
2234
|
+
client,
|
|
2235
|
+
documentId,
|
|
2236
|
+
revision
|
|
2237
|
+
]);
|
|
2238
|
+
if (route === "none") return DISABLED;
|
|
2239
|
+
if (!client || !documentId) return void 0;
|
|
2240
|
+
const { canUndo, canRedo } = availability.documentId === documentId ? availability.value : UNAVAILABLE;
|
|
2241
|
+
return {
|
|
2242
|
+
canUndo,
|
|
2243
|
+
canRedo,
|
|
2244
|
+
undo: () => queuePress(client, documentId, () => client.undo(documentId, UNDO_SCOPE), "Failed to undo:"),
|
|
2245
|
+
redo: () => queuePress(client, documentId, () => client.redo(documentId, UNDO_SCOPE), "Failed to redo:")
|
|
2246
|
+
};
|
|
2247
|
+
}
|
|
2149
2248
|
/**
|
|
2150
2249
|
* Checks whether a document has at least one non-zero revision count.
|
|
2151
2250
|
*
|
|
@@ -2159,11 +2258,17 @@ function hasRevisions(document) {
|
|
|
2159
2258
|
/**
|
|
2160
2259
|
* Returns undo state and an undo dispatcher for a document.
|
|
2161
2260
|
*
|
|
2162
|
-
*
|
|
2163
|
-
*
|
|
2261
|
+
* On base-reducer 3 both come from the reactor client, and without one undo
|
|
2262
|
+
* is disabled. Otherwise `canUndo` is true when the document has at least one
|
|
2263
|
+
* non-zero revision count across any revision scope, and undo dispatches UNDO.
|
|
2164
2264
|
*/
|
|
2165
2265
|
function useUndo(documentId) {
|
|
2166
2266
|
const [document, dispatch] = useDocumentById(documentId);
|
|
2267
|
+
const client = useBaseReducer3UndoRedo(document);
|
|
2268
|
+
if (client) return {
|
|
2269
|
+
canUndo: client.canUndo,
|
|
2270
|
+
undo: client.undo
|
|
2271
|
+
};
|
|
2167
2272
|
return {
|
|
2168
2273
|
canUndo: hasRevisions(document),
|
|
2169
2274
|
undo: () => dispatch(undo())
|
|
@@ -2172,11 +2277,18 @@ function useUndo(documentId) {
|
|
|
2172
2277
|
/**
|
|
2173
2278
|
* Returns redo state and a redo dispatcher for a document.
|
|
2174
2279
|
*
|
|
2175
|
-
*
|
|
2176
|
-
*
|
|
2280
|
+
* On base-reducer 3 both come from the reactor client, and without one redo
|
|
2281
|
+
* is disabled. Otherwise `canRedo` is true when the document clipboard
|
|
2282
|
+
* contains at least one operation that can be reapplied, and redo dispatches
|
|
2283
|
+
* REDO.
|
|
2177
2284
|
*/
|
|
2178
2285
|
function useRedo(documentId) {
|
|
2179
2286
|
const [document, dispatch] = useDocumentById(documentId);
|
|
2287
|
+
const client = useBaseReducer3UndoRedo(document);
|
|
2288
|
+
if (client) return {
|
|
2289
|
+
canRedo: client.canRedo,
|
|
2290
|
+
redo: client.redo
|
|
2291
|
+
};
|
|
2180
2292
|
return {
|
|
2181
2293
|
canRedo: hasAtLeast(document?.clipboard ?? [], 1),
|
|
2182
2294
|
redo: () => dispatch(redo())
|
|
@@ -9073,6 +9185,6 @@ const removeSuccessFiles = (files) => {
|
|
|
9073
9185
|
return files.filter((file) => file.status !== "SUCCESS");
|
|
9074
9186
|
};
|
|
9075
9187
|
//#endregion
|
|
9076
|
-
export { About, AccountPopover, AccountPopoverLogin, AddDriveModal, AddLocalDriveForm, AddRemoteDriveForm, AnimatedLoader, AvailablePackagesPanel, BackgroundLayers, Breadcrumb, Breadcrumbs, CONFLICT, CatchUpInspector, ChannelInspector, Checkbox, Combobox, ConnectBrandingProvider, ConnectConfirmationModal, ConnectDeleteDriveModal, ConnectDeleteItemModal, ConnectDropdownMenu, ConnectReplaceDuplicateModal, ConnectSearchBar, ConnectSelect, ConnectSidebar, ConnectSidebarFooter, ConnectSidebarHeader, ConnectTooltip, ConnectTooltipProvider, ConnectUpgradeDriveModal, ConnectionStateBadge, CookieBanner, CreateDocumentModal, CreateDocumentWithTypeModal, DBExplorer, DangerZone, DebugInspector, DefaultEditor, DefaultEditorLoader, DefaultEditorSelect, DependencyVersions, Disclosure, Divider, DocumentStateViewer, DocumentTimeline, DocumentToolbar, DriveAuthGate, DriveSettingsModal, DropZone, DropZoneWrapper, ENSAvatar, ERROR, EditorActionButtons, EditorUndoRedoButtons, FileItem, FolderItem, Footer, FooterLink, FormInput, FormattedJsonViewer, HomeBackgroundImage, HomeScreen, HomeScreenAddDriveItem, HomeScreenItem, INITIAL_SYNC, Icon, InspectorModal, InstalledPackagesPanel, IntegrityInspector, LoadingScreen, LogoAnimation, MISSING, Modal, ModalButton, NodeInput, ObjectInspectorModal, PackageInstallModal, PackageList, PackageManager, PackageManagerListItem, PackagePanelScrollArea, PackageRegistryError, PackageSubSection, PeerAgreementPanel, PowerhouseButton, ProcessorsInspector, ProjectLoaderImage, QueueInspector, ReadRequiredModal, RemotesInspector, RenownLoginMethods, RevisionHistory, SUCCESS, SYNCING, SettingsModal, SidebarAddDriveItem, SidebarItem, SidebarLogin, SidebarUser, SyncStatusIcon, TabContent, Tabs, ThemeSwitch, Toggle, ToolbarButton, ToolbarCloseButton, ToolbarContainer, ToolbarControlsContainer, ToolbarDownloadButton, ToolbarHistoryButton, ToolbarInput, ToolbarName, ToolbarRedoButton, ToolbarSwitchboardButton, ToolbarUndoButton, UploadFileItem, UploadFileList, UploadFileListContainer, WorkerInspector, brandedDocumentIcon, debugNodeOptions, debugNodeOptionsMap, defaultDriveOptions, defaultNodeOptions, fileNodeDropdownOptions, folderNodeDropdownOptions, formatEthAddress, formatFileSize, generateId, getFolderStatus, getProjectLoader, locationInfoByLocation, mapProgressStageToStatus, mapUploadsToFileItems, nodeOptions, normalNodeOptions, peerManifestLabel, removeSuccessFiles, sharingTypeOptions, sortFilesByStatus, syncStatuses, useConnectBranding, useEns, useWindowSize, verifyPackageJsonFields };
|
|
9188
|
+
export { About, AccountPopover, AccountPopoverLogin, AddDriveModal, AddLocalDriveForm, AddRemoteDriveForm, AnimatedLoader, AvailablePackagesPanel, BackgroundLayers, Breadcrumb, Breadcrumbs, CONFLICT, CatchUpInspector, ChannelInspector, Checkbox, Combobox, ConnectBrandingProvider, ConnectConfirmationModal, ConnectDeleteDriveModal, ConnectDeleteItemModal, ConnectDropdownMenu, ConnectReplaceDuplicateModal, ConnectSearchBar, ConnectSelect, ConnectSidebar, ConnectSidebarFooter, ConnectSidebarHeader, ConnectTooltip, ConnectTooltipProvider, ConnectUpgradeDriveModal, ConnectionStateBadge, CookieBanner, CreateDocumentModal, CreateDocumentWithTypeModal, DBExplorer, DangerZone, DebugInspector, DefaultEditor, DefaultEditorLoader, DefaultEditorSelect, DependencyVersions, Disclosure, Divider, DocumentStateViewer, DocumentTimeline, DocumentToolbar, DriveAuthGate, DriveSettingsModal, DropZone, DropZoneWrapper, ENSAvatar, ERROR, EditorActionButtons, EditorUndoRedoButtons, FileItem, FolderItem, Footer, FooterLink, FormInput, FormattedJsonViewer, HomeBackgroundImage, HomeScreen, HomeScreenAddDriveItem, HomeScreenItem, INITIAL_SYNC, Icon, InspectorModal, InstalledPackagesPanel, IntegrityInspector, LoadingScreen, LogoAnimation, MISSING, Modal, ModalButton, NodeInput, ObjectInspectorModal, PackageInstallModal, PackageList, PackageManager, PackageManagerListItem, PackagePanelScrollArea, PackageRegistryError, PackageSubSection, PeerAgreementPanel, PowerhouseButton, ProcessorsInspector, ProjectLoaderImage, QueueInspector, ReadRequiredModal, RemotesInspector, RenownLoginMethods, RevisionHistory, SUCCESS, SYNCING, SettingsModal, SidebarAddDriveItem, SidebarItem, SidebarLogin, SidebarUser, SyncStatusIcon, TabContent, Tabs, ThemeSwitch, Toggle, ToolbarButton, ToolbarCloseButton, ToolbarContainer, ToolbarControlsContainer, ToolbarDownloadButton, ToolbarHistoryButton, ToolbarInput, ToolbarName, ToolbarRedoButton, ToolbarSwitchboardButton, ToolbarUndoButton, UploadFileItem, UploadFileList, UploadFileListContainer, WorkerInspector, brandedDocumentIcon, debugNodeOptions, debugNodeOptionsMap, defaultDriveOptions, defaultNodeOptions, fileNodeDropdownOptions, folderNodeDropdownOptions, formatEthAddress, formatFileSize, generateId, getFolderStatus, getProjectLoader, locationInfoByLocation, mapProgressStageToStatus, mapUploadsToFileItems, nodeOptions, normalNodeOptions, peerManifestLabel, removeSuccessFiles, sharingTypeOptions, sortFilesByStatus, syncStatuses, useBaseReducer3UndoRedo, useConnectBranding, useEns, useWindowSize, verifyPackageJsonFields };
|
|
9077
9189
|
|
|
9078
9190
|
//# sourceMappingURL=index.js.map
|