@genesislcap/foundation-ui 14.451.4 → 14.451.5-alpha-ec85af7.0
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 +832 -832
- package/dist/dts/react.d.ts +17 -17
- package/dist/react.cjs +11 -11
- package/dist/react.mjs +9 -9
- package/package.json +19 -19
|
@@ -1400,11 +1400,42 @@
|
|
|
1400
1400
|
},
|
|
1401
1401
|
{
|
|
1402
1402
|
"kind": "javascript-module",
|
|
1403
|
-
"path": "src/
|
|
1403
|
+
"path": "src/_config/index.ts",
|
|
1404
|
+
"declarations": [],
|
|
1405
|
+
"exports": [
|
|
1406
|
+
{
|
|
1407
|
+
"kind": "js",
|
|
1408
|
+
"name": "*",
|
|
1409
|
+
"declaration": {
|
|
1410
|
+
"name": "*",
|
|
1411
|
+
"package": "./styles"
|
|
1412
|
+
}
|
|
1413
|
+
},
|
|
1414
|
+
{
|
|
1415
|
+
"kind": "js",
|
|
1416
|
+
"name": "*",
|
|
1417
|
+
"declaration": {
|
|
1418
|
+
"name": "*",
|
|
1419
|
+
"package": "./tokens"
|
|
1420
|
+
}
|
|
1421
|
+
},
|
|
1422
|
+
{
|
|
1423
|
+
"kind": "js",
|
|
1424
|
+
"name": "*",
|
|
1425
|
+
"declaration": {
|
|
1426
|
+
"name": "*",
|
|
1427
|
+
"package": "./values"
|
|
1428
|
+
}
|
|
1429
|
+
}
|
|
1430
|
+
]
|
|
1431
|
+
},
|
|
1432
|
+
{
|
|
1433
|
+
"kind": "javascript-module",
|
|
1434
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
1404
1435
|
"declarations": [
|
|
1405
1436
|
{
|
|
1406
1437
|
"kind": "function",
|
|
1407
|
-
"name": "
|
|
1438
|
+
"name": "foundationAccordionItemStyles",
|
|
1408
1439
|
"return": {
|
|
1409
1440
|
"type": {
|
|
1410
1441
|
"text": "ElementStyles"
|
|
@@ -1429,24 +1460,24 @@
|
|
|
1429
1460
|
"exports": [
|
|
1430
1461
|
{
|
|
1431
1462
|
"kind": "js",
|
|
1432
|
-
"name": "
|
|
1463
|
+
"name": "foundationAccordionItemStyles",
|
|
1433
1464
|
"declaration": {
|
|
1434
|
-
"name": "
|
|
1435
|
-
"module": "src/accordion/accordion.styles.ts"
|
|
1465
|
+
"name": "foundationAccordionItemStyles",
|
|
1466
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
1436
1467
|
}
|
|
1437
1468
|
}
|
|
1438
1469
|
]
|
|
1439
1470
|
},
|
|
1440
1471
|
{
|
|
1441
1472
|
"kind": "javascript-module",
|
|
1442
|
-
"path": "src/accordion/accordion.template.ts",
|
|
1473
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1443
1474
|
"declarations": [
|
|
1444
1475
|
{
|
|
1445
1476
|
"kind": "function",
|
|
1446
|
-
"name": "
|
|
1477
|
+
"name": "foundationAccordionItemTemplate",
|
|
1447
1478
|
"return": {
|
|
1448
1479
|
"type": {
|
|
1449
|
-
"text": "ViewTemplate<
|
|
1480
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
1450
1481
|
}
|
|
1451
1482
|
},
|
|
1452
1483
|
"parameters": [
|
|
@@ -1468,365 +1499,244 @@
|
|
|
1468
1499
|
"exports": [
|
|
1469
1500
|
{
|
|
1470
1501
|
"kind": "js",
|
|
1471
|
-
"name": "
|
|
1502
|
+
"name": "foundationAccordionItemTemplate",
|
|
1472
1503
|
"declaration": {
|
|
1473
|
-
"name": "
|
|
1474
|
-
"module": "src/accordion/accordion.template.ts"
|
|
1504
|
+
"name": "foundationAccordionItemTemplate",
|
|
1505
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
1475
1506
|
}
|
|
1476
1507
|
}
|
|
1477
1508
|
]
|
|
1478
1509
|
},
|
|
1479
1510
|
{
|
|
1480
1511
|
"kind": "javascript-module",
|
|
1481
|
-
"path": "src/accordion/accordion.ts",
|
|
1512
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
1482
1513
|
"declarations": [
|
|
1483
1514
|
{
|
|
1484
1515
|
"kind": "class",
|
|
1485
1516
|
"description": "",
|
|
1486
|
-
"name": "
|
|
1517
|
+
"name": "AccordionItem",
|
|
1487
1518
|
"superclass": {
|
|
1488
|
-
"name": "
|
|
1489
|
-
"package": "@microsoft/fast-
|
|
1519
|
+
"name": "FASTAccordionItem",
|
|
1520
|
+
"package": "@microsoft/fast-components"
|
|
1490
1521
|
},
|
|
1491
|
-
"tagName": "%%prefix%%-accordion",
|
|
1522
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
1492
1523
|
"customElement": true,
|
|
1493
1524
|
"attributes": [
|
|
1494
1525
|
{
|
|
1495
|
-
"name": "
|
|
1526
|
+
"name": "heading-level",
|
|
1496
1527
|
"type": {
|
|
1497
|
-
"text": "
|
|
1528
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1498
1529
|
},
|
|
1499
|
-
"
|
|
1500
|
-
"
|
|
1530
|
+
"default": "2",
|
|
1531
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1532
|
+
"fieldName": "headinglevel",
|
|
1501
1533
|
"inheritedFrom": {
|
|
1502
|
-
"name": "
|
|
1503
|
-
"module": "src/accordion/accordion.ts"
|
|
1534
|
+
"name": "AccordionItem",
|
|
1535
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1536
|
+
}
|
|
1537
|
+
},
|
|
1538
|
+
{
|
|
1539
|
+
"type": {
|
|
1540
|
+
"text": "boolean"
|
|
1541
|
+
},
|
|
1542
|
+
"default": "false",
|
|
1543
|
+
"description": "Expands or collapses the item.",
|
|
1544
|
+
"fieldName": "expanded",
|
|
1545
|
+
"inheritedFrom": {
|
|
1546
|
+
"name": "AccordionItem",
|
|
1547
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1548
|
+
}
|
|
1549
|
+
},
|
|
1550
|
+
{
|
|
1551
|
+
"name": "id",
|
|
1552
|
+
"type": {
|
|
1553
|
+
"text": "string"
|
|
1554
|
+
},
|
|
1555
|
+
"description": "The item ID",
|
|
1556
|
+
"fieldName": "id",
|
|
1557
|
+
"inheritedFrom": {
|
|
1558
|
+
"name": "AccordionItem",
|
|
1559
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1504
1560
|
}
|
|
1505
1561
|
}
|
|
1506
1562
|
],
|
|
1507
1563
|
"members": [
|
|
1508
1564
|
{
|
|
1509
1565
|
"kind": "field",
|
|
1510
|
-
"name": "
|
|
1566
|
+
"name": "headinglevel",
|
|
1511
1567
|
"type": {
|
|
1512
|
-
"text": "
|
|
1568
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1513
1569
|
},
|
|
1514
1570
|
"privacy": "public",
|
|
1515
|
-
"
|
|
1571
|
+
"default": "2",
|
|
1572
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1516
1573
|
"inheritedFrom": {
|
|
1517
|
-
"name": "
|
|
1518
|
-
"module": "src/accordion/accordion.ts"
|
|
1574
|
+
"name": "AccordionItem",
|
|
1575
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1519
1576
|
}
|
|
1520
1577
|
},
|
|
1521
1578
|
{
|
|
1522
1579
|
"kind": "field",
|
|
1523
|
-
"name": "
|
|
1580
|
+
"name": "expanded",
|
|
1524
1581
|
"type": {
|
|
1525
|
-
"text": "
|
|
1582
|
+
"text": "boolean"
|
|
1526
1583
|
},
|
|
1527
|
-
"privacy": "
|
|
1584
|
+
"privacy": "public",
|
|
1585
|
+
"default": "false",
|
|
1586
|
+
"description": "Expands or collapses the item.",
|
|
1528
1587
|
"inheritedFrom": {
|
|
1529
|
-
"name": "
|
|
1530
|
-
"module": "src/accordion/accordion.ts"
|
|
1588
|
+
"name": "AccordionItem",
|
|
1589
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1531
1590
|
}
|
|
1532
1591
|
},
|
|
1533
1592
|
{
|
|
1534
1593
|
"kind": "field",
|
|
1535
|
-
"name": "
|
|
1594
|
+
"name": "id",
|
|
1536
1595
|
"type": {
|
|
1537
|
-
"text": "
|
|
1596
|
+
"text": "string"
|
|
1538
1597
|
},
|
|
1539
|
-
"privacy": "
|
|
1540
|
-
"
|
|
1598
|
+
"privacy": "public",
|
|
1599
|
+
"description": "The item ID",
|
|
1541
1600
|
"inheritedFrom": {
|
|
1542
|
-
"name": "
|
|
1543
|
-
"module": "src/accordion/accordion.ts"
|
|
1601
|
+
"name": "AccordionItem",
|
|
1602
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1544
1603
|
}
|
|
1545
1604
|
},
|
|
1546
1605
|
{
|
|
1547
1606
|
"kind": "field",
|
|
1548
|
-
"name": "
|
|
1549
|
-
"type": {
|
|
1550
|
-
"text": "Array<string | null>"
|
|
1551
|
-
},
|
|
1607
|
+
"name": "change",
|
|
1552
1608
|
"privacy": "private",
|
|
1553
1609
|
"inheritedFrom": {
|
|
1554
|
-
"name": "
|
|
1555
|
-
"module": "src/accordion/accordion.ts"
|
|
1610
|
+
"name": "AccordionItem",
|
|
1611
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1556
1612
|
}
|
|
1557
1613
|
},
|
|
1558
1614
|
{
|
|
1559
1615
|
"kind": "field",
|
|
1560
|
-
"name": "
|
|
1616
|
+
"name": "_presentation",
|
|
1617
|
+
"type": {
|
|
1618
|
+
"text": "ComponentPresentation | null | undefined"
|
|
1619
|
+
},
|
|
1561
1620
|
"privacy": "private",
|
|
1621
|
+
"default": "void 0",
|
|
1562
1622
|
"inheritedFrom": {
|
|
1563
|
-
"name": "
|
|
1564
|
-
"module": "src/
|
|
1623
|
+
"name": "FoundationElement",
|
|
1624
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1565
1625
|
}
|
|
1566
1626
|
},
|
|
1567
1627
|
{
|
|
1568
|
-
"kind": "
|
|
1569
|
-
"name": "
|
|
1570
|
-
"
|
|
1571
|
-
|
|
1572
|
-
"type": {
|
|
1573
|
-
"text": "AccordionItem | null"
|
|
1574
|
-
}
|
|
1628
|
+
"kind": "field",
|
|
1629
|
+
"name": "$presentation",
|
|
1630
|
+
"type": {
|
|
1631
|
+
"text": "ComponentPresentation | null"
|
|
1575
1632
|
},
|
|
1633
|
+
"privacy": "public",
|
|
1634
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1576
1635
|
"inheritedFrom": {
|
|
1577
|
-
"name": "
|
|
1578
|
-
"module": "src/
|
|
1636
|
+
"name": "FoundationElement",
|
|
1637
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1579
1638
|
}
|
|
1580
1639
|
},
|
|
1581
1640
|
{
|
|
1582
1641
|
"kind": "field",
|
|
1583
|
-
"name": "
|
|
1584
|
-
"
|
|
1642
|
+
"name": "template",
|
|
1643
|
+
"type": {
|
|
1644
|
+
"text": "ElementViewTemplate | void | null"
|
|
1645
|
+
},
|
|
1646
|
+
"privacy": "public",
|
|
1647
|
+
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
1585
1648
|
"inheritedFrom": {
|
|
1586
|
-
"name": "
|
|
1587
|
-
"module": "src/
|
|
1649
|
+
"name": "FoundationElement",
|
|
1650
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1588
1651
|
}
|
|
1589
1652
|
},
|
|
1590
1653
|
{
|
|
1591
1654
|
"kind": "method",
|
|
1592
|
-
"name": "
|
|
1593
|
-
"privacy": "
|
|
1655
|
+
"name": "templateChanged",
|
|
1656
|
+
"privacy": "protected",
|
|
1594
1657
|
"return": {
|
|
1595
1658
|
"type": {
|
|
1596
1659
|
"text": "void"
|
|
1597
1660
|
}
|
|
1598
1661
|
},
|
|
1599
1662
|
"inheritedFrom": {
|
|
1600
|
-
"name": "
|
|
1601
|
-
"module": "src/
|
|
1602
|
-
}
|
|
1603
|
-
},
|
|
1604
|
-
{
|
|
1605
|
-
"kind": "field",
|
|
1606
|
-
"name": "removeItemListeners",
|
|
1607
|
-
"privacy": "private",
|
|
1608
|
-
"inheritedFrom": {
|
|
1609
|
-
"name": "Accordion",
|
|
1610
|
-
"module": "src/accordion/accordion.ts"
|
|
1663
|
+
"name": "FoundationElement",
|
|
1664
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1611
1665
|
}
|
|
1612
1666
|
},
|
|
1613
1667
|
{
|
|
1614
1668
|
"kind": "field",
|
|
1615
|
-
"name": "
|
|
1616
|
-
"
|
|
1669
|
+
"name": "styles",
|
|
1670
|
+
"type": {
|
|
1671
|
+
"text": "ElementStyles | void | null"
|
|
1672
|
+
},
|
|
1673
|
+
"privacy": "public",
|
|
1674
|
+
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
1617
1675
|
"inheritedFrom": {
|
|
1618
|
-
"name": "
|
|
1619
|
-
"module": "src/
|
|
1676
|
+
"name": "FoundationElement",
|
|
1677
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1620
1678
|
}
|
|
1621
1679
|
},
|
|
1622
1680
|
{
|
|
1623
1681
|
"kind": "method",
|
|
1624
|
-
"name": "
|
|
1625
|
-
"privacy": "
|
|
1682
|
+
"name": "stylesChanged",
|
|
1683
|
+
"privacy": "protected",
|
|
1626
1684
|
"return": {
|
|
1627
1685
|
"type": {
|
|
1628
|
-
"text": "
|
|
1686
|
+
"text": "void"
|
|
1629
1687
|
}
|
|
1630
1688
|
},
|
|
1631
1689
|
"inheritedFrom": {
|
|
1632
|
-
"name": "
|
|
1633
|
-
"module": "src/
|
|
1690
|
+
"name": "FoundationElement",
|
|
1691
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1634
1692
|
}
|
|
1635
1693
|
},
|
|
1636
1694
|
{
|
|
1637
1695
|
"kind": "method",
|
|
1638
|
-
"name": "
|
|
1639
|
-
"privacy": "
|
|
1696
|
+
"name": "compose",
|
|
1697
|
+
"privacy": "public",
|
|
1698
|
+
"static": true,
|
|
1640
1699
|
"return": {
|
|
1641
1700
|
"type": {
|
|
1642
|
-
"text": "
|
|
1701
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
1643
1702
|
}
|
|
1644
1703
|
},
|
|
1704
|
+
"parameters": [
|
|
1705
|
+
{
|
|
1706
|
+
"name": "this",
|
|
1707
|
+
"type": {
|
|
1708
|
+
"text": "K"
|
|
1709
|
+
}
|
|
1710
|
+
},
|
|
1711
|
+
{
|
|
1712
|
+
"name": "elementDefinition",
|
|
1713
|
+
"type": {
|
|
1714
|
+
"text": "T"
|
|
1715
|
+
},
|
|
1716
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
1717
|
+
}
|
|
1718
|
+
],
|
|
1719
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
1645
1720
|
"inheritedFrom": {
|
|
1646
|
-
"name": "
|
|
1647
|
-
"module": "src/
|
|
1721
|
+
"name": "FoundationElement",
|
|
1722
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1648
1723
|
}
|
|
1649
|
-
}
|
|
1724
|
+
}
|
|
1725
|
+
],
|
|
1726
|
+
"events": [
|
|
1650
1727
|
{
|
|
1651
|
-
"
|
|
1652
|
-
"name": "handleItemKeyDown",
|
|
1653
|
-
"privacy": "private",
|
|
1654
|
-
"inheritedFrom": {
|
|
1655
|
-
"name": "Accordion",
|
|
1656
|
-
"module": "src/accordion/accordion.ts"
|
|
1657
|
-
}
|
|
1658
|
-
},
|
|
1659
|
-
{
|
|
1660
|
-
"kind": "field",
|
|
1661
|
-
"name": "handleItemFocus",
|
|
1662
|
-
"privacy": "private",
|
|
1663
|
-
"inheritedFrom": {
|
|
1664
|
-
"name": "Accordion",
|
|
1665
|
-
"module": "src/accordion/accordion.ts"
|
|
1666
|
-
}
|
|
1667
|
-
},
|
|
1668
|
-
{
|
|
1669
|
-
"kind": "method",
|
|
1670
|
-
"name": "adjust",
|
|
1671
|
-
"privacy": "private",
|
|
1672
|
-
"return": {
|
|
1673
|
-
"type": {
|
|
1674
|
-
"text": "void"
|
|
1675
|
-
}
|
|
1676
|
-
},
|
|
1677
|
-
"parameters": [
|
|
1678
|
-
{
|
|
1679
|
-
"name": "adjustment",
|
|
1680
|
-
"type": {
|
|
1681
|
-
"text": "number"
|
|
1682
|
-
}
|
|
1683
|
-
}
|
|
1684
|
-
],
|
|
1685
|
-
"inheritedFrom": {
|
|
1686
|
-
"name": "Accordion",
|
|
1687
|
-
"module": "src/accordion/accordion.ts"
|
|
1688
|
-
}
|
|
1689
|
-
},
|
|
1690
|
-
{
|
|
1691
|
-
"kind": "method",
|
|
1692
|
-
"name": "focusItem",
|
|
1693
|
-
"privacy": "private",
|
|
1694
|
-
"return": {
|
|
1695
|
-
"type": {
|
|
1696
|
-
"text": "void"
|
|
1697
|
-
}
|
|
1698
|
-
},
|
|
1699
|
-
"inheritedFrom": {
|
|
1700
|
-
"name": "Accordion",
|
|
1701
|
-
"module": "src/accordion/accordion.ts"
|
|
1702
|
-
}
|
|
1703
|
-
},
|
|
1704
|
-
{
|
|
1705
|
-
"kind": "field",
|
|
1706
|
-
"name": "_presentation",
|
|
1707
|
-
"type": {
|
|
1708
|
-
"text": "ComponentPresentation | null | undefined"
|
|
1709
|
-
},
|
|
1710
|
-
"privacy": "private",
|
|
1711
|
-
"default": "void 0",
|
|
1712
|
-
"inheritedFrom": {
|
|
1713
|
-
"name": "FoundationElement",
|
|
1714
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1715
|
-
}
|
|
1716
|
-
},
|
|
1717
|
-
{
|
|
1718
|
-
"kind": "field",
|
|
1719
|
-
"name": "$presentation",
|
|
1720
|
-
"type": {
|
|
1721
|
-
"text": "ComponentPresentation | null"
|
|
1722
|
-
},
|
|
1723
|
-
"privacy": "public",
|
|
1724
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1725
|
-
"inheritedFrom": {
|
|
1726
|
-
"name": "FoundationElement",
|
|
1727
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1728
|
-
}
|
|
1729
|
-
},
|
|
1730
|
-
{
|
|
1731
|
-
"kind": "field",
|
|
1732
|
-
"name": "template",
|
|
1733
|
-
"type": {
|
|
1734
|
-
"text": "ElementViewTemplate | void | null"
|
|
1735
|
-
},
|
|
1736
|
-
"privacy": "public",
|
|
1737
|
-
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
1738
|
-
"inheritedFrom": {
|
|
1739
|
-
"name": "FoundationElement",
|
|
1740
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1741
|
-
}
|
|
1742
|
-
},
|
|
1743
|
-
{
|
|
1744
|
-
"kind": "method",
|
|
1745
|
-
"name": "templateChanged",
|
|
1746
|
-
"privacy": "protected",
|
|
1747
|
-
"return": {
|
|
1748
|
-
"type": {
|
|
1749
|
-
"text": "void"
|
|
1750
|
-
}
|
|
1751
|
-
},
|
|
1752
|
-
"inheritedFrom": {
|
|
1753
|
-
"name": "FoundationElement",
|
|
1754
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1755
|
-
}
|
|
1756
|
-
},
|
|
1757
|
-
{
|
|
1758
|
-
"kind": "field",
|
|
1759
|
-
"name": "styles",
|
|
1760
|
-
"type": {
|
|
1761
|
-
"text": "ElementStyles | void | null"
|
|
1762
|
-
},
|
|
1763
|
-
"privacy": "public",
|
|
1764
|
-
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
1765
|
-
"inheritedFrom": {
|
|
1766
|
-
"name": "FoundationElement",
|
|
1767
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1768
|
-
}
|
|
1769
|
-
},
|
|
1770
|
-
{
|
|
1771
|
-
"kind": "method",
|
|
1772
|
-
"name": "stylesChanged",
|
|
1773
|
-
"privacy": "protected",
|
|
1774
|
-
"return": {
|
|
1775
|
-
"type": {
|
|
1776
|
-
"text": "void"
|
|
1777
|
-
}
|
|
1778
|
-
},
|
|
1779
|
-
"inheritedFrom": {
|
|
1780
|
-
"name": "FoundationElement",
|
|
1781
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1782
|
-
}
|
|
1783
|
-
},
|
|
1784
|
-
{
|
|
1785
|
-
"kind": "method",
|
|
1786
|
-
"name": "compose",
|
|
1787
|
-
"privacy": "public",
|
|
1788
|
-
"static": true,
|
|
1789
|
-
"return": {
|
|
1790
|
-
"type": {
|
|
1791
|
-
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
1792
|
-
}
|
|
1793
|
-
},
|
|
1794
|
-
"parameters": [
|
|
1795
|
-
{
|
|
1796
|
-
"name": "this",
|
|
1797
|
-
"type": {
|
|
1798
|
-
"text": "K"
|
|
1799
|
-
}
|
|
1800
|
-
},
|
|
1801
|
-
{
|
|
1802
|
-
"name": "elementDefinition",
|
|
1803
|
-
"type": {
|
|
1804
|
-
"text": "T"
|
|
1805
|
-
},
|
|
1806
|
-
"description": "The definition of the element to create the registry\nfunction for."
|
|
1807
|
-
}
|
|
1808
|
-
],
|
|
1809
|
-
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
1810
|
-
"inheritedFrom": {
|
|
1811
|
-
"name": "FoundationElement",
|
|
1812
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1813
|
-
}
|
|
1814
|
-
}
|
|
1815
|
-
],
|
|
1816
|
-
"events": [
|
|
1817
|
-
{
|
|
1818
|
-
"description": "Fires a custom 'change' event when the active item changes",
|
|
1728
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
1819
1729
|
"name": "change",
|
|
1820
1730
|
"inheritedFrom": {
|
|
1821
|
-
"name": "
|
|
1822
|
-
"module": "src/accordion/accordion.ts"
|
|
1731
|
+
"name": "AccordionItem",
|
|
1732
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1823
1733
|
}
|
|
1824
1734
|
}
|
|
1825
1735
|
]
|
|
1826
1736
|
},
|
|
1827
1737
|
{
|
|
1828
1738
|
"kind": "variable",
|
|
1829
|
-
"name": "
|
|
1739
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1830
1740
|
"type": {
|
|
1831
1741
|
"text": "ShadowRootInit"
|
|
1832
1742
|
},
|
|
@@ -1834,57 +1744,57 @@
|
|
|
1834
1744
|
},
|
|
1835
1745
|
{
|
|
1836
1746
|
"kind": "variable",
|
|
1837
|
-
"name": "
|
|
1747
|
+
"name": "defaultAccordionItemConfig",
|
|
1838
1748
|
"type": {
|
|
1839
1749
|
"text": "object"
|
|
1840
1750
|
},
|
|
1841
|
-
"default": "{}"
|
|
1751
|
+
"default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
|
|
1842
1752
|
},
|
|
1843
1753
|
{
|
|
1844
1754
|
"kind": "variable",
|
|
1845
|
-
"name": "
|
|
1846
|
-
"description": "The Foundation Accordion",
|
|
1755
|
+
"name": "foundationAccordionItem",
|
|
1756
|
+
"description": "The Foundation Accordion Item",
|
|
1847
1757
|
"privacy": "public"
|
|
1848
1758
|
}
|
|
1849
1759
|
],
|
|
1850
1760
|
"exports": [
|
|
1851
1761
|
{
|
|
1852
1762
|
"kind": "js",
|
|
1853
|
-
"name": "
|
|
1763
|
+
"name": "AccordionItem",
|
|
1854
1764
|
"declaration": {
|
|
1855
|
-
"name": "
|
|
1856
|
-
"module": "src/accordion/accordion.ts"
|
|
1765
|
+
"name": "AccordionItem",
|
|
1766
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1857
1767
|
}
|
|
1858
1768
|
},
|
|
1859
1769
|
{
|
|
1860
1770
|
"kind": "js",
|
|
1861
|
-
"name": "
|
|
1771
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1862
1772
|
"declaration": {
|
|
1863
|
-
"name": "
|
|
1864
|
-
"module": "src/accordion/accordion.ts"
|
|
1773
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1774
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1865
1775
|
}
|
|
1866
1776
|
},
|
|
1867
1777
|
{
|
|
1868
1778
|
"kind": "js",
|
|
1869
|
-
"name": "
|
|
1779
|
+
"name": "defaultAccordionItemConfig",
|
|
1870
1780
|
"declaration": {
|
|
1871
|
-
"name": "
|
|
1872
|
-
"module": "src/accordion/accordion.ts"
|
|
1781
|
+
"name": "defaultAccordionItemConfig",
|
|
1782
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1873
1783
|
}
|
|
1874
1784
|
},
|
|
1875
1785
|
{
|
|
1876
1786
|
"kind": "js",
|
|
1877
|
-
"name": "
|
|
1787
|
+
"name": "foundationAccordionItem",
|
|
1878
1788
|
"declaration": {
|
|
1879
|
-
"name": "
|
|
1880
|
-
"module": "src/accordion/accordion.ts"
|
|
1789
|
+
"name": "foundationAccordionItem",
|
|
1790
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1881
1791
|
}
|
|
1882
1792
|
}
|
|
1883
1793
|
]
|
|
1884
1794
|
},
|
|
1885
1795
|
{
|
|
1886
1796
|
"kind": "javascript-module",
|
|
1887
|
-
"path": "src/accordion/index.ts",
|
|
1797
|
+
"path": "src/accordion-item/index.ts",
|
|
1888
1798
|
"declarations": [],
|
|
1889
1799
|
"exports": [
|
|
1890
1800
|
{
|
|
@@ -1892,7 +1802,7 @@
|
|
|
1892
1802
|
"name": "*",
|
|
1893
1803
|
"declaration": {
|
|
1894
1804
|
"name": "*",
|
|
1895
|
-
"package": "./accordion.template"
|
|
1805
|
+
"package": "./accordion-item.template"
|
|
1896
1806
|
}
|
|
1897
1807
|
},
|
|
1898
1808
|
{
|
|
@@ -1900,7 +1810,7 @@
|
|
|
1900
1810
|
"name": "*",
|
|
1901
1811
|
"declaration": {
|
|
1902
1812
|
"name": "*",
|
|
1903
|
-
"package": "./accordion.styles"
|
|
1813
|
+
"package": "./accordion-item.styles"
|
|
1904
1814
|
}
|
|
1905
1815
|
},
|
|
1906
1816
|
{
|
|
@@ -1908,18 +1818,18 @@
|
|
|
1908
1818
|
"name": "*",
|
|
1909
1819
|
"declaration": {
|
|
1910
1820
|
"name": "*",
|
|
1911
|
-
"package": "./accordion"
|
|
1821
|
+
"package": "./accordion-item"
|
|
1912
1822
|
}
|
|
1913
1823
|
}
|
|
1914
1824
|
]
|
|
1915
1825
|
},
|
|
1916
1826
|
{
|
|
1917
1827
|
"kind": "javascript-module",
|
|
1918
|
-
"path": "src/accordion
|
|
1828
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
1919
1829
|
"declarations": [
|
|
1920
1830
|
{
|
|
1921
1831
|
"kind": "function",
|
|
1922
|
-
"name": "
|
|
1832
|
+
"name": "foundationAccordionStyles",
|
|
1923
1833
|
"return": {
|
|
1924
1834
|
"type": {
|
|
1925
1835
|
"text": "ElementStyles"
|
|
@@ -1944,24 +1854,24 @@
|
|
|
1944
1854
|
"exports": [
|
|
1945
1855
|
{
|
|
1946
1856
|
"kind": "js",
|
|
1947
|
-
"name": "
|
|
1857
|
+
"name": "foundationAccordionStyles",
|
|
1948
1858
|
"declaration": {
|
|
1949
|
-
"name": "
|
|
1950
|
-
"module": "src/accordion
|
|
1859
|
+
"name": "foundationAccordionStyles",
|
|
1860
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
1951
1861
|
}
|
|
1952
1862
|
}
|
|
1953
1863
|
]
|
|
1954
1864
|
},
|
|
1955
1865
|
{
|
|
1956
1866
|
"kind": "javascript-module",
|
|
1957
|
-
"path": "src/accordion
|
|
1867
|
+
"path": "src/accordion/accordion.template.ts",
|
|
1958
1868
|
"declarations": [
|
|
1959
1869
|
{
|
|
1960
1870
|
"kind": "function",
|
|
1961
|
-
"name": "
|
|
1871
|
+
"name": "foundationAccordionTemplate",
|
|
1962
1872
|
"return": {
|
|
1963
1873
|
"type": {
|
|
1964
|
-
"text": "ViewTemplate<
|
|
1874
|
+
"text": "ViewTemplate<Accordion>"
|
|
1965
1875
|
}
|
|
1966
1876
|
},
|
|
1967
1877
|
"parameters": [
|
|
@@ -1983,116 +1893,237 @@
|
|
|
1983
1893
|
"exports": [
|
|
1984
1894
|
{
|
|
1985
1895
|
"kind": "js",
|
|
1986
|
-
"name": "
|
|
1896
|
+
"name": "foundationAccordionTemplate",
|
|
1987
1897
|
"declaration": {
|
|
1988
|
-
"name": "
|
|
1989
|
-
"module": "src/accordion
|
|
1898
|
+
"name": "foundationAccordionTemplate",
|
|
1899
|
+
"module": "src/accordion/accordion.template.ts"
|
|
1990
1900
|
}
|
|
1991
1901
|
}
|
|
1992
1902
|
]
|
|
1993
1903
|
},
|
|
1994
1904
|
{
|
|
1995
1905
|
"kind": "javascript-module",
|
|
1996
|
-
"path": "src/accordion
|
|
1906
|
+
"path": "src/accordion/accordion.ts",
|
|
1997
1907
|
"declarations": [
|
|
1998
1908
|
{
|
|
1999
1909
|
"kind": "class",
|
|
2000
1910
|
"description": "",
|
|
2001
|
-
"name": "
|
|
1911
|
+
"name": "Accordion",
|
|
2002
1912
|
"superclass": {
|
|
2003
|
-
"name": "
|
|
2004
|
-
"package": "@microsoft/fast-
|
|
1913
|
+
"name": "FASTAccordion",
|
|
1914
|
+
"package": "@microsoft/fast-foundation"
|
|
2005
1915
|
},
|
|
2006
|
-
"tagName": "%%prefix%%-accordion
|
|
1916
|
+
"tagName": "%%prefix%%-accordion",
|
|
2007
1917
|
"customElement": true,
|
|
2008
1918
|
"attributes": [
|
|
2009
1919
|
{
|
|
2010
|
-
"name": "
|
|
1920
|
+
"name": "expand-mode",
|
|
2011
1921
|
"type": {
|
|
2012
|
-
"text": "
|
|
1922
|
+
"text": "AccordionExpandMode"
|
|
2013
1923
|
},
|
|
2014
|
-
"
|
|
2015
|
-
"
|
|
2016
|
-
"fieldName": "headinglevel",
|
|
1924
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1925
|
+
"fieldName": "expandmode",
|
|
2017
1926
|
"inheritedFrom": {
|
|
2018
|
-
"name": "
|
|
2019
|
-
"module": "src/accordion
|
|
2020
|
-
}
|
|
2021
|
-
}
|
|
1927
|
+
"name": "Accordion",
|
|
1928
|
+
"module": "src/accordion/accordion.ts"
|
|
1929
|
+
}
|
|
1930
|
+
}
|
|
1931
|
+
],
|
|
1932
|
+
"members": [
|
|
2022
1933
|
{
|
|
1934
|
+
"kind": "field",
|
|
1935
|
+
"name": "expandmode",
|
|
2023
1936
|
"type": {
|
|
2024
|
-
"text": "
|
|
1937
|
+
"text": "AccordionExpandMode"
|
|
2025
1938
|
},
|
|
2026
|
-
"
|
|
2027
|
-
"description": "
|
|
2028
|
-
"fieldName": "expanded",
|
|
1939
|
+
"privacy": "public",
|
|
1940
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2029
1941
|
"inheritedFrom": {
|
|
2030
|
-
"name": "
|
|
2031
|
-
"module": "src/accordion
|
|
1942
|
+
"name": "Accordion",
|
|
1943
|
+
"module": "src/accordion/accordion.ts"
|
|
2032
1944
|
}
|
|
2033
1945
|
},
|
|
2034
1946
|
{
|
|
2035
|
-
"
|
|
1947
|
+
"kind": "field",
|
|
1948
|
+
"name": "activeid",
|
|
2036
1949
|
"type": {
|
|
2037
|
-
"text": "string"
|
|
1950
|
+
"text": "string | null"
|
|
2038
1951
|
},
|
|
2039
|
-
"
|
|
2040
|
-
"fieldName": "id",
|
|
1952
|
+
"privacy": "private",
|
|
2041
1953
|
"inheritedFrom": {
|
|
2042
|
-
"name": "
|
|
2043
|
-
"module": "src/accordion
|
|
1954
|
+
"name": "Accordion",
|
|
1955
|
+
"module": "src/accordion/accordion.ts"
|
|
2044
1956
|
}
|
|
2045
|
-
}
|
|
2046
|
-
],
|
|
2047
|
-
"members": [
|
|
1957
|
+
},
|
|
2048
1958
|
{
|
|
2049
1959
|
"kind": "field",
|
|
2050
|
-
"name": "
|
|
1960
|
+
"name": "activeItemIndex",
|
|
2051
1961
|
"type": {
|
|
2052
|
-
"text": "
|
|
1962
|
+
"text": "number"
|
|
2053
1963
|
},
|
|
2054
|
-
"privacy": "
|
|
2055
|
-
"default": "
|
|
2056
|
-
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1964
|
+
"privacy": "private",
|
|
1965
|
+
"default": "0",
|
|
2057
1966
|
"inheritedFrom": {
|
|
2058
|
-
"name": "
|
|
2059
|
-
"module": "src/accordion
|
|
1967
|
+
"name": "Accordion",
|
|
1968
|
+
"module": "src/accordion/accordion.ts"
|
|
2060
1969
|
}
|
|
2061
1970
|
},
|
|
2062
1971
|
{
|
|
2063
1972
|
"kind": "field",
|
|
2064
|
-
"name": "
|
|
1973
|
+
"name": "accordionIds",
|
|
2065
1974
|
"type": {
|
|
2066
|
-
"text": "
|
|
1975
|
+
"text": "Array<string | null>"
|
|
2067
1976
|
},
|
|
2068
|
-
"privacy": "
|
|
2069
|
-
"default": "false",
|
|
2070
|
-
"description": "Expands or collapses the item.",
|
|
1977
|
+
"privacy": "private",
|
|
2071
1978
|
"inheritedFrom": {
|
|
2072
|
-
"name": "
|
|
2073
|
-
"module": "src/accordion
|
|
1979
|
+
"name": "Accordion",
|
|
1980
|
+
"module": "src/accordion/accordion.ts"
|
|
2074
1981
|
}
|
|
2075
1982
|
},
|
|
2076
1983
|
{
|
|
2077
1984
|
"kind": "field",
|
|
2078
|
-
"name": "
|
|
2079
|
-
"
|
|
2080
|
-
|
|
1985
|
+
"name": "change",
|
|
1986
|
+
"privacy": "private",
|
|
1987
|
+
"inheritedFrom": {
|
|
1988
|
+
"name": "Accordion",
|
|
1989
|
+
"module": "src/accordion/accordion.ts"
|
|
1990
|
+
}
|
|
1991
|
+
},
|
|
1992
|
+
{
|
|
1993
|
+
"kind": "method",
|
|
1994
|
+
"name": "findExpandedItem",
|
|
1995
|
+
"privacy": "private",
|
|
1996
|
+
"return": {
|
|
1997
|
+
"type": {
|
|
1998
|
+
"text": "AccordionItem | null"
|
|
1999
|
+
}
|
|
2081
2000
|
},
|
|
2082
|
-
"privacy": "public",
|
|
2083
|
-
"description": "The item ID",
|
|
2084
2001
|
"inheritedFrom": {
|
|
2085
|
-
"name": "
|
|
2086
|
-
"module": "src/accordion
|
|
2002
|
+
"name": "Accordion",
|
|
2003
|
+
"module": "src/accordion/accordion.ts"
|
|
2087
2004
|
}
|
|
2088
2005
|
},
|
|
2089
2006
|
{
|
|
2090
2007
|
"kind": "field",
|
|
2091
|
-
"name": "
|
|
2008
|
+
"name": "setItems",
|
|
2092
2009
|
"privacy": "private",
|
|
2093
2010
|
"inheritedFrom": {
|
|
2094
|
-
"name": "
|
|
2095
|
-
"module": "src/accordion
|
|
2011
|
+
"name": "Accordion",
|
|
2012
|
+
"module": "src/accordion/accordion.ts"
|
|
2013
|
+
}
|
|
2014
|
+
},
|
|
2015
|
+
{
|
|
2016
|
+
"kind": "method",
|
|
2017
|
+
"name": "resetItems",
|
|
2018
|
+
"privacy": "private",
|
|
2019
|
+
"return": {
|
|
2020
|
+
"type": {
|
|
2021
|
+
"text": "void"
|
|
2022
|
+
}
|
|
2023
|
+
},
|
|
2024
|
+
"inheritedFrom": {
|
|
2025
|
+
"name": "Accordion",
|
|
2026
|
+
"module": "src/accordion/accordion.ts"
|
|
2027
|
+
}
|
|
2028
|
+
},
|
|
2029
|
+
{
|
|
2030
|
+
"kind": "field",
|
|
2031
|
+
"name": "removeItemListeners",
|
|
2032
|
+
"privacy": "private",
|
|
2033
|
+
"inheritedFrom": {
|
|
2034
|
+
"name": "Accordion",
|
|
2035
|
+
"module": "src/accordion/accordion.ts"
|
|
2036
|
+
}
|
|
2037
|
+
},
|
|
2038
|
+
{
|
|
2039
|
+
"kind": "field",
|
|
2040
|
+
"name": "activeItemChange",
|
|
2041
|
+
"privacy": "private",
|
|
2042
|
+
"inheritedFrom": {
|
|
2043
|
+
"name": "Accordion",
|
|
2044
|
+
"module": "src/accordion/accordion.ts"
|
|
2045
|
+
}
|
|
2046
|
+
},
|
|
2047
|
+
{
|
|
2048
|
+
"kind": "method",
|
|
2049
|
+
"name": "getItemIds",
|
|
2050
|
+
"privacy": "private",
|
|
2051
|
+
"return": {
|
|
2052
|
+
"type": {
|
|
2053
|
+
"text": "Array<string | null>"
|
|
2054
|
+
}
|
|
2055
|
+
},
|
|
2056
|
+
"inheritedFrom": {
|
|
2057
|
+
"name": "Accordion",
|
|
2058
|
+
"module": "src/accordion/accordion.ts"
|
|
2059
|
+
}
|
|
2060
|
+
},
|
|
2061
|
+
{
|
|
2062
|
+
"kind": "method",
|
|
2063
|
+
"name": "isSingleExpandMode",
|
|
2064
|
+
"privacy": "private",
|
|
2065
|
+
"return": {
|
|
2066
|
+
"type": {
|
|
2067
|
+
"text": "boolean"
|
|
2068
|
+
}
|
|
2069
|
+
},
|
|
2070
|
+
"inheritedFrom": {
|
|
2071
|
+
"name": "Accordion",
|
|
2072
|
+
"module": "src/accordion/accordion.ts"
|
|
2073
|
+
}
|
|
2074
|
+
},
|
|
2075
|
+
{
|
|
2076
|
+
"kind": "field",
|
|
2077
|
+
"name": "handleItemKeyDown",
|
|
2078
|
+
"privacy": "private",
|
|
2079
|
+
"inheritedFrom": {
|
|
2080
|
+
"name": "Accordion",
|
|
2081
|
+
"module": "src/accordion/accordion.ts"
|
|
2082
|
+
}
|
|
2083
|
+
},
|
|
2084
|
+
{
|
|
2085
|
+
"kind": "field",
|
|
2086
|
+
"name": "handleItemFocus",
|
|
2087
|
+
"privacy": "private",
|
|
2088
|
+
"inheritedFrom": {
|
|
2089
|
+
"name": "Accordion",
|
|
2090
|
+
"module": "src/accordion/accordion.ts"
|
|
2091
|
+
}
|
|
2092
|
+
},
|
|
2093
|
+
{
|
|
2094
|
+
"kind": "method",
|
|
2095
|
+
"name": "adjust",
|
|
2096
|
+
"privacy": "private",
|
|
2097
|
+
"return": {
|
|
2098
|
+
"type": {
|
|
2099
|
+
"text": "void"
|
|
2100
|
+
}
|
|
2101
|
+
},
|
|
2102
|
+
"parameters": [
|
|
2103
|
+
{
|
|
2104
|
+
"name": "adjustment",
|
|
2105
|
+
"type": {
|
|
2106
|
+
"text": "number"
|
|
2107
|
+
}
|
|
2108
|
+
}
|
|
2109
|
+
],
|
|
2110
|
+
"inheritedFrom": {
|
|
2111
|
+
"name": "Accordion",
|
|
2112
|
+
"module": "src/accordion/accordion.ts"
|
|
2113
|
+
}
|
|
2114
|
+
},
|
|
2115
|
+
{
|
|
2116
|
+
"kind": "method",
|
|
2117
|
+
"name": "focusItem",
|
|
2118
|
+
"privacy": "private",
|
|
2119
|
+
"return": {
|
|
2120
|
+
"type": {
|
|
2121
|
+
"text": "void"
|
|
2122
|
+
}
|
|
2123
|
+
},
|
|
2124
|
+
"inheritedFrom": {
|
|
2125
|
+
"name": "Accordion",
|
|
2126
|
+
"module": "src/accordion/accordion.ts"
|
|
2096
2127
|
}
|
|
2097
2128
|
},
|
|
2098
2129
|
{
|
|
@@ -2209,18 +2240,18 @@
|
|
|
2209
2240
|
],
|
|
2210
2241
|
"events": [
|
|
2211
2242
|
{
|
|
2212
|
-
"description": "Fires a custom 'change' event when the
|
|
2243
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
2213
2244
|
"name": "change",
|
|
2214
2245
|
"inheritedFrom": {
|
|
2215
|
-
"name": "
|
|
2216
|
-
"module": "src/accordion
|
|
2246
|
+
"name": "Accordion",
|
|
2247
|
+
"module": "src/accordion/accordion.ts"
|
|
2217
2248
|
}
|
|
2218
2249
|
}
|
|
2219
2250
|
]
|
|
2220
2251
|
},
|
|
2221
2252
|
{
|
|
2222
2253
|
"kind": "variable",
|
|
2223
|
-
"name": "
|
|
2254
|
+
"name": "foundationAccordionShadowOptions",
|
|
2224
2255
|
"type": {
|
|
2225
2256
|
"text": "ShadowRootInit"
|
|
2226
2257
|
},
|
|
@@ -2228,57 +2259,57 @@
|
|
|
2228
2259
|
},
|
|
2229
2260
|
{
|
|
2230
2261
|
"kind": "variable",
|
|
2231
|
-
"name": "
|
|
2262
|
+
"name": "defaultAccordionConfig",
|
|
2232
2263
|
"type": {
|
|
2233
2264
|
"text": "object"
|
|
2234
2265
|
},
|
|
2235
|
-
"default": "{
|
|
2266
|
+
"default": "{}"
|
|
2236
2267
|
},
|
|
2237
2268
|
{
|
|
2238
2269
|
"kind": "variable",
|
|
2239
|
-
"name": "
|
|
2240
|
-
"description": "The Foundation Accordion
|
|
2270
|
+
"name": "foundationAccordion",
|
|
2271
|
+
"description": "The Foundation Accordion",
|
|
2241
2272
|
"privacy": "public"
|
|
2242
2273
|
}
|
|
2243
2274
|
],
|
|
2244
2275
|
"exports": [
|
|
2245
2276
|
{
|
|
2246
2277
|
"kind": "js",
|
|
2247
|
-
"name": "
|
|
2278
|
+
"name": "Accordion",
|
|
2248
2279
|
"declaration": {
|
|
2249
|
-
"name": "
|
|
2250
|
-
"module": "src/accordion
|
|
2280
|
+
"name": "Accordion",
|
|
2281
|
+
"module": "src/accordion/accordion.ts"
|
|
2251
2282
|
}
|
|
2252
2283
|
},
|
|
2253
2284
|
{
|
|
2254
2285
|
"kind": "js",
|
|
2255
|
-
"name": "
|
|
2286
|
+
"name": "foundationAccordionShadowOptions",
|
|
2256
2287
|
"declaration": {
|
|
2257
|
-
"name": "
|
|
2258
|
-
"module": "src/accordion
|
|
2288
|
+
"name": "foundationAccordionShadowOptions",
|
|
2289
|
+
"module": "src/accordion/accordion.ts"
|
|
2259
2290
|
}
|
|
2260
2291
|
},
|
|
2261
2292
|
{
|
|
2262
2293
|
"kind": "js",
|
|
2263
|
-
"name": "
|
|
2294
|
+
"name": "defaultAccordionConfig",
|
|
2264
2295
|
"declaration": {
|
|
2265
|
-
"name": "
|
|
2266
|
-
"module": "src/accordion
|
|
2296
|
+
"name": "defaultAccordionConfig",
|
|
2297
|
+
"module": "src/accordion/accordion.ts"
|
|
2267
2298
|
}
|
|
2268
2299
|
},
|
|
2269
2300
|
{
|
|
2270
2301
|
"kind": "js",
|
|
2271
|
-
"name": "
|
|
2302
|
+
"name": "foundationAccordion",
|
|
2272
2303
|
"declaration": {
|
|
2273
|
-
"name": "
|
|
2274
|
-
"module": "src/accordion
|
|
2304
|
+
"name": "foundationAccordion",
|
|
2305
|
+
"module": "src/accordion/accordion.ts"
|
|
2275
2306
|
}
|
|
2276
2307
|
}
|
|
2277
2308
|
]
|
|
2278
2309
|
},
|
|
2279
2310
|
{
|
|
2280
2311
|
"kind": "javascript-module",
|
|
2281
|
-
"path": "src/accordion
|
|
2312
|
+
"path": "src/accordion/index.ts",
|
|
2282
2313
|
"declarations": [],
|
|
2283
2314
|
"exports": [
|
|
2284
2315
|
{
|
|
@@ -2286,7 +2317,7 @@
|
|
|
2286
2317
|
"name": "*",
|
|
2287
2318
|
"declaration": {
|
|
2288
2319
|
"name": "*",
|
|
2289
|
-
"package": "./accordion
|
|
2320
|
+
"package": "./accordion.template"
|
|
2290
2321
|
}
|
|
2291
2322
|
},
|
|
2292
2323
|
{
|
|
@@ -2294,7 +2325,7 @@
|
|
|
2294
2325
|
"name": "*",
|
|
2295
2326
|
"declaration": {
|
|
2296
2327
|
"name": "*",
|
|
2297
|
-
"package": "./accordion
|
|
2328
|
+
"package": "./accordion.styles"
|
|
2298
2329
|
}
|
|
2299
2330
|
},
|
|
2300
2331
|
{
|
|
@@ -2302,38 +2333,7 @@
|
|
|
2302
2333
|
"name": "*",
|
|
2303
2334
|
"declaration": {
|
|
2304
2335
|
"name": "*",
|
|
2305
|
-
"package": "./accordion
|
|
2306
|
-
}
|
|
2307
|
-
}
|
|
2308
|
-
]
|
|
2309
|
-
},
|
|
2310
|
-
{
|
|
2311
|
-
"kind": "javascript-module",
|
|
2312
|
-
"path": "src/_config/index.ts",
|
|
2313
|
-
"declarations": [],
|
|
2314
|
-
"exports": [
|
|
2315
|
-
{
|
|
2316
|
-
"kind": "js",
|
|
2317
|
-
"name": "*",
|
|
2318
|
-
"declaration": {
|
|
2319
|
-
"name": "*",
|
|
2320
|
-
"package": "./styles"
|
|
2321
|
-
}
|
|
2322
|
-
},
|
|
2323
|
-
{
|
|
2324
|
-
"kind": "js",
|
|
2325
|
-
"name": "*",
|
|
2326
|
-
"declaration": {
|
|
2327
|
-
"name": "*",
|
|
2328
|
-
"package": "./tokens"
|
|
2329
|
-
}
|
|
2330
|
-
},
|
|
2331
|
-
{
|
|
2332
|
-
"kind": "js",
|
|
2333
|
-
"name": "*",
|
|
2334
|
-
"declaration": {
|
|
2335
|
-
"name": "*",
|
|
2336
|
-
"package": "./values"
|
|
2336
|
+
"package": "./accordion"
|
|
2337
2337
|
}
|
|
2338
2338
|
}
|
|
2339
2339
|
]
|
|
@@ -2899,75 +2899,57 @@
|
|
|
2899
2899
|
},
|
|
2900
2900
|
{
|
|
2901
2901
|
"kind": "javascript-module",
|
|
2902
|
-
"path": "src/ai-
|
|
2902
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
2903
2903
|
"declarations": [
|
|
2904
2904
|
{
|
|
2905
|
-
"kind": "
|
|
2906
|
-
"name": "
|
|
2907
|
-
"
|
|
2908
|
-
"type": {
|
|
2909
|
-
"text": "ElementStyles"
|
|
2910
|
-
}
|
|
2911
|
-
},
|
|
2912
|
-
"parameters": [
|
|
2913
|
-
{
|
|
2914
|
-
"name": "context",
|
|
2915
|
-
"type": {
|
|
2916
|
-
"text": "ElementDefinitionContext"
|
|
2917
|
-
}
|
|
2918
|
-
},
|
|
2919
|
-
{
|
|
2920
|
-
"name": "definition",
|
|
2921
|
-
"type": {
|
|
2922
|
-
"text": "FoundationElementDefinition"
|
|
2923
|
-
}
|
|
2924
|
-
}
|
|
2925
|
-
]
|
|
2905
|
+
"kind": "variable",
|
|
2906
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2907
|
+
"default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
|
|
2926
2908
|
}
|
|
2927
2909
|
],
|
|
2928
2910
|
"exports": [
|
|
2929
2911
|
{
|
|
2930
2912
|
"kind": "js",
|
|
2931
|
-
"name": "
|
|
2913
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2932
2914
|
"declaration": {
|
|
2933
|
-
"name": "
|
|
2934
|
-
"module": "src/ai-
|
|
2915
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2916
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
2935
2917
|
}
|
|
2936
2918
|
}
|
|
2937
2919
|
]
|
|
2938
2920
|
},
|
|
2939
2921
|
{
|
|
2940
2922
|
"kind": "javascript-module",
|
|
2941
|
-
"path": "src/ai-
|
|
2923
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
2942
2924
|
"declarations": [
|
|
2943
2925
|
{
|
|
2944
2926
|
"kind": "variable",
|
|
2945
|
-
"name": "
|
|
2927
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2946
2928
|
"type": {
|
|
2947
|
-
"text": "ViewTemplate<
|
|
2929
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
2948
2930
|
},
|
|
2949
|
-
"default": "html`\n ${(x) =>
|
|
2931
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
2950
2932
|
}
|
|
2951
2933
|
],
|
|
2952
2934
|
"exports": [
|
|
2953
2935
|
{
|
|
2954
2936
|
"kind": "js",
|
|
2955
|
-
"name": "
|
|
2937
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2956
2938
|
"declaration": {
|
|
2957
|
-
"name": "
|
|
2958
|
-
"module": "src/ai-
|
|
2939
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2940
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
2959
2941
|
}
|
|
2960
2942
|
}
|
|
2961
2943
|
]
|
|
2962
2944
|
},
|
|
2963
2945
|
{
|
|
2964
2946
|
"kind": "javascript-module",
|
|
2965
|
-
"path": "src/ai-
|
|
2947
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
2966
2948
|
"declarations": [
|
|
2967
2949
|
{
|
|
2968
2950
|
"kind": "class",
|
|
2969
|
-
"description": "",
|
|
2970
|
-
"name": "
|
|
2951
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2952
|
+
"name": "AiCriteriaSearch",
|
|
2971
2953
|
"members": [
|
|
2972
2954
|
{
|
|
2973
2955
|
"kind": "field",
|
|
@@ -2978,25 +2960,54 @@
|
|
|
2978
2960
|
},
|
|
2979
2961
|
{
|
|
2980
2962
|
"kind": "field",
|
|
2981
|
-
"name": "
|
|
2963
|
+
"name": "placeholder",
|
|
2982
2964
|
"type": {
|
|
2983
|
-
"text": "
|
|
2965
|
+
"text": "string"
|
|
2984
2966
|
},
|
|
2985
|
-
"
|
|
2986
|
-
"description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
|
|
2987
|
-
"readonly": true
|
|
2967
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
2988
2968
|
},
|
|
2989
2969
|
{
|
|
2990
2970
|
"kind": "field",
|
|
2991
|
-
"name": "
|
|
2971
|
+
"name": "disabled",
|
|
2992
2972
|
"type": {
|
|
2993
|
-
"text": "
|
|
2973
|
+
"text": "boolean"
|
|
2974
|
+
}
|
|
2975
|
+
},
|
|
2976
|
+
{
|
|
2977
|
+
"kind": "field",
|
|
2978
|
+
"name": "inputValue",
|
|
2979
|
+
"type": {
|
|
2980
|
+
"text": "string"
|
|
2981
|
+
},
|
|
2982
|
+
"default": "''"
|
|
2983
|
+
},
|
|
2984
|
+
{
|
|
2985
|
+
"kind": "field",
|
|
2986
|
+
"name": "isInterpreting",
|
|
2987
|
+
"type": {
|
|
2988
|
+
"text": "boolean"
|
|
2989
|
+
},
|
|
2990
|
+
"default": "false"
|
|
2991
|
+
},
|
|
2992
|
+
{
|
|
2993
|
+
"kind": "field",
|
|
2994
|
+
"name": "lastValidCriteria",
|
|
2995
|
+
"type": {
|
|
2996
|
+
"text": "string | null"
|
|
2994
2997
|
},
|
|
2995
2998
|
"default": "null"
|
|
2996
2999
|
},
|
|
2997
3000
|
{
|
|
2998
3001
|
"kind": "field",
|
|
2999
|
-
"name": "
|
|
3002
|
+
"name": "activeGroups",
|
|
3003
|
+
"type": {
|
|
3004
|
+
"text": "CriteriaGroup[]"
|
|
3005
|
+
},
|
|
3006
|
+
"default": "[]"
|
|
3007
|
+
},
|
|
3008
|
+
{
|
|
3009
|
+
"kind": "field",
|
|
3010
|
+
"name": "showingChips",
|
|
3000
3011
|
"type": {
|
|
3001
3012
|
"text": "boolean"
|
|
3002
3013
|
},
|
|
@@ -3004,15 +3015,15 @@
|
|
|
3004
3015
|
},
|
|
3005
3016
|
{
|
|
3006
3017
|
"kind": "field",
|
|
3007
|
-
"name": "
|
|
3018
|
+
"name": "fieldMetadata",
|
|
3008
3019
|
"type": {
|
|
3009
|
-
"text": "
|
|
3020
|
+
"text": "MetadataDetail[] | string[]"
|
|
3010
3021
|
},
|
|
3011
|
-
"default": "
|
|
3022
|
+
"default": "[]"
|
|
3012
3023
|
},
|
|
3013
3024
|
{
|
|
3014
3025
|
"kind": "field",
|
|
3015
|
-
"name": "
|
|
3026
|
+
"name": "isRecording",
|
|
3016
3027
|
"type": {
|
|
3017
3028
|
"text": "boolean"
|
|
3018
3029
|
},
|
|
@@ -3020,29 +3031,33 @@
|
|
|
3020
3031
|
},
|
|
3021
3032
|
{
|
|
3022
3033
|
"kind": "field",
|
|
3023
|
-
"name": "
|
|
3034
|
+
"name": "textAreaRef",
|
|
3024
3035
|
"type": {
|
|
3025
|
-
"text": "
|
|
3036
|
+
"text": "HTMLTextAreaElement"
|
|
3026
3037
|
},
|
|
3027
|
-
"privacy": "
|
|
3028
|
-
"default": "null"
|
|
3038
|
+
"privacy": "public"
|
|
3029
3039
|
},
|
|
3030
3040
|
{
|
|
3031
3041
|
"kind": "field",
|
|
3032
|
-
"name": "
|
|
3033
|
-
"
|
|
3042
|
+
"name": "stopRecording",
|
|
3043
|
+
"type": {
|
|
3044
|
+
"text": "(() => void) | null"
|
|
3045
|
+
},
|
|
3046
|
+
"privacy": "private",
|
|
3047
|
+
"default": "null"
|
|
3034
3048
|
},
|
|
3035
3049
|
{
|
|
3036
3050
|
"kind": "field",
|
|
3037
|
-
"name": "
|
|
3051
|
+
"name": "speechApplyDebounceTimer",
|
|
3038
3052
|
"type": {
|
|
3039
|
-
"text": "
|
|
3053
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3040
3054
|
},
|
|
3041
|
-
"
|
|
3055
|
+
"privacy": "private",
|
|
3056
|
+
"default": "null"
|
|
3042
3057
|
},
|
|
3043
3058
|
{
|
|
3044
3059
|
"kind": "field",
|
|
3045
|
-
"name": "
|
|
3060
|
+
"name": "speechAvailable",
|
|
3046
3061
|
"type": {
|
|
3047
3062
|
"text": "boolean"
|
|
3048
3063
|
},
|
|
@@ -3050,69 +3065,65 @@
|
|
|
3050
3065
|
},
|
|
3051
3066
|
{
|
|
3052
3067
|
"kind": "field",
|
|
3053
|
-
"name": "
|
|
3068
|
+
"name": "criteriaChips",
|
|
3054
3069
|
"type": {
|
|
3055
|
-
"text": "
|
|
3070
|
+
"text": "CriteriaChip[]"
|
|
3056
3071
|
},
|
|
3057
3072
|
"readonly": true
|
|
3058
3073
|
},
|
|
3059
3074
|
{
|
|
3060
3075
|
"kind": "method",
|
|
3061
|
-
"name": "
|
|
3076
|
+
"name": "getFieldLabel",
|
|
3077
|
+
"privacy": "private",
|
|
3062
3078
|
"return": {
|
|
3063
3079
|
"type": {
|
|
3064
|
-
"text": "
|
|
3080
|
+
"text": "string"
|
|
3065
3081
|
}
|
|
3066
|
-
}
|
|
3067
|
-
},
|
|
3068
|
-
{
|
|
3069
|
-
"kind": "method",
|
|
3070
|
-
"name": "handleClickOutside",
|
|
3071
|
-
"privacy": "private",
|
|
3082
|
+
},
|
|
3072
3083
|
"parameters": [
|
|
3073
3084
|
{
|
|
3074
|
-
"name": "
|
|
3085
|
+
"name": "fieldName",
|
|
3075
3086
|
"type": {
|
|
3076
|
-
"text": "
|
|
3087
|
+
"text": "string"
|
|
3077
3088
|
}
|
|
3078
3089
|
}
|
|
3079
3090
|
]
|
|
3080
3091
|
},
|
|
3081
3092
|
{
|
|
3082
3093
|
"kind": "method",
|
|
3083
|
-
"name": "
|
|
3084
|
-
},
|
|
3085
|
-
{
|
|
3086
|
-
"kind": "method",
|
|
3087
|
-
"name": "refreshStatus",
|
|
3094
|
+
"name": "toggleCriteriaView",
|
|
3088
3095
|
"return": {
|
|
3089
3096
|
"type": {
|
|
3090
|
-
"text": "
|
|
3097
|
+
"text": "void"
|
|
3091
3098
|
}
|
|
3092
3099
|
}
|
|
3093
3100
|
},
|
|
3094
3101
|
{
|
|
3095
3102
|
"kind": "method",
|
|
3096
|
-
"name": "
|
|
3097
|
-
"privacy": "private",
|
|
3103
|
+
"name": "removeChip",
|
|
3098
3104
|
"return": {
|
|
3099
3105
|
"type": {
|
|
3100
|
-
"text": "
|
|
3106
|
+
"text": "void"
|
|
3101
3107
|
}
|
|
3102
3108
|
},
|
|
3103
3109
|
"parameters": [
|
|
3104
3110
|
{
|
|
3105
|
-
"name": "
|
|
3111
|
+
"name": "groupIndex",
|
|
3106
3112
|
"type": {
|
|
3107
|
-
"text": "
|
|
3113
|
+
"text": "number"
|
|
3114
|
+
}
|
|
3115
|
+
},
|
|
3116
|
+
{
|
|
3117
|
+
"name": "clauseIndex",
|
|
3118
|
+
"type": {
|
|
3119
|
+
"text": "number"
|
|
3108
3120
|
}
|
|
3109
3121
|
}
|
|
3110
3122
|
]
|
|
3111
3123
|
},
|
|
3112
3124
|
{
|
|
3113
3125
|
"kind": "method",
|
|
3114
|
-
"name": "
|
|
3115
|
-
"privacy": "private",
|
|
3126
|
+
"name": "clearChips",
|
|
3116
3127
|
"return": {
|
|
3117
3128
|
"type": {
|
|
3118
3129
|
"text": "void"
|
|
@@ -3121,32 +3132,24 @@
|
|
|
3121
3132
|
},
|
|
3122
3133
|
{
|
|
3123
3134
|
"kind": "method",
|
|
3124
|
-
"name": "
|
|
3125
|
-
"privacy": "private",
|
|
3126
|
-
"return": {
|
|
3127
|
-
"type": {
|
|
3128
|
-
"text": "void"
|
|
3129
|
-
}
|
|
3130
|
-
}
|
|
3135
|
+
"name": "handleSubmit"
|
|
3131
3136
|
},
|
|
3132
3137
|
{
|
|
3133
3138
|
"kind": "method",
|
|
3134
|
-
"name": "
|
|
3135
|
-
"privacy": "private",
|
|
3136
|
-
"return": {
|
|
3137
|
-
"type": {
|
|
3138
|
-
"text": "void"
|
|
3139
|
-
}
|
|
3140
|
-
}
|
|
3139
|
+
"name": "handleBlur"
|
|
3141
3140
|
},
|
|
3142
3141
|
{
|
|
3143
3142
|
"kind": "method",
|
|
3144
|
-
"name": "
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3143
|
+
"name": "clear"
|
|
3144
|
+
},
|
|
3145
|
+
{
|
|
3146
|
+
"kind": "method",
|
|
3147
|
+
"name": "toggleSpeechInput"
|
|
3148
|
+
},
|
|
3149
|
+
{
|
|
3150
|
+
"kind": "method",
|
|
3151
|
+
"name": "clearSpeechApplyDebounce",
|
|
3152
|
+
"privacy": "private"
|
|
3150
3153
|
},
|
|
3151
3154
|
{
|
|
3152
3155
|
"kind": "field",
|
|
@@ -3260,145 +3263,320 @@
|
|
|
3260
3263
|
}
|
|
3261
3264
|
}
|
|
3262
3265
|
],
|
|
3263
|
-
"
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
|
|
3266
|
+
"events": [
|
|
3267
|
+
{
|
|
3268
|
+
"description": "Fired when interpreted criteria is applied or cleared",
|
|
3269
|
+
"name": "criteria-changed"
|
|
3270
|
+
},
|
|
3271
|
+
{
|
|
3272
|
+
"description": "Fired when interpreted criteria contains invalid clauses",
|
|
3273
|
+
"name": "validation-errors"
|
|
3274
|
+
}
|
|
3275
|
+
],
|
|
3276
|
+
"attributes": [
|
|
3277
|
+
{
|
|
3278
|
+
"name": "placeholder",
|
|
3279
|
+
"type": {
|
|
3280
|
+
"text": "string"
|
|
3281
|
+
},
|
|
3282
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
3283
|
+
"fieldName": "placeholder"
|
|
3284
|
+
},
|
|
3285
|
+
{
|
|
3286
|
+
"type": {
|
|
3287
|
+
"text": "boolean"
|
|
3288
|
+
},
|
|
3289
|
+
"fieldName": "disabled"
|
|
3290
|
+
}
|
|
3291
|
+
],
|
|
3292
|
+
"superclass": {
|
|
3293
|
+
"name": "FoundationElement",
|
|
3294
|
+
"package": "@microsoft/fast-foundation"
|
|
3295
|
+
},
|
|
3296
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3297
|
+
"customElement": true
|
|
3298
|
+
},
|
|
3299
|
+
{
|
|
3300
|
+
"kind": "variable",
|
|
3301
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3302
|
+
"type": {
|
|
3303
|
+
"text": "ShadowRootInit"
|
|
3304
|
+
},
|
|
3305
|
+
"default": "undefined"
|
|
3306
|
+
},
|
|
3307
|
+
{
|
|
3308
|
+
"kind": "variable",
|
|
3309
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3310
|
+
"type": {
|
|
3311
|
+
"text": "object"
|
|
3312
|
+
},
|
|
3313
|
+
"default": "{}"
|
|
3314
|
+
},
|
|
3315
|
+
{
|
|
3316
|
+
"kind": "variable",
|
|
3317
|
+
"name": "foundationAiCriteriaSearch"
|
|
3318
|
+
}
|
|
3319
|
+
],
|
|
3320
|
+
"exports": [
|
|
3284
3321
|
{
|
|
3285
3322
|
"kind": "js",
|
|
3286
|
-
"name": "
|
|
3323
|
+
"name": "AiCriteriaSearch",
|
|
3287
3324
|
"declaration": {
|
|
3288
|
-
"name": "
|
|
3289
|
-
"module": "src/ai-
|
|
3325
|
+
"name": "AiCriteriaSearch",
|
|
3326
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3327
|
+
}
|
|
3328
|
+
},
|
|
3329
|
+
{
|
|
3330
|
+
"kind": "js",
|
|
3331
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3332
|
+
"declaration": {
|
|
3333
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3334
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3335
|
+
}
|
|
3336
|
+
},
|
|
3337
|
+
{
|
|
3338
|
+
"kind": "js",
|
|
3339
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3340
|
+
"declaration": {
|
|
3341
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3342
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3343
|
+
}
|
|
3344
|
+
},
|
|
3345
|
+
{
|
|
3346
|
+
"kind": "js",
|
|
3347
|
+
"name": "foundationAiCriteriaSearch",
|
|
3348
|
+
"declaration": {
|
|
3349
|
+
"name": "foundationAiCriteriaSearch",
|
|
3350
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3290
3351
|
}
|
|
3291
3352
|
}
|
|
3292
3353
|
]
|
|
3293
3354
|
},
|
|
3294
3355
|
{
|
|
3295
3356
|
"kind": "javascript-module",
|
|
3296
|
-
"path": "src/ai-
|
|
3357
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
3297
3358
|
"declarations": [],
|
|
3298
3359
|
"exports": [
|
|
3299
3360
|
{
|
|
3300
3361
|
"kind": "js",
|
|
3301
|
-
"name": "
|
|
3362
|
+
"name": "AiCriteriaSearch",
|
|
3302
3363
|
"declaration": {
|
|
3303
|
-
"name": "
|
|
3304
|
-
"module": "./ai-
|
|
3364
|
+
"name": "AiCriteriaSearch",
|
|
3365
|
+
"module": "./ai-criteria-search"
|
|
3305
3366
|
}
|
|
3306
3367
|
},
|
|
3307
3368
|
{
|
|
3308
3369
|
"kind": "js",
|
|
3309
|
-
"name": "
|
|
3370
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3310
3371
|
"declaration": {
|
|
3311
|
-
"name": "
|
|
3312
|
-
"module": "./ai-
|
|
3372
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3373
|
+
"module": "./ai-criteria-search"
|
|
3313
3374
|
}
|
|
3314
3375
|
},
|
|
3315
3376
|
{
|
|
3316
3377
|
"kind": "js",
|
|
3317
|
-
"name": "
|
|
3378
|
+
"name": "foundationAiCriteriaSearch",
|
|
3318
3379
|
"declaration": {
|
|
3319
|
-
"name": "
|
|
3320
|
-
"module": "./ai-
|
|
3380
|
+
"name": "foundationAiCriteriaSearch",
|
|
3381
|
+
"module": "./ai-criteria-search"
|
|
3321
3382
|
}
|
|
3322
3383
|
},
|
|
3323
3384
|
{
|
|
3324
3385
|
"kind": "js",
|
|
3325
|
-
"name": "
|
|
3386
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3326
3387
|
"declaration": {
|
|
3327
|
-
"name": "
|
|
3328
|
-
"module": "./ai-
|
|
3388
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3389
|
+
"module": "./ai-criteria-search"
|
|
3329
3390
|
}
|
|
3330
3391
|
},
|
|
3331
3392
|
{
|
|
3332
3393
|
"kind": "js",
|
|
3333
|
-
"name": "
|
|
3394
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3334
3395
|
"declaration": {
|
|
3335
|
-
"name": "
|
|
3336
|
-
"module": "./ai-
|
|
3396
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3397
|
+
"module": "./ai-criteria-search.styles"
|
|
3337
3398
|
}
|
|
3338
3399
|
},
|
|
3339
3400
|
{
|
|
3340
3401
|
"kind": "js",
|
|
3341
|
-
"name": "
|
|
3402
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3342
3403
|
"declaration": {
|
|
3343
|
-
"name": "
|
|
3344
|
-
"module": "./ai-
|
|
3404
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3405
|
+
"module": "./ai-criteria-search.template"
|
|
3406
|
+
}
|
|
3407
|
+
},
|
|
3408
|
+
{
|
|
3409
|
+
"kind": "js",
|
|
3410
|
+
"name": "*",
|
|
3411
|
+
"declaration": {
|
|
3412
|
+
"name": "*",
|
|
3413
|
+
"package": "./validation/criteria-ir"
|
|
3414
|
+
}
|
|
3415
|
+
},
|
|
3416
|
+
{
|
|
3417
|
+
"kind": "js",
|
|
3418
|
+
"name": "*",
|
|
3419
|
+
"declaration": {
|
|
3420
|
+
"name": "*",
|
|
3421
|
+
"package": "./validation/operator-map"
|
|
3422
|
+
}
|
|
3423
|
+
},
|
|
3424
|
+
{
|
|
3425
|
+
"kind": "js",
|
|
3426
|
+
"name": "*",
|
|
3427
|
+
"declaration": {
|
|
3428
|
+
"name": "*",
|
|
3429
|
+
"package": "./validation/schema-validator"
|
|
3345
3430
|
}
|
|
3346
3431
|
}
|
|
3347
3432
|
]
|
|
3348
3433
|
},
|
|
3349
3434
|
{
|
|
3350
3435
|
"kind": "javascript-module",
|
|
3351
|
-
"path": "src/ai-criteria-search/
|
|
3436
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3352
3437
|
"declarations": [
|
|
3353
3438
|
{
|
|
3354
|
-
"kind": "
|
|
3355
|
-
"name": "
|
|
3356
|
-
"
|
|
3439
|
+
"kind": "function",
|
|
3440
|
+
"name": "formatValidationErrors",
|
|
3441
|
+
"return": {
|
|
3442
|
+
"type": {
|
|
3443
|
+
"text": "string"
|
|
3444
|
+
}
|
|
3445
|
+
},
|
|
3446
|
+
"parameters": [
|
|
3447
|
+
{
|
|
3448
|
+
"name": "errors",
|
|
3449
|
+
"type": {
|
|
3450
|
+
"text": "ValidationError[]"
|
|
3451
|
+
}
|
|
3452
|
+
}
|
|
3453
|
+
],
|
|
3454
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
3455
|
+
},
|
|
3456
|
+
{
|
|
3457
|
+
"kind": "function",
|
|
3458
|
+
"name": "showCriteriaError",
|
|
3459
|
+
"return": {
|
|
3460
|
+
"type": {
|
|
3461
|
+
"text": "void"
|
|
3462
|
+
}
|
|
3463
|
+
},
|
|
3464
|
+
"parameters": [
|
|
3465
|
+
{
|
|
3466
|
+
"name": "title",
|
|
3467
|
+
"type": {
|
|
3468
|
+
"text": "string"
|
|
3469
|
+
},
|
|
3470
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3471
|
+
},
|
|
3472
|
+
{
|
|
3473
|
+
"name": "body",
|
|
3474
|
+
"type": {
|
|
3475
|
+
"text": "string"
|
|
3476
|
+
},
|
|
3477
|
+
"description": "Error message to display"
|
|
3478
|
+
},
|
|
3479
|
+
{
|
|
3480
|
+
"name": "tagName",
|
|
3481
|
+
"type": {
|
|
3482
|
+
"text": "string"
|
|
3483
|
+
},
|
|
3484
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3485
|
+
}
|
|
3486
|
+
],
|
|
3487
|
+
"description": "Shows a criteria error as a toast notification."
|
|
3357
3488
|
}
|
|
3358
3489
|
],
|
|
3359
3490
|
"exports": [
|
|
3360
3491
|
{
|
|
3361
3492
|
"kind": "js",
|
|
3362
|
-
"name": "
|
|
3493
|
+
"name": "formatValidationErrors",
|
|
3363
3494
|
"declaration": {
|
|
3364
|
-
"name": "
|
|
3365
|
-
"module": "src/ai-criteria-search/
|
|
3495
|
+
"name": "formatValidationErrors",
|
|
3496
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3497
|
+
}
|
|
3498
|
+
},
|
|
3499
|
+
{
|
|
3500
|
+
"kind": "js",
|
|
3501
|
+
"name": "showCriteriaError",
|
|
3502
|
+
"declaration": {
|
|
3503
|
+
"name": "showCriteriaError",
|
|
3504
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3366
3505
|
}
|
|
3367
3506
|
}
|
|
3368
3507
|
]
|
|
3369
3508
|
},
|
|
3370
3509
|
{
|
|
3371
3510
|
"kind": "javascript-module",
|
|
3372
|
-
"path": "src/ai-
|
|
3511
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
3512
|
+
"declarations": [
|
|
3513
|
+
{
|
|
3514
|
+
"kind": "function",
|
|
3515
|
+
"name": "foundationAiIndicatorStyles",
|
|
3516
|
+
"return": {
|
|
3517
|
+
"type": {
|
|
3518
|
+
"text": "ElementStyles"
|
|
3519
|
+
}
|
|
3520
|
+
},
|
|
3521
|
+
"parameters": [
|
|
3522
|
+
{
|
|
3523
|
+
"name": "context",
|
|
3524
|
+
"type": {
|
|
3525
|
+
"text": "ElementDefinitionContext"
|
|
3526
|
+
}
|
|
3527
|
+
},
|
|
3528
|
+
{
|
|
3529
|
+
"name": "definition",
|
|
3530
|
+
"type": {
|
|
3531
|
+
"text": "FoundationElementDefinition"
|
|
3532
|
+
}
|
|
3533
|
+
}
|
|
3534
|
+
]
|
|
3535
|
+
}
|
|
3536
|
+
],
|
|
3537
|
+
"exports": [
|
|
3538
|
+
{
|
|
3539
|
+
"kind": "js",
|
|
3540
|
+
"name": "foundationAiIndicatorStyles",
|
|
3541
|
+
"declaration": {
|
|
3542
|
+
"name": "foundationAiIndicatorStyles",
|
|
3543
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
3544
|
+
}
|
|
3545
|
+
}
|
|
3546
|
+
]
|
|
3547
|
+
},
|
|
3548
|
+
{
|
|
3549
|
+
"kind": "javascript-module",
|
|
3550
|
+
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
3373
3551
|
"declarations": [
|
|
3374
3552
|
{
|
|
3375
3553
|
"kind": "variable",
|
|
3376
|
-
"name": "
|
|
3554
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3377
3555
|
"type": {
|
|
3378
|
-
"text": "ViewTemplate<
|
|
3556
|
+
"text": "ViewTemplate<AiIndicator>"
|
|
3379
3557
|
},
|
|
3380
|
-
"default": "html`\n ${(x) =>
|
|
3558
|
+
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
3381
3559
|
}
|
|
3382
3560
|
],
|
|
3383
3561
|
"exports": [
|
|
3384
3562
|
{
|
|
3385
3563
|
"kind": "js",
|
|
3386
|
-
"name": "
|
|
3564
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3387
3565
|
"declaration": {
|
|
3388
|
-
"name": "
|
|
3389
|
-
"module": "src/ai-
|
|
3566
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3567
|
+
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
3390
3568
|
}
|
|
3391
3569
|
}
|
|
3392
3570
|
]
|
|
3393
3571
|
},
|
|
3394
3572
|
{
|
|
3395
3573
|
"kind": "javascript-module",
|
|
3396
|
-
"path": "src/ai-
|
|
3574
|
+
"path": "src/ai-indicator/ai-indicator.ts",
|
|
3397
3575
|
"declarations": [
|
|
3398
3576
|
{
|
|
3399
3577
|
"kind": "class",
|
|
3400
|
-
"description": "
|
|
3401
|
-
"name": "
|
|
3578
|
+
"description": "",
|
|
3579
|
+
"name": "AiIndicator",
|
|
3402
3580
|
"members": [
|
|
3403
3581
|
{
|
|
3404
3582
|
"kind": "field",
|
|
@@ -3409,54 +3587,25 @@
|
|
|
3409
3587
|
},
|
|
3410
3588
|
{
|
|
3411
3589
|
"kind": "field",
|
|
3412
|
-
"name": "
|
|
3413
|
-
"type": {
|
|
3414
|
-
"text": "string"
|
|
3415
|
-
},
|
|
3416
|
-
"default": "'Describe your search criteria in natural language...'"
|
|
3417
|
-
},
|
|
3418
|
-
{
|
|
3419
|
-
"kind": "field",
|
|
3420
|
-
"name": "disabled",
|
|
3421
|
-
"type": {
|
|
3422
|
-
"text": "boolean"
|
|
3423
|
-
}
|
|
3424
|
-
},
|
|
3425
|
-
{
|
|
3426
|
-
"kind": "field",
|
|
3427
|
-
"name": "inputValue",
|
|
3428
|
-
"type": {
|
|
3429
|
-
"text": "string"
|
|
3430
|
-
},
|
|
3431
|
-
"default": "''"
|
|
3432
|
-
},
|
|
3433
|
-
{
|
|
3434
|
-
"kind": "field",
|
|
3435
|
-
"name": "isInterpreting",
|
|
3590
|
+
"name": "aiProvider",
|
|
3436
3591
|
"type": {
|
|
3437
|
-
"text": "
|
|
3592
|
+
"text": "AIProvider | undefined"
|
|
3438
3593
|
},
|
|
3439
|
-
"
|
|
3594
|
+
"privacy": "private",
|
|
3595
|
+
"description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
|
|
3596
|
+
"readonly": true
|
|
3440
3597
|
},
|
|
3441
3598
|
{
|
|
3442
3599
|
"kind": "field",
|
|
3443
|
-
"name": "
|
|
3600
|
+
"name": "status",
|
|
3444
3601
|
"type": {
|
|
3445
|
-
"text": "
|
|
3602
|
+
"text": "AIStatus | null"
|
|
3446
3603
|
},
|
|
3447
3604
|
"default": "null"
|
|
3448
3605
|
},
|
|
3449
3606
|
{
|
|
3450
3607
|
"kind": "field",
|
|
3451
|
-
"name": "
|
|
3452
|
-
"type": {
|
|
3453
|
-
"text": "CriteriaGroup[]"
|
|
3454
|
-
},
|
|
3455
|
-
"default": "[]"
|
|
3456
|
-
},
|
|
3457
|
-
{
|
|
3458
|
-
"kind": "field",
|
|
3459
|
-
"name": "showingChips",
|
|
3608
|
+
"name": "open",
|
|
3460
3609
|
"type": {
|
|
3461
3610
|
"text": "boolean"
|
|
3462
3611
|
},
|
|
@@ -3464,15 +3613,15 @@
|
|
|
3464
3613
|
},
|
|
3465
3614
|
{
|
|
3466
3615
|
"kind": "field",
|
|
3467
|
-
"name": "
|
|
3616
|
+
"name": "state",
|
|
3468
3617
|
"type": {
|
|
3469
|
-
"text": "
|
|
3618
|
+
"text": "AIIndicatorState"
|
|
3470
3619
|
},
|
|
3471
|
-
"default": "
|
|
3620
|
+
"default": "'none'"
|
|
3472
3621
|
},
|
|
3473
3622
|
{
|
|
3474
3623
|
"kind": "field",
|
|
3475
|
-
"name": "
|
|
3624
|
+
"name": "isInstalling",
|
|
3476
3625
|
"type": {
|
|
3477
3626
|
"text": "boolean"
|
|
3478
3627
|
},
|
|
@@ -3480,33 +3629,29 @@
|
|
|
3480
3629
|
},
|
|
3481
3630
|
{
|
|
3482
3631
|
"kind": "field",
|
|
3483
|
-
"name": "
|
|
3632
|
+
"name": "pollTimer",
|
|
3484
3633
|
"type": {
|
|
3485
|
-
"text": "
|
|
3634
|
+
"text": "ReturnType<typeof setInterval> | null"
|
|
3486
3635
|
},
|
|
3487
|
-
"privacy": "
|
|
3636
|
+
"privacy": "private",
|
|
3637
|
+
"default": "null"
|
|
3488
3638
|
},
|
|
3489
3639
|
{
|
|
3490
3640
|
"kind": "field",
|
|
3491
|
-
"name": "
|
|
3492
|
-
"
|
|
3493
|
-
"text": "(() => void) | null"
|
|
3494
|
-
},
|
|
3495
|
-
"privacy": "private",
|
|
3496
|
-
"default": "null"
|
|
3641
|
+
"name": "clickOutside",
|
|
3642
|
+
"privacy": "private"
|
|
3497
3643
|
},
|
|
3498
3644
|
{
|
|
3499
3645
|
"kind": "field",
|
|
3500
|
-
"name": "
|
|
3646
|
+
"name": "chromeStatusLabel",
|
|
3501
3647
|
"type": {
|
|
3502
|
-
"text": "
|
|
3648
|
+
"text": "string | null"
|
|
3503
3649
|
},
|
|
3504
|
-
"
|
|
3505
|
-
"default": "null"
|
|
3650
|
+
"readonly": true
|
|
3506
3651
|
},
|
|
3507
3652
|
{
|
|
3508
3653
|
"kind": "field",
|
|
3509
|
-
"name": "
|
|
3654
|
+
"name": "canInstall",
|
|
3510
3655
|
"type": {
|
|
3511
3656
|
"text": "boolean"
|
|
3512
3657
|
},
|
|
@@ -3514,65 +3659,69 @@
|
|
|
3514
3659
|
},
|
|
3515
3660
|
{
|
|
3516
3661
|
"kind": "field",
|
|
3517
|
-
"name": "
|
|
3662
|
+
"name": "isDownloading",
|
|
3518
3663
|
"type": {
|
|
3519
|
-
"text": "
|
|
3664
|
+
"text": "boolean"
|
|
3520
3665
|
},
|
|
3521
3666
|
"readonly": true
|
|
3522
3667
|
},
|
|
3523
3668
|
{
|
|
3524
3669
|
"kind": "method",
|
|
3525
|
-
"name": "
|
|
3526
|
-
"privacy": "private",
|
|
3670
|
+
"name": "openChanged",
|
|
3527
3671
|
"return": {
|
|
3528
3672
|
"type": {
|
|
3529
|
-
"text": "
|
|
3673
|
+
"text": "void"
|
|
3530
3674
|
}
|
|
3531
|
-
}
|
|
3675
|
+
}
|
|
3676
|
+
},
|
|
3677
|
+
{
|
|
3678
|
+
"kind": "method",
|
|
3679
|
+
"name": "handleClickOutside",
|
|
3680
|
+
"privacy": "private",
|
|
3532
3681
|
"parameters": [
|
|
3533
3682
|
{
|
|
3534
|
-
"name": "
|
|
3683
|
+
"name": "event",
|
|
3535
3684
|
"type": {
|
|
3536
|
-
"text": "
|
|
3685
|
+
"text": "MouseEvent"
|
|
3537
3686
|
}
|
|
3538
3687
|
}
|
|
3539
3688
|
]
|
|
3540
3689
|
},
|
|
3541
3690
|
{
|
|
3542
3691
|
"kind": "method",
|
|
3543
|
-
"name": "
|
|
3692
|
+
"name": "toggleDropdown"
|
|
3693
|
+
},
|
|
3694
|
+
{
|
|
3695
|
+
"kind": "method",
|
|
3696
|
+
"name": "refreshStatus",
|
|
3544
3697
|
"return": {
|
|
3545
3698
|
"type": {
|
|
3546
|
-
"text": "void"
|
|
3699
|
+
"text": "Promise<void>"
|
|
3547
3700
|
}
|
|
3548
3701
|
}
|
|
3549
3702
|
},
|
|
3550
3703
|
{
|
|
3551
3704
|
"kind": "method",
|
|
3552
|
-
"name": "
|
|
3705
|
+
"name": "deriveState",
|
|
3706
|
+
"privacy": "private",
|
|
3553
3707
|
"return": {
|
|
3554
3708
|
"type": {
|
|
3555
|
-
"text": "
|
|
3709
|
+
"text": "AIIndicatorState"
|
|
3556
3710
|
}
|
|
3557
3711
|
},
|
|
3558
3712
|
"parameters": [
|
|
3559
3713
|
{
|
|
3560
|
-
"name": "
|
|
3561
|
-
"type": {
|
|
3562
|
-
"text": "number"
|
|
3563
|
-
}
|
|
3564
|
-
},
|
|
3565
|
-
{
|
|
3566
|
-
"name": "clauseIndex",
|
|
3714
|
+
"name": "s",
|
|
3567
3715
|
"type": {
|
|
3568
|
-
"text": "
|
|
3716
|
+
"text": "AIStatus | null"
|
|
3569
3717
|
}
|
|
3570
3718
|
}
|
|
3571
3719
|
]
|
|
3572
3720
|
},
|
|
3573
3721
|
{
|
|
3574
3722
|
"kind": "method",
|
|
3575
|
-
"name": "
|
|
3723
|
+
"name": "maybeStartPolling",
|
|
3724
|
+
"privacy": "private",
|
|
3576
3725
|
"return": {
|
|
3577
3726
|
"type": {
|
|
3578
3727
|
"text": "void"
|
|
@@ -3581,24 +3730,32 @@
|
|
|
3581
3730
|
},
|
|
3582
3731
|
{
|
|
3583
3732
|
"kind": "method",
|
|
3584
|
-
"name": "
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
"kind": "method",
|
|
3592
|
-
"name": "clear"
|
|
3733
|
+
"name": "startPolling",
|
|
3734
|
+
"privacy": "private",
|
|
3735
|
+
"return": {
|
|
3736
|
+
"type": {
|
|
3737
|
+
"text": "void"
|
|
3738
|
+
}
|
|
3739
|
+
}
|
|
3593
3740
|
},
|
|
3594
3741
|
{
|
|
3595
3742
|
"kind": "method",
|
|
3596
|
-
"name": "
|
|
3743
|
+
"name": "stopPolling",
|
|
3744
|
+
"privacy": "private",
|
|
3745
|
+
"return": {
|
|
3746
|
+
"type": {
|
|
3747
|
+
"text": "void"
|
|
3748
|
+
}
|
|
3749
|
+
}
|
|
3597
3750
|
},
|
|
3598
3751
|
{
|
|
3599
3752
|
"kind": "method",
|
|
3600
|
-
"name": "
|
|
3601
|
-
"
|
|
3753
|
+
"name": "onInstall",
|
|
3754
|
+
"return": {
|
|
3755
|
+
"type": {
|
|
3756
|
+
"text": "Promise<void>"
|
|
3757
|
+
}
|
|
3758
|
+
}
|
|
3602
3759
|
},
|
|
3603
3760
|
{
|
|
3604
3761
|
"kind": "field",
|
|
@@ -3712,245 +3869,88 @@
|
|
|
3712
3869
|
}
|
|
3713
3870
|
}
|
|
3714
3871
|
],
|
|
3715
|
-
"events": [
|
|
3716
|
-
{
|
|
3717
|
-
"description": "Fired when interpreted criteria is applied or cleared",
|
|
3718
|
-
"name": "criteria-changed"
|
|
3719
|
-
},
|
|
3720
|
-
{
|
|
3721
|
-
"description": "Fired when interpreted criteria contains invalid clauses",
|
|
3722
|
-
"name": "validation-errors"
|
|
3723
|
-
}
|
|
3724
|
-
],
|
|
3725
|
-
"attributes": [
|
|
3726
|
-
{
|
|
3727
|
-
"name": "placeholder",
|
|
3728
|
-
"type": {
|
|
3729
|
-
"text": "string"
|
|
3730
|
-
},
|
|
3731
|
-
"default": "'Describe your search criteria in natural language...'",
|
|
3732
|
-
"fieldName": "placeholder"
|
|
3733
|
-
},
|
|
3734
|
-
{
|
|
3735
|
-
"type": {
|
|
3736
|
-
"text": "boolean"
|
|
3737
|
-
},
|
|
3738
|
-
"fieldName": "disabled"
|
|
3739
|
-
}
|
|
3740
|
-
],
|
|
3741
3872
|
"superclass": {
|
|
3742
3873
|
"name": "FoundationElement",
|
|
3743
3874
|
"package": "@microsoft/fast-foundation"
|
|
3744
3875
|
},
|
|
3745
|
-
"tagName": "%%prefix%%-ai-
|
|
3876
|
+
"tagName": "%%prefix%%-ai-indicator",
|
|
3746
3877
|
"customElement": true
|
|
3747
3878
|
},
|
|
3748
3879
|
{
|
|
3749
3880
|
"kind": "variable",
|
|
3750
|
-
"name": "
|
|
3751
|
-
"type": {
|
|
3752
|
-
"text": "ShadowRootInit"
|
|
3753
|
-
},
|
|
3754
|
-
"default": "undefined"
|
|
3755
|
-
},
|
|
3756
|
-
{
|
|
3757
|
-
"kind": "variable",
|
|
3758
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3759
|
-
"type": {
|
|
3760
|
-
"text": "object"
|
|
3761
|
-
},
|
|
3762
|
-
"default": "{}"
|
|
3763
|
-
},
|
|
3764
|
-
{
|
|
3765
|
-
"kind": "variable",
|
|
3766
|
-
"name": "foundationAiCriteriaSearch"
|
|
3881
|
+
"name": "foundationAiIndicator"
|
|
3767
3882
|
}
|
|
3768
3883
|
],
|
|
3769
3884
|
"exports": [
|
|
3770
3885
|
{
|
|
3771
3886
|
"kind": "js",
|
|
3772
|
-
"name": "
|
|
3773
|
-
"declaration": {
|
|
3774
|
-
"name": "AiCriteriaSearch",
|
|
3775
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3776
|
-
}
|
|
3777
|
-
},
|
|
3778
|
-
{
|
|
3779
|
-
"kind": "js",
|
|
3780
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3781
|
-
"declaration": {
|
|
3782
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3783
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3784
|
-
}
|
|
3785
|
-
},
|
|
3786
|
-
{
|
|
3787
|
-
"kind": "js",
|
|
3788
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3887
|
+
"name": "AiIndicator",
|
|
3789
3888
|
"declaration": {
|
|
3790
|
-
"name": "
|
|
3791
|
-
"module": "src/ai-
|
|
3889
|
+
"name": "AiIndicator",
|
|
3890
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3792
3891
|
}
|
|
3793
3892
|
},
|
|
3794
3893
|
{
|
|
3795
3894
|
"kind": "js",
|
|
3796
|
-
"name": "
|
|
3895
|
+
"name": "foundationAiIndicator",
|
|
3797
3896
|
"declaration": {
|
|
3798
|
-
"name": "
|
|
3799
|
-
"module": "src/ai-
|
|
3897
|
+
"name": "foundationAiIndicator",
|
|
3898
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3800
3899
|
}
|
|
3801
3900
|
}
|
|
3802
3901
|
]
|
|
3803
3902
|
},
|
|
3804
3903
|
{
|
|
3805
3904
|
"kind": "javascript-module",
|
|
3806
|
-
"path": "src/ai-
|
|
3905
|
+
"path": "src/ai-indicator/index.ts",
|
|
3807
3906
|
"declarations": [],
|
|
3808
3907
|
"exports": [
|
|
3809
3908
|
{
|
|
3810
3909
|
"kind": "js",
|
|
3811
|
-
"name": "
|
|
3812
|
-
"declaration": {
|
|
3813
|
-
"name": "AiCriteriaSearch",
|
|
3814
|
-
"module": "./ai-criteria-search"
|
|
3815
|
-
}
|
|
3816
|
-
},
|
|
3817
|
-
{
|
|
3818
|
-
"kind": "js",
|
|
3819
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3820
|
-
"declaration": {
|
|
3821
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3822
|
-
"module": "./ai-criteria-search"
|
|
3823
|
-
}
|
|
3824
|
-
},
|
|
3825
|
-
{
|
|
3826
|
-
"kind": "js",
|
|
3827
|
-
"name": "foundationAiCriteriaSearch",
|
|
3828
|
-
"declaration": {
|
|
3829
|
-
"name": "foundationAiCriteriaSearch",
|
|
3830
|
-
"module": "./ai-criteria-search"
|
|
3831
|
-
}
|
|
3832
|
-
},
|
|
3833
|
-
{
|
|
3834
|
-
"kind": "js",
|
|
3835
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3836
|
-
"declaration": {
|
|
3837
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3838
|
-
"module": "./ai-criteria-search"
|
|
3839
|
-
}
|
|
3840
|
-
},
|
|
3841
|
-
{
|
|
3842
|
-
"kind": "js",
|
|
3843
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3844
|
-
"declaration": {
|
|
3845
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3846
|
-
"module": "./ai-criteria-search.styles"
|
|
3847
|
-
}
|
|
3848
|
-
},
|
|
3849
|
-
{
|
|
3850
|
-
"kind": "js",
|
|
3851
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
3910
|
+
"name": "AiIndicator",
|
|
3852
3911
|
"declaration": {
|
|
3853
|
-
"name": "
|
|
3854
|
-
"module": "./ai-
|
|
3912
|
+
"name": "AiIndicator",
|
|
3913
|
+
"module": "./ai-indicator"
|
|
3855
3914
|
}
|
|
3856
3915
|
},
|
|
3857
3916
|
{
|
|
3858
3917
|
"kind": "js",
|
|
3859
|
-
"name": "
|
|
3918
|
+
"name": "foundationAiIndicator",
|
|
3860
3919
|
"declaration": {
|
|
3861
|
-
"name": "
|
|
3862
|
-
"
|
|
3920
|
+
"name": "foundationAiIndicator",
|
|
3921
|
+
"module": "./ai-indicator"
|
|
3863
3922
|
}
|
|
3864
3923
|
},
|
|
3865
3924
|
{
|
|
3866
3925
|
"kind": "js",
|
|
3867
|
-
"name": "
|
|
3926
|
+
"name": "type",
|
|
3868
3927
|
"declaration": {
|
|
3869
|
-
"name": "
|
|
3870
|
-
"
|
|
3928
|
+
"name": "type",
|
|
3929
|
+
"module": "./ai-indicator"
|
|
3871
3930
|
}
|
|
3872
3931
|
},
|
|
3873
3932
|
{
|
|
3874
3933
|
"kind": "js",
|
|
3875
|
-
"name": "
|
|
3934
|
+
"name": "AIIndicatorState",
|
|
3876
3935
|
"declaration": {
|
|
3877
|
-
"name": "
|
|
3878
|
-
"
|
|
3936
|
+
"name": "AIIndicatorState",
|
|
3937
|
+
"module": "./ai-indicator"
|
|
3879
3938
|
}
|
|
3880
|
-
}
|
|
3881
|
-
]
|
|
3882
|
-
},
|
|
3883
|
-
{
|
|
3884
|
-
"kind": "javascript-module",
|
|
3885
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3886
|
-
"declarations": [
|
|
3887
|
-
{
|
|
3888
|
-
"kind": "function",
|
|
3889
|
-
"name": "formatValidationErrors",
|
|
3890
|
-
"return": {
|
|
3891
|
-
"type": {
|
|
3892
|
-
"text": "string"
|
|
3893
|
-
}
|
|
3894
|
-
},
|
|
3895
|
-
"parameters": [
|
|
3896
|
-
{
|
|
3897
|
-
"name": "errors",
|
|
3898
|
-
"type": {
|
|
3899
|
-
"text": "ValidationError[]"
|
|
3900
|
-
}
|
|
3901
|
-
}
|
|
3902
|
-
],
|
|
3903
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
3904
3939
|
},
|
|
3905
|
-
{
|
|
3906
|
-
"kind": "function",
|
|
3907
|
-
"name": "showCriteriaError",
|
|
3908
|
-
"return": {
|
|
3909
|
-
"type": {
|
|
3910
|
-
"text": "void"
|
|
3911
|
-
}
|
|
3912
|
-
},
|
|
3913
|
-
"parameters": [
|
|
3914
|
-
{
|
|
3915
|
-
"name": "title",
|
|
3916
|
-
"type": {
|
|
3917
|
-
"text": "string"
|
|
3918
|
-
},
|
|
3919
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3920
|
-
},
|
|
3921
|
-
{
|
|
3922
|
-
"name": "body",
|
|
3923
|
-
"type": {
|
|
3924
|
-
"text": "string"
|
|
3925
|
-
},
|
|
3926
|
-
"description": "Error message to display"
|
|
3927
|
-
},
|
|
3928
|
-
{
|
|
3929
|
-
"name": "tagName",
|
|
3930
|
-
"type": {
|
|
3931
|
-
"text": "string"
|
|
3932
|
-
},
|
|
3933
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3934
|
-
}
|
|
3935
|
-
],
|
|
3936
|
-
"description": "Shows a criteria error as a toast notification."
|
|
3937
|
-
}
|
|
3938
|
-
],
|
|
3939
|
-
"exports": [
|
|
3940
3940
|
{
|
|
3941
3941
|
"kind": "js",
|
|
3942
|
-
"name": "
|
|
3942
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3943
3943
|
"declaration": {
|
|
3944
|
-
"name": "
|
|
3945
|
-
"module": "
|
|
3944
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3945
|
+
"module": "./ai-indicator.template"
|
|
3946
3946
|
}
|
|
3947
3947
|
},
|
|
3948
3948
|
{
|
|
3949
3949
|
"kind": "js",
|
|
3950
|
-
"name": "
|
|
3950
|
+
"name": "foundationAiIndicatorStyles",
|
|
3951
3951
|
"declaration": {
|
|
3952
|
-
"name": "
|
|
3953
|
-
"module": "
|
|
3952
|
+
"name": "foundationAiIndicatorStyles",
|
|
3953
|
+
"module": "./ai-indicator.styles"
|
|
3954
3954
|
}
|
|
3955
3955
|
}
|
|
3956
3956
|
]
|