Files
1sonhador 9d43854277 feat: Initial MoneyFlix project setup
- Created separate MoneyFlix project directory
- Copied Node.js redirector from production server
- Added CRM PHP code (Redirects module, Core classes, Config, Routes, Views)
- Created comprehensive documentation (README_MONEYFLIX.md)
- Added sync script to keep CRM code updated (sync-from-crm.sh)
- Configured .gitignore for Node.js and PHP
- Set up proper project structure for multi-client isolation

This separates MoneyFlix from the main CRM to avoid confusion
between different client systems and provides a dedicated
environment for MoneyFlix-specific development and maintenance.
2025-10-03 12:09:41 +01:00

63 lines
2.0 KiB
TypeScript

export default class BarController extends DatasetController {
static id: string;
/**
* @type {any}
*/
static overrides: any;
/**
* Overriding primitive data parsing since we support mixed primitive/array
* data for float bars
* @protected
*/
protected parsePrimitiveData(meta: any, data: any, start: any, count: any): any[];
/**
* Overriding array data parsing since we support mixed primitive/array
* data for float bars
* @protected
*/
protected parseArrayData(meta: any, data: any, start: any, count: any): any[];
/**
* Overriding object data parsing since we support mixed primitive/array
* value-scale data for float bars
* @protected
*/
protected parseObjectData(meta: any, data: any, start: any, count: any): any[];
update(mode: any): void;
/**
* Returns the stacks based on groups and bar visibility.
* @param {number} [last] - The dataset index
* @param {number} [dataIndex] - The data index of the ruler
* @returns {string[]} The list of stack IDs
* @private
*/
private _getStacks;
/**
* Returns the effective number of stacks based on groups and bar visibility.
* @private
*/
private _getStackCount;
/**
* Returns the stack index for the given dataset based on groups and bar visibility.
* @param {number} [datasetIndex] - The dataset index
* @param {string} [name] - The stack name to find
* @param {number} [dataIndex]
* @returns {number} The stack index
* @private
*/
private _getStackIndex;
/**
* @private
*/
private _getRuler;
/**
* Note: pixel values are not clamped to the scale area.
* @private
*/
private _calculateBarValuePixels;
/**
* @private
*/
private _calculateBarIndexPixels;
}
import DatasetController from "../core/core.datasetController.js";