@powerhousedao/connect 1.0.19-dev.0 → 1.0.19-dev.2
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-CMvPXKGM.js → app-DgCWpRAi.js} +94 -86
- package/dist/assets/app-DgCWpRAi.js.map +1 -0
- package/dist/assets/{app-loader-CBJsoaTy.js → app-loader-BvmuBbHg.js} +184 -198
- package/dist/assets/app-loader-BvmuBbHg.js.map +1 -0
- package/dist/assets/{browser-C1XtII0d.js → browser-DDXfHleI.js} +4 -4
- package/dist/assets/{browser-C1XtII0d.js.map → browser-DDXfHleI.js.map} +1 -1
- package/dist/assets/{ccip-pghZxJM2.js → ccip-DpSDrBqK.js} +4 -4
- package/dist/assets/{ccip-pghZxJM2.js.map → ccip-DpSDrBqK.js.map} +1 -1
- package/dist/assets/{content-Ckphl3_k.js → content-BfmXiklP.js} +37 -10
- package/dist/assets/content-BfmXiklP.js.map +1 -0
- package/dist/assets/{index-CXW9Lig1.js → index-C6Izifpd.js} +5 -5
- package/dist/assets/{index-CXW9Lig1.js.map → index-C6Izifpd.js.map} +1 -1
- package/dist/assets/{index-Dgzoras6.js → index-CoRmasjt.js} +4 -4
- package/dist/assets/{index-Dgzoras6.js.map → index-CoRmasjt.js.map} +1 -1
- package/dist/assets/{index-BTynLKZO.js → index-CrRjMdvn.js} +4 -4
- package/dist/assets/{index-BTynLKZO.js.map → index-CrRjMdvn.js.map} +1 -1
- package/dist/assets/{main.yOd0NXUD.js → main.tB_v8aJ9.js} +2 -2
- package/dist/assets/{main.yOd0NXUD.js.map → main.tB_v8aJ9.js.map} +1 -1
- package/dist/assets/{reactor-analytics-8R1amkYi.js → reactor-analytics-CF6UOSpS.js} +4 -4
- package/dist/assets/{reactor-analytics-8R1amkYi.js.map → reactor-analytics-CF6UOSpS.js.map} +1 -1
- package/dist/assets/{router-vKaP_Iuh.js → router-CuTseNzw.js} +6 -6
- package/dist/assets/{router-vKaP_Iuh.js.map → router-CuTseNzw.js.map} +1 -1
- package/dist/index.html +1 -1
- package/dist/vite-envs.sh +1 -1
- package/package.json +7 -7
- package/dist/assets/app-CMvPXKGM.js.map +0 -1
- package/dist/assets/app-loader-CBJsoaTy.js.map +0 -1
- package/dist/assets/content-Ckphl3_k.js.map +0 -1
|
@@ -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-DgCWpRAi.js","assets/main.tB_v8aJ9.js","assets/app-b1jkE5Vo.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.tB_v8aJ9.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) {
|
|
@@ -23582,8 +23582,9 @@ class BaseDocumentDriveServer {
|
|
|
23582
23582
|
this.stopSyncRemoteDrive(driveId),
|
|
23583
23583
|
this.listenerManager.removeDrive(driveId),
|
|
23584
23584
|
this.cache.deleteDrive(driveId),
|
|
23585
|
-
this.
|
|
23585
|
+
this.documentStorage.delete(driveId)
|
|
23586
23586
|
]);
|
|
23587
|
+
this.eventEmitter.emit("driveDeleted", driveId);
|
|
23587
23588
|
result.forEach((r) => {
|
|
23588
23589
|
if (r.status === "rejected") {
|
|
23589
23590
|
throw r.reason;
|
|
@@ -24085,13 +24086,6 @@ class BaseDocumentDriveServer {
|
|
|
24085
24086
|
addDriveOperation(driveId, operation, options) {
|
|
24086
24087
|
return this.addDriveOperations(driveId, [operation], options);
|
|
24087
24088
|
}
|
|
24088
|
-
async clearStorage() {
|
|
24089
|
-
var _a2, _b;
|
|
24090
|
-
for (const drive of await this.getDrives()) {
|
|
24091
|
-
await this.deleteDrive(drive);
|
|
24092
|
-
}
|
|
24093
|
-
await ((_b = (_a2 = this.legacyStorage).clearStorage) == null ? void 0 : _b.call(_a2));
|
|
24094
|
-
}
|
|
24095
24089
|
async _addDriveOperations(driveId, callback) {
|
|
24096
24090
|
if (!this.legacyStorage.addDriveOperationsWithTransaction) {
|
|
24097
24091
|
const documentStorage = await this.documentStorage.get(driveId);
|
|
@@ -24442,17 +24436,17 @@ class MemoryStorage {
|
|
|
24442
24436
|
delete this.slugToDocumentId[slug];
|
|
24443
24437
|
}
|
|
24444
24438
|
}
|
|
24445
|
-
|
|
24446
|
-
|
|
24447
|
-
|
|
24448
|
-
|
|
24449
|
-
|
|
24450
|
-
|
|
24451
|
-
|
|
24452
|
-
|
|
24439
|
+
const parents = await this.getParents(documentId);
|
|
24440
|
+
for (const parent of parents) {
|
|
24441
|
+
await this.removeChild(parent, documentId);
|
|
24442
|
+
}
|
|
24443
|
+
const children = await this.getChildren(documentId);
|
|
24444
|
+
for (const child of children) {
|
|
24445
|
+
const childParents = await this.getParents(child);
|
|
24446
|
+
if (childParents.length === 1) {
|
|
24447
|
+
await this.delete(child);
|
|
24453
24448
|
}
|
|
24454
|
-
|
|
24455
|
-
} while (cursor);
|
|
24449
|
+
}
|
|
24456
24450
|
delete this.driveManifests[documentId];
|
|
24457
24451
|
if (this.documents[documentId]) {
|
|
24458
24452
|
delete this.documents[documentId];
|
|
@@ -24485,14 +24479,26 @@ class MemoryStorage {
|
|
|
24485
24479
|
const manifest = this.getManifest(parentId);
|
|
24486
24480
|
return [...manifest.documentIds];
|
|
24487
24481
|
}
|
|
24482
|
+
async getParents(childId) {
|
|
24483
|
+
const parents = [];
|
|
24484
|
+
for (const [driveId, manifest] of Object.entries(this.driveManifests)) {
|
|
24485
|
+
if (manifest.documentIds.has(childId)) {
|
|
24486
|
+
parents.push(driveId);
|
|
24487
|
+
}
|
|
24488
|
+
}
|
|
24489
|
+
return parents;
|
|
24490
|
+
}
|
|
24488
24491
|
////////////////////////////////
|
|
24489
|
-
//
|
|
24492
|
+
// IDocumentAdminStorage
|
|
24490
24493
|
////////////////////////////////
|
|
24491
|
-
async
|
|
24494
|
+
async clear() {
|
|
24492
24495
|
this.documents = {};
|
|
24493
24496
|
this.driveManifests = {};
|
|
24494
24497
|
this.slugToDocumentId = {};
|
|
24495
24498
|
}
|
|
24499
|
+
////////////////////////////////
|
|
24500
|
+
// IDriveStorage
|
|
24501
|
+
////////////////////////////////
|
|
24496
24502
|
async addDocumentOperations(drive, id, operations, header) {
|
|
24497
24503
|
const document = await this.get(id);
|
|
24498
24504
|
if (!document) {
|
|
@@ -24514,36 +24520,6 @@ class MemoryStorage {
|
|
|
24514
24520
|
operations: mergedOperations
|
|
24515
24521
|
};
|
|
24516
24522
|
}
|
|
24517
|
-
async deleteDrive(id) {
|
|
24518
|
-
const manifest = this.getManifest(id);
|
|
24519
|
-
let cursor;
|
|
24520
|
-
do {
|
|
24521
|
-
const { documents: drives, nextCursor } = await this.findByType("powerhouse/document-drive", 100, cursor);
|
|
24522
|
-
await Promise.all([...manifest.documentIds].map((docId) => {
|
|
24523
|
-
var _a2;
|
|
24524
|
-
for (const driveId of drives) {
|
|
24525
|
-
if (driveId === id) {
|
|
24526
|
-
continue;
|
|
24527
|
-
}
|
|
24528
|
-
const manifest2 = this.getManifest(driveId);
|
|
24529
|
-
if (manifest2.documentIds.has(docId)) {
|
|
24530
|
-
return;
|
|
24531
|
-
}
|
|
24532
|
-
}
|
|
24533
|
-
const document = this.documents[docId];
|
|
24534
|
-
if (document) {
|
|
24535
|
-
const slug = (_a2 = document.initialState.state.global) == null ? void 0 : _a2.slug;
|
|
24536
|
-
if (slug && this.slugToDocumentId[slug] === docId) {
|
|
24537
|
-
delete this.slugToDocumentId[slug];
|
|
24538
|
-
}
|
|
24539
|
-
}
|
|
24540
|
-
delete this.documents[docId];
|
|
24541
|
-
}));
|
|
24542
|
-
cursor = nextCursor;
|
|
24543
|
-
} while (cursor);
|
|
24544
|
-
delete this.driveManifests[id];
|
|
24545
|
-
delete this.documents[id];
|
|
24546
|
-
}
|
|
24547
24523
|
async getSynchronizationUnitsRevision(units) {
|
|
24548
24524
|
const results = await Promise.allSettled(units.map(async (unit) => {
|
|
24549
24525
|
try {
|
|
@@ -26037,7 +26013,7 @@ const nodeOptionsMap = {
|
|
|
26037
26013
|
};
|
|
26038
26014
|
const name = "@powerhousedao/connect";
|
|
26039
26015
|
const productName = "Powerhouse-Connect";
|
|
26040
|
-
const version$1 = "1.0.19-dev.
|
|
26016
|
+
const version$1 = "1.0.19-dev.2";
|
|
26041
26017
|
const description = "Powerhouse Connect";
|
|
26042
26018
|
const main = "./dist/index.html";
|
|
26043
26019
|
const type = "module";
|
|
@@ -26049,7 +26025,7 @@ const repository = { "type": "git", "url": "git+https://github.com/powerhouse-in
|
|
|
26049
26025
|
const bugs = { "url": "https://github.com/powerhouse-inc/document-model-electron/issues" };
|
|
26050
26026
|
const homepage = "https://github.com/powerhouse-inc/document-model-electron#readme";
|
|
26051
26027
|
const scripts = { "build:tsc": "tsc --build", "start": "electron-forge start", "package": "electron-forge package", "make": "PH_CONNECT_BASE_HREF=./ electron-forge make", "make:mac": "PH_CONNECT_BASE_HREF=./ electron-forge make -p darwin", "make:linux": "PH_CONNECT_BASE_HREF=./ electron-forge make -p linux", "make:windows": "PH_CONNECT_BASE_HREF=./ electron-forge make -p win32", "publish:electron": "electron-forge publish", "prepublishOnly": "npm run build", "lint": "eslint .", "lint:fix": "eslint --fix .", "lint:nx": "eslint --quiet --fix .", "format": 'prettier --write "**/*.+(js|ts|jsx|tsx|json)"', "dev": "vite -c vite.renderer.config.mts", "dev:nocache": "rm -rf node_modules/.vite && rm -rf node_modules/.cache && npm run dev", "prebuild": "tsc --build --noEmit", "build": "NODE_OPTIONS=--max-old-space-size=6144 vite build -c vite.renderer.config.mts", "preview:web": "vite preview -c vite.renderer.config.mts", "e2e": "playwright test", "cy:open": "cypress open", "build:service-worker": "tsc --build ./tsconfig.sw.json", "clean": "rimraf dist", "clean:node_modules": "rimraf node_modules" };
|
|
26052
|
-
const devDependencies = { "@electron-forge/cli": "^6.1.1", "@electron-forge/maker-deb": "^6.1.1", "@electron-forge/maker-rpm": "^6.1.1", "@electron-forge/maker-squirrel": "^6.1.1", "@electron-forge/maker-zip": "^6.1.1", "@electron-forge/plugin-vite": "^6.1.1", "@electron-forge/publisher-electron-release-server": "^6.2.1", "@electron-forge/publisher-github": "^7.2.0", "@electron-forge/shared-types": "^7.7.0", "@playwright/test": "^1.41.2", "@powerhousedao/builder-tools": "workspace:*", "@powerhousedao/common": "workspace:*", "@powerhousedao/config": "workspace:*", "@powerhousedao/design-system": "workspace:*", "@powerhousedao/diff-analyzer": "^0.0.0-dev.
|
|
26028
|
+
const devDependencies = { "@electron-forge/cli": "^6.1.1", "@electron-forge/maker-deb": "^6.1.1", "@electron-forge/maker-rpm": "^6.1.1", "@electron-forge/maker-squirrel": "^6.1.1", "@electron-forge/maker-zip": "^6.1.1", "@electron-forge/plugin-vite": "^6.1.1", "@electron-forge/publisher-electron-release-server": "^6.2.1", "@electron-forge/publisher-github": "^7.2.0", "@electron-forge/shared-types": "^7.7.0", "@playwright/test": "^1.41.2", "@powerhousedao/builder-tools": "workspace:*", "@powerhousedao/common": "workspace:*", "@powerhousedao/config": "workspace:*", "@powerhousedao/design-system": "workspace:*", "@powerhousedao/diff-analyzer": "^0.0.0-dev.4", "@powerhousedao/reactor-browser": "workspace:*", "@powerhousedao/scalars": "workspace:*", "@rollup/plugin-node-resolve": "^15.2.3", "@sentry/browser": "^9.1.0", "@sentry/react": "^7.109.0", "@sentry/vite-plugin": "^2.22.2", "@tailwindcss/vite": "^4.0.9", "@tanstack/react-virtual": "^3.8.1", "@types/node": "^22.13.10", "@types/react": "^18.2.79", "@types/react-dom": "^18.2.18", "@types/uuid": "^9.0.7", "@types/wicg-file-system-access": "^2020.9.6", "@vitejs/plugin-basic-ssl": "^1.2.0", "@vitejs/plugin-react": "^4.2.1", "asar": "^3.2.0", "did-key-creator": "^1.2.0", "document-drive": "workspace:*", "document-model": "workspace:*", "electron": "30.0.0", "electron-is-dev": "^3.0.1", "electron-playwright-helpers": "^1.7.1", "electron-squirrel-startup": "^1.0.0", "electron-store": "^8.1.0", "esbuild": "^0.24.0", "graphql": "^16.8.1", "graphql-request": "^6.1.0", "i18next": "^23.7.6", "jotai": "^2.1.0", "jotai-effect": "^1.1.6", "localforage": "^1.10.0", "lz-string": "^1.5.0", "playwright": "^1.41.2", "playwright-core": "^1.41.2", "react": "^18.2.0", "react-dom": "^18.2.0", "react-error-boundary": "^4.0.11", "react-hotkeys-hook": "^4.5.0", "react-i18next": "^13.5.0", "react-router-dom": "^6.11.2", "tailwind-merge": "^3.0.2", "tailwindcss": "^4.0.9", "uuid": "^9.0.1", "viem": "^2.8.13", "vite": "^6.2.2", "vite-envs": "^4.4.11", "vite-plugin-html": "^3.2.2", "vite-plugin-node-polyfills": "^0.23.0", "vite-plugin-svgr": "^4.2.0", "vite-tsconfig-paths": "^4.3.2", "xvfb-maybe": "^0.2.1" };
|
|
26053
26029
|
const optionalDependencies = { "@esbuild/linux-x64": "^0.21.4", "@rollup/rollup-linux-x64-musl": "4.14.3" };
|
|
26054
26030
|
const packageJson = {
|
|
26055
26031
|
name,
|
|
@@ -28830,6 +28806,9 @@ const _BrowserStorage = class _BrowserStorage {
|
|
|
28830
28806
|
name: namespace ? `${namespace}:${_BrowserStorage.DBName}` : _BrowserStorage.DBName
|
|
28831
28807
|
}));
|
|
28832
28808
|
}
|
|
28809
|
+
////////////////////////////////
|
|
28810
|
+
// IDocumentAdminStorage
|
|
28811
|
+
////////////////////////////////
|
|
28833
28812
|
async clear() {
|
|
28834
28813
|
const db = await this.db;
|
|
28835
28814
|
await db.clear();
|
|
@@ -28843,12 +28822,11 @@ const _BrowserStorage = class _BrowserStorage {
|
|
|
28843
28822
|
return !!document;
|
|
28844
28823
|
}
|
|
28845
28824
|
async create(documentId, document) {
|
|
28846
|
-
var _a2;
|
|
28847
28825
|
const db = await this.db;
|
|
28848
28826
|
if (await this.exists(documentId)) {
|
|
28849
28827
|
throw new DocumentAlreadyExistsError(documentId);
|
|
28850
28828
|
}
|
|
28851
|
-
const slug =
|
|
28829
|
+
const slug = document.initialState.state.global.slug ?? documentId;
|
|
28852
28830
|
if (slug) {
|
|
28853
28831
|
const slugManifest = await this.getSlugManifest();
|
|
28854
28832
|
if (slugManifest.slugToId[slug]) {
|
|
@@ -28933,8 +28911,8 @@ const _BrowserStorage = class _BrowserStorage {
|
|
|
28933
28911
|
if (!document) {
|
|
28934
28912
|
return false;
|
|
28935
28913
|
}
|
|
28914
|
+
const slug = (_a2 = document.initialState.state.global) == null ? void 0 : _a2.slug;
|
|
28936
28915
|
try {
|
|
28937
|
-
const slug = (_a2 = document.initialState.state.global) == null ? void 0 : _a2.slug;
|
|
28938
28916
|
if (slug) {
|
|
28939
28917
|
const slugManifest = await this.getSlugManifest();
|
|
28940
28918
|
if (slugManifest.slugToId[slug] === documentId) {
|
|
@@ -28944,17 +28922,17 @@ const _BrowserStorage = class _BrowserStorage {
|
|
|
28944
28922
|
}
|
|
28945
28923
|
} catch (error) {
|
|
28946
28924
|
}
|
|
28947
|
-
|
|
28948
|
-
|
|
28949
|
-
|
|
28950
|
-
|
|
28951
|
-
|
|
28952
|
-
|
|
28953
|
-
|
|
28954
|
-
|
|
28925
|
+
const parents = await this.getParents(documentId);
|
|
28926
|
+
for (const parent of parents) {
|
|
28927
|
+
await this.removeChild(parent, documentId);
|
|
28928
|
+
}
|
|
28929
|
+
const children = await this.getChildren(documentId);
|
|
28930
|
+
for (const child of children) {
|
|
28931
|
+
const childParents = await this.getParents(child);
|
|
28932
|
+
if (childParents.length === 1 && childParents[0] === documentId) {
|
|
28933
|
+
await this.delete(child);
|
|
28955
28934
|
}
|
|
28956
|
-
|
|
28957
|
-
} while (cursor);
|
|
28935
|
+
}
|
|
28958
28936
|
await db.removeItem(this.buildManifestKey(documentId));
|
|
28959
28937
|
await db.removeItem(this.buildDocumentKey(documentId));
|
|
28960
28938
|
return true;
|
|
@@ -28987,6 +28965,20 @@ const _BrowserStorage = class _BrowserStorage {
|
|
|
28987
28965
|
const manifest = await this.getManifest(parentId);
|
|
28988
28966
|
return manifest.documentIds;
|
|
28989
28967
|
}
|
|
28968
|
+
async getParents(childId) {
|
|
28969
|
+
const db = await this.db;
|
|
28970
|
+
const keys = await db.keys();
|
|
28971
|
+
const parents = [];
|
|
28972
|
+
const manifestKeys = keys.filter((key) => key.startsWith(`${_BrowserStorage.MANIFEST_KEY}${_BrowserStorage.SEP}`));
|
|
28973
|
+
for (const key of manifestKeys) {
|
|
28974
|
+
const driveId = key.slice(_BrowserStorage.MANIFEST_KEY.length + _BrowserStorage.SEP.length);
|
|
28975
|
+
const manifest = await this.getManifest(driveId);
|
|
28976
|
+
if (manifest.documentIds.includes(childId)) {
|
|
28977
|
+
parents.push(driveId);
|
|
28978
|
+
}
|
|
28979
|
+
}
|
|
28980
|
+
return parents;
|
|
28981
|
+
}
|
|
28990
28982
|
////////////////////////////////
|
|
28991
28983
|
// IDriveStorage
|
|
28992
28984
|
////////////////////////////////
|
|
@@ -29008,9 +29000,6 @@ const _BrowserStorage = class _BrowserStorage {
|
|
|
29008
29000
|
const db = await this.db;
|
|
29009
29001
|
await db.setItem(_BrowserStorage.SLUG_MANIFEST_KEY, manifest);
|
|
29010
29002
|
}
|
|
29011
|
-
async clearStorage() {
|
|
29012
|
-
return (await this.db).clear();
|
|
29013
|
-
}
|
|
29014
29003
|
async addDocumentOperations(drive, id, operations, header) {
|
|
29015
29004
|
const document = await this.get(id);
|
|
29016
29005
|
if (!document) {
|
|
@@ -29024,13 +29013,6 @@ const _BrowserStorage = class _BrowserStorage {
|
|
|
29024
29013
|
operations: mergedOperations
|
|
29025
29014
|
});
|
|
29026
29015
|
}
|
|
29027
|
-
async deleteDrive(id) {
|
|
29028
|
-
const documents = await this.getChildren(id);
|
|
29029
|
-
await Promise.all(documents.map((doc) => this.delete(doc)));
|
|
29030
|
-
const db = await this.db;
|
|
29031
|
-
await db.removeItem(this.buildManifestKey(id));
|
|
29032
|
-
return db.removeItem(this.buildDocumentKey(id));
|
|
29033
|
-
}
|
|
29034
29016
|
async addDriveOperations(id, operations, header) {
|
|
29035
29017
|
const drive = await this.get(id);
|
|
29036
29018
|
const mergedOperations = mergeOperations(drive.operations, operations);
|
|
@@ -29154,8 +29136,11 @@ const getReactorDefaultDrivesConfig = () => {
|
|
|
29154
29136
|
}
|
|
29155
29137
|
};
|
|
29156
29138
|
};
|
|
29157
|
-
function
|
|
29158
|
-
return new
|
|
29139
|
+
function createBrowserStorage(routerBasename) {
|
|
29140
|
+
return new BrowserStorage(routerBasename);
|
|
29141
|
+
}
|
|
29142
|
+
function createBrowserDocumentDriveServer(documentModels, storage) {
|
|
29143
|
+
return new ReactorBuilder(documentModels).withStorage(storage).withCache(new InMemoryCache()).withQueueManager(new BaseQueueManager(1, 10)).withOptions({ ...getReactorDefaultDrivesConfig() }).build();
|
|
29159
29144
|
}
|
|
29160
29145
|
const VERSION_CHECK_INTERVAL = parseInt(window.__VITE_ENVS.PH_CONNECT_VERSION_CHECK_INTERVAL) || 60 * 60 * 1e3;
|
|
29161
29146
|
const basePath = connectConfig.routerBasename;
|
|
@@ -31714,7 +31699,7 @@ if (window.__VITE_ENVS.MODE === "development") {
|
|
|
31714
31699
|
} else {
|
|
31715
31700
|
serviceWorkerManager.registerServiceWorker(false);
|
|
31716
31701
|
}
|
|
31717
|
-
const App = lazy(() => __vitePreload(() => import("./app-
|
|
31702
|
+
const App = lazy(() => __vitePreload(() => import("./app-DgCWpRAi.js").then((n) => n.bG), true ? __vite__mapDeps([0,1,2]) : void 0));
|
|
31718
31703
|
const AppLoader = /* @__PURE__ */ jsx(Suspense, { children: /* @__PURE__ */ jsx(App, {}) });
|
|
31719
31704
|
const appLoader = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
31720
31705
|
__proto__: null,
|
|
@@ -31750,7 +31735,7 @@ export {
|
|
|
31750
31735
|
pascalCase as Z,
|
|
31751
31736
|
logger$1 as _,
|
|
31752
31737
|
createReducer as a,
|
|
31753
|
-
|
|
31738
|
+
GraphQLError as a$,
|
|
31754
31739
|
getDefaultExportFromCjs as a0,
|
|
31755
31740
|
LOCAL as a1,
|
|
31756
31741
|
commonjsGlobal as a2,
|
|
@@ -31761,33 +31746,33 @@ export {
|
|
|
31761
31746
|
objectType as a7,
|
|
31762
31747
|
recordType as a8,
|
|
31763
31748
|
stringType as a9,
|
|
31764
|
-
|
|
31765
|
-
|
|
31766
|
-
|
|
31767
|
-
|
|
31768
|
-
|
|
31769
|
-
|
|
31770
|
-
|
|
31771
|
-
|
|
31772
|
-
|
|
31773
|
-
|
|
31774
|
-
|
|
31775
|
-
|
|
31776
|
-
|
|
31777
|
-
|
|
31778
|
-
|
|
31779
|
-
|
|
31780
|
-
|
|
31781
|
-
|
|
31782
|
-
|
|
31783
|
-
|
|
31784
|
-
|
|
31785
|
-
|
|
31786
|
-
|
|
31787
|
-
|
|
31788
|
-
|
|
31789
|
-
|
|
31790
|
-
|
|
31749
|
+
updateNode as aA,
|
|
31750
|
+
FILE as aB,
|
|
31751
|
+
moveNode as aC,
|
|
31752
|
+
generateNodesCopy as aD,
|
|
31753
|
+
copyNode as aE,
|
|
31754
|
+
createState as aF,
|
|
31755
|
+
setDriveName as aG,
|
|
31756
|
+
setAvailableOffline as aH,
|
|
31757
|
+
setSharingType as aI,
|
|
31758
|
+
SynchronizationUnitNotFoundError as aJ,
|
|
31759
|
+
removeTrigger as aK,
|
|
31760
|
+
generateUUID as aL,
|
|
31761
|
+
PullResponderTransmitter as aM,
|
|
31762
|
+
addTrigger as aN,
|
|
31763
|
+
ReadDriveNotFoundError as aO,
|
|
31764
|
+
openUrl as aP,
|
|
31765
|
+
getNodeOptions as aQ,
|
|
31766
|
+
DRIVE as aR,
|
|
31767
|
+
FOLDER as aS,
|
|
31768
|
+
requestPublicDrive as aT,
|
|
31769
|
+
serviceWorkerManager as aU,
|
|
31770
|
+
packageJson as aV,
|
|
31771
|
+
t as aW,
|
|
31772
|
+
generateId as aX,
|
|
31773
|
+
gql as aY,
|
|
31774
|
+
request as aZ,
|
|
31775
|
+
inspect as a_,
|
|
31791
31776
|
capitalCase as aa,
|
|
31792
31777
|
CLOUD as ab,
|
|
31793
31778
|
createZip as ac,
|
|
@@ -31801,97 +31786,98 @@ export {
|
|
|
31801
31786
|
process as ak,
|
|
31802
31787
|
setErrorHandler as al,
|
|
31803
31788
|
driveDocumentModelModule as am,
|
|
31804
|
-
|
|
31805
|
-
|
|
31806
|
-
|
|
31807
|
-
|
|
31808
|
-
|
|
31809
|
-
|
|
31810
|
-
|
|
31811
|
-
|
|
31812
|
-
|
|
31813
|
-
|
|
31814
|
-
|
|
31815
|
-
|
|
31816
|
-
|
|
31789
|
+
createBrowserStorage as an,
|
|
31790
|
+
createBrowserDocumentDriveServer as ao,
|
|
31791
|
+
hashKey as ap,
|
|
31792
|
+
childLogger as aq,
|
|
31793
|
+
reducer as ar,
|
|
31794
|
+
isDocumentDrive as as,
|
|
31795
|
+
generateAddNodeAction as at,
|
|
31796
|
+
isFileNode as au,
|
|
31797
|
+
uploadDocumentOperations as av,
|
|
31798
|
+
updateFile as aw,
|
|
31799
|
+
addFolder as ax,
|
|
31800
|
+
isFolderNode as ay,
|
|
31801
|
+
deleteNode as az,
|
|
31817
31802
|
SetStateSchemaInputSchema as b,
|
|
31818
|
-
|
|
31819
|
-
|
|
31820
|
-
|
|
31821
|
-
|
|
31822
|
-
|
|
31823
|
-
|
|
31824
|
-
|
|
31825
|
-
|
|
31826
|
-
|
|
31827
|
-
|
|
31828
|
-
|
|
31829
|
-
|
|
31830
|
-
|
|
31831
|
-
|
|
31832
|
-
|
|
31833
|
-
|
|
31834
|
-
|
|
31835
|
-
|
|
31836
|
-
|
|
31837
|
-
|
|
31838
|
-
|
|
31839
|
-
|
|
31840
|
-
|
|
31841
|
-
|
|
31842
|
-
|
|
31843
|
-
|
|
31844
|
-
|
|
31845
|
-
|
|
31846
|
-
|
|
31847
|
-
|
|
31848
|
-
|
|
31849
|
-
|
|
31850
|
-
|
|
31851
|
-
|
|
31852
|
-
|
|
31853
|
-
|
|
31854
|
-
|
|
31855
|
-
|
|
31856
|
-
|
|
31857
|
-
|
|
31858
|
-
|
|
31859
|
-
|
|
31860
|
-
|
|
31861
|
-
|
|
31862
|
-
|
|
31863
|
-
|
|
31864
|
-
|
|
31865
|
-
|
|
31866
|
-
|
|
31867
|
-
|
|
31868
|
-
|
|
31869
|
-
|
|
31870
|
-
|
|
31871
|
-
|
|
31872
|
-
|
|
31873
|
-
|
|
31874
|
-
|
|
31875
|
-
|
|
31876
|
-
|
|
31877
|
-
|
|
31878
|
-
|
|
31879
|
-
|
|
31880
|
-
|
|
31881
|
-
|
|
31803
|
+
nodeOptionsMap as b$,
|
|
31804
|
+
getNamedType as b0,
|
|
31805
|
+
invariant as b1,
|
|
31806
|
+
isInputObjectType as b2,
|
|
31807
|
+
isScalarType as b3,
|
|
31808
|
+
isObjectType as b4,
|
|
31809
|
+
isInterfaceType as b5,
|
|
31810
|
+
isUnionType as b6,
|
|
31811
|
+
isEnumType as b7,
|
|
31812
|
+
print as b8,
|
|
31813
|
+
isPrintableAsBlockString as b9,
|
|
31814
|
+
isCompositeType as bA,
|
|
31815
|
+
isOutputType as bB,
|
|
31816
|
+
isInputType as bC,
|
|
31817
|
+
GraphQLBoolean as bD,
|
|
31818
|
+
assertAbstractType as bE,
|
|
31819
|
+
doTypesOverlap as bF,
|
|
31820
|
+
DirectiveLocation as bG,
|
|
31821
|
+
specifiedRules as bH,
|
|
31822
|
+
NoUnusedFragmentsRule as bI,
|
|
31823
|
+
ExecutableDefinitionsRule as bJ,
|
|
31824
|
+
validate as bK,
|
|
31825
|
+
validateSchema as bL,
|
|
31826
|
+
GraphQLID as bM,
|
|
31827
|
+
GraphQLString as bN,
|
|
31828
|
+
GraphQLFloat as bO,
|
|
31829
|
+
GraphQLInt as bP,
|
|
31830
|
+
GraphQLDirective as bQ,
|
|
31831
|
+
GraphQLUnionType as bR,
|
|
31832
|
+
isNonNullType as bS,
|
|
31833
|
+
GraphQLNonNull as bT,
|
|
31834
|
+
isNamedType as bU,
|
|
31835
|
+
isLeafType as bV,
|
|
31836
|
+
GraphQLSchema as bW,
|
|
31837
|
+
buildSchema as bX,
|
|
31838
|
+
sentenceCase as bY,
|
|
31839
|
+
getDimensions as bZ,
|
|
31840
|
+
READ as b_,
|
|
31841
|
+
Kind as ba,
|
|
31842
|
+
astFromValue as bb,
|
|
31843
|
+
DEFAULT_DEPRECATION_REASON as bc,
|
|
31844
|
+
isSpecifiedDirective as bd,
|
|
31845
|
+
isSpecifiedScalarType as be,
|
|
31846
|
+
isIntrospectionType as bf,
|
|
31847
|
+
z as bg,
|
|
31848
|
+
GraphQLScalarType as bh,
|
|
31849
|
+
parse as bi,
|
|
31850
|
+
visit as bj,
|
|
31851
|
+
buildASTSchema as bk,
|
|
31852
|
+
extendSchema as bl,
|
|
31853
|
+
getNullableType as bm,
|
|
31854
|
+
isListType as bn,
|
|
31855
|
+
snakeCase as bo,
|
|
31856
|
+
constantCase as bp,
|
|
31857
|
+
isAbstractType as bq,
|
|
31858
|
+
BREAK as br,
|
|
31859
|
+
GraphQLInputObjectType as bs,
|
|
31860
|
+
GraphQLList as bt,
|
|
31861
|
+
GraphQLEnumType as bu,
|
|
31862
|
+
GraphQLObjectType as bv,
|
|
31863
|
+
GraphQLInterfaceType as bw,
|
|
31864
|
+
SchemaMetaFieldDef as bx,
|
|
31865
|
+
TypeMetaFieldDef as by,
|
|
31866
|
+
TypeNameMetaFieldDef as bz,
|
|
31882
31867
|
createAction as c,
|
|
31883
|
-
|
|
31884
|
-
|
|
31885
|
-
|
|
31886
|
-
|
|
31887
|
-
|
|
31888
|
-
|
|
31889
|
-
|
|
31890
|
-
|
|
31891
|
-
|
|
31892
|
-
|
|
31893
|
-
|
|
31894
|
-
|
|
31868
|
+
defaultFileOptions as c0,
|
|
31869
|
+
DELETE as c1,
|
|
31870
|
+
RENAME as c2,
|
|
31871
|
+
WRITE as c3,
|
|
31872
|
+
DUPLICATE as c4,
|
|
31873
|
+
defaultFolderOptions as c5,
|
|
31874
|
+
garbageCollect as c6,
|
|
31875
|
+
sortOperations as c7,
|
|
31876
|
+
UI_NODE as c8,
|
|
31877
|
+
undo as c9,
|
|
31878
|
+
redo as ca,
|
|
31879
|
+
useDocumentDispatch as cb,
|
|
31880
|
+
appLoader as cc,
|
|
31895
31881
|
ReorderModuleOperationsInputSchema as d,
|
|
31896
31882
|
DeleteOperationInputSchema as e,
|
|
31897
31883
|
SetOperationReducerInputSchema as f,
|
|
@@ -31916,4 +31902,4 @@ export {
|
|
|
31916
31902
|
ReorderModulesInputSchema as y,
|
|
31917
31903
|
DeleteModuleInputSchema as z
|
|
31918
31904
|
};
|
|
31919
|
-
//# sourceMappingURL=app-loader-
|
|
31905
|
+
//# sourceMappingURL=app-loader-BvmuBbHg.js.map
|