feffery_utils_components 0.0.6 → 0.0.9
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 +8 -0
- package/Project.toml +2 -2
- package/build/lib/feffery_utils_components/FefferyDashboard.py +39 -0
- package/build/lib/feffery_utils_components/FefferyGuide.py +69 -0
- package/build/lib/feffery_utils_components/FefferyResizable.py +39 -0
- package/build/lib/feffery_utils_components/FefferyShortcutPanel.py +51 -0
- package/build/lib/feffery_utils_components/FefferySplit.py +59 -0
- package/build/lib/feffery_utils_components/FefferySplitPane.py +48 -0
- package/build/lib/feffery_utils_components/_imports_.py +9 -1
- package/build/lib/feffery_utils_components/feffery_utils_components.min.js +404 -1
- package/build/lib/feffery_utils_components/metadata.json +475 -0
- package/build/lib/feffery_utils_components/package-info.json +7 -2
- package/feffery_utils_components/FefferyDashboard.py +39 -0
- package/feffery_utils_components/FefferyExecuteJs.py +33 -0
- package/feffery_utils_components/FefferyGuide.py +69 -0
- package/feffery_utils_components/FefferyResizable.py +39 -0
- package/feffery_utils_components/FefferyShortcutPanel.py +51 -0
- package/feffery_utils_components/FefferySplit.py +59 -0
- package/feffery_utils_components/FefferySplitPane.py +48 -0
- package/feffery_utils_components/_imports_.py +11 -1
- package/feffery_utils_components/feffery_utils_components.min.js +404 -1
- package/feffery_utils_components/metadata.json +506 -0
- package/feffery_utils_components/package-info.json +7 -2
- package/package.json +7 -2
- package/src/FefferyUtilsComponents.jl +8 -3
- package/src/jl/''_fefferydashboard.jl +23 -0
- package/src/jl/''_fefferyexecutejs.jl +20 -0
- package/src/jl/''_fefferyguide.jl +38 -0
- package/src/jl/''_fefferykeyboardshortcut.jl +36 -0
- package/src/jl/''_fefferyresizable.jl +23 -0
- package/src/jl/''_fefferyshortcutpanel.jl +29 -0
- package/src/jl/''_fefferysplit.jl +39 -0
- package/src/jl/''_fefferysplitpane.jl +32 -0
- package/src/lib/components/FefferyExecuteJs.react.js +47 -0
- package/src/lib/components/FefferyGuide.react.js +174 -0
- package/src/lib/components/FefferyShortcutPanel.react.js +277 -0
- package/src/lib/components/split/FefferySplit.react.js +199 -0
- package/src/lib/components/split/FefferySplitPane.react.js +75 -0
- package/src/lib/components/styles.css +70 -3
- package/src/lib/index.js +11 -1
- package/usage.py +145 -2
- package/webpack.config.js +2 -0
- package/feffery_utils_components/feffery_utils_components.min.js.LICENSE.txt +0 -35
|
@@ -98,6 +98,181 @@
|
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
},
|
|
101
|
+
"src/lib/components/FefferyGuide.react.js": {
|
|
102
|
+
"description": "",
|
|
103
|
+
"displayName": "FefferyGuide",
|
|
104
|
+
"methods": [],
|
|
105
|
+
"props": {
|
|
106
|
+
"id": {
|
|
107
|
+
"type": {
|
|
108
|
+
"name": "custom",
|
|
109
|
+
"raw": "PropTypes.string"
|
|
110
|
+
},
|
|
111
|
+
"required": false,
|
|
112
|
+
"description": ""
|
|
113
|
+
},
|
|
114
|
+
"className": {
|
|
115
|
+
"type": {
|
|
116
|
+
"name": "custom",
|
|
117
|
+
"raw": "PropTypes.string"
|
|
118
|
+
},
|
|
119
|
+
"required": false,
|
|
120
|
+
"description": ""
|
|
121
|
+
},
|
|
122
|
+
"style": {
|
|
123
|
+
"type": {
|
|
124
|
+
"name": "custom",
|
|
125
|
+
"raw": "PropTypes.object"
|
|
126
|
+
},
|
|
127
|
+
"required": false,
|
|
128
|
+
"description": ""
|
|
129
|
+
},
|
|
130
|
+
"locale": {
|
|
131
|
+
"type": {
|
|
132
|
+
"name": "custom",
|
|
133
|
+
"raw": "PropTypes.oneOf(['zh', 'en'])"
|
|
134
|
+
},
|
|
135
|
+
"required": false,
|
|
136
|
+
"description": "",
|
|
137
|
+
"defaultValue": {
|
|
138
|
+
"value": "'zh'",
|
|
139
|
+
"computed": false
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
"steps": {
|
|
143
|
+
"type": {
|
|
144
|
+
"name": "custom",
|
|
145
|
+
"raw": "PropTypes.arrayOf(\r\n PropTypes.exact({\r\n // \u5bf9\u5e94\u5f53\u524d\u6b65\u9aa4\u951a\u5b9a\u7684\u5143\u7d20\u5bf9\u5e94\u7684css\u9009\u62e9\u5668\r\n selector: PropTypes.string,\r\n\r\n // \u5f53selector\u53c2\u6570\u7f3a\u7701\u65f6\uff0c\u53ef\u7528targetPos\u53c2\u6570\u57fa\u4e8e\u7edd\u5bf9\u4f4d\u7f6e\u8fdb\u884c\u6b65\u9aa4\u951a\u5b9a\r\n targetPos: PropTypes.exact({\r\n // \u8bbe\u7f6e\u8ddd\u79bb\u9876\u90e8\u7684\u50cf\u7d20\u8ddd\u79bb\r\n top: PropTypes.number,\r\n // \u8bbe\u7f6e\u8ddd\u79bb\u5de6\u7aef\u7684\u50cf\u7d20\u8ddd\u79bb\r\n left: PropTypes.number,\r\n // \u8bbe\u7f6e\u951a\u5b9a\u8303\u56f4\u50cf\u7d20\u5bbd\u5ea6\r\n width: PropTypes.number,\r\n // \u8bbe\u7f6e\u951a\u5b9a\u8303\u56f4\u50cf\u7d20\u9ad8\u5ea6\r\n height: PropTypes.number\r\n }),\r\n\r\n // \u8bbe\u7f6e\u5c55\u793a\u9762\u677f\u7684\u6807\u9898\u5185\u5bb9\r\n title: PropTypes.string,\r\n\r\n // \u8bbe\u7f6e\u5c55\u793a\u9762\u677f\u7684\u63cf\u8ff0\u5185\u5bb9\r\n content: PropTypes.string,\r\n\r\n // \u8bbe\u7f6e\u5c55\u793a\u9762\u677f\u76f8\u5bf9\u951a\u70b9\u7684\u65b9\u4f4d\uff0c\u53ef\u9009\u7684\u6709'bottom-left'\u3001'left-bottom'\u3001'bottom'\uff0c\u9ed8\u8ba4\u4e3a'bottom'\r\n placement: PropTypes.oneOf([\r\n 'bottom-left', 'left-bottom', 'bottom'\r\n ]),\r\n\r\n // \u8bbe\u7f6e\u5c55\u793a\u9762\u677f\u7684\u50cf\u7d20\u504f\u79fb\u91cf\r\n offset: PropTypes.exact({\r\n // \u6c34\u5e73\u65b9\u5411\u504f\u79fb\u50cf\u7d20\u8ddd\u79bb\r\n x: PropTypes.number,\r\n // \u7ad6\u76f4\u65b9\u5411\u504f\u79fb\u50cf\u7d20\u8ddd\u79bb\r\n y: PropTypes.number\r\n })\r\n })\r\n).isRequired"
|
|
146
|
+
},
|
|
147
|
+
"required": false,
|
|
148
|
+
"description": ""
|
|
149
|
+
},
|
|
150
|
+
"localKey": {
|
|
151
|
+
"type": {
|
|
152
|
+
"name": "custom",
|
|
153
|
+
"raw": "PropTypes.string.isRequired"
|
|
154
|
+
},
|
|
155
|
+
"required": false,
|
|
156
|
+
"description": ""
|
|
157
|
+
},
|
|
158
|
+
"closable": {
|
|
159
|
+
"type": {
|
|
160
|
+
"name": "custom",
|
|
161
|
+
"raw": "PropTypes.bool"
|
|
162
|
+
},
|
|
163
|
+
"required": false,
|
|
164
|
+
"description": ""
|
|
165
|
+
},
|
|
166
|
+
"modalClassName": {
|
|
167
|
+
"type": {
|
|
168
|
+
"name": "custom",
|
|
169
|
+
"raw": "PropTypes.string"
|
|
170
|
+
},
|
|
171
|
+
"required": false,
|
|
172
|
+
"description": ""
|
|
173
|
+
},
|
|
174
|
+
"maskClassName": {
|
|
175
|
+
"type": {
|
|
176
|
+
"name": "custom",
|
|
177
|
+
"raw": "PropTypes.string"
|
|
178
|
+
},
|
|
179
|
+
"required": false,
|
|
180
|
+
"description": ""
|
|
181
|
+
},
|
|
182
|
+
"mask": {
|
|
183
|
+
"type": {
|
|
184
|
+
"name": "custom",
|
|
185
|
+
"raw": "PropTypes.bool"
|
|
186
|
+
},
|
|
187
|
+
"required": false,
|
|
188
|
+
"description": ""
|
|
189
|
+
},
|
|
190
|
+
"arrow": {
|
|
191
|
+
"type": {
|
|
192
|
+
"name": "custom",
|
|
193
|
+
"raw": "PropTypes.bool"
|
|
194
|
+
},
|
|
195
|
+
"required": false,
|
|
196
|
+
"description": ""
|
|
197
|
+
},
|
|
198
|
+
"hotspot": {
|
|
199
|
+
"type": {
|
|
200
|
+
"name": "custom",
|
|
201
|
+
"raw": "PropTypes.bool"
|
|
202
|
+
},
|
|
203
|
+
"required": false,
|
|
204
|
+
"description": ""
|
|
205
|
+
},
|
|
206
|
+
"stepText": {
|
|
207
|
+
"type": {
|
|
208
|
+
"name": "custom",
|
|
209
|
+
"raw": "PropTypes.string"
|
|
210
|
+
},
|
|
211
|
+
"required": false,
|
|
212
|
+
"description": ""
|
|
213
|
+
},
|
|
214
|
+
"nextText": {
|
|
215
|
+
"type": {
|
|
216
|
+
"name": "custom",
|
|
217
|
+
"raw": "PropTypes.string"
|
|
218
|
+
},
|
|
219
|
+
"required": false,
|
|
220
|
+
"description": ""
|
|
221
|
+
},
|
|
222
|
+
"prevText": {
|
|
223
|
+
"type": {
|
|
224
|
+
"name": "custom",
|
|
225
|
+
"raw": "PropTypes.string"
|
|
226
|
+
},
|
|
227
|
+
"required": false,
|
|
228
|
+
"description": ""
|
|
229
|
+
},
|
|
230
|
+
"showPreviousBtn": {
|
|
231
|
+
"type": {
|
|
232
|
+
"name": "custom",
|
|
233
|
+
"raw": "PropTypes.bool"
|
|
234
|
+
},
|
|
235
|
+
"required": false,
|
|
236
|
+
"description": "",
|
|
237
|
+
"defaultValue": {
|
|
238
|
+
"value": "true",
|
|
239
|
+
"computed": false
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
"okText": {
|
|
243
|
+
"type": {
|
|
244
|
+
"name": "custom",
|
|
245
|
+
"raw": "PropTypes.string"
|
|
246
|
+
},
|
|
247
|
+
"required": false,
|
|
248
|
+
"description": ""
|
|
249
|
+
},
|
|
250
|
+
"step": {
|
|
251
|
+
"type": {
|
|
252
|
+
"name": "custom",
|
|
253
|
+
"raw": "PropTypes.number"
|
|
254
|
+
},
|
|
255
|
+
"required": false,
|
|
256
|
+
"description": ""
|
|
257
|
+
},
|
|
258
|
+
"loading_state": {
|
|
259
|
+
"type": {
|
|
260
|
+
"name": "custom",
|
|
261
|
+
"raw": "PropTypes.shape({\r\n /**\r\n * Determines if the component is loading or not\r\n */\r\n is_loading: PropTypes.bool,\r\n /**\r\n * Holds which property is loading\r\n */\r\n prop_name: PropTypes.string,\r\n /**\r\n * Holds the name of the component that is loading\r\n */\r\n component_name: PropTypes.string\r\n})"
|
|
262
|
+
},
|
|
263
|
+
"required": false,
|
|
264
|
+
"description": ""
|
|
265
|
+
},
|
|
266
|
+
"setProps": {
|
|
267
|
+
"type": {
|
|
268
|
+
"name": "custom",
|
|
269
|
+
"raw": "PropTypes.func"
|
|
270
|
+
},
|
|
271
|
+
"required": false,
|
|
272
|
+
"description": "Dash-assigned callback that should be called to report property changes\r\nto Dash, to make them available for callbacks."
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
},
|
|
101
276
|
"src/lib/components/FefferyPasteImage.react.js": {
|
|
102
277
|
"description": "",
|
|
103
278
|
"displayName": "FefferyPasteImage",
|
|
@@ -207,6 +382,109 @@
|
|
|
207
382
|
}
|
|
208
383
|
}
|
|
209
384
|
},
|
|
385
|
+
"src/lib/components/FefferyShortcutPanel.react.js": {
|
|
386
|
+
"description": "",
|
|
387
|
+
"displayName": "FefferyShortcutPanel",
|
|
388
|
+
"methods": [],
|
|
389
|
+
"props": {
|
|
390
|
+
"id": {
|
|
391
|
+
"type": {
|
|
392
|
+
"name": "custom",
|
|
393
|
+
"raw": "PropTypes.string"
|
|
394
|
+
},
|
|
395
|
+
"required": false,
|
|
396
|
+
"description": ""
|
|
397
|
+
},
|
|
398
|
+
"style": {
|
|
399
|
+
"type": {
|
|
400
|
+
"name": "custom",
|
|
401
|
+
"raw": "PropTypes.object"
|
|
402
|
+
},
|
|
403
|
+
"required": false,
|
|
404
|
+
"description": ""
|
|
405
|
+
},
|
|
406
|
+
"locale": {
|
|
407
|
+
"type": {
|
|
408
|
+
"name": "custom",
|
|
409
|
+
"raw": "PropTypes.oneOf(['en', 'zh'])"
|
|
410
|
+
},
|
|
411
|
+
"required": false,
|
|
412
|
+
"description": "",
|
|
413
|
+
"defaultValue": {
|
|
414
|
+
"value": "'zh'",
|
|
415
|
+
"computed": false
|
|
416
|
+
}
|
|
417
|
+
},
|
|
418
|
+
"data": {
|
|
419
|
+
"type": {
|
|
420
|
+
"name": "custom",
|
|
421
|
+
"raw": "PropTypes.arrayOf(\r\n PropTypes.exact({\r\n // \u7528\u4e8e\u5b9a\u4e49\u5f53\u524d\u70ed\u952e\u7684\u552f\u4e00id\uff0c\u4f1a\u5728\u9876\u7aef\u70ed\u952e\u9762\u5305\u5c51\u4e2d\u8fdb\u884c\u663e\u793a\r\n id: PropTypes.string.isRequired,\r\n\r\n // \u7528\u4e8e\u5b9a\u4e49\u5f53\u524d\u70ed\u952e\u7684\u6807\u9898\u4fe1\u606f\r\n title: PropTypes.string.isRequired,\r\n\r\n // \u7528\u4e8e\u5b9a\u4e49\u5f53\u524d\u70ed\u952e\u5bf9\u5e94\u7684\u5feb\u6377\u952e\u65b9\u5f0f\r\n hotkey: PropTypes.string,\r\n\r\n // \u7528\u4e8e\u4f20\u5165\u5b57\u7b26\u578b\u7684js\u51fd\u6570\u4f53\u6e90\u7801\uff0c\u4f5c\u4e3a\u5f53\u524d\u70ed\u952e\u88ab\u89e6\u53d1\u65f6\u7684\u884c\u4e3a\r\n handler: PropTypes.oneOfType([\r\n PropTypes.string,\r\n PropTypes.func\r\n ]),\r\n\r\n // \u7528\u4e8e\u8bbe\u7f6e\u5f53\u524d\u70ed\u952e\u4e0a\u4e00\u5c42\u7ea7\u8282\u70b9\u7684id\u4fe1\u606f\r\n parent: PropTypes.string,\r\n\r\n // \u7528\u4e8e\u8bbe\u7f6e\u5f53\u524d\u70ed\u952e\u88ab\u641c\u7d22\u65f6\u5bf9\u5e94\u7684\u5173\u952e\u8bcd\r\n keywords: PropTypes.string,\r\n\r\n // \u7528\u4e8e\u8bbe\u7f6e\u5f53\u524d\u70ed\u952e\u8282\u70b9\u4e0b\u4e00\u5c42\u7ea7\u5bf9\u5e94\u7684\u8282\u70b9id\u4fe1\u606f\u6570\u7ec4\r\n children: PropTypes.arrayOf(PropTypes.string),\r\n\r\n // \u7528\u4e8e\u8bbe\u7f6e\u5206\u7ec4\u6807\u9898\u6587\u5b57\r\n section: PropTypes.string\r\n })\r\n)"
|
|
422
|
+
},
|
|
423
|
+
"required": false,
|
|
424
|
+
"description": ""
|
|
425
|
+
},
|
|
426
|
+
"triggeredHotkey": {
|
|
427
|
+
"type": {
|
|
428
|
+
"name": "custom",
|
|
429
|
+
"raw": "PropTypes.oneOfType([\r\n PropTypes.string\r\n])"
|
|
430
|
+
},
|
|
431
|
+
"required": false,
|
|
432
|
+
"description": ""
|
|
433
|
+
},
|
|
434
|
+
"placeholder": {
|
|
435
|
+
"type": {
|
|
436
|
+
"name": "custom",
|
|
437
|
+
"raw": "PropTypes.string"
|
|
438
|
+
},
|
|
439
|
+
"required": false,
|
|
440
|
+
"description": ""
|
|
441
|
+
},
|
|
442
|
+
"disableHotkeys": {
|
|
443
|
+
"type": {
|
|
444
|
+
"name": "custom",
|
|
445
|
+
"raw": "PropTypes.bool"
|
|
446
|
+
},
|
|
447
|
+
"required": false,
|
|
448
|
+
"description": ""
|
|
449
|
+
},
|
|
450
|
+
"openHotkey": {
|
|
451
|
+
"type": {
|
|
452
|
+
"name": "custom",
|
|
453
|
+
"raw": "PropTypes.string"
|
|
454
|
+
},
|
|
455
|
+
"required": false,
|
|
456
|
+
"description": ""
|
|
457
|
+
},
|
|
458
|
+
"theme": {
|
|
459
|
+
"type": {
|
|
460
|
+
"name": "custom",
|
|
461
|
+
"raw": "PropTypes.oneOf(['light', 'dark'])"
|
|
462
|
+
},
|
|
463
|
+
"required": false,
|
|
464
|
+
"description": "",
|
|
465
|
+
"defaultValue": {
|
|
466
|
+
"value": "'light'",
|
|
467
|
+
"computed": false
|
|
468
|
+
}
|
|
469
|
+
},
|
|
470
|
+
"loading_state": {
|
|
471
|
+
"type": {
|
|
472
|
+
"name": "custom",
|
|
473
|
+
"raw": "PropTypes.shape({\r\n /**\r\n * Determines if the component is loading or not\r\n */\r\n is_loading: PropTypes.bool,\r\n /**\r\n * Holds which property is loading\r\n */\r\n prop_name: PropTypes.string,\r\n /**\r\n * Holds the name of the component that is loading\r\n */\r\n component_name: PropTypes.string\r\n})"
|
|
474
|
+
},
|
|
475
|
+
"required": false,
|
|
476
|
+
"description": ""
|
|
477
|
+
},
|
|
478
|
+
"setProps": {
|
|
479
|
+
"type": {
|
|
480
|
+
"name": "custom",
|
|
481
|
+
"raw": "PropTypes.func"
|
|
482
|
+
},
|
|
483
|
+
"required": false,
|
|
484
|
+
"description": "Dash-assigned callback that should be called to report property changes\r\nto Dash, to make them available for callbacks."
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
},
|
|
210
488
|
"src/lib/components/FefferySyntaxHighlighter.react.js": {
|
|
211
489
|
"description": "",
|
|
212
490
|
"displayName": "FefferySyntaxHighlighter",
|
|
@@ -574,5 +852,202 @@
|
|
|
574
852
|
"description": "Dash-assigned callback that should be called to report property changes\r\nto Dash, to make them available for callbacks."
|
|
575
853
|
}
|
|
576
854
|
}
|
|
855
|
+
},
|
|
856
|
+
"src/lib/components/split/FefferySplit.react.js": {
|
|
857
|
+
"description": "",
|
|
858
|
+
"displayName": "FefferySplit",
|
|
859
|
+
"methods": [],
|
|
860
|
+
"props": {
|
|
861
|
+
"children": {
|
|
862
|
+
"type": {
|
|
863
|
+
"name": "custom",
|
|
864
|
+
"raw": "PropTypes.node"
|
|
865
|
+
},
|
|
866
|
+
"required": false,
|
|
867
|
+
"description": ""
|
|
868
|
+
},
|
|
869
|
+
"id": {
|
|
870
|
+
"type": {
|
|
871
|
+
"name": "custom",
|
|
872
|
+
"raw": "PropTypes.string"
|
|
873
|
+
},
|
|
874
|
+
"required": false,
|
|
875
|
+
"description": ""
|
|
876
|
+
},
|
|
877
|
+
"className": {
|
|
878
|
+
"type": {
|
|
879
|
+
"name": "custom",
|
|
880
|
+
"raw": "PropTypes.string"
|
|
881
|
+
},
|
|
882
|
+
"required": false,
|
|
883
|
+
"description": ""
|
|
884
|
+
},
|
|
885
|
+
"style": {
|
|
886
|
+
"type": {
|
|
887
|
+
"name": "custom",
|
|
888
|
+
"raw": "PropTypes.object"
|
|
889
|
+
},
|
|
890
|
+
"required": false,
|
|
891
|
+
"description": ""
|
|
892
|
+
},
|
|
893
|
+
"defaultSizes": {
|
|
894
|
+
"type": {
|
|
895
|
+
"name": "custom",
|
|
896
|
+
"raw": "PropTypes.arrayOf(PropTypes.number)"
|
|
897
|
+
},
|
|
898
|
+
"required": false,
|
|
899
|
+
"description": ""
|
|
900
|
+
},
|
|
901
|
+
"sizes": {
|
|
902
|
+
"type": {
|
|
903
|
+
"name": "custom",
|
|
904
|
+
"raw": "PropTypes.arrayOf(PropTypes.number)"
|
|
905
|
+
},
|
|
906
|
+
"required": false,
|
|
907
|
+
"description": ""
|
|
908
|
+
},
|
|
909
|
+
"minSize": {
|
|
910
|
+
"type": {
|
|
911
|
+
"name": "custom",
|
|
912
|
+
"raw": "PropTypes.oneOfType([\r\n // \u7edf\u4e00\u8bbe\u7f6e\u6700\u5c0f\u5c3a\u5bf8\r\n PropTypes.number,\r\n // \u9010\u4e00\u8bbe\u7f6e\u6700\u5c0f\u5c3a\u5bf8\r\n PropTypes.arrayOf(PropTypes.number)\r\n])"
|
|
913
|
+
},
|
|
914
|
+
"required": false,
|
|
915
|
+
"description": ""
|
|
916
|
+
},
|
|
917
|
+
"maxSize": {
|
|
918
|
+
"type": {
|
|
919
|
+
"name": "custom",
|
|
920
|
+
"raw": "PropTypes.oneOfType([\r\n // \u7edf\u4e00\u8bbe\u7f6e\u6700\u5927\u5c3a\u5bf8\r\n PropTypes.number,\r\n // \u9010\u4e00\u8bbe\u7f6e\u6700\u5927\u5c3a\u5bf8\r\n PropTypes.arrayOf(PropTypes.number)\r\n])"
|
|
921
|
+
},
|
|
922
|
+
"required": false,
|
|
923
|
+
"description": ""
|
|
924
|
+
},
|
|
925
|
+
"expandToMin": {
|
|
926
|
+
"type": {
|
|
927
|
+
"name": "custom",
|
|
928
|
+
"raw": "PropTypes.bool"
|
|
929
|
+
},
|
|
930
|
+
"required": false,
|
|
931
|
+
"description": ""
|
|
932
|
+
},
|
|
933
|
+
"gutterSize": {
|
|
934
|
+
"type": {
|
|
935
|
+
"name": "custom",
|
|
936
|
+
"raw": "PropTypes.number"
|
|
937
|
+
},
|
|
938
|
+
"required": false,
|
|
939
|
+
"description": ""
|
|
940
|
+
},
|
|
941
|
+
"dragInterval": {
|
|
942
|
+
"type": {
|
|
943
|
+
"name": "custom",
|
|
944
|
+
"raw": "PropTypes.number"
|
|
945
|
+
},
|
|
946
|
+
"required": false,
|
|
947
|
+
"description": ""
|
|
948
|
+
},
|
|
949
|
+
"direction": {
|
|
950
|
+
"type": {
|
|
951
|
+
"name": "custom",
|
|
952
|
+
"raw": "PropTypes.oneOf(['horizontal', 'vertical'])"
|
|
953
|
+
},
|
|
954
|
+
"required": false,
|
|
955
|
+
"description": "",
|
|
956
|
+
"defaultValue": {
|
|
957
|
+
"value": "'horizontal'",
|
|
958
|
+
"computed": false
|
|
959
|
+
}
|
|
960
|
+
},
|
|
961
|
+
"cursor": {
|
|
962
|
+
"type": {
|
|
963
|
+
"name": "custom",
|
|
964
|
+
"raw": "PropTypes.string"
|
|
965
|
+
},
|
|
966
|
+
"required": false,
|
|
967
|
+
"description": ""
|
|
968
|
+
},
|
|
969
|
+
"loading_state": {
|
|
970
|
+
"type": {
|
|
971
|
+
"name": "custom",
|
|
972
|
+
"raw": "PropTypes.shape({\r\n /**\r\n * Determines if the component is loading or not\r\n */\r\n is_loading: PropTypes.bool,\r\n /**\r\n * Holds which property is loading\r\n */\r\n prop_name: PropTypes.string,\r\n /**\r\n * Holds the name of the component that is loading\r\n */\r\n component_name: PropTypes.string\r\n})"
|
|
973
|
+
},
|
|
974
|
+
"required": false,
|
|
975
|
+
"description": ""
|
|
976
|
+
},
|
|
977
|
+
"setProps": {
|
|
978
|
+
"type": {
|
|
979
|
+
"name": "custom",
|
|
980
|
+
"raw": "PropTypes.func"
|
|
981
|
+
},
|
|
982
|
+
"required": false,
|
|
983
|
+
"description": "Dash-assigned callback that should be called to report property changes\r\nto Dash, to make them available for callbacks."
|
|
984
|
+
}
|
|
985
|
+
}
|
|
986
|
+
},
|
|
987
|
+
"src/lib/components/split/FefferySplitPane.react.js": {
|
|
988
|
+
"description": "",
|
|
989
|
+
"displayName": "FefferySplitPane",
|
|
990
|
+
"methods": [],
|
|
991
|
+
"props": {
|
|
992
|
+
"id": {
|
|
993
|
+
"type": {
|
|
994
|
+
"name": "string"
|
|
995
|
+
},
|
|
996
|
+
"required": false,
|
|
997
|
+
"description": ""
|
|
998
|
+
},
|
|
999
|
+
"children": {
|
|
1000
|
+
"type": {
|
|
1001
|
+
"name": "node"
|
|
1002
|
+
},
|
|
1003
|
+
"required": false,
|
|
1004
|
+
"description": ""
|
|
1005
|
+
},
|
|
1006
|
+
"className": {
|
|
1007
|
+
"type": {
|
|
1008
|
+
"name": "string"
|
|
1009
|
+
},
|
|
1010
|
+
"required": false,
|
|
1011
|
+
"description": ""
|
|
1012
|
+
},
|
|
1013
|
+
"style": {
|
|
1014
|
+
"type": {
|
|
1015
|
+
"name": "object"
|
|
1016
|
+
},
|
|
1017
|
+
"required": false,
|
|
1018
|
+
"description": ""
|
|
1019
|
+
},
|
|
1020
|
+
"loading_state": {
|
|
1021
|
+
"type": {
|
|
1022
|
+
"name": "shape",
|
|
1023
|
+
"value": {
|
|
1024
|
+
"is_loading": {
|
|
1025
|
+
"name": "bool",
|
|
1026
|
+
"description": "Determines if the component is loading or not",
|
|
1027
|
+
"required": false
|
|
1028
|
+
},
|
|
1029
|
+
"prop_name": {
|
|
1030
|
+
"name": "string",
|
|
1031
|
+
"description": "Holds which property is loading",
|
|
1032
|
+
"required": false
|
|
1033
|
+
},
|
|
1034
|
+
"component_name": {
|
|
1035
|
+
"name": "string",
|
|
1036
|
+
"description": "Holds the name of the component that is loading",
|
|
1037
|
+
"required": false
|
|
1038
|
+
}
|
|
1039
|
+
}
|
|
1040
|
+
},
|
|
1041
|
+
"required": false,
|
|
1042
|
+
"description": ""
|
|
1043
|
+
},
|
|
1044
|
+
"setProps": {
|
|
1045
|
+
"type": {
|
|
1046
|
+
"name": "func"
|
|
1047
|
+
},
|
|
1048
|
+
"required": false,
|
|
1049
|
+
"description": "Dash-assigned callback that should be called to report property changes\r\nto Dash, to make them available for callbacks."
|
|
1050
|
+
}
|
|
1051
|
+
}
|
|
577
1052
|
}
|
|
578
1053
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "feffery_utils_components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.8",
|
|
4
4
|
"description": "Utility augments components of Dash!",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -24,15 +24,20 @@
|
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@ant-design/pro-layout": "^6.24.0",
|
|
26
26
|
"@charliewilco/gluejar": "^1.0.0",
|
|
27
|
+
"byte-guide": "^1.0.7",
|
|
28
|
+
"file-loader": "^6.2.0",
|
|
27
29
|
"github-markdown-css": "^5.0.0",
|
|
28
30
|
"less": "^3.13.1",
|
|
29
31
|
"less-loader": "^5.0.0",
|
|
32
|
+
"ninja-keys": "^1.1.12",
|
|
30
33
|
"nprogress": "^0.2.0",
|
|
31
34
|
"ramda": "^0.26.1",
|
|
35
|
+
"re-resizable": "^6.9.1",
|
|
32
36
|
"react-captcha-code": "^1.0.7",
|
|
33
37
|
"react-contexify": "^5.0.0",
|
|
34
38
|
"react-copy-to-clipboard": "^5.0.4",
|
|
35
39
|
"react-icons": "^4.3.1",
|
|
40
|
+
"react-split": "^2.0.14",
|
|
36
41
|
"react-syntax-highlighter": "^15.4.4"
|
|
37
42
|
},
|
|
38
43
|
"devDependencies": {
|
|
@@ -76,4 +81,4 @@
|
|
|
76
81
|
"node": ">=8.11.0",
|
|
77
82
|
"npm": ">=6.1.0"
|
|
78
83
|
}
|
|
79
|
-
}
|
|
84
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class FefferyDashboard(Component):
|
|
7
|
+
"""A FefferyDashboard component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (optional)
|
|
13
|
+
|
|
14
|
+
- className (optional)
|
|
15
|
+
|
|
16
|
+
- loading_state (optional)
|
|
17
|
+
|
|
18
|
+
- setProps (optional):
|
|
19
|
+
Dash-assigned callback that should be called to report property
|
|
20
|
+
changes to Dash, to make them available for callbacks.
|
|
21
|
+
|
|
22
|
+
- style (optional)"""
|
|
23
|
+
@_explicitize_args
|
|
24
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
25
|
+
self._prop_names = ['id', 'className', 'loading_state', 'setProps', 'style']
|
|
26
|
+
self._type = 'FefferyDashboard'
|
|
27
|
+
self._namespace = 'feffery_utils_components'
|
|
28
|
+
self._valid_wildcard_attributes = []
|
|
29
|
+
self.available_properties = ['id', 'className', 'loading_state', 'setProps', 'style']
|
|
30
|
+
self.available_wildcard_properties = []
|
|
31
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
32
|
+
_locals = locals()
|
|
33
|
+
_locals.update(kwargs) # For wildcard attrs
|
|
34
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
35
|
+
for k in []:
|
|
36
|
+
if k not in args:
|
|
37
|
+
raise TypeError(
|
|
38
|
+
'Required argument `' + k + '` was not specified.')
|
|
39
|
+
super(FefferyDashboard, self).__init__(**args)
|
|
@@ -0,0 +1,33 @@
|
|
|
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 (optional)
|
|
13
|
+
|
|
14
|
+
- jsString (optional)
|
|
15
|
+
|
|
16
|
+
- loading_state (optional)"""
|
|
17
|
+
@_explicitize_args
|
|
18
|
+
def __init__(self, id=Component.UNDEFINED, jsString=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
19
|
+
self._prop_names = ['id', 'jsString', 'loading_state']
|
|
20
|
+
self._type = 'FefferyExecuteJs'
|
|
21
|
+
self._namespace = 'feffery_utils_components'
|
|
22
|
+
self._valid_wildcard_attributes = []
|
|
23
|
+
self.available_properties = ['id', 'jsString', 'loading_state']
|
|
24
|
+
self.available_wildcard_properties = []
|
|
25
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
26
|
+
_locals = locals()
|
|
27
|
+
_locals.update(kwargs) # For wildcard attrs
|
|
28
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
29
|
+
for k in []:
|
|
30
|
+
if k not in args:
|
|
31
|
+
raise TypeError(
|
|
32
|
+
'Required argument `' + k + '` was not specified.')
|
|
33
|
+
super(FefferyExecuteJs, self).__init__(**args)
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class FefferyGuide(Component):
|
|
7
|
+
"""A FefferyGuide component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (optional)
|
|
13
|
+
|
|
14
|
+
- arrow (optional)
|
|
15
|
+
|
|
16
|
+
- className (optional)
|
|
17
|
+
|
|
18
|
+
- closable (optional)
|
|
19
|
+
|
|
20
|
+
- hotspot (optional)
|
|
21
|
+
|
|
22
|
+
- loading_state (optional)
|
|
23
|
+
|
|
24
|
+
- localKey (optional)
|
|
25
|
+
|
|
26
|
+
- locale (default 'zh')
|
|
27
|
+
|
|
28
|
+
- mask (optional)
|
|
29
|
+
|
|
30
|
+
- maskClassName (optional)
|
|
31
|
+
|
|
32
|
+
- modalClassName (optional)
|
|
33
|
+
|
|
34
|
+
- nextText (optional)
|
|
35
|
+
|
|
36
|
+
- okText (optional)
|
|
37
|
+
|
|
38
|
+
- prevText (optional)
|
|
39
|
+
|
|
40
|
+
- setProps (optional):
|
|
41
|
+
Dash-assigned callback that should be called to report property
|
|
42
|
+
changes to Dash, to make them available for callbacks.
|
|
43
|
+
|
|
44
|
+
- showPreviousBtn (default True)
|
|
45
|
+
|
|
46
|
+
- step (optional)
|
|
47
|
+
|
|
48
|
+
- stepText (optional)
|
|
49
|
+
|
|
50
|
+
- steps (optional)
|
|
51
|
+
|
|
52
|
+
- style (optional)"""
|
|
53
|
+
@_explicitize_args
|
|
54
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, steps=Component.UNDEFINED, localKey=Component.UNDEFINED, closable=Component.UNDEFINED, modalClassName=Component.UNDEFINED, maskClassName=Component.UNDEFINED, mask=Component.UNDEFINED, arrow=Component.UNDEFINED, hotspot=Component.UNDEFINED, stepText=Component.UNDEFINED, nextText=Component.UNDEFINED, prevText=Component.UNDEFINED, showPreviousBtn=Component.UNDEFINED, okText=Component.UNDEFINED, step=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
55
|
+
self._prop_names = ['id', 'arrow', 'className', 'closable', 'hotspot', 'loading_state', 'localKey', 'locale', 'mask', 'maskClassName', 'modalClassName', 'nextText', 'okText', 'prevText', 'setProps', 'showPreviousBtn', 'step', 'stepText', 'steps', 'style']
|
|
56
|
+
self._type = 'FefferyGuide'
|
|
57
|
+
self._namespace = 'feffery_utils_components'
|
|
58
|
+
self._valid_wildcard_attributes = []
|
|
59
|
+
self.available_properties = ['id', 'arrow', 'className', 'closable', 'hotspot', 'loading_state', 'localKey', 'locale', 'mask', 'maskClassName', 'modalClassName', 'nextText', 'okText', 'prevText', 'setProps', 'showPreviousBtn', 'step', 'stepText', 'steps', 'style']
|
|
60
|
+
self.available_wildcard_properties = []
|
|
61
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
62
|
+
_locals = locals()
|
|
63
|
+
_locals.update(kwargs) # For wildcard attrs
|
|
64
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
65
|
+
for k in []:
|
|
66
|
+
if k not in args:
|
|
67
|
+
raise TypeError(
|
|
68
|
+
'Required argument `' + k + '` was not specified.')
|
|
69
|
+
super(FefferyGuide, self).__init__(**args)
|