@kangtae49/just-layout 0.0.21 → 0.0.23
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 -14
- package/dist/index.es.js +1378 -1387
- package/dist/index.umd.js +13 -13
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -8,9 +8,9 @@ import { Spec } from 'immutability-helper';
|
|
|
8
8
|
|
|
9
9
|
export declare type GetTabIconFn = (justId: JustId, layoutId: string) => JSX.Element;
|
|
10
10
|
|
|
11
|
-
export declare type GetTabMenuFn = (layoutId: string, branch: JustBranch, justStack: JustStack
|
|
11
|
+
export declare type GetTabMenuFn = (layoutId: string, branch: JustBranch, justStack: JustStack) => JSX.Element;
|
|
12
12
|
|
|
13
|
-
export declare type GetTabTitleFn = ({ justId, layoutId, justBranch,
|
|
13
|
+
export declare type GetTabTitleFn = ({ justId, layoutId, justBranch, winInfo }: TabTitleProps) => JSX.Element;
|
|
14
14
|
|
|
15
15
|
export declare type GetViewFn = (justId: JustId, layoutId: string) => JSX.Element;
|
|
16
16
|
|
|
@@ -130,7 +130,8 @@ export declare class JustLayoutStore {
|
|
|
130
130
|
getWinIdsByBranch: ({ branch }: PayloadGetWinIdsByBranch) => JustId[];
|
|
131
131
|
getNodeAtBranch: ({ branch }: PayloadGetNodeAtBranch) => JustNode | null;
|
|
132
132
|
openWinMenu: ({ justId, nodeName }: PayloadOpenWinMenu) => void;
|
|
133
|
-
fullScreenWin: (justBranch: JustBranch,
|
|
133
|
+
fullScreenWin: (justBranch: JustBranch, layoutId: string, hideTitle?: boolean) => void;
|
|
134
|
+
isFullScreenView: (layoutId: string) => boolean;
|
|
134
135
|
}
|
|
135
136
|
|
|
136
137
|
export declare const JustLayoutView: (({ layoutId, getWinInfo, getTabMenu, initialValue }: Props_2) => JSX_2.Element) & {
|
|
@@ -146,7 +147,7 @@ export declare interface JustNodeBase {
|
|
|
146
147
|
hideTitle?: boolean;
|
|
147
148
|
}
|
|
148
149
|
|
|
149
|
-
export declare const JustNodeView: (({ layoutId,
|
|
150
|
+
export declare const JustNodeView: (({ layoutId, hideTitle, dndAccept, node, justBranch, getWinInfo, getTabMenu }: Props_3) => JSX_2.Element) & {
|
|
150
151
|
displayName: string;
|
|
151
152
|
};
|
|
152
153
|
|
|
@@ -237,7 +238,7 @@ export declare interface JustStack extends JustNodeBase {
|
|
|
237
238
|
active: JustId | null;
|
|
238
239
|
}
|
|
239
240
|
|
|
240
|
-
export declare const JustTabMenu: (({ layoutId, justBranch
|
|
241
|
+
export declare const JustTabMenu: (({ layoutId, justBranch }: Prop) => JSX_2.Element) & {
|
|
241
242
|
displayName: string;
|
|
242
243
|
};
|
|
243
244
|
|
|
@@ -264,11 +265,11 @@ export declare const JustWinBodyView: ((props: Props_6) => JSX_2.Element) & {
|
|
|
264
265
|
displayName: string;
|
|
265
266
|
};
|
|
266
267
|
|
|
267
|
-
export declare const JustWinTitleView: (({ layoutId,
|
|
268
|
+
export declare const JustWinTitleView: (({ layoutId, dndAccept, justBranch, justStack, getWinInfo, getTabMenu }: Props_7) => JSX_2.Element) & {
|
|
268
269
|
displayName: string;
|
|
269
270
|
};
|
|
270
271
|
|
|
271
|
-
export declare const JustWinView: (({ layoutId,
|
|
272
|
+
export declare const JustWinView: (({ layoutId, hideTitle, dndAccept, justBranch, justStack, getWinInfo, getTabMenu }: Props_8) => JSX_2.Element) & {
|
|
272
273
|
displayName: string;
|
|
273
274
|
};
|
|
274
275
|
|
|
@@ -328,12 +329,10 @@ declare interface Prop {
|
|
|
328
329
|
layoutId: string;
|
|
329
330
|
justBranch: JustBranch;
|
|
330
331
|
justStack: JustStack;
|
|
331
|
-
isFullScreenView: boolean;
|
|
332
332
|
}
|
|
333
333
|
|
|
334
334
|
declare interface Props extends default_2.Attributes {
|
|
335
335
|
layoutId: string;
|
|
336
|
-
isFullScreenView: boolean;
|
|
337
336
|
dndAccept: string[];
|
|
338
337
|
justBranch: JustBranch;
|
|
339
338
|
justId: JustId;
|
|
@@ -351,7 +350,6 @@ declare interface Props_2 extends default_2.Attributes {
|
|
|
351
350
|
|
|
352
351
|
declare interface Props_3 extends React_2.Attributes {
|
|
353
352
|
layoutId: string;
|
|
354
|
-
isFullScreenView: boolean;
|
|
355
353
|
justBranch: JustBranch;
|
|
356
354
|
node: JustNode | null;
|
|
357
355
|
getWinInfo: GetWinInfoFn;
|
|
@@ -373,7 +371,6 @@ declare interface Props_5 extends default_2.Attributes {
|
|
|
373
371
|
justId: JustId;
|
|
374
372
|
layoutId: string;
|
|
375
373
|
justBranch: JustBranch;
|
|
376
|
-
isFullScreenView: boolean;
|
|
377
374
|
winInfo: WinInfo;
|
|
378
375
|
menuProps: {
|
|
379
376
|
state?: "opening" | "open" | "closing" | "closed";
|
|
@@ -396,7 +393,6 @@ declare interface Props_6 extends default_2.Attributes {
|
|
|
396
393
|
|
|
397
394
|
declare interface Props_7 extends default_2.Attributes {
|
|
398
395
|
layoutId: string;
|
|
399
|
-
isFullScreenView: boolean;
|
|
400
396
|
dndAccept: string[];
|
|
401
397
|
justBranch: JustBranch;
|
|
402
398
|
justStack: JustStack;
|
|
@@ -406,7 +402,6 @@ declare interface Props_7 extends default_2.Attributes {
|
|
|
406
402
|
|
|
407
403
|
declare interface Props_8 extends default_2.Attributes {
|
|
408
404
|
layoutId: string;
|
|
409
|
-
isFullScreenView: boolean;
|
|
410
405
|
hideTitle?: boolean;
|
|
411
406
|
dndAccept: string[];
|
|
412
407
|
justBranch: JustBranch;
|
|
@@ -434,7 +429,6 @@ export declare interface TabTitleProps {
|
|
|
434
429
|
justId: JustId;
|
|
435
430
|
layoutId: string;
|
|
436
431
|
justBranch: JustBranch;
|
|
437
|
-
isFullScreenView: boolean;
|
|
438
432
|
winInfo: WinInfo;
|
|
439
433
|
menuProps: {
|
|
440
434
|
state?: "opening" | "open" | "closing" | "closed";
|