
const openNoteForm=function(){
  let noteFormWindow:any;
  if (noteFormWindow === undefined || noteFormWindow.closed) {
      noteFormWindow = window.open("/tools/note-form","epbNoteForm","popup=yes,innerWidth=400,innerHeight=600,top=0,left=0,");
    } 
  else {
      noteFormWindow.focus();
    }
}
// const items = ref<NavigationMenuItem[]>([
const items = 
  [
    {
      label:"Home",
      to:"/",
      icon:'i-lucide-house'
    },{
      label: 'Technician Tools',
      defaultOpen:true,
      open:true,
      icon:'fluent:developer-board-lightning-toolbox-20-regular',
      children:[
        {
          label:"Notation Form",
          icon:'i-lucide-sticky-note',
          onSelect:function(event:any){ event?.preventDefault(); openNoteForm()  },
          disabled:false,
          class:'opacit-25',
          description:"Form to aid in rapid and accurate note taking using standard format."
        },{
          label:"Customer Service Numbers",
          icon:'i-lucide-phone',
          to:"/tables/customer-service-numbers",
          description:"Reference listing of customer service numbers for other company's technical support."
        },{
          icon: 'i-lucide-image',
          label: 'Image Gallery',
          description: "Reference Gallery of various device images and screenshots",
          to:'/old/imageGallery',
        },{
          icon: 'i-lucide-mic',
          label: 'Mic Test',
          description: "Test your microphone",
          to:'/tools/mictest',
        }
      ],
    },{
      label: 'TV Tools',
      defaultOpen:true,
      open:true,
      icon:'i-lucide-tv',
      children:[
        {
          label:"Channel List",
          icon:'i-lucide-list-video',
          to:'/tables/channels',
          description:'Filterable list of TV Channels'
        }, {
          label:"Sun Outages",
          icon:'i-lucide-sun',
          to:'/tables/sun-outages',
          description:'Timeline listing of channels that will be down due to sun interference.'
        }, {
          label:"Screencaps",
          icon:'i-lucide-monitor',
          to:'/old/screencaps',
          
          description:'Clickable images to walk through various streaming devices.'
        }
      ],
    },{
      label: 'Phone Tools',
      defaultOpen:true,
      open:true,
      icon:'fluent:call-12-regular',
      children:[
        {
          label:"International Rates",
          icon:'fluent:money-calculator-20-filled',
          to:'/tables/phone/international-rates',
          description:'Listing of international call rates'
        }, {
          label:"Star Codes",
          icon:'i-lucide-star',
          to:'/tables/phone/star-codes',
          description:'Quick reference for star code shortcuts'
        }, {
          label:"Phone Info",
          icon:'i-lucide-info',
          to:'/howto/home-phone-info',
          description:'Useful information about our phone system'
        },
      ],
    },{
      label: 'Guides',
      to:'/howto',
      icon:'i-lucide-library',
      class:'hideSiteNavGuide'
    },
    {
      label:'Old Site',
      to:'/old/'
    }
  ];
  // ]);

const cards=[
    {
      icon: 'i-lucide-sticky-note',
      title: 'Notation Form',
      description: 'Form to aid in rapid and accurate note taking using standard format.',
      to:'#',
      onSelect:function(event:any){ event?.preventDefault(); openNoteForm()  },
      disabled:false,
      class:'hidde',
    },{
      icon: 'i-lucide-phone',
      title: 'Customer Service Numbers',
      description: "Reference listing of customer service numbers for other company's technical support.",
      to:'/tables/customer-service-numbers'
    },{
      icon: 'i-lucide-image',
      title: 'Image Gallery',
      description: "Reference Gallery of various device images and screenshots",
      to:'/old/imageGallery',
    },{
      icon: 'i-lucide-star',
      title: 'Phone Star Codes',
      description: 'Quick reference for star code shortcuts',
      to:'/tables/phone/star-codes',
    },{
      icon: 'fluent:money-calculator-20-filled',
      title: 'International Calling Rates',
      description: 'Listing of international calling rates',
      to:'/tables/phone/international-rates'
    },{
      icon: 'i-lucide-list-video',
      title: 'Channel List',
      description: 'Filterable list of TV Channels',
      to: '/tables/channels'
    },{
      icon: 'i-lucide-library',
      title: 'Guides',
      description: 'Collected library of helpful instructions for various services.',
      to:'/howto'
    },{
      icon: 'i-lucide-sun',
      title: 'Sun Outage Tracker',
      description: 'Timeline listing of channels that will be down due to sun interference.',
      to:'/tables/sun-outages'
    },{
      icon: 'i-lucide-monitor',
      title: 'Screencaps',
      description: 'Clickable images to walk through various streaming devices.',
      to:'/old/screencaps'
    },
    {
      icon: 'i-lucide-mic',
      title: 'Mic Test',
      description: 'Check your microphone',
      to:'/tools/mictest'
    }
  ];

    export{ items, cards }