@fairyhunter13/opentui-core 0.1.131 → 0.1.133
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/3d.js +1 -1
- package/buffer.d.ts +3 -0
- package/{index-gwfqqvw5.js → index-1mvpesey.js} +23 -3
- package/{index-gwfqqvw5.js.map → index-1mvpesey.js.map} +2 -2
- package/{index-t54p24hr.js → index-4xe091hk.js} +3 -3
- package/{index-t3rrpex7.js → index-cs6ygy1c.js} +520 -124
- package/{index-t3rrpex7.js.map → index-cs6ygy1c.js.map} +12 -11
- package/index.js +23 -3
- package/index.js.map +1 -1
- package/lib/RGBA.d.ts +27 -3
- package/lib/terminal-palette.d.ts +8 -0
- package/package.json +7 -7
- package/renderer-theme-mode.d.ts +29 -0
- package/renderer.d.ts +11 -7
- package/runtime-plugin-support.js +3 -3
- package/runtime-plugin.js +3 -3
- package/testing.js +1 -1
- package/zig-structs.d.ts +7 -1
- package/zig.d.ts +4 -0
- /package/{index-t54p24hr.js.map → index-4xe091hk.js.map} +0 -0
package/3d.js
CHANGED
package/buffer.d.ts
CHANGED
|
@@ -15,15 +15,18 @@ export declare class OptimizedBuffer {
|
|
|
15
15
|
private _widthMethod;
|
|
16
16
|
respectAlpha: boolean;
|
|
17
17
|
private _rawBuffers;
|
|
18
|
+
private _rawColorTags;
|
|
18
19
|
private _destroyed;
|
|
19
20
|
get ptr(): Pointer;
|
|
20
21
|
private guard;
|
|
22
|
+
private ensureRawBufferViews;
|
|
21
23
|
get buffers(): {
|
|
22
24
|
char: Uint32Array;
|
|
23
25
|
fg: Float32Array;
|
|
24
26
|
bg: Float32Array;
|
|
25
27
|
attributes: Uint32Array;
|
|
26
28
|
};
|
|
29
|
+
private get rawColorTags();
|
|
27
30
|
constructor(lib: RenderLib, ptr: Pointer, width: number, height: number, options: {
|
|
28
31
|
respectAlpha?: boolean;
|
|
29
32
|
id?: string;
|
|
@@ -7,10 +7,14 @@ import {
|
|
|
7
7
|
BorderCharArrays,
|
|
8
8
|
BorderChars,
|
|
9
9
|
BoxRenderable,
|
|
10
|
+
COLOR_TAG_DEFAULT,
|
|
11
|
+
COLOR_TAG_RGB,
|
|
10
12
|
CliRenderEvents,
|
|
11
13
|
CliRenderer,
|
|
12
14
|
CodeRenderable,
|
|
13
15
|
ConsolePosition,
|
|
16
|
+
DEFAULT_BACKGROUND_RGB,
|
|
17
|
+
DEFAULT_FOREGROUND_RGB,
|
|
14
18
|
DataPathsManager,
|
|
15
19
|
DebugOverlayCorner,
|
|
16
20
|
EditBuffer,
|
|
@@ -55,6 +59,7 @@ import {
|
|
|
55
59
|
TreeSitterClient,
|
|
56
60
|
__export,
|
|
57
61
|
addDefaultParsers,
|
|
62
|
+
ansi256IndexToRgb,
|
|
58
63
|
attributesWithLink,
|
|
59
64
|
basenameToFiletype,
|
|
60
65
|
bg,
|
|
@@ -81,6 +86,7 @@ import {
|
|
|
81
86
|
brightYellow,
|
|
82
87
|
buildKeyBindingsMap,
|
|
83
88
|
buildKittyKeyboardFlags,
|
|
89
|
+
buildTerminalPaletteSignature,
|
|
84
90
|
capture,
|
|
85
91
|
clearEnvCache,
|
|
86
92
|
convertGlobalToLocalSelection,
|
|
@@ -91,6 +97,7 @@ import {
|
|
|
91
97
|
createTerminalPalette,
|
|
92
98
|
createTextAttributes,
|
|
93
99
|
cyan,
|
|
100
|
+
decodeColorTag,
|
|
94
101
|
decodePasteBytes,
|
|
95
102
|
defaultKeyAliases,
|
|
96
103
|
delegate,
|
|
@@ -136,6 +143,9 @@ import {
|
|
|
136
143
|
mergeKeyAliases,
|
|
137
144
|
mergeKeyBindings,
|
|
138
145
|
nonAlphanumericKeys,
|
|
146
|
+
normalizeColorValue,
|
|
147
|
+
normalizeIndexedColorIndex,
|
|
148
|
+
normalizeTerminalPalette,
|
|
139
149
|
parseAlign,
|
|
140
150
|
parseAlignItems,
|
|
141
151
|
parseBorderStyle,
|
|
@@ -174,7 +184,7 @@ import {
|
|
|
174
184
|
white,
|
|
175
185
|
wrapWithDelegates,
|
|
176
186
|
yellow
|
|
177
|
-
} from "./index-
|
|
187
|
+
} from "./index-cs6ygy1c.js";
|
|
178
188
|
|
|
179
189
|
// src/index.ts
|
|
180
190
|
var exports_src2 = {};
|
|
@@ -221,6 +231,9 @@ __export(exports_src2, {
|
|
|
221
231
|
parseBorderStyle: () => parseBorderStyle,
|
|
222
232
|
parseAlignItems: () => parseAlignItems,
|
|
223
233
|
parseAlign: () => parseAlign,
|
|
234
|
+
normalizeTerminalPalette: () => normalizeTerminalPalette,
|
|
235
|
+
normalizeIndexedColorIndex: () => normalizeIndexedColorIndex,
|
|
236
|
+
normalizeColorValue: () => normalizeColorValue,
|
|
224
237
|
nonAlphanumericKeys: () => nonAlphanumericKeys,
|
|
225
238
|
measureText: () => measureText,
|
|
226
239
|
maybeMakeRenderable: () => maybeMakeRenderable,
|
|
@@ -260,6 +273,7 @@ __export(exports_src2, {
|
|
|
260
273
|
detectLinks: () => detectLinks,
|
|
261
274
|
delegate: () => delegate,
|
|
262
275
|
decodePasteBytes: () => decodePasteBytes,
|
|
276
|
+
decodeColorTag: () => decodeColorTag,
|
|
263
277
|
cyan: () => cyan,
|
|
264
278
|
createTimeline: () => createTimeline,
|
|
265
279
|
createTextAttributes: () => createTextAttributes,
|
|
@@ -273,6 +287,7 @@ __export(exports_src2, {
|
|
|
273
287
|
convertGlobalToLocalSelection: () => convertGlobalToLocalSelection,
|
|
274
288
|
clearEnvCache: () => clearEnvCache,
|
|
275
289
|
capture: () => capture,
|
|
290
|
+
buildTerminalPaletteSignature: () => buildTerminalPaletteSignature,
|
|
276
291
|
buildKittyKeyboardFlags: () => buildKittyKeyboardFlags,
|
|
277
292
|
brightYellow: () => brightYellow,
|
|
278
293
|
brightWhite: () => brightWhite,
|
|
@@ -306,6 +321,7 @@ __export(exports_src2, {
|
|
|
306
321
|
applyChromaticAberration: () => applyChromaticAberration,
|
|
307
322
|
applyBrightness: () => applyBrightness,
|
|
308
323
|
applyAsciiArt: () => applyAsciiArt,
|
|
324
|
+
ansi256IndexToRgb: () => ansi256IndexToRgb,
|
|
309
325
|
addDefaultParsers: () => addDefaultParsers,
|
|
310
326
|
Yoga: () => exports_src,
|
|
311
327
|
VignetteEffect: () => VignetteEffect,
|
|
@@ -393,6 +409,8 @@ __export(exports_src2, {
|
|
|
393
409
|
DataPathsManager: () => DataPathsManager,
|
|
394
410
|
DEUTERANOPIA_SIM_MATRIX: () => DEUTERANOPIA_SIM_MATRIX,
|
|
395
411
|
DEUTERANOPIA_COMP_MATRIX: () => DEUTERANOPIA_COMP_MATRIX,
|
|
412
|
+
DEFAULT_FOREGROUND_RGB: () => DEFAULT_FOREGROUND_RGB,
|
|
413
|
+
DEFAULT_BACKGROUND_RGB: () => DEFAULT_BACKGROUND_RGB,
|
|
396
414
|
ConsolePosition: () => ConsolePosition,
|
|
397
415
|
CodeRenderable: () => CodeRenderable,
|
|
398
416
|
Code: () => Code,
|
|
@@ -400,6 +418,8 @@ __export(exports_src2, {
|
|
|
400
418
|
CliRenderer: () => CliRenderer,
|
|
401
419
|
CliRenderEvents: () => CliRenderEvents,
|
|
402
420
|
CRTRollingBarEffect: () => CRTRollingBarEffect,
|
|
421
|
+
COLOR_TAG_RGB: () => COLOR_TAG_RGB,
|
|
422
|
+
COLOR_TAG_DEFAULT: () => COLOR_TAG_DEFAULT,
|
|
403
423
|
BoxRenderable: () => BoxRenderable,
|
|
404
424
|
Box: () => Box,
|
|
405
425
|
BorderChars: () => BorderChars,
|
|
@@ -10961,5 +10981,5 @@ class TimeToFirstDrawRenderable extends Renderable {
|
|
|
10961
10981
|
}
|
|
10962
10982
|
export { DistortionEffect, VignetteEffect, CloudsEffect, FlamesEffect, CRTRollingBarEffect, RainbowTextEffect, applyScanlines, applyInvert, applyNoise, applyChromaticAberration, applyAsciiArt, applyBrightness, applyGain, applySaturation, BloomEffect, SEPIA_MATRIX, PROTANOPIA_SIM_MATRIX, DEUTERANOPIA_SIM_MATRIX, TRITANOPIA_SIM_MATRIX, ACHROMATOPSIA_MATRIX, PROTANOPIA_COMP_MATRIX, DEUTERANOPIA_COMP_MATRIX, TRITANOPIA_COMP_MATRIX, TECHNICOLOR_MATRIX, SOLARIZATION_MATRIX, SYNTHWAVE_MATRIX, GREENSCALE_MATRIX, GRAYSCALE_MATRIX, INVERT_MATRIX, Timeline, engine, createTimeline, SlotRegistry, createSlotRegistry, createCoreSlotRegistry, registerCorePlugin, resolveCoreSlot, SlotRenderable, NativeSpanFeed, FrameBufferRenderable, ASCIIFontRenderable, Generic, Box, Text, ASCIIFont, Input, Select, TabSelect, FrameBuffer, Code, ScrollBox, vstyles, VRenderable, LineNumberRenderable, DiffRenderable, TextareaRenderable, InputRenderableEvents, InputRenderable, TextTableRenderable, MarkdownRenderable, SliderRenderable, ScrollBarRenderable, ArrowRenderable, ScrollBoxRenderable, SelectRenderableEvents, SelectRenderable, TabSelectRenderableEvents, TabSelectRenderable, TimeToFirstDrawRenderable, exports_src2 as exports_src };
|
|
10963
10983
|
|
|
10964
|
-
//# debugId=
|
|
10965
|
-
//# sourceMappingURL=index-
|
|
10984
|
+
//# debugId=D5DC53DA1CFEC6EF64756E2164756E21
|
|
10985
|
+
//# sourceMappingURL=index-1mvpesey.js.map
|