bootstrap 4.1.3 → 4.2.1

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.

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