feffery_utils_components 0.1.4 → 0.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.
@@ -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"
@@ -3152,75 +3152,95 @@
3152
3152
  "name": "number"
3153
3153
  },
3154
3154
  "required": false,
3155
- "description": ""
3155
+ "description": "",
3156
+ "defaultValue": {
3157
+ "value": "500",
3158
+ "computed": false
3159
+ }
3156
3160
  },
3157
3161
  "smooth": {
3158
3162
  "type": {
3159
- "name": "enum",
3163
+ "name": "union",
3160
3164
  "value": [
3161
3165
  {
3162
- "value": "'linear'",
3163
- "computed": false
3164
- },
3165
- {
3166
- "value": "'easeInQuad'",
3167
- "computed": false
3168
- },
3169
- {
3170
- "value": "'easeOutQuad'",
3171
- "computed": false
3172
- },
3173
- {
3174
- "value": "'easeInOutQuad'",
3175
- "computed": false
3176
- },
3177
- {
3178
- "value": "'easeInCubic'",
3179
- "computed": false
3180
- },
3181
- {
3182
- "value": "'easeOutCubic'",
3183
- "computed": false
3184
- },
3185
- {
3186
- "value": "'easeInOutCubic'",
3187
- "computed": false
3188
- },
3189
- {
3190
- "value": "'easeInQuart'",
3191
- "computed": false
3192
- },
3193
- {
3194
- "value": "'easeOutQuart'",
3195
- "computed": false
3196
- },
3197
- {
3198
- "value": "'easeInOutQuart'",
3199
- "computed": false
3200
- },
3201
- {
3202
- "value": "'easeInQuint'",
3203
- "computed": false
3204
- },
3205
- {
3206
- "value": "'easeOutQuint'",
3207
- "computed": false
3166
+ "name": "bool"
3208
3167
  },
3209
3168
  {
3210
- "value": "'easeInOutQuint'",
3211
- "computed": false
3169
+ "name": "enum",
3170
+ "value": [
3171
+ {
3172
+ "value": "'linear'",
3173
+ "computed": false
3174
+ },
3175
+ {
3176
+ "value": "'easeInQuad'",
3177
+ "computed": false
3178
+ },
3179
+ {
3180
+ "value": "'easeOutQuad'",
3181
+ "computed": false
3182
+ },
3183
+ {
3184
+ "value": "'easeInOutQuad'",
3185
+ "computed": false
3186
+ },
3187
+ {
3188
+ "value": "'easeInCubic'",
3189
+ "computed": false
3190
+ },
3191
+ {
3192
+ "value": "'easeOutCubic'",
3193
+ "computed": false
3194
+ },
3195
+ {
3196
+ "value": "'easeInOutCubic'",
3197
+ "computed": false
3198
+ },
3199
+ {
3200
+ "value": "'easeInQuart'",
3201
+ "computed": false
3202
+ },
3203
+ {
3204
+ "value": "'easeOutQuart'",
3205
+ "computed": false
3206
+ },
3207
+ {
3208
+ "value": "'easeInOutQuart'",
3209
+ "computed": false
3210
+ },
3211
+ {
3212
+ "value": "'easeInQuint'",
3213
+ "computed": false
3214
+ },
3215
+ {
3216
+ "value": "'easeOutQuint'",
3217
+ "computed": false
3218
+ },
3219
+ {
3220
+ "value": "'easeInOutQuint'",
3221
+ "computed": false
3222
+ }
3223
+ ]
3212
3224
  }
3213
3225
  ]
3214
3226
  },
3215
3227
  "required": false,
3216
- "description": ""
3228
+ "description": "",
3229
+ "defaultValue": {
3230
+ "value": "true",
3231
+ "computed": false
3232
+ }
3217
3233
  },
3218
3234
  "delay": {
3219
3235
  "type": {
3220
3236
  "name": "number"
3221
3237
  },
3222
3238
  "required": false,
3223
- "description": ""
3239
+ "description": "",
3240
+ "defaultValue": {
3241
+ "value": "0",
3242
+ "computed": false
3243
+ }
3224
3244
  },
3225
3245
  "containerId": {
3226
3246
  "type": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "feffery_utils_components",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "Build more utility components for Plotly Dash.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -90,7 +90,7 @@ Keyword arguments:
90
90
  _namespace = 'feffery_utils_components'
91
91
  _type = 'FefferyDiv'
92
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):
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, enableClickAway=Component.UNDEFINED, clickAwayCount=Component.UNDEFINED, shadow=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
94
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
95
  self._valid_wildcard_attributes = []
96
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']
@@ -0,0 +1,43 @@
1
+ # AUTO GENERATED FILE - DO NOT EDIT
2
+
3
+ from dash.development.base_component import Component, _explicitize_args
4
+
5
+
6
+ class FefferyLocalStorage(Component):
7
+ """A FefferyLocalStorage 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 = 'FefferyLocalStorage'
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(FefferyLocalStorage, self).__init__(**args)
@@ -0,0 +1,48 @@
1
+ # AUTO GENERATED FILE - DO NOT EDIT
2
+
3
+ from dash.development.base_component import Component, _explicitize_args
4
+
5
+
6
+ class FefferySessionStorage(Component):
7
+ """A FefferySessionStorage component.
8
+
9
+
10
+ Keyword arguments:
11
+
12
+ - id (string; required)
13
+
14
+ - data (boolean | number | string | dict | list; 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 = 'FefferySessionStorage'
32
+ @_explicitize_args
33
+ def __init__(self, id=Component.REQUIRED, data=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
34
+ self._prop_names = ['id', 'data', 'loading_state']
35
+ self._valid_wildcard_attributes = []
36
+ self.available_properties = ['id', 'data', '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
+ for k in ['id']:
44
+ if k not in args:
45
+ raise TypeError(
46
+ 'Required argument `' + k + '` was not specified.')
47
+
48
+ super(FefferySessionStorage, self).__init__(**args)
@@ -44,6 +44,7 @@ from .FefferySortableContainer import FefferySortableContainer
44
44
  from .FefferySortableItem import FefferySortableItem
45
45
  from .FefferySplit import FefferySplit
46
46
  from .FefferySplitPane import FefferySplitPane
47
+ from .FefferySessionStorage import FefferySessionStorage
47
48
 
48
49
  __all__ = [
49
50
  "FefferyBlockColorPicker",
@@ -91,5 +92,6 @@ __all__ = [
91
92
  "FefferySortableContainer",
92
93
  "FefferySortableItem",
93
94
  "FefferySplit",
94
- "FefferySplitPane"
95
+ "FefferySplitPane",
96
+ "FefferySessionStorage"
95
97
  ]