-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhance Component Flexibility and Add New Features for Worksite Manag…
…ement (#1314) * feat: enhance personal info filters with dynamic field handling - Replace hardcoded personal info checkboxes with dynamic field rendering - Add support for `select` and `checkbox` field types based on incident form fields - Introduce `propertyInfoFields` computed property to manage dynamic fields * feat: add role description modal in OtherOrganizations table - Add `showRoleDescription` function to display detailed modal for roles. - Update role column template to include help icon triggering the modal. - Extend `useDialogs` to include `confirm` for modal functionality. * feat(map): add functionality to manage and filter location layers - Add `removeLocationLayers` method to clear specific map layers in `useWorksiteMap` - Implement debounce-based search for locations in `Work` page with dynamic filtering - Introduce a `getAndApplyLocation` method to retrieve and apply location data on the map feat(ui): enhance `BaseSelect` for improved styling and dynamic class handling - Add `wrapperClasses` prop for customizable wrapper styling - Adjust computed classes to include external `wrapperClasses` prop feat(search): enhance `WorksiteSearchInput` with `search` icon support feat(work-page): add location search dropdown to filter map by county or postal code - Integrate `BaseSelect` to support location-based filtering with search and selection - Style location dropdown with focused and consistent layout * feat: add spinner for worksite downloads and separate loading state - **Add** `Spinner` component to indicate worksite downloads progress - **Introduce** `downloadingWorksites` ref to separate download-specific loading state - **Replace** `loading` with `downloadingWorksites` in `downloadWorksites` function - **Register** `Spinner` component in `Work.vue`
- Loading branch information
Showing
6 changed files
with
197 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters