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