Boolean field labels are no longer clickable so they can't be accidentally toggle the field value

This commit is contained in:
Nicholas Trecina 2021-01-18 13:47:26 -07:00 committed by Christopher Charbonneau Wells
parent 448234abc3
commit f5d523ba80
51 changed files with 262 additions and 256 deletions

View File

@ -30,6 +30,10 @@
} }
} }
.boolean-label {
pointer-events: none;
}
// Set default text color for datetime picker. // Set default text color for datetime picker.
.bootstrap-datetimepicker-widget { .bootstrap-datetimepicker-widget {
color: $gray-400; color: $gray-400;

View File

@ -1,6 +1,6 @@
{% load widget_tweaks %} {% load widget_tweaks %}
<label for="id_{{ field.name }}" class="col-sm-2 col-form-label"> <label for="id_{{ field.name }}" class="col-sm-2 col-form-label{% if field|field_type == 'booleanfield' %} boolean-label{% endif %}">
{% if field|field_type != "booleanfield" %} {% if field|field_type != "booleanfield" %}
{{ field.label }} {{ field.label }}
{% endif %} {% endif %}

View File

@ -1,8 +1,14 @@
/* CHANGELISTS */ /* CHANGELISTS */
#changelist { #changelist {
position: relative; display: flex;
width: 100%; align-items: flex-start;
justify-content: space-between;
}
#changelist .changelist-form-container {
flex: 1 1 auto;
min-width: 0;
} }
#changelist table { #changelist table {
@ -21,7 +27,6 @@
.change-list .filtered .results, .change-list .filtered .paginator, .change-list .filtered .results, .change-list .filtered .paginator,
.filtered #toolbar, .filtered div.xfull { .filtered #toolbar, .filtered div.xfull {
margin-right: 280px;
width: auto; width: auto;
} }
@ -30,7 +35,8 @@
} }
#changelist-form .results { #changelist-form .results {
overflow-x: auto; overflow-x: auto;
width: 100%;
} }
#changelist .toplinks { #changelist .toplinks {
@ -67,7 +73,7 @@
/* TOOLBAR */ /* TOOLBAR */
#changelist #toolbar { #toolbar {
padding: 8px 10px; padding: 8px 10px;
margin-bottom: 15px; margin-bottom: 15px;
border-top: 1px solid #eee; border-top: 1px solid #eee;
@ -76,27 +82,28 @@
color: #666; color: #666;
} }
#changelist #toolbar form input { #toolbar form input {
border-radius: 4px; border-radius: 4px;
font-size: 14px; font-size: 14px;
padding: 5px; padding: 5px;
color: #333; color: #333;
} }
#changelist #toolbar form #searchbar { #toolbar #searchbar {
height: 19px; height: 19px;
border: 1px solid #ccc; border: 1px solid #ccc;
padding: 2px 5px; padding: 2px 5px;
margin: 0; margin: 0;
vertical-align: top; vertical-align: top;
font-size: 13px; font-size: 13px;
max-width: 100%;
} }
#changelist #toolbar form #searchbar:focus { #toolbar #searchbar:focus {
border-color: #999; border-color: #999;
} }
#changelist #toolbar form input[type="submit"] { #toolbar form input[type="submit"] {
border: 1px solid #ccc; border: 1px solid #ccc;
font-size: 13px; font-size: 13px;
padding: 4px 8px; padding: 4px 8px;
@ -108,12 +115,12 @@
color: #333; color: #333;
} }
#changelist #toolbar form input[type="submit"]:focus, #toolbar form input[type="submit"]:focus,
#changelist #toolbar form input[type="submit"]:hover { #toolbar form input[type="submit"]:hover {
border-color: #999; border-color: #999;
} }
#changelist #changelist-search img { #changelist-search img {
vertical-align: middle; vertical-align: middle;
margin-right: 4px; margin-right: 4px;
} }
@ -121,14 +128,11 @@
/* FILTER COLUMN */ /* FILTER COLUMN */
#changelist-filter { #changelist-filter {
position: absolute; order: 1;
top: 0;
right: 0;
z-index: 1000;
width: 240px; width: 240px;
background: #f8f8f8; background: #f8f8f8;
border-left: none; border-left: none;
margin: 0; margin: 0 0 0 30px;
} }
#changelist-filter h2 { #changelist-filter h2 {
@ -227,6 +231,7 @@
line-height: 22px; line-height: 22px;
margin: 0; margin: 0;
border-top: 1px solid #ddd; border-top: 1px solid #ddd;
width: 100%;
} }
.paginator a:link, .paginator a:visited { .paginator a:link, .paginator a:visited {
@ -266,7 +271,6 @@
/* ACTIONS */ /* ACTIONS */
.filtered .actions { .filtered .actions {
margin-right: 280px;
border-right: none; border-right: none;
} }
@ -286,6 +290,7 @@
border-bottom: none; border-bottom: none;
line-height: 24px; line-height: 24px;
color: #999; color: #999;
width: 100%;
} }
#changelist .actions.selected { #changelist .actions.selected {

Binary file not shown.

View File

@ -1,8 +1,14 @@
/* CHANGELISTS */ /* CHANGELISTS */
#changelist { #changelist {
position: relative; display: flex;
width: 100%; align-items: flex-start;
justify-content: space-between;
}
#changelist .changelist-form-container {
flex: 1 1 auto;
min-width: 0;
} }
#changelist table { #changelist table {
@ -21,7 +27,6 @@
.change-list .filtered .results, .change-list .filtered .paginator, .change-list .filtered .results, .change-list .filtered .paginator,
.filtered #toolbar, .filtered div.xfull { .filtered #toolbar, .filtered div.xfull {
margin-right: 280px;
width: auto; width: auto;
} }
@ -30,7 +35,8 @@
} }
#changelist-form .results { #changelist-form .results {
overflow-x: auto; overflow-x: auto;
width: 100%;
} }
#changelist .toplinks { #changelist .toplinks {
@ -67,7 +73,7 @@
/* TOOLBAR */ /* TOOLBAR */
#changelist #toolbar { #toolbar {
padding: 8px 10px; padding: 8px 10px;
margin-bottom: 15px; margin-bottom: 15px;
border-top: 1px solid #eee; border-top: 1px solid #eee;
@ -76,27 +82,28 @@
color: #666; color: #666;
} }
#changelist #toolbar form input { #toolbar form input {
border-radius: 4px; border-radius: 4px;
font-size: 14px; font-size: 14px;
padding: 5px; padding: 5px;
color: #333; color: #333;
} }
#changelist #toolbar form #searchbar { #toolbar #searchbar {
height: 19px; height: 19px;
border: 1px solid #ccc; border: 1px solid #ccc;
padding: 2px 5px; padding: 2px 5px;
margin: 0; margin: 0;
vertical-align: top; vertical-align: top;
font-size: 13px; font-size: 13px;
max-width: 100%;
} }
#changelist #toolbar form #searchbar:focus { #toolbar #searchbar:focus {
border-color: #999; border-color: #999;
} }
#changelist #toolbar form input[type="submit"] { #toolbar form input[type="submit"] {
border: 1px solid #ccc; border: 1px solid #ccc;
font-size: 13px; font-size: 13px;
padding: 4px 8px; padding: 4px 8px;
@ -108,12 +115,12 @@
color: #333; color: #333;
} }
#changelist #toolbar form input[type="submit"]:focus, #toolbar form input[type="submit"]:focus,
#changelist #toolbar form input[type="submit"]:hover { #toolbar form input[type="submit"]:hover {
border-color: #999; border-color: #999;
} }
#changelist #changelist-search img { #changelist-search img {
vertical-align: middle; vertical-align: middle;
margin-right: 4px; margin-right: 4px;
} }
@ -121,14 +128,11 @@
/* FILTER COLUMN */ /* FILTER COLUMN */
#changelist-filter { #changelist-filter {
position: absolute; order: 1;
top: 0;
right: 0;
z-index: 1000;
width: 240px; width: 240px;
background: #f8f8f8; background: #f8f8f8;
border-left: none; border-left: none;
margin: 0; margin: 0 0 0 30px;
} }
#changelist-filter h2 { #changelist-filter h2 {
@ -227,6 +231,7 @@
line-height: 22px; line-height: 22px;
margin: 0; margin: 0;
border-top: 1px solid #ddd; border-top: 1px solid #ddd;
width: 100%;
} }
.paginator a:link, .paginator a:visited { .paginator a:link, .paginator a:visited {
@ -266,7 +271,6 @@
/* ACTIONS */ /* ACTIONS */
.filtered .actions { .filtered .actions {
margin-right: 280px;
border-right: none; border-right: none;
} }
@ -286,6 +290,7 @@
border-bottom: none; border-bottom: none;
line-height: 24px; line-height: 24px;
color: #999; color: #999;
width: 100%;
} }
#changelist .actions.selected { #changelist .actions.selected {

Binary file not shown.

View File

@ -430,6 +430,7 @@ body.popup .submit-row {
.inline-related.tabular fieldset.module table { .inline-related.tabular fieldset.module table {
width: 100%; width: 100%;
overflow-x: scroll;
} }
.last-related fieldset { .last-related fieldset {

View File

@ -430,6 +430,7 @@ body.popup .submit-row {
.inline-related.tabular fieldset.module table { .inline-related.tabular fieldset.module table {
width: 100%; width: 100%;
overflow-x: scroll;
} }
.last-related fieldset { .last-related fieldset {

Binary file not shown.

View File

@ -71,6 +71,7 @@
#nav-sidebar .module th { #nav-sidebar .module th {
width: 100%; width: 100%;
overflow-wrap: anywhere;
} }
#nav-sidebar .module th, #nav-sidebar .module th,
@ -78,6 +79,10 @@
padding-left: 16px; padding-left: 16px;
} }
#nav-sidebar .module td {
white-space: nowrap;
}
[dir="rtl"] #nav-sidebar .module th, [dir="rtl"] #nav-sidebar .module th,
[dir="rtl"] #nav-sidebar .module caption { [dir="rtl"] #nav-sidebar .module caption {
padding-left: 8px; padding-left: 8px;
@ -94,8 +99,21 @@
background: #ffc; background: #ffc;
} }
.main > #nav-sidebar + .content {
max-width: calc(100% - 23px);
}
.main.shifted > #nav-sidebar + .content {
max-width: calc(100% - 299px);
}
@media (max-width: 767px) { @media (max-width: 767px) {
#nav-sidebar, #toggle-nav-sidebar { #nav-sidebar, #toggle-nav-sidebar {
display: none; display: none;
} }
.main > #nav-sidebar + .content,
.main.shifted > #nav-sidebar + .content {
max-width: 100%;
}
} }

Binary file not shown.

View File

@ -71,6 +71,7 @@
#nav-sidebar .module th { #nav-sidebar .module th {
width: 100%; width: 100%;
overflow-wrap: anywhere;
} }
#nav-sidebar .module th, #nav-sidebar .module th,
@ -78,6 +79,10 @@
padding-left: 16px; padding-left: 16px;
} }
#nav-sidebar .module td {
white-space: nowrap;
}
[dir="rtl"] #nav-sidebar .module th, [dir="rtl"] #nav-sidebar .module th,
[dir="rtl"] #nav-sidebar .module caption { [dir="rtl"] #nav-sidebar .module caption {
padding-left: 8px; padding-left: 8px;
@ -94,8 +99,21 @@
background: #ffc; background: #ffc;
} }
.main > #nav-sidebar + .content {
max-width: calc(100% - 23px);
}
.main.shifted > #nav-sidebar + .content {
max-width: calc(100% - 299px);
}
@media (max-width: 767px) { @media (max-width: 767px) {
#nav-sidebar, #toggle-nav-sidebar { #nav-sidebar, #toggle-nav-sidebar {
display: none; display: none;
} }
.main > #nav-sidebar + .content,
.main.shifted > #nav-sidebar + .content {
max-width: 100%;
}
} }

Binary file not shown.

View File

@ -93,14 +93,14 @@ input[type="submit"], button {
/* Changelist */ /* Changelist */
#changelist #toolbar { #toolbar {
border: none; border: none;
padding: 15px; padding: 15px;
} }
#changelist-search > div { #changelist-search > div {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: nowrap;
max-width: 480px; max-width: 480px;
} }
@ -108,15 +108,20 @@ input[type="submit"], button {
line-height: 22px; line-height: 22px;
} }
#changelist #toolbar form #searchbar { #toolbar form #searchbar {
flex: 1 0 auto; flex: 1 0 auto;
width: 0; width: 0;
height: 22px; height: 22px;
margin: 0 10px 0 6px; margin: 0 10px 0 6px;
} }
#toolbar form input[type=submit] {
flex: 0 1 auto;
}
#changelist-search .quiet { #changelist-search .quiet {
width: 100%; width: 0;
flex: 1 0 auto;
margin: 5px 0 0 25px; margin: 5px 0 0 25px;
} }
@ -159,9 +164,6 @@ input[type="submit"], button {
.change-list .filtered .paginator, .change-list .filtered .paginator,
.filtered #toolbar, .filtered #toolbar,
.filtered .actions, .filtered .actions,
.filtered div.xfull {
margin-right: 230px;
}
#changelist .paginator { #changelist .paginator {
border-top-color: #eee; border-top-color: #eee;
@ -215,7 +217,7 @@ input[type="submit"], button {
} }
textarea { textarea {
max-width: 518px; max-width: 100%;
max-height: 120px; max-height: 120px;
} }
@ -500,25 +502,16 @@ input[type="submit"], button {
/* Changelist */ /* Changelist */
#changelist { #changelist {
display: flex; align-items: stretch;
flex-direction: column; flex-direction: column;
} }
#changelist #toolbar { #toolbar {
order: 1;
padding: 10px; padding: 10px;
} }
#changelist .xfull {
order: 2;
}
#changelist-form {
order: 3;
}
#changelist-filter { #changelist-filter {
order: 4; margin-left: 0;
} }
#changelist .actions label { #changelist .actions label {
@ -534,11 +527,6 @@ input[type="submit"], button {
flex: 1 0 100%; flex: 1 0 100%;
} }
.change-list .filtered .results, .change-list .filtered .paginator,
.filtered #toolbar, .filtered .actions, .filtered div.xfull {
margin-right: 0;
}
#changelist-filter { #changelist-filter {
position: static; position: static;
width: auto; width: auto;

Binary file not shown.

View File

@ -93,14 +93,14 @@ input[type="submit"], button {
/* Changelist */ /* Changelist */
#changelist #toolbar { #toolbar {
border: none; border: none;
padding: 15px; padding: 15px;
} }
#changelist-search > div { #changelist-search > div {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: nowrap;
max-width: 480px; max-width: 480px;
} }
@ -108,15 +108,20 @@ input[type="submit"], button {
line-height: 22px; line-height: 22px;
} }
#changelist #toolbar form #searchbar { #toolbar form #searchbar {
flex: 1 0 auto; flex: 1 0 auto;
width: 0; width: 0;
height: 22px; height: 22px;
margin: 0 10px 0 6px; margin: 0 10px 0 6px;
} }
#toolbar form input[type=submit] {
flex: 0 1 auto;
}
#changelist-search .quiet { #changelist-search .quiet {
width: 100%; width: 0;
flex: 1 0 auto;
margin: 5px 0 0 25px; margin: 5px 0 0 25px;
} }
@ -159,9 +164,6 @@ input[type="submit"], button {
.change-list .filtered .paginator, .change-list .filtered .paginator,
.filtered #toolbar, .filtered #toolbar,
.filtered .actions, .filtered .actions,
.filtered div.xfull {
margin-right: 230px;
}
#changelist .paginator { #changelist .paginator {
border-top-color: #eee; border-top-color: #eee;
@ -215,7 +217,7 @@ input[type="submit"], button {
} }
textarea { textarea {
max-width: 518px; max-width: 100%;
max-height: 120px; max-height: 120px;
} }
@ -500,25 +502,16 @@ input[type="submit"], button {
/* Changelist */ /* Changelist */
#changelist { #changelist {
display: flex; align-items: stretch;
flex-direction: column; flex-direction: column;
} }
#changelist #toolbar { #toolbar {
order: 1;
padding: 10px; padding: 10px;
} }
#changelist .xfull {
order: 2;
}
#changelist-form {
order: 3;
}
#changelist-filter { #changelist-filter {
order: 4; margin-left: 0;
} }
#changelist .actions label { #changelist .actions label {
@ -534,11 +527,6 @@ input[type="submit"], button {
flex: 1 0 100%; flex: 1 0 100%;
} }
.change-list .filtered .results, .change-list .filtered .paginator,
.filtered #toolbar, .filtered .actions, .filtered div.xfull {
margin-right: 0;
}
#changelist-filter { #changelist-filter {
position: static; position: static;
width: auto; width: auto;

Binary file not shown.

View File

@ -23,9 +23,9 @@
[dir="rtl"] .change-list .filtered .paginator, [dir="rtl"] .change-list .filtered .paginator,
[dir="rtl"] .filtered #toolbar, [dir="rtl"] .filtered #toolbar,
[dir="rtl"] .filtered div.xfull, [dir="rtl"] .filtered div.xfull,
[dir="rtl"] .filtered .actions { [dir="rtl"] .filtered .actions,
margin-right: 0; [dir="rtl"] #changelist-filter {
margin-left: 230px; margin-left: 0;
} }
[dir="rtl"] .inline-group ul.tools a.add, [dir="rtl"] .inline-group ul.tools a.add,
@ -63,14 +63,6 @@
/* MOBILE */ /* MOBILE */
@media (max-width: 767px) { @media (max-width: 767px) {
[dir="rtl"] .change-list .filtered .results,
[dir="rtl"] .change-list .filtered .paginator,
[dir="rtl"] .filtered #toolbar,
[dir="rtl"] .filtered div.xfull,
[dir="rtl"] .filtered .actions {
margin-left: 0;
}
[dir="rtl"] .aligned .related-lookup, [dir="rtl"] .aligned .related-lookup,
[dir="rtl"] .aligned .datetimeshortcuts { [dir="rtl"] .aligned .datetimeshortcuts {
margin-left: 0; margin-left: 0;
@ -80,4 +72,9 @@
[dir="rtl"] .aligned ul { [dir="rtl"] .aligned ul {
margin-right: 0; margin-right: 0;
} }
[dir="rtl"] #changelist-filter {
margin-left: 0;
margin-right: 0;
}
} }

View File

@ -23,9 +23,9 @@
[dir="rtl"] .change-list .filtered .paginator, [dir="rtl"] .change-list .filtered .paginator,
[dir="rtl"] .filtered #toolbar, [dir="rtl"] .filtered #toolbar,
[dir="rtl"] .filtered div.xfull, [dir="rtl"] .filtered div.xfull,
[dir="rtl"] .filtered .actions { [dir="rtl"] .filtered .actions,
margin-right: 0; [dir="rtl"] #changelist-filter {
margin-left: 230px; margin-left: 0;
} }
[dir="rtl"] .inline-group ul.tools a.add, [dir="rtl"] .inline-group ul.tools a.add,
@ -63,14 +63,6 @@
/* MOBILE */ /* MOBILE */
@media (max-width: 767px) { @media (max-width: 767px) {
[dir="rtl"] .change-list .filtered .results,
[dir="rtl"] .change-list .filtered .paginator,
[dir="rtl"] .filtered #toolbar,
[dir="rtl"] .filtered div.xfull,
[dir="rtl"] .filtered .actions {
margin-left: 0;
}
[dir="rtl"] .aligned .related-lookup, [dir="rtl"] .aligned .related-lookup,
[dir="rtl"] .aligned .datetimeshortcuts { [dir="rtl"] .aligned .datetimeshortcuts {
margin-left: 0; margin-left: 0;
@ -80,4 +72,9 @@
[dir="rtl"] .aligned ul { [dir="rtl"] .aligned ul {
margin-right: 0; margin-right: 0;
} }
[dir="rtl"] #changelist-filter {
margin-left: 0;
margin-right: 0;
}
} }

Binary file not shown.

View File

@ -109,15 +109,10 @@ thead th.sorted .text {
} }
#changelist-filter { #changelist-filter {
right: auto;
left: 0;
border-left: none; border-left: none;
border-right: none; border-right: none;
} margin-left: 0;
margin-right: 30px;
.change-list .filtered .results, .change-list .filtered .paginator, .filtered #toolbar, .filtered div.xfull {
margin-right: 0;
margin-left: 280px;
} }
#changelist-filter li.selected { #changelist-filter li.selected {
@ -129,11 +124,6 @@ thead th.sorted .text {
margin-right: -15px; margin-right: -15px;
} }
.filtered .actions {
margin-left: 280px;
margin-right: 0;
}
#changelist table tbody td:first-child, #changelist table tbody th:first-child { #changelist table tbody td:first-child, #changelist table tbody th:first-child {
border-right: none; border-right: none;
border-left: none; border-left: none;

Binary file not shown.

View File

@ -109,15 +109,10 @@ thead th.sorted .text {
} }
#changelist-filter { #changelist-filter {
right: auto;
left: 0;
border-left: none; border-left: none;
border-right: none; border-right: none;
} margin-left: 0;
margin-right: 30px;
.change-list .filtered .results, .change-list .filtered .paginator, .filtered #toolbar, .filtered div.xfull {
margin-right: 0;
margin-left: 280px;
} }
#changelist-filter li.selected { #changelist-filter li.selected {
@ -129,11 +124,6 @@ thead th.sorted .text {
margin-right: -15px; margin-right: -15px;
} }
.filtered .actions {
margin-left: 280px;
margin-right: 0;
}
#changelist table tbody td:first-child, #changelist table tbody th:first-child { #changelist table tbody td:first-child, #changelist table tbody th:first-child {
border-right: none; border-right: none;
border-left: none; border-left: none;

Binary file not shown.

View File

@ -7617,6 +7617,9 @@ a.text-error:hover, a.text-error:focus {
background-color: inherit; background-color: inherit;
border-color: inherit; } border-color: inherit; }
.boolean-label {
pointer-events: none; }
.bootstrap-datetimepicker-widget { .bootstrap-datetimepicker-widget {
color: #ced4da; } color: #ced4da; }

Binary file not shown.

View File

@ -7617,6 +7617,9 @@ a.text-error:hover, a.text-error:focus {
background-color: inherit; background-color: inherit;
border-color: inherit; } border-color: inherit; }
.boolean-label {
pointer-events: none; }
.bootstrap-datetimepicker-widget { .bootstrap-datetimepicker-widget {
color: #ced4da; } color: #ced4da; }

View File

@ -66,7 +66,6 @@ BabyBuddy.PullToRefresh = function(ptr) {
$("form").on("submit", function() { $("form").on("submit", function() {
$(this).find("button[type='submit']").prop('disabled', true); $(this).find("button[type='submit']").prop('disabled', true);
}); });
/* 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.

View File

@ -66,7 +66,6 @@ BabyBuddy.PullToRefresh = function(ptr) {
$("form").on("submit", function() { $("form").on("submit", function() {
$(this).find("button[type='submit']").prop('disabled', true); $(this).find("button[type='submit']").prop('disabled', true);
}); });
/* 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.

View File

@ -14612,46 +14612,46 @@ function fromQuat(out, q) {
}; };
},{}],25:[function(_dereq_,module,exports){ },{}],25:[function(_dereq_,module,exports){
(function (global){ (function (global){
'use strict' 'use strict'
var isBrowser = _dereq_('is-browser') var isBrowser = _dereq_('is-browser')
var hasHover var hasHover
if (typeof global.matchMedia === 'function') { if (typeof global.matchMedia === 'function') {
hasHover = !global.matchMedia('(hover: none)').matches hasHover = !global.matchMedia('(hover: none)').matches
} }
else { else {
hasHover = isBrowser hasHover = isBrowser
} }
module.exports = hasHover module.exports = hasHover
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
},{"is-browser":44}],26:[function(_dereq_,module,exports){ },{"is-browser":44}],26:[function(_dereq_,module,exports){
'use strict' 'use strict'
var isBrowser = _dereq_('is-browser') var isBrowser = _dereq_('is-browser')
function detect() { function detect() {
var supported = false var supported = false
try { try {
var opts = Object.defineProperty({}, 'passive', { var opts = Object.defineProperty({}, 'passive', {
get: function() { get: function() {
supported = true supported = true
} }
}) })
window.addEventListener('test', null, opts) window.addEventListener('test', null, opts)
window.removeEventListener('test', null, opts) window.removeEventListener('test', null, opts)
} catch(e) { } catch(e) {
supported = false supported = false
} }
return supported return supported
} }
module.exports = isBrowser && detect() module.exports = isBrowser && detect()
},{"is-browser":44}],27:[function(_dereq_,module,exports){ },{"is-browser":44}],27:[function(_dereq_,module,exports){
exports.read = function (buffer, offset, isLE, mLen, nBytes) { exports.read = function (buffer, offset, isLE, mLen, nBytes) {
@ -15720,41 +15720,41 @@ module.exports = {
},{}],44:[function(_dereq_,module,exports){ },{}],44:[function(_dereq_,module,exports){
module.exports = true; module.exports = true;
},{}],45:[function(_dereq_,module,exports){ },{}],45:[function(_dereq_,module,exports){
'use strict'; 'use strict';
/** /**
* Is this string all whitespace? * Is this string all whitespace?
* This solution kind of makes my brain hurt, but it's significantly faster * This solution kind of makes my brain hurt, but it's significantly faster
* than !str.trim() or any other solution I could find. * than !str.trim() or any other solution I could find.
* *
* whitespace codes from: http://en.wikipedia.org/wiki/Whitespace_character * whitespace codes from: http://en.wikipedia.org/wiki/Whitespace_character
* and verified with: * and verified with:
* *
* for(var i = 0; i < 65536; i++) { * for(var i = 0; i < 65536; i++) {
* var s = String.fromCharCode(i); * var s = String.fromCharCode(i);
* if(+s===0 && !s.trim()) console.log(i, s); * if(+s===0 && !s.trim()) console.log(i, s);
* } * }
* *
* which counts a couple of these as *not* whitespace, but finds nothing else * which counts a couple of these as *not* whitespace, but finds nothing else
* that *is* whitespace. Note that charCodeAt stops at 16 bits, but it appears * that *is* whitespace. Note that charCodeAt stops at 16 bits, but it appears
* that there are no whitespace characters above this, and code points above * that there are no whitespace characters above this, and code points above
* this do not map onto white space characters. * this do not map onto white space characters.
*/ */
module.exports = function(str){ module.exports = function(str){
var l = str.length, var l = str.length,
a; a;
for(var i = 0; i < l; i++) { for(var i = 0; i < l; i++) {
a = str.charCodeAt(i); a = str.charCodeAt(i);
if((a < 9 || a > 13) && (a !== 32) && (a !== 133) && (a !== 160) && if((a < 9 || a > 13) && (a !== 32) && (a !== 133) && (a !== 160) &&
(a !== 5760) && (a !== 6158) && (a < 8192 || a > 8205) && (a !== 5760) && (a !== 6158) && (a < 8192 || a > 8205) &&
(a !== 8232) && (a !== 8233) && (a !== 8239) && (a !== 8287) && (a !== 8232) && (a !== 8233) && (a !== 8239) && (a !== 8287) &&
(a !== 8288) && (a !== 12288) && (a !== 65279)) { (a !== 8288) && (a !== 12288) && (a !== 65279)) {
return false; return false;
} }
} }
return true; return true;
} }
},{}],46:[function(_dereq_,module,exports){ },{}],46:[function(_dereq_,module,exports){
var rootPosition = { left: 0, top: 0 } var rootPosition = { left: 0, top: 0 }

View File

@ -26202,35 +26202,35 @@ return Popper;
return moment; return moment;
})); }));
/*@preserve /*@preserve
* Tempus Dominus Bootstrap4 v5.1.2 (https://tempusdominus.github.io/bootstrap-4/) * Tempus Dominus Bootstrap4 v5.1.2 (https://tempusdominus.github.io/bootstrap-4/)
* Copyright 2016-2018 Jonathan Peterson * Copyright 2016-2018 Jonathan Peterson
* Licensed under MIT (https://github.com/tempusdominus/bootstrap-3/blob/master/LICENSE) * Licensed under MIT (https://github.com/tempusdominus/bootstrap-3/blob/master/LICENSE)
*/ */
if (typeof jQuery === 'undefined') { if (typeof jQuery === 'undefined') {
throw new Error('Tempus Dominus Bootstrap4\'s requires jQuery. jQuery must be included before Tempus Dominus Bootstrap4\'s JavaScript.'); throw new Error('Tempus Dominus Bootstrap4\'s requires jQuery. jQuery must be included before Tempus Dominus Bootstrap4\'s JavaScript.');
} }
+function ($) { +function ($) {
var version = $.fn.jquery.split(' ')[0].split('.'); var version = $.fn.jquery.split(' ')[0].split('.');
if ((version[0] < 2 && version[1] < 9) || (version[0] === 1 && version[1] === 9 && version[2] < 1) || (version[0] >= 4)) { if ((version[0] < 2 && version[1] < 9) || (version[0] === 1 && version[1] === 9 && version[2] < 1) || (version[0] >= 4)) {
throw new Error('Tempus Dominus Bootstrap4\'s requires at least jQuery v3.0.0 but less than v4.0.0'); throw new Error('Tempus Dominus Bootstrap4\'s requires at least jQuery v3.0.0 but less than v4.0.0');
} }
}(jQuery); }(jQuery);
if (typeof moment === 'undefined') { if (typeof moment === 'undefined') {
throw new Error('Tempus Dominus Bootstrap4\'s requires moment.js. Moment.js must be included before Tempus Dominus Bootstrap4\'s JavaScript.'); throw new Error('Tempus Dominus Bootstrap4\'s requires moment.js. Moment.js must be included before Tempus Dominus Bootstrap4\'s JavaScript.');
} }
var version = moment.version.split('.') var version = moment.version.split('.')
if ((version[0] <= 2 && version[1] < 17) || (version[0] >= 3)) { if ((version[0] <= 2 && version[1] < 17) || (version[0] >= 3)) {
throw new Error('Tempus Dominus Bootstrap4\'s requires at least moment.js v2.17.0 but less than v3.0.0'); throw new Error('Tempus Dominus Bootstrap4\'s requires at least moment.js v2.17.0 but less than v3.0.0');
} }
+function () { +function () {
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
var _createClass = 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); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); var _createClass = 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); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
@ -26559,8 +26559,8 @@ var DateTimePicker = function ($, moment) {
this._int(); this._int();
} }
/** /**
* @return {string} * @return {string}
*/ */
@ -27710,8 +27710,8 @@ var DateTimePicker = function ($, moment) {
return NAME; return NAME;
} }
/** /**
* @return {string} * @return {string}
*/ */
}, { }, {
@ -27720,8 +27720,8 @@ var DateTimePicker = function ($, moment) {
return DATA_KEY; return DATA_KEY;
} }
/** /**
* @return {string} * @return {string}
*/ */
}, { }, {
@ -27730,8 +27730,8 @@ var DateTimePicker = function ($, moment) {
return EVENT_KEY; return EVENT_KEY;
} }
/** /**
* @return {string} * @return {string}
*/ */
}, { }, {
@ -28917,10 +28917,10 @@ var TempusDominusBootstrap4 = function ($) {
return TempusDominusBootstrap4; return TempusDominusBootstrap4;
}(DateTimePicker); }(DateTimePicker);
/** /**
* ------------------------------------------------------------------------ * ------------------------------------------------------------------------
* jQuery * jQuery
* ------------------------------------------------------------------------ * ------------------------------------------------------------------------
*/ */
@ -28978,6 +28978,6 @@ var TempusDominusBootstrap4 = function ($) {
}; };
return TempusDominusBootstrap4; return TempusDominusBootstrap4;
}(jQuery); }(jQuery);
}(); }();

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

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long