@emuanalytics/flow-rdf-ui 4.1.19 → 4.1.20
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/dist/custom-elements.json +1289 -1289
- package/dist/package.json.mjs +1 -1
- package/dist/vscode.html-custom-data.json +95 -95
- package/package.json +3 -3
|
@@ -1340,428 +1340,328 @@
|
|
|
1340
1340
|
},
|
|
1341
1341
|
{
|
|
1342
1342
|
"kind": "javascript-module",
|
|
1343
|
-
"path": "components/
|
|
1343
|
+
"path": "components/animation/animation.component.js",
|
|
1344
1344
|
"declarations": [
|
|
1345
1345
|
{
|
|
1346
1346
|
"kind": "class",
|
|
1347
1347
|
"description": "",
|
|
1348
|
-
"name": "
|
|
1349
|
-
"cssParts": [
|
|
1350
|
-
{
|
|
1351
|
-
"description": "The form control that wraps the label, input, and help text.",
|
|
1352
|
-
"name": "form-control"
|
|
1353
|
-
},
|
|
1354
|
-
{
|
|
1355
|
-
"description": "The label's wrapper.",
|
|
1356
|
-
"name": "form-control-label"
|
|
1357
|
-
},
|
|
1358
|
-
{
|
|
1359
|
-
"description": "The input's wrapper.",
|
|
1360
|
-
"name": "form-control-input"
|
|
1361
|
-
},
|
|
1362
|
-
{
|
|
1363
|
-
"description": "The help text's wrapper.",
|
|
1364
|
-
"name": "form-control-help-text"
|
|
1365
|
-
},
|
|
1366
|
-
{
|
|
1367
|
-
"description": "The component's base wrapper.",
|
|
1368
|
-
"name": "base"
|
|
1369
|
-
},
|
|
1370
|
-
{
|
|
1371
|
-
"description": "The internal `<input>` control.",
|
|
1372
|
-
"name": "input"
|
|
1373
|
-
},
|
|
1374
|
-
{
|
|
1375
|
-
"description": "The container that wraps the prefix.",
|
|
1376
|
-
"name": "prefix"
|
|
1377
|
-
},
|
|
1378
|
-
{
|
|
1379
|
-
"description": "The clear button.",
|
|
1380
|
-
"name": "clear-button"
|
|
1381
|
-
},
|
|
1382
|
-
{
|
|
1383
|
-
"description": "The password toggle button.",
|
|
1384
|
-
"name": "password-toggle-button"
|
|
1385
|
-
},
|
|
1386
|
-
{
|
|
1387
|
-
"description": "The container that wraps the suffix.",
|
|
1388
|
-
"name": "suffix"
|
|
1389
|
-
}
|
|
1390
|
-
],
|
|
1348
|
+
"name": "FlowUiAnimation",
|
|
1391
1349
|
"slots": [
|
|
1392
1350
|
{
|
|
1393
|
-
"description": "The
|
|
1394
|
-
"name": "
|
|
1395
|
-
},
|
|
1396
|
-
{
|
|
1397
|
-
"description": "Used to prepend a presentational icon or similar element to the input.",
|
|
1398
|
-
"name": "prefix"
|
|
1399
|
-
},
|
|
1400
|
-
{
|
|
1401
|
-
"description": "Used to append a presentational icon or similar element to the input.",
|
|
1402
|
-
"name": "suffix"
|
|
1403
|
-
},
|
|
1404
|
-
{
|
|
1405
|
-
"description": "An icon to use in lieu of the default clear icon.",
|
|
1406
|
-
"name": "clear-icon"
|
|
1407
|
-
},
|
|
1408
|
-
{
|
|
1409
|
-
"description": "An icon to use in lieu of the default show password icon.",
|
|
1410
|
-
"name": "show-password-icon"
|
|
1411
|
-
},
|
|
1412
|
-
{
|
|
1413
|
-
"description": "An icon to use in lieu of the default hide password icon.",
|
|
1414
|
-
"name": "hide-password-icon"
|
|
1415
|
-
},
|
|
1416
|
-
{
|
|
1417
|
-
"description": "Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.",
|
|
1418
|
-
"name": "help-text"
|
|
1351
|
+
"description": "The element to animate. Avoid slotting in more than one element, as subsequent ones will be ignored. To animate multiple elements, either wrap them in a single container or use multiple `<flow-ui-animation>` elements.",
|
|
1352
|
+
"name": ""
|
|
1419
1353
|
}
|
|
1420
1354
|
],
|
|
1421
1355
|
"members": [
|
|
1422
1356
|
{
|
|
1423
1357
|
"kind": "field",
|
|
1424
|
-
"name": "
|
|
1425
|
-
"
|
|
1426
|
-
|
|
1427
|
-
|
|
1358
|
+
"name": "animation",
|
|
1359
|
+
"type": {
|
|
1360
|
+
"text": "Animation | undefined"
|
|
1361
|
+
},
|
|
1362
|
+
"privacy": "private"
|
|
1428
1363
|
},
|
|
1429
1364
|
{
|
|
1430
1365
|
"kind": "field",
|
|
1431
|
-
"name": "
|
|
1366
|
+
"name": "hasStarted",
|
|
1367
|
+
"type": {
|
|
1368
|
+
"text": "boolean"
|
|
1369
|
+
},
|
|
1432
1370
|
"privacy": "private",
|
|
1433
|
-
"
|
|
1434
|
-
"default": "new HasSlotController(this, 'help-text', 'label')"
|
|
1371
|
+
"default": "false"
|
|
1435
1372
|
},
|
|
1436
1373
|
{
|
|
1437
1374
|
"kind": "field",
|
|
1438
|
-
"name": "
|
|
1375
|
+
"name": "defaultSlot",
|
|
1439
1376
|
"type": {
|
|
1440
|
-
"text": "
|
|
1377
|
+
"text": "Promise<HTMLSlotElement>"
|
|
1441
1378
|
},
|
|
1442
|
-
"privacy": "private"
|
|
1443
|
-
"default": "false"
|
|
1379
|
+
"privacy": "private"
|
|
1444
1380
|
},
|
|
1445
1381
|
{
|
|
1446
1382
|
"kind": "field",
|
|
1447
|
-
"name": "
|
|
1383
|
+
"name": "name",
|
|
1448
1384
|
"type": {
|
|
1449
|
-
"text": "
|
|
1385
|
+
"text": "string"
|
|
1450
1386
|
},
|
|
1451
|
-
"default": "'
|
|
1452
|
-
"description": "The
|
|
1453
|
-
"attribute": "
|
|
1454
|
-
"reflects": true
|
|
1387
|
+
"default": "'none'",
|
|
1388
|
+
"description": "The name of the built-in animation to use. For custom animations, use the `keyframes` prop.\nUse `getAnimationNames()` to retrieve a list of available animations.",
|
|
1389
|
+
"attribute": "name"
|
|
1455
1390
|
},
|
|
1456
1391
|
{
|
|
1457
1392
|
"kind": "field",
|
|
1458
|
-
"name": "
|
|
1393
|
+
"name": "play",
|
|
1459
1394
|
"type": {
|
|
1460
1395
|
"text": "boolean"
|
|
1461
1396
|
},
|
|
1462
1397
|
"default": "false",
|
|
1463
|
-
"description": "
|
|
1464
|
-
"attribute": "
|
|
1398
|
+
"description": "Plays the animation. When omitted, the animation will be paused. This attribute will be automatically removed when\nthe animation finishes or gets canceled.",
|
|
1399
|
+
"attribute": "play",
|
|
1465
1400
|
"reflects": true
|
|
1466
1401
|
},
|
|
1467
1402
|
{
|
|
1468
1403
|
"kind": "field",
|
|
1469
|
-
"name": "
|
|
1404
|
+
"name": "delay",
|
|
1470
1405
|
"type": {
|
|
1471
|
-
"text": "
|
|
1406
|
+
"text": "number"
|
|
1472
1407
|
},
|
|
1473
|
-
"default": "
|
|
1474
|
-
"description": "
|
|
1475
|
-
"attribute": "
|
|
1476
|
-
"reflects": true
|
|
1408
|
+
"default": "0",
|
|
1409
|
+
"description": "The number of milliseconds to delay the start of the animation.",
|
|
1410
|
+
"attribute": "delay"
|
|
1477
1411
|
},
|
|
1478
1412
|
{
|
|
1479
1413
|
"kind": "field",
|
|
1480
|
-
"name": "
|
|
1414
|
+
"name": "direction",
|
|
1481
1415
|
"type": {
|
|
1482
|
-
"text": "
|
|
1416
|
+
"text": "PlaybackDirection"
|
|
1483
1417
|
},
|
|
1484
|
-
"default": "''",
|
|
1485
|
-
"description": "
|
|
1486
|
-
"attribute": "
|
|
1418
|
+
"default": "'normal'",
|
|
1419
|
+
"description": "Determines the direction of playback as well as the behavior when reaching the end of an iteration.\n[Learn more](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-direction)",
|
|
1420
|
+
"attribute": "direction"
|
|
1487
1421
|
},
|
|
1488
1422
|
{
|
|
1489
1423
|
"kind": "field",
|
|
1490
|
-
"name": "
|
|
1424
|
+
"name": "duration",
|
|
1425
|
+
"type": {
|
|
1426
|
+
"text": "number"
|
|
1427
|
+
},
|
|
1428
|
+
"default": "1000",
|
|
1429
|
+
"description": "The number of milliseconds each iteration of the animation takes to complete.",
|
|
1430
|
+
"attribute": "duration"
|
|
1431
|
+
},
|
|
1432
|
+
{
|
|
1433
|
+
"kind": "field",
|
|
1434
|
+
"name": "easing",
|
|
1491
1435
|
"type": {
|
|
1492
1436
|
"text": "string"
|
|
1493
1437
|
},
|
|
1494
|
-
"default": "''",
|
|
1495
|
-
"description": "The
|
|
1496
|
-
"attribute": "
|
|
1438
|
+
"default": "'linear'",
|
|
1439
|
+
"description": "The easing function to use for the animation. This can be a Shoelace easing function or a custom easing function\nsuch as `cubic-bezier(0, 1, .76, 1.14)`.",
|
|
1440
|
+
"attribute": "easing"
|
|
1497
1441
|
},
|
|
1498
1442
|
{
|
|
1499
1443
|
"kind": "field",
|
|
1500
|
-
"name": "
|
|
1444
|
+
"name": "endDelay",
|
|
1501
1445
|
"type": {
|
|
1502
|
-
"text": "
|
|
1446
|
+
"text": "number"
|
|
1503
1447
|
},
|
|
1504
|
-
"default": "
|
|
1505
|
-
"description": "
|
|
1506
|
-
"attribute": "
|
|
1507
|
-
"reflects": true
|
|
1448
|
+
"default": "0",
|
|
1449
|
+
"description": "The number of milliseconds to delay after the active period of an animation sequence.",
|
|
1450
|
+
"attribute": "end-delay"
|
|
1508
1451
|
},
|
|
1509
1452
|
{
|
|
1510
1453
|
"kind": "field",
|
|
1511
|
-
"name": "
|
|
1454
|
+
"name": "fill",
|
|
1512
1455
|
"type": {
|
|
1513
|
-
"text": "
|
|
1456
|
+
"text": "FillMode"
|
|
1514
1457
|
},
|
|
1515
|
-
"default": "''",
|
|
1516
|
-
"description": "
|
|
1517
|
-
"attribute": "
|
|
1518
|
-
"reflects": true
|
|
1458
|
+
"default": "'auto'",
|
|
1459
|
+
"description": "Sets how the animation applies styles to its target before and after its execution.",
|
|
1460
|
+
"attribute": "fill"
|
|
1519
1461
|
},
|
|
1520
1462
|
{
|
|
1521
1463
|
"kind": "field",
|
|
1522
|
-
"name": "
|
|
1464
|
+
"name": "iterations",
|
|
1465
|
+
"default": "Infinity",
|
|
1466
|
+
"description": "The number of iterations to run before the animation completes. Defaults to `Infinity`, which loops.",
|
|
1467
|
+
"attribute": "iterations"
|
|
1468
|
+
},
|
|
1469
|
+
{
|
|
1470
|
+
"kind": "field",
|
|
1471
|
+
"name": "iterationStart",
|
|
1523
1472
|
"type": {
|
|
1524
|
-
"text": "
|
|
1473
|
+
"text": "number"
|
|
1525
1474
|
},
|
|
1526
|
-
"default": "
|
|
1527
|
-
"description": "
|
|
1528
|
-
"attribute": "
|
|
1529
|
-
"reflects": true
|
|
1475
|
+
"default": "0",
|
|
1476
|
+
"description": "The offset at which to start the animation, usually between 0 (start) and 1 (end).",
|
|
1477
|
+
"attribute": "iteration-start"
|
|
1530
1478
|
},
|
|
1531
1479
|
{
|
|
1532
1480
|
"kind": "field",
|
|
1533
|
-
"name": "
|
|
1481
|
+
"name": "keyframes",
|
|
1534
1482
|
"type": {
|
|
1535
|
-
"text": "
|
|
1483
|
+
"text": "Keyframe[] | undefined"
|
|
1536
1484
|
},
|
|
1537
|
-
"
|
|
1538
|
-
"description": "Display the input in the 'inline' form control style.",
|
|
1539
|
-
"attribute": "inline",
|
|
1540
|
-
"reflects": true
|
|
1485
|
+
"description": "The keyframes to use for the animation. If this is set, `name` will be ignored."
|
|
1541
1486
|
},
|
|
1542
1487
|
{
|
|
1543
1488
|
"kind": "field",
|
|
1544
|
-
"name": "
|
|
1489
|
+
"name": "playbackRate",
|
|
1545
1490
|
"type": {
|
|
1546
|
-
"text": "
|
|
1491
|
+
"text": "number"
|
|
1547
1492
|
},
|
|
1548
|
-
"default": "
|
|
1549
|
-
"description": "
|
|
1550
|
-
"attribute": "
|
|
1551
|
-
"reflects": true
|
|
1493
|
+
"default": "1",
|
|
1494
|
+
"description": "Sets the animation's playback rate. The default is `1`, which plays the animation at a normal speed. Setting this\nto `2`, for example, will double the animation's speed. A negative value can be used to reverse the animation. This\nvalue can be changed without causing the animation to restart.",
|
|
1495
|
+
"attribute": "playback-rate"
|
|
1552
1496
|
},
|
|
1553
1497
|
{
|
|
1554
1498
|
"kind": "field",
|
|
1555
|
-
"name": "
|
|
1556
|
-
"
|
|
1557
|
-
|
|
1499
|
+
"name": "currentTime",
|
|
1500
|
+
"type": {
|
|
1501
|
+
"text": "CSSNumberish"
|
|
1502
|
+
},
|
|
1503
|
+
"description": "Gets and sets the current animation time."
|
|
1558
1504
|
},
|
|
1559
1505
|
{
|
|
1560
1506
|
"kind": "field",
|
|
1561
|
-
"name": "
|
|
1562
|
-
"
|
|
1563
|
-
"readonly": true
|
|
1507
|
+
"name": "handleAnimationFinish",
|
|
1508
|
+
"privacy": "private"
|
|
1564
1509
|
},
|
|
1565
1510
|
{
|
|
1566
|
-
"kind": "
|
|
1567
|
-
"name": "
|
|
1511
|
+
"kind": "field",
|
|
1512
|
+
"name": "handleAnimationCancel",
|
|
1568
1513
|
"privacy": "private"
|
|
1569
1514
|
},
|
|
1570
1515
|
{
|
|
1571
1516
|
"kind": "method",
|
|
1572
|
-
"name": "
|
|
1517
|
+
"name": "handleSlotChange",
|
|
1573
1518
|
"privacy": "private"
|
|
1574
1519
|
},
|
|
1575
1520
|
{
|
|
1576
1521
|
"kind": "method",
|
|
1577
|
-
"name": "
|
|
1578
|
-
"
|
|
1579
|
-
{
|
|
1580
|
-
"name": "options",
|
|
1581
|
-
"optional": true,
|
|
1582
|
-
"type": {
|
|
1583
|
-
"text": "FocusOptions"
|
|
1584
|
-
}
|
|
1585
|
-
}
|
|
1586
|
-
],
|
|
1587
|
-
"description": "Sets focus on the input."
|
|
1522
|
+
"name": "createAnimation",
|
|
1523
|
+
"privacy": "private"
|
|
1588
1524
|
},
|
|
1589
1525
|
{
|
|
1590
1526
|
"kind": "method",
|
|
1591
|
-
"name": "
|
|
1592
|
-
"
|
|
1527
|
+
"name": "destroyAnimation",
|
|
1528
|
+
"privacy": "private"
|
|
1593
1529
|
},
|
|
1594
1530
|
{
|
|
1595
1531
|
"kind": "method",
|
|
1596
|
-
"name": "
|
|
1597
|
-
"description": "
|
|
1532
|
+
"name": "cancel",
|
|
1533
|
+
"description": "Clears all keyframe effects caused by this animation and aborts its playback."
|
|
1598
1534
|
},
|
|
1599
1535
|
{
|
|
1600
1536
|
"kind": "method",
|
|
1601
|
-
"name": "
|
|
1602
|
-
"
|
|
1603
|
-
"type": {
|
|
1604
|
-
"text": "HTMLFormElement | null"
|
|
1605
|
-
}
|
|
1606
|
-
},
|
|
1607
|
-
"description": "Gets the associated form, if one exists."
|
|
1608
|
-
},
|
|
1609
|
-
{
|
|
1610
|
-
"kind": "method",
|
|
1611
|
-
"name": "reportValidity",
|
|
1612
|
-
"description": "Checks for validity and shows the browser's validation message if the control is invalid."
|
|
1613
|
-
},
|
|
1614
|
-
{
|
|
1615
|
-
"kind": "method",
|
|
1616
|
-
"name": "setCustomValidity",
|
|
1617
|
-
"parameters": [
|
|
1618
|
-
{
|
|
1619
|
-
"name": "message",
|
|
1620
|
-
"type": {
|
|
1621
|
-
"text": "string"
|
|
1622
|
-
}
|
|
1623
|
-
}
|
|
1624
|
-
],
|
|
1625
|
-
"description": "Sets a custom validation message. Pass an empty string to restore validity."
|
|
1537
|
+
"name": "finish",
|
|
1538
|
+
"description": "Sets the playback time to the end of the animation corresponding to the current playback direction."
|
|
1626
1539
|
}
|
|
1627
1540
|
],
|
|
1628
1541
|
"events": [
|
|
1629
1542
|
{
|
|
1630
|
-
"description": "Emitted when the
|
|
1631
|
-
"name": "flow-ui-
|
|
1632
|
-
"reactName": "
|
|
1633
|
-
},
|
|
1634
|
-
{
|
|
1635
|
-
"description": "Emitted when an alteration to the control's value is committed by the user.",
|
|
1636
|
-
"name": "flow-ui-change",
|
|
1637
|
-
"reactName": "onFlowUiChange"
|
|
1638
|
-
},
|
|
1639
|
-
{
|
|
1640
|
-
"description": "Emitted when the clear button is activated.",
|
|
1641
|
-
"name": "flow-ui-clear",
|
|
1642
|
-
"reactName": "onFlowUiClear"
|
|
1643
|
-
},
|
|
1644
|
-
{
|
|
1645
|
-
"description": "Emitted when the control gains focus.",
|
|
1646
|
-
"name": "flow-ui-focus",
|
|
1647
|
-
"reactName": "onFlowUiFocus"
|
|
1543
|
+
"description": "Emitted when the animation is canceled.",
|
|
1544
|
+
"name": "flow-ui-cancel",
|
|
1545
|
+
"reactName": "onFlowUiCancel"
|
|
1648
1546
|
},
|
|
1649
1547
|
{
|
|
1650
|
-
"description": "Emitted when the
|
|
1651
|
-
"name": "flow-ui-
|
|
1652
|
-
"reactName": "
|
|
1548
|
+
"description": "Emitted when the animation finishes.",
|
|
1549
|
+
"name": "flow-ui-finish",
|
|
1550
|
+
"reactName": "onFlowUiFinish"
|
|
1653
1551
|
},
|
|
1654
1552
|
{
|
|
1655
|
-
"description": "Emitted when the
|
|
1656
|
-
"name": "flow-ui-
|
|
1657
|
-
"reactName": "
|
|
1553
|
+
"description": "Emitted when the animation starts or restarts.",
|
|
1554
|
+
"name": "flow-ui-start",
|
|
1555
|
+
"reactName": "onFlowUiStart"
|
|
1658
1556
|
}
|
|
1659
1557
|
],
|
|
1660
1558
|
"attributes": [
|
|
1661
1559
|
{
|
|
1662
|
-
"name": "
|
|
1560
|
+
"name": "name",
|
|
1663
1561
|
"type": {
|
|
1664
|
-
"text": "
|
|
1562
|
+
"text": "string"
|
|
1665
1563
|
},
|
|
1666
|
-
"default": "'
|
|
1667
|
-
"description": "The
|
|
1668
|
-
"fieldName": "
|
|
1564
|
+
"default": "'none'",
|
|
1565
|
+
"description": "The name of the built-in animation to use. For custom animations, use the `keyframes` prop.\nUse `getAnimationNames()` to retrieve a list of available animations.",
|
|
1566
|
+
"fieldName": "name"
|
|
1669
1567
|
},
|
|
1670
1568
|
{
|
|
1671
|
-
"name": "
|
|
1569
|
+
"name": "play",
|
|
1672
1570
|
"type": {
|
|
1673
1571
|
"text": "boolean"
|
|
1674
1572
|
},
|
|
1675
1573
|
"default": "false",
|
|
1676
|
-
"description": "
|
|
1677
|
-
"fieldName": "
|
|
1574
|
+
"description": "Plays the animation. When omitted, the animation will be paused. This attribute will be automatically removed when\nthe animation finishes or gets canceled.",
|
|
1575
|
+
"fieldName": "play"
|
|
1678
1576
|
},
|
|
1679
1577
|
{
|
|
1680
|
-
"name": "
|
|
1578
|
+
"name": "delay",
|
|
1681
1579
|
"type": {
|
|
1682
|
-
"text": "
|
|
1580
|
+
"text": "number"
|
|
1683
1581
|
},
|
|
1684
|
-
"default": "
|
|
1685
|
-
"description": "
|
|
1686
|
-
"fieldName": "
|
|
1582
|
+
"default": "0",
|
|
1583
|
+
"description": "The number of milliseconds to delay the start of the animation.",
|
|
1584
|
+
"fieldName": "delay"
|
|
1687
1585
|
},
|
|
1688
1586
|
{
|
|
1689
|
-
"name": "
|
|
1587
|
+
"name": "direction",
|
|
1690
1588
|
"type": {
|
|
1691
|
-
"text": "
|
|
1589
|
+
"text": "PlaybackDirection"
|
|
1692
1590
|
},
|
|
1693
|
-
"default": "''",
|
|
1694
|
-
"description": "
|
|
1695
|
-
"fieldName": "
|
|
1591
|
+
"default": "'normal'",
|
|
1592
|
+
"description": "Determines the direction of playback as well as the behavior when reaching the end of an iteration.\n[Learn more](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-direction)",
|
|
1593
|
+
"fieldName": "direction"
|
|
1696
1594
|
},
|
|
1697
1595
|
{
|
|
1698
|
-
"name": "
|
|
1596
|
+
"name": "duration",
|
|
1699
1597
|
"type": {
|
|
1700
|
-
"text": "
|
|
1598
|
+
"text": "number"
|
|
1701
1599
|
},
|
|
1702
|
-
"default": "
|
|
1703
|
-
"description": "The
|
|
1704
|
-
"fieldName": "
|
|
1600
|
+
"default": "1000",
|
|
1601
|
+
"description": "The number of milliseconds each iteration of the animation takes to complete.",
|
|
1602
|
+
"fieldName": "duration"
|
|
1705
1603
|
},
|
|
1706
1604
|
{
|
|
1707
|
-
"name": "
|
|
1605
|
+
"name": "easing",
|
|
1708
1606
|
"type": {
|
|
1709
|
-
"text": "
|
|
1607
|
+
"text": "string"
|
|
1710
1608
|
},
|
|
1711
|
-
"default": "
|
|
1712
|
-
"description": "
|
|
1713
|
-
"fieldName": "
|
|
1609
|
+
"default": "'linear'",
|
|
1610
|
+
"description": "The easing function to use for the animation. This can be a Shoelace easing function or a custom easing function\nsuch as `cubic-bezier(0, 1, .76, 1.14)`.",
|
|
1611
|
+
"fieldName": "easing"
|
|
1714
1612
|
},
|
|
1715
1613
|
{
|
|
1716
|
-
"name": "
|
|
1614
|
+
"name": "end-delay",
|
|
1717
1615
|
"type": {
|
|
1718
|
-
"text": "
|
|
1616
|
+
"text": "number"
|
|
1719
1617
|
},
|
|
1720
|
-
"default": "
|
|
1721
|
-
"description": "
|
|
1722
|
-
"fieldName": "
|
|
1618
|
+
"default": "0",
|
|
1619
|
+
"description": "The number of milliseconds to delay after the active period of an animation sequence.",
|
|
1620
|
+
"fieldName": "endDelay"
|
|
1723
1621
|
},
|
|
1724
1622
|
{
|
|
1725
|
-
"name": "
|
|
1623
|
+
"name": "fill",
|
|
1726
1624
|
"type": {
|
|
1727
|
-
"text": "
|
|
1625
|
+
"text": "FillMode"
|
|
1728
1626
|
},
|
|
1729
|
-
"default": "
|
|
1730
|
-
"description": "
|
|
1731
|
-
"fieldName": "
|
|
1627
|
+
"default": "'auto'",
|
|
1628
|
+
"description": "Sets how the animation applies styles to its target before and after its execution.",
|
|
1629
|
+
"fieldName": "fill"
|
|
1732
1630
|
},
|
|
1733
1631
|
{
|
|
1734
|
-
"name": "
|
|
1632
|
+
"name": "iterations",
|
|
1633
|
+
"default": "Infinity",
|
|
1634
|
+
"description": "The number of iterations to run before the animation completes. Defaults to `Infinity`, which loops.",
|
|
1635
|
+
"resolveInitializer": {
|
|
1636
|
+
"module": "src/components/animation/animation.component.ts"
|
|
1637
|
+
},
|
|
1638
|
+
"fieldName": "iterations"
|
|
1639
|
+
},
|
|
1640
|
+
{
|
|
1641
|
+
"name": "iteration-start",
|
|
1735
1642
|
"type": {
|
|
1736
|
-
"text": "
|
|
1643
|
+
"text": "number"
|
|
1737
1644
|
},
|
|
1738
|
-
"default": "
|
|
1739
|
-
"description": "
|
|
1740
|
-
"fieldName": "
|
|
1645
|
+
"default": "0",
|
|
1646
|
+
"description": "The offset at which to start the animation, usually between 0 (start) and 1 (end).",
|
|
1647
|
+
"fieldName": "iterationStart"
|
|
1741
1648
|
},
|
|
1742
1649
|
{
|
|
1743
|
-
"name": "
|
|
1650
|
+
"name": "playback-rate",
|
|
1744
1651
|
"type": {
|
|
1745
|
-
"text": "
|
|
1652
|
+
"text": "number"
|
|
1746
1653
|
},
|
|
1747
|
-
"default": "
|
|
1748
|
-
"description": "
|
|
1749
|
-
"fieldName": "
|
|
1654
|
+
"default": "1",
|
|
1655
|
+
"description": "Sets the animation's playback rate. The default is `1`, which plays the animation at a normal speed. Setting this\nto `2`, for example, will double the animation's speed. A negative value can be used to reverse the animation. This\nvalue can be changed without causing the animation to restart.",
|
|
1656
|
+
"fieldName": "playbackRate"
|
|
1750
1657
|
}
|
|
1751
1658
|
],
|
|
1752
1659
|
"superclass": {
|
|
1753
|
-
"name": "
|
|
1660
|
+
"name": "FlowRdfElement",
|
|
1754
1661
|
"module": "/src/internal/flow-ui-rdf-element"
|
|
1755
1662
|
},
|
|
1756
|
-
"tagName": "flow-ui-
|
|
1757
|
-
"summary": "
|
|
1758
|
-
"documentation": "https://developer.emu-analytics.net/docs/flow-ui-rdf/components/input",
|
|
1759
|
-
"status": "stable",
|
|
1760
|
-
"since": "2.0",
|
|
1761
|
-
"dependencies": [
|
|
1762
|
-
"flow-ui-icon",
|
|
1763
|
-
"flow-ui-icon-button"
|
|
1764
|
-
],
|
|
1663
|
+
"tagName": "flow-ui-animation",
|
|
1664
|
+
"summary": "Animate elements declaratively with over 100 animation presets. Powered by the [Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API).",
|
|
1765
1665
|
"customElement": true
|
|
1766
1666
|
}
|
|
1767
1667
|
],
|
|
@@ -1770,15 +1670,15 @@
|
|
|
1770
1670
|
"kind": "js",
|
|
1771
1671
|
"name": "default",
|
|
1772
1672
|
"declaration": {
|
|
1773
|
-
"name": "
|
|
1774
|
-
"module": "components/
|
|
1673
|
+
"name": "FlowUiAnimation",
|
|
1674
|
+
"module": "components/animation/animation.component.js"
|
|
1775
1675
|
}
|
|
1776
1676
|
}
|
|
1777
1677
|
]
|
|
1778
1678
|
},
|
|
1779
1679
|
{
|
|
1780
1680
|
"kind": "javascript-module",
|
|
1781
|
-
"path": "components/
|
|
1681
|
+
"path": "components/animation/animation.js",
|
|
1782
1682
|
"declarations": [],
|
|
1783
1683
|
"exports": [
|
|
1784
1684
|
{
|
|
@@ -1786,540 +1686,608 @@
|
|
|
1786
1686
|
"name": "*",
|
|
1787
1687
|
"declaration": {
|
|
1788
1688
|
"name": "*",
|
|
1789
|
-
"package": "./
|
|
1689
|
+
"package": "./animation.component"
|
|
1790
1690
|
}
|
|
1791
1691
|
},
|
|
1792
1692
|
{
|
|
1793
1693
|
"kind": "js",
|
|
1794
1694
|
"name": "default",
|
|
1795
1695
|
"declaration": {
|
|
1796
|
-
"name": "
|
|
1797
|
-
"module": "components/
|
|
1696
|
+
"name": "FlowUiAnimation",
|
|
1697
|
+
"module": "components/animation/animation.js"
|
|
1798
1698
|
}
|
|
1799
1699
|
}
|
|
1800
1700
|
]
|
|
1801
1701
|
},
|
|
1802
1702
|
{
|
|
1803
1703
|
"kind": "javascript-module",
|
|
1804
|
-
"path": "components/animation/
|
|
1704
|
+
"path": "components/animation/animations.js",
|
|
1705
|
+
"declarations": [
|
|
1706
|
+
{
|
|
1707
|
+
"kind": "function",
|
|
1708
|
+
"name": "getAnimationNames",
|
|
1709
|
+
"description": "Returns a list of all supported animation names.\n\nSupply the required animation as the `name` property of the\n`<flow-ui-animation>` component."
|
|
1710
|
+
},
|
|
1711
|
+
{
|
|
1712
|
+
"kind": "function",
|
|
1713
|
+
"name": "getEasingNames",
|
|
1714
|
+
"description": "Returns a list of all supported easing method names.\n\nSupply the required easing method as the `easing` property of the\n`<flow-ui-animation>` component."
|
|
1715
|
+
}
|
|
1716
|
+
],
|
|
1717
|
+
"exports": [
|
|
1718
|
+
{
|
|
1719
|
+
"kind": "js",
|
|
1720
|
+
"name": "animations",
|
|
1721
|
+
"declaration": {
|
|
1722
|
+
"name": "animations",
|
|
1723
|
+
"module": "components/animation/animations.js"
|
|
1724
|
+
}
|
|
1725
|
+
},
|
|
1726
|
+
{
|
|
1727
|
+
"kind": "js",
|
|
1728
|
+
"name": "getAnimationNames",
|
|
1729
|
+
"declaration": {
|
|
1730
|
+
"name": "getAnimationNames",
|
|
1731
|
+
"module": "components/animation/animations.js"
|
|
1732
|
+
}
|
|
1733
|
+
},
|
|
1734
|
+
{
|
|
1735
|
+
"kind": "js",
|
|
1736
|
+
"name": "getEasingNames",
|
|
1737
|
+
"declaration": {
|
|
1738
|
+
"name": "getEasingNames",
|
|
1739
|
+
"module": "components/animation/animations.js"
|
|
1740
|
+
}
|
|
1741
|
+
}
|
|
1742
|
+
]
|
|
1743
|
+
},
|
|
1744
|
+
{
|
|
1745
|
+
"kind": "javascript-module",
|
|
1746
|
+
"path": "components/breadcrumb/breadcrumb.component.js",
|
|
1805
1747
|
"declarations": [
|
|
1806
1748
|
{
|
|
1807
1749
|
"kind": "class",
|
|
1808
1750
|
"description": "",
|
|
1809
|
-
"name": "
|
|
1751
|
+
"name": "FlowUiBreadcrumb",
|
|
1752
|
+
"cssParts": [
|
|
1753
|
+
{
|
|
1754
|
+
"description": "The component's base wrapper.",
|
|
1755
|
+
"name": "base"
|
|
1756
|
+
}
|
|
1757
|
+
],
|
|
1810
1758
|
"slots": [
|
|
1811
1759
|
{
|
|
1812
|
-
"description": "
|
|
1760
|
+
"description": "One or more breadcrumb items to display.",
|
|
1813
1761
|
"name": ""
|
|
1762
|
+
},
|
|
1763
|
+
{
|
|
1764
|
+
"description": "The separator to use between breadcrumb items. Works best with `<flow-ui-icon>`.",
|
|
1765
|
+
"name": "separator"
|
|
1814
1766
|
}
|
|
1815
1767
|
],
|
|
1816
1768
|
"members": [
|
|
1817
1769
|
{
|
|
1818
1770
|
"kind": "field",
|
|
1819
|
-
"name": "
|
|
1820
|
-
"
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
"privacy": "private"
|
|
1771
|
+
"name": "localize",
|
|
1772
|
+
"privacy": "private",
|
|
1773
|
+
"readonly": true,
|
|
1774
|
+
"default": "new LocalizeController(this)"
|
|
1824
1775
|
},
|
|
1825
1776
|
{
|
|
1826
1777
|
"kind": "field",
|
|
1827
|
-
"name": "
|
|
1828
|
-
"
|
|
1829
|
-
"text": "boolean"
|
|
1830
|
-
},
|
|
1831
|
-
"privacy": "private",
|
|
1832
|
-
"default": "false"
|
|
1778
|
+
"name": "separatorDir",
|
|
1779
|
+
"privacy": "private"
|
|
1833
1780
|
},
|
|
1834
1781
|
{
|
|
1835
1782
|
"kind": "field",
|
|
1836
1783
|
"name": "defaultSlot",
|
|
1837
1784
|
"type": {
|
|
1838
|
-
"text": "
|
|
1785
|
+
"text": "HTMLSlotElement"
|
|
1839
1786
|
},
|
|
1840
1787
|
"privacy": "private"
|
|
1841
1788
|
},
|
|
1842
1789
|
{
|
|
1843
1790
|
"kind": "field",
|
|
1844
|
-
"name": "
|
|
1791
|
+
"name": "separatorSlot",
|
|
1845
1792
|
"type": {
|
|
1846
|
-
"text": "
|
|
1793
|
+
"text": "HTMLSlotElement"
|
|
1847
1794
|
},
|
|
1848
|
-
"
|
|
1849
|
-
"description": "The name of the built-in animation to use. For custom animations, use the `keyframes` prop.\nUse `getAnimationNames()` to retrieve a list of available animations.",
|
|
1850
|
-
"attribute": "name"
|
|
1795
|
+
"privacy": "private"
|
|
1851
1796
|
},
|
|
1852
1797
|
{
|
|
1853
1798
|
"kind": "field",
|
|
1854
|
-
"name": "
|
|
1799
|
+
"name": "label",
|
|
1855
1800
|
"type": {
|
|
1856
|
-
"text": "
|
|
1801
|
+
"text": "string"
|
|
1857
1802
|
},
|
|
1858
|
-
"default": "
|
|
1859
|
-
"description": "
|
|
1860
|
-
"attribute": "
|
|
1861
|
-
"reflects": true
|
|
1803
|
+
"default": "''",
|
|
1804
|
+
"description": "The label to use for the breadcrumb control. This will not be shown on the screen, but it will be announced by\nscreen readers and other assistive devices to provide more context for users.",
|
|
1805
|
+
"attribute": "label"
|
|
1862
1806
|
},
|
|
1863
1807
|
{
|
|
1864
|
-
"kind": "
|
|
1865
|
-
"name": "
|
|
1866
|
-
"
|
|
1867
|
-
"text": "number"
|
|
1868
|
-
},
|
|
1869
|
-
"default": "0",
|
|
1870
|
-
"description": "The number of milliseconds to delay the start of the animation.",
|
|
1871
|
-
"attribute": "delay"
|
|
1808
|
+
"kind": "method",
|
|
1809
|
+
"name": "getSeparator",
|
|
1810
|
+
"privacy": "private"
|
|
1872
1811
|
},
|
|
1873
1812
|
{
|
|
1874
|
-
"kind": "
|
|
1875
|
-
"name": "
|
|
1876
|
-
"
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
"description": "Determines the direction of playback as well as the behavior when reaching the end of an iteration.\n[Learn more](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-direction)",
|
|
1881
|
-
"attribute": "direction"
|
|
1882
|
-
},
|
|
1813
|
+
"kind": "method",
|
|
1814
|
+
"name": "handleSlotChange",
|
|
1815
|
+
"privacy": "private"
|
|
1816
|
+
}
|
|
1817
|
+
],
|
|
1818
|
+
"attributes": [
|
|
1883
1819
|
{
|
|
1884
|
-
"
|
|
1885
|
-
"name": "duration",
|
|
1820
|
+
"name": "label",
|
|
1886
1821
|
"type": {
|
|
1887
|
-
"text": "
|
|
1822
|
+
"text": "string"
|
|
1888
1823
|
},
|
|
1889
|
-
"default": "
|
|
1890
|
-
"description": "The
|
|
1891
|
-
"
|
|
1824
|
+
"default": "''",
|
|
1825
|
+
"description": "The label to use for the breadcrumb control. This will not be shown on the screen, but it will be announced by\nscreen readers and other assistive devices to provide more context for users.",
|
|
1826
|
+
"fieldName": "label"
|
|
1827
|
+
}
|
|
1828
|
+
],
|
|
1829
|
+
"superclass": {
|
|
1830
|
+
"name": "FlowRdfElement",
|
|
1831
|
+
"module": "/src/internal/flow-ui-rdf-element"
|
|
1832
|
+
},
|
|
1833
|
+
"tagName": "flow-ui-breadcrumb",
|
|
1834
|
+
"summary": "Breadcrumbs provide a group of links so users can easily navigate a website's hierarchy.",
|
|
1835
|
+
"dependencies": [
|
|
1836
|
+
"flow-ui-icon"
|
|
1837
|
+
],
|
|
1838
|
+
"customElement": true
|
|
1839
|
+
}
|
|
1840
|
+
],
|
|
1841
|
+
"exports": [
|
|
1842
|
+
{
|
|
1843
|
+
"kind": "js",
|
|
1844
|
+
"name": "default",
|
|
1845
|
+
"declaration": {
|
|
1846
|
+
"name": "FlowUiBreadcrumb",
|
|
1847
|
+
"module": "components/breadcrumb/breadcrumb.component.js"
|
|
1848
|
+
}
|
|
1849
|
+
}
|
|
1850
|
+
]
|
|
1851
|
+
},
|
|
1852
|
+
{
|
|
1853
|
+
"kind": "javascript-module",
|
|
1854
|
+
"path": "components/breadcrumb/breadcrumb.js",
|
|
1855
|
+
"declarations": [],
|
|
1856
|
+
"exports": [
|
|
1857
|
+
{
|
|
1858
|
+
"kind": "js",
|
|
1859
|
+
"name": "default",
|
|
1860
|
+
"declaration": {
|
|
1861
|
+
"name": "FlowUiBreadcrumb",
|
|
1862
|
+
"module": "components/breadcrumb/breadcrumb.js"
|
|
1863
|
+
}
|
|
1864
|
+
}
|
|
1865
|
+
]
|
|
1866
|
+
},
|
|
1867
|
+
{
|
|
1868
|
+
"kind": "javascript-module",
|
|
1869
|
+
"path": "components/base-control/base-control.component.js",
|
|
1870
|
+
"declarations": [
|
|
1871
|
+
{
|
|
1872
|
+
"kind": "class",
|
|
1873
|
+
"description": "",
|
|
1874
|
+
"name": "FlowUiBaseControl",
|
|
1875
|
+
"cssParts": [
|
|
1876
|
+
{
|
|
1877
|
+
"description": "The form control that wraps the label, input, and help text.",
|
|
1878
|
+
"name": "form-control"
|
|
1892
1879
|
},
|
|
1893
1880
|
{
|
|
1894
|
-
"
|
|
1895
|
-
"name": "
|
|
1896
|
-
"type": {
|
|
1897
|
-
"text": "string"
|
|
1898
|
-
},
|
|
1899
|
-
"default": "'linear'",
|
|
1900
|
-
"description": "The easing function to use for the animation. This can be a Shoelace easing function or a custom easing function\nsuch as `cubic-bezier(0, 1, .76, 1.14)`.",
|
|
1901
|
-
"attribute": "easing"
|
|
1881
|
+
"description": "The label's wrapper.",
|
|
1882
|
+
"name": "form-control-label"
|
|
1902
1883
|
},
|
|
1903
1884
|
{
|
|
1904
|
-
"
|
|
1905
|
-
"name": "
|
|
1906
|
-
"type": {
|
|
1907
|
-
"text": "number"
|
|
1908
|
-
},
|
|
1909
|
-
"default": "0",
|
|
1910
|
-
"description": "The number of milliseconds to delay after the active period of an animation sequence.",
|
|
1911
|
-
"attribute": "end-delay"
|
|
1885
|
+
"description": "The input's wrapper.",
|
|
1886
|
+
"name": "form-control-input"
|
|
1912
1887
|
},
|
|
1913
1888
|
{
|
|
1914
|
-
"
|
|
1915
|
-
"name": "
|
|
1916
|
-
"type": {
|
|
1917
|
-
"text": "FillMode"
|
|
1918
|
-
},
|
|
1919
|
-
"default": "'auto'",
|
|
1920
|
-
"description": "Sets how the animation applies styles to its target before and after its execution.",
|
|
1921
|
-
"attribute": "fill"
|
|
1889
|
+
"description": "The help text's wrapper.",
|
|
1890
|
+
"name": "form-control-help-text"
|
|
1922
1891
|
},
|
|
1923
1892
|
{
|
|
1924
|
-
"
|
|
1925
|
-
"name": "
|
|
1926
|
-
"default": "Infinity",
|
|
1927
|
-
"description": "The number of iterations to run before the animation completes. Defaults to `Infinity`, which loops.",
|
|
1928
|
-
"attribute": "iterations"
|
|
1893
|
+
"description": "The component's base wrapper.",
|
|
1894
|
+
"name": "base"
|
|
1929
1895
|
},
|
|
1930
1896
|
{
|
|
1931
|
-
"
|
|
1932
|
-
"name": "
|
|
1933
|
-
"type": {
|
|
1934
|
-
"text": "number"
|
|
1935
|
-
},
|
|
1936
|
-
"default": "0",
|
|
1937
|
-
"description": "The offset at which to start the animation, usually between 0 (start) and 1 (end).",
|
|
1938
|
-
"attribute": "iteration-start"
|
|
1897
|
+
"description": "The internal `<input>` control.",
|
|
1898
|
+
"name": "input"
|
|
1939
1899
|
},
|
|
1940
1900
|
{
|
|
1941
|
-
"
|
|
1942
|
-
"name": "
|
|
1943
|
-
"type": {
|
|
1944
|
-
"text": "Keyframe[] | undefined"
|
|
1945
|
-
},
|
|
1946
|
-
"description": "The keyframes to use for the animation. If this is set, `name` will be ignored."
|
|
1901
|
+
"description": "The container that wraps the prefix.",
|
|
1902
|
+
"name": "prefix"
|
|
1947
1903
|
},
|
|
1948
1904
|
{
|
|
1949
|
-
"
|
|
1950
|
-
"name": "
|
|
1951
|
-
"type": {
|
|
1952
|
-
"text": "number"
|
|
1953
|
-
},
|
|
1954
|
-
"default": "1",
|
|
1955
|
-
"description": "Sets the animation's playback rate. The default is `1`, which plays the animation at a normal speed. Setting this\nto `2`, for example, will double the animation's speed. A negative value can be used to reverse the animation. This\nvalue can be changed without causing the animation to restart.",
|
|
1956
|
-
"attribute": "playback-rate"
|
|
1905
|
+
"description": "The clear button.",
|
|
1906
|
+
"name": "clear-button"
|
|
1957
1907
|
},
|
|
1958
1908
|
{
|
|
1959
|
-
"
|
|
1960
|
-
"name": "
|
|
1961
|
-
"type": {
|
|
1962
|
-
"text": "CSSNumberish"
|
|
1963
|
-
},
|
|
1964
|
-
"description": "Gets and sets the current animation time."
|
|
1909
|
+
"description": "The password toggle button.",
|
|
1910
|
+
"name": "password-toggle-button"
|
|
1965
1911
|
},
|
|
1966
1912
|
{
|
|
1967
|
-
"
|
|
1968
|
-
"name": "
|
|
1969
|
-
|
|
1913
|
+
"description": "The container that wraps the suffix.",
|
|
1914
|
+
"name": "suffix"
|
|
1915
|
+
}
|
|
1916
|
+
],
|
|
1917
|
+
"slots": [
|
|
1918
|
+
{
|
|
1919
|
+
"description": "The input's label. Alternatively, you can use the `label` attribute.",
|
|
1920
|
+
"name": "label"
|
|
1970
1921
|
},
|
|
1971
1922
|
{
|
|
1972
|
-
"
|
|
1973
|
-
"name": "
|
|
1974
|
-
"privacy": "private"
|
|
1923
|
+
"description": "Used to prepend a presentational icon or similar element to the input.",
|
|
1924
|
+
"name": "prefix"
|
|
1975
1925
|
},
|
|
1976
1926
|
{
|
|
1977
|
-
"
|
|
1978
|
-
"name": "
|
|
1979
|
-
"privacy": "private"
|
|
1927
|
+
"description": "Used to append a presentational icon or similar element to the input.",
|
|
1928
|
+
"name": "suffix"
|
|
1980
1929
|
},
|
|
1981
1930
|
{
|
|
1982
|
-
"
|
|
1983
|
-
"name": "
|
|
1984
|
-
"privacy": "private"
|
|
1931
|
+
"description": "An icon to use in lieu of the default clear icon.",
|
|
1932
|
+
"name": "clear-icon"
|
|
1985
1933
|
},
|
|
1986
1934
|
{
|
|
1987
|
-
"
|
|
1988
|
-
"name": "
|
|
1989
|
-
"privacy": "private"
|
|
1935
|
+
"description": "An icon to use in lieu of the default show password icon.",
|
|
1936
|
+
"name": "show-password-icon"
|
|
1990
1937
|
},
|
|
1991
1938
|
{
|
|
1992
|
-
"
|
|
1993
|
-
"name": "
|
|
1994
|
-
"description": "Clears all keyframe effects caused by this animation and aborts its playback."
|
|
1939
|
+
"description": "An icon to use in lieu of the default hide password icon.",
|
|
1940
|
+
"name": "hide-password-icon"
|
|
1995
1941
|
},
|
|
1996
1942
|
{
|
|
1997
|
-
"
|
|
1998
|
-
"name": "
|
|
1999
|
-
"description": "Sets the playback time to the end of the animation corresponding to the current playback direction."
|
|
1943
|
+
"description": "Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.",
|
|
1944
|
+
"name": "help-text"
|
|
2000
1945
|
}
|
|
2001
1946
|
],
|
|
2002
|
-
"
|
|
1947
|
+
"members": [
|
|
2003
1948
|
{
|
|
2004
|
-
"
|
|
2005
|
-
"name": "
|
|
2006
|
-
"
|
|
1949
|
+
"kind": "field",
|
|
1950
|
+
"name": "formControlController",
|
|
1951
|
+
"privacy": "private",
|
|
1952
|
+
"readonly": true,
|
|
1953
|
+
"default": "new FormControlController(this, {\n assumeInteractionOn: ['flow-ui-blur', 'flow-ui-input']\n })"
|
|
2007
1954
|
},
|
|
2008
1955
|
{
|
|
2009
|
-
"
|
|
2010
|
-
"name": "
|
|
2011
|
-
"
|
|
1956
|
+
"kind": "field",
|
|
1957
|
+
"name": "hasSlotController",
|
|
1958
|
+
"privacy": "private",
|
|
1959
|
+
"readonly": true,
|
|
1960
|
+
"default": "new HasSlotController(this, 'help-text', 'label')"
|
|
2012
1961
|
},
|
|
2013
1962
|
{
|
|
2014
|
-
"
|
|
2015
|
-
"name": "
|
|
2016
|
-
"reactName": "onFlowUiStart"
|
|
2017
|
-
}
|
|
2018
|
-
],
|
|
2019
|
-
"attributes": [
|
|
2020
|
-
{
|
|
2021
|
-
"name": "name",
|
|
1963
|
+
"kind": "field",
|
|
1964
|
+
"name": "hasFocus",
|
|
2022
1965
|
"type": {
|
|
2023
|
-
"text": "
|
|
1966
|
+
"text": "boolean"
|
|
2024
1967
|
},
|
|
2025
|
-
"
|
|
2026
|
-
"
|
|
2027
|
-
"fieldName": "name"
|
|
1968
|
+
"privacy": "private",
|
|
1969
|
+
"default": "false"
|
|
2028
1970
|
},
|
|
2029
1971
|
{
|
|
2030
|
-
"
|
|
1972
|
+
"kind": "field",
|
|
1973
|
+
"name": "size",
|
|
2031
1974
|
"type": {
|
|
2032
|
-
"text": "
|
|
1975
|
+
"text": "'small' | 'medium' | 'large'"
|
|
2033
1976
|
},
|
|
2034
|
-
"default": "
|
|
2035
|
-
"description": "
|
|
2036
|
-
"
|
|
1977
|
+
"default": "'medium'",
|
|
1978
|
+
"description": "The input's size.",
|
|
1979
|
+
"attribute": "size",
|
|
1980
|
+
"reflects": true
|
|
2037
1981
|
},
|
|
2038
1982
|
{
|
|
2039
|
-
"
|
|
1983
|
+
"kind": "field",
|
|
1984
|
+
"name": "filled",
|
|
2040
1985
|
"type": {
|
|
2041
|
-
"text": "
|
|
1986
|
+
"text": "boolean"
|
|
2042
1987
|
},
|
|
2043
|
-
"default": "
|
|
2044
|
-
"description": "
|
|
2045
|
-
"
|
|
1988
|
+
"default": "false",
|
|
1989
|
+
"description": "Draws a filled input.",
|
|
1990
|
+
"attribute": "filled",
|
|
1991
|
+
"reflects": true
|
|
2046
1992
|
},
|
|
2047
1993
|
{
|
|
2048
|
-
"
|
|
1994
|
+
"kind": "field",
|
|
1995
|
+
"name": "pill",
|
|
2049
1996
|
"type": {
|
|
2050
|
-
"text": "
|
|
1997
|
+
"text": "boolean"
|
|
2051
1998
|
},
|
|
2052
|
-
"default": "
|
|
2053
|
-
"description": "
|
|
2054
|
-
"
|
|
1999
|
+
"default": "false",
|
|
2000
|
+
"description": "Draws a pill-style input with rounded edges.",
|
|
2001
|
+
"attribute": "pill",
|
|
2002
|
+
"reflects": true
|
|
2055
2003
|
},
|
|
2056
2004
|
{
|
|
2057
|
-
"
|
|
2005
|
+
"kind": "field",
|
|
2006
|
+
"name": "label",
|
|
2058
2007
|
"type": {
|
|
2059
|
-
"text": "
|
|
2008
|
+
"text": "string"
|
|
2060
2009
|
},
|
|
2061
|
-
"default": "
|
|
2062
|
-
"description": "The
|
|
2063
|
-
"
|
|
2010
|
+
"default": "''",
|
|
2011
|
+
"description": "The input's label. If you need to display HTML, use the `label` slot instead.",
|
|
2012
|
+
"attribute": "label"
|
|
2064
2013
|
},
|
|
2065
2014
|
{
|
|
2066
|
-
"
|
|
2015
|
+
"kind": "field",
|
|
2016
|
+
"name": "helpText",
|
|
2067
2017
|
"type": {
|
|
2068
2018
|
"text": "string"
|
|
2069
2019
|
},
|
|
2070
|
-
"default": "'
|
|
2071
|
-
"description": "The
|
|
2072
|
-
"
|
|
2020
|
+
"default": "''",
|
|
2021
|
+
"description": "The input's help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
2022
|
+
"attribute": "help-text"
|
|
2073
2023
|
},
|
|
2074
2024
|
{
|
|
2075
|
-
"
|
|
2025
|
+
"kind": "field",
|
|
2026
|
+
"name": "disabled",
|
|
2076
2027
|
"type": {
|
|
2077
|
-
"text": "
|
|
2028
|
+
"text": "boolean"
|
|
2078
2029
|
},
|
|
2079
|
-
"default": "
|
|
2080
|
-
"description": "
|
|
2081
|
-
"
|
|
2030
|
+
"default": "false",
|
|
2031
|
+
"description": "Disables the input.",
|
|
2032
|
+
"attribute": "disabled",
|
|
2033
|
+
"reflects": true
|
|
2082
2034
|
},
|
|
2083
2035
|
{
|
|
2084
|
-
"
|
|
2036
|
+
"kind": "field",
|
|
2037
|
+
"name": "form",
|
|
2085
2038
|
"type": {
|
|
2086
|
-
"text": "
|
|
2039
|
+
"text": "string"
|
|
2087
2040
|
},
|
|
2088
|
-
"default": "'
|
|
2089
|
-
"description": "
|
|
2090
|
-
"
|
|
2041
|
+
"default": "''",
|
|
2042
|
+
"description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
|
|
2043
|
+
"attribute": "form",
|
|
2044
|
+
"reflects": true
|
|
2091
2045
|
},
|
|
2092
2046
|
{
|
|
2093
|
-
"
|
|
2094
|
-
"
|
|
2095
|
-
"
|
|
2096
|
-
|
|
2097
|
-
"module": "src/components/animation/animation.component.ts"
|
|
2047
|
+
"kind": "field",
|
|
2048
|
+
"name": "required",
|
|
2049
|
+
"type": {
|
|
2050
|
+
"text": "boolean"
|
|
2098
2051
|
},
|
|
2099
|
-
"
|
|
2052
|
+
"default": "false",
|
|
2053
|
+
"description": "Makes the input a required field.",
|
|
2054
|
+
"attribute": "required",
|
|
2055
|
+
"reflects": true
|
|
2100
2056
|
},
|
|
2101
2057
|
{
|
|
2102
|
-
"
|
|
2058
|
+
"kind": "field",
|
|
2059
|
+
"name": "inline",
|
|
2103
2060
|
"type": {
|
|
2104
|
-
"text": "
|
|
2061
|
+
"text": "boolean"
|
|
2105
2062
|
},
|
|
2106
|
-
"default": "
|
|
2107
|
-
"description": "
|
|
2108
|
-
"
|
|
2063
|
+
"default": "false",
|
|
2064
|
+
"description": "Display the input in the 'inline' form control style.",
|
|
2065
|
+
"attribute": "inline",
|
|
2066
|
+
"reflects": true
|
|
2109
2067
|
},
|
|
2110
2068
|
{
|
|
2111
|
-
"
|
|
2069
|
+
"kind": "field",
|
|
2070
|
+
"name": "divider",
|
|
2112
2071
|
"type": {
|
|
2113
|
-
"text": "
|
|
2072
|
+
"text": "boolean"
|
|
2114
2073
|
},
|
|
2115
|
-
"default": "
|
|
2116
|
-
"description": "
|
|
2117
|
-
"
|
|
2118
|
-
|
|
2119
|
-
],
|
|
2120
|
-
"superclass": {
|
|
2121
|
-
"name": "FlowRdfElement",
|
|
2122
|
-
"module": "/src/internal/flow-ui-rdf-element"
|
|
2123
|
-
},
|
|
2124
|
-
"tagName": "flow-ui-animation",
|
|
2125
|
-
"summary": "Animate elements declaratively with over 100 animation presets. Powered by the [Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API).",
|
|
2126
|
-
"customElement": true
|
|
2127
|
-
}
|
|
2128
|
-
],
|
|
2129
|
-
"exports": [
|
|
2130
|
-
{
|
|
2131
|
-
"kind": "js",
|
|
2132
|
-
"name": "default",
|
|
2133
|
-
"declaration": {
|
|
2134
|
-
"name": "FlowUiAnimation",
|
|
2135
|
-
"module": "components/animation/animation.component.js"
|
|
2136
|
-
}
|
|
2137
|
-
}
|
|
2138
|
-
]
|
|
2139
|
-
},
|
|
2140
|
-
{
|
|
2141
|
-
"kind": "javascript-module",
|
|
2142
|
-
"path": "components/animation/animation.js",
|
|
2143
|
-
"declarations": [],
|
|
2144
|
-
"exports": [
|
|
2145
|
-
{
|
|
2146
|
-
"kind": "js",
|
|
2147
|
-
"name": "*",
|
|
2148
|
-
"declaration": {
|
|
2149
|
-
"name": "*",
|
|
2150
|
-
"package": "./animation.component"
|
|
2151
|
-
}
|
|
2152
|
-
},
|
|
2153
|
-
{
|
|
2154
|
-
"kind": "js",
|
|
2155
|
-
"name": "default",
|
|
2156
|
-
"declaration": {
|
|
2157
|
-
"name": "FlowUiAnimation",
|
|
2158
|
-
"module": "components/animation/animation.js"
|
|
2159
|
-
}
|
|
2160
|
-
}
|
|
2161
|
-
]
|
|
2162
|
-
},
|
|
2163
|
-
{
|
|
2164
|
-
"kind": "javascript-module",
|
|
2165
|
-
"path": "components/animation/animations.js",
|
|
2166
|
-
"declarations": [
|
|
2167
|
-
{
|
|
2168
|
-
"kind": "function",
|
|
2169
|
-
"name": "getAnimationNames",
|
|
2170
|
-
"description": "Returns a list of all supported animation names.\n\nSupply the required animation as the `name` property of the\n`<flow-ui-animation>` component."
|
|
2171
|
-
},
|
|
2172
|
-
{
|
|
2173
|
-
"kind": "function",
|
|
2174
|
-
"name": "getEasingNames",
|
|
2175
|
-
"description": "Returns a list of all supported easing method names.\n\nSupply the required easing method as the `easing` property of the\n`<flow-ui-animation>` component."
|
|
2176
|
-
}
|
|
2177
|
-
],
|
|
2178
|
-
"exports": [
|
|
2179
|
-
{
|
|
2180
|
-
"kind": "js",
|
|
2181
|
-
"name": "animations",
|
|
2182
|
-
"declaration": {
|
|
2183
|
-
"name": "animations",
|
|
2184
|
-
"module": "components/animation/animations.js"
|
|
2185
|
-
}
|
|
2186
|
-
},
|
|
2187
|
-
{
|
|
2188
|
-
"kind": "js",
|
|
2189
|
-
"name": "getAnimationNames",
|
|
2190
|
-
"declaration": {
|
|
2191
|
-
"name": "getAnimationNames",
|
|
2192
|
-
"module": "components/animation/animations.js"
|
|
2193
|
-
}
|
|
2194
|
-
},
|
|
2195
|
-
{
|
|
2196
|
-
"kind": "js",
|
|
2197
|
-
"name": "getEasingNames",
|
|
2198
|
-
"declaration": {
|
|
2199
|
-
"name": "getEasingNames",
|
|
2200
|
-
"module": "components/animation/animations.js"
|
|
2201
|
-
}
|
|
2202
|
-
}
|
|
2203
|
-
]
|
|
2204
|
-
},
|
|
2205
|
-
{
|
|
2206
|
-
"kind": "javascript-module",
|
|
2207
|
-
"path": "components/breadcrumb-item/breadcrumb-item.component.js",
|
|
2208
|
-
"declarations": [
|
|
2209
|
-
{
|
|
2210
|
-
"kind": "class",
|
|
2211
|
-
"description": "",
|
|
2212
|
-
"name": "FlowUiBreadcrumbItem",
|
|
2213
|
-
"cssParts": [
|
|
2214
|
-
{
|
|
2215
|
-
"description": "The component's base wrapper.",
|
|
2216
|
-
"name": "base"
|
|
2074
|
+
"default": "false",
|
|
2075
|
+
"description": "Indicates that the control should display a divider",
|
|
2076
|
+
"attribute": "divider",
|
|
2077
|
+
"reflects": true
|
|
2217
2078
|
},
|
|
2218
2079
|
{
|
|
2219
|
-
"
|
|
2220
|
-
"name": "
|
|
2080
|
+
"kind": "field",
|
|
2081
|
+
"name": "validity",
|
|
2082
|
+
"description": "Gets the validity state object",
|
|
2083
|
+
"readonly": true
|
|
2221
2084
|
},
|
|
2222
2085
|
{
|
|
2223
|
-
"
|
|
2224
|
-
"name": "
|
|
2086
|
+
"kind": "field",
|
|
2087
|
+
"name": "validationMessage",
|
|
2088
|
+
"description": "Gets the validation message",
|
|
2089
|
+
"readonly": true
|
|
2225
2090
|
},
|
|
2226
2091
|
{
|
|
2227
|
-
"
|
|
2228
|
-
"name": "
|
|
2092
|
+
"kind": "method",
|
|
2093
|
+
"name": "handleBlur",
|
|
2094
|
+
"privacy": "private"
|
|
2229
2095
|
},
|
|
2230
2096
|
{
|
|
2231
|
-
"
|
|
2232
|
-
"name": "
|
|
2233
|
-
|
|
2234
|
-
],
|
|
2235
|
-
"slots": [
|
|
2236
|
-
{
|
|
2237
|
-
"description": "The breadcrumb item's label.",
|
|
2238
|
-
"name": ""
|
|
2097
|
+
"kind": "method",
|
|
2098
|
+
"name": "handleFocus",
|
|
2099
|
+
"privacy": "private"
|
|
2239
2100
|
},
|
|
2240
2101
|
{
|
|
2241
|
-
"
|
|
2242
|
-
"name": "
|
|
2102
|
+
"kind": "method",
|
|
2103
|
+
"name": "focus",
|
|
2104
|
+
"parameters": [
|
|
2105
|
+
{
|
|
2106
|
+
"name": "options",
|
|
2107
|
+
"optional": true,
|
|
2108
|
+
"type": {
|
|
2109
|
+
"text": "FocusOptions"
|
|
2110
|
+
}
|
|
2111
|
+
}
|
|
2112
|
+
],
|
|
2113
|
+
"description": "Sets focus on the input."
|
|
2243
2114
|
},
|
|
2244
2115
|
{
|
|
2245
|
-
"
|
|
2246
|
-
"name": "
|
|
2116
|
+
"kind": "method",
|
|
2117
|
+
"name": "blur",
|
|
2118
|
+
"description": "Removes focus from the input."
|
|
2247
2119
|
},
|
|
2248
2120
|
{
|
|
2249
|
-
"
|
|
2250
|
-
"name": "
|
|
2121
|
+
"kind": "method",
|
|
2122
|
+
"name": "checkValidity",
|
|
2123
|
+
"description": "Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid."
|
|
2124
|
+
},
|
|
2125
|
+
{
|
|
2126
|
+
"kind": "method",
|
|
2127
|
+
"name": "getForm",
|
|
2128
|
+
"return": {
|
|
2129
|
+
"type": {
|
|
2130
|
+
"text": "HTMLFormElement | null"
|
|
2131
|
+
}
|
|
2132
|
+
},
|
|
2133
|
+
"description": "Gets the associated form, if one exists."
|
|
2134
|
+
},
|
|
2135
|
+
{
|
|
2136
|
+
"kind": "method",
|
|
2137
|
+
"name": "reportValidity",
|
|
2138
|
+
"description": "Checks for validity and shows the browser's validation message if the control is invalid."
|
|
2139
|
+
},
|
|
2140
|
+
{
|
|
2141
|
+
"kind": "method",
|
|
2142
|
+
"name": "setCustomValidity",
|
|
2143
|
+
"parameters": [
|
|
2144
|
+
{
|
|
2145
|
+
"name": "message",
|
|
2146
|
+
"type": {
|
|
2147
|
+
"text": "string"
|
|
2148
|
+
}
|
|
2149
|
+
}
|
|
2150
|
+
],
|
|
2151
|
+
"description": "Sets a custom validation message. Pass an empty string to restore validity."
|
|
2251
2152
|
}
|
|
2252
2153
|
],
|
|
2253
|
-
"
|
|
2154
|
+
"events": [
|
|
2254
2155
|
{
|
|
2255
|
-
"
|
|
2256
|
-
"name": "
|
|
2257
|
-
"
|
|
2258
|
-
"readonly": true,
|
|
2259
|
-
"default": "new HasSlotController(this, 'prefix', 'suffix')"
|
|
2156
|
+
"description": "Emitted when the control loses focus.",
|
|
2157
|
+
"name": "flow-ui-blur",
|
|
2158
|
+
"reactName": "onFlowUiBlur"
|
|
2260
2159
|
},
|
|
2261
2160
|
{
|
|
2262
|
-
"
|
|
2263
|
-
"name": "
|
|
2161
|
+
"description": "Emitted when an alteration to the control's value is committed by the user.",
|
|
2162
|
+
"name": "flow-ui-change",
|
|
2163
|
+
"reactName": "onFlowUiChange"
|
|
2164
|
+
},
|
|
2165
|
+
{
|
|
2166
|
+
"description": "Emitted when the clear button is activated.",
|
|
2167
|
+
"name": "flow-ui-clear",
|
|
2168
|
+
"reactName": "onFlowUiClear"
|
|
2169
|
+
},
|
|
2170
|
+
{
|
|
2171
|
+
"description": "Emitted when the control gains focus.",
|
|
2172
|
+
"name": "flow-ui-focus",
|
|
2173
|
+
"reactName": "onFlowUiFocus"
|
|
2174
|
+
},
|
|
2175
|
+
{
|
|
2176
|
+
"description": "Emitted when the control receives input.",
|
|
2177
|
+
"name": "flow-ui-input",
|
|
2178
|
+
"reactName": "onFlowUiInput"
|
|
2179
|
+
},
|
|
2180
|
+
{
|
|
2181
|
+
"description": "Emitted when the form control has been checked for validity and its constraints aren't satisfied.",
|
|
2182
|
+
"name": "flow-ui-invalid",
|
|
2183
|
+
"reactName": "onFlowUiInvalid"
|
|
2184
|
+
}
|
|
2185
|
+
],
|
|
2186
|
+
"attributes": [
|
|
2187
|
+
{
|
|
2188
|
+
"name": "size",
|
|
2264
2189
|
"type": {
|
|
2265
|
-
"text": "
|
|
2190
|
+
"text": "'small' | 'medium' | 'large'"
|
|
2266
2191
|
},
|
|
2267
|
-
"
|
|
2268
|
-
"
|
|
2192
|
+
"default": "'medium'",
|
|
2193
|
+
"description": "The input's size.",
|
|
2194
|
+
"fieldName": "size"
|
|
2269
2195
|
},
|
|
2270
2196
|
{
|
|
2271
|
-
"
|
|
2272
|
-
"name": "target",
|
|
2197
|
+
"name": "filled",
|
|
2273
2198
|
"type": {
|
|
2274
|
-
"text": "
|
|
2199
|
+
"text": "boolean"
|
|
2275
2200
|
},
|
|
2276
|
-
"
|
|
2277
|
-
"
|
|
2201
|
+
"default": "false",
|
|
2202
|
+
"description": "Draws a filled input.",
|
|
2203
|
+
"fieldName": "filled"
|
|
2278
2204
|
},
|
|
2279
2205
|
{
|
|
2280
|
-
"
|
|
2281
|
-
"
|
|
2206
|
+
"name": "pill",
|
|
2207
|
+
"type": {
|
|
2208
|
+
"text": "boolean"
|
|
2209
|
+
},
|
|
2210
|
+
"default": "false",
|
|
2211
|
+
"description": "Draws a pill-style input with rounded edges.",
|
|
2212
|
+
"fieldName": "pill"
|
|
2213
|
+
},
|
|
2214
|
+
{
|
|
2215
|
+
"name": "label",
|
|
2282
2216
|
"type": {
|
|
2283
2217
|
"text": "string"
|
|
2284
2218
|
},
|
|
2285
|
-
"default": "'
|
|
2286
|
-
"description": "The
|
|
2287
|
-
"
|
|
2288
|
-
}
|
|
2289
|
-
],
|
|
2290
|
-
"attributes": [
|
|
2219
|
+
"default": "''",
|
|
2220
|
+
"description": "The input's label. If you need to display HTML, use the `label` slot instead.",
|
|
2221
|
+
"fieldName": "label"
|
|
2222
|
+
},
|
|
2291
2223
|
{
|
|
2292
|
-
"name": "
|
|
2224
|
+
"name": "help-text",
|
|
2293
2225
|
"type": {
|
|
2294
|
-
"text": "string
|
|
2226
|
+
"text": "string"
|
|
2295
2227
|
},
|
|
2296
|
-
"
|
|
2297
|
-
"
|
|
2228
|
+
"default": "''",
|
|
2229
|
+
"description": "The input's help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
2230
|
+
"fieldName": "helpText"
|
|
2298
2231
|
},
|
|
2299
2232
|
{
|
|
2300
|
-
"name": "
|
|
2233
|
+
"name": "disabled",
|
|
2301
2234
|
"type": {
|
|
2302
|
-
"text": "
|
|
2235
|
+
"text": "boolean"
|
|
2303
2236
|
},
|
|
2304
|
-
"
|
|
2305
|
-
"
|
|
2237
|
+
"default": "false",
|
|
2238
|
+
"description": "Disables the input.",
|
|
2239
|
+
"fieldName": "disabled"
|
|
2306
2240
|
},
|
|
2307
2241
|
{
|
|
2308
|
-
"name": "
|
|
2242
|
+
"name": "form",
|
|
2309
2243
|
"type": {
|
|
2310
2244
|
"text": "string"
|
|
2311
2245
|
},
|
|
2312
|
-
"default": "'
|
|
2313
|
-
"description": "
|
|
2314
|
-
"fieldName": "
|
|
2246
|
+
"default": "''",
|
|
2247
|
+
"description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
|
|
2248
|
+
"fieldName": "form"
|
|
2249
|
+
},
|
|
2250
|
+
{
|
|
2251
|
+
"name": "required",
|
|
2252
|
+
"type": {
|
|
2253
|
+
"text": "boolean"
|
|
2254
|
+
},
|
|
2255
|
+
"default": "false",
|
|
2256
|
+
"description": "Makes the input a required field.",
|
|
2257
|
+
"fieldName": "required"
|
|
2258
|
+
},
|
|
2259
|
+
{
|
|
2260
|
+
"name": "inline",
|
|
2261
|
+
"type": {
|
|
2262
|
+
"text": "boolean"
|
|
2263
|
+
},
|
|
2264
|
+
"default": "false",
|
|
2265
|
+
"description": "Display the input in the 'inline' form control style.",
|
|
2266
|
+
"fieldName": "inline"
|
|
2267
|
+
},
|
|
2268
|
+
{
|
|
2269
|
+
"name": "divider",
|
|
2270
|
+
"type": {
|
|
2271
|
+
"text": "boolean"
|
|
2272
|
+
},
|
|
2273
|
+
"default": "false",
|
|
2274
|
+
"description": "Indicates that the control should display a divider",
|
|
2275
|
+
"fieldName": "divider"
|
|
2315
2276
|
}
|
|
2316
2277
|
],
|
|
2317
2278
|
"superclass": {
|
|
2318
|
-
"name": "
|
|
2279
|
+
"name": "FlowRdfFormControl",
|
|
2319
2280
|
"module": "/src/internal/flow-ui-rdf-element"
|
|
2320
2281
|
},
|
|
2321
|
-
"tagName": "flow-ui-
|
|
2322
|
-
"summary": "
|
|
2282
|
+
"tagName": "flow-ui-base-control",
|
|
2283
|
+
"summary": "Inputs collect data from the user.",
|
|
2284
|
+
"documentation": "https://developer.emu-analytics.net/docs/flow-ui-rdf/components/input",
|
|
2285
|
+
"status": "stable",
|
|
2286
|
+
"since": "2.0",
|
|
2287
|
+
"dependencies": [
|
|
2288
|
+
"flow-ui-icon",
|
|
2289
|
+
"flow-ui-icon-button"
|
|
2290
|
+
],
|
|
2323
2291
|
"customElement": true
|
|
2324
2292
|
}
|
|
2325
2293
|
],
|
|
@@ -2328,121 +2296,153 @@
|
|
|
2328
2296
|
"kind": "js",
|
|
2329
2297
|
"name": "default",
|
|
2330
2298
|
"declaration": {
|
|
2331
|
-
"name": "
|
|
2332
|
-
"module": "components/
|
|
2299
|
+
"name": "FlowUiBaseControl",
|
|
2300
|
+
"module": "components/base-control/base-control.component.js"
|
|
2333
2301
|
}
|
|
2334
2302
|
}
|
|
2335
2303
|
]
|
|
2336
2304
|
},
|
|
2337
2305
|
{
|
|
2338
2306
|
"kind": "javascript-module",
|
|
2339
|
-
"path": "components/
|
|
2307
|
+
"path": "components/base-control/base-control.js",
|
|
2340
2308
|
"declarations": [],
|
|
2341
2309
|
"exports": [
|
|
2310
|
+
{
|
|
2311
|
+
"kind": "js",
|
|
2312
|
+
"name": "*",
|
|
2313
|
+
"declaration": {
|
|
2314
|
+
"name": "*",
|
|
2315
|
+
"package": "./base-control.component"
|
|
2316
|
+
}
|
|
2317
|
+
},
|
|
2342
2318
|
{
|
|
2343
2319
|
"kind": "js",
|
|
2344
2320
|
"name": "default",
|
|
2345
2321
|
"declaration": {
|
|
2346
|
-
"name": "
|
|
2347
|
-
"module": "components/
|
|
2322
|
+
"name": "FlowUiBaseControl",
|
|
2323
|
+
"module": "components/base-control/base-control.js"
|
|
2348
2324
|
}
|
|
2349
2325
|
}
|
|
2350
2326
|
]
|
|
2351
2327
|
},
|
|
2352
2328
|
{
|
|
2353
2329
|
"kind": "javascript-module",
|
|
2354
|
-
"path": "components/breadcrumb/breadcrumb.component.js",
|
|
2330
|
+
"path": "components/breadcrumb-item/breadcrumb-item.component.js",
|
|
2355
2331
|
"declarations": [
|
|
2356
2332
|
{
|
|
2357
2333
|
"kind": "class",
|
|
2358
2334
|
"description": "",
|
|
2359
|
-
"name": "
|
|
2335
|
+
"name": "FlowUiBreadcrumbItem",
|
|
2360
2336
|
"cssParts": [
|
|
2361
2337
|
{
|
|
2362
2338
|
"description": "The component's base wrapper.",
|
|
2363
2339
|
"name": "base"
|
|
2340
|
+
},
|
|
2341
|
+
{
|
|
2342
|
+
"description": "The breadcrumb item's label.",
|
|
2343
|
+
"name": "label"
|
|
2344
|
+
},
|
|
2345
|
+
{
|
|
2346
|
+
"description": "The container that wraps the prefix.",
|
|
2347
|
+
"name": "prefix"
|
|
2348
|
+
},
|
|
2349
|
+
{
|
|
2350
|
+
"description": "The container that wraps the suffix.",
|
|
2351
|
+
"name": "suffix"
|
|
2352
|
+
},
|
|
2353
|
+
{
|
|
2354
|
+
"description": "The container that wraps the separator.",
|
|
2355
|
+
"name": "separator"
|
|
2364
2356
|
}
|
|
2365
2357
|
],
|
|
2366
2358
|
"slots": [
|
|
2367
2359
|
{
|
|
2368
|
-
"description": "
|
|
2360
|
+
"description": "The breadcrumb item's label.",
|
|
2369
2361
|
"name": ""
|
|
2370
2362
|
},
|
|
2371
2363
|
{
|
|
2372
|
-
"description": "
|
|
2364
|
+
"description": "An optional prefix, usually an icon or icon button.",
|
|
2365
|
+
"name": "prefix"
|
|
2366
|
+
},
|
|
2367
|
+
{
|
|
2368
|
+
"description": "An optional suffix, usually an icon or icon button.",
|
|
2369
|
+
"name": "suffix"
|
|
2370
|
+
},
|
|
2371
|
+
{
|
|
2372
|
+
"description": "The separator to use for the breadcrumb item. This will only change the separator for this item. If you want to change it for all items in the group, set the separator on `<flow-ui-breadcrumb>` instead.",
|
|
2373
2373
|
"name": "separator"
|
|
2374
2374
|
}
|
|
2375
2375
|
],
|
|
2376
2376
|
"members": [
|
|
2377
2377
|
{
|
|
2378
2378
|
"kind": "field",
|
|
2379
|
-
"name": "
|
|
2379
|
+
"name": "hasSlotController",
|
|
2380
2380
|
"privacy": "private",
|
|
2381
2381
|
"readonly": true,
|
|
2382
|
-
"default": "new
|
|
2383
|
-
},
|
|
2384
|
-
{
|
|
2385
|
-
"kind": "field",
|
|
2386
|
-
"name": "separatorDir",
|
|
2387
|
-
"privacy": "private"
|
|
2382
|
+
"default": "new HasSlotController(this, 'prefix', 'suffix')"
|
|
2388
2383
|
},
|
|
2389
2384
|
{
|
|
2390
2385
|
"kind": "field",
|
|
2391
|
-
"name": "
|
|
2386
|
+
"name": "href",
|
|
2392
2387
|
"type": {
|
|
2393
|
-
"text": "
|
|
2388
|
+
"text": "string | undefined"
|
|
2394
2389
|
},
|
|
2395
|
-
"
|
|
2390
|
+
"description": "Optional URL to direct the user to when the breadcrumb item is activated. When set, a link will be rendered\ninternally. When unset, a button will be rendered instead.",
|
|
2391
|
+
"attribute": "href"
|
|
2396
2392
|
},
|
|
2397
2393
|
{
|
|
2398
2394
|
"kind": "field",
|
|
2399
|
-
"name": "
|
|
2395
|
+
"name": "target",
|
|
2400
2396
|
"type": {
|
|
2401
|
-
"text": "
|
|
2397
|
+
"text": "'_blank' | '_parent' | '_self' | '_top' | undefined"
|
|
2402
2398
|
},
|
|
2403
|
-
"
|
|
2399
|
+
"description": "Tells the browser where to open the link. Only used when `href` is set.",
|
|
2400
|
+
"attribute": "target"
|
|
2404
2401
|
},
|
|
2405
2402
|
{
|
|
2406
2403
|
"kind": "field",
|
|
2407
|
-
"name": "
|
|
2404
|
+
"name": "rel",
|
|
2408
2405
|
"type": {
|
|
2409
2406
|
"text": "string"
|
|
2410
2407
|
},
|
|
2411
|
-
"default": "''",
|
|
2412
|
-
"description": "The
|
|
2413
|
-
"attribute": "
|
|
2414
|
-
},
|
|
2415
|
-
{
|
|
2416
|
-
"kind": "method",
|
|
2417
|
-
"name": "getSeparator",
|
|
2418
|
-
"privacy": "private"
|
|
2419
|
-
},
|
|
2420
|
-
{
|
|
2421
|
-
"kind": "method",
|
|
2422
|
-
"name": "handleSlotChange",
|
|
2423
|
-
"privacy": "private"
|
|
2408
|
+
"default": "'noreferrer noopener'",
|
|
2409
|
+
"description": "The `rel` attribute to use on the link. Only used when `href` is set.",
|
|
2410
|
+
"attribute": "rel"
|
|
2424
2411
|
}
|
|
2425
2412
|
],
|
|
2426
2413
|
"attributes": [
|
|
2427
2414
|
{
|
|
2428
|
-
"name": "
|
|
2415
|
+
"name": "href",
|
|
2416
|
+
"type": {
|
|
2417
|
+
"text": "string | undefined"
|
|
2418
|
+
},
|
|
2419
|
+
"description": "Optional URL to direct the user to when the breadcrumb item is activated. When set, a link will be rendered\ninternally. When unset, a button will be rendered instead.",
|
|
2420
|
+
"fieldName": "href"
|
|
2421
|
+
},
|
|
2422
|
+
{
|
|
2423
|
+
"name": "target",
|
|
2424
|
+
"type": {
|
|
2425
|
+
"text": "'_blank' | '_parent' | '_self' | '_top' | undefined"
|
|
2426
|
+
},
|
|
2427
|
+
"description": "Tells the browser where to open the link. Only used when `href` is set.",
|
|
2428
|
+
"fieldName": "target"
|
|
2429
|
+
},
|
|
2430
|
+
{
|
|
2431
|
+
"name": "rel",
|
|
2429
2432
|
"type": {
|
|
2430
2433
|
"text": "string"
|
|
2431
2434
|
},
|
|
2432
|
-
"default": "''",
|
|
2433
|
-
"description": "The
|
|
2434
|
-
"fieldName": "
|
|
2435
|
+
"default": "'noreferrer noopener'",
|
|
2436
|
+
"description": "The `rel` attribute to use on the link. Only used when `href` is set.",
|
|
2437
|
+
"fieldName": "rel"
|
|
2435
2438
|
}
|
|
2436
2439
|
],
|
|
2437
2440
|
"superclass": {
|
|
2438
2441
|
"name": "FlowRdfElement",
|
|
2439
2442
|
"module": "/src/internal/flow-ui-rdf-element"
|
|
2440
2443
|
},
|
|
2441
|
-
"tagName": "flow-ui-breadcrumb",
|
|
2442
|
-
"summary": "
|
|
2443
|
-
"dependencies": [
|
|
2444
|
-
"flow-ui-icon"
|
|
2445
|
-
],
|
|
2444
|
+
"tagName": "flow-ui-breadcrumb-item",
|
|
2445
|
+
"summary": "Breadcrumb Items are used inside [breadcrumbs](./flow-ui-breadcrumb) to represent different links.",
|
|
2446
2446
|
"customElement": true
|
|
2447
2447
|
}
|
|
2448
2448
|
],
|
|
@@ -2451,23 +2451,23 @@
|
|
|
2451
2451
|
"kind": "js",
|
|
2452
2452
|
"name": "default",
|
|
2453
2453
|
"declaration": {
|
|
2454
|
-
"name": "
|
|
2455
|
-
"module": "components/breadcrumb/breadcrumb.component.js"
|
|
2454
|
+
"name": "FlowUiBreadcrumbItem",
|
|
2455
|
+
"module": "components/breadcrumb-item/breadcrumb-item.component.js"
|
|
2456
2456
|
}
|
|
2457
2457
|
}
|
|
2458
2458
|
]
|
|
2459
2459
|
},
|
|
2460
2460
|
{
|
|
2461
2461
|
"kind": "javascript-module",
|
|
2462
|
-
"path": "components/breadcrumb/breadcrumb.js",
|
|
2462
|
+
"path": "components/breadcrumb-item/breadcrumb-item.js",
|
|
2463
2463
|
"declarations": [],
|
|
2464
2464
|
"exports": [
|
|
2465
2465
|
{
|
|
2466
2466
|
"kind": "js",
|
|
2467
2467
|
"name": "default",
|
|
2468
2468
|
"declaration": {
|
|
2469
|
-
"name": "
|
|
2470
|
-
"module": "components/breadcrumb/breadcrumb.js"
|
|
2469
|
+
"name": "FlowUiBreadcrumbItem",
|
|
2470
|
+
"module": "components/breadcrumb-item/breadcrumb-item.js"
|
|
2471
2471
|
}
|
|
2472
2472
|
}
|
|
2473
2473
|
]
|
|
@@ -10529,47 +10529,49 @@
|
|
|
10529
10529
|
},
|
|
10530
10530
|
{
|
|
10531
10531
|
"kind": "javascript-module",
|
|
10532
|
-
"path": "components/icon/icon.component.js",
|
|
10532
|
+
"path": "components/icon-button/icon-button.component.js",
|
|
10533
10533
|
"declarations": [
|
|
10534
10534
|
{
|
|
10535
10535
|
"kind": "class",
|
|
10536
10536
|
"description": "",
|
|
10537
|
-
"name": "
|
|
10537
|
+
"name": "FlowUiIconButton",
|
|
10538
10538
|
"cssParts": [
|
|
10539
10539
|
{
|
|
10540
|
-
"description": "The
|
|
10541
|
-
"name": "
|
|
10540
|
+
"description": "The component's base wrapper.",
|
|
10541
|
+
"name": "base"
|
|
10542
|
+
}
|
|
10543
|
+
],
|
|
10544
|
+
"slots": [
|
|
10545
|
+
{
|
|
10546
|
+
"description": "The tooltip content to display when the user hovers over the icon button. Alternatively, you can use the `tooltip` attribute.",
|
|
10547
|
+
"name": "tooltip"
|
|
10542
10548
|
}
|
|
10543
10549
|
],
|
|
10544
10550
|
"members": [
|
|
10545
10551
|
{
|
|
10546
|
-
"kind": "
|
|
10547
|
-
"name": "
|
|
10552
|
+
"kind": "field",
|
|
10553
|
+
"name": "hasSlotController",
|
|
10548
10554
|
"privacy": "private",
|
|
10549
|
-
"
|
|
10550
|
-
"
|
|
10551
|
-
|
|
10552
|
-
|
|
10553
|
-
|
|
10555
|
+
"readonly": true,
|
|
10556
|
+
"default": "new HasSlotController(this, 'tooltip')"
|
|
10557
|
+
},
|
|
10558
|
+
{
|
|
10559
|
+
"kind": "field",
|
|
10560
|
+
"name": "tooltipAnimating",
|
|
10561
|
+
"type": {
|
|
10562
|
+
"text": "boolean"
|
|
10554
10563
|
},
|
|
10555
|
-
"
|
|
10556
|
-
|
|
10557
|
-
"name": "url",
|
|
10558
|
-
"type": {
|
|
10559
|
-
"text": "string"
|
|
10560
|
-
}
|
|
10561
|
-
}
|
|
10562
|
-
],
|
|
10563
|
-
"description": "Given a URL, this function returns the resulting SVG element or an appropriate error symbol."
|
|
10564
|
+
"privacy": "private",
|
|
10565
|
+
"default": "false"
|
|
10564
10566
|
},
|
|
10565
10567
|
{
|
|
10566
10568
|
"kind": "field",
|
|
10567
|
-
"name": "
|
|
10569
|
+
"name": "hasFocus",
|
|
10568
10570
|
"type": {
|
|
10569
|
-
"text": "
|
|
10571
|
+
"text": "boolean"
|
|
10570
10572
|
},
|
|
10571
10573
|
"privacy": "private",
|
|
10572
|
-
"default": "
|
|
10574
|
+
"default": "false"
|
|
10573
10575
|
},
|
|
10574
10576
|
{
|
|
10575
10577
|
"kind": "field",
|
|
@@ -10578,8 +10580,16 @@
|
|
|
10578
10580
|
"text": "string | undefined"
|
|
10579
10581
|
},
|
|
10580
10582
|
"description": "The name of the icon to draw. Available names depend on the icon library being used.",
|
|
10581
|
-
"attribute": "name"
|
|
10582
|
-
|
|
10583
|
+
"attribute": "name"
|
|
10584
|
+
},
|
|
10585
|
+
{
|
|
10586
|
+
"kind": "field",
|
|
10587
|
+
"name": "library",
|
|
10588
|
+
"type": {
|
|
10589
|
+
"text": "string | undefined"
|
|
10590
|
+
},
|
|
10591
|
+
"description": "The name of a registered custom icon library.",
|
|
10592
|
+
"attribute": "library"
|
|
10583
10593
|
},
|
|
10584
10594
|
{
|
|
10585
10595
|
"kind": "field",
|
|
@@ -10590,6 +10600,33 @@
|
|
|
10590
10600
|
"description": "An external URL of an SVG file. Be sure you trust the content you are including, as it will be executed as code and\ncan result in XSS attacks.",
|
|
10591
10601
|
"attribute": "src"
|
|
10592
10602
|
},
|
|
10603
|
+
{
|
|
10604
|
+
"kind": "field",
|
|
10605
|
+
"name": "href",
|
|
10606
|
+
"type": {
|
|
10607
|
+
"text": "string | undefined"
|
|
10608
|
+
},
|
|
10609
|
+
"description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
|
|
10610
|
+
"attribute": "href"
|
|
10611
|
+
},
|
|
10612
|
+
{
|
|
10613
|
+
"kind": "field",
|
|
10614
|
+
"name": "target",
|
|
10615
|
+
"type": {
|
|
10616
|
+
"text": "'_blank' | '_parent' | '_self' | '_top' | undefined"
|
|
10617
|
+
},
|
|
10618
|
+
"description": "Tells the browser where to open the link. Only used when `href` is set.",
|
|
10619
|
+
"attribute": "target"
|
|
10620
|
+
},
|
|
10621
|
+
{
|
|
10622
|
+
"kind": "field",
|
|
10623
|
+
"name": "download",
|
|
10624
|
+
"type": {
|
|
10625
|
+
"text": "string | undefined"
|
|
10626
|
+
},
|
|
10627
|
+
"description": "Tells the browser to download the linked file as this filename. Only used when `href` is set.",
|
|
10628
|
+
"attribute": "download"
|
|
10629
|
+
},
|
|
10593
10630
|
{
|
|
10594
10631
|
"kind": "field",
|
|
10595
10632
|
"name": "label",
|
|
@@ -10597,782 +10634,745 @@
|
|
|
10597
10634
|
"text": "string"
|
|
10598
10635
|
},
|
|
10599
10636
|
"default": "''",
|
|
10600
|
-
"description": "
|
|
10637
|
+
"description": "A description that gets read by assistive devices. For optimal accessibility, you should always include a label\nthat describes what the icon button does.",
|
|
10601
10638
|
"attribute": "label"
|
|
10602
10639
|
},
|
|
10603
10640
|
{
|
|
10604
10641
|
"kind": "field",
|
|
10605
|
-
"name": "
|
|
10642
|
+
"name": "tooltip",
|
|
10606
10643
|
"type": {
|
|
10607
10644
|
"text": "string"
|
|
10608
10645
|
},
|
|
10609
|
-
"default": "'
|
|
10610
|
-
"description": "
|
|
10611
|
-
"attribute": "
|
|
10612
|
-
"reflects": true
|
|
10646
|
+
"default": "''",
|
|
10647
|
+
"description": "Tooltip text that gets displayed when the user hovers over the icon button. If you need to display HTML, use the\n`tooltip` slot instead.",
|
|
10648
|
+
"attribute": "tooltip"
|
|
10613
10649
|
},
|
|
10614
10650
|
{
|
|
10615
|
-
"kind": "
|
|
10616
|
-
"name": "
|
|
10617
|
-
"
|
|
10618
|
-
|
|
10619
|
-
|
|
10620
|
-
|
|
10621
|
-
|
|
10622
|
-
"
|
|
10623
|
-
"name": "flow-ui-load",
|
|
10624
|
-
"reactName": "onFlowUiLoad"
|
|
10651
|
+
"kind": "field",
|
|
10652
|
+
"name": "tooltipPlacement",
|
|
10653
|
+
"type": {
|
|
10654
|
+
"text": "| 'top'\n | 'top-start'\n | 'top-end'\n | 'right'\n | 'right-start'\n | 'right-end'\n | 'bottom'\n | 'bottom-start'\n | 'bottom-end'\n | 'left'\n | 'left-start'\n | 'left-end'"
|
|
10655
|
+
},
|
|
10656
|
+
"default": "'top'",
|
|
10657
|
+
"description": "The preferred placement of the tooltip. Note that the actual placement may vary as needed to keep the tooltip\ninside of the viewport.",
|
|
10658
|
+
"attribute": "tooltip-placement"
|
|
10625
10659
|
},
|
|
10626
10660
|
{
|
|
10627
|
-
"
|
|
10628
|
-
"name": "
|
|
10629
|
-
"reactName": "onFlowUiError"
|
|
10630
|
-
}
|
|
10631
|
-
],
|
|
10632
|
-
"attributes": [
|
|
10633
|
-
{
|
|
10634
|
-
"name": "name",
|
|
10661
|
+
"kind": "field",
|
|
10662
|
+
"name": "tooltipDistance",
|
|
10635
10663
|
"type": {
|
|
10636
|
-
"text": "
|
|
10664
|
+
"text": "number"
|
|
10637
10665
|
},
|
|
10638
|
-
"
|
|
10639
|
-
"
|
|
10666
|
+
"default": "8",
|
|
10667
|
+
"description": "The distance in pixels from which to offset the tooltip away from the icon button.",
|
|
10668
|
+
"attribute": "tooltip-distance"
|
|
10640
10669
|
},
|
|
10641
10670
|
{
|
|
10642
|
-
"
|
|
10671
|
+
"kind": "field",
|
|
10672
|
+
"name": "tooltipSkidding",
|
|
10643
10673
|
"type": {
|
|
10644
|
-
"text": "
|
|
10674
|
+
"text": "number"
|
|
10645
10675
|
},
|
|
10646
|
-
"
|
|
10647
|
-
"
|
|
10676
|
+
"default": "0",
|
|
10677
|
+
"description": "The distance in pixels from which to offset the tooltip along the icon button.",
|
|
10678
|
+
"attribute": "tooltip-skidding"
|
|
10648
10679
|
},
|
|
10649
10680
|
{
|
|
10650
|
-
"
|
|
10681
|
+
"kind": "field",
|
|
10682
|
+
"name": "disabled",
|
|
10651
10683
|
"type": {
|
|
10652
|
-
"text": "
|
|
10684
|
+
"text": "boolean"
|
|
10653
10685
|
},
|
|
10654
|
-
"default": "
|
|
10655
|
-
"description": "
|
|
10656
|
-
"
|
|
10686
|
+
"default": "false",
|
|
10687
|
+
"description": "Disables the button.",
|
|
10688
|
+
"attribute": "disabled",
|
|
10689
|
+
"reflects": true
|
|
10657
10690
|
},
|
|
10658
10691
|
{
|
|
10659
|
-
"
|
|
10692
|
+
"kind": "field",
|
|
10693
|
+
"name": "confirm",
|
|
10660
10694
|
"type": {
|
|
10661
10695
|
"text": "string"
|
|
10662
10696
|
},
|
|
10663
|
-
"default": "'
|
|
10664
|
-
"description": "
|
|
10665
|
-
"
|
|
10666
|
-
}
|
|
10667
|
-
],
|
|
10668
|
-
"superclass": {
|
|
10669
|
-
"name": "FlowRdfElement",
|
|
10670
|
-
"module": "/src/internal/flow-ui-rdf-element"
|
|
10671
|
-
},
|
|
10672
|
-
"tagName": "flow-ui-icon",
|
|
10673
|
-
"summary": "Icons are symbols that can be used to represent various options within an application.",
|
|
10674
|
-
"documentation": "https://developer.emu-analytics.net/docs/flow-ui-rdf/components/icon",
|
|
10675
|
-
"status": "stable",
|
|
10676
|
-
"since": "2.0",
|
|
10677
|
-
"customElement": true
|
|
10678
|
-
}
|
|
10679
|
-
],
|
|
10680
|
-
"exports": [
|
|
10681
|
-
{
|
|
10682
|
-
"kind": "js",
|
|
10683
|
-
"name": "default",
|
|
10684
|
-
"declaration": {
|
|
10685
|
-
"name": "FlowUiIcon",
|
|
10686
|
-
"module": "components/icon/icon.component.js"
|
|
10687
|
-
}
|
|
10688
|
-
}
|
|
10689
|
-
]
|
|
10690
|
-
},
|
|
10691
|
-
{
|
|
10692
|
-
"kind": "javascript-module",
|
|
10693
|
-
"path": "components/icon/icon.js",
|
|
10694
|
-
"declarations": [],
|
|
10695
|
-
"exports": [
|
|
10696
|
-
{
|
|
10697
|
-
"kind": "js",
|
|
10698
|
-
"name": "*",
|
|
10699
|
-
"declaration": {
|
|
10700
|
-
"name": "*",
|
|
10701
|
-
"package": "./icon.component"
|
|
10702
|
-
}
|
|
10703
|
-
},
|
|
10704
|
-
{
|
|
10705
|
-
"kind": "js",
|
|
10706
|
-
"name": "default",
|
|
10707
|
-
"declaration": {
|
|
10708
|
-
"name": "FlowUiIcon",
|
|
10709
|
-
"module": "components/icon/icon.js"
|
|
10710
|
-
}
|
|
10711
|
-
}
|
|
10712
|
-
]
|
|
10713
|
-
},
|
|
10714
|
-
{
|
|
10715
|
-
"kind": "javascript-module",
|
|
10716
|
-
"path": "components/icon/library.default.js",
|
|
10717
|
-
"declarations": [
|
|
10718
|
-
{
|
|
10719
|
-
"kind": "function",
|
|
10720
|
-
"name": "addIcons",
|
|
10721
|
-
"parameters": [
|
|
10722
|
-
{
|
|
10723
|
-
"name": "icons",
|
|
10724
|
-
"type": {
|
|
10725
|
-
"text": "{ [name: string]: string }"
|
|
10726
|
-
}
|
|
10727
|
-
}
|
|
10728
|
-
],
|
|
10729
|
-
"description": "\nThe following code shows how to import FontAwesome SVG icons from the `flow-rdf-ui/icons` package and add them to the\ndefault icon library.\n```js\n// Import and register icons\nimport {fasHouse, fasGear, fasUser} from '@emuanalytics/flow-rdf-ui/icons';\nimport {addIcons} from '@emuanalytics/flow-rdf-ui';\naddIcons({fasHouse, fasGear, fasUser});\n```\n\nIcons are registered under their camelCase name **and** kebab-case name.\nOnce registered, they can be used in the following way:\n\n```html\n<flow-ui-icon name=\"fas-house\"></flow-ui-icon>\n```\n\nNote that missing or mis-spelled icons will be displayed as <flow-ui-icon name=\"unknown\"></flow-ui-icon>.\n\nFor a list of available icons, see the [FontAwesome icon gallery](https://fontawesome.com/search?o=r&m=free)."
|
|
10730
|
-
},
|
|
10731
|
-
{
|
|
10732
|
-
"kind": "function",
|
|
10733
|
-
"name": "getIconMap"
|
|
10734
|
-
},
|
|
10735
|
-
{
|
|
10736
|
-
"kind": "variable",
|
|
10737
|
-
"name": "library",
|
|
10738
|
-
"type": {
|
|
10739
|
-
"text": "IconLibrary"
|
|
10740
|
-
},
|
|
10741
|
-
"default": "{\n name: 'default',\n resolver: (name) => {\n const map = getIconMap();\n const icon = map.get(name);\n\n return icon ?? notDefined;\n }\n}"
|
|
10742
|
-
}
|
|
10743
|
-
],
|
|
10744
|
-
"exports": [
|
|
10745
|
-
{
|
|
10746
|
-
"kind": "js",
|
|
10747
|
-
"name": "getIconMap",
|
|
10748
|
-
"declaration": {
|
|
10749
|
-
"name": "getIconMap",
|
|
10750
|
-
"module": "components/icon/library.default.js"
|
|
10751
|
-
}
|
|
10752
|
-
},
|
|
10753
|
-
{
|
|
10754
|
-
"kind": "js",
|
|
10755
|
-
"name": "addIcons",
|
|
10756
|
-
"declaration": {
|
|
10757
|
-
"name": "addIcons",
|
|
10758
|
-
"module": "components/icon/library.default.js"
|
|
10759
|
-
}
|
|
10760
|
-
},
|
|
10761
|
-
{
|
|
10762
|
-
"kind": "js",
|
|
10763
|
-
"name": "library",
|
|
10764
|
-
"declaration": {
|
|
10765
|
-
"name": "library",
|
|
10766
|
-
"module": "components/icon/library.default.js"
|
|
10767
|
-
}
|
|
10768
|
-
}
|
|
10769
|
-
]
|
|
10770
|
-
},
|
|
10771
|
-
{
|
|
10772
|
-
"kind": "javascript-module",
|
|
10773
|
-
"path": "components/icon/library.system.js",
|
|
10774
|
-
"declarations": [
|
|
10775
|
-
{
|
|
10776
|
-
"kind": "variable",
|
|
10777
|
-
"name": "systemLibrary",
|
|
10778
|
-
"type": {
|
|
10779
|
-
"text": "IconLibrary"
|
|
10780
|
-
},
|
|
10781
|
-
"default": "{\n name: 'system',\n resolver: (name: keyof typeof icons) => {\n if (name in icons) {\n return `data:image/svg+xml,${encodeURIComponent(icons[name])}`;\n }\n return '';\n }\n}"
|
|
10782
|
-
}
|
|
10783
|
-
],
|
|
10784
|
-
"exports": [
|
|
10785
|
-
{
|
|
10786
|
-
"kind": "js",
|
|
10787
|
-
"name": "default",
|
|
10788
|
-
"declaration": {
|
|
10789
|
-
"name": "systemLibrary",
|
|
10790
|
-
"module": "components/icon/library.system.js"
|
|
10791
|
-
}
|
|
10792
|
-
}
|
|
10793
|
-
]
|
|
10794
|
-
},
|
|
10795
|
-
{
|
|
10796
|
-
"kind": "javascript-module",
|
|
10797
|
-
"path": "components/icon/library.js",
|
|
10798
|
-
"declarations": [
|
|
10799
|
-
{
|
|
10800
|
-
"kind": "function",
|
|
10801
|
-
"name": "watchIcon",
|
|
10802
|
-
"parameters": [
|
|
10803
|
-
{
|
|
10804
|
-
"name": "icon",
|
|
10805
|
-
"type": {
|
|
10806
|
-
"text": "FlowIcon"
|
|
10807
|
-
}
|
|
10808
|
-
}
|
|
10809
|
-
],
|
|
10810
|
-
"description": "Adds an icon to the list of watched icons."
|
|
10811
|
-
},
|
|
10812
|
-
{
|
|
10813
|
-
"kind": "function",
|
|
10814
|
-
"name": "unwatchIcon",
|
|
10815
|
-
"parameters": [
|
|
10816
|
-
{
|
|
10817
|
-
"name": "icon",
|
|
10818
|
-
"type": {
|
|
10819
|
-
"text": "FlowIcon"
|
|
10820
|
-
}
|
|
10821
|
-
}
|
|
10822
|
-
],
|
|
10823
|
-
"description": "Removes an icon from the list of watched icons."
|
|
10824
|
-
},
|
|
10825
|
-
{
|
|
10826
|
-
"kind": "function",
|
|
10827
|
-
"name": "getIconLibrary",
|
|
10828
|
-
"parameters": [
|
|
10829
|
-
{
|
|
10830
|
-
"name": "name",
|
|
10831
|
-
"optional": true,
|
|
10832
|
-
"type": {
|
|
10833
|
-
"text": "string"
|
|
10834
|
-
}
|
|
10835
|
-
}
|
|
10836
|
-
],
|
|
10837
|
-
"description": "Returns a library from the registry."
|
|
10838
|
-
},
|
|
10839
|
-
{
|
|
10840
|
-
"kind": "function",
|
|
10841
|
-
"name": "registerIconLibrary",
|
|
10842
|
-
"parameters": [
|
|
10843
|
-
{
|
|
10844
|
-
"name": "name",
|
|
10845
|
-
"type": {
|
|
10846
|
-
"text": "string"
|
|
10847
|
-
},
|
|
10848
|
-
"description": "The name of the custom icon library."
|
|
10697
|
+
"default": "''",
|
|
10698
|
+
"description": "Confirmation text that gets displayed in a tooltip when the user clicks the icon button.\n If you need to display HTML, use the `confirm` slot instead.",
|
|
10699
|
+
"attribute": "confirm"
|
|
10849
10700
|
},
|
|
10850
10701
|
{
|
|
10851
|
-
"
|
|
10852
|
-
"
|
|
10853
|
-
|
|
10854
|
-
},
|
|
10855
|
-
"description": "The icon library resolver and optional mutator."
|
|
10702
|
+
"kind": "method",
|
|
10703
|
+
"name": "handleBlur",
|
|
10704
|
+
"privacy": "private"
|
|
10856
10705
|
},
|
|
10857
10706
|
{
|
|
10858
|
-
"
|
|
10859
|
-
"name": "
|
|
10707
|
+
"kind": "method",
|
|
10708
|
+
"name": "handleFocus",
|
|
10709
|
+
"privacy": "private"
|
|
10860
10710
|
},
|
|
10861
10711
|
{
|
|
10862
|
-
"
|
|
10863
|
-
"name": "
|
|
10864
|
-
|
|
10865
|
-
|
|
10866
|
-
|
|
10867
|
-
|
|
10868
|
-
|
|
10869
|
-
|
|
10870
|
-
|
|
10871
|
-
|
|
10872
|
-
|
|
10873
|
-
|
|
10874
|
-
"name": "unregisterIconLibrary",
|
|
10875
|
-
"parameters": [
|
|
10876
|
-
{
|
|
10877
|
-
"name": "name",
|
|
10878
|
-
"type": {
|
|
10879
|
-
"text": "string"
|
|
10880
|
-
}
|
|
10881
|
-
}
|
|
10882
|
-
],
|
|
10883
|
-
"description": "Removes a custom icon library from the registry."
|
|
10884
|
-
}
|
|
10885
|
-
],
|
|
10886
|
-
"exports": [
|
|
10887
|
-
{
|
|
10888
|
-
"kind": "js",
|
|
10889
|
-
"name": "addIcons",
|
|
10890
|
-
"declaration": {
|
|
10891
|
-
"name": "addIcons",
|
|
10892
|
-
"module": "./library.default"
|
|
10893
|
-
}
|
|
10894
|
-
},
|
|
10895
|
-
{
|
|
10896
|
-
"kind": "js",
|
|
10897
|
-
"name": "watchIcon",
|
|
10898
|
-
"declaration": {
|
|
10899
|
-
"name": "watchIcon",
|
|
10900
|
-
"module": "components/icon/library.js"
|
|
10901
|
-
}
|
|
10902
|
-
},
|
|
10903
|
-
{
|
|
10904
|
-
"kind": "js",
|
|
10905
|
-
"name": "unwatchIcon",
|
|
10906
|
-
"declaration": {
|
|
10907
|
-
"name": "unwatchIcon",
|
|
10908
|
-
"module": "components/icon/library.js"
|
|
10909
|
-
}
|
|
10910
|
-
},
|
|
10911
|
-
{
|
|
10912
|
-
"kind": "js",
|
|
10913
|
-
"name": "getIconLibrary",
|
|
10914
|
-
"declaration": {
|
|
10915
|
-
"name": "getIconLibrary",
|
|
10916
|
-
"module": "components/icon/library.js"
|
|
10917
|
-
}
|
|
10918
|
-
},
|
|
10919
|
-
{
|
|
10920
|
-
"kind": "js",
|
|
10921
|
-
"name": "registerIconLibrary",
|
|
10922
|
-
"declaration": {
|
|
10923
|
-
"name": "registerIconLibrary",
|
|
10924
|
-
"module": "components/icon/library.js"
|
|
10925
|
-
}
|
|
10926
|
-
},
|
|
10927
|
-
{
|
|
10928
|
-
"kind": "js",
|
|
10929
|
-
"name": "redrawWatchedIcons",
|
|
10930
|
-
"declaration": {
|
|
10931
|
-
"name": "redrawWatchedIcons",
|
|
10932
|
-
"module": "components/icon/library.js"
|
|
10933
|
-
}
|
|
10934
|
-
},
|
|
10935
|
-
{
|
|
10936
|
-
"kind": "js",
|
|
10937
|
-
"name": "unregisterIconLibrary",
|
|
10938
|
-
"declaration": {
|
|
10939
|
-
"name": "unregisterIconLibrary",
|
|
10940
|
-
"module": "components/icon/library.js"
|
|
10941
|
-
}
|
|
10942
|
-
}
|
|
10943
|
-
]
|
|
10944
|
-
},
|
|
10945
|
-
{
|
|
10946
|
-
"kind": "javascript-module",
|
|
10947
|
-
"path": "components/icon-button/icon-button.component.js",
|
|
10948
|
-
"declarations": [
|
|
10949
|
-
{
|
|
10950
|
-
"kind": "class",
|
|
10951
|
-
"description": "",
|
|
10952
|
-
"name": "FlowUiIconButton",
|
|
10953
|
-
"cssParts": [
|
|
10712
|
+
"kind": "method",
|
|
10713
|
+
"name": "handleClick",
|
|
10714
|
+
"privacy": "protected",
|
|
10715
|
+
"parameters": [
|
|
10716
|
+
{
|
|
10717
|
+
"name": "event",
|
|
10718
|
+
"type": {
|
|
10719
|
+
"text": "MouseEvent"
|
|
10720
|
+
}
|
|
10721
|
+
}
|
|
10722
|
+
]
|
|
10723
|
+
},
|
|
10954
10724
|
{
|
|
10955
|
-
"
|
|
10956
|
-
"name": "
|
|
10957
|
-
|
|
10958
|
-
|
|
10959
|
-
"slots": [
|
|
10725
|
+
"kind": "method",
|
|
10726
|
+
"name": "click",
|
|
10727
|
+
"description": "Simulates a click on the icon button."
|
|
10728
|
+
},
|
|
10960
10729
|
{
|
|
10961
|
-
"
|
|
10962
|
-
"name": "
|
|
10963
|
-
|
|
10964
|
-
|
|
10965
|
-
|
|
10730
|
+
"kind": "method",
|
|
10731
|
+
"name": "focus",
|
|
10732
|
+
"parameters": [
|
|
10733
|
+
{
|
|
10734
|
+
"name": "options",
|
|
10735
|
+
"optional": true,
|
|
10736
|
+
"type": {
|
|
10737
|
+
"text": "FocusOptions"
|
|
10738
|
+
}
|
|
10739
|
+
}
|
|
10740
|
+
],
|
|
10741
|
+
"description": "Sets focus on the icon button."
|
|
10742
|
+
},
|
|
10966
10743
|
{
|
|
10967
|
-
"kind": "
|
|
10968
|
-
"name": "
|
|
10969
|
-
"
|
|
10970
|
-
"readonly": true,
|
|
10971
|
-
"default": "new HasSlotController(this, 'tooltip')"
|
|
10744
|
+
"kind": "method",
|
|
10745
|
+
"name": "blur",
|
|
10746
|
+
"description": "Removes focus from the icon button."
|
|
10972
10747
|
},
|
|
10973
10748
|
{
|
|
10974
|
-
"kind": "
|
|
10975
|
-
"name": "
|
|
10976
|
-
"
|
|
10977
|
-
|
|
10978
|
-
|
|
10749
|
+
"kind": "method",
|
|
10750
|
+
"name": "hideConfirm",
|
|
10751
|
+
"description": "Hide the confirmation tooltip if it is showing"
|
|
10752
|
+
},
|
|
10753
|
+
{
|
|
10754
|
+
"kind": "method",
|
|
10755
|
+
"name": "showConfirm",
|
|
10756
|
+
"description": "Show the confirmation tooltip"
|
|
10757
|
+
},
|
|
10758
|
+
{
|
|
10759
|
+
"kind": "method",
|
|
10760
|
+
"name": "handleConfirmClick",
|
|
10761
|
+
"privacy": "private"
|
|
10762
|
+
},
|
|
10763
|
+
{
|
|
10764
|
+
"kind": "method",
|
|
10765
|
+
"name": "renderWithTooltip",
|
|
10979
10766
|
"privacy": "private",
|
|
10980
|
-
"
|
|
10767
|
+
"parameters": [
|
|
10768
|
+
{
|
|
10769
|
+
"name": "contents",
|
|
10770
|
+
"type": {
|
|
10771
|
+
"text": "TemplateResult"
|
|
10772
|
+
}
|
|
10773
|
+
}
|
|
10774
|
+
]
|
|
10981
10775
|
},
|
|
10982
10776
|
{
|
|
10983
|
-
"kind": "
|
|
10984
|
-
"name": "
|
|
10985
|
-
"type": {
|
|
10986
|
-
"text": "boolean"
|
|
10987
|
-
},
|
|
10777
|
+
"kind": "method",
|
|
10778
|
+
"name": "renderWithConfirmation",
|
|
10988
10779
|
"privacy": "private",
|
|
10989
|
-
"
|
|
10780
|
+
"parameters": [
|
|
10781
|
+
{
|
|
10782
|
+
"name": "contents",
|
|
10783
|
+
"type": {
|
|
10784
|
+
"text": "TemplateResult"
|
|
10785
|
+
}
|
|
10786
|
+
}
|
|
10787
|
+
]
|
|
10788
|
+
}
|
|
10789
|
+
],
|
|
10790
|
+
"events": [
|
|
10791
|
+
{
|
|
10792
|
+
"description": "Emitted when the icon button loses focus.",
|
|
10793
|
+
"name": "flow-ui-blur",
|
|
10794
|
+
"reactName": "onFlowUiBlur"
|
|
10990
10795
|
},
|
|
10991
10796
|
{
|
|
10992
|
-
"
|
|
10797
|
+
"description": "Emitted when the icon button gains focus.",
|
|
10798
|
+
"name": "flow-ui-focus",
|
|
10799
|
+
"reactName": "onFlowUiFocus"
|
|
10800
|
+
}
|
|
10801
|
+
],
|
|
10802
|
+
"attributes": [
|
|
10803
|
+
{
|
|
10993
10804
|
"name": "name",
|
|
10994
10805
|
"type": {
|
|
10995
10806
|
"text": "string | undefined"
|
|
10996
10807
|
},
|
|
10997
10808
|
"description": "The name of the icon to draw. Available names depend on the icon library being used.",
|
|
10998
|
-
"
|
|
10809
|
+
"fieldName": "name"
|
|
10999
10810
|
},
|
|
11000
10811
|
{
|
|
11001
|
-
"kind": "field",
|
|
11002
10812
|
"name": "library",
|
|
11003
10813
|
"type": {
|
|
11004
10814
|
"text": "string | undefined"
|
|
11005
10815
|
},
|
|
11006
10816
|
"description": "The name of a registered custom icon library.",
|
|
11007
|
-
"
|
|
10817
|
+
"fieldName": "library"
|
|
11008
10818
|
},
|
|
11009
10819
|
{
|
|
11010
|
-
"kind": "field",
|
|
11011
10820
|
"name": "src",
|
|
11012
10821
|
"type": {
|
|
11013
10822
|
"text": "string | undefined"
|
|
11014
10823
|
},
|
|
11015
10824
|
"description": "An external URL of an SVG file. Be sure you trust the content you are including, as it will be executed as code and\ncan result in XSS attacks.",
|
|
11016
|
-
"
|
|
10825
|
+
"fieldName": "src"
|
|
11017
10826
|
},
|
|
11018
10827
|
{
|
|
11019
|
-
"kind": "field",
|
|
11020
10828
|
"name": "href",
|
|
11021
10829
|
"type": {
|
|
11022
10830
|
"text": "string | undefined"
|
|
11023
10831
|
},
|
|
11024
10832
|
"description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
|
|
11025
|
-
"
|
|
10833
|
+
"fieldName": "href"
|
|
11026
10834
|
},
|
|
11027
10835
|
{
|
|
11028
|
-
"kind": "field",
|
|
11029
10836
|
"name": "target",
|
|
11030
10837
|
"type": {
|
|
11031
10838
|
"text": "'_blank' | '_parent' | '_self' | '_top' | undefined"
|
|
11032
10839
|
},
|
|
11033
10840
|
"description": "Tells the browser where to open the link. Only used when `href` is set.",
|
|
11034
|
-
"
|
|
10841
|
+
"fieldName": "target"
|
|
11035
10842
|
},
|
|
11036
10843
|
{
|
|
11037
|
-
"kind": "field",
|
|
11038
10844
|
"name": "download",
|
|
11039
10845
|
"type": {
|
|
11040
10846
|
"text": "string | undefined"
|
|
11041
10847
|
},
|
|
11042
10848
|
"description": "Tells the browser to download the linked file as this filename. Only used when `href` is set.",
|
|
11043
|
-
"
|
|
10849
|
+
"fieldName": "download"
|
|
11044
10850
|
},
|
|
11045
10851
|
{
|
|
11046
|
-
"kind": "field",
|
|
11047
10852
|
"name": "label",
|
|
11048
10853
|
"type": {
|
|
11049
10854
|
"text": "string"
|
|
11050
10855
|
},
|
|
11051
10856
|
"default": "''",
|
|
11052
10857
|
"description": "A description that gets read by assistive devices. For optimal accessibility, you should always include a label\nthat describes what the icon button does.",
|
|
11053
|
-
"
|
|
10858
|
+
"fieldName": "label"
|
|
11054
10859
|
},
|
|
11055
10860
|
{
|
|
11056
|
-
"kind": "field",
|
|
11057
10861
|
"name": "tooltip",
|
|
11058
10862
|
"type": {
|
|
11059
10863
|
"text": "string"
|
|
11060
10864
|
},
|
|
11061
10865
|
"default": "''",
|
|
11062
10866
|
"description": "Tooltip text that gets displayed when the user hovers over the icon button. If you need to display HTML, use the\n`tooltip` slot instead.",
|
|
11063
|
-
"
|
|
10867
|
+
"fieldName": "tooltip"
|
|
11064
10868
|
},
|
|
11065
10869
|
{
|
|
11066
|
-
"
|
|
11067
|
-
"name": "tooltipPlacement",
|
|
10870
|
+
"name": "tooltip-placement",
|
|
11068
10871
|
"type": {
|
|
11069
10872
|
"text": "| 'top'\n | 'top-start'\n | 'top-end'\n | 'right'\n | 'right-start'\n | 'right-end'\n | 'bottom'\n | 'bottom-start'\n | 'bottom-end'\n | 'left'\n | 'left-start'\n | 'left-end'"
|
|
11070
10873
|
},
|
|
11071
10874
|
"default": "'top'",
|
|
11072
10875
|
"description": "The preferred placement of the tooltip. Note that the actual placement may vary as needed to keep the tooltip\ninside of the viewport.",
|
|
11073
|
-
"
|
|
10876
|
+
"fieldName": "tooltipPlacement"
|
|
11074
10877
|
},
|
|
11075
10878
|
{
|
|
11076
|
-
"
|
|
11077
|
-
"name": "tooltipDistance",
|
|
10879
|
+
"name": "tooltip-distance",
|
|
11078
10880
|
"type": {
|
|
11079
10881
|
"text": "number"
|
|
11080
10882
|
},
|
|
11081
10883
|
"default": "8",
|
|
11082
10884
|
"description": "The distance in pixels from which to offset the tooltip away from the icon button.",
|
|
11083
|
-
"
|
|
10885
|
+
"fieldName": "tooltipDistance"
|
|
10886
|
+
},
|
|
10887
|
+
{
|
|
10888
|
+
"name": "tooltip-skidding",
|
|
10889
|
+
"type": {
|
|
10890
|
+
"text": "number"
|
|
10891
|
+
},
|
|
10892
|
+
"default": "0",
|
|
10893
|
+
"description": "The distance in pixels from which to offset the tooltip along the icon button.",
|
|
10894
|
+
"fieldName": "tooltipSkidding"
|
|
10895
|
+
},
|
|
10896
|
+
{
|
|
10897
|
+
"name": "disabled",
|
|
10898
|
+
"type": {
|
|
10899
|
+
"text": "boolean"
|
|
10900
|
+
},
|
|
10901
|
+
"default": "false",
|
|
10902
|
+
"description": "Disables the button.",
|
|
10903
|
+
"fieldName": "disabled"
|
|
10904
|
+
},
|
|
10905
|
+
{
|
|
10906
|
+
"name": "confirm",
|
|
10907
|
+
"type": {
|
|
10908
|
+
"text": "string"
|
|
10909
|
+
},
|
|
10910
|
+
"default": "''",
|
|
10911
|
+
"description": "Confirmation text that gets displayed in a tooltip when the user clicks the icon button.\n If you need to display HTML, use the `confirm` slot instead.",
|
|
10912
|
+
"fieldName": "confirm"
|
|
10913
|
+
}
|
|
10914
|
+
],
|
|
10915
|
+
"superclass": {
|
|
10916
|
+
"name": "FlowRdfElement",
|
|
10917
|
+
"module": "/src/internal/flow-ui-rdf-element"
|
|
10918
|
+
},
|
|
10919
|
+
"tagName": "flow-ui-icon-button",
|
|
10920
|
+
"summary": "Icons buttons are simple, icon-only buttons that can be used for actions and in toolbars.",
|
|
10921
|
+
"documentation": "https://developer.emu-analytics.net/docs/flow-ui-rdf/components/icon-button",
|
|
10922
|
+
"status": "stable",
|
|
10923
|
+
"since": "2.0",
|
|
10924
|
+
"dependencies": [
|
|
10925
|
+
"flow-ui-icon",
|
|
10926
|
+
"flow-ui-tooltip"
|
|
10927
|
+
],
|
|
10928
|
+
"customElement": true
|
|
10929
|
+
}
|
|
10930
|
+
],
|
|
10931
|
+
"exports": [
|
|
10932
|
+
{
|
|
10933
|
+
"kind": "js",
|
|
10934
|
+
"name": "default",
|
|
10935
|
+
"declaration": {
|
|
10936
|
+
"name": "FlowUiIconButton",
|
|
10937
|
+
"module": "components/icon-button/icon-button.component.js"
|
|
10938
|
+
}
|
|
10939
|
+
}
|
|
10940
|
+
]
|
|
10941
|
+
},
|
|
10942
|
+
{
|
|
10943
|
+
"kind": "javascript-module",
|
|
10944
|
+
"path": "components/icon-button/icon-button.js",
|
|
10945
|
+
"declarations": [],
|
|
10946
|
+
"exports": [
|
|
10947
|
+
{
|
|
10948
|
+
"kind": "js",
|
|
10949
|
+
"name": "*",
|
|
10950
|
+
"declaration": {
|
|
10951
|
+
"name": "*",
|
|
10952
|
+
"package": "./icon-button.component"
|
|
10953
|
+
}
|
|
10954
|
+
},
|
|
10955
|
+
{
|
|
10956
|
+
"kind": "js",
|
|
10957
|
+
"name": "default",
|
|
10958
|
+
"declaration": {
|
|
10959
|
+
"name": "FlowUiIconButton",
|
|
10960
|
+
"module": "components/icon-button/icon-button.js"
|
|
10961
|
+
}
|
|
10962
|
+
}
|
|
10963
|
+
]
|
|
10964
|
+
},
|
|
10965
|
+
{
|
|
10966
|
+
"kind": "javascript-module",
|
|
10967
|
+
"path": "components/icon/icon.component.js",
|
|
10968
|
+
"declarations": [
|
|
10969
|
+
{
|
|
10970
|
+
"kind": "class",
|
|
10971
|
+
"description": "",
|
|
10972
|
+
"name": "FlowUiIcon",
|
|
10973
|
+
"cssParts": [
|
|
10974
|
+
{
|
|
10975
|
+
"description": "The internal SVG element.",
|
|
10976
|
+
"name": "svg"
|
|
10977
|
+
}
|
|
10978
|
+
],
|
|
10979
|
+
"members": [
|
|
10980
|
+
{
|
|
10981
|
+
"kind": "method",
|
|
10982
|
+
"name": "resolveIcon",
|
|
10983
|
+
"privacy": "private",
|
|
10984
|
+
"static": true,
|
|
10985
|
+
"return": {
|
|
10986
|
+
"type": {
|
|
10987
|
+
"text": "Promise<SVGResult>"
|
|
10988
|
+
}
|
|
10989
|
+
},
|
|
10990
|
+
"parameters": [
|
|
10991
|
+
{
|
|
10992
|
+
"name": "url",
|
|
10993
|
+
"type": {
|
|
10994
|
+
"text": "string"
|
|
10995
|
+
}
|
|
10996
|
+
}
|
|
10997
|
+
],
|
|
10998
|
+
"description": "Given a URL, this function returns the resulting SVG element or an appropriate error symbol."
|
|
10999
|
+
},
|
|
11000
|
+
{
|
|
11001
|
+
"kind": "field",
|
|
11002
|
+
"name": "svg",
|
|
11003
|
+
"type": {
|
|
11004
|
+
"text": "SVGElement | null"
|
|
11005
|
+
},
|
|
11006
|
+
"privacy": "private",
|
|
11007
|
+
"default": "null"
|
|
11084
11008
|
},
|
|
11085
11009
|
{
|
|
11086
11010
|
"kind": "field",
|
|
11087
|
-
"name": "
|
|
11011
|
+
"name": "name",
|
|
11088
11012
|
"type": {
|
|
11089
|
-
"text": "
|
|
11013
|
+
"text": "string | undefined"
|
|
11090
11014
|
},
|
|
11091
|
-
"
|
|
11092
|
-
"
|
|
11093
|
-
"
|
|
11015
|
+
"description": "The name of the icon to draw. Available names depend on the icon library being used.",
|
|
11016
|
+
"attribute": "name",
|
|
11017
|
+
"reflects": true
|
|
11094
11018
|
},
|
|
11095
11019
|
{
|
|
11096
11020
|
"kind": "field",
|
|
11097
|
-
"name": "
|
|
11021
|
+
"name": "src",
|
|
11098
11022
|
"type": {
|
|
11099
|
-
"text": "
|
|
11023
|
+
"text": "string | undefined"
|
|
11100
11024
|
},
|
|
11101
|
-
"
|
|
11102
|
-
"
|
|
11103
|
-
"attribute": "disabled",
|
|
11104
|
-
"reflects": true
|
|
11025
|
+
"description": "An external URL of an SVG file. Be sure you trust the content you are including, as it will be executed as code and\ncan result in XSS attacks.",
|
|
11026
|
+
"attribute": "src"
|
|
11105
11027
|
},
|
|
11106
11028
|
{
|
|
11107
11029
|
"kind": "field",
|
|
11108
|
-
"name": "
|
|
11030
|
+
"name": "label",
|
|
11109
11031
|
"type": {
|
|
11110
11032
|
"text": "string"
|
|
11111
11033
|
},
|
|
11112
11034
|
"default": "''",
|
|
11113
|
-
"description": "
|
|
11114
|
-
"attribute": "
|
|
11035
|
+
"description": "An alternate description to use for assistive devices. If omitted, the icon will be considered presentational and\nignored by assistive devices.",
|
|
11036
|
+
"attribute": "label"
|
|
11115
11037
|
},
|
|
11116
11038
|
{
|
|
11117
|
-
"kind": "
|
|
11118
|
-
"name": "
|
|
11119
|
-
"
|
|
11039
|
+
"kind": "field",
|
|
11040
|
+
"name": "library",
|
|
11041
|
+
"type": {
|
|
11042
|
+
"text": "string"
|
|
11043
|
+
},
|
|
11044
|
+
"default": "'default'",
|
|
11045
|
+
"description": "The name of a registered custom icon library.",
|
|
11046
|
+
"attribute": "library",
|
|
11047
|
+
"reflects": true
|
|
11120
11048
|
},
|
|
11121
11049
|
{
|
|
11122
11050
|
"kind": "method",
|
|
11123
|
-
"name": "
|
|
11051
|
+
"name": "getUrl",
|
|
11124
11052
|
"privacy": "private"
|
|
11125
|
-
}
|
|
11126
|
-
|
|
11127
|
-
|
|
11128
|
-
"name": "handleClick",
|
|
11129
|
-
"privacy": "protected",
|
|
11130
|
-
"parameters": [
|
|
11131
|
-
{
|
|
11132
|
-
"name": "event",
|
|
11133
|
-
"type": {
|
|
11134
|
-
"text": "MouseEvent"
|
|
11135
|
-
}
|
|
11136
|
-
}
|
|
11137
|
-
]
|
|
11138
|
-
},
|
|
11053
|
+
}
|
|
11054
|
+
],
|
|
11055
|
+
"events": [
|
|
11139
11056
|
{
|
|
11140
|
-
"
|
|
11141
|
-
"name": "
|
|
11142
|
-
"
|
|
11057
|
+
"description": "Emitted when the icon has loaded.",
|
|
11058
|
+
"name": "flow-ui-load",
|
|
11059
|
+
"reactName": "onFlowUiLoad"
|
|
11143
11060
|
},
|
|
11144
11061
|
{
|
|
11145
|
-
"
|
|
11146
|
-
"name": "
|
|
11147
|
-
"
|
|
11148
|
-
|
|
11149
|
-
|
|
11150
|
-
|
|
11151
|
-
"type": {
|
|
11152
|
-
"text": "FocusOptions"
|
|
11153
|
-
}
|
|
11154
|
-
}
|
|
11155
|
-
],
|
|
11156
|
-
"description": "Sets focus on the icon button."
|
|
11157
|
-
},
|
|
11062
|
+
"description": "Emitted when the icon fails to load due to an error.",
|
|
11063
|
+
"name": "flow-ui-error",
|
|
11064
|
+
"reactName": "onFlowUiError"
|
|
11065
|
+
}
|
|
11066
|
+
],
|
|
11067
|
+
"attributes": [
|
|
11158
11068
|
{
|
|
11159
|
-
"
|
|
11160
|
-
"
|
|
11161
|
-
|
|
11069
|
+
"name": "name",
|
|
11070
|
+
"type": {
|
|
11071
|
+
"text": "string | undefined"
|
|
11072
|
+
},
|
|
11073
|
+
"description": "The name of the icon to draw. Available names depend on the icon library being used.",
|
|
11074
|
+
"fieldName": "name"
|
|
11162
11075
|
},
|
|
11163
11076
|
{
|
|
11164
|
-
"
|
|
11165
|
-
"
|
|
11166
|
-
|
|
11077
|
+
"name": "src",
|
|
11078
|
+
"type": {
|
|
11079
|
+
"text": "string | undefined"
|
|
11080
|
+
},
|
|
11081
|
+
"description": "An external URL of an SVG file. Be sure you trust the content you are including, as it will be executed as code and\ncan result in XSS attacks.",
|
|
11082
|
+
"fieldName": "src"
|
|
11167
11083
|
},
|
|
11168
11084
|
{
|
|
11169
|
-
"
|
|
11170
|
-
"
|
|
11171
|
-
|
|
11085
|
+
"name": "label",
|
|
11086
|
+
"type": {
|
|
11087
|
+
"text": "string"
|
|
11088
|
+
},
|
|
11089
|
+
"default": "''",
|
|
11090
|
+
"description": "An alternate description to use for assistive devices. If omitted, the icon will be considered presentational and\nignored by assistive devices.",
|
|
11091
|
+
"fieldName": "label"
|
|
11172
11092
|
},
|
|
11173
11093
|
{
|
|
11174
|
-
"
|
|
11175
|
-
"
|
|
11176
|
-
|
|
11177
|
-
|
|
11094
|
+
"name": "library",
|
|
11095
|
+
"type": {
|
|
11096
|
+
"text": "string"
|
|
11097
|
+
},
|
|
11098
|
+
"default": "'default'",
|
|
11099
|
+
"description": "The name of a registered custom icon library.",
|
|
11100
|
+
"fieldName": "library"
|
|
11101
|
+
}
|
|
11102
|
+
],
|
|
11103
|
+
"superclass": {
|
|
11104
|
+
"name": "FlowRdfElement",
|
|
11105
|
+
"module": "/src/internal/flow-ui-rdf-element"
|
|
11106
|
+
},
|
|
11107
|
+
"tagName": "flow-ui-icon",
|
|
11108
|
+
"summary": "Icons are symbols that can be used to represent various options within an application.",
|
|
11109
|
+
"documentation": "https://developer.emu-analytics.net/docs/flow-ui-rdf/components/icon",
|
|
11110
|
+
"status": "stable",
|
|
11111
|
+
"since": "2.0",
|
|
11112
|
+
"customElement": true
|
|
11113
|
+
}
|
|
11114
|
+
],
|
|
11115
|
+
"exports": [
|
|
11116
|
+
{
|
|
11117
|
+
"kind": "js",
|
|
11118
|
+
"name": "default",
|
|
11119
|
+
"declaration": {
|
|
11120
|
+
"name": "FlowUiIcon",
|
|
11121
|
+
"module": "components/icon/icon.component.js"
|
|
11122
|
+
}
|
|
11123
|
+
}
|
|
11124
|
+
]
|
|
11125
|
+
},
|
|
11126
|
+
{
|
|
11127
|
+
"kind": "javascript-module",
|
|
11128
|
+
"path": "components/icon/icon.js",
|
|
11129
|
+
"declarations": [],
|
|
11130
|
+
"exports": [
|
|
11131
|
+
{
|
|
11132
|
+
"kind": "js",
|
|
11133
|
+
"name": "*",
|
|
11134
|
+
"declaration": {
|
|
11135
|
+
"name": "*",
|
|
11136
|
+
"package": "./icon.component"
|
|
11137
|
+
}
|
|
11138
|
+
},
|
|
11139
|
+
{
|
|
11140
|
+
"kind": "js",
|
|
11141
|
+
"name": "default",
|
|
11142
|
+
"declaration": {
|
|
11143
|
+
"name": "FlowUiIcon",
|
|
11144
|
+
"module": "components/icon/icon.js"
|
|
11145
|
+
}
|
|
11146
|
+
}
|
|
11147
|
+
]
|
|
11148
|
+
},
|
|
11149
|
+
{
|
|
11150
|
+
"kind": "javascript-module",
|
|
11151
|
+
"path": "components/icon/library.default.js",
|
|
11152
|
+
"declarations": [
|
|
11153
|
+
{
|
|
11154
|
+
"kind": "function",
|
|
11155
|
+
"name": "addIcons",
|
|
11156
|
+
"parameters": [
|
|
11178
11157
|
{
|
|
11179
|
-
"
|
|
11180
|
-
"
|
|
11181
|
-
|
|
11182
|
-
|
|
11183
|
-
|
|
11184
|
-
|
|
11185
|
-
|
|
11186
|
-
|
|
11187
|
-
|
|
11188
|
-
|
|
11189
|
-
|
|
11190
|
-
|
|
11158
|
+
"name": "icons",
|
|
11159
|
+
"type": {
|
|
11160
|
+
"text": "{ [name: string]: string }"
|
|
11161
|
+
}
|
|
11162
|
+
}
|
|
11163
|
+
],
|
|
11164
|
+
"description": "\nThe following code shows how to import FontAwesome SVG icons from the `flow-rdf-ui/icons` package and add them to the\ndefault icon library.\n```js\n// Import and register icons\nimport {fasHouse, fasGear, fasUser} from '@emuanalytics/flow-rdf-ui/icons';\nimport {addIcons} from '@emuanalytics/flow-rdf-ui';\naddIcons({fasHouse, fasGear, fasUser});\n```\n\nIcons are registered under their camelCase name **and** kebab-case name.\nOnce registered, they can be used in the following way:\n\n```html\n<flow-ui-icon name=\"fas-house\"></flow-ui-icon>\n```\n\nNote that missing or mis-spelled icons will be displayed as <flow-ui-icon name=\"unknown\"></flow-ui-icon>.\n\nFor a list of available icons, see the [FontAwesome icon gallery](https://fontawesome.com/search?o=r&m=free)."
|
|
11165
|
+
},
|
|
11166
|
+
{
|
|
11167
|
+
"kind": "function",
|
|
11168
|
+
"name": "getIconMap"
|
|
11169
|
+
},
|
|
11170
|
+
{
|
|
11171
|
+
"kind": "variable",
|
|
11172
|
+
"name": "library",
|
|
11173
|
+
"type": {
|
|
11174
|
+
"text": "IconLibrary"
|
|
11175
|
+
},
|
|
11176
|
+
"default": "{\n name: 'default',\n resolver: (name) => {\n const map = getIconMap();\n const icon = map.get(name);\n\n return icon ?? notDefined;\n }\n}"
|
|
11177
|
+
}
|
|
11178
|
+
],
|
|
11179
|
+
"exports": [
|
|
11180
|
+
{
|
|
11181
|
+
"kind": "js",
|
|
11182
|
+
"name": "getIconMap",
|
|
11183
|
+
"declaration": {
|
|
11184
|
+
"name": "getIconMap",
|
|
11185
|
+
"module": "components/icon/library.default.js"
|
|
11186
|
+
}
|
|
11187
|
+
},
|
|
11188
|
+
{
|
|
11189
|
+
"kind": "js",
|
|
11190
|
+
"name": "addIcons",
|
|
11191
|
+
"declaration": {
|
|
11192
|
+
"name": "addIcons",
|
|
11193
|
+
"module": "components/icon/library.default.js"
|
|
11194
|
+
}
|
|
11195
|
+
},
|
|
11196
|
+
{
|
|
11197
|
+
"kind": "js",
|
|
11198
|
+
"name": "library",
|
|
11199
|
+
"declaration": {
|
|
11200
|
+
"name": "library",
|
|
11201
|
+
"module": "components/icon/library.default.js"
|
|
11202
|
+
}
|
|
11203
|
+
}
|
|
11204
|
+
]
|
|
11205
|
+
},
|
|
11206
|
+
{
|
|
11207
|
+
"kind": "javascript-module",
|
|
11208
|
+
"path": "components/icon/library.system.js",
|
|
11209
|
+
"declarations": [
|
|
11210
|
+
{
|
|
11211
|
+
"kind": "variable",
|
|
11212
|
+
"name": "systemLibrary",
|
|
11213
|
+
"type": {
|
|
11214
|
+
"text": "IconLibrary"
|
|
11215
|
+
},
|
|
11216
|
+
"default": "{\n name: 'system',\n resolver: (name: keyof typeof icons) => {\n if (name in icons) {\n return `data:image/svg+xml,${encodeURIComponent(icons[name])}`;\n }\n return '';\n }\n}"
|
|
11217
|
+
}
|
|
11218
|
+
],
|
|
11219
|
+
"exports": [
|
|
11220
|
+
{
|
|
11221
|
+
"kind": "js",
|
|
11222
|
+
"name": "default",
|
|
11223
|
+
"declaration": {
|
|
11224
|
+
"name": "systemLibrary",
|
|
11225
|
+
"module": "components/icon/library.system.js"
|
|
11226
|
+
}
|
|
11227
|
+
}
|
|
11228
|
+
]
|
|
11229
|
+
},
|
|
11230
|
+
{
|
|
11231
|
+
"kind": "javascript-module",
|
|
11232
|
+
"path": "components/icon/library.js",
|
|
11233
|
+
"declarations": [
|
|
11234
|
+
{
|
|
11235
|
+
"kind": "function",
|
|
11236
|
+
"name": "watchIcon",
|
|
11237
|
+
"parameters": [
|
|
11191
11238
|
{
|
|
11192
|
-
"
|
|
11193
|
-
"
|
|
11194
|
-
|
|
11195
|
-
|
|
11196
|
-
{
|
|
11197
|
-
"name": "contents",
|
|
11198
|
-
"type": {
|
|
11199
|
-
"text": "TemplateResult"
|
|
11200
|
-
}
|
|
11201
|
-
}
|
|
11202
|
-
]
|
|
11239
|
+
"name": "icon",
|
|
11240
|
+
"type": {
|
|
11241
|
+
"text": "FlowIcon"
|
|
11242
|
+
}
|
|
11203
11243
|
}
|
|
11204
11244
|
],
|
|
11205
|
-
"
|
|
11206
|
-
|
|
11207
|
-
|
|
11208
|
-
|
|
11209
|
-
|
|
11210
|
-
|
|
11245
|
+
"description": "Adds an icon to the list of watched icons."
|
|
11246
|
+
},
|
|
11247
|
+
{
|
|
11248
|
+
"kind": "function",
|
|
11249
|
+
"name": "unwatchIcon",
|
|
11250
|
+
"parameters": [
|
|
11211
11251
|
{
|
|
11212
|
-
"
|
|
11213
|
-
"
|
|
11214
|
-
|
|
11252
|
+
"name": "icon",
|
|
11253
|
+
"type": {
|
|
11254
|
+
"text": "FlowIcon"
|
|
11255
|
+
}
|
|
11215
11256
|
}
|
|
11216
11257
|
],
|
|
11217
|
-
"
|
|
11258
|
+
"description": "Removes an icon from the list of watched icons."
|
|
11259
|
+
},
|
|
11260
|
+
{
|
|
11261
|
+
"kind": "function",
|
|
11262
|
+
"name": "getIconLibrary",
|
|
11263
|
+
"parameters": [
|
|
11218
11264
|
{
|
|
11219
11265
|
"name": "name",
|
|
11220
|
-
"
|
|
11221
|
-
"text": "string | undefined"
|
|
11222
|
-
},
|
|
11223
|
-
"description": "The name of the icon to draw. Available names depend on the icon library being used.",
|
|
11224
|
-
"fieldName": "name"
|
|
11225
|
-
},
|
|
11226
|
-
{
|
|
11227
|
-
"name": "library",
|
|
11228
|
-
"type": {
|
|
11229
|
-
"text": "string | undefined"
|
|
11230
|
-
},
|
|
11231
|
-
"description": "The name of a registered custom icon library.",
|
|
11232
|
-
"fieldName": "library"
|
|
11233
|
-
},
|
|
11234
|
-
{
|
|
11235
|
-
"name": "src",
|
|
11236
|
-
"type": {
|
|
11237
|
-
"text": "string | undefined"
|
|
11238
|
-
},
|
|
11239
|
-
"description": "An external URL of an SVG file. Be sure you trust the content you are including, as it will be executed as code and\ncan result in XSS attacks.",
|
|
11240
|
-
"fieldName": "src"
|
|
11241
|
-
},
|
|
11242
|
-
{
|
|
11243
|
-
"name": "href",
|
|
11244
|
-
"type": {
|
|
11245
|
-
"text": "string | undefined"
|
|
11246
|
-
},
|
|
11247
|
-
"description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
|
|
11248
|
-
"fieldName": "href"
|
|
11249
|
-
},
|
|
11250
|
-
{
|
|
11251
|
-
"name": "target",
|
|
11252
|
-
"type": {
|
|
11253
|
-
"text": "'_blank' | '_parent' | '_self' | '_top' | undefined"
|
|
11254
|
-
},
|
|
11255
|
-
"description": "Tells the browser where to open the link. Only used when `href` is set.",
|
|
11256
|
-
"fieldName": "target"
|
|
11257
|
-
},
|
|
11258
|
-
{
|
|
11259
|
-
"name": "download",
|
|
11260
|
-
"type": {
|
|
11261
|
-
"text": "string | undefined"
|
|
11262
|
-
},
|
|
11263
|
-
"description": "Tells the browser to download the linked file as this filename. Only used when `href` is set.",
|
|
11264
|
-
"fieldName": "download"
|
|
11265
|
-
},
|
|
11266
|
-
{
|
|
11267
|
-
"name": "label",
|
|
11266
|
+
"optional": true,
|
|
11268
11267
|
"type": {
|
|
11269
11268
|
"text": "string"
|
|
11270
|
-
}
|
|
11271
|
-
|
|
11272
|
-
|
|
11273
|
-
|
|
11274
|
-
|
|
11269
|
+
}
|
|
11270
|
+
}
|
|
11271
|
+
],
|
|
11272
|
+
"description": "Returns a library from the registry."
|
|
11273
|
+
},
|
|
11274
|
+
{
|
|
11275
|
+
"kind": "function",
|
|
11276
|
+
"name": "registerIconLibrary",
|
|
11277
|
+
"parameters": [
|
|
11275
11278
|
{
|
|
11276
|
-
"name": "
|
|
11279
|
+
"name": "name",
|
|
11277
11280
|
"type": {
|
|
11278
11281
|
"text": "string"
|
|
11279
11282
|
},
|
|
11280
|
-
"
|
|
11281
|
-
"description": "Tooltip text that gets displayed when the user hovers over the icon button. If you need to display HTML, use the\n`tooltip` slot instead.",
|
|
11282
|
-
"fieldName": "tooltip"
|
|
11283
|
-
},
|
|
11284
|
-
{
|
|
11285
|
-
"name": "tooltip-placement",
|
|
11286
|
-
"type": {
|
|
11287
|
-
"text": "| 'top'\n | 'top-start'\n | 'top-end'\n | 'right'\n | 'right-start'\n | 'right-end'\n | 'bottom'\n | 'bottom-start'\n | 'bottom-end'\n | 'left'\n | 'left-start'\n | 'left-end'"
|
|
11288
|
-
},
|
|
11289
|
-
"default": "'top'",
|
|
11290
|
-
"description": "The preferred placement of the tooltip. Note that the actual placement may vary as needed to keep the tooltip\ninside of the viewport.",
|
|
11291
|
-
"fieldName": "tooltipPlacement"
|
|
11283
|
+
"description": "The name of the custom icon library."
|
|
11292
11284
|
},
|
|
11293
11285
|
{
|
|
11294
|
-
"name": "
|
|
11286
|
+
"name": "options",
|
|
11295
11287
|
"type": {
|
|
11296
|
-
"text": "
|
|
11288
|
+
"text": "{ resolver: IconLibraryResolver; mutator?: IconLibraryMutator }"
|
|
11297
11289
|
},
|
|
11298
|
-
"
|
|
11299
|
-
"description": "The distance in pixels from which to offset the tooltip away from the icon button.",
|
|
11300
|
-
"fieldName": "tooltipDistance"
|
|
11290
|
+
"description": "The icon library resolver and optional mutator."
|
|
11301
11291
|
},
|
|
11302
11292
|
{
|
|
11303
|
-
"
|
|
11304
|
-
"
|
|
11305
|
-
"text": "number"
|
|
11306
|
-
},
|
|
11307
|
-
"default": "0",
|
|
11308
|
-
"description": "The distance in pixels from which to offset the tooltip along the icon button.",
|
|
11309
|
-
"fieldName": "tooltipSkidding"
|
|
11293
|
+
"description": "A function that returns the URL of given icon.",
|
|
11294
|
+
"name": "options.resolver"
|
|
11310
11295
|
},
|
|
11311
11296
|
{
|
|
11312
|
-
"
|
|
11313
|
-
"
|
|
11314
|
-
|
|
11315
|
-
|
|
11316
|
-
|
|
11317
|
-
|
|
11318
|
-
|
|
11319
|
-
|
|
11297
|
+
"description": "An optional function that mutates the SVG element of the icon.",
|
|
11298
|
+
"name": "options.mutator"
|
|
11299
|
+
}
|
|
11300
|
+
],
|
|
11301
|
+
"description": "\nUse this function to add a custom icon library to the registry or override an existing one.\nProvide a resolver function that returns the URL of the icon based on its name.\nOptionally, provide a mutator function that modifies the SVG element of the icon.\n\nTwo icon libraries are included by default:\n- `system` (System icons used by `flow-rdf-ui` components)\n- `default` (FontAwesome 6.4.2)\n\nTo use a custom icon library, set the `library` property of the `<flow-ui-icon>` component\nto the registered name of the library. If omitted, the `default` library is used.\n\n```typescript\n// Register FontAwesome icon library using SVGs from Flo.w CDN\nregisterIconLibrary('fa', {\n resolver: (name) => {\n const filename = name.replace(/^fa[rbs]-/, '');\n let folder = 'regular';\n if (name.substring(0, 4) === 'fas-') folder = 'solid';\n if (name.substring(0, 4) === 'fab-') folder = 'brands';\n return `https://flow-cdn.emu-analytics.net/icons/fontawesome-6.4.2/${folder}/${filename}.svg`;\n },\n mutator: (svg) => svg.setAttribute('fill', 'currentColor')\n});\n```\n\n```html\n<flow-ui-icon library=\"fa\" name=\"fas-house\"></flow-ui-icon>\n```"
|
|
11302
|
+
},
|
|
11303
|
+
{
|
|
11304
|
+
"kind": "function",
|
|
11305
|
+
"name": "redrawWatchedIcons"
|
|
11306
|
+
},
|
|
11307
|
+
{
|
|
11308
|
+
"kind": "function",
|
|
11309
|
+
"name": "unregisterIconLibrary",
|
|
11310
|
+
"parameters": [
|
|
11320
11311
|
{
|
|
11321
|
-
"name": "
|
|
11312
|
+
"name": "name",
|
|
11322
11313
|
"type": {
|
|
11323
11314
|
"text": "string"
|
|
11324
|
-
}
|
|
11325
|
-
"default": "''",
|
|
11326
|
-
"description": "Confirmation text that gets displayed in a tooltip when the user clicks the icon button.\n If you need to display HTML, use the `confirm` slot instead.",
|
|
11327
|
-
"fieldName": "confirm"
|
|
11315
|
+
}
|
|
11328
11316
|
}
|
|
11329
11317
|
],
|
|
11330
|
-
"
|
|
11331
|
-
"name": "FlowRdfElement",
|
|
11332
|
-
"module": "/src/internal/flow-ui-rdf-element"
|
|
11333
|
-
},
|
|
11334
|
-
"tagName": "flow-ui-icon-button",
|
|
11335
|
-
"summary": "Icons buttons are simple, icon-only buttons that can be used for actions and in toolbars.",
|
|
11336
|
-
"documentation": "https://developer.emu-analytics.net/docs/flow-ui-rdf/components/icon-button",
|
|
11337
|
-
"status": "stable",
|
|
11338
|
-
"since": "2.0",
|
|
11339
|
-
"dependencies": [
|
|
11340
|
-
"flow-ui-icon",
|
|
11341
|
-
"flow-ui-tooltip"
|
|
11342
|
-
],
|
|
11343
|
-
"customElement": true
|
|
11318
|
+
"description": "Removes a custom icon library from the registry."
|
|
11344
11319
|
}
|
|
11345
11320
|
],
|
|
11346
11321
|
"exports": [
|
|
11347
11322
|
{
|
|
11348
11323
|
"kind": "js",
|
|
11349
|
-
"name": "
|
|
11324
|
+
"name": "addIcons",
|
|
11350
11325
|
"declaration": {
|
|
11351
|
-
"name": "
|
|
11352
|
-
"module": "
|
|
11326
|
+
"name": "addIcons",
|
|
11327
|
+
"module": "./library.default"
|
|
11353
11328
|
}
|
|
11354
|
-
}
|
|
11355
|
-
]
|
|
11356
|
-
},
|
|
11357
|
-
{
|
|
11358
|
-
"kind": "javascript-module",
|
|
11359
|
-
"path": "components/icon-button/icon-button.js",
|
|
11360
|
-
"declarations": [],
|
|
11361
|
-
"exports": [
|
|
11329
|
+
},
|
|
11362
11330
|
{
|
|
11363
11331
|
"kind": "js",
|
|
11364
|
-
"name": "
|
|
11332
|
+
"name": "watchIcon",
|
|
11365
11333
|
"declaration": {
|
|
11366
|
-
"name": "
|
|
11367
|
-
"
|
|
11334
|
+
"name": "watchIcon",
|
|
11335
|
+
"module": "components/icon/library.js"
|
|
11368
11336
|
}
|
|
11369
11337
|
},
|
|
11370
11338
|
{
|
|
11371
11339
|
"kind": "js",
|
|
11372
|
-
"name": "
|
|
11340
|
+
"name": "unwatchIcon",
|
|
11373
11341
|
"declaration": {
|
|
11374
|
-
"name": "
|
|
11375
|
-
"module": "components/icon
|
|
11342
|
+
"name": "unwatchIcon",
|
|
11343
|
+
"module": "components/icon/library.js"
|
|
11344
|
+
}
|
|
11345
|
+
},
|
|
11346
|
+
{
|
|
11347
|
+
"kind": "js",
|
|
11348
|
+
"name": "getIconLibrary",
|
|
11349
|
+
"declaration": {
|
|
11350
|
+
"name": "getIconLibrary",
|
|
11351
|
+
"module": "components/icon/library.js"
|
|
11352
|
+
}
|
|
11353
|
+
},
|
|
11354
|
+
{
|
|
11355
|
+
"kind": "js",
|
|
11356
|
+
"name": "registerIconLibrary",
|
|
11357
|
+
"declaration": {
|
|
11358
|
+
"name": "registerIconLibrary",
|
|
11359
|
+
"module": "components/icon/library.js"
|
|
11360
|
+
}
|
|
11361
|
+
},
|
|
11362
|
+
{
|
|
11363
|
+
"kind": "js",
|
|
11364
|
+
"name": "redrawWatchedIcons",
|
|
11365
|
+
"declaration": {
|
|
11366
|
+
"name": "redrawWatchedIcons",
|
|
11367
|
+
"module": "components/icon/library.js"
|
|
11368
|
+
}
|
|
11369
|
+
},
|
|
11370
|
+
{
|
|
11371
|
+
"kind": "js",
|
|
11372
|
+
"name": "unregisterIconLibrary",
|
|
11373
|
+
"declaration": {
|
|
11374
|
+
"name": "unregisterIconLibrary",
|
|
11375
|
+
"module": "components/icon/library.js"
|
|
11376
11376
|
}
|
|
11377
11377
|
}
|
|
11378
11378
|
]
|
|
@@ -25895,6 +25895,6 @@
|
|
|
25895
25895
|
],
|
|
25896
25896
|
"package": {
|
|
25897
25897
|
"name": "@emuanalytics/flow-rdf-ui",
|
|
25898
|
-
"version": "4.1.
|
|
25898
|
+
"version": "4.1.20"
|
|
25899
25899
|
}
|
|
25900
25900
|
}
|