@gravity-ui/dynamic-forms 5.18.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 (712) 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/Entity.js +78 -0
  266. package/build/cjs/lib/unstable/core/Entity/index.d.ts +2 -0
  267. package/build/cjs/lib/unstable/core/Entity/index.js +5 -0
  268. package/build/cjs/lib/unstable/core/Entity/types.d.ts +27 -0
  269. package/build/cjs/lib/unstable/core/Entity/types.js +2 -0
  270. package/build/cjs/lib/unstable/core/Entity/utils.d.ts +3 -0
  271. package/build/cjs/lib/unstable/core/Entity/utils.js +40 -0
  272. package/build/cjs/lib/unstable/core/SchemaRenderer/SchemaRenderer.d.ts +5 -0
  273. package/build/cjs/lib/unstable/core/SchemaRenderer/SchemaRenderer.js +12 -0
  274. package/build/cjs/lib/unstable/core/SchemaRenderer/index.d.ts +1 -0
  275. package/build/cjs/lib/unstable/core/SchemaRenderer/index.js +5 -0
  276. package/build/cjs/lib/unstable/core/constants.d.ts +22 -0
  277. package/build/cjs/lib/unstable/core/constants.js +28 -0
  278. package/build/cjs/lib/unstable/core/index.d.ts +5 -0
  279. package/build/cjs/lib/unstable/core/index.js +15 -0
  280. package/build/cjs/lib/unstable/core/types/components.d.ts +29 -0
  281. package/build/cjs/lib/unstable/core/types/components.js +2 -0
  282. package/build/cjs/lib/unstable/core/types/config.d.ts +36 -0
  283. package/build/cjs/lib/unstable/core/types/config.js +2 -0
  284. package/build/cjs/lib/unstable/core/types/helpers.d.ts +18 -0
  285. package/build/cjs/lib/unstable/core/types/helpers.js +2 -0
  286. package/build/cjs/lib/unstable/core/types/index.d.ts +5 -0
  287. package/build/cjs/lib/unstable/core/types/index.js +8 -0
  288. package/build/cjs/lib/unstable/core/types/schema.d.ts +1186 -0
  289. package/build/cjs/lib/unstable/core/types/schema.js +2 -0
  290. package/build/cjs/lib/unstable/core/types/validation.d.ts +39 -0
  291. package/build/cjs/lib/unstable/core/types/validation.js +2 -0
  292. package/build/cjs/lib/unstable/core/types/values.d.ts +4 -0
  293. package/build/cjs/lib/unstable/core/types/values.js +2 -0
  294. package/build/cjs/lib/unstable/core/useSchemaRenderer/constants.d.ts +1 -0
  295. package/build/cjs/lib/unstable/core/useSchemaRenderer/constants.js +4 -0
  296. package/build/cjs/lib/unstable/core/useSchemaRenderer/hooks/index.d.ts +2 -0
  297. package/build/cjs/lib/unstable/core/useSchemaRenderer/hooks/index.js +7 -0
  298. package/build/cjs/lib/unstable/core/useSchemaRenderer/hooks/useEntitiesState.d.ts +7 -0
  299. package/build/cjs/lib/unstable/core/useSchemaRenderer/hooks/useEntitiesState.js +25 -0
  300. package/build/cjs/lib/unstable/core/useSchemaRenderer/hooks/useSchemaRendererMutators.d.ts +10 -0
  301. package/build/cjs/lib/unstable/core/useSchemaRenderer/hooks/useSchemaRendererMutators.js +17 -0
  302. package/build/cjs/lib/unstable/core/useSchemaRenderer/index.d.ts +3 -0
  303. package/build/cjs/lib/unstable/core/useSchemaRenderer/index.js +10 -0
  304. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/async-validation/async-validation.d.ts +3 -0
  305. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/async-validation/async-validation.js +35 -0
  306. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/async-validation/index.d.ts +2 -0
  307. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/async-validation/index.js +5 -0
  308. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/async-validation/types.d.ts +34 -0
  309. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/async-validation/types.js +2 -0
  310. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/external-errors/external-errors.d.ts +3 -0
  311. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/external-errors/external-errors.js +60 -0
  312. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/external-errors/index.d.ts +2 -0
  313. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/external-errors/index.js +5 -0
  314. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/external-errors/types.d.ts +25 -0
  315. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/external-errors/types.js +2 -0
  316. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/index.d.ts +13 -0
  317. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/index.js +16 -0
  318. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/schema-mutators/index.d.ts +2 -0
  319. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/schema-mutators/index.js +5 -0
  320. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/schema-mutators/schema-mutators.d.ts +3 -0
  321. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/schema-mutators/schema-mutators.js +81 -0
  322. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/schema-mutators/types.d.ts +26 -0
  323. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/schema-mutators/types.js +2 -0
  324. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/trigger-fields/index.d.ts +2 -0
  325. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/trigger-fields/index.js +5 -0
  326. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/trigger-fields/trigger-fields.d.ts +2 -0
  327. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/trigger-fields/trigger-fields.js +12 -0
  328. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/trigger-fields/types.d.ts +6 -0
  329. package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/trigger-fields/types.js +2 -0
  330. package/build/cjs/lib/unstable/core/useSchemaRenderer/types.d.ts +22 -0
  331. package/build/cjs/lib/unstable/core/useSchemaRenderer/types.js +2 -0
  332. package/build/cjs/lib/unstable/core/useSchemaRenderer/useSchemaRenderer.d.ts +37 -0
  333. package/build/cjs/lib/unstable/core/useSchemaRenderer/useSchemaRenderer.js +86 -0
  334. package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/common.d.ts +1 -0
  335. package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/common.js +11 -0
  336. package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/get-ajv-validate.d.ts +11 -0
  337. package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/get-ajv-validate.js +39 -0
  338. package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/get-validate.d.ts +14 -0
  339. package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/get-validate.js +67 -0
  340. package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/index.d.ts +2 -0
  341. package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/index.js +7 -0
  342. package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/process-ajv-error.d.ts +10 -0
  343. package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/process-ajv-error.js +51 -0
  344. package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/process-ajv-validate-errors.d.ts +20 -0
  345. package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/process-ajv-validate-errors.js +43 -0
  346. package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/process-entity-parameters-error.d.ts +15 -0
  347. package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/process-entity-parameters-error.js +36 -0
  348. package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/process-errors-state.d.ts +12 -0
  349. package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/process-errors-state.js +17 -0
  350. package/build/cjs/lib/unstable/core/utils/common.d.ts +49 -0
  351. package/build/cjs/lib/unstable/core/utils/common.js +180 -0
  352. package/build/cjs/lib/unstable/core/utils/index.d.ts +1 -0
  353. package/build/cjs/lib/unstable/core/utils/index.js +4 -0
  354. package/build/cjs/lib/unstable/kit/Accordeon.d.ts +3 -0
  355. package/build/cjs/lib/unstable/kit/Accordeon.js +31 -0
  356. package/build/cjs/lib/unstable/kit/Any.d.ts +2 -0
  357. package/build/cjs/lib/unstable/kit/Any.js +21 -0
  358. package/build/cjs/lib/unstable/kit/ArrayBase.css +23 -0
  359. package/build/cjs/lib/unstable/kit/ArrayBase.d.ts +2 -0
  360. package/build/cjs/lib/unstable/kit/ArrayBase.js +101 -0
  361. package/build/cjs/lib/unstable/kit/MultiSelect.css +6 -0
  362. package/build/cjs/lib/unstable/kit/MultiSelect.d.ts +6 -0
  363. package/build/cjs/lib/unstable/kit/MultiSelect.js +66 -0
  364. package/build/cjs/lib/unstable/kit/ObjectBase.css +10 -0
  365. package/build/cjs/lib/unstable/kit/ObjectBase.d.ts +7 -0
  366. package/build/cjs/lib/unstable/kit/ObjectBase.js +71 -0
  367. package/build/cjs/lib/unstable/kit/Row.css +73 -0
  368. package/build/cjs/lib/unstable/kit/Row.d.ts +10 -0
  369. package/build/cjs/lib/unstable/kit/Row.js +50 -0
  370. package/build/cjs/lib/unstable/kit/Text.d.ts +6 -0
  371. package/build/cjs/lib/unstable/kit/Text.js +259 -0
  372. package/build/cjs/lib/unstable/kit/components/ArrayRemoveButton/ArrayRemoveButton.d.ts +5 -0
  373. package/build/cjs/lib/unstable/kit/components/ArrayRemoveButton/ArrayRemoveButton.js +29 -0
  374. package/build/cjs/lib/unstable/kit/components/ArrayRemoveButton/index.d.ts +1 -0
  375. package/build/cjs/lib/unstable/kit/components/ArrayRemoveButton/index.js +5 -0
  376. package/build/cjs/lib/unstable/kit/components/ControlError/ControlError.css +33 -0
  377. package/build/cjs/lib/unstable/kit/components/ControlError/ControlError.d.ts +8 -0
  378. package/build/cjs/lib/unstable/kit/components/ControlError/ControlError.js +15 -0
  379. package/build/cjs/lib/unstable/kit/components/ControlError/index.d.ts +1 -0
  380. package/build/cjs/lib/unstable/kit/components/ControlError/index.js +5 -0
  381. package/build/cjs/lib/unstable/kit/components/HTMLContent/HTMLContent.d.ts +6 -0
  382. package/build/cjs/lib/unstable/kit/components/HTMLContent/HTMLContent.js +11 -0
  383. package/build/cjs/lib/unstable/kit/components/HTMLContent/index.d.ts +1 -0
  384. package/build/cjs/lib/unstable/kit/components/HTMLContent/index.js +5 -0
  385. package/build/cjs/lib/unstable/kit/components/index.d.ts +3 -0
  386. package/build/cjs/lib/unstable/kit/components/index.js +9 -0
  387. package/build/cjs/lib/unstable/kit/config.d.ts +95 -0
  388. package/build/cjs/lib/unstable/kit/config.js +68 -0
  389. package/build/cjs/lib/unstable/kit/constants/config.d.ts +112 -0
  390. package/build/cjs/lib/unstable/kit/constants/config.js +62 -0
  391. package/build/cjs/lib/unstable/kit/constants/index.d.ts +1 -0
  392. package/build/cjs/lib/unstable/kit/constants/index.js +6 -0
  393. package/build/cjs/lib/unstable/kit/controls/ArrayBase/ArrayBase.d.ts +8 -0
  394. package/build/cjs/lib/unstable/kit/controls/ArrayBase/ArrayBase.js +46 -0
  395. package/build/cjs/lib/unstable/kit/controls/ArrayBase/index.d.ts +1 -0
  396. package/build/cjs/lib/unstable/kit/controls/ArrayBase/index.js +4 -0
  397. package/build/cjs/lib/unstable/kit/controls/Checkbox/Checkbox.css +5 -0
  398. package/build/cjs/lib/unstable/kit/controls/Checkbox/Checkbox.d.ts +6 -0
  399. package/build/cjs/lib/unstable/kit/controls/Checkbox/Checkbox.js +16 -0
  400. package/build/cjs/lib/unstable/kit/controls/Checkbox/index.d.ts +1 -0
  401. package/build/cjs/lib/unstable/kit/controls/Checkbox/index.js +5 -0
  402. package/build/cjs/lib/unstable/kit/controls/CheckboxGroup/CheckboxGroup.css +3 -0
  403. package/build/cjs/lib/unstable/kit/controls/CheckboxGroup/CheckboxGroup.d.ts +9 -0
  404. package/build/cjs/lib/unstable/kit/controls/CheckboxGroup/CheckboxGroup.js +37 -0
  405. package/build/cjs/lib/unstable/kit/controls/CheckboxGroup/index.d.ts +1 -0
  406. package/build/cjs/lib/unstable/kit/controls/CheckboxGroup/index.js +5 -0
  407. package/build/cjs/lib/unstable/kit/controls/ColorPicker/ColorPicker.d.ts +6 -0
  408. package/build/cjs/lib/unstable/kit/controls/ColorPicker/ColorPicker.js +24 -0
  409. package/build/cjs/lib/unstable/kit/controls/ColorPicker/index.d.ts +1 -0
  410. package/build/cjs/lib/unstable/kit/controls/ColorPicker/index.js +5 -0
  411. package/build/cjs/lib/unstable/kit/controls/DateInput/DateInput.css +3 -0
  412. package/build/cjs/lib/unstable/kit/controls/DateInput/DateInput.d.ts +8 -0
  413. package/build/cjs/lib/unstable/kit/controls/DateInput/DateInput.js +55 -0
  414. package/build/cjs/lib/unstable/kit/controls/DateInput/index.d.ts +1 -0
  415. package/build/cjs/lib/unstable/kit/controls/DateInput/index.js +5 -0
  416. package/build/cjs/lib/unstable/kit/controls/MultiSelect/MultiSelect.d.ts +8 -0
  417. package/build/cjs/lib/unstable/kit/controls/MultiSelect/MultiSelect.js +35 -0
  418. package/build/cjs/lib/unstable/kit/controls/MultiSelect/index.d.ts +1 -0
  419. package/build/cjs/lib/unstable/kit/controls/MultiSelect/index.js +5 -0
  420. package/build/cjs/lib/unstable/kit/controls/NumberBase/Number.d.ts +6 -0
  421. package/build/cjs/lib/unstable/kit/controls/NumberBase/Number.js +12 -0
  422. package/build/cjs/lib/unstable/kit/controls/NumberBase/index.d.ts +1 -0
  423. package/build/cjs/lib/unstable/kit/controls/NumberBase/index.js +5 -0
  424. package/build/cjs/lib/unstable/kit/controls/ObjectBase/ObjectBase.d.ts +8 -0
  425. package/build/cjs/lib/unstable/kit/controls/ObjectBase/ObjectBase.js +33 -0
  426. package/build/cjs/lib/unstable/kit/controls/ObjectBase/index.d.ts +1 -0
  427. package/build/cjs/lib/unstable/kit/controls/ObjectBase/index.js +5 -0
  428. package/build/cjs/lib/unstable/kit/controls/Password/Password.d.ts +6 -0
  429. package/build/cjs/lib/unstable/kit/controls/Password/Password.js +12 -0
  430. package/build/cjs/lib/unstable/kit/controls/Password/index.d.ts +1 -0
  431. package/build/cjs/lib/unstable/kit/controls/Password/index.js +5 -0
  432. package/build/cjs/lib/unstable/kit/controls/RadioGroup/RadioGroup.css +3 -0
  433. package/build/cjs/lib/unstable/kit/controls/RadioGroup/RadioGroup.d.ts +8 -0
  434. package/build/cjs/lib/unstable/kit/controls/RadioGroup/RadioGroup.js +24 -0
  435. package/build/cjs/lib/unstable/kit/controls/RadioGroup/index.d.ts +1 -0
  436. package/build/cjs/lib/unstable/kit/controls/RadioGroup/index.js +5 -0
  437. package/build/cjs/lib/unstable/kit/controls/RangeSlider/RangeSlider.css +3 -0
  438. package/build/cjs/lib/unstable/kit/controls/RangeSlider/RangeSlider.d.ts +7 -0
  439. package/build/cjs/lib/unstable/kit/controls/RangeSlider/RangeSlider.js +33 -0
  440. package/build/cjs/lib/unstable/kit/controls/RangeSlider/index.d.ts +1 -0
  441. package/build/cjs/lib/unstable/kit/controls/RangeSlider/index.js +5 -0
  442. package/build/cjs/lib/unstable/kit/controls/Select/Select.d.ts +9 -0
  443. package/build/cjs/lib/unstable/kit/controls/Select/Select.js +32 -0
  444. package/build/cjs/lib/unstable/kit/controls/Select/index.d.ts +1 -0
  445. package/build/cjs/lib/unstable/kit/controls/Select/index.js +5 -0
  446. package/build/cjs/lib/unstable/kit/controls/Slider/Slider.css +3 -0
  447. package/build/cjs/lib/unstable/kit/controls/Slider/Slider.d.ts +6 -0
  448. package/build/cjs/lib/unstable/kit/controls/Slider/Slider.js +19 -0
  449. package/build/cjs/lib/unstable/kit/controls/Slider/index.d.ts +1 -0
  450. package/build/cjs/lib/unstable/kit/controls/Slider/index.js +5 -0
  451. package/build/cjs/lib/unstable/kit/controls/StringBase/StringBase.d.ts +6 -0
  452. package/build/cjs/lib/unstable/kit/controls/StringBase/StringBase.js +12 -0
  453. package/build/cjs/lib/unstable/kit/controls/StringBase/index.d.ts +1 -0
  454. package/build/cjs/lib/unstable/kit/controls/StringBase/index.js +5 -0
  455. package/build/cjs/lib/unstable/kit/controls/Switch/Switch.css +5 -0
  456. package/build/cjs/lib/unstable/kit/controls/Switch/Switch.d.ts +6 -0
  457. package/build/cjs/lib/unstable/kit/controls/Switch/Switch.js +16 -0
  458. package/build/cjs/lib/unstable/kit/controls/Switch/index.d.ts +1 -0
  459. package/build/cjs/lib/unstable/kit/controls/Switch/index.js +5 -0
  460. package/build/cjs/lib/unstable/kit/controls/TextArea/TextArea.d.ts +6 -0
  461. package/build/cjs/lib/unstable/kit/controls/TextArea/TextArea.js +12 -0
  462. package/build/cjs/lib/unstable/kit/controls/TextArea/index.d.ts +1 -0
  463. package/build/cjs/lib/unstable/kit/controls/TextArea/index.js +5 -0
  464. package/build/cjs/lib/unstable/kit/controls/index.d.ts +16 -0
  465. package/build/cjs/lib/unstable/kit/controls/index.js +35 -0
  466. package/build/cjs/lib/unstable/kit/styles/functions.css +0 -0
  467. package/build/cjs/lib/unstable/kit/styles/variables.css +0 -0
  468. package/build/cjs/lib/unstable/kit/utils/cn.d.ts +1 -0
  469. package/build/cjs/lib/unstable/kit/utils/cn.js +6 -0
  470. package/build/cjs/lib/unstable/kit/utils/common.d.ts +7 -0
  471. package/build/cjs/lib/unstable/kit/utils/common.js +27 -0
  472. package/build/cjs/lib/unstable/kit/utils/index.d.ts +2 -0
  473. package/build/cjs/lib/unstable/kit/utils/index.js +11 -0
  474. package/build/cjs/lib/unstable/kit/wrappers/Row/Row.css +27 -0
  475. package/build/cjs/lib/unstable/kit/wrappers/Row/Row.d.ts +6 -0
  476. package/build/cjs/lib/unstable/kit/wrappers/Row/Row.js +34 -0
  477. package/build/cjs/lib/unstable/kit/wrappers/Row/index.d.ts +1 -0
  478. package/build/cjs/lib/unstable/kit/wrappers/Row/index.js +5 -0
  479. package/build/cjs/lib/unstable/kit/wrappers/Transparent/Transparent.css +6 -0
  480. package/build/cjs/lib/unstable/kit/wrappers/Transparent/Transparent.d.ts +3 -0
  481. package/build/cjs/lib/unstable/kit/wrappers/Transparent/Transparent.js +15 -0
  482. package/build/cjs/lib/unstable/kit/wrappers/Transparent/index.d.ts +1 -0
  483. package/build/cjs/lib/unstable/kit/wrappers/Transparent/index.js +5 -0
  484. package/build/cjs/lib/unstable/kit/wrappers/index.d.ts +2 -0
  485. package/build/cjs/lib/unstable/kit/wrappers/index.js +7 -0
  486. package/build/cjs/unstable.d.ts +4 -0
  487. package/build/cjs/unstable.js +10 -0
  488. package/build/esm/lib/unstable/core/Entity/Entity.d.ts +10 -0
  489. package/build/esm/lib/unstable/core/Entity/Entity.js +74 -0
  490. package/build/esm/lib/unstable/core/Entity/index.d.ts +2 -0
  491. package/build/esm/lib/unstable/core/Entity/index.js +1 -0
  492. package/build/esm/lib/unstable/core/Entity/types.d.ts +27 -0
  493. package/build/esm/lib/unstable/core/Entity/types.js +1 -0
  494. package/build/esm/lib/unstable/core/Entity/utils.d.ts +3 -0
  495. package/build/esm/lib/unstable/core/Entity/utils.js +35 -0
  496. package/build/esm/lib/unstable/core/SchemaRenderer/SchemaRenderer.d.ts +5 -0
  497. package/build/esm/lib/unstable/core/SchemaRenderer/SchemaRenderer.js +8 -0
  498. package/build/esm/lib/unstable/core/SchemaRenderer/index.d.ts +1 -0
  499. package/build/esm/lib/unstable/core/SchemaRenderer/index.js +1 -0
  500. package/build/esm/lib/unstable/core/constants.d.ts +22 -0
  501. package/build/esm/lib/unstable/core/constants.js +25 -0
  502. package/build/esm/lib/unstable/core/index.d.ts +5 -0
  503. package/build/esm/lib/unstable/core/index.js +4 -0
  504. package/build/esm/lib/unstable/core/types/components.d.ts +29 -0
  505. package/build/esm/lib/unstable/core/types/components.js +1 -0
  506. package/build/esm/lib/unstable/core/types/config.d.ts +36 -0
  507. package/build/esm/lib/unstable/core/types/config.js +1 -0
  508. package/build/esm/lib/unstable/core/types/helpers.d.ts +18 -0
  509. package/build/esm/lib/unstable/core/types/helpers.js +1 -0
  510. package/build/esm/lib/unstable/core/types/index.d.ts +5 -0
  511. package/build/esm/lib/unstable/core/types/index.js +5 -0
  512. package/build/esm/lib/unstable/core/types/schema.d.ts +1186 -0
  513. package/build/esm/lib/unstable/core/types/schema.js +1 -0
  514. package/build/esm/lib/unstable/core/types/validation.d.ts +39 -0
  515. package/build/esm/lib/unstable/core/types/validation.js +1 -0
  516. package/build/esm/lib/unstable/core/types/values.d.ts +4 -0
  517. package/build/esm/lib/unstable/core/types/values.js +1 -0
  518. package/build/esm/lib/unstable/core/useSchemaRenderer/constants.d.ts +1 -0
  519. package/build/esm/lib/unstable/core/useSchemaRenderer/constants.js +1 -0
  520. package/build/esm/lib/unstable/core/useSchemaRenderer/hooks/index.d.ts +2 -0
  521. package/build/esm/lib/unstable/core/useSchemaRenderer/hooks/index.js +2 -0
  522. package/build/esm/lib/unstable/core/useSchemaRenderer/hooks/useEntitiesState.d.ts +7 -0
  523. package/build/esm/lib/unstable/core/useSchemaRenderer/hooks/useEntitiesState.js +20 -0
  524. package/build/esm/lib/unstable/core/useSchemaRenderer/hooks/useSchemaRendererMutators.d.ts +10 -0
  525. package/build/esm/lib/unstable/core/useSchemaRenderer/hooks/useSchemaRendererMutators.js +13 -0
  526. package/build/esm/lib/unstable/core/useSchemaRenderer/index.d.ts +3 -0
  527. package/build/esm/lib/unstable/core/useSchemaRenderer/index.js +3 -0
  528. package/build/esm/lib/unstable/core/useSchemaRenderer/mutators/async-validation/async-validation.d.ts +3 -0
  529. package/build/esm/lib/unstable/core/useSchemaRenderer/mutators/async-validation/async-validation.js +29 -0
  530. package/build/esm/lib/unstable/core/useSchemaRenderer/mutators/async-validation/index.d.ts +2 -0
  531. package/build/esm/lib/unstable/core/useSchemaRenderer/mutators/async-validation/index.js +2 -0
  532. package/build/esm/lib/unstable/core/useSchemaRenderer/mutators/async-validation/types.d.ts +34 -0
  533. package/build/esm/lib/unstable/core/useSchemaRenderer/mutators/async-validation/types.js +1 -0
  534. package/build/esm/lib/unstable/core/useSchemaRenderer/mutators/external-errors/external-errors.d.ts +3 -0
  535. package/build/esm/lib/unstable/core/useSchemaRenderer/mutators/external-errors/external-errors.js +54 -0
  536. package/build/esm/lib/unstable/core/useSchemaRenderer/mutators/external-errors/index.d.ts +2 -0
  537. package/build/esm/lib/unstable/core/useSchemaRenderer/mutators/external-errors/index.js +2 -0
  538. package/build/esm/lib/unstable/core/useSchemaRenderer/mutators/external-errors/types.d.ts +25 -0
  539. package/build/esm/lib/unstable/core/useSchemaRenderer/mutators/external-errors/types.js +1 -0
  540. package/build/esm/lib/unstable/core/useSchemaRenderer/mutators/index.d.ts +13 -0
  541. package/build/esm/lib/unstable/core/useSchemaRenderer/mutators/index.js +13 -0
  542. package/build/esm/lib/unstable/core/useSchemaRenderer/mutators/schema-mutators/index.d.ts +2 -0
  543. package/build/esm/lib/unstable/core/useSchemaRenderer/mutators/schema-mutators/index.js +2 -0
  544. package/build/esm/lib/unstable/core/useSchemaRenderer/mutators/schema-mutators/schema-mutators.d.ts +3 -0
  545. package/build/esm/lib/unstable/core/useSchemaRenderer/mutators/schema-mutators/schema-mutators.js +75 -0
  546. package/build/esm/lib/unstable/core/useSchemaRenderer/mutators/schema-mutators/types.d.ts +26 -0
  547. package/build/esm/lib/unstable/core/useSchemaRenderer/mutators/schema-mutators/types.js +1 -0
  548. package/build/esm/lib/unstable/core/useSchemaRenderer/mutators/trigger-fields/index.d.ts +2 -0
  549. package/build/esm/lib/unstable/core/useSchemaRenderer/mutators/trigger-fields/index.js +2 -0
  550. package/build/esm/lib/unstable/core/useSchemaRenderer/mutators/trigger-fields/trigger-fields.d.ts +2 -0
  551. package/build/esm/lib/unstable/core/useSchemaRenderer/mutators/trigger-fields/trigger-fields.js +8 -0
  552. package/build/esm/lib/unstable/core/useSchemaRenderer/mutators/trigger-fields/types.d.ts +6 -0
  553. package/build/esm/lib/unstable/core/useSchemaRenderer/mutators/trigger-fields/types.js +1 -0
  554. package/build/esm/lib/unstable/core/useSchemaRenderer/types.d.ts +22 -0
  555. package/build/esm/lib/unstable/core/useSchemaRenderer/types.js +1 -0
  556. package/build/esm/lib/unstable/core/useSchemaRenderer/useSchemaRenderer.d.ts +37 -0
  557. package/build/esm/lib/unstable/core/useSchemaRenderer/useSchemaRenderer.js +81 -0
  558. package/build/esm/lib/unstable/core/useSchemaRenderer/utils/common.d.ts +1 -0
  559. package/build/esm/lib/unstable/core/useSchemaRenderer/utils/common.js +7 -0
  560. package/build/esm/lib/unstable/core/useSchemaRenderer/utils/get-ajv-validate.d.ts +11 -0
  561. package/build/esm/lib/unstable/core/useSchemaRenderer/utils/get-ajv-validate.js +34 -0
  562. package/build/esm/lib/unstable/core/useSchemaRenderer/utils/get-validate.d.ts +14 -0
  563. package/build/esm/lib/unstable/core/useSchemaRenderer/utils/get-validate.js +62 -0
  564. package/build/esm/lib/unstable/core/useSchemaRenderer/utils/index.d.ts +2 -0
  565. package/build/esm/lib/unstable/core/useSchemaRenderer/utils/index.js +2 -0
  566. package/build/esm/lib/unstable/core/useSchemaRenderer/utils/process-ajv-error.d.ts +10 -0
  567. package/build/esm/lib/unstable/core/useSchemaRenderer/utils/process-ajv-error.js +46 -0
  568. package/build/esm/lib/unstable/core/useSchemaRenderer/utils/process-ajv-validate-errors.d.ts +20 -0
  569. package/build/esm/lib/unstable/core/useSchemaRenderer/utils/process-ajv-validate-errors.js +39 -0
  570. package/build/esm/lib/unstable/core/useSchemaRenderer/utils/process-entity-parameters-error.d.ts +15 -0
  571. package/build/esm/lib/unstable/core/useSchemaRenderer/utils/process-entity-parameters-error.js +31 -0
  572. package/build/esm/lib/unstable/core/useSchemaRenderer/utils/process-errors-state.d.ts +12 -0
  573. package/build/esm/lib/unstable/core/useSchemaRenderer/utils/process-errors-state.js +12 -0
  574. package/build/esm/lib/unstable/core/utils/common.d.ts +49 -0
  575. package/build/esm/lib/unstable/core/utils/common.js +165 -0
  576. package/build/esm/lib/unstable/core/utils/index.d.ts +1 -0
  577. package/build/esm/lib/unstable/core/utils/index.js +1 -0
  578. package/build/esm/lib/unstable/kit/Accordeon.d.ts +3 -0
  579. package/build/esm/lib/unstable/kit/Accordeon.js +26 -0
  580. package/build/esm/lib/unstable/kit/Any.d.ts +2 -0
  581. package/build/esm/lib/unstable/kit/Any.js +16 -0
  582. package/build/esm/lib/unstable/kit/ArrayBase.css +23 -0
  583. package/build/esm/lib/unstable/kit/ArrayBase.d.ts +3 -0
  584. package/build/esm/lib/unstable/kit/ArrayBase.js +97 -0
  585. package/build/esm/lib/unstable/kit/MultiSelect.css +6 -0
  586. package/build/esm/lib/unstable/kit/MultiSelect.d.ts +7 -0
  587. package/build/esm/lib/unstable/kit/MultiSelect.js +62 -0
  588. package/build/esm/lib/unstable/kit/ObjectBase.css +10 -0
  589. package/build/esm/lib/unstable/kit/ObjectBase.d.ts +8 -0
  590. package/build/esm/lib/unstable/kit/ObjectBase.js +66 -0
  591. package/build/esm/lib/unstable/kit/Row.css +73 -0
  592. package/build/esm/lib/unstable/kit/Row.d.ts +11 -0
  593. package/build/esm/lib/unstable/kit/Row.js +47 -0
  594. package/build/esm/lib/unstable/kit/Text.d.ts +6 -0
  595. package/build/esm/lib/unstable/kit/Text.js +255 -0
  596. package/build/esm/lib/unstable/kit/components/ArrayRemoveButton/ArrayRemoveButton.d.ts +5 -0
  597. package/build/esm/lib/unstable/kit/components/ArrayRemoveButton/ArrayRemoveButton.js +24 -0
  598. package/build/esm/lib/unstable/kit/components/ArrayRemoveButton/index.d.ts +1 -0
  599. package/build/esm/lib/unstable/kit/components/ArrayRemoveButton/index.js +1 -0
  600. package/build/esm/lib/unstable/kit/components/ControlError/ControlError.css +33 -0
  601. package/build/esm/lib/unstable/kit/components/ControlError/ControlError.d.ts +9 -0
  602. package/build/esm/lib/unstable/kit/components/ControlError/ControlError.js +11 -0
  603. package/build/esm/lib/unstable/kit/components/ControlError/index.d.ts +1 -0
  604. package/build/esm/lib/unstable/kit/components/ControlError/index.js +1 -0
  605. package/build/esm/lib/unstable/kit/components/HTMLContent/HTMLContent.d.ts +6 -0
  606. package/build/esm/lib/unstable/kit/components/HTMLContent/HTMLContent.js +7 -0
  607. package/build/esm/lib/unstable/kit/components/HTMLContent/index.d.ts +1 -0
  608. package/build/esm/lib/unstable/kit/components/HTMLContent/index.js +1 -0
  609. package/build/esm/lib/unstable/kit/components/index.d.ts +3 -0
  610. package/build/esm/lib/unstable/kit/components/index.js +3 -0
  611. package/build/esm/lib/unstable/kit/config.d.ts +95 -0
  612. package/build/esm/lib/unstable/kit/config.js +65 -0
  613. package/build/esm/lib/unstable/kit/constants/config.d.ts +112 -0
  614. package/build/esm/lib/unstable/kit/constants/config.js +59 -0
  615. package/build/esm/lib/unstable/kit/constants/index.d.ts +1 -0
  616. package/build/esm/lib/unstable/kit/constants/index.js +1 -0
  617. package/build/esm/lib/unstable/kit/controls/ArrayBase/ArrayBase.d.ts +8 -0
  618. package/build/esm/lib/unstable/kit/controls/ArrayBase/ArrayBase.js +42 -0
  619. package/build/esm/lib/unstable/kit/controls/ArrayBase/index.d.ts +1 -0
  620. package/build/esm/lib/unstable/kit/controls/ArrayBase/index.js +1 -0
  621. package/build/esm/lib/unstable/kit/controls/Checkbox/Checkbox.css +5 -0
  622. package/build/esm/lib/unstable/kit/controls/Checkbox/Checkbox.d.ts +7 -0
  623. package/build/esm/lib/unstable/kit/controls/Checkbox/Checkbox.js +13 -0
  624. package/build/esm/lib/unstable/kit/controls/Checkbox/index.d.ts +1 -0
  625. package/build/esm/lib/unstable/kit/controls/Checkbox/index.js +1 -0
  626. package/build/esm/lib/unstable/kit/controls/CheckboxGroup/CheckboxGroup.css +3 -0
  627. package/build/esm/lib/unstable/kit/controls/CheckboxGroup/CheckboxGroup.d.ts +10 -0
  628. package/build/esm/lib/unstable/kit/controls/CheckboxGroup/CheckboxGroup.js +34 -0
  629. package/build/esm/lib/unstable/kit/controls/CheckboxGroup/index.d.ts +1 -0
  630. package/build/esm/lib/unstable/kit/controls/CheckboxGroup/index.js +1 -0
  631. package/build/esm/lib/unstable/kit/controls/ColorPicker/ColorPicker.d.ts +6 -0
  632. package/build/esm/lib/unstable/kit/controls/ColorPicker/ColorPicker.js +21 -0
  633. package/build/esm/lib/unstable/kit/controls/ColorPicker/index.d.ts +1 -0
  634. package/build/esm/lib/unstable/kit/controls/ColorPicker/index.js +1 -0
  635. package/build/esm/lib/unstable/kit/controls/DateInput/DateInput.css +3 -0
  636. package/build/esm/lib/unstable/kit/controls/DateInput/DateInput.d.ts +9 -0
  637. package/build/esm/lib/unstable/kit/controls/DateInput/DateInput.js +53 -0
  638. package/build/esm/lib/unstable/kit/controls/DateInput/index.d.ts +1 -0
  639. package/build/esm/lib/unstable/kit/controls/DateInput/index.js +1 -0
  640. package/build/esm/lib/unstable/kit/controls/MultiSelect/MultiSelect.d.ts +8 -0
  641. package/build/esm/lib/unstable/kit/controls/MultiSelect/MultiSelect.js +32 -0
  642. package/build/esm/lib/unstable/kit/controls/MultiSelect/index.d.ts +1 -0
  643. package/build/esm/lib/unstable/kit/controls/MultiSelect/index.js +1 -0
  644. package/build/esm/lib/unstable/kit/controls/NumberBase/Number.d.ts +6 -0
  645. package/build/esm/lib/unstable/kit/controls/NumberBase/Number.js +8 -0
  646. package/build/esm/lib/unstable/kit/controls/NumberBase/index.d.ts +1 -0
  647. package/build/esm/lib/unstable/kit/controls/NumberBase/index.js +1 -0
  648. package/build/esm/lib/unstable/kit/controls/ObjectBase/ObjectBase.d.ts +8 -0
  649. package/build/esm/lib/unstable/kit/controls/ObjectBase/ObjectBase.js +29 -0
  650. package/build/esm/lib/unstable/kit/controls/ObjectBase/index.d.ts +1 -0
  651. package/build/esm/lib/unstable/kit/controls/ObjectBase/index.js +1 -0
  652. package/build/esm/lib/unstable/kit/controls/Password/Password.d.ts +6 -0
  653. package/build/esm/lib/unstable/kit/controls/Password/Password.js +8 -0
  654. package/build/esm/lib/unstable/kit/controls/Password/index.d.ts +1 -0
  655. package/build/esm/lib/unstable/kit/controls/Password/index.js +1 -0
  656. package/build/esm/lib/unstable/kit/controls/RadioGroup/RadioGroup.css +3 -0
  657. package/build/esm/lib/unstable/kit/controls/RadioGroup/RadioGroup.d.ts +9 -0
  658. package/build/esm/lib/unstable/kit/controls/RadioGroup/RadioGroup.js +22 -0
  659. package/build/esm/lib/unstable/kit/controls/RadioGroup/index.d.ts +1 -0
  660. package/build/esm/lib/unstable/kit/controls/RadioGroup/index.js +1 -0
  661. package/build/esm/lib/unstable/kit/controls/RangeSlider/RangeSlider.css +3 -0
  662. package/build/esm/lib/unstable/kit/controls/RangeSlider/RangeSlider.d.ts +8 -0
  663. package/build/esm/lib/unstable/kit/controls/RangeSlider/RangeSlider.js +31 -0
  664. package/build/esm/lib/unstable/kit/controls/RangeSlider/index.d.ts +1 -0
  665. package/build/esm/lib/unstable/kit/controls/RangeSlider/index.js +1 -0
  666. package/build/esm/lib/unstable/kit/controls/Select/Select.d.ts +9 -0
  667. package/build/esm/lib/unstable/kit/controls/Select/Select.js +29 -0
  668. package/build/esm/lib/unstable/kit/controls/Select/index.d.ts +1 -0
  669. package/build/esm/lib/unstable/kit/controls/Select/index.js +1 -0
  670. package/build/esm/lib/unstable/kit/controls/Slider/Slider.css +3 -0
  671. package/build/esm/lib/unstable/kit/controls/Slider/Slider.d.ts +7 -0
  672. package/build/esm/lib/unstable/kit/controls/Slider/Slider.js +16 -0
  673. package/build/esm/lib/unstable/kit/controls/Slider/index.d.ts +1 -0
  674. package/build/esm/lib/unstable/kit/controls/Slider/index.js +1 -0
  675. package/build/esm/lib/unstable/kit/controls/StringBase/StringBase.d.ts +6 -0
  676. package/build/esm/lib/unstable/kit/controls/StringBase/StringBase.js +8 -0
  677. package/build/esm/lib/unstable/kit/controls/StringBase/index.d.ts +1 -0
  678. package/build/esm/lib/unstable/kit/controls/StringBase/index.js +1 -0
  679. package/build/esm/lib/unstable/kit/controls/Switch/Switch.css +5 -0
  680. package/build/esm/lib/unstable/kit/controls/Switch/Switch.d.ts +7 -0
  681. package/build/esm/lib/unstable/kit/controls/Switch/Switch.js +13 -0
  682. package/build/esm/lib/unstable/kit/controls/Switch/index.d.ts +1 -0
  683. package/build/esm/lib/unstable/kit/controls/Switch/index.js +1 -0
  684. package/build/esm/lib/unstable/kit/controls/TextArea/TextArea.d.ts +6 -0
  685. package/build/esm/lib/unstable/kit/controls/TextArea/TextArea.js +8 -0
  686. package/build/esm/lib/unstable/kit/controls/TextArea/index.d.ts +1 -0
  687. package/build/esm/lib/unstable/kit/controls/TextArea/index.js +1 -0
  688. package/build/esm/lib/unstable/kit/controls/index.d.ts +16 -0
  689. package/build/esm/lib/unstable/kit/controls/index.js +16 -0
  690. package/build/esm/lib/unstable/kit/styles/functions.css +0 -0
  691. package/build/esm/lib/unstable/kit/styles/variables.css +0 -0
  692. package/build/esm/lib/unstable/kit/utils/cn.d.ts +1 -0
  693. package/build/esm/lib/unstable/kit/utils/cn.js +3 -0
  694. package/build/esm/lib/unstable/kit/utils/common.d.ts +7 -0
  695. package/build/esm/lib/unstable/kit/utils/common.js +19 -0
  696. package/build/esm/lib/unstable/kit/utils/index.d.ts +2 -0
  697. package/build/esm/lib/unstable/kit/utils/index.js +2 -0
  698. package/build/esm/lib/unstable/kit/wrappers/Row/Row.css +27 -0
  699. package/build/esm/lib/unstable/kit/wrappers/Row/Row.d.ts +7 -0
  700. package/build/esm/lib/unstable/kit/wrappers/Row/Row.js +31 -0
  701. package/build/esm/lib/unstable/kit/wrappers/Row/index.d.ts +1 -0
  702. package/build/esm/lib/unstable/kit/wrappers/Row/index.js +1 -0
  703. package/build/esm/lib/unstable/kit/wrappers/Transparent/Transparent.css +6 -0
  704. package/build/esm/lib/unstable/kit/wrappers/Transparent/Transparent.d.ts +4 -0
  705. package/build/esm/lib/unstable/kit/wrappers/Transparent/Transparent.js +12 -0
  706. package/build/esm/lib/unstable/kit/wrappers/Transparent/index.d.ts +1 -0
  707. package/build/esm/lib/unstable/kit/wrappers/Transparent/index.js +1 -0
  708. package/build/esm/lib/unstable/kit/wrappers/index.d.ts +2 -0
  709. package/build/esm/lib/unstable/kit/wrappers/index.js +2 -0
  710. package/build/esm/unstable.d.ts +4 -0
  711. package/build/esm/unstable.js +4 -0
  712. package/package.json +24 -2
@@ -0,0 +1,255 @@
1
+ import React from 'react';
2
+ import { PasswordInput, TextInput, } from '@gravity-ui/uikit';
3
+ import isNil from 'lodash/isNil';
4
+ import { useSchemaRendererMutators } from '../core';
5
+ const Component = ({ input, meta, schema, }) => {
6
+ var _a, _b;
7
+ // const {setErrors, removeErrors} = useSetErrors();
8
+ const { setSchemaMutators, removeSchemaMutators } = useSchemaRendererMutators(); // setExternalErrors
9
+ const props = {
10
+ hasClear: true,
11
+ // ...inputProps,
12
+ value: isNil(input.value) ? '' : `${input.value}`,
13
+ onBlur: input.onBlur,
14
+ onFocus: input.onFocus,
15
+ onUpdate: input.onChange,
16
+ // disabled: spec.viewSpec.disabled,
17
+ disabled: schema.readOnly,
18
+ // placeholder: spec.viewSpec.placeholder,
19
+ placeholder: `${(_a = schema.examples) === null || _a === void 0 ? void 0 : _a[0]}`,
20
+ qa: input.name,
21
+ error: meta.error,
22
+ // errorMessage: meta.error,
23
+ };
24
+ React.useEffect(() => {
25
+ if (input.name === 'qwe.test.jajaja.stringMaxLength' ||
26
+ input.name === 'qwe.test.bocembocembocem.stringMaxLength') {
27
+ // if (input.value === '1') {
28
+ // setExternalErrors?.({
29
+ // headName: 'qwe.test.jajaja',
30
+ // priorityErrors: {
31
+ // [input.name]: 'bbbbbbbbbbb priority',
32
+ // 'qwe.test.jajaja': {
33
+ // numberMaximum: 'bbbbbbbbbbb priority',
34
+ // objectPropertyNames: {
35
+ // stringEnum: 'bbbbbbbbbbb priority',
36
+ // },
37
+ // },
38
+ // 'qwe.test.jajaja.objectPropertyNames': 'bbbbbbbbbbb priority',
39
+ // },
40
+ // });
41
+ // setSchemaMutators?.({
42
+ // headName: 'qwe.test.jajaja',
43
+ // // mutators: {
44
+ // // [input.name]: {
45
+ // // title: 'Aaaaaaaa',
46
+ // // },
47
+ // // 'qwe.test.jajaja.stringPattern': {
48
+ // // title: 'OOOOOOO',
49
+ // // },
50
+ // // 'qwe.test.jajaja.numberMinimum': {
51
+ // // minimum: 0,
52
+ // // },
53
+ // // },
54
+ // mutators: [
55
+ // {
56
+ // name: input.name,
57
+ // schema: {
58
+ // title: 'QWEQWEQWEQWE',
59
+ // },
60
+ // },
61
+ // {
62
+ // name: 'qwe.test.jajaja.stringPattern',
63
+ // schema: {
64
+ // title: 'QWEQWEQWEQWE',
65
+ // },
66
+ // },
67
+ // {
68
+ // name: 'qwe.test.jajaja.numberMaximum',
69
+ // schema: {
70
+ // maximum: 10,
71
+ // },
72
+ // },
73
+ // ],
74
+ // });
75
+ // } else if (input.value === '2') {
76
+ // setExternalErrors?.({
77
+ // headName: 'qwe.test.jajaja',
78
+ // priorityErrors: {
79
+ // [input.name]: 'priorityError',
80
+ // 'qwe.test.jajaja': {
81
+ // numberMaximum: 'priorityError',
82
+ // objectPropertyNames: {
83
+ // stringEnum: 'priorityError',
84
+ // },
85
+ // },
86
+ // 'qwe.test.jajaja.objectPropertyNames': 'priorityError',
87
+ // },
88
+ // });
89
+ // setSchemaMutators?.({
90
+ // headName: 'qwe.test.jajaja',
91
+ // // mutators: {
92
+ // // [input.name]: {
93
+ // // title: 'Aaaaaaaa',
94
+ // // },
95
+ // // 'qwe.test.jajaja.stringPattern': {
96
+ // // title: 'OOOOOOO',
97
+ // // },
98
+ // // 'qwe.test.jajaja.numberMinimum': {
99
+ // // minimum: 0,
100
+ // // },
101
+ // // },
102
+ // mutators: [
103
+ // {
104
+ // name: input.name,
105
+ // schema: {
106
+ // title: 'Aaaaaaaa',
107
+ // },
108
+ // },
109
+ // {
110
+ // name: 'qwe.test.jajaja.stringPattern',
111
+ // schema: {
112
+ // title: 'OOOOOOO',
113
+ // },
114
+ // },
115
+ // {
116
+ // name: 'qwe.test.jajaja.numberMinimum',
117
+ // schema: {
118
+ // minimum: 0,
119
+ // },
120
+ // },
121
+ // ],
122
+ // });
123
+ // } else if (input.value === '3') {
124
+ // setExternalErrors?.({
125
+ // headName: 'qwe.test.jajaja',
126
+ // priorityErrors: {
127
+ // [input.name]: 'EXTERNAL_ERROR',
128
+ // },
129
+ // });
130
+ // removeSchemaMutators?.({
131
+ // headName: 'qwe.test.jajaja',
132
+ // // mutatorsToRemove: {
133
+ // // 'qwe.test.jajaja.numberMinimum': {
134
+ // // minimum: 0,
135
+ // // },
136
+ // // 'qwe.test.jajaja.stringPattern': true,
137
+ // // },
138
+ // mutatorsToRemove: [
139
+ // {
140
+ // name: input.name,
141
+ // schema: true,
142
+ // },
143
+ // {
144
+ // name: 'qwe.test.jajaja.numberMinimum',
145
+ // schema: {
146
+ // minimum: 0,
147
+ // },
148
+ // },
149
+ // {
150
+ // name: 'qwe.test.jajaja.stringPattern',
151
+ // schema: {
152
+ // title: 'OOOOOOO',
153
+ // },
154
+ // },
155
+ // ],
156
+ // });
157
+ // // removeExternalErrors?.({
158
+ // // headName: 'qwe.test.jajaja',
159
+ // // removeFunctionOrNames: [input.name],
160
+ // // });
161
+ // // removeExternalErrors?.({
162
+ // // headName: 'qwe.test.jajaja',
163
+ // // removeFunctionOrNames: (params) => ({
164
+ // // ...params,
165
+ // // priorityErrors: omit(params.priorityErrors, input.name),
166
+ // // }),
167
+ // // });
168
+ // }
169
+ if (input.value === '1') {
170
+ removeSchemaMutators === null || removeSchemaMutators === void 0 ? void 0 : removeSchemaMutators({
171
+ mutatorsToRemove: [
172
+ {
173
+ name: 'qwe.test.jajaja.stringPattern',
174
+ schema: true,
175
+ },
176
+ {
177
+ name: 'qwe.test.jajaja',
178
+ schema: {
179
+ definitions: {
180
+ jajaja: {
181
+ title: `jajaja`,
182
+ },
183
+ },
184
+ },
185
+ },
186
+ ],
187
+ });
188
+ }
189
+ else {
190
+ setSchemaMutators === null || setSchemaMutators === void 0 ? void 0 : setSchemaMutators({
191
+ // mutators: {
192
+ // [input.name]: {
193
+ // title: 'Aaaaaaaa',
194
+ // },
195
+ // 'qwe.test.jajaja.stringPattern': {
196
+ // title: 'OOOOOOO',
197
+ // },
198
+ // 'qwe.test.jajaja.numberMinimum': {
199
+ // minimum: 0,
200
+ // },
201
+ // },
202
+ mutators: [
203
+ {
204
+ name: input.name,
205
+ schema: {
206
+ title: `${input.value}`,
207
+ maxLength: `${input.value}`.length - 1,
208
+ entityParameters: {
209
+ validatorType: '',
210
+ errorMessages: {
211
+ maxLength: `${input.value}`.length - 1 + ' maxLength',
212
+ },
213
+ },
214
+ },
215
+ },
216
+ {
217
+ name: 'qwe.test.jajaja.stringPattern',
218
+ schema: {
219
+ title: `${input.value}`,
220
+ entityParameters: {
221
+ validatorType: '',
222
+ errorMessages: {
223
+ pattern: `${input.value}`.length - 1 + ' pattern',
224
+ },
225
+ },
226
+ },
227
+ },
228
+ {
229
+ name: 'qwe.test.jajaja',
230
+ schema: {
231
+ definitions: {
232
+ jajaja: {
233
+ title: `${input.value}`,
234
+ },
235
+ },
236
+ },
237
+ },
238
+ ],
239
+ });
240
+ }
241
+ // setExternalErrors?.({
242
+ // headName: 'qwe.test.jajaja',
243
+ // priorityErrors: {
244
+ // 'qwe.test.jajaja.stringEnum': `${input.value}`,
245
+ // },
246
+ // });
247
+ }
248
+ }, [input.value]);
249
+ // if (spec.viewSpec.type === 'password') {
250
+ if (((_b = schema.entityParameters) === null || _b === void 0 ? void 0 : _b.viewType) === 'password') {
251
+ return React.createElement(PasswordInput, Object.assign({}, props, { autoComplete: "new-password" }));
252
+ }
253
+ return React.createElement(TextInput, Object.assign({}, props, { type: "text" }));
254
+ };
255
+ export const Text = React.memo(Component);
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export interface ArrayRemoveButtonProps {
3
+ name: string;
4
+ }
5
+ export declare const ArrayRemoveButton: React.FC<ArrayRemoveButtonProps>;
@@ -0,0 +1,24 @@
1
+ import React from 'react';
2
+ import { TrashBin } from '@gravity-ui/icons';
3
+ import { Button, Icon } from '@gravity-ui/uikit';
4
+ import { useForm } from 'react-final-form';
5
+ import { getArrayItemIndex, getArrayItemParentName, isArrayItem, isTupleItem } from '../../utils';
6
+ export const ArrayRemoveButton = ({ name }) => {
7
+ const form = useForm();
8
+ const arrayItem = isArrayItem(name);
9
+ const tupleItem = isTupleItem(name, form);
10
+ const removeItem = React.useCallback(() => {
11
+ var _a;
12
+ const parentName = getArrayItemParentName(name);
13
+ const parentValue = (_a = form.getFieldState(parentName)) === null || _a === void 0 ? void 0 : _a.value;
14
+ const index = Number(getArrayItemIndex(name));
15
+ if (Array.isArray(parentValue)) {
16
+ form.change(parentName, parentValue.filter((_, i) => i !== index));
17
+ }
18
+ }, [form, name]);
19
+ if (arrayItem && !tupleItem) {
20
+ return (React.createElement(Button, { view: "flat-secondary", onClick: removeItem, qa: `${name}-remove-item` },
21
+ React.createElement(Icon, { data: TrashBin, size: 16 })));
22
+ }
23
+ return null;
24
+ };
@@ -0,0 +1 @@
1
+ export { ArrayRemoveButton, type ArrayRemoveButtonProps } from './ArrayRemoveButton';
@@ -0,0 +1 @@
1
+ export { ArrayRemoveButton } from './ArrayRemoveButton';
@@ -0,0 +1,33 @@
1
+ .sr-control-error__children {
2
+ width: 100%;
3
+ }
4
+ .sr-control-error__children_errors .g-control-label:not(.g-control-label_disabled) .g-checkbox__indicator:hover::before {
5
+ border: 1px solid var(--g-color-text-danger);
6
+ }
7
+ .sr-control-error__children_errors .g-control-label:not(.g-control-label_disabled) .g-checkbox__indicator::before {
8
+ border: 1px solid var(--g-color-text-danger);
9
+ }
10
+ .sr-control-error__children_errors .g-text-input:not(.g-text-input_disabled) .g-text-input__content {
11
+ border-color: var(--g-color-text-danger);
12
+ }
13
+ .sr-control-error__children_errors .g-text-input:not(.g-text-input_disabled) .g-text-input__content:hover {
14
+ border-color: var(--g-color-text-danger);
15
+ }
16
+ .sr-control-error__children_errors .g-text-area__content {
17
+ border-color: var(--g-color-text-danger);
18
+ }
19
+ .sr-control-error__children_errors .g-text-area__content:hover {
20
+ border-color: var(--g-color-text-danger);
21
+ }
22
+ .sr-control-error__children_errors .g-select-control:not(.g-select-control_disabled) .g-select-control__button:hover::before {
23
+ border: 1px solid var(--g-color-text-danger) !important;
24
+ }
25
+ .sr-control-error__children_errors .g-select-control:not(.g-select-control_disabled) .g-select-control__button::before {
26
+ border: 1px solid var(--g-color-text-danger) !important;
27
+ }
28
+ .sr-control-error__children_errors .g-segmented-radio-group:not([aria-disabled=true]) .g-segmented-radio-group__option_checked:hover::after {
29
+ border: 1px solid var(--g-color-text-danger);
30
+ }
31
+ .sr-control-error__children_errors .g-segmented-radio-group:not([aria-disabled=true]) .g-segmented-radio-group__option_checked::after {
32
+ border: 1px solid var(--g-color-text-danger);
33
+ }
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import './ControlError.css';
3
+ export interface ControlErrorProps {
4
+ className?: string;
5
+ errorMessage?: string;
6
+ validationState?: 'invalid';
7
+ children: React.ReactNode;
8
+ }
9
+ export declare const ControlError: React.FC<ControlErrorProps>;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { Flex, Text } from '@gravity-ui/uikit';
3
+ import { block } from '../../utils';
4
+ import './ControlError.css';
5
+ const b = block('control-error');
6
+ export const ControlError = ({ className, errorMessage, validationState, children, }) => {
7
+ const error = validationState === 'invalid' && errorMessage ? (React.createElement(Text, { color: "danger" }, errorMessage)) : null;
8
+ return (React.createElement(Flex, { className: b(null, className), width: "100%", direction: "column", alignItems: "flex-start" },
9
+ React.createElement("div", { className: b('children', { errors: Boolean(error) }) }, children),
10
+ error));
11
+ };
@@ -0,0 +1 @@
1
+ export { ControlError, type ControlErrorProps } from './ControlError';
@@ -0,0 +1 @@
1
+ export { ControlError } from './ControlError';
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { type TextProps } from '@gravity-ui/uikit';
3
+ export interface HTMLContentProps extends TextProps {
4
+ html: string;
5
+ }
6
+ export declare const HTMLContent: React.FC<HTMLContentProps>;
@@ -0,0 +1,7 @@
1
+ import { __rest } from "tslib";
2
+ import React from 'react';
3
+ import { Text } from '@gravity-ui/uikit';
4
+ export const HTMLContent = (_a) => {
5
+ var { html } = _a, restProps = __rest(_a, ["html"]);
6
+ return React.createElement(Text, Object.assign({}, restProps, { dangerouslySetInnerHTML: { __html: html } }));
7
+ };
@@ -0,0 +1 @@
1
+ export { HTMLContent, type HTMLContentProps } from './HTMLContent';
@@ -0,0 +1 @@
1
+ export { HTMLContent } from './HTMLContent';
@@ -0,0 +1,3 @@
1
+ export { ArrayRemoveButton, type ArrayRemoveButtonProps } from './ArrayRemoveButton';
2
+ export { ControlError, type ControlErrorProps } from './ControlError';
3
+ export { HTMLContent, type HTMLContentProps } from './HTMLContent';
@@ -0,0 +1,3 @@
1
+ export { ArrayRemoveButton } from './ArrayRemoveButton';
2
+ export { ControlError } from './ControlError';
3
+ export { HTMLContent } from './HTMLContent';
@@ -0,0 +1,95 @@
1
+ import type { AsyncValidator, SchemaRendererConfig, SyncValidator } from '../core/types';
2
+ import type { JsonSchemaArray, JsonSchemaBoolean, JsonSchemaNumber, JsonSchemaObject, JsonSchemaString } from '../core/types/schema';
3
+ export declare const untypedConfig: {
4
+ readonly any: {
5
+ readonly controls: {
6
+ readonly baseAny: {
7
+ readonly Component: import("../core/types").Control<import("../core/types").JsonSchemaAny<any>>;
8
+ };
9
+ };
10
+ readonly views: {};
11
+ readonly wrappers: {};
12
+ readonly validators: {};
13
+ };
14
+ readonly array: {
15
+ readonly controls: {
16
+ readonly selectArray: {
17
+ readonly Component: import("../core/types").Control<JsonSchemaArray<any>>;
18
+ };
19
+ readonly baseArray: {
20
+ readonly Component: import("../core/types").Control<JsonSchemaArray<any>>;
21
+ };
22
+ };
23
+ readonly views: {};
24
+ readonly wrappers: {
25
+ readonly accordeonArray: <Schema extends import("../core/types").JsonSchema>({ schema, input, meta, children, wrapperProps, }: import("../core/types").WrapperProps<Schema>) => React.ReactNode;
26
+ readonly rowArray: import("react").MemoExoticComponent<(<Schema extends import("../core/types").JsonSchema>(props: import("../core/types").WrapperProps<Schema, {
27
+ qtest: boolean;
28
+ qwa?: string;
29
+ }>) => import("react").JSX.Element)>;
30
+ };
31
+ readonly validators: {
32
+ readonly baseArray: SyncValidator<JsonSchemaArray>;
33
+ };
34
+ };
35
+ readonly boolean: {
36
+ readonly controls: {};
37
+ readonly views: {};
38
+ readonly wrappers: {};
39
+ readonly validators: {
40
+ readonly baseBoolean: SyncValidator<JsonSchemaBoolean>;
41
+ };
42
+ };
43
+ readonly number: {
44
+ readonly controls: {
45
+ readonly baseNumber: {
46
+ readonly Component: import("react").MemoExoticComponent<(<T extends import("../core/types").ControlProps<JsonSchemaNumber, import("./Text").TextProps> | import("../core/types").ControlProps<JsonSchemaString, import("./Text").TextProps>>({ input, meta, schema, }: T) => import("react").JSX.Element)>;
47
+ };
48
+ };
49
+ readonly views: {};
50
+ readonly wrappers: {
51
+ readonly rowNumber: import("react").MemoExoticComponent<(<Schema extends import("../core/types").JsonSchema>(props: import("../core/types").WrapperProps<Schema, {
52
+ qtest: boolean;
53
+ qwa?: string;
54
+ }>) => import("react").JSX.Element)>;
55
+ };
56
+ readonly validators: {
57
+ readonly baseNumber: () => boolean;
58
+ readonly asyncNumber: AsyncValidator<JsonSchemaNumber>;
59
+ };
60
+ };
61
+ readonly object: {
62
+ readonly controls: {
63
+ readonly baseObject: {
64
+ readonly Component: import("react").FC<import("./ObjectBase").ObjectBaseProps>;
65
+ readonly independent: true;
66
+ };
67
+ };
68
+ readonly views: {};
69
+ readonly wrappers: {
70
+ readonly accordeonObject: <Schema extends import("../core/types").JsonSchema>({ schema, input, meta, children, wrapperProps, }: import("../core/types").WrapperProps<Schema>) => React.ReactNode;
71
+ };
72
+ readonly validators: {
73
+ readonly baseObject: SyncValidator<JsonSchemaObject>;
74
+ };
75
+ };
76
+ readonly string: {
77
+ readonly controls: {
78
+ readonly baseString: {
79
+ readonly Component: import("react").MemoExoticComponent<(<T extends import("../core/types").ControlProps<JsonSchemaNumber, import("./Text").TextProps> | import("../core/types").ControlProps<JsonSchemaString, import("./Text").TextProps>>({ input, meta, schema, }: T) => import("react").JSX.Element)>;
80
+ };
81
+ };
82
+ readonly views: {};
83
+ readonly wrappers: {
84
+ readonly rowString: import("react").MemoExoticComponent<(<Schema extends import("../core/types").JsonSchema>(props: import("../core/types").WrapperProps<Schema, {
85
+ qtest: boolean;
86
+ qwa?: string;
87
+ }>) => import("react").JSX.Element)>;
88
+ };
89
+ readonly validators: {
90
+ readonly baseString: SyncValidator<JsonSchemaString>;
91
+ readonly cccString: SyncValidator<JsonSchemaString>;
92
+ };
93
+ };
94
+ };
95
+ export declare const config: SchemaRendererConfig;
@@ -0,0 +1,65 @@
1
+ import { EntityType } from '../core/constants';
2
+ import { Accordeon } from './Accordeon';
3
+ import { AnyInput } from './Any';
4
+ import { ArrayBase } from './ArrayBase';
5
+ import { MultiSelect } from './MultiSelect';
6
+ import { ObjectBase } from './ObjectBase';
7
+ import { Row } from './Row';
8
+ import { Text } from './Text';
9
+ export const untypedConfig = {
10
+ [EntityType.Any]: {
11
+ controls: {
12
+ baseAny: { Component: AnyInput },
13
+ },
14
+ views: {},
15
+ wrappers: {},
16
+ validators: {},
17
+ },
18
+ [EntityType.Array]: {
19
+ controls: { selectArray: { Component: MultiSelect }, baseArray: { Component: ArrayBase } },
20
+ views: {},
21
+ wrappers: { accordeonArray: Accordeon, rowArray: Row },
22
+ validators: { baseArray: (() => false) },
23
+ },
24
+ [EntityType.Boolean]: {
25
+ controls: {},
26
+ views: {},
27
+ wrappers: {},
28
+ validators: { baseBoolean: (() => false) },
29
+ },
30
+ [EntityType.Number]: {
31
+ controls: { baseNumber: { Component: Text } },
32
+ views: {},
33
+ wrappers: { rowNumber: Row },
34
+ validators: {
35
+ baseNumber: () => false,
36
+ asyncNumber: (() => new Promise((resolve) => {
37
+ setTimeout(() => {
38
+ resolve('bocembocembocem');
39
+ }, 2000);
40
+ })),
41
+ },
42
+ },
43
+ [EntityType.Object]: {
44
+ controls: { baseObject: { Component: ObjectBase, independent: true } },
45
+ views: {},
46
+ wrappers: { accordeonObject: Accordeon },
47
+ validators: { baseObject: (() => false) },
48
+ },
49
+ [EntityType.String]: {
50
+ controls: { baseString: { Component: Text } },
51
+ views: {},
52
+ wrappers: { rowString: Row },
53
+ validators: {
54
+ baseString: (() => 'jajaja'),
55
+ // async: (() =>
56
+ // new Promise((resolve) => {
57
+ // setTimeout(() => {
58
+ // resolve('bocembocembocem');
59
+ // }, 2000);
60
+ // })) as AsyncValidator<JsonSchemaString>,
61
+ cccString: (() => 'ccc'),
62
+ },
63
+ },
64
+ };
65
+ export const config = untypedConfig;