mind-elixir 4.2.2 → 4.2.3

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.
@@ -5,7 +5,7 @@ import { findEle } from './utils/dom';
5
5
  export * from './types/index';
6
6
  export * from './types/dom';
7
7
  import type { MindElixirData, MindElixirInstance, MindElixirMethods, Options } from './types/index';
8
- declare function MindElixir(this: MindElixirInstance, { el, direction, locale, draggable, editable, contextMenu, contextMenuOption, toolBar, keypress, mouseSelectionButton, selectionContainer, before, newTopicName, allowUndo, generateMainBranch, generateSubBranch, overflowHidden, mobileMenu, theme, }: Options): void;
8
+ declare function MindElixir(this: MindElixirInstance, { el, direction, locale, draggable, editable, contextMenu, contextMenuOption, toolBar, keypress, mouseSelectionButton, selectionContainer, before, newTopicName, allowUndo, generateMainBranch, generateSubBranch, overflowHidden, theme, }: Options): void;
9
9
  declare namespace MindElixir {
10
10
  export var prototype: {
11
11
  init(this: MindElixirInstance, data: MindElixirData): Error | undefined;
@@ -68,7 +68,6 @@ export interface MindElixirInstance extends MindElixirMethods {
68
68
  overflowHidden: boolean;
69
69
  mainBranchStyle: number;
70
70
  subBranchStyle: number;
71
- mobileMenu: boolean;
72
71
  generateMainBranch: (params: MainLineParams) => PathString;
73
72
  generateSubBranch: (params: SubLineParams) => PathString;
74
73
  container: HTMLElement;
@@ -121,7 +120,6 @@ export type Options = {
121
120
  overflowHidden?: boolean;
122
121
  generateMainBranch?: (this: MindElixirInstance, params: MainLineParams) => PathString;
123
122
  generateSubBranch?: (this: MindElixirInstance, params: SubLineParams) => PathString;
124
- mobileMenu?: boolean;
125
123
  theme?: Theme;
126
124
  nodeMenu?: boolean;
127
125
  selectionContainer?: string | HTMLElement;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mind-elixir",
3
- "version": "4.2.2",
3
+ "version": "4.2.3",
4
4
  "type": "module",
5
5
  "description": "Mind elixir is a free open source mind map core.",
6
6
  "keywords": [
@@ -1,3 +0,0 @@
1
- import type { MindElixirInstance } from '../types/index';
2
- import './mobileMenu.less';
3
- export default function (mind: MindElixirInstance, option?: any): void;