@steroidsjs/core 3.0.92 → 3.0.94

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 (205) hide show
  1. package/actions/auth.js +1 -0
  2. package/actions/list.js +12 -10
  3. package/actions/notifications.d.ts +1 -1
  4. package/actions/notifications.js +5 -3
  5. package/components/ClientStorageComponent.js +1 -1
  6. package/components/HttpComponent.js +3 -3
  7. package/components/JwtHttpComponent.js +2 -2
  8. package/components/LocaleComponent.js +4 -3
  9. package/components/MetricsComponent.js +1 -1
  10. package/components/ResourceComponent.d.ts +2 -0
  11. package/components/ResourceComponent.js +9 -3
  12. package/components/SocialComponent.js +3 -1
  13. package/components/StoreComponent.d.ts +33 -21
  14. package/components/StoreComponent.js +5 -10
  15. package/components/UiComponent.js +1 -1
  16. package/components/social/GitlabProvider.js +3 -1
  17. package/docs-autogen-result.json +987 -81
  18. package/en.json +18 -6
  19. package/hooks/index.d.ts +5 -5
  20. package/hooks/index.js +10 -10
  21. package/hooks/useAddressBar.js +13 -9
  22. package/hooks/useApplication.d.ts +9 -9
  23. package/hooks/useApplication.js +17 -15
  24. package/hooks/useDataProvider.js +13 -7
  25. package/hooks/useDataSelect.js +4 -4
  26. package/hooks/useFetch.d.ts +12 -7
  27. package/hooks/useFetch.js +7 -5
  28. package/hooks/useFile.js +12 -7
  29. package/hooks/useLayout.js +25 -23
  30. package/hooks/useList.d.ts +4 -4
  31. package/hooks/useList.js +29 -23
  32. package/hooks/useListField.js +1 -1
  33. package/hooks/useSaveCursorPosition.js +1 -1
  34. package/hooks/useTree.d.ts +1 -1
  35. package/hooks/useTree.js +7 -6
  36. package/hooks/useUniqueId.js +1 -1
  37. package/index.d.ts +49 -0
  38. package/package.json +4 -4
  39. package/providers/ComponentsProvider.d.ts +5 -5
  40. package/providers/SsrProvider.d.ts +4 -0
  41. package/providers/SsrProvider.js +7 -5
  42. package/providers/index.d.ts +1 -1
  43. package/providers/index.js +2 -2
  44. package/reducers/auth.js +1 -0
  45. package/reducers/fields.js +2 -1
  46. package/reducers/form.js +4 -3
  47. package/reducers/index.d.ts +1 -1
  48. package/reducers/index.js +2 -2
  49. package/reducers/list.js +4 -3
  50. package/reducers/modal.js +2 -1
  51. package/reducers/notifications.js +2 -1
  52. package/reducers/router.js +13 -7
  53. package/ui/content/Accordion/index.d.ts +1 -1
  54. package/ui/content/Accordion/index.js +2 -2
  55. package/ui/content/Alert/Alert.d.ts +1 -1
  56. package/ui/content/Badge/Badge.d.ts +1 -1
  57. package/ui/content/Calendar/Calendar.js +2 -2
  58. package/ui/content/CalendarSystem/CalendarSystem.d.ts +2 -2
  59. package/ui/content/CalendarSystem/CalendarSystem.js +2 -2
  60. package/ui/content/CalendarSystem/hooks/useCalendarControls.js +5 -3
  61. package/ui/content/CalendarSystem/hooks/useCalendarSystem.js +11 -11
  62. package/ui/content/CalendarSystem/hooks/useCalendarSystemEventGroupModals.d.ts +1 -1
  63. package/ui/content/CalendarSystem/hooks/useCalendarSystemEventGroupModals.js +2 -2
  64. package/ui/content/CalendarSystem/hooks/useCalendarSystemModals.js +6 -4
  65. package/ui/content/CalendarSystem/hooks/useDisplayDate.js +1 -1
  66. package/ui/content/CalendarSystem/hooks/useEventsFromDate.js +1 -1
  67. package/ui/content/CalendarSystem/utils/utils.js +6 -4
  68. package/ui/content/Card/Card.d.ts +1 -1
  69. package/ui/content/Chat/Chat.d.ts +1 -1
  70. package/ui/content/Chat/Chat.js +1 -1
  71. package/ui/content/Chat/hooks/useChat.js +5 -5
  72. package/ui/content/Chat/utils/addNewMessageIntoGroupedMessages.js +1 -1
  73. package/ui/content/Chat/utils/calculateMessageTimeAgo.js +6 -2
  74. package/ui/content/Chat/utils/getMessagesGroupedByDate.d.ts +1 -1
  75. package/ui/content/Chat/utils/getMessagesGroupedByDate.js +1 -1
  76. package/ui/content/Chat/utils/index.d.ts +1 -1
  77. package/ui/content/Chat/utils/index.js +3 -3
  78. package/ui/content/CopyToClipboard/CopyToClipboard.js +1 -1
  79. package/ui/content/Dashboard/Dashboard.js +1 -1
  80. package/ui/content/Detail/Detail.js +5 -3
  81. package/ui/content/DropDown/DropDown.js +1 -1
  82. package/ui/content/Kanban/Kanban.d.ts +3 -3
  83. package/ui/content/Kanban/Kanban.js +4 -4
  84. package/ui/content/Kanban/enums/KanbanPrioritiesEnum.d.ts +1 -1
  85. package/ui/content/Kanban/enums/KanbanPrioritiesEnum.js +6 -2
  86. package/ui/content/Kanban/enums/index.d.ts +1 -1
  87. package/ui/content/Kanban/enums/index.js +2 -2
  88. package/ui/content/Kanban/hooks/useKanban.js +2 -2
  89. package/ui/content/Kanban/reducers/kanban.js +1 -0
  90. package/ui/content/Slider/Slider.d.ts +1 -1
  91. package/ui/content/Slider/Slider.js +0 -1
  92. package/ui/content/index.d.ts +7 -7
  93. package/ui/content/index.js +15 -15
  94. package/ui/crud/Crud/Crud.js +4 -4
  95. package/ui/crud/Crud/CrudContent.d.ts +2 -2
  96. package/ui/crud/Crud/CrudContent.js +11 -5
  97. package/ui/crud/Crud/CrudModal.js +1 -1
  98. package/ui/crud/Crud/utils.js +5 -3
  99. package/ui/crud/index.d.ts +1 -1
  100. package/ui/form/AutoCompleteField/AutoCompleteField.js +2 -2
  101. package/ui/form/BlankField/BlankField.js +1 -1
  102. package/ui/form/Button/Button.d.ts +2 -2
  103. package/ui/form/Button/Button.js +4 -2
  104. package/ui/form/Button/index.js +1 -0
  105. package/ui/form/CheckboxField/CheckboxField.js +5 -3
  106. package/ui/form/CheckboxListField/CheckboxListField.d.ts +1 -1
  107. package/ui/form/CheckboxListField/CheckboxListField.js +1 -1
  108. package/ui/form/CheckboxTreeField/CheckboxTreeField.d.ts +3 -3
  109. package/ui/form/CheckboxTreeField/CheckboxTreeField.js +3 -3
  110. package/ui/form/DateField/DateField.d.ts +2 -2
  111. package/ui/form/DateField/DateField.js +7 -7
  112. package/ui/form/DateField/useDateInputState.js +1 -1
  113. package/ui/form/DateField/useDateRange.js +3 -3
  114. package/ui/form/DateField/useDateTime.js +1 -1
  115. package/ui/form/DateRangeField/DateRangeField.d.ts +2 -2
  116. package/ui/form/DateRangeField/DateRangeField.js +15 -13
  117. package/ui/form/DateTimeField/DateTimeField.d.ts +1 -1
  118. package/ui/form/DateTimeField/DateTimeField.js +9 -9
  119. package/ui/form/DateTimeField/utils.js +12 -3
  120. package/ui/form/DateTimeRangeField/DateTimeRangeField.d.ts +1 -1
  121. package/ui/form/DateTimeRangeField/DateTimeRangeField.js +15 -13
  122. package/ui/form/DropDownField/DropDownField.d.ts +3 -3
  123. package/ui/form/DropDownField/DropDownField.js +5 -5
  124. package/ui/form/EmailField/EmailField.d.ts +1 -1
  125. package/ui/form/EmailField/EmailField.js +2 -2
  126. package/ui/form/Field/Field.js +3 -3
  127. package/ui/form/Field/fieldWrapper.js +6 -6
  128. package/ui/form/FieldLayout/FieldLayout.js +1 -1
  129. package/ui/form/FieldList/FieldList.js +15 -11
  130. package/ui/form/FieldSet/FieldSet.js +5 -3
  131. package/ui/form/FileField/FileField.d.ts +1 -1
  132. package/ui/form/FileField/FileField.js +2 -2
  133. package/ui/form/Form/Form.d.ts +2 -2
  134. package/ui/form/Form/Form.js +28 -25
  135. package/ui/form/HtmlField/HtmlField.js +2 -2
  136. package/ui/form/ImageField/ImageField.d.ts +2 -2
  137. package/ui/form/ImageField/ImageField.js +4 -4
  138. package/ui/form/InputField/InputField.d.ts +2 -2
  139. package/ui/form/InputField/InputField.js +11 -11
  140. package/ui/form/NavField/NavField.d.ts +2 -2
  141. package/ui/form/NavField/NavField.js +3 -3
  142. package/ui/form/NumberField/NumberField.d.ts +2 -2
  143. package/ui/form/NumberField/NumberField.js +5 -4
  144. package/ui/form/NumberField/hooks/useInputTypeNumber.js +2 -2
  145. package/ui/form/PasswordField/PasswordField.d.ts +1 -1
  146. package/ui/form/PasswordField/PasswordField.js +3 -1
  147. package/ui/form/RadioField/RadioField.d.ts +4 -1
  148. package/ui/form/RadioField/RadioField.js +0 -5
  149. package/ui/form/RadioListField/RadioListField.d.ts +5 -1
  150. package/ui/form/RadioListField/RadioListField.js +0 -4
  151. package/ui/form/RateField/RateField.js +2 -2
  152. package/ui/form/SliderField/SliderField.d.ts +1 -1
  153. package/ui/form/SliderField/SliderField.js +2 -2
  154. package/ui/form/SwitcherField/SwitcherField.d.ts +11 -1
  155. package/ui/form/TextField/TextField.js +1 -1
  156. package/ui/form/TimeField/TimeField.js +8 -8
  157. package/ui/form/TimeField/utils.js +9 -2
  158. package/ui/form/TimeRangeField/TimeRangeField.js +11 -11
  159. package/ui/form/WizardForm/WizardForm.d.ts +1 -1
  160. package/ui/form/WizardForm/WizardForm.js +4 -4
  161. package/ui/form/WizardForm/utils.d.ts +1 -1
  162. package/ui/form/WizardForm/utils.js +3 -3
  163. package/ui/form/index.d.ts +2 -2
  164. package/ui/form/index.js +4 -4
  165. package/ui/form/validate.js +5 -5
  166. package/ui/format/EnumFormatter/EnumFormatter.js +3 -1
  167. package/ui/format/Format/Format.js +1 -1
  168. package/ui/layout/Header/Header.d.ts +3 -3
  169. package/ui/layout/Loader/Loader.d.ts +1 -1
  170. package/ui/layout/Notifications/Notifications.d.ts +1 -1
  171. package/ui/layout/Notifications/Notifications.js +3 -3
  172. package/ui/layout/ProgressBar/ProgressBar.js +1 -1
  173. package/ui/layout/Sidebar/Sidebar.d.ts +1 -1
  174. package/ui/layout/Tooltip/Tooltip.js +1 -1
  175. package/ui/layout/index.d.ts +1 -1
  176. package/ui/layout/index.js +2 -2
  177. package/ui/list/CheckboxColumn/CheckboxColumn.js +1 -1
  178. package/ui/list/Empty/Empty.js +6 -2
  179. package/ui/list/Grid/Grid.d.ts +1 -1
  180. package/ui/list/Grid/Grid.js +6 -4
  181. package/ui/list/InfiniteScroll/InfiniteScroll.js +5 -3
  182. package/ui/list/LayoutNames/LayoutNames.d.ts +2 -2
  183. package/ui/list/LayoutNames/LayoutNames.js +5 -3
  184. package/ui/list/Pagination/Pagination.js +4 -2
  185. package/ui/list/PaginationSize/PaginationSize.d.ts +1 -1
  186. package/ui/list/PaginationSize/PaginationSize.js +5 -3
  187. package/ui/list/SearchForm/SearchForm.js +1 -1
  188. package/ui/list/Steps/Steps.js +1 -1
  189. package/ui/list/TreeTable/TreeTable.d.ts +1 -1
  190. package/ui/list/TreeTable/TreeTable.js +9 -7
  191. package/ui/modal/ModalPortal/ModalPortal.js +2 -2
  192. package/ui/modal/TwoFactorModal/TwoFactorModal.js +3 -1
  193. package/ui/nav/ButtonGroup/ButtonGroup.d.ts +1 -1
  194. package/ui/nav/Controls/Controls.d.ts +1 -1
  195. package/ui/nav/Nav/Nav.js +2 -2
  196. package/ui/nav/Router/Router.js +10 -8
  197. package/ui/nav/Router/helpers.js +1 -1
  198. package/ui/nav/index.d.ts +3 -3
  199. package/ui/nav/index.js +6 -6
  200. package/ui/typography/Text/Text.d.ts +1 -1
  201. package/ui/typography/Title/Title.d.ts +1 -1
  202. package/utils/calculateComponentAbsolutePosition.js +9 -3
  203. package/utils/calendar.js +2 -1
  204. package/utils/data.js +27 -17
  205. package/utils/form.js +10 -8
@@ -1641,12 +1641,20 @@
1641
1641
  "defaultProps": null,
1642
1642
  "extends": [],
1643
1643
  "properties": [
1644
+ {
1645
+ "name": "dispatch",
1646
+ "decorators": [],
1647
+ "description": "Метод для dispatch",
1648
+ "required": true,
1649
+ "type": "Dispatch",
1650
+ "example": null
1651
+ },
1644
1652
  {
1645
1653
  "name": "reducers",
1646
1654
  "decorators": [],
1647
1655
  "description": "Редьюсеры",
1648
1656
  "required": true,
1649
- "type": "any",
1657
+ "type": "CreateRootReducer",
1650
1658
  "example": null
1651
1659
  },
1652
1660
  {
@@ -1654,7 +1662,7 @@
1654
1662
  "decorators": [],
1655
1663
  "description": "Хранилище",
1656
1664
  "required": true,
1657
- "type": "any",
1665
+ "type": "Store",
1658
1666
  "example": null
1659
1667
  }
1660
1668
  ],
@@ -1686,24 +1694,6 @@
1686
1694
  "example": null,
1687
1695
  "parameters": []
1688
1696
  },
1689
- {
1690
- "name": "dispatch",
1691
- "decorators": [],
1692
- "description": "Метод для dispatch",
1693
- "required": false,
1694
- "type": "void",
1695
- "example": null,
1696
- "parameters": [
1697
- {
1698
- "name": "action",
1699
- "decorators": [],
1700
- "description": "Экшен для изменения состояния.\n",
1701
- "required": true,
1702
- "type": "any",
1703
- "example": null
1704
- }
1705
- ]
1706
- },
1707
1697
  {
1708
1698
  "name": "errorHandler",
1709
1699
  "decorators": [],
@@ -1735,7 +1725,7 @@
1735
1725
  "decorators": [],
1736
1726
  "description": "Получение состояния",
1737
1727
  "required": false,
1738
- "type": "void",
1728
+ "type": "Record",
1739
1729
  "example": null,
1740
1730
  "parameters": []
1741
1731
  },
@@ -1746,7 +1736,16 @@
1746
1736
  "required": false,
1747
1737
  "type": "void",
1748
1738
  "example": null,
1749
- "parameters": []
1739
+ "parameters": [
1740
+ {
1741
+ "name": "config",
1742
+ "decorators": [],
1743
+ "description": "",
1744
+ "required": true,
1745
+ "type": "IStoreComponentConfig",
1746
+ "example": null
1747
+ }
1748
+ ]
1750
1749
  },
1751
1750
  {
1752
1751
  "name": "initStore",
@@ -1755,14 +1754,23 @@
1755
1754
  "required": false,
1756
1755
  "type": "void",
1757
1756
  "example": null,
1758
- "parameters": []
1757
+ "parameters": [
1758
+ {
1759
+ "name": "config",
1760
+ "decorators": [],
1761
+ "description": "",
1762
+ "required": true,
1763
+ "type": "IStoreComponentConfig",
1764
+ "example": null
1765
+ }
1766
+ ]
1759
1767
  },
1760
1768
  {
1761
1769
  "name": "subscribe",
1762
1770
  "decorators": [],
1763
1771
  "description": "Подписка",
1764
1772
  "required": false,
1765
- "type": "void",
1773
+ "type": "Unsubscribe",
1766
1774
  "example": null,
1767
1775
  "parameters": [
1768
1776
  {
@@ -1770,7 +1778,7 @@
1770
1778
  "decorators": [],
1771
1779
  "description": "Обработчик изменения состояния.\n",
1772
1780
  "required": true,
1773
- "type": "any",
1781
+ "type": "{}",
1774
1782
  "example": null
1775
1783
  }
1776
1784
  ]
@@ -3555,6 +3563,14 @@
3555
3563
  "type": "string | number",
3556
3564
  "example": null
3557
3565
  },
3566
+ {
3567
+ "name": "isCritical",
3568
+ "decorators": [],
3569
+ "description": "Применяется для ssr. Если fetch критический — ssr вернет страницу со статус кодом ошибки.",
3570
+ "required": false,
3571
+ "type": "boolean",
3572
+ "example": null
3573
+ },
3558
3574
  {
3559
3575
  "name": "method",
3560
3576
  "decorators": [],
@@ -3639,7 +3655,7 @@
3639
3655
  "decorators": [],
3640
3656
  "description": "",
3641
3657
  "required": false,
3642
- "type": "T | {providerData: {type: string, value: string}}",
3658
+ "type": "T | {error: string, errors: Record, message: string, statusCode: number}",
3643
3659
  "example": null
3644
3660
  },
3645
3661
  {
@@ -5499,6 +5515,17 @@
5499
5515
  "properties": [],
5500
5516
  "methods": []
5501
5517
  },
5518
+ "IPreloadedErrors": {
5519
+ "name": "IPreloadedErrors",
5520
+ "moduleName": "providers/SsrProvider",
5521
+ "title": "",
5522
+ "description": "",
5523
+ "tags": {},
5524
+ "defaultProps": null,
5525
+ "extends": [],
5526
+ "properties": [],
5527
+ "methods": []
5528
+ },
5502
5529
  "ISsr": {
5503
5530
  "name": "ISsr",
5504
5531
  "moduleName": "providers/SsrProvider",
@@ -5524,6 +5551,14 @@
5524
5551
  "type": "IPreloadedData",
5525
5552
  "example": null
5526
5553
  },
5554
+ {
5555
+ "name": "preloadedErrors",
5556
+ "decorators": [],
5557
+ "description": "",
5558
+ "required": false,
5559
+ "type": "IPreloadedErrors",
5560
+ "example": null
5561
+ },
5527
5562
  {
5528
5563
  "name": "staticContext",
5529
5564
  "decorators": [],
@@ -5565,6 +5600,15 @@
5565
5600
  "example": null,
5566
5601
  "defaultValue": null
5567
5602
  },
5603
+ {
5604
+ "name": "preloadedErrors",
5605
+ "decorators": [],
5606
+ "description": "",
5607
+ "required": false,
5608
+ "type": "IPreloadedErrors",
5609
+ "example": null,
5610
+ "defaultValue": null
5611
+ },
5568
5612
  {
5569
5613
  "name": "staticContext",
5570
5614
  "decorators": [],
@@ -27999,73 +28043,275 @@
27999
28043
  }
28000
28044
  ]
28001
28045
  },
28002
- "IRateFieldItem": {
28003
- "name": "IRateFieldItem",
28004
- "moduleName": "ui/form/RateField/RateField",
28005
- "title": "",
28006
- "description": "",
28046
+ "IRadioFieldProps": {
28047
+ "name": "IRadioFieldProps",
28048
+ "moduleName": "ui/form/RadioField/RadioField",
28049
+ "title": "RadioField",
28050
+ "description": "\nКомпонент RadioField представляет собой элемент выбора типа \"radio\". Он позволяет пользователю выбрать один вариант из нескольких предложенных.\n",
28007
28051
  "tags": {},
28008
28052
  "defaultProps": null,
28009
- "extends": [],
28053
+ "extends": [
28054
+ "ICheckboxFieldProps"
28055
+ ],
28010
28056
  "properties": [
28011
28057
  {
28012
- "name": "id",
28058
+ "name": "attribute",
28059
+ "decorators": [],
28060
+ "description": "Аттрибут (название) поля в форме",
28061
+ "required": false,
28062
+ "type": "string",
28063
+ "example": "'isVisible'",
28064
+ "defaultValue": null
28065
+ },
28066
+ {
28067
+ "name": "checked",
28068
+ "decorators": [],
28069
+ "description": "Флаг определяющий включен ли элемент",
28070
+ "required": false,
28071
+ "type": "boolean",
28072
+ "example": "true",
28073
+ "defaultValue": null
28074
+ },
28075
+ {
28076
+ "name": "className",
28077
+ "decorators": [],
28078
+ "description": "Дополнительный CSS-класс для элемента отображения",
28079
+ "required": false,
28080
+ "type": "string",
28081
+ "example": null,
28082
+ "defaultValue": null
28083
+ },
28084
+ {
28085
+ "name": "color",
28086
+ "decorators": [],
28087
+ "description": "Пользовательский цвет для чекбокса",
28088
+ "required": false,
28089
+ "type": "string",
28090
+ "example": null,
28091
+ "defaultValue": null
28092
+ },
28093
+ {
28094
+ "name": "date",
28013
28095
  "decorators": [],
28014
28096
  "description": "",
28015
- "required": true,
28016
- "type": "number",
28017
- "example": null
28097
+ "required": false,
28098
+ "type": "any",
28099
+ "example": null,
28100
+ "defaultValue": null
28101
+ },
28102
+ {
28103
+ "name": "disabled",
28104
+ "decorators": [],
28105
+ "description": "Переводит элемент в состояние \"не активен\"",
28106
+ "required": false,
28107
+ "type": "boolean",
28108
+ "example": "true",
28109
+ "defaultValue": null
28110
+ },
28111
+ {
28112
+ "name": "errors",
28113
+ "decorators": [],
28114
+ "description": "Ошибки в поле",
28115
+ "required": false,
28116
+ "type": "string[]",
28117
+ "example": "['Error text']",
28118
+ "defaultValue": null
28119
+ },
28120
+ {
28121
+ "name": "fieldLayoutClassName",
28122
+ "decorators": [],
28123
+ "description": "Дополнительный CSS-класс для обертки FieldLayout",
28124
+ "required": false,
28125
+ "type": "string",
28126
+ "example": null,
28127
+ "defaultValue": null
28128
+ },
28129
+ {
28130
+ "name": "hint",
28131
+ "decorators": [],
28132
+ "description": "Подсказка, которая отобразится рядом с полем",
28133
+ "required": false,
28134
+ "type": "string",
28135
+ "example": "'Only english letters'",
28136
+ "defaultValue": null
28137
+ },
28138
+ {
28139
+ "name": "id",
28140
+ "decorators": [],
28141
+ "description": "Input ID для связи поля с label",
28142
+ "required": false,
28143
+ "type": "string",
28144
+ "example": null,
28145
+ "defaultValue": null
28146
+ },
28147
+ {
28148
+ "name": "inputProps",
28149
+ "decorators": [],
28150
+ "description": "Свойства для элемента input",
28151
+ "required": false,
28152
+ "type": "any",
28153
+ "example": "{onKeyDown: ...}",
28154
+ "defaultValue": null
28155
+ },
28156
+ {
28157
+ "name": "isRenderWithoutFieldLayout",
28158
+ "decorators": [],
28159
+ "description": "Возможность отрендерить поле без обертки в компонент FieldLayout",
28160
+ "required": false,
28161
+ "type": "boolean",
28162
+ "example": null,
28163
+ "defaultValue": null
28164
+ },
28165
+ {
28166
+ "name": "label",
28167
+ "decorators": [],
28168
+ "description": "Название поля либо отмена отображение поля (false)",
28169
+ "required": false,
28170
+ "type": "any",
28171
+ "example": "'Visible'",
28172
+ "defaultValue": null
28173
+ },
28174
+ {
28175
+ "name": "model",
28176
+ "decorators": [],
28177
+ "description": "Модель с полями формы",
28178
+ "required": false,
28179
+ "type": "any",
28180
+ "example": "{\n attributes: [\n {\n attribute: 'category',\n field: 'DropDownField'\n }\n ]\n}",
28181
+ "defaultValue": null
28182
+ },
28183
+ {
28184
+ "name": "placeholder",
28185
+ "decorators": [],
28186
+ "description": "Подсказка для поля",
28187
+ "required": false,
28188
+ "type": "string",
28189
+ "example": "Your text...",
28190
+ "defaultValue": null
28191
+ },
28192
+ {
28193
+ "name": "prefix",
28194
+ "decorators": [],
28195
+ "description": "Префикс, который добавится к аттрибуту (названию) поля в форме",
28196
+ "required": false,
28197
+ "type": "string | boolean",
28198
+ "example": null,
28199
+ "defaultValue": null
28200
+ },
28201
+ {
28202
+ "name": "required",
28203
+ "decorators": [],
28204
+ "description": "Обязательное ли поле? Если true, то к названию будет добавлен\nмодификатор 'required' - красная звездочка (по умолчанию)",
28205
+ "required": false,
28206
+ "type": "boolean",
28207
+ "example": "true",
28208
+ "defaultValue": null
28209
+ },
28210
+ {
28211
+ "name": "size",
28212
+ "decorators": [],
28213
+ "description": "Размер поля",
28214
+ "required": false,
28215
+ "type": "string",
28216
+ "example": null,
28217
+ "defaultValue": null
28218
+ },
28219
+ {
28220
+ "name": "style",
28221
+ "decorators": [],
28222
+ "description": "Объект CSS стилей",
28223
+ "required": false,
28224
+ "type": "CSSProperties",
28225
+ "example": "{width: '45%'}",
28226
+ "defaultValue": null
28018
28227
  },
28019
28228
  {
28020
28229
  "name": "value",
28021
28230
  "decorators": [],
28022
- "description": "",
28023
- "required": true,
28024
- "type": "number",
28025
- "example": null
28231
+ "description": "Значение для поля",
28232
+ "required": false,
28233
+ "type": "any",
28234
+ "example": null,
28235
+ "defaultValue": null
28236
+ },
28237
+ {
28238
+ "name": "view",
28239
+ "decorators": [],
28240
+ "description": "Переопределение view React компонента для кастомизации отображения",
28241
+ "required": false,
28242
+ "type": "React.ReactNode | {}",
28243
+ "example": "MyCustomView",
28244
+ "defaultValue": null
28026
28245
  }
28027
28246
  ],
28028
- "methods": []
28247
+ "methods": [
28248
+ {
28249
+ "name": "onChange",
28250
+ "decorators": [],
28251
+ "description": "Callback-функция, которая вызывается при изменении данных",
28252
+ "required": false,
28253
+ "type": "any",
28254
+ "example": null,
28255
+ "parameters": [
28256
+ {
28257
+ "name": "args",
28258
+ "decorators": [],
28259
+ "description": "",
28260
+ "required": true,
28261
+ "type": "any[]",
28262
+ "example": null
28263
+ }
28264
+ ]
28265
+ }
28266
+ ]
28029
28267
  },
28030
- "IRateFieldProps": {
28031
- "name": "IRateFieldProps",
28032
- "moduleName": "ui/form/RateField/RateField",
28033
- "title": "RateField",
28034
- "description": "\nПоле для проставления рейтинга\n",
28268
+ "IRadioListFieldProps": {
28269
+ "name": "IRadioListFieldProps",
28270
+ "moduleName": "ui/form/RadioListField/RadioListField",
28271
+ "title": "RadioListField",
28272
+ "description": "\nСписок с радиокнопками. Используется в формах для выбора одного значения.\n",
28035
28273
  "tags": {},
28036
28274
  "defaultProps": null,
28037
28275
  "extends": [
28038
- "IFieldWrapperInputProps",
28039
- "IUiComponent"
28276
+ "ICheckboxListFieldProps"
28040
28277
  ],
28041
28278
  "properties": [
28042
28279
  {
28043
- "name": "allowClear",
28280
+ "name": "attribute",
28044
28281
  "decorators": [],
28045
- "description": "Возможность полностью сбрасывать рейтинг, при повторном нажатии на звезду",
28282
+ "description": "Аттрибут (название) поля в форме",
28046
28283
  "required": false,
28047
- "type": "boolean",
28048
- "example": "false",
28284
+ "type": "string",
28285
+ "example": "'isVisible'",
28049
28286
  "defaultValue": null
28050
28287
  },
28051
28288
  {
28052
- "name": "attribute",
28289
+ "name": "autoComplete",
28053
28290
  "decorators": [],
28054
- "description": "Аттрибут (название) поля в форме",
28291
+ "description": "Настройки поиска",
28055
28292
  "required": false,
28056
- "type": "string",
28057
- "example": "'isVisible'",
28293
+ "type": "boolean | IAutoCompleteConfig",
28294
+ "example": "{\n enable: true,\n minLength: 2,\n delay: 100\n}",
28058
28295
  "defaultValue": null
28059
28296
  },
28060
28297
  {
28061
- "name": "badge",
28298
+ "name": "autoCompleteInputRef",
28062
28299
  "decorators": [],
28063
- "description": "Значок (бэйдж) с заголовком.",
28300
+ "description": "Ref autocomplete поиска",
28064
28301
  "required": false,
28065
- "type": "{title: string}",
28302
+ "type": "MutableRefObject",
28066
28303
  "example": null,
28067
28304
  "defaultValue": null
28068
28305
  },
28306
+ {
28307
+ "name": "autoFetch",
28308
+ "decorators": [],
28309
+ "description": "Загрузка данных после любого изменения запроса.\nЕсли включен autoFetch, то настройки autoComplete не применятся.",
28310
+ "required": false,
28311
+ "type": "boolean",
28312
+ "example": "true",
28313
+ "defaultValue": null
28314
+ },
28069
28315
  {
28070
28316
  "name": "className",
28071
28317
  "decorators": [],
@@ -28076,21 +28322,425 @@
28076
28322
  "defaultValue": null
28077
28323
  },
28078
28324
  {
28079
- "name": "date",
28325
+ "name": "dataProvider",
28080
28326
  "decorators": [],
28081
- "description": "",
28327
+ "description": "Конфигурация для подгрузки данных извне.\nЕсли dataProvider не передан, то поиск данных по запросу происходит локально.",
28082
28328
  "required": false,
28083
- "type": "any",
28329
+ "type": "IDataProvider",
28084
28330
  "example": null,
28085
28331
  "defaultValue": null
28086
28332
  },
28087
28333
  {
28088
- "name": "defaultValue",
28334
+ "name": "date",
28089
28335
  "decorators": [],
28090
- "description": "Количество звезд по умолчанию",
28336
+ "description": "",
28091
28337
  "required": false,
28092
- "type": "number",
28093
- "example": "4",
28338
+ "type": "any",
28339
+ "example": null,
28340
+ "defaultValue": null
28341
+ },
28342
+ {
28343
+ "name": "disabled",
28344
+ "decorators": [],
28345
+ "description": "Переводит элемент в состояние \"не активен\"",
28346
+ "required": false,
28347
+ "type": "boolean",
28348
+ "example": "true",
28349
+ "defaultValue": null
28350
+ },
28351
+ {
28352
+ "name": "errors",
28353
+ "decorators": [],
28354
+ "description": "Ошибки в поле",
28355
+ "required": false,
28356
+ "type": "string[]",
28357
+ "example": "['Error text']",
28358
+ "defaultValue": null
28359
+ },
28360
+ {
28361
+ "name": "fieldLayoutClassName",
28362
+ "decorators": [],
28363
+ "description": "Дополнительный CSS-класс для обертки FieldLayout",
28364
+ "required": false,
28365
+ "type": "string",
28366
+ "example": null,
28367
+ "defaultValue": null
28368
+ },
28369
+ {
28370
+ "name": "groupAttribute",
28371
+ "decorators": [],
28372
+ "description": "Атрибут, в котором должны лежать дочерние элементы списка (для группировки)\nЕсли аттрибут не задан - группировка не производится",
28373
+ "required": false,
28374
+ "type": "string",
28375
+ "example": "items",
28376
+ "defaultValue": null
28377
+ },
28378
+ {
28379
+ "name": "hasCloseOnSelect",
28380
+ "decorators": [],
28381
+ "description": "Нужно ли закрывать выпадающий список после выбора элемента",
28382
+ "required": false,
28383
+ "type": "boolean",
28384
+ "example": "true",
28385
+ "defaultValue": null
28386
+ },
28387
+ {
28388
+ "name": "hint",
28389
+ "decorators": [],
28390
+ "description": "Подсказка, которая отобразится рядом с полем",
28391
+ "required": false,
28392
+ "type": "string",
28393
+ "example": "'Only english letters'",
28394
+ "defaultValue": null
28395
+ },
28396
+ {
28397
+ "name": "id",
28398
+ "decorators": [],
28399
+ "description": "Input ID для связи поля с label",
28400
+ "required": false,
28401
+ "type": "string",
28402
+ "example": null,
28403
+ "defaultValue": null
28404
+ },
28405
+ {
28406
+ "name": "initialSelectedIds",
28407
+ "decorators": [],
28408
+ "description": "Идентификаторы выбранных значений, которые необходимо подгрузить при `autoFetch` режиме.\nНа бекенд будут переданы идентификаторы в параметре `ids`, которые необходимо вернуть.\nИспользуется только при `autoFetch = true`",
28409
+ "required": false,
28410
+ "type": "number[]",
28411
+ "example": "[1, 22]",
28412
+ "defaultValue": null
28413
+ },
28414
+ {
28415
+ "name": "inputProps",
28416
+ "decorators": [],
28417
+ "description": "Свойства для элемента input",
28418
+ "required": false,
28419
+ "type": "any",
28420
+ "example": "{ onKeyDown: ... }",
28421
+ "defaultValue": null
28422
+ },
28423
+ {
28424
+ "name": "inputValue",
28425
+ "decorators": [],
28426
+ "description": "Значение поля в форме",
28427
+ "required": false,
28428
+ "type": "any",
28429
+ "example": null,
28430
+ "defaultValue": null
28431
+ },
28432
+ {
28433
+ "name": "isFetchDisabled",
28434
+ "decorators": [],
28435
+ "description": "Сигнал, запрещающий отправку запроса на получение данных",
28436
+ "required": false,
28437
+ "type": "boolean",
28438
+ "example": null,
28439
+ "defaultValue": null
28440
+ },
28441
+ {
28442
+ "name": "isRenderWithoutFieldLayout",
28443
+ "decorators": [],
28444
+ "description": "Возможность отрендерить поле без обертки в компонент FieldLayout",
28445
+ "required": false,
28446
+ "type": "boolean",
28447
+ "example": null,
28448
+ "defaultValue": null
28449
+ },
28450
+ {
28451
+ "name": "itemView",
28452
+ "decorators": [],
28453
+ "description": "Кастомная вьюшка для элемента",
28454
+ "required": false,
28455
+ "type": "React.ReactNode | {}",
28456
+ "example": null,
28457
+ "defaultValue": null
28458
+ },
28459
+ {
28460
+ "name": "itemViewProps",
28461
+ "decorators": [],
28462
+ "description": "Пропсы для отображения элемента",
28463
+ "required": false,
28464
+ "type": "any",
28465
+ "example": null,
28466
+ "defaultValue": null
28467
+ },
28468
+ {
28469
+ "name": "items",
28470
+ "decorators": [],
28471
+ "description": "Коллекция элементов",
28472
+ "required": false,
28473
+ "type": "CheckboxFieldListItems",
28474
+ "example": "[\n {\n id: 1,\n label: 'Krasnoyarsk',\n color: 'red'\n },\n {\n id: 2,\n label: 'Moscow',\n color: 'purple'\n }\n]",
28475
+ "defaultValue": null
28476
+ },
28477
+ {
28478
+ "name": "label",
28479
+ "decorators": [],
28480
+ "description": "Название поля либо отмена отображение поля (false)",
28481
+ "required": false,
28482
+ "type": "any",
28483
+ "example": "'Visible'",
28484
+ "defaultValue": null
28485
+ },
28486
+ {
28487
+ "name": "model",
28488
+ "decorators": [],
28489
+ "description": "Модель с полями формы",
28490
+ "required": false,
28491
+ "type": "any",
28492
+ "example": "{\n attributes: [\n {\n attribute: 'category',\n field: 'DropDownField'\n }\n ]\n}",
28493
+ "defaultValue": null
28494
+ },
28495
+ {
28496
+ "name": "multiple",
28497
+ "decorators": [],
28498
+ "description": "Возможность множественного выбора",
28499
+ "required": false,
28500
+ "type": "boolean",
28501
+ "example": "true",
28502
+ "defaultValue": null
28503
+ },
28504
+ {
28505
+ "name": "orientation",
28506
+ "decorators": [],
28507
+ "description": "Ориентация списка",
28508
+ "required": false,
28509
+ "type": "string",
28510
+ "example": null,
28511
+ "defaultValue": null
28512
+ },
28513
+ {
28514
+ "name": "placeholder",
28515
+ "decorators": [],
28516
+ "description": "Подсказка для поля",
28517
+ "required": false,
28518
+ "type": "string",
28519
+ "example": "Your text...",
28520
+ "defaultValue": null
28521
+ },
28522
+ {
28523
+ "name": "prefix",
28524
+ "decorators": [],
28525
+ "description": "Префикс, который добавится к аттрибуту (названию) поля в форме",
28526
+ "required": false,
28527
+ "type": "string | boolean",
28528
+ "example": null,
28529
+ "defaultValue": null
28530
+ },
28531
+ {
28532
+ "name": "primaryKey",
28533
+ "decorators": [],
28534
+ "description": "Первичный ключ для item",
28535
+ "required": false,
28536
+ "type": "string",
28537
+ "example": "id",
28538
+ "defaultValue": null
28539
+ },
28540
+ {
28541
+ "name": "query",
28542
+ "decorators": [],
28543
+ "description": "Текст запроса",
28544
+ "required": false,
28545
+ "type": "string",
28546
+ "example": "'some text'",
28547
+ "defaultValue": null
28548
+ },
28549
+ {
28550
+ "name": "required",
28551
+ "decorators": [],
28552
+ "description": "Обязательное ли поле? Если true, то к названию будет добавлен\nмодификатор 'required' - красная звездочка (по умолчанию)",
28553
+ "required": false,
28554
+ "type": "boolean",
28555
+ "example": "true",
28556
+ "defaultValue": null
28557
+ },
28558
+ {
28559
+ "name": "selectFirst",
28560
+ "decorators": [],
28561
+ "description": "Сделать активным первый элемент в списке",
28562
+ "required": false,
28563
+ "type": "boolean",
28564
+ "example": "true",
28565
+ "defaultValue": null
28566
+ },
28567
+ {
28568
+ "name": "selectedIds",
28569
+ "decorators": [],
28570
+ "description": "Список с идентификаторами выбранных элементов",
28571
+ "required": false,
28572
+ "type": "any",
28573
+ "example": "[1, 4]",
28574
+ "defaultValue": null
28575
+ },
28576
+ {
28577
+ "name": "size",
28578
+ "decorators": [],
28579
+ "description": "Размер поля",
28580
+ "required": false,
28581
+ "type": "string",
28582
+ "example": null,
28583
+ "defaultValue": null
28584
+ },
28585
+ {
28586
+ "name": "sourceItems",
28587
+ "decorators": [],
28588
+ "description": "Список со всеми элементами",
28589
+ "required": false,
28590
+ "type": "IDataSelectItem[]",
28591
+ "example": null,
28592
+ "defaultValue": null
28593
+ },
28594
+ {
28595
+ "name": "style",
28596
+ "decorators": [],
28597
+ "description": "Объект CSS стилей",
28598
+ "required": false,
28599
+ "type": "CSSProperties",
28600
+ "example": "{width: '45%'}",
28601
+ "defaultValue": null
28602
+ },
28603
+ {
28604
+ "name": "value",
28605
+ "decorators": [],
28606
+ "description": "Значение для поля",
28607
+ "required": false,
28608
+ "type": "any",
28609
+ "example": null,
28610
+ "defaultValue": null
28611
+ },
28612
+ {
28613
+ "name": "view",
28614
+ "decorators": [],
28615
+ "description": "Переопределение view React компонента для кастомизации отображения",
28616
+ "required": false,
28617
+ "type": "React.ReactNode | {}",
28618
+ "example": "MyCustomView",
28619
+ "defaultValue": null
28620
+ },
28621
+ {
28622
+ "name": "viewProps",
28623
+ "decorators": [],
28624
+ "description": "Свойства для компонента отображения",
28625
+ "required": false,
28626
+ "type": "{}",
28627
+ "example": "{\n customHandler: () => {...}\n}",
28628
+ "defaultValue": null
28629
+ }
28630
+ ],
28631
+ "methods": [
28632
+ {
28633
+ "name": "onChange",
28634
+ "decorators": [],
28635
+ "description": "Callback-функция, которая вызывается при изменении данных",
28636
+ "required": false,
28637
+ "type": "any",
28638
+ "example": null,
28639
+ "parameters": [
28640
+ {
28641
+ "name": "args",
28642
+ "decorators": [],
28643
+ "description": "",
28644
+ "required": true,
28645
+ "type": "any[]",
28646
+ "example": null
28647
+ }
28648
+ ]
28649
+ }
28650
+ ]
28651
+ },
28652
+ "IRateFieldItem": {
28653
+ "name": "IRateFieldItem",
28654
+ "moduleName": "ui/form/RateField/RateField",
28655
+ "title": "",
28656
+ "description": "",
28657
+ "tags": {},
28658
+ "defaultProps": null,
28659
+ "extends": [],
28660
+ "properties": [
28661
+ {
28662
+ "name": "id",
28663
+ "decorators": [],
28664
+ "description": "",
28665
+ "required": true,
28666
+ "type": "number",
28667
+ "example": null
28668
+ },
28669
+ {
28670
+ "name": "value",
28671
+ "decorators": [],
28672
+ "description": "",
28673
+ "required": true,
28674
+ "type": "number",
28675
+ "example": null
28676
+ }
28677
+ ],
28678
+ "methods": []
28679
+ },
28680
+ "IRateFieldProps": {
28681
+ "name": "IRateFieldProps",
28682
+ "moduleName": "ui/form/RateField/RateField",
28683
+ "title": "RateField",
28684
+ "description": "\nПоле для проставления рейтинга\n",
28685
+ "tags": {},
28686
+ "defaultProps": null,
28687
+ "extends": [
28688
+ "IFieldWrapperInputProps",
28689
+ "IUiComponent"
28690
+ ],
28691
+ "properties": [
28692
+ {
28693
+ "name": "allowClear",
28694
+ "decorators": [],
28695
+ "description": "Возможность полностью сбрасывать рейтинг, при повторном нажатии на звезду",
28696
+ "required": false,
28697
+ "type": "boolean",
28698
+ "example": "false",
28699
+ "defaultValue": null
28700
+ },
28701
+ {
28702
+ "name": "attribute",
28703
+ "decorators": [],
28704
+ "description": "Аттрибут (название) поля в форме",
28705
+ "required": false,
28706
+ "type": "string",
28707
+ "example": "'isVisible'",
28708
+ "defaultValue": null
28709
+ },
28710
+ {
28711
+ "name": "badge",
28712
+ "decorators": [],
28713
+ "description": "Значок (бэйдж) с заголовком.",
28714
+ "required": false,
28715
+ "type": "{title: string}",
28716
+ "example": null,
28717
+ "defaultValue": null
28718
+ },
28719
+ {
28720
+ "name": "className",
28721
+ "decorators": [],
28722
+ "description": "Дополнительный CSS-класс для элемента отображения",
28723
+ "required": false,
28724
+ "type": "string",
28725
+ "example": null,
28726
+ "defaultValue": null
28727
+ },
28728
+ {
28729
+ "name": "date",
28730
+ "decorators": [],
28731
+ "description": "",
28732
+ "required": false,
28733
+ "type": "any",
28734
+ "example": null,
28735
+ "defaultValue": null
28736
+ },
28737
+ {
28738
+ "name": "defaultValue",
28739
+ "decorators": [],
28740
+ "description": "Количество звезд по умолчанию",
28741
+ "required": false,
28742
+ "type": "number",
28743
+ "example": "4",
28094
28744
  "defaultValue": null
28095
28745
  },
28096
28746
  {
@@ -29260,7 +29910,7 @@
29260
29910
  {
29261
29911
  "name": "marks",
29262
29912
  "decorators": [],
29263
- "description": "Метки на ползунке. В объекте '{'key: value'}' key определяет положение, а value определяет, что будет отображаться.\nЕсли вы хотите задать стиль определенной точки метки, значением должен быть объект,\nсодержащий свойства style и label.",
29913
+ "description": "Метки на ползунке. В объекте {key: 'value'} key определяет положение, а value определяет, что будет отображаться.\nЕсли вы хотите задать стиль определенной точки метки, значением должен быть объект,\nсодержащий свойства style и label.",
29264
29914
  "required": false,
29265
29915
  "type": "Record",
29266
29916
  "example": "{\n min: 20,\n 40: 40,\n max: 100\n}",
@@ -29558,7 +30208,7 @@
29558
30208
  {
29559
30209
  "name": "marks",
29560
30210
  "decorators": [],
29561
- "description": "Метки на ползунке. В объекте '{'key: value'}' key определяет положение, а value определяет, что будет отображаться.\nЕсли вы хотите задать стиль определенной точки метки, значением должен быть объект,\nсодержащий свойства style и label.",
30211
+ "description": "Метки на ползунке. В объекте {key: 'value'} key определяет положение, а value определяет, что будет отображаться.\nЕсли вы хотите задать стиль определенной точки метки, значением должен быть объект,\nсодержащий свойства style и label.",
29562
30212
  "required": false,
29563
30213
  "type": "Record",
29564
30214
  "example": "{\n min: 20,\n 40: 40,\n max: 100\n}"
@@ -29723,6 +30373,228 @@
29723
30373
  }
29724
30374
  ]
29725
30375
  },
30376
+ "ISwitcherFieldProps": {
30377
+ "name": "ISwitcherFieldProps",
30378
+ "moduleName": "ui/form/SwitcherField/SwitcherField",
30379
+ "title": "SwitcherField",
30380
+ "description": "\nКомпонент SwitcherField представляет собой переключатель (switch/toggle),\nкоторый позволяет пользователю включать или выключать значение (boolean).\nОбычно используется для управления настройками, параметрами или состояниями\n«вкл / выкл».\n",
30381
+ "tags": {},
30382
+ "defaultProps": null,
30383
+ "extends": [
30384
+ "ICheckboxFieldProps"
30385
+ ],
30386
+ "properties": [
30387
+ {
30388
+ "name": "attribute",
30389
+ "decorators": [],
30390
+ "description": "Аттрибут (название) поля в форме",
30391
+ "required": false,
30392
+ "type": "string",
30393
+ "example": "'isVisible'",
30394
+ "defaultValue": null
30395
+ },
30396
+ {
30397
+ "name": "checked",
30398
+ "decorators": [],
30399
+ "description": "Флаг определяющий включен ли элемент",
30400
+ "required": false,
30401
+ "type": "boolean",
30402
+ "example": "true",
30403
+ "defaultValue": null
30404
+ },
30405
+ {
30406
+ "name": "className",
30407
+ "decorators": [],
30408
+ "description": "Дополнительный CSS-класс для элемента отображения",
30409
+ "required": false,
30410
+ "type": "string",
30411
+ "example": null,
30412
+ "defaultValue": null
30413
+ },
30414
+ {
30415
+ "name": "color",
30416
+ "decorators": [],
30417
+ "description": "Пользовательский цвет для чекбокса",
30418
+ "required": false,
30419
+ "type": "string",
30420
+ "example": null,
30421
+ "defaultValue": null
30422
+ },
30423
+ {
30424
+ "name": "date",
30425
+ "decorators": [],
30426
+ "description": "",
30427
+ "required": false,
30428
+ "type": "any",
30429
+ "example": null,
30430
+ "defaultValue": null
30431
+ },
30432
+ {
30433
+ "name": "disabled",
30434
+ "decorators": [],
30435
+ "description": "Переводит элемент в состояние \"не активен\"",
30436
+ "required": false,
30437
+ "type": "boolean",
30438
+ "example": "true",
30439
+ "defaultValue": null
30440
+ },
30441
+ {
30442
+ "name": "errors",
30443
+ "decorators": [],
30444
+ "description": "Ошибки в поле",
30445
+ "required": false,
30446
+ "type": "string[]",
30447
+ "example": "['Error text']",
30448
+ "defaultValue": null
30449
+ },
30450
+ {
30451
+ "name": "fieldLayoutClassName",
30452
+ "decorators": [],
30453
+ "description": "Дополнительный CSS-класс для обертки FieldLayout",
30454
+ "required": false,
30455
+ "type": "string",
30456
+ "example": null,
30457
+ "defaultValue": null
30458
+ },
30459
+ {
30460
+ "name": "hint",
30461
+ "decorators": [],
30462
+ "description": "Подсказка, которая отобразится рядом с полем",
30463
+ "required": false,
30464
+ "type": "string",
30465
+ "example": "'Only english letters'",
30466
+ "defaultValue": null
30467
+ },
30468
+ {
30469
+ "name": "id",
30470
+ "decorators": [],
30471
+ "description": "Input ID для связи поля с label",
30472
+ "required": false,
30473
+ "type": "string",
30474
+ "example": null,
30475
+ "defaultValue": null
30476
+ },
30477
+ {
30478
+ "name": "inputProps",
30479
+ "decorators": [],
30480
+ "description": "Свойства для элемента input",
30481
+ "required": false,
30482
+ "type": "any",
30483
+ "example": "{onKeyDown: ...}",
30484
+ "defaultValue": null
30485
+ },
30486
+ {
30487
+ "name": "isRenderWithoutFieldLayout",
30488
+ "decorators": [],
30489
+ "description": "Возможность отрендерить поле без обертки в компонент FieldLayout",
30490
+ "required": false,
30491
+ "type": "boolean",
30492
+ "example": null,
30493
+ "defaultValue": null
30494
+ },
30495
+ {
30496
+ "name": "label",
30497
+ "decorators": [],
30498
+ "description": "Название поля либо отмена отображение поля (false)",
30499
+ "required": false,
30500
+ "type": "any",
30501
+ "example": "'Visible'",
30502
+ "defaultValue": null
30503
+ },
30504
+ {
30505
+ "name": "model",
30506
+ "decorators": [],
30507
+ "description": "Модель с полями формы",
30508
+ "required": false,
30509
+ "type": "any",
30510
+ "example": "{\n attributes: [\n {\n attribute: 'category',\n field: 'DropDownField'\n }\n ]\n}",
30511
+ "defaultValue": null
30512
+ },
30513
+ {
30514
+ "name": "placeholder",
30515
+ "decorators": [],
30516
+ "description": "Подсказка для поля",
30517
+ "required": false,
30518
+ "type": "string",
30519
+ "example": "Your text...",
30520
+ "defaultValue": null
30521
+ },
30522
+ {
30523
+ "name": "prefix",
30524
+ "decorators": [],
30525
+ "description": "Префикс, который добавится к аттрибуту (названию) поля в форме",
30526
+ "required": false,
30527
+ "type": "string | boolean",
30528
+ "example": null,
30529
+ "defaultValue": null
30530
+ },
30531
+ {
30532
+ "name": "required",
30533
+ "decorators": [],
30534
+ "description": "Обязательное ли поле? Если true, то к названию будет добавлен\nмодификатор 'required' - красная звездочка (по умолчанию)",
30535
+ "required": false,
30536
+ "type": "boolean",
30537
+ "example": "true",
30538
+ "defaultValue": null
30539
+ },
30540
+ {
30541
+ "name": "size",
30542
+ "decorators": [],
30543
+ "description": "Размер поля",
30544
+ "required": false,
30545
+ "type": "string",
30546
+ "example": null,
30547
+ "defaultValue": null
30548
+ },
30549
+ {
30550
+ "name": "style",
30551
+ "decorators": [],
30552
+ "description": "Объект CSS стилей",
30553
+ "required": false,
30554
+ "type": "CSSProperties",
30555
+ "example": "{width: '45%'}",
30556
+ "defaultValue": null
30557
+ },
30558
+ {
30559
+ "name": "value",
30560
+ "decorators": [],
30561
+ "description": "Значение для поля",
30562
+ "required": false,
30563
+ "type": "any",
30564
+ "example": null,
30565
+ "defaultValue": null
30566
+ },
30567
+ {
30568
+ "name": "view",
30569
+ "decorators": [],
30570
+ "description": "Переопределение view React компонента для кастомизации отображения",
30571
+ "required": false,
30572
+ "type": "React.ReactNode | {}",
30573
+ "example": "MyCustomView",
30574
+ "defaultValue": null
30575
+ }
30576
+ ],
30577
+ "methods": [
30578
+ {
30579
+ "name": "onChange",
30580
+ "decorators": [],
30581
+ "description": "Callback-функция, которая вызывается при изменении данных",
30582
+ "required": false,
30583
+ "type": "any",
30584
+ "example": null,
30585
+ "parameters": [
30586
+ {
30587
+ "name": "args",
30588
+ "decorators": [],
30589
+ "description": "",
30590
+ "required": true,
30591
+ "type": "any[]",
30592
+ "example": null
30593
+ }
30594
+ ]
30595
+ }
30596
+ ]
30597
+ },
29726
30598
  "ITextFieldProps": {
29727
30599
  "name": "ITextFieldProps",
29728
30600
  "moduleName": "ui/form/TextField/TextField",
@@ -32390,14 +33262,6 @@
32390
33262
  "type": "boolean",
32391
33263
  "example": null
32392
33264
  },
32393
- {
32394
- "name": "level",
32395
- "decorators": [],
32396
- "description": "Цвет всплывающего уведомления",
32397
- "required": false,
32398
- "type": "string",
32399
- "example": "warning"
32400
- },
32401
33265
  {
32402
33266
  "name": "message",
32403
33267
  "decorators": [],
@@ -32413,6 +33277,14 @@
32413
33277
  "required": true,
32414
33278
  "type": "string",
32415
33279
  "example": null
33280
+ },
33281
+ {
33282
+ "name": "type",
33283
+ "decorators": [],
33284
+ "description": "Цвет всплывающего уведомления",
33285
+ "required": false,
33286
+ "type": "string",
33287
+ "example": "warning"
32416
33288
  }
32417
33289
  ],
32418
33290
  "methods": [
@@ -41007,6 +41879,30 @@
41007
41879
  "type": "string | {} | string | number | {id: string | number | boolean, label: string | Record | number}[]",
41008
41880
  "example": null
41009
41881
  },
41882
+ "AlertColorName": {
41883
+ "name": "AlertColorName",
41884
+ "decorators": [],
41885
+ "description": "Название цвета для Alert и Notification",
41886
+ "required": true,
41887
+ "type": "\"success\" | \"info\" | \"warning\" | \"error\" | \"default\" | string",
41888
+ "example": null
41889
+ },
41890
+ "BadgeColorName": {
41891
+ "name": "BadgeColorName",
41892
+ "decorators": [],
41893
+ "description": "Название цвета для Badge",
41894
+ "required": true,
41895
+ "type": "\"primary\" | \"secondary\" | \"success\" | \"danger\" | \"warning\" | \"info\" | string",
41896
+ "example": null
41897
+ },
41898
+ "ButtonColorName": {
41899
+ "name": "ButtonColorName",
41900
+ "decorators": [],
41901
+ "description": "Название цвета для Button",
41902
+ "required": true,
41903
+ "type": "\"basic\" | \"primary\" | \"secondary\" | \"success\" | \"danger\" | \"warning\" | \"info\" | string",
41904
+ "example": null
41905
+ },
41010
41906
  "ColorName": {
41011
41907
  "name": "ColorName",
41012
41908
  "decorators": [],
@@ -41103,6 +41999,14 @@
41103
41999
  "type": "\"small\" | \"middle\" | \"large\" | string",
41104
42000
  "example": null
41105
42001
  },
42002
+ "TypographyColorName": {
42003
+ "name": "TypographyColorName",
42004
+ "decorators": [],
42005
+ "description": "Название цвета для Text, Title",
42006
+ "required": true,
42007
+ "type": "\"primary\" | \"secondary\" | \"success\" | \"danger\" | \"warning\" | \"info\" | \"text-color\" | string",
42008
+ "example": null
42009
+ },
41106
42010
  "TNotificationsState": {
41107
42011
  "name": "TNotificationsState",
41108
42012
  "decorators": [],
@@ -42612,7 +43516,9 @@
42612
43516
  "moduleName": "components/ResourceComponent",
42613
43517
  "title": "Resource Component",
42614
43518
  "description": "Компонент для подгрузки внешних API: Google Maps, Yandex Maps, Twitter, ...",
42615
- "tags": {},
43519
+ "tags": {
43520
+ "deprecated": ""
43521
+ },
42616
43522
  "properties": [
42617
43523
  {
42618
43524
  "name": "RESOURCE_GEETEST_API",
@@ -42845,7 +43751,7 @@
42845
43751
  "decorators": [],
42846
43752
  "description": "Редьюсеры",
42847
43753
  "required": true,
42848
- "type": "any",
43754
+ "type": "CreateRootReducer",
42849
43755
  "example": null
42850
43756
  },
42851
43757
  {
@@ -42853,7 +43759,7 @@
42853
43759
  "decorators": [],
42854
43760
  "description": "Хранилище",
42855
43761
  "required": true,
42856
- "type": "any",
43762
+ "type": "Store",
42857
43763
  "example": null
42858
43764
  }
42859
43765
  ],
@@ -42871,7 +43777,7 @@
42871
43777
  "decorators": [],
42872
43778
  "description": "",
42873
43779
  "required": true,
42874
- "type": "any",
43780
+ "type": "AsyncReducersMap",
42875
43781
  "example": null
42876
43782
  }
42877
43783
  ]
@@ -42979,7 +43885,7 @@
42979
43885
  "decorators": [],
42980
43886
  "description": "Подписка",
42981
43887
  "required": false,
42982
- "type": "any",
43888
+ "type": "Unsubscribe",
42983
43889
  "example": null,
42984
43890
  "parameters": [
42985
43891
  {