feffery_utils_components 0.0.26 → 0.0.28
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 +2 -0
- package/Project.toml +1 -1
- package/build/lib/feffery_utils_components/FefferyFancyNotification.py +85 -0
- package/build/lib/feffery_utils_components/FefferyQRCode.py +72 -0
- package/build/lib/feffery_utils_components/_imports_.py +4 -0
- package/build/lib/feffery_utils_components/feffery_utils_components.min.js +2 -2
- package/build/lib/feffery_utils_components/metadata.json +444 -0
- package/build/lib/feffery_utils_components/package-info.json +3 -1
- package/feffery_utils_components/FefferyFancyMessage.py +67 -0
- package/feffery_utils_components/FefferyQRCode.py +72 -0
- package/feffery_utils_components/_imports_.py +4 -0
- package/feffery_utils_components/feffery_utils_components.min.js +181 -11
- package/feffery_utils_components/metadata.json +371 -0
- package/feffery_utils_components/package-info.json +3 -1
- package/package.json +3 -1
- package/src/FefferyUtilsComponents.jl +5 -3
- package/src/jl/''_fefferyfancymessage.jl +42 -0
- package/src/jl/''_fefferyqrcode.jl +36 -0
- package/src/lib/components/FefferyFancyMessage.js +161 -0
- package/src/lib/components/FefferyQRCode.react.js +132 -0
- package/src/lib/index.js +5 -1
- package/tests/FancyMessageTest/app.py +46 -0
- package/tests/QRCodeTest/app.py +41 -0
|
@@ -1391,6 +1391,279 @@
|
|
|
1391
1391
|
}
|
|
1392
1392
|
}
|
|
1393
1393
|
},
|
|
1394
|
+
"src/lib/components/FefferyFancyNotification.js": {
|
|
1395
|
+
"description": "",
|
|
1396
|
+
"displayName": "FefferyFancyNotification",
|
|
1397
|
+
"methods": [],
|
|
1398
|
+
"props": {
|
|
1399
|
+
"children": {
|
|
1400
|
+
"type": {
|
|
1401
|
+
"name": "node"
|
|
1402
|
+
},
|
|
1403
|
+
"required": false,
|
|
1404
|
+
"description": ""
|
|
1405
|
+
},
|
|
1406
|
+
"id": {
|
|
1407
|
+
"type": {
|
|
1408
|
+
"name": "string"
|
|
1409
|
+
},
|
|
1410
|
+
"required": false,
|
|
1411
|
+
"description": ""
|
|
1412
|
+
},
|
|
1413
|
+
"key": {
|
|
1414
|
+
"type": {
|
|
1415
|
+
"name": "string"
|
|
1416
|
+
},
|
|
1417
|
+
"required": false,
|
|
1418
|
+
"description": ""
|
|
1419
|
+
},
|
|
1420
|
+
"className": {
|
|
1421
|
+
"type": {
|
|
1422
|
+
"name": "string"
|
|
1423
|
+
},
|
|
1424
|
+
"required": false,
|
|
1425
|
+
"description": ""
|
|
1426
|
+
},
|
|
1427
|
+
"style": {
|
|
1428
|
+
"type": {
|
|
1429
|
+
"name": "object"
|
|
1430
|
+
},
|
|
1431
|
+
"required": false,
|
|
1432
|
+
"description": ""
|
|
1433
|
+
},
|
|
1434
|
+
"type": {
|
|
1435
|
+
"type": {
|
|
1436
|
+
"name": "enum",
|
|
1437
|
+
"value": [
|
|
1438
|
+
{
|
|
1439
|
+
"value": "'info'",
|
|
1440
|
+
"computed": false
|
|
1441
|
+
},
|
|
1442
|
+
{
|
|
1443
|
+
"value": "'success'",
|
|
1444
|
+
"computed": false
|
|
1445
|
+
},
|
|
1446
|
+
{
|
|
1447
|
+
"value": "'warning'",
|
|
1448
|
+
"computed": false
|
|
1449
|
+
},
|
|
1450
|
+
{
|
|
1451
|
+
"value": "'error'",
|
|
1452
|
+
"computed": false
|
|
1453
|
+
}
|
|
1454
|
+
]
|
|
1455
|
+
},
|
|
1456
|
+
"required": false,
|
|
1457
|
+
"description": ""
|
|
1458
|
+
},
|
|
1459
|
+
"visible": {
|
|
1460
|
+
"type": {
|
|
1461
|
+
"name": "bool"
|
|
1462
|
+
},
|
|
1463
|
+
"required": false,
|
|
1464
|
+
"description": "",
|
|
1465
|
+
"defaultValue": {
|
|
1466
|
+
"value": "true",
|
|
1467
|
+
"computed": false
|
|
1468
|
+
}
|
|
1469
|
+
},
|
|
1470
|
+
"position": {
|
|
1471
|
+
"type": {
|
|
1472
|
+
"name": "enum",
|
|
1473
|
+
"value": [
|
|
1474
|
+
{
|
|
1475
|
+
"value": "'top-right'",
|
|
1476
|
+
"computed": false
|
|
1477
|
+
},
|
|
1478
|
+
{
|
|
1479
|
+
"value": "'top-center'",
|
|
1480
|
+
"computed": false
|
|
1481
|
+
},
|
|
1482
|
+
{
|
|
1483
|
+
"value": "'top-left'",
|
|
1484
|
+
"computed": false
|
|
1485
|
+
},
|
|
1486
|
+
{
|
|
1487
|
+
"value": "'bottom-right'",
|
|
1488
|
+
"computed": false
|
|
1489
|
+
},
|
|
1490
|
+
{
|
|
1491
|
+
"value": "'bottom-cente'",
|
|
1492
|
+
"computed": false
|
|
1493
|
+
},
|
|
1494
|
+
{
|
|
1495
|
+
"value": "'bottom-left'",
|
|
1496
|
+
"computed": false
|
|
1497
|
+
}
|
|
1498
|
+
]
|
|
1499
|
+
},
|
|
1500
|
+
"required": false,
|
|
1501
|
+
"description": ""
|
|
1502
|
+
},
|
|
1503
|
+
"autoClose": {
|
|
1504
|
+
"type": {
|
|
1505
|
+
"name": "union",
|
|
1506
|
+
"value": [
|
|
1507
|
+
{
|
|
1508
|
+
"name": "bool"
|
|
1509
|
+
},
|
|
1510
|
+
{
|
|
1511
|
+
"name": "number"
|
|
1512
|
+
}
|
|
1513
|
+
]
|
|
1514
|
+
},
|
|
1515
|
+
"required": false,
|
|
1516
|
+
"description": ""
|
|
1517
|
+
},
|
|
1518
|
+
"closable": {
|
|
1519
|
+
"type": {
|
|
1520
|
+
"name": "bool"
|
|
1521
|
+
},
|
|
1522
|
+
"required": false,
|
|
1523
|
+
"description": "",
|
|
1524
|
+
"defaultValue": {
|
|
1525
|
+
"value": "true",
|
|
1526
|
+
"computed": false
|
|
1527
|
+
}
|
|
1528
|
+
},
|
|
1529
|
+
"hideProgressBar": {
|
|
1530
|
+
"type": {
|
|
1531
|
+
"name": "bool"
|
|
1532
|
+
},
|
|
1533
|
+
"required": false,
|
|
1534
|
+
"description": ""
|
|
1535
|
+
},
|
|
1536
|
+
"pauseOnHover": {
|
|
1537
|
+
"type": {
|
|
1538
|
+
"name": "bool"
|
|
1539
|
+
},
|
|
1540
|
+
"required": false,
|
|
1541
|
+
"description": ""
|
|
1542
|
+
},
|
|
1543
|
+
"closeOnClick": {
|
|
1544
|
+
"type": {
|
|
1545
|
+
"name": "bool"
|
|
1546
|
+
},
|
|
1547
|
+
"required": false,
|
|
1548
|
+
"description": ""
|
|
1549
|
+
},
|
|
1550
|
+
"newestOnTop": {
|
|
1551
|
+
"type": {
|
|
1552
|
+
"name": "bool"
|
|
1553
|
+
},
|
|
1554
|
+
"required": false,
|
|
1555
|
+
"description": ""
|
|
1556
|
+
},
|
|
1557
|
+
"toastClassName": {
|
|
1558
|
+
"type": {
|
|
1559
|
+
"name": "string"
|
|
1560
|
+
},
|
|
1561
|
+
"required": false,
|
|
1562
|
+
"description": ""
|
|
1563
|
+
},
|
|
1564
|
+
"bodyClassName": {
|
|
1565
|
+
"type": {
|
|
1566
|
+
"name": "string"
|
|
1567
|
+
},
|
|
1568
|
+
"required": false,
|
|
1569
|
+
"description": ""
|
|
1570
|
+
},
|
|
1571
|
+
"progressClassName": {
|
|
1572
|
+
"type": {
|
|
1573
|
+
"name": "string"
|
|
1574
|
+
},
|
|
1575
|
+
"required": false,
|
|
1576
|
+
"description": ""
|
|
1577
|
+
},
|
|
1578
|
+
"progressStyle": {
|
|
1579
|
+
"type": {
|
|
1580
|
+
"name": "object"
|
|
1581
|
+
},
|
|
1582
|
+
"required": false,
|
|
1583
|
+
"description": ""
|
|
1584
|
+
},
|
|
1585
|
+
"draggable": {
|
|
1586
|
+
"type": {
|
|
1587
|
+
"name": "bool"
|
|
1588
|
+
},
|
|
1589
|
+
"required": false,
|
|
1590
|
+
"description": ""
|
|
1591
|
+
},
|
|
1592
|
+
"draggablePercent": {
|
|
1593
|
+
"type": {
|
|
1594
|
+
"name": "number"
|
|
1595
|
+
},
|
|
1596
|
+
"required": false,
|
|
1597
|
+
"description": ""
|
|
1598
|
+
},
|
|
1599
|
+
"containerId": {
|
|
1600
|
+
"type": {
|
|
1601
|
+
"name": "string"
|
|
1602
|
+
},
|
|
1603
|
+
"required": false,
|
|
1604
|
+
"description": ""
|
|
1605
|
+
},
|
|
1606
|
+
"limit": {
|
|
1607
|
+
"type": {
|
|
1608
|
+
"name": "number"
|
|
1609
|
+
},
|
|
1610
|
+
"required": false,
|
|
1611
|
+
"description": ""
|
|
1612
|
+
},
|
|
1613
|
+
"theme": {
|
|
1614
|
+
"type": {
|
|
1615
|
+
"name": "enum",
|
|
1616
|
+
"value": [
|
|
1617
|
+
{
|
|
1618
|
+
"value": "'light'",
|
|
1619
|
+
"computed": false
|
|
1620
|
+
},
|
|
1621
|
+
{
|
|
1622
|
+
"value": "'dark'",
|
|
1623
|
+
"computed": false
|
|
1624
|
+
},
|
|
1625
|
+
{
|
|
1626
|
+
"value": "'colored'",
|
|
1627
|
+
"computed": false
|
|
1628
|
+
}
|
|
1629
|
+
]
|
|
1630
|
+
},
|
|
1631
|
+
"required": false,
|
|
1632
|
+
"description": ""
|
|
1633
|
+
},
|
|
1634
|
+
"setProps": {
|
|
1635
|
+
"type": {
|
|
1636
|
+
"name": "func"
|
|
1637
|
+
},
|
|
1638
|
+
"required": false,
|
|
1639
|
+
"description": "Dash-assigned callback that should be called to report property changes\r\nto Dash, to make them available for callbacks."
|
|
1640
|
+
},
|
|
1641
|
+
"loading_state": {
|
|
1642
|
+
"type": {
|
|
1643
|
+
"name": "shape",
|
|
1644
|
+
"value": {
|
|
1645
|
+
"is_loading": {
|
|
1646
|
+
"name": "bool",
|
|
1647
|
+
"description": "Determines if the component is loading or not",
|
|
1648
|
+
"required": false
|
|
1649
|
+
},
|
|
1650
|
+
"prop_name": {
|
|
1651
|
+
"name": "string",
|
|
1652
|
+
"description": "Holds which property is loading",
|
|
1653
|
+
"required": false
|
|
1654
|
+
},
|
|
1655
|
+
"component_name": {
|
|
1656
|
+
"name": "string",
|
|
1657
|
+
"description": "Holds the name of the component that is loading",
|
|
1658
|
+
"required": false
|
|
1659
|
+
}
|
|
1660
|
+
}
|
|
1661
|
+
},
|
|
1662
|
+
"required": false,
|
|
1663
|
+
"description": ""
|
|
1664
|
+
}
|
|
1665
|
+
}
|
|
1666
|
+
},
|
|
1394
1667
|
"src/lib/components/FefferyGuide.react.js": {
|
|
1395
1668
|
"description": "",
|
|
1396
1669
|
"displayName": "FefferyGuide",
|
|
@@ -2014,6 +2287,177 @@
|
|
|
2014
2287
|
}
|
|
2015
2288
|
}
|
|
2016
2289
|
},
|
|
2290
|
+
"src/lib/components/FefferyQRCode.react.js": {
|
|
2291
|
+
"description": "",
|
|
2292
|
+
"displayName": "FefferyQRCode",
|
|
2293
|
+
"methods": [],
|
|
2294
|
+
"props": {
|
|
2295
|
+
"id": {
|
|
2296
|
+
"type": {
|
|
2297
|
+
"name": "string"
|
|
2298
|
+
},
|
|
2299
|
+
"required": false,
|
|
2300
|
+
"description": ""
|
|
2301
|
+
},
|
|
2302
|
+
"value": {
|
|
2303
|
+
"type": {
|
|
2304
|
+
"name": "string"
|
|
2305
|
+
},
|
|
2306
|
+
"required": true,
|
|
2307
|
+
"description": ""
|
|
2308
|
+
},
|
|
2309
|
+
"size": {
|
|
2310
|
+
"type": {
|
|
2311
|
+
"name": "number"
|
|
2312
|
+
},
|
|
2313
|
+
"required": false,
|
|
2314
|
+
"description": "",
|
|
2315
|
+
"defaultValue": {
|
|
2316
|
+
"value": "128",
|
|
2317
|
+
"computed": false
|
|
2318
|
+
}
|
|
2319
|
+
},
|
|
2320
|
+
"bgColor": {
|
|
2321
|
+
"type": {
|
|
2322
|
+
"name": "string"
|
|
2323
|
+
},
|
|
2324
|
+
"required": false,
|
|
2325
|
+
"description": "",
|
|
2326
|
+
"defaultValue": {
|
|
2327
|
+
"value": "'#FFFFFF'",
|
|
2328
|
+
"computed": false
|
|
2329
|
+
}
|
|
2330
|
+
},
|
|
2331
|
+
"fgColor": {
|
|
2332
|
+
"type": {
|
|
2333
|
+
"name": "string"
|
|
2334
|
+
},
|
|
2335
|
+
"required": false,
|
|
2336
|
+
"description": "",
|
|
2337
|
+
"defaultValue": {
|
|
2338
|
+
"value": "'#000000'",
|
|
2339
|
+
"computed": false
|
|
2340
|
+
}
|
|
2341
|
+
},
|
|
2342
|
+
"level": {
|
|
2343
|
+
"type": {
|
|
2344
|
+
"name": "enum",
|
|
2345
|
+
"value": [
|
|
2346
|
+
{
|
|
2347
|
+
"value": "'L'",
|
|
2348
|
+
"computed": false
|
|
2349
|
+
},
|
|
2350
|
+
{
|
|
2351
|
+
"value": "'M'",
|
|
2352
|
+
"computed": false
|
|
2353
|
+
},
|
|
2354
|
+
{
|
|
2355
|
+
"value": "'Q'",
|
|
2356
|
+
"computed": false
|
|
2357
|
+
},
|
|
2358
|
+
{
|
|
2359
|
+
"value": "'H'",
|
|
2360
|
+
"computed": false
|
|
2361
|
+
}
|
|
2362
|
+
]
|
|
2363
|
+
},
|
|
2364
|
+
"required": false,
|
|
2365
|
+
"description": "",
|
|
2366
|
+
"defaultValue": {
|
|
2367
|
+
"value": "'L'",
|
|
2368
|
+
"computed": false
|
|
2369
|
+
}
|
|
2370
|
+
},
|
|
2371
|
+
"includeMargin": {
|
|
2372
|
+
"type": {
|
|
2373
|
+
"name": "bool"
|
|
2374
|
+
},
|
|
2375
|
+
"required": false,
|
|
2376
|
+
"description": "",
|
|
2377
|
+
"defaultValue": {
|
|
2378
|
+
"value": "false",
|
|
2379
|
+
"computed": false
|
|
2380
|
+
}
|
|
2381
|
+
},
|
|
2382
|
+
"imageSettings": {
|
|
2383
|
+
"type": {
|
|
2384
|
+
"name": "exact",
|
|
2385
|
+
"value": {
|
|
2386
|
+
"src": {
|
|
2387
|
+
"name": "string",
|
|
2388
|
+
"required": false
|
|
2389
|
+
},
|
|
2390
|
+
"height": {
|
|
2391
|
+
"name": "number",
|
|
2392
|
+
"required": false
|
|
2393
|
+
},
|
|
2394
|
+
"width": {
|
|
2395
|
+
"name": "number",
|
|
2396
|
+
"required": false
|
|
2397
|
+
},
|
|
2398
|
+
"excavate": {
|
|
2399
|
+
"name": "bool",
|
|
2400
|
+
"required": false
|
|
2401
|
+
}
|
|
2402
|
+
}
|
|
2403
|
+
},
|
|
2404
|
+
"required": false,
|
|
2405
|
+
"description": ""
|
|
2406
|
+
},
|
|
2407
|
+
"renderer": {
|
|
2408
|
+
"type": {
|
|
2409
|
+
"name": "enum",
|
|
2410
|
+
"value": [
|
|
2411
|
+
{
|
|
2412
|
+
"value": "'svg'",
|
|
2413
|
+
"computed": false
|
|
2414
|
+
},
|
|
2415
|
+
{
|
|
2416
|
+
"value": "'canvas'",
|
|
2417
|
+
"computed": false
|
|
2418
|
+
}
|
|
2419
|
+
]
|
|
2420
|
+
},
|
|
2421
|
+
"required": false,
|
|
2422
|
+
"description": "",
|
|
2423
|
+
"defaultValue": {
|
|
2424
|
+
"value": "'svg'",
|
|
2425
|
+
"computed": false
|
|
2426
|
+
}
|
|
2427
|
+
},
|
|
2428
|
+
"loading_state": {
|
|
2429
|
+
"type": {
|
|
2430
|
+
"name": "shape",
|
|
2431
|
+
"value": {
|
|
2432
|
+
"is_loading": {
|
|
2433
|
+
"name": "bool",
|
|
2434
|
+
"description": "Determines if the component is loading or not",
|
|
2435
|
+
"required": false
|
|
2436
|
+
},
|
|
2437
|
+
"prop_name": {
|
|
2438
|
+
"name": "string",
|
|
2439
|
+
"description": "Holds which property is loading",
|
|
2440
|
+
"required": false
|
|
2441
|
+
},
|
|
2442
|
+
"component_name": {
|
|
2443
|
+
"name": "string",
|
|
2444
|
+
"description": "Holds the name of the component that is loading",
|
|
2445
|
+
"required": false
|
|
2446
|
+
}
|
|
2447
|
+
}
|
|
2448
|
+
},
|
|
2449
|
+
"required": false,
|
|
2450
|
+
"description": ""
|
|
2451
|
+
},
|
|
2452
|
+
"setProps": {
|
|
2453
|
+
"type": {
|
|
2454
|
+
"name": "func"
|
|
2455
|
+
},
|
|
2456
|
+
"required": false,
|
|
2457
|
+
"description": "Dash-assigned callback that should be called to report property changes\r\nto Dash, to make them available for callbacks."
|
|
2458
|
+
}
|
|
2459
|
+
}
|
|
2460
|
+
},
|
|
2017
2461
|
"src/lib/components/FefferyScroll.react.js": {
|
|
2018
2462
|
"description": "",
|
|
2019
2463
|
"displayName": "FefferyScroll",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "feffery_utils_components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.27",
|
|
4
4
|
"description": "Build more utility components for Plotly Dash.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
"lodash": "^4.17.21",
|
|
33
33
|
"ninja-keys": "^1.1.12",
|
|
34
34
|
"nprogress": "^0.2.0",
|
|
35
|
+
"qrcode.react": "^3.1.0",
|
|
35
36
|
"ramda": "^0.26.1",
|
|
36
37
|
"rc-virtual-list": "^3.4.8",
|
|
37
38
|
"react-captcha-code": "^1.0.7",
|
|
@@ -46,6 +47,7 @@
|
|
|
46
47
|
"react-spinners-kit": "^1.9.1",
|
|
47
48
|
"react-split": "^2.0.14",
|
|
48
49
|
"react-syntax-highlighter": "^15.4.4",
|
|
50
|
+
"react-toastify": "9.0.3",
|
|
49
51
|
"react-use": "^17.4.0",
|
|
50
52
|
"simplebar-react": "^2.3.7"
|
|
51
53
|
},
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class FefferyFancyMessage(Component):
|
|
7
|
+
"""A FefferyFancyMessage component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- children (a list of or a singular dash component, string or number; optional)
|
|
13
|
+
|
|
14
|
+
- id (string; optional)
|
|
15
|
+
|
|
16
|
+
- className (string; optional)
|
|
17
|
+
|
|
18
|
+
- containerClassName (string; optional)
|
|
19
|
+
|
|
20
|
+
- containerStyle (dict; optional)
|
|
21
|
+
|
|
22
|
+
- duration (number; default 4000)
|
|
23
|
+
|
|
24
|
+
- gutter (number; default 8)
|
|
25
|
+
|
|
26
|
+
- icon (a list of or a singular dash component, string or number; optional)
|
|
27
|
+
|
|
28
|
+
- key (string; optional)
|
|
29
|
+
|
|
30
|
+
- loading_state (dict; optional)
|
|
31
|
+
|
|
32
|
+
`loading_state` is a dict with keys:
|
|
33
|
+
|
|
34
|
+
- component_name (string; optional):
|
|
35
|
+
Holds the name of the component that is loading.
|
|
36
|
+
|
|
37
|
+
- is_loading (boolean; optional):
|
|
38
|
+
Determines if the component is loading or not.
|
|
39
|
+
|
|
40
|
+
- prop_name (string; optional):
|
|
41
|
+
Holds which property is loading.
|
|
42
|
+
|
|
43
|
+
- position (a value equal to: 'top-left', 'top-center', 'top-right', 'bottom-left', 'bottom-center', 'bottom-right'; default 'top-center')
|
|
44
|
+
|
|
45
|
+
- reverseOrder (boolean; default True)
|
|
46
|
+
|
|
47
|
+
- style (dict; optional)
|
|
48
|
+
|
|
49
|
+
- type (a value equal to: 'blank', 'success', 'error'; default 'blank')
|
|
50
|
+
|
|
51
|
+
- visible (boolean; default True)"""
|
|
52
|
+
_children_props = ['icon']
|
|
53
|
+
_base_nodes = ['icon', 'children']
|
|
54
|
+
_namespace = 'feffery_utils_components'
|
|
55
|
+
_type = 'FefferyFancyMessage'
|
|
56
|
+
@_explicitize_args
|
|
57
|
+
def __init__(self, children=None, id=Component.UNDEFINED, key=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, visible=Component.UNDEFINED, position=Component.UNDEFINED, reverseOrder=Component.UNDEFINED, containerClassName=Component.UNDEFINED, containerStyle=Component.UNDEFINED, gutter=Component.UNDEFINED, type=Component.UNDEFINED, duration=Component.UNDEFINED, icon=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
58
|
+
self._prop_names = ['children', 'id', 'className', 'containerClassName', 'containerStyle', 'duration', 'gutter', 'icon', 'key', 'loading_state', 'position', 'reverseOrder', 'style', 'type', 'visible']
|
|
59
|
+
self._valid_wildcard_attributes = []
|
|
60
|
+
self.available_properties = ['children', 'id', 'className', 'containerClassName', 'containerStyle', 'duration', 'gutter', 'icon', 'key', 'loading_state', 'position', 'reverseOrder', 'style', 'type', 'visible']
|
|
61
|
+
self.available_wildcard_properties = []
|
|
62
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
63
|
+
_locals = locals()
|
|
64
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
65
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
66
|
+
|
|
67
|
+
super(FefferyFancyMessage, self).__init__(children=children, **args)
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class FefferyQRCode(Component):
|
|
7
|
+
"""A FefferyQRCode component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (string; optional)
|
|
13
|
+
|
|
14
|
+
- bgColor (string; default '#FFFFFF')
|
|
15
|
+
|
|
16
|
+
- fgColor (string; default '#000000')
|
|
17
|
+
|
|
18
|
+
- imageSettings (dict; optional)
|
|
19
|
+
|
|
20
|
+
`imageSettings` is a dict with keys:
|
|
21
|
+
|
|
22
|
+
- excavate (boolean; optional)
|
|
23
|
+
|
|
24
|
+
- height (number; optional)
|
|
25
|
+
|
|
26
|
+
- src (string; optional)
|
|
27
|
+
|
|
28
|
+
- width (number; optional)
|
|
29
|
+
|
|
30
|
+
- includeMargin (boolean; default False)
|
|
31
|
+
|
|
32
|
+
- level (a value equal to: 'L', 'M', 'Q', 'H'; default 'L')
|
|
33
|
+
|
|
34
|
+
- loading_state (dict; optional)
|
|
35
|
+
|
|
36
|
+
`loading_state` is a dict with keys:
|
|
37
|
+
|
|
38
|
+
- component_name (string; optional):
|
|
39
|
+
Holds the name of the component that is loading.
|
|
40
|
+
|
|
41
|
+
- is_loading (boolean; optional):
|
|
42
|
+
Determines if the component is loading or not.
|
|
43
|
+
|
|
44
|
+
- prop_name (string; optional):
|
|
45
|
+
Holds which property is loading.
|
|
46
|
+
|
|
47
|
+
- renderer (a value equal to: 'svg', 'canvas'; default 'svg')
|
|
48
|
+
|
|
49
|
+
- size (number; default 128)
|
|
50
|
+
|
|
51
|
+
- value (string; required)"""
|
|
52
|
+
_children_props = []
|
|
53
|
+
_base_nodes = ['children']
|
|
54
|
+
_namespace = 'feffery_utils_components'
|
|
55
|
+
_type = 'FefferyQRCode'
|
|
56
|
+
@_explicitize_args
|
|
57
|
+
def __init__(self, id=Component.UNDEFINED, value=Component.REQUIRED, size=Component.UNDEFINED, bgColor=Component.UNDEFINED, fgColor=Component.UNDEFINED, level=Component.UNDEFINED, includeMargin=Component.UNDEFINED, imageSettings=Component.UNDEFINED, renderer=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
58
|
+
self._prop_names = ['id', 'bgColor', 'fgColor', 'imageSettings', 'includeMargin', 'level', 'loading_state', 'renderer', 'size', 'value']
|
|
59
|
+
self._valid_wildcard_attributes = []
|
|
60
|
+
self.available_properties = ['id', 'bgColor', 'fgColor', 'imageSettings', 'includeMargin', 'level', 'loading_state', 'renderer', 'size', 'value']
|
|
61
|
+
self.available_wildcard_properties = []
|
|
62
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
63
|
+
_locals = locals()
|
|
64
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
65
|
+
args = {k: _locals[k] for k in _explicit_args}
|
|
66
|
+
|
|
67
|
+
for k in ['value']:
|
|
68
|
+
if k not in args:
|
|
69
|
+
raise TypeError(
|
|
70
|
+
'Required argument `' + k + '` was not specified.')
|
|
71
|
+
|
|
72
|
+
super(FefferyQRCode, self).__init__(**args)
|
|
@@ -13,11 +13,13 @@ from .FefferyCaptcha import FefferyCaptcha
|
|
|
13
13
|
from .FefferyCountDown import FefferyCountDown
|
|
14
14
|
from .FefferyExecuteJs import FefferyExecuteJs
|
|
15
15
|
from .FefferyExtraSpinner import FefferyExtraSpinner
|
|
16
|
+
from .FefferyFancyMessage import FefferyFancyMessage
|
|
16
17
|
from .FefferyFancyNotification import FefferyFancyNotification
|
|
17
18
|
from .FefferyGuide import FefferyGuide
|
|
18
19
|
from .FefferyHighlightWords import FefferyHighlightWords
|
|
19
20
|
from .FefferyLazyLoad import FefferyLazyLoad
|
|
20
21
|
from .FefferyLocation import FefferyLocation
|
|
22
|
+
from .FefferyQRCode import FefferyQRCode
|
|
21
23
|
from .FefferyScroll import FefferyScroll
|
|
22
24
|
from .FefferyScrollbars import FefferyScrollbars
|
|
23
25
|
from .FefferyShortcutPanel import FefferyShortcutPanel
|
|
@@ -54,11 +56,13 @@ __all__ = [
|
|
|
54
56
|
"FefferyCountDown",
|
|
55
57
|
"FefferyExecuteJs",
|
|
56
58
|
"FefferyExtraSpinner",
|
|
59
|
+
"FefferyFancyMessage",
|
|
57
60
|
"FefferyFancyNotification",
|
|
58
61
|
"FefferyGuide",
|
|
59
62
|
"FefferyHighlightWords",
|
|
60
63
|
"FefferyLazyLoad",
|
|
61
64
|
"FefferyLocation",
|
|
65
|
+
"FefferyQRCode",
|
|
62
66
|
"FefferyScroll",
|
|
63
67
|
"FefferyScrollbars",
|
|
64
68
|
"FefferyShortcutPanel",
|