@powerhousedao/connect 1.0.13-dev.0 → 1.0.13-dev.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-BCOUpQRP.js → app-BcrfA7NL.js} +39 -18
- package/dist/assets/{app-loader-BbZq0pks.js → app-loader-y3E3d8jm.js} +4 -4
- package/dist/assets/{ccip-BoGk1Yqd.js → ccip-Cho1xP6I.js} +3 -3
- package/dist/assets/{content-DezxKHvq.js → content-Bzwen2cu.js} +3 -3
- package/dist/assets/{index-BZjqY1w4.js → index-BlcxLfxw.js} +3 -3
- package/dist/assets/{index-BOIA6Wzf.js → index-CtLR9EzT.js} +4 -4
- package/dist/assets/{index-B8SUhzlH.js → index-UcjYMbG3.js} +3 -3
- package/dist/assets/{main.DBrdnHvm.js → main.CJeNNRYZ.js} +1 -1
- package/dist/index.html +1 -1
- package/dist/vite-envs.sh +1 -1
- package/package.json +5 -5
- package/dist/assets/{app-loader-B0de6lGZ.css → app-loader-Br74gdhw.css} +4 -4
|
@@ -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-Cho1xP6I.js","assets/main.CJeNNRYZ.js","assets/app-loader-y3E3d8jm.js","assets/app-loader-Br74gdhw.css","assets/index-BlcxLfxw.js","assets/style-Ce3V83BE.css","assets/index-CtLR9EzT.js","assets/content-Bzwen2cu.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.CJeNNRYZ.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-y3E3d8jm.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";
|
|
@@ -20574,7 +20574,7 @@ async function call(client2, args) {
|
|
|
20574
20574
|
} catch (err) {
|
|
20575
20575
|
const data2 = getRevertErrorData(err);
|
|
20576
20576
|
const { offchainLookup, offchainLookupSignature } = await __vitePreload(async () => {
|
|
20577
|
-
const { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 } = await import("./ccip-
|
|
20577
|
+
const { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 } = await import("./ccip-Cho1xP6I.js");
|
|
20578
20578
|
return { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 };
|
|
20579
20579
|
}, true ? __vite__mapDeps([0,1,2,3]) : void 0);
|
|
20580
20580
|
if (client2.ccipRead !== false && (data2 == null ? void 0 : data2.slice(0, 10)) === offchainLookupSignature && to)
|
|
@@ -71667,7 +71667,7 @@ const useFilteredDocumentModels = () => {
|
|
|
71667
71667
|
return filteredDocumentModels;
|
|
71668
71668
|
};
|
|
71669
71669
|
async function loadBaseEditors() {
|
|
71670
|
-
const documentModelEditor = await __vitePreload(() => import("./index-
|
|
71670
|
+
const documentModelEditor = await __vitePreload(() => import("./index-BlcxLfxw.js"), true ? __vite__mapDeps([4,2,1,3]) : void 0);
|
|
71671
71671
|
await __vitePreload(() => Promise.resolve({}), true ? __vite__mapDeps([5]) : void 0);
|
|
71672
71672
|
const module = documentModelEditor.documentModelEditorModule;
|
|
71673
71673
|
return [module];
|
|
@@ -71818,11 +71818,11 @@ const connectCrypto = (async () => {
|
|
|
71818
71818
|
return window.connectCrypto;
|
|
71819
71819
|
}
|
|
71820
71820
|
const { ConnectCrypto } = await __vitePreload(async () => {
|
|
71821
|
-
const { ConnectCrypto: ConnectCrypto2 } = await import("./index-
|
|
71821
|
+
const { ConnectCrypto: ConnectCrypto2 } = await import("./index-CtLR9EzT.js");
|
|
71822
71822
|
return { ConnectCrypto: ConnectCrypto2 };
|
|
71823
71823
|
}, true ? __vite__mapDeps([6,1,2,3]) : void 0);
|
|
71824
71824
|
const { BrowserKeyStorage } = await __vitePreload(async () => {
|
|
71825
|
-
const { BrowserKeyStorage: BrowserKeyStorage2 } = await import("./index-
|
|
71825
|
+
const { BrowserKeyStorage: BrowserKeyStorage2 } = await import("./index-CtLR9EzT.js");
|
|
71826
71826
|
return { BrowserKeyStorage: BrowserKeyStorage2 };
|
|
71827
71827
|
}, true ? __vite__mapDeps([6,1,2,3]) : void 0);
|
|
71828
71828
|
const connectCrypto2 = new ConnectCrypto(new BrowserKeyStorage());
|
|
@@ -71871,7 +71871,7 @@ function useRenown() {
|
|
|
71871
71871
|
return;
|
|
71872
71872
|
}
|
|
71873
71873
|
const { initRenownBrowser } = await __vitePreload(async () => {
|
|
71874
|
-
const { initRenownBrowser: initRenownBrowser2 } = await import("./index-
|
|
71874
|
+
const { initRenownBrowser: initRenownBrowser2 } = await import("./index-CtLR9EzT.js");
|
|
71875
71875
|
return { initRenownBrowser: initRenownBrowser2 };
|
|
71876
71876
|
}, true ? __vite__mapDeps([6,1,2,3]) : void 0);
|
|
71877
71877
|
const renownBrowser = initRenownBrowser(did2);
|
|
@@ -79756,25 +79756,41 @@ const SvgAtlasLogomark = (props) => /* @__PURE__ */ React.createElement("svg", {
|
|
|
79756
79756
|
const SvgRefresh = (props) => /* @__PURE__ */ React.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React.createElement("path", { d: "M15.6867 8.03333C15.4933 7.83999 15.1733 7.83999 14.98 8.03333L14.6733 8.34001V8C14.6733 4.32 11.68 1.32666 7.99999 1.32666C5.96666 1.32666 4.06666 2.23999 2.79333 3.82666C2.61999 4.03999 2.65332 4.35999 2.87332 4.52665C3.08666 4.69999 3.40666 4.66666 3.57332 4.44666C4.65999 3.09332 6.27332 2.31999 7.99999 2.31999C11.1267 2.31999 13.6733 4.86666 13.6733 7.99333V8.32666L13.3667 8.02002C13.1733 7.82669 12.8533 7.82669 12.66 8.02002C12.4667 8.21335 12.4667 8.53335 12.66 8.72668L13.82 9.88668C13.8667 9.93334 13.92 9.96666 13.98 9.99333C14.04 10.02 14.1067 10.0333 14.1733 10.0333C14.24 10.0333 14.3 10.02 14.3667 9.99333C14.4267 9.96666 14.48 9.93334 14.5267 9.88668L15.6867 8.72668C15.88 8.54668 15.88 8.22666 15.6867 8.03333Z", fill: "#6C7275" }), /* @__PURE__ */ React.createElement("path", { d: "M13.1267 11.4666C12.9133 11.2933 12.5933 11.3266 12.4267 11.5466C11.34 12.9 9.72665 13.6733 7.99998 13.6733C4.87332 13.6733 2.32665 11.1266 2.32665 7.99996V7.66663L2.63332 7.97331C2.73332 8.07331 2.85999 8.11996 2.98665 8.11996C3.11332 8.11996 3.23999 8.07331 3.33999 7.97331C3.53332 7.77998 3.53332 7.45998 3.33999 7.26664L2.17998 6.10661C2.13332 6.05994 2.07998 6.02663 2.01998 5.99996C1.89998 5.94663 1.75998 5.94663 1.63998 5.99996C1.57998 6.02663 1.52665 6.05994 1.47999 6.10661L0.319988 7.26664C0.126654 7.45998 0.126654 7.77998 0.319988 7.97331C0.513321 8.16664 0.833319 8.16664 1.02665 7.97331L1.33332 7.66663V7.99996C1.33332 11.68 4.32665 14.6733 8.00665 14.6733C10.04 14.6733 11.94 13.76 13.2133 12.1733C13.38 11.96 13.3467 11.64 13.1267 11.4666Z", fill: "#6C7275" }));
|
|
79757
79757
|
const REACTOR_URL = "https://apps.powerhouse.io/sky-atlas/switchboard/";
|
|
79758
79758
|
const MIN_LOADING_TIME = 2e3;
|
|
79759
|
-
|
|
79759
|
+
function useReactorUrl() {
|
|
79760
|
+
const { search } = useLocation();
|
|
79761
|
+
return useMemo(() => {
|
|
79762
|
+
const params = new URLSearchParams(search);
|
|
79763
|
+
const url = params.get("reactorUrl") ?? REACTOR_URL;
|
|
79764
|
+
return url.endsWith("/") ? url : `${url}/`;
|
|
79765
|
+
}, [search]);
|
|
79766
|
+
}
|
|
79767
|
+
async function forkAtlas(docId, reactorUrl) {
|
|
79760
79768
|
const document2 = gql`
|
|
79761
79769
|
mutation ForkAtlas($docId: PHID) {
|
|
79762
79770
|
ForkAtlas(docId: $docId)
|
|
79763
79771
|
}
|
|
79764
79772
|
`;
|
|
79765
|
-
return await request(`${
|
|
79773
|
+
return await request(`${reactorUrl}fork`, document2, { docId });
|
|
79766
79774
|
}
|
|
79767
79775
|
function AtlasImport() {
|
|
79768
79776
|
const status = useRef("initial");
|
|
79769
79777
|
const reactor = useUnwrappedReactor();
|
|
79770
79778
|
const { documentId } = useParams();
|
|
79779
|
+
const reactorUrl = useReactorUrl();
|
|
79771
79780
|
const navigate = useNavigate();
|
|
79772
79781
|
const { addRemoteDrive } = useDocumentDriveServer();
|
|
79773
79782
|
const [driveId, setDriveId] = useState(void 0);
|
|
79774
79783
|
const [error, setError] = useState(void 0);
|
|
79775
79784
|
const [loading, setLoading] = useState(true);
|
|
79785
|
+
const hasError = status.current === "error";
|
|
79786
|
+
useEffect(() => {
|
|
79787
|
+
if (error) {
|
|
79788
|
+
console.error("Error forking Atlas:", error);
|
|
79789
|
+
toast("Error forking Atlas", { type: "error" });
|
|
79790
|
+
}
|
|
79791
|
+
}, [error]);
|
|
79776
79792
|
async function forkAtlasDocument(documentId2) {
|
|
79777
|
-
const result = await forkAtlas(documentId2);
|
|
79793
|
+
const result = await forkAtlas(documentId2, reactorUrl);
|
|
79778
79794
|
const driveId2 = result.ForkAtlas;
|
|
79779
79795
|
status.current = "forked";
|
|
79780
79796
|
setDriveId(driveId2);
|
|
@@ -79787,7 +79803,7 @@ function AtlasImport() {
|
|
|
79787
79803
|
const addForkDrive = useCallback(
|
|
79788
79804
|
async (driveId2) => {
|
|
79789
79805
|
console.log("Adding remote drive:", driveId2);
|
|
79790
|
-
const driveUrl = `${
|
|
79806
|
+
const driveUrl = `${reactorUrl}d/${driveId2}`;
|
|
79791
79807
|
try {
|
|
79792
79808
|
const addedDrive = await addRemoteDrive(driveUrl, {
|
|
79793
79809
|
sharingType: "PUBLIC",
|
|
@@ -79824,7 +79840,7 @@ function AtlasImport() {
|
|
|
79824
79840
|
setError(error2);
|
|
79825
79841
|
}
|
|
79826
79842
|
},
|
|
79827
|
-
[addRemoteDrive, navigate]
|
|
79843
|
+
[addRemoteDrive, navigate, reactorUrl]
|
|
79828
79844
|
);
|
|
79829
79845
|
useEffect(() => {
|
|
79830
79846
|
if (!documentId || status.current !== "initial") return;
|
|
@@ -79839,21 +79855,26 @@ function AtlasImport() {
|
|
|
79839
79855
|
status.current = "addingDrive";
|
|
79840
79856
|
new Promise((resolve) => {
|
|
79841
79857
|
setTimeout(resolve, 500);
|
|
79842
|
-
}).then(() => addForkDrive(driveId)).catch(
|
|
79858
|
+
}).then(() => addForkDrive(driveId)).catch((error2) => {
|
|
79859
|
+
status.current = "error";
|
|
79860
|
+
setError(error2);
|
|
79861
|
+
});
|
|
79843
79862
|
}, [driveId, reactor, status]);
|
|
79844
79863
|
return /* @__PURE__ */ jsx$1("div", { className: "bg-gray-50 size-full flex justify-center gap-x-4", children: /* @__PURE__ */ jsxs("div", { className: "bg-white rounded-2xl w-full max-w-[850px] drop-shadow-sm p-6", children: [
|
|
79845
79864
|
/* @__PURE__ */ jsx$1("h1", { className: "text-lg text-gray-900 font-medium", children: "Welcome to the Atlas Explorer" }),
|
|
79846
79865
|
/* @__PURE__ */ jsx$1("div", { className: "mt-4 bg-gray-50 border border-gray-200 rounded-xl p-6", children: /* @__PURE__ */ jsxs("div", { className: "bg-slate-50 rounded-2xl min-h-80 flex flex-col justify-center items-center", children: [
|
|
79847
79866
|
/* @__PURE__ */ jsx$1("div", { children: /* @__PURE__ */ jsx$1(SvgAtlasLogomark, {}) }),
|
|
79848
|
-
/* @__PURE__ */ jsx$1("div", { className: "text-sm text-gray-500 mt-3", children: "Forking Atlas scope..." }),
|
|
79867
|
+
hasError ? /* @__PURE__ */ jsx$1("div", { className: "text-sm text-gray-800 mt-3", children: "Error forking Atlas scope. Please try again." }) : /* @__PURE__ */ jsx$1("div", { className: "text-sm text-gray-500 mt-3", children: "Forking Atlas scope..." }),
|
|
79849
79868
|
/* @__PURE__ */ jsx$1(
|
|
79850
79869
|
Button$1,
|
|
79851
79870
|
{
|
|
79852
|
-
onClick:
|
|
79871
|
+
onClick: hasError ? window.location.reload.bind(
|
|
79872
|
+
window.location
|
|
79873
|
+
) : redirectToDrive,
|
|
79853
79874
|
size: "small",
|
|
79854
79875
|
color: "light",
|
|
79855
79876
|
className: "bg-white border border-gray-200 h-9 px-3 mt-4 text-gray-600",
|
|
79856
|
-
children: loading ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
79877
|
+
children: hasError ? "Retry" : loading ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
79857
79878
|
/* @__PURE__ */ jsx$1(SvgRefresh, { className: "animate-spin" }),
|
|
79858
79879
|
"Loading"
|
|
79859
79880
|
] }) : "Continue"
|
|
@@ -80201,7 +80222,7 @@ function Home() {
|
|
|
80201
80222
|
/* @__PURE__ */ jsx$1(HomeScreenAddDriveItem, { onClick: onAddDriveClick })
|
|
80202
80223
|
] });
|
|
80203
80224
|
}
|
|
80204
|
-
const Content = React__default.lazy(() => __vitePreload(() => import("./content-
|
|
80225
|
+
const Content = React__default.lazy(() => __vitePreload(() => import("./content-Bzwen2cu.js"), true ? __vite__mapDeps([7,2,1,3]) : void 0));
|
|
80205
80226
|
async function createRouter(routes) {
|
|
80206
80227
|
var _a2;
|
|
80207
80228
|
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-BcrfA7NL.js","assets/main.CJeNNRYZ.js","assets/app-d-RO8igP.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.CJeNNRYZ.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) {
|
|
@@ -25772,7 +25772,7 @@ const nodeOptionsMap = {
|
|
|
25772
25772
|
};
|
|
25773
25773
|
const name = "@powerhousedao/connect";
|
|
25774
25774
|
const productName = "Powerhouse-Connect";
|
|
25775
|
-
const version$1 = "1.0.13-dev.
|
|
25775
|
+
const version$1 = "1.0.13-dev.1";
|
|
25776
25776
|
const description = "Powerhouse Connect";
|
|
25777
25777
|
const main = "./dist/index.html";
|
|
25778
25778
|
const type = "module";
|
|
@@ -31377,7 +31377,7 @@ if (window.__VITE_ENVS.MODE === "development") {
|
|
|
31377
31377
|
} else {
|
|
31378
31378
|
serviceWorkerManager.registerServiceWorker(false);
|
|
31379
31379
|
}
|
|
31380
|
-
const App = lazy(() => __vitePreload(() => import("./app-
|
|
31380
|
+
const App = lazy(() => __vitePreload(() => import("./app-BcrfA7NL.js").then((n) => n.aN), true ? __vite__mapDeps([0,1,2]) : void 0));
|
|
31381
31381
|
const AppLoader = /* @__PURE__ */ jsx(Suspense, { children: /* @__PURE__ */ jsx(App, {}) });
|
|
31382
31382
|
const appLoader = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
31383
31383
|
__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-BcrfA7NL.js";
|
|
2
|
+
import "./main.CJeNNRYZ.js";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
|
-
import "./app-loader-
|
|
4
|
+
import "./app-loader-y3E3d8jm.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-BcrfA7NL.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-y3E3d8jm.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 { DriveContextProvider, useDriveContext } 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.CJeNNRYZ.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 });
|
|
@@ -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-BcrfA7NL.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-y3E3d8jm.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.CJeNNRYZ.js";
|
|
7
7
|
import "@powerhousedao/reactor-browser";
|
|
8
8
|
import "react-dom";
|
|
9
9
|
import "@powerhousedao/reactor-browser/hooks/useUiNodesContext";
|
|
@@ -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.CJeNNRYZ.js";
|
|
14
|
+
import { aW as getAugmentedNamespace, $ as getDefaultExportFromCjs, ah as connectConfig, ac as logger } from "./app-loader-y3E3d8jm.js";
|
|
15
|
+
import { e as eventsExports, R as RENOWN_URL, g as getEnsInfo } from "./app-BcrfA7NL.js";
|
|
16
|
+
import { d, c, b, f, a, r, s } from "./app-BcrfA7NL.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-y3E3d8jm.js","assets/main.CJeNNRYZ.js","assets/app-loader-Br74gdhw.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import { _ as __vitePreload } from "./main.CJeNNRYZ.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-y3E3d8jm.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");
|
|
@@ -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-UcjYMbG3.js"), true ? [] : void 0);
|
|
103
103
|
export {
|
|
104
104
|
__vitePreload as _
|
|
105
105
|
};
|
package/dist/index.html
CHANGED
|
@@ -96,4 +96,4 @@
|
|
|
96
96
|
"@powerhousedao/reactor-browser/utils/index": "/modules/@powerhousedao/reactor-browser/utils/index.js",
|
|
97
97
|
"@powerhousedao/reactor-browser/utils/signature": "/modules/@powerhousedao/reactor-browser/utils/signature.js"
|
|
98
98
|
}
|
|
99
|
-
}</script><script type="module" crossorigin="" src="/assets/main.
|
|
99
|
+
}</script><script type="module" crossorigin="" src="/assets/main.CJeNNRYZ.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+
|
|
14
|
+
html=$(echo "PCFET0NUWVBFIGh0bWw+PGh0bWw+PGhlYWQ+PG1ldGEgY2hhcnNldD0iVVRGLTgiPjxtZXRhIG5hbWU9InZpZXdwb3J0IiBjb250ZW50PSJ3aWR0aD1kZXZpY2Utd2lkdGgsaW5pdGlhbC1zY2FsZT0xIj48dGl0bGU+UG93ZXJob3VzZSBDb25uZWN0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VyL3V0aWxzL3NpZ25hdHVyZSI6ICIvbW9kdWxlcy9AcG93ZXJob3VzZWRhby9yZWFjdG9yLWJyb3dzZXIvdXRpbHMvc2lnbmF0dXJlLmpzIgogIH0KfTwvc2NyaXB0PjxzY3JpcHQgdHlwZT0ibW9kdWxlIiBjcm9zc29yaWdpbj0iIiBzcmM9Ii9hc3NldHMvbWFpbi5DSmVOTlJZWi5qcyI+PC9zY3JpcHQ+PC9oZWFkPjxib2R5PjxkaXYgaWQ9ImFwcCI+PC9kaXY+PC9ib2R5PjwvaHRtbD4=" | 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.13-dev.
|
|
4
|
+
"version": "1.0.13-dev.1",
|
|
5
5
|
"description": "Powerhouse Connect",
|
|
6
6
|
"main": "./dist/index.html",
|
|
7
7
|
"type": "module",
|
|
@@ -83,13 +83,13 @@
|
|
|
83
83
|
"vite-tsconfig-paths": "^4.3.2",
|
|
84
84
|
"xvfb-maybe": "^0.2.1",
|
|
85
85
|
"@powerhousedao/builder-tools": "0.9.24-dev.0",
|
|
86
|
-
"@powerhousedao/common": "1.10.25-dev.0",
|
|
87
86
|
"@powerhousedao/design-system": "1.39.15-dev.2",
|
|
88
87
|
"@powerhousedao/config": "1.27.0-dev.2",
|
|
89
|
-
"@powerhousedao/
|
|
88
|
+
"@powerhousedao/common": "1.10.25-dev.0",
|
|
90
89
|
"@powerhousedao/scalars": "1.33.1-dev.1",
|
|
91
|
-
"
|
|
92
|
-
"document-drive": "1.29.8-dev.3"
|
|
90
|
+
"@powerhousedao/reactor-browser": "1.22.22-dev.1",
|
|
91
|
+
"document-drive": "1.29.8-dev.3",
|
|
92
|
+
"document-model": "2.28.1-dev.1"
|
|
93
93
|
},
|
|
94
94
|
"optionalDependencies": {
|
|
95
95
|
"@esbuild/linux-x64": "^0.21.4",
|
|
@@ -2802,10 +2802,6 @@
|
|
|
2802
2802
|
color: var(--color-gray-700);
|
|
2803
2803
|
}
|
|
2804
2804
|
|
|
2805
|
-
.text-gray-800 {
|
|
2806
|
-
color: var(--color-gray-800);
|
|
2807
|
-
}
|
|
2808
|
-
|
|
2809
2805
|
.text-green-700 {
|
|
2810
2806
|
color: var(--color-green-700);
|
|
2811
2807
|
}
|
|
@@ -5178,6 +5174,10 @@
|
|
|
5178
5174
|
color: var(--color-gray-600);
|
|
5179
5175
|
}
|
|
5180
5176
|
|
|
5177
|
+
.text-gray-800 {
|
|
5178
|
+
color: var(--color-gray-800);
|
|
5179
|
+
}
|
|
5180
|
+
|
|
5181
5181
|
.text-gray-900 {
|
|
5182
5182
|
color: var(--color-gray-900);
|
|
5183
5183
|
}
|