bootstrap 4.1.2 → 4.1.3
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of bootstrap might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/assets/javascripts/bootstrap-sprockets.js +5 -5
- data/assets/javascripts/bootstrap.js +23 -23
- data/assets/javascripts/bootstrap.min.js +2 -2
- data/assets/javascripts/bootstrap/alert.js +159 -133
- data/assets/javascripts/bootstrap/button.js +149 -124
- data/assets/javascripts/bootstrap/carousel.js +463 -407
- data/assets/javascripts/bootstrap/collapse.js +338 -282
- data/assets/javascripts/bootstrap/dropdown.js +439 -382
- data/assets/javascripts/bootstrap/modal.js +502 -446
- data/assets/javascripts/bootstrap/popover.js +223 -163
- data/assets/javascripts/bootstrap/scrollspy.js +307 -251
- data/assets/javascripts/bootstrap/tab.js +217 -191
- data/assets/javascripts/bootstrap/tooltip.js +582 -525
- data/assets/javascripts/bootstrap/util.js +129 -116
- data/assets/stylesheets/_bootstrap-grid.scss +1 -1
- data/assets/stylesheets/_bootstrap-reboot.scss +1 -1
- data/assets/stylesheets/_bootstrap.scss +1 -1
- data/assets/stylesheets/bootstrap/_buttons.scss +0 -1
- data/assets/stylesheets/bootstrap/_custom-forms.scss +13 -19
- data/assets/stylesheets/bootstrap/_forms.scss +13 -15
- data/assets/stylesheets/bootstrap/_input-group.scss +15 -2
- data/assets/stylesheets/bootstrap/_modal.scss +18 -6
- data/assets/stylesheets/bootstrap/_reboot.scss +4 -2
- data/assets/stylesheets/bootstrap/_tables.scss +0 -1
- data/assets/stylesheets/bootstrap/_variables.scss +10 -9
- data/assets/stylesheets/bootstrap/mixins/_forms.scss +7 -7
- data/lib/bootstrap/version.rb +2 -2
- metadata +2 -2
@@ -1,676 +1,733 @@
|
|
1
|
-
|
1
|
+
(function (global, factory) {
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('jquery'), require('popper.js'), require('./util.js')) :
|
3
|
+
typeof define === 'function' && define.amd ? define(['jquery', 'popper.js', './util.js'], factory) :
|
4
|
+
(global.Tooltip = factory(global.jQuery,global.Popper,global.Util));
|
5
|
+
}(this, (function ($,Popper,Util) { 'use strict';
|
6
|
+
|
7
|
+
$ = $ && $.hasOwnProperty('default') ? $['default'] : $;
|
8
|
+
Popper = Popper && Popper.hasOwnProperty('default') ? Popper['default'] : Popper;
|
9
|
+
Util = Util && Util.hasOwnProperty('default') ? Util['default'] : Util;
|
10
|
+
|
11
|
+
function _defineProperties(target, props) {
|
12
|
+
for (var i = 0; i < props.length; i++) {
|
13
|
+
var descriptor = props[i];
|
14
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
15
|
+
descriptor.configurable = true;
|
16
|
+
if ("value" in descriptor) descriptor.writable = true;
|
17
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
18
|
+
}
|
19
|
+
}
|
20
|
+
|
21
|
+
function _createClass(Constructor, protoProps, staticProps) {
|
22
|
+
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
23
|
+
if (staticProps) _defineProperties(Constructor, staticProps);
|
24
|
+
return Constructor;
|
25
|
+
}
|
26
|
+
|
27
|
+
function _defineProperty(obj, key, value) {
|
28
|
+
if (key in obj) {
|
29
|
+
Object.defineProperty(obj, key, {
|
30
|
+
value: value,
|
31
|
+
enumerable: true,
|
32
|
+
configurable: true,
|
33
|
+
writable: true
|
34
|
+
});
|
35
|
+
} else {
|
36
|
+
obj[key] = value;
|
37
|
+
}
|
38
|
+
|
39
|
+
return obj;
|
40
|
+
}
|
2
41
|
|
3
|
-
function
|
42
|
+
function _objectSpread(target) {
|
43
|
+
for (var i = 1; i < arguments.length; i++) {
|
44
|
+
var source = arguments[i] != null ? arguments[i] : {};
|
45
|
+
var ownKeys = Object.keys(source);
|
46
|
+
|
47
|
+
if (typeof Object.getOwnPropertySymbols === 'function') {
|
48
|
+
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) {
|
49
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
50
|
+
}));
|
51
|
+
}
|
4
52
|
|
5
|
-
|
53
|
+
ownKeys.forEach(function (key) {
|
54
|
+
_defineProperty(target, key, source[key]);
|
55
|
+
});
|
56
|
+
}
|
6
57
|
|
7
|
-
|
58
|
+
return target;
|
59
|
+
}
|
8
60
|
|
9
|
-
/**
|
10
|
-
* --------------------------------------------------------------------------
|
11
|
-
* Bootstrap (v4.1.2): tooltip.js
|
12
|
-
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
13
|
-
* --------------------------------------------------------------------------
|
14
|
-
*/
|
15
|
-
var Tooltip = function ($) {
|
16
61
|
/**
|
17
|
-
*
|
18
|
-
*
|
19
|
-
*
|
62
|
+
* --------------------------------------------------------------------------
|
63
|
+
* Bootstrap (v4.1.3): tooltip.js
|
64
|
+
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
65
|
+
* --------------------------------------------------------------------------
|
20
66
|
*/
|
21
|
-
|
22
|
-
var
|
23
|
-
var DATA_KEY = 'bs.tooltip';
|
24
|
-
var EVENT_KEY = "." + DATA_KEY;
|
25
|
-
var JQUERY_NO_CONFLICT = $.fn[NAME];
|
26
|
-
var CLASS_PREFIX = 'bs-tooltip';
|
27
|
-
var BSCLS_PREFIX_REGEX = new RegExp("(^|\\s)" + CLASS_PREFIX + "\\S+", 'g');
|
28
|
-
var DefaultType = {
|
29
|
-
animation: 'boolean',
|
30
|
-
template: 'string',
|
31
|
-
title: '(string|element|function)',
|
32
|
-
trigger: 'string',
|
33
|
-
delay: '(number|object)',
|
34
|
-
html: 'boolean',
|
35
|
-
selector: '(string|boolean)',
|
36
|
-
placement: '(string|function)',
|
37
|
-
offset: '(number|string)',
|
38
|
-
container: '(string|element|boolean)',
|
39
|
-
fallbackPlacement: '(string|array)',
|
40
|
-
boundary: '(string|element)'
|
41
|
-
};
|
42
|
-
var AttachmentMap = {
|
43
|
-
AUTO: 'auto',
|
44
|
-
TOP: 'top',
|
45
|
-
RIGHT: 'right',
|
46
|
-
BOTTOM: 'bottom',
|
47
|
-
LEFT: 'left'
|
48
|
-
};
|
49
|
-
var Default = {
|
50
|
-
animation: true,
|
51
|
-
template: '<div class="tooltip" role="tooltip">' + '<div class="arrow"></div>' + '<div class="tooltip-inner"></div></div>',
|
52
|
-
trigger: 'hover focus',
|
53
|
-
title: '',
|
54
|
-
delay: 0,
|
55
|
-
html: false,
|
56
|
-
selector: false,
|
57
|
-
placement: 'top',
|
58
|
-
offset: 0,
|
59
|
-
container: false,
|
60
|
-
fallbackPlacement: 'flip',
|
61
|
-
boundary: 'scrollParent'
|
62
|
-
};
|
63
|
-
var HoverState = {
|
64
|
-
SHOW: 'show',
|
65
|
-
OUT: 'out'
|
66
|
-
};
|
67
|
-
var Event = {
|
68
|
-
HIDE: "hide" + EVENT_KEY,
|
69
|
-
HIDDEN: "hidden" + EVENT_KEY,
|
70
|
-
SHOW: "show" + EVENT_KEY,
|
71
|
-
SHOWN: "shown" + EVENT_KEY,
|
72
|
-
INSERTED: "inserted" + EVENT_KEY,
|
73
|
-
CLICK: "click" + EVENT_KEY,
|
74
|
-
FOCUSIN: "focusin" + EVENT_KEY,
|
75
|
-
FOCUSOUT: "focusout" + EVENT_KEY,
|
76
|
-
MOUSEENTER: "mouseenter" + EVENT_KEY,
|
77
|
-
MOUSELEAVE: "mouseleave" + EVENT_KEY
|
78
|
-
};
|
79
|
-
var ClassName = {
|
80
|
-
FADE: 'fade',
|
81
|
-
SHOW: 'show'
|
82
|
-
};
|
83
|
-
var Selector = {
|
84
|
-
TOOLTIP: '.tooltip',
|
85
|
-
TOOLTIP_INNER: '.tooltip-inner',
|
86
|
-
ARROW: '.arrow'
|
87
|
-
};
|
88
|
-
var Trigger = {
|
89
|
-
HOVER: 'hover',
|
90
|
-
FOCUS: 'focus',
|
91
|
-
CLICK: 'click',
|
92
|
-
MANUAL: 'manual'
|
67
|
+
|
68
|
+
var Tooltip = function ($$$1) {
|
93
69
|
/**
|
94
70
|
* ------------------------------------------------------------------------
|
95
|
-
*
|
71
|
+
* Constants
|
96
72
|
* ------------------------------------------------------------------------
|
97
73
|
*/
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
74
|
+
var NAME = 'tooltip';
|
75
|
+
var VERSION = '4.1.3';
|
76
|
+
var DATA_KEY = 'bs.tooltip';
|
77
|
+
var EVENT_KEY = "." + DATA_KEY;
|
78
|
+
var JQUERY_NO_CONFLICT = $$$1.fn[NAME];
|
79
|
+
var CLASS_PREFIX = 'bs-tooltip';
|
80
|
+
var BSCLS_PREFIX_REGEX = new RegExp("(^|\\s)" + CLASS_PREFIX + "\\S+", 'g');
|
81
|
+
var DefaultType = {
|
82
|
+
animation: 'boolean',
|
83
|
+
template: 'string',
|
84
|
+
title: '(string|element|function)',
|
85
|
+
trigger: 'string',
|
86
|
+
delay: '(number|object)',
|
87
|
+
html: 'boolean',
|
88
|
+
selector: '(string|boolean)',
|
89
|
+
placement: '(string|function)',
|
90
|
+
offset: '(number|string)',
|
91
|
+
container: '(string|element|boolean)',
|
92
|
+
fallbackPlacement: '(string|array)',
|
93
|
+
boundary: '(string|element)'
|
94
|
+
};
|
95
|
+
var AttachmentMap = {
|
96
|
+
AUTO: 'auto',
|
97
|
+
TOP: 'top',
|
98
|
+
RIGHT: 'right',
|
99
|
+
BOTTOM: 'bottom',
|
100
|
+
LEFT: 'left'
|
101
|
+
};
|
102
|
+
var Default = {
|
103
|
+
animation: true,
|
104
|
+
template: '<div class="tooltip" role="tooltip">' + '<div class="arrow"></div>' + '<div class="tooltip-inner"></div></div>',
|
105
|
+
trigger: 'hover focus',
|
106
|
+
title: '',
|
107
|
+
delay: 0,
|
108
|
+
html: false,
|
109
|
+
selector: false,
|
110
|
+
placement: 'top',
|
111
|
+
offset: 0,
|
112
|
+
container: false,
|
113
|
+
fallbackPlacement: 'flip',
|
114
|
+
boundary: 'scrollParent'
|
115
|
+
};
|
116
|
+
var HoverState = {
|
117
|
+
SHOW: 'show',
|
118
|
+
OUT: 'out'
|
119
|
+
};
|
120
|
+
var Event = {
|
121
|
+
HIDE: "hide" + EVENT_KEY,
|
122
|
+
HIDDEN: "hidden" + EVENT_KEY,
|
123
|
+
SHOW: "show" + EVENT_KEY,
|
124
|
+
SHOWN: "shown" + EVENT_KEY,
|
125
|
+
INSERTED: "inserted" + EVENT_KEY,
|
126
|
+
CLICK: "click" + EVENT_KEY,
|
127
|
+
FOCUSIN: "focusin" + EVENT_KEY,
|
128
|
+
FOCUSOUT: "focusout" + EVENT_KEY,
|
129
|
+
MOUSEENTER: "mouseenter" + EVENT_KEY,
|
130
|
+
MOUSELEAVE: "mouseleave" + EVENT_KEY
|
131
|
+
};
|
132
|
+
var ClassName = {
|
133
|
+
FADE: 'fade',
|
134
|
+
SHOW: 'show'
|
135
|
+
};
|
136
|
+
var Selector = {
|
137
|
+
TOOLTIP: '.tooltip',
|
138
|
+
TOOLTIP_INNER: '.tooltip-inner',
|
139
|
+
ARROW: '.arrow'
|
140
|
+
};
|
141
|
+
var Trigger = {
|
142
|
+
HOVER: 'hover',
|
143
|
+
FOCUS: 'focus',
|
144
|
+
CLICK: 'click',
|
145
|
+
MANUAL: 'manual'
|
105
146
|
/**
|
106
|
-
*
|
107
|
-
*
|
147
|
+
* ------------------------------------------------------------------------
|
148
|
+
* Class Definition
|
149
|
+
* ------------------------------------------------------------------------
|
108
150
|
*/
|
109
|
-
if (typeof Popper === 'undefined') {
|
110
|
-
throw new TypeError('Bootstrap tooltips require Popper.js (https://popper.js.org)');
|
111
|
-
} // private
|
112
151
|
|
152
|
+
};
|
113
153
|
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
154
|
+
var Tooltip =
|
155
|
+
/*#__PURE__*/
|
156
|
+
function () {
|
157
|
+
function Tooltip(element, config) {
|
158
|
+
/**
|
159
|
+
* Check for Popper dependency
|
160
|
+
* Popper - https://popper.js.org
|
161
|
+
*/
|
162
|
+
if (typeof Popper === 'undefined') {
|
163
|
+
throw new TypeError('Bootstrap tooltips require Popper.js (https://popper.js.org)');
|
164
|
+
} // private
|
119
165
|
|
120
|
-
this.element = element;
|
121
|
-
this.config = this._getConfig(config);
|
122
|
-
this.tip = null;
|
123
166
|
|
124
|
-
|
125
|
-
|
167
|
+
this._isEnabled = true;
|
168
|
+
this._timeout = 0;
|
169
|
+
this._hoverState = '';
|
170
|
+
this._activeTrigger = {};
|
171
|
+
this._popper = null; // Protected
|
126
172
|
|
173
|
+
this.element = element;
|
174
|
+
this.config = this._getConfig(config);
|
175
|
+
this.tip = null;
|
127
176
|
|
128
|
-
|
177
|
+
this._setListeners();
|
178
|
+
} // Getters
|
129
179
|
|
130
|
-
// Public
|
131
|
-
_proto.enable = function enable() {
|
132
|
-
this._isEnabled = true;
|
133
|
-
};
|
134
180
|
|
135
|
-
|
136
|
-
this._isEnabled = false;
|
137
|
-
};
|
181
|
+
var _proto = Tooltip.prototype;
|
138
182
|
|
139
|
-
|
140
|
-
|
141
|
-
|
183
|
+
// Public
|
184
|
+
_proto.enable = function enable() {
|
185
|
+
this._isEnabled = true;
|
186
|
+
};
|
142
187
|
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
}
|
188
|
+
_proto.disable = function disable() {
|
189
|
+
this._isEnabled = false;
|
190
|
+
};
|
147
191
|
|
148
|
-
|
149
|
-
|
150
|
-
|
192
|
+
_proto.toggleEnabled = function toggleEnabled() {
|
193
|
+
this._isEnabled = !this._isEnabled;
|
194
|
+
};
|
151
195
|
|
152
|
-
|
153
|
-
|
154
|
-
|
196
|
+
_proto.toggle = function toggle(event) {
|
197
|
+
if (!this._isEnabled) {
|
198
|
+
return;
|
155
199
|
}
|
156
200
|
|
157
|
-
|
201
|
+
if (event) {
|
202
|
+
var dataKey = this.constructor.DATA_KEY;
|
203
|
+
var context = $$$1(event.currentTarget).data(dataKey);
|
158
204
|
|
159
|
-
|
160
|
-
|
205
|
+
if (!context) {
|
206
|
+
context = new this.constructor(event.currentTarget, this._getDelegateConfig());
|
207
|
+
$$$1(event.currentTarget).data(dataKey, context);
|
208
|
+
}
|
209
|
+
|
210
|
+
context._activeTrigger.click = !context._activeTrigger.click;
|
211
|
+
|
212
|
+
if (context._isWithActiveTrigger()) {
|
213
|
+
context._enter(null, context);
|
214
|
+
} else {
|
215
|
+
context._leave(null, context);
|
216
|
+
}
|
161
217
|
} else {
|
162
|
-
|
163
|
-
|
164
|
-
} else {
|
165
|
-
if ($(this.getTipElement()).hasClass(ClassName.SHOW)) {
|
166
|
-
this._leave(null, this);
|
218
|
+
if ($$$1(this.getTipElement()).hasClass(ClassName.SHOW)) {
|
219
|
+
this._leave(null, this);
|
167
220
|
|
168
|
-
|
169
|
-
|
221
|
+
return;
|
222
|
+
}
|
170
223
|
|
171
|
-
|
172
|
-
|
173
|
-
|
224
|
+
this._enter(null, this);
|
225
|
+
}
|
226
|
+
};
|
174
227
|
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
228
|
+
_proto.dispose = function dispose() {
|
229
|
+
clearTimeout(this._timeout);
|
230
|
+
$$$1.removeData(this.element, this.constructor.DATA_KEY);
|
231
|
+
$$$1(this.element).off(this.constructor.EVENT_KEY);
|
232
|
+
$$$1(this.element).closest('.modal').off('hide.bs.modal');
|
180
233
|
|
181
|
-
|
182
|
-
|
183
|
-
|
234
|
+
if (this.tip) {
|
235
|
+
$$$1(this.tip).remove();
|
236
|
+
}
|
184
237
|
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
238
|
+
this._isEnabled = null;
|
239
|
+
this._timeout = null;
|
240
|
+
this._hoverState = null;
|
241
|
+
this._activeTrigger = null;
|
189
242
|
|
190
|
-
|
191
|
-
|
192
|
-
|
243
|
+
if (this._popper !== null) {
|
244
|
+
this._popper.destroy();
|
245
|
+
}
|
193
246
|
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
247
|
+
this._popper = null;
|
248
|
+
this.element = null;
|
249
|
+
this.config = null;
|
250
|
+
this.tip = null;
|
251
|
+
};
|
199
252
|
|
200
|
-
|
201
|
-
|
253
|
+
_proto.show = function show() {
|
254
|
+
var _this = this;
|
202
255
|
|
203
|
-
|
204
|
-
|
205
|
-
|
256
|
+
if ($$$1(this.element).css('display') === 'none') {
|
257
|
+
throw new Error('Please use show on visible elements');
|
258
|
+
}
|
206
259
|
|
207
|
-
|
260
|
+
var showEvent = $$$1.Event(this.constructor.Event.SHOW);
|
208
261
|
|
209
|
-
|
210
|
-
|
211
|
-
|
262
|
+
if (this.isWithContent() && this._isEnabled) {
|
263
|
+
$$$1(this.element).trigger(showEvent);
|
264
|
+
var isInTheDom = $$$1.contains(this.element.ownerDocument.documentElement, this.element);
|
212
265
|
|
213
|
-
|
214
|
-
|
215
|
-
|
266
|
+
if (showEvent.isDefaultPrevented() || !isInTheDom) {
|
267
|
+
return;
|
268
|
+
}
|
216
269
|
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
270
|
+
var tip = this.getTipElement();
|
271
|
+
var tipId = Util.getUID(this.constructor.NAME);
|
272
|
+
tip.setAttribute('id', tipId);
|
273
|
+
this.element.setAttribute('aria-describedby', tipId);
|
274
|
+
this.setContent();
|
222
275
|
|
223
|
-
|
224
|
-
|
225
|
-
|
276
|
+
if (this.config.animation) {
|
277
|
+
$$$1(tip).addClass(ClassName.FADE);
|
278
|
+
}
|
226
279
|
|
227
|
-
|
280
|
+
var placement = typeof this.config.placement === 'function' ? this.config.placement.call(this, tip, this.element) : this.config.placement;
|
228
281
|
|
229
|
-
|
282
|
+
var attachment = this._getAttachment(placement);
|
230
283
|
|
231
|
-
|
232
|
-
|
233
|
-
|
284
|
+
this.addAttachmentClass(attachment);
|
285
|
+
var container = this.config.container === false ? document.body : $$$1(document).find(this.config.container);
|
286
|
+
$$$1(tip).data(this.constructor.DATA_KEY, this);
|
234
287
|
|
235
|
-
|
236
|
-
|
237
|
-
|
288
|
+
if (!$$$1.contains(this.element.ownerDocument.documentElement, this.tip)) {
|
289
|
+
$$$1(tip).appendTo(container);
|
290
|
+
}
|
238
291
|
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
292
|
+
$$$1(this.element).trigger(this.constructor.Event.INSERTED);
|
293
|
+
this._popper = new Popper(this.element, tip, {
|
294
|
+
placement: attachment,
|
295
|
+
modifiers: {
|
296
|
+
offset: {
|
297
|
+
offset: this.config.offset
|
298
|
+
},
|
299
|
+
flip: {
|
300
|
+
behavior: this.config.fallbackPlacement
|
301
|
+
},
|
302
|
+
arrow: {
|
303
|
+
element: Selector.ARROW
|
304
|
+
},
|
305
|
+
preventOverflow: {
|
306
|
+
boundariesElement: this.config.boundary
|
307
|
+
}
|
248
308
|
},
|
249
|
-
|
250
|
-
|
309
|
+
onCreate: function onCreate(data) {
|
310
|
+
if (data.originalPlacement !== data.placement) {
|
311
|
+
_this._handlePopperPlacementChange(data);
|
312
|
+
}
|
251
313
|
},
|
252
|
-
|
253
|
-
boundariesElement: this.config.boundary
|
254
|
-
}
|
255
|
-
},
|
256
|
-
onCreate: function onCreate(data) {
|
257
|
-
if (data.originalPlacement !== data.placement) {
|
314
|
+
onUpdate: function onUpdate(data) {
|
258
315
|
_this._handlePopperPlacementChange(data);
|
259
316
|
}
|
260
|
-
}
|
261
|
-
|
262
|
-
|
317
|
+
});
|
318
|
+
$$$1(tip).addClass(ClassName.SHOW); // If this is a touch-enabled device we add extra
|
319
|
+
// empty mouseover listeners to the body's immediate children;
|
320
|
+
// only needed because of broken event delegation on iOS
|
321
|
+
// https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html
|
322
|
+
|
323
|
+
if ('ontouchstart' in document.documentElement) {
|
324
|
+
$$$1(document.body).children().on('mouseover', null, $$$1.noop);
|
263
325
|
}
|
264
|
-
});
|
265
|
-
$(tip).addClass(ClassName.SHOW); // If this is a touch-enabled device we add extra
|
266
|
-
// empty mouseover listeners to the body's immediate children;
|
267
|
-
// only needed because of broken event delegation on iOS
|
268
|
-
// https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html
|
269
326
|
|
270
|
-
|
271
|
-
|
272
|
-
|
327
|
+
var complete = function complete() {
|
328
|
+
if (_this.config.animation) {
|
329
|
+
_this._fixTransition();
|
330
|
+
}
|
273
331
|
|
274
|
-
|
275
|
-
|
276
|
-
_this.
|
277
|
-
}
|
332
|
+
var prevHoverState = _this._hoverState;
|
333
|
+
_this._hoverState = null;
|
334
|
+
$$$1(_this.element).trigger(_this.constructor.Event.SHOWN);
|
278
335
|
|
279
|
-
|
280
|
-
|
281
|
-
|
336
|
+
if (prevHoverState === HoverState.OUT) {
|
337
|
+
_this._leave(null, _this);
|
338
|
+
}
|
339
|
+
};
|
282
340
|
|
283
|
-
if (
|
284
|
-
|
341
|
+
if ($$$1(this.tip).hasClass(ClassName.FADE)) {
|
342
|
+
var transitionDuration = Util.getTransitionDurationFromElement(this.tip);
|
343
|
+
$$$1(this.tip).one(Util.TRANSITION_END, complete).emulateTransitionEnd(transitionDuration);
|
344
|
+
} else {
|
345
|
+
complete();
|
285
346
|
}
|
286
|
-
};
|
287
|
-
|
288
|
-
if ($(this.tip).hasClass(ClassName.FADE)) {
|
289
|
-
var transitionDuration = Util.getTransitionDurationFromElement(this.tip);
|
290
|
-
$(this.tip).one(Util.TRANSITION_END, complete).emulateTransitionEnd(transitionDuration);
|
291
|
-
} else {
|
292
|
-
complete();
|
293
347
|
}
|
294
|
-
}
|
295
|
-
};
|
348
|
+
};
|
296
349
|
|
297
|
-
|
298
|
-
|
350
|
+
_proto.hide = function hide(callback) {
|
351
|
+
var _this2 = this;
|
299
352
|
|
300
|
-
|
301
|
-
|
353
|
+
var tip = this.getTipElement();
|
354
|
+
var hideEvent = $$$1.Event(this.constructor.Event.HIDE);
|
302
355
|
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
356
|
+
var complete = function complete() {
|
357
|
+
if (_this2._hoverState !== HoverState.SHOW && tip.parentNode) {
|
358
|
+
tip.parentNode.removeChild(tip);
|
359
|
+
}
|
307
360
|
|
308
|
-
|
361
|
+
_this2._cleanTipClass();
|
309
362
|
|
310
|
-
|
363
|
+
_this2.element.removeAttribute('aria-describedby');
|
311
364
|
|
312
|
-
|
365
|
+
$$$1(_this2.element).trigger(_this2.constructor.Event.HIDDEN);
|
313
366
|
|
314
|
-
|
315
|
-
|
316
|
-
|
367
|
+
if (_this2._popper !== null) {
|
368
|
+
_this2._popper.destroy();
|
369
|
+
}
|
317
370
|
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
371
|
+
if (callback) {
|
372
|
+
callback();
|
373
|
+
}
|
374
|
+
};
|
322
375
|
|
323
|
-
|
376
|
+
$$$1(this.element).trigger(hideEvent);
|
324
377
|
|
325
|
-
|
326
|
-
|
327
|
-
|
378
|
+
if (hideEvent.isDefaultPrevented()) {
|
379
|
+
return;
|
380
|
+
}
|
328
381
|
|
329
|
-
|
330
|
-
|
382
|
+
$$$1(tip).removeClass(ClassName.SHOW); // If this is a touch-enabled device we remove the extra
|
383
|
+
// empty mouseover listeners we added for iOS support
|
331
384
|
|
332
|
-
|
333
|
-
|
334
|
-
|
385
|
+
if ('ontouchstart' in document.documentElement) {
|
386
|
+
$$$1(document.body).children().off('mouseover', null, $$$1.noop);
|
387
|
+
}
|
335
388
|
|
336
|
-
|
337
|
-
|
338
|
-
|
389
|
+
this._activeTrigger[Trigger.CLICK] = false;
|
390
|
+
this._activeTrigger[Trigger.FOCUS] = false;
|
391
|
+
this._activeTrigger[Trigger.HOVER] = false;
|
339
392
|
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
393
|
+
if ($$$1(this.tip).hasClass(ClassName.FADE)) {
|
394
|
+
var transitionDuration = Util.getTransitionDurationFromElement(tip);
|
395
|
+
$$$1(tip).one(Util.TRANSITION_END, complete).emulateTransitionEnd(transitionDuration);
|
396
|
+
} else {
|
397
|
+
complete();
|
398
|
+
}
|
346
399
|
|
347
|
-
|
348
|
-
|
400
|
+
this._hoverState = '';
|
401
|
+
};
|
349
402
|
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
403
|
+
_proto.update = function update() {
|
404
|
+
if (this._popper !== null) {
|
405
|
+
this._popper.scheduleUpdate();
|
406
|
+
}
|
407
|
+
}; // Protected
|
355
408
|
|
356
409
|
|
357
|
-
|
358
|
-
|
359
|
-
|
410
|
+
_proto.isWithContent = function isWithContent() {
|
411
|
+
return Boolean(this.getTitle());
|
412
|
+
};
|
360
413
|
|
361
|
-
|
362
|
-
|
363
|
-
|
414
|
+
_proto.addAttachmentClass = function addAttachmentClass(attachment) {
|
415
|
+
$$$1(this.getTipElement()).addClass(CLASS_PREFIX + "-" + attachment);
|
416
|
+
};
|
364
417
|
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
418
|
+
_proto.getTipElement = function getTipElement() {
|
419
|
+
this.tip = this.tip || $$$1(this.config.template)[0];
|
420
|
+
return this.tip;
|
421
|
+
};
|
369
422
|
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
423
|
+
_proto.setContent = function setContent() {
|
424
|
+
var tip = this.getTipElement();
|
425
|
+
this.setElementContent($$$1(tip.querySelectorAll(Selector.TOOLTIP_INNER)), this.getTitle());
|
426
|
+
$$$1(tip).removeClass(ClassName.FADE + " " + ClassName.SHOW);
|
427
|
+
};
|
375
428
|
|
376
|
-
|
377
|
-
|
429
|
+
_proto.setElementContent = function setElementContent($element, content) {
|
430
|
+
var html = this.config.html;
|
378
431
|
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
432
|
+
if (typeof content === 'object' && (content.nodeType || content.jquery)) {
|
433
|
+
// Content is a DOM node or a jQuery
|
434
|
+
if (html) {
|
435
|
+
if (!$$$1(content).parent().is($element)) {
|
436
|
+
$element.empty().append(content);
|
437
|
+
}
|
438
|
+
} else {
|
439
|
+
$element.text($$$1(content).text());
|
384
440
|
}
|
385
441
|
} else {
|
386
|
-
$element
|
442
|
+
$element[html ? 'html' : 'text'](content);
|
387
443
|
}
|
388
|
-
}
|
389
|
-
$element[html ? 'html' : 'text'](content);
|
390
|
-
}
|
391
|
-
};
|
444
|
+
};
|
392
445
|
|
393
|
-
|
394
|
-
|
446
|
+
_proto.getTitle = function getTitle() {
|
447
|
+
var title = this.element.getAttribute('data-original-title');
|
395
448
|
|
396
|
-
|
397
|
-
|
398
|
-
|
449
|
+
if (!title) {
|
450
|
+
title = typeof this.config.title === 'function' ? this.config.title.call(this.element) : this.config.title;
|
451
|
+
}
|
399
452
|
|
400
|
-
|
401
|
-
|
453
|
+
return title;
|
454
|
+
}; // Private
|
402
455
|
|
403
456
|
|
404
|
-
|
405
|
-
|
406
|
-
|
457
|
+
_proto._getAttachment = function _getAttachment(placement) {
|
458
|
+
return AttachmentMap[placement.toUpperCase()];
|
459
|
+
};
|
407
460
|
|
408
|
-
|
409
|
-
|
461
|
+
_proto._setListeners = function _setListeners() {
|
462
|
+
var _this3 = this;
|
463
|
+
|
464
|
+
var triggers = this.config.trigger.split(' ');
|
465
|
+
triggers.forEach(function (trigger) {
|
466
|
+
if (trigger === 'click') {
|
467
|
+
$$$1(_this3.element).on(_this3.constructor.Event.CLICK, _this3.config.selector, function (event) {
|
468
|
+
return _this3.toggle(event);
|
469
|
+
});
|
470
|
+
} else if (trigger !== Trigger.MANUAL) {
|
471
|
+
var eventIn = trigger === Trigger.HOVER ? _this3.constructor.Event.MOUSEENTER : _this3.constructor.Event.FOCUSIN;
|
472
|
+
var eventOut = trigger === Trigger.HOVER ? _this3.constructor.Event.MOUSELEAVE : _this3.constructor.Event.FOCUSOUT;
|
473
|
+
$$$1(_this3.element).on(eventIn, _this3.config.selector, function (event) {
|
474
|
+
return _this3._enter(event);
|
475
|
+
}).on(eventOut, _this3.config.selector, function (event) {
|
476
|
+
return _this3._leave(event);
|
477
|
+
});
|
478
|
+
}
|
410
479
|
|
411
|
-
|
412
|
-
|
413
|
-
if (trigger === 'click') {
|
414
|
-
$(_this3.element).on(_this3.constructor.Event.CLICK, _this3.config.selector, function (event) {
|
415
|
-
return _this3.toggle(event);
|
480
|
+
$$$1(_this3.element).closest('.modal').on('hide.bs.modal', function () {
|
481
|
+
return _this3.hide();
|
416
482
|
});
|
417
|
-
}
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
return _this3._leave(event);
|
483
|
+
});
|
484
|
+
|
485
|
+
if (this.config.selector) {
|
486
|
+
this.config = _objectSpread({}, this.config, {
|
487
|
+
trigger: 'manual',
|
488
|
+
selector: ''
|
424
489
|
});
|
490
|
+
} else {
|
491
|
+
this._fixTitle();
|
425
492
|
}
|
493
|
+
};
|
426
494
|
|
427
|
-
|
428
|
-
|
429
|
-
});
|
430
|
-
});
|
431
|
-
|
432
|
-
if (this.config.selector) {
|
433
|
-
this.config = _objectSpread({}, this.config, {
|
434
|
-
trigger: 'manual',
|
435
|
-
selector: ''
|
436
|
-
});
|
437
|
-
} else {
|
438
|
-
this._fixTitle();
|
439
|
-
}
|
440
|
-
};
|
495
|
+
_proto._fixTitle = function _fixTitle() {
|
496
|
+
var titleType = typeof this.element.getAttribute('data-original-title');
|
441
497
|
|
442
|
-
|
443
|
-
|
498
|
+
if (this.element.getAttribute('title') || titleType !== 'string') {
|
499
|
+
this.element.setAttribute('data-original-title', this.element.getAttribute('title') || '');
|
500
|
+
this.element.setAttribute('title', '');
|
501
|
+
}
|
502
|
+
};
|
444
503
|
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
}
|
449
|
-
};
|
504
|
+
_proto._enter = function _enter(event, context) {
|
505
|
+
var dataKey = this.constructor.DATA_KEY;
|
506
|
+
context = context || $$$1(event.currentTarget).data(dataKey);
|
450
507
|
|
451
|
-
|
452
|
-
|
453
|
-
|
508
|
+
if (!context) {
|
509
|
+
context = new this.constructor(event.currentTarget, this._getDelegateConfig());
|
510
|
+
$$$1(event.currentTarget).data(dataKey, context);
|
511
|
+
}
|
454
512
|
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
}
|
513
|
+
if (event) {
|
514
|
+
context._activeTrigger[event.type === 'focusin' ? Trigger.FOCUS : Trigger.HOVER] = true;
|
515
|
+
}
|
459
516
|
|
460
|
-
|
461
|
-
|
462
|
-
|
517
|
+
if ($$$1(context.getTipElement()).hasClass(ClassName.SHOW) || context._hoverState === HoverState.SHOW) {
|
518
|
+
context._hoverState = HoverState.SHOW;
|
519
|
+
return;
|
520
|
+
}
|
463
521
|
|
464
|
-
|
522
|
+
clearTimeout(context._timeout);
|
465
523
|
context._hoverState = HoverState.SHOW;
|
466
|
-
return;
|
467
|
-
}
|
468
|
-
|
469
|
-
clearTimeout(context._timeout);
|
470
|
-
context._hoverState = HoverState.SHOW;
|
471
524
|
|
472
|
-
|
473
|
-
context.show();
|
474
|
-
return;
|
475
|
-
}
|
476
|
-
|
477
|
-
context._timeout = setTimeout(function () {
|
478
|
-
if (context._hoverState === HoverState.SHOW) {
|
525
|
+
if (!context.config.delay || !context.config.delay.show) {
|
479
526
|
context.show();
|
527
|
+
return;
|
480
528
|
}
|
481
|
-
}, context.config.delay.show);
|
482
|
-
};
|
483
529
|
|
484
|
-
|
485
|
-
|
486
|
-
|
530
|
+
context._timeout = setTimeout(function () {
|
531
|
+
if (context._hoverState === HoverState.SHOW) {
|
532
|
+
context.show();
|
533
|
+
}
|
534
|
+
}, context.config.delay.show);
|
535
|
+
};
|
487
536
|
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
}
|
537
|
+
_proto._leave = function _leave(event, context) {
|
538
|
+
var dataKey = this.constructor.DATA_KEY;
|
539
|
+
context = context || $$$1(event.currentTarget).data(dataKey);
|
492
540
|
|
493
|
-
|
494
|
-
|
495
|
-
|
541
|
+
if (!context) {
|
542
|
+
context = new this.constructor(event.currentTarget, this._getDelegateConfig());
|
543
|
+
$$$1(event.currentTarget).data(dataKey, context);
|
544
|
+
}
|
496
545
|
|
497
|
-
|
498
|
-
|
499
|
-
|
546
|
+
if (event) {
|
547
|
+
context._activeTrigger[event.type === 'focusout' ? Trigger.FOCUS : Trigger.HOVER] = false;
|
548
|
+
}
|
500
549
|
|
501
|
-
|
502
|
-
|
550
|
+
if (context._isWithActiveTrigger()) {
|
551
|
+
return;
|
552
|
+
}
|
503
553
|
|
504
|
-
|
505
|
-
context.
|
506
|
-
return;
|
507
|
-
}
|
554
|
+
clearTimeout(context._timeout);
|
555
|
+
context._hoverState = HoverState.OUT;
|
508
556
|
|
509
|
-
|
510
|
-
if (context._hoverState === HoverState.OUT) {
|
557
|
+
if (!context.config.delay || !context.config.delay.hide) {
|
511
558
|
context.hide();
|
559
|
+
return;
|
512
560
|
}
|
513
|
-
}, context.config.delay.hide);
|
514
|
-
};
|
515
561
|
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
562
|
+
context._timeout = setTimeout(function () {
|
563
|
+
if (context._hoverState === HoverState.OUT) {
|
564
|
+
context.hide();
|
565
|
+
}
|
566
|
+
}, context.config.delay.hide);
|
567
|
+
};
|
568
|
+
|
569
|
+
_proto._isWithActiveTrigger = function _isWithActiveTrigger() {
|
570
|
+
for (var trigger in this._activeTrigger) {
|
571
|
+
if (this._activeTrigger[trigger]) {
|
572
|
+
return true;
|
573
|
+
}
|
520
574
|
}
|
521
|
-
}
|
522
575
|
|
523
|
-
|
524
|
-
|
576
|
+
return false;
|
577
|
+
};
|
525
578
|
|
526
|
-
|
527
|
-
|
579
|
+
_proto._getConfig = function _getConfig(config) {
|
580
|
+
config = _objectSpread({}, this.constructor.Default, $$$1(this.element).data(), typeof config === 'object' && config ? config : {});
|
528
581
|
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
582
|
+
if (typeof config.delay === 'number') {
|
583
|
+
config.delay = {
|
584
|
+
show: config.delay,
|
585
|
+
hide: config.delay
|
586
|
+
};
|
587
|
+
}
|
535
588
|
|
536
|
-
|
537
|
-
|
538
|
-
|
589
|
+
if (typeof config.title === 'number') {
|
590
|
+
config.title = config.title.toString();
|
591
|
+
}
|
539
592
|
|
540
|
-
|
541
|
-
|
542
|
-
|
593
|
+
if (typeof config.content === 'number') {
|
594
|
+
config.content = config.content.toString();
|
595
|
+
}
|
543
596
|
|
544
|
-
|
545
|
-
|
546
|
-
|
597
|
+
Util.typeCheckConfig(NAME, config, this.constructor.DefaultType);
|
598
|
+
return config;
|
599
|
+
};
|
547
600
|
|
548
|
-
|
549
|
-
|
601
|
+
_proto._getDelegateConfig = function _getDelegateConfig() {
|
602
|
+
var config = {};
|
550
603
|
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
604
|
+
if (this.config) {
|
605
|
+
for (var key in this.config) {
|
606
|
+
if (this.constructor.Default[key] !== this.config[key]) {
|
607
|
+
config[key] = this.config[key];
|
608
|
+
}
|
555
609
|
}
|
556
610
|
}
|
557
|
-
}
|
558
611
|
|
559
|
-
|
560
|
-
|
612
|
+
return config;
|
613
|
+
};
|
561
614
|
|
562
|
-
|
563
|
-
|
564
|
-
|
615
|
+
_proto._cleanTipClass = function _cleanTipClass() {
|
616
|
+
var $tip = $$$1(this.getTipElement());
|
617
|
+
var tabClass = $tip.attr('class').match(BSCLS_PREFIX_REGEX);
|
565
618
|
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
619
|
+
if (tabClass !== null && tabClass.length) {
|
620
|
+
$tip.removeClass(tabClass.join(''));
|
621
|
+
}
|
622
|
+
};
|
570
623
|
|
571
|
-
|
572
|
-
|
573
|
-
|
624
|
+
_proto._handlePopperPlacementChange = function _handlePopperPlacementChange(popperData) {
|
625
|
+
var popperInstance = popperData.instance;
|
626
|
+
this.tip = popperInstance.popper;
|
574
627
|
|
575
|
-
|
628
|
+
this._cleanTipClass();
|
576
629
|
|
577
|
-
|
578
|
-
|
630
|
+
this.addAttachmentClass(this._getAttachment(popperData.placement));
|
631
|
+
};
|
579
632
|
|
580
|
-
|
581
|
-
|
582
|
-
|
633
|
+
_proto._fixTransition = function _fixTransition() {
|
634
|
+
var tip = this.getTipElement();
|
635
|
+
var initConfigAnimation = this.config.animation;
|
583
636
|
|
584
|
-
|
585
|
-
|
586
|
-
|
637
|
+
if (tip.getAttribute('x-placement') !== null) {
|
638
|
+
return;
|
639
|
+
}
|
587
640
|
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
641
|
+
$$$1(tip).removeClass(ClassName.FADE);
|
642
|
+
this.config.animation = false;
|
643
|
+
this.hide();
|
644
|
+
this.show();
|
645
|
+
this.config.animation = initConfigAnimation;
|
646
|
+
}; // Static
|
594
647
|
|
595
648
|
|
596
|
-
|
597
|
-
|
598
|
-
|
649
|
+
Tooltip._jQueryInterface = function _jQueryInterface(config) {
|
650
|
+
return this.each(function () {
|
651
|
+
var data = $$$1(this).data(DATA_KEY);
|
599
652
|
|
600
|
-
|
653
|
+
var _config = typeof config === 'object' && config;
|
601
654
|
|
602
|
-
|
603
|
-
|
604
|
-
|
655
|
+
if (!data && /dispose|hide/.test(config)) {
|
656
|
+
return;
|
657
|
+
}
|
605
658
|
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
659
|
+
if (!data) {
|
660
|
+
data = new Tooltip(this, _config);
|
661
|
+
$$$1(this).data(DATA_KEY, data);
|
662
|
+
}
|
663
|
+
|
664
|
+
if (typeof config === 'string') {
|
665
|
+
if (typeof data[config] === 'undefined') {
|
666
|
+
throw new TypeError("No method named \"" + config + "\"");
|
667
|
+
}
|
610
668
|
|
611
|
-
|
612
|
-
if (typeof data[config] === 'undefined') {
|
613
|
-
throw new TypeError("No method named \"" + config + "\"");
|
669
|
+
data[config]();
|
614
670
|
}
|
671
|
+
});
|
672
|
+
};
|
615
673
|
|
616
|
-
|
674
|
+
_createClass(Tooltip, null, [{
|
675
|
+
key: "VERSION",
|
676
|
+
get: function get() {
|
677
|
+
return VERSION;
|
617
678
|
}
|
618
|
-
}
|
619
|
-
|
679
|
+
}, {
|
680
|
+
key: "Default",
|
681
|
+
get: function get() {
|
682
|
+
return Default;
|
683
|
+
}
|
684
|
+
}, {
|
685
|
+
key: "NAME",
|
686
|
+
get: function get() {
|
687
|
+
return NAME;
|
688
|
+
}
|
689
|
+
}, {
|
690
|
+
key: "DATA_KEY",
|
691
|
+
get: function get() {
|
692
|
+
return DATA_KEY;
|
693
|
+
}
|
694
|
+
}, {
|
695
|
+
key: "Event",
|
696
|
+
get: function get() {
|
697
|
+
return Event;
|
698
|
+
}
|
699
|
+
}, {
|
700
|
+
key: "EVENT_KEY",
|
701
|
+
get: function get() {
|
702
|
+
return EVENT_KEY;
|
703
|
+
}
|
704
|
+
}, {
|
705
|
+
key: "DefaultType",
|
706
|
+
get: function get() {
|
707
|
+
return DefaultType;
|
708
|
+
}
|
709
|
+
}]);
|
620
710
|
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
|
627
|
-
|
628
|
-
get: function get() {
|
629
|
-
return Default;
|
630
|
-
}
|
631
|
-
}, {
|
632
|
-
key: "NAME",
|
633
|
-
get: function get() {
|
634
|
-
return NAME;
|
635
|
-
}
|
636
|
-
}, {
|
637
|
-
key: "DATA_KEY",
|
638
|
-
get: function get() {
|
639
|
-
return DATA_KEY;
|
640
|
-
}
|
641
|
-
}, {
|
642
|
-
key: "Event",
|
643
|
-
get: function get() {
|
644
|
-
return Event;
|
645
|
-
}
|
646
|
-
}, {
|
647
|
-
key: "EVENT_KEY",
|
648
|
-
get: function get() {
|
649
|
-
return EVENT_KEY;
|
650
|
-
}
|
651
|
-
}, {
|
652
|
-
key: "DefaultType",
|
653
|
-
get: function get() {
|
654
|
-
return DefaultType;
|
655
|
-
}
|
656
|
-
}]);
|
711
|
+
return Tooltip;
|
712
|
+
}();
|
713
|
+
/**
|
714
|
+
* ------------------------------------------------------------------------
|
715
|
+
* jQuery
|
716
|
+
* ------------------------------------------------------------------------
|
717
|
+
*/
|
657
718
|
|
658
|
-
return Tooltip;
|
659
|
-
}();
|
660
|
-
/**
|
661
|
-
* ------------------------------------------------------------------------
|
662
|
-
* jQuery
|
663
|
-
* ------------------------------------------------------------------------
|
664
|
-
*/
|
665
719
|
|
720
|
+
$$$1.fn[NAME] = Tooltip._jQueryInterface;
|
721
|
+
$$$1.fn[NAME].Constructor = Tooltip;
|
666
722
|
|
667
|
-
|
668
|
-
|
723
|
+
$$$1.fn[NAME].noConflict = function () {
|
724
|
+
$$$1.fn[NAME] = JQUERY_NO_CONFLICT;
|
725
|
+
return Tooltip._jQueryInterface;
|
726
|
+
};
|
669
727
|
|
670
|
-
|
671
|
-
|
672
|
-
return Tooltip._jQueryInterface;
|
673
|
-
};
|
728
|
+
return Tooltip;
|
729
|
+
}($, Popper);
|
674
730
|
|
675
731
|
return Tooltip;
|
676
|
-
|
732
|
+
|
733
|
+
})));
|