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:
+5
-85
@@ -1,104 +1,26 @@
|
||||
import { AST } from './ast.js';
|
||||
export type Platform = 'aix' | 'android' | 'darwin' | 'freebsd' | 'haiku' | 'linux' | 'openbsd' | 'sunos' | 'win32' | 'cygwin' | 'netbsd';
|
||||
type Platform = 'aix' | 'android' | 'darwin' | 'freebsd' | 'haiku' | 'linux' | 'openbsd' | 'sunos' | 'win32' | 'cygwin' | 'netbsd';
|
||||
export interface MinimatchOptions {
|
||||
/** do not expand `{x,y}` style braces */
|
||||
nobrace?: boolean;
|
||||
/** do not treat patterns starting with `#` as a comment */
|
||||
nocomment?: boolean;
|
||||
/** do not treat patterns starting with `!` as a negation */
|
||||
nonegate?: boolean;
|
||||
/** print LOTS of debugging output */
|
||||
debug?: boolean;
|
||||
/** treat `**` the same as `*` */
|
||||
noglobstar?: boolean;
|
||||
/** do not expand extglobs like `+(a|b)` */
|
||||
noext?: boolean;
|
||||
/** return the pattern if nothing matches */
|
||||
nonull?: boolean;
|
||||
/** treat `\\` as a path separator, not an escape character */
|
||||
windowsPathsNoEscape?: boolean;
|
||||
/**
|
||||
* inverse of {@link MinimatchOptions.windowsPathsNoEscape}
|
||||
* @deprecated
|
||||
*/
|
||||
allowWindowsEscape?: boolean;
|
||||
/**
|
||||
* Compare a partial path to a pattern. As long as the parts
|
||||
* of the path that are present are not contradicted by the
|
||||
* pattern, it will be treated as a match. This is useful in
|
||||
* applications where you're walking through a folder structure,
|
||||
* and don't yet have the full path, but want to ensure that you
|
||||
* do not walk down paths that can never be a match.
|
||||
*/
|
||||
partial?: boolean;
|
||||
/** allow matches that start with `.` even if the pattern does not */
|
||||
dot?: boolean;
|
||||
/** ignore case */
|
||||
nocase?: boolean;
|
||||
/** ignore case only in wildcard patterns */
|
||||
nocaseMagicOnly?: boolean;
|
||||
/** consider braces to be "magic" for the purpose of `hasMagic` */
|
||||
magicalBraces?: boolean;
|
||||
/**
|
||||
* If set, then patterns without slashes will be matched
|
||||
* against the basename of the path if it contains slashes.
|
||||
* For example, `a?b` would match the path `/xyz/123/acb`, but
|
||||
* not `/xyz/acb/123`.
|
||||
*/
|
||||
matchBase?: boolean;
|
||||
/** invert the results of negated matches */
|
||||
flipNegate?: boolean;
|
||||
/** do not collapse multiple `/` into a single `/` */
|
||||
preserveMultipleSlashes?: boolean;
|
||||
/**
|
||||
* A number indicating the level of optimization that should be done
|
||||
* to the pattern prior to parsing and using it for matches.
|
||||
*/
|
||||
optimizationLevel?: number;
|
||||
/** operating system platform */
|
||||
platform?: Platform;
|
||||
/**
|
||||
* When a pattern starts with a UNC path or drive letter, and in
|
||||
* `nocase:true` mode, do not convert the root portions of the
|
||||
* pattern into a case-insensitive regular expression, and instead
|
||||
* leave them as strings.
|
||||
*
|
||||
* This is the default when the platform is `win32` and
|
||||
* `nocase:true` is set.
|
||||
*/
|
||||
windowsNoMagicRoot?: boolean;
|
||||
/**
|
||||
* max number of `{...}` patterns to expand. Default 100_000.
|
||||
*/
|
||||
braceExpandMax?: number;
|
||||
/**
|
||||
* Max number of non-adjacent `**` patterns to recursively walk down.
|
||||
*
|
||||
* The default of 200 is almost certainly high enough for most purposes,
|
||||
* and can handle absurdly excessive patterns.
|
||||
*/
|
||||
maxGlobstarRecursion?: number;
|
||||
/**
|
||||
* Max depth to traverse for nested extglobs like `*(a|b|c)`
|
||||
*
|
||||
* Default is 2, which is quite low, but any higher value
|
||||
* swiftly results in punishing performance impacts. Note
|
||||
* that this is *not* relevant when the globstar types can
|
||||
* be safely coalesced into a single set.
|
||||
*
|
||||
* For example, `*(a|@(b|c)|d)` would be flattened into
|
||||
* `*(a|b|c|d)`. Thus, many common extglobs will retain good
|
||||
* performance and never hit this limit, even if they are
|
||||
* excessively deep and complicated.
|
||||
*
|
||||
* If the limit is hit, then the extglob characters are simply
|
||||
* not parsed, and the pattern effectively switches into
|
||||
* `noextglob: true` mode for the contents of that nested
|
||||
* sub-pattern. This will typically _not_ result in a match,
|
||||
* but is considered a valid trade-off for security and
|
||||
* performance.
|
||||
*/
|
||||
maxExtglobRecursion?: number;
|
||||
}
|
||||
export declare const minimatch: {
|
||||
(p: string, pattern: string, options?: MinimatchOptions): boolean;
|
||||
@@ -111,10 +33,10 @@ export declare const minimatch: {
|
||||
match: (list: string[], pattern: string, options?: MinimatchOptions) => string[];
|
||||
AST: typeof AST;
|
||||
Minimatch: typeof Minimatch;
|
||||
escape: (s: string, { windowsPathsNoEscape, magicalBraces, }?: Pick<MinimatchOptions, "windowsPathsNoEscape" | "magicalBraces">) => string;
|
||||
unescape: (s: string, { windowsPathsNoEscape, magicalBraces, }?: Pick<MinimatchOptions, "windowsPathsNoEscape" | "magicalBraces">) => string;
|
||||
escape: (s: string, { windowsPathsNoEscape, }?: Pick<MinimatchOptions, "windowsPathsNoEscape">) => string;
|
||||
unescape: (s: string, { windowsPathsNoEscape, }?: Pick<MinimatchOptions, "windowsPathsNoEscape">) => string;
|
||||
};
|
||||
export type Sep = '\\' | '/';
|
||||
type Sep = '\\' | '/';
|
||||
export declare const sep: Sep;
|
||||
export declare const GLOBSTAR: unique symbol;
|
||||
export declare const filter: (pattern: string, options?: MinimatchOptions) => (p: string) => boolean;
|
||||
@@ -129,7 +51,6 @@ export type MMRegExp = RegExp & {
|
||||
export type ParseReturnFiltered = string | MMRegExp | typeof GLOBSTAR;
|
||||
export type ParseReturn = ParseReturnFiltered | false;
|
||||
export declare class Minimatch {
|
||||
#private;
|
||||
options: MinimatchOptions;
|
||||
set: ParseReturnFiltered[][];
|
||||
pattern: string;
|
||||
@@ -146,11 +67,10 @@ export declare class Minimatch {
|
||||
isWindows: boolean;
|
||||
platform: Platform;
|
||||
windowsNoMagicRoot: boolean;
|
||||
maxGlobstarRecursion: number;
|
||||
regexp: false | null | MMRegExp;
|
||||
constructor(pattern: string, options?: MinimatchOptions);
|
||||
hasMagic(): boolean;
|
||||
debug(..._: unknown[]): void;
|
||||
debug(..._: any[]): void;
|
||||
make(): void;
|
||||
preprocess(globParts: string[][]): string[][];
|
||||
adjascentGlobstarOptimize(globParts: string[][]): string[][];
|
||||
|
||||
Reference in New Issue
Block a user