2024-01-30 11:29:07 -05:00
|
|
|
const { Window } = Widget;
|
2024-01-17 19:18:41 -05:00
|
|
|
|
2024-01-13 23:38:31 -05:00
|
|
|
import NotifCenterWidget from './center.ts';
|
|
|
|
import PopUpsWidget from './popup.ts';
|
2023-11-27 15:01:54 -05:00
|
|
|
|
2024-01-13 23:38:31 -05:00
|
|
|
import PopupWindow from '../misc/popup.ts';
|
2023-11-27 15:01:54 -05:00
|
|
|
|
2024-01-17 19:18:41 -05:00
|
|
|
|
2023-12-28 23:20:03 -05:00
|
|
|
export const NotifPopups = () => Window({
|
2023-11-27 15:01:54 -05:00
|
|
|
name: 'notifications',
|
2024-01-17 19:18:41 -05:00
|
|
|
anchor: ['bottom', 'left'],
|
|
|
|
monitor: 1,
|
|
|
|
|
2023-11-27 15:01:54 -05:00
|
|
|
child: PopUpsWidget(),
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
export const NotifCenter = () => PopupWindow({
|
|
|
|
name: 'notification-center',
|
2024-01-17 19:18:41 -05:00
|
|
|
anchor: ['bottom', 'right'],
|
|
|
|
transition: 'slide_up',
|
|
|
|
monitor: 1,
|
2023-11-27 15:01:54 -05:00
|
|
|
|
2024-01-29 18:54:07 -05:00
|
|
|
content: NotifCenterWidget(),
|
2023-11-27 15:01:54 -05:00
|
|
|
});
|