This commit is contained in:
2025-08-19 15:05:55 +07:00
parent 70ae66ee4b
commit f78dc34aee
161 changed files with 13703 additions and 0 deletions
@@ -0,0 +1,25 @@
import { registry } from "@web/core/registry";
import { StatisticModel } from "./statistic_model";
import { StatisticController } from "./statistic_controller";
import { StatisticRenderer } from "./statistic_renderer";
export const statisticView = {
type: "statistic",
Controller: StatisticController,
Renderer: StatisticRenderer,
Model: StatisticModel,
props(genericProps, view) {
console.log("Statistic View - this: ", this);
console.log("Statistic View - genericProps: ", genericProps);
console.log("Statistic View - view: ", view);
return {
...genericProps,
Model: view.Model,
Renderer: view.Renderer
};
},
};
registry.category("views").add("statistic", statisticView);