@powerhousedao/design-system 6.2.3-dev.65 → 6.2.3-dev.67
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/{add-local-drive-form.impl-B5rVul7f.js → add-local-drive-form.impl-xsC6R634.js} +3 -3
- package/dist/{add-local-drive-form.impl-B5rVul7f.js.map → add-local-drive-form.impl-xsC6R634.js.map} +1 -1
- package/dist/{add-remote-drive-form.impl-D7zuqHJC.js → add-remote-drive-form.impl-B2DxdWGF.js} +3 -3
- package/dist/{add-remote-drive-form.impl-D7zuqHJC.js.map → add-remote-drive-form.impl-B2DxdWGF.js.map} +1 -1
- package/dist/{address-DsZy0bjk.js → address-DfZqD6IM.js} +2 -2
- package/dist/{address-DsZy0bjk.js.map → address-DfZqD6IM.js.map} +1 -1
- package/dist/{checkbox-DmRYkN10.d.ts → checkbox-BIhO-KB2.d.ts} +2 -2
- package/dist/{checkbox-DmRYkN10.d.ts.map → checkbox-BIhO-KB2.d.ts.map} +1 -1
- package/dist/{combobox.impl-C2oszOl2.js → combobox.impl-EqgAawKJ.js} +2 -2
- package/dist/{combobox.impl-C2oszOl2.js.map → combobox.impl-EqgAawKJ.js.map} +1 -1
- package/dist/connect/components/toast/toast.js +2 -2
- package/dist/connect/index.d.ts +5 -2
- package/dist/connect/index.d.ts.map +1 -1
- package/dist/connect/index.js +9 -9
- package/dist/{content-L3OINRSY.d.ts → content-Ch3oDYCL.d.ts} +2 -2
- package/dist/{content-L3OINRSY.d.ts.map → content-Ch3oDYCL.d.ts.map} +1 -1
- package/dist/{document-timeline.impl-DRmIHFaI.js → document-timeline.impl-CCkyXpt5.js} +2 -2
- package/dist/{document-timeline.impl-DRmIHFaI.js.map → document-timeline.impl-CCkyXpt5.js.map} +1 -1
- package/dist/{drive-settings-form.impl-4yBGaTxe.js → drive-settings-form.impl-Bwam9-CG.js} +3 -3
- package/dist/{drive-settings-form.impl-4yBGaTxe.js.map → drive-settings-form.impl-Bwam9-CG.js.map} +1 -1
- package/dist/{enum-field-CSeQE4Ss.d.ts → enum-field-DsyC0ml7.d.ts} +3 -3
- package/dist/{enum-field-CSeQE4Ss.d.ts.map → enum-field-DsyC0ml7.d.ts.map} +1 -1
- package/dist/{formatted-json-viewer.impl-C198BZt5.js → formatted-json-viewer.impl-DadZ5uvb.js} +2 -2
- package/dist/{formatted-json-viewer.impl-C198BZt5.js.map → formatted-json-viewer.impl-DadZ5uvb.js.map} +1 -1
- package/dist/{icon-CR_tC1gc.js → icon-CHR45tj_.js} +2 -2
- package/dist/{icon-CR_tC1gc.js.map → icon-CHR45tj_.js.map} +1 -1
- package/dist/{icon-components-BZ_bQZmJ.js → icon-components-CJ4I3Y6Y.js} +3 -3
- package/dist/{icon-components-BZ_bQZmJ.js.map → icon-components-CJ4I3Y6Y.js.map} +1 -1
- package/dist/{id-autocomplete-0bhU6VQG.d.ts → id-autocomplete-Cr7p129s.d.ts} +2 -2
- package/dist/id-autocomplete-Cr7p129s.d.ts.map +1 -0
- package/dist/{id-autocomplete-input-container-xg9lrpSK.d.ts → id-autocomplete-input-container-iTw9wYZn.d.ts} +2 -2
- package/dist/{id-autocomplete-input-container-xg9lrpSK.d.ts.map → id-autocomplete-input-container-iTw9wYZn.d.ts.map} +1 -1
- package/dist/{id-autocomplete-list-Da3FbpJ1.d.ts → id-autocomplete-list-BIC3RxOp.d.ts} +2 -2
- package/dist/{id-autocomplete-list-Da3FbpJ1.d.ts.map → id-autocomplete-list-BIC3RxOp.d.ts.map} +1 -1
- package/dist/{id-autocomplete-list-option-D7JgEK6E.d.ts → id-autocomplete-list-option-DlpZer-2.d.ts} +2 -2
- package/dist/{id-autocomplete-list-option-D7JgEK6E.d.ts.map → id-autocomplete-list-option-DlpZer-2.d.ts.map} +1 -1
- package/dist/{index-D99twPFI.d.ts → index-Ck34z7kD.d.ts} +5 -1
- package/dist/index-Ck34z7kD.d.ts.map +1 -0
- package/dist/index-DoZfvvTr.d.ts +3 -0
- package/dist/index-Ds9-qjjC.d.ts +30 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/{radio-group-field-Bsf4waat.d.ts → radio-group-field-0-cC_e65.d.ts} +2 -2
- package/dist/{radio-group-field-Bsf4waat.d.ts.map → radio-group-field-0-cC_e65.d.ts.map} +1 -1
- package/dist/{revision-history.impl-uogo6xDI.js → revision-history.impl-CrtSnhXQ.js} +10 -6
- package/dist/revision-history.impl-CrtSnhXQ.js.map +1 -0
- package/dist/{select-field-DbFd1YiC.d.ts → select-field-VZPf666l.d.ts} +2 -2
- package/dist/{select-field-DbFd1YiC.d.ts.map → select-field-VZPf666l.d.ts.map} +1 -1
- package/dist/{selected-content-VMVPoru4.d.ts → selected-content-D6NWiceG.d.ts} +2 -2
- package/dist/{selected-content-VMVPoru4.d.ts.map → selected-content-D6NWiceG.d.ts.map} +1 -1
- package/dist/{splitted-input-diff-BKRMH7vI.d.ts → splitted-input-diff-Bkoi0Odc.d.ts} +2 -2
- package/dist/{splitted-input-diff-BKRMH7vI.d.ts.map → splitted-input-diff-Bkoi0Odc.d.ts.map} +1 -1
- package/dist/{src-B2s8MAp7.js → src-CohvVFnR.js} +17 -7
- package/dist/src-CohvVFnR.js.map +1 -0
- package/dist/style.css +3 -0
- package/dist/{text-field-CtatgqNu.d.ts → text-field-CDYSwanK.d.ts} +3 -3
- package/dist/{text-field-CtatgqNu.d.ts.map → text-field-CDYSwanK.d.ts.map} +1 -1
- package/dist/{text-input-BSxhvnyx.d.ts → text-input-CFRCPYq6.d.ts} +2 -2
- package/dist/{text-input-BSxhvnyx.d.ts.map → text-input-CFRCPYq6.d.ts.map} +1 -1
- package/dist/{text-input-diff-CaZoFDjA.d.ts → text-input-diff-BgJAxPQV.d.ts} +2 -2
- package/dist/{text-input-diff-CaZoFDjA.d.ts.map → text-input-diff-BgJAxPQV.d.ts.map} +1 -1
- package/dist/ui/components/checkbox/checkbox.d.ts +1 -1
- package/dist/ui/components/command/command.js +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-label/form-label.js +1 -1
- package/dist/ui/components/id-autocomplete/id-autocomplete-input-container.d.ts +1 -1
- package/dist/ui/components/id-autocomplete/id-autocomplete-input-container.js +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-option.js +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 +17 -17
- package/dist/ui/components/input/splitted-input-diff.d.ts +1 -1
- package/dist/ui/components/input/splitted-input-diff.js +1 -1
- package/dist/ui/components/input/subcomponent/text-diff.d.ts +1 -1
- package/dist/ui/components/radio-group-field/radio-group-field.d.ts +1 -1
- package/dist/ui/components/select-field/content.d.ts +1 -1
- package/dist/ui/components/select-field/content.js +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/selected-content.js +1 -1
- package/dist/ui/components/select-field/subcomponents/CommandItemList.d.ts +1 -1
- package/dist/ui/components/select-field/subcomponents/CommandItemList.js +1 -1
- package/dist/ui/components/select-field/use-select-field.d.ts +1 -1
- package/dist/ui/components/sidebar/sidebar.js +1 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-content-area.js +1 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-item.js +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/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 +18 -18
- package/dist/ui/types.d.ts +1 -1
- package/dist/{use-id-autocomplete-DSRXA4Wt.d.ts → use-id-autocomplete-WH2ROfQn.d.ts} +2 -2
- package/dist/{use-id-autocomplete-DSRXA4Wt.d.ts.map → use-id-autocomplete-WH2ROfQn.d.ts.map} +1 -1
- package/dist/{value-transformer-Dv-10UyC.d.ts → value-transformer-Cg5TEYP2.d.ts} +2 -2
- package/dist/{value-transformer-Dv-10UyC.d.ts.map → value-transformer-Cg5TEYP2.d.ts.map} +1 -1
- package/dist/{with-field-validation-WiD_NFDk.d.ts → with-field-validation-CObZoT4r.d.ts} +2 -2
- package/dist/{with-field-validation-WiD_NFDk.d.ts.map → with-field-validation-CObZoT4r.d.ts.map} +1 -1
- package/package.json +10 -6
- package/tailwind.css +180 -0
- package/vendor.css +3 -0
- package/dist/id-autocomplete-0bhU6VQG.d.ts.map +0 -1
- package/dist/index-D99twPFI.d.ts.map +0 -1
- package/dist/index-D9nAoDks.d.ts +0 -30
- package/dist/index-FfMAMBu7.d.ts +0 -3
- package/dist/revision-history.impl-uogo6xDI.js.map +0 -1
- package/dist/src-B2s8MAp7.js.map +0 -1
package/dist/{add-local-drive-form.impl-B5rVul7f.js → add-local-drive-form.impl-xsC6R634.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as PowerhouseButton } from "./src-
|
|
2
|
-
import { t as Icon } from "./icon-
|
|
1
|
+
import { b as PowerhouseButton } from "./src-CohvVFnR.js";
|
|
2
|
+
import { t as Icon } from "./icon-CHR45tj_.js";
|
|
3
3
|
import { t as Label } from "./label-nH2HoKfI.js";
|
|
4
4
|
import { ConnectSelect, FormInput } from "./connect/index.js";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -72,4 +72,4 @@ function AddLocalDriveForm(props) {
|
|
|
72
72
|
//#endregion
|
|
73
73
|
export { AddLocalDriveForm };
|
|
74
74
|
|
|
75
|
-
//# sourceMappingURL=add-local-drive-form.impl-
|
|
75
|
+
//# sourceMappingURL=add-local-drive-form.impl-xsC6R634.js.map
|
package/dist/{add-local-drive-form.impl-B5rVul7f.js.map → add-local-drive-form.impl-xsC6R634.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-local-drive-form.impl-
|
|
1
|
+
{"version":3,"file":"add-local-drive-form.impl-xsC6R634.js","names":["Icon","Controller","ConnectSelect","appToInputOption","app","value","id","displayValue","name","icon","description","AppFormInput","props","control","appOptions","delegatedProps","items","map","field","PowerhouseButton","useForm","FormInput","AppFormInput","Label","AddLocalDriveForm","props","register","handleSubmit","control","formState","errors","defaultValues","name","sharingType","availableOffline","id","appOptions","e","onSubmit","required","message"],"sources":["../src/connect/components/form/inputs/app-form-input.tsx","../src/connect/components/form/add-local-drive-form.impl.tsx"],"sourcesContent":["import { Icon, type AppOptions } from \"#design-system\";\nimport type { ComponentPropsWithRef } from \"react\";\nimport type { Control, Path } from \"react-hook-form\";\nimport { Controller } from \"react-hook-form\";\nimport type { ConnectSelectItem } from \"../../select/select.js\";\nimport { ConnectSelect } from \"../../select/select.js\";\n\nexport function appToInputOption(app: AppOptions): ConnectSelectItem<string> {\n return {\n value: app.id,\n displayValue: app.name,\n icon: <Icon name=\"PowerhouseLogoSmall\" />,\n description: \"Built by Powerhouse\",\n };\n}\ntype AppFormInputProps<T extends AppOptions> = Omit<\n ComponentPropsWithRef<typeof ConnectSelect>,\n \"id\" | \"items\" | \"value\" | \"onChange\"\n> & {\n readonly control: Control<T>;\n readonly appOptions: T[];\n};\n\nexport function AppFormInput<T extends AppOptions>(\n props: AppFormInputProps<T>,\n) {\n const { control, appOptions, ...delegatedProps } = props;\n const items = appOptions.map(appToInputOption);\n\n return (\n <Controller\n control={control}\n name={\"id\" as Path<T>}\n render={({ field }) => (\n <ConnectSelect {...delegatedProps} {...field} id=\"id\" items={items} />\n )}\n />\n );\n}\n","import { PowerhouseButton, type AppOptions } from \"#design-system\";\nimport type { SubmitHandler } from \"react-hook-form\";\nimport { useForm } from \"react-hook-form\";\nimport { FormInput } from \"../form-input/form-input.js\";\nimport { AppFormInput } from \"./inputs/app-form-input.js\";\nimport { Label } from \"./inputs/label.js\";\n\ntype AddLocalDriveFormProps = {\n readonly onSubmit: CreateDriveFormSubmitHandler;\n readonly onCancel: () => void;\n readonly appOptions: AppOptions[];\n};\n\ntype CreateDriveFormSubmitHandler = SubmitHandler<AppOptions>;\n\nexport function AddLocalDriveForm(props: AddLocalDriveFormProps) {\n const {\n register,\n handleSubmit,\n control,\n formState: { errors },\n } = useForm<AppOptions>({\n defaultValues: {\n name: \"\",\n sharingType: \"LOCAL\",\n availableOffline: false,\n id: props.appOptions[0].id,\n },\n });\n\n return (\n <form\n name=\"add-local-drive\"\n onSubmit={(e) => void handleSubmit(props.onSubmit)(e)}\n className=\"flex flex-col gap-4\"\n >\n <div className=\"flex flex-col gap-4\">\n <div>\n <Label htmlFor=\"name\" className=\"text-sm font-medium text-foreground\">\n Drive Name\n </Label>\n <FormInput\n {...register(\"name\", {\n required: \"Drive name is required\",\n })}\n errorMessage={errors.name?.message}\n placeholder=\"Drive name\"\n />\n </div>\n <div>\n <Label\n htmlFor=\"driveApp\"\n className=\"text-sm font-medium text-foreground\"\n >\n Drive App\n </Label>\n <AppFormInput control={control} appOptions={props.appOptions} />\n </div>\n <PowerhouseButton className=\"mt-2 w-full\" type=\"submit\">\n Create new drive\n </PowerhouseButton>\n </div>\n </form>\n );\n}\n"],"mappings":";;;;;;;AAOA,SAAgBG,iBAAiBC,KAA4C;CAC3E,OAAO;EACLC,OAAOD,IAAIE;EACXC,cAAcH,IAAII;EAClBC,MAAM,oBAAC,MAAD,EAAM,MAAK,sBAAqB,CAAA;EACtCC,aAAa;CACf;AACF;AASA,SAAgBC,aACdC,OACA;CACA,MAAM,EAAEC,SAASC,YAAY,GAAGC,mBAAmBH;CACnD,MAAMI,QAAQF,WAAWG,IAAId,gBAAgB;CAE7C,OACE,oBAAC,YAAD;EACWU;EACT,MAAM;EACN,SAAS,EAAEK,YACT,oBAAC,eAAD;GAAe,GAAIH;GAAgB,GAAIG;GAAO,IAAG;GAAYF;EAAM,CAAA;CACnE,CAAA;AAGR;;;ACvBA,SAAgBQ,kBAAkBC,OAA+B;CAC/D,MAAM,EACJC,UACAC,cACAC,SACAC,WAAW,EAAEC,aACXV,QAAoB,EACtBW,eAAe;EACbC,MAAM;EACNC,aAAa;EACbC,kBAAkB;EAClBC,IAAIV,MAAMW,WAAW,EAAE,CAACD;CAC1B,EACF,CAAC;CAED,OACE,oBAAC,QAAD;EACE,MAAK;EACL,WAAWE,MAAM,KAAKV,aAAaF,MAAMa,QAAQ,CAAC,CAACD,CAAC;EACpD,WAAU;EAEV,UAAA,qBAAC,OAAD;GAAK,WAAU;GAAf,UAAA;IACE,qBAAC,OAAD,EAAA,UAAA,CACE,oBAAC,OAAD;KAAO,SAAQ;KAAO,WAAU;KAAqC,UAAA;IAE9D,CAAA,GACP,oBAAC,WAAD;KACE,GAAIX,SAAS,QAAQ,EACnBa,UAAU,yBACZ,CAAC;KACD,cAAcT,OAAOE,MAAMQ;KAC3B,aAAY;IAAY,CAAA,CAEvB,EAAA,CAAA;IACL,qBAAC,OAAD,EAAA,UAAA,CACE,oBAAC,OAAD;KACE,SAAQ;KACR,WAAU;KAAqC,UAAA;IAG1C,CAAA,GACP,oBAAC,cAAD;KAAuBZ;KAAS,YAAYH,MAAMW;IAAW,CAAA,CAC1D,EAAA,CAAA;IACL,oBAAC,kBAAD;KAAkB,WAAU;KAAc,MAAK;KAAQ,UAAA;IAErC,CAAA;GACf;;CACD,CAAA;AAEV"}
|
package/dist/{add-remote-drive-form.impl-D7zuqHJC.js → add-remote-drive-form.impl-B2DxdWGF.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as PowerhouseButton } from "./src-
|
|
2
|
-
import { t as Icon } from "./icon-
|
|
1
|
+
import { b as PowerhouseButton } from "./src-CohvVFnR.js";
|
|
2
|
+
import { t as Icon } from "./icon-CHR45tj_.js";
|
|
3
3
|
import { Disclosure, Divider, FormInput } from "./connect/index.js";
|
|
4
4
|
import { n as AvailableOfflineToggle, t as LocationInfo } from "./location-info-C3YbSsV0.js";
|
|
5
5
|
import { useEffect, useState } from "react";
|
|
@@ -111,4 +111,4 @@ function AddRemoteDriveForm(props) {
|
|
|
111
111
|
//#endregion
|
|
112
112
|
export { AddRemoteDriveForm };
|
|
113
113
|
|
|
114
|
-
//# sourceMappingURL=add-remote-drive-form.impl-
|
|
114
|
+
//# sourceMappingURL=add-remote-drive-form.impl-B2DxdWGF.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-remote-drive-form.impl-
|
|
1
|
+
{"version":3,"file":"add-remote-drive-form.impl-B2DxdWGF.js","names":["Icon","DriveName","props","driveName","PowerhouseButton","useEffect","useState","useForm","useDebounceValue","Disclosure","Divider","FormInput","AvailableOfflineToggle","DriveName","LocationInfo","AddRemoteDriveForm","props","sharingType","requestPublicDrive","remoteDriveDetails","setPublicDriveDetails","showLocationSettings","setShowLocationSettings","isUrlValid","setIsUrlValid","hasConfirmedUrl","setHasConfirmedUrl","errorMessage","setErrorMessage","url","setUrl","debouncedUrl","setDebouncedUrl","register","handleSubmit","setValue","mode","defaultValues","availableOffline","fetchPublicDrive","catch","console","error","id","name","location","undefined","message","onSubmit","e","target","value","preventDefault"],"sources":["../src/connect/components/form/inputs/drive-name.tsx","../src/connect/components/form/add-remote-drive-form.impl.tsx"],"sourcesContent":["import { Icon } from \"#design-system\";\n\ntype DriveNameProps = {\n readonly driveName: string;\n};\nexport function DriveName(props: DriveNameProps) {\n return (\n <div className=\"flex gap-2 rounded-xl bg-muted p-3 font-semibold text-muted-foreground\">\n <Icon className=\"text-foreground\" name=\"Drive\" />\n {props.driveName}\n </div>\n );\n}\n","import { PowerhouseButton } from \"#design-system\";\nimport type { SharingType } from \"@powerhousedao/shared/document-drive\";\nimport { useEffect, useState } from \"react\";\nimport { useForm } from \"react-hook-form\";\nimport { useDebounceValue } from \"usehooks-ts\";\nimport { Disclosure } from \"../disclosure/disclosure.js\";\nimport { Divider } from \"../divider/divider.js\";\nimport { FormInput } from \"../form-input/form-input.js\";\nimport { AvailableOfflineToggle } from \"./inputs/available-offline-toggle.js\";\nimport { DriveName } from \"./inputs/drive-name.js\";\nimport { LocationInfo } from \"./inputs/location-info.js\";\n\ntype RemoteDriveDetails = {\n id: string;\n name: string;\n sharingType: SharingType;\n location: \"SWITCHBOARD\";\n availableOffline: boolean;\n};\n\ntype Inputs = {\n availableOffline: boolean;\n};\n\nexport type AddRemoteDriveInput = RemoteDriveDetails & { url: string };\n\nexport type AddPublicDriveFormProps = {\n readonly sharingType: SharingType;\n readonly onSubmit: (data: AddRemoteDriveInput) => void;\n readonly onCancel: () => void;\n readonly requestPublicDrive: (\n url: string,\n ) => Promise<{ id: string; name: string }>;\n};\n\nexport function AddRemoteDriveForm(props: AddPublicDriveFormProps) {\n const { sharingType = \"PUBLIC\", requestPublicDrive } = props;\n const [remoteDriveDetails, setPublicDriveDetails] =\n useState<RemoteDriveDetails>();\n const [showLocationSettings, setShowLocationSettings] = useState(false);\n const [isUrlValid, setIsUrlValid] = useState(true);\n const [hasConfirmedUrl, setHasConfirmedUrl] = useState(false);\n const [errorMessage, setErrorMessage] = useState(\"\");\n const [url, setUrl] = useState(\"\");\n const [debouncedUrl, setDebouncedUrl] = useDebounceValue(url, 500);\n\n const { register, handleSubmit, setValue } = useForm<Inputs>({\n mode: \"onBlur\",\n defaultValues: {\n availableOffline: remoteDriveDetails?.availableOffline ?? false,\n },\n });\n\n useEffect(() => {\n setDebouncedUrl(url);\n }, [url]);\n\n useEffect(() => {\n // eslint-disable-next-line react-hooks-extra/set-state-in-effect\n setHasConfirmedUrl(false);\n if (debouncedUrl === \"\") return;\n fetchPublicDrive().catch(console.error);\n\n async function fetchPublicDrive() {\n try {\n const { id, name } = await requestPublicDrive(debouncedUrl);\n setPublicDriveDetails({\n id,\n name,\n sharingType,\n location: \"SWITCHBOARD\",\n availableOffline: true,\n });\n setValue(\"availableOffline\", true);\n setIsUrlValid(true);\n setErrorMessage(\"\");\n } catch (error) {\n setPublicDriveDetails(undefined);\n setIsUrlValid(false);\n setErrorMessage((error as Error).message);\n }\n }\n }, [debouncedUrl, setValue, sharingType]);\n\n function onSubmit({ availableOffline }: Inputs) {\n if (!remoteDriveDetails) return;\n props.onSubmit({\n ...remoteDriveDetails,\n availableOffline,\n url: debouncedUrl,\n });\n }\n\n return (\n <form onSubmit={(e) => void handleSubmit(onSubmit)(e)}>\n {hasConfirmedUrl ? (\n <>\n <DriveName driveName={remoteDriveDetails?.name ?? \"New drive\"} />\n <Divider className=\"my-3\" />\n <Disclosure\n isOpen={showLocationSettings}\n onOpenChange={() => setShowLocationSettings(!showLocationSettings)}\n title=\"Location\"\n >\n <LocationInfo location=\"SWITCHBOARD\" />\n <AvailableOfflineToggle {...register(\"availableOffline\")} />\n </Disclosure>\n <PowerhouseButton className=\"mt-4 w-full\" color=\"dark\" type=\"submit\">\n Add new drive\n </PowerhouseButton>\n </>\n ) : (\n <>\n <FormInput\n errorMessage={errorMessage}\n onChange={(e) => setUrl(e.target.value)}\n placeholder=\"Drive URL\"\n required\n type=\"url\"\n value={url}\n />\n <PowerhouseButton\n className=\"mt-4 w-full py-2 text-base\"\n color=\"dark\"\n size=\"small\"\n disabled={!isUrlValid || url === \"\"}\n onClick={(e) => {\n e.preventDefault();\n setHasConfirmedUrl(true);\n }}\n type=\"button\"\n >\n Add drive\n </PowerhouseButton>\n </>\n )}\n </form>\n );\n}\n"],"mappings":";;;;;;;;;AAKA,SAAgBC,UAAUC,OAAuB;CAC/C,OACE,qBAAC,OAAD;EAAK,WAAU;EAAf,UAAA,CACE,oBAAC,MAAD;GAAM,WAAU;GAAkB,MAAK;EAAO,CAAA,GAC7CA,MAAMC,SACJ;;AAET;;;ACuBA,SAAgB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mB;GACAT,KAAKE;EACP,CAAC;CACH;CAEA,OACE,oBAAC,QAAD;EAAM,WAAWkB,MAAM,KAAKf,aAAac,QAAQ,CAAC,CAACC,CAAC;EACjDxB,UAAAA,kBACC,qBAAA,YAAA,EAAA,UAAA;GACE,oBAAC,WAAD,EAAW,WAAWN,oBAAoByB,QAAQ,YAAY,CAAA;GAC9D,oBAAC,SAAD,EAAS,WAAU,OAAM,CAAA;GACzB,qBAAC,YAAD;IACE,QAAQvB;IACR,oBAAoBC,wBAAwB,CAACD,oBAAoB;IACjE,OAAM;IAHR,UAAA,CAKE,oBAAC,cAAD,EAAc,UAAS,cAAa,CAAA,GACpC,oBAAC,wBAAD,EAAwB,GAAIY,SAAS,kBAAkB,EAAE,CAAA,CAC/C;;GACZ,oBAAC,kBAAD;IAAkB,WAAU;IAAc,OAAM;IAAO,MAAK;IAAQ,UAAA;GAElD,CAAA;EACpB,EAAA,CAAA,IAEA,qBAAA,YAAA,EAAA,UAAA,CACE,oBAAC,WAAD;GACgBN;GACd,WAAWsB,MAAMnB,OAAOmB,EAAEC,OAAOC,KAAK;GACtC,aAAY;GACZ,UAAA;GACA,MAAK;GACL,OAAOtB;EAAI,CAAA,GAEb,oBAAC,kBAAD;GACE,WAAU;GACV,OAAM;GACN,MAAK;GACL,UAAU,CAACN,cAAcM,QAAQ;GACjC,UAAUoB,MAAM;IACdA,EAAEG,eAAe;IACjB1B,mBAAmB,IAAI;GACzB;GACA,MAAK;GAAQ,UAAA;EAGG,CAAA,CACpB,EAAA,CAAA;CAEE,CAAA;AAEV"}
|
|
@@ -31,7 +31,7 @@ function ENSAvatar(props) {
|
|
|
31
31
|
}
|
|
32
32
|
//#endregion
|
|
33
33
|
//#region src/connect/components/formatted-json-viewer.tsx
|
|
34
|
-
const FormattedJsonViewer = lazyComponent(() => import("./formatted-json-viewer.impl-
|
|
34
|
+
const FormattedJsonViewer = lazyComponent(() => import("./formatted-json-viewer.impl-DadZ5uvb.js").then((m) => m.FormattedJsonViewer));
|
|
35
35
|
//#endregion
|
|
36
36
|
//#region src/connect/hooks/use-ens.ts
|
|
37
37
|
const ensCache = /* @__PURE__ */ new Map();
|
|
@@ -89,4 +89,4 @@ function formatEthAddress(address) {
|
|
|
89
89
|
//#endregion
|
|
90
90
|
export { lazyComponent as a, ENSAvatar as i, useEns as n, FormattedJsonViewer as r, formatEthAddress as t };
|
|
91
91
|
|
|
92
|
-
//# sourceMappingURL=address-
|
|
92
|
+
//# sourceMappingURL=address-DfZqD6IM.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"address-DsZy0bjk.js","names":["lazy","Suspense","lazyComponent","load","Lazy","default","LazyComponent","props","ImgPowerhouse","ENSAvatar","props","avatarUrl","size","style","width","height","lazyComponent","FormattedJsonViewer","then","m","useEffect","useState","ensCache","Map","fetchEns","address","cached","get","promise","fetch","then","res","ok","Error","status","json","catch","err","delete","set","useEns","data","setData","isLoading","setIsLoading","error","setError","undefined","cancelled","finally","formatEthAddress","address","slice"],"sources":["../src/connect/components/lazy-component.tsx","../assets/powerhouse-rounded.png","../src/connect/components/ens-avatar/ens-avatar.tsx","../src/connect/components/formatted-json-viewer.tsx","../src/connect/hooks/use-ens.ts","../src/connect/utils/address.ts"],"sourcesContent":["import type { ComponentProps, ComponentType } from \"react\";\nimport { lazy, Suspense } from \"react\";\n\n/** A component that loads its implementation (and its heavy deps) on first render. */\nexport function lazyComponent<C extends ComponentType<any>>(\n load: () => Promise<C>,\n): C {\n const Lazy = lazy(async () => ({ default: await load() }));\n function LazyComponent(props: ComponentProps<C>) {\n return (\n <Suspense fallback={null}>\n <Lazy {...props} />\n </Suspense>\n );\n }\n return LazyComponent as unknown as C;\n}\n","\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABUHSURBVHgBxZwLsBTVmcf/X8+VN+EiT+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42LJB6yuCQhLe+dnhhV2u2BGKBlstjT8wAMxEyT3XgEOGAg7LwyMXTrIkMQD549tQGwM/mPuh0sEDtUZe4pF54vLsN2fhTvqhmb6YjT3lAVoG6COS4M5CvwIyxoVGyDNxXr4ugPlScFXJMC1v29b25UmnsL//2CqCycadOmiZjx3zpj62+4hgNW+3q0/cv3C5uSTm9YyoUQUG4bYIr0HNlOHB6XR69Q84lzH339ecWoBfWa4DKdHKZL2dVpnpuag5RFaarznTFW81xYyZD302Z+my98BUr7/8UOunKRlw2tKYANJaoUYg5slhEbnwLfJR4tV+XZwYXH9mIMKl42Zl/Mb0ZLrP83C2vr1mCJllTARobe8qkm6WLfJM0SEFcZIE6e+iNCDZltMjVxmGyeuWuMgTKWDdgQaOxrpodFoDKlFt3FVBCokhRDORmi34crKU7ottVnnFl+4cNnLHDBpDbuAlfmIpOeSlI+CbDl6/E7nok9HYvDbNtMNCojIgWbl1XfRalWXZEABorFkutXYP3lRRMeabnikSZeZ2wlKqsO9NMK0JQG7WIcmH3gPLhUlueHVGAoSmgnYMOTJQTASU5YjxOzvkVpXJaVewUwStoClL6dx/UXyOP5AevikjeJTvCwEL7I6IVG2Tw6vcCAAAAAElFTkSuQmCC\"","import ImgPowerhouse from \"#assets/powerhouse-rounded.png\";\nimport type { CSSProperties } from \"react\";\n\ntype Props = {\n readonly address: `0x${string}`;\n readonly chainId?: number;\n readonly avatarUrl?: string;\n readonly size?: CSSProperties[\"width\"];\n};\nexport function ENSAvatar(props: Props) {\n const { avatarUrl = ImgPowerhouse, size = \"14px\" } = props;\n const style = {\n width: size,\n height: size,\n };\n\n return (\n <img\n alt=\"ENS Avatar\"\n className=\"flex-none rounded-full object-contain\"\n src={avatarUrl}\n style={style}\n />\n );\n}\n","import { lazyComponent } from \"./lazy-component.js\";\n\nexport const FormattedJsonViewer = lazyComponent(() =>\n import(\"./formatted-json-viewer.impl.js\").then((m) => m.FormattedJsonViewer),\n);\n","import { useEffect, useState } from \"react\";\n\ntype EnsData = {\n ens: string;\n address: string;\n avatar: string | null;\n avatar_small: string | null;\n avatar_url: string | null;\n contentHash: string | null;\n header: string | null;\n header_url: string | null;\n ens_primary: string;\n resolverAddress: string;\n url: string | null;\n github: string | null;\n twitter: string | null;\n telegram: string | null;\n email: string | null;\n description: string | null;\n notice: string | null;\n keywords: string | null;\n discord: string | null;\n};\n\ntype UseEnsResult = {\n data: EnsData | undefined;\n isLoading: boolean;\n error: Error | undefined;\n};\n\nconst ensCache = new Map<`0x${string}`, Promise<EnsData | undefined>>();\n\nfunction fetchEns(address: `0x${string}`): Promise<EnsData | undefined> {\n const cached = ensCache.get(address);\n if (cached) return cached;\n\n const promise = fetch(`https://api.ensdata.net/${address}`)\n .then((res) => {\n if (!res.ok) throw new Error(`ENS lookup failed: ${res.status}`);\n return res.json() as Promise<EnsData>;\n })\n .catch((err: unknown) => {\n ensCache.delete(address);\n throw err instanceof Error ? err : new Error(\"ENS lookup failed\");\n });\n\n ensCache.set(address, promise);\n return promise;\n}\n\nexport function useEns(address: `0x${string}` | undefined): UseEnsResult {\n const [data, setData] = useState<EnsData>();\n const [isLoading, setIsLoading] = useState(false);\n const [error, setError] = useState<Error>();\n\n useEffect(() => {\n if (!address) {\n setData(undefined);\n setError(undefined);\n return;\n }\n\n let cancelled = false;\n setIsLoading(true);\n setError(undefined);\n\n fetchEns(address)\n .then((json) => {\n if (cancelled) return;\n setData(json);\n })\n .catch((err: unknown) => {\n if (cancelled) return;\n setError(err instanceof Error ? err : new Error(\"ENS lookup failed\"));\n })\n .finally(() => {\n if (cancelled) return;\n setIsLoading(false);\n });\n\n return () => {\n cancelled = true;\n };\n }, [address]);\n\n return { data, isLoading, error };\n}\n","export function formatEthAddress(address: string) {\n return `${address.slice(0, 7)}...${address.slice(-5)}`;\n}\n"],"mappings":";;;;AAIA,SAAgBE,cACdC,MACG;CACH,MAAMC,OAAOJ,mBAAK,aAAa,EAAEK,SAAS,MAAMF,KAAK,EAAE,EAAE;CACzD,SAASG,cAA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BJ,aAAa,IAAI;EACjBE,SAASC,KAAAA,CAAS;EAElBvB,SAASC,OAAO,CAAC,CACdK,MAAMK,SAAS;GACd,IAAIa,WAAW;GACfN,QAAQP,IAAI;EACd,CAAC,CAAC,CACDC,OAAOC,QAAiB;GACvB,IAAIW,WAAW;GACfF,SAAST,eAAeJ,QAAQI,sBAAM,IAAIJ,MAAM,mBAAmB,CAAC;EACtE,CAAC,CAAC,CACDgB,cAAc;GACb,IAAID,WAAW;GACfJ,aAAa,KAAK;EACpB,CAAC;EAEH,aAAa;GACXI,YAAY;EACd;CACF,GAAG,CAACvB,OAAO,CAAC;CAEZ,OAAO;EAAEgB;EAAME;EAAWE;CAAM;AAClC;;;ACtFA,SAAgBK,iBAAiBC,SAAiB;CAChD,OAAO,GAAGA,QAAQC,MAAM,GAAG,CAAC,EAAC,KAAMD,QAAQC,MAAM,EAAE;AACrD"}
|
|
1
|
+
{"version":3,"file":"address-DfZqD6IM.js","names":["lazy","Suspense","lazyComponent","load","Lazy","default","LazyComponent","props","ImgPowerhouse","ENSAvatar","props","avatarUrl","size","style","width","height","lazyComponent","FormattedJsonViewer","then","m","useEffect","useState","ensCache","Map","fetchEns","address","cached","get","promise","fetch","then","res","ok","Error","status","json","catch","err","delete","set","useEns","data","setData","isLoading","setIsLoading","error","setError","undefined","cancelled","finally","formatEthAddress","address","slice"],"sources":["../src/connect/components/lazy-component.tsx","../assets/powerhouse-rounded.png","../src/connect/components/ens-avatar/ens-avatar.tsx","../src/connect/components/formatted-json-viewer.tsx","../src/connect/hooks/use-ens.ts","../src/connect/utils/address.ts"],"sourcesContent":["import type { ComponentProps, ComponentType } from \"react\";\nimport { lazy, Suspense } from \"react\";\n\n/** A component that loads its implementation (and its heavy deps) on first render. */\nexport function lazyComponent<C extends ComponentType<any>>(\n load: () => Promise<C>,\n): C {\n const Lazy = lazy(async () => ({ default: await load() }));\n function LazyComponent(props: ComponentProps<C>) {\n return (\n <Suspense fallback={null}>\n <Lazy {...props} />\n </Suspense>\n );\n }\n return LazyComponent as unknown as C;\n}\n","\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABUHSURBVHgBxZwLsBTVmcf/X8+VN+EiT+XhuGo2aojomhQxqIMpS+NuIrqP6K6bYGk2tSYG0FR2XUHErCVruQKL+EiZCDFiJXEX7pYmbtzIGETxfUW0QKIODwHFxyW85d4+Oaf7PL5zuufembkD+aihT5/uOX36N//v+06f7r6EP6EVJ5ZaC0BJyKJcPY0IRSGSMiDLEMnSWIf8VEjIZYSKiLEpAsqdQHulvdyBP5ERjqAxYOfK1amqCtRzF/geIrM1qVFgy3LZ1iWhHkmgRwTgiRNLCtp0+SnJQ7b6R6XM/17JFLQaHUBhl4KvyoKEuUQW2t5qL6/AYbbDBlCpTbrYdHlCM4Co1R0tBEa8mvWMk8sx4RdEsNRUlTLnHiVVub69XMFhsKYDdOAgwaE1OYSFYWDJpSB39EBu7n/hll5PHSThARasjitTVOT3l7z9cnkummxNBSjhTZPw5shmi7Z5MjjkPwPSUyLrQjfxMNwiSGi+amnUp//X5ISFaIBLRRLmvvVyeQmaZE0BKMEVZUMPSBgl06yDRRoSX0/3ybq0XwKFHRSBQ4tgS0Z5DmOyKd0u21xxVIyZzXDrXgP8s8+VposIN5NKDiamkYNj4ZFWG/l+a3F66gyVqf4LYemSl0FcJIQFl8KLDWBhFdohm53ZWzU2DDCJdTHmiIhm+BAMJArc1qjQKZCMAikPmKoRVXvrQeQq8yDGDrAsxD7AtBxhwdsvlmeiQWsIYOKyAsvl1yeScVHywVnXTY4Q6YORc2Hr2npLZtwShkSeSATC4YyLeByoXncxkEFk2+VgXHThkkoDLl03QA1vpUoURJE+ySirOk9xzKUpx61ZVyhIJHkQuZuqJBK6rQImAje2S8Fd29XJqorogymVNfVBrAtgCo9WqmIKL3BZVeetq2VkwVCQlREoMq33e0a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l4UNW7JID5zfJEvSls+7vpdbNklQjjpKdScAUiV8HSQxS8KdWSRsMAsxAZHA4JDpzLzAygGUDaD3mwBFliOb1zedgC82Kl/i92MEUOUHuPJ2ZloZVXqB1ebhd7shQiVspJnaIB4D/VD6tMmNcFkB3OJJg4RL2bt0zKIoiqwluY+GshWfcH/IwtdCjmsQ42LJB6yuCQhLe+dnhhV2u2BGKBlstjT8wAMxEyT3XgEOGAg7LwyMXTrIkMQD549tQGwM/mPuh0sEDtUZe4pF54vLsN2fhTvqhmb6YjT3lAVoG6COS4M5CvwIyxoVGyDNxXr4ugPlScFXJMC1v29b25UmnsL//2CqCycadOmiZjx3zpj62+4hgNW+3q0/cv3C5uSTm9YyoUQUG4bYIr0HNlOHB6XR69Q84lzH339ecWoBfWa4DKdHKZL2dVpnpuag5RFaarznTFW81xYyZD302Z+my98BUr7/8UOunKRlw2tKYANJaoUYg5slhEbnwLfJR4tV+XZwYXH9mIMKl42Zl/Mb0ZLrP83C2vr1mCJllTARobe8qkm6WLfJM0SEFcZIE6e+iNCDZltMjVxmGyeuWuMgTKWDdgQaOxrpodFoDKlFt3FVBCokhRDORmi34crKU7ottVnnFl+4cNnLHDBpDbuAlfmIpOeSlI+CbDl6/E7nok9HYvDbNtMNCojIgWbl1XfRalWXZEABorFkutXYP3lRRMeabnikSZeZ2wlKqsO9NMK0JQG7WIcmH3gPLhUlueHVGAoSmgnYMOTJQTASU5YjxOzvkVpXJaVewUwStoClL6dx/UXyOP5AevikjeJTvCwEL7I6IVG2Tw6vcCAAAAAElFTkSuQmCC\"","import ImgPowerhouse from \"#assets/powerhouse-rounded.png\";\nimport type { CSSProperties } from \"react\";\n\ntype Props = {\n readonly address: `0x${string}`;\n readonly chainId?: number;\n readonly avatarUrl?: string;\n readonly size?: CSSProperties[\"width\"];\n};\nexport function ENSAvatar(props: Props) {\n const { avatarUrl = ImgPowerhouse, size = \"14px\" } = props;\n const style = {\n width: size,\n height: size,\n };\n\n return (\n <img\n alt=\"ENS Avatar\"\n className=\"flex-none rounded-full object-contain\"\n src={avatarUrl}\n style={style}\n />\n );\n}\n","import { lazyComponent } from \"./lazy-component.js\";\n\nexport const FormattedJsonViewer = lazyComponent(() =>\n import(\"./formatted-json-viewer.impl.js\").then((m) => m.FormattedJsonViewer),\n);\n","import { useEffect, useState } from \"react\";\n\ntype EnsData = {\n ens: string;\n address: string;\n avatar: string | null;\n avatar_small: string | null;\n avatar_url: string | null;\n contentHash: string | null;\n header: string | null;\n header_url: string | null;\n ens_primary: string;\n resolverAddress: string;\n url: string | null;\n github: string | null;\n twitter: string | null;\n telegram: string | null;\n email: string | null;\n description: string | null;\n notice: string | null;\n keywords: string | null;\n discord: string | null;\n};\n\ntype UseEnsResult = {\n data: EnsData | undefined;\n isLoading: boolean;\n error: Error | undefined;\n};\n\nconst ensCache = new Map<`0x${string}`, Promise<EnsData | undefined>>();\n\nfunction fetchEns(address: `0x${string}`): Promise<EnsData | undefined> {\n const cached = ensCache.get(address);\n if (cached) return cached;\n\n const promise = fetch(`https://api.ensdata.net/${address}`)\n .then((res) => {\n if (!res.ok) throw new Error(`ENS lookup failed: ${res.status}`);\n return res.json() as Promise<EnsData>;\n })\n .catch((err: unknown) => {\n ensCache.delete(address);\n throw err instanceof Error ? err : new Error(\"ENS lookup failed\");\n });\n\n ensCache.set(address, promise);\n return promise;\n}\n\nexport function useEns(address: `0x${string}` | undefined): UseEnsResult {\n const [data, setData] = useState<EnsData>();\n const [isLoading, setIsLoading] = useState(false);\n const [error, setError] = useState<Error>();\n\n useEffect(() => {\n if (!address) {\n setData(undefined);\n setError(undefined);\n return;\n }\n\n let cancelled = false;\n setIsLoading(true);\n setError(undefined);\n\n fetchEns(address)\n .then((json) => {\n if (cancelled) return;\n setData(json);\n })\n .catch((err: unknown) => {\n if (cancelled) return;\n setError(err instanceof Error ? err : new Error(\"ENS lookup failed\"));\n })\n .finally(() => {\n if (cancelled) return;\n setIsLoading(false);\n });\n\n return () => {\n cancelled = true;\n };\n }, [address]);\n\n return { data, isLoading, error };\n}\n","export function formatEthAddress(address: string) {\n return `${address.slice(0, 7)}...${address.slice(-5)}`;\n}\n"],"mappings":";;;;AAIA,SAAgBE,cACdC,MACG;CACH,MAAMC,OAAOJ,mBAAK,aAAa,EAAEK,SAAS,MAAMF,KAAK,EAAE,EAAE;CACzD,SAASG,cAAcC,OAA0B;EAC/C,OACE,oBAAC,UAAD;GAAU,UAAU;GAClB,UAAA,oBAAC,MAAD,EAAM,GAAIA,MAAM,CAAA;EACR,CAAA;CAEd;CACA,OAAOD;AACT;;;AChBA,IAAA,6BAAA;;;ACSA,SAAgBG,UAAUC,OAAc;CACtC,MAAM,EAAEC,YAAYH,4BAAeI,OAAO,WAAWF;CAMrD,OACE,oBAAC,OAAD;EACE,KAAI;EACJ,WAAU;EACV,KAAKC;EACL,OAAOE;GATTC,OAAOF;GACPG,QAAQH;EAQCC;CAAM,CAAA;AAGnB;;;ACtBA,MAAaI,sBAAsBD,oBACjC,OAAO,2CAAkC,CAACE,MAAMC,MAAMA,EAAEF,mBAAmB,CAC7E;;;AC0BA,MAAMK,2BAAW,IAAIC,IAAiD;AAEtE,SAASC,SAASC,SAAsD;CACtE,MAAMC,SAASJ,SAASK,IAAIF,OAAO;CACnC,IAAIC,QAAQ,OAAOA;CAEnB,MAAME,UAAUC,MAAM,2BAA2BJ,SAAS,CAAC,CACxDK,MAAMC,QAAQ;EACb,IAAI,CAACA,IAAIC,IAAI,MAAM,IAAIC,MAAM,sBAAsBF,IAAIG,QAAQ;EAC/D,OAAOH,IAAII,KAAK;CAClB,CAAC,CAAC,CACDC,OAAOC,QAAiB;EACvBf,SAASgB,OAAOb,OAAO;EACvB,MAAMY,eAAeJ,QAAQI,sBAAM,IAAIJ,MAAM,mBAAmB;CAClE,CAAC;CAEHX,SAASiB,IAAId,SAASG,OAAO;CAC7B,OAAOA;AACT;AAEA,SAAgBY,OAAOf,SAAkD;CACvE,MAAM,CAACgB,MAAMC,WAAWrB,SAAkB;CAC1C,MAAM,CAACsB,WAAWC,gBAAgBvB,SAAS,KAAK;CAChD,MAAM,CAACwB,OAAOC,YAAYzB,SAAgB;CAE1CD,gBAAgB;EACd,IAAI,CAACK,SAAS;GACZiB,QAAQK,KAAAA,CAAS;GACjBD,SAASC,KAAAA,CAAS;GAClB;EACF;EAEA,IAAIC,YAAY;EAChBJ,aAAa,IAAI;EACjBE,SAASC,KAAAA,CAAS;EAElBvB,SAASC,OAAO,CAAC,CACdK,MAAMK,SAAS;GACd,IAAIa,WAAW;GACfN,QAAQP,IAAI;EACd,CAAC,CAAC,CACDC,OAAOC,QAAiB;GACvB,IAAIW,WAAW;GACfF,SAAST,eAAeJ,QAAQI,sBAAM,IAAIJ,MAAM,mBAAmB,CAAC;EACtE,CAAC,CAAC,CACDgB,cAAc;GACb,IAAID,WAAW;GACfJ,aAAa,KAAK;EACpB,CAAC;EAEH,aAAa;GACXI,YAAY;EACd;CACF,GAAG,CAACvB,OAAO,CAAC;CAEZ,OAAO;EAAEgB;EAAME;EAAWE;CAAM;AAClC;;;ACtFA,SAAgBK,iBAAiBC,SAAiB;CAChD,OAAO,GAAGA,QAAQC,MAAM,GAAG,CAAC,EAAC,KAAMD,QAAQC,MAAM,EAAE;AACrD"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as InputBaseProps } from "./index-
|
|
1
|
+
import { p as InputBaseProps } from "./index-Ck34z7kD.js";
|
|
2
2
|
import { n as CheckboxValue } from "./checkbox-base-Bm0GPWgm.js";
|
|
3
3
|
import React from "react";
|
|
4
4
|
//#region src/ui/components/checkbox/checkbox.d.ts
|
|
@@ -10,4 +10,4 @@ declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.Re
|
|
|
10
10
|
//#endregion
|
|
11
11
|
export { CheckboxProps as n, Checkbox as t };
|
|
12
12
|
export {};
|
|
13
|
-
//# sourceMappingURL=checkbox-
|
|
13
|
+
//# sourceMappingURL=checkbox-BIhO-KB2.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox-
|
|
1
|
+
{"version":3,"file":"checkbox-BIhO-KB2.d.ts","names":[],"sources":["../src/ui/components/checkbox/checkbox.tsx"],"mappings":";;;;KAQK,oBAAoB,KACvB,MAAM,qBAAqB,0BACrB,eAAe;UAGN,sBACP,mBAAmB,eAAe;EAC1C,aAAa,SAAS,4BAA4B;;cAG9C,UAAQ,MAAA,0BAAA,gBAAA,MAAA,cAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as Icon } from "./icon-
|
|
1
|
+
import { t as Icon } from "./icon-CHR45tj_.js";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useTheme } from "@powerhousedao/reactor-browser";
|
|
4
4
|
import Select, { components } from "react-select";
|
|
@@ -141,4 +141,4 @@ function Combobox(props) {
|
|
|
141
141
|
//#endregion
|
|
142
142
|
export { Combobox };
|
|
143
143
|
|
|
144
|
-
//# sourceMappingURL=combobox.impl-
|
|
144
|
+
//# sourceMappingURL=combobox.impl-EqgAawKJ.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"combobox.impl-
|
|
1
|
+
{"version":3,"file":"combobox.impl-EqgAawKJ.js","names":["Icon","useTheme","Select","components","DropdownIndicator","props","ClearIndicator","MenuList","label","onClick","rest","hasAddItemButton","children","Combobox","invalid","addItemButtonProps","theme","dark","menuListProps","menuList","dropdownIndicator","display","transition","color","padding","boxSizing","clearIndicator","baseStyles","container","borderColor","fontSize","placeholder","control","alignItems","cursor","flexWrap","justifyContent","minHeight","outline","position","backgroundColor","borderStyle","borderWidth","borderRadius","option","state","isSelected","colors","primary","primary25","primary50","primary75","danger","dangerLight","neutral0","neutral5","neutral10","neutral20","neutral30","neutral40","neutral50","neutral60","neutral70","neutral80","neutral90"],"sources":["../src/connect/components/combobox/combobox.impl.tsx"],"sourcesContent":["import { Icon } from \"#design-system\";\nimport { useTheme } from \"@powerhousedao/reactor-browser\";\nimport type { ComponentPropsWithoutRef, ReactNode } from \"react\";\nimport type {\n ClearIndicatorProps,\n DropdownIndicatorProps,\n MenuListProps,\n} from \"react-select\";\nimport Select, { components } from \"react-select\";\n\ntype SelectProps = ComponentPropsWithoutRef<typeof Select>;\n\ntype Props = Omit<SelectProps, \"components\" | \"styles\" | \"theme\"> & {\n readonly addItemButtonProps?: {\n label?: ReactNode;\n onClick?: () => void;\n };\n};\n\nfunction DropdownIndicator(props: DropdownIndicatorProps) {\n return (\n <components.DropdownIndicator {...props}>\n <Icon name=\"ChevronDown\" size={16} />\n </components.DropdownIndicator>\n );\n}\n\nfunction ClearIndicator(props: ClearIndicatorProps) {\n return (\n <components.ClearIndicator {...props}>\n <Icon name=\"Xmark\" size={16} />\n </components.ClearIndicator>\n );\n}\n\nfunction MenuList(\n props: MenuListProps & {\n readonly label?: ReactNode;\n readonly onClick?: () => void;\n },\n) {\n const { label, onClick, ...rest } = props;\n\n const hasAddItemButton = !!label && !!onClick;\n\n return (\n <components.MenuList {...rest}>\n {props.children}\n {hasAddItemButton ? (\n <button\n className=\"w-full px-2 py-3 hover:hover-effect\"\n onClick={onClick}\n >\n {label}\n </button>\n ) : null}\n </components.MenuList>\n );\n}\n\nexport function Combobox(props: Props) {\n const invalid = props[\"aria-invalid\"] === \"true\";\n const { addItemButtonProps, ...rest } = props;\n const { theme } = useTheme();\n const dark = theme === \"dark\";\n\n return (\n <Select\n {...rest}\n components={{\n DropdownIndicator,\n ClearIndicator,\n MenuList: (menuListProps) =>\n MenuList({ ...menuListProps, ...addItemButtonProps }),\n }}\n classNames={{\n menuList: () =>\n \"scrollbar-thin scrollbar-track-transparent scrollbar-thumb-rounded-md scrollbar-thumb-border\",\n }}\n styles={{\n dropdownIndicator: () => {\n return {\n label: \"indicatorContainer\",\n display: \"flex\",\n transition: \"color 150ms\",\n color: dark ? \"var(--color-slate-50)\" : \"var(--color-gray-900)\",\n padding: 8,\n boxSizing: \"border-box\",\n };\n },\n clearIndicator: (baseStyles) => {\n return {\n ...baseStyles,\n color: dark ? \"var(--color-slate-50)\" : \"var(--color-gray-900)\",\n };\n },\n container: (baseStyles) => {\n return {\n ...baseStyles,\n borderColor: dark\n ? \"var(--color-slate-700)\"\n : \"var(--color-gray-200)\",\n fontSize: 12,\n };\n },\n placeholder: (baseStyles) => {\n return {\n ...baseStyles,\n color: invalid\n ? dark\n ? \"var(--color-red-400)\"\n : \"var(--color-red-900)\"\n : dark\n ? \"var(--color-slate-100)\"\n : \"var(--color-gray-500)\",\n };\n },\n control: () => {\n return {\n label: \"control\",\n alignItems: \"center\",\n cursor: \"default\",\n display: \"flex\",\n flexWrap: \"wrap\",\n justifyContent: \"space-between\",\n minHeight: 32,\n outline: \"0 !important\",\n position: \"relative\",\n transition: \"all 100ms\",\n backgroundColor: dark\n ? \"var(--color-slate-800)\"\n : \"var(--color-white)\",\n borderColor: invalid\n ? dark\n ? \"var(--color-red-400)\"\n : \"var(--color-red-900)\"\n : dark\n ? \"var(--color-slate-600)\"\n : \"var(--color-gray-200)\",\n borderStyle: \"solid\",\n borderWidth: 1,\n borderRadius: \"6px\",\n boxSizing: \"border-box\",\n };\n },\n option: (baseStyles, state) => {\n return {\n ...baseStyles,\n backgroundColor: state.isSelected\n ? dark\n ? \"var(--color-slate-700)\"\n : \"var(--color-slate-50)\"\n : dark\n ? \"var(--color-slate-800)\"\n : \"var(--color-white)\",\n color: dark ? \"var(--color-slate-50)\" : \"var(--color-gray-800)\",\n \":hover\": {\n backgroundColor: dark\n ? \"var(--color-slate-700)\"\n : \"var(--color-slate-50)\",\n },\n };\n },\n menuList: (baseStyles) => ({\n ...baseStyles,\n padding: 0,\n borderRadius: \"6px\",\n }),\n }}\n theme={(theme) => ({\n ...theme,\n colors: {\n ...theme.colors,\n primary: dark ? \"var(--color-slate-700)\" : \"var(--color-slate-100)\",\n primary25: dark ? \"var(--color-slate-800)\" : \"var(--color-slate-50)\",\n primary50: dark ? \"var(--color-slate-700)\" : \"var(--color-slate-100)\",\n primary75: dark ? \"var(--color-slate-700)\" : \"var(--color-slate-100)\",\n danger: dark ? \"var(--color-red-400)\" : \"var(--color-red-900)\",\n dangerLight: dark ? \"var(--color-red-900)\" : \"var(--color-red-100)\",\n neutral0: dark ? \"var(--color-slate-800)\" : \"var(--color-white)\",\n neutral5: dark ? \"var(--color-slate-800)\" : \"var(--color-gray-50)\",\n neutral10: dark ? \"var(--color-slate-700)\" : \"var(--color-gray-100)\",\n neutral20: dark ? \"var(--color-slate-600)\" : \"var(--color-gray-200)\",\n neutral30: dark ? \"var(--color-slate-600)\" : \"var(--color-gray-300)\",\n neutral40: dark ? \"var(--color-slate-400)\" : \"var(--color-gray-400)\",\n neutral50: dark ? \"var(--color-slate-300)\" : \"var(--color-gray-500)\",\n neutral60: dark ? \"var(--color-slate-200)\" : \"var(--color-gray-600)\",\n neutral70: dark ? \"var(--color-slate-100)\" : \"var(--color-gray-700)\",\n neutral80: dark ? \"var(--color-slate-50)\" : \"var(--color-gray-800)\",\n neutral90: dark ? \"var(--color-slate-50)\" : \"var(--color-gray-900)\",\n },\n })}\n />\n );\n}\n"],"mappings":";;;;;AAmBA,SAASI,kBAAkBC,OAA+B;CACxD,OACE,oBAAC,WAAW,mBAAZ;EAA8B,GAAIA;EAChC,UAAA,oBAAC,MAAD;GAAM,MAAK;GAAc,MAAM;EAAG,CAAA;CACN,CAAA;AAElC;AAEA,SAASC,eAAeD,OAA4B;CAClD,OACE,oBAAC,WAAW,gBAAZ;EAA2B,GAAIA;EAC7B,UAAA,oBAAC,MAAD;GAAM,MAAK;GAAQ,MAAM;EAAG,CAAA;CACH,CAAA;AAE/B;AAEA,SAASE,SACPF,OAIA;CACA,MAAM,EAAEG,OAAOC,SAAS,GAAGC,SAASL;CAEpC,MAAMM,mBAAmB,CAAC,CAACH,SAAS,CAAC,CAACC;CAEtC,OACE,qBAAC,WAAW,UAAZ;EAAqB,GAAIC;EAAzB,UAAA,CACGL,MAAMO,UACND,mBACC,oBAAC,UAAD;GAC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0B;KACxC,UAAU,EACRuB,iBAAiBvB,OACb,2BACA,wBACN;IACF;GACF;GACAE,WAAWQ,gBAAgB;IACzB,GAAGA;IACHH,SAAS;IACTmB,cAAc;GAChB;EACF;EACA,QAAQ3B,WAAW;GACjB,GAAGA;GACH+B,QAAQ;IACN,GAAG/B,MAAM+B;IACTC,SAAS/B,OAAO,2BAA2B;IAC3CgC,WAAWhC,OAAO,2BAA2B;IAC7CiC,WAAWjC,OAAO,2BAA2B;IAC7CkC,WAAWlC,OAAO,2BAA2B;IAC7CmC,QAAQnC,OAAO,yBAAyB;IACxCoC,aAAapC,OAAO,yBAAyB;IAC7CqC,UAAUrC,OAAO,2BAA2B;IAC5CsC,UAAUtC,OAAO,2BAA2B;IAC5CuC,WAAWvC,OAAO,2BAA2B;IAC7CwC,WAAWxC,OAAO,2BAA2B;IAC7CyC,WAAWzC,OAAO,2BAA2B;IAC7C0C,WAAW1C,OAAO,2BAA2B;IAC7C2C,WAAW3C,OAAO,2BAA2B;IAC7C4C,WAAW5C,OAAO,2BAA2B;IAC7C6C,WAAW7C,OAAO,2BAA2B;IAC7C8C,WAAW9C,OAAO,0BAA0B;IAC5C+C,WAAW/C,OAAO,0BAA0B;GAC9C;EACF;CAAG,CAAA;AAGT"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as PackageAnimation } from "../../../src-
|
|
2
|
-
import { t as Icon } from "../../../icon-
|
|
1
|
+
import { d as PackageAnimation } from "../../../src-CohvVFnR.js";
|
|
2
|
+
import { t as Icon } from "../../../icon-CHR45tj_.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { ToastContainer as ToastContainer$1, toast as toast$1 } from "react-toastify";
|
|
5
5
|
//#region src/connect/components/toast/toast.tsx
|
package/dist/connect/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as SidebarFooter, G as Modal, K as Icon, S as SelectOption, at as AppOptions, ct as INITIAL_SYNC, dt as SYNCING, ft as syncStatuses, j as SidebarHeader, lt as MISSING, ot as CONFLICT, rt as SyncStatus$1, st as ERROR, ut as SUCCESS } from "../index-
|
|
1
|
+
import { A as SidebarFooter, G as Modal, K as Icon, S as SelectOption, at as AppOptions, ct as INITIAL_SYNC, dt as SYNCING, ft as syncStatuses, j as SidebarHeader, lt as MISSING, ot as CONFLICT, rt as SyncStatus$1, st as ERROR, ut as SUCCESS } from "../index-Ck34z7kD.js";
|
|
2
2
|
import { i as Size, n as DivProps, o as IconName } from "../types-TZijOYrE.js";
|
|
3
|
-
import "../index-
|
|
3
|
+
import "../index-DoZfvvTr.js";
|
|
4
4
|
import React$1, { CSSProperties, ComponentProps, ComponentPropsWithRef, ComponentPropsWithoutRef, FC, HTMLAttributes, ReactNode, RefAttributes } from "react";
|
|
5
5
|
import { TooltipProps } from "@radix-ui/react-tooltip";
|
|
6
6
|
import { SubmitHandler } from "react-hook-form";
|
|
@@ -1438,6 +1438,9 @@ type CommonProps = {
|
|
|
1438
1438
|
readonly documentState?: object;
|
|
1439
1439
|
readonly onCopyState?: () => void;
|
|
1440
1440
|
readonly onCopyDocId?: () => void;
|
|
1441
|
+
/** Controlled: the page shown, from 1; pair with `onPageChange`. */
|
|
1442
|
+
readonly page?: number;
|
|
1443
|
+
readonly onPageChange?: (page: number) => void;
|
|
1441
1444
|
};
|
|
1442
1445
|
/** The current, scoped props. */
|
|
1443
1446
|
type RevisionHistoryScopedProps = CommonProps & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../src/connect/components/account-popover/account-popover.tsx","../../src/connect/components/account-popover/account-popover-login.tsx","../../src/connect/components/renown-login/renown-login-methods.tsx","../../src/connect/components/animated-loader/animated-loader.tsx","../../src/connect/components/breadcrumbs/breadcrumbs.tsx","../../src/connect/components/catch-up-inspector/catch-up-inspector.tsx","../../src/connect/components/combobox/combobox.impl.tsx","../../src/connect/components/combobox/combobox.tsx","../../src/connect/components/consent-banner/consent-banner.tsx","../../src/connect/components/db-explorer/components/table-view.tsx","../../src/connect/components/db-explorer/components/schema-tree-sidebar.tsx","../../src/connect/components/db-explorer/db-explorer.tsx","../../src/connect/components/debug-inspector/debug-inspector.tsx","../../src/connect/components/default-editor-loader/default-editor-loader.tsx","../../src/connect/components/disclosure/disclosure.tsx","../../src/connect/components/divider/divider.tsx","../../src/connect/components/document-state-viewer/document-state-viewer.tsx","../../src/connect/components/document-timeline/document-timeline.impl.tsx","../../src/connect/components/document-timeline/document-timeline.tsx","../../src/connect/components/document-toolbar/containers.tsx","../../src/connect/components/document-toolbar/constants.ts","../../src/connect/components/document-toolbar/types.ts","../../src/connect/components/document-toolbar/document-toolbar.tsx","../../src/connect/components/document-toolbar/toolbar-button.tsx","../../src/connect/components/document-toolbar/toolbar-input.tsx","../../src/connect/components/document-toolbar/toolbar-name.tsx","../../src/connect/components/drive-auth-gate/drive-auth-gate.tsx","../../src/connect/components/drop-zone/drop-zone-wrapper.tsx","../../src/connect/components/upload-file-item/upload-file-item.tsx","../../src/connect/components/drop-zone/utils.ts","../../src/connect/components/drop-zone/drop-zone.tsx","../../src/connect/components/drop-zone/upload-file-list-container.tsx","../../src/connect/components/dropdown-menu/dropdown-menu.tsx","../../src/connect/components/editor-action-buttons/editor-action-buttons.tsx","../../src/connect/components/editor-undo-redo-buttons/editor-undo-redo-buttons.tsx","../../src/connect/components/ens-avatar/ens-avatar.tsx","../../src/connect/components/file-item/file-item.tsx","../../src/connect/components/folder-item/folder-item.tsx","../../src/connect/components/footer/footer-link.tsx","../../src/connect/components/footer/footer.tsx","../../src/connect/components/form-input/form-input.tsx","../../src/connect/components/form/add-local-drive-form.impl.tsx","../../src/connect/components/form/add-local-drive-form.tsx","../../src/connect/components/form/add-remote-drive-form.impl.tsx","../../src/connect/components/form/add-remote-drive-form.tsx","../../src/connect/components/formatted-json-viewer.impl.tsx","../../src/connect/components/formatted-json-viewer.tsx","../../src/connect/components/home-screen/home-background-image.tsx","../../src/connect/components/home-screen/home-screen-add-drive-item.tsx","../../src/connect/components/home-screen/home-screen-item.tsx","../../src/connect/components/home-screen/home-screen.tsx","../../src/connect/components/integrity-inspector/integrity-inspector.tsx","../../src/connect/components/loading-screen/loading-screen.tsx","../../src/connect/components/logo-animation.tsx","../../src/connect/components/modal/add-drive-modal/add-drive-modal.tsx","../../src/connect/components/modal/confirmation-modal.tsx","../../src/connect/components/modal/create-document-modal.tsx","../../src/connect/components/modal/create-document-with-type-modal.tsx","../../src/connect/components/modal/delete-drive-modal.tsx","../../src/connect/components/modal/delete-item-modal.tsx","../../src/connect/components/modal/drive-settings-modal.tsx","../../src/connect/components/processors-inspector/processors-inspector.tsx","../../src/connect/components/queue-inspector/queue-inspector.tsx","../../src/connect/components/remotes-inspector/remotes-inspector.tsx","../../src/connect/components/remotes-inspector/components/channel-inspector.tsx","../../src/connect/components/remotes-inspector/components/connection-state-badge.tsx","../../src/connect/components/remotes-inspector/components/peer-agreement-panel.tsx","../../src/connect/components/worker-inspector/worker-inspector.tsx","../../src/connect/components/modal/inspector-modal/inspector-modal.tsx","../../src/connect/components/modal/missing-package-modal.tsx","../../src/connect/components/modal/modal-button.tsx","../../src/connect/components/modal/read-required-modal.tsx","../../src/connect/components/modal/replace-duplicate-modal.tsx","../../src/connect/components/modal/settings-modal-v2/about.tsx","../../src/connect/components/modal/settings-modal-v2/danger-zone.tsx","../../src/connect/components/modal/settings-modal-v2/default-editor.impl.tsx","../../src/connect/components/modal/settings-modal-v2/default-editor.tsx","../../src/connect/components/modal/settings-modal-v2/package-manager/available-packages-panel.tsx","../../src/connect/components/modal/settings-modal-v2/package-manager/installed-packages-panel.tsx","../../src/connect/components/modal/settings-modal-v2/package-manager/package-manager-list.tsx","../../src/connect/components/modal/settings-modal-v2/package-manager/package-manager.tsx","../../src/connect/components/modal/settings-modal-v2/package-manager/package-registry-error.tsx","../../src/connect/components/modal/settings-modal-v2/package-manager/types.ts","../../src/connect/components/modal/settings-modal-v2/settings-modal.tsx","../../src/connect/components/modal/settings-modal/dependency-versions/dependency-versions.tsx","../../src/connect/components/modal/upgrade-drive-modal.tsx","../../src/connect/components/node-input/node-input.tsx","../../src/connect/components/object-inspector-modal/object-inspector-modal.tsx","../../src/connect/components/revision-history/revision-history.impl.tsx","../../src/connect/components/revision-history/revision-history.tsx","../../src/connect/components/search-bar/filter-item.tsx","../../src/connect/components/search-bar/search-bar.tsx","../../src/connect/components/select/select.tsx","../../src/connect/components/sidebar/sidebar-add-drive-item.tsx","../../src/connect/components/sidebar/sidebar-footer.tsx","../../src/connect/components/sidebar/sidebar-header.tsx","../../src/connect/components/sidebar/sidebar-item.tsx","../../src/connect/components/sidebar/sidebar-login.tsx","../../src/connect/components/sidebar/sidebar-user.tsx","../../src/connect/components/sidebar/sidebar.tsx","../../src/connect/components/status-icon/sync-status-icon.tsx","../../src/connect/components/tabs/tab-content.tsx","../../src/connect/components/tabs/tabs.tsx","../../src/connect/components/theme-switch.tsx","../../src/connect/components/toggle/toggle.tsx","../../src/connect/components/tooltip/tooltip.tsx","../../src/connect/components/upload-file-list/upload-file-list.tsx","../../src/connect/constants/options.tsx","../../src/connect/hooks/use-ens.ts","../../src/connect/utils/address.ts","../../src/connect/utils/get-folder-status.ts"],"mappings":";;;;;;;;;;;;;;iBAGiB;EACf,UAAU;EACV,SAAS;EAET;EACA,gBAAgB;;qBAGL,mBAAc,UAAA,SAAA,MAAA,gBAKxB,oDAAmB,IAAA;;;iBCbL;EAGf;;qBAGW,qBAAqB,GAAG;;;iBCHpB;EACf;EACA;EACA;EACA;;iBAGe;EACf,SAAS;EAGT;EACA;EACA;;qBAsDW,oBAAoB,GAAG;;;KCpE/B,WAAQ;WACF,OAAO;;wBAEF,eAAe,OAAO,uCAAK,IAAA;;;wBCe3B,2CAAW,IAAA;YAkGf;EACV;EACA;EACA;;EAEA;;EAEA,SAAS;EACT;;wBAGc,WAAW,OAAO,8CAAe,IAAA;;;YC/HrC;EACV;EACA;EACA;EACA;;YAGU;EACV;EACA;EACA;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AA;;;qBCf5C;qBAOA;qBAEA;qBAOA;qBAMA;qBAEA;WAET;WACA,kCAAI,IAAA;WACJ;;WAGA;WACA,kCAAI,IAAA;WACJ;;WAGA;WACA,kCAAI,IAAA;WACJ;WACA;;qBAIS;WACX;aACE;aACA;aACA,kCAAI,IAAA;;WAEN;aACE;aACA;aACA,kCAAI,IAAA;;WAEN;aACE;aACA;aACA,kCAAI,IAAA;;;qBAIK;WACX;aACE;aACA,kCAAI,IAAA;;WAEN;aACE;aACA,kCAAI,IAAA;;WAEN;aACE;aACA,kCAAI,IAAA;;;qBAIK;WACX;aACE;aACA,kCAAI,IAAA;;WAEN;aACE;aACA,kCAAI,IAAA;;WAEN;aACE;aACA,kCAAI,IAAA;;WAEN;aACE;aACA,kCAAI,IAAA;aACJ;;;qBAIS;;aAdT;aACA,kCAAI,IAAA;;;aAGJ;aACA,kCAAI,IAAA;;;aAGJ;aACA,kCAAI,IAAA;aACJ;;;IAOA;IACA,kCAAI,IAAA;;;;;KCpGH;EACH;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;KAGG;EACH,MAAM;EACN;EACA,OAAO;;wBAuBO,OAAO,qCAAqC;;;wBClD5C,iBAAiB;;;KCA5B;YAQO;EAAe;EAAc,SAAS;;;;;;;;;qBASrC,kBAAe,oBACR,aACL,iBACZ;;;;;;;;;;;;;qBAsBU,oBAAiB,OAAW,iBAAY;;;;;;qBAuBxC,qBAAkB,OAAW,iBAAY"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../src/connect/components/account-popover/account-popover.tsx","../../src/connect/components/account-popover/account-popover-login.tsx","../../src/connect/components/renown-login/renown-login-methods.tsx","../../src/connect/components/animated-loader/animated-loader.tsx","../../src/connect/components/breadcrumbs/breadcrumbs.tsx","../../src/connect/components/catch-up-inspector/catch-up-inspector.tsx","../../src/connect/components/combobox/combobox.impl.tsx","../../src/connect/components/combobox/combobox.tsx","../../src/connect/components/consent-banner/consent-banner.tsx","../../src/connect/components/db-explorer/components/table-view.tsx","../../src/connect/components/db-explorer/components/schema-tree-sidebar.tsx","../../src/connect/components/db-explorer/db-explorer.tsx","../../src/connect/components/debug-inspector/debug-inspector.tsx","../../src/connect/components/default-editor-loader/default-editor-loader.tsx","../../src/connect/components/disclosure/disclosure.tsx","../../src/connect/components/divider/divider.tsx","../../src/connect/components/document-state-viewer/document-state-viewer.tsx","../../src/connect/components/document-timeline/document-timeline.impl.tsx","../../src/connect/components/document-timeline/document-timeline.tsx","../../src/connect/components/document-toolbar/containers.tsx","../../src/connect/components/document-toolbar/constants.ts","../../src/connect/components/document-toolbar/types.ts","../../src/connect/components/document-toolbar/document-toolbar.tsx","../../src/connect/components/document-toolbar/toolbar-button.tsx","../../src/connect/components/document-toolbar/toolbar-input.tsx","../../src/connect/components/document-toolbar/toolbar-name.tsx","../../src/connect/components/drive-auth-gate/drive-auth-gate.tsx","../../src/connect/components/drop-zone/drop-zone-wrapper.tsx","../../src/connect/components/upload-file-item/upload-file-item.tsx","../../src/connect/components/drop-zone/utils.ts","../../src/connect/components/drop-zone/drop-zone.tsx","../../src/connect/components/drop-zone/upload-file-list-container.tsx","../../src/connect/components/dropdown-menu/dropdown-menu.tsx","../../src/connect/components/editor-action-buttons/editor-action-buttons.tsx","../../src/connect/components/editor-undo-redo-buttons/editor-undo-redo-buttons.tsx","../../src/connect/components/ens-avatar/ens-avatar.tsx","../../src/connect/components/file-item/file-item.tsx","../../src/connect/components/folder-item/folder-item.tsx","../../src/connect/components/footer/footer-link.tsx","../../src/connect/components/footer/footer.tsx","../../src/connect/components/form-input/form-input.tsx","../../src/connect/components/form/add-local-drive-form.impl.tsx","../../src/connect/components/form/add-local-drive-form.tsx","../../src/connect/components/form/add-remote-drive-form.impl.tsx","../../src/connect/components/form/add-remote-drive-form.tsx","../../src/connect/components/formatted-json-viewer.impl.tsx","../../src/connect/components/formatted-json-viewer.tsx","../../src/connect/components/home-screen/home-background-image.tsx","../../src/connect/components/home-screen/home-screen-add-drive-item.tsx","../../src/connect/components/home-screen/home-screen-item.tsx","../../src/connect/components/home-screen/home-screen.tsx","../../src/connect/components/integrity-inspector/integrity-inspector.tsx","../../src/connect/components/loading-screen/loading-screen.tsx","../../src/connect/components/logo-animation.tsx","../../src/connect/components/modal/add-drive-modal/add-drive-modal.tsx","../../src/connect/components/modal/confirmation-modal.tsx","../../src/connect/components/modal/create-document-modal.tsx","../../src/connect/components/modal/create-document-with-type-modal.tsx","../../src/connect/components/modal/delete-drive-modal.tsx","../../src/connect/components/modal/delete-item-modal.tsx","../../src/connect/components/modal/drive-settings-modal.tsx","../../src/connect/components/processors-inspector/processors-inspector.tsx","../../src/connect/components/queue-inspector/queue-inspector.tsx","../../src/connect/components/remotes-inspector/remotes-inspector.tsx","../../src/connect/components/remotes-inspector/components/channel-inspector.tsx","../../src/connect/components/remotes-inspector/components/connection-state-badge.tsx","../../src/connect/components/remotes-inspector/components/peer-agreement-panel.tsx","../../src/connect/components/worker-inspector/worker-inspector.tsx","../../src/connect/components/modal/inspector-modal/inspector-modal.tsx","../../src/connect/components/modal/missing-package-modal.tsx","../../src/connect/components/modal/modal-button.tsx","../../src/connect/components/modal/read-required-modal.tsx","../../src/connect/components/modal/replace-duplicate-modal.tsx","../../src/connect/components/modal/settings-modal-v2/about.tsx","../../src/connect/components/modal/settings-modal-v2/danger-zone.tsx","../../src/connect/components/modal/settings-modal-v2/default-editor.impl.tsx","../../src/connect/components/modal/settings-modal-v2/default-editor.tsx","../../src/connect/components/modal/settings-modal-v2/package-manager/available-packages-panel.tsx","../../src/connect/components/modal/settings-modal-v2/package-manager/installed-packages-panel.tsx","../../src/connect/components/modal/settings-modal-v2/package-manager/package-manager-list.tsx","../../src/connect/components/modal/settings-modal-v2/package-manager/package-manager.tsx","../../src/connect/components/modal/settings-modal-v2/package-manager/package-registry-error.tsx","../../src/connect/components/modal/settings-modal-v2/package-manager/types.ts","../../src/connect/components/modal/settings-modal-v2/settings-modal.tsx","../../src/connect/components/modal/settings-modal/dependency-versions/dependency-versions.tsx","../../src/connect/components/modal/upgrade-drive-modal.tsx","../../src/connect/components/node-input/node-input.tsx","../../src/connect/components/object-inspector-modal/object-inspector-modal.tsx","../../src/connect/components/revision-history/revision-history.impl.tsx","../../src/connect/components/revision-history/revision-history.tsx","../../src/connect/components/search-bar/filter-item.tsx","../../src/connect/components/search-bar/search-bar.tsx","../../src/connect/components/select/select.tsx","../../src/connect/components/sidebar/sidebar-add-drive-item.tsx","../../src/connect/components/sidebar/sidebar-footer.tsx","../../src/connect/components/sidebar/sidebar-header.tsx","../../src/connect/components/sidebar/sidebar-item.tsx","../../src/connect/components/sidebar/sidebar-login.tsx","../../src/connect/components/sidebar/sidebar-user.tsx","../../src/connect/components/sidebar/sidebar.tsx","../../src/connect/components/status-icon/sync-status-icon.tsx","../../src/connect/components/tabs/tab-content.tsx","../../src/connect/components/tabs/tabs.tsx","../../src/connect/components/theme-switch.tsx","../../src/connect/components/toggle/toggle.tsx","../../src/connect/components/tooltip/tooltip.tsx","../../src/connect/components/upload-file-list/upload-file-list.tsx","../../src/connect/constants/options.tsx","../../src/connect/hooks/use-ens.ts","../../src/connect/utils/address.ts","../../src/connect/utils/get-folder-status.ts"],"mappings":";;;;;;;;;;;;;;iBAGiB;EACf,UAAU;EACV,SAAS;EAET;EACA,gBAAgB;;qBAGL,mBAAc,UAAA,SAAA,MAAA,gBAKxB,oDAAmB,IAAA;;;iBCbL;EAGf;;qBAGW,qBAAqB,GAAG;;;iBCHpB;EACf;EACA;EACA;EACA;;iBAGe;EACf,SAAS;EAGT;EACA;EACA;;qBAsDW,oBAAoB,GAAG;;;KCpE/B,WAAQ;WACF,OAAO;;wBAEF,eAAe,OAAO,uCAAK,IAAA;;;wBCe3B,2CAAW,IAAA;YAkGf;EACV;EACA;EACA;;EAEA;;EAEA,SAAS;EACT;;wBAGc,WAAW,OAAO,8CAAe,IAAA;;;YC/HrC;EACV;EACA;E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Ac;WACrB;WACA;WACA;;wBAGK,eAAe,OAAO,kDAAmB,IAAA;;;qBCf5C;qBAOA;qBAEA;qBAOA;qBAMA;qBAEA;WAET;WACA,kCAAI,IAAA;WACJ;;WAGA;WACA,kCAAI,IAAA;WACJ;;WAGA;WACA,kCAAI,IAAA;WACJ;WACA;;qBAIS;WACX;aACE;aACA;aACA,kCAAI,IAAA;;WAEN;aACE;aACA;aACA,kCAAI,IAAA;;WAEN;aACE;aACA;aACA,kCAAI,IAAA;;;qBAIK;WACX;aACE;aACA,kCAAI,IAAA;;WAEN;aACE;aACA,kCAAI,IAAA;;WAEN;aACE;aACA,kCAAI,IAAA;;;qBAIK;WACX;aACE;aACA,kCAAI,IAAA;;WAEN;aACE;aACA,kCAAI,IAAA;;WAEN;aACE;aACA,kCAAI,IAAA;;WAEN;aACE;aACA,kCAAI,IAAA;aACJ;;;qBAIS;;aAdT;aACA,kCAAI,IAAA;;;aAGJ;aACA,kCAAI,IAAA;;;aAGJ;aACA,kCAAI,IAAA;aACJ;;;IAOA;IACA,kCAAI,IAAA;;;;;KCpGH;EACH;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;KAGG;EACH,MAAM;EACN;EACA,OAAO;;wBAuBO,OAAO,qCAAqC;;;wBClD5C,iBAAiB;;;KCA5B;YAQO;EAAe;EAAc,SAAS;;;;;;;;;qBASrC,kBAAe,oBACR,aACL,iBACZ;;;;;;;;;;;;;qBAsBU,oBAAiB,OAAW,iBAAY;;;;;;qBAuBxC,qBAAkB,OAAW,iBAAY"}
|
package/dist/connect/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as DropdownMenuItem, b as PowerhouseButton, c as SidebarHeader, d as PackageAnimation, f as Modal, g as DropdownMenuContent, h as DropdownMenu, l as SidebarPanel, o as Sidebar, s as SidebarFooter, y as DropdownMenuTrigger } from "../src-
|
|
2
|
-
import { n as getDimensions, t as Icon } from "../icon-
|
|
1
|
+
import { _ as DropdownMenuItem, b as PowerhouseButton, c as SidebarHeader, d as PackageAnimation, f as Modal, g as DropdownMenuContent, h as DropdownMenu, l as SidebarPanel, o as Sidebar, s as SidebarFooter, y as DropdownMenuTrigger } from "../src-CohvVFnR.js";
|
|
2
|
+
import { n as getDimensions, t as Icon } from "../icon-CHR45tj_.js";
|
|
3
3
|
import { Popover, PopoverContent, PopoverTrigger } from "../ui/components/popover/popover.js";
|
|
4
4
|
import { Input } from "../ui/components/input/input.js";
|
|
5
5
|
import { JsonViewer } from "../ui/components/json-viewer/json-viewer.js";
|
|
6
|
-
import { a as lazyComponent, i as ENSAvatar, n as useEns, r as FormattedJsonViewer, t as formatEthAddress } from "../address-
|
|
6
|
+
import { a as lazyComponent, i as ENSAvatar, n as useEns, r as FormattedJsonViewer, t as formatEthAddress } from "../address-DfZqD6IM.js";
|
|
7
7
|
import { t as Label } from "../label-nH2HoKfI.js";
|
|
8
8
|
import React, { Fragment, createElement, forwardRef, useCallback, useEffect, useLayoutEffect, useMemo, useReducer, useRef, useState } from "react";
|
|
9
9
|
import { twJoin, twMerge } from "tailwind-merge";
|
|
@@ -665,7 +665,7 @@ function CatchUpInspector({ status, onRefresh, onSweepNow }) {
|
|
|
665
665
|
}
|
|
666
666
|
//#endregion
|
|
667
667
|
//#region src/connect/components/combobox/combobox.tsx
|
|
668
|
-
const Combobox = lazyComponent(() => import("../combobox.impl-
|
|
668
|
+
const Combobox = lazyComponent(() => import("../combobox.impl-EqgAawKJ.js").then((m) => m.Combobox));
|
|
669
669
|
//#endregion
|
|
670
670
|
//#region src/connect/components/consent-banner/consent-banner.tsx
|
|
671
671
|
const CookieBanner = (props) => {
|
|
@@ -2052,7 +2052,7 @@ function DocumentStateViewer({ state, ignoredScopes = ["auth", "document"], defa
|
|
|
2052
2052
|
}
|
|
2053
2053
|
//#endregion
|
|
2054
2054
|
//#region src/connect/components/document-timeline/document-timeline.tsx
|
|
2055
|
-
const DocumentTimeline = lazyComponent(() => import("../document-timeline.impl-
|
|
2055
|
+
const DocumentTimeline = lazyComponent(() => import("../document-timeline.impl-CCkyXpt5.js").then((m) => m.DocumentTimeline));
|
|
2056
2056
|
//#endregion
|
|
2057
2057
|
//#region src/connect/components/document-toolbar/containers.tsx
|
|
2058
2058
|
/**
|
|
@@ -3983,10 +3983,10 @@ const FormInput = /*#__PURE__*/ forwardRef(function FormInput(props, ref) {
|
|
|
3983
3983
|
});
|
|
3984
3984
|
//#endregion
|
|
3985
3985
|
//#region src/connect/components/form/add-local-drive-form.tsx
|
|
3986
|
-
const AddLocalDriveForm = lazyComponent(() => import("../add-local-drive-form.impl-
|
|
3986
|
+
const AddLocalDriveForm = lazyComponent(() => import("../add-local-drive-form.impl-xsC6R634.js").then((m) => m.AddLocalDriveForm));
|
|
3987
3987
|
//#endregion
|
|
3988
3988
|
//#region src/connect/components/form/add-remote-drive-form.tsx
|
|
3989
|
-
const AddRemoteDriveForm = lazyComponent(() => import("../add-remote-drive-form.impl-
|
|
3989
|
+
const AddRemoteDriveForm = lazyComponent(() => import("../add-remote-drive-form.impl-B2DxdWGF.js").then((m) => m.AddRemoteDriveForm));
|
|
3990
3990
|
//#endregion
|
|
3991
3991
|
//#region src/connect/components/home-screen/home-background-image.tsx
|
|
3992
3992
|
const HomeBackgroundImage = ({ src } = {}) => {
|
|
@@ -4788,7 +4788,7 @@ function ConnectDeleteItemModal(props) {
|
|
|
4788
4788
|
}
|
|
4789
4789
|
//#endregion
|
|
4790
4790
|
//#region src/connect/components/form/drive-settings-form.tsx
|
|
4791
|
-
const DriveSettingsForm = lazyComponent(() => import("../drive-settings-form.impl-
|
|
4791
|
+
const DriveSettingsForm = lazyComponent(() => import("../drive-settings-form.impl-Bwam9-CG.js").then((m) => m.DriveSettingsForm));
|
|
4792
4792
|
//#endregion
|
|
4793
4793
|
//#region src/connect/components/modal/drive-settings-modal.tsx
|
|
4794
4794
|
function DriveSettingsModal(props) {
|
|
@@ -8355,7 +8355,7 @@ function ConnectUpgradeDriveModal(props) {
|
|
|
8355
8355
|
}
|
|
8356
8356
|
//#endregion
|
|
8357
8357
|
//#region src/connect/components/revision-history/revision-history.tsx
|
|
8358
|
-
const RevisionHistory = lazyComponent(() => import("../revision-history.impl-
|
|
8358
|
+
const RevisionHistory = lazyComponent(() => import("../revision-history.impl-CrtSnhXQ.js").then((m) => m.RevisionHistory));
|
|
8359
8359
|
//#endregion
|
|
8360
8360
|
//#region src/connect/components/search-bar/filter-item.tsx
|
|
8361
8361
|
const FilterItem = (props) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as SelectProps } from "./index-
|
|
1
|
+
import { C as SelectProps } from "./index-Ck34z7kD.js";
|
|
2
2
|
import React from "react";
|
|
3
3
|
//#region src/ui/components/select-field/content.d.ts
|
|
4
4
|
interface ContentProps {
|
|
@@ -17,4 +17,4 @@ declare const Content: React.FC<ContentProps>;
|
|
|
17
17
|
//#endregion
|
|
18
18
|
export { Content as t };
|
|
19
19
|
export {};
|
|
20
|
-
//# sourceMappingURL=content-
|
|
20
|
+
//# sourceMappingURL=content-Ch3oDYCL.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content-
|
|
1
|
+
{"version":3,"file":"content-Ch3oDYCL.d.ts","names":[],"sources":["../src/ui/components/select-field/content.tsx"],"mappings":";;;UAaU;EACR;EACA,gBAAgB,MAAM,UAAU;EAChC;EACA;EACA;EACA;EACA,SAAS;EACT,kBAAkB;EAClB;EACA,eAAe;;cAGJ,SAAS,MAAM,GAAG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as Icon } from "./icon-
|
|
1
|
+
import { t as Icon } from "./icon-CHR45tj_.js";
|
|
2
2
|
import { ConnectTooltip, ConnectTooltipProvider } from "./connect/index.js";
|
|
3
3
|
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
4
4
|
import { twMerge } from "tailwind-merge";
|
|
@@ -251,4 +251,4 @@ const DocumentTimeline = (props) => {
|
|
|
251
251
|
//#endregion
|
|
252
252
|
export { DocumentTimeline };
|
|
253
253
|
|
|
254
|
-
//# sourceMappingURL=document-timeline.impl-
|
|
254
|
+
//# sourceMappingURL=document-timeline.impl-CCkyXpt5.js.map
|