better-staridc-MNBT
1/*!
2FullCalendar Bootstrap Plugin v4.3.0
3Docs & License: https://fullcalendar.io/
4(c) 2019 Adam Shaw
5*/
6
7(function (global, factory) {
8 typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@fullcalendar/core')) :
9 typeof define === 'function' && define.amd ? define(['exports', '@fullcalendar/core'], factory) :
10 (global = global || self, factory(global.FullCalendarBootstrap = {}, global.FullCalendar));
11}(this, function (exports, core) { 'use strict';
12
13 /*! *****************************************************************************
14 Copyright (c) Microsoft Corporation. All rights reserved.
15 Licensed under the Apache License, Version 2.0 (the "License"); you may not use
16 this file except in compliance with the License. You may obtain a copy of the
17 License at http://www.apache.org/licenses/LICENSE-2.0
18
19 THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
20 KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
21 WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
22 MERCHANTABLITY OR NON-INFRINGEMENT.
23
24 See the Apache Version 2.0 License for specific language governing permissions
25 and limitations under the License.
26 ***************************************************************************** */
27 /* global Reflect, Promise */
28
29 var extendStatics = function(d, b) {
30 extendStatics = Object.setPrototypeOf ||
31 ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
32 function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
33 return extendStatics(d, b);
34 };
35
36 function __extends(d, b) {
37 extendStatics(d, b);
38 function __() { this.constructor = d; }
39 d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
40 }
41
42 var BootstrapTheme = /** @class */ (function (_super) {
43 __extends(BootstrapTheme, _super);
44 function BootstrapTheme() {
45 return _super !== null && _super.apply(this, arguments) || this;
46 }
47 return BootstrapTheme;
48 }(core.Theme));
49 BootstrapTheme.prototype.classes = {
50 widget: 'fc-bootstrap',
51 tableGrid: 'table-bordered',
52 tableList: 'table',
53 tableListHeading: 'table-active',
54 buttonGroup: 'btn-group',
55 button: 'btn btn-primary',
56 buttonActive: 'active',
57 today: 'alert alert-info',
58 popover: 'card card-primary',
59 popoverHeader: 'card-header',
60 popoverContent: 'card-body',
61 // day grid
62 // for left/right border color when border is inset from edges (all-day in timeGrid view)
63 // avoid `table` class b/c don't want margins/padding/structure. only border color.
64 headerRow: 'table-bordered',
65 dayRow: 'table-bordered',
66 // list view
67 listView: 'card card-primary'
68 };
69 BootstrapTheme.prototype.baseIconClass = 'fa';
70 BootstrapTheme.prototype.iconClasses = {
71 close: 'fa-times',
72 prev: 'fa-chevron-left',
73 next: 'fa-chevron-right',
74 prevYear: 'fa-angle-double-left',
75 nextYear: 'fa-angle-double-right'
76 };
77 BootstrapTheme.prototype.iconOverrideOption = 'bootstrapFontAwesome';
78 BootstrapTheme.prototype.iconOverrideCustomButtonOption = 'bootstrapFontAwesome';
79 BootstrapTheme.prototype.iconOverridePrefix = 'fa-';
80 var main = core.createPlugin({
81 themeClasses: {
82 bootstrap: BootstrapTheme
83 }
84 });
85
86 exports.BootstrapTheme = BootstrapTheme;
87 exports.default = main;
88
89 Object.defineProperty(exports, '__esModule', { value: true });
90
91}));