feffery_utils_components 0.1.4 → 0.1.5

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 (63) hide show
  1. package/DESCRIPTION +1 -1
  2. package/NAMESPACE +0 -1
  3. package/Project.toml +1 -1
  4. package/feffery_utils_components/FefferyDiv.py +1 -1
  5. package/feffery_utils_components/feffery_utils_components.min.js +6 -6
  6. package/feffery_utils_components/metadata.json +11 -11
  7. package/feffery_utils_components/package-info.json +1 -1
  8. package/package.json +1 -1
  9. package/src/FefferyUtilsComponents.jl +3 -3
  10. package/src/lib/components/FefferyDiv.react.js +11 -7
  11. package/src/lib/components/FefferyScroll.react.js +1 -1
  12. package/build/lib/feffery_utils_components/FefferyBlockColorPicker.py +0 -53
  13. package/build/lib/feffery_utils_components/FefferyCaptcha.py +0 -59
  14. package/build/lib/feffery_utils_components/FefferyCircleColorPicker.py +0 -55
  15. package/build/lib/feffery_utils_components/FefferyCountDown.py +0 -47
  16. package/build/lib/feffery_utils_components/FefferyCssVar.py +0 -43
  17. package/build/lib/feffery_utils_components/FefferyDiv.py +0 -103
  18. package/build/lib/feffery_utils_components/FefferyDocumentVisibility.py +0 -43
  19. package/build/lib/feffery_utils_components/FefferyExecuteJs.py +0 -43
  20. package/build/lib/feffery_utils_components/FefferyExternalCss.py +0 -45
  21. package/build/lib/feffery_utils_components/FefferyExternalJs.py +0 -45
  22. package/build/lib/feffery_utils_components/FefferyExtraSpinner.py +0 -57
  23. package/build/lib/feffery_utils_components/FefferyEyeDropper.py +0 -45
  24. package/build/lib/feffery_utils_components/FefferyFancyMessage.py +0 -67
  25. package/build/lib/feffery_utils_components/FefferyFancyNotification.py +0 -85
  26. package/build/lib/feffery_utils_components/FefferyGeolocation.py +0 -43
  27. package/build/lib/feffery_utils_components/FefferyGithubColorPicker.py +0 -51
  28. package/build/lib/feffery_utils_components/FefferyGuide.py +0 -110
  29. package/build/lib/feffery_utils_components/FefferyHexColorPicker.py +0 -49
  30. package/build/lib/feffery_utils_components/FefferyHighlightWords.py +0 -61
  31. package/build/lib/feffery_utils_components/FefferyIdle.py +0 -45
  32. package/build/lib/feffery_utils_components/FefferyInViewport.py +0 -47
  33. package/build/lib/feffery_utils_components/FefferyKeyPress.py +0 -50
  34. package/build/lib/feffery_utils_components/FefferyLazyLoad.py +0 -57
  35. package/build/lib/feffery_utils_components/FefferyLazyLoadImage.py +0 -53
  36. package/build/lib/feffery_utils_components/FefferyLocation.py +0 -54
  37. package/build/lib/feffery_utils_components/FefferyQRCode.py +0 -72
  38. package/build/lib/feffery_utils_components/FefferyRawHTML.py +0 -43
  39. package/build/lib/feffery_utils_components/FefferyReload.py +0 -45
  40. package/build/lib/feffery_utils_components/FefferyResponsive.py +0 -43
  41. package/build/lib/feffery_utils_components/FefferyRgbColorPicker.py +0 -49
  42. package/build/lib/feffery_utils_components/FefferyScroll.py +0 -61
  43. package/build/lib/feffery_utils_components/FefferyScrollbars.py +0 -69
  44. package/build/lib/feffery_utils_components/FefferySetTitle.py +0 -43
  45. package/build/lib/feffery_utils_components/FefferyShortcutPanel.py +0 -75
  46. package/build/lib/feffery_utils_components/FefferySortableContainer.py +0 -51
  47. package/build/lib/feffery_utils_components/FefferySortableItem.py +0 -47
  48. package/build/lib/feffery_utils_components/FefferySplit.py +0 -63
  49. package/build/lib/feffery_utils_components/FefferySplitPane.py +0 -47
  50. package/build/lib/feffery_utils_components/FefferySticky.py +0 -51
  51. package/build/lib/feffery_utils_components/FefferyStyle.py +0 -43
  52. package/build/lib/feffery_utils_components/FefferySyntaxHighlighter.py +0 -58
  53. package/build/lib/feffery_utils_components/FefferyTimeout.py +0 -45
  54. package/build/lib/feffery_utils_components/FefferyTopProgress.py +0 -67
  55. package/build/lib/feffery_utils_components/FefferyTwitterColorPicker.py +0 -53
  56. package/build/lib/feffery_utils_components/FefferyVirtualList.py +0 -56
  57. package/build/lib/feffery_utils_components/FefferyWheelColorPicker.py +0 -47
  58. package/build/lib/feffery_utils_components/FefferyWindowSize.py +0 -45
  59. package/build/lib/feffery_utils_components/__init__.py +0 -89
  60. package/build/lib/feffery_utils_components/_imports_.py +0 -95
  61. package/build/lib/feffery_utils_components/feffery_utils_components.min.js +0 -599
  62. package/build/lib/feffery_utils_components/metadata.json +0 -5141
  63. package/build/lib/feffery_utils_components/package-info.json +0 -104
@@ -1125,6 +1125,17 @@
1125
1125
  "required": false,
1126
1126
  "description": ""
1127
1127
  },
1128
+ "enableClickAway": {
1129
+ "type": {
1130
+ "name": "bool"
1131
+ },
1132
+ "required": false,
1133
+ "description": "",
1134
+ "defaultValue": {
1135
+ "value": "false",
1136
+ "computed": false
1137
+ }
1138
+ },
1128
1139
  "clickAwayCount": {
1129
1140
  "type": {
1130
1141
  "name": "number"
@@ -1161,17 +1172,6 @@
1161
1172
  "computed": false
1162
1173
  }
1163
1174
  },
1164
- "enableClickAway": {
1165
- "type": {
1166
- "name": "bool"
1167
- },
1168
- "required": false,
1169
- "description": "",
1170
- "defaultValue": {
1171
- "value": "false",
1172
- "computed": false
1173
- }
1174
- },
1175
1175
  "setProps": {
1176
1176
  "type": {
1177
1177
  "name": "func"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "feffery_utils_components",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "Build more utility components for Plotly Dash.",
5
5
  "repository": {
6
6
  "type": "git",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "feffery_utils_components",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "Build more utility components for Plotly Dash.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -3,7 +3,7 @@ module FefferyUtilsComponents
3
3
  using Dash
4
4
 
5
5
  const resources_path = realpath(joinpath( @__DIR__, "..", "deps"))
6
- const version = "0.1.4"
6
+ const version = "0.1.5"
7
7
 
8
8
  include("jl/''_fefferyblockcolorpicker.jl")
9
9
  include("jl/''_fefferycirclecolorpicker.jl")
@@ -61,14 +61,14 @@ function __init__()
61
61
  [
62
62
  DashBase.Resource(
63
63
  relative_package_path = "feffery_utils_components.min.js",
64
- external_url = "https://unpkg.com/feffery_utils_components@0.1.4/feffery_utils_components/feffery_utils_components.min.js",
64
+ external_url = "https://unpkg.com/feffery_utils_components@0.1.5/feffery_utils_components/feffery_utils_components.min.js",
65
65
  dynamic = nothing,
66
66
  async = nothing,
67
67
  type = :js
68
68
  ),
69
69
  DashBase.Resource(
70
70
  relative_package_path = "feffery_utils_components.min.js.map",
71
- external_url = "https://unpkg.com/feffery_utils_components@0.1.4/feffery_utils_components/feffery_utils_components.min.js.map",
71
+ external_url = "https://unpkg.com/feffery_utils_components@0.1.5/feffery_utils_components/feffery_utils_components.min.js.map",
72
72
  dynamic = true,
73
73
  async = nothing,
74
74
  type = :js
@@ -61,16 +61,16 @@ const FefferyDiv = (props) => {
61
61
  children[replaceChild.index] = replaceChild.element
62
62
  setProps({
63
63
  children: children,
64
- replaceChild: undefined // 重置
64
+ replaceChild: null // 重置
65
65
  })
66
66
  }
67
67
  }, [replaceChild])
68
68
 
69
69
  useEffect(() => {
70
- if (children && deleteChildIndex) {
70
+ if (children && (deleteChildIndex || deleteChildIndex === 0)) {
71
71
  setProps({
72
72
  children: children.filter((_, i) => i !== deleteChildIndex),
73
- deleteChildIndex: undefined // 重置
73
+ deleteChildIndex: null // 重置
74
74
  })
75
75
  }
76
76
  }, [deleteChildIndex])
@@ -137,6 +137,10 @@ const FefferyDiv = (props) => {
137
137
  contextMenuEvent: {
138
138
  pageX: e.pageX,
139
139
  pageY: e.pageY,
140
+ clientX: e.clientX,
141
+ clientY: e.clientY,
142
+ screenX: e.screenX,
143
+ screenY: e.screenY,
140
144
  timestamp: Date.now()
141
145
  }
142
146
  })
@@ -228,6 +232,10 @@ FefferyDiv.propTypes = {
228
232
  // 监听当前元素是否被鼠标悬浮
229
233
  isHovering: PropTypes.bool,
230
234
 
235
+ // 设置是否启用元素外点击事件监听,当页面中有大量FefferyDiv元素时,建议不要开启此特性,会导致明显的性能问题
236
+ // 默认为false
237
+ enableClickAway: PropTypes.bool,
238
+
231
239
  // 监听元素外点击事件发生次数,默认为0
232
240
  clickAwayCount: PropTypes.number,
233
241
 
@@ -235,10 +243,6 @@ FefferyDiv.propTypes = {
235
243
  // 默认为'no-shadow'
236
244
  shadow: PropTypes.oneOf(['no-shadow', 'hover-shadow', 'always-shadow']),
237
245
 
238
- // 设置是否启用元素外点击事件监听,当页面中有大量FefferyDiv元素时,建议不要开启此特性,会导致明显的性能问题
239
- // 默认为false
240
- enableClickAway: PropTypes.bool,
241
-
242
246
  /**
243
247
  * Dash-assigned callback that should be called to report property changes
244
248
  * to Dash, to make them available for callbacks.
@@ -92,7 +92,7 @@ FefferyScroll.propTypes = {
92
92
  // 部件id
93
93
  id: PropTypes.string,
94
94
 
95
- // 设置页面滚动模式,可选的有'to-top'、'to-bottom'、'top-offset'、'relative-offset'、'target'
95
+ // 设置页面滚动模式,可选的有'top'、'bottom'、'top-offset'、'relative-offset'、'target'
96
96
  scrollMode: PropTypes.oneOf([
97
97
  'to-top', 'to-bottom', 'top-offset', 'relative-offset', 'target'
98
98
  ]).isRequired,
@@ -1,53 +0,0 @@
1
- # AUTO GENERATED FILE - DO NOT EDIT
2
-
3
- from dash.development.base_component import Component, _explicitize_args
4
-
5
-
6
- class FefferyBlockColorPicker(Component):
7
- """A FefferyBlockColorPicker component.
8
-
9
-
10
- Keyword arguments:
11
-
12
- - id (string; optional)
13
-
14
- - className (string; optional)
15
-
16
- - color (string; optional)
17
-
18
- - colors (list of strings; default ['#D9E3F0', '#F47373', '#697689', '#37D67A', '#2CCCE4', '#555555', '#dce775', '#ff8a65', '#ba68c8'])
19
-
20
- - loading_state (dict; optional)
21
-
22
- `loading_state` is a dict with keys:
23
-
24
- - component_name (string; optional):
25
- Holds the name of the component that is loading.
26
-
27
- - is_loading (boolean; optional):
28
- Determines if the component is loading or not.
29
-
30
- - prop_name (string; optional):
31
- Holds which property is loading.
32
-
33
- - style (dict; optional)
34
-
35
- - triangle (a value equal to: 'hide', 'top'; default 'top')
36
-
37
- - width (string; default '170px')"""
38
- _children_props = []
39
- _base_nodes = ['children']
40
- _namespace = 'feffery_utils_components'
41
- _type = 'FefferyBlockColorPicker'
42
- @_explicitize_args
43
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, width=Component.UNDEFINED, color=Component.UNDEFINED, colors=Component.UNDEFINED, triangle=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
44
- self._prop_names = ['id', 'className', 'color', 'colors', 'loading_state', 'style', 'triangle', 'width']
45
- self._valid_wildcard_attributes = []
46
- self.available_properties = ['id', 'className', 'color', 'colors', 'loading_state', 'style', 'triangle', 'width']
47
- self.available_wildcard_properties = []
48
- _explicit_args = kwargs.pop('_explicit_args')
49
- _locals = locals()
50
- _locals.update(kwargs) # For wildcard attrs and excess named props
51
- args = {k: _locals[k] for k in _explicit_args}
52
-
53
- super(FefferyBlockColorPicker, self).__init__(**args)
@@ -1,59 +0,0 @@
1
- # AUTO GENERATED FILE - DO NOT EDIT
2
-
3
- from dash.development.base_component import Component, _explicitize_args
4
-
5
-
6
- class FefferyCaptcha(Component):
7
- """A FefferyCaptcha component.
8
-
9
-
10
- Keyword arguments:
11
-
12
- - id (string; optional)
13
-
14
- - bgColor (string; optional)
15
-
16
- - captcha (string; optional)
17
-
18
- - charNum (number; default 4)
19
-
20
- - className (string; optional)
21
-
22
- - fontSize (number; optional)
23
-
24
- - height (number; optional)
25
-
26
- - loading_state (dict; optional)
27
-
28
- `loading_state` is a dict with keys:
29
-
30
- - component_name (string; optional):
31
- Holds the name of the component that is loading.
32
-
33
- - is_loading (boolean; optional):
34
- Determines if the component is loading or not.
35
-
36
- - prop_name (string; optional):
37
- Holds which property is loading.
38
-
39
- - refresh (boolean; optional)
40
-
41
- - style (dict; optional)
42
-
43
- - width (number; optional)"""
44
- _children_props = []
45
- _base_nodes = ['children']
46
- _namespace = 'feffery_utils_components'
47
- _type = 'FefferyCaptcha'
48
- @_explicitize_args
49
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, captcha=Component.UNDEFINED, charNum=Component.UNDEFINED, height=Component.UNDEFINED, width=Component.UNDEFINED, bgColor=Component.UNDEFINED, fontSize=Component.UNDEFINED, refresh=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
50
- self._prop_names = ['id', 'bgColor', 'captcha', 'charNum', 'className', 'fontSize', 'height', 'loading_state', 'refresh', 'style', 'width']
51
- self._valid_wildcard_attributes = []
52
- self.available_properties = ['id', 'bgColor', 'captcha', 'charNum', 'className', 'fontSize', 'height', 'loading_state', 'refresh', 'style', 'width']
53
- self.available_wildcard_properties = []
54
- _explicit_args = kwargs.pop('_explicit_args')
55
- _locals = locals()
56
- _locals.update(kwargs) # For wildcard attrs and excess named props
57
- args = {k: _locals[k] for k in _explicit_args}
58
-
59
- super(FefferyCaptcha, self).__init__(**args)
@@ -1,55 +0,0 @@
1
- # AUTO GENERATED FILE - DO NOT EDIT
2
-
3
- from dash.development.base_component import Component, _explicitize_args
4
-
5
-
6
- class FefferyCircleColorPicker(Component):
7
- """A FefferyCircleColorPicker component.
8
-
9
-
10
- Keyword arguments:
11
-
12
- - id (string; optional)
13
-
14
- - circleSize (number; default 28)
15
-
16
- - circleSpacing (number; default 14)
17
-
18
- - className (string; optional)
19
-
20
- - color (string; optional)
21
-
22
- - colors (list of strings; default ["#f44336", "#e91e63", "#9c27b0", "#673ab7", "#3f51b5", "#2196f3", "#03a9f4", "#00bcd4", "#009688", "#4caf50", "#8bc34a", "#cddc39", "#ffeb3b", "#ffc107", "#ff9800", "#ff5722", "#795548", "#607d8b"])
23
-
24
- - loading_state (dict; optional)
25
-
26
- `loading_state` is a dict with keys:
27
-
28
- - component_name (string; optional):
29
- Holds the name of the component that is loading.
30
-
31
- - is_loading (boolean; optional):
32
- Determines if the component is loading or not.
33
-
34
- - prop_name (string; optional):
35
- Holds which property is loading.
36
-
37
- - style (dict; optional)
38
-
39
- - width (string; default '252px')"""
40
- _children_props = []
41
- _base_nodes = ['children']
42
- _namespace = 'feffery_utils_components'
43
- _type = 'FefferyCircleColorPicker'
44
- @_explicitize_args
45
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, width=Component.UNDEFINED, circleSize=Component.UNDEFINED, circleSpacing=Component.UNDEFINED, color=Component.UNDEFINED, colors=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
46
- self._prop_names = ['id', 'circleSize', 'circleSpacing', 'className', 'color', 'colors', 'loading_state', 'style', 'width']
47
- self._valid_wildcard_attributes = []
48
- self.available_properties = ['id', 'circleSize', 'circleSpacing', 'className', 'color', 'colors', 'loading_state', 'style', 'width']
49
- self.available_wildcard_properties = []
50
- _explicit_args = kwargs.pop('_explicit_args')
51
- _locals = locals()
52
- _locals.update(kwargs) # For wildcard attrs and excess named props
53
- args = {k: _locals[k] for k in _explicit_args}
54
-
55
- super(FefferyCircleColorPicker, self).__init__(**args)
@@ -1,47 +0,0 @@
1
- # AUTO GENERATED FILE - DO NOT EDIT
2
-
3
- from dash.development.base_component import Component, _explicitize_args
4
-
5
-
6
- class FefferyCountDown(Component):
7
- """A FefferyCountDown component.
8
-
9
-
10
- Keyword arguments:
11
-
12
- - id (string; optional)
13
-
14
- - countdown (number; optional)
15
-
16
- - delay (number; optional)
17
-
18
- - interval (number; default 1)
19
-
20
- - loading_state (dict; optional)
21
-
22
- `loading_state` is a dict with keys:
23
-
24
- - component_name (string; optional):
25
- Holds the name of the component that is loading.
26
-
27
- - is_loading (boolean; optional):
28
- Determines if the component is loading or not.
29
-
30
- - prop_name (string; optional):
31
- Holds which property is loading."""
32
- _children_props = []
33
- _base_nodes = ['children']
34
- _namespace = 'feffery_utils_components'
35
- _type = 'FefferyCountDown'
36
- @_explicitize_args
37
- def __init__(self, id=Component.UNDEFINED, delay=Component.UNDEFINED, interval=Component.UNDEFINED, countdown=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
38
- self._prop_names = ['id', 'countdown', 'delay', 'interval', 'loading_state']
39
- self._valid_wildcard_attributes = []
40
- self.available_properties = ['id', 'countdown', 'delay', 'interval', 'loading_state']
41
- self.available_wildcard_properties = []
42
- _explicit_args = kwargs.pop('_explicit_args')
43
- _locals = locals()
44
- _locals.update(kwargs) # For wildcard attrs and excess named props
45
- args = {k: _locals[k] for k in _explicit_args}
46
-
47
- super(FefferyCountDown, self).__init__(**args)
@@ -1,43 +0,0 @@
1
- # AUTO GENERATED FILE - DO NOT EDIT
2
-
3
- from dash.development.base_component import Component, _explicitize_args
4
-
5
-
6
- class FefferyCssVar(Component):
7
- """A FefferyCssVar component.
8
-
9
-
10
- Keyword arguments:
11
-
12
- - id (string; optional)
13
-
14
- - cssVars (dict; optional)
15
-
16
- - loading_state (dict; optional)
17
-
18
- `loading_state` is a dict with keys:
19
-
20
- - component_name (string; optional):
21
- Holds the name of the component that is loading.
22
-
23
- - is_loading (boolean; optional):
24
- Determines if the component is loading or not.
25
-
26
- - prop_name (string; optional):
27
- Holds which property is loading."""
28
- _children_props = []
29
- _base_nodes = ['children']
30
- _namespace = 'feffery_utils_components'
31
- _type = 'FefferyCssVar'
32
- @_explicitize_args
33
- def __init__(self, id=Component.UNDEFINED, cssVars=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
34
- self._prop_names = ['id', 'cssVars', 'loading_state']
35
- self._valid_wildcard_attributes = []
36
- self.available_properties = ['id', 'cssVars', 'loading_state']
37
- self.available_wildcard_properties = []
38
- _explicit_args = kwargs.pop('_explicit_args')
39
- _locals = locals()
40
- _locals.update(kwargs) # For wildcard attrs and excess named props
41
- args = {k: _locals[k] for k in _explicit_args}
42
-
43
- super(FefferyCssVar, self).__init__(**args)
@@ -1,103 +0,0 @@
1
- # AUTO GENERATED FILE - DO NOT EDIT
2
-
3
- from dash.development.base_component import Component, _explicitize_args
4
-
5
-
6
- class FefferyDiv(Component):
7
- """A FefferyDiv component.
8
-
9
-
10
- Keyword arguments:
11
-
12
- - children (a list of or a singular dash component, string or number; optional)
13
-
14
- - id (string; optional)
15
-
16
- - _height (number; optional)
17
-
18
- - _width (number; optional)
19
-
20
- - appendChild (a list of or a singular dash component, string or number; optional)
21
-
22
- - className (string | dict; optional)
23
-
24
- - clickAwayCount (number; default 0)
25
-
26
- - contextMenuEvent (dict; optional)
27
-
28
- `contextMenuEvent` is a dict with keys:
29
-
30
- - pageX (number; optional)
31
-
32
- - pageY (number; optional)
33
-
34
- - timestamp (number; optional)
35
-
36
- - debounceWait (number; default 150)
37
-
38
- - deleteChildIndex (number; optional)
39
-
40
- - enableClickAway (boolean; default False)
41
-
42
- - enableListenContextMenu (boolean; default False)
43
-
44
- - insertChild (dict; optional)
45
-
46
- `insertChild` is a dict with keys:
47
-
48
- - element (a list of or a singular dash component, string or number; optional)
49
-
50
- - index (number; optional)
51
-
52
- - isHovering (boolean; optional)
53
-
54
- - key (string; optional)
55
-
56
- - loading_state (dict; optional)
57
-
58
- `loading_state` is a dict with keys:
59
-
60
- - component_name (string; optional):
61
- Holds the name of the component that is loading.
62
-
63
- - is_loading (boolean; optional):
64
- Determines if the component is loading or not.
65
-
66
- - prop_name (string; optional):
67
- Holds which property is loading.
68
-
69
- - mouseEnterCount (number; default 0)
70
-
71
- - mouseLeaveCount (number; default 0)
72
-
73
- - nClicks (number; default 0)
74
-
75
- - nDoubleClicks (number; default 0)
76
-
77
- - replaceChild (dict; optional)
78
-
79
- `replaceChild` is a dict with keys:
80
-
81
- - element (a list of or a singular dash component, string or number; optional)
82
-
83
- - index (number; optional)
84
-
85
- - shadow (a value equal to: 'no-shadow', 'hover-shadow', 'always-shadow'; default 'no-shadow')
86
-
87
- - style (dict; optional)"""
88
- _children_props = ['appendChild', 'insertChild.element', 'replaceChild.element']
89
- _base_nodes = ['appendChild', 'children']
90
- _namespace = 'feffery_utils_components'
91
- _type = 'FefferyDiv'
92
- @_explicitize_args
93
- def __init__(self, children=None, id=Component.UNDEFINED, key=Component.UNDEFINED, appendChild=Component.UNDEFINED, insertChild=Component.UNDEFINED, replaceChild=Component.UNDEFINED, deleteChildIndex=Component.UNDEFINED, style=Component.UNDEFINED, className=Component.UNDEFINED, _width=Component.UNDEFINED, _height=Component.UNDEFINED, debounceWait=Component.UNDEFINED, mouseEnterCount=Component.UNDEFINED, mouseLeaveCount=Component.UNDEFINED, nClicks=Component.UNDEFINED, nDoubleClicks=Component.UNDEFINED, enableListenContextMenu=Component.UNDEFINED, contextMenuEvent=Component.UNDEFINED, isHovering=Component.UNDEFINED, clickAwayCount=Component.UNDEFINED, shadow=Component.UNDEFINED, enableClickAway=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
94
- self._prop_names = ['children', 'id', '_height', '_width', 'appendChild', 'className', 'clickAwayCount', 'contextMenuEvent', 'debounceWait', 'deleteChildIndex', 'enableClickAway', 'enableListenContextMenu', 'insertChild', 'isHovering', 'key', 'loading_state', 'mouseEnterCount', 'mouseLeaveCount', 'nClicks', 'nDoubleClicks', 'replaceChild', 'shadow', 'style']
95
- self._valid_wildcard_attributes = []
96
- self.available_properties = ['children', 'id', '_height', '_width', 'appendChild', 'className', 'clickAwayCount', 'contextMenuEvent', 'debounceWait', 'deleteChildIndex', 'enableClickAway', 'enableListenContextMenu', 'insertChild', 'isHovering', 'key', 'loading_state', 'mouseEnterCount', 'mouseLeaveCount', 'nClicks', 'nDoubleClicks', 'replaceChild', 'shadow', 'style']
97
- self.available_wildcard_properties = []
98
- _explicit_args = kwargs.pop('_explicit_args')
99
- _locals = locals()
100
- _locals.update(kwargs) # For wildcard attrs and excess named props
101
- args = {k: _locals[k] for k in _explicit_args if k != 'children'}
102
-
103
- super(FefferyDiv, self).__init__(children=children, **args)
@@ -1,43 +0,0 @@
1
- # AUTO GENERATED FILE - DO NOT EDIT
2
-
3
- from dash.development.base_component import Component, _explicitize_args
4
-
5
-
6
- class FefferyDocumentVisibility(Component):
7
- """A FefferyDocumentVisibility component.
8
-
9
-
10
- Keyword arguments:
11
-
12
- - id (string; optional)
13
-
14
- - documentVisibility (a value equal to: 'visible', 'hidden'; optional)
15
-
16
- - loading_state (dict; optional)
17
-
18
- `loading_state` is a dict with keys:
19
-
20
- - component_name (string; optional):
21
- Holds the name of the component that is loading.
22
-
23
- - is_loading (boolean; optional):
24
- Determines if the component is loading or not.
25
-
26
- - prop_name (string; optional):
27
- Holds which property is loading."""
28
- _children_props = []
29
- _base_nodes = ['children']
30
- _namespace = 'feffery_utils_components'
31
- _type = 'FefferyDocumentVisibility'
32
- @_explicitize_args
33
- def __init__(self, id=Component.UNDEFINED, documentVisibility=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
34
- self._prop_names = ['id', 'documentVisibility', 'loading_state']
35
- self._valid_wildcard_attributes = []
36
- self.available_properties = ['id', 'documentVisibility', 'loading_state']
37
- self.available_wildcard_properties = []
38
- _explicit_args = kwargs.pop('_explicit_args')
39
- _locals = locals()
40
- _locals.update(kwargs) # For wildcard attrs and excess named props
41
- args = {k: _locals[k] for k in _explicit_args}
42
-
43
- super(FefferyDocumentVisibility, self).__init__(**args)
@@ -1,43 +0,0 @@
1
- # AUTO GENERATED FILE - DO NOT EDIT
2
-
3
- from dash.development.base_component import Component, _explicitize_args
4
-
5
-
6
- class FefferyExecuteJs(Component):
7
- """A FefferyExecuteJs component.
8
-
9
-
10
- Keyword arguments:
11
-
12
- - id (string; optional)
13
-
14
- - jsString (string; optional)
15
-
16
- - loading_state (dict; optional)
17
-
18
- `loading_state` is a dict with keys:
19
-
20
- - component_name (string; optional):
21
- Holds the name of the component that is loading.
22
-
23
- - is_loading (boolean; optional):
24
- Determines if the component is loading or not.
25
-
26
- - prop_name (string; optional):
27
- Holds which property is loading."""
28
- _children_props = []
29
- _base_nodes = ['children']
30
- _namespace = 'feffery_utils_components'
31
- _type = 'FefferyExecuteJs'
32
- @_explicitize_args
33
- def __init__(self, id=Component.UNDEFINED, jsString=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
34
- self._prop_names = ['id', 'jsString', 'loading_state']
35
- self._valid_wildcard_attributes = []
36
- self.available_properties = ['id', 'jsString', 'loading_state']
37
- self.available_wildcard_properties = []
38
- _explicit_args = kwargs.pop('_explicit_args')
39
- _locals = locals()
40
- _locals.update(kwargs) # For wildcard attrs and excess named props
41
- args = {k: _locals[k] for k in _explicit_args}
42
-
43
- super(FefferyExecuteJs, self).__init__(**args)
@@ -1,45 +0,0 @@
1
- # AUTO GENERATED FILE - DO NOT EDIT
2
-
3
- from dash.development.base_component import Component, _explicitize_args
4
-
5
-
6
- class FefferyExternalCss(Component):
7
- """A FefferyExternalCss component.
8
-
9
-
10
- Keyword arguments:
11
-
12
- - id (string; optional)
13
-
14
- - cssUrl (string; default '')
15
-
16
- - loading_state (dict; optional)
17
-
18
- `loading_state` is a dict with keys:
19
-
20
- - component_name (string; optional):
21
- Holds the name of the component that is loading.
22
-
23
- - is_loading (boolean; optional):
24
- Determines if the component is loading or not.
25
-
26
- - prop_name (string; optional):
27
- Holds which property is loading.
28
-
29
- - recentlyStatus (a value equal to: 'unset', 'loading', 'ready', 'error'; optional)"""
30
- _children_props = []
31
- _base_nodes = ['children']
32
- _namespace = 'feffery_utils_components'
33
- _type = 'FefferyExternalCss'
34
- @_explicitize_args
35
- def __init__(self, id=Component.UNDEFINED, cssUrl=Component.UNDEFINED, recentlyStatus=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
36
- self._prop_names = ['id', 'cssUrl', 'loading_state', 'recentlyStatus']
37
- self._valid_wildcard_attributes = []
38
- self.available_properties = ['id', 'cssUrl', 'loading_state', 'recentlyStatus']
39
- self.available_wildcard_properties = []
40
- _explicit_args = kwargs.pop('_explicit_args')
41
- _locals = locals()
42
- _locals.update(kwargs) # For wildcard attrs and excess named props
43
- args = {k: _locals[k] for k in _explicit_args}
44
-
45
- super(FefferyExternalCss, self).__init__(**args)