@steroidsjs/core 3.1.4 → 3.1.6

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.
@@ -14274,6 +14274,24 @@
14274
14274
  }
14275
14275
  ],
14276
14276
  "methods": [
14277
+ {
14278
+ "name": "onBlur",
14279
+ "decorators": [],
14280
+ "description": "Callback-функция, которая вызывается при потере фокуса input",
14281
+ "required": false,
14282
+ "type": "void",
14283
+ "example": null,
14284
+ "parameters": [
14285
+ {
14286
+ "name": "e",
14287
+ "decorators": [],
14288
+ "description": "",
14289
+ "required": true,
14290
+ "type": "Event | FocusEvent",
14291
+ "example": null
14292
+ }
14293
+ ]
14294
+ },
14277
14295
  {
14278
14296
  "name": "onChange",
14279
14297
  "decorators": [],
@@ -14309,6 +14327,24 @@
14309
14327
  "example": null
14310
14328
  }
14311
14329
  ]
14330
+ },
14331
+ {
14332
+ "name": "onFocus",
14333
+ "decorators": [],
14334
+ "description": "Callback-функция, которая вызывается при фокусировке input",
14335
+ "required": false,
14336
+ "type": "void",
14337
+ "example": null,
14338
+ "parameters": [
14339
+ {
14340
+ "name": "e",
14341
+ "decorators": [],
14342
+ "description": "",
14343
+ "required": true,
14344
+ "type": "Event | FocusEvent",
14345
+ "example": null
14346
+ }
14347
+ ]
14312
14348
  }
14313
14349
  ]
14314
14350
  },
@@ -15416,6 +15452,15 @@
15416
15452
  "example": null,
15417
15453
  "defaultValue": null
15418
15454
  },
15455
+ {
15456
+ "name": "indeterminate",
15457
+ "decorators": [],
15458
+ "description": "Промежуточное состояние чекбокса — часть дочерних элементов выбрана",
15459
+ "required": false,
15460
+ "type": "boolean",
15461
+ "example": null,
15462
+ "defaultValue": null
15463
+ },
15419
15464
  {
15420
15465
  "name": "inputProps",
15421
15466
  "decorators": [],
@@ -15645,6 +15690,14 @@
15645
15690
  "type": "string",
15646
15691
  "example": null
15647
15692
  },
15693
+ {
15694
+ "name": "indeterminate",
15695
+ "decorators": [],
15696
+ "description": "Промежуточное состояние чекбокса — часть дочерних элементов выбрана",
15697
+ "required": false,
15698
+ "type": "boolean",
15699
+ "example": null
15700
+ },
15648
15701
  {
15649
15702
  "name": "input",
15650
15703
  "decorators": [],
@@ -16836,6 +16889,14 @@
16836
16889
  "type": "number",
16837
16890
  "example": "32"
16838
16891
  },
16892
+ {
16893
+ "name": "primaryKey",
16894
+ "decorators": [],
16895
+ "description": "",
16896
+ "required": false,
16897
+ "type": "string",
16898
+ "example": null
16899
+ },
16839
16900
  {
16840
16901
  "name": "selectedIds",
16841
16902
  "decorators": [],
@@ -20713,6 +20774,24 @@
20713
20774
  }
20714
20775
  ],
20715
20776
  "methods": [
20777
+ {
20778
+ "name": "onBlur",
20779
+ "decorators": [],
20780
+ "description": "Callback-функция, которая вызывается при потере фокуса input",
20781
+ "required": false,
20782
+ "type": "void",
20783
+ "example": null,
20784
+ "parameters": [
20785
+ {
20786
+ "name": "e",
20787
+ "decorators": [],
20788
+ "description": "",
20789
+ "required": true,
20790
+ "type": "Event | FocusEvent",
20791
+ "example": null
20792
+ }
20793
+ ]
20794
+ },
20716
20795
  {
20717
20796
  "name": "onChange",
20718
20797
  "decorators": [],
@@ -20748,6 +20827,24 @@
20748
20827
  "example": null
20749
20828
  }
20750
20829
  ]
20830
+ },
20831
+ {
20832
+ "name": "onFocus",
20833
+ "decorators": [],
20834
+ "description": "Callback-функция, которая вызывается при фокусировке input",
20835
+ "required": false,
20836
+ "type": "void",
20837
+ "example": null,
20838
+ "parameters": [
20839
+ {
20840
+ "name": "e",
20841
+ "decorators": [],
20842
+ "description": "",
20843
+ "required": true,
20844
+ "type": "Event | FocusEvent",
20845
+ "example": null
20846
+ }
20847
+ ]
20751
20848
  }
20752
20849
  ]
20753
20850
  },
@@ -25569,6 +25666,24 @@
25569
25666
  }
25570
25667
  ],
25571
25668
  "methods": [
25669
+ {
25670
+ "name": "onBlur",
25671
+ "decorators": [],
25672
+ "description": "Callback-функция, которая вызывается при потере фокуса input",
25673
+ "required": false,
25674
+ "type": "void",
25675
+ "example": null,
25676
+ "parameters": [
25677
+ {
25678
+ "name": "e",
25679
+ "decorators": [],
25680
+ "description": "",
25681
+ "required": true,
25682
+ "type": "Event | FocusEvent",
25683
+ "example": null
25684
+ }
25685
+ ]
25686
+ },
25572
25687
  {
25573
25688
  "name": "onChange",
25574
25689
  "decorators": [],
@@ -25604,6 +25719,24 @@
25604
25719
  "example": null
25605
25720
  }
25606
25721
  ]
25722
+ },
25723
+ {
25724
+ "name": "onFocus",
25725
+ "decorators": [],
25726
+ "description": "Callback-функция, которая вызывается при фокусировке input",
25727
+ "required": false,
25728
+ "type": "void",
25729
+ "example": null,
25730
+ "parameters": [
25731
+ {
25732
+ "name": "e",
25733
+ "decorators": [],
25734
+ "description": "",
25735
+ "required": true,
25736
+ "type": "Event | FocusEvent",
25737
+ "example": null
25738
+ }
25739
+ ]
25607
25740
  }
25608
25741
  ]
25609
25742
  },
@@ -25881,6 +26014,24 @@
25881
26014
  }
25882
26015
  ],
25883
26016
  "methods": [
26017
+ {
26018
+ "name": "onBlur",
26019
+ "decorators": [],
26020
+ "description": "Callback-функция, которая вызывается при потере фокуса input",
26021
+ "required": false,
26022
+ "type": "void",
26023
+ "example": null,
26024
+ "parameters": [
26025
+ {
26026
+ "name": "e",
26027
+ "decorators": [],
26028
+ "description": "",
26029
+ "required": true,
26030
+ "type": "Event | FocusEvent",
26031
+ "example": null
26032
+ }
26033
+ ]
26034
+ },
25884
26035
  {
25885
26036
  "name": "onChange",
25886
26037
  "decorators": [],
@@ -25916,6 +26067,24 @@
25916
26067
  "example": null
25917
26068
  }
25918
26069
  ]
26070
+ },
26071
+ {
26072
+ "name": "onFocus",
26073
+ "decorators": [],
26074
+ "description": "Callback-функция, которая вызывается при фокусировке input",
26075
+ "required": false,
26076
+ "type": "void",
26077
+ "example": null,
26078
+ "parameters": [
26079
+ {
26080
+ "name": "e",
26081
+ "decorators": [],
26082
+ "description": "",
26083
+ "required": true,
26084
+ "type": "Event | FocusEvent",
26085
+ "example": null
26086
+ }
26087
+ ]
25919
26088
  }
25920
26089
  ]
25921
26090
  },
@@ -26200,7 +26369,7 @@
26200
26369
  {
26201
26370
  "name": "onBlur",
26202
26371
  "decorators": [],
26203
- "description": "",
26372
+ "description": "Callback-функция, которая вызывается при потере фокуса input",
26204
26373
  "required": false,
26205
26374
  "type": "void",
26206
26375
  "example": null,
@@ -26245,7 +26414,7 @@
26245
26414
  {
26246
26415
  "name": "onFocus",
26247
26416
  "decorators": [],
26248
- "description": "",
26417
+ "description": "Callback-функция, которая вызывается при фокусировке input",
26249
26418
  "required": false,
26250
26419
  "type": "void",
26251
26420
  "example": null,
@@ -26554,6 +26723,24 @@
26554
26723
  }
26555
26724
  ],
26556
26725
  "methods": [
26726
+ {
26727
+ "name": "onBlur",
26728
+ "decorators": [],
26729
+ "description": "Callback-функция, которая вызывается при потере фокуса input",
26730
+ "required": false,
26731
+ "type": "void",
26732
+ "example": null,
26733
+ "parameters": [
26734
+ {
26735
+ "name": "e",
26736
+ "decorators": [],
26737
+ "description": "",
26738
+ "required": true,
26739
+ "type": "Event | FocusEvent",
26740
+ "example": null
26741
+ }
26742
+ ]
26743
+ },
26557
26744
  {
26558
26745
  "name": "onChange",
26559
26746
  "decorators": [],
@@ -26589,6 +26776,24 @@
26589
26776
  "example": null
26590
26777
  }
26591
26778
  ]
26779
+ },
26780
+ {
26781
+ "name": "onFocus",
26782
+ "decorators": [],
26783
+ "description": "Callback-функция, которая вызывается при фокусировке input",
26784
+ "required": false,
26785
+ "type": "void",
26786
+ "example": null,
26787
+ "parameters": [
26788
+ {
26789
+ "name": "e",
26790
+ "decorators": [],
26791
+ "description": "",
26792
+ "required": true,
26793
+ "type": "Event | FocusEvent",
26794
+ "example": null
26795
+ }
26796
+ ]
26592
26797
  }
26593
26798
  ]
26594
26799
  },
@@ -27155,6 +27360,24 @@
27155
27360
  }
27156
27361
  ],
27157
27362
  "methods": [
27363
+ {
27364
+ "name": "onBlur",
27365
+ "decorators": [],
27366
+ "description": "Callback-функция, которая вызывается при потере фокуса input",
27367
+ "required": false,
27368
+ "type": "void",
27369
+ "example": null,
27370
+ "parameters": [
27371
+ {
27372
+ "name": "e",
27373
+ "decorators": [],
27374
+ "description": "",
27375
+ "required": true,
27376
+ "type": "Event | FocusEvent",
27377
+ "example": null
27378
+ }
27379
+ ]
27380
+ },
27158
27381
  {
27159
27382
  "name": "onChange",
27160
27383
  "decorators": [],
@@ -27190,6 +27413,24 @@
27190
27413
  "example": null
27191
27414
  }
27192
27415
  ]
27416
+ },
27417
+ {
27418
+ "name": "onFocus",
27419
+ "decorators": [],
27420
+ "description": "Callback-функция, которая вызывается при фокусировке input",
27421
+ "required": false,
27422
+ "type": "void",
27423
+ "example": null,
27424
+ "parameters": [
27425
+ {
27426
+ "name": "e",
27427
+ "decorators": [],
27428
+ "description": "",
27429
+ "required": true,
27430
+ "type": "Event | FocusEvent",
27431
+ "example": null
27432
+ }
27433
+ ]
27193
27434
  }
27194
27435
  ]
27195
27436
  },
@@ -27487,6 +27728,24 @@
27487
27728
  }
27488
27729
  ],
27489
27730
  "methods": [
27731
+ {
27732
+ "name": "onBlur",
27733
+ "decorators": [],
27734
+ "description": "Callback-функция, которая вызывается при потере фокуса input",
27735
+ "required": false,
27736
+ "type": "void",
27737
+ "example": null,
27738
+ "parameters": [
27739
+ {
27740
+ "name": "e",
27741
+ "decorators": [],
27742
+ "description": "",
27743
+ "required": true,
27744
+ "type": "Event | FocusEvent",
27745
+ "example": null
27746
+ }
27747
+ ]
27748
+ },
27490
27749
  {
27491
27750
  "name": "onChange",
27492
27751
  "decorators": [],
@@ -27522,18 +27781,36 @@
27522
27781
  "example": null
27523
27782
  }
27524
27783
  ]
27525
- }
27526
- ]
27527
- },
27528
- "IPasswordFieldProps": {
27529
- "name": "IPasswordFieldProps",
27530
- "moduleName": "ui/form/PasswordField/PasswordField",
27531
- "title": "PasswordField",
27532
- "description": "\nПоле ввода пароля. Этот компонент представляет собой поле ввода для паролей.\n\n",
27533
- "tags": {},
27534
- "defaultProps": null,
27535
- "extends": [
27536
- "IBaseFieldProps"
27784
+ },
27785
+ {
27786
+ "name": "onFocus",
27787
+ "decorators": [],
27788
+ "description": "Callback-функция, которая вызывается при фокусировке input",
27789
+ "required": false,
27790
+ "type": "void",
27791
+ "example": null,
27792
+ "parameters": [
27793
+ {
27794
+ "name": "e",
27795
+ "decorators": [],
27796
+ "description": "",
27797
+ "required": true,
27798
+ "type": "Event | FocusEvent",
27799
+ "example": null
27800
+ }
27801
+ ]
27802
+ }
27803
+ ]
27804
+ },
27805
+ "IPasswordFieldProps": {
27806
+ "name": "IPasswordFieldProps",
27807
+ "moduleName": "ui/form/PasswordField/PasswordField",
27808
+ "title": "PasswordField",
27809
+ "description": "\nПоле ввода пароля. Этот компонент представляет собой поле ввода для паролей.\n\n",
27810
+ "tags": {},
27811
+ "defaultProps": null,
27812
+ "extends": [
27813
+ "IBaseFieldProps"
27537
27814
  ],
27538
27815
  "properties": [
27539
27816
  {
@@ -27710,88 +27987,584 @@
27710
27987
  {
27711
27988
  "name": "style",
27712
27989
  "decorators": [],
27713
- "description": "Объект CSS стилей",
27714
- "required": false,
27715
- "type": "CSSProperties",
27716
- "example": "{width: '45%'}",
27990
+ "description": "Объект CSS стилей",
27991
+ "required": false,
27992
+ "type": "CSSProperties",
27993
+ "example": "{width: '45%'}",
27994
+ "defaultValue": null
27995
+ },
27996
+ {
27997
+ "name": "value",
27998
+ "decorators": [],
27999
+ "description": "Значение для поля",
28000
+ "required": false,
28001
+ "type": "any",
28002
+ "example": null,
28003
+ "defaultValue": null
28004
+ },
28005
+ {
28006
+ "name": "view",
28007
+ "decorators": [],
28008
+ "description": "Переопределение view React компонента для кастомизации отображения",
28009
+ "required": false,
28010
+ "type": "React.ReactNode | {}",
28011
+ "example": "MyCustomView",
28012
+ "defaultValue": null
28013
+ },
28014
+ {
28015
+ "name": "viewProps",
28016
+ "decorators": [],
28017
+ "description": "Свойства для компонента отображения",
28018
+ "required": false,
28019
+ "type": "{}",
28020
+ "example": "{\n customHandler: () => {...}\n}",
28021
+ "defaultValue": null
28022
+ }
28023
+ ],
28024
+ "methods": [
28025
+ {
28026
+ "name": "onBlur",
28027
+ "decorators": [],
28028
+ "description": "Callback-функция, которая вызывается при потере фокуса input",
28029
+ "required": false,
28030
+ "type": "void",
28031
+ "example": null,
28032
+ "parameters": [
28033
+ {
28034
+ "name": "e",
28035
+ "decorators": [],
28036
+ "description": "",
28037
+ "required": true,
28038
+ "type": "Event | FocusEvent",
28039
+ "example": null
28040
+ }
28041
+ ]
28042
+ },
28043
+ {
28044
+ "name": "onChange",
28045
+ "decorators": [],
28046
+ "description": "Callback-функция, которая вызывается при изменении данных",
28047
+ "required": false,
28048
+ "type": "any",
28049
+ "example": null,
28050
+ "parameters": [
28051
+ {
28052
+ "name": "args",
28053
+ "decorators": [],
28054
+ "description": "",
28055
+ "required": true,
28056
+ "type": "any[]",
28057
+ "example": null
28058
+ }
28059
+ ]
28060
+ },
28061
+ {
28062
+ "name": "onClear",
28063
+ "decorators": [],
28064
+ "description": "Callback-функция, которая вызывается при очистке input",
28065
+ "required": false,
28066
+ "type": "void",
28067
+ "example": null,
28068
+ "parameters": [
28069
+ {
28070
+ "name": "value",
28071
+ "decorators": [],
28072
+ "description": "",
28073
+ "required": true,
28074
+ "type": "string",
28075
+ "example": null
28076
+ }
28077
+ ]
28078
+ },
28079
+ {
28080
+ "name": "onFocus",
28081
+ "decorators": [],
28082
+ "description": "Callback-функция, которая вызывается при фокусировке input",
28083
+ "required": false,
28084
+ "type": "void",
28085
+ "example": null,
28086
+ "parameters": [
28087
+ {
28088
+ "name": "e",
28089
+ "decorators": [],
28090
+ "description": "",
28091
+ "required": true,
28092
+ "type": "Event | FocusEvent",
28093
+ "example": null
28094
+ }
28095
+ ]
28096
+ }
28097
+ ]
28098
+ },
28099
+ "IPasswordFieldViewProps": {
28100
+ "name": "IPasswordFieldViewProps",
28101
+ "moduleName": "ui/form/PasswordField/PasswordField",
28102
+ "title": "",
28103
+ "description": "",
28104
+ "tags": {},
28105
+ "defaultProps": null,
28106
+ "extends": [
28107
+ "IPasswordFieldProps",
28108
+ "IFieldWrapperOutputProps"
28109
+ ],
28110
+ "properties": [
28111
+ {
28112
+ "name": "attribute",
28113
+ "decorators": [],
28114
+ "description": "Аттрибут (название) поля в форме",
28115
+ "required": false,
28116
+ "type": "string",
28117
+ "example": "'isVisible'"
28118
+ },
28119
+ {
28120
+ "name": "className",
28121
+ "decorators": [],
28122
+ "description": "Дополнительный CSS-класс для элемента отображения",
28123
+ "required": false,
28124
+ "type": "string",
28125
+ "example": null
28126
+ },
28127
+ {
28128
+ "name": "componentId",
28129
+ "decorators": [],
28130
+ "description": "Id компонента",
28131
+ "required": false,
28132
+ "type": "string",
28133
+ "example": null
28134
+ },
28135
+ {
28136
+ "name": "date",
28137
+ "decorators": [],
28138
+ "description": "",
28139
+ "required": false,
28140
+ "type": "any",
28141
+ "example": null
28142
+ },
28143
+ {
28144
+ "name": "disabled",
28145
+ "decorators": [],
28146
+ "description": "Переводит элемент в состояние \"не активен\"",
28147
+ "required": false,
28148
+ "type": "boolean",
28149
+ "example": "true"
28150
+ },
28151
+ {
28152
+ "name": "errors",
28153
+ "decorators": [],
28154
+ "description": "Ошибки в поле",
28155
+ "required": false,
28156
+ "type": "string[]",
28157
+ "example": "['Error text']"
28158
+ },
28159
+ {
28160
+ "name": "fieldLayoutClassName",
28161
+ "decorators": [],
28162
+ "description": "Дополнительный CSS-класс для обертки FieldLayout",
28163
+ "required": false,
28164
+ "type": "string",
28165
+ "example": null
28166
+ },
28167
+ {
28168
+ "name": "formId",
28169
+ "decorators": [],
28170
+ "description": "Id формы",
28171
+ "required": false,
28172
+ "type": "string",
28173
+ "example": null
28174
+ },
28175
+ {
28176
+ "name": "hint",
28177
+ "decorators": [],
28178
+ "description": "Подсказка, которая отобразится рядом с полем",
28179
+ "required": false,
28180
+ "type": "string",
28181
+ "example": "'Only english letters'"
28182
+ },
28183
+ {
28184
+ "name": "id",
28185
+ "decorators": [],
28186
+ "description": "Input ID для связи поля с label",
28187
+ "required": false,
28188
+ "type": "string",
28189
+ "example": null
28190
+ },
28191
+ {
28192
+ "name": "input",
28193
+ "decorators": [],
28194
+ "description": "Параметры для input элемента",
28195
+ "required": false,
28196
+ "type": "IInputParams",
28197
+ "example": null
28198
+ },
28199
+ {
28200
+ "name": "inputProps",
28201
+ "decorators": [],
28202
+ "description": "Свойства для элемента input",
28203
+ "required": true,
28204
+ "type": "{disabled: boolean, name: string, placeholder: string, type: string, value: string | number, onChange: null}",
28205
+ "example": null
28206
+ },
28207
+ {
28208
+ "name": "isRenderWithoutFieldLayout",
28209
+ "decorators": [],
28210
+ "description": "Возможность отрендерить поле без обертки в компонент FieldLayout",
28211
+ "required": false,
28212
+ "type": "boolean",
28213
+ "example": null
28214
+ },
28215
+ {
28216
+ "name": "label",
28217
+ "decorators": [],
28218
+ "description": "Название поля либо отмена отображение поля (false)",
28219
+ "required": false,
28220
+ "type": "any",
28221
+ "example": "'Visible'"
28222
+ },
28223
+ {
28224
+ "name": "model",
28225
+ "decorators": [],
28226
+ "description": "Модель с полями формы",
28227
+ "required": false,
28228
+ "type": "any",
28229
+ "example": "{\n attributes: [\n {\n attribute: 'category',\n field: 'DropDownField'\n }\n ]\n}"
28230
+ },
28231
+ {
28232
+ "name": "placeholder",
28233
+ "decorators": [],
28234
+ "description": "Подсказка для поля",
28235
+ "required": false,
28236
+ "type": "string",
28237
+ "example": "Your text..."
28238
+ },
28239
+ {
28240
+ "name": "prefix",
28241
+ "decorators": [],
28242
+ "description": "Префикс, который добавится к аттрибуту (названию) поля в форме",
28243
+ "required": false,
28244
+ "type": "string | boolean",
28245
+ "example": null
28246
+ },
28247
+ {
28248
+ "name": "required",
28249
+ "decorators": [],
28250
+ "description": "Обязательное ли поле? Если true, то к названию будет добавлен\nмодификатор 'required' - красная звездочка (по умолчанию)",
28251
+ "required": false,
28252
+ "type": "boolean",
28253
+ "example": "true"
28254
+ },
28255
+ {
28256
+ "name": "securityLevel",
28257
+ "decorators": [],
28258
+ "description": "",
28259
+ "required": false,
28260
+ "type": "\"success\" | \"warning\" | \"danger\"",
28261
+ "example": null
28262
+ },
28263
+ {
28264
+ "name": "showClear",
28265
+ "decorators": [],
28266
+ "description": "Показывать иконку очищения поля",
28267
+ "required": false,
28268
+ "type": "boolean",
28269
+ "example": "true"
28270
+ },
28271
+ {
28272
+ "name": "showSecurityBar",
28273
+ "decorators": [],
28274
+ "description": "Если true, то отображается шкала сложности пароля",
28275
+ "required": false,
28276
+ "type": "boolean",
28277
+ "example": "true"
28278
+ },
28279
+ {
28280
+ "name": "showSecurityIcon",
28281
+ "decorators": [],
28282
+ "description": "Если true, то отображается иконка скрытия/показа пароля",
28283
+ "required": false,
28284
+ "type": "boolean",
28285
+ "example": null
28286
+ },
28287
+ {
28288
+ "name": "size",
28289
+ "decorators": [],
28290
+ "description": "Размер поля",
28291
+ "required": false,
28292
+ "type": "string",
28293
+ "example": null
28294
+ },
28295
+ {
28296
+ "name": "style",
28297
+ "decorators": [],
28298
+ "description": "Объект CSS стилей",
28299
+ "required": false,
28300
+ "type": "CSSProperties",
28301
+ "example": "{width: '45%'}"
28302
+ },
28303
+ {
28304
+ "name": "value",
28305
+ "decorators": [],
28306
+ "description": "Значение для поля",
28307
+ "required": false,
28308
+ "type": "any",
28309
+ "example": null
28310
+ },
28311
+ {
28312
+ "name": "view",
28313
+ "decorators": [],
28314
+ "description": "Переопределение view React компонента для кастомизации отображения",
28315
+ "required": false,
28316
+ "type": "React.ReactNode | {}",
28317
+ "example": "MyCustomView"
28318
+ },
28319
+ {
28320
+ "name": "viewProps",
28321
+ "decorators": [],
28322
+ "description": "Свойства для компонента отображения",
28323
+ "required": false,
28324
+ "type": "{}",
28325
+ "example": "{\n customHandler: () => {...}\n}"
28326
+ }
28327
+ ],
28328
+ "methods": [
28329
+ {
28330
+ "name": "onBlur",
28331
+ "decorators": [],
28332
+ "description": "Callback-функция, которая вызывается при потере фокуса input",
28333
+ "required": false,
28334
+ "type": "void",
28335
+ "example": null,
28336
+ "parameters": [
28337
+ {
28338
+ "name": "e",
28339
+ "decorators": [],
28340
+ "description": "",
28341
+ "required": true,
28342
+ "type": "Event | FocusEvent",
28343
+ "example": null
28344
+ }
28345
+ ]
28346
+ },
28347
+ {
28348
+ "name": "onChange",
28349
+ "decorators": [],
28350
+ "description": "Callback-функция, которая вызывается при изменении данных",
28351
+ "required": false,
28352
+ "type": "any",
28353
+ "example": null,
28354
+ "parameters": [
28355
+ {
28356
+ "name": "args",
28357
+ "decorators": [],
28358
+ "description": "",
28359
+ "required": true,
28360
+ "type": "any[]",
28361
+ "example": null
28362
+ }
28363
+ ]
28364
+ },
28365
+ {
28366
+ "name": "onClear",
28367
+ "decorators": [],
28368
+ "description": "Callback-функция, которая вызывается при очистке input",
28369
+ "required": false,
28370
+ "type": "void",
28371
+ "example": null,
28372
+ "parameters": []
28373
+ },
28374
+ {
28375
+ "name": "onFocus",
28376
+ "decorators": [],
28377
+ "description": "Callback-функция, которая вызывается при фокусировке input",
28378
+ "required": false,
28379
+ "type": "void",
28380
+ "example": null,
28381
+ "parameters": [
28382
+ {
28383
+ "name": "e",
28384
+ "decorators": [],
28385
+ "description": "",
28386
+ "required": true,
28387
+ "type": "Event | FocusEvent",
28388
+ "example": null
28389
+ }
28390
+ ]
28391
+ },
28392
+ {
28393
+ "name": "onShowButtonClick",
28394
+ "decorators": [],
28395
+ "description": "",
28396
+ "required": false,
28397
+ "type": "void",
28398
+ "example": null,
28399
+ "parameters": []
28400
+ }
28401
+ ]
28402
+ },
28403
+ "ICountryPhoneMask": {
28404
+ "name": "ICountryPhoneMask",
28405
+ "moduleName": "ui/form/PhoneField/PhoneField",
28406
+ "title": "",
28407
+ "description": "",
28408
+ "tags": {},
28409
+ "defaultProps": null,
28410
+ "extends": [
28411
+ "IDropDownFieldItem"
28412
+ ],
28413
+ "properties": [
28414
+ {
28415
+ "name": "contentSrc",
28416
+ "decorators": [],
28417
+ "description": "Источник контента",
28418
+ "required": false,
28419
+ "type": "string | ReactElement",
28420
+ "example": "'https://steroids.kozhindev.com/images/icon.png'"
28421
+ },
28422
+ {
28423
+ "name": "contentType",
28424
+ "decorators": [],
28425
+ "description": "Тип контента для элемента",
28426
+ "required": false,
28427
+ "type": "string",
28428
+ "example": "'img'"
28429
+ },
28430
+ {
28431
+ "name": "id",
28432
+ "decorators": [],
28433
+ "description": "Идентификатор элемента",
28434
+ "required": true,
28435
+ "type": "string | number | boolean",
28436
+ "example": null
28437
+ },
28438
+ {
28439
+ "name": "label",
28440
+ "decorators": [],
28441
+ "description": "Отображаемое название",
28442
+ "required": true,
28443
+ "type": "string",
28444
+ "example": null
28445
+ },
28446
+ {
28447
+ "name": "phoneCode",
28448
+ "decorators": [],
28449
+ "description": "",
28450
+ "required": true,
28451
+ "type": "string",
28452
+ "example": null
28453
+ },
28454
+ {
28455
+ "name": "phoneMask",
28456
+ "decorators": [],
28457
+ "description": "",
28458
+ "required": false,
28459
+ "type": "string | RegExp[]",
28460
+ "example": null
28461
+ }
28462
+ ],
28463
+ "methods": []
28464
+ },
28465
+ "IPhoneFieldDropdownProps": {
28466
+ "name": "IPhoneFieldDropdownProps",
28467
+ "moduleName": "ui/form/PhoneField/PhoneField",
28468
+ "title": "",
28469
+ "description": "",
28470
+ "tags": {},
28471
+ "defaultProps": null,
28472
+ "extends": [],
28473
+ "properties": [
28474
+ {
28475
+ "name": "isOpened",
28476
+ "decorators": [],
28477
+ "description": "",
28478
+ "required": true,
28479
+ "type": "boolean",
28480
+ "example": null,
28481
+ "defaultValue": null
28482
+ },
28483
+ {
28484
+ "name": "items",
28485
+ "decorators": [],
28486
+ "description": "",
28487
+ "required": true,
28488
+ "type": "any[]",
28489
+ "example": null,
27717
28490
  "defaultValue": null
27718
28491
  },
27719
28492
  {
27720
- "name": "value",
28493
+ "name": "primaryKey",
27721
28494
  "decorators": [],
27722
- "description": "Значение для поля",
27723
- "required": false,
27724
- "type": "any",
28495
+ "description": "",
28496
+ "required": true,
28497
+ "type": "string",
27725
28498
  "example": null,
27726
28499
  "defaultValue": null
27727
28500
  },
27728
28501
  {
27729
- "name": "view",
28502
+ "name": "selectedIds",
27730
28503
  "decorators": [],
27731
- "description": "Переопределение view React компонента для кастомизации отображения",
27732
- "required": false,
27733
- "type": "React.ReactNode | {}",
27734
- "example": "MyCustomView",
28504
+ "description": "",
28505
+ "required": true,
28506
+ "type": "any[]",
28507
+ "example": null,
27735
28508
  "defaultValue": null
27736
28509
  },
27737
28510
  {
27738
- "name": "viewProps",
28511
+ "name": "selectedItems",
27739
28512
  "decorators": [],
27740
- "description": "Свойства для компонента отображения",
27741
- "required": false,
27742
- "type": "{}",
27743
- "example": "{\n customHandler: () => {...}\n}",
28513
+ "description": "",
28514
+ "required": true,
28515
+ "type": "any[]",
28516
+ "example": null,
27744
28517
  "defaultValue": null
27745
28518
  }
27746
28519
  ],
27747
28520
  "methods": [
27748
28521
  {
27749
- "name": "onChange",
28522
+ "name": "onClose",
27750
28523
  "decorators": [],
27751
- "description": "Callback-функция, которая вызывается при изменении данных",
28524
+ "description": "",
27752
28525
  "required": false,
27753
- "type": "any",
28526
+ "type": "void",
27754
28527
  "example": null,
27755
- "parameters": [
27756
- {
27757
- "name": "args",
27758
- "decorators": [],
27759
- "description": "",
27760
- "required": true,
27761
- "type": "any[]",
27762
- "example": null
27763
- }
27764
- ]
28528
+ "parameters": []
27765
28529
  },
27766
28530
  {
27767
- "name": "onClear",
28531
+ "name": "onItemSelect",
27768
28532
  "decorators": [],
27769
- "description": "Callback-функция, которая вызывается при очистке input",
28533
+ "description": "",
27770
28534
  "required": false,
27771
28535
  "type": "void",
27772
28536
  "example": null,
27773
28537
  "parameters": [
27774
28538
  {
27775
- "name": "value",
28539
+ "name": "id",
27776
28540
  "decorators": [],
27777
28541
  "description": "",
27778
28542
  "required": true,
27779
- "type": "string",
28543
+ "type": "any",
27780
28544
  "example": null
27781
28545
  }
27782
28546
  ]
28547
+ },
28548
+ {
28549
+ "name": "onOpen",
28550
+ "decorators": [],
28551
+ "description": "",
28552
+ "required": false,
28553
+ "type": "void",
28554
+ "example": null,
28555
+ "parameters": []
27783
28556
  }
27784
28557
  ]
27785
28558
  },
27786
- "IPasswordFieldViewProps": {
27787
- "name": "IPasswordFieldViewProps",
27788
- "moduleName": "ui/form/PasswordField/PasswordField",
28559
+ "IPhoneFieldViewProps": {
28560
+ "name": "IPhoneFieldViewProps",
28561
+ "moduleName": "ui/form/PhoneField/PhoneField",
27789
28562
  "title": "",
27790
28563
  "description": "",
27791
28564
  "tags": {},
27792
28565
  "defaultProps": null,
27793
28566
  "extends": [
27794
- "IPasswordFieldProps",
28567
+ "IPhoneFieldProps",
27795
28568
  "IFieldWrapperOutputProps"
27796
28569
  ],
27797
28570
  "properties": [
@@ -27835,6 +28608,14 @@
27835
28608
  "type": "boolean",
27836
28609
  "example": "true"
27837
28610
  },
28611
+ {
28612
+ "name": "dropDownProps",
28613
+ "decorators": [],
28614
+ "description": "",
28615
+ "required": true,
28616
+ "type": "IPhoneFieldDropdownProps",
28617
+ "example": null
28618
+ },
27838
28619
  {
27839
28620
  "name": "errors",
27840
28621
  "decorators": [],
@@ -27875,6 +28656,14 @@
27875
28656
  "type": "string",
27876
28657
  "example": null
27877
28658
  },
28659
+ {
28660
+ "name": "initialCountryCode",
28661
+ "decorators": [],
28662
+ "description": "Выбранная страна по умолчанию",
28663
+ "required": true,
28664
+ "type": "string",
28665
+ "example": null
28666
+ },
27878
28667
  {
27879
28668
  "name": "input",
27880
28669
  "decorators": [],
@@ -27887,9 +28676,9 @@
27887
28676
  "name": "inputProps",
27888
28677
  "decorators": [],
27889
28678
  "description": "Свойства для элемента input",
27890
- "required": true,
27891
- "type": "{disabled: boolean, name: string, placeholder: string, type: string, value: string | number, onChange: null}",
27892
- "example": null
28679
+ "required": false,
28680
+ "type": "InputHTMLAttributes",
28681
+ "example": "{ onKeyDown: ... }"
27893
28682
  },
27894
28683
  {
27895
28684
  "name": "isRenderWithoutFieldLayout",
@@ -27915,6 +28704,14 @@
27915
28704
  "type": "any",
27916
28705
  "example": "{\n attributes: [\n {\n attribute: 'category',\n field: 'DropDownField'\n }\n ]\n}"
27917
28706
  },
28707
+ {
28708
+ "name": "phoneMasks",
28709
+ "decorators": [],
28710
+ "description": "Список доступных масок для телефонных номеров разных стран.\nКаждая маска определяет формат отображения номера.",
28711
+ "required": true,
28712
+ "type": "ICountryPhoneMask[]",
28713
+ "example": null
28714
+ },
27918
28715
  {
27919
28716
  "name": "placeholder",
27920
28717
  "decorators": [],
@@ -27939,14 +28736,6 @@
27939
28736
  "type": "boolean",
27940
28737
  "example": "true"
27941
28738
  },
27942
- {
27943
- "name": "securityLevel",
27944
- "decorators": [],
27945
- "description": "",
27946
- "required": false,
27947
- "type": "\"success\" | \"warning\" | \"danger\"",
27948
- "example": null
27949
- },
27950
28739
  {
27951
28740
  "name": "showClear",
27952
28741
  "decorators": [],
@@ -27955,22 +28744,6 @@
27955
28744
  "type": "boolean",
27956
28745
  "example": "true"
27957
28746
  },
27958
- {
27959
- "name": "showSecurityBar",
27960
- "decorators": [],
27961
- "description": "Если true, то отображается шкала сложности пароля",
27962
- "required": false,
27963
- "type": "boolean",
27964
- "example": "true"
27965
- },
27966
- {
27967
- "name": "showSecurityIcon",
27968
- "decorators": [],
27969
- "description": "Если true, то отображается иконка скрытия/показа пароля",
27970
- "required": false,
27971
- "type": "boolean",
27972
- "example": null
27973
- },
27974
28747
  {
27975
28748
  "name": "size",
27976
28749
  "decorators": [],
@@ -28013,6 +28786,24 @@
28013
28786
  }
28014
28787
  ],
28015
28788
  "methods": [
28789
+ {
28790
+ "name": "onBlur",
28791
+ "decorators": [],
28792
+ "description": "Callback-функция, которая вызывается при потере фокуса input",
28793
+ "required": false,
28794
+ "type": "void",
28795
+ "example": null,
28796
+ "parameters": [
28797
+ {
28798
+ "name": "e",
28799
+ "decorators": [],
28800
+ "description": "",
28801
+ "required": true,
28802
+ "type": "Event | FocusEvent",
28803
+ "example": null
28804
+ }
28805
+ ]
28806
+ },
28016
28807
  {
28017
28808
  "name": "onChange",
28018
28809
  "decorators": [],
@@ -28038,16 +28829,34 @@
28038
28829
  "required": false,
28039
28830
  "type": "void",
28040
28831
  "example": null,
28041
- "parameters": []
28832
+ "parameters": [
28833
+ {
28834
+ "name": "value",
28835
+ "decorators": [],
28836
+ "description": "",
28837
+ "required": true,
28838
+ "type": "string",
28839
+ "example": null
28840
+ }
28841
+ ]
28042
28842
  },
28043
28843
  {
28044
- "name": "onShowButtonClick",
28844
+ "name": "onFocus",
28045
28845
  "decorators": [],
28046
- "description": "",
28846
+ "description": "Callback-функция, которая вызывается при фокусировке input",
28047
28847
  "required": false,
28048
28848
  "type": "void",
28049
28849
  "example": null,
28050
- "parameters": []
28850
+ "parameters": [
28851
+ {
28852
+ "name": "e",
28853
+ "decorators": [],
28854
+ "description": "",
28855
+ "required": true,
28856
+ "type": "Event | FocusEvent",
28857
+ "example": null
28858
+ }
28859
+ ]
28051
28860
  }
28052
28861
  ]
28053
28862
  },
@@ -28152,6 +28961,15 @@
28152
28961
  "example": null,
28153
28962
  "defaultValue": null
28154
28963
  },
28964
+ {
28965
+ "name": "indeterminate",
28966
+ "decorators": [],
28967
+ "description": "Промежуточное состояние чекбокса — часть дочерних элементов выбрана",
28968
+ "required": false,
28969
+ "type": "boolean",
28970
+ "example": null,
28971
+ "defaultValue": null
28972
+ },
28155
28973
  {
28156
28974
  "name": "inputProps",
28157
28975
  "decorators": [],
@@ -30482,6 +31300,15 @@
30482
31300
  "example": null,
30483
31301
  "defaultValue": null
30484
31302
  },
31303
+ {
31304
+ "name": "indeterminate",
31305
+ "decorators": [],
31306
+ "description": "Промежуточное состояние чекбокса — часть дочерних элементов выбрана",
31307
+ "required": false,
31308
+ "type": "boolean",
31309
+ "example": null,
31310
+ "defaultValue": null
31311
+ },
30485
31312
  {
30486
31313
  "name": "inputProps",
30487
31314
  "decorators": [],
@@ -30823,6 +31650,24 @@
30823
31650
  }
30824
31651
  ],
30825
31652
  "methods": [
31653
+ {
31654
+ "name": "onBlur",
31655
+ "decorators": [],
31656
+ "description": "Callback-функция, которая вызывается при потере фокуса input",
31657
+ "required": false,
31658
+ "type": "void",
31659
+ "example": null,
31660
+ "parameters": [
31661
+ {
31662
+ "name": "e",
31663
+ "decorators": [],
31664
+ "description": "",
31665
+ "required": true,
31666
+ "type": "Event | FocusEvent",
31667
+ "example": null
31668
+ }
31669
+ ]
31670
+ },
30826
31671
  {
30827
31672
  "name": "onChange",
30828
31673
  "decorators": [],
@@ -30858,6 +31703,24 @@
30858
31703
  "example": null
30859
31704
  }
30860
31705
  ]
31706
+ },
31707
+ {
31708
+ "name": "onFocus",
31709
+ "decorators": [],
31710
+ "description": "Callback-функция, которая вызывается при фокусировке input",
31711
+ "required": false,
31712
+ "type": "void",
31713
+ "example": null,
31714
+ "parameters": [
31715
+ {
31716
+ "name": "e",
31717
+ "decorators": [],
31718
+ "description": "",
31719
+ "required": true,
31720
+ "type": "Event | FocusEvent",
31721
+ "example": null
31722
+ }
31723
+ ]
30861
31724
  }
30862
31725
  ]
30863
31726
  },
@@ -31091,6 +31954,24 @@
31091
31954
  }
31092
31955
  ],
31093
31956
  "methods": [
31957
+ {
31958
+ "name": "onBlur",
31959
+ "decorators": [],
31960
+ "description": "Callback-функция, которая вызывается при потере фокуса input",
31961
+ "required": false,
31962
+ "type": "void",
31963
+ "example": null,
31964
+ "parameters": [
31965
+ {
31966
+ "name": "e",
31967
+ "decorators": [],
31968
+ "description": "",
31969
+ "required": true,
31970
+ "type": "Event | FocusEvent",
31971
+ "example": null
31972
+ }
31973
+ ]
31974
+ },
31094
31975
  {
31095
31976
  "name": "onChange",
31096
31977
  "decorators": [],
@@ -31108,6 +31989,24 @@
31108
31989
  "example": null
31109
31990
  }
31110
31991
  ]
31992
+ },
31993
+ {
31994
+ "name": "onFocus",
31995
+ "decorators": [],
31996
+ "description": "Callback-функция, которая вызывается при фокусировке input",
31997
+ "required": false,
31998
+ "type": "void",
31999
+ "example": null,
32000
+ "parameters": [
32001
+ {
32002
+ "name": "e",
32003
+ "decorators": [],
32004
+ "description": "",
32005
+ "required": true,
32006
+ "type": "Event | FocusEvent",
32007
+ "example": null
32008
+ }
32009
+ ]
31111
32010
  }
31112
32011
  ]
31113
32012
  },
@@ -44691,6 +45590,14 @@
44691
45590
  "type": "\"PasswordField\"",
44692
45591
  "example": null
44693
45592
  },
45593
+ {
45594
+ "name": "PHONE_FIELD",
45595
+ "decorators": [],
45596
+ "description": "",
45597
+ "required": true,
45598
+ "type": "\"PhoneField\"",
45599
+ "example": null
45600
+ },
44694
45601
  {
44695
45602
  "name": "RADIO_FIELD",
44696
45603
  "decorators": [],
@@ -44833,7 +45740,7 @@
44833
45740
  "decorators": [],
44834
45741
  "description": "",
44835
45742
  "required": false,
44836
- "type": "{AutoCompleteField: string, BlankField: string, CheckboxField: string, CheckboxListField: string, CheckboxTreeField: string, DateField: string, DateRangeField: string, DateTimeField: string, DateTimeRangeField: string, DropDownField: string, EmailField: string, Field: string, FieldList: string, FieldSet: string, FileField: string, HtmlField: string, ImageField: string, InputField: string, MaskField: string, NavField: string, NumberField: string, PasswordField: string, RadioField: string, RadioListField: string, RateField: string, ReCaptchaField: string, SliderField: string, SwitcherField: string, TextField: string, TimeField: string, TimeRangeField: string}",
45743
+ "type": "{AutoCompleteField: string, BlankField: string, CheckboxField: string, CheckboxListField: string, CheckboxTreeField: string, DateField: string, DateRangeField: string, DateTimeField: string, DateTimeRangeField: string, DropDownField: string, EmailField: string, Field: string, FieldList: string, FieldSet: string, FileField: string, HtmlField: string, ImageField: string, InputField: string, MaskField: string, NavField: string, NumberField: string, PasswordField: string, PhoneField: string, RadioField: string, RadioListField: string, RateField: string, ReCaptchaField: string, SliderField: string, SwitcherField: string, TextField: string, TimeField: string, TimeRangeField: string}",
44837
45744
  "example": null,
44838
45745
  "parameters": []
44839
45746
  }
@@ -45866,6 +46773,13 @@
45866
46773
  "description": "",
45867
46774
  "tags": {}
45868
46775
  },
46776
+ "ui/form/PhoneField/PhoneField": {
46777
+ "name": "default",
46778
+ "moduleName": "ui/form/PhoneField/PhoneField",
46779
+ "title": "",
46780
+ "description": "",
46781
+ "tags": {}
46782
+ },
45869
46783
  "ui/form/RadioField/RadioField": {
45870
46784
  "name": "default",
45871
46785
  "moduleName": "ui/form/RadioField/RadioField",