LCOV - code coverage report
Current view: top level - src/components/dialog - useModalLayoutLabels.ts Coverage Total Hit
Test: ComfyUI E2E Coverage Lines: 100.0 % 3 3
Test Date: 2026-11-17 04:17:53

            Line data    Source code
       1              : import { computed } from 'vue'
       2              : import { useI18n } from 'vue-i18n'
       3              : 
       4          179 : export function useModalLayoutLabels() {
       5          179 :   const { t } = useI18n()
       6          179 :   return computed(() => ({
       7              :     showLeftPanel: t('g.showLeftPanel'),
       8              :     hideLeftPanel: t('g.hideLeftPanel'),
       9              :     showRightPanel: t('g.showRightPanel'),
      10              :     hideRightPanel: t('g.hideRightPanel'),
      11              :     close: t('g.closeDialog')
      12              :   }))
      13              : }
        

Generated by: LCOV version 2.0-1