@steroidsjs/core 3.1.5 → 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
  },
@@ -20738,6 +20774,24 @@
20738
20774
  }
20739
20775
  ],
20740
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
+ },
20741
20795
  {
20742
20796
  "name": "onChange",
20743
20797
  "decorators": [],
@@ -20773,6 +20827,24 @@
20773
20827
  "example": null
20774
20828
  }
20775
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
+ ]
20776
20848
  }
20777
20849
  ]
20778
20850
  },
@@ -25594,6 +25666,24 @@
25594
25666
  }
25595
25667
  ],
25596
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
+ },
25597
25687
  {
25598
25688
  "name": "onChange",
25599
25689
  "decorators": [],
@@ -25629,6 +25719,24 @@
25629
25719
  "example": null
25630
25720
  }
25631
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
+ ]
25632
25740
  }
25633
25741
  ]
25634
25742
  },
@@ -25906,6 +26014,24 @@
25906
26014
  }
25907
26015
  ],
25908
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
+ },
25909
26035
  {
25910
26036
  "name": "onChange",
25911
26037
  "decorators": [],
@@ -25941,6 +26067,24 @@
25941
26067
  "example": null
25942
26068
  }
25943
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
+ ]
25944
26088
  }
25945
26089
  ]
25946
26090
  },
@@ -26225,7 +26369,7 @@
26225
26369
  {
26226
26370
  "name": "onBlur",
26227
26371
  "decorators": [],
26228
- "description": "",
26372
+ "description": "Callback-функция, которая вызывается при потере фокуса input",
26229
26373
  "required": false,
26230
26374
  "type": "void",
26231
26375
  "example": null,
@@ -26270,7 +26414,7 @@
26270
26414
  {
26271
26415
  "name": "onFocus",
26272
26416
  "decorators": [],
26273
- "description": "",
26417
+ "description": "Callback-функция, которая вызывается при фокусировке input",
26274
26418
  "required": false,
26275
26419
  "type": "void",
26276
26420
  "example": null,
@@ -26579,6 +26723,24 @@
26579
26723
  }
26580
26724
  ],
26581
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
+ },
26582
26744
  {
26583
26745
  "name": "onChange",
26584
26746
  "decorators": [],
@@ -26614,6 +26776,24 @@
26614
26776
  "example": null
26615
26777
  }
26616
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
+ ]
26617
26797
  }
26618
26798
  ]
26619
26799
  },
@@ -27180,6 +27360,24 @@
27180
27360
  }
27181
27361
  ],
27182
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
+ },
27183
27381
  {
27184
27382
  "name": "onChange",
27185
27383
  "decorators": [],
@@ -27215,6 +27413,24 @@
27215
27413
  "example": null
27216
27414
  }
27217
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
+ ]
27218
27434
  }
27219
27435
  ]
27220
27436
  },
@@ -27512,6 +27728,24 @@
27512
27728
  }
27513
27729
  ],
27514
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
+ },
27515
27749
  {
27516
27750
  "name": "onChange",
27517
27751
  "decorators": [],
@@ -27547,6 +27781,24 @@
27547
27781
  "example": null
27548
27782
  }
27549
27783
  ]
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
+ ]
27550
27802
  }
27551
27803
  ]
27552
27804
  },
@@ -27711,112 +27963,608 @@
27711
27963
  "description": "Если true, то отображается шкала сложности пароля",
27712
27964
  "required": false,
27713
27965
  "type": "boolean",
27714
- "example": "true",
27966
+ "example": "true",
27967
+ "defaultValue": null
27968
+ },
27969
+ {
27970
+ "name": "showSecurityIcon",
27971
+ "decorators": [],
27972
+ "description": "Если true, то отображается иконка скрытия/показа пароля",
27973
+ "required": false,
27974
+ "type": "boolean",
27975
+ "example": null,
27976
+ "defaultValue": null
27977
+ },
27978
+ {
27979
+ "name": "size",
27980
+ "decorators": [],
27981
+ "description": "Размер поля",
27982
+ "required": false,
27983
+ "type": "string",
27984
+ "example": null,
27985
+ "defaultValue": null
27986
+ },
27987
+ {
27988
+ "name": "style",
27989
+ "decorators": [],
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,
27715
28481
  "defaultValue": null
27716
28482
  },
27717
28483
  {
27718
- "name": "showSecurityIcon",
28484
+ "name": "items",
27719
28485
  "decorators": [],
27720
- "description": "Если true, то отображается иконка скрытия/показа пароля",
27721
- "required": false,
27722
- "type": "boolean",
28486
+ "description": "",
28487
+ "required": true,
28488
+ "type": "any[]",
27723
28489
  "example": null,
27724
28490
  "defaultValue": null
27725
28491
  },
27726
28492
  {
27727
- "name": "size",
28493
+ "name": "primaryKey",
27728
28494
  "decorators": [],
27729
- "description": "Размер поля",
27730
- "required": false,
28495
+ "description": "",
28496
+ "required": true,
27731
28497
  "type": "string",
27732
28498
  "example": null,
27733
28499
  "defaultValue": null
27734
28500
  },
27735
28501
  {
27736
- "name": "style",
28502
+ "name": "selectedIds",
27737
28503
  "decorators": [],
27738
- "description": "Объект CSS стилей",
27739
- "required": false,
27740
- "type": "CSSProperties",
27741
- "example": "{width: '45%'}",
28504
+ "description": "",
28505
+ "required": true,
28506
+ "type": "any[]",
28507
+ "example": null,
27742
28508
  "defaultValue": null
27743
28509
  },
27744
28510
  {
27745
- "name": "value",
28511
+ "name": "selectedItems",
27746
28512
  "decorators": [],
27747
- "description": "Значение для поля",
27748
- "required": false,
27749
- "type": "any",
28513
+ "description": "",
28514
+ "required": true,
28515
+ "type": "any[]",
27750
28516
  "example": null,
27751
28517
  "defaultValue": null
27752
- },
28518
+ }
28519
+ ],
28520
+ "methods": [
27753
28521
  {
27754
- "name": "view",
28522
+ "name": "onClose",
27755
28523
  "decorators": [],
27756
- "description": "Переопределение view React компонента для кастомизации отображения",
28524
+ "description": "",
27757
28525
  "required": false,
27758
- "type": "React.ReactNode | {}",
27759
- "example": "MyCustomView",
27760
- "defaultValue": null
28526
+ "type": "void",
28527
+ "example": null,
28528
+ "parameters": []
27761
28529
  },
27762
28530
  {
27763
- "name": "viewProps",
27764
- "decorators": [],
27765
- "description": "Свойства для компонента отображения",
27766
- "required": false,
27767
- "type": "{}",
27768
- "example": "{\n customHandler: () => {...}\n}",
27769
- "defaultValue": null
27770
- }
27771
- ],
27772
- "methods": [
27773
- {
27774
- "name": "onChange",
28531
+ "name": "onItemSelect",
27775
28532
  "decorators": [],
27776
- "description": "Callback-функция, которая вызывается при изменении данных",
28533
+ "description": "",
27777
28534
  "required": false,
27778
- "type": "any",
28535
+ "type": "void",
27779
28536
  "example": null,
27780
28537
  "parameters": [
27781
28538
  {
27782
- "name": "args",
28539
+ "name": "id",
27783
28540
  "decorators": [],
27784
28541
  "description": "",
27785
28542
  "required": true,
27786
- "type": "any[]",
28543
+ "type": "any",
27787
28544
  "example": null
27788
28545
  }
27789
28546
  ]
27790
28547
  },
27791
28548
  {
27792
- "name": "onClear",
28549
+ "name": "onOpen",
27793
28550
  "decorators": [],
27794
- "description": "Callback-функция, которая вызывается при очистке input",
28551
+ "description": "",
27795
28552
  "required": false,
27796
28553
  "type": "void",
27797
28554
  "example": null,
27798
- "parameters": [
27799
- {
27800
- "name": "value",
27801
- "decorators": [],
27802
- "description": "",
27803
- "required": true,
27804
- "type": "string",
27805
- "example": null
27806
- }
27807
- ]
28555
+ "parameters": []
27808
28556
  }
27809
28557
  ]
27810
28558
  },
27811
- "IPasswordFieldViewProps": {
27812
- "name": "IPasswordFieldViewProps",
27813
- "moduleName": "ui/form/PasswordField/PasswordField",
28559
+ "IPhoneFieldViewProps": {
28560
+ "name": "IPhoneFieldViewProps",
28561
+ "moduleName": "ui/form/PhoneField/PhoneField",
27814
28562
  "title": "",
27815
28563
  "description": "",
27816
28564
  "tags": {},
27817
28565
  "defaultProps": null,
27818
28566
  "extends": [
27819
- "IPasswordFieldProps",
28567
+ "IPhoneFieldProps",
27820
28568
  "IFieldWrapperOutputProps"
27821
28569
  ],
27822
28570
  "properties": [
@@ -27860,6 +28608,14 @@
27860
28608
  "type": "boolean",
27861
28609
  "example": "true"
27862
28610
  },
28611
+ {
28612
+ "name": "dropDownProps",
28613
+ "decorators": [],
28614
+ "description": "",
28615
+ "required": true,
28616
+ "type": "IPhoneFieldDropdownProps",
28617
+ "example": null
28618
+ },
27863
28619
  {
27864
28620
  "name": "errors",
27865
28621
  "decorators": [],
@@ -27900,6 +28656,14 @@
27900
28656
  "type": "string",
27901
28657
  "example": null
27902
28658
  },
28659
+ {
28660
+ "name": "initialCountryCode",
28661
+ "decorators": [],
28662
+ "description": "Выбранная страна по умолчанию",
28663
+ "required": true,
28664
+ "type": "string",
28665
+ "example": null
28666
+ },
27903
28667
  {
27904
28668
  "name": "input",
27905
28669
  "decorators": [],
@@ -27912,9 +28676,9 @@
27912
28676
  "name": "inputProps",
27913
28677
  "decorators": [],
27914
28678
  "description": "Свойства для элемента input",
27915
- "required": true,
27916
- "type": "{disabled: boolean, name: string, placeholder: string, type: string, value: string | number, onChange: null}",
27917
- "example": null
28679
+ "required": false,
28680
+ "type": "InputHTMLAttributes",
28681
+ "example": "{ onKeyDown: ... }"
27918
28682
  },
27919
28683
  {
27920
28684
  "name": "isRenderWithoutFieldLayout",
@@ -27940,6 +28704,14 @@
27940
28704
  "type": "any",
27941
28705
  "example": "{\n attributes: [\n {\n attribute: 'category',\n field: 'DropDownField'\n }\n ]\n}"
27942
28706
  },
28707
+ {
28708
+ "name": "phoneMasks",
28709
+ "decorators": [],
28710
+ "description": "Список доступных масок для телефонных номеров разных стран.\nКаждая маска определяет формат отображения номера.",
28711
+ "required": true,
28712
+ "type": "ICountryPhoneMask[]",
28713
+ "example": null
28714
+ },
27943
28715
  {
27944
28716
  "name": "placeholder",
27945
28717
  "decorators": [],
@@ -27964,14 +28736,6 @@
27964
28736
  "type": "boolean",
27965
28737
  "example": "true"
27966
28738
  },
27967
- {
27968
- "name": "securityLevel",
27969
- "decorators": [],
27970
- "description": "",
27971
- "required": false,
27972
- "type": "\"success\" | \"warning\" | \"danger\"",
27973
- "example": null
27974
- },
27975
28739
  {
27976
28740
  "name": "showClear",
27977
28741
  "decorators": [],
@@ -27980,22 +28744,6 @@
27980
28744
  "type": "boolean",
27981
28745
  "example": "true"
27982
28746
  },
27983
- {
27984
- "name": "showSecurityBar",
27985
- "decorators": [],
27986
- "description": "Если true, то отображается шкала сложности пароля",
27987
- "required": false,
27988
- "type": "boolean",
27989
- "example": "true"
27990
- },
27991
- {
27992
- "name": "showSecurityIcon",
27993
- "decorators": [],
27994
- "description": "Если true, то отображается иконка скрытия/показа пароля",
27995
- "required": false,
27996
- "type": "boolean",
27997
- "example": null
27998
- },
27999
28747
  {
28000
28748
  "name": "size",
28001
28749
  "decorators": [],
@@ -28038,6 +28786,24 @@
28038
28786
  }
28039
28787
  ],
28040
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
+ },
28041
28807
  {
28042
28808
  "name": "onChange",
28043
28809
  "decorators": [],
@@ -28063,16 +28829,34 @@
28063
28829
  "required": false,
28064
28830
  "type": "void",
28065
28831
  "example": null,
28066
- "parameters": []
28832
+ "parameters": [
28833
+ {
28834
+ "name": "value",
28835
+ "decorators": [],
28836
+ "description": "",
28837
+ "required": true,
28838
+ "type": "string",
28839
+ "example": null
28840
+ }
28841
+ ]
28067
28842
  },
28068
28843
  {
28069
- "name": "onShowButtonClick",
28844
+ "name": "onFocus",
28070
28845
  "decorators": [],
28071
- "description": "",
28846
+ "description": "Callback-функция, которая вызывается при фокусировке input",
28072
28847
  "required": false,
28073
28848
  "type": "void",
28074
28849
  "example": null,
28075
- "parameters": []
28850
+ "parameters": [
28851
+ {
28852
+ "name": "e",
28853
+ "decorators": [],
28854
+ "description": "",
28855
+ "required": true,
28856
+ "type": "Event | FocusEvent",
28857
+ "example": null
28858
+ }
28859
+ ]
28076
28860
  }
28077
28861
  ]
28078
28862
  },
@@ -30866,6 +31650,24 @@
30866
31650
  }
30867
31651
  ],
30868
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
+ },
30869
31671
  {
30870
31672
  "name": "onChange",
30871
31673
  "decorators": [],
@@ -30901,6 +31703,24 @@
30901
31703
  "example": null
30902
31704
  }
30903
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
+ ]
30904
31724
  }
30905
31725
  ]
30906
31726
  },
@@ -31134,6 +31954,24 @@
31134
31954
  }
31135
31955
  ],
31136
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
+ },
31137
31975
  {
31138
31976
  "name": "onChange",
31139
31977
  "decorators": [],
@@ -31151,6 +31989,24 @@
31151
31989
  "example": null
31152
31990
  }
31153
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
+ ]
31154
32010
  }
31155
32011
  ]
31156
32012
  },
@@ -44734,6 +45590,14 @@
44734
45590
  "type": "\"PasswordField\"",
44735
45591
  "example": null
44736
45592
  },
45593
+ {
45594
+ "name": "PHONE_FIELD",
45595
+ "decorators": [],
45596
+ "description": "",
45597
+ "required": true,
45598
+ "type": "\"PhoneField\"",
45599
+ "example": null
45600
+ },
44737
45601
  {
44738
45602
  "name": "RADIO_FIELD",
44739
45603
  "decorators": [],
@@ -44876,7 +45740,7 @@
44876
45740
  "decorators": [],
44877
45741
  "description": "",
44878
45742
  "required": false,
44879
- "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}",
44880
45744
  "example": null,
44881
45745
  "parameters": []
44882
45746
  }
@@ -45909,6 +46773,13 @@
45909
46773
  "description": "",
45910
46774
  "tags": {}
45911
46775
  },
46776
+ "ui/form/PhoneField/PhoneField": {
46777
+ "name": "default",
46778
+ "moduleName": "ui/form/PhoneField/PhoneField",
46779
+ "title": "",
46780
+ "description": "",
46781
+ "tags": {}
46782
+ },
45912
46783
  "ui/form/RadioField/RadioField": {
45913
46784
  "name": "default",
45914
46785
  "moduleName": "ui/form/RadioField/RadioField",