@powerhousedao/powerhouse-vetra-packages 6.2.2-dev.42 → 6.2.2-dev.44
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/browser/assets/{entry-Db_lIhQq.js → entry-C2ClkbVN.js} +2 -2
- package/dist/browser/assets/{projection-entry-DqgHaUSy.js → projection-entry-S39DdeT-.js} +3 -3
- package/dist/browser/{linting-_AQWr8aE.js → button-CuO8Gh3v.js} +17 -4
- package/dist/browser/button-CuO8Gh3v.js.map +1 -0
- package/dist/browser/{connect-BUnNjGUW.js → connect-70_1bgIZ.js} +49 -7
- package/dist/browser/{connect-BUnNjGUW.js.map → connect-70_1bgIZ.js.map} +1 -1
- package/dist/browser/{dist-BatmWBzA.js → dist-CXIjN0Ex.js} +150 -25
- package/dist/browser/dist-CXIjN0Ex.js.map +1 -0
- package/dist/browser/{document-drive-D3Z9vXTQ.js → document-drive-PYPIaEvw.js} +197 -13
- package/dist/browser/document-drive-PYPIaEvw.js.map +1 -0
- package/dist/browser/document-models/index.js +1 -1
- package/dist/browser/{editor-BLeFoOh6.js → editor-DOJeQKlN.js} +5 -5
- package/dist/browser/{editor-BLeFoOh6.js.map → editor-DOJeQKlN.js.map} +1 -1
- package/dist/browser/{editor-Bn6uXvxG.js → editor-QW6D3wl8.js} +668 -101
- package/dist/browser/editor-QW6D3wl8.js.map +1 -0
- package/dist/browser/editors/document-model-editor/module.js +1 -1
- package/dist/browser/editors/generic-drive-explorer/index.js +4 -4
- package/dist/browser/editors/generic-drive-explorer/module.js +1 -1
- package/dist/browser/{folder-view-DNzFnfW2.js → folder-view-VM5cJbvv.js} +29 -10
- package/dist/browser/folder-view-VM5cJbvv.js.map +1 -0
- package/dist/browser/{graphql-editor-DWo8N_z4.js → graphql-editor-CjpiNMV0.js} +3 -3
- package/dist/browser/{graphql-editor-DWo8N_z4.js.map → graphql-editor-CjpiNMV0.js.map} +1 -1
- package/dist/browser/index.js +378 -9
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/{json-editor-CEugjpFj.js → json-editor-CeIHor4v.js} +3 -3
- package/dist/browser/{json-editor-CEugjpFj.js.map → json-editor-CeIHor4v.js.map} +1 -1
- package/dist/browser/{lib-CiaHsAaR.js → lib-PZlA5c3e.js} +2 -2
- package/dist/browser/lib-PZlA5c3e.js.map +1 -0
- package/dist/browser/{state-schemas-VrticHe4.js → state-schemas-CbPirA44.js} +5 -15
- package/dist/browser/state-schemas-CbPirA44.js.map +1 -0
- package/dist/node/{linting-BjvRPjCY.mjs → button-Da7CxMn7.mjs} +17 -4
- package/dist/node/button-Da7CxMn7.mjs.map +1 -0
- package/dist/node/{connect-wMkkAckX.mjs → connect-CkBYxX_q.mjs} +49 -7
- package/dist/node/{connect-wMkkAckX.mjs.map → connect-CkBYxX_q.mjs.map} +1 -1
- package/dist/node/{dist-CUHBOv3P.mjs → dist-CS8QwZwZ.mjs} +150 -25
- package/dist/node/dist-CS8QwZwZ.mjs.map +1 -0
- package/dist/node/{document-drive-CI0J7nMj.mjs → document-drive-DrBAR9as.mjs} +197 -13
- package/dist/node/document-drive-DrBAR9as.mjs.map +1 -0
- package/dist/node/document-models/index.mjs +1 -1
- package/dist/node/{editor-Cr-mNQca.mjs → editor-ClZqmnoh.mjs} +670 -103
- package/dist/node/editor-ClZqmnoh.mjs.map +1 -0
- package/dist/node/{editor-aIeTo2EE.mjs → editor-Dv22q5WR.mjs} +5 -5
- package/dist/node/{editor-aIeTo2EE.mjs.map → editor-Dv22q5WR.mjs.map} +1 -1
- package/dist/node/editors/document-model-editor/module.mjs +1 -1
- package/dist/node/editors/generic-drive-explorer/index.mjs +4 -4
- package/dist/node/editors/generic-drive-explorer/module.mjs +1 -1
- package/dist/node/{folder-view-_x1OBYZN.mjs → folder-view-6H-dMp8X.mjs} +29 -10
- package/dist/node/folder-view-6H-dMp8X.mjs.map +1 -0
- package/dist/node/{graphql-editor-Dd2_z5QJ.mjs → graphql-editor-DP0o3W7f.mjs} +3 -3
- package/dist/node/{graphql-editor-Dd2_z5QJ.mjs.map → graphql-editor-DP0o3W7f.mjs.map} +1 -1
- package/dist/node/index.mjs +378 -9
- package/dist/node/index.mjs.map +1 -1
- package/dist/node/{json-editor-Dphg6ZeL.mjs → json-editor-CNbnXYz6.mjs} +3 -3
- package/dist/node/{json-editor-Dphg6ZeL.mjs.map → json-editor-CNbnXYz6.mjs.map} +1 -1
- package/dist/node/{main-Db0ei9wX.mjs → main-aITg389Z.mjs} +2 -2
- package/dist/node/main-aITg389Z.mjs.map +1 -0
- package/dist/node/{state-schemas-BSLgTw2O.mjs → state-schemas-CylQoH3Q.mjs} +6 -16
- package/dist/{browser/state-schemas-VrticHe4.js.map → node/state-schemas-CylQoH3Q.mjs.map} +1 -1
- package/package.json +7 -6
- package/dist/browser/dist-BatmWBzA.js.map +0 -1
- package/dist/browser/document-drive-D3Z9vXTQ.js.map +0 -1
- package/dist/browser/editor-Bn6uXvxG.js.map +0 -1
- package/dist/browser/folder-view-DNzFnfW2.js.map +0 -1
- package/dist/browser/lib-CiaHsAaR.js.map +0 -1
- package/dist/browser/linting-_AQWr8aE.js.map +0 -1
- package/dist/node/dist-CUHBOv3P.mjs.map +0 -1
- package/dist/node/document-drive-CI0J7nMj.mjs.map +0 -1
- package/dist/node/editor-Cr-mNQca.mjs.map +0 -1
- package/dist/node/folder-view-_x1OBYZN.mjs.map +0 -1
- package/dist/node/linting-BjvRPjCY.mjs.map +0 -1
- package/dist/node/main-Db0ei9wX.mjs.map +0 -1
- package/dist/node/state-schemas-BSLgTw2O.mjs.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { D as __commonJSMin, M as __toESM, t as capitalCase } from "./dist-DT7jI9ol.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { a as DriveCollectionId, i as SyncStatus, o as ModuleNotFoundError, t as require_main } from "./main-
|
|
2
|
+
import { A as createZip, B as replayDocumentVersioned, C as baseSaveToFileHandle, D as createPresignedHeader, S as baseLoadFromInputVersioned, Y as setName, a as handleTargetNameCollisions, at as generateId, f as logger, i as generateNodesCopy, it as validateStateSchemaName, l as moveNode, n as copyNode, nt as validateInitialState, o as isFileNode, rt as validateModules, s as isFolderNode, t as addFolder, u as updateNode, v as assertAuthPreservedOnDuplicate, w as buildSignedAction, x as baseLoadFromInput } from "./document-drive-DrBAR9as.mjs";
|
|
3
|
+
import { a as DriveCollectionId, i as SyncStatus, o as ModuleNotFoundError, t as require_main } from "./main-aITg389Z.mjs";
|
|
4
4
|
import { t as require_graphql } from "./graphql-BfAoPeWM.mjs";
|
|
5
5
|
import { createContext, use, useCallback, useContext, useEffect, useMemo, useState, useSyncExternalStore } from "react";
|
|
6
6
|
import "react/jsx-runtime";
|
|
@@ -52,7 +52,7 @@ function makePHEventFunctions(key) {
|
|
|
52
52
|
};
|
|
53
53
|
}
|
|
54
54
|
//#endregion
|
|
55
|
-
//#region ../reactor-browser/dist/document-by-id-
|
|
55
|
+
//#region ../reactor-browser/dist/document-by-id-DWEQI7wn.js
|
|
56
56
|
async function queueActions(document, actionOrActions) {
|
|
57
57
|
if (!document) throw new Error("No document provided");
|
|
58
58
|
if (!actionOrActions) throw new Error("No actions provided");
|
|
@@ -103,7 +103,7 @@ async function signAction(action, document) {
|
|
|
103
103
|
if (!action.context?.signer) return action;
|
|
104
104
|
const reactorClient = window.ph?.reactorClientModule?.client;
|
|
105
105
|
if (!reactorClient) return action;
|
|
106
|
-
const reducer = (await reactorClient.
|
|
106
|
+
const reducer = (await reactorClient.getDocumentModelModuleForDocument(document)).reducer;
|
|
107
107
|
const actionSigner = action.context.signer;
|
|
108
108
|
return await buildSignedAction(action, reducer, document, actionSigner, renown.crypto.sign);
|
|
109
109
|
}
|
|
@@ -1743,7 +1743,7 @@ slug.setLocale = function(locale) {
|
|
|
1743
1743
|
defaultLocale = locales[locale] || {};
|
|
1744
1744
|
};
|
|
1745
1745
|
//#endregion
|
|
1746
|
-
//#region ../reactor-browser/dist/document-operations-
|
|
1746
|
+
//#region ../reactor-browser/dist/document-operations-D0ePGjbp.js
|
|
1747
1747
|
var DocumentModelNotFoundError = class extends Error {
|
|
1748
1748
|
documentType;
|
|
1749
1749
|
name = "DocumentModelNotFoundError";
|
|
@@ -1765,6 +1765,22 @@ var NoSelectedDocumentError = class extends Error {
|
|
|
1765
1765
|
super("There is no selected document. Did you mean to call 'useSelectedDocumentSafe' instead?");
|
|
1766
1766
|
}
|
|
1767
1767
|
};
|
|
1768
|
+
const modalEventFunctions = makePHEventFunctions("modal");
|
|
1769
|
+
modalEventFunctions.useValue;
|
|
1770
|
+
/** Sets the current modal */
|
|
1771
|
+
const setPHModal = modalEventFunctions.setValue;
|
|
1772
|
+
modalEventFunctions.addEventHandler;
|
|
1773
|
+
/** Shows a modal */
|
|
1774
|
+
function showPHModal(modal) {
|
|
1775
|
+
setPHModal(modal);
|
|
1776
|
+
}
|
|
1777
|
+
/** Shows the delete node modal */
|
|
1778
|
+
function showDeleteNodeModal(nodeOrId) {
|
|
1779
|
+
setPHModal({
|
|
1780
|
+
type: "deleteItem",
|
|
1781
|
+
id: typeof nodeOrId === "string" ? nodeOrId : nodeOrId.id
|
|
1782
|
+
});
|
|
1783
|
+
}
|
|
1768
1784
|
function getUserPermissions() {
|
|
1769
1785
|
const user = window.ph?.renown?.user;
|
|
1770
1786
|
const allowList = window.ph?.allowList;
|
|
@@ -1840,6 +1856,67 @@ function extractInitialState(documentScopeOps) {
|
|
|
1840
1856
|
function filterDomainOperations(operations) {
|
|
1841
1857
|
return Object.fromEntries(Object.entries(operations).filter(([scope]) => !NON_DOMAIN_SCOPES.has(scope)));
|
|
1842
1858
|
}
|
|
1859
|
+
function countOperations(operations) {
|
|
1860
|
+
let total = 0;
|
|
1861
|
+
for (const ops of Object.values(operations)) total += ops?.length ?? 0;
|
|
1862
|
+
return total;
|
|
1863
|
+
}
|
|
1864
|
+
/**
|
|
1865
|
+
* Split an imported document's domain operations at its mid-history upgrade
|
|
1866
|
+
* boundaries, so the caller can re-dispatch each upgrade between segments.
|
|
1867
|
+
*
|
|
1868
|
+
* The seed's CREATE_DOCUMENT and 0 -> N upgrade are replayed by the creation
|
|
1869
|
+
* path and must not be repeated. A later upgrade must be: it is where the
|
|
1870
|
+
* reducer version changes, and dropping it replays everything after it through
|
|
1871
|
+
* the module the document was created with.
|
|
1872
|
+
*/
|
|
1873
|
+
function splitAtUpgradeBoundaries(operations) {
|
|
1874
|
+
const upgrades = (operations.document ?? []).filter((op) => op.action.type === "UPGRADE_DOCUMENT").filter((op) => op.action.input.fromVersion > 0).sort((a, b) => a.index - b.index);
|
|
1875
|
+
const domain = filterDomainOperations(operations);
|
|
1876
|
+
if (upgrades.length === 0) return [{ operations: domain }];
|
|
1877
|
+
const segments = [];
|
|
1878
|
+
const consumed = /* @__PURE__ */ new Map();
|
|
1879
|
+
const take = (until) => {
|
|
1880
|
+
const slice = {};
|
|
1881
|
+
for (const [scope, ops] of Object.entries(domain)) {
|
|
1882
|
+
if (!ops) continue;
|
|
1883
|
+
const from = consumed.get(scope) ?? 0;
|
|
1884
|
+
const stop = Math.max(from, until(scope, ops));
|
|
1885
|
+
const chunk = ops.slice(from, stop);
|
|
1886
|
+
if (chunk.length > 0) slice[scope] = chunk;
|
|
1887
|
+
consumed.set(scope, stop);
|
|
1888
|
+
}
|
|
1889
|
+
return slice;
|
|
1890
|
+
};
|
|
1891
|
+
for (const upgrade of upgrades) {
|
|
1892
|
+
const input = upgrade.action.input;
|
|
1893
|
+
const slice = take((scope, ops) => boundary(upgrade, scope, ops));
|
|
1894
|
+
segments.push({
|
|
1895
|
+
operations: slice,
|
|
1896
|
+
upgradeTo: input.toVersion
|
|
1897
|
+
});
|
|
1898
|
+
}
|
|
1899
|
+
const tail = take((_scope, ops) => ops.length);
|
|
1900
|
+
if (countOperations(tail) > 0) segments.push({ operations: tail });
|
|
1901
|
+
return segments;
|
|
1902
|
+
}
|
|
1903
|
+
/**
|
|
1904
|
+
* How many of a scope's operations precede an upgrade. Must stay identical to
|
|
1905
|
+
* the boundary computation in `replayDocumentVersioned` — snapshots compare
|
|
1906
|
+
* against operation indices, not array positions, and the timestamp fallback
|
|
1907
|
+
* excludes the upgrade's own instant.
|
|
1908
|
+
*/
|
|
1909
|
+
function boundary(upgrade, scope, ops) {
|
|
1910
|
+
const snapshot = upgrade.action.input.revision;
|
|
1911
|
+
if (snapshot !== void 0) {
|
|
1912
|
+
const revision = snapshot[scope] ?? 0;
|
|
1913
|
+
let count = 0;
|
|
1914
|
+
for (let i = 0; i < ops.length; i++) if (ops[i].index < revision) count = i + 1;
|
|
1915
|
+
return count;
|
|
1916
|
+
}
|
|
1917
|
+
for (let i = 0; i < ops.length; i++) if (ops[i].timestampUtcMs >= upgrade.timestampUtcMs) return i;
|
|
1918
|
+
return ops.length;
|
|
1919
|
+
}
|
|
1843
1920
|
async function exportFile(document, suggestedName) {
|
|
1844
1921
|
const reactorClient = window.ph?.reactorClient;
|
|
1845
1922
|
if (!reactorClient) throw new Error("ReactorClient not initialized");
|
|
@@ -1887,13 +1964,20 @@ async function loadFile(path) {
|
|
|
1887
1964
|
upgradeManifest
|
|
1888
1965
|
});
|
|
1889
1966
|
}
|
|
1890
|
-
async function addDocument(driveId, name, documentType, parentFolder, document, id, preferredEditor) {
|
|
1967
|
+
async function addDocument(driveId, name, documentType, parentFolder, document, id, preferredEditor, documentModelVersion) {
|
|
1891
1968
|
const { isAllowedToCreateDocuments } = getUserPermissions();
|
|
1892
1969
|
if (!isAllowedToCreateDocuments) throw new Error("User is not allowed to create documents");
|
|
1893
1970
|
const reactorClient = window.ph?.reactorClientModule?.client;
|
|
1894
1971
|
if (!reactorClient) throw new Error("ReactorClient not initialized");
|
|
1895
|
-
|
|
1972
|
+
let documentModelModule;
|
|
1973
|
+
if (documentModelVersion !== void 0) {
|
|
1974
|
+
const { results: documentModelModules } = await reactorClient.getDocumentModelModules();
|
|
1975
|
+
const module = documentModelModules.find((m) => m.documentModel.global.id === documentType && (m.version ?? 1) === documentModelVersion);
|
|
1976
|
+
if (!module) throw new Error(`Document model not found for type: ${documentType} with version: ${documentModelVersion}`);
|
|
1977
|
+
documentModelModule = module;
|
|
1978
|
+
} else documentModelModule = await reactorClient.getDocumentModelModule(documentType);
|
|
1896
1979
|
const newDocument = document ?? documentModelModule.utils.createDocument();
|
|
1980
|
+
if (!document) newDocument.state.document.version = documentModelModule.version ?? 1;
|
|
1897
1981
|
newDocument.header.name = name;
|
|
1898
1982
|
if (preferredEditor) newDocument.header.meta = {
|
|
1899
1983
|
...newDocument.header.meta,
|
|
@@ -1941,7 +2025,10 @@ async function addFile(file, driveId, name, parentFolder) {
|
|
|
1941
2025
|
}, {})
|
|
1942
2026
|
};
|
|
1943
2027
|
await addDocument(driveId, name || document.header.name, document.header.documentType, parentFolder, initialDocument, documentId, document.header.meta?.preferredEditor);
|
|
1944
|
-
|
|
2028
|
+
for (const segment of splitAtUpgradeBoundaries(document.operations)) {
|
|
2029
|
+
await uploadOperations(documentId, segment.operations, queueOperations);
|
|
2030
|
+
if (segment.upgradeTo !== void 0) await upgradeDocument(documentId, segment.upgradeTo);
|
|
2031
|
+
}
|
|
1945
2032
|
}
|
|
1946
2033
|
async function addFolder$1(driveId, name, parentFolder) {
|
|
1947
2034
|
const { isAllowedToCreateDocuments } = getUserPermissions();
|
|
@@ -2070,21 +2157,14 @@ async function copyNode$1(driveId, src, target) {
|
|
|
2070
2157
|
}
|
|
2071
2158
|
return await queueActions(drive, copyNodesInput.map((copyNodeInput) => copyNode(copyNodeInput)));
|
|
2072
2159
|
}
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
}
|
|
2082
|
-
/** Shows the delete node modal */
|
|
2083
|
-
function showDeleteNodeModal(nodeOrId) {
|
|
2084
|
-
setPHModal({
|
|
2085
|
-
type: "deleteItem",
|
|
2086
|
-
id: typeof nodeOrId === "string" ? nodeOrId : nodeOrId.id
|
|
2087
|
-
});
|
|
2160
|
+
/**
|
|
2161
|
+
* Upgrades a document to a newer document model version. Defaults to the
|
|
2162
|
+
* latest registered version for the document's type.
|
|
2163
|
+
*/
|
|
2164
|
+
async function upgradeDocument(documentId, toVersion) {
|
|
2165
|
+
const reactorClient = window.ph?.reactorClientModule?.client;
|
|
2166
|
+
if (!reactorClient) throw new Error("ReactorClient not initialized");
|
|
2167
|
+
return reactorClient.upgradeDocument(documentId, toVersion);
|
|
2088
2168
|
}
|
|
2089
2169
|
/**
|
|
2090
2170
|
* The operation selection of `GetDocumentOperations`, lifted into a fragment so
|
|
@@ -2696,6 +2776,7 @@ const useSync = () => useReactorClientModule()?.reactorModule?.syncModule?.syncM
|
|
|
2696
2776
|
const useSyncList = () => {
|
|
2697
2777
|
return useSync()?.list() ?? [];
|
|
2698
2778
|
};
|
|
2779
|
+
const useModelRegistry = () => useReactorClientModule()?.reactorModule?.documentModelRegistry;
|
|
2699
2780
|
const revisionHistoryEventFunctions = makePHEventFunctions("revisionHistoryVisible");
|
|
2700
2781
|
revisionHistoryEventFunctions.useValue;
|
|
2701
2782
|
/** Sets revision history visibility */
|
|
@@ -3550,6 +3631,50 @@ function useDocumentOfType(documentId, documentType) {
|
|
|
3550
3631
|
if (document.header.documentType !== documentType) throw new DocumentTypeMismatchError(documentId, documentType, document.header.documentType);
|
|
3551
3632
|
return [document, dispatch];
|
|
3552
3633
|
}
|
|
3634
|
+
/**
|
|
3635
|
+
* Classifies a document's model version against the installed module
|
|
3636
|
+
* versions. Pure logic, extracted for testing.
|
|
3637
|
+
*/
|
|
3638
|
+
function getDocumentVersionStatus(documentVersion, availableVersions, hasUpgradePath) {
|
|
3639
|
+
if (availableVersions.length === 0) return;
|
|
3640
|
+
const sorted = [...availableVersions].sort((a, b) => a - b);
|
|
3641
|
+
const latestVersion = sorted[sorted.length - 1];
|
|
3642
|
+
if (documentVersion > latestVersion) return {
|
|
3643
|
+
kind: "unsupported",
|
|
3644
|
+
documentVersion,
|
|
3645
|
+
availableVersions: sorted
|
|
3646
|
+
};
|
|
3647
|
+
if (documentVersion === latestVersion) return {
|
|
3648
|
+
kind: "current",
|
|
3649
|
+
documentVersion
|
|
3650
|
+
};
|
|
3651
|
+
return {
|
|
3652
|
+
kind: "upgrade-available",
|
|
3653
|
+
documentVersion,
|
|
3654
|
+
latestVersion,
|
|
3655
|
+
canUpgrade: hasUpgradePath(documentVersion, latestVersion)
|
|
3656
|
+
};
|
|
3657
|
+
}
|
|
3658
|
+
/**
|
|
3659
|
+
* Compares the given document's model version against the versions available
|
|
3660
|
+
* from installed Vetra packages. Returns undefined while packages load or
|
|
3661
|
+
* when the document type has no installed modules.
|
|
3662
|
+
*/
|
|
3663
|
+
function useDocumentVersionStatus(document) {
|
|
3664
|
+
const modules = useDocumentModelModules();
|
|
3665
|
+
const registry = useModelRegistry();
|
|
3666
|
+
if (!document || !modules) return;
|
|
3667
|
+
const documentType = document.header.documentType;
|
|
3668
|
+
return getDocumentVersionStatus(document.state.document.version || 1, modules.filter((m) => m.documentModel.global.id === documentType).map((m) => m.version ?? 1), (fromVersion, toVersion) => {
|
|
3669
|
+
if (!registry) return false;
|
|
3670
|
+
try {
|
|
3671
|
+
registry.computeUpgradePath(documentType, fromVersion, toVersion);
|
|
3672
|
+
return true;
|
|
3673
|
+
} catch {
|
|
3674
|
+
return false;
|
|
3675
|
+
}
|
|
3676
|
+
});
|
|
3677
|
+
}
|
|
3553
3678
|
const validateDocument = (document) => {
|
|
3554
3679
|
const errors = [];
|
|
3555
3680
|
if (document.header.documentType !== "powerhouse/document-model") return errors;
|
|
@@ -3977,6 +4102,6 @@ function createDebouncedRefreshReactorDataClient(debounceDelayMs = DEFAULT_DEBOU
|
|
|
3977
4102
|
createDebouncedRefreshReactorData();
|
|
3978
4103
|
createDebouncedRefreshReactorDataClient();
|
|
3979
4104
|
//#endregion
|
|
3980
|
-
export {
|
|
4105
|
+
export { showRevisionHistory as A, t$2 as B, addFolder$1 as C, setSelectedNode as D, setSelectedDrive as E, useSelectedDriveId as F, useDocumentById as H, useSelectedDriveSafe as I, useStudioMode as L, useDragNode as M, useDropNode as N, showDeleteNodeModal as O, usePHToast as P, e$1 as R, addDocument as S, isFolderNodeKind as T, t$5 as V, useSelectedNodePath as _, useDownloadDocument as a, useTheme as b, useGetSwitchboardLink as c, useNodeParentFolderById as d, useNodesInSelectedDriveOrFolder as f, useSelectedFolder as g, useSelectedDocumentSafe as h, useDocumentVersionStatus as i, useDisabledEditors as j, showPHModal as k, useNodeActions as l, useSelectedDocumentOfType as m, preloadEditorModule as n, useEditorModules as o, useParentFolderForSelectedNode as p, useAllowedDocumentModelModules as r, useEditorModulesForDocumentType as s, getSyncStatusSync as t, useNodeById as u, useSetPHAppConfig as v, isFileNodeKind as w, useUserPermissions as x, useSetPHDocumentEditorConfig as y, e$4 as z };
|
|
3981
4106
|
|
|
3982
|
-
//# sourceMappingURL=dist-
|
|
4107
|
+
//# sourceMappingURL=dist-CS8QwZwZ.mjs.map
|