@gravity-ui/dynamic-forms 5.19.0 → 5.20.0

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 (636) 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/{esm/lib/unstable/kit → cjs/lib/kit/components/Inputs/MultiSelect}/MultiSelect.d.ts +2 -3
  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 +3 -0
  266. package/build/cjs/lib/unstable/core/Entity/index.js +3 -1
  267. package/build/cjs/lib/unstable/core/Entity/types.d.ts +27 -0
  268. package/build/cjs/lib/unstable/core/Entity/utils.d.ts +3 -0
  269. package/build/cjs/lib/unstable/core/SchemaRenderer/SchemaRenderer.d.ts +5 -0
  270. package/build/cjs/lib/unstable/core/SchemaRenderer/index.d.ts +1 -0
  271. package/build/cjs/lib/unstable/core/constants.d.ts +22 -0
  272. package/build/cjs/lib/unstable/core/index.d.ts +5 -0
  273. package/build/cjs/lib/unstable/core/index.js +3 -1
  274. package/build/cjs/lib/unstable/core/types/components.d.ts +29 -0
  275. package/build/cjs/lib/unstable/core/types/config.d.ts +36 -0
  276. package/build/cjs/lib/unstable/core/types/helpers.d.ts +18 -0
  277. package/build/cjs/lib/unstable/core/types/index.d.ts +5 -0
  278. package/build/cjs/lib/unstable/core/types/schema.d.ts +1186 -0
  279. package/build/cjs/lib/unstable/core/types/validation.d.ts +39 -0
  280. package/build/cjs/lib/unstable/core/types/values.d.ts +4 -0
  281. package/build/cjs/lib/unstable/core/useSchemaRenderer/constants.d.ts +1 -0
  282. package/build/cjs/lib/unstable/core/useSchemaRenderer/hooks/index.d.ts +2 -0
  283. package/build/cjs/lib/unstable/core/useSchemaRenderer/hooks/useEntitiesState.d.ts +7 -0
  284. package/build/cjs/lib/unstable/core/useSchemaRenderer/hooks/useSchemaRendererMutators.d.ts +10 -0
  285. package/build/cjs/lib/unstable/core/useSchemaRenderer/index.d.ts +3 -0
  286. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/async-validation/async-validation.d.ts +3 -0
  287. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/async-validation/index.d.ts +2 -0
  288. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/async-validation/types.d.ts +34 -0
  289. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/external-errors/external-errors.d.ts +3 -0
  290. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/external-errors/index.d.ts +2 -0
  291. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/external-errors/types.d.ts +25 -0
  292. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/index.d.ts +13 -0
  293. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/schema-mutators/index.d.ts +2 -0
  294. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/schema-mutators/schema-mutators.d.ts +3 -0
  295. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/schema-mutators/types.d.ts +26 -0
  296. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/trigger-fields/index.d.ts +2 -0
  297. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/trigger-fields/trigger-fields.d.ts +2 -0
  298. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/trigger-fields/types.d.ts +6 -0
  299. package/build/cjs/lib/unstable/core/useSchemaRenderer/types.d.ts +22 -0
  300. package/build/cjs/lib/unstable/core/useSchemaRenderer/useSchemaRenderer.d.ts +37 -0
  301. package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/common.d.ts +1 -0
  302. package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/get-ajv-validate.d.ts +11 -0
  303. package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/get-validate.d.ts +14 -0
  304. package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/index.d.ts +2 -0
  305. package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/process-ajv-error.d.ts +10 -0
  306. package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/process-ajv-validate-errors.d.ts +20 -0
  307. package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/process-entity-parameters-error.d.ts +15 -0
  308. package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/process-errors-state.d.ts +12 -0
  309. package/build/cjs/lib/unstable/core/utils/common.d.ts +49 -0
  310. package/build/cjs/lib/unstable/core/utils/index.d.ts +1 -0
  311. package/build/cjs/lib/unstable/kit/components/ArrayRemoveButton/ArrayRemoveButton.d.ts +6 -0
  312. package/build/cjs/lib/unstable/kit/components/ArrayRemoveButton/ArrayRemoveButton.js +12 -5
  313. package/build/cjs/lib/unstable/kit/components/ArrayRemoveButton/index.d.ts +1 -0
  314. package/build/cjs/lib/unstable/kit/components/ControlContainer/ControlContainer.css +20 -0
  315. package/build/cjs/lib/unstable/kit/components/ControlContainer/ControlContainer.d.ts +7 -0
  316. package/build/cjs/lib/unstable/kit/components/ControlContainer/ControlContainer.js +14 -0
  317. package/build/cjs/lib/unstable/kit/components/ControlContainer/index.d.ts +1 -0
  318. package/build/cjs/lib/unstable/kit/components/ControlContainer/index.js +5 -0
  319. package/build/cjs/lib/unstable/kit/components/ControlError/ControlError.css +2 -32
  320. package/build/cjs/lib/unstable/kit/components/ControlError/ControlError.d.ts +6 -0
  321. package/build/cjs/lib/unstable/kit/components/ControlError/ControlError.js +5 -5
  322. package/build/cjs/lib/unstable/kit/components/ControlError/index.d.ts +1 -0
  323. package/build/cjs/lib/unstable/kit/components/HTMLContent/HTMLContent.d.ts +6 -0
  324. package/build/cjs/lib/unstable/kit/components/HTMLContent/index.d.ts +1 -0
  325. package/build/cjs/lib/unstable/kit/components/WrapperContainer/WrapperContainer.css +8 -0
  326. package/build/cjs/lib/unstable/kit/components/WrapperContainer/WrapperContainer.d.ts +6 -0
  327. package/build/cjs/lib/unstable/kit/components/WrapperContainer/WrapperContainer.js +13 -0
  328. package/build/cjs/lib/unstable/kit/components/WrapperContainer/index.d.ts +1 -0
  329. package/build/cjs/lib/unstable/kit/components/WrapperContainer/index.js +5 -0
  330. package/build/cjs/lib/unstable/kit/components/index.d.ts +5 -0
  331. package/build/cjs/lib/unstable/kit/components/index.js +5 -1
  332. package/build/cjs/lib/unstable/kit/constants/config.d.ts +155 -0
  333. package/build/cjs/lib/unstable/kit/constants/config.js +45 -6
  334. package/build/cjs/lib/unstable/kit/constants/index.d.ts +1 -0
  335. package/build/cjs/lib/unstable/kit/controls/Alert/Alert.d.ts +9 -0
  336. package/build/cjs/lib/unstable/kit/controls/Alert/Alert.js +27 -0
  337. package/build/cjs/lib/unstable/kit/controls/Alert/index.d.ts +1 -0
  338. package/build/cjs/lib/unstable/kit/controls/Alert/index.js +5 -0
  339. package/build/cjs/lib/unstable/kit/controls/ArrayBase/ArrayBase.d.ts +8 -0
  340. package/build/cjs/lib/unstable/kit/controls/ArrayBase/ArrayBase.js +20 -17
  341. package/build/cjs/lib/unstable/kit/controls/ArrayBase/index.d.ts +1 -0
  342. package/build/cjs/lib/unstable/kit/controls/ArrayTable/ArrayTable.css +39 -0
  343. package/build/cjs/lib/unstable/kit/controls/ArrayTable/ArrayTable.d.ts +8 -0
  344. package/build/cjs/lib/unstable/kit/controls/ArrayTable/ArrayTable.js +88 -0
  345. package/build/cjs/lib/unstable/kit/controls/ArrayTable/index.d.ts +1 -0
  346. package/build/cjs/lib/unstable/kit/controls/ArrayTable/index.js +5 -0
  347. package/build/cjs/lib/unstable/kit/controls/Checkbox/Checkbox.css +7 -1
  348. package/build/cjs/lib/unstable/kit/controls/Checkbox/Checkbox.d.ts +6 -0
  349. package/build/cjs/lib/unstable/kit/controls/Checkbox/Checkbox.js +8 -4
  350. package/build/cjs/lib/unstable/kit/controls/Checkbox/index.d.ts +1 -0
  351. package/build/cjs/lib/unstable/kit/controls/CheckboxGroup/CheckboxGroup.css +8 -2
  352. package/build/cjs/lib/unstable/kit/controls/CheckboxGroup/CheckboxGroup.d.ts +9 -0
  353. package/build/cjs/lib/unstable/kit/controls/CheckboxGroup/CheckboxGroup.js +11 -6
  354. package/build/cjs/lib/unstable/kit/controls/CheckboxGroup/index.d.ts +1 -0
  355. package/build/cjs/lib/unstable/kit/controls/ColorPicker/ColorPicker.css +6 -0
  356. package/build/cjs/lib/unstable/kit/controls/ColorPicker/ColorPicker.d.ts +6 -0
  357. package/build/cjs/lib/unstable/kit/controls/ColorPicker/ColorPicker.js +7 -6
  358. package/build/cjs/lib/unstable/kit/controls/ColorPicker/index.d.ts +1 -0
  359. package/build/cjs/lib/unstable/kit/controls/DateInput/DateInput.css +2 -2
  360. package/build/cjs/lib/unstable/kit/controls/DateInput/DateInput.d.ts +8 -0
  361. package/build/cjs/lib/unstable/kit/controls/DateInput/DateInput.js +14 -13
  362. package/build/cjs/lib/unstable/kit/controls/DateInput/index.d.ts +1 -0
  363. package/build/cjs/lib/unstable/kit/controls/DotValue/DotValue.d.ts +5 -0
  364. package/build/cjs/lib/unstable/kit/controls/DotValue/DotValue.js +30 -0
  365. package/build/cjs/lib/unstable/kit/controls/DotValue/index.d.ts +1 -0
  366. package/build/cjs/lib/unstable/kit/controls/DotValue/index.js +5 -0
  367. package/build/cjs/lib/unstable/kit/controls/FewOfNested/FewOfNested.css +14 -0
  368. package/build/cjs/lib/unstable/kit/controls/FewOfNested/FewOfNested.d.ts +8 -0
  369. package/build/cjs/lib/unstable/kit/controls/FewOfNested/FewOfNested.js +63 -0
  370. package/build/cjs/lib/unstable/kit/controls/FewOfNested/index.d.ts +1 -0
  371. package/build/cjs/lib/unstable/kit/controls/FewOfNested/index.js +5 -0
  372. package/build/cjs/lib/unstable/kit/controls/FileInput/FileInput.d.ts +7 -0
  373. package/build/cjs/lib/unstable/kit/controls/FileInput/FileInput.js +53 -0
  374. package/build/cjs/lib/unstable/kit/controls/FileInput/index.d.ts +1 -0
  375. package/build/cjs/lib/unstable/kit/controls/FileInput/index.js +5 -0
  376. package/build/cjs/lib/unstable/kit/controls/Label/Label.d.ts +9 -0
  377. package/build/cjs/lib/unstable/kit/controls/Label/Label.js +28 -0
  378. package/build/cjs/lib/unstable/kit/controls/Label/index.d.ts +1 -0
  379. package/build/cjs/lib/unstable/kit/controls/Label/index.js +5 -0
  380. package/build/cjs/lib/unstable/kit/controls/MultiSelect/MultiSelect.d.ts +8 -0
  381. package/build/cjs/lib/unstable/kit/controls/MultiSelect/MultiSelect.js +5 -2
  382. package/build/cjs/lib/unstable/kit/controls/MultiSelect/index.d.ts +1 -0
  383. package/build/cjs/lib/unstable/kit/controls/NumberBase/NumberBase.css +3 -0
  384. package/build/{esm/lib/unstable/kit/controls/NumberBase/Number.d.ts → cjs/lib/unstable/kit/controls/NumberBase/NumberBase.d.ts} +1 -1
  385. package/build/cjs/lib/unstable/kit/controls/NumberBase/NumberBase.js +16 -0
  386. package/build/cjs/lib/unstable/kit/controls/NumberBase/index.d.ts +1 -0
  387. package/build/cjs/lib/unstable/kit/controls/NumberBase/index.js +2 -2
  388. package/build/cjs/lib/unstable/kit/controls/ObjectBase/ObjectBase.d.ts +7 -0
  389. package/build/cjs/lib/unstable/kit/controls/ObjectBase/ObjectBase.js +6 -24
  390. package/build/cjs/lib/unstable/kit/controls/ObjectBase/index.d.ts +1 -0
  391. package/build/cjs/lib/unstable/kit/controls/ObjectInline/ObjectInline.css +8 -0
  392. package/build/cjs/lib/unstable/kit/controls/ObjectInline/ObjectInline.d.ts +8 -0
  393. package/build/cjs/lib/unstable/kit/controls/ObjectInline/ObjectInline.js +25 -0
  394. package/build/cjs/lib/unstable/kit/controls/ObjectInline/index.d.ts +1 -0
  395. package/build/cjs/lib/unstable/kit/controls/ObjectInline/index.js +5 -0
  396. package/build/cjs/lib/unstable/kit/controls/OneOfNested/OneOfNested.css +14 -0
  397. package/build/cjs/lib/unstable/kit/controls/OneOfNested/OneOfNested.d.ts +12 -0
  398. package/build/cjs/lib/unstable/kit/controls/OneOfNested/OneOfNested.js +64 -0
  399. package/build/cjs/lib/unstable/kit/controls/OneOfNested/index.d.ts +1 -0
  400. package/build/cjs/lib/unstable/kit/controls/OneOfNested/index.js +5 -0
  401. package/build/cjs/lib/unstable/kit/controls/Password/Password.css +3 -0
  402. package/build/cjs/lib/unstable/kit/controls/Password/Password.d.ts +6 -0
  403. package/build/cjs/lib/unstable/kit/controls/Password/Password.js +6 -2
  404. package/build/cjs/lib/unstable/kit/controls/Password/index.d.ts +1 -0
  405. package/build/cjs/lib/unstable/kit/controls/RadioGroup/RadioGroup.css +12 -2
  406. package/build/cjs/lib/unstable/kit/controls/RadioGroup/RadioGroup.d.ts +8 -0
  407. package/build/cjs/lib/unstable/kit/controls/RadioGroup/RadioGroup.js +4 -4
  408. package/build/cjs/lib/unstable/kit/controls/RadioGroup/index.d.ts +1 -0
  409. package/build/cjs/lib/unstable/kit/controls/RangeSlider/RangeSlider.d.ts +7 -0
  410. package/build/cjs/lib/unstable/kit/controls/RangeSlider/RangeSlider.js +11 -9
  411. package/build/cjs/lib/unstable/kit/controls/RangeSlider/index.d.ts +1 -0
  412. package/build/cjs/lib/unstable/kit/controls/SegmentedRadioGroup/SegmentedRadioGroup.css +6 -0
  413. package/build/cjs/lib/unstable/kit/controls/SegmentedRadioGroup/SegmentedRadioGroup.d.ts +8 -0
  414. package/build/cjs/lib/unstable/kit/controls/SegmentedRadioGroup/SegmentedRadioGroup.js +29 -0
  415. package/build/cjs/lib/unstable/kit/controls/SegmentedRadioGroup/index.d.ts +1 -0
  416. package/build/cjs/lib/unstable/kit/controls/SegmentedRadioGroup/index.js +5 -0
  417. package/build/cjs/lib/unstable/kit/controls/Select/Select.d.ts +9 -0
  418. package/build/cjs/lib/unstable/kit/controls/Select/Select.js +6 -3
  419. package/build/cjs/lib/unstable/kit/controls/Select/index.d.ts +1 -0
  420. package/build/cjs/lib/unstable/kit/controls/Slider/Slider.d.ts +6 -0
  421. package/build/cjs/lib/unstable/kit/controls/Slider/Slider.js +7 -5
  422. package/build/cjs/lib/unstable/kit/controls/Slider/index.d.ts +1 -0
  423. package/build/cjs/lib/unstable/kit/controls/StringBase/StringBase.css +3 -0
  424. package/build/cjs/lib/unstable/kit/controls/StringBase/StringBase.d.ts +6 -0
  425. package/build/cjs/lib/unstable/kit/controls/StringBase/StringBase.js +4 -1
  426. package/build/cjs/lib/unstable/kit/controls/StringBase/index.d.ts +1 -0
  427. package/build/cjs/lib/unstable/kit/controls/Switch/Switch.css +8 -2
  428. package/build/cjs/lib/unstable/kit/controls/Switch/Switch.d.ts +6 -0
  429. package/build/cjs/lib/unstable/kit/controls/Switch/Switch.js +8 -4
  430. package/build/cjs/lib/unstable/kit/controls/Switch/index.d.ts +1 -0
  431. package/build/cjs/lib/unstable/kit/controls/TextArea/TextArea.css +3 -0
  432. package/build/cjs/lib/unstable/kit/controls/TextArea/TextArea.d.ts +6 -0
  433. package/build/cjs/lib/unstable/kit/controls/TextArea/TextArea.js +4 -1
  434. package/build/cjs/lib/unstable/kit/controls/TextArea/index.d.ts +1 -0
  435. package/build/cjs/lib/unstable/kit/controls/TextContent/TextContent.css +10 -0
  436. package/build/cjs/lib/unstable/kit/controls/TextContent/TextContent.d.ts +9 -0
  437. package/build/cjs/lib/unstable/kit/controls/TextContent/TextContent.js +29 -0
  438. package/build/cjs/lib/unstable/kit/controls/TextContent/index.d.ts +1 -0
  439. package/build/cjs/lib/unstable/kit/controls/TextContent/index.js +5 -0
  440. package/build/cjs/lib/unstable/kit/controls/index.d.ts +26 -0
  441. package/build/cjs/lib/unstable/kit/controls/index.js +21 -1
  442. package/build/cjs/lib/unstable/kit/utils/cn.d.ts +1 -0
  443. package/build/cjs/lib/unstable/kit/utils/common.d.ts +8 -0
  444. package/build/cjs/lib/unstable/kit/utils/common.js +5 -1
  445. package/build/cjs/lib/unstable/kit/utils/index.d.ts +2 -0
  446. package/build/cjs/lib/unstable/kit/utils/index.js +2 -1
  447. package/build/cjs/lib/unstable/kit/wrappers/Accordeon/Accordeon.css +35 -0
  448. package/build/cjs/lib/unstable/kit/wrappers/Accordeon/Accordeon.d.ts +10 -0
  449. package/build/cjs/lib/unstable/kit/wrappers/Accordeon/Accordeon.js +39 -0
  450. package/build/cjs/lib/unstable/kit/wrappers/Accordeon/index.d.ts +1 -0
  451. package/build/cjs/lib/unstable/kit/wrappers/Accordeon/index.js +5 -0
  452. package/build/cjs/lib/unstable/kit/wrappers/Row/Row.css +3 -6
  453. package/build/cjs/lib/unstable/kit/wrappers/Row/Row.d.ts +6 -0
  454. package/build/cjs/lib/unstable/kit/wrappers/Row/Row.js +7 -6
  455. package/build/cjs/lib/unstable/kit/wrappers/Row/index.d.ts +1 -0
  456. package/build/cjs/lib/unstable/kit/wrappers/Section/Section.css +23 -0
  457. package/build/cjs/lib/unstable/kit/wrappers/Section/Section.d.ts +8 -0
  458. package/build/cjs/lib/unstable/kit/wrappers/Section/Section.js +36 -0
  459. package/build/cjs/lib/unstable/kit/wrappers/Section/index.d.ts +1 -0
  460. package/build/cjs/lib/unstable/kit/wrappers/Section/index.js +5 -0
  461. package/build/cjs/lib/unstable/kit/wrappers/Transparent/Transparent.d.ts +3 -0
  462. package/build/cjs/lib/unstable/kit/wrappers/Transparent/Transparent.js +6 -4
  463. package/build/cjs/lib/unstable/kit/wrappers/Transparent/index.d.ts +1 -0
  464. package/build/cjs/lib/unstable/kit/wrappers/index.d.ts +4 -0
  465. package/build/cjs/lib/unstable/kit/wrappers/index.js +5 -1
  466. package/build/cjs/unstable.d.ts +4 -0
  467. package/build/esm/lib/unstable/core/Entity/index.d.ts +1 -0
  468. package/build/esm/lib/unstable/core/Entity/index.js +1 -0
  469. package/build/esm/lib/unstable/core/index.d.ts +2 -2
  470. package/build/esm/lib/unstable/core/index.js +2 -2
  471. package/build/esm/lib/unstable/kit/components/ArrayRemoveButton/ArrayRemoveButton.d.ts +1 -0
  472. package/build/esm/lib/unstable/kit/components/ArrayRemoveButton/ArrayRemoveButton.js +12 -5
  473. package/build/esm/lib/unstable/kit/components/ControlContainer/ControlContainer.css +20 -0
  474. package/build/esm/lib/unstable/kit/components/ControlContainer/ControlContainer.d.ts +8 -0
  475. package/build/esm/lib/unstable/kit/components/ControlContainer/ControlContainer.js +12 -0
  476. package/build/esm/lib/unstable/kit/components/ControlContainer/index.d.ts +1 -0
  477. package/build/esm/lib/unstable/kit/components/ControlContainer/index.js +1 -0
  478. package/build/esm/lib/unstable/kit/components/ControlError/ControlError.css +2 -32
  479. package/build/esm/lib/unstable/kit/components/ControlError/ControlError.d.ts +0 -2
  480. package/build/esm/lib/unstable/kit/components/ControlError/ControlError.js +6 -6
  481. package/build/esm/lib/unstable/kit/components/WrapperContainer/WrapperContainer.css +8 -0
  482. package/build/esm/lib/unstable/kit/components/WrapperContainer/WrapperContainer.d.ts +7 -0
  483. package/build/esm/lib/unstable/kit/components/WrapperContainer/WrapperContainer.js +11 -0
  484. package/build/esm/lib/unstable/kit/components/WrapperContainer/index.d.ts +1 -0
  485. package/build/esm/lib/unstable/kit/components/WrapperContainer/index.js +1 -0
  486. package/build/esm/lib/unstable/kit/components/index.d.ts +2 -0
  487. package/build/esm/lib/unstable/kit/components/index.js +2 -0
  488. package/build/esm/lib/unstable/kit/constants/config.d.ts +43 -0
  489. package/build/esm/lib/unstable/kit/constants/config.js +47 -8
  490. package/build/esm/lib/unstable/kit/controls/Alert/Alert.d.ts +9 -0
  491. package/build/esm/lib/unstable/kit/controls/Alert/Alert.js +24 -0
  492. package/build/esm/lib/unstable/kit/controls/Alert/index.d.ts +1 -0
  493. package/build/esm/lib/unstable/kit/controls/Alert/index.js +1 -0
  494. package/build/esm/lib/unstable/kit/controls/ArrayBase/ArrayBase.js +21 -18
  495. package/build/esm/lib/unstable/kit/controls/ArrayTable/ArrayTable.css +39 -0
  496. package/build/esm/lib/unstable/kit/controls/ArrayTable/ArrayTable.d.ts +9 -0
  497. package/build/esm/lib/unstable/kit/controls/ArrayTable/ArrayTable.js +85 -0
  498. package/build/esm/lib/unstable/kit/controls/ArrayTable/index.d.ts +1 -0
  499. package/build/esm/lib/unstable/kit/controls/ArrayTable/index.js +1 -0
  500. package/build/esm/lib/unstable/kit/controls/Checkbox/Checkbox.css +7 -1
  501. package/build/esm/lib/unstable/kit/controls/Checkbox/Checkbox.d.ts +2 -2
  502. package/build/esm/lib/unstable/kit/controls/Checkbox/Checkbox.js +11 -7
  503. package/build/esm/lib/unstable/kit/controls/CheckboxGroup/CheckboxGroup.css +8 -2
  504. package/build/esm/lib/unstable/kit/controls/CheckboxGroup/CheckboxGroup.js +13 -8
  505. package/build/esm/lib/unstable/kit/controls/ColorPicker/ColorPicker.css +6 -0
  506. package/build/esm/lib/unstable/kit/controls/ColorPicker/ColorPicker.d.ts +3 -2
  507. package/build/esm/lib/unstable/kit/controls/ColorPicker/ColorPicker.js +11 -9
  508. package/build/esm/lib/unstable/kit/controls/DateInput/DateInput.css +2 -2
  509. package/build/esm/lib/unstable/kit/controls/DateInput/DateInput.d.ts +2 -2
  510. package/build/esm/lib/unstable/kit/controls/DateInput/DateInput.js +16 -15
  511. package/build/esm/lib/unstable/kit/controls/DotValue/DotValue.d.ts +5 -0
  512. package/build/esm/lib/unstable/kit/controls/DotValue/DotValue.js +26 -0
  513. package/build/esm/lib/unstable/kit/controls/DotValue/index.d.ts +1 -0
  514. package/build/esm/lib/unstable/kit/controls/DotValue/index.js +1 -0
  515. package/build/esm/lib/unstable/kit/controls/FewOfNested/FewOfNested.css +14 -0
  516. package/build/esm/lib/unstable/kit/controls/FewOfNested/FewOfNested.d.ts +9 -0
  517. package/build/esm/lib/unstable/kit/controls/FewOfNested/FewOfNested.js +60 -0
  518. package/build/esm/lib/unstable/kit/controls/FewOfNested/index.d.ts +1 -0
  519. package/build/esm/lib/unstable/kit/controls/FewOfNested/index.js +1 -0
  520. package/build/esm/lib/unstable/kit/controls/FileInput/FileInput.d.ts +7 -0
  521. package/build/esm/lib/unstable/kit/controls/FileInput/FileInput.js +50 -0
  522. package/build/esm/lib/unstable/kit/controls/FileInput/index.d.ts +1 -0
  523. package/build/esm/lib/unstable/kit/controls/FileInput/index.js +1 -0
  524. package/build/esm/lib/unstable/kit/controls/Label/Label.d.ts +9 -0
  525. package/build/esm/lib/unstable/kit/controls/Label/Label.js +25 -0
  526. package/build/esm/lib/unstable/kit/controls/Label/index.d.ts +1 -0
  527. package/build/esm/lib/unstable/kit/controls/Label/index.js +1 -0
  528. package/build/esm/lib/unstable/kit/controls/MultiSelect/MultiSelect.d.ts +2 -2
  529. package/build/esm/lib/unstable/kit/controls/MultiSelect/MultiSelect.js +6 -3
  530. package/build/esm/lib/unstable/kit/controls/NumberBase/NumberBase.css +3 -0
  531. package/build/esm/lib/unstable/kit/controls/NumberBase/NumberBase.d.ts +7 -0
  532. package/build/esm/lib/unstable/kit/controls/NumberBase/NumberBase.js +13 -0
  533. package/build/esm/lib/unstable/kit/controls/NumberBase/index.d.ts +1 -1
  534. package/build/esm/lib/unstable/kit/controls/NumberBase/index.js +1 -1
  535. package/build/esm/lib/unstable/kit/controls/ObjectBase/ObjectBase.d.ts +0 -1
  536. package/build/esm/lib/unstable/kit/controls/ObjectBase/ObjectBase.js +7 -25
  537. package/build/esm/lib/unstable/kit/controls/ObjectInline/ObjectInline.css +8 -0
  538. package/build/esm/lib/unstable/kit/controls/ObjectInline/ObjectInline.d.ts +9 -0
  539. package/build/esm/lib/unstable/kit/controls/ObjectInline/ObjectInline.js +22 -0
  540. package/build/esm/lib/unstable/kit/controls/ObjectInline/index.d.ts +1 -0
  541. package/build/esm/lib/unstable/kit/controls/ObjectInline/index.js +1 -0
  542. package/build/esm/lib/unstable/kit/controls/OneOfNested/OneOfNested.css +14 -0
  543. package/build/esm/lib/unstable/kit/controls/OneOfNested/OneOfNested.d.ts +13 -0
  544. package/build/esm/lib/unstable/kit/controls/OneOfNested/OneOfNested.js +61 -0
  545. package/build/esm/lib/unstable/kit/controls/OneOfNested/index.d.ts +1 -0
  546. package/build/esm/lib/unstable/kit/controls/OneOfNested/index.js +1 -0
  547. package/build/esm/lib/unstable/kit/controls/Password/Password.css +3 -0
  548. package/build/esm/lib/unstable/kit/controls/Password/Password.d.ts +2 -1
  549. package/build/esm/lib/unstable/kit/controls/Password/Password.js +8 -3
  550. package/build/esm/lib/unstable/kit/controls/RadioGroup/RadioGroup.css +12 -2
  551. package/build/esm/lib/unstable/kit/controls/RadioGroup/RadioGroup.d.ts +2 -2
  552. package/build/esm/lib/unstable/kit/controls/RadioGroup/RadioGroup.js +7 -7
  553. package/build/esm/lib/unstable/kit/controls/RangeSlider/RangeSlider.d.ts +2 -3
  554. package/build/esm/lib/unstable/kit/controls/RangeSlider/RangeSlider.js +13 -12
  555. package/build/esm/lib/unstable/kit/controls/SegmentedRadioGroup/SegmentedRadioGroup.css +6 -0
  556. package/build/esm/lib/unstable/kit/controls/SegmentedRadioGroup/SegmentedRadioGroup.d.ts +9 -0
  557. package/build/esm/lib/unstable/kit/controls/SegmentedRadioGroup/SegmentedRadioGroup.js +27 -0
  558. package/build/esm/lib/unstable/kit/controls/SegmentedRadioGroup/index.d.ts +1 -0
  559. package/build/esm/lib/unstable/kit/controls/SegmentedRadioGroup/index.js +1 -0
  560. package/build/esm/lib/unstable/kit/controls/Select/Select.d.ts +3 -3
  561. package/build/esm/lib/unstable/kit/controls/Select/Select.js +7 -4
  562. package/build/esm/lib/unstable/kit/controls/Slider/Slider.d.ts +2 -3
  563. package/build/esm/lib/unstable/kit/controls/Slider/Slider.js +9 -8
  564. package/build/esm/lib/unstable/kit/controls/StringBase/StringBase.css +3 -0
  565. package/build/esm/lib/unstable/kit/controls/StringBase/StringBase.d.ts +2 -1
  566. package/build/esm/lib/unstable/kit/controls/StringBase/StringBase.js +6 -2
  567. package/build/esm/lib/unstable/kit/controls/Switch/Switch.css +8 -2
  568. package/build/esm/lib/unstable/kit/controls/Switch/Switch.d.ts +2 -2
  569. package/build/esm/lib/unstable/kit/controls/Switch/Switch.js +11 -7
  570. package/build/esm/lib/unstable/kit/controls/TextArea/TextArea.css +3 -0
  571. package/build/esm/lib/unstable/kit/controls/TextArea/TextArea.d.ts +3 -2
  572. package/build/esm/lib/unstable/kit/controls/TextArea/TextArea.js +7 -3
  573. package/build/esm/lib/unstable/kit/controls/TextContent/TextContent.css +10 -0
  574. package/build/esm/lib/unstable/kit/controls/TextContent/TextContent.d.ts +10 -0
  575. package/build/esm/lib/unstable/kit/controls/TextContent/TextContent.js +27 -0
  576. package/build/esm/lib/unstable/kit/controls/TextContent/index.d.ts +1 -0
  577. package/build/esm/lib/unstable/kit/controls/TextContent/index.js +1 -0
  578. package/build/esm/lib/unstable/kit/controls/index.d.ts +10 -0
  579. package/build/esm/lib/unstable/kit/controls/index.js +10 -0
  580. package/build/esm/lib/unstable/kit/utils/common.d.ts +1 -0
  581. package/build/esm/lib/unstable/kit/utils/common.js +3 -0
  582. package/build/esm/lib/unstable/kit/utils/index.d.ts +1 -1
  583. package/build/esm/lib/unstable/kit/utils/index.js +1 -1
  584. package/build/esm/lib/unstable/kit/wrappers/Accordeon/Accordeon.css +35 -0
  585. package/build/esm/lib/unstable/kit/wrappers/Accordeon/Accordeon.d.ts +11 -0
  586. package/build/esm/lib/unstable/kit/wrappers/Accordeon/Accordeon.js +37 -0
  587. package/build/esm/lib/unstable/kit/wrappers/Accordeon/index.d.ts +1 -0
  588. package/build/esm/lib/unstable/kit/wrappers/Accordeon/index.js +1 -0
  589. package/build/esm/lib/unstable/kit/wrappers/Row/Row.css +3 -6
  590. package/build/esm/lib/unstable/kit/wrappers/Row/Row.js +9 -8
  591. package/build/esm/lib/unstable/kit/wrappers/Section/Section.css +23 -0
  592. package/build/esm/lib/unstable/kit/wrappers/Section/Section.d.ts +9 -0
  593. package/build/esm/lib/unstable/kit/wrappers/Section/Section.js +34 -0
  594. package/build/esm/lib/unstable/kit/wrappers/Section/index.d.ts +1 -0
  595. package/build/esm/lib/unstable/kit/wrappers/Section/index.js +1 -0
  596. package/build/esm/lib/unstable/kit/wrappers/Transparent/Transparent.js +8 -6
  597. package/build/esm/lib/unstable/kit/wrappers/index.d.ts +2 -0
  598. package/build/esm/lib/unstable/kit/wrappers/index.js +2 -0
  599. package/package.json +1 -1
  600. package/build/cjs/lib/unstable/kit/Accordeon.js +0 -31
  601. package/build/cjs/lib/unstable/kit/Any.js +0 -21
  602. package/build/cjs/lib/unstable/kit/ArrayBase.css +0 -23
  603. package/build/cjs/lib/unstable/kit/ArrayBase.js +0 -101
  604. package/build/cjs/lib/unstable/kit/MultiSelect.css +0 -6
  605. package/build/cjs/lib/unstable/kit/MultiSelect.js +0 -66
  606. package/build/cjs/lib/unstable/kit/ObjectBase.css +0 -10
  607. package/build/cjs/lib/unstable/kit/ObjectBase.js +0 -71
  608. package/build/cjs/lib/unstable/kit/Row.css +0 -73
  609. package/build/cjs/lib/unstable/kit/Row.js +0 -50
  610. package/build/cjs/lib/unstable/kit/Text.js +0 -259
  611. package/build/cjs/lib/unstable/kit/config.js +0 -68
  612. package/build/cjs/lib/unstable/kit/controls/NumberBase/Number.js +0 -12
  613. package/build/cjs/lib/unstable/kit/controls/RangeSlider/RangeSlider.css +0 -3
  614. package/build/cjs/lib/unstable/kit/controls/Slider/Slider.css +0 -3
  615. package/build/esm/lib/unstable/kit/Accordeon.d.ts +0 -3
  616. package/build/esm/lib/unstable/kit/Accordeon.js +0 -26
  617. package/build/esm/lib/unstable/kit/Any.d.ts +0 -2
  618. package/build/esm/lib/unstable/kit/Any.js +0 -16
  619. package/build/esm/lib/unstable/kit/ArrayBase.css +0 -23
  620. package/build/esm/lib/unstable/kit/ArrayBase.d.ts +0 -3
  621. package/build/esm/lib/unstable/kit/ArrayBase.js +0 -97
  622. package/build/esm/lib/unstable/kit/MultiSelect.css +0 -6
  623. package/build/esm/lib/unstable/kit/MultiSelect.js +0 -62
  624. package/build/esm/lib/unstable/kit/ObjectBase.css +0 -10
  625. package/build/esm/lib/unstable/kit/ObjectBase.d.ts +0 -8
  626. package/build/esm/lib/unstable/kit/ObjectBase.js +0 -66
  627. package/build/esm/lib/unstable/kit/Row.css +0 -73
  628. package/build/esm/lib/unstable/kit/Row.d.ts +0 -11
  629. package/build/esm/lib/unstable/kit/Row.js +0 -47
  630. package/build/esm/lib/unstable/kit/Text.d.ts +0 -6
  631. package/build/esm/lib/unstable/kit/Text.js +0 -255
  632. package/build/esm/lib/unstable/kit/config.d.ts +0 -95
  633. package/build/esm/lib/unstable/kit/config.js +0 -65
  634. package/build/esm/lib/unstable/kit/controls/NumberBase/Number.js +0 -8
  635. package/build/esm/lib/unstable/kit/controls/RangeSlider/RangeSlider.css +0 -3
  636. package/build/esm/lib/unstable/kit/controls/Slider/Slider.css +0 -3
@@ -1,13 +1,17 @@
1
1
  import React from 'react';
2
- import { Checkbox as CheckboxBase } from '@gravity-ui/uikit';
3
- import { ControlError } from '../../components';
4
- import { block, getValidationState } from '../../utils';
2
+ import { Checkbox as UIKitCheckbox, } from '@gravity-ui/uikit';
3
+ import { ControlContainer } from '../../components';
4
+ import { block, getBooleanValidationState } from '../../utils';
5
5
  import './Checkbox.css';
6
6
  const b = block('checkbox');
7
7
  const Component = ({ controlProps, input, meta, schema, }) => {
8
- var _a;
9
- return (React.createElement(ControlError, { errorMessage: meta.error, validationState: getValidationState(meta) },
10
- React.createElement("div", { className: b() },
11
- React.createElement(CheckboxBase, Object.assign({ disabled: schema.readOnly }, controlProps, { className: b(), checked: (_a = input.value) !== null && _a !== void 0 ? _a : false, onFocus: input.onFocus, onBlur: input.onBlur, onUpdate: input.onChange, qa: input.name })))));
8
+ const { name, onBlur, onChange, onFocus, value } = input;
9
+ const onUpdate = React.useCallback((value) => {
10
+ onFocus();
11
+ onChange(value);
12
+ onBlur();
13
+ }, [onBlur, onChange, onFocus]);
14
+ return (React.createElement(ControlContainer, { stretch: "fit", className: b({ error: getBooleanValidationState(meta) }) },
15
+ React.createElement(UIKitCheckbox, Object.assign({ disabled: schema.readOnly }, controlProps, { checked: value !== null && value !== void 0 ? value : false, onFocus: onFocus, onBlur: onBlur, onUpdate: onUpdate, qa: name }))));
12
16
  };
13
17
  export const Checkbox = React.memo(Component);
@@ -1,3 +1,9 @@
1
- .sr-checkbox-group {
2
- padding-top: 7.5px;
1
+ .sr-checkbox-group__checkbox {
2
+ min-height: 28px;
3
+ }
4
+ .sr-checkbox-group__checkbox_error .g-control-label .g-checkbox__indicator:hover::before {
5
+ border: 1px solid var(--g-color-text-danger);
6
+ }
7
+ .sr-checkbox-group__checkbox_error .g-control-label .g-checkbox__indicator::before {
8
+ border: 1px solid var(--g-color-text-danger);
3
9
  }
@@ -1,12 +1,13 @@
1
1
  import React from 'react';
2
2
  import { Checkbox, Flex } from '@gravity-ui/uikit';
3
- import { ControlError } from '../../components';
4
- import { block, getValidationState } from '../../utils';
3
+ import { ControlContainer } from '../../components';
4
+ import { block, getBooleanValidationState } from '../../utils';
5
5
  import './CheckboxGroup.css';
6
6
  const b = block('checkbox-group');
7
7
  const Component = ({ controlProps, input, meta, schema, }) => {
8
+ const { name, onBlur, onChange, onFocus, value: inputValue } = input;
8
9
  const { direction, disabled, enumDescriptions, optionsDisabled } = controlProps;
9
- const value = React.useMemo(() => (Array.isArray(input.value) ? input.value : []), [input.value]);
10
+ const value = React.useMemo(() => (Array.isArray(inputValue) ? inputValue : []), [inputValue]);
10
11
  const options = React.useMemo(() => {
11
12
  var _a, _b;
12
13
  if (schema.items && 'enum' in schema.items) {
@@ -21,14 +22,18 @@ const Component = ({ controlProps, input, meta, schema, }) => {
21
22
  return;
22
23
  }, [enumDescriptions, schema]);
23
24
  const onUpdate = React.useCallback((optionValue, selected) => {
25
+ onFocus();
24
26
  if (selected) {
25
- input.onChange([...value, optionValue]);
27
+ onChange([...value, optionValue]);
26
28
  }
27
29
  else {
28
- input.onChange(value.filter((el) => el !== optionValue));
30
+ onChange(value.filter((el) => el !== optionValue));
29
31
  }
30
- }, [input.onChange, value]);
31
- return (React.createElement(ControlError, { errorMessage: meta.error, validationState: getValidationState(meta) },
32
- React.createElement(Flex, { className: b(), direction: direction, gap: 2 }, options === null || options === void 0 ? void 0 : options.map(({ value: optionValue, text }) => (React.createElement(Checkbox, { checked: value.includes(optionValue), onFocus: input.onFocus, onBlur: input.onBlur, onUpdate: (checked) => onUpdate(optionValue, checked), content: text, disabled: disabled || (optionsDisabled === null || optionsDisabled === void 0 ? void 0 : optionsDisabled[optionValue]) || schema.readOnly, qa: `${input.name}-${optionValue}`, key: optionValue }))))));
32
+ onBlur();
33
+ }, [onBlur, onChange, onFocus, value]);
34
+ return (React.createElement(ControlContainer, { stretch: "fit", direction: direction, gap: direction === 'row' ? 2 : undefined }, options === null || options === void 0 ? void 0 : options.map(({ value: optionValue, text }) => (React.createElement(Flex, { className: b('checkbox', {
35
+ error: value.includes(optionValue) && getBooleanValidationState(meta),
36
+ }), alignItems: "center", key: optionValue },
37
+ React.createElement(Checkbox, { checked: value.includes(optionValue), onFocus: onFocus, onBlur: onBlur, onUpdate: (checked) => onUpdate(optionValue, checked), content: text, disabled: disabled || (optionsDisabled === null || optionsDisabled === void 0 ? void 0 : optionsDisabled[optionValue]) || schema.readOnly, qa: `${name}-${optionValue}` }))))));
33
38
  };
34
39
  export const CheckboxGroup = React.memo(Component);
@@ -0,0 +1,6 @@
1
+ .sr-color-picker .g-color-picker__picker-wrapper {
2
+ width: 100%;
3
+ }
4
+ .sr-color-picker_error .g-color-picker__picker-wrapper .g-text-input__content {
5
+ border: 1px solid var(--g-color-text-danger);
6
+ }
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
- import { type unstable_ColorPickerProps as ColorPickerBaseProps } from '@gravity-ui/uikit/unstable';
2
+ import { type unstable_ColorPickerProps as UIKitColorPickerProps } from '@gravity-ui/uikit/unstable';
3
3
  import type { JsonSchemaString } from '../../../core';
4
- export interface ColorPickerProps extends Omit<ColorPickerBaseProps, 'value' | 'onUpdate'> {
4
+ import './ColorPicker.css';
5
+ export interface ColorPickerProps extends Omit<UIKitColorPickerProps, 'value' | 'onUpdate'> {
5
6
  }
6
7
  export declare const ColorPicker: React.NamedExoticComponent<import("../../../core").ControlProps<JsonSchemaString<any>, ColorPickerProps, {}>>;
@@ -1,21 +1,23 @@
1
1
  import { __rest } from "tslib";
2
2
  import React from 'react';
3
- import { unstable_ColorPicker as ColorPickerBase, } from '@gravity-ui/uikit/unstable';
4
- import { ControlError } from '../../components';
5
- import { getValidationState } from '../../utils';
3
+ import { unstable_ColorPicker as UIKitColorPicker, } from '@gravity-ui/uikit/unstable';
4
+ import { ControlContainer } from '../../components';
5
+ import { block, getBooleanValidationState } from '../../utils';
6
+ import './ColorPicker.css';
7
+ const b = block('color-picker');
6
8
  const Component = ({ controlProps, input, meta, schema, }) => {
7
- var _a;
9
+ const { name, onBlur, onChange, onFocus, value } = input;
8
10
  const { onOpenChange: onOpenChangeProps } = controlProps, restControlProps = __rest(controlProps, ["onOpenChange"]);
9
11
  const onOpenChange = React.useCallback((open) => {
10
12
  onOpenChangeProps === null || onOpenChangeProps === void 0 ? void 0 : onOpenChangeProps(open);
11
13
  if (open) {
12
- input.onFocus();
14
+ onFocus();
13
15
  }
14
16
  else {
15
- input.onBlur();
17
+ onBlur();
16
18
  }
17
- }, [input.onBlur, input.onFocus, onOpenChangeProps]);
18
- return (React.createElement(ControlError, { errorMessage: meta.error, validationState: getValidationState(meta) },
19
- React.createElement(ColorPickerBase, Object.assign({ disabled: schema.readOnly }, restControlProps, { value: (_a = input.value) !== null && _a !== void 0 ? _a : '', onUpdate: input.onChange, onOpenChange: onOpenChange }))));
19
+ }, [onBlur, onFocus, onOpenChangeProps]);
20
+ return (React.createElement(ControlContainer, { stretch: "max", className: b({ error: getBooleanValidationState(meta) }) },
21
+ React.createElement(UIKitColorPicker, Object.assign({ disabled: schema.readOnly }, restControlProps, { value: value !== null && value !== void 0 ? value : '', onUpdate: onChange, onOpenChange: onOpenChange, "data-qa": name }))));
20
22
  };
21
23
  export const ColorPicker = React.memo(Component);
@@ -1,3 +1,3 @@
1
- .sr-date-input {
2
- width: 100%;
1
+ .sr-date-input_error .g-date-date-picker .g-text-input__content {
2
+ border: 1px solid var(--g-color-text-danger);
3
3
  }
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
- import type { DatePickerProps } from '@gravity-ui/date-components';
2
+ import { type DatePickerProps } from '@gravity-ui/date-components';
3
3
  import type { JsonSchemaAny } from '../../../core';
4
4
  import './DateInput.css';
5
5
  export declare const DEFAULT_DATE_FORMAT = "DD.MM.YYYY HH:mm";
6
- export interface DateInputProps extends Omit<DatePickerProps, 'value' | 'onFocus' | 'onBlur' | 'onChange' | 'onUpdate' | 'qa'> {
6
+ export interface DateInputProps extends Omit<DatePickerProps, 'value' | 'onFocus' | 'onBlur' | 'onChange' | 'onUpdate' | 'errorMessage' | 'validationState'> {
7
7
  outputFormat?: string;
8
8
  }
9
9
  export declare const DateInput: React.NamedExoticComponent<import("../../../core").ControlProps<JsonSchemaAny<any>, DateInputProps, {}>>;
@@ -2,52 +2,53 @@ import { __rest } from "tslib";
2
2
  import React from 'react';
3
3
  import { DatePicker } from '@gravity-ui/date-components';
4
4
  import { dateTimeParse, isValidTimeZone } from '@gravity-ui/date-utils';
5
- import { ControlError } from '../../components';
6
- import { block, getValidationState } from '../../utils';
5
+ import { ControlContainer } from '../../components';
6
+ import { block, getBooleanValidationState } from '../../utils';
7
7
  import './DateInput.css';
8
- export const DEFAULT_DATE_FORMAT = 'DD.MM.YYYY HH:mm';
9
8
  const b = block('date-input');
9
+ export const DEFAULT_DATE_FORMAT = 'DD.MM.YYYY HH:mm';
10
10
  const Component = ({ controlProps, input, meta, schema }) => {
11
11
  var _a;
12
+ const { name, onBlur, onChange, onFocus, value: inputValue } = input;
12
13
  const { outputFormat, timeZone: timeZoneProp } = controlProps, restControlProps = __rest(controlProps, ["outputFormat", "timeZone"]);
13
14
  const timeZone = timeZoneProp && isValidTimeZone(timeZoneProp) ? timeZoneProp : undefined;
14
15
  const onUpdate = React.useCallback((date) => {
15
16
  if (!date) {
16
- input.onChange(undefined);
17
+ onChange(undefined);
17
18
  return;
18
19
  }
19
20
  if (outputFormat === 'date_time') {
20
- input.onChange(date);
21
+ onChange(date);
21
22
  return;
22
23
  }
23
24
  if (outputFormat === 'date') {
24
- input.onChange(date.toDate());
25
+ onChange(date.toDate());
25
26
  return;
26
27
  }
27
28
  if (outputFormat === 'timestamp') {
28
- input.onChange({
29
+ onChange({
29
30
  seconds: Math.floor(date.toDate().getTime() / 1000),
30
31
  nanos: 0,
31
32
  });
32
33
  return;
33
34
  }
34
35
  if (outputFormat === 'string' || !outputFormat) {
35
- input.onChange(date.toISOString());
36
+ onChange(date.toISOString());
36
37
  return;
37
38
  }
38
- input.onChange(date.format(outputFormat));
39
- }, [outputFormat, input.onChange]);
39
+ onChange(date.format(outputFormat));
40
+ }, [outputFormat, onChange]);
40
41
  const value = React.useMemo(() => {
41
- if (!input.value) {
42
+ if (!inputValue) {
42
43
  return null;
43
44
  }
44
- let raw = input.value;
45
+ let raw = inputValue;
45
46
  if (typeof raw === 'object' && raw !== null && 'seconds' in raw && raw.seconds) {
46
47
  raw = raw.seconds * 1000;
47
48
  }
48
49
  return dateTimeParse(raw, { format: outputFormat, timeZone }) || null;
49
- }, [input.value, outputFormat, timeZone]);
50
- return (React.createElement(ControlError, { errorMessage: meta.error, validationState: getValidationState(meta) },
51
- React.createElement(DatePicker, Object.assign({ className: b(), format: DEFAULT_DATE_FORMAT, popupPlacement: "bottom-start", disabled: schema.readOnly, hasClear: true }, restControlProps, { value: value, onFocus: input.onFocus, onBlur: input.onBlur, onUpdate: onUpdate, placeholder: `${(_a = schema.examples) === null || _a === void 0 ? void 0 : _a[0]}`, timeZone: timeZone, "data-qa": input.name }))));
50
+ }, [inputValue, outputFormat, timeZone]);
51
+ return (React.createElement(ControlContainer, { stretch: "max", className: b({ error: getBooleanValidationState(meta) }) },
52
+ React.createElement(DatePicker, Object.assign({ format: DEFAULT_DATE_FORMAT, popupPlacement: "bottom-start", placeholder: `${(_a = schema.examples) === null || _a === void 0 ? void 0 : _a[0]}`, disabled: schema.readOnly, hasClear: true }, restControlProps, { value: value, onFocus: onFocus, onBlur: onBlur, onUpdate: onUpdate, timeZone: timeZone, errorMessage: undefined, validationState: undefined, "data-qa": name }))));
52
53
  };
53
54
  export const DateInput = React.memo(Component);
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { type JsonSchemaObject } from '../../../core';
3
+ export interface DotValueProps {
4
+ }
5
+ export declare const DotValue: React.NamedExoticComponent<import("../../../core").ControlProps<JsonSchemaObject<any>, DotValueProps, {}>>;
@@ -0,0 +1,26 @@
1
+ import React from 'react';
2
+ import get from 'lodash/get';
3
+ import isString from 'lodash/isString';
4
+ import { Entity } from '../../../core';
5
+ import { ControlContainer } from '../../components';
6
+ const Component = ({ input, schema }) => {
7
+ var _a;
8
+ const { name, onBlur, onChange, onFocus, value } = input;
9
+ const childKey = 'value';
10
+ React.useLayoutEffect(() => {
11
+ if (value) {
12
+ const childValue = get(value, childKey);
13
+ if (childValue === null ||
14
+ childValue === undefined ||
15
+ childValue === '' ||
16
+ (isString(childValue) && childValue.endsWith('_UNSPECIFIED'))) {
17
+ onFocus();
18
+ onChange(undefined);
19
+ onBlur();
20
+ }
21
+ }
22
+ }, [value]);
23
+ return (React.createElement(ControlContainer, { stretch: "by-child" },
24
+ React.createElement(Entity, { name: `${name ? name + '.' : ''}${childKey}`, schema: (_a = schema.properties) === null || _a === void 0 ? void 0 : _a[childKey] })));
25
+ };
26
+ export const DotValue = React.memo(Component);
@@ -0,0 +1 @@
1
+ export { DotValue, type DotValueProps } from './DotValue';
@@ -0,0 +1 @@
1
+ export { DotValue } from './DotValue';
@@ -0,0 +1,14 @@
1
+ .sr-few-of-nested__content_with-indent {
2
+ position: relative;
3
+ padding-left: calc(var(--g-spacing-base) * 7);
4
+ }
5
+ .sr-few-of-nested__content_with-indent:before {
6
+ content: "";
7
+ display: block;
8
+ width: 1px;
9
+ height: calc(100% + var(--g-spacing-base) * 2);
10
+ background-color: var(--g-color-line-generic);
11
+ position: absolute;
12
+ left: calc(var(--g-spacing-base) * 3 + 1.5px);
13
+ bottom: 0;
14
+ }
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { type JsonSchema, type JsonSchemaObject } from '../../../core';
3
+ import './FewOfNested.css';
4
+ export interface FewOfNestedProps {
5
+ toggler: JsonSchema;
6
+ withIndent?: boolean;
7
+ togglerArrayRemoveButton?: boolean;
8
+ }
9
+ export declare const FewOfNested: React.NamedExoticComponent<import("../../../core").ControlProps<JsonSchemaObject<any>, FewOfNestedProps, {}>>;
@@ -0,0 +1,60 @@
1
+ import React from 'react';
2
+ import isString from 'lodash/isString';
3
+ import { Entity, SchemaRendererMode, getRenderKit, useEntitiesState, } from '../../../core';
4
+ import { ControlContainer } from '../../components';
5
+ import { block } from '../../utils';
6
+ import './FewOfNested.css';
7
+ const b = block('one-of-nested');
8
+ const Component = ({ controlProps, input, meta, schema, Wrapper, wrapperProps, }) => {
9
+ const { name, value } = input;
10
+ const { togglerArrayRemoveButton = false, toggler: togglerSchema = {}, withIndent = false, } = controlProps;
11
+ const { config } = useEntitiesState(name);
12
+ const [togglerValues, setTogglerValues] = React.useState(() => {
13
+ if (value && Object.keys(value).length) {
14
+ return Object.keys(value);
15
+ }
16
+ if (schema.properties && Object.keys(schema.properties).length) {
17
+ return [Object.keys(schema.properties)[0]];
18
+ }
19
+ return [];
20
+ });
21
+ const toggler = React.useMemo(() => {
22
+ let result = null;
23
+ const formKit = getRenderKit({ config, schema: togglerSchema })[SchemaRendererMode.Form];
24
+ const togglerInput = Object.assign(Object.assign({}, input), { name: togglerArrayRemoveButton ? name : `${name}._____toggler`, value: togglerValues, onChange: (value) => {
25
+ if (Array.isArray(value)) {
26
+ setTogglerValues(value.filter(isString));
27
+ }
28
+ } });
29
+ const togglerMeta = Object.assign(Object.assign({}, meta), { error: undefined });
30
+ if (formKit.Component) {
31
+ if (formKit.independent) {
32
+ result = (React.createElement(formKit.Component, { input: togglerInput, meta: togglerMeta, schema: togglerSchema, controlProps: formKit.props, Wrapper: formKit.Wrapper, wrapperProps: formKit.wrapperProps }));
33
+ }
34
+ else {
35
+ result = (React.createElement(formKit.Component, { input: togglerInput, meta: togglerMeta, schema: togglerSchema, controlProps: formKit.props }));
36
+ if (formKit.Wrapper) {
37
+ result = (React.createElement(formKit.Wrapper, { input: togglerInput, meta: togglerMeta, schema: togglerSchema, wrapperProps: formKit.wrapperProps }, result));
38
+ }
39
+ }
40
+ }
41
+ return result;
42
+ }, [config, name, input, meta, togglerArrayRemoveButton, togglerSchema, togglerValues]);
43
+ const wrapperInput = React.useMemo(() => {
44
+ if (!togglerArrayRemoveButton) {
45
+ return input;
46
+ }
47
+ return Object.assign(Object.assign({}, input), { name: `${name}._____wrapper` });
48
+ }, [name, input, togglerArrayRemoveButton]);
49
+ let content = (React.createElement(ControlContainer, { stretch: "by-child" },
50
+ toggler,
51
+ togglerValues.length ? (React.createElement("div", { className: b('content', { 'with-indent': withIndent }) }, togglerValues.map((togglerValue) => {
52
+ var _a;
53
+ return (React.createElement(Entity, { key: togglerValue, name: `${name}.${togglerValue}`, schema: (_a = schema.properties) === null || _a === void 0 ? void 0 : _a[togglerValue] }));
54
+ }))) : null));
55
+ if (Wrapper) {
56
+ content = (React.createElement(Wrapper, { input: wrapperInput, meta: meta, schema: schema, wrapperProps: wrapperProps || {} }, content));
57
+ }
58
+ return content;
59
+ };
60
+ export const FewOfNested = React.memo(Component);
@@ -0,0 +1 @@
1
+ export { FewOfNested, type FewOfNestedProps } from './FewOfNested';
@@ -0,0 +1 @@
1
+ export { FewOfNested } from './FewOfNested';
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { type FileDropZoneProps } from '@gravity-ui/uikit/unstable';
3
+ import type { JsonSchemaString } from '../../../core';
4
+ export interface FileInputProps extends Omit<FileDropZoneProps, 'multiple' | 'onUpdate' | 'errorMessage' | 'validationState'> {
5
+ readAsMethod?: 'readAsBinaryString' | 'readAsDataURL' | 'readAsText';
6
+ }
7
+ export declare const FileInput: React.NamedExoticComponent<import("../../../core").ControlProps<JsonSchemaString<any>, FileInputProps, {}>>;
@@ -0,0 +1,50 @@
1
+ import { __rest } from "tslib";
2
+ import React from 'react';
3
+ import { Xmark } from '@gravity-ui/icons';
4
+ import { FilePreview } from '@gravity-ui/uikit';
5
+ import { unstable_FileDropZone as FileDropZone, } from '@gravity-ui/uikit/unstable';
6
+ import { ControlContainer } from '../../components';
7
+ import { getValidationState } from '../../utils';
8
+ const Component = ({ controlProps, input, meta, schema, }) => {
9
+ const { onBlur, onChange, onFocus } = input;
10
+ const { readAsMethod = 'readAsBinaryString' } = controlProps, restControlProps = __rest(controlProps, ["readAsMethod"]);
11
+ const counterRef = React.useRef(0);
12
+ const [file, setFile] = React.useState(null);
13
+ const actions = React.useMemo(() => [
14
+ {
15
+ id: 'remove',
16
+ title: '',
17
+ icon: React.createElement(Xmark, { width: 14, height: 14 }),
18
+ onClick: () => {
19
+ onChange(undefined);
20
+ setFile(null);
21
+ },
22
+ tooltipExtraProps: { disabled: true },
23
+ },
24
+ ], [onChange]);
25
+ const onUpdate = React.useCallback((files) => {
26
+ if (files.length) {
27
+ const reader = new FileReader();
28
+ if (typeof reader[readAsMethod] !== 'function') {
29
+ throw new Error(`Unknown parameter: ${readAsMethod}`);
30
+ }
31
+ const counter = ++counterRef.current;
32
+ reader.addEventListener('load', () => {
33
+ if (counter === counterRef.current) {
34
+ onFocus();
35
+ onChange(reader.result);
36
+ onBlur();
37
+ setFile(files[0]);
38
+ }
39
+ });
40
+ reader[readAsMethod](files[0]);
41
+ }
42
+ }, [onBlur, onChange, onFocus, readAsMethod]);
43
+ if (file) {
44
+ return (React.createElement(ControlContainer, { stretch: "fit" },
45
+ React.createElement(FilePreview, { file: file, actions: actions })));
46
+ }
47
+ return (React.createElement(ControlContainer, { stretch: "max" },
48
+ React.createElement(FileDropZone, Object.assign({ disabled: schema.readOnly, accept: [] }, restControlProps, { onUpdate: onUpdate, errorMessage: undefined, validationState: getValidationState(meta), multiple: false }))));
49
+ };
50
+ export const FileInput = React.memo(Component);
@@ -0,0 +1 @@
1
+ export { FileInput, type FileInputProps } from './FileInput';
@@ -0,0 +1 @@
1
+ export { FileInput } from './FileInput';
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import * as icons from '@gravity-ui/icons';
3
+ import { type IconProps, type LabelProps as UIKitLabelProps } from '@gravity-ui/uikit';
4
+ import type { JsonSchemaString } from '../../../core';
5
+ export interface LabelProps extends UIKitLabelProps {
6
+ iconName?: keyof typeof icons;
7
+ iconProps?: Partial<IconProps>;
8
+ }
9
+ export declare const Label: React.NamedExoticComponent<import("../../../core").ControlProps<JsonSchemaString<any>, LabelProps, {}>>;
@@ -0,0 +1,25 @@
1
+ import { __rest } from "tslib";
2
+ import React from 'react';
3
+ import * as icons from '@gravity-ui/icons';
4
+ import { Icon, Label as UIKitLabel, } from '@gravity-ui/uikit';
5
+ import { ControlContainer } from '../../components';
6
+ const Component = ({ controlProps, input, schema }) => {
7
+ const { value } = input;
8
+ const { iconName, iconProps, title } = controlProps, controlRestProps = __rest(controlProps, ["iconName", "iconProps", "title"]);
9
+ const icon = React.useMemo(() => iconName && icons[iconName] ? (React.createElement(Icon, Object.assign({ data: icons[iconName] }, iconProps))) : undefined, [iconName, iconProps]);
10
+ const content = React.useMemo(() => {
11
+ if (title) {
12
+ if (typeof title === 'string') {
13
+ return React.createElement("span", { dangerouslySetInnerHTML: { __html: title } });
14
+ }
15
+ return title;
16
+ }
17
+ if (schema.description) {
18
+ return React.createElement("span", { dangerouslySetInnerHTML: { __html: schema.description } });
19
+ }
20
+ return undefined;
21
+ }, [title, schema.description]);
22
+ return (React.createElement(ControlContainer, { stretch: "fit" },
23
+ React.createElement(UIKitLabel, Object.assign({ size: "m", value: value, icon: icon }, controlRestProps), content)));
24
+ };
25
+ export const Label = React.memo(Component);
@@ -0,0 +1 @@
1
+ export { Label, type LabelProps } from './Label';
@@ -0,0 +1 @@
1
+ export { Label } from './Label';
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import { type SelectProps as SelectBaseProps } from '@gravity-ui/uikit';
2
+ import { type SelectProps as UIKitSelectProps } from '@gravity-ui/uikit';
3
3
  import type { JsonSchemaArray } from '../../../core';
4
- export interface MultiSelectProps extends Omit<SelectBaseProps, 'value' | 'onFocus' | 'onBlur' | 'onChange' | 'onUpdate' | 'multiple' | 'qa'> {
4
+ export interface MultiSelectProps extends Omit<UIKitSelectProps, 'value' | 'onFocus' | 'onBlur' | 'onChange' | 'onUpdate' | 'multiple' | 'errorMessage' | 'validationState' | 'qa'> {
5
5
  enumDescriptions?: Record<string, string>;
6
6
  optionsMeta?: Record<string, string>;
7
7
  }
@@ -1,12 +1,14 @@
1
1
  import { __rest } from "tslib";
2
2
  import React from 'react';
3
- import { Flex, Select as SelectBase, Text, } from '@gravity-ui/uikit';
3
+ import { Flex, Text, Select as UIKitSelect, } from '@gravity-ui/uikit';
4
4
  import isString from 'lodash/isString';
5
+ import { ControlContainer } from '../../components';
5
6
  import { getValidationState } from '../../utils';
6
7
  const Component = ({ controlProps, input, meta, schema, }) => {
7
8
  var _a, _b;
9
+ const { name, onBlur, onChange, onFocus, value: inputValue } = input;
8
10
  const { enumDescriptions, optionsMeta } = controlProps, restControlProps = __rest(controlProps, ["enumDescriptions", "optionsMeta"]);
9
- const value = React.useMemo(() => (Array.isArray(input.value) && input.value.every(isString) ? input.value : undefined), [input.value]);
11
+ const value = React.useMemo(() => (Array.isArray(inputValue) && inputValue.every(isString) ? inputValue : undefined), [inputValue]);
10
12
  const enumValues = schema.items && 'enum' in schema.items ? schema.items.enum : undefined;
11
13
  const options = React.useMemo(() => {
12
14
  if (enumValues) {
@@ -27,6 +29,7 @@ const Component = ({ controlProps, input, meta, schema, }) => {
27
29
  }, [enumDescriptions, enumValues, optionsMeta]);
28
30
  const renderOption = React.useCallback((option) => (React.createElement(React.Fragment, { key: option.value }, option.content || option.text || option.value)), []);
29
31
  const getOptionHeight = React.useCallback((option) => { var _a; return (((_a = option.data) === null || _a === void 0 ? void 0 : _a.optionMeta) ? 44 : 28); }, []);
30
- return (React.createElement(SelectBase, Object.assign({ width: "max", options: options, filterable: ((enumValues === null || enumValues === void 0 ? void 0 : enumValues.length) || 0) > 9, renderOption: renderOption, getOptionHeight: getOptionHeight, disabled: schema.readOnly }, restControlProps, { value: value, onFocus: input.onFocus, onBlur: input.onBlur, onUpdate: input.onChange, errorMessage: meta.error, validationState: getValidationState(meta), placeholder: `${(_b = (_a = schema.examples) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b[0]}`, multiple: true, qa: input.name })));
32
+ return (React.createElement(ControlContainer, { stretch: "max" },
33
+ React.createElement(UIKitSelect, Object.assign({ width: "max", options: options, filterable: ((enumValues === null || enumValues === void 0 ? void 0 : enumValues.length) || 0) > 9, renderOption: renderOption, getOptionHeight: getOptionHeight, placeholder: `${(_b = (_a = schema.examples) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b[0]}`, disabled: schema.readOnly }, restControlProps, { value: value, onFocus: onFocus, onBlur: onBlur, onUpdate: onChange, errorMessage: undefined, validationState: getValidationState(meta), multiple: true, qa: name }))));
31
34
  };
32
35
  export const MultiSelect = React.memo(Component);
@@ -0,0 +1,3 @@
1
+ .sr-number-base_error .g-text-input__content {
2
+ outline: none;
3
+ }
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { type NumberInputProps } from '@gravity-ui/uikit';
3
+ import { type JsonSchemaNumber } from '../../../core';
4
+ import './NumberBase.css';
5
+ export interface NumberBaseProps extends Omit<NumberInputProps, 'value' | 'defaultValue' | 'onFocus' | 'onBlur' | 'onChange' | 'onUpdate' | 'errorMessage' | 'validationState' | 'qa'> {
6
+ }
7
+ export declare const NumberBase: React.NamedExoticComponent<import("../../../core").ControlProps<JsonSchemaNumber<any>, NumberBaseProps, {}>>;
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { NumberInput } from '@gravity-ui/uikit';
3
+ import { ControlContainer } from '../../components';
4
+ import { block, getBooleanValidationState, getValidationState } from '../../utils';
5
+ import './NumberBase.css';
6
+ const b = block('number-base');
7
+ const Component = ({ controlProps, input, meta, schema, }) => {
8
+ var _a;
9
+ const { name, onBlur, onChange, onFocus, value } = input;
10
+ return (React.createElement(ControlContainer, { stretch: "max", className: b({ error: getBooleanValidationState(meta) }) },
11
+ React.createElement(NumberInput, Object.assign({ allowDecimal: true, hasClear: true, placeholder: `${((_a = schema.examples) === null || _a === void 0 ? void 0 : _a[0]) || ''}`, disabled: schema.readOnly }, controlProps, { value: value, defaultValue: schema.default, onBlur: onBlur, onFocus: onFocus, onUpdate: onChange, errorMessage: undefined, validationState: getValidationState(meta), qa: name }))));
12
+ };
13
+ export const NumberBase = React.memo(Component);
@@ -1 +1 @@
1
- export { NumberBase, type NumberBaseProps } from './Number';
1
+ export { NumberBase, type NumberBaseProps } from './NumberBase';
@@ -1 +1 @@
1
- export { NumberBase } from './Number';
1
+ export { NumberBase } from './NumberBase';
@@ -1,7 +1,6 @@
1
1
  import React from 'react';
2
2
  import { type JsonSchemaObject } from '../../../core';
3
3
  export interface ObjectBaseProps {
4
- addButtonText?: string;
5
4
  disabled?: boolean;
6
5
  order?: string[];
7
6
  }
@@ -1,29 +1,11 @@
1
1
  import React from 'react';
2
- import { Plus } from '@gravity-ui/icons';
3
- import { Button, Flex, Icon } from '@gravity-ui/uikit';
4
2
  import { Entity } from '../../../core';
5
- import { ControlError } from '../../components';
6
- import { getValidationState } from '../../utils';
7
- const Component = ({ controlProps, input, meta, schema, }) => {
8
- const addButton = React.useMemo(() => {
9
- const onClick = () => input.onChange(schema.default);
10
- return (React.createElement(Button, { onClick: onClick, disabled: controlProps.disabled || schema.readOnly, qa: `${input.name}-add-button` },
11
- React.createElement(Icon, { data: Plus, size: 14 }),
12
- controlProps.addButtonText || null));
13
- }, [
14
- controlProps.addButtonText,
15
- controlProps.disabled,
16
- input.onChange,
17
- schema.default,
18
- schema.readOnly,
19
- ]);
20
- return (React.createElement(ControlError, { errorMessage: meta.error, validationState: getValidationState(meta) },
21
- React.createElement(Flex, { direction: "column", gap: 2 },
22
- React.createElement(Flex, { direction: "column" },
23
- (controlProps.order || Object.keys(schema.properties || {})).map((property) => {
24
- var _a;
25
- return (React.createElement(Entity, { name: `${input.name ? input.name + '.' : ''}${property}`, schema: (_a = schema.properties) === null || _a === void 0 ? void 0 : _a[property], key: property }));
26
- }),
27
- input.value ? null : addButton))));
3
+ import { ControlContainer } from '../../components';
4
+ const Component = ({ controlProps, input, schema, }) => {
5
+ const { name } = input;
6
+ return (React.createElement(ControlContainer, { stretch: "by-child" }, (controlProps.order || Object.keys(schema.properties || {})).map((property) => {
7
+ var _a;
8
+ return (React.createElement(Entity, { name: `${name ? name + '.' : ''}${property}`, schema: (_a = schema.properties) === null || _a === void 0 ? void 0 : _a[property], key: property }));
9
+ })));
28
10
  };
29
11
  export const ObjectBase = React.memo(Component);
@@ -0,0 +1,8 @@
1
+ .sr-object-inline .sr-object-inline__items > * {
2
+ margin-bottom: 0;
3
+ }
4
+ .sr-object-inline__delimiter {
5
+ min-height: 28px;
6
+ display: flex;
7
+ align-items: center;
8
+ }
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { type JsonSchemaObject } from '../../../core';
3
+ import './ObjectInline.css';
4
+ export interface ObjectInlineProps {
5
+ delimiter?: string | Record<string, string>;
6
+ disabled?: boolean;
7
+ order?: string[];
8
+ }
9
+ export declare const ObjectInline: React.NamedExoticComponent<import("../../../core").ControlProps<JsonSchemaObject<any>, ObjectInlineProps, {}>>;