MAPP/UI
The primary module for the MAPP/UI API will import other MAPP/UI modules and assign itself to the window.ui{} object.
The ui{} object will be assigned to the global mapp{} object if loaded prior to the execution of the ui module script.
The ui plugins are assigned to the mapp.plugins{} object.
The alert and confirm ui elements are assigned as mapp.utils.alert() and mapp.utils.confirm(), replacing the window.alert() and window.confirm() bindings.
The ui drawLegend method is assigned as mapp.layer.drawLegend(), replacing the mapp method which doesn't render a legend.
The ui.mjs module is used as entry point for the Vite build process to bundle the MAPP/UI API.