@ixo/editor 2.4.0 → 2.6.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/index.mjs CHANGED
@@ -1,9 +1,14 @@
1
1
  import {
2
2
  ApiRequestBlockSpec,
3
+ AuthorizationTab,
3
4
  AuthzExecActionTypes,
4
5
  BlocknoteProvider,
5
6
  CheckboxBlockSpec,
6
7
  CoverImage,
8
+ EntitySigningSetup,
9
+ EvaluationTab,
10
+ FlowPermissionsPanel,
11
+ GrantPermissionModal,
7
12
  GraphQLClient,
8
13
  IxoEditor,
9
14
  ListBlockSpec,
@@ -12,20 +17,35 @@ import {
12
17
  StakeType,
13
18
  ValidatorActionType,
14
19
  blockSpecs,
20
+ buildAuthzFromProps,
21
+ buildFlowNodeFromBlock,
22
+ createDelegationStore,
23
+ createMemoryDelegationStore,
24
+ createRuntimeStateManager,
25
+ executeNode,
26
+ findValidCapability,
15
27
  getEntity,
16
28
  getExtraSlashMenuItems,
29
+ isActorAuthorized,
30
+ isNodeActive,
17
31
  ixoGraphQLClient,
18
32
  useBlocknoteContext,
19
33
  useBlocknoteHandlers,
20
34
  useCreateCollaborativeIxoEditor,
21
- useCreateIxoEditor
22
- } from "./chunk-CXOTHTXE.mjs";
35
+ useCreateIxoEditor,
36
+ validateCapabilityChain
37
+ } from "./chunk-JDX7FG5C.mjs";
23
38
  export {
24
39
  ApiRequestBlockSpec,
40
+ AuthorizationTab,
25
41
  AuthzExecActionTypes,
26
42
  BlocknoteProvider,
27
43
  CheckboxBlockSpec,
28
44
  CoverImage,
45
+ EntitySigningSetup,
46
+ EvaluationTab,
47
+ FlowPermissionsPanel,
48
+ GrantPermissionModal,
29
49
  GraphQLClient,
30
50
  IxoEditor,
31
51
  ListBlockSpec,
@@ -34,12 +54,22 @@ export {
34
54
  StakeType,
35
55
  ValidatorActionType,
36
56
  blockSpecs,
57
+ buildAuthzFromProps,
58
+ buildFlowNodeFromBlock,
59
+ createDelegationStore,
60
+ createMemoryDelegationStore,
61
+ createRuntimeStateManager,
62
+ executeNode,
63
+ findValidCapability,
37
64
  getEntity,
38
65
  getExtraSlashMenuItems,
66
+ isActorAuthorized,
67
+ isNodeActive,
39
68
  ixoGraphQLClient,
40
69
  useBlocknoteContext,
41
70
  useBlocknoteHandlers,
42
71
  useCreateCollaborativeIxoEditor,
43
- useCreateIxoEditor
72
+ useCreateIxoEditor,
73
+ validateCapabilityChain
44
74
  };
45
75
  //# sourceMappingURL=index.mjs.map
@@ -1,9 +1,9 @@
1
- export { Addr, ApiRequestBlockProps, ApiRequestBlockSpec, AuthzExecActionTypes, BlockRequirements, BlocknoteContextValue, BlocknoteHandlers, BlocknoteProvider, CheckboxBlockProps, CheckboxBlockSpec, CosmosMsgForEmpty, CoverImage, CoverImageProps, Entity, EntityResponse, EntityVariables, Expiration, GraphQLClient, GraphQLRequest, GraphQLResponse, HttpMethod, IxoCollaborativeEditorOptions, IxoCollaborativeUser, IxoEditor, IxoEditorConfig, IxoEditorOptions, IxoEditorProps, IxoEditorTheme, KeyValuePair, ListBlockProps, ListBlockSettings, ListBlockSpec, OverviewBlock, OverviewBlockProps, ProposalAction, ProposalBlockProps, ProposalBlockSpec, ProposalResponse, SingleChoiceProposal, StakeType, StakeType as StakeTypeValue, Status, Threshold, Timestamp, Uint128, User, ValidatorActionType, Vote, VoteInfo, VoteResponse, Votes, blockSpecs, getEntity, getExtraSlashMenuItems, ixoGraphQLClient, useBlocknoteContext, useBlocknoteHandlers, useCreateCollaborativeIxoEditor, useCreateIxoEditor } from '../index.mjs';
1
+ 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, 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, ak as PageHeader, am as PageHeaderMenuItem, al 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, 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-ppGpOvLH.mjs';
2
2
  import * as zustand from 'zustand';
3
3
  export { Block, BlockNoteEditor, BlockNoteSchema, DefaultBlockSchema, DefaultInlineContentSchema, DefaultStyleSchema, PartialBlock } from '@blocknote/core';
4
- import 'matrix-js-sdk';
5
4
  import 'yjs';
6
5
  import 'react';
6
+ import 'matrix-js-sdk';
7
7
 
8
8
  interface PanelState {
9
9
  activePanel: string | null;
@@ -1,13 +1,19 @@
1
1
  import {
2
2
  ApiRequestBlockSpec,
3
+ AuthorizationTab,
3
4
  AuthzExecActionTypes,
4
5
  BlocknoteProvider,
5
6
  CheckboxBlockSpec,
6
7
  CoverImage,
8
+ EntitySigningSetup,
9
+ EvaluationTab,
10
+ FlowPermissionsPanel,
11
+ GrantPermissionModal,
7
12
  GraphQLClient,
8
13
  IxoEditor,
9
14
  ListBlockSpec,
10
15
  OverviewBlock,
16
+ PageHeader,
11
17
  ProposalBlockSpec,
12
18
  StakeType,
13
19
  ValidatorActionType,
@@ -23,17 +29,23 @@ import {
23
29
  useListBlocksUIStore,
24
30
  usePanel,
25
31
  usePanelStore
26
- } from "../chunk-CXOTHTXE.mjs";
32
+ } from "../chunk-JDX7FG5C.mjs";
27
33
  export {
28
34
  ApiRequestBlockSpec,
35
+ AuthorizationTab,
29
36
  AuthzExecActionTypes,
30
37
  BlocknoteProvider,
31
38
  CheckboxBlockSpec,
32
39
  CoverImage,
40
+ EntitySigningSetup,
41
+ EvaluationTab,
42
+ FlowPermissionsPanel,
43
+ GrantPermissionModal,
33
44
  GraphQLClient,
34
45
  IxoEditor,
35
46
  ListBlockSpec,
36
47
  OverviewBlock,
48
+ PageHeader,
37
49
  ProposalBlockSpec,
38
50
  StakeType,
39
51
  ValidatorActionType,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ixo/editor",
3
- "version": "2.4.0",
3
+ "version": "2.6.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",
package/style.css.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- // CSS module declaration
2
- declare module '@ixo/editor/style.css' {
3
- const content: string;
4
- export default content;
5
- }
1
+ // CSS module declaration
2
+ declare module '@ixo/editor/style.css' {
3
+ const content: string;
4
+ export default content;
5
+ }