@tmagic/editor 1.3.12 → 1.3.14

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.
@@ -21,7 +21,6 @@
21
21
  @import "./data-source-methods.scss";
22
22
  @import "./data-source-input.scss";
23
23
  @import "./key-value.scss";
24
- @import "./floatbox.scss";
25
24
  @import "./tree.scss";
26
25
  @import "./floating-box.scss";
27
26
  @import "./page-fragment-select.scss";
@@ -1,15 +1,15 @@
1
1
  import { ComputedRef } from 'vue';
2
+ interface State {
3
+ status: boolean;
4
+ top: number;
5
+ left: number;
6
+ }
2
7
  export declare const useFloatBox: (slideKeys: ComputedRef<string[]>) => {
3
- showFloatBox: (key: string) => Promise<void>;
4
- closeFloatBox: (key: string) => void;
5
8
  dragstartHandler: () => boolean;
6
9
  dragendHandler: (key: string, e: DragEvent) => void;
7
- floatBoxStates: ComputedRef<Map<string, {
8
- status: boolean;
9
- zIndex: number;
10
- top: number;
11
- left: number;
12
- }> | undefined>;
13
- floatBox: import("vue").Ref<HTMLElement[] | undefined>;
10
+ floatBoxStates: import("vue").Ref<{
11
+ [x: string]: State;
12
+ }>;
14
13
  showingBoxKeys: ComputedRef<string[]>;
15
14
  };
15
+ export {};
@@ -93,6 +93,6 @@ export declare const useClick: (services: Services | undefined, isCtrlKeyDown: R
93
93
  show: (e: MouseEvent) => void;
94
94
  }> & {} & import("vue").ComponentCustomProperties & {}) | undefined>;
95
95
  nodeClickHandler: (event: MouseEvent, data: TreeNodeData) => void;
96
- nodeContentmenuHandler(event: MouseEvent, data: TreeNodeData): void;
96
+ nodeContentMenuHandler(event: MouseEvent, data: TreeNodeData): void;
97
97
  highlightHandler: import("lodash-es").DebouncedFunc<(event: MouseEvent, data: TreeNodeData) => void>;
98
98
  };
@@ -16,6 +16,7 @@ declare class StageOverlay extends BaseService {
16
16
  private updateHandler;
17
17
  private addHandler;
18
18
  private removeHandler;
19
+ private updateSelectStatus;
19
20
  }
20
21
  export type StageOverlayService = StageOverlay;
21
22
  declare const _default: StageOverlay;
@@ -1,48 +0,0 @@
1
- .m-editor-float-box-list {
2
- .m-editor-float-box {
3
- position: absolute;
4
- display: flex;
5
- flex-direction: column;
6
- width: auto;
7
- height: 966px;
8
- top: 240px;
9
- left: 240px;
10
- background: #fff;
11
- box-sizing: border-box;
12
- z-index: 999;
13
- max-width: auto;
14
- min-width: auto;
15
- max-height: auto;
16
- min-height: auto;
17
- border: 1px solid #eee;
18
- box-shadow: 0 0 72px #ccc;
19
- &-header {
20
- display: flex;
21
- align-items: center;
22
- padding: 0 16px;
23
- height: 44px;
24
- border-bottom: 1px solid #d8dee8;
25
- &:hover {
26
- cursor: pointer;
27
- }
28
- }
29
- &-body {
30
- display: flex;
31
- flex: 1;
32
- width: 100%;
33
- overflow: scroll;
34
- > *:first-child {
35
- min-width: 247px;
36
- border-right: 1px solid #d8dee8;
37
- }
38
- }
39
-
40
- &-close {
41
- position: absolute;
42
- right: 16px;
43
- }
44
- }
45
- .moveable-resizable {
46
- opacity: 0;
47
- }
48
- }