@@ -5,12 +5,13 @@ layout: doc
55<script setup lang =" ts " >
66import { ref , computed } from ' vue' ;
77import VPLink from ' vitepress/dist/client/theme-default/components/VPLink.vue' ;
8- import { addressbook , airport , books , calendar , dictionary , facetime , feedback , findMy , freeform , helpViewer , mail , music , notes , photos , podcasts , printer , reminders , sms , stocks , systemPreferences , videos , wallet , weather } from ' protocol-launcher/macos' ;
8+ import { addressbook , airport , appleOtpauth , books , calendar , dictionary , facetime , feedback , findMy , fontbook , freeform , helpViewer , keynote , mail , music , notes , numbers , pages , photos , podcasts , printer , reminders , sms , stocks , systemPreferences , videos , wallet , weather } from ' protocol-launcher/macos' ;
99import { SelectInstallationMethod } from ' ../../.vitepress/components' ;
1010import { useAppStore } from ' ../../.vitepress/stores/app' ;
1111import {
1212 addressBookParams ,
1313 airportParams ,
14+ appleOtpauthParams ,
1415 booksParams ,
1516 calendarParams ,
1617 calendarWithLinkParams ,
@@ -23,12 +24,16 @@ import {
2324 findMyDevicesParams ,
2425 findMyItemsParams ,
2526 findMyFriendsParams ,
27+ fontbookParams ,
2628 freeformParams ,
2729 helpViewerParams ,
2830 helpViewerWithCollectionParams ,
31+ keynoteParams ,
2932 mailParams ,
3033 musicParams ,
3134 notesParams ,
35+ numbersParams ,
36+ pagesParams ,
3237 photosParams ,
3338 podcastsParams ,
3439 printerParams ,
@@ -540,3 +545,83 @@ const url = {{currentMethod === 'On-Demand' ? '' : 'macos.'}}printer({
540545 Add Printer with Host
541546 </VPLink >
542547</div >
548+
549+ ### Open Apple Password (OTP Auth)
550+
551+ Open the Apple Password (OTP Auth) app.
552+
553+ ``` ts-vue [{{currentMethod}}]
554+ import { {{ currentMethod === 'On-Demand' ? 'appleOtpauth' : 'macos' }} } from '{{ importPath }}'
555+
556+ const url = {{currentMethod === 'On-Demand' ? '' : 'macos.'}}appleOtpauth()
557+ ```
558+
559+ <div class =" flex justify-center " >
560+ <VPLink :href =" appleOtpauth(appleOtpauthParams) " target =" _self " >
561+ Open Apple Password
562+ </VPLink >
563+ </div >
564+
565+ ### Open Font Book
566+
567+ Open the Font Book app.
568+
569+ ``` ts-vue [{{currentMethod}}]
570+ import { {{ currentMethod === 'On-Demand' ? 'fontbook' : 'macos' }} } from '{{ importPath }}'
571+
572+ const url = {{currentMethod === 'On-Demand' ? '' : 'macos.'}}fontbook()
573+ ```
574+
575+ <div class =" flex justify-center " >
576+ <VPLink :href =" fontbook(fontbookParams) " target =" _self " >
577+ Open Font Book
578+ </VPLink >
579+ </div >
580+
581+ ### Open Keynote
582+
583+ Open the Keynote app.
584+
585+ ``` ts-vue [{{currentMethod}}]
586+ import { {{ currentMethod === 'On-Demand' ? 'keynote' : 'macos' }} } from '{{ importPath }}'
587+
588+ const url = {{currentMethod === 'On-Demand' ? '' : 'macos.'}}keynote()
589+ ```
590+
591+ <div class =" flex justify-center " >
592+ <VPLink :href =" keynote(keynoteParams) " target =" _self " >
593+ Open Keynote
594+ </VPLink >
595+ </div >
596+
597+ ### Open Numbers
598+
599+ Open the Numbers app.
600+
601+ ``` ts-vue [{{currentMethod}}]
602+ import { {{ currentMethod === 'On-Demand' ? 'numbers' : 'macos' }} } from '{{ importPath }}'
603+
604+ const url = {{currentMethod === 'On-Demand' ? '' : 'macos.'}}numbers()
605+ ```
606+
607+ <div class =" flex justify-center " >
608+ <VPLink :href =" numbers(numbersParams) " target =" _self " >
609+ Open Numbers
610+ </VPLink >
611+ </div >
612+
613+ ### Open Pages
614+
615+ Open the Pages app.
616+
617+ ``` ts-vue [{{currentMethod}}]
618+ import { {{ currentMethod === 'On-Demand' ? 'pages' : 'macos' }} } from '{{ importPath }}'
619+
620+ const url = {{currentMethod === 'On-Demand' ? '' : 'macos.'}}pages()
621+ ```
622+
623+ <div class =" flex justify-center " >
624+ <VPLink :href =" pages(pagesParams) " target =" _self " >
625+ Open Pages
626+ </VPLink >
627+ </div >
0 commit comments