@hyperfixi/core 3.3.0 → 4.0.1

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 (378) hide show
  1. package/README.md +57 -179
  2. package/dist/ast-utils/index.cjs +74 -806
  3. package/dist/ast-utils/index.d.ts +1 -1
  4. package/dist/ast-utils/index.mjs +74 -805
  5. package/dist/ast-utils/interchange/engine-positions.d.ts +3 -0
  6. package/dist/ast-utils/interchange/index.d.ts +1 -2
  7. package/dist/hyperfixi.js +19 -2
  8. package/dist/index.d.ts +2 -22
  9. package/dist/index.mjs +3 -29128
  10. package/dist/lsp-metadata.cjs +77 -73
  11. package/dist/lsp-metadata.d.ts +4 -4
  12. package/dist/lsp-metadata.mjs +77 -73
  13. package/dist/metadata.cjs +34 -266
  14. package/dist/metadata.d.ts +31 -26
  15. package/dist/metadata.mjs +34 -266
  16. package/dist/multilingual/index.cjs +16 -382
  17. package/dist/multilingual/index.d.ts +4 -32
  18. package/dist/multilingual/index.mjs +15 -377
  19. package/dist/reference/index.cjs +67 -216
  20. package/dist/reference/index.d.ts +0 -3
  21. package/dist/reference/index.mjs +68 -216
  22. package/dist/version.d.ts +1 -1
  23. package/package.json +13 -179
  24. package/dist/__test-utils__/context-builders.d.ts +0 -42
  25. package/dist/__test-utils__/error-testing.d.ts +0 -18
  26. package/dist/__test-utils__/index.d.ts +0 -6
  27. package/dist/__test-utils__/mock-types.d.ts +0 -57
  28. package/dist/__test-utils__/parser-context-mock.d.ts +0 -7
  29. package/dist/__test-utils__/parser-helpers.d.ts +0 -38
  30. package/dist/api/hyperscript-api.d.ts +0 -90
  31. package/dist/api/lokascript-api.d.ts +0 -9
  32. package/dist/ast/command-slots.d.ts +0 -140
  33. package/dist/ast/guards.d.ts +0 -15
  34. package/dist/ast/legacy.d.ts +0 -15
  35. package/dist/ast/nodes.d.ts +0 -243
  36. package/dist/ast-utils/interchange/from-core.d.ts +0 -12
  37. package/dist/ast-utils/interchange/to-core.d.ts +0 -8
  38. package/dist/behaviors/boosted.d.ts +0 -29
  39. package/dist/behaviors/history-swap.d.ts +0 -24
  40. package/dist/behaviors/index.cjs +0 -1155
  41. package/dist/behaviors/index.d.ts +0 -4
  42. package/dist/behaviors/index.mjs +0 -1145
  43. package/dist/bundle-generator/executor-core.d.ts +0 -4
  44. package/dist/bundle-generator/generator.d.ts +0 -4
  45. package/dist/bundle-generator/index.cjs +0 -2804
  46. package/dist/bundle-generator/index.d.ts +0 -6
  47. package/dist/bundle-generator/index.mjs +0 -2779
  48. package/dist/bundle-generator/parser-templates.d.ts +0 -6
  49. package/dist/bundle-generator/template-capabilities.d.ts +0 -12
  50. package/dist/bundle-generator/templates.d.ts +0 -12
  51. package/dist/bundle-generator/types.d.ts +0 -34
  52. package/dist/chunks/bridge-CI9SOl8u.js +0 -2
  53. package/dist/chunks/browser-modular-7CpI5VF2.js +0 -2
  54. package/dist/chunks/index-BwXDEK0m.js +0 -2
  55. package/dist/chunks/index-DQi2o8Lk.js +0 -2
  56. package/dist/chunks/index-uCOQ8Qn0.js +0 -2
  57. package/dist/commands/advanced/js.d.ts +0 -40
  58. package/dist/commands/animation/measure.d.ts +0 -43
  59. package/dist/commands/animation/settle.d.ts +0 -38
  60. package/dist/commands/animation/start-view-transition.d.ts +0 -38
  61. package/dist/commands/animation/take.d.ts +0 -41
  62. package/dist/commands/animation/transition.d.ts +0 -49
  63. package/dist/commands/async/fetch.d.ts +0 -61
  64. package/dist/commands/async/wait.d.ts +0 -51
  65. package/dist/commands/behaviors/install.d.ts +0 -40
  66. package/dist/commands/content/append.d.ts +0 -26
  67. package/dist/commands/content/insertion-base.d.ts +0 -60
  68. package/dist/commands/content/prepend.d.ts +0 -26
  69. package/dist/commands/control-flow/break.d.ts +0 -29
  70. package/dist/commands/control-flow/continue.d.ts +0 -29
  71. package/dist/commands/control-flow/exit.d.ts +0 -29
  72. package/dist/commands/control-flow/halt.d.ts +0 -39
  73. package/dist/commands/control-flow/if.d.ts +0 -58
  74. package/dist/commands/control-flow/repeat.d.ts +0 -50
  75. package/dist/commands/control-flow/return.d.ts +0 -33
  76. package/dist/commands/control-flow/signal-base.d.ts +0 -18
  77. package/dist/commands/control-flow/throw.d.ts +0 -34
  78. package/dist/commands/control-flow/unless.d.ts +0 -3
  79. package/dist/commands/data/clear.d.ts +0 -37
  80. package/dist/commands/data/decrement.d.ts +0 -3
  81. package/dist/commands/data/default.d.ts +0 -60
  82. package/dist/commands/data/get.d.ts +0 -35
  83. package/dist/commands/data/increment.d.ts +0 -42
  84. package/dist/commands/data/set.d.ts +0 -76
  85. package/dist/commands/decorators/index.d.ts +0 -14
  86. package/dist/commands/dom/add.d.ts +0 -44
  87. package/dist/commands/dom/close.d.ts +0 -32
  88. package/dist/commands/dom/dom-modification-base.d.ts +0 -48
  89. package/dist/commands/dom/empty.d.ts +0 -32
  90. package/dist/commands/dom/hide.d.ts +0 -28
  91. package/dist/commands/dom/make.d.ts +0 -34
  92. package/dist/commands/dom/open.d.ts +0 -34
  93. package/dist/commands/dom/process-partials.d.ts +0 -51
  94. package/dist/commands/dom/put.d.ts +0 -42
  95. package/dist/commands/dom/remove.d.ts +0 -46
  96. package/dist/commands/dom/reset.d.ts +0 -32
  97. package/dist/commands/dom/select.d.ts +0 -32
  98. package/dist/commands/dom/show.d.ts +0 -29
  99. package/dist/commands/dom/swap.d.ts +0 -65
  100. package/dist/commands/dom/toggle.d.ts +0 -69
  101. package/dist/commands/dom/visibility-base.d.ts +0 -22
  102. package/dist/commands/events/send.d.ts +0 -3
  103. package/dist/commands/events/trigger.d.ts +0 -49
  104. package/dist/commands/execution/blur.d.ts +0 -32
  105. package/dist/commands/execution/call.d.ts +0 -35
  106. package/dist/commands/execution/focus.d.ts +0 -32
  107. package/dist/commands/execution/pseudo-command.d.ts +0 -41
  108. package/dist/commands/helpers/attribute-manipulation.d.ts +0 -11
  109. package/dist/commands/helpers/attribute-target.d.ts +0 -9
  110. package/dist/commands/helpers/batch-dom-operations.d.ts +0 -12
  111. package/dist/commands/helpers/body-ops.d.ts +0 -10
  112. package/dist/commands/helpers/class-manipulation.d.ts +0 -11
  113. package/dist/commands/helpers/condition-helpers.d.ts +0 -4
  114. package/dist/commands/helpers/dom-mutation.d.ts +0 -16
  115. package/dist/commands/helpers/duration-parsing.d.ts +0 -8
  116. package/dist/commands/helpers/element-property-access.d.ts +0 -7
  117. package/dist/commands/helpers/element-resolution.d.ts +0 -16
  118. package/dist/commands/helpers/error-helpers.d.ts +0 -17
  119. package/dist/commands/helpers/event-helpers.d.ts +0 -13
  120. package/dist/commands/helpers/event-waiting.d.ts +0 -37
  121. package/dist/commands/helpers/index.d.ts +0 -32
  122. package/dist/commands/helpers/input-validator.d.ts +0 -23
  123. package/dist/commands/helpers/loop-executor.d.ts +0 -56
  124. package/dist/commands/helpers/numeric-target-parser.d.ts +0 -21
  125. package/dist/commands/helpers/property-target.d.ts +0 -20
  126. package/dist/commands/helpers/selector-type-detection.d.ts +0 -24
  127. package/dist/commands/helpers/slots.d.ts +0 -5
  128. package/dist/commands/helpers/smart-element.d.ts +0 -16
  129. package/dist/commands/helpers/style-manipulation.d.ts +0 -16
  130. package/dist/commands/helpers/target-elements.d.ts +0 -5
  131. package/dist/commands/helpers/temporal-modifiers.d.ts +0 -15
  132. package/dist/commands/helpers/url-argument-parser.d.ts +0 -13
  133. package/dist/commands/helpers/url-validation.d.ts +0 -7
  134. package/dist/commands/helpers/variable-access.d.ts +0 -13
  135. package/dist/commands/helpers/visibility-target-parser.d.ts +0 -15
  136. package/dist/commands/helpers/write-target.d.ts +0 -42
  137. package/dist/commands/index.cjs +0 -24168
  138. package/dist/commands/index.d.ts +0 -171
  139. package/dist/commands/index.mjs +0 -23981
  140. package/dist/commands/manifest.d.ts +0 -17
  141. package/dist/commands/navigation/go.d.ts +0 -58
  142. package/dist/commands/navigation/push-url.d.ts +0 -48
  143. package/dist/commands/navigation/replace-url.d.ts +0 -3
  144. package/dist/commands/navigation/scroll-to.d.ts +0 -43
  145. package/dist/commands/templates/render.d.ts +0 -47
  146. package/dist/commands/utility/beep.d.ts +0 -41
  147. package/dist/commands/utility/breakpoint.d.ts +0 -32
  148. package/dist/commands/utility/copy.d.ts +0 -41
  149. package/dist/commands/utility/log.d.ts +0 -36
  150. package/dist/commands/utility/pick.d.ts +0 -47
  151. package/dist/commands/utility/tell.d.ts +0 -39
  152. package/dist/compatibility/browser-bundle-classic.d.ts +0 -17
  153. package/dist/compatibility/browser-bundle-hybrid-complete.d.ts +0 -22
  154. package/dist/compatibility/browser-bundle-hybrid-hx.d.ts +0 -43
  155. package/dist/compatibility/browser-bundle-lite.d.ts +0 -15
  156. package/dist/compatibility/browser-bundle-modular.d.ts +0 -18
  157. package/dist/compatibility/browser-bundle-multilingual.d.ts +0 -19
  158. package/dist/compatibility/browser-bundle-semantic-complete.d.ts +0 -24
  159. package/dist/compatibility/browser-bundle-textshelf-minimal.d.ts +0 -16
  160. package/dist/compatibility/browser-bundle-textshelf-profile.d.ts +0 -18
  161. package/dist/compatibility/browser-modular.d.ts +0 -42
  162. package/dist/compatibility/browser-tests/helpers/semantic-page.d.ts +0 -3
  163. package/dist/compatibility/browser-tests/test-utils.d.ts +0 -21
  164. package/dist/compatibility/bundle-shell.d.ts +0 -13
  165. package/dist/compatibility/bundle-sources.d.ts +0 -4
  166. package/dist/compatibility/eval-hyperscript.d.ts +0 -16
  167. package/dist/compatibility/hyperscript-adapter.d.ts +0 -38
  168. package/dist/core/ast-property-utils.d.ts +0 -2
  169. package/dist/core/context.d.ts +0 -19
  170. package/dist/core/dom.d.ts +0 -15
  171. package/dist/core/evaluator-types.d.ts +0 -5
  172. package/dist/core/events.d.ts +0 -48
  173. package/dist/core/executor.d.ts +0 -34
  174. package/dist/core/expression-evaluator.d.ts +0 -6
  175. package/dist/core/expression-registry.d.ts +0 -8
  176. package/dist/core/scope-hooks.d.ts +0 -24
  177. package/dist/debug/debug-controller.d.ts +0 -62
  178. package/dist/debug/index.d.ts +0 -5
  179. package/dist/dom/attribute-processor.d.ts +0 -75
  180. package/dist/dom/detect-language.d.ts +0 -3
  181. package/dist/dom/minimal-attribute-processor.d.ts +0 -20
  182. package/dist/expressions/base-expression.d.ts +0 -27
  183. package/dist/expressions/bundles/common-expressions.d.ts +0 -10
  184. package/dist/expressions/bundles/core-expressions.d.ts +0 -8
  185. package/dist/expressions/bundles/full-expressions.d.ts +0 -11
  186. package/dist/expressions/bundles/index.d.ts +0 -7
  187. package/dist/expressions/collection/index.d.ts +0 -10
  188. package/dist/expressions/conversion/index.d.ts +0 -31
  189. package/dist/expressions/expression-tiers.d.ts +0 -13
  190. package/dist/expressions/index.cjs +0 -4331
  191. package/dist/expressions/index.d.ts +0 -13
  192. package/dist/expressions/index.mjs +0 -4312
  193. package/dist/expressions/logical/index.d.ts +0 -61
  194. package/dist/expressions/mathematical/index.d.ts +0 -80
  195. package/dist/expressions/positional/index.d.ts +0 -31
  196. package/dist/expressions/properties/index.d.ts +0 -27
  197. package/dist/expressions/property-access-utils.d.ts +0 -23
  198. package/dist/expressions/references/index.d.ts +0 -39
  199. package/dist/expressions/shared/comparison-utils.d.ts +0 -10
  200. package/dist/expressions/shared/index.d.ts +0 -10
  201. package/dist/expressions/shared/number-utils.d.ts +0 -8
  202. package/dist/expressions/shared/tracking.d.ts +0 -20
  203. package/dist/expressions/shared/validation-utils.d.ts +0 -13
  204. package/dist/expressions/special/index.d.ts +0 -78
  205. package/dist/expressions/type-helpers.d.ts +0 -11
  206. package/dist/expressions/type-registry.d.ts +0 -57
  207. package/dist/expressions/validation-helpers.d.ts +0 -15
  208. package/dist/htmx/hcon.d.ts +0 -9
  209. package/dist/htmx/htmx-attribute-processor.d.ts +0 -120
  210. package/dist/htmx/htmx-translator.d.ts +0 -22
  211. package/dist/htmx/i18n-hooks.d.ts +0 -18
  212. package/dist/htmx/i18n-orchestrator.d.ts +0 -16
  213. package/dist/htmx/index.d.ts +0 -3
  214. package/dist/htmx/lang-resolver.d.ts +0 -3
  215. package/dist/htmx/sse.d.ts +0 -60
  216. package/dist/htmx/ws.d.ts +0 -59
  217. package/dist/hyperfixi-browser-classic-i18n.js +0 -2
  218. package/dist/hyperfixi-browser.js +0 -2
  219. package/dist/hyperfixi-classic-i18n.js +0 -2
  220. package/dist/hyperfixi-hx-v4.js +0 -1
  221. package/dist/hyperfixi-hx.js +0 -1
  222. package/dist/hyperfixi-hybrid-complete.js +0 -1
  223. package/dist/hyperfixi-hybrid-hx.js +0 -1
  224. package/dist/hyperfixi-multilingual.js +0 -2
  225. package/dist/hyperfixi.mjs +0 -2
  226. package/dist/i18n/error-catalog.d.ts +0 -12
  227. package/dist/index.cjs +0 -29159
  228. package/dist/index.min.js +0 -2
  229. package/dist/lib/dom-globals-shim.d.ts +0 -2
  230. package/dist/lib/index.d.ts +0 -4
  231. package/dist/lib/morph-adapter.d.ts +0 -9
  232. package/dist/lib/swap-executor.d.ts +0 -12
  233. package/dist/lib/view-transitions.d.ts +0 -7
  234. package/dist/lokascript-browser-classic-i18n.js +0 -2
  235. package/dist/lokascript-browser.js +0 -2
  236. package/dist/lokascript-hybrid-complete.js +0 -1
  237. package/dist/lokascript-hybrid-hx.js +0 -1
  238. package/dist/lokascript-multilingual.js +0 -2
  239. package/dist/lse/index.cjs +0 -84
  240. package/dist/lse/index.d.ts +0 -15
  241. package/dist/lse/index.mjs +0 -71
  242. package/dist/multilingual/bridge.d.ts +0 -38
  243. package/dist/multilingual/schema-roles.d.ts +0 -3
  244. package/dist/parser/__types__/test-helpers.d.ts +0 -25
  245. package/dist/parser/command-grammar.d.ts +0 -14
  246. package/dist/parser/command-node-builder.d.ts +0 -46
  247. package/dist/parser/command-parsers/animation-commands.d.ts +0 -6
  248. package/dist/parser/command-parsers/async-commands.d.ts +0 -5
  249. package/dist/parser/command-parsers/control-flow-commands.d.ts +0 -7
  250. package/dist/parser/command-parsers/declared-commands.d.ts +0 -6
  251. package/dist/parser/command-parsers/dom-commands.d.ts +0 -11
  252. package/dist/parser/command-parsers/event-commands.d.ts +0 -4
  253. package/dist/parser/command-parsers/navigation-commands.d.ts +0 -6
  254. package/dist/parser/command-parsers/utility-commands.d.ts +0 -14
  255. package/dist/parser/command-parsers/variable-commands.d.ts +0 -12
  256. package/dist/parser/error-handler.d.ts +0 -34
  257. package/dist/parser/extensions.d.ts +0 -43
  258. package/dist/parser/full-parser.cjs +0 -7943
  259. package/dist/parser/full-parser.d.ts +0 -4
  260. package/dist/parser/full-parser.mjs +0 -7940
  261. package/dist/parser/helpers/ast-helpers.d.ts +0 -24
  262. package/dist/parser/helpers/parsing-helpers.d.ts +0 -19
  263. package/dist/parser/helpers/token-helpers.d.ts +0 -28
  264. package/dist/parser/hybrid/aliases.cjs +0 -44
  265. package/dist/parser/hybrid/aliases.d.ts +0 -7
  266. package/dist/parser/hybrid/aliases.mjs +0 -37
  267. package/dist/parser/hybrid/ast-types.cjs +0 -3
  268. package/dist/parser/hybrid/ast-types.d.ts +0 -97
  269. package/dist/parser/hybrid/ast-types.mjs +0 -2
  270. package/dist/parser/hybrid/index.cjs +0 -1185
  271. package/dist/parser/hybrid/index.d.ts +0 -6
  272. package/dist/parser/hybrid/index.mjs +0 -1175
  273. package/dist/parser/hybrid/parser-core.cjs +0 -1171
  274. package/dist/parser/hybrid/parser-core.d.ts +0 -69
  275. package/dist/parser/hybrid/parser-core.mjs +0 -1169
  276. package/dist/parser/hybrid/tokenizer.cjs +0 -255
  277. package/dist/parser/hybrid/tokenizer.d.ts +0 -9
  278. package/dist/parser/hybrid/tokenizer.mjs +0 -252
  279. package/dist/parser/hybrid-parser.cjs +0 -1249
  280. package/dist/parser/hybrid-parser.d.ts +0 -10
  281. package/dist/parser/hybrid-parser.mjs +0 -1242
  282. package/dist/parser/parser-constants.d.ts +0 -100
  283. package/dist/parser/parser-interface.d.ts +0 -12
  284. package/dist/parser/parser-types.d.ts +0 -164
  285. package/dist/parser/parser.d.ts +0 -165
  286. package/dist/parser/pratt-parser.d.ts +0 -41
  287. package/dist/parser/regex-parser.cjs +0 -422
  288. package/dist/parser/regex-parser.d.ts +0 -4
  289. package/dist/parser/regex-parser.mjs +0 -419
  290. package/dist/parser/runtime.d.ts +0 -14
  291. package/dist/parser/semantic-integration.d.ts +0 -17
  292. package/dist/parser/token-consumer.d.ts +0 -34
  293. package/dist/parser/token-predicates.d.ts +0 -77
  294. package/dist/parser/tokenizer.d.ts +0 -28
  295. package/dist/parser/types.d.ts +0 -105
  296. package/dist/performance/expression-cache.d.ts +0 -78
  297. package/dist/performance/integration.d.ts +0 -40
  298. package/dist/performance/production-monitor.d.ts +0 -67
  299. package/dist/registry/browser-types.cjs +0 -81
  300. package/dist/registry/browser-types.d.ts +0 -20
  301. package/dist/registry/browser-types.mjs +0 -76
  302. package/dist/registry/environment.cjs +0 -36
  303. package/dist/registry/environment.d.ts +0 -19
  304. package/dist/registry/environment.mjs +0 -30
  305. package/dist/registry/event-source-registry.d.ts +0 -54
  306. package/dist/registry/examples/server-commands.d.ts +0 -6
  307. package/dist/registry/examples/server-event-source.d.ts +0 -32
  308. package/dist/registry/index.cjs +0 -14055
  309. package/dist/registry/index.d.ts +0 -39
  310. package/dist/registry/index.mjs +0 -14039
  311. package/dist/registry/runtime-integration.d.ts +0 -23
  312. package/dist/registry/universal-types.cjs +0 -91
  313. package/dist/registry/universal-types.d.ts +0 -35
  314. package/dist/registry/universal-types.mjs +0 -86
  315. package/dist/runtime/cleanup-registry.d.ts +0 -47
  316. package/dist/runtime/command-adapter.d.ts +0 -69
  317. package/dist/runtime/environment.d.ts +0 -75
  318. package/dist/runtime/plugin.d.ts +0 -14
  319. package/dist/runtime/runtime-base.d.ts +0 -100
  320. package/dist/runtime/runtime-factory.d.ts +0 -29
  321. package/dist/runtime/runtime.d.ts +0 -20
  322. package/dist/runtime/temporal-modifiers.d.ts +0 -37
  323. package/dist/test-setup.d.ts +0 -28
  324. package/dist/test-utilities.d.ts +0 -39
  325. package/dist/types/base-types.d.ts +0 -231
  326. package/dist/types/code-fix.d.ts +0 -39
  327. package/dist/types/command-metadata.d.ts +0 -57
  328. package/dist/types/command-types.d.ts +0 -262
  329. package/dist/types/context-types.d.ts +0 -106
  330. package/dist/types/core-context.d.ts +0 -22
  331. package/dist/types/core.d.ts +0 -143
  332. package/dist/types/error-codes.d.ts +0 -207
  333. package/dist/types/expression-types.d.ts +0 -155
  334. package/dist/types/hooks.d.ts +0 -45
  335. package/dist/types/index.d.ts +0 -32
  336. package/dist/types/program.d.ts +0 -8
  337. package/dist/types/result.d.ts +0 -73
  338. package/dist/types/template-types.d.ts +0 -162
  339. package/dist/types/type-guards.d.ts +0 -24
  340. package/dist/types/unified-types.d.ts +0 -91
  341. package/dist/utils/beep.d.ts +0 -8
  342. package/dist/utils/debug-events.d.ts +0 -41
  343. package/dist/utils/debug.d.ts +0 -35
  344. package/dist/utils/dom-utils.d.ts +0 -16
  345. package/dist/utils/element-check.d.ts +0 -8
  346. package/dist/utils/keyboard-shortcuts.d.ts +0 -18
  347. package/dist/utils/performance.d.ts +0 -40
  348. package/dist/validation/command-pattern-validator.d.ts +0 -53
  349. package/dist/validation/common-validators.d.ts +0 -24
  350. package/dist/validation/lightweight-validators.d.ts +0 -113
  351. package/dist/validation/partial-validation-types.d.ts +0 -50
  352. package/dist/validation/partial-validator.d.ts +0 -6
  353. package/dist/validation/partial-warning-formatter.d.ts +0 -6
  354. package/dist/validation/validate-cli.d.ts +0 -41
  355. package/vocab/htmx/ar.js +0 -62
  356. package/vocab/htmx/bn.js +0 -65
  357. package/vocab/htmx/de.js +0 -83
  358. package/vocab/htmx/en.js +0 -24
  359. package/vocab/htmx/es.js +0 -79
  360. package/vocab/htmx/fr.js +0 -79
  361. package/vocab/htmx/he.js +0 -61
  362. package/vocab/htmx/hi.js +0 -81
  363. package/vocab/htmx/id.js +0 -76
  364. package/vocab/htmx/it.js +0 -79
  365. package/vocab/htmx/ja.js +0 -85
  366. package/vocab/htmx/ko.js +0 -81
  367. package/vocab/htmx/ms.js +0 -58
  368. package/vocab/htmx/pl.js +0 -80
  369. package/vocab/htmx/pt.js +0 -81
  370. package/vocab/htmx/qu.js +0 -83
  371. package/vocab/htmx/ru.js +0 -82
  372. package/vocab/htmx/sw.js +0 -79
  373. package/vocab/htmx/th.js +0 -67
  374. package/vocab/htmx/tl.js +0 -56
  375. package/vocab/htmx/tr.js +0 -86
  376. package/vocab/htmx/uk.js +0 -82
  377. package/vocab/htmx/vi.js +0 -59
  378. package/vocab/htmx/zh.js +0 -79
@@ -1,53 +0,0 @@
1
- export interface PatternValidationResult {
2
- isEnhanced: boolean;
3
- score: number;
4
- passed: string[];
5
- failed: string[];
6
- suggestions: string[];
7
- details: {
8
- hasCorrectInterface: boolean;
9
- hasRequiredProperties: boolean;
10
- hasProperMetadata: boolean;
11
- hasValidation: boolean;
12
- hasFactoryFunction: boolean;
13
- hasBundleAnnotations: boolean;
14
- hasAsyncExecute: boolean;
15
- };
16
- }
17
- export interface CommandAnalysis {
18
- commandName: string;
19
- filePath: string;
20
- validation: PatternValidationResult;
21
- recommendations: string[];
22
- }
23
- export declare class CommandPatternValidator {
24
- static validateCommand(CommandClass: new () => unknown, factoryFunction?: Function, sourceCode?: string): PatternValidationResult;
25
- private static validateInterface;
26
- private static validateRequiredProperties;
27
- private static validateMetadataQuality;
28
- private static validateValidationMethod;
29
- private static validateBundleAnnotations;
30
- private static validateAsyncExecute;
31
- }
32
- export declare class CommandSuiteValidator {
33
- static validateCommandSuite(commands: Array<{
34
- name: string;
35
- filePath: string;
36
- CommandClass: any;
37
- factoryFunction?: Function;
38
- }>): Promise<{
39
- overall: {
40
- total: number;
41
- enhanced: number;
42
- averageScore: number;
43
- needsWork: number;
44
- };
45
- commands: CommandAnalysis[];
46
- recommendations: string[];
47
- }>;
48
- }
49
- export declare class ValidationReporter {
50
- static printCommandValidation(analysis: CommandAnalysis): void;
51
- static printSuiteValidation(result: Awaited<ReturnType<typeof CommandSuiteValidator.validateCommandSuite>>): void;
52
- }
53
- //# sourceMappingURL=command-pattern-validator.d.ts.map
@@ -1,24 +0,0 @@
1
- import type { RuntimeValidator } from './lightweight-validators';
2
- export declare const htmlElement: RuntimeValidator<HTMLElement>;
3
- export declare const htmlElementArray: RuntimeValidator<HTMLElement[]>;
4
- export declare const htmlElementOrNull: RuntimeValidator<HTMLElement | null | undefined>;
5
- export declare const elementTarget: RuntimeValidator<HTMLElement | HTMLElement[] | string | null | undefined>;
6
- export declare const nodeList: RuntimeValidator<NodeList>;
7
- export declare const htmlCollection: RuntimeValidator<HTMLCollection>;
8
- export declare const cssSelector: RuntimeValidator<string>;
9
- export declare const cssClassName: RuntimeValidator<string>;
10
- export declare const attributeName: RuntimeValidator<string>;
11
- export declare const eventName: RuntimeValidator<string>;
12
- export declare const validators: {
13
- htmlElement: RuntimeValidator<HTMLElement>;
14
- htmlElementArray: RuntimeValidator<HTMLElement[]>;
15
- htmlElementOrNull: RuntimeValidator<HTMLElement | null | undefined>;
16
- elementTarget: RuntimeValidator<string | HTMLElement | HTMLElement[] | null | undefined>;
17
- nodeList: RuntimeValidator<NodeList>;
18
- htmlCollection: RuntimeValidator<HTMLCollection>;
19
- cssSelector: RuntimeValidator<string>;
20
- cssClassName: RuntimeValidator<string>;
21
- attributeName: RuntimeValidator<string>;
22
- eventName: RuntimeValidator<string>;
23
- };
24
- //# sourceMappingURL=common-validators.d.ts.map
@@ -1,113 +0,0 @@
1
- import type { ValidationError } from '../types/base-types';
2
- export interface ValidationResult<T = unknown> {
3
- success: boolean;
4
- data?: T | undefined;
5
- error?: ValidationError | undefined;
6
- }
7
- export interface RuntimeValidator<T = unknown> {
8
- validate(value: unknown): ValidationResult<T>;
9
- safeParse(value: unknown): {
10
- success: boolean;
11
- data?: T;
12
- error?: {
13
- errors: ValidationError[];
14
- };
15
- };
16
- description?: string;
17
- describe(description: string): RuntimeValidator<T>;
18
- strict(): RuntimeValidator<T>;
19
- optional(): RuntimeValidator<T | undefined>;
20
- default(value: T): RuntimeValidator<T>;
21
- min(value: number): RuntimeValidator<T>;
22
- max(value: number): RuntimeValidator<T>;
23
- url(): RuntimeValidator<T>;
24
- email(): RuntimeValidator<T>;
25
- uuid(): RuntimeValidator<T>;
26
- regex(pattern: RegExp): RuntimeValidator<T>;
27
- date(): RuntimeValidator<T>;
28
- rest(): RuntimeValidator<T>;
29
- parse(value: unknown): T;
30
- merge(other: RuntimeValidator<any>): RuntimeValidator<T>;
31
- refine(refineFn: (value: T) => boolean, errorMessage?: string): RuntimeValidator<T>;
32
- _defaultValue?: T;
33
- _isOptional?: boolean;
34
- _baseValidator?: RuntimeValidator<any>;
35
- }
36
- export interface StringValidatorOptions {
37
- minLength?: number;
38
- maxLength?: number;
39
- pattern?: RegExp;
40
- optional?: boolean;
41
- description?: string;
42
- }
43
- export declare function createStringValidator(options?: StringValidatorOptions): RuntimeValidator<string>;
44
- export declare function createObjectValidator<T extends Record<string, RuntimeValidator>>(fields: T, options?: {
45
- strict?: boolean;
46
- } | undefined): RuntimeValidator<{
47
- [K in keyof T]: T[K] extends RuntimeValidator<infer U> ? U : never;
48
- }>;
49
- export declare function createArrayValidator<T>(itemValidator: RuntimeValidator<T>): RuntimeValidator<T[]>;
50
- export declare function createTupleValidator<T extends readonly RuntimeValidator[]>(validators: T): RuntimeValidator<{
51
- [K in keyof T]: T[K] extends RuntimeValidator<infer U> ? U : never;
52
- }>;
53
- export declare function createUnionValidator<T>(validators: RuntimeValidator<T>[]): RuntimeValidator<T>;
54
- export declare function createLiteralValidator<T extends string | number | boolean>(literalValue: T): RuntimeValidator<T>;
55
- export declare function createNumberValidator(options?: {
56
- min?: number;
57
- max?: number;
58
- }): RuntimeValidator<number>;
59
- export declare function createBooleanValidator(): RuntimeValidator<boolean>;
60
- export declare function createCustomValidator<T>(validator: (value: unknown) => boolean, errorMessage?: string): RuntimeValidator<T>;
61
- export declare function createRecordValidator<K extends string | number | symbol, V>(keyValidator: RuntimeValidator<K>, valueValidator: RuntimeValidator<V>): RuntimeValidator<Record<K, V>>;
62
- export declare function createEnumValidator<T extends readonly string[]>(values: T): RuntimeValidator<T[number]>;
63
- export declare const v: {
64
- string: (options?: StringValidatorOptions) => RuntimeValidator<string>;
65
- number: (options?: {
66
- min?: number;
67
- max?: number;
68
- }) => RuntimeValidator<number>;
69
- boolean: () => RuntimeValidator<boolean>;
70
- object: (fields: any) => RuntimeValidator<{
71
- [x: string]: unknown;
72
- }>;
73
- array: (itemValidator: any) => RuntimeValidator<unknown[]>;
74
- tuple: (validators: any) => RuntimeValidator<unknown[]>;
75
- union: (validators: any) => RuntimeValidator<unknown>;
76
- literal: (value: any) => RuntimeValidator<any>;
77
- custom: (validator: any, errorMessage?: string) => RuntimeValidator<unknown>;
78
- record: (keyValidator: any, valueValidator: any) => RuntimeValidator<Record<string | number | symbol, unknown>>;
79
- enum: (values: readonly string[]) => RuntimeValidator<string>;
80
- function: () => RuntimeValidator<unknown>;
81
- unknown: () => RuntimeValidator<unknown>;
82
- any: () => RuntimeValidator<any>;
83
- null: () => RuntimeValidator<unknown>;
84
- undefined: () => RuntimeValidator<unknown>;
85
- instanceOf: (constructor: any) => RuntimeValidator<unknown>;
86
- instanceof: (constructor: any) => RuntimeValidator<unknown>;
87
- };
88
- export declare const z: {
89
- string: (options?: StringValidatorOptions) => RuntimeValidator<string>;
90
- number: (options?: {
91
- min?: number;
92
- max?: number;
93
- }) => RuntimeValidator<number>;
94
- boolean: () => RuntimeValidator<boolean>;
95
- object: (fields: any) => RuntimeValidator<{
96
- [x: string]: unknown;
97
- }>;
98
- array: (itemValidator: any) => RuntimeValidator<unknown[]>;
99
- tuple: (validators: any) => RuntimeValidator<unknown[]>;
100
- union: (validators: any) => RuntimeValidator<unknown>;
101
- literal: (value: any) => RuntimeValidator<any>;
102
- custom: (validator: any, errorMessage?: string) => RuntimeValidator<unknown>;
103
- record: (keyValidator: any, valueValidator: any) => RuntimeValidator<Record<string | number | symbol, unknown>>;
104
- enum: (values: readonly string[]) => RuntimeValidator<string>;
105
- function: () => RuntimeValidator<unknown>;
106
- unknown: () => RuntimeValidator<unknown>;
107
- any: () => RuntimeValidator<any>;
108
- null: () => RuntimeValidator<unknown>;
109
- undefined: () => RuntimeValidator<unknown>;
110
- instanceOf: (constructor: any) => RuntimeValidator<unknown>;
111
- instanceof: (constructor: any) => RuntimeValidator<unknown>;
112
- };
113
- //# sourceMappingURL=lightweight-validators.d.ts.map
@@ -1,50 +0,0 @@
1
- export type PartialValidationSeverity = 'critical' | 'structural' | 'warning';
2
- export type LayoutElementCategory = 'document-root' | 'semantic-landmark' | 'sectioning' | 'metadata' | 'script-style';
3
- export interface PartialValidationIssue {
4
- severity: PartialValidationSeverity;
5
- category: LayoutElementCategory;
6
- element: string;
7
- message: string;
8
- suggestion: string;
9
- targetSelector?: string;
10
- count: number;
11
- }
12
- export interface PartialValidationResult {
13
- valid: boolean;
14
- issues: PartialValidationIssue[];
15
- bySeverity: {
16
- critical: PartialValidationIssue[];
17
- structural: PartialValidationIssue[];
18
- warning: PartialValidationIssue[];
19
- };
20
- totalIssues: number;
21
- shouldProceed: true;
22
- }
23
- export interface PartialValidationConfig {
24
- enabled: boolean;
25
- showWarnings: boolean;
26
- strictness: 'relaxed' | 'standard' | 'strict';
27
- additionalCriticalElements?: string[];
28
- additionalStructuralElements?: string[];
29
- ignoredElements?: string[];
30
- ignoredTargets?: string[];
31
- customValidator?: (html: string, target: string) => PartialValidationIssue[];
32
- }
33
- export interface TargetValidationOverride {
34
- target: string;
35
- config: Partial<PartialValidationConfig>;
36
- }
37
- export interface GlobalPartialValidationConfig extends PartialValidationConfig {
38
- targetOverrides?: TargetValidationOverride[];
39
- }
40
- export interface LayoutElementDefinition {
41
- category: LayoutElementCategory;
42
- message: string;
43
- suggestion?: string;
44
- }
45
- export type LayoutElementMap = Record<string, LayoutElementDefinition>;
46
- export type ValidatedPartialContent = string & {
47
- readonly __brand: 'ValidatedPartialContent';
48
- };
49
- export declare function isValidatedContent(content: string): content is ValidatedPartialContent;
50
- //# sourceMappingURL=partial-validation-types.d.ts.map
@@ -1,6 +0,0 @@
1
- import type { PartialValidationResult, GlobalPartialValidationConfig } from './partial-validation-types';
2
- export declare function configurePartialValidation(config: Partial<GlobalPartialValidationConfig>): void;
3
- export declare function getPartialValidationConfig(): GlobalPartialValidationConfig;
4
- export declare function resetPartialValidationConfig(): void;
5
- export declare function validatePartialContent(html: string, targetSelector?: string): PartialValidationResult;
6
- //# sourceMappingURL=partial-validator.d.ts.map
@@ -1,6 +0,0 @@
1
- import type { PartialValidationResult, PartialValidationIssue } from './partial-validation-types';
2
- export declare function emitPartialValidationWarnings(result: PartialValidationResult): void;
3
- export declare function formatIssueAsString(issue: PartialValidationIssue): string;
4
- export declare function formatIssuesAsStrings(result: PartialValidationResult): string[];
5
- export declare function formatResultSummary(result: PartialValidationResult): string;
6
- //# sourceMappingURL=partial-warning-formatter.d.ts.map
@@ -1,41 +0,0 @@
1
- #!/usr/bin/env node
2
- import { HideCommand } from '../commands/dom/hide';
3
- import { ShowCommand } from '../commands/dom/show';
4
- import { ToggleCommand } from '../commands/dom/toggle';
5
- import { AddCommand } from '../commands/dom/add';
6
- import { RemoveCommand } from '../commands/dom/remove';
7
- declare const COMMAND_REGISTRY: ({
8
- name: string;
9
- filePath: string;
10
- CommandClass: typeof HideCommand;
11
- factoryFunction: () => HideCommand;
12
- category: string;
13
- } | {
14
- name: string;
15
- filePath: string;
16
- CommandClass: typeof ShowCommand;
17
- factoryFunction: () => ShowCommand;
18
- category: string;
19
- } | {
20
- name: string;
21
- filePath: string;
22
- CommandClass: typeof ToggleCommand;
23
- factoryFunction: () => ToggleCommand;
24
- category: string;
25
- } | {
26
- name: string;
27
- filePath: string;
28
- CommandClass: typeof AddCommand;
29
- factoryFunction: () => AddCommand;
30
- category: string;
31
- } | {
32
- name: string;
33
- filePath: string;
34
- CommandClass: typeof RemoveCommand;
35
- factoryFunction: () => RemoveCommand;
36
- category: string;
37
- })[];
38
- declare function validateSingleCommand(commandName: string): Promise<void>;
39
- declare function validateCommandSuite(category?: string): Promise<void>;
40
- export { validateSingleCommand, validateCommandSuite, COMMAND_REGISTRY };
41
- //# sourceMappingURL=validate-cli.d.ts.map
package/vocab/htmx/ar.js DELETED
@@ -1,62 +0,0 @@
1
- // Auto-generated by packages/core/scripts/gen-htmx-vocab.mjs — do not edit by hand.
2
- // Localized htmx-compat attribute vocab for language: ar
3
- // Re-generate after editing packages/core/scripts/htmx-attr-vocab.mjs,
4
- // packages/semantic/src/generators/profiles/arabic.ts
5
- // or packages/i18n/src/dictionaries/ar.ts.
6
- // Several names may map to one canonical: the first is the primary (the form
7
- // to teach), later ones are aliases kept so already-authored pages still work.
8
- (function () {
9
- if (typeof window === 'undefined' || !window.__hyperfixi_i18n) {
10
- if (typeof console !== 'undefined') {
11
- console.warn(
12
- '[hyperfixi-i18n] Vocab for "ar" loaded before the htmx-compat orchestrator. ' +
13
- 'Move the hyperfixi-hx-v4 (or core) <script> above the vocab <script>.'
14
- );
15
- }
16
- return;
17
- }
18
- window.__hyperfixi_i18n.register('ar', {
19
- hyperfixi: {
20
- attrs: {
21
- "hx-احصل": "hx-get",
22
- "hx-انشر": "hx-post",
23
- "hx-ضع": "hx-put",
24
- "hx-احذف": "hx-delete",
25
- "hx-الهدف": "hx-target",
26
- "hx-تبديل": "hx-swap",
27
- "hx-استبدل": "hx-swap",
28
- "hx-محفز": "hx-trigger",
29
- "hx-تشغيل": "hx-trigger",
30
- "hx-تأكيد": "hx-confirm",
31
- "hx-تعزيز": "hx-boost",
32
- "hx-قيم": "hx-vals",
33
- "hx-ادفع-url": "hx-push-url",
34
- "hx-على": "hx-on",
35
- "hx-مباشر": "hx-live",
36
- "hx-مؤشر": "hx-indicator",
37
- "hx-تضمين": "hx-include",
38
- "hx-اختيار": "hx-select",
39
- "hx-تبديل-oob": "hx-swap-oob",
40
- "hx-مزامنة": "hx-sync",
41
- "sse-اتصل": "sse-connect",
42
- "sse-تبديل": "sse-swap",
43
- "sse-استبدل": "sse-swap",
44
- "ws-اتصل": "ws-connect",
45
- "ws-أرسل": "ws-send"
46
- },
47
- events: {
48
- "بحث": "search",
49
- "مفتاح-أعلى": "keyup",
50
- "دخول-الفأرة": "mouseenter",
51
- "نقر": "click",
52
- "تركيز": "focus",
53
- "ضبابية": "blur",
54
- "تغيير": "change",
55
- "إدخال": "input",
56
- "إرسال": "submit",
57
- "تحميل": "load",
58
- "تمرير": "scroll"
59
- },
60
- },
61
- });
62
- })();
package/vocab/htmx/bn.js DELETED
@@ -1,65 +0,0 @@
1
- // Auto-generated by packages/core/scripts/gen-htmx-vocab.mjs — do not edit by hand.
2
- // Localized htmx-compat attribute vocab for language: bn
3
- // Re-generate after editing packages/core/scripts/htmx-attr-vocab.mjs,
4
- // packages/semantic/src/generators/profiles/bengali.ts
5
- // or packages/i18n/src/dictionaries/bn.ts.
6
- // Several names may map to one canonical: the first is the primary (the form
7
- // to teach), later ones are aliases kept so already-authored pages still work.
8
- (function () {
9
- if (typeof window === 'undefined' || !window.__hyperfixi_i18n) {
10
- if (typeof console !== 'undefined') {
11
- console.warn(
12
- '[hyperfixi-i18n] Vocab for "bn" loaded before the htmx-compat orchestrator. ' +
13
- 'Move the hyperfixi-hx-v4 (or core) <script> above the vocab <script>.'
14
- );
15
- }
16
- return;
17
- }
18
- window.__hyperfixi_i18n.register('bn', {
19
- hyperfixi: {
20
- attrs: {
21
- "hx-পান": "hx-get",
22
- "hx-পোস্ট": "hx-post",
23
- "hx-রাখুন": "hx-put",
24
- "hx-মুছুন": "hx-delete",
25
- "hx-লক্ষ্য": "hx-target",
26
- "hx-বদল": "hx-swap",
27
- "hx-ট্রিগার": "hx-trigger",
28
- "hx-নিশ্চিত": "hx-confirm",
29
- "hx-বুস্ট": "hx-boost",
30
- "hx-মান": "hx-vals",
31
- "hx-পুশ-url": "hx-push-url",
32
- "hx-তে": "hx-on",
33
- "hx-লাইভ": "hx-live",
34
- "hx-সূচক": "hx-indicator",
35
- "hx-অন্তর্ভুক্ত": "hx-include",
36
- "hx-নির্বাচন": "hx-select",
37
- "hx-বদল-oob": "hx-swap-oob",
38
- "hx-সিঙ্ক": "hx-sync",
39
- "sse-কানেক্ট": "sse-connect",
40
- "sse-বদল": "sse-swap",
41
- "ws-কানেক্ট": "ws-connect",
42
- "ws-পাঠান": "ws-send"
43
- },
44
- events: {
45
- "খোঁজ": "search",
46
- "মাউস-প্রবেশ": "mouseenter",
47
- "ক্লিক": "click",
48
- "পরিবর্তন": "change",
49
- "ইনপুট": "input",
50
- "জমা": "submit",
51
- "লোড": "load",
52
- "ফোকাস": "focus",
53
- "ঝাপসা": "blur",
54
- "রিসেট": "reset",
55
- "স্ক্রোল": "scroll",
56
- "রিসাইজ": "resize",
57
- "প্রতি": "every",
58
- "কি-ডাউন": "keydown",
59
- "কি-আপ": "keyup",
60
- "মাউস-ওভার": "mouseover",
61
- "মাউস-আউট": "mouseout"
62
- },
63
- },
64
- });
65
- })();
package/vocab/htmx/de.js DELETED
@@ -1,83 +0,0 @@
1
- // Auto-generated by packages/core/scripts/gen-htmx-vocab.mjs — do not edit by hand.
2
- // Localized htmx-compat attribute vocab for language: de
3
- // Re-generate after editing packages/core/scripts/htmx-attr-vocab.mjs,
4
- // packages/semantic/src/generators/profiles/german.ts
5
- // or packages/i18n/src/dictionaries/de.ts.
6
- // Several names may map to one canonical: the first is the primary (the form
7
- // to teach), later ones are aliases kept so already-authored pages still work.
8
- (function () {
9
- if (typeof window === 'undefined' || !window.__hyperfixi_i18n) {
10
- if (typeof console !== 'undefined') {
11
- console.warn(
12
- '[hyperfixi-i18n] Vocab for "de" loaded before the htmx-compat orchestrator. ' +
13
- 'Move the hyperfixi-hx-v4 (or core) <script> above the vocab <script>.'
14
- );
15
- }
16
- return;
17
- }
18
- window.__hyperfixi_i18n.register('de', {
19
- hyperfixi: {
20
- attrs: {
21
- "hx-holen": "hx-get",
22
- "hx-posten": "hx-post",
23
- "hx-setzen": "hx-put",
24
- "hx-löschen": "hx-delete",
25
- "hx-ziel": "hx-target",
26
- "hx-Ziel": "hx-target",
27
- "hx-ersetzung": "hx-swap",
28
- "hx-tausch": "hx-swap",
29
- "hx-austauschen": "hx-swap",
30
- "hx-auslöser": "hx-trigger",
31
- "hx-auslösen": "hx-trigger",
32
- "hx-bestätigen": "hx-confirm",
33
- "hx-beschleunigen": "hx-boost",
34
- "hx-werte": "hx-vals",
35
- "hx-verlauf-url": "hx-push-url",
36
- "hx-bei": "hx-on",
37
- "hx-direkt": "hx-live",
38
- "hx-indikator": "hx-indicator",
39
- "hx-einbeziehen": "hx-include",
40
- "hx-auswahl": "hx-select",
41
- "hx-ersetzung-oob": "hx-swap-oob",
42
- "hx-synchronisieren": "hx-sync",
43
- "sse-verbinden": "sse-connect",
44
- "sse-ersetzung": "sse-swap",
45
- "sse-tausch": "sse-swap",
46
- "sse-austauschen": "sse-swap",
47
- "ws-verbinden": "ws-connect",
48
- "ws-senden": "ws-send"
49
- },
50
- events: {
51
- "suchen": "search",
52
- "klick": "click",
53
- "doppelklick": "dblclick",
54
- "mauseintreten": "mouseenter",
55
- "mausverlassen": "mouseleave",
56
- "mausbewegen": "mousemove",
57
- "tastedrücken": "keypress",
58
- "fokus": "focus",
59
- "defokussieren": "blur",
60
- "ändern": "change",
61
- "eingabe": "input",
62
- "absenden": "submit",
63
- "zurücksetzen": "reset",
64
- "laden": "load",
65
- "entladen": "unload",
66
- "größenänderung": "resize",
67
- "scrollen": "scroll",
68
- "berührungstart": "touchstart",
69
- "berührungend": "touchend",
70
- "berührungbewegen": "touchmove",
71
- "berührungabbrechen": "touchcancel",
72
- "mausunten": "mousedown",
73
- "mausoben": "mouseup",
74
- "mausüber": "mouseover",
75
- "maushinaus": "mouseout",
76
- "tasteunten": "keydown",
77
- "tasteoben": "keyup",
78
- "unscharf": "blur",
79
- "größeändern": "resize"
80
- },
81
- },
82
- });
83
- })();
package/vocab/htmx/en.js DELETED
@@ -1,24 +0,0 @@
1
- // Auto-generated by packages/core/scripts/gen-htmx-vocab.mjs — do not edit by hand.
2
- // Localized htmx-compat attribute vocab for language: en
3
- // Re-generate after editing packages/core/scripts/htmx-attr-vocab.mjs,
4
- // packages/semantic/src/generators/profiles/english.ts
5
- // or packages/i18n/src/dictionaries/en.ts.
6
- // Several names may map to one canonical: the first is the primary (the form
7
- // to teach), later ones are aliases kept so already-authored pages still work.
8
- (function () {
9
- if (typeof window === 'undefined' || !window.__hyperfixi_i18n) {
10
- if (typeof console !== 'undefined') {
11
- console.warn(
12
- '[hyperfixi-i18n] Vocab for "en" loaded before the htmx-compat orchestrator. ' +
13
- 'Move the hyperfixi-hx-v4 (or core) <script> above the vocab <script>.'
14
- );
15
- }
16
- return;
17
- }
18
- window.__hyperfixi_i18n.register('en', {
19
- hyperfixi: {
20
- attrs: {},
21
- events: {},
22
- },
23
- });
24
- })();
package/vocab/htmx/es.js DELETED
@@ -1,79 +0,0 @@
1
- // Auto-generated by packages/core/scripts/gen-htmx-vocab.mjs — do not edit by hand.
2
- // Localized htmx-compat attribute vocab for language: es
3
- // Re-generate after editing packages/core/scripts/htmx-attr-vocab.mjs,
4
- // packages/semantic/src/generators/profiles/spanish.ts
5
- // or packages/i18n/src/dictionaries/es.ts.
6
- // Several names may map to one canonical: the first is the primary (the form
7
- // to teach), later ones are aliases kept so already-authored pages still work.
8
- (function () {
9
- if (typeof window === 'undefined' || !window.__hyperfixi_i18n) {
10
- if (typeof console !== 'undefined') {
11
- console.warn(
12
- '[hyperfixi-i18n] Vocab for "es" loaded before the htmx-compat orchestrator. ' +
13
- 'Move the hyperfixi-hx-v4 (or core) <script> above the vocab <script>.'
14
- );
15
- }
16
- return;
17
- }
18
- window.__hyperfixi_i18n.register('es', {
19
- hyperfixi: {
20
- attrs: {
21
- "hx-obtener": "hx-get",
22
- "hx-publicar": "hx-post",
23
- "hx-poner": "hx-put",
24
- "hx-eliminar": "hx-delete",
25
- "hx-objetivo": "hx-target",
26
- "hx-intercambio": "hx-swap",
27
- "hx-intercambiar": "hx-swap",
28
- "hx-disparador": "hx-trigger",
29
- "hx-disparar": "hx-trigger",
30
- "hx-confirmar": "hx-confirm",
31
- "hx-impulsar": "hx-boost",
32
- "hx-valores": "hx-vals",
33
- "hx-empujar-url": "hx-push-url",
34
- "hx-en": "hx-on",
35
- "hx-en-vivo": "hx-live",
36
- "hx-indicador": "hx-indicator",
37
- "hx-incluir": "hx-include",
38
- "hx-selección": "hx-select",
39
- "hx-intercambio-oob": "hx-swap-oob",
40
- "hx-sincronización": "hx-sync",
41
- "sse-conectar": "sse-connect",
42
- "sse-intercambio": "sse-swap",
43
- "sse-intercambiar": "sse-swap",
44
- "ws-conectar": "ws-connect",
45
- "ws-enviar": "ws-send"
46
- },
47
- events: {
48
- "buscar": "search",
49
- "clic": "click",
50
- "dobleclic": "dblclick",
51
- "ratónentrar": "mouseenter",
52
- "ratónsalir": "mouseleave",
53
- "ratónmover": "mousemove",
54
- "teclapresar": "keypress",
55
- "enfocar": "focus",
56
- "desenfocar": "blur",
57
- "cambiar": "change",
58
- "entrada": "input",
59
- "envío": "submit",
60
- "reiniciar": "reset",
61
- "cargar": "load",
62
- "descargar": "unload",
63
- "redimensionar": "resize",
64
- "desplazar": "scroll",
65
- "toqueempezar": "touchstart",
66
- "toqueterminar": "touchend",
67
- "toquemover": "touchmove",
68
- "toquecancelar": "touchcancel",
69
- "ratónabajo": "mousedown",
70
- "ratónarriba": "mouseup",
71
- "ratónencima": "mouseover",
72
- "ratónfuera": "mouseout",
73
- "teclaabajo": "keydown",
74
- "teclaarriba": "keyup",
75
- "enviar": "submit"
76
- },
77
- },
78
- });
79
- })();