up seafile

This commit is contained in:
2026-06-13 10:14:23 +02:00
parent 3cb2e466d8
commit ff53831be4
8 changed files with 230 additions and 24 deletions
+38
View File
@@ -1738,6 +1738,42 @@ export namespace qslcard {
this.light = source["light"];
}
}
export class FxParams {
plump?: number;
edge?: number;
outerw?: number;
gloss?: number;
gloss_h?: number;
gloss_i?: number;
inner_b?: number;
depth?: number;
angle?: number;
slant?: number;
grunge?: number;
bevel?: number;
seed?: number;
static createFrom(source: any = {}) {
return new FxParams(source);
}
constructor(source: any = {}) {
if ('string' === typeof source) source = JSON.parse(source);
this.plump = source["plump"];
this.edge = source["edge"];
this.outerw = source["outerw"];
this.gloss = source["gloss"];
this.gloss_h = source["gloss_h"];
this.gloss_i = source["gloss_i"];
this.inner_b = source["inner_b"];
this.depth = source["depth"];
this.angle = source["angle"];
this.slant = source["slant"];
this.grunge = source["grunge"];
this.bevel = source["bevel"];
this.seed = source["seed"];
}
}
export class Halo {
color: string;
blur: number;
@@ -1797,6 +1833,7 @@ export namespace qslcard {
shadow?: ShadowFx;
bevel_offset?: Bevel;
color?: string;
fx?: FxParams;
static createFrom(source: any = {}) {
return new StyleParams(source);
@@ -1812,6 +1849,7 @@ export namespace qslcard {
this.shadow = this.convertValues(source["shadow"], ShadowFx);
this.bevel_offset = this.convertValues(source["bevel_offset"], Bevel);
this.color = source["color"];
this.fx = this.convertValues(source["fx"], FxParams);
}
convertValues(a: any, classs: any, asMap: boolean = false): any {