import { r as registerInstance, d as createEvent } from './core-b78a8f7e.js';
import { f as debounceEvent } from './utils-3aef1637.js';

const Action = class {
    constructor(hostRef) {
        registerInstance(this, hostRef);
        this.anjActionChange = createEvent(this, "anjActionChange", 7);
    }
    onChange() {
        this.anjActionChange.emit();
    }
    componentDidLoad() {
        this.anjActionChange = debounceEvent(this.anjActionChange, 0);
    }
    static get watchers() { return {
        "disabled": ["onChange"],
        "hidden": ["onChange"],
        "icon": ["onChange"],
        "payload": ["onChange"]
    }; }
};

export { Action as anj_action };
