# XWUIGameQuestJournal

A full quest-log screen with category tabs (`categories`, default `main`/`side`/`bounty`/`guild`) and a two-column layout: a filterable quest `list` on the left and a `detail` panel on the right. Each `quests[]` entry carries a `title`, `description`, `category`, `status` (active/completed/failed), `objectives` (checklist), `rewards[]`, and a `mapMarker`; the detail panel renders objectives, rewards (when `showRewards`), the map marker (when `showMap`), and an Abandon Quest button for active quests. Clicking a tab calls `filterBy`, clicking a row calls `selectQuest` (sets `activeQuestId`), and abandoning marks the quest failed - each dispatching `quest-filtered`, `quest-selected`, or `quest-abandoned`. Use it as the pause-menu quest journal where players browse and manage all quests.

## Basic Usage

Instantiates the quest journal in the `#app` element with the default category tabs and three main/side quests (mixed objectives and statuses), opened on the active main quest so the detail panel renders objectives, rewards, marker, and the Abandon button.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: An XWUIGameQuestJournal with default tabs and main/side quests, opened on the active "Ember Throne" quest.
```

## Bounty Board

Retargets the journal as a bounty board with custom `bounty`/`contract` categories, several active bounties, and the `bounty` filter preselected.

```example
file: examples/BountyBoard.ts
html: examples/BasicUsage.html
title: Bounty Board
description: A bounty-hunter log with custom bounty/contract categories, active bounties with gold rewards and markers, filtered to bounties.
```

## Completed Log

An archive of resolved quests - completed and failed only, map hidden - opened on a completed quest so no Abandon button appears.

```example
file: examples/CompletedLog.ts
html: examples/BasicUsage.html
title: Completed Log
description: A history view of completed and failed quests with showMap off, opened on a finished quest.
```

```api
```
