All files / core/blong-browser/src/feedback index.ts

0% Statements 0/0
0% Branches 0/0
0% Functions 0/0
0% Lines 0/0

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117                                                                                                                                                                                                                                         
/**
 * The feedback mode's browser half (`@@T-462`).
 *
 * `FeedbackLayer` is mounted once by `App`; `FeedbackToggle` goes in the menubar;
 * `useFeedbackTarget` is what every addressable component calls. The pieces are
 * exported so a realm can render the review page's picker and so the unit tests
 * can reach the pure helpers.
 */
 
export {captureScreen, type FeedbackCaptureStatus, type ICaptureOutcome} from './capture.js';
export {FeedbackCallout, type IFeedbackCalloutProps} from './FeedbackCallout.js';
export {FeedbackLayer} from './FeedbackLayer.js';
export {FeedbackMicButton, type IFeedbackMicButtonProps} from './FeedbackMicButton.js';
export {FeedbackOutline, type IFeedbackOutlineProps} from './FeedbackOutline.js';
export {FeedbackSubmitBar, type IFeedbackSubmitBarProps} from './FeedbackSubmitBar.js';
export {FeedbackToggle, matchesShortcut, parseShortcut} from './FeedbackToggle.js';
export {installFeedbackGuard, type IFeedbackGuardOptions} from './guard.js';
export {
    appendSegment,
    buildFeedbackPath,
    closestFeedbackTarget,
    domHintOf,
    fallbackContext,
    FEEDBACK_CAPTURE_ATTR,
    FEEDBACK_ID_ATTR,
    FEEDBACK_KIND_ATTR,
    FEEDBACK_LABEL_ATTR,
    FEEDBACK_UI_ATTR,
    feedbackAttributes,
    isFeedbackUi,
    nameOfLabel,
    pageIdOf,
    portalFeedbackId,
    rectOf,
    segmentOf,
    shortTargetId,
    targetOf,
    type IFeedbackModelContext,
} from './ids.js';
export {
    arrowHeadPoints,
    connectorOf,
    MIN_CALLOUT,
    moveBox,
    overlapArea,
    placeCallout,
    placeCallouts,
    resizeBox,
    toFraction,
    type IFeedbackRect,
    type IFeedbackSide,
    type IPlacement,
} from './placement.js';
export {
    appendSpeech,
    createSherpaEngine,
    createSpeechEngine,
    createWebSpeechEngine,
    installSpeechEnvironment,
    loadSherpaModule,
    localRecognitionAvailable,
    localSpeechAvailable,
    microphonePermission,
    punctuateSpeech,
    remainingSpeech,
    resample,
    resetSpeechPreferences,
    resolveSpeechLanguage,
    setSpeechPreferences,
    SPEECH_PREFERENCES_DEFAULT,
    SPEECH_SILENCE_MS,
    speechLanguage,
    speechPreferences,
    speechRecognitionConstructor,
    speechSupported,
    subscribeSpeechPreferences,
    type ISherpaEnvironment,
    type ISherpaModule,
    type ISherpaRecognizer,
    type ISherpaStream,
    type ISpeechEngine,
    type ISpeechEnvironment,
    type ISpeechPhrase,
    type ISpeechPreferences,
} from './speech.js';
export {useFeedbackConfig} from './useFeedbackConfig.js';
export {useFeedbackFreeze} from './useFeedbackFreeze.js';
export {
    speechDropInterim,
    speechListen,
    speechRestart,
    speechStop,
    speechTakeInterim,
    speechToggle,
    useFeedbackSpeech,
    useSpeechPreferences,
    type IFeedbackSpeech,
    type ISpeechOptions,
    type ISpeechSnapshot,
    type SpeechError,
} from './useFeedbackSpeech.js';
export {
    FeedbackActiveContext,
    FeedbackPageContext,
    FeedbackPath,
    FeedbackRegion,
    segmentId,
    useFeedbackActive,
    useFeedbackNode,
    useFeedbackPage,
    useFeedbackPageTarget,
    useFeedbackPath,
    useFeedbackTarget,
    useFeedbackTargetFactory,
    type IFeedbackNode,
} from './useFeedbackTarget.js';