## Description
### Purpose
This PR enhances the List Widget's template handling system to better
support meta widgets, especially when used within UI modules. It ensures
proper widget name handling and template identification across different
contexts.
### Key Changes
1. Added `isTemplate` property to widget static and DSL structure props
to identify template widgets
2. Introduced `getTemplateMetaWidgets` selector to identify and manage
template meta widgets
3. Enhanced the List Widget to properly handle template meta widgets by:
- Preserving original widget names for template meta widgets
- Preventing template meta widgets from being treated as regular meta
widgets
- Improving widget name handling in form submissions
4. Added proper type definitions and documentation for template meta
widget functionality
### Technical Impact
- Better support for List Widget templates in UI modules
- Improved widget name handling for meta widgets
- Better separation between template and regular meta widgets
PR for https://github.com/appsmithorg/appsmith-ee/pull/7567
## Automation
/ok-to-test tags="@tag.All"
### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results -->
> [!TIP]
> 🟢🟢🟢 All cypress tests have passed! 🎉🎉🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/15153885090>
> Commit: d838448c2b1e880f55b5b99476e3a19a2153b21f
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=15153885090&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Wed, 21 May 2025 06:15:33 UTC
<!-- end of auto-generated comment: Cypress test results -->
## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Improved handling of template widgets, allowing original widget names
to be preserved and used where applicable.
- Enhanced filtering and processing of template meta widgets in List and
Form widgets for more accurate data mapping and rendering.
- Added support for identifying and managing template widgets across the
app's widget structure.
- **Bug Fixes**
- Prevented template widgets from being incorrectly rendered or included
in meta widget generation.
- **Refactor**
- Updated internal widget processing to consistently manage and cache
flattened child canvas widgets, improving reliability and
maintainability.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->