'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

const core = require('./core-859ae5a6.js');
const utils = require('./utils-2a7c8f6e.js');

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

exports.anj_action = Action;
