@kangtae49/just-layout 0.0.23 → 0.0.25
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 +5 -10
- package/dist/index.es.js +2357 -2413
- package/dist/index.umd.js +18 -18
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -96,8 +96,7 @@ export declare class JustLayoutStore {
|
|
|
96
96
|
layout: JustNode | null;
|
|
97
97
|
lastActiveId: JustId | null;
|
|
98
98
|
lastActiveTm: number;
|
|
99
|
-
|
|
100
|
-
fullScreenHideTitle: boolean;
|
|
99
|
+
hideTitle: boolean;
|
|
101
100
|
tabTitleMap: Map<string, string>;
|
|
102
101
|
tabTitleTooltipMap: Map<string, string>;
|
|
103
102
|
constructor(service: JustLayoutService);
|
|
@@ -106,8 +105,7 @@ export declare class JustLayoutStore {
|
|
|
106
105
|
getTabTitle: (justId: JustId) => string | undefined;
|
|
107
106
|
setTabTitleTooltip: (justId: JustId, tooltip: string) => void;
|
|
108
107
|
getTabTitleTooltip: (justId: JustId) => string | undefined;
|
|
109
|
-
|
|
110
|
-
setFullScreenHideTitle: (flag: boolean) => void;
|
|
108
|
+
setHideTitle: (flag: boolean) => void;
|
|
111
109
|
addTab: (payload: JustPayloadAddTab) => void;
|
|
112
110
|
addTabByNodeName: (payload: JustPayloadAddTabByNodeName) => void;
|
|
113
111
|
queryWinIdsByViewId: (viewId: string) => JustId[];
|
|
@@ -130,11 +128,9 @@ export declare class JustLayoutStore {
|
|
|
130
128
|
getWinIdsByBranch: ({ branch }: PayloadGetWinIdsByBranch) => JustId[];
|
|
131
129
|
getNodeAtBranch: ({ branch }: PayloadGetNodeAtBranch) => JustNode | null;
|
|
132
130
|
openWinMenu: ({ justId, nodeName }: PayloadOpenWinMenu) => void;
|
|
133
|
-
fullScreenWin: (justBranch: JustBranch, layoutId: string, hideTitle?: boolean) => void;
|
|
134
|
-
isFullScreenView: (layoutId: string) => boolean;
|
|
135
131
|
}
|
|
136
132
|
|
|
137
|
-
export declare const JustLayoutView: (({ layoutId, getWinInfo, getTabMenu
|
|
133
|
+
export declare const JustLayoutView: (({ layoutId, getWinInfo, getTabMenu }: Props_2) => JSX_2.Element) & {
|
|
138
134
|
displayName: string;
|
|
139
135
|
};
|
|
140
136
|
|
|
@@ -344,7 +340,6 @@ declare interface Props extends default_2.Attributes {
|
|
|
344
340
|
declare interface Props_2 extends default_2.Attributes {
|
|
345
341
|
layoutId: string;
|
|
346
342
|
getWinInfo: GetWinInfoFn;
|
|
347
|
-
initialValue: JustNode;
|
|
348
343
|
getTabMenu?: GetTabMenuFn;
|
|
349
344
|
}
|
|
350
345
|
|
|
@@ -410,14 +405,14 @@ declare interface Props_8 extends default_2.Attributes {
|
|
|
410
405
|
getTabMenu?: GetTabMenuFn;
|
|
411
406
|
}
|
|
412
407
|
|
|
413
|
-
declare type SplitSize = SplitSizePercentage |
|
|
408
|
+
declare type SplitSize = SplitSizePercentage | SplitSizePixels;
|
|
414
409
|
|
|
415
410
|
declare interface SplitSizePercentage {
|
|
416
411
|
type: JustSplitType;
|
|
417
412
|
size: number;
|
|
418
413
|
}
|
|
419
414
|
|
|
420
|
-
declare interface
|
|
415
|
+
declare interface SplitSizePixels {
|
|
421
416
|
type: JustSplitType;
|
|
422
417
|
primary: JustSplitDirection;
|
|
423
418
|
size: number;
|