How dativa-lv/lx-ui works
LX/UI is a Vue 3 component and vanilla-CSS library for building enterprise applications. Its main usage path is an application installing the LX plugin, then using registered components—often inside LxShell—to build forms and views with interactive controls, data displays, and file or date workflows. The package also provides authentication state/API helpers, shared utilities, icon sets, and accessibility directives. The graph reflects README-documented usage and relationships visible in the supplied source index and excerpts; unsampled implementation details and unshown runtime connections are omitted.
Main entry points: index.js Component registry · lib.js LX plugin · Button.vue Buttons · Shell.vue Application shell
Components 21
App integration
- LX plugin
src/lib.js - Component registry
src/components/index.js
UI components
- Application shell
src/components/shell/Shell.vue - Forms
src/components/forms/Form.vue - Input controls
src/components/AutoComplete.vue - Buttons
src/components/Button.vue - Data views
src/components/DataGrid.vue - Lists
src/components/list/List.vue
App capabilities
- File workflows
src/components/fileUploader/FileUploader.vue - Date selection
src/components/datePicker/DateTimePicker.vue - Chat
src/components/chat/Chat.vue - Authentication state
src/stores/useAuthStore.js - Auth service
src/services/authService.js - Auth API
src/apiAuth.js
Shared runtime
- Shared stores
src/stores/index.js - Utilities
src/utils/index.js - String utilities
src/utils/stringUtils.js - General utilities
src/utils/generalUtils.js - Tooltip directive
src/directives/tooltip.js - Icon sets
src/components/icons
Other components
- Host application
Connections 21
- Host application → LX plugin: installs
- Host application → Application shell: uses
- LX plugin → Component registry: registers
src/lib.js - LX plugin → Tooltip directive: installs
src/lib.js - LX plugin → Shared stores: loads
src/lib.js - LX plugin → Utilities: loads
src/lib.js - LX plugin → Application shell: loads modes
src/lib.js - Component registry → Application shell: exports
src/components/index.js - Component registry → Forms: exports
src/components/index.js - Component registry → Input controls: exports
src/components/index.js - Component registry → Buttons: exports
src/components/index.js - Component registry → Data views: exports
src/components/index.js - Component registry → Lists: exports
src/components/index.js - Component registry → File workflows: exports
src/components/index.js - Component registry → Date selection: exports
src/components/index.js - Component registry → Chat: exports
src/components/index.js - Buttons → Icon sets: renders
src/components/Button.vue - Buttons → String utilities: generates IDs
src/components/Button.vue - Buttons → General utilities: formats text
src/components/Button.vue - Auth service → Auth API: calls
src/services/authService.js - Authentication state → Utilities: checks permissions
src/stores/useAuthStore.js