@powerhousedao/design-system 6.0.0-dev.14 → 6.0.0-dev.141
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/README.md +4 -1
- package/dist/src/connect/components/animated-loader/animated-loader.js +1 -1
- package/dist/src/connect/components/animated-loader/animated-loader.js.map +1 -1
- package/dist/src/connect/components/breadcrumbs/useBreadcrumbs.d.ts +1 -1
- package/dist/src/connect/components/breadcrumbs/useBreadcrumbs.d.ts.map +1 -1
- package/dist/src/connect/components/cookie-banner/cookie-banner.d.ts.map +1 -1
- package/dist/src/connect/components/cookie-banner/cookie-banner.js.map +1 -1
- package/dist/src/connect/components/document-state-viewer/document-state-viewer.d.ts.map +1 -1
- package/dist/src/connect/components/document-state-viewer/document-state-viewer.js +3 -2
- package/dist/src/connect/components/document-state-viewer/document-state-viewer.js.map +1 -1
- package/dist/src/connect/components/document-timeline/components/timeline-bar.d.ts.map +1 -1
- package/dist/src/connect/components/document-timeline/components/timeline-bar.js.map +1 -1
- package/dist/src/connect/components/document-toolbar/document-toolbar.d.ts +1 -1
- package/dist/src/connect/components/document-toolbar/document-toolbar.d.ts.map +1 -1
- package/dist/src/connect/components/document-toolbar/document-toolbar.js +18 -4
- package/dist/src/connect/components/document-toolbar/document-toolbar.js.map +1 -1
- package/dist/src/connect/components/document-toolbar/utils/use-document-undo-redo.js +1 -1
- package/dist/src/connect/components/document-toolbar/utils/use-document-undo-redo.js.map +1 -1
- package/dist/src/connect/components/drop-zone/drop-zone.d.ts +1 -1
- package/dist/src/connect/components/drop-zone/drop-zone.d.ts.map +1 -1
- package/dist/src/connect/components/drop-zone/upload-file-list-container.d.ts +1 -1
- package/dist/src/connect/components/drop-zone/upload-file-list-container.d.ts.map +1 -1
- package/dist/src/connect/components/drop-zone/use-upload-tracker.d.ts +1 -1
- package/dist/src/connect/components/drop-zone/use-upload-tracker.d.ts.map +1 -1
- package/dist/src/connect/components/drop-zone/utils.d.ts +1 -1
- package/dist/src/connect/components/drop-zone/utils.d.ts.map +1 -1
- package/dist/src/connect/components/ens-avatar/ens-avatar.js +1 -1
- package/dist/src/connect/components/ens-avatar/ens-avatar.js.map +1 -1
- package/dist/src/connect/components/file-item/file-item.d.ts +1 -1
- package/dist/src/connect/components/file-item/file-item.d.ts.map +1 -1
- package/dist/src/connect/components/file-item/file-item.js +21 -4
- package/dist/src/connect/components/file-item/file-item.js.map +1 -1
- package/dist/src/connect/components/folder-item/folder-item.d.ts +1 -1
- package/dist/src/connect/components/folder-item/folder-item.d.ts.map +1 -1
- package/dist/src/connect/components/folder-item/folder-item.js +6 -3
- package/dist/src/connect/components/folder-item/folder-item.js.map +1 -1
- package/dist/src/connect/components/folder-item/folder-item.stories.d.ts.map +1 -1
- package/dist/src/connect/components/form/add-local-drive-form.d.ts +2 -2
- package/dist/src/connect/components/form/add-local-drive-form.d.ts.map +1 -1
- package/dist/src/connect/components/form/add-local-drive-form.stories.js +3 -3
- package/dist/src/connect/components/form/add-local-drive-form.stories.js.map +1 -1
- package/dist/src/connect/components/form/add-remote-drive-form.d.ts +1 -1
- package/dist/src/connect/components/form/add-remote-drive-form.d.ts.map +1 -1
- package/dist/src/connect/components/form/drive-settings-form.d.ts +2 -1
- package/dist/src/connect/components/form/drive-settings-form.d.ts.map +1 -1
- package/dist/src/connect/components/form/drive-settings-form.js.map +1 -1
- package/dist/src/connect/components/form/drive-settings-form.stories.d.ts.map +1 -1
- package/dist/src/connect/components/form/inputs/app-form-input.d.ts +1 -1
- package/dist/src/connect/components/form/inputs/app-form-input.d.ts.map +1 -1
- package/dist/src/connect/components/form/inputs/delete-drive.d.ts +1 -1
- package/dist/src/connect/components/form/inputs/delete-drive.d.ts.map +1 -1
- package/dist/src/connect/components/form/inputs/sharing-type-form-input.d.ts +1 -1
- package/dist/src/connect/components/form/inputs/sharing-type-form-input.d.ts.map +1 -1
- package/dist/src/connect/components/home-screen/home-background-image.d.ts.map +1 -1
- package/dist/src/connect/components/home-screen/home-background-image.js +2 -2
- package/dist/src/connect/components/home-screen/home-background-image.js.map +1 -1
- package/dist/src/connect/components/index.d.ts +4 -0
- package/dist/src/connect/components/index.d.ts.map +1 -1
- package/dist/src/connect/components/index.js +4 -0
- package/dist/src/connect/components/index.js.map +1 -1
- package/dist/src/connect/components/integrity-inspector/index.d.ts +2 -0
- package/dist/src/connect/components/integrity-inspector/index.d.ts.map +1 -0
- package/dist/src/connect/components/integrity-inspector/index.js +2 -0
- package/dist/src/connect/components/integrity-inspector/index.js.map +1 -0
- package/dist/src/connect/components/integrity-inspector/integrity-inspector.d.ts +8 -0
- package/dist/src/connect/components/integrity-inspector/integrity-inspector.d.ts.map +1 -0
- package/dist/src/connect/components/integrity-inspector/integrity-inspector.js +90 -0
- package/dist/src/connect/components/integrity-inspector/integrity-inspector.js.map +1 -0
- package/dist/src/connect/components/modal/add-drive-modal/add-drive-modal.d.ts +1 -1
- package/dist/src/connect/components/modal/add-drive-modal/add-drive-modal.d.ts.map +1 -1
- package/dist/src/connect/components/modal/add-drive-modal/add-drive-modal.js +3 -1
- package/dist/src/connect/components/modal/add-drive-modal/add-drive-modal.js.map +1 -1
- package/dist/src/connect/components/modal/add-drive-modal/add-drive-modal.stories.js +3 -3
- package/dist/src/connect/components/modal/add-drive-modal/add-drive-modal.stories.js.map +1 -1
- package/dist/src/connect/components/modal/add-local-drive-modal.d.ts +1 -1
- package/dist/src/connect/components/modal/add-local-drive-modal.d.ts.map +1 -1
- package/dist/src/connect/components/modal/add-local-drive-modal.stories.js +3 -3
- package/dist/src/connect/components/modal/add-local-drive-modal.stories.js.map +1 -1
- package/dist/src/connect/components/modal/add-remote-drive-modal.d.ts +1 -1
- package/dist/src/connect/components/modal/add-remote-drive-modal.d.ts.map +1 -1
- package/dist/src/connect/components/modal/create-document-modal.js +1 -1
- package/dist/src/connect/components/modal/create-document-modal.js.map +1 -1
- package/dist/src/connect/components/modal/delete-item-modal.d.ts.map +1 -1
- package/dist/src/connect/components/modal/delete-item-modal.js.map +1 -1
- package/dist/src/connect/components/modal/drive-settings-modal.d.ts +2 -1
- package/dist/src/connect/components/modal/drive-settings-modal.d.ts.map +1 -1
- package/dist/src/connect/components/modal/drive-settings-modal.js.map +1 -1
- package/dist/src/connect/components/modal/drive-settings-modal.stories.d.ts.map +1 -1
- package/dist/src/connect/components/modal/drive-settings-modal.stories.js.map +1 -1
- package/dist/src/connect/components/modal/index.d.ts +1 -0
- package/dist/src/connect/components/modal/index.d.ts.map +1 -1
- package/dist/src/connect/components/modal/index.js +1 -0
- package/dist/src/connect/components/modal/index.js.map +1 -1
- package/dist/src/connect/components/modal/inspector-modal/inspector-modal.d.ts +8 -2
- package/dist/src/connect/components/modal/inspector-modal/inspector-modal.d.ts.map +1 -1
- package/dist/src/connect/components/modal/inspector-modal/inspector-modal.js +6 -2
- package/dist/src/connect/components/modal/inspector-modal/inspector-modal.js.map +1 -1
- package/dist/src/connect/components/modal/inspector-modal/inspector-modal.stories.js +4 -4
- package/dist/src/connect/components/modal/inspector-modal/inspector-modal.stories.js.map +1 -1
- package/dist/src/connect/components/modal/missing-package-modal.d.ts +12 -0
- package/dist/src/connect/components/modal/missing-package-modal.d.ts.map +1 -0
- package/dist/src/connect/components/modal/missing-package-modal.js +37 -0
- package/dist/src/connect/components/modal/missing-package-modal.js.map +1 -0
- package/dist/src/connect/components/modal/settings-modal/dependency-versions/dependency-versions.d.ts.map +1 -1
- package/dist/src/connect/components/modal/settings-modal/dependency-versions/dependency-versions.js +14 -23
- package/dist/src/connect/components/modal/settings-modal/dependency-versions/dependency-versions.js.map +1 -1
- package/dist/src/connect/components/modal/settings-modal/document-select-row.d.ts.map +1 -1
- package/dist/src/connect/components/modal/settings-modal/document-select-row.js.map +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/danger-zone.d.ts +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/danger-zone.d.ts.map +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/danger-zone.js +17 -3
- package/dist/src/connect/components/modal/settings-modal-v2/danger-zone.js.map +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/danger-zone.stories.d.ts.map +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/danger-zone.stories.js.map +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/index.d.ts +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/index.d.ts.map +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/index.js +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/index.js.map +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/mocks.d.ts +2 -14
- package/dist/src/connect/components/modal/settings-modal-v2/mocks.d.ts.map +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/mocks.js +145 -47
- package/dist/src/connect/components/modal/settings-modal-v2/mocks.js.map +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-input.d.ts +4 -3
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-input.d.ts.map +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-input.js +19 -57
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-input.js.map +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-list.d.ts +11 -22
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-list.d.ts.map +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-list.js +54 -19
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-list.js.map +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager.d.ts +9 -4
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager.d.ts.map +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager.js +2 -5
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager.js.map +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager.stories.d.ts +2 -4
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager.stories.d.ts.map +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager.stories.js +16 -24
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager.stories.js.map +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/types.d.ts +9 -0
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/types.d.ts.map +1 -0
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/types.js +2 -0
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/types.js.map +1 -0
- package/dist/src/connect/components/modal/settings-modal-v2/settings-modal.stories.d.ts.map +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/settings-modal.stories.js +1 -2
- package/dist/src/connect/components/modal/settings-modal-v2/settings-modal.stories.js.map +1 -1
- package/dist/src/connect/components/object-inspector-modal/index.d.ts +2 -0
- package/dist/src/connect/components/object-inspector-modal/index.d.ts.map +1 -0
- package/dist/src/connect/components/object-inspector-modal/index.js +2 -0
- package/dist/src/connect/components/object-inspector-modal/index.js.map +1 -0
- package/dist/src/connect/components/object-inspector-modal/object-inspector-modal.d.ts +8 -0
- package/dist/src/connect/components/object-inspector-modal/object-inspector-modal.d.ts.map +1 -0
- package/dist/src/connect/components/object-inspector-modal/object-inspector-modal.js +26 -0
- package/dist/src/connect/components/object-inspector-modal/object-inspector-modal.js.map +1 -0
- package/dist/src/connect/components/processors-inspector/index.d.ts +2 -0
- package/dist/src/connect/components/processors-inspector/index.d.ts.map +1 -0
- package/dist/src/connect/components/processors-inspector/index.js +2 -0
- package/dist/src/connect/components/processors-inspector/index.js.map +1 -0
- package/dist/src/connect/components/processors-inspector/processors-inspector.d.ts +16 -0
- package/dist/src/connect/components/processors-inspector/processors-inspector.d.ts.map +1 -0
- package/dist/src/connect/components/processors-inspector/processors-inspector.js +128 -0
- package/dist/src/connect/components/processors-inspector/processors-inspector.js.map +1 -0
- package/dist/src/connect/components/queue-inspector/index.d.ts +2 -0
- package/dist/src/connect/components/queue-inspector/index.d.ts.map +1 -0
- package/dist/src/connect/components/queue-inspector/index.js +2 -0
- package/dist/src/connect/components/queue-inspector/index.js.map +1 -0
- package/dist/src/connect/components/queue-inspector/queue-inspector.d.ts +15 -0
- package/dist/src/connect/components/queue-inspector/queue-inspector.d.ts.map +1 -0
- package/dist/src/connect/components/queue-inspector/queue-inspector.js +132 -0
- package/dist/src/connect/components/queue-inspector/queue-inspector.js.map +1 -0
- package/dist/src/connect/components/remotes-inspector/components/channel-inspector.d.ts +4 -2
- package/dist/src/connect/components/remotes-inspector/components/channel-inspector.d.ts.map +1 -1
- package/dist/src/connect/components/remotes-inspector/components/channel-inspector.js +89 -3
- package/dist/src/connect/components/remotes-inspector/components/channel-inspector.js.map +1 -1
- package/dist/src/connect/components/remotes-inspector/components/channel-inspector.stories.d.ts.map +1 -1
- package/dist/src/connect/components/remotes-inspector/components/channel-inspector.stories.js +23 -7
- package/dist/src/connect/components/remotes-inspector/components/channel-inspector.stories.js.map +1 -1
- package/dist/src/connect/components/remotes-inspector/components/connection-state-badge.d.ts +6 -0
- package/dist/src/connect/components/remotes-inspector/components/connection-state-badge.d.ts.map +1 -0
- package/dist/src/connect/components/remotes-inspector/components/connection-state-badge.js +14 -0
- package/dist/src/connect/components/remotes-inspector/components/connection-state-badge.js.map +1 -0
- package/dist/src/connect/components/remotes-inspector/components/mailbox-table.d.ts +1 -1
- package/dist/src/connect/components/remotes-inspector/components/mailbox-table.d.ts.map +1 -1
- package/dist/src/connect/components/remotes-inspector/components/mailbox-table.js +30 -8
- package/dist/src/connect/components/remotes-inspector/components/mailbox-table.js.map +1 -1
- package/dist/src/connect/components/remotes-inspector/index.d.ts +1 -0
- package/dist/src/connect/components/remotes-inspector/index.d.ts.map +1 -1
- package/dist/src/connect/components/remotes-inspector/index.js +1 -0
- package/dist/src/connect/components/remotes-inspector/index.js.map +1 -1
- package/dist/src/connect/components/remotes-inspector/remotes-inspector.d.ts +12 -2
- package/dist/src/connect/components/remotes-inspector/remotes-inspector.d.ts.map +1 -1
- package/dist/src/connect/components/remotes-inspector/remotes-inspector.js +29 -8
- package/dist/src/connect/components/remotes-inspector/remotes-inspector.js.map +1 -1
- package/dist/src/connect/components/remotes-inspector/remotes-inspector.stories.d.ts.map +1 -1
- package/dist/src/connect/components/remotes-inspector/remotes-inspector.stories.js +58 -6
- package/dist/src/connect/components/remotes-inspector/remotes-inspector.stories.js.map +1 -1
- package/dist/src/connect/components/revision-history/header/doc-id.d.ts +1 -0
- package/dist/src/connect/components/revision-history/header/doc-id.d.ts.map +1 -1
- package/dist/src/connect/components/revision-history/header/doc-id.js +6 -2
- package/dist/src/connect/components/revision-history/header/doc-id.js.map +1 -1
- package/dist/src/connect/components/revision-history/header/header.d.ts +1 -0
- package/dist/src/connect/components/revision-history/header/header.d.ts.map +1 -1
- package/dist/src/connect/components/revision-history/header/header.js +2 -2
- package/dist/src/connect/components/revision-history/header/header.js.map +1 -1
- package/dist/src/connect/components/revision-history/mocks.d.ts +3 -3
- package/dist/src/connect/components/revision-history/mocks.d.ts.map +1 -1
- package/dist/src/connect/components/revision-history/revision-history.d.ts +2 -1
- package/dist/src/connect/components/revision-history/revision-history.d.ts.map +1 -1
- package/dist/src/connect/components/revision-history/revision-history.js +3 -3
- package/dist/src/connect/components/revision-history/revision-history.js.map +1 -1
- package/dist/src/connect/components/revision-history/timeline/timeline.d.ts +1 -1
- package/dist/src/connect/components/revision-history/timeline/timeline.d.ts.map +1 -1
- package/dist/src/connect/components/revision-history/utils.d.ts +1 -1
- package/dist/src/connect/components/revision-history/utils.d.ts.map +1 -1
- package/dist/src/connect/components/sidebar/sidebar-footer.d.ts.map +1 -1
- package/dist/src/connect/components/sidebar/sidebar-footer.js.map +1 -1
- package/dist/src/connect/components/sidebar/sidebar-header.d.ts.map +1 -1
- package/dist/src/connect/components/sidebar/sidebar-header.js.map +1 -1
- package/dist/src/connect/components/sidebar/sidebar-login.js +2 -2
- package/dist/src/connect/components/sidebar/sidebar-login.js.map +1 -1
- package/dist/src/connect/components/sidebar/sidebar.d.ts.map +1 -1
- package/dist/src/connect/components/sidebar/sidebar.js.map +1 -1
- package/dist/src/connect/components/sidebar/sidebar.stories.d.ts +1 -1
- package/dist/src/connect/components/sidebar/sidebar.stories.d.ts.map +1 -1
- package/dist/src/connect/components/sidebar/sidebar.stories.js.map +1 -1
- package/dist/src/connect/components/tabs/tab-content.js +1 -1
- package/dist/src/connect/components/tabs/tab-content.js.map +1 -1
- package/dist/src/connect/components/tabs/tabs.d.ts.map +1 -1
- package/dist/src/connect/components/tabs/tabs.js +3 -3
- package/dist/src/connect/components/tabs/tabs.js.map +1 -1
- package/dist/src/connect/components/toggle/toggle.stories.d.ts +13 -13
- package/dist/src/connect/constants/icons.js +3 -3
- package/dist/src/connect/constants/icons.js.map +1 -1
- package/dist/src/connect/constants/options.js +13 -13
- package/dist/src/connect/constants/options.js.map +1 -1
- package/dist/src/connect/hooks/use-drag.d.ts +1 -1
- package/dist/src/connect/hooks/use-drag.d.ts.map +1 -1
- package/dist/src/connect/hooks/use-drop.d.ts +1 -1
- package/dist/src/connect/hooks/use-drop.d.ts.map +1 -1
- package/dist/src/connect/types.d.ts +2 -1
- package/dist/src/connect/types.d.ts.map +1 -1
- package/dist/src/connect/utils/get-folder-status.d.ts +2 -1
- package/dist/src/connect/utils/get-folder-status.d.ts.map +1 -1
- package/dist/src/connect/utils/get-folder-status.js.map +1 -1
- package/dist/src/powerhouse/components/index.d.ts +1 -0
- package/dist/src/powerhouse/components/index.d.ts.map +1 -1
- package/dist/src/powerhouse/components/index.js +1 -0
- package/dist/src/powerhouse/components/index.js.map +1 -1
- package/dist/src/powerhouse/components/package-animation/package-animation.d.ts +9 -0
- package/dist/src/powerhouse/components/package-animation/package-animation.d.ts.map +1 -0
- package/dist/src/powerhouse/components/package-animation/package-animation.js +75 -0
- package/dist/src/powerhouse/components/package-animation/package-animation.js.map +1 -0
- package/dist/src/powerhouse/components/package-animation/package-animation.stories.d.ts +13 -0
- package/dist/src/powerhouse/components/package-animation/package-animation.stories.d.ts.map +1 -0
- package/dist/src/powerhouse/components/package-animation/package-animation.stories.js +209 -0
- package/dist/src/powerhouse/components/package-animation/package-animation.stories.js.map +1 -0
- package/dist/src/powerhouse/components/pagination/pagination.d.ts.map +1 -1
- package/dist/src/powerhouse/components/pagination/pagination.js.map +1 -1
- package/dist/src/rwa/types/state.d.ts +1 -1
- package/dist/src/rwa/types/state.d.ts.map +1 -1
- package/dist/src/rwa/utils/table.d.ts +1 -1
- package/dist/src/rwa/utils/table.d.ts.map +1 -1
- package/dist/src/ui/components/button/button.d.ts.map +1 -1
- package/dist/src/ui/components/button/button.js.map +1 -1
- package/dist/src/ui/components/checkbox/checkbox.d.ts.map +1 -1
- package/dist/src/ui/components/checkbox/checkbox.js.map +1 -1
- package/dist/src/ui/components/form-label/form-label.d.ts.map +1 -1
- package/dist/src/ui/components/form-label/form-label.js.map +1 -1
- package/dist/src/ui/components/id-autocomplete/id-autocomplete-input-container.d.ts.map +1 -1
- package/dist/src/ui/components/id-autocomplete/id-autocomplete-input-container.js.map +1 -1
- package/dist/src/ui/components/index.d.ts +1 -0
- package/dist/src/ui/components/index.d.ts.map +1 -1
- package/dist/src/ui/components/index.js +1 -0
- package/dist/src/ui/components/index.js.map +1 -1
- package/dist/src/ui/components/json-viewer/json-viewer.d.ts.map +1 -1
- package/dist/src/ui/components/json-viewer/json-viewer.js +64 -1
- package/dist/src/ui/components/json-viewer/json-viewer.js.map +1 -1
- package/dist/src/ui/components/radio-group-field/radio-group.d.ts.map +1 -1
- package/dist/src/ui/components/radio-group-field/radio-group.js.map +1 -1
- package/dist/src/ui/components/radio-group-field/radio.d.ts.map +1 -1
- package/dist/src/ui/components/radio-group-field/radio.js.map +1 -1
- package/dist/src/ui/components/search-autocomplete/index.d.ts +4 -0
- package/dist/src/ui/components/search-autocomplete/index.d.ts.map +1 -0
- package/dist/src/ui/components/search-autocomplete/index.js +3 -0
- package/dist/src/ui/components/search-autocomplete/index.js.map +1 -0
- package/dist/src/ui/components/search-autocomplete/search-autocomplete.d.ts +4 -0
- package/dist/src/ui/components/search-autocomplete/search-autocomplete.d.ts.map +1 -0
- package/dist/src/ui/components/search-autocomplete/search-autocomplete.js +52 -0
- package/dist/src/ui/components/search-autocomplete/search-autocomplete.js.map +1 -0
- package/dist/src/ui/components/search-autocomplete/types.d.ts +20 -0
- package/dist/src/ui/components/search-autocomplete/types.d.ts.map +1 -0
- package/dist/src/ui/components/search-autocomplete/types.js +2 -0
- package/dist/src/ui/components/search-autocomplete/types.js.map +1 -0
- package/dist/src/ui/components/search-autocomplete/use-search-autocomplete.d.ts +17 -0
- package/dist/src/ui/components/search-autocomplete/use-search-autocomplete.d.ts.map +1 -0
- package/dist/src/ui/components/search-autocomplete/use-search-autocomplete.js +78 -0
- package/dist/src/ui/components/search-autocomplete/use-search-autocomplete.js.map +1 -0
- package/dist/src/ui/components/text-input/text-input.d.ts.map +1 -1
- package/dist/src/ui/components/text-input/text-input.js.map +1 -1
- package/dist/src/ui/components/tooltip/tooltip.d.ts.map +1 -1
- package/dist/src/ui/components/tooltip/tooltip.js.map +1 -1
- package/dist/style.css +164 -27
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/vitest.config.d.ts.map +1 -1
- package/dist/vitest.config.js +1 -0
- package/dist/vitest.config.js.map +1 -1
- package/package.json +32 -53
- package/theme.css +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-select.d.ts +0 -9
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-select.d.ts.map +0 -1
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-select.js +0 -11
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-select.js.map +0 -1
- /package/{assets → dist/assets}/connect-loader.mp4 +0 -0
- /package/{assets → dist/assets}/connect.png +0 -0
- /package/{assets → dist/assets}/home-bg.avif +0 -0
- /package/{assets → dist/assets}/home-bg.png +0 -0
- /package/{assets → dist/assets}/icons/budget.png +0 -0
- /package/{assets → dist/assets}/icons/global.png +0 -0
- /package/{assets → dist/assets}/icons/legal.png +0 -0
- /package/{assets → dist/assets}/icons/profile.png +0 -0
- /package/{assets → dist/assets}/icons/rwa-report.png +0 -0
- /package/{assets → dist/assets}/icons/template.png +0 -0
- /package/{assets → dist/assets}/powerhouse-rounded.png +0 -0
- /package/{assets → dist/assets}/renown-hover.png +0 -0
- /package/{assets → dist/assets}/renown-short-hover.png +0 -0
- /package/{assets → dist/assets}/renown-short.png +0 -0
- /package/{assets → dist/assets}/renown.png +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drive-settings-form.stories.d.ts","sourceRoot":"","sources":["../../../../../src/connect/components/form/drive-settings-form.stories.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"drive-settings-form.stories.d.ts","sourceRoot":"","sources":["../../../../../src/connect/components/form/drive-settings-form.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,QAAA,MAAM,IAAI;;;CAGgC,CAAC;AAE3C,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAuBrB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { App } from "document-model";
|
|
1
|
+
import type { App } from "@powerhousedao/shared/document-model";
|
|
2
2
|
import type { ComponentPropsWithRef } from "react";
|
|
3
3
|
import type { Control } from "react-hook-form";
|
|
4
4
|
import type { ConnectSelectItem } from "../../select/select.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-form-input.d.ts","sourceRoot":"","sources":["../../../../../../src/connect/components/form/inputs/app-form-input.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"app-form-input.d.ts","sourceRoot":"","sources":["../../../../../../src/connect/components/form/inputs/app-form-input.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,sCAAsC,CAAC;AAChE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,KAAK,EAAE,OAAO,EAAQ,MAAM,iBAAiB,CAAC;AAErD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAEvD,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,GAAG,GAAG,iBAAiB,CAAC,MAAM,CAAC,CAOpE;AACD,KAAK,iBAAiB,CAAC,CAAC,SAAS;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,IAAI,IAAI,CACxD,qBAAqB,CAAC,OAAO,aAAa,CAAC,EAC3C,IAAI,GAAG,OAAO,GAAG,OAAO,GAAG,UAAU,CACtC,GAAG;IACF,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;IAC7B,QAAQ,CAAC,UAAU,EAAE,GAAG,EAAE,CAAC;CAC5B,CAAC;AAEF,wBAAgB,YAAY,CAAC,CAAC,SAAS;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,EACtD,KAAK,EAAE,iBAAiB,CAAC,CAAC,CAAC,2CAmB5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-drive.d.ts","sourceRoot":"","sources":["../../../../../../src/connect/components/form/inputs/delete-drive.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"delete-drive.d.ts","sourceRoot":"","sources":["../../../../../../src/connect/components/form/inputs/delete-drive.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAIlF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,EAAE,qBAAqB,CAAC;IAC7B,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAEF,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,2CAuClD"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SharingType } from "document-drive";
|
|
1
|
+
import type { SharingType } from "@powerhousedao/shared/document-drive";
|
|
2
2
|
import type { ComponentPropsWithRef } from "react";
|
|
3
3
|
import type { Control } from "react-hook-form";
|
|
4
4
|
import { ConnectSelect } from "../../select/select.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sharing-type-form-input.d.ts","sourceRoot":"","sources":["../../../../../../src/connect/components/form/inputs/sharing-type-form-input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"sharing-type-form-input.d.ts","sourceRoot":"","sources":["../../../../../../src/connect/components/form/inputs/sharing-type-form-input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,KAAK,EAAE,OAAO,EAAQ,MAAM,iBAAiB,CAAC;AAErD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAGvD,KAAK,yBAAyB,CAAC,CAAC,SAAS;IAAE,WAAW,EAAE,WAAW,CAAA;CAAE,IAAI,IAAI,CAC3E,qBAAqB,CAAC,OAAO,aAAa,CAAC,EAC3C,IAAI,GAAG,OAAO,GAAG,OAAO,GAAG,UAAU,CACtC,GAAG;IACF,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;CAC9B,CAAC;AACF,wBAAgB,oBAAoB,CAAC,CAAC,SAAS;IAAE,WAAW,EAAE,WAAW,CAAA;CAAE,EACzE,KAAK,EAAE,yBAAyB,CAAC,CAAC,CAAC,2CAkBpC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"home-background-image.d.ts","sourceRoot":"","sources":["../../../../../src/connect/components/home-screen/home-background-image.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"home-background-image.d.ts","sourceRoot":"","sources":["../../../../../src/connect/components/home-screen/home-background-image.tsx"],"names":[],"mappings":"AAIA,wBAAgB,mBAAmB,4CAOlC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
const HomeBgAvif = new URL("
|
|
3
|
-
const HomeBg = new URL("../../../../../assets/home-bg.png", import.meta.url)
|
|
2
|
+
const HomeBgAvif = new URL("../../../../assets/home-bg.avif", import.meta.url)
|
|
4
3
|
.href;
|
|
4
|
+
const HomeBg = new URL("../../../../assets/home-bg.png", import.meta.url).href;
|
|
5
5
|
export function HomeBackgroundImage() {
|
|
6
6
|
return (_jsxs("picture", { className: "pointer-events-none absolute inset-8 z-0 size-[calc(100%-32px)] object-contain", children: [_jsx("source", { srcSet: HomeBgAvif, type: "image/avif" }), _jsx("img", { src: HomeBg, alt: "background", className: "object-contain" })] }));
|
|
7
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"home-background-image.js","sourceRoot":"","sources":["../../../../../src/connect/components/home-screen/home-background-image.tsx"],"names":[],"mappings":";AAAA,MAAM,UAAU,GAAG,IAAI,GAAG,
|
|
1
|
+
{"version":3,"file":"home-background-image.js","sourceRoot":"","sources":["../../../../../src/connect/components/home-screen/home-background-image.tsx"],"names":[],"mappings":";AAAA,MAAM,UAAU,GAAG,IAAI,GAAG,CAAC,iCAAiC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;KAC3E,IAAI,CAAC;AACR,MAAM,MAAM,GAAG,IAAI,GAAG,CAAC,gCAAgC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC;AAE/E,MAAM,UAAU,mBAAmB;IACjC,OAAO,CACL,mBAAS,SAAS,EAAC,gFAAgF,aACjG,iBAAQ,MAAM,EAAE,UAAU,EAAE,IAAI,EAAC,YAAY,GAAG,EAChD,cAAK,GAAG,EAAE,MAAM,EAAE,GAAG,EAAC,YAAY,EAAC,SAAS,EAAC,gBAAgB,GAAG,IACxD,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -28,11 +28,15 @@ export * from "./home-screen/home-background-image.js";
|
|
|
28
28
|
export * from "./home-screen/home-screen-add-drive-item.js";
|
|
29
29
|
export * from "./home-screen/home-screen-item.js";
|
|
30
30
|
export * from "./home-screen/home-screen.js";
|
|
31
|
+
export * from "./integrity-inspector/index.js";
|
|
31
32
|
export * from "./loading-screen/loading-screen.js";
|
|
32
33
|
export * from "./modal/add-drive-modal/add-drive-modal.js";
|
|
33
34
|
export * from "./modal/index.js";
|
|
34
35
|
export * from "./modal/settings-modal-v2/danger-zone.js";
|
|
35
36
|
export * from "./node-input/node-input.js";
|
|
37
|
+
export * from "./object-inspector-modal/index.js";
|
|
38
|
+
export * from "./processors-inspector/index.js";
|
|
39
|
+
export * from "./queue-inspector/index.js";
|
|
36
40
|
export * from "./remotes-inspector/index.js";
|
|
37
41
|
export * from "./revision-history/revision-history.js";
|
|
38
42
|
export * from "./search-bar/search-bar.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/connect/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,sCAAsC,CAAC;AACrD,cAAc,sCAAsC,CAAC;AACrD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,cAAc,kCAAkC,CAAC;AACjD,cAAc,wBAAwB,CAAC;AACvC,cAAc,kD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AACvD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,cAAc,qCAAqC,CAAC;AACpD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,mCAAmC,CAAC;AAClD,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wCAAwC,CAAC;AACvD,cAAc,wCAAwC,CAAC"}
|
|
@@ -28,11 +28,15 @@ export * from "./home-screen/home-background-image.js";
|
|
|
28
28
|
export * from "./home-screen/home-screen-add-drive-item.js";
|
|
29
29
|
export * from "./home-screen/home-screen-item.js";
|
|
30
30
|
export * from "./home-screen/home-screen.js";
|
|
31
|
+
export * from "./integrity-inspector/index.js";
|
|
31
32
|
export * from "./loading-screen/loading-screen.js";
|
|
32
33
|
export * from "./modal/add-drive-modal/add-drive-modal.js";
|
|
33
34
|
export * from "./modal/index.js";
|
|
34
35
|
export * from "./modal/settings-modal-v2/danger-zone.js";
|
|
35
36
|
export * from "./node-input/node-input.js";
|
|
37
|
+
export * from "./object-inspector-modal/index.js";
|
|
38
|
+
export * from "./processors-inspector/index.js";
|
|
39
|
+
export * from "./queue-inspector/index.js";
|
|
36
40
|
export * from "./remotes-inspector/index.js";
|
|
37
41
|
export * from "./revision-history/revision-history.js";
|
|
38
42
|
export * from "./search-bar/search-bar.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/connect/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,sCAAsC,CAAC;AACrD,cAAc,sCAAsC,CAAC;AACrD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,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,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wCAAwC,CAAC;AACvD,cAAc,wCAAwC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/connect/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,sCAAsC,CAAC;AACrD,cAAc,sCAAsC,CAAC;AACrD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,cAAc,kCAAkC,CAAC;AACjD,cAAc,wBAAwB,CAAC;AACvC,cAAc,kDAAkD,CAAC;AACjE,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,kDAAkD,CAAC;AACjE,cAAc,0CAA0C,CAAC;AACzD,cAAc,wCAAwC,CAAC;AACvD,cAAc,kCAAkC,CAAC;AACjD,cAAc,0BAA0B,CAAC;AACzC,cAAc,2CAA2C,CAAC;AAC1D,cAAc,kCAAkC,CAAC;AACjD,cAAc,kDAAkD,CAAC;AACjE,cAAc,wDAAwD,CAAC;AACvE,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC;AAChD,cAAc,wCAAwC,CAAC;AACvD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,mCAAmC,CAAC;AAClD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oCAAoC,CAAC;AACnD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,kBAAkB,CAAC;AACjC,cAAc,0CAA0C,CAAC;AACzD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mCAAmC,CAAC;AAClD,cAAc,iCAAiC,CAAC;AAChD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wCAAwC,CAAC;AACvD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,cAAc,qCAAqC,CAAC;AACpD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,mCAAmC,CAAC;AAClD,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wCAAwC,CAAC;AACvD,cAAc,wCAAwC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/connect/components/integrity-inspector/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/connect/components/integrity-inspector/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { RebuildResult, ValidationResult } from "@powerhousedao/reactor-browser";
|
|
2
|
+
export type IntegrityInspectorProps = {
|
|
3
|
+
readonly onValidate: (documentId: string, branch?: string) => Promise<ValidationResult>;
|
|
4
|
+
readonly onRebuildKeyframes: (documentId: string, branch?: string) => Promise<RebuildResult>;
|
|
5
|
+
readonly onRebuildSnapshots: (documentId: string, branch?: string) => Promise<RebuildResult>;
|
|
6
|
+
};
|
|
7
|
+
export declare function IntegrityInspector({ onValidate, onRebuildKeyframes, onRebuildSnapshots, }: IntegrityInspectorProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=integrity-inspector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integrity-inspector.d.ts","sourceRoot":"","sources":["../../../../../src/connect/components/integrity-inspector/integrity-inspector.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,aAAa,EACb,gBAAgB,EACjB,MAAM,gCAAgC,CAAC;AAExC,MAAM,MAAM,uBAAuB,GAAG;IACpC,QAAQ,CAAC,UAAU,EAAE,CACnB,UAAU,EAAE,MAAM,EAClB,MAAM,CAAC,EAAE,MAAM,KACZ,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAC/B,QAAQ,CAAC,kBAAkB,EAAE,CAC3B,UAAU,EAAE,MAAM,EAClB,MAAM,CAAC,EAAE,MAAM,KACZ,OAAO,CAAC,aAAa,CAAC,CAAC;IAC5B,QAAQ,CAAC,kBAAkB,EAAE,CAC3B,UAAU,EAAE,MAAM,EAClB,MAAM,CAAC,EAAE,MAAM,KACZ,OAAO,CAAC,aAAa,CAAC,CAAC;CAC7B,CAAC;AAKF,wBAAgB,kBAAkB,CAAC,EACjC,UAAU,EACV,kBAAkB,EAClB,kBAAkB,GACnB,EAAE,uBAAuB,2CA6MzB"}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Icon } from "@powerhousedao/design-system";
|
|
3
|
+
import { useCallback, useState } from "react";
|
|
4
|
+
import { twMerge } from "tailwind-merge";
|
|
5
|
+
export function IntegrityInspector({ onValidate, onRebuildKeyframes, onRebuildSnapshots, }) {
|
|
6
|
+
const [documentId, setDocumentId] = useState("");
|
|
7
|
+
const [branch, setBranch] = useState("");
|
|
8
|
+
const [status, setStatus] = useState("idle");
|
|
9
|
+
const [validationResult, setValidationResult] = useState(null);
|
|
10
|
+
const [rebuildResult, setRebuildResult] = useState(null);
|
|
11
|
+
const [error, setError] = useState(null);
|
|
12
|
+
const [confirmAction, setConfirmAction] = useState(null);
|
|
13
|
+
const clearResults = useCallback(() => {
|
|
14
|
+
setValidationResult(null);
|
|
15
|
+
setRebuildResult(null);
|
|
16
|
+
setError(null);
|
|
17
|
+
setConfirmAction(null);
|
|
18
|
+
}, []);
|
|
19
|
+
const handleValidate = useCallback(async () => {
|
|
20
|
+
if (!documentId.trim())
|
|
21
|
+
return;
|
|
22
|
+
clearResults();
|
|
23
|
+
setStatus("running");
|
|
24
|
+
try {
|
|
25
|
+
const result = await onValidate(documentId.trim(), branch.trim() || undefined);
|
|
26
|
+
setValidationResult(result);
|
|
27
|
+
setStatus("done");
|
|
28
|
+
}
|
|
29
|
+
catch (err) {
|
|
30
|
+
setError(err instanceof Error ? err.message : String(err));
|
|
31
|
+
setStatus("error");
|
|
32
|
+
}
|
|
33
|
+
}, [documentId, branch, onValidate, clearResults]);
|
|
34
|
+
const handleRebuildKeyframes = useCallback(async () => {
|
|
35
|
+
if (!documentId.trim())
|
|
36
|
+
return;
|
|
37
|
+
clearResults();
|
|
38
|
+
setStatus("running");
|
|
39
|
+
try {
|
|
40
|
+
const result = await onRebuildKeyframes(documentId.trim(), branch.trim() || undefined);
|
|
41
|
+
setRebuildResult(result);
|
|
42
|
+
setStatus("done");
|
|
43
|
+
}
|
|
44
|
+
catch (err) {
|
|
45
|
+
setError(err instanceof Error ? err.message : String(err));
|
|
46
|
+
setStatus("error");
|
|
47
|
+
}
|
|
48
|
+
}, [documentId, branch, onRebuildKeyframes, clearResults]);
|
|
49
|
+
const handleRebuildSnapshots = useCallback(async () => {
|
|
50
|
+
if (!documentId.trim())
|
|
51
|
+
return;
|
|
52
|
+
clearResults();
|
|
53
|
+
setStatus("running");
|
|
54
|
+
try {
|
|
55
|
+
const result = await onRebuildSnapshots(documentId.trim(), branch.trim() || undefined);
|
|
56
|
+
setRebuildResult(result);
|
|
57
|
+
setStatus("done");
|
|
58
|
+
}
|
|
59
|
+
catch (err) {
|
|
60
|
+
setError(err instanceof Error ? err.message : String(err));
|
|
61
|
+
setStatus("error");
|
|
62
|
+
}
|
|
63
|
+
}, [documentId, branch, onRebuildSnapshots, clearResults]);
|
|
64
|
+
return (_jsxs("div", { className: "flex h-full flex-col gap-3", children: [_jsx("div", { className: "flex shrink-0 items-center justify-between", children: _jsx("h2", { className: "text-lg font-semibold text-gray-900", children: "Integrity Inspector" }) }), _jsxs("div", { className: "flex shrink-0 items-end gap-3", children: [_jsxs("div", { className: "flex flex-1 flex-col gap-1", children: [_jsx("label", { className: "text-xs font-medium text-gray-600", children: "Document ID" }), _jsx("input", { className: "rounded border border-gray-300 px-3 py-1.5 text-sm outline-none focus:border-blue-400", onChange: (e) => setDocumentId(e.target.value), placeholder: "Enter document ID", type: "text", value: documentId })] }), _jsxs("div", { className: "flex w-40 flex-col gap-1", children: [_jsx("label", { className: "text-xs font-medium text-gray-600", children: "Branch (optional)" }), _jsx("input", { className: "rounded border border-gray-300 px-3 py-1.5 text-sm outline-none focus:border-blue-400", onChange: (e) => setBranch(e.target.value), placeholder: "main", type: "text", value: branch })] }), _jsxs("div", { className: "flex gap-2", children: [_jsxs("button", { className: "flex items-center gap-1 rounded border border-blue-300 bg-blue-50 px-3 py-1.5 text-sm text-blue-700 hover:bg-blue-100 disabled:opacity-50", disabled: !documentId.trim() ||
|
|
65
|
+
status === "running" ||
|
|
66
|
+
confirmAction !== null, onClick: () => void handleValidate(), type: "button", children: [_jsx(Icon, { name: "Checkmark", size: 14 }), "Validate"] }), _jsxs("button", { className: "flex items-center gap-1 rounded border border-yellow-300 bg-yellow-50 px-3 py-1.5 text-sm text-yellow-700 hover:bg-yellow-100 disabled:opacity-50", disabled: !documentId.trim() ||
|
|
67
|
+
status === "running" ||
|
|
68
|
+
confirmAction !== null, onClick: () => setConfirmAction("keyframes"), type: "button", children: [_jsx(Icon, { name: "Reload", size: 14 }), "Rebuild Keyframes"] }), _jsxs("button", { className: "flex items-center gap-1 rounded border border-yellow-300 bg-yellow-50 px-3 py-1.5 text-sm text-yellow-700 hover:bg-yellow-100 disabled:opacity-50", disabled: !documentId.trim() ||
|
|
69
|
+
status === "running" ||
|
|
70
|
+
confirmAction !== null, onClick: () => setConfirmAction("snapshots"), type: "button", children: [_jsx(Icon, { name: "Reload", size: 14 }), "Rebuild Snapshots"] })] })] }), confirmAction && (_jsxs("div", { className: "flex shrink-0 items-center gap-3 rounded border border-yellow-400 bg-yellow-50 px-3 py-2", children: [_jsx("span", { className: "text-sm text-yellow-800", children: confirmAction === "keyframes"
|
|
71
|
+
? "This will delete all keyframes for this document. Continue?"
|
|
72
|
+
: "This will invalidate all cached snapshots for this document. Continue?" }), _jsx("button", { className: "rounded bg-yellow-600 px-3 py-1 text-sm text-white hover:bg-yellow-700", onClick: () => {
|
|
73
|
+
if (confirmAction === "keyframes") {
|
|
74
|
+
void handleRebuildKeyframes();
|
|
75
|
+
}
|
|
76
|
+
else {
|
|
77
|
+
void handleRebuildSnapshots();
|
|
78
|
+
}
|
|
79
|
+
}, type: "button", children: "Confirm" }), _jsx("button", { className: "rounded border border-gray-300 bg-white px-3 py-1 text-sm text-gray-600 hover:bg-gray-50", onClick: () => setConfirmAction(null), type: "button", children: "Cancel" })] })), _jsxs("div", { className: "min-h-0 flex-1 overflow-auto rounded-lg border border-gray-300 p-4", children: [status === "idle" && (_jsx("div", { className: "flex h-full items-center justify-center text-sm text-gray-400", children: "Enter a document ID and run an action" })), status === "running" && (_jsx("div", { className: "flex h-full items-center justify-center text-sm text-gray-500", children: "Running..." })), status === "error" && error && (_jsx("div", { className: "rounded bg-red-50 p-3 text-sm text-red-700", children: error })), status === "done" && validationResult && (_jsx(ValidationResultView, { result: validationResult })), status === "done" && rebuildResult && (_jsx(RebuildResultView, { result: rebuildResult }))] })] }));
|
|
80
|
+
}
|
|
81
|
+
function ValidationResultView({ result }) {
|
|
82
|
+
const totalIssues = result.keyframeIssues.length + result.snapshotIssues.length;
|
|
83
|
+
return (_jsxs("div", { className: "flex flex-col gap-3", children: [_jsxs("div", { className: "flex items-center gap-2", children: [_jsx("span", { className: twMerge("size-3 rounded-full", result.isConsistent ? "bg-green-500" : "bg-red-500") }), _jsx("span", { className: "text-sm font-medium", children: result.isConsistent
|
|
84
|
+
? "Document is consistent"
|
|
85
|
+
: `Found ${totalIssues} issue(s)` })] }), _jsxs("div", { className: "text-xs text-gray-500", children: ["Document: ", result.documentId] }), result.keyframeIssues.length > 0 && (_jsxs("div", { className: "flex flex-col gap-1", children: [_jsx("h3", { className: "text-sm font-medium text-gray-700", children: "Keyframe Issues" }), _jsxs("table", { className: "w-full border-collapse text-xs", children: [_jsx("thead", { children: _jsxs("tr", { className: "bg-gray-100", children: [_jsx("th", { className: "px-2 py-1 text-left font-medium text-gray-600", children: "Scope" }), _jsx("th", { className: "border-l border-gray-300 px-2 py-1 text-left font-medium text-gray-600", children: "Branch" }), _jsx("th", { className: "border-l border-gray-300 px-2 py-1 text-left font-medium text-gray-600", children: "Revision" }), _jsx("th", { className: "border-l border-gray-300 px-2 py-1 text-left font-medium text-gray-600", children: "Keyframe Hash" }), _jsx("th", { className: "border-l border-gray-300 px-2 py-1 text-left font-medium text-gray-600", children: "Replayed Hash" })] }) }), _jsx("tbody", { children: result.keyframeIssues.map((issue, i) => (_jsxs("tr", { className: "odd:bg-white even:bg-gray-50", children: [_jsx("td", { className: "px-2 py-1", children: issue.scope }), _jsx("td", { className: "border-l border-gray-300 px-2 py-1", children: issue.branch }), _jsx("td", { className: "border-l border-gray-300 px-2 py-1", children: issue.revision }), _jsx("td", { className: "border-l border-gray-300 px-2 py-1 font-mono", children: issue.keyframeHash }), _jsx("td", { className: "border-l border-gray-300 px-2 py-1 font-mono", children: issue.replayedHash })] }, `kf-${i}`))) })] })] })), result.snapshotIssues.length > 0 && (_jsxs("div", { className: "flex flex-col gap-1", children: [_jsx("h3", { className: "text-sm font-medium text-gray-700", children: "Snapshot Issues" }), _jsxs("table", { className: "w-full border-collapse text-xs", children: [_jsx("thead", { children: _jsxs("tr", { className: "bg-gray-100", children: [_jsx("th", { className: "px-2 py-1 text-left font-medium text-gray-600", children: "Scope" }), _jsx("th", { className: "border-l border-gray-300 px-2 py-1 text-left font-medium text-gray-600", children: "Branch" }), _jsx("th", { className: "border-l border-gray-300 px-2 py-1 text-left font-medium text-gray-600", children: "Snapshot Hash" }), _jsx("th", { className: "border-l border-gray-300 px-2 py-1 text-left font-medium text-gray-600", children: "Replayed Hash" })] }) }), _jsx("tbody", { children: result.snapshotIssues.map((issue, i) => (_jsxs("tr", { className: "odd:bg-white even:bg-gray-50", children: [_jsx("td", { className: "px-2 py-1", children: issue.scope }), _jsx("td", { className: "border-l border-gray-300 px-2 py-1", children: issue.branch }), _jsx("td", { className: "border-l border-gray-300 px-2 py-1 font-mono", children: issue.snapshotHash }), _jsx("td", { className: "border-l border-gray-300 px-2 py-1 font-mono", children: issue.replayedHash })] }, `snap-${i}`))) })] })] }))] }));
|
|
86
|
+
}
|
|
87
|
+
function RebuildResultView({ result }) {
|
|
88
|
+
return (_jsxs("div", { className: "flex flex-col gap-2", children: [_jsxs("div", { className: "flex items-center gap-2", children: [_jsx("span", { className: "size-3 rounded-full bg-green-500" }), _jsx("span", { className: "text-sm font-medium", children: "Rebuild complete" })] }), _jsxs("div", { className: "text-xs text-gray-500", children: ["Document: ", result.documentId] }), result.keyframesDeleted > 0 && (_jsxs("div", { className: "text-sm text-gray-700", children: ["Keyframes deleted: ", result.keyframesDeleted] })), result.scopesInvalidated > 0 && (_jsxs("div", { className: "text-sm text-gray-700", children: ["Scopes invalidated: ", result.scopesInvalidated] }))] }));
|
|
89
|
+
}
|
|
90
|
+
//# sourceMappingURL=integrity-inspector.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integrity-inspector.js","sourceRoot":"","sources":["../../../../../src/connect/components/integrity-inspector/integrity-inspector.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE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ao/design-system";
|
|
2
2
|
import { Modal } from "@powerhousedao/design-system";
|
|
3
|
-
import type { App } from "document-model";
|
|
3
|
+
import type { App } from "@powerhousedao/shared/document-model";
|
|
4
4
|
import type { ComponentPropsWithoutRef } from "react";
|
|
5
5
|
import { type AddLocalDriveInput } from "../../form/add-local-drive-form.js";
|
|
6
6
|
import { type AddRemoteDriveInput } from "../../form/add-remote-drive-form.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-drive-modal.d.ts","sourceRoot":"","sources":["../../../../../../src/connect/components/modal/add-drive-modal/add-drive-modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAC;AACrD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"add-drive-modal.d.ts","sourceRoot":"","sources":["../../../../../../src/connect/components/modal/add-drive-modal/add-drive-modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAC;AACrD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,sCAAsC,CAAC;AAChE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,EACL,KAAK,kBAAkB,EAExB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,KAAK,mBAAmB,EAEzB,MAAM,qCAAqC,CAAC;AAI7C,KAAK,UAAU,GAAG,wBAAwB,CAAC,OAAO,KAAK,CAAC,CAAC;AACzD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAC/C,QAAQ,CAAC,gBAAgB,EAAE,CAAC,IAAI,EAAE,mBAAmB,KAAK,IAAI,CAAC;IAC/D,QAAQ,CAAC,eAAe,EAAE,CAAC,IAAI,EAAE,kBAAkB,KAAK,IAAI,CAAC;IAC7D,QAAQ,CAAC,UAAU,CAAC,EAAE,UAAU,CAAC;IACjC,QAAQ,CAAC,cAAc,CAAC,EAAE,QAAQ,CAAC;IACnC,QAAQ,CAAC,kBAAkB,EAAE,CAC3B,GAAG,EAAE,MAAM,KACR,OAAO,CAAC;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC3C,QAAQ,CAAC,UAAU,EAAE,GAAG,EAAE,CAAC;CAC5B,CAAC;AACF,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,2CAoDtD"}
|
|
@@ -10,7 +10,9 @@ export function AddDriveModal(props) {
|
|
|
10
10
|
onOpenChange(false);
|
|
11
11
|
}
|
|
12
12
|
const { open, onOpenChange, onAddRemoteDrive, onAddLocalDrive, requestPublicDrive, modalProps, containerProps, } = props;
|
|
13
|
-
return (_jsx(Modal, { ...modalProps,
|
|
13
|
+
return (_jsx(Modal, { ...modalProps, overlayProps: {
|
|
14
|
+
className: "items-start pt-[15vh]",
|
|
15
|
+
}, contentProps: {
|
|
14
16
|
className: "rounded-2xl",
|
|
15
17
|
}, onOpenChange: onOpenChange, open: open, children: _jsx("div", { ...containerProps, className: twMerge("w-[408px] rounded-2xl p-6", containerProps?.className), children: _jsxs(Tabs, { defaultValue: "Create Drive", children: [_jsx(TabContent, { label: "Create Drive", description: "Create a new drive", children: _jsx(AddLocalDriveForm, { onCancel: handleCancel, onSubmit: onAddLocalDrive, appOptions: props.appOptions }) }), _jsx(TabContent, { label: "Add Drive", description: "Add a drive", children: _jsx(AddRemoteDriveForm, { sharingType: "PUBLIC", onSubmit: onAddRemoteDrive, onCancel: handleCancel, requestPublicDrive: requestPublicDrive }) })] }) }) }));
|
|
16
18
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-drive-modal.js","sourceRoot":"","sources":["../../../../../../src/connect/components/modal/add-drive-modal/add-drive-modal.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAC;AAGrD,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAEL,iBAAiB,GAClB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAEL,kBAAkB,GACnB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAe1C,MAAM,UAAU,aAAa,CAAC,KAAyB;IACrD,SAAS,YAAY;QACnB,YAAY,CAAC,KAAK,CAAC,CAAC;IACtB,CAAC;IACD,MAAM,EACJ,IAAI,EACJ,YAAY,EACZ,gBAAgB,EAChB,eAAe,EACf,kBAAkB,EAClB,UAAU,EACV,cAAc,GACf,GAAG,KAAK,CAAC;IACV,OAAO,CACL,KAAC,KAAK,OACA,UAAU,EACd,YAAY,EAAE;YACZ,SAAS,EAAE,aAAa;SACzB,EACD,YAAY,EAAE,YAAY,EAC1B,IAAI,EAAE,IAAI,YAEV,iBACM,cAAc,EAClB,SAAS,EAAE,OAAO,CAChB,2BAA2B,EAC3B,cAAc,EAAE,SAAS,CAC1B,YAED,MAAC,IAAI,IAAC,YAAY,EAAC,cAAc,aAC/B,KAAC,UAAU,IAAC,KAAK,EAAC,cAAc,EAAC,WAAW,EAAC,oBAAoB,YAC/D,KAAC,iBAAiB,IAChB,QAAQ,EAAE,YAAY,EACtB,QAAQ,EAAE,eAAe,EACzB,UAAU,EAAE,KAAK,CAAC,UAAU,GAC5B,GACS,EACb,KAAC,UAAU,IAAC,KAAK,EAAC,WAAW,EAAC,WAAW,EAAC,aAAa,YACrD,KAAC,kBAAkB,IACjB,WAAW,EAAC,QAAQ,EACpB,QAAQ,EAAE,gBAAgB,EAC1B,QAAQ,EAAE,YAAY,EACtB,kBAAkB,EAAE,kBAAkB,GACtC,GACS,IACR,GACH,GACA,CACT,CAAC;AACJ,CAAC"}
|
|
1
|
+
{"version":3,"file":"add-drive-modal.js","sourceRoot":"","sources":["../../../../../../src/connect/components/modal/add-drive-modal/add-drive-modal.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAC;AAGrD,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAEL,iBAAiB,GAClB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAEL,kBAAkB,GACnB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAe1C,MAAM,UAAU,aAAa,CAAC,KAAyB;IACrD,SAAS,YAAY;QACnB,YAAY,CAAC,KAAK,CAAC,CAAC;IACtB,CAAC;IACD,MAAM,EACJ,IAAI,EACJ,YAAY,EACZ,gBAAgB,EAChB,eAAe,EACf,kBAAkB,EAClB,UAAU,EACV,cAAc,GACf,GAAG,KAAK,CAAC;IACV,OAAO,CACL,KAAC,KAAK,OACA,UAAU,EACd,YAAY,EAAE;YACZ,SAAS,EAAE,uBAAuB;SACnC,EACD,YAAY,EAAE;YACZ,SAAS,EAAE,aAAa;SACzB,EACD,YAAY,EAAE,YAAY,EAC1B,IAAI,EAAE,IAAI,YAEV,iBACM,cAAc,EAClB,SAAS,EAAE,OAAO,CAChB,2BAA2B,EAC3B,cAAc,EAAE,SAAS,CAC1B,YAED,MAAC,IAAI,IAAC,YAAY,EAAC,cAAc,aAC/B,KAAC,UAAU,IAAC,KAAK,EAAC,cAAc,EAAC,WAAW,EAAC,oBAAoB,YAC/D,KAAC,iBAAiB,IAChB,QAAQ,EAAE,YAAY,EACtB,QAAQ,EAAE,eAAe,EACzB,UAAU,EAAE,KAAK,CAAC,UAAU,GAC5B,GACS,EACb,KAAC,UAAU,IAAC,KAAK,EAAC,WAAW,EAAC,WAAW,EAAC,aAAa,YACrD,KAAC,kBAAkB,IACjB,WAAW,EAAC,QAAQ,EACpB,QAAQ,EAAE,gBAAgB,EAC1B,QAAQ,EAAE,YAAY,EACtB,kBAAkB,EAAE,kBAAkB,GACtC,GACS,IACR,GACH,GACA,CACT,CAAC;AACJ,CAAC"}
|
|
@@ -19,17 +19,17 @@ export const Default = {
|
|
|
19
19
|
{
|
|
20
20
|
id: "powerhouse/common",
|
|
21
21
|
name: "Generic Drive Explorer",
|
|
22
|
-
|
|
22
|
+
app: "GenericDriveExplorer",
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
25
|
id: "powerhouse/invoice/contributor",
|
|
26
26
|
name: "Contributor App",
|
|
27
|
-
|
|
27
|
+
app: "ContributorDrive",
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
30
|
id: "powerhouse/invoice/administrator",
|
|
31
31
|
name: "OH Administrator App",
|
|
32
|
-
|
|
32
|
+
app: "AdministratorDrive",
|
|
33
33
|
},
|
|
34
34
|
],
|
|
35
35
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-drive-modal.stories.js","sourceRoot":"","sources":["../../../../../../src/connect/components/modal/add-drive-modal/add-drive-modal.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAEjD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAErD,MAAM,IAAI,GAAG;IACX,KAAK,EAAE,oCAAoC;IAC3C,SAAS,EAAE,aAAa;CACY,CAAC;AAEvC,eAAe,IAAI,CAAC;AAIpB,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE;QACJ,IAAI,EAAE,IAAI;QACV,gBAAgB,KAAI,CAAC;QACrB,eAAe,KAAI,CAAC;QACpB,YAAY,KAAI,CAAC;QACjB,kBAAkB;YAChB,OAAO,OAAO,CAAC,OAAO,CAAC,EAAE,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,CAAC;QAC1D,CAAC;QACD,UAAU,EAAE;YACV;gBACE,EAAE,EAAE,mBAAmB;gBACvB,IAAI,EAAE,wBAAwB;gBAC9B,
|
|
1
|
+
{"version":3,"file":"add-drive-modal.stories.js","sourceRoot":"","sources":["../../../../../../src/connect/components/modal/add-drive-modal/add-drive-modal.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAEjD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAErD,MAAM,IAAI,GAAG;IACX,KAAK,EAAE,oCAAoC;IAC3C,SAAS,EAAE,aAAa;CACY,CAAC;AAEvC,eAAe,IAAI,CAAC;AAIpB,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE;QACJ,IAAI,EAAE,IAAI;QACV,gBAAgB,KAAI,CAAC;QACrB,eAAe,KAAI,CAAC;QACpB,YAAY,KAAI,CAAC;QACjB,kBAAkB;YAChB,OAAO,OAAO,CAAC,OAAO,CAAC,EAAE,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,CAAC;QAC1D,CAAC;QACD,UAAU,EAAE;YACV;gBACE,EAAE,EAAE,mBAAmB;gBACvB,IAAI,EAAE,wBAAwB;gBAC9B,GAAG,EAAE,sBAAsB;aAC5B;YACD;gBACE,EAAE,EAAE,gCAAgC;gBACpC,IAAI,EAAE,iBAAiB;gBACvB,GAAG,EAAE,kBAAkB;aACxB;YACD;gBACE,EAAE,EAAE,kCAAkC;gBACtC,IAAI,EAAE,sBAAsB;gBAC5B,GAAG,EAAE,oBAAoB;aAC1B;SACF;KACF;IACD,MAAM,EAAE,SAAS,OAAO,CAAC,IAAI;QAC3B,MAAM,CAAC,EAAE,OAAO,CAAC,GAAG,OAAO,EAAe,CAAC;QAE3C,OAAO,CACL,eAAK,SAAS,EAAC,mCAAmC,aAChD,iBACE,SAAS,EAAC,sCAAsC,EAChD,OAAO,EAAE,GAAG,EAAE;wBACZ,OAAO,CAAC;4BACN,GAAG,IAAI;4BACP,IAAI,EAAE,IAAI;yBACX,CAAC,CAAC;oBACL,CAAC,2BAGM,EACT,KAAC,aAAa,OACR,IAAI,EACR,UAAU,EAAE;wBACV,GAAG,IAAI,CAAC,UAAU;wBAClB,YAAY,EAAE,CAAC,IAAI,EAAE,EAAE;4BACrB,OAAO,CAAC;gCACN,GAAG,IAAI;gCACP,IAAI;6BACL,CAAC,CAAC;wBACL,CAAC;qBACF,GACD,IACE,CACP,CAAC;IACJ,CAAC;CACF,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { DivProps } from "@powerhousedao/design-system";
|
|
2
2
|
import { Modal } from "@powerhousedao/design-system";
|
|
3
|
-
import type { App } from "document-model";
|
|
3
|
+
import type { App } from "@powerhousedao/shared/document-model";
|
|
4
4
|
import type { ComponentPropsWithoutRef } from "react";
|
|
5
5
|
import { type AddLocalDriveInput } from "../form/add-local-drive-form.js";
|
|
6
6
|
type ModalProps = ComponentPropsWithoutRef<typeof Modal>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-local-drive-modal.d.ts","sourceRoot":"","sources":["../../../../../src/connect/components/modal/add-local-drive-modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAQ,KAAK,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"add-local-drive-modal.d.ts","sourceRoot":"","sources":["../../../../../src/connect/components/modal/add-local-drive-modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAQ,KAAK,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,sCAAsC,CAAC;AAChE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAGtD,OAAO,EACL,KAAK,kBAAkB,EAExB,MAAM,iCAAiC,CAAC;AAEzC,KAAK,UAAU,GAAG,wBAAwB,CAAC,OAAO,KAAK,CAAC,CAAC;AACzD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAC/C,QAAQ,CAAC,QAAQ,EAAE,CAAC,IAAI,EAAE,kBAAkB,KAAK,IAAI,CAAC;IACtD,QAAQ,CAAC,UAAU,CAAC,EAAE,UAAU,CAAC;IACjC,QAAQ,CAAC,cAAc,CAAC,EAAE,QAAQ,CAAC;IACnC,QAAQ,CAAC,UAAU,EAAE,GAAG,EAAE,CAAC;CAC5B,CAAC;AACF,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,kBAAkB,2CA+C3D"}
|
|
@@ -15,17 +15,17 @@ export const Default = {
|
|
|
15
15
|
{
|
|
16
16
|
id: "powerhouse/common",
|
|
17
17
|
name: "Generic Drive Explorer",
|
|
18
|
-
|
|
18
|
+
app: "GenericDriveExplorer",
|
|
19
19
|
},
|
|
20
20
|
{
|
|
21
21
|
id: "powerhouse/invoice/contributor",
|
|
22
22
|
name: "Contributor App",
|
|
23
|
-
|
|
23
|
+
app: "ContributorDrive",
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
id: "powerhouse/invoice/administrator",
|
|
27
27
|
name: "OH Administrator App",
|
|
28
|
-
|
|
28
|
+
app: "AdministratorDrive",
|
|
29
29
|
},
|
|
30
30
|
],
|
|
31
31
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-local-drive-modal.stories.js","sourceRoot":"","sources":["../../../../../src/connect/components/modal/add-local-drive-modal.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAEjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAEhE,MAAM,IAAI,GAAG;IACX,KAAK,EAAE,uCAAuC;IAC9C,SAAS,EAAE,kBAAkB;CACY,CAAC;AAE5C,eAAe,IAAI,CAAC;AAIpB,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE;QACJ,IAAI,EAAE,IAAI;QACV,QAAQ,KAAI,CAAC;QACb,YAAY,KAAI,CAAC;QACjB,UAAU,EAAE;YACV;gBACE,EAAE,EAAE,mBAAmB;gBACvB,IAAI,EAAE,wBAAwB;gBAC9B,
|
|
1
|
+
{"version":3,"file":"add-local-drive-modal.stories.js","sourceRoot":"","sources":["../../../../../src/connect/components/modal/add-local-drive-modal.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAEjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAEhE,MAAM,IAAI,GAAG;IACX,KAAK,EAAE,uCAAuC;IAC9C,SAAS,EAAE,kBAAkB;CACY,CAAC;AAE5C,eAAe,IAAI,CAAC;AAIpB,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE;QACJ,IAAI,EAAE,IAAI;QACV,QAAQ,KAAI,CAAC;QACb,YAAY,KAAI,CAAC;QACjB,UAAU,EAAE;YACV;gBACE,EAAE,EAAE,mBAAmB;gBACvB,IAAI,EAAE,wBAAwB;gBAC9B,GAAG,EAAE,sBAAsB;aAC5B;YACD;gBACE,EAAE,EAAE,gCAAgC;gBACpC,IAAI,EAAE,iBAAiB;gBACvB,GAAG,EAAE,kBAAkB;aACxB;YACD;gBACE,EAAE,EAAE,kCAAkC;gBACtC,IAAI,EAAE,sBAAsB;gBAC5B,GAAG,EAAE,oBAAoB;aAC1B;SACF;KACF;IACD,MAAM,EAAE,SAAS,OAAO,CAAC,IAAI;QAC3B,MAAM,CAAC,EAAE,OAAO,CAAC,GAAG,OAAO,EAAe,CAAC;QAE3C,OAAO,CACL,eAAK,SAAS,EAAC,mCAAmC,aAChD,iBACE,SAAS,EAAC,sCAAsC,EAChD,OAAO,EAAE,GAAG,EAAE;wBACZ,OAAO,CAAC;4BACN,GAAG,IAAI;4BACP,IAAI,EAAE,IAAI;yBACX,CAAC,CAAC;oBACL,CAAC,2BAGM,EACT,KAAC,kBAAkB,OACb,IAAI,EACR,UAAU,EAAE;wBACV,GAAG,IAAI,CAAC,UAAU;wBAClB,YAAY,EAAE,CAAC,IAAI,EAAE,EAAE;4BACrB,OAAO,CAAC;gCACN,GAAG,IAAI;gCACP,IAAI;6BACL,CAAC,CAAC;wBACL,CAAC;qBACF,GACD,IACE,CACP,CAAC;IACJ,CAAC;CACF,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { DivProps } from "@powerhousedao/design-system";
|
|
2
2
|
import { Modal } from "@powerhousedao/design-system";
|
|
3
|
-
import type { SharingType } from "document-drive";
|
|
3
|
+
import type { SharingType } from "@powerhousedao/shared/document-drive";
|
|
4
4
|
import type { ComponentPropsWithoutRef } from "react";
|
|
5
5
|
import { type AddPublicDriveFormProps, type AddRemoteDriveInput } from "../form/add-remote-drive-form.js";
|
|
6
6
|
type ModalProps = ComponentPropsWithoutRef<typeof Modal>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-remote-drive-modal.d.ts","sourceRoot":"","sources":["../../../../../src/connect/components/modal/add-remote-drive-modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAQ,KAAK,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"add-remote-drive-modal.d.ts","sourceRoot":"","sources":["../../../../../src/connect/components/modal/add-remote-drive-modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAQ,KAAK,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAGtD,OAAO,EACL,KAAK,uBAAuB,EAE5B,KAAK,mBAAmB,EACzB,MAAM,kCAAkC,CAAC;AAE1C,KAAK,UAAU,GAAG,wBAAwB,CAAC,OAAO,KAAK,CAAC,CAAC;AACzD,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAC/C,QAAQ,CAAC,QAAQ,EAAE,CAAC,IAAI,EAAE,mBAAmB,KAAK,IAAI,CAAC;IACvD,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAC;IAClC,QAAQ,CAAC,UAAU,CAAC,EAAE,UAAU,CAAC;IACjC,QAAQ,CAAC,cAAc,CAAC,EAAE,QAAQ,CAAC;CACpC,GAAG,IAAI,CAAC,uBAAuB,EAAE,oBAAoB,CAAC,CAAC;AACxD,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,mBAAmB,2CAiD7D"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Icon, Modal, PowerhouseButton } from "@powerhousedao/design-system";
|
|
3
|
-
import { isValidName } from "document-drive";
|
|
3
|
+
import { isValidName } from "@powerhousedao/shared/document-drive";
|
|
4
4
|
import { useCallback, useState } from "react";
|
|
5
5
|
import { twMerge } from "tailwind-merge";
|
|
6
6
|
import { FormInput } from "../form-input/form-input.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-document-modal.js","sourceRoot":"","sources":["../../../../../src/connect/components/modal/create-document-modal.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAC7E,OAAO,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"create-document-modal.js","sourceRoot":"","sources":["../../../../../src/connect/components/modal/create-document-modal.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAC7E,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AAEnE,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAExD,MAAM,YAAY,GAChB,iJAAiJ,CAAC;AAQpJ,MAAM,wBAAwB,GAAG,GAAG,CAAC;AAErC,MAAM,UAAU,mBAAmB,CAAC,KAA+B;IACjE,MAAM,EAAE,YAAY,EAAE,UAAU,EAAE,YAAY,EAAE,YAAY,EAAE,GAAG,SAAS,EAAE,GAC1E,KAAK,CAAC;IAER,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;IAC7C,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAE9C,MAAM,YAAY,GAAG,GAAG,EAAE;QACxB,YAAY,EAAE,CAAC,KAAK,CAAC,CAAC;QACtB,UAAU,CAAC,GAAG,EAAE,CAAC,WAAW,CAAC,EAAE,CAAC,EAAE,wBAAwB,CAAC,CAAC;IAC9D,CAAC,C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CAAC;4BAChC,CAAC,EACD,WAAW,EAAC,eAAe,EAC3B,QAAQ,QACR,KAAK,EAAE,QAAQ,GACf,IACE,EACN,eAAK,SAAS,EAAC,iCAAiC,aAC9C,iBACE,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE,OAAO,CAChB,YAAY,EACZ,mCAAmC,CACpC,EACD,OAAO,EAAE,YAAY,uBAGd,EACT,KAAC,gBAAgB,IACf,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE,OAAO,CAAC,YAAY,EAAE,iCAAiC,CAAC,EACnE,QAAQ,EAAE,CAAC,OAAO,uBAGD,IACf,IACD,GACD,CACT,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-item-modal.d.ts","sourceRoot":"","sources":["../../../../../src/connect/components/modal/delete-item-modal.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,sBAAsB,EAE5B,MAAM,yBAAyB,CAAC;AAEjC,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"delete-item-modal.d.ts","sourceRoot":"","sources":["../../../../../src/connect/components/modal/delete-item-modal.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,sBAAsB,EAE5B,MAAM,yBAAyB,CAAC;AAEjC,MAAM,WAAW,2BAA4B,SAAQ,IAAI,CACvD,sBAAsB,EACtB,YAAY,GAAG,eAAe,CAC/B;IACC,QAAQ,CAAC,QAAQ,EAAE,MAAM,IAAI,CAAC;IAC9B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B;AAED,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,2BAA2B,2CAcxE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-item-modal.js","sourceRoot":"","sources":["../../../../../src/connect/components/modal/delete-item-modal.tsx"],"names":[],"mappings":";AAAA,OAAO,EAEL,wBAAwB,GACzB,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"delete-item-modal.js","sourceRoot":"","sources":["../../../../../src/connect/components/modal/delete-item-modal.tsx"],"names":[],"mappings":";AAAA,OAAO,EAEL,wBAAwB,GACzB,MAAM,yBAAyB,CAAC;AAUjC,MAAM,UAAU,sBAAsB,CAAC,KAAkC;IACvE,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,GAAG,SAAS,EAAE,GAAG,KAAK,CAAC;IAEtD,OAAO,CACL,KAAC,wBAAwB,OACnB,SAAS,EACb,cAAc,EAAE,EAAE,SAAS,EAAE,WAAW,EAAE,EAC1C,mBAAmB,EAAE;YACnB,SAAS,EAAE,YAAY;SACxB,EACD,aAAa,EAAE,WAAW,EAC1B,UAAU,EAAE,QAAQ,GACpB,CACH,CAAC;AACJ,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { DivProps } from "@powerhousedao/design-system";
|
|
2
2
|
import { Modal } from "@powerhousedao/design-system";
|
|
3
|
-
import type { DocumentDriveDocument
|
|
3
|
+
import type { DocumentDriveDocument } from "@powerhousedao/shared/document-drive";
|
|
4
|
+
import type { SharingType } from "@powerhousedao/shared/document-drive";
|
|
4
5
|
import type { ComponentPropsWithoutRef } from "react";
|
|
5
6
|
type ModalProps = ComponentPropsWithoutRef<typeof Modal>;
|
|
6
7
|
export type DriveSettingsModalProps = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drive-settings-modal.d.ts","sourceRoot":"","sources":["../../../../../src/connect/components/modal/drive-settings-modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAQ,KAAK,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,KAAK,EAAE,qBAAqB,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"drive-settings-modal.d.ts","sourceRoot":"","sources":["../../../../../src/connect/components/modal/drive-settings-modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAQ,KAAK,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAClF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAQtD,KAAK,UAAU,GAAG,wBAAwB,CAAC,OAAO,KAAK,CAAC,CAAC;AAEzD,MAAM,MAAM,uBAAuB,GAAG;IACpC,KAAK,EAAE,qBAAqB,CAAC;IAC7B,WAAW,EAAE,WAAW,CAAC;IACzB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,aAAa,EAAE,CAAC,KAAK,EAAE,qBAAqB,EAAE,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACvE,aAAa,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;IACtD,mBAAmB,EAAE,CACnB,KAAK,EAAE,qBAAqB,EAC5B,cAAc,EAAE,WAAW,KACxB,IAAI,CAAC;IACV,wBAAwB,EAAE,CACxB,KAAK,EAAE,qBAAqB,EAC5B,mBAAmB,EAAE,OAAO,KACzB,IAAI,CAAC;IACV,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,cAAc,CAAC,EAAE,QAAQ,CAAC;CAC3B,CAAC;AACF,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,uBAAuB,2CA2EhE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drive-settings-modal.js","sourceRoot":"","sources":["../../../../../src/connect/components/modal/drive-settings-modal.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"drive-settings-modal.js","sourceRoot":"","sources":["../../../../../src/connect/components/modal/drive-settings-modal.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAC;AAI3D,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAChD,OAAO,EAEL,iBAAiB,GAClB,MAAM,gCAAgC,CAAC;AAuBxC,MAAM,UAAU,kBAAkB,CAAC,KAA8B;IAC/D,MAAM,EACJ,KAAK,EACL,IAAI,EACJ,WAAW,EACX,gBAAgB,EAChB,YAAY,EACZ,aAAa,EACb,aAAa,EACb,mBAAmB,EACnB,wBAAwB,EACxB,UAAU,EACV,cAAc,GACf,GAAG,KAAK,CAAC;IAEV,MAAM,QAAQ,GAAmC,CAAC,IAAI,EAAE,EAAE;QACxD,IAAI,IAAI,CAAC,IAAI,KAAK,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;YACpC,aAAa,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;QAClC,CAAC;QACD,IAAI,IAAI,CAAC,WAAW,KAAK,WAAW,EAAE,CAAC;YACrC,mBAAmB,CAAC,KAAK,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;QAC/C,CAAC;QACD,IAAI,IAAI,CAAC,gBAAgB,KAAK,gBAAgB,EAAE,CAAC;YAC/C,wBAAwB,CAAC,KAAK,EAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC;QACzD,CAAC;QACD,YAAY,CAAC,KAAK,CAAC,CAAC;IACtB,CAAC,CAAC;IAEF,SAAS,iBAAiB;QACxB,aAAa,CAAC,KAAK,CAAC,CAAC;QACrB,YAAY,CAAC,KAAK,CAAC,CAAC;IACtB,CAAC;IAED,SAAS,YAAY;QACnB,YAAY,CAAC,KAAK,CAAC,CAAC;IACtB,CAAC;IAED,OAAO,CACL,KAAC,KAAK,OACA,UAAU,EACd,YAAY,EAAE;YACZ,SAAS,EAAE,aAAa;SACzB,EACD,YAAY,EAAE,YAAY,EAC1B,IAAI,EAAE,IAAI,YAEV,kBACM,cAAc,EAClB,SAAS,EAAE,OAAO,CAChB,+BAA+B,EAC/B,cAAc,EAAE,SAAS,CAC1B,aAED,eAAK,SAAS,EAAC,sBAAsB,aACnC,aAAI,SAAS,EAAC,mBAAmB,+BAAoB,EACrD,iBACE,SAAS,EAAC,+GAA+G,EACzH,OAAO,EAAE,YAAY,EACrB,QAAQ,EAAE,CAAC,CAAC,YAEZ,KAAC,IAAI,IAAC,IAAI,EAAC,YAAY,EAAC,IAAI,EAAE,EAAE,GAAI,GAC7B,IACL,EACN,KAAC,OAAO,IAAC,SAAS,EAAC,MAAM,GAAG,EAC5B,KAAC,iBAAiB,IAChB,YAAY,EAAE,YAAY,EAC1B,iBAAiB,EAAE,iBAAiB,EACpC,QAAQ,EAAE,QAAQ,EAClB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,gBAAgB,EAAE,gBAAgB,GAClC,IACE,GACA,CACT,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drive-settings-modal.stories.d.ts","sourceRoot":"","sources":["../../../../../src/connect/components/modal/drive-settings-modal.stories.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"drive-settings-modal.stories.d.ts","sourceRoot":"","sources":["../../../../../src/connect/components/modal/drive-settings-modal.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,QAAA,MAAM,IAAI;;;CAGiC,CAAC;AAE5C,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAsDrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drive-settings-modal.stories.js","sourceRoot":"","sources":["../../../../../src/connect/components/modal/drive-settings-modal.stories.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"drive-settings-modal.stories.js","sourceRoot":"","sources":["../../../../../src/connect/components/modal/drive-settings-modal.stories.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAEjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,MAAM,IAAI,GAAG;IACX,KAAK,EAAE,yCAAyC;IAChD,SAAS,EAAE,kBAAkB;CACY,CAAC;AAE5C,eAAe,IAAI,CAAC;AAIpB,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE;QACJ,KAAK,EAAE;YACL,MAAM,EAAE;gBACN,EAAE,EAAE,GAAG;gBACP,IAAI,EAAE,SAAS;aAChB;SACuB;QAC1B,wBAAwB,KAAI,CAAC;QAC7B,aAAa,KAAI,CAAC;QAClB,mBAAmB,KAAI,CAAC;QACxB,aAAa,KAAI,CAAC;QAClB,YAAY,KAAI,CAAC;QACjB,WAAW,EAAE,OAAO;QACpB,gBAAgB,EAAE,IAAI;QACtB,IAAI,EAAE,IAAI;KACX;IACD,MAAM,EAAE,SAAS,OAAO,CAAC,IAAI;QAC3B,MAAM,CAAC,EAAE,OAAO,CAAC,GAAG,OAAO,EAAe,CAAC;QAE3C,OAAO,CACL,eAAK,SAAS,EAAC,mCAAmC,aAChD,iBACE,SAAS,EAAC,sCAAsC,EAChD,OAAO,EAAE,GAAG,EAAE;wBACZ,OAAO,CAAC;4BACN,GAAG,IAAI;4BACP,UAAU,EAAE;gCACV,GAAG,IAAI,CAAC,UAAU;gCAClB,IAAI,EAAE,IAAI;6BACX;yBACF,CAAC,CAAC;oBACL,CAAC,2BAGM,EACT,KAAC,kBAAkB,OACb,IAAI,EACR,UAAU,EAAE;wBACV,GAAG,IAAI,CAAC,UAAU;wBAClB,YAAY,EAAE,CAAC,IAAI,EAAE,EAAE;4BACrB,OAAO,CAAC;gCACN,GAAG,IAAI;gCACP,UAAU,EAAE;oCACV,GAAG,IAAI,CAAC,UAAU;oCAClB,IAAI;iCACL;6BACF,CAAC,CAAC;wBACL,CAAC;qBACF,GACD,IACE,CACP,CAAC;IACJ,CAAC;CACF,CAAC"}
|
|
@@ -7,6 +7,7 @@ export * from "./delete-drive-modal.js";
|
|
|
7
7
|
export * from "./delete-item-modal.js";
|
|
8
8
|
export * from "./drive-settings-modal.js";
|
|
9
9
|
export * from "./inspector-modal/index.js";
|
|
10
|
+
export * from "./missing-package-modal.js";
|
|
10
11
|
export * from "./read-required-modal.js";
|
|
11
12
|
export * from "./replace-duplicate-modal.js";
|
|
12
13
|
export * from "./settings-modal-v2/index.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/connect/components/modal/index.ts"],"names":[],"mappings":"AAAA,cAAc,sCAAsC,CAAC;AACrD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/connect/components/modal/index.ts"],"names":[],"mappings":"AAAA,cAAc,sCAAsC,CAAC;AACrD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC"}
|
|
@@ -7,6 +7,7 @@ export * from "./delete-drive-modal.js";
|
|
|
7
7
|
export * from "./delete-item-modal.js";
|
|
8
8
|
export * from "./drive-settings-modal.js";
|
|
9
9
|
export * from "./inspector-modal/index.js";
|
|
10
|
+
export * from "./missing-package-modal.js";
|
|
10
11
|
export * from "./read-required-modal.js";
|
|
11
12
|
export * from "./replace-duplicate-modal.js";
|
|
12
13
|
export * from "./settings-modal-v2/index.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/connect/components/modal/index.ts"],"names":[],"mappings":"AAAA,cAAc,sCAAsC,CAAC;AACrD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/connect/components/modal/index.ts"],"names":[],"mappings":"AAAA,cAAc,sCAAsC,CAAC;AACrD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC"}
|
|
@@ -2,6 +2,9 @@ import type { DivProps } from "@powerhousedao/design-system";
|
|
|
2
2
|
import { Modal } from "@powerhousedao/design-system";
|
|
3
3
|
import type { ComponentPropsWithoutRef } from "react";
|
|
4
4
|
import { type DBExplorerProps } from "../../db-explorer/index.js";
|
|
5
|
+
import { type IntegrityInspectorProps } from "../../integrity-inspector/index.js";
|
|
6
|
+
import { type ProcessorsInspectorProps } from "../../processors-inspector/index.js";
|
|
7
|
+
import { type QueueInspectorProps } from "../../queue-inspector/index.js";
|
|
5
8
|
import { type RemotesInspectorProps } from "../../remotes-inspector/index.js";
|
|
6
9
|
type ModalProps = ComponentPropsWithoutRef<typeof Modal>;
|
|
7
10
|
export type InspectorModalProps = {
|
|
@@ -11,8 +14,11 @@ export type InspectorModalProps = {
|
|
|
11
14
|
readonly containerProps?: DivProps;
|
|
12
15
|
readonly dbExplorerProps: DBExplorerProps;
|
|
13
16
|
readonly remotesInspectorProps: RemotesInspectorProps;
|
|
14
|
-
readonly
|
|
17
|
+
readonly queueInspectorProps?: QueueInspectorProps;
|
|
18
|
+
readonly processorsInspectorProps?: ProcessorsInspectorProps;
|
|
19
|
+
readonly integrityInspectorProps?: IntegrityInspectorProps;
|
|
20
|
+
readonly defaultTab?: "Database" | "Remotes" | "Queue" | "Processors" | "Integrity";
|
|
15
21
|
};
|
|
16
|
-
export declare function InspectorModal({ open, onOpenChange, modalProps, containerProps, dbExplorerProps, remotesInspectorProps, defaultTab, }: InspectorModalProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export declare function InspectorModal({ open, onOpenChange, modalProps, containerProps, dbExplorerProps, remotesInspectorProps, queueInspectorProps, processorsInspectorProps, integrityInspectorProps, defaultTab, }: InspectorModalProps): import("react/jsx-runtime").JSX.Element;
|
|
17
23
|
export {};
|
|
18
24
|
//# sourceMappingURL=inspector-modal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inspector-modal.d.ts","sourceRoot":"","sources":["../../../../../../src/connect/components/modal/inspector-modal/inspector-modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAQ,KAAK,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC9E,OAAO,EAEL,KAAK,qBAAqB,EAC3B,MAAM,kCAAkC,CAAC;AAI1C,KAAK,UAAU,GAAG,wBAAwB,CAAC,OAAO,KAAK,CAAC,CAAC;AAEzD,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAC/C,QAAQ,CAAC,UAAU,CAAC,EAAE,UAAU,CAAC;IACjC,QAAQ,CAAC,cAAc,CAAC,EAAE,QAAQ,CAAC;IACnC,QAAQ,CAAC,eAAe,EAAE,eAAe,CAAC;IAC1C,QAAQ,CAAC,qBAAqB,EAAE,qBAAqB,CAAC;IACtD,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"inspector-modal.d.ts","sourceRoot":"","sources":["../../../../../../src/connect/components/modal/inspector-modal/inspector-modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA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