{
    "description": {
        "author": "Salesforce",
        "text": [
            "Selector: .forcePageBlockItemEdit.",
            "Represents the force:pageBlockItemEdit Aura component.",
            "Check if the field haa an error, or if the field is required. Get the field error."
        ]
    },
    "elements": [
        {
            "name": "inputItem",
            "type": "utam-aura/pageObjects/inputNumber",
            "selector": {
                "css": ".uiInput--default"
            },
            "public": true
        },
        {
            "name": "itemLabel",
            "type": "utam-aura/pageObjects/label",
            "selector": {
                "css": ".inputLabel"
            },
            "public": true
        },
        {
            "name": "menuItem",
            "type": "utam-aura/pageObjects/menuItem",
            "selector": {
                "css": ".uiMenu"
            },
            "public": true
        },
        {
            "name": "inputPicklist",
            "type": "utam-force/pageObjects/inputPicklist",
            "selector": {
                "css": ".forceInputPicklist"
            },
            "public": true
        },
        {
            "name": "errorMessage",
            "nullable": true,
            "selector": {
                "css": "ul.has-error"
            }
        },
        {
            "name": "fieldRequired",
            "selector": {
                "css": "span.required"
            }
        },
        {
            "name": "editableContent",
            "public": true,
            "selector": {
                "css": ".slds-form-element__control > *"
            },
            "type": "container"
        },
        {
            "name": "einsteinRecommendationIndicatorLabel",
            "description": "Recommendation Label for the field with Einstein Prediction",
            "selector": {
                "css": ".greenDot"
            },
            "public": true,
            "nullable": true
        }
    ],
    "methods": [
        {
            "name": "getFieldError",
            "description": {
                "text": [
                    "Gets the error message of the field"
                ],
                "return": "the error message of the field"
            },
            "compose": [
                {
                    "element": "errorMessage",
                    "apply": "getText"
                }
            ]
        },
        {
            "name": "hasFieldError",
            "description": {
                "text": [
                    "Gets a value indicating whether the field has an error"
                ],
                "return": "true if the field has an error is checked; otherwise, false"
            },
            "compose": [
                {
                    "element": "errorMessage",
                    "apply": "isPresent"
                }
            ]
        },
        {
            "name": "isRequired",
            "description": {
                "text": [
                    "Gets a value indicating whether the field is required"
                ],
                "return": "true if the field is required; otherwise, false"
            },
            "compose": [
                {
                    "element": "fieldRequired",
                    "apply": "isPresent"
                }
            ]
        },
        {
            "name": "isEinsteinRecommendationApplied",
            "description": {
                "text": [
                    "Gets a value indicating whether Einstein Recommendation is available for the field"
                ],
                "return": "true if the field is required; otherwise, false"
            },
            "compose": [
                {
                    "element": "einsteinRecommendationIndicatorLabel",
                    "apply": "isPresent"
                }
            ]
        }
    ]
}