How tsalb/lwc-utils works
Main Components Structure
a. UI Layer (Frontend)
• LWC Components
• Aura Components
• Message Service Bridge
• Dialog/Modal System
b. Service Layer
• Table Service
• Message Service
• Dialog Service
• Workspace Service
c. Backend Layer
• Apex Classes
• Custom Metadata Types
• Custom Objects
Component Details
a. Core Components:
• baseDatatable and variants
• messageService
• dialogService
• workspaceService
b. Utility Components:
• baseUtils
• tableService
• empApi
• singleton
c. Configuration Objects:
• Datatable_Config__mdt
• Datatable_Column_Config__mdt
• Datatable_Action_Config__mdt
• Datatable_Lookup_Config__mdt
Communication Flow
Message service pattern with:
• LMS (Lightning Message Service) channels
• Event publishing/subscription paths
• Modal/Dialog interaction flows
Implementation Details
Annotations for:
• Component extension points
• Configuration-driven features
• Integration points with Salesforce platform
[UI Layer]
• LWC Components
• Base Components (datatable, lookup, etc.)
• Utility Components
• Aura Components
• Dialog Service
• Flow Wrapper
[Service Layer]
• Message Service
• Table Service
• Workspace Service
[Configuration Layer]
• Custom Metadata Types
• Custom Objects
Key Guidelines:
Integration with Salesforce platform features
• Component hierarchy and relationships
• Message flow patterns
• Configuration points
• Extension mechanisms
• Integration touchpoints