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:
+4
-4
@@ -76,13 +76,13 @@ const { log, output, input, time } = require('proc-log')
|
||||
|
||||
#### input
|
||||
|
||||
* `input.start(...args)` calls `process.emit('input', 'start', ...args)`
|
||||
* `input.start(fn?)` calls `process.emit('input', 'start')`
|
||||
|
||||
Used to tell the consumer that the terminal is going to begin reading user input. Returns a function that will call `input.end(...args)` for convenience.
|
||||
Used to tell the consumer that the terminal is going to begin reading user input. Returns a function that will call `input.end()` for convenience.
|
||||
|
||||
If the first argument is a function, it will be used as a callback which runs `input.end()` on its completion. If the callback returns a `Promise` then `input.end(...args)` will be run during `finally()`.
|
||||
This also takes an optional callback which will run `input.end()` on its completion. If the callback returns a `Promise` then `input.end()` will be run during `finally()`.
|
||||
|
||||
* `input.end(...args)` calls `process.emit('input', 'end', ...args)`
|
||||
* `input.end()` calls `process.emit('input', 'end')`
|
||||
|
||||
Used to tell the consumer that the terminal has stopped reading user input.
|
||||
|
||||
|
||||
+5
-10
@@ -122,15 +122,10 @@ module.exports = {
|
||||
end: 'end',
|
||||
read: 'read',
|
||||
},
|
||||
start: function (...args) {
|
||||
// Support callback for backwards compatibility and pass additional args to event
|
||||
let fn
|
||||
if (typeof args[0] === 'function') {
|
||||
fn = args.shift()
|
||||
}
|
||||
process.emit('input', 'start', ...args)
|
||||
start: function (fn) {
|
||||
process.emit('input', 'start')
|
||||
function end () {
|
||||
return process.emit('input', 'end', ...args)
|
||||
return process.emit('input', 'end')
|
||||
}
|
||||
if (typeof fn === 'function') {
|
||||
const res = fn()
|
||||
@@ -142,8 +137,8 @@ module.exports = {
|
||||
}
|
||||
return end
|
||||
},
|
||||
end: function (...args) {
|
||||
return process.emit('input', 'end', ...args)
|
||||
end: function () {
|
||||
return process.emit('input', 'end')
|
||||
},
|
||||
read: function (...args) {
|
||||
let resolve, reject
|
||||
|
||||
+4
-4
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "proc-log",
|
||||
"version": "6.1.0",
|
||||
"version": "6.0.0",
|
||||
"files": [
|
||||
"bin/",
|
||||
"lib/"
|
||||
@@ -25,8 +25,8 @@
|
||||
"eslint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\""
|
||||
},
|
||||
"devDependencies": {
|
||||
"@npmcli/eslint-config": "^6.0.0",
|
||||
"@npmcli/template-oss": "4.28.1",
|
||||
"@npmcli/eslint-config": "^5.0.0",
|
||||
"@npmcli/template-oss": "4.27.1",
|
||||
"tap": "^16.0.1"
|
||||
},
|
||||
"engines": {
|
||||
@@ -34,7 +34,7 @@
|
||||
},
|
||||
"templateOSS": {
|
||||
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
|
||||
"version": "4.28.1",
|
||||
"version": "4.27.1",
|
||||
"publish": true
|
||||
},
|
||||
"tap": {
|
||||
|
||||
Reference in New Issue
Block a user