UNPKG

@tachui/devtools

Version:

Development & debugging tools for tachUI framework

122 lines (121 loc) 1.86 kB
const enableDebug = () => { }; const debugManager = { enable: () => { }, disable: () => { }, log: () => { }, warn: () => { }, error: () => { }, group: () => { }, groupEnd: () => { }, time: () => { }, timeEnd: () => { }, clear: () => { }, isEnabled: () => false }; const Inspector = { create: () => ({}), destroy: () => { }, inspect: () => ({}), highlight: () => { }, unhighlight: () => { } }; const Profiler = { start: () => { }, stop: () => { }, mark: () => { }, measure: () => { }, getEntries: () => [] }; const TestingUtils = { createTestRenderer: () => ({}), waitFor: async () => { }, fireEvent: () => { } }; const BuildTimeValidator = { validate: () => true, getErrors: () => [], getWarnings: () => [] }; const ErrorBoundary = () => null; const ErrorRecovery = { recover: () => { }, reset: () => { } }; const ErrorReporting = { report: () => { }, subscribe: () => () => { } }; const DevelopmentWarnings = { warn: () => { }, suppress: () => { }, enable: () => { }, disable: () => { } }; const ValidationDebugger = { log: () => { }, track: () => { }, getSnapshot: () => ({}) }; const ValidationDebugUtils = { formatError: (err) => err?.message || "Unknown error", getComponentInfo: () => ({}) }; const validationDebugger = ValidationDebugger; const PerformanceMonitor = { start: () => { }, stop: () => { }, measure: () => { }, getMetrics: () => ({}) }; const VERSION = "0.8.0-alpha"; export { BuildTimeValidator, DevelopmentWarnings, ErrorBoundary, ErrorRecovery, ErrorReporting, Inspector, PerformanceMonitor, Profiler, TestingUtils, VERSION, ValidationDebugUtils, ValidationDebugger, debugManager, enableDebug, validationDebugger }; //# sourceMappingURL=index.prod.js.map