diff --git a/lam/lib/plugins/captcha/FriendlyCaptcha.inc b/lam/lib/plugins/captcha/FriendlyCaptcha.inc
index 001672620..0d62db9c8 100644
--- a/lam/lib/plugins/captcha/FriendlyCaptcha.inc
+++ b/lam/lib/plugins/captcha/FriendlyCaptcha.inc
@@ -120,7 +120,7 @@ class htmlFriendlyCaptcha extends htmlElement {
* @return array List of input field names and their type (name => type)
*/
function generateHTML($module, $input, $values, $restricted, $scope) {
- $script = new htmlScript('../lib/extra/friendlyCaptcha/friendly-challenge-0.9.15.js');
+ $script = new htmlScript('../lib/extra/friendlyCaptcha/friendly-challenge-0.9.17.js');
$script->generateHTML($module, $input, $values, $restricted, $scope);
echo '
';
return [];
diff --git a/lam/sbom-composer.json b/lam/sbom-composer.json
index 85bb405a1..d25179a75 100644
--- a/lam/sbom-composer.json
+++ b/lam/sbom-composer.json
@@ -80,12 +80,12 @@
}
],
"component": {
- "bom-ref": "ldap-account-manager/ldap-account-manager-8.8.0.0",
+ "bom-ref": "ldap-account-manager/ldap-account-manager-8.9.0.0",
"type": "application",
"name": "ldap-account-manager",
- "version": "8.8",
+ "version": "8.9",
"group": "ldap-account-manager",
- "purl": "pkg:composer/ldap-account-manager/ldap-account-manager@8.8",
+ "purl": "pkg:composer/ldap-account-manager/ldap-account-manager@8.9",
"properties": [
{
"name": "cdx:composer:package:type",
@@ -607,10 +607,10 @@
]
},
{
- "bom-ref": "guzzlehttp/psr7-2.6.2.0",
+ "bom-ref": "guzzlehttp/psr7-2.7.0.0",
"type": "library",
"name": "psr7",
- "version": "2.6.2",
+ "version": "2.7.0",
"group": "guzzlehttp",
"description": "PSR-7 message implementation that also provides common utility methods",
"author": "Graham Campbell, Michael Dowling, George Mponos, Tobias Nyholm, M\u00e1rk S\u00e1gi-Kaz\u00e1r, Tobias Schultze, M\u00e1rk S\u00e1gi-Kaz\u00e1r",
@@ -621,17 +621,17 @@
}
}
],
- "purl": "pkg:composer/guzzlehttp/psr7@2.6.2",
+ "purl": "pkg:composer/guzzlehttp/psr7@2.7.0",
"externalReferences": [
{
"type": "distribution",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/45b30f99ac27b5ca93cb4831afe16285f57b8221",
- "comment": "dist reference: 45b30f99ac27b5ca93cb4831afe16285f57b8221"
+ "url": "https://api.github.com/repos/guzzle/psr7/zipball/a70f5c95fb43bc83f07c9c948baa0dc1829bf201",
+ "comment": "dist reference: a70f5c95fb43bc83f07c9c948baa0dc1829bf201"
},
{
"type": "vcs",
"url": "https://github.com/guzzle/psr7.git",
- "comment": "source reference: 45b30f99ac27b5ca93cb4831afe16285f57b8221"
+ "comment": "source reference: a70f5c95fb43bc83f07c9c948baa0dc1829bf201"
},
{
"type": "issue-tracker",
@@ -640,18 +640,18 @@
},
{
"type": "vcs",
- "url": "https://github.com/guzzle/psr7/tree/2.6.2",
+ "url": "https://github.com/guzzle/psr7/tree/2.7.0",
"comment": "as detected from Composer manifest 'support.source'"
}
],
"properties": [
{
"name": "cdx:composer:package:distReference",
- "value": "45b30f99ac27b5ca93cb4831afe16285f57b8221"
+ "value": "a70f5c95fb43bc83f07c9c948baa0dc1829bf201"
},
{
"name": "cdx:composer:package:sourceReference",
- "value": "45b30f99ac27b5ca93cb4831afe16285f57b8221"
+ "value": "a70f5c95fb43bc83f07c9c948baa0dc1829bf201"
},
{
"name": "cdx:composer:package:type",
@@ -713,10 +713,10 @@
]
},
{
- "bom-ref": "illuminate/collections-10.48.12.0",
+ "bom-ref": "illuminate/collections-10.48.20.0",
"type": "library",
"name": "collections",
- "version": "v10.48.12",
+ "version": "v10.48.20",
"group": "illuminate",
"description": "The Illuminate Collections package.",
"author": "Taylor Otwell",
@@ -727,17 +727,17 @@
}
}
],
- "purl": "pkg:composer/illuminate/collections@v10.48.12",
+ "purl": "pkg:composer/illuminate/collections@v10.48.20",
"externalReferences": [
{
"type": "distribution",
- "url": "https://api.github.com/repos/illuminate/collections/zipball/f9589f1063a449111dcaa1d68285b507d9483a95",
- "comment": "dist reference: f9589f1063a449111dcaa1d68285b507d9483a95"
+ "url": "https://api.github.com/repos/illuminate/collections/zipball/37c863cffb345869dd134eff8e646bc82a19cc96",
+ "comment": "dist reference: 37c863cffb345869dd134eff8e646bc82a19cc96"
},
{
"type": "vcs",
"url": "https://github.com/illuminate/collections.git",
- "comment": "source reference: f9589f1063a449111dcaa1d68285b507d9483a95"
+ "comment": "source reference: 37c863cffb345869dd134eff8e646bc82a19cc96"
},
{
"type": "website",
@@ -758,11 +758,11 @@
"properties": [
{
"name": "cdx:composer:package:distReference",
- "value": "f9589f1063a449111dcaa1d68285b507d9483a95"
+ "value": "37c863cffb345869dd134eff8e646bc82a19cc96"
},
{
"name": "cdx:composer:package:sourceReference",
- "value": "f9589f1063a449111dcaa1d68285b507d9483a95"
+ "value": "37c863cffb345869dd134eff8e646bc82a19cc96"
},
{
"name": "cdx:composer:package:type",
@@ -771,10 +771,10 @@
]
},
{
- "bom-ref": "illuminate/conditionable-10.48.12.0",
+ "bom-ref": "illuminate/conditionable-10.48.20.0",
"type": "library",
"name": "conditionable",
- "version": "v10.48.12",
+ "version": "v10.48.20",
"group": "illuminate",
"description": "The Illuminate Conditionable package.",
"author": "Taylor Otwell",
@@ -785,7 +785,7 @@
}
}
],
- "purl": "pkg:composer/illuminate/conditionable@v10.48.12",
+ "purl": "pkg:composer/illuminate/conditionable@v10.48.20",
"externalReferences": [
{
"type": "distribution",
@@ -829,10 +829,10 @@
]
},
{
- "bom-ref": "illuminate/contracts-10.48.12.0",
+ "bom-ref": "illuminate/contracts-10.48.20.0",
"type": "library",
"name": "contracts",
- "version": "v10.48.12",
+ "version": "v10.48.20",
"group": "illuminate",
"description": "The Illuminate Contracts package.",
"author": "Taylor Otwell",
@@ -843,7 +843,7 @@
}
}
],
- "purl": "pkg:composer/illuminate/contracts@v10.48.12",
+ "purl": "pkg:composer/illuminate/contracts@v10.48.20",
"externalReferences": [
{
"type": "distribution",
@@ -887,10 +887,10 @@
]
},
{
- "bom-ref": "illuminate/macroable-10.48.12.0",
+ "bom-ref": "illuminate/macroable-10.48.20.0",
"type": "library",
"name": "macroable",
- "version": "v10.48.12",
+ "version": "v10.48.20",
"group": "illuminate",
"description": "The Illuminate Macroable package.",
"author": "Taylor Otwell",
@@ -901,7 +901,7 @@
}
}
],
- "purl": "pkg:composer/illuminate/macroable@v10.48.12",
+ "purl": "pkg:composer/illuminate/macroable@v10.48.20",
"externalReferences": [
{
"type": "distribution",
@@ -945,10 +945,10 @@
]
},
{
- "bom-ref": "illuminate/pagination-10.48.12.0",
+ "bom-ref": "illuminate/pagination-10.48.20.0",
"type": "library",
"name": "pagination",
- "version": "v10.48.12",
+ "version": "v10.48.20",
"group": "illuminate",
"description": "The Illuminate Pagination package.",
"author": "Taylor Otwell",
@@ -959,7 +959,7 @@
}
}
],
- "purl": "pkg:composer/illuminate/pagination@v10.48.12",
+ "purl": "pkg:composer/illuminate/pagination@v10.48.20",
"externalReferences": [
{
"type": "distribution",
@@ -1003,10 +1003,10 @@
]
},
{
- "bom-ref": "illuminate/support-10.48.12.0",
+ "bom-ref": "illuminate/support-10.48.20.0",
"type": "library",
"name": "support",
- "version": "v10.48.12",
+ "version": "v10.48.20",
"group": "illuminate",
"description": "The Illuminate Support package.",
"author": "Taylor Otwell",
@@ -1017,17 +1017,17 @@
}
}
],
- "purl": "pkg:composer/illuminate/support@v10.48.12",
+ "purl": "pkg:composer/illuminate/support@v10.48.20",
"externalReferences": [
{
"type": "distribution",
- "url": "https://api.github.com/repos/illuminate/support/zipball/263f389d81488c237846b69469f91387ca2729f3",
- "comment": "dist reference: 263f389d81488c237846b69469f91387ca2729f3"
+ "url": "https://api.github.com/repos/illuminate/support/zipball/56c6d9895605b019e3debb9440454596ef99312a",
+ "comment": "dist reference: 56c6d9895605b019e3debb9440454596ef99312a"
},
{
"type": "vcs",
"url": "https://github.com/illuminate/support.git",
- "comment": "source reference: 263f389d81488c237846b69469f91387ca2729f3"
+ "comment": "source reference: 56c6d9895605b019e3debb9440454596ef99312a"
},
{
"type": "website",
@@ -1048,11 +1048,11 @@
"properties": [
{
"name": "cdx:composer:package:distReference",
- "value": "263f389d81488c237846b69469f91387ca2729f3"
+ "value": "56c6d9895605b019e3debb9440454596ef99312a"
},
{
"name": "cdx:composer:package:sourceReference",
- "value": "263f389d81488c237846b69469f91387ca2729f3"
+ "value": "56c6d9895605b019e3debb9440454596ef99312a"
},
{
"name": "cdx:composer:package:type",
@@ -1061,10 +1061,10 @@
]
},
{
- "bom-ref": "monolog/monolog-3.6.0.0",
+ "bom-ref": "monolog/monolog-3.7.0.0",
"type": "library",
"name": "monolog",
- "version": "3.6.0",
+ "version": "3.7.0",
"group": "monolog",
"description": "Sends your logs to files, sockets, inboxes, databases and various web services",
"author": "Jordi Boggiano",
@@ -1075,17 +1075,17 @@
}
}
],
- "purl": "pkg:composer/monolog/monolog@3.6.0",
+ "purl": "pkg:composer/monolog/monolog@3.7.0",
"externalReferences": [
{
"type": "distribution",
- "url": "https://api.github.com/repos/Seldaek/monolog/zipball/4b18b21a5527a3d5ffdac2fd35d3ab25a9597654",
- "comment": "dist reference: 4b18b21a5527a3d5ffdac2fd35d3ab25a9597654"
+ "url": "https://api.github.com/repos/Seldaek/monolog/zipball/f4393b648b78a5408747de94fca38beb5f7e9ef8",
+ "comment": "dist reference: f4393b648b78a5408747de94fca38beb5f7e9ef8"
},
{
"type": "vcs",
"url": "https://github.com/Seldaek/monolog.git",
- "comment": "source reference: 4b18b21a5527a3d5ffdac2fd35d3ab25a9597654"
+ "comment": "source reference: f4393b648b78a5408747de94fca38beb5f7e9ef8"
},
{
"type": "website",
@@ -1099,18 +1099,18 @@
},
{
"type": "vcs",
- "url": "https://github.com/Seldaek/monolog/tree/3.6.0",
+ "url": "https://github.com/Seldaek/monolog/tree/3.7.0",
"comment": "as detected from Composer manifest 'support.source'"
}
],
"properties": [
{
"name": "cdx:composer:package:distReference",
- "value": "4b18b21a5527a3d5ffdac2fd35d3ab25a9597654"
+ "value": "f4393b648b78a5408747de94fca38beb5f7e9ef8"
},
{
"name": "cdx:composer:package:sourceReference",
- "value": "4b18b21a5527a3d5ffdac2fd35d3ab25a9597654"
+ "value": "f4393b648b78a5408747de94fca38beb5f7e9ef8"
},
{
"name": "cdx:composer:package:type",
@@ -1409,10 +1409,10 @@
]
},
{
- "bom-ref": "phpseclib/phpseclib-3.0.37.0",
+ "bom-ref": "phpseclib/phpseclib-3.0.41.0",
"type": "library",
"name": "phpseclib",
- "version": "3.0.37",
+ "version": "3.0.41",
"group": "phpseclib",
"description": "PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.",
"author": "Jim Wigginton, Patrick Monnerat, Andreas Fischer, Hans-J\u00fcrgen Petrich, Graham Campbell",
@@ -1423,17 +1423,17 @@
}
}
],
- "purl": "pkg:composer/phpseclib/phpseclib@3.0.37",
+ "purl": "pkg:composer/phpseclib/phpseclib@3.0.41",
"externalReferences": [
{
"type": "distribution",
- "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/cfa2013d0f68c062055180dd4328cc8b9d1f30b8",
- "comment": "dist reference: cfa2013d0f68c062055180dd4328cc8b9d1f30b8"
+ "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/621c73f7dcb310b61de34d1da4c4204e8ace6ceb",
+ "comment": "dist reference: 621c73f7dcb310b61de34d1da4c4204e8ace6ceb"
},
{
"type": "vcs",
"url": "https://github.com/phpseclib/phpseclib.git",
- "comment": "source reference: cfa2013d0f68c062055180dd4328cc8b9d1f30b8"
+ "comment": "source reference: 621c73f7dcb310b61de34d1da4c4204e8ace6ceb"
},
{
"type": "website",
@@ -1447,18 +1447,18 @@
},
{
"type": "vcs",
- "url": "https://github.com/phpseclib/phpseclib/tree/3.0.37",
+ "url": "https://github.com/phpseclib/phpseclib/tree/3.0.41",
"comment": "as detected from Composer manifest 'support.source'"
}
],
"properties": [
{
"name": "cdx:composer:package:distReference",
- "value": "cfa2013d0f68c062055180dd4328cc8b9d1f30b8"
+ "value": "621c73f7dcb310b61de34d1da4c4204e8ace6ceb"
},
{
"name": "cdx:composer:package:sourceReference",
- "value": "cfa2013d0f68c062055180dd4328cc8b9d1f30b8"
+ "value": "621c73f7dcb310b61de34d1da4c4204e8ace6ceb"
},
{
"name": "cdx:composer:package:type",
@@ -1838,10 +1838,10 @@
]
},
{
- "bom-ref": "psr/log-3.0.0.0",
+ "bom-ref": "psr/log-3.0.1.0",
"type": "library",
"name": "log",
- "version": "3.0.0",
+ "version": "3.0.1",
"group": "psr",
"description": "Common interface for logging libraries",
"author": "PHP-FIG",
@@ -1852,17 +1852,17 @@
}
}
],
- "purl": "pkg:composer/psr/log@3.0.0",
+ "purl": "pkg:composer/psr/log@3.0.1",
"externalReferences": [
{
"type": "distribution",
- "url": "https://api.github.com/repos/php-fig/log/zipball/fe5ea303b0887d5caefd3d431c3e61ad47037001",
- "comment": "dist reference: fe5ea303b0887d5caefd3d431c3e61ad47037001"
+ "url": "https://api.github.com/repos/php-fig/log/zipball/79dff0b268932c640297f5208d6298f71855c03e",
+ "comment": "dist reference: 79dff0b268932c640297f5208d6298f71855c03e"
},
{
"type": "vcs",
"url": "https://github.com/php-fig/log.git",
- "comment": "source reference: fe5ea303b0887d5caefd3d431c3e61ad47037001"
+ "comment": "source reference: 79dff0b268932c640297f5208d6298f71855c03e"
},
{
"type": "website",
@@ -1871,18 +1871,18 @@
},
{
"type": "vcs",
- "url": "https://github.com/php-fig/log/tree/3.0.0",
+ "url": "https://github.com/php-fig/log/tree/3.0.1",
"comment": "as detected from Composer manifest 'support.source'"
}
],
"properties": [
{
"name": "cdx:composer:package:distReference",
- "value": "fe5ea303b0887d5caefd3d431c3e61ad47037001"
+ "value": "79dff0b268932c640297f5208d6298f71855c03e"
},
{
"name": "cdx:composer:package:sourceReference",
- "value": "fe5ea303b0887d5caefd3d431c3e61ad47037001"
+ "value": "79dff0b268932c640297f5208d6298f71855c03e"
},
{
"name": "cdx:composer:package:type",
@@ -2025,10 +2025,10 @@
]
},
{
- "bom-ref": "spomky-labs/cbor-php-3.0.4.0",
+ "bom-ref": "spomky-labs/cbor-php-3.1.0.0",
"type": "library",
"name": "cbor-php",
- "version": "3.0.4",
+ "version": "3.1.0",
"group": "spomky-labs",
"description": "CBOR Encoder/Decoder for PHP",
"author": "Florent Morselli, All contributors",
@@ -2039,17 +2039,17 @@
}
}
],
- "purl": "pkg:composer/spomky-labs/cbor-php@3.0.4",
+ "purl": "pkg:composer/spomky-labs/cbor-php@3.1.0",
"externalReferences": [
{
"type": "distribution",
- "url": "https://api.github.com/repos/Spomky-Labs/cbor-php/zipball/658ed12a85a6b31fa312b89cd92f3a4ce6df4c6b",
- "comment": "dist reference: 658ed12a85a6b31fa312b89cd92f3a4ce6df4c6b"
+ "url": "https://api.github.com/repos/Spomky-Labs/cbor-php/zipball/499d9bff0a6d59c4f1b813cc617fc3fd56d6dca4",
+ "comment": "dist reference: 499d9bff0a6d59c4f1b813cc617fc3fd56d6dca4"
},
{
"type": "vcs",
"url": "https://github.com/Spomky-Labs/cbor-php.git",
- "comment": "source reference: 658ed12a85a6b31fa312b89cd92f3a4ce6df4c6b"
+ "comment": "source reference: 499d9bff0a6d59c4f1b813cc617fc3fd56d6dca4"
},
{
"type": "issue-tracker",
@@ -2058,18 +2058,18 @@
},
{
"type": "vcs",
- "url": "https://github.com/Spomky-Labs/cbor-php/tree/3.0.4",
+ "url": "https://github.com/Spomky-Labs/cbor-php/tree/3.1.0",
"comment": "as detected from Composer manifest 'support.source'"
}
],
"properties": [
{
"name": "cdx:composer:package:distReference",
- "value": "658ed12a85a6b31fa312b89cd92f3a4ce6df4c6b"
+ "value": "499d9bff0a6d59c4f1b813cc617fc3fd56d6dca4"
},
{
"name": "cdx:composer:package:sourceReference",
- "value": "658ed12a85a6b31fa312b89cd92f3a4ce6df4c6b"
+ "value": "499d9bff0a6d59c4f1b813cc617fc3fd56d6dca4"
},
{
"name": "cdx:composer:package:type",
@@ -2131,10 +2131,10 @@
]
},
{
- "bom-ref": "symfony/http-client-6.4.8.0",
+ "bom-ref": "symfony/http-client-6.4.11.0",
"type": "library",
"name": "http-client",
- "version": "v6.4.8",
+ "version": "v6.4.11",
"group": "symfony",
"description": "Provides powerful methods to fetch HTTP resources synchronously or asynchronously",
"author": "Nicolas Grekas, Symfony Community",
@@ -2145,17 +2145,17 @@
}
}
],
- "purl": "pkg:composer/symfony/http-client@v6.4.8",
+ "purl": "pkg:composer/symfony/http-client@v6.4.11",
"externalReferences": [
{
"type": "distribution",
- "url": "https://api.github.com/repos/symfony/http-client/zipball/61faba993e620fc22d4f0ab3b6bcf8fbb0d44b05",
- "comment": "dist reference: 61faba993e620fc22d4f0ab3b6bcf8fbb0d44b05"
+ "url": "https://api.github.com/repos/symfony/http-client/zipball/4c92046bb788648ff1098cc66da69aa7eac8cb65",
+ "comment": "dist reference: 4c92046bb788648ff1098cc66da69aa7eac8cb65"
},
{
"type": "vcs",
"url": "https://github.com/symfony/http-client.git",
- "comment": "source reference: 61faba993e620fc22d4f0ab3b6bcf8fbb0d44b05"
+ "comment": "source reference: 4c92046bb788648ff1098cc66da69aa7eac8cb65"
},
{
"type": "website",
@@ -2164,18 +2164,18 @@
},
{
"type": "vcs",
- "url": "https://github.com/symfony/http-client/tree/v6.4.8",
+ "url": "https://github.com/symfony/http-client/tree/v6.4.11",
"comment": "as detected from Composer manifest 'support.source'"
}
],
"properties": [
{
"name": "cdx:composer:package:distReference",
- "value": "61faba993e620fc22d4f0ab3b6bcf8fbb0d44b05"
+ "value": "4c92046bb788648ff1098cc66da69aa7eac8cb65"
},
{
"name": "cdx:composer:package:sourceReference",
- "value": "61faba993e620fc22d4f0ab3b6bcf8fbb0d44b05"
+ "value": "4c92046bb788648ff1098cc66da69aa7eac8cb65"
},
{
"name": "cdx:composer:package:type",
@@ -2237,10 +2237,10 @@
]
},
{
- "bom-ref": "symfony/http-foundation-6.4.8.0",
+ "bom-ref": "symfony/http-foundation-6.4.10.0",
"type": "library",
"name": "http-foundation",
- "version": "v6.4.8",
+ "version": "v6.4.10",
"group": "symfony",
"description": "Defines an object-oriented layer for the HTTP specification",
"author": "Fabien Potencier, Symfony Community",
@@ -2251,17 +2251,17 @@
}
}
],
- "purl": "pkg:composer/symfony/http-foundation@v6.4.8",
+ "purl": "pkg:composer/symfony/http-foundation@v6.4.10",
"externalReferences": [
{
"type": "distribution",
- "url": "https://api.github.com/repos/symfony/http-foundation/zipball/27de8cc95e11db7a50b027e71caaab9024545947",
- "comment": "dist reference: 27de8cc95e11db7a50b027e71caaab9024545947"
+ "url": "https://api.github.com/repos/symfony/http-foundation/zipball/117f1f20a7ade7bcea28b861fb79160a21a1e37b",
+ "comment": "dist reference: 117f1f20a7ade7bcea28b861fb79160a21a1e37b"
},
{
"type": "vcs",
"url": "https://github.com/symfony/http-foundation.git",
- "comment": "source reference: 27de8cc95e11db7a50b027e71caaab9024545947"
+ "comment": "source reference: 117f1f20a7ade7bcea28b861fb79160a21a1e37b"
},
{
"type": "website",
@@ -2270,18 +2270,18 @@
},
{
"type": "vcs",
- "url": "https://github.com/symfony/http-foundation/tree/v6.4.8",
+ "url": "https://github.com/symfony/http-foundation/tree/v6.4.10",
"comment": "as detected from Composer manifest 'support.source'"
}
],
"properties": [
{
"name": "cdx:composer:package:distReference",
- "value": "27de8cc95e11db7a50b027e71caaab9024545947"
+ "value": "117f1f20a7ade7bcea28b861fb79160a21a1e37b"
},
{
"name": "cdx:composer:package:sourceReference",
- "value": "27de8cc95e11db7a50b027e71caaab9024545947"
+ "value": "117f1f20a7ade7bcea28b861fb79160a21a1e37b"
},
{
"name": "cdx:composer:package:type",
@@ -2290,10 +2290,10 @@
]
},
{
- "bom-ref": "symfony/polyfill-mbstring-1.29.0.0",
+ "bom-ref": "symfony/polyfill-mbstring-1.30.0.0",
"type": "library",
"name": "polyfill-mbstring",
- "version": "v1.29.0",
+ "version": "v1.30.0",
"group": "symfony",
"description": "Symfony polyfill for the Mbstring extension",
"author": "Nicolas Grekas, Symfony Community",
@@ -2304,17 +2304,17 @@
}
}
],
- "purl": "pkg:composer/symfony/polyfill-mbstring@v1.29.0",
+ "purl": "pkg:composer/symfony/polyfill-mbstring@v1.30.0",
"externalReferences": [
{
"type": "distribution",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/9773676c8a1bb1f8d4340a62efe641cf76eda7ec",
- "comment": "dist reference: 9773676c8a1bb1f8d4340a62efe641cf76eda7ec"
+ "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/fd22ab50000ef01661e2a31d850ebaa297f8e03c",
+ "comment": "dist reference: fd22ab50000ef01661e2a31d850ebaa297f8e03c"
},
{
"type": "vcs",
"url": "https://github.com/symfony/polyfill-mbstring.git",
- "comment": "source reference: 9773676c8a1bb1f8d4340a62efe641cf76eda7ec"
+ "comment": "source reference: fd22ab50000ef01661e2a31d850ebaa297f8e03c"
},
{
"type": "website",
@@ -2323,18 +2323,18 @@
},
{
"type": "vcs",
- "url": "https://github.com/symfony/polyfill-mbstring/tree/v1.29.0",
+ "url": "https://github.com/symfony/polyfill-mbstring/tree/v1.30.0",
"comment": "as detected from Composer manifest 'support.source'"
}
],
"properties": [
{
"name": "cdx:composer:package:distReference",
- "value": "9773676c8a1bb1f8d4340a62efe641cf76eda7ec"
+ "value": "fd22ab50000ef01661e2a31d850ebaa297f8e03c"
},
{
"name": "cdx:composer:package:sourceReference",
- "value": "9773676c8a1bb1f8d4340a62efe641cf76eda7ec"
+ "value": "fd22ab50000ef01661e2a31d850ebaa297f8e03c"
},
{
"name": "cdx:composer:package:type",
@@ -2343,10 +2343,10 @@
]
},
{
- "bom-ref": "symfony/polyfill-php80-1.29.0.0",
+ "bom-ref": "symfony/polyfill-php80-1.30.0.0",
"type": "library",
"name": "polyfill-php80",
- "version": "v1.29.0",
+ "version": "v1.30.0",
"group": "symfony",
"description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions",
"author": "Ion Bazan, Nicolas Grekas, Symfony Community",
@@ -2357,17 +2357,17 @@
}
}
],
- "purl": "pkg:composer/symfony/polyfill-php80@v1.29.0",
+ "purl": "pkg:composer/symfony/polyfill-php80@v1.30.0",
"externalReferences": [
{
"type": "distribution",
- "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/87b68208d5c1188808dd7839ee1e6c8ec3b02f1b",
- "comment": "dist reference: 87b68208d5c1188808dd7839ee1e6c8ec3b02f1b"
+ "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/77fa7995ac1b21ab60769b7323d600a991a90433",
+ "comment": "dist reference: 77fa7995ac1b21ab60769b7323d600a991a90433"
},
{
"type": "vcs",
"url": "https://github.com/symfony/polyfill-php80.git",
- "comment": "source reference: 87b68208d5c1188808dd7839ee1e6c8ec3b02f1b"
+ "comment": "source reference: 77fa7995ac1b21ab60769b7323d600a991a90433"
},
{
"type": "website",
@@ -2376,18 +2376,18 @@
},
{
"type": "vcs",
- "url": "https://github.com/symfony/polyfill-php80/tree/v1.29.0",
+ "url": "https://github.com/symfony/polyfill-php80/tree/v1.30.0",
"comment": "as detected from Composer manifest 'support.source'"
}
],
"properties": [
{
"name": "cdx:composer:package:distReference",
- "value": "87b68208d5c1188808dd7839ee1e6c8ec3b02f1b"
+ "value": "77fa7995ac1b21ab60769b7323d600a991a90433"
},
{
"name": "cdx:composer:package:sourceReference",
- "value": "87b68208d5c1188808dd7839ee1e6c8ec3b02f1b"
+ "value": "77fa7995ac1b21ab60769b7323d600a991a90433"
},
{
"name": "cdx:composer:package:type",
@@ -2396,10 +2396,10 @@
]
},
{
- "bom-ref": "symfony/polyfill-php83-1.29.0.0",
+ "bom-ref": "symfony/polyfill-php83-1.30.0.0",
"type": "library",
"name": "polyfill-php83",
- "version": "v1.29.0",
+ "version": "v1.30.0",
"group": "symfony",
"description": "Symfony polyfill backporting some PHP 8.3+ features to lower PHP versions",
"author": "Nicolas Grekas, Symfony Community",
@@ -2410,17 +2410,17 @@
}
}
],
- "purl": "pkg:composer/symfony/polyfill-php83@v1.29.0",
+ "purl": "pkg:composer/symfony/polyfill-php83@v1.30.0",
"externalReferences": [
{
"type": "distribution",
- "url": "https://api.github.com/repos/symfony/polyfill-php83/zipball/86fcae159633351e5fd145d1c47de6c528f8caff",
- "comment": "dist reference: 86fcae159633351e5fd145d1c47de6c528f8caff"
+ "url": "https://api.github.com/repos/symfony/polyfill-php83/zipball/dbdcdf1a4dcc2743591f1079d0c35ab1e2dcbbc9",
+ "comment": "dist reference: dbdcdf1a4dcc2743591f1079d0c35ab1e2dcbbc9"
},
{
"type": "vcs",
"url": "https://github.com/symfony/polyfill-php83.git",
- "comment": "source reference: 86fcae159633351e5fd145d1c47de6c528f8caff"
+ "comment": "source reference: dbdcdf1a4dcc2743591f1079d0c35ab1e2dcbbc9"
},
{
"type": "website",
@@ -2429,18 +2429,18 @@
},
{
"type": "vcs",
- "url": "https://github.com/symfony/polyfill-php83/tree/v1.29.0",
+ "url": "https://github.com/symfony/polyfill-php83/tree/v1.30.0",
"comment": "as detected from Composer manifest 'support.source'"
}
],
"properties": [
{
"name": "cdx:composer:package:distReference",
- "value": "86fcae159633351e5fd145d1c47de6c528f8caff"
+ "value": "dbdcdf1a4dcc2743591f1079d0c35ab1e2dcbbc9"
},
{
"name": "cdx:composer:package:sourceReference",
- "value": "86fcae159633351e5fd145d1c47de6c528f8caff"
+ "value": "dbdcdf1a4dcc2743591f1079d0c35ab1e2dcbbc9"
},
{
"name": "cdx:composer:package:type",
@@ -2449,10 +2449,10 @@
]
},
{
- "bom-ref": "symfony/polyfill-uuid-1.29.0.0",
+ "bom-ref": "symfony/polyfill-uuid-1.30.0.0",
"type": "library",
"name": "polyfill-uuid",
- "version": "v1.29.0",
+ "version": "v1.30.0",
"group": "symfony",
"description": "Symfony polyfill for uuid functions",
"author": "Gr\u00e9goire Pineau, Symfony Community",
@@ -2463,17 +2463,17 @@
}
}
],
- "purl": "pkg:composer/symfony/polyfill-uuid@v1.29.0",
+ "purl": "pkg:composer/symfony/polyfill-uuid@v1.30.0",
"externalReferences": [
{
"type": "distribution",
- "url": "https://api.github.com/repos/symfony/polyfill-uuid/zipball/3abdd21b0ceaa3000ee950097bc3cf9efc137853",
- "comment": "dist reference: 3abdd21b0ceaa3000ee950097bc3cf9efc137853"
+ "url": "https://api.github.com/repos/symfony/polyfill-uuid/zipball/2ba1f33797470debcda07fe9dce20a0003df18e9",
+ "comment": "dist reference: 2ba1f33797470debcda07fe9dce20a0003df18e9"
},
{
"type": "vcs",
"url": "https://github.com/symfony/polyfill-uuid.git",
- "comment": "source reference: 3abdd21b0ceaa3000ee950097bc3cf9efc137853"
+ "comment": "source reference: 2ba1f33797470debcda07fe9dce20a0003df18e9"
},
{
"type": "website",
@@ -2482,18 +2482,18 @@
},
{
"type": "vcs",
- "url": "https://github.com/symfony/polyfill-uuid/tree/v1.29.0",
+ "url": "https://github.com/symfony/polyfill-uuid/tree/v1.30.0",
"comment": "as detected from Composer manifest 'support.source'"
}
],
"properties": [
{
"name": "cdx:composer:package:distReference",
- "value": "3abdd21b0ceaa3000ee950097bc3cf9efc137853"
+ "value": "2ba1f33797470debcda07fe9dce20a0003df18e9"
},
{
"name": "cdx:composer:package:sourceReference",
- "value": "3abdd21b0ceaa3000ee950097bc3cf9efc137853"
+ "value": "2ba1f33797470debcda07fe9dce20a0003df18e9"
},
{
"name": "cdx:composer:package:type",
@@ -2502,10 +2502,10 @@
]
},
{
- "bom-ref": "symfony/psr-http-message-bridge-6.4.8.0",
+ "bom-ref": "symfony/psr-http-message-bridge-6.4.11.0",
"type": "library",
"name": "psr-http-message-bridge",
- "version": "v6.4.8",
+ "version": "v6.4.11",
"group": "symfony",
"description": "PSR HTTP message bridge",
"author": "Fabien Potencier, Symfony Community",
@@ -2516,17 +2516,17 @@
}
}
],
- "purl": "pkg:composer/symfony/psr-http-message-bridge@v6.4.8",
+ "purl": "pkg:composer/symfony/psr-http-message-bridge@v6.4.11",
"externalReferences": [
{
"type": "distribution",
- "url": "https://api.github.com/repos/symfony/psr-http-message-bridge/zipball/23a162bd446b93948a2c2f6909d80ad06195be10",
- "comment": "dist reference: 23a162bd446b93948a2c2f6909d80ad06195be10"
+ "url": "https://api.github.com/repos/symfony/psr-http-message-bridge/zipball/74835ba54eca99a38f374f7a6d932fa510124773",
+ "comment": "dist reference: 74835ba54eca99a38f374f7a6d932fa510124773"
},
{
"type": "vcs",
"url": "https://github.com/symfony/psr-http-message-bridge.git",
- "comment": "source reference: 23a162bd446b93948a2c2f6909d80ad06195be10"
+ "comment": "source reference: 74835ba54eca99a38f374f7a6d932fa510124773"
},
{
"type": "website",
@@ -2535,18 +2535,18 @@
},
{
"type": "vcs",
- "url": "https://github.com/symfony/psr-http-message-bridge/tree/v6.4.8",
+ "url": "https://github.com/symfony/psr-http-message-bridge/tree/v6.4.11",
"comment": "as detected from Composer manifest 'support.source'"
}
],
"properties": [
{
"name": "cdx:composer:package:distReference",
- "value": "23a162bd446b93948a2c2f6909d80ad06195be10"
+ "value": "74835ba54eca99a38f374f7a6d932fa510124773"
},
{
"name": "cdx:composer:package:sourceReference",
- "value": "23a162bd446b93948a2c2f6909d80ad06195be10"
+ "value": "74835ba54eca99a38f374f7a6d932fa510124773"
},
{
"name": "cdx:composer:package:type",
@@ -2608,10 +2608,10 @@
]
},
{
- "bom-ref": "symfony/translation-6.4.8.0",
+ "bom-ref": "symfony/translation-6.4.10.0",
"type": "library",
"name": "translation",
- "version": "v6.4.8",
+ "version": "v6.4.10",
"group": "symfony",
"description": "Provides tools to internationalize your application",
"author": "Fabien Potencier, Symfony Community",
@@ -2622,17 +2622,17 @@
}
}
],
- "purl": "pkg:composer/symfony/translation@v6.4.8",
+ "purl": "pkg:composer/symfony/translation@v6.4.10",
"externalReferences": [
{
"type": "distribution",
- "url": "https://api.github.com/repos/symfony/translation/zipball/a002933b13989fc4bd0b58e04bf7eec5210e438a",
- "comment": "dist reference: a002933b13989fc4bd0b58e04bf7eec5210e438a"
+ "url": "https://api.github.com/repos/symfony/translation/zipball/94041203f8ac200ae9e7c6a18fa6137814ccecc9",
+ "comment": "dist reference: 94041203f8ac200ae9e7c6a18fa6137814ccecc9"
},
{
"type": "vcs",
"url": "https://github.com/symfony/translation.git",
- "comment": "source reference: a002933b13989fc4bd0b58e04bf7eec5210e438a"
+ "comment": "source reference: 94041203f8ac200ae9e7c6a18fa6137814ccecc9"
},
{
"type": "website",
@@ -2641,18 +2641,18 @@
},
{
"type": "vcs",
- "url": "https://github.com/symfony/translation/tree/v6.4.8",
+ "url": "https://github.com/symfony/translation/tree/v6.4.10",
"comment": "as detected from Composer manifest 'support.source'"
}
],
"properties": [
{
"name": "cdx:composer:package:distReference",
- "value": "a002933b13989fc4bd0b58e04bf7eec5210e438a"
+ "value": "94041203f8ac200ae9e7c6a18fa6137814ccecc9"
},
{
"name": "cdx:composer:package:sourceReference",
- "value": "a002933b13989fc4bd0b58e04bf7eec5210e438a"
+ "value": "94041203f8ac200ae9e7c6a18fa6137814ccecc9"
},
{
"name": "cdx:composer:package:type",
@@ -2714,10 +2714,10 @@
]
},
{
- "bom-ref": "symfony/uid-6.4.8.0",
+ "bom-ref": "symfony/uid-6.4.11.0",
"type": "library",
"name": "uid",
- "version": "v6.4.8",
+ "version": "v6.4.11",
"group": "symfony",
"description": "Provides an object-oriented API to generate and represent UIDs",
"author": "Gr\u00e9goire Pineau, Nicolas Grekas, Symfony Community",
@@ -2728,17 +2728,17 @@
}
}
],
- "purl": "pkg:composer/symfony/uid@v6.4.8",
+ "purl": "pkg:composer/symfony/uid@v6.4.11",
"externalReferences": [
{
"type": "distribution",
- "url": "https://api.github.com/repos/symfony/uid/zipball/35904eca37a84bb764c560cbfcac9f0ac2bcdbdf",
- "comment": "dist reference: 35904eca37a84bb764c560cbfcac9f0ac2bcdbdf"
+ "url": "https://api.github.com/repos/symfony/uid/zipball/6a0394ad707de386547223948fac1e0f2805bc0b",
+ "comment": "dist reference: 6a0394ad707de386547223948fac1e0f2805bc0b"
},
{
"type": "vcs",
"url": "https://github.com/symfony/uid.git",
- "comment": "source reference: 35904eca37a84bb764c560cbfcac9f0ac2bcdbdf"
+ "comment": "source reference: 6a0394ad707de386547223948fac1e0f2805bc0b"
},
{
"type": "website",
@@ -2747,18 +2747,18 @@
},
{
"type": "vcs",
- "url": "https://github.com/symfony/uid/tree/v6.4.8",
+ "url": "https://github.com/symfony/uid/tree/v6.4.11",
"comment": "as detected from Composer manifest 'support.source'"
}
],
"properties": [
{
"name": "cdx:composer:package:distReference",
- "value": "35904eca37a84bb764c560cbfcac9f0ac2bcdbdf"
+ "value": "6a0394ad707de386547223948fac1e0f2805bc0b"
},
{
"name": "cdx:composer:package:sourceReference",
- "value": "35904eca37a84bb764c560cbfcac9f0ac2bcdbdf"
+ "value": "6a0394ad707de386547223948fac1e0f2805bc0b"
},
{
"name": "cdx:composer:package:type",
@@ -3465,7 +3465,7 @@
"psr/http-message-1.1.0.0",
"psr/simple-cache-1.0.1.0",
"spomky-labs/base64url-2.0.4.0",
- "symfony/polyfill-mbstring-1.29.0.0",
+ "symfony/polyfill-mbstring-1.30.0.0",
"web-token/jwt-checker-2.2.11.0",
"web-token/jwt-core-2.2.11.0",
"web-token/jwt-easy-2.2.11.0",
@@ -3499,7 +3499,7 @@
"ref": "firebase/php-jwt-6.10.1.0"
},
{
- "ref": "guzzlehttp/psr7-2.6.2.0",
+ "ref": "guzzlehttp/psr7-2.7.0.0",
"dependsOn": [
"psr/http-factory-1.1.0.0",
"psr/http-message-1.1.0.0",
@@ -3509,55 +3509,55 @@
{
"ref": "http-interop/http-factory-guzzle-1.2.0.0",
"dependsOn": [
- "guzzlehttp/psr7-2.6.2.0",
+ "guzzlehttp/psr7-2.7.0.0",
"psr/http-factory-1.1.0.0"
]
},
{
- "ref": "illuminate/collections-10.48.12.0",
+ "ref": "illuminate/collections-10.48.20.0",
"dependsOn": [
- "illuminate/conditionable-10.48.12.0",
- "illuminate/contracts-10.48.12.0",
- "illuminate/macroable-10.48.12.0"
+ "illuminate/conditionable-10.48.20.0",
+ "illuminate/contracts-10.48.20.0",
+ "illuminate/macroable-10.48.20.0"
]
},
{
- "ref": "illuminate/conditionable-10.48.12.0"
+ "ref": "illuminate/conditionable-10.48.20.0"
},
{
- "ref": "illuminate/contracts-10.48.12.0",
+ "ref": "illuminate/contracts-10.48.20.0",
"dependsOn": [
"psr/container-2.0.2.0",
"psr/simple-cache-1.0.1.0"
]
},
{
- "ref": "illuminate/macroable-10.48.12.0"
+ "ref": "illuminate/macroable-10.48.20.0"
},
{
- "ref": "illuminate/pagination-10.48.12.0",
+ "ref": "illuminate/pagination-10.48.20.0",
"dependsOn": [
- "illuminate/collections-10.48.12.0",
- "illuminate/contracts-10.48.12.0",
- "illuminate/support-10.48.12.0"
+ "illuminate/collections-10.48.20.0",
+ "illuminate/contracts-10.48.20.0",
+ "illuminate/support-10.48.20.0"
]
},
{
- "ref": "illuminate/support-10.48.12.0",
+ "ref": "illuminate/support-10.48.20.0",
"dependsOn": [
"doctrine/inflector-2.0.10.0",
- "illuminate/collections-10.48.12.0",
- "illuminate/conditionable-10.48.12.0",
- "illuminate/contracts-10.48.12.0",
- "illuminate/macroable-10.48.12.0",
+ "illuminate/collections-10.48.20.0",
+ "illuminate/conditionable-10.48.20.0",
+ "illuminate/contracts-10.48.20.0",
+ "illuminate/macroable-10.48.20.0",
"nesbot/carbon-2.72.5.0",
"voku/portable-ascii-2.0.1.0"
]
},
{
- "ref": "monolog/monolog-3.6.0.0",
+ "ref": "monolog/monolog-3.7.0.0",
"dependsOn": [
- "psr/log-3.0.0.0"
+ "psr/log-3.0.1.0"
]
},
{
@@ -3565,9 +3565,9 @@
"dependsOn": [
"carbonphp/carbon-doctrine-types-3.2.0.0",
"psr/clock-1.0.0.0",
- "symfony/polyfill-mbstring-1.29.0.0",
- "symfony/polyfill-php80-1.29.0.0",
- "symfony/translation-6.4.8.0"
+ "symfony/polyfill-mbstring-1.30.0.0",
+ "symfony/polyfill-php80-1.30.0.0",
+ "symfony/translation-6.4.10.0"
]
},
{
@@ -3583,7 +3583,7 @@
"ref": "phpmailer/phpmailer-6.9.1.0"
},
{
- "ref": "phpseclib/phpseclib-3.0.37.0",
+ "ref": "phpseclib/phpseclib-3.0.41.0",
"dependsOn": [
"paragonie/constant_time_encoding-2.7.0.0",
"paragonie/random_compat-2.0.21.0"
@@ -3624,7 +3624,7 @@
]
},
{
- "ref": "psr/log-3.0.0.0"
+ "ref": "psr/log-3.0.1.0"
},
{
"ref": "psr/simple-cache-1.0.1.0"
@@ -3636,7 +3636,7 @@
"ref": "spomky-labs/base64url-2.0.4.0"
},
{
- "ref": "spomky-labs/cbor-php-3.0.4.0",
+ "ref": "spomky-labs/cbor-php-3.1.0.0",
"dependsOn": [
"brick/math-0.9.3.0"
]
@@ -3645,9 +3645,9 @@
"ref": "symfony/deprecation-contracts-3.5.0.0"
},
{
- "ref": "symfony/http-client-6.4.8.0",
+ "ref": "symfony/http-client-6.4.11.0",
"dependsOn": [
- "psr/log-3.0.0.0",
+ "psr/log-3.0.1.0",
"symfony/deprecation-contracts-3.5.0.0",
"symfony/http-client-contracts-3.5.0.0",
"symfony/service-contracts-3.5.0.0"
@@ -3657,33 +3657,30 @@
"ref": "symfony/http-client-contracts-3.5.0.0"
},
{
- "ref": "symfony/http-foundation-6.4.8.0",
+ "ref": "symfony/http-foundation-6.4.10.0",
"dependsOn": [
"symfony/deprecation-contracts-3.5.0.0",
- "symfony/polyfill-mbstring-1.29.0.0",
- "symfony/polyfill-php83-1.29.0.0"
+ "symfony/polyfill-mbstring-1.30.0.0",
+ "symfony/polyfill-php83-1.30.0.0"
]
},
{
- "ref": "symfony/polyfill-mbstring-1.29.0.0"
+ "ref": "symfony/polyfill-mbstring-1.30.0.0"
},
{
- "ref": "symfony/polyfill-php80-1.29.0.0"
+ "ref": "symfony/polyfill-php80-1.30.0.0"
},
{
- "ref": "symfony/polyfill-php83-1.29.0.0",
- "dependsOn": [
- "symfony/polyfill-php80-1.29.0.0"
- ]
+ "ref": "symfony/polyfill-php83-1.30.0.0"
},
{
- "ref": "symfony/polyfill-uuid-1.29.0.0"
+ "ref": "symfony/polyfill-uuid-1.30.0.0"
},
{
- "ref": "symfony/psr-http-message-bridge-6.4.8.0",
+ "ref": "symfony/psr-http-message-bridge-6.4.11.0",
"dependsOn": [
"psr/http-message-1.1.0.0",
- "symfony/http-foundation-6.4.8.0"
+ "symfony/http-foundation-6.4.10.0"
]
},
{
@@ -3694,10 +3691,10 @@
]
},
{
- "ref": "symfony/translation-6.4.8.0",
+ "ref": "symfony/translation-6.4.10.0",
"dependsOn": [
"symfony/deprecation-contracts-3.5.0.0",
- "symfony/polyfill-mbstring-1.29.0.0",
+ "symfony/polyfill-mbstring-1.30.0.0",
"symfony/translation-contracts-3.5.0.0"
]
},
@@ -3705,9 +3702,9 @@
"ref": "symfony/translation-contracts-3.5.0.0"
},
{
- "ref": "symfony/uid-6.4.8.0",
+ "ref": "symfony/uid-6.4.11.0",
"dependsOn": [
- "symfony/polyfill-uuid-1.29.0.0"
+ "symfony/polyfill-uuid-1.30.0.0"
]
},
{
@@ -3730,7 +3727,7 @@
"paragonie/constant_time_encoding-2.7.0.0",
"psr/http-client-1.0.3.0",
"psr/http-factory-1.1.0.0",
- "psr/log-3.0.0.0"
+ "psr/log-3.0.1.0"
]
},
{
@@ -3742,9 +3739,9 @@
"psr/http-client-1.0.3.0",
"psr/http-factory-1.1.0.0",
"psr/http-message-1.1.0.0",
- "psr/log-3.0.0.0",
- "spomky-labs/cbor-php-3.0.4.0",
- "symfony/uid-6.4.8.0",
+ "psr/log-3.0.1.0",
+ "spomky-labs/cbor-php-3.1.0.0",
+ "symfony/uid-6.4.11.0",
"thecodingmachine/safe-2.5.0.0",
"web-auth/cose-lib-4.0.13.0",
"web-auth/metadata-service-4.0.5.0"
@@ -3802,29 +3799,29 @@
{
"ref": "webklex/php-imap-5.5.0.0",
"dependsOn": [
- "illuminate/pagination-10.48.12.0",
+ "illuminate/pagination-10.48.20.0",
"nesbot/carbon-2.72.5.0",
- "symfony/http-foundation-6.4.8.0"
+ "symfony/http-foundation-6.4.10.0"
]
},
{
- "ref": "ldap-account-manager/ldap-account-manager-8.8.0.0",
+ "ref": "ldap-account-manager/ldap-account-manager-8.9.0.0",
"dependsOn": [
"web-auth/webauthn-lib-4.0.5.0",
"web-auth/cose-lib-4.0.13.0",
"web-auth/metadata-service-4.0.5.0",
- "symfony/psr-http-message-bridge-6.4.8.0",
- "symfony/http-foundation-6.4.8.0",
- "symfony/http-client-6.4.8.0",
+ "symfony/psr-http-message-bridge-6.4.11.0",
+ "symfony/http-foundation-6.4.10.0",
+ "symfony/http-client-6.4.11.0",
"http-interop/http-factory-guzzle-1.2.0.0",
"webklex/php-imap-5.5.0.0",
"phpmailer/phpmailer-6.9.1.0",
- "guzzlehttp/psr7-2.6.2.0",
+ "guzzlehttp/psr7-2.7.0.0",
"paragonie/random_compat-2.0.21.0",
- "phpseclib/phpseclib-3.0.37.0",
+ "phpseclib/phpseclib-3.0.41.0",
"christian-riesen/base32-1.6.0.0",
"facile-it/php-openid-client-0.2.0.0",
- "monolog/monolog-3.6.0.0",
+ "monolog/monolog-3.7.0.0",
"duosecurity/duo_universal_php-1.0.2.0"
]
}
diff --git a/lam/sbom-libs.json b/lam/sbom-libs.json
index 641d1340e..4412ef595 100644
--- a/lam/sbom-libs.json
+++ b/lam/sbom-libs.json
@@ -1,10 +1,10 @@
{
"bomFormat" : "CycloneDX",
"specVersion" : "1.5",
- "serialNumber" : "urn:uuid:f3e3a97d-1ae7-46db-a896-250fc05a857d",
+ "serialNumber" : "urn:uuid:2b7c174d-f91f-4cf4-ab67-7a39f7f9d8ae",
"version" : 1,
"metadata" : {
- "timestamp" : "2024-06-05T18:42:19Z",
+ "timestamp" : "2024-09-05T17:36:52Z",
"tools" : [
{
"vendor" : "OWASP",
@@ -69,7 +69,7 @@
{
"group" : "cdx:npm:package:bundled",
"name" : "friendly-challenge",
- "version" : "0.9.15",
+ "version" : "0.9.17",
"licenses" : [
{
"license" : {
@@ -77,7 +77,7 @@
}
}
],
- "purl" : "pkg:npm/friendly-challenge@0.9.15",
+ "purl" : "pkg:npm/friendly-challenge@0.9.17",
"type" : "library",
"bom-ref" : "5ffbae18-bc06-4fdb-ba19-f9e9e1afdda5"
},
@@ -129,7 +129,7 @@
{
"group" : "cdx:npm:package:bundled",
"name" : "sortablejs",
- "version" : "1.15.2",
+ "version" : "1.15.3",
"licenses" : [
{
"license" : {
@@ -137,14 +137,14 @@
}
}
],
- "purl" : "pkg:npm/sortablejs@1.15.2",
+ "purl" : "pkg:npm/sortablejs@1.15.3",
"type" : "library",
"bom-ref" : "394fe3c8-0e03-407a-96e2-2d3608e97265"
},
{
"group" : "cdx:npm:package:bundled",
"name" : "sweetalert2",
- "version" : "11.11.1",
+ "version" : "11.13.2",
"licenses" : [
{
"license" : {
@@ -152,10 +152,18 @@
}
}
],
- "purl" : "pkg:npm/sweetalert2@11.11.1",
+ "purl" : "pkg:npm/sweetalert2@11.13.2",
"type" : "library",
"bom-ref" : "b1e652b5-d76e-4b07-acab-2d1a0908a96f"
},
+ {
+ "group" : "cdx:npm:package:bundled",
+ "name" : "tabulator-tables",
+ "version" : "6.2.5",
+ "purl" : "pkg:npm/tabulator-tables@6.2.5",
+ "type" : "library",
+ "bom-ref" : "78b9ccbd-dbc9-4f40-9b44-338a721cbf8a"
+ },
{
"group" : "cdx:composer:package",
"name" : "tecnickcom/tcpdf",
@@ -228,6 +236,10 @@
"ref" : "b1e652b5-d76e-4b07-acab-2d1a0908a96f",
"dependsOn" : [ ]
},
+ {
+ "ref" : "78b9ccbd-dbc9-4f40-9b44-338a721cbf8a",
+ "dependsOn" : [ ]
+ },
{
"ref" : "72240acd-7de4-4058-b56f-e64638babcbf",
"dependsOn" : [ ]
diff --git a/lam/sbom.json b/lam/sbom.json
index 72143a642..79da42652 100644
--- a/lam/sbom.json
+++ b/lam/sbom.json
@@ -1,7 +1,7 @@
{
"bomFormat": "CycloneDX",
"specVersion": "1.5",
- "serialNumber": "urn:uuid:b5f0b4a0-9355-49c2-9f60-a1268984d338",
+ "serialNumber": "urn:uuid:b730765d-2e6f-4ec9-8587-4a07759574a9",
"version": 1,
"metadata": {
"tools": [
@@ -87,7 +87,7 @@
"component": {
"type": "application",
"name": "ldap-account-manager",
- "version": "8.8"
+ "version": "8.9"
}
},
"components": [
@@ -604,11 +604,11 @@
},
{
"type": "library",
- "bom-ref": "guzzlehttp/psr7-2.6.2.0",
+ "bom-ref": "guzzlehttp/psr7-2.7.0.0",
"author": "Graham Campbell, Michael Dowling, George Mponos, Tobias Nyholm, M\u00E1rk S\u00E1gi-Kaz\u00E1r, Tobias Schultze, M\u00E1rk S\u00E1gi-Kaz\u00E1r",
"group": "guzzlehttp",
"name": "psr7",
- "version": "2.6.2",
+ "version": "2.7.0",
"description": "PSR-7 message implementation that also provides common utility methods",
"licenses": [
{
@@ -617,17 +617,17 @@
}
}
],
- "purl": "pkg:composer/guzzlehttp/psr7@2.6.2",
+ "purl": "pkg:composer/guzzlehttp/psr7@2.7.0",
"externalReferences": [
{
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/45b30f99ac27b5ca93cb4831afe16285f57b8221",
+ "url": "https://api.github.com/repos/guzzle/psr7/zipball/a70f5c95fb43bc83f07c9c948baa0dc1829bf201",
"type": "distribution",
- "comment": "dist reference: 45b30f99ac27b5ca93cb4831afe16285f57b8221"
+ "comment": "dist reference: a70f5c95fb43bc83f07c9c948baa0dc1829bf201"
},
{
"url": "https://github.com/guzzle/psr7.git",
"type": "vcs",
- "comment": "source reference: 45b30f99ac27b5ca93cb4831afe16285f57b8221"
+ "comment": "source reference: a70f5c95fb43bc83f07c9c948baa0dc1829bf201"
},
{
"url": "https://github.com/guzzle/psr7/issues",
@@ -635,7 +635,7 @@
"comment": "as detected from Composer manifest \u0027support.issues\u0027"
},
{
- "url": "https://github.com/guzzle/psr7/tree/2.6.2",
+ "url": "https://github.com/guzzle/psr7/tree/2.7.0",
"type": "vcs",
"comment": "as detected from Composer manifest \u0027support.source\u0027"
}
@@ -643,11 +643,11 @@
"properties": [
{
"name": "cdx:composer:package:distReference",
- "value": "45b30f99ac27b5ca93cb4831afe16285f57b8221"
+ "value": "a70f5c95fb43bc83f07c9c948baa0dc1829bf201"
},
{
"name": "cdx:composer:package:sourceReference",
- "value": "45b30f99ac27b5ca93cb4831afe16285f57b8221"
+ "value": "a70f5c95fb43bc83f07c9c948baa0dc1829bf201"
},
{
"name": "cdx:composer:package:type",
@@ -710,11 +710,11 @@
},
{
"type": "library",
- "bom-ref": "illuminate/collections-10.48.12.0",
+ "bom-ref": "illuminate/collections-10.48.20.0",
"author": "Taylor Otwell",
"group": "illuminate",
"name": "collections",
- "version": "v10.48.12",
+ "version": "v10.48.20",
"description": "The Illuminate Collections package.",
"licenses": [
{
@@ -723,17 +723,17 @@
}
}
],
- "purl": "pkg:composer/illuminate/collections@v10.48.12",
+ "purl": "pkg:composer/illuminate/collections@v10.48.20",
"externalReferences": [
{
- "url": "https://api.github.com/repos/illuminate/collections/zipball/f9589f1063a449111dcaa1d68285b507d9483a95",
+ "url": "https://api.github.com/repos/illuminate/collections/zipball/37c863cffb345869dd134eff8e646bc82a19cc96",
"type": "distribution",
- "comment": "dist reference: f9589f1063a449111dcaa1d68285b507d9483a95"
+ "comment": "dist reference: 37c863cffb345869dd134eff8e646bc82a19cc96"
},
{
"url": "https://github.com/illuminate/collections.git",
"type": "vcs",
- "comment": "source reference: f9589f1063a449111dcaa1d68285b507d9483a95"
+ "comment": "source reference: 37c863cffb345869dd134eff8e646bc82a19cc96"
},
{
"url": "https://laravel.com",
@@ -754,11 +754,11 @@
"properties": [
{
"name": "cdx:composer:package:distReference",
- "value": "f9589f1063a449111dcaa1d68285b507d9483a95"
+ "value": "37c863cffb345869dd134eff8e646bc82a19cc96"
},
{
"name": "cdx:composer:package:sourceReference",
- "value": "f9589f1063a449111dcaa1d68285b507d9483a95"
+ "value": "37c863cffb345869dd134eff8e646bc82a19cc96"
},
{
"name": "cdx:composer:package:type",
@@ -768,11 +768,11 @@
},
{
"type": "library",
- "bom-ref": "illuminate/conditionable-10.48.12.0",
+ "bom-ref": "illuminate/conditionable-10.48.20.0",
"author": "Taylor Otwell",
"group": "illuminate",
"name": "conditionable",
- "version": "v10.48.12",
+ "version": "v10.48.20",
"description": "The Illuminate Conditionable package.",
"licenses": [
{
@@ -781,7 +781,7 @@
}
}
],
- "purl": "pkg:composer/illuminate/conditionable@v10.48.12",
+ "purl": "pkg:composer/illuminate/conditionable@v10.48.20",
"externalReferences": [
{
"url": "https://api.github.com/repos/illuminate/conditionable/zipball/d0958e4741fc9d6f516a552060fd1b829a85e009",
@@ -826,11 +826,11 @@
},
{
"type": "library",
- "bom-ref": "illuminate/contracts-10.48.12.0",
+ "bom-ref": "illuminate/contracts-10.48.20.0",
"author": "Taylor Otwell",
"group": "illuminate",
"name": "contracts",
- "version": "v10.48.12",
+ "version": "v10.48.20",
"description": "The Illuminate Contracts package.",
"licenses": [
{
@@ -839,7 +839,7 @@
}
}
],
- "purl": "pkg:composer/illuminate/contracts@v10.48.12",
+ "purl": "pkg:composer/illuminate/contracts@v10.48.20",
"externalReferences": [
{
"url": "https://api.github.com/repos/illuminate/contracts/zipball/8d7152c4a1f5d9cf7da3e8b71f23e4556f6138ac",
@@ -884,11 +884,11 @@
},
{
"type": "library",
- "bom-ref": "illuminate/macroable-10.48.12.0",
+ "bom-ref": "illuminate/macroable-10.48.20.0",
"author": "Taylor Otwell",
"group": "illuminate",
"name": "macroable",
- "version": "v10.48.12",
+ "version": "v10.48.20",
"description": "The Illuminate Macroable package.",
"licenses": [
{
@@ -897,7 +897,7 @@
}
}
],
- "purl": "pkg:composer/illuminate/macroable@v10.48.12",
+ "purl": "pkg:composer/illuminate/macroable@v10.48.20",
"externalReferences": [
{
"url": "https://api.github.com/repos/illuminate/macroable/zipball/dff667a46ac37b634dcf68909d9d41e94dc97c27",
@@ -942,11 +942,11 @@
},
{
"type": "library",
- "bom-ref": "illuminate/pagination-10.48.12.0",
+ "bom-ref": "illuminate/pagination-10.48.20.0",
"author": "Taylor Otwell",
"group": "illuminate",
"name": "pagination",
- "version": "v10.48.12",
+ "version": "v10.48.20",
"description": "The Illuminate Pagination package.",
"licenses": [
{
@@ -955,7 +955,7 @@
}
}
],
- "purl": "pkg:composer/illuminate/pagination@v10.48.12",
+ "purl": "pkg:composer/illuminate/pagination@v10.48.20",
"externalReferences": [
{
"url": "https://api.github.com/repos/illuminate/pagination/zipball/616874b9607ff35925347e1710a8b5151858cdf2",
@@ -1000,11 +1000,11 @@
},
{
"type": "library",
- "bom-ref": "illuminate/support-10.48.12.0",
+ "bom-ref": "illuminate/support-10.48.20.0",
"author": "Taylor Otwell",
"group": "illuminate",
"name": "support",
- "version": "v10.48.12",
+ "version": "v10.48.20",
"description": "The Illuminate Support package.",
"licenses": [
{
@@ -1013,17 +1013,17 @@
}
}
],
- "purl": "pkg:composer/illuminate/support@v10.48.12",
+ "purl": "pkg:composer/illuminate/support@v10.48.20",
"externalReferences": [
{
- "url": "https://api.github.com/repos/illuminate/support/zipball/263f389d81488c237846b69469f91387ca2729f3",
+ "url": "https://api.github.com/repos/illuminate/support/zipball/56c6d9895605b019e3debb9440454596ef99312a",
"type": "distribution",
- "comment": "dist reference: 263f389d81488c237846b69469f91387ca2729f3"
+ "comment": "dist reference: 56c6d9895605b019e3debb9440454596ef99312a"
},
{
"url": "https://github.com/illuminate/support.git",
"type": "vcs",
- "comment": "source reference: 263f389d81488c237846b69469f91387ca2729f3"
+ "comment": "source reference: 56c6d9895605b019e3debb9440454596ef99312a"
},
{
"url": "https://laravel.com",
@@ -1044,11 +1044,11 @@
"properties": [
{
"name": "cdx:composer:package:distReference",
- "value": "263f389d81488c237846b69469f91387ca2729f3"
+ "value": "56c6d9895605b019e3debb9440454596ef99312a"
},
{
"name": "cdx:composer:package:sourceReference",
- "value": "263f389d81488c237846b69469f91387ca2729f3"
+ "value": "56c6d9895605b019e3debb9440454596ef99312a"
},
{
"name": "cdx:composer:package:type",
@@ -1058,11 +1058,11 @@
},
{
"type": "library",
- "bom-ref": "monolog/monolog-3.6.0.0",
+ "bom-ref": "monolog/monolog-3.7.0.0",
"author": "Jordi Boggiano",
"group": "monolog",
"name": "monolog",
- "version": "3.6.0",
+ "version": "3.7.0",
"description": "Sends your logs to files, sockets, inboxes, databases and various web services",
"licenses": [
{
@@ -1071,17 +1071,17 @@
}
}
],
- "purl": "pkg:composer/monolog/monolog@3.6.0",
+ "purl": "pkg:composer/monolog/monolog@3.7.0",
"externalReferences": [
{
- "url": "https://api.github.com/repos/Seldaek/monolog/zipball/4b18b21a5527a3d5ffdac2fd35d3ab25a9597654",
+ "url": "https://api.github.com/repos/Seldaek/monolog/zipball/f4393b648b78a5408747de94fca38beb5f7e9ef8",
"type": "distribution",
- "comment": "dist reference: 4b18b21a5527a3d5ffdac2fd35d3ab25a9597654"
+ "comment": "dist reference: f4393b648b78a5408747de94fca38beb5f7e9ef8"
},
{
"url": "https://github.com/Seldaek/monolog.git",
"type": "vcs",
- "comment": "source reference: 4b18b21a5527a3d5ffdac2fd35d3ab25a9597654"
+ "comment": "source reference: f4393b648b78a5408747de94fca38beb5f7e9ef8"
},
{
"url": "https://github.com/Seldaek/monolog",
@@ -1094,7 +1094,7 @@
"comment": "as detected from Composer manifest \u0027support.issues\u0027"
},
{
- "url": "https://github.com/Seldaek/monolog/tree/3.6.0",
+ "url": "https://github.com/Seldaek/monolog/tree/3.7.0",
"type": "vcs",
"comment": "as detected from Composer manifest \u0027support.source\u0027"
}
@@ -1102,11 +1102,11 @@
"properties": [
{
"name": "cdx:composer:package:distReference",
- "value": "4b18b21a5527a3d5ffdac2fd35d3ab25a9597654"
+ "value": "f4393b648b78a5408747de94fca38beb5f7e9ef8"
},
{
"name": "cdx:composer:package:sourceReference",
- "value": "4b18b21a5527a3d5ffdac2fd35d3ab25a9597654"
+ "value": "f4393b648b78a5408747de94fca38beb5f7e9ef8"
},
{
"name": "cdx:composer:package:type",
@@ -1406,11 +1406,11 @@
},
{
"type": "library",
- "bom-ref": "phpseclib/phpseclib-3.0.37.0",
+ "bom-ref": "phpseclib/phpseclib-3.0.41.0",
"author": "Jim Wigginton, Patrick Monnerat, Andreas Fischer, Hans-J\u00FCrgen Petrich, Graham Campbell",
"group": "phpseclib",
"name": "phpseclib",
- "version": "3.0.37",
+ "version": "3.0.41",
"description": "PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.",
"licenses": [
{
@@ -1419,17 +1419,17 @@
}
}
],
- "purl": "pkg:composer/phpseclib/phpseclib@3.0.37",
+ "purl": "pkg:composer/phpseclib/phpseclib@3.0.41",
"externalReferences": [
{
- "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/cfa2013d0f68c062055180dd4328cc8b9d1f30b8",
+ "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/621c73f7dcb310b61de34d1da4c4204e8ace6ceb",
"type": "distribution",
- "comment": "dist reference: cfa2013d0f68c062055180dd4328cc8b9d1f30b8"
+ "comment": "dist reference: 621c73f7dcb310b61de34d1da4c4204e8ace6ceb"
},
{
"url": "https://github.com/phpseclib/phpseclib.git",
"type": "vcs",
- "comment": "source reference: cfa2013d0f68c062055180dd4328cc8b9d1f30b8"
+ "comment": "source reference: 621c73f7dcb310b61de34d1da4c4204e8ace6ceb"
},
{
"url": "http://phpseclib.sourceforge.net",
@@ -1442,7 +1442,7 @@
"comment": "as detected from Composer manifest \u0027support.issues\u0027"
},
{
- "url": "https://github.com/phpseclib/phpseclib/tree/3.0.37",
+ "url": "https://github.com/phpseclib/phpseclib/tree/3.0.41",
"type": "vcs",
"comment": "as detected from Composer manifest \u0027support.source\u0027"
}
@@ -1450,11 +1450,11 @@
"properties": [
{
"name": "cdx:composer:package:distReference",
- "value": "cfa2013d0f68c062055180dd4328cc8b9d1f30b8"
+ "value": "621c73f7dcb310b61de34d1da4c4204e8ace6ceb"
},
{
"name": "cdx:composer:package:sourceReference",
- "value": "cfa2013d0f68c062055180dd4328cc8b9d1f30b8"
+ "value": "621c73f7dcb310b61de34d1da4c4204e8ace6ceb"
},
{
"name": "cdx:composer:package:type",
@@ -1835,11 +1835,11 @@
},
{
"type": "library",
- "bom-ref": "psr/log-3.0.0.0",
+ "bom-ref": "psr/log-3.0.1.0",
"author": "PHP-FIG",
"group": "psr",
"name": "log",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "Common interface for logging libraries",
"licenses": [
{
@@ -1848,17 +1848,17 @@
}
}
],
- "purl": "pkg:composer/psr/log@3.0.0",
+ "purl": "pkg:composer/psr/log@3.0.1",
"externalReferences": [
{
- "url": "https://api.github.com/repos/php-fig/log/zipball/fe5ea303b0887d5caefd3d431c3e61ad47037001",
+ "url": "https://api.github.com/repos/php-fig/log/zipball/79dff0b268932c640297f5208d6298f71855c03e",
"type": "distribution",
- "comment": "dist reference: fe5ea303b0887d5caefd3d431c3e61ad47037001"
+ "comment": "dist reference: 79dff0b268932c640297f5208d6298f71855c03e"
},
{
"url": "https://github.com/php-fig/log.git",
"type": "vcs",
- "comment": "source reference: fe5ea303b0887d5caefd3d431c3e61ad47037001"
+ "comment": "source reference: 79dff0b268932c640297f5208d6298f71855c03e"
},
{
"url": "https://github.com/php-fig/log",
@@ -1866,7 +1866,7 @@
"comment": "as detected from Composer manifest \u0027homepage\u0027"
},
{
- "url": "https://github.com/php-fig/log/tree/3.0.0",
+ "url": "https://github.com/php-fig/log/tree/3.0.1",
"type": "vcs",
"comment": "as detected from Composer manifest \u0027support.source\u0027"
}
@@ -1874,11 +1874,11 @@
"properties": [
{
"name": "cdx:composer:package:distReference",
- "value": "fe5ea303b0887d5caefd3d431c3e61ad47037001"
+ "value": "79dff0b268932c640297f5208d6298f71855c03e"
},
{
"name": "cdx:composer:package:sourceReference",
- "value": "fe5ea303b0887d5caefd3d431c3e61ad47037001"
+ "value": "79dff0b268932c640297f5208d6298f71855c03e"
},
{
"name": "cdx:composer:package:type",
@@ -2022,11 +2022,11 @@
},
{
"type": "library",
- "bom-ref": "spomky-labs/cbor-php-3.0.4.0",
+ "bom-ref": "spomky-labs/cbor-php-3.1.0.0",
"author": "Florent Morselli, All contributors",
"group": "spomky-labs",
"name": "cbor-php",
- "version": "3.0.4",
+ "version": "3.1.0",
"description": "CBOR Encoder/Decoder for PHP",
"licenses": [
{
@@ -2035,17 +2035,17 @@
}
}
],
- "purl": "pkg:composer/spomky-labs/cbor-php@3.0.4",
+ "purl": "pkg:composer/spomky-labs/cbor-php@3.1.0",
"externalReferences": [
{
- "url": "https://api.github.com/repos/Spomky-Labs/cbor-php/zipball/658ed12a85a6b31fa312b89cd92f3a4ce6df4c6b",
+ "url": "https://api.github.com/repos/Spomky-Labs/cbor-php/zipball/499d9bff0a6d59c4f1b813cc617fc3fd56d6dca4",
"type": "distribution",
- "comment": "dist reference: 658ed12a85a6b31fa312b89cd92f3a4ce6df4c6b"
+ "comment": "dist reference: 499d9bff0a6d59c4f1b813cc617fc3fd56d6dca4"
},
{
"url": "https://github.com/Spomky-Labs/cbor-php.git",
"type": "vcs",
- "comment": "source reference: 658ed12a85a6b31fa312b89cd92f3a4ce6df4c6b"
+ "comment": "source reference: 499d9bff0a6d59c4f1b813cc617fc3fd56d6dca4"
},
{
"url": "https://github.com/Spomky-Labs/cbor-php/issues",
@@ -2053,7 +2053,7 @@
"comment": "as detected from Composer manifest \u0027support.issues\u0027"
},
{
- "url": "https://github.com/Spomky-Labs/cbor-php/tree/3.0.4",
+ "url": "https://github.com/Spomky-Labs/cbor-php/tree/3.1.0",
"type": "vcs",
"comment": "as detected from Composer manifest \u0027support.source\u0027"
}
@@ -2061,11 +2061,11 @@
"properties": [
{
"name": "cdx:composer:package:distReference",
- "value": "658ed12a85a6b31fa312b89cd92f3a4ce6df4c6b"
+ "value": "499d9bff0a6d59c4f1b813cc617fc3fd56d6dca4"
},
{
"name": "cdx:composer:package:sourceReference",
- "value": "658ed12a85a6b31fa312b89cd92f3a4ce6df4c6b"
+ "value": "499d9bff0a6d59c4f1b813cc617fc3fd56d6dca4"
},
{
"name": "cdx:composer:package:type",
@@ -2128,11 +2128,11 @@
},
{
"type": "library",
- "bom-ref": "symfony/http-client-6.4.8.0",
+ "bom-ref": "symfony/http-client-6.4.11.0",
"author": "Nicolas Grekas, Symfony Community",
"group": "symfony",
"name": "http-client",
- "version": "v6.4.8",
+ "version": "v6.4.11",
"description": "Provides powerful methods to fetch HTTP resources synchronously or asynchronously",
"licenses": [
{
@@ -2141,17 +2141,17 @@
}
}
],
- "purl": "pkg:composer/symfony/http-client@v6.4.8",
+ "purl": "pkg:composer/symfony/http-client@v6.4.11",
"externalReferences": [
{
- "url": "https://api.github.com/repos/symfony/http-client/zipball/61faba993e620fc22d4f0ab3b6bcf8fbb0d44b05",
+ "url": "https://api.github.com/repos/symfony/http-client/zipball/4c92046bb788648ff1098cc66da69aa7eac8cb65",
"type": "distribution",
- "comment": "dist reference: 61faba993e620fc22d4f0ab3b6bcf8fbb0d44b05"
+ "comment": "dist reference: 4c92046bb788648ff1098cc66da69aa7eac8cb65"
},
{
"url": "https://github.com/symfony/http-client.git",
"type": "vcs",
- "comment": "source reference: 61faba993e620fc22d4f0ab3b6bcf8fbb0d44b05"
+ "comment": "source reference: 4c92046bb788648ff1098cc66da69aa7eac8cb65"
},
{
"url": "https://symfony.com",
@@ -2159,7 +2159,7 @@
"comment": "as detected from Composer manifest \u0027homepage\u0027"
},
{
- "url": "https://github.com/symfony/http-client/tree/v6.4.8",
+ "url": "https://github.com/symfony/http-client/tree/v6.4.11",
"type": "vcs",
"comment": "as detected from Composer manifest \u0027support.source\u0027"
}
@@ -2167,11 +2167,11 @@
"properties": [
{
"name": "cdx:composer:package:distReference",
- "value": "61faba993e620fc22d4f0ab3b6bcf8fbb0d44b05"
+ "value": "4c92046bb788648ff1098cc66da69aa7eac8cb65"
},
{
"name": "cdx:composer:package:sourceReference",
- "value": "61faba993e620fc22d4f0ab3b6bcf8fbb0d44b05"
+ "value": "4c92046bb788648ff1098cc66da69aa7eac8cb65"
},
{
"name": "cdx:composer:package:type",
@@ -2234,11 +2234,11 @@
},
{
"type": "library",
- "bom-ref": "symfony/http-foundation-6.4.8.0",
+ "bom-ref": "symfony/http-foundation-6.4.10.0",
"author": "Fabien Potencier, Symfony Community",
"group": "symfony",
"name": "http-foundation",
- "version": "v6.4.8",
+ "version": "v6.4.10",
"description": "Defines an object-oriented layer for the HTTP specification",
"licenses": [
{
@@ -2247,17 +2247,17 @@
}
}
],
- "purl": "pkg:composer/symfony/http-foundation@v6.4.8",
+ "purl": "pkg:composer/symfony/http-foundation@v6.4.10",
"externalReferences": [
{
- "url": "https://api.github.com/repos/symfony/http-foundation/zipball/27de8cc95e11db7a50b027e71caaab9024545947",
+ "url": "https://api.github.com/repos/symfony/http-foundation/zipball/117f1f20a7ade7bcea28b861fb79160a21a1e37b",
"type": "distribution",
- "comment": "dist reference: 27de8cc95e11db7a50b027e71caaab9024545947"
+ "comment": "dist reference: 117f1f20a7ade7bcea28b861fb79160a21a1e37b"
},
{
"url": "https://github.com/symfony/http-foundation.git",
"type": "vcs",
- "comment": "source reference: 27de8cc95e11db7a50b027e71caaab9024545947"
+ "comment": "source reference: 117f1f20a7ade7bcea28b861fb79160a21a1e37b"
},
{
"url": "https://symfony.com",
@@ -2265,7 +2265,7 @@
"comment": "as detected from Composer manifest \u0027homepage\u0027"
},
{
- "url": "https://github.com/symfony/http-foundation/tree/v6.4.8",
+ "url": "https://github.com/symfony/http-foundation/tree/v6.4.10",
"type": "vcs",
"comment": "as detected from Composer manifest \u0027support.source\u0027"
}
@@ -2273,11 +2273,11 @@
"properties": [
{
"name": "cdx:composer:package:distReference",
- "value": "27de8cc95e11db7a50b027e71caaab9024545947"
+ "value": "117f1f20a7ade7bcea28b861fb79160a21a1e37b"
},
{
"name": "cdx:composer:package:sourceReference",
- "value": "27de8cc95e11db7a50b027e71caaab9024545947"
+ "value": "117f1f20a7ade7bcea28b861fb79160a21a1e37b"
},
{
"name": "cdx:composer:package:type",
@@ -2287,11 +2287,11 @@
},
{
"type": "library",
- "bom-ref": "symfony/polyfill-mbstring-1.29.0.0",
+ "bom-ref": "symfony/polyfill-mbstring-1.30.0.0",
"author": "Nicolas Grekas, Symfony Community",
"group": "symfony",
"name": "polyfill-mbstring",
- "version": "v1.29.0",
+ "version": "v1.30.0",
"description": "Symfony polyfill for the Mbstring extension",
"licenses": [
{
@@ -2300,17 +2300,17 @@
}
}
],
- "purl": "pkg:composer/symfony/polyfill-mbstring@v1.29.0",
+ "purl": "pkg:composer/symfony/polyfill-mbstring@v1.30.0",
"externalReferences": [
{
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/9773676c8a1bb1f8d4340a62efe641cf76eda7ec",
+ "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/fd22ab50000ef01661e2a31d850ebaa297f8e03c",
"type": "distribution",
- "comment": "dist reference: 9773676c8a1bb1f8d4340a62efe641cf76eda7ec"
+ "comment": "dist reference: fd22ab50000ef01661e2a31d850ebaa297f8e03c"
},
{
"url": "https://github.com/symfony/polyfill-mbstring.git",
"type": "vcs",
- "comment": "source reference: 9773676c8a1bb1f8d4340a62efe641cf76eda7ec"
+ "comment": "source reference: fd22ab50000ef01661e2a31d850ebaa297f8e03c"
},
{
"url": "https://symfony.com",
@@ -2318,7 +2318,7 @@
"comment": "as detected from Composer manifest \u0027homepage\u0027"
},
{
- "url": "https://github.com/symfony/polyfill-mbstring/tree/v1.29.0",
+ "url": "https://github.com/symfony/polyfill-mbstring/tree/v1.30.0",
"type": "vcs",
"comment": "as detected from Composer manifest \u0027support.source\u0027"
}
@@ -2326,11 +2326,11 @@
"properties": [
{
"name": "cdx:composer:package:distReference",
- "value": "9773676c8a1bb1f8d4340a62efe641cf76eda7ec"
+ "value": "fd22ab50000ef01661e2a31d850ebaa297f8e03c"
},
{
"name": "cdx:composer:package:sourceReference",
- "value": "9773676c8a1bb1f8d4340a62efe641cf76eda7ec"
+ "value": "fd22ab50000ef01661e2a31d850ebaa297f8e03c"
},
{
"name": "cdx:composer:package:type",
@@ -2340,11 +2340,11 @@
},
{
"type": "library",
- "bom-ref": "symfony/polyfill-php80-1.29.0.0",
+ "bom-ref": "symfony/polyfill-php80-1.30.0.0",
"author": "Ion Bazan, Nicolas Grekas, Symfony Community",
"group": "symfony",
"name": "polyfill-php80",
- "version": "v1.29.0",
+ "version": "v1.30.0",
"description": "Symfony polyfill backporting some PHP 8.0\u002B features to lower PHP versions",
"licenses": [
{
@@ -2353,17 +2353,17 @@
}
}
],
- "purl": "pkg:composer/symfony/polyfill-php80@v1.29.0",
+ "purl": "pkg:composer/symfony/polyfill-php80@v1.30.0",
"externalReferences": [
{
- "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/87b68208d5c1188808dd7839ee1e6c8ec3b02f1b",
+ "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/77fa7995ac1b21ab60769b7323d600a991a90433",
"type": "distribution",
- "comment": "dist reference: 87b68208d5c1188808dd7839ee1e6c8ec3b02f1b"
+ "comment": "dist reference: 77fa7995ac1b21ab60769b7323d600a991a90433"
},
{
"url": "https://github.com/symfony/polyfill-php80.git",
"type": "vcs",
- "comment": "source reference: 87b68208d5c1188808dd7839ee1e6c8ec3b02f1b"
+ "comment": "source reference: 77fa7995ac1b21ab60769b7323d600a991a90433"
},
{
"url": "https://symfony.com",
@@ -2371,7 +2371,7 @@
"comment": "as detected from Composer manifest \u0027homepage\u0027"
},
{
- "url": "https://github.com/symfony/polyfill-php80/tree/v1.29.0",
+ "url": "https://github.com/symfony/polyfill-php80/tree/v1.30.0",
"type": "vcs",
"comment": "as detected from Composer manifest \u0027support.source\u0027"
}
@@ -2379,11 +2379,11 @@
"properties": [
{
"name": "cdx:composer:package:distReference",
- "value": "87b68208d5c1188808dd7839ee1e6c8ec3b02f1b"
+ "value": "77fa7995ac1b21ab60769b7323d600a991a90433"
},
{
"name": "cdx:composer:package:sourceReference",
- "value": "87b68208d5c1188808dd7839ee1e6c8ec3b02f1b"
+ "value": "77fa7995ac1b21ab60769b7323d600a991a90433"
},
{
"name": "cdx:composer:package:type",
@@ -2393,11 +2393,11 @@
},
{
"type": "library",
- "bom-ref": "symfony/polyfill-php83-1.29.0.0",
+ "bom-ref": "symfony/polyfill-php83-1.30.0.0",
"author": "Nicolas Grekas, Symfony Community",
"group": "symfony",
"name": "polyfill-php83",
- "version": "v1.29.0",
+ "version": "v1.30.0",
"description": "Symfony polyfill backporting some PHP 8.3\u002B features to lower PHP versions",
"licenses": [
{
@@ -2406,17 +2406,17 @@
}
}
],
- "purl": "pkg:composer/symfony/polyfill-php83@v1.29.0",
+ "purl": "pkg:composer/symfony/polyfill-php83@v1.30.0",
"externalReferences": [
{
- "url": "https://api.github.com/repos/symfony/polyfill-php83/zipball/86fcae159633351e5fd145d1c47de6c528f8caff",
+ "url": "https://api.github.com/repos/symfony/polyfill-php83/zipball/dbdcdf1a4dcc2743591f1079d0c35ab1e2dcbbc9",
"type": "distribution",
- "comment": "dist reference: 86fcae159633351e5fd145d1c47de6c528f8caff"
+ "comment": "dist reference: dbdcdf1a4dcc2743591f1079d0c35ab1e2dcbbc9"
},
{
"url": "https://github.com/symfony/polyfill-php83.git",
"type": "vcs",
- "comment": "source reference: 86fcae159633351e5fd145d1c47de6c528f8caff"
+ "comment": "source reference: dbdcdf1a4dcc2743591f1079d0c35ab1e2dcbbc9"
},
{
"url": "https://symfony.com",
@@ -2424,7 +2424,7 @@
"comment": "as detected from Composer manifest \u0027homepage\u0027"
},
{
- "url": "https://github.com/symfony/polyfill-php83/tree/v1.29.0",
+ "url": "https://github.com/symfony/polyfill-php83/tree/v1.30.0",
"type": "vcs",
"comment": "as detected from Composer manifest \u0027support.source\u0027"
}
@@ -2432,11 +2432,11 @@
"properties": [
{
"name": "cdx:composer:package:distReference",
- "value": "86fcae159633351e5fd145d1c47de6c528f8caff"
+ "value": "dbdcdf1a4dcc2743591f1079d0c35ab1e2dcbbc9"
},
{
"name": "cdx:composer:package:sourceReference",
- "value": "86fcae159633351e5fd145d1c47de6c528f8caff"
+ "value": "dbdcdf1a4dcc2743591f1079d0c35ab1e2dcbbc9"
},
{
"name": "cdx:composer:package:type",
@@ -2446,11 +2446,11 @@
},
{
"type": "library",
- "bom-ref": "symfony/polyfill-uuid-1.29.0.0",
+ "bom-ref": "symfony/polyfill-uuid-1.30.0.0",
"author": "Gr\u00E9goire Pineau, Symfony Community",
"group": "symfony",
"name": "polyfill-uuid",
- "version": "v1.29.0",
+ "version": "v1.30.0",
"description": "Symfony polyfill for uuid functions",
"licenses": [
{
@@ -2459,17 +2459,17 @@
}
}
],
- "purl": "pkg:composer/symfony/polyfill-uuid@v1.29.0",
+ "purl": "pkg:composer/symfony/polyfill-uuid@v1.30.0",
"externalReferences": [
{
- "url": "https://api.github.com/repos/symfony/polyfill-uuid/zipball/3abdd21b0ceaa3000ee950097bc3cf9efc137853",
+ "url": "https://api.github.com/repos/symfony/polyfill-uuid/zipball/2ba1f33797470debcda07fe9dce20a0003df18e9",
"type": "distribution",
- "comment": "dist reference: 3abdd21b0ceaa3000ee950097bc3cf9efc137853"
+ "comment": "dist reference: 2ba1f33797470debcda07fe9dce20a0003df18e9"
},
{
"url": "https://github.com/symfony/polyfill-uuid.git",
"type": "vcs",
- "comment": "source reference: 3abdd21b0ceaa3000ee950097bc3cf9efc137853"
+ "comment": "source reference: 2ba1f33797470debcda07fe9dce20a0003df18e9"
},
{
"url": "https://symfony.com",
@@ -2477,7 +2477,7 @@
"comment": "as detected from Composer manifest \u0027homepage\u0027"
},
{
- "url": "https://github.com/symfony/polyfill-uuid/tree/v1.29.0",
+ "url": "https://github.com/symfony/polyfill-uuid/tree/v1.30.0",
"type": "vcs",
"comment": "as detected from Composer manifest \u0027support.source\u0027"
}
@@ -2485,11 +2485,11 @@
"properties": [
{
"name": "cdx:composer:package:distReference",
- "value": "3abdd21b0ceaa3000ee950097bc3cf9efc137853"
+ "value": "2ba1f33797470debcda07fe9dce20a0003df18e9"
},
{
"name": "cdx:composer:package:sourceReference",
- "value": "3abdd21b0ceaa3000ee950097bc3cf9efc137853"
+ "value": "2ba1f33797470debcda07fe9dce20a0003df18e9"
},
{
"name": "cdx:composer:package:type",
@@ -2499,11 +2499,11 @@
},
{
"type": "library",
- "bom-ref": "symfony/psr-http-message-bridge-6.4.8.0",
+ "bom-ref": "symfony/psr-http-message-bridge-6.4.11.0",
"author": "Fabien Potencier, Symfony Community",
"group": "symfony",
"name": "psr-http-message-bridge",
- "version": "v6.4.8",
+ "version": "v6.4.11",
"description": "PSR HTTP message bridge",
"licenses": [
{
@@ -2512,17 +2512,17 @@
}
}
],
- "purl": "pkg:composer/symfony/psr-http-message-bridge@v6.4.8",
+ "purl": "pkg:composer/symfony/psr-http-message-bridge@v6.4.11",
"externalReferences": [
{
- "url": "https://api.github.com/repos/symfony/psr-http-message-bridge/zipball/23a162bd446b93948a2c2f6909d80ad06195be10",
+ "url": "https://api.github.com/repos/symfony/psr-http-message-bridge/zipball/74835ba54eca99a38f374f7a6d932fa510124773",
"type": "distribution",
- "comment": "dist reference: 23a162bd446b93948a2c2f6909d80ad06195be10"
+ "comment": "dist reference: 74835ba54eca99a38f374f7a6d932fa510124773"
},
{
"url": "https://github.com/symfony/psr-http-message-bridge.git",
"type": "vcs",
- "comment": "source reference: 23a162bd446b93948a2c2f6909d80ad06195be10"
+ "comment": "source reference: 74835ba54eca99a38f374f7a6d932fa510124773"
},
{
"url": "https://symfony.com",
@@ -2530,7 +2530,7 @@
"comment": "as detected from Composer manifest \u0027homepage\u0027"
},
{
- "url": "https://github.com/symfony/psr-http-message-bridge/tree/v6.4.8",
+ "url": "https://github.com/symfony/psr-http-message-bridge/tree/v6.4.11",
"type": "vcs",
"comment": "as detected from Composer manifest \u0027support.source\u0027"
}
@@ -2538,11 +2538,11 @@
"properties": [
{
"name": "cdx:composer:package:distReference",
- "value": "23a162bd446b93948a2c2f6909d80ad06195be10"
+ "value": "74835ba54eca99a38f374f7a6d932fa510124773"
},
{
"name": "cdx:composer:package:sourceReference",
- "value": "23a162bd446b93948a2c2f6909d80ad06195be10"
+ "value": "74835ba54eca99a38f374f7a6d932fa510124773"
},
{
"name": "cdx:composer:package:type",
@@ -2605,11 +2605,11 @@
},
{
"type": "library",
- "bom-ref": "symfony/translation-6.4.8.0",
+ "bom-ref": "symfony/translation-6.4.10.0",
"author": "Fabien Potencier, Symfony Community",
"group": "symfony",
"name": "translation",
- "version": "v6.4.8",
+ "version": "v6.4.10",
"description": "Provides tools to internationalize your application",
"licenses": [
{
@@ -2618,17 +2618,17 @@
}
}
],
- "purl": "pkg:composer/symfony/translation@v6.4.8",
+ "purl": "pkg:composer/symfony/translation@v6.4.10",
"externalReferences": [
{
- "url": "https://api.github.com/repos/symfony/translation/zipball/a002933b13989fc4bd0b58e04bf7eec5210e438a",
+ "url": "https://api.github.com/repos/symfony/translation/zipball/94041203f8ac200ae9e7c6a18fa6137814ccecc9",
"type": "distribution",
- "comment": "dist reference: a002933b13989fc4bd0b58e04bf7eec5210e438a"
+ "comment": "dist reference: 94041203f8ac200ae9e7c6a18fa6137814ccecc9"
},
{
"url": "https://github.com/symfony/translation.git",
"type": "vcs",
- "comment": "source reference: a002933b13989fc4bd0b58e04bf7eec5210e438a"
+ "comment": "source reference: 94041203f8ac200ae9e7c6a18fa6137814ccecc9"
},
{
"url": "https://symfony.com",
@@ -2636,7 +2636,7 @@
"comment": "as detected from Composer manifest \u0027homepage\u0027"
},
{
- "url": "https://github.com/symfony/translation/tree/v6.4.8",
+ "url": "https://github.com/symfony/translation/tree/v6.4.10",
"type": "vcs",
"comment": "as detected from Composer manifest \u0027support.source\u0027"
}
@@ -2644,11 +2644,11 @@
"properties": [
{
"name": "cdx:composer:package:distReference",
- "value": "a002933b13989fc4bd0b58e04bf7eec5210e438a"
+ "value": "94041203f8ac200ae9e7c6a18fa6137814ccecc9"
},
{
"name": "cdx:composer:package:sourceReference",
- "value": "a002933b13989fc4bd0b58e04bf7eec5210e438a"
+ "value": "94041203f8ac200ae9e7c6a18fa6137814ccecc9"
},
{
"name": "cdx:composer:package:type",
@@ -2711,11 +2711,11 @@
},
{
"type": "library",
- "bom-ref": "symfony/uid-6.4.8.0",
+ "bom-ref": "symfony/uid-6.4.11.0",
"author": "Gr\u00E9goire Pineau, Nicolas Grekas, Symfony Community",
"group": "symfony",
"name": "uid",
- "version": "v6.4.8",
+ "version": "v6.4.11",
"description": "Provides an object-oriented API to generate and represent UIDs",
"licenses": [
{
@@ -2724,17 +2724,17 @@
}
}
],
- "purl": "pkg:composer/symfony/uid@v6.4.8",
+ "purl": "pkg:composer/symfony/uid@v6.4.11",
"externalReferences": [
{
- "url": "https://api.github.com/repos/symfony/uid/zipball/35904eca37a84bb764c560cbfcac9f0ac2bcdbdf",
+ "url": "https://api.github.com/repos/symfony/uid/zipball/6a0394ad707de386547223948fac1e0f2805bc0b",
"type": "distribution",
- "comment": "dist reference: 35904eca37a84bb764c560cbfcac9f0ac2bcdbdf"
+ "comment": "dist reference: 6a0394ad707de386547223948fac1e0f2805bc0b"
},
{
"url": "https://github.com/symfony/uid.git",
"type": "vcs",
- "comment": "source reference: 35904eca37a84bb764c560cbfcac9f0ac2bcdbdf"
+ "comment": "source reference: 6a0394ad707de386547223948fac1e0f2805bc0b"
},
{
"url": "https://symfony.com",
@@ -2742,7 +2742,7 @@
"comment": "as detected from Composer manifest \u0027homepage\u0027"
},
{
- "url": "https://github.com/symfony/uid/tree/v6.4.8",
+ "url": "https://github.com/symfony/uid/tree/v6.4.11",
"type": "vcs",
"comment": "as detected from Composer manifest \u0027support.source\u0027"
}
@@ -2750,11 +2750,11 @@
"properties": [
{
"name": "cdx:composer:package:distReference",
- "value": "35904eca37a84bb764c560cbfcac9f0ac2bcdbdf"
+ "value": "6a0394ad707de386547223948fac1e0f2805bc0b"
},
{
"name": "cdx:composer:package:sourceReference",
- "value": "35904eca37a84bb764c560cbfcac9f0ac2bcdbdf"
+ "value": "6a0394ad707de386547223948fac1e0f2805bc0b"
},
{
"name": "cdx:composer:package:type",
@@ -3432,11 +3432,11 @@
},
{
"type": "application",
- "bom-ref": "ldap-account-manager/ldap-account-manager-8.8.0.0",
+ "bom-ref": "ldap-account-manager/ldap-account-manager-8.9.0.0",
"group": "ldap-account-manager",
"name": "ldap-account-manager",
- "version": "8.8",
- "purl": "pkg:composer/ldap-account-manager/ldap-account-manager@8.8",
+ "version": "8.9",
+ "purl": "pkg:composer/ldap-account-manager/ldap-account-manager@8.9",
"properties": [
{
"name": "cdx:composer:package:type",
@@ -3494,7 +3494,7 @@
"bom-ref": "5ffbae18-bc06-4fdb-ba19-f9e9e1afdda5",
"group": "cdx:npm:package:bundled",
"name": "friendly-challenge",
- "version": "0.9.15",
+ "version": "0.9.17",
"licenses": [
{
"license": {
@@ -3502,7 +3502,7 @@
}
}
],
- "purl": "pkg:npm/friendly-challenge@0.9.15"
+ "purl": "pkg:npm/friendly-challenge@0.9.17"
},
{
"type": "library",
@@ -3554,7 +3554,7 @@
"bom-ref": "394fe3c8-0e03-407a-96e2-2d3608e97265",
"group": "cdx:npm:package:bundled",
"name": "sortablejs",
- "version": "1.15.2",
+ "version": "1.15.3",
"licenses": [
{
"license": {
@@ -3562,14 +3562,14 @@
}
}
],
- "purl": "pkg:npm/sortablejs@1.15.2"
+ "purl": "pkg:npm/sortablejs@1.15.3"
},
{
"type": "library",
"bom-ref": "b1e652b5-d76e-4b07-acab-2d1a0908a96f",
"group": "cdx:npm:package:bundled",
"name": "sweetalert2",
- "version": "11.11.1",
+ "version": "11.13.2",
"licenses": [
{
"license": {
@@ -3577,7 +3577,15 @@
}
}
],
- "purl": "pkg:npm/sweetalert2@11.11.1"
+ "purl": "pkg:npm/sweetalert2@11.13.2"
+ },
+ {
+ "type": "library",
+ "bom-ref": "78b9ccbd-dbc9-4f40-9b44-338a721cbf8a",
+ "group": "cdx:npm:package:bundled",
+ "name": "tabulator-tables",
+ "version": "6.2.5",
+ "purl": "pkg:npm/tabulator-tables@6.2.5"
},
{
"type": "library",
@@ -3614,7 +3622,7 @@
"bom-ref": "c2095505-c3af-4958-af68-6a61f216807d",
"group": "ldap-account-manager",
"name": "ldap-account-manager",
- "version": "8.8"
+ "version": "8.9"
}
],
"dependencies": [
@@ -3647,7 +3655,7 @@
"psr/http-message-1.1.0.0",
"psr/simple-cache-1.0.1.0",
"spomky-labs/base64url-2.0.4.0",
- "symfony/polyfill-mbstring-1.29.0.0",
+ "symfony/polyfill-mbstring-1.30.0.0",
"web-token/jwt-checker-2.2.11.0",
"web-token/jwt-core-2.2.11.0",
"web-token/jwt-easy-2.2.11.0",
@@ -3681,7 +3689,7 @@
"ref": "firebase/php-jwt-6.10.1.0"
},
{
- "ref": "guzzlehttp/psr7-2.6.2.0",
+ "ref": "guzzlehttp/psr7-2.7.0.0",
"dependsOn": [
"psr/http-factory-1.1.0.0",
"psr/http-message-1.1.0.0",
@@ -3691,55 +3699,55 @@
{
"ref": "http-interop/http-factory-guzzle-1.2.0.0",
"dependsOn": [
- "guzzlehttp/psr7-2.6.2.0",
+ "guzzlehttp/psr7-2.7.0.0",
"psr/http-factory-1.1.0.0"
]
},
{
- "ref": "illuminate/collections-10.48.12.0",
+ "ref": "illuminate/collections-10.48.20.0",
"dependsOn": [
- "illuminate/conditionable-10.48.12.0",
- "illuminate/contracts-10.48.12.0",
- "illuminate/macroable-10.48.12.0"
+ "illuminate/conditionable-10.48.20.0",
+ "illuminate/contracts-10.48.20.0",
+ "illuminate/macroable-10.48.20.0"
]
},
{
- "ref": "illuminate/conditionable-10.48.12.0"
+ "ref": "illuminate/conditionable-10.48.20.0"
},
{
- "ref": "illuminate/contracts-10.48.12.0",
+ "ref": "illuminate/contracts-10.48.20.0",
"dependsOn": [
"psr/container-2.0.2.0",
"psr/simple-cache-1.0.1.0"
]
},
{
- "ref": "illuminate/macroable-10.48.12.0"
+ "ref": "illuminate/macroable-10.48.20.0"
},
{
- "ref": "illuminate/pagination-10.48.12.0",
+ "ref": "illuminate/pagination-10.48.20.0",
"dependsOn": [
- "illuminate/collections-10.48.12.0",
- "illuminate/contracts-10.48.12.0",
- "illuminate/support-10.48.12.0"
+ "illuminate/collections-10.48.20.0",
+ "illuminate/contracts-10.48.20.0",
+ "illuminate/support-10.48.20.0"
]
},
{
- "ref": "illuminate/support-10.48.12.0",
+ "ref": "illuminate/support-10.48.20.0",
"dependsOn": [
"doctrine/inflector-2.0.10.0",
- "illuminate/collections-10.48.12.0",
- "illuminate/conditionable-10.48.12.0",
- "illuminate/contracts-10.48.12.0",
- "illuminate/macroable-10.48.12.0",
+ "illuminate/collections-10.48.20.0",
+ "illuminate/conditionable-10.48.20.0",
+ "illuminate/contracts-10.48.20.0",
+ "illuminate/macroable-10.48.20.0",
"nesbot/carbon-2.72.5.0",
"voku/portable-ascii-2.0.1.0"
]
},
{
- "ref": "monolog/monolog-3.6.0.0",
+ "ref": "monolog/monolog-3.7.0.0",
"dependsOn": [
- "psr/log-3.0.0.0"
+ "psr/log-3.0.1.0"
]
},
{
@@ -3747,9 +3755,9 @@
"dependsOn": [
"carbonphp/carbon-doctrine-types-3.2.0.0",
"psr/clock-1.0.0.0",
- "symfony/polyfill-mbstring-1.29.0.0",
- "symfony/polyfill-php80-1.29.0.0",
- "symfony/translation-6.4.8.0"
+ "symfony/polyfill-mbstring-1.30.0.0",
+ "symfony/polyfill-php80-1.30.0.0",
+ "symfony/translation-6.4.10.0"
]
},
{
@@ -3765,7 +3773,7 @@
"ref": "phpmailer/phpmailer-6.9.1.0"
},
{
- "ref": "phpseclib/phpseclib-3.0.37.0",
+ "ref": "phpseclib/phpseclib-3.0.41.0",
"dependsOn": [
"paragonie/constant_time_encoding-2.7.0.0",
"paragonie/random_compat-2.0.21.0"
@@ -3806,7 +3814,7 @@
]
},
{
- "ref": "psr/log-3.0.0.0"
+ "ref": "psr/log-3.0.1.0"
},
{
"ref": "psr/simple-cache-1.0.1.0"
@@ -3818,7 +3826,7 @@
"ref": "spomky-labs/base64url-2.0.4.0"
},
{
- "ref": "spomky-labs/cbor-php-3.0.4.0",
+ "ref": "spomky-labs/cbor-php-3.1.0.0",
"dependsOn": [
"brick/math-0.9.3.0"
]
@@ -3827,9 +3835,9 @@
"ref": "symfony/deprecation-contracts-3.5.0.0"
},
{
- "ref": "symfony/http-client-6.4.8.0",
+ "ref": "symfony/http-client-6.4.11.0",
"dependsOn": [
- "psr/log-3.0.0.0",
+ "psr/log-3.0.1.0",
"symfony/deprecation-contracts-3.5.0.0",
"symfony/http-client-contracts-3.5.0.0",
"symfony/service-contracts-3.5.0.0"
@@ -3839,33 +3847,30 @@
"ref": "symfony/http-client-contracts-3.5.0.0"
},
{
- "ref": "symfony/http-foundation-6.4.8.0",
+ "ref": "symfony/http-foundation-6.4.10.0",
"dependsOn": [
"symfony/deprecation-contracts-3.5.0.0",
- "symfony/polyfill-mbstring-1.29.0.0",
- "symfony/polyfill-php83-1.29.0.0"
+ "symfony/polyfill-mbstring-1.30.0.0",
+ "symfony/polyfill-php83-1.30.0.0"
]
},
{
- "ref": "symfony/polyfill-mbstring-1.29.0.0"
+ "ref": "symfony/polyfill-mbstring-1.30.0.0"
},
{
- "ref": "symfony/polyfill-php80-1.29.0.0"
+ "ref": "symfony/polyfill-php80-1.30.0.0"
},
{
- "ref": "symfony/polyfill-php83-1.29.0.0",
- "dependsOn": [
- "symfony/polyfill-php80-1.29.0.0"
- ]
+ "ref": "symfony/polyfill-php83-1.30.0.0"
},
{
- "ref": "symfony/polyfill-uuid-1.29.0.0"
+ "ref": "symfony/polyfill-uuid-1.30.0.0"
},
{
- "ref": "symfony/psr-http-message-bridge-6.4.8.0",
+ "ref": "symfony/psr-http-message-bridge-6.4.11.0",
"dependsOn": [
"psr/http-message-1.1.0.0",
- "symfony/http-foundation-6.4.8.0"
+ "symfony/http-foundation-6.4.10.0"
]
},
{
@@ -3876,10 +3881,10 @@
]
},
{
- "ref": "symfony/translation-6.4.8.0",
+ "ref": "symfony/translation-6.4.10.0",
"dependsOn": [
"symfony/deprecation-contracts-3.5.0.0",
- "symfony/polyfill-mbstring-1.29.0.0",
+ "symfony/polyfill-mbstring-1.30.0.0",
"symfony/translation-contracts-3.5.0.0"
]
},
@@ -3887,9 +3892,9 @@
"ref": "symfony/translation-contracts-3.5.0.0"
},
{
- "ref": "symfony/uid-6.4.8.0",
+ "ref": "symfony/uid-6.4.11.0",
"dependsOn": [
- "symfony/polyfill-uuid-1.29.0.0"
+ "symfony/polyfill-uuid-1.30.0.0"
]
},
{
@@ -3912,7 +3917,7 @@
"paragonie/constant_time_encoding-2.7.0.0",
"psr/http-client-1.0.3.0",
"psr/http-factory-1.1.0.0",
- "psr/log-3.0.0.0"
+ "psr/log-3.0.1.0"
]
},
{
@@ -3924,9 +3929,9 @@
"psr/http-client-1.0.3.0",
"psr/http-factory-1.1.0.0",
"psr/http-message-1.1.0.0",
- "psr/log-3.0.0.0",
- "spomky-labs/cbor-php-3.0.4.0",
- "symfony/uid-6.4.8.0",
+ "psr/log-3.0.1.0",
+ "spomky-labs/cbor-php-3.1.0.0",
+ "symfony/uid-6.4.11.0",
"thecodingmachine/safe-2.5.0.0",
"web-auth/cose-lib-4.0.13.0",
"web-auth/metadata-service-4.0.5.0"
@@ -3984,29 +3989,29 @@
{
"ref": "webklex/php-imap-5.5.0.0",
"dependsOn": [
- "illuminate/pagination-10.48.12.0",
+ "illuminate/pagination-10.48.20.0",
"nesbot/carbon-2.72.5.0",
- "symfony/http-foundation-6.4.8.0"
+ "symfony/http-foundation-6.4.10.0"
]
},
{
- "ref": "ldap-account-manager/ldap-account-manager-8.8.0.0",
+ "ref": "ldap-account-manager/ldap-account-manager-8.9.0.0",
"dependsOn": [
"web-auth/webauthn-lib-4.0.5.0",
"web-auth/cose-lib-4.0.13.0",
"web-auth/metadata-service-4.0.5.0",
- "symfony/psr-http-message-bridge-6.4.8.0",
- "symfony/http-foundation-6.4.8.0",
- "symfony/http-client-6.4.8.0",
+ "symfony/psr-http-message-bridge-6.4.11.0",
+ "symfony/http-foundation-6.4.10.0",
+ "symfony/http-client-6.4.11.0",
"http-interop/http-factory-guzzle-1.2.0.0",
"webklex/php-imap-5.5.0.0",
"phpmailer/phpmailer-6.9.1.0",
- "guzzlehttp/psr7-2.6.2.0",
+ "guzzlehttp/psr7-2.7.0.0",
"paragonie/random_compat-2.0.21.0",
- "phpseclib/phpseclib-3.0.37.0",
+ "phpseclib/phpseclib-3.0.41.0",
"christian-riesen/base32-1.6.0.0",
"facile-it/php-openid-client-0.2.0.0",
- "monolog/monolog-3.6.0.0",
+ "monolog/monolog-3.7.0.0",
"duosecurity/duo_universal_php-1.0.2.0"
]
},
@@ -4050,6 +4055,10 @@
"ref": "b1e652b5-d76e-4b07-acab-2d1a0908a96f",
"dependsOn": []
},
+ {
+ "ref": "78b9ccbd-dbc9-4f40-9b44-338a721cbf8a",
+ "dependsOn": []
+ },
{
"ref": "72240acd-7de4-4058-b56f-e64638babcbf",
"dependsOn": []
diff --git a/lam/style/200_sweetalert2_11.11.1.css b/lam/style/200_sweetalert2_11.13.2.css
similarity index 97%
rename from lam/style/200_sweetalert2_11.11.1.css
rename to lam/style/200_sweetalert2_11.13.2.css
index 7b549e1eb..4af54fbd2 100644
--- a/lam/style/200_sweetalert2_11.11.1.css
+++ b/lam/style/200_sweetalert2_11.13.2.css
@@ -316,7 +316,7 @@ div:where(.swal2-container) button:where(.swal2-styled) {
div:where(.swal2-container) button:where(.swal2-styled):not([disabled]) {
cursor: pointer;
}
-div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm {
+div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm) {
border: 0;
border-radius: 0.25em;
background: initial;
@@ -324,10 +324,10 @@ div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm {
color: #fff;
font-size: 1em;
}
-div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm:focus {
+div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm):focus-visible {
box-shadow: 0 0 0 3px rgba(112, 102, 224, 0.5);
}
-div:where(.swal2-container) button:where(.swal2-styled).swal2-deny {
+div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny) {
border: 0;
border-radius: 0.25em;
background: initial;
@@ -335,10 +335,10 @@ div:where(.swal2-container) button:where(.swal2-styled).swal2-deny {
color: #fff;
font-size: 1em;
}
-div:where(.swal2-container) button:where(.swal2-styled).swal2-deny:focus {
+div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny):focus-visible {
box-shadow: 0 0 0 3px rgba(220, 55, 65, 0.5);
}
-div:where(.swal2-container) button:where(.swal2-styled).swal2-cancel {
+div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel) {
border: 0;
border-radius: 0.25em;
background: initial;
@@ -346,13 +346,13 @@ div:where(.swal2-container) button:where(.swal2-styled).swal2-cancel {
color: #fff;
font-size: 1em;
}
-div:where(.swal2-container) button:where(.swal2-styled).swal2-cancel:focus {
+div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel):focus-visible {
box-shadow: 0 0 0 3px rgba(110, 120, 129, 0.5);
}
-div:where(.swal2-container) button:where(.swal2-styled).swal2-default-outline:focus {
+div:where(.swal2-container) button:where(.swal2-styled).swal2-default-outline:focus-visible {
box-shadow: 0 0 0 3px rgba(100, 150, 200, 0.5);
}
-div:where(.swal2-container) button:where(.swal2-styled):focus {
+div:where(.swal2-container) button:where(.swal2-styled):focus-visible {
outline: none;
}
div:where(.swal2-container) button:where(.swal2-styled)::-moz-focus-inner {
@@ -411,7 +411,7 @@ div:where(.swal2-container) button:where(.swal2-close):hover {
background: transparent;
color: #f27474;
}
-div:where(.swal2-container) button:where(.swal2-close):focus {
+div:where(.swal2-container) button:where(.swal2-close):focus-visible {
outline: none;
box-shadow: inset 0 0 0 3px rgba(100, 150, 200, 0.5);
}
@@ -421,8 +421,8 @@ div:where(.swal2-container) button:where(.swal2-close)::-moz-focus-inner {
div:where(.swal2-container) .swal2-html-container {
z-index: 1;
justify-content: center;
- margin: 1em 1.6em 0.3em;
- padding: 0;
+ margin: 0;
+ padding: 1em 1.6em 0.3em;
overflow: auto;
color: inherit;
font-size: 1.125em;
diff --git a/lam/templates/lib/400_Sortable-1.15.2.js b/lam/templates/lib/400_Sortable-1.15.3.js
similarity index 99%
rename from lam/templates/lib/400_Sortable-1.15.2.js
rename to lam/templates/lib/400_Sortable-1.15.3.js
index 3af939cf1..89cede7c1 100644
--- a/lam/templates/lib/400_Sortable-1.15.2.js
+++ b/lam/templates/lib/400_Sortable-1.15.3.js
@@ -1,5 +1,5 @@
/**!
- * Sortable 1.15.2
+ * Sortable 1.15.3
* @author RubaXa
* @author owenm
* @license MIT
@@ -134,7 +134,7 @@
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
- var version = "1.15.2";
+ var version = "1.15.3";
function userAgent(pattern) {
if (typeof window !== 'undefined' && window.navigator) {
@@ -1467,7 +1467,7 @@
}
target = parent; // store last element
}
- /* jshint boss:true */ while (parent = parent.parentNode);
+ /* jshint boss:true */ while (parent = getParentOrHost(parent));
}
_unhideGhostForTarget();
}
@@ -2373,7 +2373,8 @@
nextTick: _nextTick,
cancelNextTick: _cancelNextTick,
detectDirection: _detectDirection,
- getChild: getChild
+ getChild: getChild,
+ expando: expando
};
/**
diff --git a/lam/templates/lib/620_sweetalert2_11.11.1.js b/lam/templates/lib/620_sweetalert2_11.13.2.js
similarity index 61%
rename from lam/templates/lib/620_sweetalert2_11.11.1.js
rename to lam/templates/lib/620_sweetalert2_11.13.2.js
index f05cda911..cd6bbca57 100644
--- a/lam/templates/lib/620_sweetalert2_11.11.1.js
+++ b/lam/templates/lib/620_sweetalert2_11.13.2.js
@@ -1,5 +1,5 @@
/*!
-* sweetalert2 v11.11.1
+* sweetalert2 v11.13.2
* Released under the MIT License.
*/
(function (global, factory) {
@@ -8,34 +8,13 @@
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.Sweetalert2 = factory());
})(this, (function () { 'use strict';
- function _arrayLikeToArray(r, a) {
- (null == a || a > r.length) && (a = r.length);
- for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
- return n;
- }
- function _arrayWithHoles(r) {
- if (Array.isArray(r)) return r;
- }
- function _arrayWithoutHoles(r) {
- if (Array.isArray(r)) return _arrayLikeToArray(r);
- }
function _assertClassBrand(e, t, n) {
if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n;
throw new TypeError("Private element is not present on this object");
}
- function _assertThisInitialized(e) {
- if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
- return e;
- }
- function _callSuper(t, o, e) {
- return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e));
- }
function _checkPrivateRedeclaration(e, t) {
if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object");
}
- function _classCallCheck(a, n) {
- if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
- }
function _classPrivateFieldGet2(s, a) {
return s.get(_assertClassBrand(s, a));
}
@@ -45,147 +24,12 @@
function _classPrivateFieldSet2(s, a, r) {
return s.set(_assertClassBrand(s, a), r), r;
}
- function _construct(t, e, r) {
- if (_isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments);
- var o = [null];
- o.push.apply(o, e);
- var p = new (t.bind.apply(t, o))();
- return p;
- }
- function _defineProperties(e, r) {
- for (var t = 0; t < r.length; t++) {
- var o = r[t];
- o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o);
- }
- }
- function _createClass(e, r, t) {
- return r && _defineProperties(e.prototype, r), Object.defineProperty(e, "prototype", {
- writable: !1
- }), e;
- }
- function _get() {
- return _get = "undefined" != typeof Reflect && Reflect.get ? Reflect.get.bind() : function (e, t, r) {
- var p = _superPropBase(e, t);
- if (p) {
- var n = Object.getOwnPropertyDescriptor(p, t);
- return n.get ? n.get.call(arguments.length < 3 ? e : r) : n.value;
- }
- }, _get.apply(null, arguments);
- }
- function _getPrototypeOf(t) {
- return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
- return t.__proto__ || Object.getPrototypeOf(t);
- }, _getPrototypeOf(t);
- }
- function _inherits(t, e) {
- if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
- t.prototype = Object.create(e && e.prototype, {
- constructor: {
- value: t,
- writable: !0,
- configurable: !0
- }
- }), Object.defineProperty(t, "prototype", {
- writable: !1
- }), e && _setPrototypeOf(t, e);
- }
- function _isNativeReflectConstruct() {
- try {
- var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
- } catch (t) {}
- return (_isNativeReflectConstruct = function () {
- return !!t;
- })();
- }
- function _iterableToArray(r) {
- if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
- }
- function _iterableToArrayLimit(r, l) {
- var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
- if (null != t) {
- var e,
- n,
- i,
- u,
- a = [],
- f = !0,
- o = !1;
- try {
- if (i = (t = t.call(r)).next, 0 === l) ; else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
- } catch (r) {
- o = !0, n = r;
- } finally {
- try {
- if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;
- } finally {
- if (o) throw n;
- }
- }
- return a;
- }
- }
- function _nonIterableRest() {
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
- }
- function _nonIterableSpread() {
- throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
- }
- function _possibleConstructorReturn(t, e) {
- if (e && ("object" == typeof e || "function" == typeof e)) return e;
- if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
- return _assertThisInitialized(t);
- }
- function _setPrototypeOf(t, e) {
- return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
- return t.__proto__ = e, t;
- }, _setPrototypeOf(t, e);
- }
- function _slicedToArray(r, e) {
- return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
- }
- function _superPropBase(t, o) {
- for (; !{}.hasOwnProperty.call(t, o) && null !== (t = _getPrototypeOf(t)););
- return t;
- }
- function _toConsumableArray(r) {
- return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
- }
- function _toPrimitive(t, r) {
- if ("object" != typeof t || !t) return t;
- var e = t[Symbol.toPrimitive];
- if (void 0 !== e) {
- var i = e.call(t, r );
- if ("object" != typeof i) return i;
- throw new TypeError("@@toPrimitive must return a primitive value.");
- }
- return (String )(t);
- }
- function _toPropertyKey(t) {
- var i = _toPrimitive(t, "string");
- return "symbol" == typeof i ? i : i + "";
- }
- function _typeof(o) {
- "@babel/helpers - typeof";
-
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
- return typeof o;
- } : function (o) {
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
- }, _typeof(o);
- }
- function _unsupportedIterableToArray(r, a) {
- if (r) {
- if ("string" == typeof r) return _arrayLikeToArray(r, a);
- var t = {}.toString.call(r).slice(8, -1);
- return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
- }
- }
- var RESTORE_FOCUS_TIMEOUT = 100;
+ const RESTORE_FOCUS_TIMEOUT = 100;
/** @type {GlobalState} */
- var globalState = {};
- var focusPreviousActiveElement = function focusPreviousActiveElement() {
+ const globalState = {};
+ const focusPreviousActiveElement = () => {
if (globalState.previousActiveElement instanceof HTMLElement) {
globalState.previousActiveElement.focus();
globalState.previousActiveElement = null;
@@ -200,14 +44,14 @@
* @param {boolean} returnFocus
* @returns {Promise}
*/
- var restoreActiveElement = function restoreActiveElement(returnFocus) {
- return new Promise(function (resolve) {
+ const restoreActiveElement = returnFocus => {
+ return new Promise(resolve => {
if (!returnFocus) {
return resolve();
}
- var x = window.scrollX;
- var y = window.scrollY;
- globalState.restoreFocusTimeout = setTimeout(function () {
+ const x = window.scrollX;
+ const y = window.scrollY;
+ globalState.restoreFocusTimeout = setTimeout(() => {
focusPreviousActiveElement();
resolve();
}, RESTORE_FOCUS_TIMEOUT); // issues/900
@@ -216,80 +60,9 @@
});
};
- var swalPrefix = 'swal2-';
-
- /**
- * @typedef
- * { | 'container'
- * | 'shown'
- * | 'height-auto'
- * | 'iosfix'
- * | 'popup'
- * | 'modal'
- * | 'no-backdrop'
- * | 'no-transition'
- * | 'toast'
- * | 'toast-shown'
- * | 'show'
- * | 'hide'
- * | 'close'
- * | 'title'
- * | 'html-container'
- * | 'actions'
- * | 'confirm'
- * | 'deny'
- * | 'cancel'
- * | 'default-outline'
- * | 'footer'
- * | 'icon'
- * | 'icon-content'
- * | 'image'
- * | 'input'
- * | 'file'
- * | 'range'
- * | 'select'
- * | 'radio'
- * | 'checkbox'
- * | 'label'
- * | 'textarea'
- * | 'inputerror'
- * | 'input-label'
- * | 'validation-message'
- * | 'progress-steps'
- * | 'active-progress-step'
- * | 'progress-step'
- * | 'progress-step-line'
- * | 'loader'
- * | 'loading'
- * | 'styled'
- * | 'top'
- * | 'top-start'
- * | 'top-end'
- * | 'top-left'
- * | 'top-right'
- * | 'center'
- * | 'center-start'
- * | 'center-end'
- * | 'center-left'
- * | 'center-right'
- * | 'bottom'
- * | 'bottom-start'
- * | 'bottom-end'
- * | 'bottom-left'
- * | 'bottom-right'
- * | 'grow-row'
- * | 'grow-column'
- * | 'grow-fullscreen'
- * | 'rtl'
- * | 'timer-progress-bar'
- * | 'timer-progress-bar-container'
- * | 'scrollbar-measure'
- * | 'icon-success'
- * | 'icon-warning'
- * | 'icon-info'
- * | 'icon-question'
- * | 'icon-error'
- * } SwalClass
+ const swalPrefix = 'swal2-';
+
+ /**
* @typedef {Record} SwalClasses
*/
@@ -299,20 +72,20 @@
*/
/** @type {SwalClass[]} */
- var classNames = ['container', 'shown', 'height-auto', 'iosfix', 'popup', 'modal', 'no-backdrop', 'no-transition', 'toast', 'toast-shown', 'show', 'hide', 'close', 'title', 'html-container', 'actions', 'confirm', 'deny', 'cancel', 'default-outline', 'footer', 'icon', 'icon-content', 'image', 'input', 'file', 'range', 'select', 'radio', 'checkbox', 'label', 'textarea', 'inputerror', 'input-label', 'validation-message', 'progress-steps', 'active-progress-step', 'progress-step', 'progress-step-line', 'loader', 'loading', 'styled', 'top', 'top-start', 'top-end', 'top-left', 'top-right', 'center', 'center-start', 'center-end', 'center-left', 'center-right', 'bottom', 'bottom-start', 'bottom-end', 'bottom-left', 'bottom-right', 'grow-row', 'grow-column', 'grow-fullscreen', 'rtl', 'timer-progress-bar', 'timer-progress-bar-container', 'scrollbar-measure', 'icon-success', 'icon-warning', 'icon-info', 'icon-question', 'icon-error'];
- var swalClasses = classNames.reduce(function (acc, className) {
+ const classNames = ['container', 'shown', 'height-auto', 'iosfix', 'popup', 'modal', 'no-backdrop', 'no-transition', 'toast', 'toast-shown', 'show', 'hide', 'close', 'title', 'html-container', 'actions', 'confirm', 'deny', 'cancel', 'default-outline', 'footer', 'icon', 'icon-content', 'image', 'input', 'file', 'range', 'select', 'radio', 'checkbox', 'label', 'textarea', 'inputerror', 'input-label', 'validation-message', 'progress-steps', 'active-progress-step', 'progress-step', 'progress-step-line', 'loader', 'loading', 'styled', 'top', 'top-start', 'top-end', 'top-left', 'top-right', 'center', 'center-start', 'center-end', 'center-left', 'center-right', 'bottom', 'bottom-start', 'bottom-end', 'bottom-left', 'bottom-right', 'grow-row', 'grow-column', 'grow-fullscreen', 'rtl', 'timer-progress-bar', 'timer-progress-bar-container', 'scrollbar-measure', 'icon-success', 'icon-warning', 'icon-info', 'icon-question', 'icon-error'];
+ const swalClasses = classNames.reduce((acc, className) => {
acc[className] = swalPrefix + className;
return acc;
}, /** @type {SwalClasses} */{});
/** @type {SwalIcon[]} */
- var icons = ['success', 'warning', 'info', 'question', 'error'];
- var iconTypes = icons.reduce(function (acc, icon) {
+ const icons = ['success', 'warning', 'info', 'question', 'error'];
+ const iconTypes = icons.reduce((acc, icon) => {
acc[icon] = swalPrefix + icon;
return acc;
}, /** @type {SwalIcons} */{});
- var consolePrefix = 'SweetAlert2:';
+ const consolePrefix = 'SweetAlert2:';
/**
* Capitalize the first letter of a string
@@ -320,17 +93,15 @@
* @param {string} str
* @returns {string}
*/
- var capitalizeFirstLetter = function capitalizeFirstLetter(str) {
- return str.charAt(0).toUpperCase() + str.slice(1);
- };
+ const capitalizeFirstLetter = str => str.charAt(0).toUpperCase() + str.slice(1);
/**
* Standardize console warnings
*
* @param {string | string[]} message
*/
- var warn = function warn(message) {
- console.warn("".concat(consolePrefix, " ").concat(_typeof(message) === 'object' ? message.join(' ') : message));
+ const warn = message => {
+ console.warn(`${consolePrefix} ${typeof message === 'object' ? message.join(' ') : message}`);
};
/**
@@ -338,8 +109,8 @@
*
* @param {string} message
*/
- var error = function error(message) {
- console.error("".concat(consolePrefix, " ").concat(message));
+ const error = message => {
+ console.error(`${consolePrefix} ${message}`);
};
/**
@@ -348,14 +119,14 @@
* @type {string[]}
* @private
*/
- var previousWarnOnceMessages = [];
+ const previousWarnOnceMessages = [];
/**
* Show a console warning, but only if it hasn't already been shown
*
* @param {string} message
*/
- var warnOnce = function warnOnce(message) {
+ const warnOnce = message => {
if (!previousWarnOnceMessages.includes(message)) {
previousWarnOnceMessages.push(message);
warn(message);
@@ -366,10 +137,11 @@
* Show a one-time console warning about deprecated params/methods
*
* @param {string} deprecatedParam
- * @param {string} useInstead
+ * @param {string?} useInstead
*/
- var warnAboutDeprecation = function warnAboutDeprecation(deprecatedParam, useInstead) {
- warnOnce("\"".concat(deprecatedParam, "\" is deprecated and will be removed in the next major release. Please use \"").concat(useInstead, "\" instead."));
+ const warnAboutDeprecation = function (deprecatedParam) {
+ let useInstead = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
+ warnOnce(`"${deprecatedParam}" is deprecated and will be removed in the next major release.${useInstead ? ` Use "${useInstead}" instead.` : ''}`);
};
/**
@@ -379,49 +151,39 @@
* @param {Function | any} arg
* @returns {any}
*/
- var callIfFunction = function callIfFunction(arg) {
- return typeof arg === 'function' ? arg() : arg;
- };
+ const callIfFunction = arg => typeof arg === 'function' ? arg() : arg;
/**
* @param {any} arg
* @returns {boolean}
*/
- var hasToPromiseFn = function hasToPromiseFn(arg) {
- return arg && typeof arg.toPromise === 'function';
- };
+ const hasToPromiseFn = arg => arg && typeof arg.toPromise === 'function';
/**
* @param {any} arg
* @returns {Promise}
*/
- var asPromise = function asPromise(arg) {
- return hasToPromiseFn(arg) ? arg.toPromise() : Promise.resolve(arg);
- };
+ const asPromise = arg => hasToPromiseFn(arg) ? arg.toPromise() : Promise.resolve(arg);
/**
* @param {any} arg
* @returns {boolean}
*/
- var isPromise = function isPromise(arg) {
- return arg && Promise.resolve(arg) === arg;
- };
+ const isPromise = arg => arg && Promise.resolve(arg) === arg;
/**
* Gets the popup container which contains the backdrop and the popup itself.
*
* @returns {HTMLElement | null}
*/
- var getContainer = function getContainer() {
- return document.body.querySelector(".".concat(swalClasses.container));
- };
+ const getContainer = () => document.body.querySelector(`.${swalClasses.container}`);
/**
* @param {string} selectorString
* @returns {HTMLElement | null}
*/
- var elementBySelector = function elementBySelector(selectorString) {
- var container = getContainer();
+ const elementBySelector = selectorString => {
+ const container = getContainer();
return container ? container.querySelector(selectorString) : null;
};
@@ -429,146 +191,127 @@
* @param {string} className
* @returns {HTMLElement | null}
*/
- var elementByClass = function elementByClass(className) {
- return elementBySelector(".".concat(className));
+ const elementByClass = className => {
+ return elementBySelector(`.${className}`);
};
/**
* @returns {HTMLElement | null}
*/
- var getPopup = function getPopup() {
- return elementByClass(swalClasses.popup);
- };
+ const getPopup = () => elementByClass(swalClasses.popup);
/**
* @returns {HTMLElement | null}
*/
- var getIcon = function getIcon() {
- return elementByClass(swalClasses.icon);
- };
+ const getIcon = () => elementByClass(swalClasses.icon);
/**
* @returns {HTMLElement | null}
*/
- var getIconContent = function getIconContent() {
- return elementByClass(swalClasses['icon-content']);
- };
+ const getIconContent = () => elementByClass(swalClasses['icon-content']);
/**
* @returns {HTMLElement | null}
*/
- var getTitle = function getTitle() {
- return elementByClass(swalClasses.title);
- };
+ const getTitle = () => elementByClass(swalClasses.title);
/**
* @returns {HTMLElement | null}
*/
- var getHtmlContainer = function getHtmlContainer() {
- return elementByClass(swalClasses['html-container']);
- };
+ const getHtmlContainer = () => elementByClass(swalClasses['html-container']);
/**
* @returns {HTMLElement | null}
*/
- var getImage = function getImage() {
- return elementByClass(swalClasses.image);
- };
+ const getImage = () => elementByClass(swalClasses.image);
/**
* @returns {HTMLElement | null}
*/
- var getProgressSteps = function getProgressSteps() {
- return elementByClass(swalClasses['progress-steps']);
- };
+ const getProgressSteps = () => elementByClass(swalClasses['progress-steps']);
/**
* @returns {HTMLElement | null}
*/
- var getValidationMessage = function getValidationMessage() {
- return elementByClass(swalClasses['validation-message']);
- };
+ const getValidationMessage = () => elementByClass(swalClasses['validation-message']);
/**
* @returns {HTMLButtonElement | null}
*/
- var getConfirmButton = function getConfirmButton() {
- return /** @type {HTMLButtonElement} */elementBySelector(".".concat(swalClasses.actions, " .").concat(swalClasses.confirm));
- };
+ const getConfirmButton = () => (/** @type {HTMLButtonElement} */elementBySelector(`.${swalClasses.actions} .${swalClasses.confirm}`));
/**
* @returns {HTMLButtonElement | null}
*/
- var getCancelButton = function getCancelButton() {
- return /** @type {HTMLButtonElement} */elementBySelector(".".concat(swalClasses.actions, " .").concat(swalClasses.cancel));
- };
+ const getCancelButton = () => (/** @type {HTMLButtonElement} */elementBySelector(`.${swalClasses.actions} .${swalClasses.cancel}`));
/**
* @returns {HTMLButtonElement | null}
*/
- var getDenyButton = function getDenyButton() {
- return /** @type {HTMLButtonElement} */elementBySelector(".".concat(swalClasses.actions, " .").concat(swalClasses.deny));
- };
+ const getDenyButton = () => (/** @type {HTMLButtonElement} */elementBySelector(`.${swalClasses.actions} .${swalClasses.deny}`));
/**
* @returns {HTMLElement | null}
*/
- var getInputLabel = function getInputLabel() {
- return elementByClass(swalClasses['input-label']);
- };
+ const getInputLabel = () => elementByClass(swalClasses['input-label']);
/**
* @returns {HTMLElement | null}
*/
- var getLoader = function getLoader() {
- return elementBySelector(".".concat(swalClasses.loader));
- };
+ const getLoader = () => elementBySelector(`.${swalClasses.loader}`);
/**
* @returns {HTMLElement | null}
*/
- var getActions = function getActions() {
- return elementByClass(swalClasses.actions);
- };
+ const getActions = () => elementByClass(swalClasses.actions);
/**
* @returns {HTMLElement | null}
*/
- var getFooter = function getFooter() {
- return elementByClass(swalClasses.footer);
- };
+ const getFooter = () => elementByClass(swalClasses.footer);
/**
* @returns {HTMLElement | null}
*/
- var getTimerProgressBar = function getTimerProgressBar() {
- return elementByClass(swalClasses['timer-progress-bar']);
- };
+ const getTimerProgressBar = () => elementByClass(swalClasses['timer-progress-bar']);
/**
* @returns {HTMLElement | null}
*/
- var getCloseButton = function getCloseButton() {
- return elementByClass(swalClasses.close);
- };
+ const getCloseButton = () => elementByClass(swalClasses.close);
// https://github.com/jkup/focusable/blob/master/index.js
- var focusable = "\n a[href],\n area[href],\n input:not([disabled]),\n select:not([disabled]),\n textarea:not([disabled]),\n button:not([disabled]),\n iframe,\n object,\n embed,\n [tabindex=\"0\"],\n [contenteditable],\n audio[controls],\n video[controls],\n summary\n";
+ const focusable = `
+ a[href],
+ area[href],
+ input:not([disabled]),
+ select:not([disabled]),
+ textarea:not([disabled]),
+ button:not([disabled]),
+ iframe,
+ object,
+ embed,
+ [tabindex="0"],
+ [contenteditable],
+ audio[controls],
+ video[controls],
+ summary
+`;
/**
* @returns {HTMLElement[]}
*/
- var getFocusableElements = function getFocusableElements() {
- var popup = getPopup();
+ const getFocusableElements = () => {
+ const popup = getPopup();
if (!popup) {
return [];
}
/** @type {NodeListOf} */
- var focusableElementsWithTabindex = popup.querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])');
- var focusableElementsWithTabindexSorted = Array.from(focusableElementsWithTabindex)
+ const focusableElementsWithTabindex = popup.querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])');
+ const focusableElementsWithTabindexSorted = Array.from(focusableElementsWithTabindex)
// sort according to tabindex
- .sort(function (a, b) {
- var tabindexA = parseInt(a.getAttribute('tabindex') || '0');
- var tabindexB = parseInt(b.getAttribute('tabindex') || '0');
+ .sort((a, b) => {
+ const tabindexA = parseInt(a.getAttribute('tabindex') || '0');
+ const tabindexB = parseInt(b.getAttribute('tabindex') || '0');
if (tabindexA > tabindexB) {
return 1;
} else if (tabindexA < tabindexB) {
@@ -578,27 +321,23 @@
});
/** @type {NodeListOf} */
- var otherFocusableElements = popup.querySelectorAll(focusable);
- var otherFocusableElementsFiltered = Array.from(otherFocusableElements).filter(function (el) {
- return el.getAttribute('tabindex') !== '-1';
- });
- return _toConsumableArray(new Set(focusableElementsWithTabindexSorted.concat(otherFocusableElementsFiltered))).filter(function (el) {
- return isVisible$1(el);
- });
+ const otherFocusableElements = popup.querySelectorAll(focusable);
+ const otherFocusableElementsFiltered = Array.from(otherFocusableElements).filter(el => el.getAttribute('tabindex') !== '-1');
+ return [...new Set(focusableElementsWithTabindexSorted.concat(otherFocusableElementsFiltered))].filter(el => isVisible$1(el));
};
/**
* @returns {boolean}
*/
- var isModal = function isModal() {
+ const isModal = () => {
return hasClass(document.body, swalClasses.shown) && !hasClass(document.body, swalClasses['toast-shown']) && !hasClass(document.body, swalClasses['no-backdrop']);
};
/**
* @returns {boolean}
*/
- var isToast = function isToast() {
- var popup = getPopup();
+ const isToast = () => {
+ const popup = getPopup();
if (!popup) {
return false;
}
@@ -608,8 +347,8 @@
/**
* @returns {boolean}
*/
- var isLoading = function isLoading() {
- var popup = getPopup();
+ const isLoading = () => {
+ const popup = getPopup();
if (!popup) {
return false;
}
@@ -623,23 +362,27 @@
* @param {HTMLElement} elem
* @param {string} html
*/
- var setInnerHtml = function setInnerHtml(elem, html) {
+ const setInnerHtml = (elem, html) => {
elem.textContent = '';
if (html) {
- var parser = new DOMParser();
- var parsed = parser.parseFromString(html, "text/html");
- var head = parsed.querySelector('head');
- head && Array.from(head.childNodes).forEach(function (child) {
- elem.appendChild(child);
- });
- var body = parsed.querySelector('body');
- body && Array.from(body.childNodes).forEach(function (child) {
- if (child instanceof HTMLVideoElement || child instanceof HTMLAudioElement) {
- elem.appendChild(child.cloneNode(true)); // https://github.com/sweetalert2/sweetalert2/issues/2507
- } else {
+ const parser = new DOMParser();
+ const parsed = parser.parseFromString(html, `text/html`);
+ const head = parsed.querySelector('head');
+ if (head) {
+ Array.from(head.childNodes).forEach(child => {
elem.appendChild(child);
- }
- });
+ });
+ }
+ const body = parsed.querySelector('body');
+ if (body) {
+ Array.from(body.childNodes).forEach(child => {
+ if (child instanceof HTMLVideoElement || child instanceof HTMLAudioElement) {
+ elem.appendChild(child.cloneNode(true)); // https://github.com/sweetalert2/sweetalert2/issues/2507
+ } else {
+ elem.appendChild(child);
+ }
+ });
+ }
}
};
@@ -648,12 +391,12 @@
* @param {string} className
* @returns {boolean}
*/
- var hasClass = function hasClass(elem, className) {
+ const hasClass = (elem, className) => {
if (!className) {
return false;
}
- var classList = className.split(/\s+/);
- for (var i = 0; i < classList.length; i++) {
+ const classList = className.split(/\s+/);
+ for (let i = 0; i < classList.length; i++) {
if (!elem.classList.contains(classList[i])) {
return false;
}
@@ -665,8 +408,8 @@
* @param {HTMLElement} elem
* @param {SweetAlertOptions} params
*/
- var removeCustomClasses = function removeCustomClasses(elem, params) {
- Array.from(elem.classList).forEach(function (className) {
+ const removeCustomClasses = (elem, params) => {
+ Array.from(elem.classList).forEach(className => {
if (!Object.values(swalClasses).includes(className) && !Object.values(iconTypes).includes(className) && !Object.values(params.showClass || {}).includes(className)) {
elem.classList.remove(className);
}
@@ -678,15 +421,20 @@
* @param {SweetAlertOptions} params
* @param {string} className
*/
- var applyCustomClass = function applyCustomClass(elem, params, className) {
+ const applyCustomClass = (elem, params, className) => {
removeCustomClasses(elem, params);
- if (params.customClass && params.customClass[className]) {
- if (typeof params.customClass[className] !== 'string' && !params.customClass[className].forEach) {
- warn("Invalid type of customClass.".concat(className, "! Expected string or iterable object, got \"").concat(_typeof(params.customClass[className]), "\""));
- return;
- }
- addClass(elem, params.customClass[className]);
+ if (!params.customClass) {
+ return;
+ }
+ const customClass = params.customClass[(/** @type {keyof SweetAlertCustomClass} */className)];
+ if (!customClass) {
+ return;
}
+ if (typeof customClass !== 'string' && !customClass.forEach) {
+ warn(`Invalid type of customClass.${className}! Expected string or iterable object, got "${typeof customClass}"`);
+ return;
+ }
+ addClass(elem, customClass);
};
/**
@@ -694,7 +442,7 @@
* @param {import('./renderers/renderInput').InputClass | SweetAlertInput} inputClass
* @returns {HTMLInputElement | null}
*/
- var getInput$1 = function getInput(popup, inputClass) {
+ const getInput$1 = (popup, inputClass) => {
if (!inputClass) {
return null;
}
@@ -702,28 +450,28 @@
case 'select':
case 'textarea':
case 'file':
- return popup.querySelector(".".concat(swalClasses.popup, " > .").concat(swalClasses[inputClass]));
+ return popup.querySelector(`.${swalClasses.popup} > .${swalClasses[inputClass]}`);
case 'checkbox':
- return popup.querySelector(".".concat(swalClasses.popup, " > .").concat(swalClasses.checkbox, " input"));
+ return popup.querySelector(`.${swalClasses.popup} > .${swalClasses.checkbox} input`);
case 'radio':
- return popup.querySelector(".".concat(swalClasses.popup, " > .").concat(swalClasses.radio, " input:checked")) || popup.querySelector(".".concat(swalClasses.popup, " > .").concat(swalClasses.radio, " input:first-child"));
+ return popup.querySelector(`.${swalClasses.popup} > .${swalClasses.radio} input:checked`) || popup.querySelector(`.${swalClasses.popup} > .${swalClasses.radio} input:first-child`);
case 'range':
- return popup.querySelector(".".concat(swalClasses.popup, " > .").concat(swalClasses.range, " input"));
+ return popup.querySelector(`.${swalClasses.popup} > .${swalClasses.range} input`);
default:
- return popup.querySelector(".".concat(swalClasses.popup, " > .").concat(swalClasses.input));
+ return popup.querySelector(`.${swalClasses.popup} > .${swalClasses.input}`);
}
};
/**
* @param {HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement} input
*/
- var focusInput = function focusInput(input) {
+ const focusInput = input => {
input.focus();
// place cursor at end of text in text input
if (input.type !== 'file') {
// http://stackoverflow.com/a/2345915
- var val = input.value;
+ const val = input.value;
input.value = '';
input.value = val;
}
@@ -734,20 +482,28 @@
* @param {string | string[] | readonly string[] | undefined} classList
* @param {boolean} condition
*/
- var toggleClass = function toggleClass(target, classList, condition) {
+ const toggleClass = (target, classList, condition) => {
if (!target || !classList) {
return;
}
if (typeof classList === 'string') {
classList = classList.split(/\s+/).filter(Boolean);
}
- classList.forEach(function (className) {
+ classList.forEach(className => {
if (Array.isArray(target)) {
- target.forEach(function (elem) {
- condition ? elem.classList.add(className) : elem.classList.remove(className);
+ target.forEach(elem => {
+ if (condition) {
+ elem.classList.add(className);
+ } else {
+ elem.classList.remove(className);
+ }
});
} else {
- condition ? target.classList.add(className) : target.classList.remove(className);
+ if (condition) {
+ target.classList.add(className);
+ } else {
+ target.classList.remove(className);
+ }
}
});
};
@@ -756,7 +512,7 @@
* @param {HTMLElement | HTMLElement[] | null} target
* @param {string | string[] | readonly string[] | undefined} classList
*/
- var addClass = function addClass(target, classList) {
+ const addClass = (target, classList) => {
toggleClass(target, classList, true);
};
@@ -764,7 +520,7 @@
* @param {HTMLElement | HTMLElement[] | null} target
* @param {string | string[] | readonly string[] | undefined} classList
*/
- var removeClass = function removeClass(target, classList) {
+ const removeClass = (target, classList) => {
toggleClass(target, classList, false);
};
@@ -775,10 +531,10 @@
* @param {string} className
* @returns {HTMLElement | undefined}
*/
- var getDirectChildByClass = function getDirectChildByClass(elem, className) {
- var children = Array.from(elem.children);
- for (var i = 0; i < children.length; i++) {
- var child = children[i];
+ const getDirectChildByClass = (elem, className) => {
+ const children = Array.from(elem.children);
+ for (let i = 0; i < children.length; i++) {
+ const child = children[i];
if (child instanceof HTMLElement && hasClass(child, className)) {
return child;
}
@@ -790,12 +546,12 @@
* @param {string} property
* @param {*} value
*/
- var applyNumericalStyle = function applyNumericalStyle(elem, property, value) {
- if (value === "".concat(parseInt(value))) {
+ const applyNumericalStyle = (elem, property, value) => {
+ if (value === `${parseInt(value)}`) {
value = parseInt(value);
}
if (value || parseInt(value) === 0) {
- elem.style.setProperty(property, typeof value === 'number' ? "".concat(value, "px") : value);
+ elem.style.setProperty(property, typeof value === 'number' ? `${value}px` : value);
} else {
elem.style.removeProperty(property);
}
@@ -805,28 +561,34 @@
* @param {HTMLElement | null} elem
* @param {string} display
*/
- var show = function show(elem) {
- var display = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'flex';
- elem && (elem.style.display = display);
+ const show = function (elem) {
+ let display = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'flex';
+ if (!elem) {
+ return;
+ }
+ elem.style.display = display;
};
/**
* @param {HTMLElement | null} elem
*/
- var hide = function hide(elem) {
- elem && (elem.style.display = 'none');
+ const hide = elem => {
+ if (!elem) {
+ return;
+ }
+ elem.style.display = 'none';
};
/**
* @param {HTMLElement | null} elem
* @param {string} display
*/
- var showWhenInnerHtmlPresent = function showWhenInnerHtmlPresent(elem) {
- var display = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'block';
+ const showWhenInnerHtmlPresent = function (elem) {
+ let display = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'block';
if (!elem) {
return;
}
- new MutationObserver(function () {
+ new MutationObserver(() => {
toggle(elem, elem.innerHTML, display);
}).observe(elem, {
childList: true,
@@ -840,9 +602,9 @@
* @param {string} property
* @param {string} value
*/
- var setStyle = function setStyle(parent, selector, property, value) {
+ const setStyle = (parent, selector, property, value) => {
/** @type {HTMLElement | null} */
- var el = parent.querySelector(selector);
+ const el = parent.querySelector(selector);
if (el) {
el.style.setProperty(property, value);
}
@@ -853,9 +615,13 @@
* @param {any} condition
* @param {string} display
*/
- var toggle = function toggle(elem, condition) {
- var display = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'flex';
- condition ? show(elem, display) : hide(elem);
+ const toggle = function (elem, condition) {
+ let display = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'flex';
+ if (condition) {
+ show(elem, display);
+ } else {
+ hide(elem);
+ }
};
/**
@@ -864,24 +630,18 @@
* @param {HTMLElement | null} elem
* @returns {boolean}
*/
- var isVisible$1 = function isVisible(elem) {
- return !!(elem && (elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length));
- };
+ const isVisible$1 = elem => !!(elem && (elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length));
/**
* @returns {boolean}
*/
- var allButtonsAreHidden = function allButtonsAreHidden() {
- return !isVisible$1(getConfirmButton()) && !isVisible$1(getDenyButton()) && !isVisible$1(getCancelButton());
- };
+ const allButtonsAreHidden = () => !isVisible$1(getConfirmButton()) && !isVisible$1(getDenyButton()) && !isVisible$1(getCancelButton());
/**
* @param {HTMLElement} elem
* @returns {boolean}
*/
- var isScrollable = function isScrollable(elem) {
- return !!(elem.scrollHeight > elem.clientHeight);
- };
+ const isScrollable = elem => !!(elem.scrollHeight > elem.clientHeight);
/**
* borrowed from https://stackoverflow.com/a/46352119
@@ -889,10 +649,10 @@
* @param {HTMLElement} elem
* @returns {boolean}
*/
- var hasCssAnimation = function hasCssAnimation(elem) {
- var style = window.getComputedStyle(elem);
- var animDuration = parseFloat(style.getPropertyValue('animation-duration') || '0');
- var transDuration = parseFloat(style.getPropertyValue('transition-duration') || '0');
+ const hasCssAnimation = elem => {
+ const style = window.getComputedStyle(elem);
+ const animDuration = parseFloat(style.getPropertyValue('animation-duration') || '0');
+ const transDuration = parseFloat(style.getPropertyValue('transition-duration') || '0');
return animDuration > 0 || transDuration > 0;
};
@@ -900,9 +660,9 @@
* @param {number} timer
* @param {boolean} reset
*/
- var animateTimerProgressBar = function animateTimerProgressBar(timer) {
- var reset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
- var timerProgressBar = getTimerProgressBar();
+ const animateTimerProgressBar = function (timer) {
+ let reset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
+ const timerProgressBar = getTimerProgressBar();
if (!timerProgressBar) {
return;
}
@@ -911,23 +671,23 @@
timerProgressBar.style.transition = 'none';
timerProgressBar.style.width = '100%';
}
- setTimeout(function () {
- timerProgressBar.style.transition = "width ".concat(timer / 1000, "s linear");
+ setTimeout(() => {
+ timerProgressBar.style.transition = `width ${timer / 1000}s linear`;
timerProgressBar.style.width = '0%';
}, 10);
}
};
- var stopTimerProgressBar = function stopTimerProgressBar() {
- var timerProgressBar = getTimerProgressBar();
+ const stopTimerProgressBar = () => {
+ const timerProgressBar = getTimerProgressBar();
if (!timerProgressBar) {
return;
}
- var timerProgressBarWidth = parseInt(window.getComputedStyle(timerProgressBar).width);
+ const timerProgressBarWidth = parseInt(window.getComputedStyle(timerProgressBar).width);
timerProgressBar.style.removeProperty('transition');
timerProgressBar.style.width = '100%';
- var timerProgressBarFullWidth = parseInt(window.getComputedStyle(timerProgressBar).width);
- var timerProgressBarPercent = timerProgressBarWidth / timerProgressBarFullWidth * 100;
- timerProgressBar.style.width = "".concat(timerProgressBarPercent, "%");
+ const timerProgressBarFullWidth = parseInt(window.getComputedStyle(timerProgressBar).width);
+ const timerProgressBarPercent = timerProgressBarWidth / timerProgressBarFullWidth * 100;
+ timerProgressBar.style.width = `${timerProgressBarPercent}%`;
};
/**
@@ -935,17 +695,48 @@
*
* @returns {boolean}
*/
- var isNodeEnv = function isNodeEnv() {
- return typeof window === 'undefined' || typeof document === 'undefined';
- };
-
- var sweetHTML = "\n \n").replace(/(^|\n)\s*/g, '');
+ const isNodeEnv = () => typeof window === 'undefined' || typeof document === 'undefined';
+
+ const sweetHTML = `
+
+`.replace(/(^|\n)\s*/g, '');
/**
* @returns {boolean}
*/
- var resetOldContainer = function resetOldContainer() {
- var oldContainer = getContainer();
+ const resetOldContainer = () => {
+ const oldContainer = getContainer();
if (!oldContainer) {
return false;
}
@@ -953,31 +744,31 @@
removeClass([document.documentElement, document.body], [swalClasses['no-backdrop'], swalClasses['toast-shown'], swalClasses['has-column']]);
return true;
};
- var resetValidationMessage$1 = function resetValidationMessage() {
+ const resetValidationMessage$1 = () => {
globalState.currentInstance.resetValidationMessage();
};
- var addInputChangeListeners = function addInputChangeListeners() {
- var popup = getPopup();
- var input = getDirectChildByClass(popup, swalClasses.input);
- var file = getDirectChildByClass(popup, swalClasses.file);
+ const addInputChangeListeners = () => {
+ const popup = getPopup();
+ const input = getDirectChildByClass(popup, swalClasses.input);
+ const file = getDirectChildByClass(popup, swalClasses.file);
/** @type {HTMLInputElement} */
- var range = popup.querySelector(".".concat(swalClasses.range, " input"));
+ const range = popup.querySelector(`.${swalClasses.range} input`);
/** @type {HTMLOutputElement} */
- var rangeOutput = popup.querySelector(".".concat(swalClasses.range, " output"));
- var select = getDirectChildByClass(popup, swalClasses.select);
+ const rangeOutput = popup.querySelector(`.${swalClasses.range} output`);
+ const select = getDirectChildByClass(popup, swalClasses.select);
/** @type {HTMLInputElement} */
- var checkbox = popup.querySelector(".".concat(swalClasses.checkbox, " input"));
- var textarea = getDirectChildByClass(popup, swalClasses.textarea);
+ const checkbox = popup.querySelector(`.${swalClasses.checkbox} input`);
+ const textarea = getDirectChildByClass(popup, swalClasses.textarea);
input.oninput = resetValidationMessage$1;
file.onchange = resetValidationMessage$1;
select.onchange = resetValidationMessage$1;
checkbox.onchange = resetValidationMessage$1;
textarea.oninput = resetValidationMessage$1;
- range.oninput = function () {
+ range.oninput = () => {
resetValidationMessage$1();
rangeOutput.value = range.value;
};
- range.onchange = function () {
+ range.onchange = () => {
resetValidationMessage$1();
rangeOutput.value = range.value;
};
@@ -987,15 +778,13 @@
* @param {string | HTMLElement} target
* @returns {HTMLElement}
*/
- var getTarget = function getTarget(target) {
- return typeof target === 'string' ? document.querySelector(target) : target;
- };
+ const getTarget = target => typeof target === 'string' ? document.querySelector(target) : target;
/**
* @param {SweetAlertOptions} params
*/
- var setupAccessibility = function setupAccessibility(params) {
- var popup = getPopup();
+ const setupAccessibility = params => {
+ const popup = getPopup();
popup.setAttribute('role', params.toast ? 'alert' : 'dialog');
popup.setAttribute('aria-live', params.toast ? 'polite' : 'assertive');
if (!params.toast) {
@@ -1006,7 +795,7 @@
/**
* @param {HTMLElement} targetElement
*/
- var setupRTL = function setupRTL(targetElement) {
+ const setupRTL = targetElement => {
if (window.getComputedStyle(targetElement).direction === 'rtl') {
addClass(getContainer(), swalClasses.rtl);
}
@@ -1017,20 +806,20 @@
*
* @param {SweetAlertOptions} params
*/
- var init = function init(params) {
+ const init = params => {
// Clean up the old popup container if it exists
- var oldContainerExisted = resetOldContainer();
+ const oldContainerExisted = resetOldContainer();
if (isNodeEnv()) {
error('SweetAlert2 requires document to initialize');
return;
}
- var container = document.createElement('div');
+ const container = document.createElement('div');
container.className = swalClasses.container;
if (oldContainerExisted) {
addClass(container, swalClasses['no-transition']);
}
setInnerHtml(container, sweetHTML);
- var targetElement = getTarget(params.target);
+ const targetElement = getTarget(params.target);
targetElement.appendChild(container);
setupAccessibility(params);
setupRTL(targetElement);
@@ -1041,14 +830,14 @@
* @param {HTMLElement | object | string} param
* @param {HTMLElement} target
*/
- var parseHtmlToContainer = function parseHtmlToContainer(param, target) {
+ const parseHtmlToContainer = (param, target) => {
// DOM element
if (param instanceof HTMLElement) {
target.appendChild(param);
}
// Object
- else if (_typeof(param) === 'object') {
+ else if (typeof param === 'object') {
handleObject(param, target);
}
@@ -1062,7 +851,7 @@
* @param {any} param
* @param {HTMLElement} target
*/
- var handleObject = function handleObject(param, target) {
+ const handleObject = (param, target) => {
// JQuery element(s)
if (param.jquery) {
handleJqueryElem(target, param);
@@ -1078,10 +867,10 @@
* @param {HTMLElement} target
* @param {any} elem
*/
- var handleJqueryElem = function handleJqueryElem(target, elem) {
+ const handleJqueryElem = (target, elem) => {
target.textContent = '';
if (0 in elem) {
- for (var i = 0; (i in elem); i++) {
+ for (let i = 0; i in elem; i++) {
target.appendChild(elem[i].cloneNode(true));
}
} else {
@@ -1092,12 +881,12 @@
/**
* @returns {'webkitAnimationEnd' | 'animationend' | false}
*/
- var animationEndEvent = function () {
+ const animationEndEvent = (() => {
// Prevent run in Node env
if (isNodeEnv()) {
return false;
}
- var testEl = document.createElement('div');
+ const testEl = document.createElement('div');
// Chrome, Safari and Opera
if (typeof testEl.style.webkitAnimation !== 'undefined') {
@@ -1109,15 +898,15 @@
return 'animationend';
}
return false;
- }();
+ })();
/**
* @param {SweetAlert} instance
* @param {SweetAlertOptions} params
*/
- var renderActions = function renderActions(instance, params) {
- var actions = getActions();
- var loader = getLoader();
+ const renderActions = (instance, params) => {
+ const actions = getActions();
+ const loader = getLoader();
if (!actions || !loader) {
return;
}
@@ -1146,9 +935,9 @@
* @param {SweetAlertOptions} params
*/
function renderButtons(actions, loader, params) {
- var confirmButton = getConfirmButton();
- var denyButton = getDenyButton();
- var cancelButton = getCancelButton();
+ const confirmButton = getConfirmButton();
+ const denyButton = getDenyButton();
+ const cancelButton = getCancelButton();
if (!confirmButton || !denyButton || !cancelButton) {
return;
}
@@ -1204,22 +993,22 @@
* @param {SweetAlertOptions} params
*/
function renderButton(button, buttonType, params) {
- var buttonName = /** @type {'Confirm' | 'Deny' | 'Cancel'} */capitalizeFirstLetter(buttonType);
- toggle(button, params["show".concat(buttonName, "Button")], 'inline-block');
- setInnerHtml(button, params["".concat(buttonType, "ButtonText")] || ''); // Set caption text
- button.setAttribute('aria-label', params["".concat(buttonType, "ButtonAriaLabel")] || ''); // ARIA label
+ const buttonName = /** @type {'Confirm' | 'Deny' | 'Cancel'} */capitalizeFirstLetter(buttonType);
+ toggle(button, params[`show${buttonName}Button`], 'inline-block');
+ setInnerHtml(button, params[`${buttonType}ButtonText`] || ''); // Set caption text
+ button.setAttribute('aria-label', params[`${buttonType}ButtonAriaLabel`] || ''); // ARIA label
// Add buttons custom classes
button.className = swalClasses[buttonType];
- applyCustomClass(button, params, "".concat(buttonType, "Button"));
+ applyCustomClass(button, params, `${buttonType}Button`);
}
/**
* @param {SweetAlert} instance
* @param {SweetAlertOptions} params
*/
- var renderCloseButton = function renderCloseButton(instance, params) {
- var closeButton = getCloseButton();
+ const renderCloseButton = (instance, params) => {
+ const closeButton = getCloseButton();
if (!closeButton) {
return;
}
@@ -1235,8 +1024,8 @@
* @param {SweetAlert} instance
* @param {SweetAlertOptions} params
*/
- var renderContainer = function renderContainer(instance, params) {
- var container = getContainer();
+ const renderContainer = (instance, params) => {
+ const container = getContainer();
if (!container) {
return;
}
@@ -1284,7 +1073,7 @@
if (!grow) {
return;
}
- addClass(container, swalClasses["grow-".concat(grow)]);
+ addClass(container, swalClasses[`grow-${grow}`]);
}
/**
@@ -1302,22 +1091,25 @@
domCache: new WeakMap()
};
+ ///
+
+
/** @type {InputClass[]} */
- var inputClasses = ['input', 'file', 'range', 'select', 'radio', 'checkbox', 'textarea'];
+ const inputClasses = ['input', 'file', 'range', 'select', 'radio', 'checkbox', 'textarea'];
/**
* @param {SweetAlert} instance
* @param {SweetAlertOptions} params
*/
- var renderInput = function renderInput(instance, params) {
- var popup = getPopup();
+ const renderInput = (instance, params) => {
+ const popup = getPopup();
if (!popup) {
return;
}
- var innerParams = privateProps.innerParams.get(instance);
- var rerender = !innerParams || params.input !== innerParams.input;
- inputClasses.forEach(function (inputClass) {
- var inputContainer = getDirectChildByClass(popup, swalClasses[inputClass]);
+ const innerParams = privateProps.innerParams.get(instance);
+ const rerender = !innerParams || params.input !== innerParams.input;
+ inputClasses.forEach(inputClass => {
+ const inputContainer = getDirectChildByClass(popup, swalClasses[inputClass]);
if (!inputContainer) {
return;
}
@@ -1343,21 +1135,24 @@
/**
* @param {SweetAlertOptions} params
*/
- var showInput = function showInput(params) {
+ const showInput = params => {
if (!params.input) {
return;
}
if (!renderInputType[params.input]) {
- error("Unexpected type of input! Expected ".concat(Object.keys(renderInputType).join(' | '), ", got \"").concat(params.input, "\""));
+ error(`Unexpected type of input! Expected ${Object.keys(renderInputType).join(' | ')}, got "${params.input}"`);
return;
}
- var inputContainer = getInputContainer(params.input);
- var input = renderInputType[params.input](inputContainer, params);
+ const inputContainer = getInputContainer(params.input);
+ if (!inputContainer) {
+ return;
+ }
+ const input = renderInputType[params.input](inputContainer, params);
show(inputContainer);
// input autofocus
if (params.inputAutoFocus) {
- setTimeout(function () {
+ setTimeout(() => {
focusInput(input);
});
}
@@ -1366,9 +1161,9 @@
/**
* @param {HTMLInputElement} input
*/
- var removeAttributes = function removeAttributes(input) {
- for (var i = 0; i < input.attributes.length; i++) {
- var attrName = input.attributes[i].name;
+ const removeAttributes = input => {
+ for (let i = 0; i < input.attributes.length; i++) {
+ const attrName = input.attributes[i].name;
if (!['id', 'type', 'value', 'style'].includes(attrName)) {
input.removeAttribute(attrName);
}
@@ -1379,13 +1174,17 @@
* @param {InputClass} inputClass
* @param {SweetAlertOptions['inputAttributes']} inputAttributes
*/
- var setAttributes = function setAttributes(inputClass, inputAttributes) {
- var input = getInput$1(getPopup(), inputClass);
+ const setAttributes = (inputClass, inputAttributes) => {
+ const popup = getPopup();
+ if (!popup) {
+ return;
+ }
+ const input = getInput$1(popup, inputClass);
if (!input) {
return;
}
removeAttributes(input);
- for (var attr in inputAttributes) {
+ for (const attr in inputAttributes) {
input.setAttribute(attr, inputAttributes[attr]);
}
};
@@ -1393,10 +1192,13 @@
/**
* @param {SweetAlertOptions} params
*/
- var setCustomClass = function setCustomClass(params) {
- var inputContainer = getInputContainer(params.input);
- if (_typeof(params.customClass) === 'object') {
- addClass(inputContainer, params.customClass.input);
+ const setCustomClass = params => {
+ if (!params.input) {
+ return;
+ }
+ const inputContainer = getInputContainer(params.input);
+ if (inputContainer) {
+ applyCustomClass(inputContainer, params, 'input');
}
};
@@ -1404,8 +1206,8 @@
* @param {HTMLInputElement | HTMLTextAreaElement} input
* @param {SweetAlertOptions} params
*/
- var setInputPlaceholder = function setInputPlaceholder(input, params) {
- if (!input.placeholder || params.inputPlaceholder) {
+ const setInputPlaceholder = (input, params) => {
+ if (!input.placeholder && params.inputPlaceholder) {
input.placeholder = params.inputPlaceholder;
}
};
@@ -1415,13 +1217,13 @@
* @param {Input} prependTo
* @param {SweetAlertOptions} params
*/
- var setInputLabel = function setInputLabel(input, prependTo, params) {
+ const setInputLabel = (input, prependTo, params) => {
if (params.inputLabel) {
- var label = document.createElement('label');
- var labelClass = swalClasses['input-label'];
+ const label = document.createElement('label');
+ const labelClass = swalClasses['input-label'];
label.setAttribute('for', input.id);
label.className = labelClass;
- if (_typeof(params.customClass) === 'object') {
+ if (typeof params.customClass === 'object') {
addClass(label, params.customClass.inputLabel);
}
label.innerText = params.inputLabel;
@@ -1430,34 +1232,39 @@
};
/**
- * @param {SweetAlertOptions['input']} inputType
- * @returns {HTMLElement}
+ * @param {SweetAlertInput} inputType
+ * @returns {HTMLElement | undefined}
*/
- var getInputContainer = function getInputContainer(inputType) {
- return getDirectChildByClass(getPopup(), swalClasses[inputType] || swalClasses.input);
+ const getInputContainer = inputType => {
+ const popup = getPopup();
+ if (!popup) {
+ return;
+ }
+ return getDirectChildByClass(popup, swalClasses[(/** @type {SwalClass} */inputType)] || swalClasses.input);
};
/**
* @param {HTMLInputElement | HTMLOutputElement | HTMLTextAreaElement} input
* @param {SweetAlertOptions['inputValue']} inputValue
*/
- var checkAndSetInputValue = function checkAndSetInputValue(input, inputValue) {
- if (['string', 'number'].includes(_typeof(inputValue))) {
- input.value = "".concat(inputValue);
+ const checkAndSetInputValue = (input, inputValue) => {
+ if (['string', 'number'].includes(typeof inputValue)) {
+ input.value = `${inputValue}`;
} else if (!isPromise(inputValue)) {
- warn("Unexpected type of inputValue! Expected \"string\", \"number\" or \"Promise\", got \"".concat(_typeof(inputValue), "\""));
+ warn(`Unexpected type of inputValue! Expected "string", "number" or "Promise", got "${typeof inputValue}"`);
}
};
/** @type {Record Input>} */
- var renderInputType = {};
+ const renderInputType = {};
/**
* @param {HTMLInputElement} input
* @param {SweetAlertOptions} params
* @returns {HTMLInputElement}
*/
- renderInputType.text = renderInputType.email = renderInputType.password = renderInputType.number = renderInputType.tel = renderInputType.url = renderInputType.search = renderInputType.date = renderInputType['datetime-local'] = renderInputType.time = renderInputType.week = renderInputType.month = function (input, params) {
+ renderInputType.text = renderInputType.email = renderInputType.password = renderInputType.number = renderInputType.tel = renderInputType.url = renderInputType.search = renderInputType.date = renderInputType['datetime-local'] = renderInputType.time = renderInputType.week = renderInputType.month = /** @type {(input: Input | HTMLElement, params: SweetAlertOptions) => Input} */
+ (input, params) => {
checkAndSetInputValue(input, params.inputValue);
setInputLabel(input, input, params);
setInputPlaceholder(input, params);
@@ -1470,7 +1277,7 @@
* @param {SweetAlertOptions} params
* @returns {HTMLInputElement}
*/
- renderInputType.file = function (input, params) {
+ renderInputType.file = (input, params) => {
setInputLabel(input, input, params);
setInputPlaceholder(input, params);
return input;
@@ -1481,9 +1288,9 @@
* @param {SweetAlertOptions} params
* @returns {HTMLInputElement}
*/
- renderInputType.range = function (range, params) {
- var rangeInput = range.querySelector('input');
- var rangeOutput = range.querySelector('output');
+ renderInputType.range = (range, params) => {
+ const rangeInput = range.querySelector('input');
+ const rangeOutput = range.querySelector('output');
checkAndSetInputValue(rangeInput, params.inputValue);
rangeInput.type = params.input;
checkAndSetInputValue(rangeOutput, params.inputValue);
@@ -1496,10 +1303,10 @@
* @param {SweetAlertOptions} params
* @returns {HTMLSelectElement}
*/
- renderInputType.select = function (select, params) {
+ renderInputType.select = (select, params) => {
select.textContent = '';
if (params.inputPlaceholder) {
- var placeholder = document.createElement('option');
+ const placeholder = document.createElement('option');
setInnerHtml(placeholder, params.inputPlaceholder);
placeholder.value = '';
placeholder.disabled = true;
@@ -1514,7 +1321,7 @@
* @param {HTMLInputElement} radio
* @returns {HTMLInputElement}
*/
- renderInputType.radio = function (radio) {
+ renderInputType.radio = radio => {
radio.textContent = '';
return radio;
};
@@ -1524,11 +1331,11 @@
* @param {SweetAlertOptions} params
* @returns {HTMLInputElement}
*/
- renderInputType.checkbox = function (checkboxContainer, params) {
- var checkbox = getInput$1(getPopup(), 'checkbox');
+ renderInputType.checkbox = (checkboxContainer, params) => {
+ const checkbox = getInput$1(getPopup(), 'checkbox');
checkbox.value = '1';
checkbox.checked = Boolean(params.inputValue);
- var label = checkboxContainer.querySelector('span');
+ const label = checkboxContainer.querySelector('span');
setInnerHtml(label, params.inputPlaceholder);
return checkbox;
};
@@ -1538,7 +1345,7 @@
* @param {SweetAlertOptions} params
* @returns {HTMLTextAreaElement}
*/
- renderInputType.textarea = function (textarea, params) {
+ renderInputType.textarea = (textarea, params) => {
checkAndSetInputValue(textarea, params.inputValue);
setInputPlaceholder(textarea, params);
setInputLabel(textarea, textarea, params);
@@ -1547,23 +1354,21 @@
* @param {HTMLElement} el
* @returns {number}
*/
- var getMargin = function getMargin(el) {
- return parseInt(window.getComputedStyle(el).marginLeft) + parseInt(window.getComputedStyle(el).marginRight);
- };
+ const getMargin = el => parseInt(window.getComputedStyle(el).marginLeft) + parseInt(window.getComputedStyle(el).marginRight);
// https://github.com/sweetalert2/sweetalert2/issues/2291
- setTimeout(function () {
+ setTimeout(() => {
// https://github.com/sweetalert2/sweetalert2/issues/1699
if ('MutationObserver' in window) {
- var initialPopupWidth = parseInt(window.getComputedStyle(getPopup()).width);
- var textareaResizeHandler = function textareaResizeHandler() {
+ const initialPopupWidth = parseInt(window.getComputedStyle(getPopup()).width);
+ const textareaResizeHandler = () => {
// check if texarea is still in document (i.e. popup wasn't closed in the meantime)
if (!document.body.contains(textarea)) {
return;
}
- var textareaWidth = textarea.offsetWidth + getMargin(textarea);
+ const textareaWidth = textarea.offsetWidth + getMargin(textarea);
if (textareaWidth > initialPopupWidth) {
- getPopup().style.width = "".concat(textareaWidth, "px");
+ getPopup().style.width = `${textareaWidth}px`;
} else {
applyNumericalStyle(getPopup(), 'width', params.width);
}
@@ -1581,8 +1386,8 @@
* @param {SweetAlert} instance
* @param {SweetAlertOptions} params
*/
- var renderContent = function renderContent(instance, params) {
- var htmlContainer = getHtmlContainer();
+ const renderContent = (instance, params) => {
+ const htmlContainer = getHtmlContainer();
if (!htmlContainer) {
return;
}
@@ -1612,8 +1417,8 @@
* @param {SweetAlert} instance
* @param {SweetAlertOptions} params
*/
- var renderFooter = function renderFooter(instance, params) {
- var footer = getFooter();
+ const renderFooter = (instance, params) => {
+ const footer = getFooter();
if (!footer) {
return;
}
@@ -1631,9 +1436,9 @@
* @param {SweetAlert} instance
* @param {SweetAlertOptions} params
*/
- var renderIcon = function renderIcon(instance, params) {
- var innerParams = privateProps.innerParams.get(instance);
- var icon = getIcon();
+ const renderIcon = (instance, params) => {
+ const innerParams = privateProps.innerParams.get(instance);
+ const icon = getIcon();
if (!icon) {
return;
}
@@ -1650,7 +1455,7 @@
return;
}
if (params.icon && Object.keys(iconTypes).indexOf(params.icon) === -1) {
- error("Unknown icon! Expected \"success\", \"error\", \"warning\", \"info\" or \"question\", got \"".concat(params.icon, "\""));
+ error(`Unknown icon! Expected "success", "error", "warning", "info" or "question", got "${params.icon}"`);
hide(icon);
return;
}
@@ -1668,11 +1473,8 @@
* @param {HTMLElement} icon
* @param {SweetAlertOptions} params
*/
- var applyStyles = function applyStyles(icon, params) {
- for (var _i = 0, _Object$entries = Object.entries(iconTypes); _i < _Object$entries.length; _i++) {
- var _Object$entries$_i = _slicedToArray(_Object$entries[_i], 2),
- iconType = _Object$entries$_i[0],
- iconClassName = _Object$entries$_i[1];
+ const applyStyles = (icon, params) => {
+ for (const [iconType, iconClassName] of Object.entries(iconTypes)) {
if (params.icon !== iconType) {
removeClass(icon, iconClassName);
}
@@ -1690,31 +1492,41 @@
};
// Adjust success icon background color to match the popup background color
- var adjustSuccessIconBackgroundColor = function adjustSuccessIconBackgroundColor() {
- var popup = getPopup();
+ const adjustSuccessIconBackgroundColor = () => {
+ const popup = getPopup();
if (!popup) {
return;
}
- var popupBackgroundColor = window.getComputedStyle(popup).getPropertyValue('background-color');
+ const popupBackgroundColor = window.getComputedStyle(popup).getPropertyValue('background-color');
/** @type {NodeListOf} */
- var successIconParts = popup.querySelectorAll('[class^=swal2-success-circular-line], .swal2-success-fix');
- for (var i = 0; i < successIconParts.length; i++) {
+ const successIconParts = popup.querySelectorAll('[class^=swal2-success-circular-line], .swal2-success-fix');
+ for (let i = 0; i < successIconParts.length; i++) {
successIconParts[i].style.backgroundColor = popupBackgroundColor;
}
};
- var successIconHtml = "\n \n \n \n \n";
- var errorIconHtml = "\n \n \n \n \n";
+ const successIconHtml = `
+
+
+
+
+`;
+ const errorIconHtml = `
+
+
+
+
+`;
/**
* @param {HTMLElement} icon
* @param {SweetAlertOptions} params
*/
- var setContent = function setContent(icon, params) {
+ const setContent = (icon, params) => {
if (!params.icon && !params.iconHtml) {
return;
}
- var oldContent = icon.innerHTML;
- var newContent = '';
+ let oldContent = icon.innerHTML;
+ let newContent = '';
if (params.iconHtml) {
newContent = iconContent(params.iconHtml);
} else if (params.icon === 'success') {
@@ -1723,7 +1535,7 @@
} else if (params.icon === 'error') {
newContent = errorIconHtml;
} else if (params.icon) {
- var defaultIconHtml = {
+ const defaultIconHtml = {
question: '?',
warning: '!',
info: 'i'
@@ -1739,14 +1551,13 @@
* @param {HTMLElement} icon
* @param {SweetAlertOptions} params
*/
- var setColor = function setColor(icon, params) {
+ const setColor = (icon, params) => {
if (!params.iconColor) {
return;
}
icon.style.color = params.iconColor;
icon.style.borderColor = params.iconColor;
- for (var _i2 = 0, _arr = ['.swal2-success-line-tip', '.swal2-success-line-long', '.swal2-x-mark-line-left', '.swal2-x-mark-line-right']; _i2 < _arr.length; _i2++) {
- var sel = _arr[_i2];
+ for (const sel of ['.swal2-success-line-tip', '.swal2-success-line-long', '.swal2-x-mark-line-left', '.swal2-x-mark-line-right']) {
setStyle(icon, sel, 'background-color', params.iconColor);
}
setStyle(icon, '.swal2-success-ring', 'border-color', params.iconColor);
@@ -1756,16 +1567,14 @@
* @param {string} content
* @returns {string}
*/
- var iconContent = function iconContent(content) {
- return "").concat(content, "
");
- };
+ const iconContent = content => `${content}
`;
/**
* @param {SweetAlert} instance
* @param {SweetAlertOptions} params
*/
- var renderImage = function renderImage(instance, params) {
- var image = getImage();
+ const renderImage = (instance, params) => {
+ const image = getImage();
if (!image) {
return;
}
@@ -1792,9 +1601,9 @@
* @param {SweetAlert} instance
* @param {SweetAlertOptions} params
*/
- var renderPopup = function renderPopup(instance, params) {
- var container = getContainer();
- var popup = getPopup();
+ const renderPopup = (instance, params) => {
+ const container = getContainer();
+ const popup = getPopup();
if (!container || !popup) {
return;
}
@@ -1804,8 +1613,10 @@
if (params.toast) {
applyNumericalStyle(container, 'width', params.width);
popup.style.width = '100%';
- var loader = getLoader();
- loader && popup.insertBefore(loader, getIcon());
+ const loader = getLoader();
+ if (loader) {
+ popup.insertBefore(loader, getIcon());
+ }
} else {
applyNumericalStyle(popup, 'width', params.width);
}
@@ -1832,10 +1643,10 @@
* @param {HTMLElement} popup
* @param {SweetAlertOptions} params
*/
- var addClasses$1 = function addClasses(popup, params) {
- var showClass = params.showClass || {};
+ const addClasses$1 = (popup, params) => {
+ const showClass = params.showClass || {};
// Default Class + showClass when updating Swal.update({})
- popup.className = "".concat(swalClasses.popup, " ").concat(isVisible$1(popup) ? showClass.popup : '');
+ popup.className = `${swalClasses.popup} ${isVisible$1(popup) ? showClass.popup : ''}`;
if (params.toast) {
addClass([document.documentElement, document.body], swalClasses['toast-shown']);
addClass(popup, swalClasses.toast);
@@ -1845,13 +1656,14 @@
// Custom class
applyCustomClass(popup, params, 'popup');
+ // TODO: remove in the next major
if (typeof params.customClass === 'string') {
addClass(popup, params.customClass);
}
// Icon class (#1842)
if (params.icon) {
- addClass(popup, swalClasses["icon-".concat(params.icon)]);
+ addClass(popup, swalClasses[`icon-${params.icon}`]);
}
};
@@ -1859,13 +1671,15 @@
* @param {SweetAlert} instance
* @param {SweetAlertOptions} params
*/
- var renderProgressSteps = function renderProgressSteps(instance, params) {
- var progressStepsContainer = getProgressSteps();
+ const renderProgressSteps = (instance, params) => {
+ const progressStepsContainer = getProgressSteps();
if (!progressStepsContainer) {
return;
}
- var progressSteps = params.progressSteps,
- currentProgressStep = params.currentProgressStep;
+ const {
+ progressSteps,
+ currentProgressStep
+ } = params;
if (!progressSteps || progressSteps.length === 0 || currentProgressStep === undefined) {
hide(progressStepsContainer);
return;
@@ -1875,14 +1689,14 @@
if (currentProgressStep >= progressSteps.length) {
warn('Invalid currentProgressStep parameter, it should be less than progressSteps.length ' + '(currentProgressStep like JS arrays starts from 0)');
}
- progressSteps.forEach(function (step, index) {
- var stepEl = createStepElement(step);
+ progressSteps.forEach((step, index) => {
+ const stepEl = createStepElement(step);
progressStepsContainer.appendChild(stepEl);
if (index === currentProgressStep) {
addClass(stepEl, swalClasses['active-progress-step']);
}
if (index !== progressSteps.length - 1) {
- var lineEl = createLineElement(params);
+ const lineEl = createLineElement(params);
progressStepsContainer.appendChild(lineEl);
}
});
@@ -1892,8 +1706,8 @@
* @param {string} step
* @returns {HTMLLIElement}
*/
- var createStepElement = function createStepElement(step) {
- var stepEl = document.createElement('li');
+ const createStepElement = step => {
+ const stepEl = document.createElement('li');
addClass(stepEl, swalClasses['progress-step']);
setInnerHtml(stepEl, step);
return stepEl;
@@ -1903,8 +1717,8 @@
* @param {SweetAlertOptions} params
* @returns {HTMLLIElement}
*/
- var createLineElement = function createLineElement(params) {
- var lineEl = document.createElement('li');
+ const createLineElement = params => {
+ const lineEl = document.createElement('li');
addClass(lineEl, swalClasses['progress-step-line']);
if (params.progressStepsDistance) {
applyNumericalStyle(lineEl, 'width', params.progressStepsDistance);
@@ -1916,8 +1730,8 @@
* @param {SweetAlert} instance
* @param {SweetAlertOptions} params
*/
- var renderTitle = function renderTitle(instance, params) {
- var title = getTitle();
+ const renderTitle = (instance, params) => {
+ const title = getTitle();
if (!title) {
return;
}
@@ -1938,7 +1752,7 @@
* @param {SweetAlert} instance
* @param {SweetAlertOptions} params
*/
- var render = function render(instance, params) {
+ const render = (instance, params) => {
renderPopup(instance, params);
renderContainer(instance, params);
renderProgressSteps(instance, params);
@@ -1949,7 +1763,7 @@
renderContent(instance, params);
renderActions(instance, params);
renderFooter(instance, params);
- var popup = getPopup();
+ const popup = getPopup();
if (typeof params.didRender === 'function' && popup) {
params.didRender(popup);
}
@@ -1958,14 +1772,14 @@
/*
* Global function to determine if SweetAlert2 popup is shown
*/
- var isVisible = function isVisible() {
+ const isVisible = () => {
return isVisible$1(getPopup());
};
/*
* Global function to click 'Confirm' button
*/
- var clickConfirm = function clickConfirm() {
+ const clickConfirm = () => {
var _dom$getConfirmButton;
return (_dom$getConfirmButton = getConfirmButton()) === null || _dom$getConfirmButton === void 0 ? void 0 : _dom$getConfirmButton.click();
};
@@ -1973,7 +1787,7 @@
/*
* Global function to click 'Deny' button
*/
- var clickDeny = function clickDeny() {
+ const clickDeny = () => {
var _dom$getDenyButton;
return (_dom$getDenyButton = getDenyButton()) === null || _dom$getDenyButton === void 0 ? void 0 : _dom$getDenyButton.click();
};
@@ -1981,7 +1795,7 @@
/*
* Global function to click 'Cancel' button
*/
- var clickCancel = function clickCancel() {
+ const clickCancel = () => {
var _dom$getCancelButton;
return (_dom$getCancelButton = getCancelButton()) === null || _dom$getCancelButton === void 0 ? void 0 : _dom$getCancelButton.click();
};
@@ -1989,7 +1803,7 @@
/** @typedef {'cancel' | 'backdrop' | 'close' | 'esc' | 'timer'} DismissReason */
/** @type {Record} */
- var DismissReason = Object.freeze({
+ const DismissReason = Object.freeze({
cancel: 'cancel',
backdrop: 'backdrop',
close: 'close',
@@ -2000,7 +1814,7 @@
/**
* @param {GlobalState} globalState
*/
- var removeKeydownHandler = function removeKeydownHandler(globalState) {
+ const removeKeydownHandler = globalState => {
if (globalState.keydownTarget && globalState.keydownHandlerAdded) {
globalState.keydownTarget.removeEventListener('keydown', globalState.keydownHandler, {
capture: globalState.keydownListenerCapture
@@ -2014,12 +1828,10 @@
* @param {SweetAlertOptions} innerParams
* @param {*} dismissWith
*/
- var addKeydownHandler = function addKeydownHandler(globalState, innerParams, dismissWith) {
+ const addKeydownHandler = (globalState, innerParams, dismissWith) => {
removeKeydownHandler(globalState);
if (!innerParams.toast) {
- globalState.keydownHandler = function (e) {
- return keydownHandler(innerParams, e, dismissWith);
- };
+ globalState.keydownHandler = e => keydownHandler(innerParams, e, dismissWith);
globalState.keydownTarget = innerParams.keydownListenerCapture ? window : getPopup();
globalState.keydownListenerCapture = innerParams.keydownListenerCapture;
globalState.keydownTarget.addEventListener('keydown', globalState.keydownHandler, {
@@ -2033,9 +1845,9 @@
* @param {number} index
* @param {number} increment
*/
- var setFocus = function setFocus(index, increment) {
+ const setFocus = (index, increment) => {
var _dom$getPopup;
- var focusableElements = getFocusableElements();
+ const focusableElements = getFocusableElements();
// search for visible elements and select the next possible match
if (focusableElements.length) {
index = index + increment;
@@ -2054,15 +1866,15 @@
// no visible focusable elements, focus the popup
(_dom$getPopup = getPopup()) === null || _dom$getPopup === void 0 || _dom$getPopup.focus();
};
- var arrowKeysNextButton = ['ArrowRight', 'ArrowDown'];
- var arrowKeysPreviousButton = ['ArrowLeft', 'ArrowUp'];
+ const arrowKeysNextButton = ['ArrowRight', 'ArrowDown'];
+ const arrowKeysPreviousButton = ['ArrowLeft', 'ArrowUp'];
/**
* @param {SweetAlertOptions} innerParams
* @param {KeyboardEvent} event
* @param {Function} dismissWith
*/
- var keydownHandler = function keydownHandler(innerParams, event, dismissWith) {
+ const keydownHandler = (innerParams, event, dismissWith) => {
if (!innerParams) {
return; // This instance has already been destroyed
}
@@ -2089,7 +1901,7 @@
}
// ARROWS - switch focus between buttons
- else if ([].concat(arrowKeysNextButton, arrowKeysPreviousButton).includes(event.key)) {
+ else if ([...arrowKeysNextButton, ...arrowKeysPreviousButton].includes(event.key)) {
handleArrows(event.key);
}
@@ -2103,12 +1915,12 @@
* @param {KeyboardEvent} event
* @param {SweetAlertOptions} innerParams
*/
- var handleEnter = function handleEnter(event, innerParams) {
+ const handleEnter = (event, innerParams) => {
// https://github.com/sweetalert2/sweetalert2/issues/2386
if (!callIfFunction(innerParams.allowEnterKey)) {
return;
}
- var input = getInput$1(getPopup(), innerParams.input);
+ const input = getInput$1(getPopup(), innerParams.input);
if (event.target && input && event.target instanceof HTMLElement && event.target.outerHTML === input.outerHTML) {
if (['textarea', 'file'].includes(innerParams.input)) {
return; // do not submit
@@ -2121,11 +1933,11 @@
/**
* @param {KeyboardEvent} event
*/
- var handleTab = function handleTab(event) {
- var targetElement = event.target;
- var focusableElements = getFocusableElements();
- var btnIndex = -1;
- for (var i = 0; i < focusableElements.length; i++) {
+ const handleTab = event => {
+ const targetElement = event.target;
+ const focusableElements = getFocusableElements();
+ let btnIndex = -1;
+ for (let i = 0; i < focusableElements.length; i++) {
if (targetElement === focusableElements[i]) {
btnIndex = i;
break;
@@ -2148,25 +1960,25 @@
/**
* @param {string} key
*/
- var handleArrows = function handleArrows(key) {
- var actions = getActions();
- var confirmButton = getConfirmButton();
- var denyButton = getDenyButton();
- var cancelButton = getCancelButton();
+ const handleArrows = key => {
+ const actions = getActions();
+ const confirmButton = getConfirmButton();
+ const denyButton = getDenyButton();
+ const cancelButton = getCancelButton();
if (!actions || !confirmButton || !denyButton || !cancelButton) {
return;
}
/** @type HTMLElement[] */
- var buttons = [confirmButton, denyButton, cancelButton];
+ const buttons = [confirmButton, denyButton, cancelButton];
if (document.activeElement instanceof HTMLElement && !buttons.includes(document.activeElement)) {
return;
}
- var sibling = arrowKeysNextButton.includes(key) ? 'nextElementSibling' : 'previousElementSibling';
- var buttonToFocus = document.activeElement;
+ const sibling = arrowKeysNextButton.includes(key) ? 'nextElementSibling' : 'previousElementSibling';
+ let buttonToFocus = document.activeElement;
if (!buttonToFocus) {
return;
}
- for (var i = 0; i < actions.children.length; i++) {
+ for (let i = 0; i < actions.children.length; i++) {
buttonToFocus = buttonToFocus[sibling];
if (!buttonToFocus) {
return;
@@ -2185,7 +1997,7 @@
* @param {SweetAlertOptions} innerParams
* @param {Function} dismissWith
*/
- var handleEsc = function handleEsc(event, innerParams, dismissWith) {
+ const handleEsc = (event, innerParams, dismissWith) => {
if (callIfFunction(innerParams.allowEscapeKey)) {
event.preventDefault();
dismissWith(DismissReason.esc);
@@ -2212,10 +2024,10 @@
// elements not within the active modal dialog will not be surfaced if a user opens a screen
// reader’s list of elements (headings, form controls, landmarks, etc.) in the document.
- var setAriaHidden = function setAriaHidden() {
- var container = getContainer();
- var bodyChildren = Array.from(document.body.children);
- bodyChildren.forEach(function (el) {
+ const setAriaHidden = () => {
+ const container = getContainer();
+ const bodyChildren = Array.from(document.body.children);
+ bodyChildren.forEach(el => {
if (el.contains(container)) {
return;
}
@@ -2225,9 +2037,9 @@
el.setAttribute('aria-hidden', 'true');
});
};
- var unsetAriaHidden = function unsetAriaHidden() {
- var bodyChildren = Array.from(document.body.children);
- bodyChildren.forEach(function (el) {
+ const unsetAriaHidden = () => {
+ const bodyChildren = Array.from(document.body.children);
+ bodyChildren.forEach(el => {
if (el.hasAttribute('data-previous-aria-hidden')) {
el.setAttribute('aria-hidden', el.getAttribute('data-previous-aria-hidden') || '');
el.removeAttribute('data-previous-aria-hidden');
@@ -2238,16 +2050,16 @@
};
// @ts-ignore
- var isSafariOrIOS = typeof window !== 'undefined' && !!window.GestureEvent; // true for Safari desktop + all iOS browsers https://stackoverflow.com/a/70585394
+ const isSafariOrIOS = typeof window !== 'undefined' && !!window.GestureEvent; // true for Safari desktop + all iOS browsers https://stackoverflow.com/a/70585394
/**
* Fix iOS scrolling
* http://stackoverflow.com/q/39626302
*/
- var iOSfix = function iOSfix() {
+ const iOSfix = () => {
if (isSafariOrIOS && !hasClass(document.body, swalClasses.iosfix)) {
- var offset = document.body.scrollTop;
- document.body.style.top = "".concat(offset * -1, "px");
+ const offset = document.body.scrollTop;
+ document.body.style.top = `${offset * -1}px`;
addClass(document.body, swalClasses.iosfix);
lockBodyScroll();
}
@@ -2256,23 +2068,23 @@
/**
* https://github.com/sweetalert2/sweetalert2/issues/1246
*/
- var lockBodyScroll = function lockBodyScroll() {
- var container = getContainer();
+ const lockBodyScroll = () => {
+ const container = getContainer();
if (!container) {
return;
}
/** @type {boolean} */
- var preventTouchMove;
+ let preventTouchMove;
/**
* @param {TouchEvent} event
*/
- container.ontouchstart = function (event) {
+ container.ontouchstart = event => {
preventTouchMove = shouldPreventTouchMove(event);
};
/**
* @param {TouchEvent} event
*/
- container.ontouchmove = function (event) {
+ container.ontouchmove = event => {
if (preventTouchMove) {
event.preventDefault();
event.stopPropagation();
@@ -2284,10 +2096,10 @@
* @param {TouchEvent} event
* @returns {boolean}
*/
- var shouldPreventTouchMove = function shouldPreventTouchMove(event) {
- var target = event.target;
- var container = getContainer();
- var htmlContainer = getHtmlContainer();
+ const shouldPreventTouchMove = event => {
+ const target = event.target;
+ const container = getContainer();
+ const htmlContainer = getHtmlContainer();
if (!container || !htmlContainer) {
return false;
}
@@ -2315,7 +2127,7 @@
* @param {*} event
* @returns {boolean}
*/
- var isStylus = function isStylus(event) {
+ const isStylus = event => {
return event.touches && event.touches.length && event.touches[0].touchType === 'stylus';
};
@@ -2325,12 +2137,12 @@
* @param {TouchEvent} event
* @returns {boolean}
*/
- var isZoom = function isZoom(event) {
+ const isZoom = event => {
return event.touches && event.touches.length > 1;
};
- var undoIOSfix = function undoIOSfix() {
+ const undoIOSfix = () => {
if (hasClass(document.body, swalClasses.iosfix)) {
- var offset = parseInt(document.body.style.top, 10);
+ const offset = parseInt(document.body.style.top, 10);
removeClass(document.body, swalClasses.iosfix);
document.body.style.top = '';
document.body.scrollTop = offset * -1;
@@ -2343,11 +2155,11 @@
*
* @returns {number}
*/
- var measureScrollbar = function measureScrollbar() {
- var scrollDiv = document.createElement('div');
+ const measureScrollbar = () => {
+ const scrollDiv = document.createElement('div');
scrollDiv.className = swalClasses['scrollbar-measure'];
document.body.appendChild(scrollDiv);
- var scrollbarWidth = scrollDiv.getBoundingClientRect().width - scrollDiv.clientWidth;
+ const scrollbarWidth = scrollDiv.getBoundingClientRect().width - scrollDiv.clientWidth;
document.body.removeChild(scrollDiv);
return scrollbarWidth;
};
@@ -2356,12 +2168,12 @@
* Remember state in cases where opening and handling a modal will fiddle with it.
* @type {number | null}
*/
- var previousBodyPadding = null;
+ let previousBodyPadding = null;
/**
* @param {string} initialBodyOverflow
*/
- var replaceScrollbarWithPadding = function replaceScrollbarWithPadding(initialBodyOverflow) {
+ const replaceScrollbarWithPadding = initialBodyOverflow => {
// for queues, do not do this more than once
if (previousBodyPadding !== null) {
return;
@@ -2371,12 +2183,12 @@
) {
// add padding so the content doesn't shift after removal of scrollbar
previousBodyPadding = parseInt(window.getComputedStyle(document.body).getPropertyValue('padding-right'));
- document.body.style.paddingRight = "".concat(previousBodyPadding + measureScrollbar(), "px");
+ document.body.style.paddingRight = `${previousBodyPadding + measureScrollbar()}px`;
}
};
- var undoReplaceScrollbarWithPadding = function undoReplaceScrollbarWithPadding() {
+ const undoReplaceScrollbarWithPadding = () => {
if (previousBodyPadding !== null) {
- document.body.style.paddingRight = "".concat(previousBodyPadding, "px");
+ document.body.style.paddingRight = `${previousBodyPadding}px`;
previousBodyPadding = null;
}
};
@@ -2391,9 +2203,7 @@
if (isToast()) {
triggerDidCloseAndDispose(instance, didClose);
} else {
- restoreActiveElement(returnFocus).then(function () {
- return triggerDidCloseAndDispose(instance, didClose);
- });
+ restoreActiveElement(returnFocus).then(() => triggerDidCloseAndDispose(instance, didClose));
removeKeydownHandler(globalState);
}
@@ -2428,8 +2238,8 @@
*/
function close(resolveValue) {
resolveValue = prepareResolveValue(resolveValue);
- var swalPromiseResolve = privateMethods.swalPromiseResolve.get(this);
- var didClose = triggerClosePopup(this);
+ const swalPromiseResolve = privateMethods.swalPromiseResolve.get(this);
+ const didClose = triggerClosePopup(this);
if (this.isAwaitingPromise) {
// A swal awaiting for a promise (after a click on Confirm or Deny) cannot be dismissed anymore #2335
if (!resolveValue.isDismissed) {
@@ -2441,18 +2251,18 @@
swalPromiseResolve(resolveValue);
}
}
- var triggerClosePopup = function triggerClosePopup(instance) {
- var popup = getPopup();
+ const triggerClosePopup = instance => {
+ const popup = getPopup();
if (!popup) {
return false;
}
- var innerParams = privateProps.innerParams.get(instance);
+ const innerParams = privateProps.innerParams.get(instance);
if (!innerParams || hasClass(popup, innerParams.hideClass.popup)) {
return false;
}
removeClass(popup, innerParams.showClass.popup);
addClass(popup, innerParams.hideClass.popup);
- var backdrop = getContainer();
+ const backdrop = getContainer();
removeClass(backdrop, innerParams.showClass.backdrop);
addClass(backdrop, innerParams.hideClass.backdrop);
handlePopupAnimation(instance, popup, innerParams);
@@ -2463,7 +2273,7 @@
* @param {any} error
*/
function rejectPromise(error) {
- var rejectPromise = privateMethods.swalPromiseReject.get(this);
+ const rejectPromise = privateMethods.swalPromiseReject.get(this);
handleAwaitingPromise(this);
if (rejectPromise) {
// Reject Swal promise
@@ -2474,7 +2284,7 @@
/**
* @param {SweetAlert} instance
*/
- var handleAwaitingPromise = function handleAwaitingPromise(instance) {
+ const handleAwaitingPromise = instance => {
if (instance.isAwaitingPromise) {
delete instance.isAwaitingPromise;
// The instance might have been previously partly destroyed, we must resume the destroy process in this case #2335
@@ -2488,7 +2298,7 @@
* @param {any} resolveValue
* @returns {SweetAlertResult}
*/
- var prepareResolveValue = function prepareResolveValue(resolveValue) {
+ const prepareResolveValue = resolveValue => {
// When user calls Swal.close()
if (typeof resolveValue === 'undefined') {
return {
@@ -2509,10 +2319,10 @@
* @param {HTMLElement} popup
* @param {SweetAlertOptions} innerParams
*/
- var handlePopupAnimation = function handlePopupAnimation(instance, popup, innerParams) {
- var container = getContainer();
+ const handlePopupAnimation = (instance, popup, innerParams) => {
+ const container = getContainer();
// If animation is supported, animate
- var animationIsSupported = animationEndEvent && hasCssAnimation(popup);
+ const animationIsSupported = animationEndEvent && hasCssAnimation(popup);
if (typeof innerParams.willClose === 'function') {
innerParams.willClose(popup);
}
@@ -2531,7 +2341,7 @@
* @param {boolean} returnFocus
* @param {Function} didClose
*/
- var animatePopup = function animatePopup(instance, popup, container, returnFocus, didClose) {
+ const animatePopup = (instance, popup, container, returnFocus, didClose) => {
if (!animationEndEvent) {
return;
}
@@ -2548,8 +2358,8 @@
* @param {SweetAlert} instance
* @param {Function} didClose
*/
- var triggerDidCloseAndDispose = function triggerDidCloseAndDispose(instance, didClose) {
- setTimeout(function () {
+ const triggerDidCloseAndDispose = (instance, didClose) => {
+ setTimeout(() => {
if (typeof didClose === 'function') {
didClose.bind(instance.params)();
}
@@ -2566,16 +2376,16 @@
*
* @param {HTMLButtonElement | null} [buttonToReplace]
*/
- var showLoading = function showLoading(buttonToReplace) {
- var popup = getPopup();
+ const showLoading = buttonToReplace => {
+ let popup = getPopup();
if (!popup) {
- new Swal(); // eslint-disable-line no-new
+ new Swal();
}
popup = getPopup();
if (!popup) {
return;
}
- var loader = getLoader();
+ const loader = getLoader();
if (isToast()) {
hide(getIcon());
} else {
@@ -2591,9 +2401,9 @@
* @param {HTMLElement} popup
* @param {HTMLButtonElement | null} [buttonToReplace]
*/
- var replaceButton = function replaceButton(popup, buttonToReplace) {
- var actions = getActions();
- var loader = getLoader();
+ const replaceButton = (popup, buttonToReplace) => {
+ const actions = getActions();
+ const loader = getLoader();
if (!actions || !loader) {
return;
}
@@ -2613,12 +2423,10 @@
* @param {SweetAlert} instance
* @param {SweetAlertOptions} params
*/
- var handleInputOptionsAndValue = function handleInputOptionsAndValue(instance, params) {
+ const handleInputOptionsAndValue = (instance, params) => {
if (params.input === 'select' || params.input === 'radio') {
handleInputOptions(instance, params);
- } else if (['text', 'email', 'number', 'tel', 'textarea'].some(function (i) {
- return i === params.input;
- }) && (hasToPromiseFn(params.inputValue) || isPromise(params.inputValue))) {
+ } else if (['text', 'email', 'number', 'tel', 'textarea'].some(i => i === params.input) && (hasToPromiseFn(params.inputValue) || isPromise(params.inputValue))) {
showLoading(getConfirmButton());
handleInputValue(instance, params);
}
@@ -2629,8 +2437,8 @@
* @param {SweetAlertOptions} innerParams
* @returns {SweetAlertInputValue}
*/
- var getInputValue = function getInputValue(instance, innerParams) {
- var input = instance.getInput();
+ const getInputValue = (instance, innerParams) => {
+ const input = instance.getInput();
if (!input) {
return null;
}
@@ -2650,39 +2458,33 @@
* @param {HTMLInputElement} input
* @returns {number}
*/
- var getCheckboxValue = function getCheckboxValue(input) {
- return input.checked ? 1 : 0;
- };
+ const getCheckboxValue = input => input.checked ? 1 : 0;
/**
* @param {HTMLInputElement} input
* @returns {string | null}
*/
- var getRadioValue = function getRadioValue(input) {
- return input.checked ? input.value : null;
- };
+ const getRadioValue = input => input.checked ? input.value : null;
/**
* @param {HTMLInputElement} input
* @returns {FileList | File | null}
*/
- var getFileValue = function getFileValue(input) {
- return input.files && input.files.length ? input.getAttribute('multiple') !== null ? input.files : input.files[0] : null;
- };
+ const getFileValue = input => input.files && input.files.length ? input.getAttribute('multiple') !== null ? input.files : input.files[0] : null;
/**
* @param {SweetAlert} instance
* @param {SweetAlertOptions} params
*/
- var handleInputOptions = function handleInputOptions(instance, params) {
- var popup = getPopup();
+ const handleInputOptions = (instance, params) => {
+ const popup = getPopup();
if (!popup) {
return;
}
/**
* @param {Record} inputOptions
*/
- var processInputOptions = function processInputOptions(inputOptions) {
+ const processInputOptions = inputOptions => {
if (params.input === 'select') {
populateSelectOptions(popup, formatInputOptions(inputOptions), params);
} else if (params.input === 'radio') {
@@ -2691,14 +2493,14 @@
};
if (hasToPromiseFn(params.inputOptions) || isPromise(params.inputOptions)) {
showLoading(getConfirmButton());
- asPromise(params.inputOptions).then(function (inputOptions) {
+ asPromise(params.inputOptions).then(inputOptions => {
instance.hideLoading();
processInputOptions(inputOptions);
});
- } else if (_typeof(params.inputOptions) === 'object') {
+ } else if (typeof params.inputOptions === 'object') {
processInputOptions(params.inputOptions);
} else {
- error("Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(_typeof(params.inputOptions)));
+ error(`Unexpected type of inputOptions! Expected object, Map or Promise, got ${typeof params.inputOptions}`);
}
};
@@ -2706,19 +2508,19 @@
* @param {SweetAlert} instance
* @param {SweetAlertOptions} params
*/
- var handleInputValue = function handleInputValue(instance, params) {
- var input = instance.getInput();
+ const handleInputValue = (instance, params) => {
+ const input = instance.getInput();
if (!input) {
return;
}
hide(input);
- asPromise(params.inputValue).then(function (inputValue) {
- input.value = params.input === 'number' ? "".concat(parseFloat(inputValue) || 0) : "".concat(inputValue);
+ asPromise(params.inputValue).then(inputValue => {
+ input.value = params.input === 'number' ? `${parseFloat(inputValue) || 0}` : `${inputValue}`;
show(input);
input.focus();
instance.hideLoading();
- })["catch"](function (err) {
- error("Error in inputValue promise: ".concat(err));
+ }).catch(err => {
+ error(`Error in inputValue promise: ${err}`);
input.value = '';
show(input);
input.focus();
@@ -2732,7 +2534,7 @@
* @param {SweetAlertOptions} params
*/
function populateSelectOptions(popup, inputOptions, params) {
- var select = getDirectChildByClass(popup, swalClasses.select);
+ const select = getDirectChildByClass(popup, swalClasses.select);
if (!select) {
return;
}
@@ -2741,29 +2543,27 @@
* @param {string} optionLabel
* @param {string} optionValue
*/
- var renderOption = function renderOption(parent, optionLabel, optionValue) {
- var option = document.createElement('option');
+ const renderOption = (parent, optionLabel, optionValue) => {
+ const option = document.createElement('option');
option.value = optionValue;
setInnerHtml(option, optionLabel);
option.selected = isSelected(optionValue, params.inputValue);
parent.appendChild(option);
};
- inputOptions.forEach(function (inputOption) {
- var optionValue = inputOption[0];
- var optionLabel = inputOption[1];
+ inputOptions.forEach(inputOption => {
+ const optionValue = inputOption[0];
+ const optionLabel = inputOption[1];
//