@powerhousedao/powerhouse-vetra-packages 6.2.2-dev.53 → 6.2.2-dev.55
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-CHj7_KqV.js → entry-D-JZwwGk.js} +2 -2
- package/dist/browser/assets/{projection-entry-Deqa5Gd1.js → projection-entry-64-WZZjU.js} +2 -2
- package/dist/browser/{connect-CxCgNBS5.js → connect-D1KIMa_5.js} +4 -4
- package/dist/browser/{connect-CxCgNBS5.js.map → connect-D1KIMa_5.js.map} +1 -1
- package/dist/browser/{dist-BvAny8D6.js → dist-dmLcxsWV.js} +46 -18
- package/dist/browser/dist-dmLcxsWV.js.map +1 -0
- package/dist/browser/{document-drive-DODPIGg7.js → document-drive-cxHraTVQ.js} +72 -2
- package/dist/browser/document-drive-cxHraTVQ.js.map +1 -0
- package/dist/browser/document-models/index.js +1 -1
- package/dist/browser/{editor-CI2ALn3N.js → editor-BAUTcFP2.js} +6 -6
- package/dist/browser/{editor-CI2ALn3N.js.map → editor-BAUTcFP2.js.map} +1 -1
- package/dist/browser/{editor-D3t_GHDk.js → editor-PmQcB82h.js} +5 -5
- package/dist/browser/{editor-D3t_GHDk.js.map → editor-PmQcB82h.js.map} +1 -1
- 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-BZrdvaCI.js → folder-view-CWnDdLMC.js} +3 -3
- package/dist/browser/{folder-view-BZrdvaCI.js.map → folder-view-CWnDdLMC.js.map} +1 -1
- package/dist/browser/{graphql-editor-BFPxzM2v.js → graphql-editor-Cq_L5IUQ.js} +3 -3
- package/dist/browser/{graphql-editor-BFPxzM2v.js.map → graphql-editor-Cq_L5IUQ.js.map} +1 -1
- package/dist/browser/index.js +2 -2
- package/dist/browser/{json-editor-aqjhBXZ9.js → json-editor-D8lysNHE.js} +3 -3
- package/dist/browser/{json-editor-aqjhBXZ9.js.map → json-editor-D8lysNHE.js.map} +1 -1
- package/dist/browser/{lib-V-A4Y98b.js → lib-DKvC6Hnv.js} +3 -4
- package/dist/browser/lib-DKvC6Hnv.js.map +1 -0
- package/dist/browser/{state-schemas-DQmnR8Nk.js → state-schemas-NyThZN-C.js} +3 -3
- package/dist/browser/{state-schemas-DQmnR8Nk.js.map → state-schemas-NyThZN-C.js.map} +1 -1
- package/dist/node/{connect-vii63Lqk.mjs → connect-BixjoUPL.mjs} +4 -4
- package/dist/node/{connect-vii63Lqk.mjs.map → connect-BixjoUPL.mjs.map} +1 -1
- package/dist/node/{dist-DTRphwh_.mjs → dist-BtnA_6jV.mjs} +46 -18
- package/dist/node/dist-BtnA_6jV.mjs.map +1 -0
- package/dist/node/{document-drive-BMfQ8jKD.mjs → document-drive-ChLoGFvU.mjs} +72 -2
- package/dist/node/document-drive-ChLoGFvU.mjs.map +1 -0
- package/dist/node/document-models/index.mjs +1 -1
- package/dist/node/{editor-C7IrdUqN.mjs → editor-C8Drq-be.mjs} +5 -5
- package/dist/node/{editor-C7IrdUqN.mjs.map → editor-C8Drq-be.mjs.map} +1 -1
- package/dist/node/{editor-BQ7Hepmx.mjs → editor-cfoi-9LF.mjs} +6 -6
- package/dist/node/{editor-BQ7Hepmx.mjs.map → editor-cfoi-9LF.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-PvIixyjx.mjs → folder-view--I9GOsir.mjs} +3 -3
- package/dist/node/{folder-view-PvIixyjx.mjs.map → folder-view--I9GOsir.mjs.map} +1 -1
- package/dist/node/{graphql-editor-CKzPtn6J.mjs → graphql-editor-BKGQ8ojN.mjs} +3 -3
- package/dist/node/{graphql-editor-CKzPtn6J.mjs.map → graphql-editor-BKGQ8ojN.mjs.map} +1 -1
- package/dist/node/index.mjs +2 -2
- package/dist/node/{json-editor-BaNxPekM.mjs → json-editor-32paCJkU.mjs} +3 -3
- package/dist/node/{json-editor-BaNxPekM.mjs.map → json-editor-32paCJkU.mjs.map} +1 -1
- package/dist/node/{main-C2GlZ2Rh.mjs → main-DRfab-vL.mjs} +3 -4
- package/dist/node/main-DRfab-vL.mjs.map +1 -0
- package/dist/node/{state-schemas-C--ZSgHT.mjs → state-schemas-ClrkM0Fn.mjs} +3 -3
- package/dist/node/{state-schemas-C--ZSgHT.mjs.map → state-schemas-ClrkM0Fn.mjs.map} +1 -1
- package/package.json +7 -7
- package/dist/browser/dist-BvAny8D6.js.map +0 -1
- package/dist/browser/document-drive-DODPIGg7.js.map +0 -1
- package/dist/browser/lib-V-A4Y98b.js.map +0 -1
- package/dist/node/dist-DTRphwh_.mjs.map +0 -1
- package/dist/node/document-drive-BMfQ8jKD.mjs.map +0 -1
- package/dist/node/main-C2GlZ2Rh.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 { A as createZip, C as baseSaveToFileHandle, D as createPresignedHeader,
|
|
3
|
-
import { a as DriveCollectionId, i as SyncStatus, o as ModuleNotFoundError, t as require_main } from "./main-
|
|
2
|
+
import { A as createZip, C as baseSaveToFileHandle, D as createPresignedHeader, H as replayDocumentVersioned, S as baseLoadFromInputVersioned, Z as setName, a as handleTargetNameCollisions, at as validateInitialState, ct as generateId, f as logger, i as generateNodesCopy, l as moveNode, n as copyNode, o as isFileNode, ot as validateModules, s as isFolderNode, st as validateStateSchemaName, t as addFolder, u as updateNode, v as assertAuthPreservedOnDuplicate, w as buildSignedAction, x as baseLoadFromInput } from "./document-drive-ChLoGFvU.mjs";
|
|
3
|
+
import { a as DriveCollectionId, i as SyncStatus, o as ModuleNotFoundError, t as require_main } from "./main-DRfab-vL.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";
|
|
@@ -245,7 +245,7 @@ Error;
|
|
|
245
245
|
require_graphql();
|
|
246
246
|
JSON;
|
|
247
247
|
//#endregion
|
|
248
|
-
//#region ../reactor-browser/dist/client-
|
|
248
|
+
//#region ../reactor-browser/dist/client-DB8gP4hz.js
|
|
249
249
|
var import_main = require_main();
|
|
250
250
|
let DocumentChangeType = /* @__PURE__ */ function(DocumentChangeType) {
|
|
251
251
|
DocumentChangeType["ChildAdded"] = "CHILD_ADDED";
|
|
@@ -478,6 +478,28 @@ import_main.gql`
|
|
|
478
478
|
}
|
|
479
479
|
}
|
|
480
480
|
`;
|
|
481
|
+
import_main.gql`
|
|
482
|
+
query EvaluateActions(
|
|
483
|
+
$documentIdentifier: String!
|
|
484
|
+
$branch: String
|
|
485
|
+
$candidates: [ActionCandidateInput!]!
|
|
486
|
+
) {
|
|
487
|
+
evaluateActions(
|
|
488
|
+
documentIdentifier: $documentIdentifier
|
|
489
|
+
branch: $branch
|
|
490
|
+
candidates: $candidates
|
|
491
|
+
) {
|
|
492
|
+
evaluations {
|
|
493
|
+
decision
|
|
494
|
+
reason
|
|
495
|
+
}
|
|
496
|
+
allAllowed
|
|
497
|
+
anyAllowed
|
|
498
|
+
allDenied
|
|
499
|
+
anyDenied
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
`;
|
|
481
503
|
import_main.gql`
|
|
482
504
|
mutation CreateDocument($document: JSONObject!, $parentIdentifier: String) {
|
|
483
505
|
createDocument(document: $document, parentIdentifier: $parentIdentifier) {
|
|
@@ -503,13 +525,13 @@ import_main.gql`
|
|
|
503
525
|
import_main.gql`
|
|
504
526
|
mutation MutateDocument(
|
|
505
527
|
$documentIdentifier: String!
|
|
506
|
-
$actions: [
|
|
507
|
-
$
|
|
528
|
+
$actions: [ActionInput!]!
|
|
529
|
+
$branch: String
|
|
508
530
|
) {
|
|
509
|
-
mutateDocument(
|
|
531
|
+
mutateDocument: execute(
|
|
510
532
|
documentIdentifier: $documentIdentifier
|
|
511
533
|
actions: $actions
|
|
512
|
-
|
|
534
|
+
branch: $branch
|
|
513
535
|
) {
|
|
514
536
|
...PHDocumentFields
|
|
515
537
|
}
|
|
@@ -519,14 +541,21 @@ import_main.gql`
|
|
|
519
541
|
import_main.gql`
|
|
520
542
|
mutation MutateDocumentAsync(
|
|
521
543
|
$documentIdentifier: String!
|
|
522
|
-
$actions: [
|
|
523
|
-
$
|
|
544
|
+
$actions: [ActionInput!]!
|
|
545
|
+
$branch: String
|
|
524
546
|
) {
|
|
525
|
-
mutateDocumentAsync(
|
|
547
|
+
mutateDocumentAsync: executeAsync(
|
|
526
548
|
documentIdentifier: $documentIdentifier
|
|
527
549
|
actions: $actions
|
|
528
|
-
|
|
529
|
-
)
|
|
550
|
+
branch: $branch
|
|
551
|
+
) {
|
|
552
|
+
id
|
|
553
|
+
status
|
|
554
|
+
result
|
|
555
|
+
error
|
|
556
|
+
createdAt
|
|
557
|
+
completedAt
|
|
558
|
+
}
|
|
530
559
|
}
|
|
531
560
|
`;
|
|
532
561
|
import_main.gql`
|
|
@@ -1743,7 +1772,7 @@ slug.setLocale = function(locale) {
|
|
|
1743
1772
|
defaultLocale = locales[locale] || {};
|
|
1744
1773
|
};
|
|
1745
1774
|
//#endregion
|
|
1746
|
-
//#region ../reactor-browser/dist/document-operations-
|
|
1775
|
+
//#region ../reactor-browser/dist/document-operations-C6nce9dH.js
|
|
1747
1776
|
var DocumentModelNotFoundError = class extends Error {
|
|
1748
1777
|
documentType;
|
|
1749
1778
|
name = "DocumentModelNotFoundError";
|
|
@@ -2205,16 +2234,15 @@ const ReactorOperationFieldsFragmentDoc = import_main.gql`
|
|
|
2205
2234
|
import_main.gql`
|
|
2206
2235
|
mutation MutateDocumentWithOperations(
|
|
2207
2236
|
$documentIdentifier: String!
|
|
2208
|
-
$actions: [
|
|
2209
|
-
$view: ViewFilterInput
|
|
2237
|
+
$actions: [ActionInput!]!
|
|
2210
2238
|
$sinceRevision: Int
|
|
2211
2239
|
$scopes: [String!]
|
|
2212
2240
|
$branch: String
|
|
2213
2241
|
) {
|
|
2214
|
-
mutateDocument(
|
|
2242
|
+
mutateDocument: execute(
|
|
2215
2243
|
documentIdentifier: $documentIdentifier
|
|
2216
2244
|
actions: $actions
|
|
2217
|
-
|
|
2245
|
+
branch: $branch
|
|
2218
2246
|
) {
|
|
2219
2247
|
...PHDocumentFields
|
|
2220
2248
|
operations(
|
|
@@ -4104,4 +4132,4 @@ createDebouncedRefreshReactorDataClient();
|
|
|
4104
4132
|
//#endregion
|
|
4105
4133
|
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 };
|
|
4106
4134
|
|
|
4107
|
-
//# sourceMappingURL=dist-
|
|
4135
|
+
//# sourceMappingURL=dist-BtnA_6jV.mjs.map
|