@simon_he/vue-tui 1.1.20 → 1.1.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1970,7 +1970,7 @@ function indexToWrappedCellColFirstWidthInline$1(value, multilineToken, mentionT
1970
1970
  const lines = wrapToLinesFirstWidthInline$1(value, multilineToken, mentionToken, multilineTexts, mentions, firstWidth, width);
1971
1971
  for (let i = 0; i < lines.length; i++) {
1972
1972
  const info = lines[i];
1973
- if (safe <= info.end) {
1973
+ if (safe < info.end || safe === info.end && lines[i + 1]?.start !== safe) {
1974
1974
  const col = textCellWidthInline(value, multilineToken, mentionToken, multilineTexts, mentions, info.start, safe);
1975
1975
  return {
1976
1976
  line: i,
@@ -9,7 +9,7 @@ import { createFramePerfStore, createTraceStore } from "./trace-Bh8WnoMo.js";
9
9
  import { envFlag, envString, firstNonEmptyEnv } from "./env-Cl8qmNFN.js";
10
10
  import { createTerminalSelectionController } from "./terminal-selection-4W1SJj4c.js";
11
11
  import { createDebugLogger, isDebugEnabled } from "./debug-logger-CmsGI4of.js";
12
- import { TBox, TInput, TRenderPlane, resolveOverlayPlacement } from "./TSelect-CFPttz5X.js";
12
+ import { TBox, TInput, TRenderPlane, resolveOverlayPlacement } from "./TSelect-D7vD45Ul.js";
13
13
  import { TText, TView, createFrameMailbox } from "./frame-mailbox-6XHw-P8Q.js";
14
14
  import { applyWheelScroll, createWheelScrollState, resetWheelScrollState } from "./wheel-scroll-CQ22Hcyj.js";
15
15
  import { computed, defineComponent, effectScope, getCurrentInstance, h, inject, nextTick, onBeforeUnmount, onMounted, onScopeDispose, onUnmounted, provide, ref, shallowReactive, shallowRef, toRef, watch, watchEffect } from "vue";
package/dist/agent.cjs CHANGED
@@ -2888,7 +2888,7 @@ function indexToWrappedCellColFirstWidthInline(value, multilineToken, mentionTok
2888
2888
  );
2889
2889
  for (let i = 0; i < lines.length; i++) {
2890
2890
  let info = lines[i];
2891
- if (safe <= info.end) {
2891
+ if (safe < info.end || safe === info.end && lines[i + 1]?.start !== safe) {
2892
2892
  let col = textCellWidthInline(
2893
2893
  value,
2894
2894
  multilineToken,
package/dist/agent.js CHANGED
@@ -6,7 +6,7 @@ import "./frame-perf-CHpWhbC4.js";
6
6
  import "./env-Cl8qmNFN.js";
7
7
  import "./terminal-selection-4W1SJj4c.js";
8
8
  import "./debug-logger-CmsGI4of.js";
9
- import { TBox, TCommandPalette, TDialog, TInput, TRenderPlane, TSelect, computeCommandPaletteMatchRanges } from "./TSelect-CFPttz5X.js";
9
+ import { TBox, TCommandPalette, TDialog, TInput, TRenderPlane, TSelect, computeCommandPaletteMatchRanges } from "./TSelect-D7vD45Ul.js";
10
10
  import { TText, TView } from "./frame-mailbox-6XHw-P8Q.js";
11
11
  import "./path-BI9W15Zt.js";
12
12
  import "./wheel-scroll-CQ22Hcyj.js";
package/dist/index.cjs CHANGED
@@ -8514,7 +8514,7 @@ function indexToWrappedCellColFirstWidthInline(value, multilineToken, mentionTok
8514
8514
  );
8515
8515
  for (let i = 0; i < lines.length; i++) {
8516
8516
  let info = lines[i];
8517
- if (safe <= info.end) {
8517
+ if (safe < info.end || safe === info.end && lines[i + 1]?.start !== safe) {
8518
8518
  let col = textCellWidthInline(
8519
8519
  value,
8520
8520
  multilineToken,
package/dist/index.js CHANGED
@@ -8,10 +8,10 @@ import "./runtime-Byf8XXOT.js";
8
8
  import "./frame-perf-CHpWhbC4.js";
9
9
  import "./trace-Bh8WnoMo.js";
10
10
  import "./env-Cl8qmNFN.js";
11
- import { TAutocompleteInput, TBadge, TCheckbox, TCode, TDataTable, TDivider, TFormField, TLink, TLinkifyText, TList, TPasswordInput, TRadioGroup, TSlider, TSwitch, TTable, TTag, TTree, TerminalProvider, createTInputHostPlugin } from "./TTree-WNE6uWd8.js";
11
+ import { TAutocompleteInput, TBadge, TCheckbox, TCode, TDataTable, TDivider, TFormField, TLink, TLinkifyText, TList, TPasswordInput, TRadioGroup, TSlider, TSwitch, TTable, TTag, TTree, TerminalProvider, createTInputHostPlugin } from "./TTree-Bv0QJbC-.js";
12
12
  import "./terminal-selection-4W1SJj4c.js";
13
13
  import "./debug-logger-CmsGI4of.js";
14
- import { TBox, TCommandPalette, TDialog, TInput, TSelect, computeCommandPaletteMatchRanges } from "./TSelect-CFPttz5X.js";
14
+ import { TBox, TCommandPalette, TDialog, TInput, TSelect, computeCommandPaletteMatchRanges } from "./TSelect-D7vD45Ul.js";
15
15
  import { TText, TView } from "./frame-mailbox-6XHw-P8Q.js";
16
16
  import "./path-BI9W15Zt.js";
17
17
  import "./wheel-scroll-CQ22Hcyj.js";
package/dist/vue.cjs CHANGED
@@ -1332,7 +1332,7 @@ function indexToWrappedCellColFirstWidthInline(value, multilineToken, mentionTok
1332
1332
  );
1333
1333
  for (let i = 0; i < lines.length; i++) {
1334
1334
  let info = lines[i];
1335
- if (safe <= info.end) {
1335
+ if (safe < info.end || safe === info.end && lines[i + 1]?.start !== safe) {
1336
1336
  let col = textCellWidthInline(
1337
1337
  value,
1338
1338
  multilineToken,
package/dist/vue.js CHANGED
@@ -8,10 +8,10 @@ import "./runtime-Byf8XXOT.js";
8
8
  import "./frame-perf-CHpWhbC4.js";
9
9
  import "./trace-Bh8WnoMo.js";
10
10
  import "./env-Cl8qmNFN.js";
11
- import { TAutocompleteInput, TBadge, TCheckbox, TCode, TDataTable, TDivider, TForm, TFormContextKey, TFormField, TLink, TLinkifyText, TList, TPasswordInput, TProgress, TRadioGroup, TSlider, TSpinner, TSwitch, TTable, TTag, TToastViewport, TTree, TerminalProvider, createTInputHostPlugin, useTForm } from "./TTree-WNE6uWd8.js";
11
+ import { TAutocompleteInput, TBadge, TCheckbox, TCode, TDataTable, TDivider, TForm, TFormContextKey, TFormField, TLink, TLinkifyText, TList, TPasswordInput, TProgress, TRadioGroup, TSlider, TSpinner, TSwitch, TTable, TTag, TToastViewport, TTree, TerminalProvider, createTInputHostPlugin, useTForm } from "./TTree-Bv0QJbC-.js";
12
12
  import "./terminal-selection-4W1SJj4c.js";
13
13
  import "./debug-logger-CmsGI4of.js";
14
- import { TBox, TCommandPalette, TDialog, TInput, TRenderPlane, TSelect, clamp$1, computeCommandPaletteMatchRanges, createOverlayFocusStack, isCommitMention, isWhitespace, mentionChipStyle, padEndByCells as padEndByCells$1, resolveOverlayPlacement, sliceByCellsWindow, textCellWidth as textCellWidth$1 } from "./TSelect-CFPttz5X.js";
14
+ import { TBox, TCommandPalette, TDialog, TInput, TRenderPlane, TSelect, clamp$1, computeCommandPaletteMatchRanges, createOverlayFocusStack, isCommitMention, isWhitespace, mentionChipStyle, padEndByCells as padEndByCells$1, resolveOverlayPlacement, sliceByCellsWindow, textCellWidth as textCellWidth$1 } from "./TSelect-D7vD45Ul.js";
15
15
  import { TText, TView } from "./frame-mailbox-6XHw-P8Q.js";
16
16
  import { normalizePath, stripTrailingSlash } from "./path-BI9W15Zt.js";
17
17
  import { applyWheelScroll, createWheelScrollState } from "./wheel-scroll-CQ22Hcyj.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simon_he/vue-tui",
3
- "version": "1.1.20",
3
+ "version": "1.1.22",
4
4
  "description": "Vue 3 terminal UI components and renderers for browser DOM, CLI stdout, logs, markdown transcripts, and agent consoles",
5
5
  "keywords": [
6
6
  "agent-console",
@@ -259,24 +259,24 @@
259
259
  "access": "public"
260
260
  },
261
261
  "dependencies": {
262
- "stream-markdown-parser": "1.2.21"
262
+ "stream-markdown-parser": "1.2.25"
263
263
  },
264
264
  "devDependencies": {
265
265
  "@arethetypeswrong/core": "^0.18.5",
266
- "@playwright/test": "^1.64.0",
266
+ "@playwright/test": "^1.64.1",
267
267
  "@resvg/resvg-js": "^2.6.2",
268
268
  "@types/node": "^18.19.130",
269
- "@vitest/coverage-v8": "^4.1.11",
269
+ "@vitest/coverage-v8": "^4.1.12",
270
270
  "beautiful-mermaid": "^1.1.3",
271
271
  "bumpp": "^8.2.1",
272
272
  "bun-webgpu": "0.1.7",
273
273
  "esbuild": "^0.20.2",
274
274
  "happy-dom": "^17.6.3",
275
- "katex": "^0.16.47",
275
+ "katex": "^0.19.1",
276
276
  "lint-staged": "^13.3.0",
277
277
  "mathjax-full": "^3.2.2",
278
278
  "oxfmt": "^0.47.0",
279
- "oxlint": "^1.88.0",
279
+ "oxlint": "^1.91.0",
280
280
  "picocolors": "^1.1.1",
281
281
  "pinia": "^3.0.4",
282
282
  "publint": "^0.3.25",
@@ -286,8 +286,8 @@
286
286
  "typescript": "^5.9.3",
287
287
  "vite": "8.0.16",
288
288
  "vitepress": "^1.6.4",
289
- "vitest": "^4.1.11",
290
- "vue": "^3.5.44"
289
+ "vitest": "^4.1.12",
290
+ "vue": "^3.5.45"
291
291
  },
292
292
  "peerDependencies": {
293
293
  "@resvg/resvg-js": "^2.6.2",