@outfitter/tui 0.2.0
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.
- package/README.md +250 -0
- package/dist/borders/index.d.ts +3 -0
- package/dist/borders/index.js +13 -0
- package/dist/box/index.d.ts +4 -0
- package/dist/box/index.js +10 -0
- package/dist/confirm.d.ts +37 -0
- package/dist/confirm.js +36 -0
- package/dist/demo/index.d.ts +77 -0
- package/dist/demo/index.js +142 -0
- package/dist/demo/registry.d.ts +6 -0
- package/dist/demo/registry.js +28 -0
- package/dist/demo/renderers/borders.d.ts +7 -0
- package/dist/demo/renderers/borders.js +14 -0
- package/dist/demo/renderers/box.d.ts +7 -0
- package/dist/demo/renderers/box.js +15 -0
- package/dist/demo/renderers/colors.d.ts +7 -0
- package/dist/demo/renderers/colors.js +15 -0
- package/dist/demo/renderers/indicators.d.ts +7 -0
- package/dist/demo/renderers/indicators.js +14 -0
- package/dist/demo/renderers/list.d.ts +7 -0
- package/dist/demo/renderers/list.js +16 -0
- package/dist/demo/renderers/markdown.d.ts +7 -0
- package/dist/demo/renderers/markdown.js +15 -0
- package/dist/demo/renderers/progress.d.ts +7 -0
- package/dist/demo/renderers/progress.js +14 -0
- package/dist/demo/renderers/spinner.d.ts +7 -0
- package/dist/demo/renderers/spinner.js +16 -0
- package/dist/demo/renderers/table.d.ts +7 -0
- package/dist/demo/renderers/table.js +16 -0
- package/dist/demo/renderers/text.d.ts +7 -0
- package/dist/demo/renderers/text.js +13 -0
- package/dist/demo/renderers/tree.d.ts +7 -0
- package/dist/demo/renderers/tree.js +15 -0
- package/dist/demo/section.d.ts +4 -0
- package/dist/demo/section.js +20 -0
- package/dist/demo/templates.d.ts +3 -0
- package/dist/demo/templates.js +10 -0
- package/dist/demo/types.d.ts +2 -0
- package/dist/demo/types.js +8 -0
- package/dist/index.d.ts +31 -0
- package/dist/index.js +77 -0
- package/dist/list/index.d.ts +3 -0
- package/dist/list/index.js +9 -0
- package/dist/preset/full.d.ts +12 -0
- package/dist/preset/full.js +37 -0
- package/dist/preset/standard.d.ts +9 -0
- package/dist/preset/standard.js +26 -0
- package/dist/prompt/confirm.d.ts +4 -0
- package/dist/prompt/confirm.js +9 -0
- package/dist/prompt/group.d.ts +4 -0
- package/dist/prompt/group.js +9 -0
- package/dist/prompt/index.d.ts +7 -0
- package/dist/prompt/index.js +32 -0
- package/dist/prompt/select.d.ts +4 -0
- package/dist/prompt/select.js +11 -0
- package/dist/prompt/text.d.ts +4 -0
- package/dist/prompt/text.js +11 -0
- package/dist/prompt/types.d.ts +3 -0
- package/dist/prompt/types.js +8 -0
- package/dist/prompt/validators.d.ts +2 -0
- package/dist/prompt/validators.js +8 -0
- package/dist/render/borders.d.ts +2 -0
- package/dist/render/borders.js +15 -0
- package/dist/render/box.d.ts +3 -0
- package/dist/render/box.js +20 -0
- package/dist/render/date.d.ts +2 -0
- package/dist/render/date.js +12 -0
- package/dist/render/format-relative.d.ts +2 -0
- package/dist/render/format-relative.js +8 -0
- package/dist/render/format.d.ts +2 -0
- package/dist/render/format.js +10 -0
- package/dist/render/heading.d.ts +3 -0
- package/dist/render/heading.js +11 -0
- package/dist/render/index.d.ts +31 -0
- package/dist/render/index.js +222 -0
- package/dist/render/indicators.d.ts +2 -0
- package/dist/render/indicators.js +16 -0
- package/dist/render/json.d.ts +2 -0
- package/dist/render/json.js +10 -0
- package/dist/render/layout.d.ts +5 -0
- package/dist/render/layout.js +22 -0
- package/dist/render/list.d.ts +2 -0
- package/dist/render/list.js +8 -0
- package/dist/render/markdown.d.ts +2 -0
- package/dist/render/markdown.js +8 -0
- package/dist/render/progress.d.ts +2 -0
- package/dist/render/progress.js +8 -0
- package/dist/render/separator.d.ts +3 -0
- package/dist/render/separator.js +11 -0
- package/dist/render/shapes.d.ts +2 -0
- package/dist/render/shapes.js +32 -0
- package/dist/render/spinner.d.ts +2 -0
- package/dist/render/spinner.js +12 -0
- package/dist/render/stack.d.ts +3 -0
- package/dist/render/stack.js +35 -0
- package/dist/render/table.d.ts +3 -0
- package/dist/render/table.js +9 -0
- package/dist/render/tree.d.ts +2 -0
- package/dist/render/tree.js +10 -0
- package/dist/render/types.d.ts +2 -0
- package/dist/render/types.js +1 -0
- package/dist/shared/@outfitter/tui-011579t8.d.ts +24 -0
- package/dist/shared/@outfitter/tui-06dntkse.js +146 -0
- package/dist/shared/@outfitter/tui-0awf316b.js +71 -0
- package/dist/shared/@outfitter/tui-0b85rht7.js +1 -0
- package/dist/shared/@outfitter/tui-0mpqnyc1.js +55 -0
- package/dist/shared/@outfitter/tui-1qh888th.d.ts +106 -0
- package/dist/shared/@outfitter/tui-1tk0kxa6.js +94 -0
- package/dist/shared/@outfitter/tui-1wggw2zj.d.ts +56 -0
- package/dist/shared/@outfitter/tui-2pwhzg55.js +123 -0
- package/dist/shared/@outfitter/tui-2tkva96b.d.ts +20 -0
- package/dist/shared/@outfitter/tui-2wfat6jb.js +22 -0
- package/dist/shared/@outfitter/tui-34q2aenf.d.ts +24 -0
- package/dist/shared/@outfitter/tui-37hjcqhb.d.ts +3 -0
- package/dist/shared/@outfitter/tui-3dyxg62j.d.ts +97 -0
- package/dist/shared/@outfitter/tui-3kza6p9k.d.ts +132 -0
- package/dist/shared/@outfitter/tui-43bnfxv9.js +30 -0
- package/dist/shared/@outfitter/tui-4yz7jcyq.js +214 -0
- package/dist/shared/@outfitter/tui-52ndmswq.js +23 -0
- package/dist/shared/@outfitter/tui-53ms1ba4.d.ts +41 -0
- package/dist/shared/@outfitter/tui-5dsn6d6d.js +86 -0
- package/dist/shared/@outfitter/tui-5pb72vf9.js +51 -0
- package/dist/shared/@outfitter/tui-6605wa2j.js +127 -0
- package/dist/shared/@outfitter/tui-6ptks7jj.js +19 -0
- package/dist/shared/@outfitter/tui-6svngg69.js +126 -0
- package/dist/shared/@outfitter/tui-733asbd8.js +37 -0
- package/dist/shared/@outfitter/tui-75bztyfp.d.ts +50 -0
- package/dist/shared/@outfitter/tui-83zaah9b.d.ts +17 -0
- package/dist/shared/@outfitter/tui-8ejx8gq5.d.ts +71 -0
- package/dist/shared/@outfitter/tui-8j1gbehy.d.ts +164 -0
- package/dist/shared/@outfitter/tui-8mypsnva.d.ts +74 -0
- package/dist/shared/@outfitter/tui-997aapz0.js +61 -0
- package/dist/shared/@outfitter/tui-9dbykt4g.d.ts +42 -0
- package/dist/shared/@outfitter/tui-9h1kdd98.d.ts +119 -0
- package/dist/shared/@outfitter/tui-9rj9yesd.js +118 -0
- package/dist/shared/@outfitter/tui-a65efhsk.d.ts +23 -0
- package/dist/shared/@outfitter/tui-a8nkrbds.js +1 -0
- package/dist/shared/@outfitter/tui-ajp1153q.d.ts +59 -0
- package/dist/shared/@outfitter/tui-ay1fv41j.d.ts +30 -0
- package/dist/shared/@outfitter/tui-azh1w4ak.js +67 -0
- package/dist/shared/@outfitter/tui-b14ry1j1.d.ts +53 -0
- package/dist/shared/@outfitter/tui-c56sxcm8.d.ts +87 -0
- package/dist/shared/@outfitter/tui-c6ft5w6q.d.ts +91 -0
- package/dist/shared/@outfitter/tui-cq7za0cz.js +62 -0
- package/dist/shared/@outfitter/tui-dh15zwg0.js +95 -0
- package/dist/shared/@outfitter/tui-esc46z2v.js +20 -0
- package/dist/shared/@outfitter/tui-f1mj6h6p.d.ts +2 -0
- package/dist/shared/@outfitter/tui-gcpz529w.js +122 -0
- package/dist/shared/@outfitter/tui-gqsdhmk9.d.ts +42 -0
- package/dist/shared/@outfitter/tui-hescagw2.js +32 -0
- package/dist/shared/@outfitter/tui-j2kd7eej.js +126 -0
- package/dist/shared/@outfitter/tui-j3bkjt2g.js +7 -0
- package/dist/shared/@outfitter/tui-jnn9d8cd.js +8 -0
- package/dist/shared/@outfitter/tui-jz5nws55.d.ts +51 -0
- package/dist/shared/@outfitter/tui-k3mby2kk.js +70 -0
- package/dist/shared/@outfitter/tui-kc4nxak0.js +20 -0
- package/dist/shared/@outfitter/tui-kcxv8txp.js +7 -0
- package/dist/shared/@outfitter/tui-kydbggmj.js +39 -0
- package/dist/shared/@outfitter/tui-mch672g9.js +30 -0
- package/dist/shared/@outfitter/tui-n9kxkdrh.js +82 -0
- package/dist/shared/@outfitter/tui-na4dnjpw.js +348 -0
- package/dist/shared/@outfitter/tui-ncaatp4j.js +25 -0
- package/dist/shared/@outfitter/tui-nce7fgtf.js +48 -0
- package/dist/shared/@outfitter/tui-ngz2fbdw.js +144 -0
- package/dist/shared/@outfitter/tui-nprd7g0d.js +52 -0
- package/dist/shared/@outfitter/tui-nr580mbv.js +272 -0
- package/dist/shared/@outfitter/tui-nr93tf31.d.ts +64 -0
- package/dist/shared/@outfitter/tui-pdwbbzwr.js +179 -0
- package/dist/shared/@outfitter/tui-qb07rtct.js +19 -0
- package/dist/shared/@outfitter/tui-qkyazctw.d.ts +36 -0
- package/dist/shared/@outfitter/tui-qn1rgz9v.d.ts +93 -0
- package/dist/shared/@outfitter/tui-qs3fhwp8.js +43 -0
- package/dist/shared/@outfitter/tui-r8hywf9m.d.ts +48 -0
- package/dist/shared/@outfitter/tui-rbbcc034.js +20 -0
- package/dist/shared/@outfitter/tui-rgkerz72.js +85 -0
- package/dist/shared/@outfitter/tui-rh52sycm.d.ts +45 -0
- package/dist/shared/@outfitter/tui-rr924x4z.d.ts +59 -0
- package/dist/shared/@outfitter/tui-rwpdjrt3.js +20 -0
- package/dist/shared/@outfitter/tui-rx9xq9s7.d.ts +26 -0
- package/dist/shared/@outfitter/tui-sk05ye6g.js +1 -0
- package/dist/shared/@outfitter/tui-sv2xmh3w.d.ts +26 -0
- package/dist/shared/@outfitter/tui-t1a9xgbd.js +111 -0
- package/dist/shared/@outfitter/tui-t9vd88jr.js +273 -0
- package/dist/shared/@outfitter/tui-tq1z78x0.js +11 -0
- package/dist/shared/@outfitter/tui-ts1f957s.d.ts +128 -0
- package/dist/shared/@outfitter/tui-ve0083wa.d.ts +61 -0
- package/dist/shared/@outfitter/tui-vt0wg6c4.js +54 -0
- package/dist/shared/@outfitter/tui-wfnnq0zq.d.ts +328 -0
- package/dist/shared/@outfitter/tui-x3yg0887.d.ts +223 -0
- package/dist/shared/@outfitter/tui-x9vvtfkk.js +20 -0
- package/dist/shared/@outfitter/tui-xbvz707j.js +20 -0
- package/dist/shared/@outfitter/tui-xbx6d4t7.js +1 -0
- package/dist/shared/@outfitter/tui-xph95b7h.js +67 -0
- package/dist/shared/@outfitter/tui-xqjx7d1f.js +135 -0
- package/dist/shared/@outfitter/tui-xrgrp99k.d.ts +112 -0
- package/dist/shared/@outfitter/tui-xzjv96ps.d.ts +300 -0
- package/dist/shared/@outfitter/tui-ykzs6v4v.d.ts +66 -0
- package/dist/shared/@outfitter/tui-yw9n5h6q.d.ts +54 -0
- package/dist/shared/@outfitter/tui-ywmakc6b.js +30 -0
- package/dist/shared/@outfitter/tui-z6nf9b9h.js +7 -0
- package/dist/shared/@outfitter/tui-zcspg6z6.d.ts +190 -0
- package/dist/shared/@outfitter/tui-zhbsnj7w.js +1 -0
- package/dist/streaming/ansi.d.ts +2 -0
- package/dist/streaming/ansi.js +8 -0
- package/dist/streaming/index.d.ts +4 -0
- package/dist/streaming/index.js +17 -0
- package/dist/streaming/spinner.d.ts +3 -0
- package/dist/streaming/spinner.js +10 -0
- package/dist/streaming/writer.d.ts +2 -0
- package/dist/streaming/writer.js +9 -0
- package/dist/table/index.d.ts +4 -0
- package/dist/table/index.js +10 -0
- package/dist/theme/context.d.ts +9 -0
- package/dist/theme/context.js +12 -0
- package/dist/theme/create.d.ts +8 -0
- package/dist/theme/create.js +10 -0
- package/dist/theme/index.d.ts +17 -0
- package/dist/theme/index.js +40 -0
- package/dist/theme/presets/bold.d.ts +8 -0
- package/dist/theme/presets/bold.js +10 -0
- package/dist/theme/presets/default.d.ts +8 -0
- package/dist/theme/presets/default.js +9 -0
- package/dist/theme/presets/index.d.ts +12 -0
- package/dist/theme/presets/index.js +22 -0
- package/dist/theme/presets/minimal.d.ts +8 -0
- package/dist/theme/presets/minimal.js +10 -0
- package/dist/theme/presets/rounded.d.ts +8 -0
- package/dist/theme/presets/rounded.js +10 -0
- package/dist/theme/resolve.d.ts +8 -0
- package/dist/theme/resolve.js +11 -0
- package/dist/theme/types.d.ts +7 -0
- package/dist/theme/types.js +1 -0
- package/dist/tree/index.d.ts +3 -0
- package/dist/tree/index.js +11 -0
- package/package.json +263 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
BORDERS,
|
|
4
|
+
drawHorizontalLine,
|
|
5
|
+
getBorderCharacters,
|
|
6
|
+
init_borders
|
|
7
|
+
} from "../shared/@outfitter/tui-2pwhzg55.js";
|
|
8
|
+
import"../shared/@outfitter/tui-hescagw2.js";
|
|
9
|
+
init_borders();
|
|
10
|
+
|
|
11
|
+
export {
|
|
12
|
+
getBorderCharacters,
|
|
13
|
+
drawHorizontalLine,
|
|
14
|
+
BORDERS
|
|
15
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { Box, BoxAlign, BoxBorders, BoxContent, BoxOptions, BoxSpacing, NormalizedBorders, NormalizedSpacing, createBox, normalizeBorders, normalizeMargin, normalizePadding, renderBox } from "../shared/@outfitter/tui-x3yg0887";
|
|
2
|
+
import "../shared/@outfitter/tui-1qh888th";
|
|
3
|
+
export { renderBox, normalizePadding, normalizeMargin, normalizeBorders, createBox, NormalizedSpacing, NormalizedBorders, BoxSpacing, BoxOptions, BoxContent, BoxBorders, BoxAlign, Box };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
createBox,
|
|
4
|
+
init_box,
|
|
5
|
+
normalizeBorders,
|
|
6
|
+
normalizeMargin,
|
|
7
|
+
normalizePadding,
|
|
8
|
+
renderBox
|
|
9
|
+
} from "../shared/@outfitter/tui-t9vd88jr.js";
|
|
10
|
+
import"../shared/@outfitter/tui-2pwhzg55.js";
|
|
11
|
+
import"../shared/@outfitter/tui-hescagw2.js";
|
|
12
|
+
init_box();
|
|
13
|
+
|
|
14
|
+
export {
|
|
15
|
+
renderBox,
|
|
16
|
+
normalizePadding,
|
|
17
|
+
normalizeMargin,
|
|
18
|
+
normalizeBorders,
|
|
19
|
+
createBox
|
|
20
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
renderHeading
|
|
4
|
+
} from "../shared/@outfitter/tui-n9kxkdrh.js";
|
|
5
|
+
import"../shared/@outfitter/tui-06dntkse.js";
|
|
6
|
+
import"../shared/@outfitter/tui-t9vd88jr.js";
|
|
7
|
+
import"../shared/@outfitter/tui-2pwhzg55.js";
|
|
8
|
+
import"../shared/@outfitter/tui-hescagw2.js";
|
|
9
|
+
export {
|
|
10
|
+
renderHeading
|
|
11
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ANSI, ANSI_REGEX, ColorName, Theme, TokenOptions, Tokens, applyColor, createTheme, createTokens, getStringWidth, padText, pluralize, resolveTokenColorEnabled, slugify, stripAnsi, truncateText, wrapText } from "../shared/@outfitter/tui-37hjcqhb";
|
|
2
|
+
import { Collection, Hierarchy, KeyValue, RenderOptions, Resource, Shape, ShapeRenderer, TreeNode, clearRenderers, isCollection, isHierarchy, isKeyValue, isPlainObject, isResource, registerRenderer, render, treeNodeToRecord, unregisterRenderer } from "../shared/@outfitter/tui-xzjv96ps";
|
|
3
|
+
import { DividerStyle, SeparatorOptions, renderSeparator } from "../shared/@outfitter/tui-rh52sycm";
|
|
4
|
+
import { CaseMode, HeadingOptions, HeadingWidthMode, SeparatorStyle, renderHeading } from "../shared/@outfitter/tui-jz5nws55";
|
|
5
|
+
import { formatBytes, formatDuration } from "../shared/@outfitter/tui-9dbykt4g";
|
|
6
|
+
import { Alignment, HorizontalLayoutOptions, VerticalLayoutOptions, createLayoutContext, getBoxOverhead, getContentWidth, getTerminalWidth, joinHorizontal, joinVertical, resolveWidth } from "../shared/@outfitter/tui-zcspg6z6";
|
|
7
|
+
import { Box, BoxAlign, BoxBorders, BoxContent, BoxOptions, BoxSpacing, NormalizedBorders, NormalizedSpacing, createBox, normalizeBorders, normalizeMargin, normalizePadding, renderBox } from "../shared/@outfitter/tui-x3yg0887";
|
|
8
|
+
import { formatRelative } from "../shared/@outfitter/tui-rx9xq9s7";
|
|
9
|
+
import { DateRange, endOfDay, parseDateRange, startOfDay } from "../shared/@outfitter/tui-nr93tf31";
|
|
10
|
+
import { renderJson, renderText } from "../shared/@outfitter/tui-gqsdhmk9";
|
|
11
|
+
import { ProgressOptions, renderProgress } from "../shared/@outfitter/tui-rr924x4z";
|
|
12
|
+
import { renderMarkdown } from "../shared/@outfitter/tui-ay1fv41j";
|
|
13
|
+
import { ListItem, ListOptions, ListStyle, NestedListItem, renderList } from "../shared/@outfitter/tui-3kza6p9k";
|
|
14
|
+
import { TableOptions, renderTable } from "../shared/@outfitter/tui-8ejx8gq5";
|
|
15
|
+
import "../shared/@outfitter/tui-zcmvhwd6";
|
|
16
|
+
import { resolveGlyph, resolveStateMarker } from "../shared/@outfitter/tui-ajp1153q";
|
|
17
|
+
import "../shared/@outfitter/tui-tz4ejrey";
|
|
18
|
+
import { roundedTheme } from "../shared/@outfitter/tui-34q2aenf";
|
|
19
|
+
import { boldTheme } from "../shared/@outfitter/tui-011579t8";
|
|
20
|
+
import { minimalTheme } from "../shared/@outfitter/tui-sv2xmh3w";
|
|
21
|
+
import { defaultTheme } from "../shared/@outfitter/tui-2tkva96b";
|
|
22
|
+
import { ThemedContextOptions, ThemedLayoutContext, createThemedContext, getContextTheme } from "../shared/@outfitter/tui-qn1rgz9v";
|
|
23
|
+
import { LayoutContext, WidthMode } from "../shared/@outfitter/tui-75bztyfp";
|
|
24
|
+
import { CreateVisualThemeOptions, createVisualTheme } from "../shared/@outfitter/tui-ve0083wa";
|
|
25
|
+
import { GlyphPair, MarkerSpec, PartialVisualTheme, SemanticState, ThemeColors, ThemeSpacing, VisualTheme } from "../shared/@outfitter/tui-8j1gbehy";
|
|
26
|
+
import { BoxifyOptions, DEFAULT_STACK_THEME, DELIMITERS, DelimiterName, DelimiterSet, HStackOptions, ItemState, MarkerName, Renderable, StackBox, StackInput, StackItem, StackTheme, VStackMode, VStackOptions, boxify, createHStack, createVStack, getDelimiter, getMarker, hstack, isRenderable, unbox, vstack, vstackItem } from "../shared/@outfitter/tui-wfnnq0zq";
|
|
27
|
+
import { TREE_GUIDES, TreeGuideStyle, TreeOptions, renderTree } from "../shared/@outfitter/tui-3dyxg62j";
|
|
28
|
+
import { INDICATORS, IndicatorCategory, IndicatorSet, ProgressStyle, getIndicator, getProgressIndicator, isUnicodeSupported } from "../shared/@outfitter/tui-9h1kdd98";
|
|
29
|
+
import { SPINNERS, SpinnerFrames, SpinnerStyle, getSpinnerFrame, renderSpinner } from "../shared/@outfitter/tui-c6ft5w6q";
|
|
30
|
+
import { BORDERS, BorderCharacters, BorderStyle, LinePosition, drawHorizontalLine, getBorderCharacters } from "../shared/@outfitter/tui-1qh888th";
|
|
31
|
+
export { wrapText, vstackItem, vstack, unregisterRenderer, unbox, truncateText, treeNodeToRecord, stripAnsi, startOfDay, slugify, roundedTheme, resolveWidth, resolveTokenColorEnabled, resolveStateMarker, resolveGlyph, renderTree, renderText, renderTable, renderSpinner, renderSeparator, renderProgress, renderMarkdown, renderList, renderJson, renderHeading, renderBox, render, registerRenderer, pluralize, parseDateRange, padText, normalizePadding, normalizeMargin, normalizeBorders, minimalTheme, joinVertical, joinHorizontal, isUnicodeSupported, isResource, isRenderable, isPlainObject, isKeyValue, isHierarchy, isCollection, hstack, getTerminalWidth, getStringWidth, getSpinnerFrame, getProgressIndicator, getMarker, getIndicator, getDelimiter, getContextTheme, getContentWidth, getBoxOverhead, getBorderCharacters, formatRelative, formatDuration, formatBytes, endOfDay, drawHorizontalLine, defaultTheme, createVisualTheme, createVStack, createTokens, createThemedContext, createTheme, createLayoutContext, createHStack, createBox, clearRenderers, boxify, boldTheme, applyColor, WidthMode, VisualTheme, VerticalLayoutOptions, VStackOptions, VStackMode, TreeOptions, TreeNode, TreeGuideStyle, Tokens, TokenOptions, ThemedLayoutContext, ThemedContextOptions, ThemeSpacing, ThemeColors, Theme, TableOptions, TREE_GUIDES, StackTheme, StackItem, StackInput, StackBox, SpinnerStyle, SpinnerFrames, ShapeRenderer, Shape, SeparatorStyle, SeparatorOptions, SemanticState, SPINNERS, Resource, Renderable, RenderOptions, ProgressStyle, ProgressOptions, PartialVisualTheme, NormalizedSpacing, NormalizedBorders, NestedListItem, MarkerSpec, MarkerName, ListStyle, ListOptions, ListItem, LinePosition, LayoutContext, KeyValue, ItemState, IndicatorSet, IndicatorCategory, INDICATORS, HorizontalLayoutOptions, Hierarchy, HeadingWidthMode, HeadingOptions, HStackOptions, GlyphPair, DividerStyle, DelimiterSet, DelimiterName, DateRange, DELIMITERS, DEFAULT_STACK_THEME, CreateVisualThemeOptions, ColorName, Collection, CaseMode, BoxifyOptions, BoxSpacing, BoxOptions, BoxContent, BoxBorders, BoxAlign, Box, BorderStyle, BorderCharacters, BORDERS, Alignment, ANSI_REGEX, ANSI };
|
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
ANSI,
|
|
4
|
+
ANSI_REGEX,
|
|
5
|
+
applyColor,
|
|
6
|
+
createTheme,
|
|
7
|
+
createTokens,
|
|
8
|
+
getStringWidth,
|
|
9
|
+
padText,
|
|
10
|
+
pluralize,
|
|
11
|
+
resolveTokenColorEnabled,
|
|
12
|
+
slugify,
|
|
13
|
+
stripAnsi,
|
|
14
|
+
truncateText,
|
|
15
|
+
wrapText
|
|
16
|
+
} from "../shared/@outfitter/tui-43bnfxv9.js";
|
|
17
|
+
import {
|
|
18
|
+
clearRenderers,
|
|
19
|
+
isCollection,
|
|
20
|
+
isHierarchy,
|
|
21
|
+
isKeyValue,
|
|
22
|
+
isPlainObject,
|
|
23
|
+
isResource,
|
|
24
|
+
registerRenderer,
|
|
25
|
+
render,
|
|
26
|
+
treeNodeToRecord,
|
|
27
|
+
unregisterRenderer
|
|
28
|
+
} from "../shared/@outfitter/tui-xqjx7d1f.js";
|
|
29
|
+
import {
|
|
30
|
+
renderSeparator
|
|
31
|
+
} from "../shared/@outfitter/tui-ncaatp4j.js";
|
|
32
|
+
import {
|
|
33
|
+
DEFAULT_STACK_THEME,
|
|
34
|
+
DELIMITERS,
|
|
35
|
+
boxify,
|
|
36
|
+
createHStack,
|
|
37
|
+
createVStack,
|
|
38
|
+
getDelimiter,
|
|
39
|
+
getMarker,
|
|
40
|
+
hstack,
|
|
41
|
+
isRenderable,
|
|
42
|
+
unbox,
|
|
43
|
+
vstack,
|
|
44
|
+
vstackItem
|
|
45
|
+
} from "../shared/@outfitter/tui-na4dnjpw.js";
|
|
46
|
+
import {
|
|
47
|
+
TREE_GUIDES,
|
|
48
|
+
renderTree
|
|
49
|
+
} from "../shared/@outfitter/tui-kydbggmj.js";
|
|
50
|
+
import {
|
|
51
|
+
renderHeading
|
|
52
|
+
} from "../shared/@outfitter/tui-n9kxkdrh.js";
|
|
53
|
+
import {
|
|
54
|
+
formatBytes,
|
|
55
|
+
formatDuration
|
|
56
|
+
} from "../shared/@outfitter/tui-ywmakc6b.js";
|
|
57
|
+
import {
|
|
58
|
+
createLayoutContext,
|
|
59
|
+
getBoxOverhead,
|
|
60
|
+
getContentWidth,
|
|
61
|
+
getTerminalWidth,
|
|
62
|
+
joinHorizontal,
|
|
63
|
+
joinVertical,
|
|
64
|
+
resolveWidth
|
|
65
|
+
} from "../shared/@outfitter/tui-06dntkse.js";
|
|
66
|
+
import {
|
|
67
|
+
createBox,
|
|
68
|
+
normalizeBorders,
|
|
69
|
+
normalizeMargin,
|
|
70
|
+
normalizePadding,
|
|
71
|
+
renderBox
|
|
72
|
+
} from "../shared/@outfitter/tui-t9vd88jr.js";
|
|
73
|
+
import {
|
|
74
|
+
formatRelative
|
|
75
|
+
} from "../shared/@outfitter/tui-0awf316b.js";
|
|
76
|
+
import {
|
|
77
|
+
endOfDay,
|
|
78
|
+
parseDateRange,
|
|
79
|
+
startOfDay
|
|
80
|
+
} from "../shared/@outfitter/tui-ngz2fbdw.js";
|
|
81
|
+
import {
|
|
82
|
+
renderJson,
|
|
83
|
+
renderText
|
|
84
|
+
} from "../shared/@outfitter/tui-tq1z78x0.js";
|
|
85
|
+
import {
|
|
86
|
+
SPINNERS,
|
|
87
|
+
getSpinnerFrame,
|
|
88
|
+
renderSpinner
|
|
89
|
+
} from "../shared/@outfitter/tui-5pb72vf9.js";
|
|
90
|
+
import {
|
|
91
|
+
renderProgress
|
|
92
|
+
} from "../shared/@outfitter/tui-qb07rtct.js";
|
|
93
|
+
import {
|
|
94
|
+
renderMarkdown
|
|
95
|
+
} from "../shared/@outfitter/tui-vt0wg6c4.js";
|
|
96
|
+
import {
|
|
97
|
+
renderList
|
|
98
|
+
} from "../shared/@outfitter/tui-5dsn6d6d.js";
|
|
99
|
+
import {
|
|
100
|
+
renderTable
|
|
101
|
+
} from "../shared/@outfitter/tui-t1a9xgbd.js";
|
|
102
|
+
import"../shared/@outfitter/tui-zhbsnj7w.js";
|
|
103
|
+
import {
|
|
104
|
+
resolveGlyph,
|
|
105
|
+
resolveStateMarker
|
|
106
|
+
} from "../shared/@outfitter/tui-x9vvtfkk.js";
|
|
107
|
+
import {
|
|
108
|
+
INDICATORS,
|
|
109
|
+
getIndicator,
|
|
110
|
+
getProgressIndicator,
|
|
111
|
+
isUnicodeSupported
|
|
112
|
+
} from "../shared/@outfitter/tui-pdwbbzwr.js";
|
|
113
|
+
import"../shared/@outfitter/tui-0b85rht7.js";
|
|
114
|
+
import {
|
|
115
|
+
roundedTheme
|
|
116
|
+
} from "../shared/@outfitter/tui-esc46z2v.js";
|
|
117
|
+
import {
|
|
118
|
+
boldTheme
|
|
119
|
+
} from "../shared/@outfitter/tui-rwpdjrt3.js";
|
|
120
|
+
import {
|
|
121
|
+
minimalTheme
|
|
122
|
+
} from "../shared/@outfitter/tui-mch672g9.js";
|
|
123
|
+
import {
|
|
124
|
+
createThemedContext,
|
|
125
|
+
getContextTheme
|
|
126
|
+
} from "../shared/@outfitter/tui-kc4nxak0.js";
|
|
127
|
+
import {
|
|
128
|
+
createVisualTheme
|
|
129
|
+
} from "../shared/@outfitter/tui-nce7fgtf.js";
|
|
130
|
+
import {
|
|
131
|
+
defaultTheme
|
|
132
|
+
} from "../shared/@outfitter/tui-0mpqnyc1.js";
|
|
133
|
+
import {
|
|
134
|
+
BORDERS,
|
|
135
|
+
drawHorizontalLine,
|
|
136
|
+
getBorderCharacters
|
|
137
|
+
} from "../shared/@outfitter/tui-2pwhzg55.js";
|
|
138
|
+
import"../shared/@outfitter/tui-hescagw2.js";
|
|
139
|
+
export {
|
|
140
|
+
wrapText,
|
|
141
|
+
vstackItem,
|
|
142
|
+
vstack,
|
|
143
|
+
unregisterRenderer,
|
|
144
|
+
unbox,
|
|
145
|
+
truncateText,
|
|
146
|
+
treeNodeToRecord,
|
|
147
|
+
stripAnsi,
|
|
148
|
+
startOfDay,
|
|
149
|
+
slugify,
|
|
150
|
+
roundedTheme,
|
|
151
|
+
resolveWidth,
|
|
152
|
+
resolveTokenColorEnabled,
|
|
153
|
+
resolveStateMarker,
|
|
154
|
+
resolveGlyph,
|
|
155
|
+
renderTree,
|
|
156
|
+
renderText,
|
|
157
|
+
renderTable,
|
|
158
|
+
renderSpinner,
|
|
159
|
+
renderSeparator,
|
|
160
|
+
renderProgress,
|
|
161
|
+
renderMarkdown,
|
|
162
|
+
renderList,
|
|
163
|
+
renderJson,
|
|
164
|
+
renderHeading,
|
|
165
|
+
renderBox,
|
|
166
|
+
render,
|
|
167
|
+
registerRenderer,
|
|
168
|
+
pluralize,
|
|
169
|
+
parseDateRange,
|
|
170
|
+
padText,
|
|
171
|
+
normalizePadding,
|
|
172
|
+
normalizeMargin,
|
|
173
|
+
normalizeBorders,
|
|
174
|
+
minimalTheme,
|
|
175
|
+
joinVertical,
|
|
176
|
+
joinHorizontal,
|
|
177
|
+
isUnicodeSupported,
|
|
178
|
+
isResource,
|
|
179
|
+
isRenderable,
|
|
180
|
+
isPlainObject,
|
|
181
|
+
isKeyValue,
|
|
182
|
+
isHierarchy,
|
|
183
|
+
isCollection,
|
|
184
|
+
hstack,
|
|
185
|
+
getTerminalWidth,
|
|
186
|
+
getStringWidth,
|
|
187
|
+
getSpinnerFrame,
|
|
188
|
+
getProgressIndicator,
|
|
189
|
+
getMarker,
|
|
190
|
+
getIndicator,
|
|
191
|
+
getDelimiter,
|
|
192
|
+
getContextTheme,
|
|
193
|
+
getContentWidth,
|
|
194
|
+
getBoxOverhead,
|
|
195
|
+
getBorderCharacters,
|
|
196
|
+
formatRelative,
|
|
197
|
+
formatDuration,
|
|
198
|
+
formatBytes,
|
|
199
|
+
endOfDay,
|
|
200
|
+
drawHorizontalLine,
|
|
201
|
+
defaultTheme,
|
|
202
|
+
createVisualTheme,
|
|
203
|
+
createVStack,
|
|
204
|
+
createTokens,
|
|
205
|
+
createThemedContext,
|
|
206
|
+
createTheme,
|
|
207
|
+
createLayoutContext,
|
|
208
|
+
createHStack,
|
|
209
|
+
createBox,
|
|
210
|
+
clearRenderers,
|
|
211
|
+
boxify,
|
|
212
|
+
boldTheme,
|
|
213
|
+
applyColor,
|
|
214
|
+
TREE_GUIDES,
|
|
215
|
+
SPINNERS,
|
|
216
|
+
INDICATORS,
|
|
217
|
+
DELIMITERS,
|
|
218
|
+
DEFAULT_STACK_THEME,
|
|
219
|
+
BORDERS,
|
|
220
|
+
ANSI_REGEX,
|
|
221
|
+
ANSI
|
|
222
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { INDICATORS, IndicatorCategory, IndicatorSet, ProgressStyle, SeverityLevel, getIndicator, getProgressIndicator, getSeverityIndicator, isUnicodeSupported } from "../shared/@outfitter/tui-9h1kdd98";
|
|
2
|
+
export { isUnicodeSupported, getSeverityIndicator, getProgressIndicator, getIndicator, SeverityLevel, ProgressStyle, IndicatorSet, IndicatorCategory, INDICATORS };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
INDICATORS,
|
|
4
|
+
getIndicator,
|
|
5
|
+
getProgressIndicator,
|
|
6
|
+
getSeverityIndicator,
|
|
7
|
+
isUnicodeSupported
|
|
8
|
+
} from "../shared/@outfitter/tui-pdwbbzwr.js";
|
|
9
|
+
import"../shared/@outfitter/tui-hescagw2.js";
|
|
10
|
+
export {
|
|
11
|
+
isUnicodeSupported,
|
|
12
|
+
getSeverityIndicator,
|
|
13
|
+
getProgressIndicator,
|
|
14
|
+
getIndicator,
|
|
15
|
+
INDICATORS
|
|
16
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Alignment, HorizontalLayoutOptions, VerticalLayoutOptions, createLayoutContext, getBoxOverhead, getContentWidth, getTerminalWidth, joinHorizontal, joinVertical, resolveWidth } from "../shared/@outfitter/tui-zcspg6z6";
|
|
2
|
+
import "../shared/@outfitter/tui-x3yg0887";
|
|
3
|
+
import "../shared/@outfitter/tui-75bztyfp";
|
|
4
|
+
import "../shared/@outfitter/tui-1qh888th";
|
|
5
|
+
export { resolveWidth, joinVertical, joinHorizontal, getTerminalWidth, getContentWidth, getBoxOverhead, createLayoutContext, VerticalLayoutOptions, HorizontalLayoutOptions, Alignment };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
createLayoutContext,
|
|
4
|
+
getBoxOverhead,
|
|
5
|
+
getContentWidth,
|
|
6
|
+
getTerminalWidth,
|
|
7
|
+
joinHorizontal,
|
|
8
|
+
joinVertical,
|
|
9
|
+
resolveWidth
|
|
10
|
+
} from "../shared/@outfitter/tui-06dntkse.js";
|
|
11
|
+
import"../shared/@outfitter/tui-t9vd88jr.js";
|
|
12
|
+
import"../shared/@outfitter/tui-2pwhzg55.js";
|
|
13
|
+
import"../shared/@outfitter/tui-hescagw2.js";
|
|
14
|
+
export {
|
|
15
|
+
resolveWidth,
|
|
16
|
+
joinVertical,
|
|
17
|
+
joinHorizontal,
|
|
18
|
+
getTerminalWidth,
|
|
19
|
+
getContentWidth,
|
|
20
|
+
getBoxOverhead,
|
|
21
|
+
createLayoutContext
|
|
22
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
renderSeparator
|
|
4
|
+
} from "../shared/@outfitter/tui-ncaatp4j.js";
|
|
5
|
+
import"../shared/@outfitter/tui-06dntkse.js";
|
|
6
|
+
import"../shared/@outfitter/tui-t9vd88jr.js";
|
|
7
|
+
import"../shared/@outfitter/tui-2pwhzg55.js";
|
|
8
|
+
import"../shared/@outfitter/tui-hescagw2.js";
|
|
9
|
+
export {
|
|
10
|
+
renderSeparator
|
|
11
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { Collection, Hierarchy, KeyValue, RenderOptions, Resource, Shape, ShapeRenderer, TreeNode, clearRenderers, isCollection, isHierarchy, isKeyValue, isPlainObject, isResource, registerRenderer, render, treeNodeToRecord, unregisterRenderer } from "../shared/@outfitter/tui-xzjv96ps";
|
|
2
|
+
export { unregisterRenderer, treeNodeToRecord, render, registerRenderer, isResource, isPlainObject, isKeyValue, isHierarchy, isCollection, clearRenderers, TreeNode, ShapeRenderer, Shape, Resource, RenderOptions, KeyValue, Hierarchy, Collection };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
clearRenderers,
|
|
4
|
+
isCollection,
|
|
5
|
+
isHierarchy,
|
|
6
|
+
isKeyValue,
|
|
7
|
+
isPlainObject,
|
|
8
|
+
isResource,
|
|
9
|
+
registerRenderer,
|
|
10
|
+
render,
|
|
11
|
+
treeNodeToRecord,
|
|
12
|
+
unregisterRenderer
|
|
13
|
+
} from "../shared/@outfitter/tui-xqjx7d1f.js";
|
|
14
|
+
import"../shared/@outfitter/tui-kydbggmj.js";
|
|
15
|
+
import"../shared/@outfitter/tui-tq1z78x0.js";
|
|
16
|
+
import"../shared/@outfitter/tui-vt0wg6c4.js";
|
|
17
|
+
import"../shared/@outfitter/tui-5dsn6d6d.js";
|
|
18
|
+
import"../shared/@outfitter/tui-t1a9xgbd.js";
|
|
19
|
+
import"../shared/@outfitter/tui-2pwhzg55.js";
|
|
20
|
+
import"../shared/@outfitter/tui-hescagw2.js";
|
|
21
|
+
export {
|
|
22
|
+
unregisterRenderer,
|
|
23
|
+
treeNodeToRecord,
|
|
24
|
+
render,
|
|
25
|
+
registerRenderer,
|
|
26
|
+
isResource,
|
|
27
|
+
isPlainObject,
|
|
28
|
+
isKeyValue,
|
|
29
|
+
isHierarchy,
|
|
30
|
+
isCollection,
|
|
31
|
+
clearRenderers
|
|
32
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { BoxifyOptions, DEFAULT_STACK_THEME, DELIMITERS, DelimiterName, DelimiterSet, HStackOptions, ItemState, MarkerName, Renderable, StackBox, StackInput, StackItem, StackTheme, VStackMode, VStackOptions, boxify, createHStack, createVStack, getDelimiter, getMarker, hstack, isRenderable, unbox, vstack, vstackItem } from "../shared/@outfitter/tui-wfnnq0zq";
|
|
2
|
+
import "../shared/@outfitter/tui-3dyxg62j";
|
|
3
|
+
export { vstackItem, vstack, unbox, isRenderable, hstack, getMarker, getDelimiter, createVStack, createHStack, boxify, VStackOptions, VStackMode, StackTheme, StackItem, StackInput, StackBox, Renderable, MarkerName, ItemState, HStackOptions, DelimiterSet, DelimiterName, DELIMITERS, DEFAULT_STACK_THEME, BoxifyOptions };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
DEFAULT_STACK_THEME,
|
|
4
|
+
DELIMITERS,
|
|
5
|
+
boxify,
|
|
6
|
+
createHStack,
|
|
7
|
+
createVStack,
|
|
8
|
+
getDelimiter,
|
|
9
|
+
getMarker,
|
|
10
|
+
hstack,
|
|
11
|
+
isRenderable,
|
|
12
|
+
unbox,
|
|
13
|
+
vstack,
|
|
14
|
+
vstackItem
|
|
15
|
+
} from "../shared/@outfitter/tui-na4dnjpw.js";
|
|
16
|
+
import"../shared/@outfitter/tui-kydbggmj.js";
|
|
17
|
+
import"../shared/@outfitter/tui-06dntkse.js";
|
|
18
|
+
import"../shared/@outfitter/tui-t9vd88jr.js";
|
|
19
|
+
import"../shared/@outfitter/tui-pdwbbzwr.js";
|
|
20
|
+
import"../shared/@outfitter/tui-2pwhzg55.js";
|
|
21
|
+
import"../shared/@outfitter/tui-hescagw2.js";
|
|
22
|
+
export {
|
|
23
|
+
vstackItem,
|
|
24
|
+
vstack,
|
|
25
|
+
unbox,
|
|
26
|
+
isRenderable,
|
|
27
|
+
hstack,
|
|
28
|
+
getMarker,
|
|
29
|
+
getDelimiter,
|
|
30
|
+
createVStack,
|
|
31
|
+
createHStack,
|
|
32
|
+
boxify,
|
|
33
|
+
DELIMITERS,
|
|
34
|
+
DEFAULT_STACK_THEME
|
|
35
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
// @bun
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { VisualTheme } from "./tui-8j1gbehy";
|
|
2
|
+
/**
|
|
3
|
+
* Bold visual theme.
|
|
4
|
+
*
|
|
5
|
+
* Features:
|
|
6
|
+
* - Heavy/thick box-drawing borders (┏━┓)
|
|
7
|
+
* - Heavy tree guide style
|
|
8
|
+
* - Strong visual weight
|
|
9
|
+
*
|
|
10
|
+
* Inherits all other properties from {@link defaultTheme}.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import { boldTheme } from "@outfitter/tui/theme/presets";
|
|
15
|
+
*
|
|
16
|
+
* // Use bold styling
|
|
17
|
+
* const box = renderBox("Hello", { border: boldTheme.border });
|
|
18
|
+
* // ┏━━━━━━━┓
|
|
19
|
+
* // ┃ Hello ┃
|
|
20
|
+
* // ┗━━━━━━━┛
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
declare const boldTheme: VisualTheme;
|
|
24
|
+
export { boldTheme };
|