export class ValidationRule {
    componentDidLoad() {
        this.anjValidationRuleDidLoad.emit();
    }
    static get is() { return "anj-validation-rule"; }
    static get properties() { return {
        "type": {
            "type": "string",
            "mutable": false,
            "complexType": {
                "original": "ColumnValidationType",
                "resolved": "\"email\" | \"max\" | \"max-length\" | \"min\" | \"min-length\" | \"pattern\" | \"required\" | \"step\"",
                "references": {
                    "ColumnValidationType": {
                        "location": "import",
                        "path": "../table.types"
                    }
                }
            },
            "required": false,
            "optional": false,
            "docs": {
                "tags": [],
                "text": "The type of validation the rule is responsible for\nOptions are: `\"required\"` | `\"pattern\"` | `\"email\"` | `\"min\"` | `\"max\"` | `\"min-length\"` | `\"max-length\"` | `\"step\"`"
            },
            "attribute": "type",
            "reflect": false
        },
        "value": {
            "type": "string",
            "mutable": false,
            "complexType": {
                "original": "string",
                "resolved": "string",
                "references": {}
            },
            "required": false,
            "optional": false,
            "docs": {
                "tags": [],
                "text": "The value if the time is not required or email"
            },
            "attribute": "value",
            "reflect": false
        }
    }; }
    static get events() { return [{
            "method": "anjValidationRuleDidLoad",
            "name": "anjValidationRuleDidLoad",
            "bubbles": true,
            "cancelable": true,
            "composed": true,
            "docs": {
                "tags": [],
                "text": "Emitted when the selector has been created."
            },
            "complexType": {
                "original": "void",
                "resolved": "void",
                "references": {}
            }
        }]; }
}
