import CetraPlugin from './CetraPlugin'; import Registry from '../core/Registry'; import Logger from '../core/Logger'; export default class Utils extends CetraPlugin { #cetraIdentifier; #pluginName = 'utils'; constructor(cetraId) { super(cetraId); this.#cetraIdentifier = cetraId; } register(cetraId) {} initComponent(component) {} increment(val, options = { amount: 1 }) { const { amount } = options; return val + amount; } increase(val, options = { amount: 1 }) { return this.increment(val, options); } decrement(val, options = { amount: 1 }) { const { amount } = options; return val - amount; } decrease(val, options = { amount: 1 }) { return this.decrement(val, options); } }