GULP DIST

This commit is contained in:
2022-04-07 14:11:14 +02:00
parent 0a1f83b99c
commit 5e7215d041
137 changed files with 18556 additions and 2641 deletions
+2 -2
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -49,7 +49,7 @@
<nav class="js-mega-menu navbar-nav-wrap">
<nav class="js-mega-menu navbar-nav-wrap pe-3">
<!-- Toggler -->
<button class="navbar-toggler ms-auto" type="button" data-bs-toggle="collapse" data-bs-target="#topbarNavDropdown" aria-controls="topbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
<span class="d-flex justify-content-between align-items-center small">
+1 -1
View File
@@ -49,7 +49,7 @@
<nav class="js-mega-menu navbar-nav-wrap">
<nav class="js-mega-menu navbar-nav-wrap pe-3">
<!-- Toggler -->
<button class="navbar-toggler ms-auto" type="button" data-bs-toggle="collapse" data-bs-target="#topbarNavDropdown" aria-controls="topbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
<span class="d-flex justify-content-between align-items-center small">
+1 -1
View File
@@ -52,7 +52,7 @@
<nav class="js-mega-menu navbar-nav-wrap">
<nav class="js-mega-menu navbar-nav-wrap pe-3">
<!-- Toggler -->
<button class="navbar-toggler ms-auto" type="button" data-bs-toggle="collapse" data-bs-target="#topbarNavDropdown" aria-controls="topbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
<span class="d-flex justify-content-between align-items-center small">
+3 -3
View File
@@ -52,7 +52,7 @@
<nav class="js-mega-menu navbar-nav-wrap">
<nav class="js-mega-menu navbar-nav-wrap pe-3">
<!-- Toggler -->
<button class="navbar-toggler ms-auto" type="button" data-bs-toggle="collapse" data-bs-target="#topbarNavDropdown" aria-controls="topbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
<span class="d-flex justify-content-between align-items-center small">
@@ -495,7 +495,7 @@
</a>
</li>
<li class="nav-item">
<a class="nav-link " href="./account-notifications.html">
<a class="nav-link " href="./magico-company-edit.html">
<i class="bi-building nav-icon"></i> Twoja firma
</a>
</li>
@@ -507,7 +507,7 @@
<!-- List -->
<ul class="nav nav-sm nav-tabs nav-vertical mb-4">
<li class="nav-item">
<a class="nav-link " href="./magico-company-dashboard.html">
<a class="nav-link " href="./magico-company-team.html">
<i class="bi-people nav-icon"></i> Zespół
</a>
</li>
+3 -3
View File
@@ -52,7 +52,7 @@
<nav class="js-mega-menu navbar-nav-wrap">
<nav class="js-mega-menu navbar-nav-wrap pe-3">
<!-- Toggler -->
<button class="navbar-toggler ms-auto" type="button" data-bs-toggle="collapse" data-bs-target="#topbarNavDropdown" aria-controls="topbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
<span class="d-flex justify-content-between align-items-center small">
@@ -494,7 +494,7 @@
</a>
</li>
<li class="nav-item">
<a class="nav-link " href="./account-notifications.html">
<a class="nav-link " href="./magico-company-edit.html">
<i class="bi-building nav-icon"></i> Twoja firma
</a>
</li>
@@ -506,7 +506,7 @@
<!-- List -->
<ul class="nav nav-sm nav-tabs nav-vertical mb-4">
<li class="nav-item">
<a class="nav-link " href="./magico-company-dashboard.html">
<a class="nav-link " href="./magico-company-team.html">
<i class="bi-people nav-icon"></i> Zespół
</a>
</li>
+1 -1
View File
@@ -52,7 +52,7 @@
<nav class="js-mega-menu navbar-nav-wrap">
<nav class="js-mega-menu navbar-nav-wrap pe-3">
<!-- Toggler -->
<button class="navbar-toggler ms-auto" type="button" data-bs-toggle="collapse" data-bs-target="#topbarNavDropdown" aria-controls="topbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
<span class="d-flex justify-content-between align-items-center small">
+3 -3
View File
@@ -52,7 +52,7 @@
<nav class="js-mega-menu navbar-nav-wrap">
<nav class="js-mega-menu navbar-nav-wrap pe-3">
<!-- Toggler -->
<button class="navbar-toggler ms-auto" type="button" data-bs-toggle="collapse" data-bs-target="#topbarNavDropdown" aria-controls="topbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
<span class="d-flex justify-content-between align-items-center small">
@@ -494,7 +494,7 @@
</a>
</li>
<li class="nav-item">
<a class="nav-link " href="./account-notifications.html">
<a class="nav-link " href="./magico-company-edit.html">
<i class="bi-building nav-icon"></i> Twoja firma
</a>
</li>
@@ -506,7 +506,7 @@
<!-- List -->
<ul class="nav nav-sm nav-tabs nav-vertical mb-4">
<li class="nav-item">
<a class="nav-link active" href="./magico-company-dashboard.html">
<a class="nav-link " href="./magico-company-team.html">
<i class="bi-people nav-icon"></i> Zespół
</a>
</li>
File diff suppressed because it is too large Load Diff
+4 -4
View File
@@ -52,7 +52,7 @@
<nav class="js-mega-menu navbar-nav-wrap">
<nav class="js-mega-menu navbar-nav-wrap pe-3">
<!-- Toggler -->
<button class="navbar-toggler ms-auto" type="button" data-bs-toggle="collapse" data-bs-target="#topbarNavDropdown" aria-controls="topbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
<span class="d-flex justify-content-between align-items-center small">
@@ -494,7 +494,7 @@
</a>
</li>
<li class="nav-item">
<a class="nav-link " href="./account-notifications.html">
<a class="nav-link " href="./magico-company-edit.html">
<i class="bi-building nav-icon"></i> Twoja firma
</a>
</li>
@@ -506,7 +506,7 @@
<!-- List -->
<ul class="nav nav-sm nav-tabs nav-vertical mb-4">
<li class="nav-item">
<a class="nav-link " href="./magico-company-dashboard.html">
<a class="nav-link " href="./magico-company-team.html">
<i class="bi-people nav-icon"></i> Zespół
</a>
</li>
@@ -1646,7 +1646,7 @@
<!-- Media -->
<div class="d-flex">
<div class="flex-shrink-0">
<img class="avatar avatar-sm" src="../assets/svg/brands/mastercard.svg" alt="Image Description">
<img class="avatar avatar-sm" src="./assets/svg/brands/mastercard.svg" alt="Image Description">
</div>
<div class="flex-grow-1 ms-3">
File diff suppressed because it is too large Load Diff
+14 -12
View File
@@ -1742,25 +1742,25 @@
<!-- Body -->
<div class="modal-body">
<div class="text-center mb-5">
<h3 class="mb-1">Invoice from Front</h3>
<span class="d-block">Invoice #3682303</span>
<h3 class="mb-1">Karczma Biesiada</h3>
<span class="d-block">Dokument 03/03/2022</span>
</div>
<div class="row mb-6">
<div class="col-md-4 mb-3 mb-md-0">
<small class="text-cap text-secondary mb-0">Amount paid:</small>
<small class="text-cap text-secondary mb-0">Kwota:</small>
<span class="text-dark">$316.8</span>
</div>
<!-- End Col -->
<div class="col-md-4 mb-3 mb-md-0">
<small class="text-cap text-secondary mb-0">Date paid:</small>
<span class="text-dark">April 22, 2020</span>
<small class="text-cap text-secondary mb-0">Data płatności:</small>
<span class="text-dark">1 kwietnia 2022</span>
</div>
<!-- End Col -->
<div class="col-md-4">
<small class="text-cap text-secondary mb-0">Payment method:</small>
<small class="text-cap text-secondary mb-0">Płatność:</small>
<div class="d-flex align-items-center">
<img class="avatar avatar-xss me-2" src="./assets/svg/brands/mastercard.svg" alt="Image Description">
<span class="text-dark">&bull;&bull;&bull;&bull; 4242</span>
@@ -1770,24 +1770,26 @@
</div>
<!-- End Row -->
<small class="text-cap mb-2">Summary</small>
<small class="text-cap mb-2">Podsumowanie</small>
<ul class="list-group mb-4">
<li class="list-group-item text-dark">
<div class="d-flex justify-content-between align-items-center">
<span>Payment to Front</span>
<span>$264.00</span>
<span>sms.magico</span>
<small class="text-muted">13 wiadomości</small>
<span>$4.00</span>
</div>
</li>
<li class="list-group-item text-dark">
<div class="d-flex justify-content-between align-items-center">
<span>Tax fee</span>
<span>gastro.magico</span>
<small class="text-muted">start plan</small>
<span>$52.8</span>
</div>
</li>
<li class="list-group-item list-group-item-light text-dark">
<div class="d-flex justify-content-between align-items-center">
<strong>Amount paid</strong>
<strong>Suma</strong>
<strong>$316.8</strong>
</div>
</li>
@@ -1795,7 +1797,7 @@
<div class="d-flex justify-content-end gap-3">
<a class="btn btn-white btn-xs" href="#"><i class="bi-file-earmark-arrow-down-fill me-1"></i> PDF</a>
<a class="btn btn-white btn-xs" href="#"><i class="bi-printer-fill me-1"></i> Print Details</a>
<a class="btn btn-white btn-xs" href="#"><i class="bi-printer-fill me-1"></i> Drukuj szczegóły</a>
</div>
<hr class="my-5">
View File
+2 -2
View File
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
sass --watch scss/theme.scss:css/theme.css --style compressed
+45 -17
View File
@@ -1,18 +1,42 @@
{
"name": "aos",
"version": "2.3.4",
"description": "Animate on scroll library",
"homepage": "https://michalsnik.github.io/aos/",
"author": "Michał Sajnóg <michal.sajnog@hotmail.com>",
"license": "MIT",
"main": "dist/aos.js",
"repository": {
"type": "git",
"url": "https://github.com/michalsnik/aos.git"
"_from": "aos@^2.3.4",
"_id": "aos@2.3.4",
"_inBundle": false,
"_integrity": "sha512-zh/ahtR2yME4I51z8IttIt4lC1Nw0ktsFtmeDzID1m9naJnWXhCoARaCgNOGXb5CLy3zm+wqmRAEgMYB5E2HUw==",
"_location": "/aos",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "aos@^2.3.4",
"name": "aos",
"escapedName": "aos",
"rawSpec": "^2.3.4",
"saveSpec": null,
"fetchSpec": "^2.3.4"
},
"_requiredBy": [
"/"
],
"_resolved": "https://registry.npmjs.org/aos/-/aos-2.3.4.tgz",
"_shasum": "eb1c29f5c1806a197cf6323080747547edd3db8e",
"_spec": "aos@^2.3.4",
"_where": "/mnt/d/WWW/magico.front",
"author": {
"name": "Michał Sajnóg",
"email": "michal.sajnog@hotmail.com"
},
"bugs": {
"url": "https://github.com/michalsnik/aos/issues"
},
"bundleDependencies": false,
"dependencies": {
"classlist-polyfill": "^1.0.3",
"lodash.debounce": "^4.0.6",
"lodash.throttle": "^4.0.1"
},
"deprecated": false,
"description": "Animate on scroll library",
"devDependencies": {
"autoprefixer": "^7.1.2",
"babel-core": "^6.9.1",
@@ -39,14 +63,18 @@
"webpack": "^1.13.1",
"webpack-dev-server": "^1.14.1"
},
"dependencies": {
"classlist-polyfill": "^1.0.3",
"lodash.debounce": "^4.0.6",
"lodash.throttle": "^4.0.1"
"homepage": "https://michalsnik.github.io/aos/",
"license": "MIT",
"main": "dist/aos.js",
"name": "aos",
"repository": {
"type": "git",
"url": "git+https://github.com/michalsnik/aos.git"
},
"scripts": {
"test": "node ./node_modules/karma/bin/karma start karma.conf.js",
"build": "webpack",
"dev": "node ./node_modules/webpack-dev-server/bin/webpack-dev-server.js"
}
"dev": "node ./node_modules/webpack-dev-server/bin/webpack-dev-server.js",
"test": "node ./node_modules/karma/bin/karma start karma.conf.js"
},
"version": "2.3.4"
}
+59 -31
View File
@@ -1,38 +1,66 @@
{
"name": "appear",
"version": "1.0.1",
"description": "utility to run functions when dom elements are visible",
"kewords": "detect viewable elements dom lazy load scroll ",
"main": "appear.js",
"directories": {
"test": "test"
"_from": "appear@^1.0.1",
"_id": "appear@1.0.1",
"_inBundle": false,
"_integrity": "sha1-mWw/EqcaQit+ljw9N443hCgS5rU=",
"_location": "/appear",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "appear@^1.0.1",
"name": "appear",
"escapedName": "appear",
"rawSpec": "^1.0.1",
"saveSpec": null,
"fetchSpec": "^1.0.1"
},
"scripts": {
"test": "echo \"no tests\"",
"prepublish": "gulp build",
"gh-pages": "gulp build gh-pages; cp -r assets/img .gh-pages/examples/lazy"
},
"author": "Matthew Hadley (https://github.com/diffsky)",
"license": "MIT",
"devDependencies": {
"gulp": "^3.8.11",
"gulp-strip-debug": "^1.0.2",
"gulp-uglify": "^1.1.0",
"gulp-eslint": "^0.5.0",
"gulp-replace": "^0.5.3",
"marked": "^0.3.3",
"ejstpl": "^4.0.0",
"gulp-size": "^1.2.1",
"gulp-tap": "^0.1.3",
"mkdirp": "^0.5.0",
"gulp-rename": "^1.2.0"
},
"repository": {
"type": "git",
"url": "git://github.com/creativelive/appear.git"
"_requiredBy": [
"/"
],
"_resolved": "https://registry.npmjs.org/appear/-/appear-1.0.1.tgz",
"_shasum": "996c3f12a71a422b7e963c3d378e37842812e6b5",
"_spec": "appear@^1.0.1",
"_where": "/mnt/d/WWW/magico.front",
"author": {
"name": "Matthew Hadley",
"url": "https://github.com/diffsky"
},
"bugs": {
"url": "https://github.com/creativelive/appear/issues"
},
"homepage": "https://github.com/creativelive/appear"
"bundleDependencies": false,
"deprecated": false,
"description": "utility to run functions when dom elements are visible",
"devDependencies": {
"ejstpl": "^4.0.0",
"gulp": "^3.8.11",
"gulp-eslint": "^0.5.0",
"gulp-rename": "^1.2.0",
"gulp-replace": "^0.5.3",
"gulp-size": "^1.2.1",
"gulp-strip-debug": "^1.0.2",
"gulp-tap": "^0.1.3",
"gulp-uglify": "^1.1.0",
"marked": "^0.3.3",
"mkdirp": "^0.5.0"
},
"directories": {
"test": "test"
},
"homepage": "https://github.com/creativelive/appear",
"kewords": "detect viewable elements dom lazy load scroll ",
"license": "MIT",
"main": "appear.js",
"name": "appear",
"repository": {
"type": "git",
"url": "git://github.com/creativelive/appear.git"
},
"scripts": {
"gh-pages": "gulp build gh-pages; cp -r assets/img .gh-pages/examples/lazy",
"prepublish": "gulp build",
"test": "echo \"no tests\""
},
"version": "1.0.1"
}
+1 -1
View File
@@ -7,7 +7,7 @@
<h3 align="center">Bootstrap Icons</h3>
<p align="center">
Official open source SVG icon library for Bootstrap with over 1,500 icons.
Official open source SVG icon library for Bootstrap with over 1,600 icons.
<br>
<a href="https://icons.getbootstrap.com/"><strong>Explore Bootstrap Icons »</strong></a>
<br>
File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 750 KiB

After

Width:  |  Height:  |  Size: 861 KiB

+152 -4
View File
@@ -1,7 +1,7 @@
@font-face {
font-family: "bootstrap-icons";
src: url("./fonts/bootstrap-icons.woff2?a74547b2f0863226942ff8ded57db345") format("woff2"),
url("./fonts/bootstrap-icons.woff?a74547b2f0863226942ff8ded57db345") format("woff");
src: url("./fonts/bootstrap-icons.woff2?524846017b983fc8ded9325d94ed40f3") format("woff2"),
url("./fonts/bootstrap-icons.woff?524846017b983fc8ded9325d94ed40f3") format("woff");
}
.bi::before,
@@ -1499,8 +1499,8 @@ url("./fonts/bootstrap-icons.woff?a74547b2f0863226942ff8ded57db345") format("wof
.bi-ticket-detailed-fill::before { content: "\f6c6"; }
.bi-ticket-detailed::before { content: "\f6c7"; }
.bi-ticket-fill::before { content: "\f6c8"; }
.bi-ticket-perferated-fill::before { content: "\f6c9"; }
.bi-ticket-perferated::before { content: "\f6ca"; }
.bi-ticket-perforated-fill::before { content: "\f6c9"; }
.bi-ticket-perforated::before { content: "\f6ca"; }
.bi-ticket::before { content: "\f6cb"; }
.bi-tiktok::before { content: "\f6cc"; }
.bi-window-dash::before { content: "\f6cd"; }
@@ -1554,3 +1554,151 @@ url("./fonts/bootstrap-icons.woff?a74547b2f0863226942ff8ded57db345") format("wof
.bi-mortarboard-fill::before { content: "\f6fd"; }
.bi-mortarboard::before { content: "\f6fe"; }
.bi-terminal-x::before { content: "\f6ff"; }
.bi-arrow-through-heart-fill::before { content: "\f700"; }
.bi-arrow-through-heart::before { content: "\f701"; }
.bi-badge-sd-fill::before { content: "\f702"; }
.bi-badge-sd::before { content: "\f703"; }
.bi-bag-heart-fill::before { content: "\f704"; }
.bi-bag-heart::before { content: "\f705"; }
.bi-balloon-fill::before { content: "\f706"; }
.bi-balloon-heart-fill::before { content: "\f707"; }
.bi-balloon-heart::before { content: "\f708"; }
.bi-balloon::before { content: "\f709"; }
.bi-box2-fill::before { content: "\f70a"; }
.bi-box2-heart-fill::before { content: "\f70b"; }
.bi-box2-heart::before { content: "\f70c"; }
.bi-box2::before { content: "\f70d"; }
.bi-braces-asterisk::before { content: "\f70e"; }
.bi-calendar-heart-fill::before { content: "\f70f"; }
.bi-calendar-heart::before { content: "\f710"; }
.bi-calendar2-heart-fill::before { content: "\f711"; }
.bi-calendar2-heart::before { content: "\f712"; }
.bi-chat-heart-fill::before { content: "\f713"; }
.bi-chat-heart::before { content: "\f714"; }
.bi-chat-left-heart-fill::before { content: "\f715"; }
.bi-chat-left-heart::before { content: "\f716"; }
.bi-chat-right-heart-fill::before { content: "\f717"; }
.bi-chat-right-heart::before { content: "\f718"; }
.bi-chat-square-heart-fill::before { content: "\f719"; }
.bi-chat-square-heart::before { content: "\f71a"; }
.bi-clipboard-check-fill::before { content: "\f71b"; }
.bi-clipboard-data-fill::before { content: "\f71c"; }
.bi-clipboard-fill::before { content: "\f71d"; }
.bi-clipboard-heart-fill::before { content: "\f71e"; }
.bi-clipboard-heart::before { content: "\f71f"; }
.bi-clipboard-minus-fill::before { content: "\f720"; }
.bi-clipboard-plus-fill::before { content: "\f721"; }
.bi-clipboard-pulse::before { content: "\f722"; }
.bi-clipboard-x-fill::before { content: "\f723"; }
.bi-clipboard2-check-fill::before { content: "\f724"; }
.bi-clipboard2-check::before { content: "\f725"; }
.bi-clipboard2-data-fill::before { content: "\f726"; }
.bi-clipboard2-data::before { content: "\f727"; }
.bi-clipboard2-fill::before { content: "\f728"; }
.bi-clipboard2-heart-fill::before { content: "\f729"; }
.bi-clipboard2-heart::before { content: "\f72a"; }
.bi-clipboard2-minus-fill::before { content: "\f72b"; }
.bi-clipboard2-minus::before { content: "\f72c"; }
.bi-clipboard2-plus-fill::before { content: "\f72d"; }
.bi-clipboard2-plus::before { content: "\f72e"; }
.bi-clipboard2-pulse-fill::before { content: "\f72f"; }
.bi-clipboard2-pulse::before { content: "\f730"; }
.bi-clipboard2-x-fill::before { content: "\f731"; }
.bi-clipboard2-x::before { content: "\f732"; }
.bi-clipboard2::before { content: "\f733"; }
.bi-emoji-kiss-fill::before { content: "\f734"; }
.bi-emoji-kiss::before { content: "\f735"; }
.bi-envelope-heart-fill::before { content: "\f736"; }
.bi-envelope-heart::before { content: "\f737"; }
.bi-envelope-open-heart-fill::before { content: "\f738"; }
.bi-envelope-open-heart::before { content: "\f739"; }
.bi-envelope-paper-fill::before { content: "\f73a"; }
.bi-envelope-paper-heart-fill::before { content: "\f73b"; }
.bi-envelope-paper-heart::before { content: "\f73c"; }
.bi-envelope-paper::before { content: "\f73d"; }
.bi-filetype-aac::before { content: "\f73e"; }
.bi-filetype-ai::before { content: "\f73f"; }
.bi-filetype-bmp::before { content: "\f740"; }
.bi-filetype-cs::before { content: "\f741"; }
.bi-filetype-css::before { content: "\f742"; }
.bi-filetype-csv::before { content: "\f743"; }
.bi-filetype-doc::before { content: "\f744"; }
.bi-filetype-docx::before { content: "\f745"; }
.bi-filetype-exe::before { content: "\f746"; }
.bi-filetype-gif::before { content: "\f747"; }
.bi-filetype-heic::before { content: "\f748"; }
.bi-filetype-html::before { content: "\f749"; }
.bi-filetype-java::before { content: "\f74a"; }
.bi-filetype-jpg::before { content: "\f74b"; }
.bi-filetype-js::before { content: "\f74c"; }
.bi-filetype-jsx::before { content: "\f74d"; }
.bi-filetype-key::before { content: "\f74e"; }
.bi-filetype-m4p::before { content: "\f74f"; }
.bi-filetype-md::before { content: "\f750"; }
.bi-filetype-mdx::before { content: "\f751"; }
.bi-filetype-mov::before { content: "\f752"; }
.bi-filetype-mp3::before { content: "\f753"; }
.bi-filetype-mp4::before { content: "\f754"; }
.bi-filetype-otf::before { content: "\f755"; }
.bi-filetype-pdf::before { content: "\f756"; }
.bi-filetype-php::before { content: "\f757"; }
.bi-filetype-png::before { content: "\f758"; }
.bi-filetype-ppt-1::before { content: "\f759"; }
.bi-filetype-ppt::before { content: "\f75a"; }
.bi-filetype-psd::before { content: "\f75b"; }
.bi-filetype-py::before { content: "\f75c"; }
.bi-filetype-raw::before { content: "\f75d"; }
.bi-filetype-rb::before { content: "\f75e"; }
.bi-filetype-sass::before { content: "\f75f"; }
.bi-filetype-scss::before { content: "\f760"; }
.bi-filetype-sh::before { content: "\f761"; }
.bi-filetype-svg::before { content: "\f762"; }
.bi-filetype-tiff::before { content: "\f763"; }
.bi-filetype-tsx::before { content: "\f764"; }
.bi-filetype-ttf::before { content: "\f765"; }
.bi-filetype-txt::before { content: "\f766"; }
.bi-filetype-wav::before { content: "\f767"; }
.bi-filetype-woff::before { content: "\f768"; }
.bi-filetype-xls-1::before { content: "\f769"; }
.bi-filetype-xls::before { content: "\f76a"; }
.bi-filetype-xml::before { content: "\f76b"; }
.bi-filetype-yml::before { content: "\f76c"; }
.bi-heart-arrow::before { content: "\f76d"; }
.bi-heart-pulse-fill::before { content: "\f76e"; }
.bi-heart-pulse::before { content: "\f76f"; }
.bi-heartbreak-fill::before { content: "\f770"; }
.bi-heartbreak::before { content: "\f771"; }
.bi-hearts::before { content: "\f772"; }
.bi-hospital-fill::before { content: "\f773"; }
.bi-hospital::before { content: "\f774"; }
.bi-house-heart-fill::before { content: "\f775"; }
.bi-house-heart::before { content: "\f776"; }
.bi-incognito::before { content: "\f777"; }
.bi-magnet-fill::before { content: "\f778"; }
.bi-magnet::before { content: "\f779"; }
.bi-person-heart::before { content: "\f77a"; }
.bi-person-hearts::before { content: "\f77b"; }
.bi-phone-flip::before { content: "\f77c"; }
.bi-plugin::before { content: "\f77d"; }
.bi-postage-fill::before { content: "\f77e"; }
.bi-postage-heart-fill::before { content: "\f77f"; }
.bi-postage-heart::before { content: "\f780"; }
.bi-postage::before { content: "\f781"; }
.bi-postcard-fill::before { content: "\f782"; }
.bi-postcard-heart-fill::before { content: "\f783"; }
.bi-postcard-heart::before { content: "\f784"; }
.bi-postcard::before { content: "\f785"; }
.bi-search-heart-fill::before { content: "\f786"; }
.bi-search-heart::before { content: "\f787"; }
.bi-sliders2-vertical::before { content: "\f788"; }
.bi-sliders2::before { content: "\f789"; }
.bi-trash3-fill::before { content: "\f78a"; }
.bi-trash3::before { content: "\f78b"; }
.bi-valentine::before { content: "\f78c"; }
.bi-valentine2::before { content: "\f78d"; }
.bi-wrench-adjustable-circle-fill::before { content: "\f78e"; }
.bi-wrench-adjustable-circle::before { content: "\f78f"; }
.bi-wrench-adjustable::before { content: "\f790"; }
.bi-filetype-json::before { content: "\f791"; }
.bi-filetype-pptx::before { content: "\f792"; }
.bi-filetype-xlsx::before { content: "\f793"; }
+151 -3
View File
@@ -1479,8 +1479,8 @@
"ticket-detailed-fill": 63174,
"ticket-detailed": 63175,
"ticket-fill": 63176,
"ticket-perferated-fill": 63177,
"ticket-perferated": 63178,
"ticket-perforated-fill": 63177,
"ticket-perforated": 63178,
"ticket": 63179,
"tiktok": 63180,
"window-dash": 63181,
@@ -1533,5 +1533,153 @@
"displayport-fill": 63228,
"mortarboard-fill": 63229,
"mortarboard": 63230,
"terminal-x": 63231
"terminal-x": 63231,
"arrow-through-heart-fill": 63232,
"arrow-through-heart": 63233,
"badge-sd-fill": 63234,
"badge-sd": 63235,
"bag-heart-fill": 63236,
"bag-heart": 63237,
"balloon-fill": 63238,
"balloon-heart-fill": 63239,
"balloon-heart": 63240,
"balloon": 63241,
"box2-fill": 63242,
"box2-heart-fill": 63243,
"box2-heart": 63244,
"box2": 63245,
"braces-asterisk": 63246,
"calendar-heart-fill": 63247,
"calendar-heart": 63248,
"calendar2-heart-fill": 63249,
"calendar2-heart": 63250,
"chat-heart-fill": 63251,
"chat-heart": 63252,
"chat-left-heart-fill": 63253,
"chat-left-heart": 63254,
"chat-right-heart-fill": 63255,
"chat-right-heart": 63256,
"chat-square-heart-fill": 63257,
"chat-square-heart": 63258,
"clipboard-check-fill": 63259,
"clipboard-data-fill": 63260,
"clipboard-fill": 63261,
"clipboard-heart-fill": 63262,
"clipboard-heart": 63263,
"clipboard-minus-fill": 63264,
"clipboard-plus-fill": 63265,
"clipboard-pulse": 63266,
"clipboard-x-fill": 63267,
"clipboard2-check-fill": 63268,
"clipboard2-check": 63269,
"clipboard2-data-fill": 63270,
"clipboard2-data": 63271,
"clipboard2-fill": 63272,
"clipboard2-heart-fill": 63273,
"clipboard2-heart": 63274,
"clipboard2-minus-fill": 63275,
"clipboard2-minus": 63276,
"clipboard2-plus-fill": 63277,
"clipboard2-plus": 63278,
"clipboard2-pulse-fill": 63279,
"clipboard2-pulse": 63280,
"clipboard2-x-fill": 63281,
"clipboard2-x": 63282,
"clipboard2": 63283,
"emoji-kiss-fill": 63284,
"emoji-kiss": 63285,
"envelope-heart-fill": 63286,
"envelope-heart": 63287,
"envelope-open-heart-fill": 63288,
"envelope-open-heart": 63289,
"envelope-paper-fill": 63290,
"envelope-paper-heart-fill": 63291,
"envelope-paper-heart": 63292,
"envelope-paper": 63293,
"filetype-aac": 63294,
"filetype-ai": 63295,
"filetype-bmp": 63296,
"filetype-cs": 63297,
"filetype-css": 63298,
"filetype-csv": 63299,
"filetype-doc": 63300,
"filetype-docx": 63301,
"filetype-exe": 63302,
"filetype-gif": 63303,
"filetype-heic": 63304,
"filetype-html": 63305,
"filetype-java": 63306,
"filetype-jpg": 63307,
"filetype-js": 63308,
"filetype-jsx": 63309,
"filetype-key": 63310,
"filetype-m4p": 63311,
"filetype-md": 63312,
"filetype-mdx": 63313,
"filetype-mov": 63314,
"filetype-mp3": 63315,
"filetype-mp4": 63316,
"filetype-otf": 63317,
"filetype-pdf": 63318,
"filetype-php": 63319,
"filetype-png": 63320,
"filetype-ppt-1": 63321,
"filetype-ppt": 63322,
"filetype-psd": 63323,
"filetype-py": 63324,
"filetype-raw": 63325,
"filetype-rb": 63326,
"filetype-sass": 63327,
"filetype-scss": 63328,
"filetype-sh": 63329,
"filetype-svg": 63330,
"filetype-tiff": 63331,
"filetype-tsx": 63332,
"filetype-ttf": 63333,
"filetype-txt": 63334,
"filetype-wav": 63335,
"filetype-woff": 63336,
"filetype-xls-1": 63337,
"filetype-xls": 63338,
"filetype-xml": 63339,
"filetype-yml": 63340,
"heart-arrow": 63341,
"heart-pulse-fill": 63342,
"heart-pulse": 63343,
"heartbreak-fill": 63344,
"heartbreak": 63345,
"hearts": 63346,
"hospital-fill": 63347,
"hospital": 63348,
"house-heart-fill": 63349,
"house-heart": 63350,
"incognito": 63351,
"magnet-fill": 63352,
"magnet": 63353,
"person-heart": 63354,
"person-hearts": 63355,
"phone-flip": 63356,
"plugin": 63357,
"postage-fill": 63358,
"postage-heart-fill": 63359,
"postage-heart": 63360,
"postage": 63361,
"postcard-fill": 63362,
"postcard-heart-fill": 63363,
"postcard-heart": 63364,
"postcard": 63365,
"search-heart-fill": 63366,
"search-heart": 63367,
"sliders2-vertical": 63368,
"sliders2": 63369,
"trash3-fill": 63370,
"trash3": 63371,
"valentine": 63372,
"valentine2": 63373,
"wrench-adjustable-circle-fill": 63374,
"wrench-adjustable-circle": 63375,
"wrench-adjustable": 63376,
"filetype-json": 63377,
"filetype-pptx": 63378,
"filetype-xlsx": 63379
}
+302 -6
View File
@@ -1,6 +1,6 @@
$bootstrap-icons-font: "bootstrap-icons" !default;
$bootstrap-icons-font-src: url("./fonts/bootstrap-icons.woff2?a74547b2f0863226942ff8ded57db345") format("woff2"),
url("./fonts/bootstrap-icons.woff?a74547b2f0863226942ff8ded57db345") format("woff") !default;
$bootstrap-icons-font-src: url("./fonts/bootstrap-icons.woff2?524846017b983fc8ded9325d94ed40f3") format("woff2"),
url("./fonts/bootstrap-icons.woff?524846017b983fc8ded9325d94ed40f3") format("woff") !default;
@font-face {
font-family: $bootstrap-icons-font;
@@ -1503,8 +1503,8 @@ $bootstrap-icons-map: (
"ticket-detailed-fill": "\f6c6",
"ticket-detailed": "\f6c7",
"ticket-fill": "\f6c8",
"ticket-perferated-fill": "\f6c9",
"ticket-perferated": "\f6ca",
"ticket-perforated-fill": "\f6c9",
"ticket-perforated": "\f6ca",
"ticket": "\f6cb",
"tiktok": "\f6cc",
"window-dash": "\f6cd",
@@ -1558,6 +1558,154 @@ $bootstrap-icons-map: (
"mortarboard-fill": "\f6fd",
"mortarboard": "\f6fe",
"terminal-x": "\f6ff",
"arrow-through-heart-fill": "\f700",
"arrow-through-heart": "\f701",
"badge-sd-fill": "\f702",
"badge-sd": "\f703",
"bag-heart-fill": "\f704",
"bag-heart": "\f705",
"balloon-fill": "\f706",
"balloon-heart-fill": "\f707",
"balloon-heart": "\f708",
"balloon": "\f709",
"box2-fill": "\f70a",
"box2-heart-fill": "\f70b",
"box2-heart": "\f70c",
"box2": "\f70d",
"braces-asterisk": "\f70e",
"calendar-heart-fill": "\f70f",
"calendar-heart": "\f710",
"calendar2-heart-fill": "\f711",
"calendar2-heart": "\f712",
"chat-heart-fill": "\f713",
"chat-heart": "\f714",
"chat-left-heart-fill": "\f715",
"chat-left-heart": "\f716",
"chat-right-heart-fill": "\f717",
"chat-right-heart": "\f718",
"chat-square-heart-fill": "\f719",
"chat-square-heart": "\f71a",
"clipboard-check-fill": "\f71b",
"clipboard-data-fill": "\f71c",
"clipboard-fill": "\f71d",
"clipboard-heart-fill": "\f71e",
"clipboard-heart": "\f71f",
"clipboard-minus-fill": "\f720",
"clipboard-plus-fill": "\f721",
"clipboard-pulse": "\f722",
"clipboard-x-fill": "\f723",
"clipboard2-check-fill": "\f724",
"clipboard2-check": "\f725",
"clipboard2-data-fill": "\f726",
"clipboard2-data": "\f727",
"clipboard2-fill": "\f728",
"clipboard2-heart-fill": "\f729",
"clipboard2-heart": "\f72a",
"clipboard2-minus-fill": "\f72b",
"clipboard2-minus": "\f72c",
"clipboard2-plus-fill": "\f72d",
"clipboard2-plus": "\f72e",
"clipboard2-pulse-fill": "\f72f",
"clipboard2-pulse": "\f730",
"clipboard2-x-fill": "\f731",
"clipboard2-x": "\f732",
"clipboard2": "\f733",
"emoji-kiss-fill": "\f734",
"emoji-kiss": "\f735",
"envelope-heart-fill": "\f736",
"envelope-heart": "\f737",
"envelope-open-heart-fill": "\f738",
"envelope-open-heart": "\f739",
"envelope-paper-fill": "\f73a",
"envelope-paper-heart-fill": "\f73b",
"envelope-paper-heart": "\f73c",
"envelope-paper": "\f73d",
"filetype-aac": "\f73e",
"filetype-ai": "\f73f",
"filetype-bmp": "\f740",
"filetype-cs": "\f741",
"filetype-css": "\f742",
"filetype-csv": "\f743",
"filetype-doc": "\f744",
"filetype-docx": "\f745",
"filetype-exe": "\f746",
"filetype-gif": "\f747",
"filetype-heic": "\f748",
"filetype-html": "\f749",
"filetype-java": "\f74a",
"filetype-jpg": "\f74b",
"filetype-js": "\f74c",
"filetype-jsx": "\f74d",
"filetype-key": "\f74e",
"filetype-m4p": "\f74f",
"filetype-md": "\f750",
"filetype-mdx": "\f751",
"filetype-mov": "\f752",
"filetype-mp3": "\f753",
"filetype-mp4": "\f754",
"filetype-otf": "\f755",
"filetype-pdf": "\f756",
"filetype-php": "\f757",
"filetype-png": "\f758",
"filetype-ppt-1": "\f759",
"filetype-ppt": "\f75a",
"filetype-psd": "\f75b",
"filetype-py": "\f75c",
"filetype-raw": "\f75d",
"filetype-rb": "\f75e",
"filetype-sass": "\f75f",
"filetype-scss": "\f760",
"filetype-sh": "\f761",
"filetype-svg": "\f762",
"filetype-tiff": "\f763",
"filetype-tsx": "\f764",
"filetype-ttf": "\f765",
"filetype-txt": "\f766",
"filetype-wav": "\f767",
"filetype-woff": "\f768",
"filetype-xls-1": "\f769",
"filetype-xls": "\f76a",
"filetype-xml": "\f76b",
"filetype-yml": "\f76c",
"heart-arrow": "\f76d",
"heart-pulse-fill": "\f76e",
"heart-pulse": "\f76f",
"heartbreak-fill": "\f770",
"heartbreak": "\f771",
"hearts": "\f772",
"hospital-fill": "\f773",
"hospital": "\f774",
"house-heart-fill": "\f775",
"house-heart": "\f776",
"incognito": "\f777",
"magnet-fill": "\f778",
"magnet": "\f779",
"person-heart": "\f77a",
"person-hearts": "\f77b",
"phone-flip": "\f77c",
"plugin": "\f77d",
"postage-fill": "\f77e",
"postage-heart-fill": "\f77f",
"postage-heart": "\f780",
"postage": "\f781",
"postcard-fill": "\f782",
"postcard-heart-fill": "\f783",
"postcard-heart": "\f784",
"postcard": "\f785",
"search-heart-fill": "\f786",
"search-heart": "\f787",
"sliders2-vertical": "\f788",
"sliders2": "\f789",
"trash3-fill": "\f78a",
"trash3": "\f78b",
"valentine": "\f78c",
"valentine2": "\f78d",
"wrench-adjustable-circle-fill": "\f78e",
"wrench-adjustable-circle": "\f78f",
"wrench-adjustable": "\f790",
"filetype-json": "\f791",
"filetype-pptx": "\f792",
"filetype-xlsx": "\f793",
);
.bi-123::before { content: map-get($bootstrap-icons-map, "123"); }
@@ -3040,8 +3188,8 @@ $bootstrap-icons-map: (
.bi-ticket-detailed-fill::before { content: map-get($bootstrap-icons-map, "ticket-detailed-fill"); }
.bi-ticket-detailed::before { content: map-get($bootstrap-icons-map, "ticket-detailed"); }
.bi-ticket-fill::before { content: map-get($bootstrap-icons-map, "ticket-fill"); }
.bi-ticket-perferated-fill::before { content: map-get($bootstrap-icons-map, "ticket-perferated-fill"); }
.bi-ticket-perferated::before { content: map-get($bootstrap-icons-map, "ticket-perferated"); }
.bi-ticket-perforated-fill::before { content: map-get($bootstrap-icons-map, "ticket-perforated-fill"); }
.bi-ticket-perforated::before { content: map-get($bootstrap-icons-map, "ticket-perforated"); }
.bi-ticket::before { content: map-get($bootstrap-icons-map, "ticket"); }
.bi-tiktok::before { content: map-get($bootstrap-icons-map, "tiktok"); }
.bi-window-dash::before { content: map-get($bootstrap-icons-map, "window-dash"); }
@@ -3095,3 +3243,151 @@ $bootstrap-icons-map: (
.bi-mortarboard-fill::before { content: map-get($bootstrap-icons-map, "mortarboard-fill"); }
.bi-mortarboard::before { content: map-get($bootstrap-icons-map, "mortarboard"); }
.bi-terminal-x::before { content: map-get($bootstrap-icons-map, "terminal-x"); }
.bi-arrow-through-heart-fill::before { content: map-get($bootstrap-icons-map, "arrow-through-heart-fill"); }
.bi-arrow-through-heart::before { content: map-get($bootstrap-icons-map, "arrow-through-heart"); }
.bi-badge-sd-fill::before { content: map-get($bootstrap-icons-map, "badge-sd-fill"); }
.bi-badge-sd::before { content: map-get($bootstrap-icons-map, "badge-sd"); }
.bi-bag-heart-fill::before { content: map-get($bootstrap-icons-map, "bag-heart-fill"); }
.bi-bag-heart::before { content: map-get($bootstrap-icons-map, "bag-heart"); }
.bi-balloon-fill::before { content: map-get($bootstrap-icons-map, "balloon-fill"); }
.bi-balloon-heart-fill::before { content: map-get($bootstrap-icons-map, "balloon-heart-fill"); }
.bi-balloon-heart::before { content: map-get($bootstrap-icons-map, "balloon-heart"); }
.bi-balloon::before { content: map-get($bootstrap-icons-map, "balloon"); }
.bi-box2-fill::before { content: map-get($bootstrap-icons-map, "box2-fill"); }
.bi-box2-heart-fill::before { content: map-get($bootstrap-icons-map, "box2-heart-fill"); }
.bi-box2-heart::before { content: map-get($bootstrap-icons-map, "box2-heart"); }
.bi-box2::before { content: map-get($bootstrap-icons-map, "box2"); }
.bi-braces-asterisk::before { content: map-get($bootstrap-icons-map, "braces-asterisk"); }
.bi-calendar-heart-fill::before { content: map-get($bootstrap-icons-map, "calendar-heart-fill"); }
.bi-calendar-heart::before { content: map-get($bootstrap-icons-map, "calendar-heart"); }
.bi-calendar2-heart-fill::before { content: map-get($bootstrap-icons-map, "calendar2-heart-fill"); }
.bi-calendar2-heart::before { content: map-get($bootstrap-icons-map, "calendar2-heart"); }
.bi-chat-heart-fill::before { content: map-get($bootstrap-icons-map, "chat-heart-fill"); }
.bi-chat-heart::before { content: map-get($bootstrap-icons-map, "chat-heart"); }
.bi-chat-left-heart-fill::before { content: map-get($bootstrap-icons-map, "chat-left-heart-fill"); }
.bi-chat-left-heart::before { content: map-get($bootstrap-icons-map, "chat-left-heart"); }
.bi-chat-right-heart-fill::before { content: map-get($bootstrap-icons-map, "chat-right-heart-fill"); }
.bi-chat-right-heart::before { content: map-get($bootstrap-icons-map, "chat-right-heart"); }
.bi-chat-square-heart-fill::before { content: map-get($bootstrap-icons-map, "chat-square-heart-fill"); }
.bi-chat-square-heart::before { content: map-get($bootstrap-icons-map, "chat-square-heart"); }
.bi-clipboard-check-fill::before { content: map-get($bootstrap-icons-map, "clipboard-check-fill"); }
.bi-clipboard-data-fill::before { content: map-get($bootstrap-icons-map, "clipboard-data-fill"); }
.bi-clipboard-fill::before { content: map-get($bootstrap-icons-map, "clipboard-fill"); }
.bi-clipboard-heart-fill::before { content: map-get($bootstrap-icons-map, "clipboard-heart-fill"); }
.bi-clipboard-heart::before { content: map-get($bootstrap-icons-map, "clipboard-heart"); }
.bi-clipboard-minus-fill::before { content: map-get($bootstrap-icons-map, "clipboard-minus-fill"); }
.bi-clipboard-plus-fill::before { content: map-get($bootstrap-icons-map, "clipboard-plus-fill"); }
.bi-clipboard-pulse::before { content: map-get($bootstrap-icons-map, "clipboard-pulse"); }
.bi-clipboard-x-fill::before { content: map-get($bootstrap-icons-map, "clipboard-x-fill"); }
.bi-clipboard2-check-fill::before { content: map-get($bootstrap-icons-map, "clipboard2-check-fill"); }
.bi-clipboard2-check::before { content: map-get($bootstrap-icons-map, "clipboard2-check"); }
.bi-clipboard2-data-fill::before { content: map-get($bootstrap-icons-map, "clipboard2-data-fill"); }
.bi-clipboard2-data::before { content: map-get($bootstrap-icons-map, "clipboard2-data"); }
.bi-clipboard2-fill::before { content: map-get($bootstrap-icons-map, "clipboard2-fill"); }
.bi-clipboard2-heart-fill::before { content: map-get($bootstrap-icons-map, "clipboard2-heart-fill"); }
.bi-clipboard2-heart::before { content: map-get($bootstrap-icons-map, "clipboard2-heart"); }
.bi-clipboard2-minus-fill::before { content: map-get($bootstrap-icons-map, "clipboard2-minus-fill"); }
.bi-clipboard2-minus::before { content: map-get($bootstrap-icons-map, "clipboard2-minus"); }
.bi-clipboard2-plus-fill::before { content: map-get($bootstrap-icons-map, "clipboard2-plus-fill"); }
.bi-clipboard2-plus::before { content: map-get($bootstrap-icons-map, "clipboard2-plus"); }
.bi-clipboard2-pulse-fill::before { content: map-get($bootstrap-icons-map, "clipboard2-pulse-fill"); }
.bi-clipboard2-pulse::before { content: map-get($bootstrap-icons-map, "clipboard2-pulse"); }
.bi-clipboard2-x-fill::before { content: map-get($bootstrap-icons-map, "clipboard2-x-fill"); }
.bi-clipboard2-x::before { content: map-get($bootstrap-icons-map, "clipboard2-x"); }
.bi-clipboard2::before { content: map-get($bootstrap-icons-map, "clipboard2"); }
.bi-emoji-kiss-fill::before { content: map-get($bootstrap-icons-map, "emoji-kiss-fill"); }
.bi-emoji-kiss::before { content: map-get($bootstrap-icons-map, "emoji-kiss"); }
.bi-envelope-heart-fill::before { content: map-get($bootstrap-icons-map, "envelope-heart-fill"); }
.bi-envelope-heart::before { content: map-get($bootstrap-icons-map, "envelope-heart"); }
.bi-envelope-open-heart-fill::before { content: map-get($bootstrap-icons-map, "envelope-open-heart-fill"); }
.bi-envelope-open-heart::before { content: map-get($bootstrap-icons-map, "envelope-open-heart"); }
.bi-envelope-paper-fill::before { content: map-get($bootstrap-icons-map, "envelope-paper-fill"); }
.bi-envelope-paper-heart-fill::before { content: map-get($bootstrap-icons-map, "envelope-paper-heart-fill"); }
.bi-envelope-paper-heart::before { content: map-get($bootstrap-icons-map, "envelope-paper-heart"); }
.bi-envelope-paper::before { content: map-get($bootstrap-icons-map, "envelope-paper"); }
.bi-filetype-aac::before { content: map-get($bootstrap-icons-map, "filetype-aac"); }
.bi-filetype-ai::before { content: map-get($bootstrap-icons-map, "filetype-ai"); }
.bi-filetype-bmp::before { content: map-get($bootstrap-icons-map, "filetype-bmp"); }
.bi-filetype-cs::before { content: map-get($bootstrap-icons-map, "filetype-cs"); }
.bi-filetype-css::before { content: map-get($bootstrap-icons-map, "filetype-css"); }
.bi-filetype-csv::before { content: map-get($bootstrap-icons-map, "filetype-csv"); }
.bi-filetype-doc::before { content: map-get($bootstrap-icons-map, "filetype-doc"); }
.bi-filetype-docx::before { content: map-get($bootstrap-icons-map, "filetype-docx"); }
.bi-filetype-exe::before { content: map-get($bootstrap-icons-map, "filetype-exe"); }
.bi-filetype-gif::before { content: map-get($bootstrap-icons-map, "filetype-gif"); }
.bi-filetype-heic::before { content: map-get($bootstrap-icons-map, "filetype-heic"); }
.bi-filetype-html::before { content: map-get($bootstrap-icons-map, "filetype-html"); }
.bi-filetype-java::before { content: map-get($bootstrap-icons-map, "filetype-java"); }
.bi-filetype-jpg::before { content: map-get($bootstrap-icons-map, "filetype-jpg"); }
.bi-filetype-js::before { content: map-get($bootstrap-icons-map, "filetype-js"); }
.bi-filetype-jsx::before { content: map-get($bootstrap-icons-map, "filetype-jsx"); }
.bi-filetype-key::before { content: map-get($bootstrap-icons-map, "filetype-key"); }
.bi-filetype-m4p::before { content: map-get($bootstrap-icons-map, "filetype-m4p"); }
.bi-filetype-md::before { content: map-get($bootstrap-icons-map, "filetype-md"); }
.bi-filetype-mdx::before { content: map-get($bootstrap-icons-map, "filetype-mdx"); }
.bi-filetype-mov::before { content: map-get($bootstrap-icons-map, "filetype-mov"); }
.bi-filetype-mp3::before { content: map-get($bootstrap-icons-map, "filetype-mp3"); }
.bi-filetype-mp4::before { content: map-get($bootstrap-icons-map, "filetype-mp4"); }
.bi-filetype-otf::before { content: map-get($bootstrap-icons-map, "filetype-otf"); }
.bi-filetype-pdf::before { content: map-get($bootstrap-icons-map, "filetype-pdf"); }
.bi-filetype-php::before { content: map-get($bootstrap-icons-map, "filetype-php"); }
.bi-filetype-png::before { content: map-get($bootstrap-icons-map, "filetype-png"); }
.bi-filetype-ppt-1::before { content: map-get($bootstrap-icons-map, "filetype-ppt-1"); }
.bi-filetype-ppt::before { content: map-get($bootstrap-icons-map, "filetype-ppt"); }
.bi-filetype-psd::before { content: map-get($bootstrap-icons-map, "filetype-psd"); }
.bi-filetype-py::before { content: map-get($bootstrap-icons-map, "filetype-py"); }
.bi-filetype-raw::before { content: map-get($bootstrap-icons-map, "filetype-raw"); }
.bi-filetype-rb::before { content: map-get($bootstrap-icons-map, "filetype-rb"); }
.bi-filetype-sass::before { content: map-get($bootstrap-icons-map, "filetype-sass"); }
.bi-filetype-scss::before { content: map-get($bootstrap-icons-map, "filetype-scss"); }
.bi-filetype-sh::before { content: map-get($bootstrap-icons-map, "filetype-sh"); }
.bi-filetype-svg::before { content: map-get($bootstrap-icons-map, "filetype-svg"); }
.bi-filetype-tiff::before { content: map-get($bootstrap-icons-map, "filetype-tiff"); }
.bi-filetype-tsx::before { content: map-get($bootstrap-icons-map, "filetype-tsx"); }
.bi-filetype-ttf::before { content: map-get($bootstrap-icons-map, "filetype-ttf"); }
.bi-filetype-txt::before { content: map-get($bootstrap-icons-map, "filetype-txt"); }
.bi-filetype-wav::before { content: map-get($bootstrap-icons-map, "filetype-wav"); }
.bi-filetype-woff::before { content: map-get($bootstrap-icons-map, "filetype-woff"); }
.bi-filetype-xls-1::before { content: map-get($bootstrap-icons-map, "filetype-xls-1"); }
.bi-filetype-xls::before { content: map-get($bootstrap-icons-map, "filetype-xls"); }
.bi-filetype-xml::before { content: map-get($bootstrap-icons-map, "filetype-xml"); }
.bi-filetype-yml::before { content: map-get($bootstrap-icons-map, "filetype-yml"); }
.bi-heart-arrow::before { content: map-get($bootstrap-icons-map, "heart-arrow"); }
.bi-heart-pulse-fill::before { content: map-get($bootstrap-icons-map, "heart-pulse-fill"); }
.bi-heart-pulse::before { content: map-get($bootstrap-icons-map, "heart-pulse"); }
.bi-heartbreak-fill::before { content: map-get($bootstrap-icons-map, "heartbreak-fill"); }
.bi-heartbreak::before { content: map-get($bootstrap-icons-map, "heartbreak"); }
.bi-hearts::before { content: map-get($bootstrap-icons-map, "hearts"); }
.bi-hospital-fill::before { content: map-get($bootstrap-icons-map, "hospital-fill"); }
.bi-hospital::before { content: map-get($bootstrap-icons-map, "hospital"); }
.bi-house-heart-fill::before { content: map-get($bootstrap-icons-map, "house-heart-fill"); }
.bi-house-heart::before { content: map-get($bootstrap-icons-map, "house-heart"); }
.bi-incognito::before { content: map-get($bootstrap-icons-map, "incognito"); }
.bi-magnet-fill::before { content: map-get($bootstrap-icons-map, "magnet-fill"); }
.bi-magnet::before { content: map-get($bootstrap-icons-map, "magnet"); }
.bi-person-heart::before { content: map-get($bootstrap-icons-map, "person-heart"); }
.bi-person-hearts::before { content: map-get($bootstrap-icons-map, "person-hearts"); }
.bi-phone-flip::before { content: map-get($bootstrap-icons-map, "phone-flip"); }
.bi-plugin::before { content: map-get($bootstrap-icons-map, "plugin"); }
.bi-postage-fill::before { content: map-get($bootstrap-icons-map, "postage-fill"); }
.bi-postage-heart-fill::before { content: map-get($bootstrap-icons-map, "postage-heart-fill"); }
.bi-postage-heart::before { content: map-get($bootstrap-icons-map, "postage-heart"); }
.bi-postage::before { content: map-get($bootstrap-icons-map, "postage"); }
.bi-postcard-fill::before { content: map-get($bootstrap-icons-map, "postcard-fill"); }
.bi-postcard-heart-fill::before { content: map-get($bootstrap-icons-map, "postcard-heart-fill"); }
.bi-postcard-heart::before { content: map-get($bootstrap-icons-map, "postcard-heart"); }
.bi-postcard::before { content: map-get($bootstrap-icons-map, "postcard"); }
.bi-search-heart-fill::before { content: map-get($bootstrap-icons-map, "search-heart-fill"); }
.bi-search-heart::before { content: map-get($bootstrap-icons-map, "search-heart"); }
.bi-sliders2-vertical::before { content: map-get($bootstrap-icons-map, "sliders2-vertical"); }
.bi-sliders2::before { content: map-get($bootstrap-icons-map, "sliders2"); }
.bi-trash3-fill::before { content: map-get($bootstrap-icons-map, "trash3-fill"); }
.bi-trash3::before { content: map-get($bootstrap-icons-map, "trash3"); }
.bi-valentine::before { content: map-get($bootstrap-icons-map, "valentine"); }
.bi-valentine2::before { content: map-get($bootstrap-icons-map, "valentine2"); }
.bi-wrench-adjustable-circle-fill::before { content: map-get($bootstrap-icons-map, "wrench-adjustable-circle-fill"); }
.bi-wrench-adjustable-circle::before { content: map-get($bootstrap-icons-map, "wrench-adjustable-circle"); }
.bi-wrench-adjustable::before { content: map-get($bootstrap-icons-map, "wrench-adjustable"); }
.bi-filetype-json::before { content: map-get($bootstrap-icons-map, "filetype-json"); }
.bi-filetype-pptx::before { content: map-get($bootstrap-icons-map, "filetype-pptx"); }
.bi-filetype-xlsx::before { content: map-get($bootstrap-icons-map, "filetype-xlsx"); }
+588 -4
View File
@@ -277,6 +277,14 @@
<i class="bi bi-arrow-right"></i>
<div class="label">arrow-right</div>
</div>
<div class="icon">
<i class="bi bi-arrow-through-heart-fill"></i>
<div class="label">arrow-through-heart-fill</div>
</div>
<div class="icon">
<i class="bi bi-arrow-through-heart"></i>
<div class="label">arrow-through-heart</div>
</div>
<div class="icon">
<i class="bi bi-arrow-up-circle-fill"></i>
<div class="label">arrow-up-circle-fill</div>
@@ -465,6 +473,14 @@
<i class="bi bi-badge-hd"></i>
<div class="label">badge-hd</div>
</div>
<div class="icon">
<i class="bi bi-badge-sd-fill"></i>
<div class="label">badge-sd-fill</div>
</div>
<div class="icon">
<i class="bi bi-badge-sd"></i>
<div class="label">badge-sd</div>
</div>
<div class="icon">
<i class="bi bi-badge-tm-fill"></i>
<div class="label">badge-tm-fill</div>
@@ -517,6 +533,14 @@
<i class="bi bi-bag-fill"></i>
<div class="label">bag-fill</div>
</div>
<div class="icon">
<i class="bi bi-bag-heart-fill"></i>
<div class="label">bag-heart-fill</div>
</div>
<div class="icon">
<i class="bi bi-bag-heart"></i>
<div class="label">bag-heart</div>
</div>
<div class="icon">
<i class="bi bi-bag-plus-fill"></i>
<div class="label">bag-plus-fill</div>
@@ -537,6 +561,22 @@
<i class="bi bi-bag"></i>
<div class="label">bag</div>
</div>
<div class="icon">
<i class="bi bi-balloon-fill"></i>
<div class="label">balloon-fill</div>
</div>
<div class="icon">
<i class="bi bi-balloon-heart-fill"></i>
<div class="label">balloon-heart-fill</div>
</div>
<div class="icon">
<i class="bi bi-balloon-heart"></i>
<div class="label">balloon-heart</div>
</div>
<div class="icon">
<i class="bi bi-balloon"></i>
<div class="label">balloon</div>
</div>
<div class="icon">
<i class="bi bi-bandaid-fill"></i>
<div class="label">bandaid-fill</div>
@@ -897,10 +937,30 @@
<i class="bi bi-box"></i>
<div class="label">box</div>
</div>
<div class="icon">
<i class="bi bi-box2-fill"></i>
<div class="label">box2-fill</div>
</div>
<div class="icon">
<i class="bi bi-box2-heart-fill"></i>
<div class="label">box2-heart-fill</div>
</div>
<div class="icon">
<i class="bi bi-box2-heart"></i>
<div class="label">box2-heart</div>
</div>
<div class="icon">
<i class="bi bi-box2"></i>
<div class="label">box2</div>
</div>
<div class="icon">
<i class="bi bi-boxes"></i>
<div class="label">boxes</div>
</div>
<div class="icon">
<i class="bi bi-braces-asterisk"></i>
<div class="label">braces-asterisk</div>
</div>
<div class="icon">
<i class="bi bi-braces"></i>
<div class="label">braces</div>
@@ -1033,6 +1093,14 @@
<i class="bi bi-calendar-fill"></i>
<div class="label">calendar-fill</div>
</div>
<div class="icon">
<i class="bi bi-calendar-heart-fill"></i>
<div class="label">calendar-heart-fill</div>
</div>
<div class="icon">
<i class="bi bi-calendar-heart"></i>
<div class="label">calendar-heart</div>
</div>
<div class="icon">
<i class="bi bi-calendar-minus-fill"></i>
<div class="label">calendar-minus-fill</div>
@@ -1121,6 +1189,14 @@
<i class="bi bi-calendar2-fill"></i>
<div class="label">calendar2-fill</div>
</div>
<div class="icon">
<i class="bi bi-calendar2-heart-fill"></i>
<div class="label">calendar2-heart-fill</div>
</div>
<div class="icon">
<i class="bi bi-calendar2-heart"></i>
<div class="label">calendar2-heart</div>
</div>
<div class="icon">
<i class="bi bi-calendar2-minus-fill"></i>
<div class="label">calendar2-minus-fill</div>
@@ -1429,6 +1505,14 @@
<i class="bi bi-chat-fill"></i>
<div class="label">chat-fill</div>
</div>
<div class="icon">
<i class="bi bi-chat-heart-fill"></i>
<div class="label">chat-heart-fill</div>
</div>
<div class="icon">
<i class="bi bi-chat-heart"></i>
<div class="label">chat-heart</div>
</div>
<div class="icon">
<i class="bi bi-chat-left-dots-fill"></i>
<div class="label">chat-left-dots-fill</div>
@@ -1441,6 +1525,14 @@
<i class="bi bi-chat-left-fill"></i>
<div class="label">chat-left-fill</div>
</div>
<div class="icon">
<i class="bi bi-chat-left-heart-fill"></i>
<div class="label">chat-left-heart-fill</div>
</div>
<div class="icon">
<i class="bi bi-chat-left-heart"></i>
<div class="label">chat-left-heart</div>
</div>
<div class="icon">
<i class="bi bi-chat-left-quote-fill"></i>
<div class="label">chat-left-quote-fill</div>
@@ -1481,6 +1573,14 @@
<i class="bi bi-chat-right-fill"></i>
<div class="label">chat-right-fill</div>
</div>
<div class="icon">
<i class="bi bi-chat-right-heart-fill"></i>
<div class="label">chat-right-heart-fill</div>
</div>
<div class="icon">
<i class="bi bi-chat-right-heart"></i>
<div class="label">chat-right-heart</div>
</div>
<div class="icon">
<i class="bi bi-chat-right-quote-fill"></i>
<div class="label">chat-right-quote-fill</div>
@@ -1513,6 +1613,14 @@
<i class="bi bi-chat-square-fill"></i>
<div class="label">chat-square-fill</div>
</div>
<div class="icon">
<i class="bi bi-chat-square-heart-fill"></i>
<div class="label">chat-square-heart-fill</div>
</div>
<div class="icon">
<i class="bi bi-chat-square-heart"></i>
<div class="label">chat-square-heart</div>
</div>
<div class="icon">
<i class="bi bi-chat-square-quote-fill"></i>
<div class="label">chat-square-quote-fill</div>
@@ -1685,22 +1793,58 @@
<i class="bi bi-circle"></i>
<div class="label">circle</div>
</div>
<div class="icon">
<i class="bi bi-clipboard-check-fill"></i>
<div class="label">clipboard-check-fill</div>
</div>
<div class="icon">
<i class="bi bi-clipboard-check"></i>
<div class="label">clipboard-check</div>
</div>
<div class="icon">
<i class="bi bi-clipboard-data-fill"></i>
<div class="label">clipboard-data-fill</div>
</div>
<div class="icon">
<i class="bi bi-clipboard-data"></i>
<div class="label">clipboard-data</div>
</div>
<div class="icon">
<i class="bi bi-clipboard-fill"></i>
<div class="label">clipboard-fill</div>
</div>
<div class="icon">
<i class="bi bi-clipboard-heart-fill"></i>
<div class="label">clipboard-heart-fill</div>
</div>
<div class="icon">
<i class="bi bi-clipboard-heart"></i>
<div class="label">clipboard-heart</div>
</div>
<div class="icon">
<i class="bi bi-clipboard-minus-fill"></i>
<div class="label">clipboard-minus-fill</div>
</div>
<div class="icon">
<i class="bi bi-clipboard-minus"></i>
<div class="label">clipboard-minus</div>
</div>
<div class="icon">
<i class="bi bi-clipboard-plus-fill"></i>
<div class="label">clipboard-plus-fill</div>
</div>
<div class="icon">
<i class="bi bi-clipboard-plus"></i>
<div class="label">clipboard-plus</div>
</div>
<div class="icon">
<i class="bi bi-clipboard-pulse"></i>
<div class="label">clipboard-pulse</div>
</div>
<div class="icon">
<i class="bi bi-clipboard-x-fill"></i>
<div class="label">clipboard-x-fill</div>
</div>
<div class="icon">
<i class="bi bi-clipboard-x"></i>
<div class="label">clipboard-x</div>
@@ -1709,6 +1853,70 @@
<i class="bi bi-clipboard"></i>
<div class="label">clipboard</div>
</div>
<div class="icon">
<i class="bi bi-clipboard2-check-fill"></i>
<div class="label">clipboard2-check-fill</div>
</div>
<div class="icon">
<i class="bi bi-clipboard2-check"></i>
<div class="label">clipboard2-check</div>
</div>
<div class="icon">
<i class="bi bi-clipboard2-data-fill"></i>
<div class="label">clipboard2-data-fill</div>
</div>
<div class="icon">
<i class="bi bi-clipboard2-data"></i>
<div class="label">clipboard2-data</div>
</div>
<div class="icon">
<i class="bi bi-clipboard2-fill"></i>
<div class="label">clipboard2-fill</div>
</div>
<div class="icon">
<i class="bi bi-clipboard2-heart-fill"></i>
<div class="label">clipboard2-heart-fill</div>
</div>
<div class="icon">
<i class="bi bi-clipboard2-heart"></i>
<div class="label">clipboard2-heart</div>
</div>
<div class="icon">
<i class="bi bi-clipboard2-minus-fill"></i>
<div class="label">clipboard2-minus-fill</div>
</div>
<div class="icon">
<i class="bi bi-clipboard2-minus"></i>
<div class="label">clipboard2-minus</div>
</div>
<div class="icon">
<i class="bi bi-clipboard2-plus-fill"></i>
<div class="label">clipboard2-plus-fill</div>
</div>
<div class="icon">
<i class="bi bi-clipboard2-plus"></i>
<div class="label">clipboard2-plus</div>
</div>
<div class="icon">
<i class="bi bi-clipboard2-pulse-fill"></i>
<div class="label">clipboard2-pulse-fill</div>
</div>
<div class="icon">
<i class="bi bi-clipboard2-pulse"></i>
<div class="label">clipboard2-pulse</div>
</div>
<div class="icon">
<i class="bi bi-clipboard2-x-fill"></i>
<div class="label">clipboard2-x-fill</div>
</div>
<div class="icon">
<i class="bi bi-clipboard2-x"></i>
<div class="label">clipboard2-x</div>
</div>
<div class="icon">
<i class="bi bi-clipboard2"></i>
<div class="label">clipboard2</div>
</div>
<div class="icon">
<i class="bi bi-clock-fill"></i>
<div class="label">clock-fill</div>
@@ -2373,6 +2581,14 @@
<i class="bi bi-emoji-heart-eyes"></i>
<div class="label">emoji-heart-eyes</div>
</div>
<div class="icon">
<i class="bi bi-emoji-kiss-fill"></i>
<div class="label">emoji-kiss-fill</div>
</div>
<div class="icon">
<i class="bi bi-emoji-kiss"></i>
<div class="label">emoji-kiss</div>
</div>
<div class="icon">
<i class="bi bi-emoji-laughing-fill"></i>
<div class="label">emoji-laughing-fill</div>
@@ -2449,14 +2665,46 @@
<i class="bi bi-envelope-fill"></i>
<div class="label">envelope-fill</div>
</div>
<div class="icon">
<i class="bi bi-envelope-heart-fill"></i>
<div class="label">envelope-heart-fill</div>
</div>
<div class="icon">
<i class="bi bi-envelope-heart"></i>
<div class="label">envelope-heart</div>
</div>
<div class="icon">
<i class="bi bi-envelope-open-fill"></i>
<div class="label">envelope-open-fill</div>
</div>
<div class="icon">
<i class="bi bi-envelope-open-heart-fill"></i>
<div class="label">envelope-open-heart-fill</div>
</div>
<div class="icon">
<i class="bi bi-envelope-open-heart"></i>
<div class="label">envelope-open-heart</div>
</div>
<div class="icon">
<i class="bi bi-envelope-open"></i>
<div class="label">envelope-open</div>
</div>
<div class="icon">
<i class="bi bi-envelope-paper-fill"></i>
<div class="label">envelope-paper-fill</div>
</div>
<div class="icon">
<i class="bi bi-envelope-paper-heart-fill"></i>
<div class="label">envelope-paper-heart-fill</div>
</div>
<div class="icon">
<i class="bi bi-envelope-paper-heart"></i>
<div class="label">envelope-paper-heart</div>
</div>
<div class="icon">
<i class="bi bi-envelope-paper"></i>
<div class="label">envelope-paper</div>
</div>
<div class="icon">
<i class="bi bi-envelope-plus-fill"></i>
<div class="label">envelope-plus-fill</div>
@@ -3109,6 +3357,198 @@
<i class="bi bi-files"></i>
<div class="label">files</div>
</div>
<div class="icon">
<i class="bi bi-filetype-aac"></i>
<div class="label">filetype-aac</div>
</div>
<div class="icon">
<i class="bi bi-filetype-ai"></i>
<div class="label">filetype-ai</div>
</div>
<div class="icon">
<i class="bi bi-filetype-bmp"></i>
<div class="label">filetype-bmp</div>
</div>
<div class="icon">
<i class="bi bi-filetype-cs"></i>
<div class="label">filetype-cs</div>
</div>
<div class="icon">
<i class="bi bi-filetype-css"></i>
<div class="label">filetype-css</div>
</div>
<div class="icon">
<i class="bi bi-filetype-csv"></i>
<div class="label">filetype-csv</div>
</div>
<div class="icon">
<i class="bi bi-filetype-doc"></i>
<div class="label">filetype-doc</div>
</div>
<div class="icon">
<i class="bi bi-filetype-docx"></i>
<div class="label">filetype-docx</div>
</div>
<div class="icon">
<i class="bi bi-filetype-exe"></i>
<div class="label">filetype-exe</div>
</div>
<div class="icon">
<i class="bi bi-filetype-gif"></i>
<div class="label">filetype-gif</div>
</div>
<div class="icon">
<i class="bi bi-filetype-heic"></i>
<div class="label">filetype-heic</div>
</div>
<div class="icon">
<i class="bi bi-filetype-html"></i>
<div class="label">filetype-html</div>
</div>
<div class="icon">
<i class="bi bi-filetype-java"></i>
<div class="label">filetype-java</div>
</div>
<div class="icon">
<i class="bi bi-filetype-jpg"></i>
<div class="label">filetype-jpg</div>
</div>
<div class="icon">
<i class="bi bi-filetype-js"></i>
<div class="label">filetype-js</div>
</div>
<div class="icon">
<i class="bi bi-filetype-json"></i>
<div class="label">filetype-json</div>
</div>
<div class="icon">
<i class="bi bi-filetype-jsx"></i>
<div class="label">filetype-jsx</div>
</div>
<div class="icon">
<i class="bi bi-filetype-key"></i>
<div class="label">filetype-key</div>
</div>
<div class="icon">
<i class="bi bi-filetype-m4p"></i>
<div class="label">filetype-m4p</div>
</div>
<div class="icon">
<i class="bi bi-filetype-md"></i>
<div class="label">filetype-md</div>
</div>
<div class="icon">
<i class="bi bi-filetype-mdx"></i>
<div class="label">filetype-mdx</div>
</div>
<div class="icon">
<i class="bi bi-filetype-mov"></i>
<div class="label">filetype-mov</div>
</div>
<div class="icon">
<i class="bi bi-filetype-mp3"></i>
<div class="label">filetype-mp3</div>
</div>
<div class="icon">
<i class="bi bi-filetype-mp4"></i>
<div class="label">filetype-mp4</div>
</div>
<div class="icon">
<i class="bi bi-filetype-otf"></i>
<div class="label">filetype-otf</div>
</div>
<div class="icon">
<i class="bi bi-filetype-pdf"></i>
<div class="label">filetype-pdf</div>
</div>
<div class="icon">
<i class="bi bi-filetype-php"></i>
<div class="label">filetype-php</div>
</div>
<div class="icon">
<i class="bi bi-filetype-png"></i>
<div class="label">filetype-png</div>
</div>
<div class="icon">
<i class="bi bi-filetype-ppt"></i>
<div class="label">filetype-ppt</div>
</div>
<div class="icon">
<i class="bi bi-filetype-pptx"></i>
<div class="label">filetype-pptx</div>
</div>
<div class="icon">
<i class="bi bi-filetype-psd"></i>
<div class="label">filetype-psd</div>
</div>
<div class="icon">
<i class="bi bi-filetype-py"></i>
<div class="label">filetype-py</div>
</div>
<div class="icon">
<i class="bi bi-filetype-raw"></i>
<div class="label">filetype-raw</div>
</div>
<div class="icon">
<i class="bi bi-filetype-rb"></i>
<div class="label">filetype-rb</div>
</div>
<div class="icon">
<i class="bi bi-filetype-sass"></i>
<div class="label">filetype-sass</div>
</div>
<div class="icon">
<i class="bi bi-filetype-scss"></i>
<div class="label">filetype-scss</div>
</div>
<div class="icon">
<i class="bi bi-filetype-sh"></i>
<div class="label">filetype-sh</div>
</div>
<div class="icon">
<i class="bi bi-filetype-svg"></i>
<div class="label">filetype-svg</div>
</div>
<div class="icon">
<i class="bi bi-filetype-tiff"></i>
<div class="label">filetype-tiff</div>
</div>
<div class="icon">
<i class="bi bi-filetype-tsx"></i>
<div class="label">filetype-tsx</div>
</div>
<div class="icon">
<i class="bi bi-filetype-ttf"></i>
<div class="label">filetype-ttf</div>
</div>
<div class="icon">
<i class="bi bi-filetype-txt"></i>
<div class="label">filetype-txt</div>
</div>
<div class="icon">
<i class="bi bi-filetype-wav"></i>
<div class="label">filetype-wav</div>
</div>
<div class="icon">
<i class="bi bi-filetype-woff"></i>
<div class="label">filetype-woff</div>
</div>
<div class="icon">
<i class="bi bi-filetype-xls"></i>
<div class="label">filetype-xls</div>
</div>
<div class="icon">
<i class="bi bi-filetype-xlsx"></i>
<div class="label">filetype-xlsx</div>
</div>
<div class="icon">
<i class="bi bi-filetype-xml"></i>
<div class="label">filetype-xml</div>
</div>
<div class="icon">
<i class="bi bi-filetype-yml"></i>
<div class="label">filetype-yml</div>
</div>
<div class="icon">
<i class="bi bi-film"></i>
<div class="label">film</div>
@@ -3485,6 +3925,10 @@
<i class="bi bi-headset"></i>
<div class="label">headset</div>
</div>
<div class="icon">
<i class="bi bi-heart-arrow"></i>
<div class="label">heart-arrow</div>
</div>
<div class="icon">
<i class="bi bi-heart-fill"></i>
<div class="label">heart-fill</div>
@@ -3493,10 +3937,30 @@
<i class="bi bi-heart-half"></i>
<div class="label">heart-half</div>
</div>
<div class="icon">
<i class="bi bi-heart-pulse-fill"></i>
<div class="label">heart-pulse-fill</div>
</div>
<div class="icon">
<i class="bi bi-heart-pulse"></i>
<div class="label">heart-pulse</div>
</div>
<div class="icon">
<i class="bi bi-heart"></i>
<div class="label">heart</div>
</div>
<div class="icon">
<i class="bi bi-heartbreak-fill"></i>
<div class="label">heartbreak-fill</div>
</div>
<div class="icon">
<i class="bi bi-heartbreak"></i>
<div class="label">heartbreak</div>
</div>
<div class="icon">
<i class="bi bi-hearts"></i>
<div class="label">hearts</div>
</div>
<div class="icon">
<i class="bi bi-heptagon-fill"></i>
<div class="label">heptagon-fill</div>
@@ -3521,6 +3985,14 @@
<i class="bi bi-hexagon"></i>
<div class="label">hexagon</div>
</div>
<div class="icon">
<i class="bi bi-hospital-fill"></i>
<div class="label">hospital-fill</div>
</div>
<div class="icon">
<i class="bi bi-hospital"></i>
<div class="label">hospital</div>
</div>
<div class="icon">
<i class="bi bi-hourglass-bottom"></i>
<div class="label">hourglass-bottom</div>
@@ -3549,6 +4021,14 @@
<i class="bi bi-house-fill"></i>
<div class="label">house-fill</div>
</div>
<div class="icon">
<i class="bi bi-house-heart-fill"></i>
<div class="label">house-heart-fill</div>
</div>
<div class="icon">
<i class="bi bi-house-heart"></i>
<div class="label">house-heart</div>
</div>
<div class="icon">
<i class="bi bi-house"></i>
<div class="label">house</div>
@@ -3597,6 +4077,10 @@
<i class="bi bi-inboxes"></i>
<div class="label">inboxes</div>
</div>
<div class="icon">
<i class="bi bi-incognito"></i>
<div class="label">incognito</div>
</div>
<div class="icon">
<i class="bi bi-infinity"></i>
<div class="label">infinity</div>
@@ -3925,6 +4409,14 @@
<i class="bi bi-magic"></i>
<div class="label">magic</div>
</div>
<div class="icon">
<i class="bi bi-magnet-fill"></i>
<div class="label">magnet-fill</div>
</div>
<div class="icon">
<i class="bi bi-magnet"></i>
<div class="label">magnet</div>
</div>
<div class="icon">
<i class="bi bi-mailbox"></i>
<div class="label">mailbox</div>
@@ -4389,6 +4881,14 @@
<i class="bi bi-person-fill"></i>
<div class="label">person-fill</div>
</div>
<div class="icon">
<i class="bi bi-person-heart"></i>
<div class="label">person-heart</div>
</div>
<div class="icon">
<i class="bi bi-person-hearts"></i>
<div class="label">person-hearts</div>
</div>
<div class="icon">
<i class="bi bi-person-lines-fill"></i>
<div class="label">person-lines-fill</div>
@@ -4441,6 +4941,10 @@
<i class="bi bi-phone-fill"></i>
<div class="label">phone-fill</div>
</div>
<div class="icon">
<i class="bi bi-phone-flip"></i>
<div class="label">phone-flip</div>
</div>
<div class="icon">
<i class="bi bi-phone-landscape-fill"></i>
<div class="label">phone-landscape-fill</div>
@@ -4549,6 +5053,10 @@
<i class="bi bi-plug"></i>
<div class="label">plug</div>
</div>
<div class="icon">
<i class="bi bi-plugin"></i>
<div class="label">plugin</div>
</div>
<div class="icon">
<i class="bi bi-plus-circle-dotted"></i>
<div class="label">plus-circle-dotted</div>
@@ -4585,6 +5093,38 @@
<i class="bi bi-plus"></i>
<div class="label">plus</div>
</div>
<div class="icon">
<i class="bi bi-postage-fill"></i>
<div class="label">postage-fill</div>
</div>
<div class="icon">
<i class="bi bi-postage-heart-fill"></i>
<div class="label">postage-heart-fill</div>
</div>
<div class="icon">
<i class="bi bi-postage-heart"></i>
<div class="label">postage-heart</div>
</div>
<div class="icon">
<i class="bi bi-postage"></i>
<div class="label">postage</div>
</div>
<div class="icon">
<i class="bi bi-postcard-fill"></i>
<div class="label">postcard-fill</div>
</div>
<div class="icon">
<i class="bi bi-postcard-heart-fill"></i>
<div class="label">postcard-heart-fill</div>
</div>
<div class="icon">
<i class="bi bi-postcard-heart"></i>
<div class="label">postcard-heart</div>
</div>
<div class="icon">
<i class="bi bi-postcard"></i>
<div class="label">postcard</div>
</div>
<div class="icon">
<i class="bi bi-power"></i>
<div class="label">power</div>
@@ -4833,6 +5373,14 @@
<i class="bi bi-sd-card"></i>
<div class="label">sd-card</div>
</div>
<div class="icon">
<i class="bi bi-search-heart-fill"></i>
<div class="label">search-heart-fill</div>
</div>
<div class="icon">
<i class="bi bi-search-heart"></i>
<div class="label">search-heart</div>
</div>
<div class="icon">
<i class="bi bi-search"></i>
<div class="label">search</div>
@@ -5165,6 +5713,14 @@
<i class="bi bi-sliders"></i>
<div class="label">sliders</div>
</div>
<div class="icon">
<i class="bi bi-sliders2-vertical"></i>
<div class="label">sliders2-vertical</div>
</div>
<div class="icon">
<i class="bi bi-sliders2"></i>
<div class="label">sliders2</div>
</div>
<div class="icon">
<i class="bi bi-smartwatch"></i>
<div class="label">smartwatch</div>
@@ -5642,12 +6198,12 @@
<div class="label">ticket-fill</div>
</div>
<div class="icon">
<i class="bi bi-ticket-perferated-fill"></i>
<div class="label">ticket-perferated-fill</div>
<i class="bi bi-ticket-perforated-fill"></i>
<div class="label">ticket-perforated-fill</div>
</div>
<div class="icon">
<i class="bi bi-ticket-perferated"></i>
<div class="label">ticket-perferated</div>
<i class="bi bi-ticket-perforated"></i>
<div class="label">ticket-perforated</div>
</div>
<div class="icon">
<i class="bi bi-ticket"></i>
@@ -5709,6 +6265,14 @@
<i class="bi bi-trash2"></i>
<div class="label">trash2</div>
</div>
<div class="icon">
<i class="bi bi-trash3-fill"></i>
<div class="label">trash3-fill</div>
</div>
<div class="icon">
<i class="bi bi-trash3"></i>
<div class="label">trash3</div>
</div>
<div class="icon">
<i class="bi bi-tree-fill"></i>
<div class="label">tree-fill</div>
@@ -5901,6 +6465,14 @@
<i class="bi bi-usb"></i>
<div class="label">usb</div>
</div>
<div class="icon">
<i class="bi bi-valentine"></i>
<div class="label">valentine</div>
</div>
<div class="icon">
<i class="bi bi-valentine2"></i>
<div class="label">valentine2</div>
</div>
<div class="icon">
<i class="bi bi-vector-pen"></i>
<div class="label">vector-pen</div>
@@ -6065,6 +6637,18 @@
<i class="bi bi-wordpress"></i>
<div class="label">wordpress</div>
</div>
<div class="icon">
<i class="bi bi-wrench-adjustable-circle-fill"></i>
<div class="label">wrench-adjustable-circle-fill</div>
</div>
<div class="icon">
<i class="bi bi-wrench-adjustable-circle"></i>
<div class="label">wrench-adjustable-circle</div>
</div>
<div class="icon">
<i class="bi bi-wrench-adjustable"></i>
<div class="label">wrench-adjustable</div>
</div>
<div class="icon">
<i class="bi bi-wrench"></i>
<div class="label">wrench</div>
@@ -1,3 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-piggy-bank-fill" viewBox="0 0 16 16">
<path fill-rule="evenodd" d="M7.964 1.527c-2.977 0-5.571 1.704-6.32 4.125h-.55A1 1 0 0 0 .11 6.824l.254 1.46a1.5 1.5 0 0 0 1.478 1.243h.263c.3.513.688.978 1.145 1.382l-.729 2.477a.5.5 0 0 0 .48.641h2a.5.5 0 0 0 .471-.332l.482-1.351c.635.173 1.31.267 2.011.267.707 0 1.388-.095 2.028-.272l.543 1.372a.5.5 0 0 0 .465.316h2a.5.5 0 0 0 .478-.645l-.761-2.506C13.81 9.895 14.5 8.559 14.5 7.069c0-.145-.007-.29-.02-.431.261-.11.508-.266.705-.444.315.306.815.306.815-.417 0 .223-.5.223-.461-.026a.95.95 0 0 0 .09-.255.7.7 0 0 0-.202-.645.58.58 0 0 0-.707-.098.735.735 0 0 0-.375.562c-.024.243.082.48.32.654a2.112 2.112 0 0 1-.259.153c-.534-2.664-3.284-4.595-6.442-4.595zm7.173 3.876a.565.565 0 0 1-.098.21.704.704 0 0 1-.044-.025c-.146-.09-.157-.175-.152-.223a.236.236 0 0 1 .117-.173c.049-.027.08-.021.113.012a.202.202 0 0 1 .064.199zm-8.999-.65A6.613 6.613 0 0 1 7.964 4.5c.666 0 1.303.097 1.893.273a.5.5 0 1 0 .286-.958A7.601 7.601 0 0 0 7.964 3.5c-.734 0-1.441.103-2.102.292a.5.5 0 1 0 .276.962zM5 6.25a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0z"/>
<path d="M7.964 1.527c-2.977 0-5.571 1.704-6.32 4.125h-.55A1 1 0 0 0 .11 6.824l.254 1.46a1.5 1.5 0 0 0 1.478 1.243h.263c.3.513.688.978 1.145 1.382l-.729 2.477a.5.5 0 0 0 .48.641h2a.5.5 0 0 0 .471-.332l.482-1.351c.635.173 1.31.267 2.011.267.707 0 1.388-.095 2.028-.272l.543 1.372a.5.5 0 0 0 .465.316h2a.5.5 0 0 0 .478-.645l-.761-2.506C13.81 9.895 14.5 8.559 14.5 7.069c0-.145-.007-.29-.02-.431.261-.11.508-.266.705-.444.315.306.815.306.815-.417 0 .223-.5.223-.461-.026a.95.95 0 0 0 .09-.255.7.7 0 0 0-.202-.645.58.58 0 0 0-.707-.098.735.735 0 0 0-.375.562c-.024.243.082.48.32.654a2.112 2.112 0 0 1-.259.153c-.534-2.664-3.284-4.595-6.442-4.595Zm7.173 3.876a.565.565 0 0 1-.098.21.704.704 0 0 1-.044-.025c-.146-.09-.157-.175-.152-.223a.236.236 0 0 1 .117-.173c.049-.027.08-.021.113.012a.202.202 0 0 1 .064.199Zm-8.999-.65a.5.5 0 1 1-.276-.96A7.613 7.613 0 0 1 7.964 3.5c.763 0 1.497.11 2.18.315a.5.5 0 1 1-.287.958A6.602 6.602 0 0 0 7.964 4.5c-.64 0-1.255.09-1.826.254ZM5 6.25a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

+1 -1
View File
@@ -1,3 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-screwdriver" viewBox="0 0 16 16">
<path d="m0 1 1-1 3.081 2.2a1 1 0 0 1 .419.815v.07a1 1 0 0 0 .293.708L10.5 9.5l.914-.305a1 1 0 0 1 1.023.242l3.356 3.356a1 1 0 0 1 0 1.414l-1.586 1.586a1 1 0 0 1-1.414 0l-3.356-3.356a1 1 0 0 1-.242-1.023L9.5 10.5 3.793 4.793a1 1 0 0 0-.707-.293h-.071a1 1 0 0 1-.814-.419L0 1zm11.354 9.646a.5.5 0 0 0-.708.708l3 3a.5.5 0 0 0 .708-.708l-3-3z"/>
<path d="M0 .995.995 0l3.064 2.19a.995.995 0 0 1 .417.809v.07c0 .264.105.517.291.704l5.677 5.676.909-.303a.995.995 0 0 1 1.018.24l3.338 3.339a.995.995 0 0 1 0 1.406L14.13 15.71a.995.995 0 0 1-1.406 0l-3.337-3.34a.995.995 0 0 1-.24-1.018l.302-.909-5.676-5.677a.995.995 0 0 0-.704-.291H3a.995.995 0 0 1-.81-.417L0 .995Zm11.293 9.595a.497.497 0 1 0-.703.703l2.984 2.984a.497.497 0 0 0 .703-.703l-2.984-2.984Z"/>
</svg>

Before

Width:  |  Height:  |  Size: 481 B

After

Width:  |  Height:  |  Size: 547 B

@@ -1,3 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-skip-forward-btn-fill" viewBox="0 0 16 16">
<path d="M0 10V2a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2zm4.79-6.907A.5.5 0 0 0 4 3.5v5a.5.5 0 0 0 .79.407L7.5 6.972V8.5a.5.5 0 0 0 .79.407L11 6.972V8.5a.5.5 0 0 0 1 0v-5a.5.5 0 0 0-1 0v1.528L8.29 3.093a.5.5 0 0 0-.79.407v1.528L4.79 3.093z"/>
<path d="M0 12V4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2Zm4.79-6.907A.5.5 0 0 0 4 5.5v5a.5.5 0 0 0 .79.407L7.5 8.972V10.5a.5.5 0 0 0 .79.407L11 8.972V10.5a.5.5 0 0 0 1 0v-5a.5.5 0 0 0-1 0v1.528L8.29 5.093a.5.5 0 0 0-.79.407v1.528L4.79 5.093Z"/>
</svg>

Before

Width:  |  Height:  |  Size: 414 B

After

Width:  |  Height:  |  Size: 416 B

+75 -47
View File
@@ -1,60 +1,53 @@
{
"name": "bootstrap-icons",
"version": "1.7.1",
"description": "Official open source SVG icon library for Bootstrap",
"author": "mdo",
"license": "MIT",
"homepage": "https://icons.getbootstrap.com/",
"repository": {
"type": "git",
"url": "git+https://github.com/twbs/icons.git"
"_from": "bootstrap-icons@^1.7.1",
"_id": "bootstrap-icons@1.8.1",
"_inBundle": false,
"_integrity": "sha512-IXUqislddPJfwq6H+2nTkHyr9epO9h6u1AG0OZCx616w+TgzeoCjfmI3qJMQqt1J586gN2IxzB4M99Ip4sTZ1w==",
"_location": "/bootstrap-icons",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "bootstrap-icons@^1.7.1",
"name": "bootstrap-icons",
"escapedName": "bootstrap-icons",
"rawSpec": "^1.7.1",
"saveSpec": null,
"fetchSpec": "^1.7.1"
},
"_requiredBy": [
"/"
],
"_resolved": "https://registry.npmjs.org/bootstrap-icons/-/bootstrap-icons-1.8.1.tgz",
"_shasum": "773c1625bcbf3e86090ea9da4386c2c6459c5582",
"_spec": "bootstrap-icons@^1.7.1",
"_where": "/mnt/d/WWW/magico.front",
"author": {
"name": "mdo"
},
"bugs": {
"url": "https://github.com/twbs/icons/issues"
},
"keywords": [
"bootstrap",
"icons"
],
"scripts": {
"start": "npm run docs-serve",
"docs-serve": "hugo server --port 4000 --disableFastRender",
"docs-build": "hugo --cleanDestinationDir",
"docs-purge": "npm run docs-build && purgecss --css docs/static/assets/css/bootstrap.min.css --content \"_site/**/*.html\" \"_site/assets/js/**/*.js\" --keyframes --output docs/static/assets/css/",
"pages": "node build/build-pages.js",
"icons": "npm-run-all icons-main --aggregate-output --parallel icons-sprite icons-font",
"icons-main": "node build/build-svgs.js",
"icons-zip": "cross-env-shell \"rm -rf bootstrap-icons-$npm_package_version && cp -r icons/ bootstrap-icons-$npm_package_version && cp bootstrap-icons.svg bootstrap-icons-$npm_package_version && cp -r font/ bootstrap-icons-$npm_package_version && zip -r9 bootstrap-icons-$npm_package_version.zip bootstrap-icons-$npm_package_version && rm -rf bootstrap-icons-$npm_package_version\"",
"icons-sprite": "svg-sprite --config svg-sprite.json --log=info icons/*.svg",
"icons-font": "fantasticon",
"release": "npm-run-all icons docs-build icons-zip",
"netlify": "cross-env-shell HUGO_BASEURL=$DEPLOY_PRIME_URL npm-run-all icons docs-purge docs-build",
"test:fusv": "fusv docs/assets/scss/",
"test:eslint": "eslint --cache --cache-location node_modules/.cache/.eslintcache --report-unused-disable-directives .",
"test:stylelint": "stylelint docs/assets/scss/ --cache --cache-location node_modules/.cache/.stylelintcache --rd",
"test:linkinator": "linkinator _site --recurse --silent --skip \"^(?!http://localhost)\"",
"test:lockfile-lint": "lockfile-lint --allowed-hosts npm --allowed-schemes https: --empty-hostname false --type npm --path package-lock.json",
"test:vnu": "node build/vnu-jar.js",
"test": "npm-run-all docs-build --parallel --aggregate-output --continue-on-error test:*"
},
"dependencies": {},
"bundleDependencies": false,
"deprecated": false,
"description": "Official open source SVG icon library for Bootstrap",
"devDependencies": {
"autoprefixer": "^10.4.0",
"chalk": "^4.1.2",
"autoprefixer": "^10.4.2",
"cheerio": "^1.0.0-rc.10",
"cross-env": "^7.0.3",
"eslint": "^8.2.0",
"eslint": "^8.8.0",
"fantasticon": "^1.2.3",
"find-unused-sass-variables": "^3.1.0",
"hugo-bin": "^0.77.2",
"linkinator": "^2.14.5",
"find-unused-sass-variables": "^4.0.1",
"hugo-bin": "^0.80.1",
"linkinator": "^3.0.3",
"lockfile-lint": "^4.6.2",
"npm-run-all": "^4.1.5",
"postcss": "^8.3.11",
"postcss-cli": "^9.0.2",
"purgecss": "^4.0.3",
"stylelint": "^13.13.1",
"stylelint-config-twbs-bootstrap": "^2.2.4",
"picocolors": "^1.0.0",
"postcss": "^8.4.5",
"postcss-cli": "^9.1.0",
"purgecss": "^4.1.3",
"stylelint": "^14.2.0",
"stylelint-config-twbs-bootstrap": "^3.0.1",
"svg-sprite": "^1.5.3",
"svgo": "^2.8.0",
"vnu-jar": "21.10.12"
@@ -68,7 +61,42 @@
"font",
"!.DS_Store"
],
"homepage": "https://icons.getbootstrap.com/",
"hugo-bin": {
"buildTags": "extended"
}
},
"keywords": [
"bootstrap",
"icons"
],
"license": "MIT",
"name": "bootstrap-icons",
"repository": {
"type": "git",
"url": "git+https://github.com/twbs/icons.git"
},
"sass": "font/bootstrap-icons.scss",
"scripts": {
"docs-build": "hugo --cleanDestinationDir",
"docs-purge": "npm run docs-build && purgecss --css docs/static/assets/css/bootstrap.min.css --content \"_site/**/*.html\" \"_site/assets/js/**/*.js\" --keyframes --output docs/static/assets/css/",
"docs-serve": "hugo server --port 4000 --disableFastRender",
"icons": "npm-run-all icons-main --aggregate-output --parallel icons-sprite icons-font",
"icons-font": "fantasticon",
"icons-main": "node build/build-svgs.js",
"icons-sprite": "svg-sprite --config svg-sprite.json --log=info icons/*.svg",
"icons-zip": "cross-env-shell \"rm -rf bootstrap-icons-$npm_package_version && cp -r icons/ bootstrap-icons-$npm_package_version && cp bootstrap-icons.svg bootstrap-icons-$npm_package_version && cp -r font/ bootstrap-icons-$npm_package_version && zip -r9 bootstrap-icons-$npm_package_version.zip bootstrap-icons-$npm_package_version && rm -rf bootstrap-icons-$npm_package_version\"",
"netlify": "cross-env-shell HUGO_BASEURL=$DEPLOY_PRIME_URL npm-run-all icons docs-purge docs-build",
"pages": "node build/build-pages.js",
"release": "npm-run-all icons docs-build icons-zip",
"start": "npm run docs-serve",
"test": "npm-run-all docs-build --parallel --aggregate-output --continue-on-error test:*",
"test:eslint": "eslint --cache --cache-location node_modules/.cache/.eslintcache --report-unused-disable-directives .",
"test:fusv": "fusv docs/assets/scss/",
"test:linkinator": "linkinator _site --recurse --silent --skip \"^(?!http://localhost)\"",
"test:lockfile-lint": "lockfile-lint --allowed-hosts npm --allowed-schemes https: --empty-hostname false --type npm --path package-lock.json",
"test:stylelint": "stylelint docs/assets/scss/ --cache --cache-location node_modules/.cache/.stylelintcache --rd",
"test:vnu": "node build/vnu-jar.js"
},
"style": "font/bootstrap-icons.css",
"version": "1.8.1"
}
+124 -94
View File
@@ -1,105 +1,46 @@
{
"name": "bootstrap",
"description": "The most popular front-end framework for developing responsive, mobile first projects on the web.",
"version": "5.1.3",
"config": {
"version_short": "5.1"
"_from": "bootstrap@^5.1.3",
"_id": "bootstrap@5.1.3",
"_inBundle": false,
"_integrity": "sha512-fcQztozJ8jToQWXxVuEyXWW+dSo8AiXWKwiSSrKWsRB/Qt+Ewwza+JWoLKiTuQLaEPhdNAJ7+Dosc9DOIqNy7Q==",
"_location": "/bootstrap",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "bootstrap@^5.1.3",
"name": "bootstrap",
"escapedName": "bootstrap",
"rawSpec": "^5.1.3",
"saveSpec": null,
"fetchSpec": "^5.1.3"
},
"keywords": [
"css",
"sass",
"mobile-first",
"responsive",
"front-end",
"framework",
"web"
"_requiredBy": [
"/"
],
"homepage": "https://getbootstrap.com/",
"author": "The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)",
"contributors": [
"Twitter, Inc."
],
"scripts": {
"start": "npm-run-all --parallel watch docs-serve",
"bundlewatch": "bundlewatch --config .bundlewatch.config.json",
"css": "npm-run-all css-compile css-prefix css-rtl css-minify",
"css-compile": "sass --style expanded --source-map --embed-sources --no-error-css scss/:dist/css/",
"css-rtl": "cross-env NODE_ENV=RTL postcss --config build/postcss.config.js --dir \"dist/css\" --ext \".rtl.css\" \"dist/css/*.css\" \"!dist/css/*.min.css\" \"!dist/css/*.rtl.css\"",
"css-lint": "npm-run-all --aggregate-output --continue-on-error --parallel css-lint-*",
"css-lint-stylelint": "stylelint \"**/*.{css,scss}\" --cache --cache-location .cache/.stylelintcache --rd",
"css-lint-vars": "fusv scss/ site/assets/scss/",
"css-minify": "npm-run-all --aggregate-output --parallel css-minify-*",
"css-minify-main": "cleancss -O1 --format breakWith=lf --with-rebase --source-map --source-map-inline-sources --output dist/css/ --batch --batch-suffix \".min\" \"dist/css/*.css\" \"!dist/css/*.min.css\" \"!dist/css/*rtl*.css\"",
"css-minify-rtl": "cleancss -O1 --format breakWith=lf --with-rebase --source-map --source-map-inline-sources --output dist/css/ --batch --batch-suffix \".min\" \"dist/css/*rtl.css\" \"!dist/css/*.min.css\"",
"css-prefix": "npm-run-all --aggregate-output --parallel css-prefix-*",
"css-prefix-main": "postcss --config build/postcss.config.js --replace \"dist/css/*.css\" \"!dist/css/*.rtl*.css\" \"!dist/css/*.min.css\"",
"css-prefix-examples": "postcss --config build/postcss.config.js --replace \"site/content/**/*.css\"",
"css-prefix-examples-rtl": "cross-env-shell NODE_ENV=RTL postcss --config build/postcss.config.js --dir \"site/content/docs/$npm_package_config_version_short/examples/\" --ext \".rtl.css\" --base \"site/content/docs/$npm_package_config_version_short/examples/\" \"site/content/docs/$npm_package_config_version_short/examples/{blog,carousel,dashboard,cheatsheet}/*.css\" \"!site/content/docs/$npm_package_config_version_short/examples/{blog,carousel,dashboard,cheatsheet}/*.rtl.css\"",
"js": "npm-run-all js-compile js-minify",
"js-compile": "npm-run-all --aggregate-output --parallel js-compile-*",
"js-compile-standalone": "rollup --environment BUNDLE:false --config build/rollup.config.js --sourcemap",
"js-compile-standalone-esm": "rollup --environment ESM:true,BUNDLE:false --config build/rollup.config.js --sourcemap",
"js-compile-bundle": "rollup --environment BUNDLE:true --config build/rollup.config.js --sourcemap",
"js-compile-plugins": "node build/build-plugins.js",
"js-lint": "eslint --cache --cache-location .cache/.eslintcache --report-unused-disable-directives .",
"js-minify": "npm-run-all --aggregate-output --parallel js-minify-*",
"js-minify-standalone": "terser --compress passes=2 --mangle --comments \"/^!/\" --source-map \"content=dist/js/bootstrap.js.map,includeSources,url=bootstrap.min.js.map\" --output dist/js/bootstrap.min.js dist/js/bootstrap.js",
"js-minify-standalone-esm": "terser --compress passes=2 --mangle --comments \"/^!/\" --source-map \"content=dist/js/bootstrap.esm.js.map,includeSources,url=bootstrap.esm.min.js.map\" --output dist/js/bootstrap.esm.min.js dist/js/bootstrap.esm.js",
"js-minify-bundle": "terser --compress passes=2 --mangle --comments \"/^!/\" --source-map \"content=dist/js/bootstrap.bundle.js.map,includeSources,url=bootstrap.bundle.min.js.map\" --output dist/js/bootstrap.bundle.min.js dist/js/bootstrap.bundle.js",
"js-test": "npm-run-all --aggregate-output --parallel js-test-karma js-test-jquery js-test-integration-*",
"js-debug": "cross-env DEBUG=true npm run js-test-karma",
"js-test-karma": "karma start js/tests/karma.conf.js",
"js-test-integration-bundle": "rollup --config js/tests/integration/rollup.bundle.js",
"js-test-integration-modularity": "rollup --config js/tests/integration/rollup.bundle-modularity.js",
"js-test-cloud": "cross-env BROWSERSTACK=true npm run js-test-karma",
"js-test-jquery": "cross-env JQUERY=true npm run js-test-karma",
"lint": "npm-run-all --aggregate-output --continue-on-error --parallel js-lint css-lint lockfile-lint",
"docs": "npm-run-all docs-build docs-lint",
"docs-build": "hugo --cleanDestinationDir",
"docs-compile": "npm run docs-build",
"docs-linkinator": "linkinator _site --recurse --skip \"^(?!http://localhost)\" --verbosity error",
"docs-spellcheck": "cspell \"site/**/*.md\" --no-progress",
"docs-vnu": "node build/vnu-jar.js",
"docs-lint": "npm-run-all --aggregate-output --parallel docs-vnu docs-linkinator docs-spellcheck",
"docs-serve": "hugo server --port 9001 --disableFastRender",
"docs-serve-only": "npx sirv-cli _site --port 9001",
"lockfile-lint": "lockfile-lint --allowed-hosts npm --allowed-schemes https: --empty-hostname false --type npm --path package-lock.json",
"update-deps": "ncu -u -x globby,karma-browserstack-launcher && npm update && echo Manually update site/assets/js/vendor",
"release": "npm-run-all dist release-sri docs-build release-zip*",
"release-sri": "node build/generate-sri.js",
"release-version": "node build/change-version.js",
"release-zip": "cross-env-shell \"rm -rf bootstrap-$npm_package_version-dist && cp -r dist/ bootstrap-$npm_package_version-dist && zip -r9 bootstrap-$npm_package_version-dist.zip bootstrap-$npm_package_version-dist && rm -rf bootstrap-$npm_package_version-dist\"",
"release-zip-examples": "node build/zip-examples.js",
"dist": "npm-run-all --aggregate-output --parallel css js",
"test": "npm-run-all lint dist js-test docs-build docs-lint",
"netlify": "cross-env-shell HUGO_BASEURL=$DEPLOY_PRIME_URL npm-run-all dist release-sri docs-build",
"watch": "npm-run-all --parallel watch-*",
"watch-css-main": "nodemon --watch scss/ --ext scss --exec \"npm-run-all css-lint css-compile css-prefix\"",
"watch-css-dist": "nodemon --watch dist/css/ --ext css --ignore \"dist/css/*.rtl.*\" --exec \"npm run css-rtl\"",
"watch-css-docs": "nodemon --watch site/assets/scss/ --ext scss --exec \"npm run css-lint\"",
"watch-js-main": "nodemon --watch js/src/ --ext js --exec \"npm-run-all js-lint js-compile\"",
"watch-js-docs": "nodemon --watch site/assets/js/ --ext js --exec \"npm run js-lint\""
},
"style": "dist/css/bootstrap.css",
"sass": "scss/bootstrap.scss",
"main": "dist/js/bootstrap.js",
"module": "dist/js/bootstrap.esm.js",
"repository": {
"type": "git",
"url": "git+https://github.com/twbs/bootstrap.git"
"_resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.1.3.tgz",
"_shasum": "ba081b0c130f810fa70900acbc1c6d3c28fa8f34",
"_spec": "bootstrap@^5.1.3",
"_where": "/mnt/d/WWW/magico.front",
"author": {
"name": "The Bootstrap Authors",
"url": "https://github.com/twbs/bootstrap/graphs/contributors"
},
"bugs": {
"url": "https://github.com/twbs/bootstrap/issues"
},
"license": "MIT",
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/bootstrap"
"bundleDependencies": false,
"config": {
"version_short": "5.1"
},
"contributors": [
{
"name": "Twitter, Inc."
}
],
"dependencies": {},
"peerDependencies": {
"@popperjs/core": "^2.10.2"
},
"deprecated": false,
"description": "The most popular front-end framework for developing responsive, mobile first projects on the web.",
"devDependencies": {
"@babel/cli": "^7.15.7",
"@babel/core": "^7.15.5",
@@ -155,6 +96,11 @@
"js/{src,dist}/**/*.{js,map}",
"scss/**/*.scss"
],
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/bootstrap"
},
"homepage": "https://getbootstrap.com/",
"hugo-bin": {
"buildTags": "extended"
},
@@ -175,5 +121,89 @@
"peerDependencies": {
"@popperjs/core": "^2.10.2"
}
}
},
"keywords": [
"css",
"sass",
"mobile-first",
"responsive",
"front-end",
"framework",
"web"
],
"license": "MIT",
"main": "dist/js/bootstrap.js",
"module": "dist/js/bootstrap.esm.js",
"name": "bootstrap",
"peerDependencies": {
"@popperjs/core": "^2.10.2"
},
"repository": {
"type": "git",
"url": "git+https://github.com/twbs/bootstrap.git"
},
"sass": "scss/bootstrap.scss",
"scripts": {
"bundlewatch": "bundlewatch --config .bundlewatch.config.json",
"css": "npm-run-all css-compile css-prefix css-rtl css-minify",
"css-compile": "sass --style expanded --source-map --embed-sources --no-error-css scss/:dist/css/",
"css-lint": "npm-run-all --aggregate-output --continue-on-error --parallel css-lint-*",
"css-lint-stylelint": "stylelint \"**/*.{css,scss}\" --cache --cache-location .cache/.stylelintcache --rd",
"css-lint-vars": "fusv scss/ site/assets/scss/",
"css-minify": "npm-run-all --aggregate-output --parallel css-minify-*",
"css-minify-main": "cleancss -O1 --format breakWith=lf --with-rebase --source-map --source-map-inline-sources --output dist/css/ --batch --batch-suffix \".min\" \"dist/css/*.css\" \"!dist/css/*.min.css\" \"!dist/css/*rtl*.css\"",
"css-minify-rtl": "cleancss -O1 --format breakWith=lf --with-rebase --source-map --source-map-inline-sources --output dist/css/ --batch --batch-suffix \".min\" \"dist/css/*rtl.css\" \"!dist/css/*.min.css\"",
"css-prefix": "npm-run-all --aggregate-output --parallel css-prefix-*",
"css-prefix-examples": "postcss --config build/postcss.config.js --replace \"site/content/**/*.css\"",
"css-prefix-examples-rtl": "cross-env-shell NODE_ENV=RTL postcss --config build/postcss.config.js --dir \"site/content/docs/$npm_package_config_version_short/examples/\" --ext \".rtl.css\" --base \"site/content/docs/$npm_package_config_version_short/examples/\" \"site/content/docs/$npm_package_config_version_short/examples/{blog,carousel,dashboard,cheatsheet}/*.css\" \"!site/content/docs/$npm_package_config_version_short/examples/{blog,carousel,dashboard,cheatsheet}/*.rtl.css\"",
"css-prefix-main": "postcss --config build/postcss.config.js --replace \"dist/css/*.css\" \"!dist/css/*.rtl*.css\" \"!dist/css/*.min.css\"",
"css-rtl": "cross-env NODE_ENV=RTL postcss --config build/postcss.config.js --dir \"dist/css\" --ext \".rtl.css\" \"dist/css/*.css\" \"!dist/css/*.min.css\" \"!dist/css/*.rtl.css\"",
"dist": "npm-run-all --aggregate-output --parallel css js",
"docs": "npm-run-all docs-build docs-lint",
"docs-build": "hugo --cleanDestinationDir",
"docs-compile": "npm run docs-build",
"docs-linkinator": "linkinator _site --recurse --skip \"^(?!http://localhost)\" --verbosity error",
"docs-lint": "npm-run-all --aggregate-output --parallel docs-vnu docs-linkinator docs-spellcheck",
"docs-serve": "hugo server --port 9001 --disableFastRender",
"docs-serve-only": "npx sirv-cli _site --port 9001",
"docs-spellcheck": "cspell \"site/**/*.md\" --no-progress",
"docs-vnu": "node build/vnu-jar.js",
"js": "npm-run-all js-compile js-minify",
"js-compile": "npm-run-all --aggregate-output --parallel js-compile-*",
"js-compile-bundle": "rollup --environment BUNDLE:true --config build/rollup.config.js --sourcemap",
"js-compile-plugins": "node build/build-plugins.js",
"js-compile-standalone": "rollup --environment BUNDLE:false --config build/rollup.config.js --sourcemap",
"js-compile-standalone-esm": "rollup --environment ESM:true,BUNDLE:false --config build/rollup.config.js --sourcemap",
"js-debug": "cross-env DEBUG=true npm run js-test-karma",
"js-lint": "eslint --cache --cache-location .cache/.eslintcache --report-unused-disable-directives .",
"js-minify": "npm-run-all --aggregate-output --parallel js-minify-*",
"js-minify-bundle": "terser --compress passes=2 --mangle --comments \"/^!/\" --source-map \"content=dist/js/bootstrap.bundle.js.map,includeSources,url=bootstrap.bundle.min.js.map\" --output dist/js/bootstrap.bundle.min.js dist/js/bootstrap.bundle.js",
"js-minify-standalone": "terser --compress passes=2 --mangle --comments \"/^!/\" --source-map \"content=dist/js/bootstrap.js.map,includeSources,url=bootstrap.min.js.map\" --output dist/js/bootstrap.min.js dist/js/bootstrap.js",
"js-minify-standalone-esm": "terser --compress passes=2 --mangle --comments \"/^!/\" --source-map \"content=dist/js/bootstrap.esm.js.map,includeSources,url=bootstrap.esm.min.js.map\" --output dist/js/bootstrap.esm.min.js dist/js/bootstrap.esm.js",
"js-test": "npm-run-all --aggregate-output --parallel js-test-karma js-test-jquery js-test-integration-*",
"js-test-cloud": "cross-env BROWSERSTACK=true npm run js-test-karma",
"js-test-integration-bundle": "rollup --config js/tests/integration/rollup.bundle.js",
"js-test-integration-modularity": "rollup --config js/tests/integration/rollup.bundle-modularity.js",
"js-test-jquery": "cross-env JQUERY=true npm run js-test-karma",
"js-test-karma": "karma start js/tests/karma.conf.js",
"lint": "npm-run-all --aggregate-output --continue-on-error --parallel js-lint css-lint lockfile-lint",
"lockfile-lint": "lockfile-lint --allowed-hosts npm --allowed-schemes https: --empty-hostname false --type npm --path package-lock.json",
"netlify": "cross-env-shell HUGO_BASEURL=$DEPLOY_PRIME_URL npm-run-all dist release-sri docs-build",
"release": "npm-run-all dist release-sri docs-build release-zip*",
"release-sri": "node build/generate-sri.js",
"release-version": "node build/change-version.js",
"release-zip": "cross-env-shell \"rm -rf bootstrap-$npm_package_version-dist && cp -r dist/ bootstrap-$npm_package_version-dist && zip -r9 bootstrap-$npm_package_version-dist.zip bootstrap-$npm_package_version-dist && rm -rf bootstrap-$npm_package_version-dist\"",
"release-zip-examples": "node build/zip-examples.js",
"start": "npm-run-all --parallel watch docs-serve",
"test": "npm-run-all lint dist js-test docs-build docs-lint",
"update-deps": "ncu -u -x globby,karma-browserstack-launcher && npm update && echo Manually update site/assets/js/vendor",
"watch": "npm-run-all --parallel watch-*",
"watch-css-dist": "nodemon --watch dist/css/ --ext css --ignore \"dist/css/*.rtl.*\" --exec \"npm run css-rtl\"",
"watch-css-docs": "nodemon --watch site/assets/scss/ --ext scss --exec \"npm run css-lint\"",
"watch-css-main": "nodemon --watch scss/ --ext scss --exec \"npm-run-all css-lint css-compile css-prefix\"",
"watch-js-docs": "nodemon --watch site/assets/js/ --ext js --exec \"npm run js-lint\"",
"watch-js-main": "nodemon --watch js/src/ --ext js --exec \"npm-run-all js-lint js-compile\""
},
"style": "dist/css/bootstrap.css",
"version": "5.1.3"
}
+54 -29
View File
@@ -1,33 +1,37 @@
{
"name": "chart.js",
"homepage": "https://www.chartjs.org",
"description": "Simple HTML5 charts using the canvas element.",
"version": "2.9.4",
"license": "MIT",
"jsdelivr": "dist/Chart.min.js",
"unpkg": "dist/Chart.min.js",
"main": "dist/Chart.js",
"keywords": [
"canvas",
"charts",
"data",
"graphs",
"html5",
"responsive"
],
"repository": {
"type": "git",
"url": "https://github.com/chartjs/Chart.js.git"
"_from": "chart.js@^2.9.4",
"_id": "chart.js@2.9.4",
"_inBundle": false,
"_integrity": "sha512-B07aAzxcrikjAPyV+01j7BmOpxtQETxTSlQ26BEYJ+3iUkbNKaOJ/nDbT6JjyqYxseM0ON12COHYdU2cTIjC7A==",
"_location": "/chart.js",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "chart.js@^2.9.4",
"name": "chart.js",
"escapedName": "chart.js",
"rawSpec": "^2.9.4",
"saveSpec": null,
"fetchSpec": "^2.9.4"
},
"_requiredBy": [
"/"
],
"_resolved": "https://registry.npmjs.org/chart.js/-/chart.js-2.9.4.tgz",
"_shasum": "0827f9563faffb2dc5c06562f8eb10337d5b9684",
"_spec": "chart.js@^2.9.4",
"_where": "/mnt/d/WWW/magico.front",
"bugs": {
"url": "https://github.com/chartjs/Chart.js/issues"
},
"files": [
"bower.json",
"composer.json",
"dist/*.css",
"dist/*.js"
],
"bundleDependencies": false,
"dependencies": {
"chartjs-color": "^2.1.0",
"moment": "^2.10.2"
},
"deprecated": false,
"description": "Simple HTML5 charts using the canvas element.",
"devDependencies": {
"clean-css": "^4.2.1",
"coveralls": "^3.0.0",
@@ -62,8 +66,29 @@
"rollup-plugin-terser": "^5.0.0",
"yargs": "^12.0.5"
},
"dependencies": {
"chartjs-color": "^2.1.0",
"moment": "^2.10.2"
}
"files": [
"bower.json",
"composer.json",
"dist/*.css",
"dist/*.js"
],
"homepage": "https://www.chartjs.org",
"jsdelivr": "dist/Chart.min.js",
"keywords": [
"canvas",
"charts",
"data",
"graphs",
"html5",
"responsive"
],
"license": "MIT",
"main": "dist/Chart.js",
"name": "chart.js",
"repository": {
"type": "git",
"url": "git+https://github.com/chartjs/Chart.js.git"
},
"unpkg": "dist/Chart.min.js",
"version": "2.9.4"
}
+43 -15
View File
@@ -1,31 +1,59 @@
{
"name": "circles.js",
"version": "0.0.6",
"description": "Lightweight JavaScript library that generates circular graphs in SVG. Now with animation.",
"main": "./circles.js",
"repository": {
"type": "git",
"url": "git://github.com/lugolabs/circles.git"
"_from": "circles.js@0.0.6",
"_id": "circles.js@0.0.6",
"_inBundle": false,
"_integrity": "sha512-klcHmhkf0eZZr/NFKQSkH2CQCOGx/WPzOnXzVm0X6z0ZiTXjOLPXp+cxx7wnb1wVwk6/DBNikTUuAHNsL34ySw==",
"_location": "/circles.js",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "circles.js@0.0.6",
"name": "circles.js",
"escapedName": "circles.js",
"rawSpec": "0.0.6",
"saveSpec": null,
"fetchSpec": "0.0.6"
},
"_requiredBy": [
"/"
],
"_resolved": "https://registry.npmjs.org/circles.js/-/circles.js-0.0.6.tgz",
"_shasum": "a1125e0552872b557e448a5a4280f1b9f9101f14",
"_spec": "circles.js@0.0.6",
"_where": "/mnt/d/WWW/magico.front",
"author": {
"name": "lugolabs"
},
"bugs": {
"url": "https://github.com/lugolabs/circles/issues"
},
"bundleDependencies": false,
"deprecated": "Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.",
"description": "Lightweight JavaScript library that generates circular graphs in SVG. Now with animation.",
"devDependencies": {
"grunt": "~0.4.5",
"grunt-contrib-jasmine": "^0.8.1",
"grunt-contrib-uglify": "~0.4.0"
},
"homepage": "https://github.com/lugolabs/circles#readme",
"keywords": [
"circles",
"js",
"javascript",
"svg"
],
"author": "lugolabs",
"licenses": [
{
"type": "MIT",
"url": "https://github.com/chinchang/hint.css/blob/master/LICENSE-MIT"
}
],
"bugs": {
"url": "https://github.com/lugolabs/circles/issues"
"main": "./circles.js",
"name": "circles.js",
"repository": {
"type": "git",
"url": "git://github.com/lugolabs/circles.git"
},
"devDependencies": {
"grunt": "~0.4.5",
"grunt-contrib-jasmine": "^0.8.1",
"grunt-contrib-uglify": "~0.4.0"
}
"version": "0.0.6"
}
+47 -12
View File
@@ -1,16 +1,43 @@
{
"name": "countdown",
"version": "2.6.0",
"description": "A simple JavaScript API for producing an accurate, intuitive description of the timespan between two Date instances.",
"homepage": "http://countdownjs.org",
"author": "Stephen McKamey (http://mck.me)",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/mckamey/countdownjs.git"
"_from": "countdown@^2.6.0",
"_id": "countdown@2.6.0",
"_inBundle": false,
"_integrity": "sha1-Z3+446nUzE52QVkBuiU7UYrzQXc=",
"_location": "/countdown",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "countdown@^2.6.0",
"name": "countdown",
"escapedName": "countdown",
"rawSpec": "^2.6.0",
"saveSpec": null,
"fetchSpec": "^2.6.0"
},
"files": [ "countdown.js", "README.md", "LICENSE.txt" ],
"main": "countdown.js",
"_requiredBy": [
"/"
],
"_resolved": "https://registry.npmjs.org/countdown/-/countdown-2.6.0.tgz",
"_shasum": "677fb8e3a9d4cc4e76415901ba253b518af34177",
"_spec": "countdown@^2.6.0",
"_where": "/mnt/d/WWW/magico.front",
"author": {
"name": "Stephen McKamey",
"url": "http://mck.me"
},
"bugs": {
"url": "https://github.com/mckamey/countdownjs/issues"
},
"bundleDependencies": false,
"deprecated": false,
"description": "A simple JavaScript API for producing an accurate, intuitive description of the timespan between two Date instances.",
"files": [
"countdown.js",
"README.md",
"LICENSE.txt"
],
"homepage": "http://countdownjs.org",
"keywords": [
"countdown",
"timer",
@@ -25,5 +52,13 @@
"hour",
"minute",
"second"
]
],
"license": "MIT",
"main": "countdown.js",
"name": "countdown",
"repository": {
"type": "git",
"url": "git+https://github.com/mckamey/countdownjs.git"
},
"version": "2.6.0"
}
+58 -33
View File
@@ -1,44 +1,42 @@
{
"name": "dropzone",
"version": "5.9.3",
"description": "Handles drag and drop of files for you.",
"keywords": [
"dragndrop",
"drag and drop",
"file upload",
"upload"
"_from": "dropzone@^5.9.3",
"_id": "dropzone@5.9.3",
"_inBundle": false,
"_integrity": "sha512-Azk8kD/2/nJIuVPK+zQ9sjKMRIpRvNyqn9XwbBHNq+iNuSccbJS6hwm1Woy0pMST0erSo0u4j+KJaodndDk4vA==",
"_location": "/dropzone",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "dropzone@^5.9.3",
"name": "dropzone",
"escapedName": "dropzone",
"rawSpec": "^5.9.3",
"saveSpec": null,
"fetchSpec": "^5.9.3"
},
"_requiredBy": [
"/"
],
"homepage": "http://www.dropzonejs.com",
"main": "./dist/dropzone.js",
"_resolved": "https://registry.npmjs.org/dropzone/-/dropzone-5.9.3.tgz",
"_shasum": "b3070ae090fa48cbc04c17535635537ca72d70d6",
"_spec": "dropzone@^5.9.3",
"_where": "/mnt/d/WWW/magico.front",
"browserslist": "defaults, > 0.25%, IE 11",
"maintainers": [
{
"name": "Matias Meno",
"email": "m@tias.me",
"web": "https://www.yesmeno.com"
}
],
"bugs": {
"url": "https://github.com/dropzone/dropzone/issues",
"email": "m@tias.me"
},
"bundleDependencies": false,
"contributors": [
{
"name": "Matias Meno",
"email": "m@tias.me",
"web": "https://www.yesmeno.com"
"url": "https://www.yesmeno.com"
}
],
"scripts": {
"build": "webpack && cp dist/dropzone.js dist/dropzone-amd-module.js && cp dist/min/dropzone.min.js dist/min/dropzone-amd-module.min.js",
"test": "karma start --single-run --browsers ChromeHeadless test/karma.conf.js",
"build-website": "grunt build-website"
},
"bugs": {
"email": "m@tias.me",
"url": "https://github.com/dropzone/dropzone/issues"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/dropzone/dropzone.git"
},
"deprecated": false,
"description": "Handles drag and drop of files for you.",
"devDependencies": {
"@babel/core": "^7.11.0",
"@babel/preset-env": "^7.11.0",
@@ -67,5 +65,32 @@
"webpack": "^5.23.0",
"webpack-cli": "^4.5.0",
"webpack-shell-plugin-next": "^2.1.1"
}
},
"homepage": "http://www.dropzonejs.com",
"keywords": [
"dragndrop",
"drag and drop",
"file upload",
"upload"
],
"license": "MIT",
"main": "./dist/dropzone.js",
"maintainers": [
{
"name": "Matias Meno",
"email": "m@tias.me",
"url": "https://www.yesmeno.com"
}
],
"name": "dropzone",
"repository": {
"type": "git",
"url": "git+https://github.com/dropzone/dropzone.git"
},
"scripts": {
"build": "webpack && cp dist/dropzone.js dist/dropzone-amd-module.js && cp dist/min/dropzone.min.js dist/min/dropzone-amd-module.min.js",
"build-website": "grunt build-website",
"test": "karma start --single-run --browsers ChromeHeadless test/karma.conf.js"
},
"version": "5.9.3"
}
+54 -21
View File
@@ -1,17 +1,37 @@
{
"name": "flag-icon-css",
"version": "3.5.0",
"author": "Panayiotis Lipiridis <lipiridis@gmail.com>",
"licenses": [
{
"type": "MIT",
"url": "http://opensource.org/licenses/MIT"
}
],
"repository": {
"type": "git",
"url": "http://github.com/lipis/flag-icon-css"
"_from": "flag-icon-css@^3.4.5",
"_id": "flag-icon-css@3.5.0",
"_inBundle": false,
"_integrity": "sha512-pgJnJLrtb0tcDgU1fzGaQXmR8h++nXvILJ+r5SmOXaaL/2pocunQo2a8TAXhjQnBpRLPtZ1KCz/TYpqeNuE2ew==",
"_location": "/flag-icon-css",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "flag-icon-css@^3.4.5",
"name": "flag-icon-css",
"escapedName": "flag-icon-css",
"rawSpec": "^3.4.5",
"saveSpec": null,
"fetchSpec": "^3.4.5"
},
"_requiredBy": [
"/"
],
"_resolved": "https://registry.npmjs.org/flag-icon-css/-/flag-icon-css-3.5.0.tgz",
"_shasum": "430747d5cb91e60babf85494de99173c16dc7cf2",
"_spec": "flag-icon-css@^3.4.5",
"_where": "/mnt/d/WWW/magico.front",
"author": {
"name": "Panayiotis Lipiridis",
"email": "lipiridis@gmail.com"
},
"bugs": {
"url": "https://github.com/lipis/flag-icon-css/issues"
},
"bundleDependencies": false,
"deprecated": "The project has been renamed to flag-icons",
"description": "> A collection of all country flags in SVG — plus the CSS for easier integration. > See the [demo](https://flagicons.lipis.dev).",
"devDependencies": {
"grunt": "1.1.0",
"grunt-contrib-connect": "2.1.0",
@@ -23,23 +43,36 @@
"prettier": "2.0.5",
"svgo": "1.3.2"
},
"lint-staged": {
"*.{json,md,scss,less,yaml,yml}": [
"prettier --write"
]
},
"homepage": "https://github.com/lipis/flag-icon-css#readme",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"licenses": [
{
"type": "MIT",
"url": "http://opensource.org/licenses/MIT"
}
],
"lint-staged": {
"*.{json,md,scss,less,yaml,yml}": [
"prettier --write"
]
},
"name": "flag-icon-css",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/lipis/flag-icon-css.git"
},
"scripts": {
"build": "grunt build",
"svgo": "svgo --pretty --indent=2 --precision=1 --config=svgo.yaml",
"svgo:min": "find flags | grep '\\.svg$' | xargs -Iz -n 1 svgo --config=svgo.yaml z",
"svgo:all": "find flags | grep '\\.svg$' | xargs -Iz -n 1 yarn svgo z",
"fix": "yarn prettier --write",
"prettier": "prettier \"**/*.{json,md,scss,less,yaml,yml}\"",
"svgo": "svgo --pretty --indent=2 --precision=1 --config=svgo.yaml",
"svgo:all": "find flags | grep '\\.svg$' | xargs -Iz -n 1 yarn svgo z",
"svgo:min": "find flags | grep '\\.svg$' | xargs -Iz -n 1 svgo --config=svgo.yaml z",
"test": "yarn prettier --list-different"
}
},
"version": "3.5.0"
}
+65 -38
View File
@@ -1,44 +1,36 @@
{
"name": "fslightbox",
"version": "3.3.1",
"description": "Modern and easy plugin for displaying images and videos in clean overlaying box. Display single source or create beautiful gallery with powerful lightbox.",
"author": "Bantha Apps Piotr Zdziarski",
"license": "MIT",
"homepage": "https://fslightbox.com",
"_from": "fslightbox@^3.3.1",
"_id": "fslightbox@3.3.1",
"_inBundle": false,
"_integrity": "sha512-r8mS2lnqw+4F7fQmIXZ4Y+tulxqGsZyG7wzMhWKl8MHvVZRJnclUyt+n+hfTkUa+e1bvlzpw4tY/X9mwqC4wCg==",
"_location": "/fslightbox",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "fslightbox@^3.3.1",
"name": "fslightbox",
"escapedName": "fslightbox",
"rawSpec": "^3.3.1",
"saveSpec": null,
"fetchSpec": "^3.3.1"
},
"_requiredBy": [
"/"
],
"_resolved": "https://registry.npmjs.org/fslightbox/-/fslightbox-3.3.1.tgz",
"_shasum": "33754f901ad776eb85122e685712eff84d21f04d",
"_spec": "fslightbox@^3.3.1",
"_where": "/mnt/d/WWW/magico.front",
"author": {
"name": "Bantha Apps Piotr Zdziarski"
},
"bugs": {
"url": "https://github.com/banthagroup/fslightbox/issues"
},
"main": "index.js",
"keywords": [
"lightbox",
"slide gallery",
"image lightbox",
"slider",
"carousel"
],
"repository": {
"type": "git",
"url": "git+https://github.com/banthagroup/fslightbox"
},
"scripts": {
"test": "jest",
"production": "webpack --mode production --config webpack.prod.config.js --display-modules && gulp",
"watch": "webpack-dev-server --mode development --host 0.0.0.0",
"cypress": "concurrently --kill-others \"webpack-dev-server --config ./webpack.cypress.config.js --mode development\" \"node ./node_modules/.bin/cypress open\""
},
"jest": {
"setupFiles": [
"./jest-setup.js"
],
"verbose": true,
"testPathIgnorePatterns": [
"/node_modules/",
"/demo/",
"/dist/",
"/tests/cypress/"
],
"collectCoverage": false
},
"bundleDependencies": false,
"deprecated": false,
"description": "Modern and easy plugin for displaying images and videos in clean overlaying box. Display single source or create beautiful gallery with powerful lightbox.",
"devDependencies": {
"@babel/core": "^7.4.4",
"@babel/preset-env": "^7.4.4",
@@ -68,5 +60,40 @@
"webpack": "^4.30.0",
"webpack-cli": "^3.3.1",
"webpack-dev-server": "^3.3.1"
}
},
"homepage": "https://fslightbox.com",
"jest": {
"setupFiles": [
"./jest-setup.js"
],
"verbose": true,
"testPathIgnorePatterns": [
"/node_modules/",
"/demo/",
"/dist/",
"/tests/cypress/"
],
"collectCoverage": false
},
"keywords": [
"lightbox",
"slide gallery",
"image lightbox",
"slider",
"carousel"
],
"license": "MIT",
"main": "index.js",
"name": "fslightbox",
"repository": {
"type": "git",
"url": "git+https://github.com/banthagroup/fslightbox.git"
},
"scripts": {
"cypress": "concurrently --kill-others \"webpack-dev-server --config ./webpack.cypress.config.js --mode development\" \"node ./node_modules/.bin/cypress open\"",
"production": "webpack --mode production --config webpack.prod.config.js --display-modules && gulp",
"test": "jest",
"watch": "webpack-dev-server --mode development --host 0.0.0.0"
},
"version": "3.3.1"
}
+1159 -544
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,310 +0,0 @@
function _typeof(obj) {
"@babel/helpers - typeof";
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
_typeof = function (obj) {
return typeof obj;
};
} else {
_typeof = function (obj) {
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
};
}
return _typeof(obj);
}
function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot call a class as a function");
}
}
function _defineProperties(target, props) {
for (var i = 0; i < props.length; i++) {
var descriptor = props[i];
descriptor.enumerable = descriptor.enumerable || false;
descriptor.configurable = true;
if ("value" in descriptor) descriptor.writable = true;
Object.defineProperty(target, descriptor.key, descriptor);
}
}
function _createClass(Constructor, protoProps, staticProps) {
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
if (staticProps) _defineProperties(Constructor, staticProps);
return Constructor;
}
function _defineProperty(obj, key, value) {
if (key in obj) {
Object.defineProperty(obj, key, {
value: value,
enumerable: true,
configurable: true,
writable: true
});
} else {
obj[key] = value;
}
return obj;
}
function _inherits(subClass, superClass) {
if (typeof superClass !== "function" && superClass !== null) {
throw new TypeError("Super expression must either be null or a function");
}
subClass.prototype = Object.create(superClass && superClass.prototype, {
constructor: {
value: subClass,
writable: true,
configurable: true
}
});
if (superClass) _setPrototypeOf(subClass, superClass);
}
function _getPrototypeOf(o) {
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
return o.__proto__ || Object.getPrototypeOf(o);
};
return _getPrototypeOf(o);
}
function _setPrototypeOf(o, p) {
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
o.__proto__ = p;
return o;
};
return _setPrototypeOf(o, p);
}
function _isNativeReflectConstruct() {
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
if (Reflect.construct.sham) return false;
if (typeof Proxy === "function") return true;
try {
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
return true;
} catch (e) {
return false;
}
}
function _objectWithoutPropertiesLoose(source, excluded) {
if (source == null) return {};
var target = {};
var sourceKeys = Object.keys(source);
var key, i;
for (i = 0; i < sourceKeys.length; i++) {
key = sourceKeys[i];
if (excluded.indexOf(key) >= 0) continue;
target[key] = source[key];
}
return target;
}
function _objectWithoutProperties(source, excluded) {
if (source == null) return {};
var target = _objectWithoutPropertiesLoose(source, excluded);
var key, i;
if (Object.getOwnPropertySymbols) {
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
for (i = 0; i < sourceSymbolKeys.length; i++) {
key = sourceSymbolKeys[i];
if (excluded.indexOf(key) >= 0) continue;
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
target[key] = source[key];
}
}
return target;
}
function _assertThisInitialized(self) {
if (self === void 0) {
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
}
return self;
}
function _possibleConstructorReturn(self, call) {
if (call && (typeof call === "object" || typeof call === "function")) {
return call;
} else if (call !== void 0) {
throw new TypeError("Derived constructors may only return object or undefined");
}
return _assertThisInitialized(self);
}
function _createSuper(Derived) {
var hasNativeReflectConstruct = _isNativeReflectConstruct();
return function _createSuperInternal() {
var Super = _getPrototypeOf(Derived),
result;
if (hasNativeReflectConstruct) {
var NewTarget = _getPrototypeOf(this).constructor;
result = Reflect.construct(Super, arguments, NewTarget);
} else {
result = Super.apply(this, arguments);
}
return _possibleConstructorReturn(this, result);
};
}
function _superPropBase(object, property) {
while (!Object.prototype.hasOwnProperty.call(object, property)) {
object = _getPrototypeOf(object);
if (object === null) break;
}
return object;
}
function _get(target, property, receiver) {
if (typeof Reflect !== "undefined" && Reflect.get) {
_get = Reflect.get;
} else {
_get = function _get(target, property, receiver) {
var base = _superPropBase(target, property);
if (!base) return;
var desc = Object.getOwnPropertyDescriptor(base, property);
if (desc.get) {
return desc.get.call(receiver);
}
return desc.value;
};
}
return _get(target, property, receiver || target);
}
function set(target, property, value, receiver) {
if (typeof Reflect !== "undefined" && Reflect.set) {
set = Reflect.set;
} else {
set = function set(target, property, value, receiver) {
var base = _superPropBase(target, property);
var desc;
if (base) {
desc = Object.getOwnPropertyDescriptor(base, property);
if (desc.set) {
desc.set.call(receiver, value);
return true;
} else if (!desc.writable) {
return false;
}
}
desc = Object.getOwnPropertyDescriptor(receiver, property);
if (desc) {
if (!desc.writable) {
return false;
}
desc.value = value;
Object.defineProperty(receiver, property, desc);
} else {
_defineProperty(receiver, property, value);
}
return true;
};
}
return set(target, property, value, receiver);
}
function _set(target, property, value, receiver, isStrict) {
var s = set(target, property, value, receiver || target);
if (!s && isStrict) {
throw new Error('failed to set property');
}
return value;
}
function _slicedToArray(arr, i) {
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
}
function _arrayWithHoles(arr) {
if (Array.isArray(arr)) return arr;
}
function _iterableToArrayLimit(arr, i) {
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
if (_i == null) return;
var _arr = [];
var _n = true;
var _d = false;
var _s, _e;
try {
for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
_arr.push(_s.value);
if (i && _arr.length === i) break;
}
} catch (err) {
_d = true;
_e = err;
} finally {
try {
if (!_n && _i["return"] != null) _i["return"]();
} finally {
if (_d) throw _e;
}
}
return _arr;
}
function _unsupportedIterableToArray(o, minLen) {
if (!o) return;
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
var n = Object.prototype.toString.call(o).slice(8, -1);
if (n === "Object" && o.constructor) n = o.constructor.name;
if (n === "Map" || n === "Set") return Array.from(o);
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
}
function _arrayLikeToArray(arr, len) {
if (len == null || len > arr.length) len = arr.length;
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
return arr2;
}
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.");
}
export { _createClass as _, _classCallCheck as a, _objectWithoutProperties as b, _typeof as c, _inherits as d, _createSuper as e, _slicedToArray as f, _get as g, _getPrototypeOf as h, _set as i };
@@ -1,4 +1,4 @@
import { d as _inherits, e as _createSuper, a as _classCallCheck, _ as _createClass } from '../_rollupPluginBabelHelpers-a0b34764.js';
import { d as _inherits, e as _createSuper, a as _classCallCheck, _ as _createClass } from '../_rollupPluginBabelHelpers-b054ecd2.js';
import HTMLMaskElement from './html-mask-element.js';
import IMask from '../core/holder.js';
import './mask-element.js';
@@ -24,7 +24,14 @@ var HTMLContenteditableMaskElement = /*#__PURE__*/function (_HTMLMaskElement) {
function get() {
var root = this.rootElement;
var selection = root.getSelection && root.getSelection();
return selection && selection.anchorOffset;
var anchorOffset = selection && selection.anchorOffset;
var focusOffset = selection && selection.focusOffset;
if (focusOffset == null || anchorOffset == null || anchorOffset < focusOffset) {
return anchorOffset;
}
return focusOffset;
}
/**
Returns HTMLElement selection end
@@ -36,7 +43,14 @@ var HTMLContenteditableMaskElement = /*#__PURE__*/function (_HTMLMaskElement) {
get: function get() {
var root = this.rootElement;
var selection = root.getSelection && root.getSelection();
return selection && this._unsafeSelectionStart + String(selection).length;
var anchorOffset = selection && selection.anchorOffset;
var focusOffset = selection && selection.focusOffset;
if (focusOffset == null || anchorOffset == null || anchorOffset > focusOffset) {
return anchorOffset;
}
return focusOffset;
}
/**
Sets HTMLElement selection
+4 -2
View File
@@ -1,4 +1,4 @@
import { d as _inherits, e as _createSuper, a as _classCallCheck, _ as _createClass } from '../_rollupPluginBabelHelpers-a0b34764.js';
import { d as _inherits, e as _createSuper, a as _classCallCheck, _ as _createClass } from '../_rollupPluginBabelHelpers-b054ecd2.js';
import MaskElement from './mask-element.js';
import IMask from '../core/holder.js';
@@ -33,7 +33,9 @@ var HTMLMaskElement = /*#__PURE__*/function (_MaskElement) {
_createClass(HTMLMaskElement, [{
key: "rootElement",
get: function get() {
return this.input.getRootNode ? this.input.getRootNode() : document;
var _this$input$getRootNo, _this$input$getRootNo2, _this$input;
return (_this$input$getRootNo = (_this$input$getRootNo2 = (_this$input = this.input).getRootNode) === null || _this$input$getRootNo2 === void 0 ? void 0 : _this$input$getRootNo2.call(_this$input)) !== null && _this$input$getRootNo !== void 0 ? _this$input$getRootNo : document;
}
/**
Is element in focus
+13 -7
View File
@@ -1,19 +1,20 @@
import { _ as _createClass, a as _classCallCheck, b as _objectWithoutProperties } from '../_rollupPluginBabelHelpers-a0b34764.js';
import { _ as _createClass, a as _classCallCheck, b as _objectWithoutProperties } from '../_rollupPluginBabelHelpers-b054ecd2.js';
import { objectIncludes, DIRECTION } from '../core/utils.js';
import ActionDetails from '../core/action-details.js';
import MaskedDate from '../masked/date.js';
import '../masked/date.js';
import createMask, { maskedClass } from '../masked/factory.js';
import MaskElement from './mask-element.js';
import HTMLMaskElement from './html-mask-element.js';
import HTMLContenteditableMaskElement from './html-contenteditable-mask-element.js';
import IMask from '../core/holder.js';
import '../masked/pattern.js';
import '../core/change-details.js';
import '../masked/pattern.js';
import '../masked/base.js';
import '../core/continuous-tail-details.js';
import '../masked/pattern/input-definition.js';
import '../masked/pattern/fixed-definition.js';
import '../masked/pattern/chunk-tail-details.js';
import '../masked/pattern/cursor.js';
import '../masked/regexp.js';
import '../masked/range.js';
@@ -68,7 +69,7 @@ var InputMask = /*#__PURE__*/function () {
return this.masked.mask;
},
set: function set(mask) {
if (this.maskEquals(mask)) return;
if (this.maskEquals(mask)) return; // $FlowFixMe No ideas ... after update
if (!(mask instanceof IMask.Masked) && this.masked.constructor === maskedClass(mask)) {
this.masked.updateOptions({
@@ -88,7 +89,9 @@ var InputMask = /*#__PURE__*/function () {
}, {
key: "maskEquals",
value: function maskEquals(mask) {
return mask == null || mask === this.masked.mask || mask === Date && this.masked instanceof MaskedDate;
var _this$masked;
return mask == null || ((_this$masked = this.masked) === null || _this$masked === void 0 ? void 0 : _this$masked.maskEquals(mask));
}
}, {
key: "value",
@@ -199,7 +202,9 @@ var InputMask = /*#__PURE__*/function () {
}, {
key: "_saveSelection",
value: function _saveSelection() {
value: function
/* ev */
_saveSelection() {
if (this.value !== this.el.value) {
console.warn('Element value was changed outside of mask. Syncronize mask using `mask.updateValue()` to work properly.'); // eslint-disable-line no-console
}
@@ -305,7 +310,7 @@ var InputMask = /*#__PURE__*/function () {
}, {
key: "alignCursor",
value: function alignCursor() {
this.cursorPos = this.masked.nearestInputPos(this.cursorPos, DIRECTION.LEFT);
this.cursorPos = this.masked.nearestInputPos(this.masked.nearestInputPos(this.cursorPos, DIRECTION.LEFT));
}
/** Aligns cursor only if selection is empty */
@@ -364,6 +369,7 @@ var InputMask = /*#__PURE__*/function () {
var removeDirection = oldRawValue === this.masked.rawInputValue ? details.removeDirection : DIRECTION.NONE;
var cursorPos = this.masked.nearestInputPos(details.startChangePos + offset, removeDirection);
if (removeDirection !== DIRECTION.NONE) cursorPos = this.masked.nearestInputPos(cursorPos, DIRECTION.NONE);
this.updateControl();
this.updateCursor(cursorPos);
delete this._inputEvent;
+1 -1
View File
@@ -1,4 +1,4 @@
import { _ as _createClass, a as _classCallCheck } from '../_rollupPluginBabelHelpers-a0b34764.js';
import { _ as _createClass, a as _classCallCheck } from '../_rollupPluginBabelHelpers-b054ecd2.js';
import IMask from '../core/holder.js';
/**
+5 -3
View File
@@ -1,5 +1,6 @@
import { _ as _createClass, a as _classCallCheck } from '../_rollupPluginBabelHelpers-a0b34764.js';
import { _ as _createClass, a as _classCallCheck } from '../_rollupPluginBabelHelpers-b054ecd2.js';
import { DIRECTION } from './utils.js';
import './change-details.js';
/** Provides details of changing input */
@@ -104,9 +105,10 @@ var ActionDetails = /*#__PURE__*/function () {
}, {
key: "removeDirection",
get: function get() {
if (!this.removedCount || this.insertedCount) return DIRECTION.NONE; // align right if delete at right or if range removed (event with backspace)
if (!this.removedCount || this.insertedCount) return DIRECTION.NONE; // align right if delete at right
return this.oldSelection.end === this.cursorPos || this.oldSelection.start === this.cursorPos ? DIRECTION.RIGHT : DIRECTION.LEFT;
return (this.oldSelection.end === this.cursorPos || this.oldSelection.start === this.cursorPos) && // if not range removed (event with backspace)
this.oldSelection.end === this.oldSelection.start ? DIRECTION.RIGHT : DIRECTION.LEFT;
}
}]);
+1 -1
View File
@@ -1,4 +1,4 @@
import { _ as _createClass, a as _classCallCheck } from '../_rollupPluginBabelHelpers-a0b34764.js';
import { _ as _createClass, a as _classCallCheck } from '../_rollupPluginBabelHelpers-b054ecd2.js';
/**
Provides details of changing model value
@@ -1,4 +1,4 @@
import { _ as _createClass, a as _classCallCheck } from '../_rollupPluginBabelHelpers-a0b34764.js';
import { _ as _createClass, a as _classCallCheck } from '../_rollupPluginBabelHelpers-b054ecd2.js';
/** Provides details of continuous extracted tail */
var ContinuousTailDetails = /*#__PURE__*/function () {
@@ -49,13 +49,21 @@ var ContinuousTailDetails = /*#__PURE__*/function () {
Object.assign(this, state);
}
}, {
key: "shiftBefore",
value: function shiftBefore(pos) {
if (this.from >= pos || !this.value.length) return '';
key: "unshift",
value: function unshift(beforePos) {
if (!this.value.length || beforePos != null && this.from >= beforePos) return '';
var shiftChar = this.value[0];
this.value = this.value.slice(1);
return shiftChar;
}
}, {
key: "shift",
value: function shift() {
if (!this.value.length) return '';
var shiftChar = this.value[this.value.length - 1];
this.value = this.value.slice(0, -1);
return shiftChar;
}
}]);
return ContinuousTailDetails;
+8 -2
View File
@@ -1,6 +1,8 @@
import { c as _typeof } from '../_rollupPluginBabelHelpers-a0b34764.js';
import { c as _typeof } from '../_rollupPluginBabelHelpers-b054ecd2.js';
import ChangeDetails from './change-details.js';
/** Checks if value is string */
function isString(str) {
return typeof str === 'string' || str instanceof String;
}
@@ -64,6 +66,9 @@ function forceDirection(direction) {
function escapeRegExp(str) {
return str.replace(/([.*+?^=!:${}()|[\]\/\\])/g, '\\$1');
}
function normalizePrepare(prep) {
return Array.isArray(prep) ? prep : [prep, new ChangeDetails()];
} // cloned from https://github.com/epoberezkin/fast-deep-equal with small changes
function objectIncludes(b, a) {
@@ -96,6 +101,7 @@ function objectIncludes(b, a) {
var keys = Object.keys(a); // if (keys.length !== Object.keys(b).length) return false;
for (i = 0; i < keys.length; i++) {
// $FlowFixMe ... ???
if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
}
@@ -112,4 +118,4 @@ function objectIncludes(b, a) {
}
/** Selection range */
export { DIRECTION, escapeRegExp, forceDirection, indexInDirection, isString, objectIncludes, posInDirection };
export { DIRECTION, escapeRegExp, forceDirection, indexInDirection, isString, normalizePrepare, objectIncludes, posInDirection };
+8 -7
View File
@@ -78,7 +78,7 @@ declare namespace IMask {
} & Partial<
Pick<
Masked<MaskType>,
'parent' | 'prepare' | 'validate' | 'commit' | 'overwrite'
'parent' | 'prepare' | 'validate' | 'commit' | 'overwrite' | 'eager'
>
>;
type MaskedTypedValue<MaskType> = MaskType extends (typeof Number)
@@ -99,14 +99,15 @@ declare namespace IMask {
value: string,
masked: Masked<MaskType>,
flags: AppendFlags,
) => string;
) => string | [string, ChangeDetails];
validate: (
value: string,
masked: Masked<MaskType>,
flags: AppendFlags,
) => boolean;
commit: (value: string, masked: Masked<MaskType>) => void;
overwrite?: boolean;
overwrite?: boolean | 'shift';
eager?: boolean;
isInitialized: boolean;
constructor(opts: BaseMaskedOptions<MaskType>);
@@ -122,7 +123,7 @@ declare namespace IMask {
tail?: string | TailDetails
): ChangeDetails;
remove(fromPos?: number, toPos?: number): ChangeDetails;
doPrepare(str: string, flags: AppendFlags): string;
doPrepare(str: string, flags: AppendFlags): string | [string, ChangeDetails];
doValidate(flags: AppendFlags): boolean;
doCommit(): boolean;
splice(
@@ -269,7 +270,7 @@ declare namespace IMask {
readonly maxLength: number;
readonly from: number;
readonly to: number;
readonly autofix?: boolean;
readonly autofix?: boolean | 'pad';
constructor(opts: MaskedRangeOptions);
updateOptions(opts: Partial<MaskedRangeOptions>): void;
@@ -351,7 +352,7 @@ declare namespace IMask {
readonly pattern: string;
readonly min?: Date;
readonly max?: Date;
readonly autofix?: boolean;
readonly autofix?: boolean | 'pad';
date: Date;
constructor(opts: MaskedDateOptions);
@@ -375,7 +376,7 @@ declare namespace IMask {
readonly compiledMasks: Array<AnyMasked>;
dispatch: (
value: string,
masked: AnyMasked,
masked: MaskedDynamic,
flags: AppendFlags
) => AnyMasked;
+3 -2
View File
@@ -1,18 +1,19 @@
import './controls/input.js';
import IMask from './core/holder.js';
export { default } from './core/holder.js';
import './_rollupPluginBabelHelpers-a0b34764.js';
import './_rollupPluginBabelHelpers-b054ecd2.js';
import './core/utils.js';
import './core/change-details.js';
import './core/action-details.js';
import './masked/date.js';
import './masked/pattern.js';
import './core/change-details.js';
import './masked/base.js';
import './core/continuous-tail-details.js';
import './masked/pattern/input-definition.js';
import './masked/factory.js';
import './masked/pattern/fixed-definition.js';
import './masked/pattern/chunk-tail-details.js';
import './masked/pattern/cursor.js';
import './masked/regexp.js';
import './masked/range.js';
import './controls/mask-element.js';
+3 -2
View File
@@ -15,14 +15,15 @@ export { default as MaskElement } from './controls/mask-element.js';
export { default as HTMLMaskElement } from './controls/html-mask-element.js';
export { default as HTMLContenteditableMaskElement } from './controls/html-contenteditable-mask-element.js';
export { PIPE_TYPE, createPipe, pipe } from './masked/pipe.js';
import './_rollupPluginBabelHelpers-a0b34764.js';
import './_rollupPluginBabelHelpers-b054ecd2.js';
import './core/utils.js';
import './core/action-details.js';
import './core/change-details.js';
import './core/action-details.js';
import './core/continuous-tail-details.js';
import './masked/pattern/input-definition.js';
import './masked/pattern/fixed-definition.js';
import './masked/pattern/chunk-tail-details.js';
import './masked/pattern/cursor.js';
try {
globalThis.IMask = IMask;
+77 -11
View File
@@ -1,7 +1,7 @@
import { _ as _createClass, a as _classCallCheck } from '../_rollupPluginBabelHelpers-a0b34764.js';
import { _ as _createClass, a as _classCallCheck, f as _slicedToArray } from '../_rollupPluginBabelHelpers-b054ecd2.js';
import ChangeDetails from '../core/change-details.js';
import ContinuousTailDetails from '../core/continuous-tail-details.js';
import { isString } from '../core/utils.js';
import { isString, normalizePrepare, forceDirection, DIRECTION } from '../core/utils.js';
import IMask from '../core/holder.js';
/** Supported mask type */
@@ -27,6 +27,8 @@ var Masked = /*#__PURE__*/function () {
/** Enable characters overwriting */
/** */
/** */
function Masked(opts) {
_classCallCheck(this, Masked);
@@ -43,7 +45,8 @@ var Masked = /*#__PURE__*/function () {
_createClass(Masked, [{
key: "updateOptions",
value: function updateOptions(opts) {
if (!Object.keys(opts).length) return;
if (!Object.keys(opts).length) return; // $FlowFixMe
this.withValueRefresh(this._update.bind(this, opts));
}
/**
@@ -142,6 +145,13 @@ var Masked = /*#__PURE__*/function () {
get: function get() {
return true;
}
/** */
}, {
key: "isFilled",
get: function get() {
return this.isComplete;
}
/** Finds nearest input position in direction */
}, {
@@ -196,8 +206,15 @@ var Masked = /*#__PURE__*/function () {
var flags = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
var checkTail = arguments.length > 2 ? arguments[2] : undefined;
var consistentState = this.state;
var details;
var details = this._appendCharRaw(this.doPrepare(ch, flags), flags);
var _normalizePrepare = normalizePrepare(this.doPrepare(ch, flags));
var _normalizePrepare2 = _slicedToArray(_normalizePrepare, 2);
ch = _normalizePrepare2[0];
details = _normalizePrepare2[1];
details = details.aggregate(this._appendCharRaw(ch, flags));
if (details.inserted) {
var consistentTail;
@@ -207,13 +224,22 @@ var Masked = /*#__PURE__*/function () {
// validation ok, check tail
var beforeTailState = this.state;
if (this.overwrite) {
if (this.overwrite === true) {
consistentTail = checkTail.state;
checkTail.shiftBefore(this.value.length);
checkTail.unshift(this.value.length);
}
var tailDetails = this.appendTail(checkTail);
appended = tailDetails.rawInserted === checkTail.toString(); // if ok, rollback state after tail
appended = tailDetails.rawInserted === checkTail.toString(); // not ok, try shift
if (!(appended && tailDetails.inserted) && this.overwrite === 'shift') {
this.state = beforeTailState;
consistentTail = checkTail.state;
checkTail.shift();
tailDetails = this.appendTail(checkTail);
appended = tailDetails.rawInserted === checkTail.toString();
} // if ok, rollback state after tail
if (appended && tailDetails.inserted) this.state = beforeTailState;
} // revert all if something went wrong
@@ -235,6 +261,13 @@ var Masked = /*#__PURE__*/function () {
value: function _appendPlaceholder() {
return new ChangeDetails();
}
/** Appends optional eager placeholder at end */
}, {
key: "_appendEager",
value: function _appendEager() {
return new ChangeDetails();
}
/** Appends symbols considering flags */
// $FlowFixMe no ideas
@@ -257,6 +290,10 @@ var Masked = /*#__PURE__*/function () {
// this._resetBeforeTailState();
}
if (this.eager && flags !== null && flags !== void 0 && flags.input && str) {
details.aggregate(this._appendEager());
}
return details;
}
/** */
@@ -353,14 +390,43 @@ var Masked = /*#__PURE__*/function () {
value: function splice(start, deleteCount, inserted, removeDirection) {
var tailPos = start + deleteCount;
var tail = this.extractTail(tailPos);
var startChangePos = this.nearestInputPos(start, removeDirection);
var changeDetails = new ChangeDetails({
var oldRawValue;
if (this.eager) {
removeDirection = forceDirection(removeDirection);
oldRawValue = this.extractInput(0, tailPos, {
raw: true
});
}
var startChangePos = this.nearestInputPos(start, deleteCount > 1 && start !== 0 && !this.eager ? DIRECTION.NONE : removeDirection);
var details = new ChangeDetails({
tailShift: startChangePos - start // adjust tailShift if start was aligned
}).aggregate(this.remove(startChangePos)).aggregate(this.append(inserted, {
}).aggregate(this.remove(startChangePos));
if (this.eager && removeDirection !== DIRECTION.NONE && oldRawValue === this.rawInputValue) {
if (removeDirection === DIRECTION.FORCE_LEFT) {
var valLength;
while (oldRawValue === this.rawInputValue && (valLength = this.value.length)) {
details.aggregate(new ChangeDetails({
tailShift: -1
})).aggregate(this.remove(valLength - 1));
}
} else if (removeDirection === DIRECTION.FORCE_RIGHT) {
tail.unshift();
}
}
return details.aggregate(this.append(inserted, {
input: true
}, tail));
return changeDetails;
}
}, {
key: "maskEquals",
value: function maskEquals(mask) {
return this.mask === mask;
}
}]);
+14 -3
View File
@@ -1,4 +1,4 @@
import { d as _inherits, e as _createSuper, a as _classCallCheck, _ as _createClass, f as _slicedToArray, g as _get, h as _getPrototypeOf, i as _set } from '../_rollupPluginBabelHelpers-a0b34764.js';
import { d as _inherits, e as _createSuper, a as _classCallCheck, _ as _createClass, f as _slicedToArray, g as _get, h as _getPrototypeOf, i as _set } from '../_rollupPluginBabelHelpers-b054ecd2.js';
import MaskedPattern from './pattern.js';
import MaskedRange from './range.js';
import IMask from '../core/holder.js';
@@ -10,6 +10,7 @@ import './pattern/input-definition.js';
import './factory.js';
import './pattern/fixed-definition.js';
import './pattern/chunk-tail-details.js';
import './pattern/cursor.js';
import './regexp.js';
/** Date mask */
@@ -61,11 +62,11 @@ var MaskedDate = /*#__PURE__*/function (_MaskedPattern) {
}
}
Object.assign(opts.blocks, blocks); // add autofix
Object.assign(opts.blocks, this.blocks, blocks); // add autofix
Object.keys(opts.blocks).forEach(function (bk) {
var b = opts.blocks[bk];
if (!('autofix' in b)) b.autofix = opts.autofix;
if (!('autofix' in b) && 'autofix' in opts) b.autofix = opts.autofix;
});
_get(_getPrototypeOf(MaskedDate.prototype), "_update", this).call(this, opts);
@@ -116,6 +117,15 @@ var MaskedDate = /*#__PURE__*/function (_MaskedPattern) {
set: function set(value) {
_set(_getPrototypeOf(MaskedDate.prototype), "typedValue", value, this, true);
}
/**
@override
*/
}, {
key: "maskEquals",
value: function maskEquals(mask) {
return mask === Date || _get(_getPrototypeOf(MaskedDate.prototype), "maskEquals", this).call(this, mask);
}
}]);
return MaskedDate;
@@ -123,6 +133,7 @@ var MaskedDate = /*#__PURE__*/function (_MaskedPattern) {
MaskedDate.DEFAULTS = {
pattern: 'd{.}`m{.}`Y',
format: function format(date) {
if (!date) return '';
var day = String(date.getDate()).padStart(2, '0');
var month = String(date.getMonth() + 1).padStart(2, '0');
var year = date.getFullYear();
+62 -11
View File
@@ -1,4 +1,4 @@
import { d as _inherits, e as _createSuper, a as _classCallCheck, _ as _createClass, g as _get, h as _getPrototypeOf, i as _set, b as _objectWithoutProperties } from '../_rollupPluginBabelHelpers-a0b34764.js';
import { d as _inherits, e as _createSuper, a as _classCallCheck, _ as _createClass, g as _get, h as _getPrototypeOf, i as _set, b as _objectWithoutProperties } from '../_rollupPluginBabelHelpers-b054ecd2.js';
import ChangeDetails from '../core/change-details.js';
import createMask from './factory.js';
import Masked from './base.js';
@@ -122,6 +122,21 @@ var MaskedDynamic = /*#__PURE__*/function (_Masked) {
return details;
}
/**
@override
*/
}, {
key: "_appendEager",
value: function _appendEager() {
var details = this._applyDispatch.apply(this, arguments);
if (this.currentMask) {
details.aggregate(this.currentMask._appendEager());
}
return details;
}
/**
@override
*/
@@ -154,7 +169,9 @@ var MaskedDynamic = /*#__PURE__*/function (_Masked) {
}, {
key: "reset",
value: function reset() {
if (this.currentMask) this.currentMask.reset();
var _this$currentMask2;
(_this$currentMask2 = this.currentMask) === null || _this$currentMask2 === void 0 ? void 0 : _this$currentMask2.reset();
this.compiledMasks.forEach(function (m) {
return m.reset();
});
@@ -210,7 +227,20 @@ var MaskedDynamic = /*#__PURE__*/function (_Masked) {
}, {
key: "isComplete",
get: function get() {
return !!this.currentMask && this.currentMask.isComplete;
var _this$currentMask3;
return Boolean((_this$currentMask3 = this.currentMask) === null || _this$currentMask3 === void 0 ? void 0 : _this$currentMask3.isComplete);
}
/**
@override
*/
}, {
key: "isFilled",
get: function get() {
var _this$currentMask4;
return Boolean((_this$currentMask4 = this.currentMask) === null || _this$currentMask4 === void 0 ? void 0 : _this$currentMask4.isFilled);
}
/**
@override
@@ -222,9 +252,9 @@ var MaskedDynamic = /*#__PURE__*/function (_Masked) {
var details = new ChangeDetails();
if (this.currentMask) {
var _this$currentMask2;
var _this$currentMask5;
details.aggregate((_this$currentMask2 = this.currentMask).remove.apply(_this$currentMask2, arguments)) // update with dispatch
details.aggregate((_this$currentMask5 = this.currentMask).remove.apply(_this$currentMask5, arguments)) // update with dispatch
.aggregate(this._applyDispatch());
}
@@ -270,9 +300,9 @@ var MaskedDynamic = /*#__PURE__*/function (_Masked) {
}, {
key: "extractInput",
value: function extractInput() {
var _this$currentMask3;
var _this$currentMask6;
return this.currentMask ? (_this$currentMask3 = this.currentMask).extractInput.apply(_this$currentMask3, arguments) : '';
return this.currentMask ? (_this$currentMask6 = this.currentMask).extractInput.apply(_this$currentMask6, arguments) : '';
}
/**
@override
@@ -281,13 +311,13 @@ var MaskedDynamic = /*#__PURE__*/function (_Masked) {
}, {
key: "extractTail",
value: function extractTail() {
var _this$currentMask4, _get3;
var _this$currentMask7, _get3;
for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
args[_key2] = arguments[_key2];
}
return this.currentMask ? (_this$currentMask4 = this.currentMask).extractTail.apply(_this$currentMask4, args) : (_get3 = _get(_getPrototypeOf(MaskedDynamic.prototype), "extractTail", this)).call.apply(_get3, [this].concat(args));
return this.currentMask ? (_this$currentMask7 = this.currentMask).extractTail.apply(_this$currentMask7, args) : (_get3 = _get(_getPrototypeOf(MaskedDynamic.prototype), "extractTail", this)).call.apply(_get3, [this].concat(args));
}
/**
@override
@@ -307,13 +337,13 @@ var MaskedDynamic = /*#__PURE__*/function (_Masked) {
}, {
key: "nearestInputPos",
value: function nearestInputPos() {
var _this$currentMask5, _get4;
var _this$currentMask8, _get4;
for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
args[_key3] = arguments[_key3];
}
return this.currentMask ? (_this$currentMask5 = this.currentMask).nearestInputPos.apply(_this$currentMask5, args) : (_get4 = _get(_getPrototypeOf(MaskedDynamic.prototype), "nearestInputPos", this)).call.apply(_get4, [this].concat(args));
return this.currentMask ? (_this$currentMask8 = this.currentMask).nearestInputPos.apply(_this$currentMask8, args) : (_get4 = _get(_getPrototypeOf(MaskedDynamic.prototype), "nearestInputPos", this)).call.apply(_get4, [this].concat(args));
}
}, {
key: "overwrite",
@@ -323,6 +353,27 @@ var MaskedDynamic = /*#__PURE__*/function (_Masked) {
set: function set(overwrite) {
console.warn('"overwrite" option is not available in dynamic mask, use this option in siblings');
}
}, {
key: "eager",
get: function get() {
return this.currentMask ? this.currentMask.eager : _get(_getPrototypeOf(MaskedDynamic.prototype), "eager", this);
},
set: function set(eager) {
console.warn('"eager" option is not available in dynamic mask, use this option in siblings');
}
/**
@override
*/
}, {
key: "maskEquals",
value: function maskEquals(mask) {
return Array.isArray(mask) && this.compiledMasks.every(function (m, mi) {
var _mask$mi;
return m.maskEquals((_mask$mi = mask[mi]) === null || _mask$mi === void 0 ? void 0 : _mask$mi.mask);
});
}
}]);
return MaskedDynamic;
+2 -1
View File
@@ -1,4 +1,4 @@
import { d as _inherits, e as _createSuper, a as _classCallCheck, _ as _createClass, g as _get, h as _getPrototypeOf } from '../_rollupPluginBabelHelpers-a0b34764.js';
import { d as _inherits, e as _createSuper, a as _classCallCheck, _ as _createClass, g as _get, h as _getPrototypeOf } from '../_rollupPluginBabelHelpers-b054ecd2.js';
import MaskedPattern from './pattern.js';
import IMask from '../core/holder.js';
import '../core/utils.js';
@@ -9,6 +9,7 @@ import './pattern/input-definition.js';
import './factory.js';
import './pattern/fixed-definition.js';
import './pattern/chunk-tail-details.js';
import './pattern/cursor.js';
import './regexp.js';
/** Pattern which validates enum values */
+4 -3
View File
@@ -1,6 +1,7 @@
import { isString } from '../core/utils.js';
import IMask from '../core/holder.js';
import '../_rollupPluginBabelHelpers-a0b34764.js';
import '../_rollupPluginBabelHelpers-b054ecd2.js';
import '../core/change-details.js';
/** Get Masked class by mask type */
@@ -22,9 +23,9 @@ function maskedClass(mask) {
if (IMask.Masked && mask.prototype instanceof IMask.Masked) return mask; // $FlowFixMe
if (mask instanceof Function) return IMask.MaskedFunction; // $FlowFixMe
if (mask instanceof IMask.Masked) return mask.constructor; // $FlowFixMe
if (mask instanceof IMask.Masked) return mask.constructor;
if (mask instanceof Function) return IMask.MaskedFunction;
console.warn('Mask not found for mask', mask); // eslint-disable-line no-console
// $FlowFixMe
+1 -1
View File
@@ -1,4 +1,4 @@
import { d as _inherits, e as _createSuper, a as _classCallCheck, _ as _createClass, g as _get, h as _getPrototypeOf } from '../_rollupPluginBabelHelpers-a0b34764.js';
import { d as _inherits, e as _createSuper, a as _classCallCheck, _ as _createClass, g as _get, h as _getPrototypeOf } from '../_rollupPluginBabelHelpers-b054ecd2.js';
import Masked from './base.js';
import IMask from '../core/holder.js';
import '../core/change-details.js';
+18 -6
View File
@@ -1,5 +1,5 @@
import { d as _inherits, e as _createSuper, a as _classCallCheck, _ as _createClass, g as _get, h as _getPrototypeOf, f as _slicedToArray, i as _set } from '../_rollupPluginBabelHelpers-a0b34764.js';
import { escapeRegExp, DIRECTION } from '../core/utils.js';
import { d as _inherits, e as _createSuper, a as _classCallCheck, _ as _createClass, g as _get, h as _getPrototypeOf, f as _slicedToArray, i as _set } from '../_rollupPluginBabelHelpers-b054ecd2.js';
import { escapeRegExp, normalizePrepare, DIRECTION } from '../core/utils.js';
import ChangeDetails from '../core/change-details.js';
import Masked from './base.js';
import IMask from '../core/holder.js';
@@ -95,14 +95,24 @@ var MaskedNumber = /*#__PURE__*/function (_Masked) {
}, {
key: "doPrepare",
value: function doPrepare(str) {
value: function doPrepare(ch) {
var _get2;
ch = ch.replace(this._mapToRadixRegExp, this.radix);
var noSepCh = this._removeThousandsSeparators(ch);
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
args[_key - 1] = arguments[_key];
}
return (_get2 = _get(_getPrototypeOf(MaskedNumber.prototype), "doPrepare", this)).call.apply(_get2, [this, this._removeThousandsSeparators(str.replace(this._mapToRadixRegExp, this.radix))].concat(args));
var _normalizePrepare = normalizePrepare((_get2 = _get(_getPrototypeOf(MaskedNumber.prototype), "doPrepare", this)).call.apply(_get2, [this, noSepCh].concat(args))),
_normalizePrepare2 = _slicedToArray(_normalizePrepare, 2),
prepCh = _normalizePrepare2[0],
details = _normalizePrepare2[1];
if (ch && !noSepCh) details.skip = true;
return [prepCh, details];
}
/** */
@@ -282,7 +292,9 @@ var MaskedNumber = /*#__PURE__*/function (_Masked) {
if (valid) {
// validate as number
var number = this.number;
valid = valid && !isNaN(number) && (this.min == null || this.min >= 0 || this.min <= this.number) && (this.max == null || this.max <= 0 || this.number <= this.max);
valid = valid && !isNaN(number) && ( // check min bound for negative values
this.min == null || this.min >= 0 || this.min <= this.number) && ( // check max bound for positive values
this.max == null || this.max <= 0 || this.number <= this.max);
}
return valid && _get(_getPrototypeOf(MaskedNumber.prototype), "doValidate", this).call(this, flags);
@@ -303,7 +315,7 @@ var MaskedNumber = /*#__PURE__*/function (_Masked) {
if (validnum !== number) this.unmaskedValue = String(validnum);
var formatted = this.value;
if (this.normalizeZeros) formatted = this._normalizeZeros(formatted);
if (this.padFractionalZeros) formatted = this._padFractionalZeros(formatted);
if (this.padFractionalZeros && this.scale > 0) formatted = this._padFractionalZeros(formatted);
this._value = formatted;
}
+109 -211
View File
@@ -1,10 +1,11 @@
import { d as _inherits, e as _createSuper, a as _classCallCheck, _ as _createClass, g as _get, h as _getPrototypeOf, b as _objectWithoutProperties, i as _set } from '../_rollupPluginBabelHelpers-a0b34764.js';
import { DIRECTION, forceDirection } from '../core/utils.js';
import { d as _inherits, e as _createSuper, a as _classCallCheck, _ as _createClass, g as _get, h as _getPrototypeOf, b as _objectWithoutProperties, i as _set } from '../_rollupPluginBabelHelpers-b054ecd2.js';
import { DIRECTION } from '../core/utils.js';
import ChangeDetails from '../core/change-details.js';
import Masked from './base.js';
import PatternInputDefinition, { DEFAULT_INPUT_DEFINITIONS } from './pattern/input-definition.js';
import PatternFixedDefinition from './pattern/fixed-definition.js';
import ChunksTailDetails from './pattern/chunk-tail-details.js';
import PatternCursor from './pattern/cursor.js';
import createMask from './factory.js';
import IMask from '../core/holder.js';
import './regexp.js';
@@ -92,6 +93,7 @@ var MaskedPattern = /*#__PURE__*/function (_Masked) {
var maskedBlock = createMask(Object.assign({
parent: _this,
lazy: _this.lazy,
eager: _this.eager,
placeholderChar: _this.placeholderChar,
overwrite: _this.overwrite
}, _this.blocks[bName]));
@@ -114,8 +116,7 @@ var MaskedPattern = /*#__PURE__*/function (_Masked) {
}
var char = pattern[i];
var _isInput = (char in defs);
var isInput = (char in defs);
if (char === MaskedPattern.STOP_CHAR) {
this._stops.push(this._blocks.length);
@@ -137,17 +138,19 @@ var MaskedPattern = /*#__PURE__*/function (_Masked) {
++i;
char = pattern[i];
if (!char) break;
_isInput = false;
isInput = false;
}
var def = _isInput ? new PatternInputDefinition({
var def = isInput ? new PatternInputDefinition({
parent: this,
lazy: this.lazy,
eager: this.eager,
placeholderChar: this.placeholderChar,
mask: defs[char],
isOptional: optionalBlock
}) : new PatternFixedDefinition({
char: char,
eager: this.eager,
isUnmasking: unmaskingBlock
});
@@ -205,6 +208,31 @@ var MaskedPattern = /*#__PURE__*/function (_Masked) {
@override
*/
}, {
key: "isFilled",
get: function get() {
return this._blocks.every(function (b) {
return b.isFilled;
});
}
}, {
key: "isFixed",
get: function get() {
return this._blocks.every(function (b) {
return b.isFixed;
});
}
}, {
key: "isOptional",
get: function get() {
return this._blocks.every(function (b) {
return b.isOptional;
});
}
/**
@override
*/
}, {
key: "doCommit",
value: function doCommit() {
@@ -256,6 +284,30 @@ var MaskedPattern = /*#__PURE__*/function (_Masked) {
@override
*/
}, {
key: "_appendEager",
value: function _appendEager() {
var _this$_mapPosToBlock;
var details = new ChangeDetails();
var startBlockIndex = (_this$_mapPosToBlock = this._mapPosToBlock(this.value.length)) === null || _this$_mapPosToBlock === void 0 ? void 0 : _this$_mapPosToBlock.index;
if (startBlockIndex == null) return details; // TODO test if it works for nested pattern masks
if (this._blocks[startBlockIndex].isFilled) ++startBlockIndex;
for (var bi = startBlockIndex; bi < this._blocks.length; ++bi) {
var d = this._blocks[bi]._appendEager();
if (!d.inserted) break;
details.aggregate(d);
}
return details;
}
/**
@override
*/
}, {
key: "_appendCharRaw",
value: function _appendCharRaw(ch) {
@@ -267,10 +319,14 @@ var MaskedPattern = /*#__PURE__*/function (_Masked) {
if (!blockIter) return details;
for (var bi = blockIter.index;; ++bi) {
var _flags$_beforeTailSta;
var _block = this._blocks[bi];
if (!_block) break;
var blockDetails = _block._appendChar(ch, flags);
var blockDetails = _block._appendChar(ch, Object.assign({}, flags, {
_beforeTailState: (_flags$_beforeTailSta = flags._beforeTailState) === null || _flags$_beforeTailSta === void 0 ? void 0 : _flags$_beforeTailSta._blocks[bi]
}));
var skip = blockDetails.skip;
details.aggregate(blockDetails);
@@ -449,220 +505,69 @@ var MaskedPattern = /*#__PURE__*/function (_Masked) {
key: "nearestInputPos",
value: function nearestInputPos(cursorPos) {
var direction = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : DIRECTION.NONE;
// TODO refactor - extract alignblock
var beginBlockData = this._mapPosToBlock(cursorPos) || {
index: 0,
offset: 0
};
var beginBlockOffset = beginBlockData.offset,
beginBlockIndex = beginBlockData.index;
var beginBlock = this._blocks[beginBlockIndex];
if (!beginBlock) return cursorPos;
var beginBlockCursorPos = beginBlockOffset; // if position inside block - try to adjust it
if (beginBlockCursorPos !== 0 && beginBlockCursorPos < beginBlock.value.length) {
beginBlockCursorPos = beginBlock.nearestInputPos(beginBlockOffset, forceDirection(direction));
}
var cursorAtRight = beginBlockCursorPos === beginBlock.value.length;
var cursorAtLeft = beginBlockCursorPos === 0; // cursor is INSIDE first block (not at bounds)
if (!cursorAtLeft && !cursorAtRight) return this._blockStartPos(beginBlockIndex) + beginBlockCursorPos;
var searchBlockIndex = cursorAtRight ? beginBlockIndex + 1 : beginBlockIndex;
if (!this._blocks.length) return 0;
var cursor = new PatternCursor(this, cursorPos);
if (direction === DIRECTION.NONE) {
// NONE direction used to calculate start input position if no chars were removed
// FOR NONE:
// -
// input|any
// ->
// any|input
// <-
// filled-input|any
// check if first block at left is input
if (searchBlockIndex > 0) {
var blockIndexAtLeft = searchBlockIndex - 1;
var blockAtLeft = this._blocks[blockIndexAtLeft];
var blockInputPos = blockAtLeft.nearestInputPos(0, DIRECTION.NONE); // is input
// -------------------------------------------------
// NONE should only go out from fixed to the right!
// -------------------------------------------------
if (cursor.pushRightBeforeInput()) return cursor.pos;
cursor.popState();
if (cursor.pushLeftBeforeInput()) return cursor.pos;
return this.value.length;
} // FORCE is only about a|* otherwise is 0
if (!blockAtLeft.value.length || blockInputPos !== blockAtLeft.value.length) {
return this._blockStartPos(searchBlockIndex);
}
} // ->
var firstInputAtRight = searchBlockIndex;
for (var bi = firstInputAtRight; bi < this._blocks.length; ++bi) {
var blockAtRight = this._blocks[bi];
var _blockInputPos = blockAtRight.nearestInputPos(0, DIRECTION.NONE);
if (!blockAtRight.value.length || _blockInputPos !== blockAtRight.value.length) {
return this._blockStartPos(bi) + _blockInputPos;
}
} // <-
// find first non-fixed symbol
for (var _bi = searchBlockIndex - 1; _bi >= 0; --_bi) {
var _block3 = this._blocks[_bi];
var _blockInputPos2 = _block3.nearestInputPos(0, DIRECTION.NONE); // is input
if (!_block3.value.length || _blockInputPos2 !== _block3.value.length) {
return this._blockStartPos(_bi) + _block3.value.length;
}
}
return cursorPos;
}
if (direction === DIRECTION.LEFT || direction === DIRECTION.FORCE_LEFT) {
// -
// any|filled-input
// <-
// any|first not empty is not-len-aligned
// not-0-aligned|any
// ->
// any|not-len-aligned or end
// check if first block at right is filled input
var firstFilledBlockIndexAtRight;
for (var _bi2 = searchBlockIndex; _bi2 < this._blocks.length; ++_bi2) {
if (this._blocks[_bi2].value) {
firstFilledBlockIndexAtRight = _bi2;
break;
}
}
if (firstFilledBlockIndexAtRight != null) {
var filledBlock = this._blocks[firstFilledBlockIndexAtRight];
var _blockInputPos3 = filledBlock.nearestInputPos(0, DIRECTION.RIGHT);
if (_blockInputPos3 === 0 && filledBlock.unmaskedValue.length) {
// filled block is input
return this._blockStartPos(firstFilledBlockIndexAtRight) + _blockInputPos3;
}
} // <-
// find this vars
// try to break fast when *|a
if (direction === DIRECTION.LEFT) {
cursor.pushRightBeforeFilled();
if (cursor.ok && cursor.pos === cursorPos) return cursorPos;
cursor.popState();
} // forward flow
var firstFilledInputBlockIndex = -1;
var firstEmptyInputBlockIndex; // TODO consider nested empty inputs
for (var _bi3 = searchBlockIndex - 1; _bi3 >= 0; --_bi3) {
var _block4 = this._blocks[_bi3];
var _blockInputPos4 = _block4.nearestInputPos(_block4.value.length, DIRECTION.FORCE_LEFT);
if (!_block4.value || _blockInputPos4 !== 0) firstEmptyInputBlockIndex = _bi3;
if (_blockInputPos4 !== 0) {
if (_blockInputPos4 !== _block4.value.length) {
// aligned inside block - return immediately
return this._blockStartPos(_bi3) + _blockInputPos4;
} else {
// found filled
firstFilledInputBlockIndex = _bi3;
break;
}
}
}
cursor.pushLeftBeforeInput();
cursor.pushLeftBeforeRequired();
cursor.pushLeftBeforeFilled(); // backward flow
if (direction === DIRECTION.LEFT) {
// try find first empty input before start searching position only when not forced
for (var _bi4 = firstFilledInputBlockIndex + 1; _bi4 <= Math.min(searchBlockIndex, this._blocks.length - 1); ++_bi4) {
var _block5 = this._blocks[_bi4];
var _blockInputPos5 = _block5.nearestInputPos(0, DIRECTION.NONE);
var blockAlignedPos = this._blockStartPos(_bi4) + _blockInputPos5;
if (blockAlignedPos > cursorPos) break; // if block is not lazy input
if (_blockInputPos5 !== _block5.value.length) return blockAlignedPos;
}
} // process overflow
if (firstFilledInputBlockIndex >= 0) {
return this._blockStartPos(firstFilledInputBlockIndex) + this._blocks[firstFilledInputBlockIndex].value.length;
} // for lazy if has aligned left inside fixed and has came to the start - use start position
if (direction === DIRECTION.FORCE_LEFT || this.lazy && !this.extractInput() && !isInput(this._blocks[searchBlockIndex])) {
return 0;
cursor.pushRightBeforeInput();
cursor.pushRightBeforeRequired();
if (cursor.ok && cursor.pos <= cursorPos) return cursor.pos;
cursor.popState();
if (cursor.ok && cursor.pos <= cursorPos) return cursor.pos;
cursor.popState();
}
if (firstEmptyInputBlockIndex != null) {
return this._blockStartPos(firstEmptyInputBlockIndex);
} // find first input
for (var _bi5 = searchBlockIndex; _bi5 < this._blocks.length; ++_bi5) {
var _block6 = this._blocks[_bi5];
var _blockInputPos6 = _block6.nearestInputPos(0, DIRECTION.NONE); // is input
if (!_block6.value.length || _blockInputPos6 !== _block6.value.length) {
return this._blockStartPos(_bi5) + _blockInputPos6;
}
}
if (cursor.ok) return cursor.pos;
if (direction === DIRECTION.FORCE_LEFT) return 0;
cursor.popState();
if (cursor.ok) return cursor.pos;
cursor.popState();
if (cursor.ok) return cursor.pos; // cursor.popState();
// if (
// cursor.pushRightBeforeInput() &&
// // TODO HACK for lazy if has aligned left inside fixed and has came to the start - use start position
// (!this.lazy || this.extractInput())
// ) return cursor.pos;
return 0;
}
if (direction === DIRECTION.RIGHT || direction === DIRECTION.FORCE_RIGHT) {
// ->
// any|not-len-aligned and filled
// any|not-len-aligned
// <-
// not-0-aligned or start|any
var firstInputBlockAlignedIndex;
var firstInputBlockAlignedPos;
// forward flow
cursor.pushRightBeforeInput();
cursor.pushRightBeforeRequired();
if (cursor.pushRightBeforeFilled()) return cursor.pos;
if (direction === DIRECTION.FORCE_RIGHT) return this.value.length; // backward flow
for (var _bi6 = searchBlockIndex; _bi6 < this._blocks.length; ++_bi6) {
var _block7 = this._blocks[_bi6];
var _blockInputPos7 = _block7.nearestInputPos(0, DIRECTION.NONE);
if (_blockInputPos7 !== _block7.value.length) {
firstInputBlockAlignedPos = this._blockStartPos(_bi6) + _blockInputPos7;
firstInputBlockAlignedIndex = _bi6;
break;
}
}
if (firstInputBlockAlignedIndex != null && firstInputBlockAlignedPos != null) {
for (var _bi7 = firstInputBlockAlignedIndex; _bi7 < this._blocks.length; ++_bi7) {
var _block8 = this._blocks[_bi7];
var _blockInputPos8 = _block8.nearestInputPos(0, DIRECTION.FORCE_RIGHT);
if (_blockInputPos8 !== _block8.value.length) {
return this._blockStartPos(_bi7) + _blockInputPos8;
}
}
return direction === DIRECTION.FORCE_RIGHT ? this.value.length : firstInputBlockAlignedPos;
}
for (var _bi8 = Math.min(searchBlockIndex, this._blocks.length - 1); _bi8 >= 0; --_bi8) {
var _block9 = this._blocks[_bi8];
var _blockInputPos9 = _block9.nearestInputPos(_block9.value.length, DIRECTION.LEFT);
if (_blockInputPos9 !== 0) {
var alignedPos = this._blockStartPos(_bi8) + _blockInputPos9;
if (alignedPos >= cursorPos) return alignedPos;
break;
}
}
cursor.popState();
if (cursor.ok) return cursor.pos;
cursor.popState();
if (cursor.ok) return cursor.pos;
return this.nearestInputPos(cursorPos, DIRECTION.LEFT);
}
return cursorPos;
@@ -699,13 +604,6 @@ MaskedPattern.STOP_CHAR = '`';
MaskedPattern.ESCAPE_CHAR = '\\';
MaskedPattern.InputDefinition = PatternInputDefinition;
MaskedPattern.FixedDefinition = PatternFixedDefinition;
function isInput(block) {
if (!block) return false;
var value = block.value;
return !value || block.nearestInputPos(0, DIRECTION.NONE) !== value.length;
}
IMask.MaskedPattern = MaskedPattern;
export { MaskedPattern as default };
@@ -1,4 +1,4 @@
import { _ as _createClass, a as _classCallCheck, b as _objectWithoutProperties } from '../../_rollupPluginBabelHelpers-a0b34764.js';
import { _ as _createClass, a as _classCallCheck, b as _objectWithoutProperties } from '../../_rollupPluginBabelHelpers-b054ecd2.js';
import ChangeDetails from '../../core/change-details.js';
import { isString } from '../../core/utils.js';
import ContinuousTailDetails from '../../core/continuous-tail-details.js';
@@ -30,7 +30,8 @@ var ChunksTailDetails = /*#__PURE__*/function () {
if (!String(tailChunk)) return;
if (isString(tailChunk)) tailChunk = new ContinuousTailDetails(String(tailChunk));
var lastChunk = this.chunks[this.chunks.length - 1];
var extendLast = lastChunk && (lastChunk.stop === tailChunk.stop || tailChunk.stop == null) && // if tail chunk goes just after last chunk
var extendLast = lastChunk && ( // if stops are same or tail has no stop
lastChunk.stop === tailChunk.stop || tailChunk.stop == null) && // if tail chunk goes just after last chunk
tailChunk.from === lastChunk.from + lastChunk.toString().length;
if (tailChunk instanceof ContinuousTailDetails) {
@@ -81,7 +82,8 @@ var ChunksTailDetails = /*#__PURE__*/function () {
var stop = chunk.stop;
var chunkBlock = void 0;
if (stop != null && (!lastBlockIter || lastBlockIter.index <= stop)) {
if (stop != null && ( // if block not found or stop is behind lastBlock
!lastBlockIter || lastBlockIter.index <= stop)) {
if (chunk instanceof ChunksTailDetails || // for continuous block also check if stop is exist
masked._stops.indexOf(stop) >= 0) {
details.aggregate(masked._appendPlaceholder(stop));
@@ -134,15 +136,15 @@ var ChunksTailDetails = /*#__PURE__*/function () {
});
}
}, {
key: "shiftBefore",
value: function shiftBefore(pos) {
if (this.from >= pos || !this.chunks.length) return '';
var chunkShiftPos = pos - this.from;
key: "unshift",
value: function unshift(beforePos) {
if (!this.chunks.length || beforePos != null && this.from >= beforePos) return '';
var chunkShiftPos = beforePos != null ? beforePos - this.from : beforePos;
var ci = 0;
while (ci < this.chunks.length) {
var chunk = this.chunks[ci];
var shiftChar = chunk.shiftBefore(chunkShiftPos);
var shiftChar = chunk.unshift(chunkShiftPos);
if (chunk.toString()) {
// chunk still contains value
@@ -157,6 +159,31 @@ var ChunksTailDetails = /*#__PURE__*/function () {
if (shiftChar) return shiftChar;
}
return '';
}
}, {
key: "shift",
value: function shift() {
if (!this.chunks.length) return '';
var ci = this.chunks.length - 1;
while (0 <= ci) {
var chunk = this.chunks[ci];
var shiftChar = chunk.shift();
if (chunk.toString()) {
// chunk still contains value
// but not shifted - means no more available chars to shift
if (!shiftChar) break;
--ci;
} else {
// clean if chunk has no value
this.chunks.splice(ci, 1);
}
if (shiftChar) return shiftChar;
}
return '';
}
}]);
@@ -1,4 +1,4 @@
import { _ as _createClass, a as _classCallCheck } from '../../_rollupPluginBabelHelpers-a0b34764.js';
import { _ as _createClass, a as _classCallCheck } from '../../_rollupPluginBabelHelpers-b054ecd2.js';
import ChangeDetails from '../../core/change-details.js';
import { DIRECTION, isString } from '../../core/utils.js';
import ContinuousTailDetails from '../../core/continuous-tail-details.js';
@@ -10,12 +10,17 @@ var PatternFixedDefinition = /*#__PURE__*/function () {
/** */
/** */
/** */
/** */
function PatternFixedDefinition(opts) {
_classCallCheck(this, PatternFixedDefinition);
Object.assign(this, opts);
this._value = '';
this.isFixed = true;
}
_createClass(PatternFixedDefinition, [{
@@ -75,19 +80,29 @@ var PatternFixedDefinition = /*#__PURE__*/function () {
get: function get() {
return true;
}
}, {
key: "isFilled",
get: function get() {
return Boolean(this._value);
}
}, {
key: "_appendChar",
value: function _appendChar(str) {
value: function _appendChar(ch) {
var flags = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
var details = new ChangeDetails();
if (this._value) return details;
var appended = this.char === str[0];
var isResolved = appended && (this.isUnmasking || flags.input || flags.raw) && !flags.tail;
var appended = this.char === ch;
var isResolved = appended && (this.isUnmasking || flags.input || flags.raw) && !this.eager && !flags.tail;
if (isResolved) details.rawInserted = this.char;
this._value = details.inserted = this.char;
this._isRawInput = isResolved && (flags.raw || flags.input);
return details;
}
}, {
key: "_appendEager",
value: function _appendEager() {
return this._appendChar(this.char);
}
}, {
key: "_appendPlaceholder",
value: function _appendPlaceholder() {
@@ -112,7 +127,7 @@ var PatternFixedDefinition = /*#__PURE__*/function () {
}, {
key: "append",
value: function append(str, flags, tail) {
var details = this._appendChar(str, flags);
var details = this._appendChar(str[0], flags);
if (tail != null) {
details.tailShift += this.appendTail(tail).tailShift;
@@ -1,4 +1,4 @@
import { _ as _createClass, a as _classCallCheck, b as _objectWithoutProperties } from '../../_rollupPluginBabelHelpers-a0b34764.js';
import { _ as _createClass, a as _classCallCheck, b as _objectWithoutProperties } from '../../_rollupPluginBabelHelpers-b054ecd2.js';
import createMask from '../factory.js';
import ChangeDetails from '../../core/change-details.js';
import { DIRECTION } from '../../core/utils.js';
@@ -24,6 +24,8 @@ var PatternInputDefinition = /*#__PURE__*/function () {
/** */
/** */
/** */
function PatternInputDefinition(opts) {
_classCallCheck(this, PatternInputDefinition);
@@ -40,7 +42,7 @@ var PatternInputDefinition = /*#__PURE__*/function () {
_createClass(PatternInputDefinition, [{
key: "reset",
value: function reset() {
this._isFilled = false;
this.isFilled = false;
this.masked.reset();
}
}, {
@@ -50,7 +52,7 @@ var PatternInputDefinition = /*#__PURE__*/function () {
var toPos = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.value.length;
if (fromPos === 0 && toPos >= 1) {
this._isFilled = false;
this.isFilled = false;
return this.masked.remove(fromPos, toPos);
}
@@ -59,7 +61,7 @@ var PatternInputDefinition = /*#__PURE__*/function () {
}, {
key: "value",
get: function get() {
return this.masked.value || (this._isFilled && !this.isOptional ? this.placeholderChar : '');
return this.masked.value || (this.isFilled && !this.isOptional ? this.placeholderChar : '');
}
}, {
key: "unmaskedValue",
@@ -73,12 +75,12 @@ var PatternInputDefinition = /*#__PURE__*/function () {
}
}, {
key: "_appendChar",
value: function _appendChar(str) {
value: function _appendChar(ch) {
var flags = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
if (this._isFilled) return new ChangeDetails();
if (this.isFilled) return new ChangeDetails();
var state = this.masked.state; // simulate input
var details = this.masked._appendChar(str, flags);
var details = this.masked._appendChar(ch, flags);
if (details.inserted && this.doValidate(flags) === false) {
details.inserted = details.rawInserted = '';
@@ -90,7 +92,7 @@ var PatternInputDefinition = /*#__PURE__*/function () {
}
details.skip = !details.inserted && !this.isOptional;
this._isFilled = Boolean(details.inserted);
this.isFilled = Boolean(details.inserted);
return details;
}
}, {
@@ -98,17 +100,23 @@ var PatternInputDefinition = /*#__PURE__*/function () {
value: function append() {
var _this$masked;
// TODO probably should be done via _appendChar
return (_this$masked = this.masked).append.apply(_this$masked, arguments);
}
}, {
key: "_appendPlaceholder",
value: function _appendPlaceholder() {
var details = new ChangeDetails();
if (this._isFilled || this.isOptional) return details;
this._isFilled = true;
if (this.isFilled || this.isOptional) return details;
this.isFilled = true;
details.inserted = this.placeholderChar;
return details;
}
}, {
key: "_appendEager",
value: function _appendEager() {
return new ChangeDetails();
}
}, {
key: "extractTail",
value: function extractTail() {
@@ -170,12 +178,12 @@ var PatternInputDefinition = /*#__PURE__*/function () {
get: function get() {
return {
masked: this.masked.state,
_isFilled: this._isFilled
isFilled: this.isFilled
};
},
set: function set(state) {
this.masked.state = state.masked;
this._isFilled = state._isFilled;
this.isFilled = state.isFilled;
}
}]);
+2 -1
View File
@@ -1,7 +1,8 @@
import createMask from './factory.js';
import IMask from '../core/holder.js';
import '../core/utils.js';
import '../_rollupPluginBabelHelpers-a0b34764.js';
import '../_rollupPluginBabelHelpers-b054ecd2.js';
import '../core/change-details.js';
/** Mask pipe source and destination types */
+31 -17
View File
@@ -1,7 +1,7 @@
import { d as _inherits, e as _createSuper, a as _classCallCheck, _ as _createClass, g as _get, h as _getPrototypeOf, f as _slicedToArray } from '../_rollupPluginBabelHelpers-a0b34764.js';
import { d as _inherits, e as _createSuper, a as _classCallCheck, _ as _createClass, g as _get, h as _getPrototypeOf, f as _slicedToArray } from '../_rollupPluginBabelHelpers-b054ecd2.js';
import MaskedPattern from './pattern.js';
import { normalizePrepare } from '../core/utils.js';
import IMask from '../core/holder.js';
import '../core/utils.js';
import '../core/change-details.js';
import './base.js';
import '../core/continuous-tail-details.js';
@@ -9,6 +9,7 @@ import './pattern/input-definition.js';
import './factory.js';
import './pattern/fixed-definition.js';
import './pattern/chunk-tail-details.js';
import './pattern/cursor.js';
import './regexp.js';
/** Pattern which accepts ranges */
@@ -50,7 +51,8 @@ var MaskedRange = /*#__PURE__*/function (_MaskedPattern) {
// TODO type
opts = Object.assign({
to: this.to || 0,
from: this.from || 0
from: this.from || 0,
maxLength: this.maxLength || 0
}, opts);
var maxLength = String(opts.to).length;
if (opts.maxLength != null) maxLength = Math.max(maxLength, opts.maxLength);
@@ -95,34 +97,46 @@ var MaskedRange = /*#__PURE__*/function (_MaskedPattern) {
minstr = minstr.padEnd(this.maxLength, '0');
maxstr = maxstr.padEnd(this.maxLength, '9');
return [minstr, maxstr];
}
} // TODO str is a single char everytime
/**
@override
*/
}, {
key: "doPrepare",
value: function doPrepare(str) {
value: function doPrepare(ch) {
var flags = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
str = _get(_getPrototypeOf(MaskedRange.prototype), "doPrepare", this).call(this, str, flags).replace(/\D/g, '');
if (!this.autofix) return str;
var details;
var _normalizePrepare = normalizePrepare(_get(_getPrototypeOf(MaskedRange.prototype), "doPrepare", this).call(this, ch.replace(/\D/g, ''), flags));
var _normalizePrepare2 = _slicedToArray(_normalizePrepare, 2);
ch = _normalizePrepare2[0];
details = _normalizePrepare2[1];
if (!this.autofix || !ch) return ch;
var fromStr = String(this.from).padStart(this.maxLength, '0');
var toStr = String(this.to).padStart(this.maxLength, '0');
var val = this.value;
var prepStr = '';
var nextVal = this.value + ch;
if (nextVal.length > this.maxLength) return '';
for (var ci = 0; ci < str.length; ++ci) {
var nextVal = val + prepStr + str[ci];
var _this$boundaries = this.boundaries(nextVal),
_this$boundaries2 = _slicedToArray(_this$boundaries, 2),
minstr = _this$boundaries2[0],
maxstr = _this$boundaries2[1];
var _this$boundaries = this.boundaries(nextVal),
_this$boundaries2 = _slicedToArray(_this$boundaries, 2),
minstr = _this$boundaries2[0],
maxstr = _this$boundaries2[1];
if (Number(maxstr) < this.from) return fromStr[nextVal.length - 1];
if (Number(maxstr) < this.from) prepStr += fromStr[nextVal.length - 1];else if (Number(minstr) > this.to) prepStr += toStr[nextVal.length - 1];else prepStr += str[ci];
if (Number(minstr) > this.to) {
if (this.autofix === 'pad' && nextVal.length < this.maxLength) {
return ['', details.aggregate(this.append(fromStr[nextVal.length - 1] + ch, flags))];
}
return toStr[nextVal.length - 1];
}
return prepStr;
return ch;
}
/**
@override
+1 -1
View File
@@ -1,4 +1,4 @@
import { d as _inherits, e as _createSuper, _ as _createClass, a as _classCallCheck, g as _get, h as _getPrototypeOf } from '../_rollupPluginBabelHelpers-a0b34764.js';
import { d as _inherits, e as _createSuper, _ as _createClass, a as _classCallCheck, g as _get, h as _getPrototypeOf } from '../_rollupPluginBabelHelpers-b054ecd2.js';
import Masked from './base.js';
import IMask from '../core/holder.js';
import '../core/change-details.js';
+1 -1
View File
@@ -67,4 +67,4 @@ $({
});
// TODO: Remove from `core-js@4`
require('./es.global-this');
require('../modules/es.global-this');
+8 -7
View File
@@ -78,7 +78,7 @@ declare namespace IMask {
} & Partial<
Pick<
Masked<MaskType>,
'parent' | 'prepare' | 'validate' | 'commit' | 'overwrite'
'parent' | 'prepare' | 'validate' | 'commit' | 'overwrite' | 'eager'
>
>;
type MaskedTypedValue<MaskType> = MaskType extends (typeof Number)
@@ -99,14 +99,15 @@ declare namespace IMask {
value: string,
masked: Masked<MaskType>,
flags: AppendFlags,
) => string;
) => string | [string, ChangeDetails];
validate: (
value: string,
masked: Masked<MaskType>,
flags: AppendFlags,
) => boolean;
commit: (value: string, masked: Masked<MaskType>) => void;
overwrite?: boolean;
overwrite?: boolean | 'shift';
eager?: boolean;
isInitialized: boolean;
constructor(opts: BaseMaskedOptions<MaskType>);
@@ -122,7 +123,7 @@ declare namespace IMask {
tail?: string | TailDetails
): ChangeDetails;
remove(fromPos?: number, toPos?: number): ChangeDetails;
doPrepare(str: string, flags: AppendFlags): string;
doPrepare(str: string, flags: AppendFlags): string | [string, ChangeDetails];
doValidate(flags: AppendFlags): boolean;
doCommit(): boolean;
splice(
@@ -269,7 +270,7 @@ declare namespace IMask {
readonly maxLength: number;
readonly from: number;
readonly to: number;
readonly autofix?: boolean;
readonly autofix?: boolean | 'pad';
constructor(opts: MaskedRangeOptions);
updateOptions(opts: Partial<MaskedRangeOptions>): void;
@@ -351,7 +352,7 @@ declare namespace IMask {
readonly pattern: string;
readonly min?: Date;
readonly max?: Date;
readonly autofix?: boolean;
readonly autofix?: boolean | 'pad';
date: Date;
constructor(opts: MaskedDateOptions);
@@ -375,7 +376,7 @@ declare namespace IMask {
readonly compiledMasks: Array<AnyMasked>;
dispatch: (
value: string,
masked: AnyMasked,
masked: MaskedDynamic,
flags: AppendFlags
) => AnyMasked;
+52 -20
View File
@@ -1,32 +1,64 @@
{
"name": "imask",
"version": "6.2.2",
"author": "Alexey Kryazhev",
"license": "MIT",
"bugs": "https://github.com/uNmAnNeR/imaskjs/issues",
"homepage": "https://imask.js.org/",
"_from": "imask@^6.2.2",
"_id": "imask@6.4.2",
"_inBundle": false,
"_integrity": "sha512-xvEgbTdk6y2dW2UAysq0NRPmO6PuaXM5NHIt4TXEJEwXUHj26M0p/fXqyrSJdNXFaGVOtqYjPRnNdrjQQhDuuA==",
"_location": "/imask",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "imask@^6.2.2",
"name": "imask",
"escapedName": "imask",
"rawSpec": "^6.2.2",
"saveSpec": null,
"fetchSpec": "^6.2.2"
},
"_requiredBy": [
"/"
],
"_resolved": "https://registry.npmjs.org/imask/-/imask-6.4.2.tgz",
"_shasum": "f1c67e6961640bf5b09d7b4a34dcf4f9a3df7e22",
"_spec": "imask@^6.2.2",
"_where": "/mnt/d/WWW/magico.front",
"author": {
"name": "Alexey Kryazhev"
},
"bugs": {
"url": "https://github.com/uNmAnNeR/imaskjs/issues"
},
"bundleDependencies": false,
"deprecated": false,
"description": "vanilla javascript input mask",
"main": "dist/imask.js",
"module": "esm/index.js",
"repository": "https://github.com/uNmAnNeR/imaskjs",
"types": "index.d.ts",
"engines": {
"npm": ">=4.0.0"
},
"scripts": {
"test": "cross-env NODE_ENV=test nyc mocha --exit --recursive",
"pretest": "flow check",
"watch": "rollup -c -w",
"build": "rollup -c",
"flow": "flow",
"lint": "eslint src/",
"coveralls": "nyc report --reporter=text-lcov | coveralls"
},
"gitHead": "4cb5df3142822c5de910001a4294b764c439c478",
"homepage": "https://imask.js.org/",
"keywords": [
"javascript",
"jquery",
"input",
"mask"
],
"gitHead": "228f2a4dce7125d0c7156868fcb5364b4487c8e6"
"license": "MIT",
"main": "dist/imask.js",
"module": "esm/index.js",
"name": "imask",
"repository": {
"type": "git",
"url": "git+https://github.com/uNmAnNeR/imaskjs.git"
},
"scripts": {
"build": "rollup -c",
"coveralls": "nyc report --reporter=text-lcov | coveralls",
"flow": "flow",
"lint": "eslint src/",
"pretest": "flow check",
"test": "cross-env NODE_ENV=test nyc mocha --exit --recursive",
"watch": "rollup -c -w"
},
"types": "index.d.ts",
"version": "6.4.2"
}
+57 -29
View File
@@ -1,7 +1,32 @@
{
"name": "leaflet",
"version": "1.7.1",
"homepage": "https://leafletjs.com/",
"_from": "leaflet@^1.6.0",
"_id": "leaflet@1.7.1",
"_inBundle": false,
"_integrity": "sha512-/xwPEBidtg69Q3HlqPdU3DnrXQOvQU/CCHA1tcDQVzOwm91YMYaILjNp7L4Eaw5Z4sOYdbBz6koWyibppd8Zqw==",
"_location": "/leaflet",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "leaflet@^1.6.0",
"name": "leaflet",
"escapedName": "leaflet",
"rawSpec": "^1.6.0",
"saveSpec": null,
"fetchSpec": "^1.6.0"
},
"_requiredBy": [
"/"
],
"_resolved": "https://registry.npmjs.org/leaflet/-/leaflet-1.7.1.tgz",
"_shasum": "10d684916edfe1bf41d688a3b97127c0322a2a19",
"_spec": "leaflet@^1.6.0",
"_where": "/mnt/d/WWW/magico.front",
"bugs": {
"url": "https://github.com/Leaflet/Leaflet/issues"
},
"bundleDependencies": false,
"deprecated": false,
"description": "JavaScript library for mobile-friendly interactive maps",
"devDependencies": {
"eslint": "^6.8.0",
@@ -30,27 +55,6 @@
"ssri": "^8.0.0",
"uglify-js": "^3.10.3"
},
"main": "dist/leaflet-src.js",
"style": "dist/leaflet.css",
"files": [
"dist",
"src",
"!dist/leaflet.zip"
],
"scripts": {
"docs": "node ./build/docs.js",
"pretest": "npm run lint",
"test": "npm run test-nolint",
"test-nolint": "karma start ./spec/karma.conf.js",
"build": "npm run rollup && npm run uglify",
"release": "./build/publish.sh",
"lint": "eslint src spec/suites docs/docs/js",
"lintfix": "npm run lint -- --fix",
"rollup": "rollup -c build/rollup-config.js",
"watch": "rollup -w -c build/rollup-watch-config.js",
"uglify": "uglifyjs dist/leaflet-src.js -c -m -o dist/leaflet.js --source-map filename=dist/leaflet.js.map --source-map content=dist/leaflet-src.js.map --source-map url=leaflet.js.map --comments",
"integrity": "node ./build/integrity.js"
},
"eslintConfig": {
"root": true,
"globals": {
@@ -97,13 +101,37 @@
]
}
},
"repository": {
"type": "git",
"url": "git://github.com/Leaflet/Leaflet.git"
},
"files": [
"dist",
"src",
"!dist/leaflet.zip"
],
"homepage": "https://leafletjs.com/",
"keywords": [
"gis",
"map"
],
"license": "BSD-2-Clause"
"license": "BSD-2-Clause",
"main": "dist/leaflet-src.js",
"name": "leaflet",
"repository": {
"type": "git",
"url": "git://github.com/Leaflet/Leaflet.git"
},
"scripts": {
"build": "npm run rollup && npm run uglify",
"docs": "node ./build/docs.js",
"integrity": "node ./build/integrity.js",
"lint": "eslint src spec/suites docs/docs/js",
"lintfix": "npm run lint -- --fix",
"pretest": "npm run lint",
"release": "./build/publish.sh",
"rollup": "rollup -c build/rollup-config.js",
"test": "npm run test-nolint",
"test-nolint": "karma start ./spec/karma.conf.js",
"uglify": "uglifyjs dist/leaflet-src.js -c -m -o dist/leaflet.js --source-map filename=dist/leaflet.js.map --source-map content=dist/leaflet-src.js.map --source-map url=leaflet.js.map --comments",
"watch": "rollup -w -c build/rollup-watch-config.js"
},
"style": "dist/leaflet.css",
"version": "1.7.1"
}
+60 -32
View File
@@ -1,30 +1,41 @@
{
"name": "list.js",
"version": "2.3.1",
"description": "The perfect library for lists. Supports search, sort, filters and flexibility. Built to be invisible and work on existing HTML",
"keywords": [
"list",
"search",
"sort",
"table",
"dom",
"html",
"ui"
"_from": "list.js@^2.3.1",
"_id": "list.js@2.3.1",
"_inBundle": false,
"_integrity": "sha512-jnmm7DYpKtH3DxtO1E2VNCC9Gp7Wrp/FWA2JxQrZUhVJ2RCQBd57pCN6W5w6jpsfWZV0PCAbTX2NOPgyFeeZZg==",
"_location": "/list.js",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "list.js@^2.3.1",
"name": "list.js",
"escapedName": "list.js",
"rawSpec": "^2.3.1",
"saveSpec": null,
"fetchSpec": "^2.3.1"
},
"_requiredBy": [
"/"
],
"_resolved": "https://registry.npmjs.org/list.js/-/list.js-2.3.1.tgz",
"_shasum": "48961989ffe52b0505e352f7a521f819f51df7e7",
"_spec": "list.js@^2.3.1",
"_where": "/mnt/d/WWW/magico.front",
"author": {
"name": "Jonny Strömberg",
"email": "jonny.stromberg@gmail.com",
"url": "https://javve.com"
},
"homepage": "https://listjs.com",
"repository": "git://github.com/javve/list.js.git",
"license": "MIT",
"bugs": {
"url": "https://github.com/javve/list.js/issues"
},
"bundleDependencies": false,
"dependencies": {
"string-natural-compare": "^2.0.2"
},
"deprecated": false,
"description": "The perfect library for lists. Supports search, sort, filters and flexibility. Built to be invisible and work on existing HTML",
"devDependencies": {
"@babel/core": "^7.12.7",
"@babel/preset-env": "^7.12.7",
@@ -35,19 +46,31 @@
"webpack": "^5.6.0",
"webpack-cli": "^4.2.0"
},
"main": "src/index",
"engines": {
"node": "^6.0 || ^8.0 || ^10.0 || ^12.0 || >=14"
},
"scripts": {
"test": "npx jest",
"build": "npx webpack",
"watch": "npx webpack --watch",
"watch-test": "npx jest --watch",
"preversion": "npm test && npm run build && cp dist/list.min.js docs/assets/javascripts/list.min.js && cp dist/list.min.js.map docs/assets/javascripts/list.min.js.map && git add dist && git add docs/assets/javascripts",
"postversion": "git push --follow-tags origin master && cp package.json docs/_data/pkg.json && git add docs/_data/pkg.json && git commit -m \"pkg.json update\""
"homepage": "https://listjs.com",
"jest": {
"coverageDirectory": "./coverage/",
"collectCoverage": true,
"collectCoverageFrom": [
"src/*.js",
"src/utils/*.js"
],
"testURL": "http://localhost/"
},
"npmName": "list.js",
"keywords": [
"list",
"search",
"sort",
"table",
"dom",
"html",
"ui"
],
"license": "MIT",
"main": "src/index",
"name": "list.js",
"npmFileMap": [
{
"basePath": "/dist/",
@@ -57,13 +80,18 @@
]
}
],
"jest": {
"coverageDirectory": "./coverage/",
"collectCoverage": true,
"collectCoverageFrom": [
"src/*.js",
"src/utils/*.js"
],
"testURL": "http://localhost/"
}
"npmName": "list.js",
"repository": {
"type": "git",
"url": "git://github.com/javve/list.js.git"
},
"scripts": {
"build": "npx webpack",
"postversion": "git push --follow-tags origin master && cp package.json docs/_data/pkg.json && git add docs/_data/pkg.json && git commit -m \"pkg.json update\"",
"preversion": "npm test && npm run build && cp dist/list.min.js docs/assets/javascripts/list.min.js && cp dist/list.min.js.map docs/assets/javascripts/list.min.js.map && git add dist && git add docs/assets/javascripts",
"test": "npx jest",
"watch": "npx webpack --watch",
"watch-test": "npx jest --watch"
},
"version": "2.3.1"
}
-222
View File
@@ -1,222 +0,0 @@
# Changelog
### 15.5.0 (*2021-01-09*)
- Fixed: Compositing issues in Safari (note that this updates the stylesheet!) (#987, #998, #1029, #1154);
- Changed: divisibility of `margin`, `padding` and `limit` by `step` is no longer enforced (#1163);
### 15.4.0 (*2021-08-14*)
- Added: `handleAttributes` option (#1019);
- Added: `drag-all` behaviour (#756, #841, #1116);
- Added: ESM/ES6 module distribution `dist/nouislider.mjs` (#1149);
- Added: support for ranges where `min` = `max` (#236, #359, #578, #633, #676, #790);
- Added: `getPositions` method;
- Fixed: Duplicate change/set events when using `snap` behaviour (#1106);
### 15.3.0 (*2021-08-10*)
- Added: `keyboardMultiplier` option (#1151);
### 15.2.0 (*2021-06-15*)
- Added: `unencoded` boolean argument to `get` method to return raw slider values (#1145);
- Added: support for "partial" formatters in `pips.format`, `ariaFormat` and `tooltips` options (#1140);
### 15.1.1 (*2021-05-09*)
- Fixed: `tooltips` option accepts one `Formatter` for all tooltips (#1101);
### 15.1.0 (*2021-05-09*)
- Added: `drag` event when dragging connecting elements (#887, #1135);
### 15.0.0 (*2021-05-02*)
- noUiSlider is now written and distributed as TypeScript;
- Types are now provided. If you are currently using [@types/nouislider](https://www.npmjs.com/package/@types/nouislider), this should be replaced;
- The distributed files have moved from `distribute` to `dist` in the NPM package, and are no longer in the repository; You may need to change the path to the noUiSlider CSS file if you are importing it using a package manager;
- Fixed: Slider now properly works in multiple layers of Shadow DOM (#1121);
- Removed: `version` from exceptions and export;
- Removed: Bower support;
### 14.7.0 (*2021-04-06*)
- noUiSlider is now build with TypeScript. This release contains no further changes.
### 14.6.4 (*2021-03-18*)
- Fixed: Fixed `updateOptions` with falsy value for `start` (#1127);
### 14.6.3 (*2020-11-19*)
- Fixed: Fixed removing namespaced event listeners, internal listeners getting removed (#1109);
### 14.6.2 (*2020-09-16*)
- Fixed: Ignore erroneous mouse events on taps for iOS 13.4 (#1095);
- Added: `exactInput` argument to `set` and `setHandle` methods (#436, #1094);
### 14.6.1 (*2020-08-17*)
- Fixed: Pips in count mode ignores pip at end of range (#1088);
### 14.6.0 (*2020-06-27*)
- Added: `keyboardPageMultiplier` and `keyboardDefaultStep` options (#1083);
- Fixed: Ignore erroneous tap events for iOS (#1057, #1079);
### 14.5.0 (*2020-05-20*)
- Added: Support for `margin`, `padding` and `limit` on non-linear sliders (#911, #1030, #1031, #1071);
### 14.4.0 (*2020-05-06*)
- Added: `getOrigins` and `getTooltips` methods;
- Added: Default styling to support merging overlapping tooltips (#1032);
### 14.3.0 (*2020-05-05*)
- Added: Default `cssClasses` are now exposed and can be modified;
- Fixed: Destroying sliders with multiple classes in `cssClasses` fails (#1069);
### 14.2.0 (*2020-03-27*)
- Added: Slider api as event parameter (#1058);
- Added: Allow multiple classes in `cssClasses` option (#1054);
- Fixed: Slider not working within shadow DOM (#1060);
- Fixed: Last pip not rendered if it is also the first and at the slider edge (#1063);
### 14.1.1 (*2019-12-15*)
- Fixed: Text direction is not correctly determined when the slider is not in the DOM (#1038);
### 14.1.0 (*2019-12-04*)
- Fixed: Styling requires a root `html` node, so noUiSlider can't be used in shadow dom (#1035);
- Added: Support for PageUp/PageDown and Home/End keys in keyboard support (#1036);
### 14.0.3 (*2019-10-10*)
- Fixed: Initialising handle values near the slider edge does not always respect `margin` (#1009);
### 14.0.2 (*2019-06-28*)
- Fixed: Keyboard interaction uses formatter when it does not need to (#1000);
### 14.0.1 (*2019-06-21*)
- Fixed: Visual regression in Safari caused by fixing #987 (#998);
### 14.0.0 (*2019-06-20*)
- Fixed: `change` & `slide` events should fire on keyboard control (#994);
- Fixed: `.noUi-origin` overflows document on vertical sliders (#987);
- Fixed: Clicking to right of handle doesn't move it when it's at the same point as another (#965);
- Added: Additional documentation on number formatting (#978, #985);
### 13.1.5 (*2019-04-24*)
- Fixed: Full-range padding (#880);
### 13.1.4 (*2019-03-20*)
- Fixed: Keyboard interaction does not work with `snap` option (#961);
### 13.1.3 (*2019-03-15*)
- Fixed: Keyboard interaction allows handles to "push" other handles (#960);
- Fixed: Update event fires for all handles during keyboard interaction (#960);
### 13.1.2 (*2019-03-13*)
- Fixed: Handle disappears in Safari on tap (#927);
- Fixed: Disabled slider still accepts keyboard interaction (#953);
### 13.1.1 (*2019-02-14*)
- Fixed: Slider hang when using a zero-length range (#948);
### 13.1.0 (*2019-02-08*)
- Fixed: Updating `pips` using `updateOptions` (#933);
- Added: Updating `tooltips` using `updateOptions` (#946);
### 13.0.0 (*2019-02-06*)
noUiSlider 13 does not include any breaking API changes.
Keyboard support is now built-in, so any custom implementations should be removed when upgrading.
Alternatively, built-in keyboard support can be disabled using `keyboardSupport: false`.
- Added: Built-in keyboard support (#724);
- Added: `.noUi-touch-area` element (#924);
- Fixed: Dragging a range does not check for handle disabled state (#938);
- Fixed: Incorrect CSS transform in pips (#931);
### 12.1.0 (*2018-10-25*)
- Added: `unconstrained` behaviour (#747, #815, #913);
- Added: `setHandle` API (#917);
- Changed: point to `nouislider.js` in `package.json`.`main` (#921);
### 12.0.0 (*2018-09-14*)
- Change: License changed to MIT;
- Change: Build process is now based on NPM scripts, phasing out the Grunt task runner.
- Fixed: Aria values are now as per spec (#889);
- Change: Pips formatting are now written as HTML (#875);
- Change: The `filter` option is now called for all pips (#754);
- Added: The `filter` option can now return `-1` to hide a pip (#754);
- Added: `keyboardSupport` option (#867, #895);
- Added: `documentElement` option (#821);
### 11.1.0 (*2018-04-02*)
- Change: `null` options are now handled consistently (#856);
- Fixed: Missing transform origin in IE9 (#870);
- Fixed: `padding` on one side of the slider could not exceed `50%` (#865);
### 11.0.3 (*2018-01-21*)
Refactor of source code. There are no meaningful changes in the distributed files;
### 11.0.2 (*2018-01-20*)
- Fixed: Slider ignores clicks on `.noUi-target` outside of `.noUi-base` (#842);
- Fixed: `.noUi-origin` moving out of the page causes horizontal scrolling (#852);
- Fixed: Relative `.noUi-handle` has unintended margin (#854);
### 11.0.0 (*2018-01-12*)
noUiSlider 11 does not include any breaking API changes.
Unless major changes were made to the stylesheet or you specifically depend
on the handle/connect order in the DOM, there should be no issues upgrading.
- Change: Use CSS transforms for handle movement, resulting in a massive performance improvement (#718);
- Change: Support multitouch by default;
- Change: Handle stacking is now on `.noUi-origin` instead of `.noUi-handle`;
- Added: A `.noUi-connects` element holding all `.noUi-connect` elements;
- Added: `[data-value]` property for `.noUi-value` in pips (#733);
- Added: `padding` option can now take an array for different padding values at both sides of a slider (#822);
- Removed: `useRequestAnimationFrame` option. No longer needed with CSS transforms;
- Removed: `multitouch` option. Now enabled by default;
- Fixed: Slider could ignore end events it should handle (#704, #805, #834);
- Fixed: Stop depending on array type (#801);
- Fixed: `set` method might bypass margin option (#823);
- Fixed: Alignment of pips for RTL sliders (#795);
- Fixed: Several issues regarding pips (#812, #826, #832);
### 10.1.0 (*2017-07-26*)
- Added: `multitouch` option (#793);
### 10.0.0 (*2017-05-28*)
- Change: Change event listeners to be passive (#785);
- Fixed: Pips are now updated when calling `updateOptions` (#669);
- Fixed: Content Security Policy issue with pips;
- Added: `removePips` method;
- Added: aria support (#685);
- Added: `ariaFormat` option (controls `aria-valuetext`);
- Fixed: throw a better error when mistakenly trying to initialize noUiSlider with `null` (#658);
- Fixed: Made order of events consistent and documented it (#775);
- Fixed: Border radius of connect bar, white space wrapping of tooltips (#773, #774);
- Fixed: Slider now uses `ownerDocument` instead of `document` (#767);
### 9.2.0 (*2017-01-17*)
- Added: Version number to exceptions;
- Added: `noUiSlider.version` holds current version number;
- Added: Throw exception on invalid `pips` configuration (#721);
- Added: Merged pull request that uses less preprocessor to generate CSS (#735);
### 9.1.0 (*2016-12-10*)
- Fixed: Slider not properly handling multitouch (#700, #704);
- Fixed: Removed a querySelector for the currently active handle (#720);
- Fixed: Removed iOS/webkit flashes on tap;
- Fixed: Incorrect error when using margin/limit with a step smaller than 0 (#736);
- Fixed: Drag option using incorrect cursor arrows (#681);
- Added: New `padding` option (#711);
- Added: Re-introduced `.noUi-handle-lower` and `.noUi-handle-upper` classes removed in 9.0.0;
- Added: Compatibility for legacy `connect` options removed in 9.0.0;
### 9.0.0 (*2016-09-26*)
- Added: Support for **more than 2 handles**;
- Added: `format` option can be updated (#641);
- Added: `reset` method the return slider to start values (#673);
- Change: `connect` option is now implemented as a separate node;
- Change: all event arguments, including the handle number, are now in slider order;
- Change: `updateOptions` now **modifies the original options** object. The reference in `slider.noUiSlider.options` remains up to date (#678);
- Change: more events fire when using various `behaviour` options (#664);
- Change: on `rtl` sliders, handles are now visually positioned from the sliders `right`/`bottom` edge;
- Change: events for `rtl` sliders now fire in the same order as for `ltr` sliders (with incremental handleNumbers);
- Change: internal `Spectrum` component is no longer `direction` aware;
- Change: `limit` and `margin` must be divisible by `step` (if set);
- Removed: `.noUi-stacking` class. Handles now stack themselves;
- ~~Removed~~ (returned in 9.1.0): `.noUi-handle-lower` and `.noUi-handle-upper` classes;
- Removed: `.noUi-background`. Use `.noUi-target` instead;
- ~~Removed~~ (backward compatibility in 9.1.0): `connect: 'lower'` and `connect: 'upper'`. These settings are replaced by `connect: [true, false]`;
- Fixed: default tooltip color (#687);
- Fixed: `margin` and `limit` calculated improperly after calling `updateOptions` with a new `range` option;
- Fixed: `range` option was required in update, even when not updating it (#682);
- Fixed: Cursor styling is now consistent for disabled handles and sliders (#644);
- Fixed: Sliders now ignore touches when the screen is touched multiple times (#649, #663, #668);
+31 -31
View File
@@ -2,7 +2,7 @@
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.noUiSlider = {}));
}(this, (function (exports) { 'use strict';
})(this, (function (exports) { 'use strict';
exports.PipsMode = void 0;
(function (PipsMode) {
@@ -127,7 +127,7 @@
: doc.body.scrollTop;
return {
x: x,
y: y
y: y,
};
}
// we provide a function to compute constants instead
@@ -140,18 +140,18 @@
? {
start: "pointerdown",
move: "pointermove",
end: "pointerup"
end: "pointerup",
}
: window.navigator.msPointerEnabled
? {
start: "MSPointerDown",
move: "MSPointerMove",
end: "MSPointerUp"
end: "MSPointerUp",
}
: {
start: "mousedown touchstart",
move: "mousemove touchmove",
end: "mouseup touchend"
end: "mouseup touchend",
};
}
// https://github.com/WICG/EventListenerOptions/blob/gh-pages/explainer.md
@@ -163,7 +163,7 @@
var opts = Object.defineProperty({}, "passive", {
get: function () {
supportsPassive = true;
}
},
});
// @ts-ignore
window.addEventListener("test", null, opts);
@@ -384,18 +384,18 @@
stepBefore: {
startValue: this.xVal[j - 2],
step: this.xNumSteps[j - 2],
highestStep: this.xHighestCompleteStep[j - 2]
highestStep: this.xHighestCompleteStep[j - 2],
},
thisStep: {
startValue: this.xVal[j - 1],
step: this.xNumSteps[j - 1],
highestStep: this.xHighestCompleteStep[j - 1]
highestStep: this.xHighestCompleteStep[j - 1],
},
stepAfter: {
startValue: this.xVal[j],
step: this.xNumSteps[j],
highestStep: this.xHighestCompleteStep[j]
}
highestStep: this.xHighestCompleteStep[j],
},
};
};
Spectrum.prototype.countStepDecimals = function () {
@@ -481,7 +481,7 @@
to: function (value) {
return value === undefined ? "" : value.toFixed(2);
},
from: Number
from: Number,
};
var cssClasses = {
target: "target",
@@ -519,12 +519,12 @@
valueVertical: "value-vertical",
valueNormal: "value-normal",
valueLarge: "value-large",
valueSub: "value-sub"
valueSub: "value-sub",
};
// Namespaces of internal event listeners
var INTERNAL_EVENT_NS = {
tooltips: ".__tooltips",
aria: ".__aria"
aria: ".__aria",
};
//endregion
function testStep(parsed, entry) {
@@ -731,7 +731,7 @@
fixed: fixed,
snap: snap,
hover: hover,
unconstrained: unconstrained
unconstrained: unconstrained,
};
}
function testTooltips(parsed, entry) {
@@ -817,7 +817,7 @@
animate: true,
animationDuration: 300,
ariaFormat: defaultFormatter,
format: defaultFormatter
format: defaultFormatter,
};
// Tests are executed in the order they are presented here.
var tests = {
@@ -844,7 +844,7 @@
documentElement: { r: false, t: testDocumentElement },
cssPrefix: { r: true, t: testCssPrefix },
cssClasses: { r: true, t: testCssClasses },
handleAttributes: { r: false, t: testHandleAttributes }
handleAttributes: { r: false, t: testHandleAttributes },
};
var defaults = {
connect: false,
@@ -856,7 +856,7 @@
cssClasses: cssClasses,
keyboardPageMultiplier: 5,
keyboardMultiplier: 1,
keyboardDefaultStep: 10
keyboardDefaultStep: 10,
};
// AriaFormat defaults to regular format, if any.
if (options.format && !options.ariaFormat) {
@@ -888,7 +888,7 @@
// Pips don't move, so we can place them using left/top.
var styles = [
["left", "top"],
["right", "bottom"]
["right", "bottom"],
];
parsed.style = styles[parsed.dir][parsed.ort];
return parsed;
@@ -1273,7 +1273,7 @@
var format = pips.format || {
to: function (value) {
return String(Math.round(value));
}
},
};
scope_Pips = scope_Target.appendChild(addMarking(spread, filter, format));
return scope_Pips;
@@ -1509,21 +1509,21 @@
pageOffset: event.pageOffset,
handleNumbers: data.handleNumbers,
buttonsProperty: event.buttons,
locations: scope_Locations.slice()
locations: scope_Locations.slice(),
});
var endEvent = attachEvent(actions.end, scope_DocumentElement, eventEnd, {
target: event.target,
handle: handle,
listeners: listeners,
doNotReject: true,
handleNumbers: data.handleNumbers
handleNumbers: data.handleNumbers,
});
var outEvent = attachEvent("mouseout", scope_DocumentElement, documentLeave, {
target: event.target,
handle: handle,
listeners: listeners,
doNotReject: true,
handleNumbers: data.handleNumbers
handleNumbers: data.handleNumbers,
});
// We want to make sure we pushed the listeners in the listener list rather than creating
// a new one as it has already been passed to the event handlers.
@@ -1668,7 +1668,7 @@
// These events are only bound to the visual handle
// element, not the 'real' origin element.
attachEvent(actions.start, handle.children[0], eventStart, {
handleNumbers: [index]
handleNumbers: [index],
});
});
}
@@ -1679,7 +1679,7 @@
// Fire hover events
if (behaviour.hover) {
attachEvent(actions.move, scope_Base, eventHover, {
hover: true
hover: true,
});
}
// Make the range draggable.
@@ -1710,7 +1710,7 @@
attachEvent(actions.start, eventHolder, eventStart, {
handles: handlesToDrag,
handleNumbers: handleNumbersToDrag,
connect: connect
connect: connect,
});
});
});
@@ -2059,7 +2059,7 @@
if (options.snap) {
return [
value - nearbySteps.stepBefore.startValue || null,
nearbySteps.stepAfter.startValue - value || null
nearbySteps.stepAfter.startValue - value || null,
];
}
// If the next value in this step moves into the next step,
@@ -2118,7 +2118,7 @@
"step",
"format",
"pips",
"tooltips"
"tooltips",
];
// Only change options that we're actually passed to update.
updateAble.forEach(function (name) {
@@ -2203,7 +2203,7 @@
getOrigins: function () {
return scope_Handles;
},
pips: pips // Issue #594
pips: pips, // Issue #594
};
return scope_Self;
}
@@ -2228,13 +2228,13 @@
// A reference to the default classes, allows global changes.
// Use the cssClasses option for changes to one slider.
cssClasses: cssClasses,
create: initialize
create: initialize,
};
exports.create = initialize;
exports.cssClasses = cssClasses;
exports['default'] = nouislider;
exports["default"] = nouislider;
Object.defineProperty(exports, '__esModule', { value: true });
})));
}));
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+28 -28
View File
@@ -122,7 +122,7 @@ function getPageOffset(doc) {
: doc.body.scrollTop;
return {
x: x,
y: y
y: y,
};
}
// we provide a function to compute constants instead
@@ -135,18 +135,18 @@ function getActions() {
? {
start: "pointerdown",
move: "pointermove",
end: "pointerup"
end: "pointerup",
}
: window.navigator.msPointerEnabled
? {
start: "MSPointerDown",
move: "MSPointerMove",
end: "MSPointerUp"
end: "MSPointerUp",
}
: {
start: "mousedown touchstart",
move: "mousemove touchmove",
end: "mouseup touchend"
end: "mouseup touchend",
};
}
// https://github.com/WICG/EventListenerOptions/blob/gh-pages/explainer.md
@@ -158,7 +158,7 @@ function getSupportsPassive() {
var opts = Object.defineProperty({}, "passive", {
get: function () {
supportsPassive = true;
}
},
});
// @ts-ignore
window.addEventListener("test", null, opts);
@@ -379,18 +379,18 @@ var Spectrum = /** @class */ (function () {
stepBefore: {
startValue: this.xVal[j - 2],
step: this.xNumSteps[j - 2],
highestStep: this.xHighestCompleteStep[j - 2]
highestStep: this.xHighestCompleteStep[j - 2],
},
thisStep: {
startValue: this.xVal[j - 1],
step: this.xNumSteps[j - 1],
highestStep: this.xHighestCompleteStep[j - 1]
highestStep: this.xHighestCompleteStep[j - 1],
},
stepAfter: {
startValue: this.xVal[j],
step: this.xNumSteps[j],
highestStep: this.xHighestCompleteStep[j]
}
highestStep: this.xHighestCompleteStep[j],
},
};
};
Spectrum.prototype.countStepDecimals = function () {
@@ -476,7 +476,7 @@ var defaultFormatter = {
to: function (value) {
return value === undefined ? "" : value.toFixed(2);
},
from: Number
from: Number,
};
var cssClasses = {
target: "target",
@@ -514,12 +514,12 @@ var cssClasses = {
valueVertical: "value-vertical",
valueNormal: "value-normal",
valueLarge: "value-large",
valueSub: "value-sub"
valueSub: "value-sub",
};
// Namespaces of internal event listeners
var INTERNAL_EVENT_NS = {
tooltips: ".__tooltips",
aria: ".__aria"
aria: ".__aria",
};
//endregion
function testStep(parsed, entry) {
@@ -726,7 +726,7 @@ function testBehaviour(parsed, entry) {
fixed: fixed,
snap: snap,
hover: hover,
unconstrained: unconstrained
unconstrained: unconstrained,
};
}
function testTooltips(parsed, entry) {
@@ -812,7 +812,7 @@ function testOptions(options) {
animate: true,
animationDuration: 300,
ariaFormat: defaultFormatter,
format: defaultFormatter
format: defaultFormatter,
};
// Tests are executed in the order they are presented here.
var tests = {
@@ -839,7 +839,7 @@ function testOptions(options) {
documentElement: { r: false, t: testDocumentElement },
cssPrefix: { r: true, t: testCssPrefix },
cssClasses: { r: true, t: testCssClasses },
handleAttributes: { r: false, t: testHandleAttributes }
handleAttributes: { r: false, t: testHandleAttributes },
};
var defaults = {
connect: false,
@@ -851,7 +851,7 @@ function testOptions(options) {
cssClasses: cssClasses,
keyboardPageMultiplier: 5,
keyboardMultiplier: 1,
keyboardDefaultStep: 10
keyboardDefaultStep: 10,
};
// AriaFormat defaults to regular format, if any.
if (options.format && !options.ariaFormat) {
@@ -883,7 +883,7 @@ function testOptions(options) {
// Pips don't move, so we can place them using left/top.
var styles = [
["left", "top"],
["right", "bottom"]
["right", "bottom"],
];
parsed.style = styles[parsed.dir][parsed.ort];
return parsed;
@@ -1268,7 +1268,7 @@ function scope(target, options, originalOptions) {
var format = pips.format || {
to: function (value) {
return String(Math.round(value));
}
},
};
scope_Pips = scope_Target.appendChild(addMarking(spread, filter, format));
return scope_Pips;
@@ -1504,21 +1504,21 @@ function scope(target, options, originalOptions) {
pageOffset: event.pageOffset,
handleNumbers: data.handleNumbers,
buttonsProperty: event.buttons,
locations: scope_Locations.slice()
locations: scope_Locations.slice(),
});
var endEvent = attachEvent(actions.end, scope_DocumentElement, eventEnd, {
target: event.target,
handle: handle,
listeners: listeners,
doNotReject: true,
handleNumbers: data.handleNumbers
handleNumbers: data.handleNumbers,
});
var outEvent = attachEvent("mouseout", scope_DocumentElement, documentLeave, {
target: event.target,
handle: handle,
listeners: listeners,
doNotReject: true,
handleNumbers: data.handleNumbers
handleNumbers: data.handleNumbers,
});
// We want to make sure we pushed the listeners in the listener list rather than creating
// a new one as it has already been passed to the event handlers.
@@ -1663,7 +1663,7 @@ function scope(target, options, originalOptions) {
// These events are only bound to the visual handle
// element, not the 'real' origin element.
attachEvent(actions.start, handle.children[0], eventStart, {
handleNumbers: [index]
handleNumbers: [index],
});
});
}
@@ -1674,7 +1674,7 @@ function scope(target, options, originalOptions) {
// Fire hover events
if (behaviour.hover) {
attachEvent(actions.move, scope_Base, eventHover, {
hover: true
hover: true,
});
}
// Make the range draggable.
@@ -1705,7 +1705,7 @@ function scope(target, options, originalOptions) {
attachEvent(actions.start, eventHolder, eventStart, {
handles: handlesToDrag,
handleNumbers: handleNumbersToDrag,
connect: connect
connect: connect,
});
});
});
@@ -2054,7 +2054,7 @@ function scope(target, options, originalOptions) {
if (options.snap) {
return [
value - nearbySteps.stepBefore.startValue || null,
nearbySteps.stepAfter.startValue - value || null
nearbySteps.stepAfter.startValue - value || null,
];
}
// If the next value in this step moves into the next step,
@@ -2113,7 +2113,7 @@ function scope(target, options, originalOptions) {
"step",
"format",
"pips",
"tooltips"
"tooltips",
];
// Only change options that we're actually passed to update.
updateAble.forEach(function (name) {
@@ -2198,7 +2198,7 @@ function scope(target, options, originalOptions) {
getOrigins: function () {
return scope_Handles;
},
pips: pips // Issue #594
pips: pips, // Issue #594
};
return scope_Self;
}
@@ -2225,5 +2225,5 @@ export default {
// A reference to the default classes, allows global changes.
// Use the cssClasses option for changes to one slider.
cssClasses: cssClasses,
create: initialize
create: initialize,
};
+66 -36
View File
@@ -1,45 +1,75 @@
{
"name": "nouislider",
"version": "15.5.0",
"main": "dist/nouislider.js",
"style": "dist/nouislider.min.css",
"types": "dist/nouislider.d.ts",
"license": "MIT",
"scripts": {
"build": "npm run build:mjs && npm run build:js && npm run build:styles",
"build:js": "npm run build:js:write && npm run build:js:compress && npm run build:js:compress:mjs",
"build:js:write": "rollup -c rollup.config.js",
"build:js:compress": "uglifyjs dist/nouislider.js --compress --mangle --output dist/nouislider.min.js",
"build:js:compress:mjs": "uglifyjs dist/nouislider.mjs --compress --mangle --output dist/nouislider.min.mjs",
"build:types": "tsc --emitDeclarationOnly",
"build:mjs": "tsc --module ES6 && mv dist/nouislider.js dist/nouislider.mjs",
"build:styles": "npm run build:styles:write && npm run build:styles:compress",
"build:styles:write": "lessc src/nouislider.less dist/nouislider.css",
"build:styles:compress": "lessc src/nouislider.less dist/nouislider.min.css --clean-css",
"prepublishOnly": "npm run build",
"format": "prettier src/nouislider.ts --write --config .prettierrc",
"lint": "eslint src/nouislider.ts",
"docs": "cd ../ && php -S localhost:80 nouislider/documentation/_run/router.php"
"_from": "nouislider@^15.5.0",
"_id": "nouislider@15.5.1",
"_inBundle": false,
"_integrity": "sha512-V8LNPhLPXLNjkgXLfyzDRGDeKvzZeaiIx5YagMiHnOMqgcRzT75jqvEZYXbSrEffXouwcEShSd8Vllm2Nkwqew==",
"_location": "/nouislider",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "nouislider@^15.5.0",
"name": "nouislider",
"escapedName": "nouislider",
"rawSpec": "^15.5.0",
"saveSpec": null,
"fetchSpec": "^15.5.0"
},
"_requiredBy": [
"/"
],
"_resolved": "https://registry.npmjs.org/nouislider/-/nouislider-15.5.1.tgz",
"_shasum": "3d6c5e73f85110b91d4e029d88fd8532aca98353",
"_spec": "nouislider@^15.5.0",
"_where": "/mnt/d/WWW/magico.front",
"bugs": {
"url": "https://github.com/leongersen/noUiSlider/issues"
},
"bundleDependencies": false,
"dependencies": {},
"deprecated": false,
"description": "noUiSlider is a lightweight JavaScript range slider.",
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^4.20.0",
"@typescript-eslint/parser": "^4.20.0",
"eslint": "^7.23.0",
"less": "^3.9.0",
"less-plugin-clean-css": "^1.5.1",
"prettier": "^1.14.2",
"rollup": "^2.46.0",
"rollup-plugin-typescript2": "^0.30.0",
"typescript": "^4.2.3",
"uglify-js": "^3.4.9"
},
"repository": {
"type": "git",
"url": "git://github.com/leongersen/noUiSlider.git"
"@typescript-eslint/eslint-plugin": "^5.10",
"@typescript-eslint/parser": "^5.10",
"eslint": "^8.7",
"less": "^4.1",
"less-plugin-clean-css": "^1.5",
"prettier": "^2.5",
"rollup": "^2.65.0",
"rollup-plugin-typescript2": "^0.31",
"typescript": "^4.5",
"uglify-js": "^3.14"
},
"files": [
"src",
"dist"
],
"dependencies": {}
"homepage": "https://github.com/leongersen/noUiSlider#readme",
"license": "MIT",
"main": "dist/nouislider.js",
"name": "nouislider",
"repository": {
"type": "git",
"url": "git://github.com/leongersen/noUiSlider.git"
},
"scripts": {
"build": "npm run build:mjs && npm run build:js && npm run build:styles",
"build:js": "npm run build:js:write && npm run build:js:compress && npm run build:js:compress:mjs",
"build:js:compress": "uglifyjs dist/nouislider.js --compress --mangle --output dist/nouislider.min.js",
"build:js:compress:mjs": "uglifyjs dist/nouislider.mjs --compress --mangle --output dist/nouislider.min.mjs",
"build:js:write": "rollup -c rollup.config.js",
"build:mjs": "tsc --module ES6 && mv dist/nouislider.js dist/nouislider.mjs",
"build:styles": "npm run build:styles:write && npm run build:styles:compress",
"build:styles:compress": "lessc src/nouislider.less dist/nouislider.min.css --clean-css",
"build:styles:write": "lessc src/nouislider.less dist/nouislider.css",
"build:types": "tsc --emitDeclarationOnly",
"docs": "cd ../ && php -S localhost:80 nouislider/documentation/_run/router.php",
"format": "prettier src/nouislider.ts --write --config .prettierrc",
"lint": "eslint src/nouislider.ts",
"prepublishOnly": "npm run build"
},
"style": "dist/nouislider.min.css",
"types": "dist/nouislider.d.ts",
"version": "15.5.1"
}
+84 -84
View File
@@ -53,14 +53,14 @@ export enum PipsMode {
Steps = "steps",
Positions = "positions",
Count = "count",
Values = "values"
Values = "values",
}
export enum PipsType {
None = -1,
NoValue = 0,
LargeValue = 1,
SmallValue = 2
SmallValue = 2,
}
type WrappedSubRange = [number] | [number, number];
@@ -311,7 +311,7 @@ function preventDefault(e: Event): void {
// Removes duplicates from an array.
function unique<Type>(array: Type[]): Type[] {
return array.filter(function(a) {
return array.filter(function (a) {
return !this[a] ? (this[a] = true) : false;
}, {});
}
@@ -347,7 +347,7 @@ function isNumeric(a: unknown): a is number {
function addClassFor(element: HTMLElement, className: string, duration: number): void {
if (duration > 0) {
addClass(element, className);
setTimeout(function() {
setTimeout(function () {
removeClass(element, className);
}, duration);
}
@@ -414,7 +414,7 @@ function getPageOffset(doc: Document): PageOffset {
return {
x: x,
y: y
y: y,
};
}
@@ -424,22 +424,22 @@ function getPageOffset(doc: Document): PageOffset {
function getActions(): { start: string; move: string; end: string } {
// Determine the events to bind. IE11 implements pointerEvents without
// a prefix, which breaks compatibility with the IE10 implementation.
return window.navigator.pointerEnabled
return (window.navigator as any).pointerEnabled
? {
start: "pointerdown",
move: "pointermove",
end: "pointerup"
end: "pointerup",
}
: window.navigator.msPointerEnabled
: (window.navigator as any).msPointerEnabled
? {
start: "MSPointerDown",
move: "MSPointerMove",
end: "MSPointerUp"
end: "MSPointerUp",
}
: {
start: "mousedown touchstart",
move: "mousemove touchmove",
end: "mouseup touchend"
end: "mouseup touchend",
};
}
@@ -451,9 +451,9 @@ function getSupportsPassive(): boolean {
/* eslint-disable */
try {
const opts = Object.defineProperty({}, "passive", {
get: function() {
get: function () {
supportsPassive = true;
}
},
});
// @ts-ignore
@@ -582,12 +582,12 @@ class Spectrum {
const ordered: [WrappedSubRange, string][] = [];
// Map the object keys to an array.
Object.keys(entry).forEach(index => {
Object.keys(entry).forEach((index) => {
ordered.push([asArray(entry[index]) as WrappedSubRange, index]);
});
// Sort all entries by value (numeric sort).
ordered.sort(function(a, b) {
ordered.sort(function (a, b) {
return a[0][0] - b[0][0];
});
@@ -732,18 +732,18 @@ class Spectrum {
stepBefore: {
startValue: this.xVal[j - 2],
step: this.xNumSteps[j - 2],
highestStep: this.xHighestCompleteStep[j - 2]
highestStep: this.xHighestCompleteStep[j - 2],
},
thisStep: {
startValue: this.xVal[j - 1],
step: this.xNumSteps[j - 1],
highestStep: this.xHighestCompleteStep[j - 1]
highestStep: this.xHighestCompleteStep[j - 1],
},
stepAfter: {
startValue: this.xVal[j],
step: this.xNumSteps[j],
highestStep: this.xHighestCompleteStep[j]
}
highestStep: this.xHighestCompleteStep[j],
},
};
}
@@ -843,10 +843,10 @@ class Spectrum {
//region Defaults
const defaultFormatter: Formatter = {
to: function(value) {
to: function (value) {
return value === undefined ? "" : value.toFixed(2);
},
from: Number
from: Number,
};
const cssClasses: CssClasses = {
@@ -885,13 +885,13 @@ const cssClasses: CssClasses = {
valueVertical: "value-vertical",
valueNormal: "value-normal",
valueLarge: "value-large",
valueSub: "value-sub"
valueSub: "value-sub",
};
// Namespaces of internal event listeners
const INTERNAL_EVENT_NS = {
tooltips: ".__tooltips",
aria: ".__aria"
aria: ".__aria",
};
//endregion
@@ -1147,7 +1147,7 @@ function testBehaviour(parsed: ParsedOptions, entry: unknown): void {
fixed: fixed,
snap: snap,
hover: hover,
unconstrained: unconstrained
unconstrained: unconstrained,
};
}
@@ -1169,7 +1169,7 @@ function testTooltips(parsed: ParsedOptions, entry: boolean | Formatter | (boole
throw new Error("noUiSlider: must pass a formatter for all handles.");
}
entry.forEach(function(formatter) {
entry.forEach(function (formatter) {
if (typeof formatter !== "boolean" && !isValidPartialFormatter(formatter)) {
throw new Error("noUiSlider: 'tooltips' must be passed a formatter or 'false'.");
}
@@ -1253,7 +1253,7 @@ function testOptions(options: Options): ParsedOptions {
animate: true,
animationDuration: 300,
ariaFormat: defaultFormatter,
format: defaultFormatter
format: defaultFormatter,
} as ParsedOptions;
// Tests are executed in the order they are presented here.
@@ -1281,7 +1281,7 @@ function testOptions(options: Options): ParsedOptions {
documentElement: { r: false, t: testDocumentElement },
cssPrefix: { r: true, t: testCssPrefix },
cssClasses: { r: true, t: testCssClasses },
handleAttributes: { r: false, t: testHandleAttributes }
handleAttributes: { r: false, t: testHandleAttributes },
};
const defaults = {
@@ -1294,7 +1294,7 @@ function testOptions(options: Options): ParsedOptions {
cssClasses: cssClasses,
keyboardPageMultiplier: 5,
keyboardMultiplier: 1,
keyboardDefaultStep: 10
keyboardDefaultStep: 10,
} as UpdatableOptions;
// AriaFormat defaults to regular format, if any.
@@ -1305,7 +1305,7 @@ function testOptions(options: Options): ParsedOptions {
// Run all options through a testing mechanism to ensure correct
// input. It should be noted that options might get modified to
// be handled properly. E.g. wrapping integers in arrays.
Object.keys(tests).forEach(function(name: OptionKey) {
Object.keys(tests).forEach(function (name: OptionKey) {
// If the option isn't set, but it is required, throw an error.
if (!isSet(options[name]) && defaults[name] === undefined) {
if ((tests[name] as any).r) {
@@ -1334,7 +1334,7 @@ function testOptions(options: Options): ParsedOptions {
// Pips don't move, so we can place them using left/top.
const styles = [
["left", "top"],
["right", "bottom"]
["right", "bottom"],
];
parsed.style = styles[parsed.dir][parsed.ort] as "left" | "top" | "right" | "bottom";
@@ -1402,14 +1402,14 @@ function scope(target: TargetElement, options: ParsedOptions, originalOptions: O
// https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex
// 0 = focusable and reachable
handle.setAttribute("tabindex", "0");
handle.addEventListener("keydown", function(event) {
handle.addEventListener("keydown", function (event) {
return eventKeydown(event, handleNumber);
});
}
if (options.handleAttributes !== undefined) {
const attributes: HandleAttributes = options.handleAttributes[handleNumber];
Object.keys(attributes).forEach(function(attribute: string) {
Object.keys(attributes).forEach(function (attribute: string) {
handle.setAttribute(attribute, attributes[attribute]);
});
}
@@ -1504,7 +1504,7 @@ function scope(target: TargetElement, options: ParsedOptions, originalOptions: O
function removeTooltips(): void {
if (scope_Tooltips) {
removeEvent("update" + INTERNAL_EVENT_NS.tooltips);
scope_Tooltips.forEach(function(tooltip) {
scope_Tooltips.forEach(function (tooltip) {
if (tooltip) {
removeElement(tooltip);
}
@@ -1520,7 +1520,7 @@ function scope(target: TargetElement, options: ParsedOptions, originalOptions: O
// Tooltips are added with options.tooltips in original order.
scope_Tooltips = scope_Handles.map(addTooltip);
bindEvent("update" + INTERNAL_EVENT_NS.tooltips, function(values, handleNumber, unencoded) {
bindEvent("update" + INTERNAL_EVENT_NS.tooltips, function (values, handleNumber, unencoded) {
if (!scope_Tooltips || !options.tooltips) {
return;
}
@@ -1541,9 +1541,9 @@ function scope(target: TargetElement, options: ParsedOptions, originalOptions: O
function aria(): void {
removeEvent("update" + INTERNAL_EVENT_NS.aria);
bindEvent("update" + INTERNAL_EVENT_NS.aria, function(values, handleNumber, unencoded, tap, positions) {
bindEvent("update" + INTERNAL_EVENT_NS.aria, function (values, handleNumber, unencoded, tap, positions) {
// Update Aria Values for all handles, as a change in one changes min and max values for the next.
scope_HandleNumbers.forEach(function(index) {
scope_HandleNumbers.forEach(function (index) {
const handle = scope_Handles[index];
let min: number | string = <number>checkHandlePosition(scope_Locations, index, 0, true, true, true);
@@ -1602,7 +1602,7 @@ function scope(target: TargetElement, options: ParsedOptions, originalOptions: O
if (pips.mode === PipsMode.Values) {
// If the value must be stepped, it needs to be converted to a percentage first.
if (pips.stepped) {
return pips.values.map(function(value: number) {
return pips.values.map(function (value: number) {
// Convert to percentage, apply step, return to value.
return scope_Spectrum.fromStepping(scope_Spectrum.getStep(scope_Spectrum.toStepping(value)));
});
@@ -1616,7 +1616,7 @@ function scope(target: TargetElement, options: ParsedOptions, originalOptions: O
}
function mapToRange(values: number[], stepped: boolean | undefined): number[] {
return values.map(function(value: number) {
return values.map(function (value: number) {
return scope_Spectrum.fromStepping(stepped ? scope_Spectrum.getStep(value) : value);
});
}
@@ -1637,7 +1637,7 @@ function scope(target: TargetElement, options: ParsedOptions, originalOptions: O
// Create a copy of the group, sort it and filter away all duplicates.
group = unique(
group.slice().sort(function(a, b) {
group.slice().sort(function (a, b) {
return a - b;
})
);
@@ -1654,7 +1654,7 @@ function scope(target: TargetElement, options: ParsedOptions, originalOptions: O
ignoreLast = true;
}
group.forEach(function(current, index) {
group.forEach(function (current, index) {
// Get the current step and the lower + upper positions.
let step;
let i;
@@ -1748,13 +1748,13 @@ function scope(target: TargetElement, options: ParsedOptions, originalOptions: O
[PipsType.None]: "",
[PipsType.NoValue]: options.cssClasses.valueNormal,
[PipsType.LargeValue]: options.cssClasses.valueLarge,
[PipsType.SmallValue]: options.cssClasses.valueSub
[PipsType.SmallValue]: options.cssClasses.valueSub,
};
const markerSizeClasses: Record<PipsType, string> = {
[PipsType.None]: "",
[PipsType.NoValue]: options.cssClasses.markerNormal,
[PipsType.LargeValue]: options.cssClasses.markerLarge,
[PipsType.SmallValue]: options.cssClasses.markerSub
[PipsType.SmallValue]: options.cssClasses.markerSub,
};
const valueOrientationClasses = [options.cssClasses.valueHorizontal, options.cssClasses.valueVertical];
@@ -1795,7 +1795,7 @@ function scope(target: TargetElement, options: ParsedOptions, originalOptions: O
}
// Append all points.
Object.keys(spread).forEach(function(offset: string) {
Object.keys(spread).forEach(function (offset: string) {
addSpread(offset, spread[offset][0], spread[offset][1]);
});
@@ -1816,9 +1816,9 @@ function scope(target: TargetElement, options: ParsedOptions, originalOptions: O
const spread = generateSpread(pips);
const filter = pips.filter;
const format: PartialFormatter = pips.format || {
to: function(value) {
to: function (value) {
return String(Math.round(value));
}
},
};
scope_Pips = scope_Target.appendChild(addMarking(spread, filter, format));
@@ -1843,7 +1843,7 @@ function scope(target: TargetElement, options: ParsedOptions, originalOptions: O
// This function can be used to 'filter' events to the slider.
// element is a node, not a nodeList
const method: EventHandler = function(event: BrowserEvent): false | undefined {
const method: EventHandler = function (event: BrowserEvent): false | undefined {
const e = fixEvent(event, data.pageOffset, data.target || element);
// fixEvent returns false if this event has a different target
@@ -1893,7 +1893,7 @@ function scope(target: TargetElement, options: ParsedOptions, originalOptions: O
const methods: [string, EventHandler][] = [];
// Bind a closure on the target for every event type.
events.split(" ").forEach(function(eventName: string): void {
events.split(" ").forEach(function (eventName: string): void {
element.addEventListener(eventName, method, supportsPassive ? { passive: true } : false);
methods.push([eventName, method]);
});
@@ -1932,7 +1932,7 @@ function scope(target: TargetElement, options: ParsedOptions, originalOptions: O
// The only thing one handle should be concerned about is the touches that originated on top of it.
if (touch) {
// Returns true if a touch originated on the target.
const isTouchOnTarget = function(checkTouch: Touch) {
const isTouchOnTarget = function (checkTouch: Touch) {
const target: HTMLElement = checkTouch.target as HTMLElement;
return (
@@ -2000,7 +2000,7 @@ function scope(target: TargetElement, options: ParsedOptions, originalOptions: O
let smallestDifference = 100;
let handleNumber: number | false = false;
scope_Handles.forEach(function(handle, index) {
scope_Handles.forEach(function (handle, index) {
// Disabled handles are ignored
if (isHandleDisabled(index)) {
return;
@@ -2065,7 +2065,7 @@ function scope(target: TargetElement, options: ParsedOptions, originalOptions: O
}
// Unbind the move and end events, which are added on 'start'.
data.listeners.forEach(function(c: [string, EventHandler]) {
data.listeners.forEach(function (c: [string, EventHandler]) {
scope_DocumentElement.removeEventListener(c[0], c[1]);
});
@@ -2081,7 +2081,7 @@ function scope(target: TargetElement, options: ParsedOptions, originalOptions: O
}
}
data.handleNumbers.forEach(function(handleNumber: number) {
data.handleNumbers.forEach(function (handleNumber: number) {
fireEvent("change", handleNumber);
fireEvent("set", handleNumber);
fireEvent("end", handleNumber);
@@ -2126,7 +2126,7 @@ function scope(target: TargetElement, options: ParsedOptions, originalOptions: O
pageOffset: event.pageOffset,
handleNumbers: data.handleNumbers,
buttonsProperty: event.buttons,
locations: scope_Locations.slice()
locations: scope_Locations.slice(),
});
const endEvent = attachEvent(actions.end, scope_DocumentElement, eventEnd, {
@@ -2134,7 +2134,7 @@ function scope(target: TargetElement, options: ParsedOptions, originalOptions: O
handle: handle,
listeners: listeners,
doNotReject: true,
handleNumbers: data.handleNumbers
handleNumbers: data.handleNumbers,
});
const outEvent = attachEvent("mouseout", scope_DocumentElement, documentLeave, {
@@ -2142,7 +2142,7 @@ function scope(target: TargetElement, options: ParsedOptions, originalOptions: O
handle: handle,
listeners: listeners,
doNotReject: true,
handleNumbers: data.handleNumbers
handleNumbers: data.handleNumbers,
});
// We want to make sure we pushed the listeners in the listener list rather than creating
@@ -2169,7 +2169,7 @@ function scope(target: TargetElement, options: ParsedOptions, originalOptions: O
scope_Body.addEventListener("selectstart", preventDefault, false);
}
data.handleNumbers.forEach(function(handleNumber: number) {
data.handleNumbers.forEach(function (handleNumber: number) {
fireEvent("start", handleNumber);
});
}
@@ -2215,9 +2215,9 @@ function scope(target: TargetElement, options: ParsedOptions, originalOptions: O
const to = scope_Spectrum.getStep(proposal);
const value = scope_Spectrum.fromStepping(to);
Object.keys(scope_Events).forEach(function(targetEvent: string) {
Object.keys(scope_Events).forEach(function (targetEvent: string) {
if ("hover" === targetEvent.split(".")[0]) {
scope_Events[targetEvent].forEach(function(callback) {
scope_Events[targetEvent].forEach(function (callback) {
callback.call(scope_Self, value);
});
}
@@ -2317,11 +2317,11 @@ function scope(target: TargetElement, options: ParsedOptions, originalOptions: O
function bindSliderEvents(behaviour: Behaviour) {
// Attach the standard drag event to the handles.
if (!behaviour.fixed) {
scope_Handles.forEach(function(handle, index) {
scope_Handles.forEach(function (handle, index) {
// These events are only bound to the visual handle
// element, not the 'real' origin element.
attachEvent(actions.start, handle.children[0] as HTMLElement, eventStart, {
handleNumbers: [index]
handleNumbers: [index],
});
});
}
@@ -2334,13 +2334,13 @@ function scope(target: TargetElement, options: ParsedOptions, originalOptions: O
// Fire hover events
if (behaviour.hover) {
attachEvent(actions.move, scope_Base, eventHover, {
hover: true
hover: true,
} as EventData);
}
// Make the range draggable.
if (behaviour.drag) {
scope_Connects.forEach(function(connect, index) {
scope_Connects.forEach(function (connect, index) {
if (connect === false || index === 0 || index === scope_Connects.length - 1) {
return;
}
@@ -2368,11 +2368,11 @@ function scope(target: TargetElement, options: ParsedOptions, originalOptions: O
handleNumbersToDrag = scope_HandleNumbers;
}
eventHolders.forEach(function(eventHolder) {
eventHolders.forEach(function (eventHolder) {
attachEvent(actions.start, eventHolder, eventStart, {
handles: handlesToDrag,
handleNumbers: handleNumbersToDrag,
connect: connect
connect: connect,
});
});
});
@@ -2386,7 +2386,7 @@ function scope(target: TargetElement, options: ParsedOptions, originalOptions: O
// If the event bound is 'update,' fire it immediately for all handles.
if (namespacedEvent.split(".")[0] === "update") {
scope_Handles.forEach(function(a, index) {
scope_Handles.forEach(function (a, index) {
fireEvent("update", index);
});
}
@@ -2401,7 +2401,7 @@ function scope(target: TargetElement, options: ParsedOptions, originalOptions: O
const event = namespacedEvent && namespacedEvent.split(".")[0];
const namespace = event ? namespacedEvent.substring(event.length) : namespacedEvent;
Object.keys(scope_Events).forEach(function(bind) {
Object.keys(scope_Events).forEach(function (bind) {
const tEvent = bind.split(".")[0];
const tNamespace = bind.substring(tEvent.length);
if ((!event || event === tEvent) && (!namespace || namespace === tNamespace)) {
@@ -2415,11 +2415,11 @@ function scope(target: TargetElement, options: ParsedOptions, originalOptions: O
// External event handling
function fireEvent(eventName: string, handleNumber: number, tap?: boolean): void {
Object.keys(scope_Events).forEach(function(targetEvent: string): void {
Object.keys(scope_Events).forEach(function (targetEvent: string): void {
const eventType = targetEvent.split(".")[0];
if (eventName === eventType) {
scope_Events[targetEvent].forEach(function(callback) {
scope_Events[targetEvent].forEach(function (callback) {
callback.call(
// Use the slider public API as the scope ('this')
scope_Self,
@@ -2542,7 +2542,7 @@ function scope(target: TargetElement, options: ParsedOptions, originalOptions: O
// Step 1: get the maximum percentage that any of the handles can move
if (handleNumbers.length > 1) {
handleNumbers.forEach(function(handleNumber, o) {
handleNumbers.forEach(function (handleNumber, o) {
const to = checkHandlePosition(
proposals,
handleNumber,
@@ -2570,13 +2570,13 @@ function scope(target: TargetElement, options: ParsedOptions, originalOptions: O
let state = false;
// Step 2: Try to set the handles with the found percentage
handleNumbers.forEach(function(handleNumber, o) {
handleNumbers.forEach(function (handleNumber, o) {
state = setHandle(handleNumber, locations[handleNumber] + proposal, b[o], f[o]) || state;
});
// Step 3: If a handle moved, fire events
if (state) {
handleNumbers.forEach(function(handleNumber) {
handleNumbers.forEach(function (handleNumber) {
fireEvent("update", handleNumber);
fireEvent("slide", handleNumber);
});
@@ -2617,7 +2617,7 @@ function scope(target: TargetElement, options: ParsedOptions, originalOptions: O
// Handles after the middle later is lower
// [[7] [8] .......... | .......... [5] [4]
function setZindex(): void {
scope_HandleNumbers.forEach(function(handleNumber: number): void {
scope_HandleNumbers.forEach(function (handleNumber: number): void {
const dir = scope_Locations[handleNumber] > 50 ? -1 : 1;
const zIndex = 3 + (scope_Handles.length + dir * handleNumber);
scope_Handles[handleNumber].style.zIndex = String(zIndex);
@@ -2718,7 +2718,7 @@ function scope(target: TargetElement, options: ParsedOptions, originalOptions: O
}
// First pass, without lookAhead but with lookBackward. Values are set from left to right.
scope_HandleNumbers.forEach(function(handleNumber) {
scope_HandleNumbers.forEach(function (handleNumber) {
setHandle(handleNumber, resolveToValue(values[handleNumber], handleNumber), true, false, exactInput);
});
@@ -2733,7 +2733,7 @@ function scope(target: TargetElement, options: ParsedOptions, originalOptions: O
if (scope_HandleNumbers.length > 1) {
const space = 100 / (scope_HandleNumbers.length - 1);
scope_HandleNumbers.forEach(function(handleNumber) {
scope_HandleNumbers.forEach(function (handleNumber) {
scope_Locations[handleNumber] = handleNumber * space;
});
}
@@ -2742,14 +2742,14 @@ function scope(target: TargetElement, options: ParsedOptions, originalOptions: O
// Secondary passes. Now that all base values are set, apply constraints.
// Iterate all handles to ensure constraints are applied for the entire slider (Issue #1009)
for (; i < scope_HandleNumbers.length; ++i) {
scope_HandleNumbers.forEach(function(handleNumber) {
scope_HandleNumbers.forEach(function (handleNumber) {
setHandle(handleNumber, scope_Locations[handleNumber], true, true, exactInput);
});
}
setZindex();
scope_HandleNumbers.forEach(function(handleNumber) {
scope_HandleNumbers.forEach(function (handleNumber) {
fireEvent("update", handleNumber);
// Fire the event only for handles that received a new value, as per #579
@@ -2833,7 +2833,7 @@ function scope(target: TargetElement, options: ParsedOptions, originalOptions: O
if (options.snap) {
return [
value - nearbySteps.stepBefore.startValue || null,
nearbySteps.stepAfter.startValue - value || null
nearbySteps.stepAfter.startValue - value || null,
];
}
@@ -2901,11 +2901,11 @@ function scope(target: TargetElement, options: ParsedOptions, originalOptions: O
"step",
"format",
"pips",
"tooltips"
"tooltips",
];
// Only change options that we're actually passed to update.
updateAble.forEach(function(name: OptionKey) {
updateAble.forEach(function (name: OptionKey) {
// Check for undefined. null removes the value.
if (optionsToUpdate[name] !== undefined) {
(originalOptions[name] as any) = optionsToUpdate[name];
@@ -2915,7 +2915,7 @@ function scope(target: TargetElement, options: ParsedOptions, originalOptions: O
const newOptions: ParsedOptions = testOptions(originalOptions);
// Load new options into the slider state
updateAble.forEach(function(name: OptionKey) {
updateAble.forEach(function (name: OptionKey) {
if (optionsToUpdate[name] !== undefined) {
(options[name] as any) = newOptions[name];
}
@@ -2985,7 +2985,7 @@ function scope(target: TargetElement, options: ParsedOptions, originalOptions: O
setHandle: valueSetHandle,
reset: valueReset,
// Exposed for unit testing, don't use this in your application.
__moveHandles: function(upward: boolean, proposal: number, handleNumbers: number[]) {
__moveHandles: function (upward: boolean, proposal: number, handleNumbers: number[]) {
moveHandles(upward, proposal, scope_Locations, handleNumbers);
},
options: originalOptions, // Issue #600, #678
@@ -2993,16 +2993,16 @@ function scope(target: TargetElement, options: ParsedOptions, originalOptions: O
target: scope_Target, // Issue #597
removePips: removePips,
removeTooltips: removeTooltips,
getPositions: function() {
getPositions: function () {
return scope_Locations.slice();
},
getTooltips: function() {
getTooltips: function () {
return scope_Tooltips;
},
getOrigins: function() {
getOrigins: function () {
return scope_Handles;
},
pips: pips // Issue #594
pips: pips, // Issue #594
} as API;
return scope_Self;
@@ -3040,5 +3040,5 @@ export default {
// A reference to the default classes, allows global changes.
// Use the cssClasses option for changes to one slider.
cssClasses: cssClasses,
create: initialize
create: initialize,
};
+61 -33
View File
@@ -1,28 +1,35 @@
{
"name": "quill",
"version": "1.3.7",
"description": "Your powerful, rich text editor",
"author": "Jason Chen <jhchen7@gmail.com>",
"homepage": "http://quilljs.com",
"main": "dist/quill.js",
"files": [
"assets",
"blots",
"core",
"formats",
"modules",
"themes",
"ui",
"dist/quill.bubble.css",
"dist/quill.snow.css",
"dist/quill.core.css",
"dist/quill.js",
"dist/quill.core.js",
"dist/quill.min.js.map",
"dist/quill.min.js",
"core.js",
"quill.js"
"_from": "quill@^1.3.7",
"_id": "quill@1.3.7",
"_inBundle": false,
"_integrity": "sha512-hG/DVzh/TiknWtE6QmWAF/pxoZKYxfe3J/d/+ShUWkDvvkZQVTPeVmUJVu1uE6DDooC4fWTiCLh84ul89oNz5g==",
"_location": "/quill",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "quill@^1.3.7",
"name": "quill",
"escapedName": "quill",
"rawSpec": "^1.3.7",
"saveSpec": null,
"fetchSpec": "^1.3.7"
},
"_requiredBy": [
"/"
],
"_resolved": "https://registry.npmjs.org/quill/-/quill-1.3.7.tgz",
"_shasum": "da5b2f3a2c470e932340cdbf3668c9f21f9286e8",
"_spec": "quill@^1.3.7",
"_where": "/mnt/d/WWW/magico.front",
"author": {
"name": "Jason Chen",
"email": "jhchen7@gmail.com"
},
"bugs": {
"url": "https://github.com/quilljs/quill/issues"
},
"bundleDependencies": false,
"config": {
"ports": {
"proxy": "9000",
@@ -39,6 +46,8 @@
"parchment": "^1.1.4",
"quill-delta": "^3.6.2"
},
"deprecated": false,
"description": "Your powerful, rich text editor",
"devDependencies": {
"babel-core": "^6.26.0",
"babel-loader": "^7.1.2",
@@ -70,13 +79,36 @@
"webpack": "^3.8.1",
"webpack-dev-server": "^2.9.2"
},
"files": [
"assets",
"blots",
"core",
"formats",
"modules",
"themes",
"ui",
"dist/quill.bubble.css",
"dist/quill.snow.css",
"dist/quill.core.css",
"dist/quill.js",
"dist/quill.core.js",
"dist/quill.min.js.map",
"dist/quill.min.js",
"core.js",
"quill.js"
],
"homepage": "http://quilljs.com",
"keywords": [
"editor",
"rich text",
"wysiwyg"
],
"license": "BSD-3-Clause",
"main": "dist/quill.js",
"name": "quill",
"repository": {
"type": "git",
"url": "https://github.com/quilljs/quill"
},
"bugs": {
"url": "https://github.com/quilljs/quill/issues"
"url": "git+https://github.com/quilljs/quill.git"
},
"scripts": {
"build": "webpack --config _develop/webpack.config.js; rm dist/quill.core dist/quill.bubble dist/quill.snow;",
@@ -84,16 +116,12 @@
"start": "npm run build; bundle exec foreman start -f _develop/procfile",
"test": "npm run test:unit",
"test:all": "npm run test:unit; npm run test:functional",
"test:coverage": "webpack --env.coverage --config _develop/webpack.config.js; karma start _develop/karma.config.js --reporters coverage",
"test:functional": "./_develop/scripts/webdriver.sh",
"test:unit": "npm run build; karma start _develop/karma.config.js",
"test:coverage": "webpack --env.coverage --config _develop/webpack.config.js; karma start _develop/karma.config.js --reporters coverage",
"travis": "karma start _develop/karma.config.js --reporters dots,saucelabs",
"webdriver:start": "webdriver-manager start",
"webdriver:update": "webdriver-manager update"
},
"keywords": [
"editor",
"rich text",
"wysiwyg"
]
"version": "1.3.7"
}
+67 -39
View File
@@ -1,53 +1,43 @@
{
"name": "shufflejs",
"version": "5.4.1",
"description": "Categorize, sort, and filter a responsive grid of items",
"keywords": [
"gallery",
"shuffle",
"layout",
"masonry",
"filter",
"sort",
"responsive",
"grid",
"mobile",
"tiles"
"_from": "shufflejs@^5.3.0",
"_id": "shufflejs@5.4.1",
"_inBundle": false,
"_integrity": "sha512-td7b5oUH0a05nXgFUrDJ9pUwSiNnGvaWECEuWzo+Mo2owARifutkcWAMpFFbIqEOBoTSTMjCQrXZnR5UOkMHcA==",
"_location": "/shufflejs",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "shufflejs@^5.3.0",
"name": "shufflejs",
"escapedName": "shufflejs",
"rawSpec": "^5.3.0",
"saveSpec": null,
"fetchSpec": "^5.3.0"
},
"_requiredBy": [
"/"
],
"main": "dist/shuffle.js",
"module": "dist/shuffle.esm.js",
"moduleSource": "src/shuffle.js",
"types": "index.d.ts",
"scripts": {
"compile": "gulp scripts",
"css": "gulp css",
"gulp": "gulp",
"build": "npm run gulp && npm run css",
"serve": "gulp jekyll",
"test": "eslint src && jest && tsc --project ./test/types",
"watch": "gulp watch"
"_resolved": "https://registry.npmjs.org/shufflejs/-/shufflejs-5.4.1.tgz",
"_shasum": "5f62605f9ef4a2c842bf25a0c763220c997205b8",
"_spec": "shufflejs@^5.3.0",
"_where": "/mnt/d/WWW/magico.front",
"author": {
"name": "Glen Cheney",
"email": "cheney.glen@gmail.com"
},
"repository": {
"type": "git",
"url": "git://github.com/Vestride/Shuffle.git"
},
"author": "Glen Cheney <cheney.glen@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/Vestride/Shuffle/issues"
},
"homepage": "https://github.com/Vestride/Shuffle",
"files": [
"dist",
"src",
"index.d.ts"
],
"bundleDependencies": false,
"dependencies": {
"array-parallel": "^0.1.3",
"matches-selector": "^1.0.0",
"throttleit": "^1.0.0",
"tiny-emitter": "^2.1.0"
},
"deprecated": false,
"description": "Categorize, sort, and filter a responsive grid of items",
"devDependencies": {
"@babel/core": "^7.4.5",
"@babel/preset-env": "^7.4.5",
@@ -70,5 +60,43 @@
"rollup-plugin-terser": "^7.0.0",
"sinon": "^10.0.0",
"typescript": "^4.0.5"
}
},
"files": [
"dist",
"src",
"index.d.ts"
],
"homepage": "https://github.com/Vestride/Shuffle",
"keywords": [
"gallery",
"shuffle",
"layout",
"masonry",
"filter",
"sort",
"responsive",
"grid",
"mobile",
"tiles"
],
"license": "MIT",
"main": "dist/shuffle.js",
"module": "dist/shuffle.esm.js",
"moduleSource": "src/shuffle.js",
"name": "shufflejs",
"repository": {
"type": "git",
"url": "git://github.com/Vestride/Shuffle.git"
},
"scripts": {
"build": "npm run gulp && npm run css",
"compile": "gulp scripts",
"css": "gulp css",
"gulp": "gulp",
"serve": "gulp jekyll",
"test": "eslint src && jest && tsc --project ./test/types",
"watch": "gulp watch"
},
"types": "index.d.ts",
"version": "5.4.1"
}
File diff suppressed because one or more lines are too long
@@ -1,6 +1,6 @@
export declare const allowedParams: string[];
export declare function getParams(obj?: any): {
params: any;
passedParams: any;
rest: any;
passedParams: {};
rest: {};
};
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -8,31 +8,41 @@ export function getParams(obj = {}) {
const params = {
on: {},
};
const events = {};
const passedParams = {};
extend(params, Swiper.defaults);
extend(params, Swiper.extendedDefaults);
params._emitClasses = true;
params.init = false;
const rest = {};
const allowedParams = paramsList.map((key) => key.replace(/_/, ''));
Object.keys(obj).forEach((key) => {
const _key = key.replace(/^_/, '');
if (typeof obj[_key] === 'undefined')
return;
if (allowedParams.indexOf(_key) >= 0) {
if (isObject(obj[_key])) {
if (isObject(obj[key])) {
params[_key] = {};
passedParams[_key] = {};
extend(params[_key], obj[_key]);
extend(passedParams[_key], obj[_key]);
extend(params[_key], obj[key]);
extend(passedParams[_key], obj[key]);
}
else {
params[_key] = obj[_key];
passedParams[_key] = obj[_key];
params[_key] = obj[key];
passedParams[_key] = obj[key];
}
}
// else if (key.search(/on[A-Z]/) === 0 && typeof obj[key] === 'function') {
// events[`${_key[2].toLowerCase()}${key.substr(3)}`] = obj[key];
// }
else {
rest[_key] = obj[_key];
rest[_key] = obj[key];
}
});
['navigation', 'pagination', 'scrollbar'].forEach((key) => {
if (params[key] === true)
params[key] = {};
if (params[key] === false)
delete params[key];
});
return { params, passedParams, rest };
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LXBhcmFtcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9hbmd1bGFyL3NyYy91dGlscy9nZXQtcGFyYW1zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLDJCQUEyQjtBQUMzQixPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sRUFBRSxNQUFNLFNBQVMsQ0FBQztBQUMzQyxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLGFBQWE7QUFDYixPQUFPLE1BQU0sTUFBTSxRQUFRLENBQUM7QUFFNUIsTUFBTSxDQUFDLE1BQU0sYUFBYSxHQUFHLFVBQVUsQ0FBQyxHQUFHLENBQUMsQ0FBQyxHQUFHLEVBQUUsRUFBRSxDQUFDLEdBQUcsQ0FBQyxPQUFPLENBQUMsR0FBRyxFQUFFLEVBQUUsQ0FBQyxDQUFDLENBQUM7QUFDM0UsTUFBTSxVQUFVLFNBQVMsQ0FBQyxNQUFXLEVBQUU7SUFDckMsTUFBTSxNQUFNLEdBQVE7UUFDbEIsRUFBRSxFQUFFLEVBQUU7S0FDUCxDQUFDO0lBQ0YsTUFBTSxZQUFZLEdBQVEsRUFBRSxDQUFDO0lBQzdCLE1BQU0sQ0FBQyxNQUFNLEVBQUUsTUFBTSxDQUFDLFFBQVEsQ0FBQyxDQUFDO0lBQ2hDLE1BQU0sQ0FBQyxNQUFNLEVBQUUsTUFBTSxDQUFDLGdCQUFnQixDQUFDLENBQUM7SUFDeEMsTUFBTSxDQUFDLFlBQVksR0FBRyxJQUFJLENBQUM7SUFFM0IsTUFBTSxJQUFJLEdBQVEsRUFBRSxDQUFDO0lBQ3JCLE1BQU0sQ0FBQyxJQUFJLENBQUMsR0FBRyxDQUFDLENBQUMsT0FBTyxDQUFDLENBQUMsR0FBVyxFQUFFLEVBQUU7UUFDdkMsTUFBTSxJQUFJLEdBQUcsR0FBRyxDQUFDLE9BQU8sQ0FBQyxJQUFJLEVBQUUsRUFBRSxDQUFDLENBQUM7UUFDbkMsSUFBSSxPQUFPLEdBQUcsQ0FBQyxJQUFJLENBQUMsS0FBSyxXQUFXO1lBQUUsT0FBTztRQUM3QyxJQUFJLGFBQWEsQ0FBQyxPQUFPLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxFQUFFO1lBQ3BDLElBQUksUUFBUSxDQUFDLEdBQUcsQ0FBQyxJQUFJLENBQUMsQ0FBQyxFQUFFO2dCQUN2QixNQUFNLENBQUMsSUFBSSxDQUFDLEdBQUcsRUFBRSxDQUFDO2dCQUNsQixZQUFZLENBQUMsSUFBSSxDQUFDLEdBQUcsRUFBRSxDQUFDO2dCQUN4QixNQUFNLENBQUMsTUFBTSxDQUFDLElBQUksQ0FBQyxFQUFFLEdBQUcsQ0FBQyxJQUFJLENBQUMsQ0FBQyxDQUFDO2dCQUNoQyxNQUFNLENBQUMsWUFBWSxDQUFDLElBQUksQ0FBQyxFQUFFLEdBQUcsQ0FBQyxJQUFJLENBQUMsQ0FBQyxDQUFDO2FBQ3ZDO2lCQUFNO2dCQUNMLE1BQU0sQ0FBQyxJQUFJLENBQUMsR0FBRyxHQUFHLENBQUMsSUFBSSxDQUFDLENBQUM7Z0JBQ3pCLFlBQVksQ0FBQyxJQUFJLENBQUMsR0FBRyxHQUFHLENBQUMsSUFBSSxDQUFDLENBQUM7YUFDaEM7U0FDRjthQUFNO1lBQ0wsSUFBSSxDQUFDLElBQUksQ0FBQyxHQUFHLEdBQUcsQ0FBQyxJQUFJLENBQUMsQ0FBQztTQUN4QjtJQUNILENBQUMsQ0FBQyxDQUFDO0lBRUgsT0FBTyxFQUFFLE1BQU0sRUFBRSxZQUFZLEVBQUUsSUFBSSxFQUFFLENBQUM7QUFDeEMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZVxuaW1wb3J0IHsgaXNPYmplY3QsIGV4dGVuZCB9IGZyb20gJy4vdXRpbHMnO1xuaW1wb3J0IHsgcGFyYW1zTGlzdCB9IGZyb20gJy4vcGFyYW1zLWxpc3QnO1xuLy8gQHRzLWlnbm9yZVxuaW1wb3J0IFN3aXBlciBmcm9tICdzd2lwZXInO1xuXG5leHBvcnQgY29uc3QgYWxsb3dlZFBhcmFtcyA9IHBhcmFtc0xpc3QubWFwKChrZXkpID0+IGtleS5yZXBsYWNlKC9fLywgJycpKTtcbmV4cG9ydCBmdW5jdGlvbiBnZXRQYXJhbXMob2JqOiBhbnkgPSB7fSkge1xuICBjb25zdCBwYXJhbXM6IGFueSA9IHtcbiAgICBvbjoge30sXG4gIH07XG4gIGNvbnN0IHBhc3NlZFBhcmFtczogYW55ID0ge307XG4gIGV4dGVuZChwYXJhbXMsIFN3aXBlci5kZWZhdWx0cyk7XG4gIGV4dGVuZChwYXJhbXMsIFN3aXBlci5leHRlbmRlZERlZmF1bHRzKTtcbiAgcGFyYW1zLl9lbWl0Q2xhc3NlcyA9IHRydWU7XG5cbiAgY29uc3QgcmVzdDogYW55ID0ge307XG4gIE9iamVjdC5rZXlzKG9iaikuZm9yRWFjaCgoa2V5OiBzdHJpbmcpID0+IHtcbiAgICBjb25zdCBfa2V5ID0ga2V5LnJlcGxhY2UoL15fLywgJycpO1xuICAgIGlmICh0eXBlb2Ygb2JqW19rZXldID09PSAndW5kZWZpbmVkJykgcmV0dXJuO1xuICAgIGlmIChhbGxvd2VkUGFyYW1zLmluZGV4T2YoX2tleSkgPj0gMCkge1xuICAgICAgaWYgKGlzT2JqZWN0KG9ialtfa2V5XSkpIHtcbiAgICAgICAgcGFyYW1zW19rZXldID0ge307XG4gICAgICAgIHBhc3NlZFBhcmFtc1tfa2V5XSA9IHt9O1xuICAgICAgICBleHRlbmQocGFyYW1zW19rZXldLCBvYmpbX2tleV0pO1xuICAgICAgICBleHRlbmQocGFzc2VkUGFyYW1zW19rZXldLCBvYmpbX2tleV0pO1xuICAgICAgfSBlbHNlIHtcbiAgICAgICAgcGFyYW1zW19rZXldID0gb2JqW19rZXldO1xuICAgICAgICBwYXNzZWRQYXJhbXNbX2tleV0gPSBvYmpbX2tleV07XG4gICAgICB9XG4gICAgfSBlbHNlIHtcbiAgICAgIHJlc3RbX2tleV0gPSBvYmpbX2tleV07XG4gICAgfVxuICB9KTtcblxuICByZXR1cm4geyBwYXJhbXMsIHBhc3NlZFBhcmFtcywgcmVzdCB9O1xufVxuIl19
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LXBhcmFtcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9hbmd1bGFyL3NyYy91dGlscy9nZXQtcGFyYW1zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLDJCQUEyQjtBQUMzQixPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sRUFBRSxNQUFNLFNBQVMsQ0FBQztBQUMzQyxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLGFBQWE7QUFDYixPQUFPLE1BQU0sTUFBTSxRQUFRLENBQUM7QUFFNUIsTUFBTSxDQUFDLE1BQU0sYUFBYSxHQUFHLFVBQVUsQ0FBQyxHQUFHLENBQUMsQ0FBQyxHQUFHLEVBQUUsRUFBRSxDQUFDLEdBQUcsQ0FBQyxPQUFPLENBQUMsR0FBRyxFQUFFLEVBQUUsQ0FBQyxDQUFDLENBQUM7QUFDM0UsTUFBTSxVQUFVLFNBQVMsQ0FBQyxNQUFXLEVBQUU7SUFDckMsTUFBTSxNQUFNLEdBQVE7UUFDbEIsRUFBRSxFQUFFLEVBQUU7S0FDUCxDQUFDO0lBQ0YsTUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDO0lBQ2xCLE1BQU0sWUFBWSxHQUFHLEVBQUUsQ0FBQztJQUN4QixNQUFNLENBQUMsTUFBTSxFQUFFLE1BQU0sQ0FBQyxRQUFRLENBQUMsQ0FBQztJQUNoQyxNQUFNLENBQUMsTUFBTSxFQUFFLE1BQU0sQ0FBQyxnQkFBZ0IsQ0FBQyxDQUFDO0lBQ3hDLE1BQU0sQ0FBQyxZQUFZLEdBQUcsSUFBSSxDQUFDO0lBQzNCLE1BQU0sQ0FBQyxJQUFJLEdBQUcsS0FBSyxDQUFDO0lBRXBCLE1BQU0sSUFBSSxHQUFHLEVBQUUsQ0FBQztJQUNoQixNQUFNLGFBQWEsR0FBRyxVQUFVLENBQUMsR0FBRyxDQUFDLENBQUMsR0FBRyxFQUFFLEVBQUUsQ0FBQyxHQUFHLENBQUMsT0FBTyxDQUFDLEdBQUcsRUFBRSxFQUFFLENBQUMsQ0FBQyxDQUFDO0lBQ3BFLE1BQU0sQ0FBQyxJQUFJLENBQUMsR0FBRyxDQUFDLENBQUMsT0FBTyxDQUFDLENBQUMsR0FBRyxFQUFFLEVBQUU7UUFDL0IsTUFBTSxJQUFJLEdBQUcsR0FBRyxDQUFDLE9BQU8sQ0FBQyxJQUFJLEVBQUUsRUFBRSxDQUFDLENBQUM7UUFDbkMsSUFBSSxhQUFhLENBQUMsT0FBTyxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsRUFBRTtZQUNwQyxJQUFJLFFBQVEsQ0FBQyxHQUFHLENBQUMsR0FBRyxDQUFDLENBQUMsRUFBRTtnQkFDdEIsTUFBTSxDQUFDLElBQUksQ0FBQyxHQUFHLEVBQUUsQ0FBQztnQkFDbEIsWUFBWSxDQUFDLElBQUksQ0FBQyxHQUFHLEVBQUUsQ0FBQztnQkFDeEIsTUFBTSxDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMsRUFBRSxHQUFHLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQztnQkFDL0IsTUFBTSxDQUFDLFlBQVksQ0FBQyxJQUFJLENBQUMsRUFBRSxHQUFHLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQzthQUN0QztpQkFBTTtnQkFDTCxNQUFNLENBQUMsSUFBSSxDQUFDLEdBQUcsR0FBRyxDQUFDLEdBQUcsQ0FBQyxDQUFDO2dCQUN4QixZQUFZLENBQUMsSUFBSSxDQUFDLEdBQUcsR0FBRyxDQUFDLEdBQUcsQ0FBQyxDQUFDO2FBQy9CO1NBQ0Y7UUFDRCw0RUFBNEU7UUFDNUUsbUVBQW1FO1FBQ25FLElBQUk7YUFDQztZQUNILElBQUksQ0FBQyxJQUFJLENBQUMsR0FBRyxHQUFHLENBQUMsR0FBRyxDQUFDLENBQUM7U0FDdkI7SUFDSCxDQUFDLENBQUMsQ0FBQztJQUNILENBQUMsWUFBWSxFQUFFLFlBQVksRUFBRSxXQUFXLENBQUMsQ0FBQyxPQUFPLENBQUMsQ0FBQyxHQUFHLEVBQUUsRUFBRTtRQUN4RCxJQUFJLE1BQU0sQ0FBQyxHQUFHLENBQUMsS0FBSyxJQUFJO1lBQUUsTUFBTSxDQUFDLEdBQUcsQ0FBQyxHQUFHLEVBQUUsQ0FBQztRQUMzQyxJQUFJLE1BQU0sQ0FBQyxHQUFHLENBQUMsS0FBSyxLQUFLO1lBQUUsT0FBTyxNQUFNLENBQUMsR0FBRyxDQUFDLENBQUM7SUFDaEQsQ0FBQyxDQUFDLENBQUM7SUFFSCxPQUFPLEVBQUUsTUFBTSxFQUFFLFlBQVksRUFBRSxJQUFJLEVBQUUsQ0FBQztBQUN4QyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lXG5pbXBvcnQgeyBpc09iamVjdCwgZXh0ZW5kIH0gZnJvbSAnLi91dGlscyc7XG5pbXBvcnQgeyBwYXJhbXNMaXN0IH0gZnJvbSAnLi9wYXJhbXMtbGlzdCc7XG4vLyBAdHMtaWdub3JlXG5pbXBvcnQgU3dpcGVyIGZyb20gJ3N3aXBlcic7XG5cbmV4cG9ydCBjb25zdCBhbGxvd2VkUGFyYW1zID0gcGFyYW1zTGlzdC5tYXAoKGtleSkgPT4ga2V5LnJlcGxhY2UoL18vLCAnJykpO1xuZXhwb3J0IGZ1bmN0aW9uIGdldFBhcmFtcyhvYmo6IGFueSA9IHt9KSB7XG4gIGNvbnN0IHBhcmFtczogYW55ID0ge1xuICAgIG9uOiB7fSxcbiAgfTtcbiAgY29uc3QgZXZlbnRzID0ge307XG4gIGNvbnN0IHBhc3NlZFBhcmFtcyA9IHt9O1xuICBleHRlbmQocGFyYW1zLCBTd2lwZXIuZGVmYXVsdHMpO1xuICBleHRlbmQocGFyYW1zLCBTd2lwZXIuZXh0ZW5kZWREZWZhdWx0cyk7XG4gIHBhcmFtcy5fZW1pdENsYXNzZXMgPSB0cnVlO1xuICBwYXJhbXMuaW5pdCA9IGZhbHNlO1xuXG4gIGNvbnN0IHJlc3QgPSB7fTtcbiAgY29uc3QgYWxsb3dlZFBhcmFtcyA9IHBhcmFtc0xpc3QubWFwKChrZXkpID0+IGtleS5yZXBsYWNlKC9fLywgJycpKTtcbiAgT2JqZWN0LmtleXMob2JqKS5mb3JFYWNoKChrZXkpID0+IHtcbiAgICBjb25zdCBfa2V5ID0ga2V5LnJlcGxhY2UoL15fLywgJycpO1xuICAgIGlmIChhbGxvd2VkUGFyYW1zLmluZGV4T2YoX2tleSkgPj0gMCkge1xuICAgICAgaWYgKGlzT2JqZWN0KG9ialtrZXldKSkge1xuICAgICAgICBwYXJhbXNbX2tleV0gPSB7fTtcbiAgICAgICAgcGFzc2VkUGFyYW1zW19rZXldID0ge307XG4gICAgICAgIGV4dGVuZChwYXJhbXNbX2tleV0sIG9ialtrZXldKTtcbiAgICAgICAgZXh0ZW5kKHBhc3NlZFBhcmFtc1tfa2V5XSwgb2JqW2tleV0pO1xuICAgICAgfSBlbHNlIHtcbiAgICAgICAgcGFyYW1zW19rZXldID0gb2JqW2tleV07XG4gICAgICAgIHBhc3NlZFBhcmFtc1tfa2V5XSA9IG9ialtrZXldO1xuICAgICAgfVxuICAgIH1cbiAgICAvLyBlbHNlIGlmIChrZXkuc2VhcmNoKC9vbltBLVpdLykgPT09IDAgJiYgdHlwZW9mIG9ialtrZXldID09PSAnZnVuY3Rpb24nKSB7XG4gICAgLy8gICBldmVudHNbYCR7X2tleVsyXS50b0xvd2VyQ2FzZSgpfSR7a2V5LnN1YnN0cigzKX1gXSA9IG9ialtrZXldO1xuICAgIC8vIH1cbiAgICBlbHNlIHtcbiAgICAgIHJlc3RbX2tleV0gPSBvYmpba2V5XTtcbiAgICB9XG4gIH0pO1xuICBbJ25hdmlnYXRpb24nLCAncGFnaW5hdGlvbicsICdzY3JvbGxiYXInXS5mb3JFYWNoKChrZXkpID0+IHtcbiAgICBpZiAocGFyYW1zW2tleV0gPT09IHRydWUpIHBhcmFtc1trZXldID0ge307XG4gICAgaWYgKHBhcmFtc1trZXldID09PSBmYWxzZSkgZGVsZXRlIHBhcmFtc1trZXldO1xuICB9KTtcblxuICByZXR1cm4geyBwYXJhbXMsIHBhc3NlZFBhcmFtcywgcmVzdCB9O1xufVxuIl19
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+2
View File
@@ -89,6 +89,8 @@ export default {
loopedSlides: null,
loopFillGroupWithBlank: false,
loopPreventsSlide: true,
// rewind
rewind: false,
// Swiping/no swiping
allowSlidePrev: true,
allowSlideNext: true,
+4
View File
@@ -22,5 +22,9 @@ export default function slideNext(speed = this.params.speed, runCallbacks = true
swiper._clientLeft = swiper.$wrapperEl[0].clientLeft;
}
if (params.rewind && swiper.isEnd) {
return swiper.slideTo(0, speed, runCallbacks, internal);
}
return swiper.slideTo(swiper.activeIndex + increment, speed, runCallbacks, internal);
}
+4
View File
@@ -55,5 +55,9 @@ export default function slidePrev(speed = this.params.speed, runCallbacks = true
}
}
if (params.rewind && swiper.isBeginning) {
return swiper.slideTo(swiper.slides.length - 1, speed, runCallbacks, internal);
}
return swiper.slideTo(prevIndex, speed, runCallbacks, internal);
}
+22 -30
View File
@@ -149,40 +149,32 @@ export default function slideTo(index = 0, speed = this.params.speed, runCallbac
return true;
}
swiper.setTransition(speed);
swiper.setTranslate(translate);
swiper.updateActiveIndex(slideIndex);
swiper.updateSlidesClasses();
swiper.emit('beforeTransitionStart', speed, internal);
swiper.transitionStart(runCallbacks, direction);
if (speed === 0) {
swiper.setTransition(0);
swiper.setTranslate(translate);
swiper.updateActiveIndex(slideIndex);
swiper.updateSlidesClasses();
swiper.emit('beforeTransitionStart', speed, internal);
swiper.transitionStart(runCallbacks, direction);
swiper.transitionEnd(runCallbacks, direction);
} else {
swiper.setTransition(speed);
swiper.setTranslate(translate);
swiper.updateActiveIndex(slideIndex);
swiper.updateSlidesClasses();
swiper.emit('beforeTransitionStart', speed, internal);
swiper.transitionStart(runCallbacks, direction);
} else if (!swiper.animating) {
swiper.animating = true;
if (!swiper.animating) {
swiper.animating = true;
if (!swiper.onSlideToWrapperTransitionEnd) {
swiper.onSlideToWrapperTransitionEnd = function transitionEnd(e) {
if (!swiper || swiper.destroyed) return;
if (e.target !== this) return;
swiper.$wrapperEl[0].removeEventListener('transitionend', swiper.onSlideToWrapperTransitionEnd);
swiper.$wrapperEl[0].removeEventListener('webkitTransitionEnd', swiper.onSlideToWrapperTransitionEnd);
swiper.onSlideToWrapperTransitionEnd = null;
delete swiper.onSlideToWrapperTransitionEnd;
swiper.transitionEnd(runCallbacks, direction);
};
}
swiper.$wrapperEl[0].addEventListener('transitionend', swiper.onSlideToWrapperTransitionEnd);
swiper.$wrapperEl[0].addEventListener('webkitTransitionEnd', swiper.onSlideToWrapperTransitionEnd);
if (!swiper.onSlideToWrapperTransitionEnd) {
swiper.onSlideToWrapperTransitionEnd = function transitionEnd(e) {
if (!swiper || swiper.destroyed) return;
if (e.target !== this) return;
swiper.$wrapperEl[0].removeEventListener('transitionend', swiper.onSlideToWrapperTransitionEnd);
swiper.$wrapperEl[0].removeEventListener('webkitTransitionEnd', swiper.onSlideToWrapperTransitionEnd);
swiper.onSlideToWrapperTransitionEnd = null;
delete swiper.onSlideToWrapperTransitionEnd;
swiper.transitionEnd(runCallbacks, direction);
};
}
swiper.$wrapperEl[0].addEventListener('transitionend', swiper.onSlideToWrapperTransitionEnd);
swiper.$wrapperEl[0].addEventListener('webkitTransitionEnd', swiper.onSlideToWrapperTransitionEnd);
}
return true;
+1 -1
View File
@@ -45,5 +45,5 @@ export default function updateAutoHeight(speed) {
} // Update Height
if (newHeight) swiper.$wrapperEl.css('height', `${newHeight}px`);
if (newHeight || newHeight === 0) swiper.$wrapperEl.css('height', `${newHeight}px`);
}
+20 -9
View File
@@ -111,7 +111,7 @@ export default function A11y({
}
function updateNavigation() {
if (swiper.params.loop || !swiper.navigation) return;
if (swiper.params.loop || swiper.params.rewind || !swiper.navigation) return;
const {
$nextEl,
$prevEl
@@ -139,23 +139,34 @@ export default function A11y({
}
function hasPagination() {
return swiper.pagination && swiper.params.pagination.clickable && swiper.pagination.bullets && swiper.pagination.bullets.length;
return swiper.pagination && swiper.pagination.bullets && swiper.pagination.bullets.length;
}
function hasClickablePagination() {
return hasPagination() && swiper.params.pagination.clickable;
}
function updatePagination() {
const params = swiper.params.a11y;
if (!hasPagination()) return;
swiper.pagination.bullets.each(bulletEl => {
const $bulletEl = $(bulletEl);
if (hasPagination()) {
swiper.pagination.bullets.each(bulletEl => {
const $bulletEl = $(bulletEl);
if (swiper.params.pagination.clickable) {
makeElFocusable($bulletEl);
if (!swiper.params.pagination.renderBullet) {
addElRole($bulletEl, 'button');
addElLabel($bulletEl, params.paginationBulletMessage.replace(/\{\{index\}\}/, $bulletEl.index() + 1));
}
});
}
}
if ($bulletEl.is(`.${swiper.params.pagination.bulletActiveClass}`)) {
$bulletEl.attr('aria-current', 'true');
} else {
$bulletEl.removeAttr('aria-current');
}
});
}
const initNavEl = ($el, wrapperId, message) => {
@@ -224,7 +235,7 @@ export default function A11y({
} // Pagination
if (hasPagination()) {
if (hasClickablePagination()) {
swiper.pagination.$el.on('keydown', classesToSelector(swiper.params.pagination.bulletClass), onEnterOrSpaceKey);
}
}
@@ -251,7 +262,7 @@ export default function A11y({
} // Pagination
if (hasPagination()) {
if (hasClickablePagination()) {
swiper.pagination.$el.off('keydown', classesToSelector(swiper.params.pagination.bulletClass), onEnterOrSpaceKey);
}
}
+4 -4
View File
@@ -57,19 +57,19 @@ export default function Navigation({
$nextEl,
$prevEl
} = swiper.navigation;
toggleEl($prevEl, swiper.isBeginning);
toggleEl($nextEl, swiper.isEnd);
toggleEl($prevEl, swiper.isBeginning && !swiper.params.rewind);
toggleEl($nextEl, swiper.isEnd && !swiper.params.rewind);
}
function onPrevClick(e) {
e.preventDefault();
if (swiper.isBeginning && !swiper.params.loop) return;
if (swiper.isBeginning && !swiper.params.loop && !swiper.params.rewind) return;
swiper.slidePrev();
}
function onNextClick(e) {
e.preventDefault();
if (swiper.isEnd && !swiper.params.loop) return;
if (swiper.isEnd && !swiper.params.loop && !swiper.params.rewind) return;
swiper.slideNext();
}
+3 -3
View File
@@ -96,7 +96,7 @@ export default function Pagination({
$el.css(swiper.isHorizontal() ? 'width' : 'height', `${bulletSize * (params.dynamicMainBullets + 4)}px`);
if (params.dynamicMainBullets > 1 && swiper.previousIndex !== undefined) {
dynamicBulletIndex += current - swiper.previousIndex;
dynamicBulletIndex += current - (swiper.previousIndex - swiper.loopedSlides || 0);
if (dynamicBulletIndex > params.dynamicMainBullets - 1) {
dynamicBulletIndex = params.dynamicMainBullets - 1;
@@ -105,7 +105,7 @@ export default function Pagination({
}
}
firstIndex = current - dynamicBulletIndex;
firstIndex = Math.max(current - dynamicBulletIndex, 0);
lastIndex = firstIndex + (Math.min(bullets.length, params.dynamicMainBullets) - 1);
midIndex = (lastIndex + firstIndex) / 2;
}
@@ -149,7 +149,7 @@ export default function Pagination({
}
if (swiper.params.loop) {
if (bulletIndex >= bullets.length - params.dynamicMainBullets) {
if (bulletIndex >= bullets.length) {
for (let i = params.dynamicMainBullets; i >= 0; i -= 1) {
bullets.eq(bullets.length - i).addClass(`${params.bulletActiveClass}-main`);
}
+75 -47
View File
@@ -1,11 +1,43 @@
{
"name": "swiper",
"version": "7.3.1",
"_from": "swiper@^7.3.1",
"_id": "swiper@7.4.1",
"_inBundle": false,
"_integrity": "sha512-dhbL4tpYFvHug1J7GnKElfTi6EYhlZy/vNZRhHkWFyUsWZ1Vovipxj3la5gqllMogygXJMe3zvVv+f6eppvWiA==",
"_location": "/swiper",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "swiper@^7.3.1",
"name": "swiper",
"escapedName": "swiper",
"rawSpec": "^7.3.1",
"saveSpec": null,
"fetchSpec": "^7.3.1"
},
"_requiredBy": [
"/"
],
"_resolved": "https://registry.npmjs.org/swiper/-/swiper-7.4.1.tgz",
"_shasum": "99fc586d1335b45250d2c6b3128dc91f8047d3e7",
"_spec": "swiper@^7.3.1",
"_where": "/mnt/d/WWW/magico.front",
"author": {
"name": "Vladimir Kharlampidi"
},
"bugs": {
"url": "https://github.com/nolimits4web/swiper/issues"
},
"bundleDependencies": false,
"dependencies": {
"dom7": "^4.0.2",
"ssr-window": "^4.0.2"
},
"deprecated": false,
"description": "Most modern mobile touch slider and framework with hardware accelerated transitions",
"typings": "swiper.d.ts",
"type": "module",
"main": "./swiper.esm.js",
"module": "./swiper.esm.js",
"engines": {
"node": ">= 4.7.0"
},
"exports": {
".": "./swiper.esm.js",
"./core": "./swiper.esm.js",
@@ -93,29 +125,17 @@
"./types": "./types/index.d.ts",
"./package.json": "./package.json"
},
"typesVersions": {
"*": {
"angular": [
"angular/swiper_angular.d.ts"
],
"react": [
"react/swiper-react.d.ts"
],
"svelte": [
"svelte/swiper-svelte.d.ts"
],
"vue": [
"vue/swiper-vue.d.ts"
]
"funding": [
{
"type": "patreon",
"url": "https://www.patreon.com/swiperjs"
},
{
"type": "open_collective",
"url": "http://opencollective.com/swiper"
}
},
"scripts": {
"postinstall": "node -e \"try{require('./postinstall')}catch(e){}\""
},
"repository": {
"type": "git",
"url": "https://github.com/nolimits4web/Swiper.git"
},
],
"homepage": "https://swiperjs.com",
"keywords": [
"swiper",
"swipe",
@@ -137,27 +157,35 @@
"svelte",
"slideshow"
],
"author": "Vladimir Kharlampidi",
"license": "MIT",
"bugs": {
"url": "https://github.com/nolimits4web/swiper/issues"
"main": "./swiper.esm.js",
"module": "./swiper.esm.js",
"name": "swiper",
"repository": {
"type": "git",
"url": "git+https://github.com/nolimits4web/Swiper.git"
},
"homepage": "https://swiperjs.com",
"funding": [
{
"type": "patreon",
"url": "https://www.patreon.com/swiperjs"
},
{
"type": "open_collective",
"url": "http://opencollective.com/swiper"
"scripts": {
"postinstall": "node -e \"try{require('./postinstall')}catch(e){}\""
},
"svelte": "./swiper.esm.js",
"type": "module",
"typesVersions": {
"*": {
"angular": [
"angular/swiper_angular.d.ts"
],
"react": [
"react/swiper-react.d.ts"
],
"svelte": [
"svelte/swiper-svelte.d.ts"
],
"vue": [
"vue/swiper-vue.d.ts"
]
}
],
"engines": {
"node": ">= 4.7.0"
},
"dependencies": {
"dom7": "^4.0.1",
"ssr-window": "^4.0.1"
}
"typings": "swiper.d.ts",
"version": "7.4.1"
}
+1 -1
View File
@@ -1,4 +1,4 @@
/* underscore in name -> watch for changes */
const paramsList = ['modules', 'init', '_direction', 'touchEventsTarget', 'initialSlide', '_speed', 'cssMode', 'updateOnWindowResize', 'resizeObserver', 'nested', 'focusableElements', '_enabled', '_width', '_height', 'preventInteractionOnTransition', 'userAgent', 'url', '_edgeSwipeDetection', '_edgeSwipeThreshold', '_freeMode', '_autoHeight', 'setWrapperSize', 'virtualTranslate', '_effect', 'breakpoints', '_spaceBetween', '_slidesPerView', '_grid', '_slidesPerGroup', '_slidesPerGroupSkip', '_slidesPerGroupAuto', '_centeredSlides', '_centeredSlidesBounds', '_slidesOffsetBefore', '_slidesOffsetAfter', 'normalizeSlideIndex', '_centerInsufficientSlides', '_watchOverflow', 'roundLengths', 'touchRatio', 'touchAngle', 'simulateTouch', '_shortSwipes', '_longSwipes', 'longSwipesRatio', 'longSwipesMs', '_followFinger', 'allowTouchMove', '_threshold', 'touchMoveStopPropagation', 'touchStartPreventDefault', 'touchStartForcePreventDefault', 'touchReleaseOnEdges', 'uniqueNavElements', '_resistance', '_resistanceRatio', '_watchSlidesProgress', '_grabCursor', 'preventClicks', 'preventClicksPropagation', '_slideToClickedSlide', '_preloadImages', 'updateOnImagesReady', '_loop', '_loopAdditionalSlides', '_loopedSlides', '_loopFillGroupWithBlank', 'loopPreventsSlide', '_allowSlidePrev', '_allowSlideNext', '_swipeHandler', '_noSwiping', 'noSwipingClass', 'noSwipingSelector', 'passiveListeners', 'containerModifierClass', 'slideClass', 'slideBlankClass', 'slideActiveClass', 'slideDuplicateActiveClass', 'slideVisibleClass', 'slideDuplicateClass', 'slideNextClass', 'slideDuplicateNextClass', 'slidePrevClass', 'slideDuplicatePrevClass', 'wrapperClass', 'runCallbacksOnInit', 'observer', 'observeParents', 'observeSlideChildren', // modules
const paramsList = ['modules', 'init', '_direction', 'touchEventsTarget', 'initialSlide', '_speed', 'cssMode', 'updateOnWindowResize', 'resizeObserver', 'nested', 'focusableElements', '_enabled', '_width', '_height', 'preventInteractionOnTransition', 'userAgent', 'url', '_edgeSwipeDetection', '_edgeSwipeThreshold', '_freeMode', '_autoHeight', 'setWrapperSize', 'virtualTranslate', '_effect', 'breakpoints', '_spaceBetween', '_slidesPerView', '_grid', '_slidesPerGroup', '_slidesPerGroupSkip', '_slidesPerGroupAuto', '_centeredSlides', '_centeredSlidesBounds', '_slidesOffsetBefore', '_slidesOffsetAfter', 'normalizeSlideIndex', '_centerInsufficientSlides', '_watchOverflow', 'roundLengths', 'touchRatio', 'touchAngle', 'simulateTouch', '_shortSwipes', '_longSwipes', 'longSwipesRatio', 'longSwipesMs', '_followFinger', 'allowTouchMove', '_threshold', 'touchMoveStopPropagation', 'touchStartPreventDefault', 'touchStartForcePreventDefault', 'touchReleaseOnEdges', 'uniqueNavElements', '_resistance', '_resistanceRatio', '_watchSlidesProgress', '_grabCursor', 'preventClicks', 'preventClicksPropagation', '_slideToClickedSlide', '_preloadImages', 'updateOnImagesReady', '_loop', '_loopAdditionalSlides', '_loopedSlides', '_loopFillGroupWithBlank', 'loopPreventsSlide', '_rewind', '_allowSlidePrev', '_allowSlideNext', '_swipeHandler', '_noSwiping', 'noSwipingClass', 'noSwipingSelector', 'passiveListeners', 'containerModifierClass', 'slideClass', 'slideBlankClass', 'slideActiveClass', 'slideDuplicateActiveClass', 'slideVisibleClass', 'slideDuplicateClass', 'slideNextClass', 'slideDuplicateNextClass', 'slidePrevClass', 'slideDuplicatePrevClass', 'wrapperClass', 'runCallbacksOnInit', 'observer', 'observeParents', 'observeSlideChildren', // modules
'a11y', 'autoplay', '_controller', 'coverflowEffect', 'cubeEffect', 'fadeEffect', 'flipEffect', 'creativeEffect', 'cardsEffect', 'hashNavigation', 'history', 'keyboard', 'lazy', 'mousewheel', '_navigation', '_pagination', 'parallax', '_scrollbar', '_thumbs', 'virtual', 'zoom'];
export { paramsList };
+3 -3
View File
@@ -51,9 +51,6 @@ interface SwiperProps extends SwiperOptions {
* Event will be fired when lazy loading image will be loaded
*/
onLazyImageReady?: (swiper: SwiperClass, slideEl: HTMLElement, imageEl: HTMLElement) => void;/**
* Event will be fired on mousewheel scroll
*/
onScroll?: (swiper: SwiperClass, event: WheelEvent) => void;/**
* Event will be fired on navigation hide
*/
onNavigationHide?: (swiper: SwiperClass) => void;
@@ -79,6 +76,9 @@ interface SwiperProps extends SwiperOptions {
* Event will be fired on pagination show
*/
onPaginationShow?: (swiper: SwiperClass) => void;/**
* Event will be fired on mousewheel scroll
*/
onScroll?: (swiper: SwiperClass, event: WheelEvent) => void;/**
* Event will be fired on draggable scrollbar drag start
*/
onScrollbarDragStart?: (swiper: SwiperClass, event: MouseEvent | TouchEvent | PointerEvent) => void;

Some files were not shown because too many files have changed in this diff Show More