{
    "exposeRootElement": true,
    "shadow": {
        "elements": [
            {
                "name": "input",
                "public": true,
                "type": [
                    "actionable",
                    "clickable",
                    "editable"
                ],
                "selector": {
                    "css": "input"
                }
            },
            {
                "name": "label",
                "selector": {
                    "css": "label"
                }
            },
            {
                "name": "errorMessageElem",
                "selector": {
                    "css": "[id^=\"errorMessageBlock\"]"
                }
            },
            {
                "name": "currentDateButton",
                "public": true,
                "selector": {
                    "css": "button.currentDate"
                }
            },
            {
                "name": "helpIcon",
                "public": true,
                "type": "utam-omnistudio-common/pageObjects/tooltip",
                "selector": {
                    "css": "runtime_omnistudio_common-tooltip"
                }
            }
        ]
    },
    "methods": [
        {
            "name": "hasLabel",
            "compose": [
                {
                    "element": "label",
                    "apply": "isPresent"
                }
            ]
        },
        {
            "name": "getLabel",
            "compose": [
                {
                    "element": "label",
                    "apply": "getText"
                }
            ]
        },
        {
            "name": "click",
            "compose": [
                {
                    "element": "input",
                    "apply": "click"
                }
            ]
        },
        {
            "name": "getValue",
            "compose": [
                {
                    "element": "input",
                    "apply": "getValue"
                }
            ]
        },
        {
            "name": "setValue",
            "compose": [
                {
                    "element": "input",
                    "apply": "scrollToTop"
                },
                {
                    "element": "input",
                    "apply": "focus"
                },
                {
                    "element": "input",
                    "apply": "clear"
                },
                {
                    "element": "input",
                    "apply": "setText",
                    "args": [
                        {
                            "name": "text",
                            "type": "string"
                        }
                    ]
                }
            ]
        },
        {
            "name": "blur",
            "compose": [
                {
                    "element": "input",
                    "apply": "focus"
                },
                {
                    "element": "input",
                    "apply": "blur"
                }
            ]
        },
        {
            "name": "focus",
            "compose": [
                {
                    "element": "input",
                    "apply": "focus"
                }
            ]
        },
        {
            "name": "isValid",
            "compose": [
                {
                    "element": "input",
                    "apply": "getAttribute",
                    "args": [
                        {
                            "value": "aria-invalid"
                        }
                    ],
                    "matcher": {
                        "type": "stringContains",
                        "args": [
                            {
                                "value": "false"
                            }
                        ]
                    }
                }
            ]
        },
        {
            "name": "getErrorMessage",
            "compose": [
                {
                    "element": "errorMessageElem",
                    "apply": "getText",
                    "returnType": "string"
                }
            ]
        },
        {
            "name": "isReadonly",
            "compose": [
                {
                    "element": "input",
                    "apply": "getAttribute",
                    "args": [
                        {
                            "value": "readonly"
                        }
                    ],
                    "matcher": {
                        "type": "notNull"
                    }
                }
            ]
        },
        {
            "name": "isDisabled",
            "compose": [
                {
                    "element": "input",
                    "apply": "getAttribute",
                    "args": [
                        {
                            "value": "disabled"
                        }
                    ],
                    "matcher": {
                        "type": "notNull"
                    }
                }
            ]
        },
        {
            "name": "getLabelStyleAttribute",
            "compose": [
                {
                    "element": "label",
                    "apply": "getAttribute",
                    "returnType": "string",
                    "args": [
                        {
                            "value": "style"
                        }
                    ]
                }
            ]
        },
        {
            "name": "getStyleAttribute",
            "compose": [
                {
                    "element": "input",
                    "apply": "getAttribute",
                    "returnType": "string",
                    "args": [
                        {
                            "value": "style"
                        }
                    ]
                }
            ]
        },
        {
            "name": "getPlaceholder",
            "compose": [
                {
                    "element": "input",
                    "apply": "getAttribute",
                    "returnType": "string",
                    "args": [
                        {
                            "value": "placeholder"
                        }
                    ]
                }
            ]
        }
    ],
    "description": {
        "text": [
            " "
        ],
        "author": "Salesforce"
    }
}