@tachui/core 0.7.0-alpha1 → 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 (1172) hide show
  1. package/README.md +195 -0
  2. package/dist/bundles/common.d.ts +1 -1
  3. package/dist/bundles/common.d.ts.map +1 -1
  4. package/dist/bundles/minimal.d.ts +17 -5
  5. package/dist/bundles/minimal.d.ts.map +1 -1
  6. package/dist/bundles/production-minimal.d.ts +2 -16
  7. package/dist/bundles/production-minimal.d.ts.map +1 -1
  8. package/dist/common.js +402 -955
  9. package/dist/compiler/advanced-parser.d.ts.map +1 -1
  10. package/dist/compiler/index.js +1392 -10
  11. package/dist/component-XAzF1xqs.js +487 -0
  12. package/dist/component-base-x2XmHFjy.js +255 -0
  13. package/dist/components/index.d.ts +4 -38
  14. package/dist/components/index.d.ts.map +1 -1
  15. package/dist/components/index.js +7 -102
  16. package/dist/components/wrapper.d.ts +5 -152
  17. package/dist/components/wrapper.d.ts.map +1 -1
  18. package/dist/concatenated-component-ByPl3_FF.js +2933 -0
  19. package/dist/constants/index.d.ts +1 -1
  20. package/dist/constants/layout.d.ts +47 -4
  21. package/dist/constants/layout.d.ts.map +1 -1
  22. package/dist/constants/layout.js +52 -14
  23. package/dist/css-classes/index.js +176 -0
  24. package/dist/dom-bridge-CAa1N2zX.js +406 -0
  25. package/dist/effect-B9Knft0b.js +66 -0
  26. package/dist/essential.js +394 -953
  27. package/dist/index-DCPJFUm9.js +1407 -0
  28. package/dist/index-DIvMCJQO.js +268 -0
  29. package/dist/index-vdsiw6gQ.js +777 -0
  30. package/dist/index.d.ts +9 -9
  31. package/dist/index.d.ts.map +1 -1
  32. package/dist/index.js +394 -953
  33. package/dist/minimal-prod.js +107 -190
  34. package/dist/minimal.js +115 -955
  35. package/dist/modifiers/background.d.ts +41 -11
  36. package/dist/modifiers/background.d.ts.map +1 -1
  37. package/dist/modifiers/base.d.ts +6 -33
  38. package/dist/modifiers/base.d.ts.map +1 -1
  39. package/dist/modifiers/base.js +275 -533
  40. package/dist/modifiers/builder.d.ts +103 -195
  41. package/dist/modifiers/builder.d.ts.map +1 -1
  42. package/dist/modifiers/builder.js +7 -928
  43. package/dist/modifiers/core.d.ts +9 -401
  44. package/dist/modifiers/core.d.ts.map +1 -1
  45. package/dist/modifiers/{utils.d.ts → factories.d.ts} +18 -5
  46. package/dist/modifiers/factories.d.ts.map +1 -0
  47. package/dist/modifiers/index.d.ts +8 -52
  48. package/dist/modifiers/index.d.ts.map +1 -1
  49. package/dist/modifiers/index.js +38 -0
  50. package/dist/modifiers/presets.d.ts +368 -0
  51. package/dist/modifiers/presets.d.ts.map +1 -0
  52. package/dist/modifiers/registry.js +8 -161
  53. package/dist/modifiers/types.d.ts +39 -211
  54. package/dist/modifiers/types.d.ts.map +1 -1
  55. package/dist/modifiers/types.js +0 -1
  56. package/dist/performance-optimizer-stub-CtfXUwl4.js +38 -0
  57. package/dist/plugins/index.d.ts +5 -6
  58. package/dist/plugins/index.d.ts.map +1 -1
  59. package/dist/plugins/index.js +393 -32
  60. package/dist/plugins/simplified-index.d.ts +5 -6
  61. package/dist/plugins/simplified-index.d.ts.map +1 -1
  62. package/dist/production-minimal-BY_gMc-l.js +2532 -0
  63. package/dist/reactive/index.js +489 -91
  64. package/dist/reactive/types.js +0 -1
  65. package/dist/runtime/dom-bridge.js +12 -239
  66. package/dist/runtime/element-override.d.ts.map +1 -1
  67. package/dist/runtime/index.d.ts +0 -7
  68. package/dist/runtime/index.d.ts.map +1 -1
  69. package/dist/runtime/renderer.d.ts.map +1 -1
  70. package/dist/runtime/renderer.js +7 -388
  71. package/dist/runtime/semantic-role-manager.d.ts.map +1 -1
  72. package/dist/runtime/types.js +1 -0
  73. package/dist/scheduler-BKeqwrYE.js +814 -0
  74. package/dist/validation/build-time-stub.d.ts +33 -0
  75. package/dist/validation/build-time-stub.d.ts.map +1 -0
  76. package/dist/validation/debug-tools-stub.d.ts +67 -0
  77. package/dist/validation/debug-tools-stub.d.ts.map +1 -0
  78. package/dist/validation/index.d.ts +23 -78
  79. package/dist/validation/index.d.ts.map +1 -1
  80. package/dist/validation/index.js +788 -233
  81. package/dist/validation/lifecycle-validation.d.ts.map +1 -1
  82. package/dist/validation/performance-optimizer-stub.d.ts +50 -0
  83. package/dist/validation/performance-optimizer-stub.d.ts.map +1 -0
  84. package/dist/validation/plugin-registration.d.ts +5 -1
  85. package/dist/validation/plugin-registration.d.ts.map +1 -1
  86. package/dist/validation/production-bypass-core.d.ts +69 -0
  87. package/dist/validation/production-bypass-core.d.ts.map +1 -0
  88. package/package.json +43 -8
  89. package/dist/assets/Asset.cjs +0 -2
  90. package/dist/assets/Asset.cjs.map +0 -1
  91. package/dist/assets/Asset.js +0 -9
  92. package/dist/assets/Asset.js.map +0 -1
  93. package/dist/assets/AssetCollection.cjs +0 -2
  94. package/dist/assets/AssetCollection.cjs.map +0 -1
  95. package/dist/assets/AssetCollection.js +0 -44
  96. package/dist/assets/AssetCollection.js.map +0 -1
  97. package/dist/assets/ColorAsset.cjs +0 -2
  98. package/dist/assets/ColorAsset.cjs.map +0 -1
  99. package/dist/assets/ColorAsset.js +0 -114
  100. package/dist/assets/ColorAsset.js.map +0 -1
  101. package/dist/assets/FontAsset.cjs +0 -9
  102. package/dist/assets/FontAsset.cjs.map +0 -1
  103. package/dist/assets/FontAsset.js +0 -173
  104. package/dist/assets/FontAsset.js.map +0 -1
  105. package/dist/assets/ImageAsset.cjs +0 -2
  106. package/dist/assets/ImageAsset.cjs.map +0 -1
  107. package/dist/assets/ImageAsset.js +0 -39
  108. package/dist/assets/ImageAsset.js.map +0 -1
  109. package/dist/assets/index.cjs +0 -2
  110. package/dist/assets/index.cjs.map +0 -1
  111. package/dist/assets/index.js +0 -119
  112. package/dist/assets/index.js.map +0 -1
  113. package/dist/common.cjs +0 -2
  114. package/dist/common.cjs.map +0 -1
  115. package/dist/common.js.map +0 -1
  116. package/dist/compiler/advanced-parser.cjs +0 -5
  117. package/dist/compiler/advanced-parser.cjs.map +0 -1
  118. package/dist/compiler/advanced-parser.js +0 -440
  119. package/dist/compiler/advanced-parser.js.map +0 -1
  120. package/dist/compiler/codegen.cjs +0 -6
  121. package/dist/compiler/codegen.cjs.map +0 -1
  122. package/dist/compiler/codegen.js +0 -241
  123. package/dist/compiler/codegen.js.map +0 -1
  124. package/dist/compiler/enhanced-codegen.cjs +0 -6
  125. package/dist/compiler/enhanced-codegen.cjs.map +0 -1
  126. package/dist/compiler/enhanced-codegen.js +0 -347
  127. package/dist/compiler/enhanced-codegen.js.map +0 -1
  128. package/dist/compiler/index.cjs +0 -2
  129. package/dist/compiler/index.cjs.map +0 -1
  130. package/dist/compiler/index.js.map +0 -1
  131. package/dist/compiler/parser.cjs +0 -5
  132. package/dist/compiler/parser.cjs.map +0 -1
  133. package/dist/compiler/parser.js +0 -275
  134. package/dist/compiler/parser.js.map +0 -1
  135. package/dist/compiler/plugin.cjs +0 -33
  136. package/dist/compiler/plugin.cjs.map +0 -1
  137. package/dist/compiler/plugin.js +0 -103
  138. package/dist/compiler/plugin.js.map +0 -1
  139. package/dist/components/BasicInput.cjs +0 -2
  140. package/dist/components/BasicInput.cjs.map +0 -1
  141. package/dist/components/BasicInput.d.ts +0 -116
  142. package/dist/components/BasicInput.d.ts.map +0 -1
  143. package/dist/components/BasicInput.js +0 -182
  144. package/dist/components/BasicInput.js.map +0 -1
  145. package/dist/components/Button.cjs +0 -7
  146. package/dist/components/Button.cjs.map +0 -1
  147. package/dist/components/Button.d.ts +0 -252
  148. package/dist/components/Button.d.ts.map +0 -1
  149. package/dist/components/Button.js +0 -408
  150. package/dist/components/Button.js.map +0 -1
  151. package/dist/components/Divider.cjs +0 -2
  152. package/dist/components/Divider.cjs.map +0 -1
  153. package/dist/components/Divider.d.ts +0 -141
  154. package/dist/components/Divider.d.ts.map +0 -1
  155. package/dist/components/Divider.js +0 -187
  156. package/dist/components/Divider.js.map +0 -1
  157. package/dist/components/EnhancedLink.cjs +0 -2
  158. package/dist/components/EnhancedLink.cjs.map +0 -1
  159. package/dist/components/EnhancedLink.d.ts +0 -365
  160. package/dist/components/EnhancedLink.d.ts.map +0 -1
  161. package/dist/components/EnhancedLink.js +0 -345
  162. package/dist/components/EnhancedLink.js.map +0 -1
  163. package/dist/components/Form.cjs +0 -2
  164. package/dist/components/Form.cjs.map +0 -1
  165. package/dist/components/Form.d.ts +0 -141
  166. package/dist/components/Form.d.ts.map +0 -1
  167. package/dist/components/Form.js +0 -244
  168. package/dist/components/Form.js.map +0 -1
  169. package/dist/components/Grid.cjs +0 -2
  170. package/dist/components/Grid.cjs.map +0 -1
  171. package/dist/components/Grid.d.ts +0 -698
  172. package/dist/components/Grid.d.ts.map +0 -1
  173. package/dist/components/Grid.js +0 -1045
  174. package/dist/components/Grid.js.map +0 -1
  175. package/dist/components/GridResponsive.cjs +0 -2
  176. package/dist/components/GridResponsive.cjs.map +0 -1
  177. package/dist/components/GridResponsive.d.ts +0 -214
  178. package/dist/components/GridResponsive.d.ts.map +0 -1
  179. package/dist/components/GridResponsive.js +0 -382
  180. package/dist/components/GridResponsive.js.map +0 -1
  181. package/dist/components/Image.cjs +0 -2
  182. package/dist/components/Image.cjs.map +0 -1
  183. package/dist/components/Image.d.ts +0 -162
  184. package/dist/components/Image.d.ts.map +0 -1
  185. package/dist/components/Image.js +0 -212
  186. package/dist/components/Image.js.map +0 -1
  187. package/dist/components/List.cjs +0 -2
  188. package/dist/components/List.cjs.map +0 -1
  189. package/dist/components/List.d.ts +0 -287
  190. package/dist/components/List.d.ts.map +0 -1
  191. package/dist/components/List.js +0 -561
  192. package/dist/components/List.js.map +0 -1
  193. package/dist/components/Menu.cjs +0 -2
  194. package/dist/components/Menu.cjs.map +0 -1
  195. package/dist/components/Menu.d.ts +0 -159
  196. package/dist/components/Menu.d.ts.map +0 -1
  197. package/dist/components/Menu.js +0 -443
  198. package/dist/components/Menu.js.map +0 -1
  199. package/dist/components/Picker.cjs +0 -2
  200. package/dist/components/Picker.cjs.map +0 -1
  201. package/dist/components/Picker.d.ts +0 -153
  202. package/dist/components/Picker.d.ts.map +0 -1
  203. package/dist/components/Picker.js +0 -478
  204. package/dist/components/Picker.js.map +0 -1
  205. package/dist/components/ScrollView.cjs +0 -6
  206. package/dist/components/ScrollView.cjs.map +0 -1
  207. package/dist/components/ScrollView.d.ts +0 -222
  208. package/dist/components/ScrollView.d.ts.map +0 -1
  209. package/dist/components/ScrollView.js +0 -363
  210. package/dist/components/ScrollView.js.map +0 -1
  211. package/dist/components/Section.cjs +0 -2
  212. package/dist/components/Section.cjs.map +0 -1
  213. package/dist/components/Section.d.ts +0 -153
  214. package/dist/components/Section.d.ts.map +0 -1
  215. package/dist/components/Section.js +0 -323
  216. package/dist/components/Section.js.map +0 -1
  217. package/dist/components/Show.cjs +0 -2
  218. package/dist/components/Show.cjs.map +0 -1
  219. package/dist/components/Show.d.ts +0 -64
  220. package/dist/components/Show.d.ts.map +0 -1
  221. package/dist/components/Show.js +0 -112
  222. package/dist/components/Show.js.map +0 -1
  223. package/dist/components/Spacer.cjs +0 -2
  224. package/dist/components/Spacer.cjs.map +0 -1
  225. package/dist/components/Spacer.d.ts +0 -35
  226. package/dist/components/Spacer.d.ts.map +0 -1
  227. package/dist/components/Spacer.js +0 -53
  228. package/dist/components/Spacer.js.map +0 -1
  229. package/dist/components/Text.cjs +0 -2
  230. package/dist/components/Text.cjs.map +0 -1
  231. package/dist/components/Text.d.ts +0 -242
  232. package/dist/components/Text.d.ts.map +0 -1
  233. package/dist/components/Text.js +0 -193
  234. package/dist/components/Text.js.map +0 -1
  235. package/dist/components/Toggle.cjs +0 -2
  236. package/dist/components/Toggle.cjs.map +0 -1
  237. package/dist/components/Toggle.d.ts +0 -207
  238. package/dist/components/Toggle.d.ts.map +0 -1
  239. package/dist/components/Toggle.js +0 -477
  240. package/dist/components/Toggle.js.map +0 -1
  241. package/dist/components/index.cjs +0 -2
  242. package/dist/components/index.cjs.map +0 -1
  243. package/dist/components/index.js.map +0 -1
  244. package/dist/components/wrapper.cjs +0 -2
  245. package/dist/components/wrapper.cjs.map +0 -1
  246. package/dist/components/wrapper.js +0 -484
  247. package/dist/components/wrapper.js.map +0 -1
  248. package/dist/concatenation/concatenatable.cjs +0 -2
  249. package/dist/concatenation/concatenatable.cjs.map +0 -1
  250. package/dist/concatenation/concatenatable.js +0 -118
  251. package/dist/concatenation/concatenatable.js.map +0 -1
  252. package/dist/concatenation/concatenated-component.cjs +0 -2
  253. package/dist/concatenation/concatenated-component.cjs.map +0 -1
  254. package/dist/concatenation/concatenated-component.js +0 -276
  255. package/dist/concatenation/concatenated-component.js.map +0 -1
  256. package/dist/concatenation/text-optimizer.cjs +0 -2
  257. package/dist/concatenation/text-optimizer.cjs.map +0 -1
  258. package/dist/concatenation/text-optimizer.js +0 -236
  259. package/dist/concatenation/text-optimizer.js.map +0 -1
  260. package/dist/concatenation/types.cjs +0 -2
  261. package/dist/concatenation/types.cjs.map +0 -1
  262. package/dist/concatenation/types.js +0 -13
  263. package/dist/concatenation/types.js.map +0 -1
  264. package/dist/constants/frame-utils.cjs +0 -2
  265. package/dist/constants/frame-utils.cjs.map +0 -1
  266. package/dist/constants/frame-utils.js +0 -116
  267. package/dist/constants/frame-utils.js.map +0 -1
  268. package/dist/constants/layout.cjs +0 -2
  269. package/dist/constants/layout.cjs.map +0 -1
  270. package/dist/constants/layout.js.map +0 -1
  271. package/dist/css-classes/component-base.cjs +0 -2
  272. package/dist/css-classes/component-base.cjs.map +0 -1
  273. package/dist/css-classes/component-base.js +0 -62
  274. package/dist/css-classes/component-base.js.map +0 -1
  275. package/dist/css-classes/css-class-manager.cjs +0 -2
  276. package/dist/css-classes/css-class-manager.cjs.map +0 -1
  277. package/dist/css-classes/css-class-manager.js +0 -209
  278. package/dist/css-classes/css-class-manager.js.map +0 -1
  279. package/dist/css-classes/dom-integration.cjs +0 -2
  280. package/dist/css-classes/dom-integration.cjs.map +0 -1
  281. package/dist/css-classes/dom-integration.js +0 -67
  282. package/dist/css-classes/dom-integration.js.map +0 -1
  283. package/dist/css-classes/enhanced-renderer.cjs +0 -2
  284. package/dist/css-classes/enhanced-renderer.cjs.map +0 -1
  285. package/dist/css-classes/enhanced-renderer.js +0 -73
  286. package/dist/css-classes/enhanced-renderer.js.map +0 -1
  287. package/dist/css-classes/utilities.cjs +0 -2
  288. package/dist/css-classes/utilities.cjs.map +0 -1
  289. package/dist/css-classes/utilities.js +0 -41
  290. package/dist/css-classes/utilities.js.map +0 -1
  291. package/dist/debug/index.d.ts +0 -61
  292. package/dist/debug/index.d.ts.map +0 -1
  293. package/dist/debug.cjs +0 -52
  294. package/dist/debug.cjs.map +0 -1
  295. package/dist/debug.js +0 -179
  296. package/dist/debug.js.map +0 -1
  297. package/dist/developer-experience/enhanced-errors.d.ts +0 -128
  298. package/dist/developer-experience/enhanced-errors.d.ts.map +0 -1
  299. package/dist/developer-experience/enhanced-types.d.ts +0 -281
  300. package/dist/developer-experience/enhanced-types.d.ts.map +0 -1
  301. package/dist/developer-experience/index.d.ts +0 -44
  302. package/dist/developer-experience/index.d.ts.map +0 -1
  303. package/dist/essential.cjs +0 -2
  304. package/dist/essential.cjs.map +0 -1
  305. package/dist/essential.js.map +0 -1
  306. package/dist/gradients/css-generator.cjs +0 -2
  307. package/dist/gradients/css-generator.cjs.map +0 -1
  308. package/dist/gradients/css-generator.js +0 -100
  309. package/dist/gradients/css-generator.js.map +0 -1
  310. package/dist/gradients/examples.cjs +0 -2
  311. package/dist/gradients/examples.cjs.map +0 -1
  312. package/dist/gradients/examples.js +0 -555
  313. package/dist/gradients/examples.js.map +0 -1
  314. package/dist/gradients/gradient-asset.cjs +0 -2
  315. package/dist/gradients/gradient-asset.cjs.map +0 -1
  316. package/dist/gradients/gradient-asset.js +0 -22
  317. package/dist/gradients/gradient-asset.js.map +0 -1
  318. package/dist/gradients/index.cjs +0 -2
  319. package/dist/gradients/index.cjs.map +0 -1
  320. package/dist/gradients/index.js +0 -78
  321. package/dist/gradients/index.js.map +0 -1
  322. package/dist/gradients/performance.cjs +0 -2
  323. package/dist/gradients/performance.cjs.map +0 -1
  324. package/dist/gradients/performance.js +0 -237
  325. package/dist/gradients/performance.js.map +0 -1
  326. package/dist/gradients/presets.cjs +0 -2
  327. package/dist/gradients/presets.cjs.map +0 -1
  328. package/dist/gradients/presets.js +0 -254
  329. package/dist/gradients/presets.js.map +0 -1
  330. package/dist/gradients/reactive.cjs +0 -2
  331. package/dist/gradients/reactive.cjs.map +0 -1
  332. package/dist/gradients/reactive.js +0 -239
  333. package/dist/gradients/reactive.js.map +0 -1
  334. package/dist/gradients/state-gradient-asset.cjs +0 -2
  335. package/dist/gradients/state-gradient-asset.cjs.map +0 -1
  336. package/dist/gradients/state-gradient-asset.js +0 -111
  337. package/dist/gradients/state-gradient-asset.js.map +0 -1
  338. package/dist/gradients/utils.cjs +0 -2
  339. package/dist/gradients/utils.cjs.map +0 -1
  340. package/dist/gradients/utils.js +0 -385
  341. package/dist/gradients/utils.js.map +0 -1
  342. package/dist/gradients/validation.cjs +0 -2
  343. package/dist/gradients/validation.cjs.map +0 -1
  344. package/dist/gradients/validation.js +0 -209
  345. package/dist/gradients/validation.js.map +0 -1
  346. package/dist/index.cjs +0 -2
  347. package/dist/index.cjs.map +0 -1
  348. package/dist/index.js.map +0 -1
  349. package/dist/index2.cjs +0 -2
  350. package/dist/index2.cjs.map +0 -1
  351. package/dist/index2.js +0 -293
  352. package/dist/index2.js.map +0 -1
  353. package/dist/lifecycle/hooks.cjs +0 -2
  354. package/dist/lifecycle/hooks.cjs.map +0 -1
  355. package/dist/lifecycle/hooks.js +0 -159
  356. package/dist/lifecycle/hooks.js.map +0 -1
  357. package/dist/minimal-prod.cjs +0 -2
  358. package/dist/minimal-prod.cjs.map +0 -1
  359. package/dist/minimal-prod.js.map +0 -1
  360. package/dist/minimal.cjs +0 -2
  361. package/dist/minimal.cjs.map +0 -1
  362. package/dist/minimal.js.map +0 -1
  363. package/dist/modifiers/as-html-validator.cjs +0 -2
  364. package/dist/modifiers/as-html-validator.cjs.map +0 -1
  365. package/dist/modifiers/as-html-validator.js +0 -47
  366. package/dist/modifiers/as-html-validator.js.map +0 -1
  367. package/dist/modifiers/as-html.cjs +0 -2
  368. package/dist/modifiers/as-html.cjs.map +0 -1
  369. package/dist/modifiers/as-html.js +0 -71
  370. package/dist/modifiers/as-html.js.map +0 -1
  371. package/dist/modifiers/attributes.cjs +0 -2
  372. package/dist/modifiers/attributes.cjs.map +0 -1
  373. package/dist/modifiers/attributes.d.ts +0 -203
  374. package/dist/modifiers/attributes.d.ts.map +0 -1
  375. package/dist/modifiers/attributes.js +0 -272
  376. package/dist/modifiers/attributes.js.map +0 -1
  377. package/dist/modifiers/backdrop.cjs +0 -2
  378. package/dist/modifiers/backdrop.cjs.map +0 -1
  379. package/dist/modifiers/backdrop.d.ts +0 -59
  380. package/dist/modifiers/backdrop.d.ts.map +0 -1
  381. package/dist/modifiers/backdrop.js +0 -109
  382. package/dist/modifiers/backdrop.js.map +0 -1
  383. package/dist/modifiers/background.cjs +0 -2
  384. package/dist/modifiers/background.cjs.map +0 -1
  385. package/dist/modifiers/background.js +0 -67
  386. package/dist/modifiers/background.js.map +0 -1
  387. package/dist/modifiers/base.cjs +0 -25
  388. package/dist/modifiers/base.cjs.map +0 -1
  389. package/dist/modifiers/base.js.map +0 -1
  390. package/dist/modifiers/basic-sanitizer.cjs +0 -2
  391. package/dist/modifiers/basic-sanitizer.cjs.map +0 -1
  392. package/dist/modifiers/basic-sanitizer.js +0 -162
  393. package/dist/modifiers/basic-sanitizer.js.map +0 -1
  394. package/dist/modifiers/border.cjs +0 -2
  395. package/dist/modifiers/border.cjs.map +0 -1
  396. package/dist/modifiers/border.d.ts +0 -217
  397. package/dist/modifiers/border.d.ts.map +0 -1
  398. package/dist/modifiers/border.js +0 -160
  399. package/dist/modifiers/border.js.map +0 -1
  400. package/dist/modifiers/builder.cjs +0 -2
  401. package/dist/modifiers/builder.cjs.map +0 -1
  402. package/dist/modifiers/builder.js.map +0 -1
  403. package/dist/modifiers/core.cjs +0 -2
  404. package/dist/modifiers/core.cjs.map +0 -1
  405. package/dist/modifiers/core.js +0 -398
  406. package/dist/modifiers/core.js.map +0 -1
  407. package/dist/modifiers/css.cjs +0 -2
  408. package/dist/modifiers/css.cjs.map +0 -1
  409. package/dist/modifiers/css.js +0 -50
  410. package/dist/modifiers/css.js.map +0 -1
  411. package/dist/modifiers/effects.cjs +0 -2
  412. package/dist/modifiers/effects.cjs.map +0 -1
  413. package/dist/modifiers/effects.d.ts +0 -159
  414. package/dist/modifiers/effects.d.ts.map +0 -1
  415. package/dist/modifiers/effects.js +0 -178
  416. package/dist/modifiers/effects.js.map +0 -1
  417. package/dist/modifiers/elements.cjs +0 -2
  418. package/dist/modifiers/elements.cjs.map +0 -1
  419. package/dist/modifiers/elements.d.ts +0 -240
  420. package/dist/modifiers/elements.d.ts.map +0 -1
  421. package/dist/modifiers/elements.js +0 -216
  422. package/dist/modifiers/elements.js.map +0 -1
  423. package/dist/modifiers/filters.cjs +0 -2
  424. package/dist/modifiers/filters.cjs.map +0 -1
  425. package/dist/modifiers/filters.d.ts +0 -275
  426. package/dist/modifiers/filters.d.ts.map +0 -1
  427. package/dist/modifiers/filters.js +0 -223
  428. package/dist/modifiers/filters.js.map +0 -1
  429. package/dist/modifiers/flexbox.cjs +0 -2
  430. package/dist/modifiers/flexbox.cjs.map +0 -1
  431. package/dist/modifiers/flexbox.d.ts +0 -82
  432. package/dist/modifiers/flexbox.d.ts.map +0 -1
  433. package/dist/modifiers/flexbox.js +0 -56
  434. package/dist/modifiers/flexbox.js.map +0 -1
  435. package/dist/modifiers/font.cjs +0 -2
  436. package/dist/modifiers/font.cjs.map +0 -1
  437. package/dist/modifiers/font.d.ts +0 -71
  438. package/dist/modifiers/font.d.ts.map +0 -1
  439. package/dist/modifiers/font.js +0 -60
  440. package/dist/modifiers/font.js.map +0 -1
  441. package/dist/modifiers/grid.cjs +0 -2
  442. package/dist/modifiers/grid.cjs.map +0 -1
  443. package/dist/modifiers/grid.d.ts +0 -92
  444. package/dist/modifiers/grid.d.ts.map +0 -1
  445. package/dist/modifiers/grid.js +0 -92
  446. package/dist/modifiers/grid.js.map +0 -1
  447. package/dist/modifiers/margin.cjs +0 -2
  448. package/dist/modifiers/margin.cjs.map +0 -1
  449. package/dist/modifiers/margin.d.ts +0 -128
  450. package/dist/modifiers/margin.d.ts.map +0 -1
  451. package/dist/modifiers/margin.js +0 -65
  452. package/dist/modifiers/margin.js.map +0 -1
  453. package/dist/modifiers/padding.cjs +0 -2
  454. package/dist/modifiers/padding.cjs.map +0 -1
  455. package/dist/modifiers/padding.d.ts +0 -204
  456. package/dist/modifiers/padding.d.ts.map +0 -1
  457. package/dist/modifiers/padding.js +0 -109
  458. package/dist/modifiers/padding.js.map +0 -1
  459. package/dist/modifiers/registry.cjs +0 -2
  460. package/dist/modifiers/registry.cjs.map +0 -1
  461. package/dist/modifiers/registry.js.map +0 -1
  462. package/dist/modifiers/responsive/advanced-utilities.cjs +0 -2
  463. package/dist/modifiers/responsive/advanced-utilities.cjs.map +0 -1
  464. package/dist/modifiers/responsive/advanced-utilities.d.ts +0 -118
  465. package/dist/modifiers/responsive/advanced-utilities.d.ts.map +0 -1
  466. package/dist/modifiers/responsive/advanced-utilities.js +0 -291
  467. package/dist/modifiers/responsive/advanced-utilities.js.map +0 -1
  468. package/dist/modifiers/responsive/breakpoints.cjs +0 -2
  469. package/dist/modifiers/responsive/breakpoints.cjs.map +0 -1
  470. package/dist/modifiers/responsive/breakpoints.d.ts +0 -81
  471. package/dist/modifiers/responsive/breakpoints.d.ts.map +0 -1
  472. package/dist/modifiers/responsive/breakpoints.js +0 -168
  473. package/dist/modifiers/responsive/breakpoints.js.map +0 -1
  474. package/dist/modifiers/responsive/css-generator.cjs +0 -5
  475. package/dist/modifiers/responsive/css-generator.cjs.map +0 -1
  476. package/dist/modifiers/responsive/css-generator.d.ts +0 -100
  477. package/dist/modifiers/responsive/css-generator.d.ts.map +0 -1
  478. package/dist/modifiers/responsive/css-generator.js +0 -261
  479. package/dist/modifiers/responsive/css-generator.js.map +0 -1
  480. package/dist/modifiers/responsive/dev-tools.cjs +0 -77
  481. package/dist/modifiers/responsive/dev-tools.cjs.map +0 -1
  482. package/dist/modifiers/responsive/dev-tools.d.ts +0 -107
  483. package/dist/modifiers/responsive/dev-tools.d.ts.map +0 -1
  484. package/dist/modifiers/responsive/dev-tools.js +0 -380
  485. package/dist/modifiers/responsive/dev-tools.js.map +0 -1
  486. package/dist/modifiers/responsive/index.d.ts +0 -28
  487. package/dist/modifiers/responsive/index.d.ts.map +0 -1
  488. package/dist/modifiers/responsive/layout-patterns.cjs +0 -2
  489. package/dist/modifiers/responsive/layout-patterns.cjs.map +0 -1
  490. package/dist/modifiers/responsive/layout-patterns.d.ts +0 -230
  491. package/dist/modifiers/responsive/layout-patterns.d.ts.map +0 -1
  492. package/dist/modifiers/responsive/layout-patterns.js +0 -254
  493. package/dist/modifiers/responsive/layout-patterns.js.map +0 -1
  494. package/dist/modifiers/responsive/performance.cjs +0 -3
  495. package/dist/modifiers/responsive/performance.cjs.map +0 -1
  496. package/dist/modifiers/responsive/performance.d.ts +0 -130
  497. package/dist/modifiers/responsive/performance.d.ts.map +0 -1
  498. package/dist/modifiers/responsive/performance.js +0 -212
  499. package/dist/modifiers/responsive/performance.js.map +0 -1
  500. package/dist/modifiers/responsive/responsive-builder.cjs +0 -2
  501. package/dist/modifiers/responsive/responsive-builder.cjs.map +0 -1
  502. package/dist/modifiers/responsive/responsive-builder.d.ts +0 -133
  503. package/dist/modifiers/responsive/responsive-builder.d.ts.map +0 -1
  504. package/dist/modifiers/responsive/responsive-builder.js +0 -272
  505. package/dist/modifiers/responsive/responsive-builder.js.map +0 -1
  506. package/dist/modifiers/responsive/responsive-modifier.cjs +0 -3
  507. package/dist/modifiers/responsive/responsive-modifier.cjs.map +0 -1
  508. package/dist/modifiers/responsive/responsive-modifier.d.ts +0 -123
  509. package/dist/modifiers/responsive/responsive-modifier.d.ts.map +0 -1
  510. package/dist/modifiers/responsive/responsive-modifier.js +0 -204
  511. package/dist/modifiers/responsive/responsive-modifier.js.map +0 -1
  512. package/dist/modifiers/responsive/types.cjs +0 -2
  513. package/dist/modifiers/responsive/types.cjs.map +0 -1
  514. package/dist/modifiers/responsive/types.d.ts +0 -183
  515. package/dist/modifiers/responsive/types.d.ts.map +0 -1
  516. package/dist/modifiers/responsive/types.js +0 -26
  517. package/dist/modifiers/responsive/types.js.map +0 -1
  518. package/dist/modifiers/responsive/utilities.cjs +0 -16
  519. package/dist/modifiers/responsive/utilities.cjs.map +0 -1
  520. package/dist/modifiers/responsive/utilities.d.ts +0 -149
  521. package/dist/modifiers/responsive/utilities.d.ts.map +0 -1
  522. package/dist/modifiers/responsive/utilities.js +0 -273
  523. package/dist/modifiers/responsive/utilities.js.map +0 -1
  524. package/dist/modifiers/scroll.cjs +0 -2
  525. package/dist/modifiers/scroll.cjs.map +0 -1
  526. package/dist/modifiers/scroll.d.ts +0 -143
  527. package/dist/modifiers/scroll.d.ts.map +0 -1
  528. package/dist/modifiers/scroll.js +0 -82
  529. package/dist/modifiers/scroll.js.map +0 -1
  530. package/dist/modifiers/shadows.cjs +0 -2
  531. package/dist/modifiers/shadows.cjs.map +0 -1
  532. package/dist/modifiers/shadows.d.ts +0 -114
  533. package/dist/modifiers/shadows.d.ts.map +0 -1
  534. package/dist/modifiers/shadows.js +0 -147
  535. package/dist/modifiers/shadows.js.map +0 -1
  536. package/dist/modifiers/size.cjs +0 -2
  537. package/dist/modifiers/size.cjs.map +0 -1
  538. package/dist/modifiers/size.d.ts +0 -113
  539. package/dist/modifiers/size.d.ts.map +0 -1
  540. package/dist/modifiers/size.js +0 -74
  541. package/dist/modifiers/size.js.map +0 -1
  542. package/dist/modifiers/text.cjs +0 -2
  543. package/dist/modifiers/text.cjs.map +0 -1
  544. package/dist/modifiers/text.d.ts +0 -147
  545. package/dist/modifiers/text.d.ts.map +0 -1
  546. package/dist/modifiers/text.js +0 -166
  547. package/dist/modifiers/text.js.map +0 -1
  548. package/dist/modifiers/transformations.cjs +0 -2
  549. package/dist/modifiers/transformations.cjs.map +0 -1
  550. package/dist/modifiers/transformations.d.ts +0 -329
  551. package/dist/modifiers/transformations.d.ts.map +0 -1
  552. package/dist/modifiers/transformations.js +0 -216
  553. package/dist/modifiers/transformations.js.map +0 -1
  554. package/dist/modifiers/transitions.cjs +0 -2
  555. package/dist/modifiers/transitions.cjs.map +0 -1
  556. package/dist/modifiers/transitions.d.ts +0 -98
  557. package/dist/modifiers/transitions.d.ts.map +0 -1
  558. package/dist/modifiers/transitions.js +0 -102
  559. package/dist/modifiers/transitions.js.map +0 -1
  560. package/dist/modifiers/types.cjs +0 -2
  561. package/dist/modifiers/types.cjs.map +0 -1
  562. package/dist/modifiers/types.js.map +0 -1
  563. package/dist/modifiers/typography.cjs +0 -2
  564. package/dist/modifiers/typography.cjs.map +0 -1
  565. package/dist/modifiers/typography.d.ts +0 -192
  566. package/dist/modifiers/typography.d.ts.map +0 -1
  567. package/dist/modifiers/typography.js +0 -76
  568. package/dist/modifiers/typography.js.map +0 -1
  569. package/dist/modifiers/utility.cjs +0 -2
  570. package/dist/modifiers/utility.cjs.map +0 -1
  571. package/dist/modifiers/utility.d.ts +0 -69
  572. package/dist/modifiers/utility.d.ts.map +0 -1
  573. package/dist/modifiers/utility.js +0 -71
  574. package/dist/modifiers/utility.js.map +0 -1
  575. package/dist/modifiers/utils.cjs +0 -2
  576. package/dist/modifiers/utils.cjs.map +0 -1
  577. package/dist/modifiers/utils.d.ts.map +0 -1
  578. package/dist/modifiers/utils.js +0 -250
  579. package/dist/modifiers/utils.js.map +0 -1
  580. package/dist/plugins/index.cjs +0 -2
  581. package/dist/plugins/index.cjs.map +0 -1
  582. package/dist/plugins/index.js.map +0 -1
  583. package/dist/plugins/legacy-adapter.cjs +0 -2
  584. package/dist/plugins/legacy-adapter.cjs.map +0 -1
  585. package/dist/plugins/legacy-adapter.js +0 -30
  586. package/dist/plugins/legacy-adapter.js.map +0 -1
  587. package/dist/plugins/simplified-component-registry.cjs +0 -2
  588. package/dist/plugins/simplified-component-registry.cjs.map +0 -1
  589. package/dist/plugins/simplified-component-registry.js +0 -71
  590. package/dist/plugins/simplified-component-registry.js.map +0 -1
  591. package/dist/plugins/simplified-error-handler.cjs +0 -2
  592. package/dist/plugins/simplified-error-handler.cjs.map +0 -1
  593. package/dist/plugins/simplified-error-handler.d.ts +0 -83
  594. package/dist/plugins/simplified-error-handler.d.ts.map +0 -1
  595. package/dist/plugins/simplified-error-handler.js +0 -154
  596. package/dist/plugins/simplified-error-handler.js.map +0 -1
  597. package/dist/plugins/simplified-lazy-loader.cjs +0 -2
  598. package/dist/plugins/simplified-lazy-loader.cjs.map +0 -1
  599. package/dist/plugins/simplified-lazy-loader.js +0 -129
  600. package/dist/plugins/simplified-lazy-loader.js.map +0 -1
  601. package/dist/plugins/simplified-plugin-manager.cjs +0 -2
  602. package/dist/plugins/simplified-plugin-manager.cjs.map +0 -1
  603. package/dist/plugins/simplified-plugin-manager.js +0 -51
  604. package/dist/plugins/simplified-plugin-manager.js.map +0 -1
  605. package/dist/plugins/simplified-tachui-instance.cjs +0 -2
  606. package/dist/plugins/simplified-tachui-instance.cjs.map +0 -1
  607. package/dist/plugins/simplified-tachui-instance.js +0 -88
  608. package/dist/plugins/simplified-tachui-instance.js.map +0 -1
  609. package/dist/plugins/simplified-types.cjs +0 -2
  610. package/dist/plugins/simplified-types.cjs.map +0 -1
  611. package/dist/plugins/simplified-types.js +0 -9
  612. package/dist/plugins/simplified-types.js.map +0 -1
  613. package/dist/plugins/simplified-utils.cjs +0 -2
  614. package/dist/plugins/simplified-utils.cjs.map +0 -1
  615. package/dist/plugins/simplified-utils.js +0 -40
  616. package/dist/plugins/simplified-utils.js.map +0 -1
  617. package/dist/reactive/cleanup.cjs +0 -2
  618. package/dist/reactive/cleanup.cjs.map +0 -1
  619. package/dist/reactive/cleanup.js +0 -62
  620. package/dist/reactive/cleanup.js.map +0 -1
  621. package/dist/reactive/computed.cjs +0 -2
  622. package/dist/reactive/computed.cjs.map +0 -1
  623. package/dist/reactive/computed.js +0 -121
  624. package/dist/reactive/computed.js.map +0 -1
  625. package/dist/reactive/context.cjs +0 -2
  626. package/dist/reactive/context.cjs.map +0 -1
  627. package/dist/reactive/context.js +0 -143
  628. package/dist/reactive/context.js.map +0 -1
  629. package/dist/reactive/effect.cjs +0 -2
  630. package/dist/reactive/effect.cjs.map +0 -1
  631. package/dist/reactive/effect.js +0 -67
  632. package/dist/reactive/effect.js.map +0 -1
  633. package/dist/reactive/enhanced-effect.cjs +0 -2
  634. package/dist/reactive/enhanced-effect.cjs.map +0 -1
  635. package/dist/reactive/enhanced-effect.js +0 -153
  636. package/dist/reactive/enhanced-effect.js.map +0 -1
  637. package/dist/reactive/enhanced-signal.cjs +0 -2
  638. package/dist/reactive/enhanced-signal.cjs.map +0 -1
  639. package/dist/reactive/enhanced-signal.js +0 -117
  640. package/dist/reactive/enhanced-signal.js.map +0 -1
  641. package/dist/reactive/equality.cjs +0 -2
  642. package/dist/reactive/equality.cjs.map +0 -1
  643. package/dist/reactive/equality.js +0 -66
  644. package/dist/reactive/equality.js.map +0 -1
  645. package/dist/reactive/index.cjs +0 -2
  646. package/dist/reactive/index.cjs.map +0 -1
  647. package/dist/reactive/index.js.map +0 -1
  648. package/dist/reactive/migration.cjs +0 -18
  649. package/dist/reactive/migration.cjs.map +0 -1
  650. package/dist/reactive/migration.js +0 -164
  651. package/dist/reactive/migration.js.map +0 -1
  652. package/dist/reactive/ownership.cjs +0 -2
  653. package/dist/reactive/ownership.cjs.map +0 -1
  654. package/dist/reactive/ownership.js +0 -34
  655. package/dist/reactive/ownership.js.map +0 -1
  656. package/dist/reactive/scheduler.cjs +0 -2
  657. package/dist/reactive/scheduler.cjs.map +0 -1
  658. package/dist/reactive/scheduler.js +0 -111
  659. package/dist/reactive/scheduler.js.map +0 -1
  660. package/dist/reactive/signal.cjs +0 -2
  661. package/dist/reactive/signal.cjs.map +0 -1
  662. package/dist/reactive/signal.js +0 -96
  663. package/dist/reactive/signal.js.map +0 -1
  664. package/dist/reactive/theme.cjs +0 -2
  665. package/dist/reactive/theme.cjs.map +0 -1
  666. package/dist/reactive/theme.js +0 -27
  667. package/dist/reactive/theme.js.map +0 -1
  668. package/dist/reactive/types.cjs +0 -2
  669. package/dist/reactive/types.cjs.map +0 -1
  670. package/dist/reactive/types.js.map +0 -1
  671. package/dist/reactive/unified-scheduler.cjs +0 -2
  672. package/dist/reactive/unified-scheduler.cjs.map +0 -1
  673. package/dist/reactive/unified-scheduler.js +0 -219
  674. package/dist/reactive/unified-scheduler.js.map +0 -1
  675. package/dist/runtime/component-context.cjs +0 -2
  676. package/dist/runtime/component-context.cjs.map +0 -1
  677. package/dist/runtime/component-context.js +0 -177
  678. package/dist/runtime/component-context.js.map +0 -1
  679. package/dist/runtime/component.cjs +0 -2
  680. package/dist/runtime/component.cjs.map +0 -1
  681. package/dist/runtime/component.js +0 -238
  682. package/dist/runtime/component.js.map +0 -1
  683. package/dist/runtime/context.cjs +0 -2
  684. package/dist/runtime/context.cjs.map +0 -1
  685. package/dist/runtime/context.js +0 -289
  686. package/dist/runtime/context.js.map +0 -1
  687. package/dist/runtime/dev-tools.cjs +0 -2
  688. package/dist/runtime/dev-tools.cjs.map +0 -1
  689. package/dist/runtime/dev-tools.d.ts +0 -240
  690. package/dist/runtime/dev-tools.d.ts.map +0 -1
  691. package/dist/runtime/dev-tools.js +0 -391
  692. package/dist/runtime/dev-tools.js.map +0 -1
  693. package/dist/runtime/development-warnings.cjs +0 -2
  694. package/dist/runtime/development-warnings.cjs.map +0 -1
  695. package/dist/runtime/development-warnings.d.ts +0 -42
  696. package/dist/runtime/development-warnings.d.ts.map +0 -1
  697. package/dist/runtime/development-warnings.js +0 -69
  698. package/dist/runtime/development-warnings.js.map +0 -1
  699. package/dist/runtime/dom-bridge.cjs +0 -2
  700. package/dist/runtime/dom-bridge.cjs.map +0 -1
  701. package/dist/runtime/dom-bridge.js.map +0 -1
  702. package/dist/runtime/element-override.cjs +0 -2
  703. package/dist/runtime/element-override.cjs.map +0 -1
  704. package/dist/runtime/element-override.js +0 -214
  705. package/dist/runtime/element-override.js.map +0 -1
  706. package/dist/runtime/error-boundary.cjs +0 -2
  707. package/dist/runtime/error-boundary.cjs.map +0 -1
  708. package/dist/runtime/error-boundary.d.ts +0 -302
  709. package/dist/runtime/error-boundary.d.ts.map +0 -1
  710. package/dist/runtime/error-boundary.js +0 -559
  711. package/dist/runtime/error-boundary.js.map +0 -1
  712. package/dist/runtime/error-recovery.cjs +0 -2
  713. package/dist/runtime/error-recovery.cjs.map +0 -1
  714. package/dist/runtime/error-recovery.d.ts +0 -267
  715. package/dist/runtime/error-recovery.d.ts.map +0 -1
  716. package/dist/runtime/error-recovery.js +0 -385
  717. package/dist/runtime/error-recovery.js.map +0 -1
  718. package/dist/runtime/error-reporting.cjs +0 -3
  719. package/dist/runtime/error-reporting.cjs.map +0 -1
  720. package/dist/runtime/error-reporting.d.ts +0 -287
  721. package/dist/runtime/error-reporting.d.ts.map +0 -1
  722. package/dist/runtime/error-reporting.js +0 -479
  723. package/dist/runtime/error-reporting.js.map +0 -1
  724. package/dist/runtime/error-utils.cjs +0 -3
  725. package/dist/runtime/error-utils.cjs.map +0 -1
  726. package/dist/runtime/error-utils.d.ts +0 -204
  727. package/dist/runtime/error-utils.d.ts.map +0 -1
  728. package/dist/runtime/error-utils.js +0 -352
  729. package/dist/runtime/error-utils.js.map +0 -1
  730. package/dist/runtime/lazy-component.cjs +0 -2
  731. package/dist/runtime/lazy-component.cjs.map +0 -1
  732. package/dist/runtime/lazy-component.js +0 -129
  733. package/dist/runtime/lazy-component.js.map +0 -1
  734. package/dist/runtime/lifecycle.cjs +0 -2
  735. package/dist/runtime/lifecycle.cjs.map +0 -1
  736. package/dist/runtime/lifecycle.js +0 -7
  737. package/dist/runtime/lifecycle.js.map +0 -1
  738. package/dist/runtime/mounting.cjs +0 -2
  739. package/dist/runtime/mounting.cjs.map +0 -1
  740. package/dist/runtime/mounting.js +0 -12
  741. package/dist/runtime/mounting.js.map +0 -1
  742. package/dist/runtime/optimization.cjs +0 -2
  743. package/dist/runtime/optimization.cjs.map +0 -1
  744. package/dist/runtime/optimization.js +0 -6
  745. package/dist/runtime/optimization.js.map +0 -1
  746. package/dist/runtime/performance.cjs +0 -2
  747. package/dist/runtime/performance.cjs.map +0 -1
  748. package/dist/runtime/performance.d.ts +0 -217
  749. package/dist/runtime/performance.d.ts.map +0 -1
  750. package/dist/runtime/performance.js +0 -399
  751. package/dist/runtime/performance.js.map +0 -1
  752. package/dist/runtime/props.cjs +0 -2
  753. package/dist/runtime/props.cjs.map +0 -1
  754. package/dist/runtime/props.js +0 -265
  755. package/dist/runtime/props.js.map +0 -1
  756. package/dist/runtime/renderer.cjs +0 -2
  757. package/dist/runtime/renderer.cjs.map +0 -1
  758. package/dist/runtime/renderer.js.map +0 -1
  759. package/dist/runtime/semantic-role-manager.cjs +0 -2
  760. package/dist/runtime/semantic-role-manager.cjs.map +0 -1
  761. package/dist/runtime/semantic-role-manager.js +0 -82
  762. package/dist/runtime/semantic-role-manager.js.map +0 -1
  763. package/dist/state/binding.cjs +0 -2
  764. package/dist/state/binding.cjs.map +0 -1
  765. package/dist/state/binding.js +0 -155
  766. package/dist/state/binding.js.map +0 -1
  767. package/dist/state/environment.cjs +0 -2
  768. package/dist/state/environment.cjs.map +0 -1
  769. package/dist/state/environment.js +0 -115
  770. package/dist/state/environment.js.map +0 -1
  771. package/dist/state/index.cjs +0 -2
  772. package/dist/state/index.cjs.map +0 -1
  773. package/dist/state/index.js +0 -63
  774. package/dist/state/index.js.map +0 -1
  775. package/dist/state/observed-object.cjs +0 -2
  776. package/dist/state/observed-object.cjs.map +0 -1
  777. package/dist/state/observed-object.js +0 -163
  778. package/dist/state/observed-object.js.map +0 -1
  779. package/dist/state/state-manager.cjs +0 -2
  780. package/dist/state/state-manager.cjs.map +0 -1
  781. package/dist/state/state-manager.js +0 -233
  782. package/dist/state/state-manager.js.map +0 -1
  783. package/dist/state/state.cjs +0 -2
  784. package/dist/state/state.cjs.map +0 -1
  785. package/dist/state/state.js +0 -159
  786. package/dist/state/state.js.map +0 -1
  787. package/dist/sui-compat.cjs +0 -2
  788. package/dist/sui-compat.cjs.map +0 -1
  789. package/dist/sui-compat.d.ts +0 -110
  790. package/dist/sui-compat.d.ts.map +0 -1
  791. package/dist/sui-compat.js +0 -88
  792. package/dist/sui-compat.js.map +0 -1
  793. package/dist/validation/advanced-debugging.cjs +0 -44
  794. package/dist/validation/advanced-debugging.cjs.map +0 -1
  795. package/dist/validation/advanced-debugging.d.ts +0 -319
  796. package/dist/validation/advanced-debugging.d.ts.map +0 -1
  797. package/dist/validation/advanced-debugging.js +0 -455
  798. package/dist/validation/advanced-debugging.js.map +0 -1
  799. package/dist/validation/build-time/detection.cjs +0 -2
  800. package/dist/validation/build-time/detection.cjs.map +0 -1
  801. package/dist/validation/build-time/detection.d.ts +0 -32
  802. package/dist/validation/build-time/detection.d.ts.map +0 -1
  803. package/dist/validation/build-time/detection.js +0 -199
  804. package/dist/validation/build-time/detection.js.map +0 -1
  805. package/dist/validation/build-time/index.cjs +0 -2
  806. package/dist/validation/build-time/index.cjs.map +0 -1
  807. package/dist/validation/build-time/index.d.ts +0 -84
  808. package/dist/validation/build-time/index.d.ts.map +0 -1
  809. package/dist/validation/build-time/index.js +0 -122
  810. package/dist/validation/build-time/index.js.map +0 -1
  811. package/dist/validation/build-time/plugins.cjs +0 -3
  812. package/dist/validation/build-time/plugins.cjs.map +0 -1
  813. package/dist/validation/build-time/plugins.d.ts +0 -75
  814. package/dist/validation/build-time/plugins.d.ts.map +0 -1
  815. package/dist/validation/build-time/plugins.js +0 -282
  816. package/dist/validation/build-time/plugins.js.map +0 -1
  817. package/dist/validation/build-time/rules.cjs +0 -2
  818. package/dist/validation/build-time/rules.cjs.map +0 -1
  819. package/dist/validation/build-time/rules.d.ts +0 -73
  820. package/dist/validation/build-time/rules.d.ts.map +0 -1
  821. package/dist/validation/build-time/rules.js +0 -576
  822. package/dist/validation/build-time/rules.js.map +0 -1
  823. package/dist/validation/build-time/transformer.cjs +0 -3
  824. package/dist/validation/build-time/transformer.cjs.map +0 -1
  825. package/dist/validation/build-time/transformer.d.ts +0 -23
  826. package/dist/validation/build-time/transformer.d.ts.map +0 -1
  827. package/dist/validation/build-time/transformer.js +0 -177
  828. package/dist/validation/build-time/transformer.js.map +0 -1
  829. package/dist/validation/build-time/types.d.ts +0 -212
  830. package/dist/validation/build-time/types.d.ts.map +0 -1
  831. package/dist/validation/comprehensive.cjs +0 -9
  832. package/dist/validation/comprehensive.cjs.map +0 -1
  833. package/dist/validation/comprehensive.d.ts +0 -160
  834. package/dist/validation/comprehensive.d.ts.map +0 -1
  835. package/dist/validation/comprehensive.js +0 -916
  836. package/dist/validation/comprehensive.js.map +0 -1
  837. package/dist/validation/debug-tools.cjs +0 -16
  838. package/dist/validation/debug-tools.cjs.map +0 -1
  839. package/dist/validation/debug-tools.d.ts +0 -251
  840. package/dist/validation/debug-tools.d.ts.map +0 -1
  841. package/dist/validation/debug-tools.js +0 -405
  842. package/dist/validation/debug-tools.js.map +0 -1
  843. package/dist/validation/developer-experience.cjs +0 -17
  844. package/dist/validation/developer-experience.cjs.map +0 -1
  845. package/dist/validation/developer-experience.d.ts +0 -243
  846. package/dist/validation/developer-experience.d.ts.map +0 -1
  847. package/dist/validation/developer-experience.js +0 -433
  848. package/dist/validation/developer-experience.js.map +0 -1
  849. package/dist/validation/documentation-integration.cjs +0 -7
  850. package/dist/validation/documentation-integration.cjs.map +0 -1
  851. package/dist/validation/documentation-integration.d.ts +0 -269
  852. package/dist/validation/documentation-integration.d.ts.map +0 -1
  853. package/dist/validation/documentation-integration.js +0 -440
  854. package/dist/validation/documentation-integration.js.map +0 -1
  855. package/dist/validation/enhanced-runtime.cjs +0 -6
  856. package/dist/validation/enhanced-runtime.cjs.map +0 -1
  857. package/dist/validation/enhanced-runtime.d.ts +0 -279
  858. package/dist/validation/enhanced-runtime.d.ts.map +0 -1
  859. package/dist/validation/enhanced-runtime.js +0 -465
  860. package/dist/validation/enhanced-runtime.js.map +0 -1
  861. package/dist/validation/error-reporting.cjs +0 -32
  862. package/dist/validation/error-reporting.cjs.map +0 -1
  863. package/dist/validation/error-reporting.d.ts +0 -186
  864. package/dist/validation/error-reporting.d.ts.map +0 -1
  865. package/dist/validation/error-reporting.js +0 -370
  866. package/dist/validation/error-reporting.js.map +0 -1
  867. package/dist/validation/ide-integration.cjs +0 -85
  868. package/dist/validation/ide-integration.cjs.map +0 -1
  869. package/dist/validation/ide-integration.d.ts +0 -328
  870. package/dist/validation/ide-integration.d.ts.map +0 -1
  871. package/dist/validation/ide-integration.js +0 -557
  872. package/dist/validation/ide-integration.js.map +0 -1
  873. package/dist/validation/index.cjs +0 -6
  874. package/dist/validation/index.cjs.map +0 -1
  875. package/dist/validation/index.js.map +0 -1
  876. package/dist/validation/lifecycle-validation.cjs +0 -2
  877. package/dist/validation/lifecycle-validation.cjs.map +0 -1
  878. package/dist/validation/lifecycle-validation.js +0 -314
  879. package/dist/validation/lifecycle-validation.js.map +0 -1
  880. package/dist/validation/performance-optimizer.cjs +0 -2
  881. package/dist/validation/performance-optimizer.cjs.map +0 -1
  882. package/dist/validation/performance-optimizer.d.ts +0 -218
  883. package/dist/validation/performance-optimizer.d.ts.map +0 -1
  884. package/dist/validation/performance-optimizer.js +0 -338
  885. package/dist/validation/performance-optimizer.js.map +0 -1
  886. package/dist/validation/plugin-registration.cjs +0 -2
  887. package/dist/validation/plugin-registration.cjs.map +0 -1
  888. package/dist/validation/plugin-registration.js +0 -126
  889. package/dist/validation/plugin-registration.js.map +0 -1
  890. package/dist/validation/production-bypass.cjs +0 -2
  891. package/dist/validation/production-bypass.cjs.map +0 -1
  892. package/dist/validation/production-bypass.d.ts +0 -175
  893. package/dist/validation/production-bypass.d.ts.map +0 -1
  894. package/dist/validation/production-bypass.js +0 -218
  895. package/dist/validation/production-bypass.js.map +0 -1
  896. package/dist/validation/simple.cjs +0 -9
  897. package/dist/validation/simple.cjs.map +0 -1
  898. package/dist/validation/simple.d.ts +0 -111
  899. package/dist/validation/simple.d.ts.map +0 -1
  900. package/dist/validation/simple.js +0 -146
  901. package/dist/validation/simple.js.map +0 -1
  902. package/dist/viewport/adapters/web-adapter.cjs +0 -70
  903. package/dist/viewport/adapters/web-adapter.cjs.map +0 -1
  904. package/dist/viewport/adapters/web-adapter.d.ts +0 -227
  905. package/dist/viewport/adapters/web-adapter.d.ts.map +0 -1
  906. package/dist/viewport/adapters/web-adapter.js +0 -823
  907. package/dist/viewport/adapters/web-adapter.js.map +0 -1
  908. package/dist/viewport/components.cjs +0 -2
  909. package/dist/viewport/components.cjs.map +0 -1
  910. package/dist/viewport/components.d.ts +0 -131
  911. package/dist/viewport/components.d.ts.map +0 -1
  912. package/dist/viewport/components.js +0 -298
  913. package/dist/viewport/components.js.map +0 -1
  914. package/dist/viewport/environment.cjs +0 -2
  915. package/dist/viewport/environment.cjs.map +0 -1
  916. package/dist/viewport/environment.d.ts +0 -75
  917. package/dist/viewport/environment.d.ts.map +0 -1
  918. package/dist/viewport/environment.js +0 -86
  919. package/dist/viewport/environment.js.map +0 -1
  920. package/dist/viewport/index.cjs +0 -2
  921. package/dist/viewport/index.cjs.map +0 -1
  922. package/dist/viewport/index.d.ts +0 -138
  923. package/dist/viewport/index.d.ts.map +0 -1
  924. package/dist/viewport/index.js +0 -166
  925. package/dist/viewport/index.js.map +0 -1
  926. package/dist/viewport/platform-detection.cjs +0 -2
  927. package/dist/viewport/platform-detection.cjs.map +0 -1
  928. package/dist/viewport/platform-detection.d.ts +0 -59
  929. package/dist/viewport/platform-detection.d.ts.map +0 -1
  930. package/dist/viewport/platform-detection.js +0 -205
  931. package/dist/viewport/platform-detection.js.map +0 -1
  932. package/dist/viewport/types.cjs +0 -2
  933. package/dist/viewport/types.cjs.map +0 -1
  934. package/dist/viewport/types.d.ts +0 -301
  935. package/dist/viewport/types.d.ts.map +0 -1
  936. package/dist/viewport/types.js +0 -13
  937. package/dist/viewport/types.js.map +0 -1
  938. package/dist/viewport/viewport-manager.cjs +0 -2
  939. package/dist/viewport/viewport-manager.cjs.map +0 -1
  940. package/dist/viewport/viewport-manager.d.ts +0 -118
  941. package/dist/viewport/viewport-manager.d.ts.map +0 -1
  942. package/dist/viewport/viewport-manager.js +0 -524
  943. package/dist/viewport/viewport-manager.js.map +0 -1
  944. package/src/assets/Asset.ts +0 -11
  945. package/src/assets/AssetCollection.ts +0 -99
  946. package/src/assets/ColorAsset.ts +0 -210
  947. package/src/assets/FontAsset.ts +0 -380
  948. package/src/assets/ImageAsset.ts +0 -91
  949. package/src/assets/README.md +0 -190
  950. package/src/assets/index.ts +0 -175
  951. package/src/assets/test-assets.ts +0 -69
  952. package/src/assets/test-integration.ts +0 -46
  953. package/src/assets/test-simple.ts +0 -28
  954. package/src/assets/types.ts +0 -79
  955. package/src/bundles/common.ts +0 -30
  956. package/src/bundles/complete.ts +0 -29
  957. package/src/bundles/essential.ts +0 -26
  958. package/src/bundles/minimal.ts +0 -26
  959. package/src/bundles/production-minimal.ts +0 -67
  960. package/src/compiler/advanced-parser.ts +0 -871
  961. package/src/compiler/codegen.ts +0 -450
  962. package/src/compiler/enhanced-codegen.ts +0 -729
  963. package/src/compiler/index.ts +0 -25
  964. package/src/compiler/parser.ts +0 -461
  965. package/src/compiler/plugin.ts +0 -181
  966. package/src/compiler/types.ts +0 -177
  967. package/src/components/BasicInput.ts +0 -352
  968. package/src/components/Button.ts +0 -963
  969. package/src/components/Divider.ts +0 -341
  970. package/src/components/EnhancedLink.ts +0 -676
  971. package/src/components/Form.ts +0 -414
  972. package/src/components/Grid.ts +0 -2507
  973. package/src/components/GridResponsive.ts +0 -637
  974. package/src/components/Image.ts +0 -426
  975. package/src/components/List.ts +0 -1084
  976. package/src/components/Menu.ts +0 -807
  977. package/src/components/Picker.ts +0 -678
  978. package/src/components/ScrollView.ts +0 -725
  979. package/src/components/Section.ts +0 -472
  980. package/src/components/Show.ts +0 -205
  981. package/src/components/Spacer.ts +0 -93
  982. package/src/components/Text.ts +0 -447
  983. package/src/components/Toggle.ts +0 -700
  984. package/src/components/index.ts +0 -231
  985. package/src/components/wrapper.ts +0 -828
  986. package/src/concatenation/concatenatable.ts +0 -211
  987. package/src/concatenation/concatenated-component.ts +0 -471
  988. package/src/concatenation/index.ts +0 -41
  989. package/src/concatenation/styles.css +0 -120
  990. package/src/concatenation/text-optimizer.ts +0 -440
  991. package/src/concatenation/types.ts +0 -116
  992. package/src/constants/README.md +0 -339
  993. package/src/constants/__tests__/frame-utils.test.ts +0 -276
  994. package/src/constants/__tests__/layout.test.ts +0 -215
  995. package/src/constants/frame-utils.ts +0 -174
  996. package/src/constants/index.ts +0 -8
  997. package/src/constants/layout.ts +0 -120
  998. package/src/css-classes/component-base.ts +0 -117
  999. package/src/css-classes/css-class-manager.ts +0 -372
  1000. package/src/css-classes/dom-integration.ts +0 -162
  1001. package/src/css-classes/enhanced-renderer.ts +0 -166
  1002. package/src/css-classes/index.ts +0 -45
  1003. package/src/css-classes/types.ts +0 -73
  1004. package/src/css-classes/utilities.ts +0 -175
  1005. package/src/debug/index.ts +0 -267
  1006. package/src/developer-experience/enhanced-errors.ts +0 -556
  1007. package/src/developer-experience/enhanced-types.ts +0 -427
  1008. package/src/developer-experience/index.ts +0 -220
  1009. package/src/globals.d.ts +0 -43
  1010. package/src/gradients/__tests__/angular-gradient.test.ts +0 -111
  1011. package/src/gradients/__tests__/background-modifier.test.ts +0 -81
  1012. package/src/gradients/__tests__/comprehensive-gradients.test.ts +0 -296
  1013. package/src/gradients/__tests__/gradient-asset.test.ts +0 -144
  1014. package/src/gradients/__tests__/linear-gradient.test.ts +0 -92
  1015. package/src/gradients/__tests__/phase4-features.test.ts +0 -386
  1016. package/src/gradients/__tests__/radial-gradient.test.ts +0 -110
  1017. package/src/gradients/__tests__/repeating-gradients.test.ts +0 -125
  1018. package/src/gradients/__tests__/state-background-modifier.test.ts +0 -340
  1019. package/src/gradients/__tests__/state-gradient-asset.test.ts +0 -262
  1020. package/src/gradients/__tests__/state-gradient-integration.test.ts +0 -277
  1021. package/src/gradients/css-generator.ts +0 -158
  1022. package/src/gradients/examples.ts +0 -632
  1023. package/src/gradients/gradient-asset.ts +0 -30
  1024. package/src/gradients/index.ts +0 -85
  1025. package/src/gradients/performance.ts +0 -521
  1026. package/src/gradients/presets.ts +0 -422
  1027. package/src/gradients/reactive.ts +0 -470
  1028. package/src/gradients/state-gradient-asset.ts +0 -179
  1029. package/src/gradients/types.ts +0 -148
  1030. package/src/gradients/utils.ts +0 -579
  1031. package/src/gradients/validation.ts +0 -489
  1032. package/src/index.ts +0 -168
  1033. package/src/lifecycle/hooks.ts +0 -332
  1034. package/src/modifiers/__tests__/as-html-integration.test.ts +0 -204
  1035. package/src/modifiers/__tests__/as-html.test.ts +0 -437
  1036. package/src/modifiers/__tests__/basic-sanitizer-security.test.ts +0 -294
  1037. package/src/modifiers/__tests__/border.test.ts +0 -371
  1038. package/src/modifiers/__tests__/margin-string-support.test.ts +0 -41
  1039. package/src/modifiers/__tests__/padding-string-support.test.ts +0 -41
  1040. package/src/modifiers/as-html-validator.ts +0 -68
  1041. package/src/modifiers/as-html.ts +0 -216
  1042. package/src/modifiers/attributes.ts +0 -574
  1043. package/src/modifiers/backdrop.ts +0 -290
  1044. package/src/modifiers/background.ts +0 -165
  1045. package/src/modifiers/base.ts +0 -1815
  1046. package/src/modifiers/basic-sanitizer.ts +0 -227
  1047. package/src/modifiers/border.ts +0 -574
  1048. package/src/modifiers/builder.ts +0 -1747
  1049. package/src/modifiers/core.ts +0 -521
  1050. package/src/modifiers/css.ts +0 -148
  1051. package/src/modifiers/effects.ts +0 -412
  1052. package/src/modifiers/elements.ts +0 -541
  1053. package/src/modifiers/filters.ts +0 -501
  1054. package/src/modifiers/flexbox.ts +0 -180
  1055. package/src/modifiers/font.ts +0 -149
  1056. package/src/modifiers/grid.ts +0 -238
  1057. package/src/modifiers/index.ts +0 -481
  1058. package/src/modifiers/margin.ts +0 -218
  1059. package/src/modifiers/padding.ts +0 -318
  1060. package/src/modifiers/registry.ts +0 -444
  1061. package/src/modifiers/responsive/__tests__/advanced-media-queries.test.ts +0 -392
  1062. package/src/modifiers/responsive/__tests__/advanced-utilities.test.ts +0 -368
  1063. package/src/modifiers/responsive/__tests__/comprehensive-browser-tests.test.ts +0 -556
  1064. package/src/modifiers/responsive/__tests__/layout-patterns.test.ts +0 -558
  1065. package/src/modifiers/responsive/advanced-utilities.ts +0 -562
  1066. package/src/modifiers/responsive/breakpoints.ts +0 -330
  1067. package/src/modifiers/responsive/css-generator.ts +0 -432
  1068. package/src/modifiers/responsive/dev-tools.ts +0 -650
  1069. package/src/modifiers/responsive/index.ts +0 -119
  1070. package/src/modifiers/responsive/layout-patterns.ts +0 -592
  1071. package/src/modifiers/responsive/performance.ts +0 -385
  1072. package/src/modifiers/responsive/responsive-builder.ts +0 -620
  1073. package/src/modifiers/responsive/responsive-modifier.ts +0 -410
  1074. package/src/modifiers/responsive/types.ts +0 -226
  1075. package/src/modifiers/responsive/utilities.ts +0 -478
  1076. package/src/modifiers/scroll.ts +0 -297
  1077. package/src/modifiers/shadows.ts +0 -321
  1078. package/src/modifiers/size.ts +0 -208
  1079. package/src/modifiers/text.ts +0 -416
  1080. package/src/modifiers/transformations.ts +0 -640
  1081. package/src/modifiers/transitions.ts +0 -218
  1082. package/src/modifiers/types.ts +0 -889
  1083. package/src/modifiers/typography.ts +0 -341
  1084. package/src/modifiers/utility.ts +0 -209
  1085. package/src/modifiers/utils.ts +0 -413
  1086. package/src/plugins/__tests__/simplified-plugin-system.test.ts +0 -190
  1087. package/src/plugins/component-loader-registry.ts +0 -371
  1088. package/src/plugins/index.ts +0 -61
  1089. package/src/plugins/legacy-adapter.ts +0 -84
  1090. package/src/plugins/simplified-component-registry.ts +0 -130
  1091. package/src/plugins/simplified-error-handler.ts +0 -372
  1092. package/src/plugins/simplified-index.ts +0 -61
  1093. package/src/plugins/simplified-lazy-loader.ts +0 -242
  1094. package/src/plugins/simplified-plugin-manager.ts +0 -93
  1095. package/src/plugins/simplified-tachui-instance.ts +0 -142
  1096. package/src/plugins/simplified-types.ts +0 -79
  1097. package/src/plugins/simplified-utils.ts +0 -118
  1098. package/src/reactive/cleanup.ts +0 -241
  1099. package/src/reactive/computed.ts +0 -281
  1100. package/src/reactive/context.ts +0 -287
  1101. package/src/reactive/effect.ts +0 -194
  1102. package/src/reactive/enhanced-effect.ts +0 -318
  1103. package/src/reactive/enhanced-signal.ts +0 -227
  1104. package/src/reactive/equality.ts +0 -188
  1105. package/src/reactive/globals.d.ts +0 -5
  1106. package/src/reactive/index.ts +0 -150
  1107. package/src/reactive/migration.ts +0 -335
  1108. package/src/reactive/ownership.ts +0 -182
  1109. package/src/reactive/scheduler.ts +0 -300
  1110. package/src/reactive/signal.ts +0 -201
  1111. package/src/reactive/theme.ts +0 -49
  1112. package/src/reactive/types.ts +0 -103
  1113. package/src/reactive/unified-scheduler.ts +0 -357
  1114. package/src/runtime/component-context.ts +0 -343
  1115. package/src/runtime/component.ts +0 -499
  1116. package/src/runtime/context.ts +0 -527
  1117. package/src/runtime/dev-tools.ts +0 -752
  1118. package/src/runtime/development-warnings.ts +0 -114
  1119. package/src/runtime/dom-bridge.ts +0 -570
  1120. package/src/runtime/element-override.ts +0 -282
  1121. package/src/runtime/error-boundary.ts +0 -955
  1122. package/src/runtime/error-recovery.ts +0 -638
  1123. package/src/runtime/error-reporting.ts +0 -808
  1124. package/src/runtime/error-utils.ts +0 -698
  1125. package/src/runtime/index.ts +0 -202
  1126. package/src/runtime/lazy-component.ts +0 -268
  1127. package/src/runtime/lifecycle.ts +0 -10
  1128. package/src/runtime/mounting.ts +0 -17
  1129. package/src/runtime/optimization.ts +0 -13
  1130. package/src/runtime/performance.ts +0 -693
  1131. package/src/runtime/props.ts +0 -434
  1132. package/src/runtime/refs.ts +0 -13
  1133. package/src/runtime/renderer.ts +0 -674
  1134. package/src/runtime/semantic-role-manager.ts +0 -140
  1135. package/src/runtime/types.ts +0 -282
  1136. package/src/state/binding.ts +0 -381
  1137. package/src/state/environment-object.ts +0 -444
  1138. package/src/state/environment.ts +0 -351
  1139. package/src/state/index.ts +0 -179
  1140. package/src/state/observed-object.ts +0 -405
  1141. package/src/state/state-manager.ts +0 -366
  1142. package/src/state/state.ts +0 -339
  1143. package/src/state/types.ts +0 -192
  1144. package/src/sui-compat.ts +0 -163
  1145. package/src/validation/__tests__/phase-1d-integration.test.ts +0 -558
  1146. package/src/validation/advanced-debugging.ts +0 -860
  1147. package/src/validation/build-time/detection.ts +0 -373
  1148. package/src/validation/build-time/index.ts +0 -222
  1149. package/src/validation/build-time/plugins.ts +0 -515
  1150. package/src/validation/build-time/rules.ts +0 -624
  1151. package/src/validation/build-time/transformer.ts +0 -372
  1152. package/src/validation/build-time/types.ts +0 -232
  1153. package/src/validation/comprehensive.ts +0 -1272
  1154. package/src/validation/debug-tools.ts +0 -724
  1155. package/src/validation/developer-experience.ts +0 -712
  1156. package/src/validation/documentation-integration.ts +0 -835
  1157. package/src/validation/enhanced-runtime.ts +0 -765
  1158. package/src/validation/error-reporting.ts +0 -587
  1159. package/src/validation/ide-integration.ts +0 -845
  1160. package/src/validation/index.ts +0 -353
  1161. package/src/validation/lifecycle-validation.ts +0 -636
  1162. package/src/validation/performance-optimizer.ts +0 -599
  1163. package/src/validation/plugin-registration.ts +0 -249
  1164. package/src/validation/production-bypass.ts +0 -466
  1165. package/src/validation/simple.ts +0 -465
  1166. package/src/viewport/adapters/web-adapter.ts +0 -1385
  1167. package/src/viewport/components.ts +0 -505
  1168. package/src/viewport/environment.ts +0 -173
  1169. package/src/viewport/index.ts +0 -290
  1170. package/src/viewport/platform-detection.ts +0 -431
  1171. package/src/viewport/types.ts +0 -371
  1172. package/src/viewport/viewport-manager.ts +0 -979
@@ -1,465 +0,0 @@
1
- import { TachUIValidationError as v } from "./comprehensive.js";
2
- var b = Object.defineProperty, x = (n, e, t) => e in n ? b(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, s = (n, e, t) => x(n, typeof e != "symbol" ? e + "" : e, t);
3
- class h extends v {
4
- constructor(e, t) {
5
- super(e, t), this.context = t;
6
- }
7
- /**
8
- * Get recovery strategy with proper typing
9
- */
10
- getRecoveryStrategyFromContext() {
11
- return this.context.recoveryStrategy || "throw";
12
- }
13
- /**
14
- * Get fallback value with proper typing
15
- */
16
- getFallbackValueFromContext() {
17
- return this.context.fallbackValue;
18
- }
19
- /**
20
- * Get auto fix with proper typing
21
- */
22
- getAutoFixFromContext() {
23
- return this.context.autoFix;
24
- }
25
- /**
26
- * Get suggested recovery action
27
- */
28
- getRecoveryStrategy() {
29
- return this.getRecoveryStrategyFromContext();
30
- }
31
- /**
32
- * Get fallback value for graceful degradation
33
- */
34
- getFallbackValue() {
35
- return this.getFallbackValueFromContext();
36
- }
37
- /**
38
- * Apply automatic fix if available
39
- */
40
- applyAutoFix() {
41
- const e = this.getAutoFixFromContext();
42
- if (e)
43
- return e();
44
- }
45
- /**
46
- * Enhanced formatted message with recovery options
47
- */
48
- getFormattedMessage() {
49
- const e = super.getFormattedMessage(), t = this.getRecoveryStrategy();
50
- let r = "";
51
- switch (t) {
52
- case "fallback":
53
- r = `
54
- 🛡️ Recovery: Using fallback value to continue execution`;
55
- break;
56
- case "fix":
57
- r = `
58
- 🔧 Recovery: Automatic fix applied`;
59
- break;
60
- case "ignore":
61
- r = `
62
- ⚠️ Recovery: Error ignored, continuing with original value`;
63
- break;
64
- default:
65
- r = `
66
- 🚨 Recovery: None available, error will be thrown`;
67
- }
68
- return e + r;
69
- }
70
- }
71
- let a = {
72
- enabled: process.env.NODE_ENV !== "production",
73
- strictMode: !1,
74
- errorLevel: "error",
75
- excludeFiles: [],
76
- packages: {
77
- core: !0,
78
- forms: !0,
79
- navigation: !0,
80
- symbols: !0,
81
- plugins: !0
82
- },
83
- performance: {
84
- enableCaching: !0,
85
- maxCacheSize: 1e3,
86
- performanceThreshold: 5
87
- // 5ms threshold
88
- },
89
- recovery: {
90
- enableRecovery: !0,
91
- defaultStrategy: "fallback",
92
- maxRecoveryAttempts: 3
93
- },
94
- lifecycle: {
95
- validateOnMount: !0,
96
- validateOnUpdate: !1,
97
- // Too expensive for every update
98
- validateOnUnmount: !1
99
- },
100
- reporting: {
101
- enhancedMessages: !0,
102
- includeStackTrace: !1,
103
- reportToConsole: !0
104
- }
105
- };
106
- class w {
107
- // 1 minute TTL
108
- constructor(e = 1e3) {
109
- s(this, "cache", /* @__PURE__ */ new Map()), s(this, "maxSize"), s(this, "ttl", 6e4), this.maxSize = e;
110
- }
111
- get(e) {
112
- const t = this.cache.get(e);
113
- return t ? Date.now() - t.timestamp > this.ttl ? (this.cache.delete(e), null) : t.result : null;
114
- }
115
- set(e, t) {
116
- if (this.cache.size >= this.maxSize) {
117
- const r = this.cache.keys().next().value;
118
- r && this.cache.delete(r);
119
- }
120
- this.cache.set(e, {
121
- result: t,
122
- timestamp: Date.now()
123
- });
124
- }
125
- clear() {
126
- this.cache.clear();
127
- }
128
- getSize() {
129
- return this.cache.size;
130
- }
131
- }
132
- class S {
133
- constructor() {
134
- s(this, "measurements", []), s(this, "maxMeasurements", 100);
135
- }
136
- startMeasurement() {
137
- const e = performance.now();
138
- return () => {
139
- const t = performance.now() - e;
140
- this.recordMeasurement(t);
141
- };
142
- }
143
- recordMeasurement(e) {
144
- this.measurements.push(e), this.measurements.length > this.maxMeasurements && this.measurements.shift();
145
- }
146
- getAverageTime() {
147
- return this.measurements.length === 0 ? 0 : this.measurements.reduce((e, t) => e + t, 0) / this.measurements.length;
148
- }
149
- isPerformanceAcceptable() {
150
- return this.getAverageTime() <= a.performance.performanceThreshold;
151
- }
152
- getStats() {
153
- return {
154
- averageTime: this.getAverageTime(),
155
- measurements: this.measurements.length,
156
- acceptable: this.isPerformanceAcceptable(),
157
- threshold: a.performance.performanceThreshold
158
- };
159
- }
160
- reset() {
161
- this.measurements = [];
162
- }
163
- }
164
- const u = new w(a.performance.maxCacheSize), m = new S();
165
- function g(n) {
166
- a = {
167
- ...a,
168
- ...n,
169
- performance: { ...a.performance, ...n.performance },
170
- recovery: { ...a.recovery, ...n.recovery },
171
- lifecycle: { ...a.lifecycle, ...n.lifecycle },
172
- reporting: { ...a.reporting, ...n.reporting }
173
- }, n.performance?.maxCacheSize && u.clear();
174
- }
175
- function d() {
176
- return a.enabled && process.env.NODE_ENV !== "production";
177
- }
178
- class V {
179
- constructor() {
180
- s(this, "recoveryAttempts", /* @__PURE__ */ new Map());
181
- }
182
- /**
183
- * Execute validation with recovery options
184
- */
185
- executeWithRecovery(e, t, r = {}) {
186
- if (process.env.NODE_ENV === "production")
187
- return t();
188
- if (a.performance.enableCaching) {
189
- const o = u.get(e);
190
- if (o === !0)
191
- return t();
192
- if (o === !1 && r.fallbackValue !== void 0)
193
- return r.fallbackValue;
194
- }
195
- const c = m.startMeasurement();
196
- try {
197
- const o = t();
198
- return a.performance.enableCaching && u.set(e, !0), c(), o;
199
- } catch (o) {
200
- if (c(), o instanceof h)
201
- return this.handleValidationError(e, o, r);
202
- const i = new h(
203
- o instanceof Error ? o.message : String(o),
204
- {
205
- component: "Unknown",
206
- recoveryStrategy: r.strategy || a.recovery.defaultStrategy,
207
- fallbackValue: r.fallbackValue,
208
- autoFix: r.autoFix
209
- }
210
- );
211
- return this.handleValidationError(e, i, r);
212
- }
213
- }
214
- /**
215
- * Handle validation error with recovery
216
- */
217
- handleValidationError(e, t, r) {
218
- const c = r.strategy || t.getRecoveryStrategy(), o = this.recoveryAttempts.get(e) || 0;
219
- if (o >= a.recovery.maxRecoveryAttempts)
220
- throw this.reportError(t), t;
221
- switch (this.recoveryAttempts.set(e, o + 1), a.performance.enableCaching && e && u.set(e, !1), c) {
222
- case "ignore":
223
- this.reportError(t, "warn");
224
- try {
225
- const f = (r.autoFix || (() => r.fallbackValue))();
226
- return f !== void 0 ? f : r.fallbackValue;
227
- } catch {
228
- return r.fallbackValue;
229
- }
230
- case "fallback":
231
- if (this.reportError(t, "warn"), r.fallbackValue !== void 0)
232
- return r.fallbackValue;
233
- throw t;
234
- case "fix":
235
- if (this.reportError(t, "info"), r.autoFix)
236
- try {
237
- return r.autoFix();
238
- } catch {
239
- return r.fallbackValue;
240
- }
241
- throw t;
242
- case "throw":
243
- default:
244
- throw this.reportError(t), t;
245
- }
246
- }
247
- /**
248
- * Report validation error
249
- */
250
- reportError(e, t = "error") {
251
- if (!a.reporting.reportToConsole) return;
252
- const r = a.reporting.enhancedMessages ? e.getFormattedMessage() : e.message;
253
- if (a.reporting.includeStackTrace ? console[t](r, e.stack) : console[t](r), a.reporting.reportToExternal)
254
- try {
255
- a.reporting.reportToExternal(e);
256
- } catch (c) {
257
- console.warn("Failed to report validation error to external service:", c);
258
- }
259
- }
260
- /**
261
- * Reset recovery attempts
262
- */
263
- resetRecoveryAttempts() {
264
- this.recoveryAttempts.clear();
265
- }
266
- /**
267
- * Get recovery stats
268
- */
269
- getRecoveryStats() {
270
- return {
271
- totalAttempts: Array.from(this.recoveryAttempts.values()).reduce((e, t) => e + t, 0),
272
- keysWithAttempts: this.recoveryAttempts.size,
273
- attempts: Object.fromEntries(this.recoveryAttempts)
274
- };
275
- }
276
- }
277
- const l = new V();
278
- class E {
279
- constructor() {
280
- s(this, "mountedComponents", /* @__PURE__ */ new WeakSet()), s(this, "componentStates", /* @__PURE__ */ new WeakMap());
281
- }
282
- /**
283
- * Validate component on mount
284
- */
285
- validateOnMount(e, t) {
286
- if (!a.lifecycle.validateOnMount || !d())
287
- return;
288
- const r = `mount-${e.constructor.name}-${JSON.stringify(t)}`;
289
- l.executeWithRecovery(
290
- r,
291
- () => {
292
- if (!e)
293
- throw new h("Component instance is null or undefined", {
294
- component: "Unknown",
295
- recoveryStrategy: "throw"
296
- });
297
- return this.componentStates.set(e, { ...t, mountTime: Date.now() }), this.mountedComponents.add(e), !0;
298
- },
299
- {
300
- strategy: "fallback",
301
- fallbackValue: !0
302
- }
303
- );
304
- }
305
- /**
306
- * Validate component on update
307
- */
308
- validateOnUpdate(e, t, r) {
309
- if (!a.lifecycle.validateOnUpdate || !d())
310
- return;
311
- if (!this.mountedComponents.has(e)) {
312
- a.reporting.reportToConsole && console.warn("⚠️ Component update validation: Component not found in mounted components");
313
- return;
314
- }
315
- const c = `update-${e.constructor.name}-${Date.now()}`;
316
- l.executeWithRecovery(
317
- c,
318
- () => {
319
- if (t && typeof t == "object") {
320
- for (const [o, i] of Object.entries(t))
321
- if (i === void 0 && r && r[o] !== void 0)
322
- throw new h(`Property ${o} changed from defined to undefined`, {
323
- component: e.constructor.name,
324
- property: o,
325
- suggestion: "Ensure prop values remain consistent or use null instead of undefined",
326
- recoveryStrategy: "ignore"
327
- });
328
- }
329
- return this.componentStates.set(e, { ...t, lastUpdate: Date.now() }), !0;
330
- },
331
- {
332
- strategy: "ignore",
333
- fallbackValue: !0
334
- }
335
- );
336
- }
337
- /**
338
- * Validate component on unmount
339
- */
340
- validateOnUnmount(e) {
341
- !a.lifecycle.validateOnUnmount || !d() || this.mountedComponents.has(e) && (this.mountedComponents.delete(e), this.componentStates.delete(e));
342
- }
343
- /**
344
- * Get lifecycle validation stats
345
- */
346
- getStats() {
347
- let e = 0;
348
- try {
349
- e = 0;
350
- } catch {
351
- e = 0;
352
- }
353
- return {
354
- mountedComponents: e,
355
- enabled: a.lifecycle,
356
- config: a.lifecycle
357
- };
358
- }
359
- }
360
- const y = new E(), C = {
361
- /**
362
- * Configure enhanced validation
363
- */
364
- configure: g,
365
- /**
366
- * Get performance statistics
367
- */
368
- getPerformanceStats() {
369
- return {
370
- monitor: m.getStats(),
371
- cache: {
372
- size: u.getSize(),
373
- maxSize: a.performance.maxCacheSize
374
- },
375
- recovery: l.getRecoveryStats(),
376
- lifecycle: y.getStats()
377
- };
378
- },
379
- /**
380
- * Reset all caches and stats
381
- */
382
- reset() {
383
- u.clear(), m.reset(), l.resetRecoveryAttempts();
384
- },
385
- /**
386
- * Test enhanced validation system
387
- */
388
- test() {
389
- console.group("🔍 Enhanced Runtime Validation System Test");
390
- try {
391
- const n = m.startMeasurement();
392
- setTimeout(n, 1);
393
- const e = l.executeWithRecovery(
394
- "test-validation",
395
- () => {
396
- throw new h("Test error", {
397
- component: "Test",
398
- recoveryStrategy: "fallback",
399
- fallbackValue: "recovered"
400
- });
401
- },
402
- {
403
- fallbackValue: "recovered"
404
- }
405
- );
406
- console.info("✅ Smart error recovery:", e === "recovered"), console.info("✅ Performance monitoring: enabled"), console.info("✅ Validation caching: enabled"), console.info("✅ Component lifecycle: enabled"), console.info("✅ Enhanced validation system is working correctly");
407
- } catch (n) {
408
- console.error("❌ Enhanced validation test failed:", n);
409
- }
410
- console.groupEnd();
411
- },
412
- /**
413
- * Enable production bypass mode
414
- */
415
- enableProductionBypass() {
416
- process.env.NODE_ENV === "production" && (g({ enabled: !1 }), console.info("✅ Production mode: Validation bypassed for zero overhead"));
417
- },
418
- /**
419
- * Create validated component with enhanced features
420
- */
421
- createEnhancedValidatedComponent(n, e, t, r = "core") {
422
- return function(...o) {
423
- if (process.env.NODE_ENV === "production")
424
- return n.apply(this, o);
425
- const i = `${r}-${t}-${JSON.stringify(o)}`;
426
- return l.executeWithRecovery(
427
- i,
428
- () => {
429
- e(o);
430
- const p = n.apply(this, o);
431
- return y.validateOnMount(p, o[0]), p;
432
- },
433
- {
434
- strategy: "fallback",
435
- fallbackValue: n.apply(this, o),
436
- autoFix: () => {
437
- try {
438
- return n.apply(this, [{}]);
439
- } catch {
440
- throw new h("Failed to create component with fallback", {
441
- component: t,
442
- package: r,
443
- recoveryStrategy: "throw"
444
- });
445
- }
446
- }
447
- }
448
- );
449
- };
450
- }
451
- };
452
- export {
453
- E as ComponentLifecycleValidator,
454
- h as EnhancedValidationError,
455
- C as EnhancedValidationUtils,
456
- V as SmartValidationExecutor,
457
- g as configureEnhancedValidation,
458
- a as enhancedConfig,
459
- d as isEnhancedValidationEnabled,
460
- y as lifecycleValidator,
461
- m as performanceMonitor,
462
- l as smartValidator,
463
- u as validationCache
464
- };
465
- //# sourceMappingURL=enhanced-runtime.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"enhanced-runtime.js","sources":["../../src/validation/enhanced-runtime.ts"],"sourcesContent":["/**\n * Enhanced Runtime Validation System - Phase 1C\n * \n * Smart error recovery, performance optimization, enhanced error reporting,\n * and component lifecycle validation for production-ready validation.\n */\n\nimport type { ComponentInstance } from '../runtime/types'\nimport { TachUIValidationError, type ValidationConfig } from './comprehensive'\n\n/**\n * Recovery strategy for validation errors\n */\nexport type RecoveryStrategy = 'ignore' | 'fallback' | 'fix' | 'throw'\n\n/**\n * Enhanced validation error with recovery options\n */\nexport class EnhancedValidationError extends TachUIValidationError {\n declare context: {\n component: string\n property?: string\n suggestion?: string\n documentation?: string\n example?: { wrong: string; correct: string }\n package?: string\n recoveryStrategy?: RecoveryStrategy\n fallbackValue?: any\n autoFix?: () => any\n }\n\n constructor(\n message: string,\n context: {\n component: string\n property?: string\n suggestion?: string\n documentation?: string\n example?: { wrong: string; correct: string }\n package?: string\n recoveryStrategy?: RecoveryStrategy\n fallbackValue?: any\n autoFix?: () => any\n }\n ) {\n super(message, context)\n this.context = context\n }\n\n /**\n * Get recovery strategy with proper typing\n */\n private getRecoveryStrategyFromContext(): RecoveryStrategy {\n return (this.context as any).recoveryStrategy || 'throw'\n }\n\n /**\n * Get fallback value with proper typing\n */\n private getFallbackValueFromContext(): any {\n return (this.context as any).fallbackValue\n }\n\n /**\n * Get auto fix with proper typing\n */\n private getAutoFixFromContext(): (() => any) | undefined {\n return (this.context as any).autoFix\n }\n\n /**\n * Get suggested recovery action\n */\n getRecoveryStrategy(): RecoveryStrategy {\n return this.getRecoveryStrategyFromContext()\n }\n\n /**\n * Get fallback value for graceful degradation\n */\n getFallbackValue(): any {\n return this.getFallbackValueFromContext()\n }\n\n /**\n * Apply automatic fix if available\n */\n applyAutoFix(): any {\n const autoFix = this.getAutoFixFromContext()\n if (autoFix) {\n return autoFix()\n }\n return undefined\n }\n\n /**\n * Enhanced formatted message with recovery options\n */\n getFormattedMessage(): string {\n const base = super.getFormattedMessage()\n const recovery = this.getRecoveryStrategy()\n \n let recoveryMessage = ''\n switch (recovery) {\n case 'fallback':\n recoveryMessage = '\\n🛡️ Recovery: Using fallback value to continue execution'\n break\n case 'fix':\n recoveryMessage = '\\n🔧 Recovery: Automatic fix applied'\n break\n case 'ignore':\n recoveryMessage = '\\n⚠️ Recovery: Error ignored, continuing with original value'\n break\n default:\n recoveryMessage = '\\n🚨 Recovery: None available, error will be thrown'\n }\n\n return base + recoveryMessage\n }\n}\n\n/**\n * Enhanced validation configuration\n */\nexport interface EnhancedValidationConfig extends ValidationConfig {\n performance: {\n enableCaching: boolean\n maxCacheSize: number\n performanceThreshold: number // ms\n }\n recovery: {\n enableRecovery: boolean\n defaultStrategy: RecoveryStrategy\n maxRecoveryAttempts: number\n }\n lifecycle: {\n validateOnMount: boolean\n validateOnUpdate: boolean\n validateOnUnmount: boolean\n }\n reporting: {\n enhancedMessages: boolean\n includeStackTrace: boolean\n reportToConsole: boolean\n reportToExternal?: (error: EnhancedValidationError) => void\n }\n}\n\n/**\n * Global enhanced validation configuration\n */\nlet enhancedConfig: EnhancedValidationConfig = {\n enabled: process.env.NODE_ENV !== 'production',\n strictMode: false,\n errorLevel: 'error',\n excludeFiles: [],\n packages: {\n core: true,\n forms: true,\n navigation: true,\n symbols: true,\n plugins: true\n },\n performance: {\n enableCaching: true,\n maxCacheSize: 1000,\n performanceThreshold: 5 // 5ms threshold\n },\n recovery: {\n enableRecovery: true,\n defaultStrategy: 'fallback',\n maxRecoveryAttempts: 3\n },\n lifecycle: {\n validateOnMount: true,\n validateOnUpdate: false, // Too expensive for every update\n validateOnUnmount: false\n },\n reporting: {\n enhancedMessages: true,\n includeStackTrace: false,\n reportToConsole: true\n }\n}\n\n/**\n * Validation cache for performance optimization\n */\nclass ValidationCache {\n private cache = new Map<string, { result: boolean; timestamp: number }>()\n private maxSize: number\n private ttl = 60000 // 1 minute TTL\n\n constructor(maxSize: number = 1000) {\n this.maxSize = maxSize\n }\n\n get(key: string): boolean | null {\n const entry = this.cache.get(key)\n if (!entry) return null\n\n // Check TTL\n if (Date.now() - entry.timestamp > this.ttl) {\n this.cache.delete(key)\n return null\n }\n\n return entry.result\n }\n\n set(key: string, result: boolean): void {\n // Cleanup old entries if cache is full\n if (this.cache.size >= this.maxSize) {\n const oldestKey = this.cache.keys().next().value\n if (oldestKey) {\n this.cache.delete(oldestKey)\n }\n }\n\n this.cache.set(key, {\n result,\n timestamp: Date.now()\n })\n }\n\n clear(): void {\n this.cache.clear()\n }\n\n getSize(): number {\n return this.cache.size\n }\n}\n\n/**\n * Performance monitor for validation overhead\n */\nclass ValidationPerformanceMonitor {\n private measurements: number[] = []\n private maxMeasurements = 100\n\n startMeasurement(): () => void {\n const start = performance.now()\n \n return () => {\n const duration = performance.now() - start\n this.recordMeasurement(duration)\n }\n }\n\n private recordMeasurement(duration: number): void {\n this.measurements.push(duration)\n \n // Keep only recent measurements\n if (this.measurements.length > this.maxMeasurements) {\n this.measurements.shift()\n }\n }\n\n getAverageTime(): number {\n if (this.measurements.length === 0) return 0\n return this.measurements.reduce((a, b) => a + b, 0) / this.measurements.length\n }\n\n isPerformanceAcceptable(): boolean {\n return this.getAverageTime() <= enhancedConfig.performance.performanceThreshold\n }\n\n getStats() {\n return {\n averageTime: this.getAverageTime(),\n measurements: this.measurements.length,\n acceptable: this.isPerformanceAcceptable(),\n threshold: enhancedConfig.performance.performanceThreshold\n }\n }\n\n reset(): void {\n this.measurements = []\n }\n}\n\n// Global instances\nconst validationCache = new ValidationCache(enhancedConfig.performance.maxCacheSize)\nconst performanceMonitor = new ValidationPerformanceMonitor()\n\n/**\n * Configure enhanced validation\n */\nexport function configureEnhancedValidation(config: Partial<EnhancedValidationConfig>): void {\n enhancedConfig = {\n ...enhancedConfig,\n ...config,\n performance: { ...enhancedConfig.performance, ...config.performance },\n recovery: { ...enhancedConfig.recovery, ...config.recovery },\n lifecycle: { ...enhancedConfig.lifecycle, ...config.lifecycle },\n reporting: { ...enhancedConfig.reporting, ...config.reporting }\n }\n\n // Update cache size if changed\n if (config.performance?.maxCacheSize) {\n validationCache.clear()\n }\n}\n\n/**\n * Check if enhanced validation is enabled\n */\nexport function isEnhancedValidationEnabled(): boolean {\n return enhancedConfig.enabled && process.env.NODE_ENV !== 'production'\n}\n\n/**\n * Smart validation executor with error recovery\n */\nexport class SmartValidationExecutor {\n private recoveryAttempts = new Map<string, number>()\n\n /**\n * Execute validation with recovery options\n */\n executeWithRecovery<T>(\n validationKey: string,\n validator: () => T,\n recoveryOptions: {\n strategy?: RecoveryStrategy\n fallbackValue?: T\n autoFix?: () => T\n } = {}\n ): T {\n // Skip validation entirely in production\n if (process.env.NODE_ENV === 'production') {\n return validator()\n }\n\n // Check cache first\n if (enhancedConfig.performance.enableCaching) {\n const cached = validationCache.get(validationKey)\n if (cached === true) {\n return validator()\n } else if (cached === false && recoveryOptions.fallbackValue !== undefined) {\n return recoveryOptions.fallbackValue\n }\n }\n\n const endMeasurement = performanceMonitor.startMeasurement()\n \n try {\n const result = validator()\n \n // Cache successful validation\n if (enhancedConfig.performance.enableCaching) {\n validationCache.set(validationKey, true)\n }\n \n endMeasurement()\n return result\n \n } catch (error) {\n endMeasurement()\n \n if (error instanceof EnhancedValidationError) {\n return this.handleValidationError(validationKey, error, recoveryOptions)\n }\n \n // Wrap other errors\n const enhancedError = new EnhancedValidationError(\n error instanceof Error ? error.message : String(error),\n {\n component: 'Unknown',\n recoveryStrategy: recoveryOptions.strategy || enhancedConfig.recovery.defaultStrategy,\n fallbackValue: recoveryOptions.fallbackValue,\n autoFix: recoveryOptions.autoFix\n }\n )\n \n return this.handleValidationError(validationKey, enhancedError, recoveryOptions)\n }\n }\n\n /**\n * Handle validation error with recovery\n */\n private handleValidationError<T>(\n validationKey: string,\n error: EnhancedValidationError,\n recoveryOptions: {\n strategy?: RecoveryStrategy\n fallbackValue?: T\n autoFix?: () => T\n }\n ): T {\n const strategy = recoveryOptions.strategy || error.getRecoveryStrategy()\n \n // Check recovery attempt limits\n const attempts = this.recoveryAttempts.get(validationKey) || 0\n if (attempts >= enhancedConfig.recovery.maxRecoveryAttempts) {\n // Report and throw after max attempts\n this.reportError(error)\n throw error\n }\n\n this.recoveryAttempts.set(validationKey, attempts + 1)\n\n // Cache failed validation\n if (enhancedConfig.performance.enableCaching && validationKey) {\n validationCache.set(validationKey, false)\n }\n\n switch (strategy) {\n case 'ignore':\n this.reportError(error, 'warn')\n // Continue with original execution, but catch any errors\n try {\n const fixFn = recoveryOptions.autoFix || (() => recoveryOptions.fallbackValue)\n const result = fixFn()\n return result !== undefined ? result : recoveryOptions.fallbackValue as T\n } catch {\n return recoveryOptions.fallbackValue as T\n }\n\n case 'fallback':\n this.reportError(error, 'warn')\n if (recoveryOptions.fallbackValue !== undefined) {\n return recoveryOptions.fallbackValue\n }\n throw error\n\n case 'fix':\n this.reportError(error, 'info')\n if (recoveryOptions.autoFix) {\n try {\n return recoveryOptions.autoFix()\n } catch {\n // Fall back to fallback value if fix fails\n return recoveryOptions.fallbackValue as T\n }\n }\n throw error\n\n case 'throw':\n default:\n this.reportError(error)\n throw error\n }\n }\n\n /**\n * Report validation error\n */\n private reportError(error: EnhancedValidationError, level: 'error' | 'warn' | 'info' = 'error'): void {\n if (!enhancedConfig.reporting.reportToConsole) return\n\n const message = enhancedConfig.reporting.enhancedMessages \n ? error.getFormattedMessage()\n : error.message\n\n if (enhancedConfig.reporting.includeStackTrace) {\n console[level](message, error.stack)\n } else {\n console[level](message)\n }\n\n // Report to external service if configured\n if (enhancedConfig.reporting.reportToExternal) {\n try {\n enhancedConfig.reporting.reportToExternal(error)\n } catch (reportingError) {\n console.warn('Failed to report validation error to external service:', reportingError)\n }\n }\n }\n\n /**\n * Reset recovery attempts\n */\n resetRecoveryAttempts(): void {\n this.recoveryAttempts.clear()\n }\n\n /**\n * Get recovery stats\n */\n getRecoveryStats() {\n return {\n totalAttempts: Array.from(this.recoveryAttempts.values()).reduce((a, b) => a + b, 0),\n keysWithAttempts: this.recoveryAttempts.size,\n attempts: Object.fromEntries(this.recoveryAttempts)\n }\n }\n}\n\n// Global smart validator instance\nconst smartValidator = new SmartValidationExecutor()\n\n/**\n * Component lifecycle validator\n */\nexport class ComponentLifecycleValidator {\n private mountedComponents = new WeakSet<ComponentInstance>()\n private componentStates = new WeakMap<ComponentInstance, any>()\n\n /**\n * Validate component on mount\n */\n validateOnMount(component: ComponentInstance, props: any): void {\n if (!enhancedConfig.lifecycle.validateOnMount || !isEnhancedValidationEnabled()) {\n return\n }\n\n const validationKey = `mount-${component.constructor.name}-${JSON.stringify(props)}`\n \n smartValidator.executeWithRecovery(\n validationKey,\n () => {\n // Basic mount validation\n if (!component) {\n throw new EnhancedValidationError('Component instance is null or undefined', {\n component: 'Unknown',\n recoveryStrategy: 'throw'\n })\n }\n\n // Store component state\n this.componentStates.set(component, { ...props, mountTime: Date.now() })\n this.mountedComponents.add(component)\n\n return true\n },\n {\n strategy: 'fallback',\n fallbackValue: true\n }\n )\n }\n\n /**\n * Validate component on update\n */\n validateOnUpdate(component: ComponentInstance, newProps: any, oldProps: any): void {\n if (!enhancedConfig.lifecycle.validateOnUpdate || !isEnhancedValidationEnabled()) {\n return\n }\n\n if (!this.mountedComponents.has(component)) {\n // Component not properly mounted\n if (enhancedConfig.reporting.reportToConsole) {\n console.warn('⚠️ Component update validation: Component not found in mounted components')\n }\n return\n }\n\n const validationKey = `update-${component.constructor.name}-${Date.now()}`\n \n smartValidator.executeWithRecovery(\n validationKey,\n () => {\n // Check for invalid prop changes\n if (newProps && typeof newProps === 'object') {\n for (const [key, value] of Object.entries(newProps)) {\n if (value === undefined && oldProps && oldProps[key] !== undefined) {\n throw new EnhancedValidationError(`Property ${key} changed from defined to undefined`, {\n component: component.constructor.name,\n property: key,\n suggestion: 'Ensure prop values remain consistent or use null instead of undefined',\n recoveryStrategy: 'ignore'\n })\n }\n }\n }\n\n // Update component state\n this.componentStates.set(component, { ...newProps, lastUpdate: Date.now() })\n return true\n },\n {\n strategy: 'ignore',\n fallbackValue: true\n }\n )\n }\n\n /**\n * Validate component on unmount\n */\n validateOnUnmount(component: ComponentInstance): void {\n if (!enhancedConfig.lifecycle.validateOnUnmount || !isEnhancedValidationEnabled()) {\n return\n }\n\n if (this.mountedComponents.has(component)) {\n this.mountedComponents.delete(component)\n this.componentStates.delete(component)\n }\n }\n\n /**\n * Get lifecycle validation stats\n */\n getStats() {\n // WeakMap doesn't have a size property, so we'll use an alternative approach\n let componentCount = 0\n try {\n // This is a workaround since WeakMap doesn't expose size\n componentCount = 0 // We can't get the actual count from WeakMap\n } catch {\n componentCount = 0\n }\n \n return {\n mountedComponents: componentCount,\n enabled: enhancedConfig.lifecycle,\n config: enhancedConfig.lifecycle\n }\n }\n}\n\n// Global lifecycle validator\nconst lifecycleValidator = new ComponentLifecycleValidator()\n\n/**\n * Enhanced validation utilities\n */\nexport const EnhancedValidationUtils = {\n /**\n * Configure enhanced validation\n */\n configure: configureEnhancedValidation,\n\n /**\n * Get performance statistics\n */\n getPerformanceStats() {\n return {\n monitor: performanceMonitor.getStats(),\n cache: {\n size: validationCache.getSize(),\n maxSize: enhancedConfig.performance.maxCacheSize\n },\n recovery: smartValidator.getRecoveryStats(),\n lifecycle: lifecycleValidator.getStats()\n }\n },\n\n /**\n * Reset all caches and stats\n */\n reset() {\n validationCache.clear()\n performanceMonitor.reset()\n smartValidator.resetRecoveryAttempts()\n },\n\n /**\n * Test enhanced validation system\n */\n test() {\n console.group('🔍 Enhanced Runtime Validation System Test')\n \n try {\n // Test performance monitoring\n const endMeasurement = performanceMonitor.startMeasurement()\n setTimeout(endMeasurement, 1)\n \n // Test smart validation\n const result = smartValidator.executeWithRecovery(\n 'test-validation',\n () => {\n throw new EnhancedValidationError('Test error', {\n component: 'Test',\n recoveryStrategy: 'fallback',\n fallbackValue: 'recovered'\n })\n },\n {\n fallbackValue: 'recovered'\n }\n )\n \n console.info('✅ Smart error recovery:', result === 'recovered')\n console.info('✅ Performance monitoring: enabled')\n console.info('✅ Validation caching: enabled')\n console.info('✅ Component lifecycle: enabled')\n console.info('✅ Enhanced validation system is working correctly')\n \n } catch (error) {\n console.error('❌ Enhanced validation test failed:', error)\n }\n \n console.groupEnd()\n },\n\n /**\n * Enable production bypass mode\n */\n enableProductionBypass() {\n if (process.env.NODE_ENV === 'production') {\n configureEnhancedValidation({ enabled: false })\n console.info('✅ Production mode: Validation bypassed for zero overhead')\n }\n },\n\n /**\n * Create validated component with enhanced features\n */\n createEnhancedValidatedComponent<T extends ComponentInstance>(\n originalConstructor: (...args: any[]) => T,\n validator: (args: unknown[]) => void,\n componentType: string,\n packageName: string = 'core'\n ): (...args: any[]) => T {\n \n return function enhancedValidatedConstructor(this: any, ...args: unknown[]): T {\n // Production bypass - zero overhead\n if (process.env.NODE_ENV === 'production') {\n return originalConstructor.apply(this, args as any)\n }\n\n const validationKey = `${packageName}-${componentType}-${JSON.stringify(args)}`\n \n const result = smartValidator.executeWithRecovery(\n validationKey,\n () => {\n // Run validation\n validator(args)\n \n // Create the component\n const instance = originalConstructor.apply(this, args as any)\n \n // Lifecycle validation\n lifecycleValidator.validateOnMount(instance, args[0])\n \n return instance\n },\n {\n strategy: 'fallback',\n fallbackValue: originalConstructor.apply(this, args as any) as T,\n autoFix: () => {\n // Try to create component with default props\n try {\n return originalConstructor.apply(this, [{}] as any)\n } catch {\n throw new EnhancedValidationError('Failed to create component with fallback', {\n component: componentType,\n package: packageName,\n recoveryStrategy: 'throw'\n })\n }\n }\n }\n )\n \n return result as T\n }\n }\n}\n\n// Export global instances for external access\nexport {\n smartValidator,\n lifecycleValidator,\n validationCache,\n performanceMonitor,\n enhancedConfig\n}"],"names":["EnhancedValidationError","TachUIValidationError","message","context","autoFix","base","recovery","recoveryMessage","enhancedConfig","ValidationCache","maxSize","__publicField","key","entry","result","oldestKey","ValidationPerformanceMonitor","start","duration","a","b","validationCache","performanceMonitor","configureEnhancedValidation","config","isEnhancedValidationEnabled","SmartValidationExecutor","validationKey","validator","recoveryOptions","cached","endMeasurement","error","enhancedError","strategy","attempts","level","reportingError","smartValidator","ComponentLifecycleValidator","component","props","newProps","oldProps","value","componentCount","lifecycleValidator","EnhancedValidationUtils","originalConstructor","componentType","packageName","args","instance"],"mappings":";;AAkBO,MAAMA,UAAgCC,EAAsB;AAAA,EAajE,YACEC,GACAC,GAWA;AACA,UAAMD,GAASC,CAAO,GACtB,KAAK,UAAUA;AAAA,EACjB;AAAA;AAAA;AAAA;AAAA,EAKQ,iCAAmD;AACzD,WAAQ,KAAK,QAAgB,oBAAoB;AAAA,EACnD;AAAA;AAAA;AAAA;AAAA,EAKQ,8BAAmC;AACzC,WAAQ,KAAK,QAAgB;AAAA,EAC/B;AAAA;AAAA;AAAA;AAAA,EAKQ,wBAAiD;AACvD,WAAQ,KAAK,QAAgB;AAAA,EAC/B;AAAA;AAAA;AAAA;AAAA,EAKA,sBAAwC;AACtC,WAAO,KAAK,+BAAA;AAAA,EACd;AAAA;AAAA;AAAA;AAAA,EAKA,mBAAwB;AACtB,WAAO,KAAK,4BAAA;AAAA,EACd;AAAA;AAAA;AAAA;AAAA,EAKA,eAAoB;AAClB,UAAMC,IAAU,KAAK,sBAAA;AACrB,QAAIA;AACF,aAAOA,EAAA;AAAA,EAGX;AAAA;AAAA;AAAA;AAAA,EAKA,sBAA8B;AAC5B,UAAMC,IAAO,MAAM,oBAAA,GACbC,IAAW,KAAK,oBAAA;AAEtB,QAAIC,IAAkB;AACtB,YAAQD,GAAA;AAAA,MACN,KAAK;AACH,QAAAC,IAAkB;AAAA;AAClB;AAAA,MACF,KAAK;AACH,QAAAA,IAAkB;AAAA;AAClB;AAAA,MACF,KAAK;AACH,QAAAA,IAAkB;AAAA;AAClB;AAAA,MACF;AACE,QAAAA,IAAkB;AAAA;AAAA,IAAA;AAGtB,WAAOF,IAAOE;AAAA,EAChB;AACF;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,mDAAmD;AAAA,IAElE,SAASkB,GAAO;AACd,cAAQ,MAAM,sCAAsCA,CAAK;AAAA,IAC3D;AAEA,YAAQ,SAAA;AAAA,EACV;AAAA;AAAA;AAAA;AAAA,EAKA,yBAAyB;AACvB,IAAI,QAAQ,IAAI,aAAa,iBAC3BT,EAA4B,EAAE,SAAS,IAAO,GAC9C,QAAQ,KAAK,0DAA0D;AAAA,EAE3E;AAAA;AAAA;AAAA;AAAA,EAKA,iCACEyB,GACApB,GACAqB,GACAC,IAAsB,QACC;AAEvB,WAAO,YAAoDC,GAAoB;AAE7E,UAAI,QAAQ,IAAI,aAAa;AAC3B,eAAOH,EAAoB,MAAM,MAAMG,CAAW;AAGpD,YAAMxB,IAAgB,GAAGuB,CAAW,IAAID,CAAa,IAAI,KAAK,UAAUE,CAAI,CAAC;AAkC7E,aAhCeb,EAAe;AAAA,QAC5BX;AAAA,QACA,MAAM;AAEJ,UAAAC,EAAUuB,CAAI;AAGd,gBAAMC,IAAWJ,EAAoB,MAAM,MAAMG,CAAW;AAG5D,iBAAAL,EAAmB,gBAAgBM,GAAUD,EAAK,CAAC,CAAC,GAE7CC;AAAA,QACT;AAAA,QACA;AAAA,UACE,UAAU;AAAA,UACV,eAAeJ,EAAoB,MAAM,MAAMG,CAAW;AAAA,UAC1D,SAAS,MAAM;AAEb,gBAAI;AACF,qBAAOH,EAAoB,MAAM,MAAM,CAAC,CAAA,CAAE,CAAQ;AAAA,YACpD,QAAQ;AACN,oBAAM,IAAIhD,EAAwB,4CAA4C;AAAA,gBAC5E,WAAWiD;AAAA,gBACX,SAASC;AAAA,gBACT,kBAAkB;AAAA,cAAA,CACnB;AAAA,YACH;AAAA,UACF;AAAA,QAAA;AAAA,MACF;AAAA,IAIJ;AAAA,EACF;AACF;"}
@@ -1,32 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("./enhanced-runtime.cjs");var y=Object.defineProperty,E=(n,t,e)=>t in n?y(n,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[t]=e,c=(n,t,e)=>E(n,typeof t!="symbol"?t+"":t,e);const p={COMPONENT_MISSING_REQUIRED_PARAM:{title:"Missing Required Parameter",description:"The {component} component requires a {parameter} parameter to function correctly.",impact:"Component will not render or may throw runtime errors.",quickFix:"Add the missing {parameter} parameter.",detailedSolution:"Check the component documentation for required parameters and their expected types.",prevention:"Use TypeScript for compile-time validation of required parameters.",emoji:"❌",color:"red"},COMPONENT_INVALID_PARAM_TYPE:{title:"Invalid Parameter Type",description:"The {component} component received {received} but expected {expected}.",impact:"May cause unexpected behavior or runtime errors.",quickFix:"Convert the value to the expected type: {expected}.",detailedSolution:"Ensure all parameters match the expected types. Use type guards or validation.",prevention:"Enable strict TypeScript checking and use proper type annotations.",emoji:"🔄",color:"yellow"},COMPONENT_NULL_UNDEFINED_PARAM:{title:"Null or Undefined Parameter",description:"The {component} component received null or undefined for {parameter}.",impact:"Component may not render correctly or throw errors.",quickFix:"Provide a valid value or use conditional rendering.",detailedSolution:"Check for null/undefined values before passing to components.",prevention:"Use optional chaining (?.) and nullish coalescing (??) operators.",emoji:"⚠️",color:"yellow"},MODIFIER_NOT_EXISTS:{title:"Unknown Modifier",description:"The modifier .{modifier}() does not exist in the tachUI framework.",impact:"Build errors or silent failures in modifier chains.",quickFix:"Check the spelling or use a valid modifier name.",detailedSolution:"Refer to the modifier documentation for available options.",prevention:"Use IDE autocompletion and enable TypeScript strict mode.",emoji:"🔍",color:"red"},MODIFIER_INVALID_COMPONENT:{title:"Invalid Modifier Usage",description:"The modifier .{modifier}() is not valid for {component} components.",impact:"Modifier will be ignored or cause styling issues.",quickFix:"Use this modifier only on compatible components: {validComponents}.",detailedSolution:"Each modifier has specific component compatibility. Check documentation.",prevention:"Learn modifier-component compatibility rules.",emoji:"🚫",color:"yellow"},MODIFIER_WRONG_PARAMS:{title:"Incorrect Modifier Parameters",description:"The modifier .{modifier}() received incorrect parameters.",impact:"Modifier may not work as expected or throw errors.",quickFix:"Use the correct parameter format: {correctFormat}.",detailedSolution:"Check modifier documentation for parameter requirements.",prevention:"Use TypeScript for parameter validation.",emoji:"📝",color:"yellow"},PROP_MISSING_REQUIRED:{title:"Missing Required Property",description:"The {component} component is missing the required {property} property.",impact:"Component may not function correctly without this property.",quickFix:"Add the {property} property to the component props.",detailedSolution:"Required properties are essential for component functionality.",prevention:"Use TypeScript interfaces to enforce required properties.",emoji:"📋",color:"red"},PROP_INVALID_TYPE:{title:"Invalid Property Type",description:"Property {property} expected {expected} but received {received}.",impact:"May cause type errors or unexpected component behavior.",quickFix:"Convert the value to {expected} type.",detailedSolution:"Ensure all props match their expected types.",prevention:"Use proper TypeScript typing for props.",emoji:"🔧",color:"yellow"},LIFECYCLE_INVALID_STATE:{title:"Invalid Component State",description:"Component {component} is in an invalid state during {phase}.",impact:"May cause rendering issues or memory leaks.",quickFix:"Ensure proper component lifecycle management.",detailedSolution:"Review component mounting, updating, and unmounting logic.",prevention:"Follow React/component lifecycle best practices.",emoji:"🔄",color:"yellow"},PERFORMANCE_EXPENSIVE_RENDER:{title:"Expensive Render Operation",description:"Component {component} is performing expensive operations during render.",impact:"May cause UI lag and poor user experience.",quickFix:"Move expensive operations to useEffect or useMemo.",detailedSolution:"Optimize component rendering by avoiding heavy computations.",prevention:"Use performance profiling tools and React DevTools.",emoji:"⚡",color:"blue"},BEST_PRACTICE_DEPRECATED:{title:"Deprecated Usage",description:"Using deprecated {feature} which will be removed in future versions.",impact:"Code may break in future framework updates.",quickFix:"Replace with the recommended alternative: {alternative}.",detailedSolution:"Check migration guide for updated patterns.",prevention:"Stay updated with framework changelog and migration guides.",emoji:"⚠️",color:"blue"}};class l{static generate(t,e,r){const o=this.categories[t],i=e.substring(0,3).toUpperCase(),a=r?r.substring(0,3).toUpperCase():"001",f=Date.now().toString(36).substring(-3).toUpperCase();return`TACH-${o}-${i}-${a}-${f}`}}c(l,"categories",{"component-construction":"CC","modifier-usage":"MU","prop-validation":"PV",lifecycle:"LC",performance:"PF",accessibility:"AC","best-practices":"BP"});const d=class m{constructor(){c(this,"errorHistory",[]),c(this,"maxHistorySize",100)}static getInstance(){return this.instance||(this.instance=new m),this.instance}createError(t,e){const o={component:"Unknown",category:"component-construction",severity:"error",errorCode:l.generate(e.category||"component-construction",e.component||"Unknown",e.property),suggestion:"Please check the component documentation.",documentation:"https://docs.tachui.dev/",fixes:[],examples:{wrong:[],correct:[]},recoveryStrategy:"throw",...e},i=new h.EnhancedValidationError(t,o);return this.recordError(i),i}formatError(t){const e=t.context,r=this.getTemplate(e.errorCode||"UNKNOWN");let o=`${r.emoji} ${r.title}
2
- `;return o+=`📍 Error Code: ${e.errorCode}
3
- `,o+=`🏷️ Category: ${e.category} | Severity: ${e.severity}
4
-
5
- `,o+=`📋 Description:
6
- ${this.substituteVariables(r.description,e)}
7
-
8
- `,o+=`⚠️ Impact:
9
- ${r.impact}
10
-
11
- `,r.quickFix&&(o+=`🔧 Quick Fix:
12
- ${this.substituteVariables(r.quickFix,e)}
13
-
14
- `),e.examples.wrong.length>0&&(o+=`❌ Wrong:
15
- ${e.examples.wrong.map(i=>` ${i}`).join(`
16
- `)}
17
-
18
- `),e.examples.correct.length>0&&(o+=`✅ Correct:
19
- ${e.examples.correct.map(i=>` ${i}`).join(`
20
- `)}
21
-
22
- `),e.fixes.length>0&&(o+=`🔨 Available Fixes:
23
- `,e.fixes.forEach((i,a)=>{o+=` ${a+1}. ${i.description} (${i.difficulty})
24
- `,o+=` ${i.code}
25
- `}),o+=`
26
- `),o+=`📚 Documentation: ${e.documentation}
27
- `,e.commonMistakes&&e.commonMistakes.length>0&&(o+=`💡 Common Mistakes:
28
- ${e.commonMistakes.map(i=>` • ${i}`).join(`
29
- `)}
30
- `),o+=`🛡️ Recovery: ${this.getRecoveryDescription(e.recoveryStrategy)}
31
- `,o}getTemplate(t){const e=t.split("-");if(e.length>=2){const r=e[1],i=Object.keys(p).find(a=>r==="CC"?a.startsWith("COMPONENT_"):r==="MU"?a.startsWith("MODIFIER_"):r==="PV"?a.startsWith("PROP_"):r==="LC"?a.startsWith("LIFECYCLE_"):r==="PF"?a.startsWith("PERFORMANCE_"):r==="BP"?a.startsWith("BEST_PRACTICE_"):!1);if(i)return p[i]}return{title:"Validation Error",description:"A validation error occurred.",impact:"May affect component functionality.",emoji:"❌",color:"red"}}substituteVariables(t,e){return t.replace(/\{component\}/g,e.component).replace(/\{package\}/g,e.package||"Core").replace(/\{property\}/g,e.property||"property").replace(/\{parameter\}/g,e.property||"parameter").replace(/\{modifier\}/g,e.property||"modifier")}getRecoveryDescription(t){switch(t){case"ignore":return"Error will be ignored and execution continues";case"fallback":return"Fallback value will be used";case"fix":return"Automatic fix will be applied if available";case"throw":return"Error will be thrown and must be handled";default:return"No recovery strategy specified"}}recordError(t){this.errorHistory.push(t),this.errorHistory.length>this.maxHistorySize&&this.errorHistory.shift()}getErrorStats(){const t=new Map,e=new Map,r=new Map;return this.errorHistory.forEach(o=>{const i=o.context;t.set(i.category,(t.get(i.category)||0)+1),e.set(i.severity,(e.get(i.severity)||0)+1),r.set(i.component,(r.get(i.component)||0)+1)}),{totalErrors:this.errorHistory.length,categories:Object.fromEntries(t),severities:Object.fromEntries(e),components:Object.fromEntries(r),recentErrors:this.errorHistory.slice(-10).map(o=>({code:o.context.errorCode,component:o.context.component,message:o.message,timestamp:Date.now()}))}}clearHistory(){this.errorHistory=[]}exportErrorReport(){const t=this.getErrorStats(),e={timestamp:new Date().toISOString(),framework:"tachUI",version:"1.0.0",stats:t,errors:this.errorHistory.map(r=>({code:r.context.errorCode,message:r.message,context:r.context,stack:r.stack}))};return JSON.stringify(e,null,2)}};c(d,"instance");let u=d;class g{static generateComponentFixSuggestions(t,e,r){const o=[];return e.includes("requires")&&e.includes("parameter")&&o.push({description:`Add the missing parameter to ${t}`,code:this.generateParameterFix(t,r),difficulty:"easy",autoFix:()=>this.generateParameterFix(t,r)}),e.includes("type")&&e.includes("expected")&&o.push({description:"Convert value to expected type",code:this.generateTypeFix(t,r),difficulty:"medium"}),(e.includes("null")||e.includes("undefined"))&&o.push({description:"Add null check and default value",code:this.generateNullCheckFix(t,r),difficulty:"easy"}),o}static generateParameterFix(t,e){return{Text:'Text("Hello World")',Button:'Button("Click me", () => {})',Image:'Image({ source: "image.jpg" })',Toggle:"Toggle({ isOn: false })",VStack:"VStack({ children: [] })",HStack:"HStack({ children: [] })"}[t]||`${t}({ /* add required props */ })`}static generateTypeFix(t,e){if(e.length>0){const r=e[0];if(typeof r=="number")return`${t}(String(${r})) // Convert number to string`;if(typeof r=="object")return`${t}(JSON.stringify(${JSON.stringify(r)})) // Serialize object`}return`${t}(/* provide correct type */)`}static generateNullCheckFix(t,e){return`${t}(value || "default") // Provide fallback for null/undefined`}}const s=u.getInstance(),v={createError:(n,t)=>s.createError(n,t),formatError:n=>s.formatError(n),getStats:()=>s.getErrorStats(),exportReport:()=>s.exportErrorReport(),generateSuggestions:g.generateComponentFixSuggestions};exports.EnhancedErrorReporter=u;exports.ErrorCodeGenerator=l;exports.ErrorReportingUtils=v;exports.ErrorSuggestionEngine=g;exports.ErrorTemplates=p;exports.errorReporter=s;
32
- //# sourceMappingURL=error-reporting.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"error-reporting.cjs","sources":["../../src/validation/error-reporting.ts"],"sourcesContent":["/**\n * Enhanced Error Reporting System - Phase 1C\n * \n * Rich error message templates, contextual suggestions, fix examples,\n * and comprehensive developer guidance for validation errors.\n */\n\nimport type { RecoveryStrategy } from './enhanced-runtime'\nimport { EnhancedValidationError } from './enhanced-runtime'\n\n/**\n * Error severity levels\n */\nexport type ValidationErrorSeverity = 'critical' | 'error' | 'warning' | 'info'\n\n/**\n * Error category for classification\n */\nexport type ValidationErrorCategory = \n | 'component-construction'\n | 'modifier-usage'\n | 'prop-validation'\n | 'lifecycle'\n | 'performance'\n | 'accessibility'\n | 'best-practices'\n\n/**\n * Fix suggestion with automated repair capability\n */\nexport interface FixSuggestion {\n description: string\n code: string\n autoFix?: () => string\n difficulty: 'easy' | 'medium' | 'hard'\n}\n\n/**\n * Enhanced error context with rich metadata\n */\nexport interface EnhancedErrorContext {\n component: string\n package?: string\n property?: string\n \n // Error classification\n category: ValidationErrorCategory\n severity: ValidationErrorSeverity\n errorCode: string\n \n // Developer guidance\n suggestion: string\n documentation: string\n fixes: FixSuggestion[]\n \n // Examples\n examples: {\n wrong: string[]\n correct: string[]\n }\n \n // Recovery options\n recoveryStrategy: RecoveryStrategy\n fallbackValue?: any\n autoFix?: () => any\n \n // Context information\n location?: {\n file?: string\n line?: number\n column?: number\n }\n \n // Related errors\n relatedErrors?: string[]\n commonMistakes?: string[]\n}\n\n/**\n * Error message template for consistent formatting\n */\nexport interface ErrorMessageTemplate {\n title: string\n description: string\n impact: string\n \n // Developer guidance sections\n quickFix?: string\n detailedSolution?: string\n prevention?: string\n \n // Visual formatting\n emoji: string\n color: 'red' | 'yellow' | 'blue' | 'gray'\n}\n\n/**\n * Comprehensive error templates database\n */\nexport const ErrorTemplates: Record<string, ErrorMessageTemplate> = {\n // Component Construction Errors\n 'COMPONENT_MISSING_REQUIRED_PARAM': {\n title: 'Missing Required Parameter',\n description: 'The {component} component requires a {parameter} parameter to function correctly.',\n impact: 'Component will not render or may throw runtime errors.',\n quickFix: 'Add the missing {parameter} parameter.',\n detailedSolution: 'Check the component documentation for required parameters and their expected types.',\n prevention: 'Use TypeScript for compile-time validation of required parameters.',\n emoji: '❌',\n color: 'red'\n },\n\n 'COMPONENT_INVALID_PARAM_TYPE': {\n title: 'Invalid Parameter Type',\n description: 'The {component} component received {received} but expected {expected}.',\n impact: 'May cause unexpected behavior or runtime errors.',\n quickFix: 'Convert the value to the expected type: {expected}.',\n detailedSolution: 'Ensure all parameters match the expected types. Use type guards or validation.',\n prevention: 'Enable strict TypeScript checking and use proper type annotations.',\n emoji: '🔄',\n color: 'yellow'\n },\n\n 'COMPONENT_NULL_UNDEFINED_PARAM': {\n title: 'Null or Undefined Parameter',\n description: 'The {component} component received null or undefined for {parameter}.',\n impact: 'Component may not render correctly or throw errors.',\n quickFix: 'Provide a valid value or use conditional rendering.',\n detailedSolution: 'Check for null/undefined values before passing to components.',\n prevention: 'Use optional chaining (?.) and nullish coalescing (??) operators.',\n emoji: '⚠️',\n color: 'yellow'\n },\n\n // Modifier Usage Errors\n 'MODIFIER_NOT_EXISTS': {\n title: 'Unknown Modifier',\n description: 'The modifier .{modifier}() does not exist in the tachUI framework.',\n impact: 'Build errors or silent failures in modifier chains.',\n quickFix: 'Check the spelling or use a valid modifier name.',\n detailedSolution: 'Refer to the modifier documentation for available options.',\n prevention: 'Use IDE autocompletion and enable TypeScript strict mode.',\n emoji: '🔍',\n color: 'red'\n },\n\n 'MODIFIER_INVALID_COMPONENT': {\n title: 'Invalid Modifier Usage',\n description: 'The modifier .{modifier}() is not valid for {component} components.',\n impact: 'Modifier will be ignored or cause styling issues.',\n quickFix: 'Use this modifier only on compatible components: {validComponents}.',\n detailedSolution: 'Each modifier has specific component compatibility. Check documentation.',\n prevention: 'Learn modifier-component compatibility rules.',\n emoji: '🚫',\n color: 'yellow'\n },\n\n 'MODIFIER_WRONG_PARAMS': {\n title: 'Incorrect Modifier Parameters',\n description: 'The modifier .{modifier}() received incorrect parameters.',\n impact: 'Modifier may not work as expected or throw errors.',\n quickFix: 'Use the correct parameter format: {correctFormat}.',\n detailedSolution: 'Check modifier documentation for parameter requirements.',\n prevention: 'Use TypeScript for parameter validation.',\n emoji: '📝',\n color: 'yellow'\n },\n\n // Prop Validation Errors\n 'PROP_MISSING_REQUIRED': {\n title: 'Missing Required Property',\n description: 'The {component} component is missing the required {property} property.',\n impact: 'Component may not function correctly without this property.',\n quickFix: 'Add the {property} property to the component props.',\n detailedSolution: 'Required properties are essential for component functionality.',\n prevention: 'Use TypeScript interfaces to enforce required properties.',\n emoji: '📋',\n color: 'red'\n },\n\n 'PROP_INVALID_TYPE': {\n title: 'Invalid Property Type',\n description: 'Property {property} expected {expected} but received {received}.',\n impact: 'May cause type errors or unexpected component behavior.',\n quickFix: 'Convert the value to {expected} type.',\n detailedSolution: 'Ensure all props match their expected types.',\n prevention: 'Use proper TypeScript typing for props.',\n emoji: '🔧',\n color: 'yellow'\n },\n\n // Lifecycle Errors\n 'LIFECYCLE_INVALID_STATE': {\n title: 'Invalid Component State',\n description: 'Component {component} is in an invalid state during {phase}.',\n impact: 'May cause rendering issues or memory leaks.',\n quickFix: 'Ensure proper component lifecycle management.',\n detailedSolution: 'Review component mounting, updating, and unmounting logic.',\n prevention: 'Follow React/component lifecycle best practices.',\n emoji: '🔄',\n color: 'yellow'\n },\n\n // Performance Errors\n 'PERFORMANCE_EXPENSIVE_RENDER': {\n title: 'Expensive Render Operation',\n description: 'Component {component} is performing expensive operations during render.',\n impact: 'May cause UI lag and poor user experience.',\n quickFix: 'Move expensive operations to useEffect or useMemo.',\n detailedSolution: 'Optimize component rendering by avoiding heavy computations.',\n prevention: 'Use performance profiling tools and React DevTools.',\n emoji: '⚡',\n color: 'blue'\n },\n\n // Best Practices\n 'BEST_PRACTICE_DEPRECATED': {\n title: 'Deprecated Usage',\n description: 'Using deprecated {feature} which will be removed in future versions.',\n impact: 'Code may break in future framework updates.',\n quickFix: 'Replace with the recommended alternative: {alternative}.',\n detailedSolution: 'Check migration guide for updated patterns.',\n prevention: 'Stay updated with framework changelog and migration guides.',\n emoji: '⚠️',\n color: 'blue'\n }\n}\n\n/**\n * Error code generator for consistent error identification\n */\nexport class ErrorCodeGenerator {\n private static categories = {\n 'component-construction': 'CC',\n 'modifier-usage': 'MU',\n 'prop-validation': 'PV',\n 'lifecycle': 'LC',\n 'performance': 'PF',\n 'accessibility': 'AC',\n 'best-practices': 'BP'\n }\n\n static generate(category: ValidationErrorCategory, component: string, specific?: string): string {\n const categoryCode = this.categories[category]\n const componentCode = component.substring(0, 3).toUpperCase()\n const specificCode = specific ? specific.substring(0, 3).toUpperCase() : '001'\n const timestamp = Date.now().toString(36).substring(-3).toUpperCase()\n \n return `TACH-${categoryCode}-${componentCode}-${specificCode}-${timestamp}`\n }\n}\n\n/**\n * Enhanced error reporter with rich formatting\n */\nexport class EnhancedErrorReporter {\n private static instance: EnhancedErrorReporter\n private errorHistory: EnhancedValidationError[] = []\n private maxHistorySize = 100\n\n static getInstance(): EnhancedErrorReporter {\n if (!this.instance) {\n this.instance = new EnhancedErrorReporter()\n }\n return this.instance\n }\n\n /**\n * Create enhanced validation error with rich context\n */\n createError(\n message: string,\n context: Partial<EnhancedErrorContext>\n ): EnhancedValidationError {\n const errorCode = ErrorCodeGenerator.generate(\n context.category || 'component-construction',\n context.component || 'Unknown',\n context.property\n )\n\n const enhancedContext: EnhancedErrorContext = {\n component: 'Unknown',\n category: 'component-construction',\n severity: 'error',\n errorCode,\n suggestion: 'Please check the component documentation.',\n documentation: 'https://docs.tachui.dev/',\n fixes: [],\n examples: { wrong: [], correct: [] },\n recoveryStrategy: 'throw',\n ...context\n }\n\n const error = new EnhancedValidationError(message, enhancedContext)\n this.recordError(error)\n return error\n }\n\n /**\n * Format error message with rich context\n */\n formatError(error: EnhancedValidationError): string {\n const context = error.context as any as EnhancedErrorContext\n const template = this.getTemplate(context.errorCode || 'UNKNOWN')\n \n let formatted = `${template.emoji} ${template.title}\\n`\n formatted += `📍 Error Code: ${context.errorCode}\\n`\n formatted += `🏷️ Category: ${context.category} | Severity: ${context.severity}\\n\\n`\n \n // Description with context substitution\n formatted += `📋 Description:\\n${this.substituteVariables(template.description, context)}\\n\\n`\n \n // Impact\n formatted += `⚠️ Impact:\\n${template.impact}\\n\\n`\n \n // Quick fix\n if (template.quickFix) {\n formatted += `🔧 Quick Fix:\\n${this.substituteVariables(template.quickFix, context)}\\n\\n`\n }\n \n // Examples\n if (context.examples.wrong.length > 0) {\n formatted += `❌ Wrong:\\n${context.examples.wrong.map(ex => ` ${ex}`).join('\\n')}\\n\\n`\n }\n \n if (context.examples.correct.length > 0) {\n formatted += `✅ Correct:\\n${context.examples.correct.map(ex => ` ${ex}`).join('\\n')}\\n\\n`\n }\n \n // Fix suggestions\n if (context.fixes.length > 0) {\n formatted += `🔨 Available Fixes:\\n`\n context.fixes.forEach((fix, index) => {\n formatted += ` ${index + 1}. ${fix.description} (${fix.difficulty})\\n`\n formatted += ` ${fix.code}\\n`\n })\n formatted += '\\n'\n }\n \n // Documentation\n formatted += `📚 Documentation: ${context.documentation}\\n`\n \n // Related information\n if (context.commonMistakes && context.commonMistakes.length > 0) {\n formatted += `💡 Common Mistakes:\\n${context.commonMistakes.map(m => ` • ${m}`).join('\\n')}\\n`\n }\n \n // Recovery information\n formatted += `🛡️ Recovery: ${this.getRecoveryDescription(context.recoveryStrategy)}\\n`\n \n return formatted\n }\n\n /**\n * Get error template by code or fallback to default\n */\n private getTemplate(errorCode: string): ErrorMessageTemplate {\n // Extract template key from error code\n const parts = errorCode.split('-')\n if (parts.length >= 2) {\n const category = parts[1]\n const templateKeys = Object.keys(ErrorTemplates)\n const matchingTemplate = templateKeys.find(key => {\n if (category === 'CC') return key.startsWith('COMPONENT_')\n if (category === 'MU') return key.startsWith('MODIFIER_')\n if (category === 'PV') return key.startsWith('PROP_')\n if (category === 'LC') return key.startsWith('LIFECYCLE_')\n if (category === 'PF') return key.startsWith('PERFORMANCE_')\n if (category === 'BP') return key.startsWith('BEST_PRACTICE_')\n return false\n })\n \n if (matchingTemplate) {\n return ErrorTemplates[matchingTemplate]\n }\n }\n \n // Fallback to generic template\n return {\n title: 'Validation Error',\n description: 'A validation error occurred.',\n impact: 'May affect component functionality.',\n emoji: '❌',\n color: 'red'\n }\n }\n\n /**\n * Substitute variables in template strings\n */\n private substituteVariables(template: string, context: EnhancedErrorContext): string {\n return template\n .replace(/\\{component\\}/g, context.component)\n .replace(/\\{package\\}/g, context.package || 'Core')\n .replace(/\\{property\\}/g, context.property || 'property')\n .replace(/\\{parameter\\}/g, context.property || 'parameter')\n .replace(/\\{modifier\\}/g, context.property || 'modifier')\n }\n\n /**\n * Get recovery strategy description\n */\n private getRecoveryDescription(strategy: RecoveryStrategy): string {\n switch (strategy) {\n case 'ignore': return 'Error will be ignored and execution continues'\n case 'fallback': return 'Fallback value will be used'\n case 'fix': return 'Automatic fix will be applied if available'\n case 'throw': return 'Error will be thrown and must be handled'\n default: return 'No recovery strategy specified'\n }\n }\n\n /**\n * Record error in history for analytics\n */\n private recordError(error: EnhancedValidationError): void {\n this.errorHistory.push(error)\n \n // Maintain history size limit\n if (this.errorHistory.length > this.maxHistorySize) {\n this.errorHistory.shift()\n }\n }\n\n /**\n * Get error statistics\n */\n getErrorStats() {\n const categoryCounts = new Map<ValidationErrorCategory, number>()\n const severityCounts = new Map<ValidationErrorSeverity, number>()\n const componentCounts = new Map<string, number>()\n \n this.errorHistory.forEach(error => {\n const context = error.context as EnhancedErrorContext\n \n categoryCounts.set(context.category, (categoryCounts.get(context.category) || 0) + 1)\n severityCounts.set(context.severity, (severityCounts.get(context.severity) || 0) + 1)\n componentCounts.set(context.component, (componentCounts.get(context.component) || 0) + 1)\n })\n \n return {\n totalErrors: this.errorHistory.length,\n categories: Object.fromEntries(categoryCounts),\n severities: Object.fromEntries(severityCounts),\n components: Object.fromEntries(componentCounts),\n recentErrors: this.errorHistory.slice(-10).map(e => ({\n code: (e.context as EnhancedErrorContext).errorCode,\n component: e.context.component,\n message: e.message,\n timestamp: Date.now()\n }))\n }\n }\n\n /**\n * Clear error history\n */\n clearHistory(): void {\n this.errorHistory = []\n }\n\n /**\n * Export error report for debugging\n */\n exportErrorReport(): string {\n const stats = this.getErrorStats()\n const report = {\n timestamp: new Date().toISOString(),\n framework: 'tachUI',\n version: '1.0.0', // Would be dynamic in real implementation\n stats,\n errors: this.errorHistory.map(error => ({\n code: (error.context as EnhancedErrorContext).errorCode,\n message: error.message,\n context: error.context,\n stack: error.stack\n }))\n }\n \n return JSON.stringify(report, null, 2)\n }\n}\n\n/**\n * Error suggestion engine for intelligent fixes\n */\nexport class ErrorSuggestionEngine {\n /**\n * Generate fix suggestions for common component errors\n */\n static generateComponentFixSuggestions(\n component: string,\n error: string,\n _args: unknown[]\n ): FixSuggestion[] {\n const suggestions: FixSuggestion[] = []\n \n // Missing parameter fixes\n if (error.includes('requires') && error.includes('parameter')) {\n suggestions.push({\n description: `Add the missing parameter to ${component}`,\n code: this.generateParameterFix(component, _args),\n difficulty: 'easy',\n autoFix: () => this.generateParameterFix(component, _args)\n })\n }\n \n // Type mismatch fixes\n if (error.includes('type') && error.includes('expected')) {\n suggestions.push({\n description: 'Convert value to expected type',\n code: this.generateTypeFix(component, _args),\n difficulty: 'medium'\n })\n }\n \n // Null/undefined fixes\n if (error.includes('null') || error.includes('undefined')) {\n suggestions.push({\n description: 'Add null check and default value',\n code: this.generateNullCheckFix(component, _args),\n difficulty: 'easy'\n })\n }\n \n return suggestions\n }\n\n /**\n * Generate fix for missing parameters\n */\n private static generateParameterFix(component: string, _args: unknown[]): string {\n const componentDefaults: Record<string, string> = {\n 'Text': 'Text(\"Hello World\")',\n 'Button': 'Button(\"Click me\", () => {})',\n 'Image': 'Image({ source: \"image.jpg\" })',\n 'Toggle': 'Toggle({ isOn: false })',\n 'VStack': 'VStack({ children: [] })',\n 'HStack': 'HStack({ children: [] })'\n }\n \n return componentDefaults[component] || `${component}({ /* add required props */ })`\n }\n\n /**\n * Generate fix for type mismatches\n */\n private static generateTypeFix(component: string, args: unknown[]): string {\n if (args.length > 0) {\n const firstArg = args[0]\n if (typeof firstArg === 'number') {\n return `${component}(String(${firstArg})) // Convert number to string`\n }\n if (typeof firstArg === 'object') {\n return `${component}(JSON.stringify(${JSON.stringify(firstArg)})) // Serialize object`\n }\n }\n return `${component}(/* provide correct type */)`\n }\n\n /**\n * Generate fix for null/undefined values\n */\n private static generateNullCheckFix(component: string, _args: unknown[]): string {\n return `${component}(value || \"default\") // Provide fallback for null/undefined`\n }\n}\n\n// Export singleton instance\nexport const errorReporter = EnhancedErrorReporter.getInstance()\n\n// Export utilities\nexport const ErrorReportingUtils = {\n createError: (message: string, context: Partial<EnhancedErrorContext>) => \n errorReporter.createError(message, context),\n \n formatError: (error: EnhancedValidationError) => \n errorReporter.formatError(error),\n \n getStats: () => \n errorReporter.getErrorStats(),\n \n exportReport: () => \n errorReporter.exportErrorReport(),\n \n generateSuggestions: ErrorSuggestionEngine.generateComponentFixSuggestions\n}"],"names":["ErrorTemplates","ErrorCodeGenerator","category","component","specific","categoryCode","componentCode","specificCode","timestamp","__publicField","_EnhancedErrorReporter","message","context","enhancedContext","error","EnhancedValidationError","template","formatted","ex","fix","index","m","errorCode","parts","matchingTemplate","key","strategy","categoryCounts","severityCounts","componentCounts","e","stats","report","EnhancedErrorReporter","ErrorSuggestionEngine","_args","suggestions","args","firstArg","errorReporter","ErrorReportingUtils"],"mappings":"sRAmGO,MAAMA,EAAuD,CAElE,iCAAoC,CAClC,MAAO,6BACP,YAAa,oFACb,OAAQ,yDACR,SAAU,yCACV,iBAAkB,sFAClB,WAAY,qEACZ,MAAO,IACP,MAAO,KAAA,EAGT,6BAAgC,CAC9B,MAAO,yBACP,YAAa,yEACb,OAAQ,mDACR,SAAU,sDACV,iBAAkB,iFAClB,WAAY,qEACZ,MAAO,KACP,MAAO,QAAA,EAGT,+BAAkC,CAChC,MAAO,8BACP,YAAa,wEACb,OAAQ,sDACR,SAAU,sDACV,iBAAkB,gEAClB,WAAY,oEACZ,MAAO,KACP,MAAO,QAAA,EAIT,oBAAuB,CACrB,MAAO,mBACP,YAAa,qEACb,OAAQ,sDACR,SAAU,mDACV,iBAAkB,6DAClB,WAAY,4DACZ,MAAO,KACP,MAAO,KAAA,EAGT,2BAA8B,CAC5B,MAAO,yBACP,YAAa,sEACb,OAAQ,oDACR,SAAU,sEACV,iBAAkB,2EAClB,WAAY,gDACZ,MAAO,KACP,MAAO,QAAA,EAGT,sBAAyB,CACvB,MAAO,gCACP,YAAa,4DACb,OAAQ,qDACR,SAAU,qDACV,iBAAkB,2DAClB,WAAY,2CACZ,MAAO,KACP,MAAO,QAAA,EAIT,sBAAyB,CACvB,MAAO,4BACP,YAAa,yEACb,OAAQ,8DAC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