Update dependencies

This commit is contained in:
Christopher C. Wells 2023-05-02 17:55:26 -07:00
parent 5b0763161b
commit 94045727fa
138 changed files with 1747 additions and 1356 deletions

366
package-lock.json generated
View File

@ -24,16 +24,16 @@
"gulp-uglify": "^3.0.2", "gulp-uglify": "^3.0.2",
"jquery": "^3.6.4", "jquery": "^3.6.4",
"moment": "^2.29.4", "moment": "^2.29.4",
"moment-timezone": "^0.5.41", "moment-timezone": "^0.5.43",
"npm-force-resolutions": "^0.0.10", "npm-force-resolutions": "^0.0.10",
"plotly.js": "^2.20.0", "plotly.js": "^2.22.0",
"popper.js": "^1.16.1", "popper.js": "^1.16.1",
"pulltorefreshjs": "^0.1.22", "pulltorefreshjs": "^0.1.22",
"sass": "^1.59.3", "sass": "^1.62.1",
"stylelint": "^15.3.0", "stylelint": "^15.6.1",
"stylelint-config-recommended-scss": "^9.0.1", "stylelint-config-recommended-scss": "^11.0.0",
"stylelint-order": "^6.0.3", "stylelint-order": "^6.0.3",
"stylelint-scss": "^4.5.0", "stylelint-scss": "^5.0.0",
"tempusdominus-bootstrap-4": "5.39.2", "tempusdominus-bootstrap-4": "5.39.2",
"tempusdominus-core": "5.19.3" "tempusdominus-core": "5.19.3"
} }
@ -133,9 +133,9 @@
} }
}, },
"node_modules/@csstools/css-parser-algorithms": { "node_modules/@csstools/css-parser-algorithms": {
"version": "2.0.1", "version": "2.1.1",
"resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-2.0.1.tgz", "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-2.1.1.tgz",
"integrity": "sha512-B9/8PmOtU6nBiibJg0glnNktQDZ3rZnGn/7UmDfrm2vMtrdlXO3p7ErE95N0up80IRk9YEtB5jyj/TmQ1WH3dw==", "integrity": "sha512-viRnRh02AgO4mwIQb2xQNJju0i+Fh9roNgmbR5xEuG7J3TGgxjnE95HnBLgsFJOJOksvcfxOUCgODcft6Y07cA==",
"dev": true, "dev": true,
"engines": { "engines": {
"node": "^14 || ^16 || >=18" "node": "^14 || ^16 || >=18"
@ -145,13 +145,13 @@
"url": "https://opencollective.com/csstools" "url": "https://opencollective.com/csstools"
}, },
"peerDependencies": { "peerDependencies": {
"@csstools/css-tokenizer": "^2.0.0" "@csstools/css-tokenizer": "^2.1.1"
} }
}, },
"node_modules/@csstools/css-tokenizer": { "node_modules/@csstools/css-tokenizer": {
"version": "2.1.0", "version": "2.1.1",
"resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-2.1.0.tgz", "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-2.1.1.tgz",
"integrity": "sha512-dtqFyoJBHUxGi9zPZdpCKP1xk8tq6KPHJ/NY4qWXiYo6IcSGwzk3L8x2XzZbbyOyBs9xQARoGveU2AsgLj6D2A==", "integrity": "sha512-GbrTj2Z8MCTUv+52GE0RbFGM527xuXZ0Xa5g0Z+YN573uveS4G0qi6WNOMyz3yrFM/jaILTTwJ0+umx81EzqfA==",
"dev": true, "dev": true,
"engines": { "engines": {
"node": "^14 || ^16 || >=18" "node": "^14 || ^16 || >=18"
@ -162,9 +162,9 @@
} }
}, },
"node_modules/@csstools/media-query-list-parser": { "node_modules/@csstools/media-query-list-parser": {
"version": "2.0.1", "version": "2.0.4",
"resolved": "https://registry.npmjs.org/@csstools/media-query-list-parser/-/media-query-list-parser-2.0.1.tgz", "resolved": "https://registry.npmjs.org/@csstools/media-query-list-parser/-/media-query-list-parser-2.0.4.tgz",
"integrity": "sha512-X2/OuzEbjaxhzm97UJ+95GrMeT29d1Ib+Pu+paGLuRWZnWRK9sI9r3ikmKXPWGA1C4y4JEdBEFpp9jEqCvLeRA==", "integrity": "sha512-GyYot6jHgcSDZZ+tLSnrzkR7aJhF2ZW6d+CXH66mjy5WpAQhZD4HDke2OQ36SivGRWlZJpAz7TzbW6OKlEpxAA==",
"dev": true, "dev": true,
"engines": { "engines": {
"node": "^14 || ^16 || >=18" "node": "^14 || ^16 || >=18"
@ -174,14 +174,14 @@
"url": "https://opencollective.com/csstools" "url": "https://opencollective.com/csstools"
}, },
"peerDependencies": { "peerDependencies": {
"@csstools/css-parser-algorithms": "^2.0.0", "@csstools/css-parser-algorithms": "^2.1.1",
"@csstools/css-tokenizer": "^2.0.0" "@csstools/css-tokenizer": "^2.1.1"
} }
}, },
"node_modules/@csstools/selector-specificity": { "node_modules/@csstools/selector-specificity": {
"version": "2.1.1", "version": "2.2.0",
"resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-2.1.1.tgz", "resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-2.2.0.tgz",
"integrity": "sha512-jwx+WCqszn53YHOfvFMJJRd/B2GqkCBt+1MJSG6o5/s8+ytHMvDZXsJgUEWLk12UnLd7HYKac4BYU5i/Ron1Cw==", "integrity": "sha512-+OJ9konv95ClSTOJCmMZqpd5+YGsB2S+x6w3E1oaM8UuR5j8nTNHYSz8c9BEPGDOCMQYIEEGlVPj/VY64iTbGw==",
"dev": true, "dev": true,
"engines": { "engines": {
"node": "^14 || ^16 || >=18" "node": "^14 || ^16 || >=18"
@ -191,7 +191,6 @@
"url": "https://opencollective.com/csstools" "url": "https://opencollective.com/csstools"
}, },
"peerDependencies": { "peerDependencies": {
"postcss": "^8.4",
"postcss-selector-parser": "^6.0.10" "postcss-selector-parser": "^6.0.10"
} }
}, },
@ -1772,9 +1771,9 @@
"dev": true "dev": true
}, },
"node_modules/cosmiconfig": { "node_modules/cosmiconfig": {
"version": "8.1.2", "version": "8.1.3",
"resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.1.2.tgz", "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.1.3.tgz",
"integrity": "sha512-rmpUFKMZiawLfug8sP4NbpBSOpWftZB6UACOLEiNbnRAYM1TzgQuTWlMYFRuPgmoTCkcOxSMwQJQpJmiXv/eHw==", "integrity": "sha512-/UkO2JKI18b5jVMJUp0lvKFMpa/Gye+ZgZjKD+DGEN9y7NRcf/nK1A0sp67ONmKtnDCNMS44E6jrk0Yc3bDuUw==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"import-fresh": "^3.2.1", "import-fresh": "^3.2.1",
@ -4616,9 +4615,9 @@
"dev": true "dev": true
}, },
"node_modules/html-tags": { "node_modules/html-tags": {
"version": "3.2.0", "version": "3.3.1",
"resolved": "https://registry.npmjs.org/html-tags/-/html-tags-3.2.0.tgz", "resolved": "https://registry.npmjs.org/html-tags/-/html-tags-3.3.1.tgz",
"integrity": "sha512-vy7ClnArOZwCnqZgvv+ddgHgJiAFXe3Ge9ML5/mBctVJoUoYPCdxVucOywjDARn6CVoh3dRSFdPHy2sX80L0Wg==", "integrity": "sha512-ztqyC3kLto0e9WbNp0aeP+M3kTt+nbaIveGmUxAtZa+8iFgKLUOD4YKM5j+f3QD89bra7UeumolZHKuOXnTmeQ==",
"dev": true, "dev": true,
"engines": { "engines": {
"node": ">=8" "node": ">=8"
@ -5407,12 +5406,6 @@
"node": ">=8" "node": ">=8"
} }
}, },
"node_modules/lodash": {
"version": "4.17.21",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
"integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==",
"dev": true
},
"node_modules/lodash._basecopy": { "node_modules/lodash._basecopy": {
"version": "3.0.1", "version": "3.0.1",
"resolved": "https://registry.npmjs.org/lodash._basecopy/-/lodash._basecopy-3.0.1.tgz", "resolved": "https://registry.npmjs.org/lodash._basecopy/-/lodash._basecopy-3.0.1.tgz",
@ -6064,9 +6057,9 @@
} }
}, },
"node_modules/moment-timezone": { "node_modules/moment-timezone": {
"version": "0.5.41", "version": "0.5.43",
"resolved": "https://registry.npmjs.org/moment-timezone/-/moment-timezone-0.5.41.tgz", "resolved": "https://registry.npmjs.org/moment-timezone/-/moment-timezone-0.5.43.tgz",
"integrity": "sha512-e0jGNZDOHfBXJGz8vR/sIMXvBIGJJcqFjmlg9lmE+5KX1U7/RZNMswfD8nKnNCnQdKTIj50IaRKwl1fvMLyyRg==", "integrity": "sha512-72j3aNyuIsDxdF1i7CEgV2FfxM1r6aaqJyLB2vwb33mXYyoyLly+F1zbWqhA3/bVIoJ4szlUoMbUnVdid32NUQ==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"moment": "^2.29.4" "moment": "^2.29.4"
@ -6155,10 +6148,16 @@
"optional": true "optional": true
}, },
"node_modules/nanoid": { "node_modules/nanoid": {
"version": "3.3.4", "version": "3.3.6",
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz", "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz",
"integrity": "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==", "integrity": "sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==",
"dev": true, "dev": true,
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/ai"
}
],
"bin": { "bin": {
"nanoid": "bin/nanoid.cjs" "nanoid": "bin/nanoid.cjs"
}, },
@ -6891,9 +6890,9 @@
} }
}, },
"node_modules/plotly.js": { "node_modules/plotly.js": {
"version": "2.20.0", "version": "2.22.0",
"resolved": "https://registry.npmjs.org/plotly.js/-/plotly.js-2.20.0.tgz", "resolved": "https://registry.npmjs.org/plotly.js/-/plotly.js-2.22.0.tgz",
"integrity": "sha512-aitv9IkW9Od55oewdnnABVDxZ7SJTGFp+uISURIfN3Gn0/xi2FwJCstUyoHKHT/an+jzWFsaiqFQL9FDxn2s8A==", "integrity": "sha512-g+YTMnChFDx/fNUV2rqkrf87wKwKuOhqv9LIxhmPyF94RGM4v4blP0mmgwQ278qv3kXmfTMJecIUusr1gzscng==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@plotly/d3": "3.8.1", "@plotly/d3": "3.8.1",
@ -7004,9 +7003,9 @@
} }
}, },
"node_modules/postcss": { "node_modules/postcss": {
"version": "8.4.21", "version": "8.4.23",
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.21.tgz", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.23.tgz",
"integrity": "sha512-tP7u/Sn/dVxK2NnruI4H9BG+x+Wxz6oeZ1cJ8P6G/PZY0IKk4k/63TDsQf2kQq3+qoJeLm2kIBUNlZe3zgb4Zg==", "integrity": "sha512-bQ3qMcpF6A/YjR55xtoTr0jGOlnPOKAIMdOWiv0EIT6HVPEaJiJB4NLljSbiHoC2RX7DN5Uvjtpbg1NPdwv1oA==",
"dev": true, "dev": true,
"funding": [ "funding": [
{ {
@ -7016,10 +7015,14 @@
{ {
"type": "tidelift", "type": "tidelift",
"url": "https://tidelift.com/funding/github/npm/postcss" "url": "https://tidelift.com/funding/github/npm/postcss"
},
{
"type": "github",
"url": "https://github.com/sponsors/ai"
} }
], ],
"dependencies": { "dependencies": {
"nanoid": "^3.3.4", "nanoid": "^3.3.6",
"picocolors": "^1.0.0", "picocolors": "^1.0.0",
"source-map-js": "^1.0.2" "source-map-js": "^1.0.2"
}, },
@ -7078,9 +7081,9 @@
} }
}, },
"node_modules/postcss-selector-parser": { "node_modules/postcss-selector-parser": {
"version": "6.0.11", "version": "6.0.12",
"resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.11.tgz", "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.12.tgz",
"integrity": "sha512-zbARubNdogI9j7WY4nQJBiNqQf3sLS3wCP4WfOidu+p28LofJqDH1tcXypGrcmMHhDk2t9wGhCsYe/+szLTy1g==", "integrity": "sha512-NdxGCAZdRrwVI1sy59+Wzrh+pMMHxapGnpfenDVlMEXoOcvt4pGE0JLK9YY2F5dLxcFYA/YbVQKhcGU+FtSYQg==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"cssesc": "^3.0.0", "cssesc": "^3.0.0",
@ -7998,9 +8001,9 @@
"dev": true "dev": true
}, },
"node_modules/sass": { "node_modules/sass": {
"version": "1.59.3", "version": "1.62.1",
"resolved": "https://registry.npmjs.org/sass/-/sass-1.59.3.tgz", "resolved": "https://registry.npmjs.org/sass/-/sass-1.62.1.tgz",
"integrity": "sha512-QCq98N3hX1jfTCoUAsF3eyGuXLsY7BCnCEg9qAact94Yc21npG2/mVOqoDvE0fCbWDqiM4WlcJQla0gWG2YlxQ==", "integrity": "sha512-NHpxIzN29MXvWiuswfc1W3I0N8SXBd8UR26WntmDlRYf0bSADnwnOjsyMZ3lMezSlArD33Vs3YFhp7dWvL770A==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"chokidar": ">=3.0.0 <4.0.0", "chokidar": ">=3.0.0 <4.0.0",
@ -8011,7 +8014,7 @@
"sass": "sass.js" "sass": "sass.js"
}, },
"engines": { "engines": {
"node": ">=12.0.0" "node": ">=14.0.0"
} }
}, },
"node_modules/sass/node_modules/anymatch": { "node_modules/sass/node_modules/anymatch": {
@ -8219,10 +8222,16 @@
"dev": true "dev": true
}, },
"node_modules/signal-exit": { "node_modules/signal-exit": {
"version": "3.0.7", "version": "4.0.1",
"resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.0.1.tgz",
"integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", "integrity": "sha512-uUWsN4aOxJAS8KOuf3QMyFtgm1pkb6I+KRZbRF/ghdf5T7sM+B1lLLzPDxswUjkmHyxQAVzEgG35E3NzDM9GVw==",
"dev": true "dev": true,
"engines": {
"node": ">=14"
},
"funding": {
"url": "https://github.com/sponsors/isaacs"
}
}, },
"node_modules/signum": { "node_modules/signum": {
"version": "1.0.0", "version": "1.0.0",
@ -8741,18 +8750,18 @@
"dev": true "dev": true
}, },
"node_modules/stylelint": { "node_modules/stylelint": {
"version": "15.3.0", "version": "15.6.1",
"resolved": "https://registry.npmjs.org/stylelint/-/stylelint-15.3.0.tgz", "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-15.6.1.tgz",
"integrity": "sha512-9UYBYk7K9rtlKcTUDZrtntE840sZM00qyYBQHHe7tjwMNUsPsGvR6Fd43IxHEAhRrDLzpy3TVaHb6CReBB3eFg==", "integrity": "sha512-d8icFBlVl93Elf3Z5ABQNOCe4nx69is3D/NZhDLAie1eyYnpxfeKe7pCfqzT5W4F8vxHCLSDfV8nKNJzogvV2Q==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@csstools/css-parser-algorithms": "^2.0.1", "@csstools/css-parser-algorithms": "^2.1.1",
"@csstools/css-tokenizer": "^2.1.0", "@csstools/css-tokenizer": "^2.1.1",
"@csstools/media-query-list-parser": "^2.0.1", "@csstools/media-query-list-parser": "^2.0.4",
"@csstools/selector-specificity": "^2.1.1", "@csstools/selector-specificity": "^2.2.0",
"balanced-match": "^2.0.0", "balanced-match": "^2.0.0",
"colord": "^2.9.3", "colord": "^2.9.3",
"cosmiconfig": "^8.1.0", "cosmiconfig": "^8.1.3",
"css-functions-list": "^3.1.0", "css-functions-list": "^3.1.0",
"css-tree": "^2.3.1", "css-tree": "^2.3.1",
"debug": "^4.3.4", "debug": "^4.3.4",
@ -8762,7 +8771,7 @@
"global-modules": "^2.0.0", "global-modules": "^2.0.0",
"globby": "^11.1.0", "globby": "^11.1.0",
"globjoin": "^0.1.4", "globjoin": "^0.1.4",
"html-tags": "^3.2.0", "html-tags": "^3.3.1",
"ignore": "^5.2.4", "ignore": "^5.2.4",
"import-lazy": "^4.0.0", "import-lazy": "^4.0.0",
"imurmurhash": "^0.1.4", "imurmurhash": "^0.1.4",
@ -8773,11 +8782,11 @@
"micromatch": "^4.0.5", "micromatch": "^4.0.5",
"normalize-path": "^3.0.0", "normalize-path": "^3.0.0",
"picocolors": "^1.0.0", "picocolors": "^1.0.0",
"postcss": "^8.4.21", "postcss": "^8.4.23",
"postcss-media-query-parser": "^0.2.3", "postcss-media-query-parser": "^0.2.3",
"postcss-resolve-nested-selector": "^0.1.1", "postcss-resolve-nested-selector": "^0.1.1",
"postcss-safe-parser": "^6.0.0", "postcss-safe-parser": "^6.0.0",
"postcss-selector-parser": "^6.0.11", "postcss-selector-parser": "^6.0.12",
"postcss-value-parser": "^4.2.0", "postcss-value-parser": "^4.2.0",
"resolve-from": "^5.0.0", "resolve-from": "^5.0.0",
"string-width": "^4.2.3", "string-width": "^4.2.3",
@ -8787,7 +8796,7 @@
"svg-tags": "^1.0.0", "svg-tags": "^1.0.0",
"table": "^6.8.1", "table": "^6.8.1",
"v8-compile-cache": "^2.3.0", "v8-compile-cache": "^2.3.0",
"write-file-atomic": "^5.0.0" "write-file-atomic": "^5.0.1"
}, },
"bin": { "bin": {
"stylelint": "bin/stylelint.js" "stylelint": "bin/stylelint.js"
@ -8801,27 +8810,27 @@
} }
}, },
"node_modules/stylelint-config-recommended": { "node_modules/stylelint-config-recommended": {
"version": "10.0.1", "version": "12.0.0",
"resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-10.0.1.tgz", "resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-12.0.0.tgz",
"integrity": "sha512-TQ4xQ48tW4QSlODcti7pgSRqBZcUaBzuh0jPpfiMhwJKBPkqzTIAU+IrSWL/7BgXlOM90DjB7YaNgFpx8QWhuA==", "integrity": "sha512-x6x8QNARrGO2sG6iURkzqL+Dp+4bJorPMMRNPScdvaUK8PsynriOcMW7AFDKqkWAS5wbue/u8fUT/4ynzcmqdQ==",
"dev": true, "dev": true,
"peerDependencies": { "peerDependencies": {
"stylelint": "^15.0.0" "stylelint": "^15.5.0"
} }
}, },
"node_modules/stylelint-config-recommended-scss": { "node_modules/stylelint-config-recommended-scss": {
"version": "9.0.1", "version": "11.0.0",
"resolved": "https://registry.npmjs.org/stylelint-config-recommended-scss/-/stylelint-config-recommended-scss-9.0.1.tgz", "resolved": "https://registry.npmjs.org/stylelint-config-recommended-scss/-/stylelint-config-recommended-scss-11.0.0.tgz",
"integrity": "sha512-qAmz/TdrqslwiMTuLM3QXeISUkfEDUXGMfRBCHm/xrkCJNnQefv+mzG2mWTsWkqcVk8HAyUkug10dwAcYp2fCQ==", "integrity": "sha512-EDghTDU7aOv2LTsRZvcT1w8mcjUaMhuy+t38iV5I/0Qiu6ixdkRwhLEMul3K/fnB2v9Nwqvb3xpvJfPH+HduDw==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"postcss-scss": "^4.0.2", "postcss-scss": "^4.0.6",
"stylelint-config-recommended": "^10.0.1", "stylelint-config-recommended": "^12.0.0",
"stylelint-scss": "^4.4.0" "stylelint-scss": "^4.6.0"
}, },
"peerDependencies": { "peerDependencies": {
"postcss": "^8.3.3", "postcss": "^8.3.3",
"stylelint": "^15.0.0" "stylelint": "^15.5.0"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
"postcss": { "postcss": {
@ -8829,6 +8838,21 @@
} }
} }
}, },
"node_modules/stylelint-config-recommended-scss/node_modules/stylelint-scss": {
"version": "4.7.0",
"resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-4.7.0.tgz",
"integrity": "sha512-TSUgIeS0H3jqDZnby1UO1Qv3poi1N8wUYIJY6D1tuUq2MN3lwp/rITVo0wD+1SWTmRm0tNmGO0b7nKInnqF6Hg==",
"dev": true,
"dependencies": {
"postcss-media-query-parser": "^0.2.3",
"postcss-resolve-nested-selector": "^0.1.1",
"postcss-selector-parser": "^6.0.11",
"postcss-value-parser": "^4.2.0"
},
"peerDependencies": {
"stylelint": "^14.5.1 || ^15.0.0"
}
},
"node_modules/stylelint-order": { "node_modules/stylelint-order": {
"version": "6.0.3", "version": "6.0.3",
"resolved": "https://registry.npmjs.org/stylelint-order/-/stylelint-order-6.0.3.tgz", "resolved": "https://registry.npmjs.org/stylelint-order/-/stylelint-order-6.0.3.tgz",
@ -8843,16 +8867,15 @@
} }
}, },
"node_modules/stylelint-scss": { "node_modules/stylelint-scss": {
"version": "4.5.0", "version": "5.0.0",
"resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-4.5.0.tgz", "resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-5.0.0.tgz",
"integrity": "sha512-/+rQ8FePOiwT5xblOHkujYzRYfSjmE6HYhLpqJShL+9wH6/HaAVj4mWpXlpEsM3ZgIpOblG9Y+/BycSJzWgjNw==", "integrity": "sha512-5Ee5kG3JIcP2jk2PMoFMiNmW/815V+wK5o37X5ke90ihWMpPXI9iyqeA6zEWipWSRXeQc0kqbd7hKqiR+wPKNA==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"lodash": "^4.17.21",
"postcss-media-query-parser": "^0.2.3", "postcss-media-query-parser": "^0.2.3",
"postcss-resolve-nested-selector": "^0.1.1", "postcss-resolve-nested-selector": "^0.1.1",
"postcss-selector-parser": "^6.0.6", "postcss-selector-parser": "^6.0.11",
"postcss-value-parser": "^4.1.0" "postcss-value-parser": "^4.2.0"
}, },
"peerDependencies": { "peerDependencies": {
"stylelint": "^14.5.1 || ^15.0.0" "stylelint": "^14.5.1 || ^15.0.0"
@ -10082,13 +10105,13 @@
"dev": true "dev": true
}, },
"node_modules/write-file-atomic": { "node_modules/write-file-atomic": {
"version": "5.0.0", "version": "5.0.1",
"resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-5.0.0.tgz", "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-5.0.1.tgz",
"integrity": "sha512-R7NYMnHSlV42K54lwY9lvW6MnSm1HSJqZL3xiSgi9E7//FYaI74r2G0rd+/X6VAMkHEdzxQaU5HUOXWUz5kA/w==", "integrity": "sha512-+QU2zd6OTD8XWIJCbffaiQeH9U73qIqafo1x6V1snCWYGJf6cVE0cDR4D8xRzcEnfI21IFrUPzPGtcPf8AC+Rw==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"imurmurhash": "^0.1.4", "imurmurhash": "^0.1.4",
"signal-exit": "^3.0.7" "signal-exit": "^4.0.1"
}, },
"engines": { "engines": {
"node": "^14.17.0 || ^16.13.0 || >=18.0.0" "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
@ -10379,29 +10402,29 @@
} }
}, },
"@csstools/css-parser-algorithms": { "@csstools/css-parser-algorithms": {
"version": "2.0.1", "version": "2.1.1",
"resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-2.0.1.tgz", "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-2.1.1.tgz",
"integrity": "sha512-B9/8PmOtU6nBiibJg0glnNktQDZ3rZnGn/7UmDfrm2vMtrdlXO3p7ErE95N0up80IRk9YEtB5jyj/TmQ1WH3dw==", "integrity": "sha512-viRnRh02AgO4mwIQb2xQNJju0i+Fh9roNgmbR5xEuG7J3TGgxjnE95HnBLgsFJOJOksvcfxOUCgODcft6Y07cA==",
"dev": true, "dev": true,
"requires": {} "requires": {}
}, },
"@csstools/css-tokenizer": { "@csstools/css-tokenizer": {
"version": "2.1.0", "version": "2.1.1",
"resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-2.1.0.tgz", "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-2.1.1.tgz",
"integrity": "sha512-dtqFyoJBHUxGi9zPZdpCKP1xk8tq6KPHJ/NY4qWXiYo6IcSGwzk3L8x2XzZbbyOyBs9xQARoGveU2AsgLj6D2A==", "integrity": "sha512-GbrTj2Z8MCTUv+52GE0RbFGM527xuXZ0Xa5g0Z+YN573uveS4G0qi6WNOMyz3yrFM/jaILTTwJ0+umx81EzqfA==",
"dev": true "dev": true
}, },
"@csstools/media-query-list-parser": { "@csstools/media-query-list-parser": {
"version": "2.0.1", "version": "2.0.4",
"resolved": "https://registry.npmjs.org/@csstools/media-query-list-parser/-/media-query-list-parser-2.0.1.tgz", "resolved": "https://registry.npmjs.org/@csstools/media-query-list-parser/-/media-query-list-parser-2.0.4.tgz",
"integrity": "sha512-X2/OuzEbjaxhzm97UJ+95GrMeT29d1Ib+Pu+paGLuRWZnWRK9sI9r3ikmKXPWGA1C4y4JEdBEFpp9jEqCvLeRA==", "integrity": "sha512-GyYot6jHgcSDZZ+tLSnrzkR7aJhF2ZW6d+CXH66mjy5WpAQhZD4HDke2OQ36SivGRWlZJpAz7TzbW6OKlEpxAA==",
"dev": true, "dev": true,
"requires": {} "requires": {}
}, },
"@csstools/selector-specificity": { "@csstools/selector-specificity": {
"version": "2.1.1", "version": "2.2.0",
"resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-2.1.1.tgz", "resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-2.2.0.tgz",
"integrity": "sha512-jwx+WCqszn53YHOfvFMJJRd/B2GqkCBt+1MJSG6o5/s8+ytHMvDZXsJgUEWLk12UnLd7HYKac4BYU5i/Ron1Cw==", "integrity": "sha512-+OJ9konv95ClSTOJCmMZqpd5+YGsB2S+x6w3E1oaM8UuR5j8nTNHYSz8c9BEPGDOCMQYIEEGlVPj/VY64iTbGw==",
"dev": true, "dev": true,
"requires": {} "requires": {}
}, },
@ -11690,9 +11713,9 @@
"dev": true "dev": true
}, },
"cosmiconfig": { "cosmiconfig": {
"version": "8.1.2", "version": "8.1.3",
"resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.1.2.tgz", "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.1.3.tgz",
"integrity": "sha512-rmpUFKMZiawLfug8sP4NbpBSOpWftZB6UACOLEiNbnRAYM1TzgQuTWlMYFRuPgmoTCkcOxSMwQJQpJmiXv/eHw==", "integrity": "sha512-/UkO2JKI18b5jVMJUp0lvKFMpa/Gye+ZgZjKD+DGEN9y7NRcf/nK1A0sp67ONmKtnDCNMS44E6jrk0Yc3bDuUw==",
"dev": true, "dev": true,
"requires": { "requires": {
"import-fresh": "^3.2.1", "import-fresh": "^3.2.1",
@ -14083,9 +14106,9 @@
"dev": true "dev": true
}, },
"html-tags": { "html-tags": {
"version": "3.2.0", "version": "3.3.1",
"resolved": "https://registry.npmjs.org/html-tags/-/html-tags-3.2.0.tgz", "resolved": "https://registry.npmjs.org/html-tags/-/html-tags-3.3.1.tgz",
"integrity": "sha512-vy7ClnArOZwCnqZgvv+ddgHgJiAFXe3Ge9ML5/mBctVJoUoYPCdxVucOywjDARn6CVoh3dRSFdPHy2sX80L0Wg==", "integrity": "sha512-ztqyC3kLto0e9WbNp0aeP+M3kTt+nbaIveGmUxAtZa+8iFgKLUOD4YKM5j+f3QD89bra7UeumolZHKuOXnTmeQ==",
"dev": true "dev": true
}, },
"iconv-lite": { "iconv-lite": {
@ -14690,12 +14713,6 @@
"p-locate": "^4.1.0" "p-locate": "^4.1.0"
} }
}, },
"lodash": {
"version": "4.17.21",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
"integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==",
"dev": true
},
"lodash._basecopy": { "lodash._basecopy": {
"version": "3.0.1", "version": "3.0.1",
"resolved": "https://registry.npmjs.org/lodash._basecopy/-/lodash._basecopy-3.0.1.tgz", "resolved": "https://registry.npmjs.org/lodash._basecopy/-/lodash._basecopy-3.0.1.tgz",
@ -15241,9 +15258,9 @@
"dev": true "dev": true
}, },
"moment-timezone": { "moment-timezone": {
"version": "0.5.41", "version": "0.5.43",
"resolved": "https://registry.npmjs.org/moment-timezone/-/moment-timezone-0.5.41.tgz", "resolved": "https://registry.npmjs.org/moment-timezone/-/moment-timezone-0.5.43.tgz",
"integrity": "sha512-e0jGNZDOHfBXJGz8vR/sIMXvBIGJJcqFjmlg9lmE+5KX1U7/RZNMswfD8nKnNCnQdKTIj50IaRKwl1fvMLyyRg==", "integrity": "sha512-72j3aNyuIsDxdF1i7CEgV2FfxM1r6aaqJyLB2vwb33mXYyoyLly+F1zbWqhA3/bVIoJ4szlUoMbUnVdid32NUQ==",
"dev": true, "dev": true,
"requires": { "requires": {
"moment": "^2.29.4" "moment": "^2.29.4"
@ -15325,9 +15342,9 @@
"optional": true "optional": true
}, },
"nanoid": { "nanoid": {
"version": "3.3.4", "version": "3.3.6",
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz", "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz",
"integrity": "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==", "integrity": "sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==",
"dev": true "dev": true
}, },
"nanomatch": { "nanomatch": {
@ -15893,9 +15910,9 @@
} }
}, },
"plotly.js": { "plotly.js": {
"version": "2.20.0", "version": "2.22.0",
"resolved": "https://registry.npmjs.org/plotly.js/-/plotly.js-2.20.0.tgz", "resolved": "https://registry.npmjs.org/plotly.js/-/plotly.js-2.22.0.tgz",
"integrity": "sha512-aitv9IkW9Od55oewdnnABVDxZ7SJTGFp+uISURIfN3Gn0/xi2FwJCstUyoHKHT/an+jzWFsaiqFQL9FDxn2s8A==", "integrity": "sha512-g+YTMnChFDx/fNUV2rqkrf87wKwKuOhqv9LIxhmPyF94RGM4v4blP0mmgwQ278qv3kXmfTMJecIUusr1gzscng==",
"dev": true, "dev": true,
"requires": { "requires": {
"@plotly/d3": "3.8.1", "@plotly/d3": "3.8.1",
@ -15994,12 +16011,12 @@
"dev": true "dev": true
}, },
"postcss": { "postcss": {
"version": "8.4.21", "version": "8.4.23",
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.21.tgz", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.23.tgz",
"integrity": "sha512-tP7u/Sn/dVxK2NnruI4H9BG+x+Wxz6oeZ1cJ8P6G/PZY0IKk4k/63TDsQf2kQq3+qoJeLm2kIBUNlZe3zgb4Zg==", "integrity": "sha512-bQ3qMcpF6A/YjR55xtoTr0jGOlnPOKAIMdOWiv0EIT6HVPEaJiJB4NLljSbiHoC2RX7DN5Uvjtpbg1NPdwv1oA==",
"dev": true, "dev": true,
"requires": { "requires": {
"nanoid": "^3.3.4", "nanoid": "^3.3.6",
"picocolors": "^1.0.0", "picocolors": "^1.0.0",
"source-map-js": "^1.0.2" "source-map-js": "^1.0.2"
} }
@ -16031,9 +16048,9 @@
"requires": {} "requires": {}
}, },
"postcss-selector-parser": { "postcss-selector-parser": {
"version": "6.0.11", "version": "6.0.12",
"resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.11.tgz", "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.12.tgz",
"integrity": "sha512-zbARubNdogI9j7WY4nQJBiNqQf3sLS3wCP4WfOidu+p28LofJqDH1tcXypGrcmMHhDk2t9wGhCsYe/+szLTy1g==", "integrity": "sha512-NdxGCAZdRrwVI1sy59+Wzrh+pMMHxapGnpfenDVlMEXoOcvt4pGE0JLK9YY2F5dLxcFYA/YbVQKhcGU+FtSYQg==",
"dev": true, "dev": true,
"requires": { "requires": {
"cssesc": "^3.0.0", "cssesc": "^3.0.0",
@ -16768,9 +16785,9 @@
"dev": true "dev": true
}, },
"sass": { "sass": {
"version": "1.59.3", "version": "1.62.1",
"resolved": "https://registry.npmjs.org/sass/-/sass-1.59.3.tgz", "resolved": "https://registry.npmjs.org/sass/-/sass-1.62.1.tgz",
"integrity": "sha512-QCq98N3hX1jfTCoUAsF3eyGuXLsY7BCnCEg9qAact94Yc21npG2/mVOqoDvE0fCbWDqiM4WlcJQla0gWG2YlxQ==", "integrity": "sha512-NHpxIzN29MXvWiuswfc1W3I0N8SXBd8UR26WntmDlRYf0bSADnwnOjsyMZ3lMezSlArD33Vs3YFhp7dWvL770A==",
"dev": true, "dev": true,
"requires": { "requires": {
"chokidar": ">=3.0.0 <4.0.0", "chokidar": ">=3.0.0 <4.0.0",
@ -16930,9 +16947,9 @@
"dev": true "dev": true
}, },
"signal-exit": { "signal-exit": {
"version": "3.0.7", "version": "4.0.1",
"resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.0.1.tgz",
"integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", "integrity": "sha512-uUWsN4aOxJAS8KOuf3QMyFtgm1pkb6I+KRZbRF/ghdf5T7sM+B1lLLzPDxswUjkmHyxQAVzEgG35E3NzDM9GVw==",
"dev": true "dev": true
}, },
"signum": { "signum": {
@ -17376,18 +17393,18 @@
"dev": true "dev": true
}, },
"stylelint": { "stylelint": {
"version": "15.3.0", "version": "15.6.1",
"resolved": "https://registry.npmjs.org/stylelint/-/stylelint-15.3.0.tgz", "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-15.6.1.tgz",
"integrity": "sha512-9UYBYk7K9rtlKcTUDZrtntE840sZM00qyYBQHHe7tjwMNUsPsGvR6Fd43IxHEAhRrDLzpy3TVaHb6CReBB3eFg==", "integrity": "sha512-d8icFBlVl93Elf3Z5ABQNOCe4nx69is3D/NZhDLAie1eyYnpxfeKe7pCfqzT5W4F8vxHCLSDfV8nKNJzogvV2Q==",
"dev": true, "dev": true,
"requires": { "requires": {
"@csstools/css-parser-algorithms": "^2.0.1", "@csstools/css-parser-algorithms": "^2.1.1",
"@csstools/css-tokenizer": "^2.1.0", "@csstools/css-tokenizer": "^2.1.1",
"@csstools/media-query-list-parser": "^2.0.1", "@csstools/media-query-list-parser": "^2.0.4",
"@csstools/selector-specificity": "^2.1.1", "@csstools/selector-specificity": "^2.2.0",
"balanced-match": "^2.0.0", "balanced-match": "^2.0.0",
"colord": "^2.9.3", "colord": "^2.9.3",
"cosmiconfig": "^8.1.0", "cosmiconfig": "^8.1.3",
"css-functions-list": "^3.1.0", "css-functions-list": "^3.1.0",
"css-tree": "^2.3.1", "css-tree": "^2.3.1",
"debug": "^4.3.4", "debug": "^4.3.4",
@ -17397,7 +17414,7 @@
"global-modules": "^2.0.0", "global-modules": "^2.0.0",
"globby": "^11.1.0", "globby": "^11.1.0",
"globjoin": "^0.1.4", "globjoin": "^0.1.4",
"html-tags": "^3.2.0", "html-tags": "^3.3.1",
"ignore": "^5.2.4", "ignore": "^5.2.4",
"import-lazy": "^4.0.0", "import-lazy": "^4.0.0",
"imurmurhash": "^0.1.4", "imurmurhash": "^0.1.4",
@ -17408,11 +17425,11 @@
"micromatch": "^4.0.5", "micromatch": "^4.0.5",
"normalize-path": "^3.0.0", "normalize-path": "^3.0.0",
"picocolors": "^1.0.0", "picocolors": "^1.0.0",
"postcss": "^8.4.21", "postcss": "^8.4.23",
"postcss-media-query-parser": "^0.2.3", "postcss-media-query-parser": "^0.2.3",
"postcss-resolve-nested-selector": "^0.1.1", "postcss-resolve-nested-selector": "^0.1.1",
"postcss-safe-parser": "^6.0.0", "postcss-safe-parser": "^6.0.0",
"postcss-selector-parser": "^6.0.11", "postcss-selector-parser": "^6.0.12",
"postcss-value-parser": "^4.2.0", "postcss-value-parser": "^4.2.0",
"resolve-from": "^5.0.0", "resolve-from": "^5.0.0",
"string-width": "^4.2.3", "string-width": "^4.2.3",
@ -17422,7 +17439,7 @@
"svg-tags": "^1.0.0", "svg-tags": "^1.0.0",
"table": "^6.8.1", "table": "^6.8.1",
"v8-compile-cache": "^2.3.0", "v8-compile-cache": "^2.3.0",
"write-file-atomic": "^5.0.0" "write-file-atomic": "^5.0.1"
}, },
"dependencies": { "dependencies": {
"balanced-match": { "balanced-match": {
@ -17491,21 +17508,35 @@
} }
}, },
"stylelint-config-recommended": { "stylelint-config-recommended": {
"version": "10.0.1", "version": "12.0.0",
"resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-10.0.1.tgz", "resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-12.0.0.tgz",
"integrity": "sha512-TQ4xQ48tW4QSlODcti7pgSRqBZcUaBzuh0jPpfiMhwJKBPkqzTIAU+IrSWL/7BgXlOM90DjB7YaNgFpx8QWhuA==", "integrity": "sha512-x6x8QNARrGO2sG6iURkzqL+Dp+4bJorPMMRNPScdvaUK8PsynriOcMW7AFDKqkWAS5wbue/u8fUT/4ynzcmqdQ==",
"dev": true, "dev": true,
"requires": {} "requires": {}
}, },
"stylelint-config-recommended-scss": { "stylelint-config-recommended-scss": {
"version": "9.0.1", "version": "11.0.0",
"resolved": "https://registry.npmjs.org/stylelint-config-recommended-scss/-/stylelint-config-recommended-scss-9.0.1.tgz", "resolved": "https://registry.npmjs.org/stylelint-config-recommended-scss/-/stylelint-config-recommended-scss-11.0.0.tgz",
"integrity": "sha512-qAmz/TdrqslwiMTuLM3QXeISUkfEDUXGMfRBCHm/xrkCJNnQefv+mzG2mWTsWkqcVk8HAyUkug10dwAcYp2fCQ==", "integrity": "sha512-EDghTDU7aOv2LTsRZvcT1w8mcjUaMhuy+t38iV5I/0Qiu6ixdkRwhLEMul3K/fnB2v9Nwqvb3xpvJfPH+HduDw==",
"dev": true, "dev": true,
"requires": { "requires": {
"postcss-scss": "^4.0.2", "postcss-scss": "^4.0.6",
"stylelint-config-recommended": "^10.0.1", "stylelint-config-recommended": "^12.0.0",
"stylelint-scss": "^4.4.0" "stylelint-scss": "^4.6.0"
},
"dependencies": {
"stylelint-scss": {
"version": "4.7.0",
"resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-4.7.0.tgz",
"integrity": "sha512-TSUgIeS0H3jqDZnby1UO1Qv3poi1N8wUYIJY6D1tuUq2MN3lwp/rITVo0wD+1SWTmRm0tNmGO0b7nKInnqF6Hg==",
"dev": true,
"requires": {
"postcss-media-query-parser": "^0.2.3",
"postcss-resolve-nested-selector": "^0.1.1",
"postcss-selector-parser": "^6.0.11",
"postcss-value-parser": "^4.2.0"
}
}
} }
}, },
"stylelint-order": { "stylelint-order": {
@ -17519,16 +17550,15 @@
} }
}, },
"stylelint-scss": { "stylelint-scss": {
"version": "4.5.0", "version": "5.0.0",
"resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-4.5.0.tgz", "resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-5.0.0.tgz",
"integrity": "sha512-/+rQ8FePOiwT5xblOHkujYzRYfSjmE6HYhLpqJShL+9wH6/HaAVj4mWpXlpEsM3ZgIpOblG9Y+/BycSJzWgjNw==", "integrity": "sha512-5Ee5kG3JIcP2jk2PMoFMiNmW/815V+wK5o37X5ke90ihWMpPXI9iyqeA6zEWipWSRXeQc0kqbd7hKqiR+wPKNA==",
"dev": true, "dev": true,
"requires": { "requires": {
"lodash": "^4.17.21",
"postcss-media-query-parser": "^0.2.3", "postcss-media-query-parser": "^0.2.3",
"postcss-resolve-nested-selector": "^0.1.1", "postcss-resolve-nested-selector": "^0.1.1",
"postcss-selector-parser": "^6.0.6", "postcss-selector-parser": "^6.0.11",
"postcss-value-parser": "^4.1.0" "postcss-value-parser": "^4.2.0"
} }
}, },
"supercluster": { "supercluster": {
@ -18510,13 +18540,13 @@
"dev": true "dev": true
}, },
"write-file-atomic": { "write-file-atomic": {
"version": "5.0.0", "version": "5.0.1",
"resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-5.0.0.tgz", "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-5.0.1.tgz",
"integrity": "sha512-R7NYMnHSlV42K54lwY9lvW6MnSm1HSJqZL3xiSgi9E7//FYaI74r2G0rd+/X6VAMkHEdzxQaU5HUOXWUz5kA/w==", "integrity": "sha512-+QU2zd6OTD8XWIJCbffaiQeH9U73qIqafo1x6V1snCWYGJf6cVE0cDR4D8xRzcEnfI21IFrUPzPGtcPf8AC+Rw==",
"dev": true, "dev": true,
"requires": { "requires": {
"imurmurhash": "^0.1.4", "imurmurhash": "^0.1.4",
"signal-exit": "^3.0.7" "signal-exit": "^4.0.1"
} }
}, },
"xmlhttprequest": { "xmlhttprequest": {

View File

@ -24,16 +24,16 @@
"gulp-uglify": "^3.0.2", "gulp-uglify": "^3.0.2",
"jquery": "^3.6.4", "jquery": "^3.6.4",
"moment": "^2.29.4", "moment": "^2.29.4",
"moment-timezone": "^0.5.41", "moment-timezone": "^0.5.43",
"npm-force-resolutions": "^0.0.10", "npm-force-resolutions": "^0.0.10",
"plotly.js": "^2.20.0", "plotly.js": "^2.22.0",
"popper.js": "^1.16.1", "popper.js": "^1.16.1",
"pulltorefreshjs": "^0.1.22", "pulltorefreshjs": "^0.1.22",
"sass": "^1.59.3", "sass": "^1.62.1",
"stylelint": "^15.3.0", "stylelint": "^15.6.1",
"stylelint-config-recommended-scss": "^9.0.1", "stylelint-config-recommended-scss": "^11.0.0",
"stylelint-order": "^6.0.3", "stylelint-order": "^6.0.3",
"stylelint-scss": "^4.5.0", "stylelint-scss": "^5.0.0",
"tempusdominus-bootstrap-4": "5.39.2", "tempusdominus-bootstrap-4": "5.39.2",
"tempusdominus-core": "5.19.3" "tempusdominus-core": "5.19.3"
} }

View File

@ -1,48 +1,49 @@
-i https://pypi.python.org/simple -i https://pypi.python.org/simple
asgiref==3.6.0 ; python_version >= '3.7' asgiref==3.6.0 ; python_version >= '3.7'
boto3==1.26.66 boto3==1.26.125
botocore==1.29.66 ; python_version >= '3.7' botocore==1.29.125 ; python_version >= '3.7'
defusedxml==0.7.1 ; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4' defusedxml==0.7.1 ; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4'
diff-match-patch==20200713 ; python_version >= '2.7' diff-match-patch==20230430 ; python_version >= '3.7'
dj-database-url==1.2.0 dj-database-url==2.0.0
django==4.1.6 django==4.2
django-appconf==1.0.5 ; python_version > '3' django-appconf==1.0.5 ; python_version >= '3.1'
django-axes==5.40.1 django-axes==5.41.1
django-filter==22.1 django-filter==23.2
django-imagekit==4.1.0 django-imagekit==4.1.0
django-import-export==3.0.2 django-import-export==3.2.0
django-ipware==4.0.2 ; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4, 3.5' django-ipware==5.0.0 ; python_version >= '3.7'
django-qr-code==3.1.1 django-qr-code==3.1.1
django-storages==1.13.2 django-storages==1.13.2
django-taggit==3.1.0 django-taggit==3.1.0
django-widget-tweaks==1.4.12 django-widget-tweaks==1.4.12
djangorestframework==3.14.0 djangorestframework==3.14.0
et-xmlfile==1.1.0 ; python_version >= '3.6' et-xmlfile==1.1.0 ; python_version >= '3.6'
faker==16.7.0 faker==18.6.1
gunicorn==20.1.0 gunicorn==20.1.0
jmespath==1.0.1 ; python_version >= '3.7' jmespath==1.0.1 ; python_version >= '3.7'
markuppy==1.14 markuppy==1.14
odfpy==1.4.1 odfpy==1.4.1
openpyxl==3.1.0 openpyxl==3.1.2
packaging==23.1 ; python_version >= '3.7'
pilkit==2.0 pilkit==2.0
pillow==9.4.0 pillow==9.5.0
plotly==5.13.0 plotly==5.14.1
psycopg2-binary==2.9.5 psycopg2-binary==2.9.6
pydantic==1.10.4 ; python_version >= '3.7' pydantic==1.10.7 ; python_version >= '3.7'
python-dateutil==2.8.2 ; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2' python-dateutil==2.8.2 ; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'
python-dotenv==0.21.1 python-dotenv==1.0.0
pytz==2022.7.1 pytz==2023.3
pyyaml==6.0 pyyaml==6.0
s3transfer==0.6.0 ; python_version >= '3.7' s3transfer==0.6.0 ; python_version >= '3.7'
segno==1.5.2 ; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4' segno==1.5.2 ; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4'
setuptools==67.2.0 ; python_version >= '3.7' setuptools==67.7.2 ; python_version >= '3.7'
six==1.16.0 ; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2' six==1.16.0 ; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'
sqlparse==0.4.3 ; python_version >= '3.5' sqlparse==0.4.4 ; python_version >= '3.5'
tablib[html,ods,xls,xlsx,yaml]==3.3.0 ; python_version >= '3.7' tablib[html,ods,xls,xlsx,yaml]==3.4.0 ; python_version >= '3.7'
tenacity==8.2.0 ; python_version >= '3.6' tenacity==8.2.2 ; python_version >= '3.6'
typing-extensions==4.4.0 ; python_version >= '3.7' typing-extensions==4.5.0 ; python_version >= '3.7'
uritemplate==4.1.1 uritemplate==4.1.1
urllib3==1.26.14 ; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4, 3.5' urllib3==1.26.15 ; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4, 3.5'
whitenoise==6.3.0 whitenoise==6.4.0
xlrd==2.0.1 xlrd==2.0.1
xlwt==1.3.0 xlwt==1.3.0

Binary file not shown.

View File

@ -2,9 +2,8 @@
DJANGO Admin styles DJANGO Admin styles
*/ */
@import url("fonts.168bab448fee.css");
/* VARIABLE DEFINITIONS */ /* VARIABLE DEFINITIONS */
html[data-theme="light"],
:root { :root {
--primary: #79aec8; --primary: #79aec8;
--secondary: #417690; --secondary: #417690;
@ -25,7 +24,7 @@
--breadcrumbs-link-fg: var(--body-bg); --breadcrumbs-link-fg: var(--body-bg);
--breadcrumbs-bg: var(--primary); --breadcrumbs-bg: var(--primary);
--link-fg: #447e9b; --link-fg: #417893;
--link-hover-color: #036; --link-hover-color: #036;
--link-selected-fg: #5b80b2; --link-selected-fg: #5b80b2;
@ -47,14 +46,46 @@
--button-hover-bg: #609ab6; --button-hover-bg: #609ab6;
--default-button-bg: var(--secondary); --default-button-bg: var(--secondary);
--default-button-hover-bg: #205067; --default-button-hover-bg: #205067;
--close-button-bg: #888; /* Previously #bbb, contrast 1.92 */ --close-button-bg: #747474;
--close-button-hover-bg: #747474; --close-button-hover-bg: #333;
--delete-button-bg: #ba2121; --delete-button-bg: #ba2121;
--delete-button-hover-bg: #a41515; --delete-button-hover-bg: #a41515;
--object-tools-fg: var(--button-fg); --object-tools-fg: var(--button-fg);
--object-tools-bg: var(--close-button-bg); --object-tools-bg: var(--close-button-bg);
--object-tools-hover-bg: var(--close-button-hover-bg); --object-tools-hover-bg: var(--close-button-hover-bg);
--font-family-primary:
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
system-ui,
Roboto,
"Helvetica Neue",
Arial,
sans-serif,
"Apple Color Emoji",
"Segoe UI Emoji",
"Segoe UI Symbol",
"Noto Color Emoji";
--font-family-monospace:
ui-monospace,
Menlo,
Monaco,
"Cascadia Mono",
"Segoe UI Mono",
"Roboto Mono",
"Oxygen Mono",
"Ubuntu Monospace",
"Source Code Pro",
"Fira Mono",
"Droid Sans Mono",
"Courier New",
monospace,
"Apple Color Emoji",
"Segoe UI Emoji",
"Segoe UI Symbol",
"Noto Color Emoji";
} }
html, body { html, body {
@ -65,7 +96,7 @@ body {
margin: 0; margin: 0;
padding: 0; padding: 0;
font-size: 0.875rem; font-size: 0.875rem;
font-family: "Roboto","Lucida Grande","DejaVu Sans","Bitstream Vera Sans",Verdana,Arial,sans-serif; font-family: var(--font-family-primary);
color: var(--body-fg); color: var(--body-fg);
background: var(--body-bg); background: var(--body-bg);
} }
@ -163,7 +194,7 @@ li ul {
li, dt, dd { li, dt, dd {
font-size: 0.8125rem; font-size: 0.8125rem;
line-height: 20px; line-height: 1.25rem;
} }
dt { dt {
@ -197,7 +228,7 @@ blockquote {
} }
code, pre { code, pre {
font-family: "Bitstream Vera Sans Mono", Monaco, "Courier New", Courier, monospace; font-family: var(--font-family-monospace);
color: var(--body-quiet-color); color: var(--body-quiet-color);
font-size: 0.75rem; font-size: 0.75rem;
overflow-x: auto; overflow-x: auto;
@ -277,7 +308,7 @@ table {
td, th { td, th {
font-size: 0.8125rem; font-size: 0.8125rem;
line-height: 16px; line-height: 1rem;
border-bottom: 1px solid var(--hairline-color); border-bottom: 1px solid var(--hairline-color);
vertical-align: top; vertical-align: top;
padding: 8px; padding: 8px;
@ -441,7 +472,7 @@ input, textarea, select, .form-row p, form .button {
margin: 2px 0; margin: 2px 0;
padding: 2px 3px; padding: 2px 3px;
vertical-align: middle; vertical-align: middle;
font-family: "Roboto", "Lucida Grande", Verdana, Arial, sans-serif; font-family: var(--font-family-primary);
font-weight: normal; font-weight: normal;
font-size: 0.8125rem; font-size: 0.8125rem;
} }
@ -470,7 +501,7 @@ textarea:focus, select:focus, .vTextField:focus {
} }
select { select {
height: 30px; height: 1.875rem;
} }
select[multiple] { select[multiple] {
@ -506,7 +537,6 @@ a.button {
} }
.button.default, input[type=submit].default, .submit-row input.default { .button.default, input[type=submit].default, .submit-row input.default {
float: right;
border: none; border: none;
font-weight: 400; font-weight: 400;
background: var(--default-button-bg); background: var(--default-button-bg);
@ -731,7 +761,7 @@ a.deletelink:focus, a.deletelink:hover {
display: block; display: block;
float: left; float: left;
margin-left: 5px; margin-left: 5px;
height: 16px; height: 1rem;
} }
.object-tools a { .object-tools a {
@ -815,6 +845,20 @@ a.deletelink:focus, a.deletelink:hover {
max-width: 100%; max-width: 100%;
} }
.skip-to-content-link {
position: absolute;
top: -999px;
margin: 5px;
padding: 5px;
background: var(--body-bg);
z-index: 1;
}
.skip-to-content-link:focus {
left: 0px;
top: 0px;
}
#content { #content {
padding: 20px 40px; padding: 20px 40px;
} }
@ -887,12 +931,13 @@ a.deletelink:focus, a.deletelink:hover {
} }
#branding { #branding {
float: left; display: flex;
} }
#branding h1 { #branding h1 {
padding: 0; padding: 0;
margin: 0 20px 0 0; margin: 0;
margin-inline-end: 20px;
font-weight: 300; font-weight: 300;
font-size: 1.5rem; font-size: 1.5rem;
color: var(--header-branding-color); color: var(--header-branding-color);
@ -922,7 +967,7 @@ a.deletelink:focus, a.deletelink:hover {
background: none; background: none;
border: 0; border: 0;
cursor: pointer; cursor: pointer;
font-family: "Roboto","Lucida Grande","DejaVu Sans","Bitstream Vera Sans",Verdana,Arial,sans-serif; font-family: var(--font-family-primary);
} }
#user-tools { #user-tools {
@ -1014,8 +1059,8 @@ a.deletelink:focus, a.deletelink:hover {
.delete-confirmation form .cancel-link { .delete-confirmation form .cancel-link {
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
height: 15px; height: 0.9375rem;
line-height: 15px; line-height: 0.9375rem;
border-radius: 4px; border-radius: 4px;
padding: 10px 15px; padding: 10px 15px;
color: var(--button-fg); color: var(--button-fg);
@ -1087,3 +1132,7 @@ a.deletelink:focus, a.deletelink:hover {
color: white; color: white;
background: var(--link-hover-color); background: var(--link-hover-color);
} }
.base-svgs {
display: none;
}

BIN
static/admin/css/base.64976e0f7339.css.gz generated Normal file

Binary file not shown.

View File

@ -2,9 +2,8 @@
DJANGO Admin styles DJANGO Admin styles
*/ */
@import url(fonts.css);
/* VARIABLE DEFINITIONS */ /* VARIABLE DEFINITIONS */
html[data-theme="light"],
:root { :root {
--primary: #79aec8; --primary: #79aec8;
--secondary: #417690; --secondary: #417690;
@ -25,7 +24,7 @@
--breadcrumbs-link-fg: var(--body-bg); --breadcrumbs-link-fg: var(--body-bg);
--breadcrumbs-bg: var(--primary); --breadcrumbs-bg: var(--primary);
--link-fg: #447e9b; --link-fg: #417893;
--link-hover-color: #036; --link-hover-color: #036;
--link-selected-fg: #5b80b2; --link-selected-fg: #5b80b2;
@ -47,14 +46,46 @@
--button-hover-bg: #609ab6; --button-hover-bg: #609ab6;
--default-button-bg: var(--secondary); --default-button-bg: var(--secondary);
--default-button-hover-bg: #205067; --default-button-hover-bg: #205067;
--close-button-bg: #888; /* Previously #bbb, contrast 1.92 */ --close-button-bg: #747474;
--close-button-hover-bg: #747474; --close-button-hover-bg: #333;
--delete-button-bg: #ba2121; --delete-button-bg: #ba2121;
--delete-button-hover-bg: #a41515; --delete-button-hover-bg: #a41515;
--object-tools-fg: var(--button-fg); --object-tools-fg: var(--button-fg);
--object-tools-bg: var(--close-button-bg); --object-tools-bg: var(--close-button-bg);
--object-tools-hover-bg: var(--close-button-hover-bg); --object-tools-hover-bg: var(--close-button-hover-bg);
--font-family-primary:
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
system-ui,
Roboto,
"Helvetica Neue",
Arial,
sans-serif,
"Apple Color Emoji",
"Segoe UI Emoji",
"Segoe UI Symbol",
"Noto Color Emoji";
--font-family-monospace:
ui-monospace,
Menlo,
Monaco,
"Cascadia Mono",
"Segoe UI Mono",
"Roboto Mono",
"Oxygen Mono",
"Ubuntu Monospace",
"Source Code Pro",
"Fira Mono",
"Droid Sans Mono",
"Courier New",
monospace,
"Apple Color Emoji",
"Segoe UI Emoji",
"Segoe UI Symbol",
"Noto Color Emoji";
} }
html, body { html, body {
@ -65,7 +96,7 @@ body {
margin: 0; margin: 0;
padding: 0; padding: 0;
font-size: 0.875rem; font-size: 0.875rem;
font-family: "Roboto","Lucida Grande","DejaVu Sans","Bitstream Vera Sans",Verdana,Arial,sans-serif; font-family: var(--font-family-primary);
color: var(--body-fg); color: var(--body-fg);
background: var(--body-bg); background: var(--body-bg);
} }
@ -163,7 +194,7 @@ li ul {
li, dt, dd { li, dt, dd {
font-size: 0.8125rem; font-size: 0.8125rem;
line-height: 20px; line-height: 1.25rem;
} }
dt { dt {
@ -197,7 +228,7 @@ blockquote {
} }
code, pre { code, pre {
font-family: "Bitstream Vera Sans Mono", Monaco, "Courier New", Courier, monospace; font-family: var(--font-family-monospace);
color: var(--body-quiet-color); color: var(--body-quiet-color);
font-size: 0.75rem; font-size: 0.75rem;
overflow-x: auto; overflow-x: auto;
@ -277,7 +308,7 @@ table {
td, th { td, th {
font-size: 0.8125rem; font-size: 0.8125rem;
line-height: 16px; line-height: 1rem;
border-bottom: 1px solid var(--hairline-color); border-bottom: 1px solid var(--hairline-color);
vertical-align: top; vertical-align: top;
padding: 8px; padding: 8px;
@ -441,7 +472,7 @@ input, textarea, select, .form-row p, form .button {
margin: 2px 0; margin: 2px 0;
padding: 2px 3px; padding: 2px 3px;
vertical-align: middle; vertical-align: middle;
font-family: "Roboto", "Lucida Grande", Verdana, Arial, sans-serif; font-family: var(--font-family-primary);
font-weight: normal; font-weight: normal;
font-size: 0.8125rem; font-size: 0.8125rem;
} }
@ -470,7 +501,7 @@ textarea:focus, select:focus, .vTextField:focus {
} }
select { select {
height: 30px; height: 1.875rem;
} }
select[multiple] { select[multiple] {
@ -506,7 +537,6 @@ a.button {
} }
.button.default, input[type=submit].default, .submit-row input.default { .button.default, input[type=submit].default, .submit-row input.default {
float: right;
border: none; border: none;
font-weight: 400; font-weight: 400;
background: var(--default-button-bg); background: var(--default-button-bg);
@ -731,7 +761,7 @@ a.deletelink:focus, a.deletelink:hover {
display: block; display: block;
float: left; float: left;
margin-left: 5px; margin-left: 5px;
height: 16px; height: 1rem;
} }
.object-tools a { .object-tools a {
@ -815,6 +845,20 @@ a.deletelink:focus, a.deletelink:hover {
max-width: 100%; max-width: 100%;
} }
.skip-to-content-link {
position: absolute;
top: -999px;
margin: 5px;
padding: 5px;
background: var(--body-bg);
z-index: 1;
}
.skip-to-content-link:focus {
left: 0px;
top: 0px;
}
#content { #content {
padding: 20px 40px; padding: 20px 40px;
} }
@ -887,12 +931,13 @@ a.deletelink:focus, a.deletelink:hover {
} }
#branding { #branding {
float: left; display: flex;
} }
#branding h1 { #branding h1 {
padding: 0; padding: 0;
margin: 0 20px 0 0; margin: 0;
margin-inline-end: 20px;
font-weight: 300; font-weight: 300;
font-size: 1.5rem; font-size: 1.5rem;
color: var(--header-branding-color); color: var(--header-branding-color);
@ -922,7 +967,7 @@ a.deletelink:focus, a.deletelink:hover {
background: none; background: none;
border: 0; border: 0;
cursor: pointer; cursor: pointer;
font-family: "Roboto","Lucida Grande","DejaVu Sans","Bitstream Vera Sans",Verdana,Arial,sans-serif; font-family: var(--font-family-primary);
} }
#user-tools { #user-tools {
@ -1014,8 +1059,8 @@ a.deletelink:focus, a.deletelink:hover {
.delete-confirmation form .cancel-link { .delete-confirmation form .cancel-link {
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
height: 15px; height: 0.9375rem;
line-height: 15px; line-height: 0.9375rem;
border-radius: 4px; border-radius: 4px;
padding: 10px 15px; padding: 10px 15px;
color: var(--button-fg); color: var(--button-fg);
@ -1087,3 +1132,7 @@ a.deletelink:focus, a.deletelink:hover {
color: white; color: white;
background: var(--link-hover-color); background: var(--link-hover-color);
} }
.base-svgs {
display: none;
}

Binary file not shown.

Binary file not shown.

View File

@ -90,7 +90,7 @@
} }
#toolbar #searchbar { #toolbar #searchbar {
height: 19px; height: 1.1875rem;
border: 1px solid var(--border-color); border: 1px solid var(--border-color);
padding: 2px 5px; padding: 2px 5px;
margin: 0; margin: 0;
@ -223,27 +223,24 @@
/* DATE DRILLDOWN */ /* DATE DRILLDOWN */
.change-list ul.toplinks { .change-list .toplinks {
display: block; display: flex;
float: left; padding-bottom: 5px;
padding: 0; flex-wrap: wrap;
margin: 0; gap: 3px 17px;
width: 100%;
}
.change-list ul.toplinks li {
padding: 3px 6px;
font-weight: bold; font-weight: bold;
list-style-type: none;
display: inline-block;
} }
.change-list ul.toplinks .date-back a { .change-list .toplinks a {
font-size: 0.8125rem;
}
.change-list .toplinks .date-back {
color: var(--body-quiet-color); color: var(--body-quiet-color);
} }
.change-list ul.toplinks .date-back a:focus, .change-list .toplinks .date-back:focus,
.change-list ul.toplinks .date-back a:hover { .change-list .toplinks .date-back:hover {
color: var(--link-hover-color); color: var(--link-hover-color);
} }
@ -258,16 +255,22 @@
vertical-align: baseline; vertical-align: baseline;
} }
/* Once the :has() pseudo-class is supported by all browsers, the tr.selected
selector and the JS adding the class can be removed. */
#changelist table tbody tr.selected { #changelist table tbody tr.selected {
background-color: var(--selected-row); background-color: var(--selected-row);
} }
#changelist table tbody tr:has(input[type=checkbox]:checked) {
background-color: var(--selected-row);
}
#changelist .actions { #changelist .actions {
padding: 10px; padding: 10px;
background: var(--body-bg); background: var(--body-bg);
border-top: none; border-top: none;
border-bottom: none; border-bottom: none;
line-height: 24px; line-height: 1.5rem;
color: var(--body-quiet-color); color: var(--body-quiet-color);
width: 100%; width: 100%;
} }
@ -286,7 +289,7 @@
#changelist .actions select { #changelist .actions select {
vertical-align: top; vertical-align: top;
height: 24px; height: 1.5rem;
color: var(--body-fg); color: var(--body-fg);
border: 1px solid var(--border-color); border: 1px solid var(--border-color);
border-radius: 4px; border-radius: 4px;
@ -313,7 +316,7 @@
background: var(--body-bg); background: var(--body-bg);
box-shadow: 0 -15px 20px -10px rgba(0, 0, 0, 0.15) inset; box-shadow: 0 -15px 20px -10px rgba(0, 0, 0, 0.15) inset;
cursor: pointer; cursor: pointer;
height: 24px; height: 1.5rem;
line-height: 1; line-height: 1;
padding: 4px 8px; padding: 4px 8px;
margin: 0; margin: 0;

Binary file not shown.

View File

@ -90,7 +90,7 @@
} }
#toolbar #searchbar { #toolbar #searchbar {
height: 19px; height: 1.1875rem;
border: 1px solid var(--border-color); border: 1px solid var(--border-color);
padding: 2px 5px; padding: 2px 5px;
margin: 0; margin: 0;
@ -223,27 +223,24 @@
/* DATE DRILLDOWN */ /* DATE DRILLDOWN */
.change-list ul.toplinks { .change-list .toplinks {
display: block; display: flex;
float: left; padding-bottom: 5px;
padding: 0; flex-wrap: wrap;
margin: 0; gap: 3px 17px;
width: 100%;
}
.change-list ul.toplinks li {
padding: 3px 6px;
font-weight: bold; font-weight: bold;
list-style-type: none;
display: inline-block;
} }
.change-list ul.toplinks .date-back a { .change-list .toplinks a {
font-size: 0.8125rem;
}
.change-list .toplinks .date-back {
color: var(--body-quiet-color); color: var(--body-quiet-color);
} }
.change-list ul.toplinks .date-back a:focus, .change-list .toplinks .date-back:focus,
.change-list ul.toplinks .date-back a:hover { .change-list .toplinks .date-back:hover {
color: var(--link-hover-color); color: var(--link-hover-color);
} }
@ -258,16 +255,22 @@
vertical-align: baseline; vertical-align: baseline;
} }
/* Once the :has() pseudo-class is supported by all browsers, the tr.selected
selector and the JS adding the class can be removed. */
#changelist table tbody tr.selected { #changelist table tbody tr.selected {
background-color: var(--selected-row); background-color: var(--selected-row);
} }
#changelist table tbody tr:has(input[type=checkbox]:checked) {
background-color: var(--selected-row);
}
#changelist .actions { #changelist .actions {
padding: 10px; padding: 10px;
background: var(--body-bg); background: var(--body-bg);
border-top: none; border-top: none;
border-bottom: none; border-bottom: none;
line-height: 24px; line-height: 1.5rem;
color: var(--body-quiet-color); color: var(--body-quiet-color);
width: 100%; width: 100%;
} }
@ -286,7 +289,7 @@
#changelist .actions select { #changelist .actions select {
vertical-align: top; vertical-align: top;
height: 24px; height: 1.5rem;
color: var(--body-fg); color: var(--body-fg);
border: 1px solid var(--border-color); border: 1px solid var(--border-color);
border-radius: 4px; border-radius: 4px;
@ -313,7 +316,7 @@
background: var(--body-bg); background: var(--body-bg);
box-shadow: 0 -15px 20px -10px rgba(0, 0, 0, 0.15) inset; box-shadow: 0 -15px 20px -10px rgba(0, 0, 0, 0.15) inset;
cursor: pointer; cursor: pointer;
height: 24px; height: 1.5rem;
line-height: 1; line-height: 1;
padding: 4px 8px; padding: 4px 8px;
margin: 0; margin: 0;

Binary file not shown.

View File

@ -1,33 +0,0 @@
@media (prefers-color-scheme: dark) {
:root {
--primary: #264b5d;
--primary-fg: #f7f7f7;
--body-fg: #eeeeee;
--body-bg: #121212;
--body-quiet-color: #e0e0e0;
--body-loud-color: #ffffff;
--breadcrumbs-link-fg: #e0e0e0;
--breadcrumbs-bg: var(--primary);
--link-fg: #81d4fa;
--link-hover-color: #4ac1f7;
--link-selected-fg: #6f94c6;
--hairline-color: #272727;
--border-color: #353535;
--error-fg: #e35f5f;
--message-success-bg: #006b1b;
--message-warning-bg: #583305;
--message-error-bg: #570808;
--darkened-bg: #212121;
--selected-bg: #1b1b1b;
--selected-row: #00363a;
--close-button-bg: #333333;
--close-button-hover-bg: #666666;
}
}

Binary file not shown.

View File

@ -31,3 +31,107 @@
--close-button-hover-bg: #666666; --close-button-hover-bg: #666666;
} }
} }
html[data-theme="dark"] {
--primary: #264b5d;
--primary-fg: #f7f7f7;
--body-fg: #eeeeee;
--body-bg: #121212;
--body-quiet-color: #e0e0e0;
--body-loud-color: #ffffff;
--breadcrumbs-link-fg: #e0e0e0;
--breadcrumbs-bg: var(--primary);
--link-fg: #81d4fa;
--link-hover-color: #4ac1f7;
--link-selected-fg: #6f94c6;
--hairline-color: #272727;
--border-color: #353535;
--error-fg: #e35f5f;
--message-success-bg: #006b1b;
--message-warning-bg: #583305;
--message-error-bg: #570808;
--darkened-bg: #212121;
--selected-bg: #1b1b1b;
--selected-row: #00363a;
--close-button-bg: #333333;
--close-button-hover-bg: #666666;
}
/* THEME SWITCH */
.theme-toggle {
cursor: pointer;
border: none;
padding: 0;
background: transparent;
vertical-align: middle;
margin-inline-start: 5px;
margin-top: -1px;
}
.theme-toggle svg {
vertical-align: middle;
height: 1rem;
width: 1rem;
display: none;
}
/*
Fully hide screen reader text so we only show the one matching the current
theme.
*/
.theme-toggle .visually-hidden {
display: none;
}
html[data-theme="auto"] .theme-toggle .theme-label-when-auto {
display: block;
}
html[data-theme="dark"] .theme-toggle .theme-label-when-dark {
display: block;
}
html[data-theme="light"] .theme-toggle .theme-label-when-light {
display: block;
}
/* ICONS */
.theme-toggle svg.theme-icon-when-auto,
.theme-toggle svg.theme-icon-when-dark,
.theme-toggle svg.theme-icon-when-light {
fill: var(--header-link-color);
color: var(--header-bg);
}
html[data-theme="auto"] .theme-toggle svg.theme-icon-when-auto {
display: block;
}
html[data-theme="dark"] .theme-toggle svg.theme-icon-when-dark {
display: block;
}
html[data-theme="light"] .theme-toggle svg.theme-icon-when-light {
display: block;
}
.visually-hidden {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
overflow: hidden;
clip: rect(0,0,0,0);
white-space: nowrap;
border: 0;
color: var(--body-fg);
background-color: var(--body-bg);
}

Binary file not shown.

View File

@ -0,0 +1,137 @@
@media (prefers-color-scheme: dark) {
:root {
--primary: #264b5d;
--primary-fg: #f7f7f7;
--body-fg: #eeeeee;
--body-bg: #121212;
--body-quiet-color: #e0e0e0;
--body-loud-color: #ffffff;
--breadcrumbs-link-fg: #e0e0e0;
--breadcrumbs-bg: var(--primary);
--link-fg: #81d4fa;
--link-hover-color: #4ac1f7;
--link-selected-fg: #6f94c6;
--hairline-color: #272727;
--border-color: #353535;
--error-fg: #e35f5f;
--message-success-bg: #006b1b;
--message-warning-bg: #583305;
--message-error-bg: #570808;
--darkened-bg: #212121;
--selected-bg: #1b1b1b;
--selected-row: #00363a;
--close-button-bg: #333333;
--close-button-hover-bg: #666666;
}
}
html[data-theme="dark"] {
--primary: #264b5d;
--primary-fg: #f7f7f7;
--body-fg: #eeeeee;
--body-bg: #121212;
--body-quiet-color: #e0e0e0;
--body-loud-color: #ffffff;
--breadcrumbs-link-fg: #e0e0e0;
--breadcrumbs-bg: var(--primary);
--link-fg: #81d4fa;
--link-hover-color: #4ac1f7;
--link-selected-fg: #6f94c6;
--hairline-color: #272727;
--border-color: #353535;
--error-fg: #e35f5f;
--message-success-bg: #006b1b;
--message-warning-bg: #583305;
--message-error-bg: #570808;
--darkened-bg: #212121;
--selected-bg: #1b1b1b;
--selected-row: #00363a;
--close-button-bg: #333333;
--close-button-hover-bg: #666666;
}
/* THEME SWITCH */
.theme-toggle {
cursor: pointer;
border: none;
padding: 0;
background: transparent;
vertical-align: middle;
margin-inline-start: 5px;
margin-top: -1px;
}
.theme-toggle svg {
vertical-align: middle;
height: 1rem;
width: 1rem;
display: none;
}
/*
Fully hide screen reader text so we only show the one matching the current
theme.
*/
.theme-toggle .visually-hidden {
display: none;
}
html[data-theme="auto"] .theme-toggle .theme-label-when-auto {
display: block;
}
html[data-theme="dark"] .theme-toggle .theme-label-when-dark {
display: block;
}
html[data-theme="light"] .theme-toggle .theme-label-when-light {
display: block;
}
/* ICONS */
.theme-toggle svg.theme-icon-when-auto,
.theme-toggle svg.theme-icon-when-dark,
.theme-toggle svg.theme-icon-when-light {
fill: var(--header-link-color);
color: var(--header-bg);
}
html[data-theme="auto"] .theme-toggle svg.theme-icon-when-auto {
display: block;
}
html[data-theme="dark"] .theme-toggle svg.theme-icon-when-dark {
display: block;
}
html[data-theme="light"] .theme-toggle svg.theme-icon-when-light {
display: block;
}
.visually-hidden {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
overflow: hidden;
clip: rect(0,0,0,0);
white-space: nowrap;
border: 0;
color: var(--body-fg);
background-color: var(--body-bg);
}

Binary file not shown.

Binary file not shown.

View File

@ -1,4 +1,7 @@
/* DASHBOARD */ /* DASHBOARD */
.dashboard td, .dashboard th {
word-break: break-word;
}
.dashboard .module table th { .dashboard .module table th {
width: 100%; width: 100%;

Binary file not shown.

View File

@ -1,4 +1,7 @@
/* DASHBOARD */ /* DASHBOARD */
.dashboard td, .dashboard th {
word-break: break-word;
}
.dashboard .module table th { .dashboard .module table th {
width: 100%; width: 100%;

Binary file not shown.

View File

@ -1,20 +0,0 @@
@font-face {
font-family: 'Roboto';
src: url("../fonts/Roboto-Bold-webfont.50d75e48e0a3.woff");
font-weight: 700;
font-style: normal;
}
@font-face {
font-family: 'Roboto';
src: url("../fonts/Roboto-Regular-webfont.35b07eb2f871.woff");
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'Roboto';
src: url("../fonts/Roboto-Light-webfont.c73eb1ceba33.woff");
font-weight: 300;
font-style: normal;
}

Binary file not shown.

View File

@ -1,20 +0,0 @@
@font-face {
font-family: 'Roboto';
src: url('../fonts/Roboto-Bold-webfont.woff');
font-weight: 700;
font-style: normal;
}
@font-face {
font-family: 'Roboto';
src: url('../fonts/Roboto-Regular-webfont.woff');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'Roboto';
src: url('../fonts/Roboto-Light-webfont.woff');
font-weight: 300;
font-style: normal;
}

Binary file not shown.

View File

@ -1,4 +1,4 @@
@import url("widgets.00318bc424d3.css"); @import url("widgets.801bda05bd0d.css");
/* FORM ROWS */ /* FORM ROWS */
@ -22,6 +22,15 @@ form .form-row p {
padding-left: 0; padding-left: 0;
} }
.flex-container {
display: flex;
flex-wrap: wrap;
}
.form-multiline > div {
padding-bottom: 10px;
}
/* FORM LABELS */ /* FORM LABELS */
label { label {
@ -69,7 +78,6 @@ form ul.inline li {
.aligned label { .aligned label {
display: block; display: block;
padding: 4px 10px 0 0; padding: 4px 10px 0 0;
float: left;
width: 160px; width: 160px;
word-wrap: break-word; word-wrap: break-word;
line-height: 1; line-height: 1;
@ -79,14 +87,14 @@ form ul.inline li {
content: ''; content: '';
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
height: 26px; height: 1.625rem;
} }
.aligned label + p, .aligned label + div.help, .aligned label + div.readonly { .aligned label + p, .aligned .checkbox-row + div.help, .aligned label + div.readonly {
padding: 6px 0; padding: 6px 0;
margin-top: 0; margin-top: 0;
margin-bottom: 0; margin-bottom: 0;
margin-left: 170px; margin-left: 0;
overflow-wrap: break-word; overflow-wrap: break-word;
} }
@ -117,16 +125,15 @@ form .aligned div.radiolist {
form .aligned p.help, form .aligned p.help,
form .aligned div.help { form .aligned div.help {
clear: left;
margin-top: 0; margin-top: 0;
margin-left: 160px; margin-left: 160px;
padding-left: 10px; padding-left: 10px;
} }
form .aligned label + p.help, form .aligned p.datetime div.help.timezonewarning {
form .aligned label + div.help {
margin-left: 0; margin-left: 0;
padding-left: 0; padding-left: 0;
font-weight: normal;
} }
form .aligned p.help:last-child, form .aligned p.help:last-child,
@ -171,14 +178,7 @@ form .aligned table p {
width: 610px; width: 610px;
} }
.checkbox-row p.help,
.checkbox-row div.help {
margin-left: 0;
padding-left: 0;
}
fieldset .fieldBox { fieldset .fieldBox {
float: left;
margin-right: 20px; margin-right: 20px;
} }
@ -189,6 +189,7 @@ fieldset .fieldBox {
} }
form .wide p, form .wide p,
form .wide ul.errorlist,
form .wide input + p.help, form .wide input + p.help,
form .wide input + div.help { form .wide input + div.help {
margin-left: 200px; margin-left: 200px;
@ -196,7 +197,7 @@ form .wide input + div.help {
form .wide p.help, form .wide p.help,
form .wide div.help { form .wide div.help {
padding-left: 38px; padding-left: 50px;
} }
form div.help ul { form div.help ul {
@ -242,19 +243,21 @@ fieldset.collapsed .collapse-toggle {
/* MONOSPACE TEXTAREAS */ /* MONOSPACE TEXTAREAS */
fieldset.monospace textarea { fieldset.monospace textarea {
font-family: "Bitstream Vera Sans Mono", Monaco, "Courier New", Courier, monospace; font-family: var(--font-family-monospace);
} }
/* SUBMIT ROW */ /* SUBMIT ROW */
.submit-row { .submit-row {
padding: 12px 14px 7px; padding: 12px 14px 12px;
margin: 0 0 20px; margin: 0 0 20px;
background: var(--darkened-bg); background: var(--darkened-bg);
border: 1px solid var(--hairline-color); border: 1px solid var(--hairline-color);
border-radius: 4px; border-radius: 4px;
text-align: right;
overflow: hidden; overflow: hidden;
display: flex;
gap: 10px;
flex-wrap: wrap;
} }
body.popup .submit-row { body.popup .submit-row {
@ -262,33 +265,29 @@ body.popup .submit-row {
} }
.submit-row input { .submit-row input {
height: 35px; height: 2.1875rem;
line-height: 15px; line-height: 0.9375rem;
margin: 0 0 5px 5px; }
.submit-row input, .submit-row a {
margin: 0;
} }
.submit-row input.default { .submit-row input.default {
margin: 0 0 5px 8px;
text-transform: uppercase; text-transform: uppercase;
} }
.submit-row p { .submit-row a.deletelink {
margin: 0.3em; margin-left: auto;
}
.submit-row p.deletelink-box {
float: left;
margin: 0;
} }
.submit-row a.deletelink { .submit-row a.deletelink {
display: block; display: block;
background: var(--delete-button-bg); background: var(--delete-button-bg);
border-radius: 4px; border-radius: 4px;
padding: 10px 15px; padding: 0.625rem 0.9375rem;
height: 15px; height: 0.9375rem;
line-height: 15px; line-height: 0.9375rem;
margin-bottom: 5px;
color: var(--button-fg); color: var(--button-fg);
} }
@ -297,9 +296,8 @@ body.popup .submit-row {
background: var(--close-button-bg); background: var(--close-button-bg);
border-radius: 4px; border-radius: 4px;
padding: 10px 15px; padding: 10px 15px;
height: 15px; height: 0.9375rem;
line-height: 15px; line-height: 0.9375rem;
margin: 0 0 0 5px;
color: var(--button-fg); color: var(--button-fg);
} }
@ -307,12 +305,14 @@ body.popup .submit-row {
.submit-row a.deletelink:hover, .submit-row a.deletelink:hover,
.submit-row a.deletelink:active { .submit-row a.deletelink:active {
background: var(--delete-button-hover-bg); background: var(--delete-button-hover-bg);
text-decoration: none;
} }
.submit-row a.closelink:focus, .submit-row a.closelink:focus,
.submit-row a.closelink:hover, .submit-row a.closelink:hover,
.submit-row a.closelink:active { .submit-row a.closelink:active {
background: var(--close-button-hover-bg); background: var(--close-button-hover-bg);
text-decoration: none;
} }
/* CUSTOM FORM FIELDS */ /* CUSTOM FORM FIELDS */
@ -512,8 +512,8 @@ body.popup .submit-row {
} }
.related-lookup { .related-lookup {
width: 16px; width: 1rem;
height: 16px; height: 1rem;
background-image: url("../img/search.7cf54ff789c6.svg"); background-image: url("../img/search.7cf54ff789c6.svg");
} }

BIN
static/admin/css/forms.1dd11ef16031.css.gz generated Normal file

Binary file not shown.

Binary file not shown.

View File

@ -22,6 +22,15 @@ form .form-row p {
padding-left: 0; padding-left: 0;
} }
.flex-container {
display: flex;
flex-wrap: wrap;
}
.form-multiline > div {
padding-bottom: 10px;
}
/* FORM LABELS */ /* FORM LABELS */
label { label {
@ -69,7 +78,6 @@ form ul.inline li {
.aligned label { .aligned label {
display: block; display: block;
padding: 4px 10px 0 0; padding: 4px 10px 0 0;
float: left;
width: 160px; width: 160px;
word-wrap: break-word; word-wrap: break-word;
line-height: 1; line-height: 1;
@ -79,14 +87,14 @@ form ul.inline li {
content: ''; content: '';
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
height: 26px; height: 1.625rem;
} }
.aligned label + p, .aligned label + div.help, .aligned label + div.readonly { .aligned label + p, .aligned .checkbox-row + div.help, .aligned label + div.readonly {
padding: 6px 0; padding: 6px 0;
margin-top: 0; margin-top: 0;
margin-bottom: 0; margin-bottom: 0;
margin-left: 170px; margin-left: 0;
overflow-wrap: break-word; overflow-wrap: break-word;
} }
@ -117,16 +125,15 @@ form .aligned div.radiolist {
form .aligned p.help, form .aligned p.help,
form .aligned div.help { form .aligned div.help {
clear: left;
margin-top: 0; margin-top: 0;
margin-left: 160px; margin-left: 160px;
padding-left: 10px; padding-left: 10px;
} }
form .aligned label + p.help, form .aligned p.datetime div.help.timezonewarning {
form .aligned label + div.help {
margin-left: 0; margin-left: 0;
padding-left: 0; padding-left: 0;
font-weight: normal;
} }
form .aligned p.help:last-child, form .aligned p.help:last-child,
@ -171,14 +178,7 @@ form .aligned table p {
width: 610px; width: 610px;
} }
.checkbox-row p.help,
.checkbox-row div.help {
margin-left: 0;
padding-left: 0;
}
fieldset .fieldBox { fieldset .fieldBox {
float: left;
margin-right: 20px; margin-right: 20px;
} }
@ -189,6 +189,7 @@ fieldset .fieldBox {
} }
form .wide p, form .wide p,
form .wide ul.errorlist,
form .wide input + p.help, form .wide input + p.help,
form .wide input + div.help { form .wide input + div.help {
margin-left: 200px; margin-left: 200px;
@ -196,7 +197,7 @@ form .wide input + div.help {
form .wide p.help, form .wide p.help,
form .wide div.help { form .wide div.help {
padding-left: 38px; padding-left: 50px;
} }
form div.help ul { form div.help ul {
@ -242,19 +243,21 @@ fieldset.collapsed .collapse-toggle {
/* MONOSPACE TEXTAREAS */ /* MONOSPACE TEXTAREAS */
fieldset.monospace textarea { fieldset.monospace textarea {
font-family: "Bitstream Vera Sans Mono", Monaco, "Courier New", Courier, monospace; font-family: var(--font-family-monospace);
} }
/* SUBMIT ROW */ /* SUBMIT ROW */
.submit-row { .submit-row {
padding: 12px 14px 7px; padding: 12px 14px 12px;
margin: 0 0 20px; margin: 0 0 20px;
background: var(--darkened-bg); background: var(--darkened-bg);
border: 1px solid var(--hairline-color); border: 1px solid var(--hairline-color);
border-radius: 4px; border-radius: 4px;
text-align: right;
overflow: hidden; overflow: hidden;
display: flex;
gap: 10px;
flex-wrap: wrap;
} }
body.popup .submit-row { body.popup .submit-row {
@ -262,33 +265,29 @@ body.popup .submit-row {
} }
.submit-row input { .submit-row input {
height: 35px; height: 2.1875rem;
line-height: 15px; line-height: 0.9375rem;
margin: 0 0 5px 5px; }
.submit-row input, .submit-row a {
margin: 0;
} }
.submit-row input.default { .submit-row input.default {
margin: 0 0 5px 8px;
text-transform: uppercase; text-transform: uppercase;
} }
.submit-row p { .submit-row a.deletelink {
margin: 0.3em; margin-left: auto;
}
.submit-row p.deletelink-box {
float: left;
margin: 0;
} }
.submit-row a.deletelink { .submit-row a.deletelink {
display: block; display: block;
background: var(--delete-button-bg); background: var(--delete-button-bg);
border-radius: 4px; border-radius: 4px;
padding: 10px 15px; padding: 0.625rem 0.9375rem;
height: 15px; height: 0.9375rem;
line-height: 15px; line-height: 0.9375rem;
margin-bottom: 5px;
color: var(--button-fg); color: var(--button-fg);
} }
@ -297,9 +296,8 @@ body.popup .submit-row {
background: var(--close-button-bg); background: var(--close-button-bg);
border-radius: 4px; border-radius: 4px;
padding: 10px 15px; padding: 10px 15px;
height: 15px; height: 0.9375rem;
line-height: 15px; line-height: 0.9375rem;
margin: 0 0 0 5px;
color: var(--button-fg); color: var(--button-fg);
} }
@ -307,12 +305,14 @@ body.popup .submit-row {
.submit-row a.deletelink:hover, .submit-row a.deletelink:hover,
.submit-row a.deletelink:active { .submit-row a.deletelink:active {
background: var(--delete-button-hover-bg); background: var(--delete-button-hover-bg);
text-decoration: none;
} }
.submit-row a.closelink:focus, .submit-row a.closelink:focus,
.submit-row a.closelink:hover, .submit-row a.closelink:hover,
.submit-row a.closelink:active { .submit-row a.closelink:active {
background: var(--close-button-hover-bg); background: var(--close-button-hover-bg);
text-decoration: none;
} }
/* CUSTOM FORM FIELDS */ /* CUSTOM FORM FIELDS */
@ -512,8 +512,8 @@ body.popup .submit-row {
} }
.related-lookup { .related-lookup {
width: 16px; width: 1rem;
height: 16px; height: 1rem;
background-image: url(../img/search.svg); background-image: url(../img/search.svg);
} }

Binary file not shown.

View File

@ -59,8 +59,13 @@
content: '\00AB'; content: '\00AB';
} }
.main > #nav-sidebar {
visibility: hidden;
}
.main.shifted > #nav-sidebar { .main.shifted > #nav-sidebar {
margin-left: 0; margin-left: 0;
visibility: visible;
} }
[dir="rtl"] .main.shifted > #nav-sidebar { [dir="rtl"] .main.shifted > #nav-sidebar {

Binary file not shown.

Binary file not shown.

View File

@ -59,8 +59,13 @@
content: '\00AB'; content: '\00AB';
} }
.main > #nav-sidebar {
visibility: hidden;
}
.main.shifted > #nav-sidebar { .main.shifted > #nav-sidebar {
margin-left: 0; margin-left: 0;
visibility: visible;
} }
[dir="rtl"] .main.shifted > #nav-sidebar { [dir="rtl"] .main.shifted > #nav-sidebar {

Binary file not shown.

Binary file not shown.

View File

@ -104,13 +104,13 @@ input[type="submit"], button {
} }
#changelist-search label { #changelist-search label {
line-height: 22px; line-height: 1.375rem;
} }
#toolbar form #searchbar { #toolbar form #searchbar {
flex: 1 0 auto; flex: 1 0 auto;
width: 0; width: 0;
height: 22px; height: 1.375rem;
margin: 0 10px 0 6px; margin: 0 10px 0 6px;
} }
@ -186,12 +186,12 @@ input[type="submit"], button {
box-sizing: border-box; box-sizing: border-box;
margin: 0; margin: 0;
padding: 6px 8px; padding: 6px 8px;
min-height: 36px; min-height: 2.25rem;
font-size: 0.875rem; font-size: 0.875rem;
} }
.form-row select { .form-row select {
height: 36px; height: 2.25rem;
} }
.form-row select[multiple] { .form-row select[multiple] {
@ -199,12 +199,6 @@ input[type="submit"], button {
min-height: 0; min-height: 0;
} }
fieldset .fieldBox {
float: none;
margin: 0 -10px;
padding: 0 10px;
}
fieldset .fieldBox + .fieldBox { fieldset .fieldBox + .fieldBox {
margin-top: 10px; margin-top: 10px;
padding-top: 10px; padding-top: 10px;
@ -232,17 +226,13 @@ input[type="submit"], button {
} }
.submit-row { .submit-row {
padding: 8px 8px 3px 8px; padding: 8px;
} }
.submit-row a.deletelink { .submit-row a.deletelink {
padding: 10px 7px; padding: 10px 7px;
} }
.submit-row input.default {
margin: 0 0 5px 5px;
}
.button, input[type=submit], input[type=button], .submit-row input, a.button { .button, input[type=submit], input[type=button], .submit-row input, a.button {
padding: 7px; padding: 7px;
} }
@ -394,10 +384,6 @@ input[type="submit"], button {
display: none; display: none;
} }
form .form-row p.datetime {
width: 100%;
}
.datetime input { .datetime input {
width: 50%; width: 50%;
max-width: 120px; max-width: 120px;
@ -568,8 +554,6 @@ input[type="submit"], button {
.aligned .form-row, .aligned .form-row,
.aligned .form-row > div { .aligned .form-row > div {
display: flex;
flex-wrap: wrap;
max-width: 100vw; max-width: 100vw;
} }
@ -577,6 +561,10 @@ input[type="submit"], button {
width: calc(100vw - 30px); width: calc(100vw - 30px);
} }
.flex-container {
flex-flow: column;
}
textarea { textarea {
max-width: none; max-width: none;
} }
@ -656,7 +644,8 @@ input[type="submit"], button {
padding: 0; padding: 0;
} }
form .aligned ul { form .aligned ul,
form .aligned ul.errorlist {
margin-left: 0; margin-left: 0;
padding-left: 0; padding-left: 0;
} }
@ -823,28 +812,23 @@ input[type="submit"], button {
/* Submit row */ /* Submit row */
.submit-row { .submit-row {
padding: 10px 10px 5px; padding: 10px;
margin: 0 0 15px; margin: 0 0 15px;
display: flex;
flex-direction: column; flex-direction: column;
gap: 8px;
} }
.submit-row > * { .submit-row input, .submit-row input.default, .submit-row a {
width: 100%;
}
.submit-row input, .submit-row input.default, .submit-row a, .submit-row a.closelink {
float: none;
margin: 0 0 10px;
text-align: center; text-align: center;
} }
.submit-row a.closelink { .submit-row a.closelink {
padding: 10px 0; padding: 10px 0;
text-align: center;
} }
.submit-row p.deletelink-box { .submit-row a.deletelink {
order: 4; margin: 0;
} }
/* Messages */ /* Messages */
@ -966,7 +950,7 @@ input[type="submit"], button {
.calendar-shortcuts { .calendar-shortcuts {
padding: 10px 0; padding: 10px 0;
font-size: 0.75rem; font-size: 0.75rem;
line-height: 12px; line-height: 0.75rem;
} }
.calendar-shortcuts a { .calendar-shortcuts a {

Binary file not shown.

View File

@ -104,13 +104,13 @@ input[type="submit"], button {
} }
#changelist-search label { #changelist-search label {
line-height: 22px; line-height: 1.375rem;
} }
#toolbar form #searchbar { #toolbar form #searchbar {
flex: 1 0 auto; flex: 1 0 auto;
width: 0; width: 0;
height: 22px; height: 1.375rem;
margin: 0 10px 0 6px; margin: 0 10px 0 6px;
} }
@ -186,12 +186,12 @@ input[type="submit"], button {
box-sizing: border-box; box-sizing: border-box;
margin: 0; margin: 0;
padding: 6px 8px; padding: 6px 8px;
min-height: 36px; min-height: 2.25rem;
font-size: 0.875rem; font-size: 0.875rem;
} }
.form-row select { .form-row select {
height: 36px; height: 2.25rem;
} }
.form-row select[multiple] { .form-row select[multiple] {
@ -199,12 +199,6 @@ input[type="submit"], button {
min-height: 0; min-height: 0;
} }
fieldset .fieldBox {
float: none;
margin: 0 -10px;
padding: 0 10px;
}
fieldset .fieldBox + .fieldBox { fieldset .fieldBox + .fieldBox {
margin-top: 10px; margin-top: 10px;
padding-top: 10px; padding-top: 10px;
@ -232,17 +226,13 @@ input[type="submit"], button {
} }
.submit-row { .submit-row {
padding: 8px 8px 3px 8px; padding: 8px;
} }
.submit-row a.deletelink { .submit-row a.deletelink {
padding: 10px 7px; padding: 10px 7px;
} }
.submit-row input.default {
margin: 0 0 5px 5px;
}
.button, input[type=submit], input[type=button], .submit-row input, a.button { .button, input[type=submit], input[type=button], .submit-row input, a.button {
padding: 7px; padding: 7px;
} }
@ -394,10 +384,6 @@ input[type="submit"], button {
display: none; display: none;
} }
form .form-row p.datetime {
width: 100%;
}
.datetime input { .datetime input {
width: 50%; width: 50%;
max-width: 120px; max-width: 120px;
@ -568,8 +554,6 @@ input[type="submit"], button {
.aligned .form-row, .aligned .form-row,
.aligned .form-row > div { .aligned .form-row > div {
display: flex;
flex-wrap: wrap;
max-width: 100vw; max-width: 100vw;
} }
@ -577,6 +561,10 @@ input[type="submit"], button {
width: calc(100vw - 30px); width: calc(100vw - 30px);
} }
.flex-container {
flex-flow: column;
}
textarea { textarea {
max-width: none; max-width: none;
} }
@ -656,7 +644,8 @@ input[type="submit"], button {
padding: 0; padding: 0;
} }
form .aligned ul { form .aligned ul,
form .aligned ul.errorlist {
margin-left: 0; margin-left: 0;
padding-left: 0; padding-left: 0;
} }
@ -823,28 +812,23 @@ input[type="submit"], button {
/* Submit row */ /* Submit row */
.submit-row { .submit-row {
padding: 10px 10px 5px; padding: 10px;
margin: 0 0 15px; margin: 0 0 15px;
display: flex;
flex-direction: column; flex-direction: column;
gap: 8px;
} }
.submit-row > * { .submit-row input, .submit-row input.default, .submit-row a {
width: 100%;
}
.submit-row input, .submit-row input.default, .submit-row a, .submit-row a.closelink {
float: none;
margin: 0 0 10px;
text-align: center; text-align: center;
} }
.submit-row a.closelink { .submit-row a.closelink {
padding: 10px 0; padding: 10px 0;
text-align: center;
} }
.submit-row p.deletelink-box { .submit-row a.deletelink {
order: 4; margin: 0;
} }
/* Messages */ /* Messages */
@ -966,7 +950,7 @@ input[type="submit"], button {
.calendar-shortcuts { .calendar-shortcuts {
padding: 10px 0; padding: 10px 0;
font-size: 0.75rem; font-size: 0.75rem;
line-height: 12px; line-height: 0.75rem;
} }
.calendar-shortcuts a { .calendar-shortcuts a {

Binary file not shown.

View File

@ -69,7 +69,8 @@
margin-right: 15px; margin-right: 15px;
} }
[dir="rtl"] .aligned ul { [dir="rtl"] .aligned ul,
[dir="rtl"] form .aligned ul.errorlist {
margin-right: 0; margin-right: 0;
} }

Binary file not shown.

View File

@ -69,7 +69,8 @@
margin-right: 15px; margin-right: 15px;
} }
[dir="rtl"] .aligned ul { [dir="rtl"] .aligned ul,
[dir="rtl"] form .aligned ul.errorlist {
margin-right: 0; margin-right: 0;
} }

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -111,19 +111,11 @@ thead th.sorted .text {
.aligned label { .aligned label {
padding: 0 0 3px 1em; padding: 0 0 3px 1em;
float: right;
} }
.submit-row { .submit-row a.deletelink {
text-align: left
}
.submit-row p.deletelink-box {
float: right;
}
.submit-row input.default {
margin-left: 0; margin-left: 0;
margin-right: auto;
} }
.vDateField, .vTimeField { .vDateField, .vTimeField {
@ -134,13 +126,11 @@ thead th.sorted .text {
margin-left: 5px; margin-left: 5px;
} }
form .aligned p.help, form .aligned div.help {
clear: right;
}
form .aligned ul { form .aligned ul {
margin-right: 163px; margin-right: 163px;
padding-right: 10px;
margin-left: 0; margin-left: 0;
padding-left: 0;
} }
form ul.inline li { form ul.inline li {
@ -149,12 +139,37 @@ form ul.inline li {
padding-left: 7px; padding-left: 7px;
} }
input[type=submit].default, .submit-row input.default { form .aligned p.help,
float: left; form .aligned div.help {
margin-right: 160px;
padding-right: 10px;
}
form div.help ul,
form .aligned .checkbox-row + .help,
form .aligned p.datetime div.help.timezonewarning {
margin-right: 0;
padding-right: 0;
}
form .wide p.help, form .wide div.help {
padding-left: 0;
padding-right: 50px;
}
form .wide p,
form .wide ul.errorlist,
form .wide input + p.help,
form .wide input + div.help {
margin-right: 200px;
margin-left: 0px;
}
.submit-row {
text-align: right;
} }
fieldset .fieldBox { fieldset .fieldBox {
float: right;
margin-left: 20px; margin-left: 20px;
margin-right: 0; margin-right: 0;
} }
@ -207,6 +222,38 @@ fieldset .fieldBox {
text-align: right; text-align: right;
} }
.selector-add {
background: url("../img/selector-icons.b4555096cea2.svg") 0 -64px no-repeat;
}
.active.selector-add:focus, .active.selector-add:hover {
background-position: 0 -80px;
}
.selector-remove {
background: url("../img/selector-icons.b4555096cea2.svg") 0 -96px no-repeat;
}
.active.selector-remove:focus, .active.selector-remove:hover {
background-position: 0 -112px;
}
a.selector-chooseall {
background: url("../img/selector-icons.b4555096cea2.svg") right -128px no-repeat;
}
a.active.selector-chooseall:focus, a.active.selector-chooseall:hover {
background-position: 100% -144px;
}
a.selector-clearall {
background: url("../img/selector-icons.b4555096cea2.svg") 0 -160px no-repeat;
}
a.active.selector-clearall:focus, a.active.selector-clearall:hover {
background-position: 0 -176px;
}
.inline-deletelink { .inline-deletelink {
float: left; float: left;
} }

BIN
static/admin/css/rtl.ac25b2aecb6e.css.gz generated Normal file

Binary file not shown.

View File

@ -111,19 +111,11 @@ thead th.sorted .text {
.aligned label { .aligned label {
padding: 0 0 3px 1em; padding: 0 0 3px 1em;
float: right;
} }
.submit-row { .submit-row a.deletelink {
text-align: left
}
.submit-row p.deletelink-box {
float: right;
}
.submit-row input.default {
margin-left: 0; margin-left: 0;
margin-right: auto;
} }
.vDateField, .vTimeField { .vDateField, .vTimeField {
@ -134,13 +126,11 @@ thead th.sorted .text {
margin-left: 5px; margin-left: 5px;
} }
form .aligned p.help, form .aligned div.help {
clear: right;
}
form .aligned ul { form .aligned ul {
margin-right: 163px; margin-right: 163px;
padding-right: 10px;
margin-left: 0; margin-left: 0;
padding-left: 0;
} }
form ul.inline li { form ul.inline li {
@ -149,12 +139,37 @@ form ul.inline li {
padding-left: 7px; padding-left: 7px;
} }
input[type=submit].default, .submit-row input.default { form .aligned p.help,
float: left; form .aligned div.help {
margin-right: 160px;
padding-right: 10px;
}
form div.help ul,
form .aligned .checkbox-row + .help,
form .aligned p.datetime div.help.timezonewarning {
margin-right: 0;
padding-right: 0;
}
form .wide p.help, form .wide div.help {
padding-left: 0;
padding-right: 50px;
}
form .wide p,
form .wide ul.errorlist,
form .wide input + p.help,
form .wide input + div.help {
margin-right: 200px;
margin-left: 0px;
}
.submit-row {
text-align: right;
} }
fieldset .fieldBox { fieldset .fieldBox {
float: right;
margin-left: 20px; margin-left: 20px;
margin-right: 0; margin-right: 0;
} }
@ -207,6 +222,38 @@ fieldset .fieldBox {
text-align: right; text-align: right;
} }
.selector-add {
background: url(../img/selector-icons.svg) 0 -64px no-repeat;
}
.active.selector-add:focus, .active.selector-add:hover {
background-position: 0 -80px;
}
.selector-remove {
background: url(../img/selector-icons.svg) 0 -96px no-repeat;
}
.active.selector-remove:focus, .active.selector-remove:hover {
background-position: 0 -112px;
}
a.selector-chooseall {
background: url(../img/selector-icons.svg) right -128px no-repeat;
}
a.active.selector-chooseall:focus, a.active.selector-chooseall:hover {
background-position: 100% -144px;
}
a.selector-clearall {
background: url(../img/selector-icons.svg) 0 -160px no-repeat;
}
a.active.selector-clearall:focus, a.active.selector-clearall:hover {
background-position: 0 -176px;
}
.inline-deletelink { .inline-deletelink {
float: left; float: left;
} }

Binary file not shown.

Binary file not shown.

View File

@ -20,15 +20,26 @@
flex-direction: column; flex-direction: column;
} }
.selector-chosen select {
border-top: none;
}
.selector-available h2, .selector-chosen h2 { .selector-available h2, .selector-chosen h2 {
border: 1px solid var(--border-color); border: 1px solid var(--border-color);
border-radius: 4px 4px 0 0; border-radius: 4px 4px 0 0;
} }
.selector-chosen .list-footer-display {
border: 1px solid var(--border-color);
border-top: none;
border-radius: 0 0 4px 4px;
margin: 0 0 10px;
padding: 8px;
text-align: center;
background: var(--primary);
color: var(--header-link-color);
cursor: pointer;
}
.selector-chosen .list-footer-display__clear {
color: var(--breadcrumbs-fg);
}
.selector-chosen h2 { .selector-chosen h2 {
background: var(--primary); background: var(--primary);
color: var(--header-link-color); color: var(--header-link-color);
@ -60,7 +71,8 @@
line-height: 1; line-height: 1;
} }
.selector .selector-available input { .selector .selector-available input,
.selector .selector-chosen input {
width: 320px; width: 320px;
margin-left: 8px; margin-left: 8px;
} }
@ -86,6 +98,15 @@
margin: 0 0 10px; margin: 0 0 10px;
border-radius: 0 0 4px 4px; border-radius: 0 0 4px 4px;
} }
.selector .selector-chosen--with-filtered select {
margin: 0;
border-radius: 0;
height: 14em;
}
.selector .selector-chosen:not(.selector-chosen--with-filtered) .list-footer-display {
display: none;
}
.selector-add, .selector-remove { .selector-add, .selector-remove {
width: 16px; width: 16px;
@ -256,8 +277,8 @@ a.active.selector-clearall:focus, a.active.selector-clearall:hover {
.selector .search-label-icon { .selector .search-label-icon {
background: url("../img/search.7cf54ff789c6.svg") 0 0 no-repeat; background: url("../img/search.7cf54ff789c6.svg") 0 0 no-repeat;
display: inline-block; display: inline-block;
height: 18px; height: 1.125rem;
width: 18px; width: 1.125rem;
} }
/* DATE AND TIME */ /* DATE AND TIME */
@ -477,7 +498,7 @@ span.clearable-file-input label {
background: var(--body-bg); background: var(--body-bg);
color: var(--body-quiet-color); color: var(--body-quiet-color);
font-size: 0.6875rem; font-size: 0.6875rem;
line-height: 11px; line-height: 0.6875rem;
border-top: 1px solid var(--hairline-color); border-top: 1px solid var(--hairline-color);
padding: 8px 0; padding: 8px 0;
} }
@ -578,3 +599,9 @@ select + .related-widget-wrapper-link,
.related-widget-wrapper-link + .related-widget-wrapper-link { .related-widget-wrapper-link + .related-widget-wrapper-link {
margin-left: 7px; margin-left: 7px;
} }
/* GIS MAPS */
.dj_map {
width: 600px;
height: 400px;
}

Binary file not shown.

View File

@ -20,15 +20,26 @@
flex-direction: column; flex-direction: column;
} }
.selector-chosen select {
border-top: none;
}
.selector-available h2, .selector-chosen h2 { .selector-available h2, .selector-chosen h2 {
border: 1px solid var(--border-color); border: 1px solid var(--border-color);
border-radius: 4px 4px 0 0; border-radius: 4px 4px 0 0;
} }
.selector-chosen .list-footer-display {
border: 1px solid var(--border-color);
border-top: none;
border-radius: 0 0 4px 4px;
margin: 0 0 10px;
padding: 8px;
text-align: center;
background: var(--primary);
color: var(--header-link-color);
cursor: pointer;
}
.selector-chosen .list-footer-display__clear {
color: var(--breadcrumbs-fg);
}
.selector-chosen h2 { .selector-chosen h2 {
background: var(--primary); background: var(--primary);
color: var(--header-link-color); color: var(--header-link-color);
@ -60,7 +71,8 @@
line-height: 1; line-height: 1;
} }
.selector .selector-available input { .selector .selector-available input,
.selector .selector-chosen input {
width: 320px; width: 320px;
margin-left: 8px; margin-left: 8px;
} }
@ -86,6 +98,15 @@
margin: 0 0 10px; margin: 0 0 10px;
border-radius: 0 0 4px 4px; border-radius: 0 0 4px 4px;
} }
.selector .selector-chosen--with-filtered select {
margin: 0;
border-radius: 0;
height: 14em;
}
.selector .selector-chosen:not(.selector-chosen--with-filtered) .list-footer-display {
display: none;
}
.selector-add, .selector-remove { .selector-add, .selector-remove {
width: 16px; width: 16px;
@ -256,8 +277,8 @@ a.active.selector-clearall:focus, a.active.selector-clearall:hover {
.selector .search-label-icon { .selector .search-label-icon {
background: url(../img/search.svg) 0 0 no-repeat; background: url(../img/search.svg) 0 0 no-repeat;
display: inline-block; display: inline-block;
height: 18px; height: 1.125rem;
width: 18px; width: 1.125rem;
} }
/* DATE AND TIME */ /* DATE AND TIME */
@ -477,7 +498,7 @@ span.clearable-file-input label {
background: var(--body-bg); background: var(--body-bg);
color: var(--body-quiet-color); color: var(--body-quiet-color);
font-size: 0.6875rem; font-size: 0.6875rem;
line-height: 11px; line-height: 0.6875rem;
border-top: 1px solid var(--hairline-color); border-top: 1px solid var(--hairline-color);
padding: 8px 0; padding: 8px 0;
} }
@ -578,3 +599,9 @@ select + .related-widget-wrapper-link,
.related-widget-wrapper-link + .related-widget-wrapper-link { .related-widget-wrapper-link + .related-widget-wrapper-link {
margin-left: 7px; margin-left: 7px;
} }
/* GIS MAPS */
.dj_map {
width: 600px;
height: 400px;
}

Binary file not shown.

View File

@ -1,202 +0,0 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Binary file not shown.

View File

@ -1,202 +0,0 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Binary file not shown.

View File

@ -1,3 +0,0 @@
Roboto webfont source: https://www.google.com/fonts/specimen/Roboto
WOFF files extracted using https://github.com/majodev/google-webfonts-helper
Weights used in this project: Light (300), Regular (400), Bold (700)

Binary file not shown.

View File

@ -1,3 +0,0 @@
Roboto webfont source: https://www.google.com/fonts/specimen/Roboto
WOFF files extracted using https://github.com/majodev/google-webfonts-helper
Weights used in this project: Light (300), Regular (400), Bold (700)

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -41,6 +41,10 @@
} }
SelectBox.redisplay(id); SelectBox.redisplay(id);
}, },
get_hidden_node_count(id) {
const cache = SelectBox.cache[id] || [];
return cache.filter(node => node.displayed === 0).length;
},
delete_from_cache: function(id, value) { delete_from_cache: function(id, value) {
let delete_index = null; let delete_index = null;
const cache = SelectBox.cache[id]; const cache = SelectBox.cache[id];

Binary file not shown.

Binary file not shown.

View File

@ -41,6 +41,10 @@
} }
SelectBox.redisplay(id); SelectBox.redisplay(id);
}, },
get_hidden_node_count(id) {
const cache = SelectBox.cache[id] || [];
return cache.filter(node => node.displayed === 0).length;
},
delete_from_cache: function(id, value) { delete_from_cache: function(id, value) {
let delete_index = null; let delete_index = null;
const cache = SelectBox.cache[id]; const cache = SelectBox.cache[id];

Binary file not shown.

Binary file not shown.

View File

@ -78,7 +78,7 @@ Requires core.js and SelectBox.js.
remove_link.className = 'selector-remove'; remove_link.className = 'selector-remove';
// <div class="selector-chosen"> // <div class="selector-chosen">
const selector_chosen = quickElement('div', selector_div); const selector_chosen = quickElement('div', selector_div, '', 'id', field_id + '_selector_chosen');
selector_chosen.className = 'selector-chosen'; selector_chosen.className = 'selector-chosen';
const title_chosen = quickElement('h2', selector_chosen, interpolate(gettext('Chosen %s') + ' ', [field_name])); const title_chosen = quickElement('h2', selector_chosen, interpolate(gettext('Chosen %s') + ' ', [field_name]));
quickElement( quickElement(
@ -94,8 +94,29 @@ Requires core.js and SelectBox.js.
) )
); );
const filter_selected_p = quickElement('p', selector_chosen, '', 'id', field_id + '_filter_selected');
filter_selected_p.className = 'selector-filter';
const search_filter_selected_label = quickElement('label', filter_selected_p, '', 'for', field_id + '_selected_input');
quickElement(
'span', search_filter_selected_label, '',
'class', 'help-tooltip search-label-icon',
'title', interpolate(gettext("Type into this box to filter down the list of selected %s."), [field_name])
);
filter_selected_p.appendChild(document.createTextNode(' '));
const filter_selected_input = quickElement('input', filter_selected_p, '', 'type', 'text', 'placeholder', gettext("Filter"));
filter_selected_input.id = field_id + '_selected_input';
const to_box = quickElement('select', selector_chosen, '', 'id', field_id + '_to', 'multiple', '', 'size', from_box.size, 'name', from_box.name); const to_box = quickElement('select', selector_chosen, '', 'id', field_id + '_to', 'multiple', '', 'size', from_box.size, 'name', from_box.name);
to_box.className = 'filtered'; to_box.className = 'filtered';
const warning_footer = quickElement('div', selector_chosen, '', 'class', 'list-footer-display');
quickElement('span', warning_footer, '', 'id', field_id + '_list-footer-display-text');
quickElement('span', warning_footer, ' (click to clear)', 'class', 'list-footer-display__clear');
const clear_all = quickElement('a', selector_chosen, gettext('Remove all'), 'title', interpolate(gettext('Click to remove all chosen %s at once.'), [field_name]), 'href', '#', 'id', field_id + '_remove_all_link'); const clear_all = quickElement('a', selector_chosen, gettext('Remove all'), 'title', interpolate(gettext('Click to remove all chosen %s at once.'), [field_name]), 'href', '#', 'id', field_id + '_remove_all_link');
clear_all.className = 'selector-clearall'; clear_all.className = 'selector-clearall';
@ -106,6 +127,8 @@ Requires core.js and SelectBox.js.
if (elem.classList.contains('active')) { if (elem.classList.contains('active')) {
move_func(from, to); move_func(from, to);
SelectFilter.refresh_icons(field_id); SelectFilter.refresh_icons(field_id);
SelectFilter.refresh_filtered_selects(field_id);
SelectFilter.refresh_filtered_warning(field_id);
} }
e.preventDefault(); e.preventDefault();
}; };
@ -121,14 +144,29 @@ Requires core.js and SelectBox.js.
clear_all.addEventListener('click', function(e) { clear_all.addEventListener('click', function(e) {
move_selection(e, this, SelectBox.move_all, field_id + '_to', field_id + '_from'); move_selection(e, this, SelectBox.move_all, field_id + '_to', field_id + '_from');
}); });
warning_footer.addEventListener('click', function(e) {
filter_selected_input.value = '';
SelectBox.filter(field_id + '_to', '');
SelectFilter.refresh_filtered_warning(field_id);
SelectFilter.refresh_icons(field_id);
});
filter_input.addEventListener('keypress', function(e) { filter_input.addEventListener('keypress', function(e) {
SelectFilter.filter_key_press(e, field_id); SelectFilter.filter_key_press(e, field_id, '_from', '_to');
}); });
filter_input.addEventListener('keyup', function(e) { filter_input.addEventListener('keyup', function(e) {
SelectFilter.filter_key_up(e, field_id); SelectFilter.filter_key_up(e, field_id, '_from');
}); });
filter_input.addEventListener('keydown', function(e) { filter_input.addEventListener('keydown', function(e) {
SelectFilter.filter_key_down(e, field_id); SelectFilter.filter_key_down(e, field_id, '_from', '_to');
});
filter_selected_input.addEventListener('keypress', function(e) {
SelectFilter.filter_key_press(e, field_id, '_to', '_from');
});
filter_selected_input.addEventListener('keyup', function(e) {
SelectFilter.filter_key_up(e, field_id, '_to', '_selected_input');
});
filter_selected_input.addEventListener('keydown', function(e) {
SelectFilter.filter_key_down(e, field_id, '_to', '_from');
}); });
selector_div.addEventListener('change', function(e) { selector_div.addEventListener('change', function(e) {
if (e.target.tagName === 'SELECT') { if (e.target.tagName === 'SELECT') {
@ -146,6 +184,7 @@ Requires core.js and SelectBox.js.
} }
}); });
from_box.closest('form').addEventListener('submit', function() { from_box.closest('form').addEventListener('submit', function() {
SelectBox.filter(field_id + '_to', '');
SelectBox.select_all(field_id + '_to'); SelectBox.select_all(field_id + '_to');
}); });
SelectBox.init(field_id + '_from'); SelectBox.init(field_id + '_from');
@ -163,6 +202,24 @@ Requires core.js and SelectBox.js.
field.required = false; field.required = false;
return any_selected; return any_selected;
}, },
refresh_filtered_warning: function(field_id) {
const count = SelectBox.get_hidden_node_count(field_id + '_to');
const selector = document.getElementById(field_id + '_selector_chosen');
const warning = document.getElementById(field_id + '_list-footer-display-text');
selector.className = selector.className.replace('selector-chosen--with-filtered', '');
warning.textContent = interpolate(ngettext(
'%s selected option not visible',
'%s selected options not visible',
count
), [count]);
if(count > 0) {
selector.className += ' selector-chosen--with-filtered';
}
},
refresh_filtered_selects: function(field_id) {
SelectBox.filter(field_id + '_from', document.getElementById(field_id + "_input").value);
SelectBox.filter(field_id + '_to', document.getElementById(field_id + "_selected_input").value);
},
refresh_icons: function(field_id) { refresh_icons: function(field_id) {
const from = document.getElementById(field_id + '_from'); const from = document.getElementById(field_id + '_from');
const to = document.getElementById(field_id + '_to'); const to = document.getElementById(field_id + '_to');
@ -172,39 +229,47 @@ Requires core.js and SelectBox.js.
// Active if the corresponding box isn't empty // Active if the corresponding box isn't empty
document.getElementById(field_id + '_add_all_link').classList.toggle('active', from.querySelector('option')); document.getElementById(field_id + '_add_all_link').classList.toggle('active', from.querySelector('option'));
document.getElementById(field_id + '_remove_all_link').classList.toggle('active', to.querySelector('option')); document.getElementById(field_id + '_remove_all_link').classList.toggle('active', to.querySelector('option'));
SelectFilter.refresh_filtered_warning(field_id);
}, },
filter_key_press: function(event, field_id) { filter_key_press: function(event, field_id, source, target) {
const from = document.getElementById(field_id + '_from'); const source_box = document.getElementById(field_id + source);
// don't submit form if user pressed Enter // don't submit form if user pressed Enter
if ((event.which && event.which === 13) || (event.keyCode && event.keyCode === 13)) { if ((event.which && event.which === 13) || (event.keyCode && event.keyCode === 13)) {
from.selectedIndex = 0; source_box.selectedIndex = 0;
SelectBox.move(field_id + '_from', field_id + '_to'); SelectBox.move(field_id + source, field_id + target);
from.selectedIndex = 0; source_box.selectedIndex = 0;
event.preventDefault(); event.preventDefault();
} }
}, },
filter_key_up: function(event, field_id) { filter_key_up: function(event, field_id, source, filter_input) {
const from = document.getElementById(field_id + '_from'); const input = filter_input || '_input';
const temp = from.selectedIndex; const source_box = document.getElementById(field_id + source);
SelectBox.filter(field_id + '_from', document.getElementById(field_id + '_input').value); const temp = source_box.selectedIndex;
from.selectedIndex = temp; SelectBox.filter(field_id + source, document.getElementById(field_id + input).value);
source_box.selectedIndex = temp;
SelectFilter.refresh_filtered_warning(field_id);
SelectFilter.refresh_icons(field_id);
}, },
filter_key_down: function(event, field_id) { filter_key_down: function(event, field_id, source, target) {
const from = document.getElementById(field_id + '_from'); const source_box = document.getElementById(field_id + source);
// right key (39) or left key (37)
const direction = source === '_from' ? 39 : 37;
// right arrow -- move across // right arrow -- move across
if ((event.which && event.which === 39) || (event.keyCode && event.keyCode === 39)) { if ((event.which && event.which === direction) || (event.keyCode && event.keyCode === direction)) {
const old_index = from.selectedIndex; const old_index = source_box.selectedIndex;
SelectBox.move(field_id + '_from', field_id + '_to'); SelectBox.move(field_id + source, field_id + target);
from.selectedIndex = (old_index === from.length) ? from.length - 1 : old_index; SelectFilter.refresh_filtered_selects(field_id);
SelectFilter.refresh_filtered_warning(field_id);
source_box.selectedIndex = (old_index === source_box.length) ? source_box.length - 1 : old_index;
return; return;
} }
// down arrow -- wrap around // down arrow -- wrap around
if ((event.which && event.which === 40) || (event.keyCode && event.keyCode === 40)) { if ((event.which && event.which === 40) || (event.keyCode && event.keyCode === 40)) {
from.selectedIndex = (from.length === from.selectedIndex + 1) ? 0 : from.selectedIndex + 1; source_box.selectedIndex = (source_box.length === source_box.selectedIndex + 1) ? 0 : source_box.selectedIndex + 1;
} }
// up arrow -- wrap around // up arrow -- wrap around
if ((event.which && event.which === 38) || (event.keyCode && event.keyCode === 38)) { if ((event.which && event.which === 38) || (event.keyCode && event.keyCode === 38)) {
from.selectedIndex = (from.selectedIndex === 0) ? from.length - 1 : from.selectedIndex - 1; source_box.selectedIndex = (source_box.selectedIndex === 0) ? source_box.length - 1 : source_box.selectedIndex - 1;
} }
} }
}; };

Binary file not shown.

View File

@ -78,7 +78,7 @@ Requires core.js and SelectBox.js.
remove_link.className = 'selector-remove'; remove_link.className = 'selector-remove';
// <div class="selector-chosen"> // <div class="selector-chosen">
const selector_chosen = quickElement('div', selector_div); const selector_chosen = quickElement('div', selector_div, '', 'id', field_id + '_selector_chosen');
selector_chosen.className = 'selector-chosen'; selector_chosen.className = 'selector-chosen';
const title_chosen = quickElement('h2', selector_chosen, interpolate(gettext('Chosen %s') + ' ', [field_name])); const title_chosen = quickElement('h2', selector_chosen, interpolate(gettext('Chosen %s') + ' ', [field_name]));
quickElement( quickElement(
@ -94,8 +94,29 @@ Requires core.js and SelectBox.js.
) )
); );
const filter_selected_p = quickElement('p', selector_chosen, '', 'id', field_id + '_filter_selected');
filter_selected_p.className = 'selector-filter';
const search_filter_selected_label = quickElement('label', filter_selected_p, '', 'for', field_id + '_selected_input');
quickElement(
'span', search_filter_selected_label, '',
'class', 'help-tooltip search-label-icon',
'title', interpolate(gettext("Type into this box to filter down the list of selected %s."), [field_name])
);
filter_selected_p.appendChild(document.createTextNode(' '));
const filter_selected_input = quickElement('input', filter_selected_p, '', 'type', 'text', 'placeholder', gettext("Filter"));
filter_selected_input.id = field_id + '_selected_input';
const to_box = quickElement('select', selector_chosen, '', 'id', field_id + '_to', 'multiple', '', 'size', from_box.size, 'name', from_box.name); const to_box = quickElement('select', selector_chosen, '', 'id', field_id + '_to', 'multiple', '', 'size', from_box.size, 'name', from_box.name);
to_box.className = 'filtered'; to_box.className = 'filtered';
const warning_footer = quickElement('div', selector_chosen, '', 'class', 'list-footer-display');
quickElement('span', warning_footer, '', 'id', field_id + '_list-footer-display-text');
quickElement('span', warning_footer, ' (click to clear)', 'class', 'list-footer-display__clear');
const clear_all = quickElement('a', selector_chosen, gettext('Remove all'), 'title', interpolate(gettext('Click to remove all chosen %s at once.'), [field_name]), 'href', '#', 'id', field_id + '_remove_all_link'); const clear_all = quickElement('a', selector_chosen, gettext('Remove all'), 'title', interpolate(gettext('Click to remove all chosen %s at once.'), [field_name]), 'href', '#', 'id', field_id + '_remove_all_link');
clear_all.className = 'selector-clearall'; clear_all.className = 'selector-clearall';
@ -106,6 +127,8 @@ Requires core.js and SelectBox.js.
if (elem.classList.contains('active')) { if (elem.classList.contains('active')) {
move_func(from, to); move_func(from, to);
SelectFilter.refresh_icons(field_id); SelectFilter.refresh_icons(field_id);
SelectFilter.refresh_filtered_selects(field_id);
SelectFilter.refresh_filtered_warning(field_id);
} }
e.preventDefault(); e.preventDefault();
}; };
@ -121,14 +144,29 @@ Requires core.js and SelectBox.js.
clear_all.addEventListener('click', function(e) { clear_all.addEventListener('click', function(e) {
move_selection(e, this, SelectBox.move_all, field_id + '_to', field_id + '_from'); move_selection(e, this, SelectBox.move_all, field_id + '_to', field_id + '_from');
}); });
warning_footer.addEventListener('click', function(e) {
filter_selected_input.value = '';
SelectBox.filter(field_id + '_to', '');
SelectFilter.refresh_filtered_warning(field_id);
SelectFilter.refresh_icons(field_id);
});
filter_input.addEventListener('keypress', function(e) { filter_input.addEventListener('keypress', function(e) {
SelectFilter.filter_key_press(e, field_id); SelectFilter.filter_key_press(e, field_id, '_from', '_to');
}); });
filter_input.addEventListener('keyup', function(e) { filter_input.addEventListener('keyup', function(e) {
SelectFilter.filter_key_up(e, field_id); SelectFilter.filter_key_up(e, field_id, '_from');
}); });
filter_input.addEventListener('keydown', function(e) { filter_input.addEventListener('keydown', function(e) {
SelectFilter.filter_key_down(e, field_id); SelectFilter.filter_key_down(e, field_id, '_from', '_to');
});
filter_selected_input.addEventListener('keypress', function(e) {
SelectFilter.filter_key_press(e, field_id, '_to', '_from');
});
filter_selected_input.addEventListener('keyup', function(e) {
SelectFilter.filter_key_up(e, field_id, '_to', '_selected_input');
});
filter_selected_input.addEventListener('keydown', function(e) {
SelectFilter.filter_key_down(e, field_id, '_to', '_from');
}); });
selector_div.addEventListener('change', function(e) { selector_div.addEventListener('change', function(e) {
if (e.target.tagName === 'SELECT') { if (e.target.tagName === 'SELECT') {
@ -146,6 +184,7 @@ Requires core.js and SelectBox.js.
} }
}); });
from_box.closest('form').addEventListener('submit', function() { from_box.closest('form').addEventListener('submit', function() {
SelectBox.filter(field_id + '_to', '');
SelectBox.select_all(field_id + '_to'); SelectBox.select_all(field_id + '_to');
}); });
SelectBox.init(field_id + '_from'); SelectBox.init(field_id + '_from');
@ -163,6 +202,24 @@ Requires core.js and SelectBox.js.
field.required = false; field.required = false;
return any_selected; return any_selected;
}, },
refresh_filtered_warning: function(field_id) {
const count = SelectBox.get_hidden_node_count(field_id + '_to');
const selector = document.getElementById(field_id + '_selector_chosen');
const warning = document.getElementById(field_id + '_list-footer-display-text');
selector.className = selector.className.replace('selector-chosen--with-filtered', '');
warning.textContent = interpolate(ngettext(
'%s selected option not visible',
'%s selected options not visible',
count
), [count]);
if(count > 0) {
selector.className += ' selector-chosen--with-filtered';
}
},
refresh_filtered_selects: function(field_id) {
SelectBox.filter(field_id + '_from', document.getElementById(field_id + "_input").value);
SelectBox.filter(field_id + '_to', document.getElementById(field_id + "_selected_input").value);
},
refresh_icons: function(field_id) { refresh_icons: function(field_id) {
const from = document.getElementById(field_id + '_from'); const from = document.getElementById(field_id + '_from');
const to = document.getElementById(field_id + '_to'); const to = document.getElementById(field_id + '_to');
@ -172,39 +229,47 @@ Requires core.js and SelectBox.js.
// Active if the corresponding box isn't empty // Active if the corresponding box isn't empty
document.getElementById(field_id + '_add_all_link').classList.toggle('active', from.querySelector('option')); document.getElementById(field_id + '_add_all_link').classList.toggle('active', from.querySelector('option'));
document.getElementById(field_id + '_remove_all_link').classList.toggle('active', to.querySelector('option')); document.getElementById(field_id + '_remove_all_link').classList.toggle('active', to.querySelector('option'));
SelectFilter.refresh_filtered_warning(field_id);
}, },
filter_key_press: function(event, field_id) { filter_key_press: function(event, field_id, source, target) {
const from = document.getElementById(field_id + '_from'); const source_box = document.getElementById(field_id + source);
// don't submit form if user pressed Enter // don't submit form if user pressed Enter
if ((event.which && event.which === 13) || (event.keyCode && event.keyCode === 13)) { if ((event.which && event.which === 13) || (event.keyCode && event.keyCode === 13)) {
from.selectedIndex = 0; source_box.selectedIndex = 0;
SelectBox.move(field_id + '_from', field_id + '_to'); SelectBox.move(field_id + source, field_id + target);
from.selectedIndex = 0; source_box.selectedIndex = 0;
event.preventDefault(); event.preventDefault();
} }
}, },
filter_key_up: function(event, field_id) { filter_key_up: function(event, field_id, source, filter_input) {
const from = document.getElementById(field_id + '_from'); const input = filter_input || '_input';
const temp = from.selectedIndex; const source_box = document.getElementById(field_id + source);
SelectBox.filter(field_id + '_from', document.getElementById(field_id + '_input').value); const temp = source_box.selectedIndex;
from.selectedIndex = temp; SelectBox.filter(field_id + source, document.getElementById(field_id + input).value);
source_box.selectedIndex = temp;
SelectFilter.refresh_filtered_warning(field_id);
SelectFilter.refresh_icons(field_id);
}, },
filter_key_down: function(event, field_id) { filter_key_down: function(event, field_id, source, target) {
const from = document.getElementById(field_id + '_from'); const source_box = document.getElementById(field_id + source);
// right key (39) or left key (37)
const direction = source === '_from' ? 39 : 37;
// right arrow -- move across // right arrow -- move across
if ((event.which && event.which === 39) || (event.keyCode && event.keyCode === 39)) { if ((event.which && event.which === direction) || (event.keyCode && event.keyCode === direction)) {
const old_index = from.selectedIndex; const old_index = source_box.selectedIndex;
SelectBox.move(field_id + '_from', field_id + '_to'); SelectBox.move(field_id + source, field_id + target);
from.selectedIndex = (old_index === from.length) ? from.length - 1 : old_index; SelectFilter.refresh_filtered_selects(field_id);
SelectFilter.refresh_filtered_warning(field_id);
source_box.selectedIndex = (old_index === source_box.length) ? source_box.length - 1 : old_index;
return; return;
} }
// down arrow -- wrap around // down arrow -- wrap around
if ((event.which && event.which === 40) || (event.keyCode && event.keyCode === 40)) { if ((event.which && event.which === 40) || (event.keyCode && event.keyCode === 40)) {
from.selectedIndex = (from.length === from.selectedIndex + 1) ? 0 : from.selectedIndex + 1; source_box.selectedIndex = (source_box.length === source_box.selectedIndex + 1) ? 0 : source_box.selectedIndex + 1;
} }
// up arrow -- wrap around // up arrow -- wrap around
if ((event.which && event.which === 38) || (event.keyCode && event.keyCode === 38)) { if ((event.which && event.which === 38) || (event.keyCode && event.keyCode === 38)) {
from.selectedIndex = (from.selectedIndex === 0) ? from.length - 1 : from.selectedIndex - 1; source_box.selectedIndex = (source_box.selectedIndex === 0) ? source_box.length - 1 : source_box.selectedIndex - 1;
} }
} }
}; };

Binary file not shown.

View File

@ -90,10 +90,9 @@
} }
message = interpolate(message, [timezoneOffset]); message = interpolate(message, [timezoneOffset]);
const warning = document.createElement('span'); const warning = document.createElement('div');
warning.className = warningClass; warning.classList.add('help', warningClass);
warning.textContent = message; warning.textContent = message;
inp.parentNode.appendChild(document.createElement('br'));
inp.parentNode.appendChild(warning); inp.parentNode.appendChild(warning);
}, },
// Add clock widget to a given field // Add clock widget to a given field

Binary file not shown.

View File

@ -90,10 +90,9 @@
} }
message = interpolate(message, [timezoneOffset]); message = interpolate(message, [timezoneOffset]);
const warning = document.createElement('span'); const warning = document.createElement('div');
warning.className = warningClass; warning.classList.add('help', warningClass);
warning.textContent = message; warning.textContent = message;
inp.parentNode.appendChild(document.createElement('br'));
inp.parentNode.appendChild(warning); inp.parentNode.appendChild(warning);
}, },
// Add clock widget to a given field // Add clock widget to a given field

Binary file not shown.

View File

@ -26,13 +26,11 @@
} }
function addPopupIndex(name) { function addPopupIndex(name) {
name = name + "__" + (popupIndex + 1); return name + "__" + (popupIndex + 1);
return name;
} }
function removePopupIndex(name) { function removePopupIndex(name) {
name = name.replace(new RegExp("__" + (popupIndex + 1) + "$"), ''); return name.replace(new RegExp("__" + (popupIndex + 1) + "$"), '');
return name;
} }
function showAdminPopup(triggeringLink, name_regexp, add_popup) { function showAdminPopup(triggeringLink, name_regexp, add_popup) {

Binary file not shown.

View File

@ -26,13 +26,11 @@
} }
function addPopupIndex(name) { function addPopupIndex(name) {
name = name + "__" + (popupIndex + 1); return name + "__" + (popupIndex + 1);
return name;
} }
function removePopupIndex(name) { function removePopupIndex(name) {
name = name.replace(new RegExp("__" + (popupIndex + 1) + "$"), ''); return name.replace(new RegExp("__" + (popupIndex + 1) + "$"), '');
return name;
} }
function showAdminPopup(triggeringLink, name_regexp, add_popup) { function showAdminPopup(triggeringLink, name_regexp, add_popup) {

Binary file not shown.

Binary file not shown.

View File

@ -119,11 +119,11 @@ function findPosY(obj) {
let result = '', i = 0; let result = '', i = 0;
while (i < format.length) { while (i < format.length) {
if (format.charAt(i) === '%') { if (format.charAt(i) === '%') {
result = result + fields[format.charAt(i + 1)]; result += fields[format.charAt(i + 1)];
++i; ++i;
} }
else { else {
result = result + format.charAt(i); result += format.charAt(i);
} }
++i; ++i;
} }

BIN
static/admin/js/core.cf103cd04ebf.js.gz generated Normal file

Binary file not shown.

View File

@ -119,11 +119,11 @@ function findPosY(obj) {
let result = '', i = 0; let result = '', i = 0;
while (i < format.length) { while (i < format.length) {
if (format.charAt(i) === '%') { if (format.charAt(i) === '%') {
result = result + fields[format.charAt(i + 1)]; result += fields[format.charAt(i + 1)];
++i; ++i;
} }
else { else {
result = result + format.charAt(i); result += format.charAt(i);
} }
++i; ++i;
} }

Binary file not shown.

View File

@ -11,7 +11,7 @@
} }
Object.entries(filters).forEach(([key, value]) => { Object.entries(filters).forEach(([key, value]) => {
const detailElement = document.querySelector(`[data-filter-title='${key}']`); const detailElement = document.querySelector(`[data-filter-title='${CSS.escape(key)}']`);
// Check if the filter is present, it could be from other view. // Check if the filter is present, it could be from other view.
if (detailElement) { if (detailElement) {

BIN
static/admin/js/filters.0e360b7a9f80.js.gz generated Normal file

Binary file not shown.

Binary file not shown.

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