@steroidsjs/core 3.0.0-beta.45 → 3.0.0-beta.47

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 (39) hide show
  1. package/docs-autogen-result.json +1380 -305
  2. package/package.json +1 -1
  3. package/ui/form/ImageField/ImageField.d.ts +5 -0
  4. package/ui/form/ImageField/ImageField.js +4 -0
  5. package/ui/form/TimeField/TimeField.d.ts +1 -1
  6. package/ui/form/TimeField/TimeField.js +3 -2
  7. package/ui/form/TimeRangeField/TimeRangeField.d.ts +53 -0
  8. package/ui/form/TimeRangeField/TimeRangeField.js +85 -0
  9. package/ui/form/TimeRangeField/index.d.ts +2 -0
  10. package/ui/form/TimeRangeField/index.js +7 -0
  11. package/ui/format/MoneyFormatter/MoneyFormatter.js +3 -2
  12. package/ui/layout/Header/Header.d.ts +0 -4
  13. package/ui/list/Empty/Empty.d.ts +1 -10
  14. package/ui/list/Empty/Empty.js +2 -2
  15. package/ui/list/PaginationSize/PaginationSize.d.ts +10 -12
  16. package/ui/list/PaginationSize/PaginationSize.js +10 -9
  17. package/ui/nav/Controls/Controls.js +1 -1
  18. package/ui/nav/Nav/Nav.d.ts +1 -0
  19. package/ui/nav/Nav/Nav.js +2 -1
  20. package/ui/form/ReCaptchaField/demo/basic.d.ts +0 -8
  21. package/ui/form/ReCaptchaField/demo/basic.js +0 -43
  22. package/ui/layout/Notifications/demo/basic.d.ts +0 -8
  23. package/ui/layout/Notifications/demo/basic.js +0 -57
  24. package/ui/layout/Notifications/demo/position.d.ts +0 -3
  25. package/ui/layout/Notifications/demo/position.js +0 -49
  26. package/ui/layout/Notifications/demo/timeOut.d.ts +0 -3
  27. package/ui/layout/Notifications/demo/timeOut.js +0 -49
  28. package/ui/list/Empty/demo/basic.d.ts +0 -8
  29. package/ui/list/Empty/demo/basic.js +0 -37
  30. package/ui/list/Empty/demo/custom-text.d.ts +0 -8
  31. package/ui/list/Empty/demo/custom-text.js +0 -37
  32. package/ui/list/PaginationSize/demo/basic.d.ts +0 -8
  33. package/ui/list/PaginationSize/demo/basic.js +0 -40
  34. package/ui/list/PaginationSize/demo/size.d.ts +0 -8
  35. package/ui/list/PaginationSize/demo/size.js +0 -48
  36. package/ui/nav/Nav/demo/basic.d.ts +0 -13
  37. package/ui/nav/Nav/demo/basic.js +0 -58
  38. package/ui/nav/Nav/demo/layout.d.ts +0 -8
  39. package/ui/nav/Nav/demo/layout.js +0 -56
@@ -475,6 +475,14 @@
475
475
  "type": "any",
476
476
  "example": null
477
477
  },
478
+ {
479
+ "name": "routerProps",
480
+ "decorators": [],
481
+ "description": "",
482
+ "required": false,
483
+ "type": "IRouterProps",
484
+ "example": null
485
+ },
478
486
  {
479
487
  "name": "routes",
480
488
  "decorators": [],
@@ -853,6 +861,14 @@
853
861
  "type": "boolean",
854
862
  "example": null
855
863
  },
864
+ {
865
+ "name": "isSelectedAll",
866
+ "decorators": [],
867
+ "description": "",
868
+ "required": true,
869
+ "type": "boolean",
870
+ "example": null
871
+ },
856
872
  {
857
873
  "name": "selectedIds",
858
874
  "decorators": [],
@@ -893,6 +909,14 @@
893
909
  "type": "{}",
894
910
  "example": null
895
911
  },
912
+ {
913
+ "name": "setSelectedAll",
914
+ "decorators": [],
915
+ "description": "",
916
+ "required": true,
917
+ "type": "VoidFunction",
918
+ "example": null
919
+ },
896
920
  {
897
921
  "name": "setSelectedIds",
898
922
  "decorators": [],
@@ -4110,6 +4134,14 @@
4110
4134
  "type": "number",
4111
4135
  "example": null
4112
4136
  },
4137
+ {
4138
+ "name": "hasArrow",
4139
+ "decorators": [],
4140
+ "description": "Позволяет управлять отображением указателя",
4141
+ "required": false,
4142
+ "type": "boolean",
4143
+ "example": "true"
4144
+ },
4113
4145
  {
4114
4146
  "name": "onClose",
4115
4147
  "decorators": [],
@@ -4236,6 +4268,14 @@
4236
4268
  "type": "number",
4237
4269
  "example": null
4238
4270
  },
4271
+ {
4272
+ "name": "hasArrow",
4273
+ "decorators": [],
4274
+ "description": "Позволяет управлять отображением указателя",
4275
+ "required": false,
4276
+ "type": "boolean",
4277
+ "example": "true"
4278
+ },
4239
4279
  {
4240
4280
  "name": "isComponentExist",
4241
4281
  "decorators": [],
@@ -9420,6 +9460,22 @@
9420
9460
  "type": "string | IAccordionIcon | ReactElement",
9421
9461
  "example": "'circle'"
9422
9462
  },
9463
+ {
9464
+ "name": "isItemToSelectAll",
9465
+ "decorators": [],
9466
+ "description": "",
9467
+ "required": true,
9468
+ "type": "boolean",
9469
+ "example": null
9470
+ },
9471
+ {
9472
+ "name": "isSelectedAll",
9473
+ "decorators": [],
9474
+ "description": "",
9475
+ "required": true,
9476
+ "type": "boolean",
9477
+ "example": null
9478
+ },
9423
9479
  {
9424
9480
  "name": "isShowMore",
9425
9481
  "decorators": [],
@@ -9718,6 +9774,14 @@
9718
9774
  "type": "boolean",
9719
9775
  "example": null
9720
9776
  },
9777
+ {
9778
+ "name": "itemToSelectAll",
9779
+ "decorators": [],
9780
+ "description": "Добавляет кнопку при нажатии на которую выбираются все элементы, работает только при multiple: true",
9781
+ "required": false,
9782
+ "type": "boolean | {id: string, label: string}",
9783
+ "example": "{label: 'All', id: 'all'}"
9784
+ },
9721
9785
  {
9722
9786
  "name": "items",
9723
9787
  "decorators": [],
@@ -10091,6 +10155,14 @@
10091
10155
  "type": "boolean",
10092
10156
  "example": null
10093
10157
  },
10158
+ {
10159
+ "name": "itemToSelectAll",
10160
+ "decorators": [],
10161
+ "description": "Добавляет кнопку при нажатии на которую выбираются все элементы, работает только при multiple: true",
10162
+ "required": true,
10163
+ "type": "{id: string, label: string}",
10164
+ "example": null
10165
+ },
10094
10166
  {
10095
10167
  "name": "items",
10096
10168
  "decorators": [],
@@ -13589,6 +13661,14 @@
13589
13661
  "type": "any",
13590
13662
  "example": "'/api/v1/user/avatar/crop'"
13591
13663
  },
13664
+ {
13665
+ "name": "buttonProps",
13666
+ "decorators": [],
13667
+ "description": "Пропсы для кнопки",
13668
+ "required": false,
13669
+ "type": "IButtonProps",
13670
+ "example": null
13671
+ },
13592
13672
  {
13593
13673
  "name": "className",
13594
13674
  "decorators": [],
@@ -13842,6 +13922,14 @@
13842
13922
  "type": "any",
13843
13923
  "example": "'/api/v1/user/avatar/crop'"
13844
13924
  },
13925
+ {
13926
+ "name": "buttonProps",
13927
+ "decorators": [],
13928
+ "description": "Пропсы для кнопки",
13929
+ "required": false,
13930
+ "type": "IButtonProps",
13931
+ "example": null
13932
+ },
13845
13933
  {
13846
13934
  "name": "className",
13847
13935
  "decorators": [],
@@ -17877,7 +17965,8 @@
17877
17965
  "tags": {},
17878
17966
  "defaultProps": null,
17879
17967
  "extends": [
17880
- "IFieldWrapperInputProps"
17968
+ "IFieldWrapperInputProps",
17969
+ "IUiComponent"
17881
17970
  ],
17882
17971
  "properties": [
17883
17972
  {
@@ -17907,7 +17996,7 @@
17907
17996
  {
17908
17997
  "name": "defaultValue",
17909
17998
  "decorators": [],
17910
- "description": "Значение по-умолчанию при первом рендере. Для isRange=false исполуется number, для isRange=true - number[]",
17999
+ "description": "Значение по-умолчанию при первом рендере. Для isRange=false используется number, для isRange=true - number[]",
17911
18000
  "required": false,
17912
18001
  "type": "number | number[]",
17913
18002
  "example": "1"
@@ -18072,6 +18161,14 @@
18072
18161
  "type": "number",
18073
18162
  "example": "10"
18074
18163
  },
18164
+ {
18165
+ "name": "style",
18166
+ "decorators": [],
18167
+ "description": "Объект CSS стилей",
18168
+ "required": false,
18169
+ "type": "CSSProperties",
18170
+ "example": "{width: '45%'}"
18171
+ },
18075
18172
  {
18076
18173
  "name": "value",
18077
18174
  "decorators": [],
@@ -18083,7 +18180,7 @@
18083
18180
  {
18084
18181
  "name": "valuePostfix",
18085
18182
  "decorators": [],
18086
- "description": "Любое строкове значение после значения состояния слайдера в всплывающем окошке.",
18183
+ "description": "Любое строковое значение после значения состояния слайдера в всплывающем окошке.",
18087
18184
  "required": false,
18088
18185
  "type": "string",
18089
18186
  "example": "'%'"
@@ -18145,7 +18242,7 @@
18145
18242
  {
18146
18243
  "name": "defaultValue",
18147
18244
  "decorators": [],
18148
- "description": "Значение по-умолчанию при первом рендере. Для isRange=false исполуется number, для isRange=true - number[]",
18245
+ "description": "Значение по-умолчанию при первом рендере. Для isRange=false используется number, для isRange=true - number[]",
18149
18246
  "required": false,
18150
18247
  "type": "number | number[]",
18151
18248
  "example": "1"
@@ -18342,6 +18439,14 @@
18342
18439
  "type": "number",
18343
18440
  "example": "10"
18344
18441
  },
18442
+ {
18443
+ "name": "style",
18444
+ "decorators": [],
18445
+ "description": "Объект CSS стилей",
18446
+ "required": false,
18447
+ "type": "CSSProperties",
18448
+ "example": "{width: '45%'}"
18449
+ },
18345
18450
  {
18346
18451
  "name": "value",
18347
18452
  "decorators": [],
@@ -18353,7 +18458,7 @@
18353
18458
  {
18354
18459
  "name": "valuePostfix",
18355
18460
  "decorators": [],
18356
- "description": "Любое строкове значение после значения состояния слайдера в всплывающем окошке.",
18461
+ "description": "Любое строковое значение после значения состояния слайдера в всплывающем окошке.",
18357
18462
  "required": false,
18358
18463
  "type": "string",
18359
18464
  "example": "'%'"
@@ -19470,7 +19575,7 @@
19470
19575
  "extends": [
19471
19576
  "IDateInputStateOutput",
19472
19577
  "Pick<ITimeFieldProps",
19473
- "'size' | 'errors' | 'showRemove' | 'noBorder' | 'className' | 'timePanelViewProps'>"
19578
+ "'size' | 'errors' | 'showRemove' | 'noBorder' | 'className' | 'timePanelViewProps' | 'style'>"
19474
19579
  ],
19475
19580
  "properties": [
19476
19581
  {
@@ -19553,6 +19658,14 @@
19553
19658
  "type": "string",
19554
19659
  "example": null
19555
19660
  },
19661
+ {
19662
+ "name": "style",
19663
+ "decorators": [],
19664
+ "description": "Объект CSS стилей",
19665
+ "required": false,
19666
+ "type": "CSSProperties",
19667
+ "example": "{width: '45%'}"
19668
+ },
19556
19669
  {
19557
19670
  "name": "timePanelViewProps",
19558
19671
  "decorators": [],
@@ -19617,167 +19730,640 @@
19617
19730
  }
19618
19731
  ]
19619
19732
  },
19620
- "IBooleanFormatterProps": {
19621
- "name": "IBooleanFormatterProps",
19622
- "moduleName": "ui/format/BooleanFormatter/BooleanFormatter",
19733
+ "ITimeRangeFieldProps": {
19734
+ "name": "ITimeRangeFieldProps",
19735
+ "moduleName": "ui/form/TimeRangeField/TimeRangeField",
19623
19736
  "title": "",
19624
19737
  "description": "",
19625
19738
  "tags": {},
19626
19739
  "defaultProps": null,
19627
- "extends": [],
19740
+ "extends": [
19741
+ "IDateInputStateInput",
19742
+ "Omit<IFieldWrapperInputProps",
19743
+ "'attribute'>",
19744
+ "IUiComponent"
19745
+ ],
19628
19746
  "properties": [
19629
19747
  {
19630
- "name": "value",
19748
+ "name": "attribute",
19631
19749
  "decorators": [],
19632
- "description": "Значение для BooleanFormatter",
19750
+ "description": "Аттрибут (название) поля в форме",
19633
19751
  "required": false,
19634
- "type": "string | number | boolean",
19635
- "example": null
19752
+ "type": "string",
19753
+ "example": "'isVisible'"
19636
19754
  },
19637
19755
  {
19638
- "name": "view",
19639
- "decorators": [],
19640
- "description": "Переопределение view React компонента для кастомизации отображения",
19641
- "required": false,
19642
- "type": "React.ReactNode | {}",
19643
- "example": "MyCustomView"
19644
- }
19645
- ]
19646
- },
19647
- "IBooleanFormatterPropsView": {
19648
- "name": "IBooleanFormatterPropsView",
19649
- "moduleName": "ui/format/BooleanFormatter/BooleanFormatter",
19650
- "title": "",
19651
- "description": "",
19652
- "tags": {},
19653
- "defaultProps": null,
19654
- "extends": [],
19655
- "properties": [
19656
- {
19657
- "name": "children",
19756
+ "name": "attributeFrom",
19658
19757
  "decorators": [],
19659
- "description": "",
19758
+ "description": "Аттрибут (название) поля в форме",
19660
19759
  "required": false,
19661
- "type": "ReactNode",
19662
- "example": null
19760
+ "type": "string",
19761
+ "example": "'fromTime'"
19663
19762
  },
19664
19763
  {
19665
- "name": "value",
19764
+ "name": "attributeTo",
19666
19765
  "decorators": [],
19667
- "description": "",
19766
+ "description": "Аттрибут (название) поля в форме",
19668
19767
  "required": false,
19669
- "type": "string | number | boolean",
19670
- "example": null
19671
- }
19672
- ]
19673
- },
19674
- "IDateFormatterProps": {
19675
- "name": "IDateFormatterProps",
19676
- "moduleName": "ui/format/DateFormatter/DateFormatter",
19677
- "title": "",
19678
- "description": "",
19679
- "tags": {},
19680
- "defaultProps": null,
19681
- "extends": [],
19682
- "properties": [
19768
+ "type": "string",
19769
+ "example": "'toTime'"
19770
+ },
19683
19771
  {
19684
- "name": "format",
19772
+ "name": "className",
19685
19773
  "decorators": [],
19686
- "description": "Формат даты",
19774
+ "description": "Дополнительный CSS-класс для элемента отображения",
19687
19775
  "required": false,
19688
19776
  "type": "string",
19689
- "example": "LL"
19777
+ "example": null
19690
19778
  },
19691
19779
  {
19692
- "name": "value",
19780
+ "name": "date",
19693
19781
  "decorators": [],
19694
- "description": "Дата",
19782
+ "description": "",
19695
19783
  "required": false,
19696
19784
  "type": "any",
19697
- "example": "2023-09-11"
19785
+ "example": null
19698
19786
  },
19699
19787
  {
19700
- "name": "view",
19701
- "decorators": [],
19702
- "description": "Переопределение view React компонента для кастомизации отображения колонки",
19703
- "required": false,
19704
- "type": "React.ReactNode | {}",
19705
- "example": "MyCustomView"
19706
- }
19707
- ]
19708
- },
19709
- "IDateTimeFormatterProps": {
19710
- "name": "IDateTimeFormatterProps",
19711
- "moduleName": "ui/format/DateTimeFormatter/DateTimeFormatter",
19712
- "title": "",
19713
- "description": "",
19714
- "tags": {},
19715
- "defaultProps": null,
19716
- "extends": [],
19717
- "properties": [
19718
- {
19719
- "name": "format",
19788
+ "name": "dateInUTC",
19720
19789
  "decorators": [],
19721
- "description": "Формат даты",
19790
+ "description": "Задано ли значение даты в часовом поясе UTC\n(пример: с бэкенда приходит дата в UTC, но нужно отбразить ее в локальном времени.\nВ этом случае dateInUTC = true, а useUTC = false)",
19722
19791
  "required": false,
19723
- "type": "string",
19724
- "example": "LLL"
19792
+ "type": "boolean",
19793
+ "example": null
19725
19794
  },
19726
19795
  {
19727
- "name": "timeZone",
19796
+ "name": "disabled",
19728
19797
  "decorators": [],
19729
- "description": "Показывать ли дату учитываю временную зону",
19798
+ "description": "Переводит элемент в состояние \"не активен\"",
19730
19799
  "required": false,
19731
- "type": "string | boolean",
19800
+ "type": "boolean",
19732
19801
  "example": "true"
19733
19802
  },
19734
19803
  {
19735
- "name": "value",
19804
+ "name": "displayFormat",
19736
19805
  "decorators": [],
19737
- "description": "Дата",
19806
+ "description": "Формат даты показываемый пользователю",
19738
19807
  "required": false,
19739
- "type": "any",
19740
- "example": "2023-09-11"
19808
+ "type": "string",
19809
+ "example": "DD.MM.YYYY"
19741
19810
  },
19742
19811
  {
19743
- "name": "view",
19812
+ "name": "errors",
19744
19813
  "decorators": [],
19745
- "description": "Переопределение view React компонента для кастомизации отображения колонки",
19814
+ "description": "Ошибки в поле",
19746
19815
  "required": false,
19747
- "type": "React.ReactNode | {}",
19748
- "example": "MyCustomView"
19749
- }
19750
- ]
19751
- },
19752
- "IEnumFormatterProps": {
19753
- "name": "IEnumFormatterProps",
19754
- "moduleName": "ui/format/EnumFormatter/EnumFormatter",
19755
- "title": "",
19756
- "description": "",
19757
- "tags": {},
19758
- "defaultProps": null,
19759
- "extends": [],
19760
- "properties": [
19816
+ "type": "string[]",
19817
+ "example": "['Error text']"
19818
+ },
19761
19819
  {
19762
- "name": "items",
19820
+ "name": "fieldLayoutClassName",
19763
19821
  "decorators": [],
19764
- "description": "Перечисление элементов.\n1) Может быть строкой вида: `app.geo.enums.Cities`\n2) Массивом: [{id: 1, label: \"London\"}]",
19822
+ "description": "Дополнительный CSS-класс для обертки FieldLayout",
19765
19823
  "required": false,
19766
- "type": "string | {} | string | number | {id: string | number | boolean, label: string | any}[]",
19824
+ "type": "string",
19767
19825
  "example": null
19768
19826
  },
19769
19827
  {
19770
- "name": "value",
19828
+ "name": "hint",
19771
19829
  "decorators": [],
19772
- "description": "Уникальный идентификатор элемента из `items`",
19830
+ "description": "Подсказка, которая отобразится рядом с полем",
19773
19831
  "required": false,
19774
- "type": "string | number",
19775
- "example": "unique label"
19832
+ "type": "string",
19833
+ "example": "'Only english letters'"
19776
19834
  },
19777
19835
  {
19778
- "name": "view",
19836
+ "name": "icon",
19779
19837
  "decorators": [],
19780
- "description": "Переопределение view React компонента для кастомизации отображения колонки",
19838
+ "description": "Иконка, отображаемая в правой части поля",
19839
+ "required": false,
19840
+ "type": "string | boolean",
19841
+ "example": "calendar-day"
19842
+ },
19843
+ {
19844
+ "name": "id",
19845
+ "decorators": [],
19846
+ "description": "Input ID для связи поля с label",
19847
+ "required": false,
19848
+ "type": "string",
19849
+ "example": null
19850
+ },
19851
+ {
19852
+ "name": "input",
19853
+ "decorators": [],
19854
+ "description": "Свойства поля props.input",
19855
+ "required": false,
19856
+ "type": "{name: string, onChange: {}, value: any}",
19857
+ "example": null
19858
+ },
19859
+ {
19860
+ "name": "inputProps",
19861
+ "decorators": [],
19862
+ "description": "Свойства, передаваемые для поля во view",
19863
+ "required": false,
19864
+ "type": "Record",
19865
+ "example": null
19866
+ },
19867
+ {
19868
+ "name": "inputPropsFrom",
19869
+ "decorators": [],
19870
+ "description": "Свойства для input элемента from",
19871
+ "required": false,
19872
+ "type": "any",
19873
+ "example": null
19874
+ },
19875
+ {
19876
+ "name": "inputPropsTo",
19877
+ "decorators": [],
19878
+ "description": "Свойства для input элемента to",
19879
+ "required": false,
19880
+ "type": "any",
19881
+ "example": null
19882
+ },
19883
+ {
19884
+ "name": "isRenderWithoutFieldLayout",
19885
+ "decorators": [],
19886
+ "description": "Возможность отрендерить поле без обертки в компонент FieldLayout",
19887
+ "required": false,
19888
+ "type": "boolean",
19889
+ "example": null
19890
+ },
19891
+ {
19892
+ "name": "label",
19893
+ "decorators": [],
19894
+ "description": "Название поля либо отмена отображение поля (false)",
19895
+ "required": false,
19896
+ "type": "any",
19897
+ "example": "'Visible'"
19898
+ },
19899
+ {
19900
+ "name": "model",
19901
+ "decorators": [],
19902
+ "description": "Модель с полями формы",
19903
+ "required": false,
19904
+ "type": "any",
19905
+ "example": "{attributes: [{attribute: 'category', field: 'DropDownField'}]}"
19906
+ },
19907
+ {
19908
+ "name": "onChange",
19909
+ "decorators": [],
19910
+ "description": "Дополнительная функция, срабатывающая при изменении props.input",
19911
+ "required": false,
19912
+ "type": "{}",
19913
+ "example": null
19914
+ },
19915
+ {
19916
+ "name": "pickerProps",
19917
+ "decorators": [],
19918
+ "description": "Свойства для компонента DayPickerInput",
19919
+ "required": false,
19920
+ "type": "any",
19921
+ "example": "{dayPickerProps: {showWeekNumbers: true}}"
19922
+ },
19923
+ {
19924
+ "name": "placeholder",
19925
+ "decorators": [],
19926
+ "description": "Placeholder подсказка",
19927
+ "required": false,
19928
+ "type": "any",
19929
+ "example": "Your text..."
19930
+ },
19931
+ {
19932
+ "name": "prefix",
19933
+ "decorators": [],
19934
+ "description": "Префикс, который добавится к аттрибуту (названию) поля в форме",
19935
+ "required": false,
19936
+ "type": "string | boolean",
19937
+ "example": null
19938
+ },
19939
+ {
19940
+ "name": "required",
19941
+ "decorators": [],
19942
+ "description": "Обязательное ли поле? Если true, то к названию будет добавлен\nмодификатор 'required' - красная звездочка (по умолчанию)",
19943
+ "required": false,
19944
+ "type": "boolean",
19945
+ "example": "true"
19946
+ },
19947
+ {
19948
+ "name": "showRemove",
19949
+ "decorators": [],
19950
+ "description": "Показывать при наведении на поле иконку для сброса значения поля в начальное состояние",
19951
+ "required": false,
19952
+ "type": "boolean",
19953
+ "example": null
19954
+ },
19955
+ {
19956
+ "name": "size",
19957
+ "decorators": [],
19958
+ "description": "Размер поля",
19959
+ "required": false,
19960
+ "type": "string",
19961
+ "example": null
19962
+ },
19963
+ {
19964
+ "name": "style",
19965
+ "decorators": [],
19966
+ "description": "Объект CSS стилей",
19967
+ "required": false,
19968
+ "type": "CSSProperties",
19969
+ "example": "{width: '45%'}"
19970
+ },
19971
+ {
19972
+ "name": "timePanelViewProps",
19973
+ "decorators": [],
19974
+ "description": "Свойства для компонента панели времени",
19975
+ "required": false,
19976
+ "type": "any",
19977
+ "example": null
19978
+ },
19979
+ {
19980
+ "name": "useUTC",
19981
+ "decorators": [],
19982
+ "description": "Приводить значение даты к часовому поясу UTC\n(пример: с бэкенда приходит дата в какой-либо временной зоне (не UTC), но нужно отбразить ее\nв часовом поясе UTC. В этом случае dateInUTC = false, а useUTC = true)",
19983
+ "required": false,
19984
+ "type": "boolean",
19985
+ "example": null
19986
+ },
19987
+ {
19988
+ "name": "value",
19989
+ "decorators": [],
19990
+ "description": "Значение для поля",
19991
+ "required": false,
19992
+ "type": "any",
19993
+ "example": null
19994
+ },
19995
+ {
19996
+ "name": "valueFormat",
19997
+ "decorators": [],
19998
+ "description": "Формат даты отправляемый на сервер",
19999
+ "required": false,
20000
+ "type": "string",
20001
+ "example": "YYYY-MM-DD"
20002
+ },
20003
+ {
20004
+ "name": "view",
20005
+ "decorators": [],
20006
+ "description": "Переопределение view React компонента для кастомизации отображения",
20007
+ "required": false,
20008
+ "type": "React.ReactNode | {}",
20009
+ "example": "MyCustomView"
20010
+ },
20011
+ {
20012
+ "name": "viewProps",
20013
+ "decorators": [],
20014
+ "description": "Свойства для view компонента",
20015
+ "required": false,
20016
+ "type": "Record",
20017
+ "example": null
20018
+ }
20019
+ ]
20020
+ },
20021
+ "ITimeRangeFieldViewProps": {
20022
+ "name": "ITimeRangeFieldViewProps",
20023
+ "moduleName": "ui/form/TimeRangeField/TimeRangeField",
20024
+ "title": "",
20025
+ "description": "",
20026
+ "tags": {},
20027
+ "defaultProps": null,
20028
+ "extends": [
20029
+ "IDateInputStateOutput",
20030
+ "Pick<ITimeRangeFieldProps",
20031
+ "'size' | 'errors' | 'showRemove' | 'className' | 'timePanelViewProps' | 'disabled' | 'style' | 'icon'>",
20032
+ "Omit<IFieldWrapperOutputProps",
20033
+ "'input'>"
20034
+ ],
20035
+ "properties": [
20036
+ {
20037
+ "name": "className",
20038
+ "decorators": [],
20039
+ "description": "Дополнительный CSS-класс для элемента отображения",
20040
+ "required": false,
20041
+ "type": "string",
20042
+ "example": null
20043
+ },
20044
+ {
20045
+ "name": "componentId",
20046
+ "decorators": [],
20047
+ "description": "Id компонента",
20048
+ "required": false,
20049
+ "type": "string",
20050
+ "example": null
20051
+ },
20052
+ {
20053
+ "name": "disabled",
20054
+ "decorators": [],
20055
+ "description": "Переводит элемент в состояние \"не активен\"",
20056
+ "required": false,
20057
+ "type": "boolean",
20058
+ "example": "true"
20059
+ },
20060
+ {
20061
+ "name": "errors",
20062
+ "decorators": [],
20063
+ "description": "Ошибки в поле",
20064
+ "required": false,
20065
+ "type": "string[]",
20066
+ "example": "['Error text']"
20067
+ },
20068
+ {
20069
+ "name": "errorsFrom",
20070
+ "decorators": [],
20071
+ "description": "",
20072
+ "required": false,
20073
+ "type": "string[]",
20074
+ "example": null
20075
+ },
20076
+ {
20077
+ "name": "errorsTo",
20078
+ "decorators": [],
20079
+ "description": "",
20080
+ "required": false,
20081
+ "type": "string[]",
20082
+ "example": null
20083
+ },
20084
+ {
20085
+ "name": "formId",
20086
+ "decorators": [],
20087
+ "description": "Id формы",
20088
+ "required": false,
20089
+ "type": "string",
20090
+ "example": null
20091
+ },
20092
+ {
20093
+ "name": "icon",
20094
+ "decorators": [],
20095
+ "description": "Иконка, отображаемая в правой части поля",
20096
+ "required": false,
20097
+ "type": "string | boolean",
20098
+ "example": "calendar-day"
20099
+ },
20100
+ {
20101
+ "name": "inputFrom",
20102
+ "decorators": [],
20103
+ "description": "",
20104
+ "required": false,
20105
+ "type": "any",
20106
+ "example": null
20107
+ },
20108
+ {
20109
+ "name": "inputProps",
20110
+ "decorators": [],
20111
+ "description": "Свойства для поля во view",
20112
+ "required": true,
20113
+ "type": "{name: string, onChange: {}, value: any}",
20114
+ "example": null
20115
+ },
20116
+ {
20117
+ "name": "inputTo",
20118
+ "decorators": [],
20119
+ "description": "",
20120
+ "required": false,
20121
+ "type": "any",
20122
+ "example": null
20123
+ },
20124
+ {
20125
+ "name": "isOpened",
20126
+ "decorators": [],
20127
+ "description": "Показать или скрыть выпадающую панель",
20128
+ "required": false,
20129
+ "type": "boolean",
20130
+ "example": null
20131
+ },
20132
+ {
20133
+ "name": "onClear",
20134
+ "decorators": [],
20135
+ "description": "Функция очищает значение поля",
20136
+ "required": false,
20137
+ "type": "{}",
20138
+ "example": null
20139
+ },
20140
+ {
20141
+ "name": "onClose",
20142
+ "decorators": [],
20143
+ "description": "Функция закрывает выпадающую панель",
20144
+ "required": false,
20145
+ "type": "{}",
20146
+ "example": null
20147
+ },
20148
+ {
20149
+ "name": "onNow",
20150
+ "decorators": [],
20151
+ "description": "Функция возвращает текущее значение времени (дата + время)",
20152
+ "required": false,
20153
+ "type": "{}",
20154
+ "example": null
20155
+ },
20156
+ {
20157
+ "name": "showRemove",
20158
+ "decorators": [],
20159
+ "description": "Показывать при наведении на поле иконку для сброса значения поля в начальное состояние",
20160
+ "required": false,
20161
+ "type": "boolean",
20162
+ "example": null
20163
+ },
20164
+ {
20165
+ "name": "size",
20166
+ "decorators": [],
20167
+ "description": "Размер поля",
20168
+ "required": false,
20169
+ "type": "string",
20170
+ "example": null
20171
+ },
20172
+ {
20173
+ "name": "style",
20174
+ "decorators": [],
20175
+ "description": "Объект CSS стилей",
20176
+ "required": false,
20177
+ "type": "CSSProperties",
20178
+ "example": "{width: '45%'}"
20179
+ },
20180
+ {
20181
+ "name": "timePanelFromViewProps",
20182
+ "decorators": [],
20183
+ "description": "",
20184
+ "required": true,
20185
+ "type": "ITimePanelViewProps",
20186
+ "example": null
20187
+ },
20188
+ {
20189
+ "name": "timePanelToViewProps",
20190
+ "decorators": [],
20191
+ "description": "",
20192
+ "required": true,
20193
+ "type": "ITimePanelViewProps",
20194
+ "example": null
20195
+ },
20196
+ {
20197
+ "name": "timePanelViewProps",
20198
+ "decorators": [],
20199
+ "description": "Свойства для компонента панели времени",
20200
+ "required": false,
20201
+ "type": "any",
20202
+ "example": null
20203
+ }
20204
+ ]
20205
+ },
20206
+ "IBooleanFormatterProps": {
20207
+ "name": "IBooleanFormatterProps",
20208
+ "moduleName": "ui/format/BooleanFormatter/BooleanFormatter",
20209
+ "title": "",
20210
+ "description": "",
20211
+ "tags": {},
20212
+ "defaultProps": null,
20213
+ "extends": [],
20214
+ "properties": [
20215
+ {
20216
+ "name": "value",
20217
+ "decorators": [],
20218
+ "description": "Значение для BooleanFormatter",
20219
+ "required": false,
20220
+ "type": "string | number | boolean",
20221
+ "example": null
20222
+ },
20223
+ {
20224
+ "name": "view",
20225
+ "decorators": [],
20226
+ "description": "Переопределение view React компонента для кастомизации отображения",
20227
+ "required": false,
20228
+ "type": "React.ReactNode | {}",
20229
+ "example": "MyCustomView"
20230
+ }
20231
+ ]
20232
+ },
20233
+ "IBooleanFormatterPropsView": {
20234
+ "name": "IBooleanFormatterPropsView",
20235
+ "moduleName": "ui/format/BooleanFormatter/BooleanFormatter",
20236
+ "title": "",
20237
+ "description": "",
20238
+ "tags": {},
20239
+ "defaultProps": null,
20240
+ "extends": [],
20241
+ "properties": [
20242
+ {
20243
+ "name": "children",
20244
+ "decorators": [],
20245
+ "description": "",
20246
+ "required": false,
20247
+ "type": "ReactNode",
20248
+ "example": null
20249
+ },
20250
+ {
20251
+ "name": "value",
20252
+ "decorators": [],
20253
+ "description": "",
20254
+ "required": false,
20255
+ "type": "string | number | boolean",
20256
+ "example": null
20257
+ }
20258
+ ]
20259
+ },
20260
+ "IDateFormatterProps": {
20261
+ "name": "IDateFormatterProps",
20262
+ "moduleName": "ui/format/DateFormatter/DateFormatter",
20263
+ "title": "",
20264
+ "description": "",
20265
+ "tags": {},
20266
+ "defaultProps": null,
20267
+ "extends": [],
20268
+ "properties": [
20269
+ {
20270
+ "name": "format",
20271
+ "decorators": [],
20272
+ "description": "Формат даты",
20273
+ "required": false,
20274
+ "type": "string",
20275
+ "example": "LL"
20276
+ },
20277
+ {
20278
+ "name": "value",
20279
+ "decorators": [],
20280
+ "description": "Дата",
20281
+ "required": false,
20282
+ "type": "any",
20283
+ "example": "2023-09-11"
20284
+ },
20285
+ {
20286
+ "name": "view",
20287
+ "decorators": [],
20288
+ "description": "Переопределение view React компонента для кастомизации отображения колонки",
20289
+ "required": false,
20290
+ "type": "React.ReactNode | {}",
20291
+ "example": "MyCustomView"
20292
+ }
20293
+ ]
20294
+ },
20295
+ "IDateTimeFormatterProps": {
20296
+ "name": "IDateTimeFormatterProps",
20297
+ "moduleName": "ui/format/DateTimeFormatter/DateTimeFormatter",
20298
+ "title": "",
20299
+ "description": "",
20300
+ "tags": {},
20301
+ "defaultProps": null,
20302
+ "extends": [],
20303
+ "properties": [
20304
+ {
20305
+ "name": "format",
20306
+ "decorators": [],
20307
+ "description": "Формат даты",
20308
+ "required": false,
20309
+ "type": "string",
20310
+ "example": "LLL"
20311
+ },
20312
+ {
20313
+ "name": "timeZone",
20314
+ "decorators": [],
20315
+ "description": "Показывать ли дату учитываю временную зону",
20316
+ "required": false,
20317
+ "type": "string | boolean",
20318
+ "example": "true"
20319
+ },
20320
+ {
20321
+ "name": "value",
20322
+ "decorators": [],
20323
+ "description": "Дата",
20324
+ "required": false,
20325
+ "type": "any",
20326
+ "example": "2023-09-11"
20327
+ },
20328
+ {
20329
+ "name": "view",
20330
+ "decorators": [],
20331
+ "description": "Переопределение view React компонента для кастомизации отображения колонки",
20332
+ "required": false,
20333
+ "type": "React.ReactNode | {}",
20334
+ "example": "MyCustomView"
20335
+ }
20336
+ ]
20337
+ },
20338
+ "IEnumFormatterProps": {
20339
+ "name": "IEnumFormatterProps",
20340
+ "moduleName": "ui/format/EnumFormatter/EnumFormatter",
20341
+ "title": "",
20342
+ "description": "",
20343
+ "tags": {},
20344
+ "defaultProps": null,
20345
+ "extends": [],
20346
+ "properties": [
20347
+ {
20348
+ "name": "items",
20349
+ "decorators": [],
20350
+ "description": "Перечисление элементов.\n1) Может быть строкой вида: `app.geo.enums.Cities`\n2) Массивом: [{id: 1, label: \"London\"}]",
20351
+ "required": false,
20352
+ "type": "string | {} | string | number | {id: string | number | boolean, label: string | any}[]",
20353
+ "example": null
20354
+ },
20355
+ {
20356
+ "name": "value",
20357
+ "decorators": [],
20358
+ "description": "Уникальный идентификатор элемента из `items`",
20359
+ "required": false,
20360
+ "type": "string | number",
20361
+ "example": "unique label"
20362
+ },
20363
+ {
20364
+ "name": "view",
20365
+ "decorators": [],
20366
+ "description": "Переопределение view React компонента для кастомизации отображения колонки",
19781
20367
  "required": false,
19782
20368
  "type": "React.ReactNode | {}",
19783
20369
  "example": "MyCustomView"
@@ -19961,17 +20547,9 @@
19961
20547
  {
19962
20548
  "name": "className",
19963
20549
  "decorators": [],
19964
- "description": "Дополнительный CSS-класс для элемента отображения",
19965
- "required": false,
19966
- "type": "string",
19967
- "example": null
19968
- },
19969
- {
19970
- "name": "dark",
19971
- "decorators": [],
19972
- "description": "Темная тема",
20550
+ "description": "Дополнительный CSS-класс для элемента отображения",
19973
20551
  "required": false,
19974
- "type": "boolean",
20552
+ "type": "string",
19975
20553
  "example": null
19976
20554
  },
19977
20555
  {
@@ -20943,233 +21521,516 @@
20943
21521
  "description": "",
20944
21522
  "tags": {},
20945
21523
  "defaultProps": null,
20946
- "extends": [
20947
- "IButtonProps"
20948
- ],
21524
+ "extends": [
21525
+ "IButtonProps"
21526
+ ],
21527
+ "properties": [
21528
+ {
21529
+ "name": "badge",
21530
+ "decorators": [],
21531
+ "description": "Цифра (к примеру, новые сообщения)",
21532
+ "required": false,
21533
+ "type": "number | IButtonBadge",
21534
+ "example": null
21535
+ },
21536
+ {
21537
+ "name": "block",
21538
+ "decorators": [],
21539
+ "description": "Включает стиль `block`, делая размер кнопки на 100% ширины блока",
21540
+ "required": false,
21541
+ "type": "boolean",
21542
+ "example": "true"
21543
+ },
21544
+ {
21545
+ "name": "children",
21546
+ "decorators": [],
21547
+ "description": "Вложенные элементы",
21548
+ "required": false,
21549
+ "type": "any",
21550
+ "example": null
21551
+ },
21552
+ {
21553
+ "name": "className",
21554
+ "decorators": [],
21555
+ "description": "Дополнительный CSS-класс для элемента отображения",
21556
+ "required": false,
21557
+ "type": "string",
21558
+ "example": null
21559
+ },
21560
+ {
21561
+ "name": "color",
21562
+ "decorators": [],
21563
+ "description": "Цвет состояния",
21564
+ "required": false,
21565
+ "type": "string",
21566
+ "example": "success"
21567
+ },
21568
+ {
21569
+ "name": "confirm",
21570
+ "decorators": [],
21571
+ "description": "При указании данного свойства, после нажатия на кнопку и до выполнения действия будет отображено нативное\nокно с текстом подтверждения - `window.confirm('Ваш текст')`.",
21572
+ "required": false,
21573
+ "type": "string",
21574
+ "example": "Удалить запись #512?"
21575
+ },
21576
+ {
21577
+ "name": "dark",
21578
+ "decorators": [],
21579
+ "description": "Темная тема",
21580
+ "required": false,
21581
+ "type": "boolean",
21582
+ "example": null
21583
+ },
21584
+ {
21585
+ "name": "disabled",
21586
+ "decorators": [],
21587
+ "description": "Переводит кнопку в состояние \"не активна\"",
21588
+ "required": false,
21589
+ "type": "boolean",
21590
+ "example": "true"
21591
+ },
21592
+ {
21593
+ "name": "formId",
21594
+ "decorators": [],
21595
+ "description": "ID формы, для которой кнопка выполняет submit. При указании ID формы кнопка будет показывать состояние загрузки\nпри отправке формы.",
21596
+ "required": false,
21597
+ "type": "string | boolean",
21598
+ "example": null
21599
+ },
21600
+ {
21601
+ "name": "hint",
21602
+ "decorators": [],
21603
+ "description": "Подсказка, отображается при наведении (через тег title)",
21604
+ "required": false,
21605
+ "type": "any",
21606
+ "example": "Save"
21607
+ },
21608
+ {
21609
+ "name": "icon",
21610
+ "decorators": [],
21611
+ "description": "Иконка",
21612
+ "required": false,
21613
+ "type": "string",
21614
+ "example": null
21615
+ },
21616
+ {
21617
+ "name": "isFailed",
21618
+ "decorators": [],
21619
+ "description": "Отобразить кнопку в состоянии неуспешного нажатия (например, при неуспешном ajax запросе)",
21620
+ "required": false,
21621
+ "type": "boolean",
21622
+ "example": "true"
21623
+ },
21624
+ {
21625
+ "name": "isLoading",
21626
+ "decorators": [],
21627
+ "description": "Отображать индикатор загрузки?",
21628
+ "required": false,
21629
+ "type": "boolean",
21630
+ "example": "true"
21631
+ },
21632
+ {
21633
+ "name": "label",
21634
+ "decorators": [],
21635
+ "description": "Текст кнопки или ссылки",
21636
+ "required": false,
21637
+ "type": "any",
21638
+ "example": "Save"
21639
+ },
21640
+ {
21641
+ "name": "link",
21642
+ "decorators": [],
21643
+ "description": "Отображать как ссылку?",
21644
+ "required": false,
21645
+ "type": "boolean",
21646
+ "example": "true"
21647
+ },
21648
+ {
21649
+ "name": "onClick",
21650
+ "decorators": [],
21651
+ "description": "Обработчик события нажатия. Для асинхронных событий вовзращяйте в обработчике `Promise`, тогда кнопка\nавтоматически будет переключаться в режим загрузки (`loading`) на время выполнения `Promise`.",
21652
+ "required": false,
21653
+ "type": "{}",
21654
+ "example": null
21655
+ },
21656
+ {
21657
+ "name": "outline",
21658
+ "decorators": [],
21659
+ "description": "Включает стиль `outline`, когда у кнопки остается только `border`, а цвет кнопки становится прозрачным",
21660
+ "required": false,
21661
+ "type": "boolean",
21662
+ "example": "true"
21663
+ },
21664
+ {
21665
+ "name": "resetFailedMs",
21666
+ "decorators": [],
21667
+ "description": "Через сколько миллисекунд должно исчезнуть состояние \"failed\"",
21668
+ "required": false,
21669
+ "type": "number",
21670
+ "example": "5000"
21671
+ },
21672
+ {
21673
+ "name": "rule",
21674
+ "decorators": [],
21675
+ "description": "",
21676
+ "required": false,
21677
+ "type": "string",
21678
+ "example": null
21679
+ },
21680
+ {
21681
+ "name": "size",
21682
+ "decorators": [],
21683
+ "description": "Размер",
21684
+ "required": false,
21685
+ "type": "string",
21686
+ "example": null
21687
+ },
21688
+ {
21689
+ "name": "style",
21690
+ "decorators": [],
21691
+ "description": "Объект CSS стилей",
21692
+ "required": false,
21693
+ "type": "CSSProperties",
21694
+ "example": "{width: '45%'}"
21695
+ },
21696
+ {
21697
+ "name": "tag",
21698
+ "decorators": [],
21699
+ "description": "Выбор html-тэга, который будет вставлен в DOM",
21700
+ "required": false,
21701
+ "type": "\"button\" | \"a\"",
21702
+ "example": "button"
21703
+ },
21704
+ {
21705
+ "name": "target",
21706
+ "decorators": [],
21707
+ "description": "HTML аттрибут `target`, доступен только для ссылок",
21708
+ "required": false,
21709
+ "type": "string",
21710
+ "example": "_blank"
21711
+ },
21712
+ {
21713
+ "name": "textColor",
21714
+ "decorators": [],
21715
+ "description": "Цвет текста кнопки или ссылки",
21716
+ "required": false,
21717
+ "type": "any",
21718
+ "example": null
21719
+ },
21720
+ {
21721
+ "name": "toRoute",
21722
+ "decorators": [],
21723
+ "description": "ID роута, на который необходимо перейти, указанный в дереве `steroids` роутинга. Для передачи параметров\nиспользуйте свойство `toRouteParams`",
21724
+ "required": false,
21725
+ "type": "string",
21726
+ "example": "profile"
21727
+ },
21728
+ {
21729
+ "name": "toRouteParams",
21730
+ "decorators": [],
21731
+ "description": "Параметры роута, на который необходимо перейти, см. свойство `toRoute`.",
21732
+ "required": false,
21733
+ "type": "Record",
21734
+ "example": "{userId: 52}"
21735
+ },
21736
+ {
21737
+ "name": "type",
21738
+ "decorators": [],
21739
+ "description": "HTML Тип",
21740
+ "required": false,
21741
+ "type": "\"button\" | \"submit\"",
21742
+ "example": "submit"
21743
+ },
21744
+ {
21745
+ "name": "url",
21746
+ "decorators": [],
21747
+ "description": "Ссылка на внешнюю страницу, используется совместно с свойством `link`",
21748
+ "required": false,
21749
+ "type": "string",
21750
+ "example": "https://kozhindev.com"
21751
+ },
21752
+ {
21753
+ "name": "view",
21754
+ "decorators": [],
21755
+ "description": "Переопределение view React компонента для кастомизации отображения",
21756
+ "required": false,
21757
+ "type": "React.ReactNode | {}",
21758
+ "example": "MyCustomView"
21759
+ },
21760
+ {
21761
+ "name": "visible",
21762
+ "decorators": [],
21763
+ "description": "",
21764
+ "required": false,
21765
+ "type": "boolean",
21766
+ "example": null
21767
+ }
21768
+ ]
21769
+ },
21770
+ "IControlsColumnProps": {
21771
+ "name": "IControlsColumnProps",
21772
+ "moduleName": "ui/list/ControlsColumn/ControlsColumn",
21773
+ "title": "ControlsColumn",
21774
+ "description": "Колонка для контролов",
21775
+ "tags": {},
21776
+ "defaultProps": null,
21777
+ "extends": [],
20949
21778
  "properties": [
20950
21779
  {
20951
- "name": "badge",
20952
- "decorators": [],
20953
- "description": "Цифра (к примеру, новые сообщения)",
20954
- "required": false,
20955
- "type": "number | IButtonBadge",
20956
- "example": null
20957
- },
20958
- {
20959
- "name": "block",
21780
+ "name": "controls",
20960
21781
  "decorators": [],
20961
- "description": "Включает стиль `block`, делая размер кнопки на 100% ширины блока",
21782
+ "description": "Коллекция с контролами",
20962
21783
  "required": false,
20963
- "type": "boolean",
20964
- "example": "true"
21784
+ "type": "IControlItem[] | {}",
21785
+ "example": "[{id: 'delete'}, {id: 'view', position: 'left'}]"
20965
21786
  },
20966
21787
  {
20967
- "name": "children",
21788
+ "name": "item",
20968
21789
  "decorators": [],
20969
- "description": "Вложенные элементы",
21790
+ "description": "Элемент, для которого будет отображаться список с контролами, в нём можно задать видимость контрола\nс помощью свойства 'can' + _upperFirst(control.id)",
20970
21791
  "required": false,
20971
21792
  "type": "any",
20972
- "example": null
21793
+ "example": "{name: 'Ivan', work: 'development', canView: false}"
20973
21794
  },
20974
21795
  {
20975
- "name": "className",
21796
+ "name": "primaryKey",
20976
21797
  "decorators": [],
20977
- "description": "Дополнительный CSS-класс для элемента отображения",
21798
+ "description": "Первичный ключ",
20978
21799
  "required": false,
20979
21800
  "type": "string",
20980
21801
  "example": null
20981
21802
  },
20982
21803
  {
20983
- "name": "color",
21804
+ "name": "view",
20984
21805
  "decorators": [],
20985
- "description": "Цвет состояния",
21806
+ "description": "Переопределение view React компонента для кастомизации отображения колонки",
20986
21807
  "required": false,
20987
- "type": "string",
20988
- "example": "success"
20989
- },
21808
+ "type": "React.ReactNode | {}",
21809
+ "example": "MyCustomView"
21810
+ }
21811
+ ]
21812
+ },
21813
+ "IControlsColumnViewProps": {
21814
+ "name": "IControlsColumnViewProps",
21815
+ "moduleName": "ui/list/ControlsColumn/ControlsColumn",
21816
+ "title": "",
21817
+ "description": "",
21818
+ "tags": {},
21819
+ "defaultProps": null,
21820
+ "extends": [],
21821
+ "properties": [
20990
21822
  {
20991
- "name": "confirm",
21823
+ "name": "items",
20992
21824
  "decorators": [],
20993
- "description": "При указании данного свойства, после нажатия на кнопку и до выполнения действия будет отображено нативное\nокно с текстом подтверждения - `window.confirm('Ваш текст')`.",
20994
- "required": false,
20995
- "type": "string",
20996
- "example": "Удалить запись #512?"
20997
- },
21825
+ "description": "",
21826
+ "required": true,
21827
+ "type": "IControlsColumnItem[]",
21828
+ "example": null
21829
+ }
21830
+ ]
21831
+ },
21832
+ "IEmptyProps": {
21833
+ "name": "IEmptyProps",
21834
+ "moduleName": "ui/list/Empty/Empty",
21835
+ "title": "Empty",
21836
+ "description": "Компонент используется в качестве заглушки в случае, когда пришла пустая коллекция данных.",
21837
+ "tags": {},
21838
+ "defaultProps": null,
21839
+ "extends": [
21840
+ "IUiComponent"
21841
+ ],
21842
+ "properties": [
20998
21843
  {
20999
- "name": "dark",
21844
+ "name": "className",
21000
21845
  "decorators": [],
21001
- "description": "Темная тема",
21846
+ "description": "Дополнительный CSS-класс для элемента отображения",
21002
21847
  "required": false,
21003
- "type": "boolean",
21848
+ "type": "string",
21004
21849
  "example": null
21005
21850
  },
21006
21851
  {
21007
- "name": "disabled",
21852
+ "name": "enable",
21008
21853
  "decorators": [],
21009
- "description": "Переводит кнопку в состояние \"не активна\"",
21854
+ "description": "Показывать заглушку?",
21010
21855
  "required": false,
21011
21856
  "type": "boolean",
21012
21857
  "example": "true"
21013
21858
  },
21014
21859
  {
21015
- "name": "formId",
21016
- "decorators": [],
21017
- "description": "ID формы, для которой кнопка выполняет submit. При указании ID формы кнопка будет показывать состояние загрузки\nпри отправке формы.",
21018
- "required": false,
21019
- "type": "string | boolean",
21020
- "example": null
21021
- },
21022
- {
21023
- "name": "hint",
21860
+ "name": "style",
21024
21861
  "decorators": [],
21025
- "description": "Подсказка, отображается при наведении (через тег title)",
21862
+ "description": "Объект CSS стилей",
21026
21863
  "required": false,
21027
- "type": "any",
21028
- "example": "Save"
21864
+ "type": "CSSProperties",
21865
+ "example": "{width: '45%'}"
21029
21866
  },
21030
21867
  {
21031
- "name": "icon",
21868
+ "name": "text",
21032
21869
  "decorators": [],
21033
- "description": "Иконка",
21870
+ "description": "Текст заглушки",
21034
21871
  "required": false,
21035
- "type": "string",
21036
- "example": null
21872
+ "type": "ReactNode",
21873
+ "example": "'Записи не найдены'"
21037
21874
  },
21038
21875
  {
21039
- "name": "isFailed",
21876
+ "name": "view",
21040
21877
  "decorators": [],
21041
- "description": "Отобразить кнопку в состоянии неуспешного нажатия (например, при неуспешном ajax запросе)",
21878
+ "description": "Переопределение view React компонента для кастомизации отображения",
21042
21879
  "required": false,
21043
- "type": "boolean",
21044
- "example": "true"
21045
- },
21880
+ "type": "React.ReactNode | {}",
21881
+ "example": "MyCustomView"
21882
+ }
21883
+ ]
21884
+ },
21885
+ "IFlexGridItem": {
21886
+ "name": "IFlexGridItem",
21887
+ "moduleName": "ui/list/FlexGrid/FlexGrid",
21888
+ "title": "",
21889
+ "description": "",
21890
+ "tags": {},
21891
+ "defaultProps": null,
21892
+ "extends": [],
21893
+ "properties": [
21046
21894
  {
21047
- "name": "isLoading",
21895
+ "name": "col",
21048
21896
  "decorators": [],
21049
- "description": "Отображать индикатор загрузки?",
21897
+ "description": "Количество колонок, которое занимает элемент, максимум 12",
21050
21898
  "required": false,
21051
- "type": "boolean",
21052
- "example": "true"
21899
+ "type": "number",
21900
+ "example": null
21053
21901
  },
21054
21902
  {
21055
- "name": "label",
21903
+ "name": "content",
21056
21904
  "decorators": [],
21057
- "description": "Текст кнопки или ссылки",
21058
- "required": false,
21059
- "type": "any",
21060
- "example": "Save"
21905
+ "description": "Содержимое элемента FlexGrid",
21906
+ "required": true,
21907
+ "type": "ReactNode",
21908
+ "example": null
21061
21909
  },
21062
21910
  {
21063
- "name": "link",
21911
+ "name": "lg",
21064
21912
  "decorators": [],
21065
- "description": "Отображать как ссылку?",
21913
+ "description": "Количество колонок, которое занимает элемент на экранах размером lg, максимум 12",
21066
21914
  "required": false,
21067
- "type": "boolean",
21068
- "example": "true"
21915
+ "type": "number",
21916
+ "example": null
21069
21917
  },
21070
21918
  {
21071
- "name": "onClick",
21919
+ "name": "md",
21072
21920
  "decorators": [],
21073
- "description": "Обработчик события нажатия. Для асинхронных событий вовзращяйте в обработчике `Promise`, тогда кнопка\nавтоматически будет переключаться в режим загрузки (`loading`) на время выполнения `Promise`.",
21921
+ "description": "Количество колонок, которое занимает элемент на экранах размером md, максимум 12",
21074
21922
  "required": false,
21075
- "type": "{}",
21923
+ "type": "number",
21076
21924
  "example": null
21077
21925
  },
21078
21926
  {
21079
- "name": "outline",
21927
+ "name": "offset",
21080
21928
  "decorators": [],
21081
- "description": "Включает стиль `outline`, когда у кнопки остается только `border`, а цвет кнопки становится прозрачным",
21929
+ "description": "Количество колонок для смещения столбца слева",
21082
21930
  "required": false,
21083
- "type": "boolean",
21084
- "example": "true"
21931
+ "type": "number",
21932
+ "example": null
21085
21933
  },
21086
21934
  {
21087
- "name": "resetFailedMs",
21935
+ "name": "order",
21088
21936
  "decorators": [],
21089
- "description": "Через сколько миллисекунд должно исчезнуть состояние \"failed\"",
21937
+ "description": "Порядок элемента в FlexGrid",
21090
21938
  "required": false,
21091
21939
  "type": "number",
21092
- "example": "5000"
21940
+ "example": null
21093
21941
  },
21094
21942
  {
21095
- "name": "rule",
21943
+ "name": "sm",
21096
21944
  "decorators": [],
21097
- "description": "",
21945
+ "description": "Количество колонок, которое занимает элемент на экранах размером sm, максимум 12",
21098
21946
  "required": false,
21099
- "type": "string",
21947
+ "type": "number",
21100
21948
  "example": null
21101
- },
21949
+ }
21950
+ ]
21951
+ },
21952
+ "IFlexGridProps": {
21953
+ "name": "IFlexGridProps",
21954
+ "moduleName": "ui/list/FlexGrid/FlexGrid",
21955
+ "title": "FlexGrid",
21956
+ "description": "Flex контейнер для элементов и компонентов.",
21957
+ "tags": {},
21958
+ "defaultProps": null,
21959
+ "extends": [
21960
+ "IUiComponent"
21961
+ ],
21962
+ "properties": [
21102
21963
  {
21103
- "name": "size",
21964
+ "name": "align",
21104
21965
  "decorators": [],
21105
- "description": "Размер",
21966
+ "description": "Значение для css-свойства align-items",
21106
21967
  "required": false,
21107
- "type": "string",
21968
+ "type": "\"center\" | \"end\" | \"start\" | \"stretch\" | \"flex-start\" | \"flex-end\"",
21108
21969
  "example": null
21109
21970
  },
21110
21971
  {
21111
- "name": "style",
21972
+ "name": "children",
21112
21973
  "decorators": [],
21113
- "description": "Объект CSS стилей",
21974
+ "description": "Вложенные элементы",
21114
21975
  "required": false,
21115
- "type": "CSSProperties",
21116
- "example": "{width: '45%'}"
21976
+ "type": "ReactNode",
21977
+ "example": null
21117
21978
  },
21118
21979
  {
21119
- "name": "tag",
21980
+ "name": "className",
21120
21981
  "decorators": [],
21121
- "description": "Выбор html-тэга, который будет вставлен в DOM",
21982
+ "description": "Дополнительный CSS-класс для элемента отображения",
21122
21983
  "required": false,
21123
- "type": "\"button\" | \"a\"",
21124
- "example": "button"
21984
+ "type": "string",
21985
+ "example": null
21125
21986
  },
21126
21987
  {
21127
- "name": "target",
21988
+ "name": "direction",
21128
21989
  "decorators": [],
21129
- "description": "HTML аттрибут `target`, доступен только для ссылок",
21990
+ "description": "Значение для css-свойства flex-direction",
21130
21991
  "required": false,
21131
- "type": "string",
21132
- "example": "_blank"
21992
+ "type": "\"column-reverse\" | \"column\" | \"row-reverse\" | \"row\"",
21993
+ "example": null
21133
21994
  },
21134
21995
  {
21135
- "name": "textColor",
21996
+ "name": "gap",
21136
21997
  "decorators": [],
21137
- "description": "Цвет текста кнопки или ссылки",
21998
+ "description": "Расстояние между элементами в px.\nЕсли передано число, то установится расстояние между строками и между колонками.\nЕсли передан массив, то первый элемент - расстояние между колонками, второй - между строками.",
21138
21999
  "required": false,
21139
- "type": "any",
22000
+ "type": "number | number[]",
21140
22001
  "example": null
21141
22002
  },
21142
22003
  {
21143
- "name": "toRoute",
22004
+ "name": "itemClassName",
21144
22005
  "decorators": [],
21145
- "description": "ID роута, на который необходимо перейти, указанный в дереве `steroids` роутинга. Для передачи параметров\nиспользуйте свойство `toRouteParams`",
22006
+ "description": "Дополнительный CSS-класс для элементов FlexGrid",
21146
22007
  "required": false,
21147
22008
  "type": "string",
21148
- "example": "profile"
22009
+ "example": null
21149
22010
  },
21150
22011
  {
21151
- "name": "toRouteParams",
22012
+ "name": "items",
21152
22013
  "decorators": [],
21153
- "description": "Параметры роута, на который необходимо перейти, см. свойство `toRoute`.",
22014
+ "description": "Элементы FlexGrid",
21154
22015
  "required": false,
21155
- "type": "Record",
21156
- "example": "{userId: 52}"
22016
+ "type": "IFlexGridItem[]",
22017
+ "example": "[{content: 'Block1', col: 4}, {content: 'Block2', col: 6}]"
21157
22018
  },
21158
22019
  {
21159
- "name": "type",
22020
+ "name": "justify",
21160
22021
  "decorators": [],
21161
- "description": "HTML Тип",
22022
+ "description": "Значение для css-свойства justify-content",
21162
22023
  "required": false,
21163
- "type": "\"button\" | \"submit\"",
21164
- "example": "submit"
22024
+ "type": "\"left\" | \"right\" | \"center\" | \"end\" | \"start\" | \"stretch\" | \"flex-start\" | \"flex-end\" | \"space-between\" | \"space-around\" | \"space-evenly\"",
22025
+ "example": null
21165
22026
  },
21166
22027
  {
21167
- "name": "url",
22028
+ "name": "style",
21168
22029
  "decorators": [],
21169
- "description": "Ссылка на внешнюю страницу, используется совместно с свойством `link`",
22030
+ "description": "Объект CSS стилей",
21170
22031
  "required": false,
21171
- "type": "string",
21172
- "example": "https://kozhindev.com"
22032
+ "type": "CSSProperties",
22033
+ "example": "{width: '45%'}"
21173
22034
  },
21174
22035
  {
21175
22036
  "name": "view",
@@ -21180,109 +22041,113 @@
21180
22041
  "example": "MyCustomView"
21181
22042
  },
21182
22043
  {
21183
- "name": "visible",
22044
+ "name": "wrap",
21184
22045
  "decorators": [],
21185
- "description": "",
22046
+ "description": "Автоматический перенос на новую строку",
21186
22047
  "required": false,
21187
22048
  "type": "boolean",
21188
22049
  "example": null
21189
22050
  }
21190
22051
  ]
21191
22052
  },
21192
- "IControlsColumnProps": {
21193
- "name": "IControlsColumnProps",
21194
- "moduleName": "ui/list/ControlsColumn/ControlsColumn",
21195
- "title": "ControlsColumn",
21196
- "description": "Колонка для контролов",
22053
+ "IFlexGridViewProps": {
22054
+ "name": "IFlexGridViewProps",
22055
+ "moduleName": "ui/list/FlexGrid/FlexGrid",
22056
+ "title": "",
22057
+ "description": "",
21197
22058
  "tags": {},
21198
22059
  "defaultProps": null,
21199
- "extends": [],
22060
+ "extends": [
22061
+ "IFlexGridProps"
22062
+ ],
21200
22063
  "properties": [
21201
22064
  {
21202
- "name": "controls",
22065
+ "name": "align",
22066
+ "decorators": [],
22067
+ "description": "Значение для css-свойства align-items",
22068
+ "required": false,
22069
+ "type": "\"center\" | \"end\" | \"start\" | \"stretch\" | \"flex-start\" | \"flex-end\"",
22070
+ "example": null
22071
+ },
22072
+ {
22073
+ "name": "children",
22074
+ "decorators": [],
22075
+ "description": "Вложенные элементы",
22076
+ "required": false,
22077
+ "type": "ReactNode",
22078
+ "example": null
22079
+ },
22080
+ {
22081
+ "name": "className",
22082
+ "decorators": [],
22083
+ "description": "Дополнительный CSS-класс для элемента отображения",
22084
+ "required": false,
22085
+ "type": "string",
22086
+ "example": null
22087
+ },
22088
+ {
22089
+ "name": "colGap",
21203
22090
  "decorators": [],
21204
- "description": "Коллекция с контролами",
22091
+ "description": "",
21205
22092
  "required": false,
21206
- "type": "IControlItem[] | {}",
21207
- "example": "[{id: 'delete'}, {id: 'view', position: 'left'}]"
22093
+ "type": "number",
22094
+ "example": null
21208
22095
  },
21209
22096
  {
21210
- "name": "item",
22097
+ "name": "direction",
21211
22098
  "decorators": [],
21212
- "description": "Элемент, для которого будет отображаться список с контролами, в нём можно задать видимость контрола\nс помощью свойства 'can' + _upperFirst(control.id)",
22099
+ "description": "Значение для css-свойства flex-direction",
21213
22100
  "required": false,
21214
- "type": "any",
21215
- "example": "{name: 'Ivan', work: 'development', canView: false}"
22101
+ "type": "\"column-reverse\" | \"column\" | \"row-reverse\" | \"row\"",
22102
+ "example": null
21216
22103
  },
21217
22104
  {
21218
- "name": "primaryKey",
22105
+ "name": "gap",
21219
22106
  "decorators": [],
21220
- "description": "Первичный ключ",
22107
+ "description": "Расстояние между элементами в px.\nЕсли передано число, то установится расстояние между строками и между колонками.\nЕсли передан массив, то первый элемент - расстояние между колонками, второй - между строками.",
21221
22108
  "required": false,
21222
- "type": "string",
22109
+ "type": "number | number[]",
21223
22110
  "example": null
21224
22111
  },
21225
22112
  {
21226
- "name": "view",
22113
+ "name": "itemClassName",
21227
22114
  "decorators": [],
21228
- "description": "Переопределение view React компонента для кастомизации отображения колонки",
22115
+ "description": "Дополнительный CSS-класс для элементов FlexGrid",
21229
22116
  "required": false,
21230
- "type": "React.ReactNode | {}",
21231
- "example": "MyCustomView"
21232
- }
21233
- ]
21234
- },
21235
- "IControlsColumnViewProps": {
21236
- "name": "IControlsColumnViewProps",
21237
- "moduleName": "ui/list/ControlsColumn/ControlsColumn",
21238
- "title": "",
21239
- "description": "",
21240
- "tags": {},
21241
- "defaultProps": null,
21242
- "extends": [],
21243
- "properties": [
22117
+ "type": "string",
22118
+ "example": null
22119
+ },
21244
22120
  {
21245
22121
  "name": "items",
21246
22122
  "decorators": [],
21247
- "description": "",
21248
- "required": true,
21249
- "type": "IControlsColumnItem[]",
21250
- "example": null
21251
- }
21252
- ]
21253
- },
21254
- "IEmptyProps": {
21255
- "name": "IEmptyProps",
21256
- "moduleName": "ui/list/Empty/Empty",
21257
- "title": "Empty",
21258
- "description": "Компонент используется в качестве заглушки в случае, когда пришла пустая коллекция данных.",
21259
- "tags": {},
21260
- "defaultProps": null,
21261
- "extends": [],
21262
- "properties": [
22123
+ "description": "Элементы FlexGrid",
22124
+ "required": false,
22125
+ "type": "IFlexGridItem[]",
22126
+ "example": "[{content: 'Block1', col: 4}, {content: 'Block2', col: 6}]"
22127
+ },
21263
22128
  {
21264
- "name": "className",
22129
+ "name": "justify",
21265
22130
  "decorators": [],
21266
- "description": "Дополнительный CSS-класс для элемента отображения",
22131
+ "description": "Значение для css-свойства justify-content",
21267
22132
  "required": false,
21268
- "type": "string",
22133
+ "type": "\"left\" | \"right\" | \"center\" | \"end\" | \"start\" | \"stretch\" | \"flex-start\" | \"flex-end\" | \"space-between\" | \"space-around\" | \"space-evenly\"",
21269
22134
  "example": null
21270
22135
  },
21271
22136
  {
21272
- "name": "enable",
22137
+ "name": "rowGap",
21273
22138
  "decorators": [],
21274
- "description": "Показывать заглушку?",
22139
+ "description": "",
21275
22140
  "required": false,
21276
- "type": "boolean",
21277
- "example": "true"
22141
+ "type": "number",
22142
+ "example": null
21278
22143
  },
21279
22144
  {
21280
- "name": "text",
22145
+ "name": "style",
21281
22146
  "decorators": [],
21282
- "description": "Текст заглушки",
22147
+ "description": "Объект CSS стилей",
21283
22148
  "required": false,
21284
- "type": "ReactNode",
21285
- "example": "'Записи не найдены'"
22149
+ "type": "CSSProperties",
22150
+ "example": "{width: '45%'}"
21286
22151
  },
21287
22152
  {
21288
22153
  "name": "view",
@@ -21291,6 +22156,14 @@
21291
22156
  "required": false,
21292
22157
  "type": "React.ReactNode | {}",
21293
22158
  "example": "MyCustomView"
22159
+ },
22160
+ {
22161
+ "name": "wrap",
22162
+ "decorators": [],
22163
+ "description": "Автоматический перенос на новую строку",
22164
+ "required": false,
22165
+ "type": "boolean",
22166
+ "example": null
21294
22167
  }
21295
22168
  ]
21296
22169
  },
@@ -22827,7 +23700,9 @@
22827
23700
  "description": "Компонент для выбора количества элементов в списке",
22828
23701
  "tags": {},
22829
23702
  "defaultProps": null,
22830
- "extends": [],
23703
+ "extends": [
23704
+ "IUiComponent"
23705
+ ],
22831
23706
  "properties": [
22832
23707
  {
22833
23708
  "name": "attribute",
@@ -22837,6 +23712,14 @@
22837
23712
  "type": "string",
22838
23713
  "example": "pageSize"
22839
23714
  },
23715
+ {
23716
+ "name": "buttonProps",
23717
+ "decorators": [],
23718
+ "description": "Свойства для кнопок пагинации",
23719
+ "required": false,
23720
+ "type": "IButtonProps",
23721
+ "example": null
23722
+ },
22840
23723
  {
22841
23724
  "name": "className",
22842
23725
  "decorators": [],
@@ -22893,6 +23776,14 @@
22893
23776
  "type": "number[]",
22894
23777
  "example": "[2, 3, 4]"
22895
23778
  },
23779
+ {
23780
+ "name": "style",
23781
+ "decorators": [],
23782
+ "description": "Объект CSS стилей",
23783
+ "required": false,
23784
+ "type": "CSSProperties",
23785
+ "example": "{width: '45%'}"
23786
+ },
22896
23787
  {
22897
23788
  "name": "view",
22898
23789
  "decorators": [],
@@ -22922,6 +23813,14 @@
22922
23813
  "type": "string",
22923
23814
  "example": "pageSize"
22924
23815
  },
23816
+ {
23817
+ "name": "buttonProps",
23818
+ "decorators": [],
23819
+ "description": "Свойства для кнопок пагинации",
23820
+ "required": false,
23821
+ "type": "IButtonProps",
23822
+ "example": null
23823
+ },
22925
23824
  {
22926
23825
  "name": "className",
22927
23826
  "decorators": [],
@@ -22951,7 +23850,7 @@
22951
23850
  "decorators": [],
22952
23851
  "description": "",
22953
23852
  "required": true,
22954
- "type": "{isActive: boolean, label: string | number, size: number}[]",
23853
+ "type": "{id: number, label: string | number}[]",
22955
23854
  "example": null
22956
23855
  },
22957
23856
  {
@@ -22994,6 +23893,14 @@
22994
23893
  "type": "number[]",
22995
23894
  "example": "[2, 3, 4]"
22996
23895
  },
23896
+ {
23897
+ "name": "style",
23898
+ "decorators": [],
23899
+ "description": "Объект CSS стилей",
23900
+ "required": false,
23901
+ "type": "CSSProperties",
23902
+ "example": "{width: '45%'}"
23903
+ },
22997
23904
  {
22998
23905
  "name": "view",
22999
23906
  "decorators": [],
@@ -23696,6 +24603,153 @@
23696
24603
  }
23697
24604
  ]
23698
24605
  },
24606
+ "IButtonGroupProps": {
24607
+ "name": "IButtonGroupProps",
24608
+ "moduleName": "ui/nav/ButtonGroup/ButtonGroup",
24609
+ "title": "",
24610
+ "description": "",
24611
+ "tags": {},
24612
+ "defaultProps": null,
24613
+ "extends": [
24614
+ "IUiComponent"
24615
+ ],
24616
+ "properties": [
24617
+ {
24618
+ "name": "activeButton",
24619
+ "decorators": [],
24620
+ "description": "Активная кнопка",
24621
+ "required": false,
24622
+ "type": "string | number",
24623
+ "example": "'button1'"
24624
+ },
24625
+ {
24626
+ "name": "buttonProps",
24627
+ "decorators": [],
24628
+ "description": "Общие свойства для всех кнопок группы",
24629
+ "required": false,
24630
+ "type": "IButtonProps",
24631
+ "example": "{outline: true, color: 'secondary'}"
24632
+ },
24633
+ {
24634
+ "name": "className",
24635
+ "decorators": [],
24636
+ "description": "Дополнительный CSS-класс для элемента отображения",
24637
+ "required": false,
24638
+ "type": "string",
24639
+ "example": null
24640
+ },
24641
+ {
24642
+ "name": "items",
24643
+ "decorators": [],
24644
+ "description": "Элементы для группы кнопок",
24645
+ "required": true,
24646
+ "type": "string | {} | string | number | {id: string | number | boolean, label: string | any}[]",
24647
+ "example": "['button1', 'button2', 'button3']"
24648
+ },
24649
+ {
24650
+ "name": "onClick",
24651
+ "decorators": [],
24652
+ "description": "Функция, которая будет вызываться при клике по кнопке",
24653
+ "required": true,
24654
+ "type": "{}",
24655
+ "example": "setActiveTab"
24656
+ },
24657
+ {
24658
+ "name": "style",
24659
+ "decorators": [],
24660
+ "description": "Объект CSS стилей",
24661
+ "required": false,
24662
+ "type": "CSSProperties",
24663
+ "example": "{width: '45%'}"
24664
+ },
24665
+ {
24666
+ "name": "view",
24667
+ "decorators": [],
24668
+ "description": "Переопределение view React компонента для кастомизации отображения",
24669
+ "required": false,
24670
+ "type": "React.ReactNode | {}",
24671
+ "example": "MyCustomView"
24672
+ }
24673
+ ]
24674
+ },
24675
+ "IButtonGroupViewProps": {
24676
+ "name": "IButtonGroupViewProps",
24677
+ "moduleName": "ui/nav/ButtonGroup/ButtonGroup",
24678
+ "title": "",
24679
+ "description": "",
24680
+ "tags": {},
24681
+ "defaultProps": null,
24682
+ "extends": [
24683
+ "Omit<IButtonGroupProps",
24684
+ "'items'>"
24685
+ ],
24686
+ "properties": [
24687
+ {
24688
+ "name": "activeButton",
24689
+ "decorators": [],
24690
+ "description": "Активная кнопка",
24691
+ "required": false,
24692
+ "type": "string | number",
24693
+ "example": "'button1'"
24694
+ },
24695
+ {
24696
+ "name": "buttonProps",
24697
+ "decorators": [],
24698
+ "description": "Общие свойства для всех кнопок группы",
24699
+ "required": false,
24700
+ "type": "IButtonProps",
24701
+ "example": "{outline: true, color: 'secondary'}"
24702
+ },
24703
+ {
24704
+ "name": "className",
24705
+ "decorators": [],
24706
+ "description": "Дополнительный CSS-класс для элемента отображения",
24707
+ "required": false,
24708
+ "type": "string",
24709
+ "example": null
24710
+ },
24711
+ {
24712
+ "name": "items",
24713
+ "decorators": [],
24714
+ "description": "",
24715
+ "required": true,
24716
+ "type": "{id: string | number | boolean, label: string}[]",
24717
+ "example": null
24718
+ },
24719
+ {
24720
+ "name": "onClick",
24721
+ "decorators": [],
24722
+ "description": "Функция, которая будет вызываться при клике по кнопке",
24723
+ "required": true,
24724
+ "type": "{}",
24725
+ "example": "setActiveTab"
24726
+ },
24727
+ {
24728
+ "name": "size",
24729
+ "decorators": [],
24730
+ "description": "",
24731
+ "required": true,
24732
+ "type": "string",
24733
+ "example": null
24734
+ },
24735
+ {
24736
+ "name": "style",
24737
+ "decorators": [],
24738
+ "description": "Объект CSS стилей",
24739
+ "required": false,
24740
+ "type": "CSSProperties",
24741
+ "example": "{width: '45%'}"
24742
+ },
24743
+ {
24744
+ "name": "view",
24745
+ "decorators": [],
24746
+ "description": "Переопределение view React компонента для кастомизации отображения",
24747
+ "required": false,
24748
+ "type": "React.ReactNode | {}",
24749
+ "example": "MyCustomView"
24750
+ }
24751
+ ]
24752
+ },
23699
24753
  "IControlItem": {
23700
24754
  "name": "IControlItem",
23701
24755
  "moduleName": "ui/nav/Controls/Controls",
@@ -26485,6 +27539,13 @@
26485
27539
  "description": "",
26486
27540
  "tags": {}
26487
27541
  },
27542
+ "ui/form/TimeRangeField/TimeRangeField": {
27543
+ "name": "default",
27544
+ "moduleName": "ui/form/TimeRangeField/TimeRangeField",
27545
+ "title": "",
27546
+ "description": "",
27547
+ "tags": {}
27548
+ },
26488
27549
  "ui/format/BooleanFormatter/BooleanFormatter": {
26489
27550
  "name": "default",
26490
27551
  "moduleName": "ui/format/BooleanFormatter/BooleanFormatter",
@@ -26597,6 +27658,13 @@
26597
27658
  "description": "",
26598
27659
  "tags": {}
26599
27660
  },
27661
+ "ui/list/FlexGrid/FlexGrid": {
27662
+ "name": "default",
27663
+ "moduleName": "ui/list/FlexGrid/FlexGrid",
27664
+ "title": "",
27665
+ "description": "",
27666
+ "tags": {}
27667
+ },
26600
27668
  "ui/list/Grid/Grid": {
26601
27669
  "name": "default",
26602
27670
  "moduleName": "ui/list/Grid/Grid",
@@ -26674,6 +27742,13 @@
26674
27742
  "description": "",
26675
27743
  "tags": {}
26676
27744
  },
27745
+ "ui/nav/ButtonGroup/ButtonGroup": {
27746
+ "name": "default",
27747
+ "moduleName": "ui/nav/ButtonGroup/ButtonGroup",
27748
+ "title": "",
27749
+ "description": "",
27750
+ "tags": {}
27751
+ },
26677
27752
  "ui/nav/Controls/Controls": {
26678
27753
  "name": "default",
26679
27754
  "moduleName": "ui/nav/Controls/Controls",