feffery_utils_components 0.2.0-rc15 → 0.2.0-rc17

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 (64) hide show
  1. package/DESCRIPTION +1 -1
  2. package/NAMESPACE +1 -0
  3. package/Project.toml +1 -1
  4. package/README.md +1 -1
  5. package/feffery_utils_components/FefferyBurger.py +77 -0
  6. package/feffery_utils_components/FefferyHttpRequests.py +3 -2
  7. package/feffery_utils_components/FefferyMarkdownEditor.py +7 -4
  8. package/feffery_utils_components/FefferyPhotoSphereViewer.py +34 -8
  9. package/feffery_utils_components/FefferyVditor.py +2 -2
  10. package/feffery_utils_components/__init__.py +2 -1
  11. package/feffery_utils_components/_imports_.py +2 -0
  12. package/feffery_utils_components/alias.py +2 -0
  13. package/feffery_utils_components/async-feffery_animated_3d_background_p5.js +1 -1
  14. package/feffery_utils_components/async-feffery_animated_3d_background_three.js +1 -121
  15. package/feffery_utils_components/async-feffery_aplayer.js +1 -1
  16. package/feffery_utils_components/async-feffery_auto_animate.js +1 -1
  17. package/feffery_utils_components/async-feffery_auto_fit.js +1 -1
  18. package/feffery_utils_components/async-feffery_burger.js +1 -0
  19. package/feffery_utils_components/async-feffery_captcha.js +1 -1
  20. package/feffery_utils_components/async-feffery_color_pickers.js +1 -1
  21. package/feffery_utils_components/async-feffery_dom2image.js +1 -1
  22. package/feffery_utils_components/async-feffery_dplayer.js +1 -1
  23. package/feffery_utils_components/async-feffery_emoji_picker.js +1 -1
  24. package/feffery_utils_components/async-feffery_excel_preview.js +1 -1
  25. package/feffery_utils_components/async-feffery_extra_spinner.js +1 -1
  26. package/feffery_utils_components/async-feffery_fancy_button.js +1 -1
  27. package/feffery_utils_components/async-feffery_grid.js +1 -1
  28. package/feffery_utils_components/async-feffery_http_requests.js +1 -1
  29. package/feffery_utils_components/async-feffery_image_cropper.js +1 -1
  30. package/feffery_utils_components/async-feffery_json_viewer.js +1 -1
  31. package/feffery_utils_components/async-feffery_local_large_storage.js +1 -1
  32. package/feffery_utils_components/async-feffery_markdown_editor.js +2 -2
  33. package/feffery_utils_components/async-feffery_motion.js +1 -1
  34. package/feffery_utils_components/async-feffery_music_player.js +1 -1
  35. package/feffery_utils_components/async-feffery_photo_sphere_viewer.js +1 -1
  36. package/feffery_utils_components/async-feffery_photo_sphere_viewer.js.LICENSE.txt +2 -98
  37. package/feffery_utils_components/async-feffery_resizable.js +1 -1
  38. package/feffery_utils_components/async-feffery_rich_text_editor.js +2 -2
  39. package/feffery_utils_components/async-feffery_rnd.js +1 -1
  40. package/feffery_utils_components/async-feffery_seamless_scroll.js +1 -1
  41. package/feffery_utils_components/async-feffery_shortcut_panel.js +1 -1
  42. package/feffery_utils_components/async-feffery_slider_captcha.js +1 -1
  43. package/feffery_utils_components/async-feffery_sortable.js +1 -1
  44. package/feffery_utils_components/async-feffery_vditor.js +1 -1
  45. package/feffery_utils_components/async-feffery_word_preview.js +1 -1
  46. package/feffery_utils_components/async-fuc-shared.js +129 -9
  47. package/feffery_utils_components/async-fuc-shared.js.LICENSE.txt +6 -0
  48. package/feffery_utils_components/feffery_utils_components.min.js +2 -2
  49. package/feffery_utils_components/metadata.json +326 -152
  50. package/feffery_utils_components/package-info.json +5 -3
  51. package/package.json +4 -2
  52. package/src/lib/components/FefferyBurger.react.js +120 -0
  53. package/src/lib/components/FefferyHttpRequests.react.js +2 -2
  54. package/src/lib/components/FefferyPhotoSphereViewer.react.js +49 -7
  55. package/src/lib/components/editor/FefferyMarkdownEditor.react.js +7 -1
  56. package/src/lib/components/editor/FefferyVditor.react.js +107 -7
  57. package/src/lib/fragments/FefferyBurger.react.js +90 -0
  58. package/src/lib/fragments/FefferyPhotoSphereViewer.react.js +19 -0
  59. package/src/lib/fragments/editor/FefferyMarkdownEditor.react.js +55 -16
  60. package/src/lib/fragments/editor/FefferyVditor.react.js +21 -14
  61. package/src/lib/index.js +3 -1
  62. package/usage.py +28 -145
  63. package/webpack.config.js +1 -0
  64. package/feffery_utils_components/async-feffery_animated_3d_background_three.js.LICENSE.txt +0 -5
package/DESCRIPTION CHANGED
@@ -1,6 +1,6 @@
1
1
  Package: fefferyUtilsComponents
2
2
  Title: Build more utility components for Plotly Dash.
3
- Version: 0.2.0-rc15
3
+ Version: 0.2.0-rc17
4
4
  Description: Build more utility components for Plotly Dash.
5
5
  Depends: R (>= 3.0.2)
6
6
  Imports:
package/NAMESPACE CHANGED
@@ -32,6 +32,7 @@ export(''FefferyMarkdownEditor)
32
32
  export(''FefferyRichTextEditor)
33
33
  export(''FefferyVditor)
34
34
  export(''FefferyAnimatedImage)
35
+ export(''FefferyBurger)
35
36
  export(''FefferyCaptcha)
36
37
  export(''FefferyCompareSlider)
37
38
  export(''FefferyCountDown)
package/Project.toml CHANGED
@@ -2,7 +2,7 @@
2
2
  name = "FefferyUtilsComponents"
3
3
  uuid = "1b08a953-4be3-4667-9a23-ea89cd6d0d23"
4
4
  authors = ["CNFeffery <fefferypzy@gmail.com>"]
5
- version = "0.2.0-rc15"
5
+ version = "0.2.0-rc17"
6
6
 
7
7
  [deps]
8
8
  Dash = "1b08a953-4be3-4667-9a23-3db579824955"
package/README.md CHANGED
@@ -22,7 +22,7 @@ pip install feffery-utils-components -U
22
22
  ## 2 最新预发布版本安装方式
23
23
 
24
24
  > [!NOTE]
25
- > 最新预发布版本(2024-04-04):`0.2.0rc14`
25
+ > 最新预发布版本(2024-05-10):`0.2.0rc16`
26
26
 
27
27
  ```bash
28
28
  pip install feffery-utils-components --pre -U
@@ -0,0 +1,77 @@
1
+ # AUTO GENERATED FILE - DO NOT EDIT
2
+
3
+ from dash.development.base_component import Component, _explicitize_args
4
+
5
+
6
+ class FefferyBurger(Component):
7
+ """A FefferyBurger component.
8
+ 动态菜单图标组件FefferyBurger
9
+
10
+ Keyword arguments:
11
+
12
+ - id (string; optional):
13
+ 组件唯一id.
14
+
15
+ - className (string; optional):
16
+ 当前组件css类名.
17
+
18
+ - color (string; optional):
19
+ 图标颜色.
20
+
21
+ - direction (a value equal to: 'left', 'right'; default 'left'):
22
+ 部分类型图标可用,控制动画方向,可选项有`'left'`、`'right'` 默认值:`'left'`.
23
+
24
+ - distance (a value equal to: 'sm', 'md', 'lg'; default 'md'):
25
+ 图标水平线之间的间距大小规格,可选项有`'sm'`、`'md'`、`'lg'` 默认值:`'md'`.
26
+
27
+ - duration (number; default 0.3):
28
+ 动画过程时长,单位:秒,设置为`0`时将关闭动画 默认值:`0.3`.
29
+
30
+ - key (string; optional):
31
+ 对当前组件的`key`值进行更新,可实现强制重绘当前组件的效果.
32
+
33
+ - loading_state (dict; optional)
34
+
35
+ `loading_state` is a dict with keys:
36
+
37
+ - component_name (string; optional):
38
+ Holds the name of the component that is loading.
39
+
40
+ - is_loading (boolean; optional):
41
+ Determines if the component is loading or not.
42
+
43
+ - prop_name (string; optional):
44
+ Holds which property is loading.
45
+
46
+ - rounded (boolean; default False):
47
+ 是否渲染为圆角矩形 默认值:`False`.
48
+
49
+ - size (number; default 32):
50
+ 图标像素尺寸 默认值:`32`.
51
+
52
+ - style (dict; optional):
53
+ 当前组件css样式.
54
+
55
+ - toggled (boolean; optional):
56
+ 设置或监听切换状态.
57
+
58
+ - type (a value equal to: 'default', 'squash', 'cross', 'twirl', 'fade', 'slant', 'spiral', 'divide', 'turn', 'pivot', 'sling', 'squeeze', 'spin', 'rotate'; default 'default'):
59
+ 图标类型,可选项有`'default'`、`'squash'`、`'cross'`、`'twirl'`、`'fade'`、`'slant'`、`'spiral'`
60
+ 、`'divide'`、`'turn'`、`'pivot'`、`'sling'`、`'squeeze'`、`'spin'`、`'rotate'`
61
+ 默认值:`'default'`."""
62
+ _children_props = []
63
+ _base_nodes = ['children']
64
+ _namespace = 'feffery_utils_components'
65
+ _type = 'FefferyBurger'
66
+ @_explicitize_args
67
+ def __init__(self, id=Component.UNDEFINED, key=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, type=Component.UNDEFINED, toggled=Component.UNDEFINED, size=Component.UNDEFINED, direction=Component.UNDEFINED, duration=Component.UNDEFINED, distance=Component.UNDEFINED, color=Component.UNDEFINED, rounded=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
68
+ self._prop_names = ['id', 'className', 'color', 'direction', 'distance', 'duration', 'key', 'loading_state', 'rounded', 'size', 'style', 'toggled', 'type']
69
+ self._valid_wildcard_attributes = []
70
+ self.available_properties = ['id', 'className', 'color', 'direction', 'distance', 'duration', 'key', 'loading_state', 'rounded', 'size', 'style', 'toggled', 'type']
71
+ self.available_wildcard_properties = []
72
+ _explicit_args = kwargs.pop('_explicit_args')
73
+ _locals = locals()
74
+ _locals.update(kwargs) # For wildcard attrs and excess named props
75
+ args = {k: _locals[k] for k in _explicit_args}
76
+
77
+ super(FefferyBurger, self).__init__(**args)
@@ -39,8 +39,9 @@ Keyword arguments:
39
39
  - headers (dict; optional):
40
40
  自定义请求头.
41
41
 
42
- - method (a value equal to: 'get', 'post'; optional):
43
- 请求类型,可选项有`'get'`、`'post'` 默认值:`'get'`.
42
+ - method (a value equal to: 'get', 'post', 'put', 'patch', 'delete'; optional):
43
+ 请求类型,可选项有`'get'`、`'post'`、`'put'`、`'patch'`、`'delete'`
44
+ 默认值:`'get'`.
44
45
 
45
46
  - params (dict; optional):
46
47
  自定义请求参数.
@@ -44,6 +44,9 @@ Keyword arguments:
44
44
  - syntaxType (a value equal to: 'inline', 'block'; optional):
45
45
  自定义语法类型,'inline'表示行内语法,'block'表示段落语法.
46
46
 
47
+ - debounceWait (number; default 200):
48
+ 用于配置value变化更新的防抖等待时长(单位:毫秒),默认为200.
49
+
47
50
  - drawioIframeUrl (string; default ''):
48
51
  打开draw.io编辑页的url,如果为空则drawio按钮失效.
49
52
 
@@ -411,7 +414,7 @@ Keyword arguments:
411
414
 
412
415
  - label (a value equal to: '默认', '暗黑', '明亮', '清新', '热情', '淡雅', '清幽'; optional)
413
416
 
414
- - toolbars (dict; default {
415
417
  theme: 'dark',
416
418
  showToolbar: True,
417
419
  toolbar: [
418
420
  'bold',
419
421
  'italic',
420
422
  'strikethrough',
421
423
  '|',
422
424
  'color',
423
425
  'header',
424
426
  'ruby',
425
427
  '|',
426
428
  'list',
427
429
  'panel',
428
430
  'detail',
429
431
  {
430
432
  insert: ['image', 'audio', 'video', 'link', 'hr', 'br', 'code', 'formula', 'toc', 'table', 'line-table', 'bar-table', 'pdf', 'word']
431
433
  },
432
434
  'settings',
433
435
  ],
434
436
  toolbarRight: [],
435
437
  sidebar: [],
436
438
  bubble: ['bold', 'italic', 'underline', 'strikethrough', 'sub', 'sup', 'quote', '|', 'size', 'color'],
437
439
  float: ['h1', 'h2', 'h3', '|', 'checklist', 'quote', 'table', 'code'],
438
440
  shortcutKey: {},
439
441
  config: {
440
442
  formula: {
441
443
  showLatexLive: True,
442
444
  templateConfig: False,
443
445
  },
444
446
  },
447
+ - toolbars (dict; default {
445
448
  theme: 'dark',
446
449
  showToolbar: True,
447
450
  toolbar: [
448
451
  'bold',
449
452
  'italic',
450
453
  'strikethrough',
451
454
  '|',
452
455
  'color',
453
456
  'header',
454
457
  'ruby',
455
458
  '|',
456
459
  'list',
457
460
  'panel',
458
461
  'detail',
459
462
  {
460
463
  insert: ['image', 'audio', 'video', 'link', 'hr', 'br', 'code', 'formula', 'toc', 'table', 'pdf', 'word']
461
464
  },
462
465
  'settings',
463
466
  ],
464
467
  toolbarRight: [],
465
468
  sidebar: [],
466
469
  bubble: ['bold', 'italic', 'underline', 'strikethrough', 'sub', 'sup', 'quote', '|', 'size', 'color'],
467
470
  float: ['h1', 'h2', 'h3', '|', 'checklist', 'quote', 'table', 'code'],
468
471
  shortcutKey: {},
469
472
  config: {
470
473
  formula: {
471
474
  showLatexLive: True,
472
475
  templateConfig: False,
473
476
  },
474
477
  },
475
478
  工具栏配置.
476
479
 
477
480
  `toolbars` is a dict with keys:
@@ -498,10 +501,10 @@ Keyword arguments:
498
501
  _namespace = 'feffery_utils_components'
499
502
  _type = 'FefferyMarkdownEditor'
500
503
  @_explicitize_args
501
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, value=Component.UNDEFINED, html=Component.UNDEFINED, engine=Component.UNDEFINED, editor=Component.UNDEFINED, toolbars=Component.UNDEFINED, drawioIframeUrl=Component.UNDEFINED, fileTypeLimitMap=Component.UNDEFINED, uploadConfig=Component.UNDEFINED, fineControl=Component.UNDEFINED, previewer=Component.UNDEFINED, theme=Component.UNDEFINED, isPreviewOnly=Component.UNDEFINED, autoScrollByCursor=Component.UNDEFINED, forceAppend=Component.UNDEFINED, locale=Component.UNDEFINED, autoScrollByHashAfterInit=Component.UNDEFINED, customSyntax=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
502
- self._prop_names = ['id', 'autoScrollByCursor', 'autoScrollByHashAfterInit', 'className', 'customSyntax', 'drawioIframeUrl', 'editor', 'engine', 'fileTypeLimitMap', 'fineControl', 'forceAppend', 'html', 'isPreviewOnly', 'key', 'loading_state', 'locale', 'previewer', 'style', 'theme', 'toolbars', 'uploadConfig', 'value']
504
+ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, debounceWait=Component.UNDEFINED, value=Component.UNDEFINED, html=Component.UNDEFINED, engine=Component.UNDEFINED, editor=Component.UNDEFINED, toolbars=Component.UNDEFINED, drawioIframeUrl=Component.UNDEFINED, fileTypeLimitMap=Component.UNDEFINED, uploadConfig=Component.UNDEFINED, fineControl=Component.UNDEFINED, previewer=Component.UNDEFINED, theme=Component.UNDEFINED, isPreviewOnly=Component.UNDEFINED, autoScrollByCursor=Component.UNDEFINED, forceAppend=Component.UNDEFINED, locale=Component.UNDEFINED, autoScrollByHashAfterInit=Component.UNDEFINED, customSyntax=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
505
+ self._prop_names = ['id', 'autoScrollByCursor', 'autoScrollByHashAfterInit', 'className', 'customSyntax', 'debounceWait', 'drawioIframeUrl', 'editor', 'engine', 'fileTypeLimitMap', 'fineControl', 'forceAppend', 'html', 'isPreviewOnly', 'key', 'loading_state', 'locale', 'previewer', 'style', 'theme', 'toolbars', 'uploadConfig', 'value']
503
506
  self._valid_wildcard_attributes = []
504
- self.available_properties = ['id', 'autoScrollByCursor', 'autoScrollByHashAfterInit', 'className', 'customSyntax', 'drawioIframeUrl', 'editor', 'engine', 'fileTypeLimitMap', 'fineControl', 'forceAppend', 'html', 'isPreviewOnly', 'key', 'loading_state', 'locale', 'previewer', 'style', 'theme', 'toolbars', 'uploadConfig', 'value']
507
+ self.available_properties = ['id', 'autoScrollByCursor', 'autoScrollByHashAfterInit', 'className', 'customSyntax', 'debounceWait', 'drawioIframeUrl', 'editor', 'engine', 'fileTypeLimitMap', 'fineControl', 'forceAppend', 'html', 'isPreviewOnly', 'key', 'loading_state', 'locale', 'previewer', 'style', 'theme', 'toolbars', 'uploadConfig', 'value']
505
508
  self.available_wildcard_properties = []
506
509
  _explicit_args = kwargs.pop('_explicit_args')
507
510
  _locals = locals()
@@ -27,14 +27,20 @@ Keyword arguments:
27
27
  - height (string; optional):
28
28
  设置查看器高度,同css中的height属性.
29
29
 
30
+ - hideNavbarButton (boolean; default False):
31
+ 是否渲染底部导航栏隐藏按钮 默认值:`False`.
32
+
30
33
  - key (string; optional):
31
34
  辅助刷新用唯一标识key值.
32
35
 
33
36
  - lang (dict; optional):
34
- 为相关功能控件设置鼠标悬停提示信息文案.
37
+ 为相关功能控件或场景设置鼠标悬停提示信息文案.
35
38
 
36
39
  `lang` is a dict with keys:
37
40
 
41
+ - autorotate (string; optional):
42
+ 自动旋转调节.
43
+
38
44
  - download (string; optional):
39
45
  下载操作.
40
46
 
@@ -44,6 +50,9 @@ Keyword arguments:
44
50
  - littlePlanetButton (string; optional):
45
51
  小星球模式.
46
52
 
53
+ - loadError (string; optional):
54
+ 资源加载失败.
55
+
47
56
  - moveDown (string; optional):
48
57
  下移操作.
49
58
 
@@ -93,10 +102,27 @@ Keyword arguments:
93
102
  - moveSpeed (number; default 1):
94
103
  设置鼠标平移速度 默认:1.
95
104
 
96
- - navbar (list of a value equal to: 'zoom', 'move', 'download', 'caption', 'fullscreen's | boolean; default ['caption']):
97
- 配置导航栏中需要显示的功能项及顺序,设置为False时将隐藏导航栏
98
- 可选的有'zoom''move''download''caption''fullscreen'
99
- 默认:['caption'].
105
+ - navbar (list of a value equal to: 'zoom', 'move', 'download', 'caption', 'fullscreen', 'autorotate's | boolean; default ['caption']):
106
+ 配置导航栏中需要显示的功能项及顺序,设置为`False`时将隐藏导航栏
107
+ 可选的有`'zoom'`、`'move'`、`'download'`、`'caption'`、`'fullscreen'`、`'autorotate'`
108
+ 默认值:`['caption']`.
109
+
110
+ - plugins (list of dicts; optional):
111
+ 用于配置额外插件功能.
112
+
113
+ `plugins` is a list of dicts with keys:
114
+
115
+ - autorotateSpeed (string; optional):
116
+ `Autorotate`模式下,自动旋转速度 默认值:`2rpm`.
117
+
118
+ - autostartDelay (number; optional):
119
+ `Autorotate`模式下,从用户无操作到恢复自动旋转的延时,单位:毫秒 默认值:`2000`.
120
+
121
+ - autostartOnIdle (boolean; optional):
122
+ `Autorotate`模式下,是否在用户无操作一段时间后恢复自动旋转 默认值:`True`.
123
+
124
+ - type (a value equal to: 'Autorotate'; required):
125
+ 必填,插件类型,可选项有`'Autorotate'`.
100
126
 
101
127
  - src (string; optional):
102
128
  设置全景图片资源地址.
@@ -111,10 +137,10 @@ Keyword arguments:
111
137
  _namespace = 'feffery_utils_components'
112
138
  _type = 'FefferyPhotoSphereViewer'
113
139
  @_explicitize_args
114
- def __init__(self, id=Component.UNDEFINED, key=Component.UNDEFINED, src=Component.UNDEFINED, width=Component.UNDEFINED, height=Component.UNDEFINED, littlePlanet=Component.UNDEFINED, containerClass=Component.UNDEFINED, navbar=Component.UNDEFINED, caption=Component.UNDEFINED, downloadUrl=Component.UNDEFINED, loadingImg=Component.UNDEFINED, loadingTxt=Component.UNDEFINED, mousewheel=Component.UNDEFINED, mousemove=Component.UNDEFINED, moveSpeed=Component.UNDEFINED, zoomSpeed=Component.UNDEFINED, fisheye=Component.UNDEFINED, lang=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
115
- self._prop_names = ['id', 'caption', 'containerClass', 'downloadUrl', 'fisheye', 'height', 'key', 'lang', 'littlePlanet', 'loadingImg', 'loadingTxt', 'loading_state', 'mousemove', 'mousewheel', 'moveSpeed', 'navbar', 'src', 'width', 'zoomSpeed']
140
+ def __init__(self, id=Component.UNDEFINED, key=Component.UNDEFINED, src=Component.UNDEFINED, width=Component.UNDEFINED, height=Component.UNDEFINED, littlePlanet=Component.UNDEFINED, containerClass=Component.UNDEFINED, navbar=Component.UNDEFINED, caption=Component.UNDEFINED, downloadUrl=Component.UNDEFINED, loadingImg=Component.UNDEFINED, loadingTxt=Component.UNDEFINED, mousewheel=Component.UNDEFINED, mousemove=Component.UNDEFINED, moveSpeed=Component.UNDEFINED, zoomSpeed=Component.UNDEFINED, fisheye=Component.UNDEFINED, lang=Component.UNDEFINED, hideNavbarButton=Component.UNDEFINED, plugins=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
141
+ self._prop_names = ['id', 'caption', 'containerClass', 'downloadUrl', 'fisheye', 'height', 'hideNavbarButton', 'key', 'lang', 'littlePlanet', 'loadingImg', 'loadingTxt', 'loading_state', 'mousemove', 'mousewheel', 'moveSpeed', 'navbar', 'plugins', 'src', 'width', 'zoomSpeed']
116
142
  self._valid_wildcard_attributes = []
117
- self.available_properties = ['id', 'caption', 'containerClass', 'downloadUrl', 'fisheye', 'height', 'key', 'lang', 'littlePlanet', 'loadingImg', 'loadingTxt', 'loading_state', 'mousemove', 'mousewheel', 'moveSpeed', 'navbar', 'src', 'width', 'zoomSpeed']
143
+ self.available_properties = ['id', 'caption', 'containerClass', 'downloadUrl', 'fisheye', 'height', 'hideNavbarButton', 'key', 'lang', 'littlePlanet', 'loadingImg', 'loadingTxt', 'loading_state', 'mousemove', 'mousewheel', 'moveSpeed', 'navbar', 'plugins', 'src', 'width', 'zoomSpeed']
118
144
  self.available_wildcard_properties = []
119
145
  _explicit_args = kwargs.pop('_explicit_args')
120
146
  _locals = locals()
@@ -136,7 +136,7 @@ Keyword arguments:
136
136
  设置编辑区域最小高度.
137
137
 
138
138
  - mode (a value equal to: 'wysiwyg', 'ir', 'sv'; default 'ir'):
139
- 设置模式,可选的有:sv、ir和 wysiwyg,默认为'ir'.
139
+ 设置模式,可选的有:'sv'(分屏预览)'ir'(即时渲染)'wysiwyg'(所见即所得),默认为'ir'(所见即所得).
140
140
 
141
141
  - outline (dict; optional):
142
142
  大纲配置.
@@ -327,7 +327,7 @@ Keyword arguments:
327
327
  - theme (a value equal to: 'classic', 'dark'; default 'classic'):
328
328
  设置编辑器主题,可选的有:'classic'和'dark',默认为'classic'.
329
329
 
330
- - toolbar (list of a value equal to: 'emoji', 'headings', 'bold', 'italic', 'strike', '|', 'line', 'quote', 'list', 'ordered-list', 'check', 'outdent', 'indent', 'code', 'inline-code', 'insert-after', 'insert-before', 'undo', 'redo', 'upload', 'link', 'table', 'record', 'edit-mode', 'both', 'preview', 'fullscreen', 'outline', 'code-theme', 'content-theme', 'export', 'devtools', 'info', 'help', 'br's; optional):
330
+ - toolbar (default [
331
331
  "emoji",
332
332
  "headings",
333
333
  "bold",
334
334
  "italic",
335
335
  "strike",
336
336
  "link",
337
337
  "|",
338
338
  "list",
339
339
  "ordered-list",
340
340
  "check",
341
341
  "outdent",
342
342
  "indent",
343
343
  "|",
344
344
  "quote",
345
345
  "line",
346
346
  "code",
347
347
  "inline-code",
348
348
  "insert-before",
349
349
  "insert-after",
350
350
  "|",
351
351
  "upload",
352
352
  "record",
353
353
  "table",
354
354
  "|",
355
355
  "undo",
356
356
  "redo",
357
357
  "|",
358
358
  "fullscreen",
359
359
  "edit-mode",
360
360
  {
361
361
  name: "more",
362
362
  toolbar: [
363
363
  "both",
364
364
  "code-theme",
365
365
  "content-theme",
366
366
  "export",
367
367
  "outline",
368
368
  "preview"
369
369
  ],
370
370
  },
371
371
  设置工具栏.
372
372
 
373
373
  - toolbarConfig (dict; default {
374
374
  hide: False,
375
375
  pin: False
@@ -61,7 +61,8 @@ async_resources = [
61
61
  'feffery_dom2image',
62
62
  'feffery_slider_captcha',
63
63
  'feffery_vditor',
64
- 'feffery_http_requests'
64
+ 'feffery_http_requests',
65
+ 'feffery_burger'
65
66
  ]
66
67
 
67
68
  _js_dist = []
@@ -30,6 +30,7 @@ from .FefferyMarkdownEditor import FefferyMarkdownEditor
30
30
  from .FefferyRichTextEditor import FefferyRichTextEditor
31
31
  from .FefferyVditor import FefferyVditor
32
32
  from .FefferyAnimatedImage import FefferyAnimatedImage
33
+ from .FefferyBurger import FefferyBurger
33
34
  from .FefferyCaptcha import FefferyCaptcha
34
35
  from .FefferyCompareSlider import FefferyCompareSlider
35
36
  from .FefferyCountDown import FefferyCountDown
@@ -141,6 +142,7 @@ __all__ = [
141
142
  "FefferyRichTextEditor",
142
143
  "FefferyVditor",
143
144
  "FefferyAnimatedImage",
145
+ "FefferyBurger",
144
146
  "FefferyCaptcha",
145
147
  "FefferyCompareSlider",
146
148
  "FefferyCountDown",
@@ -27,6 +27,7 @@ from .FefferyGrid import FefferyGrid as Grid
27
27
  from .FefferyGridItem import FefferyGridItem as GridItem
28
28
  from .FefferyRND import FefferyRND as RND
29
29
  from .FefferyAnimatedImage import FefferyAnimatedImage as AnimatedImage
30
+ from .FefferyBurger import FefferyBurger as Burger
30
31
  from .FefferyCaptcha import FefferyCaptcha as Captcha
31
32
  from .FefferyCompareSlider import FefferyCompareSlider as CompareSlider
32
33
  from .FefferyCountDown import FefferyCountDown as CountDown
@@ -136,6 +137,7 @@ __all__ = [
136
137
  "GridItem",
137
138
  "RND",
138
139
  "AnimatedImage",
140
+ "Burger",
139
141
  "Captcha",
140
142
  "CompareSlider",
141
143
  "CountDown",