chuijs 4.0.3 → 4.0.4

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.
Files changed (258) hide show
  1. package/CHANGELOG.md +536 -0
  2. package/framework/appLayout/default/chui_app_layout.js +361 -303
  3. package/framework/appLayout/default/global_style.css +243 -89
  4. package/framework/appLayout/default/main_theme_style.css +188 -101
  5. package/framework/components/chui_accordion/accordion.js +17 -17
  6. package/framework/components/chui_accordion/styles.css +7 -7
  7. package/framework/components/chui_action_sheet/action_sheet.js +35 -32
  8. package/framework/components/chui_action_sheet/styles.css +10 -4
  9. package/framework/components/chui_actions_bar/actions_bar.js +338 -0
  10. package/framework/components/chui_actions_bar/styles.css +139 -0
  11. package/framework/components/chui_affix/affix.js +4 -4
  12. package/framework/components/chui_affix/styles.css +5 -0
  13. package/framework/components/chui_alert/alert.js +11 -5
  14. package/framework/components/chui_alert/styles.css +7 -0
  15. package/framework/components/chui_avatar/avatar.js +13 -13
  16. package/framework/components/chui_avatar/styles.css +1 -1
  17. package/framework/components/chui_avatar_group/avatar_group.js +4 -4
  18. package/framework/components/chui_avatar_group/styles.css +1 -1
  19. package/framework/components/chui_backtop/backtop.js +25 -2
  20. package/framework/components/chui_backtop/styles.css +21 -0
  21. package/framework/components/chui_badge/badge.js +15 -15
  22. package/framework/components/chui_badge/styles.css +6 -6
  23. package/framework/components/chui_banner/banner.js +222 -0
  24. package/framework/components/chui_banner/styles.css +170 -0
  25. package/framework/components/chui_breadcrumb/styles.css +1 -1
  26. package/framework/components/chui_button/button.js +24 -28
  27. package/framework/components/chui_button/styles.css +5 -5
  28. package/framework/components/chui_calendar/calendar.js +6 -6
  29. package/framework/components/chui_card/card.js +14 -14
  30. package/framework/components/chui_card_scroll/card_scroll.js +169 -0
  31. package/framework/components/chui_card_scroll/styles.css +86 -0
  32. package/framework/components/chui_chat/chat.js +73 -51
  33. package/framework/components/chui_chat/styles.css +18 -7
  34. package/framework/components/chui_clipboard_history/clipboard_history.js +25 -20
  35. package/framework/components/chui_clipboard_history/styles.css +10 -8
  36. package/framework/components/chui_code/code.js +8 -8
  37. package/framework/components/chui_code/styles.css +2 -2
  38. package/framework/components/chui_code_editor/code_editor.js +26 -26
  39. package/framework/components/chui_code_editor/styles.css +3 -3
  40. package/framework/components/chui_command_palette/command_palette.js +29 -29
  41. package/framework/components/chui_command_palette/styles.css +5 -5
  42. package/framework/components/chui_console/console.js +9 -9
  43. package/framework/components/chui_console/styles.css +5 -2
  44. package/framework/components/chui_content_block/content_block.js +2 -2
  45. package/framework/components/chui_context_menu/context_menu.js +162 -54
  46. package/framework/components/chui_context_menu/styles.css +82 -8
  47. package/framework/components/chui_custom_element/custom_element.js +11 -11
  48. package/framework/components/chui_data_grid/data_grid.js +268 -268
  49. package/framework/components/chui_data_grid/styles.css +14 -14
  50. package/framework/components/chui_descriptions/styles.css +1 -1
  51. package/framework/components/chui_details/details.js +12 -12
  52. package/framework/components/chui_details/styles.css +7 -7
  53. package/framework/components/chui_diff_viewer/diff_viewer.js +88 -88
  54. package/framework/components/chui_diff_viewer/styles.css +9 -9
  55. package/framework/components/chui_divider/divider.js +6 -6
  56. package/framework/components/chui_divider/styles.css +2 -2
  57. package/framework/components/chui_drawer/drawer.js +37 -14
  58. package/framework/components/chui_drawer/styles.css +18 -4
  59. package/framework/components/chui_drop_zone/drop_zone.js +6 -6
  60. package/framework/components/chui_drop_zone/styles.css +10 -6
  61. package/framework/components/chui_fieldset/fieldset.js +6 -6
  62. package/framework/components/chui_fieldset/styles.css +5 -5
  63. package/framework/components/chui_file_explorer/file_explorer.js +115 -115
  64. package/framework/components/chui_file_explorer/styles.css +6 -6
  65. package/framework/components/chui_form/form.js +11 -11
  66. package/framework/components/chui_gantt/gantt.js +41 -41
  67. package/framework/components/chui_gantt/styles.css +5 -5
  68. package/framework/components/chui_graphs/graphs.js +82 -46
  69. package/framework/components/chui_graphs/styles.css +26 -5
  70. package/framework/components/chui_hero/hero.js +63 -20
  71. package/framework/components/chui_hero/styles.css +176 -7
  72. package/framework/components/chui_html_block/html_block.js +5 -5
  73. package/framework/components/chui_html_block/styles.css +1 -1
  74. package/framework/components/chui_hx/styles.css +2 -2
  75. package/framework/components/chui_icons/icons.js +7 -7
  76. package/framework/components/chui_icons/styles.css +2 -1
  77. package/framework/components/chui_inputs/chui_check_box/styles.css +12 -3
  78. package/framework/components/chui_inputs/chui_chips/chips.js +92 -31
  79. package/framework/components/chui_inputs/chui_chips/styles.css +28 -5
  80. package/framework/components/chui_inputs/chui_color_picker/color_picker.js +20 -15
  81. package/framework/components/chui_inputs/chui_color_picker/styles.css +7 -7
  82. package/framework/components/chui_inputs/chui_combo_box/combo_box.js +58 -58
  83. package/framework/components/chui_inputs/chui_combo_box/styles.css +9 -9
  84. package/framework/components/chui_inputs/chui_date/date.js +93 -95
  85. package/framework/components/chui_inputs/chui_date/styles.css +8 -8
  86. package/framework/components/chui_inputs/chui_date_range/date_range.js +22 -22
  87. package/framework/components/chui_inputs/chui_date_range/styles.css +3 -3
  88. package/framework/components/chui_inputs/chui_datetime/datetime.js +12 -12
  89. package/framework/components/chui_inputs/chui_datetime/styles.css +3 -3
  90. package/framework/components/chui_inputs/chui_email/email.js +10 -10
  91. package/framework/components/chui_inputs/chui_email/styles.css +6 -6
  92. package/framework/components/chui_inputs/chui_file/file.js +8 -8
  93. package/framework/components/chui_inputs/chui_file/styles.css +12 -9
  94. package/framework/components/chui_inputs/chui_hotkey/hotkey.js +39 -39
  95. package/framework/components/chui_inputs/chui_hotkey/styles.css +6 -6
  96. package/framework/components/chui_inputs/chui_masked/masked.js +44 -44
  97. package/framework/components/chui_inputs/chui_masked/styles.css +5 -5
  98. package/framework/components/chui_inputs/chui_mention/mention.js +13 -13
  99. package/framework/components/chui_inputs/chui_mention/styles.css +14 -8
  100. package/framework/components/chui_inputs/chui_multi_combo_box/multi_combo_box.js +147 -137
  101. package/framework/components/chui_inputs/chui_multi_combo_box/styles.css +14 -8
  102. package/framework/components/chui_inputs/chui_number/number.js +42 -45
  103. package/framework/components/chui_inputs/chui_number/styles.css +6 -6
  104. package/framework/components/chui_inputs/chui_otp/otp.js +32 -32
  105. package/framework/components/chui_inputs/chui_otp/styles.css +5 -5
  106. package/framework/components/chui_inputs/chui_password/password.js +30 -36
  107. package/framework/components/chui_inputs/chui_password/styles.css +7 -7
  108. package/framework/components/chui_inputs/chui_radio_button/styles.css +2 -2
  109. package/framework/components/chui_inputs/chui_rating/rating.js +28 -28
  110. package/framework/components/chui_inputs/chui_rating/styles.css +3 -3
  111. package/framework/components/chui_inputs/chui_select_box/select_box.js +54 -54
  112. package/framework/components/chui_inputs/chui_select_box/styles.css +10 -10
  113. package/framework/components/chui_inputs/chui_slider/slider.js +14 -14
  114. package/framework/components/chui_inputs/chui_slider/styles.css +5 -4
  115. package/framework/components/chui_inputs/chui_text/styles.css +7 -7
  116. package/framework/components/chui_inputs/chui_text/text.js +13 -17
  117. package/framework/components/chui_inputs/chui_text_area/styles.css +8 -8
  118. package/framework/components/chui_inputs/chui_text_area/text_area.js +23 -23
  119. package/framework/components/chui_inputs/chui_time/styles.css +13 -17
  120. package/framework/components/chui_inputs/chui_time/time.js +35 -24
  121. package/framework/components/chui_inputs/chui_toggle/styles.css +10 -3
  122. package/framework/components/chui_inputs/chui_toggle/toggle.js +16 -16
  123. package/framework/components/chui_json_editor/json_editor.js +87 -87
  124. package/framework/components/chui_json_editor/styles.css +5 -5
  125. package/framework/components/chui_json_viewer/json_viewer.js +80 -80
  126. package/framework/components/chui_json_viewer/styles.css +6 -6
  127. package/framework/components/chui_kanban/kanban.js +27 -27
  128. package/framework/components/chui_kanban/styles.css +8 -4
  129. package/framework/components/chui_kbd/styles.css +1 -1
  130. package/framework/components/chui_label/label.js +17 -17
  131. package/framework/components/chui_label/styles.css +1 -1
  132. package/framework/components/chui_link/link.js +9 -9
  133. package/framework/components/chui_link/styles.css +11 -4
  134. package/framework/components/chui_list/list.js +11 -11
  135. package/framework/components/chui_list/styles.css +2 -2
  136. package/framework/components/chui_markdown_editor/markdown_editor.js +66 -66
  137. package/framework/components/chui_markdown_editor/styles.css +5 -5
  138. package/framework/components/chui_media/audio.js +240 -246
  139. package/framework/components/chui_media/audio_styles.css +41 -23
  140. package/framework/components/chui_media/image.js +49 -46
  141. package/framework/components/chui_media/image_compare.js +35 -35
  142. package/framework/components/chui_media/image_compare_styles.css +5 -5
  143. package/framework/components/chui_media/image_styles.css +1 -1
  144. package/framework/components/chui_media/video.js +148 -148
  145. package/framework/components/chui_media/video_styles.css +27 -11
  146. package/framework/components/chui_menu_bar/menu_bar.js +54 -54
  147. package/framework/components/chui_menu_bar/styles.css +10 -10
  148. package/framework/components/chui_message_bar/message_bar.js +551 -0
  149. package/framework/components/chui_message_bar/styles.css +248 -0
  150. package/framework/components/chui_modal/modal.js +37 -13
  151. package/framework/components/chui_notification/notification.js +76 -54
  152. package/framework/components/chui_notification/notification_download.js +26 -81
  153. package/framework/components/chui_notification/notification_download_card.js +115 -0
  154. package/framework/components/chui_notification/notification_download_progress.css +2 -2
  155. package/framework/components/chui_notification/notification_download_progress.js +70 -108
  156. package/framework/components/chui_notification/notification_update.js +31 -31
  157. package/framework/components/chui_notification/status_plate.css +3 -3
  158. package/framework/components/chui_notification/styles.css +6 -1
  159. package/framework/components/chui_notification/styles_download.css +1 -1
  160. package/framework/components/chui_notification/styles_update.css +2 -2
  161. package/framework/components/chui_org_chart/org_chart.js +29 -29
  162. package/framework/components/chui_org_chart/styles.css +2 -2
  163. package/framework/components/chui_pagination/pagination.js +3 -3
  164. package/framework/components/chui_pagination/styles.css +1 -1
  165. package/framework/components/chui_paragraph/styles.css +2 -2
  166. package/framework/components/chui_popover/popover.js +29 -23
  167. package/framework/components/chui_popover/styles.css +1 -1
  168. package/framework/components/chui_popups/popups.js +124 -124
  169. package/framework/components/chui_popups/styles.css +5 -5
  170. package/framework/components/chui_print_button/print_button.js +15 -10
  171. package/framework/components/chui_progress_bar/progress_bar.js +34 -12
  172. package/framework/components/chui_progress_bar/styles.css +4 -4
  173. package/framework/components/chui_progress_ring/progress_ring.js +15 -15
  174. package/framework/components/chui_progress_ring/styles.css +1 -1
  175. package/framework/components/chui_qrcode/qrcode.js +12 -12
  176. package/framework/components/chui_query_builder/query_builder.js +46 -46
  177. package/framework/components/chui_query_builder/styles.css +4 -4
  178. package/framework/components/chui_radio_group/styles.css +1 -1
  179. package/framework/components/chui_result/result.js +15 -15
  180. package/framework/components/chui_result/styles.css +3 -3
  181. package/framework/components/chui_scheduler/scheduler.js +74 -74
  182. package/framework/components/chui_scheduler/styles.css +5 -5
  183. package/framework/components/chui_screen_spinner/screen_spinner.js +167 -0
  184. package/framework/components/chui_screen_spinner/styles.css +49 -0
  185. package/framework/components/chui_segmented_control/segmented_control.js +63 -6
  186. package/framework/components/chui_segmented_control/styles.css +32 -6
  187. package/framework/components/chui_settings/settings.js +45 -46
  188. package/framework/components/chui_settings/styles.css +4 -4
  189. package/framework/components/chui_shortcut_help/shortcut_help.js +32 -34
  190. package/framework/components/chui_sidebar_nav/sidebar_nav.js +98 -29
  191. package/framework/components/chui_sidebar_nav/styles.css +9 -3
  192. package/framework/components/chui_slideshow/slideshow.js +85 -85
  193. package/framework/components/chui_slideshow/styles.css +6 -6
  194. package/framework/components/chui_spinner/spinner.js +10 -10
  195. package/framework/components/chui_split_button/split_button.js +30 -12
  196. package/framework/components/chui_split_button/styles.css +21 -5
  197. package/framework/components/chui_splitter/splitter.js +11 -11
  198. package/framework/components/chui_splitter/styles.css +2 -2
  199. package/framework/components/chui_statistic/statistic.js +47 -47
  200. package/framework/components/chui_status_bar/styles.css +2 -2
  201. package/framework/components/chui_stepper/stepper.js +202 -31
  202. package/framework/components/chui_stepper/styles.css +79 -14
  203. package/framework/components/chui_sticky_bar/sticky_bar.js +44 -13
  204. package/framework/components/chui_sticky_bar/styles.css +10 -8
  205. package/framework/components/chui_tabs/chui_tabs.js +74 -26
  206. package/framework/components/chui_tabs/styles.css +40 -12
  207. package/framework/components/chui_text_editor/styles.css +7 -7
  208. package/framework/components/chui_text_editor/text_editor.js +56 -56
  209. package/framework/components/chui_text_editor/text_editor_panel.js +173 -174
  210. package/framework/components/chui_theme_toggle/theme_toggle.js +21 -5
  211. package/framework/components/chui_timeline/styles.css +3 -1
  212. package/framework/components/chui_toast_queue/styles.css +11 -11
  213. package/framework/components/chui_toast_queue/toast_queue.js +30 -27
  214. package/framework/components/chui_toolbar/styles.css +2 -2
  215. package/framework/components/chui_tooltip/styles.css +2 -2
  216. package/framework/components/chui_tooltip/tooltip.js +3 -3
  217. package/framework/components/chui_tour/styles.css +8 -8
  218. package/framework/components/chui_tour/tour.js +72 -72
  219. package/framework/components/chui_transfer/styles.css +6 -6
  220. package/framework/components/chui_transfer/transfer.js +93 -106
  221. package/framework/components/chui_tree_table/styles.css +4 -4
  222. package/framework/components/chui_tree_table/tree_table.js +45 -45
  223. package/framework/components/chui_tree_view/styles.css +10 -8
  224. package/framework/components/chui_tree_view/tree_view.js +185 -183
  225. package/framework/components/chui_user_bar/styles.css +145 -0
  226. package/framework/components/chui_user_bar/user_bar.js +402 -0
  227. package/framework/components/chui_user_list_bar/styles.css +173 -0
  228. package/framework/components/chui_user_list_bar/user_list_bar.js +485 -0
  229. package/framework/components/chui_watermark/watermark.js +17 -17
  230. package/framework/components/chui_webview/webview.js +9 -9
  231. package/framework/components/chui_write_bar/styles.css +172 -0
  232. package/framework/components/chui_write_bar/write_bar.js +320 -0
  233. package/framework/main_window.js +1234 -0
  234. package/framework/modules/chui_a11y/chui_a11y.js +78 -79
  235. package/framework/modules/chui_animations/animations.js +77 -15
  236. package/framework/modules/chui_animations/motion.js +120 -0
  237. package/framework/modules/chui_animations/styles.css +36 -3
  238. package/framework/modules/chui_functions.js +31 -27
  239. package/framework/modules/chui_highlight/styles.css +13 -10
  240. package/framework/modules/chui_i18n/chui_i18n.js +3 -3
  241. package/framework/modules/chui_i18n/locales/feedback.js +62 -0
  242. package/framework/modules/chui_i18n/locales/navigation.js +4 -0
  243. package/framework/modules/chui_json/chui_json.js +2 -2
  244. package/framework/modules/chui_logger/chui_logger.js +23 -8
  245. package/framework/modules/chui_page/page.js +10 -10
  246. package/framework/modules/chui_palette/palette.js +61 -0
  247. package/framework/modules/chui_qr/chui_qr.js +23 -23
  248. package/framework/modules/chui_scrollbar/chui_scrollbar.js +45 -45
  249. package/framework/modules/chui_scrollbar/styles.css +3 -3
  250. package/framework/modules/chui_services/chui_services.js +8 -8
  251. package/framework/modules/chui_services/desktop.js +77 -71
  252. package/framework/modules/chui_sortable/chui_sortable.js +17 -17
  253. package/framework/modules/chui_validate/chui_validate.js +3 -3
  254. package/framework/tray_bar/chui_menu_items.js +2 -2
  255. package/index.d.ts +266 -34
  256. package/index.js +20 -1168
  257. package/package.json +6 -4
  258. package/framework/components/telegram_bot/chui_telegram_bot.js +0 -191
package/index.d.ts CHANGED
@@ -32,7 +32,7 @@ export interface MainOptions {
32
32
  };
33
33
  }
34
34
 
35
- /** Класс `Main` */
35
+ /** Класс `Main` (framework/main_window.js) */
36
36
  export declare class Main {
37
37
  constructor(options?: MainOptions);
38
38
  closeWindow(...args: any[]): any;
@@ -1240,16 +1240,21 @@ export interface StepperOptions {
1240
1240
  label?: string;
1241
1241
  onChange?: unknown;
1242
1242
  changeEvent?: unknown;
1243
+ onStatus?: unknown;
1244
+ statusEvent?: unknown;
1243
1245
  }
1244
1246
 
1245
1247
  /** Класс `Stepper` (framework/components/chui_stepper/stepper.js) */
1246
1248
  export declare class Stepper {
1247
1249
  constructor(options?: StepperOptions);
1248
1250
  addChangeListener(...args: any[]): any;
1251
+ addStatusListener(...args: any[]): any;
1249
1252
  addStep(...args: any[]): any;
1250
1253
  getActive(...args: any[]): any;
1251
1254
  getId(...args: any[]): any;
1252
1255
  getOrientation(...args: any[]): any;
1256
+ getStatus(...args: any[]): any;
1257
+ getStatuses(...args: any[]): any;
1253
1258
  getStepTitle(...args: any[]): any;
1254
1259
  getSteps(...args: any[]): any;
1255
1260
  getStepsCount(...args: any[]): any;
@@ -1261,6 +1266,7 @@ export declare class Stepper {
1261
1266
  setLabel(...args: any[]): any;
1262
1267
  setOrientation(...args: any[]): any;
1263
1268
  setSize(...args: any[]): any;
1269
+ setStatus(...args: any[]): any;
1264
1270
  setSteps(...args: any[]): any;
1265
1271
  /** Прочие свойства экземпляра: их состав из JS не вывести */
1266
1272
  [key: string]: any;
@@ -1268,6 +1274,7 @@ export declare class Stepper {
1268
1274
  static ORIENTATION: any;
1269
1275
  static SIZE: any;
1270
1276
  static SMALL_ICON_SIZE: any;
1277
+ static STATUS: any;
1271
1278
  }
1272
1279
 
1273
1280
  /** Опции конструктора `Timeline` */
@@ -2187,6 +2194,7 @@ export declare class Hero {
2187
2194
  setWidth(...args: any[]): any;
2188
2195
  /** Прочие свойства экземпляра: их состав из JS не вывести */
2189
2196
  [key: string]: any;
2197
+ static STAT_ACCENTS: any;
2190
2198
  }
2191
2199
 
2192
2200
  /** Опции конструктора `Skeleton` */
@@ -2752,6 +2760,253 @@ export declare class Chat {
2752
2760
  static STATUS: any;
2753
2761
  }
2754
2762
 
2763
+ /** Класс `WriteBar` (framework/components/chui_write_bar/write_bar.js) */
2764
+ export declare class WriteBar {
2765
+ constructor(options?: Record<string, unknown>);
2766
+ addButton(...args: any[]): any;
2767
+ addSendListener(...args: any[]): any;
2768
+ blur(...args: any[]): any;
2769
+ clear(...args: any[]): any;
2770
+ destroy(...args: any[]): any;
2771
+ focus(...args: any[]): any;
2772
+ getField(...args: any[]): any;
2773
+ getIcons(...args: any[]): any;
2774
+ getSendButton(...args: any[]): any;
2775
+ getValue(...args: any[]): any;
2776
+ isDisabled(...args: any[]): any;
2777
+ removeSendListener(...args: any[]): any;
2778
+ send(...args: any[]): any;
2779
+ set(...args: any[]): any;
2780
+ setDisabled(...args: any[]): any;
2781
+ setEnterSends(...args: any[]): any;
2782
+ setPlaceholder(...args: any[]): any;
2783
+ setSendLabel(...args: any[]): any;
2784
+ setValue(...args: any[]): any;
2785
+ /** Прочие свойства экземпляра: их состав из JS не вывести */
2786
+ [key: string]: any;
2787
+ static Icon: any;
2788
+ }
2789
+
2790
+ /** Опции конструктора `MessageBar` */
2791
+ export interface MessageBarOptions {
2792
+ id?: string;
2793
+ messages?: unknown[];
2794
+ own?: string;
2795
+ height?: string;
2796
+ label?: string;
2797
+ dateSeparators?: boolean;
2798
+ avatars?: boolean;
2799
+ typing?: string;
2800
+ onMessageClick?: unknown;
2801
+ }
2802
+
2803
+ /** Класс `MessageBar` (framework/components/chui_message_bar/message_bar.js) */
2804
+ export declare class MessageBar {
2805
+ constructor(options?: MessageBarOptions);
2806
+ addMessage(...args: any[]): any;
2807
+ clear(...args: any[]): any;
2808
+ destroy(...args: any[]): any;
2809
+ getFeed(...args: any[]): any;
2810
+ getHeight(...args: any[]): any;
2811
+ getId(...args: any[]): any;
2812
+ getMessages(...args: any[]): any;
2813
+ getUnread(...args: any[]): any;
2814
+ isNearBottom(...args: any[]): any;
2815
+ isTyping(...args: any[]): any;
2816
+ linkWriteBar(...args: any[]): any;
2817
+ removeMessage(...args: any[]): any;
2818
+ scrollToBottom(...args: any[]): any;
2819
+ set(...args: any[]): any;
2820
+ setHeight(...args: any[]): any;
2821
+ setLabel(...args: any[]): any;
2822
+ setMessages(...args: any[]): any;
2823
+ setTyping(...args: any[]): any;
2824
+ unlinkWriteBar(...args: any[]): any;
2825
+ updateMessage(...args: any[]): any;
2826
+ /** Прочие свойства экземпляра: их состав из JS не вывести */
2827
+ [key: string]: any;
2828
+ static STATUS: any;
2829
+ }
2830
+
2831
+ /** Опции конструктора `UserBar` */
2832
+ export interface UserBarOptions {
2833
+ id?: string;
2834
+ name?: string;
2835
+ subtitle?: string;
2836
+ photo?: string;
2837
+ status?: string;
2838
+ back?: boolean;
2839
+ backLabel?: string;
2840
+ actions?: unknown[];
2841
+ menu?: unknown;
2842
+ menuLabel?: string;
2843
+ onBack?: unknown;
2844
+ onClick?: unknown;
2845
+ }
2846
+
2847
+ /** Класс `UserBar` (framework/components/chui_user_bar/user_bar.js) */
2848
+ export declare class UserBar {
2849
+ constructor(options?: UserBarOptions);
2850
+ addAction(...args: any[]): any;
2851
+ closeMenu(...args: any[]): any;
2852
+ destroy(...args: any[]): any;
2853
+ getActions(...args: any[]): any;
2854
+ getAvatar(...args: any[]): any;
2855
+ getMenu(...args: any[]): any;
2856
+ getName(...args: any[]): any;
2857
+ getStatus(...args: any[]): any;
2858
+ getSubtitle(...args: any[]): any;
2859
+ isMenuOpen(...args: any[]): any;
2860
+ openMenu(...args: any[]): any;
2861
+ set(...args: any[]): any;
2862
+ setMenu(...args: any[]): any;
2863
+ setMenuLabel(...args: any[]): any;
2864
+ setName(...args: any[]): any;
2865
+ setPhoto(...args: any[]): any;
2866
+ setStatus(...args: any[]): any;
2867
+ setSubtitle(...args: any[]): any;
2868
+ toggleMenu(...args: any[]): any;
2869
+ /** Прочие свойства экземпляра: их состав из JS не вывести */
2870
+ [key: string]: any;
2871
+ static Button: any;
2872
+ static STATUS: any;
2873
+ }
2874
+
2875
+ /** Опции конструктора `UserListBar` */
2876
+ export interface UserListBarOptions {
2877
+ id?: string;
2878
+ items?: unknown[];
2879
+ selected?: string;
2880
+ search?: boolean;
2881
+ searchPlaceholder?: string;
2882
+ label?: string;
2883
+ empty?: string;
2884
+ height?: string;
2885
+ onSelect?: unknown;
2886
+ }
2887
+
2888
+ /** Класс `UserListBar` (framework/components/chui_user_list_bar/user_list_bar.js) */
2889
+ export declare class UserListBar {
2890
+ constructor(options?: UserListBarOptions);
2891
+ addItem(...args: any[]): any;
2892
+ clear(...args: any[]): any;
2893
+ closeMenu(...args: any[]): any;
2894
+ destroy(...args: any[]): any;
2895
+ filter(...args: any[]): any;
2896
+ getId(...args: any[]): any;
2897
+ getItems(...args: any[]): any;
2898
+ getList(...args: any[]): any;
2899
+ getMenu(...args: any[]): any;
2900
+ getSearch(...args: any[]): any;
2901
+ getSelected(...args: any[]): any;
2902
+ getVisible(...args: any[]): any;
2903
+ openMenu(...args: any[]): any;
2904
+ removeItem(...args: any[]): any;
2905
+ select(...args: any[]): any;
2906
+ set(...args: any[]): any;
2907
+ setEmpty(...args: any[]): any;
2908
+ setHeight(...args: any[]): any;
2909
+ setItems(...args: any[]): any;
2910
+ setLabel(...args: any[]): any;
2911
+ setMenu(...args: any[]): any;
2912
+ updateItem(...args: any[]): any;
2913
+ /** Прочие свойства экземпляра: их состав из JS не вывести */
2914
+ [key: string]: any;
2915
+ static Item: any;
2916
+ static STATUS: any;
2917
+ }
2918
+
2919
+ /** Опции конструктора `ActionsBar` */
2920
+ export interface ActionsBarOptions {
2921
+ id?: string;
2922
+ title?: string;
2923
+ label?: string;
2924
+ orientation?: string;
2925
+ actions?: unknown[];
2926
+ onChange?: unknown;
2927
+ }
2928
+
2929
+ /** Класс `ActionsBar` (framework/components/chui_actions_bar/actions_bar.js) */
2930
+ export declare class ActionsBar {
2931
+ constructor(options?: ActionsBarOptions);
2932
+ addAction(...args: any[]): any;
2933
+ clear(...args: any[]): any;
2934
+ destroy(...args: any[]): any;
2935
+ getAction(...args: any[]): any;
2936
+ getActions(...args: any[]): any;
2937
+ getActive(...args: any[]): any;
2938
+ getId(...args: any[]): any;
2939
+ getOrientation(...args: any[]): any;
2940
+ getTitle(...args: any[]): any;
2941
+ getToolbar(...args: any[]): any;
2942
+ removeAction(...args: any[]): any;
2943
+ set(...args: any[]): any;
2944
+ setActions(...args: any[]): any;
2945
+ setActive(...args: any[]): any;
2946
+ setBadge(...args: any[]): any;
2947
+ setDisabled(...args: any[]): any;
2948
+ setLabel(...args: any[]): any;
2949
+ setOrientation(...args: any[]): any;
2950
+ setTitle(...args: any[]): any;
2951
+ toggle(...args: any[]): any;
2952
+ /** Прочие свойства экземпляра: их состав из JS не вывести */
2953
+ [key: string]: any;
2954
+ static Button: any;
2955
+ static ORIENTATION: any;
2956
+ }
2957
+
2958
+ /** Класс `Banner` (framework/components/chui_banner/banner.js) */
2959
+ export declare class Banner {
2960
+ constructor(options?: Record<string, unknown>);
2961
+ addActions(...args: any[]): any;
2962
+ close(...args: any[]): any;
2963
+ destroy(...args: any[]): any;
2964
+ isClosed(...args: any[]): any;
2965
+ set(...args: any[]): any;
2966
+ setClosable(...args: any[]): any;
2967
+ setIcon(...args: any[]): any;
2968
+ setImage(...args: any[]): any;
2969
+ setMarkdownText(...args: any[]): any;
2970
+ setMode(...args: any[]): any;
2971
+ setSize(...args: any[]): any;
2972
+ setSubtitle(...args: any[]): any;
2973
+ setText(...args: any[]): any;
2974
+ setTitle(...args: any[]): any;
2975
+ /** Прочие свойства экземпляра: их состав из JS не вывести */
2976
+ [key: string]: any;
2977
+ static MODE: any;
2978
+ static SIZE: any;
2979
+ }
2980
+
2981
+ /** Класс `CardScroll` (framework/components/chui_card_scroll/card_scroll.js) */
2982
+ export declare class CardScroll {
2983
+ constructor(options?: Record<string, unknown>);
2984
+ addCard(...args: any[]): any;
2985
+ destroy(...args: any[]): any;
2986
+ getCards(...args: any[]): any;
2987
+ scrollToCard(...args: any[]): any;
2988
+ scrollToEnd(...args: any[]): any;
2989
+ set(...args: any[]): any;
2990
+ /** Прочие свойства экземпляра: их состав из JS не вывести */
2991
+ [key: string]: any;
2992
+ }
2993
+
2994
+ /** Класс `ScreenSpinner` (framework/components/chui_screen_spinner/screen_spinner.js) */
2995
+ export declare class ScreenSpinner {
2996
+ constructor(options?: Record<string, unknown>);
2997
+ destroy(...args: any[]): any;
2998
+ getLabel(...args: any[]): any;
2999
+ hide(...args: any[]): any;
3000
+ isShown(...args: any[]): any;
3001
+ set(...args: any[]): any;
3002
+ setLabel(...args: any[]): any;
3003
+ show(...args: any[]): any;
3004
+ /** Прочие свойства экземпляра: их состав из JS не вывести */
3005
+ [key: string]: any;
3006
+ static hide: (...args: any[]) => any;
3007
+ static show: (...args: any[]) => any;
3008
+ }
3009
+
2755
3010
  /** Опции конструктора `ActionSheet` */
2756
3011
  export interface ActionSheetOptions {
2757
3012
  id?: string;
@@ -3041,6 +3296,7 @@ export declare class Chips {
3041
3296
  addChangeListener(...args: any[]): any;
3042
3297
  addChip(...args: any[]): any;
3043
3298
  clear(...args: any[]): any;
3299
+ destroy(...args: any[]): any;
3044
3300
  getDisabled(...args: any[]): any;
3045
3301
  getId(...args: any[]): any;
3046
3302
  getInputValue(...args: any[]): any;
@@ -3686,6 +3942,7 @@ export interface ThemeToggleOptions {
3686
3942
  labels?: {};
3687
3943
  label?: string;
3688
3944
  onChange?: unknown;
3945
+ onError?: unknown;
3689
3946
  }
3690
3947
 
3691
3948
  /** Класс `ThemeToggle` (framework/components/chui_theme_toggle/theme_toggle.js) */
@@ -3721,6 +3978,7 @@ export interface SegmentedControlOptions {
3721
3978
  export declare class SegmentedControl {
3722
3979
  constructor(options?: SegmentedControlOptions);
3723
3980
  addOption(...args: any[]): any;
3981
+ destroy(...args: any[]): any;
3724
3982
  getId(...args: any[]): any;
3725
3983
  getOption(...args: any[]): any;
3726
3984
  getOptions(...args: any[]): any;
@@ -3827,6 +4085,7 @@ export interface ClipboardHistoryOptions {
3827
4085
  label?: string;
3828
4086
  showClear?: boolean;
3829
4087
  onChange?: unknown;
4088
+ onError?: unknown;
3830
4089
  }
3831
4090
 
3832
4091
  /** Класс `ClipboardHistory` (framework/components/chui_clipboard_history/clipboard_history.js) */
@@ -3861,6 +4120,7 @@ export interface PrintButtonOptions {
3861
4120
  documentTitle?: string;
3862
4121
  icon?: unknown;
3863
4122
  onResult?: unknown;
4123
+ onError?: unknown;
3864
4124
  }
3865
4125
 
3866
4126
  /** Класс `PrintButton` (framework/components/chui_print_button/print_button.js) */
@@ -4367,8 +4627,12 @@ export declare class ContextMenu {
4367
4627
  attach(...args: any[]): any;
4368
4628
  destroy(...args: any[]): any;
4369
4629
  detach(...args: any[]): any;
4630
+ getLabel(...args: any[]): any;
4631
+ getPanel(...args: any[]): any;
4370
4632
  hide(...args: any[]): any;
4371
4633
  set(...args: any[]): any;
4634
+ setItems(...args: any[]): any;
4635
+ setLabel(...args: any[]): any;
4372
4636
  show(...args: any[]): any;
4373
4637
  /** Прочие свойства экземпляра: их состав из JS не вывести */
4374
4638
  [key: string]: any;
@@ -4416,6 +4680,7 @@ export interface DownloadProgressNotificationOptions {
4416
4680
  title?: string;
4417
4681
  text?: string;
4418
4682
  type?: string;
4683
+ max?: number;
4419
4684
  }
4420
4685
 
4421
4686
  /** Класс `DownloadProgressNotification` (framework/components/chui_notification/notification_download_progress.js) */
@@ -4589,39 +4854,6 @@ export declare class Console {
4589
4854
  [key: string]: any;
4590
4855
  }
4591
4856
 
4592
- /** Класс `TelegramBot` (framework/components/telegram_bot/chui_telegram_bot.js) */
4593
- export declare class TelegramBot {
4594
- constructor(options?: Record<string, unknown>);
4595
- copyMessage(...args: any[]): any;
4596
- deleteChatPhoto(...args: any[]): any;
4597
- forwardMessage(...args: any[]): any;
4598
- getChat(...args: any[]): any;
4599
- getChatAdministrators(...args: any[]): any;
4600
- getChatMember(...args: any[]): any;
4601
- getChatMemberCount(...args: any[]): any;
4602
- getFile(...args: any[]): any;
4603
- getMe(...args: any[]): any;
4604
- getUpdates(...args: any[]): any;
4605
- getUserProfilePhotos(...args: any[]): any;
4606
- pinChatMessage(...args: any[]): any;
4607
- sendAudio(...args: any[]): any;
4608
- sendContact(...args: any[]): any;
4609
- sendDice(...args: any[]): any;
4610
- sendDocument(...args: any[]): any;
4611
- sendMessage(...args: any[]): any;
4612
- sendPhoto(...args: any[]): any;
4613
- sendPoll(...args: any[]): any;
4614
- sendVideo(...args: any[]): any;
4615
- setChatDescription(...args: any[]): any;
4616
- setChatPhoto(...args: any[]): any;
4617
- setChatTitle(...args: any[]): any;
4618
- setToken(...args: any[]): any;
4619
- unpinAllChatMessages(...args: any[]): any;
4620
- unpinChatMessage(...args: any[]): any;
4621
- /** Прочие свойства экземпляра: их состав из JS не вывести */
4622
- [key: string]: any;
4623
- }
4624
-
4625
4857
  /** Значение пакета (модуль, объект или константа). */
4626
4858
  export declare const BrowserWindow: any;
4627
4859