You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

65 lines
2.0 KiB

  1. /*!
  2. FullCalendar Bootstrap 4 Plugin v6.1.15
  3. Docs & License: https://fullcalendar.io/docs/bootstrap4
  4. (c) 2024 Adam Shaw
  5. */
  6. FullCalendar.Bootstrap = (function (exports, core, internal$1) {
  7. 'use strict';
  8. class BootstrapTheme extends internal$1.Theme {
  9. }
  10. BootstrapTheme.prototype.classes = {
  11. root: 'fc-theme-bootstrap',
  12. table: 'table-bordered',
  13. tableCellShaded: 'table-active',
  14. buttonGroup: 'btn-group',
  15. button: 'btn btn-primary',
  16. buttonActive: 'active',
  17. popover: 'popover',
  18. popoverHeader: 'popover-header',
  19. popoverContent: 'popover-body',
  20. };
  21. BootstrapTheme.prototype.baseIconClass = 'fa';
  22. BootstrapTheme.prototype.iconClasses = {
  23. close: 'fa-times',
  24. prev: 'fa-chevron-left',
  25. next: 'fa-chevron-right',
  26. prevYear: 'fa-angle-double-left',
  27. nextYear: 'fa-angle-double-right',
  28. };
  29. BootstrapTheme.prototype.rtlIconClasses = {
  30. prev: 'fa-chevron-right',
  31. next: 'fa-chevron-left',
  32. prevYear: 'fa-angle-double-right',
  33. nextYear: 'fa-angle-double-left',
  34. };
  35. BootstrapTheme.prototype.iconOverrideOption = 'bootstrapFontAwesome'; // TODO: make TS-friendly. move the option-processing into this plugin
  36. BootstrapTheme.prototype.iconOverrideCustomButtonOption = 'bootstrapFontAwesome';
  37. BootstrapTheme.prototype.iconOverridePrefix = 'fa-';
  38. var css_248z = ".fc-theme-bootstrap a:not([href]){color:inherit}.fc-theme-bootstrap .fc-more-link:hover{text-decoration:none}";
  39. internal$1.injectStyles(css_248z);
  40. var plugin = core.createPlugin({
  41. name: '@fullcalendar/bootstrap',
  42. themeClasses: {
  43. bootstrap: BootstrapTheme,
  44. },
  45. });
  46. var internal = {
  47. __proto__: null,
  48. BootstrapTheme: BootstrapTheme
  49. };
  50. core.globalPlugins.push(plugin);
  51. exports.Internal = internal;
  52. exports["default"] = plugin;
  53. Object.defineProperty(exports, '__esModule', { value: true });
  54. return exports;
  55. })({}, FullCalendar, FullCalendar.Internal);