@ixo/editor 2.20.0 → 2.22.0

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.
@@ -674,6 +674,11 @@ interface VoteResponse {
674
674
  interface User {
675
675
  address: string;
676
676
  }
677
+ type AwarenessDocActor = {
678
+ name: string;
679
+ did: string;
680
+ src: string | null;
681
+ };
677
682
  type IUserMatrixProfile = {
678
683
  walletAddress: string;
679
684
  displayname: string;
@@ -1107,6 +1112,138 @@ interface BlockRequirements {
1107
1112
  coreAddress: string;
1108
1113
  };
1109
1114
  }
1115
+ /**
1116
+ * UDID outcome values matching EvaluationStatus enum
1117
+ * PENDING = 0, APPROVED = 1, REJECTED = 2, DISPUTED = 3, INVALIDATED = 4, UNRECOGNIZED = -1
1118
+ */
1119
+ type UdidOutcome = 0 | 1 | 2 | 3 | 4 | -1;
1120
+ /**
1121
+ * Granular step result item for UDID
1122
+ */
1123
+ interface UdidResultItem {
1124
+ /** Unique identifier for this result item */
1125
+ id: string;
1126
+ /** Type of check/step */
1127
+ kind: 'compute' | 'fetch' | 'check' | 'validate';
1128
+ /** Whether this step passed */
1129
+ success: boolean;
1130
+ /** Score or value (optional) */
1131
+ score?: number;
1132
+ /** Output data from this step */
1133
+ outputs?: Record<string, any>;
1134
+ /** Human-readable message */
1135
+ message?: string;
1136
+ /** Error message if failed */
1137
+ error?: string;
1138
+ }
1139
+ /**
1140
+ * Signed UDID structure
1141
+ */
1142
+ interface SignedUdid {
1143
+ /** Unique identifier for this UDID */
1144
+ id: string;
1145
+ /** The unsigned UDID payload */
1146
+ payload: {
1147
+ /** Subject of the evaluation (claim CID) */
1148
+ sub: string;
1149
+ /** Issuer DID (evaluator) */
1150
+ iss: string;
1151
+ /** Audience/context (deed DID) */
1152
+ aud: string;
1153
+ /** Issued at timestamp */
1154
+ iat: number;
1155
+ /** Expiration timestamp (optional) */
1156
+ exp?: number;
1157
+ /** Action/capability context */
1158
+ act: {
1159
+ capabilityCid: string;
1160
+ capabilitySchema: string;
1161
+ rubricAuthority: string;
1162
+ rubricId: string;
1163
+ environment: string;
1164
+ evaluatorVersion?: string;
1165
+ };
1166
+ /** Result data */
1167
+ res: {
1168
+ outcome: number;
1169
+ tag: string;
1170
+ patch?: Record<string, any>;
1171
+ traceCid?: string;
1172
+ traceHash?: string;
1173
+ items?: UdidResultItem[];
1174
+ resultSchema?: string;
1175
+ };
1176
+ /** Metadata */
1177
+ meta: {
1178
+ collectionId: string;
1179
+ timestamp: string;
1180
+ };
1181
+ };
1182
+ /** Signature of the payload */
1183
+ signature: string;
1184
+ /** Verification method used for signing */
1185
+ verificationMethod: string;
1186
+ }
1187
+ /**
1188
+ * Parameters for creating a UDID
1189
+ */
1190
+ interface CreateUdidParams {
1191
+ /** CID of the claim being evaluated */
1192
+ claimCid: string;
1193
+ /** DID of the Deed/Context where this result applies */
1194
+ deedDid: string;
1195
+ /** Collection ID for the claim */
1196
+ collectionId: string;
1197
+ /** CID of the UCAN/capability that authorized this evaluation */
1198
+ capabilityCid: string;
1199
+ /** Schema of the capability (default: "ixo-protocol-v1") */
1200
+ capabilitySchema?: string;
1201
+ /** DID of the rubric authority (usually the Deed DID) */
1202
+ rubricAuthority: string;
1203
+ /** Version/ID of the rubric used */
1204
+ rubricId: string;
1205
+ /** Environment (default: "production") */
1206
+ environment?: 'production' | 'simulation' | 'testnet';
1207
+ /** Version of the evaluator (optional) */
1208
+ evaluatorVersion?: string;
1209
+ /** Outcome of the evaluation matching EvaluationStatus enum (0=PENDING, 1=APPROVED, 2=REJECTED, 3=DISPUTED, 4=INVALIDATED, -1=UNRECOGNIZED) */
1210
+ outcome: UdidOutcome | number;
1211
+ /** Human-readable tag for the outcome */
1212
+ tag: string;
1213
+ /** State patch to apply to Digital Twin (optional) */
1214
+ patch?: Record<string, any>;
1215
+ /** CID of the trace/reasoning logs (optional) */
1216
+ traceCid?: string;
1217
+ /** Hash of the trace for integrity (optional) */
1218
+ traceHash?: string;
1219
+ /** Granular step results (optional) */
1220
+ items?: UdidResultItem[];
1221
+ /** Schema for result validation (optional) */
1222
+ resultSchema?: string;
1223
+ /** Type of issuer: entity or user */
1224
+ issuerType: 'entity' | 'user';
1225
+ /** Entity room ID (required if issuerType is "entity") */
1226
+ entityRoomId?: string;
1227
+ /** PIN for decrypting signing key */
1228
+ pin: string;
1229
+ /** Expiration time in seconds from now (optional) */
1230
+ expiresInSeconds?: number;
1231
+ }
1232
+ /**
1233
+ * Response from creating a UDID
1234
+ */
1235
+ interface CreateUdidResponse {
1236
+ /** Whether the UDID was created successfully */
1237
+ success: boolean;
1238
+ /** The signed UDID */
1239
+ udid: SignedUdid;
1240
+ /** CID of the stored UDID in public storage (IPFS/Matrix) */
1241
+ cid: string;
1242
+ /** URL to fetch the UDID from public storage */
1243
+ url: string;
1244
+ /** Transaction hash if submitted on-chain */
1245
+ transactionHash?: string;
1246
+ }
1110
1247
  interface VoteParams {
1111
1248
  proposalId: number;
1112
1249
  rationale?: string;
@@ -1154,6 +1291,7 @@ interface BlocknoteHandlers {
1154
1291
  getVote: (proposalContractAddress: string, proposalId: string, userAddress: string) => Promise<VoteResponse>;
1155
1292
  getProposal: (proposalContractAddress: string, proposalId: string) => Promise<ProposalResponse>;
1156
1293
  getCurrentUser: () => User;
1294
+ getRoomMembers: (roomId: string, mx: MatrixClient) => Promise<AwarenessDocActor[]>;
1157
1295
  getMatrixInfoPerDid: (did: string) => Promise<IUserMatrixProfile>;
1158
1296
  getDaoGroupsIds: () => Promise<string[] | undefined>;
1159
1297
  getDAOGroups: () => Promise<DAOGroup[]>;
@@ -1508,6 +1646,108 @@ interface BlocknoteHandlers {
1508
1646
  /** Transaction hash */
1509
1647
  transactionHash: string;
1510
1648
  }>;
1649
+ /**
1650
+ * List available email templates from Mailgun
1651
+ */
1652
+ listEmailTemplates?: (params: {
1653
+ limit?: number;
1654
+ page?: string;
1655
+ }) => Promise<{
1656
+ items: Array<{
1657
+ name: string;
1658
+ description?: string;
1659
+ createdAt: string;
1660
+ }>;
1661
+ paging?: {
1662
+ first: string;
1663
+ last: string;
1664
+ next?: string;
1665
+ previous?: string;
1666
+ };
1667
+ }>;
1668
+ /**
1669
+ * Get a specific email template with optional active version content
1670
+ */
1671
+ getEmailTemplate?: (params: {
1672
+ templateName: string;
1673
+ active?: boolean;
1674
+ }) => Promise<{
1675
+ name: string;
1676
+ description?: string;
1677
+ version?: {
1678
+ tag: string;
1679
+ template: string;
1680
+ engine: string;
1681
+ active: boolean;
1682
+ createdAt: string;
1683
+ };
1684
+ }>;
1685
+ /**
1686
+ * Send an email using a template
1687
+ */
1688
+ sendEmail?: (params: {
1689
+ from: string;
1690
+ to: string;
1691
+ subject: string;
1692
+ template: string;
1693
+ templateVersion?: string;
1694
+ variables?: Record<string, any>;
1695
+ cc?: string;
1696
+ bcc?: string;
1697
+ replyTo?: string;
1698
+ }) => Promise<{
1699
+ id: string;
1700
+ message: string;
1701
+ }>;
1702
+ /**
1703
+ * Get the rubric linked resource for a deed
1704
+ */
1705
+ getDeedRubric?: (deedDid: string) => Promise<{
1706
+ rubric: any;
1707
+ claimCollectionId: string;
1708
+ } | null>;
1709
+ /**
1710
+ * Evaluate a claim using a rubric via the rubric engine
1711
+ */
1712
+ evaluateWithRubric?: (params: {
1713
+ rubric: string;
1714
+ claim: Record<string, any>;
1715
+ }) => Promise<{
1716
+ success: boolean;
1717
+ trace?: {
1718
+ traceId: string;
1719
+ rubricVersion: number;
1720
+ rubricName: string | null;
1721
+ actor: {
1722
+ type: 'ai' | 'human';
1723
+ id?: string;
1724
+ } | null;
1725
+ result: {
1726
+ outcome: 'pass' | 'fail' | 'escalated';
1727
+ steps: Array<{
1728
+ stepId: string;
1729
+ kind: 'compute' | 'fetch' | 'check';
1730
+ success: boolean;
1731
+ outputs?: Record<string, any>;
1732
+ message?: string;
1733
+ error?: string;
1734
+ duration?: number;
1735
+ timestamp: string;
1736
+ }>;
1737
+ executionId: string;
1738
+ startTime: string;
1739
+ endTime: string;
1740
+ totalDuration: number;
1741
+ escalatedTo?: string;
1742
+ };
1743
+ claim: Record<string, any>;
1744
+ };
1745
+ error?: string;
1746
+ }>;
1747
+ /**
1748
+ * Create a Universal Decentralized Identifier (UDID) for an evaluation result
1749
+ */
1750
+ createUdid?: (params: CreateUdidParams) => Promise<CreateUdidResponse>;
1511
1751
  }
1512
1752
  type DocType = 'template' | 'page' | 'flow';
1513
1753
  /**
@@ -1815,6 +2055,9 @@ declare const ApiRequestBlockSpec: {
1815
2055
  readonly conditions: {
1816
2056
  readonly default: "";
1817
2057
  };
2058
+ readonly assignment: {
2059
+ readonly default: string;
2060
+ };
1818
2061
  };
1819
2062
  readonly content: "inline";
1820
2063
  };
@@ -1854,6 +2097,9 @@ declare const ApiRequestBlockSpec: {
1854
2097
  readonly conditions: {
1855
2098
  readonly default: "";
1856
2099
  };
2100
+ readonly assignment: {
2101
+ readonly default: string;
2102
+ };
1857
2103
  };
1858
2104
  readonly content: "inline";
1859
2105
  }, any, _blocknote_core.InlineContentSchema, _blocknote_core.StyleSchema>;
@@ -2160,6 +2406,9 @@ declare const blockSpecs: {
2160
2406
  readonly conditions: {
2161
2407
  readonly default: "";
2162
2408
  };
2409
+ readonly assignment: {
2410
+ readonly default: string;
2411
+ };
2163
2412
  };
2164
2413
  readonly content: "inline";
2165
2414
  };
@@ -2199,6 +2448,9 @@ declare const blockSpecs: {
2199
2448
  readonly conditions: {
2200
2449
  readonly default: "";
2201
2450
  };
2451
+ readonly assignment: {
2452
+ readonly default: string;
2453
+ };
2202
2454
  };
2203
2455
  readonly content: "inline";
2204
2456
  }, any, _blocknote_core.InlineContentSchema, _blocknote_core.StyleSchema>;
@@ -2374,6 +2626,9 @@ declare const blockSpecs: {
2374
2626
  readonly activationRequireAuthorisedActor: {
2375
2627
  readonly default: false;
2376
2628
  };
2629
+ readonly assignment: {
2630
+ readonly default: string;
2631
+ };
2377
2632
  };
2378
2633
  readonly content: "none";
2379
2634
  };
@@ -2419,6 +2674,9 @@ declare const blockSpecs: {
2419
2674
  readonly activationRequireAuthorisedActor: {
2420
2675
  readonly default: false;
2421
2676
  };
2677
+ readonly assignment: {
2678
+ readonly default: string;
2679
+ };
2422
2680
  };
2423
2681
  readonly content: "none";
2424
2682
  }, any, _blocknote_core.InlineContentSchema, _blocknote_core.StyleSchema>;
@@ -2460,6 +2718,9 @@ declare const blockSpecs: {
2460
2718
  readonly activationRequireAuthorisedActor: {
2461
2719
  readonly default: false;
2462
2720
  };
2721
+ readonly assignment: {
2722
+ readonly default: string;
2723
+ };
2463
2724
  };
2464
2725
  readonly content: "none";
2465
2726
  };
@@ -2499,6 +2760,9 @@ declare const blockSpecs: {
2499
2760
  readonly activationRequireAuthorisedActor: {
2500
2761
  readonly default: false;
2501
2762
  };
2763
+ readonly assignment: {
2764
+ readonly default: string;
2765
+ };
2502
2766
  };
2503
2767
  readonly content: "none";
2504
2768
  }, any, _blocknote_core.InlineContentSchema, _blocknote_core.StyleSchema>;
@@ -2525,6 +2789,9 @@ declare const blockSpecs: {
2525
2789
  readonly adminAddress: {
2526
2790
  readonly default: "";
2527
2791
  };
2792
+ readonly assignment: {
2793
+ readonly default: string;
2794
+ };
2528
2795
  };
2529
2796
  readonly content: "none";
2530
2797
  };
@@ -2549,6 +2816,9 @@ declare const blockSpecs: {
2549
2816
  readonly adminAddress: {
2550
2817
  readonly default: "";
2551
2818
  };
2819
+ readonly assignment: {
2820
+ readonly default: string;
2821
+ };
2552
2822
  };
2553
2823
  readonly content: "none";
2554
2824
  }, any, _blocknote_core.InlineContentSchema, _blocknote_core.StyleSchema>;
@@ -2615,6 +2885,134 @@ declare const blockSpecs: {
2615
2885
  readonly content: "none";
2616
2886
  }, any, _blocknote_core.InlineContentSchema, _blocknote_core.StyleSchema>;
2617
2887
  };
2888
+ email: {
2889
+ config: {
2890
+ readonly type: "email";
2891
+ readonly propSchema: {
2892
+ readonly templateName: {
2893
+ readonly default: "";
2894
+ };
2895
+ readonly templateVersion: {
2896
+ readonly default: "";
2897
+ };
2898
+ readonly from: {
2899
+ readonly default: "";
2900
+ };
2901
+ readonly to: {
2902
+ readonly default: "";
2903
+ };
2904
+ readonly cc: {
2905
+ readonly default: "";
2906
+ };
2907
+ readonly bcc: {
2908
+ readonly default: "";
2909
+ };
2910
+ readonly subject: {
2911
+ readonly default: "";
2912
+ };
2913
+ readonly replyTo: {
2914
+ readonly default: "";
2915
+ };
2916
+ readonly variables: {
2917
+ readonly default: "{}";
2918
+ };
2919
+ readonly extractedVariables: {
2920
+ readonly default: "[]";
2921
+ };
2922
+ readonly title: {
2923
+ readonly default: "Send Email";
2924
+ };
2925
+ readonly description: {
2926
+ readonly default: "";
2927
+ };
2928
+ readonly icon: {
2929
+ readonly default: "mail";
2930
+ };
2931
+ readonly buttonLabel: {
2932
+ readonly default: "Send Email";
2933
+ };
2934
+ readonly status: {
2935
+ readonly default: "idle";
2936
+ };
2937
+ readonly lastSentAt: {
2938
+ readonly default: "";
2939
+ };
2940
+ readonly lastMessageId: {
2941
+ readonly default: "";
2942
+ };
2943
+ readonly error: {
2944
+ readonly default: "";
2945
+ };
2946
+ readonly conditions: {
2947
+ readonly default: "";
2948
+ };
2949
+ };
2950
+ readonly content: "none";
2951
+ };
2952
+ implementation: _blocknote_core.TiptapBlockImplementation<{
2953
+ readonly type: "email";
2954
+ readonly propSchema: {
2955
+ readonly templateName: {
2956
+ readonly default: "";
2957
+ };
2958
+ readonly templateVersion: {
2959
+ readonly default: "";
2960
+ };
2961
+ readonly from: {
2962
+ readonly default: "";
2963
+ };
2964
+ readonly to: {
2965
+ readonly default: "";
2966
+ };
2967
+ readonly cc: {
2968
+ readonly default: "";
2969
+ };
2970
+ readonly bcc: {
2971
+ readonly default: "";
2972
+ };
2973
+ readonly subject: {
2974
+ readonly default: "";
2975
+ };
2976
+ readonly replyTo: {
2977
+ readonly default: "";
2978
+ };
2979
+ readonly variables: {
2980
+ readonly default: "{}";
2981
+ };
2982
+ readonly extractedVariables: {
2983
+ readonly default: "[]";
2984
+ };
2985
+ readonly title: {
2986
+ readonly default: "Send Email";
2987
+ };
2988
+ readonly description: {
2989
+ readonly default: "";
2990
+ };
2991
+ readonly icon: {
2992
+ readonly default: "mail";
2993
+ };
2994
+ readonly buttonLabel: {
2995
+ readonly default: "Send Email";
2996
+ };
2997
+ readonly status: {
2998
+ readonly default: "idle";
2999
+ };
3000
+ readonly lastSentAt: {
3001
+ readonly default: "";
3002
+ };
3003
+ readonly lastMessageId: {
3004
+ readonly default: "";
3005
+ };
3006
+ readonly error: {
3007
+ readonly default: "";
3008
+ };
3009
+ readonly conditions: {
3010
+ readonly default: "";
3011
+ };
3012
+ };
3013
+ readonly content: "none";
3014
+ }, any, _blocknote_core.InlineContentSchema, _blocknote_core.StyleSchema>;
3015
+ };
2618
3016
  visualization: {
2619
3017
  config: {
2620
3018
  readonly type: "visualization";
@@ -2870,6 +3268,9 @@ declare const blockSpecs: {
2870
3268
  readonly errorMessage: {
2871
3269
  readonly default: "";
2872
3270
  };
3271
+ readonly assignment: {
3272
+ readonly default: string;
3273
+ };
2873
3274
  };
2874
3275
  readonly content: "none";
2875
3276
  };
@@ -2903,6 +3304,9 @@ declare const blockSpecs: {
2903
3304
  readonly errorMessage: {
2904
3305
  readonly default: "";
2905
3306
  };
3307
+ readonly assignment: {
3308
+ readonly default: string;
3309
+ };
2906
3310
  };
2907
3311
  readonly content: "none";
2908
3312
  }, any, _blocknote_core.InlineContentSchema, _blocknote_core.StyleSchema>;
@@ -3223,6 +3627,15 @@ interface IxoEditorType<BSchema extends IxoBlockSchema = IxoBlockSchema, ISchema
3223
3627
  * @returns Flow metadata object
3224
3628
  */
3225
3629
  getFlowMetadata?: () => FlowMetadata;
3630
+ /**
3631
+ * Matrix room ID where this document is synced
3632
+ */
3633
+ getRoomId?: () => string;
3634
+ /**
3635
+ * Get Matrix client
3636
+ * @returns Matrix client
3637
+ */
3638
+ getMatrixClient?: () => MatrixClient;
3226
3639
  /**
3227
3640
  * Get flow-level metadata
3228
3641
  * @returns Flow metadata object
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { F as FlowNode, a as FlowNodeAuthzExtension, b as FlowNodeRuntimeState, I as IxoEditorType, S as SignedCapability, E as EvaluationStatus, C as Capability, c as CapabilityValidationResult } from './graphql-client-DVuhNcpy.mjs';
2
- export { a3 as Addr, J as ApiRequestBlockProps, t as ApiRequestBlockSpec, A as AuthorizationTab, i as AuthorizationTabState, U as AuthzExecActionTypes, Y as BlockRequirements, X as BlocknoteContextValue, W as BlocknoteHandlers, N as BlocknoteProvider, x as CheckboxBlockProps, s as CheckboxBlockSpec, aa as CosmosMsgForEmpty, g as CoverImage, h as CoverImageProps, D as DelegationGrant, ad as Entity, ae as EntityResponse, l as EntitySigningSetup, af as EntityVariables, j as EvaluationTab, k as EvaluationTabState, a6 as Expiration, m as FlowPermissionsPanel, G as GrantPermissionModal, ag as GraphQLClient, aj as GraphQLRequest, ai as GraphQLResponse, K as HttpMethod, r as IxoCollaborativeEditorOptions, q as IxoCollaborativeUser, e as IxoEditor, p as IxoEditorConfig, n as IxoEditorOptions, f as IxoEditorProps, o as IxoEditorTheme, M as KeyValuePair, z as ListBlockProps, y as ListBlockSettings, L as ListBlockSpec, O as OverviewBlock, B as OverviewBlockProps, ab as ProposalAction, H as ProposalBlockProps, P as ProposalBlockSpec, Z as ProposalResponse, _ as SingleChoiceProposal, T as StakeType, T as StakeTypeValue, a7 as Status, a8 as Threshold, a5 as Timestamp, a4 as Uint128, a2 as User, V as ValidatorActionType, a1 as Vote, a0 as VoteInfo, $ as VoteResponse, a9 as Votes, v as blockSpecs, ac as getEntity, w as getExtraSlashMenuItems, ah as ixoGraphQLClient, Q as useBlocknoteContext, R as useBlocknoteHandlers, d as useCreateCollaborativeIxoEditor, u as useCreateIxoEditor } from './graphql-client-DVuhNcpy.mjs';
1
+ import { F as FlowNode, a as FlowNodeAuthzExtension, b as FlowNodeRuntimeState, I as IxoEditorType, S as SignedCapability, E as EvaluationStatus, C as Capability, c as CapabilityValidationResult } from './graphql-client-CQA7MoaR.mjs';
2
+ export { a3 as Addr, J as ApiRequestBlockProps, t as ApiRequestBlockSpec, A as AuthorizationTab, i as AuthorizationTabState, U as AuthzExecActionTypes, Y as BlockRequirements, X as BlocknoteContextValue, W as BlocknoteHandlers, N as BlocknoteProvider, x as CheckboxBlockProps, s as CheckboxBlockSpec, aa as CosmosMsgForEmpty, g as CoverImage, h as CoverImageProps, D as DelegationGrant, ad as Entity, ae as EntityResponse, l as EntitySigningSetup, af as EntityVariables, j as EvaluationTab, k as EvaluationTabState, a6 as Expiration, m as FlowPermissionsPanel, G as GrantPermissionModal, ag as GraphQLClient, aj as GraphQLRequest, ai as GraphQLResponse, K as HttpMethod, r as IxoCollaborativeEditorOptions, q as IxoCollaborativeUser, e as IxoEditor, p as IxoEditorConfig, n as IxoEditorOptions, f as IxoEditorProps, o as IxoEditorTheme, M as KeyValuePair, z as ListBlockProps, y as ListBlockSettings, L as ListBlockSpec, O as OverviewBlock, B as OverviewBlockProps, ab as ProposalAction, H as ProposalBlockProps, P as ProposalBlockSpec, Z as ProposalResponse, _ as SingleChoiceProposal, T as StakeType, T as StakeTypeValue, a7 as Status, a8 as Threshold, a5 as Timestamp, a4 as Uint128, a2 as User, V as ValidatorActionType, a1 as Vote, a0 as VoteInfo, $ as VoteResponse, a9 as Votes, v as blockSpecs, ac as getEntity, w as getExtraSlashMenuItems, ah as ixoGraphQLClient, Q as useBlocknoteContext, R as useBlocknoteHandlers, d as useCreateCollaborativeIxoEditor, u as useCreateIxoEditor } from './graphql-client-CQA7MoaR.mjs';
3
3
  import { Map } from 'yjs';
4
4
  export { Block, BlockNoteEditor, BlockNoteSchema, DefaultBlockSchema, DefaultInlineContentSchema, DefaultStyleSchema, PartialBlock } from '@blocknote/core';
5
5
  import 'react';
package/dist/index.mjs CHANGED
@@ -34,7 +34,7 @@ import {
34
34
  useCreateCollaborativeIxoEditor,
35
35
  useCreateIxoEditor,
36
36
  validateCapabilityChain
37
- } from "./chunk-5JZLDFPC.mjs";
37
+ } from "./chunk-NBT2P6S5.mjs";
38
38
  export {
39
39
  ApiRequestBlockSpec,
40
40
  AuthorizationTab,
@@ -1,5 +1,5 @@
1
- import { ak as IxoBlockProps } from '../graphql-client-DVuhNcpy.mjs';
2
- export { a3 as Addr, J as ApiRequestBlockProps, t as ApiRequestBlockSpec, A as AuthorizationTab, i as AuthorizationTabState, U as AuthzExecActionTypes, Y as BlockRequirements, X as BlocknoteContextValue, W as BlocknoteHandlers, N as BlocknoteProvider, x as CheckboxBlockProps, s as CheckboxBlockSpec, aa as CosmosMsgForEmpty, g as CoverImage, h as CoverImageProps, av as DomainCardData, au as DomainCardRenderer, am as DropPosition, ar as DynamicListData, as as DynamicListDataProvider, at as DynamicListPanelRenderer, ad as Entity, ae as EntityResponse, l as EntitySigningSetup, af as EntityVariables, j as EvaluationTab, k as EvaluationTabState, a6 as Expiration, al as ExternalDropZone, m as FlowPermissionsPanel, G as GrantPermissionModal, ag as GraphQLClient, aj as GraphQLRequest, ai as GraphQLResponse, K as HttpMethod, r as IxoCollaborativeEditorOptions, q as IxoCollaborativeUser, e as IxoEditor, p as IxoEditorConfig, n as IxoEditorOptions, f as IxoEditorProps, o as IxoEditorTheme, I as IxoEditorType, M as KeyValuePair, z as ListBlockProps, y as ListBlockSettings, L as ListBlockSpec, O as OverviewBlock, B as OverviewBlockProps, an as PageHeader, ap as PageHeaderMenuItem, ao as PageHeaderProps, ab as ProposalAction, H as ProposalBlockProps, P as ProposalBlockSpec, Z as ProposalResponse, _ as SingleChoiceProposal, T as StakeType, T as StakeTypeValue, a7 as Status, a8 as Threshold, a5 as Timestamp, a4 as Uint128, a2 as User, V as ValidatorActionType, aq as VisualizationRenderer, a1 as Vote, a0 as VoteInfo, $ as VoteResponse, a9 as Votes, v as blockSpecs, ac as getEntity, w as getExtraSlashMenuItems, ah as ixoGraphQLClient, Q as useBlocknoteContext, R as useBlocknoteHandlers, d as useCreateCollaborativeIxoEditor, u as useCreateIxoEditor } from '../graphql-client-DVuhNcpy.mjs';
1
+ import { ak as IxoBlockProps } from '../graphql-client-CQA7MoaR.mjs';
2
+ export { a3 as Addr, J as ApiRequestBlockProps, t as ApiRequestBlockSpec, A as AuthorizationTab, i as AuthorizationTabState, U as AuthzExecActionTypes, Y as BlockRequirements, X as BlocknoteContextValue, W as BlocknoteHandlers, N as BlocknoteProvider, x as CheckboxBlockProps, s as CheckboxBlockSpec, aa as CosmosMsgForEmpty, g as CoverImage, h as CoverImageProps, av as DomainCardData, au as DomainCardRenderer, am as DropPosition, ar as DynamicListData, as as DynamicListDataProvider, at as DynamicListPanelRenderer, ad as Entity, ae as EntityResponse, l as EntitySigningSetup, af as EntityVariables, j as EvaluationTab, k as EvaluationTabState, a6 as Expiration, al as ExternalDropZone, m as FlowPermissionsPanel, G as GrantPermissionModal, ag as GraphQLClient, aj as GraphQLRequest, ai as GraphQLResponse, K as HttpMethod, r as IxoCollaborativeEditorOptions, q as IxoCollaborativeUser, e as IxoEditor, p as IxoEditorConfig, n as IxoEditorOptions, f as IxoEditorProps, o as IxoEditorTheme, I as IxoEditorType, M as KeyValuePair, z as ListBlockProps, y as ListBlockSettings, L as ListBlockSpec, O as OverviewBlock, B as OverviewBlockProps, an as PageHeader, ap as PageHeaderMenuItem, ao as PageHeaderProps, ab as ProposalAction, H as ProposalBlockProps, P as ProposalBlockSpec, Z as ProposalResponse, _ as SingleChoiceProposal, T as StakeType, T as StakeTypeValue, a7 as Status, a8 as Threshold, a5 as Timestamp, a4 as Uint128, a2 as User, V as ValidatorActionType, aq as VisualizationRenderer, a1 as Vote, a0 as VoteInfo, $ as VoteResponse, a9 as Votes, v as blockSpecs, ac as getEntity, w as getExtraSlashMenuItems, ah as ixoGraphQLClient, Q as useBlocknoteContext, R as useBlocknoteHandlers, d as useCreateCollaborativeIxoEditor, u as useCreateIxoEditor } from '../graphql-client-CQA7MoaR.mjs';
3
3
  import React$1, { PropsWithChildren } from 'react';
4
4
  import * as zustand from 'zustand';
5
5
  import * as _blocknote_core from '@blocknote/core';
@@ -32,7 +32,7 @@ import {
32
32
  useListBlocksUIStore,
33
33
  usePanel,
34
34
  usePanelStore
35
- } from "../chunk-5JZLDFPC.mjs";
35
+ } from "../chunk-NBT2P6S5.mjs";
36
36
  export {
37
37
  ApiRequestBlockSpec,
38
38
  AuthorizationTab,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ixo/editor",
3
- "version": "2.20.0",
3
+ "version": "2.22.0",
4
4
  "description": "A custom BlockNote editor wrapper for IXO team",
5
5
  "main": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",