@steroidsjs/core 3.0.0-beta.111 → 3.0.0-beta.112

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.
@@ -3845,14 +3845,6 @@
3845
3845
  "type": "string | boolean | IEmptyProps",
3846
3846
  "example": "{\n text: 'Записи не найдены'\n}"
3847
3847
  },
3848
- {
3849
- "name": "hasTreeItems",
3850
- "decorators": [],
3851
- "description": "Включает обработку вложенных данных из items",
3852
- "required": false,
3853
- "type": "boolean",
3854
- "example": null
3855
- },
3856
3848
  {
3857
3849
  "name": "initialItems",
3858
3850
  "decorators": [],
@@ -4243,6 +4235,723 @@
4243
4235
  ],
4244
4236
  "methods": []
4245
4237
  },
4238
+ "IPreparedTreeItem": {
4239
+ "name": "IPreparedTreeItem",
4240
+ "moduleName": "hooks/useTree",
4241
+ "title": "",
4242
+ "description": "",
4243
+ "tags": {},
4244
+ "defaultProps": null,
4245
+ "extends": [
4246
+ "ITreeItem"
4247
+ ],
4248
+ "properties": [
4249
+ {
4250
+ "name": "badge",
4251
+ "decorators": [],
4252
+ "description": "Цифра (к примеру, новые сообщения)",
4253
+ "required": false,
4254
+ "type": "number | IButtonBadge",
4255
+ "example": null
4256
+ },
4257
+ {
4258
+ "name": "block",
4259
+ "decorators": [],
4260
+ "description": "Включает стиль `block`, делая размер кнопки на 100% ширины блока",
4261
+ "required": false,
4262
+ "type": "boolean",
4263
+ "example": "true"
4264
+ },
4265
+ {
4266
+ "name": "children",
4267
+ "decorators": [],
4268
+ "description": "Вложенные элементы",
4269
+ "required": false,
4270
+ "type": "any",
4271
+ "example": null
4272
+ },
4273
+ {
4274
+ "name": "className",
4275
+ "decorators": [],
4276
+ "description": "Дополнительный CSS-класс для элемента отображения",
4277
+ "required": false,
4278
+ "type": "string",
4279
+ "example": null
4280
+ },
4281
+ {
4282
+ "name": "color",
4283
+ "decorators": [],
4284
+ "description": "Цвет состояния",
4285
+ "required": false,
4286
+ "type": "string",
4287
+ "example": "success"
4288
+ },
4289
+ {
4290
+ "name": "confirm",
4291
+ "decorators": [],
4292
+ "description": "При указании данного свойства, после нажатия на кнопку и до выполнения действия будет отображено нативное\nокно с текстом подтверждения - `window.confirm('Ваш текст')`.",
4293
+ "required": false,
4294
+ "type": "string",
4295
+ "example": "Удалить запись #512?"
4296
+ },
4297
+ {
4298
+ "name": "dark",
4299
+ "decorators": [],
4300
+ "description": "Темная тема",
4301
+ "required": false,
4302
+ "type": "boolean",
4303
+ "example": null
4304
+ },
4305
+ {
4306
+ "name": "disabled",
4307
+ "decorators": [],
4308
+ "description": "Переводит кнопку в состояние \"не активна\"",
4309
+ "required": false,
4310
+ "type": "boolean",
4311
+ "example": "true"
4312
+ },
4313
+ {
4314
+ "name": "formId",
4315
+ "decorators": [],
4316
+ "description": "ID формы, для которой кнопка выполняет submit. При указании ID формы кнопка будет показывать состояние загрузки\nпри отправке формы.",
4317
+ "required": false,
4318
+ "type": "string | boolean",
4319
+ "example": null
4320
+ },
4321
+ {
4322
+ "name": "hasItems",
4323
+ "decorators": [],
4324
+ "description": "",
4325
+ "required": true,
4326
+ "type": "boolean",
4327
+ "example": null
4328
+ },
4329
+ {
4330
+ "name": "hint",
4331
+ "decorators": [],
4332
+ "description": "Подсказка, отображается при наведении (через тег title)",
4333
+ "required": false,
4334
+ "type": "any",
4335
+ "example": "Save"
4336
+ },
4337
+ {
4338
+ "name": "icon",
4339
+ "decorators": [],
4340
+ "description": "Иконка",
4341
+ "required": false,
4342
+ "type": "string",
4343
+ "example": null
4344
+ },
4345
+ {
4346
+ "name": "id",
4347
+ "decorators": [],
4348
+ "description": "Идентификатор узла",
4349
+ "required": true,
4350
+ "type": "string | number | boolean",
4351
+ "example": null
4352
+ },
4353
+ {
4354
+ "name": "index",
4355
+ "decorators": [],
4356
+ "description": "",
4357
+ "required": true,
4358
+ "type": "number",
4359
+ "example": null
4360
+ },
4361
+ {
4362
+ "name": "isFailed",
4363
+ "decorators": [],
4364
+ "description": "Отобразить кнопку в состоянии неуспешного нажатия (например, при неуспешном ajax запросе)",
4365
+ "required": false,
4366
+ "type": "boolean",
4367
+ "example": "true"
4368
+ },
4369
+ {
4370
+ "name": "isLoading",
4371
+ "decorators": [],
4372
+ "description": "Отображать индикатор загрузки?",
4373
+ "required": false,
4374
+ "type": "boolean",
4375
+ "example": "true"
4376
+ },
4377
+ {
4378
+ "name": "isOpened",
4379
+ "decorators": [],
4380
+ "description": "",
4381
+ "required": true,
4382
+ "type": "boolean",
4383
+ "example": null
4384
+ },
4385
+ {
4386
+ "name": "isSelected",
4387
+ "decorators": [],
4388
+ "description": "",
4389
+ "required": true,
4390
+ "type": "boolean",
4391
+ "example": null
4392
+ },
4393
+ {
4394
+ "name": "items",
4395
+ "decorators": [],
4396
+ "description": "Вложенные элементы",
4397
+ "required": false,
4398
+ "type": "ITreeItem[]",
4399
+ "example": "[\n {\n id: 2,\n label: 'Nested element',\n items: [...]\n }\n]"
4400
+ },
4401
+ {
4402
+ "name": "label",
4403
+ "decorators": [],
4404
+ "description": "Текст кнопки или ссылки",
4405
+ "required": false,
4406
+ "type": "any",
4407
+ "example": "Save"
4408
+ },
4409
+ {
4410
+ "name": "level",
4411
+ "decorators": [],
4412
+ "description": "",
4413
+ "required": true,
4414
+ "type": "number",
4415
+ "example": null
4416
+ },
4417
+ {
4418
+ "name": "link",
4419
+ "decorators": [],
4420
+ "description": "Отображать как ссылку?",
4421
+ "required": false,
4422
+ "type": "boolean",
4423
+ "example": "true"
4424
+ },
4425
+ {
4426
+ "name": "outline",
4427
+ "decorators": [],
4428
+ "description": "Включает стиль `outline`, когда у кнопки остается только `border`, а цвет кнопки становится прозрачным",
4429
+ "required": false,
4430
+ "type": "boolean",
4431
+ "example": "true"
4432
+ },
4433
+ {
4434
+ "name": "resetFailedMs",
4435
+ "decorators": [],
4436
+ "description": "Через сколько миллисекунд должно исчезнуть состояние \"failed\"",
4437
+ "required": false,
4438
+ "type": "number",
4439
+ "example": "5000"
4440
+ },
4441
+ {
4442
+ "name": "size",
4443
+ "decorators": [],
4444
+ "description": "Размер",
4445
+ "required": false,
4446
+ "type": "string",
4447
+ "example": null
4448
+ },
4449
+ {
4450
+ "name": "style",
4451
+ "decorators": [],
4452
+ "description": "Объект CSS стилей",
4453
+ "required": false,
4454
+ "type": "CSSProperties",
4455
+ "example": "{width: '45%'}"
4456
+ },
4457
+ {
4458
+ "name": "tag",
4459
+ "decorators": [],
4460
+ "description": "Выбор html-тэга, который будет вставлен в DOM",
4461
+ "required": false,
4462
+ "type": "\"a\" | \"button\"",
4463
+ "example": "button"
4464
+ },
4465
+ {
4466
+ "name": "target",
4467
+ "decorators": [],
4468
+ "description": "HTML аттрибут `target`, доступен только для ссылок",
4469
+ "required": false,
4470
+ "type": "string",
4471
+ "example": "_blank"
4472
+ },
4473
+ {
4474
+ "name": "textColor",
4475
+ "decorators": [],
4476
+ "description": "Цвет текста кнопки или ссылки",
4477
+ "required": false,
4478
+ "type": "any",
4479
+ "example": null
4480
+ },
4481
+ {
4482
+ "name": "toRoute",
4483
+ "decorators": [],
4484
+ "description": "ID роута, на который необходимо перейти, указанный в дереве `steroids` роутинга. Для передачи параметров\nиспользуйте свойство `toRouteParams`",
4485
+ "required": false,
4486
+ "type": "string",
4487
+ "example": "profile"
4488
+ },
4489
+ {
4490
+ "name": "toRouteParams",
4491
+ "decorators": [],
4492
+ "description": "Параметры роута, на который необходимо перейти, см. свойство `toRoute`.",
4493
+ "required": false,
4494
+ "type": "Record",
4495
+ "example": "{userId: 52}"
4496
+ },
4497
+ {
4498
+ "name": "type",
4499
+ "decorators": [],
4500
+ "description": "HTML Тип",
4501
+ "required": false,
4502
+ "type": "\"button\" | \"submit\"",
4503
+ "example": "submit"
4504
+ },
4505
+ {
4506
+ "name": "uniqueId",
4507
+ "decorators": [],
4508
+ "description": "",
4509
+ "required": true,
4510
+ "type": "string",
4511
+ "example": null
4512
+ },
4513
+ {
4514
+ "name": "url",
4515
+ "decorators": [],
4516
+ "description": "Ссылка на внешнюю страницу, используется совместно с свойством `link`",
4517
+ "required": false,
4518
+ "type": "string",
4519
+ "example": "https://kozhindev.com"
4520
+ },
4521
+ {
4522
+ "name": "view",
4523
+ "decorators": [],
4524
+ "description": "Переопределение view React компонента для кастомизации отображения",
4525
+ "required": false,
4526
+ "type": "React.ReactNode | {}",
4527
+ "example": "MyCustomView"
4528
+ },
4529
+ {
4530
+ "name": "visible",
4531
+ "decorators": [],
4532
+ "description": "Скрыть или показать узел",
4533
+ "required": false,
4534
+ "type": "boolean",
4535
+ "example": "true"
4536
+ }
4537
+ ],
4538
+ "methods": [
4539
+ {
4540
+ "name": "onClick",
4541
+ "decorators": [],
4542
+ "description": "Обработчик события нажатия. Для асинхронных событий вовзращяйте в обработчике `Promise`, тогда кнопка\nавтоматически будет переключаться в режим загрузки (`loading`) на время выполнения `Promise`.",
4543
+ "required": false,
4544
+ "type": "void",
4545
+ "example": null,
4546
+ "parameters": [
4547
+ {
4548
+ "name": "e",
4549
+ "decorators": [],
4550
+ "description": "",
4551
+ "required": true,
4552
+ "type": "any",
4553
+ "example": null
4554
+ }
4555
+ ]
4556
+ }
4557
+ ]
4558
+ },
4559
+ "ITreeConfig": {
4560
+ "name": "ITreeConfig",
4561
+ "moduleName": "hooks/useTree",
4562
+ "title": "",
4563
+ "description": "",
4564
+ "tags": {},
4565
+ "defaultProps": null,
4566
+ "extends": [],
4567
+ "properties": [
4568
+ {
4569
+ "name": "alwaysOpened",
4570
+ "decorators": [],
4571
+ "description": " Используется для управления раскрытием всех элементов в дереве",
4572
+ "required": false,
4573
+ "type": "boolean",
4574
+ "example": null
4575
+ },
4576
+ {
4577
+ "name": "autoOpenLevels",
4578
+ "decorators": [],
4579
+ "description": "Максимальный уровень вложенности, до которого все узлы будут отображаться в развёрнутом виде",
4580
+ "required": false,
4581
+ "type": "number",
4582
+ "example": "1"
4583
+ },
4584
+ {
4585
+ "name": "currentPage",
4586
+ "decorators": [],
4587
+ "description": " Текущая страница, используется для корректного отображения пагинации",
4588
+ "required": false,
4589
+ "type": "number",
4590
+ "example": null
4591
+ },
4592
+ {
4593
+ "name": "items",
4594
+ "decorators": [],
4595
+ "description": "Коллекция с узлами. Также можно передать идентификатор роута, тогда компонент найдет все\nвложенные роуты и отобразит их в виде дерева.",
4596
+ "required": false,
4597
+ "type": "string | ITreeItem[]",
4598
+ "example": "[\n {\n id: 1,\n label: 'Root',\n items: [...]\n }\n] | 'root'"
4599
+ },
4600
+ {
4601
+ "name": "itemsKey",
4602
+ "decorators": [],
4603
+ "description": "Ключ для доступа к вложенным элементам узла",
4604
+ "required": false,
4605
+ "type": "string",
4606
+ "example": "'items'"
4607
+ },
4608
+ {
4609
+ "name": "itemsOnPage",
4610
+ "decorators": [],
4611
+ "description": " Количество элементов на странице, используется для корректного отображения пагинации",
4612
+ "required": false,
4613
+ "type": "number",
4614
+ "example": null
4615
+ },
4616
+ {
4617
+ "name": "level",
4618
+ "decorators": [],
4619
+ "description": "Ограничивает максимальный уровень вложенности дерева",
4620
+ "required": false,
4621
+ "type": "number",
4622
+ "example": "2"
4623
+ },
4624
+ {
4625
+ "name": "routerParams",
4626
+ "decorators": [],
4627
+ "description": " Параметры роутинга",
4628
+ "required": false,
4629
+ "type": "any",
4630
+ "example": null
4631
+ },
4632
+ {
4633
+ "name": "selectedItemId",
4634
+ "decorators": [],
4635
+ "description": "Идентификатор узла, которой нужно отобразить в раскрытом виде",
4636
+ "required": false,
4637
+ "type": "string | number",
4638
+ "example": "2"
4639
+ }
4640
+ ],
4641
+ "methods": [
4642
+ {
4643
+ "name": "onExpand",
4644
+ "decorators": [],
4645
+ "description": "Обработчик на клик по узлу",
4646
+ "required": false,
4647
+ "type": "any",
4648
+ "example": null,
4649
+ "parameters": [
4650
+ {
4651
+ "name": "args",
4652
+ "decorators": [],
4653
+ "description": "\n",
4654
+ "required": true,
4655
+ "type": "any[]",
4656
+ "example": null
4657
+ }
4658
+ ]
4659
+ }
4660
+ ]
4661
+ },
4662
+ "ITreeItem": {
4663
+ "name": "ITreeItem",
4664
+ "moduleName": "hooks/useTree",
4665
+ "title": "",
4666
+ "description": "",
4667
+ "tags": {},
4668
+ "defaultProps": null,
4669
+ "extends": [
4670
+ "IButtonProps"
4671
+ ],
4672
+ "properties": [
4673
+ {
4674
+ "name": "badge",
4675
+ "decorators": [],
4676
+ "description": "Цифра (к примеру, новые сообщения)",
4677
+ "required": false,
4678
+ "type": "number | IButtonBadge",
4679
+ "example": null
4680
+ },
4681
+ {
4682
+ "name": "block",
4683
+ "decorators": [],
4684
+ "description": "Включает стиль `block`, делая размер кнопки на 100% ширины блока",
4685
+ "required": false,
4686
+ "type": "boolean",
4687
+ "example": "true"
4688
+ },
4689
+ {
4690
+ "name": "children",
4691
+ "decorators": [],
4692
+ "description": "Вложенные элементы",
4693
+ "required": false,
4694
+ "type": "any",
4695
+ "example": null
4696
+ },
4697
+ {
4698
+ "name": "className",
4699
+ "decorators": [],
4700
+ "description": "Дополнительный CSS-класс для элемента отображения",
4701
+ "required": false,
4702
+ "type": "string",
4703
+ "example": null
4704
+ },
4705
+ {
4706
+ "name": "color",
4707
+ "decorators": [],
4708
+ "description": "Цвет состояния",
4709
+ "required": false,
4710
+ "type": "string",
4711
+ "example": "success"
4712
+ },
4713
+ {
4714
+ "name": "confirm",
4715
+ "decorators": [],
4716
+ "description": "При указании данного свойства, после нажатия на кнопку и до выполнения действия будет отображено нативное\nокно с текстом подтверждения - `window.confirm('Ваш текст')`.",
4717
+ "required": false,
4718
+ "type": "string",
4719
+ "example": "Удалить запись #512?"
4720
+ },
4721
+ {
4722
+ "name": "dark",
4723
+ "decorators": [],
4724
+ "description": "Темная тема",
4725
+ "required": false,
4726
+ "type": "boolean",
4727
+ "example": null
4728
+ },
4729
+ {
4730
+ "name": "disabled",
4731
+ "decorators": [],
4732
+ "description": "Переводит кнопку в состояние \"не активна\"",
4733
+ "required": false,
4734
+ "type": "boolean",
4735
+ "example": "true"
4736
+ },
4737
+ {
4738
+ "name": "formId",
4739
+ "decorators": [],
4740
+ "description": "ID формы, для которой кнопка выполняет submit. При указании ID формы кнопка будет показывать состояние загрузки\nпри отправке формы.",
4741
+ "required": false,
4742
+ "type": "string | boolean",
4743
+ "example": null
4744
+ },
4745
+ {
4746
+ "name": "hint",
4747
+ "decorators": [],
4748
+ "description": "Подсказка, отображается при наведении (через тег title)",
4749
+ "required": false,
4750
+ "type": "any",
4751
+ "example": "Save"
4752
+ },
4753
+ {
4754
+ "name": "icon",
4755
+ "decorators": [],
4756
+ "description": "Иконка",
4757
+ "required": false,
4758
+ "type": "string",
4759
+ "example": null
4760
+ },
4761
+ {
4762
+ "name": "id",
4763
+ "decorators": [],
4764
+ "description": "Идентификатор узла",
4765
+ "required": true,
4766
+ "type": "string | number | boolean",
4767
+ "example": null
4768
+ },
4769
+ {
4770
+ "name": "isFailed",
4771
+ "decorators": [],
4772
+ "description": "Отобразить кнопку в состоянии неуспешного нажатия (например, при неуспешном ajax запросе)",
4773
+ "required": false,
4774
+ "type": "boolean",
4775
+ "example": "true"
4776
+ },
4777
+ {
4778
+ "name": "isLoading",
4779
+ "decorators": [],
4780
+ "description": "Отображать индикатор загрузки?",
4781
+ "required": false,
4782
+ "type": "boolean",
4783
+ "example": "true"
4784
+ },
4785
+ {
4786
+ "name": "items",
4787
+ "decorators": [],
4788
+ "description": "Вложенные элементы",
4789
+ "required": false,
4790
+ "type": "ITreeItem[]",
4791
+ "example": "[\n {\n id: 2,\n label: 'Nested element',\n items: [...]\n }\n]"
4792
+ },
4793
+ {
4794
+ "name": "label",
4795
+ "decorators": [],
4796
+ "description": "Текст кнопки или ссылки",
4797
+ "required": false,
4798
+ "type": "any",
4799
+ "example": "Save"
4800
+ },
4801
+ {
4802
+ "name": "link",
4803
+ "decorators": [],
4804
+ "description": "Отображать как ссылку?",
4805
+ "required": false,
4806
+ "type": "boolean",
4807
+ "example": "true"
4808
+ },
4809
+ {
4810
+ "name": "outline",
4811
+ "decorators": [],
4812
+ "description": "Включает стиль `outline`, когда у кнопки остается только `border`, а цвет кнопки становится прозрачным",
4813
+ "required": false,
4814
+ "type": "boolean",
4815
+ "example": "true"
4816
+ },
4817
+ {
4818
+ "name": "resetFailedMs",
4819
+ "decorators": [],
4820
+ "description": "Через сколько миллисекунд должно исчезнуть состояние \"failed\"",
4821
+ "required": false,
4822
+ "type": "number",
4823
+ "example": "5000"
4824
+ },
4825
+ {
4826
+ "name": "size",
4827
+ "decorators": [],
4828
+ "description": "Размер",
4829
+ "required": false,
4830
+ "type": "string",
4831
+ "example": null
4832
+ },
4833
+ {
4834
+ "name": "style",
4835
+ "decorators": [],
4836
+ "description": "Объект CSS стилей",
4837
+ "required": false,
4838
+ "type": "CSSProperties",
4839
+ "example": "{width: '45%'}"
4840
+ },
4841
+ {
4842
+ "name": "tag",
4843
+ "decorators": [],
4844
+ "description": "Выбор html-тэга, который будет вставлен в DOM",
4845
+ "required": false,
4846
+ "type": "\"a\" | \"button\"",
4847
+ "example": "button"
4848
+ },
4849
+ {
4850
+ "name": "target",
4851
+ "decorators": [],
4852
+ "description": "HTML аттрибут `target`, доступен только для ссылок",
4853
+ "required": false,
4854
+ "type": "string",
4855
+ "example": "_blank"
4856
+ },
4857
+ {
4858
+ "name": "textColor",
4859
+ "decorators": [],
4860
+ "description": "Цвет текста кнопки или ссылки",
4861
+ "required": false,
4862
+ "type": "any",
4863
+ "example": null
4864
+ },
4865
+ {
4866
+ "name": "toRoute",
4867
+ "decorators": [],
4868
+ "description": "ID роута, на который необходимо перейти, указанный в дереве `steroids` роутинга. Для передачи параметров\nиспользуйте свойство `toRouteParams`",
4869
+ "required": false,
4870
+ "type": "string",
4871
+ "example": "profile"
4872
+ },
4873
+ {
4874
+ "name": "toRouteParams",
4875
+ "decorators": [],
4876
+ "description": "Параметры роута, на который необходимо перейти, см. свойство `toRoute`.",
4877
+ "required": false,
4878
+ "type": "Record",
4879
+ "example": "{userId: 52}"
4880
+ },
4881
+ {
4882
+ "name": "type",
4883
+ "decorators": [],
4884
+ "description": "HTML Тип",
4885
+ "required": false,
4886
+ "type": "\"button\" | \"submit\"",
4887
+ "example": "submit"
4888
+ },
4889
+ {
4890
+ "name": "url",
4891
+ "decorators": [],
4892
+ "description": "Ссылка на внешнюю страницу, используется совместно с свойством `link`",
4893
+ "required": false,
4894
+ "type": "string",
4895
+ "example": "https://kozhindev.com"
4896
+ },
4897
+ {
4898
+ "name": "view",
4899
+ "decorators": [],
4900
+ "description": "Переопределение view React компонента для кастомизации отображения",
4901
+ "required": false,
4902
+ "type": "React.ReactNode | {}",
4903
+ "example": "MyCustomView"
4904
+ },
4905
+ {
4906
+ "name": "visible",
4907
+ "decorators": [],
4908
+ "description": "Скрыть или показать узел",
4909
+ "required": false,
4910
+ "type": "boolean",
4911
+ "example": "true"
4912
+ }
4913
+ ],
4914
+ "methods": [
4915
+ {
4916
+ "name": "onClick",
4917
+ "decorators": [],
4918
+ "description": "Обработчик события нажатия. Для асинхронных событий вовзращяйте в обработчике `Promise`, тогда кнопка\nавтоматически будет переключаться в режим загрузки (`loading`) на время выполнения `Promise`.",
4919
+ "required": false,
4920
+ "type": "any",
4921
+ "example": null,
4922
+ "parameters": [
4923
+ {
4924
+ "name": "e",
4925
+ "decorators": [],
4926
+ "description": "=> fetch(...)\n",
4927
+ "required": true,
4928
+ "type": "Event | MouseEvent",
4929
+ "example": null
4930
+ }
4931
+ ]
4932
+ }
4933
+ ]
4934
+ },
4935
+ "ITreeOutput": {
4936
+ "name": "ITreeOutput",
4937
+ "moduleName": "hooks/useTree",
4938
+ "title": "",
4939
+ "description": "",
4940
+ "tags": {},
4941
+ "defaultProps": null,
4942
+ "extends": [],
4943
+ "properties": [
4944
+ {
4945
+ "name": "treeItems",
4946
+ "decorators": [],
4947
+ "description": "",
4948
+ "required": true,
4949
+ "type": "IPreparedTreeItem[]",
4950
+ "example": null
4951
+ }
4952
+ ],
4953
+ "methods": []
4954
+ },
4246
4955
  "IUiComponent": {
4247
4956
  "name": "IUiComponent",
4248
4957
  "moduleName": "index",
@@ -9395,7 +10104,7 @@
9395
10104
  "decorators": [],
9396
10105
  "description": "",
9397
10106
  "required": true,
9398
- "type": "string",
10107
+ "type": "number",
9399
10108
  "example": null
9400
10109
  },
9401
10110
  {
@@ -9481,7 +10190,7 @@
9481
10190
  "decorators": [],
9482
10191
  "description": "",
9483
10192
  "required": true,
9484
- "type": "string",
10193
+ "type": "number",
9485
10194
  "example": null
9486
10195
  }
9487
10196
  ]
@@ -9507,7 +10216,7 @@
9507
10216
  "decorators": [],
9508
10217
  "description": "",
9509
10218
  "required": true,
9510
- "type": "string",
10219
+ "type": "number",
9511
10220
  "example": null
9512
10221
  },
9513
10222
  {
@@ -10031,7 +10740,7 @@
10031
10740
  "decorators": [],
10032
10741
  "description": "",
10033
10742
  "required": true,
10034
- "type": "string",
10743
+ "type": "number",
10035
10744
  "example": null
10036
10745
  },
10037
10746
  {
@@ -13838,7 +14547,7 @@
13838
14547
  "decorators": [],
13839
14548
  "description": "Свойства для элемента input",
13840
14549
  "required": true,
13841
- "type": "{checked: boolean, disabled: boolean, name: string, type: string, onChange: null}",
14550
+ "type": "{checked: boolean, disabled: boolean, name: string, required: boolean, type: string, onChange: null}",
13842
14551
  "example": null
13843
14552
  },
13844
14553
  {
@@ -13943,11 +14652,486 @@
13943
14652
  }
13944
14653
  ]
13945
14654
  },
13946
- "ICheckboxListFieldProps": {
13947
- "name": "ICheckboxListFieldProps",
14655
+ "ICheckboxListFieldProps": {
14656
+ "name": "ICheckboxListFieldProps",
14657
+ "moduleName": "ui/form/CheckboxListField/CheckboxListField",
14658
+ "title": "CheckboxListField",
14659
+ "description": "\nСписок с чекбоксами. Используется в формах для выбора нескольких значений.\n",
14660
+ "tags": {},
14661
+ "defaultProps": null,
14662
+ "extends": [
14663
+ "IFieldWrapperInputProps",
14664
+ "Omit<IDataProviderConfig",
14665
+ "'items'>",
14666
+ "Omit<IDataSelectConfig",
14667
+ "'items'>",
14668
+ "IUiComponent"
14669
+ ],
14670
+ "properties": [
14671
+ {
14672
+ "name": "attribute",
14673
+ "decorators": [],
14674
+ "description": "Аттрибут (название) поля в форме",
14675
+ "required": false,
14676
+ "type": "string",
14677
+ "example": "'isVisible'",
14678
+ "defaultValue": null
14679
+ },
14680
+ {
14681
+ "name": "autoComplete",
14682
+ "decorators": [],
14683
+ "description": "Настройки поиска",
14684
+ "required": false,
14685
+ "type": "boolean | IAutoCompleteConfig",
14686
+ "example": "{\n enable: true,\n minLength: 2,\n delay: 100\n}",
14687
+ "defaultValue": null
14688
+ },
14689
+ {
14690
+ "name": "autoFetch",
14691
+ "decorators": [],
14692
+ "description": "Загрузка данных после любого изменения запроса.\nЕсли включен autoFetch, то настройки autoComplete не применятся.",
14693
+ "required": false,
14694
+ "type": "boolean",
14695
+ "example": "true",
14696
+ "defaultValue": null
14697
+ },
14698
+ {
14699
+ "name": "className",
14700
+ "decorators": [],
14701
+ "description": "Дополнительный CSS-класс для элемента отображения",
14702
+ "required": false,
14703
+ "type": "string",
14704
+ "example": null,
14705
+ "defaultValue": null
14706
+ },
14707
+ {
14708
+ "name": "dataProvider",
14709
+ "decorators": [],
14710
+ "description": "Конфигурация для подгрузки данных извне.\nЕсли dataProvider не передан, то поиск данных по запросу происходит локально.",
14711
+ "required": false,
14712
+ "type": "IDataProvider",
14713
+ "example": null,
14714
+ "defaultValue": null
14715
+ },
14716
+ {
14717
+ "name": "date",
14718
+ "decorators": [],
14719
+ "description": "",
14720
+ "required": false,
14721
+ "type": "any",
14722
+ "example": null,
14723
+ "defaultValue": null
14724
+ },
14725
+ {
14726
+ "name": "disabled",
14727
+ "decorators": [],
14728
+ "description": "Переводит элемент в состояние \"не активен\"",
14729
+ "required": false,
14730
+ "type": "boolean",
14731
+ "example": "true",
14732
+ "defaultValue": null
14733
+ },
14734
+ {
14735
+ "name": "errors",
14736
+ "decorators": [],
14737
+ "description": "Ошибки в поле",
14738
+ "required": false,
14739
+ "type": "string[]",
14740
+ "example": "['Error text']",
14741
+ "defaultValue": null
14742
+ },
14743
+ {
14744
+ "name": "fieldLayoutClassName",
14745
+ "decorators": [],
14746
+ "description": "Дополнительный CSS-класс для обертки FieldLayout",
14747
+ "required": false,
14748
+ "type": "string",
14749
+ "example": null,
14750
+ "defaultValue": null
14751
+ },
14752
+ {
14753
+ "name": "groupAttribute",
14754
+ "decorators": [],
14755
+ "description": "Атрибут, в котором должны лежать дочерние элементы списка (для группировки)\nЕсли аттрибут не задан - группировка не производится",
14756
+ "required": false,
14757
+ "type": "string",
14758
+ "example": "items",
14759
+ "defaultValue": null
14760
+ },
14761
+ {
14762
+ "name": "hint",
14763
+ "decorators": [],
14764
+ "description": "Подсказка, которая отобразится рядом с полем",
14765
+ "required": false,
14766
+ "type": "string",
14767
+ "example": "'Only english letters'",
14768
+ "defaultValue": null
14769
+ },
14770
+ {
14771
+ "name": "id",
14772
+ "decorators": [],
14773
+ "description": "Input ID для связи поля с label",
14774
+ "required": false,
14775
+ "type": "string",
14776
+ "example": null,
14777
+ "defaultValue": null
14778
+ },
14779
+ {
14780
+ "name": "initialSelectedIds",
14781
+ "decorators": [],
14782
+ "description": "Идентификаторы выбранных значений, которые необходимо подгрузить при `autoFetch` режиме.\nНа бекенд будут переданы идентификаторы в параметре `ids`, которые необходимо вернуть.\nИспользуется только при `autoFetch = true`",
14783
+ "required": false,
14784
+ "type": "number[]",
14785
+ "example": "[1, 22]",
14786
+ "defaultValue": null
14787
+ },
14788
+ {
14789
+ "name": "inputProps",
14790
+ "decorators": [],
14791
+ "description": "Свойства для элемента input",
14792
+ "required": false,
14793
+ "type": "any",
14794
+ "example": "{ onKeyDown: ... }",
14795
+ "defaultValue": null
14796
+ },
14797
+ {
14798
+ "name": "inputValue",
14799
+ "decorators": [],
14800
+ "description": "Значение поля в форме",
14801
+ "required": false,
14802
+ "type": "any",
14803
+ "example": null,
14804
+ "defaultValue": null
14805
+ },
14806
+ {
14807
+ "name": "isRenderWithoutFieldLayout",
14808
+ "decorators": [],
14809
+ "description": "Возможность отрендерить поле без обертки в компонент FieldLayout",
14810
+ "required": false,
14811
+ "type": "boolean",
14812
+ "example": null,
14813
+ "defaultValue": null
14814
+ },
14815
+ {
14816
+ "name": "itemView",
14817
+ "decorators": [],
14818
+ "description": "Кастомная вьюшка для элемента",
14819
+ "required": false,
14820
+ "type": "React.ReactNode | {}",
14821
+ "example": null,
14822
+ "defaultValue": null
14823
+ },
14824
+ {
14825
+ "name": "items",
14826
+ "decorators": [],
14827
+ "description": "Коллекция элементов",
14828
+ "required": true,
14829
+ "type": "CheckboxFieldListItems",
14830
+ "example": "[\n {\n id: 1,\n label: 'Krasnoyarsk',\n color: 'red'\n },\n {\n id: 2,\n label: 'Moscow',\n color: 'purple'\n }\n]",
14831
+ "defaultValue": null
14832
+ },
14833
+ {
14834
+ "name": "label",
14835
+ "decorators": [],
14836
+ "description": "Название поля либо отмена отображение поля (false)",
14837
+ "required": false,
14838
+ "type": "any",
14839
+ "example": "'Visible'",
14840
+ "defaultValue": null
14841
+ },
14842
+ {
14843
+ "name": "model",
14844
+ "decorators": [],
14845
+ "description": "Модель с полями формы",
14846
+ "required": false,
14847
+ "type": "any",
14848
+ "example": "{\n attributes: [\n {\n attribute: 'category',\n field: 'DropDownField'\n }\n ]\n}",
14849
+ "defaultValue": null
14850
+ },
14851
+ {
14852
+ "name": "multiple",
14853
+ "decorators": [],
14854
+ "description": "Возможность множественного выбора",
14855
+ "required": false,
14856
+ "type": "boolean",
14857
+ "example": "true",
14858
+ "defaultValue": null
14859
+ },
14860
+ {
14861
+ "name": "orientation",
14862
+ "decorators": [],
14863
+ "description": "Ориентация списка",
14864
+ "required": false,
14865
+ "type": "string",
14866
+ "example": null,
14867
+ "defaultValue": null
14868
+ },
14869
+ {
14870
+ "name": "placeholder",
14871
+ "decorators": [],
14872
+ "description": "Подсказка для поля",
14873
+ "required": false,
14874
+ "type": "string",
14875
+ "example": "Your text...",
14876
+ "defaultValue": null
14877
+ },
14878
+ {
14879
+ "name": "prefix",
14880
+ "decorators": [],
14881
+ "description": "Префикс, который добавится к аттрибуту (названию) поля в форме",
14882
+ "required": false,
14883
+ "type": "string | boolean",
14884
+ "example": null,
14885
+ "defaultValue": null
14886
+ },
14887
+ {
14888
+ "name": "primaryKey",
14889
+ "decorators": [],
14890
+ "description": "Первичный ключ для item",
14891
+ "required": false,
14892
+ "type": "string",
14893
+ "example": "id",
14894
+ "defaultValue": null
14895
+ },
14896
+ {
14897
+ "name": "query",
14898
+ "decorators": [],
14899
+ "description": "Текст запроса",
14900
+ "required": false,
14901
+ "type": "string",
14902
+ "example": "'some text'",
14903
+ "defaultValue": null
14904
+ },
14905
+ {
14906
+ "name": "required",
14907
+ "decorators": [],
14908
+ "description": "Обязательное ли поле? Если true, то к названию будет добавлен\nмодификатор 'required' - красная звездочка (по умолчанию)",
14909
+ "required": false,
14910
+ "type": "boolean",
14911
+ "example": "true",
14912
+ "defaultValue": null
14913
+ },
14914
+ {
14915
+ "name": "selectFirst",
14916
+ "decorators": [],
14917
+ "description": "Сделать активным первый элемент в списке",
14918
+ "required": false,
14919
+ "type": "any",
14920
+ "example": "true",
14921
+ "defaultValue": null
14922
+ },
14923
+ {
14924
+ "name": "selectedIds",
14925
+ "decorators": [],
14926
+ "description": "Список с идентификаторами выбранных элементов",
14927
+ "required": false,
14928
+ "type": "any",
14929
+ "example": "[1, 4]",
14930
+ "defaultValue": null
14931
+ },
14932
+ {
14933
+ "name": "size",
14934
+ "decorators": [],
14935
+ "description": "Размер поля",
14936
+ "required": false,
14937
+ "type": "string",
14938
+ "example": null,
14939
+ "defaultValue": null
14940
+ },
14941
+ {
14942
+ "name": "sourceItems",
14943
+ "decorators": [],
14944
+ "description": " Список со всеми элементами",
14945
+ "required": false,
14946
+ "type": "IDataSelectItem[]",
14947
+ "example": null,
14948
+ "defaultValue": null
14949
+ },
14950
+ {
14951
+ "name": "style",
14952
+ "decorators": [],
14953
+ "description": "Объект CSS стилей",
14954
+ "required": false,
14955
+ "type": "CSSProperties",
14956
+ "example": "{width: '45%'}",
14957
+ "defaultValue": null
14958
+ },
14959
+ {
14960
+ "name": "value",
14961
+ "decorators": [],
14962
+ "description": "Значение для поля",
14963
+ "required": false,
14964
+ "type": "any",
14965
+ "example": null,
14966
+ "defaultValue": null
14967
+ },
14968
+ {
14969
+ "name": "view",
14970
+ "decorators": [],
14971
+ "description": "Переопределение view React компонента для кастомизации отображения",
14972
+ "required": false,
14973
+ "type": "React.ReactNode | {}",
14974
+ "example": "MyCustomView",
14975
+ "defaultValue": null
14976
+ }
14977
+ ],
14978
+ "methods": [
14979
+ {
14980
+ "name": "onChange",
14981
+ "decorators": [],
14982
+ "description": "Callback-функция, которая вызывается при изменении данных",
14983
+ "required": false,
14984
+ "type": "any",
14985
+ "example": null,
14986
+ "parameters": [
14987
+ {
14988
+ "name": "args",
14989
+ "decorators": [],
14990
+ "description": "",
14991
+ "required": true,
14992
+ "type": "any[]",
14993
+ "example": null
14994
+ }
14995
+ ]
14996
+ }
14997
+ ]
14998
+ },
14999
+ "ICheckboxListFieldViewProps": {
15000
+ "name": "ICheckboxListFieldViewProps",
13948
15001
  "moduleName": "ui/form/CheckboxListField/CheckboxListField",
13949
- "title": "CheckboxListField",
13950
- "description": "\nСписок с чекбоксами. Используется в формах для выбора нескольких значений.\n",
15002
+ "title": "",
15003
+ "description": "",
15004
+ "tags": {},
15005
+ "defaultProps": null,
15006
+ "extends": [
15007
+ "IFieldWrapperOutputProps"
15008
+ ],
15009
+ "properties": [
15010
+ {
15011
+ "name": "componentId",
15012
+ "decorators": [],
15013
+ "description": "Id компонента",
15014
+ "required": false,
15015
+ "type": "string",
15016
+ "example": null
15017
+ },
15018
+ {
15019
+ "name": "disabled",
15020
+ "decorators": [],
15021
+ "description": "",
15022
+ "required": false,
15023
+ "type": "boolean",
15024
+ "example": null
15025
+ },
15026
+ {
15027
+ "name": "errors",
15028
+ "decorators": [],
15029
+ "description": "Коллекция ошибок",
15030
+ "required": false,
15031
+ "type": "string[]",
15032
+ "example": null
15033
+ },
15034
+ {
15035
+ "name": "formId",
15036
+ "decorators": [],
15037
+ "description": "Id формы",
15038
+ "required": false,
15039
+ "type": "string",
15040
+ "example": null
15041
+ },
15042
+ {
15043
+ "name": "input",
15044
+ "decorators": [],
15045
+ "description": "Параметры для input элемента",
15046
+ "required": false,
15047
+ "type": "IInputParams",
15048
+ "example": null
15049
+ },
15050
+ {
15051
+ "name": "inputProps",
15052
+ "decorators": [],
15053
+ "description": "",
15054
+ "required": true,
15055
+ "type": "{disabled: boolean, name: string, type: string, onChange: null}",
15056
+ "example": null
15057
+ },
15058
+ {
15059
+ "name": "items",
15060
+ "decorators": [],
15061
+ "description": "",
15062
+ "required": true,
15063
+ "type": "{color: string, id: string | number | boolean, isHovered: boolean, isSelected: boolean, label: string}[]",
15064
+ "example": null
15065
+ },
15066
+ {
15067
+ "name": "orientation",
15068
+ "decorators": [],
15069
+ "description": "",
15070
+ "required": false,
15071
+ "type": "string",
15072
+ "example": null
15073
+ },
15074
+ {
15075
+ "name": "selectedIds",
15076
+ "decorators": [],
15077
+ "description": "",
15078
+ "required": true,
15079
+ "type": "any[]",
15080
+ "example": null
15081
+ },
15082
+ {
15083
+ "name": "size",
15084
+ "decorators": [],
15085
+ "description": "",
15086
+ "required": false,
15087
+ "type": "string",
15088
+ "example": null
15089
+ }
15090
+ ],
15091
+ "methods": [
15092
+ {
15093
+ "name": "onItemSelect",
15094
+ "decorators": [],
15095
+ "description": "",
15096
+ "required": false,
15097
+ "type": "void",
15098
+ "example": null,
15099
+ "parameters": [
15100
+ {
15101
+ "name": "id",
15102
+ "decorators": [],
15103
+ "description": "",
15104
+ "required": true,
15105
+ "type": "any",
15106
+ "example": null
15107
+ }
15108
+ ]
15109
+ },
15110
+ {
15111
+ "name": "renderCheckbox",
15112
+ "decorators": [],
15113
+ "description": "",
15114
+ "required": false,
15115
+ "type": "Element",
15116
+ "example": null,
15117
+ "parameters": [
15118
+ {
15119
+ "name": "checkboxProps",
15120
+ "decorators": [],
15121
+ "description": "",
15122
+ "required": true,
15123
+ "type": "ICheckboxFieldViewProps",
15124
+ "example": null
15125
+ }
15126
+ ]
15127
+ }
15128
+ ]
15129
+ },
15130
+ "ICheckboxTreeFieldProps": {
15131
+ "name": "ICheckboxTreeFieldProps",
15132
+ "moduleName": "ui/form/CheckboxTreeField/CheckboxTreeField",
15133
+ "title": "CheckboxTreeField",
15134
+ "description": "\nСписок с вложенными чекбоксами. Используется в формах для создания иерархической структуры и выбора нескольких значений.\n",
13951
15135
  "tags": {},
13952
15136
  "defaultProps": null,
13953
15137
  "extends": [
@@ -13956,9 +15140,20 @@
13956
15140
  "'items'>",
13957
15141
  "Omit<IDataSelectConfig",
13958
15142
  "'items'>",
13959
- "IUiComponent"
15143
+ "IUiComponent",
15144
+ "Pick<ITreeProps",
15145
+ "'levelPadding' | 'alwaysOpened'>"
13960
15146
  ],
13961
15147
  "properties": [
15148
+ {
15149
+ "name": "alwaysOpened",
15150
+ "decorators": [],
15151
+ "description": " Используется для управления раскрытием всех элементов в дереве",
15152
+ "required": false,
15153
+ "type": "boolean",
15154
+ "example": null,
15155
+ "defaultValue": null
15156
+ },
13962
15157
  {
13963
15158
  "name": "attribute",
13964
15159
  "decorators": [],
@@ -14108,7 +15303,7 @@
14108
15303
  "decorators": [],
14109
15304
  "description": "Коллекция элементов",
14110
15305
  "required": true,
14111
- "type": "CheckboxFieldListItems",
15306
+ "type": "CheckboxTreeItems",
14112
15307
  "example": "[\n {\n id: 1,\n label: 'Krasnoyarsk',\n color: 'red'\n },\n {\n id: 2,\n label: 'Moscow',\n color: 'purple'\n }\n]",
14113
15308
  "defaultValue": null
14114
15309
  },
@@ -14121,6 +15316,15 @@
14121
15316
  "example": "'Visible'",
14122
15317
  "defaultValue": null
14123
15318
  },
15319
+ {
15320
+ "name": "levelPadding",
15321
+ "decorators": [],
15322
+ "description": "Расстояние вложенных элементов от родителя для каждого уровня",
15323
+ "required": false,
15324
+ "type": "number",
15325
+ "example": "32",
15326
+ "defaultValue": null
15327
+ },
14124
15328
  {
14125
15329
  "name": "model",
14126
15330
  "decorators": [],
@@ -14139,15 +15343,6 @@
14139
15343
  "example": "true",
14140
15344
  "defaultValue": null
14141
15345
  },
14142
- {
14143
- "name": "orientation",
14144
- "decorators": [],
14145
- "description": "Ориентация списка",
14146
- "required": false,
14147
- "type": "string",
14148
- "example": null,
14149
- "defaultValue": null
14150
- },
14151
15346
  {
14152
15347
  "name": "placeholder",
14153
15348
  "decorators": [],
@@ -14169,10 +15364,10 @@
14169
15364
  {
14170
15365
  "name": "primaryKey",
14171
15366
  "decorators": [],
14172
- "description": "Первичный ключ для item",
15367
+ "description": "Первичный ключ для доступа к вложенным элементам",
14173
15368
  "required": false,
14174
15369
  "type": "string",
14175
- "example": "id",
15370
+ "example": null,
14176
15371
  "defaultValue": null
14177
15372
  },
14178
15373
  {
@@ -14278,9 +15473,9 @@
14278
15473
  }
14279
15474
  ]
14280
15475
  },
14281
- "ICheckboxListFieldViewProps": {
14282
- "name": "ICheckboxListFieldViewProps",
14283
- "moduleName": "ui/form/CheckboxListField/CheckboxListField",
15476
+ "ICheckboxTreeFieldViewProps": {
15477
+ "name": "ICheckboxTreeFieldViewProps",
15478
+ "moduleName": "ui/form/CheckboxTreeField/CheckboxTreeField",
14284
15479
  "title": "",
14285
15480
  "description": "",
14286
15481
  "tags": {},
@@ -14297,14 +15492,6 @@
14297
15492
  "type": "string",
14298
15493
  "example": null
14299
15494
  },
14300
- {
14301
- "name": "disabled",
14302
- "decorators": [],
14303
- "description": "",
14304
- "required": false,
14305
- "type": "boolean",
14306
- "example": null
14307
- },
14308
15495
  {
14309
15496
  "name": "errors",
14310
15497
  "decorators": [],
@@ -14329,28 +15516,20 @@
14329
15516
  "type": "IInputParams",
14330
15517
  "example": null
14331
15518
  },
14332
- {
14333
- "name": "inputProps",
14334
- "decorators": [],
14335
- "description": "",
14336
- "required": true,
14337
- "type": "{disabled: boolean, name: string, type: string, onChange: null}",
14338
- "example": null
14339
- },
14340
15519
  {
14341
15520
  "name": "items",
14342
15521
  "decorators": [],
14343
15522
  "description": "",
14344
15523
  "required": true,
14345
- "type": "{color: string, id: string | number | boolean, isHovered: boolean, isSelected: boolean, label: string}[]",
15524
+ "type": "{color: string, disabled: boolean, id: string | number | boolean, isHovered: boolean, label: string, required: boolean} & IPreparedTreeItem[]",
14346
15525
  "example": null
14347
15526
  },
14348
15527
  {
14349
- "name": "orientation",
15528
+ "name": "levelPadding",
14350
15529
  "decorators": [],
14351
15530
  "description": "",
14352
- "required": false,
14353
- "type": "string",
15531
+ "required": true,
15532
+ "type": "number",
14354
15533
  "example": null
14355
15534
  },
14356
15535
  {
@@ -14380,11 +15559,11 @@
14380
15559
  "example": null,
14381
15560
  "parameters": [
14382
15561
  {
14383
- "name": "id",
15562
+ "name": "checkbox",
14384
15563
  "decorators": [],
14385
15564
  "description": "",
14386
15565
  "required": true,
14387
- "type": "any",
15566
+ "type": "IPreparedTreeItem",
14388
15567
  "example": null
14389
15568
  }
14390
15569
  ]
@@ -15206,6 +16385,15 @@
15206
16385
  "example": null,
15207
16386
  "defaultValue": null
15208
16387
  },
16388
+ {
16389
+ "name": "hasInitialFocus",
16390
+ "decorators": [],
16391
+ "description": "Устанавливать ли фокус и показывать календарь сразу после рендера страницы",
16392
+ "required": false,
16393
+ "type": "boolean",
16394
+ "example": "true",
16395
+ "defaultValue": null
16396
+ },
15209
16397
  {
15210
16398
  "name": "hint",
15211
16399
  "decorators": [],
@@ -16036,6 +17224,15 @@
16036
17224
  "example": null,
16037
17225
  "defaultValue": null
16038
17226
  },
17227
+ {
17228
+ "name": "hasInitialFocus",
17229
+ "decorators": [],
17230
+ "description": "Устанавливать ли фокус и показывать календарь сразу после рендера страницы",
17231
+ "required": false,
17232
+ "type": "boolean",
17233
+ "example": "true",
17234
+ "defaultValue": null
17235
+ },
16039
17236
  {
16040
17237
  "name": "inputPropsFrom",
16041
17238
  "decorators": [],
@@ -18487,7 +19684,7 @@
18487
19684
  {
18488
19685
  "name": "title",
18489
19686
  "decorators": [],
18490
- "description": "Заголовок для колонки таблицы.",
19687
+ "description": "Заголовок для колонки таблицы",
18491
19688
  "required": false,
18492
19689
  "type": "string",
18493
19690
  "example": null
@@ -18511,7 +19708,7 @@
18511
19708
  {
18512
19709
  "name": "visible",
18513
19710
  "decorators": [],
18514
- "description": "Будет ли отображён item ?",
19711
+ "description": "Будет ли отображён item?",
18515
19712
  "required": false,
18516
19713
  "type": "boolean",
18517
19714
  "example": "true"
@@ -18647,7 +19844,7 @@
18647
19844
  "name": "IFieldListProps",
18648
19845
  "moduleName": "ui/form/FieldList/FieldList",
18649
19846
  "title": "FieldList",
18650
- "description": "\nСоздает список из сгруппированных полей формы.\n",
19847
+ "description": "\nСоздает список из сгруппированных полей формы.\nДля загрузки файлов с помощью `FileField` внутри строк `FieldList`, нужно использовать форму с флагом `useRedux`.\n",
18651
19848
  "tags": {},
18652
19849
  "defaultProps": null,
18653
19850
  "extends": [
@@ -28383,6 +29580,15 @@
28383
29580
  "example": null,
28384
29581
  "defaultValue": null
28385
29582
  },
29583
+ {
29584
+ "name": "hasInitialFocus",
29585
+ "decorators": [],
29586
+ "description": "Устанавливать ли фокус и показывать панель времени сразу после рендера страницы",
29587
+ "required": false,
29588
+ "type": "boolean",
29589
+ "example": "true",
29590
+ "defaultValue": null
29591
+ },
28386
29592
  {
28387
29593
  "name": "hint",
28388
29594
  "decorators": [],
@@ -32156,15 +33362,6 @@
32156
33362
  "example": null,
32157
33363
  "defaultValue": "true"
32158
33364
  },
32159
- {
32160
- "name": "hasTreeItems",
32161
- "decorators": [],
32162
- "description": "Включает обработку вложенных данных из items",
32163
- "required": false,
32164
- "type": "boolean",
32165
- "example": null,
32166
- "defaultValue": null
32167
- },
32168
33365
  {
32169
33366
  "name": "initialItems",
32170
33367
  "decorators": [],
@@ -32808,15 +34005,6 @@
32808
34005
  "example": "{\n text: 'Записи не найдены'\n}",
32809
34006
  "defaultValue": null
32810
34007
  },
32811
- {
32812
- "name": "hasTreeItems",
32813
- "decorators": [],
32814
- "description": "Включает обработку вложенных данных из items",
32815
- "required": false,
32816
- "type": "boolean",
32817
- "example": null,
32818
- "defaultValue": null
32819
- },
32820
34008
  {
32821
34009
  "name": "initialItems",
32822
34010
  "decorators": [],
@@ -34365,7 +35553,9 @@
34365
35553
  "tags": {},
34366
35554
  "defaultProps": null,
34367
35555
  "extends": [
34368
- "IColumnViewProps"
35556
+ "IColumnViewProps",
35557
+ "Pick<ITreeTableProps",
35558
+ "'levelPadding'>"
34369
35559
  ],
34370
35560
  "properties": [
34371
35561
  {
@@ -34445,7 +35635,7 @@
34445
35635
  "decorators": [],
34446
35636
  "description": "",
34447
35637
  "required": true,
34448
- "type": "{onTreeItemClick: null}",
35638
+ "type": "IPreparedTreeItem",
34449
35639
  "example": null
34450
35640
  },
34451
35641
  {
@@ -34456,6 +35646,14 @@
34456
35646
  "type": "ReactNode",
34457
35647
  "example": "'Name'"
34458
35648
  },
35649
+ {
35650
+ "name": "levelPadding",
35651
+ "decorators": [],
35652
+ "description": "Расстояние вложенных элементов от родителя для каждого уровня",
35653
+ "required": false,
35654
+ "type": "number",
35655
+ "example": "32"
35656
+ },
34459
35657
  {
34460
35658
  "name": "link",
34461
35659
  "decorators": [],
@@ -34547,62 +35745,49 @@
34547
35745
  ],
34548
35746
  "methods": []
34549
35747
  },
34550
- "ITreeTableItem": {
34551
- "name": "ITreeTableItem",
34552
- "moduleName": "ui/list/TreeTable/TreeTable",
34553
- "title": "",
34554
- "description": "",
34555
- "tags": {},
34556
- "defaultProps": null,
34557
- "extends": [],
34558
- "properties": [
34559
- {
34560
- "name": "id",
34561
- "decorators": [],
34562
- "description": "Идентификатор узла",
34563
- "required": false,
34564
- "type": "string | number",
34565
- "example": null
34566
- },
34567
- {
34568
- "name": "items",
34569
- "decorators": [],
34570
- "description": "Вложенные элементы",
34571
- "required": false,
34572
- "type": "any[]",
34573
- "example": "items: [\n {\n id: 3,\n name: 'Ivan'\n }\n]"
34574
- },
34575
- {
34576
- "name": "uniqueId",
34577
- "decorators": [],
34578
- "description": "Уникальный идентификатор,\nиспользуется для сохранения состояния открыта или закрыта ячейка",
34579
- "required": false,
34580
- "type": "string",
34581
- "example": null
34582
- }
34583
- ],
34584
- "methods": []
34585
- },
34586
35748
  "ITreeTableProps": {
34587
35749
  "name": "ITreeTableProps",
34588
35750
  "moduleName": "ui/list/TreeTable/TreeTable",
34589
35751
  "title": "TreeTable",
34590
35752
  "description": "\nКомпонент для представления данных коллекции в виде иерархической структуры.\n",
34591
35753
  "tags": {},
34592
- "defaultProps": null,
35754
+ "defaultProps": {
35755
+ "alwaysOpened": "false",
35756
+ "levelPadding": "32"
35757
+ },
34593
35758
  "extends": [
34594
35759
  "Omit<IGridProps",
34595
- "'items'>"
35760
+ "'items'>",
35761
+ "Pick<ITreeProps",
35762
+ "'alwaysOpened' | 'levelPadding'>"
34596
35763
  ],
34597
35764
  "properties": [
35765
+ {
35766
+ "name": "alwaysOpened",
35767
+ "decorators": [],
35768
+ "description": " Используется для управления раскрытием всех элементов в дереве",
35769
+ "required": false,
35770
+ "type": "boolean",
35771
+ "example": null,
35772
+ "defaultValue": "false"
35773
+ },
34598
35774
  {
34599
35775
  "name": "items",
34600
35776
  "decorators": [],
34601
35777
  "description": "Элементы коллекции",
34602
35778
  "required": false,
34603
- "type": "ITreeTableItem[]",
35779
+ "type": "ITreeItem[]",
34604
35780
  "example": "[\n {\n id: 1,\n name: 'Jane'\n },\n {\n id: 2,\n name: 'John',\n items: [...]\n }\n]",
34605
35781
  "defaultValue": null
35782
+ },
35783
+ {
35784
+ "name": "levelPadding",
35785
+ "decorators": [],
35786
+ "description": "Расстояние вложенных элементов от родителя для каждого уровня",
35787
+ "required": false,
35788
+ "type": "number",
35789
+ "example": "32",
35790
+ "defaultValue": "32"
34606
35791
  }
34607
35792
  ],
34608
35793
  "methods": []
@@ -35028,6 +36213,15 @@
35028
36213
  "example": "[\n 'button1',\n 'button2',\n 'button3'\n]",
35029
36214
  "defaultValue": null
35030
36215
  },
36216
+ {
36217
+ "name": "onClick",
36218
+ "decorators": [],
36219
+ "description": "Функция, которая будет вызываться при клике по кнопке",
36220
+ "required": true,
36221
+ "type": "Dispatch | {}",
36222
+ "example": "setActiveTab",
36223
+ "defaultValue": null
36224
+ },
35031
36225
  {
35032
36226
  "name": "style",
35033
36227
  "decorators": [],
@@ -35047,26 +36241,7 @@
35047
36241
  "defaultValue": null
35048
36242
  }
35049
36243
  ],
35050
- "methods": [
35051
- {
35052
- "name": "onClick",
35053
- "decorators": [],
35054
- "description": "Функция, которая будет вызываться при клике по кнопке",
35055
- "required": false,
35056
- "type": "void",
35057
- "example": "setActiveTab",
35058
- "parameters": [
35059
- {
35060
- "name": "value",
35061
- "decorators": [],
35062
- "description": "",
35063
- "required": true,
35064
- "type": "string | number | boolean",
35065
- "example": null
35066
- }
35067
- ]
35068
- }
35069
- ]
36244
+ "methods": []
35070
36245
  },
35071
36246
  "IButtonGroupViewProps": {
35072
36247
  "name": "IButtonGroupViewProps",
@@ -35120,6 +36295,14 @@
35120
36295
  "type": "{id: string | number | boolean, label: string}[]",
35121
36296
  "example": null
35122
36297
  },
36298
+ {
36299
+ "name": "onClick",
36300
+ "decorators": [],
36301
+ "description": "Функция, которая будет вызываться при клике по кнопке",
36302
+ "required": true,
36303
+ "type": "Dispatch | {}",
36304
+ "example": "setActiveTab"
36305
+ },
35123
36306
  {
35124
36307
  "name": "size",
35125
36308
  "decorators": [],
@@ -35145,26 +36328,7 @@
35145
36328
  "example": "MyCustomView"
35146
36329
  }
35147
36330
  ],
35148
- "methods": [
35149
- {
35150
- "name": "onClick",
35151
- "decorators": [],
35152
- "description": "Функция, которая будет вызываться при клике по кнопке",
35153
- "required": false,
35154
- "type": "void",
35155
- "example": "setActiveTab",
35156
- "parameters": [
35157
- {
35158
- "name": "value",
35159
- "decorators": [],
35160
- "description": "",
35161
- "required": true,
35162
- "type": "string | number | boolean",
35163
- "example": null
35164
- }
35165
- ]
35166
- }
35167
- ]
36331
+ "methods": []
35168
36332
  },
35169
36333
  "IControlItem": {
35170
36334
  "name": "IControlItem",
@@ -36536,273 +37700,171 @@
36536
37700
  ],
36537
37701
  "methods": []
36538
37702
  },
36539
- "ITreeItem": {
36540
- "name": "ITreeItem",
37703
+ "ITreeItemViewProps": {
37704
+ "name": "ITreeItemViewProps",
36541
37705
  "moduleName": "ui/nav/Tree/Tree",
36542
37706
  "title": "",
36543
37707
  "description": "",
36544
37708
  "tags": {},
36545
37709
  "defaultProps": null,
36546
37710
  "extends": [
36547
- "IButtonProps"
37711
+ "ITreeProps"
36548
37712
  ],
36549
37713
  "properties": [
36550
37714
  {
36551
- "name": "badge",
36552
- "decorators": [],
36553
- "description": "Цифра (к примеру, новые сообщения)",
36554
- "required": false,
36555
- "type": "number | IButtonBadge",
36556
- "example": null
36557
- },
36558
- {
36559
- "name": "block",
37715
+ "name": "alwaysOpened",
36560
37716
  "decorators": [],
36561
- "description": "Включает стиль `block`, делая размер кнопки на 100% ширины блока",
37717
+ "description": " Используется для управления раскрытием всех элементов в дереве",
36562
37718
  "required": false,
36563
37719
  "type": "boolean",
36564
- "example": "true"
36565
- },
36566
- {
36567
- "name": "children",
36568
- "decorators": [],
36569
- "description": "Вложенные элементы",
36570
- "required": false,
36571
- "type": "any",
36572
37720
  "example": null
36573
37721
  },
36574
37722
  {
36575
- "name": "className",
36576
- "decorators": [],
36577
- "description": "Дополнительный CSS-класс для элемента отображения",
36578
- "required": false,
36579
- "type": "string",
36580
- "example": null
36581
- },
36582
- {
36583
- "name": "color",
36584
- "decorators": [],
36585
- "description": "Цвет состояния",
36586
- "required": false,
36587
- "type": "string",
36588
- "example": "success"
36589
- },
36590
- {
36591
- "name": "confirm",
36592
- "decorators": [],
36593
- "description": "При указании данного свойства, после нажатия на кнопку и до выполнения действия будет отображено нативное\nокно с текстом подтверждения - `window.confirm('Ваш текст')`.",
36594
- "required": false,
36595
- "type": "string",
36596
- "example": "Удалить запись #512?"
36597
- },
36598
- {
36599
- "name": "dark",
37723
+ "name": "autoOpenLevels",
36600
37724
  "decorators": [],
36601
- "description": "Темная тема",
37725
+ "description": "Максимальный уровень вложенности, до которого все узлы будут отображаться в развёрнутом виде",
36602
37726
  "required": false,
36603
- "type": "boolean",
36604
- "example": null
37727
+ "type": "number",
37728
+ "example": "1"
36605
37729
  },
36606
37730
  {
36607
- "name": "disabled",
37731
+ "name": "autoSave",
36608
37732
  "decorators": [],
36609
- "description": "Переводит кнопку в состояние \"не активна\"",
37733
+ "description": "Отображать раскрытыми узлы из LocalStorage",
36610
37734
  "required": false,
36611
37735
  "type": "boolean",
36612
37736
  "example": "true"
36613
37737
  },
36614
37738
  {
36615
- "name": "formId",
37739
+ "name": "children",
36616
37740
  "decorators": [],
36617
- "description": "ID формы, для которой кнопка выполняет submit. При указании ID формы кнопка будет показывать состояние загрузки\nпри отправке формы.",
37741
+ "description": "",
36618
37742
  "required": false,
36619
- "type": "string | boolean",
37743
+ "type": "Element",
36620
37744
  "example": null
36621
37745
  },
36622
37746
  {
36623
- "name": "hint",
36624
- "decorators": [],
36625
- "description": "Подсказка, отображается при наведении (через тег title)",
36626
- "required": false,
36627
- "type": "any",
36628
- "example": "Save"
36629
- },
36630
- {
36631
- "name": "icon",
37747
+ "name": "className",
36632
37748
  "decorators": [],
36633
- "description": "Иконка",
37749
+ "description": "CSS-класс для элемента отображения",
36634
37750
  "required": false,
36635
37751
  "type": "string",
36636
37752
  "example": null
36637
37753
  },
36638
37754
  {
36639
- "name": "id",
36640
- "decorators": [],
36641
- "description": "Идентификатор узла",
36642
- "required": false,
36643
- "type": "string | number",
36644
- "example": null
36645
- },
36646
- {
36647
- "name": "isFailed",
36648
- "decorators": [],
36649
- "description": "Отобразить кнопку в состоянии неуспешного нажатия (например, при неуспешном ajax запросе)",
36650
- "required": false,
36651
- "type": "boolean",
36652
- "example": "true"
36653
- },
36654
- {
36655
- "name": "isLoading",
37755
+ "name": "hasIconExpandOnly",
36656
37756
  "decorators": [],
36657
- "description": "Отображать индикатор загрузки?",
37757
+ "description": "Флаг, определяющий раскрывать вложенные элементы по клику на весь элемент или только на иконку",
36658
37758
  "required": false,
36659
37759
  "type": "boolean",
36660
- "example": "true"
36661
- },
36662
- {
36663
- "name": "items",
36664
- "decorators": [],
36665
- "description": "Вложенные элементы",
36666
- "required": false,
36667
- "type": "any[]",
36668
- "example": "[\n {\n id: 2,\n label: 'Nested element',\n items: [...]\n }\n]"
36669
- },
36670
- {
36671
- "name": "label",
36672
- "decorators": [],
36673
- "description": "Текст кнопки или ссылки",
36674
- "required": false,
36675
- "type": "any",
36676
- "example": "Save"
37760
+ "example": "false"
36677
37761
  },
36678
37762
  {
36679
- "name": "link",
37763
+ "name": "id",
36680
37764
  "decorators": [],
36681
- "description": "Отображать как ссылку?",
37765
+ "description": "Идентификатор (ключ) для сохранения в LocalStorage коллекции с раскрытыми узлами",
36682
37766
  "required": false,
36683
- "type": "boolean",
36684
- "example": "true"
37767
+ "type": "string",
37768
+ "example": "'exampleTree'"
36685
37769
  },
36686
37770
  {
36687
- "name": "outline",
37771
+ "name": "item",
36688
37772
  "decorators": [],
36689
- "description": "Включает стиль `outline`, когда у кнопки остается только `border`, а цвет кнопки становится прозрачным",
36690
- "required": false,
36691
- "type": "boolean",
36692
- "example": "true"
37773
+ "description": "",
37774
+ "required": true,
37775
+ "type": "IPreparedTreeItem",
37776
+ "example": null
36693
37777
  },
36694
37778
  {
36695
- "name": "resetFailedMs",
37779
+ "name": "items",
36696
37780
  "decorators": [],
36697
- "description": "Через сколько миллисекунд должно исчезнуть состояние \"failed\"",
37781
+ "description": "Коллекция с узлами. Также можно передать идентификатор роута, тогда компонент найдет все\nвложенные роуты и отобразит их в виде дерева.",
36698
37782
  "required": false,
36699
- "type": "number",
36700
- "example": "5000"
37783
+ "type": "string | ITreeItem[]",
37784
+ "example": "[\n {\n id: 1,\n label: 'Root',\n items: [...]\n }\n] | 'root'"
36701
37785
  },
36702
37786
  {
36703
- "name": "size",
37787
+ "name": "itemsKey",
36704
37788
  "decorators": [],
36705
- "description": "Размер",
37789
+ "description": "Ключ для доступа к вложенным элементам узла",
36706
37790
  "required": false,
36707
37791
  "type": "string",
36708
- "example": null
36709
- },
36710
- {
36711
- "name": "style",
36712
- "decorators": [],
36713
- "description": "Объект CSS стилей",
36714
- "required": false,
36715
- "type": "CSSProperties",
36716
- "example": "{width: '45%'}"
37792
+ "example": "'items'"
36717
37793
  },
36718
37794
  {
36719
- "name": "tag",
37795
+ "name": "level",
36720
37796
  "decorators": [],
36721
- "description": "Выбор html-тэга, который будет вставлен в DOM",
37797
+ "description": "Ограничивает максимальный уровень вложенности дерева",
36722
37798
  "required": false,
36723
- "type": "\"a\" | \"button\"",
36724
- "example": "button"
37799
+ "type": "number",
37800
+ "example": "2"
36725
37801
  },
36726
37802
  {
36727
- "name": "target",
37803
+ "name": "levelPadding",
36728
37804
  "decorators": [],
36729
- "description": "HTML аттрибут `target`, доступен только для ссылок",
37805
+ "description": "Расстояние вложенных элементов от родителя для каждого уровня",
36730
37806
  "required": false,
36731
- "type": "string",
36732
- "example": "_blank"
37807
+ "type": "number",
37808
+ "example": "32"
36733
37809
  },
36734
37810
  {
36735
- "name": "textColor",
37811
+ "name": "routerParams",
36736
37812
  "decorators": [],
36737
- "description": "Цвет текста кнопки или ссылки",
37813
+ "description": " Параметры роутинга",
36738
37814
  "required": false,
36739
37815
  "type": "any",
36740
37816
  "example": null
36741
37817
  },
36742
37818
  {
36743
- "name": "toRoute",
36744
- "decorators": [],
36745
- "description": "ID роута, на который необходимо перейти, указанный в дереве `steroids` роутинга. Для передачи параметров\nиспользуйте свойство `toRouteParams`",
36746
- "required": false,
36747
- "type": "string",
36748
- "example": "profile"
36749
- },
36750
- {
36751
- "name": "toRouteParams",
36752
- "decorators": [],
36753
- "description": "Параметры роута, на который необходимо перейти, см. свойство `toRoute`.",
36754
- "required": false,
36755
- "type": "Record",
36756
- "example": "{userId: 52}"
36757
- },
36758
- {
36759
- "name": "type",
36760
- "decorators": [],
36761
- "description": "HTML Тип",
36762
- "required": false,
36763
- "type": "\"button\" | \"submit\"",
36764
- "example": "submit"
36765
- },
36766
- {
36767
- "name": "url",
37819
+ "name": "selectedItemId",
36768
37820
  "decorators": [],
36769
- "description": "Ссылка на внешнюю страницу, используется совместно с свойством `link`",
37821
+ "description": "Идентификатор узла, которой нужно отобразить в раскрытом виде",
36770
37822
  "required": false,
36771
- "type": "string",
36772
- "example": "https://kozhindev.com"
37823
+ "type": "string | number",
37824
+ "example": "2"
36773
37825
  },
36774
37826
  {
36775
37827
  "name": "view",
36776
37828
  "decorators": [],
36777
- "description": "Переопределение view React компонента для кастомизации отображения",
37829
+ "description": "Переопределение view React компонента для кастомизации отображения элемента",
36778
37830
  "required": false,
36779
37831
  "type": "React.ReactNode | {}",
36780
37832
  "example": "MyCustomView"
36781
- },
36782
- {
36783
- "name": "visible",
36784
- "decorators": [],
36785
- "description": "Скрыть или показать узел",
36786
- "required": false,
36787
- "type": "boolean",
36788
- "example": "true"
36789
37833
  }
36790
37834
  ],
36791
37835
  "methods": [
36792
37836
  {
36793
- "name": "onClick",
37837
+ "name": "onExpand",
36794
37838
  "decorators": [],
36795
- "description": "Обработчик события нажатия. Для асинхронных событий вовзращяйте в обработчике `Promise`, тогда кнопка\nавтоматически будет переключаться в режим загрузки (`loading`) на время выполнения `Promise`.",
37839
+ "description": "Обработчик на клик по узлу",
36796
37840
  "required": false,
36797
37841
  "type": "any",
36798
37842
  "example": null,
36799
37843
  "parameters": [
36800
37844
  {
36801
- "name": "e",
37845
+ "name": "args",
36802
37846
  "decorators": [],
36803
- "description": "=> fetch(...)\n",
37847
+ "description": "\n",
36804
37848
  "required": true,
36805
- "type": "Event | MouseEvent",
37849
+ "type": "any[]",
37850
+ "example": null
37851
+ }
37852
+ ]
37853
+ },
37854
+ {
37855
+ "name": "onItemClick",
37856
+ "decorators": [],
37857
+ "description": "Обработчик на клик по узлу",
37858
+ "required": false,
37859
+ "type": "any",
37860
+ "example": null,
37861
+ "parameters": [
37862
+ {
37863
+ "name": "args",
37864
+ "decorators": [],
37865
+ "description": "\n",
37866
+ "required": true,
37867
+ "type": "any[]",
36806
37868
  "example": null
36807
37869
  }
36808
37870
  ]
@@ -36818,10 +37880,15 @@
36818
37880
  "defaultProps": {
36819
37881
  "autoOpenLevels": "1",
36820
37882
  "autoSave": "false",
37883
+ "hasIconExpandOnly": "false",
36821
37884
  "itemsKey": "'items'",
36822
- "level": "0"
37885
+ "level": "0",
37886
+ "levelPadding": "32"
36823
37887
  },
36824
- "extends": [],
37888
+ "extends": [
37889
+ "Omit<ITreeConfig",
37890
+ "'currentPage' | 'itemsOnPage'>"
37891
+ ],
36825
37892
  "properties": [
36826
37893
  {
36827
37894
  "name": "alwaysOpened",
@@ -36859,6 +37926,15 @@
36859
37926
  "example": null,
36860
37927
  "defaultValue": null
36861
37928
  },
37929
+ {
37930
+ "name": "hasIconExpandOnly",
37931
+ "decorators": [],
37932
+ "description": "Флаг, определяющий раскрывать вложенные элементы по клику на весь элемент или только на иконку",
37933
+ "required": false,
37934
+ "type": "boolean",
37935
+ "example": "false",
37936
+ "defaultValue": "false"
37937
+ },
36862
37938
  {
36863
37939
  "name": "id",
36864
37940
  "decorators": [],
@@ -36895,6 +37971,24 @@
36895
37971
  "example": "2",
36896
37972
  "defaultValue": "0"
36897
37973
  },
37974
+ {
37975
+ "name": "levelPadding",
37976
+ "decorators": [],
37977
+ "description": "Расстояние вложенных элементов от родителя для каждого уровня",
37978
+ "required": false,
37979
+ "type": "number",
37980
+ "example": "32",
37981
+ "defaultValue": "32"
37982
+ },
37983
+ {
37984
+ "name": "routerParams",
37985
+ "decorators": [],
37986
+ "description": " Параметры роутинга",
37987
+ "required": false,
37988
+ "type": "any",
37989
+ "example": null,
37990
+ "defaultValue": null
37991
+ },
36898
37992
  {
36899
37993
  "name": "selectedItemId",
36900
37994
  "decorators": [],
@@ -36915,6 +38009,24 @@
36915
38009
  }
36916
38010
  ],
36917
38011
  "methods": [
38012
+ {
38013
+ "name": "onExpand",
38014
+ "decorators": [],
38015
+ "description": "Обработчик на клик по узлу",
38016
+ "required": false,
38017
+ "type": "any",
38018
+ "example": null,
38019
+ "parameters": [
38020
+ {
38021
+ "name": "args",
38022
+ "decorators": [],
38023
+ "description": "\n",
38024
+ "required": true,
38025
+ "type": "any[]",
38026
+ "example": null
38027
+ }
38028
+ ]
38029
+ },
36918
38030
  {
36919
38031
  "name": "onItemClick",
36920
38032
  "decorators": [],
@@ -36978,6 +38090,14 @@
36978
38090
  "type": "string",
36979
38091
  "example": null
36980
38092
  },
38093
+ {
38094
+ "name": "hasIconExpandOnly",
38095
+ "decorators": [],
38096
+ "description": "Флаг, определяющий раскрывать вложенные элементы по клику на весь элемент или только на иконку",
38097
+ "required": false,
38098
+ "type": "boolean",
38099
+ "example": "false"
38100
+ },
36981
38101
  {
36982
38102
  "name": "id",
36983
38103
  "decorators": [],
@@ -36991,7 +38111,7 @@
36991
38111
  "decorators": [],
36992
38112
  "description": "Коллекция с узлами. Также можно передать идентификатор роута, тогда компонент найдет все\nвложенные роуты и отобразит их в виде дерева.",
36993
38113
  "required": true,
36994
- "type": "ITreeItem & {className: string, hasItems: boolean, index: number, isOpened: boolean, isSelected: boolean, level: number, uniqId: string, onClick: null}[]",
38114
+ "type": "IPreparedTreeItem[]",
36995
38115
  "example": null
36996
38116
  },
36997
38117
  {
@@ -37013,9 +38133,17 @@
37013
38133
  {
37014
38134
  "name": "levelPadding",
37015
38135
  "decorators": [],
37016
- "description": "",
38136
+ "description": "Расстояние вложенных элементов от родителя для каждого уровня",
37017
38137
  "required": false,
37018
38138
  "type": "number",
38139
+ "example": "32"
38140
+ },
38141
+ {
38142
+ "name": "routerParams",
38143
+ "decorators": [],
38144
+ "description": " Параметры роутинга",
38145
+ "required": false,
38146
+ "type": "any",
37019
38147
  "example": null
37020
38148
  },
37021
38149
  {
@@ -37036,6 +38164,24 @@
37036
38164
  }
37037
38165
  ],
37038
38166
  "methods": [
38167
+ {
38168
+ "name": "onExpand",
38169
+ "decorators": [],
38170
+ "description": "Обработчик на клик по узлу",
38171
+ "required": false,
38172
+ "type": "any",
38173
+ "example": null,
38174
+ "parameters": [
38175
+ {
38176
+ "name": "args",
38177
+ "decorators": [],
38178
+ "description": "\n",
38179
+ "required": true,
38180
+ "type": "any[]",
38181
+ "example": null
38182
+ }
38183
+ ]
38184
+ },
37039
38185
  {
37040
38186
  "name": "onItemClick",
37041
38187
  "decorators": [],
@@ -40461,6 +41607,13 @@
40461
41607
  "description": "",
40462
41608
  "tags": {}
40463
41609
  },
41610
+ "ui/form/CheckboxTreeField/CheckboxTreeField": {
41611
+ "name": "default",
41612
+ "moduleName": "ui/form/CheckboxTreeField/CheckboxTreeField",
41613
+ "title": "",
41614
+ "description": "",
41615
+ "tags": {}
41616
+ },
40464
41617
  "ui/form/DateField/DateField": {
40465
41618
  "name": "default",
40466
41619
  "moduleName": "ui/form/DateField/DateField",