@ixo/editor 3.9.0 → 4.0.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.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isRuntimeRef
3
- } from "./chunk-JHQO6FAQ.mjs";
3
+ } from "./chunk-4ETFMWQR.mjs";
4
4
 
5
5
  // src/core/lib/flowCompiler/resolveRefs.ts
6
6
  function resolveRuntimeRefs(nb, getNodeOutput, triggerContext) {
@@ -60,4 +60,4 @@ function getNestedValue(obj, path) {
60
60
  export {
61
61
  resolveRuntimeRefs
62
62
  };
63
- //# sourceMappingURL=chunk-OALEW7JG.mjs.map
63
+ //# sourceMappingURL=chunk-VE3WI2J2.mjs.map
@@ -1,7 +1,7 @@
1
- import { x as ActionDefinition, y as ActionServices } from '../decompile-wCWLWfsQ.mjs';
2
- export { D as ActionContext, G as ActionResult, I as ActorConstraint, A as AuthorizationResult, B as BaseUcanFlow, K as CompiledBlock, L as CompiledEdge, v as CompiledFlow, P as CompiledFlowNode, C as CompilerRegistry, H as ConditionRef, E as ExecuteNodeParams, f as ExecutionContext, d as ExecutionOutcome, u as FlowCapability, F as FlowRuntimeStateManager, w as FlowStrategy, M as MergeResult, N as NodeActionResult, O as OutputSchemaField, R as ReadFlowOptions, q as ReadFlowResult, J as RuntimeRef, S as SetupFlowOptions, p as SetupFlowResult, T as TTLConstraint, Q as TriggerSpec, a as buildAuthzFromProps, b as buildFlowNodeFromBlock, z as clearRuntimeForTemplateClone, l as compileBaseUcanFlow, c as createRuntimeStateManager, o as decompileToBaseUcanFlow, e as executeNode, k as getActiveEditor, i as isAuthorized, U as isRuntimeRef, n as mergeCompiledFlows, m as readCompiledFlowFromYDoc, h as readFlow, r as readFlowAsBaseUcan, g as readFlowFromEditor, j as setActiveEditor, s as setupFlowFromBaseUcan } from '../decompile-wCWLWfsQ.mjs';
3
- import { s as IxoEditorType } from '../index-ClqpuDwu.mjs';
4
- export { C as ClaimCollectionURI, G as CreateDelegationParams, H as CreateInvocationParams, B as CreateRootDelegationParams, t as DID, D as DelegationChainValidationResult, k as DelegationGrant, E as EvaluationStatus, z as ExecutionWithInvocationResult, A as FindProofsResult, w as FlowNode, F as FlowNodeAuthzExtension, v as FlowNodeBase, u as FlowNodeRuntimeState, x as InvocationRequest, y as InvocationResult, I as InvocationStore, L as LinkedClaim, N as NodeState, S as StoredDelegation, j as StoredInvocation, i as UcanCapability, U as UcanDelegationStore, f as UcanService, g as UcanServiceConfig, h as UcanServiceHandlers, b as createInvocationStore, d as createMemoryInvocationStore, a as createMemoryUcanDelegationStore, c as createUcanDelegationStore, e as createUcanService } from '../index-ClqpuDwu.mjs';
1
+ import { x as ActionDefinition, y as ActionServices } from '../decompile-BNprXLsA.mjs';
2
+ export { D as ActionContext, G as ActionResult, I as ActorConstraint, A as AuthorizationResult, B as BaseUcanFlow, K as CompiledBlock, L as CompiledEdge, v as CompiledFlow, P as CompiledFlowNode, C as CompilerRegistry, H as ConditionRef, E as ExecuteNodeParams, f as ExecutionContext, d as ExecutionOutcome, u as FlowCapability, F as FlowRuntimeStateManager, w as FlowStrategy, M as MergeResult, N as NodeActionResult, O as OutputSchemaField, R as ReadFlowOptions, q as ReadFlowResult, J as RuntimeRef, S as SetupFlowOptions, p as SetupFlowResult, T as TTLConstraint, Q as TriggerSpec, a as buildAuthzFromProps, b as buildFlowNodeFromBlock, z as clearRuntimeForTemplateClone, l as compileBaseUcanFlow, c as createRuntimeStateManager, o as decompileToBaseUcanFlow, e as executeNode, k as getActiveEditor, i as isAuthorized, U as isRuntimeRef, n as mergeCompiledFlows, m as readCompiledFlowFromYDoc, h as readFlow, r as readFlowAsBaseUcan, g as readFlowFromEditor, j as setActiveEditor, s as setupFlowFromBaseUcan } from '../decompile-BNprXLsA.mjs';
3
+ import { s as IxoEditorType } from '../index-CNCZs4wP.mjs';
4
+ export { C as ClaimCollectionURI, G as CreateDelegationParams, H as CreateInvocationParams, B as CreateRootDelegationParams, t as DID, D as DelegationChainValidationResult, k as DelegationGrant, E as EvaluationStatus, z as ExecutionWithInvocationResult, A as FindProofsResult, w as FlowNode, F as FlowNodeAuthzExtension, v as FlowNodeBase, u as FlowNodeRuntimeState, x as InvocationRequest, y as InvocationResult, I as InvocationStore, L as LinkedClaim, N as NodeState, S as StoredDelegation, j as StoredInvocation, i as UcanCapability, U as UcanDelegationStore, f as UcanService, g as UcanServiceConfig, h as UcanServiceHandlers, b as createInvocationStore, d as createMemoryInvocationStore, a as createMemoryUcanDelegationStore, c as createUcanDelegationStore, e as createUcanService } from '../index-CNCZs4wP.mjs';
5
5
  import * as Y from 'yjs';
6
6
  import 'matrix-js-sdk';
7
7
  import '@blocknote/core';
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveRuntimeRefs
3
- } from "../chunk-OALEW7JG.mjs";
3
+ } from "../chunk-VE3WI2J2.mjs";
4
4
  import {
5
5
  RUN_RECORD_AUDIT_TYPE,
6
6
  appendRunRecord,
@@ -47,7 +47,7 @@ import {
47
47
  setupFlowFromBaseUcan,
48
48
  snapshotInputRefs,
49
49
  typeToCan
50
- } from "../chunk-JHQO6FAQ.mjs";
50
+ } from "../chunk-4ETFMWQR.mjs";
51
51
  import {
52
52
  computeCID,
53
53
  computeJsonCID
@@ -1,4 +1,4 @@
1
- import { w as FlowNode, F as FlowNodeAuthzExtension, u as FlowNodeRuntimeState, s as IxoEditorType, f as UcanService, I as InvocationStore, E as EvaluationStatus } from './index-ClqpuDwu.mjs';
1
+ import { w as FlowNode, F as FlowNodeAuthzExtension, u as FlowNodeRuntimeState, s as IxoEditorType, f as UcanService, I as InvocationStore, E as EvaluationStatus } from './index-CNCZs4wP.mjs';
2
2
  import * as Y from 'yjs';
3
3
  import { Doc } from 'yjs';
4
4
  import { MatrixClient } from 'matrix-js-sdk';
@@ -1,5 +1,5 @@
1
1
  import * as _blocknote_core from '@blocknote/core';
2
- import { J as IxoBlockProps, s as IxoEditorType, l as IxoEditorOptions, p as IxoCollaborativeEditorOptions, k as DelegationGrant } from './index-ClqpuDwu.mjs';
2
+ import { J as IxoBlockProps, s as IxoEditorType, l as IxoEditorOptions, p as IxoCollaborativeEditorOptions, k as DelegationGrant } from './index-CNCZs4wP.mjs';
3
3
  import { Text, Doc, Map, Array as Array$1 } from 'yjs';
4
4
  import React__default from 'react';
5
5
  import { MatrixClient } from 'matrix-js-sdk';
@@ -2298,7 +2298,7 @@ interface DomainCardData {
2298
2298
  [key: string]: unknown;
2299
2299
  }
2300
2300
  /**
2301
- * Renderer for domain card previews in the domainCardViewer block.
2301
+ * Renderer for domain card previews in the qi/domain.card-preview action.
2302
2302
  * The web app provides this renderer to display domain card data with proper styling.
2303
2303
  */
2304
2304
  type DomainCardRenderer = (domainCardData: DomainCardData) => React__default.ReactNode;
@@ -764,74 +764,6 @@ declare const blockSpecs: {
764
764
  readonly content: "none";
765
765
  }, any, _blocknote_core.InlineContentSchema, _blocknote_core.StyleSchema>;
766
766
  };
767
- domainCreator: {
768
- config: {
769
- readonly type: "domainCreator";
770
- readonly propSchema: {
771
- readonly title: {
772
- readonly default: "";
773
- };
774
- readonly description: {
775
- readonly default: "";
776
- };
777
- readonly icon: {
778
- readonly default: "file-text";
779
- };
780
- readonly surveySchema: {
781
- readonly default: "";
782
- };
783
- readonly answers: {
784
- readonly default: "";
785
- };
786
- readonly lastSubmission: {
787
- readonly default: "";
788
- };
789
- readonly entityDid: {
790
- readonly default: "";
791
- };
792
- readonly entityType: {
793
- readonly default: "";
794
- };
795
- readonly skill: {
796
- readonly default: "";
797
- };
798
- };
799
- readonly content: "none";
800
- };
801
- implementation: _blocknote_core.TiptapBlockImplementation<{
802
- readonly type: "domainCreator";
803
- readonly propSchema: {
804
- readonly title: {
805
- readonly default: "";
806
- };
807
- readonly description: {
808
- readonly default: "";
809
- };
810
- readonly icon: {
811
- readonly default: "file-text";
812
- };
813
- readonly surveySchema: {
814
- readonly default: "";
815
- };
816
- readonly answers: {
817
- readonly default: "";
818
- };
819
- readonly lastSubmission: {
820
- readonly default: "";
821
- };
822
- readonly entityDid: {
823
- readonly default: "";
824
- };
825
- readonly entityType: {
826
- readonly default: "";
827
- };
828
- readonly skill: {
829
- readonly default: "";
830
- };
831
- };
832
- readonly content: "none";
833
- }, any, _blocknote_core.InlineContentSchema, _blocknote_core.StyleSchema>;
834
- };
835
767
  email: {
836
768
  config: {
837
769
  readonly type: "email";
@@ -1208,190 +1140,6 @@ declare const blockSpecs: {
1208
1140
  readonly content: "none";
1209
1141
  }, any, _blocknote_core.InlineContentSchema, _blocknote_core.StyleSchema>;
1210
1142
  };
1211
- domainCreatorSign: {
1212
- config: {
1213
- readonly type: "domainCreatorSign";
1214
- readonly propSchema: {
1215
- readonly title: {
1216
- readonly default: "";
1217
- };
1218
- readonly description: {
1219
- readonly default: "";
1220
- };
1221
- readonly icon: {
1222
- readonly default: "feather";
1223
- };
1224
- readonly domainCardData: {
1225
- readonly default: "{}";
1226
- };
1227
- readonly entityType: {
1228
- readonly default: "";
1229
- };
1230
- readonly status: {
1231
- readonly default: "pending";
1232
- };
1233
- readonly entityDid: {
1234
- readonly default: "";
1235
- };
1236
- readonly transactionHash: {
1237
- readonly default: "";
1238
- };
1239
- readonly errorMessage: {
1240
- readonly default: "";
1241
- };
1242
- readonly linkedEntities: {
1243
- readonly default: "[]";
1244
- };
1245
- readonly groupSettings: {
1246
- readonly default: "";
1247
- };
1248
- readonly ttlAbsoluteDueDate: {
1249
- readonly default: "";
1250
- };
1251
- readonly ttlFromEnablement: {
1252
- readonly default: "";
1253
- };
1254
- readonly ttlFromCommitment: {
1255
- readonly default: "";
1256
- };
1257
- readonly assignment: {
1258
- readonly default: string;
1259
- };
1260
- readonly commitment: {
1261
- readonly default: string;
1262
- };
1263
- readonly skill: {
1264
- readonly default: "";
1265
- };
1266
- };
1267
- readonly content: "none";
1268
- };
1269
- implementation: _blocknote_core.TiptapBlockImplementation<{
1270
- readonly type: "domainCreatorSign";
1271
- readonly propSchema: {
1272
- readonly title: {
1273
- readonly default: "";
1274
- };
1275
- readonly description: {
1276
- readonly default: "";
1277
- };
1278
- readonly icon: {
1279
- readonly default: "feather";
1280
- };
1281
- readonly domainCardData: {
1282
- readonly default: "{}";
1283
- };
1284
- readonly entityType: {
1285
- readonly default: "";
1286
- };
1287
- readonly status: {
1288
- readonly default: "pending";
1289
- };
1290
- readonly entityDid: {
1291
- readonly default: "";
1292
- };
1293
- readonly transactionHash: {
1294
- readonly default: "";
1295
- };
1296
- readonly errorMessage: {
1297
- readonly default: "";
1298
- };
1299
- readonly linkedEntities: {
1300
- readonly default: "[]";
1301
- };
1302
- readonly groupSettings: {
1303
- readonly default: "";
1304
- };
1305
- readonly ttlAbsoluteDueDate: {
1306
- readonly default: "";
1307
- };
1308
- readonly ttlFromEnablement: {
1309
- readonly default: "";
1310
- };
1311
- readonly ttlFromCommitment: {
1312
- readonly default: "";
1313
- };
1314
- readonly assignment: {
1315
- readonly default: string;
1316
- };
1317
- readonly commitment: {
1318
- readonly default: string;
1319
- };
1320
- readonly skill: {
1321
- readonly default: "";
1322
- };
1323
- };
1324
- readonly content: "none";
1325
- }, any, _blocknote_core.InlineContentSchema, _blocknote_core.StyleSchema>;
1326
- };
1327
- domainCardViewer: {
1328
- config: {
1329
- readonly type: "domainCardViewer";
1330
- readonly propSchema: {
1331
- readonly title: {
1332
- readonly default: "";
1333
- };
1334
- readonly description: {
1335
- readonly default: "";
1336
- };
1337
- readonly icon: {
1338
- readonly default: "dots-circle";
1339
- };
1340
- readonly domainPreviewData: {
1341
- readonly default: "{}";
1342
- };
1343
- readonly domainCardData: {
1344
- readonly default: "{}";
1345
- };
1346
- readonly status: {
1347
- readonly default: "pending";
1348
- };
1349
- readonly loadingMessage: {
1350
- readonly default: "";
1351
- };
1352
- readonly errorMessage: {
1353
- readonly default: "";
1354
- };
1355
- readonly skill: {
1356
- readonly default: "";
1357
- };
1358
- };
1359
- readonly content: "none";
1360
- };
1361
- implementation: _blocknote_core.TiptapBlockImplementation<{
1362
- readonly type: "domainCardViewer";
1363
- readonly propSchema: {
1364
- readonly title: {
1365
- readonly default: "";
1366
- };
1367
- readonly description: {
1368
- readonly default: "";
1369
- };
1370
- readonly icon: {
1371
- readonly default: "dots-circle";
1372
- };
1373
- readonly domainPreviewData: {
1374
- readonly default: "{}";
1375
- };
1376
- readonly domainCardData: {
1377
- readonly default: "{}";
1378
- };
1379
- readonly status: {
1380
- readonly default: "pending";
1381
- };
1382
- readonly loadingMessage: {
1383
- readonly default: "";
1384
- };
1385
- readonly errorMessage: {
1386
- readonly default: "";
1387
- };
1388
- readonly skill: {
1389
- readonly default: "";
1390
- };
1391
- };
1392
- readonly content: "none";
1393
- }, any, _blocknote_core.InlineContentSchema, _blocknote_core.StyleSchema>;
1394
- };
1395
1143
  governanceGroup: {
1396
1144
  config: {
1397
1145
  readonly type: "governanceGroup";
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- export { N as Addr, n as ApiRequestBlockProps, h as ApiRequestBlockSpec, A as AuthorizationTab, d as AuthorizationTabState, t as AuthzExecActionTypes, B as BlockPresenceUser, x as BlockRequirements, w as BlocknoteContextValue, v as BlocknoteHandlers, q as BlocknoteProvider, i as CheckboxBlockProps, g as CheckboxBlockSpec, Z as CosmosMsgForEmpty, C as CoverImage, c as CoverImageProps, a0 as Entity, a1 as EntityResponse, f as EntitySigningSetup, a2 as EntityVariables, E as EvaluationTab, e as EvaluationTabState, R as Expiration, F as FlowPermissionsPanel, G as GrantPermissionModal, a3 as GraphQLClient, a6 as GraphQLRequest, a5 as GraphQLResponse, H as HttpMethod, I as IxoEditor, b as IxoEditorProps, K as KeyValuePair, k as ListBlockProps, j as ListBlockSettings, L as ListBlockSpec, O as OverviewBlock, l as OverviewBlockProps, _ as ProposalAction, m as ProposalBlockProps, P as ProposalBlockSpec, y as ProposalResponse, z as SingleChoiceProposal, S as StakeType, S as StakeTypeValue, W as Status, X as Threshold, T as Timestamp, Q as Uint128, U as User, V as ValidatorActionType, M as Vote, J as VoteInfo, D as VoteResponse, Y as Votes, $ as getEntity, a4 as ixoGraphQLClient, o as useBlockPresence, r as useBlocknoteContext, s as useBlocknoteHandlers, a as useCreateCollaborativeIxoEditor, u as useCreateIxoEditor, p as useTrackBlockFocus } from './graphql-client-C2VMAiQl.mjs';
2
- export { A as AuthorizationResult, B as BaseUcanFlow, v as CompiledFlow, C as CompilerRegistry, E as ExecuteNodeParams, f as ExecutionContext, d as ExecutionOutcome, u as FlowCapability, F as FlowRuntimeStateManager, w as FlowStrategy, M as MergeResult, N as NodeActionResult, R as ReadFlowOptions, q as ReadFlowResult, t as ReadableEditor, S as SetupFlowOptions, p as SetupFlowResult, a as buildAuthzFromProps, b as buildFlowNodeFromBlock, l as compileBaseUcanFlow, c as createRuntimeStateManager, o as decompileToBaseUcanFlow, e as executeNode, k as getActiveEditor, i as isAuthorized, n as mergeCompiledFlows, m as readCompiledFlowFromYDoc, h as readFlow, r as readFlowAsBaseUcan, g as readFlowFromEditor, j as setActiveEditor, s as setupFlowFromBaseUcan } from './decompile-wCWLWfsQ.mjs';
3
- export { D as DelegationChainValidationResult, k as DelegationGrant, I as InvocationStore, p as IxoCollaborativeEditorOptions, o as IxoCollaborativeUser, n as IxoEditorConfig, l as IxoEditorOptions, m as IxoEditorTheme, S as StoredDelegation, j as StoredInvocation, i as UcanCapability, U as UcanDelegationStore, f as UcanService, g as UcanServiceConfig, h as UcanServiceHandlers, q as blockSpecs, b as createInvocationStore, d as createMemoryInvocationStore, a as createMemoryUcanDelegationStore, c as createUcanDelegationStore, e as createUcanService, r as getExtraSlashMenuItems } from './index-ClqpuDwu.mjs';
1
+ export { N as Addr, n as ApiRequestBlockProps, h as ApiRequestBlockSpec, A as AuthorizationTab, d as AuthorizationTabState, t as AuthzExecActionTypes, B as BlockPresenceUser, x as BlockRequirements, w as BlocknoteContextValue, v as BlocknoteHandlers, q as BlocknoteProvider, i as CheckboxBlockProps, g as CheckboxBlockSpec, Z as CosmosMsgForEmpty, C as CoverImage, c as CoverImageProps, a0 as Entity, a1 as EntityResponse, f as EntitySigningSetup, a2 as EntityVariables, E as EvaluationTab, e as EvaluationTabState, R as Expiration, F as FlowPermissionsPanel, G as GrantPermissionModal, a3 as GraphQLClient, a6 as GraphQLRequest, a5 as GraphQLResponse, H as HttpMethod, I as IxoEditor, b as IxoEditorProps, K as KeyValuePair, k as ListBlockProps, j as ListBlockSettings, L as ListBlockSpec, O as OverviewBlock, l as OverviewBlockProps, _ as ProposalAction, m as ProposalBlockProps, P as ProposalBlockSpec, y as ProposalResponse, z as SingleChoiceProposal, S as StakeType, S as StakeTypeValue, W as Status, X as Threshold, T as Timestamp, Q as Uint128, U as User, V as ValidatorActionType, M as Vote, J as VoteInfo, D as VoteResponse, Y as Votes, $ as getEntity, a4 as ixoGraphQLClient, o as useBlockPresence, r as useBlocknoteContext, s as useBlocknoteHandlers, a as useCreateCollaborativeIxoEditor, u as useCreateIxoEditor, p as useTrackBlockFocus } from './graphql-client-l6N8ekd1.mjs';
2
+ export { A as AuthorizationResult, B as BaseUcanFlow, v as CompiledFlow, C as CompilerRegistry, E as ExecuteNodeParams, f as ExecutionContext, d as ExecutionOutcome, u as FlowCapability, F as FlowRuntimeStateManager, w as FlowStrategy, M as MergeResult, N as NodeActionResult, R as ReadFlowOptions, q as ReadFlowResult, t as ReadableEditor, S as SetupFlowOptions, p as SetupFlowResult, a as buildAuthzFromProps, b as buildFlowNodeFromBlock, l as compileBaseUcanFlow, c as createRuntimeStateManager, o as decompileToBaseUcanFlow, e as executeNode, k as getActiveEditor, i as isAuthorized, n as mergeCompiledFlows, m as readCompiledFlowFromYDoc, h as readFlow, r as readFlowAsBaseUcan, g as readFlowFromEditor, j as setActiveEditor, s as setupFlowFromBaseUcan } from './decompile-BNprXLsA.mjs';
3
+ export { D as DelegationChainValidationResult, k as DelegationGrant, I as InvocationStore, p as IxoCollaborativeEditorOptions, o as IxoCollaborativeUser, n as IxoEditorConfig, l as IxoEditorOptions, m as IxoEditorTheme, S as StoredDelegation, j as StoredInvocation, i as UcanCapability, U as UcanDelegationStore, f as UcanService, g as UcanServiceConfig, h as UcanServiceHandlers, q as blockSpecs, b as createInvocationStore, d as createMemoryInvocationStore, a as createMemoryUcanDelegationStore, c as createUcanDelegationStore, e as createUcanService, r as getExtraSlashMenuItems } from './index-CNCZs4wP.mjs';
4
4
  export { Block, BlockNoteEditor, BlockNoteSchema, DefaultBlockSchema, DefaultInlineContentSchema, DefaultStyleSchema, PartialBlock } from '@blocknote/core';
5
5
  export { CloneDocumentResult, cloneDocument } from '@ixo/matrix-crdt';
6
6
  import 'yjs';
package/dist/index.mjs CHANGED
@@ -26,8 +26,8 @@ import {
26
26
  useCreateCollaborativeIxoEditor,
27
27
  useCreateIxoEditor,
28
28
  useTrackBlockFocus
29
- } from "./chunk-UGCY7XXQ.mjs";
30
- import "./chunk-OALEW7JG.mjs";
29
+ } from "./chunk-MKNM3L24.mjs";
30
+ import "./chunk-VE3WI2J2.mjs";
31
31
  import {
32
32
  buildAuthzFromProps,
33
33
  buildFlowNodeFromBlock,
@@ -49,7 +49,7 @@ import {
49
49
  readFlowFromEditor,
50
50
  setActiveEditor,
51
51
  setupFlowFromBaseUcan
52
- } from "./chunk-JHQO6FAQ.mjs";
52
+ } from "./chunk-4ETFMWQR.mjs";
53
53
 
54
54
  // src/index.ts
55
55
  import { cloneDocument } from "@ixo/matrix-crdt";
@@ -1,8 +1,8 @@
1
- import { v as BlocknoteHandlers } from '../graphql-client-C2VMAiQl.mjs';
2
- export { N as Addr, n as ApiRequestBlockProps, h as ApiRequestBlockSpec, A as AuthorizationTab, d as AuthorizationTabState, t as AuthzExecActionTypes, B as BlockPresenceUser, x as BlockRequirements, w as BlocknoteContextValue, q as BlocknoteProvider, i as CheckboxBlockProps, g as CheckboxBlockSpec, Z as CosmosMsgForEmpty, C as CoverImage, c as CoverImageProps, ae as DomainCardData, ad as DomainCardRenderer, a8 as DropPosition, aa as DynamicListData, ab as DynamicListDataProvider, ac as DynamicListPanelRenderer, a0 as Entity, a1 as EntityResponse, f as EntitySigningSetup, a2 as EntityVariables, E as EvaluationTab, e as EvaluationTabState, R as Expiration, a7 as ExternalDropZone, F as FlowPermissionsPanel, G as GrantPermissionModal, a3 as GraphQLClient, a6 as GraphQLRequest, a5 as GraphQLResponse, H as HttpMethod, I as IxoEditor, b as IxoEditorProps, K as KeyValuePair, k as ListBlockProps, j as ListBlockSettings, L as ListBlockSpec, O as OverviewBlock, l as OverviewBlockProps, _ as ProposalAction, m as ProposalBlockProps, P as ProposalBlockSpec, y as ProposalResponse, z as SingleChoiceProposal, S as StakeType, S as StakeTypeValue, W as Status, X as Threshold, T as Timestamp, Q as Uint128, U as User, V as ValidatorActionType, a9 as VisualizationRenderer, M as Vote, J as VoteInfo, D as VoteResponse, Y as Votes, $ as getEntity, a4 as ixoGraphQLClient, o as useBlockPresence, r as useBlocknoteContext, s as useBlocknoteHandlers, a as useCreateCollaborativeIxoEditor, u as useCreateIxoEditor, p as useTrackBlockFocus } from '../graphql-client-C2VMAiQl.mjs';
1
+ import { v as BlocknoteHandlers } from '../graphql-client-l6N8ekd1.mjs';
2
+ export { N as Addr, n as ApiRequestBlockProps, h as ApiRequestBlockSpec, A as AuthorizationTab, d as AuthorizationTabState, t as AuthzExecActionTypes, B as BlockPresenceUser, x as BlockRequirements, w as BlocknoteContextValue, q as BlocknoteProvider, i as CheckboxBlockProps, g as CheckboxBlockSpec, Z as CosmosMsgForEmpty, C as CoverImage, c as CoverImageProps, ae as DomainCardData, ad as DomainCardRenderer, a8 as DropPosition, aa as DynamicListData, ab as DynamicListDataProvider, ac as DynamicListPanelRenderer, a0 as Entity, a1 as EntityResponse, f as EntitySigningSetup, a2 as EntityVariables, E as EvaluationTab, e as EvaluationTabState, R as Expiration, a7 as ExternalDropZone, F as FlowPermissionsPanel, G as GrantPermissionModal, a3 as GraphQLClient, a6 as GraphQLRequest, a5 as GraphQLResponse, H as HttpMethod, I as IxoEditor, b as IxoEditorProps, K as KeyValuePair, k as ListBlockProps, j as ListBlockSettings, L as ListBlockSpec, O as OverviewBlock, l as OverviewBlockProps, _ as ProposalAction, m as ProposalBlockProps, P as ProposalBlockSpec, y as ProposalResponse, z as SingleChoiceProposal, S as StakeType, S as StakeTypeValue, W as Status, X as Threshold, T as Timestamp, Q as Uint128, U as User, V as ValidatorActionType, a9 as VisualizationRenderer, M as Vote, J as VoteInfo, D as VoteResponse, Y as Votes, $ as getEntity, a4 as ixoGraphQLClient, o as useBlockPresence, r as useBlocknoteContext, s as useBlocknoteHandlers, a as useCreateCollaborativeIxoEditor, u as useCreateIxoEditor, p as useTrackBlockFocus } from '../graphql-client-l6N8ekd1.mjs';
3
3
  import React__default, { PropsWithChildren } from 'react';
4
- import { J as IxoBlockProps, s as IxoEditorType, u as FlowNodeRuntimeState } from '../index-ClqpuDwu.mjs';
5
- export { p as IxoCollaborativeEditorOptions, o as IxoCollaborativeUser, n as IxoEditorConfig, l as IxoEditorOptions, m as IxoEditorTheme, q as blockSpecs, r as getExtraSlashMenuItems } from '../index-ClqpuDwu.mjs';
4
+ import { J as IxoBlockProps, s as IxoEditorType, u as FlowNodeRuntimeState } from '../index-CNCZs4wP.mjs';
5
+ export { p as IxoCollaborativeEditorOptions, o as IxoCollaborativeUser, n as IxoEditorConfig, l as IxoEditorOptions, m as IxoEditorTheme, q as blockSpecs, r as getExtraSlashMenuItems } from '../index-CNCZs4wP.mjs';
6
6
  import * as zustand from 'zustand';
7
7
  import * as _blocknote_core from '@blocknote/core';
8
8
  export { Block, BlockNoteEditor, BlockNoteSchema, DefaultBlockSchema, DefaultInlineContentSchema, DefaultStyleSchema, PartialBlock } from '@blocknote/core';
@@ -49,13 +49,13 @@ import {
49
49
  usePanel,
50
50
  usePanelStore,
51
51
  useTrackBlockFocus
52
- } from "../chunk-UGCY7XXQ.mjs";
52
+ } from "../chunk-MKNM3L24.mjs";
53
53
  import {
54
54
  didToMatrixUserId,
55
55
  findOrCreateDMRoom,
56
56
  getHomeserver,
57
57
  sendDirectMessage
58
- } from "../chunk-JHQO6FAQ.mjs";
58
+ } from "../chunk-4ETFMWQR.mjs";
59
59
  export {
60
60
  ApiRequestBlockSpec,
61
61
  AuthorizationTab,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ixo/editor",
3
- "version": "3.9.0",
3
+ "version": "4.0.1",
4
4
  "description": "A custom BlockNote editor wrapper for IXO team",
5
5
  "main": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",