@powerhousedao/connect 1.0.22-staging.0 → 1.0.23-staging.0
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/assets/{app-CDOWlDp2.css → app-CSCydE8J.css} +170 -70
- package/dist/assets/{app-CpNI4xTA.js → app-DcywiNjF.js} +1744 -895
- package/dist/assets/{app-loader-DiF8OhX3.css → app-loader-3ipafc56.css} +221 -103
- package/dist/assets/{app-loader-DADQ7rok.js → app-loader-DTsRstTc.js} +65 -53
- package/dist/assets/{ccip-DATfa3z8.js → ccip-CiJjLxOg.js} +7 -4
- package/dist/assets/{content-CkbffPFR.js → content-BvS8uaAX.js} +5 -5
- package/dist/assets/{index-GuaHVlAM.js → index-BmdZEeOF.js} +4 -4
- package/dist/assets/{index-CEFMQRxw.js → index-Dw68KzY3.js} +4081 -4093
- package/dist/assets/{index-BFdIunuJ.js → index-XBueRvDp.js} +3 -3
- package/dist/assets/{main.Dqmo52dd.js → main.CgZm8DDG.js} +12 -2
- package/dist/assets/{style-Ce3V83BE.css → style-0ej1afQi.css} +94 -24
- package/dist/index.html +1 -1
- package/dist/vite-envs.sh +1 -1
- package/package.json +17 -17
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/app-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/app-DcywiNjF.js","assets/main.CgZm8DDG.js","assets/app-CSCydE8J.css"])))=>i.map(i=>d[i]);
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __typeError = (msg) => {
|
|
4
4
|
throw TypeError(msg);
|
|
@@ -11,7 +11,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
|
|
|
11
11
|
var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
|
|
12
12
|
var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
|
|
13
13
|
var _tags, _levelString, _errorHandler, _ConsoleLogger_instances, levelValue_get, _getDocumentModelModule, _drives, _ReadModeService_instances, parseGraphQLErrors_fn, fetchDrive_fn, _a, _ServiceWorkerManager_instances, handleServiceWorkerMessage_fn, handleServiceWorker_fn;
|
|
14
|
-
import { _ as __vitePreload } from "./main.
|
|
14
|
+
import { _ as __vitePreload } from "./main.CgZm8DDG.js";
|
|
15
15
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
16
16
|
import { useState, useEffect, Suspense, lazy } from "react";
|
|
17
17
|
function _mergeNamespaces(n, m) {
|
|
@@ -9891,6 +9891,7 @@ const types = {
|
|
|
9891
9891
|
"application/dash+xml": ["mpd"],
|
|
9892
9892
|
"application/dash-patch+xml": ["mpp"],
|
|
9893
9893
|
"application/davmount+xml": ["davmount"],
|
|
9894
|
+
"application/dicom": ["dcm"],
|
|
9894
9895
|
"application/docbook+xml": ["dbk"],
|
|
9895
9896
|
"application/dssc+der": ["dssc"],
|
|
9896
9897
|
"application/dssc+xml": ["xdssc"],
|
|
@@ -9977,7 +9978,14 @@ const types = {
|
|
|
9977
9978
|
"application/oebps-package+xml": ["opf"],
|
|
9978
9979
|
"application/ogg": ["ogx"],
|
|
9979
9980
|
"application/omdoc+xml": ["omdoc"],
|
|
9980
|
-
"application/onenote": [
|
|
9981
|
+
"application/onenote": [
|
|
9982
|
+
"onetoc",
|
|
9983
|
+
"onetoc2",
|
|
9984
|
+
"onetmp",
|
|
9985
|
+
"onepkg",
|
|
9986
|
+
"one",
|
|
9987
|
+
"onea"
|
|
9988
|
+
],
|
|
9981
9989
|
"application/oxps": ["oxps"],
|
|
9982
9990
|
"application/p2p-overlay+xml": ["relo"],
|
|
9983
9991
|
"application/patch-ops-error+xml": ["xer"],
|
|
@@ -10073,6 +10081,7 @@ const types = {
|
|
|
10073
10081
|
"application/yang": ["yang"],
|
|
10074
10082
|
"application/yin+xml": ["yin"],
|
|
10075
10083
|
"application/zip": ["zip"],
|
|
10084
|
+
"application/zip+dotlottie": ["lottie"],
|
|
10076
10085
|
"audio/3gpp": ["*3gpp"],
|
|
10077
10086
|
"audio/aac": ["adts", "aac"],
|
|
10078
10087
|
"audio/adpcm": ["adp"],
|
|
@@ -10081,7 +10090,7 @@ const types = {
|
|
|
10081
10090
|
"audio/midi": ["mid", "midi", "kar", "rmi"],
|
|
10082
10091
|
"audio/mobile-xmf": ["mxmf"],
|
|
10083
10092
|
"audio/mp3": ["*mp3"],
|
|
10084
|
-
"audio/mp4": ["m4a", "mp4a"],
|
|
10093
|
+
"audio/mp4": ["m4a", "mp4a", "m4b"],
|
|
10085
10094
|
"audio/mpeg": ["mpga", "mp2", "mp2a", "mp3", "m2a", "m3a"],
|
|
10086
10095
|
"audio/ogg": ["oga", "ogg", "spx", "opus"],
|
|
10087
10096
|
"audio/s3m": ["s3m"],
|
|
@@ -10113,11 +10122,12 @@ const types = {
|
|
|
10113
10122
|
"image/heif": ["heif"],
|
|
10114
10123
|
"image/heif-sequence": ["heifs"],
|
|
10115
10124
|
"image/hej2k": ["hej2"],
|
|
10116
|
-
"image/hsj2": ["hsj2"],
|
|
10117
10125
|
"image/ief": ["ief"],
|
|
10126
|
+
"image/jaii": ["jaii"],
|
|
10127
|
+
"image/jais": ["jais"],
|
|
10118
10128
|
"image/jls": ["jls"],
|
|
10119
10129
|
"image/jp2": ["jp2", "jpg2"],
|
|
10120
|
-
"image/jpeg": ["
|
|
10130
|
+
"image/jpeg": ["jpg", "jpeg", "jpe"],
|
|
10121
10131
|
"image/jph": ["jph"],
|
|
10122
10132
|
"image/jphc": ["jhc"],
|
|
10123
10133
|
"image/jpm": ["jpm", "jpgm"],
|
|
@@ -10132,6 +10142,7 @@ const types = {
|
|
|
10132
10142
|
"image/jxss": ["jxss"],
|
|
10133
10143
|
"image/ktx": ["ktx"],
|
|
10134
10144
|
"image/ktx2": ["ktx2"],
|
|
10145
|
+
"image/pjpeg": ["jfif"],
|
|
10135
10146
|
"image/png": ["png"],
|
|
10136
10147
|
"image/sgi": ["sgi"],
|
|
10137
10148
|
"image/svg+xml": ["svg", "svgz"],
|
|
@@ -10145,7 +10156,7 @@ const types = {
|
|
|
10145
10156
|
"message/global-delivery-status": ["u8dsn"],
|
|
10146
10157
|
"message/global-disposition-notification": ["u8mdn"],
|
|
10147
10158
|
"message/global-headers": ["u8hdr"],
|
|
10148
|
-
"message/rfc822": ["eml", "mime"],
|
|
10159
|
+
"message/rfc822": ["eml", "mime", "mht", "mhtml"],
|
|
10149
10160
|
"model/3mf": ["3mf"],
|
|
10150
10161
|
"model/gltf+json": ["gltf"],
|
|
10151
10162
|
"model/gltf-binary": ["glb"],
|
|
@@ -10155,6 +10166,7 @@ const types = {
|
|
|
10155
10166
|
"model/mtl": ["mtl"],
|
|
10156
10167
|
"model/obj": ["obj"],
|
|
10157
10168
|
"model/prc": ["prc"],
|
|
10169
|
+
"model/step": ["step", "stp", "stpnc", "p21", "210"],
|
|
10158
10170
|
"model/step+xml": ["stpx"],
|
|
10159
10171
|
"model/step+zip": ["stpz"],
|
|
10160
10172
|
"model/step-xml+zip": ["stpxz"],
|
|
@@ -10260,8 +10272,8 @@ class Mime {
|
|
|
10260
10272
|
getType(path) {
|
|
10261
10273
|
if (typeof path !== "string")
|
|
10262
10274
|
return null;
|
|
10263
|
-
const last = path.replace(/^.*[/\\]
|
|
10264
|
-
const ext = last.replace(
|
|
10275
|
+
const last = path.replace(/^.*[/\\]/s, "").toLowerCase();
|
|
10276
|
+
const ext = last.replace(/^.*\./s, "").toLowerCase();
|
|
10265
10277
|
const hasPath = last.length < path.length;
|
|
10266
10278
|
const hasDot = ext.length < last.length - 1;
|
|
10267
10279
|
if (!hasDot && hasPath)
|
|
@@ -25818,7 +25830,7 @@ const nodeOptionsMap = {
|
|
|
25818
25830
|
};
|
|
25819
25831
|
const name = "@powerhousedao/connect";
|
|
25820
25832
|
const productName = "Powerhouse-Connect";
|
|
25821
|
-
const version$1 = "1.0.
|
|
25833
|
+
const version$1 = "1.0.23-staging.0";
|
|
25822
25834
|
const description = "Powerhouse Connect";
|
|
25823
25835
|
const main = "./dist/index.html";
|
|
25824
25836
|
const type = "module";
|
|
@@ -25830,7 +25842,7 @@ const repository = { "type": "git", "url": "git+https://github.com/powerhouse-in
|
|
|
25830
25842
|
const bugs = { "url": "https://github.com/powerhouse-inc/document-model-electron/issues" };
|
|
25831
25843
|
const homepage = "https://github.com/powerhouse-inc/document-model-electron#readme";
|
|
25832
25844
|
const scripts = { "build:tsc": "tsc --build", "start": "electron-forge start", "package": "electron-forge package", "make": "PH_CONNECT_BASE_HREF=./ electron-forge make", "make:mac": "PH_CONNECT_BASE_HREF=./ electron-forge make -p darwin", "make:linux": "PH_CONNECT_BASE_HREF=./ electron-forge make -p linux", "make:windows": "PH_CONNECT_BASE_HREF=./ electron-forge make -p win32", "publish:electron": "electron-forge publish", "prepublishOnly": "npm run build", "lint": "eslint .", "lint:fix": "eslint --fix .", "lint:nx": "eslint --quiet --fix .", "format": 'prettier --write "**/*.+(js|ts|jsx|tsx|json)"', "dev": "vite -c vite.renderer.config.mts", "dev:nocache": "rm -rf node_modules/.vite && rm -rf node_modules/.cache && npm run dev", "prebuild": "tsc --build --noEmit", "build": "NODE_OPTIONS=--max-old-space-size=6144 vite build -c vite.renderer.config.mts", "preview:web": "vite preview -c vite.renderer.config.mts", "e2e": "playwright test", "cy:open": "cypress open", "build:service-worker": "tsc --build ./tsconfig.sw.json", "clean": "rimraf dist", "clean:node_modules": "rimraf node_modules" };
|
|
25833
|
-
const devDependencies = { "@electron-forge/cli": "^6.1.1", "@electron-forge/maker-deb": "^6.1.1", "@electron-forge/maker-rpm": "^6.1.1", "@electron-forge/maker-squirrel": "^6.1.1", "@electron-forge/maker-zip": "^6.1.1", "@electron-forge/plugin-vite": "^6.1.1", "@electron-forge/publisher-electron-release-server": "^6.2.1", "@electron-forge/publisher-github": "^7.2.0", "@electron-forge/shared-types": "^7.7.0", "@playwright/test": "^1.41.2", "@powerhousedao/builder-tools": "workspace:*", "@powerhousedao/common": "workspace:*", "@powerhousedao/config": "workspace:*", "@powerhousedao/design-system": "workspace:*", "@powerhousedao/reactor-browser": "workspace:*", "@powerhousedao/scalars": "workspace:*", "@rollup/plugin-node-resolve": "^15.2.3", "@sentry/browser": "^9.1.0", "@sentry/react": "^7.109.0", "@sentry/vite-plugin": "^2.
|
|
25845
|
+
const devDependencies = { "@electron-forge/cli": "^6.1.1", "@electron-forge/maker-deb": "^6.1.1", "@electron-forge/maker-rpm": "^6.1.1", "@electron-forge/maker-squirrel": "^6.1.1", "@electron-forge/maker-zip": "^6.1.1", "@electron-forge/plugin-vite": "^6.1.1", "@electron-forge/publisher-electron-release-server": "^6.2.1", "@electron-forge/publisher-github": "^7.2.0", "@electron-forge/shared-types": "^7.7.0", "@playwright/test": "^1.41.2", "@powerhousedao/builder-tools": "workspace:*", "@powerhousedao/common": "workspace:*", "@powerhousedao/config": "workspace:*", "@powerhousedao/design-system": "workspace:*", "@powerhousedao/reactor-browser": "workspace:*", "@powerhousedao/scalars": "workspace:*", "@rollup/plugin-node-resolve": "^15.2.3", "@sentry/browser": "^9.1.0", "@sentry/react": "^7.109.0", "@sentry/vite-plugin": "^2.23.0", "@tailwindcss/vite": "^4.1.4", "@tanstack/react-virtual": "^3.8.1", "@types/node": "^22.13.10", "@types/react": "^18.2.79", "@types/react-dom": "^18.2.18", "@types/uuid": "^9.0.7", "@types/wicg-file-system-access": "^2020.9.6", "@vitejs/plugin-basic-ssl": "^2.0.0", "@vitejs/plugin-react": "^4.4.1", "asar": "^3.2.0", "did-key-creator": "^1.2.0", "document-drive": "workspace:*", "document-model": "workspace:*", "electron": "30.0.0", "electron-is-dev": "^3.0.1", "electron-playwright-helpers": "^1.7.1", "electron-squirrel-startup": "^1.0.0", "electron-store": "^8.1.0", "esbuild": "^0.24.0", "graphql": "^16.8.1", "graphql-request": "^6.1.0", "i18next": "^23.7.6", "jotai": "^2.1.0", "jotai-effect": "^1.1.6", "localforage": "^1.10.0", "lz-string": "^1.5.0", "playwright": "^1.41.2", "playwright-core": "^1.41.2", "react": "^18.2.0", "react-dom": "^18.2.0", "react-error-boundary": "^4.0.11", "react-hotkeys-hook": "^4.5.0", "react-i18next": "^13.5.0", "react-router-dom": "^6.11.2", "tailwind-merge": "^3.0.2", "tailwindcss": "^4.1.4", "uuid": "^9.0.1", "viem": "^2.8.13", "vite": "^6.3.3", "vite-envs": "^4.6.0", "vite-plugin-html": "^3.2.2", "vite-plugin-node-polyfills": "^0.23.0", "vite-plugin-svgr": "^4.3.0", "vite-tsconfig-paths": "^5.1.4", "xvfb-maybe": "^0.2.1" };
|
|
25834
25846
|
const optionalDependencies = { "@esbuild/linux-x64": "^0.21.4", "@rollup/rollup-linux-x64-musl": "4.14.3" };
|
|
25835
25847
|
const packageJson = {
|
|
25836
25848
|
name,
|
|
@@ -31442,7 +31454,7 @@ if (window.__VITE_ENVS.MODE === "development") {
|
|
|
31442
31454
|
} else {
|
|
31443
31455
|
serviceWorkerManager.registerServiceWorker(false);
|
|
31444
31456
|
}
|
|
31445
|
-
const App = lazy(() => __vitePreload(() => import("./app-
|
|
31457
|
+
const App = lazy(() => __vitePreload(() => import("./app-DcywiNjF.js").then((n) => n.a_), true ? __vite__mapDeps([0,1,2]) : void 0));
|
|
31446
31458
|
const AppLoader = /* @__PURE__ */ jsx(Suspense, { children: /* @__PURE__ */ jsx(App, {}) });
|
|
31447
31459
|
const appLoader = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
31448
31460
|
__proto__: null,
|
|
@@ -31543,7 +31555,7 @@ export {
|
|
|
31543
31555
|
updateNode as ay,
|
|
31544
31556
|
FILE as az,
|
|
31545
31557
|
SetStateSchemaInputSchema as b,
|
|
31546
|
-
|
|
31558
|
+
TypeNameMetaFieldDef as b$,
|
|
31547
31559
|
RENAME as b0,
|
|
31548
31560
|
WRITE as b1,
|
|
31549
31561
|
DUPLICATE as b2,
|
|
@@ -31554,33 +31566,33 @@ export {
|
|
|
31554
31566
|
generateId as b7,
|
|
31555
31567
|
undo as b8,
|
|
31556
31568
|
redo as b9,
|
|
31557
|
-
|
|
31558
|
-
|
|
31559
|
-
|
|
31560
|
-
|
|
31561
|
-
|
|
31569
|
+
GraphQLInt as bA,
|
|
31570
|
+
GraphQLDirective as bB,
|
|
31571
|
+
GraphQLObjectType as bC,
|
|
31572
|
+
GraphQLInterfaceType as bD,
|
|
31573
|
+
GraphQLUnionType as bE,
|
|
31562
31574
|
GraphQLInputObjectType as bF,
|
|
31563
|
-
|
|
31564
|
-
|
|
31565
|
-
|
|
31566
|
-
|
|
31567
|
-
|
|
31568
|
-
|
|
31569
|
-
|
|
31570
|
-
|
|
31571
|
-
|
|
31572
|
-
|
|
31573
|
-
|
|
31574
|
-
|
|
31575
|
-
|
|
31576
|
-
|
|
31577
|
-
|
|
31578
|
-
|
|
31579
|
-
|
|
31580
|
-
|
|
31581
|
-
|
|
31582
|
-
|
|
31583
|
-
|
|
31575
|
+
GraphQLEnumType as bG,
|
|
31576
|
+
isListType as bH,
|
|
31577
|
+
GraphQLList as bI,
|
|
31578
|
+
isNonNullType as bJ,
|
|
31579
|
+
GraphQLNonNull as bK,
|
|
31580
|
+
isNamedType as bL,
|
|
31581
|
+
getNullableType as bM,
|
|
31582
|
+
isLeafType as bN,
|
|
31583
|
+
GraphQLSchema as bO,
|
|
31584
|
+
buildSchema as bP,
|
|
31585
|
+
buildASTSchema as bQ,
|
|
31586
|
+
parse as bR,
|
|
31587
|
+
validate as bS,
|
|
31588
|
+
visit as bT,
|
|
31589
|
+
extendSchema as bU,
|
|
31590
|
+
snakeCase as bV,
|
|
31591
|
+
constantCase as bW,
|
|
31592
|
+
isAbstractType as bX,
|
|
31593
|
+
BREAK as bY,
|
|
31594
|
+
SchemaMetaFieldDef as bZ,
|
|
31595
|
+
TypeMetaFieldDef as b_,
|
|
31584
31596
|
useDocumentDispatch as ba,
|
|
31585
31597
|
inspect as bb,
|
|
31586
31598
|
GraphQLError as bc,
|
|
@@ -31602,21 +31614,21 @@ export {
|
|
|
31602
31614
|
isIntrospectionType as bs,
|
|
31603
31615
|
z as bt,
|
|
31604
31616
|
GraphQLScalarType as bu,
|
|
31605
|
-
|
|
31606
|
-
|
|
31607
|
-
|
|
31608
|
-
|
|
31609
|
-
|
|
31617
|
+
specifiedRules as bv,
|
|
31618
|
+
GraphQLID as bw,
|
|
31619
|
+
GraphQLBoolean as bx,
|
|
31620
|
+
GraphQLString as by,
|
|
31621
|
+
GraphQLFloat as bz,
|
|
31610
31622
|
createAction as c,
|
|
31611
|
-
|
|
31612
|
-
|
|
31613
|
-
|
|
31614
|
-
|
|
31615
|
-
|
|
31616
|
-
|
|
31617
|
-
|
|
31618
|
-
|
|
31619
|
-
|
|
31623
|
+
isCompositeType as c0,
|
|
31624
|
+
isOutputType as c1,
|
|
31625
|
+
isInputType as c2,
|
|
31626
|
+
assertAbstractType as c3,
|
|
31627
|
+
doTypesOverlap as c4,
|
|
31628
|
+
DirectiveLocation as c5,
|
|
31629
|
+
NoUnusedFragmentsRule as c6,
|
|
31630
|
+
ExecutableDefinitionsRule as c7,
|
|
31631
|
+
validateSchema as c8,
|
|
31620
31632
|
sentenceCase as c9,
|
|
31621
31633
|
appLoader as ca,
|
|
31622
31634
|
ReorderModuleOperationsInputSchema as d,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { aO as BaseError, aP as getUrl, aQ as stringify, aR as decodeErrorResult, aS as isAddressEqual, aT as
|
|
2
|
-
import "./main.
|
|
1
|
+
import { aO as BaseError, aP as getUrl, aQ as stringify, aR as decodeErrorResult, aS as isAddressEqual, aT as localBatchGatewayUrl, aU as localBatchGatewayRequest, aV as call, aW as concat, aX as encodeAbiParameters, aY as HttpRequestError, aZ as isHex } from "./app-DcywiNjF.js";
|
|
2
|
+
import "./main.CgZm8DDG.js";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
|
-
import "./app-loader-
|
|
4
|
+
import "./app-loader-DTsRstTc.js";
|
|
5
5
|
import "react";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
class OffchainLookupError extends BaseError {
|
|
@@ -86,7 +86,10 @@ async function offchainLookup(client, { blockNumber, blockTag, data, to }) {
|
|
|
86
86
|
try {
|
|
87
87
|
if (!isAddressEqual(to, sender))
|
|
88
88
|
throw new OffchainLookupSenderMismatchError({ sender, to });
|
|
89
|
-
const result = await
|
|
89
|
+
const result = urls.includes(localBatchGatewayUrl) ? await localBatchGatewayRequest({
|
|
90
|
+
data: callData,
|
|
91
|
+
ccipRequest: ccipRequest_
|
|
92
|
+
}) : await ccipRequest_({ data: callData, sender, urls });
|
|
90
93
|
const { data: data_ } = await call(client, {
|
|
91
94
|
blockNumber,
|
|
92
95
|
blockTag,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment as Fragment$1 } from "react/jsx-runtime";
|
|
2
|
-
import { t as twMerge, B as Button, m as mergeClassNameProps, E as ERROR, M as MISSING, C as CONFLICT, S as SUCCESS, k as SYNCING, I as INITIAL_SYNC, l as ConnectDropdownMenu, u as useOnClickOutside, n as useEventListener, o as useCopyToClipboard, p as Select, q as ENSAvatar, P as Provider, v as Root3, T as Trigger, w as Portal, x as Content2, y as validateInitialState, z as validateStateSchemaName, A as validateModules, D as useDocumentDrives, F as useUiNodesContext, G as useDriveContext, H as FILE$1, J as useUnwrappedReactor, K as useConnectDid, L as useConnectCrypto, N as useTranslation, O as useModal, Q as useAtomValue, U as themeAtom, V as useUser, W as useUserPermissions$1, X as useUiNodes, Y as exportFile, Z as useGetDocumentModelModule, _ as addActionContext$1, $ as signOperation$1, a0 as useDocumentDriveServer, a1 as useHotkeys, a2 as useGetEditor, a3 as isSameDocument, a4 as useNavigate, a5 as ErrorBoundary, a6 as DriveLayout, a7 as DriveContextProvider, a8 as SearchBar, a9 as useAsyncReactor, aa as useFilteredDocumentModels, ab as useDriveEditor, ac as useDocumentDriveById, ad as useParams, ae as useDocumentDrives$1, af as toast } from "./app-
|
|
2
|
+
import { t as twMerge, B as Button, m as mergeClassNameProps, E as ERROR, M as MISSING, C as CONFLICT, S as SUCCESS, k as SYNCING, I as INITIAL_SYNC, l as ConnectDropdownMenu, u as useOnClickOutside, n as useEventListener, o as useCopyToClipboard, p as Select, q as ENSAvatar, P as Provider, v as Root3, T as Trigger, w as Portal, x as Content2, y as validateInitialState, z as validateStateSchemaName, A as validateModules, D as useDocumentDrives, F as useUiNodesContext, G as useDriveContext, H as FILE$1, J as useUnwrappedReactor, K as useConnectDid, L as useConnectCrypto, N as useTranslation, O as useModal, Q as useAtomValue, U as themeAtom, V as useUser, W as useUserPermissions$1, X as useUiNodes, Y as exportFile, Z as useGetDocumentModelModule, _ as addActionContext$1, $ as signOperation$1, a0 as useDocumentDriveServer, a1 as useHotkeys, a2 as useGetEditor, a3 as isSameDocument, a4 as useNavigate, a5 as ErrorBoundary, a6 as DriveLayout, a7 as DriveContextProvider, a8 as SearchBar, a9 as useAsyncReactor, aa as useFilteredDocumentModels, ab as useDriveEditor, ac as useDocumentDriveById, ad as useParams, ae as useDocumentDrives$1, af as toast } from "./app-DcywiNjF.js";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import React__default, { useState, useCallback, useMemo, useEffect, Fragment, useRef, useLayoutEffect, memo as memo$1, createElement, useSyncExternalStore, Suspense } from "react";
|
|
5
|
-
import { _ as Icon, aX as getDimensions, aY as READ, aZ as nodeOptionsMap, a_ as defaultFileOptions, a$ as DELETE, b0 as RENAME, b1 as WRITE, b2 as DUPLICATE, b3 as defaultFolderOptions, b4 as garbageCollect, b5 as sortOperations, b6 as UI_NODE, aP as DRIVE, az as FILE, ae as buildSignedOperation, b7 as generateId$1, aw as isFolderNode, aB as generateNodesCopy, aC as copyNode, aA as moveNode, ay as updateNode, ax as deleteNode, ar as generateAddNodeAction, as as isFileNode, av as addFolder, b8 as undo, b9 as redo, ac as logger, ba as useDocumentDispatch$1, aQ as FOLDER, al as driveDocumentModelModule } from "./app-loader-
|
|
5
|
+
import { _ as Icon, aX as getDimensions, aY as READ, aZ as nodeOptionsMap, a_ as defaultFileOptions, a$ as DELETE, b0 as RENAME, b1 as WRITE, b2 as DUPLICATE, b3 as defaultFolderOptions, b4 as garbageCollect, b5 as sortOperations, b6 as UI_NODE, aP as DRIVE, az as FILE, ae as buildSignedOperation, b7 as generateId$1, aw as isFolderNode, aB as generateNodesCopy, aC as copyNode, aA as moveNode, ay as updateNode, ax as deleteNode, ar as generateAddNodeAction, as as isFileNode, av as addFolder, b8 as undo, b9 as redo, ac as logger, ba as useDocumentDispatch$1, aQ as FOLDER, al as driveDocumentModelModule } from "./app-loader-DTsRstTc.js";
|
|
6
6
|
import { flushSync } from "react-dom";
|
|
7
|
-
import "./main.
|
|
7
|
+
import "./main.CgZm8DDG.js";
|
|
8
8
|
const PaginationButton = ({ active = false, ...props }) => {
|
|
9
9
|
const className = twMerge("h-8 min-w-8 border border-solid border-gray-300 bg-white px-3 py-1 text-xs text-gray-900 hover:bg-gray-100", !active && "border-0");
|
|
10
10
|
return jsx(Button, { color: "light", size: "small", ...mergeClassNameProps(props, className), children: props.children });
|
|
@@ -2516,7 +2516,7 @@ class Virtualizer {
|
|
|
2516
2516
|
} else {
|
|
2517
2517
|
const endByLane = Array(this.options.lanes).fill(null);
|
|
2518
2518
|
let endIndex = measurements.length - 1;
|
|
2519
|
-
while (endIndex
|
|
2519
|
+
while (endIndex >= 0 && endByLane.some((val) => val === null)) {
|
|
2520
2520
|
const item = measurements[endIndex];
|
|
2521
2521
|
if (endByLane[item.lane] === null) {
|
|
2522
2522
|
endByLane[item.lane] = item.end;
|
|
@@ -2594,7 +2594,7 @@ function calculateRange({
|
|
|
2594
2594
|
endIndex++;
|
|
2595
2595
|
}
|
|
2596
2596
|
const startPerLane = Array(lanes).fill(scrollOffset + outerSize);
|
|
2597
|
-
while (startIndex
|
|
2597
|
+
while (startIndex >= 0 && startPerLane.some((pos) => pos >= scrollOffset)) {
|
|
2598
2598
|
const item = measurements[startIndex];
|
|
2599
2599
|
startPerLane[item.lane] = item.start;
|
|
2600
2600
|
startIndex--;
|
|
@@ -10,10 +10,10 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
|
|
|
10
10
|
var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
|
|
11
11
|
var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
|
|
12
12
|
var _DB_NAME, _STORE_NAME, _KEY, _db, _BrowserKeyStorage_instances, useStore_fn, _subtleCrypto, _keyPair, _keyPairStorage, _did, _ConnectCrypto_instances, initCrypto_fn, initialize_fn, parseDid_fn, generateECDSAKeyPair_fn, exportKeyPair_fn, importKeyPair_fn, _sign, _verify, _store, _namespace, _BaseStorage_instances, buildKey_fn, _baseUrl, _store2, _connectId, _eventEmitter, _Renown_instances, updateUser_fn, getCredential_fn;
|
|
13
|
-
import { _ as __vitePreload } from "./main.
|
|
14
|
-
import { r as rawKeyInHexfromUncompressed, c as compressedKeyInHexfromRaw, e as encodeDIDfromHexString, a as eventsExports, R as RENOWN_URL, g as getEnsInfo } from "./app-
|
|
15
|
-
import { i, h, d, j, b, f, s } from "./app-
|
|
16
|
-
import { ah as connectConfig, ac as logger } from "./app-loader-
|
|
13
|
+
import { _ as __vitePreload } from "./main.CgZm8DDG.js";
|
|
14
|
+
import { r as rawKeyInHexfromUncompressed, c as compressedKeyInHexfromRaw, e as encodeDIDfromHexString, a as eventsExports, R as RENOWN_URL, g as getEnsInfo } from "./app-DcywiNjF.js";
|
|
15
|
+
import { i, h, d, j, b, f, s } from "./app-DcywiNjF.js";
|
|
16
|
+
import { ah as connectConfig, ac as logger } from "./app-loader-DTsRstTc.js";
|
|
17
17
|
import "react/jsx-runtime";
|
|
18
18
|
import "react";
|
|
19
19
|
import "react-dom";
|