@steroidsjs/core 3.0.0-beta.84 → 3.0.0-beta.85
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.
- package/docs-autogen-result.json +402 -66
- package/en.json +5 -2
- package/package.json +1 -1
- package/ui/list/TreeTable/TreeTable.d.ts +4 -0
- package/ui/list/TreeTable/TreeTable.js +4 -0
package/docs-autogen-result.json
CHANGED
|
@@ -1564,6 +1564,14 @@
|
|
|
1564
1564
|
"type": "string | boolean | IEmptyProps",
|
|
1565
1565
|
"example": "{text: 'Записи не найдены'}"
|
|
1566
1566
|
},
|
|
1567
|
+
{
|
|
1568
|
+
"name": "hasTreeItems",
|
|
1569
|
+
"decorators": [],
|
|
1570
|
+
"description": "Включает обработку вложенных данных из items вида [{id: 1, name: 'John', items: [...]}]",
|
|
1571
|
+
"required": false,
|
|
1572
|
+
"type": "boolean",
|
|
1573
|
+
"example": null
|
|
1574
|
+
},
|
|
1567
1575
|
{
|
|
1568
1576
|
"name": "initialItems",
|
|
1569
1577
|
"decorators": [],
|
|
@@ -3862,7 +3870,7 @@
|
|
|
3862
3870
|
"decorators": [],
|
|
3863
3871
|
"description": "Компонент графика из библиотеки nivo",
|
|
3864
3872
|
"required": true,
|
|
3865
|
-
"type": "
|
|
3873
|
+
"type": "any",
|
|
3866
3874
|
"example": "ResponsiveLine"
|
|
3867
3875
|
},
|
|
3868
3876
|
{
|
|
@@ -7744,7 +7752,7 @@
|
|
|
7744
7752
|
"decorators": [],
|
|
7745
7753
|
"description": "Параметры для input элемента",
|
|
7746
7754
|
"required": false,
|
|
7747
|
-
"type": "
|
|
7755
|
+
"type": "IInputParams",
|
|
7748
7756
|
"example": null
|
|
7749
7757
|
},
|
|
7750
7758
|
{
|
|
@@ -8182,7 +8190,7 @@
|
|
|
8182
8190
|
"decorators": [],
|
|
8183
8191
|
"description": "Параметры для input элемента",
|
|
8184
8192
|
"required": false,
|
|
8185
|
-
"type": "
|
|
8193
|
+
"type": "IInputParams",
|
|
8186
8194
|
"example": null
|
|
8187
8195
|
},
|
|
8188
8196
|
{
|
|
@@ -11354,7 +11362,42 @@
|
|
|
11354
11362
|
"decorators": [],
|
|
11355
11363
|
"description": "Параметры для input элемента",
|
|
11356
11364
|
"required": false,
|
|
11357
|
-
"type": "
|
|
11365
|
+
"type": "IInputParams",
|
|
11366
|
+
"example": null
|
|
11367
|
+
}
|
|
11368
|
+
]
|
|
11369
|
+
},
|
|
11370
|
+
"IInputParams": {
|
|
11371
|
+
"name": "IInputParams",
|
|
11372
|
+
"moduleName": "ui/form/Field/fieldWrapper",
|
|
11373
|
+
"title": "",
|
|
11374
|
+
"description": "",
|
|
11375
|
+
"tags": {},
|
|
11376
|
+
"defaultProps": null,
|
|
11377
|
+
"extends": [],
|
|
11378
|
+
"properties": [
|
|
11379
|
+
{
|
|
11380
|
+
"name": "name",
|
|
11381
|
+
"decorators": [],
|
|
11382
|
+
"description": "",
|
|
11383
|
+
"required": false,
|
|
11384
|
+
"type": "string",
|
|
11385
|
+
"example": null
|
|
11386
|
+
},
|
|
11387
|
+
{
|
|
11388
|
+
"name": "onChange",
|
|
11389
|
+
"decorators": [],
|
|
11390
|
+
"description": "",
|
|
11391
|
+
"required": true,
|
|
11392
|
+
"type": "{}",
|
|
11393
|
+
"example": null
|
|
11394
|
+
},
|
|
11395
|
+
{
|
|
11396
|
+
"name": "value",
|
|
11397
|
+
"decorators": [],
|
|
11398
|
+
"description": "",
|
|
11399
|
+
"required": false,
|
|
11400
|
+
"type": "any",
|
|
11358
11401
|
"example": null
|
|
11359
11402
|
}
|
|
11360
11403
|
]
|
|
@@ -11757,7 +11800,7 @@
|
|
|
11757
11800
|
"decorators": [],
|
|
11758
11801
|
"description": "Параметры для input элемента",
|
|
11759
11802
|
"required": false,
|
|
11760
|
-
"type": "
|
|
11803
|
+
"type": "IInputParams",
|
|
11761
11804
|
"example": null
|
|
11762
11805
|
},
|
|
11763
11806
|
{
|
|
@@ -13652,7 +13695,7 @@
|
|
|
13652
13695
|
"decorators": [],
|
|
13653
13696
|
"description": "Параметры для input элемента",
|
|
13654
13697
|
"required": false,
|
|
13655
|
-
"type": "
|
|
13698
|
+
"type": "IInputParams",
|
|
13656
13699
|
"example": null
|
|
13657
13700
|
},
|
|
13658
13701
|
{
|
|
@@ -13881,7 +13924,7 @@
|
|
|
13881
13924
|
"decorators": [],
|
|
13882
13925
|
"description": "Параметры для input элемента",
|
|
13883
13926
|
"required": false,
|
|
13884
|
-
"type": "
|
|
13927
|
+
"type": "IInputParams",
|
|
13885
13928
|
"example": null
|
|
13886
13929
|
},
|
|
13887
13930
|
{
|
|
@@ -15340,7 +15383,7 @@
|
|
|
15340
15383
|
"decorators": [],
|
|
15341
15384
|
"description": "Параметры для input элемента",
|
|
15342
15385
|
"required": false,
|
|
15343
|
-
"type": "
|
|
15386
|
+
"type": "IInputParams",
|
|
15344
15387
|
"example": null
|
|
15345
15388
|
},
|
|
15346
15389
|
{
|
|
@@ -15348,7 +15391,7 @@
|
|
|
15348
15391
|
"decorators": [],
|
|
15349
15392
|
"description": "Свойства для элемента input",
|
|
15350
15393
|
"required": true,
|
|
15351
|
-
"type": "{disabled: boolean, name: string,
|
|
15394
|
+
"type": "{disabled: boolean, name: string, onInput: {}, placeholder: string, type: string, value: string | number}",
|
|
15352
15395
|
"example": null
|
|
15353
15396
|
},
|
|
15354
15397
|
{
|
|
@@ -15383,14 +15426,6 @@
|
|
|
15383
15426
|
"type": "MaskitoOptions",
|
|
15384
15427
|
"example": null
|
|
15385
15428
|
},
|
|
15386
|
-
{
|
|
15387
|
-
"name": "maskedInputRef",
|
|
15388
|
-
"decorators": [],
|
|
15389
|
-
"description": "",
|
|
15390
|
-
"required": false,
|
|
15391
|
-
"type": "{}",
|
|
15392
|
-
"example": null
|
|
15393
|
-
},
|
|
15394
15429
|
{
|
|
15395
15430
|
"name": "model",
|
|
15396
15431
|
"decorators": [],
|
|
@@ -15668,7 +15703,7 @@
|
|
|
15668
15703
|
"decorators": [],
|
|
15669
15704
|
"description": "Параметры для input элемента",
|
|
15670
15705
|
"required": false,
|
|
15671
|
-
"type": "
|
|
15706
|
+
"type": "IInputParams",
|
|
15672
15707
|
"example": null
|
|
15673
15708
|
},
|
|
15674
15709
|
{
|
|
@@ -15961,7 +15996,7 @@
|
|
|
15961
15996
|
"decorators": [],
|
|
15962
15997
|
"description": "Шаг увеличения/уменьшения значения",
|
|
15963
15998
|
"required": false,
|
|
15964
|
-
"type": "
|
|
15999
|
+
"type": "number",
|
|
15965
16000
|
"example": "5"
|
|
15966
16001
|
},
|
|
15967
16002
|
{
|
|
@@ -16095,7 +16130,7 @@
|
|
|
16095
16130
|
"decorators": [],
|
|
16096
16131
|
"description": "Параметры для input элемента",
|
|
16097
16132
|
"required": false,
|
|
16098
|
-
"type": "
|
|
16133
|
+
"type": "IInputParams",
|
|
16099
16134
|
"example": null
|
|
16100
16135
|
},
|
|
16101
16136
|
{
|
|
@@ -16106,6 +16141,14 @@
|
|
|
16106
16141
|
"type": "{disabled: boolean, max: number, min: number, name: string, onChange: {}, placeholder: string, step: string | number, type: string, value: number}",
|
|
16107
16142
|
"example": null
|
|
16108
16143
|
},
|
|
16144
|
+
{
|
|
16145
|
+
"name": "inputRef",
|
|
16146
|
+
"decorators": [],
|
|
16147
|
+
"description": "",
|
|
16148
|
+
"required": true,
|
|
16149
|
+
"type": "MutableRefObject",
|
|
16150
|
+
"example": null
|
|
16151
|
+
},
|
|
16109
16152
|
{
|
|
16110
16153
|
"name": "isRenderWithoutFieldLayout",
|
|
16111
16154
|
"decorators": [],
|
|
@@ -16154,6 +16197,30 @@
|
|
|
16154
16197
|
"type": "{}",
|
|
16155
16198
|
"example": null
|
|
16156
16199
|
},
|
|
16200
|
+
{
|
|
16201
|
+
"name": "onKeyDown",
|
|
16202
|
+
"decorators": [],
|
|
16203
|
+
"description": "",
|
|
16204
|
+
"required": true,
|
|
16205
|
+
"type": "VoidFunction",
|
|
16206
|
+
"example": null
|
|
16207
|
+
},
|
|
16208
|
+
{
|
|
16209
|
+
"name": "onStepDown",
|
|
16210
|
+
"decorators": [],
|
|
16211
|
+
"description": "",
|
|
16212
|
+
"required": true,
|
|
16213
|
+
"type": "VoidFunction",
|
|
16214
|
+
"example": null
|
|
16215
|
+
},
|
|
16216
|
+
{
|
|
16217
|
+
"name": "onStepUp",
|
|
16218
|
+
"decorators": [],
|
|
16219
|
+
"description": "",
|
|
16220
|
+
"required": true,
|
|
16221
|
+
"type": "VoidFunction",
|
|
16222
|
+
"example": null
|
|
16223
|
+
},
|
|
16157
16224
|
{
|
|
16158
16225
|
"name": "placeholder",
|
|
16159
16226
|
"decorators": [],
|
|
@@ -16199,7 +16266,7 @@
|
|
|
16199
16266
|
"decorators": [],
|
|
16200
16267
|
"description": "Шаг увеличения/уменьшения значения",
|
|
16201
16268
|
"required": false,
|
|
16202
|
-
"type": "
|
|
16269
|
+
"type": "number",
|
|
16203
16270
|
"example": "5"
|
|
16204
16271
|
},
|
|
16205
16272
|
{
|
|
@@ -16538,7 +16605,7 @@
|
|
|
16538
16605
|
"decorators": [],
|
|
16539
16606
|
"description": "Параметры для input элемента",
|
|
16540
16607
|
"required": false,
|
|
16541
|
-
"type": "
|
|
16608
|
+
"type": "IInputParams",
|
|
16542
16609
|
"example": null
|
|
16543
16610
|
},
|
|
16544
16611
|
{
|
|
@@ -16982,7 +17049,7 @@
|
|
|
16982
17049
|
"decorators": [],
|
|
16983
17050
|
"description": "Параметры для input элемента",
|
|
16984
17051
|
"required": false,
|
|
16985
|
-
"type": "
|
|
17052
|
+
"type": "IInputParams",
|
|
16986
17053
|
"example": null
|
|
16987
17054
|
},
|
|
16988
17055
|
{
|
|
@@ -17428,7 +17495,7 @@
|
|
|
17428
17495
|
"decorators": [],
|
|
17429
17496
|
"description": "Параметры для input элемента",
|
|
17430
17497
|
"required": false,
|
|
17431
|
-
"type": "
|
|
17498
|
+
"type": "IInputParams",
|
|
17432
17499
|
"example": null
|
|
17433
17500
|
},
|
|
17434
17501
|
{
|
|
@@ -17843,7 +17910,7 @@
|
|
|
17843
17910
|
"decorators": [],
|
|
17844
17911
|
"description": "Параметры для input элемента",
|
|
17845
17912
|
"required": false,
|
|
17846
|
-
"type": "
|
|
17913
|
+
"type": "IInputParams",
|
|
17847
17914
|
"example": null
|
|
17848
17915
|
},
|
|
17849
17916
|
{
|
|
@@ -18359,7 +18426,7 @@
|
|
|
18359
18426
|
"decorators": [],
|
|
18360
18427
|
"description": "Параметры для input элемента",
|
|
18361
18428
|
"required": false,
|
|
18362
|
-
"type": "
|
|
18429
|
+
"type": "IInputParams",
|
|
18363
18430
|
"example": null
|
|
18364
18431
|
},
|
|
18365
18432
|
{
|
|
@@ -18867,7 +18934,7 @@
|
|
|
18867
18934
|
"decorators": [],
|
|
18868
18935
|
"description": "Параметры для input элемента",
|
|
18869
18936
|
"required": false,
|
|
18870
|
-
"type": "
|
|
18937
|
+
"type": "IInputParams",
|
|
18871
18938
|
"example": null
|
|
18872
18939
|
},
|
|
18873
18940
|
{
|
|
@@ -19379,7 +19446,7 @@
|
|
|
19379
19446
|
"decorators": [],
|
|
19380
19447
|
"description": "Параметры для input элемента",
|
|
19381
19448
|
"required": false,
|
|
19382
|
-
"type": "
|
|
19449
|
+
"type": "IInputParams",
|
|
19383
19450
|
"example": null
|
|
19384
19451
|
},
|
|
19385
19452
|
{
|
|
@@ -19745,7 +19812,7 @@
|
|
|
19745
19812
|
"decorators": [],
|
|
19746
19813
|
"description": "Параметры для input элемента",
|
|
19747
19814
|
"required": false,
|
|
19748
|
-
"type": "
|
|
19815
|
+
"type": "IInputParams",
|
|
19749
19816
|
"example": null
|
|
19750
19817
|
},
|
|
19751
19818
|
{
|
|
@@ -22344,7 +22411,7 @@
|
|
|
22344
22411
|
"decorators": [],
|
|
22345
22412
|
"description": "Позиционирование подсказки, относительно целевого элемента",
|
|
22346
22413
|
"required": false,
|
|
22347
|
-
"type": "
|
|
22414
|
+
"type": "string",
|
|
22348
22415
|
"example": null
|
|
22349
22416
|
},
|
|
22350
22417
|
{
|
|
@@ -22472,7 +22539,7 @@
|
|
|
22472
22539
|
"decorators": [],
|
|
22473
22540
|
"description": "Позиционирование подсказки, относительно целевого элемента",
|
|
22474
22541
|
"required": true,
|
|
22475
|
-
"type": "
|
|
22542
|
+
"type": "string",
|
|
22476
22543
|
"example": null
|
|
22477
22544
|
},
|
|
22478
22545
|
{
|
|
@@ -23813,6 +23880,14 @@
|
|
|
23813
23880
|
"type": "boolean",
|
|
23814
23881
|
"example": null
|
|
23815
23882
|
},
|
|
23883
|
+
{
|
|
23884
|
+
"name": "hasTreeItems",
|
|
23885
|
+
"decorators": [],
|
|
23886
|
+
"description": "Включает обработку вложенных данных из items вида [{id: 1, name: 'John', items: [...]}]",
|
|
23887
|
+
"required": false,
|
|
23888
|
+
"type": "boolean",
|
|
23889
|
+
"example": null
|
|
23890
|
+
},
|
|
23816
23891
|
{
|
|
23817
23892
|
"name": "initialItems",
|
|
23818
23893
|
"decorators": [],
|
|
@@ -24318,6 +24393,14 @@
|
|
|
24318
24393
|
"type": "string | boolean | IEmptyProps",
|
|
24319
24394
|
"example": "{text: 'Записи не найдены'}"
|
|
24320
24395
|
},
|
|
24396
|
+
{
|
|
24397
|
+
"name": "hasTreeItems",
|
|
24398
|
+
"decorators": [],
|
|
24399
|
+
"description": "Включает обработку вложенных данных из items вида [{id: 1, name: 'John', items: [...]}]",
|
|
24400
|
+
"required": false,
|
|
24401
|
+
"type": "boolean",
|
|
24402
|
+
"example": null
|
|
24403
|
+
},
|
|
24321
24404
|
{
|
|
24322
24405
|
"name": "initialItems",
|
|
24323
24406
|
"decorators": [],
|
|
@@ -25544,6 +25627,252 @@
|
|
|
25544
25627
|
}
|
|
25545
25628
|
]
|
|
25546
25629
|
},
|
|
25630
|
+
"ITreeColumnViewProps": {
|
|
25631
|
+
"name": "ITreeColumnViewProps",
|
|
25632
|
+
"moduleName": "ui/list/TreeTable/TreeTable",
|
|
25633
|
+
"title": "",
|
|
25634
|
+
"description": "",
|
|
25635
|
+
"tags": {},
|
|
25636
|
+
"defaultProps": null,
|
|
25637
|
+
"extends": [
|
|
25638
|
+
"IColumnViewProps"
|
|
25639
|
+
],
|
|
25640
|
+
"properties": [
|
|
25641
|
+
{
|
|
25642
|
+
"name": "attribute",
|
|
25643
|
+
"decorators": [],
|
|
25644
|
+
"description": "Атрибут колонки, по которому происходит поиск нужного свойства в items и нужного поля в SearchForm",
|
|
25645
|
+
"required": false,
|
|
25646
|
+
"type": "string",
|
|
25647
|
+
"example": "'Name'"
|
|
25648
|
+
},
|
|
25649
|
+
{
|
|
25650
|
+
"name": "className",
|
|
25651
|
+
"decorators": [],
|
|
25652
|
+
"description": "CSS-класс для ячейки со значением",
|
|
25653
|
+
"required": false,
|
|
25654
|
+
"type": "string",
|
|
25655
|
+
"example": null
|
|
25656
|
+
},
|
|
25657
|
+
{
|
|
25658
|
+
"name": "diagram",
|
|
25659
|
+
"decorators": [],
|
|
25660
|
+
"description": "Диаграмма.\nЦвет должен соответствовать success | warning | danger | secondary.\nЦвета можно расширить или изменить через стили (см. colors.scss в react-bootstrap)",
|
|
25661
|
+
"required": false,
|
|
25662
|
+
"type": "{items: {color: string, percentageAttribute: string}[], type: \"circle\" | \"horizontal\" | \"vertical\"}",
|
|
25663
|
+
"example": null
|
|
25664
|
+
},
|
|
25665
|
+
{
|
|
25666
|
+
"name": "formatter",
|
|
25667
|
+
"decorators": [],
|
|
25668
|
+
"description": "Свойства для компонента форматирования",
|
|
25669
|
+
"required": false,
|
|
25670
|
+
"type": "Record",
|
|
25671
|
+
"example": "{component: DateFormatter, format: 'DD MMMM'}"
|
|
25672
|
+
},
|
|
25673
|
+
{
|
|
25674
|
+
"name": "headerClassName",
|
|
25675
|
+
"decorators": [],
|
|
25676
|
+
"description": "CSS-класс для ячейки с заголовком колонки <th>...</th>",
|
|
25677
|
+
"required": false,
|
|
25678
|
+
"type": "string",
|
|
25679
|
+
"example": null
|
|
25680
|
+
},
|
|
25681
|
+
{
|
|
25682
|
+
"name": "headerProps",
|
|
25683
|
+
"decorators": [],
|
|
25684
|
+
"description": "Свойства для компонента отображения заголовка колонки",
|
|
25685
|
+
"required": false,
|
|
25686
|
+
"type": "any",
|
|
25687
|
+
"example": null
|
|
25688
|
+
},
|
|
25689
|
+
{
|
|
25690
|
+
"name": "headerView",
|
|
25691
|
+
"decorators": [],
|
|
25692
|
+
"description": "Компонент для кастомизации отображения заголовка колонки",
|
|
25693
|
+
"required": false,
|
|
25694
|
+
"type": "any",
|
|
25695
|
+
"example": "MyCustomView"
|
|
25696
|
+
},
|
|
25697
|
+
{
|
|
25698
|
+
"name": "hint",
|
|
25699
|
+
"decorators": [],
|
|
25700
|
+
"description": "Подсказка",
|
|
25701
|
+
"required": false,
|
|
25702
|
+
"type": "ReactNode",
|
|
25703
|
+
"example": "'Some text'"
|
|
25704
|
+
},
|
|
25705
|
+
{
|
|
25706
|
+
"name": "icon",
|
|
25707
|
+
"decorators": [],
|
|
25708
|
+
"description": "Параметры для иконки в колонке",
|
|
25709
|
+
"required": false,
|
|
25710
|
+
"type": "{attribute: string, isLeft: boolean}",
|
|
25711
|
+
"example": "{attribute: 'icon', isLeft: true}"
|
|
25712
|
+
},
|
|
25713
|
+
{
|
|
25714
|
+
"name": "item",
|
|
25715
|
+
"decorators": [],
|
|
25716
|
+
"description": "",
|
|
25717
|
+
"required": true,
|
|
25718
|
+
"type": "{onTreeItemClick: {}}",
|
|
25719
|
+
"example": null
|
|
25720
|
+
},
|
|
25721
|
+
{
|
|
25722
|
+
"name": "label",
|
|
25723
|
+
"decorators": [],
|
|
25724
|
+
"description": "Заголовок колонки",
|
|
25725
|
+
"required": false,
|
|
25726
|
+
"type": "ReactNode",
|
|
25727
|
+
"example": "'Name'"
|
|
25728
|
+
},
|
|
25729
|
+
{
|
|
25730
|
+
"name": "link",
|
|
25731
|
+
"decorators": [],
|
|
25732
|
+
"description": "Параметры для ссылки в колонке",
|
|
25733
|
+
"required": false,
|
|
25734
|
+
"type": "{attribute: string, linkProps: ILinkProps, urlAttribute: string}",
|
|
25735
|
+
"example": "{attribute: 'name', linkProps: {target: 'blank'}, url: 'https://kozhindev.com'}"
|
|
25736
|
+
},
|
|
25737
|
+
{
|
|
25738
|
+
"name": "listId",
|
|
25739
|
+
"decorators": [],
|
|
25740
|
+
"description": "",
|
|
25741
|
+
"required": true,
|
|
25742
|
+
"type": "string",
|
|
25743
|
+
"example": null
|
|
25744
|
+
},
|
|
25745
|
+
{
|
|
25746
|
+
"name": "model",
|
|
25747
|
+
"decorators": [],
|
|
25748
|
+
"description": "",
|
|
25749
|
+
"required": true,
|
|
25750
|
+
"type": "string",
|
|
25751
|
+
"example": null
|
|
25752
|
+
},
|
|
25753
|
+
{
|
|
25754
|
+
"name": "picture",
|
|
25755
|
+
"decorators": [],
|
|
25756
|
+
"description": " Параметры для картинки в колонке",
|
|
25757
|
+
"required": false,
|
|
25758
|
+
"type": "{attribute: string, isLeft: boolean}",
|
|
25759
|
+
"example": "{attribute: 'icon', isLeft: true}"
|
|
25760
|
+
},
|
|
25761
|
+
{
|
|
25762
|
+
"name": "primaryKey",
|
|
25763
|
+
"decorators": [],
|
|
25764
|
+
"description": "",
|
|
25765
|
+
"required": true,
|
|
25766
|
+
"type": "string",
|
|
25767
|
+
"example": null
|
|
25768
|
+
},
|
|
25769
|
+
{
|
|
25770
|
+
"name": "size",
|
|
25771
|
+
"decorators": [],
|
|
25772
|
+
"description": "",
|
|
25773
|
+
"required": true,
|
|
25774
|
+
"type": "string",
|
|
25775
|
+
"example": null
|
|
25776
|
+
},
|
|
25777
|
+
{
|
|
25778
|
+
"name": "sortable",
|
|
25779
|
+
"decorators": [],
|
|
25780
|
+
"description": "Включить возможность сортировки по данным в колонке",
|
|
25781
|
+
"required": false,
|
|
25782
|
+
"type": "boolean",
|
|
25783
|
+
"example": "true"
|
|
25784
|
+
},
|
|
25785
|
+
{
|
|
25786
|
+
"name": "subtitleAttribute",
|
|
25787
|
+
"decorators": [],
|
|
25788
|
+
"description": "Название свойства в items, которое будет использовано как subtitle",
|
|
25789
|
+
"required": false,
|
|
25790
|
+
"type": "string",
|
|
25791
|
+
"example": "'name'"
|
|
25792
|
+
},
|
|
25793
|
+
{
|
|
25794
|
+
"name": "valueProps",
|
|
25795
|
+
"decorators": [],
|
|
25796
|
+
"description": "Свойства для компонента отображения значения в ячейке",
|
|
25797
|
+
"required": false,
|
|
25798
|
+
"type": "any",
|
|
25799
|
+
"example": null
|
|
25800
|
+
},
|
|
25801
|
+
{
|
|
25802
|
+
"name": "valueView",
|
|
25803
|
+
"decorators": [],
|
|
25804
|
+
"description": "Компонент для кастомизации отображения значения в ячейке",
|
|
25805
|
+
"required": false,
|
|
25806
|
+
"type": "any",
|
|
25807
|
+
"example": "MyCustomView"
|
|
25808
|
+
},
|
|
25809
|
+
{
|
|
25810
|
+
"name": "visible",
|
|
25811
|
+
"decorators": [],
|
|
25812
|
+
"description": "Скрыть или показать колонку",
|
|
25813
|
+
"required": false,
|
|
25814
|
+
"type": "boolean",
|
|
25815
|
+
"example": "true"
|
|
25816
|
+
}
|
|
25817
|
+
]
|
|
25818
|
+
},
|
|
25819
|
+
"ITreeTableItem": {
|
|
25820
|
+
"name": "ITreeTableItem",
|
|
25821
|
+
"moduleName": "ui/list/TreeTable/TreeTable",
|
|
25822
|
+
"title": "",
|
|
25823
|
+
"description": "",
|
|
25824
|
+
"tags": {},
|
|
25825
|
+
"defaultProps": null,
|
|
25826
|
+
"extends": [],
|
|
25827
|
+
"properties": [
|
|
25828
|
+
{
|
|
25829
|
+
"name": "id",
|
|
25830
|
+
"decorators": [],
|
|
25831
|
+
"description": "Идентификатор узла",
|
|
25832
|
+
"required": false,
|
|
25833
|
+
"type": "string | number",
|
|
25834
|
+
"example": null
|
|
25835
|
+
},
|
|
25836
|
+
{
|
|
25837
|
+
"name": "items",
|
|
25838
|
+
"decorators": [],
|
|
25839
|
+
"description": "Вложенные элементы",
|
|
25840
|
+
"required": false,
|
|
25841
|
+
"type": "any[]",
|
|
25842
|
+
"example": "items: [{id: 3, name: 'Ivan'}]"
|
|
25843
|
+
},
|
|
25844
|
+
{
|
|
25845
|
+
"name": "uniqueId",
|
|
25846
|
+
"decorators": [],
|
|
25847
|
+
"description": "Уникальный идентификатор,\nиспользуется для сохранения состояния открыта или закрыта ячейка",
|
|
25848
|
+
"required": false,
|
|
25849
|
+
"type": "string",
|
|
25850
|
+
"example": null
|
|
25851
|
+
}
|
|
25852
|
+
]
|
|
25853
|
+
},
|
|
25854
|
+
"ITreeTableProps": {
|
|
25855
|
+
"name": "ITreeTableProps",
|
|
25856
|
+
"moduleName": "ui/list/TreeTable/TreeTable",
|
|
25857
|
+
"title": "",
|
|
25858
|
+
"description": "",
|
|
25859
|
+
"tags": {},
|
|
25860
|
+
"defaultProps": null,
|
|
25861
|
+
"extends": [
|
|
25862
|
+
"Omit<IGridProps",
|
|
25863
|
+
"'items'>"
|
|
25864
|
+
],
|
|
25865
|
+
"properties": [
|
|
25866
|
+
{
|
|
25867
|
+
"name": "items",
|
|
25868
|
+
"decorators": [],
|
|
25869
|
+
"description": "Элементы коллекции",
|
|
25870
|
+
"required": false,
|
|
25871
|
+
"type": "ITreeTableItem[]",
|
|
25872
|
+
"example": "[{id: 1, name: 'Jane'}, {id: 2, name: 'John', items: [...]}]"
|
|
25873
|
+
}
|
|
25874
|
+
]
|
|
25875
|
+
},
|
|
25547
25876
|
"IModalProps": {
|
|
25548
25877
|
"name": "IModalProps",
|
|
25549
25878
|
"moduleName": "ui/modal/Modal/Modal",
|
|
@@ -28149,7 +28478,7 @@
|
|
|
28149
28478
|
"name": "getCssClass",
|
|
28150
28479
|
"decorators": [],
|
|
28151
28480
|
"description": "",
|
|
28152
|
-
"required":
|
|
28481
|
+
"required": false,
|
|
28153
28482
|
"type": "any",
|
|
28154
28483
|
"example": null,
|
|
28155
28484
|
"parameters": [
|
|
@@ -28167,7 +28496,7 @@
|
|
|
28167
28496
|
"name": "getCssClasses",
|
|
28168
28497
|
"decorators": [],
|
|
28169
28498
|
"description": "",
|
|
28170
|
-
"required":
|
|
28499
|
+
"required": false,
|
|
28171
28500
|
"type": "{}",
|
|
28172
28501
|
"example": null,
|
|
28173
28502
|
"parameters": []
|
|
@@ -28176,7 +28505,7 @@
|
|
|
28176
28505
|
"name": "getDropdownItems",
|
|
28177
28506
|
"decorators": [],
|
|
28178
28507
|
"description": "",
|
|
28179
|
-
"required":
|
|
28508
|
+
"required": false,
|
|
28180
28509
|
"type": "{id: string, label: string}[]",
|
|
28181
28510
|
"example": null,
|
|
28182
28511
|
"parameters": []
|
|
@@ -28185,7 +28514,7 @@
|
|
|
28185
28514
|
"name": "getKeys",
|
|
28186
28515
|
"decorators": [],
|
|
28187
28516
|
"description": "",
|
|
28188
|
-
"required":
|
|
28517
|
+
"required": false,
|
|
28189
28518
|
"type": "string[]",
|
|
28190
28519
|
"example": null,
|
|
28191
28520
|
"parameters": []
|
|
@@ -28194,7 +28523,7 @@
|
|
|
28194
28523
|
"name": "getLabel",
|
|
28195
28524
|
"decorators": [],
|
|
28196
28525
|
"description": "",
|
|
28197
|
-
"required":
|
|
28526
|
+
"required": false,
|
|
28198
28527
|
"type": "string",
|
|
28199
28528
|
"example": null,
|
|
28200
28529
|
"parameters": [
|
|
@@ -28212,7 +28541,7 @@
|
|
|
28212
28541
|
"name": "getLabels",
|
|
28213
28542
|
"decorators": [],
|
|
28214
28543
|
"description": "",
|
|
28215
|
-
"required":
|
|
28544
|
+
"required": false,
|
|
28216
28545
|
"type": "Record",
|
|
28217
28546
|
"example": null,
|
|
28218
28547
|
"parameters": []
|
|
@@ -28308,7 +28637,7 @@
|
|
|
28308
28637
|
"name": "dayjs",
|
|
28309
28638
|
"decorators": [],
|
|
28310
28639
|
"description": "Получение экземпляра `dayjs` с учетом временной зоны бекенда",
|
|
28311
|
-
"required":
|
|
28640
|
+
"required": false,
|
|
28312
28641
|
"type": "Dayjs",
|
|
28313
28642
|
"example": null,
|
|
28314
28643
|
"parameters": [
|
|
@@ -28334,7 +28663,7 @@
|
|
|
28334
28663
|
"name": "t",
|
|
28335
28664
|
"decorators": [],
|
|
28336
28665
|
"description": "Алиас для метода `translate`",
|
|
28337
|
-
"required":
|
|
28666
|
+
"required": false,
|
|
28338
28667
|
"type": "any",
|
|
28339
28668
|
"example": null,
|
|
28340
28669
|
"parameters": [
|
|
@@ -28360,7 +28689,7 @@
|
|
|
28360
28689
|
"name": "translate",
|
|
28361
28690
|
"decorators": [],
|
|
28362
28691
|
"description": "Перевод сообщения",
|
|
28363
|
-
"required":
|
|
28692
|
+
"required": false,
|
|
28364
28693
|
"type": "any",
|
|
28365
28694
|
"example": null,
|
|
28366
28695
|
"parameters": [
|
|
@@ -28495,7 +28824,7 @@
|
|
|
28495
28824
|
"name": "loadGeetest",
|
|
28496
28825
|
"decorators": [],
|
|
28497
28826
|
"description": "Метод для загрузки Geetest.",
|
|
28498
|
-
"required":
|
|
28827
|
+
"required": false,
|
|
28499
28828
|
"type": "Promise",
|
|
28500
28829
|
"example": null,
|
|
28501
28830
|
"parameters": []
|
|
@@ -28504,7 +28833,7 @@
|
|
|
28504
28833
|
"name": "loadGoogleCaptcha",
|
|
28505
28834
|
"decorators": [],
|
|
28506
28835
|
"description": "Метод для загрузки Google reCAPTCHA.",
|
|
28507
|
-
"required":
|
|
28836
|
+
"required": false,
|
|
28508
28837
|
"type": "Promise",
|
|
28509
28838
|
"example": null,
|
|
28510
28839
|
"parameters": []
|
|
@@ -28513,7 +28842,7 @@
|
|
|
28513
28842
|
"name": "loadGoogleMapApi",
|
|
28514
28843
|
"decorators": [],
|
|
28515
28844
|
"description": "Метод для загрузки Google Maps API.",
|
|
28516
|
-
"required":
|
|
28845
|
+
"required": false,
|
|
28517
28846
|
"type": "Promise",
|
|
28518
28847
|
"example": null,
|
|
28519
28848
|
"parameters": []
|
|
@@ -28522,7 +28851,7 @@
|
|
|
28522
28851
|
"name": "loadScript",
|
|
28523
28852
|
"decorators": [],
|
|
28524
28853
|
"description": "Метод для загрузки скрипта по указанному URL.",
|
|
28525
|
-
"required":
|
|
28854
|
+
"required": false,
|
|
28526
28855
|
"type": "Promise",
|
|
28527
28856
|
"example": null,
|
|
28528
28857
|
"parameters": [
|
|
@@ -28556,7 +28885,7 @@
|
|
|
28556
28885
|
"name": "loadTwitterWidget",
|
|
28557
28886
|
"decorators": [],
|
|
28558
28887
|
"description": "Метод для загрузки Twitter виджетов.",
|
|
28559
|
-
"required":
|
|
28888
|
+
"required": false,
|
|
28560
28889
|
"type": "Promise",
|
|
28561
28890
|
"example": null,
|
|
28562
28891
|
"parameters": []
|
|
@@ -28565,7 +28894,7 @@
|
|
|
28565
28894
|
"name": "loadYandexMap",
|
|
28566
28895
|
"decorators": [],
|
|
28567
28896
|
"description": "Метод для загрузки Yandex Maps API.",
|
|
28568
|
-
"required":
|
|
28897
|
+
"required": false,
|
|
28569
28898
|
"type": "Promise",
|
|
28570
28899
|
"example": null,
|
|
28571
28900
|
"parameters": []
|
|
@@ -28574,7 +28903,7 @@
|
|
|
28574
28903
|
"name": "wait",
|
|
28575
28904
|
"decorators": [],
|
|
28576
28905
|
"description": "Метод для ожидания выполнения определенного условия.",
|
|
28577
|
-
"required":
|
|
28906
|
+
"required": false,
|
|
28578
28907
|
"type": "Promise",
|
|
28579
28908
|
"example": null,
|
|
28580
28909
|
"parameters": [
|
|
@@ -28677,7 +29006,7 @@
|
|
|
28677
29006
|
"name": "addFields",
|
|
28678
29007
|
"decorators": [],
|
|
28679
29008
|
"description": "Добавляет компоненты полей формы.",
|
|
28680
|
-
"required":
|
|
29009
|
+
"required": false,
|
|
28681
29010
|
"type": "void",
|
|
28682
29011
|
"example": null,
|
|
28683
29012
|
"parameters": [
|
|
@@ -28695,7 +29024,7 @@
|
|
|
28695
29024
|
"name": "addFormatters",
|
|
28696
29025
|
"decorators": [],
|
|
28697
29026
|
"description": "Добавляет компоненты форматтеров.",
|
|
28698
|
-
"required":
|
|
29027
|
+
"required": false,
|
|
28699
29028
|
"type": "void",
|
|
28700
29029
|
"example": null,
|
|
28701
29030
|
"parameters": [
|
|
@@ -28713,7 +29042,7 @@
|
|
|
28713
29042
|
"name": "addIcons",
|
|
28714
29043
|
"decorators": [],
|
|
28715
29044
|
"description": "Добавляет иконки.",
|
|
28716
|
-
"required":
|
|
29045
|
+
"required": false,
|
|
28717
29046
|
"type": "void",
|
|
28718
29047
|
"example": null,
|
|
28719
29048
|
"parameters": [
|
|
@@ -28731,7 +29060,7 @@
|
|
|
28731
29060
|
"name": "addModels",
|
|
28732
29061
|
"decorators": [],
|
|
28733
29062
|
"description": "Добавляет модели.",
|
|
28734
|
-
"required":
|
|
29063
|
+
"required": false,
|
|
28735
29064
|
"type": "void",
|
|
28736
29065
|
"example": null,
|
|
28737
29066
|
"parameters": [
|
|
@@ -28749,7 +29078,7 @@
|
|
|
28749
29078
|
"name": "addViews",
|
|
28750
29079
|
"decorators": [],
|
|
28751
29080
|
"description": "Добавляет компоненты представлений.",
|
|
28752
|
-
"required":
|
|
29081
|
+
"required": false,
|
|
28753
29082
|
"type": "void",
|
|
28754
29083
|
"example": null,
|
|
28755
29084
|
"parameters": [
|
|
@@ -28767,7 +29096,7 @@
|
|
|
28767
29096
|
"name": "getField",
|
|
28768
29097
|
"decorators": [],
|
|
28769
29098
|
"description": "Возвращает компонент поля формы по указанному пути.",
|
|
28770
|
-
"required":
|
|
29099
|
+
"required": false,
|
|
28771
29100
|
"type": "any",
|
|
28772
29101
|
"example": null,
|
|
28773
29102
|
"parameters": [
|
|
@@ -28785,7 +29114,7 @@
|
|
|
28785
29114
|
"name": "getFieldProps",
|
|
28786
29115
|
"decorators": [],
|
|
28787
29116
|
"description": "Возвращает свойства конфигурации компонента поля формы по указанному пути.",
|
|
28788
|
-
"required":
|
|
29117
|
+
"required": false,
|
|
28789
29118
|
"type": "any",
|
|
28790
29119
|
"example": null,
|
|
28791
29120
|
"parameters": [
|
|
@@ -28819,7 +29148,7 @@
|
|
|
28819
29148
|
"name": "getFormatter",
|
|
28820
29149
|
"decorators": [],
|
|
28821
29150
|
"description": "Возвращает компонент форматтера по указанному пути.",
|
|
28822
|
-
"required":
|
|
29151
|
+
"required": false,
|
|
28823
29152
|
"type": "any",
|
|
28824
29153
|
"example": null,
|
|
28825
29154
|
"parameters": [
|
|
@@ -28837,7 +29166,7 @@
|
|
|
28837
29166
|
"name": "getFormatterProps",
|
|
28838
29167
|
"decorators": [],
|
|
28839
29168
|
"description": "Возвращает свойства конфигурации компонента форматтера по указанному пути.",
|
|
28840
|
-
"required":
|
|
29169
|
+
"required": false,
|
|
28841
29170
|
"type": "any",
|
|
28842
29171
|
"example": null,
|
|
28843
29172
|
"parameters": [
|
|
@@ -28855,7 +29184,7 @@
|
|
|
28855
29184
|
"name": "getIcon",
|
|
28856
29185
|
"decorators": [],
|
|
28857
29186
|
"description": "Возвращает иконку по указанному имени.",
|
|
28858
|
-
"required":
|
|
29187
|
+
"required": false,
|
|
28859
29188
|
"type": "any",
|
|
28860
29189
|
"example": null,
|
|
28861
29190
|
"parameters": [
|
|
@@ -28873,7 +29202,7 @@
|
|
|
28873
29202
|
"name": "getPortalElement",
|
|
28874
29203
|
"decorators": [],
|
|
28875
29204
|
"description": "Возвращает элемент портала.",
|
|
28876
|
-
"required":
|
|
29205
|
+
"required": false,
|
|
28877
29206
|
"type": "HTMLDivElement",
|
|
28878
29207
|
"example": null,
|
|
28879
29208
|
"parameters": []
|
|
@@ -28882,7 +29211,7 @@
|
|
|
28882
29211
|
"name": "getRegisteredFields",
|
|
28883
29212
|
"decorators": [],
|
|
28884
29213
|
"description": "Возвращает зарегистрированные поля формы для указанного идентификатора формы.",
|
|
28885
|
-
"required":
|
|
29214
|
+
"required": false,
|
|
28886
29215
|
"type": "any",
|
|
28887
29216
|
"example": null,
|
|
28888
29217
|
"parameters": [
|
|
@@ -28900,7 +29229,7 @@
|
|
|
28900
29229
|
"name": "getView",
|
|
28901
29230
|
"decorators": [],
|
|
28902
29231
|
"description": "Возвращает компонент представления по указанному пути.",
|
|
28903
|
-
"required":
|
|
29232
|
+
"required": false,
|
|
28904
29233
|
"type": "any",
|
|
28905
29234
|
"example": null,
|
|
28906
29235
|
"parameters": [
|
|
@@ -28918,7 +29247,7 @@
|
|
|
28918
29247
|
"name": "registerField",
|
|
28919
29248
|
"decorators": [],
|
|
28920
29249
|
"description": "Регистрирует поле формы.",
|
|
28921
|
-
"required":
|
|
29250
|
+
"required": false,
|
|
28922
29251
|
"type": "void",
|
|
28923
29252
|
"example": null,
|
|
28924
29253
|
"parameters": [
|
|
@@ -28952,7 +29281,7 @@
|
|
|
28952
29281
|
"name": "renderView",
|
|
28953
29282
|
"decorators": [],
|
|
28954
29283
|
"description": "Рендерит компонент представления.",
|
|
28955
|
-
"required":
|
|
29284
|
+
"required": false,
|
|
28956
29285
|
"type": "any",
|
|
28957
29286
|
"example": null,
|
|
28958
29287
|
"parameters": [
|
|
@@ -28986,7 +29315,7 @@
|
|
|
28986
29315
|
"name": "setPortalElement",
|
|
28987
29316
|
"decorators": [],
|
|
28988
29317
|
"description": "Задает элемент портала.",
|
|
28989
|
-
"required":
|
|
29318
|
+
"required": false,
|
|
28990
29319
|
"type": "void",
|
|
28991
29320
|
"example": null,
|
|
28992
29321
|
"parameters": [
|
|
@@ -29280,7 +29609,7 @@
|
|
|
29280
29609
|
"name": "remove",
|
|
29281
29610
|
"decorators": [],
|
|
29282
29611
|
"description": "",
|
|
29283
|
-
"required":
|
|
29612
|
+
"required": false,
|
|
29284
29613
|
"type": "void",
|
|
29285
29614
|
"example": null,
|
|
29286
29615
|
"parameters": [
|
|
@@ -29306,7 +29635,7 @@
|
|
|
29306
29635
|
"name": "restore",
|
|
29307
29636
|
"decorators": [],
|
|
29308
29637
|
"description": "",
|
|
29309
|
-
"required":
|
|
29638
|
+
"required": false,
|
|
29310
29639
|
"type": "any",
|
|
29311
29640
|
"example": null,
|
|
29312
29641
|
"parameters": [
|
|
@@ -29340,7 +29669,7 @@
|
|
|
29340
29669
|
"name": "save",
|
|
29341
29670
|
"decorators": [],
|
|
29342
29671
|
"description": "",
|
|
29343
|
-
"required":
|
|
29672
|
+
"required": false,
|
|
29344
29673
|
"type": "void",
|
|
29345
29674
|
"example": null,
|
|
29346
29675
|
"parameters": [
|
|
@@ -29659,6 +29988,13 @@
|
|
|
29659
29988
|
"description": "",
|
|
29660
29989
|
"tags": {}
|
|
29661
29990
|
},
|
|
29991
|
+
"ui/list/TreeTable/TreeTable": {
|
|
29992
|
+
"name": "default",
|
|
29993
|
+
"moduleName": "ui/list/TreeTable/TreeTable",
|
|
29994
|
+
"title": "",
|
|
29995
|
+
"description": "",
|
|
29996
|
+
"tags": {}
|
|
29997
|
+
},
|
|
29662
29998
|
"ui/modal/Modal/Modal": {
|
|
29663
29999
|
"name": "default",
|
|
29664
30000
|
"moduleName": "ui/modal/Modal/Modal",
|
package/en.json
CHANGED
|
@@ -804,5 +804,8 @@
|
|
|
804
804
|
"Данные для графика": "Data for the chart",
|
|
805
805
|
"Фиксированная высота графика в пикселях": "Fixed chart height in pixels",
|
|
806
806
|
"Использовать ли дефолтную конфигурацию для графика типа line": "Use default configuration for the line chart",
|
|
807
|
-
"Этот компонент позволяет создавать в проекте графики разных типов. Под капотом для графиков используется библиотека nivo.\nДля работы этого компонента необходимо установить в проекте зависимости @nivo/core и пакет конкретного графика nivo, например @nivo/line.\nКомпонент графика nivo нужно передать в пропс chartComponent": "This component allows you to create various types of graphics in your project. Under the hood, the nivo library is used for charts. \nTo use this component, you need to install dependencies @nivo/core and a specific nivo chart package, for example, @nivo/line. \nPass the nivo chart component as the chartComponent prop"
|
|
808
|
-
|
|
807
|
+
"Этот компонент позволяет создавать в проекте графики разных типов. Под капотом для графиков используется библиотека nivo.\nДля работы этого компонента необходимо установить в проекте зависимости @nivo/core и пакет конкретного графика nivo, например @nivo/line.\nКомпонент графика nivo нужно передать в пропс chartComponent": "This component allows you to create various types of graphics in your project. Under the hood, the nivo library is used for charts. \nTo use this component, you need to install dependencies @nivo/core and a specific nivo chart package, for example, @nivo/line. \nPass the nivo chart component as the chartComponent prop",
|
|
808
|
+
"Компонент для представления данных коллекции в виде иерархической структуры.": "A component for representing collection data in the form of a hierarchical structure.",
|
|
809
|
+
"Уникальный идентификатор,\nиспользуется для сохранения состояния открыта или закрыта ячейка": "Unique identifier \nused to save the open or closed state of a cell",
|
|
810
|
+
"Включает обработку вложенных данных из items вида [{id: 1, name: 'John', items: [...]}]": ""
|
|
811
|
+
}
|
package/package.json
CHANGED
|
@@ -32,4 +32,8 @@ export interface ITreeTableProps extends Omit<IGridProps, 'items'> {
|
|
|
32
32
|
items?: ITreeTableItem[];
|
|
33
33
|
}
|
|
34
34
|
export declare const addTreeColumnFieldsToFirstColumn: (columns: IGridColumn[]) => IGridColumn[];
|
|
35
|
+
/**
|
|
36
|
+
* TreeTable
|
|
37
|
+
* Компонент для представления данных коллекции в виде иерархической структуры.
|
|
38
|
+
*/
|
|
35
39
|
export default function TreeTable(props: ITreeTableProps): JSX.Element;
|
|
@@ -62,6 +62,10 @@ var addTreeColumnFieldsToFirstColumn = function (columns) {
|
|
|
62
62
|
return newColumns;
|
|
63
63
|
};
|
|
64
64
|
exports.addTreeColumnFieldsToFirstColumn = addTreeColumnFieldsToFirstColumn;
|
|
65
|
+
/**
|
|
66
|
+
* TreeTable
|
|
67
|
+
* Компонент для представления данных коллекции в виде иерархической структуры.
|
|
68
|
+
*/
|
|
65
69
|
function TreeTable(props) {
|
|
66
70
|
var columns = (0, react_1.useMemo)(function () { return (0, exports.addTreeColumnFieldsToFirstColumn)(props.columns); }, [props.columns]);
|
|
67
71
|
return (React.createElement(Grid_1["default"], __assign({}, props, { columns: columns, items: props.items, itemsIndexing: false, hasTreeItems: true })));
|