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,212 @@
|
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
},
|
|
101
|
+
"src/lib/components/FefferyExecuteJs.react.js": {
|
|
102
|
+
"description": "",
|
|
103
|
+
"displayName": "FefferyExecuteJs",
|
|
104
|
+
"methods": [],
|
|
105
|
+
"props": {
|
|
106
|
+
"id": {
|
|
107
|
+
"type": {
|
|
108
|
+
"name": "custom",
|
|
109
|
+
"raw": "PropTypes.string"
|
|
110
|
+
},
|
|
111
|
+
"required": false,
|
|
112
|
+
"description": ""
|
|
113
|
+
},
|
|
114
|
+
"jsString": {
|
|
115
|
+
"type": {
|
|
116
|
+
"name": "custom",
|
|
117
|
+
"raw": "PropTypes.string"
|
|
118
|
+
},
|
|
119
|
+
"required": false,
|
|
120
|
+
"description": ""
|
|
121
|
+
},
|
|
122
|
+
"loading_state": {
|
|
123
|
+
"type": {
|
|
124
|
+
"name": "custom",
|
|
125
|
+
"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})"
|
|
126
|
+
},
|
|
127
|
+
"required": false,
|
|
128
|
+
"description": ""
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
"src/lib/components/FefferyGuide.react.js": {
|
|
133
|
+
"description": "",
|
|
134
|
+
"displayName": "FefferyGuide",
|
|
135
|
+
"methods": [],
|
|
136
|
+
"props": {
|
|
137
|
+
"id": {
|
|
138
|
+
"type": {
|
|
139
|
+
"name": "custom",
|
|
140
|
+
"raw": "PropTypes.string"
|
|
141
|
+
},
|
|
142
|
+
"required": false,
|
|
143
|
+
"description": ""
|
|
144
|
+
},
|
|
145
|
+
"className": {
|
|
146
|
+
"type": {
|
|
147
|
+
"name": "custom",
|
|
148
|
+
"raw": "PropTypes.string"
|
|
149
|
+
},
|
|
150
|
+
"required": false,
|
|
151
|
+
"description": ""
|
|
152
|
+
},
|
|
153
|
+
"style": {
|
|
154
|
+
"type": {
|
|
155
|
+
"name": "custom",
|
|
156
|
+
"raw": "PropTypes.object"
|
|
157
|
+
},
|
|
158
|
+
"required": false,
|
|
159
|
+
"description": ""
|
|
160
|
+
},
|
|
161
|
+
"locale": {
|
|
162
|
+
"type": {
|
|
163
|
+
"name": "custom",
|
|
164
|
+
"raw": "PropTypes.oneOf(['zh', 'en'])"
|
|
165
|
+
},
|
|
166
|
+
"required": false,
|
|
167
|
+
"description": "",
|
|
168
|
+
"defaultValue": {
|
|
169
|
+
"value": "'zh'",
|
|
170
|
+
"computed": false
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
"steps": {
|
|
174
|
+
"type": {
|
|
175
|
+
"name": "custom",
|
|
176
|
+
"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"
|
|
177
|
+
},
|
|
178
|
+
"required": false,
|
|
179
|
+
"description": ""
|
|
180
|
+
},
|
|
181
|
+
"localKey": {
|
|
182
|
+
"type": {
|
|
183
|
+
"name": "custom",
|
|
184
|
+
"raw": "PropTypes.string.isRequired"
|
|
185
|
+
},
|
|
186
|
+
"required": false,
|
|
187
|
+
"description": ""
|
|
188
|
+
},
|
|
189
|
+
"closable": {
|
|
190
|
+
"type": {
|
|
191
|
+
"name": "custom",
|
|
192
|
+
"raw": "PropTypes.bool"
|
|
193
|
+
},
|
|
194
|
+
"required": false,
|
|
195
|
+
"description": ""
|
|
196
|
+
},
|
|
197
|
+
"modalClassName": {
|
|
198
|
+
"type": {
|
|
199
|
+
"name": "custom",
|
|
200
|
+
"raw": "PropTypes.string"
|
|
201
|
+
},
|
|
202
|
+
"required": false,
|
|
203
|
+
"description": ""
|
|
204
|
+
},
|
|
205
|
+
"maskClassName": {
|
|
206
|
+
"type": {
|
|
207
|
+
"name": "custom",
|
|
208
|
+
"raw": "PropTypes.string"
|
|
209
|
+
},
|
|
210
|
+
"required": false,
|
|
211
|
+
"description": ""
|
|
212
|
+
},
|
|
213
|
+
"mask": {
|
|
214
|
+
"type": {
|
|
215
|
+
"name": "custom",
|
|
216
|
+
"raw": "PropTypes.bool"
|
|
217
|
+
},
|
|
218
|
+
"required": false,
|
|
219
|
+
"description": ""
|
|
220
|
+
},
|
|
221
|
+
"arrow": {
|
|
222
|
+
"type": {
|
|
223
|
+
"name": "custom",
|
|
224
|
+
"raw": "PropTypes.bool"
|
|
225
|
+
},
|
|
226
|
+
"required": false,
|
|
227
|
+
"description": ""
|
|
228
|
+
},
|
|
229
|
+
"hotspot": {
|
|
230
|
+
"type": {
|
|
231
|
+
"name": "custom",
|
|
232
|
+
"raw": "PropTypes.bool"
|
|
233
|
+
},
|
|
234
|
+
"required": false,
|
|
235
|
+
"description": ""
|
|
236
|
+
},
|
|
237
|
+
"stepText": {
|
|
238
|
+
"type": {
|
|
239
|
+
"name": "custom",
|
|
240
|
+
"raw": "PropTypes.string"
|
|
241
|
+
},
|
|
242
|
+
"required": false,
|
|
243
|
+
"description": ""
|
|
244
|
+
},
|
|
245
|
+
"nextText": {
|
|
246
|
+
"type": {
|
|
247
|
+
"name": "custom",
|
|
248
|
+
"raw": "PropTypes.string"
|
|
249
|
+
},
|
|
250
|
+
"required": false,
|
|
251
|
+
"description": ""
|
|
252
|
+
},
|
|
253
|
+
"prevText": {
|
|
254
|
+
"type": {
|
|
255
|
+
"name": "custom",
|
|
256
|
+
"raw": "PropTypes.string"
|
|
257
|
+
},
|
|
258
|
+
"required": false,
|
|
259
|
+
"description": ""
|
|
260
|
+
},
|
|
261
|
+
"showPreviousBtn": {
|
|
262
|
+
"type": {
|
|
263
|
+
"name": "custom",
|
|
264
|
+
"raw": "PropTypes.bool"
|
|
265
|
+
},
|
|
266
|
+
"required": false,
|
|
267
|
+
"description": "",
|
|
268
|
+
"defaultValue": {
|
|
269
|
+
"value": "true",
|
|
270
|
+
"computed": false
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
"okText": {
|
|
274
|
+
"type": {
|
|
275
|
+
"name": "custom",
|
|
276
|
+
"raw": "PropTypes.string"
|
|
277
|
+
},
|
|
278
|
+
"required": false,
|
|
279
|
+
"description": ""
|
|
280
|
+
},
|
|
281
|
+
"step": {
|
|
282
|
+
"type": {
|
|
283
|
+
"name": "custom",
|
|
284
|
+
"raw": "PropTypes.number"
|
|
285
|
+
},
|
|
286
|
+
"required": false,
|
|
287
|
+
"description": ""
|
|
288
|
+
},
|
|
289
|
+
"loading_state": {
|
|
290
|
+
"type": {
|
|
291
|
+
"name": "custom",
|
|
292
|
+
"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})"
|
|
293
|
+
},
|
|
294
|
+
"required": false,
|
|
295
|
+
"description": ""
|
|
296
|
+
},
|
|
297
|
+
"setProps": {
|
|
298
|
+
"type": {
|
|
299
|
+
"name": "custom",
|
|
300
|
+
"raw": "PropTypes.func"
|
|
301
|
+
},
|
|
302
|
+
"required": false,
|
|
303
|
+
"description": "Dash-assigned callback that should be called to report property changes\r\nto Dash, to make them available for callbacks."
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
},
|
|
101
307
|
"src/lib/components/FefferyPasteImage.react.js": {
|
|
102
308
|
"description": "",
|
|
103
309
|
"displayName": "FefferyPasteImage",
|
|
@@ -207,6 +413,109 @@
|
|
|
207
413
|
}
|
|
208
414
|
}
|
|
209
415
|
},
|
|
416
|
+
"src/lib/components/FefferyShortcutPanel.react.js": {
|
|
417
|
+
"description": "",
|
|
418
|
+
"displayName": "FefferyShortcutPanel",
|
|
419
|
+
"methods": [],
|
|
420
|
+
"props": {
|
|
421
|
+
"id": {
|
|
422
|
+
"type": {
|
|
423
|
+
"name": "custom",
|
|
424
|
+
"raw": "PropTypes.string"
|
|
425
|
+
},
|
|
426
|
+
"required": false,
|
|
427
|
+
"description": ""
|
|
428
|
+
},
|
|
429
|
+
"style": {
|
|
430
|
+
"type": {
|
|
431
|
+
"name": "custom",
|
|
432
|
+
"raw": "PropTypes.object"
|
|
433
|
+
},
|
|
434
|
+
"required": false,
|
|
435
|
+
"description": ""
|
|
436
|
+
},
|
|
437
|
+
"locale": {
|
|
438
|
+
"type": {
|
|
439
|
+
"name": "custom",
|
|
440
|
+
"raw": "PropTypes.oneOf(['en', 'zh'])"
|
|
441
|
+
},
|
|
442
|
+
"required": false,
|
|
443
|
+
"description": "",
|
|
444
|
+
"defaultValue": {
|
|
445
|
+
"value": "'zh'",
|
|
446
|
+
"computed": false
|
|
447
|
+
}
|
|
448
|
+
},
|
|
449
|
+
"data": {
|
|
450
|
+
"type": {
|
|
451
|
+
"name": "custom",
|
|
452
|
+
"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)"
|
|
453
|
+
},
|
|
454
|
+
"required": false,
|
|
455
|
+
"description": ""
|
|
456
|
+
},
|
|
457
|
+
"triggeredHotkey": {
|
|
458
|
+
"type": {
|
|
459
|
+
"name": "custom",
|
|
460
|
+
"raw": "PropTypes.oneOfType([\r\n PropTypes.string\r\n])"
|
|
461
|
+
},
|
|
462
|
+
"required": false,
|
|
463
|
+
"description": ""
|
|
464
|
+
},
|
|
465
|
+
"placeholder": {
|
|
466
|
+
"type": {
|
|
467
|
+
"name": "custom",
|
|
468
|
+
"raw": "PropTypes.string"
|
|
469
|
+
},
|
|
470
|
+
"required": false,
|
|
471
|
+
"description": ""
|
|
472
|
+
},
|
|
473
|
+
"disableHotkeys": {
|
|
474
|
+
"type": {
|
|
475
|
+
"name": "custom",
|
|
476
|
+
"raw": "PropTypes.bool"
|
|
477
|
+
},
|
|
478
|
+
"required": false,
|
|
479
|
+
"description": ""
|
|
480
|
+
},
|
|
481
|
+
"openHotkey": {
|
|
482
|
+
"type": {
|
|
483
|
+
"name": "custom",
|
|
484
|
+
"raw": "PropTypes.string"
|
|
485
|
+
},
|
|
486
|
+
"required": false,
|
|
487
|
+
"description": ""
|
|
488
|
+
},
|
|
489
|
+
"theme": {
|
|
490
|
+
"type": {
|
|
491
|
+
"name": "custom",
|
|
492
|
+
"raw": "PropTypes.oneOf(['light', 'dark'])"
|
|
493
|
+
},
|
|
494
|
+
"required": false,
|
|
495
|
+
"description": "",
|
|
496
|
+
"defaultValue": {
|
|
497
|
+
"value": "'light'",
|
|
498
|
+
"computed": false
|
|
499
|
+
}
|
|
500
|
+
},
|
|
501
|
+
"loading_state": {
|
|
502
|
+
"type": {
|
|
503
|
+
"name": "custom",
|
|
504
|
+
"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})"
|
|
505
|
+
},
|
|
506
|
+
"required": false,
|
|
507
|
+
"description": ""
|
|
508
|
+
},
|
|
509
|
+
"setProps": {
|
|
510
|
+
"type": {
|
|
511
|
+
"name": "custom",
|
|
512
|
+
"raw": "PropTypes.func"
|
|
513
|
+
},
|
|
514
|
+
"required": false,
|
|
515
|
+
"description": "Dash-assigned callback that should be called to report property changes\r\nto Dash, to make them available for callbacks."
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
},
|
|
210
519
|
"src/lib/components/FefferySyntaxHighlighter.react.js": {
|
|
211
520
|
"description": "",
|
|
212
521
|
"displayName": "FefferySyntaxHighlighter",
|
|
@@ -574,5 +883,202 @@
|
|
|
574
883
|
"description": "Dash-assigned callback that should be called to report property changes\r\nto Dash, to make them available for callbacks."
|
|
575
884
|
}
|
|
576
885
|
}
|
|
886
|
+
},
|
|
887
|
+
"src/lib/components/split/FefferySplit.react.js": {
|
|
888
|
+
"description": "",
|
|
889
|
+
"displayName": "FefferySplit",
|
|
890
|
+
"methods": [],
|
|
891
|
+
"props": {
|
|
892
|
+
"children": {
|
|
893
|
+
"type": {
|
|
894
|
+
"name": "custom",
|
|
895
|
+
"raw": "PropTypes.node"
|
|
896
|
+
},
|
|
897
|
+
"required": false,
|
|
898
|
+
"description": ""
|
|
899
|
+
},
|
|
900
|
+
"id": {
|
|
901
|
+
"type": {
|
|
902
|
+
"name": "custom",
|
|
903
|
+
"raw": "PropTypes.string"
|
|
904
|
+
},
|
|
905
|
+
"required": false,
|
|
906
|
+
"description": ""
|
|
907
|
+
},
|
|
908
|
+
"className": {
|
|
909
|
+
"type": {
|
|
910
|
+
"name": "custom",
|
|
911
|
+
"raw": "PropTypes.string"
|
|
912
|
+
},
|
|
913
|
+
"required": false,
|
|
914
|
+
"description": ""
|
|
915
|
+
},
|
|
916
|
+
"style": {
|
|
917
|
+
"type": {
|
|
918
|
+
"name": "custom",
|
|
919
|
+
"raw": "PropTypes.object"
|
|
920
|
+
},
|
|
921
|
+
"required": false,
|
|
922
|
+
"description": ""
|
|
923
|
+
},
|
|
924
|
+
"defaultSizes": {
|
|
925
|
+
"type": {
|
|
926
|
+
"name": "custom",
|
|
927
|
+
"raw": "PropTypes.arrayOf(PropTypes.number)"
|
|
928
|
+
},
|
|
929
|
+
"required": false,
|
|
930
|
+
"description": ""
|
|
931
|
+
},
|
|
932
|
+
"sizes": {
|
|
933
|
+
"type": {
|
|
934
|
+
"name": "custom",
|
|
935
|
+
"raw": "PropTypes.arrayOf(PropTypes.number)"
|
|
936
|
+
},
|
|
937
|
+
"required": false,
|
|
938
|
+
"description": ""
|
|
939
|
+
},
|
|
940
|
+
"minSize": {
|
|
941
|
+
"type": {
|
|
942
|
+
"name": "custom",
|
|
943
|
+
"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])"
|
|
944
|
+
},
|
|
945
|
+
"required": false,
|
|
946
|
+
"description": ""
|
|
947
|
+
},
|
|
948
|
+
"maxSize": {
|
|
949
|
+
"type": {
|
|
950
|
+
"name": "custom",
|
|
951
|
+
"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])"
|
|
952
|
+
},
|
|
953
|
+
"required": false,
|
|
954
|
+
"description": ""
|
|
955
|
+
},
|
|
956
|
+
"expandToMin": {
|
|
957
|
+
"type": {
|
|
958
|
+
"name": "custom",
|
|
959
|
+
"raw": "PropTypes.bool"
|
|
960
|
+
},
|
|
961
|
+
"required": false,
|
|
962
|
+
"description": ""
|
|
963
|
+
},
|
|
964
|
+
"gutterSize": {
|
|
965
|
+
"type": {
|
|
966
|
+
"name": "custom",
|
|
967
|
+
"raw": "PropTypes.number"
|
|
968
|
+
},
|
|
969
|
+
"required": false,
|
|
970
|
+
"description": ""
|
|
971
|
+
},
|
|
972
|
+
"dragInterval": {
|
|
973
|
+
"type": {
|
|
974
|
+
"name": "custom",
|
|
975
|
+
"raw": "PropTypes.number"
|
|
976
|
+
},
|
|
977
|
+
"required": false,
|
|
978
|
+
"description": ""
|
|
979
|
+
},
|
|
980
|
+
"direction": {
|
|
981
|
+
"type": {
|
|
982
|
+
"name": "custom",
|
|
983
|
+
"raw": "PropTypes.oneOf(['horizontal', 'vertical'])"
|
|
984
|
+
},
|
|
985
|
+
"required": false,
|
|
986
|
+
"description": "",
|
|
987
|
+
"defaultValue": {
|
|
988
|
+
"value": "'horizontal'",
|
|
989
|
+
"computed": false
|
|
990
|
+
}
|
|
991
|
+
},
|
|
992
|
+
"cursor": {
|
|
993
|
+
"type": {
|
|
994
|
+
"name": "custom",
|
|
995
|
+
"raw": "PropTypes.string"
|
|
996
|
+
},
|
|
997
|
+
"required": false,
|
|
998
|
+
"description": ""
|
|
999
|
+
},
|
|
1000
|
+
"loading_state": {
|
|
1001
|
+
"type": {
|
|
1002
|
+
"name": "custom",
|
|
1003
|
+
"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})"
|
|
1004
|
+
},
|
|
1005
|
+
"required": false,
|
|
1006
|
+
"description": ""
|
|
1007
|
+
},
|
|
1008
|
+
"setProps": {
|
|
1009
|
+
"type": {
|
|
1010
|
+
"name": "custom",
|
|
1011
|
+
"raw": "PropTypes.func"
|
|
1012
|
+
},
|
|
1013
|
+
"required": false,
|
|
1014
|
+
"description": "Dash-assigned callback that should be called to report property changes\r\nto Dash, to make them available for callbacks."
|
|
1015
|
+
}
|
|
1016
|
+
}
|
|
1017
|
+
},
|
|
1018
|
+
"src/lib/components/split/FefferySplitPane.react.js": {
|
|
1019
|
+
"description": "",
|
|
1020
|
+
"displayName": "FefferySplitPane",
|
|
1021
|
+
"methods": [],
|
|
1022
|
+
"props": {
|
|
1023
|
+
"id": {
|
|
1024
|
+
"type": {
|
|
1025
|
+
"name": "string"
|
|
1026
|
+
},
|
|
1027
|
+
"required": false,
|
|
1028
|
+
"description": ""
|
|
1029
|
+
},
|
|
1030
|
+
"children": {
|
|
1031
|
+
"type": {
|
|
1032
|
+
"name": "node"
|
|
1033
|
+
},
|
|
1034
|
+
"required": false,
|
|
1035
|
+
"description": ""
|
|
1036
|
+
},
|
|
1037
|
+
"className": {
|
|
1038
|
+
"type": {
|
|
1039
|
+
"name": "string"
|
|
1040
|
+
},
|
|
1041
|
+
"required": false,
|
|
1042
|
+
"description": ""
|
|
1043
|
+
},
|
|
1044
|
+
"style": {
|
|
1045
|
+
"type": {
|
|
1046
|
+
"name": "object"
|
|
1047
|
+
},
|
|
1048
|
+
"required": false,
|
|
1049
|
+
"description": ""
|
|
1050
|
+
},
|
|
1051
|
+
"loading_state": {
|
|
1052
|
+
"type": {
|
|
1053
|
+
"name": "shape",
|
|
1054
|
+
"value": {
|
|
1055
|
+
"is_loading": {
|
|
1056
|
+
"name": "bool",
|
|
1057
|
+
"description": "Determines if the component is loading or not",
|
|
1058
|
+
"required": false
|
|
1059
|
+
},
|
|
1060
|
+
"prop_name": {
|
|
1061
|
+
"name": "string",
|
|
1062
|
+
"description": "Holds which property is loading",
|
|
1063
|
+
"required": false
|
|
1064
|
+
},
|
|
1065
|
+
"component_name": {
|
|
1066
|
+
"name": "string",
|
|
1067
|
+
"description": "Holds the name of the component that is loading",
|
|
1068
|
+
"required": false
|
|
1069
|
+
}
|
|
1070
|
+
}
|
|
1071
|
+
},
|
|
1072
|
+
"required": false,
|
|
1073
|
+
"description": ""
|
|
1074
|
+
},
|
|
1075
|
+
"setProps": {
|
|
1076
|
+
"type": {
|
|
1077
|
+
"name": "func"
|
|
1078
|
+
},
|
|
1079
|
+
"required": false,
|
|
1080
|
+
"description": "Dash-assigned callback that should be called to report property changes\r\nto Dash, to make them available for callbacks."
|
|
1081
|
+
}
|
|
1082
|
+
}
|
|
577
1083
|
}
|
|
578
1084
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "feffery_utils_components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
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
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "feffery_utils_components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
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
|
+
}
|
|
@@ -3,13 +3,18 @@ module FefferyUtilsComponents
|
|
|
3
3
|
using Dash
|
|
4
4
|
|
|
5
5
|
const resources_path = realpath(joinpath( @__DIR__, "..", "deps"))
|
|
6
|
-
const version = "0.0.
|
|
6
|
+
const version = "0.0.9"
|
|
7
7
|
|
|
8
8
|
include("jl/''_fefferycaptcha.jl")
|
|
9
|
+
include("jl/''_fefferyexecutejs.jl")
|
|
10
|
+
include("jl/''_fefferyguide.jl")
|
|
9
11
|
include("jl/''_fefferypasteimage.jl")
|
|
12
|
+
include("jl/''_fefferyshortcutpanel.jl")
|
|
10
13
|
include("jl/''_fefferysyntaxhighlighter.jl")
|
|
11
14
|
include("jl/''_fefferytopprogress.jl")
|
|
12
15
|
include("jl/''_fefferywatermark.jl")
|
|
16
|
+
include("jl/''_fefferysplit.jl")
|
|
17
|
+
include("jl/''_fefferysplitpane.jl")
|
|
13
18
|
|
|
14
19
|
function __init__()
|
|
15
20
|
DashBase.register_package(
|
|
@@ -20,14 +25,14 @@ function __init__()
|
|
|
20
25
|
[
|
|
21
26
|
DashBase.Resource(
|
|
22
27
|
relative_package_path = "feffery_utils_components.min.js",
|
|
23
|
-
external_url = "https://unpkg.com/feffery_utils_components@0.0.
|
|
28
|
+
external_url = "https://unpkg.com/feffery_utils_components@0.0.9/feffery_utils_components/feffery_utils_components.min.js",
|
|
24
29
|
dynamic = nothing,
|
|
25
30
|
async = nothing,
|
|
26
31
|
type = :js
|
|
27
32
|
),
|
|
28
33
|
DashBase.Resource(
|
|
29
34
|
relative_package_path = "feffery_utils_components.min.js.map",
|
|
30
|
-
external_url = "https://unpkg.com/feffery_utils_components@0.0.
|
|
35
|
+
external_url = "https://unpkg.com/feffery_utils_components@0.0.9/feffery_utils_components/feffery_utils_components.min.js.map",
|
|
31
36
|
dynamic = true,
|
|
32
37
|
async = nothing,
|
|
33
38
|
type = :js
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
export ''_fefferydashboard
|
|
4
|
+
|
|
5
|
+
"""
|
|
6
|
+
''_fefferydashboard(;kwargs...)
|
|
7
|
+
|
|
8
|
+
A FefferyDashboard component.
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
- `id` (optional)
|
|
12
|
+
- `className` (optional)
|
|
13
|
+
- `loading_state` (optional)
|
|
14
|
+
- `setProps` (optional): Dash-assigned callback that should be called to report property changes
|
|
15
|
+
to Dash, to make them available for callbacks.
|
|
16
|
+
- `style` (optional)
|
|
17
|
+
"""
|
|
18
|
+
function ''_fefferydashboard(; kwargs...)
|
|
19
|
+
available_props = Symbol[:id, :className, :loading_state, :style]
|
|
20
|
+
wild_props = Symbol[]
|
|
21
|
+
return Component("''_fefferydashboard", "FefferyDashboard", "feffery_utils_components", available_props, wild_props; kwargs...)
|
|
22
|
+
end
|
|
23
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
export ''_fefferyexecutejs
|
|
4
|
+
|
|
5
|
+
"""
|
|
6
|
+
''_fefferyexecutejs(;kwargs...)
|
|
7
|
+
|
|
8
|
+
A FefferyExecuteJs component.
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
- `id` (optional)
|
|
12
|
+
- `jsString` (optional)
|
|
13
|
+
- `loading_state` (optional)
|
|
14
|
+
"""
|
|
15
|
+
function ''_fefferyexecutejs(; kwargs...)
|
|
16
|
+
available_props = Symbol[:id, :jsString, :loading_state]
|
|
17
|
+
wild_props = Symbol[]
|
|
18
|
+
return Component("''_fefferyexecutejs", "FefferyExecuteJs", "feffery_utils_components", available_props, wild_props; kwargs...)
|
|
19
|
+
end
|
|
20
|
+
|