{"version":3,"sources":["webpack:///./app/models/access/access-scope.ts","webpack:///./app/models/access/access-scope-list.ts","webpack:///./app/models/address.ts","webpack:///./app/models/alert-setting.ts","webpack:///./app/models/bodybox/bodybox-weight-alert.ts","webpack:///./app/models/bodybox/bodybox-bariatric-configuration.ts","webpack:///./app/models/bodybox/bodybox-weight-configuration.ts","webpack:///./app/models/bodybox/bodybox-storage-configuration.ts","webpack:///./app/models/bodybox/bodybox.ts","webpack:///./app/models/bodybox/bodybox-capacity.ts","webpack:///./app/models/dates/format-tokens.ts","webpack:///./app/models/dates/format-date.ts","webpack:///./app/models/dates/format-datetime.ts","webpack:///./app/models/case/autopsy-collection.ts","webpack:///./app/models/dates/decorators/index.ts","webpack:///./app/models/case/notes-collection.ts","webpack:///./app/models/case/funeral-home.ts","webpack:///./app/models/case/organ-donation-collection.ts","webpack:///./app/models/case/decedent-info.ts","webpack:///./app/models/case/personal-belongings-collection.ts","webpack:///./app/models/case/tags-collection.ts","webpack:///./app/models/case/transport-history.ts","webpack:///./app/models/case/document-collection.ts","webpack:///./app/models/case/case-action.ts","webpack:///./app/models/case/medical-examiner.ts","webpack:///./app/models/case/infectious-disease.ts","webpack:///./app/models/case/origin-location.ts","webpack:///./app/models/case/hold.ts","webpack:///./app/models/case/notice.ts","webpack:///./app/models/case/next-of-kin-collection.ts","webpack:///./app/models/case/death-certificate.ts","webpack:///./app/models/case/services/case-service.ts","webpack:///./app/models/case/services/case-services.ts","webpack:///./app/models/case/services/case-service-type.ts","webpack:///./app/models/case/services/autopsy.ts","webpack:///./app/models/case/services/donation-procurement.ts","webpack:///./app/models/case/services/medicolegal-investigation.ts","webpack:///./app/models/case/case.ts","webpack:///./app/models/case/case-transport-permission-report.ts","webpack:///./app/models/case/custody-status.ts","webpack:///./app/models/case/events/event-category.ts","webpack:///./app/models/case/requirement-status.ts","webpack:///./app/models/case/events/event-type.ts","webpack:///./app/models/case/events/event-hierarchy.ts","webpack:///./app/models/dictionaries/dictionary-item.ts","webpack:///./app/models/dictionaries/case-type.ts","webpack:///./app/models/dictionaries/case-service-requirement.ts","webpack:///./app/models/dictionaries/case-service-status.ts","webpack:///./app/models/dictionaries/fluid-location.ts","webpack:///./app/models/dictionaries/next-of-kin-type.ts","webpack:///./app/models/dictionaries/organization.ts","webpack:///./app/models/dictionaries/origin-location.ts","webpack:///./app/models/dictionaries/signing-physician-status.ts","webpack:///./app/models/tag.ts","webpack:///./app/models/dictionaries/tags.ts","webpack:///./app/models/case/summaries/tags.ts","webpack:///./app/models/case/summaries/case-summary.ts","webpack:///./app/models/case/summaries/reservation-summary.ts","webpack:///./app/models/case/summaries/bodybox-summary.ts","webpack:///./app/models/case/summaries/outbox-summary.ts","webpack:///./app/models/location.ts","webpack:///./app/models/tenant/report-definition.ts","webpack:///./app/models/tenant/report-format.ts","webpack:///./app/models/paging/page-result.ts","webpack:///./app/models/ssn.ts","webpack:///./app/models/tenant/tenant.ts","webpack:///./app/models/mass-unit.ts","webpack:///./app/models/user.ts","webpack:///./app/models/user-invite.ts","webpack:///./.nuxt/utils.js","webpack:///./store/dictionaries/mutations.ts","webpack:///./app/core/casl/reactive-ability.ts","webpack:///./app/core/casl/inject-ability.ts","webpack:///./app/core/casl/components/can.ts","webpack:///./app/core/casl/plugin.ts","webpack:///./app/core/casl/index.ts","webpack:///./app/core/api/requests/dictionaries/case-service-requirement.ts","webpack:///./app/core/api/requests/dictionaries/case-service-status.ts","webpack:///./app/core/api/requests/dictionaries/case-type.ts","webpack:///./app/core/api/requests/dictionaries/next-of-kin.ts","webpack:///./app/core/api/requests/dictionaries/organization.ts","webpack:///./app/core/api/requests/dictionaries/origin-location.ts","webpack:///./app/core/api/requests/dictionaries/signing-physician-status.ts","webpack:///./app/core/api/requests/dictionaries/tags.ts","webpack:///./app/models/dates/date-only.ts","webpack:///./store/tenant/index.ts","webpack:///./app/core/module-system/use-module.ts","webpack:///./app/components/ui/form/symbols.ts","webpack:///./app/core/api/requests/dictionaries/base.ts","webpack:///./app/core/module-system/module.ts","webpack:///./app/utils/id.ts","webpack:///./app/modules/case-details/store/state.ts","webpack:///./app/modules/case-details/store/getters.ts","webpack:///./app/modules/case-details/store/mutations.ts","webpack:///./app/core/api/requests/cases/update-case-request.ts","webpack:///./app/core/api/requests/cases/create-checkout-report-request.ts","webpack:///./app/modules/case-details/store/actions.ts","webpack:///./app/modules/case-details/store/index.ts","webpack:///./app/modules/bodybox/store/state.ts","webpack:///./app/modules/bodybox/store/getters.ts","webpack:///./app/modules/bodybox/store/mutations.ts","webpack:///./app/modules/bodybox/store/actions.ts","webpack:///./app/modules/bodybox/store/index.ts","webpack:///./app/composables/use-store-module.ts","webpack:///./app/core/casl/constants.ts","webpack:///./.nuxt/composition-api/globals.mjs","webpack:///./app/core/services/barcoding/printing/errors.ts","webpack:///./store/access/index.ts","webpack:///./store/index.ts","webpack:///./app/models/dates/utils.ts","webpack:///./app/utils/async.ts","webpack:///./app/core/logging/console/logger.ts","webpack:///./app/core/logging/toast/logger.ts","webpack:///./app/core/logging/log-provider.ts","webpack:///./app/core/logging/app-insights/logger.ts","webpack:///./app/models/dates/date-time-info.ts","webpack:///./.nuxt/router.scrollBehavior.js","webpack:///./.nuxt/router.js","webpack:///./.nuxt/components/nuxt-child.js","webpack:///./app/modules/layout/components/templates/default-error-template.vue?93dc","webpack:///./app/modules/layout/components/templates/default-error-template.vue?8ef9","webpack:///./app/modules/layout/components/templates/default-error-template.vue","webpack:///./app/modules/layout/components/templates/default-error-template.vue?a370","webpack:///./app/modules/layout/components/templates/403-error-template.vue?3a31","webpack:///./app/modules/layout/components/templates/403-error-template.vue?48af","webpack:///./app/modules/layout/components/templates/403-error-template.vue","webpack:///./app/modules/layout/components/templates/403-error-template.vue?8e64","webpack:///./app/modules/layout/components/templates/403-tenant-error-template.vue?9688","webpack:///./app/modules/layout/components/templates/403-tenant-error-template.vue?0224","webpack:///./app/modules/layout/components/templates/403-tenant-error-template.vue","webpack:///./app/modules/layout/components/templates/403-tenant-error-template.vue?ec12","webpack:///./app/modules/layout/components/templates/404-error-template.vue?cf09","webpack:///./app/modules/layout/components/templates/404-error-template.vue?924f","webpack:///./app/modules/layout/components/templates/404-error-template.vue","webpack:///./app/modules/layout/components/templates/404-error-template.vue?2150","webpack:///./layouts/error.vue?5fa3","webpack:///./layouts/error.vue?8c54","webpack:///./layouts/error.vue","webpack:///./layouts/error.vue?30e2","webpack:///./.nuxt/components/nuxt.js","webpack:///./.nuxt/components/nuxt-loading.vue?b138","webpack:///.nuxt/components/nuxt-loading.vue","webpack:///./.nuxt/components/nuxt-loading.vue","webpack:///./app/composables/use-service-worker.ts","webpack:///./app/modules/layout/components/organisms/aside/the-aside-navigation.vue?0019","webpack:///./app/modules/layout/components/organisms/aside/the-aside-navigation.vue?eadc","webpack:///./app/modules/layout/components/organisms/aside/the-aside-navigation.vue","webpack:///./app/modules/layout/components/organisms/aside/the-aside-navigation.vue?f553","webpack:///./app/modules/layout/components/organisms/the-tenant-logo.vue?c315","webpack:///./app/modules/layout/components/organisms/the-tenant-logo.vue?23ba","webpack:///./app/modules/layout/components/organisms/the-tenant-logo.vue","webpack:///./app/modules/layout/components/organisms/the-tenant-logo.vue?b5d2","webpack:///./app/modules/layout/components/organisms/aside/the-aside.vue?780e","webpack:///./app/modules/layout/components/organisms/aside/the-aside.vue?c699","webpack:///./app/modules/layout/components/organisms/aside/the-aside.vue","webpack:///./app/modules/layout/components/organisms/aside/the-aside.vue?5c24","webpack:///./app/modules/layout/components/molecules/the-update-alert.vue?dc72","webpack:///./app/modules/layout/components/molecules/the-update-alert.vue?0e2f","webpack:///./app/modules/layout/components/molecules/the-update-alert.vue","webpack:///./app/modules/layout/components/molecules/the-update-alert.vue?126b","webpack:///./app/modules/layout/components/molecules/the-bread-crumbs.vue?f4a1","webpack:///./app/modules/layout/components/molecules/the-bread-crumbs.vue?a624","webpack:///./app/modules/layout/components/molecules/the-bread-crumbs.vue","webpack:///./app/modules/layout/components/molecules/the-bread-crumbs.vue?c202","webpack:///./app/modules/layout/components/molecules/tab-bar/symbols.ts","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar.vue?4a9c","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar.vue?8170","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar.vue","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar.vue?9ca4","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar-item.vue?19f1","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar-item.vue?f25d","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar-item.vue","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar-item.vue?3d3a","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar-menu-trigger.vue?8cb8","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar-menu-trigger.vue?220b","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar-menu-trigger.vue","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar-menu-trigger.vue?267b","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar-menu.vue?074f","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar-menu.vue?f973","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar-menu.vue","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar-menu.vue?12f7","webpack:///./app/modules/layout/components/molecules/tab-bar/index.ts","webpack:///./app/modules/barcoding/components/organisms/scan-match.vue?4195","webpack:///./app/modules/layout/components/organisms/the-bottom-bar.vue?b396","webpack:///./app/modules/layout/components/organisms/the-bottom-bar.vue?1eb5","webpack:///./app/modules/layout/components/organisms/the-bottom-bar.vue","webpack:///./app/modules/layout/components/organisms/the-bottom-bar.vue?b513","webpack:///./app/modules/barcoding/components/organisms/scan-zone.vue?0f24","webpack:///./app/modules/barcoding/components/organisms/scan-zone.vue?2159","webpack:///./app/modules/barcoding/components/organisms/scan-zone.vue","webpack:///./app/modules/barcoding/components/organisms/scan-zone.vue?6a26","webpack:///./app/modules/barcoding/components/organisms/transport-modal-provider.vue?e5b7","webpack:///./app/modules/barcoding/components/organisms/scan-match.vue?3f10","webpack:///./app/modules/barcoding/components/organisms/scan-match.vue","webpack:///./app/modules/barcoding/components/organisms/scan-match.vue?d14c","webpack:///./app/modules/barcoding/components/organisms/scan-counter.vue?5006","webpack:///./app/modules/barcoding/components/organisms/scan-counter.vue?b062","webpack:///./app/modules/barcoding/components/organisms/scan-counter.vue","webpack:///./app/modules/barcoding/components/organisms/scan-counter.vue?615d","webpack:///./app/modules/barcoding/components/organisms/transport-modal-provider.vue?ea7c","webpack:///./app/modules/barcoding/components/organisms/transport-modal-provider.vue","webpack:///./app/modules/barcoding/components/organisms/transport-modal-provider.vue?c0d1","webpack:///./app/utils/tick-timer.ts","webpack:///./app/core/services/barcoding/scanning/errors.ts","webpack:///./app/core/services/barcoding/scanning/scan-service.ts","webpack:///./app/core/services/barcoding/scanning/ignored-elements.ts","webpack:///./app/modules/barcoding/composables/use-scanner.ts","webpack:///./app/modules/barcoding/components/organisms/scan-toast.vue?5a8e","webpack:///./app/modules/barcoding/components/organisms/scan-toast.vue?4e92","webpack:///./app/modules/barcoding/components/organisms/scan-toast.vue","webpack:///./app/modules/barcoding/components/organisms/scan-toast.vue?cbf3","webpack:///./app/modules/layout/components/organisms/the-support-button.vue?2780","webpack:///app/modules/layout/components/organisms/the-support-button.vue","webpack:///./app/modules/layout/components/organisms/the-support-button.vue","webpack:///./app/modules/layout/components/organisms/the-support-button.vue?22c8","webpack:///./layouts/default.vue?bdb4","webpack:///./layouts/default.vue?c073","webpack:///./layouts/default.vue","webpack:///./layouts/default.vue?0f93","webpack:///./layouts/empty.vue?87c2","webpack:///./layouts/empty.vue?0d74","webpack:///./layouts/empty.vue","webpack:///./layouts/empty.vue?4ea9","webpack:///./layouts/registration.vue?b3d3","webpack:///./layouts/registration.vue?eaaa","webpack:///./layouts/registration.vue","webpack:///./layouts/registration.vue?b76a","webpack:///./.nuxt/App.js","webpack:///./.nuxt/store.js","webpack:///./.nuxt/composition-api/plugin.mjs","webpack:///./.nuxt/appinsights-vue.js","webpack:///./.nuxt/appinsights.client.js","webpack:///./.nuxt/http.js","webpack:///./.nuxt/pwa/meta.utils.js","webpack:///./.nuxt/pwa/meta.plugin.js","webpack:///./plugins/version.ts","webpack:///./plugins/pwa/update.ts","webpack:///./app/core/api/client.ts","webpack:///./app/core/auth/events/events.ts","webpack:///./plugins/api/tenant.ts","webpack:///./app/core/auth/events/bus.ts","webpack:///./app/core/auth/events/task-queue.ts","webpack:///./app/core/auth/service.ts","webpack:///./plugins/auth.ts","webpack:///./app/core/auth/nuxt/plugin.ts","webpack:///./plugins/api/primary.ts","webpack:///./plugins/logging/index.ts","webpack:///./app/core/logging/sentry/logger.ts","webpack:///./plugins/logging/sentry/index.ts","webpack:///./app/core/services/intercom/intercom-service.ts","webpack:///./plugins/intercom/index.ts","webpack:///./plugins/logging/app-insights.ts","webpack:///./app/core/services/idle-timer/index.ts","webpack:///./app/modules/shared/composables/use-inactivity-countdown.tsx","webpack:///./plugins/idle-timer.ts","webpack:///./plugins/user-registration.ts","webpack:///./app/core/casl/types/app-ability.ts","webpack:///./plugins/abilities.ts","webpack:///./app/modules/reservations/index.ts","webpack:///./app/modules/bodybox/index.ts","webpack:///./app/modules/outbox/index.ts","webpack:///./app/modules/settings/index.ts","webpack:///./app/modules/case-details/index.ts","webpack:///./plugins/module-system/bootstrap.ts","webpack:///./app/core/services/language/defaults.ts","webpack:///./app/core/services/language/language-service.ts","webpack:///./plugins/language/index.ts","webpack:///./plugins/components/antd-ui/components.ts","webpack:///./plugins/components/global.ts","webpack:///./app/core/services/barcoding/printing/constants/api-url.ts","webpack:///./app/core/services/barcoding/printing/constants/commands.ts","webpack:///./app/core/services/barcoding/printing/zebra-print-service.ts","webpack:///./plugins/zebra/index.ts","webpack:///./.nuxt/composition-api/meta.mjs","webpack:///./.nuxt/index.js","webpack:///./app/composables/use-tenant-config.ts","webpack:///./app/core/api/use-api.ts","webpack:///./store/access/mutations.ts","webpack:///./app/composables/use-intercom.ts","webpack:///./app/core/module-system/index.ts","webpack:///./app/components/ui/modal/index.ts","webpack:///./app/composables/use-expiration-formatter.ts","webpack:///./app/models/case/summaries/insights.ts","webpack:///./app/modules/shared/components/organisms/case-check-in-modal/modal-event.ts","webpack:///./app/modules/shared/components/organisms/case-transfer-modal/modal-event.ts","webpack:///./app/modules/shared/components/organisms/case-checkout-modal/modal-event.ts","webpack:///./store/tenant/mutations.ts","webpack:///./app/core/api/factory/partials/alerts.ts","webpack:///./app/core/api/factory/partials/bodyboxes.ts","webpack:///./app/core/api/factory/partials/cases.ts","webpack:///./app/core/api/factory/partials/dictionaries.ts","webpack:///./app/core/api/factory/partials/outbox.ts","webpack:///./app/core/api/factory/partials/reservations.ts","webpack:///./app/core/api/factory/partials/user.ts","webpack:///./app/core/api/factory/partials/tenant.ts","webpack:///./app/core/api/factory/partials/tenant-discovery.ts","webpack:///./app/core/api/factory/partials/reporting.ts","webpack:///./app/core/api/factory/partials/intercom.ts","webpack:///./app/core/api/factory/index.ts","webpack:///./app/modules/registration/routes.ts","webpack:///./app/composables/use-trip-switch.ts","webpack:///./app/components/ui/menu-button/menu-button.vue?9d77","webpack:///./app/components/ui/menu-button/menu-button.vue?d8af","webpack:///./app/components/ui/menu-button/menu-button.vue?cf61","webpack:///./app/components/ui/menu-button/menu-button.vue","webpack:///./app/utils/dom.ts","webpack:///./app/modules/settings/store/state.ts","webpack:///./app/modules/settings/store/actions.ts","webpack:///./app/modules/settings/store/index.ts","webpack:///./app/modules/layout/index.ts","webpack:///./app/modules/settings/routes.ts","webpack:///./app/modules/bodybox/composables/use-store.ts","webpack:///./app/components/ui/color-picker/color-swatch-picker.vue?9b2f","webpack:///./app/components/ui/color-picker/constants.ts","webpack:///./app/components/ui/color-picker/color-swatch-picker.vue?ddad","webpack:///./app/components/ui/color-picker/color-swatch-picker.vue?a432","webpack:///./app/components/ui/color-picker/color-swatch-picker.vue","webpack:///./app/components/ui/color-picker/useColorPicker.ts","webpack:///./app/components/ui/color-picker/index.ts","webpack:///./app/modules/barcoding/index.ts","webpack:///./app/core/services/access-scope-service.ts","webpack:///./app/core/api/requests/cases/create-case-request.ts","webpack:///./store/dictionaries/actions.ts","webpack:///./store/tenant/actions.ts","webpack:///./store/access/actions.ts","webpack:///./app/modules/reporting/composables/use-reporting.ts","webpack:///./app/core/auth/index.ts","webpack:///./app/core/api/requests/user/register-user-request.ts","webpack:///./app/modules/registration/index.ts","webpack:///./plugins/components/antd-ui/icons.ts","webpack:///./.nuxt/components/nuxt-link.client.js","webpack:///./app/modules/shared/components/organisms/case-check-in-modal/case-check-in-modal-lazy.vue?97bc","webpack:///./app/modules/shared/components/organisms/case-check-in-modal/case-check-in-modal-lazy.vue?2b20","webpack:///./app/modules/shared/components/organisms/case-check-in-modal/case-check-in-modal-lazy.vue?22e1","webpack:///./app/modules/shared/components/organisms/case-check-in-modal/case-check-in-modal-lazy.vue","webpack:///./app/modules/shared/components/organisms/case-checkout-modal/case-checkout-modal-lazy.vue?fbe0","webpack:///./app/modules/shared/components/organisms/case-checkout-modal/case-checkout-modal-lazy.vue?f354","webpack:///./app/modules/shared/components/organisms/case-checkout-modal/case-checkout-modal-lazy.vue?b70a","webpack:///./app/modules/shared/components/organisms/case-checkout-modal/case-checkout-modal-lazy.vue","webpack:///./app/modules/shared/components/organisms/case-transfer-modal/case-transfer-modal-lazy.vue?03c8","webpack:///./app/modules/shared/components/organisms/case-transfer-modal/case-transfer-modal-lazy.vue?ab01","webpack:///./app/modules/shared/components/organisms/case-transfer-modal/case-transfer-modal-lazy.vue?8edd","webpack:///./app/modules/shared/components/organisms/case-transfer-modal/case-transfer-modal-lazy.vue","webpack:///./app/utils/strings.ts","webpack:///./store/dictionaries/state.ts","webpack:///./store/tenant/state.ts","webpack:///./store/access/state.ts","webpack:///./.nuxt/middleware.js","webpack:///./.nuxt/workbox.js","webpack:///./plugins/browser.ts","webpack:///./app/composables/use-swrv.ts","webpack:///./app/modules/case-details/composables/use-store.ts","webpack:///./store/dictionaries/index.ts","webpack:///./app/composables/use-logger.ts","webpack:///./app/utils/sorting.ts","webpack:///./app/modules/bodybox/components/molecules/case-card-details.vue?4f56","webpack:///./app/modules/bodybox/components/molecules/case-card-details.vue?6ef3","webpack:///./app/modules/bodybox/components/molecules/case-card-details.vue?f1fd","webpack:///./app/modules/bodybox/components/molecules/case-card-details.vue","webpack:///./app/core/services/event-bus.ts","webpack:///./app/modules/layout/components/templates/403-tenant-error-template.vue?a864","webpack:///./.nuxt/components/nuxt-loading.vue?c588","webpack:///./app/modules/layout/components/organisms/aside/the-aside-navigation.vue?8eea","webpack:///./app/modules/layout/components/organisms/aside/the-aside.vue?6021","webpack:///./app/modules/layout/components/molecules/the-update-alert.vue?2b36","webpack:///./app/modules/layout/components/molecules/the-bread-crumbs.vue?41b4","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar.vue?d0b8","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar-item.vue?90a5","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar-menu-trigger.vue?2c26","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar-menu.vue?6f78","webpack:///./app/modules/layout/components/organisms/the-bottom-bar.vue?d92f","webpack:///./app/modules/layout/components/organisms/the-welcome-menu.vue?4db1","webpack:///./app/modules/barcoding/components/organisms/scan-zone.vue?148f","webpack:///./app/components/ui/color-picker/color-swatch-picker.vue?4e5e","webpack:///./app/modules/barcoding/components/organisms/scan-toast.vue?e6cc","webpack:///./layouts/default.vue?de99","webpack:///./assets/images/morgueboard-logo.svg","webpack:///./layouts/registration.vue?1e96","webpack:///./app/components/ui/alert/alert-icon.vue?75c1","webpack:///./app/components/ui/alert/alert.vue?1aa0","webpack:///./app/components/ui/bottom-sheet/bottom-sheet.vue?eb9f","webpack:///./app/components/ui/checklist/checklist-item.vue?f316","webpack:///./app/components/ui/date-time-picker/date-time-picker.vue?3247","webpack:///./app/components/ui/date-time-picker/date-time-picker-calendar-menu.vue?5722","webpack:///./app/components/ui/date-time-picker/date-time-picker-calendar.vue?beb5","webpack:///./app/components/ui/delete/delete-confirm.vue?afea","webpack:///./app/components/ui/delete/delete-popconfirm.vue?2348","webpack:///./app/components/ui/divider/divider.vue?bcb5","webpack:///./app/components/ui/editor/editor-content.vue?8d21","webpack:///./app/components/ui/editor/editor-toolbar.vue?d65b","webpack:///./app/components/ui/editor/editor.vue?c102","webpack:///./app/components/ui/editor/editor.vue?3516","webpack:///./app/components/ui/filter/filter-pill.vue?0385","webpack:///./app/components/ui/filter/filter-toggle.vue?1a6a","webpack:///./app/components/ui/folder/folder.vue?c2e4","webpack:///./app/components/ui/form/form.vue?da0f","webpack:///./app/components/ui/form/form-item-label.vue?512b","webpack:///./app/components/ui/form/form-item-error.vue?f5d0","webpack:///./app/components/ui/form/form-item-content.vue?c812","webpack:///./app/components/ui/form/form-item.vue?ca90","webpack:///./app/components/ui/form/form-row.vue?951f","webpack:///./app/components/ui/grid/grid.vue?e6a2","webpack:///./app/components/ui/mass/mass-input.vue?3248","webpack:///./app/components/ui/menu-button/menu-button.vue?c369","webpack:///./app/components/ui/menu-button/menu-button.vue?13a6","webpack:///./app/components/ui/menu-button/menu-button.vue?4c00","webpack:///./app/components/ui/menu/menu.vue?777f","webpack:///./app/components/ui/menu/menu-title.vue?1ca0","webpack:///./app/components/ui/menu/menu-item.vue?df67","webpack:///./app/components/ui/menu/sub-menu.vue?e632","webpack:///./app/components/ui/paginator/pagination-summary.vue?85bb","webpack:///./app/components/ui/progress/progress.vue?8f3f","webpack:///./app/components/ui/table/table.vue?758f","webpack:///./app/components/ui/toolbar/toolbar.vue?2ed0","webpack:///./app/components/ui/toolbar/toolbar-button.vue?605f","webpack:///./app/components/ui/toolbar/toolbar-button-radio.vue?aa62","webpack:///./app/components/ui/toolbar/toolbar-button-radio-group.vue?6492","webpack:///./app/components/ui/toolbar/toolbar-item.vue?530f","webpack:///./app/components/ui/toolbar/toolbar-drawer.vue?2494","webpack:///./app/components/ui/toolbar/toolbar-dropdown.vue?cda8","webpack:///./app/components/ui/toolbar/toolbar-group.vue?1876","webpack:///./app/components/ui/viewport-observer/viewport-observer.vue?a497","webpack:///./app/components/ui/form/rules/common.ts","webpack:///./app/components/ui/form/rules/custom.ts","webpack:///./app/components/ui/form/rules/date.ts","webpack:///./app/components/ui/form/rules/phone.ts","webpack:///./app/components/ui/form/rules/ssn.ts","webpack:///./app/components/ui/form/rules/index.ts","webpack:///./app/modules/layout/components/organisms/the-welcome-menu.vue?2b42","webpack:///./app/modules/layout/components/organisms/the-welcome-menu.vue?7a6b","webpack:///./app/modules/layout/components/organisms/the-welcome-menu.vue?c04c","webpack:///./app/modules/layout/components/organisms/the-welcome-menu.vue","webpack:///./app/modules/shared/components/molecules/capacity-badge.vue?5d9a","webpack:///./app/modules/shared/components/molecules/capacity-badge.vue?9cdf","webpack:///./app/modules/shared/components/molecules/capacity-badge.vue?55ef","webpack:///./app/modules/shared/components/molecules/capacity-badge.vue","webpack:///./.nuxt/mixins/fetch.client.js","webpack:///./app/components/ui/form/form.vue?36f3","webpack:///./app/components/ui/form/form.vue?71db","webpack:///./app/components/ui/form/form.vue?30f7","webpack:///./app/components/ui/form/form.vue","webpack:///./app/components/ui/form/form-item-label.vue?b82f","webpack:///./app/components/ui/form/form-item-label.vue?5709","webpack:///./app/components/ui/form/form-item-label.vue","webpack:///./app/components/ui/form/form-item-label.vue?4ad6","webpack:///./app/components/ui/form/form-item-error.vue?a066","webpack:///./app/components/ui/form/form-item-error.vue?69ea","webpack:///./app/components/ui/form/form-item-error.vue","webpack:///./app/components/ui/form/form-item-error.vue?e279","webpack:///./app/components/ui/form/form-item-content.vue?8521","webpack:///./app/components/ui/form/form-item-content.vue?ad2c","webpack:///./app/components/ui/form/form-item-content.vue","webpack:///./app/components/ui/form/form-item-content.vue?a686","webpack:///./app/components/ui/form/form-item.vue?3ea4","webpack:///./app/components/ui/form/form-item.vue?8d82","webpack:///./app/components/ui/form/form-item.vue","webpack:///./app/components/ui/form/form-item.vue?ac87","webpack:///./app/components/ui/form/form-row.vue?5db9","webpack:///./app/components/ui/form/form-row.vue?1a5b","webpack:///./app/components/ui/form/form-row.vue","webpack:///./app/components/ui/form/form-row.vue?fab2","webpack:///./app/components/ui/form/use-partial-form.ts","webpack:///./app/components/ui/form/index.ts","webpack:///./app/components/ui/skeleton/skeleton-card.vue?4598","webpack:///./app/components/ui/skeleton/skeleton-card.vue?2dc6","webpack:///./app/components/ui/skeleton/skeleton-card.vue?5fb6","webpack:///./app/components/ui/skeleton/skeleton-card.vue","webpack:///./app/components/ui/skeleton/skeleton-list.vue?ddde","webpack:///./app/components/ui/skeleton/skeleton-list.vue?9ceb","webpack:///./app/components/ui/skeleton/skeleton-list.vue","webpack:///./app/components/ui/skeleton/skeleton-list.vue?ca87","webpack:///./app/components/ui/skeleton/skeleton-misc.vue?6ce8","webpack:///./app/components/ui/skeleton/skeleton-misc.vue?00f1","webpack:///./app/components/ui/skeleton/skeleton-misc.vue","webpack:///./app/components/ui/skeleton/skeleton-misc.vue?62a5","webpack:///./app/components/ui/skeleton/index.ts","webpack:///./app/components/ui/date-time-picker/date-time-picker.vue?7ef0","webpack:///./app/components/ui/date-time-picker/utils.ts","webpack:///./app/components/ui/date-time-picker/date-time-picker.vue?d009","webpack:///./app/components/ui/date-time-picker/date-time-picker.vue?8d9f","webpack:///./app/components/ui/date-time-picker/date-time-picker.vue","webpack:///./app/components/ui/date-time-picker/date-time-picker-calendar-menu.vue?c909","webpack:///./app/components/ui/date-time-picker/date-time-picker-calendar-menu.vue?1c86","webpack:///./app/components/ui/date-time-picker/date-time-picker-calendar-menu.vue","webpack:///./app/components/ui/date-time-picker/date-time-picker-calendar-menu.vue?c1ce","webpack:///./app/components/ui/date-time-picker/date-time-picker-calendar.vue?e1e6","webpack:///./app/components/ui/date-time-picker/date-time-picker-calendar.vue?b9ef","webpack:///./app/components/ui/date-time-picker/date-time-picker-calendar.vue","webpack:///./app/components/ui/date-time-picker/date-time-picker-calendar.vue?7dd0","webpack:///./app/components/ui/date-time-picker/index.ts","webpack:///./app/components/ui/mass/mass-input.vue?c277","webpack:///./app/components/ui/mass/mass-input.vue?96f1","webpack:///./app/components/ui/mass/mass-input.vue?47fe","webpack:///./app/components/ui/mass/mass-input.vue","webpack:///./app/components/ui/mass/index.ts","webpack:///./app/components/ui/radio/radio-group.vue?a8f8","webpack:///./app/components/ui/radio/radio-group.vue?ecf3","webpack:///./app/components/ui/radio/radio-group.vue?12c2","webpack:///./app/components/ui/radio/radio-group.vue","webpack:///./app/components/ui/radio/index.ts","webpack:///./.nuxt/composition-api/register.js","webpack:///./.nuxt/client.js","webpack:///./middleware/access.ts","webpack:///./middleware/support.ts","webpack:///./middleware/tenant.ts","webpack:///./app/modules/layout/components/templates/403-tenant-error-template.vue?6d9d","webpack:///./app/modules/layout/components/templates/403-tenant-error-template.vue?ecad","webpack:///./.nuxt/components/nuxt-loading.vue?6a4f","webpack:///./.nuxt/components/nuxt-loading.vue?5aac","webpack:///./assets/scss/tailwind/tailwind.scss?0fb6","webpack:///./assets/scss/tailwind/tailwind.scss","webpack:///./assets/less/antd-ui.less?ddba","webpack:///./assets/less/antd-ui.less","webpack:///./assets/scss/main.scss?33ff","webpack:///./assets/scss/main.scss","webpack:///./assets/scss/fonts.scss?cee6","webpack:///./assets/scss/fonts.scss","webpack:///./assets/fonts/TTNormsPro-BoldItalic.woff2","webpack:///./assets/fonts/TTNormsPro-BoldItalic.woff","webpack:///./assets/fonts/TTNormsPro-BlackItalic.woff2","webpack:///./assets/fonts/TTNormsPro-BlackItalic.woff","webpack:///./assets/fonts/TTNormsPro-Black.woff2","webpack:///./assets/fonts/TTNormsPro-Black.woff","webpack:///./assets/fonts/TTNormsPro-ExtraBoldItalic.woff2","webpack:///./assets/fonts/TTNormsPro-ExtraBoldItalic.woff","webpack:///./assets/fonts/TTNormsPro-Bold.woff2","webpack:///./assets/fonts/TTNormsPro-Bold.woff","webpack:///./assets/fonts/TTNormsPro-ExtraBlack.woff2","webpack:///./assets/fonts/TTNormsPro-ExtraBlack.woff","webpack:///./assets/fonts/TTNormsPro-ExtraBlackItalic.woff2","webpack:///./assets/fonts/TTNormsPro-ExtraBlackItalic.woff","webpack:///./assets/fonts/TTNormsPro-LightItalic.woff2","webpack:///./assets/fonts/TTNormsPro-LightItalic.woff","webpack:///./assets/fonts/TTNormsPro-ExtraBold.woff2","webpack:///./assets/fonts/TTNormsPro-ExtraBold.woff","webpack:///./assets/fonts/TTNormsPro-Italic.woff2","webpack:///./assets/fonts/TTNormsPro-Italic.woff","webpack:///./assets/fonts/TTNormsPro-Light.woff2","webpack:///./assets/fonts/TTNormsPro-Light.woff","webpack:///./assets/fonts/TTNormsPro-ExtraLight.woff2","webpack:///./assets/fonts/TTNormsPro-ExtraLight.woff","webpack:///./assets/fonts/TTNormsPro-ExtraLightItalic.woff2","webpack:///./assets/fonts/TTNormsPro-ExtraLightItalic.woff","webpack:///./assets/fonts/TTNormsPro-MediumItalic.woff2","webpack:///./assets/fonts/TTNormsPro-MediumItalic.woff","webpack:///./assets/fonts/TTNormsPro-ThinItalic.woff2","webpack:///./assets/fonts/TTNormsPro-ThinItalic.woff","webpack:///./assets/fonts/TTNormsPro-Thin.woff2","webpack:///./assets/fonts/TTNormsPro-Thin.woff","webpack:///./assets/fonts/TTNormsPro-Regular.woff2","webpack:///./assets/fonts/TTNormsPro-Regular.woff","webpack:///./assets/fonts/TTNormsPro-Medium.woff2","webpack:///./assets/fonts/TTNormsPro-Medium.woff","webpack:///./assets/scss/antd-theme.scss?704a","webpack:///./assets/scss/antd-theme.scss","webpack:///./app/modules/layout/components/organisms/aside/the-aside-navigation.vue?7317","webpack:///./app/modules/layout/components/organisms/aside/the-aside-navigation.vue?3e89","webpack:///./app/modules/layout/components/organisms/aside/the-aside.vue?f71e","webpack:///./app/modules/layout/components/organisms/aside/the-aside.vue?74d3","webpack:///./app/modules/layout/components/molecules/the-update-alert.vue?b57a","webpack:///./app/modules/layout/components/molecules/the-update-alert.vue?2ace","webpack:///./app/modules/layout/components/molecules/the-bread-crumbs.vue?39bf","webpack:///./app/modules/layout/components/molecules/the-bread-crumbs.vue?3076","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar.vue?68b3","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar.vue?105d","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar-item.vue?8807","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar-item.vue?1c10","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar-menu-trigger.vue?c36d","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar-menu-trigger.vue?2159","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar-menu.vue?b09b","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar-menu.vue?2550","webpack:///./app/modules/layout/components/organisms/the-bottom-bar.vue?93ba","webpack:///./app/modules/layout/components/organisms/the-bottom-bar.vue?5237","webpack:///./app/modules/layout/components/organisms/the-welcome-menu.vue?aee5","webpack:///./app/modules/layout/components/organisms/the-welcome-menu.vue?1bf6","webpack:///./app/modules/barcoding/components/organisms/scan-zone.vue?5fa0","webpack:///./app/modules/barcoding/components/organisms/scan-zone.vue?8e68","webpack:///./app/components/ui/color-picker/color-swatch-picker.vue?9917","webpack:///./app/components/ui/color-picker/color-swatch-picker.vue?d609","webpack:///./app/modules/barcoding/components/organisms/scan-toast.vue?0c75","webpack:///./app/modules/barcoding/components/organisms/scan-toast.vue?aad8","webpack:///./layouts/default.vue?1f00","webpack:///./layouts/default.vue?31b6","webpack:///./layouts/registration.vue?9020","webpack:///./layouts/registration.vue?348d","webpack:///./node_modules/moment/locale sync \\b\\B","webpack:///./app/components/ui sync index\\.ts","webpack:///./app/components/ui/alert/alert-icon.vue?8492","webpack:///./app/components/ui/alert/alert-icon.vue?47de","webpack:///./app/components/ui/alert/alert.vue?16da","webpack:///./app/components/ui/alert/alert.vue?15f1","webpack:///./app/components/ui/bottom-sheet/bottom-sheet.vue?cbed","webpack:///./app/components/ui/bottom-sheet/bottom-sheet.vue?6343","webpack:///./app/components/ui/checklist/checklist-item.vue?e122","webpack:///./app/components/ui/checklist/checklist-item.vue?877c","webpack:///./app/components/ui/date-time-picker/date-time-picker.vue?685f","webpack:///./app/components/ui/date-time-picker/date-time-picker.vue?d69e","webpack:///./app/components/ui/date-time-picker/date-time-picker-calendar-menu.vue?d374","webpack:///./app/components/ui/date-time-picker/date-time-picker-calendar-menu.vue?4428","webpack:///./app/components/ui/date-time-picker/date-time-picker-calendar.vue?0ad7","webpack:///./app/components/ui/date-time-picker/date-time-picker-calendar.vue?7a47","webpack:///./app/components/ui/delete/delete-confirm.vue?92e4","webpack:///./app/components/ui/delete/delete-confirm.vue?491f","webpack:///./app/components/ui/delete/delete-popconfirm.vue?4cfa","webpack:///./app/components/ui/delete/delete-popconfirm.vue?5cc8","webpack:///./app/components/ui/divider/divider.vue?b9c5","webpack:///./app/components/ui/divider/divider.vue?35fd","webpack:///./app/components/ui/editor/editor-content.vue?943f","webpack:///./app/components/ui/editor/editor-content.vue?f2a8","webpack:///./app/components/ui/editor/editor-toolbar.vue?635c","webpack:///./app/components/ui/editor/editor-toolbar.vue?93ba","webpack:///./app/components/ui/editor/editor.vue?aeb8","webpack:///./app/components/ui/editor/editor.vue?c15e","webpack:///./app/components/ui/editor/editor.vue?751d","webpack:///./app/components/ui/editor/editor.vue?8c4c","webpack:///./app/components/ui/filter/filter-pill.vue?23d4","webpack:///./app/components/ui/filter/filter-pill.vue?5021","webpack:///./app/components/ui/filter/filter-toggle.vue?d879","webpack:///./app/components/ui/filter/filter-toggle.vue?3f64","webpack:///./app/components/ui/folder/folder.vue?7d35","webpack:///./app/components/ui/folder/folder.vue?e217","webpack:///./app/components/ui/form/form.vue?36bc","webpack:///./app/components/ui/form/form.vue?2d34","webpack:///./app/components/ui/form/form-item-label.vue?b4bb","webpack:///./app/components/ui/form/form-item-label.vue?6a2d","webpack:///./app/components/ui/form/form-item-error.vue?4ff9","webpack:///./app/components/ui/form/form-item-error.vue?a31e","webpack:///./app/components/ui/form/form-item-content.vue?06c4","webpack:///./app/components/ui/form/form-item-content.vue?fe72","webpack:///./app/components/ui/form/form-item.vue?a7ea","webpack:///./app/components/ui/form/form-item.vue?e85a","webpack:///./app/components/ui/form/form-row.vue?0e4e","webpack:///./app/components/ui/form/form-row.vue?7e32","webpack:///./app/components/ui/grid/grid.vue?10e3","webpack:///./app/components/ui/grid/grid.vue?04f1","webpack:///./app/components/ui/mass/mass-input.vue?55d1","webpack:///./app/components/ui/mass/mass-input.vue?06ee","webpack:///./app/components/ui/menu-button/menu-button.vue?376e","webpack:///./app/components/ui/menu-button/menu-button.vue?9481","webpack:///./app/components/ui/menu-button/menu-button.vue?c310","webpack:///./app/components/ui/menu-button/menu-button.vue?3de8","webpack:///./app/components/ui/menu-button/menu-button.vue?0b0f","webpack:///./app/components/ui/menu-button/menu-button.vue?0263","webpack:///./app/components/ui/menu/menu.vue?cc73","webpack:///./app/components/ui/menu/menu.vue?fdef","webpack:///./app/components/ui/menu/menu-title.vue?c119","webpack:///./app/components/ui/menu/menu-title.vue?ba73","webpack:///./app/components/ui/menu/menu-item.vue?7067","webpack:///./app/components/ui/menu/menu-item.vue?e4fa","webpack:///./app/components/ui/menu/sub-menu.vue?9efd","webpack:///./app/components/ui/menu/sub-menu.vue?c4f8","webpack:///./app/components/ui/paginator/pagination-summary.vue?44f2","webpack:///./app/components/ui/paginator/pagination-summary.vue?5db8","webpack:///./app/components/ui/progress/progress.vue?08e0","webpack:///./app/components/ui/progress/progress.vue?2b45","webpack:///./app/components/ui/table/table.vue?c1ac","webpack:///./app/components/ui/table/table.vue?dad5","webpack:///./app/components/ui/toolbar/toolbar.vue?945b","webpack:///./app/components/ui/toolbar/toolbar.vue?a2ae","webpack:///./app/components/ui/toolbar/toolbar-button.vue?a80f","webpack:///./app/components/ui/toolbar/toolbar-button.vue?e298","webpack:///./app/components/ui/toolbar/toolbar-button-radio.vue?373a","webpack:///./app/components/ui/toolbar/toolbar-button-radio.vue?44f4","webpack:///./app/components/ui/toolbar/toolbar-button-radio-group.vue?66b5","webpack:///./app/components/ui/toolbar/toolbar-button-radio-group.vue?5f89","webpack:///./app/components/ui/toolbar/toolbar-item.vue?c1ed","webpack:///./app/components/ui/toolbar/toolbar-item.vue?2bcd","webpack:///./app/components/ui/toolbar/toolbar-drawer.vue?16e5","webpack:///./app/components/ui/toolbar/toolbar-drawer.vue?9adb","webpack:///./app/components/ui/toolbar/toolbar-dropdown.vue?3b3d","webpack:///./app/components/ui/toolbar/toolbar-dropdown.vue?660c","webpack:///./app/components/ui/toolbar/toolbar-group.vue?a74e","webpack:///./app/components/ui/toolbar/toolbar-group.vue?a563","webpack:///./app/components/ui/viewport-observer/viewport-observer.vue?15d7","webpack:///./app/components/ui/viewport-observer/viewport-observer.vue?1e26","webpack:///./app/components/ui/toolbar/toolbar.vue?bd37","webpack:///./app/components/ui/toolbar/toolbar.vue?0f03","webpack:///./app/components/ui/toolbar/toolbar.vue?013e","webpack:///./app/components/ui/toolbar/toolbar.vue","webpack:///./app/components/ui/toolbar/toolbar-button.vue?ef06","webpack:///./app/components/ui/toolbar/toolbar-button.vue?61b5","webpack:///./app/components/ui/toolbar/toolbar-button.vue","webpack:///./app/components/ui/toolbar/toolbar-button.vue?c676","webpack:///./app/components/ui/toolbar/symbols.ts","webpack:///./app/components/ui/toolbar/toolbar-button-radio.vue?5b0b","webpack:///./app/components/ui/toolbar/toolbar-button-radio.vue?81e7","webpack:///./app/components/ui/toolbar/toolbar-button-radio.vue","webpack:///./app/components/ui/toolbar/toolbar-button-radio.vue?d47c","webpack:///./app/components/ui/toolbar/toolbar-button-radio-group.vue?ad89","webpack:///./app/components/ui/toolbar/toolbar-button-radio-group.vue?918a","webpack:///./app/components/ui/toolbar/toolbar-button-radio-group.vue","webpack:///./app/components/ui/toolbar/toolbar-button-radio-group.vue?b187","webpack:///./app/components/ui/toolbar/toolbar-item.vue?4984","webpack:///./app/components/ui/toolbar/toolbar-item.vue?0d82","webpack:///./app/components/ui/toolbar/toolbar-item.vue","webpack:///./app/components/ui/toolbar/toolbar-item.vue?a2e3","webpack:///./app/components/ui/toolbar/drawer-animation.ts","webpack:///./app/components/ui/toolbar/toolbar-drawer.vue?8727","webpack:///./app/components/ui/toolbar/toolbar-drawer.vue?5412","webpack:///./app/components/ui/toolbar/toolbar-drawer.vue","webpack:///./app/components/ui/toolbar/toolbar-drawer.vue?5884","webpack:///./app/components/ui/toolbar/toolbar-dropdown.vue?14c4","webpack:///./app/components/ui/toolbar/toolbar-dropdown.vue?79d8","webpack:///./app/components/ui/toolbar/toolbar-dropdown.vue","webpack:///./app/components/ui/toolbar/toolbar-dropdown.vue?7cef","webpack:///./app/components/ui/toolbar/toolbar-group.vue?a5b4","webpack:///./app/components/ui/toolbar/toolbar-group.vue?bcb3","webpack:///./app/components/ui/toolbar/toolbar-group.vue","webpack:///./app/components/ui/toolbar/toolbar-group.vue?b22e","webpack:///./app/components/ui/toolbar/toolbar-spacer.vue?2cc6","webpack:///./app/components/ui/toolbar/toolbar-spacer.vue?9bad","webpack:///./app/components/ui/toolbar/toolbar-spacer.vue","webpack:///./app/components/ui/toolbar/toolbar-spacer.vue?caab","webpack:///./app/components/ui/toolbar/index.ts","webpack:///./app/components/ui/transitions/transition-fade.vue?376e","webpack:///./app/components/ui/transitions/transition-fade.vue?9df1","webpack:///./app/components/ui/transitions/transition-fade.vue?ba72","webpack:///./app/components/ui/transitions/transition-fade.vue","webpack:///./app/components/ui/transitions/transition-pop.vue?7d16","webpack:///./app/components/ui/transitions/transition-pop.vue?0855","webpack:///./app/components/ui/transitions/transition-pop.vue","webpack:///./app/components/ui/transitions/transition-pop.vue?ca60","webpack:///./app/components/ui/transitions/transition-roll-up.vue?3d41","webpack:///./app/components/ui/transitions/transition-roll-up.vue?ce6c","webpack:///./app/components/ui/transitions/transition-roll-up.vue","webpack:///./app/components/ui/transitions/transition-roll-up.vue?8946","webpack:///./app/components/ui/transitions/transition-roll-down.vue?dab7","webpack:///./app/components/ui/transitions/transition-roll-down.vue?bf14","webpack:///./app/components/ui/transitions/transition-roll-down.vue","webpack:///./app/components/ui/transitions/transition-roll-down.vue?8b25","webpack:///./app/components/ui/transitions/transition-roll-in-down-out-up.vue?f0cb","webpack:///./app/components/ui/transitions/transition-roll-in-down-out-up.vue?9743","webpack:///./app/components/ui/transitions/transition-roll-in-down-out-up.vue","webpack:///./app/components/ui/transitions/transition-roll-in-down-out-up.vue?116b","webpack:///./app/components/ui/transitions/transition-roll-in-up-out-down.vue?a3a4","webpack:///./app/components/ui/transitions/transition-roll-in-up-out-down.vue?373c","webpack:///./app/components/ui/transitions/transition-roll-in-up-out-down.vue","webpack:///./app/components/ui/transitions/transition-roll-in-up-out-down.vue?d798","webpack:///./app/components/ui/transitions/index.ts","webpack:///./app/components/ui/menu/menu.vue?fae1","webpack:///./app/components/ui/menu/menu.vue?fb77","webpack:///./app/components/ui/menu/menu.vue?6133","webpack:///./app/components/ui/menu/menu.vue","webpack:///./app/components/ui/menu/menu-title.vue?2a90","webpack:///./app/components/ui/menu/menu-title.vue?e2ae","webpack:///./app/components/ui/menu/menu-title.vue","webpack:///./app/components/ui/menu/menu-title.vue?ddd0","webpack:///./app/components/ui/menu/menu-item.vue?cf7f","webpack:///./app/components/ui/menu/menu-item.vue?8127","webpack:///./app/components/ui/menu/menu-item.vue","webpack:///./app/components/ui/menu/menu-item.vue?fd0c","webpack:///./app/components/ui/menu/sub-menu.vue?5de6","webpack:///./app/components/ui/menu/sub-menu.vue?6cf7","webpack:///./app/composables/use-collapsible.ts","webpack:///./app/components/ui/menu/sub-menu.vue","webpack:///./app/components/ui/menu/sub-menu.vue?1c59","webpack:///./app/components/ui/menu/index.ts","webpack:///./app/components/ui/editor/editor.vue?89df","webpack:///./app/components/ui/editor/editor-content.vue?ab68","webpack:///./app/components/ui/editor/editor-content.vue?01ab","webpack:///./app/components/ui/editor/editor-content.vue","webpack:///./app/components/ui/editor/editor-content.vue?0191","webpack:///./app/components/ui/editor/editor-toolbar.vue?2f4a","webpack:///./app/components/ui/editor/editor-toolbar.vue?0cfe","webpack:///./app/components/ui/editor/editor-toolbar.vue","webpack:///./app/components/ui/editor/editor-toolbar.vue?a592","webpack:///./app/components/ui/editor/editor.vue?52c9","webpack:///./app/components/ui/editor/editor.vue?c428","webpack:///./app/components/ui/editor/editor.vue","webpack:///./app/components/ui/editor/index.ts","webpack:///./app/components/ui/filter/filter-pill.vue?39a1","webpack:///./app/components/ui/filter/filter-dropdown.vue?9298","webpack:///./app/components/ui/filter/filter-pill.vue?5b4b","webpack:///./app/components/ui/filter/filter-pill.vue?94af","webpack:///./app/components/ui/filter/filter-pill.vue","webpack:///./app/components/ui/filter/filter-toggle.vue?8081","webpack:///./app/components/ui/filter/filter-toggle.vue?fe89","webpack:///./app/components/ui/filter/filter-toggle.vue","webpack:///./app/components/ui/filter/filter-toggle.vue?c0b7","webpack:///./app/components/ui/filter/filter-dropdown.vue?700a","webpack:///./app/components/ui/filter/filter-dropdown.vue","webpack:///./app/components/ui/filter/filter-dropdown.vue?2fb6","webpack:///./app/components/ui/filter/index.ts","webpack:///./app/components/ui/grid/grid.vue?168e","webpack:///./app/components/ui/grid/use-grid.ts","webpack:///./app/components/ui/grid/symbols.ts","webpack:///./app/components/ui/grid/grid.vue?b93c","webpack:///./app/components/ui/grid/grid.vue?0f0c","webpack:///./app/components/ui/grid/grid.vue","webpack:///./app/components/ui/grid/grid-column.vue?0bf4","webpack:///./app/components/ui/grid/grid-column.vue?e466","webpack:///./app/components/ui/grid/grid-column.vue","webpack:///./app/components/ui/grid/grid-column.vue?2685","webpack:///./app/components/ui/grid/index.ts","webpack:///./app/components/ui/alert/alert.vue?6bc7","webpack:///./app/components/ui/alert/styles.ts","webpack:///./app/components/ui/alert/alert-icon.vue?3ef2","webpack:///./app/components/ui/alert/alert-icon.vue?eaca","webpack:///./app/components/ui/alert/alert-icon.vue","webpack:///./app/components/ui/alert/alert-icon.vue?26db","webpack:///./app/components/ui/alert/alert.vue?9321","webpack:///./app/components/ui/alert/alert.vue?5856","webpack:///./app/components/ui/alert/alert.vue","webpack:///./app/components/ui/alert/index.ts","webpack:///./app/components/ui/paginator/paginator.vue?95ab","webpack:///./app/components/ui/paginator/config.ts","webpack:///./app/components/ui/paginator/paginator.vue?5b74","webpack:///./app/components/ui/paginator/paginator.vue?c4ec","webpack:///./app/components/ui/paginator/paginator.vue","webpack:///./app/components/ui/paginator/pagination-summary.vue?86e3","webpack:///./app/components/ui/paginator/pagination-summary.vue?56b6","webpack:///./app/components/ui/paginator/pagination-summary.vue","webpack:///./app/components/ui/paginator/pagination-summary.vue?1978","webpack:///./app/components/ui/paginator/index.ts","webpack:///./app/components/ui/checklist/checklist.vue?2807","webpack:///./app/components/ui/checklist/checklist-item.vue?4239","webpack:///./app/components/ui/checklist/checklist-item.vue?225c","webpack:///./app/components/ui/checklist/checklist-item.vue","webpack:///./app/components/ui/checklist/checklist-item.vue?1390","webpack:///./app/components/ui/checklist/checklist.vue?e610","webpack:///./app/components/ui/checklist/checklist.vue?73ed","webpack:///./app/components/ui/checklist/checklist.vue","webpack:///./app/components/ui/checklist/index.ts","webpack:///./app/components/ui/delete/delete-confirm.vue?d1d1","webpack:///./app/components/ui/delete/delete-confirm.vue?5f8f","webpack:///./app/components/ui/delete/delete-confirm.vue?2629","webpack:///./app/components/ui/delete/delete-confirm.vue","webpack:///./app/components/ui/delete/delete-popconfirm.vue?fec3","webpack:///./app/components/ui/delete/delete-popconfirm.vue?24e5","webpack:///./app/components/ui/delete/delete-popconfirm.vue","webpack:///./app/components/ui/delete/delete-popconfirm.vue?84e4","webpack:///./app/components/ui/delete/index.ts","webpack:///./app/components/ui/folder/folder.vue?93cf","webpack:///./app/components/ui/folder/folder.vue?93ad","webpack:///./app/components/ui/folder/folder.vue?853c","webpack:///./app/components/ui/folder/folder.vue","webpack:///./app/components/ui/folder/folder-tab.vue?9b0b","webpack:///./app/components/ui/folder/folder-tab.vue?9f19","webpack:///./app/components/ui/folder/folder-tab.vue","webpack:///./app/components/ui/folder/folder-tab.vue?a009","webpack:///./app/components/ui/folder/index.ts","webpack:///./app/components/ui/logo/logo-text.vue?ab10","webpack:///./app/components/ui/logo/logo-text.vue?cd82","webpack:///./app/components/ui/logo/logo-text.vue?999a","webpack:///./app/components/ui/logo/logo-text.vue","webpack:///./app/components/ui/logo/logo-image.vue?88da","webpack:///./app/components/ui/logo/logo-image.vue?fee3","webpack:///./app/components/ui/logo/logo-image.vue","webpack:///./app/components/ui/logo/logo-image.vue?45b4","webpack:///./app/components/ui/logo/index.ts","webpack:///./app/components/ui/progress/progress.vue?95a7","webpack:///./app/components/ui/progress/config.ts","webpack:///./app/components/ui/progress/progress.vue?53b3","webpack:///./app/components/ui/progress/progress.vue?2403","webpack:///./app/components/ui/progress/progress.vue","webpack:///./app/components/ui/progress/index.ts","webpack:///./app/components/ui/table/table.vue?cb35","webpack:///./app/components/ui/table/config.ts","webpack:///./app/components/ui/table/table.vue?fd86","webpack:///./app/components/ui/table/table.vue?80d1","webpack:///./app/components/ui/table/table.vue","webpack:///./app/components/ui/table/index.ts","webpack:///./app/components/ui/overflow/overflow.vue?0012","webpack:///./app/components/ui/overflow/overflow.vue?fe14","webpack:///./app/components/ui/overflow/overflow.vue","webpack:///./app/components/ui/overflow/overflow-menu.vue?a451","webpack:///./app/components/ui/overflow/overflow-menu.vue?8c6c","webpack:///./app/components/ui/overflow/overflow-menu.vue","webpack:///./app/components/ui/overflow/index.ts","webpack:///./app/components/ui/bottom-sheet/bottom-sheet.vue?2fa6","webpack:///./app/components/ui/bottom-sheet/bottom-sheet.vue?cf10","webpack:///./app/components/ui/bottom-sheet/bottom-sheet.vue?d8f8","webpack:///./app/components/ui/bottom-sheet/bottom-sheet.vue","webpack:///./app/components/ui/bottom-sheet/index.ts","webpack:///./app/components/ui/button/button.vue?a202","webpack:///./app/components/ui/button/button.vue?fc1b","webpack:///./app/components/ui/button/button.vue?8f47","webpack:///./app/components/ui/button/button.vue","webpack:///./app/components/ui/button/index.ts","webpack:///./app/components/ui/card/card.vue?986c","webpack:///./app/components/ui/card/card.vue?2365","webpack:///./app/components/ui/card/card.vue?28a8","webpack:///./app/components/ui/card/card.vue","webpack:///./app/components/ui/card/index.ts","webpack:///./app/components/ui/divider/divider.vue?70e0","webpack:///./app/components/ui/divider/divider.vue?598d","webpack:///./app/components/ui/divider/divider.vue?597b","webpack:///./app/components/ui/divider/divider.vue","webpack:///./app/components/ui/divider/index.ts","webpack:///./app/components/ui/icon/icon.vue?c7f7","webpack:///./app/components/ui/icon/icon.vue?e8f2","webpack:///./app/components/ui/icon/icon.vue?200d","webpack:///./app/components/ui/icon/icon.vue","webpack:///./app/components/ui/icon/index.ts","webpack:///./app/components/ui/menu-button/menu-button-item.vue?b15c","webpack:///./app/components/ui/menu-button/menu-button-item.vue?a2a3","webpack:///./app/components/ui/menu-button/menu-button-item.vue","webpack:///./app/components/ui/menu-button/menu-button-item.vue?6d51","webpack:///./app/components/ui/menu-button/index.ts","webpack:///./app/components/ui/tag/tag.vue?2f42","webpack:///./app/components/ui/tag/tag.vue?9088","webpack:///./app/components/ui/tag/tag.vue?21f9","webpack:///./app/components/ui/tag/tag.vue","webpack:///./app/components/ui/tag/index.ts","webpack:///./app/components/ui/viewport-observer/viewport-observer.vue?01f9","webpack:///./app/components/ui/viewport-observer/viewport-observer.vue?abf0","webpack:///./app/components/ui/viewport-observer/viewport-observer.vue?0e33","webpack:///./app/components/ui/viewport-observer/viewport-observer.vue","webpack:///./app/components/ui/viewport-observer/index.ts","webpack:///./app/components/ui/data/data.vue?0cf7","webpack:///./app/components/ui/data/data.vue?91d1","webpack:///./app/components/ui/data/data.vue","webpack:///./app/components/ui/data/index.ts","webpack:///./app/utils/route.ts","webpack:///./app/core/auth/nuxt/middleware.ts","webpack:///./middleware/auth.ts","webpack:///./middleware/module-activator.ts","webpack:///./app/core/module-system/middleware/activator.ts"],"names":["action","subject","namespaces","undefined","conditions","fields","inverted","reason","this","Array","isArray","map","AccessScope","case","bodybox","dictionary","user","report","args","streetAddressLine1","streetAddressLine2","city","state","zipCode","id","name","description","title","minThreshold","minThresholdInclusive","maxThreshold","maxThresholdInclusive","weight","isAboveMinThreshold","isBelowMaxThreshold","isEqualToThreshold","threshold","instructions","bariatricConfiguration","alerts","columnPosition","rowPosition","storageLabel","locations","capacity","storageConfiguration","weightConfiguration","order","expirationStatusWarningThresholdInDays","expirationStatusCriticalThresholdInDays","DateOnlyFormatToken","DateTimeFormatToken","date","month","day","hours","minutes","seconds","ms","FormatDate","parseDateLoose","format","formatToken","toString","_key","str","parseDateTime","parseDateOnly","parse","Date","isValid","FormatDateTime","AutopsyType","IsFormatDate","value","IsFormatDateTime","serialize","dateTime","type","House","dateScheduled","dateCompleted","Vendor","vendorId","requirementStatus","inHouse","vendor","autopsy","author","content","dateTimeAuthored","tagIds","records","funeralHomeId","dateNotified","authorizedBy","organizationNotifiedBy","details","organBankId","alias","firstName","middleName","lastName","dateOfBirth","dateOfDeath","genderId","medicalRecordNumber","alternateMedicalRecordNumber","socialSecurityNumber","raceId","ethnicityId","maritalStatusId","countyId","trim","systemTagIds","userTags","computedTags","createdBy","transportedBy","receivedBy","releasedBy","releasedTo","receivingOrganization","receivingOrganizationType","originBodybox","destinationBodybox","dateTimeCompleted","dateTimeNotified","organBank","funeralHome","medicalExaminer","conductingOrganization","checkInEvents","checkOutEvents","internalTransferEvents","autopsyHistoryEvents","organDonationHistoryEvents","organDonationCompletedHistoryEvents","funeralHomeHistoryEvents","medicalExaminerHistoryEvents","caseServiceNotifiedHistoryEvents","caseServiceCompletedHistoryEvents","sort","a","b","ordered","getSortDate","filter","event","checkInEvent","historyEvents","isHistoryEvent","startOfDayDate","startOfDay","hasNoTimePart","isEventWithNoTimePart","isSameDay","checkInEventIndex","indexOf","eventIndex","splice","dateTimeUploaded","srcUrl","sizeInBytes","medicalExaminerId","OriginLocationType","diseaseTypeIds","locationId","serviceLineId","unit","room","bed","contactName","contactPhoneNumber","isActive","message","relationship","typeId","contactEmailAddress","statusId","nationalProviderIdentifier","phoneNumber","emailAddress","causeOfDeathId","causeOfDeathOther","signingPhysician","executed","recipient","CaseServiceRequirementType","assignee","conductingOrganizationId","conductingOrganizationCaseId","conductingOrganizationNotification","location","dateTimeScheduled","requirementId","instances","CaseServiceType","i","DonationProcurementType","Unknown","requested","completedOn","completedBy","cremationViewing","reasonForEngagementId","fluidLocationId","isOpen","reportedBy","touches","storageLocationId","bodyboxId","notices","decedent","holds","deathCertificate","autopsies","autopsyServices","tags","property","organDonations","donationProcurements","originLocation","medicolegalInvestigations","infectiousDisease","nextOfKin","notes","transportHistory","documents","Error","info","hold","collection","nextOfKinCollection","Internal","External","CustodyStatus","RequirementStatus","EventCategory","UserAccess","Integration","CaseGeneral","CaseNote","CaseHold","DecedentTransport","DecedentNextOfKin","DecedentAutopsy","DecedentMedicolegalInvestigation","DecedentDonationProcurement","DecedentFuneralHome","Document","EventType","IntegrationMessageReceived","CaseViewed","CaseDocumentUploaded","CaseDocumentDownloaded","CaseDocumentRemoved","CaseCreated","CaseUpdated","CaseOpened","CaseClosed","CaseTouched","CaseHoldAdded","CaseHoldRemoved","CaseNoteAdded","CaseNoteModified","CaseNoteRemoved","DecedentCheckedIn","DecedentTransferred","DecedentCheckedOut","NextOfKinIdentified","NextOfKinNotified","AutopsyStatusUpdated","AutopsyCompleted","MedicolegalInvestigationStatusUpdated","MedicolegalInvestigationCompleted","DonationProcurementStatusUpdated","DonationProcurementCompleted","FuneralHomeNotified","EventHierarchy","externalId","activated","critical","serviceType","requirementType","triggersCaseHold","indicatesCompletion","triggersInsight","AssociateOrganizationType","address","contactFaxNumber","TagType","color","colorLevel","label","displayOptions","Case","Hold","v","system","length","systemHolds","computed","decedentName","decedentAlias","ReportTemplateType","ReportFormat","ssn","options","delimiter","_ssn","getRawSSN","formatSSN","asteriskLength","raw","slice","masked","padStart","parts","isNumbers","every","part","includes","isLength","TypeError","maskedValue","replace","substring","MassUnit","configuration","accessScopes","localDateTimeCreated","localDateTimeExpiresAt","globalHandleError","error","Vue","config","errorHandler","interopDefault","promise","then","m","default","hasFetch","vm","$options","fetch","getChildrenComponentInstancesUsingFetch","children","$children","child","$fetch","push","applyAsyncData","Component","asyncData","__hasNuxtData","ComponentData","_originDataFn","data","call","$ssrContext","cid","_Ctor","sanitizeComponent","extendOptions","extend","__file","getMatchedComponents","route","matches","prop","prototype","concat","apply","matched","index","Object","keys","key","getMatchedComponentsInstances","flatMapComponents","fn","components","reduce","promises","resolveRouteComponents","Promise","all","instance","match","window","sessionStorage","timeNow","now","previousReloadTime","parseInt","getItem","setItem","reload","getRouteData","meta","setContext","app","context","isStatic","process","isDev","isHMR","store","payload","base","router","env","req","res","ssrContext","redirect","status","path","query","_redirected","pathType","resolve","fullPath","test","withQuery","next","nuxtState","__NUXT__","from","currentRouteData","fromRouteData","_errored","params","middlewareSeries","appContext","promisify","err","getLocation","mode","hash","decodeURI","pathname","startsWith","search","normalizeURL","compile","tokens","RegExp","pattern","flags","obj","opts","encode","pretty","encodeURIComponentPretty","encodeURIComponent","token","segment","optional","partial","prefix","repeat","JSON","stringify","j","asterisk","encodeAsterisk","tokensToFunction","defaultDelimiter","PATH_REGEXP","exec","escaped","offset","capture","group","modifier","Boolean","escapeGroup","escapeString","substr","getQueryDiff","toQuery","fromQuery","diff","queries","k","String","normalizeError","e","constructor","statusCode","response","onNuxtReadyCbs","onNuxtReady","cb","join","slashAllowed","re","encodeURI","c","charCodeAt","toUpperCase","sensitive","addLifecycleHook","hook","urlJoin","joinURL","isSamePath","withoutTrailingSlash","_isSamePath","setScrollRestoration","newVal","history","scrollRestoration","Mutation","mutations","set","entries","setOrganizations","organizations","autopsyVendor","o","AutopsyVendor","tissueBank","OrganBank","FuneralHome","MedicalExaminer","setAutopsyVendors","vendors","setFuneralHomes","funeralHomes","setGenders","genders","gender","setOrganBanks","organBanks","setMedicalExaminers","medicalExaminers","setPersonalBelongingLocations","personalBelongingLocation","setOriginLocations","setTags","tag","setNextOfKinTypes","types","nextOfKinType","setInfectiousDiseaseTypes","infectiousDiseaseType","setCaseTypes","caseType","reactiveAbility","ability","hasOwnProperty","watcher","on","possibleRulesFor","bind","ABILITY_TOKEN","Symbol","provideAbility","props","I","required","do","Function","an","not","passThrough","field","setup","slots","$props","actionProp","subjectProp","detectSubjectProp","injectAbility","isAllowed","can","canRender","allowed","useGlobalProperties","_context","inject","$ability","mixin","$can","useAbility","isNaN","DateOnly","numberToDate","toDate","momentToDate","setDateParts","year","getDay","partsToDate","NaN","pad","valueOf","toDateString","toISOString","getDate","getMonth","getFullYear","dateString","ISO_PATTERN","dateOnlyStamp","num","numStr","n","s","setHours","moduleName","actions","registeredModules","Map","moduleInstances","activeModules","initModuleSystem","forEach","ModuleCtor","module","activationMethod","activate","getRegisteredModules","modules","values","freeze","getActiveModules","getActiveModulesRef","get","registerModule","useModule","ModuleCtorOrStringName","has","deactivateModule","moduleIndex","isModuleActive","doesModuleInstanceExist","deactivate","SYMBOL_FORM_OBSERVER","SYMBOL_FORM_OBSERVER_RULES","SYMBOL_FORM_VALIDATION_MODE","SYMBOL_FORM_DIRECTION","SYMBOL_FORM_FORM_ITEM_ADD","SYMBOL_FORM_FORM_ITEM_REMOVE","SYMBOL_FORM_PARTIAL_ADD","SYMBOL_FORM_PARTIAL_REMOVE","SYMBOL_FORM_PARTIAL_SELF_MANAGED_ADD","SYMBOL_FORM_PARTIAL_SELF_MANAGED_REMOVE","SYMBOL_FORM_FORCE_TOKEN","AddDictionaryItemRequest","EditDictionaryItemRequest","DeleteDictionaryItemRequest","entryId","AppModule","_isActive","force","doesStoreModuleExist","hasModule","registerStore","enableDebugLogging","console","debug","tearDownOnPageLeave","unregisterModule","genId","includeChars","radix","Math","random","Getter","init","caseDetails","caseId","identityVerified","reset","setCase","setCaseId","verifyIdentity","verified","sanitizeSection","section","hasValue","financialIdentificationNumber","Action","fetchCase","$api","cases","getAsync","createCase","commit","request","createAsync","newCase","createAndCheckIn","createAndCheckInAsync","createAndCheckout","createAndCheckOutAsync","save","signal","throwIfAborted","updateAsync","updatedCase","delete","deleteRequest","deleteAsync","checkIn","checkInRequest","transport","checkInAsync","checkout","checkoutRequest","checkoutAsync","transferInternal","transferRequest","transferInternalAsync","transferExternal","transferExternalAsync","createCheckoutPermissionReport","createCheckOutPermissionReportAsync","getters","setBodyboxes","boxes","bodyboxes","updateBodybox","findIndex","box","removeBodybox","fetchCaseSummaries","getCaseSummariesAsync","summaries","fetchBodyboxes","ignoreCache","fetchCapacities","getCapacitiesAsync","useStoreModule","getter","scopedKey","split","rootStore","typeOrPayloadWithType","payloadOrOptions","payloadWithType","dispatch","toNamespaced","AppAbilitySubject","CaseAbilityAction","BodyboxAbilityAction","DictionaryAbilityAction","UserAbilityAction","ReportAbilityAction","isFullStatic","staticPath","publicPath","globalContext","globalNuxt","PrintError","device","createModule","modulePartial","namespaced","createSubModule","parseISODateTime","parseISODateOnly","parseISODateLoose","parseDate","truncateZeroTime","isZeroTime","getHours","getMinutes","getSeconds","p","time","formatDate","military","timeZone","patterns","numerical","hasTimePart","includeTime","formatPattern","formatted","currentLocale","navigator","language","Intl","DateTimeFormat","resolvedOptions","timeZoneName","formatToParts","find","getTimezone","sleep","setTimeout","DoublingRetryIntervalMultiplier","retry","retriesLeft","interval","intervalMultiplier","log","warn","createToast","_data","open","loggers","Set","logger","add","toast","ui","toastOptions","track","appInsights","logEvent","trackException","exception","trackEvent","DateTimeInfo","toJSON","addEventListener","emptyFn","use","Router","routerOptions","linkActiveClass","linkExactActiveClass","scrollBehavior","to","savedPosition","position","isRouteChanged","Pages","scrollToTop","some","shouldScrollToTop","x","y","nuxt","$nuxt","$nextTick","$emit","$once","CSS","escape","document","querySelector","selector","routes","component","fallback","createRouter","_app","basePath","originalPush","onComplete","onAbort","current","append","functional","nuxtChildKey","keepAlive","keepAliveProps","render","_","parent","h","$createElement","nuxtChild","_parent","transitions","defaultTransition","depth","$vnode","$parent","nuxtChildDepth","transition","transitionProps","transitionsKeys","listeners","listenersKeys","beforeEnter","el","css","leave","done","routerView","Number","antdDResultStatus","$auth","$config","userEmailAddress","email","isAuthenticated","appBaseUrl","baseUrl","logout","logoutAsync","_vm","_h","_c","_self","staticClass","attrs","_v","_s","_e","tenantId","tenant","version","buildNumber","supportEmail","support","FETCH_USER_PATH","DefaultErrorTemplate","ForbiddenErrorTemplate","ForbiddenTenantErrorTemplate","NotFoundErrorTemplate","layout","url","isUsersFetch","URL","toLowerCase","isUnauthorizedTenantUser","isAuth0Error","head","NuxtChild","NuxtError","errorCaptured","displayingNuxtError","errorFromNuxtError","$forceUpdate","routerViewKey","$route","matchedRoute","beforeCreate","util","defineReactive","$root","percent","show","canSucceed","reversed","skipTimerCount","rtl","throttle","duration","continuous","left","beforeDestroy","clear","methods","clearInterval","_timer","clearTimeout","_throttle","start","startTimer","min","max","floor","increase","decrease","pause","resume","finish","hide","fail","_cut","setInterval","class","style","width","offlineReady","registerServiceWorker","$workbox","workbox","isUpdate","onNeedsRefresh","autoReload","onOfflineReady","useServiceWorker","needsRefresh","ignoreUpdate","forceReload","CapacityBadge","$language","menuKeys","usePopoverBodyboxMenu","bodyboxItems","allItem","plural","icon","boxItems","capacities","capacityMap","acc","canViewBodyboxes","read","canViewReporting","enabled","scopedSlots","_u","ref","noBoxes","singular","item","tenantState","logoUrl","theme","tenantName","TheAsideNavigation","TheTenantLogo","tenantLogoUrl","visible","isVisible","$event","rootRoute","emits","back","breadcrumbName","isRoot","root","SYMBOL_TAB_BAR_MENU_IS_CHILD","SYMBOL_TAB_BAR_MENU_LEVEL","SYMBOL_TAB_BAR_MENU_ACTIVE_LEVEL","SYMBOL_TAB_BAR_MENU_SET_LAST_LEVEL","activeLevel","lastLevel","level","_t","orientation","isInMenu","orien","onLinkClick","onButtonClick","_g","_b","nativeOn","$listeners","active","TabBarMenuTrigger","_props","getLevels","setLevels","isLastLevel","newLevel","toggleVisibilty","tabBar","install","vue","MatchAction","TabBar","TabBarItem","TabBarMenu","tenantModule","auth","intercom","SettingsRoute","_l","accountRoot","organizationRoot","variant","pulse","align","iconLeft","iconRight","disabled","input","inputDebounced","scans","icons","right","directives","rawName","expression","domProps","target","composing","TransportProviderEvent","TransportType","CaseCardDetails","summary","validator","canReadCase","canCheckInCase","canCheckOutCase","canTransferCase","View","Transfer","CheckIn","CheckOut","emit","custody","custodyStatus","Expected","Departed","InCustody","storageLocation","goToCase","transferCase","checkInCase","checkOutCase","view","transfer","checkOut","information","$refs","count","complete","isComplete","scan","numToWord","TheCaseCheckInModal","TheCaseCheckoutModal","TheCaseTransferModal","checkInStart","checkInComplete","checkOutStart","checkOutComplete","transferStart","transferComplete","api","currentSessionCase","isOnCaseDetailsPage","setActiveCaseAsync","workflows","completed","startWorkflow","behaviors","workflow","completeWorkflow","resetOnClose","CheckInModalEvent","CheckOutModalEvent","TransferModalEvent","_d","$set","checkoutCase","durationMs","tickMeasureMs","measureMs","tick","remainingTicks","ticks","getTime","metrics","scanCode","scanDuration","avgTimeByCharMs","minLength","ScanErrorMessage","noop","startImmediate","domElement","defaults","onStart","onStop","onScan","onScanError","onKeyProcess","onKeyDetect","onPaste","keyCodeMapper","decodeKeyEvent","onScanButtonLongPress","scanButtonKeyCode","scanButtonLongPressTimeMs","timeBeforeScanTestMs","suffixKeyCodes","prefixKeyCodes","ignoreIfFocusOn","stopPropagation","preventDefault","captureEvents","reactToKeydown","reactToPaste","singleScanQuantity","sequenceState","firstCharTime","lastCharTime","accumulatedString","testTimer","longPressTimer","longPressTimeStart","longPressed","defu","scannerDetectionData","stop","sessionState","reinitialize","validateScanCode","attachListeners","startTime","dispatchEvent","withTag","removeEventListener","handlePaste","handleKeyUp","handleKeyDown","stopTime","hasScanButtonKeyCode","keyCode","getNormalizedKeyNum","scanFinished","character","isFocusOnIgnoredElement","stopImmediatePropagation","clipboardText","clipboardData","getData","ignoreSelectors","activeElement","dispatchScanError","quantity","eventName","CustomEvent","detail","which","code","isAlphanumeric","isNumpadDigit","isNumpadOperator","isSpecialChar","shiftKey","fromCharCode","stringOrArray","eventProps","KeyboardEvent","IgnoredElementSelectors","SCANNER_SYMBOL","isRunning","onScanFns","onErrorFns","useScanner","onError","createScanner","scanner","focused","isListening","simulate","ScanState","ScanMode","GATHERING_WAIT_MS","CaseMatch","TheScanZone","ScanCounter","TransportModalProvider","features","scansRequired","barcoding","scanning","Multiple","Single","Idle","isIdle","isGathering","Gathering","isValidating","Validating","isMatched","Match","isError","showUI","zoneVariant","errorResetTimer","raiseError","scansCaptured","tickTimer","gatheringPercentRemaining","gatheringCountdownTimer","startGatheringCountdown","onTimeout","remainingMs","getTimeRemaining","matchResetTimer","startMatchIdleTimer","stopMatchIdleTimer","checkScan","identification","matchFieldsAsync","unsubscribe","scanMatches","setupIntersectionObserver","activeItem","updateActiveItem","entry","isIntersecting","getAttribute","observerRef","IntersectionObserver","querySelectorAll","setAttribute","observe","disconnect","transportProvider","isTransportModalActive","transportBehaviors","requestRefresh","emptyImageComponent","PRESENTED_IMAGE_SIMPLE","isEnabled","scrollCarousel","direction","container","scrollAmount","clientWidth","scrollBy","behavior","inactive","proxy","unreadCount","TheAside","TheAppUpdateAlert","TheBarcodeScanner","TheBreadCrumbs","TheBottomBar","TheSupportButton","TheWelcomeMenu","isUpdateAlertVisible","refresh","showHeader","breadCrumbs","isMenuCollapsed","aside","asideWidth","isBarcodingEnabled","isScannerListening","locale","toggleMenu","breadCrumbParts","$log","componentName","getLogger","collapsed","$router","layouts","_6f6c098b","_77430317","_789a33af","loadingEl","layoutEl","templateEl","layoutName","transitionEl","isOnline","nbFetching","created","refreshOnlineStatus","mounted","$loading","loading","watch","isOffline","isFetching","isPreview","previewData","onLine","pages","page","componentInstance","newData","$data","errorChanged","errorLayout","setLayout","loadLayout","NuxtLoading","Vuex","VUEX_PROPERTIES","moduleData","filePath","assign","normalizeModule","normalizeRoot","require","resolveStoreModules","createStore","Store","strict","filename","normalizeState","mergeProperty","getStoreModule","isProperty","pop","storeModule","namespace","shift","globalPlugin","formatComponentName","includeFile","_isVue","_componentTag","file","classify","ctx","runtimeConfig","ApplicationInsights","loadAppInsights","oldErrorHandler","properties","errorInfo","propsData","flush","setupVueErrorHandling","beforeEach","startTrackPage","afterEach","stopTrackPage","setupPageTracking","HTTP","ky","KY","_defaults","hooks","_ky","prefixUrl","baseURL","headers","setHeader","_hook","timeout","createHttpInstance","method","hasBody","arg1","arg2","json","body","_options","text","destr","http","browserBaseURL","$http","hasMeta","arr","val","hid","attr","mergeMeta","client","endpoint","buildURLWithQueryParameters","$get","$post","serializeRequestBody","post","$put","put","getDefaults","FormData","trimURLBackSlashes","isLastElement","isNil","createApiClient","apiOptions","getToken","onRequest","refreshOnUnauthorized","onRetry","retryCount","AuthEvent","functionKey","create","setHeaders","emitter","bus","callback","$on","$off","events","isProcessing","hasProcessed","_priority","deferralTask","priority","dispatchEvents","catch","_processQueue","_dumpQueueEvents","reject","processQueue","dumpQueueEvents","createClientAsync","domain","audience","client_id","clientId","redirect_uri","redirectUrl","organization","organizationId","_client","_provider","DEFAULT_REDIRECT_CALLBACK","_appState","replaceState","middleware","afterLogin","eventQueues","eventEmitter","redirectCallback","fnStack","loginWithRedirect","appState","Logout","returnTo","returnToUrl","logoutUrl","tryHandleRedirectAsync","redirectState","redirectError","isLoginRedirect","isRedirect","loginError","tryHandleInvitationAsync","newSession","isPostLogin","setAuthStateAsync","dispatchLoginEvent","Login","loginTaskQueue","addEventTaskQueue","middlewareContext","provider","processEventTaskQueue","getTokenAsync","getUser","FetchUser","claimsNamespace","claim","getTokenSilently","scope","TokenRefresh","fnIndex","queue","queues","highest","isDeferred","deferral","handleRedirectCallback","redirectResult","isRedirectFromInvitation","InvitationAccepted","isInvitation","inviteContext","invitation","href","URLSearchParams","organizationName","getUserAsync","useAuth","createProviderAsync","auth0","$tenantApi","discover","getForContextAsync","origin","primary","addLogger","extra","Sdk","captureUserFeedback","forceLoad","onLoad","showReportDialog","tracing","browserTracingIntegration","replay","maskAllText","blockAllMedia","integrationMap","sentry","integrations","dsn","environment","release","attachStacktrace","beforeSend","_hint","access","reportDialog","eventId","event_id","ignoreErrors","tracesSampleRate","sampleRate","tracePropagationTargets","propagationTargets","replaysSessionSampleRate","replaysOnErrorSampleRate","appId","_initialized","_isOpened","_unreadCount","_appId","userHash","app_id","user_hash","user_id","displayName","company","space","intercomSettings","_selector","HTMLElement","hide_default_launcher","custom_launcher_selector","service","tenantStore","accessStore","dependenciesLoaded","fetchTenant","fetchUser","unsubscribeActions","subscribeAction","after","intercomEnabled","getUserIdAsync","once","shutdown","$appInsights","bulkAddEventListener","object","bulkRemoveEventListener","DEFAULT_OPTIONS","idle","tickMeasure","onIdle","onTick","onActivity","onActive","onHide","onShow","keepTracking","startAtIdle","recurIdleCall","visibilityEvents","isActiveWindow","settings","parseSettings","stopListener","_event","idlenessEventsHandler","resetTimeout","visibilityEventsHandler","hidden","webkitHidden","mozHidden","msHidden","startTimeout","idleInterval","measure","timer","throwOnBadKey","goodKeys","NOTIFICATION_KEY","remainingSeconds","toFixed","notification","warning","close","renderCountdown","closeCountdown","inactivityTimeout","sessions","idleTimeoutMs","durationInMinutes","countDownTickTimer","notificationDisplaySecondsRemaining","tickDiff","addMiddleware","registrationRoute","getUserClaim","setPriority","MAX_SAFE_INTEGER","deferralController","defer","setLoginDeferralController","AppAbility","plugin","ReservationsModule","BodyboxModule","unsubscribeStoreActions","_state","OutboxModule","SettingsModule","CaseDetailsModule","checkInAction","checkOutAction","lang","messagePrefix","registerBodyboxModule","registerCaseDetailsModule","registerSettingsModule","DEFAULT_LANGUAGE","article","reservation","outbox","tissue","medicolegalInvestigation","throwIfNotSet","resolver","grammarRule","replaceGrammarRules","grammar","rule","_ctx","globals","fileName","nodes","BrowserPrintApiUrl","ZebraPrinterHostQuery","ZebraPrinterLabelDefinition","https","isSSLConnection","apiUrl","printer","deviceRaw","cleanUpString","deviceType","connection","uid","manufacturer","writeAsync","readAsync","result","errors","isReadyToPrint","charAt","media","ready","zpl","assertZplIsValidLabelDefinition","successMessage","ok","endsWith","browserPrint","setMetaPlugin","ClientOnly","NoSsr","_warned","Nuxt","defineProperty","configurable","Meta","createApp","installKey","setTransitions","dateErr","App","beforeRenderFns","enablePreview","nuxt_plugin_plugin_5fb947ad","nuxt_plugin_appinsightsclient_03040a80","nuxt_plugin_http_37b971d5","nuxt_plugin_workbox_bdbda912","nuxt_plugin_metaplugin_1bef0b8a","nuxt_plugin_browser_2063421c","nuxt_plugin_version_08775ebc","nuxt_plugin_update_36e3f134","nuxt_plugin_tenant_15755e35","nuxt_plugin_auth_6a7e4e1e","nuxt_plugin_primary_48e96c52","nuxt_plugin_logging_099401ae","nuxt_plugin_sentry_5e328985","nuxt_plugin_intercom_1516e49b","nuxt_plugin_appinsights_b74e19a6","nuxt_plugin_idletimer_a72e27fc","nuxt_plugin_userregistration_59ab3a76","nuxt_plugin_abilities_5aab66dc","nuxt_plugin_bootstrap_41833b99","nuxt_plugin_language_da2c4e64","nuxt_plugin_zebra_32b78d60","nuxt_plugin_meta_968dac02","_isRouter","unregister","useTenantConfig","useTenantConfigCaseSection","DEFAULT_API_NAME","registeredApis","registerAPI","useAPI","setUser","setAccessScopeMasterList","masterList","accessScopeMasterList","useIntercom","$intercom","useSuccessModal","success","useInfoModal","useErrorModal","useWarningModal","useConfirmModal","confirm","useLoadingMessage","useSuccessMessage","useInfoMessage","useErrorMessage","useWarningMessage","useMessage","differenceInDays","dateLeft","dateRight","ExpirationStatus","good","danger","defaultDurationColor","useExpirationFormatter","expirationDate","statusConfig","expirationDateRef","daysDiffFromNow","formattedDuration","formattedDate","CaseInsightType","CaseSummaryInsightTask","CaseSummaryInsights","tasks","ModalEvent","setTenant","updateSubscriptionAsync","putAsync","_config","decedentExpirationDate","addAsync","postAsync","getSummaryAsync","getOpenAsync","openAsync","closeAsync","touchAsync","addNoteAsync","note","getAgeAsync","getEventsAsync","generateBarcodeAsync","templateId","encodedVariable","_request","uploadAsync","fileIds","documentId","ToCamelCase","ctors","associateOrganization","caseServiceRequirement","caseServiceStatus","causeOfDeath","ethnicity","fluidLocation","physicianType","race","reasonForEngagement","serviceLine","signingPhysicianStatus","slug","items","typeKey","getByIdAsync","editAsync","getGendersAsync","getGenderAsync","getSystemTagsAsync","getSystemTagAsync","getComputedTagsAsync","getPersonalBelongingLocationsAsync","getPersonalBelongingLocationAsync","getOriginLocationsAsync","getOriginLocationAsync","getAssociateOrganizationsAsync","getOrganBanksAsync","getOrganBankAsync","getMedicalExaminersAsync","getMedicalExaminerAsync","getFuneralHomesAsync","getFuneralHomeAsync","getAutopsyVendorsAsync","getAutopsyVendorAsync","getNextOfKinTypesAsync","getInfectiousDiseaseTypesAsync","getInfectiousDiseaseTypeAsync","getNextOfKinTypeAsync","getCaseTypesAsync","getCaseTypeAsync","addAutopsyVendorAsync","editAutopsyVendorAsync","deleteAutopsyVendorAsync","addFuneralHomeAsync","editFuneralHomeAsync","deleteFuneralHomeAsync","addGenderAsync","editGenderAsync","deleteGenderAsync","addOrganBankAsync","editOrganBankAsync","deleteOrganBankAsync","addMedicalExaminerAsync","editMedicalExaminerAsync","deleteMedicalExaminerAsync","addPersonalBelongingLocationAsync","editPersonalBelongingLocationAsync","deletePersonalBelongingLocationAsync","addOriginLocationAsync","editOriginLocationAsync","deleteOriginLocationAsync","addTagAsync","editTagAsync","deleteTagAsync","addNextOfKinTypeAsync","editNextOfKinTypeAsync","deleteNextOfKinTypeAsync","addInfectiousDiseaseTypeAsync","editInfectiousDiseaseTypeAsync","deleteInfectiousDiseaseTypeAsync","addCaseTypeAsync","editCaseTypeAsync","deleteCaseTypeAsync","getSummariesAsync","registration","registerAsync","invitations","acceptAsync","invitationId","getAllAsync","invites","resendAsync","invite","revokeAsync","resetPasswordAsync","userId","getAccessScopeMasterListAsync","scopes","getCurrentAsync","users","HTTPError","createReportingApi","requestAsync","createCustomAsync","parameters","getCareSiteLocationsAsync","death","downloadAsync","$postAsync","morgueCensus","timeToRelease","missedNotifications","createIntercomApi","dictionaries","reservations","reporting","RegistrationRoute","useTripSwitch","source","unwatch","newValue","tripped","themes","$extend","placements","breakpoints","dropdownTriggers","Dropdown","OnClickOutside","placement","bp","triggers","trigger","arrowOffset","height","mobile","focusEl","triggerId","linkedEls","shown","triggerIdResolved","menuId","dropdownRef","triggerEl","getTriggerEl","$el","getElementById","points","bps","currentBreakpoints","greater","syncWithBreakpoint","defaultValue","_breakpoints","reverse","placementComputed","widthComputed","heightComputed","isMobileScreen","isMobile","focusTrigger","focus","onMobileShow","classList","onMobileHide","remove","onTabDown","menuEl","contains","onEscapeDown","onArrowDown","focusableEls","focusedIndex","nextIndex","nextEl","onShown","isHTMLElement","firstItem","onHidden","onClickOutside","popper","isShown","isTrigger","isLinkedElement","$attrs","_k","focusableElSelector","getFocusables","element","keyboardOnly","focusableEl","getComputedStyle","display","addBodybox","newBox","deleteBodybox","updatedBox","BreadCrumbBuilder","crumbs","breadCrumb","LayoutModule","breadCrumbBuilder","registerLayoutModule","useStore","COLOR_RED","100","200","300","400","500","600","700","800","900","COLOR_PINK","COLOR_ORANGE","COLOR_YELLOW","COLOR_GREEN","COLOR_BLUE","COLOR_PURPLE","COLOR_BLACK","colors","levels","aLevel","bLevel","DEFAULT_SWATCHES","DEfAULT_COLOR","ColorPicker","palette","defaultColor","optionEls","tabIndex","select","hex","staticStyle","Palette","red","pink","orange","yellow","green","blue","purple","black","useColorPickerColor","paletteColor","nearestLevel","prev","cur","previous","abs","useColorPickerToken","hexColor","paletteColors","colorName","shades","shadeEntries","hasColor","colorPicker","BarcodingEvent","BarcodingModule","_events","RequestingRefresh","registerBarcodingModule","AccessScopeService","actionWithNamespaces","availableSubjects","subjectScopes","CreateCaseRequest","personalProperty","autopsyRequirementStatus","inHouseAutopsies","vendorAutopsies","organDonationRequirementStatus","documentIds","fetchOne","newEntry","edit","editedEntry","entryIndex","_entries","fetchAssociateOrganizations","orgs","fetchAutopsyVendors","fetchAutopsyVendor","addAutopsyVendor","newVendor","editAutopsyVendor","editedVendor","vendorIndex","_vendors","removeAutopsyVendor","fetchFuneralHomes","fetchFuneralHome","addFuneralHome","newFuneralHome","editFuneralHome","editedFuneralHome","funeralHomeIndex","fh","_funeralHomes","removeFuneralHome","fetchOrganBanks","fetchOrganBank","addOrganBank","editOrganBank","updatedOrganBank","organBankIndex","ob","_organBanks","removeOrganBank","fetchMedicalExaminers","fetchMedicalExaminer","addMedicalExaminer","newMedicalExaminer","editMedicalExaminer","updatedMedicalExaminer","medicalExaminerIndex","me","_medicalExaminers","removeMedicalExaminer","fetchGenders","fetchGender","addGender","newGender","editGender","editedGender","genderIndex","g","_genders","removeGender","fetchPersonalBelongingLocations","fetchPersonalBelongingLocation","addPersonalBelongingLocation","editPersonalBelongingLocation","editedLocation","locationIndex","l","_locations","removePersonalBelongingLocation","fetchOriginLocations","fetchOriginLocation","addOriginLocation","entity","editOriginLocation","removeOriginLocation","fetchSystemTags","t","fetchSystemTag","addSystemTag","newTag","editSystemTag","editedTag","tagIndex","_tags","removeSystemTag","fetchComputedTags","fetchNextOfKinTypes","fetchNextOfKinType","addNextOfKinType","newType","editNextOfKinType","editedType","typeIndex","_types","removeNextOfKinType","_type","fetchInfectiousDiseaseTypes","fetchInfectiousDiseaseType","addInfectiousDiseaseType","editInfectiousDiseaseType","removeInfectiousDiseaseType","fetchCaseTypes","fetchCaseType","addCaseType","editCaseType","removeCaseType","fetchAccessScopesMasterList","accessScopeService","parseList","update","useReporting","templateDefinitions","availableReports","reportAction","readReport","useAuthProvider","UserRegistrationModule","controller","authLoginFlowDeferralController","registerUserRegistrationModule","requestIdleCallback","didTimeout","timeRemaining","cancelIdleCallback","observer","intersectionRatio","link","__prefetch","extends","prefetch","noPrefetch","handleId","__observed","unobserve","shouldPrefetch","prefetchLink","getPrefetchComponents","canPrefetch","conn","effectiveType","saveData","resolved","r","__prefetched","componentOrPromise","updateVisible","loadModal","capitalizeFirstCharacter","capitalizeWords","county","maritalStatus","Workbox","register","documentMode","RequestState","shouldRetryOnError","watchErrors","errorRetryCount","errorDisplayStrategy","pushToastOnError","useSWRV","userConfig","IDLE","VALIDATING","STALE_IF_ERROR","ERROR","SUCCESS","PENDING","useRequestState","unWatchState","retryIteration","unWatchRetryIteration","unWatchErrors","retryLimitReached","displayToast","useToast","reduceErrorMessage","useLogger","orderBy","nils","valueResolver","sorted","_arr","nilCompare","expiration","expirationTagType","tagsList","itemSelector","bindResize","caseConfiguration","labels","form","mrn","expirationDuration","getTagColor","isBodyboxSummary","decedentDateOfBirth","decedentMedicalRecordNumber","EventBus","busGetter","__esModule","locals","exports","validate","valid","computesRequired","notEmpty","validators","_value_","failedValidator","outputMessage","isDate","isFutureDate","inclusive","d","isAfter","isPastDate","isBefore","_field","isMoment","isMobilePhone","isMobilePhoneLocales","userName","canViewOrganization","menu","size","taken","totalCases","available","percentAvailable","badgeType","beforeMount","_hydrated","elm","dataset","fetchKey","_fetchKey","_error","$fetchState","_fetchPromise","$_fetch","pending","delayLeft","_fetchDelay","timestamp","fetchDelay","ValidationObserver","as","model","rules","validationMode","debounce","change","formItems","debounceChangeMs","onFieldChangeDebounced","debounceInputMs","onFieldInputDebounced","onFieldFocus","onFieldBlur","initialModelState","cloneDeep","isDirty","dirty","isChanged","changed","validateAsync","resetValidationStateAsync","pristine","deep","validateWithErrorsAsync","validateWithInfo","resetAsync","_model","findFormItem","formItem","handleSubmit","func","forceEmitChange","forceSubmit","isRequiredCrossField","for","hasErrors","WbFormItemError","errorClass","hasError","_obj","ValidationProvider","WbFormItemLabel","WbFormItemContent","ruleProp","hideLabel","providerProps","addSelfToForm","removeSelfFromForm","setFlags","emitInput","veeOnBlur","$veeOnBlur","FocusEvent","HTMLInputElement","veeOnInput","$veeOnInput","formDirection","directionComputed","observerRules","veeValidateMode","stringRulesToObject","_rules","combineRules","rulesToAdd","rulesObject","rulesToAddObject","computedRules","inheritedRules","required_if_empty","required_if_any_empty","required_if_all_empty","isRequired","silent","validateSilent","nullInjectFunc","injectName","usePartialFormProvider","forms","selfManagedForms","partials","resultPromises","results","resetValidationState","usePartialForm","linkPartialForm","unlinkPartialForm","noopAsync","usePartialSelfManagedForm","initialModel","watchModelForChanges","watchDeep","setDirty","setChanged","isResetting","eventBus","listener","linkPartialSelfManagedForm","unlinkPartialSelfManagedForm","Builder","FormItemLabel","FormItemContent","FormItemError","ContentLoader","equals","isInvalidDate","is24Hour","readonly","clearable","hasProducedValue","touched","hour","minute","ampm","getDatePart","monthInput","dayInput","yearInput","hourInput","minuteInput","ampmInput","timeZoneInput","clearBtn","inputs","handleInput","valueRef","maxLength","setterFn","currentInput","nextInput","computeDate","setTimeZone","focusNextInput","focusInput","setMonth","monthNum","setDay","dayNum","maxDays","setYear","yearNum","setHour","hourNum","maxHour","setMinute","minuteNum","setAmPm","focusNext","old","dateTouched","timeTouched","allTouched","hasFullDate","hasFullTime","isEmpty","resetDateOnly","resetTime","toOutputType","hr","emitDate","ignoreTouches","initialized","setDateTimeParts","touchDateParts","touch","touchTimeParts","hasPrefix","hasSuffix","suffix","getValueText","number","handleFocus","handleClick","handleMonthInput","handleDayInput","handleYearInput","handleHourInput","handleMinuteInput","handleBlur","relatedTarget","$$selectedVal","selected","_value","multiple","passthroughProps","keyboardNavigation","manageFocus","themeComputed","disabledDateProps","minDate","maxDate","disabledDates","CalenderMenu","DateTimePicker","VCalendar","dropdown","calendar","picker","calendarRef","isInComponent","isInCalendar","isInPicker","inClickOutside","waitForClickOutsideAsync","hideMenu","move","lastPickerInput","focusPickerTime","calendarDate","tryMergeDateAndTime","dateOnly","setMinutes","setSeconds","setDate","timeInputs","onPickerInput","onPickerFocus","onPickerBlur","clickTarget","sourceTarget","blurTarget","onCalendarInput","setDateTimeNow","setDateTimeToday","today","getTooltipContainer","highlight","contentClass","dates","attributes","masks","updateLayout","hidePopover","$scopedSlots","convert","mass","massUnits","possibilities","toUnitString","convertUnit","fixedDecimal","inputId","conversion","inverse","antdSize","onChange","parseFloat","trimTrailingZeros","stripNonNumeric","massInput","radioStyle","emitChange","radio","Button","$$v","option","CompositionApi","__nuxt__fetch__mixin__","fetchMixin","NuxtLink","global","_lastPaths","NUXT","__webpack_public_path__","cdnURL","assetsPath","mapTransitions","toComponents","componentTransitions","componentOption","fromComponents","maxDepth","mergedTransitions","toTransitions","loadAsyncComponents","_routeChanged","_paramChanged","_queryChanged","_diffQuery","manual","Components","watchQuery","applySSRData","ssrData","serverRendered","resolveComponents","_Component","callMiddleware","midd","unknownMiddleware","fromMatches","nextCalled","_next","_dateLastError","_hadError","_path","_dataRefresh","childPathChanged","watchParam","_isMounted","hasAsyncData","loadingIncrease","asyncDataResult","fetchResult","normalizeComponents","___","setLayoutForNextPage","checkForErrors","fixPrepatch","triggerScroll","nextTick","_isDestroyed","nuxtReady","_onNuxtLoaded","__app","mount","$mount","currentRoute","routePath","clientFirstMount","unregisterHook","masterScopeList","updateLanguage","statusText","___CSS_LOADER_EXPORT___","___CSS_LOADER_API_IMPORT___","___CSS_LOADER_GET_URL_IMPORT___","___CSS_LOADER_URL_IMPORT_0___","___CSS_LOADER_URL_IMPORT_1___","___CSS_LOADER_URL_IMPORT_2___","___CSS_LOADER_URL_IMPORT_3___","___CSS_LOADER_URL_IMPORT_4___","___CSS_LOADER_URL_IMPORT_5___","___CSS_LOADER_URL_IMPORT_6___","___CSS_LOADER_URL_IMPORT_7___","___CSS_LOADER_URL_IMPORT_8___","___CSS_LOADER_URL_IMPORT_9___","___CSS_LOADER_URL_IMPORT_10___","___CSS_LOADER_URL_IMPORT_11___","___CSS_LOADER_URL_IMPORT_12___","___CSS_LOADER_URL_IMPORT_13___","___CSS_LOADER_URL_IMPORT_14___","___CSS_LOADER_URL_IMPORT_15___","___CSS_LOADER_URL_IMPORT_16___","___CSS_LOADER_URL_IMPORT_17___","___CSS_LOADER_URL_IMPORT_18___","___CSS_LOADER_URL_IMPORT_19___","___CSS_LOADER_URL_IMPORT_20___","___CSS_LOADER_URL_IMPORT_21___","___CSS_LOADER_URL_IMPORT_22___","___CSS_LOADER_URL_IMPORT_23___","___CSS_LOADER_URL_IMPORT_24___","___CSS_LOADER_URL_IMPORT_25___","___CSS_LOADER_URL_IMPORT_26___","___CSS_LOADER_URL_IMPORT_27___","___CSS_LOADER_URL_IMPORT_28___","___CSS_LOADER_URL_IMPORT_29___","___CSS_LOADER_URL_IMPORT_30___","___CSS_LOADER_URL_IMPORT_31___","___CSS_LOADER_URL_IMPORT_32___","___CSS_LOADER_URL_IMPORT_33___","___CSS_LOADER_URL_IMPORT_34___","___CSS_LOADER_URL_IMPORT_35___","___CSS_LOADER_URL_REPLACEMENT_0___","___CSS_LOADER_URL_REPLACEMENT_1___","___CSS_LOADER_URL_REPLACEMENT_2___","___CSS_LOADER_URL_REPLACEMENT_3___","___CSS_LOADER_URL_REPLACEMENT_4___","___CSS_LOADER_URL_REPLACEMENT_5___","___CSS_LOADER_URL_REPLACEMENT_6___","___CSS_LOADER_URL_REPLACEMENT_7___","___CSS_LOADER_URL_REPLACEMENT_8___","___CSS_LOADER_URL_REPLACEMENT_9___","___CSS_LOADER_URL_REPLACEMENT_10___","___CSS_LOADER_URL_REPLACEMENT_11___","___CSS_LOADER_URL_REPLACEMENT_12___","___CSS_LOADER_URL_REPLACEMENT_13___","___CSS_LOADER_URL_REPLACEMENT_14___","___CSS_LOADER_URL_REPLACEMENT_15___","___CSS_LOADER_URL_REPLACEMENT_16___","___CSS_LOADER_URL_REPLACEMENT_17___","___CSS_LOADER_URL_REPLACEMENT_18___","___CSS_LOADER_URL_REPLACEMENT_19___","___CSS_LOADER_URL_REPLACEMENT_20___","___CSS_LOADER_URL_REPLACEMENT_21___","___CSS_LOADER_URL_REPLACEMENT_22___","___CSS_LOADER_URL_REPLACEMENT_23___","___CSS_LOADER_URL_REPLACEMENT_24___","___CSS_LOADER_URL_REPLACEMENT_25___","___CSS_LOADER_URL_REPLACEMENT_26___","___CSS_LOADER_URL_REPLACEMENT_27___","___CSS_LOADER_URL_REPLACEMENT_28___","___CSS_LOADER_URL_REPLACEMENT_29___","___CSS_LOADER_URL_REPLACEMENT_30___","___CSS_LOADER_URL_REPLACEMENT_31___","___CSS_LOADER_URL_REPLACEMENT_32___","___CSS_LOADER_URL_REPLACEMENT_33___","___CSS_LOADER_URL_REPLACEMENT_34___","___CSS_LOADER_URL_REPLACEMENT_35___","webpackEmptyContext","webpackContext","webpackContextResolve","__webpack_require__","isStuck","stuck","SYMBOL_TOOLBAR_BUTTON_RADIO_GROUP","SYMBOL_TOOLBAR_BUTTON_RADIO_GROUP_VALUE","SYMBOL_TOOLBAR_BUTTON_RADIO_GROUP_NAME","ToolbarButton","radioGroup","groupValue","groupName","isChecked","isFocused","onClick","click","onFocus","onBlur","checked","enterClass","enterActiveClass","enterToClass","leaveClass","leaveActiveClass","leaveToClass","onEnd","requestAnimationFrame","removeEnterTransition","removeLeaveTransition","ToolbarItem","triggerItem","drawer","focusTrap","useFocusTrap","immediate","awaitingHideTransition","animation","arrow","interactive","firstElementChild","maxWidth","TransitionEvent","destroy","menuTrigger","grow","selectedKey","collapsable","MenuTitle","vnode","isSelected","menuLevel","calcPadding","leftPadding","isActiveRoute","addMenuKey","selectKey","MenuItem","titleId","isCollapsed","isMenuCollapsible","canCollapse","listRef","listEl","collapseSection","sectionHeight","scrollHeight","elementTransition","expandSection","resetHeight","rootAddMenuKey","popoverItems","componentOptions","filteredPopoverItems","toggleCollapsed","menuItem","Props","placeholder","TiptapEditorContent","editor","sanitizedValue","getJSON","html","getHTML","sanitizeHtml","sanitize","USE_PROFILES","editable","extensions","configure","multicolor","openOnClick","defaultProtocol","onUpdate","editorProps","commands","setContent","setEditable","DEFAULT_TOOLS","heading","tools","showHighlight","showColorGroup","showFormatGroup","showHeadingGroup","showLinkGroup","applyColor","chain","setColor","run","formatTypes","toggleFormat","command","toggleBold","toggleItalic","toggleStrike","toggleUnderline","toggleHighlight","headingIcons","1","2","3","4","5","6","headingLevels","toggleHeading","setLink","previousUrl","getAttributes","prompt","extendMarkRange","unsetLink","BubbleMenu","WbEditorContent","WbEditorToolbar","onMenuCreate","onCreate","appendTo","FilterEvent","inheritAttrs","toggle","_i","$$a","$$el","$$c","$$i","FilterPill","FilterToggle","instanceComponents","instanceComponentFactories","createComponentFormatter","renderer","instanceId","_cell","_row","_column","_instanceId","__$wbGridInstanceId","factories","lookupId","useGrid","gridRef","newOptions","grid","updateConfig","forceRender","rows","newRows","columns","newColumns","className","table","trimEnd","componentFactories","stopComponentListener","addedNodes","node","HTMLSpanElement","rowId","columnId","parentElement","replaceChild","factory","childList","subtree","listenForAndApplyComponentFormatters","stopResizeObserver","$destroy","SYMBOL_GRID_INSTANCE_ID","SYMBOL_GRID_ADD_COLUMN","autoWidth","resizable","fixedHeader","pagination","columnsProp","isReady","deferUpdate","componentColumns","column","th","tr","td","footer","onReady","off","addSelfToGrid","createSlotFormatter","cell","row","formatter","styles","multi","ping","AlertIcon","paginatorConfig","wrapper","rounded","activeButton","inactiveButton","firstButton","lastButton","prevButton","nextButton","buttonConfig","font","truncate","block","inline","xs","sm","md","lg","xl","gap","padding","square","brand","solid","ghost","white","gray","outline","soft","loadingIcon","pageSize","total","MAX_VALUE","showFirst","showLast","divider","getButtonClass","firstButtonClasses","lastButtonClasses","prevButtonClasses","nextButtonClasses","activeButtonClasses","inactiveButtonClasses","currentPage","ceil","displayedPages","totalPages","maxDisplayedPages","r1","r2","beforeWrapped","afterWrapped","canGoFirstOrPrev","canGoLastOrNext","onClickPrev","onClickNext","onClickPage","onClickFirst","onClickLast","pageStart","pageEnd","descriptionId","$slots","CheckListItem","hasId","confirmText","cancelText","showConfirm","okText","onOk","onCancel","onConfirm","slot","tabs","tabLabelProp","tabSlant","tab","progressConfig","indicator","progress","steps","step","first","carousel","swing","elastic","indicatorContainerClass","indicatorClass","progressClass","classes","isIndeterminate","stepsClass","stepClass","stepActiveClass","stepFirstClass","realMax","stepClasses","isFirst","isSteps","round","tableConfig","styleRoot","divide","thead","sticky","scrollable","tfoot","tbody","loadingState","emptyState","expand","sortAscIcon","sortDescIcon","sortButton","trailing","expandButton","checkbox","defaultComparator","z","by","columnAttribute","rowClass","isSticky","hasExpand","columnsSchema","row0Props","otherProps","sortable","sortState","rowData","col","sortFn","sortColumnKey","resolveColumnValue","selectedState","indeterminate","emptyStateSchema","valueOrCellConfig","resolvedValue","concreteValue","toType","transform","compare","openedRows","onSelect","cl","headersCells","stickyHeaders","colSticky","dir","colKey","colOrder","colWidths","getBoundingClientRect","bodyCells","stickyCells","stickyHeaderGroup","getOffset","cells","cols","getFooterCellSchema","dataObj","resolveCellClass","toggleOpened","onSort","custom","getSortState","onRowDoubleClick","getRowClass","subIndex","template","rowspan","colspan","clip","additional","slotContent","marginRight","staticRenderFns","alignMenu","menuProps","overflowingNodes","containerRef","maxChildHeight","menuRef","setDataAttr","findNode","nodeId","updateMaxHeight","heights","offsetHeight","marginTop","marginBottom","updateOverflowingNodes","overflowedEls","offsetTop","stopResize","stopMutation","characterData","isOverflowing","normalizeStyle","curr","nodesOutOfView","nodesInView","OverflowContainer","overflow","maxHeight","MenuButton","button","nodeArrangement","Teleport","overlay","overlayColor","transitionDuration","overlayClickClose","swipe","sheetId","showSheet","sheetHeight","translateValue","isDragging","contentScroll","bottomSheet","bottomSheetHeader","bottomSheetMain","bottomSheetFooter","bottomSheetContent","bottomSheetDraggableArea","sheetContentClasses","innerHeight","transitionDurationVar","sheetHeightVar","maxHeightVar","translateValueVar","maxWidthVar","dragHandler","deltaY","pixelToVh","cancelable","isFinal","scrollTop","documentElement","overflowY","overscrollBehavior","pixel","percentage","clientHeight","initHeight","isSheetElementFocused","inputClass","TouchMouseInput","recognizers","Pan","DIRECTION_VERTICAL","clickOnOverlayHandler","sheet","buttonColors","buttonVariants","variantColor","hasContent","growValues","fill","iconClass","menuButton","getRGB","getsRGB","pow","getLuminance","getContrast","foregroundColor","backgroundColor","L1","L2","dynamicStyles","whiteContrast","blackContrast","darkColor","darken","intersect","stickySentinel","isWithinViewport","withinViewport","viewportObserver","clearAndUpper","convertObjToCamelCase","newObj","isRoutePublic","public","AuthMiddleware","setupAuthAsync","auth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B,QAAd,EAAAA,EAAO3T,eAAO,eAAE6D,UAC7B9N,QACnC,SAAC4d,GAAD,OACGA,EAAOjc,UACRmM,EAAMM,QAAQ6c,MAAK,YAAa,MAAV3yB,EAAU,EAAVA,KAAW,OAAc,QAAd,EAAAslB,EAAO3T,eAAO,eAAE6D,SAAUxV,SAnCP,IAuCxD,2BAAsC,KAA3B,EAA2B,QACpC,YAAU,EAAOA,MAEb,IAAU8nB,oBACZC,QAAQC,MAAR,6DACwD,EAAOhoB,KAD/D,QA3CoD,kC","file":"c2fa4b6.js","sourcesContent":["/* eslint-disable no-useless-constructor */\nimport { SubjectRawRule } from '@casl/ability';\nimport { Action, Subject } from '~/app/core/casl/types';\n\nexport class AccessScope\n implements SubjectRawRule {\n constructor(\n /** * The scope actions ex. 'create', 'update', 'read' */\n public readonly action: Action,\n /** * The scope subject ex. 'user', 'case' */\n public readonly subject: Subject,\n public readonly namespaces: string[] | undefined = undefined,\n /** Access Condition ex. { id: 12345 } -> can access if id is 12345 */\n public readonly conditions?: TCondition,\n /** Specific model fields to apply the rule to */\n public readonly fields?: string[],\n /**\n * Inverts the rules action/conditions\n * @default false\n */\n public readonly inverted: boolean = false,\n /** mainly to specify why user can't do something. See forbidden reasons for details */\n public readonly reason?: string\n ) {}\n\n public toString() {\n return this.action;\n }\n\n /**\n * @deprecated\n * Creates a new array of access scopes where each subject is a string. If the access scope `action` is an array then the spread array will contain one access scope for each item the `action` array. Otherwise the returned array will contain one item, being the calling access scope instance. */\n public spreadAction() {\n if (Array.isArray(this.action))\n return this.action.map(\n (action) =>\n new AccessScope(\n action,\n this.subject,\n this.namespaces,\n this.conditions,\n this.fields,\n this.inverted,\n this.reason\n )\n );\n return [this];\n }\n}\n","import { Type } from 'class-transformer';\nimport { AppAbilitySubject } from '~/app/core/casl';\n\nexport class AccessScopeDescription {\n public readonly scope!: string;\n public readonly description!: string;\n}\n\nexport class AccessScopeMasterList {\n @Type(() => AccessScopeDescription)\n public readonly [AppAbilitySubject.case]!: Readonly;\n\n @Type(() => AccessScopeDescription)\n public readonly [AppAbilitySubject.bodybox]!: Readonly<\n AccessScopeDescription[]\n >;\n\n @Type(() => AccessScopeDescription)\n public readonly [AppAbilitySubject.dictionary]!: Readonly<\n AccessScopeDescription[]\n >;\n\n @Type(() => AccessScopeDescription)\n public readonly [AppAbilitySubject.user]!: Readonly;\n\n @Type(() => AccessScopeDescription)\n public readonly [AppAbilitySubject.report]!: Readonly<\n AccessScopeDescription[]\n >;\n}\n","export class Address {\n public streetAddressLine1?: string;\n public streetAddressLine2?: string;\n public city?: string;\n public state?: string;\n public zipCode?: string;\n\n constructor(args?: Address) {\n this.streetAddressLine1 = args?.streetAddressLine1;\n this.streetAddressLine2 = args?.streetAddressLine2;\n this.city = args?.city;\n this.state = args?.state;\n this.zipCode = args?.zipCode;\n }\n}\n","export class AlertSetting {\n public readonly id!: string;\n public readonly name!: string;\n public readonly description!: string;\n\n constructor(args?: AlertSetting) {\n if (!args) return;\n this.id = args.id;\n this.name = args.name;\n this.description = args.description;\n }\n}\n","export class BodyboxWeightAlert {\n public readonly id!: string;\n public readonly title!: string;\n public readonly description?: string;\n public readonly minThreshold?: number;\n public readonly minThresholdInclusive!: boolean;\n public readonly maxThreshold?: number;\n public readonly maxThresholdInclusive!: boolean;\n\n constructor(\n args: Omit<\n BodyboxWeightAlert,\n | 'isWithinThreshold'\n | 'isAboveMinThreshold'\n | 'isBelowMaxThreshold'\n | 'isEqualToThreshold'\n >\n ) {\n if (!args) return;\n this.id = args.id;\n this.title = args.title;\n this.description = args.description;\n this.minThreshold = args.minThreshold;\n this.minThresholdInclusive = args.minThresholdInclusive;\n this.maxThreshold = args.maxThreshold;\n this.maxThresholdInclusive = args.maxThresholdInclusive;\n }\n\n public isWithinThreshold(weight: number): boolean {\n const isWithin =\n this.isAboveMinThreshold(weight) && this.isBelowMaxThreshold(weight);\n return isWithin && !this.isEqualToThreshold(weight);\n }\n\n public isAboveMinThreshold(weight: number): boolean {\n return (\n (!this.minThreshold && typeof this.minThreshold !== 'number') ||\n (this.minThresholdInclusive\n ? weight >= this.minThreshold\n : weight > this.minThreshold)\n );\n }\n\n public isBelowMaxThreshold(weight: number): boolean {\n return (\n (!this.maxThreshold && typeof this.maxThreshold !== 'number') ||\n (this.maxThresholdInclusive\n ? weight <= this.maxThreshold\n : weight < this.maxThreshold)\n );\n }\n\n public isEqualToThreshold(weight: number): boolean {\n return (\n typeof this.minThreshold === 'number' &&\n typeof this.maxThreshold === 'number' &&\n weight === this.minThreshold &&\n weight === this.maxThreshold\n );\n }\n}\n","export class BodyboxBariatricConfiguration {\n public readonly threshold!: number;\n public readonly instructions?: string;\n\n constructor(args?: BodyboxBariatricConfiguration) {\n if (!args) return;\n this.threshold = args.threshold;\n this.instructions = args.instructions;\n }\n}\n","import { Type } from 'class-transformer';\nimport { BodyboxWeightAlert } from './bodybox-weight-alert';\nimport { BodyboxBariatricConfiguration } from './bodybox-bariatric-configuration';\n\nexport class BodyboxWeightConfiguration {\n @Type(() => BodyboxBariatricConfiguration)\n public readonly bariatricConfiguration?: BodyboxBariatricConfiguration;\n\n @Type(() => BodyboxWeightAlert)\n public readonly alerts!: BodyboxWeightAlert[];\n\n constructor(args?: BodyboxWeightConfiguration) {\n if (!args) return;\n this.bariatricConfiguration = args.bariatricConfiguration;\n this.alerts = args.alerts;\n }\n}\n","export class BodyboxStorageLocation {\n public readonly id!: string;\n public readonly name!: string;\n public readonly columnPosition!: number;\n public readonly rowPosition?: number;\n\n constructor(args?: BodyboxStorageLocation) {\n if (!args) return;\n this.id = args.id;\n this.name = args.name;\n this.columnPosition = args.columnPosition;\n this.rowPosition = args.rowPosition;\n }\n}\n\nexport class BodyboxStorageConfiguration {\n public readonly storageLabel!: string;\n public readonly locations!: BodyboxStorageLocation[];\n\n constructor(args?: BodyboxStorageConfiguration) {\n if (!args) return;\n this.storageLabel = args.storageLabel;\n this.locations = args.locations;\n }\n}\n","import { Type } from 'class-transformer';\nimport { IIdentifiable } from '../interfaces';\nimport { BodyboxWeightConfiguration } from './bodybox-weight-configuration';\nimport { BodyboxStorageConfiguration } from './bodybox-storage-configuration';\n\nexport class Bodybox implements IIdentifiable {\n public readonly id!: string;\n public readonly name!: string;\n public readonly capacity!: number;\n public order!: number;\n public readonly expirationStatusWarningThresholdInDays!: number;\n public readonly expirationStatusCriticalThresholdInDays!: number;\n\n @Type(() => BodyboxStorageConfiguration)\n public readonly storageConfiguration!: BodyboxStorageConfiguration;\n\n @Type(() => BodyboxWeightConfiguration)\n public readonly weightConfiguration?: BodyboxWeightConfiguration;\n\n constructor(args?: Bodybox);\n constructor(args: Bodybox) {\n if (!args) return;\n this.id = args.id;\n this.name = args.name;\n this.capacity = args.capacity;\n this.storageConfiguration = args.storageConfiguration;\n this.weightConfiguration = args.weightConfiguration;\n this.order = args.order;\n this.expirationStatusWarningThresholdInDays =\n args.expirationStatusWarningThresholdInDays;\n this.expirationStatusCriticalThresholdInDays =\n args.expirationStatusCriticalThresholdInDays;\n }\n}\n","import { IIdentifiable } from '../interfaces';\n\nexport class BodyboxCapacity implements IIdentifiable {\n public readonly id!: string;\n public readonly name!: string;\n public readonly capacity!: number;\n public readonly totalCases!: number;\n public readonly hasCapacity!: boolean;\n}\n","export const DateOnlyFormatToken = 'MM/dd/yyyy' as const;\nexport const DateTimeFormatToken = 'MM/dd/yyyy hh:mm:ss aa' as const;\n","import { format, isValid, parse } from 'date-fns';\nimport { DateOnlyFormatToken, DateTimeFormatToken } from './format-tokens';\n\nexport class FormatDate extends Date {\n static readonly formatToken = DateOnlyFormatToken;\n\n constructor(\n date?: string | number | Date,\n month?: number,\n day?: number,\n hours?: number,\n minutes?: number,\n seconds?: number,\n ms?: number\n ) {\n if (!date) super();\n else if (typeof date === 'number' && typeof month === 'number')\n super(date, month, day, hours, minutes, seconds, ms);\n else if (typeof date === 'number') super(date);\n else if (typeof date === 'string') {\n super(FormatDate.parseDateLoose(date) ?? 'Invalid Date');\n } else super(date);\n }\n\n public toString() {\n const formatString = format(this, FormatDate.formatToken) as string;\n return formatString;\n }\n\n public toISOString() {\n return this.toString();\n }\n\n public toJSON(_key?: any) {\n return this.toString();\n }\n\n /**\n * Parse a string into a Date object so long as it can be parsed as either a date (`DateOnlyFormatToken`) or a date/time (`DateTimeFormatToken`).\n * @param str The string to parse.\n * @returns The parsed Date object, or null if the string could not be parsed.\n */\n private static parseDateLoose(str: string): Date | null {\n return FormatDate.parseDateTime(str) || FormatDate.parseDateOnly(str);\n }\n\n /**\n * Parse a string into a Date object using the `DateOnlyFormatToken` format token.\n * @param str The string to parse.\n * @returns The parsed Date object, or null if the string could not be parsed.\n */\n private static parseDateOnly(str: string): Date | null {\n const date = parse(str, DateOnlyFormatToken, new Date());\n return isValid(date) ? date : null;\n }\n\n /**\n * Parse a string into a Date object using the `DateTimeFormatToken` format token.\n * @param str The string to parse.\n * @returns The parsed Date object, or null if the string could not be parsed.\n */\n private static parseDateTime(str: string): Date | null {\n const date = parse(str, DateTimeFormatToken, new Date());\n return isValid(date) ? date : null;\n }\n}\n","import { format, isValid, parse } from 'date-fns';\nimport { FormatDate } from './format-date';\nimport { DateOnlyFormatToken, DateTimeFormatToken } from './format-tokens';\n\nexport class FormatDateTime extends Date {\n static readonly formatToken: string = DateTimeFormatToken;\n\n constructor();\n constructor(date: string);\n constructor(date: Date);\n constructor(\n date?: number,\n month?: number,\n day?: number,\n hours?: number,\n minutes?: number,\n seconds?: number,\n ms?: number\n );\n\n constructor(\n date?: string | number | Date,\n month?: number,\n day?: number,\n hours?: number,\n minutes?: number,\n seconds?: number,\n ms?: number\n ) {\n if (!date) super();\n else if (typeof date === 'number' && typeof month === 'number')\n super(date, month, day, hours, minutes, seconds, ms);\n else if (typeof date === 'number') super(date);\n else if (typeof date === 'string') {\n super(FormatDateTime.parseDateLoose(date) ?? 'Invalid Date');\n } else super(date);\n }\n\n public get date() {\n return new FormatDate(this);\n }\n\n public toString() {\n const formatString = format(this, FormatDateTime.formatToken) as string;\n return formatString;\n }\n\n public toISOString() {\n return this.toString();\n }\n\n public toJSON(_key?: any) {\n return this.toString();\n }\n\n /**\n * Parse a string into a Date object so long as it can be parsed as either a date (`DateOnlyFormatToken`) or a date/time (`DateTimeFormatToken`).\n * @param str The string to parse.\n * @returns The parsed Date object, or null if the string could not be parsed.\n */\n private static parseDateLoose(str: string): Date | null {\n return (\n FormatDateTime.parseDateTime(str) || FormatDateTime.parseDateOnly(str)\n );\n }\n\n /**\n * Parse a string into a Date object using the `DateOnlyFormatToken` format token.\n * @param str The string to parse.\n * @returns The parsed Date object, or null if the string could not be parsed.\n */\n private static parseDateOnly(str: string): Date | null {\n const date = parse(str, DateOnlyFormatToken, new Date());\n return isValid(date) ? date : null;\n }\n\n /**\n * Parse a string into a Date object using the `DateTimeFormatToken` format token.\n * @param str The string to parse.\n * @returns The parsed Date object, or null if the string could not be parsed.\n */\n private static parseDateTime(str: string): Date | null {\n const date = parse(str, DateTimeFormatToken, new Date());\n return isValid(date) ? date : null;\n }\n}\n","import { Transform } from 'class-transformer';\nimport { DateTimeInfo, IsDateTimeInfo } from '../dates';\nimport { RequirementStatus } from './requirement-status';\n\nexport enum AutopsyType {\n unknown,\n House = 'house',\n Vendor = 'vendor',\n}\n\nexport interface IAutopsyRecord {\n readonly id?: string;\n type: AutopsyType;\n dateScheduled?: DateTimeInfo;\n dateCompleted?: DateTimeInfo;\n}\n\nexport class HouseAutopsy implements Partial {\n public readonly id?: string;\n\n public type!: AutopsyType.House;\n\n @IsDateTimeInfo()\n public dateScheduled?: DateTimeInfo;\n\n @IsDateTimeInfo()\n public dateCompleted?: DateTimeInfo;\n\n constructor(args?: HouseAutopsy | Partial) {\n this.id = args?.id;\n this.type = AutopsyType.House;\n this.dateScheduled = args?.dateScheduled\n ? new DateTimeInfo(args.dateScheduled)\n : undefined;\n this.dateCompleted = args?.dateCompleted\n ? new DateTimeInfo(args.dateCompleted)\n : undefined;\n }\n}\n\nexport class VendorAutopsy implements Partial {\n public readonly id?: string;\n\n public type!: AutopsyType.Vendor;\n\n public vendorId?: string;\n\n @IsDateTimeInfo()\n public dateScheduled?: DateTimeInfo;\n\n @IsDateTimeInfo()\n public dateCompleted?: DateTimeInfo;\n\n constructor(args?: VendorAutopsy | Partial) {\n this.id = args?.id;\n this.type = AutopsyType.Vendor;\n this.vendorId = args && 'vendorId' in args ? args?.vendorId : undefined;\n this.dateScheduled = args?.dateScheduled\n ? new DateTimeInfo(args.dateScheduled)\n : undefined;\n this.dateCompleted = args?.dateCompleted\n ? new DateTimeInfo(args.dateCompleted)\n : undefined;\n }\n}\n\nexport class AutopsyCollection {\n public requirementStatus?: RequirementStatus;\n\n @Transform(({ value }) =>\n value?.map((autopsy: any) => new HouseAutopsy(autopsy))\n )\n public inHouse: HouseAutopsy[];\n\n @Transform(({ value }) =>\n value?.map((autopsy: any) => new VendorAutopsy(autopsy))\n )\n public vendor: VendorAutopsy[];\n\n constructor(args?: Partial) {\n this.requirementStatus = args?.requirementStatus;\n this.inHouse = args?.inHouse || [];\n this.vendor = args?.vendor || [];\n }\n}\n","import { plainToInstance, Transform } from 'class-transformer';\nimport { FormatDate } from '../format-date';\nimport { FormatDateTime } from '../format-datetime';\nimport { parseISODateOnly, parseISODateTime } from '../utils';\nimport { DateTimeInfo, DateTimeInfoOptions } from '../date-time-info';\nimport { DateOnly } from '../date-only';\n\n/** Specifies the type of the property as @see FormatDate. Required for use with `class-transformer`. */\nexport const IsFormatDate: PropertyDecorator = Transform(({ value }) =>\n value ? new FormatDate(value) : undefined\n);\n\n/** Specifies the type of the property as @see FormatDateTime. Required for use with `class-transformer`. */\nexport const IsFormatDateTime: PropertyDecorator = Transform(({ value }) =>\n value ? new FormatDateTime(value) : undefined\n);\n\nexport const IsDateTimeInfo: (\n serialize?: DateTimeInfoOptions['serialize']\n) => PropertyDecorator = (serialize = 'dateTime') =>\n Transform(({ value }) => {\n if (!value) return undefined;\n\n if (typeof value === 'string') {\n const date = parseISODateOnly(value);\n if (date) return new DateTimeInfo(new DateOnly(date), { serialize });\n\n const dateTime = parseISODateTime(value);\n if (dateTime) return new DateTimeInfo(dateTime, { serialize });\n }\n\n if (typeof value === 'object' && ('date' in value || 'time' in value))\n return plainToInstance(DateTimeInfo, value);\n\n return undefined;\n });\n","import { Type } from 'class-transformer';\n\nexport class NoteRecord {\n public readonly id?: string;\n\n public author!: string;\n\n public content!: string;\n\n public tagIds?: string[];\n\n @Type(() => Date)\n public dateTimeAuthored!: Date;\n\n constructor(args: NoteRecord) {\n if (!args) return;\n this.id = args.id;\n this.author = args.author;\n this.content = args.content;\n this.dateTimeAuthored = args.dateTimeAuthored;\n this.tagIds = args.tagIds;\n }\n}\n\nexport class NotesCollection {\n @Type(() => NoteRecord)\n public records: NoteRecord[];\n\n constructor(args?: Partial) {\n this.records = args?.records || [];\n }\n}\n","import { DateTimeInfo, IsDateTimeInfo } from '../dates';\n\nexport class FuneralHome {\n public funeralHomeId?: string;\n\n public name?: string;\n\n @IsDateTimeInfo()\n public dateNotified?: DateTimeInfo;\n\n public authorizedBy?: string;\n\n public organizationNotifiedBy?: string;\n\n public details?: string;\n\n constructor(args?: FuneralHome) {\n this.funeralHomeId = args?.funeralHomeId;\n this.name = args?.name;\n this.dateNotified = args?.dateNotified\n ? new DateTimeInfo(args?.dateNotified)\n : undefined;\n this.authorizedBy = args?.authorizedBy;\n this.organizationNotifiedBy = args?.organizationNotifiedBy;\n this.details = args?.details;\n }\n}\n","import { Type } from 'class-transformer';\nimport { DateTimeInfo, IsDateTimeInfo } from '../dates';\nimport { RequirementStatus } from './requirement-status';\n\nexport class OrganDonationRecord {\n public readonly id?: string;\n\n public description?: string;\n\n public organBankId?: string;\n\n @IsDateTimeInfo()\n public dateNotified?: DateTimeInfo;\n\n @IsDateTimeInfo()\n public dateCompleted?: DateTimeInfo;\n\n constructor(args?: OrganDonationRecord) {\n this.id = args?.id;\n this.description = args?.description;\n this.organBankId = args?.organBankId;\n this.dateNotified = args?.dateNotified\n ? new DateTimeInfo(args?.dateNotified)\n : undefined;\n this.dateCompleted = args?.dateCompleted\n ? new DateTimeInfo(args?.dateCompleted)\n : undefined;\n }\n}\n\nexport class OrganDonationCollection {\n public requirementStatus?: RequirementStatus;\n\n @Type(() => OrganDonationRecord)\n public records?: OrganDonationRecord[];\n\n constructor(args?: Partial) {\n this.requirementStatus = args?.requirementStatus;\n this.records = args?.records || [];\n }\n}\n","import { Age } from '../common';\nimport { DateTimeInfo, IsDateTimeInfo } from '../dates';\n\nexport class DecedentInfo {\n public alias?: string;\n\n public firstName?: string;\n\n public middleName?: string;\n\n public lastName?: string;\n\n public readonly age?: Age;\n\n @IsDateTimeInfo()\n public dateOfBirth?: DateTimeInfo;\n\n @IsDateTimeInfo()\n public dateOfDeath?: DateTimeInfo;\n\n public genderId?: string;\n\n public medicalRecordNumber?: string;\n\n public alternateMedicalRecordNumber?: string;\n\n public socialSecurityNumber?: string;\n\n public weight?: number;\n\n public raceId?: string;\n\n public ethnicityId?: string;\n\n public maritalStatusId?: string;\n\n public countyId?: string;\n\n constructor(args?: Partial) {\n this.alias = args?.alias;\n this.firstName = args?.firstName;\n this.middleName = args?.middleName;\n this.lastName = args?.lastName;\n this.dateOfBirth = args?.dateOfBirth\n ? new DateTimeInfo(args.dateOfBirth)\n : undefined;\n this.dateOfDeath = args?.dateOfDeath\n ? new DateTimeInfo(args.dateOfDeath)\n : undefined;\n this.genderId = args?.genderId;\n this.medicalRecordNumber = args?.medicalRecordNumber;\n this.alternateMedicalRecordNumber = args?.alternateMedicalRecordNumber;\n this.socialSecurityNumber = args?.socialSecurityNumber;\n this.weight = args?.weight;\n this.raceId = args?.raceId;\n this.ethnicityId = args?.ethnicityId;\n this.maritalStatusId = args?.maritalStatusId;\n this.countyId = args?.countyId;\n }\n\n public get displayName() {\n return (this.alias || `${this.firstName} ${this.lastName}`).trim();\n }\n}\n","export class BelongingsCollection {\n public locations?: { [locationId: string]: string[] };\n\n constructor(args?: Partial) {\n this.locations = args?.locations || {};\n }\n}\n","export class TagsCollection {\n public systemTagIds: string[];\n public userTags: string[];\n public readonly computedTags: Readonly;\n\n constructor(args?: Partial) {\n this.systemTagIds = args?.systemTagIds || [];\n this.userTags = args?.userTags || [];\n this.computedTags = args?.computedTags || [];\n }\n}\n","import { Type } from 'class-transformer';\nimport { isSameDay, startOfDay } from 'date-fns';\nimport { FormatDateTime, IsFormatDateTime } from '../dates';\nimport { CaseServiceType } from './services';\n\nexport abstract class TransportEvent {\n @IsFormatDateTime\n public readonly dateTime!: FormatDateTime;\n\n public readonly createdBy!: string;\n\n constructor(args: TransportEvent) {\n if (!args) return;\n this.dateTime = new FormatDateTime(args.dateTime);\n this.createdBy = args.createdBy;\n }\n}\n\nexport class CheckInEvent extends TransportEvent {\n public readonly transportedBy!: string;\n\n public readonly receivedBy!: string;\n\n public readonly bodybox?: string;\n\n constructor(args: CheckInEvent) {\n super(args);\n\n if (!args) return;\n this.transportedBy = args.transportedBy;\n this.receivedBy = args.receivedBy;\n this.bodybox = args.bodybox;\n }\n}\n\nexport class CheckOutEvent extends TransportEvent {\n public readonly releasedBy!: string;\n\n public readonly releasedTo!: string;\n\n public readonly bodybox?: string;\n\n public readonly receivingOrganization?: string;\n\n public readonly receivingOrganizationType?: string;\n\n constructor(args: CheckOutEvent) {\n super(args);\n\n if (!args) return;\n this.releasedBy = args.releasedBy;\n this.releasedTo = args.releasedTo;\n this.bodybox = args.bodybox;\n this.receivingOrganization = args.receivingOrganization;\n this.receivingOrganizationType = args.receivingOrganizationType;\n }\n}\n\nexport abstract class TransferEvent extends TransportEvent {\n public readonly receivedBy!: string;\n\n public readonly transportedBy!: string;\n\n constructor(args: TransferEvent) {\n super(args);\n\n if (!args) return;\n this.receivedBy = args.receivedBy;\n this.transportedBy = args.transportedBy;\n }\n}\n\nexport abstract class InternalTransferEvent extends TransferEvent {\n public readonly originBodybox!: string;\n\n public readonly destinationBodybox!: string;\n\n constructor(args: InternalTransferEvent) {\n super(args);\n\n if (!args) return;\n this.originBodybox = args.originBodybox;\n this.destinationBodybox = args.destinationBodybox;\n }\n}\n\nexport class AutopsyHistoryEvent extends TransportEvent {\n @IsFormatDateTime\n public readonly dateTimeScheduled?: FormatDateTime;\n\n @IsFormatDateTime\n public readonly dateTimeCompleted!: FormatDateTime;\n\n public readonly type!: string;\n\n public readonly vendor!: string;\n\n public readonly bodybox?: string;\n\n constructor(args: AutopsyHistoryEvent) {\n super(args);\n\n if (!args) return;\n this.dateTimeCompleted = args.dateTimeCompleted;\n this.type = args.type;\n this.vendor = args.vendor;\n this.bodybox = args.bodybox;\n }\n}\n\nexport class OrganBankNotifiedHistoryEvent extends TransportEvent {\n @IsFormatDateTime\n public readonly dateTimeNotified!: FormatDateTime;\n\n public readonly description!: string;\n\n public readonly organBank!: string;\n\n public readonly bodybox?: string;\n\n constructor(args: OrganBankNotifiedHistoryEvent) {\n super(args);\n\n if (!args) return;\n this.dateTimeNotified = args.dateTimeNotified;\n this.description = args.description;\n this.organBank = args.organBank;\n this.bodybox = args.bodybox;\n }\n}\n\nexport class OrganDonationCompletedHistoryEvent extends TransportEvent {\n @IsFormatDateTime\n public readonly dateTimeCompleted!: FormatDateTime;\n\n public readonly description!: string;\n\n public readonly organBank!: string;\n\n public readonly bodybox?: string;\n\n constructor(args: OrganDonationCompletedHistoryEvent) {\n super(args);\n\n if (!args) return;\n this.dateTimeCompleted = args.dateTimeCompleted;\n this.description = args.description;\n this.organBank = args.organBank;\n this.bodybox = args.bodybox;\n }\n}\n\nexport class FuneralHomeHistoryEvent extends TransportEvent {\n @IsFormatDateTime\n public readonly dateTimeNotified!: FormatDateTime;\n\n public readonly funeralHome!: string;\n\n public readonly bodybox?: string;\n\n public readonly organizationNotifiedBy?: string;\n\n constructor(args: FuneralHomeHistoryEvent) {\n super(args);\n\n if (!args) return;\n this.dateTimeNotified = args.dateTimeNotified;\n this.funeralHome = args.funeralHome;\n this.bodybox = args.bodybox;\n this.organizationNotifiedBy = args.organizationNotifiedBy;\n }\n}\n\nexport class MedicalExaminerHistoryEvent extends TransportEvent {\n @IsFormatDateTime\n public readonly dateTimeNotified!: FormatDateTime;\n\n public readonly medicalExaminer!: string;\n\n public readonly bodybox?: string;\n\n constructor(args: MedicalExaminerHistoryEvent) {\n super(args);\n\n if (!args) return;\n this.dateTimeNotified = args.dateTimeNotified;\n this.medicalExaminer = args.medicalExaminer;\n this.bodybox = args.bodybox;\n }\n}\n\nexport abstract class CaseServiceHistoryEvent extends TransportEvent {\n public readonly type!: CaseServiceType;\n\n public readonly conductingOrganization?: string;\n\n public readonly details?: string;\n\n public readonly bodybox?: string;\n\n constructor(args: CaseServiceHistoryEvent) {\n super(args);\n if (!args) return;\n this.type = args.type;\n this.conductingOrganization = args.conductingOrganization;\n this.details = args.details;\n this.bodybox = args.bodybox;\n }\n}\n\nexport class CaseServiceNotifiedHistoryEvent extends CaseServiceHistoryEvent {\n @IsFormatDateTime\n public readonly dateTimeNotified!: FormatDateTime;\n\n constructor(args: CaseServiceNotifiedHistoryEvent) {\n super(args);\n if (!args) return;\n this.dateTimeNotified = args.dateTimeNotified;\n }\n}\n\nexport class CaseServiceCompletedHistoryEvent extends CaseServiceHistoryEvent {\n @IsFormatDateTime\n public readonly dateTimeCompleted!: FormatDateTime;\n\n constructor(args: CaseServiceCompletedHistoryEvent) {\n super(args);\n if (!args) return;\n this.dateTimeCompleted = args.dateTimeCompleted;\n }\n}\n\nexport class TransportHistory {\n @Type(() => CheckInEvent)\n public readonly checkInEvents: Readonly;\n\n @Type(() => CheckOutEvent)\n public readonly checkOutEvents: Readonly;\n\n @Type(() => InternalTransferEvent)\n public readonly internalTransferEvents: Readonly;\n\n @Type(() => AutopsyHistoryEvent)\n public readonly autopsyHistoryEvents: Readonly;\n\n @Type(() => OrganBankNotifiedHistoryEvent)\n public readonly organDonationHistoryEvents: Readonly<\n OrganBankNotifiedHistoryEvent[]\n >;\n\n @Type(() => OrganDonationCompletedHistoryEvent)\n public readonly organDonationCompletedHistoryEvents: Readonly<\n OrganDonationCompletedHistoryEvent[]\n >;\n\n @Type(() => FuneralHomeHistoryEvent)\n public readonly funeralHomeHistoryEvents: Readonly;\n\n @Type(() => MedicalExaminerHistoryEvent)\n public readonly medicalExaminerHistoryEvents: Readonly<\n MedicalExaminerHistoryEvent[]\n >;\n\n @Type(() => CaseServiceNotifiedHistoryEvent)\n public readonly caseServiceNotifiedHistoryEvents: Readonly<\n CaseServiceNotifiedHistoryEvent[]\n >;\n\n @Type(() => CaseServiceCompletedHistoryEvent)\n public readonly caseServiceCompletedHistoryEvents: Readonly<\n CaseServiceCompletedHistoryEvent[]\n >;\n\n constructor(args?: Partial) {\n this.checkInEvents = args?.checkInEvents || [];\n this.checkOutEvents = args?.checkOutEvents || [];\n this.internalTransferEvents = args?.internalTransferEvents || [];\n this.autopsyHistoryEvents = args?.autopsyHistoryEvents || [];\n this.organDonationHistoryEvents = args?.organDonationHistoryEvents || [];\n this.organDonationCompletedHistoryEvents =\n args?.organDonationCompletedHistoryEvents || [];\n this.funeralHomeHistoryEvents = args?.funeralHomeHistoryEvents || [];\n this.medicalExaminerHistoryEvents =\n args?.medicalExaminerHistoryEvents || [];\n this.caseServiceNotifiedHistoryEvents =\n args?.caseServiceNotifiedHistoryEvents || [];\n this.caseServiceCompletedHistoryEvents =\n args?.caseServiceCompletedHistoryEvents || [];\n }\n\n /** A collection of all transport only events (check-ins/check outs) ordered by date **ascending**. */\n public get transportEvents() {\n const ordered: TransportEvent[] = [\n ...this.checkOutEvents,\n ...this.checkInEvents,\n ...this.internalTransferEvents,\n ].sort((a, b) => (a.dateTime < b.dateTime ? -1 : 1));\n\n return ordered;\n }\n\n /** A collection of all history ordered by date **ascending**. */\n public get orderedEvents() {\n const ordered: TransportEvent[] = [\n ...this.checkOutEvents,\n ...this.checkInEvents,\n ...this.internalTransferEvents,\n ...this.autopsyHistoryEvents,\n ...this.organDonationHistoryEvents,\n ...this.organDonationCompletedHistoryEvents,\n ...this.funeralHomeHistoryEvents,\n ...this.medicalExaminerHistoryEvents,\n ...this.caseServiceNotifiedHistoryEvents,\n ...this.caseServiceCompletedHistoryEvents,\n ].sort((a, b) => (getSortDate(a) < getSortDate(b) ? -1 : 1));\n\n // Check-in events will be sorted after events that don't capture a time\n // Events that fall on the same date as a check-in but have no time should be sorted after the check-in\n\n const checkInEvents = ordered.filter(\n (event) => event instanceof CheckInEvent\n );\n\n for (const checkInEvent of checkInEvents) {\n const historyEvents = ordered.filter(\n (event) =>\n isEventWithNoTimePart(event) &&\n isSameDay(checkInEvent.dateTime, event.dateTime)\n );\n\n const checkInEventIndex = ordered.indexOf(checkInEvent);\n\n for (const event of historyEvents) {\n const eventIndex = ordered.indexOf(event);\n ordered.splice(eventIndex, 1);\n ordered.splice(checkInEventIndex, 0, event);\n }\n }\n\n return ordered;\n }\n}\n\nfunction getSortDate(event: TransportEvent): FormatDateTime {\n if (\n event instanceof AutopsyHistoryEvent ||\n event instanceof OrganDonationCompletedHistoryEvent ||\n event instanceof CaseServiceCompletedHistoryEvent\n )\n return event.dateTimeCompleted;\n if (\n event instanceof OrganBankNotifiedHistoryEvent ||\n event instanceof CaseServiceNotifiedHistoryEvent\n )\n return event.dateTimeNotified;\n if (event instanceof FuneralHomeHistoryEvent) return event.dateTimeNotified;\n if (event instanceof MedicalExaminerHistoryEvent)\n return event.dateTimeNotified;\n return event.dateTime;\n}\n\nfunction isEventWithNoTimePart(event: TransportEvent) {\n const isHistoryEvent =\n event instanceof AutopsyHistoryEvent ||\n event instanceof OrganBankNotifiedHistoryEvent ||\n event instanceof FuneralHomeHistoryEvent;\n\n const date = getSortDate(event);\n const startOfDayDate = startOfDay(date);\n const hasNoTimePart = +date === +startOfDayDate;\n\n return isHistoryEvent && hasNoTimePart;\n}\n","import { Type } from 'class-transformer';\nimport { IIdentifiable } from '../interfaces/identifiable';\n\nexport class DocumentRecord implements Partial> {\n public id?: string;\n\n public type?: string;\n\n public name?: string;\n\n @Type(() => Date)\n public dateTimeUploaded?: Date;\n\n public srcUrl?: string;\n\n public sizeInBytes?: number;\n\n constructor(args?: DocumentRecord) {\n this.id = args?.id;\n this.type = args?.type;\n this.name = args?.name;\n this.dateTimeUploaded = args?.dateTimeUploaded;\n this.srcUrl = args?.srcUrl;\n this.sizeInBytes = args?.sizeInBytes;\n }\n}\n\nexport class DocumentCollection {\n @Type(() => DocumentRecord)\n public records: DocumentRecord[];\n\n constructor(args?: DocumentCollection) {\n this.records = args?.records || [];\n }\n}\n","export class CaseAction {\n public readonly enabled!: boolean;\n public readonly information?: string;\n}\n","import { DateTimeInfo, IsDateTimeInfo } from '../dates';\nimport { RequirementStatus } from './requirement-status';\n\nexport class MedicalExaminer {\n public requirementStatus?: RequirementStatus;\n\n public medicalExaminerId?: string;\n\n @IsDateTimeInfo()\n public dateNotified?: DateTimeInfo;\n\n @IsDateTimeInfo()\n public dateCompleted?: DateTimeInfo;\n\n constructor(args?: MedicalExaminer) {\n this.requirementStatus = args?.requirementStatus;\n this.medicalExaminerId = args?.medicalExaminerId;\n this.dateNotified = args?.dateNotified\n ? new DateTimeInfo(args?.dateNotified)\n : undefined;\n this.dateCompleted = args?.dateCompleted\n ? new DateTimeInfo(args?.dateCompleted)\n : undefined;\n }\n}\n","export class InfectiousDisease {\n public description?: string;\n public diseaseTypeIds!: string[];\n\n constructor(args?: InfectiousDisease) {\n if (!args) return;\n this.description = args?.description;\n this.diseaseTypeIds = args?.diseaseTypeIds;\n }\n}\n","export enum OriginLocationType {\n Unknown = 0,\n Internal = 1,\n External = 2,\n}\n\nexport abstract class OriginLocation {\n public readonly type!: OriginLocationType;\n public readonly details?: string;\n\n constructor(args?: OriginLocation) {\n if (!args) return;\n this.type = args.type;\n this.details = args.details;\n }\n}\n\nexport class InternalOriginLocation extends OriginLocation {\n public locationId?: string;\n public serviceLineId?: string;\n public unit?: string;\n public room?: string;\n public bed?: string;\n\n constructor(args?: InternalOriginLocation) {\n super(args);\n this.locationId = args?.locationId || undefined;\n this.serviceLineId = args?.serviceLineId || undefined;\n this.unit = args?.unit || undefined;\n this.room = args?.room || undefined;\n this.bed = args?.bed || undefined;\n }\n}\n\nexport class ExternalOriginLocation extends OriginLocation {\n public locationId!: string;\n public contactName?: string;\n public contactPhoneNumber?: string;\n\n constructor(args?: ExternalOriginLocation) {\n super(args);\n if (!args) return;\n this.locationId = args.locationId;\n this.contactName = args.contactName;\n this.contactPhoneNumber = args.contactPhoneNumber;\n }\n}\n","export class CaseHold {\n public description?: string;\n public readonly isActive: boolean;\n\n constructor(args?: Partial) {\n this.description = args?.description;\n this.isActive = args?.isActive ?? true;\n }\n}\n","export class CaseNotice {\n public readonly type!: 'success' | 'warning' | 'danger';\n public readonly message!: string;\n public readonly description?: string;\n\n constructor(args?: CaseNotice) {\n if (!args) return;\n this.type = args.type;\n this.message = args.message;\n this.description = args.description;\n }\n}\n","import { Type } from 'class-transformer';\nimport { DateTimeInfo, IsDateTimeInfo } from '../dates';\n\nexport class NextOfKinRecord {\n public readonly id?: string;\n\n public name?: string;\n\n public relationship?: string;\n\n public typeId?: string;\n\n public contactPhoneNumber?: string;\n\n public contactEmailAddress?: string;\n\n @IsDateTimeInfo()\n public dateNotified?: DateTimeInfo;\n\n constructor(args?: NextOfKinRecord) {\n if (!args) return;\n this.id = args.id;\n this.name = args.name?.trim();\n this.relationship = args.relationship?.trim();\n this.typeId = args.typeId;\n this.contactPhoneNumber = args.contactPhoneNumber?.trim();\n this.contactEmailAddress = args.contactEmailAddress?.trim();\n this.dateNotified = args.dateNotified\n ? new DateTimeInfo(args.dateNotified)\n : undefined;\n }\n}\n\nexport class NextOfKinCollection {\n @Type(() => NextOfKinRecord)\n public records?: NextOfKinRecord[];\n\n constructor(args?: Partial) {\n this.records = args?.records || [];\n }\n}\n","export class Physician {\n public readonly name!: string;\n public readonly typeId!: string;\n public readonly statusId?: string;\n public readonly nationalProviderIdentifier?: string;\n public readonly phoneNumber?: string;\n public readonly emailAddress?: string;\n\n constructor(args?: Physician) {\n if (!args) return;\n this.name = args?.name;\n this.typeId = args?.typeId;\n this.statusId = args?.statusId;\n this.nationalProviderIdentifier = args?.nationalProviderIdentifier;\n this.phoneNumber = args?.phoneNumber;\n this.emailAddress = args?.emailAddress;\n }\n}\n\nexport class DeathCertificate {\n public readonly causeOfDeathId?: string;\n public readonly causeOfDeathOther?: string;\n public readonly signingPhysician?: Physician;\n\n constructor(args?: DeathCertificate) {\n if (!args) return;\n this.causeOfDeathId = args?.causeOfDeathId;\n this.causeOfDeathOther = args?.causeOfDeathOther;\n this.signingPhysician = args?.signingPhysician;\n }\n}\n","import { Type } from 'class-transformer';\nimport { DateTimeInfo, IsDateTimeInfo } from '../../dates';\n\nexport class CaseServiceNotification {\n public readonly executed?: boolean;\n\n @IsDateTimeInfo()\n public readonly dateTime?: DateTimeInfo;\n\n public readonly recipient?: string;\n\n constructor(args?: Partial) {\n this.executed = args?.executed;\n this.dateTime = args?.dateTime\n ? new DateTimeInfo(args.dateTime)\n : undefined;\n this.recipient = args?.recipient;\n }\n}\n\nexport abstract class CaseService {\n public readonly id?: string;\n\n public readonly statusId?: string;\n\n public readonly assignee?: string;\n\n public readonly conductingOrganizationId?: string;\n\n public readonly conductingOrganizationCaseId?: string;\n\n @Type(() => CaseServiceNotification)\n public readonly conductingOrganizationNotification?: CaseServiceNotification;\n\n public readonly location?: string;\n\n @IsDateTimeInfo()\n public readonly dateTimeScheduled?: DateTimeInfo;\n\n @IsDateTimeInfo()\n public readonly dateTimeCompleted?: DateTimeInfo;\n\n public readonly details?: string;\n\n constructor(args?: Partial) {\n this.id = args?.id;\n this.statusId = args?.statusId;\n this.assignee = args?.assignee;\n this.conductingOrganizationId = args?.conductingOrganizationId;\n this.conductingOrganizationCaseId = args?.conductingOrganizationCaseId;\n this.conductingOrganizationNotification = args?.conductingOrganizationNotification\n ? new CaseServiceNotification(args.conductingOrganizationNotification)\n : undefined;\n this.location = args?.location;\n this.dateTimeScheduled = args?.dateTimeScheduled\n ? new DateTimeInfo(args.dateTimeScheduled)\n : undefined;\n this.dateTimeCompleted = args?.dateTimeCompleted\n ? new DateTimeInfo(args.dateTimeCompleted)\n : undefined;\n this.details = args?.details;\n }\n}\n","import { CaseService } from './case-service';\n\nexport enum CaseServiceRequirementType {\n Unknown = 0,\n Required = 1,\n Excluded = 2,\n}\n\nexport class CaseServiceCollection {\n public readonly requirementId?: string;\n\n public readonly instances!: TService[];\n\n constructor(args?: Partial>) {\n this.requirementId = args?.requirementId;\n this.instances = args?.instances ?? [];\n }\n}\n","export enum CaseServiceType {\n Unknown = 0,\n Autopsy = 1,\n MedicolegalInvestigation = 2,\n DonationProcurement = 3,\n}\n","import { Type } from 'class-transformer';\nimport { CaseService } from './case-service';\nimport { CaseServiceCollection } from './case-services';\n\nexport class Autopsy extends CaseService {}\n\nexport class AutopsyServiceCollection extends CaseServiceCollection {\n @Type(() => Autopsy)\n public readonly instances!: Autopsy[];\n\n constructor(args?: Partial) {\n super(args);\n this.instances = args?.instances\n ? args.instances.map((i) => new Autopsy(i))\n : [];\n }\n}\n","import { Type } from 'class-transformer';\nimport { CaseService } from './case-service';\nimport { CaseServiceCollection } from './case-services';\n\nexport enum DonationProcurementType {\n Unknown = 0,\n Organ = 1,\n Tissue = 2,\n Eye = 3,\n}\n\nexport class DonationProcurement extends CaseService {\n public readonly type!: DonationProcurementType;\n\n constructor(args?: Partial) {\n super(args);\n this.type = args?.type ?? DonationProcurementType.Unknown;\n }\n}\n\nexport class DonationProcurementCollection extends CaseServiceCollection {\n @Type(() => DonationProcurement)\n public readonly instances!: DonationProcurement[];\n\n constructor(args?: Partial) {\n super(args);\n this.instances = args?.instances\n ? args.instances.map((i) => new DonationProcurement(i))\n : [];\n }\n}\n","import { Type } from 'class-transformer';\nimport { DateTimeInfo, IsDateTimeInfo } from '../../dates';\nimport { CaseService } from './case-service';\nimport { CaseServiceCollection } from './case-services';\n\nexport class Authorization {\n public readonly requested?: boolean;\n\n @IsDateTimeInfo()\n public readonly completedOn?: DateTimeInfo;\n\n public readonly completedBy?: string;\n\n constructor(args: Partial) {\n this.requested = args?.requested;\n this.completedOn = args?.completedOn\n ? new DateTimeInfo(args.completedOn)\n : undefined;\n this.completedBy = args?.completedBy;\n }\n}\n\nexport class MedicolegalInvestigation extends CaseService {\n @Type(() => Authorization)\n public readonly cremationViewing?: Authorization;\n\n public readonly reasonForEngagementId?: string;\n\n public readonly fluidLocationId?: string;\n\n constructor(args: Partial) {\n super(args);\n this.cremationViewing = args?.cremationViewing;\n this.reasonForEngagementId = args?.reasonForEngagementId;\n this.fluidLocationId = args?.fluidLocationId;\n }\n}\n\nexport class MedicolegalInvestigationCollection extends CaseServiceCollection {\n @Type(() => MedicolegalInvestigation)\n public readonly instances!: MedicolegalInvestigation[];\n\n constructor(args?: Partial) {\n super(args);\n this.instances = args?.instances\n ? args.instances.map((i) => new MedicolegalInvestigation(i))\n : [];\n }\n}\n","import { Transform, Type } from 'class-transformer';\nimport { IIdentifiable } from '../interfaces/identifiable';\nimport { AutopsyCollection } from './autopsy-collection';\nimport { NotesCollection } from './notes-collection';\nimport { FuneralHome } from './funeral-home';\nimport { OrganDonationCollection } from './organ-donation-collection';\nimport { DecedentInfo } from './decedent-info';\nimport { BelongingsCollection } from './personal-belongings-collection';\nimport { TagsCollection } from './tags-collection';\nimport { TransportHistory } from './transport-history';\nimport { DocumentCollection } from './document-collection';\nimport { CaseAction } from './case-action';\nimport { MedicalExaminer } from './medical-examiner';\nimport { InfectiousDisease } from './infectious-disease';\nimport {\n ExternalOriginLocation,\n InternalOriginLocation,\n OriginLocation,\n OriginLocationType,\n} from './origin-location';\nimport { CaseHold } from './hold';\nimport { CaseNotice } from './notice';\nimport { NextOfKinCollection } from './next-of-kin-collection';\nimport { DeathCertificate } from './death-certificate';\nimport {\n AutopsyServiceCollection,\n DonationProcurementCollection,\n MedicolegalInvestigationCollection,\n} from './services';\n\nexport class Case implements Partial> {\n public id?: string;\n\n public isOpen!: boolean;\n\n public typeId?: string;\n\n public reportedBy?: string;\n\n public touches?: number;\n\n public storageLocationId?: string;\n\n public bodyboxId?: string;\n\n public financialIdentificationNumber?: string;\n\n @Type(() => CaseNotice)\n public notices?: CaseNotice[];\n\n @Type(() => DecedentInfo)\n public decedent?: DecedentInfo;\n\n @Type(() => CaseHold)\n public holds?: CaseHold;\n\n @Type(() => DeathCertificate)\n public deathCertificate?: DeathCertificate;\n\n @Type(() => AutopsyCollection)\n public autopsies?: AutopsyCollection;\n\n @Type(() => AutopsyServiceCollection)\n public autopsyServices?: AutopsyServiceCollection;\n\n @Type(() => TagsCollection)\n public tags?: TagsCollection;\n\n @Type(() => BelongingsCollection)\n public property?: BelongingsCollection;\n\n @Type(() => OrganDonationCollection)\n public organDonations?: OrganDonationCollection;\n\n @Type(() => DonationProcurementCollection)\n public donationProcurements?: DonationProcurementCollection;\n\n @Type(() => OriginLocation)\n @Transform(({ value }) => {\n if (!value || !('type' in value)) return value;\n if (value.type === OriginLocationType.Internal)\n return new InternalOriginLocation(value);\n if (value.type === OriginLocationType.External)\n return new ExternalOriginLocation(value);\n throw new Error('Unable to construct OriginLocation - type is invalid.');\n })\n public originLocation?: OriginLocation;\n\n @Type(() => MedicalExaminer)\n public medicalExaminer?: MedicalExaminer;\n\n @Type(() => MedicolegalInvestigationCollection)\n public medicolegalInvestigations?: MedicolegalInvestigationCollection;\n\n @Type(() => FuneralHome)\n public funeralHome?: FuneralHome;\n\n @Type(() => InfectiousDisease)\n public infectiousDisease?: InfectiousDisease;\n\n @Type(() => NextOfKinCollection)\n public nextOfKin?: NextOfKinCollection;\n\n @Type(() => NotesCollection)\n public notes?: NotesCollection;\n\n @Type(() => TransportHistory)\n public transportHistory?: TransportHistory;\n\n @Type(() => DocumentCollection)\n public documents?: DocumentCollection;\n\n @Type(() => CaseAction)\n public readonly checkIn?: Readonly;\n\n @Type(() => CaseAction)\n public readonly checkOut?: Readonly;\n\n constructor(args?: Partial) {\n this.id = args?.id;\n this.isOpen = args?.isOpen || true;\n this.typeId = args?.typeId;\n this.reportedBy = args?.reportedBy;\n this.touches = args?.touches;\n this.storageLocationId = args?.storageLocationId;\n this.bodyboxId = args?.bodyboxId;\n this.notices = args?.notices;\n this.decedent = args?.decedent;\n this.holds = args?.holds;\n this.deathCertificate = args?.deathCertificate;\n this.autopsies = args?.autopsies;\n this.autopsyServices = args?.autopsyServices;\n this.tags = args?.tags;\n this.property = args?.property;\n this.organDonations = args?.organDonations;\n this.donationProcurements = args?.donationProcurements;\n this.originLocation = args?.originLocation;\n this.medicalExaminer = args?.medicalExaminer;\n this.medicolegalInvestigations = args?.medicolegalInvestigations;\n this.funeralHome = args?.funeralHome;\n this.infectiousDisease = args?.infectiousDisease;\n this.nextOfKin = args?.nextOfKin;\n this.notes = args?.notes;\n this.transportHistory = args?.transportHistory;\n this.documents = args?.documents;\n }\n\n public addNotices(notices?: CaseNotice[]) {\n if (this.notices) throw new Error('Notices collection already exists.');\n\n this.notices = notices || [];\n\n return this;\n }\n\n public addDecedentInfo(info?: DecedentInfo) {\n if (this.decedent) throw new Error('Decedent info already exists.');\n\n this.decedent = info || new DecedentInfo();\n\n return this;\n }\n\n public addHolds(hold?: CaseHold) {\n if (this.holds) throw new Error('A hold already exists.');\n\n this.holds = hold || new CaseHold();\n\n return this;\n }\n\n public addDeathCertificate(deathCertificate?: DeathCertificate) {\n if (this.deathCertificate)\n throw new Error('A death certificate already exists.');\n\n this.deathCertificate = deathCertificate || new DeathCertificate();\n\n return this;\n }\n\n public addAutopsyCollection(collection?: AutopsyCollection) {\n if (this.autopsies)\n throw new Error('An autopsy collection already exists.');\n\n this.autopsies = collection || new AutopsyCollection();\n\n return this;\n }\n\n public addAutopsyServiceCollection(collection?: AutopsyServiceCollection) {\n if (this.autopsyServices)\n throw new Error('An autopsy service collection already exists.');\n\n this.autopsyServices = collection || new AutopsyServiceCollection();\n\n return this;\n }\n\n public addTagsCollection(collection?: TagsCollection) {\n if (this.tags) throw new Error('A tags collection already exists.');\n\n this.tags = collection || new TagsCollection();\n\n return this;\n }\n\n public addBelongingsCollection(collection?: BelongingsCollection) {\n if (this.property)\n throw new Error('A personal belongings collection already exists.');\n\n this.property = collection || new BelongingsCollection();\n\n return this;\n }\n\n public addOrganDonationCollection(collection?: OrganDonationCollection) {\n if (this.organDonations)\n throw new Error('An organ donation collection already exists.');\n\n this.organDonations = collection || new OrganDonationCollection();\n\n return this;\n }\n\n public addDonationProcurementCollection(\n collection?: DonationProcurementCollection\n ) {\n if (this.donationProcurements)\n throw new Error('A donation procurement collection already exists.');\n\n this.donationProcurements =\n collection || new DonationProcurementCollection();\n\n return this;\n }\n\n public addOriginLocation(location?: OriginLocation) {\n if (this.originLocation)\n throw new Error('An origin location already exists.');\n\n this.originLocation = location || new InternalOriginLocation();\n\n return this;\n }\n\n public addMedicalExaminerUnit(medicalExaminer?: MedicalExaminer) {\n if (this.medicalExaminer)\n throw new Error('A medical examiner already exists.');\n\n this.medicalExaminer = medicalExaminer || new MedicalExaminer();\n\n return this;\n }\n\n public addMedicolegalInvestigationCollection(\n collection?: MedicolegalInvestigationCollection\n ) {\n if (this.medicolegalInvestigations)\n throw new Error('A medicolegal investigation collection already exists.');\n\n this.medicolegalInvestigations =\n collection || new MedicolegalInvestigationCollection();\n\n return this;\n }\n\n public addFuneralHome(funeralHome?: FuneralHome) {\n if (this.funeralHome) throw new Error('A funeral home already exists.');\n\n this.funeralHome = funeralHome || new FuneralHome();\n\n return this;\n }\n\n public addInfectiousDisease(infectiousDisease?: InfectiousDisease) {\n if (this.infectiousDisease)\n throw new Error('Infectious disease already exists.');\n\n this.infectiousDisease = infectiousDisease || new InfectiousDisease();\n\n return this;\n }\n\n public addNextOfKinCollection(nextOfKinCollection?: NextOfKinCollection) {\n if (this.nextOfKin)\n throw new Error('Next of kin collection already exists.');\n\n this.nextOfKin = nextOfKinCollection || new NextOfKinCollection();\n\n return this;\n }\n\n public addNotesCollection(notes?: NotesCollection) {\n if (this.notes) throw new Error('A notes collection already exists.');\n\n this.notes = notes || new NotesCollection();\n\n return this;\n }\n\n public addDocumentsCollection(collection?: DocumentCollection) {\n if (this.documents)\n throw new Error('A documents collection already exists.');\n\n this.documents = collection || new DocumentCollection();\n\n return this;\n }\n}\n","export class TransportPermissionReport {\n public readonly allowed!: boolean;\n\n public readonly holds!: Readonly;\n}\n","export enum CustodyStatus {\n Unknown = 0,\n Expected = 1,\n InCustody = 2,\n Departed = 3,\n}\n","export const EventCategory = {\n UserAccess: 'User Access',\n Integration: 'Integration',\n CaseGeneral: 'General',\n CaseNote: 'Case Notes',\n CaseHold: 'Case Hold',\n DecedentTransport: 'Transport',\n DecedentNextOfKin: 'Next Of Kin',\n DecedentAutopsy: 'Autopsy',\n DecedentMedicolegalInvestigation: 'Investigation',\n DecedentDonationProcurement: 'Donation Procurements',\n DecedentFuneralHome: 'Funeral Home',\n Document: 'Documents',\n} as const;\n\n// eslint-disable-next-line no-redeclare\nexport type EventCategory = typeof EventCategory[keyof typeof EventCategory];\n","export enum RequirementStatus {\n Unknown = 0,\n Required = 1,\n Excluded = 2,\n}\n","export const EventType = {\n IntegrationMessageReceived: 'Message Received',\n CaseViewed: 'Case Viewed',\n CaseDocumentUploaded: 'Document Uploaded',\n CaseDocumentDownloaded: 'Document Downloaded',\n CaseDocumentRemoved: 'Document Removed',\n CaseCreated: 'Case Created',\n CaseUpdated: 'Case Updated',\n CaseOpened: 'Case Opened',\n CaseClosed: 'Case Closed',\n CaseTouched: 'Case Touched',\n CaseHoldAdded: 'Case Hold Added',\n CaseHoldRemoved: 'Case Hold Removed',\n CaseNoteAdded: 'Case Note Added',\n CaseNoteModified: 'Case Note Modified',\n CaseNoteRemoved: 'Case Note Removed',\n DecedentCheckedIn: 'Decedent Checked In',\n DecedentTransferred: 'Decedent Transferred',\n DecedentCheckedOut: 'Decedent Checked Out',\n NextOfKinIdentified: 'Next Of Kin Identified',\n NextOfKinNotified: 'Next Of Kin Notified',\n AutopsyStatusUpdated: 'Autopsy Status Updated',\n AutopsyCompleted: 'Autopsy Completed',\n MedicolegalInvestigationStatusUpdated: 'Investigation Status Updated',\n MedicolegalInvestigationCompleted: 'Investigation Completed',\n DonationProcurementStatusUpdated: 'Donation Procurement Status Updated',\n DonationProcurementCompleted: 'Donation Procurement Completed',\n FuneralHomeNotified: 'Funeral Home Notified',\n} as const;\n\n// eslint-disable-next-line no-redeclare\nexport type EventType = typeof EventType[keyof typeof EventType];\n","import { EventCategory } from './event-category';\nimport { EventType } from './event-type';\n\nexport const EventHierarchy = {\n [EventCategory.UserAccess]: [\n EventType.CaseViewed,\n EventType.CaseDocumentDownloaded,\n ],\n [EventCategory.Integration]: [EventType.IntegrationMessageReceived],\n [EventCategory.CaseGeneral]: [\n EventType.CaseCreated,\n EventType.CaseUpdated,\n EventType.CaseOpened,\n EventType.CaseClosed,\n EventType.CaseTouched,\n ],\n [EventCategory.CaseHold]: [\n EventType.CaseHoldAdded,\n EventType.CaseHoldRemoved,\n ],\n [EventCategory.Document]: [\n EventType.CaseDocumentUploaded,\n EventType.CaseDocumentDownloaded,\n EventType.CaseDocumentRemoved,\n ],\n [EventCategory.CaseNote]: [EventType.CaseNoteAdded],\n [EventCategory.DecedentAutopsy]: [\n EventType.AutopsyStatusUpdated,\n EventType.AutopsyCompleted,\n ],\n [EventCategory.DecedentDonationProcurement]: [\n EventType.DonationProcurementStatusUpdated,\n EventType.DonationProcurementCompleted,\n ],\n [EventCategory.DecedentFuneralHome]: [EventType.FuneralHomeNotified],\n [EventCategory.DecedentNextOfKin]: [\n EventType.NextOfKinIdentified,\n EventType.NextOfKinNotified,\n ],\n [EventCategory.DecedentMedicolegalInvestigation]: [\n EventType.MedicolegalInvestigationStatusUpdated,\n EventType.MedicolegalInvestigationCompleted,\n ],\n [EventCategory.DecedentTransport]: [\n EventType.DecedentCheckedIn,\n EventType.DecedentCheckedOut,\n EventType.DecedentTransferred,\n ],\n} as const;\n","export class DictionaryItem {\n public readonly id!: string;\n public readonly name!: string;\n public readonly externalId?: string;\n public readonly activated?: boolean;\n\n constructor(args?: DictionaryItem) {\n if (args) {\n this.id = args?.id;\n this.name = args?.name;\n this.externalId = args?.externalId;\n this.activated = args?.activated ?? true;\n }\n }\n}\n\nexport abstract class FilterableDictionaryItem extends DictionaryItem {\n abstract get filterValue(): unknown;\n}\n","import { DictionaryItem } from './dictionary-item';\n\nexport class CaseTypeDictionaryItem extends DictionaryItem {\n public readonly critical: boolean;\n\n constructor(args?: CaseTypeDictionaryItem) {\n super(args);\n this.critical = args?.critical ?? false;\n }\n}\n","import { CaseServiceRequirementType, CaseServiceType } from '../case';\nimport { FilterableDictionaryItem } from './dictionary-item';\n\nexport class CaseServiceRequirementDictionaryItem extends FilterableDictionaryItem {\n public readonly serviceType!: CaseServiceType;\n public readonly requirementType!: CaseServiceRequirementType;\n\n constructor(args?: CaseServiceRequirementDictionaryItem) {\n super(args);\n this.serviceType = args?.serviceType ?? CaseServiceType.Unknown;\n this.requirementType =\n args?.requirementType ?? CaseServiceRequirementType.Unknown;\n }\n\n public get filterValue() {\n return this.serviceType;\n }\n}\n","import { CaseServiceType } from '../case';\nimport { FilterableDictionaryItem } from './dictionary-item';\n\nexport class CaseServiceStatusDictionaryItem extends FilterableDictionaryItem {\n public readonly serviceType!: CaseServiceType;\n public readonly triggersCaseHold!: boolean;\n public readonly indicatesCompletion!: boolean;\n\n constructor(args?: CaseServiceStatusDictionaryItem) {\n super(args);\n this.serviceType = args?.serviceType ?? CaseServiceType.Unknown;\n this.triggersCaseHold = args?.triggersCaseHold ?? false;\n this.indicatesCompletion = args?.indicatesCompletion ?? false;\n }\n\n public get filterValue() {\n return this.serviceType;\n }\n}\n","import { DictionaryItem } from './dictionary-item';\n\nexport class FluidLocationDictionaryItem extends DictionaryItem {\n public readonly triggersInsight: boolean;\n\n constructor(args?: FluidLocationDictionaryItem) {\n super(args);\n this.triggersInsight = args?.triggersInsight ?? false;\n }\n}\n","import { DictionaryItem } from './dictionary-item';\n\nexport class NextOfKinTypeDictionaryItem extends DictionaryItem {\n public readonly triggersCaseHold: boolean;\n\n constructor(args?: NextOfKinTypeDictionaryItem) {\n super(args);\n this.triggersCaseHold = args?.triggersCaseHold ?? false;\n }\n}\n","import { Address } from '../address';\nimport { FilterableDictionaryItem } from './dictionary-item';\n\nexport enum AssociateOrganizationType {\n Unknown = 0,\n AutopsyVendor = 1,\n FuneralHome = 2,\n OrganBank = 3,\n MedicalExaminer = 4,\n}\n\nexport class OrganizationDictionaryItem extends FilterableDictionaryItem {\n public readonly type!: AssociateOrganizationType;\n public readonly address?: Address;\n public readonly contactPhoneNumber?: string;\n public readonly contactFaxNumber?: string;\n public readonly contactEmailAddress?: string;\n\n public get filterValue() {\n return this.type;\n }\n\n constructor(args?: Omit) {\n super(args);\n this.type = args?.type ?? AssociateOrganizationType.Unknown;\n this.address = args?.address ? new Address(args.address) : undefined;\n this.contactPhoneNumber = args?.contactPhoneNumber;\n this.contactFaxNumber = args?.contactFaxNumber;\n this.contactEmailAddress = args?.contactEmailAddress;\n }\n}\n","import { OriginLocationType } from '../case';\nimport { FilterableDictionaryItem } from './dictionary-item';\n\nexport class OriginLocationDictionaryItem extends FilterableDictionaryItem {\n public readonly type!: OriginLocationType;\n\n public get filterValue() {\n return this.type;\n }\n\n constructor(args?: Omit) {\n super(args);\n this.type = args?.type ?? OriginLocationType.Unknown;\n }\n}\n","import { DictionaryItem } from './dictionary-item';\n\nexport class SigningPhysicianStatusDictionaryItem extends DictionaryItem {\n public readonly triggersCaseHold!: boolean;\n\n constructor(args?: SigningPhysicianStatusDictionaryItem) {\n super(args);\n this.triggersCaseHold = args?.triggersCaseHold ?? false;\n }\n}\n","import { Type } from 'class-transformer';\nimport { IIdentifiable } from './interfaces';\n\nexport enum TagType {\n Case = 0,\n Hold = 1,\n Note = 2,\n}\n\nexport class TagDisplayOptions {\n public readonly color!: string;\n public readonly colorLevel!: number;\n\n constructor(args?: TagDisplayOptions) {\n if (!args) return;\n this.color = args.color;\n this.colorLevel = args.colorLevel;\n }\n}\n\nexport class DisplayTag {\n public readonly label!: string;\n\n @Type(() => TagDisplayOptions)\n public readonly displayOptions?: TagDisplayOptions;\n\n public get isDefault() {\n return this.displayOptions?.color === 'default';\n }\n\n constructor(args?: Pick) {\n if (!args) return;\n this.label = args.label;\n this.displayOptions = args.displayOptions;\n }\n}\n\nexport class Tag implements IIdentifiable {\n public id!: string;\n public type!: TagType;\n public label!: string;\n public displayOptions?: TagDisplayOptions;\n\n constructor(args: Tag) {\n if (!args) return;\n if (!args.id) throw new Error('property \"id\" is required.');\n if (!args.type) throw new Error('property \"type\" is required.');\n if (!args.label) throw new Error('property \"label\" is required.');\n\n this.id = args.id;\n this.type = args.type;\n this.label = args.label;\n this.displayOptions = args.displayOptions;\n }\n}\n","import { TagDisplayOptions, TagType } from '../tag';\nimport { DictionaryItem } from './dictionary-item';\n\nexport class SystemTagDictionaryItem extends DictionaryItem {\n public readonly type: TagType;\n public readonly triggersCaseHold: boolean;\n public readonly displayOptions?: TagDisplayOptions;\n\n constructor(args?: Omit) {\n super(args);\n this.type = args?.type ?? TagType.Case;\n this.triggersCaseHold = args?.type === TagType.Hold;\n this.displayOptions = args?.displayOptions;\n }\n}\n\nexport class ComputedTagDictionaryItem {\n public readonly name!: string;\n public readonly triggersCaseHold!: boolean;\n public readonly description!: string;\n\n constructor(args?: ComputedTagDictionaryItem) {\n if (!args) return;\n this.name = args.name;\n this.triggersCaseHold = args.triggersCaseHold;\n this.description = args.description;\n }\n}\n","import { Transform, Type } from 'class-transformer';\nimport { DisplayTag } from '../../tag';\n\nconst transformLegacyTags = (value: unknown) =>\n Array.isArray(value)\n ? value.map((v) =>\n typeof v === 'string'\n ? new DisplayTag({ label: v as string })\n : new DisplayTag({\n label: v?.label,\n displayOptions: v?.displayOptions,\n })\n )\n : [];\n\nexport class CaseSummaryTags {\n @Type(() => DisplayTag)\n public readonly system!: DisplayTag[];\n\n @Type(() => DisplayTag)\n public readonly systemHolds!: DisplayTag[];\n\n @Transform(({ value }) => transformLegacyTags(value))\n @Type(() => DisplayTag)\n public readonly user!: DisplayTag[];\n\n @Transform(({ value }) => transformLegacyTags(value))\n @Type(() => DisplayTag)\n public readonly computed!: DisplayTag[];\n\n public get empty() {\n return (\n !this.system.length &&\n !this.systemHolds.length &&\n !this.user.length &&\n !this.computed.length\n );\n }\n}\n","import { Type } from 'class-transformer';\nimport { FormatDate, IsFormatDate } from '../../dates';\nimport { CaseAction } from '../case-action';\nimport { CaseNotice } from '../notice';\nimport { CaseTypeDictionaryItem, DictionaryItem } from '../../dictionaries';\nimport { CustodyStatus } from '../custody-status';\nimport { CaseSummaryTags } from './tags';\nimport { CaseSummaryInsights } from './insights';\nimport { OriginLocationSummary } from './origin-location-summary';\n\nexport class CaseSummary {\n public readonly id!: string;\n\n public readonly isOpen!: boolean;\n\n public readonly custodyStatus!: CustodyStatus;\n\n public readonly decedentName?: string;\n\n public readonly decedentAlias?: string;\n\n public get displayName(): string {\n const { decedentName: name, decedentAlias: alias } = this;\n return name || alias\n ? name + (alias ? ` (${alias})` : '')\n : 'Unidentified Decedent';\n }\n\n public readonly decedentMedicalRecordNumber?: string;\n\n public readonly decedentAlternateMedicalRecordNumbers!: string[];\n\n @IsFormatDate\n public readonly decedentDateOfBirth?: FormatDate;\n\n @IsFormatDate\n public readonly decedentExpirationDate?: FormatDate;\n\n @Type(() => DictionaryItem)\n public readonly gender?: DictionaryItem;\n\n public readonly bodyboxId?: string;\n\n public readonly bodybox?: string;\n\n public readonly storageLabel?: string;\n\n public readonly storageLocation?: string;\n\n public readonly originLocation?: OriginLocationSummary;\n\n @Type(() => CaseTypeDictionaryItem)\n public readonly caseType?: CaseTypeDictionaryItem;\n\n @Type(() => CaseSummaryTags)\n public readonly tags!: CaseSummaryTags;\n\n @Type(() => CaseNotice)\n public readonly notices!: CaseNotice[];\n\n @Type(() => CaseSummaryInsights)\n public readonly insights!: CaseSummaryInsights;\n\n @Type(() => CaseAction)\n public readonly checkIn!: CaseAction;\n\n @Type(() => CaseAction)\n public readonly checkOut!: CaseAction;\n}\n","import { Type } from 'class-transformer';\nimport { FormatDate, IsFormatDate } from '../../dates';\nimport { CaseAction } from '../case-action';\nimport { CaseNotice } from '../notice';\nimport { CaseSummaryTags } from './tags';\nimport { OriginLocationSummary } from './origin-location-summary';\nimport { CaseSummaryInsights } from './insights';\n\nexport interface CaseTypeSummary {\n readonly name: string;\n readonly critical: boolean;\n}\n\nexport class ReservationCaseSummary {\n public readonly id!: string;\n\n public readonly decedentName?: string;\n\n public readonly decedentAlias?: string;\n\n public get displayName(): string {\n const { decedentName: name, decedentAlias: alias } = this;\n return name || alias\n ? name + (alias ? ` (${alias})` : '')\n : 'Unidentified Decedent';\n }\n\n public readonly decedentMedicalRecordNumber?: string;\n\n public readonly decedentAlternateMedicalRecordNumbers!: string[];\n\n @IsFormatDate\n public readonly decedentDateOfBirth?: FormatDate;\n\n @IsFormatDate\n public readonly decedentExpirationDate?: FormatDate;\n\n public readonly caseType?: CaseTypeSummary;\n\n public readonly originLocation?: OriginLocationSummary;\n\n @Type(() => CaseSummaryTags)\n public readonly tags!: CaseSummaryTags;\n\n @Type(() => CaseAction)\n public readonly checkIn!: CaseAction;\n\n @Type(() => CaseNotice)\n public readonly notices!: CaseNotice[];\n\n @Type(() => CaseSummaryInsights)\n public readonly insights!: CaseSummaryInsights;\n}\n","import { Type } from 'class-transformer';\nimport { FormatDate, IsFormatDate } from '../../dates';\nimport { CaseAction } from '../case-action';\nimport { CaseNotice } from '../notice';\nimport { CaseTypeDictionaryItem } from '../../dictionaries';\nimport { BodyboxStorageLocation } from '../../bodybox';\nimport { CaseSummaryTags } from './tags';\nimport { CaseSummaryInsights } from './insights';\n\nexport class BodyboxStorageLocationSummary extends BodyboxStorageLocation {\n public readonly storageType!: string;\n}\n\nexport class BodyboxCaseSummary {\n public readonly id!: string;\n\n public readonly bodyboxId!: string;\n\n public readonly bodybox?: string;\n\n public readonly caseType?: CaseTypeDictionaryItem;\n\n public readonly decedentName?: string;\n\n public readonly decedentAlias?: string;\n\n public get displayName(): string {\n const { decedentName: name, decedentAlias: alias } = this;\n return name || alias\n ? name + (alias ? ` (${alias})` : '')\n : 'Unidentified Decedent';\n }\n\n public readonly decedentMedicalRecordNumber?: string;\n\n public readonly decedentAlternateMedicalRecordNumbers!: string[];\n\n @IsFormatDate\n public readonly decedentDateOfBirth?: FormatDate;\n\n @IsFormatDate\n public readonly decedentExpirationDate?: FormatDate;\n\n @Type(() => BodyboxStorageLocationSummary)\n public readonly storageLocation?: BodyboxStorageLocationSummary;\n\n @Type(() => CaseSummaryTags)\n public readonly tags!: CaseSummaryTags;\n\n @Type(() => CaseAction)\n public readonly checkOut!: CaseAction;\n\n @Type(() => CaseNotice)\n public readonly notices!: CaseNotice[];\n\n @Type(() => CaseSummaryInsights)\n public readonly insights!: CaseSummaryInsights;\n}\n","import { CaseAction } from '../case-action';\nimport {\n FormatDate,\n FormatDateTime,\n IsFormatDate,\n IsFormatDateTime,\n} from '../../dates';\nimport { OriginLocationSummary } from './origin-location-summary';\n\nexport class OutboxCaseSummary {\n public readonly id!: string;\n\n public readonly isOpen!: boolean;\n\n public readonly decedentName?: string;\n\n public readonly decedentAlias?: string;\n\n public get displayName(): string {\n const { decedentName: name, decedentAlias: alias } = this;\n return name || alias\n ? name + (alias ? ` (${alias})` : '')\n : 'Unidentified Decedent';\n }\n\n public readonly decedentMedicalRecordNumber?: string;\n\n public readonly decedentAlternateMedicalRecordNumbers!: string[];\n\n @IsFormatDate\n public readonly decedentDateOfBirth?: FormatDate;\n\n @IsFormatDate\n public readonly decedentExpirationDate!: FormatDate;\n\n @IsFormatDateTime\n public readonly lastCheckoutDate!: FormatDateTime;\n\n public readonly checkedOutBy!: string;\n\n readonly originLocation?: OriginLocationSummary;\n\n public readonly lastBodybox!: string;\n\n public readonly checkIn!: CaseAction;\n}\n","export class Location {\n public readonly id?: string;\n public name?: string;\n public streetAddress?: string;\n public city?: string;\n public state?: string;\n public zipCode?: string;\n public phoneNumber?: string;\n public emailAddress?: string;\n\n constructor(args?: Location) {\n this.id = args?.id;\n this.name = args?.name;\n this.streetAddress = args?.streetAddress;\n this.city = args?.city;\n this.state = args?.state;\n this.zipCode = args?.zipCode;\n this.phoneNumber = args?.phoneNumber;\n this.emailAddress = args?.emailAddress;\n }\n}\n","import { ReportFormat } from './report-format';\n\nexport interface ReportDefinition {\n readonly id: string;\n readonly name: string;\n readonly format: ReportFormat;\n readonly formatLabel: string;\n}\n\nexport enum ReportTemplateType {\n Unknown = 0,\n Table = 1,\n}\n\nexport interface ReportTemplateDefinition {\n readonly id: number;\n readonly name: string;\n readonly types: ReportTemplateType[];\n}\n","export enum ReportFormat {\n Unknown = 0,\n CSV = 1,\n PDF = 2,\n}\n","export class PageResult {\n public readonly pageNumber!: number;\n\n public readonly pageSize!: number;\n\n public readonly totalRecords!: number;\n\n public readonly data!: TData[];\n}\n","export class SocialSecurityNumber {\n private _ssn: string;\n private delimiter: string;\n\n constructor(\n ssn: string,\n options: { delimiter: string } = { delimiter: '-' }\n ) {\n this._ssn = this.getRawSSN(ssn);\n this.delimiter = options.delimiter;\n }\n\n /** The formatted/masked value of the SSN. */\n get value() {\n return this.formatSSN(this._ssn);\n }\n\n set value(value: string) {\n this._ssn = this.getRawSSN(this._ssn);\n }\n\n /** The unformatted, numeric only, value of the SSN. */\n public get raw() {\n return this._ssn;\n }\n\n /**\n * Gets a discretely masked version of the social security number, padded with asterisks.\n * @param asteriskLength The length of the asterisks to pad the SSN with.\n * @returns A discretely masked social security number.\n */\n public getDiscreteValue(asteriskLength: number = 5) {\n if (!this.isValid) {\n return this.value;\n }\n\n const raw = this.raw.slice(asteriskLength);\n const masked = raw.padStart(9, '*');\n\n return this.formatSSN(masked);\n }\n\n /** Indicates if the social security number is composed of a valid format. */\n public get isValid() {\n const parts = [...this.raw]; // remove mask\n const nums = '0123456789';\n\n const isNumbers = parts.every((part) => nums.includes(part));\n const isLength = parts.length === 0 || parts.length === 9;\n\n return !!isNumbers && !!isLength;\n }\n\n /**\n * Validates the structure of the social security number. Errors are throw for each structure violation.\n */\n public validate() {\n const parts = [...this.raw]; // remove mask\n const nums = '0123456789';\n\n if (!parts.every((part) => nums.includes(part)))\n throw new Error('Social Security Number must contain only numbers.');\n\n if (parts.length !== 0 && parts.length !== 9)\n throw new Error('Social Security Number must be 9 digits long.');\n }\n\n private formatSSN(value: string): string {\n // https://codepen.io/ashblue/pen/LGeqxx\n\n if (typeof value !== 'string') {\n throw new TypeError('Social Security Number value must be a string.');\n }\n\n let maskedValue = value.replace(/[^0-9|\\\\*]/g, '');\n maskedValue = maskedValue.substring(0, 9);\n\n // Inject dashes\n if (maskedValue.length >= 4) {\n maskedValue =\n maskedValue.slice(0, 3) + this.delimiter + maskedValue.slice(3);\n }\n\n if (maskedValue.length >= 7) {\n maskedValue =\n maskedValue.slice(0, 6) + this.delimiter + maskedValue.slice(6);\n }\n\n return maskedValue;\n }\n\n private getRawSSN(value: string) {\n if (typeof value !== 'string') {\n throw new TypeError('Social Security Number value must be a string.');\n }\n\n return value.replace(/-/g, '');\n }\n}\n","import type { TenantConfiguration } from './configuration';\n\nexport class Tenant {\n public readonly id: string;\n public readonly name: string;\n public readonly configuration: TenantConfiguration;\n public readonly activated: boolean;\n\n constructor(args?: Tenant);\n constructor(args: Tenant) {\n this.id = args?.id;\n this.name = args?.name;\n this.configuration = args?.configuration;\n this.activated = args?.activated;\n }\n}\n","export enum MassUnit {\n Unknown = 0,\n Centigram = 1,\n Decagram = 2,\n Decigram = 3,\n EarthMass = 4,\n Femtogram = 35,\n Grain = 5,\n Gram = 6,\n Hectogram = 7,\n Kilogram = 8,\n Kilopound = 9,\n Kilotonne = 10,\n LongHundredweight = 11,\n LongTon = 12,\n Megapound = 13,\n Megatonne = 14,\n Microgram = 0xf,\n Milligram = 0x10,\n Nanogram = 17,\n Ounce = 18,\n Picogram = 29,\n Pound = 19,\n ShortHundredweight = 20,\n ShortTon = 21,\n Slug = 22,\n SolarMass = 23,\n Stone = 24,\n Tonne = 25,\n}\n","export class User {\n public readonly id!: string;\n\n public readonly firstName?: string;\n\n public readonly lastName?: string;\n\n public readonly emailAddress!: string;\n\n public readonly accessScopes!: string[];\n\n constructor(args?: Omit);\n constructor(args: Omit) {\n if (!args) return;\n this.id = args.id;\n this.firstName = args?.firstName;\n this.lastName = args?.lastName;\n this.emailAddress = args.emailAddress;\n this.accessScopes = args.accessScopes;\n }\n\n public get displayName() {\n return `${this.firstName} ${this.lastName}`.trim();\n }\n}\n","import { FormatDateTime, IsFormatDateTime } from './dates';\n\nexport class UserInvitation {\n public readonly id!: string;\n\n public readonly emailAddress!: string;\n\n @IsFormatDateTime\n public readonly localDateTimeCreated!: FormatDateTime;\n\n @IsFormatDateTime\n public readonly localDateTimeExpiresAt!: FormatDateTime;\n\n public readonly accessScopes!: string[];\n\n constructor(args?: UserInvitation);\n constructor(args: UserInvitation) {\n if (!args) return;\n this.id = args.id;\n this.emailAddress = args.emailAddress;\n this.localDateTimeCreated = new FormatDateTime(args.localDateTimeCreated);\n this.localDateTimeExpiresAt = new FormatDateTime(\n args.localDateTimeExpiresAt\n );\n this.accessScopes = args.accessScopes;\n }\n}\n","import Vue from 'vue'\nimport { isSamePath as _isSamePath, joinURL, normalizeURL, withQuery, withoutTrailingSlash } from 'ufo'\n\n// window.{{globals.loadedCallback}} hook\n// Useful for jsdom testing or plugins (https://github.com/tmpvar/jsdom#dealing-with-asynchronous-script-loading)\nif (process.client) {\n window.onNuxtReadyCbs = []\n window.onNuxtReady = (cb) => {\n window.onNuxtReadyCbs.push(cb)\n }\n}\n\nexport function createGetCounter (counterObject, defaultKey = '') {\n return function getCounter (id = defaultKey) {\n if (counterObject[id] === undefined) {\n counterObject[id] = 0\n }\n return counterObject[id]++\n }\n}\n\nexport function empty () {}\n\nexport function globalHandleError (error) {\n if (Vue.config.errorHandler) {\n Vue.config.errorHandler(error)\n }\n}\n\nexport function interopDefault (promise) {\n return promise.then(m => m.default || m)\n}\n\nexport function hasFetch(vm) {\n return vm.$options && typeof vm.$options.fetch === 'function' && !vm.$options.fetch.length\n}\nexport function purifyData(data) {\n if (process.env.NODE_ENV === 'production') {\n return data\n }\n\n return Object.entries(data).filter(\n ([key, value]) => {\n const valid = !(value instanceof Function) && !(value instanceof Promise)\n if (!valid) {\n console.warn(`${key} is not able to be stringified. This will break in a production environment.`)\n }\n return valid\n }\n ).reduce((obj, [key, value]) => {\n obj[key] = value\n return obj\n }, {})\n}\nexport function getChildrenComponentInstancesUsingFetch(vm, instances = []) {\n const children = vm.$children || []\n for (const child of children) {\n if (child.$fetch) {\n instances.push(child)\n continue; // Don't get the children since it will reload the template\n }\n if (child.$children) {\n getChildrenComponentInstancesUsingFetch(child, instances)\n }\n }\n return instances\n}\n\nexport function applyAsyncData (Component, asyncData) {\n if (\n // For SSR, we once all this function without second param to just apply asyncData\n // Prevent doing this for each SSR request\n !asyncData && Component.options.__hasNuxtData\n ) {\n return\n }\n\n const ComponentData = Component.options._originDataFn || Component.options.data || function () { return {} }\n Component.options._originDataFn = ComponentData\n\n Component.options.data = function () {\n const data = ComponentData.call(this, this)\n if (this.$ssrContext) {\n asyncData = this.$ssrContext.asyncData[Component.cid]\n }\n return { ...data, ...asyncData }\n }\n\n Component.options.__hasNuxtData = true\n\n if (Component._Ctor && Component._Ctor.options) {\n Component._Ctor.options.data = Component.options.data\n }\n}\n\nexport function sanitizeComponent (Component) {\n // If Component already sanitized\n if (Component.options && Component._Ctor === Component) {\n return Component\n }\n if (!Component.options) {\n Component = Vue.extend(Component) // fix issue #6\n Component._Ctor = Component\n } else {\n Component._Ctor = Component\n Component.extendOptions = Component.options\n }\n // If no component name defined, set file path as name, (also fixes #5703)\n if (!Component.options.name && Component.options.__file) {\n Component.options.name = Component.options.__file\n }\n return Component\n}\n\nexport function getMatchedComponents (route, matches = false, prop = 'components') {\n return Array.prototype.concat.apply([], route.matched.map((m, index) => {\n return Object.keys(m[prop]).map((key) => {\n matches && matches.push(index)\n return m[prop][key]\n })\n }))\n}\n\nexport function getMatchedComponentsInstances (route, matches = false) {\n return getMatchedComponents(route, matches, 'instances')\n}\n\nexport function flatMapComponents (route, fn) {\n return Array.prototype.concat.apply([], route.matched.map((m, index) => {\n return Object.keys(m.components).reduce((promises, key) => {\n if (m.components[key]) {\n promises.push(fn(m.components[key], m.instances[key], m, key, index))\n } else {\n delete m.components[key]\n }\n return promises\n }, [])\n }))\n}\n\nexport function resolveRouteComponents (route, fn) {\n return Promise.all(\n flatMapComponents(route, async (Component, instance, match, key) => {\n // If component is a function, resolve it\n if (typeof Component === 'function' && !Component.options) {\n try {\n Component = await Component()\n } catch (error) {\n // Handle webpack chunk loading errors\n // This may be due to a new deployment or a network problem\n if (\n error &&\n error.name === 'ChunkLoadError' &&\n typeof window !== 'undefined' &&\n window.sessionStorage\n ) {\n const timeNow = Date.now()\n const previousReloadTime = parseInt(window.sessionStorage.getItem('nuxt-reload'))\n\n // check for previous reload time not to reload infinitely\n if (!previousReloadTime || previousReloadTime + 60000 < timeNow) {\n window.sessionStorage.setItem('nuxt-reload', timeNow)\n window.location.reload(true /* skip cache */)\n }\n }\n\n throw error\n }\n }\n match.components[key] = Component = sanitizeComponent(Component)\n return typeof fn === 'function' ? fn(Component, instance, match, key) : Component\n })\n )\n}\n\nexport async function getRouteData (route) {\n if (!route) {\n return\n }\n // Make sure the components are resolved (code-splitting)\n await resolveRouteComponents(route)\n // Send back a copy of route with meta based on Component definition\n return {\n ...route,\n meta: getMatchedComponents(route).map((Component, index) => {\n return { ...Component.options.meta, ...(route.matched[index] || {}).meta }\n })\n }\n}\n\nexport async function setContext (app, context) {\n // If context not defined, create it\n if (!app.context) {\n app.context = {\n isStatic: process.static,\n isDev: false,\n isHMR: false,\n app,\n store: app.store,\n payload: context.payload,\n error: context.error,\n base: app.router.options.base,\n env: {}\n }\n // Only set once\n\n if (context.req) {\n app.context.req = context.req\n }\n if (context.res) {\n app.context.res = context.res\n }\n\n if (context.ssrContext) {\n app.context.ssrContext = context.ssrContext\n }\n app.context.redirect = (status, path, query) => {\n if (!status) {\n return\n }\n app.context._redirected = true\n // if only 1 or 2 arguments: redirect('/') or redirect('/', { foo: 'bar' })\n let pathType = typeof path\n if (typeof status !== 'number' && (pathType === 'undefined' || pathType === 'object')) {\n query = path || {}\n path = status\n pathType = typeof path\n status = 302\n }\n if (pathType === 'object') {\n path = app.router.resolve(path).route.fullPath\n }\n // \"/absolute/route\", \"./relative/route\" or \"../relative/route\"\n if (/(^[.]{1,2}\\/)|(^\\/(?!\\/))/.test(path)) {\n app.context.next({\n path,\n query,\n status\n })\n } else {\n path = withQuery(path, query)\n if (process.server) {\n app.context.next({\n path,\n status\n })\n }\n if (process.client) {\n // https://developer.mozilla.org/en-US/docs/Web/API/Location/replace\n window.location.replace(path)\n\n // Throw a redirect error\n throw new Error('ERR_REDIRECT')\n }\n }\n }\n if (process.server) {\n app.context.beforeNuxtRender = fn => context.beforeRenderFns.push(fn)\n }\n if (process.client) {\n app.context.nuxtState = window.__NUXT__\n }\n }\n\n // Dynamic keys\n const [currentRouteData, fromRouteData] = await Promise.all([\n getRouteData(context.route),\n getRouteData(context.from)\n ])\n\n if (context.route) {\n app.context.route = currentRouteData\n }\n\n if (context.from) {\n app.context.from = fromRouteData\n }\n\n app.context.next = context.next\n app.context._redirected = false\n app.context._errored = false\n app.context.isHMR = false\n app.context.params = app.context.route.params || {}\n app.context.query = app.context.route.query || {}\n}\n\nexport function middlewareSeries (promises, appContext) {\n if (!promises.length || appContext._redirected || appContext._errored) {\n return Promise.resolve()\n }\n return promisify(promises[0], appContext)\n .then(() => {\n return middlewareSeries(promises.slice(1), appContext)\n })\n}\n\nexport function promisify (fn, context) {\n let promise\n if (fn.length === 2) {\n // fn(context, callback)\n promise = new Promise((resolve) => {\n fn(context, function (err, data) {\n if (err) {\n context.error(err)\n }\n data = data || {}\n resolve(data)\n })\n })\n } else {\n promise = fn(context)\n }\n\n if (promise && promise instanceof Promise && typeof promise.then === 'function') {\n return promise\n }\n return Promise.resolve(promise)\n}\n\n// Imported from vue-router\nexport function getLocation (base, mode) {\n if (mode === 'hash') {\n return window.location.hash.replace(/^#\\//, '')\n }\n\n base = decodeURI(base).slice(0, -1) // consideration is base is normalized with trailing slash\n let path = decodeURI(window.location.pathname)\n\n if (base && path.startsWith(base)) {\n path = path.slice(base.length)\n }\n\n const fullPath = (path || '/') + window.location.search + window.location.hash\n\n return normalizeURL(fullPath)\n}\n\n// Imported from path-to-regexp\n\n/**\n * Compile a string to a template function for the path.\n *\n * @param {string} str\n * @param {Object=} options\n * @return {!function(Object=, Object=)}\n */\nexport function compile (str, options) {\n return tokensToFunction(parse(str, options), options)\n}\n\nexport function getQueryDiff (toQuery, fromQuery) {\n const diff = {}\n const queries = { ...toQuery, ...fromQuery }\n for (const k in queries) {\n if (String(toQuery[k]) !== String(fromQuery[k])) {\n diff[k] = true\n }\n }\n return diff\n}\n\nexport function normalizeError (err) {\n let message\n if (!(err.message || typeof err === 'string')) {\n try {\n message = JSON.stringify(err, null, 2)\n } catch (e) {\n message = `[${err.constructor.name}]`\n }\n } else {\n message = err.message || err\n }\n return {\n ...err,\n message,\n statusCode: (err.statusCode || err.status || (err.response && err.response.status) || 500)\n }\n}\n\n/**\n * The main path matching regexp utility.\n *\n * @type {RegExp}\n */\nconst PATH_REGEXP = new RegExp([\n // Match escaped characters that would otherwise appear in future matches.\n // This allows the user to escape special characters that won't transform.\n '(\\\\\\\\.)',\n // Match Express-style parameters and un-named parameters with a prefix\n // and optional suffixes. Matches appear as:\n //\n // \"/:test(\\\\d+)?\" => [\"/\", \"test\", \"\\d+\", undefined, \"?\", undefined]\n // \"/route(\\\\d+)\" => [undefined, undefined, undefined, \"\\d+\", undefined, undefined]\n // \"/*\" => [\"/\", undefined, undefined, undefined, undefined, \"*\"]\n '([\\\\/.])?(?:(?:\\\\:(\\\\w+)(?:\\\\(((?:\\\\\\\\.|[^\\\\\\\\()])+)\\\\))?|\\\\(((?:\\\\\\\\.|[^\\\\\\\\()])+)\\\\))([+*?])?|(\\\\*))'\n].join('|'), 'g')\n\n/**\n * Parse a string for the raw tokens.\n *\n * @param {string} str\n * @param {Object=} options\n * @return {!Array}\n */\nfunction parse (str, options) {\n const tokens = []\n let key = 0\n let index = 0\n let path = ''\n const defaultDelimiter = (options && options.delimiter) || '/'\n let res\n\n while ((res = PATH_REGEXP.exec(str)) != null) {\n const m = res[0]\n const escaped = res[1]\n const offset = res.index\n path += str.slice(index, offset)\n index = offset + m.length\n\n // Ignore already escaped sequences.\n if (escaped) {\n path += escaped[1]\n continue\n }\n\n const next = str[index]\n const prefix = res[2]\n const name = res[3]\n const capture = res[4]\n const group = res[5]\n const modifier = res[6]\n const asterisk = res[7]\n\n // Push the current path onto the tokens.\n if (path) {\n tokens.push(path)\n path = ''\n }\n\n const partial = prefix != null && next != null && next !== prefix\n const repeat = modifier === '+' || modifier === '*'\n const optional = modifier === '?' || modifier === '*'\n const delimiter = res[2] || defaultDelimiter\n const pattern = capture || group\n\n tokens.push({\n name: name || key++,\n prefix: prefix || '',\n delimiter,\n optional,\n repeat,\n partial,\n asterisk: Boolean(asterisk),\n pattern: pattern ? escapeGroup(pattern) : (asterisk ? '.*' : '[^' + escapeString(delimiter) + ']+?')\n })\n }\n\n // Match any characters still remaining.\n if (index < str.length) {\n path += str.substr(index)\n }\n\n // If the path exists, push it onto the end.\n if (path) {\n tokens.push(path)\n }\n\n return tokens\n}\n\n/**\n * Prettier encoding of URI path segments.\n *\n * @param {string}\n * @return {string}\n */\nfunction encodeURIComponentPretty (str, slashAllowed) {\n const re = slashAllowed ? /[?#]/g : /[/?#]/g\n return encodeURI(str).replace(re, (c) => {\n return '%' + c.charCodeAt(0).toString(16).toUpperCase()\n })\n}\n\n/**\n * Encode the asterisk parameter. Similar to `pretty`, but allows slashes.\n *\n * @param {string}\n * @return {string}\n */\nfunction encodeAsterisk (str) {\n return encodeURIComponentPretty(str, true)\n}\n\n/**\n * Escape a regular expression string.\n *\n * @param {string} str\n * @return {string}\n */\nfunction escapeString (str) {\n return str.replace(/([.+*?=^!:${}()[\\]|/\\\\])/g, '\\\\$1')\n}\n\n/**\n * Escape the capturing group by escaping special characters and meaning.\n *\n * @param {string} group\n * @return {string}\n */\nfunction escapeGroup (group) {\n return group.replace(/([=!:$/()])/g, '\\\\$1')\n}\n\n/**\n * Expose a method for transforming tokens into the path function.\n */\nfunction tokensToFunction (tokens, options) {\n // Compile all the tokens into regexps.\n const matches = new Array(tokens.length)\n\n // Compile all the patterns before compilation.\n for (let i = 0; i < tokens.length; i++) {\n if (typeof tokens[i] === 'object') {\n matches[i] = new RegExp('^(?:' + tokens[i].pattern + ')$', flags(options))\n }\n }\n\n return function (obj, opts) {\n let path = ''\n const data = obj || {}\n const options = opts || {}\n const encode = options.pretty ? encodeURIComponentPretty : encodeURIComponent\n\n for (let i = 0; i < tokens.length; i++) {\n const token = tokens[i]\n\n if (typeof token === 'string') {\n path += token\n\n continue\n }\n\n const value = data[token.name || 'pathMatch']\n let segment\n\n if (value == null) {\n if (token.optional) {\n // Prepend partial segment prefixes.\n if (token.partial) {\n path += token.prefix\n }\n\n continue\n } else {\n throw new TypeError('Expected \"' + token.name + '\" to be defined')\n }\n }\n\n if (Array.isArray(value)) {\n if (!token.repeat) {\n throw new TypeError('Expected \"' + token.name + '\" to not repeat, but received `' + JSON.stringify(value) + '`')\n }\n\n if (value.length === 0) {\n if (token.optional) {\n continue\n } else {\n throw new TypeError('Expected \"' + token.name + '\" to not be empty')\n }\n }\n\n for (let j = 0; j < value.length; j++) {\n segment = encode(value[j])\n\n if (!matches[i].test(segment)) {\n throw new TypeError('Expected all \"' + token.name + '\" to match \"' + token.pattern + '\", but received `' + JSON.stringify(segment) + '`')\n }\n\n path += (j === 0 ? token.prefix : token.delimiter) + segment\n }\n\n continue\n }\n\n segment = token.asterisk ? encodeAsterisk(value) : encode(value)\n\n if (!matches[i].test(segment)) {\n throw new TypeError('Expected \"' + token.name + '\" to match \"' + token.pattern + '\", but received \"' + segment + '\"')\n }\n\n path += token.prefix + segment\n }\n\n return path\n }\n}\n\n/**\n * Get the flags for a regexp from the options.\n *\n * @param {Object} options\n * @return {string}\n */\nfunction flags (options) {\n return options && options.sensitive ? '' : 'i'\n}\n\nexport function addLifecycleHook(vm, hook, fn) {\n if (!vm.$options[hook]) {\n vm.$options[hook] = []\n }\n if (!vm.$options[hook].includes(fn)) {\n vm.$options[hook].push(fn)\n }\n}\n\nexport const urlJoin = joinURL\n\nexport const stripTrailingSlash = withoutTrailingSlash\n\nexport const isSamePath = _isSamePath\n\nexport function setScrollRestoration (newVal) {\n try {\n window.history.scrollRestoration = newVal;\n } catch(e) {}\n}\n","import { MutationTree } from 'vuex';\nimport { IDictionariesState } from './state';\nimport {\n AssociateOrganizationType,\n DictionaryItem,\n DictionaryType,\n OrganizationDictionaryItem,\n} from '~/app/models';\n\nexport enum Mutation {\n set = 'SET',\n setOrganizations = 'SET_ORGANIZATIONS',\n setAutopsyVendors = 'SET_AUTOPSY_VENDORS',\n setFuneralHomes = 'SET_FUNERAL_HOMES',\n setGenders = 'SET_GENDERS',\n setOrganBanks = 'SET_ORGAN_BANKS',\n setMedicalExaminers = 'SET_MEDICAL_EXAMINERS',\n setPersonalBelongingLocations = 'SET_PERSONAL_BELONGING_LOCATIONS',\n setOriginLocations = 'SET_ORIGIN_LOCATIONS',\n setTags = 'SET_TAGS',\n setNextOfKinTypes = 'SET_NEXT_OF_KIN_TYPES',\n setInfectiousDiseaseTypes = 'SET_INFECTIOUS_DISEASE_TYPES',\n setCaseTypes = 'SET_CASE_TYPES',\n}\n\nexport const mutations: MutationTree = {\n [Mutation.set](\n state,\n { type, entries }: { type: DictionaryType; entries: DictionaryItem[] }\n ) {\n if (!type) throw new Error('Dictionary type is required');\n if (!entries) throw new Error('Dictionary entries are required');\n const key = `${type}s` as keyof IDictionariesState;\n state[key] = entries;\n },\n [Mutation.setOrganizations](\n state,\n organizations: OrganizationDictionaryItem[]\n ) {\n state.autopsyVendor = organizations.filter(\n (o) => o.type === AssociateOrganizationType.AutopsyVendor\n );\n state.tissueBank = organizations.filter(\n (o) => o.type === AssociateOrganizationType.OrganBank\n );\n state.funeralHome = organizations.filter(\n (o) => o.type === AssociateOrganizationType.FuneralHome\n );\n state.medicalExaminer = organizations.filter(\n (o) => o.type === AssociateOrganizationType.MedicalExaminer\n );\n },\n [Mutation.setAutopsyVendors](state, vendors: DictionaryItem[]) {\n state.autopsyVendor = vendors;\n },\n [Mutation.setFuneralHomes](state, funeralHomes: DictionaryItem[]) {\n state.funeralHome = funeralHomes;\n },\n [Mutation.setGenders](state, genders: DictionaryItem[]) {\n state.gender = genders;\n },\n [Mutation.setOrganBanks](state, organBanks: DictionaryItem[]) {\n state.tissueBank = organBanks;\n },\n [Mutation.setMedicalExaminers](state, medicalExaminers: DictionaryItem[]) {\n state.medicalExaminer = medicalExaminers;\n },\n [Mutation.setPersonalBelongingLocations](state, locations: DictionaryItem[]) {\n state.personalBelongingLocation = locations;\n },\n [Mutation.setOriginLocations](state, locations: DictionaryItem[]) {\n state.originLocation = locations;\n },\n [Mutation.setTags](state, tags: DictionaryItem[]) {\n state.tag = tags;\n },\n [Mutation.setNextOfKinTypes](state, types: DictionaryItem[]) {\n state.nextOfKinType = types;\n },\n [Mutation.setInfectiousDiseaseTypes](state, types: DictionaryItem[]) {\n state.infectiousDiseaseType = types;\n },\n [Mutation.setCaseTypes](state, types: DictionaryItem[]) {\n state.caseType = types;\n },\n};\n\nexport default mutations;\n","import { Ability, AnyAbility, SubjectType } from '@casl/ability';\nimport { ref, unref } from '@vue/composition-api';\n\nexport function reactiveAbility(\n ability: TAbility\n) {\n // eslint-disable-next-line no-prototype-builtins\n if (ability.hasOwnProperty('possibleRulesFor')) {\n return ability;\n }\n\n const watcher = ref(true);\n ability.on('updated', () => {\n watcher.value = !watcher.value;\n });\n\n const possibleRulesFor = ability.possibleRulesFor.bind(ability);\n ability.possibleRulesFor = (action: string, subject: SubjectType) => {\n watcher.value = unref(watcher);\n return possibleRulesFor(action, subject);\n };\n\n return ability;\n}\n","import { inject, InjectionKey, provide } from '@vue/composition-api';\nimport type { AnyAbility, Ability } from '@casl/ability';\nimport { reactiveAbility } from './reactive-ability';\n\nexport const ABILITY_TOKEN: InjectionKey = Symbol('ability');\n\nexport function injectAbility<\n TAbility extends AnyAbility = Ability\n>(): TAbility {\n const ability = inject(ABILITY_TOKEN);\n\n if (!ability) {\n throw new Error(\n 'Cannot inject Ability instance because it was not provided'\n );\n }\n\n return ability;\n}\n\nexport function provideAbility(ability: AnyAbility) {\n provide(ABILITY_TOKEN, reactiveAbility(ability));\n}\n","import Vue from 'vue';\nimport { defineComponent, PropType } from '@vue/composition-api';\nimport {\n SubjectType,\n Generics,\n AnyAbility,\n Ability,\n Abilities,\n IfString,\n AbilityTuple,\n} from '@casl/ability';\nimport { injectAbility } from '../inject-ability';\n\ntype AbilityCanProps<\n T extends Abilities,\n Else = IfString\n> = T extends AbilityTuple\n ?\n | { do: T[0]; on: T[1]; field?: string }\n | { I: T[0]; a: Extract; field?: string }\n | { I: T[0]; an: Extract; field?: string }\n | { I: T[0]; this: Exclude; field?: string }\n : Else;\n\nexport type CanProps = AbilityCanProps<\n Generics['abilities']\n> & {\n not?: boolean;\n passThrough?: boolean;\n};\n\ntype VueAbility = Vue['$ability'] extends { $ability: AnyAbility }\n ? Vue['$ability']\n : Ability;\n\nfunction detectSubjectProp(props: Record) {\n if ('a' in props) {\n return 'a';\n }\n\n if ('this' in props) {\n return 'this';\n }\n\n if ('an' in props) {\n return 'an';\n }\n\n return '';\n}\n\nexport const Can = defineComponent>({\n name: 'Can',\n props: {\n // eslint-disable-next-line vue/prop-name-casing\n I: {\n type: String as PropType,\n required: false,\n default: undefined,\n },\n do: {\n type: String as PropType,\n required: false,\n default: undefined,\n },\n a: {\n type: [String, Function] as PropType,\n required: false,\n default: undefined,\n },\n an: {\n type: [String, Function] as PropType,\n required: false,\n default: undefined,\n },\n this: {\n type: [String, Function] as PropType,\n required: false,\n default: undefined,\n },\n on: {\n type: [String, Function] as PropType,\n required: false,\n default: undefined,\n },\n not: Boolean as PropType,\n passThrough: Boolean as PropType,\n field: {\n type: String as PropType,\n required: false,\n default: undefined,\n },\n },\n setup(props, { slots }) {\n const $props = props as Record;\n let actionProp = 'do';\n let subjectProp = 'on';\n\n if (!(actionProp in props)) {\n actionProp = 'I';\n subjectProp = detectSubjectProp(props);\n }\n\n if (!$props[actionProp]) {\n throw new Error('Neither `I` nor `do` prop was passed in ');\n }\n\n if (!slots.default) {\n throw new Error('Expects to receive default slot');\n }\n\n const ability = injectAbility();\n\n return () => {\n const isAllowed = ability.can(\n $props[actionProp],\n $props[subjectProp],\n $props.field\n );\n\n const canRender = props.not ? !isAllowed : isAllowed;\n\n if (!props.passThrough) {\n return canRender ? slots.default!() : null;\n }\n\n return slots.default!({\n allowed: canRender,\n ability,\n }) as any;\n };\n },\n});\n","import Vue from 'vue';\nimport { defineNuxtPlugin, defineComponent } from '@nuxtjs/composition-api';\nimport { Ability, AnyAbility, PureAbility } from '@casl/ability';\nimport { reactiveAbility } from './reactive-ability';\nimport { provideAbility } from './inject-ability';\n\nexport interface AbilityPluginOptions {\n /** @default true */\n useGlobalProperties?: boolean;\n}\n\nexport const createAbilitiesPlugin = (\n ability: TAbility,\n options: AbilityPluginOptions = { useGlobalProperties: true }\n) => {\n if (!ability || !(ability instanceof PureAbility)) {\n throw new Error(\n 'Please provide an Ability instance to abilitiesPlugin plugin'\n );\n }\n\n return defineNuxtPlugin((_context, inject) => {\n const $ability = reactiveAbility(ability);\n\n Vue.mixin(\n defineComponent({\n setup() {\n provideAbility($ability);\n },\n })\n );\n\n Vue.prototype.$ability = $ability;\n Vue.prototype.$can = $ability.can;\n\n if (options?.useGlobalProperties) {\n inject('ability', $ability);\n }\n });\n};\n","import { wrapProperty } from '@nuxtjs/composition-api';\n\nexport { Can } from './components/can';\nexport { createAbilitiesPlugin } from './plugin';\nexport { injectAbility, provideAbility, ABILITY_TOKEN } from './inject-ability';\nexport {\n AppAbilitySubject,\n BodyboxAbilityAction,\n CaseAbilityAction,\n DictionaryAbilityAction,\n UserAbilityAction,\n ReportAbilityAction,\n} from './constants';\n\nexport type { CanProps } from './components/can';\nexport type { AbilityPluginOptions } from './plugin';\n\nexport const useAbility = wrapProperty('$ability');\n","import { AddDictionaryItemRequest, EditDictionaryItemRequest } from './base';\nimport { CaseServiceRequirementType, CaseServiceType } from '~/app/models';\n\nexport class CreateCaseServiceRequirementRequest extends AddDictionaryItemRequest {\n public readonly serviceType: CaseServiceType;\n public readonly requirementType: CaseServiceRequirementType;\n\n constructor(args: CreateCaseServiceRequirementRequest) {\n super(args);\n this.serviceType = args.serviceType;\n this.requirementType = args.requirementType;\n }\n}\n\nexport class EditCaseServiceRequirementRequest extends EditDictionaryItemRequest {\n public readonly serviceType: CaseServiceType;\n public readonly requirementType: CaseServiceRequirementType;\n\n constructor(args: EditCaseServiceRequirementRequest) {\n super(args);\n this.serviceType = args.serviceType;\n this.requirementType = args.requirementType;\n }\n}\n","import { AddDictionaryItemRequest, EditDictionaryItemRequest } from './base';\nimport { CaseServiceType } from '~/app/models';\n\nexport class CreateCaseServiceStatusRequest extends AddDictionaryItemRequest {\n public readonly serviceType: CaseServiceType;\n public readonly triggersCaseHold: boolean;\n public readonly indicatesCompletion: boolean;\n\n constructor(args: CreateCaseServiceStatusRequest) {\n super(args);\n this.serviceType = args.serviceType;\n this.triggersCaseHold = args.triggersCaseHold;\n this.indicatesCompletion = args.indicatesCompletion;\n }\n}\n\nexport class EditCaseServiceStatusRequest extends EditDictionaryItemRequest {\n public readonly serviceType: CaseServiceType;\n public readonly triggersCaseHold: boolean;\n public readonly indicatesCompletion: boolean;\n\n constructor(args: EditCaseServiceStatusRequest) {\n super(args);\n this.serviceType = args.serviceType;\n this.triggersCaseHold = args.triggersCaseHold;\n this.indicatesCompletion = args.indicatesCompletion;\n }\n}\n","import { AddDictionaryItemRequest, EditDictionaryItemRequest } from './base';\n\nexport class CreateCaseTypeRequest extends AddDictionaryItemRequest {\n public readonly critical: boolean;\n\n constructor(args: CreateCaseTypeRequest) {\n super(args);\n this.critical = args.critical;\n }\n}\n\nexport class EditCaseTypeRequest extends EditDictionaryItemRequest {\n public readonly critical: boolean;\n\n constructor(args: EditCaseTypeRequest) {\n super(args);\n this.critical = args.critical;\n }\n}\n","import { AddDictionaryItemRequest, EditDictionaryItemRequest } from './base';\n\nexport class AddNextOfKinTypeRequest extends AddDictionaryItemRequest {\n public readonly triggersCaseHold: boolean;\n\n constructor(args: AddNextOfKinTypeRequest) {\n super(args);\n this.triggersCaseHold = args.triggersCaseHold;\n }\n}\n\nexport class EditNextOfKinTypeRequest extends EditDictionaryItemRequest {\n public readonly triggersCaseHold: boolean;\n\n constructor(args: EditNextOfKinTypeRequest) {\n super(args);\n this.triggersCaseHold = args.triggersCaseHold;\n }\n}\n","import {\n Address,\n OrganizationDictionaryItem,\n AssociateOrganizationType,\n} from '~/app/models';\n\nexport class AddOrganizationDictionaryItemRequest {\n public readonly type: AssociateOrganizationType;\n public readonly name: string;\n public readonly address?: Readonly
;\n public readonly contactPhoneNumber?: string;\n public readonly contactFaxNumber?: string;\n public readonly contactEmailAddress?: string;\n\n constructor(args: OrganizationDictionaryItem) {\n if (!args.type) {\n throw new Error('AssociateOrganizationType is required');\n }\n\n if (!args.name) {\n throw new Error('name is required');\n }\n\n this.type = args.type;\n this.name = args.name;\n this.address = args?.address ? new Address(args.address) : undefined;\n this.contactPhoneNumber = args?.contactPhoneNumber;\n this.contactFaxNumber = args?.contactFaxNumber;\n this.contactEmailAddress = args?.contactEmailAddress;\n }\n}\n\nexport class EditOrganizationDictionaryItemRequest {\n public readonly id: string;\n public readonly type: AssociateOrganizationType;\n public readonly name: string;\n public readonly address?: Readonly
;\n public readonly contactPhoneNumber?: string;\n public readonly contactFaxNumber?: string;\n public readonly contactEmailAddress?: string;\n\n constructor(args: EditOrganizationDictionaryItemRequest) {\n if (!args.id) {\n throw new Error('id is required');\n }\n\n if (!args.type) {\n throw new Error('AssociateOrganizationType is required');\n }\n\n if (!args.name) {\n throw new Error('name is required');\n }\n\n this.id = args.id;\n this.type = args.type;\n this.name = args.name;\n this.address = args?.address ? new Address(args.address) : undefined;\n this.contactPhoneNumber = args.contactPhoneNumber;\n this.contactFaxNumber = args.contactFaxNumber;\n this.contactEmailAddress = args.contactEmailAddress;\n }\n}\n","import { AddDictionaryItemRequest, EditDictionaryItemRequest } from './base';\nimport { OriginLocationType } from '~/app/models';\n\nexport class AddOriginLocationRequest extends AddDictionaryItemRequest {\n public readonly type: OriginLocationType;\n public readonly externalId?: string;\n\n constructor(args: AddOriginLocationRequest) {\n super(args);\n this.type = args.type;\n this.externalId = args.externalId;\n }\n}\n\nexport class EditOriginLocationRequest extends EditDictionaryItemRequest {\n public readonly type: OriginLocationType;\n public readonly externalId?: string;\n\n constructor(args: EditOriginLocationRequest) {\n super(args);\n this.type = args.type;\n this.externalId = args.externalId;\n }\n}\n","import { AddDictionaryItemRequest, EditDictionaryItemRequest } from './base';\n\nexport class CreateSigningPhysicianStatusRequest extends AddDictionaryItemRequest {\n public readonly triggersCaseHold: boolean;\n\n constructor(args: CreateSigningPhysicianStatusRequest) {\n super(args);\n this.triggersCaseHold = args.triggersCaseHold;\n }\n}\n\nexport class EditSigningPhysicianStatusRequest extends EditDictionaryItemRequest {\n public readonly triggersCaseHold: boolean;\n\n constructor(args: EditSigningPhysicianStatusRequest) {\n super(args);\n this.triggersCaseHold = args.triggersCaseHold;\n }\n}\n","import { AddDictionaryItemRequest, EditDictionaryItemRequest } from './base';\nimport { TagDisplayOptions, TagType } from '~/app/models';\n\nexport class AddSystemTagRequest extends AddDictionaryItemRequest {\n public readonly type: TagType;\n public readonly triggersCaseHold: boolean;\n public readonly displayOptions?: TagDisplayOptions;\n\n constructor(args: Omit) {\n super(args);\n this.type = args.type;\n this.triggersCaseHold = args.type === TagType.Hold;\n this.displayOptions = args.displayOptions;\n }\n}\n\nexport class EditSystemTagRequest extends EditDictionaryItemRequest {\n public readonly type: TagType;\n public readonly triggersCaseHold: boolean;\n public readonly displayOptions?: TagDisplayOptions;\n\n constructor(args: Omit) {\n super(args);\n this.type = args.type;\n this.triggersCaseHold = args.type === TagType.Hold;\n this.displayOptions = args.displayOptions;\n }\n}\n","import type { Moment } from 'moment';\nimport { parse } from 'date-fns';\n\nfunction isNaN(v: any): boolean {\n // eslint-disable-next-line no-self-compare\n return typeof v !== 'number' || v !== v;\n}\n\nexport class DateOnly {\n private date!: number;\n private month!: number;\n private year!: number;\n\n public static readonly ISO_PATTERN = 'yyyy-MM-dd' as const;\n\n constructor(date?: string | number | Date | DateOnly | Moment) {\n let value: Date | null = null;\n\n if (typeof date === 'string') {\n value = new Date(date); // date-fns.parse(date, 'yyyy-MM-dd', new Date());\n } else if (typeof date === 'number') {\n value = DateOnly.numberToDate(date);\n } else if (date instanceof DateOnly) {\n value = date.toDate();\n } else if (date && date.constructor && date.constructor.name === 'Moment') {\n value = DateOnly.momentToDate(date as Moment);\n } else if (date instanceof Date) {\n value = date;\n }\n\n this.setDateParts(value || new Date());\n }\n\n public static from(year: number, month: number, day: number) {\n const pad = DateOnly.pad;\n const dateString = `${pad(year, 4)}-${pad(month, 2)}-${pad(day, 2)}`;\n const date = parse(dateString, this.ISO_PATTERN, new Date());\n return new DateOnly(date);\n }\n\n public static toDate(dateOnlyStamp: number): Date {\n return new DateOnly(dateOnlyStamp).toDate();\n }\n\n public getDate(): number {\n return this.date;\n }\n\n public setDate(date: number): void {\n this.date = date;\n }\n\n public getMonth(): number {\n return this.month;\n }\n\n public setMonth(month: number): void {\n this.month = month;\n }\n\n public getFullYear(): number {\n return this.year;\n }\n\n public setFullYear(year: number): void {\n this.year = year;\n }\n\n public getDay(): number {\n return this.toDate().getDay();\n }\n\n public toDate(): Date {\n return DateOnly.partsToDate(this.year, this.month, this.date);\n }\n\n public valueOf(): number {\n if (isNaN(this.year) || isNaN(this.month) || isNaN(this.date)) {\n return NaN;\n }\n\n const year = DateOnly.pad(this.year, 4);\n const month = DateOnly.pad(this.month, 2);\n const date = DateOnly.pad(this.date, 2);\n\n return parseInt(year + month + date, 10);\n }\n\n public equals(date: DateOnly): boolean {\n return this.valueOf() === date.valueOf();\n }\n\n public toString(): string {\n return this.toDate().toDateString();\n }\n\n public toISOString(): string {\n const year = DateOnly.pad(this.year, 4);\n const month = DateOnly.pad(this.month + 1, 2);\n const date = DateOnly.pad(this.date, 2);\n\n return `${year}-${month}-${date}`;\n }\n\n public toJSON(): string {\n return this.toISOString();\n }\n\n private setDateParts(date: Date): void {\n this.date = date.getDate();\n this.month = date.getMonth();\n this.year = date.getFullYear();\n }\n\n private static pad(num: number, length: number): string {\n let numStr = num.toString();\n while (numStr.length < length) {\n numStr = '0' + numStr;\n }\n return numStr;\n }\n\n private static numberToDate(n: number): Date {\n const s = n.toString();\n\n if (s.length === 8) {\n const year = parseInt(s.slice(0, 4), 10);\n const month = parseInt(s.slice(4, 6), 10) - 1;\n const day = parseInt(s.slice(6, 8), 10);\n\n return DateOnly.partsToDate(year, month, day);\n } else {\n return new Date(n);\n }\n }\n\n private static momentToDate(m: Moment): Date {\n return m.toDate();\n }\n\n private static partsToDate(year: number, month: number, day: number): Date {\n const date = new Date(year, month, day);\n date.setHours(0, 0, 0, 0);\n return date;\n }\n}\n","import { createModule } from '../index';\nimport { state, ITenantState } from './state';\nimport { actions, Action } from './actions';\nimport { mutations, Mutation } from './mutations';\n\nexport type { ITenantState };\nexport { Action, Mutation };\nexport const moduleName = 'tenant';\n\nexport default createModule(moduleName, {\n state,\n mutations,\n actions,\n});\n","import { Context } from '@nuxt/types';\nimport { computed, ref, Ref } from '@nuxtjs/composition-api';\nimport { AppModule, AppModuleOptions } from './module';\n\ndeclare type ModuleClassType = new (\n context: Context,\n options?: AppModuleOptions,\n ...args: any[]\n) => T;\n\ntype RegisterModuleTuple = [\n ModuleClassType>,\n AppModuleOptions | undefined\n];\n\nexport const registeredModules = new Map();\nconst moduleInstances = new Map();\nconst activeModules = ref([]);\n\nexport const initModuleSystem = (context: Context) => {\n // TODO: Support async activation methods .forEach -> for (...)\n registeredModules.forEach(([ModuleCtor, options]) => {\n const module = new ModuleCtor(context, options);\n moduleInstances.set(ModuleCtor.name, module);\n\n if (options?.activationMethod !== 'route-enter') {\n module.activate();\n }\n });\n};\n\nexport const getRegisteredModules = (): Readonly => {\n const modules: Readonly[] = [];\n for (const module of moduleInstances.values()) {\n modules.push(module);\n }\n return Object.freeze(modules) as Readonly;\n};\n\nexport const getActiveModules = (): Readonly => {\n return getActiveModulesRef().value;\n};\n\nexport const getActiveModulesRef = (): Ref> => {\n return computed(() => {\n const modules = activeModules.value\n .map((name) => moduleInstances.get(name))\n .filter((module) => !!module);\n\n return Object.freeze(modules) as Readonly;\n });\n};\n\nexport const registerModule = (\n ModuleCtor: ModuleClassType,\n options?: AppModuleOptions\n) => {\n const name = ModuleCtor.name;\n registeredModules.set(name, [ModuleCtor, options]);\n};\n\nexport const useModule = (\n ModuleCtorOrStringName: ModuleClassType | string\n) => {\n const name =\n typeof ModuleCtorOrStringName === 'string'\n ? ModuleCtorOrStringName\n : ModuleCtorOrStringName.name;\n\n if (moduleInstances.has(name)) {\n const module = moduleInstances.get(name) as AppModule;\n !module.isActive && module.activate();\n\n if (!activeModules.value.includes(name)) {\n activeModules.value.push(name);\n }\n\n return module as TModule;\n }\n\n throw new Error(\n `AppModule with name \"${name}\" could not be found. Ensure this was registering at startup.`\n );\n};\n\nexport const deactivateModule = (\n ModuleCtorOrStringName: ModuleClassType | string\n) => {\n const name =\n typeof ModuleCtorOrStringName === 'string'\n ? ModuleCtorOrStringName\n : ModuleCtorOrStringName.name;\n\n const moduleIndex = activeModules.value.indexOf(name);\n const isModuleActive = moduleIndex > -1;\n const doesModuleInstanceExist = moduleInstances.has(name);\n\n if (isModuleActive) activeModules.value.splice(moduleIndex, 1);\n\n if (!doesModuleInstanceExist)\n throw new Error(\n `AppModule with name \"${name}\" could not be found. Ensure this was registering at startup.`\n );\n\n const module = moduleInstances.get(name) as AppModule;\n\n if (!isModuleActive || !module.isActive)\n throw new Error(\n `AppModule with name \"${name}\" is already in an inactive state.`\n );\n\n module.deactivate();\n};\n","export const SYMBOL_FORM_OBSERVER = Symbol('Form.Observer');\nexport const SYMBOL_FORM_OBSERVER_RULES = Symbol('Form.Observer.Rules');\nexport const SYMBOL_FORM_VALIDATION_MODE = Symbol('Form.ValidationMode');\nexport const SYMBOL_FORM_DIRECTION = Symbol('Form.Direction');\nexport const SYMBOL_FORM_VALIDATOR = Symbol('Form.Validator');\nexport const SYMBOL_FORM_FORM_ITEM_ADD = Symbol('Form.FormItem.Add');\nexport const SYMBOL_FORM_FORM_ITEM_REMOVE = Symbol('Form.FormItem.Remove');\nexport const SYMBOL_FORM_PARTIAL_ADD = Symbol('Form.Partial.AddForm');\nexport const SYMBOL_FORM_PARTIAL_REMOVE = Symbol('Form.Partial.RemoveForm');\nexport const SYMBOL_FORM_PARTIAL_SELF_MANAGED_ADD = Symbol(\n 'Form.Partial.SelfManaged.AddForm'\n);\nexport const SYMBOL_FORM_PARTIAL_SELF_MANAGED_REMOVE = Symbol(\n 'Form.Partial.SelfManaged.RemoveForm'\n);\nexport const SYMBOL_FORM_FORCE_TOKEN = Symbol('Form.Force.Token');\n","export class AddDictionaryItemRequest {\n public readonly name: string;\n public readonly externalId?: string;\n\n constructor(args: AddDictionaryItemRequest) {\n this.name = args.name;\n this.externalId = args.externalId;\n }\n}\n\nexport class EditDictionaryItemRequest {\n public readonly id: string;\n public readonly name: string;\n public readonly externalId?: string;\n\n constructor(args: EditDictionaryItemRequest) {\n this.id = args.id;\n this.name = args.name;\n this.externalId = args.externalId;\n }\n}\n\nexport class DeleteDictionaryItemRequest {\n public readonly entryId: string;\n\n constructor(args: DeleteDictionaryItemRequest) {\n this.entryId = args.entryId;\n }\n}\n","import { Context } from '@nuxt/types';\nimport { Module } from 'vuex';\nimport { RootState } from '~/store';\n\ntype VuexModule = Module;\n\nexport type AppModuleOptions = {\n /**\n * `register` - actives the module when registered with the bootstrapper.\n * `route-enter` - actives the module when the user navigates to this or a child route.\n * @default 'register'\n */\n activationMethod?: 'register' | 'route-enter';\n /**\n * Establishes a dependency between this module an a page route.\n * If @see activationMethod is set to `route-enter` the module will activate when the user navigates to this or a child route. Deactivation will occur when the user navigates to a page that does not fall within this route.\n */\n route?: string;\n store?: {\n /**\n * If a route is configured, destroy the state and unregister the vuex module when the \"AppModule\" is no longer active.\n * @default false\n */\n tearDownOnPageLeave?: boolean;\n /** Vuex module. */\n module: VuexModule;\n /** Module name. @default constructor name */\n moduleName?: string;\n };\n};\n\nexport interface IAppModule {\n readonly name: string;\n readonly isActive: boolean;\n\n /**\n * Activates the module if it has not been activated already.\n * @param force Forces activation even if the module has already been activated.\n */\n activate(force?: boolean): void;\n\n /** Deactivates the module. */\n deactivate(): void;\n}\n\n/**\n * An app module represents an isolated business unit within the application.\n */\nexport abstract class AppModule implements IAppModule {\n private _isActive = false;\n\n protected readonly context: Context;\n\n public abstract name: string;\n public static enableDebugLogging = false;\n public readonly options?: Readonly>;\n\n constructor(context: Context, options?: AppModuleOptions) {\n if (options?.store && !context.store)\n throw new Error(\n '[AppModule] vuex store instance is required to activate module.'\n );\n\n this.context = context;\n this.options = Object.freeze(options);\n\n if (options?.activationMethod === 'register') {\n this.activate();\n }\n }\n\n public get isActive() {\n return this._isActive;\n }\n\n public activate(force: boolean = false) {\n if (this.isActive && !force) return;\n\n if (this.context.store) {\n const doesStoreModuleExist = this.context.store.hasModule(this.name);\n\n if (!doesStoreModuleExist && this.options?.store?.module) {\n this.registerStore(\n this.options.store.module,\n this.options.store.moduleName\n );\n }\n }\n\n this._isActive = true;\n\n if (AppModule.enableDebugLogging)\n console.debug(`[AppModule] Activated module \"${this.name}\".`);\n }\n\n public deactivate() {\n if (this.context.store && this.options?.store?.tearDownOnPageLeave) {\n this.context.store.unregisterModule(this.name);\n }\n\n this._isActive = false;\n\n if (AppModule.enableDebugLogging)\n console.debug(`[AppModule] Deactivated module \"${this.name}\".`);\n }\n\n private registerStore(module: VuexModule, moduleName?: string) {\n this.context.store?.registerModule(moduleName || this.name, module);\n }\n}\n","import { v4 as uuidv4 } from 'uuid';\n\nexport function genId(options?: { length?: number; includeChars?: boolean }) {\n let length = options?.length;\n\n if (length) {\n if (length <= 2) {\n process.env.NODE_ENV === 'development' &&\n console.warn('length should be greater than 2, falling back to *5*');\n length = 5;\n }\n\n const { includeChars } = options || {};\n const radix =\n typeof includeChars === 'boolean'\n ? includeChars\n ? 36\n : undefined\n : undefined;\n\n return Math.random().toString(radix).substr(2, length);\n }\n\n return uuidv4();\n}\n","import { Case } from '~/app/models';\nexport interface ICaseDetailsState {\n caseId: string | null;\n case: Case | null;\n identityVerified: boolean;\n}\n\nexport const state = (): ICaseDetailsState => ({\n caseId: null,\n case: null,\n identityVerified: false,\n});\n","import { GetterTree } from 'vuex';\nimport { ICaseDetailsState } from './state';\nimport { RootState } from '~/store';\n\nexport enum Getter {}\n\nexport const getters: GetterTree = {};\n","import { MutationTree } from 'vuex';\nimport { ICaseDetailsState } from './state';\nimport { Case } from '~/app/models';\n\nexport enum Mutation {\n init = 'INITIALIZE',\n reset = 'RESET',\n setCase = 'SET_CASE',\n setCaseId = 'SET_CASE_ID',\n verifyIdentity = 'VERIFY_IDENTITY',\n}\n\nexport const mutations: MutationTree = {\n [Mutation.init](state, caseDetails: Case) {\n state.case = caseDetails || new Case();\n state.caseId = state.case.id ?? null;\n state.identityVerified = false;\n },\n [Mutation.reset](state) {\n state.case = null;\n state.caseId = null;\n state.identityVerified = false;\n },\n [Mutation.setCase](state, caseDetails: Case) {\n if (!caseDetails) throw new Error('case must have a value.');\n state.case = caseDetails;\n state.caseId = caseDetails.id ?? null;\n },\n [Mutation.setCaseId](state, id: string) {\n if (!id) throw new Error('Case ID must have a value');\n state.caseId = id;\n },\n [Mutation.verifyIdentity](state, verified = true) {\n state.identityVerified = verified;\n },\n};\n","import { DateTimeInfo } from '~/app/models';\nimport {\n AutopsyCollection,\n Case,\n DecedentInfo,\n DocumentCollection,\n FuneralHome,\n NotesCollection,\n OrganDonationCollection,\n BelongingsCollection,\n TagsCollection,\n MedicalExaminer,\n InfectiousDisease,\n OriginLocation,\n CaseHold,\n NextOfKinCollection,\n DeathCertificate,\n AutopsyServiceCollection,\n DonationProcurementCollection,\n MedicolegalInvestigationCollection,\n} from '~/app/models/case';\n\nfunction sanitizeSection(section: TData): TData | undefined {\n if (!section || !(section instanceof Object)) return undefined;\n\n // replace undefined properties with null\n let hasValue = false;\n for (const [key, value] of Object.entries(section)) {\n if (value === undefined || value === null) {\n (section as any)[key] = null;\n } else {\n hasValue = true;\n }\n }\n\n return hasValue ? section : undefined;\n}\n\ntype UpdateDecedentInfo = Omit;\n\nexport class UpdateCaseRequest {\n public readonly caseId: string;\n public readonly typeId?: string;\n public readonly reportedBy?: string;\n public readonly storageLocationId?: string;\n public readonly financialIdentificationNumber?: string;\n public readonly decedent?: UpdateDecedentInfo;\n public readonly holds?: CaseHold;\n public readonly deathCertificate?: DeathCertificate;\n public readonly autopsies?: AutopsyCollection;\n public readonly autopsyServices?: AutopsyServiceCollection;\n public readonly tags?: TagsCollection;\n public readonly property?: BelongingsCollection;\n public readonly organDonations?: OrganDonationCollection;\n public readonly donationProcurements?: DonationProcurementCollection;\n public readonly originLocation?: OriginLocation;\n public readonly medicalExaminer?: MedicalExaminer;\n public readonly medicolegalInvestigations?: MedicolegalInvestigationCollection;\n public readonly funeralHome?: FuneralHome;\n public readonly infectiousDisease?: InfectiousDisease;\n public readonly nextOfKin?: NextOfKinCollection;\n public readonly notes?: NotesCollection;\n public readonly documents?: DocumentCollection;\n\n constructor(args?: Case) {\n if (!args?.id)\n throw new Error('Case must have an ID assigned in order to update.');\n\n const decedent = sanitizeSection(args?.decedent)!;\n if (decedent.dateOfBirth)\n decedent.dateOfBirth = new DateTimeInfo(decedent.dateOfBirth);\n\n if (decedent.dateOfDeath)\n decedent.dateOfDeath = new DateTimeInfo(decedent.dateOfDeath);\n\n this.caseId = args?.id;\n this.typeId = args?.typeId;\n this.reportedBy = args?.reportedBy;\n this.storageLocationId = args?.storageLocationId;\n this.financialIdentificationNumber = args?.financialIdentificationNumber;\n this.decedent = decedent;\n this.holds = sanitizeSection(args?.holds);\n this.deathCertificate = sanitizeSection(args?.deathCertificate);\n this.autopsies = sanitizeSection(args?.autopsies);\n this.autopsyServices = sanitizeSection(args?.autopsyServices);\n this.tags = sanitizeSection(args?.tags);\n this.property = sanitizeSection(args?.property);\n this.organDonations = sanitizeSection(args?.organDonations);\n this.donationProcurements = sanitizeSection(args?.donationProcurements);\n this.originLocation = sanitizeSection(args?.originLocation);\n this.medicalExaminer = sanitizeSection(args?.medicalExaminer);\n this.medicolegalInvestigations = sanitizeSection(\n args?.medicolegalInvestigations\n );\n this.funeralHome = sanitizeSection(args?.funeralHome);\n this.infectiousDisease = sanitizeSection(args?.infectiousDisease);\n this.nextOfKin = sanitizeSection(args?.nextOfKin);\n this.notes = sanitizeSection(args?.notes);\n this.documents = sanitizeSection(args?.documents);\n }\n}\n","import { CreateCaseRequest } from './create-case-request';\n\nexport class CreateCheckoutReportRequest extends CreateCaseRequest {}\n","import type { ActionTree } from 'vuex';\nimport type { ICaseDetailsState } from './state';\nimport { Mutation } from './mutations';\nimport { RootState } from '~/store';\nimport { Case } from '~/app/models';\nimport { CreateCaseRequest } from '~/app/core/api/requests/cases/create-case-request';\nimport { UpdateCaseRequest } from '~/app/core/api/requests/cases/update-case-request';\nimport {\n CheckInCaseRequest,\n CreateAndCheckInCaseRequest,\n CheckoutCaseRequest,\n CreateAndCheckOutCaseRequest,\n} from '~/app/core/api/requests/cases/transport';\nimport { DeleteCaseRequest } from '~/app/core/api/requests/cases/delete-case-request';\nimport {\n TransferCaseExternalRequest,\n TransferCaseInternalRequest,\n} from '~/app/core/api/requests/cases/transfer-case-request';\nimport { CreateCheckoutReportRequest } from '~/app/core/api/requests/cases/create-checkout-report-request';\n\nexport enum Action {\n fetchCase = 'fetchCase',\n createCase = 'createCase',\n createAndCheckIn = 'createAndCheckIn',\n createAndCheckout = 'createAndCheckout',\n save = 'saveCase',\n delete = 'deleteCase',\n checkIn = 'checkInCase',\n checkout = 'checkoutCase',\n transferInternal = 'transferInternal',\n transferExternal = 'transferExternal',\n createCheckoutPermissionReport = 'createCheckoutPermissionReport',\n}\n\nexport const actions: ActionTree = {\n async [Action.fetchCase](_context, caseId: string) {\n const details = await this.$api.cases.getAsync(caseId);\n return details;\n },\n /**\n * Creates a new case\n * @param context ActionContext.\n * @param case Case details being created.\n */\n async [Action.createCase]({ commit }, details: Case) {\n const request = new CreateCaseRequest(details);\n const newCase = await this.$api.cases.createAsync(request);\n\n commit(Mutation.setCase, newCase);\n\n return newCase;\n },\n /**\n * Creates a new case and immediately checks it in.\n * @param context ActionContext.\n * @param case Case details being created and checked in.\n */\n async [Action.createAndCheckIn](\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n { commit },\n request: CreateAndCheckInCaseRequest\n ) {\n const newCase = await this.$api.cases.createAndCheckInAsync(request);\n\n // commit(Mutation.setCase, newCase);\n\n return newCase;\n },\n /**\n * Creates a new case and immediately checks it out.\n * @param context ActionContext.\n * @param case Case details being created and checked out.\n */\n async [Action.createAndCheckout](\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n { commit },\n request: CreateAndCheckOutCaseRequest\n ) {\n const newCase = await this.$api.cases.createAndCheckOutAsync(request);\n\n // commit(Mutation.setCase, newCase);\n\n return newCase;\n },\n /**\n * This action is meant to be subscribed to by other modules who are then responsible for saving their own sections of of the case.\n * @param context ActionContext.\n * @param caseDetails Case details being saved.\n */\n async [Action.save](\n { commit },\n { caseDetails, signal }: { caseDetails: Case; signal?: AbortSignal }\n ) {\n // @ts-ignore\n signal?.throwIfAborted();\n\n const request = new UpdateCaseRequest(caseDetails);\n const updatedCase = await this.$api.cases.updateAsync(request);\n\n // @ts-ignore\n signal?.throwIfAborted();\n commit(Mutation.setCase, updatedCase);\n\n return updatedCase;\n },\n /**\n * Permanently deletes a case or reservation.\n * @param context ActionContext.\n * @param deleteRequest The request containing delete details.\n */\n async [Action.delete](_context, deleteRequest: DeleteCaseRequest) {\n await this.$api.cases.deleteAsync(deleteRequest);\n },\n /**\n * Creates a check-in event on the case.\n * @param context ActionContext.\n * @param checkInRequest The request containing check-in details.\n */\n async [Action.checkIn](_context, checkInRequest: CheckInCaseRequest) {\n const updatedCase = await this.$api.cases.transport.checkInAsync(\n checkInRequest\n );\n return updatedCase;\n },\n /**\n * Creates a checkout event on the case.\n * @param context ActionContext.\n * @param checkInRequest The request containing checkout details.\n */\n async [Action.checkout](_context, checkoutRequest: CheckoutCaseRequest) {\n const updatedCase = await this.$api.cases.transport.checkoutAsync(\n checkoutRequest\n );\n return updatedCase;\n },\n /**\n * Creates an internal transfer event on the case.\n * @param context ActionContext.\n * @param transferRequest The request containing internal transfer details.\n */\n async [Action.transferInternal](\n _context,\n transferRequest: TransferCaseInternalRequest\n ) {\n const updatedCase = await this.$api.cases.transport.transferInternalAsync(\n transferRequest\n );\n return updatedCase;\n },\n /**\n * Creates an external transfer event on the case.\n * @param context ActionContext.\n * @param transferRequest The request containing external transfer details.\n */\n async [Action.transferExternal](\n _context,\n transferRequest: TransferCaseExternalRequest\n ) {\n const updatedCase = await this.$api.cases.transport.transferExternalAsync(\n transferRequest\n );\n return updatedCase;\n },\n /**\n * Creates a transport permission report for a case.\n * @param context ActionContext.\n * @param caseDetails The case details for which the report is being created.\n */\n async [Action.createCheckoutPermissionReport](_context, caseDetails: Case) {\n const request = new CreateCheckoutReportRequest(caseDetails);\n const report = await this.$api.cases.transport.createCheckOutPermissionReportAsync(\n request\n );\n return report;\n },\n};\n","import { state, ICaseDetailsState } from './state';\nimport { getters, Getter } from './getters';\nimport { mutations, Mutation } from './mutations';\nimport { actions, Action } from './actions';\nimport { createModule } from '~/store';\n\nexport { Getter, Mutation, Action };\nexport type { ICaseDetailsState };\n\nexport const moduleName = 'case';\nexport const { module } = createModule(moduleName, {\n state,\n getters,\n mutations,\n actions,\n});\n","import { Bodybox } from '~/app/models';\n\nexport interface IBodyboxState {\n bodyboxes: Readonly[] | null;\n}\n\nexport const state = (): IBodyboxState => ({\n bodyboxes: null,\n});\n","import { GetterTree } from 'vuex';\nimport { IBodyboxState } from './state';\nimport { RootState } from '~/store';\n\nexport enum Getter {}\n\nexport const getters: GetterTree = {};\n","import { MutationTree } from 'vuex';\nimport { IBodyboxState } from './state';\nimport { Bodybox } from '~/app/models';\n\nexport enum Mutation {\n setBodyboxes = 'SET_BODYBOXES',\n updateBodybox = 'UPDATE_BODYBOX',\n removeBodybox = 'REMOVE_BODYBOX',\n}\n\nexport const mutations: MutationTree = {\n [Mutation.setBodyboxes](state, boxes: Bodybox[]) {\n state.bodyboxes = boxes;\n },\n [Mutation.updateBodybox](state, bodybox: Bodybox) {\n const index = state.bodyboxes?.findIndex((box) => box.id === bodybox.id);\n\n if (state.bodyboxes && index) {\n if (index < 0) state.bodyboxes.push(bodybox);\n else state.bodyboxes.splice(index, 1, bodybox);\n } else {\n state.bodyboxes = [bodybox];\n }\n },\n [Mutation.removeBodybox](state, bodybox: Bodybox) {\n const index = state.bodyboxes?.findIndex((box) => box.id === bodybox.id);\n\n if (state.bodyboxes && index) {\n if (index === -1) return;\n state.bodyboxes.splice(index, 1);\n }\n },\n};\n","import type { ActionTree } from 'vuex';\nimport type { IBodyboxState } from './state';\nimport { Mutation } from './mutations';\nimport { RootState } from '~/store';\nimport { Bodybox } from '~/app/models';\n\nexport enum Action {\n fetchCaseSummaries = 'bodybox.fetchCaseSummaries',\n fetchBodyboxes = 'bodybox.fetchBodyboxes',\n fetchCapacities = 'bodybox.fetchCapacities',\n}\n\nexport const actions: ActionTree = {\n async [Action.fetchCaseSummaries](_context, bodyboxId: string) {\n if (!bodyboxId) throw new Error('A bodybox id is required.');\n\n const summaries = await this.$api.bodyboxes.getCaseSummariesAsync(\n bodyboxId\n );\n\n return summaries;\n },\n async [Action.fetchBodyboxes](\n { state, commit },\n options?: { ignoreCache?: boolean }\n ) {\n let boxes = state.bodyboxes;\n\n if (options?.ignoreCache || !boxes) {\n boxes = (await this.$api.bodyboxes.getAsync()) as Bodybox[];\n commit(Mutation.setBodyboxes, boxes);\n }\n\n return boxes;\n },\n async [Action.fetchCapacities]({ commit }) {\n const boxes = await this.$api.bodyboxes.getCapacitiesAsync();\n\n commit(Mutation.setBodyboxes, boxes);\n return boxes;\n },\n};\n","import { state, IBodyboxState } from './state';\nimport { getters, Getter } from './getters';\nimport { mutations, Mutation } from './mutations';\nimport { actions, Action } from './actions';\nimport { createModule } from '~/store';\n\nexport { Getter, Mutation, Action };\nexport type { IBodyboxState };\n\nexport const moduleName = 'bodybox';\nexport const { module } = createModule(moduleName, {\n state,\n getters,\n mutations,\n actions,\n});\n","import { useStore as useRootStore, set } from '@nuxtjs/composition-api';\nimport {\n Commit,\n CommitOptions,\n Dispatch,\n DispatchOptions,\n Payload,\n} from 'vuex';\nimport { AppStore, ModuleState } from '~/store';\n\ntype ModuleKey = keyof ModuleState;\n\nexport function useStoreModule(\n moduleName: ModuleKey\n) {\n const store = useRootStore();\n\n const getters = Object.entries(store.getters).reduce((obj, [key, getter]) => {\n if (!key.startsWith(`${moduleName}/`)) return obj;\n const scopedKey = key.split(`${moduleName}/`)[1];\n set(obj, scopedKey, getter);\n return obj;\n }, {} as { [key: string]: any });\n\n const commit: Commit =

(\n typeOrPayloadWithType: string | P,\n payloadOrOptions: any | CommitOptions,\n options?: CommitOptions\n ) => {\n if (typeof typeOrPayloadWithType === 'string')\n return store.commit(\n `${moduleName}/${typeOrPayloadWithType}`,\n payloadOrOptions,\n options\n );\n\n const payloadWithType: P = {\n ...typeOrPayloadWithType,\n type: `${moduleName}/${typeOrPayloadWithType.type}`,\n };\n return store.commit(payloadWithType, options);\n };\n\n const dispatch: Dispatch =

(\n typeOrPayloadWithType: string | P,\n payloadOrOptions: any | DispatchOptions,\n options?: DispatchOptions\n ) => {\n if (typeof typeOrPayloadWithType === 'string')\n return store.dispatch(\n `${moduleName}/${typeOrPayloadWithType}`,\n payloadOrOptions,\n options\n );\n\n const payloadWithType: P = {\n ...typeOrPayloadWithType,\n type: `${moduleName}/${typeOrPayloadWithType.type}`,\n };\n return store.dispatch(payloadWithType, options);\n };\n\n const toNamespaced = (value: string) => `${moduleName}/${value}`;\n\n return {\n moduleName,\n rootStore: store,\n state: (store.state[moduleName] as unknown) as IState,\n getters,\n commit,\n dispatch,\n toNamespaced,\n };\n}\n","export enum AppAbilitySubject {\n case = 'case',\n bodybox = 'bodybox',\n dictionary = 'dictionary',\n user = 'user',\n report = 'report',\n}\n\n// #region Actions\n\nexport enum CaseAbilityAction {\n create = 'case:create',\n read = 'case:read',\n update = 'case:update',\n delete = 'case:delete',\n checkIn = 'case:checkin',\n checkout = 'case:checkout',\n transferInternal = 'case:internal-transfer',\n transferExternal = 'case:external-transfer',\n open = 'case:open',\n close = 'case:close',\n touch = 'case:touch',\n}\n\nexport enum BodyboxAbilityAction {\n create = 'bodybox:create',\n read = 'bodybox:read',\n update = 'bodybox:update',\n delete = 'bodybox:delete',\n}\n\nexport enum DictionaryAbilityAction {\n create = 'dictionary:create',\n read = 'dictionary:read',\n update = 'dictionary:update',\n delete = 'dictionary:delete',\n}\n\nexport enum UserAbilityAction {\n create = 'user:create',\n read = 'user:read',\n update = 'user:update',\n delete = 'user:delete',\n}\n\nexport enum ReportAbilityAction {\n create = 'report:create',\n readReport = 'report:{id}:read',\n}\n\n// #endregion\n","export const isFullStatic = false\nexport const staticPath = \"/home/vsts/work/1/s/.nuxt/static-json\"\nexport const publicPath = \"/\"\nexport const globalContext = \"__NUXT__\"\nexport const globalNuxt = \"$nuxt\"","import { Device } from './types';\n\nexport class PrintError extends Error {\n public readonly device?: Device;\n\n constructor(message: string, device: Device | undefined = undefined) {\n super(message);\n this.device = device;\n }\n}\n","import { createModule } from '../index';\nimport { state, IAccessState } from './state';\nimport { mutations, Mutation } from './mutations';\nimport { actions, Action } from './actions';\n\nexport type { IAccessState };\nexport { Action, Mutation };\nexport const moduleName = 'access';\n\nexport default createModule(moduleName, {\n state,\n mutations,\n actions,\n});\n","import { Store, Module } from 'vuex';\nimport { IAccessState, moduleName as AccessStoreModuleName } from './access';\nimport {\n IDictionariesState,\n moduleName as DictionariesStoreName,\n} from './dictionaries';\nimport { moduleName as TenantModuleName, ITenantState } from './tenant';\nimport {\n moduleName as CaseDetailsStoreName,\n ICaseDetailsState,\n} from '~mod:case-details/store';\nimport {\n moduleName as BodyboxStoreName,\n IBodyboxState,\n} from '~mod:bodybox/store';\nimport {\n moduleName as SettingsModuleName,\n ISettingsState,\n} from '~mod:settings/store';\n\nexport type ModuleState = {\n [AccessStoreModuleName]: IAccessState;\n [BodyboxStoreName]: IBodyboxState;\n [CaseDetailsStoreName]: ICaseDetailsState;\n [DictionariesStoreName]: IDictionariesState;\n [SettingsModuleName]: ISettingsState;\n [TenantModuleName]: ITenantState;\n};\n\nexport type RootState = {} & ModuleState;\n\nexport type AppStore = Store & ModuleState;\n\nexport function createModule(\n moduleName: keyof ModuleState,\n modulePartial: Omit, 'namespaced'>\n) {\n const module: Module = {\n namespaced: true,\n ...modulePartial,\n };\n\n return { module, moduleName };\n}\n\nexport function createSubModule<\n TState,\n TParentModule = Module['modules']\n>(\n moduleName: keyof TParentModule,\n modulePartial: Omit, 'namespaced'>\n) {\n const module: Module = {\n namespaced: true,\n ...modulePartial,\n };\n\n return { module, moduleName };\n}\n","/* eslint-disable no-redeclare */\nimport { format, parse, isValid, parseISO } from 'date-fns';\nimport { DateTimeInfo } from './date-time-info';\nimport { DateOnly } from './date-only';\n\n/**\n * Parse an ISO 8601 string into a Date object.\n * @param str The string to parse.\n * @returns The parsed Date object, or null if the string could not be parsed.\n */\nexport function parseISODateTime(str: string): Date | null {\n const date = parseISO(str);\n return isValid(date) ? date : null;\n}\n\n/**\n * Parse an ISO 8601 (date only) string into a Date object.\n * @param str The string to parse.\n * @returns The parsed Date object, or null if the string could not be parsed.\n */\nexport function parseISODateOnly(str: string): Date | null {\n const date = parse(str, 'yyyy-MM-dd', new Date());\n return isValid(date) ? date : null;\n}\n\n/**\n * Parse an ISO 8601 string into a Date object so long as it can be parsed as either an ISO 8601 date only or a date/time.\n * @param str The string to parse.\n * @returns The parsed Date object, or null if the string could not be parsed.\n */\nexport function parseISODateLoose(str: string): Date | null {\n return parseISODateTime(str) || parseISODateOnly(str);\n}\n\n/**\n * Parses a date/time value into a primitive DateOnly or Date object.\n * @param value The date like value to parse. If value is a string it will be parsed as an ISO 8601 date/time.\n * @returns The parsed DateOnly or Date object, or null if the value could not be parsed.\n */\ntype DateLike = Date | DateTimeInfo | string;\nexport function parseDate(\n value?: DateLike,\n options: { truncateZeroTime: boolean } = { truncateZeroTime: false }\n): Date | DateOnly | null {\n const isZeroTime = (date: Date) =>\n options.truncateZeroTime &&\n [date.getHours(), date.getMinutes(), date.getSeconds()].every(\n (p) => p === 0\n );\n\n if (value instanceof DateTimeInfo) {\n if (value.time && isZeroTime(value.time)) return new DateOnly(value.time!);\n return value.time || value.date;\n }\n\n if (value instanceof DateOnly) return value;\n\n if (typeof value === 'string') {\n const date = parseISODateLoose(value);\n if (date && isZeroTime(date)) return new DateOnly(date!);\n return date;\n }\n\n return value ?? null;\n}\n\ntype DateType = 'numerical' | 'pretty';\ntype TimeType = boolean | 'auto';\ninterface FormatDateOptions {\n type?: DateType;\n}\n\ninterface FormatDateTimeOptions extends FormatDateOptions {\n time?: TimeType;\n military?: boolean;\n timeZone?: boolean;\n}\n\nexport function getTimezone(\n date?: Date,\n locale: string | undefined = navigator.language\n) {\n const currentLocale = locale || 'en-US'; // fallback to en-US if not available\n const shortTimeZone = new Intl.DateTimeFormat(currentLocale, {\n timeZone: Intl.DateTimeFormat().resolvedOptions().timeZone,\n timeZoneName: 'short',\n })\n .formatToParts(date)\n .find((part) => part.type === 'timeZoneName')?.value;\n\n return shortTimeZone || '--';\n}\n\nexport function formatDate(date: Date, options?: FormatDateTimeOptions): string;\nexport function formatDate(date: DateOnly, options?: FormatDateOptions): string;\nexport function formatDate(\n date: DateTimeInfo,\n options?: FormatDateTimeOptions\n): string;\nexport function formatDate(\n date: Date | DateOnly | DateTimeInfo,\n options?: FormatDateTimeOptions | FormatDateOptions\n): string {\n const { type, time, military, timeZone } = {\n type: 'numerical' as DateType,\n time: false as TimeType,\n military: false,\n timeZone: false,\n ...(options || {}),\n };\n\n const patterns = {\n numerical: {\n date: 'MM/dd/yyyy',\n time: military ? 'HH:mm' : 'h:mm aa',\n },\n pretty: {\n date: 'MMMM do, yyyy',\n time: military ? 'HH:mm' : 'h:mm aa',\n },\n } as const;\n\n const hasTimePart =\n (date instanceof DateTimeInfo && date.time) || date instanceof Date;\n\n const includeTime =\n (typeof time === 'boolean' && time) || (time === 'auto' && hasTimePart);\n\n const value =\n date instanceof DateTimeInfo\n ? date.toDate()\n : date instanceof DateOnly\n ? date.toDate()\n : date;\n\n const pattern = patterns[type];\n const formatPattern = includeTime\n ? `${pattern.date} ${pattern.time}`\n : pattern.date;\n\n const formatted = format(value, formatPattern);\n\n return includeTime && timeZone\n ? `${formatted} ${getTimezone(value)}`.trim()\n : formatted;\n}\n","export function sleep(ms: number) {\n return new Promise((resolve) => setTimeout(resolve, ms));\n}\n\ntype RetryIntervalMultiplier = (interval: number) => number;\n\n/**\n * Multiplies the interval by 2 on each retry.\n * @param i The interval to multiply\n * @returns The interval multiplied by 2\n */\nexport const DoublingRetryIntervalMultiplier: RetryIntervalMultiplier = (i) =>\n i * 2;\n\n/**\n * Will keep the interval the same on each retry.\n * @param i The interval\n * @returns The interval\n */\nexport const LinearRetryIntervalMultiplier: RetryIntervalMultiplier = (i) => i;\n\n/**\n * Runs the function `fn` and retries automatically if it fails.\n * @param fn The function to run\n * @param retriesLeft The number of retries left\n * @param interval The interval between retries\n * @param intervalMultiplier The function to calculate the next interval\n * @returns The result of the function\n */\nexport async function retry(\n fn: (...args: any[]) => Promise | TReturn,\n retriesLeft = 3,\n interval = 1000,\n intervalMultiplier: RetryIntervalMultiplier = DoublingRetryIntervalMultiplier\n): Promise {\n try {\n return await fn();\n } catch (error) {\n if (retriesLeft === 0) {\n throw error;\n }\n\n await sleep(interval);\n\n return retry(\n fn,\n retriesLeft - 1,\n intervalMultiplier(interval),\n intervalMultiplier\n );\n }\n}\n","import { ILogger, LoggerArg } from '../ILogger';\n\n// const log = console.log.bind(window.console);\n// const info = console.info.bind(window.console);\n// const warn = console.warn.bind(window.console);\n// const debug = console.debug.bind(window.console);\n// const error = console.error.bind(window.console);\n// const track = console.log.bind(window.console, 'Tracked:');\n\n///\n/// Implementations for printing with correct file names/line numbers\n/// https://github.com/akoidan/lines-logger\n///\n\nexport class ConsoleLogger implements ILogger {\n public log(message: string, data?: LoggerArg) {\n const args = ([message] as any[]).concat(data ? [data] : []);\n console.log.call(window.console, ...args);\n }\n\n public info(message: string, data?: LoggerArg) {\n const args = ([message] as any[]).concat(data ? [data] : []);\n console.info.call(window.console, ...args);\n }\n\n public warn(message: string, data?: LoggerArg) {\n const args = ([message] as any[]).concat(data ? [data] : []);\n console.warn.call(window.console, ...args);\n }\n\n public debug(message: string, data?: LoggerArg) {\n const args = ([message] as any[]).concat(data ? [data] : []);\n console.debug.call(window.console, ...args);\n }\n\n public error(message: string | Error, data?: LoggerArg) {\n const errorInstance =\n message instanceof Error ? message : new Error(message);\n\n const args = ([errorInstance] as any[]).concat(data ? [data] : []);\n console.error.call(window.console, ...args);\n }\n\n public track(event: string, data?: LoggerArg) {\n const args = (['Tracked:', event] as any[]).concat(data ? [data] : []);\n console.log.call(window.console, ...args);\n }\n}\n","import { message as toast } from 'ant-design-vue';\nimport type { MessageOptions as ToastOptions } from 'ant-design-vue/types/message';\nimport { ILogger, LoggerArg } from '../ILogger';\n\nexport type { ToastOptions };\n\nexport interface IToastLogger extends ILogger {\n log(message: string, data?: LoggerArg, options?: ToastOptions): void;\n info(message: string, data?: LoggerArg, options?: ToastOptions): void;\n warn(message: string, data?: LoggerArg, options?: ToastOptions): void;\n debug(message: string, data?: LoggerArg, options?: ToastOptions): void;\n error(\n message: string | Error,\n data?: LoggerArg,\n options?: ToastOptions\n ): void;\n}\n\nexport class ToastLogger implements ILogger {\n public log(message: string, data?: LoggerArg, options?: ToastOptions) {\n this.createToast('info', message, data, options);\n }\n\n public info(message: string, data?: LoggerArg, options?: ToastOptions) {\n this.createToast('info', message, data, options);\n }\n\n public warn(message: string, data?: LoggerArg, options?: ToastOptions) {\n this.createToast('info', message, data, options);\n }\n\n public debug(message: string, data?: LoggerArg, options?: ToastOptions) {\n if (process.env.NODE_ENV === 'development') {\n this.createToast('warning', message, data, options);\n }\n }\n\n public error(\n message: string | Error,\n data?: LoggerArg,\n options?: ToastOptions\n ) {\n const error = message instanceof Error ? message : new Error(message);\n this.createToast('error', error.message, data, options);\n }\n\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n public track(event: string, data?: LoggerArg) {\n // do nothing.\n }\n\n private createToast(\n type: ToastOptions['type'],\n message: string,\n _data?: LoggerArg,\n options?: ToastOptions\n ) {\n if (process.server) return;\n const content = options?.content || message;\n toast.open({ ...(options || {}), content, type });\n }\n}\n","import { ILogger, LoggerArg } from './ILogger';\nimport { ToastLogger, ToastOptions } from './toast/logger';\n\ntype ILoggerImpl = new (...args: any[]) => TLogger;\n\ntype UIToastConfig = {\n /** If a `boolean` value is provided, toggle logging to the UI via a toast notification.\n * If an `object` is provided, it will be used to configure and push a toast notification.\n */\n ui: boolean | ToastOptions;\n};\n\nexport class LogProvider implements ILogger {\n private readonly loggers: Set;\n\n constructor() {\n this.loggers = new Set([new ToastLogger()]);\n }\n\n public addLogger(logger: ILogger): void {\n this.loggers.add(logger);\n }\n\n public removeLogger(logger: ILogger): void {\n this.loggers.delete(logger);\n }\n\n public getLogger(\n type: ILoggerImpl\n ): TLogger | undefined {\n return [...this.loggers].find((logger) => logger instanceof type) as\n | TLogger\n | undefined;\n }\n\n public log(message: string, data?: LoggerArg, toast?: UIToastConfig): void {\n for (const logger of this.loggers) {\n try {\n if (logger instanceof ToastLogger && toast?.ui) {\n const toastOptions =\n typeof toast.ui === 'boolean' ? undefined : toast.ui;\n\n logger.log(message, data, toastOptions);\n } else {\n logger.log(message, data);\n }\n } catch (error) {}\n }\n }\n\n public info(message: string, data?: LoggerArg, toast?: UIToastConfig): void {\n for (const logger of this.loggers) {\n try {\n if (logger instanceof ToastLogger && toast?.ui) {\n const toastOptions =\n typeof toast.ui === 'boolean' ? undefined : toast.ui;\n\n logger.info(message, data, toastOptions);\n } else {\n logger.info(message, data);\n }\n } catch (error) {}\n }\n }\n\n public warn(message: string, data?: LoggerArg, toast?: UIToastConfig): void {\n for (const logger of this.loggers) {\n try {\n if (logger instanceof ToastLogger && toast?.ui) {\n const toastOptions =\n typeof toast.ui === 'boolean' ? undefined : toast.ui;\n\n logger.warn(message, data, toastOptions);\n } else {\n logger.warn(message, data);\n }\n } catch (error) {}\n }\n }\n\n public debug(message: string, data?: LoggerArg, toast?: UIToastConfig): void {\n for (const logger of this.loggers) {\n try {\n if (logger instanceof ToastLogger && toast?.ui) {\n const toastOptions =\n typeof toast.ui === 'boolean' ? undefined : toast.ui;\n\n logger.debug(message, data, toastOptions);\n } else {\n logger.debug(message, data);\n }\n } catch (error) {}\n }\n }\n\n public error(\n message: string | Error,\n data?: LoggerArg,\n toast?: UIToastConfig\n ): void {\n for (const logger of this.loggers) {\n try {\n if (logger instanceof ToastLogger) {\n const useToast = typeof toast?.ui === 'boolean' ? toast.ui : true;\n if (!useToast) continue;\n\n const toastOptions: ToastOptions | undefined =\n typeof toast?.ui === 'boolean' ? undefined : toast?.ui;\n\n logger.error(message, data, toastOptions);\n } else {\n logger.error(message, data);\n }\n } catch (error) {}\n }\n }\n\n public track(event: string, data?: LoggerArg): void {\n for (const logger of this.loggers) {\n try {\n logger.track(event, data);\n } catch (error) {}\n }\n }\n}\n","import { IApplicationInsights } from '@microsoft/applicationinsights-web';\nimport { ILogger, LoggerArg } from '../ILogger';\n\nexport class AppInsightsLogger implements ILogger {\n private readonly appInsights: IApplicationInsights;\n\n constructor(appInsights: IApplicationInsights) {\n if (!appInsights) throw new Error('appInsights instance is required.');\n this.appInsights = appInsights;\n }\n\n public log(message: string, data?: LoggerArg): void {\n this.logEvent('info', message, data);\n }\n\n public info(message: string, data?: LoggerArg): void {\n this.logEvent('info', message, data);\n }\n\n public warn(message: string, data?: LoggerArg): void {\n this.logEvent('warn', message, data);\n }\n\n public debug(message: string, data?: LoggerArg): void {\n this.logEvent('debug', message, data);\n }\n\n public error(message: string | Error, data?: LoggerArg): void {\n const error = message instanceof Error ? message : new Error(message);\n this.appInsights.trackException({ exception: error }, data);\n }\n\n public track(event: string, data?: LoggerArg): void {\n this.appInsights.trackEvent({ name: event }, data);\n }\n\n private logEvent(\n type: 'info' | 'warn' | 'debug',\n message: string,\n data?: LoggerArg\n ): void {\n this.appInsights.trackEvent({ name: type }, { ...(data || {}), message });\n }\n}\n","import { Type } from 'class-transformer';\nimport { DateOnly } from './date-only';\nimport { parseISODateOnly, parseISODateTime } from './utils';\n\nexport interface DateTimeInfoOptions {\n /** Indicates if the date should always be serialized as a DateOnly or Date. */\n serialize?: 'date' | 'dateTime';\n}\n\nfunction isDateTimeInfoStructure(obj: any): obj is DateTimeInfo {\n return (\n obj &&\n typeof obj === 'object' &&\n ('date' in obj || 'time' in obj) &&\n (typeof obj.date === 'string' || obj.date instanceof DateOnly) &&\n (typeof obj.time === 'string' ||\n obj.time instanceof Date ||\n obj.time === undefined)\n );\n}\n\nexport class DateTimeInfo {\n private readonly options?: DateTimeInfoOptions;\n\n @Type(() => DateOnly)\n public readonly date!: DateOnly;\n\n @Type(() => Date)\n public readonly time?: Date;\n\n constructor(\n args: DateOnly | Date | DateTimeInfo | string,\n options?: DateTimeInfoOptions\n ) {\n if (!args) return;\n\n this.options = options;\n\n if (typeof args === 'string') {\n const date = parseISODateOnly(args);\n if (date) {\n this.date = new DateOnly(date);\n this.time = undefined;\n return;\n }\n\n const dateTime = parseISODateTime(args);\n if (dateTime) {\n this.date = new DateOnly(dateTime);\n this.time = dateTime;\n return;\n }\n\n throw new Error('Invalid ISO 8601 date string');\n }\n\n if (args instanceof DateTimeInfo || isDateTimeInfoStructure(args)) {\n this.date =\n args.date instanceof DateOnly ? args.date : new DateOnly(args.date);\n this.time = args.time\n ? args.time instanceof Date\n ? args.time\n : new Date(args.time)\n : undefined;\n return;\n }\n\n if (args instanceof DateOnly) {\n this.date = args;\n return;\n }\n\n this.date = new DateOnly(args);\n this.time = args;\n }\n\n public get value(): Date | DateOnly {\n return this.time || this.date;\n }\n\n public toString() {\n return this.toJSON();\n }\n\n public toDate(): Date {\n return this.time || this.date.toDate();\n }\n\n public toJSON(): string {\n if (this.options?.serialize)\n return this.options?.serialize === 'date'\n ? this.date.toJSON()\n : this.toDate().toISOString();\n\n if (this.time) return this.time.toISOString();\n return this.date.toISOString();\n }\n}\n","import { getMatchedComponents, setScrollRestoration } from './utils'\n\nif (process.client) {\n if ('scrollRestoration' in window.history) {\n setScrollRestoration('manual')\n\n // reset scrollRestoration to auto when leaving page, allowing page reload\n // and back-navigation from other pages to use the browser to restore the\n // scrolling position.\n window.addEventListener('beforeunload', () => {\n setScrollRestoration('auto')\n })\n\n // Setting scrollRestoration to manual again when returning to this page.\n window.addEventListener('load', () => {\n setScrollRestoration('manual')\n })\n }\n}\n\nfunction shouldScrollToTop(route) {\n const Pages = getMatchedComponents(route)\n if (Pages.length === 1) {\n const { options = {} } = Pages[0]\n return options.scrollToTop !== false\n }\n return Pages.some(({ options }) => options && options.scrollToTop)\n}\n\nexport default function (to, from, savedPosition) {\n // If the returned position is falsy or an empty object, will retain current scroll position\n let position = false\n const isRouteChanged = to !== from\n\n // savedPosition is only available for popstate navigations (back button)\n if (savedPosition) {\n position = savedPosition\n } else if (isRouteChanged && shouldScrollToTop(to)) {\n position = { x: 0, y: 0 }\n }\n\n const nuxt = window.$nuxt\n\n if (\n // Initial load (vuejs/vue-router#3199)\n !isRouteChanged ||\n // Route hash changes\n (to.path === from.path && to.hash !== from.hash)\n ) {\n nuxt.$nextTick(() => nuxt.$emit('triggerScroll'))\n }\n\n return new Promise((resolve) => {\n // wait for the out transition to complete (if necessary)\n nuxt.$once('triggerScroll', () => {\n // coords will be used if no selector is provided,\n // or if the selector didn't match any element.\n if (to.hash) {\n let hash = to.hash\n // CSS.escape() is not supported with IE and Edge.\n if (typeof window.CSS !== 'undefined' && typeof window.CSS.escape !== 'undefined') {\n hash = '#' + window.CSS.escape(hash.substr(1))\n }\n try {\n if (document.querySelector(hash)) {\n // scroll to anchor by returning the selector\n position = { selector: hash }\n }\n } catch (e) {\n console.warn('Failed to save scroll position. Please add CSS.escape() polyfill (https://github.com/mathiasbynens/CSS.escape).')\n }\n }\n resolve(position)\n })\n })\n}\n","import Vue from 'vue'\nimport Router from 'vue-router'\nimport { normalizeURL, decode } from 'ufo'\nimport { interopDefault } from './utils'\nimport scrollBehavior from './router.scrollBehavior.js'\n\nconst _4bfd5884 = () => interopDefault(import('../pages/account.vue' /* webpackChunkName: \"pages/account\" */))\nconst _48b4177d = () => interopDefault(import('../pages/bodybox/index.vue' /* webpackChunkName: \"pages/bodybox/index\" */))\nconst _2ce55c72 = () => interopDefault(import('../pages/organization.vue' /* webpackChunkName: \"pages/organization\" */))\nconst _e6797516 = () => interopDefault(import('../pages/organization/index.vue' /* webpackChunkName: \"pages/organization/index\" */))\nconst _0a3296e1 = () => interopDefault(import('../pages/organization/dictionaries.vue' /* webpackChunkName: \"pages/organization/dictionaries\" */))\nconst _072ff9ee = () => interopDefault(import('../pages/organization/users/index.vue' /* webpackChunkName: \"pages/organization/users/index\" */))\nconst _075f63c6 = () => interopDefault(import('../pages/organization/users/invite.vue' /* webpackChunkName: \"pages/organization/users/invite\" */))\nconst _dd35d2b4 = () => interopDefault(import('../pages/organization/users/invites.vue' /* webpackChunkName: \"pages/organization/users/invites\" */))\nconst _44af9fd6 = () => interopDefault(import('../pages/organization/users/_id.vue' /* webpackChunkName: \"pages/organization/users/_id\" */))\nconst _0492673c = () => interopDefault(import('../pages/outbox.vue' /* webpackChunkName: \"pages/outbox\" */))\nconst _7c1cdd3c = () => interopDefault(import('../pages/register.vue' /* webpackChunkName: \"pages/register\" */))\nconst _a4f1a602 = () => interopDefault(import('../pages/reporting.vue' /* webpackChunkName: \"pages/reporting\" */))\nconst _715b80e4 = () => interopDefault(import('../pages/reporting/death.vue' /* webpackChunkName: \"pages/reporting/death\" */))\nconst _17683814 = () => interopDefault(import('../pages/reporting/missed-notifications.vue' /* webpackChunkName: \"pages/reporting/missed-notifications\" */))\nconst _b50c844a = () => interopDefault(import('../pages/reporting/morgue-census.vue' /* webpackChunkName: \"pages/reporting/morgue-census\" */))\nconst _4c12a4b6 = () => interopDefault(import('../pages/reporting/time-to-release.vue' /* webpackChunkName: \"pages/reporting/time-to-release\" */))\nconst _2b7e0b66 = () => interopDefault(import('../pages/reservations.vue' /* webpackChunkName: \"pages/reservations\" */))\nconst _47955ee2 = () => interopDefault(import('../pages/settings.vue' /* webpackChunkName: \"pages/settings\" */))\nconst _48a37054 = () => interopDefault(import('../pages/case/active.vue' /* webpackChunkName: \"pages/case/active\" */))\nconst _99130268 = () => interopDefault(import('../pages/case/create.vue' /* webpackChunkName: \"pages/case/create\" */))\nconst _6fac3f55 = () => interopDefault(import('../pages/test/config.ts' /* webpackChunkName: \"pages/test/config\" */))\nconst _56a0dfa1 = () => interopDefault(import('../pages/test/test1.vue' /* webpackChunkName: \"pages/test/test1\" */))\nconst _f72855b6 = () => interopDefault(import('../pages/bodybox/_id.vue' /* webpackChunkName: \"pages/bodybox/_id\" */))\nconst _34b0f91a = () => interopDefault(import('../pages/case/_id.vue' /* webpackChunkName: \"pages/case/_id\" */))\nconst _77002223 = () => interopDefault(import('../pages/index.vue' /* webpackChunkName: \"pages/index\" */))\n\nconst emptyFn = () => {}\n\nVue.use(Router)\n\nexport const routerOptions = {\n mode: 'history',\n base: '/',\n linkActiveClass: 'nuxt-link-active',\n linkExactActiveClass: 'nuxt-link-exact-active',\n scrollBehavior,\n\n routes: [{\n path: \"/account\",\n component: _4bfd5884,\n name: \"account\"\n }, {\n path: \"/bodybox\",\n component: _48b4177d,\n name: \"bodybox\"\n }, {\n path: \"/organization\",\n component: _2ce55c72,\n children: [{\n path: \"\",\n component: _e6797516,\n name: \"organization\"\n }, {\n path: \"dictionaries\",\n component: _0a3296e1,\n name: \"organization-dictionaries\"\n }, {\n path: \"users\",\n component: _072ff9ee,\n name: \"organization-users\"\n }, {\n path: \"users/invite\",\n component: _075f63c6,\n name: \"organization-users-invite\"\n }, {\n path: \"users/invites\",\n component: _dd35d2b4,\n name: \"organization-users-invites\"\n }, {\n path: \"users/:id\",\n component: _44af9fd6,\n name: \"organization-users-id\"\n }]\n }, {\n path: \"/outbox\",\n component: _0492673c,\n name: \"outbox\"\n }, {\n path: \"/register\",\n component: _7c1cdd3c,\n name: \"register\"\n }, {\n path: \"/reporting\",\n component: _a4f1a602,\n name: \"reporting\",\n children: [{\n path: \"death\",\n component: _715b80e4,\n name: \"reporting-death\"\n }, {\n path: \"missed-notifications\",\n component: _17683814,\n name: \"reporting-missed-notifications\"\n }, {\n path: \"morgue-census\",\n component: _b50c844a,\n name: \"reporting-morgue-census\"\n }, {\n path: \"time-to-release\",\n component: _4c12a4b6,\n name: \"reporting-time-to-release\"\n }]\n }, {\n path: \"/reservations\",\n component: _2b7e0b66,\n name: \"reservations\"\n }, {\n path: \"/settings\",\n component: _47955ee2,\n name: \"settings\"\n }, {\n path: \"/case/active\",\n component: _48a37054,\n name: \"case-active\"\n }, {\n path: \"/case/create\",\n component: _99130268,\n name: \"case-create\"\n }, {\n path: \"/test/config\",\n component: _6fac3f55,\n name: \"test-config\"\n }, {\n path: \"/test/test1\",\n component: _56a0dfa1,\n name: \"test-test1\"\n }, {\n path: \"/bodybox/:id\",\n component: _f72855b6,\n name: \"bodybox-id\"\n }, {\n path: \"/case/:id?\",\n component: _34b0f91a,\n name: \"case-id\"\n }, {\n path: \"/\",\n component: _77002223,\n name: \"index\"\n }],\n\n fallback: false\n}\n\nexport function createRouter (ssrContext, config) {\n const base = (config._app && config._app.basePath) || routerOptions.base\n const router = new Router({ ...routerOptions, base })\n\n // TODO: remove in Nuxt 3\n const originalPush = router.push\n router.push = function push (location, onComplete = emptyFn, onAbort) {\n return originalPush.call(this, location, onComplete, onAbort)\n }\n\n const resolve = router.resolve.bind(router)\n router.resolve = (to, current, append) => {\n if (typeof to === 'string') {\n to = normalizeURL(to)\n }\n return resolve(to, current, append)\n }\n\n return router\n}\n","\nexport default {\n name: 'NuxtChild',\n functional: true,\n props: {\n nuxtChildKey: {\n type: String,\n default: ''\n },\n keepAlive: Boolean,\n keepAliveProps: {\n type: Object,\n default: undefined\n }\n },\n render (_, { parent, data, props }) {\n const h = parent.$createElement\n\n data.nuxtChild = true\n const _parent = parent\n const transitions = parent.$nuxt.nuxt.transitions\n const defaultTransition = parent.$nuxt.nuxt.defaultTransition\n\n let depth = 0\n while (parent) {\n if (parent.$vnode && parent.$vnode.data.nuxtChild) {\n depth++\n }\n parent = parent.$parent\n }\n data.nuxtChildDepth = depth\n const transition = transitions[depth] || defaultTransition\n const transitionProps = {}\n transitionsKeys.forEach((key) => {\n if (typeof transition[key] !== 'undefined') {\n transitionProps[key] = transition[key]\n }\n })\n\n const listeners = {}\n listenersKeys.forEach((key) => {\n if (typeof transition[key] === 'function') {\n listeners[key] = transition[key].bind(_parent)\n }\n })\n if (process.client) {\n // Add triggerScroll event on beforeEnter (fix #1376)\n const beforeEnter = listeners.beforeEnter\n listeners.beforeEnter = (el) => {\n // Ensure to trigger scroll event after calling scrollBehavior\n window.$nuxt.$nextTick(() => {\n window.$nuxt.$emit('triggerScroll')\n })\n if (beforeEnter) {\n return beforeEnter.call(_parent, el)\n }\n }\n }\n\n // make sure that leave is called asynchronous (fix #5703)\n if (transition.css === false) {\n const leave = listeners.leave\n\n // only add leave listener when user didnt provide one\n // or when it misses the done argument\n if (!leave || leave.length < 2) {\n listeners.leave = (el, done) => {\n if (leave) {\n leave.call(_parent, el)\n }\n\n _parent.$nextTick(done)\n }\n }\n }\n\n let routerView = h('routerView', data)\n\n if (props.keepAlive) {\n routerView = h('keep-alive', { props: props.keepAliveProps }, [routerView])\n }\n\n return h('transition', {\n props: transitionProps,\n on: listeners\n }, [routerView])\n }\n}\n\nconst transitionsKeys = [\n 'name',\n 'mode',\n 'appear',\n 'css',\n 'type',\n 'duration',\n 'enterClass',\n 'leaveClass',\n 'appearClass',\n 'enterActiveClass',\n 'enterActiveClass',\n 'leaveActiveClass',\n 'appearActiveClass',\n 'enterToClass',\n 'leaveToClass',\n 'appearToClass'\n]\n\nconst listenersKeys = [\n 'beforeEnter',\n 'enter',\n 'afterEnter',\n 'enterCancelled',\n 'beforeLeave',\n 'leave',\n 'afterLeave',\n 'leaveCancelled',\n 'beforeAppear',\n 'appear',\n 'afterAppear',\n 'appearCancelled'\n]\n","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./default-error-template.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./default-error-template.vue?vue&type=script&lang=ts&\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport {\n computed,\n defineComponent,\n PropType,\n toRef,\n useContext,\n} from '@nuxtjs/composition-api';\n\nexport default defineComponent({\n name: 'DefaultErrorTemplate',\n props: {\n statusCode: {\n type: [Number, String] as PropType,\n required: false,\n default: undefined,\n },\n message: {\n type: String as PropType,\n required: false,\n default: undefined,\n },\n },\n setup(props) {\n const status = toRef(props, 'statusCode');\n\n /** While not the actual status code, this converts the status code into what we need to get the appropriate result image of the AntD Result component. */\n const antdDResultStatus = computed(() =>\n status.value?.toString() === '400' ? '403' : '500'\n );\n\n const { $auth, $config } = useContext();\n\n const userEmailAddress = $auth.user.value?.email;\n const logout = () => $auth.logoutAsync();\n\n return {\n antdDResultStatus,\n isAuthenticated: $auth.isAuthenticated,\n appBaseUrl: $config.app.baseUrl,\n userEmailAddress,\n logout,\n };\n },\n});\n","import { render, staticRenderFns } from \"./default-error-template.vue?vue&type=template&id=219c82ac&\"\nimport script from \"./default-error-template.vue?vue&type=script&lang=ts&\"\nexport * from \"./default-error-template.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"flex h-full flex-col items-center p-8\"},[_c('a-result',{attrs:{\"status\":_vm.antdDResultStatus,\"title\":_vm.message,\"aria-hidden\":\"true\"}}),_vm._v(\" \"),_c('div',{staticClass:\"flex w-full flex-col items-center gap-4 text-center\"},[_c('h1',{staticClass:\"sr-only\"},[_vm._v(\"\\n \"+_vm._s(_vm.message)+\"\\n \")]),_vm._v(\" \"),(_vm.statusCode)?_c('p',{staticClass:\"max-w-[500px]\"},[_c('span',{staticClass:\"font-medium\"},[_vm._v(\"Error Code:\")]),_vm._v(\" \"+_vm._s(_vm.statusCode)+\"\\n \")]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"flex flex-col items-center\"},[(_vm.isAuthenticated)?_c('wb-button',{attrs:{\"size\":\"sm\",\"variant-color\":\"neutral\"},on:{\"click\":_vm.logout}},[(_vm.userEmailAddress)?[_vm._v(\"\\n Log out of \"+_vm._s(_vm.userEmailAddress)+\"\\n \")]:[_vm._v(\" Log out \")]],2):_vm._e()],1)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./403-error-template.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./403-error-template.vue?vue&type=script&lang=ts&\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { defineComponent, PropType, useContext } from '@nuxtjs/composition-api';\n\nexport default defineComponent({\n name: 'ForbiddenErrorTemplate',\n props: {\n statusCode: {\n type: [Number, String] as PropType,\n required: false,\n default: undefined,\n },\n message: {\n type: String as PropType,\n required: false,\n default: undefined,\n },\n },\n setup() {\n const { $auth, $config } = useContext();\n\n const userEmailAddress = $auth.user.value?.email;\n const logout = () => $auth.logoutAsync();\n\n return {\n isAuthenticated: $auth.isAuthenticated,\n appBaseUrl: $config.app.baseUrl,\n userEmailAddress,\n logout,\n };\n },\n});\n","import { render, staticRenderFns } from \"./403-error-template.vue?vue&type=template&id=67b503cd&\"\nimport script from \"./403-error-template.vue?vue&type=script&lang=ts&\"\nexport * from \"./403-error-template.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"flex h-full flex-col items-center p-8\"},[_c('a-result',{attrs:{\"status\":\"403\",\"title\":\"Sorry, you are not authorized to view this page.\",\"aria-hidden\":\"true\"}}),_vm._v(\" \"),_c('div',{staticClass:\"flex w-full flex-col items-center gap-4 text-center\"},[_c('h1',{staticClass:\"sr-only\"},[_vm._v(\"Sorry, you are not authorized to view this page.\")]),_vm._v(\" \"),_c('p',{staticClass:\"max-w-[500px]\"},[_c('span',{staticClass:\"font-medium\"},[_vm._v(\"Error Code:\")]),_vm._v(\" \"+_vm._s(_vm.statusCode)+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"flex flex-col items-center\"},[(_vm.isAuthenticated)?_c('wb-button',{attrs:{\"size\":\"sm\",\"variant-color\":\"neutral\"},on:{\"click\":_vm.logout}},[(_vm.userEmailAddress)?[_vm._v(\"\\n Log out of \"+_vm._s(_vm.userEmailAddress)+\"\\n \")]:[_vm._v(\" Log out \")]],2):_vm._e()],1)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./403-tenant-error-template.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./403-tenant-error-template.vue?vue&type=script&lang=ts&\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { defineComponent, PropType, useContext } from '@nuxtjs/composition-api';\n\nexport default defineComponent({\n name: 'ForbiddenTenantErrorTemplate',\n props: {\n statusCode: {\n type: [Number, String] as PropType,\n required: false,\n default: undefined,\n },\n message: {\n type: String as PropType,\n required: false,\n default: undefined,\n },\n },\n setup() {\n const { $auth, $config, store } = useContext();\n\n const tenantId: string = store.state.tenant.tenant?.id;\n\n const userEmailAddress = $auth.user.value?.email;\n const logout = () => $auth.logoutAsync();\n\n const version = `${$config.app.version} ${$config.app.buildNumber}`;\n const appBaseUrl = $config.app.baseUrl;\n const supportEmail = $config.app.support.email;\n\n return {\n tenantId,\n isAuthenticated: $auth.isAuthenticated,\n logout,\n appBaseUrl,\n userEmailAddress,\n version,\n supportEmail,\n };\n },\n});\n","import { render, staticRenderFns } from \"./403-tenant-error-template.vue?vue&type=template&id=6ba53798&scoped=true&\"\nimport script from \"./403-tenant-error-template.vue?vue&type=script&lang=ts&\"\nexport * from \"./403-tenant-error-template.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./403-tenant-error-template.vue?vue&type=style&index=0&id=6ba53798&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6ba53798\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"flex h-full flex-col items-center p-8\"},[_c('nuxt-link',{staticClass:\"mb-6 text-center\",attrs:{\"to\":\"/\",\"aria-label\":\"Go to home page\"}},[_c('span',{staticClass:\"text-xl font-medium text-primary\"},[_c('span',{staticClass:\"font-bold\"},[_vm._v(\"Morgue\")]),_vm._v(\"Board®\\n \")])]),_vm._v(\" \"),_c('a-result',{attrs:{\"status\":\"403\",\"title\":\"You are trying to access an organization you do not belong to.\",\"aria-hidden\":\"true\"}}),_vm._v(\" \"),_c('div',{staticClass:\"flex w-full flex-col items-center gap-4 text-center\"},[_c('h1',{staticClass:\"sr-only\"},[_vm._v(\"\\n You are trying to access an organization you do not belong to.\\n \")]),_vm._v(\" \"),_c('p',{staticClass:\"max-w-[500px] text-lg font-medium\"},[_vm._v(\"\\n If you feel you have encountered this page in error, please click\\n \"),_c('a',{staticClass:\"font-medium underline\",attrs:{\"href\":(\"mailto:\" + _vm.supportEmail + \"?subject=MorgueBoard® Support Inquiry - (\" + _vm.statusCode + \") \" + (_vm.tenantId || 'Tenant not associated'))}},[_vm._v(\"here\")]),_vm._v(\"\\n to contact support.\\n \")]),_vm._v(\" \"),_c('p',{staticClass:\"max-w-[500px]\"},[_c('span',{staticClass:\"font-medium\"},[_vm._v(\"Error Code:\")]),_vm._v(\" \"+_vm._s(_vm.statusCode)+\"\\n \"),(_vm.tenantId)?[_vm._v(\"| \"+_vm._s(_vm.tenantId))]:_vm._e()],2),_vm._v(\" \"),_c('div',{staticClass:\"flex flex-col items-center gap-4 sm:flex-row\"},[_c('a',{staticClass:\"wb-btn btn btn-sm btn-primary btn-brand\",attrs:{\"href\":_vm.appBaseUrl,\"rel\":\"noopener noreferrer\"}},[_vm._v(\"\\n Return to MorgueBoard®\\n \")]),_vm._v(\" \"),(_vm.isAuthenticated)?_c('wb-button',{attrs:{\"size\":\"sm\",\"variant-color\":\"neutral\"},on:{\"click\":_vm.logout}},[(_vm.userEmailAddress)?[_vm._v(\"\\n Log out of \"+_vm._s(_vm.userEmailAddress)+\"\\n \")]:[_vm._v(\" Log out \")]],2):_vm._e()],1),_vm._v(\" \"),_c('div',{attrs:{\"id\":\"app-version\"}},[_vm._v(\"v\"+_vm._s(_vm.version))])])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./404-error-template.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./404-error-template.vue?vue&type=script&lang=ts&\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { defineComponent, PropType } from '@nuxtjs/composition-api';\n\nexport default defineComponent({\n name: 'NotFoundErrorTemplate',\n props: {\n statusCode: {\n type: [Number, String] as PropType,\n required: false,\n default: undefined,\n },\n message: {\n type: String as PropType,\n required: false,\n default: undefined,\n },\n },\n});\n","import { render, staticRenderFns } from \"./404-error-template.vue?vue&type=template&id=7afdac64&\"\nimport script from \"./404-error-template.vue?vue&type=script&lang=ts&\"\nexport * from \"./404-error-template.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"flex h-full flex-col items-center p-8\"},[_c('a-result',{attrs:{\"status\":\"404\",\"title\":\"Sorry, the resource you attempted to access does not exist.\",\"aria-hidden\":\"true\"}}),_vm._v(\" \"),_c('div',{staticClass:\"flex w-full flex-col items-center gap-4 text-center\"},[_c('h1',{staticClass:\"sr-only\"},[_vm._v(\"\\n Sorry, the resource you attempted to access does not exist.\\n \")]),_vm._v(\" \"),_c('p',{staticClass:\"max-w-[500px]\"},[_c('span',{staticClass:\"font-medium\"},[_vm._v(\"Error Code:\")]),_vm._v(\" \"+_vm._s(_vm.statusCode)+\"\\n \")])])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport {\n computed,\n defineComponent,\n PropType,\n toRef,\n useContext,\n} from '@nuxtjs/composition-api';\nimport { NuxtError } from '@nuxt/types';\nimport DefaultErrorTemplate from '~mod:layout/components/templates/default-error-template.vue';\nimport ForbiddenErrorTemplate from '~mod:layout/components/templates/403-error-template.vue';\nimport ForbiddenTenantErrorTemplate from '~mod:layout/components/templates/403-tenant-error-template.vue';\nimport NotFoundErrorTemplate from '~mod:layout/components/templates/404-error-template.vue';\n\nconst FETCH_USER_PATH = '/Users/Self';\n// const FETCH_TENANT_PATH = '/Tenants/Self';\n\nexport default defineComponent({\n name: 'ErrorLayoutPage',\n components: {\n DefaultErrorTemplate,\n ForbiddenErrorTemplate,\n ForbiddenTenantErrorTemplate,\n NotFoundErrorTemplate,\n },\n layout: ({ app }) => {\n const statusCode = app.nuxt.err?.statusCode;\n const url = (app.nuxt.err?.response as Response | undefined)?.url;\n\n if (statusCode && url) {\n const urlPath = new URL(url).pathname.toLowerCase();\n const isUsersFetch = urlPath === FETCH_USER_PATH.toLowerCase();\n // const isTenantsFetch = urlPath === FETCH_TENANT_PATH.toLowerCase();\n const is403 = statusCode === 403;\n const isUnauthorizedTenantUser = is403 && isUsersFetch;\n\n if (isUnauthorizedTenantUser) {\n return 'empty';\n }\n }\n\n return 'default';\n },\n props: {\n error: {\n type: Object as PropType,\n required: false,\n default: undefined,\n },\n },\n setup(props) {\n const error = toRef(props, 'error');\n const statusCode = computed(() => error.value?.statusCode);\n const message = computed(\n () => error.value?.message || 'Oops.. Something went wrong.'\n );\n\n let isUnauthorizedTenantUser = false;\n\n const { app, route } = useContext();\n const url = (app.nuxt.err?.response as Response | undefined)?.url;\n\n if (url) {\n const urlPath = new URL(url).pathname.toLowerCase();\n const isUsersFetch = urlPath === FETCH_USER_PATH.toLowerCase();\n const is403 = statusCode.value === 403;\n isUnauthorizedTenantUser = is403 && isUsersFetch;\n }\n\n const isAuth0Error =\n 'error' in route.value.query && 'error_description' in route.value.query;\n\n return { statusCode, message, isUnauthorizedTenantUser, isAuth0Error };\n },\n head() {\n return {\n title: (this as any).message || 'An error has occurred.',\n meta: [\n {\n name: 'viewport',\n content: 'width=device-width,initial-scale=1.0,minimum-scale=1.0',\n },\n ],\n };\n },\n});\n","import mod from \"-!../node_modules/babel-loader/lib/index.js??ref--13-0!../node_modules/ts-loader/index.js??ref--13-1!../node_modules/vue-loader/lib/index.js??vue-loader-options!../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./error.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../node_modules/babel-loader/lib/index.js??ref--13-0!../node_modules/ts-loader/index.js??ref--13-1!../node_modules/vue-loader/lib/index.js??vue-loader-options!../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./error.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./error.vue?vue&type=template&id=346d9999&\"\nimport script from \"./error.vue?vue&type=script&lang=ts&\"\nexport * from \"./error.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isUnauthorizedTenantUser || _vm.isAuth0Error)?_c('forbidden-tenant-error-template',{attrs:{\"status-code\":_vm.statusCode,\"message\":_vm.message}}):(_vm.statusCode === 403)?_c('forbidden-error-template',{attrs:{\"status-code\":_vm.statusCode,\"message\":_vm.message}}):(_vm.statusCode === 404)?_c('not-found-error-template',{attrs:{\"status-code\":_vm.statusCode,\"message\":_vm.message}}):_c('default-error-template',{attrs:{\"status-code\":_vm.statusCode,\"message\":_vm.message}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import Vue from 'vue'\nimport { compile } from '../utils'\n\nimport NuxtError from '../../layouts/error.vue'\n\nimport NuxtChild from './nuxt-child'\n\nexport default {\n name: 'Nuxt',\n components: {\n NuxtChild,\n NuxtError\n },\n props: {\n nuxtChildKey: {\n type: String,\n default: undefined\n },\n keepAlive: Boolean,\n keepAliveProps: {\n type: Object,\n default: undefined\n },\n name: {\n type: String,\n default: 'default'\n }\n },\n errorCaptured (error) {\n // if we receive and error while showing the NuxtError component\n // capture the error and force an immediate update so we re-render\n // without the NuxtError component\n if (this.displayingNuxtError) {\n this.errorFromNuxtError = error\n this.$forceUpdate()\n }\n },\n computed: {\n routerViewKey () {\n // If nuxtChildKey prop is given or current route has children\n if (typeof this.nuxtChildKey !== 'undefined' || this.$route.matched.length > 1) {\n return this.nuxtChildKey || compile(this.$route.matched[0].path)(this.$route.params)\n }\n\n const [matchedRoute] = this.$route.matched\n\n if (!matchedRoute) {\n return this.$route.path\n }\n\n const Component = matchedRoute.components.default\n\n if (Component && Component.options) {\n const { options } = Component\n\n if (options.key) {\n return (typeof options.key === 'function' ? options.key(this.$route) : options.key)\n }\n }\n\n const strict = /\\/$/.test(matchedRoute.path)\n return strict ? this.$route.path : this.$route.path.replace(/\\/$/, '')\n }\n },\n beforeCreate () {\n Vue.util.defineReactive(this, 'nuxt', this.$root.$options.nuxt)\n },\n render (h) {\n // if there is no error\n if (!this.nuxt.err) {\n // Directly return nuxt child\n return h('NuxtChild', {\n key: this.routerViewKey,\n props: this.$props\n })\n }\n\n // if an error occurred within NuxtError show a simple\n // error message instead to prevent looping\n if (this.errorFromNuxtError) {\n this.$nextTick(() => (this.errorFromNuxtError = false))\n\n return h('div', {}, [\n h('h2', 'An error occurred while showing the error page'),\n h('p', 'Unfortunately an error occurred and while showing the error page another error occurred'),\n h('p', `Error details: ${this.errorFromNuxtError.toString()}`),\n h('nuxt-link', { props: { to: '/' } }, 'Go back to home')\n ])\n }\n\n // track if we are showing the NuxtError component\n this.displayingNuxtError = true\n this.$nextTick(() => (this.displayingNuxtError = false))\n\n return h(NuxtError, {\n props: {\n error: this.nuxt.err\n }\n })\n }\n}\n","import mod from \"-!../../node_modules/babel-loader/lib/index.js??ref--3-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./nuxt-loading.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/babel-loader/lib/index.js??ref--3-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./nuxt-loading.vue?vue&type=script&lang=js&\"","\n\n\n","var render, staticRenderFns\nimport script from \"./nuxt-loading.vue?vue&type=script&lang=js&\"\nexport * from \"./nuxt-loading.vue?vue&type=script&lang=js&\"\nimport style0 from \"./nuxt-loading.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { computed, ref } from '@nuxtjs/composition-api';\n\nconst needsRefresh = ref(false);\nconst offlineReady = ref(process.env.NODE_ENV === 'development');\n\nexport async function registerServiceWorker(\n options: {\n autoReload?: boolean;\n onNeedsRefresh?: Function;\n onOfflineReady?: Function;\n } = {}\n) {\n if (process.env.NODE_ENV === 'development') return Promise.resolve();\n\n const workbox = await window.$workbox;\n if (!workbox) throw new Error(\"Workbox couldn't be loaded.\");\n\n workbox.addEventListener('installed', (event) => {\n if (event.isUpdate) {\n needsRefresh.value = true;\n options.onNeedsRefresh?.();\n options.autoReload && forceReload();\n } else {\n offlineReady.value = true;\n options.onOfflineReady?.();\n }\n });\n}\n\nexport function useServiceWorker() {\n const ignoreUpdate = () => {\n if (!needsRefresh.value)\n throw new Error(\n 'Unable to ignore update, the service worker is up to date.'\n );\n\n needsRefresh.value = false;\n offlineReady.value = false;\n };\n\n return {\n needsRefresh: computed(() => needsRefresh.value),\n offlineReady: computed(() => offlineReady.value),\n ignoreUpdate,\n forceReload,\n };\n}\n\nfunction forceReload() {\n if (process.env.NODE_ENV === 'production') {\n // const form = document.createElement('form');\n // form.method = 'POST';\n // form.action = location.href;\n // document.body.appendChild(form);\n // form.submit();\n window.location.reload(true);\n } else {\n window.location.reload(true);\n }\n}\n","import mod from \"-!../../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./the-aside-navigation.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./the-aside-navigation.vue?vue&type=script&lang=ts&\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { computed, defineComponent, useContext } from '@nuxtjs/composition-api';\nimport {\n useAbility,\n AppAbilitySubject,\n BodyboxAbilityAction,\n} from '~/app/core/casl';\nimport { useSWRV } from '~/app/composables/use-swrv';\nimport { BodyboxCapacity } from '~/app/models';\nimport { MenuItemProps } from '~/app/components/ui/menu/sub-menu.vue';\nimport { useStore as useBodyboxStore } from '~mod:bodybox/composables/use-store';\nimport { useReporting } from '~mod:reporting/composables/use-reporting';\nimport CapacityBadge from '~mod:shared/components/molecules/capacity-badge.vue';\n\nexport default defineComponent({\n name: 'TheAsideMenu',\n components: {\n CapacityBadge,\n },\n setup() {\n const { $language } = useContext();\n const { state } = useBodyboxStore();\n const bodyboxes = computed(() => state.bodyboxes || []);\n\n const menuKeys = computed(() => [\n 'cases',\n 'cases.active',\n 'cases.reservations',\n 'cases.bodybox',\n 'cases.bodybox.all',\n ...bodyboxes.value.map((box) => `cases.bodybox.${box.id}`),\n 'outbox',\n 'reporting',\n 'settings',\n ]);\n\n const usePopoverBodyboxMenu = computed(() => bodyboxes.value.length >= 5);\n const bodyboxItems = computed(() => {\n const allItem: MenuItemProps = {\n key: 'cases.bodybox.all',\n title: `All ${$language.get('bodybox').plural}`,\n to: '/bodybox',\n icon: 'arrows-out',\n data: {},\n };\n\n const boxItems = bodyboxes.value.map((box) => ({\n key: `cases.bodybox.${box.id}`,\n title: box.name,\n to: `/bodybox/${box.id}`,\n icon: 'square-half',\n data: { id: box.id },\n })) as MenuItemProps[];\n\n return usePopoverBodyboxMenu.value ? [allItem, ...boxItems] : boxItems;\n });\n\n // #region Bodybox Capacities\n\n const { data: capacities } = useSWRV(\n 'api.bodyboxes.getCapacitiesAsync',\n null // Fetch capacities from cache\n );\n\n const getCapacity = (bodyboxId: string) =>\n capacities.value?.find((capacity) => capacity.id === bodyboxId);\n\n const capacityMap = computed(() =>\n bodyboxes.value.reduce((acc, bodybox) => {\n const capacity = getCapacity(bodybox.id);\n if (!capacity) return acc;\n acc[bodybox.id] = capacity;\n return acc;\n }, {} as Record)\n );\n\n // #endregion\n\n // #region access control\n\n const ability = useAbility();\n\n const canViewBodyboxes = computed(() =>\n ability.value.can(BodyboxAbilityAction.read, AppAbilitySubject.bodybox)\n );\n\n const { enabled: canViewReporting } = useReporting();\n\n // #endregion\n\n return {\n menuKeys,\n bodyboxes,\n usePopoverBodyboxMenu,\n bodyboxItems,\n capacityMap,\n canViewBodyboxes,\n canViewReporting,\n };\n },\n});\n","import { render, staticRenderFns } from \"./the-aside-navigation.vue?vue&type=template&id=9464ebbc&scoped=true&\"\nimport script from \"./the-aside-navigation.vue?vue&type=script&lang=ts&\"\nexport * from \"./the-aside-navigation.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./the-aside-navigation.vue?vue&type=style&index=0&id=9464ebbc&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"9464ebbc\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('nav',[_c('wb-menu',[_c('wb-sub-menu',{key:\"cases\",attrs:{\"to\":\"/\",\"title\":_vm.$language.get('case').plural,\"icon\":\"folders\"}},[_c('wb-menu-item',{key:\"cases.active\",attrs:{\"to\":\"/case/active\",\"title\":_vm.$language.token('case', 'Active {plural}'),\"icon\":\"folder-simple-star\"}}),_vm._v(\" \"),_c('wb-menu-item',{key:\"cases.reservations\",attrs:{\"to\":\"/reservations\",\"title\":_vm.$language.get('reservation').plural,\"icon\":\"calendar-blank\"}}),_vm._v(\" \"),(_vm.canViewBodyboxes)?[(_vm.bodyboxes.length <= 1)?_c('wb-data',{attrs:{\"no-boxes\":_vm.bodyboxes.length < 1},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar noBoxes = ref.noBoxes;\nreturn [_c('wb-menu-item',{key:noBoxes ? 'cases.bodybox' : (\"cases.bodybox.\" + (_vm.bodyboxes[0].id)),attrs:{\"title\":_vm.$language.get('bodybox').singular,\"icon\":\"square-half\",\"to\":noBoxes ? undefined : (\"/bodybox/\" + (_vm.bodyboxes[0].id)),\"disabled\":noBoxes}})]}}],null,false,2224984674)}):(_vm.usePopoverBodyboxMenu)?_c('wb-sub-menu',{key:\"cases.bodybox\",attrs:{\"title\":_vm.$language.get('bodybox').plural,\"icon\":\"square-half\",\"type\":\"popover\",\"items\":_vm.bodyboxItems},scopedSlots:_vm._u([{key:\"menuItem\",fn:function(item){return [_c('div',{staticClass:\"flex w-full items-center justify-between gap-10\"},[_c('span',{staticClass:\"text-red flex flex-shrink-0 items-baseline gap-1 break-words text-left font-medium\"},[_c('wb-icon',{attrs:{\"name\":item.icon,\"type\":\"bold\"}}),_vm._v(\"\\n \"+_vm._s(item.title)+\"\\n \")],1),_vm._v(\" \"),(_vm.capacityMap[item.data.id])?_c('capacity-badge',{staticClass:\"flex-shrink-0\",attrs:{\"capacity\":_vm.capacityMap[item.data.id]}}):_vm._e()],1)]}}],null,false,1249032091)}):_c('wb-sub-menu',{key:\"cases.bodybox\",attrs:{\"title\":_vm.$language.get('bodybox').plural,\"to\":\"/bodybox\",\"icon\":\"square-half\",\"items\":_vm.bodyboxItems}})]:_vm._e()],2),_vm._v(\" \"),_c('wb-menu-item',{key:\"outbox\",attrs:{\"to\":\"/outbox\",\"title\":_vm.$language.get('outbox').singular,\"icon\":\"share\"}}),_vm._v(\" \"),(_vm.canViewReporting)?_c('wb-menu-item',{key:\"reporting\",attrs:{\"to\":\"/reporting\",\"title\":\"Reporting\",\"icon\":\"presentation-chart\"}}):_vm._e()],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./the-tenant-logo.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./the-tenant-logo.vue?vue&type=script&lang=ts&\"","\n\n\n\n\n\n\n\n\n\nimport { computed, defineComponent } from '@nuxtjs/composition-api';\nimport { useStoreModule } from '~/app/composables/use-store-module';\nimport { Tenant } from '~/app/models';\nimport { ITenantState, moduleName as TenantModuleName } from '~/store/tenant';\n\nexport default defineComponent({\n name: 'TheTenantLogo',\n setup() {\n const { state: tenantState } = useStoreModule(\n TenantModuleName\n );\n\n const logoUrl = computed(\n () => tenantState.tenant?.configuration.theme.logoUrl\n );\n\n const tenantName = computed(() => {\n const tenant = tenantState.tenant as Tenant;\n return tenant.name;\n });\n\n return { logoUrl, tenantName };\n },\n});\n","import { render, staticRenderFns } from \"./the-tenant-logo.vue?vue&type=template&id=4157563e&\"\nimport script from \"./the-tenant-logo.vue?vue&type=script&lang=ts&\"\nexport * from \"./the-tenant-logo.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.logoUrl)?_c('img',{staticClass:\"h-full w-full object-contain\",attrs:{\"src\":_vm.logoUrl,\"alt\":((_vm.tenantName || 'Tenant') + \" logo\")}}):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./the-aside.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./the-aside.vue?vue&type=script&lang=ts&\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { computed, defineComponent } from '@nuxtjs/composition-api';\nimport TheAsideNavigation from './the-aside-navigation.vue';\nimport TheTenantLogo from '~/app/modules/layout/components/organisms/the-tenant-logo.vue';\nimport { useStoreModule } from '~/app/composables/use-store-module';\nimport { ITenantState, moduleName as TenantModuleName } from '~/store/tenant';\n\nexport default defineComponent({\n name: 'TheAside',\n components: {\n TheAsideNavigation,\n TheTenantLogo,\n },\n setup() {\n const { state: tenantState } = useStoreModule(\n TenantModuleName\n );\n\n const tenantLogoUrl = computed(\n () => tenantState.tenant?.configuration.theme.logoUrl\n );\n\n return { tenantLogoUrl };\n },\n});\n","import { render, staticRenderFns } from \"./the-aside.vue?vue&type=template&id=53f8e2f5&scoped=true&\"\nimport script from \"./the-aside.vue?vue&type=script&lang=ts&\"\nexport * from \"./the-aside.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./the-aside.vue?vue&type=style&index=0&id=53f8e2f5&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"53f8e2f5\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('aside',{staticClass:\"the-aside\"},[_c('div',{staticClass:\"the-aside__brand\"},[(_vm.tenantLogoUrl)?_c('nuxt-link',{attrs:{\"id\":\"brand-tenant-logo\",\"to\":\"/\",\"aria-label\":\"Go to home page\",\"title\":\"Go to home page\",\"tabindex\":\"-1\"}},[_c('the-tenant-logo')],1):_vm._e(),_vm._v(\" \"),_c('nuxt-link',{attrs:{\"id\":\"brand-mb-logo\",\"to\":\"/\",\"aria-label\":\"Go to home page\",\"title\":\"Go to home page\"}},[_c('wb-logo-text')],1)],1),_vm._v(\" \"),_c('the-aside-navigation',{staticClass:\"the-aside__navigation\"})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./the-update-alert.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./the-update-alert.vue?vue&type=script&lang=ts&\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { defineComponent, PropType } from '@nuxtjs/composition-api';\nimport { useVModel } from '@vueuse/core';\nimport { useServiceWorker } from '~/app/composables/use-service-worker';\n\nexport default defineComponent({\n name: 'TheAppUpdateAlert',\n props: {\n visible: {\n type: Boolean as PropType,\n required: true,\n default: false,\n },\n },\n setup(props) {\n const isVisible = useVModel(props, 'visible');\n const { forceReload } = useServiceWorker();\n\n return { isVisible, forceReload };\n },\n});\n","import { render, staticRenderFns } from \"./the-update-alert.vue?vue&type=template&id=0bf89a24&scoped=true&\"\nimport script from \"./the-update-alert.vue?vue&type=script&lang=ts&\"\nexport * from \"./the-update-alert.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./the-update-alert.vue?vue&type=style&index=0&id=0bf89a24&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0bf89a24\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('wb-transition-pop',{attrs:{\"appear\":\"\"}},[(_vm.isVisible)?_c('div',{attrs:{\"id\":\"wb-app-update-alert\",\"role\":\"alert\"}},[_c('p',{attrs:{\"id\":\"wb-app-update-alert__title\"}},[_c('wb-icon',{attrs:{\"name\":\"arrows-clockwise\",\"type\":\"bold\"}}),_vm._v(\"\\n An update is available\\n \")],1),_vm._v(\" \"),_c('p',{attrs:{\"id\":\"wb-app-update-alert__desc\"}},[_vm._v(\"\\n Please refresh to update the app or your experience may be degraded.\\n \")]),_vm._v(\" \"),_c('wb-button',{attrs:{\"size\":\"sm\"},on:{\"click\":function($event){return _vm.forceReload()}}},[_vm._v(\"Refresh Now\")]),_vm._v(\" \"),_c('wb-button',{staticClass:\"ml-2 !text-white\",attrs:{\"size\":\"sm\",\"variant\":\"ghost\"},on:{\"click\":function($event){_vm.isVisible = false}}},[_vm._v(\"Later\")])],1):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./the-bread-crumbs.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./the-bread-crumbs.vue?vue&type=script&lang=ts&\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport {\n computed,\n defineComponent,\n PropType,\n toRefs,\n} from '@nuxtjs/composition-api';\nimport type { Route } from 'vue-router';\nimport type { IBreadCrumbRoute } from '~mod:layout';\n\nexport default defineComponent({\n name: 'TheBreadCrumbs',\n props: {\n current: {\n type: Object as PropType,\n required: true,\n },\n path: {\n type: Array as PropType,\n required: true,\n },\n rootRoute: {\n type: String as PropType,\n required: false,\n default: '/',\n },\n },\n emits: {\n back: null,\n },\n setup(props) {\n const { current, path, rootRoute } = toRefs(props);\n\n const parts = computed(() =>\n (path.value || []).map((part) => ({\n breadcrumbName: part.name,\n path: part.path || '',\n }))\n );\n\n const isRoot = computed(() => current.value.path === rootRoute.value);\n\n return { parts, isRoot };\n },\n});\n","import { render, staticRenderFns } from \"./the-bread-crumbs.vue?vue&type=template&id=dd9710a0&scoped=true&\"\nimport script from \"./the-bread-crumbs.vue?vue&type=script&lang=ts&\"\nexport * from \"./the-bread-crumbs.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./the-bread-crumbs.vue?vue&type=style&index=0&id=dd9710a0&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"dd9710a0\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"breadcrumbs-container\",class:{ root: _vm.isRoot }},[_c('div',{staticClass:\"back-btn-container\"},[_c('button',{staticClass:\"back-btn\",attrs:{\"aria-label\":\"Go back\"},on:{\"click\":function($event){return _vm.$emit('back')}}},[_c('wb-icon',{attrs:{\"name\":\"caret-left\",\"type\":\"bold\"}})],1)]),_vm._v(\" \"),_c('wb-overflow',{staticClass:\"flex-1\",attrs:{\"clip\":\"left\",\"enabled\":!_vm.isRoot}},[(_vm.parts.length)?_c('a-breadcrumb',{staticClass:\"breadcrumbs\",attrs:{\"routes\":_vm.parts},scopedSlots:_vm._u([{key:\"itemRender\",fn:function(ref){\nvar route = ref.route;\nvar routes = ref.routes;\nreturn [(routes.indexOf(route) === routes.length - 1)?_c('span',{staticClass:\"text-md p-1 font-medium\"},[_vm._v(\"\\n \"+_vm._s(route.breadcrumbName)+\" \"+_vm._s(routes.path)+\"\\n \")]):(route.path)?_c('nuxt-link',{staticClass:\"text-md inline-flex rounded-md p-1 hover:bg-brand-100 focus:bg-brand-100\",attrs:{\"to\":route.path}},[_vm._v(\"\\n \"+_vm._s(route.breadcrumbName)+\" \"+_vm._s(routes.path)+\"\\n \")]):_c('span',{staticClass:\"text-md p-1\"},[_vm._v(_vm._s(route.breadcrumbName))])]}}],null,false,1053606833)}):_vm._e()],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export const SYMBOL_TAB_BAR_MENU_IS_CHILD = Symbol('TabBar.TabBarMenu.IsChild');\nexport const SYMBOL_TAB_BAR_MENU_LEVEL = Symbol('TabBar.TabBarMenu.Level');\nexport const SYMBOL_TAB_BAR_MENU_ACTIVE_LEVEL = Symbol(\n 'TabBar.TabBarMenu.ActiveLevel'\n);\nexport const SYMBOL_TAB_BAR_MENU_SET_LAST_LEVEL = Symbol(\n 'TabBar.TabBarMenu.SetLastLevel'\n);\n","import mod from \"-!../../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./tab-bar.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./tab-bar.vue?vue&type=script&lang=ts&\"","\n\n\n\n\n\n\nimport { defineComponent, provide, ref } from '@nuxtjs/composition-api';\nimport {\n SYMBOL_TAB_BAR_MENU_SET_LAST_LEVEL,\n SYMBOL_TAB_BAR_MENU_ACTIVE_LEVEL,\n} from './symbols';\n\nexport default defineComponent({\n name: 'TabBar',\n setup() {\n const activeLevel = ref(0);\n provide(SYMBOL_TAB_BAR_MENU_ACTIVE_LEVEL, activeLevel);\n\n const lastLevel = ref(0);\n provide(\n SYMBOL_TAB_BAR_MENU_SET_LAST_LEVEL,\n (level: number) => (lastLevel.value = level)\n );\n\n return { activeLevel, lastLevel };\n },\n});\n","import { render, staticRenderFns } from \"./tab-bar.vue?vue&type=template&id=d60850a2&scoped=true&\"\nimport script from \"./tab-bar.vue?vue&type=script&lang=ts&\"\nexport * from \"./tab-bar.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./tab-bar.vue?vue&type=style&index=0&id=d60850a2&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"d60850a2\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',{staticClass:\"wb-tab-bar\"},[_vm._t(\"default\")],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./tab-bar-item.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./tab-bar-item.vue?vue&type=script&lang=ts&\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport {\n computed,\n defineComponent,\n inject,\n PropType,\n Ref,\n toRefs,\n} from '@nuxtjs/composition-api';\nimport {\n SYMBOL_TAB_BAR_MENU_ACTIVE_LEVEL,\n SYMBOL_TAB_BAR_MENU_IS_CHILD,\n} from './symbols';\n\nexport default defineComponent({\n name: 'TabBarItem',\n props: {\n label: {\n type: String as PropType,\n required: true,\n },\n icon: {\n type: String as PropType,\n required: true,\n },\n to: {\n type: [String, Function] as PropType<\n string | ((...args: any[]) => any) | undefined\n >,\n required: false,\n default: undefined,\n },\n orientation: {\n type: String as PropType<'horizontal' | 'vertical' | undefined>,\n required: false,\n default: undefined,\n },\n },\n setup(props) {\n const { to, orientation } = toRefs(props);\n\n const isInMenu = inject(SYMBOL_TAB_BAR_MENU_IS_CHILD, false);\n const orien = computed(\n () => orientation.value || (isInMenu ? 'horizontal' : 'vertical')\n );\n\n const attrs = computed(() => (to ? { to: to.value } : {}));\n\n const activeLevel = inject>(SYMBOL_TAB_BAR_MENU_ACTIVE_LEVEL);\n\n function onLinkClick() {\n activeLevel!.value = 0; // Hide all menus\n }\n\n function onButtonClick() {\n if (to.value && typeof to.value === 'function') to.value();\n\n onLinkClick();\n }\n\n return { attrs, orien, onLinkClick, onButtonClick };\n },\n});\n","import { render, staticRenderFns } from \"./tab-bar-item.vue?vue&type=template&id=4bba36d4&scoped=true&\"\nimport script from \"./tab-bar-item.vue?vue&type=script&lang=ts&\"\nexport * from \"./tab-bar-item.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./tab-bar-item.vue?vue&type=style&index=0&id=4bba36d4&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4bba36d4\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{staticClass:\"wb-tab-bar-item\"},[(_vm.to && typeof _vm.to === 'string')?_c('nuxt-link',_vm._g(_vm._b({class:['wb-tab-bar-item__link', _vm.orien],nativeOn:{\"click\":function($event){return _vm.onLinkClick()}}},'nuxt-link',_vm.attrs,false),_vm.$listeners),[_c('wb-icon',{staticClass:\"wb-tab-bar-item__link-icon\",attrs:{\"name\":_vm.icon}}),_vm._v(\" \"),_c('span',{staticClass:\"wb-tab-bar-item__link-text\"},[_vm._v(_vm._s(_vm.label))])],1):_c('button',_vm._g(_vm._b({class:['wb-tab-bar-item__link', _vm.orien],on:{\"click\":function($event){return _vm.onButtonClick()}}},'button',_vm.attrs,false),_vm.$listeners),[_c('wb-icon',{staticClass:\"wb-tab-bar-item__link-icon\",attrs:{\"name\":_vm.icon}}),_vm._v(\" \"),_c('span',{staticClass:\"wb-tab-bar-item__link-text\"},[_vm._v(_vm._s(_vm.label))])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./tab-bar-menu-trigger.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./tab-bar-menu-trigger.vue?vue&type=script&lang=ts&\"","\n\n\n\n\n\n\n\n\n\n\n\n\nimport {\n computed,\n defineComponent,\n inject,\n PropType,\n toRefs,\n} from '@nuxtjs/composition-api';\nimport { SYMBOL_TAB_BAR_MENU_IS_CHILD } from './symbols';\n\nexport default defineComponent({\n name: 'TabBarMenuTrigger',\n props: {\n label: {\n type: String as PropType,\n required: true,\n },\n icon: {\n type: String as PropType,\n required: true,\n },\n isActive: {\n type: Boolean as PropType,\n required: false,\n default: false,\n },\n orientation: {\n type: String as PropType<'horizontal' | 'vertical' | undefined>,\n required: false,\n default: undefined,\n },\n },\n setup(props) {\n const { orientation } = toRefs(props);\n\n const isInMenu = inject(SYMBOL_TAB_BAR_MENU_IS_CHILD, false);\n const orien = computed(\n () => orientation.value || (isInMenu ? 'horizontal' : 'vertical')\n );\n\n return { orien };\n },\n});\n","import { render, staticRenderFns } from \"./tab-bar-menu-trigger.vue?vue&type=template&id=40041ae1&scoped=true&\"\nimport script from \"./tab-bar-menu-trigger.vue?vue&type=script&lang=ts&\"\nexport * from \"./tab-bar-menu-trigger.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./tab-bar-menu-trigger.vue?vue&type=style&index=0&id=40041ae1&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"40041ae1\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{staticClass:\"wb-tab-bar-menu-trigger\"},[_c('button',_vm._g({class:['wb-tab-bar-menu-trigger__link', _vm.orien, { active: _vm.isActive }]},_vm.$listeners),[_c('wb-icon',{staticClass:\"wb-tab-bar-menu-trigger__link-icon\",attrs:{\"name\":_vm.icon}}),_vm._v(\" \"),_c('span',{staticClass:\"wb-tab-bar-menu-trigger__link-text\"},[_vm._v(_vm._s(_vm.label))])],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./tab-bar-menu.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./tab-bar-menu.vue?vue&type=script&lang=ts&\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport {\n computed,\n defineComponent,\n inject,\n onDeactivated,\n PropType,\n provide,\n Ref,\n ref,\n watch,\n} from '@nuxtjs/composition-api';\nimport { onClickOutside } from '@vueuse/core';\nimport {\n SYMBOL_TAB_BAR_MENU_ACTIVE_LEVEL,\n SYMBOL_TAB_BAR_MENU_IS_CHILD,\n SYMBOL_TAB_BAR_MENU_LEVEL,\n SYMBOL_TAB_BAR_MENU_SET_LAST_LEVEL,\n} from './symbols';\nimport TabBarMenuTrigger from './tab-bar-menu-trigger.vue';\n\nexport default defineComponent({\n name: 'TabBarMenu',\n components: { TabBarMenuTrigger },\n props: {\n label: {\n type: String as PropType,\n required: true,\n },\n icon: {\n type: String as PropType,\n required: true,\n },\n },\n setup(_props, _context) {\n const root = ref();\n const isOpen = ref(false);\n onClickOutside(root, () => (isOpen.value = false));\n\n const getLevels = () => inject(SYMBOL_TAB_BAR_MENU_LEVEL, 1);\n const level = getLevels();\n provide(SYMBOL_TAB_BAR_MENU_LEVEL, level + 1);\n provide(SYMBOL_TAB_BAR_MENU_IS_CHILD, true);\n\n const setLevels = inject<(level: number) => void>(\n SYMBOL_TAB_BAR_MENU_SET_LAST_LEVEL\n );\n\n setLevels?.(level);\n onDeactivated(() => setLevels?.(getLevels() - 1));\n\n const activeLevel = inject>(SYMBOL_TAB_BAR_MENU_ACTIVE_LEVEL);\n const isLastLevel = computed(() => activeLevel?.value === level);\n\n watch(activeLevel!, (newLevel) => {\n if (newLevel < level) {\n isOpen.value = false;\n }\n });\n\n const toggleVisibilty = () => {\n isOpen.value = !isOpen.value;\n if (isOpen.value) {\n activeLevel && (activeLevel.value = level);\n } else {\n activeLevel && (activeLevel.value = level - 1);\n }\n };\n\n return { root, level, isOpen, toggleVisibilty, isLastLevel };\n },\n});\n","import { render, staticRenderFns } from \"./tab-bar-menu.vue?vue&type=template&id=7b3c8a70&scoped=true&\"\nimport script from \"./tab-bar-menu.vue?vue&type=script&lang=ts&\"\nexport * from \"./tab-bar-menu.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./tab-bar-menu.vue?vue&type=style&index=0&id=7b3c8a70&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7b3c8a70\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{ref:\"root\",class:['wb-tab-bar-menu', { open: _vm.isOpen }]},[_c('tab-bar-menu-trigger',{attrs:{\"label\":_vm.label,\"icon\":_vm.icon,\"orientation\":_vm.level === 1 ? 'vertical' : 'horizontal',\"is-active\":_vm.isOpen},on:{\"click\":function($event){return _vm.toggleVisibilty()}}}),_vm._v(\" \"),_c('transition',{attrs:{\"name\":\"slide\",\"mode\":\"out-in\",\"appear\":\"\"}},[(_vm.isOpen)?_c('ul',{class:['wb-tab-bar-menu__list', { 'rounded-t-lg': _vm.isLastLevel }]},[_vm._t(\"default\")],2):_vm._e()])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import Vue, { PluginObject, VueConstructor } from 'vue';\nimport TabBar from './tab-bar.vue';\nimport TabBarItem from './tab-bar-item.vue';\nimport TabBarMenu from './tab-bar-menu.vue';\n\nconst tabBar: VueConstructor & PluginObject = TabBar as any;\n\ntabBar.install = function (vue) {\n vue.component('WbTabBar', TabBar);\n vue.component('WbTabBarItem', TabBarItem);\n vue.component('WbTabBarMenu', TabBarMenu);\n};\n\nexport { TabBar, TabBarItem, TabBarMenu };\nexport default tabBar;\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport {\n computed,\n defineComponent,\n PropType,\n reactive,\n} from '@nuxtjs/composition-api';\nimport { CaseSummary, CustodyStatus } from '~/app/models';\nimport CaseCardDetails from '~mod:bodybox/components/molecules/case-card-details.vue';\n\n// TODO: Show current bodybox location\n\nexport enum MatchAction {\n View = 'view',\n Transfer = 'transfer',\n CheckIn = 'checkIn',\n CheckOut = 'checkOut',\n}\n\nexport default defineComponent({\n name: 'CaseScanMatchCard',\n components: {\n CaseCardDetails,\n },\n props: {\n summary: {\n type: Object as PropType,\n required: true,\n validator: (value: unknown) => value instanceof CaseSummary,\n },\n canReadCase: {\n type: Boolean,\n required: false,\n default: true,\n },\n canCheckInCase: {\n type: Boolean,\n required: false,\n default: true,\n },\n canCheckOutCase: {\n type: Boolean,\n required: false,\n default: true,\n },\n canTransferCase: {\n type: Boolean,\n required: false,\n default: true,\n },\n },\n emits: [\n MatchAction.View,\n MatchAction.Transfer,\n MatchAction.CheckIn,\n MatchAction.CheckOut,\n ],\n setup(props, { emit }) {\n const custody = computed(() => {\n const { custodyStatus } = props.summary;\n if (custodyStatus === CustodyStatus.Expected)\n return { type: 'Incoming', class: 'text-success-600' };\n if (custodyStatus === CustodyStatus.Departed)\n return { type: 'Released', class: 'text-warning-600' };\n if (custodyStatus === CustodyStatus.InCustody) {\n const { bodybox, storageLabel, storageLocation } = props.summary;\n if (storageLabel && storageLocation)\n return {\n type: 'In Custody',\n class: 'text-brand-600',\n location: `${bodybox} (${storageLabel} ${storageLocation})`,\n };\n return {\n type: 'In Custody',\n class: 'text-brand-600',\n location: bodybox,\n };\n }\n throw new Error('Invalid custody status');\n });\n\n function goToCase() {\n emit(MatchAction.View, props.summary.id);\n }\n\n function transferCase() {\n emit(MatchAction.Transfer, props.summary.id);\n }\n\n function checkInCase() {\n emit(MatchAction.CheckIn, props.summary.id);\n }\n\n function checkOutCase() {\n emit(MatchAction.CheckOut, props.summary.id);\n }\n\n const actions = reactive({\n view: computed(() => props.canReadCase),\n transfer: computed(\n () =>\n props.canTransferCase &&\n props.summary.custodyStatus === CustodyStatus.InCustody\n ),\n checkIn: computed(\n () =>\n props.canCheckInCase &&\n [CustodyStatus.Expected, CustodyStatus.Departed].includes(\n props.summary.custodyStatus\n )\n ),\n checkOut: computed(\n () =>\n props.canCheckOutCase &&\n props.summary.custodyStatus === CustodyStatus.InCustody\n ),\n });\n\n return {\n custody,\n goToCase,\n transferCase,\n checkInCase,\n checkOutCase,\n actions,\n CustodyStatus,\n };\n },\n});\n","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./the-bottom-bar.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./the-bottom-bar.vue?vue&type=script&lang=ts&\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { computed, defineComponent, useContext } from '@nuxtjs/composition-api';\nimport { useStoreModule } from '~/app/composables/use-store-module';\nimport { useIntercom } from '~/app/composables/use-intercom';\nimport { useAuthProvider } from '~/app/core/auth';\nimport {\n useAbility,\n AppAbilitySubject,\n BodyboxAbilityAction,\n} from '~/app/core/casl';\nimport { ITenantState, moduleName as tenantStoreName } from '~/store/tenant';\nimport { useStore as useBodyboxStore } from '~mod:bodybox/composables/use-store';\nimport { useReporting } from '~mod:reporting/composables/use-reporting';\nimport {\n TabBar,\n TabBarItem,\n TabBarMenu,\n} from '~mod:layout/components/molecules/tab-bar';\nimport { SettingsRoute } from '~mod:settings/routes';\n\nexport default defineComponent({\n name: 'TheBottomBar',\n components: {\n TabBar,\n TabBarItem,\n TabBarMenu,\n },\n setup() {\n const tenantModule = useStoreModule(tenantStoreName);\n const tenantName = computed(() => tenantModule.state.tenant?.name);\n\n const { state } = useBodyboxStore();\n const bodyboxes = computed(() => state.bodyboxes || []);\n\n const auth = useAuthProvider();\n const logout = () => auth.logoutAsync();\n\n // #region access control\n\n const ability = useAbility();\n\n const canViewBodyboxes = computed(() =>\n ability.value.can(BodyboxAbilityAction.read, AppAbilitySubject.bodybox)\n );\n\n const { enabled: canViewReporting } = useReporting();\n\n // #endregion\n\n const intercom = useIntercom();\n\n const { $config } = useContext();\n const version = `${$config.app.version} ${$config.app.buildNumber}`;\n\n return {\n tenantName,\n bodyboxes,\n canViewBodyboxes,\n canViewReporting,\n SettingsRoute,\n logout,\n intercom,\n version,\n };\n },\n});\n","import { render, staticRenderFns } from \"./the-bottom-bar.vue?vue&type=template&id=47be97e8&scoped=true&\"\nimport script from \"./the-bottom-bar.vue?vue&type=script&lang=ts&\"\nexport * from \"./the-bottom-bar.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./the-bottom-bar.vue?vue&type=style&index=0&id=47be97e8&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"47be97e8\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('tab-bar',{staticClass:\"bottom-bar\"},[_c('tab-bar-menu',{attrs:{\"label\":\"Cases\",\"icon\":\"folders\"}},[_c('tab-bar-item',{attrs:{\"label\":_vm.$language.get('reservation').plural,\"icon\":\"calendar-blank\",\"to\":\"/reservations\"}}),_vm._v(\" \"),_c('tab-bar-item',{attrs:{\"label\":_vm.$language.token('case', 'Active {plural}'),\"icon\":\"folder-simple-star\",\"to\":\"/case/active\"}}),_vm._v(\" \"),(_vm.canViewBodyboxes)?[(_vm.bodyboxes.length === 1)?_c('tab-bar-item',{attrs:{\"label\":_vm.$language.get('bodybox').singular,\"icon\":\"square-half\"}}):_c('tab-bar-menu',{attrs:{\"label\":_vm.$language.get('bodybox').plural,\"icon\":\"square-half\"}},[_c('div',{staticClass:\"flex max-h-[50vh] flex-col overflow-auto\"},_vm._l((_vm.bodyboxes),function(bodybox){return _c('tab-bar-item',{key:bodybox.id,attrs:{\"label\":bodybox.name,\"to\":(\"/bodybox/\" + (bodybox.id)),\"icon\":\"square-half\"}})}),1),_vm._v(\" \"),_c('tab-bar-item',{key:\"overview\",attrs:{\"label\":\"View All\",\"to\":\"/bodybox\"}})],1)]:_vm._e(),_vm._v(\" \"),_c('tab-bar-item',{attrs:{\"label\":_vm.$language.get('outbox').singular,\"icon\":\"share\",\"to\":\"/outbox\"}}),_vm._v(\" \"),(_vm.canViewReporting)?_c('tab-bar-item',{attrs:{\"label\":\"Reporting\",\"icon\":\"presentation-chart\",\"to\":\"/reporting\"}}):_vm._e()],2),_vm._v(\" \"),_c('tab-bar-item',{staticClass:\"-mt-1 rounded-lg border border-gray-200 bg-gray-50 px-[5px] pt-1\",attrs:{\"label\":\"Home\",\"icon\":\"house\",\"to\":\"/\"}}),_vm._v(\" \"),_c('tab-bar-menu',{attrs:{\"label\":\"Account\",\"icon\":\"user\",\"to\":_vm.SettingsRoute.accountRoot}},[_c('div',{staticClass:\"-mx-4 -mt-2 mb-4 border-b border-gray-200 px-4 py-2 text-center font-medium text-brand-800\"},[_vm._v(\"\\n \"+_vm._s(_vm.tenantName)+\"\\n \")]),_vm._v(\" \"),_c('tab-bar-item',{attrs:{\"label\":\"My Account\",\"icon\":\"user-circle\",\"to\":_vm.SettingsRoute.accountRoot}}),_vm._v(\" \"),_c('tab-bar-item',{attrs:{\"label\":\"My Organization\",\"icon\":\"buildings\",\"to\":_vm.SettingsRoute.organizationRoot}}),_vm._v(\" \"),(_vm.intercom.enabled)?_c('tab-bar-item',{attrs:{\"label\":\"Get Support\",\"icon\":\"headset\"},on:{\"click\":function () { return _vm.intercom.show(); }}}):_vm._e(),_vm._v(\" \"),_c('tab-bar-item',{attrs:{\"label\":\"Log Out\",\"icon\":\"sign-out\",\"to\":function () { return _vm.logout(); }}}),_vm._v(\" \"),_c('div',{staticClass:\"mt-4 w-full text-center text-xs font-medium text-gray-500\"},[_vm._v(\"\\n v\"+_vm._s(_vm.version)+\"\\n \")])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./scan-zone.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./scan-zone.vue?vue&type=script&lang=ts&\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport {\n computed,\n defineComponent,\n PropType,\n ref,\n watch,\n} from '@nuxtjs/composition-api';\nimport { useDebounce } from '@vueuse/core';\n\nexport type ZoneVariant = 'active' | 'success' | 'warning' | 'error';\n\nexport interface IconConfig {\n name: string;\n class?: string;\n}\n\nexport default defineComponent({\n props: {\n variant: {\n type: String as PropType,\n required: false,\n default: undefined,\n },\n pulse: {\n type: Boolean,\n required: false,\n default: false,\n },\n align: {\n type: String as PropType<'left' | 'right' | undefined>,\n required: false,\n default: undefined,\n },\n iconLeft: {\n type: [String, Object] as PropType,\n required: false,\n default: undefined,\n },\n iconRight: {\n type: [String, Object] as PropType,\n required: false,\n default: undefined,\n },\n disabled: {\n type: Boolean,\n required: false,\n default: true,\n },\n },\n setup(props) {\n const input = ref('');\n const inputDebounced = useDebounce(input, 30);\n const scans = ref([]);\n\n watch(inputDebounced, (value) => {\n if (value === '') return;\n scans.value.push(value);\n input.value = '';\n });\n\n const icons = computed(() => {\n return {\n left:\n typeof props.iconLeft === 'string'\n ? { name: props.iconLeft }\n : props.iconLeft,\n right:\n typeof props.iconRight === 'string'\n ? { name: props.iconRight }\n : props.iconRight,\n };\n });\n\n return { input, scans, icons };\n },\n});\n","import { render, staticRenderFns } from \"./scan-zone.vue?vue&type=template&id=c72a815c&scoped=true&\"\nimport script from \"./scan-zone.vue?vue&type=script&lang=ts&\"\nexport * from \"./scan-zone.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./scan-zone.vue?vue&type=style&index=0&id=c72a815c&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"c72a815c\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:['scan-zone__wrapper', _vm.variant]},[_c('form',{ref:\"zone\",class:['scan-zone__scanner', { pulse: _vm.pulse }]},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.input),expression:\"input\"}],staticClass:\"scan-zone__input\",attrs:{\"type\":\"text\",\"placeholder\":\"Scan a case\",\"disabled\":_vm.disabled},domProps:{\"value\":(_vm.input)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.input=$event.target.value}}})]),_vm._v(\" \"),_c('div',{class:[\n 'scan-zone__message',\n { 'align-left': _vm.align === 'left' },\n { 'align-right': _vm.align === 'right' } ]},[_c('span',{staticClass:\"spacer\"}),_vm._v(\" \"),_vm._t(\"iconLeft\",[(_vm.icons.left)?_c('span',{staticClass:\"icon\"},[_c('wb-icon',{class:_vm.icons.left.class,attrs:{\"name\":_vm.icons.left.name,\"type\":\"bold\"}})],1):_vm._e()]),_vm._v(\" \"),_c('p',[_vm._t(\"default\")],2),_vm._v(\" \"),_vm._t(\"iconRight\",[(_vm.icons.right)?_c('span',{staticClass:\"icon\"},[_c('wb-icon',{class:_vm.icons.right.class,attrs:{\"name\":_vm.icons.right.name,\"type\":\"bold\"}})],1):_vm._e()]),_vm._v(\" \"),_c('span',{staticClass:\"spacer\"})],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { defineComponent, reactive, useRoute } from '@nuxtjs/composition-api';\nimport { useAPI } from '~/app/core/api';\nimport { Case } from '~/app/models';\nimport { useStore as useCaseStore } from '~mod:case-details/composables/use-store';\nimport {\n TheCaseCheckInModal,\n ModalEvent as CheckInModalEvent,\n} from '~mod:shared/components/organisms/case-check-in-modal';\nimport {\n TheCaseTransferModal,\n ModalEvent as TransferModalEvent,\n} from '~mod:shared/components/organisms/case-transfer-modal';\nimport {\n TheCaseCheckoutModal,\n ModalEvent as CheckOutModalEvent,\n} from '~mod:shared/components/organisms/case-checkout-modal';\n\n// TODO: These are currently unused, implement these\nexport enum TransportProviderEvent {\n /** A case was selected to check-in. */\n checkInStart = 'checkIn:start',\n /** A case has been checked in. */\n checkInComplete = 'checkIn:complete',\n /** A case was selected to transfer. */\n transferStart = 'transfer:start',\n /** A case has been transferred. */\n transferComplete = 'transfer:complete',\n /** A case was selected to check-out. */\n checkOutStart = 'checkOut:start',\n /** A case has been checked out. */\n checkOutComplete = 'checkOut:complete',\n}\n\nexport enum TransportType {\n CheckIn = 'checkIn',\n Transfer = 'transfer',\n CheckOut = 'checkOut',\n}\n\nexport interface TransportWorkflowBehaviors {\n identityVerified: boolean;\n onComplete?: () => void;\n}\n\ninterface TransportWorkflow {\n active: boolean;\n onComplete?: (caseId: string) => any;\n}\n\n// TODO: This should be the central authority for all transport workflows\n\nexport default defineComponent({\n name: 'TheTransportModalProvider',\n components: {\n TheCaseCheckInModal,\n TheCaseCheckoutModal,\n TheCaseTransferModal,\n },\n emits: {\n [TransportProviderEvent.checkInStart]: (caseId: string) =>\n typeof caseId === 'string',\n [TransportProviderEvent.checkInComplete]: (caseId: string) =>\n typeof caseId === 'string',\n [TransportProviderEvent.checkOutStart]: (caseId: string) =>\n typeof caseId === 'string',\n [TransportProviderEvent.checkOutComplete]: (caseId: string) =>\n typeof caseId === 'string',\n [TransportProviderEvent.transferStart]: (caseId: string) =>\n typeof caseId === 'string',\n [TransportProviderEvent.transferComplete]: (caseId: string) =>\n typeof caseId === 'string',\n },\n setup(_, { emit }) {\n const api = useAPI();\n const { state, commit, Mutation } = useCaseStore();\n\n let currentSessionCase: Case | null = null;\n\n const route = useRoute();\n function isOnCaseDetailsPage() {\n if (!route.value.name) return false;\n return ['case-create', 'case-id'].includes(route.value.name);\n }\n\n async function setActiveCaseAsync(caseId: string) {\n if (isOnCaseDetailsPage()) {\n // Store the current case as it could be another case.\n currentSessionCase = state.case;\n }\n\n const details = await api.cases.getAsync(caseId);\n commit(Mutation.setCase, details);\n }\n\n const workflows = reactive({\n [TransportType.CheckIn]: {\n active: false,\n completed: undefined,\n } as TransportWorkflow,\n [TransportType.CheckOut]: {\n active: false,\n completed: undefined,\n } as TransportWorkflow,\n [TransportType.Transfer]: {\n active: false,\n completed: undefined,\n } as TransportWorkflow,\n });\n\n async function startWorkflow(\n type: TransportType,\n caseId: string,\n behaviors?: TransportWorkflowBehaviors\n ) {\n const workflow = workflows[type];\n workflow.active = true;\n workflow.onComplete = behaviors?.onComplete;\n emit(`${type}:start` as any, caseId);\n\n behaviors?.identityVerified && commit(Mutation.verifyIdentity);\n await setActiveCaseAsync(caseId);\n }\n\n function completeWorkflow(type: TransportType, caseId: string) {\n const workflow = workflows[type];\n workflow.active = false;\n workflow.onComplete?.(caseId);\n emit(`${type}:complete` as any, caseId);\n }\n\n function resetOnClose(visible: boolean) {\n if (visible) return;\n\n // If we have a stored case from the case details page, restore it\n if (currentSessionCase) {\n commit(Mutation.setCase, currentSessionCase);\n currentSessionCase = null;\n }\n\n // If on the case details page we just want to reset the identity verification while leaving the case intact\n isOnCaseDetailsPage()\n ? commit(Mutation.verifyIdentity, false)\n : commit(Mutation.reset);\n }\n\n return {\n workflows,\n startWorkflow,\n completeWorkflow,\n resetOnClose,\n TransportType,\n\n CheckInModalEvent,\n CheckOutModalEvent,\n TransferModalEvent,\n };\n },\n});\n","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./scan-match.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./scan-match.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./scan-match.vue?vue&type=template&id=7e6e1af1&\"\nimport script from \"./scan-match.vue?vue&type=script&lang=ts&\"\nexport * from \"./scan-match.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:\"root\",staticClass:\"pb-1\"},[_c('case-card-details',{staticClass:\"w-full\",attrs:{\"summary\":_vm.summary}}),_vm._v(\" \"),_c('a-divider',{staticClass:\"!my-0 !mb-2 !px-4\",attrs:{\"orientation\":\"left\"}},[_c('span',{staticClass:\"text-sm font-medium text-secondary\"},[_vm._v(\"Location\")])]),_vm._v(\" \"),_c('div',{staticClass:\"flex items-end justify-between px-6 pb-4 pt-0 font-medium\"},[_c('span',{class:['font-medium', _vm.custody.class]},[_vm._v(_vm._s(_vm.custody.type))]),_vm._v(\" \"),(_vm.custody.location)?_c('div',{staticClass:\"flex items-center gap-1\"},[_c('wb-icon',{attrs:{\"name\":\"square-half\",\"type\":\"bold\"}}),_vm._v(_vm._s(_vm.custody.location)+\"\\n \")],1):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"flex w-full flex-col px-4\"},[_c('a-divider',{staticClass:\"!my-0 !mb-2\"}),_vm._v(\" \"),_c('div',{staticClass:\"flex w-full flex-col items-stretch gap-2\"},[(_vm.actions.view)?_c('wb-menu-button-item',{staticClass:\"wb-menu-link w-full !p-2\",on:{\"click\":function($event){return _vm.goToCase()}}},[_c('wb-icon',{attrs:{\"name\":\"eye\",\"type\":\"bold\"}}),_vm._v(\" \"),_c('span',{staticClass:\"ml-2 leading-normal\"},[_vm._v(\"View or modify\")])],1):_vm._e(),_vm._v(\" \"),(_vm.actions.transfer)?_c('wb-menu-button-item',{staticClass:\"wb-menu-link w-full !p-2\",on:{\"click\":function($event){return _vm.transferCase()}}},[_c('wb-icon',{attrs:{\"name\":\"arrows-left-right\",\"type\":\"bold\"}}),_vm._v(\" \"),_c('span',{staticClass:\"ml-2 leading-normal\"},[_vm._v(\"\\n Transfer \"+_vm._s(_vm.$language.get('case').singular)+\"\\n \")])],1):_vm._e(),_vm._v(\" \"),(_vm.actions.checkIn)?_c('a-tooltip',{attrs:{\"title\":_vm.summary.checkIn.information,\"get-popup-container\":function () { return _vm.$refs.root; }}},[_c('wb-menu-button-item',{staticClass:\"wb-menu-link w-full justify-between !p-2\",attrs:{\"disabled\":!_vm.summary.checkIn.enabled},on:{\"click\":function($event){return _vm.checkInCase()}}},[_c('span',{staticClass:\"inline-flex items-center\"},[_c('wb-icon',{attrs:{\"name\":\"download-simple\",\"type\":\"bold\"}}),_vm._v(\" \"),_c('span',{staticClass:\"ml-2 leading-normal\"},[_vm._v(\"\\n Check\\n \"),(_vm.summary.custodyStatus === _vm.CustodyStatus.Departed)?_c('span',[_vm._v(\"back\\n \")]):_vm._e(),_vm._v(\"\\n into \"+_vm._s(_vm.$language.get('bodybox').singular)+\"\\n \")])],1),_vm._v(\" \"),(!_vm.summary.checkIn.enabled)?_c('wb-icon',{attrs:{\"name\":\"unlock-simple\",\"type\":\"bold\"}}):_vm._e()],1)],1):_vm._e(),_vm._v(\" \"),(_vm.actions.checkOut)?_c('a-tooltip',{attrs:{\"title\":_vm.summary.checkOut.information,\"get-popup-container\":function () { return _vm.$refs.root; }}},[_c('wb-menu-button-item',{staticClass:\"wb-menu-link w-full justify-between !p-2\",attrs:{\"disabled\":!_vm.summary.checkOut.enabled},on:{\"click\":function($event){return _vm.checkOutCase()}}},[_c('span',{staticClass:\"inline-flex items-center\"},[_c('wb-icon',{attrs:{\"name\":\"upload-simple\",\"type\":\"bold\"}}),_vm._v(\" \"),_c('span',{staticClass:\"ml-2 leading-normal\"},[_vm._v(\"\\n Check Out \"+_vm._s(_vm.$language.get('case').singular)+\"\\n \")])],1),_vm._v(\" \"),(!_vm.summary.checkOut.enabled)?_c('wb-icon',{attrs:{\"name\":\"lock-simple\",\"type\":\"bold\"}}):_vm._e()],1)],1):_vm._e()],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./scan-counter.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./scan-counter.vue?vue&type=script&lang=ts&\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { defineComponent } from '@vue/composition-api';\n\nexport default defineComponent({\n name: 'ScanCounter',\n props: {\n count: {\n type: Number,\n required: true,\n },\n complete: {\n type: Number,\n required: false,\n default: 0,\n },\n },\n setup(props) {\n function isComplete(scan: number) {\n return scan <= props.complete;\n }\n\n function numToWord(num: number) {\n switch (num) {\n case 1:\n return 'one';\n case 2:\n return 'two';\n case 3:\n return 'three';\n case 4:\n return 'four';\n case 5:\n return 'five';\n case 6:\n return 'six';\n case 7:\n return 'seven';\n case 8:\n return 'eight';\n case 9:\n return 'nine';\n default:\n return 'one';\n }\n }\n\n return { isComplete, numToWord };\n },\n});\n","import { render, staticRenderFns } from \"./scan-counter.vue?vue&type=template&id=454ea17d&\"\nimport script from \"./scan-counter.vue?vue&type=script&lang=ts&\"\nexport * from \"./scan-counter.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:\"inline-flex items-center gap-1 opacity-75\"},_vm._l((_vm.count),function(scan){return _c('wb-transition-roll-down',{key:scan,attrs:{\"mode\":\"out-in\"}},[_c('wb-icon',{key:_vm.isComplete(scan),staticClass:\"inline-flex items-center\",attrs:{\"name\":_vm.isComplete(scan) ? 'check-circle' : (\"number-circle-\" + (_vm.numToWord(scan))),\"type\":_vm.isComplete(scan) ? 'fill' : 'bold'}})],1)}),1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./transport-modal-provider.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./transport-modal-provider.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./transport-modal-provider.vue?vue&type=template&id=c64908da&\"\nimport script from \"./transport-modal-provider.vue?vue&type=script&lang=ts&\"\nexport * from \"./transport-modal-provider.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('fragment',[_c('the-case-check-in-modal',{attrs:{\"visible\":_vm.workflows.checkIn.active},on:_vm._d({\"update:visible\":[function($event){return _vm.$set(_vm.workflows.checkIn, \"active\", $event)},_vm.resetOnClose]},[_vm.CheckInModalEvent.checkInCase,function($event){return _vm.completeWorkflow(_vm.TransportType.CheckIn, $event)}])}),_vm._v(\" \"),_c('the-case-checkout-modal',{attrs:{\"visible\":_vm.workflows.checkOut.active},on:_vm._d({\"update:visible\":[function($event){return _vm.$set(_vm.workflows.checkOut, \"active\", $event)},_vm.resetOnClose]},[_vm.CheckOutModalEvent.checkoutCase,function($event){return _vm.completeWorkflow(_vm.TransportType.CheckOut, $event)}])}),_vm._v(\" \"),_c('the-case-transfer-modal',{attrs:{\"visible\":_vm.workflows.transfer.active},on:_vm._d({\"update:visible\":[function($event){return _vm.$set(_vm.workflows.transfer, \"active\", $event)},_vm.resetOnClose]},[_vm.TransferModalEvent.transferCase,function($event){return _vm.completeWorkflow(_vm.TransportType.Transfer, $event)}])})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export type UnitOfTime = 'ms' | 's' | 'm' | 'h';\n\n/** A utility to convert a tick based timer to representative units of time. */\nexport class TickTimer {\n private readonly durationMs: number;\n private readonly measureMs: number;\n\n /**\n * Creates a new instance of `TickTimer`.\n * @param durationMs The total number of milliseconds the timer should last.\n * @param tickMeasureMs The number of milliseconds between each tick. **Default: `1000`**\n */\n constructor(durationMs: number, tickMeasureMs: number = 1000) {\n this.durationMs = durationMs;\n this.measureMs = tickMeasureMs;\n }\n\n /** @returns {number} The total number of ticks that make up the timer's interval. */\n public get ticks() {\n return Math.floor(this.durationMs / this.measureMs);\n }\n\n /**\n * Gets the tick within the interval which corresponds with the provided time in milliseconds.\n * @param {number} ms The number of milliseconds to convert to a tick.\n * @returns {number} The tick within the interval which corresponds with the provided time in milliseconds.\n */\n public getTick(ms: number) {\n return Math.floor(ms / this.measureMs);\n }\n\n /**\n * Gets the time that has elapsed at a specified tick.\n * @param {number} tick The tick to get the time elapsed at.\n * @param {UnitOfTime} unit The unit of time to return. **Default: `'s'`**\n * @returns {number} The time that has elapsed at a specified tick.\n */\n public getTime(tick: number, unit: UnitOfTime = 's') {\n if (tick < 0) return 0;\n\n const seconds = tick / (1000 / this.measureMs);\n\n switch (unit) {\n case 'ms':\n return seconds * 1000;\n case 's':\n return seconds;\n case 'm':\n return seconds / 60;\n case 'h':\n return seconds / 60 / 60;\n default:\n throw new Error('Unsupported unit of time');\n }\n }\n\n /**\n * Gets the time remaining at a specified tick.\n * @param {number} tick The tick to get the time remaining at.\n * @param {UnitOfTime} unit The unit of time to return. **Default: `'s'`**\n * @returns {number} The time remaining at the specified tick.\n */\n public getTimeRemaining(tick: number, unit: UnitOfTime = 's') {\n const remainingTicks = this.ticks - tick;\n return this.getTime(remainingTicks, unit);\n }\n\n /**\n * Gets the time interval the timer was set to.\n * @param {UnitOfTime} unit The unit of time to return. **Default: `'s'`**\n * @returns {number} The time interval the timer was set to.\n */\n public getTotalTime(unit: UnitOfTime = 's') {\n return this.getTime(this.ticks, unit);\n }\n}\n","export interface ScanErrorMetrics {\n scanCode: string;\n scanDuration: number;\n avgTimeByCharMs: number;\n minLength: number;\n}\n\nexport class ScanError extends Error {\n public scanCode: string;\n public scanDuration: number;\n public avgTimeByCharMs: number;\n public minLength: number;\n\n constructor(message: string, metrics: ScanErrorMetrics) {\n super(message);\n this.scanCode = metrics.scanCode;\n this.scanDuration = metrics.scanDuration;\n this.avgTimeByCharMs = metrics.avgTimeByCharMs;\n this.minLength = metrics.minLength;\n }\n}\n\nexport const ScanErrorMessage = {\n SequenceTooShort: 'Received code is shorter than minimal length',\n NotEnteredInTime: 'Received code was not entered in time',\n} as const;\n","/* eslint-disable no-dupe-class-members */\nimport defu from 'defu';\nimport consola from 'consola';\nimport { ScanError, ScanErrorMessage } from './errors';\nimport type {\n ScannerInitOptions,\n ScanOptions,\n ScanResult,\n ScanSessionState,\n} from './types';\n\nfunction noop() {}\n\nexport class ScanService {\n private defaults: ScanOptions = {\n onStart: noop,\n onStop: noop,\n onScan: noop,\n onScanError: noop,\n onKeyProcess: noop,\n onKeyDetect: () => true,\n onPaste: noop,\n keyCodeMapper: (event: KeyboardEvent) => this.decodeKeyEvent(event),\n onScanButtonLongPress: noop,\n scanButtonKeyCode: undefined,\n scanButtonLongPressTimeMs: 500,\n timeBeforeScanTestMs: 100,\n avgTimeByCharMs: 30,\n minLength: 3,\n suffixKeyCodes: [9, 13],\n prefixKeyCodes: [],\n ignoreIfFocusOn: [],\n stopPropagation: false,\n preventDefault: false,\n captureEvents: false,\n reactToKeydown: true,\n reactToPaste: false,\n singleScanQuantity: 1,\n };\n\n private readonly domElement: HTMLElement | Document;\n private readonly options: ScanOptions;\n\n private sequenceState: ScanSessionState = {\n firstCharTime: 0,\n lastCharTime: 0,\n accumulatedString: '',\n testTimer: undefined,\n longPressTimer: undefined,\n longPressTimeStart: 0,\n longPressed: false,\n };\n\n constructor(\n options: Partial = { startImmediate: true },\n domElement: HTMLElement | Document = document\n ) {\n this.options = defu({}, options, this.defaults);\n this.domElement = domElement;\n\n (domElement as any).scannerDetectionData && this.stop();\n\n options.startImmediate && this.start();\n }\n\n public start() {\n if ((this.domElement as any).scannerDetectionData) return;\n\n // TODO: use .dataset instead or .setAttribute('scannerDetectionData', ...);\n (this.domElement as any).scannerDetectionData = {\n options: this.options,\n sessionState: this.sequenceState,\n reinitialize: this.reinitialize.bind(this),\n validateScanCode: this.validateScanCode.bind(this),\n };\n\n this.attachListeners();\n\n const startTime = new Date();\n this.options.onStart.call(this.domElement, startTime);\n this.dispatchEvent('scanner:start', startTime);\n\n consola.withTag('scan').info('🔎 STARTED listening for barcode scans...');\n }\n\n public stop() {\n const el = this.domElement as any;\n\n // detaching all used events\n if (el.scannerDetectionData.options.reactToPaste)\n this.domElement.removeEventListener(\n 'paste',\n this.handlePaste as (e: Event) => void\n );\n\n if (el.scannerDetectionData.options.scanButtonKeyCode)\n el.removeEventListener('keyup', this.handleKeyUp);\n\n el.removeEventListener('keydown', this.handleKeyDown);\n\n // clearing data off DomElement\n el.scannerDetectionData = undefined;\n\n const stopTime = new Date();\n this.options.onStop.call(this.domElement, stopTime);\n this.dispatchEvent('scanner:stop', stopTime);\n\n consola.withTag('scan').info('🛑 STOPPED listening for barcode scans');\n }\n\n // #region Static Utils\n\n /**\n * Indicates if the service is attached to the given DOM element.\n * @param domElement The DOM element to check\n * @returns TRUE if the service is attached to the given DOM element and FALSE otherwise\n */\n public static isAttachedTo(domElement: HTMLElement | Document): boolean {\n return !!(domElement as any).scannerDetectionData;\n }\n\n /**\n * Indicates if the service is currently in the middle of a scan sequence.\n * @param domElement The DOM element to check\n * @returns TRUE if the service is in a scan sequence and FALSE otherwise\n */\n public static isScanInProgressFor(\n domElement: HTMLElement | Document\n ): boolean {\n return (\n (domElement as any).scannerDetectionData.sessionState.firstCharTime > 0\n );\n }\n\n /**\n * Simulates a scan of the provided code.\n *\n * The scan code can be defined as\n * - a string - in this case no keyCode decoding is done and the code is merely validated\n * against constraints like minLength, etc.\n * - an array of keyCodes (e.g. `[70,71,80]`) - will produce `keydown` events with corresponding\n * `keyCode` properties. NOTE: these events will have empty `key` properties, so decoding may\n * yield different results than with native events.\n * - an array of objects (e.g. `[{keyCode: 70, key: \"F\", shiftKey: true}, {keyCode: 71, key: \"g\"}]`) -\n * this way almost any event can be simulated, but it's a lot of work to do.\n *\n * @param domElement The DOM element to simulate with\n * @param string|array stringOrArray\n * @return self\n */\n public static simulate(\n stringOrArray: string | any[],\n domElement: HTMLElement | Document = document\n ): void {\n const instance = (domElement as any).scannerDetectionData;\n instance.reinitialize();\n\n if (Array.isArray(stringOrArray)) {\n stringOrArray.forEach((key) => {\n let eventProps: Partial = {};\n if ((typeof key === 'object' || typeof key === 'function') && !!key) {\n eventProps = key;\n } else {\n // @ts-expect-error - the interface is readonly, our init object is not\n eventProps.keyCode = parseInt(key);\n }\n const event = new KeyboardEvent('keydown', eventProps);\n document.dispatchEvent(event);\n });\n } else {\n instance.validateScanCode(stringOrArray);\n }\n }\n\n // #endregion\n\n private attachListeners(): void {\n if (this.options.reactToPaste) {\n this.domElement.addEventListener(\n 'paste',\n (event) => this.handlePaste(event as ClipboardEvent),\n this.options.captureEvents\n );\n }\n\n const hasScanButtonKeyCode =\n typeof this.options.scanButtonKeyCode === 'number';\n if (hasScanButtonKeyCode) {\n this.domElement.addEventListener(\n 'keyup',\n (event) => this.handleKeyUp(event as KeyboardEvent),\n this.options.captureEvents\n );\n }\n\n if (this.options.reactToKeydown || hasScanButtonKeyCode) {\n this.domElement.addEventListener(\n 'keydown',\n (event) => this.handleKeyDown(event as KeyboardEvent),\n this.options.captureEvents\n );\n }\n }\n\n private handleKeyDown(event: KeyboardEvent): void {\n const keyCode = this.getNormalizedKeyNum(event);\n let scanFinished = false;\n let character: string | null = null;\n\n if (!this.options.onKeyDetect.call(this.domElement, keyCode, event)) return;\n\n if (this.isFocusOnIgnoredElement()) return;\n\n // If it's just the button of the scanner, ignore it and wait for the real input\n const { scanButtonKeyCode } = this.options;\n if (\n typeof scanButtonKeyCode === 'number' &&\n keyCode === scanButtonKeyCode\n ) {\n // If the button was first pressed, start a timeout for the callback, which gets interrupted if the scan button gets released\n if (!this.sequenceState.longPressed) {\n this.sequenceState.longPressTimer = window.setTimeout(\n () => this.options.onScanButtonLongPress.call(this.domElement),\n this.options.scanButtonLongPressTimeMs\n );\n this.sequenceState.longPressTimeStart = Date.now();\n this.sequenceState.longPressed = true;\n }\n\n return;\n }\n\n if (\n this.sequenceState.firstCharTime &&\n this.options.suffixKeyCodes.includes(keyCode)\n ) {\n // If it's not the first character and we encounter a terminating character, trigger scan process\n event.preventDefault();\n event.stopImmediatePropagation();\n scanFinished = true;\n } else if (\n // If it's the first character and we encountered one of the starting characters, don't process the scan\n this.sequenceState.firstCharTime &&\n this.options.prefixKeyCodes.includes(keyCode)\n ) {\n event.preventDefault();\n event.stopImmediatePropagation();\n scanFinished = false;\n } else {\n // Add the character to the scan string we're building\n character = this.options.keyCodeMapper.call(this.domElement, event);\n if (typeof character !== 'string') return;\n\n this.sequenceState.accumulatedString += character;\n\n this.options.preventDefault && event.preventDefault();\n this.options.stopPropagation && event.stopImmediatePropagation();\n\n scanFinished = false;\n }\n\n if (!this.sequenceState.firstCharTime) {\n // Start the timer when the first character is entered\n this.sequenceState.firstCharTime = Date.now();\n }\n\n this.sequenceState.lastCharTime = Date.now();\n\n if (this.sequenceState.testTimer) {\n clearTimeout(this.sequenceState.testTimer);\n }\n\n if (scanFinished) {\n this.validateScanCode(this.sequenceState.accumulatedString);\n this.sequenceState.testTimer = undefined;\n } else {\n this.sequenceState.testTimer = window.setTimeout(\n () => this.validateScanCode(this.sequenceState.accumulatedString),\n this.options.timeBeforeScanTestMs\n );\n }\n\n this.options.onKeyProcess.call(this.domElement, character as string, event);\n }\n\n private handleKeyUp(event: KeyboardEvent): void {\n if (this.isFocusOnIgnoredElement()) return;\n\n const keyCode = this.getNormalizedKeyNum(event);\n\n // If the hardware key is not being pressed anymore stop the timeout and reset\n if (keyCode === this.options.scanButtonKeyCode) {\n window.clearTimeout(this.sequenceState.longPressTimer);\n this.sequenceState.longPressTimeStart = 0;\n this.sequenceState.longPressed = false;\n }\n }\n\n private handlePaste(event: ClipboardEvent): void {\n const clipboardText = event.clipboardData?.getData('text');\n if (!clipboardText) return;\n\n if (this.isFocusOnIgnoredElement()) return;\n\n event.preventDefault();\n this.options.stopPropagation && event.stopImmediatePropagation();\n\n this.options.onPaste.call(this.domElement, clipboardText, event);\n\n this.sequenceState.firstCharTime = 0;\n this.sequenceState.lastCharTime = 0;\n\n this.validateScanCode(clipboardText);\n }\n\n /** Checks if the documents currently focused element is an ignored element */\n private isFocusOnIgnoredElement(): boolean {\n const ignoreSelectors = this.options.ignoreIfFocusOn;\n if (!ignoreSelectors) return false;\n\n if (Array.isArray(ignoreSelectors)) {\n for (const selector of ignoreSelectors) {\n if (document.activeElement?.matches(selector)) return true;\n }\n } else if (document.activeElement?.matches(ignoreSelectors)) {\n return true;\n }\n\n return false;\n }\n\n /** Validates the scan code and dispatches a successful or error scan event */\n private validateScanCode(scanCode: string): boolean {\n const { singleScanQuantity } = this.options;\n const { firstCharTime, lastCharTime } = this.sequenceState;\n\n const dispatchScanError = (message: string) => {\n const { avgTimeByCharMs, minLength } = this.options;\n const scanDuration = lastCharTime - firstCharTime;\n\n const error = new ScanError(message, {\n scanCode,\n scanDuration,\n avgTimeByCharMs,\n minLength,\n });\n\n this.options.onScanError.call(this.domElement, error);\n this.dispatchEvent('scan:error', error);\n };\n\n if (scanCode.length < this.options.minLength) {\n dispatchScanError(ScanErrorMessage.SequenceTooShort);\n this.reinitialize();\n return false;\n }\n\n if (\n lastCharTime - firstCharTime >\n scanCode.length * this.options.avgTimeByCharMs\n ) {\n dispatchScanError(ScanErrorMessage.NotEnteredInTime);\n this.reinitialize();\n return false;\n }\n\n this.options.onScan.call(this.domElement, scanCode, singleScanQuantity);\n this.dispatchEvent('scan', { scanCode, quantity: singleScanQuantity });\n\n this.reinitialize();\n return true;\n }\n\n /** Dispatches a custom event on the DOM element */\n private dispatchEvent(eventName: 'scan', result: ScanResult): void;\n private dispatchEvent(eventName: 'scan:error', error: ScanError): void;\n private dispatchEvent(eventName: 'scanner:start', time: Date): void;\n private dispatchEvent(eventName: 'scanner:stop', time: Date): void;\n private dispatchEvent(eventName: string, data: any = undefined): void {\n const event = new CustomEvent(eventName, { detail: data });\n this.domElement.dispatchEvent(event);\n }\n\n /** Resets the scan session state */\n private reinitialize(): void {\n this.sequenceState.firstCharTime = 0;\n this.sequenceState.lastCharTime = 0;\n this.sequenceState.accumulatedString = '';\n\n if (this.sequenceState.testTimer) {\n window.clearTimeout(this.sequenceState.testTimer);\n this.sequenceState.testTimer = undefined;\n }\n\n if (this.sequenceState.longPressTimer) {\n window.clearTimeout(this.sequenceState.longPressTimer);\n this.sequenceState.longPressTimer = undefined;\n }\n\n this.sequenceState.longPressTimeStart = 0;\n this.sequenceState.longPressed = false;\n }\n\n /** Gets the key code from an event */\n private getNormalizedKeyNum(event: KeyboardEvent): number {\n // const parsed = parseInt(event.code.replace(/\\D/g, ''), 10);\n // console.log('which', event.which);\n // console.log('keyCode', event.keyCode);\n // console.log('parsed', parsed);\n return event.which || event.keyCode;\n }\n\n /**\n * Decodes a keyboard event into a string representation of the key\n *\n * By default on the following key codes are taken into account\n * - 48-90 (0-9, A-Z)\n * - 96-105 (Numpad 0-9)\n * - 106-111 (Numpad operations: Multiply, Add, Subtract, Decimal, Divide)\n * - 186 (Semicolon)\n * - 189 (Minus), 189+Shift (Underscore)\n *\n * All other keys will yield empty strings!\n * The above key codes will be decoded using the KeyboardEvent.key property on modern\n * browsers. On older browsers the method will fall back to String.fromCharCode()\n * putting the result to upper/lower case depending on KeyboardEvent.shiftKey if it is set.\n *\n * @param The keyboard event to decode\n * @returns The decoded key string\n */\n private decodeKeyEvent(event: KeyboardEvent): string {\n // TODO: shouldn't we just use event.key instead?\n const code = this.getNormalizedKeyNum(event);\n\n const isAlphanumeric = code >= 48 && code <= 90;\n const isNumpadDigit = code >= 96 && code <= 105;\n const isNumpadOperator = code >= 106 && code <= 111;\n const isSpecialChar = [186, 189].includes(code);\n\n if (isAlphanumeric || isNumpadOperator || isSpecialChar) {\n if (event.key) return event.key;\n\n const decodedChar = event.shiftKey\n ? String.fromCharCode(code).toUpperCase()\n : String.fromCharCode(code).toLowerCase();\n\n return decodedChar;\n }\n\n // Convert numpad digits to string (subtract 96 to get the correct digit non-numpad key)\n if (isNumpadDigit) return `${0 + (code - 96)}`;\n\n // Unparsable key\n return '';\n }\n}\n","// Ignore scans when a form input is focused\nexport const IgnoredElementSelectors = [\n '[data-ignore-scans]',\n 'form:not(.allow-scans) input',\n 'form:not(.allow-scans) textarea',\n 'form:not(.allow-scans) select',\n 'form:not(.allow-scans) [contenteditable=\"true\"]',\n];\n","import { computed, inject, provide, ref } from '@nuxtjs/composition-api';\nimport { useWindowFocus } from '@vueuse/core';\nimport {\n ScanError,\n ScanErrorMessage,\n ScannerInitOptions,\n ScanService,\n} from '~/app/core/services/barcoding/scanning';\nimport { IgnoredElementSelectors } from '~/app/core/services/barcoding/scanning/ignored-elements';\nimport { sleep } from '~/app/utils/async';\n\nconst SCANNER_SYMBOL = Symbol('useScanner.scanner');\n\nexport type OnScanFunction = (data: string) => void;\nexport type OnScanErrorFunction = (error: ScanError) => void;\n\nconst isRunning = ref(false);\nconst onScanFns: OnScanFunction[] = [];\nconst onErrorFns: OnScanErrorFunction[] = [];\n\n// #region Simulation\nasync function simulate(...data: string[]) {\n for (let i = 0; i < data.length; i++) {\n console.log('Simulating sequence:', data[i]);\n ScanService.simulate(data[i]);\n if (i < data.length - 1) await sleep(500);\n }\n}\n\n// @ts-expect-error - Expose simulate to window for testing\nwindow.scanner = { simulate };\n// #endregion\n\nexport function useScanner(\n options: Partial = { startImmediate: true }\n) {\n function onScan(fn: OnScanFunction) {\n onScanFns.push(fn);\n\n // Unsubscribe\n return () => {\n onScanFns.splice(onScanFns.indexOf(fn), 1);\n };\n }\n\n function onError(fn: OnScanErrorFunction) {\n onErrorFns.push(fn);\n\n // Unsubscribe\n return () => {\n onErrorFns.splice(onErrorFns.indexOf(fn), 1);\n };\n }\n\n function createScanner() {\n return new ScanService({\n ...options,\n ignoreIfFocusOn: IgnoredElementSelectors,\n onStart: () => (isRunning.value = true),\n onStop: () => (isRunning.value = false),\n onScan: (data) => onScanFns.forEach((fn) => fn(data)),\n onScanError: (error) => {\n if (\n error instanceof ScanError &&\n error.message === ScanErrorMessage.SequenceTooShort\n ) {\n // Don't show an error for short sequences\n return;\n }\n\n // TODO: if we are encountering scan errors, show a small toast saying like \"Having trouble, click here?\"\n // This would launch a modal with a text input focused where the scanner would write directly too. The styled should change based on its focus\n // if focused: make it look like it is waiting scans i.e show green \"scanning\"\n // if not focused: make it look like a button that says \"start scanning\" so that when they \"click\" it its actually just focusing the input\n // Possible debounced input event on an input ignore by the scan service (i.e. in form)\n console.error(error.message, error);\n onErrorFns.forEach((fn) => fn(error));\n },\n });\n }\n\n const scanner = inject(SCANNER_SYMBOL, () => createScanner(), true);\n provide(SCANNER_SYMBOL, scanner);\n\n const focused = useWindowFocus();\n const isListening = computed(() => focused.value && isRunning.value);\n\n return { scanner, isListening, onScan, onError };\n}\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component } from 'vue';\nimport {\n computed,\n defineComponent,\n nextTick,\n onMounted,\n onUnmounted,\n ref,\n useRouter,\n} from '@nuxtjs/composition-api';\nimport { Empty } from 'ant-design-vue';\nimport { tryOnScopeDispose } from '@vueuse/core';\nimport TheScanZone, { IconConfig, ZoneVariant } from './scan-zone.vue';\nimport CaseMatch, { MatchAction } from './scan-match.vue';\nimport ScanCounter from './scan-counter.vue';\nimport TransportModalProvider, {\n TransportType,\n TransportWorkflowBehaviors,\n} from './transport-modal-provider.vue';\nimport { useAPI } from '~/app/core/api';\nimport { TickTimer } from '~/app/utils/tick-timer';\nimport { CaseSummary } from '~/app/models';\nimport { useModule } from '~/app/core/module-system';\nimport { BarcodingModule } from '~mod:barcoding';\nimport { useScanner } from '~mod:barcoding/composables/use-scanner';\nimport { useTenantConfig } from '~/app/composables/use-tenant-config';\n\nenum ScanState {\n Idle,\n Gathering,\n Validating,\n Match,\n Error,\n}\n\nenum ScanMode {\n Single,\n Multiple,\n}\n\nconst GATHERING_WAIT_MS = 10000;\nconst UI_RESET_DELAY_MS = 3000;\n\nexport default defineComponent({\n name: 'BarcodeScannerToast',\n components: { CaseMatch, TheScanZone, ScanCounter, TransportModalProvider },\n setup() {\n const { features } = useTenantConfig();\n const { scansRequired } = features.barcoding.scanning;\n\n // #region Process State\n\n const mode = ref(\n scansRequired > 1 ? ScanMode.Multiple : ScanMode.Single\n );\n\n const state = ref(ScanState.Idle);\n const isIdle = computed(() => state.value === ScanState.Idle);\n const isGathering = computed(() => state.value === ScanState.Gathering);\n const isValidating = computed(() => state.value === ScanState.Validating);\n const isMatched = computed(() => state.value === ScanState.Match);\n const isError = computed(() => state.value === ScanState.Error);\n\n const showUI = computed(() => !isIdle.value);\n\n const zoneVariant = computed(() => {\n if (isGathering.value) return 'active';\n if (isValidating.value || (isMatched.value && matches.value.length))\n return 'success';\n if (isError.value || (isMatched.value && !matches.value.length))\n return 'error';\n return 'active';\n });\n\n const iconLeft = computed(() => {\n if (isError.value) return 'warning';\n if (isGathering.value) return undefined;\n if (isMatched.value && matches.value.length) return 'check-circle';\n if (isMatched.value && !matches.value.length) return 'x-circle';\n return { name: 'circle-notch', class: 'animate-spin' };\n });\n\n // #endregion\n\n // #region Error Handling\n\n const error = ref();\n let errorResetTimer: number | null = null;\n\n function raiseError(message: string) {\n state.value = ScanState.Error;\n error.value = message;\n errorResetTimer = window.setTimeout(() => reset(), UI_RESET_DELAY_MS);\n }\n\n function stopErrorResetTimer() {\n if (errorResetTimer === null) return;\n window.clearTimeout(errorResetTimer);\n errorResetTimer = null;\n }\n\n // #endregion\n\n // #region Scan gathering\n\n const scansCaptured = ref([]);\n\n const tickMeasureMs = 10; // The duration in ms to measure a timer \"tick\"\n const tickTimer = new TickTimer(GATHERING_WAIT_MS, tickMeasureMs);\n const gatheringPercentRemaining = ref(100);\n let gatheringCountdownTimer: number | null = null;\n\n function startGatheringCountdown(onTimeout?: () => void) {\n if (typeof gatheringCountdownTimer === 'number') {\n // Reset the countdown timer if it's already running\n window.clearInterval(gatheringCountdownTimer);\n }\n\n let tick = 0;\n gatheringPercentRemaining.value = 100;\n\n gatheringCountdownTimer = window.setInterval(() => {\n const remainingMs = tickTimer.getTimeRemaining(tick + 1, 'ms');\n if (remainingMs <= GATHERING_WAIT_MS) {\n const percent = (remainingMs / GATHERING_WAIT_MS) * 100;\n gatheringPercentRemaining.value = percent;\n }\n\n if (++tick * tickMeasureMs >= GATHERING_WAIT_MS) {\n gatheringPercentRemaining.value = 0;\n window.clearInterval(gatheringCountdownTimer!);\n gatheringCountdownTimer = null;\n onTimeout?.();\n }\n }, tickMeasureMs);\n }\n\n function stopGatheringCountdown() {\n if (typeof gatheringCountdownTimer === 'number')\n window.clearInterval(gatheringCountdownTimer);\n\n gatheringPercentRemaining.value = 100;\n gatheringCountdownTimer = null;\n }\n\n // #endregion\n\n // #region Matching\n\n const matches = ref([]);\n let matchResetTimer: number | null = null;\n\n function startMatchIdleTimer() {\n if (matchResetTimer) clearTimeout(matchResetTimer);\n matchResetTimer = window.setTimeout(() => reset(), UI_RESET_DELAY_MS);\n }\n\n function stopMatchIdleTimer() {\n if (!matchResetTimer) return;\n window.clearTimeout(matchResetTimer);\n matchResetTimer = null;\n }\n\n // #endregion\n\n // #region Scanner Behavior\n\n const { onScan } = useScanner();\n\n const api = useAPI();\n async function checkScan(data: string[]) {\n state.value = ScanState.Validating;\n\n if (mode.value === ScanMode.Multiple) {\n if (data.length < scansRequired) {\n raiseError('Insufficient scans collected. Please try again.');\n return [];\n }\n\n if (data.length > scansRequired) {\n // Truncate the scan values to the required amount\n data.splice(scansRequired);\n }\n }\n\n try {\n const matches = await api.cases.identification.matchFieldsAsync(data);\n state.value = ScanState.Match;\n return matches;\n } catch (error) {\n raiseError('An error occurred while validating the scan.');\n return [];\n }\n }\n\n function reset() {\n state.value = ScanState.Idle;\n matches.value = [];\n scansCaptured.value.splice(0, scansCaptured.value.length);\n stopMatchIdleTimer();\n stopErrorResetTimer();\n }\n\n const unsubscribe = onScan(async (data) => {\n if ([ScanState.Error, ScanState.Match].includes(state.value)) reset();\n\n scansCaptured.value.push(data);\n\n // Deferring the scan check until the required number of scans are collected\n if (\n mode.value === ScanMode.Multiple &&\n scansCaptured.value.length < scansRequired\n ) {\n // Create a timer to update to compute the remaining gathering time left\n startGatheringCountdown(() =>\n raiseError('Scan timeout reached. Please try again.')\n );\n state.value = ScanState.Gathering;\n return;\n }\n\n stopGatheringCountdown();\n\n const scanMatches = await checkScan(scansCaptured.value);\n if (scanMatches.length) {\n matches.value = scanMatches;\n\n await nextTick();\n setupIntersectionObserver();\n\n return;\n }\n\n // Reset UI after a delay\n startMatchIdleTimer();\n });\n\n tryOnScopeDispose(() => {\n unsubscribe();\n reset();\n });\n\n // #endregion\n\n // #region Carousel Navigation\n\n const activeItem = ref(1);\n\n function updateActiveItem(entries: IntersectionObserverEntry[]) {\n entries.forEach((entry) => {\n if (entry.isIntersecting) {\n const index = Number(entry.target.getAttribute('data-index'));\n if (!isNaN(index)) {\n activeItem.value = index + 1;\n }\n }\n });\n }\n\n const observerRef = ref(null);\n\n function setupIntersectionObserver() {\n observerRef.value = new IntersectionObserver(updateActiveItem, {\n root: document.querySelector('.carousel-container'),\n threshold: 0.5, // Consider an item \"active\" when it's 50% visible\n });\n\n const carouselItems = document.querySelectorAll('.carousel-item');\n carouselItems.forEach((item, index) => {\n item.setAttribute('data-index', index.toString());\n observerRef.value?.observe(item);\n });\n }\n\n function cleanupIntersectionObserver() {\n observerRef.value?.disconnect();\n }\n\n onMounted(() => setupIntersectionObserver());\n onUnmounted(() => cleanupIntersectionObserver());\n\n function scrollCarousel(direction: 'left' | 'right') {\n const container = document.querySelector('.carousel-container');\n if (container) {\n const scrollAmount = container.clientWidth;\n container.scrollBy({\n left: direction === 'left' ? -scrollAmount : scrollAmount,\n behavior: 'smooth',\n });\n }\n }\n\n // #endregion\n\n // #region Transport\n\n const transportProvider = ref<\n InstanceType\n >();\n\n const isTransportModalActive = computed(() => {\n if (!transportProvider.value) return false;\n\n const types = [\n TransportType.CheckIn,\n TransportType.CheckOut,\n TransportType.Transfer,\n ];\n\n return types.some(\n (type) => transportProvider.value!.workflows[type].active\n );\n });\n\n const router = useRouter();\n function goToCase(id: string) {\n router.push(`/case/${id}`);\n reset();\n }\n\n // Reset scanner and request a data refresh from any features that may be paired with this module\n const module = useModule(BarcodingModule);\n function resetAndRefresh() {\n reset();\n module.requestRefresh();\n }\n\n const transportBehaviors: TransportWorkflowBehaviors = {\n onComplete: resetAndRefresh,\n identityVerified: true,\n };\n\n async function transferCase(id: string) {\n await transportProvider.value?.startWorkflow(\n TransportType.Transfer,\n id,\n transportBehaviors\n );\n }\n\n async function checkInCase(id: string) {\n await transportProvider.value?.startWorkflow(\n TransportType.CheckIn,\n id,\n transportBehaviors\n );\n }\n\n async function checkOutCase(id: string) {\n await transportProvider.value?.startWorkflow(\n TransportType.CheckOut,\n id,\n transportBehaviors\n );\n }\n\n // #endregion\n\n const emptyImageComponent = (Empty as typeof Empty & {\n PRESENTED_IMAGE_SIMPLE: Component;\n }).PRESENTED_IMAGE_SIMPLE;\n\n return {\n // Process State\n isEnabled: features.barcoding.scanning.enabled,\n mode,\n showUI,\n isIdle,\n isGathering,\n isValidating,\n isMatched,\n isError,\n error,\n zoneVariant,\n iconLeft,\n // Scan gathering\n gatheringPercentRemaining,\n scansCaptured,\n scansRequired,\n // Carousel Navigation\n scrollCarousel,\n activeItem,\n // Matching\n reset,\n matches,\n startMatchIdleTimer,\n stopMatchIdleTimer,\n MatchAction,\n // Transport\n transportProvider,\n isTransportModalActive,\n goToCase,\n transferCase,\n checkInCase,\n checkOutCase,\n // Misc.\n emptyImageComponent,\n };\n },\n});\n","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./scan-toast.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./scan-toast.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./scan-toast.vue?vue&type=template&id=3913ba98&scoped=true&\"\nimport script from \"./scan-toast.vue?vue&type=script&lang=ts&\"\nexport * from \"./scan-toast.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./scan-toast.vue?vue&type=style&index=0&id=3913ba98&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3913ba98\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isEnabled)?_c('fragment',[(_vm.showUI)?_c('div',{staticClass:\"mask\",attrs:{\"role\":\"alert\",\"aria-live\":\"polite\"}},[_c('div',{class:['island', { inactive: _vm.isTransportModalActive }]},[_c('the-scan-zone',{staticClass:\"w-[400px]\",attrs:{\"variant\":_vm.zoneVariant,\"pulse\":_vm.isGathering,\"icon-left\":_vm.iconLeft},scopedSlots:_vm._u([{key:\"default\",fn:function(){return [(_vm.isError)?_c('span',{staticClass:\"whitespace-nowrap\"},[_vm._v(_vm._s(_vm.error))]):(_vm.isGathering)?_c('span',[_c('span',{staticClass:\"absolute left-6 top-[6px] flex translate-y-1/2 items-center\"},[_c('a-progress',{attrs:{\"type\":\"circle\",\"percent\":_vm.gatheringPercentRemaining,\"width\":25,\"show-info\":false,\"stroke-width\":10,\"stroke-color\":\"#6342ff\",\"trail-color\":\"#d8d0ff\"}})],1),_vm._v(\" \"),_c('span',[_vm._v(\"Scan detected...\")]),_vm._v(\" \"),_c('span',{staticClass:\"flex items-center gap-1 text-sm\"},[_vm._v(\"\\n Collecting additional scans\\n \"),_c('scan-counter',{attrs:{\"count\":_vm.scansRequired,\"complete\":_vm.scansCaptured.length}})],1)]):(_vm.isMatched && _vm.matches.length)?_c('span',{staticClass:\"flex items-baseline gap-2\"},[_vm._v(\"\\n Positive ID\\n \"),(_vm.matches.length > 1)?_c('span',{staticClass:\"rounded-full bg-success-200 px-3 py-1 text-sm\"},[_vm._v(\"\\n \"+_vm._s(_vm.matches.length)+\" matches found\\n \")]):_vm._e()]):(_vm.isMatched && !_vm.matches.length)?_c('span',[_vm._v(\"Negative ID\")]):_c('span',[_vm._v(\"Scan detected, please wait.\")])]},proxy:true}],null,false,3577444533)}),_vm._v(\" \"),_c('wb-transition-pop',{attrs:{\"appear\":\"\"}},[(_vm.isMatched)?_c('div',{staticClass:\"expander sm:w-[400px]\"},[(_vm.matches.length)?_c('div',{staticClass:\"card flex flex-col gap-4 rounded-lg\"},[_c('div',{staticClass:\"relative flex w-full flex-col\"},[(_vm.matches.length > 1)?_c('div',{staticClass:\"carousel-nav p-4 pb-0\"},[_c('button',{staticClass:\"carousel-nav-btn\",attrs:{\"aria-label\":\"Previous case\"},on:{\"click\":function($event){return _vm.scrollCarousel('left')}}},[_c('wb-icon',{attrs:{\"name\":\"caret-left\",\"type\":\"bold\"}})],1),_vm._v(\" \"),_c('div',{staticClass:\"flex flex-col text-sm text-secondary\"},[_c('div',{staticClass:\"carousel-pager\"},_vm._l((_vm.matches.length),function(num){return _c('div',{key:num,staticClass:\"dot\",class:{ active: num === _vm.activeItem }})}),0)]),_vm._v(\" \"),_c('button',{staticClass:\"carousel-nav-btn\",attrs:{\"aria-label\":\"Next case\"},on:{\"click\":function($event){return _vm.scrollCarousel('right')}}},[_c('wb-icon',{attrs:{\"name\":\"caret-right\",\"type\":\"bold\"}})],1)]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"carousel-container\"},[_c('div',{staticClass:\"flex\"},_vm._l((_vm.matches),function(match){return _c('case-match',{key:match.id,staticClass:\"carousel-item flex-shrink-0 sm:w-[400px]\",attrs:{\"summary\":match},on:_vm._d({},[_vm.MatchAction.View,function($event){return _vm.goToCase(match.id)},_vm.MatchAction.Transfer,function($event){return _vm.transferCase(match.id)},_vm.MatchAction.CheckIn,function($event){return _vm.checkInCase(match.id)},_vm.MatchAction.CheckOut,function($event){return _vm.checkOutCase(match.id)}])})}),1)])]),_vm._v(\" \"),_c('div',{staticClass:\"p-4 pt-0\"},[_c('wb-button',{staticClass:\"w-full !p-2\",attrs:{\"variant-color\":\"neutral\"},on:{\"click\":function($event){return _vm.reset()}}},[_vm._v(\"\\n Close\\n \")])],1)]):_c('div',{staticClass:\"card flex w-full flex-col items-center rounded-lg p-4\"},[_c('a-empty',{attrs:{\"image\":_vm.emptyImageComponent,\"description\":false}}),_vm._v(\" \"),_c('span',{staticClass:\"-mt-4 font-medium text-danger-600\"},[_vm._v(\"\\n \"+_vm._s(_vm.$language.token('case', '{singular} not found.'))+\"\\n \")])],1)]):_vm._e()])],1)]):_vm._e(),_vm._v(\" \"),_c('transport-modal-provider',{ref:\"transportProvider\"})],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--3-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./the-support-button.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--3-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./the-support-button.vue?vue&type=script&lang=js&\"","\n\n\n","import { render, staticRenderFns } from \"./the-support-button.vue?vue&type=template&id=48496076&\"\nimport script from \"./the-support-button.vue?vue&type=script&lang=js&\"\nexport * from \"./the-support-button.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('button',{staticClass:\"focus:outline-none relative flex items-center justify-center gap-2 rounded-md border bg-gray-50 px-3 py-2 text-sm font-medium text-comet-500 transition-colors duration-75 ease-linear hover:bg-gray-100 focus-visible:ring focus-visible:ring-black focus-visible:ring-opacity-75\",class:{\n 'border-brand-300 bg-brand-50 !text-brand-500': _vm.isOpen,\n },attrs:{\"type\":\"button\",\"aria-haspopup\":true,\"aria-expanded\":_vm.isOpen},on:{\"click\":function($event){_vm.isOpen ? _vm.hide() : _vm.show()}}},[_c('wb-icon',{attrs:{\"name\":\"headset\",\"type\":\"bold\"}}),_vm._v(\"\\n Get Support\\n \"),(_vm.unreadCount > 0)?_c('span',{staticClass:\"absolute right-2 top-1/2 flex h-[20px] min-w-[20px] -translate-y-1/2 items-center justify-center rounded-full bg-danger-200 px-1 text-xs text-danger-500\"},[_c('span',{staticClass:\"absolute inline-flex h-full w-full animate-ping-slow rounded-full bg-danger-100 opacity-75\"}),_vm._v(\" \"),_c('span',{staticClass:\"relative inline-flex h-full w-full items-center justify-center rounded-full\"},[_vm._v(\"\\n \"+_vm._s(_vm.unreadCount)+\"\\n \")])]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../node_modules/babel-loader/lib/index.js??ref--13-0!../node_modules/ts-loader/index.js??ref--13-1!../node_modules/vue-loader/lib/index.js??vue-loader-options!../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./default.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../node_modules/babel-loader/lib/index.js??ref--13-0!../node_modules/ts-loader/index.js??ref--13-1!../node_modules/vue-loader/lib/index.js??vue-loader-options!../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./default.vue?vue&type=script&lang=ts&\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n// @ts-ignore\nimport enUSLocale from 'ant-design-vue/lib/locale-provider/en_US';\nimport {\n computed,\n defineComponent,\n ref,\n watch,\n useContext,\n useRoute,\n} from '@nuxtjs/composition-api';\nimport { useResizeObserver } from '@vueuse/core';\nimport { useModule } from '~/app/core/module-system';\nimport { ConsoleLogger } from '~/app/core/logging';\nimport { useServiceWorker } from '~/app/composables/use-service-worker';\nimport { useIntercom } from '~/app/composables/use-intercom';\nimport { useTenantConfig } from '~/app/composables/use-tenant-config';\nimport { LayoutModule } from '~mod:layout';\nimport TheAside from '~mod:layout/components/organisms/aside/the-aside.vue';\nimport TheAppUpdateAlert from '~/app/modules/layout/components/molecules/the-update-alert.vue';\nimport TheBreadCrumbs from '~/app/modules/layout/components/molecules/the-bread-crumbs.vue';\nimport TheBottomBar from '~mod:layout/components/organisms/the-bottom-bar.vue';\nimport TheWelcomeMenu from '~/app/modules/layout/components/organisms/the-welcome-menu.vue';\nimport TheBarcodeScanner from '~/app/modules/barcoding/components/organisms/scan-toast.vue';\nimport TheSupportButton from '~/app/modules/layout/components/organisms/the-support-button.vue';\nimport { useScanner } from '~/app/modules/barcoding/composables/use-scanner';\n\nexport default defineComponent({\n name: 'DefaultLayout',\n components: {\n TheAside,\n TheAppUpdateAlert,\n TheBarcodeScanner,\n TheBreadCrumbs,\n TheBottomBar,\n TheSupportButton,\n TheWelcomeMenu,\n },\n setup() {\n const { $auth, $config } = useContext();\n const version = `${$config.app.version} ${$config.app.buildNumber}`;\n\n const isAuthenticated = computed(() => $auth.isAuthenticated.value);\n\n const { needsRefresh } = useServiceWorker();\n const isUpdateAlertVisible = ref(needsRefresh.value);\n watch(needsRefresh, (refresh) => (isUpdateAlertVisible.value = refresh));\n\n const { showHeader, breadCrumbs } = useModule(LayoutModule);\n\n const isMenuCollapsed = ref(true);\n const toggleMenu = () => (isMenuCollapsed.value = !isMenuCollapsed.value);\n\n // collapse menu on navigation\n const route = useRoute();\n watch(\n () => route.value.path,\n () => {\n // reset header state on route change\n showHeader.value = true;\n // collapse menu on navigation\n if (isMenuCollapsed.value) return;\n isMenuCollapsed.value = true;\n }\n );\n\n // Compute aside width style variable based on its content\n const aside = ref();\n const asideWidth = ref(250);\n useResizeObserver(aside, ([{ target }]) => {\n asideWidth.value = target.clientWidth;\n });\n\n const { features } = useTenantConfig();\n const isBarcodingEnabled = features.barcoding.scanning.enabled;\n const { isListening: isScannerListening } = useScanner({\n startImmediate: isBarcodingEnabled,\n });\n\n const intercom = useIntercom();\n\n return {\n isAuthenticated,\n version,\n locale: enUSLocale,\n isUpdateAlertVisible,\n showHeader,\n isMenuCollapsed,\n toggleMenu,\n breadCrumbParts: breadCrumbs.parts,\n aside,\n asideWidth,\n isBarcodingEnabled,\n isScannerListening,\n intercom,\n };\n },\n errorCaptured: (err, vm, info) => {\n try {\n vm.$log.error(\n err,\n {\n componentName: vm.$options.name!,\n info,\n },\n { ui: true }\n );\n } finally {\n const hasConsoleLogger = vm.$log.getLogger(ConsoleLogger);\n !hasConsoleLogger && console.error(err);\n }\n\n return false;\n },\n});\n","import { render, staticRenderFns } from \"./default.vue?vue&type=template&id=3c3f4e08&scoped=true&\"\nimport script from \"./default.vue?vue&type=script&lang=ts&\"\nexport * from \"./default.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./default.vue?vue&type=style&index=0&id=3c3f4e08&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3c3f4e08\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a-config-provider',{attrs:{\"locale\":_vm.locale}},[_c('div',{staticClass:\"layout-container flex h-full\",style:((\"--aside-w: \" + _vm.asideWidth + \"px\"))},[_c('div',{ref:\"aside\",attrs:{\"id\":\"aside\"}},[_c('the-aside',{class:{ collapsed: _vm.isMenuCollapsed }}),_vm._v(\" \"),_c('div',{attrs:{\"id\":\"widget-stack\"}},[_c('wb-transition-roll-in-up-out-down',{attrs:{\"mode\":\"out-in\",\"appear\":\"\"}},[(_vm.isBarcodingEnabled && !_vm.isScannerListening)?_c('div',{attrs:{\"id\":\"scanner-status\"}},[_c('wb-alert',{staticClass:\"w-full\",attrs:{\"message\":\"Scanner Paused\",\"type\":\"warning\",\"icon\":\"barcode\",\"ping\":\"\"}})],1):_vm._e()]),_vm._v(\" \"),(_vm.intercom.enabled)?_c('the-support-button'):_vm._e(),_vm._v(\" \"),_c('div',{attrs:{\"id\":\"app-version\"}},[_vm._v(\"v\"+_vm._s(_vm.version))])],1)],1),_vm._v(\" \"),_c('a-layout',{attrs:{\"id\":\"main\"}},[(_vm.showHeader)?_c('header',{attrs:{\"id\":\"header\"}},[_c('div',{staticClass:\"w-full border-b border-comet-100 pb-2 text-center sm:hidden\",class:[_vm.$route.path === '/' ? 'inline' : 'hidden', 'sm:hidden']},[_c('wb-logo-text')],1),_vm._v(\" \"),_c('the-bread-crumbs',{class:[{ '!hidden': _vm.$route.path === '/' }, 'sm:!flex'],attrs:{\"id\":\"bread-crumbs\",\"path\":_vm.breadCrumbParts,\"current\":_vm.$route},on:{\"back\":function($event){return _vm.$router.back()}}}),_vm._v(\" \"),_c('div',{staticClass:\"flex-grow\"}),_vm._v(\" \"),(_vm.isAuthenticated)?_c('the-welcome-menu',{attrs:{\"id\":\"welcome-menu\"}}):_vm._e()],1):_vm._e(),_vm._v(\" \"),_c('a-layout-content',{attrs:{\"id\":\"main-content\"}},[_c('nuxt')],1),_vm._v(\" \"),_c('the-bottom-bar',{attrs:{\"id\":\"bottom-bar\"}})],1),_vm._v(\" \"),_c('the-app-update-alert',{attrs:{\"visible\":_vm.isUpdateAlertVisible},on:{\"update:visible\":function($event){_vm.isUpdateAlertVisible=$event}}}),_vm._v(\" \"),(_vm.isBarcodingEnabled)?_c('the-barcode-scanner'):_vm._e()],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../node_modules/babel-loader/lib/index.js??ref--13-0!../node_modules/ts-loader/index.js??ref--13-1!../node_modules/vue-loader/lib/index.js??vue-loader-options!../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./empty.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../node_modules/babel-loader/lib/index.js??ref--13-0!../node_modules/ts-loader/index.js??ref--13-1!../node_modules/vue-loader/lib/index.js??vue-loader-options!../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./empty.vue?vue&type=script&lang=ts&\"","\n\n\n\n\n\n\n// @ts-ignore\nimport enUSLocale from 'ant-design-vue/lib/locale-provider/en_US';\nimport {\n computed,\n defineComponent,\n ref,\n watch,\n useContext,\n} from '@nuxtjs/composition-api';\nimport { ConsoleLogger } from '~/app/core/logging';\nimport { useServiceWorker } from '~/app/composables/use-service-worker';\n\nexport default defineComponent({\n name: 'EmptyLayout',\n setup() {\n const { $auth, $config } = useContext();\n const version = `${$config.app.version} ${$config.app.buildNumber}`;\n\n const isAuthenticated = computed(() => $auth.isAuthenticated.value);\n\n const { needsRefresh } = useServiceWorker();\n const isUpdateAlertVisible = ref(needsRefresh.value);\n watch(needsRefresh, (refresh) => (isUpdateAlertVisible.value = refresh));\n\n const locale = enUSLocale;\n\n return {\n isAuthenticated,\n version,\n locale,\n isUpdateAlertVisible,\n };\n },\n errorCaptured: (err, vm, info) => {\n try {\n vm.$log.error(\n err,\n {\n componentName: vm.$options.name!,\n info,\n },\n { ui: true }\n );\n } finally {\n const hasConsoleLogger = vm.$log.getLogger(ConsoleLogger);\n !hasConsoleLogger && console.error(err);\n }\n\n return false;\n },\n});\n","import { render, staticRenderFns } from \"./empty.vue?vue&type=template&id=786991f0&\"\nimport script from \"./empty.vue?vue&type=script&lang=ts&\"\nexport * from \"./empty.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('nuxt')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../node_modules/babel-loader/lib/index.js??ref--13-0!../node_modules/ts-loader/index.js??ref--13-1!../node_modules/vue-loader/lib/index.js??vue-loader-options!../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./registration.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../node_modules/babel-loader/lib/index.js??ref--13-0!../node_modules/ts-loader/index.js??ref--13-1!../node_modules/vue-loader/lib/index.js??vue-loader-options!../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./registration.vue?vue&type=script&lang=ts&\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n// @ts-ignore\nimport enUSLocale from 'ant-design-vue/lib/locale-provider/en_US';\nimport { defineComponent, ref, watch } from '@nuxtjs/composition-api';\nimport { ConsoleLogger } from '~/app/core/logging';\nimport { useServiceWorker } from '~/app/composables/use-service-worker';\nimport TheAppUpdateAlert from '~/app/modules/layout/components/molecules/the-update-alert.vue';\n\nexport default defineComponent({\n name: 'DefaultLayout',\n components: {\n TheAppUpdateAlert,\n },\n setup() {\n const { needsRefresh } = useServiceWorker();\n const isUpdateAlertVisible = ref(needsRefresh.value);\n watch(needsRefresh, (refresh) => (isUpdateAlertVisible.value = refresh));\n\n const locale = enUSLocale;\n\n return {\n locale,\n isUpdateAlertVisible,\n };\n },\n errorCaptured: (err, vm, info) => {\n try {\n vm.$log.error(\n err,\n {\n componentName: vm.$options.name!,\n info,\n },\n { ui: true }\n );\n } finally {\n const hasConsoleLogger = vm.$log.getLogger(ConsoleLogger);\n !hasConsoleLogger && console.error(err);\n }\n\n return false;\n },\n});\n","import { render, staticRenderFns } from \"./registration.vue?vue&type=template&id=caff29cc&scoped=true&\"\nimport script from \"./registration.vue?vue&type=script&lang=ts&\"\nexport * from \"./registration.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./registration.vue?vue&type=style&index=0&id=caff29cc&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"caff29cc\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a-config-provider',{attrs:{\"locale\":_vm.locale}},[_c('div',{staticClass:\"layout-container flex h-full\"},[_c('a-layout',{attrs:{\"id\":\"main\"}},[_c('a-layout-header',{attrs:{\"id\":\"header\"}},[_c('div',{staticClass:\"m-auto flex items-center\"},[_c('img',{staticClass:\"h-[25px]\",attrs:{\"src\":require(\"assets/images/morgueboard-logo.svg\"),\"alt\":\"MorgueBoard Logo\"}}),_vm._v(\" \"),_c('span',{staticClass:\"ml-2 text-xl font-semibold text-primary\"},[_vm._v(\"MorgueBoard®\")])])]),_vm._v(\" \"),_c('a-layout-content',{attrs:{\"id\":\"main-content\"}},[_c('nuxt')],1)],1),_vm._v(\" \"),_c('the-app-update-alert',{attrs:{\"visible\":_vm.isUpdateAlertVisible},on:{\"update:visible\":function($event){_vm.isUpdateAlertVisible=$event}}})],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import Vue from 'vue'\nimport { decode, parsePath, withoutBase, withoutTrailingSlash, normalizeURL } from 'ufo'\n\nimport { getMatchedComponentsInstances, getChildrenComponentInstancesUsingFetch, promisify, globalHandleError, urlJoin, sanitizeComponent } from './utils'\nimport NuxtError from '../layouts/error.vue'\nimport NuxtLoading from './components/nuxt-loading.vue'\n\nimport '../assets/scss/tailwind/tailwind.scss'\n\nimport '../assets/less/antd-ui.less'\n\nimport '../assets/scss/main.scss'\n\nimport '../assets/scss/fonts.scss'\n\nimport '../assets/scss/antd-theme.scss'\n\nimport _6f6c098b from '../layouts/default.vue'\nimport _77430317 from '../layouts/empty.vue'\nimport _789a33af from '../layouts/registration.vue'\n\nconst layouts = { \"_default\": sanitizeComponent(_6f6c098b),\"_empty\": sanitizeComponent(_77430317),\"_registration\": sanitizeComponent(_789a33af) }\n\nexport default {\n render (h, props) {\n const loadingEl = h('NuxtLoading', { ref: 'loading' })\n\n const layoutEl = h(this.layout || 'nuxt')\n const templateEl = h('div', {\n domProps: {\n id: '__layout'\n },\n key: this.layoutName\n }, [layoutEl])\n\n const transitionEl = h('transition', {\n props: {\n name: 'layout',\n mode: 'out-in'\n },\n on: {\n beforeEnter (el) {\n // Ensure to trigger scroll event after calling scrollBehavior\n window.$nuxt.$nextTick(() => {\n window.$nuxt.$emit('triggerScroll')\n })\n }\n }\n }, [templateEl])\n\n return h('div', {\n domProps: {\n id: '__nuxt'\n }\n }, [\n loadingEl,\n\n transitionEl\n ])\n },\n\n data: () => ({\n isOnline: true,\n\n layout: null,\n layoutName: '',\n\n nbFetching: 0\n }),\n\n beforeCreate () {\n Vue.util.defineReactive(this, 'nuxt', this.$options.nuxt)\n },\n created () {\n // Add this.$nuxt in child instances\n this.$root.$options.$nuxt = this\n\n if (process.client) {\n // add to window so we can listen when ready\n window.$nuxt = this\n\n this.refreshOnlineStatus()\n // Setup the listeners\n window.addEventListener('online', this.refreshOnlineStatus)\n window.addEventListener('offline', this.refreshOnlineStatus)\n }\n // Add $nuxt.error()\n this.error = this.nuxt.error\n // Add $nuxt.context\n this.context = this.$options.context\n },\n\n async mounted () {\n this.$loading = this.$refs.loading\n },\n\n watch: {\n 'nuxt.err': 'errorChanged'\n },\n\n computed: {\n isOffline () {\n return !this.isOnline\n },\n\n isFetching () {\n return this.nbFetching > 0\n },\n\n isPreview () {\n return Boolean(this.$options.previewData)\n },\n },\n\n methods: {\n refreshOnlineStatus () {\n if (process.client) {\n if (typeof window.navigator.onLine === 'undefined') {\n // If the browser doesn't support connection status reports\n // assume that we are online because most apps' only react\n // when they now that the connection has been interrupted\n this.isOnline = true\n } else {\n this.isOnline = window.navigator.onLine\n }\n }\n },\n\n async refresh () {\n const pages = getMatchedComponentsInstances(this.$route)\n\n if (!pages.length) {\n return\n }\n this.$loading.start()\n\n const promises = pages.map((page) => {\n const p = []\n\n // Old fetch\n if (page.$options.fetch && page.$options.fetch.length) {\n p.push(promisify(page.$options.fetch, this.context))\n }\n if (page.$fetch) {\n p.push(page.$fetch())\n } else {\n // Get all component instance to call $fetch\n for (const component of getChildrenComponentInstancesUsingFetch(page.$vnode.componentInstance)) {\n p.push(component.$fetch())\n }\n }\n\n if (page.$options.asyncData) {\n p.push(\n promisify(page.$options.asyncData, this.context)\n .then((newData) => {\n for (const key in newData) {\n Vue.set(page.$data, key, newData[key])\n }\n })\n )\n }\n\n return Promise.all(p)\n })\n try {\n await Promise.all(promises)\n } catch (error) {\n this.$loading.fail(error)\n globalHandleError(error)\n this.error(error)\n }\n this.$loading.finish()\n },\n errorChanged () {\n if (this.nuxt.err) {\n if (this.$loading) {\n if (this.$loading.fail) {\n this.$loading.fail(this.nuxt.err)\n }\n if (this.$loading.finish) {\n this.$loading.finish()\n }\n }\n\n let errorLayout = (NuxtError.options || NuxtError).layout;\n\n if (typeof errorLayout === 'function') {\n errorLayout = errorLayout(this.context)\n }\n\n this.setLayout(errorLayout)\n }\n },\n\n setLayout (layout) {\n if (!layout || !layouts['_' + layout]) {\n layout = 'default'\n }\n this.layoutName = layout\n this.layout = layouts['_' + layout]\n return this.layout\n },\n loadLayout (layout) {\n if (!layout || !layouts['_' + layout]) {\n layout = 'default'\n }\n return Promise.resolve(layouts['_' + layout])\n },\n },\n\n components: {\n NuxtLoading\n }\n}\n","import Vue from 'vue'\nimport Vuex from 'vuex'\n\nVue.use(Vuex)\n\nconst VUEX_PROPERTIES = ['state', 'getters', 'actions', 'mutations']\n\nlet store = {};\n\n(function updateModules () {\n store = normalizeRoot(require('../store/index.ts'), 'store/index.ts')\n\n // If store is an exported method = classic mode (deprecated)\n\n // Enforce store modules\n store.modules = store.modules || {}\n\n resolveStoreModules(require('../store/tenant/index.ts'), 'tenant/index.ts')\n resolveStoreModules(require('../store/dictionaries/index.ts'), 'dictionaries/index.ts')\n resolveStoreModules(require('../store/access/index.ts'), 'access/index.ts')\n resolveStoreModules(require('../store/access/actions.ts'), 'access/actions.ts')\n resolveStoreModules(require('../store/access/mutations.ts'), 'access/mutations.ts')\n resolveStoreModules(require('../store/access/state.ts'), 'access/state.ts')\n resolveStoreModules(require('../store/dictionaries/actions.ts'), 'dictionaries/actions.ts')\n resolveStoreModules(require('../store/dictionaries/mutations.ts'), 'dictionaries/mutations.ts')\n resolveStoreModules(require('../store/dictionaries/state.ts'), 'dictionaries/state.ts')\n resolveStoreModules(require('../store/tenant/actions.ts'), 'tenant/actions.ts')\n resolveStoreModules(require('../store/tenant/mutations.ts'), 'tenant/mutations.ts')\n resolveStoreModules(require('../store/tenant/state.ts'), 'tenant/state.ts')\n\n // If the environment supports hot reloading...\n})()\n\n// createStore\nexport const createStore = store instanceof Function ? store : () => {\n return new Vuex.Store(Object.assign({\n strict: (process.env.NODE_ENV !== 'production')\n }, store))\n}\n\nfunction normalizeRoot (moduleData, filePath) {\n moduleData = moduleData.default || moduleData\n\n if (moduleData.commit) {\n throw new Error(`[nuxt] ${filePath} should export a method that returns a Vuex instance.`)\n }\n\n if (typeof moduleData !== 'function') {\n // Avoid TypeError: setting a property that has only a getter when overwriting top level keys\n moduleData = Object.assign({}, moduleData)\n }\n return normalizeModule(moduleData, filePath)\n}\n\nfunction normalizeModule (moduleData, filePath) {\n if (moduleData.state && typeof moduleData.state !== 'function') {\n console.warn(`'state' should be a method that returns an object in ${filePath}`)\n\n const state = Object.assign({}, moduleData.state)\n // Avoid TypeError: setting a property that has only a getter when overwriting top level keys\n moduleData = Object.assign({}, moduleData, { state: () => state })\n }\n return moduleData\n}\n\nfunction resolveStoreModules (moduleData, filename) {\n moduleData = moduleData.default || moduleData\n // Remove store src + extension (./foo/index.js -> foo/index)\n const namespace = filename.replace(/\\.(js|mjs|ts)$/, '')\n const namespaces = namespace.split('/')\n let moduleName = namespaces[namespaces.length - 1]\n const filePath = `store/${filename}`\n\n moduleData = moduleName === 'state'\n ? normalizeState(moduleData, filePath)\n : normalizeModule(moduleData, filePath)\n\n // If src is a known Vuex property\n if (VUEX_PROPERTIES.includes(moduleName)) {\n const property = moduleName\n const propertyStoreModule = getStoreModule(store, namespaces, { isProperty: true })\n\n // Replace state since it's a function\n mergeProperty(propertyStoreModule, moduleData, property)\n return\n }\n\n // If file is foo/index.js, it should be saved as foo\n const isIndexModule = (moduleName === 'index')\n if (isIndexModule) {\n namespaces.pop()\n moduleName = namespaces[namespaces.length - 1]\n }\n\n const storeModule = getStoreModule(store, namespaces)\n\n for (const property of VUEX_PROPERTIES) {\n mergeProperty(storeModule, moduleData[property], property)\n }\n\n if (moduleData.namespaced === false) {\n delete storeModule.namespaced\n }\n}\n\nfunction normalizeState (moduleData, filePath) {\n if (typeof moduleData !== 'function') {\n console.warn(`${filePath} should export a method that returns an object`)\n const state = Object.assign({}, moduleData)\n return () => state\n }\n return normalizeModule(moduleData, filePath)\n}\n\nfunction getStoreModule (storeModule, namespaces, { isProperty = false } = {}) {\n // If ./mutations.js\n if (!namespaces.length || (isProperty && namespaces.length === 1)) {\n return storeModule\n }\n\n const namespace = namespaces.shift()\n\n storeModule.modules[namespace] = storeModule.modules[namespace] || {}\n storeModule.modules[namespace].namespaced = true\n storeModule.modules[namespace].modules = storeModule.modules[namespace].modules || {}\n\n return getStoreModule(storeModule.modules[namespace], namespaces, { isProperty })\n}\n\nfunction mergeProperty (storeModule, moduleData, property) {\n if (!moduleData) {\n return\n }\n\n if (property === 'state') {\n storeModule.state = moduleData || storeModule.state\n } else {\n storeModule[property] = Object.assign({}, storeModule[property], moduleData)\n }\n}\n","import { globalPlugin } from '@nuxtjs/composition-api'\n\nexport default globalPlugin\n","// taken from bugsnag sources\nconst formatComponentName = (vm, includeFile) => {\n if (vm.$root === vm) { return '' }\n const options = typeof vm === 'function' && vm.cid != null\n ? vm.options\n : vm._isVue\n ? vm.$options || vm.constructor.options\n : vm || {}\n let name = options.name || options._componentTag\n const file = options.__file\n if (!name && file) {\n const match = file.match(/([^/\\\\]+)\\.vue$/)\n name = match && match[1]\n }\n\n return (\n (name ? ('<' + (classify(name)) + '>') : '') +\n (file && includeFile !== false ? (' at ' + file) : '')\n )\n}\n\nconst classify = str =>\n str.replace(/(?:^|[-_])(\\w)/g, c => c.toUpperCase()).replace(/[-_]/g, '')\n\nexport const setupVueErrorHandling = (vm, appInsights) => {\n const oldErrorHandler = vm.config.errorHandler\n\n vm.config.errorHandler = (err, vm, info) => {\n appInsights.trackException(\n {\n exception: err,\n properties: {\n errorInfo: info,\n component: vm ? formatComponentName(vm, true) : undefined,\n props: vm ? vm.$options.propsData : undefined\n }\n })\n appInsights.flush()\n if (typeof oldErrorHandler === 'function') {\n oldErrorHandler.call(vm, err, vm, info)\n }\n }\n}\n\nexport const setupPageTracking = (router, appInsights) => {\n router.beforeEach((route, from, next) => {\n appInsights.startTrackPage(route.name)\n next()\n })\n\n router.afterEach((route) => {\n appInsights.stopTrackPage(route.name)\n })\n}\n","import { ApplicationInsights } from '@microsoft/applicationinsights-web'\nimport { setupVueErrorHandling, setupPageTracking } from './appinsights-vue'\nimport Vue from 'vue'\n\nexport default function (ctx, inject) {\n const config = {\"instrumentationKey\":\"e1219e21-addd-4e84-98f3-e743add4b7fb\"}\n // runtimeConfig\n const runtimeConfig = ctx.$config && ctx.$config.appInsights || {}\n\n const appInsights = new ApplicationInsights({\n config: {...config, ...runtimeConfig}\n })\n\n inject('appInsights', appInsights)\n\n // Initialize appInsights\n\n // Initialize appInsights\n\n appInsights.loadAppInsights()\n setupVueErrorHandling(Vue, appInsights)\n\n setupPageTracking(ctx.app.router, appInsights)\n}\n","import defu from 'defu'\nimport destr from 'destr'\nimport KY from 'ky'\n\nclass HTTP {\n constructor(defaults, ky = KY) {\n this._defaults = {\n hooks: {},\n ...defaults\n }\n\n this._ky = ky\n }\n\n getBaseURL () {\n return this._defaults.prefixUrl\n }\n\n setBaseURL (baseURL) {\n this._defaults.prefixUrl = baseURL\n }\n\n setHeader(name, value) {\n if (!value) {\n delete this._defaults.headers[name];\n } else {\n this._defaults.headers[name] = value\n }\n }\n\n setToken(token, type) {\n const value = !token ? null : (type ? type + ' ' : '') + token\n this.setHeader('Authorization', value)\n }\n\n _hook(name, fn) {\n if (!this._defaults.hooks[name]) {\n this._defaults.hooks[name] = []\n }\n this._defaults.hooks[name].push(fn)\n }\n\n onRequest(fn) {\n this._hook('beforeRequest', fn)\n }\n\n onRetry(fn) {\n this._hook('beforeRetry', fn)\n }\n\n onResponse(fn) {\n this._hook('afterResponse', fn)\n }\n\n onError(fn) {\n this._hook('onError', fn)\n }\n\n create(options) {\n const { retry, timeout, prefixUrl, headers } = this._defaults\n\n return createHttpInstance(defu(options, { retry, timeout, prefixUrl, headers }))\n }\n}\n\nfor (let method of ['get', 'head', 'delete', 'post', 'put', 'patch']) {\n const hasBody = ['post', 'put', 'patch'].includes(method)\n\n HTTP.prototype[method] = async function (url, arg1, arg2) {\n let options\n\n if (!hasBody) {\n options = arg1\n } else {\n options = arg2 || {}\n if (arg1 !== undefined) {\n if (arg1.constructor === Object || Array.isArray(arg1)) {\n options.json = arg1\n } else {\n options.body = arg1\n }\n }\n }\n\n const _options = { ...this._defaults, ...options }\n\n if (/^https?/.test(url)) {\n delete _options.prefixUrl\n } else if (_options.prefixUrl && typeof url === 'string' && url.startsWith('/')) {\n // Prevents `ky` from throwing \"`input` must not begin with a slash when using `prefixUrl`\"\n url = url.substr(1)\n }\n\n try {\n const response = await this._ky[method](url, _options)\n return response\n } catch (error) {\n // Try to fill error with useful data\n if (error.response) {\n error.statusCode = error.response.status\n try {\n const text = await error.response.text()\n error.response.text = () => Promise.resolve(text)\n const json = destr(text)\n error.response.json = () => Promise.resolve(json)\n error.response.data = json\n } catch (_) { }\n }\n\n // Call onError hook\n if (_options.hooks.onError) {\n for (const fn of _options.hooks.onError) {\n const res = fn(error)\n if (res !== undefined) {\n return res\n }\n }\n }\n\n // Throw error\n throw error\n }\n }\n\n HTTP.prototype['$' + method] = function (url, arg1, arg2) {\n return this[method](url, arg1, arg2)\n .then(response => (response && response.text) ? response.text() : response)\n .then(body => destr(body))\n }\n}\n\nconst createHttpInstance = options => {\n // Create new HTTP instance\n const http = new HTTP(options)\n\n // Setup interceptors\n\n return http\n}\n\nexport default (ctx, inject) => {\n // runtimeConfig\n const runtimeConfig = ctx.$config && ctx.$config.http || {}\n\n // prefixUrl\n const prefixUrl = process.browser\n ? (runtimeConfig.browserBaseURL || 'https://prod.bff.morgueboard.services/')\n : (runtimeConfig.baseURL || process.env._HTTP_BASE_URL_ || 'https://prod.bff.morgueboard.services/')\n\n const headers = {}\n\n // Defaults\n const defaults = {\n retry: 0,\n timeout: process.server ? false : false,\n prefixUrl,\n headers\n }\n\n // Proxy SSR request headers headers\n if (process.server && ctx.req && ctx.req.headers) {\n const reqHeaders = { ...ctx.req.headers }\n for (let h of [\"accept\",\"host\",\"cf-ray\",\"cf-connecting-ip\",\"content-length\",\"content-md5\",\"content-type\"]) {\n delete reqHeaders[h]\n }\n defaults.headers = { ...reqHeaders, ...defaults.headers }\n }\n\n if (process.server) {\n // Don't accept brotli encoding because Node can't parse it\n defaults.headers['accept-encoding'] = 'gzip, deflate'\n }\n\n const http = createHttpInstance(defaults)\n\n // Inject http to the context as $http\n ctx.$http = http\n inject('http', http)\n}\n","export function mergeMeta (to, from) {\n if (typeof to === 'function') {\n // eslint-disable-next-line no-console\n console.warn('Cannot merge meta. Avoid using head as a function!')\n return\n }\n\n for (const key in from) {\n const value = from[key]\n if (Array.isArray(value)) {\n to[key] = to[key] || []\n for (const item of value) {\n // Avoid duplicates\n if (\n (item.hid && hasMeta(to[key], 'hid', item.hid)) ||\n (item.name && hasMeta(to[key], 'name', item.name))\n ) {\n continue\n }\n // Add meta\n to[key].push(item)\n }\n } else if (typeof value === 'object') {\n to[key] = to[key] || {}\n for (const attr in value) {\n to[key][attr] = value[attr]\n }\n } else if (to[key] === undefined) {\n to[key] = value\n }\n }\n}\n\nfunction hasMeta (arr, key, val) {\n return arr.find(obj => val ? obj[key] === val : obj[key])\n}\n","import { mergeMeta } from './meta.utils'\nimport meta from './meta.json'\n\nexport default function ({ app }) {\n mergeMeta(app.head, meta)\n}\n","import { defineNuxtPlugin } from '@nuxtjs/composition-api';\nimport consola from 'consola';\n\nexport default defineNuxtPlugin(({ $config }) =>\n consola.info(\n `MorgueBoard® v${$config.app.version} ${$config.app.buildNumber}`\n )\n);\n","import { defineNuxtPlugin } from '@nuxtjs/composition-api';\nimport { registerServiceWorker } from '~/app/composables/use-service-worker';\n\nexport default defineNuxtPlugin(async () => {\n await registerServiceWorker({\n onNeedsRefresh() {\n console.debug('There is an update for the PWA, please reload.');\n },\n });\n});\n","import { NuxtHTTPInstance } from '@nuxt/http';\n// eslint-disable-next-line import/named\nimport ky, { BeforeRequestHook, BeforeRetryHook, Options } from 'ky';\n\nexport interface IApiClientRequest {\n params?: { [key: string]: string };\n options?: Omit;\n}\n\nexport type HTTPError = ky.HTTPError;\n\ntype RequestMethod = Uppercase<\n keyof Pick<\n NuxtHTTPInstance,\n 'get' | 'post' | 'put' | 'patch' | 'head' | 'delete'\n >\n>;\n\nexport class ApiClient {\n constructor(private readonly client: NuxtHTTPInstance) {\n client.setHeader('Content-Type', 'application/json');\n }\n\n public async requestAsync(\n endpoint: string,\n request: { method: RequestMethod } & IApiClientRequest\n ): Promise {\n const url = this.buildURLWithQueryParameters(endpoint, request?.params);\n const method = request.method.toLowerCase() as Lowercase;\n const response = await this.client[method](url);\n return response;\n }\n\n public async getAsync(\n endpoint: string,\n request?: IApiClientRequest\n ): Promise {\n const url = this.buildURLWithQueryParameters(endpoint, request?.params);\n const data = await this.client.$get(url, request?.options);\n return data;\n }\n\n public async $getAsync(\n endpoint: string,\n request?: IApiClientRequest\n ): Promise {\n const url = this.buildURLWithQueryParameters(endpoint, request?.params);\n const response = await this.client.get(url, request?.options);\n return response;\n }\n\n public async deleteAsync(\n endpoint: string,\n body?: TBody,\n request?: IApiClientRequest\n ): Promise {\n const url = this.buildURLWithQueryParameters(endpoint, request?.params);\n const response = await this.client.delete(url, {\n ...(request?.options || {}),\n json: body,\n });\n\n const text = await response.text();\n return (text ? JSON.parse(text) : null) as TReturn;\n }\n\n public async postAsync(\n endpoint: string,\n body?: TBody,\n request?: IApiClientRequest\n ): Promise {\n const url = this.buildURLWithQueryParameters(endpoint, request?.params);\n\n const data = await this.client.$post(\n url,\n this.serializeRequestBody(body),\n request?.options\n );\n return data;\n }\n\n public async $postAsync(\n endpoint: string,\n body?: any,\n request?: IApiClientRequest\n ): Promise {\n const url = this.buildURLWithQueryParameters(endpoint, request?.params);\n\n const response = await this.client.post(\n url,\n this.serializeRequestBody(body),\n request?.options\n );\n\n return response;\n }\n\n public async putAsync(\n endpoint: string,\n body?: TBody,\n request?: IApiClientRequest\n ): Promise {\n const url = this.buildURLWithQueryParameters(endpoint, request?.params);\n const data = await this.client.$put(\n url,\n this.serializeRequestBody(body),\n request?.options\n );\n return data;\n }\n\n public async $putAsync(\n endpoint: string,\n body?: any,\n request?: IApiClientRequest\n ): Promise {\n const url = this.buildURLWithQueryParameters(endpoint, request?.params);\n const response = await this.client.put(\n url,\n this.serializeRequestBody(body),\n request?.options\n );\n return response;\n }\n\n public setHeaders(headers: {\n [key: string]: string | number | Date | Boolean;\n }) {\n Object.entries(headers).forEach(([name, value]) => {\n this.client.setHeader(\n name,\n [null, undefined].includes(value as any) ? false : value.toString()\n );\n });\n }\n\n public getHeaders() {\n return this.getDefaults().headers;\n }\n\n private getDefaults() {\n return (this.client as any)._defaults as {\n headers: Record;\n hooks: {\n beforeRequest?: BeforeRequestHook[];\n beforeRetry?: BeforeRetryHook[];\n };\n prefixUrl: string;\n retry: number;\n timeout: boolean;\n };\n }\n\n private serializeRequestBody(body: any) {\n if (typeof body === 'string') {\n return body;\n }\n\n if (body instanceof FormData) {\n return body;\n }\n\n if (typeof body === 'object') {\n return JSON.stringify(body);\n }\n\n return body?.toString();\n }\n\n private buildURLWithQueryParameters(\n endpoint: string,\n params?: { [key: string]: string }\n ): string {\n let url = this.trimURLBackSlashes(endpoint);\n\n const isNil = (value: any) => [undefined, null].includes(value);\n\n if (params) {\n url += '?';\n Object.entries(params).forEach(([key, value], index, arr) => {\n const isLastElement = index === arr.length - 1;\n\n if (isNil(value)) return;\n\n url += encodeURIComponent(key) + '=' + encodeURIComponent(value);\n !isLastElement && (url += '&');\n });\n }\n\n return url.replace(/&\\s*$/, '').trim(); // trim any trailing '&'\n }\n\n private trimURLBackSlashes(url: string) {\n return url.replace(/^\\/|\\/$/g, '').trim();\n }\n}\n\nexport type GetTokenFunc = () =>\n | string\n | undefined\n | Promise;\n\nexport function createApiClient(\n api: NuxtHTTPInstance,\n apiOptions?: {\n getToken?: GetTokenFunc;\n refreshOnUnauthorized?: boolean;\n }\n) {\n const appendAuthToken: BeforeRequestHook = async (request, _options) => {\n if (!apiOptions?.getToken) return request;\n\n const token = await Promise.resolve(apiOptions.getToken());\n\n if (token) request.headers.set('Authorization', `Bearer ${token}`);\n\n return request;\n };\n\n const tryRefreshToken: BeforeRetryHook = async (options) => {\n if (\n apiOptions?.getToken &&\n options.retryCount === 1 &&\n options.response.status === 401 &&\n apiOptions?.refreshOnUnauthorized\n ) {\n // Attempt to refresh auth token\n const token = await Promise.resolve(apiOptions.getToken());\n\n if (token)\n options.request.headers.set('Authorization', `Bearer ${token}`);\n }\n };\n\n if (apiOptions?.getToken) {\n api.onRequest(appendAuthToken);\n apiOptions?.refreshOnUnauthorized && api.onRetry(tryRefreshToken);\n }\n\n return new ApiClient(api);\n}\n","export enum AuthEvent {\n Login = 'mb.auth.login',\n Logout = 'mb.auth.logout',\n InvitationAccepted = 'mb.auth.invitationAccepted',\n TokenRefresh = 'mb.auth.tokenRefresh',\n FetchUser = 'mb.auth.fetchUser',\n}\n","import { defineNuxtPlugin } from '@nuxtjs/composition-api';\nimport { registerAPI } from '~/app/core/api';\nimport { createApiClient } from '~/app/core/api/client';\nimport { tenantDiscoveryApiFactory } from '~/app/core/api/factory';\n\nexport default defineNuxtPlugin(({ $http, $config }, inject) => {\n if (!$config.api.tenant.baseUrl)\n throw new Error('Nuxt config \"api.tenant.baseUrl\" does not exist.');\n\n if (!$config.api.tenant.headers?.functionKey?.name)\n throw new Error(\n 'Nuxt config \"api.tenant.headers.functionKey.name\" does not exist.'\n );\n\n if (!$config.api.tenant.headers?.functionKey?.value)\n throw new Error(\n 'Nuxt config \"api.tenant.headers.functionKey.value\" does not exist.'\n );\n\n const http = $http.create({ prefixUrl: $config.api.tenant.baseUrl });\n const client = createApiClient(http);\n client.setHeaders({\n 'Content-Type': 'application/json',\n 'x-app-client-version': $config.app.version,\n 'x-app-client-build': !$config.app.buildNumber,\n });\n\n const api = tenantDiscoveryApiFactory(client, $config);\n registerAPI(api, 'tenant');\n\n inject('tenantApi', api);\n});\n","import Vue from 'vue';\nimport { AuthEvent } from './events';\n\nexport class AuthEventBus {\n private readonly bus: Vue;\n\n constructor(emitter: Vue) {\n this.bus = emitter;\n }\n\n public on(event: AuthEvent, callback: Function) {\n this.bus.$on(event, callback);\n }\n\n public once(event: AuthEvent, callback: Function) {\n this.bus.$once(event, callback);\n }\n\n public off(event?: AuthEvent, callback?: Function) {\n this.bus.$off(event, callback);\n }\n}\n","export class AuthTaskQueueEntry {\n public readonly callback: (...args: any[]) => any;\n public readonly args: any[];\n\n constructor(callback: (...args: any[]) => any, ...args: any[]) {\n this.callback = callback;\n this.args = args;\n }\n}\n\nexport type AuthTaskQueueDeferralController = {\n processQueue: Function;\n dumpQueueEvents: Function;\n};\n\nexport class AuthTaskQueue {\n private events: AuthTaskQueueEntry[];\n private dispatchEvents?: Function;\n private deferralTask?: Promise;\n private isProcessing = false;\n private hasProcessed = false;\n private _priority = 3;\n\n constructor(events: AuthTaskQueueEntry[]) {\n this.events = events || [];\n }\n\n public get priority() {\n return this._priority;\n }\n\n public get isDeferred() {\n return !!this.deferralTask;\n }\n\n public get deferral() {\n return this.deferralTask;\n }\n\n public setPriority(priority: number) {\n this._priority = priority;\n }\n\n public process() {\n if (this.hasProcessed)\n throw new Error(\n 'The queue has already processed its events. This object can now be disposed.'\n );\n\n if (this.isProcessing)\n throw new Error('The queue is currently processing events.');\n\n const startProcessing = () => (this.isProcessing = true);\n const completeProcessing = () => {\n this.deferralTask = undefined;\n this.events = [];\n this.isProcessing = false;\n this.hasProcessed = true;\n };\n\n this.dispatchEvents = function () {\n startProcessing();\n\n this.events.forEach(function (this: any, { callback, args }) {\n try {\n callback(...args);\n } catch (error) {\n console.error(error);\n }\n });\n\n completeProcessing();\n };\n\n const dumpQueue = () => {\n this.events = [];\n this.isProcessing = false;\n this.hasProcessed = true;\n };\n\n if (this.deferralTask) {\n this.deferralTask\n .then(() => this.dispatchEvents?.()) // process queue\n .catch(() => dumpQueue()); // dump queue\n } else {\n this.dispatchEvents();\n }\n }\n\n public defer() {\n let _processQueue: Function | undefined;\n let _dumpQueueEvents: Function | undefined;\n\n this.deferralTask = new Promise((resolve, reject) => {\n _processQueue = resolve;\n _dumpQueueEvents = reject;\n });\n\n const controller: AuthTaskQueueDeferralController = {\n processQueue() {\n _processQueue?.();\n },\n dumpQueueEvents() {\n _dumpQueueEvents?.();\n },\n };\n\n return controller;\n }\n}\n","import Vue from 'vue';\nimport { computed, reactive } from '@vue/composition-api';\nimport createAuth0Client, {\n Auth0Client,\n User as Auth0User,\n} from '@auth0/auth0-spa-js';\nimport { AuthEvent, AuthEventBus } from './events';\nimport { AuthTaskQueue, AuthTaskQueueEntry } from './events/task-queue';\nimport {\n AuthProviderLoginMiddlewareFunction,\n AuthProviderMiddlewareFunction,\n IAuthProviderMiddleware,\n IAuthProviderOptions,\n ICreateAuthClientOptions,\n GetTokenOptions,\n GetUserOptions,\n AuthProviderMiddlewareContext,\n InvitationContext,\n} from './types/service';\n\nasync function createClientAsync(config: ICreateAuthClientOptions) {\n const client = await createAuth0Client({\n domain: config.domain,\n audience: config.audience,\n client_id: config.clientId,\n redirect_uri: config.redirectUrl,\n organization: config.organizationId,\n });\n\n return client;\n}\n\n/** Define a default action to perform after authentication */\nconst DEFAULT_REDIRECT_CALLBACK = (_appState?: any) =>\n // Remove redirect params from url to maintain a cleaner history\n window.history.replaceState({}, document.title, window.location.pathname);\n\nexport class AuthProvider {\n private readonly client: Auth0Client;\n private readonly options: IAuthProviderOptions;\n private readonly middleware: Required = {\n afterLogin: [],\n };\n\n private state = reactive<{ isAuthenticated: boolean; user?: Auth0User }>({\n isAuthenticated: false,\n user: undefined,\n });\n\n private readonly eventQueues: {\n [eventName in AuthEvent]?: AuthTaskQueue[];\n } = {};\n\n private readonly eventEmitter = new Vue();\n public readonly events = new AuthEventBus(this.eventEmitter);\n\n constructor(client: Auth0Client, options: IAuthProviderOptions) {\n if (!client) throw new Error('Auth0Client is required.');\n if (!options) throw new Error('AuthProvider options is required.');\n this.client = client;\n this.options = {\n ...options,\n redirectCallback: options.redirectCallback || DEFAULT_REDIRECT_CALLBACK,\n };\n\n // Add any pre-registered middleware.\n if (this.options.middleware) {\n const middlewares = Object.entries(this.options.middleware) as [\n keyof IAuthProviderMiddleware,\n Function[] | undefined\n ][];\n\n middlewares.forEach(([event, fnStack]) => {\n if (!fnStack?.length) return;\n (this.middleware[event] as unknown) = fnStack;\n });\n }\n }\n\n public get isAuthenticated() {\n return computed(() => this.state.isAuthenticated);\n }\n\n public get user() {\n return computed(() => this.state.user);\n }\n\n /**\n * Logs the user in creating a session on the Auth0 server.\n * @param state And optional state object to be persisted across session creation and passed to the redirect callback.\n */\n public async loginAsync(state?: TState) {\n try {\n await this.client.loginWithRedirect({\n redirect_uri: this.options.redirectUrl,\n appState: state,\n });\n this.state.isAuthenticated = true;\n } catch (error) {\n this.state.isAuthenticated = false;\n }\n }\n\n /**\n * Logs the user out of the application and removes their session from the Auth0 server.\n * @param options Logout options.\n */\n public logoutAsync(options?: { returnToUrl?: string }) {\n this.eventEmitter.$emit(AuthEvent.Logout, this.state.user);\n this.client.logout({\n returnTo: options?.returnToUrl || this.options.logoutUrl,\n });\n this.state.isAuthenticated = false;\n }\n\n /**\n * Core function which executes the authentication pipeline ensuring a managed authenticated session is created.\n */\n public async setupAuthAsync() {\n const {\n state: redirectState,\n error: redirectError,\n } = await this.tryHandleRedirectAsync();\n\n const error: string | undefined = redirectError?.message;\n\n const { isRedirect, error: loginError } = this.isLoginRedirect();\n\n if (redirectError || loginError) {\n return {\n redirectState: undefined,\n error: redirectError?.message || loginError,\n };\n }\n\n if (await this.tryHandleInvitationAsync()) {\n // never resolve, wait for login redirect\n return new Promise<{\n redirectState: TRedirectState;\n error: string | undefined;\n }>(() => ({ redirectState, error }));\n }\n\n // Indicates if the user is either returning from login or has an existing session that needs to be be reinitialized.\n const newSession = !this.state.isAuthenticated;\n const isPostLogin = isRedirect || newSession;\n\n // Set internal state from session.\n const { isAuthenticated } = await this.setAuthStateAsync();\n\n if (isPostLogin && isAuthenticated) {\n const dispatchLoginEvent = new AuthTaskQueueEntry(() =>\n this.eventEmitter.$emit(AuthEvent.Login, this.state.user, redirectState)\n );\n\n const loginTaskQueue = new AuthTaskQueue([dispatchLoginEvent]);\n this.addEventTaskQueue(AuthEvent.Login, loginTaskQueue);\n\n const middlewareContext: AuthProviderMiddlewareContext = {\n provider: this,\n events: loginTaskQueue,\n };\n\n for (const middleware of this.middleware.afterLogin) {\n await Promise.resolve(\n middleware(middlewareContext, this.state.user as Auth0User)\n );\n }\n\n this.processEventTaskQueue(AuthEvent.Login);\n }\n\n return { redirectState, error };\n }\n\n /**\n * Retrieves the current user from the Auth0 server.\n * @returns A promise that resolves to an Auth0 user object.\n */\n public async getUserAsync(options: GetUserOptions = { ignoreCache: false }) {\n try {\n if (options.ignoreCache) await this.getTokenAsync({ ignoreCache: true });\n\n const user = await this.client.getUser();\n this.state.user = user;\n\n this.eventEmitter.$emit(AuthEvent.FetchUser, user);\n\n return user;\n } catch (error) {\n this.state.user = undefined;\n throw error;\n }\n }\n\n public getUserClaim(name: string) {\n if (!this.state.user)\n throw new Error(\n 'A user does not exist. A login session must first be created.'\n );\n\n const namespace = this.options.claimsNamespace;\n const claim = namespace ? `${namespace}/${name}` : name;\n\n return this.state.user[claim];\n }\n\n /**\n * Retrieves an authentication token from the current session.\n * @param force Force retrieve token from server, ignoring local cache.\n * @returns A promise that resolves to a JWT token.\n */\n public async getTokenAsync(\n options: GetTokenOptions = { ignoreCache: false }\n ) {\n try {\n const token = await this.client.getTokenSilently({\n scope: this.options.scope,\n audience: this.options.audience,\n ignoreCache: options.ignoreCache,\n });\n\n this.eventEmitter.$emit(AuthEvent.TokenRefresh, token);\n\n return token;\n } catch (error) {\n console.error(error);\n return undefined;\n }\n }\n\n /* eslint-disable no-dupe-class-members */\n /**\n * Registers a function to be executed at a specified event. Returning a promise will block process execution until the promise is resolved.\n * @param name The name of the middleware event to add middleware to.\n * @param fn The middleware function to be executed.\n * @param index Optional, index within the middleware queue to insert the middleware at.\n */\n public addMiddleware(\n name: keyof Pick,\n fn: AuthProviderLoginMiddlewareFunction,\n index?: number\n ): void;\n\n public addMiddleware(\n name: keyof IAuthProviderMiddleware,\n fn: AuthProviderMiddlewareFunction,\n index?: number\n ) {\n if (!(name in this.middleware))\n throw new Error(`Middleware does not exist for \"${name}\".`);\n\n if (typeof index === 'number') {\n (this.middleware[name] as unknown[]).splice(index, 0, fn);\n } else {\n (this.middleware[name] as unknown[]).push(fn);\n }\n }\n /* eslint-enable no-dupe-class-members */\n\n /**\n * Remove a registered middleware function from the specified event.\n * @param name The name of the middleware event to remove middleware from.\n * @param fn The middleware function to be removed.\n */\n public removeMiddleware(name: keyof IAuthProviderMiddleware, fn: Function) {\n if (!(name in this.middleware))\n throw new Error(`Middleware does not exist for \"${name}\".`);\n\n const fnIndex = (this.middleware[name] as unknown[]).indexOf(fn);\n this.middleware[name]!.splice(fnIndex, 1);\n }\n\n private addEventTaskQueue(event: AuthEvent, queue: AuthTaskQueue) {\n if (!this.eventQueues[event]) this.eventQueues[event] = [queue];\n else this.eventQueues[event]!.push();\n }\n\n private processEventTaskQueue(event: AuthEvent) {\n const queues = this.eventQueues[event];\n\n if (!queues?.length)\n throw new Error(`AuthEventQueue for event \"${event}\" does not exist.`);\n\n // Retrieve highest priority queue\n const queue = queues.reduce((highest, current) => {\n if (current.priority > highest.priority) return current;\n return highest;\n }, queues[0]);\n\n queue.process();\n\n if (queue.isDeferred) {\n queue.deferral?.then(() => delete this.eventQueues[event]);\n return;\n }\n\n delete this.eventQueues[event];\n }\n\n /**\n * Attempts to process the redirect workflow while executing user callbacks and notifying event subscribers of relevant events that occur within.\n * @returns Redirect state object if determined a redirect occurred, otherwise undefined.\n */\n private async tryHandleRedirectAsync() {\n const { isRedirect } = this.isLoginRedirect();\n if (!isRedirect) return { state: undefined, error: undefined };\n\n try {\n const redirectResult = await this.client.handleRedirectCallback();\n const redirectState: TRedirectState | undefined = redirectResult.appState;\n\n if (this.isRedirectFromInvitation(redirectState)) {\n this.eventEmitter.$emit(AuthEvent.InvitationAccepted, redirectState);\n }\n\n if (this.options.redirectCallback) {\n await Promise.resolve(this.options.redirectCallback(redirectState));\n }\n\n return { state: redirectState, error: undefined };\n } catch (error) {\n return {\n state: undefined,\n error: error instanceof Error ? error : new Error(error as any),\n };\n }\n }\n\n /**\n * Attempts to process the invitation workflow, logging the user in if an invite is found.\n * @returns A flag indicating if an invitation was parsed from the URL.\n */\n private async tryHandleInvitationAsync() {\n const { isInvitation, ...inviteContext } = this.tryParseInvitation();\n\n if (isInvitation) {\n const ctx = inviteContext as InvitationContext;\n await this.client.loginWithRedirect({\n invitation: ctx.invitation,\n organization: ctx.organization,\n appState: ctx,\n });\n }\n\n return isInvitation;\n }\n\n private isLoginRedirect() {\n const url = new URL(window.location.href);\n const params = new URLSearchParams(url.search);\n\n const isRedirect = params.has('code') && params.has('state');\n\n let error: string | undefined;\n if (params.has('error')) {\n error = params.get('error') || 'Unexpected login error';\n params.has('error_description') &&\n (error += `: ${params.get('error_description')}`);\n }\n\n return { isRedirect, error };\n }\n\n private isRedirectFromInvitation(redirectState: any) {\n if (typeof redirectState !== 'object') return false;\n return 'invitation' in redirectState && 'organization' in redirectState;\n }\n\n private tryParseInvitation() {\n const url = new URL(window.location.href);\n const params = new URLSearchParams(url.search);\n const invitation = params.get('invitation');\n const organization = params.get('organization');\n const organizationName = params.get('organization_name');\n\n const isInvitation = !!invitation && !!organization;\n return { isInvitation, invitation, organization, organizationName };\n }\n\n private async setAuthStateAsync() {\n const isAuthenticated = await this.client.isAuthenticated();\n\n this.state.isAuthenticated = isAuthenticated;\n\n if (isAuthenticated) {\n !this.state.user && (await this.getUserAsync());\n }\n\n return this.state;\n }\n}\n\nlet _client: Auth0Client;\nlet _provider: AuthProvider;\n\nexport function useAuth(options: IAuthProviderOptions) {\n const client = () => _client;\n const provider = () => _provider;\n\n const createProviderAsync = async () => {\n _client = await createClientAsync(options);\n _provider = new AuthProvider(_client, options);\n return provider();\n };\n\n return {\n createProviderAsync,\n client,\n provider,\n };\n}\n","import { AuthPlugin } from '~/app/core/auth/nuxt/plugin';\nexport default AuthPlugin;\n","import { defineNuxtPlugin } from '@nuxtjs/composition-api';\nimport { useAuth } from '../service';\nimport { IAuthProviderOptions } from '../types/service';\n\nexport const AuthPlugin = defineNuxtPlugin(async (context, inject) => {\n const { auth0 } = context.$config;\n if (!auth0.domain) throw new Error('Auth domain is required.');\n if (!auth0.clientId) throw new Error('Auth client id is required.');\n\n const tenant = await context.$tenantApi.discover.getForContextAsync();\n const organizationId = tenant?.organizationId;\n\n const options: IAuthProviderOptions = {\n domain: auth0.domain,\n clientId: auth0.clientId,\n redirectUrl: location.origin,\n logoutUrl: location.origin,\n audience: auth0.audience,\n claimsNamespace: auth0.claimsNamespace,\n scope: auth0.scope,\n organizationId,\n };\n\n const { createProviderAsync } = useAuth(options);\n const provider = await createProviderAsync();\n inject('auth', provider);\n});\n","import { defineNuxtPlugin } from '@nuxtjs/composition-api';\nimport { registerAPI } from '~/app/core/api';\nimport { createApiClient } from '~/app/core/api/client';\nimport { primaryApiFactory } from '~/app/core/api/factory';\n\nexport default defineNuxtPlugin(({ $auth, $http, $config }, inject) => {\n if (!$config.api.primary.headers?.version?.name)\n throw new Error(\n 'Nuxt config \"api.primary.headers.version.name\" does not exist.'\n );\n\n if (!$config.api.primary.headers?.version?.value)\n throw new Error(\n 'Nuxt config \"api.primary.headers.version.value\" does not exist.'\n );\n\n const getToken = () => {\n if (!$auth.isAuthenticated.value) return Promise.resolve(undefined);\n return $auth.getTokenAsync();\n };\n\n const { version, buildNumber } = $config.app;\n const { headers } = $config.api.primary;\n const client = createApiClient($http, { getToken });\n client.setHeaders({\n [headers!.version!.name]: headers!.version!.value,\n 'Content-Type': 'application/json',\n 'x-app-client-version': version,\n 'x-app-client-build': !buildNumber,\n });\n\n const api = primaryApiFactory(client, $config);\n registerAPI(api);\n\n inject('api', api);\n});\n","import Vue from 'vue';\nimport { defineNuxtPlugin } from '@nuxtjs/composition-api';\nimport { ConsoleLogger, LogProvider } from '~/app/core/logging';\n\nexport default defineNuxtPlugin(({ isDev }, inject) => {\n const provider = new LogProvider();\n\n isDev && provider.addLogger(new ConsoleLogger());\n\n Vue.prototype.$log = provider;\n inject('log', provider);\n});\n","import * as sentry from '@sentry/core';\nimport { ILogger, LoggerArg } from '../ILogger';\n\nexport class SentryLogger implements ILogger {\n constructor() {\n if (!sentry) throw new Error('Sentry instance is required.');\n }\n\n public log(message: string, data?: LoggerArg): void {\n sentry.captureMessage(message, {\n level: 'log',\n extra: data,\n });\n }\n\n public info(message: string, data?: LoggerArg): void {\n sentry.captureMessage(message, {\n level: 'info',\n extra: data,\n });\n }\n\n public warn(message: string, data?: LoggerArg): void {\n sentry.captureMessage(message, {\n level: 'warning',\n extra: data,\n });\n }\n\n public debug(message: string, data?: LoggerArg): void {\n sentry.captureMessage(message, {\n level: 'debug',\n extra: data,\n });\n }\n\n public error(message: string | Error, data?: LoggerArg): void {\n sentry.captureException(message, { extra: data });\n }\n\n public track(event: string, data?: LoggerArg): void {\n console.info('SentryLogger.track', event, data);\n }\n}\n","import Vue from 'vue';\nimport { defineNuxtPlugin } from '@nuxtjs/composition-api';\nimport consola from 'consola';\nimport {\n init as initSentry,\n browserTracingIntegration,\n replayIntegration,\n captureUserFeedback,\n forceLoad,\n onLoad,\n showReportDialog,\n} from '@sentry/vue';\nimport * as CoreSdk from '@sentry/core';\nimport type { Integration } from '@sentry/types';\nimport { SentryLogger } from '~/app/core/logging/sentry/logger';\nimport { IAccessState } from '~/store/access';\nimport { ITenantState } from '~/store/tenant';\n\nconst Sdk = {\n ...CoreSdk,\n ...{ captureUserFeedback, forceLoad, onLoad, showReportDialog },\n} as const;\n\nexport type SentrySdk = typeof Sdk;\n\ntype IntegrationKey = 'replay' | 'tracing';\n\nconst integrations: Record = {\n tracing: browserTracingIntegration(),\n replay: replayIntegration({\n maskAllText: true,\n blockAllMedia: true,\n }),\n};\n\nconst integrationMap = Object.entries(integrations) as Array<\n [IntegrationKey, Integration]\n>;\n\nexport default defineNuxtPlugin(({ $log, $config, store }, inject) => {\n const { sentry } = $config;\n\n const integrations = integrationMap\n .filter(([key, module]) => sentry.integrations?.[key].enabled && module)\n .map(([, integration]) => integration);\n\n for (const [key, module] of integrationMap) {\n if (sentry.integrations?.[key].enabled && module) {\n consola.info(`🛠️ Sentry \"${key}\" integration enabled`);\n }\n }\n\n initSentry({\n Vue,\n dsn: sentry.dsn,\n environment: sentry.environment ?? process.env.NODE_ENV,\n release: `v${$config.app.version} ${$config.app.buildNumber}`,\n attachStacktrace: true,\n integrations,\n beforeSend(event, _hint) {\n const { user } = store.state.access as IAccessState;\n if (user)\n event.user = {\n id: user.id,\n email: user.emailAddress,\n firstName: user.firstName,\n lastName: user.lastName,\n };\n\n const { tenant } = store.state.tenant as ITenantState;\n if (tenant)\n event.tags = {\n ...(event.tags || {}),\n tenantId: tenant.id,\n tenant: tenant.name,\n };\n\n if (sentry.reportDialog?.enabled && event.exception) {\n showReportDialog({ eventId: event.event_id as string });\n }\n\n return event;\n },\n ignoreErrors: [\n 'ResizeObserver loop completed with undelivered notifications.',\n 'Warning: the children of `Select` should be `Select.Option` or `Select.OptGroup`, instead of `VNodes`.',\n ],\n\n // #region Performance Monitoring\n tracesSampleRate: sentry.integrations?.tracing.sampleRate ?? 1.0, // Capture 100% of the transactions\n // Set 'tracePropagationTargets' to control for which URLs distributed tracing should be enabled\n tracePropagationTargets: sentry.integrations?.tracing.propagationTargets,\n // #endregion\n\n // #region Session Replay\n replaysSessionSampleRate:\n // This sets the sample rate at 10%. You may want to change it to 100% while in development and then sample at a lower rate in production.\n // prettier-ignore\n sentry.integrations?.replay.sampleRate ?? process.env.NODE_ENV === 'development' ? 1.0 : 0.1,\n // If you're not already sampling the entire session, change the sample rate to 100% when sampling sessions where errors occur.\n replaysOnErrorSampleRate: 1.0,\n // #endregion\n });\n\n $log.addLogger(new SentryLogger());\n\n inject('sentry', Sdk);\n});\n","import Intercom, {\n hide,\n onShow,\n onHide,\n onUnreadCountChange,\n shutdown,\n show,\n showSpace,\n // update,\n} from '@intercom/messenger-js-sdk';\nimport { computed, ref } from '@nuxtjs/composition-api';\nimport { Tenant, User } from '~/app/models';\n\nexport interface IntercomInit {\n readonly appId: string;\n}\n\nexport type IntercomSpace =\n | 'home'\n | 'messages'\n | 'help'\n | 'news'\n | 'ticket'\n | 'tasks'\n | 'new';\n\nexport class IntercomService {\n private readonly _appId: string;\n\n private _initialized = false;\n\n private readonly _isOpened = ref(false);\n\n private readonly _unreadCount = ref(0);\n\n public readonly isOpen = computed(() => this._isOpened.value);\n\n public readonly unreadCount = computed(() => this._unreadCount.value);\n\n constructor({ appId }: IntercomInit) {\n this._appId = appId;\n }\n\n public init(userHash: string, user: User, tenant: Tenant) {\n try {\n Intercom({\n app_id: this._appId,\n user_hash: userHash,\n user_id: user.id,\n name: user.displayName,\n email: user.emailAddress,\n company: { id: tenant.id, name: tenant.name },\n // created_at: // IMPORTANT: Replace \"user.createdAt\" with the variable you use to capture the user's sign-up date in a Unix timestamp (in seconds) e.g. 1704067200\n });\n\n this._initialized = true;\n\n onShow(() => (this._isOpened.value = true));\n onHide(() => (this._isOpened.value = false));\n onUnreadCountChange((count: number) => (this._unreadCount.value = count));\n } catch (error) {\n console.error('Intercom init error:', error);\n this._initialized = false;\n }\n }\n\n public show(space?: IntercomSpace) {\n if (!this._initialized) return;\n space ? showSpace(space) : show();\n }\n\n public hide() {\n if (!this._initialized) return;\n hide();\n }\n\n public shutdown() {\n if (!this._initialized) return;\n shutdown();\n }\n\n public setLauncher(selector: string | HTMLElement) {\n if (!this._initialized || !window.intercomSettings) return;\n\n const _selector = selector instanceof HTMLElement ? selector.id : selector;\n if (!_selector) throw new Error('Invalid Launcher Element selector');\n\n window.intercomSettings.hide_default_launcher = true;\n window.intercomSettings.custom_launcher_selector = _selector;\n }\n\n public onUnreadCountChange(callback: (unreadCount: number) => void) {\n onUnreadCountChange(callback);\n }\n}\n","import { defineNuxtPlugin } from '@nuxtjs/composition-api';\nimport consola from 'consola';\nimport { RootState } from '~/store';\nimport {\n moduleName as TenantModule,\n Action as TenantAction,\n} from '~/store/tenant';\nimport {\n moduleName as AccessModule,\n Action as AccessAction,\n} from '~/store/access';\nimport { IntercomService } from '~/app/core/services/intercom';\nimport { AuthEvent } from '~/app/core/auth/events';\n\nexport default defineNuxtPlugin(\n ({ $api, $auth, $config, $log, store }, inject) => {\n if (!$config.intercom.enabled) return;\n\n const { appId } = $config.intercom;\n if (!appId) {\n $log.error(\n 'Intercom: Unable to initialize, appId was not found.',\n undefined,\n { ui: false }\n );\n return;\n }\n\n const service = new IntercomService({ appId });\n\n const tenantStore = store.state.tenant as RootState['tenant'];\n const accessStore = store.state.access as RootState['access'];\n\n const dependenciesLoaded = {\n [`${TenantModule}/${TenantAction.fetchTenant}`]: !!tenantStore.tenant,\n [`${AccessModule}/${AccessAction.fetchUser}`]: !!accessStore.user,\n };\n\n type DependencyType = keyof typeof dependenciesLoaded;\n\n const unsubscribeActions = store.subscribeAction({\n async after(action, { access: { user }, tenant: { tenant } }: RootState) {\n if (action.type in dependenciesLoaded) {\n dependenciesLoaded[action.type as DependencyType] = true;\n if (Object.values(dependenciesLoaded).some((v) => !v)) return;\n if (!tenant?.configuration.features.intercomEnabled) return;\n\n unsubscribeActions();\n consola.info('📡 Intercom integration enabled');\n\n const userHash = await $api.intercom.getUserIdAsync();\n if (!userHash) {\n $log.error(\n 'Intercom: Unable to initialize, failed to generate user hash.',\n undefined,\n { ui: false }\n );\n return;\n }\n\n service.init(userHash, user!, tenant!);\n consola.info('📡 Intercom integration initialized');\n }\n },\n });\n\n $auth.events.once(AuthEvent.Logout, () => service.shutdown());\n\n inject('intercom', service);\n }\n);\n","import { defineNuxtPlugin } from '@nuxtjs/composition-api';\nimport { IApplicationInsights } from '@microsoft/applicationinsights-web';\nimport { AppInsightsLogger, LogProvider } from '~/app/core/logging';\n\nexport default defineNuxtPlugin(({ $appInsights, $log, isDev }) => {\n if (isDev) return;\n\n ($log as LogProvider).addLogger(\n new AppInsightsLogger($appInsights as IApplicationInsights)\n );\n});\n","import type { IdleTimerOptions } from './options';\n\ntype EventObject = typeof window | typeof document | HTMLElement;\n\nconst bulkAddEventListener = (\n object: EventObject,\n events: string[],\n callback: (event: Event) => void\n) => {\n events.forEach((event) => {\n object.addEventListener(event, callback);\n });\n};\n\nconst bulkRemoveEventListener = (\n object: EventObject,\n events: string[],\n callback: (event: Event) => void\n) => {\n events.forEach((event) => {\n object.removeEventListener(event, callback);\n });\n};\n\ntype BaseOptions = Omit<\n IdleTimerOptions,\n 'onIdle' | 'onTick' | 'onActivity' | 'onActive' | 'onHide' | 'onShow'\n>;\n\nconst DEFAULT_OPTIONS: IdleTimerOptions & Required = {\n idle: 60000,\n events: ['mousemove', 'scroll', 'keydown', 'mousedown', 'touchstart'],\n tickMeasure: 1000,\n onIdle: undefined,\n onTick: undefined,\n onActivity: undefined,\n onActive: undefined,\n onHide: undefined,\n onShow: undefined,\n keepTracking: true,\n startAtIdle: false,\n recurIdleCall: false,\n};\n\nexport class IdleTimer {\n private readonly settings: IdleTimerOptions & Required;\n private readonly idlenessEventsHandler: (event: Event) => void;\n private readonly visibilityEventsHandler: (event: Event) => void;\n private readonly visibilityEvents = [\n 'visibilitychange',\n 'webkitvisibilitychange',\n 'mozvisibilitychange',\n 'msvisibilitychange',\n ];\n\n private stopListener: (event: Event) => void;\n\n private clearTimeout: (() => void) | null = null;\n private isIdle: boolean = false;\n private isActiveWindow = true;\n\n constructor(options: IdleTimerOptions = {}) {\n this.settings = this.parseSettings(options);\n\n this.reset();\n\n this.stopListener = (_event: Event) => this.stop();\n\n this.idlenessEventsHandler = (_: Event) => {\n this.settings.onActivity?.();\n\n if (this.isIdle) {\n this.isIdle = false;\n this.settings.onActive?.();\n }\n\n this.resetTimeout();\n };\n this.visibilityEventsHandler = (_: Event) => {\n if (\n document.hidden ||\n (document as any).webkitHidden ||\n (document as any).mozHidden ||\n (document as any).msHidden\n ) {\n if (this.isActiveWindow) {\n this.isActiveWindow = false;\n this.settings.onHide?.();\n }\n } else if (!this.isActiveWindow) {\n this.isActiveWindow = true;\n this.settings.onShow?.();\n }\n };\n }\n\n /** Start idle tracking. */\n public start() {\n if (this.clearTimeout) {\n throw new Error('Timer is already running');\n }\n\n window.addEventListener('idle:stop', this.stopListener);\n this.startTimeout();\n\n bulkAddEventListener(\n window,\n this.settings.events || DEFAULT_OPTIONS.events,\n this.idlenessEventsHandler\n );\n\n if (this.settings.onShow || this.settings.onHide) {\n bulkAddEventListener(\n document,\n this.visibilityEvents,\n this.visibilityEventsHandler\n );\n }\n\n return this;\n }\n\n /** Stop idle tracking. */\n public stop() {\n if (!this.clearTimeout) {\n throw new Error('Timer is not running');\n }\n\n window.removeEventListener('idle:stop', this.stopListener);\n\n bulkRemoveEventListener(\n window,\n this.settings.events || DEFAULT_OPTIONS.events,\n this.idlenessEventsHandler\n );\n this.resetTimeout(false);\n\n if (this.settings.onShow || this.settings.onHide) {\n bulkRemoveEventListener(\n document,\n this.visibilityEvents,\n this.visibilityEventsHandler\n );\n }\n\n return this;\n }\n\n /** Reset the idle tracking state. */\n public reset({\n idle = this.settings.startAtIdle,\n visible = !this.settings.startAtIdle,\n } = {}) {\n this.isIdle = idle as boolean;\n this.isActiveWindow = visible;\n\n return this;\n }\n\n private resetTimeout(keepTracking = this.settings.keepTracking) {\n if (this.clearTimeout) {\n this.clearTimeout();\n this.clearTimeout = null;\n }\n\n if (keepTracking) {\n this.startTimeout();\n }\n }\n\n private startTimeout() {\n const onIdle = () => {\n this.isIdle = true;\n this.settings?.onIdle?.();\n };\n\n if (this.settings.onTick) {\n let tick = 0;\n const idleInterval = this.settings.idle;\n const measure = this.settings.tickMeasure;\n const id = window.setInterval(() => {\n this.settings.onTick?.(tick + 1, idleInterval, measure);\n\n if (++tick * measure >= idleInterval) {\n window.clearInterval(id); // stop the timeout\n onIdle();\n }\n }, measure);\n\n this.clearTimeout = () => window.clearInterval(id);\n return;\n }\n\n // TODO: Isn't this redundant if also using the keepTracking option?\n const timer = this.settings.recurIdleCall\n ? {\n set: window.setInterval.bind(window),\n clear: window.clearInterval.bind(window),\n }\n : {\n set: window.setTimeout.bind(window),\n clear: window.clearTimeout.bind(window),\n };\n\n const id = timer.set(onIdle, this.settings.idle);\n this.clearTimeout = () => timer.clear(id);\n }\n\n private parseSettings(options: IdleTimerOptions) {\n this.throwOnBadKey(Object.keys(options), Object.keys(DEFAULT_OPTIONS));\n return { ...DEFAULT_OPTIONS, ...options };\n }\n\n private throwOnBadKey(keys: string[], goodKeys: string[]) {\n keys.forEach(function (key) {\n if (!goodKeys.includes(key)) {\n throw new Error(`set: Unknown key ${key}`);\n }\n });\n }\n}\n","import { notification, Progress } from 'ant-design-vue';\nimport { TickTimer } from '~/app/utils/tick-timer';\n\nconst NOTIFICATION_KEY = 'inactivity-notification';\n\nexport function useInactivityCountdown() {\n const render = (tick: number, durationMs: number, tickMeasureMs: number) => {\n const tickTimer = new TickTimer(durationMs, tickMeasureMs);\n const remainingSeconds = tickTimer.getTimeRemaining(tick).toFixed(0);\n const percent = (tick / tickTimer.ticks) * 100;\n\n notification.warning({\n key: NOTIFICATION_KEY,\n message: 'It looks like you are away',\n description: `You will be logged out in ${remainingSeconds} seconds.`,\n duration: durationMs,\n icon: (\n \n ),\n });\n };\n\n const close = () => notification.close(NOTIFICATION_KEY);\n\n return { render, close };\n}\n","import { defineNuxtPlugin } from '@nuxtjs/composition-api';\nimport { IdleTimer } from '~/app/core/services/idle-timer';\nimport { RootState } from '~/store';\nimport { moduleName as TenantStoreName, Action } from '~/store/tenant';\nimport { TickTimer } from '~/app/utils/tick-timer';\nimport { useInactivityCountdown } from '~mod:shared/composables/use-inactivity-countdown';\n\n// Display UI notification when the idle timeout is within the following range from completion\nconst notificationDisplaySecondsRemaining = 60;\n\nexport default defineNuxtPlugin(({ $auth, store }) => {\n const {\n render: renderCountdown,\n close: closeCountdown,\n } = useInactivityCountdown();\n\n const unsubscribe = store.subscribeAction({\n after(action, { tenant: { tenant } }: RootState) {\n if (action.type !== `${TenantStoreName}/${Action.fetchTenant}` || !tenant)\n return;\n\n unsubscribe();\n\n const { inactivityTimeout } = tenant.configuration.sessions;\n if (!inactivityTimeout.enabled) return;\n\n const idleTimeoutMs = inactivityTimeout.durationInMinutes\n ? inactivityTimeout.durationInMinutes * 60 * 1000\n : 1000 * 60 * 5; /* default to 5 minutes */\n const tickMeasureMs = 100;\n const tickTimer = new TickTimer(idleTimeoutMs, tickMeasureMs);\n\n const timer = new IdleTimer({\n idle: idleTimeoutMs,\n tickMeasure: tickMeasureMs,\n onTick(tick) {\n const remainingSeconds = tickTimer.getTimeRemaining(tick);\n\n // Display the countdown notification when threshold is reached\n if (remainingSeconds <= notificationDisplaySecondsRemaining) {\n const secondsInMs = notificationDisplaySecondsRemaining * 1000;\n const countDownTickTimer = new TickTimer(\n secondsInMs,\n tickMeasureMs\n );\n const tickDiff = tickTimer.ticks - countDownTickTimer.ticks;\n const subTick = tick - tickDiff;\n renderCountdown(subTick, secondsInMs, tickMeasureMs);\n }\n },\n async onIdle() {\n closeCountdown();\n\n timer.stop();\n await $auth.logoutAsync();\n },\n onActivity() {\n closeCountdown();\n },\n });\n\n timer.start();\n },\n });\n});\n","import { defineNuxtPlugin } from '@nuxtjs/composition-api';\nimport { AuthEvent } from '~/app/core/auth/events';\nimport { InvitationContext } from '~/app/core/auth/types/service';\nimport { useModule } from '~/app/core/module-system';\nimport { UserRegistrationModule } from '~/app/modules/registration';\nimport { RegistrationRoute } from '~mod:registration/routes';\n\nexport default defineNuxtPlugin(({ $auth, $log, route, redirect }) => {\n $auth.addMiddleware('afterLogin', ({ events }) => {\n const registrationRoute = `/${RegistrationRoute.root}`;\n const isUnregistered = !$auth.getUserClaim('user_registered');\n if (isUnregistered) {\n // set highest priority so that other login event queues will not overwrite this one\n events.setPriority(Number.MAX_SAFE_INTEGER);\n const deferralController = events.defer();\n\n const module = useModule(UserRegistrationModule);\n module.setLoginDeferralController(deferralController);\n\n if (route.path !== registrationRoute) return redirect(registrationRoute);\n } else if (route.path === registrationRoute) return redirect('/');\n });\n\n $auth.events.on(AuthEvent.InvitationAccepted, (ctx: InvitationContext) => {\n $log.track('InviteAccepted', ctx);\n });\n});\n","import { Ability, AbilityClass } from '@casl/ability';\nimport { Action } from './app-action';\nimport { Subject } from './app-subject';\n\nexport type AppAbilityInstance = Ability<[Action, Subject]>;\nexport const AppAbility = Ability as AbilityClass;\n","import { defineNuxtPlugin } from '@nuxtjs/composition-api';\nimport { createAbilitiesPlugin } from '~/app/core/casl';\nimport { AppAbility } from '~/app/core/casl/types';\n\nexport default defineNuxtPlugin((context, inject) => {\n const ability = new AppAbility();\n const plugin = createAbilitiesPlugin(ability);\n return plugin(context, inject);\n});\n","import { AppModule } from '~/app/core/module-system/module';\n\nexport class ReservationsModule extends AppModule {\n public readonly name = ReservationsModule.name;\n\n public activate() {\n super.activate();\n // call activation steps here\n }\n}\n\nexport const ModuleName = ReservationsModule.name;\n","import {\n module as StoreModule,\n moduleName as StoreModuleName,\n Action,\n} from './store';\nimport { RootState } from '~/store';\nimport { AuthEvent } from '~/app/core/auth/events';\nimport { AppModule } from '~/app/core/module-system/module';\nimport { registerModule } from '~/app/core/module-system/use-module';\nimport {\n moduleName as caseModuleName,\n Action as CaseAction,\n} from '~mod:case-details/store';\n\nexport class BodyboxModule extends AppModule {\n public readonly name = BodyboxModule.name;\n private unsubscribeStoreActions?: Function;\n\n public activate() {\n super.activate();\n\n const { $auth, $log, store } = this.context;\n\n $auth.events.once(AuthEvent.Login, async () => {\n try {\n await store?.dispatch(`${StoreModuleName}/${Action.fetchBodyboxes}`);\n } catch (error) {\n $log.error(error as Error, undefined, { ui: false });\n }\n });\n\n this.unsubscribeStoreActions = store?.subscribeAction({\n after: (action, _state: RootState) => {\n const caseCheckInAction = `${caseModuleName}/${CaseAction.checkIn}`;\n const caseCheckoutAction = `${caseModuleName}/${CaseAction.checkout}`;\n const caseDeleteAction = `${caseModuleName}/${CaseAction.delete}`;\n const refreshActions = [\n caseCheckInAction,\n caseCheckoutAction,\n caseDeleteAction,\n ];\n\n if (refreshActions.includes(action.type)) {\n // this.store?.dispatch(\n // `${StoreModuleName}/${Action.fetchCaseSummaries}`\n // );\n }\n },\n });\n }\n\n public deactivate() {\n super.deactivate();\n this.unsubscribeStoreActions?.();\n }\n}\n\nexport const ModuleName = BodyboxModule.name;\nexport { StoreModuleName };\n\nexport const registerBodyboxModule = () =>\n registerModule(BodyboxModule, {\n route: 'bodybox',\n store: {\n moduleName: StoreModuleName,\n module: StoreModule,\n },\n });\n","import { AppModule } from '~/app/core/module-system/module';\n\nexport class OutboxModule extends AppModule {\n public readonly name = OutboxModule.name;\n\n public activate() {\n super.activate();\n // call activation steps here\n }\n}\n\nexport const ModuleName = OutboxModule.name;\n","import { module as StoreModule, moduleName } from './store';\nimport { AppModule } from '~/app/core/module-system/module';\nimport { registerModule } from '~/app/core/module-system/use-module';\n\nexport class SettingsModule extends AppModule {\n public readonly name = SettingsModule.name;\n\n public activate() {\n super.activate();\n // call activation steps here\n }\n}\n\nexport const ModuleName = SettingsModule.name;\nexport { moduleName as StoreModuleName };\n\nexport const registerSettingsModule = () =>\n registerModule(SettingsModule, {\n route: 'settings',\n store: {\n moduleName,\n module: StoreModule,\n },\n });\n","import { module as StoreModule, moduleName, Action } from './store';\nimport { AppModule } from '~/app/core/module-system/module';\nimport { registerModule } from '~/app/core/module-system/use-module';\nimport { useSuccessMessage } from '~/app/components/ui/modal';\nimport { Case } from '~/app/models';\n\nexport class CaseDetailsModule extends AppModule {\n public readonly name = CaseDetailsModule.name;\n private unsubscribeStoreActions?: Function;\n\n public activate() {\n super.activate();\n\n this.unsubscribeStoreActions = this.context.store?.subscribeAction({\n after: (action, _state) => {\n const checkInAction = `${moduleName}/${Action.checkIn}`;\n const checkOutAction = `${moduleName}/${Action.checkout}`;\n\n let decedentName: string | undefined;\n if (action.payload instanceof Case) {\n decedentName = action.payload.decedent?.displayName;\n }\n\n const lang = this.context.$language;\n const messagePrefix = () =>\n lang.token(\n 'case',\n `The {singular} ${decedentName ? 'for ' + decedentName : ''}` as any\n );\n\n if (action.type === checkInAction) {\n const message = useSuccessMessage();\n message({\n duration: 5,\n content: `${messagePrefix()} was successfully checked in. It can now be viewed from the ${\n lang.get('bodybox').singular\n }.`,\n });\n }\n\n if (action.type === checkOutAction) {\n const message = useSuccessMessage();\n message({\n duration: 5,\n content: `${messagePrefix()} was successfully checked out. It can now be viewed from the ${\n lang.get('outbox').singular\n }.`,\n });\n }\n },\n });\n }\n\n public deactivate() {\n super.deactivate();\n this.unsubscribeStoreActions?.();\n }\n}\n\nexport const ModuleName = CaseDetailsModule.name;\nexport { moduleName as StoreModuleName };\n\nexport const registerCaseDetailsModule = () =>\n registerModule(CaseDetailsModule, {\n route: 'case',\n store: {\n moduleName,\n module: StoreModule,\n },\n });\n","import { Plugin } from '@nuxt/types';\nimport {\n registerModule,\n initModuleSystem,\n} from '~/app/core/module-system/use-module';\nimport { AppModule } from '~/app/core/module-system/module';\nimport { registerBarcodingModule } from '~mod:barcoding';\nimport { registerLayoutModule } from '~mod:layout';\nimport { ReservationsModule } from '~mod:reservations';\nimport { registerBodyboxModule } from '~mod:bodybox';\nimport { OutboxModule } from '~mod:outbox';\nimport { registerSettingsModule } from '~mod:settings';\nimport { registerCaseDetailsModule } from '~mod:case-details';\nimport { registerUserRegistrationModule } from '~mod:registration';\n\nconst plugin: Plugin = (context) => {\n AppModule.enableDebugLogging = process.env.NODE_ENV === 'development';\n\n // Register *All* application modules below\n registerModule(ReservationsModule, { route: 'reservations' });\n registerModule(OutboxModule, { route: 'outbox' });\n registerBarcodingModule();\n registerBodyboxModule();\n registerCaseDetailsModule();\n registerLayoutModule();\n registerUserRegistrationModule();\n registerSettingsModule();\n\n // Create module instances\n initModuleSystem(context);\n};\n\nexport default plugin;\n","import { Language } from '~/app/models';\n\nexport const DEFAULT_LANGUAGE = Object.freeze({\n bodybox: {\n singular: 'Bodybox',\n plural: 'Bodyboxes',\n article: 'a',\n },\n reservation: {\n singular: 'Incoming Case',\n plural: 'Incoming Cases',\n article: 'an',\n },\n case: {\n singular: 'Case',\n plural: 'Cases',\n article: 'a',\n },\n outbox: {\n singular: 'Outbox',\n plural: 'Outboxes',\n article: 'an',\n },\n decedent: {\n singular: 'Decedent',\n plural: 'Decedents',\n article: 'the',\n },\n autopsy: {\n singular: 'Autopsy',\n plural: 'Autopsies',\n article: 'an',\n },\n tissue: {\n singular: 'Tissue',\n plural: 'Tissues',\n article: 'a',\n },\n funeralHome: {\n singular: 'Funeral Home',\n plural: 'Funeral Homes',\n article: 'a',\n },\n medicalExaminer: {\n singular: 'Medical Examiner',\n plural: 'Medical Examiners',\n article: 'the',\n },\n medicolegalInvestigation: {\n singular: 'Medicolegal Investigation',\n plural: 'Medicolegal Investigations',\n article: 'a',\n },\n nextOfKin: {\n singular: 'Next of Kin',\n plural: 'Next of Kin',\n article: 'a',\n },\n});\n","/* eslint-disable no-dupe-class-members */\nimport { DEFAULT_LANGUAGE } from './defaults';\nimport { GrammarRuleForm, Language } from '~/app/models';\n\ntype LanguageConceptResolver = (lang: Language) => GrammarRuleForm;\ntype LanguageGrammarRule = keyof GrammarRuleForm;\ntype LanguageToken<\n TGrammarRule extends LanguageGrammarRule\n> = `${string}{${TGrammarRule}}${string}`;\n\ntype LanguageScope = {\n token: (token: LanguageToken) => string;\n grammar: GrammarRuleForm;\n};\n\nexport class LanguageService {\n private language?: Readonly;\n private readonly throwIfNotSet: boolean;\n\n constructor(language?: Readonly, throwIfNotSet = false) {\n this.language = language;\n this.throwIfNotSet = throwIfNotSet;\n }\n\n public updateLanguage(language: Readonly) {\n if (!language) {\n throw new Error('language is required.');\n }\n\n this.language = language;\n }\n\n public get(resolver: keyof Language): GrammarRuleForm;\n public get(resolver: LanguageConceptResolver): GrammarRuleForm;\n public get(\n resolver: keyof Language | LanguageConceptResolver\n ): GrammarRuleForm {\n if (!this.language && this.throwIfNotSet) {\n throw new Error('language has not been set.');\n }\n\n const language = this.language || DEFAULT_LANGUAGE;\n\n if (typeof resolver === 'string') {\n return language[resolver as keyof Language];\n }\n\n return resolver(language);\n }\n\n public token(\n resolver: keyof Language,\n token: LanguageToken\n ): string;\n\n public token(\n resolver: LanguageConceptResolver,\n token: LanguageToken\n ): string;\n\n public token(\n resolver: keyof Language | LanguageConceptResolver,\n token: LanguageToken\n ) {\n if (!this.language && this.throwIfNotSet) {\n throw new Error('language has not been set.');\n }\n\n const language = this.language || DEFAULT_LANGUAGE;\n\n const grammarRule =\n typeof resolver === 'string'\n ? language[resolver as keyof Language]\n : resolver(language);\n\n return this.replaceGrammarRules(grammarRule, token);\n }\n\n public createScope(resolver: keyof Language): LanguageScope;\n public createScope(resolver: LanguageConceptResolver): LanguageScope;\n public createScope(resolver: keyof Language | LanguageConceptResolver) {\n if (!this.language && this.throwIfNotSet) {\n throw new Error('language has not been set.');\n }\n\n const language = this.language || DEFAULT_LANGUAGE;\n\n const grammarRule =\n typeof resolver === 'string'\n ? language[resolver as keyof Language]\n : resolver(language);\n\n return {\n token: (token: LanguageToken) => {\n return this.replaceGrammarRules(grammarRule, token);\n },\n grammar: grammarRule,\n };\n }\n\n private replaceGrammarRules(\n rule: GrammarRuleForm,\n token: LanguageToken\n ) {\n return token\n .replace('{singular}', rule.singular)\n .replace('{plural}', rule.plural)\n .replace('{article}', rule.article);\n }\n}\n","import { defineNuxtPlugin } from '@nuxtjs/composition-api';\nimport { LanguageService } from '~/app/core/services/language/language-service';\n\nexport default defineNuxtPlugin((_ctx, inject) => {\n inject('language', new LanguageService());\n});\n","import Vue from 'vue';\nimport {\n AutoComplete,\n Badge,\n Breadcrumb,\n Button,\n Calendar,\n Checkbox,\n Col,\n Collapse,\n ConfigProvider,\n DatePicker,\n Divider,\n Dropdown,\n Empty,\n Icon,\n Input,\n InputNumber,\n Form,\n FormModel,\n Layout,\n Menu,\n Modal,\n Popconfirm,\n Popover,\n Progress,\n Result,\n Radio,\n Row,\n Select,\n Spin,\n Statistic,\n Switch,\n Tabs,\n Timeline,\n Tooltip,\n Upload,\n} from 'ant-design-vue';\n\nVue.use(AutoComplete);\nVue.use(Badge);\nVue.use(Breadcrumb);\nVue.use(Button);\nVue.use(Calendar);\nVue.use(Checkbox);\nVue.use(Col);\nVue.use(Collapse);\nVue.use(ConfigProvider);\nVue.use(DatePicker);\nVue.use(Dropdown);\nVue.use(Divider);\nVue.use(Empty);\nVue.use(Icon);\nVue.use(Input);\nVue.use(InputNumber);\nVue.use(Form);\nVue.use(FormModel);\nVue.use(Layout);\nVue.use(Menu);\nVue.use(Modal);\nVue.use(Popconfirm);\nVue.use(Popover);\nVue.use(Progress);\nVue.use(Result);\nVue.use(Radio);\nVue.use(Row);\nVue.use(Select);\nVue.use(Spin);\nVue.use(Statistic);\nVue.use(Switch);\nVue.use(Tabs);\nVue.use(Timeline);\nVue.use(Tooltip);\nVue.use(Upload);\n","import Vue, { ComponentOptions, PluginObject, VNode } from 'vue';\nimport { PropType } from '@vue/composition-api';\nimport { Fragment } from 'vue-frag';\n\nVue.component('Fragment', Fragment as ComponentOptions);\n\n/** Automatically register all CureConnect UI kit components as globals. */\nconst globals = require.context('~/app/components/ui', true, /index\\.ts/);\n\nglobals.keys().forEach((fileName: string) => {\n const component = globals>(fileName);\n Vue.use(component.default || component);\n});\n\n/** Component to accept VNode's and renders HTML/Component counterparts */\nVue.component('VNodes', {\n functional: true,\n props: {\n nodes: {\n required: false,\n type: [Object, Array] as PropType,\n default: undefined,\n },\n },\n render: (h, ctx) => ctx.props.nodes ?? h(),\n});\n","export const BrowserPrintApiUrl = {\n Http: 'http://localhost:9100',\n Https: 'https://localhost:9101',\n} as const;\n","// See: https://gist.github.com/metafloor/773bc61480d1d05a976184d45099ef56\nexport const ZebraPrinterHostQuery = {\n CheckStatus: '~HQES',\n GetHardwareAddress: '~HQHA',\n GetPrintHeadSummary: '~HQJT',\n GetCurrentSettings: '~HQMA',\n GetSerialNumber: '~HQSN',\n GetProductIdAndVersion: '~HQUI',\n} as const;\n\nexport const ZebraPrinterLabelDefinition = {\n DefinitionStart: '^XA',\n DefinitionEnd: '^XZ',\n} as const;\n","import { CheckAvailablePrintersResponse } from './client-response';\nimport { BrowserPrintApiUrl } from './constants/api-url';\nimport {\n ZebraPrinterHostQuery,\n ZebraPrinterLabelDefinition,\n} from './constants/commands';\nimport { PrintError } from './errors';\nimport type { Device, PrintInit } from './types';\n\nexport class ZebraPrintService {\n private readonly apiUrl: string;\n\n /** The target printer to send commands to. */\n private device?: Device;\n\n /** Indicates if the connection is to BrowserPrint is served over HTTPS. */\n public readonly isSSLConnection: boolean;\n\n constructor(options: PrintInit = { https: true }) {\n this.isSSLConnection = options.https;\n this.apiUrl = options.https\n ? BrowserPrintApiUrl.Https\n : BrowserPrintApiUrl.Http;\n }\n\n /** Gets a list of available Zebra printers. */\n public async getAvailablePrintersAsync() {\n const endpoint = this.apiUrl + '/available';\n\n try {\n const res = await fetch(endpoint, {\n method: 'GET',\n headers: {\n 'Content-Type': 'text/plain;charset=UTF-8',\n },\n });\n\n const data: CheckAvailablePrintersResponse = await res.json();\n return data.printer || [];\n } catch (error) {\n if (error instanceof PrintError) throw error;\n throw new PrintError(error as any, this.device);\n }\n }\n\n /** Gets the default printer configured in the Zebra Browser Client app. */\n public async getDefaultPrinterAsync(): Promise {\n const endpoint = this.apiUrl + '/default';\n\n try {\n const res = await fetch(endpoint, {\n method: 'GET',\n headers: {\n 'Content-Type': 'text/plain;charset=UTF-8',\n },\n });\n\n const data = await res.text();\n\n if (data && typeof data !== 'object' && data.split('\\n\\t').length === 7) {\n const deviceRaw = data.split('\\n\\t');\n\n const name = this.cleanUpString(deviceRaw[1]);\n const deviceType = this.cleanUpString(deviceRaw[2]);\n const connection = this.cleanUpString(deviceRaw[3]);\n const uid = this.cleanUpString(deviceRaw[4]);\n const provider = this.cleanUpString(deviceRaw[5]);\n const manufacturer = this.cleanUpString(deviceRaw[6]);\n\n return {\n connection,\n deviceType,\n manufacturer,\n name,\n provider,\n uid,\n version: 0,\n };\n }\n\n return null;\n } catch (error) {\n if (error instanceof PrintError) throw error;\n throw new PrintError(error as any, this.device);\n }\n }\n\n /** Sets the target printer to send commands to. */\n public setTargetPrinter(device?: Device): void {\n this.device = device;\n }\n\n /** Gets the target printer the service is configured to send commands to. */\n public getTargetPrinter(): Device | null {\n return this.device || null;\n }\n\n /** Checks the status of the printer. */\n public async checkStatusAsync() {\n await this.writeAsync(ZebraPrinterHostQuery.CheckStatus);\n const result = await this.readAsync();\n\n const errors: string[] = [];\n let isReadyToPrint = false;\n\n const isError = result.charAt(70);\n const media = result.charAt(88);\n const head = result.charAt(87);\n const pause = result.charAt(84);\n\n isReadyToPrint = isError === '0';\n\n switch (media) {\n case '1':\n errors.push('Paper out');\n break;\n case '2':\n errors.push('Ribbon Out');\n break;\n case '4':\n errors.push('Media Door Open');\n break;\n case '8':\n errors.push('Cutter Fault');\n break;\n default:\n break;\n }\n\n switch (head) {\n case '1':\n errors.push('Printhead Overheating');\n break;\n case '2':\n errors.push('Motor Overheating');\n break;\n case '4':\n errors.push('Printhead Fault');\n break;\n case '8':\n errors.push('Incorrect Printhead');\n break;\n default:\n break;\n }\n\n if (pause === '1') errors.push('Printer Paused');\n\n if (!isReadyToPrint && errors.length === 0)\n errors.push('Error: Unknown Error');\n\n return {\n ready: isReadyToPrint,\n errors: errors.join(),\n };\n }\n\n /** Sends a ZPL command to the printer for label printing. **/\n public async printAsync(zpl: string): Promise {\n this.assertZplIsValidLabelDefinition(zpl);\n\n try {\n await this.writeAsync(zpl);\n } catch (error) {\n if (error instanceof PrintError) throw error;\n throw new PrintError(error as any, this.device);\n }\n }\n\n /**\n * Validates the SSL certificate of the BrowserPrint connection by opening a new tab to the endpoint.\n */\n public validateSslCertificate(): void {\n const endpoint = `${this.apiUrl}/ssl_support`;\n window.open(endpoint, '_blank');\n }\n\n /**\n * Validates the SSL certificate of the BrowserPrint connection.\n * @returns True if the SSL certificate is valid, false otherwise.\n */\n public async validateSslCertificateSilentlyAsync(): Promise {\n const endpoint = `${this.apiUrl}/ssl_support`;\n const successMessage = 'SSL Certificate Has been accepted. Retry connection.' as const;\n\n const res = await fetch(endpoint, {\n method: 'GET',\n headers: {\n 'Content-Type': 'text/plain;charset=UTF-8',\n },\n });\n\n if (!res.ok) return false;\n\n const data = await res.text();\n return data === successMessage;\n }\n\n /**\n * Reads the response from the printer.\n * @returns The response from the printer.\n */\n private async readAsync(): Promise {\n try {\n const endpoint = this.apiUrl + '/read';\n\n if (!this.device) throw new PrintError('Target printer is not set');\n\n // TODO: create a type for this\n const body = { device: this.device };\n\n const res = await fetch(endpoint, {\n method: 'POST',\n headers: {\n 'Content-Type': 'text/plain;charset=UTF-8',\n },\n body: JSON.stringify(body),\n });\n const data = await res.text();\n return data;\n } catch (error) {\n if (error instanceof PrintError) throw error;\n throw new PrintError(error as any, this.device);\n }\n }\n\n /** Sends the ZPL command to the printer. */\n private async writeAsync(zpl: string): Promise {\n try {\n const endpoint = this.apiUrl + '/write';\n\n // this.assertZplIsValid(zpl);\n\n if (!this.device) throw new PrintError('Target printer is not set');\n\n // TODO: create a type for this\n const body = {\n device: this.device,\n data: zpl,\n };\n\n await fetch(endpoint, {\n method: 'POST',\n headers: {\n 'Content-Type': 'text/plain;charset=UTF-8',\n },\n body: JSON.stringify(body),\n });\n } catch (error) {\n if (error instanceof PrintError) throw error;\n throw new PrintError(error as any, this.device);\n }\n }\n\n /** Asserts that the ZPL command is valid. */\n private assertZplIsValid(zpl: string) {\n const labelStart = '^';\n const commandStart = '~';\n if ([labelStart, commandStart].includes(zpl.trim().charAt(0))) return;\n\n throw new PrintError(\n `Invalid ZPL command. ZPL command must start with ^ or ~\n ${zpl}`,\n this.device\n );\n }\n\n /** Asserts that the ZPL label definition is valid. */\n private assertZplIsValidLabelDefinition(zpl: string): void {\n if (\n !zpl.trim().startsWith(ZebraPrinterLabelDefinition.DefinitionStart) ||\n !zpl.trim().endsWith(ZebraPrinterLabelDefinition.DefinitionEnd)\n )\n throw new PrintError('Invalid ZPL label definition', this.device);\n }\n\n private cleanUpString(str: string): string {\n const arr = str.split(':');\n const result = arr[1].trim();\n return result;\n }\n}\n","import { defineNuxtPlugin } from '@nuxtjs/composition-api';\nimport { ZebraPrintService } from '~/app/core/services/barcoding/printing';\n// import { ITenantState } from '~/store/tenant';\n\nexport default defineNuxtPlugin((_, inject) => {\n // const { tenant } = store.state.tenant as ITenantState;\n // if (!tenant!.configuration.features.barcoding.printing.enabled) return;\n\n const service = new ZebraPrintService({ https: false });\n // @ts-expect-error\n window.browserPrint = service;\n\n inject('browserPrint', service);\n});\n","import { setMetaPlugin } from '@nuxtjs/composition-api'\n\nexport default setMetaPlugin\n","import Vue from 'vue'\nimport Vuex from 'vuex'\nimport Meta from 'vue-meta'\nimport ClientOnly from 'vue-client-only'\nimport NoSsr from 'vue-no-ssr'\nimport { createRouter } from './router.js'\nimport NuxtChild from './components/nuxt-child.js'\nimport NuxtError from '../layouts/error.vue'\nimport Nuxt from './components/nuxt.js'\nimport App from './App.js'\nimport { setContext, getLocation, getRouteData, normalizeError } from './utils'\nimport { createStore } from './store.js'\n\n/* Plugins */\n\nimport nuxt_plugin_plugin_5fb947ad from 'nuxt_plugin_plugin_5fb947ad' // Source: ./composition-api/plugin.mjs (mode: 'all')\nimport nuxt_plugin_appinsightsserver_64376c48 from 'nuxt_plugin_appinsightsserver_64376c48' // Source: ./appinsights.server.js (mode: 'server')\nimport nuxt_plugin_appinsightsclient_03040a80 from 'nuxt_plugin_appinsightsclient_03040a80' // Source: ./appinsights.client.js (mode: 'client')\nimport nuxt_plugin_httpserver_0f0d45c8 from 'nuxt_plugin_httpserver_0f0d45c8' // Source: ./http.server.js (mode: 'server')\nimport nuxt_plugin_http_37b971d5 from 'nuxt_plugin_http_37b971d5' // Source: ./http.js (mode: 'all')\nimport nuxt_plugin_workbox_bdbda912 from 'nuxt_plugin_workbox_bdbda912' // Source: ./workbox.js (mode: 'client')\nimport nuxt_plugin_metaplugin_1bef0b8a from 'nuxt_plugin_metaplugin_1bef0b8a' // Source: ./pwa/meta.plugin.js (mode: 'all')\nimport nuxt_plugin_browser_2063421c from 'nuxt_plugin_browser_2063421c' // Source: ../plugins/browser (mode: 'all')\nimport nuxt_plugin_version_08775ebc from 'nuxt_plugin_version_08775ebc' // Source: ../plugins/version (mode: 'all')\nimport nuxt_plugin_update_36e3f134 from 'nuxt_plugin_update_36e3f134' // Source: ../plugins/pwa/update (mode: 'client')\nimport nuxt_plugin_tenant_15755e35 from 'nuxt_plugin_tenant_15755e35' // Source: ../plugins/api/tenant (mode: 'all')\nimport nuxt_plugin_auth_6a7e4e1e from 'nuxt_plugin_auth_6a7e4e1e' // Source: ../plugins/auth (mode: 'client')\nimport nuxt_plugin_primary_48e96c52 from 'nuxt_plugin_primary_48e96c52' // Source: ../plugins/api/primary (mode: 'all')\nimport nuxt_plugin_logging_099401ae from 'nuxt_plugin_logging_099401ae' // Source: ../plugins/logging (mode: 'client')\nimport nuxt_plugin_sentry_5e328985 from 'nuxt_plugin_sentry_5e328985' // Source: ../plugins/logging/sentry (mode: 'client')\nimport nuxt_plugin_intercom_1516e49b from 'nuxt_plugin_intercom_1516e49b' // Source: ../plugins/intercom (mode: 'client')\nimport nuxt_plugin_appinsights_b74e19a6 from 'nuxt_plugin_appinsights_b74e19a6' // Source: ../plugins/logging/app-insights (mode: 'client')\nimport nuxt_plugin_idletimer_a72e27fc from 'nuxt_plugin_idletimer_a72e27fc' // Source: ../plugins/idle-timer (mode: 'client')\nimport nuxt_plugin_userregistration_59ab3a76 from 'nuxt_plugin_userregistration_59ab3a76' // Source: ../plugins/user-registration (mode: 'client')\nimport nuxt_plugin_abilities_5aab66dc from 'nuxt_plugin_abilities_5aab66dc' // Source: ../plugins/abilities (mode: 'client')\nimport nuxt_plugin_bootstrap_41833b99 from 'nuxt_plugin_bootstrap_41833b99' // Source: ../plugins/module-system/bootstrap (mode: 'all')\nimport nuxt_plugin_language_da2c4e64 from 'nuxt_plugin_language_da2c4e64' // Source: ../plugins/language (mode: 'all')\nimport nuxt_plugin_index_7b59f844 from 'nuxt_plugin_index_7b59f844' // Source: ../plugins/components/antd-ui/index (mode: 'all')\nimport nuxt_plugin_global_786b47f4 from 'nuxt_plugin_global_786b47f4' // Source: ../plugins/components/global (mode: 'all')\nimport nuxt_plugin_zebra_32b78d60 from 'nuxt_plugin_zebra_32b78d60' // Source: ../plugins/zebra (mode: 'client')\nimport nuxt_plugin_meta_968dac02 from 'nuxt_plugin_meta_968dac02' // Source: ./composition-api/meta.mjs (mode: 'all')\n\n// Component: \nVue.component(ClientOnly.name, ClientOnly)\n\n// TODO: Remove in Nuxt 3: \nVue.component(NoSsr.name, {\n ...NoSsr,\n render (h, ctx) {\n if (process.client && !NoSsr._warned) {\n NoSsr._warned = true\n\n console.warn(' has been deprecated and will be removed in Nuxt 3, please use instead')\n }\n return NoSsr.render(h, ctx)\n }\n})\n\n// Component: \nVue.component(NuxtChild.name, NuxtChild)\nVue.component('NChild', NuxtChild)\n\n// Component NuxtLink is imported in server.js or client.js\n\n// Component: \nVue.component(Nuxt.name, Nuxt)\n\nObject.defineProperty(Vue.prototype, '$nuxt', {\n get() {\n const globalNuxt = this.$root.$options.$nuxt\n if (process.client && !globalNuxt && typeof window !== 'undefined') {\n return window.$nuxt\n }\n return globalNuxt\n },\n configurable: true\n})\n\nVue.use(Meta, {\"keyName\":\"head\",\"attribute\":\"data-n-head\",\"ssrAttribute\":\"data-n-head-ssr\",\"tagIDKeyName\":\"hid\"})\n\nconst defaultTransition = {\"enterActiveClass\":\"transition ease-out duration-200 transform origin-left\",\"enterClass\":\"opacity-0 scale-95\",\"enterToClass\":\"opacity-100 scale-100\",\"leaveActiveClass\":\"transition ease-in duration-150 transform origin-left\",\"leaveClass\":\"opacity-100 scale-100\",\"leaveToClass\":\"opacity-0 scale-95\",\"name\":\"page\",\"mode\":\"out-in\",\"appear\":true,\"appearClass\":\"appear\",\"appearActiveClass\":\"appear-active\",\"appearToClass\":\"appear-to\"}\n\nconst originalRegisterModule = Vuex.Store.prototype.registerModule\n\nfunction registerModule (path, rawModule, options = {}) {\n const preserveState = process.client && (\n Array.isArray(path)\n ? !!path.reduce((namespacedState, path) => namespacedState && namespacedState[path], this.state)\n : path in this.state\n )\n return originalRegisterModule.call(this, path, rawModule, { preserveState, ...options })\n}\n\nasync function createApp(ssrContext, config = {}) {\n const router = await createRouter(ssrContext, config)\n\n const store = createStore(ssrContext)\n // Add this.$router into store actions/mutations\n store.$router = router\n\n // Create Root instance\n\n // here we inject the router and store to all child components,\n // making them available everywhere as `this.$router` and `this.$store`.\n const app = {\n head: {\"title\":\"MorgueBoard® | Decedent Tracking & Morgue Management\",\"htmlAttrs\":{\"lang\":\"en\"},\"meta\":[{\"charset\":\"utf-8\"},{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1, viewport-fit=cover\"},{\"hid\":\"description\",\"name\":\"description\",\"content\":\"MorgueBoard® is a revolutionary and reliable solution for decedent tracking throughout all care-after-death and morgue procedures. HIPAA-compliant cloud application, offers a clear and up-to-date status and location of all deceased patients within any healthcare institution.\"},{\"name\":\"msapplication-TileColor\",\"content\":\"#212121\"},{\"name\":\"msapplication-TileImage\",\"content\":\"\\u002Fmstile-144x144.png\"},{\"name\":\"theme-color\",\"content\":\"#212121\"},{\"hid\":\"og:title\",\"property\":\"og:title\",\"content\":\"MorgueBoard® | Decedent Tracking & Morgue Management\"},{\"hid\":\"og:site_name\",\"property\":\"og:site_name\",\"content\":\"MorgueBoard® | Decedent Tracking & Morgue Management\"},{\"hid\":\"og:description\",\"property\":\"og:description\",\"content\":\"MorgueBoard® is a revolutionary and reliable solution for decedent tracking throughout all care-after-death and morgue procedures. HIPAA-compliant cloud application, offers a clear and up-to-date status and location of all deceased patients within any healthcare institution.\"},{\"hid\":\"og:type\",\"property\":\"og:type\",\"content\":\"website\"},{\"hid\":\"og:url\",\"property\":\"og:url\",\"content\":\"https:\\u002F\\u002Fmorgueboard.com\"},{\"hid\":\"og:image\",\"property\":\"og:image\",\"content\":\"https:\\u002F\\u002Fmorgueboard.app\\u002Fsocial-image.png\"},{\"hid\":\"og:image:secure_url\",\"property\":\"og:image:secure_url\",\"content\":\"https:\\u002F\\u002Fmorgueboard.app\\u002Fsocial-image.png\"},{\"hid\":\"og:image:width\",\"property\":\"og:image:width\",\"content\":\"1200\"},{\"hid\":\"og:image:height\",\"property\":\"og:image:height\",\"content\":\"630\"},{\"hid\":\"og:image:type\",\"property\":\"og:image:type\",\"content\":\"image\\u002Fpng\"},{\"hid\":\"og:image:alt\",\"property\":\"og:image:alt\",\"content\":\"MorgueBoard® application displayed on the screens of a desktop computer, a mobile phone, and a tablet.\"},{\"hid\":\"twitter:card\",\"name\":\"twitter:card\",\"content\":\"app\"},{\"hid\":\"twitter:site\",\"name\":\"twitter:site\",\"content\":\"@whytespace\"},{\"hid\":\"twitter:image:alt\",\"name\":\"twitter:image:alt\",\"content\":\"MorgueBoard® application displayed on the screens of a desktop computer, a mobile phone, and a tablet.\"}],\"link\":[{\"rel\":\"icon\",\"type\":\"image\\u002Fx-icon\",\"href\":\"\\u002Ffavicon.ico\"},{\"rel\":\"apple-touch-icon\",\"sizes\":\"180x180\",\"href\":\"\\u002Fapple-touch-icon.png\"},{\"rel\":\"icon\",\"type\":\"image\\u002Fpng\",\"sizes\":\"32x32\",\"href\":\"\\u002Ffavicon-32x32.png\"},{\"rel\":\"icon\",\"type\":\"image\\u002Fpng\",\"sizes\":\"16x16\",\"href\":\"\\u002Ffavicon-16x16.png\"},{\"rel\":\"mask-icon\",\"href\":\"\\u002Fsafari-pinned-tab.svg\",\"color\":\"#212121\"}],\"style\":[],\"script\":[]},\n\n store,\n router,\n nuxt: {\n defaultTransition,\n transitions: [defaultTransition],\n setTransitions (transitions) {\n if (!Array.isArray(transitions)) {\n transitions = [transitions]\n }\n transitions = transitions.map((transition) => {\n if (!transition) {\n transition = defaultTransition\n } else if (typeof transition === 'string') {\n transition = Object.assign({}, defaultTransition, { name: transition })\n } else {\n transition = Object.assign({}, defaultTransition, transition)\n }\n return transition\n })\n this.$options.nuxt.transitions = transitions\n return transitions\n },\n\n err: null,\n dateErr: null,\n error (err) {\n err = err || null\n app.context._errored = Boolean(err)\n err = err ? normalizeError(err) : null\n let nuxt = app.nuxt // to work with @vue/composition-api, see https://github.com/nuxt/nuxt.js/issues/6517#issuecomment-573280207\n if (this) {\n nuxt = this.nuxt || this.$options.nuxt\n }\n nuxt.dateErr = Date.now()\n nuxt.err = err\n // Used in src/server.js\n if (ssrContext) {\n ssrContext.nuxt.error = err\n }\n return err\n }\n },\n ...App\n }\n\n // Make app available into store via this.app\n store.app = app\n\n const next = ssrContext ? ssrContext.next : location => app.router.push(location)\n // Resolve route\n let route\n if (ssrContext) {\n route = router.resolve(ssrContext.url).route\n } else {\n const path = getLocation(router.options.base, router.options.mode)\n route = router.resolve(path).route\n }\n\n // Set context to app.context\n await setContext(app, {\n store,\n route,\n next,\n error: app.nuxt.error.bind(app),\n payload: ssrContext ? ssrContext.payload : undefined,\n req: ssrContext ? ssrContext.req : undefined,\n res: ssrContext ? ssrContext.res : undefined,\n beforeRenderFns: ssrContext ? ssrContext.beforeRenderFns : undefined,\n ssrContext\n })\n\n function inject(key, value) {\n if (!key) {\n throw new Error('inject(key, value) has no key provided')\n }\n if (value === undefined) {\n throw new Error(`inject('${key}', value) has no value provided`)\n }\n\n key = '$' + key\n // Add into app\n app[key] = value\n // Add into context\n if (!app.context[key]) {\n app.context[key] = value\n }\n\n // Add into store\n store[key] = app[key]\n\n // Check if plugin not already installed\n const installKey = '__nuxt_' + key + '_installed__'\n if (Vue[installKey]) {\n return\n }\n Vue[installKey] = true\n // Call Vue.use() to install the plugin into vm\n Vue.use(() => {\n if (!Object.prototype.hasOwnProperty.call(Vue.prototype, key)) {\n Object.defineProperty(Vue.prototype, key, {\n get () {\n return this.$root.$options[key]\n }\n })\n }\n })\n }\n\n // Inject runtime config as $config\n inject('config', config)\n\n if (process.client) {\n // Replace store state before plugins execution\n if (window.__NUXT__ && window.__NUXT__.state) {\n store.replaceState(window.__NUXT__.state)\n }\n }\n\n // Add enablePreview(previewData = {}) in context for plugins\n if (process.static && process.client) {\n app.context.enablePreview = function (previewData = {}) {\n app.previewData = Object.assign({}, previewData)\n inject('preview', previewData)\n }\n }\n // Plugin execution\n\n if (typeof nuxt_plugin_plugin_5fb947ad === 'function') {\n await nuxt_plugin_plugin_5fb947ad(app.context, inject)\n }\n\n if (process.server && typeof nuxt_plugin_appinsightsserver_64376c48 === 'function') {\n await nuxt_plugin_appinsightsserver_64376c48(app.context, inject)\n }\n\n if (process.client && typeof nuxt_plugin_appinsightsclient_03040a80 === 'function') {\n await nuxt_plugin_appinsightsclient_03040a80(app.context, inject)\n }\n\n if (process.server && typeof nuxt_plugin_httpserver_0f0d45c8 === 'function') {\n await nuxt_plugin_httpserver_0f0d45c8(app.context, inject)\n }\n\n if (typeof nuxt_plugin_http_37b971d5 === 'function') {\n await nuxt_plugin_http_37b971d5(app.context, inject)\n }\n\n if (process.client && typeof nuxt_plugin_workbox_bdbda912 === 'function') {\n await nuxt_plugin_workbox_bdbda912(app.context, inject)\n }\n\n if (typeof nuxt_plugin_metaplugin_1bef0b8a === 'function') {\n await nuxt_plugin_metaplugin_1bef0b8a(app.context, inject)\n }\n\n if (typeof nuxt_plugin_browser_2063421c === 'function') {\n await nuxt_plugin_browser_2063421c(app.context, inject)\n }\n\n if (typeof nuxt_plugin_version_08775ebc === 'function') {\n await nuxt_plugin_version_08775ebc(app.context, inject)\n }\n\n if (process.client && typeof nuxt_plugin_update_36e3f134 === 'function') {\n await nuxt_plugin_update_36e3f134(app.context, inject)\n }\n\n if (typeof nuxt_plugin_tenant_15755e35 === 'function') {\n await nuxt_plugin_tenant_15755e35(app.context, inject)\n }\n\n if (process.client && typeof nuxt_plugin_auth_6a7e4e1e === 'function') {\n await nuxt_plugin_auth_6a7e4e1e(app.context, inject)\n }\n\n if (typeof nuxt_plugin_primary_48e96c52 === 'function') {\n await nuxt_plugin_primary_48e96c52(app.context, inject)\n }\n\n if (process.client && typeof nuxt_plugin_logging_099401ae === 'function') {\n await nuxt_plugin_logging_099401ae(app.context, inject)\n }\n\n if (process.client && typeof nuxt_plugin_sentry_5e328985 === 'function') {\n await nuxt_plugin_sentry_5e328985(app.context, inject)\n }\n\n if (process.client && typeof nuxt_plugin_intercom_1516e49b === 'function') {\n await nuxt_plugin_intercom_1516e49b(app.context, inject)\n }\n\n if (process.client && typeof nuxt_plugin_appinsights_b74e19a6 === 'function') {\n await nuxt_plugin_appinsights_b74e19a6(app.context, inject)\n }\n\n if (process.client && typeof nuxt_plugin_idletimer_a72e27fc === 'function') {\n await nuxt_plugin_idletimer_a72e27fc(app.context, inject)\n }\n\n if (process.client && typeof nuxt_plugin_userregistration_59ab3a76 === 'function') {\n await nuxt_plugin_userregistration_59ab3a76(app.context, inject)\n }\n\n if (process.client && typeof nuxt_plugin_abilities_5aab66dc === 'function') {\n await nuxt_plugin_abilities_5aab66dc(app.context, inject)\n }\n\n if (typeof nuxt_plugin_bootstrap_41833b99 === 'function') {\n await nuxt_plugin_bootstrap_41833b99(app.context, inject)\n }\n\n if (typeof nuxt_plugin_language_da2c4e64 === 'function') {\n await nuxt_plugin_language_da2c4e64(app.context, inject)\n }\n\n if (typeof nuxt_plugin_index_7b59f844 === 'function') {\n await nuxt_plugin_index_7b59f844(app.context, inject)\n }\n\n if (typeof nuxt_plugin_global_786b47f4 === 'function') {\n await nuxt_plugin_global_786b47f4(app.context, inject)\n }\n\n if (process.client && typeof nuxt_plugin_zebra_32b78d60 === 'function') {\n await nuxt_plugin_zebra_32b78d60(app.context, inject)\n }\n\n if (typeof nuxt_plugin_meta_968dac02 === 'function') {\n await nuxt_plugin_meta_968dac02(app.context, inject)\n }\n\n // Lock enablePreview in context\n if (process.static && process.client) {\n app.context.enablePreview = function () {\n console.warn('You cannot call enablePreview() outside a plugin.')\n }\n }\n\n // Wait for async component to be resolved first\n await new Promise((resolve, reject) => {\n // Ignore 404s rather than blindly replacing URL in browser\n if (process.client) {\n const { route } = router.resolve(app.context.route.fullPath)\n if (!route.matched.length) {\n return resolve()\n }\n }\n router.replace(app.context.route.fullPath, resolve, (err) => {\n // https://github.com/vuejs/vue-router/blob/v3.4.3/src/util/errors.js\n if (!err._isRouter) return reject(err)\n if (err.type !== 2 /* NavigationFailureType.redirected */) return resolve()\n\n // navigated to a different route in router guard\n const unregister = router.afterEach(async (to, from) => {\n if (process.server && ssrContext && ssrContext.url) {\n ssrContext.url = to.fullPath\n }\n app.context.route = await getRouteData(to)\n app.context.params = to.params || {}\n app.context.query = to.query || {}\n unregister()\n resolve()\n })\n })\n })\n\n return {\n store,\n app,\n router\n }\n}\n\nexport { createApp, NuxtError }\n","import { useStoreModule } from './use-store-module';\nimport { ITenantState, moduleName as TenantModuleName } from '~/store/tenant';\nimport { Tenant, TenantConfiguration } from '~/app/models';\n\nexport function useTenantConfig() {\n const tenantStore = useStoreModule(TenantModuleName);\n const tenant = tenantStore.state.tenant as Tenant;\n const config: TenantConfiguration = tenant.configuration;\n return config;\n}\n\nexport function useTenantConfigCaseSection<\n K extends keyof TenantConfiguration['cases']\n>(section: K) {\n const tenantStore = useStoreModule(TenantModuleName);\n const tenant = tenantStore.state.tenant as Tenant;\n const config = tenant.configuration.cases;\n return config[section];\n}\n","import { IApiFactory } from './IApiFactory';\n\nconst DEFAULT_API_NAME = '__default';\nconst registeredApis: { [name: string]: any } = {};\n\nexport function registerAPI(\n instance: API,\n name: string = DEFAULT_API_NAME\n) {\n if (name in registeredApis && process.env.NODE_ENV === 'development')\n throw new Error(\n `An API instance has already been registered under the name \"${name}\".`\n );\n\n registeredApis[name] = instance;\n return registeredApis[name] as API;\n}\n\nexport function useAPI(options?: { name: string }) {\n const name = options?.name ?? DEFAULT_API_NAME;\n\n if (!(name in registeredApis))\n throw new Error(\n `An application API instance does not exist under the name \"${name}\".`\n );\n\n return registeredApis[name] as API;\n}\n","import { MutationTree } from 'vuex';\nimport { IAccessState } from './state';\nimport { AccessScopeMasterList, User } from '~/app/models';\n\nexport enum Mutation {\n /** @deprecated use Action.setUser instead. */\n setUser = 'SET_USER',\n setAccessScopeMasterList = 'SET_ACCESS_SCOPE_MASTER_LIST',\n}\n\nexport const mutations: MutationTree = {\n [Mutation.setUser](state, user: Readonly) {\n state.user = user;\n },\n [Mutation.setAccessScopeMasterList](\n state,\n masterList: Readonly\n ) {\n state.accessScopeMasterList = masterList;\n },\n};\n\nexport default mutations;\n","import { computed, useContext } from '@nuxtjs/composition-api';\nimport { IntercomSpace } from '../core/services/intercom';\nimport { useTenantConfig } from './use-tenant-config';\n\nexport function useIntercom() {\n const { $config, $intercom } = useContext();\n const { features } = useTenantConfig();\n\n const isOpen = computed(() => $intercom?.isOpen.value ?? false);\n const unreadCount = computed(() => $intercom.unreadCount.value || 0);\n\n return {\n enabled: $config.intercom.enabled && features.intercomEnabled,\n show: (space?: IntercomSpace) => $intercom?.show(space),\n hide: () => $intercom?.hide(),\n isOpen,\n unreadCount,\n };\n}\n","export { getActiveModules, getActiveModulesRef, useModule } from './use-module';\n","import { message, Modal } from 'ant-design-vue';\n\nexport const useSuccessModal = () => Modal.success;\nexport const useInfoModal = () => Modal.info;\nexport const useErrorModal = () => Modal.error;\nexport const useWarningModal = () => Modal.warning;\nexport const useConfirmModal = () => Modal.confirm;\n\nexport const useLoadingMessage = () => message.loading;\nexport const useSuccessMessage = () => message.success;\nexport const useInfoMessage = () => message.info;\nexport const useErrorMessage = () => message.error;\nexport const useWarningMessage = () => message.warning;\nexport const useMessage = () => message.open;\n","import { computed, isRef, ref } from '@vue/composition-api';\nimport { formatDate } from '~/app/models/dates/utils';\n\nfunction differenceInDays(dateLeft: Date, dateRight: Date): number {\n const left = new Date(\n dateLeft.getFullYear(),\n dateLeft.getMonth(),\n dateLeft.getDate()\n );\n const right = new Date(\n dateRight.getFullYear(),\n dateRight.getMonth(),\n dateRight.getDate()\n );\n const msPerDay = 1000 * 60 * 60 * 24;\n return Math.floor((left.getTime() - right.getTime()) / msPerDay);\n}\n\nexport const ExpirationStatus = Object.freeze({\n good: 'good',\n warning: 'warning',\n danger: 'danger',\n});\n\nexport type ExpirationStatusConfig = {\n [status in keyof Omit]: number;\n};\n\nconst defaultDurationColor: ExpirationStatusConfig = {\n warning: 2,\n danger: 3,\n};\n\nexport function useExpirationFormatter(\n expirationDate: MaybeRef,\n statusConfig: ExpirationStatusConfig = defaultDurationColor\n) {\n if (statusConfig.warning >= statusConfig.danger)\n throw new Error(\n 'The warning configuration can not be greater than or equal to the danger configuration.'\n );\n\n const expirationDateRef = isRef(expirationDate)\n ? expirationDate\n : ref(expirationDate);\n\n const daysDiffFromNow = computed(() =>\n expirationDateRef.value\n ? differenceInDays(new Date(), expirationDateRef.value as Date)\n : undefined\n );\n\n const formattedDuration = computed(() => {\n const diff = differenceInDays(new Date(), expirationDateRef.value as Date);\n if (diff < 1) return 'Today';\n return `${diff} day${diff > 1 ? 's' : ''}`;\n });\n\n const formattedDate = computed(() =>\n formatDate(expirationDateRef.value as Date, { type: 'pretty' })\n );\n\n const status = computed(() => {\n if (daysDiffFromNow.value === undefined) return undefined;\n\n const { warning, danger } = statusConfig;\n if (daysDiffFromNow.value >= danger) return ExpirationStatus.danger;\n\n if (daysDiffFromNow.value >= warning && daysDiffFromNow.value < danger)\n return ExpirationStatus.warning;\n\n return ExpirationStatus.good;\n });\n\n return {\n formattedDate,\n formattedDuration,\n daysDiffFromNow,\n status,\n };\n}\n","import { Type } from 'class-transformer';\n\nexport enum CaseInsightType {\n Unknown = 0,\n Autopsy = 1,\n DonationProcurement = 2,\n MedicolegalInvestigation = 3,\n FuneralHome = 4,\n PersonalBelongings = 5,\n FluidLocation = 6,\n}\n\nexport class CaseSummaryInsightTask {\n public readonly type!: CaseInsightType;\n public readonly name!: string;\n public readonly isCompleted!: boolean;\n}\n\nexport class CaseSummaryInsights {\n @Type(() => CaseSummaryInsightTask)\n public readonly tasks!: CaseSummaryInsightTask[];\n\n constructor(args?: Partial) {\n this.tasks = args?.tasks || [];\n }\n}\n","export enum ModalEvent {\n /** The modal visibility was changed. */\n updateVisible = 'update:visible',\n /** The case was checked in. */\n checkInCase = 'checkIn:case',\n /** The checkout modal was closed. */\n closed = 'closed',\n}\n","export enum ModalEvent {\n /** The modal visibility was changed. */\n updateVisible = 'update:visible',\n /** The case was transferred. */\n transferCase = 'transfer:case',\n /** The modal was closed. */\n closed = 'closed',\n}\n","export enum ModalEvent {\n /** The modal visibility was changed. */\n updateVisible = 'update:visible',\n /** The case was checked out. */\n checkoutCase = 'checkout:case',\n /** The checkout modal was closed. */\n closed = 'closed',\n}\n","import { MutationTree } from 'vuex';\nimport { ITenantState } from './state';\nimport { Tenant } from '~/app/models';\n\nexport enum Mutation {\n setTenant = 'SET_TENANT',\n}\n\nexport const mutations: MutationTree = {\n [Mutation.setTenant](state, tenant: Readonly) {\n state.tenant = tenant;\n },\n};\n\nexport default mutations;\n","import { plainToInstance } from 'class-transformer';\nimport { PartialApiFactory } from '../partial-factory';\nimport { IApiFactory } from '../../IApiFactory';\nimport { AlertSetting } from '~/app/models';\n\nexport const createAlertsApi: PartialApiFactory = (\n api\n) => {\n return {\n async getAsync() {\n const alerts = await api.getAsync('Alerts');\n return plainToInstance(AlertSetting, alerts);\n },\n async updateSubscriptionAsync(request) {\n await api.putAsync('Alerts', request);\n },\n };\n};\n","import { plainToInstance } from 'class-transformer';\nimport { PartialApiFactory } from '../partial-factory';\nimport { IApiFactory } from '../../IApiFactory';\nimport { Bodybox, BodyboxCapacity, BodyboxCaseSummary } from '~/app/models';\n\nexport const createBodyboxesApi: PartialApiFactory = (\n api,\n _config\n) => {\n return {\n async getAsync() {\n const boxes = await api.getAsync('Bodyboxes');\n return plainToInstance(Bodybox, boxes);\n },\n async getCaseSummariesAsync(bodyboxId: string) {\n const summaries = await api.getAsync(\n `Bodyboxes/${bodyboxId}/Cases`\n );\n\n summaries.sort((a, b) => {\n if (!a.decedentExpirationDate && !b.decedentExpirationDate) {\n return 0;\n }\n\n if (a.decedentExpirationDate && !b.decedentExpirationDate) {\n return 1;\n }\n\n if (!a.decedentExpirationDate && b.decedentExpirationDate) {\n return -1;\n }\n\n return a.decedentExpirationDate! < b.decedentExpirationDate! ? -1 : 1;\n });\n\n return plainToInstance(BodyboxCaseSummary, summaries);\n },\n async getCapacitiesAsync() {\n const capacities = await api.getAsync(\n 'Bodyboxes/Capacities'\n );\n return plainToInstance(BodyboxCapacity, capacities);\n },\n async addAsync(request) {\n const bodybox = await api.postAsync('Bodyboxes', request);\n return plainToInstance(Bodybox, bodybox);\n },\n async updateAsync(request) {\n const bodybox = await api.putAsync(\n `Bodyboxes/${request.bodyboxId}`,\n request\n );\n return plainToInstance(Bodybox, bodybox);\n },\n async deleteAsync(bodyboxId) {\n await api.deleteAsync(`Bodyboxes/${bodyboxId}`);\n },\n };\n};\n","import { plainToInstance } from 'class-transformer';\nimport { PartialApiFactory } from '../partial-factory';\nimport { IApiFactory } from '../../IApiFactory';\nimport { CreateCaseRequest } from '../../requests/cases/create-case-request';\nimport {\n Age,\n Case,\n CaseEvent,\n CaseSummary,\n TransportPermissionReport,\n} from '~/app/models';\n\nexport const createCasesApi: PartialApiFactory = (\n api\n) => {\n return {\n async getAsync(caseId) {\n const details = await api.getAsync(`UI/Cases/${caseId}`);\n return plainToInstance(Case, details);\n },\n async getSummaryAsync(caseId) {\n const summary = await api.getAsync(`Cases/${caseId}`);\n return plainToInstance(CaseSummary, summary);\n },\n async getOpenAsync() {\n const summaries = await api.getAsync('Cases/Open');\n return Object.freeze(plainToInstance(CaseSummary, summaries));\n },\n async createAsync(request: CreateCaseRequest) {\n const details = await api.postAsync('Cases', request);\n return plainToInstance(Case, details);\n },\n async createAndCheckInAsync(request) {\n const details = await api.postAsync('Cases/CheckIn', request);\n return plainToInstance(Case, details);\n },\n async createAndCheckOutAsync(request) {\n const details = await api.postAsync('Cases/CheckOut', request);\n return plainToInstance(Case, details);\n },\n async updateAsync(request) {\n const details = await api.putAsync(\n `Cases/${request.caseId}`,\n request\n );\n return plainToInstance(Case, details);\n },\n async deleteAsync(request) {\n const details = await api.deleteAsync(`Cases/${request.caseId}`);\n return plainToInstance(Case, details);\n },\n async openAsync(caseId) {\n const details = await api.putAsync(`Cases/${caseId}/open`);\n return plainToInstance(Case, details);\n },\n async closeAsync(caseId) {\n const details = await api.putAsync(`Cases/${caseId}/close`);\n return plainToInstance(Case, details);\n },\n async touchAsync(caseId) {\n const details = await api.putAsync(`Cases/${caseId}/touch`);\n return plainToInstance(Case, details);\n },\n async addNoteAsync(request) {\n const details = await api.postAsync(\n `Cases/${request.caseId}/Note`,\n { note: request.note, tagIds: request.tagIds }\n );\n return plainToInstance(Case, details);\n },\n async getAgeAsync(caseId, dateOfBirth) {\n let endpoint = `UI/Cases/${caseId}/Age`;\n if (dateOfBirth)\n endpoint += `?dateOfBirth=${encodeURIComponent(\n dateOfBirth.toISOString()\n )}`;\n\n return await api.getAsync(endpoint);\n },\n getEventsAsync(caseId) {\n return api.getAsync(`Cases/${caseId}/Events`);\n },\n identification: {\n async matchFieldsAsync(values) {\n const params = new URLSearchParams();\n values.forEach((value) => params.append('values', value));\n\n const summaries = await api.getAsync(\n `CaseIdentification?${params.toString()}`\n );\n\n return Object.freeze(plainToInstance(CaseSummary, summaries));\n },\n async generateBarcodeAsync(request) {\n let endpoint = `CaseIdentification/${request.caseId}/Barcode/${request.templateId}`;\n if (request.encodedVariable)\n endpoint += `?encodedVariable=${request.encodedVariable}`;\n\n const zpl = await api.getAsync(endpoint);\n return zpl;\n },\n },\n transport: {\n async checkInAsync(request) {\n const details = await api.putAsync(\n `Cases/${request.caseId}/CheckIn`,\n request\n );\n return plainToInstance(Case, details);\n },\n async checkoutAsync(request) {\n const details = await api.putAsync(\n `Cases/${request.caseId}/CheckOut`,\n request\n );\n return plainToInstance(Case, details);\n },\n async transferInternalAsync(request) {\n const details = await api.putAsync(\n `Cases/${request.caseId}/Transfer`,\n request\n );\n return plainToInstance(Case, details);\n },\n transferExternalAsync(_request) {\n throw new Error('Not implemented');\n // const details = await api.putAsync(\n // `Cases/${request.caseId}/Transfer`,\n // request\n // );\n // return plainToInstance(Case, details);\n },\n async createCheckOutPermissionReportAsync(request) {\n const report = await api.postAsync(\n 'Cases/CheckOut/Permission',\n request\n );\n return plainToInstance(TransportPermissionReport, report);\n },\n },\n documents: {\n async uploadAsync(request) {\n const fileIds = await api.postAsync(\n 'Cases/Documents',\n request,\n {\n options: {\n // let the browser decide the content type\n headers: { 'Content-Type': undefined },\n },\n }\n );\n\n return fileIds;\n },\n async getAsync(request) {\n const { caseId, documentId } = request;\n const file = await api.getAsync(\n `Cases/${caseId}/Documents/${documentId}`\n );\n return file;\n },\n },\n };\n};\n","import { plainToInstance } from 'class-transformer';\nimport { PartialApiFactory } from '../partial-factory';\nimport { IApiFactory } from '../../IApiFactory';\nimport {\n AddDictionaryItemRequest,\n EditDictionaryItemRequest,\n DeleteDictionaryItemRequest,\n} from '../../requests/dictionaries';\nimport {\n DictionaryItem,\n OrganizationDictionaryItem,\n AssociateOrganizationType,\n SystemTagDictionaryItem,\n ComputedTagDictionaryItem,\n NextOfKinTypeDictionaryItem,\n OriginLocationDictionaryItem,\n DictionaryType,\n CaseTypeDictionaryItem,\n CaseServiceRequirementDictionaryItem,\n CaseServiceStatusDictionaryItem,\n FluidLocationDictionaryItem,\n SigningPhysicianStatusDictionaryItem,\n} from '~/app/models';\n\ntype DictionaryConstructorType = DictionaryType | 'associateOrganization';\n\nfunction ToCamelCase(input: string) {\n return input.length === 0\n ? ''\n : input.charAt(0).toLowerCase() + input.slice(1);\n}\n\nexport const createDictionariesApi: PartialApiFactory<\n IApiFactory,\n 'dictionaries'\n> = (api) => {\n const ctors: {\n [slug in DictionaryConstructorType]?: Constructor;\n } = {\n associateOrganization: OrganizationDictionaryItem,\n autopsyVendor: OrganizationDictionaryItem,\n caseServiceRequirement: CaseServiceRequirementDictionaryItem,\n caseServiceStatus: CaseServiceStatusDictionaryItem,\n caseType: CaseTypeDictionaryItem,\n causeOfDeath: DictionaryItem,\n ethnicity: DictionaryItem,\n fluidLocation: FluidLocationDictionaryItem,\n funeralHome: OrganizationDictionaryItem,\n gender: DictionaryItem,\n infectiousDiseaseType: DictionaryItem,\n medicalExaminer: OrganizationDictionaryItem,\n nextOfKinType: NextOfKinTypeDictionaryItem,\n originLocation: OriginLocationDictionaryItem,\n personalBelongingLocation: DictionaryItem,\n physicianType: DictionaryItem,\n race: DictionaryItem,\n reasonForEngagement: DictionaryItem,\n serviceLine: DictionaryItem,\n signingPhysicianStatus: SigningPhysicianStatusDictionaryItem,\n tag: SystemTagDictionaryItem,\n tissueBank: OrganizationDictionaryItem,\n };\n\n return {\n async getAsync(\n slug: DictionaryType\n ) {\n const items = await api.getAsync(`Dictionaries/${slug}`);\n\n const typeKey = ToCamelCase(slug) as DictionaryType;\n\n return items.map((item) =>\n plainToInstance(ctors[typeKey] || DictionaryItem, item)\n ) as TReturn[];\n },\n async getByIdAsync(\n slug: DictionaryType,\n id: string\n ) {\n if (!slug) throw new Error('slug is required');\n if (!id) throw new Error('id is required');\n\n const item = await api.getAsync(`Dictionaries/${slug}/${id}`);\n\n const typeKey = ToCamelCase(slug) as DictionaryType;\n\n return plainToInstance(ctors[typeKey] || DictionaryItem, item) as TReturn;\n },\n async addAsync<\n TReturn extends DictionaryItem = DictionaryItem,\n TRequest extends AddDictionaryItemRequest = AddDictionaryItemRequest\n >(slug: DictionaryType, request: TRequest) {\n const vendor = await api.postAsync(\n `Dictionaries/${slug}`,\n request\n );\n\n const typeKey = ToCamelCase(slug) as DictionaryType;\n\n return plainToInstance(\n ctors[typeKey] || DictionaryItem,\n vendor\n ) as TReturn;\n },\n async editAsync<\n TReturn extends DictionaryItem = DictionaryItem,\n TRequest extends EditDictionaryItemRequest = EditDictionaryItemRequest\n >(slug: DictionaryType, request: TRequest) {\n const vendor = await api.putAsync(\n `Dictionaries/${slug}/${request.id}`,\n request\n );\n\n const typeKey = ToCamelCase(slug) as DictionaryType;\n\n return plainToInstance(\n ctors[typeKey] || DictionaryItem,\n vendor\n ) as TReturn;\n },\n async deleteAsync<\n TRequest extends DeleteDictionaryItemRequest = DeleteDictionaryItemRequest\n >(slug: string, { entryId }: TRequest) {\n await api.deleteAsync(`Dictionaries/${slug}/${entryId}`);\n },\n\n async getGendersAsync() {\n const items = await api.getAsync('Dictionaries/Gender');\n return plainToInstance(DictionaryItem, items);\n },\n async getGenderAsync(entryId) {\n const gender = await api.getAsync(\n `Dictionaries/Gender/${entryId}`\n );\n return plainToInstance(DictionaryItem, gender);\n },\n async getSystemTagsAsync() {\n const items = await api.getAsync(\n 'Dictionaries/Tag'\n );\n return plainToInstance(SystemTagDictionaryItem, items);\n },\n async getSystemTagAsync(entryId) {\n const tag = await api.getAsync(\n `Dictionaries/Tag/${entryId}`\n );\n return plainToInstance(SystemTagDictionaryItem, tag);\n },\n async getComputedTagsAsync() {\n const items = await api.getAsync(\n 'Dictionaries/Tag/Computed'\n );\n return plainToInstance(ComputedTagDictionaryItem, items);\n },\n async getPersonalBelongingLocationsAsync() {\n const items = await api.getAsync(\n 'Dictionaries/DecedentPropertyLocation'\n );\n return plainToInstance(DictionaryItem, items);\n },\n async getPersonalBelongingLocationAsync(entryId) {\n const location = await api.getAsync(\n `Dictionaries/DecedentPropertyLocation/${entryId}`\n );\n return plainToInstance(DictionaryItem, location);\n },\n async getOriginLocationsAsync() {\n const items = await api.getAsync(\n 'Dictionaries/OriginLocation'\n );\n return plainToInstance(OriginLocationDictionaryItem, items);\n },\n async getOriginLocationAsync(entryId) {\n const location = await api.getAsync(\n `Dictionaries/OriginLocation/${entryId}`\n );\n return plainToInstance(OriginLocationDictionaryItem, location);\n },\n async getAssociateOrganizationsAsync() {\n const items = await api.getAsync(\n 'Dictionaries/AssociateOrganization'\n );\n return plainToInstance(OrganizationDictionaryItem, items);\n },\n async getOrganBanksAsync() {\n const items = await api\n .getAsync(\n 'Dictionaries/AssociateOrganization'\n )\n .then((data) =>\n data.filter(\n (item) => item.type === AssociateOrganizationType.OrganBank\n )\n );\n\n return plainToInstance(OrganizationDictionaryItem, items);\n },\n async getOrganBankAsync(entryId) {\n const organBank = await api.getAsync(\n `Dictionaries/AssociateOrganization/${entryId}`\n );\n\n return plainToInstance(OrganizationDictionaryItem, organBank);\n },\n async getMedicalExaminersAsync() {\n const items = await api\n .getAsync(\n 'Dictionaries/AssociateOrganization'\n )\n .then((data) =>\n data.filter(\n (item) => item.type === AssociateOrganizationType.MedicalExaminer\n )\n );\n\n return plainToInstance(OrganizationDictionaryItem, items);\n },\n async getMedicalExaminerAsync(entryId) {\n const medicalExaminer = await api.getAsync(\n `Dictionaries/AssociateOrganization/${entryId}`\n );\n\n return plainToInstance(OrganizationDictionaryItem, medicalExaminer);\n },\n async getFuneralHomesAsync() {\n const items = await api\n .getAsync(\n 'Dictionaries/AssociateOrganization'\n )\n .then((data) =>\n data.filter(\n (item) => item.type === AssociateOrganizationType.FuneralHome\n )\n );\n return plainToInstance(OrganizationDictionaryItem, items);\n },\n async getFuneralHomeAsync(entryId) {\n const funeralHome = await api.getAsync(\n `Dictionaries/AssociateOrganization/${entryId}`\n );\n return plainToInstance(OrganizationDictionaryItem, funeralHome);\n },\n async getAutopsyVendorsAsync() {\n const items = await api\n .getAsync(\n 'Dictionaries/AssociateOrganization'\n )\n .then((data) =>\n data.filter(\n (item) => item.type === AssociateOrganizationType.AutopsyVendor\n )\n );\n return plainToInstance(OrganizationDictionaryItem, items);\n },\n async getAutopsyVendorAsync(entryId) {\n const vendor = await api.getAsync(\n `Dictionaries/AssociateOrganization/${entryId}`\n );\n return plainToInstance(OrganizationDictionaryItem, vendor);\n },\n async getNextOfKinTypesAsync() {\n const items = await api.getAsync(\n 'Dictionaries/NextOfKinType'\n );\n\n return plainToInstance(NextOfKinTypeDictionaryItem, items);\n },\n async getInfectiousDiseaseTypesAsync() {\n const items = await api.getAsync(\n 'Dictionaries/InfectiousDiseaseType'\n );\n\n return plainToInstance(DictionaryItem, items);\n },\n async getInfectiousDiseaseTypeAsync(entryId) {\n const type = await api.getAsync(\n `Dictionaries/InfectiousDiseaseType/${entryId}`\n );\n\n return plainToInstance(DictionaryItem, type);\n },\n async getNextOfKinTypeAsync(entryId) {\n const type = await api.getAsync(\n `Dictionaries/NextOfKinType/${entryId}`\n );\n\n return plainToInstance(NextOfKinTypeDictionaryItem, type);\n },\n async getCaseTypesAsync() {\n const items = await api.getAsync(\n 'Dictionaries/CaseType'\n );\n\n return plainToInstance(CaseTypeDictionaryItem, items);\n },\n async getCaseTypeAsync(entryId: string) {\n const type = await api.getAsync(\n `Dictionaries/CaseType/${entryId}`\n );\n\n return plainToInstance(CaseTypeDictionaryItem, type);\n },\n\n async addAutopsyVendorAsync(request) {\n const vendor = await api.postAsync(\n 'Dictionaries/AssociateOrganization',\n request\n );\n\n return plainToInstance(OrganizationDictionaryItem, vendor);\n },\n async editAutopsyVendorAsync(request) {\n const vendor = await api.putAsync(\n `Dictionaries/AssociateOrganization/${request.id}`,\n request\n );\n\n return plainToInstance(OrganizationDictionaryItem, vendor);\n },\n async deleteAutopsyVendorAsync({ entryId }) {\n await api.deleteAsync(\n `Dictionaries/AssociateOrganization/${entryId}`\n );\n },\n async addFuneralHomeAsync(request) {\n const funeralHome = await api.postAsync(\n 'Dictionaries/AssociateOrganization',\n request\n );\n\n return plainToInstance(OrganizationDictionaryItem, funeralHome);\n },\n async editFuneralHomeAsync(request) {\n const funeralHome = await api.putAsync(\n `Dictionaries/AssociateOrganization/${request.id}`,\n request\n );\n\n return plainToInstance(OrganizationDictionaryItem, funeralHome);\n },\n async deleteFuneralHomeAsync({ entryId }) {\n await api.deleteAsync(\n `Dictionaries/AssociateOrganization/${entryId}`\n );\n },\n async addGenderAsync(request) {\n const gender = await api.postAsync(\n 'Dictionaries/Gender',\n request\n );\n\n return plainToInstance(DictionaryItem, gender);\n },\n async editGenderAsync(request) {\n const gender = await api.putAsync(\n `Dictionaries/Gender/${request.id}`,\n request\n );\n\n return plainToInstance(DictionaryItem, gender);\n },\n async deleteGenderAsync({ entryId }) {\n await api.deleteAsync(`Dictionaries/Gender/${entryId}`);\n },\n async addOrganBankAsync(request) {\n const organBank = await api.postAsync(\n 'Dictionaries/AssociateOrganization',\n request\n );\n\n return plainToInstance(DictionaryItem, organBank);\n },\n async editOrganBankAsync(request) {\n const organBank = await api.putAsync(\n `Dictionaries/AssociateOrganization/${request.id}`,\n request\n );\n\n return plainToInstance(OrganizationDictionaryItem, organBank);\n },\n async deleteOrganBankAsync({ entryId }) {\n await api.deleteAsync(\n `Dictionaries/AssociateOrganization/${entryId}`\n );\n },\n async addMedicalExaminerAsync(request) {\n const medicalExaminer = await api.postAsync(\n 'Dictionaries/AssociateOrganization',\n request\n );\n\n return plainToInstance(DictionaryItem, medicalExaminer);\n },\n async editMedicalExaminerAsync(request) {\n const organBank = await api.putAsync(\n `Dictionaries/AssociateOrganization/${request.id}`,\n request\n );\n\n return plainToInstance(OrganizationDictionaryItem, organBank);\n },\n async deleteMedicalExaminerAsync({ entryId }) {\n await api.deleteAsync(\n `Dictionaries/AssociateOrganization/${entryId}`\n );\n },\n async addPersonalBelongingLocationAsync(request) {\n const location = await api.postAsync(\n 'Dictionaries/DecedentPropertyLocation',\n request\n );\n\n return plainToInstance(DictionaryItem, location);\n },\n async editPersonalBelongingLocationAsync(request) {\n const location = await api.putAsync(\n `Dictionaries/DecedentPropertyLocation/${request.id}`,\n request\n );\n\n return plainToInstance(DictionaryItem, location);\n },\n async deletePersonalBelongingLocationAsync({ entryId }) {\n await api.deleteAsync(\n `Dictionaries/DecedentPropertyLocation/${entryId}`\n );\n },\n async addOriginLocationAsync(request) {\n const location = await api.postAsync(\n 'Dictionaries/OriginLocation',\n request\n );\n\n return plainToInstance(OriginLocationDictionaryItem, location);\n },\n async editOriginLocationAsync(request) {\n const location = await api.putAsync(\n `Dictionaries/OriginLocation/${request.id}`,\n request\n );\n\n return plainToInstance(OriginLocationDictionaryItem, location);\n },\n async deleteOriginLocationAsync({ entryId }) {\n await api.deleteAsync(\n `Dictionaries/OriginLocation/${entryId}`\n );\n },\n async addTagAsync(request) {\n const tag = await api.postAsync(\n 'Dictionaries/Tag',\n request\n );\n\n return plainToInstance(SystemTagDictionaryItem, tag);\n },\n async editTagAsync(request) {\n const tag = await api.putAsync(\n `Dictionaries/Tag/${request.id}`,\n request\n );\n\n return plainToInstance(SystemTagDictionaryItem, tag);\n },\n async deleteTagAsync({ entryId }) {\n await api.deleteAsync(`Dictionaries/Tag/${entryId}`);\n },\n async addNextOfKinTypeAsync(request) {\n const type = await api.postAsync(\n 'Dictionaries/NextOfKinType',\n request\n );\n\n return plainToInstance(NextOfKinTypeDictionaryItem, type);\n },\n async editNextOfKinTypeAsync(request) {\n const type = await api.putAsync(\n `Dictionaries/NextOfKinType/${request.id}`,\n request\n );\n\n return plainToInstance(NextOfKinTypeDictionaryItem, type);\n },\n async deleteNextOfKinTypeAsync({ entryId }) {\n await api.deleteAsync(`Dictionaries/NextOfKinType/${entryId}`);\n },\n async addInfectiousDiseaseTypeAsync(request) {\n const type = await api.postAsync(\n 'Dictionaries/InfectiousDiseaseType',\n request\n );\n\n return plainToInstance(DictionaryItem, type);\n },\n async editInfectiousDiseaseTypeAsync(request) {\n const type = await api.putAsync(\n `Dictionaries/InfectiousDiseaseType/${request.id}`,\n request\n );\n\n return plainToInstance(DictionaryItem, type);\n },\n async deleteInfectiousDiseaseTypeAsync({ entryId }) {\n await api.deleteAsync(`Dictionaries/InfectiousDiseaseType/${entryId}`);\n },\n async addCaseTypeAsync(request) {\n const type = await api.postAsync(\n 'Dictionaries/CaseType',\n request\n );\n\n return plainToInstance(DictionaryItem, type);\n },\n async editCaseTypeAsync(request) {\n const type = await api.putAsync(\n `Dictionaries/CaseType/${request.id}`,\n request\n );\n\n return plainToInstance(DictionaryItem, type);\n },\n async deleteCaseTypeAsync({ entryId }) {\n await api.deleteAsync(`Dictionaries/CaseType/${entryId}`);\n },\n };\n};\n","import { plainToInstance } from 'class-transformer';\nimport { PartialApiFactory } from '../partial-factory';\nimport { IApiFactory } from '../../IApiFactory';\nimport { OutboxCaseSummary, PageResult } from '~/app/models';\n\nexport const createOutboxApi: PartialApiFactory = (\n api\n) => {\n return {\n async getSummariesAsync(request) {\n const result = await api.getAsync>(\n 'Outbox/V2',\n { params: request as Indexable }\n );\n\n return plainToInstance(PageResult, {\n ...result,\n data: plainToInstance(OutboxCaseSummary, result.data),\n }) as PageResult;\n },\n };\n};\n","import { plainToInstance } from 'class-transformer';\nimport { PartialApiFactory } from '../partial-factory';\nimport { IApiFactory } from '../../IApiFactory';\nimport { ReservationCaseSummary } from '~/app/models';\n\nexport const createReservationsApi: PartialApiFactory<\n IApiFactory,\n 'reservations'\n> = (api, _config) => {\n return {\n async getCaseSummariesAsync() {\n const summaries = await api.getAsync(\n 'Reservations'\n );\n\n return plainToInstance(ReservationCaseSummary, summaries);\n },\n };\n};\n","import { plainToInstance } from 'class-transformer';\nimport { PartialApiFactory } from '../partial-factory';\nimport { IApiFactory } from '../../IApiFactory';\nimport { AccessScopeMasterList, User, UserInvitation } from '~/app/models';\n\nexport const createUserApi: PartialApiFactory = (api) => {\n return {\n registration: {\n async registerAsync(request) {\n const user = await api.postAsync('Users/Self', request);\n return plainToInstance(User, user);\n },\n },\n invitations: {\n // This now gets called on the server as part of /register and is not longer needed\n async acceptAsync(request) {\n await api.putAsync(\n `Users/Invitation/${request.invitationId}/Accept`\n );\n },\n async getAllAsync() {\n const invites = await api.getAsync(\n 'Users/Invitation'\n );\n return plainToInstance(UserInvitation, invites);\n },\n async createAsync(request) {\n await api.postAsync('Users/Invitation', request);\n },\n async resendAsync(request) {\n const invite = await api.postAsync(\n `Users/Invitation/${request.invitationId}`\n );\n return plainToInstance(UserInvitation, invite);\n },\n async revokeAsync(request) {\n await api.deleteAsync(`Users/Invitation/${request.invitationId}`);\n },\n },\n async resetPasswordAsync(request) {\n await api.postAsync(`Users/${request.userId}/ResetPassword`);\n },\n async getAccessScopeMasterListAsync() {\n const scopes = await api.getAsync('Users/Scopes');\n return plainToInstance(AccessScopeMasterList, scopes);\n },\n async getCurrentAsync() {\n const user = await api.getAsync('Users/Self');\n return plainToInstance(User, user);\n },\n async getAsync(userId) {\n const user = await api.getAsync(`Users/${userId}`);\n return plainToInstance(User, user);\n },\n async getAllAsync() {\n const users = await api.getAsync('Users');\n return plainToInstance(User, users);\n },\n async updateAsync(request) {\n const user = await api.putAsync(`Users/${request.userId}`, request);\n return plainToInstance(User, user);\n },\n async createAsync(request) {\n const user = await api.postAsync('Users', request);\n return plainToInstance(User, user);\n },\n async deleteAsync(userId) {\n await api.deleteAsync(`Users/${userId}`);\n },\n };\n};\n","import { plainToInstance } from 'class-transformer';\nimport { PartialApiFactory } from '../partial-factory';\nimport { IApiFactory } from '../../IApiFactory';\nimport { Tenant } from '~/app/models';\n\nexport const createTenantApi: PartialApiFactory = (\n api\n) => {\n return {\n async getAsync() {\n const tenant = await api.getAsync('Tenants/Self');\n return plainToInstance(Tenant, tenant);\n },\n };\n};\n","import ky from 'ky';\nimport { PartialApiFactory } from '../partial-factory';\nimport {\n ITenantDiscoveryApiFactory,\n TenantContext,\n} from '../../ITenantDiscoveryApiFactory';\n\nexport const createTenantDiscoveryApi: PartialApiFactory<\n ITenantDiscoveryApiFactory,\n 'discover'\n> = (api, config) => {\n return {\n async getForContextAsync() {\n try {\n const { headers } = config.api.tenant;\n const tenant = await api.getAsync(`TenantDiscovery`, {\n options: {\n headers: {\n [headers!.functionKey!.name]: headers!.functionKey!.value!,\n },\n },\n });\n\n return Object.freeze(tenant) as TenantContext;\n } catch (error) {\n if (error instanceof ky.HTTPError && error.response.status === 404)\n return null;\n throw error;\n }\n },\n };\n};\n","import { PartialApiFactory } from '../partial-factory';\nimport { IApiFactory } from '../../IApiFactory';\nimport { TableReport } from '~/app/modules/reporting/components/report-viewers/table/types';\n\nexport const createReportingApi: PartialApiFactory = (\n api\n) => {\n return {\n async createAsync(request) {\n const response = await api.requestAsync('/Outbox/Report', {\n method: 'GET',\n params: request as Indexable,\n });\n\n return response;\n },\n async createCustomAsync(id, request) {\n const query = request\n ? `?${new URLSearchParams(request as Indexable).toString()}`\n : '';\n\n const response = await api.requestAsync(`/Reports/${id}${query}`, {\n method: 'GET',\n });\n\n return response;\n },\n parameters: {\n getCareSiteLocationsAsync() {\n return api.getAsync('/Reports/Parameters/CareSites');\n },\n },\n death: {\n async getAsync(request) {\n return await api.postAsync('/Reports/Death', request);\n },\n async downloadAsync(request) {\n const response = await api.$postAsync(\n '/Reports/Death/Download',\n request\n );\n\n return response;\n },\n getCareSiteLocationsAsync() {\n return api.getAsync('/Reports/Death/Parameters/CareSites');\n },\n },\n morgueCensus: {\n async getAsync() {\n return await api.postAsync(`/Reports/MorgueCensus`);\n },\n async downloadAsync() {\n const response = await api.requestAsync(\n `/Reports/MorgueCensus/Download`,\n { method: 'POST' }\n );\n\n return response;\n },\n getCareSiteLocationsAsync() {\n return api.getAsync('/Reports/MorgueCensus/Parameters/CareSites');\n },\n },\n timeToRelease: {\n async getAsync(request) {\n return await api.postAsync(\n '/Reports/TimeToRelease',\n request\n );\n },\n async downloadAsync(request) {\n const response = await api.$postAsync(\n '/Reports/TimeToRelease/Download',\n request\n );\n\n return response;\n },\n getCareSiteLocationsAsync() {\n return api.getAsync('/Reports/TimeToRelease/Parameters/CareSites');\n },\n },\n missedNotifications: {\n async getAsync(request) {\n return await api.postAsync(\n '/Reports/MissedNotifications',\n request\n );\n },\n async downloadAsync(request) {\n const response = await api.$postAsync(\n '/Reports/MissedNotifications/Download',\n request\n );\n\n return response;\n },\n getCareSiteLocationsAsync() {\n return api.getAsync(\n '/Reports/MissedNotifications/Parameters/CareSites'\n );\n },\n },\n };\n};\n","import { PartialApiFactory } from '../partial-factory';\nimport { IApiFactory } from '../../IApiFactory';\n\nexport const createIntercomApi: PartialApiFactory = (\n api\n) => {\n return {\n getUserIdAsync() {\n return api.getAsync('Intercom/Self');\n },\n };\n};\n","import { NuxtRuntimeConfig } from '@nuxt/types/config/runtime';\nimport { ApiClient } from '../client';\nimport { IApiFactory } from '../IApiFactory';\nimport { ITenantDiscoveryApiFactory } from '../ITenantDiscoveryApiFactory';\nimport { createAlertsApi } from './partials/alerts';\nimport { createBodyboxesApi } from './partials/bodyboxes';\nimport { createCasesApi } from './partials/cases';\nimport { createDictionariesApi } from './partials/dictionaries';\nimport { createOutboxApi } from './partials/outbox';\nimport { createReservationsApi } from './partials/reservations';\nimport { createUserApi } from './partials/user';\nimport { createTenantApi } from './partials/tenant';\nimport { createTenantDiscoveryApi } from './partials/tenant-discovery';\nimport { createReportingApi } from './partials/reporting';\nimport { createIntercomApi } from './partials/intercom';\n\nexport const primaryApiFactory = (\n api: ApiClient,\n config: NuxtRuntimeConfig\n): IApiFactory => {\n return {\n client: api,\n alerts: createAlertsApi(api, config),\n bodyboxes: createBodyboxesApi(api, config),\n cases: createCasesApi(api, config),\n dictionaries: createDictionariesApi(api, config),\n outbox: createOutboxApi(api, config),\n reservations: createReservationsApi(api, config),\n reporting: createReportingApi(api, config),\n tenant: createTenantApi(api, config),\n user: createUserApi(api, config),\n intercom: createIntercomApi(api, config),\n };\n};\n\nexport const tenantDiscoveryApiFactory = (\n api: ApiClient,\n config: NuxtRuntimeConfig\n): ITenantDiscoveryApiFactory => {\n return {\n discover: createTenantDiscoveryApi(api, config),\n };\n};\n","export enum RegistrationRoute {\n root = 'register',\n}\n","import {\n watch,\n WatchCallback,\n WatchOptions,\n WatchSource,\n} from '@nuxtjs/composition-api';\n\n/** Executes a callback once, after the watch source evaluates to `true`. */\nexport function useTripSwitch(\n source: Readonly>,\n cb: WatchCallback<\n Readonly>,\n Readonly> | undefined\n >,\n options?: WatchOptions\n) {\n const unwatch = watch(\n source,\n (...args) => {\n const [newValue] = args;\n const tripped = typeof newValue === 'boolean' ? newValue : false;\n tripped && unwatch();\n return cb(...args);\n },\n options\n );\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dropdown',{ref:\"dropdownRef\",attrs:{\"theme\":(_vm.theme.includes('light') ? 'mb-menu' : 'mb-menu--dark') +\n (_vm.theme.includes('compact') ? '_compact' : ''),\"shown\":_vm.isOpen,\"placement\":_vm.placementComputed,\"triggers\":_vm.triggers,\"positioning-disabled\":_vm.isMobile,\"distance\":_vm.arrowOffset,\"auto-hide\":false,\"handle-resize\":true,\"compute-transform-origin\":\"\",\"auto-boundary-max-size\":\"\"},on:{\"apply-show\":_vm.onShown,\"apply-hide\":_vm.onHidden,\"update:shown\":_vm.onShow},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\n var shown = ref.shown;\n var show = ref.show;\n var hide = ref.hide;\nreturn [_vm._t(\"trigger\",[_c('wb-button',_vm._g(_vm._b({ref:_vm.triggerIdResolved,staticClass:\"z-10\",attrs:{\"id\":_vm.triggerIdResolved,\"size\":\"sm\",\"aria-label\":shown ? 'Close menu' : 'Open menu',\"role\":\"button\",\"aria-haspopup\":\"menu\",\"aria-controls\":_vm.menuId,\"aria-expanded\":shown}},'wb-button',_vm.$attrs,false),_vm.$listeners),[_c('div',{staticClass:\"flex items-center justify-center\"},[_vm._v(\"\\n \"+_vm._s(_vm.label)+\"\\n \"),_c('wb-icon',{staticClass:\"ml-2 text-xl\",attrs:{\"name\":shown ? 'caret-up' : 'caret-down',\"type\":\"bold\",\"inline\":\"\"}})],1)])],{\"triggerId\":_vm.triggerIdResolved,\"menuId\":_vm.menuId,\"shown\":shown,\"show\":show,\"hide\":hide,\"toggleMenu\":function () { return (shown ? hide() : show()); },\"isOpen\":shown})]}},{key:\"popper\",fn:function(ref){\n var shown = ref.shown;\n var hide = ref.hide;\nreturn [_c('div',{directives:[{name:\"on-click-outside\",rawName:\"v-on-click-outside\",value:(_vm.onClickOutside),expression:\"onClickOutside\"}],staticClass:\"wb-menu-btn__popover max-w-full\",style:({ height: _vm.heightComputed, width: _vm.widthComputed }),attrs:{\"id\":_vm.menuId,\"role\":\"menu\",\"aria-labelledby\":_vm.triggerIdResolved},on:{\"keydown\":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"esc\",27,$event.key,[\"Esc\",\"Escape\"])){ return null; }return _vm.onEscapeDown($event)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"tab\",9,$event.key,\"Tab\")){ return null; }return _vm.onTabDown($event)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"up\",38,$event.key,[\"Up\",\"ArrowUp\"])&&_vm._k($event.keyCode,\"down\",40,$event.key,[\"Down\",\"ArrowDown\"])){ return null; }return _vm.onArrowDown($event)}]}},[_vm._t(\"default\",null,{\"shown\":shown,\"hide\":hide})],2)]}}],null,true)})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from 'vue';\nimport {\n computed,\n defineComponent,\n getCurrentInstance,\n nextTick,\n onMounted,\n PropType,\n ref,\n toRefs,\n} from '@nuxtjs/composition-api';\nimport FloatingVue, { Dropdown, Placement } from 'floating-vue';\nimport 'floating-vue/dist/style.css';\nimport { breakpointsTailwind, useBreakpoints } from '@vueuse/core';\nimport { vOnClickOutside as OnClickOutside } from '@vueuse/components';\nimport { genId } from '~/app/utils/id';\nimport { getFocusables } from '~/app/utils/dom';\nimport { sleep } from '~/app/utils/async';\n\nVue.use(FloatingVue, {\n themes: {\n 'mb-menu': {\n $extend: 'dropdown',\n },\n 'mb-menu_compact': {\n $extend: 'dropdown',\n },\n 'mb-menu--dark': {\n $extend: 'dropdown',\n },\n 'mb-menu--dark_compact': {\n $extend: 'dropdown',\n },\n },\n});\n\nconst placements: Readonly> = [\n 'top',\n 'top-start',\n 'top-end',\n 'right',\n 'right-start',\n 'right-end',\n 'bottom',\n 'bottom-start',\n 'bottom-end',\n 'left',\n 'left-start',\n 'left-end',\n] as const;\ntype WindowBreakPoint = 'mobile' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';\nconst breakpoints: Readonly> = [\n 'mobile',\n 'sm',\n 'md',\n 'lg',\n 'xl',\n '2xl',\n] as const;\n\nexport type DropdownTrigger = 'click' | 'hover' | 'focus' | 'touch';\nconst dropdownTriggers: Readonly> = [\n 'click',\n 'hover',\n 'focus',\n 'touch',\n] as const;\n\nexport default defineComponent({\n name: 'MenuButton',\n components: { Dropdown },\n directives: { OnClickOutside: OnClickOutside as any },\n props: {\n /** Optional label to use as the reference trigger buttons text when using the default style. */\n label: {\n type: String as PropType,\n required: false,\n default: undefined,\n },\n /** Controls whether the menu is open. */\n isOpen: {\n type: Boolean as PropType,\n required: false,\n default: undefined,\n },\n /** Menu placement. Use object syntax to control placement across window breakpoints. */\n placement: {\n type: [String, Object] as PropType<\n Placement | Record\n >,\n required: false,\n default: 'bottom',\n validator: (placement: Placement | object) =>\n typeof placement === 'string'\n ? placements.includes(placement)\n : Object.keys(placement).every((bp) =>\n breakpoints.includes(bp as WindowBreakPoint)\n ) && Object.values(placement).every((p) => placements.includes(p)),\n },\n /** Triggers used to activate the menu. */\n triggers: {\n type: Array as PropType,\n required: false,\n default: undefined,\n validator: (triggers: DropdownTrigger[] | unknown) =>\n Array.isArray(triggers)\n ? triggers.every((trigger) => dropdownTriggers.includes(trigger))\n : false,\n },\n /** Padding between the arrow and trigger. */\n arrowOffset: {\n type: Number as PropType,\n required: false,\n default: undefined,\n },\n /** Menu height. */\n height: {\n type: [String, Object] as PropType<\n string | Record\n >,\n required: false,\n default: 'max-content',\n validator: (height: string | object) =>\n typeof height === 'string'\n ? true\n : Object.keys(height).every((bp) =>\n breakpoints.includes(bp as WindowBreakPoint)\n ),\n },\n /** Menu width. */\n width: {\n type: [String, Object] as PropType<\n string | Record\n >,\n required: false,\n default: 'max-content',\n validator: (width: string | object) =>\n typeof width === 'string'\n ? true\n : Object.keys(width).every((bp) =>\n breakpoints.includes(bp as WindowBreakPoint)\n ),\n },\n /** Use a drawer to display menu content on mobile screens. */\n mobile: {\n type: Boolean as PropType,\n required: false,\n default: false,\n },\n /** Optional element that will receive focus when the menu opens. */\n focusEl: {\n type: HTMLElement as PropType,\n required: false,\n default: null,\n },\n theme: {\n type: String as PropType<\n 'light' | 'dark' | 'light-compact' | 'dark-compact'\n >,\n required: false,\n default: 'light',\n },\n /** Unique ID for the trigger element. */\n triggerId: {\n type: String as PropType,\n required: false,\n default: undefined,\n },\n /** Elements to link to the menu. Values can be HTMLElements or CSS selectors.\n * Linked elements are elements not children of the menu but will not trigger a menu close.\n */\n linkedEls: {\n type: Array as PropType>,\n required: false,\n default: () => [],\n },\n },\n emits: {\n open: (shown: any) => typeof shown === 'boolean',\n 'update:isOpen': (shown: any) => typeof shown === 'boolean',\n },\n setup(props, { emit }) {\n const triggerIdResolved =\n props.triggerId || `wb-menu-btn_trigger-${genId({ length: 7 })}`;\n const menuId = `wb-menu-btn_menu-${genId({ length: 7 })}`;\n\n const dropdownRef = ref>();\n const triggerEl = ref();\n\n const instance = getCurrentInstance();\n function getTriggerEl() {\n return (\n instance?.proxy.$el.querySelector(\n `#${triggerIdResolved}`\n ) ?? document.getElementById(triggerIdResolved)\n );\n }\n\n function getMenuEl() {\n return (\n instance?.proxy.$el.querySelector(`#${menuId}`) ??\n document.getElementById(menuId)\n );\n }\n\n onMounted(() => (triggerEl.value = getTriggerEl()));\n\n // #region Position\n const bps = useBreakpoints(breakpointsTailwind);\n const getCurrentBreakpoints = () => {\n const points = Object.keys(breakpointsTailwind).map(\n (bp) =>\n [bp, bps.greater(bp as keyof typeof breakpointsTailwind)] as const\n );\n return computed(() => points.filter(([, v]) => v.value).map(([k]) => k));\n };\n const currentBreakpoints = getCurrentBreakpoints();\n const syncWithBreakpoint = (\n value: T | Record,\n defaultValue: T\n ) => {\n if (typeof value === 'string') return value;\n\n const _breakpoints = Object.keys(value).sort(\n (a, b) =>\n breakpoints.indexOf(a as WindowBreakPoint) -\n breakpoints.indexOf(b as WindowBreakPoint)\n );\n\n for (const bp of [...currentBreakpoints.value].reverse()) {\n if (_breakpoints.includes(bp)) return value[bp as WindowBreakPoint];\n }\n\n return value.mobile || defaultValue;\n };\n\n const placementComputed = computed(() =>\n syncWithBreakpoint(props.placement, 'bottom')\n );\n // #endregion\n\n const widthComputed = computed(() =>\n syncWithBreakpoint(props.width, 'max-content')\n );\n\n const heightComputed = computed(() =>\n syncWithBreakpoint(props.height, 'max-content')\n );\n\n // #region Mobile\n const { mobile, focusEl } = toRefs(props);\n const isMobileScreen = computed(() => !currentBreakpoints.value.length);\n const isMobile = computed(() => mobile.value && isMobileScreen.value);\n // #endregion\n\n function onArrowDown(e: KeyboardEvent) {\n e.preventDefault();\n e.stopImmediatePropagation();\n\n const menuEl = document.querySelector(`#${menuId}`);\n if (!menuEl) return;\n\n const focusableEls = getFocusables(menuEl, true);\n const focusedIndex = focusableEls.findIndex((el) => el === e.target);\n\n if (focusedIndex === -1) return;\n\n let nextIndex =\n e.key === 'ArrowDown'\n ? focusedIndex + 1\n : e.key === 'ArrowUp'\n ? focusedIndex - 1\n : focusedIndex;\n\n // Cycle back to the beginning if we reach the end\n if (e.key === 'ArrowDown' && nextIndex > focusableEls.length - 1)\n nextIndex = 0;\n\n // Cycle to the end if we reach the beginning\n if (e.key === 'ArrowUp' && nextIndex < 0)\n nextIndex = focusableEls.length - 1;\n\n const nextEl = focusableEls[nextIndex];\n if (nextEl) nextEl.focus();\n }\n\n function onTabDown(e: KeyboardEvent) {\n const triggerEl = getTriggerEl();\n if (document.activeElement === triggerEl) return;\n\n e.preventDefault();\n e.stopImmediatePropagation();\n\n // Return focus to the trigger if tabbing out of the menu\n\n const menuEl = document.querySelector(`#${menuId}`);\n if (!menuEl) return;\n\n const isMenuFocused = menuEl.contains(document.activeElement);\n\n if (isMenuFocused) return hide(true);\n }\n\n function onEscapeDown(e: KeyboardEvent) {\n e.stopImmediatePropagation();\n console.log('onEscapeDown');\n\n // Close the menu and return focus to the trigger\n hide(true);\n }\n\n function show() {\n try {\n dropdownRef.value?.show();\n } catch {\n /* floating-vue sometimes throws an undefined error accessing its internal `popper` ref. Suppress this. */\n }\n }\n\n function hide(focusTrigger = false) {\n try {\n dropdownRef.value?.hide();\n } catch {\n /* floating-vue sometimes throws an undefined error accessing its internal `popper` ref. Suppress this. */\n }\n focusTrigger && getTriggerEl()?.focus();\n }\n\n function onShow(shown: boolean) {\n emit('open', shown);\n emit('update:isOpen', shown);\n }\n\n function onMobileShow() {\n document.body.classList.add('popper-no-scroll');\n }\n\n function onMobileHide() {\n document.body.classList.remove('popper-no-scroll');\n }\n\n async function onShown() {\n if (isMobile.value) onMobileShow();\n\n const isHTMLElement = focusEl.value instanceof HTMLElement;\n if (focusEl.value && isHTMLElement) {\n // Delay 100ms to account for opening transition\n await nextTick();\n await sleep(100);\n\n focusEl.value.focus();\n return;\n }\n\n // If no focus element is provided, focus the first focusable element in the menu\n const menuEl = getMenuEl();\n if (menuEl) {\n const focusableEls = getFocusables(menuEl, true);\n\n // If no focusable elements are found, re-focus the trigger itself\n if (!focusableEls.length) {\n const triggerEl = getTriggerEl();\n\n // Delay 100ms to account for opening transition\n await nextTick();\n await sleep(100);\n return triggerEl?.focus();\n }\n\n const firstItem = focusableEls[0];\n\n // Delay 100ms to account for opening transition\n await nextTick();\n await sleep(100);\n firstItem?.focus();\n }\n }\n\n function onHidden() {\n isMobile.value && onMobileHide();\n }\n\n function onClickOutside(event: PointerEvent) {\n const isOpen = dropdownRef.value?.$refs?.popper?.isShown ?? false;\n if (!isOpen) return;\n\n if (event.target instanceof HTMLElement) {\n const target = event.target as HTMLElement;\n const triggerEl = getTriggerEl();\n const isTrigger =\n event.target === triggerEl || triggerEl?.contains(event.target);\n\n const isLinkedElement = props.linkedEls.some((el) =>\n el instanceof HTMLElement\n ? el.contains(target)\n : document.querySelector(el)?.contains(target) || false\n );\n\n if (isTrigger || !isLinkedElement) {\n isTrigger && event.stopPropagation(); // Prevent the click event from propagating and immediately opening the menu\n hide(true);\n }\n }\n }\n\n return {\n triggerIdResolved,\n menuId,\n dropdownRef,\n placementComputed,\n widthComputed,\n heightComputed,\n isMobile,\n show,\n hide,\n onTabDown,\n onEscapeDown,\n onArrowDown,\n onShow,\n onMobileShow,\n onMobileHide,\n onShown,\n onHidden,\n onClickOutside,\n };\n },\n});\n","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./menu-button.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./menu-button.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./menu-button.vue?vue&type=template&id=3de9fb40&scoped=true&\"\nimport script from \"./menu-button.vue?vue&type=script&lang=ts&\"\nexport * from \"./menu-button.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./menu-button.vue?vue&type=style&index=0&lang=scss&\"\nimport style1 from \"./menu-button.vue?vue&type=style&index=1&lang=scss&\"\nimport style2 from \"./menu-button.vue?vue&type=style&index=2&id=3de9fb40&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3de9fb40\",\n null\n \n)\n\nexport default component.exports","export const focusableElList = [\n 'a[href]',\n 'area[href]',\n 'button:not([disabled])',\n 'embed',\n 'iframe',\n 'input:not([disabled])',\n 'object',\n 'select:not([disabled])',\n 'textarea:not([disabled])',\n '*[tabindex]:not([aria-disabled])',\n '*[contenteditable]',\n];\n\nconst focusableElSelector = focusableElList.join();\n\n/**\n * Get a NodeList of all focusable DOM nodes within an element\n * @param {HTMLElement} element HTML element to get focusable list of DOM nodes from.\n * @param {Boolean} keyboardOnly Should get only keyboard accessible nodes?\n * @returns {NodeList} List of all focusable DOM nodes\n */\nexport function getFocusables(\n element: HTMLElement,\n keyboardOnly: boolean = false\n) {\n let focusableEls = Array.from(element.querySelectorAll(focusableElSelector));\n\n // filter out elements with display: none\n focusableEls = focusableEls.filter(\n (focusableEl) => window.getComputedStyle(focusableEl).display !== 'none'\n );\n\n if (keyboardOnly === true) {\n focusableEls = focusableEls.filter(\n (focusableEl) => focusableEl.getAttribute('tabindex') !== '-1'\n );\n }\n return focusableEls as HTMLElement[];\n}\n","export interface ISettingsState {}\n\nexport const state = (): ISettingsState => ({});\n","import type { ActionTree } from 'vuex';\nimport { ISettingsState } from './state';\nimport { RootState } from '~/store';\nimport { Bodybox } from '~/app/models';\nimport {\n moduleName as bodyboxModuleName,\n Mutation as BodyboxMutation,\n} from '~mod:bodybox/store';\nimport { CreateBodyboxRequest } from '~/app/core/api/requests/bodybox/create-bodybox-request';\nimport { UpdateBodyboxRequest } from '~/app/core/api/requests/bodybox/update-bodybox-request';\n\nexport enum Action {\n updateBodybox = 'updateBodybox',\n addBodybox = 'addBodybox',\n deleteBodybox = 'deleteBodybox',\n}\n\nexport const actions: ActionTree = {\n async [Action.addBodybox]({ commit }, request: CreateBodyboxRequest) {\n const newBox = await this.$api.bodyboxes.addAsync(request);\n\n commit(`${bodyboxModuleName}/${BodyboxMutation.updateBodybox}`, newBox, {\n root: true,\n });\n\n return newBox;\n },\n async [Action.deleteBodybox]({ commit }, bodybox: Bodybox) {\n await this.$api.bodyboxes.deleteAsync(bodybox.id);\n\n commit(`${bodyboxModuleName}/${BodyboxMutation.removeBodybox}`, bodybox, {\n root: true,\n });\n },\n async [Action.updateBodybox]({ commit }, request: UpdateBodyboxRequest) {\n const updatedBox = await this.$api.bodyboxes.updateAsync(request);\n\n commit(\n `${bodyboxModuleName}/${BodyboxMutation.updateBodybox}`,\n updatedBox,\n { root: true }\n );\n\n return updatedBox;\n },\n};\n","import { state, ISettingsState } from './state';\nimport { actions, Action } from './actions';\nimport { createModule } from '~/store';\n\nexport { Action };\nexport type { ISettingsState };\n\nexport const moduleName = 'settings';\nexport const { module } = createModule(moduleName, {\n state,\n actions,\n});\n","import { computed, ref } from '@nuxtjs/composition-api';\nimport { AppModule } from '~/app/core/module-system/module';\nimport { registerModule } from '~/app/core/module-system/use-module';\n\nexport interface IBreadCrumbRoute {\n name: string;\n path?: string;\n}\n\nclass BreadCrumbBuilder {\n private breadCrumbParts = ref([]);\n\n public get parts() {\n return computed(() => Array.from(this.breadCrumbParts.value));\n }\n\n public setBreadCrumbs(crumbs: IBreadCrumbRoute | IBreadCrumbRoute[]) {\n if (Array.isArray(crumbs)) this.breadCrumbParts.value = crumbs;\n else this.breadCrumbParts.value = [crumbs];\n }\n\n public push(breadCrumb: IBreadCrumbRoute) {\n this.breadCrumbParts.value.push(breadCrumb);\n }\n}\n\nexport class LayoutModule extends AppModule {\n private readonly breadCrumbBuilder = new BreadCrumbBuilder();\n\n public readonly name = LayoutModule.name;\n\n public readonly showHeader = ref(true);\n\n public get breadCrumbs() {\n return this.breadCrumbBuilder;\n }\n\n public activate() {\n super.activate();\n }\n}\n\nexport const ModuleName = LayoutModule.name;\n\nexport const registerLayoutModule = () => registerModule(LayoutModule);\n","export enum SettingsRoute {\n accountRoot = '/account',\n organizationRoot = '/organization',\n organizationDictionaries = '/organization/dictionaries',\n organizationUsers = '/organization/users',\n organizationUsersAdd = '/organization/users/invite',\n organizationUserInvites = '/organization/users/invites',\n}\n","import { useStoreModule } from '~/app/composables/use-store-module';\nimport {\n Action,\n Mutation,\n Getter,\n moduleName,\n IBodyboxState,\n} from '~/app/modules/bodybox/store';\n\nexport function useStore() {\n const scope = useStoreModule(moduleName);\n\n return {\n ...scope,\n Action,\n Mutation,\n Getter,\n };\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',_vm._g(_vm._b({staticClass:\"wb-color-swatch-picker\"},'div',_vm.$attrs,false),_vm.$listeners),[_c('div',{staticClass:\"wb-color-swatch-picker__default-checkbox\",style:({ 'background-color': _vm.defaultColor }),attrs:{\"tabindex\":\"0\",\"role\":\"checkbox\",\"aria-checked\":_vm.value === _vm.defaultColor},on:{\"click\":function($event){return _vm.select(_vm.defaultColor)}}},[_c('span',{staticClass:\"relative\"},[_c('svg',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.value === _vm.defaultColor),expression:\"value === defaultColor\"}],staticClass:\"absolute left-[-30px] -top-1/4 mr-2 scale-75 transform fill-[white]\",staticStyle:{\"width\":\"24px\",\"height\":\"24px\"},attrs:{\"viewBox\":\"0 0 24 24\"}},[_c('path',{attrs:{\"stroke-width\":\"10\",\"d\":\"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z\"}})]),_vm._v(\"\\n Default\\n \")])]),_vm._v(\" \"),_c('color-picker',{staticClass:\"!h-auto !w-auto !p-0 !shadow-none\",attrs:{\"value\":_vm.value,\"palette\":_vm.palette},on:{\"input\":_vm.select}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/* eslint-disable camelcase */\nexport const COLOR_RED = {\n 100: '#fee2e2',\n 200: '#fecaca',\n 300: '#fca5a5',\n 400: '#f87171',\n 500: '#ef4444',\n 600: '#dc2626',\n 700: '#b91c1c',\n 800: '#991b1b',\n 900: '#7f1d1d',\n};\n\nexport const COLOR_PINK = {\n 100: '#fce7f3',\n 200: '#fbcfe8',\n 300: '#f9a8d4',\n 400: '#f472b6',\n 500: '#ec4899',\n 600: '#db2777',\n 700: '#be185d',\n 800: '#9d174d',\n 900: '#831843',\n};\n\nexport const COLOR_ORANGE = {\n 100: '#ffebd4',\n 200: '#ffd3a8',\n 300: '#ffb371',\n 400: '#ff8938',\n 500: '#fe6711',\n 600: '#ef4c07',\n 700: '#c63608',\n 800: '#9d2c0f',\n 900: '#7e2710',\n};\n\nexport const COLOR_YELLOW = {\n 100: '#fff8c2',\n 200: '#fff089',\n 300: '#ffdf45',\n 400: '#fccb13',\n 500: '#ecb206',\n 600: '#cc8902',\n 700: '#a26106',\n 800: '#864c0d',\n 900: '#723e11',\n};\n\nexport const COLOR_GREEN = {\n 100: '#e8faf2',\n 200: '#c6f3dd',\n 300: '#a4ebc9',\n 400: '#60dca1',\n 500: '#1ccd78',\n 600: '#19b96c',\n 700: '#159a5a',\n 800: '#117b48',\n 900: '#0e643b',\n};\n\nexport const COLOR_BLUE = {\n 100: '#dbeafe',\n 200: '#bfdbfe',\n 300: '#93c5fd',\n 400: '#60a5fa',\n 500: '#3b82f6',\n 600: '#2563eb',\n 700: '#1d4ed8',\n 800: '#1e40af',\n 900: '#1e3a8a',\n};\n\nexport const COLOR_PURPLE = {\n 100: '#ede9fe',\n 200: '#ddd6fe',\n 300: '#c4b5fd',\n 400: '#a78bfa',\n 500: '#8b5cf6',\n 600: '#7c3aed',\n 700: '#6d28d9',\n 800: '#5b21b6',\n 900: '#4c1d95',\n};\n\nexport const COLOR_BLACK = {\n 100: '#f3f4f6',\n 200: '#e5e7eb',\n 300: '#d1d5db',\n 400: '#9ca3af',\n 500: '#6b7280',\n 600: '#4b5563',\n 700: '#374151',\n 800: '#1f2937',\n 900: '#111827',\n};\n\nconst getColorCodes = (\n colors: TColors,\n levels: Array\n) => {\n return Object.entries(colors)\n .filter(([level]) => levels.includes(parseInt(level, 10) as keyof TColors))\n .sort(\n ([aLevel], [bLevel]) => levels.indexOf(+aLevel) - levels.indexOf(+bLevel)\n )\n .map(([, color]) => color);\n};\n\nexport const DEFAULT_SWATCHES = [\n getColorCodes(COLOR_RED, [300, 400, 500, 600]),\n getColorCodes(COLOR_PINK, [300, 400, 500, 600]),\n getColorCodes(COLOR_ORANGE, [300, 400, 500, 600]),\n getColorCodes(COLOR_YELLOW, [300, 400, 500, 600]),\n getColorCodes(COLOR_GREEN, [300, 400, 500, 600]),\n getColorCodes(COLOR_BLUE, [300, 400, 500, 600]),\n getColorCodes(COLOR_PURPLE, [300, 400, 500, 600]),\n getColorCodes(COLOR_BLACK, [300, 400, 500, 600]),\n] as const;\n\n// export const DEFAULT_SWATCHES = [\n// ['#991b1b', '#dc2626', '#ef4444', '#f87171'],\n// ['#9d174d', '#db2777', '#ec4899', '#f472b6'],\n// ['#9d2c0f', '#ef4c07', '#fe6711', '#ffb371'],\n// ['#92400e', '#b45309', '#ecb206', '#ffdc2e'],\n// ['#117b48', '#19b96c', '#1ccd78', '#60dca1'],\n// ['#1e40af', '#2563eb', '#3b82f6', '#60a5fa'],\n// ['#5b21b6', '#7c3aed', '#8b5cf6', '#a78bfa'],\n// ['#1f2937', '#4b5563', '#6b7280', '#9ca3af'],\n// ] as const;\n\nexport const DEfAULT_COLOR = '#606884' as const;\n","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./color-swatch-picker.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./color-swatch-picker.vue?vue&type=script&lang=ts&\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/* eslint-disable camelcase */\nimport {\n defineComponent,\n getCurrentInstance,\n onMounted,\n PropType,\n} from '@nuxtjs/composition-api';\nimport { Swatches } from 'vue-color';\nimport { DEfAULT_COLOR, DEFAULT_SWATCHES } from './constants';\n\nexport default defineComponent({\n name: 'ColorSwatchPicker',\n components: {\n ColorPicker: Swatches,\n },\n props: {\n value: {\n type: [String, Object] as PropType,\n required: true,\n },\n palette: {\n type: Array as PropType>,\n required: false,\n default: () => DEFAULT_SWATCHES,\n },\n defaultColor: {\n type: String as PropType,\n required: false,\n default: () => DEfAULT_COLOR,\n },\n },\n emits: {\n input: null, // (value: unknown) => typeof value === 'string',\n },\n setup(_, { emit }) {\n onMounted(() => {\n const instance = getCurrentInstance();\n const optionEls = instance?.proxy.$el.querySelectorAll('[role=\"option\"]');\n optionEls?.forEach((el) => ((el as HTMLElement).tabIndex = 0));\n });\n\n const select = (color: string | { hex: string }) => {\n emit('input', typeof color === 'object' ? color.hex : color);\n };\n\n return { select };\n },\n});\n","import { render, staticRenderFns } from \"./color-swatch-picker.vue?vue&type=template&id=103bb0cc&scoped=true&\"\nimport script from \"./color-swatch-picker.vue?vue&type=script&lang=ts&\"\nexport * from \"./color-swatch-picker.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./color-swatch-picker.vue?vue&type=style&index=0&id=103bb0cc&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"103bb0cc\",\n null\n \n)\n\nexport default component.exports","/* eslint-disable camelcase */\nimport {\n DEfAULT_COLOR,\n COLOR_RED,\n COLOR_PINK,\n COLOR_ORANGE,\n COLOR_YELLOW,\n COLOR_GREEN,\n COLOR_BLUE,\n COLOR_PURPLE,\n COLOR_BLACK,\n} from '~/app/components/ui/color-picker';\n\nconst Palette = {\n default: DEfAULT_COLOR,\n red: COLOR_RED,\n pink: COLOR_PINK,\n orange: COLOR_ORANGE,\n yellow: COLOR_YELLOW,\n green: COLOR_GREEN,\n blue: COLOR_BLUE,\n purple: COLOR_PURPLE,\n black: COLOR_BLACK,\n} as const;\n\nexport type PaletteColor = keyof typeof Palette;\n\nexport type ColorLevel =\n | 50\n | 100\n | 200\n | 300\n | 400\n | 500\n | 600\n | 700\n | 800\n | 900;\n\nexport function useColorPickerColor(\n color: PaletteColor | string,\n level: ColorLevel | number,\n palette:\n | typeof Palette\n | Record = Palette\n) {\n const paletteColor = palette[color as keyof typeof palette];\n\n if (typeof paletteColor === 'string') return paletteColor;\n\n if (level in paletteColor)\n return (paletteColor as Record)[level];\n\n const nearestLevel = Object.keys(palette[color as keyof typeof palette])\n // .reverse() // higher levels take precedence\n .reduce((prev, cur) => {\n const previous = parseInt(prev.toString(), 10);\n const current = parseInt(cur.toString(), 10);\n return Math.abs(current - level) < Math.abs(previous - level)\n ? current\n : previous;\n }, 0);\n\n return (paletteColor as Record)[nearestLevel];\n}\n\nexport type ColorToken = { color: string; level: number };\nexport function useColorPickerToken(\n hexColor: string,\n palette:\n | typeof Palette\n | Record = Palette\n): ColorToken | null {\n const paletteColors = Object.entries(palette);\n\n for (const [colorName, shades] of paletteColors) {\n const shadeEntries = Object.entries(shades);\n const entry = shadeEntries.find(\n ([_shadeLevel, hex]) => hex.toLowerCase() === hexColor.toLowerCase()\n );\n\n if (entry) return { color: colorName, level: parseInt(entry[0], 10) };\n }\n\n return null;\n}\n\nexport function hasColor(\n color: PaletteColor,\n level: ColorLevel,\n palette:\n | typeof Palette\n | Record = Palette\n) {\n const paletteColor = palette[color];\n\n if (typeof paletteColor === 'string') return true;\n\n return level in paletteColor;\n}\n","/* eslint-disable camelcase */\nimport Vue, { VueConstructor, PluginObject } from 'vue';\nimport WbColorSwatchPicker from './color-swatch-picker.vue';\n\nconst colorPicker: VueConstructor &\n PluginObject = WbColorSwatchPicker as any;\ncolorPicker.install = function (vue) {\n vue.component('WbColorSwatchPicker', WbColorSwatchPicker);\n};\n\nexport { WbColorSwatchPicker };\nexport * from './constants';\nexport * from './useColorPicker';\nexport default colorPicker;\n","import Vue from 'vue';\nimport { EventBus } from '~/app/core/services/event-bus';\nimport { AppModule } from '~/app/core/module-system/module';\nimport { registerModule } from '~/app/core/module-system/use-module';\n\nexport enum BarcodingEvent {\n RequestingRefresh = 'mb.barcoding.requestingRefresh',\n}\n\nexport class BarcodingModule extends AppModule {\n private readonly _events = new Vue();\n\n public readonly name = BarcodingModule.name;\n public readonly events = new EventBus(this._events);\n\n public requestRefresh() {\n this._events.$emit(BarcodingEvent.RequestingRefresh);\n }\n}\n\nexport const ModuleName = BarcodingModule.name;\n\nexport const registerBarcodingModule = () => registerModule(BarcodingModule);\n","import { AppAbilitySubject } from '~/app/core/casl';\nimport type { Action, Subject } from '~/app/core/casl/types';\nimport { LogProvider } from '~/app/core/logging';\nimport {\n AccessScope,\n AccessScopeDescription,\n AccessScopeMasterList,\n} from '~/app/models';\n\nexport class AccessScopeService {\n private readonly masterList: AccessScopeMasterList;\n private readonly logger?: LogProvider;\n\n constructor(masterList: AccessScopeMasterList, logger?: LogProvider) {\n this.masterList = masterList;\n this.logger = logger;\n }\n\n public parse(scope: string): AccessScope {\n const parts = scope.split(':');\n\n if (parts.length < 2)\n throw new Error('Invalid Access scope string format.');\n\n const [subject, ...actionWithNamespaces] = parts;\n\n const availableSubjects = Object.keys(this.masterList);\n const isValidSubject = availableSubjects.includes(subject);\n\n if (!isValidSubject)\n this.logger?.error(\n new Error(\n `Invalid subject. Subject \"${subject}\" must be one of the following ${availableSubjects}`\n ),\n { subject, availableSubjects },\n { ui: false }\n );\n\n const scopes = (this.masterList as unknown) as {\n [sub: string]: AccessScopeDescription[];\n };\n\n const subjectScopes = scopes[subject].map((s) => s.scope);\n const isValidSubjectScope = subjectScopes.includes(scope);\n\n if (!isValidSubjectScope)\n this.logger?.error(\n new Error(\n `Invalid scope. Scope \"${scope}\" must be one of the following ${subjectScopes}`\n ),\n { scope, subjectScopes },\n { ui: false }\n );\n\n if (actionWithNamespaces.length > 1) {\n // const action = actionWithNamespaces[actionWithNamespaces.length - 1];\n const namespaces = actionWithNamespaces.slice(0, -1);\n return new AccessScope(scope as Action, subject as Subject, namespaces);\n }\n\n return new AccessScope(scope as Action, subject as Subject);\n }\n\n public parseList(scopes: string[]): AccessScope[] {\n return scopes.map((scope) => this.parse(scope));\n }\n\n public getSubjectScopes(subject: AppAbilitySubject): AccessScope[] {\n const doesMasterListContainSubject = subject in this.masterList;\n\n if (!doesMasterListContainSubject)\n this.logger?.error(\n new Error(\n `Invalid subject. Subject \"${subject}\" must be one of the following ${Object.keys(\n this.masterList\n )}`\n ),\n { subject, availableSubjects: Object.keys(this.masterList) }\n );\n\n const scopes = this.masterList as {\n [sub in AppAbilitySubject]: AccessScopeDescription[];\n };\n\n return scopes[subject].map(({ scope }) => this.parse(scope));\n }\n}\n","import {\n AutopsyServiceCollection,\n Case,\n CaseHold,\n DateTimeInfo,\n DeathCertificate,\n DonationProcurementCollection,\n FuneralHome,\n HouseAutopsy,\n InfectiousDisease,\n MedicalExaminer,\n MedicolegalInvestigationCollection,\n NextOfKinRecord,\n NoteRecord,\n OrganDonationRecord,\n OriginLocation,\n RequirementStatus,\n VendorAutopsy,\n} from '~/app/models';\n\nexport class CreateCaseRequest {\n public readonly typeId?: string;\n\n public readonly reportedBy?: string;\n\n public readonly storageLocationId?: string;\n\n public readonly holds?: Readonly;\n\n public readonly deathCertificate?: DeathCertificate;\n\n public readonly alias?: string;\n\n public readonly firstName?: string;\n\n public readonly middleName?: string;\n\n public readonly lastName?: string;\n\n public readonly genderId?: string;\n\n public readonly dateOfBirth?: DateTimeInfo;\n\n public readonly dateOfDeath?: DateTimeInfo;\n\n public readonly medicalRecordNumber?: string;\n\n public readonly socialSecurityNumber?: string;\n\n public readonly financialIdentificationNumber?: string;\n\n public readonly weight?: number;\n\n public readonly raceId?: string;\n\n public readonly ethnicityId?: string;\n\n public readonly maritalStatusId?: string;\n\n public readonly countyId?: string;\n\n public readonly systemTagIds?: string[];\n\n public readonly userTags?: string[];\n\n public readonly personalProperty?: Readonly<{\n [locationId: string]: string[];\n }>;\n\n public readonly autopsyRequirementStatus?: RequirementStatus;\n\n public readonly inHouseAutopsies?: Array>;\n\n public readonly vendorAutopsies?: Array>;\n\n public autopsies?: AutopsyServiceCollection;\n\n public readonly organDonationRequirementStatus?: RequirementStatus;\n\n public readonly organDonations?: Array>;\n\n public donationProcurements?: DonationProcurementCollection;\n\n public readonly funeralHome?: Readonly;\n\n public readonly originLocation?: Readonly;\n\n public readonly medicalExaminer?: Readonly;\n\n public readonly medicolegalInvestigations?: MedicolegalInvestigationCollection;\n\n public readonly infectiousDisease?: Readonly;\n\n public readonly nextOfKin?: Array>;\n\n public readonly notes?: Pick[];\n\n public readonly documentIds?: string[];\n\n constructor(details: Case) {\n this.typeId = details.typeId;\n this.reportedBy = details.reportedBy;\n this.storageLocationId = details.storageLocationId;\n this.holds = details.holds;\n this.deathCertificate = details.deathCertificate;\n this.alias = details.decedent?.alias;\n this.firstName = details.decedent?.firstName;\n this.middleName = details.decedent?.middleName;\n this.lastName = details.decedent?.lastName;\n this.genderId = details.decedent?.genderId;\n this.dateOfBirth = details.decedent?.dateOfBirth\n ? new DateTimeInfo(details.decedent.dateOfBirth)\n : undefined;\n this.dateOfDeath = details.decedent?.dateOfDeath\n ? new DateTimeInfo(details.decedent.dateOfDeath)\n : undefined;\n this.medicalRecordNumber = details.decedent?.medicalRecordNumber;\n this.socialSecurityNumber = details.decedent?.socialSecurityNumber;\n this.financialIdentificationNumber = details.financialIdentificationNumber;\n this.weight = details.decedent?.weight;\n this.raceId = details.decedent?.raceId;\n this.ethnicityId = details.decedent?.ethnicityId;\n this.maritalStatusId = details.decedent?.maritalStatusId;\n this.countyId = details.decedent?.countyId;\n this.systemTagIds = details.tags?.systemTagIds;\n this.userTags = details.tags?.userTags;\n this.personalProperty = details.property?.locations;\n this.autopsyRequirementStatus = details.autopsies?.requirementStatus;\n this.inHouseAutopsies = details.autopsies?.inHouse;\n this.vendorAutopsies = details.autopsies?.vendor;\n this.autopsies = details.autopsyServices;\n this.organDonationRequirementStatus =\n details.organDonations?.requirementStatus;\n this.organDonations = details.organDonations?.records;\n this.donationProcurements = details.donationProcurements;\n this.funeralHome = details.funeralHome;\n this.originLocation = details.originLocation;\n this.medicalExaminer = details.medicalExaminer;\n this.medicolegalInvestigations = details.medicolegalInvestigations;\n this.infectiousDisease = details.infectiousDisease;\n this.nextOfKin = details.nextOfKin?.records;\n this.notes = details.notes?.records.map(({ content, tagIds }) => ({\n content,\n tagIds,\n }));\n this.documentIds = details.documents?.records.map((c) => c.id!);\n }\n}\n","import type { ActionTree } from 'vuex';\nimport type { IDictionariesState } from './state';\nimport { Mutation } from './mutations';\nimport type { RootState } from '~/store';\nimport {\n CaseTypeDictionaryItem,\n DictionaryItem,\n DictionaryType,\n NextOfKinTypeDictionaryItem,\n OrganizationDictionaryItem,\n OriginLocationDictionaryItem,\n SystemTagDictionaryItem,\n TagType,\n} from '~/app/models';\nimport {\n AddDictionaryItemRequest,\n AddNextOfKinTypeRequest,\n AddOrganizationDictionaryItemRequest,\n AddOriginLocationRequest,\n AddSystemTagRequest,\n CreateCaseTypeRequest,\n DeleteDictionaryItemRequest,\n EditCaseTypeRequest,\n EditDictionaryItemRequest,\n EditNextOfKinTypeRequest,\n EditOrganizationDictionaryItemRequest,\n EditOriginLocationRequest,\n EditSystemTagRequest,\n} from '~/app/core/api/requests/dictionaries';\n\nexport enum Action {\n fetch = 'fetch',\n fetchOne = 'fetchOne',\n add = 'add',\n edit = 'edit',\n remove = 'remove',\n\n fetchAssociateOrganizations = 'fetchAssociateOrganizations',\n\n fetchAutopsyVendors = 'fetchAutopsyVendors',\n fetchAutopsyVendor = 'fetchAutopsyVendorById',\n addAutopsyVendor = 'addAutopsyVendor',\n editAutopsyVendor = 'editAutopsyVendor',\n removeAutopsyVendor = 'removeAutopsyVendor',\n\n fetchFuneralHomes = 'fetchFuneralHomes',\n fetchFuneralHome = 'fetchFuneralHomeById',\n addFuneralHome = 'addFuneralHome',\n editFuneralHome = 'editFuneralHome',\n removeFuneralHome = 'removeFuneralHome',\n\n fetchGenders = 'fetchGenders',\n fetchGender = 'fetchGenderById',\n addGender = 'addGender',\n editGender = 'editGender',\n removeGender = 'removeGender',\n\n fetchOrganBanks = 'fetchOrganBanks',\n fetchOrganBank = 'fetchOrganBankById',\n addOrganBank = 'addOrganBank',\n editOrganBank = 'editOrganBank',\n removeOrganBank = 'removeOrganBank',\n\n fetchMedicalExaminers = 'fetchMedicalExaminers',\n fetchMedicalExaminer = 'fetchMedicalExaminerById',\n addMedicalExaminer = 'addMedicalExaminer',\n editMedicalExaminer = 'editMedicalExaminer',\n removeMedicalExaminer = 'removeMedicalExaminer',\n\n fetchPersonalBelongingLocations = 'fetchPersonalBelongingLocations',\n fetchPersonalBelongingLocation = 'fetchPersonalBelongingLocationById',\n addPersonalBelongingLocation = 'addPersonalBelongingLocation',\n editPersonalBelongingLocation = 'editPersonalBelongingLocation',\n removePersonalBelongingLocation = 'removePersonalBelongingLocation',\n\n fetchOriginLocations = 'fetchOriginLocations',\n fetchOriginLocation = 'fetchOriginLocationById',\n addOriginLocation = 'addOriginLocation',\n editOriginLocation = 'editOriginLocation',\n removeOriginLocation = 'removeOriginLocation',\n\n fetchSystemTags = 'fetchSystemTags',\n fetchSystemTag = 'fetchSystemTagById',\n addSystemTag = 'addSystemTag',\n editSystemTag = 'editSystemTag',\n removeSystemTag = 'removeSystemTag',\n fetchComputedTags = 'fetchComputedTags',\n\n fetchNextOfKinTypes = 'fetchNextOfKinTypes',\n fetchNextOfKinType = 'fetchNextOfKinTypeById',\n addNextOfKinType = 'addNextOfKinType',\n editNextOfKinType = 'editNextOfKinType',\n removeNextOfKinType = 'removeNextOfKinType',\n\n fetchInfectiousDiseaseTypes = 'fetchInfectiousDiseaseTypes',\n fetchInfectiousDiseaseType = 'fetchInfectiousDiseaseTypeById',\n addInfectiousDiseaseType = 'addInfectiousDiseaseType',\n editInfectiousDiseaseType = 'editInfectiousDiseaseType',\n removeInfectiousDiseaseType = 'removeInfectiousDiseaseType',\n\n fetchCaseTypes = 'fetchCaseTypes',\n fetchCaseType = 'fetchCaseTypeById',\n addCaseType = 'addCaseType',\n editCaseType = 'editCaseType',\n removeCaseType = 'removeCaseType',\n}\n\nexport interface AddEntryPayload {\n type: DictionaryType;\n request: AddDictionaryItemRequest;\n}\n\nexport interface EditEntryPayload {\n type: DictionaryType;\n request: EditDictionaryItemRequest;\n}\n\nexport interface RemoveEntryPayload {\n type: DictionaryType;\n request: DeleteDictionaryItemRequest;\n}\n\nexport const actions: ActionTree = {\n async [Action.fetch]({ commit }, type: DictionaryType) {\n const entries = await this.$api.dictionaries.getAsync(type);\n\n commit(Mutation.set, { type, entries });\n\n return [...entries].sort((a, b) =>\n a.name.toLowerCase() < b.name.toLowerCase() ? -1 : 1\n );\n },\n async [Action.fetchOne](_context, { slug, entryId }) {\n const entry = await this.$api.dictionaries.getByIdAsync(slug, entryId);\n return entry;\n },\n async [Action.add]({ state, commit }, { type, request }: AddEntryPayload) {\n const newEntry = await this.$api.dictionaries.addAsync(type, request);\n\n const key = `${type}s` as keyof IDictionariesState;\n commit(Mutation.set, {\n type,\n entries: [...(state[key] || []), newEntry],\n });\n\n return newEntry;\n },\n async [Action.edit]({ state, commit }, { type, request }: EditEntryPayload) {\n const editedEntry = await this.$api.dictionaries.editAsync(type, request);\n\n const key = `${type}s` as keyof IDictionariesState;\n const entryIndex = state[key]?.findIndex((e) => e.id === editedEntry.id);\n const _entries = [...(state[key] || [])];\n entryIndex !== undefined && _entries.splice(entryIndex, 1, editedEntry);\n commit(Mutation.set, { type, entries: _entries });\n\n return editedEntry;\n },\n async [Action.remove](\n { state, commit },\n { type, request }: RemoveEntryPayload\n ) {\n await this.$api.dictionaries.deleteAsync(type, request);\n\n const key = `${type}s` as keyof IDictionariesState;\n const entryIndex = state[key]?.findIndex((e) => e.id === request.entryId);\n const _entries = [...(state[key] || [])];\n entryIndex !== undefined && _entries.splice(entryIndex, 1);\n commit(Mutation.set, { type, entries: _entries });\n },\n\n async [Action.fetchAssociateOrganizations]({ commit }) {\n const orgs = await this.$api.dictionaries.getAssociateOrganizationsAsync();\n commit(Mutation.setAutopsyVendors, orgs);\n\n return orgs;\n },\n // #region Autopsy Vendors\n async [Action.fetchAutopsyVendors]({ commit }) {\n const vendors = await this.$api.dictionaries.getAutopsyVendorsAsync();\n\n commit(Mutation.setAutopsyVendors, vendors);\n\n return [...vendors].sort((a, b) =>\n a.name.toLowerCase() < b.name.toLowerCase() ? -1 : 1\n );\n },\n async [Action.fetchAutopsyVendor](_context, entryId: string) {\n const vendor = await this.$api.dictionaries.getAutopsyVendorAsync(entryId);\n return vendor;\n },\n async [Action.addAutopsyVendor](\n { state, commit },\n vendor: OrganizationDictionaryItem\n ) {\n const request = new AddOrganizationDictionaryItemRequest(vendor);\n const newVendor = await this.$api.dictionaries.addAutopsyVendorAsync(\n request\n );\n\n commit(Mutation.setAutopsyVendors, [\n ...(state.autopsyVendor || []),\n newVendor,\n ]);\n\n return newVendor;\n },\n async [Action.editAutopsyVendor](\n { state, commit },\n vendor: OrganizationDictionaryItem\n ) {\n const request = new EditOrganizationDictionaryItemRequest(vendor);\n const editedVendor = await this.$api.dictionaries.editAutopsyVendorAsync(\n request\n );\n\n const vendorIndex = state.autopsyVendor?.findIndex(\n (v) => v.id === vendor.id\n );\n const _vendors = [...(state.autopsyVendor || [])];\n vendorIndex !== undefined && _vendors.splice(vendorIndex, 1, editedVendor);\n commit(Mutation.setAutopsyVendors, _vendors);\n\n return editedVendor;\n },\n async [Action.removeAutopsyVendor](\n { state, commit },\n vendor: DictionaryItem\n ) {\n const request = new DeleteDictionaryItemRequest({ entryId: vendor.id });\n await this.$api.dictionaries.deleteAutopsyVendorAsync(request);\n\n const vendorIndex = state.autopsyVendor?.findIndex(\n (v) => v.id === vendor.id\n );\n const _vendors = [...(state.autopsyVendor || [])];\n vendorIndex !== undefined && _vendors.splice(vendorIndex, 1);\n commit(Mutation.setAutopsyVendors, _vendors);\n },\n // #endregion Autopsy Vendors\n // #region Funeral Homes\n async [Action.fetchFuneralHomes]({ commit }) {\n const funeralHomes = await this.$api.dictionaries.getFuneralHomesAsync();\n\n commit(Mutation.setFuneralHomes, funeralHomes);\n\n return [...funeralHomes].sort((a, b) =>\n a.name.toLowerCase() < b.name.toLowerCase() ? -1 : 1\n );\n },\n async [Action.fetchFuneralHome](_context, entryId: string) {\n const funeralHome = await this.$api.dictionaries.getFuneralHomeAsync(\n entryId\n );\n return funeralHome;\n },\n async [Action.addFuneralHome](\n { state, commit },\n funeralHome: OrganizationDictionaryItem\n ) {\n const request = new AddOrganizationDictionaryItemRequest(funeralHome);\n const newFuneralHome = await this.$api.dictionaries.addFuneralHomeAsync(\n request\n );\n\n commit(Mutation.setFuneralHomes, [\n ...(state.funeralHome || []),\n newFuneralHome,\n ]);\n\n return newFuneralHome;\n },\n async [Action.editFuneralHome](\n { state, commit },\n funeralHome: OrganizationDictionaryItem\n ) {\n const request = new EditOrganizationDictionaryItemRequest(funeralHome);\n const editedFuneralHome = await this.$api.dictionaries.editFuneralHomeAsync(\n request\n );\n\n const funeralHomeIndex = state.funeralHome?.findIndex(\n (fh) => fh.id === funeralHome.id\n );\n const _funeralHomes = [...(state.funeralHome || [])];\n funeralHomeIndex !== undefined &&\n _funeralHomes.splice(funeralHomeIndex, 1, editedFuneralHome);\n commit(Mutation.setFuneralHomes, _funeralHomes);\n\n return editedFuneralHome;\n },\n async [Action.removeFuneralHome](\n { state, commit },\n funeralHome: OrganizationDictionaryItem\n ) {\n const request = new DeleteDictionaryItemRequest({\n entryId: funeralHome.id,\n });\n await this.$api.dictionaries.deleteFuneralHomeAsync(request);\n\n const funeralHomeIndex = state.funeralHome?.findIndex(\n (fh) => fh.id === funeralHome.id\n );\n const _funeralHomes = [...(state.funeralHome || [])];\n funeralHomeIndex !== undefined && _funeralHomes.splice(funeralHomeIndex, 1);\n commit(Mutation.setFuneralHomes, _funeralHomes);\n },\n // #endregion Funeral Home\n // #region Organ Banks\n async [Action.fetchOrganBanks]({ commit }) {\n const organBanks = await this.$api.dictionaries.getOrganBanksAsync();\n\n commit(Mutation.setOrganBanks, organBanks);\n\n return [...organBanks].sort((a, b) =>\n a.name.toLowerCase() < b.name.toLowerCase() ? -1 : 1\n );\n },\n async [Action.fetchOrganBank](_context, entryId: string) {\n const organBank = await this.$api.dictionaries.getOrganBankAsync(entryId);\n return organBank;\n },\n async [Action.addOrganBank](\n { state, commit },\n organBank: OrganizationDictionaryItem\n ) {\n const request = new AddOrganizationDictionaryItemRequest(organBank);\n const organBanks = await this.$api.dictionaries.addOrganBankAsync(request);\n\n commit(Mutation.setOrganBanks, [...(state.tissueBank || []), organBanks]);\n\n return organBanks;\n },\n async [Action.editOrganBank](\n { state, commit },\n organBank: OrganizationDictionaryItem\n ) {\n const request = new EditOrganizationDictionaryItemRequest(organBank);\n const updatedOrganBank = await this.$api.dictionaries.editOrganBankAsync(\n request\n );\n\n const organBankIndex = state.tissueBank?.findIndex(\n (ob) => ob.id === organBank.id\n );\n const _organBanks = [...(state.tissueBank || [])];\n organBankIndex !== undefined &&\n _organBanks.splice(organBankIndex, 1, updatedOrganBank);\n commit(Mutation.setOrganBanks, _organBanks);\n\n return updatedOrganBank;\n },\n async [Action.removeOrganBank](\n { state, commit },\n organBank: OrganizationDictionaryItem\n ) {\n const request = new DeleteDictionaryItemRequest({\n entryId: organBank.id,\n });\n await this.$api.dictionaries.deleteOrganBankAsync(request);\n\n const organBankIndex = state.tissueBank?.findIndex(\n (fh) => fh.id === organBank.id\n );\n const _organBanks = [...(state.tissueBank || [])];\n organBankIndex !== undefined && _organBanks.splice(organBankIndex, 1);\n commit(Mutation.setOrganBanks, _organBanks);\n },\n // #endregion Organ Banks\n // #region Medical Examiners\n async [Action.fetchMedicalExaminers]({ commit }) {\n const medicalExaminers = await this.$api.dictionaries.getMedicalExaminersAsync();\n\n commit(Mutation.setMedicalExaminers, medicalExaminers);\n\n return [...medicalExaminers].sort((a, b) =>\n a.name.toLowerCase() < b.name.toLowerCase() ? -1 : 1\n );\n },\n async [Action.fetchMedicalExaminer](_context, entryId: string) {\n const medicalExaminer = await this.$api.dictionaries.getMedicalExaminerAsync(\n entryId\n );\n return medicalExaminer;\n },\n async [Action.addMedicalExaminer](\n { state, commit },\n medicalExaminer: OrganizationDictionaryItem\n ) {\n const request = new AddOrganizationDictionaryItemRequest(medicalExaminer);\n const newMedicalExaminer = await this.$api.dictionaries.addMedicalExaminerAsync(\n request\n );\n\n commit(Mutation.setMedicalExaminers, [\n ...(state.medicalExaminer || []),\n newMedicalExaminer,\n ]);\n\n return newMedicalExaminer;\n },\n async [Action.editMedicalExaminer](\n { state, commit },\n medicalExaminer: OrganizationDictionaryItem\n ) {\n const request = new EditOrganizationDictionaryItemRequest(medicalExaminer);\n const updatedMedicalExaminer = await this.$api.dictionaries.editMedicalExaminerAsync(\n request\n );\n\n const medicalExaminerIndex = state.medicalExaminer?.findIndex(\n (me) => me.id === medicalExaminer.id\n );\n const _medicalExaminers = [...(state.medicalExaminer || [])];\n medicalExaminerIndex !== undefined &&\n _medicalExaminers.splice(medicalExaminerIndex, 1, updatedMedicalExaminer);\n commit(Mutation.setMedicalExaminers, _medicalExaminers);\n\n return updatedMedicalExaminer;\n },\n async [Action.removeMedicalExaminer](\n { state, commit },\n medicalExaminer: OrganizationDictionaryItem\n ) {\n const request = new DeleteDictionaryItemRequest({\n entryId: medicalExaminer.id,\n });\n await this.$api.dictionaries.deleteMedicalExaminerAsync(request);\n\n const medicalExaminerIndex = state.medicalExaminer?.findIndex(\n (me) => me.id === medicalExaminer.id\n );\n const _medicalExaminers = [...(state.medicalExaminer || [])];\n medicalExaminerIndex !== undefined &&\n _medicalExaminers.splice(medicalExaminerIndex, 1);\n commit(Mutation.setOrganBanks, _medicalExaminers);\n },\n // #endregion Medical Examiners\n // #region Gender\n async [Action.fetchGenders]({ commit }) {\n const genders = await this.$api.dictionaries.getGendersAsync();\n\n commit(Mutation.setGenders, genders);\n\n return [...genders].sort((a, b) =>\n a.name.toLowerCase() < b.name.toLowerCase() ? -1 : 1\n );\n },\n async [Action.fetchGender](_context, entryId: string) {\n const gender = await this.$api.dictionaries.getGenderAsync(entryId);\n return gender;\n },\n async [Action.addGender](\n { state, commit },\n gender: DictionaryItem & { externalId: string }\n ) {\n const request = new AddDictionaryItemRequest(gender);\n const newGender = await this.$api.dictionaries.addGenderAsync(request);\n\n commit(Mutation.setGenders, [...(state.gender || []), newGender]);\n\n return newGender;\n },\n async [Action.editGender](\n { state, commit },\n gender: DictionaryItem & { externalId: string }\n ) {\n const request = new EditDictionaryItemRequest(gender);\n const editedGender = await this.$api.dictionaries.editGenderAsync(request);\n\n const genderIndex = state.gender?.findIndex((g) => g.id === gender.id);\n const _genders = [...(state.gender || [])];\n genderIndex !== undefined && _genders.splice(genderIndex, 1, editedGender);\n commit(Mutation.setGenders, _genders);\n\n return editedGender;\n },\n async [Action.removeGender]({ state, commit }, gender: DictionaryItem) {\n const request = new DeleteDictionaryItemRequest({ entryId: gender.id });\n await this.$api.dictionaries.deleteGenderAsync(request);\n\n const genderIndex = state.gender?.findIndex((g) => g.id === gender.id);\n const _genders = [...(state.gender || [])];\n genderIndex !== undefined && _genders.splice(genderIndex, 1);\n commit(Mutation.setGenders, _genders);\n },\n // #endregion Gender\n // #region Personal Belonging Locations\n async [Action.fetchPersonalBelongingLocations]({ commit }) {\n const locations = await this.$api.dictionaries.getPersonalBelongingLocationsAsync();\n\n commit(Mutation.setPersonalBelongingLocations, locations);\n\n return [...locations].sort((a, b) =>\n a.name.toLowerCase() < b.name.toLowerCase() ? -1 : 1\n );\n },\n async [Action.fetchPersonalBelongingLocation](_context, entryId: string) {\n const location = await this.$api.dictionaries.getPersonalBelongingLocationAsync(\n entryId\n );\n return location;\n },\n async [Action.addPersonalBelongingLocation]({ state, commit }, name: string) {\n const request = new AddDictionaryItemRequest({ name });\n const location = await this.$api.dictionaries.addPersonalBelongingLocationAsync(\n request\n );\n\n commit(Mutation.setPersonalBelongingLocations, [\n ...(state.personalBelongingLocation || []),\n location,\n ]);\n\n return location;\n },\n async [Action.editPersonalBelongingLocation](\n { state, commit },\n location: DictionaryItem\n ) {\n const request = new EditDictionaryItemRequest(location);\n const editedLocation = await this.$api.dictionaries.editPersonalBelongingLocationAsync(\n request\n );\n\n const locationIndex = state.personalBelongingLocation?.findIndex(\n (l) => l.id === location.id\n );\n const _locations = [...(state.personalBelongingLocation || [])];\n locationIndex !== undefined &&\n _locations.splice(locationIndex, 1, editedLocation);\n commit(Mutation.setPersonalBelongingLocations, _locations);\n\n return editedLocation;\n },\n async [Action.removePersonalBelongingLocation](\n { state, commit },\n location: DictionaryItem\n ) {\n const request = new DeleteDictionaryItemRequest({\n entryId: location.id,\n });\n await this.$api.dictionaries.deletePersonalBelongingLocationAsync(request);\n\n const locationIndex = state.personalBelongingLocation?.findIndex(\n (l) => l.id === location.id\n );\n const _locations = [...(state.personalBelongingLocation || [])];\n locationIndex !== undefined && _locations.splice(locationIndex, 1);\n commit(Mutation.setPersonalBelongingLocations, _locations);\n },\n // #endregion Personal Belonging Locations\n // #region Origin Locations\n async [Action.fetchOriginLocations]({ commit }) {\n const locations = await this.$api.dictionaries.getOriginLocationsAsync();\n\n commit(Mutation.setOriginLocations, locations);\n\n return [...locations].sort((a, b) =>\n a.name.toLowerCase() < b.name.toLowerCase() ? -1 : 1\n );\n },\n async [Action.fetchOriginLocation](_context, entryId: string) {\n const location = await this.$api.dictionaries.getOriginLocationAsync(\n entryId\n );\n return location;\n },\n async [Action.addOriginLocation](\n { state, commit },\n entity: Omit<\n OriginLocationDictionaryItem,\n 'id' | 'activated' | 'filterValue'\n >\n ) {\n const request = new AddOriginLocationRequest(entity);\n const location = await this.$api.dictionaries.addOriginLocationAsync(\n request\n );\n\n commit(Mutation.setOriginLocations, [\n ...(state.originLocation || []),\n location,\n ]);\n\n return location;\n },\n async [Action.editOriginLocation](\n { state, commit },\n entity: Omit\n ) {\n const request = new EditOriginLocationRequest(entity);\n const editedLocation = await this.$api.dictionaries.editOriginLocationAsync(\n request\n );\n\n const locationIndex = state.originLocation?.findIndex(\n (l) => l.id === request.id\n );\n const _locations = [...(state.originLocation || [])];\n locationIndex !== undefined &&\n _locations.splice(locationIndex, 1, editedLocation);\n commit(Mutation.setOriginLocations, _locations);\n\n return editedLocation;\n },\n async [Action.removeOriginLocation](\n { state, commit },\n location: DictionaryItem\n ) {\n const request = new DeleteDictionaryItemRequest({\n entryId: location.id,\n });\n await this.$api.dictionaries.deleteOriginLocationAsync(request);\n\n const locationIndex = state.originLocation?.findIndex(\n (l) => l.id === location.id\n );\n const _locations = [...(state.originLocation || [])];\n locationIndex !== undefined && _locations.splice(locationIndex, 1);\n commit(Mutation.setOriginLocations, _locations);\n },\n // #endregion Origin Locations\n // #region Tags\n async [Action.fetchSystemTags]({ commit }, types?: TagType[]) {\n const tags = await this.$api.dictionaries.getSystemTagsAsync();\n\n commit(Mutation.setTags, tags);\n\n return [...tags]\n .filter((t) => (types ? types?.includes(t.type) : true))\n .sort((a, b) => (a.name.toLowerCase() < b.name.toLowerCase() ? -1 : 1));\n },\n async [Action.fetchSystemTag](_context, entryId) {\n const tag = await this.$api.dictionaries.getSystemTagAsync(entryId);\n return tag;\n },\n async [Action.addSystemTag]({ state, commit }, tag: SystemTagDictionaryItem) {\n const request = new AddSystemTagRequest(tag);\n const newTag = await this.$api.dictionaries.addTagAsync(request);\n\n commit(Mutation.setTags, [...(state.tag || []), newTag]);\n\n return newTag;\n },\n async [Action.editSystemTag](\n { state, commit },\n tag: SystemTagDictionaryItem\n ) {\n const request = new EditSystemTagRequest(tag);\n const editedTag = await this.$api.dictionaries.editTagAsync(request);\n\n const tagIndex = state.tag?.findIndex((t) => t.id === tag.id);\n const _tags = [...(state.tag || [])];\n tagIndex !== undefined && _tags.splice(tagIndex, 1, editedTag);\n commit(Mutation.setTags, _tags);\n\n return editedTag;\n },\n async [Action.removeSystemTag](\n { state, commit },\n tag: SystemTagDictionaryItem\n ) {\n const request = new DeleteDictionaryItemRequest({\n entryId: tag.id,\n });\n await this.$api.dictionaries.deleteTagAsync(request);\n\n const tagIndex = state.tag?.findIndex((t) => t.id === tag.id);\n const _tags = [...(state.tag || [])];\n tagIndex !== undefined && _tags.splice(tagIndex, 1);\n commit(Mutation.setTags, _tags);\n },\n async [Action.fetchComputedTags]() {\n const tags = await this.$api.dictionaries.getComputedTagsAsync();\n return tags;\n // return [...tags].sort((a, b) => (a.name.toLowerCase() < b.name.toLowerCase() ? -1 : 1));\n },\n // #endregion Tags\n // #region Next of Kin Types\n async [Action.fetchNextOfKinTypes]({ commit }) {\n const types = await this.$api.dictionaries.getNextOfKinTypesAsync();\n\n commit(Mutation.setNextOfKinTypes, types);\n\n return [...types].sort((a, b) =>\n a.name.toLowerCase() < b.name.toLowerCase() ? -1 : 1\n );\n },\n async [Action.fetchNextOfKinType](_context, entryId) {\n const type = await this.$api.dictionaries.getNextOfKinTypeAsync(entryId);\n return type;\n },\n async [Action.addNextOfKinType](\n { state, commit },\n type: NextOfKinTypeDictionaryItem\n ) {\n const request = new AddNextOfKinTypeRequest(type);\n const newType = await this.$api.dictionaries.addNextOfKinTypeAsync(request);\n\n commit(Mutation.setNextOfKinTypes, [\n ...(state.nextOfKinType || []),\n newType,\n ]);\n\n return newType;\n },\n async [Action.editNextOfKinType](\n { state, commit },\n type: NextOfKinTypeDictionaryItem\n ) {\n const request = new EditNextOfKinTypeRequest(type);\n const editedType = await this.$api.dictionaries.editNextOfKinTypeAsync(\n request\n );\n\n const typeIndex = state.nextOfKinType?.findIndex(\n (t) => t.id === editedType.id\n );\n const _types = [...(state.nextOfKinType || [])];\n typeIndex !== undefined && _types.splice(typeIndex, 1, editedType);\n commit(Mutation.setNextOfKinTypes, _types);\n\n return editedType;\n },\n async [Action.removeNextOfKinType](\n { state, commit },\n type: NextOfKinTypeDictionaryItem\n ) {\n const request = new DeleteDictionaryItemRequest({\n entryId: type.id,\n });\n await this.$api.dictionaries.deleteNextOfKinTypeAsync(request);\n\n const typeIndex = state.nextOfKinType?.findIndex((t) => t.id === type.id);\n const _type = [...(state.nextOfKinType || [])];\n typeIndex !== undefined && _type.splice(typeIndex, 1);\n commit(Mutation.setNextOfKinTypes, _type);\n },\n // #endregion Next of Kin\n // #region Infectious Disease Types\n async [Action.fetchInfectiousDiseaseTypes]({ commit }) {\n const types = await this.$api.dictionaries.getInfectiousDiseaseTypesAsync();\n\n commit(Mutation.setInfectiousDiseaseTypes, types);\n\n return [...types].sort((a, b) =>\n a.name.toLowerCase() < b.name.toLowerCase() ? -1 : 1\n );\n },\n async [Action.fetchInfectiousDiseaseType](_context, entryId) {\n const type = await this.$api.dictionaries.getInfectiousDiseaseTypeAsync(\n entryId\n );\n return type;\n },\n async [Action.addInfectiousDiseaseType](\n { state, commit },\n type: DictionaryItem\n ) {\n const request = new AddDictionaryItemRequest(type);\n const newType = await this.$api.dictionaries.addInfectiousDiseaseTypeAsync(\n request\n );\n\n commit(Mutation.setInfectiousDiseaseTypes, [\n ...(state.infectiousDiseaseType || []),\n newType,\n ]);\n\n return newType;\n },\n async [Action.editInfectiousDiseaseType](\n { state, commit },\n type: DictionaryItem\n ) {\n const request = new EditDictionaryItemRequest(type);\n const editedType = await this.$api.dictionaries.editInfectiousDiseaseTypeAsync(\n request\n );\n\n const typeIndex = state.infectiousDiseaseType?.findIndex(\n (t) => t.id === editedType.id\n );\n const _types = [...(state.infectiousDiseaseType || [])];\n typeIndex !== undefined && _types.splice(typeIndex, 1, editedType);\n commit(Mutation.setInfectiousDiseaseTypes, _types);\n\n return editedType;\n },\n async [Action.removeInfectiousDiseaseType](\n { state, commit },\n type: DictionaryItem\n ) {\n const request = new DeleteDictionaryItemRequest({\n entryId: type.id,\n });\n await this.$api.dictionaries.deleteInfectiousDiseaseTypeAsync(request);\n\n const typeIndex = state.infectiousDiseaseType?.findIndex(\n (t) => t.id === type.id\n );\n const _type = [...(state.infectiousDiseaseType || [])];\n typeIndex !== undefined && _type.splice(typeIndex, 1);\n commit(Mutation.setInfectiousDiseaseTypes, _type);\n },\n // #endregion Infectious Disease Types\n // #region Case Types\n async [Action.fetchCaseTypes]({ commit }) {\n const types = await this.$api.dictionaries.getCaseTypesAsync();\n\n commit(Mutation.setCaseTypes, types);\n\n return [...types].sort((a, b) =>\n a.name.toLowerCase() < b.name.toLowerCase() ? -1 : 1\n );\n },\n async [Action.fetchCaseType](_context, entryId) {\n const type = await this.$api.dictionaries.getCaseTypeAsync(entryId);\n return type;\n },\n async [Action.addCaseType]({ state, commit }, type: CaseTypeDictionaryItem) {\n const request = new CreateCaseTypeRequest(type);\n const newType = await this.$api.dictionaries.addCaseTypeAsync(request);\n\n commit(Mutation.setCaseTypes, [...(state.caseType || []), newType]);\n\n return newType;\n },\n async [Action.editCaseType]({ state, commit }, type: CaseTypeDictionaryItem) {\n const request = new EditCaseTypeRequest(type);\n const editedType = await this.$api.dictionaries.editCaseTypeAsync(request);\n\n const typeIndex = state.caseType?.findIndex((t) => t.id === editedType.id);\n const _types = [...(state.caseType || [])];\n typeIndex !== undefined && _types.splice(typeIndex, 1, editedType);\n commit(Mutation.setCaseTypes, _types);\n\n return editedType;\n },\n async [Action.removeCaseType]({ state, commit }, type: DictionaryItem) {\n const request = new DeleteDictionaryItemRequest({\n entryId: type.id,\n });\n await this.$api.dictionaries.deleteCaseTypeAsync(request);\n\n const typeIndex = state.caseType?.findIndex((t) => t.id === type.id);\n const _type = [...(state.caseType || [])];\n typeIndex !== undefined && _type.splice(typeIndex, 1);\n commit(Mutation.setCaseTypes, _type);\n },\n // #endregion Case Types\n};\n\nexport default actions;\n","import type { ActionTree } from 'vuex';\nimport { RootState } from '../index';\nimport { ITenantState } from './state';\nimport { Mutation } from './mutations';\n\nexport enum Action {\n fetchTenant = 'tenant.fetchTenant',\n}\n\nexport const actions: ActionTree = {\n async [Action.fetchTenant](context, options?: { ignoreCache?: boolean }) {\n let tenant = context.state.tenant;\n\n if (options?.ignoreCache || !tenant) {\n tenant = await this.$api.tenant.getAsync();\n context.commit(Mutation.setTenant, tenant);\n }\n\n return tenant;\n },\n};\n\nexport default actions;\n","import type { ActionTree } from 'vuex';\nimport { RootState } from '../index';\nimport { IAccessState } from './state';\nimport { Mutation } from './mutations';\nimport { AccessScopeMasterList, User } from '~/app/models';\nimport { AccessScopeService } from '~/app/core/services/access-scope-service';\n\nexport enum Action {\n setUser = 'access.setUser',\n fetchUser = 'access.fetchUser',\n fetchAccessScopesMasterList = 'access.fetchAccessScopesMasterList',\n}\n\nexport const actions: ActionTree = {\n async [Action.fetchUser](context, options?: { ignoreCache?: boolean }) {\n let user = context.state.user;\n\n if (options?.ignoreCache || !user) {\n user = await this.$api.user.getCurrentAsync();\n context.commit(Mutation.setUser, user);\n }\n\n return user;\n },\n async [Action.fetchAccessScopesMasterList](\n context,\n options?: { ignoreCache?: boolean }\n ) {\n let accessScopes = context.state.accessScopeMasterList;\n\n if (options?.ignoreCache || !accessScopes) {\n accessScopes = await this.$api.user.getAccessScopeMasterListAsync();\n context.commit(Mutation.setAccessScopeMasterList, accessScopes);\n }\n\n return accessScopes;\n },\n async [Action.setUser](context, user: User) {\n context.commit(Mutation.setUser, user);\n\n const masterList: AccessScopeMasterList = await context.dispatch(\n Action.fetchAccessScopesMasterList\n );\n\n const accessScopeService = new AccessScopeService(masterList, this.$log);\n const scopes = accessScopeService.parseList(user.accessScopes);\n this.$ability.update(scopes);\n },\n};\n\nexport default actions;\n","import { useContext } from '@nuxtjs/composition-api';\nimport { useTenantConfig } from '~/app/composables/use-tenant-config';\nimport { AppAbilitySubject, ReportAbilityAction } from '~/app/core/casl';\nimport type { Action } from '~/app/core/casl/types';\n\nexport function useReporting() {\n const { enabled, templateDefinitions } = useTenantConfig().reporting;\n const { $ability } = useContext();\n\n const availableReports = templateDefinitions.filter(({ id }) => {\n const reportAction = ReportAbilityAction.readReport.replace(\n '{id}',\n id.toString()\n ) as Action;\n return $ability.can(reportAction, AppAbilitySubject.report);\n });\n\n return {\n enabled: enabled && availableReports.length > 0,\n availableReports,\n templateDefinitions,\n };\n}\n","import { wrapProperty } from '@nuxtjs/composition-api';\n\nexport const useAuthProvider = wrapProperty('$auth', false);\n","export class RegisterUserRequest {\n public readonly emailAddress: string;\n public readonly firstName: string;\n public readonly lastName: string;\n\n constructor(args: RegisterUserRequest) {\n if (!args.emailAddress) throw new Error('emailAddress is required.');\n if (!args.firstName) throw new Error('firstName is required.');\n if (!args.lastName) throw new Error('lastName is required.');\n\n this.emailAddress = args.emailAddress;\n this.firstName = args.firstName;\n this.lastName = args.lastName;\n }\n}\n","import { RegistrationRoute } from './routes';\nimport { AppModule } from '~/app/core/module-system/module';\nimport { registerModule } from '~/app/core/module-system/use-module';\nimport { AuthTaskQueueDeferralController } from '~/app/core/auth/events/task-queue';\nimport { RegisterUserRequest } from '~/app/core/api/requests/user/register-user-request';\nimport {\n moduleName as AccessModuleName,\n Action as AccessAction,\n} from '~/store/access';\n\nexport class UserRegistrationModule extends AppModule {\n public readonly name = UserRegistrationModule.name;\n\n private authLoginFlowDeferralController?: AuthTaskQueueDeferralController;\n\n public activate() {\n super.activate();\n }\n\n public setLoginDeferralController(\n controller: AuthTaskQueueDeferralController\n ) {\n this.authLoginFlowDeferralController = controller;\n }\n\n public async registerUserAsync(\n emailAddress: string,\n firstName: string,\n lastName: string\n ) {\n const request = new RegisterUserRequest({\n emailAddress,\n firstName,\n lastName,\n });\n\n const user = await this.context.$api.user.registration.registerAsync(\n request\n );\n\n await this.context.store.dispatch(\n `${AccessModuleName}/${AccessAction.setUser}`,\n user\n );\n\n // Process the login events queue to notify subscribers that login is complete\n this.authLoginFlowDeferralController?.processQueue();\n }\n}\n\nexport const ModuleName = UserRegistrationModule.name;\n\nexport const registerUserRegistrationModule = () =>\n registerModule(UserRegistrationModule, {\n route: RegistrationRoute.root,\n activationMethod: 'route-enter',\n });\n","/**\n * Reduce bundle size by only including the icons needed by components\n * See: https://github.com/HeskeyBaozi/reduce-antd-icons-bundle-demo\n */\n\n// export what you need\n/** Add own icon imports here */\n\n// export what antd other components need\nexport { default as CloseOutline } from '@ant-design/icons/lib/outline/CloseOutline';\nexport { default as CheckOutline } from '@ant-design/icons/lib/outline/CheckOutline';\nexport { default as LoadingOutline } from '@ant-design/icons/lib/outline/LoadingOutline';\nexport { default as CheckCircleOutline } from '@ant-design/icons/lib/outline/CheckCircleOutline';\nexport { default as InfoCircleOutline } from '@ant-design/icons/lib/outline/InfoCircleOutline';\nexport { default as CloseCircleOutline } from '@ant-design/icons/lib/outline/CloseCircleOutline';\nexport { default as QuestionCircleOutline } from '@ant-design/icons/lib/outline/QuestionCircleOutline';\nexport { default as ExclamationCircleOutline } from '@ant-design/icons/lib/outline/ExclamationCircleOutline';\nexport { default as CheckCircleFill } from '@ant-design/icons/lib/fill/CheckCircleFill';\nexport { default as InfoCircleFill } from '@ant-design/icons/lib/fill/InfoCircleFill';\nexport { default as CloseCircleFill } from '@ant-design/icons/lib/fill/CloseCircleFill';\nexport { default as ExclamationCircleFill } from '@ant-design/icons/lib/fill/ExclamationCircleFill';\nexport { default as UpOutline } from '@ant-design/icons/lib/outline/UpOutline';\nexport { default as DownOutline } from '@ant-design/icons/lib/outline/DownOutline';\nexport { default as LeftOutline } from '@ant-design/icons/lib/outline/LeftOutline';\nexport { default as RightOutline } from '@ant-design/icons/lib/outline/RightOutline';\nexport { default as RedoOutline } from '@ant-design/icons/lib/outline/RedoOutline';\nexport { default as CalendarOutline } from '@ant-design/icons/lib/outline/CalendarOutline';\nexport { default as SearchOutline } from '@ant-design/icons/lib/outline/SearchOutline';\nexport { default as BarsOutline } from '@ant-design/icons/lib/outline/BarsOutline';\nexport { default as StarFill } from '@ant-design/icons/lib/fill/StarFill';\nexport { default as FilterOutline } from '@ant-design/icons/lib/outline/FilterOutline';\nexport { default as CaretUpOutline } from '@ant-design/icons/lib/outline/CaretUpOutline';\nexport { default as CaretDownOutline } from '@ant-design/icons/lib/outline/CaretDownOutline';\nexport { default as PlusOutline } from '@ant-design/icons/lib/outline/PlusOutline';\nexport { default as FileOutline } from '@ant-design/icons/lib/outline/FileOutline';\nexport { default as FolderOpenOutline } from '@ant-design/icons/lib/outline/FolderOpenOutline';\nexport { default as FolderOutline } from '@ant-design/icons/lib/outline/FolderOutline';\nexport { default as PaperClipOutline } from '@ant-design/icons/lib/outline/PaperClipOutline';\nexport { default as PictureOutline } from '@ant-design/icons/lib/outline/PictureOutline';\nexport { default as EyeOutline } from '@ant-design/icons/lib/outline/EyeOutline';\nexport { default as DeleteOutline } from '@ant-design/icons/lib/outline/DeleteOutline';\n","import Vue from 'vue'\n\nconst requestIdleCallback = window.requestIdleCallback ||\n function (cb) {\n const start = Date.now()\n return setTimeout(function () {\n cb({\n didTimeout: false,\n timeRemaining: () => Math.max(0, 50 - (Date.now() - start))\n })\n }, 1)\n }\n\nconst cancelIdleCallback = window.cancelIdleCallback || function (id) {\n clearTimeout(id)\n}\n\nconst observer = window.IntersectionObserver && new window.IntersectionObserver((entries) => {\n entries.forEach(({ intersectionRatio, target: link }) => {\n if (intersectionRatio <= 0 || !link.__prefetch) {\n return\n }\n link.__prefetch()\n })\n})\n\nexport default {\n name: 'NuxtLink',\n extends: Vue.component('RouterLink'),\n props: {\n prefetch: {\n type: Boolean,\n default: true\n },\n noPrefetch: {\n type: Boolean,\n default: false\n }\n },\n mounted () {\n if (this.prefetch && !this.noPrefetch) {\n this.handleId = requestIdleCallback(this.observe, { timeout: 2e3 })\n }\n },\n beforeDestroy () {\n cancelIdleCallback(this.handleId)\n\n if (this.__observed) {\n observer.unobserve(this.$el)\n delete this.$el.__prefetch\n }\n },\n methods: {\n observe () {\n // If no IntersectionObserver, avoid prefetching\n if (!observer) {\n return\n }\n // Add to observer\n if (this.shouldPrefetch()) {\n this.$el.__prefetch = this.prefetchLink.bind(this)\n observer.observe(this.$el)\n this.__observed = true\n }\n },\n shouldPrefetch () {\n return this.getPrefetchComponents().length > 0\n },\n canPrefetch () {\n const conn = navigator.connection\n const hasBadConnection = this.$nuxt.isOffline || (conn && ((conn.effectiveType || '').includes('2g') || conn.saveData))\n\n return !hasBadConnection\n },\n getPrefetchComponents () {\n const ref = this.$router.resolve(this.to, this.$route, this.append)\n const Components = ref.resolved.matched.map(r => r.components.default)\n\n return Components.filter(Component => typeof Component === 'function' && !Component.options && !Component.__prefetched)\n },\n prefetchLink () {\n if (!this.canPrefetch()) {\n return\n }\n // Stop observing this link (in case of internet connection changes)\n observer.unobserve(this.$el)\n const Components = this.getPrefetchComponents()\n\n for (const Component of Components) {\n const componentOrPromise = Component()\n if (componentOrPromise instanceof Promise) {\n componentOrPromise.catch(() => {})\n }\n Component.__prefetched = true\n }\n }\n }\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.loadModal)?_c('div',[_c('the-case-check-in-modal',_vm._g({attrs:{\"visible\":_vm.isVisible},on:{\"update:visible\":function($event){_vm.isVisible=$event}}},_vm.$listeners))],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./case-check-in-modal-lazy.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./case-check-in-modal-lazy.vue?vue&type=script&lang=ts&\"","\n\n\n\n\n\n\nimport { defineComponent, PropType, ref } from '@nuxtjs/composition-api';\nimport { useVModel } from '@vueuse/core';\nimport { ModalEvent } from './modal-event';\nimport { useTripSwitch } from '~/app/composables/use-trip-switch';\n\nexport { ModalEvent };\n\nexport default defineComponent({\n name: 'TheCaseCheckInModalLazy',\n components: {\n TheCaseCheckInModal: () =>\n import(\n /* webpackChunkName: \"case-checkin-modal\" */\n './case-check-in-modal.vue'\n ),\n },\n props: {\n visible: {\n type: Boolean as PropType,\n required: true,\n },\n },\n emits: {\n /** Emitted when the visibility state is changed. */\n [ModalEvent.updateVisible]: (isVisible: any) =>\n typeof isVisible === 'boolean',\n },\n setup(props, { emit }) {\n const isVisible = useVModel(props, 'visible', emit);\n const loadModal = ref(false);\n\n useTripSwitch(isVisible, () => (loadModal.value = true));\n\n return { isVisible, loadModal, ModalEvent };\n },\n});\n","import { render, staticRenderFns } from \"./case-check-in-modal-lazy.vue?vue&type=template&id=17fe4cf4&\"\nimport script from \"./case-check-in-modal-lazy.vue?vue&type=script&lang=ts&\"\nexport * from \"./case-check-in-modal-lazy.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.loadModal)?_c('div',[_c('the-case-checkout-modal',_vm._g({attrs:{\"visible\":_vm.isVisible},on:{\"update:visible\":function($event){_vm.isVisible=$event}}},_vm.$listeners))],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./case-checkout-modal-lazy.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./case-checkout-modal-lazy.vue?vue&type=script&lang=ts&\"","\n\n\n\n\n\n\nimport { defineComponent, PropType, ref } from '@nuxtjs/composition-api';\nimport { useVModel } from '@vueuse/core';\nimport { ModalEvent } from './modal-event';\nimport { useTripSwitch } from '~/app/composables/use-trip-switch';\n\nexport { ModalEvent };\n\nexport default defineComponent({\n name: 'TheCaseCheckoutModalLazy',\n components: {\n TheCaseCheckoutModal: () =>\n import(\n /* webpackChunkName: \"case-checkout-modal\" */\n './case-checkout-modal.vue'\n ),\n },\n props: {\n visible: {\n type: Boolean as PropType,\n required: true,\n },\n },\n emits: {\n /** Emitted when the visibility state is changed. */\n [ModalEvent.updateVisible]: (isVisible: any) =>\n typeof isVisible === 'boolean',\n },\n setup(props, { emit }) {\n const isVisible = useVModel(props, 'visible', emit);\n const loadModal = ref(false);\n\n useTripSwitch(isVisible, () => (loadModal.value = true));\n\n return { isVisible, loadModal, ModalEvent };\n },\n});\n","import { render, staticRenderFns } from \"./case-checkout-modal-lazy.vue?vue&type=template&id=e476f262&\"\nimport script from \"./case-checkout-modal-lazy.vue?vue&type=script&lang=ts&\"\nexport * from \"./case-checkout-modal-lazy.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.loadModal)?_c('div',[_c('the-case-transfer-modal',_vm._g({attrs:{\"visible\":_vm.isVisible},on:{\"update:visible\":function($event){_vm.isVisible=$event}}},_vm.$listeners))],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./case-transfer-modal-lazy.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./case-transfer-modal-lazy.vue?vue&type=script&lang=ts&\"","\n\n\n\n\n\n\nimport { defineComponent, PropType, ref } from '@nuxtjs/composition-api';\nimport { useVModel } from '@vueuse/core';\nimport { ModalEvent } from './modal-event';\nimport { useTripSwitch } from '~/app/composables/use-trip-switch';\n\nexport { ModalEvent };\n\nexport default defineComponent({\n name: 'TheCaseTransferModalLazy',\n components: {\n TheCaseTransferModal: () =>\n import(\n /* webpackChunkName: \"case-transfer-modal\" */\n './case-transfer-modal.vue'\n ),\n },\n props: {\n visible: {\n type: Boolean as PropType,\n required: true,\n },\n },\n emits: {\n /** Emitted when the visibility state is changed. */\n [ModalEvent.updateVisible]: (isVisible: any) =>\n typeof isVisible === 'boolean',\n },\n setup(props, { emit }) {\n const isVisible = useVModel(props, 'visible', emit);\n const loadModal = ref(false);\n\n useTripSwitch(isVisible, () => (loadModal.value = true));\n\n return { isVisible, loadModal, ModalEvent };\n },\n});\n","import { render, staticRenderFns } from \"./case-transfer-modal-lazy.vue?vue&type=template&id=47ea2f80&\"\nimport script from \"./case-transfer-modal-lazy.vue?vue&type=script&lang=ts&\"\nexport * from \"./case-transfer-modal-lazy.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","/** Capitalize the first character of the string. */\nexport function capitalizeFirstCharacter(str: string): string {\n if (str.length === 0) {\n return str;\n }\n\n const firstChar = str.charAt(0).toUpperCase();\n const restOfString = str.slice(1);\n\n return firstChar + restOfString;\n}\n\n/** Capitalize the first character of each word in the string. */\nexport function capitalizeWords(str: string): string {\n return str.split(' ').map(capitalizeFirstCharacter).join(' ');\n}\n","import { DictionaryItem, DictionaryType } from '~/app/models';\n\nexport type IDictionariesState = {\n [key in DictionaryType]: DictionaryItem[] | null;\n};\n\nconst state = (): IDictionariesState => ({\n autopsyVendor: null,\n caseServiceRequirement: null,\n caseServiceStatus: null,\n caseType: null,\n causeOfDeath: null,\n county: null,\n ethnicity: null,\n fluidLocation: null,\n funeralHome: null,\n gender: null,\n infectiousDiseaseType: null,\n maritalStatus: null,\n medicalExaminer: null,\n nextOfKinType: null,\n originLocation: null,\n personalBelongingLocation: null,\n physicianType: null,\n race: null,\n reasonForEngagement: null,\n serviceLine: null,\n signingPhysicianStatus: null,\n tag: null,\n tissueBank: null,\n});\n\nexport { state };\nexport default state;\n","import { Tenant } from '~/app/models';\n\nexport interface ITenantState {\n tenant: Readonly | null;\n}\n\nconst state = (): ITenantState => ({\n tenant: null,\n});\n\nexport { state };\nexport default state;\n","import { AccessScopeMasterList, User } from '~/app/models';\n\nexport interface IAccessState {\n user: Readonly | null;\n accessScopeMasterList: Readonly | null;\n}\n\nconst state = (): IAccessState => ({\n user: null,\n accessScopeMasterList: null,\n});\n\nexport { state };\nexport default state;\n","const middleware = {}\n\nmiddleware['access'] = require('../middleware/access.ts')\nmiddleware['access'] = middleware['access'].default || middleware['access']\n\nmiddleware['auth'] = require('../middleware/auth.ts')\nmiddleware['auth'] = middleware['auth'].default || middleware['auth']\n\nmiddleware['module-activator'] = require('../middleware/module-activator.ts')\nmiddleware['module-activator'] = middleware['module-activator'].default || middleware['module-activator']\n\nmiddleware['support'] = require('../middleware/support.ts')\nmiddleware['support'] = middleware['support'].default || middleware['support']\n\nmiddleware['tenant'] = require('../middleware/tenant.ts')\nmiddleware['tenant'] = middleware['tenant'].default || middleware['tenant']\n\nexport default middleware\n","async function register() {\n if (!'serviceWorker' in navigator) {\n throw new Error('serviceWorker is not supported in current browser!')\n }\n\n const { Workbox } = await import('workbox-cdn/workbox/workbox-window.prod.es5.mjs')\n\n const workbox = new Workbox('/sw.js', {\n scope: '/'\n })\n\n await workbox.register()\n\n return workbox\n}\n\nwindow.$workbox = register()\n .catch(error => {})\n","/** Remove the Internet Explorer fallback content from the DOM. */\n\n// @ts-ignore\nwindow.onNuxtReady(() => {\n const isIE = !!(window.document as any).documentMode;\n if (isIE) return;\n document.getElementById('ie-app')?.remove();\n document.querySelector('[data-ie-app-script]')?.remove();\n});\n","import {\n computed,\n getCurrentScope,\n Ref,\n ref,\n unref,\n watch,\n watchEffect,\n} from '@nuxtjs/composition-api';\nimport { tryOnScopeDispose, useClamp } from '@vueuse/core';\nimport _useSWRV, { mutate } from 'swrv';\nimport { fetcherFn, IConfig, IKey, IResponse } from 'swrv/dist/types';\nimport { useLogger } from './use-logger';\n\nexport interface ISwrvConfig extends IConfig {\n /**\n * Watch for errors, logging them with the application logger.\n * @note Logging only occurs in the context of a component scope.\n * @default false\n */\n watchErrors?: boolean;\n /**\n * Pushes error messages to the UI via Toast notification.\n * @default true\n */\n pushToastOnError?: boolean;\n /**\n * The strategy used to determine when to display the errors message.\n * - `'all'` display a message on every occurrence of an error.\n * - `'first'` display a message on the first occurrence of an error.\n * - `'last'` display a message on the last occurrence of an error.\n * - `'first-last'` display a message on the first and last occurrence of an error.\n * @default 'first'\n */\n errorDisplayStrategy?: 'all' | 'first' | 'last' | 'first-last';\n /** Reducer function which transforms the text used in the error messages. */\n reduceErrorMessage?: (error: TError) => string;\n}\n\nconst defaults: ISwrvConfig = {\n shouldRetryOnError: true,\n watchErrors: false,\n errorRetryCount: 5,\n errorDisplayStrategy: 'first',\n pushToastOnError: true,\n};\n\nenum RequestState {\n IDLE = 'IDLE',\n VALIDATING = 'VALIDATING',\n PENDING = 'PENDING',\n SUCCESS = 'SUCCESS',\n ERROR = 'ERROR',\n STALE_IF_ERROR = 'STALE_IF_ERROR',\n}\n\nfunction useRequestState(\n data: Ref,\n error: Ref,\n isValidating: Ref\n) {\n const state = ref(RequestState.IDLE);\n\n const unwatch = watchEffect(() => {\n if (data.value && isValidating.value) {\n state.value = RequestState.VALIDATING;\n return;\n }\n if (data.value && error.value) {\n state.value = RequestState.STALE_IF_ERROR;\n return;\n }\n if (data.value === undefined && !error.value) {\n state.value = RequestState.PENDING;\n return;\n }\n if (data.value && !error.value) {\n state.value = RequestState.SUCCESS;\n return;\n }\n if (data.value === undefined && error) {\n state.value = RequestState.ERROR;\n }\n });\n\n return {\n state: computed(() => unref(state)),\n unwatch,\n };\n}\n\nexport { mutate, RequestState };\n\nexport function useSWRVCache(\n key: IKey,\n userConfig?: ISwrvConfig\n): IResponse & { state: Ref } {\n return useSWRV(key, null, userConfig);\n}\n\nexport function useSWRV(\n key: IKey,\n fn?: fetcherFn | null,\n userConfig?: ISwrvConfig\n): IResponse & { state: Ref } {\n const config: ISwrvConfig = { ...defaults, ...(userConfig || {}) };\n const response = _useSWRV(key, fn as fetcherFn, config);\n\n const { state, unwatch: unWatchState } = useRequestState(\n response.data,\n response.error,\n response.isValidating\n );\n\n tryOnScopeDispose(unWatchState);\n\n if (config.watchErrors && !!getCurrentScope()) {\n const retryCount = config.errorRetryCount || 1;\n const retryIteration = useClamp(1, 1, config.errorRetryCount || 1);\n const unWatchRetryIteration = watch(\n () => unref(state) === RequestState.SUCCESS,\n () => (retryIteration.value = 1)\n );\n\n const logger = useLogger();\n const unWatchErrors = watch(\n () => !!unref(response.error),\n () => {\n const error = unref(response.error);\n const retryLimitReached = unref(retryIteration) >= (retryCount ?? 1);\n\n const displayToast =\n config.errorDisplayStrategy === 'all' ||\n (config.errorDisplayStrategy === 'first' &&\n unref(retryIteration) === 1) ||\n (config.errorDisplayStrategy === 'last' && retryLimitReached) ||\n (config.errorDisplayStrategy === 'first-last' &&\n (unref(retryIteration) === 1 || retryLimitReached));\n\n retryIteration.value++;\n\n if (!displayToast) return;\n\n const useToast = config.pushToastOnError ?? true;\n if (error instanceof Error) {\n error.message = config.reduceErrorMessage?.(error) || error.message;\n logger.error(error, undefined, { ui: useToast });\n } else if (error) {\n const err = new Error(\n config.reduceErrorMessage?.(error) || (error as any)\n );\n logger.error(err, undefined, { ui: useToast });\n }\n }\n );\n\n tryOnScopeDispose(() => {\n unWatchErrors();\n unWatchRetryIteration();\n });\n }\n\n return {\n ...response,\n state,\n };\n}\n","import { useStoreModule } from '~/app/composables/use-store-module';\nimport {\n Action,\n Mutation,\n moduleName,\n ICaseDetailsState,\n} from '~/app/modules/case-details/store';\n\nexport function useStore() {\n const scope = useStoreModule(moduleName);\n\n return {\n ...scope,\n Action,\n Mutation,\n };\n}\n","import { createModule } from '../index';\nimport { state, IDictionariesState } from './state';\nimport { actions, Action } from './actions';\nimport { mutations, Mutation } from './mutations';\n\nexport { Action, Mutation };\nexport type { IDictionariesState };\nexport const moduleName = 'dictionaries';\n\nexport default createModule(moduleName, {\n state,\n mutations,\n actions,\n});\n","import { useContext } from '@nuxtjs/composition-api';\n\nexport function useLogger() {\n const { $log } = useContext();\n return $log;\n}\n","import { get, orderBy as _orderBy } from 'lodash-es';\n\nconst isNil = (value: any) => value === null || value === undefined;\n\nexport function orderBy(\n arr: TItem[] | readonly TItem[],\n prop: keyof TItem | Array,\n options?: {\n /** @default 'asc' */\n direction?: 'asc' | 'desc' | Array<'asc' | 'desc'>;\n /** @default 'hoist'' */\n nilCompare?: 'hoist' | 'lower';\n }\n) {\n const direction = Array.isArray(options?.direction)\n ? options?.direction\n : [options?.direction ?? 'asc'];\n\n const nils: TItem[] = [];\n const valueResolver = Array.isArray(prop)\n ? prop\n : (item: TItem) => get(item, prop, null);\n\n const props = Array.isArray(prop) ? prop : [prop];\n\n const sorted = _orderBy(arr, valueResolver, direction).reduce(\n (_arr, item) => {\n const values = props.map((p) => get(item, p, null));\n\n if (values.some(isNil)) {\n nils.push(item);\n return _arr;\n }\n\n return [..._arr, item];\n },\n [] as TItem[]\n );\n\n const nilCompare = options?.nilCompare || 'hoist';\n return nilCompare === 'hoist' ? [...nils, ...sorted] : [...sorted, ...nils];\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"flex flex-col p-4\"},[_c('div',{staticClass:\"mb-4 flex items-center justify-between\"},[_c('a-tooltip',{attrs:{\"title\":\"Date of death\",\"mouse-enter-delay\":0.1}},[_c('div',{staticClass:\"cursor-help font-medium\"},[_vm._v(_vm._s(_vm.expirationDate))])]),_vm._v(\" \"),(_vm.expirationDuration)?_c('a-tooltip',{attrs:{\"title\":_vm.expirationDuration === 'Today'\n ? 'Expired today'\n : (_vm.expirationDuration + \" since expiration\"),\"mouse-enter-delay\":0.1}},[_c('wb-tag',{staticClass:\"cursor-help\",attrs:{\"type\":_vm.expirationTagType}},[_vm._v(\"\\n \"+_vm._s(_vm.expirationDuration)+\"\\n \")])],1):_vm._e()],1),_vm._v(\" \"),_c('div',{staticClass:\"mb-6 flex flex-wrap items-baseline justify-between gap-2\"},[_c('div',{staticClass:\"flex flex-1 flex-col gap-2 text-2xl\"},[_c('span',{staticClass:\"font-medium text-primary\",staticStyle:{\"word-break\":\"break-word\"},attrs:{\"title\":_vm.summary.decedentName}},[_vm._v(_vm._s(_vm.summary.decedentName || 'Unidentified Decedent'))]),_vm._v(\" \"),('decedentAlias' in _vm.summary && _vm.summary.decedentAlias)?_c('div',{staticClass:\"text-base\",staticStyle:{\"word-break\":\"break-word\"}},[_c('span',{staticClass:\"font-semibold\"},[_vm._v(_vm._s(_vm.labels.alias)+\": \")]),_vm._v(_vm._s(_vm.summary.decedentAlias)+\"\\n \")]):_vm._e(),_vm._v(\" \"),('decedentDateOfBirth' in _vm.summary && _vm.summary.decedentDateOfBirth)?_c('div',{staticClass:\"text-base\",staticStyle:{\"word-break\":\"break-word\"}},[_c('span',{staticClass:\"font-semibold\"},[_vm._v(_vm._s(_vm.labels.dateOfBirth)+\": \")]),_vm._v(_vm._s(_vm.formatDate(_vm.summary.decedentDateOfBirth))+\"\\n \")]):_vm._e()]),_vm._v(\" \"),(_vm.isBodyboxSummary(_vm.summary))?_c('div',{staticClass:\"flex flex-shrink flex-col gap-2\"},[(\n 'decedentMedicalRecordNumber' in _vm.summary &&\n _vm.summary.decedentMedicalRecordNumber\n )?_c('div',{staticClass:\"break-all\"},[_c('span',{staticClass:\"font-semibold\"},[_vm._v(_vm._s(_vm.labels.mrn)+\": \")]),_vm._v(_vm._s(_vm.summary.decedentMedicalRecordNumber\n ? _vm.summary.decedentMedicalRecordNumber\n : 'Unknown')+\"\\n \")]):_vm._e()]):_vm._e()]),_vm._v(\" \"),_c('ul',{key:((_vm.summary.tags.computed.map(function (t) { return t.label; })) + \"_\" + (_vm.summary.tags.systemHolds.map(function (t) { return t.label; }).concat( _vm.summary.tags.system.map(function (t) { return t.label; }),\n _vm.summary.tags.user.map(function (t) { return t.label; }) ))),ref:\"tagsList\",staticClass:\"-mt-2 mb-0\"},[_vm._l((_vm.summary.tags.computed),function(tag,index){return _c('wb-tag',{key:((tag.label) + \"_\" + index),staticClass:\"float-left mt-2 mr-2 last:mr-0\",attrs:{\"as\":\"li\",\"type\":\"brand\"}},[_vm._v(\"\\n \"+_vm._s(tag.label)+\"\\n \")])}),_vm._v(\" \"),_vm._l((_vm.summary.tags.systemHolds),function(tag,index){return _c('wb-tag',{key:((tag.label) + \"_\" + index),staticClass:\"float-left mt-2 mr-2 flex items-center gap-1 last:mr-0\",attrs:{\"as\":\"li\",\"type\":tag.displayOptions ? 'dynamic' : 'danger',\"color\":_vm.getTagColor(tag)}},[_c('a-tooltip',{attrs:{\"title\":\"This tag enforces a case hold.\",\"mouse-enter-delay\":0.1}},[_c('wb-icon',{staticClass:\"cursor-help\",attrs:{\"name\":\"hand-palm\"}})],1),_vm._v(\" \"),_c('span',[_vm._v(_vm._s(tag.label))])],1)}),_vm._v(\" \"),_vm._l((_vm.summary.tags.system.concat( _vm.summary.tags.user)),function(tag,index){return _c('wb-tag',{key:((tag.label) + \"_\" + index),staticClass:\"float-left mt-2 mr-2 last:mr-0\",attrs:{\"as\":\"li\",\"type\":\"dynamic\",\"color\":_vm.getTagColor(tag)}},[_vm._v(\"\\n \"+_vm._s(tag.label)+\"\\n \")])})],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./case-card-details.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./case-card-details.vue?vue&type=script&lang=ts&\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport {\n computed,\n defineComponent,\n nextTick,\n onMounted,\n PropType,\n ref,\n toRef,\n} from '@nuxtjs/composition-api';\nimport Packery from 'packery';\nimport { useColorPickerColor } from '~/app/components/ui/color-picker';\nimport {\n useExpirationFormatter,\n ExpirationStatus,\n} from '~/app/composables/use-expiration-formatter';\nimport { useStoreModule } from '~/app/composables/use-store-module';\nimport {\n BodyboxCaseSummary,\n CaseSummary,\n DisplayTag,\n ReservationCaseSummary,\n Tenant,\n} from '~/app/models';\nimport { formatDate } from '~/app/models/dates/utils';\nimport { ITenantState, moduleName as TenantModuleName } from '~/store/tenant';\n\nexport default defineComponent({\n name: 'CaseCardDetails',\n props: {\n summary: {\n type: Object as PropType<\n CaseSummary | ReservationCaseSummary | BodyboxCaseSummary\n >,\n required: true,\n validator: (obj: any) =>\n obj instanceof CaseSummary ||\n obj instanceof ReservationCaseSummary ||\n obj instanceof BodyboxCaseSummary,\n },\n },\n setup(props) {\n const summary = toRef(props, 'summary');\n const dateOfDeath = computed(() => summary.value.decedentExpirationDate);\n const { status, ...expiration } = useExpirationFormatter(dateOfDeath);\n\n const expirationTagType = computed(() => {\n if (!dateOfDeath.value) return 'default';\n if (status.value === ExpirationStatus.good) return 'success';\n if (status.value === ExpirationStatus.warning) return 'warning';\n if (status.value === ExpirationStatus.danger) return 'danger';\n });\n\n const tagsList = ref();\n onMounted(async () => {\n await nextTick();\n\n if (!tagsList.value) return;\n\n const packery = new Packery(tagsList.value, {\n itemSelector: '.tag',\n });\n\n packery.bindResize();\n });\n\n const getTagColor = (tag: DisplayTag) => {\n if (!tag.displayOptions) return useColorPickerColor('default', 500);\n return useColorPickerColor(\n tag.displayOptions.color,\n tag.displayOptions.colorLevel\n );\n };\n\n const isBodyboxSummary = (\n summary: ReservationCaseSummary | BodyboxCaseSummary\n ): summary is BodyboxCaseSummary => {\n return summary instanceof BodyboxCaseSummary;\n };\n\n const tenantStore = useStoreModule(TenantModuleName);\n const tenant = tenantStore.state.tenant as Tenant;\n const caseConfiguration = tenant.configuration.cases;\n const labels = {\n dateOfBirth: caseConfiguration.decedent.form.dateOfBirth.label,\n alias: caseConfiguration.decedent.form.alias.label,\n mrn:\n caseConfiguration.decedent.form.medicalRecordNumber.label ===\n 'Medical Record Number'\n ? 'MRN'\n : caseConfiguration.decedent.form.medicalRecordNumber.label,\n };\n\n return {\n expirationDuration: computed(() =>\n dateOfDeath.value ? expiration.formattedDuration.value : null\n ),\n expirationDate: computed(() =>\n dateOfDeath.value\n ? expiration.formattedDate.value\n : 'Expiration Date Unknown'\n ),\n expirationTagType,\n ExpirationStatus,\n tagsList,\n getTagColor,\n isBodyboxSummary,\n labels,\n formatDate,\n };\n },\n});\n","import { render, staticRenderFns } from \"./case-card-details.vue?vue&type=template&id=233746cd&\"\nimport script from \"./case-card-details.vue?vue&type=script&lang=ts&\"\nexport * from \"./case-card-details.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import Vue from 'vue';\n\nexport type VueGetter = () => Vue;\n\nexport class EventBus {\n private readonly busGetter: VueGetter;\n\n private get bus() {\n return this.busGetter();\n }\n\n constructor(emitter: Vue | VueGetter) {\n this.busGetter = typeof emitter === 'function' ? emitter : () => emitter;\n }\n\n public on(event: TEventName, callback: Function) {\n this.bus.$on(event, callback);\n }\n\n public once(event: TEventName, callback: Function) {\n this.bus.$once(event, callback);\n }\n\n public off(event?: TEventName, callback?: Function) {\n this.bus.$off(event, callback);\n }\n}\n","// style-loader: Adds some css to the DOM by adding a