main.js 3.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. /*!
  2. FullCalendar Bootstrap Plugin v4.4.2
  3. Docs & License: https://fullcalendar.io/
  4. (c) 2019 Adam Shaw
  5. */
  6. (function (global, factory) {
  7. typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@fullcalendar/core')) :
  8. typeof define === 'function' && define.amd ? define(['exports', '@fullcalendar/core'], factory) :
  9. (global = global || self, factory(global.FullCalendarBootstrap = {}, global.FullCalendar));
  10. }(this, function (exports, core) { 'use strict';
  11. /*! *****************************************************************************
  12. Copyright (c) Microsoft Corporation.
  13. Permission to use, copy, modify, and/or distribute this software for any
  14. purpose with or without fee is hereby granted.
  15. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
  16. REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  17. AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
  18. INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  19. LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
  20. OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  21. PERFORMANCE OF THIS SOFTWARE.
  22. ***************************************************************************** */
  23. /* global Reflect, Promise */
  24. var extendStatics = function(d, b) {
  25. extendStatics = Object.setPrototypeOf ||
  26. ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
  27. function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
  28. return extendStatics(d, b);
  29. };
  30. function __extends(d, b) {
  31. extendStatics(d, b);
  32. function __() { this.constructor = d; }
  33. d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  34. }
  35. var BootstrapTheme = /** @class */ (function (_super) {
  36. __extends(BootstrapTheme, _super);
  37. function BootstrapTheme() {
  38. return _super !== null && _super.apply(this, arguments) || this;
  39. }
  40. return BootstrapTheme;
  41. }(core.Theme));
  42. BootstrapTheme.prototype.classes = {
  43. widget: 'fc-bootstrap',
  44. tableGrid: 'table-bordered',
  45. tableList: 'table',
  46. tableListHeading: 'table-active',
  47. buttonGroup: 'btn-group',
  48. button: 'btn btn-primary',
  49. buttonActive: 'active',
  50. today: 'alert alert-info',
  51. popover: 'card card-primary',
  52. popoverHeader: 'card-header',
  53. popoverContent: 'card-body',
  54. // day grid
  55. // for left/right border color when border is inset from edges (all-day in timeGrid view)
  56. // avoid `table` class b/c don't want margins/padding/structure. only border color.
  57. headerRow: 'table-bordered',
  58. dayRow: 'table-bordered',
  59. // list view
  60. listView: 'card card-primary'
  61. };
  62. BootstrapTheme.prototype.baseIconClass = 'fa';
  63. BootstrapTheme.prototype.iconClasses = {
  64. close: 'fa-times',
  65. prev: 'fa-chevron-left',
  66. next: 'fa-chevron-right',
  67. prevYear: 'fa-angle-double-left',
  68. nextYear: 'fa-angle-double-right'
  69. };
  70. BootstrapTheme.prototype.iconOverrideOption = 'bootstrapFontAwesome';
  71. BootstrapTheme.prototype.iconOverrideCustomButtonOption = 'bootstrapFontAwesome';
  72. BootstrapTheme.prototype.iconOverridePrefix = 'fa-';
  73. var main = core.createPlugin({
  74. themeClasses: {
  75. bootstrap: BootstrapTheme
  76. }
  77. });
  78. exports.BootstrapTheme = BootstrapTheme;
  79. exports.default = main;
  80. Object.defineProperty(exports, '__esModule', { value: true });
  81. }));