Игорь Надеин fb49f4e2b6 refactor(js): Extract calendar widget to separate module
- Created calendarWidget.js (1002 lines)
- Reduced rightbar_calendar.html from 996 to 237 lines (76% reduction)
- Supports: FullCalendar integration, company/department calendars, recurring events
- Features: week list view, event CRUD, color picker, responsive design
- Export initCalendarWidget() function for reusability
- Updated components/index.js to export calendar widget (v1.1.0)
2025-10-28 10:59:05 +03:00

28 lines
867 B
JavaScript

/**
* JavaScript Components Index
*
* Этот файл служит единой точкой входа для всех JS компонентов.
* Экспортирует все компоненты для удобного импорта.
*
* Использование в шаблонах:
* <script type="module">
* import { EmployeeForm, CalendarWidget } from '{% static "js/components/index.js" %}';
* </script>
*/
// Компоненты фильтрации
export {
ListFilter,
createDataAttrMatcher,
createSelectorMatcher
} from './listFilter.js';
// Компоненты календаря
export { initCalendarWidget } from './calendarWidget.js';
// Компоненты отображения
export { initTeamWheel } from './teamWheel.js';
// Версия компонентов
export const COMPONENTS_VERSION = '1.1.0';