phcthemes_web_theme_pack 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/common/bootstrap/bootstrap.bundle.js +100 -110
- data/app/assets/javascripts/common/covervid/covervid.js +94 -0
- data/app/assets/javascripts/phcthemes_web_theme_pack_antlr.js +10 -11
- data/app/assets/javascripts/themes/antlr/theme/isotope.min.js +12 -0
- data/app/assets/javascripts/themes/antlr/theme/jquery.countdown.js +5 -0
- data/app/assets/javascripts/themes/antlr/theme/jquery.magnific-popup.min.js +4 -0
- data/app/assets/javascripts/themes/antlr/theme/jquery.scrollme.min.js +1 -0
- data/app/assets/javascripts/themes/antlr/theme/lazysizes.min.js +2 -0
- data/app/assets/javascripts/themes/antlr/theme/owl.carousel.min.js +7 -0
- data/app/assets/javascripts/themes/antlr/theme/scripts.js +21 -21
- data/app/assets/javascripts/themes/antlr/theme/slick.min.js +18 -0
- data/app/assets/javascripts/themes/antlr/theme/swiper.min.js +14 -0
- data/app/assets/javascripts/themes/antlr/theme/typed.js +11 -0
- data/app/assets/javascripts/themes/antlr/theme/wow.min.js +2 -0
- data/app/assets/stylesheets/common/hanna_hearts/hanna_hearts.scss +11 -0
- data/app/assets/stylesheets/phcthemes_web_theme_pack_antlr.scss +7 -7
- data/app/assets/stylesheets/phcthemes_web_theme_pack_appstrap.scss +3 -3
- data/app/assets/stylesheets/phcthemes_web_theme_pack_bold.scss +2 -2
- data/app/assets/stylesheets/phcthemes_web_theme_pack_coloradmin.scss +3 -3
- data/app/assets/stylesheets/phcthemes_web_theme_pack_devine_villas.scss +3 -3
- data/app/assets/stylesheets/phcthemes_web_theme_pack_piknik.scss +2 -2
- data/app/assets/stylesheets/phcthemes_web_theme_pack_smarty.scss +2 -2
- data/app/assets/stylesheets/phcthemes_web_theme_pack_xero.scss +3 -3
- data/app/assets/stylesheets/phcthemes_web_theme_pack_zoner.scss +3 -3
- data/lib/phcthemes_web_theme_pack/version.rb +1 -1
- metadata +14 -4
- data/app/assets/javascripts/common/bootstrap/bootstrap.js +0 -4420
- data/app/assets/javascripts/common/covervid/covervid.min.js +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e779715cb2bf86969be2d8e1c76f36aa0a577248f5434f0661ed3c1574d6040
|
4
|
+
data.tar.gz: 2c2e99440ff831cd310e8dc4f809636deb0842202984fc9d56074091b053db22
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a97980e4bf1f51c433430ebc316783c0d408a160ad15d0f49fad61f778a9ca55ab4f0e165d40adc8caa6bddfe5b6e4651d429ed31f78490bf46ea3f85119904
|
7
|
+
data.tar.gz: b6700f8dcffa25bfdfaba6c3d0fd19328d565a515455181afedf53d5d080f036223d66de9d669e47707cca4daa7348ed93088e423f6f034cd4c4e545dabb73f3
|
@@ -1,12 +1,12 @@
|
|
1
1
|
/*!
|
2
|
-
* Bootstrap v4.5.
|
2
|
+
* Bootstrap v4.5.2 (https://getbootstrap.com/)
|
3
3
|
* Copyright 2011-2020 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
4
|
-
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/
|
4
|
+
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
5
5
|
*/
|
6
6
|
(function (global, factory) {
|
7
7
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('jquery')) :
|
8
8
|
typeof define === 'function' && define.amd ? define(['exports', 'jquery'], factory) :
|
9
|
-
(global = global || self, factory(global.bootstrap = {}, global.jQuery));
|
9
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.bootstrap = {}, global.jQuery));
|
10
10
|
}(this, (function (exports, $) { 'use strict';
|
11
11
|
|
12
12
|
$ = $ && Object.prototype.hasOwnProperty.call($, 'default') ? $['default'] : $;
|
@@ -27,53 +27,22 @@
|
|
27
27
|
return Constructor;
|
28
28
|
}
|
29
29
|
|
30
|
-
function
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
enumerable: true,
|
35
|
-
configurable: true,
|
36
|
-
writable: true
|
37
|
-
});
|
38
|
-
} else {
|
39
|
-
obj[key] = value;
|
40
|
-
}
|
30
|
+
function _extends() {
|
31
|
+
_extends = Object.assign || function (target) {
|
32
|
+
for (var i = 1; i < arguments.length; i++) {
|
33
|
+
var source = arguments[i];
|
41
34
|
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
if (Object.getOwnPropertySymbols) {
|
49
|
-
var symbols = Object.getOwnPropertySymbols(object);
|
50
|
-
if (enumerableOnly) symbols = symbols.filter(function (sym) {
|
51
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
52
|
-
});
|
53
|
-
keys.push.apply(keys, symbols);
|
54
|
-
}
|
55
|
-
|
56
|
-
return keys;
|
57
|
-
}
|
58
|
-
|
59
|
-
function _objectSpread2(target) {
|
60
|
-
for (var i = 1; i < arguments.length; i++) {
|
61
|
-
var source = arguments[i] != null ? arguments[i] : {};
|
62
|
-
|
63
|
-
if (i % 2) {
|
64
|
-
ownKeys(Object(source), true).forEach(function (key) {
|
65
|
-
_defineProperty(target, key, source[key]);
|
66
|
-
});
|
67
|
-
} else if (Object.getOwnPropertyDescriptors) {
|
68
|
-
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
69
|
-
} else {
|
70
|
-
ownKeys(Object(source)).forEach(function (key) {
|
71
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
72
|
-
});
|
35
|
+
for (var key in source) {
|
36
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
37
|
+
target[key] = source[key];
|
38
|
+
}
|
39
|
+
}
|
73
40
|
}
|
74
|
-
}
|
75
41
|
|
76
|
-
|
42
|
+
return target;
|
43
|
+
};
|
44
|
+
|
45
|
+
return _extends.apply(this, arguments);
|
77
46
|
}
|
78
47
|
|
79
48
|
function _inheritsLoose(subClass, superClass) {
|
@@ -84,8 +53,8 @@
|
|
84
53
|
|
85
54
|
/**
|
86
55
|
* --------------------------------------------------------------------------
|
87
|
-
* Bootstrap (v4.5.
|
88
|
-
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/
|
56
|
+
* Bootstrap (v4.5.2): util.js
|
57
|
+
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
89
58
|
* --------------------------------------------------------------------------
|
90
59
|
*/
|
91
60
|
/**
|
@@ -265,7 +234,7 @@
|
|
265
234
|
*/
|
266
235
|
|
267
236
|
var NAME = 'alert';
|
268
|
-
var VERSION = '4.5.
|
237
|
+
var VERSION = '4.5.2';
|
269
238
|
var DATA_KEY = 'bs.alert';
|
270
239
|
var EVENT_KEY = "." + DATA_KEY;
|
271
240
|
var DATA_API_KEY = '.data-api';
|
@@ -421,7 +390,7 @@
|
|
421
390
|
*/
|
422
391
|
|
423
392
|
var NAME$1 = 'button';
|
424
|
-
var VERSION$1 = '4.5.
|
393
|
+
var VERSION$1 = '4.5.2';
|
425
394
|
var DATA_KEY$1 = 'bs.button';
|
426
395
|
var EVENT_KEY$1 = "." + DATA_KEY$1;
|
427
396
|
var DATA_API_KEY$1 = '.data-api';
|
@@ -556,11 +525,9 @@
|
|
556
525
|
return;
|
557
526
|
}
|
558
527
|
|
559
|
-
if (initialButton.tagName
|
560
|
-
|
528
|
+
if (initialButton.tagName !== 'LABEL' || inputBtn && inputBtn.type !== 'checkbox') {
|
529
|
+
Button._jQueryInterface.call($(button), 'toggle');
|
561
530
|
}
|
562
|
-
|
563
|
-
Button._jQueryInterface.call($(button), 'toggle');
|
564
531
|
}
|
565
532
|
}).on(EVENT_FOCUS_BLUR_DATA_API, SELECTOR_DATA_TOGGLE_CARROT, function (event) {
|
566
533
|
var button = $(event.target).closest(SELECTOR_BUTTON)[0];
|
@@ -616,7 +583,7 @@
|
|
616
583
|
*/
|
617
584
|
|
618
585
|
var NAME$2 = 'carousel';
|
619
|
-
var VERSION$2 = '4.5.
|
586
|
+
var VERSION$2 = '4.5.2';
|
620
587
|
var DATA_KEY$2 = 'bs.carousel';
|
621
588
|
var EVENT_KEY$2 = "." + DATA_KEY$2;
|
622
589
|
var DATA_API_KEY$2 = '.data-api';
|
@@ -803,7 +770,7 @@
|
|
803
770
|
;
|
804
771
|
|
805
772
|
_proto._getConfig = function _getConfig(config) {
|
806
|
-
config =
|
773
|
+
config = _extends({}, Default, config);
|
807
774
|
Util.typeCheckConfig(NAME$2, config, DefaultType);
|
808
775
|
return config;
|
809
776
|
};
|
@@ -1093,10 +1060,10 @@
|
|
1093
1060
|
return this.each(function () {
|
1094
1061
|
var data = $(this).data(DATA_KEY$2);
|
1095
1062
|
|
1096
|
-
var _config =
|
1063
|
+
var _config = _extends({}, Default, $(this).data());
|
1097
1064
|
|
1098
1065
|
if (typeof config === 'object') {
|
1099
|
-
_config =
|
1066
|
+
_config = _extends({}, _config, config);
|
1100
1067
|
}
|
1101
1068
|
|
1102
1069
|
var action = typeof config === 'string' ? config : _config.slide;
|
@@ -1134,7 +1101,7 @@
|
|
1134
1101
|
return;
|
1135
1102
|
}
|
1136
1103
|
|
1137
|
-
var config =
|
1104
|
+
var config = _extends({}, $(target).data(), $(this).data());
|
1138
1105
|
|
1139
1106
|
var slideIndex = this.getAttribute('data-slide-to');
|
1140
1107
|
|
@@ -1203,7 +1170,7 @@
|
|
1203
1170
|
*/
|
1204
1171
|
|
1205
1172
|
var NAME$3 = 'collapse';
|
1206
|
-
var VERSION$3 = '4.5.
|
1173
|
+
var VERSION$3 = '4.5.2';
|
1207
1174
|
var DATA_KEY$3 = 'bs.collapse';
|
1208
1175
|
var EVENT_KEY$3 = "." + DATA_KEY$3;
|
1209
1176
|
var DATA_API_KEY$3 = '.data-api';
|
@@ -1418,7 +1385,7 @@
|
|
1418
1385
|
;
|
1419
1386
|
|
1420
1387
|
_proto._getConfig = function _getConfig(config) {
|
1421
|
-
config =
|
1388
|
+
config = _extends({}, Default$1, config);
|
1422
1389
|
config.toggle = Boolean(config.toggle); // Coerce string values
|
1423
1390
|
|
1424
1391
|
Util.typeCheckConfig(NAME$3, config, DefaultType$1);
|
@@ -1472,7 +1439,7 @@
|
|
1472
1439
|
var $this = $(this);
|
1473
1440
|
var data = $this.data(DATA_KEY$3);
|
1474
1441
|
|
1475
|
-
var _config =
|
1442
|
+
var _config = _extends({}, Default$1, $this.data(), typeof config === 'object' && config ? config : {});
|
1476
1443
|
|
1477
1444
|
if (!data && _config.toggle && typeof config === 'string' && /show|hide/.test(config)) {
|
1478
1445
|
_config.toggle = false;
|
@@ -1547,7 +1514,7 @@
|
|
1547
1514
|
|
1548
1515
|
/**!
|
1549
1516
|
* @fileOverview Kickass library to create and place poppers near their reference elements.
|
1550
|
-
* @version 1.16.
|
1517
|
+
* @version 1.16.1
|
1551
1518
|
* @license
|
1552
1519
|
* Copyright (c) 2016 Federico Zivolo and contributors
|
1553
1520
|
*
|
@@ -1893,7 +1860,7 @@
|
|
1893
1860
|
var sideA = axis === 'x' ? 'Left' : 'Top';
|
1894
1861
|
var sideB = sideA === 'Left' ? 'Right' : 'Bottom';
|
1895
1862
|
|
1896
|
-
return parseFloat(styles['border' + sideA + 'Width']
|
1863
|
+
return parseFloat(styles['border' + sideA + 'Width']) + parseFloat(styles['border' + sideB + 'Width']);
|
1897
1864
|
}
|
1898
1865
|
|
1899
1866
|
function getSize(axis, body, html, computedStyle) {
|
@@ -1954,7 +1921,7 @@
|
|
1954
1921
|
return obj;
|
1955
1922
|
};
|
1956
1923
|
|
1957
|
-
var _extends = Object.assign || function (target) {
|
1924
|
+
var _extends$1 = Object.assign || function (target) {
|
1958
1925
|
for (var i = 1; i < arguments.length; i++) {
|
1959
1926
|
var source = arguments[i];
|
1960
1927
|
|
@@ -1976,7 +1943,7 @@
|
|
1976
1943
|
* @returns {Object} ClientRect like output
|
1977
1944
|
*/
|
1978
1945
|
function getClientRect(offsets) {
|
1979
|
-
return _extends({}, offsets, {
|
1946
|
+
return _extends$1({}, offsets, {
|
1980
1947
|
right: offsets.left + offsets.width,
|
1981
1948
|
bottom: offsets.top + offsets.height
|
1982
1949
|
});
|
@@ -2048,8 +2015,8 @@
|
|
2048
2015
|
var scrollParent = getScrollParent(children);
|
2049
2016
|
|
2050
2017
|
var styles = getStyleComputedProperty(parent);
|
2051
|
-
var borderTopWidth = parseFloat(styles.borderTopWidth
|
2052
|
-
var borderLeftWidth = parseFloat(styles.borderLeftWidth
|
2018
|
+
var borderTopWidth = parseFloat(styles.borderTopWidth);
|
2019
|
+
var borderLeftWidth = parseFloat(styles.borderLeftWidth);
|
2053
2020
|
|
2054
2021
|
// In cases where the parent is fixed, we must ignore negative scroll in offset calc
|
2055
2022
|
if (fixedPosition && isHTML) {
|
@@ -2070,8 +2037,8 @@
|
|
2070
2037
|
// differently when margins are applied to it. The margins are included in
|
2071
2038
|
// the box of the documentElement, in the other cases not.
|
2072
2039
|
if (!isIE10 && isHTML) {
|
2073
|
-
var marginTop = parseFloat(styles.marginTop
|
2074
|
-
var marginLeft = parseFloat(styles.marginLeft
|
2040
|
+
var marginTop = parseFloat(styles.marginTop);
|
2041
|
+
var marginLeft = parseFloat(styles.marginLeft);
|
2075
2042
|
|
2076
2043
|
offsets.top -= borderTopWidth - marginTop;
|
2077
2044
|
offsets.bottom -= borderTopWidth - marginTop;
|
@@ -2264,7 +2231,7 @@
|
|
2264
2231
|
};
|
2265
2232
|
|
2266
2233
|
var sortedAreas = Object.keys(rects).map(function (key) {
|
2267
|
-
return _extends({
|
2234
|
+
return _extends$1({
|
2268
2235
|
key: key
|
2269
2236
|
}, rects[key], {
|
2270
2237
|
area: getArea(rects[key])
|
@@ -2906,9 +2873,9 @@
|
|
2906
2873
|
};
|
2907
2874
|
|
2908
2875
|
// Update `data` attributes, styles and arrowStyles
|
2909
|
-
data.attributes = _extends({}, attributes, data.attributes);
|
2910
|
-
data.styles = _extends({}, styles, data.styles);
|
2911
|
-
data.arrowStyles = _extends({}, data.offsets.arrow, data.arrowStyles);
|
2876
|
+
data.attributes = _extends$1({}, attributes, data.attributes);
|
2877
|
+
data.styles = _extends$1({}, styles, data.styles);
|
2878
|
+
data.arrowStyles = _extends$1({}, data.offsets.arrow, data.arrowStyles);
|
2912
2879
|
|
2913
2880
|
return data;
|
2914
2881
|
}
|
@@ -3010,8 +2977,8 @@
|
|
3010
2977
|
// Compute the sideValue using the updated popper offsets
|
3011
2978
|
// take popper margin in account because we don't have this info available
|
3012
2979
|
var css = getStyleComputedProperty(data.instance.popper);
|
3013
|
-
var popperMarginSide = parseFloat(css['margin' + sideCapitalized]
|
3014
|
-
var popperBorderSide = parseFloat(css['border' + sideCapitalized + 'Width']
|
2980
|
+
var popperMarginSide = parseFloat(css['margin' + sideCapitalized]);
|
2981
|
+
var popperBorderSide = parseFloat(css['border' + sideCapitalized + 'Width']);
|
3015
2982
|
var sideValue = center - data.offsets.popper[side] - popperMarginSide - popperBorderSide;
|
3016
2983
|
|
3017
2984
|
// prevent arrowElement from being placed not contiguously to its popper
|
@@ -3188,7 +3155,7 @@
|
|
3188
3155
|
|
3189
3156
|
// this object contains `position`, we want to preserve it along with
|
3190
3157
|
// any additional property we may add in the future
|
3191
|
-
data.offsets.popper = _extends({}, data.offsets.popper, getPopperOffsets(data.instance.popper, data.offsets.reference, data.placement));
|
3158
|
+
data.offsets.popper = _extends$1({}, data.offsets.popper, getPopperOffsets(data.instance.popper, data.offsets.reference, data.placement));
|
3192
3159
|
|
3193
3160
|
data = runModifiers(data.instance.modifiers, data, 'flip');
|
3194
3161
|
}
|
@@ -3462,7 +3429,7 @@
|
|
3462
3429
|
|
3463
3430
|
order.forEach(function (placement) {
|
3464
3431
|
var side = ['left', 'top'].indexOf(placement) !== -1 ? 'primary' : 'secondary';
|
3465
|
-
popper = _extends({}, popper, check[side](placement));
|
3432
|
+
popper = _extends$1({}, popper, check[side](placement));
|
3466
3433
|
});
|
3467
3434
|
|
3468
3435
|
data.offsets.popper = popper;
|
@@ -3497,7 +3464,7 @@
|
|
3497
3464
|
end: defineProperty({}, side, reference[side] + reference[measurement] - popper[measurement])
|
3498
3465
|
};
|
3499
3466
|
|
3500
|
-
data.offsets.popper = _extends({}, popper, shiftOffsets[shiftvariation]);
|
3467
|
+
data.offsets.popper = _extends$1({}, popper, shiftOffsets[shiftvariation]);
|
3501
3468
|
}
|
3502
3469
|
|
3503
3470
|
return data;
|
@@ -4029,7 +3996,7 @@
|
|
4029
3996
|
this.update = debounce(this.update.bind(this));
|
4030
3997
|
|
4031
3998
|
// with {} we create a new object with the options inside it
|
4032
|
-
this.options = _extends({}, Popper.Defaults, options);
|
3999
|
+
this.options = _extends$1({}, Popper.Defaults, options);
|
4033
4000
|
|
4034
4001
|
// init state
|
4035
4002
|
this.state = {
|
@@ -4044,13 +4011,13 @@
|
|
4044
4011
|
|
4045
4012
|
// Deep merge modifiers options
|
4046
4013
|
this.options.modifiers = {};
|
4047
|
-
Object.keys(_extends({}, Popper.Defaults.modifiers, options.modifiers)).forEach(function (name) {
|
4048
|
-
_this.options.modifiers[name] = _extends({}, Popper.Defaults.modifiers[name] || {}, options.modifiers ? options.modifiers[name] : {});
|
4014
|
+
Object.keys(_extends$1({}, Popper.Defaults.modifiers, options.modifiers)).forEach(function (name) {
|
4015
|
+
_this.options.modifiers[name] = _extends$1({}, Popper.Defaults.modifiers[name] || {}, options.modifiers ? options.modifiers[name] : {});
|
4049
4016
|
});
|
4050
4017
|
|
4051
4018
|
// Refactoring modifiers' list (Object => Array)
|
4052
4019
|
this.modifiers = Object.keys(this.options.modifiers).map(function (name) {
|
4053
|
-
return _extends({
|
4020
|
+
return _extends$1({
|
4054
4021
|
name: name
|
4055
4022
|
}, _this.options.modifiers[name]);
|
4056
4023
|
})
|
@@ -4166,7 +4133,7 @@
|
|
4166
4133
|
*/
|
4167
4134
|
|
4168
4135
|
var NAME$4 = 'dropdown';
|
4169
|
-
var VERSION$4 = '4.5.
|
4136
|
+
var VERSION$4 = '4.5.2';
|
4170
4137
|
var DATA_KEY$4 = 'bs.dropdown';
|
4171
4138
|
var EVENT_KEY$4 = "." + DATA_KEY$4;
|
4172
4139
|
var DATA_API_KEY$4 = '.data-api';
|
@@ -4393,7 +4360,7 @@
|
|
4393
4360
|
};
|
4394
4361
|
|
4395
4362
|
_proto._getConfig = function _getConfig(config) {
|
4396
|
-
config =
|
4363
|
+
config = _extends({}, this.constructor.Default, $(this._element).data(), config);
|
4397
4364
|
Util.typeCheckConfig(NAME$4, config, this.constructor.DefaultType);
|
4398
4365
|
return config;
|
4399
4366
|
};
|
@@ -4438,7 +4405,7 @@
|
|
4438
4405
|
|
4439
4406
|
if (typeof this._config.offset === 'function') {
|
4440
4407
|
offset.fn = function (data) {
|
4441
|
-
data.offsets =
|
4408
|
+
data.offsets = _extends({}, data.offsets, _this2._config.offset(data.offsets, _this2._element) || {});
|
4442
4409
|
return data;
|
4443
4410
|
};
|
4444
4411
|
} else {
|
@@ -4468,7 +4435,7 @@
|
|
4468
4435
|
};
|
4469
4436
|
}
|
4470
4437
|
|
4471
|
-
return
|
4438
|
+
return _extends({}, popperConfig, this._config.popperConfig);
|
4472
4439
|
} // Static
|
4473
4440
|
;
|
4474
4441
|
|
@@ -4680,7 +4647,7 @@
|
|
4680
4647
|
*/
|
4681
4648
|
|
4682
4649
|
var NAME$5 = 'modal';
|
4683
|
-
var VERSION$5 = '4.5.
|
4650
|
+
var VERSION$5 = '4.5.2';
|
4684
4651
|
var DATA_KEY$5 = 'bs.modal';
|
4685
4652
|
var EVENT_KEY$5 = "." + DATA_KEY$5;
|
4686
4653
|
var DATA_API_KEY$5 = '.data-api';
|
@@ -4872,7 +4839,7 @@
|
|
4872
4839
|
;
|
4873
4840
|
|
4874
4841
|
_proto._getConfig = function _getConfig(config) {
|
4875
|
-
config =
|
4842
|
+
config = _extends({}, Default$3, config);
|
4876
4843
|
Util.typeCheckConfig(NAME$5, config, DefaultType$3);
|
4877
4844
|
return config;
|
4878
4845
|
};
|
@@ -4888,11 +4855,24 @@
|
|
4888
4855
|
return;
|
4889
4856
|
}
|
4890
4857
|
|
4858
|
+
var isModalOverflowing = this._element.scrollHeight > document.documentElement.clientHeight;
|
4859
|
+
|
4860
|
+
if (!isModalOverflowing) {
|
4861
|
+
this._element.style.overflowY = 'hidden';
|
4862
|
+
}
|
4863
|
+
|
4891
4864
|
this._element.classList.add(CLASS_NAME_STATIC);
|
4892
4865
|
|
4893
|
-
var modalTransitionDuration = Util.getTransitionDurationFromElement(this.
|
4866
|
+
var modalTransitionDuration = Util.getTransitionDurationFromElement(this._dialog);
|
4867
|
+
$(this._element).off(Util.TRANSITION_END);
|
4894
4868
|
$(this._element).one(Util.TRANSITION_END, function () {
|
4895
4869
|
_this3._element.classList.remove(CLASS_NAME_STATIC);
|
4870
|
+
|
4871
|
+
if (!isModalOverflowing) {
|
4872
|
+
$(_this3._element).one(Util.TRANSITION_END, function () {
|
4873
|
+
_this3._element.style.overflowY = '';
|
4874
|
+
}).emulateTransitionEnd(_this3._element, modalTransitionDuration);
|
4875
|
+
}
|
4896
4876
|
}).emulateTransitionEnd(modalTransitionDuration);
|
4897
4877
|
|
4898
4878
|
this._element.focus();
|
@@ -4918,6 +4898,8 @@
|
|
4918
4898
|
|
4919
4899
|
this._element.setAttribute('aria-modal', true);
|
4920
4900
|
|
4901
|
+
this._element.setAttribute('role', 'dialog');
|
4902
|
+
|
4921
4903
|
if ($(this._dialog).hasClass(CLASS_NAME_SCROLLABLE) && modalBody) {
|
4922
4904
|
modalBody.scrollTop = 0;
|
4923
4905
|
} else {
|
@@ -5005,6 +4987,8 @@
|
|
5005
4987
|
|
5006
4988
|
this._element.removeAttribute('aria-modal');
|
5007
4989
|
|
4990
|
+
this._element.removeAttribute('role');
|
4991
|
+
|
5008
4992
|
this._isTransitioning = false;
|
5009
4993
|
|
5010
4994
|
this._showBackdrop(function () {
|
@@ -5186,7 +5170,7 @@
|
|
5186
5170
|
return this.each(function () {
|
5187
5171
|
var data = $(this).data(DATA_KEY$5);
|
5188
5172
|
|
5189
|
-
var _config =
|
5173
|
+
var _config = _extends({}, Default$3, $(this).data(), typeof config === 'object' && config ? config : {});
|
5190
5174
|
|
5191
5175
|
if (!data) {
|
5192
5176
|
data = new Modal(this, _config);
|
@@ -5236,7 +5220,7 @@
|
|
5236
5220
|
target = document.querySelector(selector);
|
5237
5221
|
}
|
5238
5222
|
|
5239
|
-
var config = $(target).data(DATA_KEY$5) ? 'toggle' :
|
5223
|
+
var config = $(target).data(DATA_KEY$5) ? 'toggle' : _extends({}, $(target).data(), $(this).data());
|
5240
5224
|
|
5241
5225
|
if (this.tagName === 'A' || this.tagName === 'AREA') {
|
5242
5226
|
event.preventDefault();
|
@@ -5273,8 +5257,8 @@
|
|
5273
5257
|
|
5274
5258
|
/**
|
5275
5259
|
* --------------------------------------------------------------------------
|
5276
|
-
* Bootstrap (v4.5.
|
5277
|
-
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/
|
5260
|
+
* Bootstrap (v4.5.2): tools/sanitizer.js
|
5261
|
+
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
5278
5262
|
* --------------------------------------------------------------------------
|
5279
5263
|
*/
|
5280
5264
|
var uriAttrs = ['background', 'cite', 'href', 'itemtype', 'longdesc', 'poster', 'src', 'xlink:href'];
|
@@ -5399,7 +5383,7 @@
|
|
5399
5383
|
*/
|
5400
5384
|
|
5401
5385
|
var NAME$6 = 'tooltip';
|
5402
|
-
var VERSION$6 = '4.5.
|
5386
|
+
var VERSION$6 = '4.5.2';
|
5403
5387
|
var DATA_KEY$6 = 'bs.tooltip';
|
5404
5388
|
var EVENT_KEY$6 = "." + DATA_KEY$6;
|
5405
5389
|
var JQUERY_NO_CONFLICT$6 = $.fn[NAME$6];
|
@@ -5787,7 +5771,7 @@
|
|
5787
5771
|
return _this3._handlePopperPlacementChange(data);
|
5788
5772
|
}
|
5789
5773
|
};
|
5790
|
-
return
|
5774
|
+
return _extends({}, defaultBsConfig, this.config.popperConfig);
|
5791
5775
|
};
|
5792
5776
|
|
5793
5777
|
_proto._getOffset = function _getOffset() {
|
@@ -5797,7 +5781,7 @@
|
|
5797
5781
|
|
5798
5782
|
if (typeof this.config.offset === 'function') {
|
5799
5783
|
offset.fn = function (data) {
|
5800
|
-
data.offsets =
|
5784
|
+
data.offsets = _extends({}, data.offsets, _this4.config.offset(data.offsets, _this4.element) || {});
|
5801
5785
|
return data;
|
5802
5786
|
};
|
5803
5787
|
} else {
|
@@ -5852,7 +5836,7 @@
|
|
5852
5836
|
$(this.element).closest('.modal').on('hide.bs.modal', this._hideModalHandler);
|
5853
5837
|
|
5854
5838
|
if (this.config.selector) {
|
5855
|
-
this.config =
|
5839
|
+
this.config = _extends({}, this.config, {
|
5856
5840
|
trigger: 'manual',
|
5857
5841
|
selector: ''
|
5858
5842
|
});
|
@@ -5952,7 +5936,7 @@
|
|
5952
5936
|
delete dataAttributes[dataAttr];
|
5953
5937
|
}
|
5954
5938
|
});
|
5955
|
-
config =
|
5939
|
+
config = _extends({}, this.constructor.Default, dataAttributes, typeof config === 'object' && config ? config : {});
|
5956
5940
|
|
5957
5941
|
if (typeof config.delay === 'number') {
|
5958
5942
|
config.delay = {
|
@@ -6111,21 +6095,21 @@
|
|
6111
6095
|
*/
|
6112
6096
|
|
6113
6097
|
var NAME$7 = 'popover';
|
6114
|
-
var VERSION$7 = '4.5.
|
6098
|
+
var VERSION$7 = '4.5.2';
|
6115
6099
|
var DATA_KEY$7 = 'bs.popover';
|
6116
6100
|
var EVENT_KEY$7 = "." + DATA_KEY$7;
|
6117
6101
|
var JQUERY_NO_CONFLICT$7 = $.fn[NAME$7];
|
6118
6102
|
var CLASS_PREFIX$1 = 'bs-popover';
|
6119
6103
|
var BSCLS_PREFIX_REGEX$1 = new RegExp("(^|\\s)" + CLASS_PREFIX$1 + "\\S+", 'g');
|
6120
6104
|
|
6121
|
-
var Default$5 =
|
6105
|
+
var Default$5 = _extends({}, Tooltip.Default, {
|
6122
6106
|
placement: 'right',
|
6123
6107
|
trigger: 'click',
|
6124
6108
|
content: '',
|
6125
6109
|
template: '<div class="popover" role="tooltip">' + '<div class="arrow"></div>' + '<h3 class="popover-header"></h3>' + '<div class="popover-body"></div></div>'
|
6126
6110
|
});
|
6127
6111
|
|
6128
|
-
var DefaultType$5 =
|
6112
|
+
var DefaultType$5 = _extends({}, Tooltip.DefaultType, {
|
6129
6113
|
content: '(string|element|function)'
|
6130
6114
|
});
|
6131
6115
|
|
@@ -6291,7 +6275,7 @@
|
|
6291
6275
|
*/
|
6292
6276
|
|
6293
6277
|
var NAME$8 = 'scrollspy';
|
6294
|
-
var VERSION$8 = '4.5.
|
6278
|
+
var VERSION$8 = '4.5.2';
|
6295
6279
|
var DATA_KEY$8 = 'bs.scrollspy';
|
6296
6280
|
var EVENT_KEY$8 = "." + DATA_KEY$8;
|
6297
6281
|
var DATA_API_KEY$6 = '.data-api';
|
@@ -6405,7 +6389,7 @@
|
|
6405
6389
|
;
|
6406
6390
|
|
6407
6391
|
_proto._getConfig = function _getConfig(config) {
|
6408
|
-
config =
|
6392
|
+
config = _extends({}, Default$6, typeof config === 'object' && config ? config : {});
|
6409
6393
|
|
6410
6394
|
if (typeof config.target !== 'string' && Util.isElement(config.target)) {
|
6411
6395
|
var id = $(config.target).attr('id');
|
@@ -6583,7 +6567,7 @@
|
|
6583
6567
|
*/
|
6584
6568
|
|
6585
6569
|
var NAME$9 = 'tab';
|
6586
|
-
var VERSION$9 = '4.5.
|
6570
|
+
var VERSION$9 = '4.5.2';
|
6587
6571
|
var DATA_KEY$9 = 'bs.tab';
|
6588
6572
|
var EVENT_KEY$9 = "." + DATA_KEY$9;
|
6589
6573
|
var DATA_API_KEY$7 = '.data-api';
|
@@ -6809,7 +6793,7 @@
|
|
6809
6793
|
*/
|
6810
6794
|
|
6811
6795
|
var NAME$a = 'toast';
|
6812
|
-
var VERSION$a = '4.5.
|
6796
|
+
var VERSION$a = '4.5.2';
|
6813
6797
|
var DATA_KEY$a = 'bs.toast';
|
6814
6798
|
var EVENT_KEY$a = "." + DATA_KEY$a;
|
6815
6799
|
var JQUERY_NO_CONFLICT$a = $.fn[NAME$a];
|
@@ -6862,6 +6846,8 @@
|
|
6862
6846
|
return;
|
6863
6847
|
}
|
6864
6848
|
|
6849
|
+
this._clearTimeout();
|
6850
|
+
|
6865
6851
|
if (this._config.animation) {
|
6866
6852
|
this._element.classList.add(CLASS_NAME_FADE$5);
|
6867
6853
|
}
|
@@ -6910,8 +6896,7 @@
|
|
6910
6896
|
};
|
6911
6897
|
|
6912
6898
|
_proto.dispose = function dispose() {
|
6913
|
-
|
6914
|
-
this._timeout = null;
|
6899
|
+
this._clearTimeout();
|
6915
6900
|
|
6916
6901
|
if (this._element.classList.contains(CLASS_NAME_SHOW$7)) {
|
6917
6902
|
this._element.classList.remove(CLASS_NAME_SHOW$7);
|
@@ -6925,7 +6910,7 @@
|
|
6925
6910
|
;
|
6926
6911
|
|
6927
6912
|
_proto._getConfig = function _getConfig(config) {
|
6928
|
-
config =
|
6913
|
+
config = _extends({}, Default$7, $(this._element).data(), typeof config === 'object' && config ? config : {});
|
6929
6914
|
Util.typeCheckConfig(NAME$a, config, this.constructor.DefaultType);
|
6930
6915
|
return config;
|
6931
6916
|
};
|
@@ -6955,6 +6940,11 @@
|
|
6955
6940
|
} else {
|
6956
6941
|
complete();
|
6957
6942
|
}
|
6943
|
+
};
|
6944
|
+
|
6945
|
+
_proto._clearTimeout = function _clearTimeout() {
|
6946
|
+
clearTimeout(this._timeout);
|
6947
|
+
this._timeout = null;
|
6958
6948
|
} // Static
|
6959
6949
|
;
|
6960
6950
|
|