sweetalert2 11.26.1 → 11.26.2
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.
- package/dist/sweetalert2.all.js +57 -57
- package/dist/sweetalert2.all.min.js +2 -2
- package/dist/sweetalert2.esm.all.js +57 -57
- package/dist/sweetalert2.esm.all.min.js +2 -2
- package/dist/sweetalert2.esm.js +57 -57
- package/dist/sweetalert2.esm.min.js +2 -2
- package/dist/sweetalert2.js +57 -57
- package/dist/sweetalert2.min.js +2 -2
- package/package.json +2 -2
- package/src/SweetAlert.js +6 -6
- package/src/buttons-handlers.js +12 -7
- package/src/instanceMethods/close.js +6 -6
- package/src/keydown-handler.js +3 -3
- package/src/popup-click-handler.js +3 -3
- package/src/types.js +3 -2
- package/src/utils/DismissReason.js +0 -2
- package/src/utils/Timer.js +1 -1
- package/src/utils/dom/domUtils.js +4 -4
- package/src/utils/dom/inputUtils.js +2 -2
- package/src/utils/dom/parseHtmlToContainer.js +2 -2
- package/src/utils/dom/renderers/renderFooter.js +1 -1
- package/src/utils/dom/renderers/renderTitle.js +1 -1
- package/src/utils/getTemplateParams.js +11 -11
- package/src/utils/iosFix.js +1 -1
- package/src/utils/utils.js +6 -6
- package/sweetalert2.d.ts +3 -1
package/dist/sweetalert2.all.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* sweetalert2 v11.26.
|
|
2
|
+
* sweetalert2 v11.26.2
|
|
3
3
|
* Released under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
(function (global, factory) {
|
|
@@ -147,25 +147,25 @@
|
|
|
147
147
|
* If `arg` is a function, call it (with no arguments or context) and return the result.
|
|
148
148
|
* Otherwise, just pass the value through
|
|
149
149
|
*
|
|
150
|
-
* @param {
|
|
151
|
-
* @returns {
|
|
150
|
+
* @param {(() => *) | *} arg
|
|
151
|
+
* @returns {*}
|
|
152
152
|
*/
|
|
153
153
|
const callIfFunction = arg => typeof arg === 'function' ? arg() : arg;
|
|
154
154
|
|
|
155
155
|
/**
|
|
156
|
-
* @param {
|
|
156
|
+
* @param {*} arg
|
|
157
157
|
* @returns {boolean}
|
|
158
158
|
*/
|
|
159
159
|
const hasToPromiseFn = arg => arg && typeof arg.toPromise === 'function';
|
|
160
160
|
|
|
161
161
|
/**
|
|
162
|
-
* @param {
|
|
163
|
-
* @returns {Promise
|
|
162
|
+
* @param {*} arg
|
|
163
|
+
* @returns {Promise<*>}
|
|
164
164
|
*/
|
|
165
165
|
const asPromise = arg => hasToPromiseFn(arg) ? arg.toPromise() : Promise.resolve(arg);
|
|
166
166
|
|
|
167
167
|
/**
|
|
168
|
-
* @param {
|
|
168
|
+
* @param {*} arg
|
|
169
169
|
* @returns {boolean}
|
|
170
170
|
*/
|
|
171
171
|
const isPromise = arg => arg && Promise.resolve(arg) === arg;
|
|
@@ -543,13 +543,13 @@
|
|
|
543
543
|
/**
|
|
544
544
|
* @param {HTMLElement} elem
|
|
545
545
|
* @param {string} property
|
|
546
|
-
* @param {
|
|
546
|
+
* @param {string | number | null | undefined} value
|
|
547
547
|
*/
|
|
548
548
|
const applyNumericalStyle = (elem, property, value) => {
|
|
549
|
-
if (value === `${parseInt(value)}`) {
|
|
549
|
+
if (value === `${parseInt(`${value}`)}`) {
|
|
550
550
|
value = parseInt(value);
|
|
551
551
|
}
|
|
552
|
-
if (value || parseInt(value) === 0) {
|
|
552
|
+
if (value || parseInt(`${value}`) === 0) {
|
|
553
553
|
elem.style.setProperty(property, typeof value === 'number' ? `${value}px` : value);
|
|
554
554
|
} else {
|
|
555
555
|
elem.style.removeProperty(property);
|
|
@@ -609,7 +609,7 @@
|
|
|
609
609
|
|
|
610
610
|
/**
|
|
611
611
|
* @param {HTMLElement} elem
|
|
612
|
-
* @param {
|
|
612
|
+
* @param {boolean | string | null | undefined} condition
|
|
613
613
|
* @param {string} display
|
|
614
614
|
*/
|
|
615
615
|
const toggle = (elem, condition, display = 'flex') => {
|
|
@@ -864,7 +864,7 @@
|
|
|
864
864
|
};
|
|
865
865
|
|
|
866
866
|
/**
|
|
867
|
-
* @param {
|
|
867
|
+
* @param {object} param
|
|
868
868
|
* @param {HTMLElement} target
|
|
869
869
|
*/
|
|
870
870
|
const handleObject = (param, target) => {
|
|
@@ -881,7 +881,7 @@
|
|
|
881
881
|
|
|
882
882
|
/**
|
|
883
883
|
* @param {HTMLElement} target
|
|
884
|
-
* @param {
|
|
884
|
+
* @param {object} elem
|
|
885
885
|
*/
|
|
886
886
|
const handleJqueryElem = (target, elem) => {
|
|
887
887
|
target.textContent = '';
|
|
@@ -1432,7 +1432,7 @@
|
|
|
1432
1432
|
return;
|
|
1433
1433
|
}
|
|
1434
1434
|
showWhenInnerHtmlPresent(footer);
|
|
1435
|
-
toggle(footer, params.footer, 'block');
|
|
1435
|
+
toggle(footer, Boolean(params.footer), 'block');
|
|
1436
1436
|
if (params.footer) {
|
|
1437
1437
|
parseHtmlToContainer(params.footer, footer);
|
|
1438
1438
|
}
|
|
@@ -1849,7 +1849,7 @@
|
|
|
1849
1849
|
return;
|
|
1850
1850
|
}
|
|
1851
1851
|
showWhenInnerHtmlPresent(title);
|
|
1852
|
-
toggle(title, params.title || params.titleText, 'block');
|
|
1852
|
+
toggle(title, Boolean(params.title || params.titleText), 'block');
|
|
1853
1853
|
if (params.title) {
|
|
1854
1854
|
parseHtmlToContainer(params.title, title);
|
|
1855
1855
|
}
|
|
@@ -1914,8 +1914,6 @@
|
|
|
1914
1914
|
return (_dom$getCancelButton = getCancelButton()) === null || _dom$getCancelButton === void 0 ? void 0 : _dom$getCancelButton.click();
|
|
1915
1915
|
};
|
|
1916
1916
|
|
|
1917
|
-
/** @typedef {'cancel' | 'backdrop' | 'close' | 'esc' | 'timer'} DismissReason */
|
|
1918
|
-
|
|
1919
1917
|
/** @type {Record<DismissReason, DismissReason>} */
|
|
1920
1918
|
const DismissReason = Object.freeze({
|
|
1921
1919
|
cancel: 'cancel',
|
|
@@ -1940,7 +1938,7 @@
|
|
|
1940
1938
|
/**
|
|
1941
1939
|
* @param {GlobalState} globalState
|
|
1942
1940
|
* @param {SweetAlertOptions} innerParams
|
|
1943
|
-
* @param {
|
|
1941
|
+
* @param {(dismiss: DismissReason) => void} dismissWith
|
|
1944
1942
|
*/
|
|
1945
1943
|
const addKeydownHandler = (globalState, innerParams, dismissWith) => {
|
|
1946
1944
|
removeKeydownHandler(globalState);
|
|
@@ -1991,7 +1989,7 @@
|
|
|
1991
1989
|
/**
|
|
1992
1990
|
* @param {SweetAlertOptions} innerParams
|
|
1993
1991
|
* @param {KeyboardEvent} event
|
|
1994
|
-
* @param {
|
|
1992
|
+
* @param {(dismiss: DismissReason) => void} dismissWith
|
|
1995
1993
|
*/
|
|
1996
1994
|
const keydownHandler = (innerParams, event, dismissWith) => {
|
|
1997
1995
|
if (!innerParams) {
|
|
@@ -2114,7 +2112,7 @@
|
|
|
2114
2112
|
/**
|
|
2115
2113
|
* @param {KeyboardEvent} event
|
|
2116
2114
|
* @param {SweetAlertOptions} innerParams
|
|
2117
|
-
* @param {
|
|
2115
|
+
* @param {(dismiss: DismissReason) => void} dismissWith
|
|
2118
2116
|
*/
|
|
2119
2117
|
const handleEsc = (event, innerParams, dismissWith) => {
|
|
2120
2118
|
event.preventDefault();
|
|
@@ -2245,7 +2243,7 @@
|
|
|
2245
2243
|
/**
|
|
2246
2244
|
* https://github.com/sweetalert2/sweetalert2/issues/1786
|
|
2247
2245
|
*
|
|
2248
|
-
* @param {
|
|
2246
|
+
* @param {object} event
|
|
2249
2247
|
* @returns {boolean}
|
|
2250
2248
|
*/
|
|
2251
2249
|
const isStylus = event => {
|
|
@@ -2318,7 +2316,7 @@
|
|
|
2318
2316
|
* @param {SweetAlert} instance
|
|
2319
2317
|
* @param {HTMLElement} container
|
|
2320
2318
|
* @param {boolean} returnFocus
|
|
2321
|
-
* @param {
|
|
2319
|
+
* @param {() => void} didClose
|
|
2322
2320
|
*/
|
|
2323
2321
|
function removePopupAndResetState(instance, container, returnFocus, didClose) {
|
|
2324
2322
|
if (isToast()) {
|
|
@@ -2355,7 +2353,7 @@
|
|
|
2355
2353
|
/**
|
|
2356
2354
|
* Instance method to close sweetAlert
|
|
2357
2355
|
*
|
|
2358
|
-
* @param {
|
|
2356
|
+
* @param {SweetAlertResult | undefined} resolveValue
|
|
2359
2357
|
*/
|
|
2360
2358
|
function close(resolveValue) {
|
|
2361
2359
|
resolveValue = prepareResolveValue(resolveValue);
|
|
@@ -2391,7 +2389,7 @@
|
|
|
2391
2389
|
};
|
|
2392
2390
|
|
|
2393
2391
|
/**
|
|
2394
|
-
* @param {
|
|
2392
|
+
* @param {Error | string} error
|
|
2395
2393
|
*/
|
|
2396
2394
|
function rejectPromise(error) {
|
|
2397
2395
|
const rejectPromise = privateMethods.swalPromiseReject.get(this);
|
|
@@ -2416,7 +2414,7 @@
|
|
|
2416
2414
|
};
|
|
2417
2415
|
|
|
2418
2416
|
/**
|
|
2419
|
-
* @param {
|
|
2417
|
+
* @param {SweetAlertResult | undefined} resolveValue
|
|
2420
2418
|
* @returns {SweetAlertResult}
|
|
2421
2419
|
*/
|
|
2422
2420
|
const prepareResolveValue = resolveValue => {
|
|
@@ -2462,7 +2460,7 @@
|
|
|
2462
2460
|
* @param {HTMLElement} popup
|
|
2463
2461
|
* @param {HTMLElement} container
|
|
2464
2462
|
* @param {boolean} returnFocus
|
|
2465
|
-
* @param {
|
|
2463
|
+
* @param {() => void} didClose
|
|
2466
2464
|
*/
|
|
2467
2465
|
const animatePopup = (instance, popup, container, returnFocus, didClose) => {
|
|
2468
2466
|
globalState.swalCloseEventFinishedCallback = removePopupAndResetState.bind(null, instance, container, returnFocus, didClose);
|
|
@@ -2484,7 +2482,7 @@
|
|
|
2484
2482
|
|
|
2485
2483
|
/**
|
|
2486
2484
|
* @param {SweetAlert} instance
|
|
2487
|
-
* @param {
|
|
2485
|
+
* @param {() => void} didClose
|
|
2488
2486
|
*/
|
|
2489
2487
|
const triggerDidCloseAndDispose = (instance, didClose) => {
|
|
2490
2488
|
setTimeout(() => {
|
|
@@ -2612,7 +2610,7 @@
|
|
|
2612
2610
|
return;
|
|
2613
2611
|
}
|
|
2614
2612
|
/**
|
|
2615
|
-
* @param {
|
|
2613
|
+
* @param {*} inputOptions
|
|
2616
2614
|
*/
|
|
2617
2615
|
const processInputOptions = inputOptions => {
|
|
2618
2616
|
if (params.input === 'select') {
|
|
@@ -2739,7 +2737,7 @@
|
|
|
2739
2737
|
/**
|
|
2740
2738
|
* Converts `inputOptions` into an array of `[value, label]`s
|
|
2741
2739
|
*
|
|
2742
|
-
* @param {
|
|
2740
|
+
* @param {*} inputOptions
|
|
2743
2741
|
* @typedef {string[]} InputOptionFlattened
|
|
2744
2742
|
* @returns {InputOptionFlattened[]}
|
|
2745
2743
|
*/
|
|
@@ -2805,7 +2803,7 @@
|
|
|
2805
2803
|
|
|
2806
2804
|
/**
|
|
2807
2805
|
* @param {SweetAlert} instance
|
|
2808
|
-
* @param {
|
|
2806
|
+
* @param {(dismiss: DismissReason) => void} dismissWith
|
|
2809
2807
|
*/
|
|
2810
2808
|
const handleCancelButtonClick = (instance, dismissWith) => {
|
|
2811
2809
|
instance.disableButtons();
|
|
@@ -2860,7 +2858,7 @@
|
|
|
2860
2858
|
|
|
2861
2859
|
/**
|
|
2862
2860
|
* @param {SweetAlert} instance
|
|
2863
|
-
* @param {
|
|
2861
|
+
* @param {*} value
|
|
2864
2862
|
*/
|
|
2865
2863
|
const deny = (instance, value) => {
|
|
2866
2864
|
const innerParams = privateProps.innerParams.get(instance || undefined);
|
|
@@ -2875,14 +2873,14 @@
|
|
|
2875
2873
|
instance.hideLoading();
|
|
2876
2874
|
handleAwaitingPromise(instance);
|
|
2877
2875
|
} else {
|
|
2878
|
-
instance.close({
|
|
2876
|
+
instance.close(/** @type SweetAlertResult */{
|
|
2879
2877
|
isDenied: true,
|
|
2880
2878
|
value: typeof preDenyValue === 'undefined' ? value : preDenyValue
|
|
2881
2879
|
});
|
|
2882
2880
|
}
|
|
2883
2881
|
}).catch(error => rejectWith(instance || undefined, error));
|
|
2884
2882
|
} else {
|
|
2885
|
-
instance.close({
|
|
2883
|
+
instance.close(/** @type SweetAlertResult */{
|
|
2886
2884
|
isDenied: true,
|
|
2887
2885
|
value
|
|
2888
2886
|
});
|
|
@@ -2891,10 +2889,10 @@
|
|
|
2891
2889
|
|
|
2892
2890
|
/**
|
|
2893
2891
|
* @param {SweetAlert} instance
|
|
2894
|
-
* @param {
|
|
2892
|
+
* @param {*} value
|
|
2895
2893
|
*/
|
|
2896
2894
|
const succeedWith = (instance, value) => {
|
|
2897
|
-
instance.close({
|
|
2895
|
+
instance.close(/** @type SweetAlertResult */{
|
|
2898
2896
|
isConfirmed: true,
|
|
2899
2897
|
value
|
|
2900
2898
|
});
|
|
@@ -2912,7 +2910,7 @@
|
|
|
2912
2910
|
/**
|
|
2913
2911
|
*
|
|
2914
2912
|
* @param {SweetAlert} instance
|
|
2915
|
-
* @param {
|
|
2913
|
+
* @param {*} value
|
|
2916
2914
|
*/
|
|
2917
2915
|
const confirm = (instance, value) => {
|
|
2918
2916
|
const innerParams = privateProps.innerParams.get(instance || undefined);
|
|
@@ -3418,7 +3416,7 @@
|
|
|
3418
3416
|
/**
|
|
3419
3417
|
* @param {SweetAlertOptions} innerParams
|
|
3420
3418
|
* @param {DomCache} domCache
|
|
3421
|
-
* @param {
|
|
3419
|
+
* @param {(dismiss: DismissReason) => void} dismissWith
|
|
3422
3420
|
*/
|
|
3423
3421
|
const handlePopupClick = (innerParams, domCache, dismissWith) => {
|
|
3424
3422
|
if (innerParams.toast) {
|
|
@@ -3437,7 +3435,7 @@
|
|
|
3437
3435
|
/**
|
|
3438
3436
|
* @param {SweetAlertOptions} innerParams
|
|
3439
3437
|
* @param {DomCache} domCache
|
|
3440
|
-
* @param {
|
|
3438
|
+
* @param {(dismiss: DismissReason) => void} dismissWith
|
|
3441
3439
|
*/
|
|
3442
3440
|
const handleToastClick = (innerParams, domCache, dismissWith) => {
|
|
3443
3441
|
// Closing toast by internal click
|
|
@@ -3496,7 +3494,7 @@
|
|
|
3496
3494
|
/**
|
|
3497
3495
|
* @param {SweetAlertOptions} innerParams
|
|
3498
3496
|
* @param {DomCache} domCache
|
|
3499
|
-
* @param {
|
|
3497
|
+
* @param {(dismiss: DismissReason) => void} dismissWith
|
|
3500
3498
|
*/
|
|
3501
3499
|
const handleModalClick = (innerParams, domCache, dismissWith) => {
|
|
3502
3500
|
domCache.container.onclick = e => {
|
|
@@ -3845,7 +3843,7 @@
|
|
|
3845
3843
|
|
|
3846
3844
|
class Timer {
|
|
3847
3845
|
/**
|
|
3848
|
-
* @param {
|
|
3846
|
+
* @param {() => void} callback
|
|
3849
3847
|
* @param {number} delay
|
|
3850
3848
|
*/
|
|
3851
3849
|
constructor(callback, delay) {
|
|
@@ -3934,10 +3932,10 @@
|
|
|
3934
3932
|
|
|
3935
3933
|
/**
|
|
3936
3934
|
* @param {DocumentFragment} templateContent
|
|
3937
|
-
* @returns {Record<string,
|
|
3935
|
+
* @returns {Record<string, string | boolean | number>}
|
|
3938
3936
|
*/
|
|
3939
3937
|
const getSwalParams = templateContent => {
|
|
3940
|
-
/** @type {Record<string,
|
|
3938
|
+
/** @type {Record<string, string | boolean | number>} */
|
|
3941
3939
|
const result = {};
|
|
3942
3940
|
/** @type {HTMLElement[]} */
|
|
3943
3941
|
const swalParams = Array.from(templateContent.querySelectorAll('swal-param'));
|
|
@@ -3961,10 +3959,10 @@
|
|
|
3961
3959
|
|
|
3962
3960
|
/**
|
|
3963
3961
|
* @param {DocumentFragment} templateContent
|
|
3964
|
-
* @returns {Record<string,
|
|
3962
|
+
* @returns {Record<string, () => void>}
|
|
3965
3963
|
*/
|
|
3966
3964
|
const getSwalFunctionParams = templateContent => {
|
|
3967
|
-
/** @type {Record<string,
|
|
3965
|
+
/** @type {Record<string, () => void>} */
|
|
3968
3966
|
const result = {};
|
|
3969
3967
|
/** @type {HTMLElement[]} */
|
|
3970
3968
|
const swalFunctions = Array.from(templateContent.querySelectorAll('swal-function-param'));
|
|
@@ -3981,10 +3979,10 @@
|
|
|
3981
3979
|
|
|
3982
3980
|
/**
|
|
3983
3981
|
* @param {DocumentFragment} templateContent
|
|
3984
|
-
* @returns {Record<string,
|
|
3982
|
+
* @returns {Record<string, string | boolean>}
|
|
3985
3983
|
*/
|
|
3986
3984
|
const getSwalButtons = templateContent => {
|
|
3987
|
-
/** @type {Record<string,
|
|
3985
|
+
/** @type {Record<string, string | boolean>} */
|
|
3988
3986
|
const result = {};
|
|
3989
3987
|
/** @type {HTMLElement[]} */
|
|
3990
3988
|
const swalButtons = Array.from(templateContent.querySelectorAll('swal-button'));
|
|
@@ -4034,7 +4032,7 @@
|
|
|
4034
4032
|
|
|
4035
4033
|
/**
|
|
4036
4034
|
* @param {DocumentFragment} templateContent
|
|
4037
|
-
* @returns {
|
|
4035
|
+
* @returns {object}
|
|
4038
4036
|
*/
|
|
4039
4037
|
const getSwalIcon = templateContent => {
|
|
4040
4038
|
const result = {};
|
|
@@ -4055,10 +4053,10 @@
|
|
|
4055
4053
|
|
|
4056
4054
|
/**
|
|
4057
4055
|
* @param {DocumentFragment} templateContent
|
|
4058
|
-
* @returns {
|
|
4056
|
+
* @returns {object}
|
|
4059
4057
|
*/
|
|
4060
4058
|
const getSwalInput = templateContent => {
|
|
4061
|
-
/** @type {
|
|
4059
|
+
/** @type {object} */
|
|
4062
4060
|
const result = {};
|
|
4063
4061
|
/** @type {HTMLElement | null} */
|
|
4064
4062
|
const input = templateContent.querySelector('swal-input');
|
|
@@ -4095,10 +4093,10 @@
|
|
|
4095
4093
|
/**
|
|
4096
4094
|
* @param {DocumentFragment} templateContent
|
|
4097
4095
|
* @param {string[]} paramNames
|
|
4098
|
-
* @returns {Record<string,
|
|
4096
|
+
* @returns {Record<string, string>}
|
|
4099
4097
|
*/
|
|
4100
4098
|
const getSwalStringParams = (templateContent, paramNames) => {
|
|
4101
|
-
/** @type {Record<string,
|
|
4099
|
+
/** @type {Record<string, string>} */
|
|
4102
4100
|
const result = {};
|
|
4103
4101
|
for (const i in paramNames) {
|
|
4104
4102
|
const paramName = paramNames[i];
|
|
@@ -4319,7 +4317,7 @@
|
|
|
4319
4317
|
var _promise = /*#__PURE__*/new WeakMap();
|
|
4320
4318
|
class SweetAlert {
|
|
4321
4319
|
/**
|
|
4322
|
-
* @param {...
|
|
4320
|
+
* @param {...(SweetAlertOptions | string)} args
|
|
4323
4321
|
* @this {SweetAlert}
|
|
4324
4322
|
*/
|
|
4325
4323
|
constructor(...args) {
|
|
@@ -4403,7 +4401,9 @@
|
|
|
4403
4401
|
const dismissWith = dismiss => {
|
|
4404
4402
|
instance.close({
|
|
4405
4403
|
isDismissed: true,
|
|
4406
|
-
dismiss
|
|
4404
|
+
dismiss,
|
|
4405
|
+
isConfirmed: false,
|
|
4406
|
+
isDenied: false
|
|
4407
4407
|
});
|
|
4408
4408
|
};
|
|
4409
4409
|
privateMethods.swalPromiseResolve.set(instance, resolve);
|
|
@@ -4477,7 +4477,7 @@
|
|
|
4477
4477
|
/**
|
|
4478
4478
|
* @param {GlobalState} globalState
|
|
4479
4479
|
* @param {SweetAlertOptions} innerParams
|
|
4480
|
-
* @param {
|
|
4480
|
+
* @param {(dismiss: DismissReason) => void} dismissWith
|
|
4481
4481
|
*/
|
|
4482
4482
|
const setupTimer = (globalState, innerParams, dismissWith) => {
|
|
4483
4483
|
const timerProgressBar = getTimerProgressBar();
|
|
@@ -4597,8 +4597,8 @@
|
|
|
4597
4597
|
// Proxy to instance methods to constructor, for now, for backwards compatibility
|
|
4598
4598
|
Object.keys(instanceMethods).forEach(key => {
|
|
4599
4599
|
/**
|
|
4600
|
-
* @param {...
|
|
4601
|
-
* @returns {
|
|
4600
|
+
* @param {...(SweetAlertOptions | string | undefined)} args
|
|
4601
|
+
* @returns {SweetAlertResult | Promise<SweetAlertResult> | undefined}
|
|
4602
4602
|
*/
|
|
4603
4603
|
SweetAlert[key] = function (...args) {
|
|
4604
4604
|
if (currentInstance && currentInstance[key]) {
|
|
@@ -4608,7 +4608,7 @@
|
|
|
4608
4608
|
};
|
|
4609
4609
|
});
|
|
4610
4610
|
SweetAlert.DismissReason = DismissReason;
|
|
4611
|
-
SweetAlert.version = '11.26.
|
|
4611
|
+
SweetAlert.version = '11.26.2';
|
|
4612
4612
|
|
|
4613
4613
|
const Swal = SweetAlert;
|
|
4614
4614
|
// @ts-ignore
|