mobileVisuals.ts 782 B

1234567891011121314151617181920212223
  1. // Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. import { setupCommonVisualConfig } from '#shared/composables/useSharedVisualConfig.ts'
  3. import CommonSectionMenu from '#mobile/components/CommonSectionMenu/CommonSectionMenu.vue'
  4. import CommonSectionMenuItem from '#mobile/components/CommonSectionMenu/CommonSectionMenuItem.vue'
  5. import CommonSectionPopup from '#mobile/components/CommonSectionPopup/CommonSectionPopup.vue'
  6. export const initializeMobileVisuals = () => {
  7. setupCommonVisualConfig({
  8. objectAttributes: {
  9. outer: CommonSectionMenu,
  10. wrapper: CommonSectionMenuItem,
  11. classes: {
  12. link: 'cursor-pointer text-blue',
  13. },
  14. },
  15. tooltip: {
  16. type: 'popup',
  17. component: CommonSectionPopup,
  18. },
  19. })
  20. }