paraqeet 0.10.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_config.yml +4 -0
- data/_layouts/default.html +1 -1
- data/_sass/bootstrap/_navbar.scss +2 -1
- data/_sass/bootstrap/_reboot.scss +1 -1
- data/_sass/bootstrap/_root.scss +2 -6
- data/_sass/bootstrap/_tables.scss +17 -10
- data/_sass/bootstrap/_variables-dark.scss +1 -1
- data/_sass/bootstrap/_variables.scss +2 -2
- data/_sass/bootstrap/forms/_floating-labels.scss +1 -0
- data/_sass/bootstrap/helpers/_color-bg.scss +0 -2
- data/_sass/bootstrap/helpers/_colored-links.scss +8 -10
- data/_sass/bootstrap/mixins/_banner.scss +1 -1
- data/_sass/bootstrap/tests/mixins/_utilities.test.scss +1 -1
- data/assets/js/bootstrap.bundle.js +55 -44
- data/assets/js/bootstrap.bundle.js.map +1 -1
- data/assets/js/bootstrap.bundle.min.js +2 -2
- data/assets/js/bootstrap.bundle.min.js.map +1 -1
- data/assets/js/bootstrap.esm.js +48 -32
- data/assets/js/bootstrap.esm.js.map +1 -1
- data/assets/js/bootstrap.esm.min.js +2 -2
- data/assets/js/bootstrap.esm.min.js.map +1 -1
- data/assets/js/bootstrap.js +49 -32
- data/assets/js/bootstrap.js.map +1 -1
- data/assets/js/bootstrap.min.js +2 -2
- data/assets/js/bootstrap.min.js.map +1 -1
- metadata +2 -3
- data/assets/js/script.js +0 -5
data/assets/js/bootstrap.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Bootstrap v5.3.0
|
2
|
+
* Bootstrap v5.3.0 (https://getbootstrap.com/)
|
3
3
|
* Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
4
4
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
5
5
|
*/
|
@@ -330,6 +330,7 @@
|
|
330
330
|
* --------------------------------------------------------------------------
|
331
331
|
*/
|
332
332
|
|
333
|
+
|
333
334
|
/**
|
334
335
|
* Constants
|
335
336
|
*/
|
@@ -608,6 +609,7 @@
|
|
608
609
|
* --------------------------------------------------------------------------
|
609
610
|
*/
|
610
611
|
|
612
|
+
|
611
613
|
/**
|
612
614
|
* Class definition
|
613
615
|
*/
|
@@ -660,11 +662,12 @@
|
|
660
662
|
* --------------------------------------------------------------------------
|
661
663
|
*/
|
662
664
|
|
665
|
+
|
663
666
|
/**
|
664
667
|
* Constants
|
665
668
|
*/
|
666
669
|
|
667
|
-
const VERSION = '5.3.0
|
670
|
+
const VERSION = '5.3.0';
|
668
671
|
|
669
672
|
/**
|
670
673
|
* Class definition
|
@@ -727,6 +730,7 @@
|
|
727
730
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
728
731
|
* --------------------------------------------------------------------------
|
729
732
|
*/
|
733
|
+
|
730
734
|
const getSelector = element => {
|
731
735
|
let selector = element.getAttribute('data-bs-target');
|
732
736
|
if (!selector || selector === '#') {
|
@@ -815,6 +819,7 @@
|
|
815
819
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
816
820
|
* --------------------------------------------------------------------------
|
817
821
|
*/
|
822
|
+
|
818
823
|
const enableDismissTrigger = (component, method = 'hide') => {
|
819
824
|
const clickEvent = `click.dismiss${component.EVENT_KEY}`;
|
820
825
|
const name = component.NAME;
|
@@ -840,6 +845,7 @@
|
|
840
845
|
* --------------------------------------------------------------------------
|
841
846
|
*/
|
842
847
|
|
848
|
+
|
843
849
|
/**
|
844
850
|
* Constants
|
845
851
|
*/
|
@@ -914,6 +920,7 @@
|
|
914
920
|
* --------------------------------------------------------------------------
|
915
921
|
*/
|
916
922
|
|
923
|
+
|
917
924
|
/**
|
918
925
|
* Constants
|
919
926
|
*/
|
@@ -977,6 +984,7 @@
|
|
977
984
|
* --------------------------------------------------------------------------
|
978
985
|
*/
|
979
986
|
|
987
|
+
|
980
988
|
/**
|
981
989
|
* Constants
|
982
990
|
*/
|
@@ -1096,6 +1104,7 @@
|
|
1096
1104
|
* --------------------------------------------------------------------------
|
1097
1105
|
*/
|
1098
1106
|
|
1107
|
+
|
1099
1108
|
/**
|
1100
1109
|
* Constants
|
1101
1110
|
*/
|
@@ -1468,6 +1477,7 @@
|
|
1468
1477
|
* --------------------------------------------------------------------------
|
1469
1478
|
*/
|
1470
1479
|
|
1480
|
+
|
1471
1481
|
/**
|
1472
1482
|
* Constants
|
1473
1483
|
*/
|
@@ -1701,6 +1711,7 @@
|
|
1701
1711
|
* --------------------------------------------------------------------------
|
1702
1712
|
*/
|
1703
1713
|
|
1714
|
+
|
1704
1715
|
/**
|
1705
1716
|
* Constants
|
1706
1717
|
*/
|
@@ -2068,6 +2079,7 @@
|
|
2068
2079
|
* --------------------------------------------------------------------------
|
2069
2080
|
*/
|
2070
2081
|
|
2082
|
+
|
2071
2083
|
/**
|
2072
2084
|
* Constants
|
2073
2085
|
*/
|
@@ -2192,6 +2204,7 @@
|
|
2192
2204
|
* --------------------------------------------------------------------------
|
2193
2205
|
*/
|
2194
2206
|
|
2207
|
+
|
2195
2208
|
/**
|
2196
2209
|
* Constants
|
2197
2210
|
*/
|
@@ -2290,6 +2303,7 @@
|
|
2290
2303
|
* --------------------------------------------------------------------------
|
2291
2304
|
*/
|
2292
2305
|
|
2306
|
+
|
2293
2307
|
/**
|
2294
2308
|
* Constants
|
2295
2309
|
*/
|
@@ -2387,6 +2401,7 @@
|
|
2387
2401
|
* --------------------------------------------------------------------------
|
2388
2402
|
*/
|
2389
2403
|
|
2404
|
+
|
2390
2405
|
/**
|
2391
2406
|
* Constants
|
2392
2407
|
*/
|
@@ -2691,6 +2706,7 @@
|
|
2691
2706
|
* --------------------------------------------------------------------------
|
2692
2707
|
*/
|
2693
2708
|
|
2709
|
+
|
2694
2710
|
/**
|
2695
2711
|
* Constants
|
2696
2712
|
*/
|
@@ -2921,34 +2937,6 @@
|
|
2921
2937
|
* --------------------------------------------------------------------------
|
2922
2938
|
*/
|
2923
2939
|
|
2924
|
-
const uriAttributes = new Set(['background', 'cite', 'href', 'itemtype', 'longdesc', 'poster', 'src', 'xlink:href']);
|
2925
|
-
|
2926
|
-
/**
|
2927
|
-
* A pattern that recognizes a commonly useful subset of URLs that are safe.
|
2928
|
-
*
|
2929
|
-
* Shout-out to Angular https://github.com/angular/angular/blob/12.2.x/packages/core/src/sanitization/url_sanitizer.ts
|
2930
|
-
*/
|
2931
|
-
const SAFE_URL_PATTERN = /^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i;
|
2932
|
-
|
2933
|
-
/**
|
2934
|
-
* A pattern that matches safe data URLs. Only matches image, video and audio types.
|
2935
|
-
*
|
2936
|
-
* Shout-out to Angular https://github.com/angular/angular/blob/12.2.x/packages/core/src/sanitization/url_sanitizer.ts
|
2937
|
-
*/
|
2938
|
-
const DATA_URL_PATTERN = /^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i;
|
2939
|
-
const allowedAttribute = (attribute, allowedAttributeList) => {
|
2940
|
-
const attributeName = attribute.nodeName.toLowerCase();
|
2941
|
-
if (allowedAttributeList.includes(attributeName)) {
|
2942
|
-
if (uriAttributes.has(attributeName)) {
|
2943
|
-
return Boolean(SAFE_URL_PATTERN.test(attribute.nodeValue) || DATA_URL_PATTERN.test(attribute.nodeValue));
|
2944
|
-
}
|
2945
|
-
return true;
|
2946
|
-
}
|
2947
|
-
|
2948
|
-
// Check if a regular expression validates the attribute.
|
2949
|
-
return allowedAttributeList.filter(attributeRegex => attributeRegex instanceof RegExp).some(regex => regex.test(attributeName));
|
2950
|
-
};
|
2951
|
-
|
2952
2940
|
// js-docs-start allow-list
|
2953
2941
|
const ARIA_ATTRIBUTE_PATTERN = /^aria-[\w-]*$/i;
|
2954
2942
|
const DefaultAllowlist = {
|
@@ -2986,6 +2974,28 @@
|
|
2986
2974
|
};
|
2987
2975
|
// js-docs-end allow-list
|
2988
2976
|
|
2977
|
+
const uriAttributes = new Set(['background', 'cite', 'href', 'itemtype', 'longdesc', 'poster', 'src', 'xlink:href']);
|
2978
|
+
|
2979
|
+
/**
|
2980
|
+
* A pattern that recognizes URLs that are safe wrt. XSS in URL navigation
|
2981
|
+
* contexts.
|
2982
|
+
*
|
2983
|
+
* Shout-out to Angular https://github.com/angular/angular/blob/15.2.8/packages/core/src/sanitization/url_sanitizer.ts#L38
|
2984
|
+
*/
|
2985
|
+
// eslint-disable-next-line unicorn/better-regex
|
2986
|
+
const SAFE_URL_PATTERN = /^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i;
|
2987
|
+
const allowedAttribute = (attribute, allowedAttributeList) => {
|
2988
|
+
const attributeName = attribute.nodeName.toLowerCase();
|
2989
|
+
if (allowedAttributeList.includes(attributeName)) {
|
2990
|
+
if (uriAttributes.has(attributeName)) {
|
2991
|
+
return Boolean(SAFE_URL_PATTERN.test(attribute.nodeValue));
|
2992
|
+
}
|
2993
|
+
return true;
|
2994
|
+
}
|
2995
|
+
|
2996
|
+
// Check if a regular expression validates the attribute.
|
2997
|
+
return allowedAttributeList.filter(attributeRegex => attributeRegex instanceof RegExp).some(regex => regex.test(attributeName));
|
2998
|
+
};
|
2989
2999
|
function sanitizeHtml(unsafeHtml, allowList, sanitizeFunction) {
|
2990
3000
|
if (!unsafeHtml.length) {
|
2991
3001
|
return unsafeHtml;
|
@@ -3020,6 +3030,7 @@
|
|
3020
3030
|
* --------------------------------------------------------------------------
|
3021
3031
|
*/
|
3022
3032
|
|
3033
|
+
|
3023
3034
|
/**
|
3024
3035
|
* Constants
|
3025
3036
|
*/
|
@@ -3155,6 +3166,7 @@
|
|
3155
3166
|
* --------------------------------------------------------------------------
|
3156
3167
|
*/
|
3157
3168
|
|
3169
|
+
|
3158
3170
|
/**
|
3159
3171
|
* Constants
|
3160
3172
|
*/
|
@@ -3666,6 +3678,7 @@
|
|
3666
3678
|
* --------------------------------------------------------------------------
|
3667
3679
|
*/
|
3668
3680
|
|
3681
|
+
|
3669
3682
|
/**
|
3670
3683
|
* Constants
|
3671
3684
|
*/
|
@@ -3746,6 +3759,7 @@
|
|
3746
3759
|
* --------------------------------------------------------------------------
|
3747
3760
|
*/
|
3748
3761
|
|
3762
|
+
|
3749
3763
|
/**
|
3750
3764
|
* Constants
|
3751
3765
|
*/
|
@@ -3924,11 +3938,11 @@
|
|
3924
3938
|
if (!anchor.hash || isDisabled(anchor)) {
|
3925
3939
|
continue;
|
3926
3940
|
}
|
3927
|
-
const observableSection = SelectorEngine.findOne(anchor.hash, this._element);
|
3941
|
+
const observableSection = SelectorEngine.findOne(decodeURI(anchor.hash), this._element);
|
3928
3942
|
|
3929
3943
|
// ensure that the observableSection exists & is visible
|
3930
3944
|
if (isVisible(observableSection)) {
|
3931
|
-
this._targetLinks.set(anchor.hash, anchor);
|
3945
|
+
this._targetLinks.set(decodeURI(anchor.hash), anchor);
|
3932
3946
|
this._observableSections.set(anchor.hash, observableSection);
|
3933
3947
|
}
|
3934
3948
|
}
|
@@ -4005,6 +4019,7 @@
|
|
4005
4019
|
* --------------------------------------------------------------------------
|
4006
4020
|
*/
|
4007
4021
|
|
4022
|
+
|
4008
4023
|
/**
|
4009
4024
|
* Constants
|
4010
4025
|
*/
|
@@ -4266,6 +4281,7 @@
|
|
4266
4281
|
* --------------------------------------------------------------------------
|
4267
4282
|
*/
|
4268
4283
|
|
4284
|
+
|
4269
4285
|
/**
|
4270
4286
|
* Constants
|
4271
4287
|
*/
|
@@ -4448,6 +4464,7 @@
|
|
4448
4464
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
4449
4465
|
* --------------------------------------------------------------------------
|
4450
4466
|
*/
|
4467
|
+
|
4451
4468
|
const index_umd = {
|
4452
4469
|
Alert,
|
4453
4470
|
Button,
|