@powerhousedao/connect 1.0.23-staging.0 → 1.0.23-staging.1
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-CSCydE8J.css → app-Dtx0nq4m.css} +1 -1
- package/dist/assets/{app-DcywiNjF.js → app-L-nqsJL1.js} +9 -9
- package/dist/assets/{app-loader-DTsRstTc.js → app-loader-B9WMnDgs.js} +4 -4
- package/dist/assets/{ccip-CiJjLxOg.js → ccip-XbQMrTCQ.js} +3 -3
- package/dist/assets/{content-BvS8uaAX.js → content-B39UDenT.js} +8 -4
- package/dist/assets/{index-BmdZEeOF.js → index-C3q-1asu.js} +4 -4
- package/dist/assets/{index-XBueRvDp.js → index-CCHuBMLB.js} +3 -3
- package/dist/assets/{index-Dw68KzY3.js → index-DZDjpeBO.js} +3 -3
- package/dist/assets/{main.CgZm8DDG.js → main.B_-fy86f.js} +1 -1
- package/dist/index.html +1 -1
- package/dist/vite-envs.sh +1 -1
- package/package.json +7 -7
|
@@ -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-XbQMrTCQ.js","assets/main.B_-fy86f.js","assets/app-loader-B9WMnDgs.js","assets/app-loader-3ipafc56.css","assets/index-DZDjpeBO.js","assets/style-0ej1afQi.css","assets/index-C3q-1asu.js","assets/content-B39UDenT.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, _subtleCrypto, _keyPair, _keyPairStorage, _did, _ConnectCrypto_instances, initCrypto_fn, initialize_fn, parseDid_fn, generateECDSAKeyPair_fn, exportKeyPair_fn, importKeyPair_fn, _sign, _verify, _DB_NAME, _STORE_NAME, _KEY, _db, _BrowserKeyStorage_instances, useStore_fn;
|
|
22
|
-
import { _ as __vitePreload } from "./main.
|
|
22
|
+
import { _ as __vitePreload } from "./main.B_-fy86f.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 getAugmentedNamespace, ak as setErrorHandler, al as driveDocumentModelModule, am as createBrowserDocumentDriveServer, an as hashKey$1, ao as childLogger, ap as reducer$8, aq as isDocumentDrive, ar as generateAddNodeAction, as as isFileNode, at as uploadDocumentOperations, au as updateFile, av as addFolder, aw as isFolderNode, ax as deleteNode, ay as updateNode, az as FILE$1, aA as moveNode, aB as generateNodesCopy, aC as copyNode, aD as createState$1, aE as setDriveName, aF as setAvailableOffline, aG as setSharingType, aH as SynchronizationUnitNotFoundError, aI as removeTrigger, aJ as generateUUID, aK as PullResponderTransmitter, aL as addTrigger, aM as ReadDriveNotFoundError, aN as openUrl, aO as getNodeOptions, aP as DRIVE$1, aQ as FOLDER, aR as requestPublicDrive, aS as serviceWorkerManager, aT as packageJson, aU as t$1, aV as gql, aW 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 getAugmentedNamespace, ak as setErrorHandler, al as driveDocumentModelModule, am as createBrowserDocumentDriveServer, an as hashKey$1, ao as childLogger, ap as reducer$8, aq as isDocumentDrive, ar as generateAddNodeAction, as as isFileNode, at as uploadDocumentOperations, au as updateFile, av as addFolder, aw as isFolderNode, ax as deleteNode, ay as updateNode, az as FILE$1, aA as moveNode, aB as generateNodesCopy, aC as copyNode, aD as createState$1, aE as setDriveName, aF as setAvailableOffline, aG as setSharingType, aH as SynchronizationUnitNotFoundError, aI as removeTrigger, aJ as generateUUID, aK as PullResponderTransmitter, aL as addTrigger, aM as ReadDriveNotFoundError, aN as openUrl, aO as getNodeOptions, aP as DRIVE$1, aQ as FOLDER, aR as requestPublicDrive, aS as serviceWorkerManager, aT as packageJson, aU as t$1, aV as gql, aW as request } from "./app-loader-B9WMnDgs.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 * as ReactDOM from "react-dom";
|
|
@@ -21167,7 +21167,7 @@ async function call(client2, args) {
|
|
|
21167
21167
|
} catch (err) {
|
|
21168
21168
|
const data2 = getRevertErrorData(err);
|
|
21169
21169
|
const { offchainLookup, offchainLookupSignature } = await __vitePreload(async () => {
|
|
21170
|
-
const { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 } = await import("./ccip-
|
|
21170
|
+
const { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 } = await import("./ccip-XbQMrTCQ.js");
|
|
21171
21171
|
return { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 };
|
|
21172
21172
|
}, true ? __vite__mapDeps([0,1,2,3]) : void 0);
|
|
21173
21173
|
if (client2.ccipRead !== false && (data2 == null ? void 0 : data2.slice(0, 10)) === offchainLookupSignature && to)
|
|
@@ -74658,7 +74658,7 @@ const useFilteredDocumentModels = () => {
|
|
|
74658
74658
|
return filteredDocumentModels;
|
|
74659
74659
|
};
|
|
74660
74660
|
async function loadBaseEditors() {
|
|
74661
|
-
const documentModelEditor = await __vitePreload(() => import("./index-
|
|
74661
|
+
const documentModelEditor = await __vitePreload(() => import("./index-DZDjpeBO.js"), true ? __vite__mapDeps([4,2,1,3]) : void 0);
|
|
74662
74662
|
await __vitePreload(() => Promise.resolve({}), true ? __vite__mapDeps([5]) : void 0);
|
|
74663
74663
|
const module = documentModelEditor.documentModelEditorModule;
|
|
74664
74664
|
return [module];
|
|
@@ -74809,11 +74809,11 @@ const connectCrypto = (async () => {
|
|
|
74809
74809
|
return window.connectCrypto;
|
|
74810
74810
|
}
|
|
74811
74811
|
const { ConnectCrypto: ConnectCrypto2 } = await __vitePreload(async () => {
|
|
74812
|
-
const { ConnectCrypto: ConnectCrypto3 } = await import("./index-
|
|
74812
|
+
const { ConnectCrypto: ConnectCrypto3 } = await import("./index-C3q-1asu.js");
|
|
74813
74813
|
return { ConnectCrypto: ConnectCrypto3 };
|
|
74814
74814
|
}, true ? __vite__mapDeps([6,1,2,3]) : void 0);
|
|
74815
74815
|
const { BrowserKeyStorage: BrowserKeyStorage2 } = await __vitePreload(async () => {
|
|
74816
|
-
const { BrowserKeyStorage: BrowserKeyStorage3 } = await import("./index-
|
|
74816
|
+
const { BrowserKeyStorage: BrowserKeyStorage3 } = await import("./index-C3q-1asu.js");
|
|
74817
74817
|
return { BrowserKeyStorage: BrowserKeyStorage3 };
|
|
74818
74818
|
}, true ? __vite__mapDeps([6,1,2,3]) : void 0);
|
|
74819
74819
|
const connectCrypto2 = new ConnectCrypto2(new BrowserKeyStorage2());
|
|
@@ -74862,7 +74862,7 @@ function useRenown() {
|
|
|
74862
74862
|
return;
|
|
74863
74863
|
}
|
|
74864
74864
|
const { initRenownBrowser } = await __vitePreload(async () => {
|
|
74865
|
-
const { initRenownBrowser: initRenownBrowser2 } = await import("./index-
|
|
74865
|
+
const { initRenownBrowser: initRenownBrowser2 } = await import("./index-C3q-1asu.js");
|
|
74866
74866
|
return { initRenownBrowser: initRenownBrowser2 };
|
|
74867
74867
|
}, true ? __vite__mapDeps([6,1,2,3]) : void 0);
|
|
74868
74868
|
const renownBrowser = initRenownBrowser(did2);
|
|
@@ -83746,7 +83746,7 @@ function Home() {
|
|
|
83746
83746
|
/* @__PURE__ */ jsx$1(HomeScreenAddDriveItem, { onClick: onAddDriveClick })
|
|
83747
83747
|
] });
|
|
83748
83748
|
}
|
|
83749
|
-
const Content = React__default.lazy(() => __vitePreload(() => import("./content-
|
|
83749
|
+
const Content = React__default.lazy(() => __vitePreload(() => import("./content-B39UDenT.js"), true ? __vite__mapDeps([7,2,1,3]) : void 0));
|
|
83750
83750
|
async function createRouter(routes) {
|
|
83751
83751
|
var _a2;
|
|
83752
83752
|
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-L-nqsJL1.js","assets/main.B_-fy86f.js","assets/app-Dtx0nq4m.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.B_-fy86f.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) {
|
|
@@ -25830,7 +25830,7 @@ const nodeOptionsMap = {
|
|
|
25830
25830
|
};
|
|
25831
25831
|
const name = "@powerhousedao/connect";
|
|
25832
25832
|
const productName = "Powerhouse-Connect";
|
|
25833
|
-
const version$1 = "1.0.23-staging.
|
|
25833
|
+
const version$1 = "1.0.23-staging.1";
|
|
25834
25834
|
const description = "Powerhouse Connect";
|
|
25835
25835
|
const main = "./dist/index.html";
|
|
25836
25836
|
const type = "module";
|
|
@@ -31454,7 +31454,7 @@ if (window.__VITE_ENVS.MODE === "development") {
|
|
|
31454
31454
|
} else {
|
|
31455
31455
|
serviceWorkerManager.registerServiceWorker(false);
|
|
31456
31456
|
}
|
|
31457
|
-
const App = lazy(() => __vitePreload(() => import("./app-
|
|
31457
|
+
const App = lazy(() => __vitePreload(() => import("./app-L-nqsJL1.js").then((n) => n.a_), true ? __vite__mapDeps([0,1,2]) : void 0));
|
|
31458
31458
|
const AppLoader = /* @__PURE__ */ jsx(Suspense, { children: /* @__PURE__ */ jsx(App, {}) });
|
|
31459
31459
|
const appLoader = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
31460
31460
|
__proto__: null,
|
|
@@ -1,7 +1,7 @@
|
|
|
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-
|
|
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-L-nqsJL1.js";
|
|
2
|
+
import "./main.B_-fy86f.js";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
|
-
import "./app-loader-
|
|
4
|
+
import "./app-loader-B9WMnDgs.js";
|
|
5
5
|
import "react";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
class OffchainLookupError extends BaseError {
|
|
@@ -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-L-nqsJL1.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-B9WMnDgs.js";
|
|
6
6
|
import { flushSync } from "react-dom";
|
|
7
|
-
import "./main.
|
|
7
|
+
import "./main.B_-fy86f.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 });
|
|
@@ -4304,6 +4304,8 @@ function DriveEditorContainer() {
|
|
|
4304
4304
|
const { addFile, addDocument } = useDocumentDriveServer();
|
|
4305
4305
|
const documentModels = useFilteredDocumentModels();
|
|
4306
4306
|
const useDriveDocumentState = makeDriveDocumentStateHook(reactor);
|
|
4307
|
+
const getDocumentModelModule = useGetDocumentModelModule();
|
|
4308
|
+
const getEditor = useGetEditor();
|
|
4307
4309
|
const driveContext = useMemo(
|
|
4308
4310
|
() => ({
|
|
4309
4311
|
showSearchBar: false,
|
|
@@ -4346,7 +4348,9 @@ function DriveEditorContainer() {
|
|
|
4346
4348
|
...editorProps,
|
|
4347
4349
|
context: {
|
|
4348
4350
|
...editorProps.context,
|
|
4349
|
-
...driveContext
|
|
4351
|
+
...driveContext,
|
|
4352
|
+
getDocumentModelModule,
|
|
4353
|
+
getEditor
|
|
4350
4354
|
},
|
|
4351
4355
|
onSwitchboardLinkClick: void 0,
|
|
4352
4356
|
document: document2,
|
|
@@ -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.B_-fy86f.js";
|
|
14
|
+
import { r as rawKeyInHexfromUncompressed, c as compressedKeyInHexfromRaw, e as encodeDIDfromHexString, a as eventsExports, R as RENOWN_URL, g as getEnsInfo } from "./app-L-nqsJL1.js";
|
|
15
|
+
import { i, h, d, j, b, f, s } from "./app-L-nqsJL1.js";
|
|
16
|
+
import { ah as connectConfig, ac as logger } from "./app-loader-B9WMnDgs.js";
|
|
17
17
|
import "react/jsx-runtime";
|
|
18
18
|
import "react";
|
|
19
19
|
import "react-dom";
|
|
@@ -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-B9WMnDgs.js","assets/main.B_-fy86f.js","assets/app-loader-3ipafc56.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import { _ as __vitePreload } from "./main.B_-fy86f.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-B9WMnDgs.js").then((n) => n.ca), 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,10 +1,10 @@
|
|
|
1
1
|
var _a2, _b;
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { t as twMerge, ag as clsx, ah as get, ai as set, aj as appendErrors, ak as useFormContext, al as Primitive, am as cva, an as FormProvider, ao as Controller, ap as Slot, aq as useForm, ar as Root2, as as List, at as Trigger, au as Content, av as setModelName, aw as setModelId, ax as setModelDescription, ay as setModelExtension, az as setAuthorName, aA as setAuthorWebsite, aB as setStateSchema, aC as setInitialState, aD as addModule, aE as setModuleName, aF as deleteModule, aG as addOperation, aH as setOperationName, aI as setOperationSchema, aJ as setOperationDescription, aK as deleteOperation, aL as addOperationError, aM as deleteOperationError, aN as setOperationErrorName } from "./app-
|
|
4
|
-
import { bb as inspect$1, bc as GraphQLError$1, bd as getNamedType, be as invariant$2, bf as isInputObjectType, bg as isScalarType, bh as isObjectType, bi as isInterfaceType, bj as isUnionType, bk as isEnumType, bl as print, bm as isPrintableAsBlockString, bn as Kind, bo as astFromValue$1, bp as DEFAULT_DEPRECATION_REASON, bq as isSpecifiedDirective, br as isSpecifiedScalarType, bs as isIntrospectionType, bt as z, bu as GraphQLScalarType, bv as specifiedRules$1, bw as GraphQLID, bx as GraphQLBoolean, by as GraphQLString, bz as GraphQLFloat, bA as GraphQLInt, bB as GraphQLDirective, bC as GraphQLObjectType, bD as GraphQLInterfaceType, bE as GraphQLUnionType, bF as GraphQLInputObjectType, bG as GraphQLEnumType, bH as isListType, bI as GraphQLList, bJ as isNonNullType, bK as GraphQLNonNull, bL as isNamedType, bM as getNullableType, bN as isLeafType, bO as GraphQLSchema, bP as buildSchema, bQ as buildASTSchema, bR as parse, bS as validate$2, Z as pascalCase, bT as visit, bU as extendSchema, $ as getDefaultExportFromCjs, bV as snakeCase, bW as constantCase, bX as isAbstractType, bY as BREAK, bZ as SchemaMetaFieldDef, b_ as TypeMetaFieldDef, b$ as TypeNameMetaFieldDef, c0 as isCompositeType, c1 as isOutputType, c2 as isInputType, c3 as assertAbstractType, c4 as doTypesOverlap, c5 as DirectiveLocation, c6 as NoUnusedFragmentsRule$1, c7 as ExecutableDefinitionsRule$1, c8 as validateSchema, c9 as sentenceCase, an as hashKey } from "./app-loader-
|
|
3
|
+
import { t as twMerge, ag as clsx, ah as get, ai as set, aj as appendErrors, ak as useFormContext, al as Primitive, am as cva, an as FormProvider, ao as Controller, ap as Slot, aq as useForm, ar as Root2, as as List, at as Trigger, au as Content, av as setModelName, aw as setModelId, ax as setModelDescription, ay as setModelExtension, az as setAuthorName, aA as setAuthorWebsite, aB as setStateSchema, aC as setInitialState, aD as addModule, aE as setModuleName, aF as deleteModule, aG as addOperation, aH as setOperationName, aI as setOperationSchema, aJ as setOperationDescription, aK as deleteOperation, aL as addOperationError, aM as deleteOperationError, aN as setOperationErrorName } from "./app-L-nqsJL1.js";
|
|
4
|
+
import { bb as inspect$1, bc as GraphQLError$1, bd as getNamedType, be as invariant$2, bf as isInputObjectType, bg as isScalarType, bh as isObjectType, bi as isInterfaceType, bj as isUnionType, bk as isEnumType, bl as print, bm as isPrintableAsBlockString, bn as Kind, bo as astFromValue$1, bp as DEFAULT_DEPRECATION_REASON, bq as isSpecifiedDirective, br as isSpecifiedScalarType, bs as isIntrospectionType, bt as z, bu as GraphQLScalarType, bv as specifiedRules$1, bw as GraphQLID, bx as GraphQLBoolean, by as GraphQLString, bz as GraphQLFloat, bA as GraphQLInt, bB as GraphQLDirective, bC as GraphQLObjectType, bD as GraphQLInterfaceType, bE as GraphQLUnionType, bF as GraphQLInputObjectType, bG as GraphQLEnumType, bH as isListType, bI as GraphQLList, bJ as isNonNullType, bK as GraphQLNonNull, bL as isNamedType, bM as getNullableType, bN as isLeafType, bO as GraphQLSchema, bP as buildSchema, bQ as buildASTSchema, bR as parse, bS as validate$2, Z as pascalCase, bT as visit, bU as extendSchema, $ as getDefaultExportFromCjs, bV as snakeCase, bW as constantCase, bX as isAbstractType, bY as BREAK, bZ as SchemaMetaFieldDef, b_ as TypeMetaFieldDef, b$ as TypeNameMetaFieldDef, c0 as isCompositeType, c1 as isOutputType, c2 as isInputType, c3 as assertAbstractType, c4 as doTypesOverlap, c5 as DirectiveLocation, c6 as NoUnusedFragmentsRule$1, c7 as ExecutableDefinitionsRule$1, c8 as validateSchema, c9 as sentenceCase, an as hashKey } from "./app-loader-B9WMnDgs.js";
|
|
5
5
|
import * as React from "react";
|
|
6
6
|
import React__default, { useState, useEffect, createContext, useContext, forwardRef, useRef, useCallback, useImperativeHandle, useId, memo, useMemo } from "react";
|
|
7
|
-
import "./main.
|
|
7
|
+
import "./main.B_-fy86f.js";
|
|
8
8
|
import "react-dom";
|
|
9
9
|
const versionInfo = Object.freeze({
|
|
10
10
|
major: 16,
|
|
@@ -109,7 +109,7 @@ const __vitePreload = function preload(baseModule, deps, importerUrl) {
|
|
|
109
109
|
return baseModule().catch(handlePreloadError);
|
|
110
110
|
});
|
|
111
111
|
};
|
|
112
|
-
__vitePreload(() => import("./index-
|
|
112
|
+
__vitePreload(() => import("./index-CCHuBMLB.js"), true ? [] : void 0);
|
|
113
113
|
export {
|
|
114
114
|
__vitePreload as _
|
|
115
115
|
};
|
package/dist/index.html
CHANGED
|
@@ -64,4 +64,4 @@
|
|
|
64
64
|
"react-dom": "https://esm.sh/react-dom",
|
|
65
65
|
"react-dom/": "https://esm.sh/react-dom/"
|
|
66
66
|
}
|
|
67
|
-
}</script><script type="module" crossorigin="" src="/assets/main.
|
|
67
|
+
}</script><script type="module" crossorigin="" src="/assets/main.B_-fy86f.js"></script></head><body><div id="app"></div></body></html>
|
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+ewogICJpbXBvcnRzIjogewogICAgInJlYWN0IjogImh0dHBzOi8vZXNtLnNoL3JlYWN0IiwKICAgICJyZWFjdC8iOiAiaHR0cHM6Ly9lc20uc2gvcmVhY3QvIiwKICAgICJyZWFjdC1kb20iOiAiaHR0cHM6Ly9lc20uc2gvcmVhY3QtZG9tIiwKICAgICJyZWFjdC1kb20vIjogImh0dHBzOi8vZXNtLnNoL3JlYWN0LWRvbS8iCiAgfQp9PC9zY3JpcHQ+
|
|
14
|
+
html=$(echo "PCFET0NUWVBFIGh0bWw+PGh0bWw+PGhlYWQ+PG1ldGEgY2hhcnNldD0iVVRGLTgiPjxtZXRhIG5hbWU9InZpZXdwb3J0IiBjb250ZW50PSJ3aWR0aD1kZXZpY2Utd2lkdGgsaW5pdGlhbC1zY2FsZT0xIj48dGl0bGU+UG93ZXJob3VzZSBDb25uZWN0PC90aXRsZT48YmFzZSBocmVmPSIvIj48bGluayByZWw9Imljb24iIGhyZWY9Ii9pY29uLmljbyI+PCEtLSB2aXRlLWVudnMgc2NyaXB0IHBsYWNlaG9sZGVyIHhLc1BtTHMzMHN3S3NkSXNWeCAtLT48c2NyaXB0IHR5cGU9ImltcG9ydG1hcCI+ewogICJpbXBvcnRzIjogewogICAgInJlYWN0IjogImh0dHBzOi8vZXNtLnNoL3JlYWN0IiwKICAgICJyZWFjdC8iOiAiaHR0cHM6Ly9lc20uc2gvcmVhY3QvIiwKICAgICJyZWFjdC1kb20iOiAiaHR0cHM6Ly9lc20uc2gvcmVhY3QtZG9tIiwKICAgICJyZWFjdC1kb20vIjogImh0dHBzOi8vZXNtLnNoL3JlYWN0LWRvbS8iCiAgfQp9PC9zY3JpcHQ+PHNjcmlwdCB0eXBlPSJtb2R1bGUiIGNyb3Nzb3JpZ2luPSIiIHNyYz0iL2Fzc2V0cy9tYWluLkJfLWZ5ODZmLmpzIj48L3NjcmlwdD48L2hlYWQ+PGJvZHk+PGRpdiBpZD0iYXBwIj48L2Rpdj48L2JvZHk+PC9odG1sPg==" | 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.23-staging.
|
|
4
|
+
"version": "1.0.23-staging.1",
|
|
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.3.0",
|
|
83
83
|
"vite-tsconfig-paths": "^5.1.4",
|
|
84
84
|
"xvfb-maybe": "^0.2.1",
|
|
85
|
-
"@powerhousedao/builder-tools": "0.9.
|
|
86
|
-
"@powerhousedao/common": "1.10.38-staging.0",
|
|
87
|
-
"@powerhousedao/design-system": "1.39.21-staging.1",
|
|
85
|
+
"@powerhousedao/builder-tools": "0.9.34-staging.0",
|
|
88
86
|
"@powerhousedao/config": "1.27.0-staging.3",
|
|
89
|
-
"@powerhousedao/
|
|
87
|
+
"@powerhousedao/common": "1.10.39-staging.0",
|
|
88
|
+
"@powerhousedao/design-system": "1.39.22-staging.0",
|
|
89
|
+
"@powerhousedao/reactor-browser": "1.22.29-staging.2",
|
|
90
90
|
"@powerhousedao/scalars": "1.33.1-staging.4",
|
|
91
|
-
"document-
|
|
92
|
-
"document-
|
|
91
|
+
"document-model": "2.28.1-staging.4",
|
|
92
|
+
"document-drive": "1.29.13-staging.0"
|
|
93
93
|
},
|
|
94
94
|
"optionalDependencies": {
|
|
95
95
|
"@esbuild/linux-x64": "^0.21.4",
|