@ixo/editor 2.40.0 → 2.41.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-JSVV5AQB.mjs → chunk-4TDDY3Q6.mjs} +643 -252
- package/dist/chunk-4TDDY3Q6.mjs.map +1 -0
- package/dist/{graphql-client-CQyRCD1j.d.ts → graphql-client-CFEZF6E1.d.ts} +52 -1
- 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 +1 -1
- package/dist/chunk-JSVV5AQB.mjs.map +0 -1
|
@@ -1197,6 +1197,10 @@ interface BlockRequirements {
|
|
|
1197
1197
|
coreAddress: string;
|
|
1198
1198
|
};
|
|
1199
1199
|
}
|
|
1200
|
+
interface UnlMapConfig {
|
|
1201
|
+
apiKey: string;
|
|
1202
|
+
vpmId: string;
|
|
1203
|
+
}
|
|
1200
1204
|
/**
|
|
1201
1205
|
* UDID outcome values matching EvaluationStatus enum
|
|
1202
1206
|
* PENDING = 0, APPROVED = 1, REJECTED = 2, DISPUTED = 3, INVALIDATED = 4, UNRECOGNIZED = -1
|
|
@@ -2216,6 +2220,7 @@ interface BlocknoteContextValue {
|
|
|
2216
2220
|
editor?: IxoEditorType;
|
|
2217
2221
|
handlers?: BlocknoteHandlers;
|
|
2218
2222
|
blockRequirements?: BlockRequirements;
|
|
2223
|
+
mapConfig?: UnlMapConfig;
|
|
2219
2224
|
editable?: boolean;
|
|
2220
2225
|
docType: DocType;
|
|
2221
2226
|
sharedProposals: SharedProposalData;
|
|
@@ -2241,6 +2246,7 @@ declare const BlocknoteProvider: React.FC<{
|
|
|
2241
2246
|
getDynamicListData?: DynamicListDataProvider;
|
|
2242
2247
|
dynamicListPanelRenderer?: DynamicListPanelRenderer;
|
|
2243
2248
|
domainCardRenderer?: DomainCardRenderer;
|
|
2249
|
+
mapConfig?: UnlMapConfig;
|
|
2244
2250
|
}>;
|
|
2245
2251
|
declare const useBlocknoteContext: () => BlocknoteContextValue;
|
|
2246
2252
|
declare const useBlocknoteHandlers: () => BlocknoteHandlers;
|
|
@@ -4166,6 +4172,50 @@ declare const blockSpecs: {
|
|
|
4166
4172
|
readonly content: "none";
|
|
4167
4173
|
}, any, _blocknote_core.InlineContentSchema, _blocknote_core.StyleSchema>;
|
|
4168
4174
|
};
|
|
4175
|
+
location: {
|
|
4176
|
+
config: {
|
|
4177
|
+
readonly type: "location";
|
|
4178
|
+
readonly propSchema: {
|
|
4179
|
+
readonly title: {
|
|
4180
|
+
readonly default: "";
|
|
4181
|
+
};
|
|
4182
|
+
readonly description: {
|
|
4183
|
+
readonly default: "";
|
|
4184
|
+
};
|
|
4185
|
+
readonly latitude: {
|
|
4186
|
+
readonly default: "";
|
|
4187
|
+
};
|
|
4188
|
+
readonly longitude: {
|
|
4189
|
+
readonly default: "";
|
|
4190
|
+
};
|
|
4191
|
+
readonly skill: {
|
|
4192
|
+
readonly default: "";
|
|
4193
|
+
};
|
|
4194
|
+
};
|
|
4195
|
+
readonly content: "none";
|
|
4196
|
+
};
|
|
4197
|
+
implementation: _blocknote_core.TiptapBlockImplementation<{
|
|
4198
|
+
readonly type: "location";
|
|
4199
|
+
readonly propSchema: {
|
|
4200
|
+
readonly title: {
|
|
4201
|
+
readonly default: "";
|
|
4202
|
+
};
|
|
4203
|
+
readonly description: {
|
|
4204
|
+
readonly default: "";
|
|
4205
|
+
};
|
|
4206
|
+
readonly latitude: {
|
|
4207
|
+
readonly default: "";
|
|
4208
|
+
};
|
|
4209
|
+
readonly longitude: {
|
|
4210
|
+
readonly default: "";
|
|
4211
|
+
};
|
|
4212
|
+
readonly skill: {
|
|
4213
|
+
readonly default: "";
|
|
4214
|
+
};
|
|
4215
|
+
};
|
|
4216
|
+
readonly content: "none";
|
|
4217
|
+
}, any, _blocknote_core.InlineContentSchema, _blocknote_core.StyleSchema>;
|
|
4218
|
+
};
|
|
4169
4219
|
};
|
|
4170
4220
|
declare const getExtraSlashMenuItems: (editor: any) => {
|
|
4171
4221
|
title: string;
|
|
@@ -4892,6 +4942,7 @@ interface IxoEditorProps {
|
|
|
4892
4942
|
mantineTheme?: any;
|
|
4893
4943
|
handlers?: BlocknoteHandlers;
|
|
4894
4944
|
blockRequirements?: BlockRequirements;
|
|
4945
|
+
mapConfig?: UnlMapConfig;
|
|
4895
4946
|
isPanelVisible?: boolean;
|
|
4896
4947
|
coverImageUrl?: string;
|
|
4897
4948
|
logoUrl?: string;
|
|
@@ -4915,7 +4966,7 @@ interface IxoEditorProps {
|
|
|
4915
4966
|
/**
|
|
4916
4967
|
* IxoEditor component - A customized BlockNote editor for IXO (Mantine UI)
|
|
4917
4968
|
*/
|
|
4918
|
-
declare function IxoEditor({ editor, editable, className, onChange, onSelectionChange, children, mantineTheme, handlers, blockRequirements, isPanelVisible, coverImageUrl, logoUrl, selfNav, pageHeaderProps, visualizationRenderer, getDynamicListData, dynamicListPanelRenderer, domainCardRenderer, onExternalDrop, externalDropType, dropIndicator, isPlacementMode, onPlacementCancel, }: IxoEditorProps): React.ReactElement | null;
|
|
4969
|
+
declare function IxoEditor({ editor, editable, className, onChange, onSelectionChange, children, mantineTheme, handlers, blockRequirements, isPanelVisible, coverImageUrl, logoUrl, selfNav, pageHeaderProps, visualizationRenderer, getDynamicListData, dynamicListPanelRenderer, domainCardRenderer, onExternalDrop, externalDropType, dropIndicator, isPlacementMode, onPlacementCancel, mapConfig, }: IxoEditorProps): React.ReactElement | null;
|
|
4919
4970
|
|
|
4920
4971
|
interface CoverImageProps {
|
|
4921
4972
|
coverImageUrl?: 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-CFEZF6E1.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-CFEZF6E1.mjs';
|
|
3
3
|
import { Map } from 'yjs';
|
|
4
4
|
export { CloneDocumentResult, cloneDocument } from '@ixo/matrix-crdt';
|
|
5
5
|
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 { ak as IxoBlockProps, W as BlocknoteHandlers } 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, 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-
|
|
1
|
+
import { ak as IxoBlockProps, W as BlocknoteHandlers } from '../graphql-client-CFEZF6E1.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, 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-CFEZF6E1.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';
|
package/dist/mantine/index.mjs
CHANGED