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'],
|
2024-04-07 14:29:12 -04:00
|
|
|
layer: 'overlay',
|
2024-01-17 19:18:41 -05:00
|
|
|
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'],
|
2024-04-07 14:29:12 -04:00
|
|
|
transition: 'slide bottom',
|
2024-01-17 19:18:41 -05:00
|
|
|
monitor: 1,
|
2023-11-27 15:01:54 -05:00
|
|
|
|
2024-04-10 21:04:19 -04:00
|
|
|
child: NotifCenterWidget(),
|
2023-11-27 15:01:54 -05:00
|
|
|
});
|