@tachui/core 0.7.1-alpha → 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 (265) hide show
  1. package/README.md +2 -2
  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 +2 -16
  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 +403 -827
  9. package/dist/compiler/advanced-parser.d.ts.map +1 -1
  10. package/dist/compiler/index.js +14 -8
  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 -4167
  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 +84 -0
  23. package/dist/css-classes/index.js +176 -0
  24. package/dist/{dom-bridge-Cx-s6Ihx.js → dom-bridge-CAa1N2zX.js} +28 -28
  25. package/dist/{effect-CytAc9em.js → effect-B9Knft0b.js} +3 -3
  26. package/dist/essential.js +395 -825
  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 +395 -825
  33. package/dist/minimal-prod.js +101 -155
  34. package/dist/minimal.js +104 -170
  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 +487 -0
  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 +9 -0
  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 +10 -0
  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 +4 -0
  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 +147 -297
  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 +96 -95
  64. package/dist/reactive/types.js +4 -0
  65. package/dist/runtime/dom-bridge.js +5 -5
  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 -8
  71. package/dist/runtime/semantic-role-manager.d.ts.map +1 -1
  72. package/dist/runtime/types.js +1 -0
  73. package/dist/{scheduler-7SvC3a21.js → scheduler-BKeqwrYE.js} +130 -130
  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 +609 -6470
  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 +41 -5
  89. package/dist/ScrollView-h-6wYMAm.js +0 -515
  90. package/dist/Spacer-BbteDQ9I.js +0 -5337
  91. package/dist/binding-CmdpowkI.js +0 -2276
  92. package/dist/components/BasicInput.d.ts +0 -116
  93. package/dist/components/BasicInput.d.ts.map +0 -1
  94. package/dist/components/Button.d.ts +0 -252
  95. package/dist/components/Button.d.ts.map +0 -1
  96. package/dist/components/Divider.d.ts +0 -141
  97. package/dist/components/Divider.d.ts.map +0 -1
  98. package/dist/components/EnhancedLink.d.ts +0 -365
  99. package/dist/components/EnhancedLink.d.ts.map +0 -1
  100. package/dist/components/Form.d.ts +0 -141
  101. package/dist/components/Form.d.ts.map +0 -1
  102. package/dist/components/Grid.d.ts +0 -698
  103. package/dist/components/Grid.d.ts.map +0 -1
  104. package/dist/components/GridResponsive.d.ts +0 -214
  105. package/dist/components/GridResponsive.d.ts.map +0 -1
  106. package/dist/components/Image.d.ts +0 -162
  107. package/dist/components/Image.d.ts.map +0 -1
  108. package/dist/components/List.d.ts +0 -287
  109. package/dist/components/List.d.ts.map +0 -1
  110. package/dist/components/Menu.d.ts +0 -159
  111. package/dist/components/Menu.d.ts.map +0 -1
  112. package/dist/components/Picker.d.ts +0 -153
  113. package/dist/components/Picker.d.ts.map +0 -1
  114. package/dist/components/ScrollView.d.ts +0 -222
  115. package/dist/components/ScrollView.d.ts.map +0 -1
  116. package/dist/components/Section.d.ts +0 -153
  117. package/dist/components/Section.d.ts.map +0 -1
  118. package/dist/components/Show.d.ts +0 -64
  119. package/dist/components/Show.d.ts.map +0 -1
  120. package/dist/components/Spacer.d.ts +0 -35
  121. package/dist/components/Spacer.d.ts.map +0 -1
  122. package/dist/components/Text.d.ts +0 -242
  123. package/dist/components/Text.d.ts.map +0 -1
  124. package/dist/components/Toggle.d.ts +0 -207
  125. package/dist/components/Toggle.d.ts.map +0 -1
  126. package/dist/concatenated-component-DPcl2TEO.js +0 -6779
  127. package/dist/context--zQFIImS.js +0 -283
  128. package/dist/debug/index.d.ts +0 -61
  129. package/dist/debug/index.d.ts.map +0 -1
  130. package/dist/debug.js +0 -178
  131. package/dist/developer-experience/enhanced-errors.d.ts +0 -128
  132. package/dist/developer-experience/enhanced-errors.d.ts.map +0 -1
  133. package/dist/developer-experience/enhanced-types.d.ts +0 -281
  134. package/dist/developer-experience/enhanced-types.d.ts.map +0 -1
  135. package/dist/developer-experience/index.d.ts +0 -44
  136. package/dist/developer-experience/index.d.ts.map +0 -1
  137. package/dist/index-Nfi2SBQh.js +0 -3268
  138. package/dist/modifiers/attributes.d.ts +0 -203
  139. package/dist/modifiers/attributes.d.ts.map +0 -1
  140. package/dist/modifiers/backdrop.d.ts +0 -59
  141. package/dist/modifiers/backdrop.d.ts.map +0 -1
  142. package/dist/modifiers/border.d.ts +0 -217
  143. package/dist/modifiers/border.d.ts.map +0 -1
  144. package/dist/modifiers/effects.d.ts +0 -159
  145. package/dist/modifiers/effects.d.ts.map +0 -1
  146. package/dist/modifiers/elements.d.ts +0 -240
  147. package/dist/modifiers/elements.d.ts.map +0 -1
  148. package/dist/modifiers/filters.d.ts +0 -275
  149. package/dist/modifiers/filters.d.ts.map +0 -1
  150. package/dist/modifiers/flexbox.d.ts +0 -82
  151. package/dist/modifiers/flexbox.d.ts.map +0 -1
  152. package/dist/modifiers/font.d.ts +0 -71
  153. package/dist/modifiers/font.d.ts.map +0 -1
  154. package/dist/modifiers/grid.d.ts +0 -92
  155. package/dist/modifiers/grid.d.ts.map +0 -1
  156. package/dist/modifiers/margin.d.ts +0 -128
  157. package/dist/modifiers/margin.d.ts.map +0 -1
  158. package/dist/modifiers/padding.d.ts +0 -204
  159. package/dist/modifiers/padding.d.ts.map +0 -1
  160. package/dist/modifiers/responsive/advanced-utilities.d.ts +0 -118
  161. package/dist/modifiers/responsive/advanced-utilities.d.ts.map +0 -1
  162. package/dist/modifiers/responsive/breakpoints.d.ts +0 -81
  163. package/dist/modifiers/responsive/breakpoints.d.ts.map +0 -1
  164. package/dist/modifiers/responsive/css-generator.d.ts +0 -100
  165. package/dist/modifiers/responsive/css-generator.d.ts.map +0 -1
  166. package/dist/modifiers/responsive/dev-tools.d.ts +0 -107
  167. package/dist/modifiers/responsive/dev-tools.d.ts.map +0 -1
  168. package/dist/modifiers/responsive/index.d.ts +0 -29
  169. package/dist/modifiers/responsive/index.d.ts.map +0 -1
  170. package/dist/modifiers/responsive/layout-patterns.d.ts +0 -230
  171. package/dist/modifiers/responsive/layout-patterns.d.ts.map +0 -1
  172. package/dist/modifiers/responsive/performance.d.ts +0 -130
  173. package/dist/modifiers/responsive/performance.d.ts.map +0 -1
  174. package/dist/modifiers/responsive/responsive-builder.d.ts +0 -133
  175. package/dist/modifiers/responsive/responsive-builder.d.ts.map +0 -1
  176. package/dist/modifiers/responsive/responsive-modifier.d.ts +0 -123
  177. package/dist/modifiers/responsive/responsive-modifier.d.ts.map +0 -1
  178. package/dist/modifiers/responsive/types.d.ts +0 -183
  179. package/dist/modifiers/responsive/types.d.ts.map +0 -1
  180. package/dist/modifiers/responsive/utilities.d.ts +0 -149
  181. package/dist/modifiers/responsive/utilities.d.ts.map +0 -1
  182. package/dist/modifiers/scroll.d.ts +0 -143
  183. package/dist/modifiers/scroll.d.ts.map +0 -1
  184. package/dist/modifiers/shadows.d.ts +0 -114
  185. package/dist/modifiers/shadows.d.ts.map +0 -1
  186. package/dist/modifiers/size.d.ts +0 -113
  187. package/dist/modifiers/size.d.ts.map +0 -1
  188. package/dist/modifiers/text.d.ts +0 -147
  189. package/dist/modifiers/text.d.ts.map +0 -1
  190. package/dist/modifiers/transformations.d.ts +0 -329
  191. package/dist/modifiers/transformations.d.ts.map +0 -1
  192. package/dist/modifiers/transitions.d.ts +0 -98
  193. package/dist/modifiers/transitions.d.ts.map +0 -1
  194. package/dist/modifiers/typography.d.ts +0 -192
  195. package/dist/modifiers/typography.d.ts.map +0 -1
  196. package/dist/modifiers/utility.d.ts +0 -69
  197. package/dist/modifiers/utility.d.ts.map +0 -1
  198. package/dist/modifiers/utils.d.ts.map +0 -1
  199. package/dist/plugins/simplified-error-handler.d.ts +0 -83
  200. package/dist/plugins/simplified-error-handler.d.ts.map +0 -1
  201. package/dist/runtime/dev-tools.d.ts +0 -240
  202. package/dist/runtime/dev-tools.d.ts.map +0 -1
  203. package/dist/runtime/development-warnings.d.ts +0 -42
  204. package/dist/runtime/development-warnings.d.ts.map +0 -1
  205. package/dist/runtime/error-boundary.d.ts +0 -302
  206. package/dist/runtime/error-boundary.d.ts.map +0 -1
  207. package/dist/runtime/error-recovery.d.ts +0 -267
  208. package/dist/runtime/error-recovery.d.ts.map +0 -1
  209. package/dist/runtime/error-reporting.d.ts +0 -287
  210. package/dist/runtime/error-reporting.d.ts.map +0 -1
  211. package/dist/runtime/error-utils.d.ts +0 -204
  212. package/dist/runtime/error-utils.d.ts.map +0 -1
  213. package/dist/runtime/performance.d.ts +0 -217
  214. package/dist/runtime/performance.d.ts.map +0 -1
  215. package/dist/sui-compat.d.ts +0 -110
  216. package/dist/sui-compat.d.ts.map +0 -1
  217. package/dist/validation/advanced-debugging.d.ts +0 -319
  218. package/dist/validation/advanced-debugging.d.ts.map +0 -1
  219. package/dist/validation/build-time/detection.d.ts +0 -32
  220. package/dist/validation/build-time/detection.d.ts.map +0 -1
  221. package/dist/validation/build-time/index.d.ts +0 -84
  222. package/dist/validation/build-time/index.d.ts.map +0 -1
  223. package/dist/validation/build-time/plugins.d.ts +0 -75
  224. package/dist/validation/build-time/plugins.d.ts.map +0 -1
  225. package/dist/validation/build-time/rules.d.ts +0 -73
  226. package/dist/validation/build-time/rules.d.ts.map +0 -1
  227. package/dist/validation/build-time/transformer.d.ts +0 -23
  228. package/dist/validation/build-time/transformer.d.ts.map +0 -1
  229. package/dist/validation/build-time/types.d.ts +0 -212
  230. package/dist/validation/build-time/types.d.ts.map +0 -1
  231. package/dist/validation/comprehensive.d.ts +0 -160
  232. package/dist/validation/comprehensive.d.ts.map +0 -1
  233. package/dist/validation/debug-tools.d.ts +0 -251
  234. package/dist/validation/debug-tools.d.ts.map +0 -1
  235. package/dist/validation/developer-experience.d.ts +0 -243
  236. package/dist/validation/developer-experience.d.ts.map +0 -1
  237. package/dist/validation/documentation-integration.d.ts +0 -269
  238. package/dist/validation/documentation-integration.d.ts.map +0 -1
  239. package/dist/validation/enhanced-runtime.d.ts +0 -279
  240. package/dist/validation/enhanced-runtime.d.ts.map +0 -1
  241. package/dist/validation/error-reporting.d.ts +0 -186
  242. package/dist/validation/error-reporting.d.ts.map +0 -1
  243. package/dist/validation/ide-integration.d.ts +0 -328
  244. package/dist/validation/ide-integration.d.ts.map +0 -1
  245. package/dist/validation/performance-optimizer.d.ts +0 -218
  246. package/dist/validation/performance-optimizer.d.ts.map +0 -1
  247. package/dist/validation/production-bypass.d.ts +0 -175
  248. package/dist/validation/production-bypass.d.ts.map +0 -1
  249. package/dist/validation/simple.d.ts +0 -111
  250. package/dist/validation/simple.d.ts.map +0 -1
  251. package/dist/viewport/adapters/web-adapter.d.ts +0 -227
  252. package/dist/viewport/adapters/web-adapter.d.ts.map +0 -1
  253. package/dist/viewport/components.d.ts +0 -131
  254. package/dist/viewport/components.d.ts.map +0 -1
  255. package/dist/viewport/environment.d.ts +0 -75
  256. package/dist/viewport/environment.d.ts.map +0 -1
  257. package/dist/viewport/index.d.ts +0 -138
  258. package/dist/viewport/index.d.ts.map +0 -1
  259. package/dist/viewport/index.js +0 -2085
  260. package/dist/viewport/platform-detection.d.ts +0 -59
  261. package/dist/viewport/platform-detection.d.ts.map +0 -1
  262. package/dist/viewport/types.d.ts +0 -301
  263. package/dist/viewport/types.d.ts.map +0 -1
  264. package/dist/viewport/viewport-manager.d.ts +0 -118
  265. package/dist/viewport/viewport-manager.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"advanced-parser.d.ts","sourceRoot":"","sources":["../../src/compiler/advanced-parser.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAiB,UAAU,EAAmC,MAAM,SAAS,CAAA;AAGlG,MAAM,WAAW,eAAgB,SAAQ,OAAO;IAC9C,IAAI,EAAE,aAAa,CAAA;IACnB,SAAS,EAAE,UAAU,CAAA;IACrB,QAAQ,EAAE,OAAO,EAAE,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAA;CACrB;AAED,MAAM,WAAW,WAAY,SAAQ,OAAO;IAC1C,IAAI,EAAE,SAAS,CAAA;IACf,QAAQ,EAAE,UAAU,CAAA;IACpB,cAAc,EAAE,MAAM,CAAA;IACtB,IAAI,EAAE,OAAO,EAAE,CAAA;CAChB;AAED,MAAM,WAAW,gBAAiB,SAAQ,OAAO;IAC/C,IAAI,EAAE,cAAc,CAAA;IACpB,UAAU,EAAE,MAAM,CAAA;IAClB,YAAY,CAAC,EAAE,UAAU,CAAA;CAC1B;AAED,MAAM,WAAW,mBAAoB,SAAQ,OAAO;IAClD,IAAI,EAAE,iBAAiB,CAAA;IACvB,OAAO,EAAE,OAAO,GAAG,UAAU,GAAG,QAAQ,CAAA;IACxC,UAAU,EAAE,MAAM,CAAA;IAClB,YAAY,CAAC,EAAE,UAAU,CAAA;CAC1B;AAED;;GAEG;AACH,qBAAa,qBAAqB;IAChC,OAAO,CAAC,IAAI,CAAQ;IACpB,OAAO,C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,OAAO,CAAC,iBAAiB;IAuBzB;;OAEG;IACH,OAAO,CAAC,sBAAsB;IA0E9B;;OAEG;IACH,OAAO,CAAC,qBAAqB;IA8C7B;;OAEG;IACH,OAAO,CAAC,sBAAsB;IAgE9B;;OAEG;IACH,OAAO,CAAC,iBAAiB;IAsCzB;;OAEG;IACH,OAAO,CAAC,mBAAmB;IA0B3B;;OAEG;IACH,OAAO,CAAC,iBAAiB;IAuCzB,OAAO,CAAC,kBAAkB;IA4D1B,OAAO,CAAC,kBAAkB;IA+B1B,OAAO,CAAC,eAAe;IAmBvB,OAAO,CAAC,gBAAgB;IAiCxB,OAAO,CAAC,KAAK;IAYb,OAAO,CAAC,cAAc;IAYtB,OAAO,CAAC,IAAI;IAIZ,OAAO,CAAC,OAAO;IAcf,OAAO,CAAC,OAAO;IAIf,OAAO,CAAC,YAAY;IAIpB,OAAO,CAAC,OAAO;IAIf,OAAO,CAAC,OAAO;IAIf,OAAO,CAAC,cAAc;IAItB,OAAO,CAAC,eAAe;CAOxB;AAED;;GAEG;AACH,wBAAgB,0BAA0B,CACxC,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,MAAM,GACf,OAAO,EAAE,CAGX"}
@@ -67,7 +67,9 @@ class f {
67
67
  this.advance(), this.skipWhitespace();
68
68
  const t = this.parseComplexExpression();
69
69
  if (!t)
70
- throw new Error(`Expected iterable expression in ForEach at line ${this.line}`);
70
+ throw new Error(
71
+ `Expected iterable expression in ForEach at line ${this.line}`
72
+ );
71
73
  this.skipWhitespace(), this.peek() === "," && (this.advance(), this.skipWhitespace()), this.match("id:") && (this.skipWhitespace(), this.parseComplexExpression()), this.skipWhitespace(), this.peek() === ")" && this.advance(), this.skipWhitespace();
72
74
  let i = "item";
73
75
  if (this.peek() === "{") {
@@ -99,11 +101,15 @@ class f {
99
101
  this.advance();
100
102
  const t = this.parseIdentifier();
101
103
  if (!t || !["State", "Computed", "Effect"].includes(t))
102
- throw new Error(`Unknown property wrapper @${t} at line ${this.line}`);
104
+ throw new Error(
105
+ `Unknown property wrapper @${t} at line ${this.line}`
106
+ );
103
107
  this.skipWhitespace();
104
108
  const i = this.parseIdentifier();
105
109
  if (!i)
106
- throw new Error(`Expected identifier after @${t} at line ${this.line}`);
110
+ throw new Error(
111
+ `Expected identifier after @${t} at line ${this.line}`
112
+ );
107
113
  let s;
108
114
  if (this.skipWhitespace(), this.peek() === "=") {
109
115
  this.advance(), this.skipWhitespace();
@@ -386,7 +392,7 @@ class f {
386
392
  "TextField",
387
393
  "Toggle",
388
394
  "Slider",
389
- "ScrollView",
395
+ // ScrollView moved to @tachui/mobile
390
396
  "LazyVStack",
391
397
  "LazyHStack"
392
398
  ].includes(s) : !1;
@@ -430,7 +436,7 @@ class f {
430
436
  };
431
437
  }
432
438
  }
433
- function V(r, e) {
439
+ function A(r, e) {
434
440
  return new f(r, e).parse();
435
441
  }
436
442
  var g = Object.defineProperty, L = (r, e, t) => e in r ? g(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, p = (r, e, t) => L(r, typeof e != "symbol" ? e + "" : e, t);
@@ -1009,7 +1015,7 @@ ${t}`;
1009
1015
  this.imports.clear(), this.variables = [], this.code = [], this.indentLevel = 0, this.dependencies.clear(), this.exports.clear();
1010
1016
  }
1011
1017
  }
1012
- function A(r, e = {}) {
1018
+ function V(r, e = {}) {
1013
1019
  return new C(e).generate(r);
1014
1020
  }
1015
1021
  var b = Object.defineProperty, y = (r, e, t) => e in r ? b(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, l = (r, e, t) => y(r, typeof e != "symbol" ? e + "" : e, t);
@@ -1383,7 +1389,7 @@ if (import.meta.hot) {
1383
1389
  export {
1384
1390
  I as createTachUIPlugin,
1385
1391
  k as generateDOMCode,
1386
- A as generateEnhancedDOMCode,
1387
- V as parseAdvancedSwiftUISyntax,
1392
+ V as generateEnhancedDOMCode,
1393
+ A as parseAdvancedSwiftUISyntax,
1388
1394
  x as parseSwiftUISyntax
1389
1395
  };
@@ -0,0 +1,487 @@
1
+ import { G as P, g as R, o as _ } from "./scheduler-BKeqwrYE.js";
2
+ import { c as y } from "./effect-B9Knft0b.js";
3
+ import { b as x } from "./dom-bridge-CAa1N2zX.js";
4
+ var K = Object.defineProperty, $ = (n, e, r) => e in n ? K(n, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : n[e] = r, f = (n, e, r) => $(n, typeof e != "symbol" ? e + "" : e, r);
5
+ class v {
6
+ constructor(e, r) {
7
+ this.validator = r, f(this, "propsSignal"), f(this, "childrenSignal"), f(this, "changedKeys", /* @__PURE__ */ new Set()), this.propsSignal = P(this.validateAndMergeProps(e)), this.childrenSignal = P(e.children), y(() => {
8
+ const t = this.propsSignal[0]();
9
+ this.trackChanges(t);
10
+ });
11
+ }
12
+ /**
13
+ * Get current props reactively
14
+ */
15
+ getProps() {
16
+ return this.propsSignal[0]();
17
+ }
18
+ /**
19
+ * Update props with validation and change detection
20
+ */
21
+ setProps(e) {
22
+ const r = this.propsSignal[0](), t = { ...r, ...e }, o = this.validateAndMergeProps(t);
23
+ this.changedKeys.clear(), Object.keys(e).forEach((i) => {
24
+ r[i] !== e[i] && this.changedKeys.add(i);
25
+ }), this.propsSignal[1](o), e.children !== void 0 && this.childrenSignal[1](e.children);
26
+ }
27
+ /**
28
+ * Get current children reactively
29
+ */
30
+ getChildren() {
31
+ return this.childrenSignal[0]();
32
+ }
33
+ /**
34
+ * Set children directly
35
+ */
36
+ setChildren(e) {
37
+ this.childrenSignal[1](e);
38
+ }
39
+ /**
40
+ * Get keys that changed in last update
41
+ */
42
+ getChangedKeys() {
43
+ return Array.from(this.changedKeys);
44
+ }
45
+ /**
46
+ * Create reactive computed for a specific prop
47
+ */
48
+ createPropComputed(e) {
49
+ return R(() => this.getProps()[e]);
50
+ }
51
+ /**
52
+ * Create effect that runs when specific props change
53
+ */
54
+ createPropsEffect(e, r) {
55
+ const t = y(() => {
56
+ const o = this.getProps(), i = this.getChangedKeys();
57
+ (i.length === 0 || e.some((l) => i.includes(l))) && r(
58
+ o,
59
+ i.filter((l) => e.includes(l))
60
+ );
61
+ });
62
+ return () => t.dispose();
63
+ }
64
+ validateAndMergeProps(e) {
65
+ let r = e;
66
+ if (this.validator?.defaults && (r = { ...this.validator.defaults, ...e }), this.validator?.required) {
67
+ for (const t of this.validator.required)
68
+ if (r[t] === void 0 || r[t] === null)
69
+ throw new Error(`Required prop '${String(t)}' is missing`);
70
+ }
71
+ if (this.validator?.validator) {
72
+ const t = this.validator.validator(r);
73
+ if (typeof t == "string")
74
+ throw new Error(`Props validation failed: ${t}`);
75
+ if (t === !1)
76
+ throw new Error("Props validation failed");
77
+ }
78
+ return r;
79
+ }
80
+ trackChanges(e) {
81
+ }
82
+ }
83
+ class d {
84
+ constructor(e = null) {
85
+ f(this, "childrenSignal"), this.childrenSignal = P(e);
86
+ }
87
+ /**
88
+ * Get current children reactively
89
+ */
90
+ getChildren() {
91
+ return this.childrenSignal[0]();
92
+ }
93
+ /**
94
+ * Set new children
95
+ */
96
+ setChildren(e) {
97
+ this.childrenSignal[1](e);
98
+ }
99
+ /**
100
+ * Render children to DOM nodes
101
+ */
102
+ renderChildren() {
103
+ const e = this.getChildren();
104
+ return this.renderChildrenArray(Array.isArray(e) ? e : [e]);
105
+ }
106
+ /**
107
+ * Create fragment with multiple children
108
+ */
109
+ createFragment(e) {
110
+ return { children: e };
111
+ }
112
+ /**
113
+ * Map children with a function
114
+ */
115
+ mapChildren(e) {
116
+ const r = this.getChildren();
117
+ return (Array.isArray(r) ? r : [r]).map(e);
118
+ }
119
+ /**
120
+ * Filter children
121
+ */
122
+ filterChildren(e) {
123
+ const r = this.getChildren();
124
+ return (Array.isArray(r) ? r : [r]).filter(e);
125
+ }
126
+ /**
127
+ * Count non-null children
128
+ */
129
+ countChildren() {
130
+ const e = this.getChildren();
131
+ return e == null ? 0 : Array.isArray(e) ? e.filter((r) => r != null).length : 1;
132
+ }
133
+ renderChildrenArray(e) {
134
+ const r = [];
135
+ for (const t of e)
136
+ if (t != null) {
137
+ if (typeof t == "string" || typeof t == "number")
138
+ r.push({
139
+ type: "text",
140
+ text: String(t)
141
+ });
142
+ else if (typeof t != "boolean") {
143
+ if (typeof t == "function") {
144
+ const o = t();
145
+ Array.isArray(o) ? r.push(...o) : r.push(o);
146
+ } else if (Array.isArray(t))
147
+ r.push(...this.renderChildrenArray(t));
148
+ else if (typeof t == "object" && "render" in t) {
149
+ const o = t.render();
150
+ Array.isArray(o) ? r.push(...o) : r.push(o);
151
+ }
152
+ }
153
+ }
154
+ return r;
155
+ }
156
+ }
157
+ class p {
158
+ constructor(e = null) {
159
+ f(this, "ref"), this.ref = { current: e };
160
+ }
161
+ /**
162
+ * Get the ref object
163
+ */
164
+ getRef() {
165
+ return this.ref;
166
+ }
167
+ /**
168
+ * Set ref value
169
+ */
170
+ setValue(e) {
171
+ this.ref.current = e;
172
+ }
173
+ /**
174
+ * Get current ref value
175
+ */
176
+ getValue() {
177
+ return this.ref.current;
178
+ }
179
+ /**
180
+ * Apply ref (handle both ref objects and callback refs)
181
+ */
182
+ static applyRef(e, r) {
183
+ e && (typeof e == "function" ? e(r) : typeof e == "object" && e !== null && (e.current = r));
184
+ }
185
+ /**
186
+ * Create a new ref
187
+ */
188
+ static createRef(e = null) {
189
+ return { current: e };
190
+ }
191
+ /**
192
+ * Forward ref to another component
193
+ */
194
+ static forwardRef(e) {
195
+ return (r) => {
196
+ const { ref: t, ...o } = r;
197
+ return e(o, t || void 0);
198
+ };
199
+ }
200
+ }
201
+ function B(n, e) {
202
+ return new v(n, e);
203
+ }
204
+ function G(n) {
205
+ return new d(n);
206
+ }
207
+ function I(n) {
208
+ return new p(n);
209
+ }
210
+ const b = {
211
+ /**
212
+ * Compare props for changes
213
+ */
214
+ compareProps(n, e) {
215
+ const r = [], t = /* @__PURE__ */ new Set([...Object.keys(n), ...Object.keys(e)]);
216
+ for (const o of t)
217
+ n[o] !== e[o] && r.push(o);
218
+ return r;
219
+ },
220
+ /**
221
+ * Shallow compare props
222
+ */
223
+ shallowEqual(n, e) {
224
+ const r = Object.keys(n), t = Object.keys(e);
225
+ if (r.length !== t.length)
226
+ return !1;
227
+ for (const o of r)
228
+ if (n[o] !== e[o])
229
+ return !1;
230
+ return !0;
231
+ },
232
+ /**
233
+ * Pick specific props
234
+ */
235
+ pickProps(n, e) {
236
+ const r = {};
237
+ for (const t of e)
238
+ r[t] = n[t];
239
+ return r;
240
+ },
241
+ /**
242
+ * Omit specific props
243
+ */
244
+ omitProps(n, e) {
245
+ const r = { ...n };
246
+ for (const t of e)
247
+ delete r[t];
248
+ return r;
249
+ }
250
+ }, L = (n) => new d(n).renderChildren();
251
+ var Q = Object.defineProperty, N = (n, e, r) => e in n ? Q(n, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : n[e] = r, u = (n, e, r) => N(n, typeof e != "symbol" ? e + "" : e, r);
252
+ const S = class h {
253
+ constructor() {
254
+ u(this, "components", /* @__PURE__ */ new Map()), u(this, "contexts", /* @__PURE__ */ new Map()), u(this, "cleanupQueue", /* @__PURE__ */ new Set()), u(this, "updateQueue", /* @__PURE__ */ new Set()), u(this, "isUpdating", !1);
255
+ }
256
+ static getInstance() {
257
+ return h.instance || (h.instance = new h()), h.instance;
258
+ }
259
+ /**
260
+ * Register a new component instance
261
+ */
262
+ registerComponent(e) {
263
+ this.components.set(e.id, e), e.cleanup && e.cleanup.forEach((r) => {
264
+ this.cleanupQueue.add(r);
265
+ });
266
+ }
267
+ /**
268
+ * Unregister and cleanup a component
269
+ */
270
+ unregisterComponent(e) {
271
+ const r = this.components.get(e);
272
+ r && (r.cleanup && r.cleanup.forEach((t) => {
273
+ try {
274
+ t();
275
+ } catch (o) {
276
+ console.error(`Cleanup error for component ${e}:`, o);
277
+ }
278
+ }), this.components.delete(e), r.context && this.cleanupContext(r.context.id));
279
+ }
280
+ /**
281
+ * Get component instance by ID
282
+ */
283
+ getComponent(e) {
284
+ return this.components.get(e);
285
+ }
286
+ /**
287
+ * Schedule component for update
288
+ */
289
+ scheduleUpdate(e) {
290
+ this.updateQueue.add(e), this.isUpdating || this.flushUpdates();
291
+ }
292
+ /**
293
+ * Process all scheduled updates
294
+ */
295
+ async flushUpdates() {
296
+ if (this.isUpdating) return;
297
+ this.isUpdating = !0, await new Promise((r) => queueMicrotask(() => r(void 0)));
298
+ const e = Array.from(this.updateQueue);
299
+ this.updateQueue.clear(), e.forEach((r) => {
300
+ const t = this.components.get(r);
301
+ if (t)
302
+ try {
303
+ this.updateComponent(t);
304
+ } catch (o) {
305
+ console.error(`Update error for component ${r}:`, o);
306
+ }
307
+ }), this.isUpdating = !1;
308
+ }
309
+ /**
310
+ * Update a specific component instance
311
+ */
312
+ updateComponent(e) {
313
+ e.props && (e.prevProps = { ...e.props }), e.render(), e.mounted || (e.mounted = !0);
314
+ }
315
+ /**
316
+ * Cleanup context by ID
317
+ */
318
+ cleanupContext(e) {
319
+ const r = this.contexts.get(e);
320
+ r && (r.cleanup.forEach((t) => {
321
+ try {
322
+ t();
323
+ } catch (o) {
324
+ console.error(`Context cleanup error for ${e}:`, o);
325
+ }
326
+ }), this.contexts.delete(e));
327
+ }
328
+ /**
329
+ * Get all registered components (for debugging)
330
+ */
331
+ getAllComponents() {
332
+ return Array.from(this.components.values());
333
+ }
334
+ /**
335
+ * Cleanup all components and resources
336
+ */
337
+ cleanup() {
338
+ Array.from(this.components.keys()).forEach((e) => {
339
+ this.unregisterComponent(e);
340
+ }), this.cleanupQueue.forEach((e) => {
341
+ try {
342
+ e();
343
+ } catch (r) {
344
+ console.error("Global cleanup error:", r);
345
+ }
346
+ }), this.cleanupQueue.clear(), this.updateQueue.clear();
347
+ }
348
+ };
349
+ u(S, "instance");
350
+ let O = S;
351
+ function m(n, e = {}) {
352
+ const r = (t) => {
353
+ const o = E(), i = O.getInstance(), s = [], l = x(o), C = new v(t, {
354
+ defaults: e.defaultProps || void 0,
355
+ ...e.validation
356
+ }), w = new d(t.children), U = new p();
357
+ let c, A = !1;
358
+ const M = {
359
+ type: "component",
360
+ render: () => {
361
+ if (e.lifecycle?.onMount && !A) {
362
+ const a = e.lifecycle.onMount();
363
+ typeof a == "function" && s.push(a), A = !0;
364
+ }
365
+ y(() => {
366
+ const a = C.getProps();
367
+ if (c && e.lifecycle?.onPropsChange) {
368
+ const g = b.compareProps(c, a);
369
+ g.length > 0 && e.lifecycle.onPropsChange(c, a, g);
370
+ }
371
+ c && e.lifecycle?.onUpdate && e.lifecycle.onUpdate(c, a), c = { ...a };
372
+ }), y(() => {
373
+ const a = w.getChildren();
374
+ e.lifecycle?.onChildrenChange && c && e.lifecycle.onChildrenChange(c.children, a);
375
+ }), _(() => {
376
+ e.lifecycle?.onUnmount && e.lifecycle.onUnmount(), s.forEach((a) => a()), i.unregisterComponent(o);
377
+ });
378
+ try {
379
+ e.lifecycle?.onRender && e.lifecycle.onRender();
380
+ const a = C.getProps(), g = w.getChildren();
381
+ return c && e.shouldUpdate && !e.shouldUpdate(c, a) ? [] : n(a, g);
382
+ } catch (a) {
383
+ throw e.lifecycle?.onError && e.lifecycle.onError(a), a;
384
+ }
385
+ },
386
+ props: C.getProps(),
387
+ children: w.getChildren(),
388
+ context: l,
389
+ cleanup: s,
390
+ id: o,
391
+ ref: t.ref,
392
+ mounted: !1
393
+ };
394
+ return t.ref && p.applyRef(t.ref, U.getRef()), i.registerComponent(M), M;
395
+ };
396
+ return e.displayName && (r.displayName = e.displayName), e.defaultProps && (r.defaultProps = e.defaultProps), r;
397
+ }
398
+ function E() {
399
+ return `component_${Date.now()}_${Math.random().toString(36).substr(2, 9)}`;
400
+ }
401
+ function V(n, e) {
402
+ const r = (t) => {
403
+ const o = n(t), i = o.cleanup || [], s = [];
404
+ if (e.onMount) {
405
+ const l = e.onMount();
406
+ typeof l == "function" && s.push(l);
407
+ }
408
+ return e.onUnmount && s.push(e.onUnmount), {
409
+ ...o,
410
+ cleanup: [...i, ...s]
411
+ };
412
+ };
413
+ return r.displayName = `withLifecycle(${n.displayName || "Component"})`, r;
414
+ }
415
+ function D(n) {
416
+ return m(n, {
417
+ shouldUpdate: (e, r) => !b.shallowEqual(e, r)
418
+ });
419
+ }
420
+ function z(n) {
421
+ return m(
422
+ (e, r) => {
423
+ const t = new d(r || e.children);
424
+ try {
425
+ return t.renderChildren();
426
+ } catch (o) {
427
+ return console.error("Component error caught by boundary:", o), n(o);
428
+ }
429
+ },
430
+ {
431
+ displayName: "ErrorBoundary",
432
+ lifecycle: {
433
+ onError: (e) => {
434
+ console.error("Error boundary caught error:", e);
435
+ }
436
+ }
437
+ }
438
+ );
439
+ }
440
+ function H(n, e = {}) {
441
+ return m((r, t) => {
442
+ const o = new v(r, e.validation), i = new d(t || r.children), s = new p();
443
+ return n(r, t || r.children, {
444
+ propsManager: o,
445
+ childrenManager: i,
446
+ refManager: s
447
+ });
448
+ }, e);
449
+ }
450
+ function J(n) {
451
+ const e = new d(n);
452
+ return {
453
+ type: "component",
454
+ render: () => e.renderChildren(),
455
+ props: { children: n },
456
+ children: n,
457
+ id: E()
458
+ };
459
+ }
460
+ function T(n = null) {
461
+ return p.createRef(n);
462
+ }
463
+ function W(n) {
464
+ return m((e) => {
465
+ const { ref: r, ...t } = e;
466
+ return n(t, r || void 0);
467
+ });
468
+ }
469
+ export {
470
+ O as C,
471
+ v as P,
472
+ p as R,
473
+ m as a,
474
+ J as b,
475
+ H as c,
476
+ D as d,
477
+ T as e,
478
+ W as f,
479
+ d as g,
480
+ G as h,
481
+ B as i,
482
+ I as j,
483
+ L as k,
484
+ z as l,
485
+ b as p,
486
+ V as w
487
+ };