feffery_utils_components 0.0.9 → 0.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/DESCRIPTION +1 -1
  2. package/NAMESPACE +2 -5
  3. package/Project.toml +1 -1
  4. package/feffery_utils_components/FefferyCircleColorPicker.py +45 -0
  5. package/{build/lib/feffery_utils_components/FefferyDashboard.py → feffery_utils_components/FefferyColorPicker.py} +9 -11
  6. package/feffery_utils_components/FefferyScroll.py +55 -0
  7. package/feffery_utils_components/_imports_.py +4 -4
  8. package/feffery_utils_components/feffery_utils_components.min.js +26 -26
  9. package/feffery_utils_components/metadata.json +148 -174
  10. package/feffery_utils_components/package-info.json +3 -2
  11. package/package.json +3 -2
  12. package/src/FefferyUtilsComponents.jl +5 -5
  13. package/src/jl/''_fefferycirclecolorpicker.jl +26 -0
  14. package/src/jl/''_fefferycolorpicker.jl +22 -0
  15. package/src/jl/''_fefferyscroll.jl +31 -0
  16. package/src/lib/components/FefferyCaptcha.react.js +6 -2
  17. package/src/lib/components/FefferyGuide.react.js +11 -4
  18. package/src/lib/components/FefferyScroll.react.js +170 -0
  19. package/src/lib/components/FefferyShortcutPanel.react.js +5 -1
  20. package/src/lib/components/FefferySyntaxHighlighter.react.js +6 -2
  21. package/src/lib/components/FefferyTopProgress.react.js +3 -3
  22. package/src/lib/components/colorPickers/FefferyCircleColorPicker.react.js +88 -0
  23. package/src/lib/components/nprogress.css +84 -0
  24. package/src/lib/components/styles.css +0 -4
  25. package/src/lib/index.js +5 -5
  26. package/usage.py +40 -32
  27. package/build/lib/feffery_utils_components/FefferyCaptcha.py +0 -51
  28. package/build/lib/feffery_utils_components/FefferyGuide.py +0 -69
  29. package/build/lib/feffery_utils_components/FefferyPasteImage.py +0 -56
  30. package/build/lib/feffery_utils_components/FefferyResizable.py +0 -39
  31. package/build/lib/feffery_utils_components/FefferyShortcutPanel.py +0 -51
  32. package/build/lib/feffery_utils_components/FefferySplit.py +0 -59
  33. package/build/lib/feffery_utils_components/FefferySplitPane.py +0 -48
  34. package/build/lib/feffery_utils_components/FefferySyntaxHighlighter.py +0 -52
  35. package/build/lib/feffery_utils_components/FefferyTopProgress.py +0 -68
  36. package/build/lib/feffery_utils_components/FefferyUtilsComponents.py +0 -40
  37. package/build/lib/feffery_utils_components/FefferyWaterMark.py +0 -64
  38. package/build/lib/feffery_utils_components/__init__.py +0 -89
  39. package/build/lib/feffery_utils_components/_imports_.py +0 -21
  40. package/build/lib/feffery_utils_components/feffery_utils_components.min.js +0 -407
  41. package/build/lib/feffery_utils_components/metadata.json +0 -1053
  42. package/build/lib/feffery_utils_components/package-info.json +0 -84
  43. package/src/lib/components/FefferyPasteImage.react.js +0 -168
  44. package/src/lib/components/FefferyWaterMark.react.js +0 -112
@@ -1,4 +1,83 @@
1
1
  {
2
+ "src/lib/components/colorPickers/FefferyCircleColorPicker.react.js": {
3
+ "description": "",
4
+ "displayName": "FefferyCircleColorPicker",
5
+ "methods": [],
6
+ "props": {
7
+ "id": {
8
+ "type": {
9
+ "name": "custom",
10
+ "raw": "PropTypes.string"
11
+ },
12
+ "required": false,
13
+ "description": ""
14
+ },
15
+ "className": {
16
+ "type": {
17
+ "name": "custom",
18
+ "raw": "PropTypes.string"
19
+ },
20
+ "required": false,
21
+ "description": ""
22
+ },
23
+ "style": {
24
+ "type": {
25
+ "name": "custom",
26
+ "raw": "PropTypes.object"
27
+ },
28
+ "required": false,
29
+ "description": ""
30
+ },
31
+ "width": {
32
+ "type": {
33
+ "name": "custom",
34
+ "raw": "PropTypes.string"
35
+ },
36
+ "required": false,
37
+ "description": ""
38
+ },
39
+ "colors": {
40
+ "type": {
41
+ "name": "custom",
42
+ "raw": "PropTypes.arrayOf(PropTypes.string)"
43
+ },
44
+ "required": false,
45
+ "description": ""
46
+ },
47
+ "circleSize": {
48
+ "type": {
49
+ "name": "custom",
50
+ "raw": "PropTypes.number"
51
+ },
52
+ "required": false,
53
+ "description": ""
54
+ },
55
+ "circleSpacing": {
56
+ "type": {
57
+ "name": "custom",
58
+ "raw": "PropTypes.number"
59
+ },
60
+ "required": false,
61
+ "description": ""
62
+ },
63
+ "color": {
64
+ "type": {
65
+ "name": "custom",
66
+ "raw": "PropTypes.string"
67
+ },
68
+ "required": false,
69
+ "description": ""
70
+ },
71
+ "loading_state": {
72
+ "type": {
73
+ "name": "custom",
74
+ "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})"
75
+ },
76
+ "required": false,
77
+ "description": ""
78
+ }
79
+ }
80
+ },
2
81
  "src/lib/components/FefferyCaptcha.react.js": {
3
82
  "description": "",
4
83
  "displayName": "FefferyCaptcha",
@@ -173,7 +252,7 @@
173
252
  "steps": {
174
253
  "type": {
175
254
  "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"
255
+ "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'top', 'bottom', 'left', 'right', 'top-left', 'top-right', 'bottom-left', 'bottom-right', 'left-top', 'left-bottom',\r\n // 'right-top', 'right-bottom'\uff0c\u9ed8\u8ba4\u4e3a'bottom'\r\n placement: PropTypes.oneOf([\r\n 'top', 'bottom', 'left', 'right', 'top-left', 'top-right',\r\n 'bottom-left', 'bottom-right', 'left-top', 'left-bottom',\r\n 'right-top', 'right-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
256
  },
178
257
  "required": false,
179
258
  "description": ""
@@ -304,109 +383,119 @@
304
383
  }
305
384
  }
306
385
  },
307
- "src/lib/components/FefferyPasteImage.react.js": {
386
+ "src/lib/components/FefferyScroll.react.js": {
308
387
  "description": "",
309
- "displayName": "FefferyPasteImage",
388
+ "displayName": "FefferyScroll",
310
389
  "methods": [],
311
390
  "props": {
312
391
  "id": {
313
392
  "type": {
314
- "name": "string"
393
+ "name": "custom",
394
+ "raw": "PropTypes.string"
315
395
  },
316
- "required": true,
396
+ "required": false,
317
397
  "description": ""
318
398
  },
319
- "children": {
399
+ "scrollMode": {
320
400
  "type": {
321
- "name": "node"
401
+ "name": "custom",
402
+ "raw": "PropTypes.oneOf([\r\n 'to-top', 'to-bottom', 'top-offset', 'relative-offset', 'target'\r\n])"
322
403
  },
323
404
  "required": false,
324
- "description": "The content of the tab - will only be displayed if this tab is selected"
405
+ "description": "",
406
+ "defaultValue": {
407
+ "value": "'to-top'",
408
+ "computed": false
409
+ }
325
410
  },
326
- "className": {
411
+ "executeScroll": {
327
412
  "type": {
328
- "name": "string"
413
+ "name": "custom",
414
+ "raw": "PropTypes.bool"
329
415
  },
330
416
  "required": false,
331
417
  "description": "",
332
418
  "defaultValue": {
333
- "value": "'feffery-paste-image-container'",
419
+ "value": "false",
334
420
  "computed": false
335
421
  }
336
422
  },
337
- "style": {
423
+ "scrollTopOffset": {
338
424
  "type": {
339
- "name": "object"
425
+ "name": "custom",
426
+ "raw": "PropTypes.number"
340
427
  },
341
428
  "required": false,
342
429
  "description": ""
343
430
  },
344
- "currentPastedImages": {
431
+ "scrollRelativeOffset": {
345
432
  "type": {
346
- "name": "arrayOf",
347
- "value": {
348
- "name": "any"
349
- }
433
+ "name": "custom",
434
+ "raw": "PropTypes.number"
350
435
  },
351
436
  "required": false,
352
- "description": "",
353
- "defaultValue": {
354
- "value": "[]",
355
- "computed": false
356
- }
437
+ "description": ""
357
438
  },
358
- "deletedIdx": {
439
+ "scrollTargetId": {
359
440
  "type": {
360
- "name": "arrayOf",
361
- "value": {
362
- "name": "number"
363
- }
441
+ "name": "custom",
442
+ "raw": "PropTypes.string"
364
443
  },
365
444
  "required": false,
366
- "description": "",
367
- "defaultValue": {
368
- "value": "[]",
369
- "computed": false
370
- }
445
+ "description": ""
371
446
  },
372
- "imageHeight": {
447
+ "duration": {
373
448
  "type": {
374
- "name": "number"
449
+ "name": "custom",
450
+ "raw": "PropTypes.number"
375
451
  },
376
452
  "required": false,
377
- "description": "",
378
- "defaultValue": {
379
- "value": "200",
380
- "computed": false
381
- }
453
+ "description": ""
454
+ },
455
+ "smooth": {
456
+ "type": {
457
+ "name": "custom",
458
+ "raw": "PropTypes.oneOf([\r\n 'linear',\r\n 'easeInQuad',\r\n 'easeOutQuad',\r\n 'easeInOutQuad',\r\n 'easeInCubic',\r\n 'easeOutCubic',\r\n 'easeInOutCubic',\r\n 'easeInQuart',\r\n 'easeOutQuart',\r\n 'easeInOutQuart',\r\n 'easeInQuint',\r\n 'easeOutQuint',\r\n 'easeInOutQuint'\r\n])"
459
+ },
460
+ "required": false,
461
+ "description": ""
462
+ },
463
+ "delay": {
464
+ "type": {
465
+ "name": "custom",
466
+ "raw": "PropTypes.number"
467
+ },
468
+ "required": false,
469
+ "description": ""
470
+ },
471
+ "containerId": {
472
+ "type": {
473
+ "name": "custom",
474
+ "raw": "PropTypes.string"
475
+ },
476
+ "required": false,
477
+ "description": ""
478
+ },
479
+ "offset": {
480
+ "type": {
481
+ "name": "custom",
482
+ "raw": "PropTypes.number"
483
+ },
484
+ "required": false,
485
+ "description": ""
382
486
  },
383
487
  "loading_state": {
384
488
  "type": {
385
- "name": "shape",
386
- "value": {
387
- "is_loading": {
388
- "name": "bool",
389
- "description": "Determines if the component is loading or not",
390
- "required": false
391
- },
392
- "prop_name": {
393
- "name": "string",
394
- "description": "Holds which property is loading",
395
- "required": false
396
- },
397
- "component_name": {
398
- "name": "string",
399
- "description": "Holds the name of the component that is loading",
400
- "required": false
401
- }
402
- }
489
+ "name": "custom",
490
+ "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})"
403
491
  },
404
492
  "required": false,
405
493
  "description": ""
406
494
  },
407
495
  "setProps": {
408
496
  "type": {
409
- "name": "func"
497
+ "name": "custom",
498
+ "raw": "PropTypes.func"
410
499
  },
411
500
  "required": false,
412
501
  "description": "Dash-assigned callback that should be called to report property changes\r\nto Dash, to make them available for callbacks."
@@ -769,121 +858,6 @@
769
858
  }
770
859
  }
771
860
  },
772
- "src/lib/components/FefferyWaterMark.react.js": {
773
- "description": "",
774
- "displayName": "FefferyWaterMark",
775
- "methods": [],
776
- "props": {
777
- "id": {
778
- "type": {
779
- "name": "string"
780
- },
781
- "required": false,
782
- "description": ""
783
- },
784
- "children": {
785
- "type": {
786
- "name": "node"
787
- },
788
- "required": false,
789
- "description": "The content of the tab - will only be displayed if this tab is selected"
790
- },
791
- "className": {
792
- "type": {
793
- "name": "string"
794
- },
795
- "required": false,
796
- "description": ""
797
- },
798
- "style": {
799
- "type": {
800
- "name": "object"
801
- },
802
- "required": false,
803
- "description": ""
804
- },
805
- "content": {
806
- "type": {
807
- "name": "string"
808
- },
809
- "required": false,
810
- "description": ""
811
- },
812
- "rotate": {
813
- "type": {
814
- "name": "number"
815
- },
816
- "required": false,
817
- "description": ""
818
- },
819
- "zIndex": {
820
- "type": {
821
- "name": "number"
822
- },
823
- "required": false,
824
- "description": ""
825
- },
826
- "fontColor": {
827
- "type": {
828
- "name": "string"
829
- },
830
- "required": false,
831
- "description": ""
832
- },
833
- "fontSize": {
834
- "type": {
835
- "name": "number"
836
- },
837
- "required": false,
838
- "description": ""
839
- },
840
- "gapX": {
841
- "type": {
842
- "name": "number"
843
- },
844
- "required": false,
845
- "description": ""
846
- },
847
- "gapY": {
848
- "type": {
849
- "name": "number"
850
- },
851
- "required": false,
852
- "description": ""
853
- },
854
- "loading_state": {
855
- "type": {
856
- "name": "shape",
857
- "value": {
858
- "is_loading": {
859
- "name": "bool",
860
- "description": "Determines if the component is loading or not",
861
- "required": false
862
- },
863
- "prop_name": {
864
- "name": "string",
865
- "description": "Holds which property is loading",
866
- "required": false
867
- },
868
- "component_name": {
869
- "name": "string",
870
- "description": "Holds the name of the component that is loading",
871
- "required": false
872
- }
873
- }
874
- },
875
- "required": false,
876
- "description": ""
877
- },
878
- "setProps": {
879
- "type": {
880
- "name": "func"
881
- },
882
- "required": false,
883
- "description": "Dash-assigned callback that should be called to report property changes\r\nto Dash, to make them available for callbacks."
884
- }
885
- }
886
- },
887
861
  "src/lib/components/split/FefferySplit.react.js": {
888
862
  "description": "",
889
863
  "displayName": "FefferySplit",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "feffery_utils_components",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "description": "Utility augments components of Dash!",
5
5
  "repository": {
6
6
  "type": "git",
@@ -22,7 +22,6 @@
22
22
  "author": "CNFeffery <fefferypzy@gmail.com>",
23
23
  "license": "MIT",
24
24
  "dependencies": {
25
- "@ant-design/pro-layout": "^6.24.0",
26
25
  "@charliewilco/gluejar": "^1.0.0",
27
26
  "byte-guide": "^1.0.7",
28
27
  "file-loader": "^6.2.0",
@@ -34,9 +33,11 @@
34
33
  "ramda": "^0.26.1",
35
34
  "re-resizable": "^6.9.1",
36
35
  "react-captcha-code": "^1.0.7",
36
+ "react-color": "^2.19.3",
37
37
  "react-contexify": "^5.0.0",
38
38
  "react-copy-to-clipboard": "^5.0.4",
39
39
  "react-icons": "^4.3.1",
40
+ "react-scroll": "^1.8.6",
40
41
  "react-split": "^2.0.14",
41
42
  "react-syntax-highlighter": "^15.4.4"
42
43
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "feffery_utils_components",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "description": "Utility augments components of Dash!",
5
5
  "repository": {
6
6
  "type": "git",
@@ -22,7 +22,6 @@
22
22
  "author": "CNFeffery <fefferypzy@gmail.com>",
23
23
  "license": "MIT",
24
24
  "dependencies": {
25
- "@ant-design/pro-layout": "^6.24.0",
26
25
  "@charliewilco/gluejar": "^1.0.0",
27
26
  "byte-guide": "^1.0.7",
28
27
  "file-loader": "^6.2.0",
@@ -34,9 +33,11 @@
34
33
  "ramda": "^0.26.1",
35
34
  "re-resizable": "^6.9.1",
36
35
  "react-captcha-code": "^1.0.7",
36
+ "react-color": "^2.19.3",
37
37
  "react-contexify": "^5.0.0",
38
38
  "react-copy-to-clipboard": "^5.0.4",
39
39
  "react-icons": "^4.3.1",
40
+ "react-scroll": "^1.8.6",
40
41
  "react-split": "^2.0.14",
41
42
  "react-syntax-highlighter": "^15.4.4"
42
43
  },
@@ -3,16 +3,16 @@ module FefferyUtilsComponents
3
3
  using Dash
4
4
 
5
5
  const resources_path = realpath(joinpath( @__DIR__, "..", "deps"))
6
- const version = "0.0.9"
6
+ const version = "0.0.10"
7
7
 
8
+ include("jl/''_fefferycirclecolorpicker.jl")
8
9
  include("jl/''_fefferycaptcha.jl")
9
10
  include("jl/''_fefferyexecutejs.jl")
10
11
  include("jl/''_fefferyguide.jl")
11
- include("jl/''_fefferypasteimage.jl")
12
+ include("jl/''_fefferyscroll.jl")
12
13
  include("jl/''_fefferyshortcutpanel.jl")
13
14
  include("jl/''_fefferysyntaxhighlighter.jl")
14
15
  include("jl/''_fefferytopprogress.jl")
15
- include("jl/''_fefferywatermark.jl")
16
16
  include("jl/''_fefferysplit.jl")
17
17
  include("jl/''_fefferysplitpane.jl")
18
18
 
@@ -25,14 +25,14 @@ function __init__()
25
25
  [
26
26
  DashBase.Resource(
27
27
  relative_package_path = "feffery_utils_components.min.js",
28
- external_url = "https://unpkg.com/feffery_utils_components@0.0.9/feffery_utils_components/feffery_utils_components.min.js",
28
+ external_url = "https://unpkg.com/feffery_utils_components@0.0.10/feffery_utils_components/feffery_utils_components.min.js",
29
29
  dynamic = nothing,
30
30
  async = nothing,
31
31
  type = :js
32
32
  ),
33
33
  DashBase.Resource(
34
34
  relative_package_path = "feffery_utils_components.min.js.map",
35
- external_url = "https://unpkg.com/feffery_utils_components@0.0.9/feffery_utils_components/feffery_utils_components.min.js.map",
35
+ external_url = "https://unpkg.com/feffery_utils_components@0.0.10/feffery_utils_components/feffery_utils_components.min.js.map",
36
36
  dynamic = true,
37
37
  async = nothing,
38
38
  type = :js
@@ -0,0 +1,26 @@
1
+ # AUTO GENERATED FILE - DO NOT EDIT
2
+
3
+ export ''_fefferycirclecolorpicker
4
+
5
+ """
6
+ ''_fefferycirclecolorpicker(;kwargs...)
7
+
8
+ A FefferyCircleColorPicker component.
9
+
10
+ Keyword arguments:
11
+ - `id` (optional)
12
+ - `circleSize` (optional)
13
+ - `circleSpacing` (optional)
14
+ - `className` (optional)
15
+ - `color` (optional)
16
+ - `colors` (optional)
17
+ - `loading_state` (optional)
18
+ - `style` (optional)
19
+ - `width` (optional)
20
+ """
21
+ function ''_fefferycirclecolorpicker(; kwargs...)
22
+ available_props = Symbol[:id, :circleSize, :circleSpacing, :className, :color, :colors, :loading_state, :style, :width]
23
+ wild_props = Symbol[]
24
+ return Component("''_fefferycirclecolorpicker", "FefferyCircleColorPicker", "feffery_utils_components", available_props, wild_props; kwargs...)
25
+ end
26
+
@@ -0,0 +1,22 @@
1
+ # AUTO GENERATED FILE - DO NOT EDIT
2
+
3
+ export ''_fefferycolorpicker
4
+
5
+ """
6
+ ''_fefferycolorpicker(;kwargs...)
7
+
8
+ A FefferyColorPicker component.
9
+
10
+ Keyword arguments:
11
+ - `id` (optional)
12
+ - `className` (optional)
13
+ - `loading_state` (optional)
14
+ - `style` (optional)
15
+ - `type` (optional)
16
+ """
17
+ function ''_fefferycolorpicker(; kwargs...)
18
+ available_props = Symbol[:id, :className, :loading_state, :style, :type]
19
+ wild_props = Symbol[]
20
+ return Component("''_fefferycolorpicker", "FefferyColorPicker", "feffery_utils_components", available_props, wild_props; kwargs...)
21
+ end
22
+
@@ -0,0 +1,31 @@
1
+ # AUTO GENERATED FILE - DO NOT EDIT
2
+
3
+ export ''_fefferyscroll
4
+
5
+ """
6
+ ''_fefferyscroll(;kwargs...)
7
+
8
+ A FefferyScroll component.
9
+
10
+ Keyword arguments:
11
+ - `id` (optional)
12
+ - `containerId` (optional)
13
+ - `delay` (optional)
14
+ - `duration` (optional)
15
+ - `executeScroll` (optional)
16
+ - `loading_state` (optional)
17
+ - `offset` (optional)
18
+ - `scrollMode` (optional)
19
+ - `scrollRelativeOffset` (optional)
20
+ - `scrollTargetId` (optional)
21
+ - `scrollTopOffset` (optional)
22
+ - `setProps` (optional): Dash-assigned callback that should be called to report property changes
23
+ to Dash, to make them available for callbacks.
24
+ - `smooth` (optional)
25
+ """
26
+ function ''_fefferyscroll(; kwargs...)
27
+ available_props = Symbol[:id, :containerId, :delay, :duration, :executeScroll, :loading_state, :offset, :scrollMode, :scrollRelativeOffset, :scrollTargetId, :scrollTopOffset, :smooth]
28
+ wild_props = Symbol[]
29
+ return Component("''_fefferyscroll", "FefferyScroll", "feffery_utils_components", available_props, wild_props; kwargs...)
30
+ end
31
+
@@ -14,7 +14,8 @@ const FefferyCaptcha = (props) => {
14
14
  width,
15
15
  bgColor,
16
16
  fontSize,
17
- setProps
17
+ setProps,
18
+ loading_state
18
19
  } = props;
19
20
 
20
21
  // 返回定制化的前端部件
@@ -34,7 +35,10 @@ const FefferyCaptcha = (props) => {
34
35
  width={width}
35
36
  bgColor={bgColor}
36
37
  fontSize={fontSize}
37
- onChange={handleChange} />
38
+ onChange={handleChange}
39
+ data-dash-is-loading={
40
+ (loading_state && loading_state.is_loading) || undefined
41
+ } />
38
42
  );
39
43
  }
40
44
 
@@ -25,6 +25,7 @@ const FefferyGuide = (props) => {
25
25
  okText,
26
26
  step,
27
27
  setProps,
28
+ loading_state
28
29
  } = props;
29
30
 
30
31
  // 返回向页面注入的快捷键监听
@@ -47,7 +48,10 @@ const FefferyGuide = (props) => {
47
48
  prevText={prevText}
48
49
  showPreviousBtn={showPreviousBtn}
49
50
  okText={okText}
50
- step={step} />
51
+ step={step}
52
+ data-dash-is-loading={
53
+ (loading_state && loading_state.is_loading) || undefined
54
+ } />
51
55
  );
52
56
  }
53
57
 
@@ -89,9 +93,12 @@ FefferyGuide.propTypes = {
89
93
  // 设置展示面板的描述内容
90
94
  content: PropTypes.string,
91
95
 
92
- // 设置展示面板相对锚点的方位,可选的有'bottom-left''left-bottom''bottom',默认为'bottom'
96
+ // 设置展示面板相对锚点的方位,可选的有'top', 'bottom', 'left', 'right', 'top-left', 'top-right', 'bottom-left', 'bottom-right', 'left-top', 'left-bottom',
97
+ // 'right-top', 'right-bottom',默认为'bottom'
93
98
  placement: PropTypes.oneOf([
94
- 'bottom-left', 'left-bottom', 'bottom'
99
+ 'top', 'bottom', 'left', 'right', 'top-left', 'top-right',
100
+ 'bottom-left', 'bottom-right', 'left-top', 'left-bottom',
101
+ 'right-top', 'right-bottom'
95
102
  ]),
96
103
 
97
104
  // 设置展示面板的像素偏移量
@@ -116,7 +123,7 @@ FefferyGuide.propTypes = {
116
123
  // 设置蒙版层的类名
117
124
  maskClassName: PropTypes.string,
118
125
 
119
- // 设置是否展示蒙板层,默认为true
126
+ // 设置是否展示蒙板层,默认为true
120
127
  mask: PropTypes.bool,
121
128
 
122
129
  // 设置展示面板是否添加箭头,默认为true