feat: fix typo
This commit is contained in:
24
doric-web/dist/index.js
vendored
24
doric-web/dist/index.js
vendored
@@ -4317,6 +4317,12 @@ __decorate([
|
||||
Property,
|
||||
__metadata("design:type", Number)
|
||||
], BlurEffect.prototype, "radius", void 0);
|
||||
class AeroEffect extends Stack {
|
||||
}
|
||||
__decorate([
|
||||
Property,
|
||||
__metadata("design:type", Object)
|
||||
], AeroEffect.prototype, "effectiveRect", void 0);
|
||||
function blurEffect(views, config) {
|
||||
const ret = new BlurEffect;
|
||||
ret.layoutConfig = layoutConfig().fit();
|
||||
@@ -4333,6 +4339,22 @@ function blurEffect(views, config) {
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
function aeroEffect(views, config) {
|
||||
const ret = new AeroEffect;
|
||||
ret.layoutConfig = layoutConfig().fit();
|
||||
if (views instanceof View) {
|
||||
ret.addChild(views);
|
||||
}
|
||||
else {
|
||||
views.forEach(e => {
|
||||
ret.addChild(e);
|
||||
});
|
||||
}
|
||||
if (config) {
|
||||
ret.apply(config);
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
function modal(context) {
|
||||
return {
|
||||
@@ -4982,6 +5004,7 @@ class ModularPanel extends Module {
|
||||
}
|
||||
}
|
||||
|
||||
exports.AeroEffect = AeroEffect;
|
||||
exports.AlphaAnimation = AlphaAnimation;
|
||||
exports.AnimationSet = AnimationSet;
|
||||
exports.AssetResource = AssetResource;
|
||||
@@ -5049,6 +5072,7 @@ exports.View = View;
|
||||
exports.ViewComponent = ViewComponent;
|
||||
exports.ViewHolder = ViewHolder;
|
||||
exports.ViewModel = ViewModel;
|
||||
exports.aeroEffect = aeroEffect;
|
||||
exports.animate = animate;
|
||||
exports.blurEffect = blurEffect;
|
||||
exports.coordinator = coordinator;
|
||||
|
2
doric-web/dist/index.js.map
vendored
2
doric-web/dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user