@ixo/editor 5.7.0 → 5.9.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-4QAMDIPO.mjs → chunk-MOPZZGGR.mjs} +135 -66
- package/dist/chunk-MOPZZGGR.mjs.map +1 -0
- package/dist/{graphql-client-DE9Dyji4.d.ts → graphql-client-B0OmwaaY.d.ts} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/mantine/index.d.ts +2 -2
- package/dist/mantine/index.mjs +1 -1
- package/package.json +3 -1
- package/style-core.css +8 -5
- package/style-mantine.css +8 -5
- package/style-scoped.css +8 -5
- package/style.css +8 -5
- package/dist/chunk-4QAMDIPO.mjs.map +0 -1
|
@@ -2062,7 +2062,7 @@ interface BlocknoteHandlers {
|
|
|
2062
2062
|
/**
|
|
2063
2063
|
* Get the evaluation template linked resource for a deed
|
|
2064
2064
|
*/
|
|
2065
|
-
getEvaluationTemplate?: (deedDid: string) => Promise<{
|
|
2065
|
+
getEvaluationTemplate?: (deedDid: string, claimCollectionId?: string) => Promise<{
|
|
2066
2066
|
surveyTemplate: any;
|
|
2067
2067
|
claimCollectionId: string;
|
|
2068
2068
|
} | null>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-B0OmwaaY.mjs';
|
|
2
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-C29wGJ7k.mjs';
|
|
3
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-7l_Wftr_.mjs';
|
|
4
4
|
export { Block, BlockNoteEditor, BlockNoteSchema, DefaultBlockSchema, DefaultInlineContentSchema, DefaultStyleSchema, PartialBlock } from '@blocknote/core';
|
package/dist/index.mjs
CHANGED
package/dist/mantine/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { v as BlocknoteHandlers } from '../graphql-client-
|
|
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-
|
|
1
|
+
import { v as BlocknoteHandlers } from '../graphql-client-B0OmwaaY.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-B0OmwaaY.mjs';
|
|
3
3
|
import React__default, { PropsWithChildren } from 'react';
|
|
4
4
|
import { K as IxoBlockProps, s as IxoEditorType, w as FlowNodeRuntimeState } from '../index-7l_Wftr_.mjs';
|
|
5
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-7l_Wftr_.mjs';
|
package/dist/mantine/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ixo/editor",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.9.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",
|
|
@@ -72,6 +72,8 @@
|
|
|
72
72
|
"@dnd-kit/core": "^6.3.1",
|
|
73
73
|
"@ixo/ucan": "^1.0.1",
|
|
74
74
|
"@tabler/icons-react": "3.35.0",
|
|
75
|
+
"@tiptap/core": "2.26.1",
|
|
76
|
+
"@tiptap/extension-code": "2.26.1",
|
|
75
77
|
"blockstore-core": "^6.1.2",
|
|
76
78
|
"ipfs-unixfs-importer": "^16.1.1",
|
|
77
79
|
"multiformats": "^13.4.2",
|
package/style-core.css
CHANGED
|
@@ -17,6 +17,14 @@
|
|
|
17
17
|
border-radius: 0px !important;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
+
/* Read-only / published page: hide local collaboration cursor decorations */
|
|
21
|
+
.ixo-editor--readonly .bn-collaboration-cursor__base,
|
|
22
|
+
.ixo-editor--readonly .bn-collaboration-cursor__caret,
|
|
23
|
+
.ixo-editor--readonly .bn-collaboration-cursor__label,
|
|
24
|
+
.ixo-editor--readonly .ProseMirror-yjs-cursor {
|
|
25
|
+
display: none !important;
|
|
26
|
+
}
|
|
27
|
+
|
|
20
28
|
/* Light theme customizations */
|
|
21
29
|
.ixo-editor--theme-light {
|
|
22
30
|
--bn-colors-editor-background: #ffffff;
|
|
@@ -62,11 +70,6 @@
|
|
|
62
70
|
border-radius: 0px !important;
|
|
63
71
|
}
|
|
64
72
|
|
|
65
|
-
.ixo-editor .bn-container:focus-within {
|
|
66
|
-
border-color: var(--bn-colors-highlight-colors-blue);
|
|
67
|
-
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
73
|
/* Block styles */
|
|
71
74
|
.ixo-editor .bn-block {
|
|
72
75
|
margin-bottom: 0.5em;
|
package/style-mantine.css
CHANGED
|
@@ -114,6 +114,14 @@
|
|
|
114
114
|
border-radius: 0px !important;
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
+
/* Read-only / published page: hide local collaboration cursor decorations */
|
|
118
|
+
.ixo-editor--readonly .bn-collaboration-cursor__base,
|
|
119
|
+
.ixo-editor--readonly .bn-collaboration-cursor__caret,
|
|
120
|
+
.ixo-editor--readonly .bn-collaboration-cursor__label,
|
|
121
|
+
.ixo-editor--readonly .ProseMirror-yjs-cursor {
|
|
122
|
+
display: none !important;
|
|
123
|
+
}
|
|
124
|
+
|
|
117
125
|
/* Light theme customizations */
|
|
118
126
|
.ixo-editor--theme-light {
|
|
119
127
|
--bn-colors-editor-background: #ffffff;
|
|
@@ -159,11 +167,6 @@
|
|
|
159
167
|
border-radius: 0px !important;
|
|
160
168
|
}
|
|
161
169
|
|
|
162
|
-
.ixo-editor .bn-container:focus-within {
|
|
163
|
-
border-color: var(--bn-colors-highlight-colors-blue);
|
|
164
|
-
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
|
|
165
|
-
}
|
|
166
|
-
|
|
167
170
|
/* Block styles */
|
|
168
171
|
.ixo-editor .bn-block {
|
|
169
172
|
margin-bottom: 0.5em;
|
package/style-scoped.css
CHANGED
|
@@ -312,6 +312,14 @@
|
|
|
312
312
|
border-radius: 0px !important;
|
|
313
313
|
}
|
|
314
314
|
|
|
315
|
+
/* Read-only / published page: hide local collaboration cursor decorations */
|
|
316
|
+
.ixo-editor--readonly .bn-collaboration-cursor__base,
|
|
317
|
+
.ixo-editor--readonly .bn-collaboration-cursor__caret,
|
|
318
|
+
.ixo-editor--readonly .bn-collaboration-cursor__label,
|
|
319
|
+
.ixo-editor--readonly .ProseMirror-yjs-cursor {
|
|
320
|
+
display: none !important;
|
|
321
|
+
}
|
|
322
|
+
|
|
315
323
|
/* Light theme customizations */
|
|
316
324
|
.ixo-editor--theme-light {
|
|
317
325
|
--bn-colors-editor-background: #ffffff;
|
|
@@ -357,11 +365,6 @@
|
|
|
357
365
|
border-radius: 0px !important;
|
|
358
366
|
}
|
|
359
367
|
|
|
360
|
-
.ixo-editor .bn-container:focus-within {
|
|
361
|
-
border-color: var(--bn-colors-highlight-colors-blue);
|
|
362
|
-
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
|
|
363
|
-
}
|
|
364
|
-
|
|
365
368
|
/* Block styles */
|
|
366
369
|
.ixo-editor .bn-block {
|
|
367
370
|
margin-bottom: 0.5em;
|
package/style.css
CHANGED
|
@@ -114,6 +114,14 @@
|
|
|
114
114
|
border-radius: 0px !important;
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
+
/* Read-only / published page: hide local collaboration cursor decorations */
|
|
118
|
+
.ixo-editor--readonly .bn-collaboration-cursor__base,
|
|
119
|
+
.ixo-editor--readonly .bn-collaboration-cursor__caret,
|
|
120
|
+
.ixo-editor--readonly .bn-collaboration-cursor__label,
|
|
121
|
+
.ixo-editor--readonly .ProseMirror-yjs-cursor {
|
|
122
|
+
display: none !important;
|
|
123
|
+
}
|
|
124
|
+
|
|
117
125
|
/* Light theme customizations */
|
|
118
126
|
.ixo-editor--theme-light {
|
|
119
127
|
--bn-colors-editor-background: #ffffff;
|
|
@@ -159,11 +167,6 @@
|
|
|
159
167
|
border-radius: 0px !important;
|
|
160
168
|
}
|
|
161
169
|
|
|
162
|
-
.ixo-editor .bn-container:focus-within {
|
|
163
|
-
border-color: var(--bn-colors-highlight-colors-blue);
|
|
164
|
-
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
|
|
165
|
-
}
|
|
166
|
-
|
|
167
170
|
/* Block styles */
|
|
168
171
|
.ixo-editor .bn-block {
|
|
169
172
|
margin-bottom: 0.5em;
|