@tachui/devtools 0.8.0-alpha

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.
Files changed (75) hide show
  1. package/LICENSE +363 -0
  2. package/README.md +189 -0
  3. package/dist/build-time/detection.d.ts +32 -0
  4. package/dist/build-time/detection.d.ts.map +1 -0
  5. package/dist/build-time/index.d.ts +84 -0
  6. package/dist/build-time/index.d.ts.map +1 -0
  7. package/dist/build-time/plugins.d.ts +75 -0
  8. package/dist/build-time/plugins.d.ts.map +1 -0
  9. package/dist/build-time/rules.d.ts +73 -0
  10. package/dist/build-time/rules.d.ts.map +1 -0
  11. package/dist/build-time/transformer.d.ts +23 -0
  12. package/dist/build-time/transformer.d.ts.map +1 -0
  13. package/dist/build-time/types.d.ts +212 -0
  14. package/dist/build-time/types.d.ts.map +1 -0
  15. package/dist/debug/advanced-debugging.d.ts +327 -0
  16. package/dist/debug/advanced-debugging.d.ts.map +1 -0
  17. package/dist/debug/debug.d.ts +61 -0
  18. package/dist/debug/debug.d.ts.map +1 -0
  19. package/dist/debug/developer-experience.d.ts +261 -0
  20. package/dist/debug/developer-experience.d.ts.map +1 -0
  21. package/dist/debug/development-warnings.d.ts +42 -0
  22. package/dist/debug/development-warnings.d.ts.map +1 -0
  23. package/dist/debug/documentation-integration.d.ts +269 -0
  24. package/dist/debug/documentation-integration.d.ts.map +1 -0
  25. package/dist/debug/enhanced-errors.d.ts +176 -0
  26. package/dist/debug/enhanced-errors.d.ts.map +1 -0
  27. package/dist/debug/enhanced-types.d.ts +284 -0
  28. package/dist/debug/enhanced-types.d.ts.map +1 -0
  29. package/dist/debug/ide-integration.d.ts +328 -0
  30. package/dist/debug/ide-integration.d.ts.map +1 -0
  31. package/dist/debug/index.d.ts +12 -0
  32. package/dist/debug/index.d.ts.map +1 -0
  33. package/dist/debug/index.js +1251 -0
  34. package/dist/debug/index.js.map +1 -0
  35. package/dist/debug/validation-debug-tools.d.ts +228 -0
  36. package/dist/debug/validation-debug-tools.d.ts.map +1 -0
  37. package/dist/index.d.ts +22 -0
  38. package/dist/index.d.ts.map +1 -0
  39. package/dist/index.js +216229 -0
  40. package/dist/index.js.map +1 -0
  41. package/dist/inspector/index.d.ts +232 -0
  42. package/dist/inspector/index.d.ts.map +1 -0
  43. package/dist/inspector/index.js +525 -0
  44. package/dist/inspector/index.js.map +1 -0
  45. package/dist/plugins/simplified-error-handler.d.ts +83 -0
  46. package/dist/plugins/simplified-error-handler.d.ts.map +1 -0
  47. package/dist/profiler/index.d.ts +21 -0
  48. package/dist/profiler/index.d.ts.map +1 -0
  49. package/dist/profiler/index.js +519 -0
  50. package/dist/profiler/index.js.map +1 -0
  51. package/dist/profiler/performance-optimizer.d.ts +115 -0
  52. package/dist/profiler/performance-optimizer.d.ts.map +1 -0
  53. package/dist/profiler/production-monitoring.d.ts +150 -0
  54. package/dist/profiler/production-monitoring.d.ts.map +1 -0
  55. package/dist/runtime/error-boundary.d.ts +302 -0
  56. package/dist/runtime/error-boundary.d.ts.map +1 -0
  57. package/dist/runtime/error-recovery.d.ts +267 -0
  58. package/dist/runtime/error-recovery.d.ts.map +1 -0
  59. package/dist/runtime/error-reporting.d.ts +287 -0
  60. package/dist/runtime/error-reporting.d.ts.map +1 -0
  61. package/dist/runtime/error-utils.d.ts +204 -0
  62. package/dist/runtime/error-utils.d.ts.map +1 -0
  63. package/dist/runtime/performance.d.ts +217 -0
  64. package/dist/runtime/performance.d.ts.map +1 -0
  65. package/dist/testing/index.d.ts +29 -0
  66. package/dist/testing/index.d.ts.map +1 -0
  67. package/dist/testing/index.js +47 -0
  68. package/dist/testing/index.js.map +1 -0
  69. package/dist/validation/debug-tools-stub.d.ts +67 -0
  70. package/dist/validation/debug-tools-stub.d.ts.map +1 -0
  71. package/dist/validation/enhanced-runtime.d.ts +310 -0
  72. package/dist/validation/enhanced-runtime.d.ts.map +1 -0
  73. package/dist/validation/error-reporting.d.ts +186 -0
  74. package/dist/validation/error-reporting.d.ts.map +1 -0
  75. package/package.json +78 -0
@@ -0,0 +1,284 @@
1
+ /**
2
+ * Enhanced TypeScript Type Definitions
3
+ *
4
+ * Provides stronger type safety, better intellisense, and improved
5
+ * developer experience through enhanced TypeScript definitions.
6
+ */
7
+ import type { Asset } from '@tachui/core';
8
+ import type { Signal } from '@tachui/core';
9
+ import type { ComponentInstance } from '@tachui/core';
10
+ /**
11
+ * Strict component props with validation
12
+ */
13
+ export type StrictComponentProps<T = {}> = {
14
+ readonly [K in keyof T]: T[K];
15
+ } & {
16
+ readonly children?: ComponentChildren;
17
+ readonly key?: string | number;
18
+ readonly ref?: ComponentRef<any>;
19
+ };
20
+ /**
21
+ * Component children with strict typing
22
+ */
23
+ export type ComponentChildren = ComponentInstance | ComponentInstance[] | string | number | boolean | null | undefined | Signal<any> | (() => any);
24
+ /**
25
+ * Component ref with type safety
26
+ */
27
+ export interface ComponentRef<T = HTMLElement> {
28
+ readonly current: T | null;
29
+ }
30
+ /**
31
+ * Enhanced component factory with strict typing
32
+ */
33
+ export type StrictComponentFactory<T extends StrictComponentProps = StrictComponentProps> = (props: T) => ComponentInstance & {
34
+ readonly props: T;
35
+ readonly type: string;
36
+ readonly modifiers: readonly any[];
37
+ };
38
+ /**
39
+ * Reactive-aware CSS value types
40
+ */
41
+ export type CSSValue<T = string | number> = T | Signal<T>;
42
+ /**
43
+ * Enhanced color types with asset support
44
+ */
45
+ export type ColorValue = string | Asset | Signal<string | Asset>;
46
+ /**
47
+ * Enhanced size types
48
+ */
49
+ export type SizeValue = number | string | 'auto' | 'min-content' | 'max-content' | 'fit-content' | Signal<number | string>;
50
+ /**
51
+ * Enhanced spacing types with semantic values
52
+ */
53
+ export type SpacingValue = number | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | Signal<number | string>;
54
+ /**
55
+ * Enhanced border types
56
+ */
57
+ export interface EnhancedBorderProps {
58
+ width?: CSSValue<number>;
59
+ style?: CSSValue<'solid' | 'dashed' | 'dotted' | 'double' | 'groove' | 'ridge' | 'inset' | 'outset' | 'none'>;
60
+ color?: ColorValue;
61
+ radius?: CSSValue<number>;
62
+ }
63
+ /**
64
+ * Enhanced shadow types
65
+ */
66
+ export interface EnhancedShadowProps {
67
+ x?: CSSValue<number>;
68
+ y?: CSSValue<number>;
69
+ blur?: CSSValue<number>;
70
+ spread?: CSSValue<number>;
71
+ color?: ColorValue;
72
+ inset?: CSSValue<boolean>;
73
+ }
74
+ /**
75
+ * Enhanced typography types with system font support
76
+ */
77
+ export interface EnhancedTypographyProps {
78
+ size?: CSSValue<number | string>;
79
+ weight?: CSSValue<'100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900' | 'normal' | 'bold' | 'bolder' | 'lighter'>;
80
+ family?: CSSValue<string | 'system' | 'serif' | 'sans-serif' | 'monospace'>;
81
+ style?: CSSValue<'normal' | 'italic' | 'oblique'>;
82
+ variant?: CSSValue<'normal' | 'small-caps'>;
83
+ decoration?: CSSValue<'none' | 'underline' | 'overline' | 'line-through'>;
84
+ align?: CSSValue<'left' | 'center' | 'right' | 'justify' | 'start' | 'end'>;
85
+ transform?: CSSValue<'none' | 'uppercase' | 'lowercase' | 'capitalize'>;
86
+ lineHeight?: CSSValue<number | string>;
87
+ letterSpacing?: CSSValue<number | string>;
88
+ }
89
+ /**
90
+ * Enhanced modifier builder with strict return types
91
+ */
92
+ export interface EnhancedModifierBuilder<T extends ComponentInstance> {
93
+ frame(width: SizeValue, height: SizeValue): EnhancedModifierBuilder<T>;
94
+ frame(options: {
95
+ width?: SizeValue;
96
+ height?: SizeValue;
97
+ minWidth?: SizeValue;
98
+ maxWidth?: SizeValue;
99
+ minHeight?: SizeValue;
100
+ maxHeight?: SizeValue;
101
+ }): EnhancedModifierBuilder<T>;
102
+ size(options: {
103
+ width?: SizeValue;
104
+ height?: SizeValue;
105
+ minWidth?: SizeValue;
106
+ maxWidth?: SizeValue;
107
+ minHeight?: SizeValue;
108
+ maxHeight?: SizeValue;
109
+ }): EnhancedModifierBuilder<T>;
110
+ width(value: SizeValue): EnhancedModifierBuilder<T>;
111
+ height(value: SizeValue): EnhancedModifierBuilder<T>;
112
+ minWidth(value: SizeValue): EnhancedModifierBuilder<T>;
113
+ maxWidth(value: SizeValue): EnhancedModifierBuilder<T>;
114
+ minHeight(value: SizeValue): EnhancedModifierBuilder<T>;
115
+ maxHeight(value: SizeValue): EnhancedModifierBuilder<T>;
116
+ padding(value: SpacingValue): EnhancedModifierBuilder<T>;
117
+ padding(options: {
118
+ all?: SpacingValue;
119
+ horizontal?: SpacingValue;
120
+ vertical?: SpacingValue;
121
+ top?: SpacingValue;
122
+ right?: SpacingValue;
123
+ bottom?: SpacingValue;
124
+ left?: SpacingValue;
125
+ leading?: SpacingValue;
126
+ trailing?: SpacingValue;
127
+ }): EnhancedModifierBuilder<T>;
128
+ paddingTop(value: SpacingValue): EnhancedModifierBuilder<T>;
129
+ paddingBottom(value: SpacingValue): EnhancedModifierBuilder<T>;
130
+ paddingLeft(value: SpacingValue): EnhancedModifierBuilder<T>;
131
+ paddingRight(value: SpacingValue): EnhancedModifierBuilder<T>;
132
+ paddingLeading(value: SpacingValue): EnhancedModifierBuilder<T>;
133
+ paddingTrailing(value: SpacingValue): EnhancedModifierBuilder<T>;
134
+ paddingHorizontal(value: SpacingValue): EnhancedModifierBuilder<T>;
135
+ paddingVertical(value: SpacingValue): EnhancedModifierBuilder<T>;
136
+ foregroundColor(color: ColorValue): EnhancedModifierBuilder<T>;
137
+ backgroundColor(color: ColorValue): EnhancedModifierBuilder<T>;
138
+ opacity(value: CSSValue<number>): EnhancedModifierBuilder<T>;
139
+ cornerRadius(value: CSSValue<number>): EnhancedModifierBuilder<T>;
140
+ font(props: EnhancedTypographyProps): EnhancedModifierBuilder<T>;
141
+ fontSize(value: CSSValue<number | string>): EnhancedModifierBuilder<T>;
142
+ fontWeight(value: EnhancedTypographyProps['weight']): EnhancedModifierBuilder<T>;
143
+ fontFamily(value: EnhancedTypographyProps['family']): EnhancedModifierBuilder<T>;
144
+ textAlign(value: EnhancedTypographyProps['align']): EnhancedModifierBuilder<T>;
145
+ border(props: EnhancedBorderProps): EnhancedModifierBuilder<T>;
146
+ border(width: number, color?: ColorValue, style?: EnhancedBorderProps['style']): EnhancedModifierBuilder<T>;
147
+ shadow(props: EnhancedShadowProps): EnhancedModifierBuilder<T>;
148
+ dropShadow(x?: number, y?: number, blur?: number, color?: ColorValue): EnhancedModifierBuilder<T>;
149
+ onTap<E extends Event = MouseEvent>(handler: (event: E) => void): EnhancedModifierBuilder<T>;
150
+ onHover(handler: (isHovered: boolean, event: MouseEvent) => void): EnhancedModifierBuilder<T>;
151
+ onFocus(handler: (isFocused: boolean, event: FocusEvent) => void): EnhancedModifierBuilder<T>;
152
+ disabled(value?: CSSValue<boolean>): EnhancedModifierBuilder<T>;
153
+ transition(property?: string, duration?: number, easing?: string, delay?: number): EnhancedModifierBuilder<T>;
154
+ animation(keyframes: Record<string, Record<string, string>>, duration?: number, easing?: string): EnhancedModifierBuilder<T>;
155
+ build(): T & {
156
+ readonly modifiers: readonly any[];
157
+ };
158
+ }
159
+ /**
160
+ * Enhanced signal with better type inference
161
+ */
162
+ export interface EnhancedSignal<T> extends Signal<T> {
163
+ (): T;
164
+ readonly value: T;
165
+ readonly name?: string;
166
+ readonly version: number;
167
+ }
168
+ /**
169
+ * Enhanced signal factory
170
+ */
171
+ export interface EnhancedSignalFactory {
172
+ <T>(initialValue: T, name?: string): [EnhancedSignal<T>, (value: T | ((prev: T) => T)) => void];
173
+ <T = undefined>(name?: string): [
174
+ EnhancedSignal<T | undefined>,
175
+ (value: T | ((prev: T | undefined) => T)) => void
176
+ ];
177
+ }
178
+ /**
179
+ * Enhanced computed with dependency tracking
180
+ */
181
+ export interface EnhancedComputed<T> {
182
+ (): T;
183
+ readonly value: T;
184
+ readonly dependencies: readonly EnhancedSignal<any>[];
185
+ readonly name?: string;
186
+ }
187
+ /**
188
+ * Type-safe effect with cleanup
189
+ */
190
+ export interface TypedEffect {
191
+ <T extends readonly EnhancedSignal<any>[]>(dependencies: T, effect: (...values: {
192
+ [K in keyof T]: T[K] extends EnhancedSignal<infer U> ? U : never;
193
+ }) => undefined | (() => void)): () => void;
194
+ (effect: () => undefined | (() => void)): () => void;
195
+ }
196
+ /**
197
+ * Enhanced Text component props
198
+ */
199
+ export interface EnhancedTextProps extends StrictComponentProps {
200
+ readonly children: string | Signal<string> | (() => string);
201
+ readonly numberOfLines?: number;
202
+ readonly truncate?: boolean | 'start' | 'middle' | 'end';
203
+ readonly selectable?: boolean;
204
+ }
205
+ /**
206
+ * Enhanced Button component props
207
+ */
208
+ export interface EnhancedButtonProps extends StrictComponentProps {
209
+ readonly children: ComponentChildren;
210
+ readonly variant?: 'filled' | 'outlined' | 'text' | 'destructive';
211
+ readonly size?: 'small' | 'medium' | 'large';
212
+ readonly loading?: boolean | Signal<boolean>;
213
+ readonly disabled?: boolean | Signal<boolean>;
214
+ readonly onPress?: (event: MouseEvent) => void | Promise<void>;
215
+ readonly onLongPress?: (event: MouseEvent) => void;
216
+ readonly hapticFeedback?: boolean;
217
+ }
218
+ /**
219
+ * Enhanced layout component props
220
+ */
221
+ export interface EnhancedLayoutProps extends StrictComponentProps {
222
+ readonly children: ComponentChildren;
223
+ readonly spacing?: SpacingValue;
224
+ readonly alignment?: 'start' | 'center' | 'end' | 'stretch';
225
+ readonly distribution?: 'start' | 'center' | 'end' | 'space-between' | 'space-around' | 'space-evenly';
226
+ }
227
+ /**
228
+ * Extract component props from factory
229
+ */
230
+ export type ComponentProps<T> = T extends StrictComponentFactory<infer P> ? P : never;
231
+ /**
232
+ * Make all properties reactive-aware
233
+ */
234
+ export type Reactive<T> = {
235
+ [K in keyof T]: T[K] | Signal<T[K]>;
236
+ };
237
+ /**
238
+ * Deep readonly for immutable props
239
+ */
240
+ export type DeepReadonly<T> = {
241
+ readonly [K in keyof T]: T[K] extends object ? DeepReadonly<T[K]> : T[K];
242
+ };
243
+ /**
244
+ * Type-safe event handlers
245
+ */
246
+ export type EventHandler<T extends Event> = (event: T) => void | Promise<void>;
247
+ /**
248
+ * Component instance with enhanced type information
249
+ */
250
+ export interface EnhancedComponentInstance extends ComponentInstance {
251
+ readonly displayName?: string;
252
+ readonly debugInfo?: {
253
+ readonly createdAt: number;
254
+ readonly renderCount: number;
255
+ readonly lastRenderTime: number;
256
+ };
257
+ }
258
+ /**
259
+ * Development mode configuration
260
+ */
261
+ export interface DevelopmentConfig {
262
+ readonly enableWarnings: boolean;
263
+ readonly enablePerformanceTracking: boolean;
264
+ readonly enableComponentTree: boolean;
265
+ readonly enableHotReload: boolean;
266
+ readonly strictMode: boolean;
267
+ }
268
+ /**
269
+ * Component development metadata
270
+ */
271
+ export interface ComponentDevMetadata {
272
+ readonly name: string;
273
+ readonly file?: string;
274
+ readonly line?: number;
275
+ readonly props: Record<string, any>;
276
+ readonly state: Record<string, any>;
277
+ readonly renderTime?: number;
278
+ readonly updateCount: number;
279
+ }
280
+ /**
281
+ * Main enhanced types export (simplified for build compatibility)
282
+ */
283
+ export type TachUIEnhancedTypes = {};
284
+ //# sourceMappingURL=enhanced-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"enhanced-types.d.ts","sourceRoot":"","sources":["../../src/debug/enhanced-types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AAC1C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAMrD;;GAEG;AACH,MAAM,MAAM,oBAAoB,CAAC,CAAC,GAAG,EAAE,IAAI;IACzC,QAAQ,EAAE,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAC9B,GAAG;IACF,QAAQ,CAAC,QAAQ,CAAC,EAAE,iBAAiB,CAAA;IACrC,QAAQ,CAAC,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,C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;QACnB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;QAC1B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAA;QAC5B,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAA;KAChC,CAAA;CACF;AAMD;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,cAAc,EAAE,OAAO,CAAA;IAChC,QAAQ,CAAC,yBAAyB,EAAE,OAAO,CAAA;IAC3C,QAAQ,CAAC,mBAAmB,EAAE,OAAO,CAAA;IACrC,QAAQ,CAAC,eAAe,EAAE,OAAO,CAAA;IACjC,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAA;CAC7B;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACnC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACnC,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAA;IAC5B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAA;CAC7B;AAMD;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,EAAE,CAAA"}
@@ -0,0 +1,328 @@
1
+ /**
2
+ * IDE Integration Foundation - Phase 1D
3
+ *
4
+ * VS Code extension foundation, language server protocol implementation,
5
+ * and real-time validation feedback system.
6
+ */
7
+ /**
8
+ * Language Server Protocol message types
9
+ */
10
+ export interface LSPDiagnostic {
11
+ range: {
12
+ start: {
13
+ line: number;
14
+ character: number;
15
+ };
16
+ end: {
17
+ line: number;
18
+ character: number;
19
+ };
20
+ };
21
+ severity: 1 | 2 | 3 | 4;
22
+ code?: string | number;
23
+ source: string;
24
+ message: string;
25
+ relatedInformation?: {
26
+ location: {
27
+ uri: string;
28
+ range: {
29
+ start: {
30
+ line: number;
31
+ character: number;
32
+ };
33
+ end: {
34
+ line: number;
35
+ character: number;
36
+ };
37
+ };
38
+ };
39
+ message: string;
40
+ }[];
41
+ data?: any;
42
+ }
43
+ /**
44
+ * Code Action for IDE quick fixes
45
+ */
46
+ export interface LSPCodeAction {
47
+ title: string;
48
+ kind: string;
49
+ diagnostics?: LSPDiagnostic[];
50
+ edit?: {
51
+ changes?: Record<string, {
52
+ range: {
53
+ start: {
54
+ line: number;
55
+ character: number;
56
+ };
57
+ end: {
58
+ line: number;
59
+ character: number;
60
+ };
61
+ };
62
+ newText: string;
63
+ }[]>;
64
+ };
65
+ command?: {
66
+ title: string;
67
+ command: string;
68
+ arguments?: any[];
69
+ };
70
+ }
71
+ /**
72
+ * Hover information for IntelliSense
73
+ */
74
+ export interface LSPHover {
75
+ contents: {
76
+ kind: 'markdown' | 'plaintext';
77
+ value: string;
78
+ };
79
+ range?: {
80
+ start: {
81
+ line: number;
82
+ character: number;
83
+ };
84
+ end: {
85
+ line: number;
86
+ character: number;
87
+ };
88
+ };
89
+ }
90
+ /**
91
+ * Completion item for autocomplete
92
+ */
93
+ export interface LSPCompletionItem {
94
+ label: string;
95
+ kind: number;
96
+ detail?: string;
97
+ documentation?: {
98
+ kind: 'markdown' | 'plaintext';
99
+ value: string;
100
+ };
101
+ insertText?: string;
102
+ insertTextFormat?: 1 | 2;
103
+ textEdit?: {
104
+ range: {
105
+ start: {
106
+ line: number;
107
+ character: number;
108
+ };
109
+ end: {
110
+ line: number;
111
+ character: number;
112
+ };
113
+ };
114
+ newText: string;
115
+ };
116
+ additionalTextEdits?: {
117
+ range: {
118
+ start: {
119
+ line: number;
120
+ character: number;
121
+ };
122
+ end: {
123
+ line: number;
124
+ character: number;
125
+ };
126
+ };
127
+ newText: string;
128
+ }[];
129
+ command?: {
130
+ title: string;
131
+ command: string;
132
+ arguments?: any[];
133
+ };
134
+ }
135
+ /**
136
+ * IDE Integration configuration
137
+ */
138
+ export interface IDEIntegrationConfig {
139
+ enableLanguageServer: boolean;
140
+ serverPort: number;
141
+ enableRealTimeDiagnostics: boolean;
142
+ diagnosticDelay: number;
143
+ maxDiagnostics: number;
144
+ enableHoverInfo: boolean;
145
+ enableAutoComplete: boolean;
146
+ enableSignatureHelp: boolean;
147
+ enableQuickFixes: boolean;
148
+ enableCodeActions: boolean;
149
+ enableRefactoring: boolean;
150
+ enableStatusBar: boolean;
151
+ enableOutputChannel: boolean;
152
+ enableWebview: boolean;
153
+ }
154
+ /**
155
+ * Real-time validation diagnostics provider
156
+ */
157
+ export declare class ValidationDiagnosticsProvider {
158
+ private diagnostics;
159
+ private listeners;
160
+ /**
161
+ * Validate document and return diagnostics
162
+ */
163
+ validateDocument(uri: string, text: string): Promise<LSPDiagnostic[]>;
164
+ /**
165
+ * Detect common TachUI errors in a line of code
166
+ */
167
+ private detectCommonErrors;
168
+ /**
169
+ * Get diagnostics for a document
170
+ */
171
+ getDiagnostics(uri: string): LSPDiagnostic[];
172
+ /**
173
+ * Clear diagnostics for a document
174
+ */
175
+ clearDiagnostics(uri: string): void;
176
+ /**
177
+ * Add diagnostic listener
178
+ */
179
+ onDiagnosticsChanged(listener: (uri: string, diagnostics: LSPDiagnostic[]) => void): void;
180
+ /**
181
+ * Notify all listeners of diagnostic changes
182
+ */
183
+ private notifyListeners;
184
+ }
185
+ /**
186
+ * Code actions provider for quick fixes
187
+ */
188
+ export declare class CodeActionsProvider {
189
+ /**
190
+ * Get code actions for a diagnostic
191
+ */
192
+ getCodeActions(diagnostic: LSPDiagnostic, uri: string, _text: string): LSPCodeAction[];
193
+ }
194
+ /**
195
+ * Hover information provider
196
+ */
197
+ export declare class HoverProvider {
198
+ /**
199
+ * Get hover information for a position
200
+ */
201
+ getHover(_uri: string, text: string, line: number, character: number): LSPHover | null;
202
+ /**
203
+ * Detect component at cursor position
204
+ */
205
+ private detectComponentAtPosition;
206
+ /**
207
+ * Detect modifier at cursor position
208
+ */
209
+ private detectModifierAtPosition;
210
+ /**
211
+ * Create hover information for component
212
+ */
213
+ private createComponentHover;
214
+ /**
215
+ * Create hover information for modifier
216
+ */
217
+ private createModifierHover;
218
+ /**
219
+ * Get component documentation
220
+ */
221
+ private getComponentDocumentation;
222
+ /**
223
+ * Get modifier documentation
224
+ */
225
+ private getModifierDocumentation;
226
+ }
227
+ /**
228
+ * Completion provider for autocomplete
229
+ */
230
+ export declare class CompletionProvider {
231
+ /**
232
+ * Get completion items for a position
233
+ */
234
+ getCompletions(_uri: string, text: string, line: number, character: number): LSPCompletionItem[];
235
+ /**
236
+ * Check if we're in a component context
237
+ */
238
+ private isComponentContext;
239
+ /**
240
+ * Check if we're in a modifier context
241
+ */
242
+ private isModifierContext;
243
+ /**
244
+ * Get component completion items
245
+ */
246
+ private getComponentCompletions;
247
+ /**
248
+ * Get modifier completion items
249
+ */
250
+ private getModifierCompletions;
251
+ }
252
+ /**
253
+ * VS Code integration manager
254
+ */
255
+ export declare class VSCodeIntegration {
256
+ private diagnosticsProvider;
257
+ private codeActionsProvider;
258
+ private hoverProvider;
259
+ private completionProvider;
260
+ /**
261
+ * Initialize VS Code integration
262
+ */
263
+ initialize(): void;
264
+ /**
265
+ * Validate document and return diagnostics
266
+ */
267
+ validateDocument(uri: string, text: string): Promise<LSPDiagnostic[]>;
268
+ /**
269
+ * Get code actions for diagnostics
270
+ */
271
+ getCodeActions(diagnostic: LSPDiagnostic, uri: string, text: string): LSPCodeAction[];
272
+ /**
273
+ * Get hover information
274
+ */
275
+ getHover(uri: string, text: string, line: number, character: number): LSPHover | null;
276
+ /**
277
+ * Get completion items
278
+ */
279
+ getCompletions(uri: string, text: string, line: number, character: number): LSPCompletionItem[];
280
+ }
281
+ /**
282
+ * Configure IDE integration
283
+ */
284
+ export declare function configureIDEIntegration(config: Partial<IDEIntegrationConfig>): void;
285
+ /**
286
+ * Get current IDE configuration
287
+ */
288
+ export declare function getIDEIntegrationConfig(): IDEIntegrationConfig;
289
+ declare const vsCodeIntegration: VSCodeIntegration;
290
+ /**
291
+ * IDE Integration utilities
292
+ */
293
+ export declare const IDEIntegrationUtils: {
294
+ /**
295
+ * Initialize IDE integration
296
+ */
297
+ initialize: () => void;
298
+ /**
299
+ * Validate document
300
+ */
301
+ validateDocument: (uri: string, text: string) => Promise<LSPDiagnostic[]>;
302
+ /**
303
+ * Get code actions
304
+ */
305
+ getCodeActions: (diagnostic: LSPDiagnostic, uri: string, text: string) => LSPCodeAction[];
306
+ /**
307
+ * Get hover information
308
+ */
309
+ getHover: (uri: string, text: string, line: number, character: number) => LSPHover | null;
310
+ /**
311
+ * Get completions
312
+ */
313
+ getCompletions: (uri: string, text: string, line: number, character: number) => LSPCompletionItem[];
314
+ /**
315
+ * Configure integration
316
+ */
317
+ configure: typeof configureIDEIntegration;
318
+ /**
319
+ * Get configuration
320
+ */
321
+ getConfig: typeof getIDEIntegrationConfig;
322
+ /**
323
+ * Test IDE integration system
324
+ */
325
+ test: () => Promise<void>;
326
+ };
327
+ export { vsCodeIntegration };
328
+ //# sourceMappingURL=ide-integration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ide-integration.d.ts","sourceRoot":"","sources":["../../src/debug/ide-integration.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE;QACL,KAAK,EAAE;YAAE,IAAI,EAAE,MAAM,CAAC;YAAC,SAAS,EAAE,MAAM,CAAA;SAAE,CAAA;QAC1C,GAAG,EAAE;YAAE,IAAI,EAAE,MAAM,CAAC;YAAC,SAAS,EAAE,MAAM,CAAA;SAAE,CAAA;KACzC,CAAA;IACD,QAAQ,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;IACvB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,MAAM,C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M,GAChB,QAAQ,GAAG,IAAI;IAIlB;;OAEG;IACH,cAAc,CACZ,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,SAAS,EAAE,MAAM,GAChB,iBAAiB,EAAE;CAGvB;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CACrC,MAAM,EAAE,OAAO,CAAC,oBAAoB,CAAC,GACpC,IAAI,CAEN;AAED;;GAEG;AACH,wBAAgB,uBAAuB,IAAI,oBAAoB,CAE9D;AAGD,QAAA,MAAM,iBAAiB,mBAA0B,CAAA;AAEjD;;GAEG;AACH,eAAO,MAAM,mBAAmB;IAC9B;;OAEG;;IAGH;;OAEG;4BACqB,MAAM,QAAQ,MAAM;IAG5C;;OAEG;iCAC0B,aAAa,OAAO,MAAM,QAAQ,MAAM;IAGrE;;OAEG;oBACa,MAAM,QAAQ,MAAM,QAAQ,MAAM,aAAa,MAAM;IAGrE;;OAEG;0BAEI,MAAM,QACL,MAAM,QACN,MAAM,aACD,MAAM;IAGnB;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;CA0CJ,CAAA;AAMD,OAAO,EAAE,iBAAiB,EAAE,CAAA"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * TachUI Debug System
3
+ *
4
+ * Provides visual debugging tools for component hierarchy and layout
5
+ */
6
+ export * from './debug';
7
+ export * from './enhanced-errors';
8
+ export * from './enhanced-types';
9
+ export { DevelopmentWarnings } from './development-warnings';
10
+ export { ValidationDebugger, ValidationDebugUtils, validationDebugger, type ValidationDebugEventType, type ComponentDebugInfo, type PerformanceSnapshot, } from './validation-debug-tools';
11
+ export { type DebugEvent as ValidationDebugEvent, type DebugSession as ValidationDebugSession, } from './validation-debug-tools';
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/debug/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,cAAc,SAAS,CAAA;AAGvB,cAAc,mBAAmB,CAAA;AACjC,cAAc,kBAAkB,CAAA;AAGhC,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AAG5D,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EACpB,kBAAkB,EAClB,KAAK,wBAAwB,EAC7B,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,GACzB,MAAM,0BAA0B,CAAA;AAIjC,OAAO,EACL,KAAK,UAAU,IAAI,oBAAoB,EACvC,KAAK,YAAY,IAAI,sBAAsB,GAC5C,MAAM,0BAA0B,CAAA"}