@steroidsjs/core 3.0.0-beta.81 → 3.0.0-beta.82
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 +398 -43
- package/en.json +23 -1
- package/hooks/useAbsolutePositioning.d.ts +56 -7
- package/hooks/useAbsolutePositioning.js +39 -131
- package/hooks/useApplication.js +2 -0
- package/hooks/useDataSelect.js +3 -0
- package/package.json +1 -1
- package/ui/content/Chart/Chart.d.ts +37 -0
- package/ui/content/Chart/Chart.js +19 -0
- package/ui/content/Chart/index.d.ts +2 -0
- package/ui/content/Chart/index.js +7 -0
- package/ui/content/DropDown/DropDown.d.ts +1 -1
- package/ui/content/DropDown/DropDown.js +1 -1
- package/ui/content/index.d.ts +2 -1
- package/ui/content/index.js +3 -1
- package/ui/form/CheckboxListField/CheckboxListField.d.ts +1 -1
- package/ui/form/CheckboxListField/CheckboxListField.js +1 -1
- package/ui/form/DateField/useDateRange.d.ts +2 -1
- package/ui/form/DateField/useDateRange.js +23 -0
- package/ui/form/DateRangeField/DateRangeField.js +3 -1
- package/ui/form/DateTimeRangeField/DateTimeRangeField.js +3 -1
- package/ui/form/RadioListField/RadioListField.js +1 -1
- package/ui/layout/Sidebar/Sidebar.d.ts +0 -5
- package/ui/layout/Sidebar/Sidebar.js +1 -4
- package/ui/layout/Tooltip/Tooltip.d.ts +3 -7
- package/ui/layout/Tooltip/Tooltip.js +17 -49
- package/utils/calculateComponentAbsolutePosition.d.ts +6 -0
- package/{ui/layout/Tooltip/calculate.js → utils/calculateComponentAbsolutePosition.js} +64 -58
- package/utils/calendar.js +2 -0
- package/ui/layout/Tooltip/calculate.d.ts +0 -6
package/docs-autogen-result.json
CHANGED
|
@@ -214,6 +214,67 @@
|
|
|
214
214
|
}
|
|
215
215
|
]
|
|
216
216
|
},
|
|
217
|
+
"IClientStorageComponent": {
|
|
218
|
+
"name": "IClientStorageComponent",
|
|
219
|
+
"moduleName": "components/ClientStorageComponent",
|
|
220
|
+
"title": "Интерфейс для ClientStorageComponent",
|
|
221
|
+
"description": "",
|
|
222
|
+
"tags": {},
|
|
223
|
+
"defaultProps": null,
|
|
224
|
+
"extends": [],
|
|
225
|
+
"properties": []
|
|
226
|
+
},
|
|
227
|
+
"ILocaleComponent": {
|
|
228
|
+
"name": "ILocaleComponent",
|
|
229
|
+
"moduleName": "components/LocaleComponent",
|
|
230
|
+
"title": "Интерфейс для LocaleComponent",
|
|
231
|
+
"description": "",
|
|
232
|
+
"tags": {},
|
|
233
|
+
"defaultProps": null,
|
|
234
|
+
"extends": [],
|
|
235
|
+
"properties": [
|
|
236
|
+
{
|
|
237
|
+
"name": "backendTimeDiff",
|
|
238
|
+
"decorators": [],
|
|
239
|
+
"description": "Разница времени с бекендом (в микросекундах)",
|
|
240
|
+
"required": true,
|
|
241
|
+
"type": "null",
|
|
242
|
+
"example": null
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"name": "backendTimeZone",
|
|
246
|
+
"decorators": [],
|
|
247
|
+
"description": "Временная зона бекенда",
|
|
248
|
+
"required": true,
|
|
249
|
+
"type": "any",
|
|
250
|
+
"example": null
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"name": "language",
|
|
254
|
+
"decorators": [],
|
|
255
|
+
"description": "Язык приложения",
|
|
256
|
+
"required": true,
|
|
257
|
+
"type": "string",
|
|
258
|
+
"example": "ru"
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"name": "sourceLanguage",
|
|
262
|
+
"decorators": [],
|
|
263
|
+
"description": "Исходный язык",
|
|
264
|
+
"required": true,
|
|
265
|
+
"type": "string",
|
|
266
|
+
"example": null
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"name": "translations",
|
|
270
|
+
"decorators": [],
|
|
271
|
+
"description": "Переводы сообщений",
|
|
272
|
+
"required": true,
|
|
273
|
+
"type": "any",
|
|
274
|
+
"example": null
|
|
275
|
+
}
|
|
276
|
+
]
|
|
277
|
+
},
|
|
217
278
|
"Model": {
|
|
218
279
|
"name": "Model",
|
|
219
280
|
"moduleName": "components/MetaComponent",
|
|
@@ -417,6 +478,14 @@
|
|
|
417
478
|
"type": "number",
|
|
418
479
|
"example": null
|
|
419
480
|
},
|
|
481
|
+
{
|
|
482
|
+
"name": "defaultVisible",
|
|
483
|
+
"decorators": [],
|
|
484
|
+
"description": "Показывать ли компонент сразу после рендера страницы",
|
|
485
|
+
"required": false,
|
|
486
|
+
"type": "boolean",
|
|
487
|
+
"example": null
|
|
488
|
+
},
|
|
420
489
|
{
|
|
421
490
|
"name": "gap",
|
|
422
491
|
"decorators": [],
|
|
@@ -468,6 +537,14 @@
|
|
|
468
537
|
"defaultProps": null,
|
|
469
538
|
"extends": [],
|
|
470
539
|
"properties": [
|
|
540
|
+
{
|
|
541
|
+
"name": "arrowPosition",
|
|
542
|
+
"decorators": [],
|
|
543
|
+
"description": "Объект стилей для позиционирования стрелки",
|
|
544
|
+
"required": false,
|
|
545
|
+
"type": "IComponentArrowPosition",
|
|
546
|
+
"example": null
|
|
547
|
+
},
|
|
471
548
|
{
|
|
472
549
|
"name": "isComponentExist",
|
|
473
550
|
"decorators": [],
|
|
@@ -489,7 +566,85 @@
|
|
|
489
566
|
"decorators": [],
|
|
490
567
|
"description": "Объект стилей для абсолютного позиционирования",
|
|
491
568
|
"required": true,
|
|
492
|
-
"type": "
|
|
569
|
+
"type": "IComponentStylePosition",
|
|
570
|
+
"example": null
|
|
571
|
+
}
|
|
572
|
+
]
|
|
573
|
+
},
|
|
574
|
+
"IComponentArrowPosition": {
|
|
575
|
+
"name": "IComponentArrowPosition",
|
|
576
|
+
"moduleName": "hooks/useAbsolutePositioning",
|
|
577
|
+
"title": "",
|
|
578
|
+
"description": "",
|
|
579
|
+
"tags": {},
|
|
580
|
+
"defaultProps": null,
|
|
581
|
+
"extends": [],
|
|
582
|
+
"properties": [
|
|
583
|
+
{
|
|
584
|
+
"name": "bottom",
|
|
585
|
+
"decorators": [],
|
|
586
|
+
"description": "Позиция стрелки снизу",
|
|
587
|
+
"required": false,
|
|
588
|
+
"type": "string | number",
|
|
589
|
+
"example": null
|
|
590
|
+
},
|
|
591
|
+
{
|
|
592
|
+
"name": "left",
|
|
593
|
+
"decorators": [],
|
|
594
|
+
"description": "Позиция стрелки слева",
|
|
595
|
+
"required": false,
|
|
596
|
+
"type": "string | number",
|
|
597
|
+
"example": null
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
"name": "right",
|
|
601
|
+
"decorators": [],
|
|
602
|
+
"description": "Позиция стрелки справа",
|
|
603
|
+
"required": false,
|
|
604
|
+
"type": "string | number",
|
|
605
|
+
"example": null
|
|
606
|
+
},
|
|
607
|
+
{
|
|
608
|
+
"name": "top",
|
|
609
|
+
"decorators": [],
|
|
610
|
+
"description": "Позиция стрелки сверху",
|
|
611
|
+
"required": false,
|
|
612
|
+
"type": "string | number",
|
|
613
|
+
"example": null
|
|
614
|
+
}
|
|
615
|
+
]
|
|
616
|
+
},
|
|
617
|
+
"IComponentStylePosition": {
|
|
618
|
+
"name": "IComponentStylePosition",
|
|
619
|
+
"moduleName": "hooks/useAbsolutePositioning",
|
|
620
|
+
"title": "",
|
|
621
|
+
"description": "",
|
|
622
|
+
"tags": {},
|
|
623
|
+
"defaultProps": null,
|
|
624
|
+
"extends": [],
|
|
625
|
+
"properties": [
|
|
626
|
+
{
|
|
627
|
+
"name": "left",
|
|
628
|
+
"decorators": [],
|
|
629
|
+
"description": "Позиция компонента слева",
|
|
630
|
+
"required": true,
|
|
631
|
+
"type": "number | \"unset\"",
|
|
632
|
+
"example": null
|
|
633
|
+
},
|
|
634
|
+
{
|
|
635
|
+
"name": "right",
|
|
636
|
+
"decorators": [],
|
|
637
|
+
"description": "Позиция компонента справа",
|
|
638
|
+
"required": true,
|
|
639
|
+
"type": "number | \"unset\"",
|
|
640
|
+
"example": null
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
"name": "top",
|
|
644
|
+
"decorators": [],
|
|
645
|
+
"description": "Позиция компонента сверху",
|
|
646
|
+
"required": true,
|
|
647
|
+
"type": "number | \"unset\"",
|
|
493
648
|
"example": null
|
|
494
649
|
}
|
|
495
650
|
]
|
|
@@ -1754,7 +1909,7 @@
|
|
|
1754
1909
|
"decorators": [],
|
|
1755
1910
|
"description": "",
|
|
1756
1911
|
"required": false,
|
|
1757
|
-
"type": "
|
|
1912
|
+
"type": "IClientStorageComponent",
|
|
1758
1913
|
"example": null
|
|
1759
1914
|
},
|
|
1760
1915
|
{
|
|
@@ -1778,7 +1933,7 @@
|
|
|
1778
1933
|
"decorators": [],
|
|
1779
1934
|
"description": "",
|
|
1780
1935
|
"required": false,
|
|
1781
|
-
"type": "
|
|
1936
|
+
"type": "ILocaleComponent",
|
|
1782
1937
|
"example": null
|
|
1783
1938
|
},
|
|
1784
1939
|
{
|
|
@@ -2355,7 +2510,7 @@
|
|
|
2355
2510
|
"decorators": [],
|
|
2356
2511
|
"description": "Стилизация позиционирования.\nПри значении \"top\" верхняя часть шапки будет закруглена.",
|
|
2357
2512
|
"required": false,
|
|
2358
|
-
"type": "\"
|
|
2513
|
+
"type": "\"middle\" | \"top\" | \"bottom\"",
|
|
2359
2514
|
"example": "'top'"
|
|
2360
2515
|
},
|
|
2361
2516
|
{
|
|
@@ -2488,7 +2643,7 @@
|
|
|
2488
2643
|
"decorators": [],
|
|
2489
2644
|
"description": "Стилизация позиционирования.\nПри значении \"top\" верхняя часть шапки будет закруглена.",
|
|
2490
2645
|
"required": false,
|
|
2491
|
-
"type": "\"
|
|
2646
|
+
"type": "\"middle\" | \"top\" | \"bottom\"",
|
|
2492
2647
|
"example": "'top'"
|
|
2493
2648
|
},
|
|
2494
2649
|
{
|
|
@@ -3691,6 +3846,83 @@
|
|
|
3691
3846
|
}
|
|
3692
3847
|
]
|
|
3693
3848
|
},
|
|
3849
|
+
"IChartProps": {
|
|
3850
|
+
"name": "IChartProps",
|
|
3851
|
+
"moduleName": "ui/content/Chart/Chart",
|
|
3852
|
+
"title": "Chart",
|
|
3853
|
+
"description": "Этот компонент позволяет создавать в проекте графики разных типов. Под капотом для графиков используется библиотека nivo.\nДля работы этого компонента необходимо установить в проекте зависимости @nivo/core и пакет конкретного графика nivo, например @nivo/line.\nКомпонент графика nivo нужно передать в пропс chartComponent",
|
|
3854
|
+
"tags": {},
|
|
3855
|
+
"defaultProps": null,
|
|
3856
|
+
"extends": [
|
|
3857
|
+
"IUiComponent"
|
|
3858
|
+
],
|
|
3859
|
+
"properties": [
|
|
3860
|
+
{
|
|
3861
|
+
"name": "chartComponent",
|
|
3862
|
+
"decorators": [],
|
|
3863
|
+
"description": "Компонент графика из библиотеки nivo",
|
|
3864
|
+
"required": true,
|
|
3865
|
+
"type": "ReactElement",
|
|
3866
|
+
"example": "ResponsiveLine"
|
|
3867
|
+
},
|
|
3868
|
+
{
|
|
3869
|
+
"name": "className",
|
|
3870
|
+
"decorators": [],
|
|
3871
|
+
"description": "Дополнительный CSS-класс для элемента отображения",
|
|
3872
|
+
"required": false,
|
|
3873
|
+
"type": "string",
|
|
3874
|
+
"example": null
|
|
3875
|
+
},
|
|
3876
|
+
{
|
|
3877
|
+
"name": "config",
|
|
3878
|
+
"decorators": [],
|
|
3879
|
+
"description": "Конфигурация, настройки отображения графика",
|
|
3880
|
+
"required": false,
|
|
3881
|
+
"type": "Record",
|
|
3882
|
+
"example": "{lineWidth: 3, pointSize: 10}"
|
|
3883
|
+
},
|
|
3884
|
+
{
|
|
3885
|
+
"name": "data",
|
|
3886
|
+
"decorators": [],
|
|
3887
|
+
"description": "Данные для графика",
|
|
3888
|
+
"required": true,
|
|
3889
|
+
"type": "Record[]",
|
|
3890
|
+
"example": "[{id: 1, value: 15}, {id: 2, value: 30}]"
|
|
3891
|
+
},
|
|
3892
|
+
{
|
|
3893
|
+
"name": "height",
|
|
3894
|
+
"decorators": [],
|
|
3895
|
+
"description": "Фиксированная высота графика в пикселях",
|
|
3896
|
+
"required": false,
|
|
3897
|
+
"type": "number",
|
|
3898
|
+
"example": "500"
|
|
3899
|
+
},
|
|
3900
|
+
{
|
|
3901
|
+
"name": "style",
|
|
3902
|
+
"decorators": [],
|
|
3903
|
+
"description": "Объект CSS стилей",
|
|
3904
|
+
"required": false,
|
|
3905
|
+
"type": "CSSProperties",
|
|
3906
|
+
"example": "{width: '45%'}"
|
|
3907
|
+
},
|
|
3908
|
+
{
|
|
3909
|
+
"name": "useDefaultLineChartConfig",
|
|
3910
|
+
"decorators": [],
|
|
3911
|
+
"description": "Использовать ли дефолтную конфигурацию для графика типа line",
|
|
3912
|
+
"required": false,
|
|
3913
|
+
"type": "boolean",
|
|
3914
|
+
"example": "ResponsiveLine"
|
|
3915
|
+
},
|
|
3916
|
+
{
|
|
3917
|
+
"name": "view",
|
|
3918
|
+
"decorators": [],
|
|
3919
|
+
"description": "Переопределение view React компонента для кастомизации отображения",
|
|
3920
|
+
"required": false,
|
|
3921
|
+
"type": "React.ReactNode | {}",
|
|
3922
|
+
"example": "MyCustomView"
|
|
3923
|
+
}
|
|
3924
|
+
]
|
|
3925
|
+
},
|
|
3694
3926
|
"ICopyToClipboardProps": {
|
|
3695
3927
|
"name": "ICopyToClipboardProps",
|
|
3696
3928
|
"moduleName": "ui/content/CopyToClipboard/CopyToClipboard",
|
|
@@ -4317,7 +4549,7 @@
|
|
|
4317
4549
|
"decorators": [],
|
|
4318
4550
|
"description": "В каком случае закрывать DropDown. По-умолчанию - `click-away`",
|
|
4319
4551
|
"required": false,
|
|
4320
|
-
"type": "
|
|
4552
|
+
"type": "string",
|
|
4321
4553
|
"example": "click-any"
|
|
4322
4554
|
},
|
|
4323
4555
|
{
|
|
@@ -4336,6 +4568,14 @@
|
|
|
4336
4568
|
"type": "{}",
|
|
4337
4569
|
"example": "() => Component"
|
|
4338
4570
|
},
|
|
4571
|
+
{
|
|
4572
|
+
"name": "defaultVisible",
|
|
4573
|
+
"decorators": [],
|
|
4574
|
+
"description": "Показывать ли компонент сразу после рендера страницы",
|
|
4575
|
+
"required": false,
|
|
4576
|
+
"type": "boolean",
|
|
4577
|
+
"example": null
|
|
4578
|
+
},
|
|
4339
4579
|
{
|
|
4340
4580
|
"name": "gap",
|
|
4341
4581
|
"decorators": [],
|
|
@@ -4406,6 +4646,14 @@
|
|
|
4406
4646
|
"IAbsolutePositioningOutputProps"
|
|
4407
4647
|
],
|
|
4408
4648
|
"properties": [
|
|
4649
|
+
{
|
|
4650
|
+
"name": "arrowPosition",
|
|
4651
|
+
"decorators": [],
|
|
4652
|
+
"description": "Объект стилей для позиционирования стрелки",
|
|
4653
|
+
"required": false,
|
|
4654
|
+
"type": "IComponentArrowPosition",
|
|
4655
|
+
"example": null
|
|
4656
|
+
},
|
|
4409
4657
|
{
|
|
4410
4658
|
"name": "autoPositioning",
|
|
4411
4659
|
"decorators": [],
|
|
@@ -4443,7 +4691,7 @@
|
|
|
4443
4691
|
"decorators": [],
|
|
4444
4692
|
"description": "В каком случае закрывать DropDown. По-умолчанию - `click-away`",
|
|
4445
4693
|
"required": false,
|
|
4446
|
-
"type": "
|
|
4694
|
+
"type": "string",
|
|
4447
4695
|
"example": "click-any"
|
|
4448
4696
|
},
|
|
4449
4697
|
{
|
|
@@ -4462,6 +4710,14 @@
|
|
|
4462
4710
|
"type": "{}",
|
|
4463
4711
|
"example": "() => Component"
|
|
4464
4712
|
},
|
|
4713
|
+
{
|
|
4714
|
+
"name": "defaultVisible",
|
|
4715
|
+
"decorators": [],
|
|
4716
|
+
"description": "Показывать ли компонент сразу после рендера страницы",
|
|
4717
|
+
"required": false,
|
|
4718
|
+
"type": "boolean",
|
|
4719
|
+
"example": null
|
|
4720
|
+
},
|
|
4465
4721
|
{
|
|
4466
4722
|
"name": "forwardedRef",
|
|
4467
4723
|
"decorators": [],
|
|
@@ -4531,7 +4787,7 @@
|
|
|
4531
4787
|
"decorators": [],
|
|
4532
4788
|
"description": "Объект стилей для абсолютного позиционирования",
|
|
4533
4789
|
"required": true,
|
|
4534
|
-
"type": "
|
|
4790
|
+
"type": "IComponentStylePosition",
|
|
4535
4791
|
"example": null
|
|
4536
4792
|
},
|
|
4537
4793
|
{
|
|
@@ -7593,7 +7849,7 @@
|
|
|
7593
7849
|
"name": "ICheckboxListFieldProps",
|
|
7594
7850
|
"moduleName": "ui/form/CheckboxListField/CheckboxListField",
|
|
7595
7851
|
"title": "CheckboxListField",
|
|
7596
|
-
"description": "\nСписок с чекбоксами. Используется в формах для выбора нескольких значений.\n
|
|
7852
|
+
"description": "\nСписок с чекбоксами. Используется в формах для выбора нескольких значений.\n",
|
|
7597
7853
|
"tags": {},
|
|
7598
7854
|
"defaultProps": null,
|
|
7599
7855
|
"extends": [
|
|
@@ -7976,6 +8232,14 @@
|
|
|
7976
8232
|
"required": true,
|
|
7977
8233
|
"type": "any[]",
|
|
7978
8234
|
"example": null
|
|
8235
|
+
},
|
|
8236
|
+
{
|
|
8237
|
+
"name": "size",
|
|
8238
|
+
"decorators": [],
|
|
8239
|
+
"description": "",
|
|
8240
|
+
"required": false,
|
|
8241
|
+
"type": "string",
|
|
8242
|
+
"example": null
|
|
7979
8243
|
}
|
|
7980
8244
|
]
|
|
7981
8245
|
},
|
|
@@ -9869,7 +10133,7 @@
|
|
|
9869
10133
|
"decorators": [],
|
|
9870
10134
|
"description": "Стилизация позиционирования.\nПри значении \"top\" верхняя часть шапки будет закруглена.",
|
|
9871
10135
|
"required": false,
|
|
9872
|
-
"type": "\"
|
|
10136
|
+
"type": "\"middle\" | \"top\" | \"bottom\"",
|
|
9873
10137
|
"example": "'top'"
|
|
9874
10138
|
},
|
|
9875
10139
|
{
|
|
@@ -12174,6 +12438,14 @@
|
|
|
12174
12438
|
"type": "boolean",
|
|
12175
12439
|
"example": null
|
|
12176
12440
|
},
|
|
12441
|
+
{
|
|
12442
|
+
"name": "onLoad",
|
|
12443
|
+
"decorators": [],
|
|
12444
|
+
"description": "Обработчик события загрузки файлов",
|
|
12445
|
+
"required": false,
|
|
12446
|
+
"type": "{}",
|
|
12447
|
+
"example": null
|
|
12448
|
+
},
|
|
12177
12449
|
{
|
|
12178
12450
|
"name": "onRemove",
|
|
12179
12451
|
"decorators": [],
|
|
@@ -12965,7 +13237,7 @@
|
|
|
12965
13237
|
{
|
|
12966
13238
|
"name": "autoFocus",
|
|
12967
13239
|
"decorators": [],
|
|
12968
|
-
"description": "Если в форме есть элементы input
|
|
13240
|
+
"description": "Если в форме есть элементы \\<input\\>, то произойдет автоматическая фокусировка на первом из них",
|
|
12969
13241
|
"required": false,
|
|
12970
13242
|
"type": "boolean",
|
|
12971
13243
|
"example": "true"
|
|
@@ -16318,15 +16590,7 @@
|
|
|
16318
16590
|
"example": null
|
|
16319
16591
|
},
|
|
16320
16592
|
{
|
|
16321
|
-
"name": "
|
|
16322
|
-
"decorators": [],
|
|
16323
|
-
"description": "",
|
|
16324
|
-
"required": true,
|
|
16325
|
-
"type": "{}",
|
|
16326
|
-
"example": null
|
|
16327
|
-
},
|
|
16328
|
-
{
|
|
16329
|
-
"name": "onShowPassword",
|
|
16593
|
+
"name": "onShowButtonClick",
|
|
16330
16594
|
"decorators": [],
|
|
16331
16595
|
"description": "",
|
|
16332
16596
|
"required": true,
|
|
@@ -21698,14 +21962,6 @@
|
|
|
21698
21962
|
"type": "{}",
|
|
21699
21963
|
"example": null
|
|
21700
21964
|
},
|
|
21701
|
-
{
|
|
21702
|
-
"name": "onToggleSidebar",
|
|
21703
|
-
"decorators": [],
|
|
21704
|
-
"description": "Callback-функция, вызывается при переключении сайдбара.",
|
|
21705
|
-
"required": false,
|
|
21706
|
-
"type": "{}",
|
|
21707
|
-
"example": null
|
|
21708
|
-
},
|
|
21709
21965
|
{
|
|
21710
21966
|
"name": "style",
|
|
21711
21967
|
"decorators": [],
|
|
@@ -21823,14 +22079,6 @@
|
|
|
21823
22079
|
"type": "{}",
|
|
21824
22080
|
"example": null
|
|
21825
22081
|
},
|
|
21826
|
-
{
|
|
21827
|
-
"name": "onToggleSidebar",
|
|
21828
|
-
"decorators": [],
|
|
21829
|
-
"description": "Callback-функция, вызывается при переключении сайдбара.",
|
|
21830
|
-
"required": false,
|
|
21831
|
-
"type": "{}",
|
|
21832
|
-
"example": null
|
|
21833
|
-
},
|
|
21834
22082
|
{
|
|
21835
22083
|
"name": "style",
|
|
21836
22084
|
"decorators": [],
|
|
@@ -22096,7 +22344,7 @@
|
|
|
22096
22344
|
"decorators": [],
|
|
22097
22345
|
"description": "Позиционирование подсказки, относительно целевого элемента",
|
|
22098
22346
|
"required": false,
|
|
22099
|
-
"type": "
|
|
22347
|
+
"type": "Position",
|
|
22100
22348
|
"example": null
|
|
22101
22349
|
},
|
|
22102
22350
|
{
|
|
@@ -22224,7 +22472,7 @@
|
|
|
22224
22472
|
"decorators": [],
|
|
22225
22473
|
"description": "Позиционирование подсказки, относительно целевого элемента",
|
|
22226
22474
|
"required": true,
|
|
22227
|
-
"type": "
|
|
22475
|
+
"type": "Position",
|
|
22228
22476
|
"example": null
|
|
22229
22477
|
},
|
|
22230
22478
|
{
|
|
@@ -22992,7 +23240,7 @@
|
|
|
22992
23240
|
"decorators": [],
|
|
22993
23241
|
"description": "Значение для css-свойства justify-content",
|
|
22994
23242
|
"required": false,
|
|
22995
|
-
"type": "\"
|
|
23243
|
+
"type": "\"center\" | \"end\" | \"start\" | \"stretch\" | \"flex-start\" | \"flex-end\" | \"left\" | \"right\" | \"space-between\" | \"space-around\" | \"space-evenly\"",
|
|
22996
23244
|
"example": null
|
|
22997
23245
|
},
|
|
22998
23246
|
{
|
|
@@ -23101,7 +23349,7 @@
|
|
|
23101
23349
|
"decorators": [],
|
|
23102
23350
|
"description": "Значение для css-свойства justify-content",
|
|
23103
23351
|
"required": false,
|
|
23104
|
-
"type": "\"
|
|
23352
|
+
"type": "\"center\" | \"end\" | \"start\" | \"stretch\" | \"flex-start\" | \"flex-end\" | \"left\" | \"right\" | \"space-between\" | \"space-around\" | \"space-evenly\"",
|
|
23105
23353
|
"example": null
|
|
23106
23354
|
},
|
|
23107
23355
|
{
|
|
@@ -27623,6 +27871,14 @@
|
|
|
27623
27871
|
}
|
|
27624
27872
|
},
|
|
27625
27873
|
"declarations": {
|
|
27874
|
+
"PositionType": {
|
|
27875
|
+
"name": "PositionType",
|
|
27876
|
+
"decorators": [],
|
|
27877
|
+
"description": "Варианты абсолютного позиционирования",
|
|
27878
|
+
"required": true,
|
|
27879
|
+
"type": " | string",
|
|
27880
|
+
"example": "'top'"
|
|
27881
|
+
},
|
|
27626
27882
|
"ListControlPosition": {
|
|
27627
27883
|
"name": "ListControlPosition",
|
|
27628
27884
|
"decorators": [],
|
|
@@ -27759,6 +28015,14 @@
|
|
|
27759
28015
|
"type": "ICardProps",
|
|
27760
28016
|
"example": null
|
|
27761
28017
|
},
|
|
28018
|
+
"IChartViewProps": {
|
|
28019
|
+
"name": "IChartViewProps",
|
|
28020
|
+
"decorators": [],
|
|
28021
|
+
"description": "",
|
|
28022
|
+
"required": true,
|
|
28023
|
+
"type": "IChartProps",
|
|
28024
|
+
"example": null
|
|
28025
|
+
},
|
|
27762
28026
|
"IMenuViewProps": {
|
|
27763
28027
|
"name": "IMenuViewProps",
|
|
27764
28028
|
"decorators": [],
|
|
@@ -27998,6 +28262,22 @@
|
|
|
27998
28262
|
"description": "Компонент для локализации приложения. Поддерживает конфигурацию языка и временной зоны\n\nПример строки: `{__('{count} {count, plural, one{день} few{дня} many{дней}}', {count: 2})}`\n",
|
|
27999
28263
|
"tags": {},
|
|
28000
28264
|
"properties": [
|
|
28265
|
+
{
|
|
28266
|
+
"name": "backendTimeDiff",
|
|
28267
|
+
"decorators": [],
|
|
28268
|
+
"description": "Разница времени с бекендом (в микросекундах)",
|
|
28269
|
+
"required": true,
|
|
28270
|
+
"type": "null",
|
|
28271
|
+
"example": null
|
|
28272
|
+
},
|
|
28273
|
+
{
|
|
28274
|
+
"name": "backendTimeZone",
|
|
28275
|
+
"decorators": [],
|
|
28276
|
+
"description": "Временная зона бекенда",
|
|
28277
|
+
"required": true,
|
|
28278
|
+
"type": "any",
|
|
28279
|
+
"example": null
|
|
28280
|
+
},
|
|
28001
28281
|
{
|
|
28002
28282
|
"name": "language",
|
|
28003
28283
|
"decorators": [],
|
|
@@ -28005,15 +28285,31 @@
|
|
|
28005
28285
|
"required": true,
|
|
28006
28286
|
"type": "string",
|
|
28007
28287
|
"example": "ru"
|
|
28288
|
+
},
|
|
28289
|
+
{
|
|
28290
|
+
"name": "sourceLanguage",
|
|
28291
|
+
"decorators": [],
|
|
28292
|
+
"description": "Исходный язык",
|
|
28293
|
+
"required": true,
|
|
28294
|
+
"type": "string",
|
|
28295
|
+
"example": null
|
|
28296
|
+
},
|
|
28297
|
+
{
|
|
28298
|
+
"name": "translations",
|
|
28299
|
+
"decorators": [],
|
|
28300
|
+
"description": "Переводы сообщений",
|
|
28301
|
+
"required": true,
|
|
28302
|
+
"type": "any",
|
|
28303
|
+
"example": null
|
|
28008
28304
|
}
|
|
28009
28305
|
],
|
|
28010
28306
|
"methods": [
|
|
28011
28307
|
{
|
|
28012
|
-
"name": "
|
|
28308
|
+
"name": "dayjs",
|
|
28013
28309
|
"decorators": [],
|
|
28014
|
-
"description": "Получение экземпляра `
|
|
28310
|
+
"description": "Получение экземпляра `dayjs` с учетом временной зоны бекенда",
|
|
28015
28311
|
"required": true,
|
|
28016
|
-
"type": "
|
|
28312
|
+
"type": "Dayjs",
|
|
28017
28313
|
"example": null,
|
|
28018
28314
|
"parameters": [
|
|
28019
28315
|
{
|
|
@@ -28033,6 +28329,58 @@
|
|
|
28033
28329
|
"example": null
|
|
28034
28330
|
}
|
|
28035
28331
|
]
|
|
28332
|
+
},
|
|
28333
|
+
{
|
|
28334
|
+
"name": "t",
|
|
28335
|
+
"decorators": [],
|
|
28336
|
+
"description": "Алиас для метода `translate`",
|
|
28337
|
+
"required": true,
|
|
28338
|
+
"type": "any",
|
|
28339
|
+
"example": null,
|
|
28340
|
+
"parameters": [
|
|
28341
|
+
{
|
|
28342
|
+
"name": "message",
|
|
28343
|
+
"decorators": [],
|
|
28344
|
+
"description": "",
|
|
28345
|
+
"required": true,
|
|
28346
|
+
"type": "any",
|
|
28347
|
+
"example": null
|
|
28348
|
+
},
|
|
28349
|
+
{
|
|
28350
|
+
"name": "params",
|
|
28351
|
+
"decorators": [],
|
|
28352
|
+
"description": "",
|
|
28353
|
+
"required": true,
|
|
28354
|
+
"type": "{}",
|
|
28355
|
+
"example": null
|
|
28356
|
+
}
|
|
28357
|
+
]
|
|
28358
|
+
},
|
|
28359
|
+
{
|
|
28360
|
+
"name": "translate",
|
|
28361
|
+
"decorators": [],
|
|
28362
|
+
"description": "Перевод сообщения",
|
|
28363
|
+
"required": true,
|
|
28364
|
+
"type": "any",
|
|
28365
|
+
"example": null,
|
|
28366
|
+
"parameters": [
|
|
28367
|
+
{
|
|
28368
|
+
"name": "message",
|
|
28369
|
+
"decorators": [],
|
|
28370
|
+
"description": "",
|
|
28371
|
+
"required": true,
|
|
28372
|
+
"type": "any",
|
|
28373
|
+
"example": null
|
|
28374
|
+
},
|
|
28375
|
+
{
|
|
28376
|
+
"name": "params",
|
|
28377
|
+
"decorators": [],
|
|
28378
|
+
"description": "",
|
|
28379
|
+
"required": true,
|
|
28380
|
+
"type": "{}",
|
|
28381
|
+
"example": null
|
|
28382
|
+
}
|
|
28383
|
+
]
|
|
28036
28384
|
}
|
|
28037
28385
|
]
|
|
28038
28386
|
},
|
|
@@ -28743,6 +29091,13 @@
|
|
|
28743
29091
|
"description": "",
|
|
28744
29092
|
"tags": {}
|
|
28745
29093
|
},
|
|
29094
|
+
"ui/content/Chart/Chart": {
|
|
29095
|
+
"name": "default",
|
|
29096
|
+
"moduleName": "ui/content/Chart/Chart",
|
|
29097
|
+
"title": "",
|
|
29098
|
+
"description": "",
|
|
29099
|
+
"tags": {}
|
|
29100
|
+
},
|
|
28746
29101
|
"ui/content/Detail/Detail": {
|
|
28747
29102
|
"name": "default",
|
|
28748
29103
|
"moduleName": "ui/content/Detail/Detail",
|