@powerhousedao/connect 1.0.0-dev.242 → 1.0.0-dev.244
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-BM-1MvIW.css → app-D3TxLTK-.css} +1 -1
- package/dist/assets/{app-BLkIfmVO.js → app-DR3WlBLu.js} +9 -9
- package/dist/assets/{app-loader-BGyOo0Bz.js → app-loader-CXe8k3Z6.js} +23 -16
- package/dist/assets/{ccip-DEZha79k.js → ccip-DqQzZGts.js} +3 -3
- package/dist/assets/{content-CDGpP4wk.js → content-C4uS9aKJ.js} +3 -3
- package/dist/assets/{index-DMGtXRep.js → index-BSwHlrXw.js} +4 -4
- package/dist/assets/{index-DNzCaCRw.js → index-DXnKAS5B.js} +3 -3
- package/dist/assets/{index-BwqI7XFt.js → index-Ka_SdIs9.js} +3 -3
- package/dist/assets/{main.D8uj0g8b.js → main.CwbMf_Nf.js} +1 -1
- package/dist/index.html +1 -1
- package/dist/modules/@powerhousedao/reactor-browser/{chunk-JEDWG5AH.js → chunk-4LZZ55AN.js} +1 -1
- package/dist/modules/@powerhousedao/reactor-browser/{chunk-YEIWJWUR.js → chunk-6AXML2S3.js} +1 -1
- package/dist/modules/@powerhousedao/reactor-browser/{chunk-UJU4RHH3.js → chunk-P46ZMPJ3.js} +1 -1
- package/dist/modules/@powerhousedao/reactor-browser/{chunk-SHKY62YH.js → chunk-POMUCSTC.js} +10 -6
- package/dist/modules/@powerhousedao/reactor-browser/{chunk-DO4ZK6HR.js → chunk-YOX3ZAET.js} +9 -6
- package/dist/modules/@powerhousedao/reactor-browser/context/index.js +2 -2
- package/dist/modules/@powerhousedao/reactor-browser/context/read-mode.js +2 -2
- package/dist/modules/@powerhousedao/reactor-browser/hooks/index.js +3 -3
- package/dist/modules/@powerhousedao/reactor-browser/hooks/useDriveActions.js +2 -2
- package/dist/modules/@powerhousedao/reactor-browser/hooks/useDriveActionsWithUiNodes.js +3 -3
- package/dist/modules/@powerhousedao/reactor-browser/index.js +5 -5
- package/dist/modules/@powerhousedao/reactor-browser/reactor.js +2 -2
- package/dist/vite-envs.sh +1 -1
- package/package.json +8 -9
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ccip-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ccip-DqQzZGts.js","assets/main.CwbMf_Nf.js","assets/app-loader-CXe8k3Z6.js","assets/app-loader-CjrEwupY.css","assets/index-Ka_SdIs9.js","assets/style-D4JhTt_m.css","assets/index-BSwHlrXw.js","assets/content-C4uS9aKJ.js"])))=>i.map(i=>d[i]);
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __typeError = (msg) => {
|
|
4
4
|
throw TypeError(msg);
|
|
@@ -19,9 +19,9 @@ var __privateWrapper = (obj, member, setter, getter) => ({
|
|
|
19
19
|
}
|
|
20
20
|
});
|
|
21
21
|
var _focused, _cleanup, _setup, _a, _online, _cleanup2, _setup2, _b, _gcTimeout, _c, _initialState, _revertState, _cache, _client, _retryer, _defaultOptions, _abortSignalConsumed, _Query_instances, dispatch_fn, _d, _queries, _e2, _observers, _mutationCache, _retryer2, _Mutation_instances, dispatch_fn2, _f, _mutations, _scopes, _mutationId, _g, _queryCache, _mutationCache2, _defaultOptions2, _queryDefaults, _mutationDefaults, _mountCount, _unsubscribeFocus, _unsubscribeOnline, _h, _client2, _currentQuery, _currentQueryInitialState, _currentResult, _currentResultState, _currentResultOptions, _currentThenable, _selectError, _selectFn, _selectResult, _lastQueryWithDefinedData, _staleTimeoutId, _refetchIntervalId, _currentRefetchInterval, _trackedProps, _QueryObserver_instances, executeFetch_fn, updateStaleTimeout_fn, computeRefetchInterval_fn, updateRefetchInterval_fn, updateTimers_fn, clearStaleTimeout_fn, clearRefetchInterval_fn, updateQuery_fn, notify_fn, _i;
|
|
22
|
-
import { _ as __vitePreload } from "./main.
|
|
22
|
+
import { _ as __vitePreload } from "./main.CwbMf_Nf.js";
|
|
23
23
|
import { jsx as jsx$1, Fragment, jsxs } from "react/jsx-runtime";
|
|
24
|
-
import { c as createAction, a as createReducer, i as isDocumentAction, R as ReorderStateExamplesInputSchema, D as DeleteStateExampleInputSchema, U as UpdateStateExampleInputSchema, A as AddStateExampleInputSchema, S as SetInitialStateInputSchema, b as SetStateSchemaInputSchema, d as ReorderModuleOperationsInputSchema, e as DeleteOperationInputSchema, M as MoveOperationInputSchema, f as SetOperationReducerInputSchema, g as SetOperationTemplateInputSchema, h as SetOperationDescriptionInputSchema, j as SetOperationSchemaInputSchema, k as SetOperationScopeInputSchema, l as SetOperationNameInputSchema, m as AddOperationInputSchema, n as ReorderOperationExamplesInputSchema, o as DeleteOperationExampleInputSchema, p as UpdateOperationExampleInputSchema, q as AddOperationExampleInputSchema, r as ReorderOperationErrorsInputSchema, s as DeleteOperationErrorInputSchema, t as SetOperationErrorTemplateInputSchema, u as SetOperationErrorDescriptionInputSchema, v as SetOperationErrorNameInputSchema, w as SetOperationErrorCodeInputSchema, x as AddOperationErrorInputSchema, y as ReorderModulesInputSchema, z as DeleteModuleInputSchema, B as SetModuleDescriptionInputSchema, C as SetModuleNameInputSchema, E as AddModuleInputSchema, F as ReorderChangeLogItemsInputSchema, G as DeleteChangeLogItemInputSchema, H as UpdateChangeLogItemInputSchema, I as AddChangeLogItemInputSchema, J as SetAuthorWebsiteInputSchema, K as SetAuthorNameInputSchema, L as SetModelDescriptionInputSchema, N as SetModelExtensionInputSchema, O as SetModelIdInputSchema, P as SetModelNameInputSchema, Q as baseCreateExtendedState, T as baseCreateDocument, V as baseSaveToFile, W as baseSaveToFileHandle, X as baseLoadFromFile, Y as baseLoadFromInput, Z as pascalCase, _ as Icon, $ as getDefaultExportFromCjs, a0 as LOCAL, a1 as commonjsGlobal, a2 as PUBLIC, a3 as SWITCHBOARD, a4 as locationInfoByLocation, a5 as sharingTypeOptions, a6 as objectType, a7 as recordType, a8 as stringType, a9 as capitalCase, aa as CLOUD, ab as createZip, ac as logger$1, ad as LZString, ae as buildSignedOperation, af as getI18n, ag as getDefaults, ah as connectConfig, ai as hashDocumentStateForScope, aj as setErrorHandler, ak as driveDocumentModelModule, al as createBrowserDocumentDriveServer, am as hashKey$1, an as childLogger, ao as reducer$8, ap as isDocumentDrive, aq as generateAddNodeAction, ar as isFileNode, as as uploadDocumentOperations, at as updateFile, au as addFolder, av as isFolderNode, aw as deleteNode, ax as updateNode, ay as FILE, az as moveNode, aA as generateNodesCopy, aB as copyNode, aC as createState$1, aD as setDriveName, aE as setAvailableOffline, aF as setSharingType, aG as SynchronizationUnitNotFoundError, aH as removeTrigger, aI as generateUUID, aJ as PullResponderTransmitter, aK as addTrigger, aL as ReadDriveNotFoundError, aM as openUrl, aN as getNodeOptions, aO as DRIVE, aP as FOLDER, aQ as requestPublicDrive, aR as serviceWorkerManager, aS as packageJson, aT as t$1, aU as gql, aV as request } from "./app-loader-
|
|
24
|
+
import { c as createAction, a as createReducer, i as isDocumentAction, R as ReorderStateExamplesInputSchema, D as DeleteStateExampleInputSchema, U as UpdateStateExampleInputSchema, A as AddStateExampleInputSchema, S as SetInitialStateInputSchema, b as SetStateSchemaInputSchema, d as ReorderModuleOperationsInputSchema, e as DeleteOperationInputSchema, M as MoveOperationInputSchema, f as SetOperationReducerInputSchema, g as SetOperationTemplateInputSchema, h as SetOperationDescriptionInputSchema, j as SetOperationSchemaInputSchema, k as SetOperationScopeInputSchema, l as SetOperationNameInputSchema, m as AddOperationInputSchema, n as ReorderOperationExamplesInputSchema, o as DeleteOperationExampleInputSchema, p as UpdateOperationExampleInputSchema, q as AddOperationExampleInputSchema, r as ReorderOperationErrorsInputSchema, s as DeleteOperationErrorInputSchema, t as SetOperationErrorTemplateInputSchema, u as SetOperationErrorDescriptionInputSchema, v as SetOperationErrorNameInputSchema, w as SetOperationErrorCodeInputSchema, x as AddOperationErrorInputSchema, y as ReorderModulesInputSchema, z as DeleteModuleInputSchema, B as SetModuleDescriptionInputSchema, C as SetModuleNameInputSchema, E as AddModuleInputSchema, F as ReorderChangeLogItemsInputSchema, G as DeleteChangeLogItemInputSchema, H as UpdateChangeLogItemInputSchema, I as AddChangeLogItemInputSchema, J as SetAuthorWebsiteInputSchema, K as SetAuthorNameInputSchema, L as SetModelDescriptionInputSchema, N as SetModelExtensionInputSchema, O as SetModelIdInputSchema, P as SetModelNameInputSchema, Q as baseCreateExtendedState, T as baseCreateDocument, V as baseSaveToFile, W as baseSaveToFileHandle, X as baseLoadFromFile, Y as baseLoadFromInput, Z as pascalCase, _ as Icon, $ as getDefaultExportFromCjs, a0 as LOCAL, a1 as commonjsGlobal, a2 as PUBLIC, a3 as SWITCHBOARD, a4 as locationInfoByLocation, a5 as sharingTypeOptions, a6 as objectType, a7 as recordType, a8 as stringType, a9 as capitalCase, aa as CLOUD, ab as createZip, ac as logger$1, ad as LZString, ae as buildSignedOperation, af as getI18n, ag as getDefaults, ah as connectConfig, ai as hashDocumentStateForScope, aj as setErrorHandler, ak as driveDocumentModelModule, al as createBrowserDocumentDriveServer, am as hashKey$1, an as childLogger, ao as reducer$8, ap as isDocumentDrive, aq as generateAddNodeAction, ar as isFileNode, as as uploadDocumentOperations, at as updateFile, au as addFolder, av as isFolderNode, aw as deleteNode, ax as updateNode, ay as FILE, az as moveNode, aA as generateNodesCopy, aB as copyNode, aC as createState$1, aD as setDriveName, aE as setAvailableOffline, aF as setSharingType, aG as SynchronizationUnitNotFoundError, aH as removeTrigger, aI as generateUUID, aJ as PullResponderTransmitter, aK as addTrigger, aL as ReadDriveNotFoundError, aM as openUrl, aN as getNodeOptions, aO as DRIVE, aP as FOLDER, aQ as requestPublicDrive, aR as serviceWorkerManager, aS as packageJson, aT as t$1, aU as gql, aV as request } from "./app-loader-CXe8k3Z6.js";
|
|
25
25
|
import * as React from "react";
|
|
26
26
|
import React__default, { useLayoutEffect, useEffect, useState, forwardRef, useRef, useCallback, useContext, useMemo, createContext, Component, Fragment as Fragment$1, createElement, useSyncExternalStore, useId as useId$1, isValidElement, cloneElement, Children, useReducer, useDebugValue, Suspense } from "react";
|
|
27
27
|
import "@powerhousedao/reactor-browser";
|
|
@@ -20571,7 +20571,7 @@ async function call(client2, args) {
|
|
|
20571
20571
|
} catch (err) {
|
|
20572
20572
|
const data2 = getRevertErrorData(err);
|
|
20573
20573
|
const { offchainLookup, offchainLookupSignature } = await __vitePreload(async () => {
|
|
20574
|
-
const { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 } = await import("./ccip-
|
|
20574
|
+
const { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 } = await import("./ccip-DqQzZGts.js");
|
|
20575
20575
|
return { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 };
|
|
20576
20576
|
}, true ? __vite__mapDeps([0,1,2,3]) : void 0);
|
|
20577
20577
|
if (client2.ccipRead !== false && (data2 == null ? void 0 : data2.slice(0, 10)) === offchainLookupSignature && to)
|
|
@@ -70623,7 +70623,7 @@ const useFilteredDocumentModels = () => {
|
|
|
70623
70623
|
};
|
|
70624
70624
|
const LOCAL_DOCUMENT_EDITORS = window.__VITE_ENVS.LOCAL_DOCUMENT_EDITORS;
|
|
70625
70625
|
async function loadBaseEditors() {
|
|
70626
|
-
const documentModelEditor = await __vitePreload(() => import("./index-
|
|
70626
|
+
const documentModelEditor = await __vitePreload(() => import("./index-Ka_SdIs9.js"), true ? __vite__mapDeps([4,2,1,3]) : void 0);
|
|
70627
70627
|
await __vitePreload(() => Promise.resolve({}), true ? __vite__mapDeps([5]) : void 0);
|
|
70628
70628
|
const module = documentModelEditor.documentModelEditorModule;
|
|
70629
70629
|
return [module];
|
|
@@ -70789,11 +70789,11 @@ const connectCrypto = (async () => {
|
|
|
70789
70789
|
return window.connectCrypto;
|
|
70790
70790
|
}
|
|
70791
70791
|
const { ConnectCrypto } = await __vitePreload(async () => {
|
|
70792
|
-
const { ConnectCrypto: ConnectCrypto2 } = await import("./index-
|
|
70792
|
+
const { ConnectCrypto: ConnectCrypto2 } = await import("./index-BSwHlrXw.js");
|
|
70793
70793
|
return { ConnectCrypto: ConnectCrypto2 };
|
|
70794
70794
|
}, true ? __vite__mapDeps([6,1,2,3]) : void 0);
|
|
70795
70795
|
const { BrowserKeyStorage } = await __vitePreload(async () => {
|
|
70796
|
-
const { BrowserKeyStorage: BrowserKeyStorage2 } = await import("./index-
|
|
70796
|
+
const { BrowserKeyStorage: BrowserKeyStorage2 } = await import("./index-BSwHlrXw.js");
|
|
70797
70797
|
return { BrowserKeyStorage: BrowserKeyStorage2 };
|
|
70798
70798
|
}, true ? __vite__mapDeps([6,1,2,3]) : void 0);
|
|
70799
70799
|
const connectCrypto2 = new ConnectCrypto(new BrowserKeyStorage());
|
|
@@ -70842,7 +70842,7 @@ function useRenown() {
|
|
|
70842
70842
|
return;
|
|
70843
70843
|
}
|
|
70844
70844
|
const { initRenownBrowser } = await __vitePreload(async () => {
|
|
70845
|
-
const { initRenownBrowser: initRenownBrowser2 } = await import("./index-
|
|
70845
|
+
const { initRenownBrowser: initRenownBrowser2 } = await import("./index-BSwHlrXw.js");
|
|
70846
70846
|
return { initRenownBrowser: initRenownBrowser2 };
|
|
70847
70847
|
}, true ? __vite__mapDeps([6,1,2,3]) : void 0);
|
|
70848
70848
|
const renownBrowser = initRenownBrowser(did2);
|
|
@@ -79163,7 +79163,7 @@ function Home() {
|
|
|
79163
79163
|
/* @__PURE__ */ jsx$1(HomeScreenAddDriveItem, { onClick: onAddDriveClick })
|
|
79164
79164
|
] });
|
|
79165
79165
|
}
|
|
79166
|
-
const Content = React__default.lazy(() => __vitePreload(() => import("./content-
|
|
79166
|
+
const Content = React__default.lazy(() => __vitePreload(() => import("./content-C4uS9aKJ.js"), true ? __vite__mapDeps([7,2,1,3]) : void 0));
|
|
79167
79167
|
async function createRouter(routes) {
|
|
79168
79168
|
var _a2;
|
|
79169
79169
|
const isPackaged = await ((_a2 = window.electronAPI) == null ? void 0 : _a2.isPackaged());
|
|
@@ -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-DR3WlBLu.js","assets/main.CwbMf_Nf.js","assets/app-D3TxLTK-.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.CwbMf_Nf.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) {
|
|
@@ -23807,6 +23807,13 @@ class MemoryStorage {
|
|
|
23807
23807
|
this.documents[documentId] = document;
|
|
23808
23808
|
return Promise.resolve();
|
|
23809
23809
|
}
|
|
23810
|
+
get(documentId) {
|
|
23811
|
+
const document = this.documents[documentId];
|
|
23812
|
+
if (!document) {
|
|
23813
|
+
throw new Error(`Document with id ${documentId} not found`);
|
|
23814
|
+
}
|
|
23815
|
+
return Promise.resolve(document);
|
|
23816
|
+
}
|
|
23810
23817
|
////////////////////////////////
|
|
23811
23818
|
// IDriveStorage
|
|
23812
23819
|
////////////////////////////////
|
|
@@ -23817,12 +23824,8 @@ class MemoryStorage {
|
|
|
23817
23824
|
const manifest = this.getDriveManifest(drive);
|
|
23818
23825
|
return Promise.resolve([...manifest.documentIds]);
|
|
23819
23826
|
}
|
|
23820
|
-
|
|
23821
|
-
|
|
23822
|
-
if (!document) {
|
|
23823
|
-
throw new Error(`Document with id ${id} not found`);
|
|
23824
|
-
}
|
|
23825
|
-
return document;
|
|
23827
|
+
getDocument(driveId, id) {
|
|
23828
|
+
return this.get(id);
|
|
23826
23829
|
}
|
|
23827
23830
|
async saveDocument(drive, id, document) {
|
|
23828
23831
|
this.documents[id] = document;
|
|
@@ -25542,7 +25545,7 @@ const nodeOptionsMap = {
|
|
|
25542
25545
|
};
|
|
25543
25546
|
const name = "@powerhousedao/connect";
|
|
25544
25547
|
const productName = "Powerhouse-Connect";
|
|
25545
|
-
const version$1 = "1.0.0-dev.
|
|
25548
|
+
const version$1 = "1.0.0-dev.244";
|
|
25546
25549
|
const description = "Powerhouse Connect";
|
|
25547
25550
|
const main = "./dist/index.html";
|
|
25548
25551
|
const type = "module";
|
|
@@ -25553,7 +25556,7 @@ const author = "acaldas@powerhouse.inc";
|
|
|
25553
25556
|
const repository = { "type": "git", "url": "git+https://github.com/powerhouse-inc/document-model-electron.git" };
|
|
25554
25557
|
const bugs = { "url": "https://github.com/powerhouse-inc/document-model-electron/issues" };
|
|
25555
25558
|
const homepage = "https://github.com/powerhouse-inc/document-model-electron#readme";
|
|
25556
|
-
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:
|
|
25559
|
+
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" };
|
|
25557
25560
|
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.22.2", "@tailwindcss/vite": "^4.0.9", "@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": "^1.2.0", "@vitejs/plugin-react": "^4.2.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.0.9", "uuid": "^9.0.1", "viem": "^2.8.13", "vite": "^6.2.2", "vite-envs": "^4.4.11", "vite-plugin-html": "^3.2.2", "vite-plugin-node-polyfills": "^0.23.0", "vite-plugin-svgr": "^4.2.0", "vite-tsconfig-paths": "^4.3.2", "xvfb-maybe": "^0.2.1" };
|
|
25558
25561
|
const optionalDependencies = { "@esbuild/linux-x64": "^0.21.4", "@rollup/rollup-linux-x64-musl": "4.14.3" };
|
|
25559
25562
|
const packageJson = {
|
|
@@ -28347,6 +28350,14 @@ const _BrowserStorage = class _BrowserStorage {
|
|
|
28347
28350
|
const db = await this.db;
|
|
28348
28351
|
await db.setItem(this.buildDocumentKey(documentId), document);
|
|
28349
28352
|
}
|
|
28353
|
+
async get(documentId) {
|
|
28354
|
+
const db = await this.db;
|
|
28355
|
+
const document = await db.getItem(this.buildDocumentKey(documentId));
|
|
28356
|
+
if (!document) {
|
|
28357
|
+
throw new Error(`Document with id ${documentId} not found`);
|
|
28358
|
+
}
|
|
28359
|
+
return document;
|
|
28360
|
+
}
|
|
28350
28361
|
////////////////////////////////
|
|
28351
28362
|
// IDriveStorage
|
|
28352
28363
|
////////////////////////////////
|
|
@@ -28367,11 +28378,7 @@ const _BrowserStorage = class _BrowserStorage {
|
|
|
28367
28378
|
return manifest.documentIds;
|
|
28368
28379
|
}
|
|
28369
28380
|
async getDocument(driveId, id) {
|
|
28370
|
-
|
|
28371
|
-
if (!document) {
|
|
28372
|
-
throw new Error(`Document with id ${id} not found`);
|
|
28373
|
-
}
|
|
28374
|
-
return document;
|
|
28381
|
+
return this.get(id);
|
|
28375
28382
|
}
|
|
28376
28383
|
async createDocument(drive, id, document) {
|
|
28377
28384
|
await this.create(id, document);
|
|
@@ -31124,7 +31131,7 @@ if (window.__VITE_ENVS.MODE === "development") {
|
|
|
31124
31131
|
} else {
|
|
31125
31132
|
serviceWorkerManager.registerServiceWorker(false);
|
|
31126
31133
|
}
|
|
31127
|
-
const App = lazy(() => __vitePreload(() => import("./app-
|
|
31134
|
+
const App = lazy(() => __vitePreload(() => import("./app-DR3WlBLu.js").then((n) => n.aN), true ? __vite__mapDeps([0,1,2]) : void 0));
|
|
31128
31135
|
const AppLoader = /* @__PURE__ */ jsx(Suspense, { children: /* @__PURE__ */ jsx(App, {}) });
|
|
31129
31136
|
const appLoader = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
31130
31137
|
__proto__: null,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { aD as BaseError, aE as getUrl, aF as stringify, aG as decodeErrorResult, aH as isAddressEqual, aI as call, aJ as concat, aK as encodeAbiParameters, aL as HttpRequestError, aM as isHex } from "./app-
|
|
2
|
-
import "./main.
|
|
1
|
+
import { aD as BaseError, aE as getUrl, aF as stringify, aG as decodeErrorResult, aH as isAddressEqual, aI as call, aJ as concat, aK as encodeAbiParameters, aL as HttpRequestError, aM as isHex } from "./app-DR3WlBLu.js";
|
|
2
|
+
import "./main.CwbMf_Nf.js";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
|
-
import "./app-loader-
|
|
4
|
+
import "./app-loader-CXe8k3Z6.js";
|
|
5
5
|
import "react";
|
|
6
6
|
import "@powerhousedao/reactor-browser";
|
|
7
7
|
import "react-dom";
|
|
@@ -1,8 +1,8 @@
|
|
|
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, h as SYNCING, I as INITIAL_SYNC, i as ConnectDropdownMenu, u as useOnClickOutside, j as useEventListener, k as useCopyToClipboard, l as Select, n as ENSAvatar, P as Provider, o as Root3, T as Trigger, p as Portal, q as Content2, v as validateInitialState, w as validateStateSchemaName, x as validateModules, y as useUnwrappedReactor, z as useConnectDid, A as useConnectCrypto, D as useTranslation, F as useModal, G as useAtomValue, H as themeAtom, J as useUser, K as useUserPermissions, L as useUiNodes, N as exportFile, O as useGetDocumentModelModule, Q as addActionContext, U as signOperation, V as useDocumentDriveServer, W as useHotkeys, X as useGetEditor, Y as isSameDocument, Z as useNavigate, _ as ErrorBoundary, $ as DriveLayout, a0 as SearchBar, a1 as useAsyncReactor, a2 as useFilteredDocumentModels, a3 as useDriveEditor, a4 as useDocumentDriveById } 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, h as SYNCING, I as INITIAL_SYNC, i as ConnectDropdownMenu, u as useOnClickOutside, j as useEventListener, k as useCopyToClipboard, l as Select, n as ENSAvatar, P as Provider, o as Root3, T as Trigger, p as Portal, q as Content2, v as validateInitialState, w as validateStateSchemaName, x as validateModules, y as useUnwrappedReactor, z as useConnectDid, A as useConnectCrypto, D as useTranslation, F as useModal, G as useAtomValue, H as themeAtom, J as useUser, K as useUserPermissions, L as useUiNodes, N as exportFile, O as useGetDocumentModelModule, Q as addActionContext, U as signOperation, V as useDocumentDriveServer, W as useHotkeys, X as useGetEditor, Y as isSameDocument, Z as useNavigate, _ as ErrorBoundary, $ as DriveLayout, a0 as SearchBar, a1 as useAsyncReactor, a2 as useFilteredDocumentModels, a3 as useDriveEditor, a4 as useDocumentDriveById } from "./app-DR3WlBLu.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, aO as DRIVE, ay as FILE, b7 as undo, b8 as redo, ac as logger, b9 as useDocumentDispatch, aP as FOLDER, ak 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, aO as DRIVE, ay as FILE, b7 as undo, b8 as redo, ac as logger, b9 as useDocumentDispatch, aP as FOLDER, ak as driveDocumentModelModule } from "./app-loader-CXe8k3Z6.js";
|
|
6
6
|
import { useDocument, useDocumentEditorProps } from "@powerhousedao/reactor-browser";
|
|
7
7
|
import { useUiNodesContext, FILE as FILE$1 } from "@powerhousedao/reactor-browser/hooks/useUiNodesContext";
|
|
8
8
|
import { useDriveActionsWithUiNodes } from "@powerhousedao/reactor-browser/hooks/useDriveActionsWithUiNodes";
|
|
@@ -10,7 +10,7 @@ import { useDriveContext, DriveContextProvider } from "@powerhousedao/reactor-br
|
|
|
10
10
|
import "@powerhousedao/reactor-browser/uiNodes/constants";
|
|
11
11
|
import { makeDriveDocumentStateHook } from "@powerhousedao/reactor-browser/hooks/document-state";
|
|
12
12
|
import { flushSync } from "react-dom";
|
|
13
|
-
import "./main.
|
|
13
|
+
import "./main.CwbMf_Nf.js";
|
|
14
14
|
const PaginationButton = ({ active = false, ...props }) => {
|
|
15
15
|
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");
|
|
16
16
|
return jsx(Button, { color: "light", size: "small", ...mergeClassNameProps(props, className), children: props.children });
|
|
@@ -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 { aW as getAugmentedNamespace, $ as getDefaultExportFromCjs, ah as connectConfig, ac as logger } from "./app-loader-
|
|
15
|
-
import { e as eventsExports, R as RENOWN_URL, g as getEnsInfo } from "./app-
|
|
16
|
-
import { d, c, b, f, a, r, s } from "./app-
|
|
13
|
+
import { _ as __vitePreload } from "./main.CwbMf_Nf.js";
|
|
14
|
+
import { aW as getAugmentedNamespace, $ as getDefaultExportFromCjs, ah as connectConfig, ac as logger } from "./app-loader-CXe8k3Z6.js";
|
|
15
|
+
import { e as eventsExports, R as RENOWN_URL, g as getEnsInfo } from "./app-DR3WlBLu.js";
|
|
16
|
+
import { d, c, b, f, a, r, s } from "./app-DR3WlBLu.js";
|
|
17
17
|
import "react/jsx-runtime";
|
|
18
18
|
import "react";
|
|
19
19
|
import "@powerhousedao/reactor-browser";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/app-loader-
|
|
2
|
-
import { _ as __vitePreload } from "./main.
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/app-loader-CXe8k3Z6.js","assets/main.CwbMf_Nf.js","assets/app-loader-CjrEwupY.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import { _ as __vitePreload } from "./main.CwbMf_Nf.js";
|
|
3
3
|
import { createRoot } from "react-dom/client";
|
|
4
4
|
async function renderApp(element) {
|
|
5
|
-
const AppLoader = await __vitePreload(() => import("./app-loader-
|
|
5
|
+
const AppLoader = await __vitePreload(() => import("./app-loader-CXe8k3Z6.js").then((n) => n.c9), true ? __vite__mapDeps([0,1,2]) : void 0);
|
|
6
6
|
createRoot(element).render(AppLoader.default);
|
|
7
7
|
}
|
|
8
8
|
const AppElement = document.getElementById("app");
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { t as twMerge, a5 as clsx, a6 as get, a7 as set, a8 as appendErrors, a9 as useFormContext, aa as Primitive, ab as cva, ac as FormProvider, ad as Controller, ae as Slot, af as useForm, ag as Root2, ah as List, ai as Trigger, aj as Content, ak as setModelName, al as setModelId, am as setModelDescription, an as setModelExtension, ao as setAuthorName, ap as setAuthorWebsite, aq as setStateSchema, ar as setInitialState, as as addModule, at as setModuleName, au as deleteModule, av as addOperation, aw as setOperationName, ax as setOperationSchema, ay as setOperationDescription, az as deleteOperation, aA as addOperationError, aB as deleteOperationError, aC as setOperationErrorName } from "./app-
|
|
3
|
-
import { ba as inspect$1, bb as GraphQLError$1, bc as getNamedType, bd as invariant$2, be as isInputObjectType, bf as isScalarType, bg as isObjectType, bh as isInterfaceType, bi as isUnionType, bj as isEnumType, bk as print, bl as isPrintableAsBlockString, bm as Kind, bn as astFromValue$1, bo as DEFAULT_DEPRECATION_REASON, bp as isSpecifiedDirective, bq as isSpecifiedScalarType, br as isIntrospectionType, bs as z, bt as GraphQLScalarType, Z as pascalCase, bu as parse, bv as visit, bw as buildASTSchema, bx as extendSchema, by as getNullableType, bz as isListType, $ as getDefaultExportFromCjs, bA as snakeCase, bB as constantCase, bC as isAbstractType, bD as BREAK, bE as GraphQLInputObjectType, bF as GraphQLList, bG as GraphQLEnumType, bH as GraphQLObjectType, bI as GraphQLInterfaceType, bJ as SchemaMetaFieldDef, bK as TypeMetaFieldDef, bL as TypeNameMetaFieldDef, bM as isCompositeType, bN as isOutputType, bO as isInputType, bP as GraphQLBoolean, bQ as assertAbstractType, bR as doTypesOverlap, bS as DirectiveLocation, bT as specifiedRules$1, bU as NoUnusedFragmentsRule$1, bV as ExecutableDefinitionsRule$1, bW as validate$2, bX as validateSchema, bY as GraphQLID, bZ as GraphQLString, b_ as GraphQLFloat, b$ as GraphQLInt, c0 as GraphQLDirective, c1 as GraphQLUnionType, c2 as isNonNullType, c3 as GraphQLNonNull, c4 as isNamedType, c5 as isLeafType, c6 as GraphQLSchema, c7 as buildSchema, c8 as sentenceCase, am as hashKey } from "./app-loader-
|
|
2
|
+
import { t as twMerge, a5 as clsx, a6 as get, a7 as set, a8 as appendErrors, a9 as useFormContext, aa as Primitive, ab as cva, ac as FormProvider, ad as Controller, ae as Slot, af as useForm, ag as Root2, ah as List, ai as Trigger, aj as Content, ak as setModelName, al as setModelId, am as setModelDescription, an as setModelExtension, ao as setAuthorName, ap as setAuthorWebsite, aq as setStateSchema, ar as setInitialState, as as addModule, at as setModuleName, au as deleteModule, av as addOperation, aw as setOperationName, ax as setOperationSchema, ay as setOperationDescription, az as deleteOperation, aA as addOperationError, aB as deleteOperationError, aC as setOperationErrorName } from "./app-DR3WlBLu.js";
|
|
3
|
+
import { ba as inspect$1, bb as GraphQLError$1, bc as getNamedType, bd as invariant$2, be as isInputObjectType, bf as isScalarType, bg as isObjectType, bh as isInterfaceType, bi as isUnionType, bj as isEnumType, bk as print, bl as isPrintableAsBlockString, bm as Kind, bn as astFromValue$1, bo as DEFAULT_DEPRECATION_REASON, bp as isSpecifiedDirective, bq as isSpecifiedScalarType, br as isIntrospectionType, bs as z, bt as GraphQLScalarType, Z as pascalCase, bu as parse, bv as visit, bw as buildASTSchema, bx as extendSchema, by as getNullableType, bz as isListType, $ as getDefaultExportFromCjs, bA as snakeCase, bB as constantCase, bC as isAbstractType, bD as BREAK, bE as GraphQLInputObjectType, bF as GraphQLList, bG as GraphQLEnumType, bH as GraphQLObjectType, bI as GraphQLInterfaceType, bJ as SchemaMetaFieldDef, bK as TypeMetaFieldDef, bL as TypeNameMetaFieldDef, bM as isCompositeType, bN as isOutputType, bO as isInputType, bP as GraphQLBoolean, bQ as assertAbstractType, bR as doTypesOverlap, bS as DirectiveLocation, bT as specifiedRules$1, bU as NoUnusedFragmentsRule$1, bV as ExecutableDefinitionsRule$1, bW as validate$2, bX as validateSchema, bY as GraphQLID, bZ as GraphQLString, b_ as GraphQLFloat, b$ as GraphQLInt, c0 as GraphQLDirective, c1 as GraphQLUnionType, c2 as isNonNullType, c3 as GraphQLNonNull, c4 as isNamedType, c5 as isLeafType, c6 as GraphQLSchema, c7 as buildSchema, c8 as sentenceCase, am as hashKey } from "./app-loader-CXe8k3Z6.js";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
import React__default, { forwardRef, useRef, useCallback, useImperativeHandle, useEffect, useState, createContext, useContext, memo, useId, useMemo } from "react";
|
|
6
|
-
import "./main.
|
|
6
|
+
import "./main.CwbMf_Nf.js";
|
|
7
7
|
import "@powerhousedao/reactor-browser";
|
|
8
8
|
import "react-dom";
|
|
9
9
|
import "@powerhousedao/reactor-browser/hooks/useUiNodesContext";
|
|
@@ -99,7 +99,7 @@ const __vitePreload = function preload(baseModule, deps, importerUrl) {
|
|
|
99
99
|
return baseModule().catch(handlePreloadError);
|
|
100
100
|
});
|
|
101
101
|
};
|
|
102
|
-
__vitePreload(() => import("./index-
|
|
102
|
+
__vitePreload(() => import("./index-DXnKAS5B.js"), true ? [] : void 0);
|
|
103
103
|
export {
|
|
104
104
|
__vitePreload as _
|
|
105
105
|
};
|
package/dist/index.html
CHANGED
|
@@ -97,4 +97,4 @@
|
|
|
97
97
|
"@powerhousedao/reactor-browser/utils/index": "/modules/@powerhousedao/reactor-browser/utils/index.js",
|
|
98
98
|
"@powerhousedao/reactor-browser/utils/signature": "/modules/@powerhousedao/reactor-browser/utils/signature.js"
|
|
99
99
|
}
|
|
100
|
-
}</script><script type="module" crossorigin="" src="/assets/main.
|
|
100
|
+
}</script><script type="module" crossorigin="" src="/assets/main.CwbMf_Nf.js"></script></head><body><div id="app"></div></body></html>
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
ReactorBuilder,
|
|
5
5
|
memory_default,
|
|
6
6
|
mergeOperations
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-YOX3ZAET.js";
|
|
8
8
|
import {
|
|
9
9
|
__commonJS,
|
|
10
10
|
__require,
|
|
@@ -2221,6 +2221,14 @@ var BrowserStorage = class _BrowserStorage {
|
|
|
2221
2221
|
const db = await this.db;
|
|
2222
2222
|
await db.setItem(this.buildDocumentKey(documentId), document);
|
|
2223
2223
|
}
|
|
2224
|
+
async get(documentId) {
|
|
2225
|
+
const db = await this.db;
|
|
2226
|
+
const document = await db.getItem(this.buildDocumentKey(documentId));
|
|
2227
|
+
if (!document) {
|
|
2228
|
+
throw new Error(`Document with id ${documentId} not found`);
|
|
2229
|
+
}
|
|
2230
|
+
return document;
|
|
2231
|
+
}
|
|
2224
2232
|
////////////////////////////////
|
|
2225
2233
|
// IDriveStorage
|
|
2226
2234
|
////////////////////////////////
|
|
@@ -2241,11 +2249,7 @@ var BrowserStorage = class _BrowserStorage {
|
|
|
2241
2249
|
return manifest.documentIds;
|
|
2242
2250
|
}
|
|
2243
2251
|
async getDocument(driveId, id) {
|
|
2244
|
-
|
|
2245
|
-
if (!document) {
|
|
2246
|
-
throw new Error(`Document with id ${id} not found`);
|
|
2247
|
-
}
|
|
2248
|
-
return document;
|
|
2252
|
+
return this.get(id);
|
|
2249
2253
|
}
|
|
2250
2254
|
async createDocument(drive, id, document) {
|
|
2251
2255
|
await this.create(id, document);
|
|
@@ -1670,6 +1670,13 @@ var MemoryStorage = class {
|
|
|
1670
1670
|
this.documents[documentId] = document;
|
|
1671
1671
|
return Promise.resolve();
|
|
1672
1672
|
}
|
|
1673
|
+
get(documentId) {
|
|
1674
|
+
const document = this.documents[documentId];
|
|
1675
|
+
if (!document) {
|
|
1676
|
+
throw new Error(`Document with id ${documentId} not found`);
|
|
1677
|
+
}
|
|
1678
|
+
return Promise.resolve(document);
|
|
1679
|
+
}
|
|
1673
1680
|
////////////////////////////////
|
|
1674
1681
|
// IDriveStorage
|
|
1675
1682
|
////////////////////////////////
|
|
@@ -1680,12 +1687,8 @@ var MemoryStorage = class {
|
|
|
1680
1687
|
const manifest = this.getDriveManifest(drive);
|
|
1681
1688
|
return Promise.resolve([...manifest.documentIds]);
|
|
1682
1689
|
}
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
if (!document) {
|
|
1686
|
-
throw new Error(`Document with id ${id} not found`);
|
|
1687
|
-
}
|
|
1688
|
-
return document;
|
|
1690
|
+
getDocument(driveId, id) {
|
|
1691
|
+
return this.get(id);
|
|
1689
1692
|
}
|
|
1690
1693
|
async saveDocument(drive, id, document) {
|
|
1691
1694
|
this.documents[id] = document;
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
ReadModeContext,
|
|
4
4
|
ReadModeContextProvider,
|
|
5
5
|
useReadModeContext
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-P46ZMPJ3.js";
|
|
7
7
|
import "../chunk-OVGOA2P5.js";
|
|
8
8
|
import "../chunk-P6NJ6IAQ.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-YOX3ZAET.js";
|
|
10
10
|
import "../chunk-FQF4YAVC.js";
|
|
11
11
|
import "../chunk-2ESYSVXG.js";
|
|
12
12
|
export {
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
ReadModeContext,
|
|
3
3
|
ReadModeContextProvider,
|
|
4
4
|
useReadModeContext
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-P46ZMPJ3.js";
|
|
6
6
|
import "../chunk-OVGOA2P5.js";
|
|
7
7
|
import "../chunk-P6NJ6IAQ.js";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-YOX3ZAET.js";
|
|
9
9
|
import "../chunk-FQF4YAVC.js";
|
|
10
10
|
import "../chunk-2ESYSVXG.js";
|
|
11
11
|
export {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "../chunk-DKDARAJS.js";
|
|
2
2
|
import {
|
|
3
3
|
useDriveActionsWithUiNodes
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-4LZZ55AN.js";
|
|
5
5
|
import {
|
|
6
6
|
useDriveActions
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-6AXML2S3.js";
|
|
8
8
|
import {
|
|
9
9
|
DriveContextProvider,
|
|
10
10
|
useDriveContext
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
useUserPermissions
|
|
58
58
|
} from "../chunk-OVGOA2P5.js";
|
|
59
59
|
import "../chunk-P6NJ6IAQ.js";
|
|
60
|
-
import "../chunk-
|
|
60
|
+
import "../chunk-YOX3ZAET.js";
|
|
61
61
|
import "../chunk-FQF4YAVC.js";
|
|
62
62
|
import "../chunk-YWKVPJNL.js";
|
|
63
63
|
import "../chunk-2X2M6BYG.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useDriveActionsWithUiNodes
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-4LZZ55AN.js";
|
|
4
|
+
import "../chunk-6AXML2S3.js";
|
|
5
5
|
import "../chunk-XBTEGV5M.js";
|
|
6
6
|
import "../chunk-RGIB4DD4.js";
|
|
7
7
|
import "../chunk-7OQWVUC5.js";
|
|
8
8
|
import "../chunk-ZL5IPB6D.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-YOX3ZAET.js";
|
|
10
10
|
import "../chunk-FQF4YAVC.js";
|
|
11
11
|
import "../chunk-2ESYSVXG.js";
|
|
12
12
|
export {
|
|
@@ -6,10 +6,10 @@ import "./chunk-LH2T6NLN.js";
|
|
|
6
6
|
import "./chunk-DKDARAJS.js";
|
|
7
7
|
import {
|
|
8
8
|
useDriveActionsWithUiNodes
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-4LZZ55AN.js";
|
|
10
10
|
import {
|
|
11
11
|
useDriveActions
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-6AXML2S3.js";
|
|
13
13
|
import {
|
|
14
14
|
DriveContextProvider,
|
|
15
15
|
useDriveContext
|
|
@@ -65,18 +65,18 @@ import {
|
|
|
65
65
|
import {
|
|
66
66
|
createBrowserDocumentDriveServer,
|
|
67
67
|
getReactorDefaultDrivesConfig
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-POMUCSTC.js";
|
|
69
69
|
import "./chunk-U36SV333.js";
|
|
70
70
|
import {
|
|
71
71
|
ReadModeContext,
|
|
72
72
|
ReadModeContextProvider,
|
|
73
73
|
useReadModeContext
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-P46ZMPJ3.js";
|
|
75
75
|
import {
|
|
76
76
|
useUserPermissions
|
|
77
77
|
} from "./chunk-OVGOA2P5.js";
|
|
78
78
|
import "./chunk-P6NJ6IAQ.js";
|
|
79
|
-
import "./chunk-
|
|
79
|
+
import "./chunk-YOX3ZAET.js";
|
|
80
80
|
import "./chunk-FQF4YAVC.js";
|
|
81
81
|
import "./chunk-YWKVPJNL.js";
|
|
82
82
|
import "./chunk-2X2M6BYG.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createBrowserDocumentDriveServer,
|
|
3
3
|
getReactorDefaultDrivesConfig
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-POMUCSTC.js";
|
|
5
|
+
import "./chunk-YOX3ZAET.js";
|
|
6
6
|
import "./chunk-FQF4YAVC.js";
|
|
7
7
|
import "./chunk-2ESYSVXG.js";
|
|
8
8
|
export {
|
package/dist/vite-envs.sh
CHANGED
|
@@ -11,7 +11,7 @@ replaceAll() {
|
|
|
11
11
|
}'
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
html=$(echo "PCFET0NUWVBFIGh0bWw+PGh0bWw+PGhlYWQ+PG1ldGEgY2hhcnNldD0iVVRGLTgiPjxtZXRhIG5hbWU9InZpZXdwb3J0IiBjb250ZW50PSJ3aWR0aD1kZXZpY2Utd2lkdGgsaW5pdGlhbC1zY2FsZT0xIj48dGl0bGU+UG93ZXJob3VzZSBDb25uZWN0PC90aXRsZT48YmFzZSBocmVmPSIvIj48bGluayByZWw9Imljb24iIGhyZWY9Ii9pY29uLmljbyI+PCEtLSB2aXRlLWVudnMgc2NyaXB0IHBsYWNlaG9sZGVyIHhLc1BtTHMzMHN3S3NkSXNWeCAtLT48c2NyaXB0IHR5cGU9ImltcG9ydG1hcCI+
|
|
14
|
+
html=$(echo "PCFET0NUWVBFIGh0bWw+PGh0bWw+PGhlYWQ+PG1ldGEgY2hhcnNldD0iVVRGLTgiPjxtZXRhIG5hbWU9InZpZXdwb3J0IiBjb250ZW50PSJ3aWR0aD1kZXZpY2Utd2lk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ym9keT48ZGl2IGlkPSJhcHAiPjwvZGl2PjwvYm9keT48L2h0bWw+" | base64 -d)
|
|
15
15
|
|
|
16
16
|
BASE_URL_base64="eEFwV2RSclg5OWtQclZnZ0UiLyIK"
|
|
17
17
|
BASE_URL=$(echo "Lwo=" | base64 -d)
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerhousedao/connect",
|
|
3
3
|
"productName": "Powerhouse-Connect",
|
|
4
|
-
"version": "1.0.0-dev.
|
|
4
|
+
"version": "1.0.0-dev.244",
|
|
5
5
|
"description": "Powerhouse Connect",
|
|
6
6
|
"main": "./dist/index.html",
|
|
7
7
|
"type": "module",
|
|
@@ -82,14 +82,14 @@
|
|
|
82
82
|
"vite-plugin-svgr": "^4.2.0",
|
|
83
83
|
"vite-tsconfig-paths": "^4.3.2",
|
|
84
84
|
"xvfb-maybe": "^0.2.1",
|
|
85
|
-
"@powerhousedao/builder-tools": "0.9.
|
|
85
|
+
"@powerhousedao/builder-tools": "0.9.5-dev.0",
|
|
86
|
+
"@powerhousedao/common": "1.10.5-dev.0",
|
|
87
|
+
"@powerhousedao/design-system": "1.39.1-dev.0",
|
|
86
88
|
"@powerhousedao/config": "1.24.1",
|
|
87
|
-
"@powerhousedao/design-system": "1.39.0",
|
|
88
|
-
"@powerhousedao/common": "1.10.4",
|
|
89
|
-
"@powerhousedao/reactor-browser": "1.22.4",
|
|
90
89
|
"@powerhousedao/scalars": "1.32.0",
|
|
91
|
-
"
|
|
92
|
-
"document-drive": "1.
|
|
90
|
+
"@powerhousedao/reactor-browser": "1.22.5-dev.0",
|
|
91
|
+
"document-drive": "1.29.0-dev.0",
|
|
92
|
+
"document-model": "2.27.1"
|
|
93
93
|
},
|
|
94
94
|
"optionalDependencies": {
|
|
95
95
|
"@esbuild/linux-x64": "^0.21.4",
|
|
@@ -109,8 +109,7 @@
|
|
|
109
109
|
"lint:nx": "eslint --quiet --fix .",
|
|
110
110
|
"format": "prettier --write \"**/*.+(js|ts|jsx|tsx|json)\"",
|
|
111
111
|
"dev": "vite -c vite.renderer.config.mts",
|
|
112
|
-
"dev:
|
|
113
|
-
"dev:nocache": "rm -rf node_modules/.vite && rm -rf node_modules/.cache && npm run dev:web",
|
|
112
|
+
"dev:nocache": "rm -rf node_modules/.vite && rm -rf node_modules/.cache && npm run dev",
|
|
114
113
|
"prebuild": "tsc --build --noEmit",
|
|
115
114
|
"build": "NODE_OPTIONS=--max-old-space-size=6144 vite build -c vite.renderer.config.mts",
|
|
116
115
|
"preview:web": "vite preview -c vite.renderer.config.mts",
|