feat(planning): grille hebdomadaire complète avec API et filtres
- Connexion API via proxy Angular (résolution CORS, base path /api) - Import CSS ng-zorro global pour les modales et composants - Filtres Camion/Show câblés sur l'affichage de la grille - Camions affichés via TrucksService (linkés au show du même créneau) - Panneau de détails : spectacles + camions du jour sélectionné - Modale de création de spectacle stylisée avec fond et centrage - Positionnement précis des events à la minute dans leur créneau - Auto-scroll vers l'heure courante au chargement - Ligne "maintenant" sur la colonne du jour actuel - Régénération des services OpenAPI (nouveaux noms de types) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright 2014 Andrey Sitnik <andrey@sitnik.es> and other contributors
|
||||
Copyright 2014 Andrey Sitnik <andrey@sitnik.ru> and other contributors
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
|
||||
+17
-16
@@ -6,13 +6,13 @@
|
||||
The config to share target browsers and Node.js versions between different
|
||||
front-end tools. It is used in:
|
||||
|
||||
- [Autoprefixer]
|
||||
- [Babel]
|
||||
- [postcss-preset-env]
|
||||
- [eslint-plugin-compat]
|
||||
- [stylelint-no-unsupported-browser-features]
|
||||
- [postcss-normalize]
|
||||
- [obsolete-webpack-plugin]
|
||||
* [Autoprefixer]
|
||||
* [Babel]
|
||||
* [postcss-preset-env]
|
||||
* [eslint-plugin-compat]
|
||||
* [stylelint-no-unsupported-browser-features]
|
||||
* [postcss-normalize]
|
||||
* [obsolete-webpack-plugin]
|
||||
|
||||
All tools will find target browsers automatically,
|
||||
when you add the following to `package.json`:
|
||||
@@ -50,15 +50,16 @@ You can check how config works at our playground: [`browsersl.ist`](https://brow
|
||||
</div>
|
||||
|
||||
[stylelint-no-unsupported-browser-features]: https://github.com/ismay/stylelint-no-unsupported-browser-features
|
||||
[obsolete-webpack-plugin]: https://github.com/ElemeFE/obsolete-webpack-plugin
|
||||
[eslint-plugin-compat]: https://github.com/amilajack/eslint-plugin-compat
|
||||
[postcss-preset-env]: https://github.com/csstools/postcss-plugins/tree/main/plugin-packs/postcss-preset-env
|
||||
[postcss-normalize]: https://github.com/csstools/postcss-normalize
|
||||
[`browsersl.ist`]: https://browsersl.ist/
|
||||
[`caniuse-lite`]: https://github.com/ben-eb/caniuse-lite
|
||||
[Autoprefixer]: https://github.com/postcss/autoprefixer
|
||||
[Can I Use]: https://caniuse.com/
|
||||
[Babel]: https://github.com/babel/babel/tree/master/packages/babel-preset-env
|
||||
[obsolete-webpack-plugin]: https://github.com/ElemeFE/obsolete-webpack-plugin
|
||||
[eslint-plugin-compat]: https://github.com/amilajack/eslint-plugin-compat
|
||||
[Browserslist Example]: https://github.com/browserslist/browserslist-example
|
||||
[postcss-preset-env]: https://github.com/csstools/postcss-plugins/tree/main/plugin-packs/postcss-preset-env
|
||||
[postcss-normalize]: https://github.com/csstools/postcss-normalize
|
||||
[`browsersl.ist`]: https://browsersl.ist/
|
||||
[`caniuse-lite`]: https://github.com/ben-eb/caniuse-lite
|
||||
[Autoprefixer]: https://github.com/postcss/autoprefixer
|
||||
[Can I Use]: https://caniuse.com/
|
||||
[Babel]: https://github.com/babel/babel/tree/master/packages/babel-preset-env
|
||||
|
||||
## Docs
|
||||
Read full docs **[here](https://github.com/browserslist/browserslist#readme)**.
|
||||
|
||||
+6
-18
@@ -255,14 +255,10 @@ function normalizeAndroidVersions(androidVersions, chromeVersions) {
|
||||
.concat(chromeVersions.slice(iFirstEvergreen))
|
||||
}
|
||||
|
||||
var DANGEROUS_KEYS = ['__proto__', 'constructor', 'prototype']
|
||||
|
||||
function copyObject(obj) {
|
||||
var copy = {}
|
||||
for (var key in obj) {
|
||||
if (DANGEROUS_KEYS.indexOf(key) === -1) {
|
||||
copy[key] = obj[key]
|
||||
}
|
||||
copy[key] = obj[key]
|
||||
}
|
||||
return copy
|
||||
}
|
||||
@@ -838,29 +834,25 @@ var QUERIES = {
|
||||
baselineVersions = bbm.getCompatibleVersions({
|
||||
targetYear: node.year,
|
||||
includeDownstreamBrowsers: includeDownstream,
|
||||
includeKaiOS: includeKaiOS,
|
||||
suppressWarnings: true
|
||||
includeKaiOS: includeKaiOS
|
||||
})
|
||||
} else if (node.date) {
|
||||
baselineVersions = bbm.getCompatibleVersions({
|
||||
widelyAvailableOnDate: node.date,
|
||||
includeDownstreamBrowsers: includeDownstream,
|
||||
includeKaiOS: includeKaiOS,
|
||||
suppressWarnings: true
|
||||
includeKaiOS: includeKaiOS
|
||||
})
|
||||
} else if (node.availability === 'newly') {
|
||||
var future30months = new Date().setMonth(new Date().getMonth() + 30)
|
||||
baselineVersions = bbm.getCompatibleVersions({
|
||||
widelyAvailableOnDate: future30months,
|
||||
includeDownstreamBrowsers: includeDownstream,
|
||||
includeKaiOS: includeKaiOS,
|
||||
suppressWarnings: true
|
||||
includeKaiOS: includeKaiOS
|
||||
})
|
||||
} else {
|
||||
baselineVersions = bbm.getCompatibleVersions({
|
||||
includeDownstreamBrowsers: includeDownstream,
|
||||
includeKaiOS: includeKaiOS,
|
||||
suppressWarnings: true
|
||||
includeKaiOS: includeKaiOS
|
||||
})
|
||||
}
|
||||
return resolve(bbmTransform(baselineVersions), context)
|
||||
@@ -1124,11 +1116,7 @@ var QUERIES = {
|
||||
var data = checkName(node.browser, context)
|
||||
var alias = browserslist.versionAliases[data.name][version.toLowerCase()]
|
||||
if (alias) version = alias
|
||||
if (!/[\d.]+/.test(version)) {
|
||||
throw new BrowserslistError(
|
||||
'Unknown version ' + version + ' of ' + node.browser
|
||||
)
|
||||
}
|
||||
if (!/[\d.]+/.test(version)) throw new BrowserslistError('Unknown version ' + version + ' of ' + node.browser);
|
||||
return data.released
|
||||
.filter(generateFilter(node.sign, version))
|
||||
.map(function (v) {
|
||||
|
||||
+18
-18
@@ -1,15 +1,12 @@
|
||||
{
|
||||
"name": "browserslist",
|
||||
"version": "4.28.2",
|
||||
"version": "4.28.0",
|
||||
"description": "Share target browsers between different front-end tools, like Autoprefixer, Stylelint and babel-env-preset",
|
||||
"keywords": [
|
||||
"browsers",
|
||||
"caniuse",
|
||||
"browsers",
|
||||
"target"
|
||||
],
|
||||
"license": "MIT",
|
||||
"author": "Andrey Sitnik <andrey@sitnik.es>",
|
||||
"repository": "browserslist/browserslist",
|
||||
"funding": [
|
||||
{
|
||||
"type": "opencollective",
|
||||
@@ -24,22 +21,25 @@
|
||||
"url": "https://github.com/sponsors/ai"
|
||||
}
|
||||
],
|
||||
"bin": {
|
||||
"browserslist": "cli.js"
|
||||
},
|
||||
"browser": {
|
||||
"./node.js": "./browser.js",
|
||||
"path": false
|
||||
},
|
||||
"types": "./index.d.ts",
|
||||
"author": "Andrey Sitnik <andrey@sitnik.ru>",
|
||||
"license": "MIT",
|
||||
"repository": "browserslist/browserslist",
|
||||
"dependencies": {
|
||||
"baseline-browser-mapping": "^2.10.12",
|
||||
"caniuse-lite": "^1.0.30001782",
|
||||
"electron-to-chromium": "^1.5.328",
|
||||
"node-releases": "^2.0.36",
|
||||
"update-browserslist-db": "^1.2.3"
|
||||
"baseline-browser-mapping": "^2.8.25",
|
||||
"caniuse-lite": "^1.0.30001754",
|
||||
"electron-to-chromium": "^1.5.249",
|
||||
"node-releases": "^2.0.27",
|
||||
"update-browserslist-db": "^1.1.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
|
||||
},
|
||||
"bin": {
|
||||
"browserslist": "cli.js"
|
||||
},
|
||||
"types": "./index.d.ts",
|
||||
"browser": {
|
||||
"./node.js": "./browser.js",
|
||||
"path": false
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user