{
    "description": {
        "author": "Salesforce",
        "text": [
            "Page Object: lightningTypesDetail",
            "Selector: mcontent_lightning_types-lightning-types-detail",
            "Detail page for viewing and configuring a Lightning Type"
        ]
    },
    "root": true,
    "selector": {
        "css": "mcontent_lightning_types-lightning-types-detail"
    },
    "shadow": {
        "elements": [
            {
                "public": true,
                "name": "loadingSpinner",
                "type": "utam-lightning/pageObjects/spinner",
                "nullable": true,
                "selector": {
                    "css": "lightning-spinner"
                }
            },
            {
                "public": true,
                "name": "headerCard",
                "type": "utam-lightning/pageObjects/card",
                "nullable": true,
                "selector": {
                    "css": "lightning-card:first-of-type"
                }
            },
            {
                "public": true,
                "name": "apiNameText",
                "type": [
                    "actionable"
                ],
                "nullable": true,
                "selector": {
                    "css": "p.apiName"
                }
            },
            {
                "public": true,
                "name": "namespaceText",
                "type": [
                    "actionable"
                ],
                "selector": {
                    "css": "p.namespace"
                }
            },
            {
                "public": true,
                "name": "sourceText",
                "type": [
                    "actionable"
                ],
                "selector": {
                    "css": "p.source"
                }
            },
            {
                "public": true,
                "name": "lastModifiedByText",
                "type": [
                    "actionable"
                ],
                "selector": {
                    "css": "p.LastModifiedBy"
                }
            },
            {
                "public": true,
                "name": "lastModifiedDateText",
                "type": [
                    "actionable"
                ],
                "selector": {
                    "css": "p.lastModifiedDate"
                }
            },
            {
                "public": true,
                "name": "descriptionText",
                "type": [
                    "actionable"
                ],
                "selector": {
                    "css": "p.description"
                }
            },
            {
                "public": true,
                "name": "tabset",
                "type": "utam-lightning/pageObjects/tabset",
                "selector": {
                    "css": "lightning-tabset"
                }
            },
            {
                "public": true,
                "name": "schemaConfiguration",
                "type": "utam-mcontent_lightning_types/pageObjects/schemaConfiguration",
                "nullable": true,
                "selector": {
                    "css": "mcontent_lightning_types-schema-configuration"
                }
            },
            {
                "public": true,
                "name": "uiConfigurationPanel",
                "type": [],
                "nullable": true,
                "selector": {
                    "css": "mcontent_lightning_types-ui-configuration-panel"
                }
            }
        ]
    },
    "methods": [
        {
            "name": "waitForPageLoad",
            "description": "Waits for the detail page to finish loading",
            "compose": [
                {
                    "element": "sourceText",
                    "apply": "waitForVisible"
                }
            ]
        },
        {
            "name": "waitForLoadingComplete",
            "description": "Waits for loading spinner to disappear",
            "compose": [
                {
                    "element": "loadingSpinner",
                    "apply": "waitForInvisible"
                }
            ]
        },
        {
            "name": "waitForContentVisible",
            "description": "Waits for page content to be visible",
            "compose": [
                {
                    "element": "sourceText",
                    "apply": "waitForVisible"
                }
            ]
        },
        {
            "name": "isLoading",
            "description": "Checks if the page is in loading state",
            "compose": [
                {
                    "element": "loadingSpinner",
                    "matcher": {
                        "type": "notNull"
                    }
                }
            ]
        },
        {
            "name": "getApiName",
            "description": "Gets the API name of the Lightning Type",
            "compose": [
                {
                    "element": "apiNameText",
                    "apply": "getText"
                }
            ]
        },
        {
            "name": "getNamespace",
            "description": "Gets the namespace of the Lightning Type",
            "compose": [
                {
                    "element": "namespaceText",
                    "apply": "getText"
                }
            ]
        },
        {
            "name": "getSource",
            "description": "Gets the source of the Lightning Type",
            "compose": [
                {
                    "element": "sourceText",
                    "apply": "getText"
                }
            ]
        },
        {
            "name": "isUiConfigTabVisible",
            "description": {
                "text": [
                    "Checks if UI Configuration tab is visible"
                ],
                "return": "boolean"
            },
            "compose": [
                {
                    "element": "uiConfigurationPanel",
                    "matcher": {
                        "type": "notNull"
                    }
                }
            ]
        }
    ]
}