chore: move mixins
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import { OverlayConfig } from './overlay';
|
||||
|
||||
export type StackItem = {
|
||||
vm: any;
|
||||
overlay: any;
|
||||
config: OverlayConfig;
|
||||
};
|
||||
|
||||
export const context = {
|
||||
zIndex: 2000,
|
||||
lockCount: 0,
|
||||
stack: [] as StackItem[],
|
||||
find(vm: any): StackItem | undefined {
|
||||
return this.stack.filter((item) => item.vm === vm)[0];
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user