完成世界书、骰子、apiconfig页面处理

This commit is contained in:
2026-04-30 01:35:10 +08:00
parent a3e3711b2b
commit ba9b925c32
4602 changed files with 785225 additions and 23 deletions

46
frontend/node_modules/d3-ease/src/elastic.js generated vendored Normal file
View File

@@ -0,0 +1,46 @@
import {tpmt} from "./math.js";
var tau = 2 * Math.PI,
amplitude = 1,
period = 0.3;
export var elasticIn = (function custom(a, p) {
var s = Math.asin(1 / (a = Math.max(1, a))) * (p /= tau);
function elasticIn(t) {
return a * tpmt(-(--t)) * Math.sin((s - t) / p);
}
elasticIn.amplitude = function(a) { return custom(a, p * tau); };
elasticIn.period = function(p) { return custom(a, p); };
return elasticIn;
})(amplitude, period);
export var elasticOut = (function custom(a, p) {
var s = Math.asin(1 / (a = Math.max(1, a))) * (p /= tau);
function elasticOut(t) {
return 1 - a * tpmt(t = +t) * Math.sin((t + s) / p);
}
elasticOut.amplitude = function(a) { return custom(a, p * tau); };
elasticOut.period = function(p) { return custom(a, p); };
return elasticOut;
})(amplitude, period);
export var elasticInOut = (function custom(a, p) {
var s = Math.asin(1 / (a = Math.max(1, a))) * (p /= tau);
function elasticInOut(t) {
return ((t = t * 2 - 1) < 0
? a * tpmt(-t) * Math.sin((s - t) / p)
: 2 - a * tpmt(t) * Math.sin((s + t) / p)) / 2;
}
elasticInOut.amplitude = function(a) { return custom(a, p * tau); };
elasticInOut.period = function(p) { return custom(a, p); };
return elasticInOut;
})(amplitude, period);

66
frontend/node_modules/d3-ease/src/index.js generated vendored Normal file
View File

@@ -0,0 +1,66 @@
export {
linear as easeLinear
} from "./linear.js";
export {
quadInOut as easeQuad,
quadIn as easeQuadIn,
quadOut as easeQuadOut,
quadInOut as easeQuadInOut
} from "./quad.js";
export {
cubicInOut as easeCubic,
cubicIn as easeCubicIn,
cubicOut as easeCubicOut,
cubicInOut as easeCubicInOut
} from "./cubic.js";
export {
polyInOut as easePoly,
polyIn as easePolyIn,
polyOut as easePolyOut,
polyInOut as easePolyInOut
} from "./poly.js";
export {
sinInOut as easeSin,
sinIn as easeSinIn,
sinOut as easeSinOut,
sinInOut as easeSinInOut
} from "./sin.js";
export {
expInOut as easeExp,
expIn as easeExpIn,
expOut as easeExpOut,
expInOut as easeExpInOut
} from "./exp.js";
export {
circleInOut as easeCircle,
circleIn as easeCircleIn,
circleOut as easeCircleOut,
circleInOut as easeCircleInOut
} from "./circle.js";
export {
bounceOut as easeBounce,
bounceIn as easeBounceIn,
bounceOut as easeBounceOut,
bounceInOut as easeBounceInOut
} from "./bounce.js";
export {
backInOut as easeBack,
backIn as easeBackIn,
backOut as easeBackOut,
backInOut as easeBackInOut
} from "./back.js";
export {
elasticOut as easeElastic,
elasticIn as easeElasticIn,
elasticOut as easeElasticOut,
elasticInOut as easeElasticInOut
} from "./elastic.js";