@code0-tech/pictor 0.0.0-mvp.3 → 0.0.0-mvp.31

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 (539) hide show
  1. package/dist/_virtual/_commonjsHelpers.js +6 -0
  2. package/dist/_virtual/compiler-runtime.js +5 -0
  3. package/dist/_virtual/compiler-runtime2.js +4 -0
  4. package/dist/_virtual/index.js +4 -0
  5. package/dist/_virtual/index2.js +4 -0
  6. package/dist/_virtual/react-compiler-runtime.development.js +4 -0
  7. package/dist/_virtual/react-compiler-runtime.production.js +4 -0
  8. package/dist/_virtual/react-contenteditable.js +7 -0
  9. package/dist/_virtual/react-contenteditable2.js +4 -0
  10. package/dist/_virtual/react-dom-server-legacy.browser.development.js +4 -0
  11. package/dist/_virtual/react-dom-server-legacy.browser.production.js +4 -0
  12. package/dist/_virtual/react-dom-server.browser.development.js +4 -0
  13. package/dist/_virtual/react-dom-server.browser.production.js +4 -0
  14. package/dist/_virtual/react-is.development.js +4 -0
  15. package/dist/_virtual/react-is.production.min.js +4 -0
  16. package/dist/_virtual/server.browser.js +5 -0
  17. package/dist/_virtual/server.browser2.js +4 -0
  18. package/dist/assets/components/alert/Alert.style.css +1 -0
  19. package/dist/assets/components/aurora/Aurora.style.css +1 -0
  20. package/dist/assets/components/avatar/Avatar.style.css +1 -0
  21. package/dist/assets/components/badge/Badge.style.css +1 -0
  22. package/dist/assets/{Breadcrumb.css → components/breadcrumb/Breadcrumb.style.css} +1 -1
  23. package/dist/assets/components/button/Button.style.css +1 -0
  24. package/dist/assets/components/button-group/ButtonGroup.style.css +1 -0
  25. package/dist/assets/components/card/Card.style.css +1 -0
  26. package/dist/assets/components/command/Command.style.css +1 -0
  27. package/dist/assets/components/context-menu/ContextMenu.style.css +1 -0
  28. package/dist/assets/components/d-flow/DFlow.style.css +1 -0
  29. package/dist/assets/components/d-flow-folder/DFlowFolder.style.css +1 -0
  30. package/dist/assets/components/d-flow-function/DFlowFunctionDefaultCard.style.css +1 -0
  31. package/dist/assets/components/d-flow-input/DFlowInputDataType.style.css +1 -0
  32. package/dist/assets/components/d-flow-panel/DFlowMiniMap.style.css +1 -0
  33. package/dist/assets/components/d-flow-suggestion/DFlowSuggestionSearchInput.style.css +1 -0
  34. package/dist/assets/components/d-flow-validation/DFlowValidation.style.css +1 -0
  35. package/dist/assets/components/d-layout/DLayout.style.css +1 -0
  36. package/dist/assets/components/d-resizable/DResizable.style.css +1 -0
  37. package/dist/assets/components/dialog/Dialog.style.css +1 -0
  38. package/dist/assets/components/file-tabs/FileTabs.style.css +1 -0
  39. package/dist/assets/components/form/Input.style.css +1 -0
  40. package/dist/assets/components/menu/Menu.style.css +1 -0
  41. package/dist/assets/{ScrollArea.css → components/scroll-area/ScrollArea.style.css} +1 -1
  42. package/dist/assets/components/segmented-control/SegmentedControl.style.css +1 -0
  43. package/dist/assets/components/spacing/Spacing.style.css +1 -0
  44. package/dist/assets/components/tab/Tab.style.css +1 -0
  45. package/dist/assets/components/text/Text.style.css +1 -0
  46. package/dist/assets/components/toast/Toast.style.css +1 -0
  47. package/dist/assets/components/tooltip/Tooltip.style.css +1 -0
  48. package/dist/assets/{DFlow.css → node_modules/@xyflow/react/dist/style.css} +1 -1
  49. package/dist/components/alert/Alert.d.ts +7 -0
  50. package/dist/components/alert/Alert.js +38 -0
  51. package/dist/components/aurora/Aurora.d.ts +5 -0
  52. package/dist/components/aurora/Aurora.js +23 -0
  53. package/dist/components/avatar/Avatar.js +9 -9
  54. package/dist/components/badge/Badge.d.ts +2 -1
  55. package/dist/components/badge/Badge.js +58 -17
  56. package/dist/components/breadcrumb/Breadcrumb.js +16 -28
  57. package/dist/components/button/Button.d.ts +3 -2
  58. package/dist/components/button/Button.js +23 -20
  59. package/dist/components/button-group/ButtonGroup.js +12 -11
  60. package/dist/components/card/Card.d.ts +2 -1
  61. package/dist/components/card/Card.js +25 -22
  62. package/dist/components/card/CardSection.d.ts +1 -0
  63. package/dist/components/card/CardSection.js +18 -12
  64. package/dist/components/col/Col.js +9 -8
  65. package/dist/components/command/Command.js +19 -18
  66. package/dist/components/container/Container.js +12 -11
  67. package/dist/components/context-menu/ContextMenu.d.ts +31 -0
  68. package/dist/components/context-menu/ContextMenu.js +191 -0
  69. package/dist/components/d-application/DApplication.service.d.ts +5 -0
  70. package/dist/components/d-application/DApplication.service.js +9 -0
  71. package/dist/components/d-flow/DFlow.d.ts +7 -3
  72. package/dist/components/d-flow/DFlow.edges.hook.d.ts +3 -2
  73. package/dist/components/d-flow/DFlow.edges.hook.js +100 -136
  74. package/dist/components/d-flow/DFlow.js +313 -258
  75. package/dist/components/d-flow/DFlow.nodes.hook.d.ts +6 -2
  76. package/dist/components/d-flow/DFlow.nodes.hook.js +102 -121
  77. package/dist/components/d-flow/DFlow.service.d.ts +17 -7
  78. package/dist/components/d-flow/DFlow.service.js +132 -7
  79. package/dist/components/d-flow/DFlow.util.d.ts +4 -0
  80. package/dist/components/d-flow/DFlow.util.js +63 -0
  81. package/dist/components/d-flow/{edge/DFlowEdge.d.ts → DFlowEdge.d.ts} +5 -3
  82. package/dist/components/d-flow/DFlowEdge.js +69 -0
  83. package/dist/components/d-flow/index.d.ts +1 -10
  84. package/dist/components/d-flow/index.js +9 -44
  85. package/dist/components/d-flow-data-type/DFlowDataType.service.d.ts +14 -0
  86. package/dist/components/d-flow-data-type/DFlowDataType.service.js +96 -0
  87. package/dist/components/{d-flow/data-type → d-flow-data-type}/DFlowDataType.view.d.ts +13 -4
  88. package/dist/components/d-flow-data-type/DFlowDataType.view.js +76 -0
  89. package/dist/components/{d-flow/data-type → d-flow-data-type}/index.js +1 -1
  90. package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeContainsKeyRule.d.ts +2 -3
  91. package/dist/components/d-flow-data-type/rules/DFlowDataTypeContainsKeyRule.js +222 -0
  92. package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeContainsTypeRule.d.ts +2 -3
  93. package/dist/components/d-flow-data-type/rules/DFlowDataTypeContainsTypeRule.js +229 -0
  94. package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeParentRule.d.ts +2 -3
  95. package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeParentRule.js +3 -3
  96. package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeReturnTypeRule.d.ts +2 -3
  97. package/dist/components/d-flow-data-type/rules/DFlowDataTypeReturnTypeRule.js +246 -0
  98. package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeRule.d.ts +2 -3
  99. package/dist/components/d-flow-data-type/rules/DFlowDataTypeRules.js +10 -0
  100. package/dist/components/d-flow-file/DFlowTabDefault.d.ts +7 -0
  101. package/dist/components/d-flow-file/DFlowTabDefault.js +104 -0
  102. package/dist/components/{d-flow/tab → d-flow-file}/DFlowTabTrigger.d.ts +2 -2
  103. package/dist/components/d-flow-file/DFlowTabTrigger.js +64 -0
  104. package/dist/components/d-flow-file/DFlowTabs.d.ts +8 -0
  105. package/dist/components/d-flow-file/DFlowTabs.js +132 -0
  106. package/dist/components/d-flow-file/index.d.ts +1 -0
  107. package/dist/components/d-flow-file/index.js +4 -0
  108. package/dist/components/d-flow-folder/DFlowFolder.d.ts +33 -0
  109. package/dist/components/d-flow-folder/DFlowFolder.js +208 -0
  110. package/dist/components/d-flow-folder/DFlowFolderContextMenu.d.ts +18 -0
  111. package/dist/components/d-flow-folder/DFlowFolderContextMenu.js +45 -0
  112. package/dist/components/d-flow-folder/DFlowFolderCreateDialog.d.ts +9 -0
  113. package/dist/components/d-flow-folder/DFlowFolderCreateDialog.js +76 -0
  114. package/dist/components/d-flow-folder/DFlowFolderDeleteDialog.d.ts +10 -0
  115. package/dist/components/d-flow-folder/DFlowFolderDeleteDialog.js +55 -0
  116. package/dist/components/d-flow-folder/DFlowFolderItemPathInput.d.ts +5 -0
  117. package/dist/components/d-flow-folder/DFlowFolderItemPathInput.js +50 -0
  118. package/dist/components/d-flow-folder/DFlowFolderRenameDialog.d.ts +10 -0
  119. package/dist/components/d-flow-folder/DFlowFolderRenameDialog.js +55 -0
  120. package/dist/components/d-flow-folder/index.d.ts +4 -0
  121. package/dist/components/d-flow-folder/index.js +12 -0
  122. package/dist/components/{d-flow/function → d-flow-function}/DFlowFunction.input.hook.d.ts +1 -1
  123. package/dist/components/d-flow-function/DFlowFunction.input.hook.js +8 -0
  124. package/dist/components/{d-flow/function → d-flow-function}/DFlowFunction.return.hook.d.ts +2 -2
  125. package/dist/components/d-flow-function/DFlowFunction.return.hook.js +9 -0
  126. package/dist/components/d-flow-function/DFlowFunction.service.d.ts +11 -0
  127. package/dist/components/d-flow-function/DFlowFunction.service.js +12 -0
  128. package/dist/components/{d-flow/function → d-flow-function}/DFlowFunction.view.d.ts +24 -9
  129. package/dist/components/d-flow-function/DFlowFunction.view.js +139 -0
  130. package/dist/components/{d-flow/function → d-flow-function}/DFlowFunctionDefaultCard.d.ts +4 -4
  131. package/dist/components/d-flow-function/DFlowFunctionDefaultCard.js +117 -0
  132. package/dist/components/d-flow-function/DFlowFunctionGroupCard.d.ts +13 -0
  133. package/dist/components/d-flow-function/DFlowFunctionGroupCard.js +68 -0
  134. package/dist/components/{d-flow/function → d-flow-function}/DFlowFunctionSuggestionCard.d.ts +3 -4
  135. package/dist/components/d-flow-function/DFlowFunctionSuggestionCard.js +43 -0
  136. package/dist/components/{d-flow/function → d-flow-function}/DFlowFunctionTriggerCard.d.ts +3 -3
  137. package/dist/components/d-flow-function/DFlowFunctionTriggerCard.js +78 -0
  138. package/dist/components/{d-flow/input → d-flow-input}/DFlowInputDataType.d.ts +1 -1
  139. package/dist/components/d-flow-input/DFlowInputDataType.js +437 -0
  140. package/dist/components/d-flow-input/DFlowInputDefault.d.ts +10 -0
  141. package/dist/components/d-flow-input/DFlowInputDefault.js +128 -0
  142. package/dist/components/d-flow-input/DFlowInputLiteralBadge.d.ts +7 -0
  143. package/dist/components/d-flow-input/DFlowInputLiteralBadge.js +24 -0
  144. package/dist/components/d-flow-input/DFlowInputNodeBadge.d.ts +11 -0
  145. package/dist/components/d-flow-input/DFlowInputNodeBadge.js +44 -0
  146. package/dist/components/d-flow-input/DFlowInputReferenceBadge.d.ts +11 -0
  147. package/dist/components/d-flow-input/DFlowInputReferenceBadge.js +33 -0
  148. package/dist/components/d-flow-panel/DFlowExport.d.ts +6 -0
  149. package/dist/components/d-flow-panel/DFlowExport.js +32 -0
  150. package/dist/components/d-flow-panel/DFlowMiniMap.js +33 -0
  151. package/dist/components/d-flow-panel/DFlowPanelControl.d.ts +6 -0
  152. package/dist/components/d-flow-panel/DFlowPanelControl.js +72 -0
  153. package/dist/components/d-flow-panel/DFlowPanelLayout.d.ts +4 -0
  154. package/dist/components/d-flow-panel/DFlowPanelLayout.js +47 -0
  155. package/dist/components/d-flow-panel/DFlowPanelSize.d.ts +2 -0
  156. package/dist/components/d-flow-panel/DFlowPanelSize.js +94 -0
  157. package/dist/components/d-flow-panel/index.d.ts +5 -0
  158. package/dist/components/d-flow-panel/index.js +12 -0
  159. package/dist/components/d-flow-suggestion/DFlowDataTypeSuggestions.hook.d.ts +3 -0
  160. package/dist/components/d-flow-suggestion/DFlowDataTypeSuggestions.hook.js +34 -0
  161. package/dist/components/d-flow-suggestion/DFlowFunctionSuggestions.hook.d.ts +3 -0
  162. package/dist/components/d-flow-suggestion/DFlowFunctionSuggestions.hook.js +50 -0
  163. package/dist/components/d-flow-suggestion/DFlowReferenceSuggestions.hook.d.ts +3 -0
  164. package/dist/components/d-flow-suggestion/DFlowReferenceSuggestions.hook.js +133 -0
  165. package/dist/components/d-flow-suggestion/DFlowSuggestion.hook.d.ts +3 -0
  166. package/dist/components/d-flow-suggestion/DFlowSuggestion.hook.js +24 -0
  167. package/dist/components/d-flow-suggestion/DFlowSuggestion.view.d.ts +14 -0
  168. package/dist/components/d-flow-suggestion/DFlowSuggestion.view.js +4 -0
  169. package/dist/components/d-flow-suggestion/DFlowSuggestionMenu.js +72 -0
  170. package/dist/components/{d-flow/suggestion → d-flow-suggestion}/DFlowSuggestionMenu.util.d.ts +1 -1
  171. package/dist/components/{d-flow/suggestion → d-flow-suggestion}/DFlowSuggestionMenu.util.js +12 -11
  172. package/dist/components/{d-flow/suggestion → d-flow-suggestion}/DFlowSuggestionMenuFooter.js +5 -5
  173. package/dist/components/{d-flow/suggestion → d-flow-suggestion}/DFlowSuggestionMenuSearchBar.d.ts +1 -1
  174. package/dist/components/{d-flow/suggestion → d-flow-suggestion}/DFlowSuggestionMenuSearchBar.js +1 -1
  175. package/dist/components/{d-flow/suggestion → d-flow-suggestion}/DFlowSuggestionSearchInput.d.ts +1 -1
  176. package/dist/components/d-flow-suggestion/DFlowSuggestionSearchInput.js +35 -0
  177. package/dist/components/d-flow-suggestion/DFlowValueSuggestions.hook.d.ts +3 -0
  178. package/dist/components/d-flow-suggestion/DFlowValueSuggestions.hook.js +44 -0
  179. package/dist/components/d-flow-suggestion/index.d.ts +1 -0
  180. package/dist/components/d-flow-suggestion/index.js +4 -0
  181. package/dist/components/d-flow-type/DFlowType.service.d.ts +11 -0
  182. package/dist/components/d-flow-type/DFlowType.service.js +12 -0
  183. package/dist/components/{d-flow/type → d-flow-type}/DFlowType.view.d.ts +10 -4
  184. package/dist/components/d-flow-type/DFlowType.view.js +85 -0
  185. package/dist/components/d-flow-validation/DDataTypeValidation.hook.d.ts +2 -0
  186. package/dist/components/d-flow-validation/DDataTypeValidation.hook.js +18 -0
  187. package/dist/components/d-flow-validation/DFlowValidation.hook.d.ts +3 -0
  188. package/dist/components/d-flow-validation/DFlowValidation.hook.js +22 -0
  189. package/dist/components/d-flow-validation/DFlowValidation.js +66 -0
  190. package/dist/components/d-flow-validation/DNodeValidation.hook.d.ts +3 -0
  191. package/dist/components/d-flow-validation/DNodeValidation.hook.js +58 -0
  192. package/dist/components/d-flow-validation/DValueValidation.hook.d.ts +3 -0
  193. package/dist/components/d-flow-validation/DValueValidation.hook.js +8 -0
  194. package/dist/components/{d-flow/validation → d-flow-validation}/index.js +2 -2
  195. package/dist/components/d-fullscreen/DFullScreen.d.ts +1 -2
  196. package/dist/components/d-fullscreen/DFullScreen.js +24 -18
  197. package/dist/components/d-layout/DLayout.js +27 -26
  198. package/dist/components/d-license/DNamespaceLicense.service.d.ts +11 -0
  199. package/dist/components/d-license/DNamespaceLicense.service.js +12 -0
  200. package/dist/components/d-license/index.d.ts +2 -0
  201. package/dist/components/d-license/index.js +6 -0
  202. package/dist/components/d-member/DNamespaceMember.service.d.ts +13 -0
  203. package/dist/components/d-member/DNamespaceMember.service.js +17 -0
  204. package/dist/components/{d-namespace/member → d-member}/DNamespaceMember.view.d.ts +4 -1
  205. package/dist/components/{d-namespace/member → d-member}/DNamespaceMember.view.js +16 -11
  206. package/dist/components/d-member/DNamespaceMemberCard.d.ts +10 -0
  207. package/dist/components/d-member/DNamespaceMemberCard.js +16 -0
  208. package/dist/components/d-member/DNamespaceMemberContent.d.ts +10 -0
  209. package/dist/components/d-member/DNamespaceMemberContent.js +224 -0
  210. package/dist/components/d-member/DNamespaceMemberList.d.ts +12 -0
  211. package/dist/components/d-member/DNamespaceMemberList.js +23 -0
  212. package/dist/components/d-member/index.d.ts +4 -0
  213. package/dist/components/d-member/index.js +10 -0
  214. package/dist/components/d-namespace/DNamespace.service.d.ts +1 -1
  215. package/dist/components/d-namespace/DNamespace.service.js +7 -6
  216. package/dist/components/d-namespace/index.d.ts +0 -10
  217. package/dist/components/d-namespace/index.js +4 -33
  218. package/dist/components/d-organization/DOrganization.service.d.ts +3 -3
  219. package/dist/components/d-organization/DOrganization.service.js +8 -7
  220. package/dist/components/d-organization/DOrganization.view.d.ts +4 -1
  221. package/dist/components/d-organization/DOrganization.view.js +21 -18
  222. package/dist/components/d-organization/DOrganizationCard.d.ts +4 -3
  223. package/dist/components/d-organization/DOrganizationCard.js +13 -60
  224. package/dist/components/d-organization/DOrganizationList.d.ts +10 -0
  225. package/dist/components/d-organization/DOrganizationList.js +23 -0
  226. package/dist/components/d-organization/DOrganizationMenu.js +5 -5
  227. package/dist/components/d-organization/DOrganizatonContent.d.ts +10 -0
  228. package/dist/components/d-organization/DOrganizatonContent.js +101 -0
  229. package/dist/components/d-organization/index.d.ts +1 -0
  230. package/dist/components/d-organization/index.js +30 -10
  231. package/dist/components/d-project/DNamespaceProject.service.d.ts +12 -0
  232. package/dist/components/d-project/DNamespaceProject.service.js +12 -0
  233. package/dist/components/{d-namespace/project → d-project}/DNamespaceProject.view.d.ts +4 -1
  234. package/dist/components/{d-namespace/project → d-project}/DNamespaceProject.view.js +13 -10
  235. package/dist/components/d-project/DNamespaceProjectCard.d.ts +9 -0
  236. package/dist/components/d-project/DNamespaceProjectCard.js +17 -0
  237. package/dist/components/d-project/DNamespaceProjectContent.d.ts +10 -0
  238. package/dist/components/d-project/DNamespaceProjectContent.js +71 -0
  239. package/dist/components/d-project/DNamespaceProjectList.d.ts +11 -0
  240. package/dist/components/d-project/DNamespaceProjectList.js +25 -0
  241. package/dist/components/d-project/DNamespaceProjectMenu.d.ts +13 -0
  242. package/dist/components/d-project/DNamespaceProjectMenu.js +57 -0
  243. package/dist/components/d-project/index.d.ts +5 -0
  244. package/dist/components/d-project/index.js +26 -0
  245. package/dist/components/d-resizable/DResizable.d.ts +4 -4
  246. package/dist/components/d-resizable/DResizable.js +26 -23
  247. package/dist/components/d-role/DNamespaceRole.service.d.ts +13 -0
  248. package/dist/components/d-role/DNamespaceRole.service.js +12 -0
  249. package/dist/components/{d-namespace/role → d-role}/DNamespaceRole.view.d.ts +4 -1
  250. package/dist/components/{d-namespace/role → d-role}/DNamespaceRole.view.js +8 -4
  251. package/dist/components/d-role/DNamespaceRoleCard.d.ts +11 -0
  252. package/dist/components/d-role/DNamespaceRoleCard.js +17 -0
  253. package/dist/components/d-role/DNamespaceRoleContent.d.ts +10 -0
  254. package/dist/components/d-role/DNamespaceRoleContent.js +162 -0
  255. package/dist/components/d-role/DNamespaceRoleList.d.ts +12 -0
  256. package/dist/components/d-role/DNamespaceRoleList.js +24 -0
  257. package/dist/components/d-role/DNamespaceRolePermissions.d.ts +5 -0
  258. package/dist/components/d-role/DNamespaceRolePermissions.js +123 -0
  259. package/dist/components/d-role/index.d.ts +4 -0
  260. package/dist/components/d-role/index.js +10 -0
  261. package/dist/components/d-runtime/DRuntime.service.d.ts +5 -2
  262. package/dist/components/d-runtime/DRuntime.service.js +2 -4
  263. package/dist/components/d-runtime/DRuntime.view.d.ts +4 -1
  264. package/dist/components/d-runtime/DRuntime.view.js +6 -3
  265. package/dist/components/d-runtime/DRuntimeCard.d.ts +9 -0
  266. package/dist/components/d-runtime/DRuntimeCard.js +18 -0
  267. package/dist/components/d-runtime/DRuntimeContent.d.ts +9 -0
  268. package/dist/components/d-runtime/DRuntimeContent.js +45 -0
  269. package/dist/components/d-runtime/DRuntimeList.d.ts +12 -0
  270. package/dist/components/d-runtime/DRuntimeList.js +28 -0
  271. package/dist/components/d-runtime/index.d.ts +2 -0
  272. package/dist/components/d-runtime/index.js +6 -2
  273. package/dist/components/d-user/DUser.service.d.ts +3 -4
  274. package/dist/components/d-user/DUser.service.js +9 -9
  275. package/dist/components/d-user/DUser.session.hook.d.ts +3 -0
  276. package/dist/components/d-user/DUser.session.hook.js +16 -0
  277. package/dist/components/d-user/DUser.view.d.ts +4 -1
  278. package/dist/components/d-user/DUser.view.js +13 -10
  279. package/dist/components/d-user/DUserCard.d.ts +8 -0
  280. package/dist/components/d-user/DUserCard.js +15 -0
  281. package/dist/components/d-user/DUserContent.d.ts +8 -0
  282. package/dist/components/d-user/DUserContent.js +84 -0
  283. package/dist/components/d-user/DUserInput.d.ts +7 -0
  284. package/dist/components/d-user/DUserInput.js +100 -0
  285. package/dist/components/d-user/DUserList.d.ts +9 -0
  286. package/dist/components/d-user/DUserList.js +22 -0
  287. package/dist/components/d-user/DUserMenu.js +20 -19
  288. package/dist/components/d-user/index.d.ts +4 -0
  289. package/dist/components/d-user/index.js +17 -8
  290. package/dist/components/dialog/Dialog.d.ts +2 -1
  291. package/dist/components/dialog/Dialog.js +69 -60
  292. package/dist/components/file-tabs/FileTabs.js +41 -40
  293. package/dist/components/file-tabs/FileTabs.service.d.ts +5 -1
  294. package/dist/components/file-tabs/FileTabs.service.js +74 -26
  295. package/dist/components/file-tabs/FileTabs.view.d.ts +1 -0
  296. package/dist/components/flex/Flex.js +2 -2
  297. package/dist/components/form/CheckboxInput.js +62 -53
  298. package/dist/components/form/EmailInput.js +11 -10
  299. package/dist/components/form/Input.d.ts +18 -5
  300. package/dist/components/form/Input.js +333 -139
  301. package/dist/components/form/Input.syntax.hook.d.ts +10 -0
  302. package/dist/components/form/Input.syntax.hook.js +14 -0
  303. package/dist/components/form/Input.utils.d.ts +10 -0
  304. package/dist/components/form/Input.utils.js +38 -0
  305. package/dist/components/form/InputContentEditable.hook.d.ts +40 -0
  306. package/dist/components/form/InputContentEditable.hook.js +471 -0
  307. package/dist/components/form/InputDescription.js +1 -1
  308. package/dist/components/form/InputLabel.js +1 -1
  309. package/dist/components/form/InputMessage.js +1 -1
  310. package/dist/components/form/InputSuggestion.d.ts +16 -8
  311. package/dist/components/form/InputSuggestion.js +189 -73
  312. package/dist/components/form/NumberInput.js +9 -9
  313. package/dist/components/form/PasswordInput.js +11 -10
  314. package/dist/components/form/PinInput.js +2 -2
  315. package/dist/components/form/RadioGroup.js +2 -2
  316. package/dist/components/form/RadioInput.js +2 -2
  317. package/dist/components/form/SwitchInput.js +7 -7
  318. package/dist/components/form/TextInput.js +12 -11
  319. package/dist/components/form/index.js +26 -27
  320. package/dist/components/form/useForm.d.ts +3 -1
  321. package/dist/components/form/useForm.js +53 -33
  322. package/dist/components/menu/Menu.d.ts +7 -3
  323. package/dist/components/menu/Menu.js +24 -24
  324. package/dist/components/quote/Quote.js +32 -36
  325. package/dist/components/row/Row.js +10 -9
  326. package/dist/components/scroll-area/ScrollArea.js +18 -17
  327. package/dist/components/segmented-control/SegmentedControl.d.ts +1 -1
  328. package/dist/components/segmented-control/SegmentedControl.js +19 -16
  329. package/dist/components/spacing/Spacing.d.ts +6 -0
  330. package/dist/components/spacing/Spacing.js +23 -0
  331. package/dist/components/tab/Tab.d.ts +11 -0
  332. package/dist/components/tab/Tab.js +40 -0
  333. package/dist/components/text/Text.js +2 -2
  334. package/dist/components/toast/Toast.d.ts +13 -0
  335. package/dist/components/toast/Toast.js +62 -0
  336. package/dist/components/tooltip/Tooltip.js +36 -35
  337. package/dist/index.d.ts +17 -0
  338. package/dist/index.js +264 -216
  339. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +527 -0
  340. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +402 -0
  341. package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +208 -0
  342. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +136 -0
  343. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +130 -0
  344. package/dist/node_modules/@radix-ui/primitive/dist/index.js +9 -0
  345. package/dist/node_modules/@radix-ui/react-arrow/dist/index.js +24 -0
  346. package/dist/node_modules/@radix-ui/react-collection/dist/index.js +48 -0
  347. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +29 -0
  348. package/dist/node_modules/@radix-ui/react-context/dist/index.js +53 -0
  349. package/dist/node_modules/@radix-ui/react-context-menu/dist/index.js +222 -0
  350. package/dist/node_modules/@radix-ui/react-direction/dist/index.js +10 -0
  351. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +127 -0
  352. package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js +17 -0
  353. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +136 -0
  354. package/dist/node_modules/@radix-ui/react-id/dist/index.js +13 -0
  355. package/dist/node_modules/@radix-ui/react-menu/dist/index.js +636 -0
  356. package/dist/node_modules/@radix-ui/react-popper/dist/index.js +219 -0
  357. package/dist/node_modules/@radix-ui/react-portal/dist/index.js +15 -0
  358. package/dist/node_modules/@radix-ui/react-presence/dist/index.js +70 -0
  359. package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +36 -0
  360. package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.js +183 -0
  361. package/dist/node_modules/@radix-ui/react-slot/dist/index.js +49 -0
  362. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +10 -0
  363. package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +52 -0
  364. package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +14 -0
  365. package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +6 -0
  366. package/dist/node_modules/@radix-ui/react-use-size/dist/index.js +27 -0
  367. package/dist/node_modules/aria-hidden/dist/es2015/index.js +52 -0
  368. package/dist/node_modules/fast-deep-equal/index.js +31 -0
  369. package/dist/node_modules/get-nonce/dist/es2015/index.js +7 -0
  370. package/dist/node_modules/object-assign/index.js +49 -0
  371. package/dist/node_modules/prop-types/checkPropTypes.js +54 -0
  372. package/dist/node_modules/prop-types/factoryWithThrowingShims.js +52 -0
  373. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +329 -0
  374. package/dist/node_modules/prop-types/index.js +17 -0
  375. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +10 -0
  376. package/dist/node_modules/prop-types/lib/has.js +7 -0
  377. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +87 -0
  378. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +70 -0
  379. package/dist/node_modules/prop-types/node_modules/react-is/index.js +10 -0
  380. package/dist/node_modules/react/cjs/react-compiler-runtime.development.js +21 -0
  381. package/dist/node_modules/react/cjs/react-compiler-runtime.production.js +14 -0
  382. package/dist/node_modules/react/compiler-runtime.js +10 -0
  383. package/dist/node_modules/react-contenteditable/lib/react-contenteditable.js +132 -0
  384. package/dist/node_modules/react-dom/cjs/react-dom-server-legacy.browser.development.js +6235 -0
  385. package/dist/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.js +4096 -0
  386. package/dist/node_modules/react-dom/cjs/react-dom-server.browser.development.js +6753 -0
  387. package/dist/node_modules/react-dom/cjs/react-dom-server.browser.production.js +4645 -0
  388. package/dist/node_modules/react-dom/server.browser.js +15 -0
  389. package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js +11 -0
  390. package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +112 -0
  391. package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +31 -0
  392. package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +16 -0
  393. package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +68 -0
  394. package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js +5 -0
  395. package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js +7 -0
  396. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js +71 -0
  397. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +7 -0
  398. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +25 -0
  399. package/dist/node_modules/react-style-singleton/dist/es2015/component.js +11 -0
  400. package/dist/node_modules/react-style-singleton/dist/es2015/hook.js +15 -0
  401. package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js +30 -0
  402. package/dist/node_modules/tslib/tslib.es6.js +27 -0
  403. package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js +6 -0
  404. package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +26 -0
  405. package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js +25 -0
  406. package/dist/node_modules/use-sidecar/dist/es2015/exports.js +18 -0
  407. package/dist/node_modules/use-sidecar/dist/es2015/medium.js +67 -0
  408. package/dist/utils/arrayService.d.ts +2 -2
  409. package/dist/utils/contextStore.js +1 -1
  410. package/dist/utils/generics.d.ts +7 -6
  411. package/dist/utils/generics.js +136 -124
  412. package/dist/utils/index.js +22 -21
  413. package/dist/utils/inspection.d.ts +4 -2
  414. package/dist/utils/inspection.js +27 -2
  415. package/dist/utils/objectStore.js +15 -15
  416. package/dist/utils/reactiveArrayService.d.ts +3 -3
  417. package/dist/utils/reactiveArrayService.js +53 -43
  418. package/dist/utils/types.d.ts +2 -2
  419. package/package.json +38 -33
  420. package/dist/DFlowDataType.service-Dz8pQUeO.js +0 -793
  421. package/dist/assets/Avatar.css +0 -1
  422. package/dist/assets/Badge.css +0 -1
  423. package/dist/assets/Button.css +0 -1
  424. package/dist/assets/ButtonGroup.css +0 -1
  425. package/dist/assets/Card.css +0 -1
  426. package/dist/assets/Command.css +0 -1
  427. package/dist/assets/DFlowFolder.css +0 -1
  428. package/dist/assets/DFlowFunctionDefaultCard.css +0 -1
  429. package/dist/assets/DFlowInputDataType.css +0 -1
  430. package/dist/assets/DFlowMiniMap.css +0 -1
  431. package/dist/assets/DFlowSuggestionSearchInput.css +0 -1
  432. package/dist/assets/DFlowValidation.css +0 -1
  433. package/dist/assets/DLayout.css +0 -1
  434. package/dist/assets/DResizable.css +0 -1
  435. package/dist/assets/Dialog.css +0 -1
  436. package/dist/assets/FileTabs.css +0 -1
  437. package/dist/assets/Input.css +0 -1
  438. package/dist/assets/Menu.css +0 -1
  439. package/dist/assets/SegmentedControl.css +0 -1
  440. package/dist/assets/Text.css +0 -1
  441. package/dist/assets/Tooltip.css +0 -1
  442. package/dist/compiler-runtime-BNHg76kC.js +0 -36
  443. package/dist/components/d-flow/DFlow.view.d.ts +0 -109
  444. package/dist/components/d-flow/DFlow.view.js +0 -213
  445. package/dist/components/d-flow/control/DFlowControl.d.ts +0 -2
  446. package/dist/components/d-flow/control/DFlowControl.js +0 -77
  447. package/dist/components/d-flow/control/index.d.ts +0 -1
  448. package/dist/components/d-flow/control/index.js +0 -4
  449. package/dist/components/d-flow/data-type/DFlowDataType.service.d.ts +0 -10
  450. package/dist/components/d-flow/data-type/DFlowDataType.service.js +0 -7
  451. package/dist/components/d-flow/data-type/DFlowDataType.validation.type.d.ts +0 -2
  452. package/dist/components/d-flow/data-type/DFlowDataType.validation.type.js +0 -18
  453. package/dist/components/d-flow/data-type/DFlowDataType.validation.value.d.ts +0 -4
  454. package/dist/components/d-flow/data-type/DFlowDataType.validation.value.js +0 -6
  455. package/dist/components/d-flow/data-type/DFlowDataType.view.js +0 -65
  456. package/dist/components/d-flow/data-type/rules/DFlowDataTypeContainsKeyRule.js +0 -6
  457. package/dist/components/d-flow/data-type/rules/DFlowDataTypeContainsTypeRule.js +0 -6
  458. package/dist/components/d-flow/data-type/rules/DFlowDataTypeReturnTypeRule.js +0 -7
  459. package/dist/components/d-flow/data-type/rules/DFlowDataTypeRules.js +0 -8
  460. package/dist/components/d-flow/edge/DFlowEdge.js +0 -48
  461. package/dist/components/d-flow/folder/DFlowFolder.d.ts +0 -19
  462. package/dist/components/d-flow/folder/DFlowFolder.js +0 -118
  463. package/dist/components/d-flow/folder/index.d.ts +0 -1
  464. package/dist/components/d-flow/folder/index.js +0 -6
  465. package/dist/components/d-flow/function/DFlowFunction.input.hook.js +0 -9
  466. package/dist/components/d-flow/function/DFlowFunction.return.hook.js +0 -11
  467. package/dist/components/d-flow/function/DFlowFunction.service.d.ts +0 -6
  468. package/dist/components/d-flow/function/DFlowFunction.service.js +0 -9
  469. package/dist/components/d-flow/function/DFlowFunction.vaildation.hook.d.ts +0 -10
  470. package/dist/components/d-flow/function/DFlowFunction.vaildation.hook.js +0 -75
  471. package/dist/components/d-flow/function/DFlowFunction.view.js +0 -117
  472. package/dist/components/d-flow/function/DFlowFunctionDefaultCard.js +0 -158
  473. package/dist/components/d-flow/function/DFlowFunctionGroupCard.d.ts +0 -5
  474. package/dist/components/d-flow/function/DFlowFunctionGroupCard.js +0 -55
  475. package/dist/components/d-flow/function/DFlowFunctionSuggestionCard.js +0 -26
  476. package/dist/components/d-flow/function/DFlowFunctionTriggerCard.js +0 -97
  477. package/dist/components/d-flow/input/DFlowInputDataType.js +0 -422
  478. package/dist/components/d-flow/minimap/DFlowMiniMap.js +0 -21
  479. package/dist/components/d-flow/minimap/index.d.ts +0 -1
  480. package/dist/components/d-flow/minimap/index.js +0 -4
  481. package/dist/components/d-flow/suggestion/DFlowSuggestion.hook.d.ts +0 -33
  482. package/dist/components/d-flow/suggestion/DFlowSuggestion.hook.js +0 -151
  483. package/dist/components/d-flow/suggestion/DFlowSuggestion.service.d.ts +0 -5
  484. package/dist/components/d-flow/suggestion/DFlowSuggestion.service.js +0 -18
  485. package/dist/components/d-flow/suggestion/DFlowSuggestion.view.d.ts +0 -21
  486. package/dist/components/d-flow/suggestion/DFlowSuggestion.view.js +0 -25
  487. package/dist/components/d-flow/suggestion/DFlowSuggestionMenu.js +0 -67
  488. package/dist/components/d-flow/suggestion/DFlowSuggestionSearchInput.js +0 -21
  489. package/dist/components/d-flow/suggestion/index.d.ts +0 -2
  490. package/dist/components/d-flow/suggestion/index.js +0 -7
  491. package/dist/components/d-flow/tab/DFlowTabDefault.d.ts +0 -11
  492. package/dist/components/d-flow/tab/DFlowTabDefault.js +0 -97
  493. package/dist/components/d-flow/tab/DFlowTabTrigger.js +0 -51
  494. package/dist/components/d-flow/tab/DFlowTabs.d.ts +0 -2
  495. package/dist/components/d-flow/tab/DFlowTabs.js +0 -105
  496. package/dist/components/d-flow/type/DFlowType.service.d.ts +0 -6
  497. package/dist/components/d-flow/type/DFlowType.service.js +0 -9
  498. package/dist/components/d-flow/type/DFlowType.view.js +0 -69
  499. package/dist/components/d-flow/validation/DFlowValidation.hook.d.ts +0 -3
  500. package/dist/components/d-flow/validation/DFlowValidation.hook.js +0 -10
  501. package/dist/components/d-flow/validation/DFlowValidation.js +0 -59
  502. package/dist/components/d-namespace/license/DNamespaceLicense.service.d.ts +0 -8
  503. package/dist/components/d-namespace/license/DNamespaceLicense.service.js +0 -11
  504. package/dist/components/d-namespace/member/DNamespaceMember.service.d.ts +0 -9
  505. package/dist/components/d-namespace/member/DNamespaceMember.service.js +0 -11
  506. package/dist/components/d-namespace/project/DNamespaceProject.service.d.ts +0 -9
  507. package/dist/components/d-namespace/project/DNamespaceProject.service.js +0 -11
  508. package/dist/components/d-namespace/project/DNamespaceProjectCard.d.ts +0 -9
  509. package/dist/components/d-namespace/project/DNamespaceProjectCard.js +0 -57
  510. package/dist/components/d-namespace/project/DNamespaceProjectMenu.d.ts +0 -9
  511. package/dist/components/d-namespace/project/DNamespaceProjectMenu.js +0 -18
  512. package/dist/components/d-namespace/role/DNamespaceRole.service.d.ts +0 -10
  513. package/dist/components/d-namespace/role/DNamespaceRole.service.js +0 -11
  514. /package/dist/assets/{Col.css → components/col/Col.style.css} +0 -0
  515. /package/dist/assets/{Container.css → components/container/Container.style.css} +0 -0
  516. /package/dist/assets/{DFullScreen.css → components/d-fullscreen/DFullScreen.style.css} +0 -0
  517. /package/dist/assets/{Flex.css → components/flex/Flex.style.css} +0 -0
  518. /package/dist/assets/{Quote.css → components/quote/Quote.style.css} +0 -0
  519. /package/dist/assets/{Row.css → components/row/Row.style.css} +0 -0
  520. /package/dist/components/{d-flow/data-type → d-flow-data-type}/index.d.ts +0 -0
  521. /package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeItemOfCollectionRule.d.ts +0 -0
  522. /package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeItemOfCollectionRule.js +0 -0
  523. /package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeNumberRangeRule.d.ts +0 -0
  524. /package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeNumberRangeRule.js +0 -0
  525. /package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeRegexRule.d.ts +0 -0
  526. /package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeRegexRule.js +0 -0
  527. /package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeRule.js +0 -0
  528. /package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeRules.d.ts +0 -0
  529. /package/dist/components/{d-flow/function → d-flow-function}/index.d.ts +0 -0
  530. /package/dist/components/{d-flow/function → d-flow-function}/index.js +0 -0
  531. /package/dist/components/{d-flow/minimap → d-flow-panel}/DFlowMiniMap.d.ts +0 -0
  532. /package/dist/components/{d-flow/suggestion → d-flow-suggestion}/DFlowSuggestionMenu.d.ts +0 -0
  533. /package/dist/components/{d-flow/suggestion → d-flow-suggestion}/DFlowSuggestionMenuFooter.d.ts +0 -0
  534. /package/dist/components/{d-flow/type → d-flow-type}/index.d.ts +0 -0
  535. /package/dist/components/{d-flow/type → d-flow-type}/index.js +0 -0
  536. /package/dist/components/{d-flow/validation → d-flow-validation}/DFlowValidation.d.ts +0 -0
  537. /package/dist/components/{d-flow/validation → d-flow-validation}/index.d.ts +0 -0
  538. /package/dist/components/{d-namespace/license → d-license}/DNamespaceLicense.view.d.ts +0 -0
  539. /package/dist/components/{d-namespace/license → d-license}/DNamespaceLicense.view.js +0 -0
@@ -1,102 +1,218 @@
1
- import { jsx as p, jsxs as d } from "react/jsx-runtime";
2
- import { c as I } from "../../compiler-runtime-BNHg76kC.js";
3
- import { MenuContent as x, MenuLabel as M, MenuItem as w } from "../menu/Menu.js";
4
- import l from "react";
5
- import { ScrollArea as R, ScrollAreaViewport as G, ScrollAreaScrollbar as A, ScrollAreaThumb as D } from "../scroll-area/ScrollArea.js";
6
- import { IconChevronDown as E, IconChevronUp as y } from "@tabler/icons-react";
7
- const k = l.forwardRef((o, h) => {
8
- const e = I.c(6);
9
- let a, u;
10
- e[0] !== o ? ({
11
- children: a,
12
- ...u
13
- } = o, e[0] = o, e[1] = a, e[2] = u) : (a = e[1], u = e[2]);
14
- const i = l.useRef(null);
15
- let c;
16
- return e[3] !== a || e[4] !== u ? (c = /* @__PURE__ */ p(x, { ref: i, onContextMenuCapture: j, onInteractOutside: F, onCloseAutoFocus: O, align: "start", sideOffset: 8, ...u, children: a }), e[3] = a, e[4] = u, e[5] = c) : c = e[5], c;
17
- }), U = l.forwardRef((o, h) => {
1
+ import { jsx as I, jsxs as B } from "react/jsx-runtime";
2
+ import { c as x } from "../../_virtual/compiler-runtime.js";
3
+ import { MenuItem as L, MenuContent as F, MenuLabel as k } from "../menu/Menu.js";
4
+ import i from "react";
5
+ import { ScrollArea as N, ScrollAreaViewport as O, ScrollAreaScrollbar as T, ScrollAreaThumb as j } from "../scroll-area/ScrollArea.js";
6
+ import { IconChevronDown as $, IconChevronUp as z } from "@tabler/icons-react";
7
+ const D = i.memo((u) => {
8
+ const e = x.c(17), {
9
+ suggestion: n,
10
+ visibleIndex: l,
11
+ isActive: p,
12
+ inputRef: d,
13
+ onSelect: v,
14
+ onActivate: c,
15
+ itemRef: f
16
+ } = u;
17
+ if (l === null)
18
+ return null;
19
+ let m;
20
+ if (e[0] !== d || e[1] !== c || e[2] !== l) {
21
+ const b = () => {
22
+ c(l), d?.current?.focus({
23
+ preventScroll: !0
24
+ });
25
+ };
26
+ m = (M) => {
27
+ M.preventDefault(), b();
28
+ }, e[0] = d, e[1] = c, e[2] = l, e[3] = m;
29
+ } else
30
+ m = e[3];
31
+ const g = m;
32
+ let a;
33
+ e[4] !== c || e[5] !== l ? (a = (b) => {
34
+ b.preventDefault(), b.stopPropagation(), c(l);
35
+ }, e[4] = c, e[5] = l, e[6] = a) : a = e[6];
36
+ const y = a;
37
+ let C;
38
+ e[7] !== v || e[8] !== n ? (C = () => setTimeout(() => v(n), 0), e[7] = v, e[8] = n, e[9] = C) : C = e[9];
39
+ let o;
40
+ return e[10] !== g || e[11] !== y || e[12] !== p || e[13] !== f || e[14] !== n.children || e[15] !== C ? (o = /* @__PURE__ */ I(L, { textValue: "", onPointerDown: g, onPointerMove: y, onSelect: C, "data-focus": p, ref: f, children: n.children }), e[10] = g, e[11] = y, e[12] = p, e[13] = f, e[14] = n.children, e[15] = C, e[16] = o) : o = e[16], o;
41
+ }, (u, e) => u.suggestion === e.suggestion && u.visibleIndex === e.visibleIndex && u.isActive === e.isActive && u.inputRef === e.inputRef && u.onSelect === e.onSelect && u.onActivate === e.onActivate && u.itemRef === e.itemRef);
42
+ D.displayName = "SuggestionMenuItem";
43
+ const P = i.forwardRef((u, e) => {
44
+ const n = x.c(12);
45
+ let l, p, d;
46
+ n[0] !== u ? ({
47
+ children: l,
48
+ inputRef: p,
49
+ ...d
50
+ } = u, n[0] = u, n[1] = l, n[2] = p, n[3] = d) : (l = n[1], p = n[2], d = n[3]);
51
+ const v = i.useRef(null);
52
+ let c, f;
53
+ n[4] !== p ? (c = (g) => {
54
+ g.preventDefault(), p?.current?.focus({
55
+ preventScroll: !0
56
+ });
57
+ }, f = () => p?.current?.focus({
58
+ preventScroll: !0
59
+ }), n[4] = p, n[5] = c, n[6] = f) : (c = n[5], f = n[6]);
60
+ let m;
61
+ return n[7] !== l || n[8] !== d || n[9] !== c || n[10] !== f ? (m = /* @__PURE__ */ I(F, { ref: v, forceMount: !0, onContextMenuCapture: H, onInteractOutside: U, onCloseAutoFocus: q, onOpenAutoFocus: c, onFocusCapture: f, align: "start", sideOffset: 8, ...d, children: l }), n[7] = l, n[8] = d, n[9] = c, n[10] = f, n[11] = m) : m = n[11], m;
62
+ });
63
+ P.displayName = "InputSuggestionMenuContent";
64
+ const Z = i.memo(P), V = i.forwardRef((u, e) => {
18
65
  const {
19
- suggestions: e,
20
- onSuggestionSelect: a = () => {
66
+ suggestions: n,
67
+ onSuggestionSelect: l = () => {
21
68
  },
22
- ...u
23
- } = o, i = l.useRef([]), [c, m] = l.useState({});
24
- l.useEffect(() => {
25
- if (!e) {
69
+ inputRef: p,
70
+ ...d
71
+ } = u, v = i.useRef([]), c = i.useRef(/* @__PURE__ */ new Map()), [f, m] = i.useState({}), g = i.useRef(null), a = i.useCallback((t, r) => {
72
+ const s = g.current;
73
+ if (!(!r?.force && s === t) && (s !== null && v.current[s]?.removeAttribute("data-focus"), g.current = t, t !== null)) {
74
+ const h = v.current[t];
75
+ h && (h.setAttribute("data-focus", "true"), r?.scrollIntoView && h.scrollIntoView({
76
+ block: "nearest"
77
+ }));
78
+ }
79
+ }, []);
80
+ i.useEffect(() => {
81
+ if (!n) {
26
82
  m({});
27
83
  return;
28
84
  }
29
- m((r) => {
30
- const t = {};
31
- return e.forEach((n) => {
32
- n.groupLabel && (r.hasOwnProperty(n.groupLabel) ? t[n.groupLabel] = r[n.groupLabel] : t[n.groupLabel] = !1);
33
- }), t;
85
+ m((t) => {
86
+ const r = {};
87
+ return n.forEach((s) => {
88
+ s.groupBy && (t.hasOwnProperty(s.groupBy) ? r[s.groupBy] = t[s.groupBy] : r[s.groupBy] = !1);
89
+ }), r;
34
90
  });
35
- }, [e]);
91
+ }, [n]);
36
92
  const {
37
- groupLabelCount: v,
38
- visibleSuggestionCount: S
39
- } = l.useMemo(() => {
40
- if (!e) return {
93
+ groupLabelCount: y,
94
+ visibleSuggestionCount: C,
95
+ visibleSuggestions: o
96
+ } = i.useMemo(() => {
97
+ if (!n) return {
41
98
  groupLabelCount: 0,
42
- visibleSuggestionCount: 0
99
+ visibleSuggestionCount: 0,
100
+ visibleSuggestions: []
43
101
  };
44
- let r = 0, t = 0;
45
- return e.forEach((n, s, b) => {
46
- const f = s > 0 ? b[s - 1]?.groupLabel : void 0;
47
- n.groupLabel && n.groupLabel !== f && (r += 1), (n.groupLabel ? c[n.groupLabel] : !1) || (t += 1);
102
+ let t = 0, r = 0;
103
+ const s = [];
104
+ return n.forEach((h, A, R) => {
105
+ const S = A > 0 ? R[A - 1]?.groupBy : void 0;
106
+ h.groupBy && h.groupBy !== S && (t += 1), (h.groupBy ? f[h.groupBy] : !1) || (r += 1, s.push(h));
48
107
  }), {
49
- groupLabelCount: r,
50
- visibleSuggestionCount: t
108
+ groupLabelCount: t,
109
+ visibleSuggestionCount: r,
110
+ visibleSuggestions: s
51
111
  };
52
- }, [c, e]), g = (r) => {
53
- m((t) => ({
54
- ...t,
55
- [r]: !t[r]
112
+ }, [f, n]);
113
+ i.useEffect(() => {
114
+ const t = g.current;
115
+ if (t !== null) {
116
+ if (t > o.length - 1) {
117
+ a(o.length ? o.length - 1 : null, {
118
+ force: !0
119
+ });
120
+ return;
121
+ }
122
+ a(t, {
123
+ force: !0
124
+ });
125
+ }
126
+ }, [a, o]), i.useImperativeHandle(e, () => ({
127
+ focusFirstItem: () => {
128
+ if (o.length)
129
+ return a(0, {
130
+ scrollIntoView: !0
131
+ }), o[0];
132
+ },
133
+ focusLastItem: () => {
134
+ if (!o.length) return;
135
+ const t = o.length - 1;
136
+ return a(t, {
137
+ scrollIntoView: !0
138
+ }), o[t];
139
+ },
140
+ highlightNextItem: () => {
141
+ if (!o.length) return;
142
+ const t = g.current, r = t === null ? 0 : Math.min(t + 1, o.length - 1);
143
+ return a(r, {
144
+ scrollIntoView: !0
145
+ }), o[r];
146
+ },
147
+ highlightPreviousItem: () => {
148
+ if (!o.length) return;
149
+ const t = g.current, r = t === null ? o.length - 1 : Math.max(t - 1, 0);
150
+ return a(r, {
151
+ scrollIntoView: !0
152
+ }), o[r];
153
+ },
154
+ selectActiveItem: () => {
155
+ const t = g.current;
156
+ if (t === null || !o[t]) return;
157
+ const r = o[t];
158
+ return setTimeout(() => l(r), 0), r;
159
+ },
160
+ clearActiveItem: () => a(null)
161
+ }), [l, a, o]);
162
+ const b = (t) => {
163
+ m((r) => ({
164
+ ...r,
165
+ [t]: !r[t]
56
166
  }));
57
- };
58
- return l.useImperativeHandle(h, () => ({
59
- focusFirstItem: () => i.current[0]?.focus(),
60
- // @ts-ignore
61
- focusLastItem: () => i.current.at(-1)?.focus()
62
- }), []), i.current = [], /* @__PURE__ */ d(R, { h: `${Math.max(S + v, 1) * 27}px`, mah: "calc(var(--radix-popper-available-height) - 3rem - 69px)", ...u, children: [
63
- /* @__PURE__ */ p(G, { children: e?.map((r, t, n) => {
64
- const s = t > 0 ? n[t - 1]?.groupLabel : void 0, b = r.groupLabel && r.groupLabel !== s, f = r.groupLabel ? c[r.groupLabel] : !1;
65
- let C = i.current.length;
66
- return /* @__PURE__ */ d(l.Fragment, { children: [
67
- b && r.groupLabel && /* @__PURE__ */ d(M, { onPointerDown: (L) => L.preventDefault(), onClick: () => g(r.groupLabel), style: {
167
+ }, M = i.useCallback((t) => {
168
+ let r = c.current.get(t);
169
+ return r || (r = (s) => {
170
+ v.current[t] = s;
171
+ }, c.current.set(t, r)), r;
172
+ }, []);
173
+ let E = -1;
174
+ return /* @__PURE__ */ B(N, { h: `${Math.max(C + y, 1) * 27}px`, mah: "calc(var(--radix-popper-available-height) - 3rem - 69px)", ...d, children: [
175
+ /* @__PURE__ */ I(O, { children: n?.map((t, r, s) => {
176
+ const h = r > 0 ? s[r - 1]?.groupBy : void 0, A = t.groupBy && t.groupBy !== h, R = t.groupBy ? f[t.groupBy] : !1, S = R ? null : ++E, w = S !== null && g.current === S;
177
+ return /* @__PURE__ */ B(i.Fragment, { children: [
178
+ A && t.groupBy && /* @__PURE__ */ B(k, { onPointerDown: (G) => G.preventDefault(), onClick: () => b(t.groupBy), style: {
68
179
  display: "flex",
69
180
  alignItems: "center",
70
181
  justifyContent: "space-between",
71
182
  cursor: "pointer"
72
183
  }, children: [
73
- /* @__PURE__ */ p("span", { children: r.groupLabel }),
74
- f ? /* @__PURE__ */ p(E, { size: 16 }) : /* @__PURE__ */ p(y, { size: 16 })
184
+ /* @__PURE__ */ I("span", { children: t.groupBy }),
185
+ R ? /* @__PURE__ */ I($, { size: 16 }) : /* @__PURE__ */ I(z, { size: 16 })
75
186
  ] }),
76
- !f && /* @__PURE__ */ p(
77
- w,
187
+ !R && /* @__PURE__ */ I(
188
+ D,
78
189
  {
79
- textValue: "",
80
- onSelect: () => setTimeout(() => a(r), 0),
81
- ref: (L) => i.current[C] = L,
82
- children: r.children
190
+ suggestion: t,
191
+ visibleIndex: S,
192
+ isActive: w,
193
+ inputRef: p,
194
+ onSelect: l,
195
+ onActivate: a,
196
+ itemRef: S !== null ? M(S) : void 0
83
197
  }
84
198
  )
85
- ] }, t);
199
+ ] }, r);
86
200
  }) }),
87
- /* @__PURE__ */ p(A, { orientation: "vertical", children: /* @__PURE__ */ p(D, {}) })
201
+ /* @__PURE__ */ I(T, { orientation: "vertical", children: /* @__PURE__ */ I(j, {}) })
88
202
  ] });
89
203
  });
90
- function j(o) {
91
- return o.stopPropagation();
204
+ V.displayName = "InputSuggestionMenuContentItems";
205
+ const _ = i.memo(V);
206
+ function H(u) {
207
+ return u.stopPropagation();
92
208
  }
93
- function F(o) {
94
- return o.target instanceof HTMLInputElement && o.preventDefault();
209
+ function U(u) {
210
+ return u.target instanceof HTMLInputElement && u.preventDefault();
95
211
  }
96
- function O(o) {
97
- return o.preventDefault();
212
+ function q(u) {
213
+ return u.preventDefault();
98
214
  }
99
215
  export {
100
- k as InputSuggestionMenuContent,
101
- U as InputSuggestionMenuContentItems
216
+ Z as InputSuggestionMenuContent,
217
+ _ as InputSuggestionMenuContentItems
102
218
  };
@@ -1,20 +1,20 @@
1
- import { jsx as t } from "react/jsx-runtime";
1
+ import { jsx as n } from "react/jsx-runtime";
2
2
  import u from "react";
3
3
  import { Input as i } from "./Input.js";
4
4
  import { IconMinus as a, IconPlus as l } from "@tabler/icons-react";
5
5
  import { Button as e } from "../button/Button.js";
6
- const d = u.forwardRef((o, n) => {
7
- n = n || u.useRef(null);
6
+ const N = u.forwardRef((o, t) => {
7
+ t = t || u.useRef(null);
8
8
  const {
9
9
  step: r = 1,
10
10
  ...c
11
11
  } = o;
12
- return /* @__PURE__ */ t(i, { className: "number-input", right: /* @__PURE__ */ t(e, { variant: "none", onClick: () => {
13
- n.current && (n.current.value || (n.current.value = "0"), n.current.value = (Number.parseInt(n.current.value) + r).toString());
14
- }, children: /* @__PURE__ */ t(l, { size: 13 }) }), left: /* @__PURE__ */ t(e, { variant: "none", onClick: () => {
15
- n.current && (n.current.value || (n.current.value = "0"), n.current.value = (Number.parseInt(n.current.value) - r).toString());
16
- }, children: /* @__PURE__ */ t(a, { size: 13 }) }), leftType: "action", type: "number", ref: n, ...c });
12
+ return /* @__PURE__ */ n(i, { className: "number-input", right: /* @__PURE__ */ n(e, { variant: "none", onClick: () => {
13
+ t.current && (t.current.value || (t.current.value = "0"), t.current.value = (Number.parseInt(t.current.value) + r).toString());
14
+ }, children: /* @__PURE__ */ n(l, { size: 13 }) }), left: /* @__PURE__ */ n(e, { variant: "none", onClick: () => {
15
+ t.current && (t.current.value || (t.current.value = "0"), t.current.value = (Number.parseInt(t.current.value) - r).toString());
16
+ }, children: /* @__PURE__ */ n(a, { size: 13 }) }), leftType: "action", type: "number", ref: t, ...c });
17
17
  });
18
18
  export {
19
- d as NumberInput
19
+ N as NumberInput
20
20
  };
@@ -1,18 +1,19 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import o from "react";
3
- import { Input as h, setElementKey as y } from "./Input.js";
4
- import { IconEye as d, IconX as g } from "@tabler/icons-react";
2
+ import n from "react";
3
+ import { Input as f } from "./Input.js";
4
+ import { IconEye as d, IconX as h } from "@tabler/icons-react";
5
5
  import { Button as i } from "../button/Button.js";
6
- const I = o.forwardRef((s, t) => {
7
- t = t || o.useRef(null);
6
+ import { clearInputElement as y } from "./Input.utils.js";
7
+ const C = n.forwardRef((p, t) => {
8
+ t = t || n.useRef(null);
8
9
  const {
9
- clearable: a = !0,
10
- visible: p = !0,
10
+ clearable: s = !0,
11
+ visible: a = !0,
11
12
  right: c,
12
13
  ...u
13
- } = s, l = (r) => (t.current && y(t.current, "value", "", "change"), r.stopPropagation(), r.preventDefault(), !1), m = (r) => (t.current && t.current.type == "password" ? t.current.type = "text" : t.current && t.current.type == "text" && (t.current.type = "password"), r.stopPropagation(), r.preventDefault(), !1), n = [c];
14
- return p && n.push(/* @__PURE__ */ e(i, { variant: "none", onClick: (r) => m(r), children: /* @__PURE__ */ e(d, { size: 13 }) })), a && n.push(/* @__PURE__ */ e(i, { variant: "none", onClick: (r) => l(r), children: /* @__PURE__ */ e(g, { size: 13 }) })), /* @__PURE__ */ e(h, { right: n, rightType: "action", type: "password", ref: t, ...u });
14
+ } = p, l = (r) => (y(t.current), r.stopPropagation(), r.preventDefault(), !1), m = (r) => (t.current instanceof HTMLInputElement && (t.current.type === "password" ? t.current.type = "text" : t.current.type === "text" && (t.current.type = "password")), r.stopPropagation(), r.preventDefault(), !1), o = [c];
15
+ return a && o.push(/* @__PURE__ */ e(i, { variant: "none", onClick: (r) => m(r), children: /* @__PURE__ */ e(d, { size: 13 }) })), s && o.push(/* @__PURE__ */ e(i, { variant: "none", onClick: (r) => l(r), children: /* @__PURE__ */ e(h, { size: 13 }) })), /* @__PURE__ */ e(f, { right: o, rightType: "action", type: "password", ref: t, ...u });
15
16
  });
16
17
  export {
17
- I as PasswordInput
18
+ C as PasswordInput
18
19
  };
@@ -1,11 +1,11 @@
1
1
  import { jsx as d, jsxs as F, Fragment as x } from "react/jsx-runtime";
2
- import { c as I } from "../../compiler-runtime-BNHg76kC.js";
2
+ import { c as I } from "../../_virtual/compiler-runtime.js";
3
3
  import { OneTimePasswordFieldInput as C, OneTimePasswordFieldHiddenInput as M, OneTimePasswordField as T } from "@radix-ui/react-one-time-password-field";
4
4
  import { mergeCode0Props as V } from "../../utils/utils.js";
5
5
  import { InputLabel as _ } from "./InputLabel.js";
6
6
  import { InputDescription as $ } from "./InputDescription.js";
7
7
  import { InputMessage as w } from "./InputMessage.js";
8
- import '../../assets/Input.css';/* empty css */
8
+ import '../../assets/components/form/Input.style.css';/* empty css */
9
9
  const y = (l) => {
10
10
  const e = I.c(26);
11
11
  let t, i, r, n, o, s;
@@ -1,11 +1,11 @@
1
1
  import { jsx as p, jsxs as x, Fragment as R } from "react/jsx-runtime";
2
- import { c as C } from "../../compiler-runtime-BNHg76kC.js";
2
+ import { c as C } from "../../_virtual/compiler-runtime.js";
3
3
  import * as M from "@radix-ui/react-radio-group";
4
4
  import { mergeCode0Props as v } from "../../utils/utils.js";
5
5
  import { InputLabel as G } from "./InputLabel.js";
6
6
  import { InputDescription as I } from "./InputDescription.js";
7
7
  import { InputMessage as j } from "./InputMessage.js";
8
- import '../../assets/Input.css';/* empty css */
8
+ import '../../assets/components/form/Input.style.css';/* empty css */
9
9
  const k = (u) => {
10
10
  const e = C.c(22);
11
11
  let o, t, a, r, l, i;
@@ -1,8 +1,8 @@
1
1
  import { jsx as c, jsxs as u } from "react/jsx-runtime";
2
- import { c as f } from "../../compiler-runtime-BNHg76kC.js";
2
+ import { c as f } from "../../_virtual/compiler-runtime.js";
3
3
  import * as s from "@radix-ui/react-radio-group";
4
4
  import { mergeCode0Props as d } from "../../utils/utils.js";
5
- import '../../assets/Input.css';/* empty css */
5
+ import '../../assets/components/form/Input.style.css';/* empty css */
6
6
  const R = (t) => {
7
7
  const e = f.c(11);
8
8
  let l;
@@ -1,18 +1,18 @@
1
- import { jsx as u } from "react/jsx-runtime";
1
+ import { jsx as n } from "react/jsx-runtime";
2
2
  import e from "react";
3
3
  import { Input as p } from "./Input.js";
4
4
  const m = e.forwardRef((r, t) => {
5
5
  t = t || e.useRef(null);
6
6
  const {
7
- value: o,
8
- initialValue: l,
9
- ...n
7
+ value: l,
8
+ initialValue: o,
9
+ ...u
10
10
  } = r;
11
- return /* @__PURE__ */ u(p, { wrapperComponent: {
11
+ return /* @__PURE__ */ n(p, { wrapperComponent: {
12
12
  className: "switch-input"
13
- }, type: "checkbox", right: null, left: null, ref: t, value: o, ...l ? {
13
+ }, type: "checkbox", right: null, left: null, ref: t, value: l, ...o ? {
14
14
  defaultChecked: !0
15
- } : {}, ...n });
15
+ } : {}, ...u });
16
16
  });
17
17
  export {
18
18
  m as SwitchInput
@@ -1,18 +1,19 @@
1
- import { jsx as n } from "react/jsx-runtime";
1
+ import { jsx as e } from "react/jsx-runtime";
2
2
  import i from "react";
3
- import { Input as u, setElementKey as s } from "./Input.js";
3
+ import { Input as u } from "./Input.js";
4
4
  import { IconX as f } from "@tabler/icons-react";
5
- import { Button as h } from "../button/Button.js";
6
- const R = i.forwardRef((e, t) => {
5
+ import { Button as p } from "../button/Button.js";
6
+ import { clearInputElement as s } from "./Input.utils.js";
7
+ const R = i.forwardRef((r, t) => {
7
8
  t = t || i.useRef(null);
8
9
  const {
9
- clearable: a = !1,
10
- right: c,
11
- ...l
12
- } = e, m = (r) => {
13
- t.current && s(t.current, "value", "", "change"), e.onClear && e.onClear(r);
14
- }, o = [c];
15
- return a && o.push(/* @__PURE__ */ n(h, { variant: "none", onClick: (r) => m(r), children: /* @__PURE__ */ n(f, { size: 13 }) })), /* @__PURE__ */ n(u, { right: o, type: "text", ref: t, ...l });
10
+ clearable: l = !1,
11
+ right: a,
12
+ ...m
13
+ } = r, c = (o) => {
14
+ s(t.current), r.onClear && r.onClear(o);
15
+ }, n = [a];
16
+ return l && n.push(/* @__PURE__ */ e(p, { variant: "none", onClick: (o) => c(o), children: /* @__PURE__ */ e(f, { size: 13 }) })), /* @__PURE__ */ e(u, { right: n, type: "text", ref: t, ...m });
16
17
  });
17
18
  export {
18
19
  R as TextInput
@@ -1,37 +1,36 @@
1
- import { CheckboxInput as e } from "./CheckboxInput.js";
1
+ import { CheckboxInput as r } from "./CheckboxInput.js";
2
2
  import { EmailInput as p, emailValidation as n } from "./EmailInput.js";
3
- import { Input as m, setElementKey as i } from "./Input.js";
4
- import { InputDescription as I } from "./InputDescription.js";
5
- import { InputLabel as s } from "./InputLabel.js";
6
- import { InputMessage as d } from "./InputMessage.js";
7
- import { InputSuggestionMenuContent as g, InputSuggestionMenuContentItems as P } from "./InputSuggestion.js";
8
- import { NumberInput as c } from "./NumberInput.js";
9
- import { PasswordInput as F } from "./PasswordInput.js";
10
- import { PinInput as S, PinInputField as h, PinInputHiddenField as w } from "./PinInput.js";
3
+ import { Input as m } from "./Input.js";
4
+ import { InputDescription as x } from "./InputDescription.js";
5
+ import { InputLabel as f } from "./InputLabel.js";
6
+ import { InputMessage as s } from "./InputMessage.js";
7
+ import { InputSuggestionMenuContent as l, InputSuggestionMenuContentItems as g } from "./InputSuggestion.js";
8
+ import { NumberInput as b } from "./NumberInput.js";
9
+ import { PasswordInput as C } from "./PasswordInput.js";
10
+ import { PinInput as M, PinInputField as S, PinInputHiddenField as h } from "./PinInput.js";
11
11
  import { RadioGroup as R } from "./RadioGroup.js";
12
- import { RadioInput as y } from "./RadioInput.js";
12
+ import { RadioInput as D } from "./RadioInput.js";
13
13
  import { SwitchInput as G } from "./SwitchInput.js";
14
- import { TextInput as K } from "./TextInput.js";
15
- import { useForm as N } from "./useForm.js";
14
+ import { TextInput as L } from "./TextInput.js";
15
+ import { useForm as T } from "./useForm.js";
16
16
  export {
17
- e as CheckboxInput,
17
+ r as CheckboxInput,
18
18
  p as EmailInput,
19
19
  m as Input,
20
- I as InputDescription,
21
- s as InputLabel,
22
- d as InputMessage,
23
- g as InputSuggestionMenuContent,
24
- P as InputSuggestionMenuContentItems,
25
- c as NumberInput,
26
- F as PasswordInput,
27
- S as PinInput,
28
- h as PinInputField,
29
- w as PinInputHiddenField,
20
+ x as InputDescription,
21
+ f as InputLabel,
22
+ s as InputMessage,
23
+ l as InputSuggestionMenuContent,
24
+ g as InputSuggestionMenuContentItems,
25
+ b as NumberInput,
26
+ C as PasswordInput,
27
+ M as PinInput,
28
+ S as PinInputField,
29
+ h as PinInputHiddenField,
30
30
  R as RadioGroup,
31
- y as RadioInput,
31
+ D as RadioInput,
32
32
  G as SwitchInput,
33
- K as TextInput,
33
+ L as TextInput,
34
34
  n as emailValidation,
35
- i as setElementKey,
36
- N as useForm
35
+ T as useForm
37
36
  };
@@ -1,9 +1,10 @@
1
1
  export type Validations<Values> = Partial<{
2
- [Key in keyof Values]: (value: Values[Key]) => string | null;
2
+ [Key in keyof Values]: (value: Values[Key], values?: Values) => string | null;
3
3
  }>;
4
4
  export interface FormValidationProps<Values> {
5
5
  initialValues: Values;
6
6
  validate?: Validations<Values>;
7
+ truthyValidationBeforeSubmit?: boolean;
7
8
  onSubmit?: (values: Values) => void;
8
9
  }
9
10
  export interface ValidationProps<Value> {
@@ -21,5 +22,6 @@ export type ValidationsProps<Values> = Partial<{
21
22
  export type FormValidationReturn<Values> = [IValidation<Values>, () => void];
22
23
  export interface IValidation<Values> {
23
24
  getInputProps<Key extends keyof Values>(key: Key): ValidationProps<Values[Key]>;
25
+ isValid(): boolean;
24
26
  }
25
27
  export declare const useForm: <Values extends Record<string, any> = Record<string, any>>(props: FormValidationProps<Values>) => FormValidationReturn<Values>;