feat: HSAP platform v2 — modular navigation, quality review, audit log, world model simulation
Major changes: - New frontend (platform/web/): Vite + React 18 + TypeScript + Tailwind - 4-module navigation: 数据送标 / 模型管理 / 车队管理 / 系统管理 - Data catalog with charts (DMS/ADAS/Lane 3-tab view) - Quality review workflow (标注质检): Good/Fine/Bad scoring with auto-advance - Audit enhancements: batch operations, rejection categories, Feishu notifications - Operation audit log (操作日志) - World model simulation studio (仿真工坊) - Dataset version management with snapshots and diff - ADAS 7-class dataset integration (138K images organized + compressed) - User management with Feishu integration and pagination - CRUD/search/filter on all pages, card layout redesign - PIL-optimized image overlay rendering - Auto-snapshot on build, in_review workflow stage - Removed embedded algorithm code (now in workspace)
This commit is contained in:
79
platform/web/node_modules/fraction.js/fraction.d.ts
generated
vendored
Normal file
79
platform/web/node_modules/fraction.js/fraction.d.ts
generated
vendored
Normal file
@@ -0,0 +1,79 @@
|
||||
declare class Fraction {
|
||||
constructor();
|
||||
constructor(num: Fraction.FractionInput);
|
||||
constructor(numerator: number | bigint, denominator: number | bigint);
|
||||
|
||||
s: bigint;
|
||||
n: bigint;
|
||||
d: bigint;
|
||||
|
||||
abs(): Fraction;
|
||||
neg(): Fraction;
|
||||
|
||||
add: Fraction.FractionParam;
|
||||
sub: Fraction.FractionParam;
|
||||
mul: Fraction.FractionParam;
|
||||
div: Fraction.FractionParam;
|
||||
pow: Fraction.FractionParam;
|
||||
log: Fraction.FractionParam;
|
||||
gcd: Fraction.FractionParam;
|
||||
lcm: Fraction.FractionParam;
|
||||
|
||||
mod(): Fraction;
|
||||
mod(num: Fraction.FractionInput): Fraction;
|
||||
|
||||
ceil(places?: number): Fraction;
|
||||
floor(places?: number): Fraction;
|
||||
round(places?: number): Fraction;
|
||||
roundTo: Fraction.FractionParam;
|
||||
|
||||
inverse(): Fraction;
|
||||
simplify(eps?: number): Fraction;
|
||||
|
||||
equals(num: Fraction.FractionInput): boolean;
|
||||
lt(num: Fraction.FractionInput): boolean;
|
||||
lte(num: Fraction.FractionInput): boolean;
|
||||
gt(num: Fraction.FractionInput): boolean;
|
||||
gte(num: Fraction.FractionInput): boolean;
|
||||
compare(num: Fraction.FractionInput): number;
|
||||
divisible(num: Fraction.FractionInput): boolean;
|
||||
|
||||
valueOf(): number;
|
||||
toString(decimalPlaces?: number): string;
|
||||
toLatex(showMixed?: boolean): string;
|
||||
toFraction(showMixed?: boolean): string;
|
||||
toContinued(): bigint[];
|
||||
clone(): Fraction;
|
||||
|
||||
static default: typeof Fraction;
|
||||
static Fraction: typeof Fraction;
|
||||
}
|
||||
|
||||
declare namespace Fraction {
|
||||
interface NumeratorDenominator { n: number | bigint; d: number | bigint; }
|
||||
type FractionInput =
|
||||
| Fraction
|
||||
| number
|
||||
| bigint
|
||||
| string
|
||||
| [number | bigint | string, number | bigint | string]
|
||||
| NumeratorDenominator;
|
||||
|
||||
type FractionParam = {
|
||||
(numerator: number | bigint, denominator: number | bigint): Fraction;
|
||||
(num: FractionInput): Fraction;
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* Export matches CJS runtime:
|
||||
* module.exports = Fraction;
|
||||
* module.exports.default = Fraction;
|
||||
* module.exports.Fraction = Fraction;
|
||||
*/
|
||||
declare const FractionExport: typeof Fraction & {
|
||||
default: typeof Fraction;
|
||||
Fraction: typeof Fraction;
|
||||
};
|
||||
|
||||
export = FractionExport;
|
||||
Reference in New Issue
Block a user