@ixo/editor 2.40.0 → 2.42.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-V72JYDFZ.mjs} +2010 -1550
- package/dist/chunk-V72JYDFZ.mjs.map +1 -0
- package/dist/{graphql-client-CQyRCD1j.d.ts → graphql-client-BOzQYZXi.d.ts} +57 -7
- 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
|
|
@@ -1966,17 +1970,16 @@ interface BlocknoteHandlers {
|
|
|
1966
1970
|
transactionHash: string;
|
|
1967
1971
|
}>;
|
|
1968
1972
|
/**
|
|
1969
|
-
* Navigate to
|
|
1970
|
-
* @param
|
|
1971
|
-
* @param isWorkspaceLink - Optional flag to indicate if this is a workspace link
|
|
1973
|
+
* Navigate to a flow link URL
|
|
1974
|
+
* @param url - HTTP URL of the target flow or page
|
|
1972
1975
|
*/
|
|
1973
|
-
navigateToFlow?: (
|
|
1976
|
+
navigateToFlow?: (url: string) => void;
|
|
1974
1977
|
/**
|
|
1975
1978
|
* Get the status of a flow document
|
|
1976
|
-
* @param
|
|
1979
|
+
* @param url - HTTP URL of the flow document
|
|
1977
1980
|
* @returns Flow status with optional completion timestamp
|
|
1978
1981
|
*/
|
|
1979
|
-
getFlowStatus?: (
|
|
1982
|
+
getFlowStatus?: (url: string) => Promise<{
|
|
1980
1983
|
status: 'not_started' | 'in_progress' | 'completed';
|
|
1981
1984
|
completedAt?: string;
|
|
1982
1985
|
}>;
|
|
@@ -2216,6 +2219,7 @@ interface BlocknoteContextValue {
|
|
|
2216
2219
|
editor?: IxoEditorType;
|
|
2217
2220
|
handlers?: BlocknoteHandlers;
|
|
2218
2221
|
blockRequirements?: BlockRequirements;
|
|
2222
|
+
mapConfig?: UnlMapConfig;
|
|
2219
2223
|
editable?: boolean;
|
|
2220
2224
|
docType: DocType;
|
|
2221
2225
|
sharedProposals: SharedProposalData;
|
|
@@ -2241,6 +2245,7 @@ declare const BlocknoteProvider: React.FC<{
|
|
|
2241
2245
|
getDynamicListData?: DynamicListDataProvider;
|
|
2242
2246
|
dynamicListPanelRenderer?: DynamicListPanelRenderer;
|
|
2243
2247
|
domainCardRenderer?: DomainCardRenderer;
|
|
2248
|
+
mapConfig?: UnlMapConfig;
|
|
2244
2249
|
}>;
|
|
2245
2250
|
declare const useBlocknoteContext: () => BlocknoteContextValue;
|
|
2246
2251
|
declare const useBlocknoteHandlers: () => BlocknoteHandlers;
|
|
@@ -4166,6 +4171,50 @@ declare const blockSpecs: {
|
|
|
4166
4171
|
readonly content: "none";
|
|
4167
4172
|
}, any, _blocknote_core.InlineContentSchema, _blocknote_core.StyleSchema>;
|
|
4168
4173
|
};
|
|
4174
|
+
location: {
|
|
4175
|
+
config: {
|
|
4176
|
+
readonly type: "location";
|
|
4177
|
+
readonly propSchema: {
|
|
4178
|
+
readonly title: {
|
|
4179
|
+
readonly default: "";
|
|
4180
|
+
};
|
|
4181
|
+
readonly description: {
|
|
4182
|
+
readonly default: "";
|
|
4183
|
+
};
|
|
4184
|
+
readonly latitude: {
|
|
4185
|
+
readonly default: "";
|
|
4186
|
+
};
|
|
4187
|
+
readonly longitude: {
|
|
4188
|
+
readonly default: "";
|
|
4189
|
+
};
|
|
4190
|
+
readonly skill: {
|
|
4191
|
+
readonly default: "";
|
|
4192
|
+
};
|
|
4193
|
+
};
|
|
4194
|
+
readonly content: "none";
|
|
4195
|
+
};
|
|
4196
|
+
implementation: _blocknote_core.TiptapBlockImplementation<{
|
|
4197
|
+
readonly type: "location";
|
|
4198
|
+
readonly propSchema: {
|
|
4199
|
+
readonly title: {
|
|
4200
|
+
readonly default: "";
|
|
4201
|
+
};
|
|
4202
|
+
readonly description: {
|
|
4203
|
+
readonly default: "";
|
|
4204
|
+
};
|
|
4205
|
+
readonly latitude: {
|
|
4206
|
+
readonly default: "";
|
|
4207
|
+
};
|
|
4208
|
+
readonly longitude: {
|
|
4209
|
+
readonly default: "";
|
|
4210
|
+
};
|
|
4211
|
+
readonly skill: {
|
|
4212
|
+
readonly default: "";
|
|
4213
|
+
};
|
|
4214
|
+
};
|
|
4215
|
+
readonly content: "none";
|
|
4216
|
+
}, any, _blocknote_core.InlineContentSchema, _blocknote_core.StyleSchema>;
|
|
4217
|
+
};
|
|
4169
4218
|
};
|
|
4170
4219
|
declare const getExtraSlashMenuItems: (editor: any) => {
|
|
4171
4220
|
title: string;
|
|
@@ -4892,6 +4941,7 @@ interface IxoEditorProps {
|
|
|
4892
4941
|
mantineTheme?: any;
|
|
4893
4942
|
handlers?: BlocknoteHandlers;
|
|
4894
4943
|
blockRequirements?: BlockRequirements;
|
|
4944
|
+
mapConfig?: UnlMapConfig;
|
|
4895
4945
|
isPanelVisible?: boolean;
|
|
4896
4946
|
coverImageUrl?: string;
|
|
4897
4947
|
logoUrl?: string;
|
|
@@ -4915,7 +4965,7 @@ interface IxoEditorProps {
|
|
|
4915
4965
|
/**
|
|
4916
4966
|
* IxoEditor component - A customized BlockNote editor for IXO (Mantine UI)
|
|
4917
4967
|
*/
|
|
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;
|
|
4968
|
+
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
4969
|
|
|
4920
4970
|
interface CoverImageProps {
|
|
4921
4971
|
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-BOzQYZXi.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-BOzQYZXi.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-BOzQYZXi.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-BOzQYZXi.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