feffery_utils_components 0.1.3 → 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.
- package/DESCRIPTION +1 -1
- package/NAMESPACE +0 -1
- package/Project.toml +1 -1
- package/feffery_utils_components/FefferyDiv.py +1 -1
- package/feffery_utils_components/FefferyScroll.py +3 -3
- package/feffery_utils_components/feffery_utils_components.min.js +6 -6
- package/feffery_utils_components/metadata.json +83 -63
- package/feffery_utils_components/package-info.json +1 -1
- package/package.json +1 -1
- package/src/FefferyUtilsComponents.jl +3 -3
- package/src/jl/''_fefferyscroll.jl +1 -1
- package/src/lib/components/FefferyDiv.react.js +11 -7
- package/src/lib/components/FefferyScroll.react.js +27 -21
- package/build/lib/feffery_utils_components/FefferyBlockColorPicker.py +0 -53
- package/build/lib/feffery_utils_components/FefferyCaptcha.py +0 -59
- package/build/lib/feffery_utils_components/FefferyCircleColorPicker.py +0 -55
- package/build/lib/feffery_utils_components/FefferyCountDown.py +0 -47
- package/build/lib/feffery_utils_components/FefferyCssVar.py +0 -43
- package/build/lib/feffery_utils_components/FefferyDiv.py +0 -103
- package/build/lib/feffery_utils_components/FefferyDocumentVisibility.py +0 -43
- package/build/lib/feffery_utils_components/FefferyExecuteJs.py +0 -43
- package/build/lib/feffery_utils_components/FefferyExternalCss.py +0 -45
- package/build/lib/feffery_utils_components/FefferyExternalJs.py +0 -45
- package/build/lib/feffery_utils_components/FefferyExtraSpinner.py +0 -57
- package/build/lib/feffery_utils_components/FefferyEyeDropper.py +0 -45
- package/build/lib/feffery_utils_components/FefferyFancyMessage.py +0 -67
- package/build/lib/feffery_utils_components/FefferyFancyNotification.py +0 -85
- package/build/lib/feffery_utils_components/FefferyGeolocation.py +0 -43
- package/build/lib/feffery_utils_components/FefferyGithubColorPicker.py +0 -51
- package/build/lib/feffery_utils_components/FefferyGuide.py +0 -110
- package/build/lib/feffery_utils_components/FefferyHexColorPicker.py +0 -49
- package/build/lib/feffery_utils_components/FefferyHighlightWords.py +0 -61
- package/build/lib/feffery_utils_components/FefferyIdle.py +0 -45
- package/build/lib/feffery_utils_components/FefferyInViewport.py +0 -47
- package/build/lib/feffery_utils_components/FefferyKeyPress.py +0 -50
- package/build/lib/feffery_utils_components/FefferyLazyLoad.py +0 -57
- package/build/lib/feffery_utils_components/FefferyLazyLoadImage.py +0 -53
- package/build/lib/feffery_utils_components/FefferyLocation.py +0 -54
- package/build/lib/feffery_utils_components/FefferyQRCode.py +0 -72
- package/build/lib/feffery_utils_components/FefferyRawHTML.py +0 -43
- package/build/lib/feffery_utils_components/FefferyReload.py +0 -45
- package/build/lib/feffery_utils_components/FefferyResponsive.py +0 -43
- package/build/lib/feffery_utils_components/FefferyRgbColorPicker.py +0 -49
- package/build/lib/feffery_utils_components/FefferyScroll.py +0 -61
- package/build/lib/feffery_utils_components/FefferyScrollbars.py +0 -69
- package/build/lib/feffery_utils_components/FefferySetTitle.py +0 -43
- package/build/lib/feffery_utils_components/FefferyShortcutPanel.py +0 -75
- package/build/lib/feffery_utils_components/FefferySortableContainer.py +0 -51
- package/build/lib/feffery_utils_components/FefferySortableItem.py +0 -47
- package/build/lib/feffery_utils_components/FefferySplit.py +0 -63
- package/build/lib/feffery_utils_components/FefferySplitPane.py +0 -47
- package/build/lib/feffery_utils_components/FefferySticky.py +0 -51
- package/build/lib/feffery_utils_components/FefferyStyle.py +0 -43
- package/build/lib/feffery_utils_components/FefferySyntaxHighlighter.py +0 -58
- package/build/lib/feffery_utils_components/FefferyTimeout.py +0 -45
- package/build/lib/feffery_utils_components/FefferyTopProgress.py +0 -67
- package/build/lib/feffery_utils_components/FefferyTwitterColorPicker.py +0 -53
- package/build/lib/feffery_utils_components/FefferyVirtualList.py +0 -56
- package/build/lib/feffery_utils_components/FefferyWheelColorPicker.py +0 -47
- package/build/lib/feffery_utils_components/FefferyWindowSize.py +0 -45
- package/build/lib/feffery_utils_components/__init__.py +0 -89
- package/build/lib/feffery_utils_components/_imports_.py +0 -95
- package/build/lib/feffery_utils_components/feffery_utils_components.min.js +0 -599
- package/build/lib/feffery_utils_components/metadata.json +0 -5141
- 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"
|
|
@@ -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": "
|
|
3163
|
+
"name": "union",
|
|
3160
3164
|
"value": [
|
|
3161
3165
|
{
|
|
3162
|
-
"
|
|
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
|
-
"
|
|
3211
|
-
"
|
|
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": {
|
package/package.json
CHANGED
|
@@ -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.
|
|
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.
|
|
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.
|
|
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
|
|
@@ -23,7 +23,7 @@ Those elements have the following types:
|
|
|
23
23
|
- `scrollRelativeOffset` (Real; optional)
|
|
24
24
|
- `scrollTargetId` (String; optional)
|
|
25
25
|
- `scrollTopOffset` (Real; optional)
|
|
26
|
-
- `smooth` (a value equal to: 'linear', 'easeInQuad', 'easeOutQuad', 'easeInOutQuad', 'easeInCubic', 'easeOutCubic', 'easeInOutCubic', 'easeInQuart', 'easeOutQuart', 'easeInOutQuart', 'easeInQuint', 'easeOutQuint', 'easeInOutQuint'; optional)
|
|
26
|
+
- `smooth` (Bool | a value equal to: 'linear', 'easeInQuad', 'easeOutQuad', 'easeInOutQuad', 'easeInCubic', 'easeOutCubic', 'easeInOutCubic', 'easeInQuart', 'easeOutQuart', 'easeInOutQuart', 'easeInQuint', 'easeOutQuint', 'easeInOutQuint'; optional)
|
|
27
27
|
"""
|
|
28
28
|
function ''_fefferyscroll(; kwargs...)
|
|
29
29
|
available_props = Symbol[:id, :containerId, :delay, :duration, :executeScroll, :loading_state, :offset, :scrollMode, :scrollRelativeOffset, :scrollTargetId, :scrollTopOffset, :smooth]
|
|
@@ -61,16 +61,16 @@ const FefferyDiv = (props) => {
|
|
|
61
61
|
children[replaceChild.index] = replaceChild.element
|
|
62
62
|
setProps({
|
|
63
63
|
children: children,
|
|
64
|
-
replaceChild:
|
|
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:
|
|
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.
|
|
@@ -95,11 +95,11 @@ FefferyScroll.propTypes = {
|
|
|
95
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,
|
|
99
99
|
|
|
100
100
|
// 用于指示是否进行滚动操作,默认为false
|
|
101
101
|
// 在回调中可executeScroll参数Output为true从而触发新一次滚动
|
|
102
|
-
// 每次由executeScroll=true触发的滚动完成后,executeScroll
|
|
102
|
+
// 每次由executeScroll=true触发的滚动完成后,executeScroll会自动重置为false
|
|
103
103
|
executeScroll: PropTypes.bool,
|
|
104
104
|
|
|
105
105
|
// 当scrollMode='top-offset'时,用于设置滚动终点距离页面顶端的像素
|
|
@@ -111,27 +111,30 @@ FefferyScroll.propTypes = {
|
|
|
111
111
|
// 当scrollMode='target'时,用于设置滚动目标元素的id信息
|
|
112
112
|
scrollTargetId: PropTypes.string,
|
|
113
113
|
|
|
114
|
-
//
|
|
114
|
+
// 用于设置滚动过程耗时(单位:毫秒),默认为500
|
|
115
115
|
duration: PropTypes.number,
|
|
116
116
|
|
|
117
|
-
//
|
|
118
|
-
smooth: PropTypes.
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
117
|
+
// 用于设置滚动过程动画模式,默认为true
|
|
118
|
+
smooth: PropTypes.oneOfType([
|
|
119
|
+
PropTypes.bool,
|
|
120
|
+
PropTypes.oneOf([
|
|
121
|
+
'linear',
|
|
122
|
+
'easeInQuad',
|
|
123
|
+
'easeOutQuad',
|
|
124
|
+
'easeInOutQuad',
|
|
125
|
+
'easeInCubic',
|
|
126
|
+
'easeOutCubic',
|
|
127
|
+
'easeInOutCubic',
|
|
128
|
+
'easeInQuart',
|
|
129
|
+
'easeOutQuart',
|
|
130
|
+
'easeInOutQuart',
|
|
131
|
+
'easeInQuint',
|
|
132
|
+
'easeOutQuint',
|
|
133
|
+
'easeInOutQuint'
|
|
134
|
+
])
|
|
132
135
|
]),
|
|
133
136
|
|
|
134
|
-
//
|
|
137
|
+
// 用于设置滚动延时(单位:毫秒),默认为0
|
|
135
138
|
delay: PropTypes.number,
|
|
136
139
|
|
|
137
140
|
// 当滚动目标位于局部滚动条内时,用于设置局部滚动条所在的容器id信息
|
|
@@ -165,7 +168,10 @@ FefferyScroll.propTypes = {
|
|
|
165
168
|
// 设置默认参数
|
|
166
169
|
FefferyScroll.defaultProps = {
|
|
167
170
|
executeScroll: false,
|
|
168
|
-
scrollMode: 'to-top'
|
|
171
|
+
scrollMode: 'to-top',
|
|
172
|
+
duration: 500,
|
|
173
|
+
delay: 0,
|
|
174
|
+
smooth: true
|
|
169
175
|
}
|
|
170
176
|
|
|
171
|
-
export default FefferyScroll;
|
|
177
|
+
export default React.memo(FefferyScroll);
|
|
@@ -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)
|