aboutsummaryrefslogtreecommitdiffstats
path: root/library/fullcalendar/packages/bootstrap/main.js
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2019-04-06 10:22:03 +0200
committerMario Vavti <mario@mariovavti.com>2019-04-06 10:22:03 +0200
commit3007009fab9a3257de14cb3de70f85c836be67ae (patch)
tree933305c3a419c09cde58a1dd7f859d1009337edf /library/fullcalendar/packages/bootstrap/main.js
parent6adb489cb3e82d988f40b3ad79041bf8c6e48f32 (diff)
downloadvolse-hubzilla-3007009fab9a3257de14cb3de70f85c836be67ae.tar.gz
volse-hubzilla-3007009fab9a3257de14cb3de70f85c836be67ae.tar.bz2
volse-hubzilla-3007009fab9a3257de14cb3de70f85c836be67ae.zip
upgrade cdav calendar to version 4
Diffstat (limited to 'library/fullcalendar/packages/bootstrap/main.js')
-rw-r--r--library/fullcalendar/packages/bootstrap/main.js90
1 files changed, 90 insertions, 0 deletions
diff --git a/library/fullcalendar/packages/bootstrap/main.js b/library/fullcalendar/packages/bootstrap/main.js
new file mode 100644
index 000000000..78fe25b5c
--- /dev/null
+++ b/library/fullcalendar/packages/bootstrap/main.js
@@ -0,0 +1,90 @@
+/*!
+FullCalendar Bootstrap Plugin v4.0.2
+Docs & License: https://fullcalendar.io/
+(c) 2019 Adam Shaw
+*/
+(function (global, factory) {
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@fullcalendar/core')) :
+ typeof define === 'function' && define.amd ? define(['exports', '@fullcalendar/core'], factory) :
+ (global = global || self, factory(global.FullCalendarBootstrap = {}, global.FullCalendar));
+}(this, function (exports, core) { 'use strict';
+
+ /*! *****************************************************************************
+ Copyright (c) Microsoft Corporation. All rights reserved.
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
+ this file except in compliance with the License. You may obtain a copy of the
+ License at http://www.apache.org/licenses/LICENSE-2.0
+
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
+ MERCHANTABLITY OR NON-INFRINGEMENT.
+
+ See the Apache Version 2.0 License for specific language governing permissions
+ and limitations under the License.
+ ***************************************************************************** */
+ /* global Reflect, Promise */
+
+ var extendStatics = function(d, b) {
+ extendStatics = Object.setPrototypeOf ||
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+ return extendStatics(d, b);
+ };
+
+ function __extends(d, b) {
+ extendStatics(d, b);
+ function __() { this.constructor = d; }
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
+ }
+
+ var BootstrapTheme = /** @class */ (function (_super) {
+ __extends(BootstrapTheme, _super);
+ function BootstrapTheme() {
+ return _super !== null && _super.apply(this, arguments) || this;
+ }
+ return BootstrapTheme;
+ }(core.Theme));
+ BootstrapTheme.prototype.classes = {
+ widget: 'fc-bootstrap',
+ tableGrid: 'table-bordered',
+ tableList: 'table',
+ tableListHeading: 'table-active',
+ buttonGroup: 'btn-group',
+ button: 'btn btn-primary',
+ buttonActive: 'active',
+ today: 'alert alert-info',
+ popover: 'card card-primary',
+ popoverHeader: 'card-header',
+ popoverContent: 'card-body',
+ // day grid
+ // for left/right border color when border is inset from edges (all-day in timeGrid view)
+ // avoid `table` class b/c don't want margins/padding/structure. only border color.
+ headerRow: 'table-bordered',
+ dayRow: 'table-bordered',
+ // list view
+ listView: 'card card-primary'
+ };
+ BootstrapTheme.prototype.baseIconClass = 'fa';
+ BootstrapTheme.prototype.iconClasses = {
+ close: 'fa-times',
+ prev: 'fa-chevron-left',
+ next: 'fa-chevron-right',
+ prevYear: 'fa-angle-double-left',
+ nextYear: 'fa-angle-double-right'
+ };
+ BootstrapTheme.prototype.iconOverrideOption = 'bootstrapFontAwesome';
+ BootstrapTheme.prototype.iconOverrideCustomButtonOption = 'bootstrapFontAwesome';
+ BootstrapTheme.prototype.iconOverridePrefix = 'fa-';
+ var main = core.createPlugin({
+ themeClasses: {
+ bootstrap: BootstrapTheme
+ }
+ });
+
+ exports.BootstrapTheme = BootstrapTheme;
+ exports.default = main;
+
+ Object.defineProperty(exports, '__esModule', { value: true });
+
+}));