@ixo/editor 2.13.0 → 2.15.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.
- package/dist/{chunk-JRIF7FLP.mjs → chunk-ER7KTMUM.mjs} +2514 -1060
- package/dist/chunk-ER7KTMUM.mjs.map +1 -0
- package/dist/{graphql-client-DeZNdAol.d.ts → graphql-client-C_hXBK9A.d.ts} +207 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +1 -1
- package/dist/mantine/index.d.ts +2 -2
- package/dist/mantine/index.mjs +1 -1
- package/package.json +5 -3
- package/dist/chunk-JRIF7FLP.mjs.map +0 -1
|
@@ -888,6 +888,17 @@ interface Transaction {
|
|
|
888
888
|
time: string;
|
|
889
889
|
description?: string;
|
|
890
890
|
}
|
|
891
|
+
interface DeedSubscription {
|
|
892
|
+
did: string;
|
|
893
|
+
subscriberAddress: string;
|
|
894
|
+
subscriberDid?: string;
|
|
895
|
+
subscriberName?: string;
|
|
896
|
+
subscriberImage?: string;
|
|
897
|
+
subscriptionDate: string;
|
|
898
|
+
status: 'active' | 'inactive' | 'pending';
|
|
899
|
+
metadata?: Record<string, any>;
|
|
900
|
+
actionSections?: SelectionActionSection[];
|
|
901
|
+
}
|
|
891
902
|
interface Bid {
|
|
892
903
|
id: string;
|
|
893
904
|
did: string;
|
|
@@ -1157,6 +1168,10 @@ interface BlocknoteHandlers {
|
|
|
1157
1168
|
data: Asset[];
|
|
1158
1169
|
totalCount: number;
|
|
1159
1170
|
}>;
|
|
1171
|
+
getDeedSubscriptions: (relayerDid: string, page: number) => Promise<{
|
|
1172
|
+
data: DeedSubscription[];
|
|
1173
|
+
totalCount: number;
|
|
1174
|
+
}>;
|
|
1160
1175
|
getCollections: (relayerDid: string, page: number) => Promise<{
|
|
1161
1176
|
data: Collection[];
|
|
1162
1177
|
totalCount: number;
|
|
@@ -2656,6 +2671,198 @@ declare const blockSpecs: {
|
|
|
2656
2671
|
readonly content: "none";
|
|
2657
2672
|
}, any, _blocknote_core.InlineContentSchema, _blocknote_core.StyleSchema>;
|
|
2658
2673
|
};
|
|
2674
|
+
protocolSelector: {
|
|
2675
|
+
config: {
|
|
2676
|
+
readonly type: "protocolSelector";
|
|
2677
|
+
readonly propSchema: {
|
|
2678
|
+
readonly title: {
|
|
2679
|
+
readonly default: "";
|
|
2680
|
+
};
|
|
2681
|
+
readonly description: {
|
|
2682
|
+
readonly default: "";
|
|
2683
|
+
};
|
|
2684
|
+
readonly icon: {
|
|
2685
|
+
readonly default: "git-branch";
|
|
2686
|
+
};
|
|
2687
|
+
readonly protocolDids: {
|
|
2688
|
+
readonly default: "[]";
|
|
2689
|
+
};
|
|
2690
|
+
readonly selectedProtocolDid: {
|
|
2691
|
+
readonly default: "";
|
|
2692
|
+
};
|
|
2693
|
+
readonly selectedProtocolName: {
|
|
2694
|
+
readonly default: "";
|
|
2695
|
+
};
|
|
2696
|
+
readonly selectedProtocolType: {
|
|
2697
|
+
readonly default: "";
|
|
2698
|
+
};
|
|
2699
|
+
readonly status: {
|
|
2700
|
+
readonly default: "pending";
|
|
2701
|
+
};
|
|
2702
|
+
readonly conditions: {
|
|
2703
|
+
readonly default: "";
|
|
2704
|
+
};
|
|
2705
|
+
};
|
|
2706
|
+
readonly content: "none";
|
|
2707
|
+
};
|
|
2708
|
+
implementation: _blocknote_core.TiptapBlockImplementation<{
|
|
2709
|
+
readonly type: "protocolSelector";
|
|
2710
|
+
readonly propSchema: {
|
|
2711
|
+
readonly title: {
|
|
2712
|
+
readonly default: "";
|
|
2713
|
+
};
|
|
2714
|
+
readonly description: {
|
|
2715
|
+
readonly default: "";
|
|
2716
|
+
};
|
|
2717
|
+
readonly icon: {
|
|
2718
|
+
readonly default: "git-branch";
|
|
2719
|
+
};
|
|
2720
|
+
readonly protocolDids: {
|
|
2721
|
+
readonly default: "[]";
|
|
2722
|
+
};
|
|
2723
|
+
readonly selectedProtocolDid: {
|
|
2724
|
+
readonly default: "";
|
|
2725
|
+
};
|
|
2726
|
+
readonly selectedProtocolName: {
|
|
2727
|
+
readonly default: "";
|
|
2728
|
+
};
|
|
2729
|
+
readonly selectedProtocolType: {
|
|
2730
|
+
readonly default: "";
|
|
2731
|
+
};
|
|
2732
|
+
readonly status: {
|
|
2733
|
+
readonly default: "pending";
|
|
2734
|
+
};
|
|
2735
|
+
readonly conditions: {
|
|
2736
|
+
readonly default: "";
|
|
2737
|
+
};
|
|
2738
|
+
};
|
|
2739
|
+
readonly content: "none";
|
|
2740
|
+
}, any, _blocknote_core.InlineContentSchema, _blocknote_core.StyleSchema>;
|
|
2741
|
+
};
|
|
2742
|
+
form: {
|
|
2743
|
+
config: {
|
|
2744
|
+
readonly type: "form";
|
|
2745
|
+
readonly propSchema: {
|
|
2746
|
+
readonly title: {
|
|
2747
|
+
readonly default: "";
|
|
2748
|
+
};
|
|
2749
|
+
readonly description: {
|
|
2750
|
+
readonly default: "";
|
|
2751
|
+
};
|
|
2752
|
+
readonly icon: {
|
|
2753
|
+
readonly default: "checklist";
|
|
2754
|
+
};
|
|
2755
|
+
readonly surveySchema: {
|
|
2756
|
+
readonly default: "";
|
|
2757
|
+
};
|
|
2758
|
+
readonly answers: {
|
|
2759
|
+
readonly default: "";
|
|
2760
|
+
};
|
|
2761
|
+
readonly status: {
|
|
2762
|
+
readonly default: "pending";
|
|
2763
|
+
};
|
|
2764
|
+
readonly completedAt: {
|
|
2765
|
+
readonly default: "";
|
|
2766
|
+
};
|
|
2767
|
+
};
|
|
2768
|
+
readonly content: "none";
|
|
2769
|
+
};
|
|
2770
|
+
implementation: _blocknote_core.TiptapBlockImplementation<{
|
|
2771
|
+
readonly type: "form";
|
|
2772
|
+
readonly propSchema: {
|
|
2773
|
+
readonly title: {
|
|
2774
|
+
readonly default: "";
|
|
2775
|
+
};
|
|
2776
|
+
readonly description: {
|
|
2777
|
+
readonly default: "";
|
|
2778
|
+
};
|
|
2779
|
+
readonly icon: {
|
|
2780
|
+
readonly default: "checklist";
|
|
2781
|
+
};
|
|
2782
|
+
readonly surveySchema: {
|
|
2783
|
+
readonly default: "";
|
|
2784
|
+
};
|
|
2785
|
+
readonly answers: {
|
|
2786
|
+
readonly default: "";
|
|
2787
|
+
};
|
|
2788
|
+
readonly status: {
|
|
2789
|
+
readonly default: "pending";
|
|
2790
|
+
};
|
|
2791
|
+
readonly completedAt: {
|
|
2792
|
+
readonly default: "";
|
|
2793
|
+
};
|
|
2794
|
+
};
|
|
2795
|
+
readonly content: "none";
|
|
2796
|
+
}, any, _blocknote_core.InlineContentSchema, _blocknote_core.StyleSchema>;
|
|
2797
|
+
};
|
|
2798
|
+
domainCreatorSign: {
|
|
2799
|
+
config: {
|
|
2800
|
+
readonly type: "domainCreatorSign";
|
|
2801
|
+
readonly propSchema: {
|
|
2802
|
+
readonly title: {
|
|
2803
|
+
readonly default: "";
|
|
2804
|
+
};
|
|
2805
|
+
readonly description: {
|
|
2806
|
+
readonly default: "";
|
|
2807
|
+
};
|
|
2808
|
+
readonly icon: {
|
|
2809
|
+
readonly default: "file-text";
|
|
2810
|
+
};
|
|
2811
|
+
readonly domainCardData: {
|
|
2812
|
+
readonly default: "{}";
|
|
2813
|
+
};
|
|
2814
|
+
readonly entityType: {
|
|
2815
|
+
readonly default: "";
|
|
2816
|
+
};
|
|
2817
|
+
readonly status: {
|
|
2818
|
+
readonly default: "pending";
|
|
2819
|
+
};
|
|
2820
|
+
readonly entityDid: {
|
|
2821
|
+
readonly default: "";
|
|
2822
|
+
};
|
|
2823
|
+
readonly transactionHash: {
|
|
2824
|
+
readonly default: "";
|
|
2825
|
+
};
|
|
2826
|
+
readonly errorMessage: {
|
|
2827
|
+
readonly default: "";
|
|
2828
|
+
};
|
|
2829
|
+
};
|
|
2830
|
+
readonly content: "none";
|
|
2831
|
+
};
|
|
2832
|
+
implementation: _blocknote_core.TiptapBlockImplementation<{
|
|
2833
|
+
readonly type: "domainCreatorSign";
|
|
2834
|
+
readonly propSchema: {
|
|
2835
|
+
readonly title: {
|
|
2836
|
+
readonly default: "";
|
|
2837
|
+
};
|
|
2838
|
+
readonly description: {
|
|
2839
|
+
readonly default: "";
|
|
2840
|
+
};
|
|
2841
|
+
readonly icon: {
|
|
2842
|
+
readonly default: "file-text";
|
|
2843
|
+
};
|
|
2844
|
+
readonly domainCardData: {
|
|
2845
|
+
readonly default: "{}";
|
|
2846
|
+
};
|
|
2847
|
+
readonly entityType: {
|
|
2848
|
+
readonly default: "";
|
|
2849
|
+
};
|
|
2850
|
+
readonly status: {
|
|
2851
|
+
readonly default: "pending";
|
|
2852
|
+
};
|
|
2853
|
+
readonly entityDid: {
|
|
2854
|
+
readonly default: "";
|
|
2855
|
+
};
|
|
2856
|
+
readonly transactionHash: {
|
|
2857
|
+
readonly default: "";
|
|
2858
|
+
};
|
|
2859
|
+
readonly errorMessage: {
|
|
2860
|
+
readonly default: "";
|
|
2861
|
+
};
|
|
2862
|
+
};
|
|
2863
|
+
readonly content: "none";
|
|
2864
|
+
}, any, _blocknote_core.InlineContentSchema, _blocknote_core.StyleSchema>;
|
|
2865
|
+
};
|
|
2659
2866
|
};
|
|
2660
2867
|
declare const getExtraSlashMenuItems: (editor: any) => {
|
|
2661
2868
|
title: string;
|
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-
|
|
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-
|
|
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-C_hXBK9A.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-C_hXBK9A.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
package/dist/mantine/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ak as IxoBlockProps } from '../graphql-client-
|
|
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, 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-
|
|
1
|
+
import { ak as IxoBlockProps } from '../graphql-client-C_hXBK9A.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, 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-C_hXBK9A.mjs';
|
|
3
3
|
import * as zustand from 'zustand';
|
|
4
4
|
import * as _blocknote_core from '@blocknote/core';
|
|
5
5
|
export { Block, BlockNoteEditor, BlockNoteSchema, DefaultBlockSchema, DefaultInlineContentSchema, DefaultStyleSchema, PartialBlock } from '@blocknote/core';
|
package/dist/mantine/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ixo/editor",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.15.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",
|
|
@@ -54,7 +54,8 @@
|
|
|
54
54
|
"@mantine/hooks": "^7.11.2",
|
|
55
55
|
"matrix-js-sdk": ">=37.5.0",
|
|
56
56
|
"react": "^18.0.0",
|
|
57
|
-
"react-dom": "^18.0.0"
|
|
57
|
+
"react-dom": "^18.0.0",
|
|
58
|
+
"react-jazzicon": "^1.0.4"
|
|
58
59
|
},
|
|
59
60
|
"dependencies": {
|
|
60
61
|
"@blocknote/core": "0.29.1",
|
|
@@ -65,13 +66,13 @@
|
|
|
65
66
|
"zustand": "5.0.8"
|
|
66
67
|
},
|
|
67
68
|
"devDependencies": {
|
|
68
|
-
"@ixo/surveys": "^0.1.0",
|
|
69
69
|
"@commitlint/cli": "^20.0.0",
|
|
70
70
|
"@commitlint/config-conventional": "^20.0.0",
|
|
71
71
|
"@eslint/compat": "^1.4.0",
|
|
72
72
|
"@eslint/eslintrc": "^3.3.1",
|
|
73
73
|
"@eslint/js": "^9.36.0",
|
|
74
74
|
"@ixo/matrix-crdt": "1.0.4",
|
|
75
|
+
"@ixo/surveys": "^0.1.0",
|
|
75
76
|
"@mantine/core": "^7.11.2",
|
|
76
77
|
"@mantine/hooks": "^7.11.2",
|
|
77
78
|
"@semantic-release/changelog": "^6.0.3",
|
|
@@ -94,6 +95,7 @@
|
|
|
94
95
|
"prettier": "^3.2.5",
|
|
95
96
|
"react": "^18.2.0",
|
|
96
97
|
"react-dom": "^18.2.0",
|
|
98
|
+
"react-jazzicon": "^1.0.4",
|
|
97
99
|
"rimraf": "^5.0.0",
|
|
98
100
|
"semantic-release": "^22.0.12",
|
|
99
101
|
"tsup": "^8.5.0",
|