Update node dependencies

This commit is contained in:
Christopher C. Wells 2021-12-14 09:37:47 -05:00
parent 9585443218
commit 73be17240e
18 changed files with 2097 additions and 851 deletions

172
package-lock.json generated
View File

@ -22,15 +22,15 @@
"jquery": "^3.6.0",
"moment": "^2.29.1",
"moment-timezone": "^0.5.34",
"plotly.js": "^2.6.3",
"plotly.js": "^2.8.0",
"popper.js": "^1.16.1",
"pulltorefreshjs": "^0.1.22",
"pump": "^3.0.0",
"sass": "^1.43.4",
"stylelint": "^14.0.1",
"stylelint-config-recommended-scss": "^5.0.1",
"sass": "^1.45.0",
"stylelint": "^14.1.0",
"stylelint-config-recommended-scss": "^5.0.2",
"stylelint-order": "^5.0.0",
"stylelint-scss": "^4.0.0",
"stylelint-scss": "^4.0.1",
"tempusdominus-bootstrap-4": "5.1.2",
"tempusdominus-core": "5.0.3"
}
@ -418,9 +418,9 @@
}
},
"node_modules/ajv": {
"version": "8.6.3",
"resolved": "https://registry.npmjs.org/ajv/-/ajv-8.6.3.tgz",
"integrity": "sha512-SMJOdDP6LqTkD0Uq8qLi+gMwSt0imXLSV080qFVwJCpH9U6Mb+SUGHAXM0KNbcBPguytWyvFxcHgMLe2D2XSpw==",
"version": "8.8.2",
"resolved": "https://registry.npmjs.org/ajv/-/ajv-8.8.2.tgz",
"integrity": "sha512-x9VuX+R/jcFj1DHo/fCp99esgGDWiHENrKxaCENuCxpoMCmAt/COCGVDwA7kleEpEzJjDnvh3yGoOuLu0Dtllw==",
"dev": true,
"dependencies": {
"fast-deep-equal": "^3.1.1",
@ -4363,9 +4363,9 @@
]
},
"node_modules/ignore": {
"version": "5.1.8",
"resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.8.tgz",
"integrity": "sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw==",
"version": "5.1.9",
"resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.9.tgz",
"integrity": "sha512-2zeMQpbKz5dhZ9IwL0gbxSW5w0NK/MSAMtNuhgIHEPmaU3vPdKPL0UdvUCXs5SS4JAwsBxysK5sFMW8ocFiVjQ==",
"dev": true,
"engines": {
"node": ">= 4"
@ -4382,6 +4382,12 @@
"quantize": "^1.0.2"
}
},
"node_modules/immutable": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/immutable/-/immutable-4.0.0.tgz",
"integrity": "sha512-zIE9hX70qew5qTUjSS7wi1iwj/l7+m54KWU247nhM3v806UdGj1yDndXj+IOYxxtW9zyLI+xqFNZjTuDaLUqFw==",
"dev": true
},
"node_modules/import-fresh": {
"version": "3.3.0",
"resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz",
@ -5161,12 +5167,6 @@
"integrity": "sha1-+6HEUkwZ7ppfgTa0YJ8BfPTe1pI=",
"dev": true
},
"node_modules/lodash.clonedeep": {
"version": "4.5.0",
"resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz",
"integrity": "sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8=",
"dev": true
},
"node_modules/lodash.escape": {
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/lodash.escape/-/lodash.escape-3.2.0.tgz",
@ -6589,9 +6589,9 @@
}
},
"node_modules/plotly.js": {
"version": "2.6.3",
"resolved": "https://registry.npmjs.org/plotly.js/-/plotly.js-2.6.3.tgz",
"integrity": "sha512-MSdevryj5VvSZvr+slTnJcZgOmvMPZEUe8rFY+3ygxbVUFqmcOvT0TurUx4g07tfAVZ+UhXIaskHnAZNmUcNTg==",
"version": "2.8.0",
"resolved": "https://registry.npmjs.org/plotly.js/-/plotly.js-2.8.0.tgz",
"integrity": "sha512-bYuLdTlQEWMs/u3nNqV/jwERj9tw8qMDKBV8NBP1BucfapLoYIM9w4ARc3W9m93r6OYvP5I6ykUztiDmDcvA9Q==",
"dev": true,
"dependencies": {
"@plotly/d3": "3.8.0",
@ -6628,7 +6628,7 @@
"native-promise-only": "^0.8.1",
"parse-svg-path": "^0.1.2",
"polybooljs": "^1.2.0",
"probe-image-size": "^7.2.1",
"probe-image-size": "^7.2.2",
"regl": "^2.1.0",
"regl-error2d": "^2.0.12",
"regl-line2d": "^3.1.2",
@ -6846,9 +6846,9 @@
}
},
"node_modules/probe-image-size": {
"version": "7.2.1",
"resolved": "https://registry.npmjs.org/probe-image-size/-/probe-image-size-7.2.1.tgz",
"integrity": "sha512-d+6L3NvQBCNt4peRDoEfA7r9bPm6/qy18FnLKwg4NWBC5JrJm0pMLRg1kF4XNsPe1bUdt3WIMonPJzQWN2HXjQ==",
"version": "7.2.2",
"resolved": "https://registry.npmjs.org/probe-image-size/-/probe-image-size-7.2.2.tgz",
"integrity": "sha512-QUm+w1S9WTsT5GZB830u0BHExrUmF0J4fyRm5kbLUMEP3fl9UVYXc3xOBVqZNnH9tnvVEJO8vDk3PMtsLqjxug==",
"dev": true,
"dependencies": {
"lodash.merge": "^4.6.2",
@ -7707,12 +7707,14 @@
"dev": true
},
"node_modules/sass": {
"version": "1.43.4",
"resolved": "https://registry.npmjs.org/sass/-/sass-1.43.4.tgz",
"integrity": "sha512-/ptG7KE9lxpGSYiXn7Ar+lKOv37xfWsZRtFYal2QHNigyVQDx685VFT/h7ejVr+R8w7H4tmUgtulsKl5YpveOg==",
"version": "1.45.0",
"resolved": "https://registry.npmjs.org/sass/-/sass-1.45.0.tgz",
"integrity": "sha512-ONy5bjppoohtNkFJRqdz1gscXamMzN3wQy1YH9qO2FiNpgjLhpz/IPRGg0PpCjyz/pWfCOaNEaiEGCcjOFAjqw==",
"dev": true,
"dependencies": {
"chokidar": ">=3.0.0 <4.0.0"
"chokidar": ">=3.0.0 <4.0.0",
"immutable": "^4.0.0",
"source-map-js": ">=0.6.2 <2.0.0"
},
"bin": {
"sass": "sass.js"
@ -8388,9 +8390,9 @@
"dev": true
},
"node_modules/stylelint": {
"version": "14.0.1",
"resolved": "https://registry.npmjs.org/stylelint/-/stylelint-14.0.1.tgz",
"integrity": "sha512-ZcAkmFLVCultmwkQUjxKzxW/o5+CzNmDk6TPJj/d4Y7ipTGGrewIWmNm+InjdSr04PR5/yynsAJeYJY/wisdMg==",
"version": "14.1.0",
"resolved": "https://registry.npmjs.org/stylelint/-/stylelint-14.1.0.tgz",
"integrity": "sha512-IedkssuNVA11+v++2PIV2OHOU5A3SfRcXVi56vZVSsMhGrgtwmmit69jeM+08/Tun5DTBe7BuH1Zp1mMLmtKLA==",
"dev": true,
"dependencies": {
"balanced-match": "^2.0.0",
@ -8405,7 +8407,7 @@
"globby": "^11.0.4",
"globjoin": "^0.1.4",
"html-tags": "^3.1.0",
"ignore": "^5.1.8",
"ignore": "^5.1.9",
"import-lazy": "^4.0.0",
"imurmurhash": "^0.1.4",
"is-plain-object": "^5.0.0",
@ -8428,7 +8430,7 @@
"strip-ansi": "^6.0.1",
"style-search": "^0.1.0",
"svg-tags": "^1.0.0",
"table": "^6.7.2",
"table": "^6.7.3",
"v8-compile-cache": "^2.3.0",
"write-file-atomic": "^3.0.3"
},
@ -8453,12 +8455,12 @@
}
},
"node_modules/stylelint-config-recommended-scss": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/stylelint-config-recommended-scss/-/stylelint-config-recommended-scss-5.0.1.tgz",
"integrity": "sha512-kVI5lX8jtaw9uNnnxxziw+LhW59m0x/JzGj8zVepeFQJ56eM4HazN4gMyCRQQSLr/8CXlIHGOW34CV5hIMr3FQ==",
"version": "5.0.2",
"resolved": "https://registry.npmjs.org/stylelint-config-recommended-scss/-/stylelint-config-recommended-scss-5.0.2.tgz",
"integrity": "sha512-b14BSZjcwW0hqbzm9b0S/ScN2+3CO3O4vcMNOw2KGf8lfVSwJ4p5TbNEXKwKl1+0FMtgRXZj6DqVUe/7nGnuBg==",
"dev": true,
"dependencies": {
"postcss-scss": "^4.0.1",
"postcss-scss": "^4.0.2",
"stylelint-config-recommended": "^6.0.0",
"stylelint-scss": "^4.0.0"
},
@ -8480,12 +8482,12 @@
}
},
"node_modules/stylelint-scss": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-4.0.0.tgz",
"integrity": "sha512-lIRhPqtI6I065EJ6aI4mWKsmQt8Krnu6aF9XSL9s8Nd2f/cDKImST0T9TfjnUul3ReKYWozkG9dlpNTZH2FB9w==",
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-4.0.1.tgz",
"integrity": "sha512-Ea+KY7ZFsDhU6Ne9r84y7NvFSNA843w352MSdQeDmklar0pDbeQj9flKrVAuDIlK0pDDdhFtgBl/N0FrtWHq0g==",
"dev": true,
"dependencies": {
"lodash": "^4.17.15",
"lodash": "^4.17.21",
"postcss-media-query-parser": "^0.2.3",
"postcss-resolve-nested-selector": "^0.1.1",
"postcss-selector-parser": "^6.0.6",
@ -8643,13 +8645,12 @@
"dev": true
},
"node_modules/table": {
"version": "6.7.2",
"resolved": "https://registry.npmjs.org/table/-/table-6.7.2.tgz",
"integrity": "sha512-UFZK67uvyNivLeQbVtkiUs8Uuuxv24aSL4/Vil2PJVtMgU8Lx0CYkP12uCGa3kjyQzOSgV1+z9Wkb82fCGsO0g==",
"version": "6.7.5",
"resolved": "https://registry.npmjs.org/table/-/table-6.7.5.tgz",
"integrity": "sha512-LFNeryOqiQHqCVKzhkymKwt6ozeRhlm8IL1mE8rNUurkir4heF6PzMyRgaTa4tlyPTGGgXuvVOF/OLWiH09Lqw==",
"dev": true,
"dependencies": {
"ajv": "^8.0.1",
"lodash.clonedeep": "^4.5.0",
"lodash.truncate": "^4.4.2",
"slice-ansi": "^4.0.0",
"string-width": "^4.2.3",
@ -10230,9 +10231,9 @@
}
},
"ajv": {
"version": "8.6.3",
"resolved": "https://registry.npmjs.org/ajv/-/ajv-8.6.3.tgz",
"integrity": "sha512-SMJOdDP6LqTkD0Uq8qLi+gMwSt0imXLSV080qFVwJCpH9U6Mb+SUGHAXM0KNbcBPguytWyvFxcHgMLe2D2XSpw==",
"version": "8.8.2",
"resolved": "https://registry.npmjs.org/ajv/-/ajv-8.8.2.tgz",
"integrity": "sha512-x9VuX+R/jcFj1DHo/fCp99esgGDWiHENrKxaCENuCxpoMCmAt/COCGVDwA7kleEpEzJjDnvh3yGoOuLu0Dtllw==",
"dev": true,
"requires": {
"fast-deep-equal": "^3.1.1",
@ -13526,9 +13527,9 @@
"dev": true
},
"ignore": {
"version": "5.1.8",
"resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.8.tgz",
"integrity": "sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw==",
"version": "5.1.9",
"resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.9.tgz",
"integrity": "sha512-2zeMQpbKz5dhZ9IwL0gbxSW5w0NK/MSAMtNuhgIHEPmaU3vPdKPL0UdvUCXs5SS4JAwsBxysK5sFMW8ocFiVjQ==",
"dev": true
},
"image-palette": {
@ -13542,6 +13543,12 @@
"quantize": "^1.0.2"
}
},
"immutable": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/immutable/-/immutable-4.0.0.tgz",
"integrity": "sha512-zIE9hX70qew5qTUjSS7wi1iwj/l7+m54KWU247nhM3v806UdGj1yDndXj+IOYxxtW9zyLI+xqFNZjTuDaLUqFw==",
"dev": true
},
"import-fresh": {
"version": "3.3.0",
"resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz",
@ -14163,12 +14170,6 @@
"integrity": "sha1-+6HEUkwZ7ppfgTa0YJ8BfPTe1pI=",
"dev": true
},
"lodash.clonedeep": {
"version": "4.5.0",
"resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz",
"integrity": "sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8=",
"dev": true
},
"lodash.escape": {
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/lodash.escape/-/lodash.escape-3.2.0.tgz",
@ -15312,9 +15313,9 @@
}
},
"plotly.js": {
"version": "2.6.3",
"resolved": "https://registry.npmjs.org/plotly.js/-/plotly.js-2.6.3.tgz",
"integrity": "sha512-MSdevryj5VvSZvr+slTnJcZgOmvMPZEUe8rFY+3ygxbVUFqmcOvT0TurUx4g07tfAVZ+UhXIaskHnAZNmUcNTg==",
"version": "2.8.0",
"resolved": "https://registry.npmjs.org/plotly.js/-/plotly.js-2.8.0.tgz",
"integrity": "sha512-bYuLdTlQEWMs/u3nNqV/jwERj9tw8qMDKBV8NBP1BucfapLoYIM9w4ARc3W9m93r6OYvP5I6ykUztiDmDcvA9Q==",
"dev": true,
"requires": {
"@plotly/d3": "3.8.0",
@ -15351,7 +15352,7 @@
"native-promise-only": "^0.8.1",
"parse-svg-path": "^0.1.2",
"polybooljs": "^1.2.0",
"probe-image-size": "^7.2.1",
"probe-image-size": "^7.2.2",
"regl": "^2.1.0",
"regl-error2d": "^2.0.12",
"regl-line2d": "^3.1.2",
@ -15517,9 +15518,9 @@
"dev": true
},
"probe-image-size": {
"version": "7.2.1",
"resolved": "https://registry.npmjs.org/probe-image-size/-/probe-image-size-7.2.1.tgz",
"integrity": "sha512-d+6L3NvQBCNt4peRDoEfA7r9bPm6/qy18FnLKwg4NWBC5JrJm0pMLRg1kF4XNsPe1bUdt3WIMonPJzQWN2HXjQ==",
"version": "7.2.2",
"resolved": "https://registry.npmjs.org/probe-image-size/-/probe-image-size-7.2.2.tgz",
"integrity": "sha512-QUm+w1S9WTsT5GZB830u0BHExrUmF0J4fyRm5kbLUMEP3fl9UVYXc3xOBVqZNnH9tnvVEJO8vDk3PMtsLqjxug==",
"dev": true,
"requires": {
"lodash.merge": "^4.6.2",
@ -16215,12 +16216,14 @@
"dev": true
},
"sass": {
"version": "1.43.4",
"resolved": "https://registry.npmjs.org/sass/-/sass-1.43.4.tgz",
"integrity": "sha512-/ptG7KE9lxpGSYiXn7Ar+lKOv37xfWsZRtFYal2QHNigyVQDx685VFT/h7ejVr+R8w7H4tmUgtulsKl5YpveOg==",
"version": "1.45.0",
"resolved": "https://registry.npmjs.org/sass/-/sass-1.45.0.tgz",
"integrity": "sha512-ONy5bjppoohtNkFJRqdz1gscXamMzN3wQy1YH9qO2FiNpgjLhpz/IPRGg0PpCjyz/pWfCOaNEaiEGCcjOFAjqw==",
"dev": true,
"requires": {
"chokidar": ">=3.0.0 <4.0.0"
"chokidar": ">=3.0.0 <4.0.0",
"immutable": "^4.0.0",
"source-map-js": ">=0.6.2 <2.0.0"
},
"dependencies": {
"anymatch": {
@ -16780,9 +16783,9 @@
"dev": true
},
"stylelint": {
"version": "14.0.1",
"resolved": "https://registry.npmjs.org/stylelint/-/stylelint-14.0.1.tgz",
"integrity": "sha512-ZcAkmFLVCultmwkQUjxKzxW/o5+CzNmDk6TPJj/d4Y7ipTGGrewIWmNm+InjdSr04PR5/yynsAJeYJY/wisdMg==",
"version": "14.1.0",
"resolved": "https://registry.npmjs.org/stylelint/-/stylelint-14.1.0.tgz",
"integrity": "sha512-IedkssuNVA11+v++2PIV2OHOU5A3SfRcXVi56vZVSsMhGrgtwmmit69jeM+08/Tun5DTBe7BuH1Zp1mMLmtKLA==",
"dev": true,
"requires": {
"balanced-match": "^2.0.0",
@ -16797,7 +16800,7 @@
"globby": "^11.0.4",
"globjoin": "^0.1.4",
"html-tags": "^3.1.0",
"ignore": "^5.1.8",
"ignore": "^5.1.9",
"import-lazy": "^4.0.0",
"imurmurhash": "^0.1.4",
"is-plain-object": "^5.0.0",
@ -16820,7 +16823,7 @@
"strip-ansi": "^6.0.1",
"style-search": "^0.1.0",
"svg-tags": "^1.0.0",
"table": "^6.7.2",
"table": "^6.7.3",
"v8-compile-cache": "^2.3.0",
"write-file-atomic": "^3.0.3"
},
@ -16882,12 +16885,12 @@
"requires": {}
},
"stylelint-config-recommended-scss": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/stylelint-config-recommended-scss/-/stylelint-config-recommended-scss-5.0.1.tgz",
"integrity": "sha512-kVI5lX8jtaw9uNnnxxziw+LhW59m0x/JzGj8zVepeFQJ56eM4HazN4gMyCRQQSLr/8CXlIHGOW34CV5hIMr3FQ==",
"version": "5.0.2",
"resolved": "https://registry.npmjs.org/stylelint-config-recommended-scss/-/stylelint-config-recommended-scss-5.0.2.tgz",
"integrity": "sha512-b14BSZjcwW0hqbzm9b0S/ScN2+3CO3O4vcMNOw2KGf8lfVSwJ4p5TbNEXKwKl1+0FMtgRXZj6DqVUe/7nGnuBg==",
"dev": true,
"requires": {
"postcss-scss": "^4.0.1",
"postcss-scss": "^4.0.2",
"stylelint-config-recommended": "^6.0.0",
"stylelint-scss": "^4.0.0"
}
@ -16903,12 +16906,12 @@
}
},
"stylelint-scss": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-4.0.0.tgz",
"integrity": "sha512-lIRhPqtI6I065EJ6aI4mWKsmQt8Krnu6aF9XSL9s8Nd2f/cDKImST0T9TfjnUul3ReKYWozkG9dlpNTZH2FB9w==",
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-4.0.1.tgz",
"integrity": "sha512-Ea+KY7ZFsDhU6Ne9r84y7NvFSNA843w352MSdQeDmklar0pDbeQj9flKrVAuDIlK0pDDdhFtgBl/N0FrtWHq0g==",
"dev": true,
"requires": {
"lodash": "^4.17.15",
"lodash": "^4.17.21",
"postcss-media-query-parser": "^0.2.3",
"postcss-resolve-nested-selector": "^0.1.1",
"postcss-selector-parser": "^6.0.6",
@ -16998,13 +17001,12 @@
"dev": true
},
"table": {
"version": "6.7.2",
"resolved": "https://registry.npmjs.org/table/-/table-6.7.2.tgz",
"integrity": "sha512-UFZK67uvyNivLeQbVtkiUs8Uuuxv24aSL4/Vil2PJVtMgU8Lx0CYkP12uCGa3kjyQzOSgV1+z9Wkb82fCGsO0g==",
"version": "6.7.5",
"resolved": "https://registry.npmjs.org/table/-/table-6.7.5.tgz",
"integrity": "sha512-LFNeryOqiQHqCVKzhkymKwt6ozeRhlm8IL1mE8rNUurkir4heF6PzMyRgaTa4tlyPTGGgXuvVOF/OLWiH09Lqw==",
"dev": true,
"requires": {
"ajv": "^8.0.1",
"lodash.clonedeep": "^4.5.0",
"lodash.truncate": "^4.4.2",
"slice-ansi": "^4.0.0",
"string-width": "^4.2.3",

View File

@ -22,15 +22,15 @@
"jquery": "^3.6.0",
"moment": "^2.29.1",
"moment-timezone": "^0.5.34",
"plotly.js": "^2.6.3",
"plotly.js": "^2.8.0",
"popper.js": "^1.16.1",
"pulltorefreshjs": "^0.1.22",
"pump": "^3.0.0",
"sass": "^1.43.4",
"stylelint": "^14.0.1",
"stylelint-config-recommended-scss": "^5.0.1",
"sass": "^1.45.0",
"stylelint": "^14.1.0",
"stylelint-config-recommended-scss": "^5.0.2",
"stylelint-order": "^5.0.0",
"stylelint-scss": "^4.0.0",
"stylelint-scss": "^4.0.1",
"tempusdominus-bootstrap-4": "5.1.2",
"tempusdominus-core": "5.0.3"
}

View File

@ -36,7 +36,10 @@
function clearAcross(options) {
reset(options);
document.querySelector(options.acrossInput).value = 0;
const acrossInputs = document.querySelectorAll(options.acrossInput);
acrossInputs.forEach(function(acrossInput) {
acrossInput.value = 0;
});
document.querySelector(options.actionContainer).classList.remove(options.selectedClass);
}
@ -107,8 +110,10 @@
document.querySelectorAll(options.acrossQuestions + " a").forEach(function(el) {
el.addEventListener('click', function(event) {
event.preventDefault();
const acrossInput = document.querySelector(options.acrossInput);
const acrossInputs = document.querySelectorAll(options.acrossInput);
acrossInputs.forEach(function(acrossInput) {
acrossInput.value = 1;
});
showClear(options);
});
});

BIN
static/admin/js/actions.3edba334d0a4.js.gz generated Normal file

Binary file not shown.

Binary file not shown.

View File

@ -36,7 +36,10 @@
function clearAcross(options) {
reset(options);
document.querySelector(options.acrossInput).value = 0;
const acrossInputs = document.querySelectorAll(options.acrossInput);
acrossInputs.forEach(function(acrossInput) {
acrossInput.value = 0;
});
document.querySelector(options.actionContainer).classList.remove(options.selectedClass);
}
@ -107,8 +110,10 @@
document.querySelectorAll(options.acrossQuestions + " a").forEach(function(el) {
el.addEventListener('click', function(event) {
event.preventDefault();
const acrossInput = document.querySelector(options.acrossInput);
const acrossInputs = document.querySelectorAll(options.acrossInput);
acrossInputs.forEach(function(acrossInput) {
acrossInput.value = 1;
});
showClear(options);
});
});

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@ -79,37 +79,3 @@ table.import-preview tr.update {
font-weight: bold;
font-size: 0.85em;
}
@media (prefers-color-scheme: dark) {
table.import-preview tr.skip {
background-color: #2d2d2d;
}
table.import-preview tr.new {
background-color: #42274d;
}
table.import-preview tr.delete {
background-color: #064140;
}
table.import-preview tr.update {
background-color: #020230;
}
.validation-error-container {
background-color: #003e3e;
}
/*
these declarations are necessary to forcibly override the
formatting applied by the diff-match-patch python library
*/
table.import-preview td ins {
background-color: #190019 !important;
}
table.import-preview td del {
background-color: #001919 !important;
}
}

Binary file not shown.

Binary file not shown.

34
static/import_export/import.css generated vendored
View File

@ -79,37 +79,3 @@ table.import-preview tr.update {
font-weight: bold;
font-size: 0.85em;
}
@media (prefers-color-scheme: dark) {
table.import-preview tr.skip {
background-color: #2d2d2d;
}
table.import-preview tr.new {
background-color: #42274d;
}
table.import-preview tr.delete {
background-color: #064140;
}
table.import-preview tr.update {
background-color: #020230;
}
.validation-error-container {
background-color: #003e3e;
}
/*
these declarations are necessary to forcibly override the
formatting applied by the diff-match-patch python library
*/
table.import-preview td ins {
background-color: #190019 !important;
}
table.import-preview td del {
background-color: #001919 !important;
}
}

Binary file not shown.

File diff suppressed because one or more lines are too long