暂无描述

main.js 3.7KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. /*!
  2. FullCalendar Bootstrap Plugin v4.3.0
  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. All rights reserved.
  13. Licensed under the Apache License, Version 2.0 (the "License"); you may not use
  14. this file except in compliance with the License. You may obtain a copy of the
  15. License at http://www.apache.org/licenses/LICENSE-2.0
  16. THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  17. KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
  18. WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
  19. MERCHANTABLITY OR NON-INFRINGEMENT.
  20. See the Apache Version 2.0 License for specific language governing permissions
  21. and limitations under the License.
  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. }));