@kangtae49/just-layout 0.0.14 → 0.0.17
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.d.ts +8 -5
- package/dist/index.es.js +8418 -14872
- package/dist/index.umd.js +26 -102
- package/package.json +7 -6
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Container } from 'inversify';
|
|
2
1
|
import { ContainerModule } from 'inversify';
|
|
3
2
|
import { default as default_2 } from 'react';
|
|
4
3
|
import { JSX } from 'react/jsx-runtime';
|
|
@@ -6,8 +5,6 @@ import * as React_2 from 'react';
|
|
|
6
5
|
import { RefObject } from 'react';
|
|
7
6
|
import { Spec } from 'immutability-helper';
|
|
8
7
|
|
|
9
|
-
export declare const container: Container;
|
|
10
|
-
|
|
11
8
|
export declare type GetTabIconFn = (justId: JustId, layoutId: string) => default_2.JSX.Element;
|
|
12
9
|
|
|
13
10
|
export declare type GetTabMenuFn = (layoutId: string, branch: JustBranch, justStack: JustStack, isFullScreenView: boolean) => default_2.JSX.Element;
|
|
@@ -31,6 +28,7 @@ export declare type JSONValue = JSONPrimitive | JSONValue[] | {
|
|
|
31
28
|
export declare const JUST_LAYOUT_TYPES: {
|
|
32
29
|
JustLayoutService: symbol;
|
|
33
30
|
JustLayoutStore: symbol;
|
|
31
|
+
JustLayoutStoreCacheMap: symbol;
|
|
34
32
|
JustLayoutFactory: symbol;
|
|
35
33
|
};
|
|
36
34
|
|
|
@@ -44,6 +42,13 @@ export declare const JustDraggableTitle: typeof JustDraggableTitle_2 & {
|
|
|
44
42
|
|
|
45
43
|
declare function JustDraggableTitle_2(props: Props): JSX.Element;
|
|
46
44
|
|
|
45
|
+
export declare interface JustDragItem {
|
|
46
|
+
justId: JustId;
|
|
47
|
+
direction?: JustDirection;
|
|
48
|
+
pos?: JustPos;
|
|
49
|
+
index?: number;
|
|
50
|
+
}
|
|
51
|
+
|
|
47
52
|
export declare interface JustId extends JSONObject {
|
|
48
53
|
title: string;
|
|
49
54
|
viewId: string;
|
|
@@ -449,8 +454,6 @@ declare interface SplitSizePiexels {
|
|
|
449
454
|
|
|
450
455
|
export declare function stableStringify(obj: any): string;
|
|
451
456
|
|
|
452
|
-
export declare const storeLayout: Map<string, any>;
|
|
453
|
-
|
|
454
457
|
export declare interface TabTitleProps {
|
|
455
458
|
justId: JustId;
|
|
456
459
|
layoutId: string;
|