{
    "description": {
        "author": "Salesforce",
        "text": [
            "Component that manages a list view with dynamic state management and renders a card containing a child list component.",
            "Selector: src-agentic-list-view-manager"
        ]
    },
    "shadow": {
        "elements": [
            {
                "name": "cardContainer",
                "selector": {
                    "css": "div.slds-card"
                },
                "description": "Represents the root card container for the preview wrapper component",
                "nullable": true,
                "elements": [
                    {
                        "name": "expandableRenditionToggle",
                        "selector": {
                            "css": "setup-expandable-rendition-toggle"
                        },
                        "type": "utam-setup/pageObjects/expandableRenditionToggle",
                        "description": "The toggle button for drilling into an expandable component",
                        "public": true
                    },
                    {
                        "name": "agenticListViewCardContainer",
                        "selector": {
                            "css": "article.slds-card.slds-card_boundary"
                        },
                        "description": "Represents the root card container for the list view",
                        "nullable": true,
                        "elements": [
                            {
                                "name": "cardHeader",
                                "selector": {
                                    "css": "div.slds-card__header.slds-grid"
                                },
                                "description": "Represents the header section of the card",
                                "elements": [
                                    {
                                        "name": "cardTitle",
                                        "selector": {
                                            "css": "h2.slds-card__header-title.slds-truncate"
                                        },
                                        "description": "Represents the title of the card displaying the list view title"
                                    }
                                ]
                            },
                            {
                                "name": "listContainer",
                                "selector": {
                                    "css": "div.slds-p-bottom_small.slds-p-horizontal_small"
                                },
                                "description": "Represents the container for the child list component",
                                "elements": [
                                    {
                                        "name": "statefulList",
                                        "selector": {
                                            "css": "lst-stateful-common-list"
                                        },
                                        "type": "utam-lists/pageObjects/statefulCommonList",
                                        "description": "Represents the child list component that dynamically manages state and renders the list view",
                                        "public": true
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "name": "expandableRenditionFooter",
                        "selector": {
                            "css": "setup-expandable-rendition-footer"
                        },
                        "type": "utam-setup/pageObjects/expandableRenditionFooter",
                        "description": "The footer for a component which can be drilled into",
                        "public": true
                    }
                ]
            }
        ]
    },
    "methods": [
        {
            "name": "isExpandableRenditionFooterVisible",
            "description": {
                "text": [
                    "Check that the ExpandableRendition Footer is present and visible"
                ],
                "return": "boolean"
            },
            "compose": [
                {
                    "element": "expandableRenditionFooter",
                    "apply": "isVisible"
                }
            ]
        },
        {
            "name": "isExpandableRenditionToggleVisible",
            "description": {
                "text": [
                    "Check that the ExpandableRendition toggle is present and visible"
                ],
                "return": "boolean"
            },
            "compose": [
                {
                    "element": "expandableRenditionToggle",
                    "apply": "isVisible"
                }
            ]
        },
        {
            "name": "isAgenticListViewCardContainerVisible",
            "description": {
                "text": [
                    "Check that the card container is present and visible"
                ],
                "return": "boolean"
            },
            "compose": [
                {
                    "element": "agenticListViewCardContainer",
                    "apply": "isVisible"
                }
            ]
        },
        {
            "name": "isCardHeaderVisible",
            "description": {
                "text": [
                    "Check that the card header is present and visible"
                ],
                "return": "boolean"
            },
            "compose": [
                {
                    "element": "cardHeader",
                    "apply": "isVisible"
                }
            ]
        },
        {
            "name": "getCardTitle",
            "description": {
                "text": [
                    "Get the text content of the card title"
                ],
                "return": "string"
            },
            "compose": [
                {
                    "element": "cardTitle",
                    "apply": "getText"
                }
            ]
        },
        {
            "name": "isListContainerVisible",
            "description": {
                "text": [
                    "Check that the list container is present and visible"
                ],
                "return": "boolean"
            },
            "compose": [
                {
                    "element": "listContainer",
                    "apply": "isVisible"
                }
            ]
        },
        {
            "name": "verifyAgenticListViewCardContainerPresence",
            "description": {
                "text": [
                    "Returns true if element \"agenticListViewCardContainer\" present on the page"
                ],
                "return": "boolean"
            },
            "compose": [
                {
                    "element": "agenticListViewCardContainer",
                    "matcher": {
                        "type": "notNull"
                    }
                }
            ]
        }
    ]
}