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