6989a98d75
- Arkitektur: docs/auth/passwordless-architecture.md - Backend: iom/quixzoom-auth-service/ (FastAPI + Redis) - Webb: quixzoom-market-pages/se/login/ (QR-kod + polling) - App: iom/quixzoom-app/src/features/auth/ (push + deep links) Flöde: QR-kod → app-godkännande → webb-inloggad
21 lines
744 B
JavaScript
21 lines
744 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.BackgroundColourPlugin = void 0;
|
|
class BackgroundColourPlugin {
|
|
constructor(_width, _height, _fillStyle) {
|
|
this._width = _width;
|
|
this._height = _height;
|
|
this._fillStyle = _fillStyle;
|
|
this.id = 'chartjs-plugin-chartjs-node-canvas-background-colour';
|
|
}
|
|
beforeDraw(chart) {
|
|
const ctx = chart.ctx;
|
|
ctx.save();
|
|
ctx.globalCompositeOperation = 'destination-over';
|
|
ctx.fillStyle = this._fillStyle;
|
|
ctx.fillRect(0, 0, this._width, this._height);
|
|
ctx.restore();
|
|
}
|
|
}
|
|
exports.BackgroundColourPlugin = BackgroundColourPlugin;
|
|
//# sourceMappingURL=backgroundColourPlugin.js.map
|