@gravity-ui/dynamic-forms 5.19.0 → 5.19.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 (368) hide show
  1. package/build/cjs/index.d.ts +1 -0
  2. package/build/cjs/lib/core/components/Form/Controller/Controller.d.ts +11 -0
  3. package/build/cjs/lib/core/components/Form/Controller/index.d.ts +1 -0
  4. package/build/cjs/lib/core/components/Form/Controller/types.d.ts +98 -0
  5. package/build/cjs/lib/core/components/Form/Controller/utils.d.ts +27 -0
  6. package/build/cjs/lib/core/components/Form/DynamicField.d.ts +19 -0
  7. package/build/cjs/lib/core/components/Form/constants.d.ts +4 -0
  8. package/build/cjs/lib/core/components/Form/hooks/index.d.ts +17 -0
  9. package/build/cjs/lib/core/components/Form/hooks/useControllerMirror.d.ts +2 -0
  10. package/build/cjs/lib/core/components/Form/hooks/useCreateContext.d.ts +3 -0
  11. package/build/cjs/lib/core/components/Form/hooks/useCreateSearchContext.d.ts +3 -0
  12. package/build/cjs/lib/core/components/Form/hooks/useDynamicFieldMirror.d.ts +2 -0
  13. package/build/cjs/lib/core/components/Form/hooks/useDynamicFormsCtx.d.ts +1 -0
  14. package/build/cjs/lib/core/components/Form/hooks/useFormShared.d.ts +4 -0
  15. package/build/cjs/lib/core/components/Form/hooks/useFormSharedStore.d.ts +4 -0
  16. package/build/cjs/lib/core/components/Form/hooks/useGenerateRandomValue.d.ts +1 -0
  17. package/build/cjs/lib/core/components/Form/hooks/useIntegrationFF.d.ts +10 -0
  18. package/build/cjs/lib/core/components/Form/hooks/useMonaco.d.ts +1 -0
  19. package/build/cjs/lib/core/components/Form/hooks/useMutateDFState.d.ts +1 -0
  20. package/build/cjs/lib/core/components/Form/hooks/useMutators.d.ts +5 -0
  21. package/build/cjs/lib/core/components/Form/hooks/useSearch/index.d.ts +1 -0
  22. package/build/cjs/lib/core/components/Form/hooks/useSearch/useSearch.d.ts +4 -0
  23. package/build/cjs/lib/core/components/Form/hooks/useSearchContext.d.ts +1 -0
  24. package/build/cjs/lib/core/components/Form/hooks/useSearchStore.d.ts +6 -0
  25. package/build/cjs/lib/core/components/Form/hooks/useStore.d.ts +10 -0
  26. package/build/cjs/lib/core/components/Form/hooks/useStoreValue.d.ts +1 -0
  27. package/build/cjs/lib/core/components/Form/index.d.ts +6 -0
  28. package/build/cjs/lib/core/components/Form/types/array.d.ts +14 -0
  29. package/build/cjs/lib/core/components/Form/types/boolean.d.ts +14 -0
  30. package/build/cjs/lib/core/components/Form/types/config.d.ts +14 -0
  31. package/build/cjs/lib/core/components/Form/types/context.d.ts +23 -0
  32. package/build/cjs/lib/core/components/Form/types/field.d.ts +33 -0
  33. package/build/cjs/lib/core/components/Form/types/index.d.ts +16 -0
  34. package/build/cjs/lib/core/components/Form/types/input.d.ts +23 -0
  35. package/build/cjs/lib/core/components/Form/types/layout.d.ts +9 -0
  36. package/build/cjs/lib/core/components/Form/types/mirror.d.ts +15 -0
  37. package/build/cjs/lib/core/components/Form/types/mutators.d.ts +29 -0
  38. package/build/cjs/lib/core/components/Form/types/number.d.ts +14 -0
  39. package/build/cjs/lib/core/components/Form/types/object.d.ts +14 -0
  40. package/build/cjs/lib/core/components/Form/types/search.d.ts +8 -0
  41. package/build/cjs/lib/core/components/Form/types/store.d.ts +7 -0
  42. package/build/cjs/lib/core/components/Form/types/string.d.ts +14 -0
  43. package/build/cjs/lib/core/components/Form/types/validators.d.ts +8 -0
  44. package/build/cjs/lib/core/components/Form/types/value.d.ts +8 -0
  45. package/build/cjs/lib/core/components/Form/utils/common.d.ts +6 -0
  46. package/build/cjs/lib/core/components/Form/utils/index.d.ts +2 -0
  47. package/build/cjs/lib/core/components/Form/utils/search.d.ts +3 -0
  48. package/build/cjs/lib/core/components/View/DynamicView.d.ts +17 -0
  49. package/build/cjs/lib/core/components/View/ViewController.d.ts +7 -0
  50. package/build/cjs/lib/core/components/View/helpers.d.ts +1 -0
  51. package/build/cjs/lib/core/components/View/hooks/index.d.ts +7 -0
  52. package/build/cjs/lib/core/components/View/hooks/useComponents.d.ts +6 -0
  53. package/build/cjs/lib/core/components/View/hooks/useCreateContext.d.ts +3 -0
  54. package/build/cjs/lib/core/components/View/hooks/useDynamicFormsCtx.d.ts +1 -0
  55. package/build/cjs/lib/core/components/View/hooks/useMonaco.d.ts +1 -0
  56. package/build/cjs/lib/core/components/View/hooks/useRender.d.ts +15 -0
  57. package/build/cjs/lib/core/components/View/hooks/useViewShared.d.ts +4 -0
  58. package/build/cjs/lib/core/components/View/hooks/useViewSharedStore.d.ts +4 -0
  59. package/build/cjs/lib/core/components/View/index.d.ts +5 -0
  60. package/build/cjs/lib/core/components/View/types/array.d.ts +13 -0
  61. package/build/cjs/lib/core/components/View/types/boolean.d.ts +13 -0
  62. package/build/cjs/lib/core/components/View/types/config.d.ts +13 -0
  63. package/build/cjs/lib/core/components/View/types/context.d.ts +18 -0
  64. package/build/cjs/lib/core/components/View/types/index.d.ts +9 -0
  65. package/build/cjs/lib/core/components/View/types/layout.d.ts +8 -0
  66. package/build/cjs/lib/core/components/View/types/number.d.ts +13 -0
  67. package/build/cjs/lib/core/components/View/types/object.d.ts +13 -0
  68. package/build/cjs/lib/core/components/View/types/string.d.ts +13 -0
  69. package/build/cjs/lib/core/components/View/types/views.d.ts +23 -0
  70. package/build/cjs/lib/core/components/index.d.ts +2 -0
  71. package/build/cjs/lib/core/constants.d.ts +8 -0
  72. package/build/cjs/lib/core/helpers.d.ts +7 -0
  73. package/build/cjs/lib/core/index.d.ts +4 -0
  74. package/build/cjs/lib/core/types/index.d.ts +2 -0
  75. package/build/cjs/lib/core/types/specs.d.ts +194 -0
  76. package/build/cjs/lib/core/types/value.d.ts +5 -0
  77. package/build/cjs/lib/index.d.ts +2 -0
  78. package/build/cjs/lib/kit/components/AccordeonCard/AccordeonCard.d.ts +16 -0
  79. package/build/cjs/lib/kit/components/AccordeonCard/index.d.ts +1 -0
  80. package/build/cjs/lib/kit/components/Card/Card.d.ts +14 -0
  81. package/build/cjs/lib/kit/components/Card/index.d.ts +1 -0
  82. package/build/cjs/lib/kit/components/CopyButton/CopyButton.d.ts +11 -0
  83. package/build/cjs/lib/kit/components/CopyButton/index.d.ts +1 -0
  84. package/build/cjs/lib/kit/components/ErrorWrapper/ErrorWrapper.d.ts +10 -0
  85. package/build/cjs/lib/kit/components/ErrorWrapper/index.d.ts +1 -0
  86. package/build/cjs/lib/kit/components/GenerateRandomValueButton/GenerateRandomValueButton.d.ts +8 -0
  87. package/build/cjs/lib/kit/components/GenerateRandomValueButton/index.d.ts +1 -0
  88. package/build/cjs/lib/kit/components/GroupIndent/GroupIndent.d.ts +5 -0
  89. package/build/cjs/lib/kit/components/GroupIndent/index.d.ts +1 -0
  90. package/build/cjs/lib/kit/components/HTMLContent/HTMLContent.d.ts +6 -0
  91. package/build/cjs/lib/kit/components/HTMLContent/index.d.ts +1 -0
  92. package/build/cjs/lib/kit/components/Inputs/ArrayBase/ArrayBase.d.ts +2 -0
  93. package/build/cjs/lib/kit/components/Inputs/ArrayBase/index.d.ts +1 -0
  94. package/build/cjs/lib/kit/components/Inputs/CardOneOf/CardOneOf.d.ts +2 -0
  95. package/build/cjs/lib/kit/components/Inputs/CardOneOf/index.d.ts +1 -0
  96. package/build/cjs/lib/kit/components/Inputs/Checkbox/Checkbox.d.ts +5 -0
  97. package/build/cjs/lib/kit/components/Inputs/Checkbox/index.d.ts +1 -0
  98. package/build/cjs/lib/kit/components/Inputs/CheckboxGroup/CheckboxGroup.d.ts +5 -0
  99. package/build/cjs/lib/kit/components/Inputs/CheckboxGroup/index.d.ts +1 -0
  100. package/build/cjs/lib/kit/components/Inputs/ColorPicker/ColorPicker.d.ts +21 -0
  101. package/build/cjs/lib/kit/components/Inputs/ColorPicker/index.d.ts +1 -0
  102. package/build/cjs/lib/kit/components/Inputs/DateInput/DateInput.d.ts +8 -0
  103. package/build/cjs/lib/kit/components/Inputs/DateInput/index.d.ts +1 -0
  104. package/build/cjs/lib/kit/components/Inputs/FileInput/FileInput.d.ts +3 -0
  105. package/build/cjs/lib/kit/components/Inputs/FileInput/index.d.ts +1 -0
  106. package/build/cjs/lib/kit/components/Inputs/FileInput/utils.d.ts +2 -0
  107. package/build/cjs/lib/kit/components/Inputs/MonacoInput/MonacoHeader.d.ts +11 -0
  108. package/build/cjs/lib/kit/components/Inputs/MonacoInput/MonacoInputBase.d.ts +9 -0
  109. package/build/cjs/lib/kit/components/Inputs/MonacoInput/MonacoInputDialog.d.ts +20 -0
  110. package/build/cjs/lib/kit/components/Inputs/MonacoInput/index.d.ts +1 -0
  111. package/build/cjs/lib/kit/components/Inputs/MonacoInput/useMonacoOptions.d.ts +2 -0
  112. package/build/cjs/lib/kit/components/Inputs/MultiOneOf/MultiOneOf.d.ts +7 -0
  113. package/build/cjs/lib/kit/components/Inputs/MultiOneOf/index.d.ts +1 -0
  114. package/build/cjs/lib/kit/components/Inputs/MultiSelect/MultiSelect.d.ts +6 -0
  115. package/build/cjs/lib/kit/components/Inputs/MultiSelect/index.d.ts +1 -0
  116. package/build/cjs/lib/kit/components/Inputs/Number/Number.d.ts +6 -0
  117. package/build/cjs/lib/kit/components/Inputs/Number/index.d.ts +1 -0
  118. package/build/cjs/lib/kit/components/Inputs/NumberWithScale/NumberWithScale.d.ts +3 -0
  119. package/build/cjs/lib/kit/components/Inputs/NumberWithScale/index.d.ts +1 -0
  120. package/build/cjs/lib/kit/components/Inputs/NumberWithScale/useInitial.d.ts +5 -0
  121. package/build/cjs/lib/kit/components/Inputs/ObjectBase/ObjectBase.d.ts +7 -0
  122. package/build/cjs/lib/kit/components/Inputs/ObjectBase/index.d.ts +1 -0
  123. package/build/cjs/lib/kit/components/Inputs/ObjectValueInput/ObjectValueInput.d.ts +2 -0
  124. package/build/cjs/lib/kit/components/Inputs/ObjectValueInput/index.d.ts +1 -0
  125. package/build/cjs/lib/kit/components/Inputs/OneOf/OneOf.d.ts +7 -0
  126. package/build/cjs/lib/kit/components/Inputs/OneOf/index.d.ts +1 -0
  127. package/build/cjs/lib/kit/components/Inputs/RadioGroup/RadioGroup.d.ts +6 -0
  128. package/build/cjs/lib/kit/components/Inputs/RadioGroup/index.d.ts +1 -0
  129. package/build/cjs/lib/kit/components/Inputs/RangeInputPicker/RangeInputPicker.d.ts +4 -0
  130. package/build/cjs/lib/kit/components/Inputs/RangeInputPicker/RangeInputPickerNumber.d.ts +4 -0
  131. package/build/cjs/lib/kit/components/Inputs/RangeInputPicker/index.d.ts +3 -0
  132. package/build/cjs/lib/kit/components/Inputs/RangeInputPicker/types.d.ts +15 -0
  133. package/build/cjs/lib/kit/components/Inputs/Secret/Secret.d.ts +2 -0
  134. package/build/cjs/lib/kit/components/Inputs/Secret/index.d.ts +1 -0
  135. package/build/cjs/lib/kit/components/Inputs/Select/Select.d.ts +6 -0
  136. package/build/cjs/lib/kit/components/Inputs/Select/index.d.ts +1 -0
  137. package/build/cjs/lib/kit/components/Inputs/Switch/Switch.d.ts +2 -0
  138. package/build/cjs/lib/kit/components/Inputs/Switch/index.d.ts +1 -0
  139. package/build/cjs/lib/kit/components/Inputs/TableArrayInput/TableArrayInput.d.ts +2 -0
  140. package/build/cjs/lib/kit/components/Inputs/TableArrayInput/index.d.ts +1 -0
  141. package/build/cjs/lib/kit/components/Inputs/Text/Text.d.ts +6 -0
  142. package/build/cjs/lib/kit/components/Inputs/Text/index.d.ts +1 -0
  143. package/build/cjs/lib/kit/components/Inputs/TextArea/TextArea.d.ts +5 -0
  144. package/build/cjs/lib/kit/components/Inputs/TextArea/index.d.ts +1 -0
  145. package/build/cjs/lib/kit/components/Inputs/TextContent/TextContent.d.ts +12 -0
  146. package/build/cjs/lib/kit/components/Inputs/TextContent/index.d.ts +1 -0
  147. package/build/cjs/lib/kit/components/Inputs/TextContent/utils.d.ts +4 -0
  148. package/build/cjs/lib/kit/components/Inputs/TextLink/TextLink.d.ts +2 -0
  149. package/build/cjs/lib/kit/components/Inputs/TextLink/index.d.ts +1 -0
  150. package/build/cjs/lib/kit/components/Inputs/TimeRangeSelector/TimeRangeSelector.d.ts +2 -0
  151. package/build/cjs/lib/kit/components/Inputs/TimeRangeSelector/components/TimeRangeSelect/TimeRangeSelect.d.ts +13 -0
  152. package/build/cjs/lib/kit/components/Inputs/TimeRangeSelector/components/TimeRangeSelect/index.d.ts +1 -0
  153. package/build/cjs/lib/kit/components/Inputs/TimeRangeSelector/components/index.d.ts +1 -0
  154. package/build/cjs/lib/kit/components/Inputs/TimeRangeSelector/index.d.ts +1 -0
  155. package/build/cjs/lib/kit/components/Inputs/TimeRangeSelector/utils.d.ts +16 -0
  156. package/build/cjs/lib/kit/components/Inputs/index.d.ts +26 -0
  157. package/build/cjs/lib/kit/components/Layouts/Accordeon/Accordeon.d.ts +8 -0
  158. package/build/cjs/lib/kit/components/Layouts/Accordeon/index.d.ts +1 -0
  159. package/build/cjs/lib/kit/components/Layouts/AccordeonCard/AccordeonCardForm.d.ts +3 -0
  160. package/build/cjs/lib/kit/components/Layouts/AccordeonCard/index.d.ts +1 -0
  161. package/build/cjs/lib/kit/components/Layouts/CardAccordeon.d.ts +3 -0
  162. package/build/cjs/lib/kit/components/Layouts/CardSection.d.ts +3 -0
  163. package/build/cjs/lib/kit/components/Layouts/Column/Column.d.ts +3 -0
  164. package/build/cjs/lib/kit/components/Layouts/Column/index.d.ts +1 -0
  165. package/build/cjs/lib/kit/components/Layouts/Row/Row.d.ts +4 -0
  166. package/build/cjs/lib/kit/components/Layouts/Row/index.d.ts +1 -0
  167. package/build/cjs/lib/kit/components/Layouts/Section/Section.d.ts +15 -0
  168. package/build/cjs/lib/kit/components/Layouts/Section/index.d.ts +1 -0
  169. package/build/cjs/lib/kit/components/Layouts/TableCell/TableCell.d.ts +3 -0
  170. package/build/cjs/lib/kit/components/Layouts/TableCell/index.d.ts +1 -0
  171. package/build/cjs/lib/kit/components/Layouts/Transparent/Transparent.d.ts +3 -0
  172. package/build/cjs/lib/kit/components/Layouts/Transparent/index.d.ts +1 -0
  173. package/build/cjs/lib/kit/components/Layouts/index.d.ts +9 -0
  174. package/build/cjs/lib/kit/components/LazyLoader/LazyLoader.d.ts +6 -0
  175. package/build/cjs/lib/kit/components/LazyLoader/index.d.ts +1 -0
  176. package/build/cjs/lib/kit/components/LongValue/LongValue.d.ts +7 -0
  177. package/build/cjs/lib/kit/components/LongValue/index.d.ts +1 -0
  178. package/build/cjs/lib/kit/components/RemoveButton/RemoveButton.d.ts +7 -0
  179. package/build/cjs/lib/kit/components/RemoveButton/index.d.ts +1 -0
  180. package/build/cjs/lib/kit/components/SimpleVerticalAccordeon/SimpleVerticalAccordeon.d.ts +44 -0
  181. package/build/cjs/lib/kit/components/SimpleVerticalAccordeon/index.d.ts +1 -0
  182. package/build/cjs/lib/kit/components/TogglerCard/TogglerCard.d.ts +11 -0
  183. package/build/cjs/lib/kit/components/TogglerCard/index.d.ts +1 -0
  184. package/build/cjs/lib/kit/components/ViewLayouts/ViewAccordeon/ViewAccordeon.d.ts +8 -0
  185. package/build/cjs/lib/kit/components/ViewLayouts/ViewAccordeon/index.d.ts +1 -0
  186. package/build/cjs/lib/kit/components/ViewLayouts/ViewAccordeonCard/ViewAccordeonCard.d.ts +3 -0
  187. package/build/cjs/lib/kit/components/ViewLayouts/ViewAccordeonCard/index.d.ts +1 -0
  188. package/build/cjs/lib/kit/components/ViewLayouts/ViewCardAccordeon.d.ts +3 -0
  189. package/build/cjs/lib/kit/components/ViewLayouts/ViewCardSection.d.ts +3 -0
  190. package/build/cjs/lib/kit/components/ViewLayouts/ViewColumn/ViewColumn.d.ts +3 -0
  191. package/build/cjs/lib/kit/components/ViewLayouts/ViewColumn/index.d.ts +1 -0
  192. package/build/cjs/lib/kit/components/ViewLayouts/ViewRow/ViewRow.d.ts +3 -0
  193. package/build/cjs/lib/kit/components/ViewLayouts/ViewRow/index.d.ts +1 -0
  194. package/build/cjs/lib/kit/components/ViewLayouts/ViewSection/ViewSection.d.ts +6 -0
  195. package/build/cjs/lib/kit/components/ViewLayouts/ViewSection/index.d.ts +1 -0
  196. package/build/cjs/lib/kit/components/ViewLayouts/ViewTableCell/ViewTableCell.d.ts +3 -0
  197. package/build/cjs/lib/kit/components/ViewLayouts/ViewTableCell/index.d.ts +1 -0
  198. package/build/cjs/lib/kit/components/ViewLayouts/ViewTransparent/ViewTransparent.d.ts +3 -0
  199. package/build/cjs/lib/kit/components/ViewLayouts/ViewTransparent/index.d.ts +1 -0
  200. package/build/cjs/lib/kit/components/ViewLayouts/index.d.ts +9 -0
  201. package/build/cjs/lib/kit/components/Views/ArrayBaseView/ArrayBaseView.d.ts +2 -0
  202. package/build/cjs/lib/kit/components/Views/ArrayBaseView/index.d.ts +1 -0
  203. package/build/cjs/lib/kit/components/Views/BaseView/BaseView.d.ts +3 -0
  204. package/build/cjs/lib/kit/components/Views/BaseView/index.d.ts +1 -0
  205. package/build/cjs/lib/kit/components/Views/CardOneOfView.d.ts +2 -0
  206. package/build/cjs/lib/kit/components/Views/CheckboxGroupView/CheckboxGroupView.d.ts +2 -0
  207. package/build/cjs/lib/kit/components/Views/CheckboxGroupView/index.d.ts +1 -0
  208. package/build/cjs/lib/kit/components/Views/ColorPickerView/ColorPickerView.d.ts +2 -0
  209. package/build/cjs/lib/kit/components/Views/ColorPickerView/index.d.ts +1 -0
  210. package/build/cjs/lib/kit/components/Views/DateView/DateView.d.ts +3 -0
  211. package/build/cjs/lib/kit/components/Views/DateView/index.d.ts +1 -0
  212. package/build/cjs/lib/kit/components/Views/FileInputView/FileInputView.d.ts +3 -0
  213. package/build/cjs/lib/kit/components/Views/FileInputView/index.d.ts +1 -0
  214. package/build/cjs/lib/kit/components/Views/MonacoInputView/MonacoBaseView.d.ts +3 -0
  215. package/build/cjs/lib/kit/components/Views/MonacoInputView/MonacoViewDialog.d.ts +15 -0
  216. package/build/cjs/lib/kit/components/Views/MonacoInputView/index.d.ts +1 -0
  217. package/build/cjs/lib/kit/components/Views/MultiOneOfView/MultiOneOfView.d.ts +7 -0
  218. package/build/cjs/lib/kit/components/Views/MultiOneOfView/index.d.ts +1 -0
  219. package/build/cjs/lib/kit/components/Views/MultiSelectView/MultiSelectView.d.ts +2 -0
  220. package/build/cjs/lib/kit/components/Views/MultiSelectView/index.d.ts +1 -0
  221. package/build/cjs/lib/kit/components/Views/NumberWithScaleView/NumberWithScaleView.d.ts +3 -0
  222. package/build/cjs/lib/kit/components/Views/NumberWithScaleView/index.d.ts +1 -0
  223. package/build/cjs/lib/kit/components/Views/ObjectBaseView/ObjectBaseView.d.ts +7 -0
  224. package/build/cjs/lib/kit/components/Views/ObjectBaseView/index.d.ts +1 -0
  225. package/build/cjs/lib/kit/components/Views/ObjectValueInputView/ObjectValueInputView.d.ts +2 -0
  226. package/build/cjs/lib/kit/components/Views/ObjectValueInputView/index.d.ts +1 -0
  227. package/build/cjs/lib/kit/components/Views/OneOfView/OneOfView.d.ts +7 -0
  228. package/build/cjs/lib/kit/components/Views/OneOfView/index.d.ts +1 -0
  229. package/build/cjs/lib/kit/components/Views/RangeInputPickerView/RangeInputPickerNumberView.d.ts +2 -0
  230. package/build/cjs/lib/kit/components/Views/RangeInputPickerView/RangeInputPickerView.d.ts +2 -0
  231. package/build/cjs/lib/kit/components/Views/RangeInputPickerView/index.d.ts +2 -0
  232. package/build/cjs/lib/kit/components/Views/TableArrayView/TableArrayView.d.ts +2 -0
  233. package/build/cjs/lib/kit/components/Views/TableArrayView/index.d.ts +1 -0
  234. package/build/cjs/lib/kit/components/Views/TextAreaView/TextAreaView.d.ts +2 -0
  235. package/build/cjs/lib/kit/components/Views/TextAreaView/index.d.ts +1 -0
  236. package/build/cjs/lib/kit/components/Views/TextContentView.d.ts +2 -0
  237. package/build/cjs/lib/kit/components/Views/TextLinkView/TextLinkView.d.ts +2 -0
  238. package/build/cjs/lib/kit/components/Views/TextLinkView/index.d.ts +1 -0
  239. package/build/cjs/lib/kit/components/Views/TimeRangeSelectorView/TimeRangeSelectorView.d.ts +2 -0
  240. package/build/cjs/lib/kit/components/Views/TimeRangeSelectorView/index.d.ts +1 -0
  241. package/build/cjs/lib/kit/components/Views/index.d.ts +20 -0
  242. package/build/cjs/lib/kit/components/index.d.ts +14 -0
  243. package/build/cjs/lib/kit/constants/common.d.ts +13 -0
  244. package/build/cjs/lib/kit/constants/config.d.ts +3 -0
  245. package/build/cjs/lib/kit/constants/index.d.ts +2 -0
  246. package/build/cjs/lib/kit/hooks/index.d.ts +2 -0
  247. package/build/cjs/lib/kit/hooks/useErrorChecker.d.ts +8 -0
  248. package/build/cjs/lib/kit/hooks/useOneOf/index.d.ts +1 -0
  249. package/build/cjs/lib/kit/hooks/useOneOf/useOneOf.d.ts +12 -0
  250. package/build/cjs/lib/kit/i18n/configure.d.ts +12 -0
  251. package/build/cjs/lib/kit/i18n/index.d.ts +2 -0
  252. package/build/cjs/lib/kit/index.d.ts +6 -0
  253. package/build/cjs/lib/kit/utils/bigIntMath.d.ts +2 -0
  254. package/build/cjs/lib/kit/utils/cn.d.ts +2 -0
  255. package/build/cjs/lib/kit/utils/common.d.ts +6 -0
  256. package/build/cjs/lib/kit/utils/index.d.ts +5 -0
  257. package/build/cjs/lib/kit/utils/objectInline.d.ts +4 -0
  258. package/build/cjs/lib/kit/utils/objectKeys.d.ts +4 -0
  259. package/build/cjs/lib/kit/validators/helpers.d.ts +7 -0
  260. package/build/cjs/lib/kit/validators/index.d.ts +2 -0
  261. package/build/cjs/lib/kit/validators/messages.d.ts +2 -0
  262. package/build/cjs/lib/kit/validators/types.d.ts +20 -0
  263. package/build/cjs/lib/kit/validators/validators.d.ts +42 -0
  264. package/build/cjs/lib/unstable/core/Entity/Entity.d.ts +10 -0
  265. package/build/cjs/lib/unstable/core/Entity/index.d.ts +2 -0
  266. package/build/cjs/lib/unstable/core/Entity/types.d.ts +27 -0
  267. package/build/cjs/lib/unstable/core/Entity/utils.d.ts +3 -0
  268. package/build/cjs/lib/unstable/core/SchemaRenderer/SchemaRenderer.d.ts +5 -0
  269. package/build/cjs/lib/unstable/core/SchemaRenderer/index.d.ts +1 -0
  270. package/build/cjs/lib/unstable/core/constants.d.ts +22 -0
  271. package/build/cjs/lib/unstable/core/index.d.ts +5 -0
  272. package/build/cjs/lib/unstable/core/types/components.d.ts +29 -0
  273. package/build/cjs/lib/unstable/core/types/config.d.ts +36 -0
  274. package/build/cjs/lib/unstable/core/types/helpers.d.ts +18 -0
  275. package/build/cjs/lib/unstable/core/types/index.d.ts +5 -0
  276. package/build/cjs/lib/unstable/core/types/schema.d.ts +1186 -0
  277. package/build/cjs/lib/unstable/core/types/validation.d.ts +39 -0
  278. package/build/cjs/lib/unstable/core/types/values.d.ts +4 -0
  279. package/build/cjs/lib/unstable/core/useSchemaRenderer/constants.d.ts +1 -0
  280. package/build/cjs/lib/unstable/core/useSchemaRenderer/hooks/index.d.ts +2 -0
  281. package/build/cjs/lib/unstable/core/useSchemaRenderer/hooks/useEntitiesState.d.ts +7 -0
  282. package/build/cjs/lib/unstable/core/useSchemaRenderer/hooks/useSchemaRendererMutators.d.ts +10 -0
  283. package/build/cjs/lib/unstable/core/useSchemaRenderer/index.d.ts +3 -0
  284. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/async-validation/async-validation.d.ts +3 -0
  285. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/async-validation/index.d.ts +2 -0
  286. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/async-validation/types.d.ts +34 -0
  287. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/external-errors/external-errors.d.ts +3 -0
  288. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/external-errors/index.d.ts +2 -0
  289. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/external-errors/types.d.ts +25 -0
  290. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/index.d.ts +13 -0
  291. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/schema-mutators/index.d.ts +2 -0
  292. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/schema-mutators/schema-mutators.d.ts +3 -0
  293. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/schema-mutators/types.d.ts +26 -0
  294. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/trigger-fields/index.d.ts +2 -0
  295. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/trigger-fields/trigger-fields.d.ts +2 -0
  296. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/trigger-fields/types.d.ts +6 -0
  297. package/build/cjs/lib/unstable/core/useSchemaRenderer/types.d.ts +22 -0
  298. package/build/cjs/lib/unstable/core/useSchemaRenderer/useSchemaRenderer.d.ts +37 -0
  299. package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/common.d.ts +1 -0
  300. package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/get-ajv-validate.d.ts +11 -0
  301. package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/get-validate.d.ts +14 -0
  302. package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/index.d.ts +2 -0
  303. package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/process-ajv-error.d.ts +10 -0
  304. package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/process-ajv-validate-errors.d.ts +20 -0
  305. package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/process-entity-parameters-error.d.ts +15 -0
  306. package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/process-errors-state.d.ts +12 -0
  307. package/build/cjs/lib/unstable/core/utils/common.d.ts +49 -0
  308. package/build/cjs/lib/unstable/core/utils/index.d.ts +1 -0
  309. package/build/cjs/lib/unstable/kit/Accordeon.d.ts +3 -0
  310. package/build/cjs/lib/unstable/kit/Any.d.ts +2 -0
  311. package/build/cjs/lib/unstable/kit/ArrayBase.d.ts +2 -0
  312. package/build/cjs/lib/unstable/kit/MultiSelect.d.ts +6 -0
  313. package/build/cjs/lib/unstable/kit/ObjectBase.d.ts +7 -0
  314. package/build/cjs/lib/unstable/kit/Row.d.ts +10 -0
  315. package/build/cjs/lib/unstable/kit/Text.d.ts +6 -0
  316. package/build/cjs/lib/unstable/kit/components/ArrayRemoveButton/ArrayRemoveButton.d.ts +5 -0
  317. package/build/cjs/lib/unstable/kit/components/ArrayRemoveButton/index.d.ts +1 -0
  318. package/build/cjs/lib/unstable/kit/components/ControlError/ControlError.d.ts +8 -0
  319. package/build/cjs/lib/unstable/kit/components/ControlError/index.d.ts +1 -0
  320. package/build/cjs/lib/unstable/kit/components/HTMLContent/HTMLContent.d.ts +6 -0
  321. package/build/cjs/lib/unstable/kit/components/HTMLContent/index.d.ts +1 -0
  322. package/build/cjs/lib/unstable/kit/components/index.d.ts +3 -0
  323. package/build/cjs/lib/unstable/kit/config.d.ts +95 -0
  324. package/build/cjs/lib/unstable/kit/constants/config.d.ts +112 -0
  325. package/build/cjs/lib/unstable/kit/constants/index.d.ts +1 -0
  326. package/build/cjs/lib/unstable/kit/controls/ArrayBase/ArrayBase.d.ts +8 -0
  327. package/build/cjs/lib/unstable/kit/controls/ArrayBase/index.d.ts +1 -0
  328. package/build/cjs/lib/unstable/kit/controls/Checkbox/Checkbox.d.ts +6 -0
  329. package/build/cjs/lib/unstable/kit/controls/Checkbox/index.d.ts +1 -0
  330. package/build/cjs/lib/unstable/kit/controls/CheckboxGroup/CheckboxGroup.d.ts +9 -0
  331. package/build/cjs/lib/unstable/kit/controls/CheckboxGroup/index.d.ts +1 -0
  332. package/build/cjs/lib/unstable/kit/controls/ColorPicker/ColorPicker.d.ts +6 -0
  333. package/build/cjs/lib/unstable/kit/controls/ColorPicker/index.d.ts +1 -0
  334. package/build/cjs/lib/unstable/kit/controls/DateInput/DateInput.d.ts +8 -0
  335. package/build/cjs/lib/unstable/kit/controls/DateInput/index.d.ts +1 -0
  336. package/build/cjs/lib/unstable/kit/controls/MultiSelect/MultiSelect.d.ts +8 -0
  337. package/build/cjs/lib/unstable/kit/controls/MultiSelect/index.d.ts +1 -0
  338. package/build/cjs/lib/unstable/kit/controls/NumberBase/Number.d.ts +6 -0
  339. package/build/cjs/lib/unstable/kit/controls/NumberBase/index.d.ts +1 -0
  340. package/build/cjs/lib/unstable/kit/controls/ObjectBase/ObjectBase.d.ts +8 -0
  341. package/build/cjs/lib/unstable/kit/controls/ObjectBase/index.d.ts +1 -0
  342. package/build/cjs/lib/unstable/kit/controls/Password/Password.d.ts +6 -0
  343. package/build/cjs/lib/unstable/kit/controls/Password/index.d.ts +1 -0
  344. package/build/cjs/lib/unstable/kit/controls/RadioGroup/RadioGroup.d.ts +8 -0
  345. package/build/cjs/lib/unstable/kit/controls/RadioGroup/index.d.ts +1 -0
  346. package/build/cjs/lib/unstable/kit/controls/RangeSlider/RangeSlider.d.ts +7 -0
  347. package/build/cjs/lib/unstable/kit/controls/RangeSlider/index.d.ts +1 -0
  348. package/build/cjs/lib/unstable/kit/controls/Select/Select.d.ts +9 -0
  349. package/build/cjs/lib/unstable/kit/controls/Select/index.d.ts +1 -0
  350. package/build/cjs/lib/unstable/kit/controls/Slider/Slider.d.ts +6 -0
  351. package/build/cjs/lib/unstable/kit/controls/Slider/index.d.ts +1 -0
  352. package/build/cjs/lib/unstable/kit/controls/StringBase/StringBase.d.ts +6 -0
  353. package/build/cjs/lib/unstable/kit/controls/StringBase/index.d.ts +1 -0
  354. package/build/cjs/lib/unstable/kit/controls/Switch/Switch.d.ts +6 -0
  355. package/build/cjs/lib/unstable/kit/controls/Switch/index.d.ts +1 -0
  356. package/build/cjs/lib/unstable/kit/controls/TextArea/TextArea.d.ts +6 -0
  357. package/build/cjs/lib/unstable/kit/controls/TextArea/index.d.ts +1 -0
  358. package/build/cjs/lib/unstable/kit/controls/index.d.ts +16 -0
  359. package/build/cjs/lib/unstable/kit/utils/cn.d.ts +1 -0
  360. package/build/cjs/lib/unstable/kit/utils/common.d.ts +7 -0
  361. package/build/cjs/lib/unstable/kit/utils/index.d.ts +2 -0
  362. package/build/cjs/lib/unstable/kit/wrappers/Row/Row.d.ts +6 -0
  363. package/build/cjs/lib/unstable/kit/wrappers/Row/index.d.ts +1 -0
  364. package/build/cjs/lib/unstable/kit/wrappers/Transparent/Transparent.d.ts +3 -0
  365. package/build/cjs/lib/unstable/kit/wrappers/Transparent/index.d.ts +1 -0
  366. package/build/cjs/lib/unstable/kit/wrappers/index.d.ts +2 -0
  367. package/build/cjs/unstable.d.ts +4 -0
  368. package/package.json +1 -1
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ interface TogglerCardProps {
3
+ description?: string;
4
+ title: string;
5
+ text: string;
6
+ onClick: () => void;
7
+ disabled?: boolean;
8
+ selected: boolean;
9
+ }
10
+ export declare const TogglerCard: React.FC<TogglerCardProps>;
11
+ export {};
@@ -0,0 +1 @@
1
+ export * from './TogglerCard';
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import type { TextProps } from '@gravity-ui/uikit';
3
+ import type { ArrayValue, ObjectValue, Spec, ViewLayoutProps } from '../../../../core';
4
+ interface ViewAccordeonLayoutProps {
5
+ variantTitle?: TextProps['variant'];
6
+ }
7
+ export declare const ViewAccordeon: <T extends ViewLayoutProps<ArrayValue | ObjectValue, Spec<any, any, ViewAccordeonLayoutProps>>>({ name, value, spec, children, }: T) => React.JSX.Element | null;
8
+ export {};
@@ -0,0 +1 @@
1
+ export * from './ViewAccordeon';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import type { ArrayViewLayoutProps, ObjectViewLayoutProps } from '../../../../core';
3
+ export declare const ViewAccordeonCard: <T extends ArrayViewLayoutProps | ObjectViewLayoutProps>({ value, name, spec, children, }: T) => React.JSX.Element | null;
@@ -0,0 +1 @@
1
+ export * from './ViewAccordeonCard';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import type { ArrayViewLayoutProps, ObjectViewLayoutProps } from '../../../core';
3
+ export declare const ViewCardAccordeon: <T extends ArrayViewLayoutProps | ObjectViewLayoutProps>({ name, value, spec, children, }: T) => React.JSX.Element | null;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import type { FormValue, Spec, ViewLayoutProps } from '../../../core';
3
+ export declare const ViewCardSection: <T extends FormValue, S extends Spec>({ name, value, spec, children, }: ViewLayoutProps<T, S>) => React.JSX.Element | null;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import type { FormValue, Spec, ViewLayoutProps } from '../../../../core';
3
+ export declare const ViewColumn: <T extends FormValue, S extends Spec>({ value, spec, children, }: ViewLayoutProps<T, S>) => React.JSX.Element | null;
@@ -0,0 +1 @@
1
+ export * from './ViewColumn';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import type { FormValue, Spec, ViewLayoutProps } from '../../../../core';
3
+ export declare const ViewRow: <T extends FormValue, S extends Spec>({ value, spec, children, }: ViewLayoutProps<T, S>) => React.JSX.Element | null;
@@ -0,0 +1 @@
1
+ export * from './ViewRow';
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import type { FormValue, Spec, ViewLayoutProps } from '../../../../core';
3
+ export declare const ViewSection: <T extends FormValue, S extends Spec>(props: ViewLayoutProps<T, S>) => React.JSX.Element | null;
4
+ export declare const ViewSection2: <T extends FormValue, S extends Spec>(props: ViewLayoutProps<T, S>) => React.JSX.Element | null;
5
+ export declare const ViewGroup: <T extends FormValue, S extends Spec>(props: ViewLayoutProps<T, S>) => React.JSX.Element | null;
6
+ export declare const ViewGroup2: <T extends FormValue, S extends Spec>(props: ViewLayoutProps<T, S>) => React.JSX.Element | null;
@@ -0,0 +1 @@
1
+ export * from './ViewSection';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import type { FormValue, Spec, ViewLayoutProps } from '../../../../core';
3
+ export declare const ViewTableCell: <T extends FormValue, S extends Spec>({ value, spec, children, }: ViewLayoutProps<T, S>) => React.JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './ViewTableCell';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import type { FormValue, Spec, ViewLayoutProps } from '../../../../core';
3
+ export declare const ViewTransparent: <T extends FormValue, S extends Spec>({ value, spec, children, }: ViewLayoutProps<T, S>) => React.JSX.Element | null;
@@ -0,0 +1 @@
1
+ export * from './ViewTransparent';
@@ -0,0 +1,9 @@
1
+ export * from './ViewAccordeon';
2
+ export * from './ViewCardAccordeon';
3
+ export * from './ViewAccordeonCard';
4
+ export * from './ViewCardSection';
5
+ export * from './ViewRow';
6
+ export * from './ViewColumn';
7
+ export * from './ViewSection';
8
+ export * from './ViewTableCell';
9
+ export * from './ViewTransparent';
@@ -0,0 +1,2 @@
1
+ import type { ArrayView } from '../../../../core';
2
+ export declare const ArrayBaseView: ArrayView;
@@ -0,0 +1 @@
1
+ export * from './ArrayBaseView';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { type BooleanViewProps, type NumberViewProps, type StringViewProps } from '../../../../core';
3
+ export declare const BaseView: <T extends BooleanViewProps | NumberViewProps | StringViewProps>({ value, spec, linkValue, }: React.PropsWithChildren<T>) => React.JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './BaseView';
@@ -0,0 +1,2 @@
1
+ import type { ObjectIndependentView } from '../../../core';
2
+ export declare const CardOneOfView: ObjectIndependentView;
@@ -0,0 +1,2 @@
1
+ import type { ArrayView } from '../../../../core';
2
+ export declare const CheckboxGroupView: ArrayView;
@@ -0,0 +1 @@
1
+ export * from './CheckboxGroupView';
@@ -0,0 +1,2 @@
1
+ import type { StringView } from '../../../../core';
2
+ export declare const ColorPickerView: StringView;
@@ -0,0 +1 @@
1
+ export * from './ColorPickerView';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import type { StringViewProps } from '../../../../core';
3
+ export declare const DateView: React.FC<StringViewProps>;
@@ -0,0 +1 @@
1
+ export * from './DateView';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import type { StringViewProps } from '../../../../core';
3
+ export declare const FileInputView: React.FC<StringViewProps>;
@@ -0,0 +1 @@
1
+ export * from './FileInputView';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import type { StringViewProps } from '../../../../core';
3
+ export declare const MonacoView: React.FC<StringViewProps>;
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import { type TextProps } from '@gravity-ui/uikit';
3
+ interface MonacoViewDialogProps {
4
+ visible: boolean;
5
+ value: string;
6
+ language: string;
7
+ title: string | undefined;
8
+ fontSize: number | undefined;
9
+ onClose: () => void;
10
+ headerIconSize: number;
11
+ headerIconIndent: number;
12
+ headerTitleVariant: TextProps['variant'];
13
+ }
14
+ export declare const MonacoViewDialog: React.FC<MonacoViewDialogProps>;
15
+ export {};
@@ -0,0 +1 @@
1
+ export * from './MonacoBaseView';
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import type { ObjectIndependentView, ObjectIndependentViewProps } from '../../../../core';
3
+ export interface MultiOneOfViewProps extends ObjectIndependentViewProps {
4
+ withoutIndent?: boolean;
5
+ }
6
+ export declare const MultiOneOfView: React.FC<MultiOneOfViewProps>;
7
+ export declare const MultiOneOfFlatView: ObjectIndependentView;
@@ -0,0 +1 @@
1
+ export * from './MultiOneOfView';
@@ -0,0 +1,2 @@
1
+ import type { ArrayView } from '../../../../core';
2
+ export declare const MultiSelectView: ArrayView;
@@ -0,0 +1 @@
1
+ export * from './MultiSelectView';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import type { StringViewProps } from '../../../../core';
3
+ export declare const NumberWithScaleView: React.FC<StringViewProps>;
@@ -0,0 +1 @@
1
+ export * from './NumberWithScaleView';
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import type { ObjectIndependentView, ObjectIndependentViewProps } from '../../../../core';
3
+ export interface ObjectBaseViewProps extends ObjectIndependentViewProps {
4
+ inline?: boolean;
5
+ }
6
+ export declare const ObjectBaseView: React.FC<ObjectBaseViewProps>;
7
+ export declare const ObjectInlineView: ObjectIndependentView;
@@ -0,0 +1 @@
1
+ export * from './ObjectBaseView';
@@ -0,0 +1,2 @@
1
+ import type { ObjectIndependentView } from '../../../../core';
2
+ export declare const ObjectValueInputView: ObjectIndependentView;
@@ -0,0 +1 @@
1
+ export * from './ObjectValueInputView';
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import type { ObjectIndependentView, ObjectIndependentViewProps } from '../../../../core';
3
+ export interface OneOfViewProps extends ObjectIndependentViewProps {
4
+ withoutIndent?: boolean;
5
+ }
6
+ export declare const OneOfView: React.FC<OneOfViewProps>;
7
+ export declare const OneOfFlatView: ObjectIndependentView;
@@ -0,0 +1 @@
1
+ export * from './OneOfView';
@@ -0,0 +1,2 @@
1
+ import type { NumberView } from '../../../../core';
2
+ export declare const RangeInputPickerNumberView: NumberView;
@@ -0,0 +1,2 @@
1
+ import type { ObjectView } from '../../../../core';
2
+ export declare const RangeInputPickerView: ObjectView;
@@ -0,0 +1,2 @@
1
+ export * from './RangeInputPickerNumberView';
2
+ export * from './RangeInputPickerView';
@@ -0,0 +1,2 @@
1
+ import type { ArrayView } from '../../../../core';
2
+ export declare const TableArrayView: ArrayView;
@@ -0,0 +1 @@
1
+ export * from './TableArrayView';
@@ -0,0 +1,2 @@
1
+ import type { StringView } from '../../../../core';
2
+ export declare const TextAreaView: StringView;
@@ -0,0 +1 @@
1
+ export * from './TextAreaView';
@@ -0,0 +1,2 @@
1
+ import type { StringIndependentView } from '../../../core';
2
+ export declare const TextContentView: StringIndependentView;
@@ -0,0 +1,2 @@
1
+ import type { ObjectIndependentView } from '../../../../core';
2
+ export declare const TextLinkView: ObjectIndependentView;
@@ -0,0 +1 @@
1
+ export * from './TextLinkView';
@@ -0,0 +1,2 @@
1
+ import type { ObjectIndependentView } from '../../../../core';
2
+ export declare const TimeRangeSelectorView: ObjectIndependentView;
@@ -0,0 +1 @@
1
+ export * from './TimeRangeSelectorView';
@@ -0,0 +1,20 @@
1
+ export * from './ArrayBaseView';
2
+ export * from './BaseView';
3
+ export * from './CheckboxGroupView';
4
+ export * from './CardOneOfView';
5
+ export * from './FileInputView';
6
+ export * from './ColorPickerView';
7
+ export * from './MonacoInputView';
8
+ export * from './MultiOneOfView';
9
+ export * from './MultiSelectView';
10
+ export * from './NumberWithScaleView';
11
+ export * from './ObjectBaseView';
12
+ export * from './ObjectValueInputView';
13
+ export * from './OneOfView';
14
+ export * from './RangeInputPickerView';
15
+ export * from './TableArrayView';
16
+ export * from './TextAreaView';
17
+ export * from './TextContentView';
18
+ export * from './TextLinkView';
19
+ export * from './TimeRangeSelectorView';
20
+ export * from './DateView';
@@ -0,0 +1,14 @@
1
+ export * from './AccordeonCard';
2
+ export * from './Card';
3
+ export * from './CopyButton';
4
+ export * from './ErrorWrapper';
5
+ export * from './GenerateRandomValueButton';
6
+ export * from './GroupIndent';
7
+ export * from './Inputs';
8
+ export * from './Layouts';
9
+ export * from './LazyLoader';
10
+ export * from './LongValue';
11
+ export * from './SimpleVerticalAccordeon';
12
+ export * from './TogglerCard';
13
+ export * from './Views';
14
+ export * from './ViewLayouts';
@@ -0,0 +1,13 @@
1
+ import type { PopoverProps } from '@gravity-ui/uikit';
2
+ export declare const COMMON_POPOVER_PLACEMENT: PopoverProps['placement'];
3
+ export declare const COMMON_TITLE_MAX_WIDTH = 523;
4
+ export declare const OBJECT_VALUE_PROPERTY_NAME = "value";
5
+ export declare const START_TIME = "start";
6
+ export declare const END_TIME = "end";
7
+ export declare const FROM = "from";
8
+ export declare const TO = "to";
9
+ export declare const RANGE_INPUT_PICKER_DEFAULT_MIN = 0;
10
+ export declare const RANGE_INPUT_PICKER_DEFAULT_MAX = 100;
11
+ export declare const RANGE_INPUT_PICKER_DEFAULT_STEP = 1;
12
+ export declare const RANGE_INPUT_PICKER_DEFAULT_MARKS = 2;
13
+ export declare const RANGE_INPUT_PICKER_DEFAULT_SEPARATOR = "\u2013";
@@ -0,0 +1,3 @@
1
+ import type { DynamicFormConfig, DynamicViewConfig } from '../../core';
2
+ export declare const dynamicConfig: DynamicFormConfig;
3
+ export declare const dynamicViewConfig: DynamicViewConfig;
@@ -0,0 +1,2 @@
1
+ export * from './config';
2
+ export * from './common';
@@ -0,0 +1,2 @@
1
+ export * from './useErrorChecker';
2
+ export * from './useOneOf';
@@ -0,0 +1,8 @@
1
+ import type { FieldRenderProps, FieldValue } from '../../core';
2
+ export interface UseErrorCheckerParams {
3
+ name: string;
4
+ meta: FieldRenderProps<FieldValue>['meta'];
5
+ open: boolean;
6
+ setOpen: (flag: boolean) => void;
7
+ }
8
+ export declare const useErrorChecker: ({ name, meta, open, setOpen }: UseErrorCheckerParams) => void;
@@ -0,0 +1 @@
1
+ export * from './useOneOf';
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import type { ObjectIndependentInputProps } from '../../../core';
3
+ export interface UseOneOfParams {
4
+ props: ObjectIndependentInputProps;
5
+ onTogglerChange?: (value: string) => void;
6
+ }
7
+ export declare const useOneOf: ({ props, onTogglerChange }: UseOneOfParams) => {
8
+ oneOfValue: string;
9
+ specProperties: Record<string, import("../../../core").Spec<any, undefined, undefined>>;
10
+ toggler: React.JSX.Element;
11
+ togglerInput: React.JSX.Element;
12
+ };
@@ -0,0 +1,12 @@
1
+ export declare enum Lang {
2
+ Ru = "ru",
3
+ En = "en"
4
+ }
5
+ interface Config {
6
+ lang?: Lang;
7
+ }
8
+ type Subscriber = (config: Config) => void;
9
+ export declare const configure: (newConfig: Config) => void;
10
+ export declare const subscribeConfigure: (sub: Subscriber) => (() => void);
11
+ export declare const getConfig: () => Config;
12
+ export {};
@@ -0,0 +1,2 @@
1
+ declare const _default: (key: string, params?: import("@gravity-ui/i18n").Params) => string;
2
+ export default _default;
@@ -0,0 +1,6 @@
1
+ export * from './components';
2
+ export * from './constants';
3
+ export * from './hooks';
4
+ export * from './i18n/configure';
5
+ export * from './utils';
6
+ export * from './validators';
@@ -0,0 +1,2 @@
1
+ export declare const multiply: (a: string, b: string, afterDotLength?: number) => string | null;
2
+ export declare const divide: (a: string, b: string, afterDotLength?: number) => string | null;
@@ -0,0 +1,2 @@
1
+ export declare const cn: import("@bem-react/classname").ClassNameInitilizer;
2
+ export declare const block: import("@bem-react/classname").ClassNameInitilizer;
@@ -0,0 +1,6 @@
1
+ import type { FormValue, Spec, StringSpec } from '../../core';
2
+ export declare const isNotEmptyValue: (value: FormValue | undefined, spec: Spec | undefined) => boolean;
3
+ export declare const prepareSpec: <Type extends Spec>(spec: Type, parseJsonDefaultValue?: boolean, overridePatternError?: (pattern?: string) => string) => Type;
4
+ export declare const clampRangeInputPickerValue: (value: number, min: number, max: number) => number;
5
+ export declare const resolveRangeInputPickerBound: (inputBound: number | undefined, specBound: number | undefined, fallback: number) => number;
6
+ export declare const isCorrectSizeParams: (spec: StringSpec) => boolean;
@@ -0,0 +1,5 @@
1
+ export * from './cn';
2
+ export * from './common';
3
+ export * from './bigIntMath';
4
+ export * from './objectInline';
5
+ export * from './objectKeys';
@@ -0,0 +1,4 @@
1
+ import type { Spec } from '../../core';
2
+ export declare const filterPropertiesForObjectInline: (properties: Record<string, Spec>) => {
3
+ [k: string]: Spec;
4
+ };
@@ -0,0 +1,4 @@
1
+ type Dictionary<T> = Record<string, T>;
2
+ type KeysOf<T> = T extends Dictionary<unknown> ? `${Exclude<keyof T, symbol>}` : never;
3
+ export declare function objectKeys<T extends Dictionary<unknown>>(obj: T): Array<KeysOf<T>>;
4
+ export {};
@@ -0,0 +1,7 @@
1
+ import type { StringSpec } from 'src/lib/core';
2
+ export declare const isInt: (value: string) => boolean;
3
+ export declare const isFloat: (value: string) => boolean;
4
+ export declare const getScaledLimit: (spec: StringSpec, limit: number) => {
5
+ count: string;
6
+ scaleTitle: string;
7
+ } | undefined;
@@ -0,0 +1,2 @@
1
+ export * from './messages';
2
+ export * from './validators';
@@ -0,0 +1,2 @@
1
+ import type { ErrorMessagesType } from './types';
2
+ export declare let ErrorMessages: ErrorMessagesType;
@@ -0,0 +1,20 @@
1
+ export interface ErrorMessagesType {
2
+ REQUIRED: string;
3
+ INVALID: string;
4
+ INT: string;
5
+ NUMBER: string;
6
+ minLength: (count: number | bigint) => string;
7
+ minLengthArr: (count: number | bigint) => string;
8
+ maxLength: (count: number | bigint) => string;
9
+ maxLengthArr: (count: number | bigint) => string;
10
+ minNumber: (count: number | bigint) => string;
11
+ maxNumber: (count: number | bigint) => string;
12
+ minNumberWithScale: (count: number | bigint | string, scale: string) => string;
13
+ maxNumberWithScale: (count: number | bigint | string, scale: string) => string;
14
+ SPACE_START: string;
15
+ SPACE_END: string;
16
+ DOT_END: string;
17
+ ZERO_START: string;
18
+ INVALID_ZERO_FORMAT: string;
19
+ ZERO_END: string;
20
+ }
@@ -0,0 +1,42 @@
1
+ import type { ArraySpec, ArrayValue, BooleanSpec, NumberSpec, NumberWithScaleSpec, ObjectSpec, ObjectValue, StringSpec } from '../../core';
2
+ import type { ErrorMessagesType } from './types';
3
+ interface CommonValidatorParams {
4
+ ignoreRequiredCheck?: boolean;
5
+ customErrorMessages?: Partial<ErrorMessagesType>;
6
+ }
7
+ export interface GetArrayValidatorParams extends CommonValidatorParams {
8
+ ignoreMaxLengthCheck?: boolean;
9
+ ignoreMinLengthCheck?: boolean;
10
+ }
11
+ export declare const getArrayValidator: (params?: GetArrayValidatorParams) => (spec: ArraySpec, value?: ArrayValue) => string | false;
12
+ export interface GetBooleanValidatorParams extends CommonValidatorParams {
13
+ }
14
+ export declare const getBooleanValidator: (params?: GetBooleanValidatorParams) => (spec: BooleanSpec, value?: boolean) => string | false;
15
+ export interface GetNumberValidatorParams extends CommonValidatorParams {
16
+ ignoreSpaceStartCheck?: boolean;
17
+ ignoreSpaceEndCheck?: boolean;
18
+ ignoreNumberCheck?: boolean;
19
+ ignoreMaximumCheck?: boolean;
20
+ ignoreMinimumCheck?: boolean;
21
+ ignoreIntCheck?: boolean;
22
+ ignoreDotEnd?: boolean;
23
+ ignoreZeroStart?: boolean;
24
+ ignoreInvalidZeroFormat?: boolean;
25
+ ignoreZeroEnd?: boolean;
26
+ }
27
+ export declare const getNumberValidator: (params?: GetNumberValidatorParams) => (spec: NumberSpec, value?: string | number) => string | false;
28
+ export interface GetNumberWithScaleValidatorParams extends GetNumberValidatorParams {
29
+ }
30
+ export declare const getNumberWithScaleValidator: (params?: GetNumberWithScaleValidatorParams) => (spec: NumberWithScaleSpec, value?: string) => string | false;
31
+ export interface GetObjectValidatorParams extends CommonValidatorParams {
32
+ }
33
+ export declare const getObjectValidator: (params?: GetObjectValidatorParams) => (spec: ObjectSpec, value?: ObjectValue) => string | false;
34
+ export interface GetStringValidatorParams extends CommonValidatorParams {
35
+ ignoreSpaceStartCheck?: boolean;
36
+ ignoreSpaceEndCheck?: boolean;
37
+ ignoreMaxLengthCheck?: boolean;
38
+ ignoreMinLengthCheck?: boolean;
39
+ ignoreRegExpCheck?: boolean;
40
+ }
41
+ export declare const getStringValidator: (params?: GetStringValidatorParams) => (spec: StringSpec, value?: string) => string | false;
42
+ export {};
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import { SchemaRendererMode } from '../constants';
3
+ import type { JsonSchema } from '../types';
4
+ export interface EntityProps {
5
+ modeOverride?: SchemaRendererMode;
6
+ name: string;
7
+ schema?: JsonSchema;
8
+ schemaOverride?: JsonSchema;
9
+ }
10
+ export declare const Entity: React.NamedExoticComponent<EntityProps>;
@@ -0,0 +1,2 @@
1
+ export { Entity, type EntityProps } from './Entity';
2
+ export type { EntityState } from './types';
@@ -0,0 +1,27 @@
1
+ import type { SchemaRendererMode } from '../constants';
2
+ import type { Control, JsonSchema, SchemaRendererConfig, View, Wrapper } from '../types';
3
+ export type GetRenderKitParams<Schema extends JsonSchema> = {
4
+ config?: SchemaRendererConfig;
5
+ schema: Schema;
6
+ };
7
+ export type GetRenderKitReturn<Schema extends JsonSchema> = {
8
+ [SchemaRendererMode.Form]: {
9
+ Component: Control<Schema> | undefined;
10
+ props: Record<string, any>;
11
+ independent: boolean | undefined;
12
+ Wrapper: Wrapper<Schema> | undefined;
13
+ wrapperProps: Record<string, any>;
14
+ };
15
+ [SchemaRendererMode.Overview]: {
16
+ Component: View<Schema> | undefined;
17
+ props: Record<string, any>;
18
+ independent: boolean | undefined;
19
+ Wrapper: Wrapper<Schema> | undefined;
20
+ wrapperProps: Record<string, any>;
21
+ };
22
+ };
23
+ export interface EntityState<Schema extends JsonSchema = JsonSchema> {
24
+ headName?: string;
25
+ mode?: SchemaRendererMode;
26
+ schema?: Schema;
27
+ }
@@ -0,0 +1,3 @@
1
+ import type { JsonSchema } from '../types';
2
+ import type { GetRenderKitParams, GetRenderKitReturn } from './types';
3
+ export declare const getRenderKit: <Schema extends JsonSchema>({ config, schema, }: GetRenderKitParams<Schema>) => GetRenderKitReturn<Schema>;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { type UseSchemaRendererParams } from '../useSchemaRenderer';
3
+ export interface SchemaRendererProps extends Omit<UseSchemaRendererParams, 'connectValidate'> {
4
+ }
5
+ export declare const SchemaRenderer: React.NamedExoticComponent<SchemaRendererProps>;
@@ -0,0 +1 @@
1
+ export { SchemaRenderer, type SchemaRendererProps } from './SchemaRenderer';