mirror of https://github.com/snachodog/mybuddy.git
📦 update production static files
And fixes package.json and package-lock.json out of sync
This commit is contained in:
parent
e6107b6f3d
commit
58615fde0a
|
@ -24,18 +24,18 @@
|
||||||
"gulp-spawn": "^1.0.0",
|
"gulp-spawn": "^1.0.0",
|
||||||
"gulp-uglify": "^3.0.2",
|
"gulp-uglify": "^3.0.2",
|
||||||
"jquery": "^3.6.0",
|
"jquery": "^3.6.0",
|
||||||
"moment": "^2.29.3",
|
"moment": "^2.29.4",
|
||||||
"moment-timezone": "^0.5.34",
|
"moment-timezone": "^0.5.34",
|
||||||
"npm-force-resolutions": "^0.0.10",
|
"npm-force-resolutions": "^0.0.10",
|
||||||
"plotly.js": "^2.12.1",
|
"plotly.js": "^2.12.1",
|
||||||
"popper.js": "^1.16.1",
|
"popper.js": "^1.16.1",
|
||||||
"pulltorefreshjs": "^0.1.22",
|
"pulltorefreshjs": "^0.1.22",
|
||||||
"pump": "^3.0.0",
|
"pump": "^3.0.0",
|
||||||
"sass": "^1.52.1",
|
"sass": "^1.53.0",
|
||||||
"stylelint": "^14.8.5",
|
"stylelint": "^14.9.1",
|
||||||
"stylelint-config-recommended-scss": "^6.0.0",
|
"stylelint-config-recommended-scss": "^7.0.0",
|
||||||
"stylelint-order": "^5.0.0",
|
"stylelint-order": "^5.0.0",
|
||||||
"stylelint-scss": "^4.2.0",
|
"stylelint-scss": "^4.3.0",
|
||||||
"tempusdominus-bootstrap-4": "5.39.2",
|
"tempusdominus-bootstrap-4": "5.39.2",
|
||||||
"tempusdominus-core": "5.19.3"
|
"tempusdominus-core": "5.19.3"
|
||||||
}
|
}
|
||||||
|
@ -5649,9 +5649,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/moment": {
|
"node_modules/moment": {
|
||||||
"version": "2.29.3",
|
"version": "2.29.4",
|
||||||
"resolved": "https://registry.npmjs.org/moment/-/moment-2.29.3.tgz",
|
"resolved": "https://registry.npmjs.org/moment/-/moment-2.29.4.tgz",
|
||||||
"integrity": "sha512-c6YRvhEo//6T2Jz/vVtYzqBzwvPT95JBQ+smCytzf7c50oMZRsR/a4w88aD34I+/QVSfnoAnSBFPJHItlOMJVw==",
|
"integrity": "sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "*"
|
"node": "*"
|
||||||
|
@ -7563,9 +7563,9 @@
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"node_modules/sass": {
|
"node_modules/sass": {
|
||||||
"version": "1.52.3",
|
"version": "1.53.0",
|
||||||
"resolved": "https://registry.npmjs.org/sass/-/sass-1.52.3.tgz",
|
"resolved": "https://registry.npmjs.org/sass/-/sass-1.53.0.tgz",
|
||||||
"integrity": "sha512-LNNPJ9lafx+j1ArtA7GyEJm9eawXN8KlA1+5dF6IZyoONg1Tyo/g+muOsENWJH/2Q1FHbbV4UwliU0cXMa/VIA==",
|
"integrity": "sha512-zb/oMirbKhUgRQ0/GFz8TSAwRq2IlR29vOUJZOx0l8sV+CkHUfHa4u5nqrG+1VceZp7Jfj59SVW9ogdhTvJDcQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"chokidar": ">=3.0.0 <4.0.0",
|
"chokidar": ">=3.0.0 <4.0.0",
|
||||||
|
@ -8304,22 +8304,22 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/stylelint-config-recommended": {
|
"node_modules/stylelint-config-recommended": {
|
||||||
"version": "7.0.0",
|
"version": "8.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-7.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-8.0.0.tgz",
|
||||||
"integrity": "sha512-yGn84Bf/q41J4luis1AZ95gj0EQwRX8lWmGmBwkwBNSkpGSpl66XcPTulxGa/Z91aPoNGuIGBmFkcM1MejMo9Q==",
|
"integrity": "sha512-IK6dWvE000+xBv9jbnHOnBq01gt6HGVB2ZTsot+QsMpe82doDQ9hvplxfv4YnpEuUwVGGd9y6nbaAnhrjcxhZQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"stylelint": "^14.4.0"
|
"stylelint": "^14.8.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/stylelint-config-recommended-scss": {
|
"node_modules/stylelint-config-recommended-scss": {
|
||||||
"version": "6.0.0",
|
"version": "7.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/stylelint-config-recommended-scss/-/stylelint-config-recommended-scss-6.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/stylelint-config-recommended-scss/-/stylelint-config-recommended-scss-7.0.0.tgz",
|
||||||
"integrity": "sha512-6QOe2/OzXV2AP5FE12A7+qtKdZik7Saf42SMMl84ksVBBPpTdrV+9HaCbPYiRMiwELY9hXCVdH4wlJ+YJb5eig==",
|
"integrity": "sha512-rGz1J4rMAyJkvoJW4hZasuQBB7y9KIrShb20l9DVEKKZSEi1HAy0vuNlR8HyCKy/jveb/BdaQFcoiYnmx4HoiA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"postcss-scss": "^4.0.2",
|
"postcss-scss": "^4.0.2",
|
||||||
"stylelint-config-recommended": "^7.0.0",
|
"stylelint-config-recommended": "^8.0.0",
|
||||||
"stylelint-scss": "^4.0.0"
|
"stylelint-scss": "^4.0.0"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
|
@ -8340,9 +8340,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/stylelint-scss": {
|
"node_modules/stylelint-scss": {
|
||||||
"version": "4.2.0",
|
"version": "4.3.0",
|
||||||
"resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-4.2.0.tgz",
|
"resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-4.3.0.tgz",
|
||||||
"integrity": "sha512-HHHMVKJJ5RM9pPIbgJ/XA67h9H0407G68Rm69H4fzFbFkyDMcTV1Byep3qdze5+fJ3c0U7mJrbj6S0Fg072uZA==",
|
"integrity": "sha512-GvSaKCA3tipzZHoz+nNO7S02ZqOsdBzMiCx9poSmLlb3tdJlGddEX/8QzCOD8O7GQan9bjsvLMsO5xiw6IhhIQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"lodash": "^4.17.21",
|
"lodash": "^4.17.21",
|
||||||
|
@ -14340,9 +14340,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"moment": {
|
"moment": {
|
||||||
"version": "2.29.3",
|
"version": "2.29.4",
|
||||||
"resolved": "https://registry.npmjs.org/moment/-/moment-2.29.3.tgz",
|
"resolved": "https://registry.npmjs.org/moment/-/moment-2.29.4.tgz",
|
||||||
"integrity": "sha512-c6YRvhEo//6T2Jz/vVtYzqBzwvPT95JBQ+smCytzf7c50oMZRsR/a4w88aD34I+/QVSfnoAnSBFPJHItlOMJVw==",
|
"integrity": "sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"moment-timezone": {
|
"moment-timezone": {
|
||||||
|
@ -15846,9 +15846,9 @@
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"sass": {
|
"sass": {
|
||||||
"version": "1.52.3",
|
"version": "1.53.0",
|
||||||
"resolved": "https://registry.npmjs.org/sass/-/sass-1.52.3.tgz",
|
"resolved": "https://registry.npmjs.org/sass/-/sass-1.53.0.tgz",
|
||||||
"integrity": "sha512-LNNPJ9lafx+j1ArtA7GyEJm9eawXN8KlA1+5dF6IZyoONg1Tyo/g+muOsENWJH/2Q1FHbbV4UwliU0cXMa/VIA==",
|
"integrity": "sha512-zb/oMirbKhUgRQ0/GFz8TSAwRq2IlR29vOUJZOx0l8sV+CkHUfHa4u5nqrG+1VceZp7Jfj59SVW9ogdhTvJDcQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"chokidar": ">=3.0.0 <4.0.0",
|
"chokidar": ">=3.0.0 <4.0.0",
|
||||||
|
@ -16498,20 +16498,20 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"stylelint-config-recommended": {
|
"stylelint-config-recommended": {
|
||||||
"version": "7.0.0",
|
"version": "8.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-7.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-8.0.0.tgz",
|
||||||
"integrity": "sha512-yGn84Bf/q41J4luis1AZ95gj0EQwRX8lWmGmBwkwBNSkpGSpl66XcPTulxGa/Z91aPoNGuIGBmFkcM1MejMo9Q==",
|
"integrity": "sha512-IK6dWvE000+xBv9jbnHOnBq01gt6HGVB2ZTsot+QsMpe82doDQ9hvplxfv4YnpEuUwVGGd9y6nbaAnhrjcxhZQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {}
|
"requires": {}
|
||||||
},
|
},
|
||||||
"stylelint-config-recommended-scss": {
|
"stylelint-config-recommended-scss": {
|
||||||
"version": "6.0.0",
|
"version": "7.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/stylelint-config-recommended-scss/-/stylelint-config-recommended-scss-6.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/stylelint-config-recommended-scss/-/stylelint-config-recommended-scss-7.0.0.tgz",
|
||||||
"integrity": "sha512-6QOe2/OzXV2AP5FE12A7+qtKdZik7Saf42SMMl84ksVBBPpTdrV+9HaCbPYiRMiwELY9hXCVdH4wlJ+YJb5eig==",
|
"integrity": "sha512-rGz1J4rMAyJkvoJW4hZasuQBB7y9KIrShb20l9DVEKKZSEi1HAy0vuNlR8HyCKy/jveb/BdaQFcoiYnmx4HoiA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"postcss-scss": "^4.0.2",
|
"postcss-scss": "^4.0.2",
|
||||||
"stylelint-config-recommended": "^7.0.0",
|
"stylelint-config-recommended": "^8.0.0",
|
||||||
"stylelint-scss": "^4.0.0"
|
"stylelint-scss": "^4.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -16526,9 +16526,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"stylelint-scss": {
|
"stylelint-scss": {
|
||||||
"version": "4.2.0",
|
"version": "4.3.0",
|
||||||
"resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-4.2.0.tgz",
|
"resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-4.3.0.tgz",
|
||||||
"integrity": "sha512-HHHMVKJJ5RM9pPIbgJ/XA67h9H0407G68Rm69H4fzFbFkyDMcTV1Byep3qdze5+fJ3c0U7mJrbj6S0Fg072uZA==",
|
"integrity": "sha512-GvSaKCA3tipzZHoz+nNO7S02ZqOsdBzMiCx9poSmLlb3tdJlGddEX/8QzCOD8O7GQan9bjsvLMsO5xiw6IhhIQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"lodash": "^4.17.21",
|
"lodash": "^4.17.21",
|
||||||
|
|
Binary file not shown.
|
@ -13,6 +13,12 @@
|
||||||
navLink.tabIndex = 0;
|
navLink.tabIndex = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
function disableNavFilterTabbing() {
|
||||||
|
document.getElementById('nav-filter').tabIndex = -1;
|
||||||
|
}
|
||||||
|
function enableNavFilterTabbing() {
|
||||||
|
document.getElementById('nav-filter').tabIndex = 0;
|
||||||
|
}
|
||||||
|
|
||||||
const main = document.getElementById('main');
|
const main = document.getElementById('main');
|
||||||
let navSidebarIsOpen = localStorage.getItem('django.admin.navSidebarIsOpen');
|
let navSidebarIsOpen = localStorage.getItem('django.admin.navSidebarIsOpen');
|
||||||
|
@ -21,6 +27,7 @@
|
||||||
}
|
}
|
||||||
if (navSidebarIsOpen === 'false') {
|
if (navSidebarIsOpen === 'false') {
|
||||||
disableNavLinkTabbing();
|
disableNavLinkTabbing();
|
||||||
|
disableNavFilterTabbing();
|
||||||
}
|
}
|
||||||
main.classList.toggle('shifted', navSidebarIsOpen === 'true');
|
main.classList.toggle('shifted', navSidebarIsOpen === 'true');
|
||||||
|
|
||||||
|
@ -28,9 +35,11 @@
|
||||||
if (navSidebarIsOpen === 'true') {
|
if (navSidebarIsOpen === 'true') {
|
||||||
navSidebarIsOpen = 'false';
|
navSidebarIsOpen = 'false';
|
||||||
disableNavLinkTabbing();
|
disableNavLinkTabbing();
|
||||||
|
disableNavFilterTabbing();
|
||||||
} else {
|
} else {
|
||||||
navSidebarIsOpen = 'true';
|
navSidebarIsOpen = 'true';
|
||||||
enableNavLinkTabbing();
|
enableNavLinkTabbing();
|
||||||
|
enableNavFilterTabbing();
|
||||||
}
|
}
|
||||||
localStorage.setItem('django.admin.navSidebarIsOpen', navSidebarIsOpen);
|
localStorage.setItem('django.admin.navSidebarIsOpen', navSidebarIsOpen);
|
||||||
main.classList.toggle('shifted');
|
main.classList.toggle('shifted');
|
Binary file not shown.
|
@ -13,6 +13,12 @@
|
||||||
navLink.tabIndex = 0;
|
navLink.tabIndex = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
function disableNavFilterTabbing() {
|
||||||
|
document.getElementById('nav-filter').tabIndex = -1;
|
||||||
|
}
|
||||||
|
function enableNavFilterTabbing() {
|
||||||
|
document.getElementById('nav-filter').tabIndex = 0;
|
||||||
|
}
|
||||||
|
|
||||||
const main = document.getElementById('main');
|
const main = document.getElementById('main');
|
||||||
let navSidebarIsOpen = localStorage.getItem('django.admin.navSidebarIsOpen');
|
let navSidebarIsOpen = localStorage.getItem('django.admin.navSidebarIsOpen');
|
||||||
|
@ -21,6 +27,7 @@
|
||||||
}
|
}
|
||||||
if (navSidebarIsOpen === 'false') {
|
if (navSidebarIsOpen === 'false') {
|
||||||
disableNavLinkTabbing();
|
disableNavLinkTabbing();
|
||||||
|
disableNavFilterTabbing();
|
||||||
}
|
}
|
||||||
main.classList.toggle('shifted', navSidebarIsOpen === 'true');
|
main.classList.toggle('shifted', navSidebarIsOpen === 'true');
|
||||||
|
|
||||||
|
@ -28,9 +35,11 @@
|
||||||
if (navSidebarIsOpen === 'true') {
|
if (navSidebarIsOpen === 'true') {
|
||||||
navSidebarIsOpen = 'false';
|
navSidebarIsOpen = 'false';
|
||||||
disableNavLinkTabbing();
|
disableNavLinkTabbing();
|
||||||
|
disableNavFilterTabbing();
|
||||||
} else {
|
} else {
|
||||||
navSidebarIsOpen = 'true';
|
navSidebarIsOpen = 'true';
|
||||||
enableNavLinkTabbing();
|
enableNavLinkTabbing();
|
||||||
|
enableNavFilterTabbing();
|
||||||
}
|
}
|
||||||
localStorage.setItem('django.admin.navSidebarIsOpen', navSidebarIsOpen);
|
localStorage.setItem('django.admin.navSidebarIsOpen', navSidebarIsOpen);
|
||||||
main.classList.toggle('shifted');
|
main.classList.toggle('shifted');
|
||||||
|
|
Binary file not shown.
|
@ -75,9 +75,14 @@ BabyBuddy.PullToRefresh = function(ptr) {
|
||||||
/**
|
/**
|
||||||
* Fix for duplicate form submission from double pressing submit
|
* Fix for duplicate form submission from double pressing submit
|
||||||
*/
|
*/
|
||||||
|
function preventDoubleSubmit() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
$('form').off("submit", preventDoubleSubmit);
|
||||||
$("form").on("submit", function() {
|
$("form").on("submit", function() {
|
||||||
$(this).find("button[type='submit']").prop('disabled', true);
|
$(this).on("submit", preventDoubleSubmit);
|
||||||
});
|
});
|
||||||
|
|
||||||
/* Baby Buddy Timer
|
/* Baby Buddy Timer
|
||||||
*
|
*
|
||||||
* Uses a supplied ID to run a timer. The element using the ID must have
|
* Uses a supplied ID to run a timer. The element using the ID must have
|
Binary file not shown.
Binary file not shown.
|
@ -75,9 +75,14 @@ BabyBuddy.PullToRefresh = function(ptr) {
|
||||||
/**
|
/**
|
||||||
* Fix for duplicate form submission from double pressing submit
|
* Fix for duplicate form submission from double pressing submit
|
||||||
*/
|
*/
|
||||||
|
function preventDoubleSubmit() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
$('form').off("submit", preventDoubleSubmit);
|
||||||
$("form").on("submit", function() {
|
$("form").on("submit", function() {
|
||||||
$(this).find("button[type='submit']").prop('disabled', true);
|
$(this).on("submit", preventDoubleSubmit);
|
||||||
});
|
});
|
||||||
|
|
||||||
/* Baby Buddy Timer
|
/* Baby Buddy Timer
|
||||||
*
|
*
|
||||||
* Uses a supplied ID to run a timer. The element using the ID must have
|
* Uses a supplied ID to run a timer. The element using the ID must have
|
||||||
|
|
Binary file not shown.
|
@ -18279,7 +18279,7 @@ return Popper;
|
||||||
|
|
||||||
|
|
||||||
//! moment.js
|
//! moment.js
|
||||||
//! version : 2.29.3
|
//! version : 2.29.4
|
||||||
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
||||||
//! license : MIT
|
//! license : MIT
|
||||||
//! momentjs.com
|
//! momentjs.com
|
||||||
|
@ -20734,7 +20734,7 @@ return Popper;
|
||||||
function preprocessRFC2822(s) {
|
function preprocessRFC2822(s) {
|
||||||
// Remove comments and folding whitespace and replace multiple-spaces with a single space
|
// Remove comments and folding whitespace and replace multiple-spaces with a single space
|
||||||
return s
|
return s
|
||||||
.replace(/\([^)]*\)|[\n\t]/g, ' ')
|
.replace(/\([^()]*\)|[\n\t]/g, ' ')
|
||||||
.replace(/(\s\s+)/g, ' ')
|
.replace(/(\s\s+)/g, ' ')
|
||||||
.replace(/^\s\s*/, '')
|
.replace(/^\s\s*/, '')
|
||||||
.replace(/\s\s*$/, '');
|
.replace(/\s\s*$/, '');
|
||||||
|
@ -23915,7 +23915,7 @@ return Popper;
|
||||||
|
|
||||||
//! moment.js
|
//! moment.js
|
||||||
|
|
||||||
hooks.version = '2.29.3';
|
hooks.version = '2.29.4';
|
||||||
|
|
||||||
setHookCallback(createLocal);
|
setHookCallback(createLocal);
|
||||||
|
|
Binary file not shown.
|
@ -18279,7 +18279,7 @@ return Popper;
|
||||||
|
|
||||||
|
|
||||||
//! moment.js
|
//! moment.js
|
||||||
//! version : 2.29.3
|
//! version : 2.29.4
|
||||||
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
||||||
//! license : MIT
|
//! license : MIT
|
||||||
//! momentjs.com
|
//! momentjs.com
|
||||||
|
@ -20734,7 +20734,7 @@ return Popper;
|
||||||
function preprocessRFC2822(s) {
|
function preprocessRFC2822(s) {
|
||||||
// Remove comments and folding whitespace and replace multiple-spaces with a single space
|
// Remove comments and folding whitespace and replace multiple-spaces with a single space
|
||||||
return s
|
return s
|
||||||
.replace(/\([^)]*\)|[\n\t]/g, ' ')
|
.replace(/\([^()]*\)|[\n\t]/g, ' ')
|
||||||
.replace(/(\s\s+)/g, ' ')
|
.replace(/(\s\s+)/g, ' ')
|
||||||
.replace(/^\s\s*/, '')
|
.replace(/^\s\s*/, '')
|
||||||
.replace(/\s\s*$/, '');
|
.replace(/\s\s*$/, '');
|
||||||
|
@ -23915,7 +23915,7 @@ return Popper;
|
||||||
|
|
||||||
//! moment.js
|
//! moment.js
|
||||||
|
|
||||||
hooks.version = '2.29.3';
|
hooks.version = '2.29.4';
|
||||||
|
|
||||||
setHookCallback(createLocal);
|
setHookCallback(createLocal);
|
||||||
|
|
||||||
|
|
Binary file not shown.
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue