@genesislcap/foundation-ui 14.444.1 → 14.445.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 +340 -330
- package/dist/dts/ai-criteria-search/ai-criteria-search.d.ts +2 -2
- package/dist/dts/ai-criteria-search/ai-criteria-search.d.ts.map +1 -1
- package/dist/dts/ai-indicator/ai-indicator.d.ts +8 -2
- package/dist/dts/ai-indicator/ai-indicator.d.ts.map +1 -1
- package/dist/dts/react.d.ts +8 -8
- package/dist/esm/ai-criteria-search/ai-criteria-search.js +6 -5
- package/dist/esm/ai-indicator/ai-indicator.js +12 -3
- package/dist/react.cjs +5 -5
- package/dist/react.mjs +4 -4
- 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,237 +1499,116 @@
|
|
|
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": "
|
|
1496
|
-
"type": {
|
|
1497
|
-
"text": "AccordionExpandMode"
|
|
1498
|
-
},
|
|
1499
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1500
|
-
"fieldName": "expandmode",
|
|
1501
|
-
"inheritedFrom": {
|
|
1502
|
-
"name": "Accordion",
|
|
1503
|
-
"module": "src/accordion/accordion.ts"
|
|
1504
|
-
}
|
|
1505
|
-
}
|
|
1506
|
-
],
|
|
1507
|
-
"members": [
|
|
1508
|
-
{
|
|
1509
|
-
"kind": "field",
|
|
1510
|
-
"name": "expandmode",
|
|
1526
|
+
"name": "heading-level",
|
|
1511
1527
|
"type": {
|
|
1512
|
-
"text": "
|
|
1528
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1513
1529
|
},
|
|
1514
|
-
"
|
|
1515
|
-
"description": "
|
|
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",
|
|
1516
1533
|
"inheritedFrom": {
|
|
1517
|
-
"name": "
|
|
1518
|
-
"module": "src/accordion/accordion.ts"
|
|
1534
|
+
"name": "AccordionItem",
|
|
1535
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1519
1536
|
}
|
|
1520
1537
|
},
|
|
1521
1538
|
{
|
|
1522
|
-
"kind": "field",
|
|
1523
|
-
"name": "activeid",
|
|
1524
1539
|
"type": {
|
|
1525
|
-
"text": "
|
|
1540
|
+
"text": "boolean"
|
|
1526
1541
|
},
|
|
1527
|
-
"
|
|
1542
|
+
"default": "false",
|
|
1543
|
+
"description": "Expands or collapses the item.",
|
|
1544
|
+
"fieldName": "expanded",
|
|
1528
1545
|
"inheritedFrom": {
|
|
1529
|
-
"name": "
|
|
1530
|
-
"module": "src/accordion/accordion.ts"
|
|
1546
|
+
"name": "AccordionItem",
|
|
1547
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1531
1548
|
}
|
|
1532
1549
|
},
|
|
1533
1550
|
{
|
|
1534
|
-
"
|
|
1535
|
-
"name": "activeItemIndex",
|
|
1551
|
+
"name": "id",
|
|
1536
1552
|
"type": {
|
|
1537
|
-
"text": "
|
|
1553
|
+
"text": "string"
|
|
1538
1554
|
},
|
|
1539
|
-
"
|
|
1540
|
-
"
|
|
1555
|
+
"description": "The item ID",
|
|
1556
|
+
"fieldName": "id",
|
|
1541
1557
|
"inheritedFrom": {
|
|
1542
|
-
"name": "
|
|
1543
|
-
"module": "src/accordion/accordion.ts"
|
|
1558
|
+
"name": "AccordionItem",
|
|
1559
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1544
1560
|
}
|
|
1545
|
-
}
|
|
1561
|
+
}
|
|
1562
|
+
],
|
|
1563
|
+
"members": [
|
|
1546
1564
|
{
|
|
1547
1565
|
"kind": "field",
|
|
1548
|
-
"name": "
|
|
1566
|
+
"name": "headinglevel",
|
|
1549
1567
|
"type": {
|
|
1550
|
-
"text": "
|
|
1551
|
-
},
|
|
1552
|
-
"privacy": "private",
|
|
1553
|
-
"inheritedFrom": {
|
|
1554
|
-
"name": "Accordion",
|
|
1555
|
-
"module": "src/accordion/accordion.ts"
|
|
1556
|
-
}
|
|
1557
|
-
},
|
|
1558
|
-
{
|
|
1559
|
-
"kind": "field",
|
|
1560
|
-
"name": "change",
|
|
1561
|
-
"privacy": "private",
|
|
1562
|
-
"inheritedFrom": {
|
|
1563
|
-
"name": "Accordion",
|
|
1564
|
-
"module": "src/accordion/accordion.ts"
|
|
1565
|
-
}
|
|
1566
|
-
},
|
|
1567
|
-
{
|
|
1568
|
-
"kind": "method",
|
|
1569
|
-
"name": "findExpandedItem",
|
|
1570
|
-
"privacy": "private",
|
|
1571
|
-
"return": {
|
|
1572
|
-
"type": {
|
|
1573
|
-
"text": "AccordionItem | null"
|
|
1574
|
-
}
|
|
1568
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1575
1569
|
},
|
|
1570
|
+
"privacy": "public",
|
|
1571
|
+
"default": "2",
|
|
1572
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1576
1573
|
"inheritedFrom": {
|
|
1577
|
-
"name": "
|
|
1578
|
-
"module": "src/accordion/accordion.ts"
|
|
1574
|
+
"name": "AccordionItem",
|
|
1575
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1579
1576
|
}
|
|
1580
1577
|
},
|
|
1581
1578
|
{
|
|
1582
1579
|
"kind": "field",
|
|
1583
|
-
"name": "
|
|
1584
|
-
"
|
|
1585
|
-
|
|
1586
|
-
"name": "Accordion",
|
|
1587
|
-
"module": "src/accordion/accordion.ts"
|
|
1588
|
-
}
|
|
1589
|
-
},
|
|
1590
|
-
{
|
|
1591
|
-
"kind": "method",
|
|
1592
|
-
"name": "resetItems",
|
|
1593
|
-
"privacy": "private",
|
|
1594
|
-
"return": {
|
|
1595
|
-
"type": {
|
|
1596
|
-
"text": "void"
|
|
1597
|
-
}
|
|
1580
|
+
"name": "expanded",
|
|
1581
|
+
"type": {
|
|
1582
|
+
"text": "boolean"
|
|
1598
1583
|
},
|
|
1584
|
+
"privacy": "public",
|
|
1585
|
+
"default": "false",
|
|
1586
|
+
"description": "Expands or collapses the item.",
|
|
1599
1587
|
"inheritedFrom": {
|
|
1600
|
-
"name": "
|
|
1601
|
-
"module": "src/accordion/accordion.ts"
|
|
1602
|
-
}
|
|
1603
|
-
},
|
|
1604
|
-
{
|
|
1605
|
-
"kind": "field",
|
|
1606
|
-
"name": "removeItemListeners",
|
|
1607
|
-
"privacy": "private",
|
|
1608
|
-
"inheritedFrom": {
|
|
1609
|
-
"name": "Accordion",
|
|
1610
|
-
"module": "src/accordion/accordion.ts"
|
|
1588
|
+
"name": "AccordionItem",
|
|
1589
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1611
1590
|
}
|
|
1612
1591
|
},
|
|
1613
1592
|
{
|
|
1614
1593
|
"kind": "field",
|
|
1615
|
-
"name": "
|
|
1616
|
-
"
|
|
1617
|
-
|
|
1618
|
-
"name": "Accordion",
|
|
1619
|
-
"module": "src/accordion/accordion.ts"
|
|
1620
|
-
}
|
|
1621
|
-
},
|
|
1622
|
-
{
|
|
1623
|
-
"kind": "method",
|
|
1624
|
-
"name": "getItemIds",
|
|
1625
|
-
"privacy": "private",
|
|
1626
|
-
"return": {
|
|
1627
|
-
"type": {
|
|
1628
|
-
"text": "Array<string | null>"
|
|
1629
|
-
}
|
|
1630
|
-
},
|
|
1631
|
-
"inheritedFrom": {
|
|
1632
|
-
"name": "Accordion",
|
|
1633
|
-
"module": "src/accordion/accordion.ts"
|
|
1634
|
-
}
|
|
1635
|
-
},
|
|
1636
|
-
{
|
|
1637
|
-
"kind": "method",
|
|
1638
|
-
"name": "isSingleExpandMode",
|
|
1639
|
-
"privacy": "private",
|
|
1640
|
-
"return": {
|
|
1641
|
-
"type": {
|
|
1642
|
-
"text": "boolean"
|
|
1643
|
-
}
|
|
1594
|
+
"name": "id",
|
|
1595
|
+
"type": {
|
|
1596
|
+
"text": "string"
|
|
1644
1597
|
},
|
|
1598
|
+
"privacy": "public",
|
|
1599
|
+
"description": "The item ID",
|
|
1645
1600
|
"inheritedFrom": {
|
|
1646
|
-
"name": "
|
|
1647
|
-
"module": "src/accordion/accordion.ts"
|
|
1648
|
-
}
|
|
1649
|
-
},
|
|
1650
|
-
{
|
|
1651
|
-
"kind": "field",
|
|
1652
|
-
"name": "handleItemKeyDown",
|
|
1653
|
-
"privacy": "private",
|
|
1654
|
-
"inheritedFrom": {
|
|
1655
|
-
"name": "Accordion",
|
|
1656
|
-
"module": "src/accordion/accordion.ts"
|
|
1601
|
+
"name": "AccordionItem",
|
|
1602
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1657
1603
|
}
|
|
1658
1604
|
},
|
|
1659
1605
|
{
|
|
1660
1606
|
"kind": "field",
|
|
1661
|
-
"name": "
|
|
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",
|
|
1607
|
+
"name": "change",
|
|
1693
1608
|
"privacy": "private",
|
|
1694
|
-
"return": {
|
|
1695
|
-
"type": {
|
|
1696
|
-
"text": "void"
|
|
1697
|
-
}
|
|
1698
|
-
},
|
|
1699
1609
|
"inheritedFrom": {
|
|
1700
|
-
"name": "
|
|
1701
|
-
"module": "src/accordion/accordion.ts"
|
|
1610
|
+
"name": "AccordionItem",
|
|
1611
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1702
1612
|
}
|
|
1703
1613
|
},
|
|
1704
1614
|
{
|
|
@@ -1815,18 +1725,18 @@
|
|
|
1815
1725
|
],
|
|
1816
1726
|
"events": [
|
|
1817
1727
|
{
|
|
1818
|
-
"description": "Fires a custom 'change' event when the
|
|
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,88 +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": "
|
|
1854
|
-
"declaration": {
|
|
1855
|
-
"name": "Accordion",
|
|
1856
|
-
"module": "src/accordion/accordion.ts"
|
|
1857
|
-
}
|
|
1858
|
-
},
|
|
1859
|
-
{
|
|
1860
|
-
"kind": "js",
|
|
1861
|
-
"name": "foundationAccordionShadowOptions",
|
|
1862
|
-
"declaration": {
|
|
1863
|
-
"name": "foundationAccordionShadowOptions",
|
|
1864
|
-
"module": "src/accordion/accordion.ts"
|
|
1865
|
-
}
|
|
1866
|
-
},
|
|
1867
|
-
{
|
|
1868
|
-
"kind": "js",
|
|
1869
|
-
"name": "defaultAccordionConfig",
|
|
1763
|
+
"name": "AccordionItem",
|
|
1870
1764
|
"declaration": {
|
|
1871
|
-
"name": "
|
|
1872
|
-
"module": "src/accordion/accordion.ts"
|
|
1765
|
+
"name": "AccordionItem",
|
|
1766
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1873
1767
|
}
|
|
1874
1768
|
},
|
|
1875
1769
|
{
|
|
1876
1770
|
"kind": "js",
|
|
1877
|
-
"name": "
|
|
1878
|
-
"declaration": {
|
|
1879
|
-
"name": "foundationAccordion",
|
|
1880
|
-
"module": "src/accordion/accordion.ts"
|
|
1881
|
-
}
|
|
1882
|
-
}
|
|
1883
|
-
]
|
|
1884
|
-
},
|
|
1885
|
-
{
|
|
1886
|
-
"kind": "javascript-module",
|
|
1887
|
-
"path": "src/accordion/index.ts",
|
|
1888
|
-
"declarations": [],
|
|
1889
|
-
"exports": [
|
|
1890
|
-
{
|
|
1891
|
-
"kind": "js",
|
|
1892
|
-
"name": "*",
|
|
1771
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1893
1772
|
"declaration": {
|
|
1894
|
-
"name": "
|
|
1895
|
-
"
|
|
1773
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1774
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1896
1775
|
}
|
|
1897
1776
|
},
|
|
1898
1777
|
{
|
|
1899
1778
|
"kind": "js",
|
|
1900
|
-
"name": "
|
|
1779
|
+
"name": "defaultAccordionItemConfig",
|
|
1901
1780
|
"declaration": {
|
|
1902
|
-
"name": "
|
|
1903
|
-
"
|
|
1781
|
+
"name": "defaultAccordionItemConfig",
|
|
1782
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1904
1783
|
}
|
|
1905
1784
|
},
|
|
1906
1785
|
{
|
|
1907
1786
|
"kind": "js",
|
|
1908
|
-
"name": "
|
|
1787
|
+
"name": "foundationAccordionItem",
|
|
1909
1788
|
"declaration": {
|
|
1910
|
-
"name": "
|
|
1911
|
-
"
|
|
1789
|
+
"name": "foundationAccordionItem",
|
|
1790
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1912
1791
|
}
|
|
1913
1792
|
}
|
|
1914
1793
|
]
|
|
1915
1794
|
},
|
|
1916
1795
|
{
|
|
1917
1796
|
"kind": "javascript-module",
|
|
1918
|
-
"path": "src/
|
|
1797
|
+
"path": "src/accordion-item/index.ts",
|
|
1919
1798
|
"declarations": [],
|
|
1920
1799
|
"exports": [
|
|
1921
1800
|
{
|
|
@@ -1923,7 +1802,7 @@
|
|
|
1923
1802
|
"name": "*",
|
|
1924
1803
|
"declaration": {
|
|
1925
1804
|
"name": "*",
|
|
1926
|
-
"package": "./
|
|
1805
|
+
"package": "./accordion-item.template"
|
|
1927
1806
|
}
|
|
1928
1807
|
},
|
|
1929
1808
|
{
|
|
@@ -1931,7 +1810,7 @@
|
|
|
1931
1810
|
"name": "*",
|
|
1932
1811
|
"declaration": {
|
|
1933
1812
|
"name": "*",
|
|
1934
|
-
"package": "./
|
|
1813
|
+
"package": "./accordion-item.styles"
|
|
1935
1814
|
}
|
|
1936
1815
|
},
|
|
1937
1816
|
{
|
|
@@ -1939,18 +1818,18 @@
|
|
|
1939
1818
|
"name": "*",
|
|
1940
1819
|
"declaration": {
|
|
1941
1820
|
"name": "*",
|
|
1942
|
-
"package": "./
|
|
1821
|
+
"package": "./accordion-item"
|
|
1943
1822
|
}
|
|
1944
1823
|
}
|
|
1945
1824
|
]
|
|
1946
1825
|
},
|
|
1947
1826
|
{
|
|
1948
1827
|
"kind": "javascript-module",
|
|
1949
|
-
"path": "src/accordion
|
|
1828
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
1950
1829
|
"declarations": [
|
|
1951
1830
|
{
|
|
1952
1831
|
"kind": "function",
|
|
1953
|
-
"name": "
|
|
1832
|
+
"name": "foundationAccordionStyles",
|
|
1954
1833
|
"return": {
|
|
1955
1834
|
"type": {
|
|
1956
1835
|
"text": "ElementStyles"
|
|
@@ -1975,24 +1854,24 @@
|
|
|
1975
1854
|
"exports": [
|
|
1976
1855
|
{
|
|
1977
1856
|
"kind": "js",
|
|
1978
|
-
"name": "
|
|
1857
|
+
"name": "foundationAccordionStyles",
|
|
1979
1858
|
"declaration": {
|
|
1980
|
-
"name": "
|
|
1981
|
-
"module": "src/accordion
|
|
1859
|
+
"name": "foundationAccordionStyles",
|
|
1860
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
1982
1861
|
}
|
|
1983
1862
|
}
|
|
1984
1863
|
]
|
|
1985
1864
|
},
|
|
1986
1865
|
{
|
|
1987
1866
|
"kind": "javascript-module",
|
|
1988
|
-
"path": "src/accordion
|
|
1867
|
+
"path": "src/accordion/accordion.template.ts",
|
|
1989
1868
|
"declarations": [
|
|
1990
1869
|
{
|
|
1991
1870
|
"kind": "function",
|
|
1992
|
-
"name": "
|
|
1871
|
+
"name": "foundationAccordionTemplate",
|
|
1993
1872
|
"return": {
|
|
1994
1873
|
"type": {
|
|
1995
|
-
"text": "ViewTemplate<
|
|
1874
|
+
"text": "ViewTemplate<Accordion>"
|
|
1996
1875
|
}
|
|
1997
1876
|
},
|
|
1998
1877
|
"parameters": [
|
|
@@ -2014,116 +1893,237 @@
|
|
|
2014
1893
|
"exports": [
|
|
2015
1894
|
{
|
|
2016
1895
|
"kind": "js",
|
|
2017
|
-
"name": "
|
|
1896
|
+
"name": "foundationAccordionTemplate",
|
|
2018
1897
|
"declaration": {
|
|
2019
|
-
"name": "
|
|
2020
|
-
"module": "src/accordion
|
|
1898
|
+
"name": "foundationAccordionTemplate",
|
|
1899
|
+
"module": "src/accordion/accordion.template.ts"
|
|
2021
1900
|
}
|
|
2022
1901
|
}
|
|
2023
1902
|
]
|
|
2024
1903
|
},
|
|
2025
1904
|
{
|
|
2026
1905
|
"kind": "javascript-module",
|
|
2027
|
-
"path": "src/accordion
|
|
1906
|
+
"path": "src/accordion/accordion.ts",
|
|
2028
1907
|
"declarations": [
|
|
2029
1908
|
{
|
|
2030
1909
|
"kind": "class",
|
|
2031
1910
|
"description": "",
|
|
2032
|
-
"name": "
|
|
1911
|
+
"name": "Accordion",
|
|
2033
1912
|
"superclass": {
|
|
2034
|
-
"name": "
|
|
2035
|
-
"package": "@microsoft/fast-
|
|
1913
|
+
"name": "FASTAccordion",
|
|
1914
|
+
"package": "@microsoft/fast-foundation"
|
|
2036
1915
|
},
|
|
2037
|
-
"tagName": "%%prefix%%-accordion
|
|
1916
|
+
"tagName": "%%prefix%%-accordion",
|
|
2038
1917
|
"customElement": true,
|
|
2039
1918
|
"attributes": [
|
|
2040
1919
|
{
|
|
2041
|
-
"name": "
|
|
1920
|
+
"name": "expand-mode",
|
|
1921
|
+
"type": {
|
|
1922
|
+
"text": "AccordionExpandMode"
|
|
1923
|
+
},
|
|
1924
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1925
|
+
"fieldName": "expandmode",
|
|
1926
|
+
"inheritedFrom": {
|
|
1927
|
+
"name": "Accordion",
|
|
1928
|
+
"module": "src/accordion/accordion.ts"
|
|
1929
|
+
}
|
|
1930
|
+
}
|
|
1931
|
+
],
|
|
1932
|
+
"members": [
|
|
1933
|
+
{
|
|
1934
|
+
"kind": "field",
|
|
1935
|
+
"name": "expandmode",
|
|
2042
1936
|
"type": {
|
|
2043
|
-
"text": "
|
|
1937
|
+
"text": "AccordionExpandMode"
|
|
2044
1938
|
},
|
|
2045
|
-
"
|
|
2046
|
-
"description": "
|
|
2047
|
-
"fieldName": "headinglevel",
|
|
1939
|
+
"privacy": "public",
|
|
1940
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2048
1941
|
"inheritedFrom": {
|
|
2049
|
-
"name": "
|
|
2050
|
-
"module": "src/accordion
|
|
1942
|
+
"name": "Accordion",
|
|
1943
|
+
"module": "src/accordion/accordion.ts"
|
|
2051
1944
|
}
|
|
2052
1945
|
},
|
|
2053
1946
|
{
|
|
1947
|
+
"kind": "field",
|
|
1948
|
+
"name": "activeid",
|
|
2054
1949
|
"type": {
|
|
2055
|
-
"text": "
|
|
1950
|
+
"text": "string | null"
|
|
2056
1951
|
},
|
|
2057
|
-
"
|
|
2058
|
-
"description": "Expands or collapses the item.",
|
|
2059
|
-
"fieldName": "expanded",
|
|
1952
|
+
"privacy": "private",
|
|
2060
1953
|
"inheritedFrom": {
|
|
2061
|
-
"name": "
|
|
2062
|
-
"module": "src/accordion
|
|
1954
|
+
"name": "Accordion",
|
|
1955
|
+
"module": "src/accordion/accordion.ts"
|
|
2063
1956
|
}
|
|
2064
1957
|
},
|
|
2065
1958
|
{
|
|
2066
|
-
"
|
|
1959
|
+
"kind": "field",
|
|
1960
|
+
"name": "activeItemIndex",
|
|
2067
1961
|
"type": {
|
|
2068
|
-
"text": "
|
|
1962
|
+
"text": "number"
|
|
2069
1963
|
},
|
|
2070
|
-
"
|
|
2071
|
-
"
|
|
1964
|
+
"privacy": "private",
|
|
1965
|
+
"default": "0",
|
|
2072
1966
|
"inheritedFrom": {
|
|
2073
|
-
"name": "
|
|
2074
|
-
"module": "src/accordion
|
|
1967
|
+
"name": "Accordion",
|
|
1968
|
+
"module": "src/accordion/accordion.ts"
|
|
2075
1969
|
}
|
|
2076
|
-
}
|
|
2077
|
-
],
|
|
2078
|
-
"members": [
|
|
1970
|
+
},
|
|
2079
1971
|
{
|
|
2080
1972
|
"kind": "field",
|
|
2081
|
-
"name": "
|
|
1973
|
+
"name": "accordionIds",
|
|
2082
1974
|
"type": {
|
|
2083
|
-
"text": "
|
|
1975
|
+
"text": "Array<string | null>"
|
|
2084
1976
|
},
|
|
2085
|
-
"privacy": "
|
|
2086
|
-
"default": "2",
|
|
2087
|
-
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1977
|
+
"privacy": "private",
|
|
2088
1978
|
"inheritedFrom": {
|
|
2089
|
-
"name": "
|
|
2090
|
-
"module": "src/accordion
|
|
1979
|
+
"name": "Accordion",
|
|
1980
|
+
"module": "src/accordion/accordion.ts"
|
|
2091
1981
|
}
|
|
2092
1982
|
},
|
|
2093
1983
|
{
|
|
2094
1984
|
"kind": "field",
|
|
2095
|
-
"name": "
|
|
2096
|
-
"
|
|
2097
|
-
|
|
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
|
+
}
|
|
2098
2000
|
},
|
|
2099
|
-
"privacy": "public",
|
|
2100
|
-
"default": "false",
|
|
2101
|
-
"description": "Expands or collapses the item.",
|
|
2102
2001
|
"inheritedFrom": {
|
|
2103
|
-
"name": "
|
|
2104
|
-
"module": "src/accordion
|
|
2002
|
+
"name": "Accordion",
|
|
2003
|
+
"module": "src/accordion/accordion.ts"
|
|
2105
2004
|
}
|
|
2106
2005
|
},
|
|
2107
2006
|
{
|
|
2108
2007
|
"kind": "field",
|
|
2109
|
-
"name": "
|
|
2110
|
-
"
|
|
2111
|
-
|
|
2008
|
+
"name": "setItems",
|
|
2009
|
+
"privacy": "private",
|
|
2010
|
+
"inheritedFrom": {
|
|
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
|
+
}
|
|
2112
2023
|
},
|
|
2113
|
-
"privacy": "public",
|
|
2114
|
-
"description": "The item ID",
|
|
2115
2024
|
"inheritedFrom": {
|
|
2116
|
-
"name": "
|
|
2117
|
-
"module": "src/accordion
|
|
2025
|
+
"name": "Accordion",
|
|
2026
|
+
"module": "src/accordion/accordion.ts"
|
|
2118
2027
|
}
|
|
2119
2028
|
},
|
|
2120
2029
|
{
|
|
2121
2030
|
"kind": "field",
|
|
2122
|
-
"name": "
|
|
2031
|
+
"name": "removeItemListeners",
|
|
2123
2032
|
"privacy": "private",
|
|
2124
2033
|
"inheritedFrom": {
|
|
2125
|
-
"name": "
|
|
2126
|
-
"module": "src/accordion
|
|
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"
|
|
2127
2127
|
}
|
|
2128
2128
|
},
|
|
2129
2129
|
{
|
|
@@ -2240,18 +2240,18 @@
|
|
|
2240
2240
|
],
|
|
2241
2241
|
"events": [
|
|
2242
2242
|
{
|
|
2243
|
-
"description": "Fires a custom 'change' event when the
|
|
2243
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
2244
2244
|
"name": "change",
|
|
2245
2245
|
"inheritedFrom": {
|
|
2246
|
-
"name": "
|
|
2247
|
-
"module": "src/accordion
|
|
2246
|
+
"name": "Accordion",
|
|
2247
|
+
"module": "src/accordion/accordion.ts"
|
|
2248
2248
|
}
|
|
2249
2249
|
}
|
|
2250
2250
|
]
|
|
2251
2251
|
},
|
|
2252
2252
|
{
|
|
2253
2253
|
"kind": "variable",
|
|
2254
|
-
"name": "
|
|
2254
|
+
"name": "foundationAccordionShadowOptions",
|
|
2255
2255
|
"type": {
|
|
2256
2256
|
"text": "ShadowRootInit"
|
|
2257
2257
|
},
|
|
@@ -2259,57 +2259,57 @@
|
|
|
2259
2259
|
},
|
|
2260
2260
|
{
|
|
2261
2261
|
"kind": "variable",
|
|
2262
|
-
"name": "
|
|
2262
|
+
"name": "defaultAccordionConfig",
|
|
2263
2263
|
"type": {
|
|
2264
2264
|
"text": "object"
|
|
2265
2265
|
},
|
|
2266
|
-
"default": "{
|
|
2266
|
+
"default": "{}"
|
|
2267
2267
|
},
|
|
2268
2268
|
{
|
|
2269
2269
|
"kind": "variable",
|
|
2270
|
-
"name": "
|
|
2271
|
-
"description": "The Foundation Accordion
|
|
2270
|
+
"name": "foundationAccordion",
|
|
2271
|
+
"description": "The Foundation Accordion",
|
|
2272
2272
|
"privacy": "public"
|
|
2273
2273
|
}
|
|
2274
2274
|
],
|
|
2275
2275
|
"exports": [
|
|
2276
2276
|
{
|
|
2277
2277
|
"kind": "js",
|
|
2278
|
-
"name": "
|
|
2278
|
+
"name": "Accordion",
|
|
2279
2279
|
"declaration": {
|
|
2280
|
-
"name": "
|
|
2281
|
-
"module": "src/accordion
|
|
2280
|
+
"name": "Accordion",
|
|
2281
|
+
"module": "src/accordion/accordion.ts"
|
|
2282
2282
|
}
|
|
2283
2283
|
},
|
|
2284
2284
|
{
|
|
2285
2285
|
"kind": "js",
|
|
2286
|
-
"name": "
|
|
2286
|
+
"name": "foundationAccordionShadowOptions",
|
|
2287
2287
|
"declaration": {
|
|
2288
|
-
"name": "
|
|
2289
|
-
"module": "src/accordion
|
|
2288
|
+
"name": "foundationAccordionShadowOptions",
|
|
2289
|
+
"module": "src/accordion/accordion.ts"
|
|
2290
2290
|
}
|
|
2291
2291
|
},
|
|
2292
2292
|
{
|
|
2293
2293
|
"kind": "js",
|
|
2294
|
-
"name": "
|
|
2294
|
+
"name": "defaultAccordionConfig",
|
|
2295
2295
|
"declaration": {
|
|
2296
|
-
"name": "
|
|
2297
|
-
"module": "src/accordion
|
|
2296
|
+
"name": "defaultAccordionConfig",
|
|
2297
|
+
"module": "src/accordion/accordion.ts"
|
|
2298
2298
|
}
|
|
2299
2299
|
},
|
|
2300
2300
|
{
|
|
2301
2301
|
"kind": "js",
|
|
2302
|
-
"name": "
|
|
2302
|
+
"name": "foundationAccordion",
|
|
2303
2303
|
"declaration": {
|
|
2304
|
-
"name": "
|
|
2305
|
-
"module": "src/accordion
|
|
2304
|
+
"name": "foundationAccordion",
|
|
2305
|
+
"module": "src/accordion/accordion.ts"
|
|
2306
2306
|
}
|
|
2307
2307
|
}
|
|
2308
2308
|
]
|
|
2309
2309
|
},
|
|
2310
2310
|
{
|
|
2311
2311
|
"kind": "javascript-module",
|
|
2312
|
-
"path": "src/accordion
|
|
2312
|
+
"path": "src/accordion/index.ts",
|
|
2313
2313
|
"declarations": [],
|
|
2314
2314
|
"exports": [
|
|
2315
2315
|
{
|
|
@@ -2317,7 +2317,7 @@
|
|
|
2317
2317
|
"name": "*",
|
|
2318
2318
|
"declaration": {
|
|
2319
2319
|
"name": "*",
|
|
2320
|
-
"package": "./accordion
|
|
2320
|
+
"package": "./accordion.template"
|
|
2321
2321
|
}
|
|
2322
2322
|
},
|
|
2323
2323
|
{
|
|
@@ -2325,7 +2325,7 @@
|
|
|
2325
2325
|
"name": "*",
|
|
2326
2326
|
"declaration": {
|
|
2327
2327
|
"name": "*",
|
|
2328
|
-
"package": "./accordion
|
|
2328
|
+
"package": "./accordion.styles"
|
|
2329
2329
|
}
|
|
2330
2330
|
},
|
|
2331
2331
|
{
|
|
@@ -2333,7 +2333,7 @@
|
|
|
2333
2333
|
"name": "*",
|
|
2334
2334
|
"declaration": {
|
|
2335
2335
|
"name": "*",
|
|
2336
|
-
"package": "./accordion
|
|
2336
|
+
"package": "./accordion"
|
|
2337
2337
|
}
|
|
2338
2338
|
}
|
|
2339
2339
|
]
|
|
@@ -2953,9 +2953,9 @@
|
|
|
2953
2953
|
"members": [
|
|
2954
2954
|
{
|
|
2955
2955
|
"kind": "field",
|
|
2956
|
-
"name": "
|
|
2956
|
+
"name": "providerRegistry",
|
|
2957
2957
|
"type": {
|
|
2958
|
-
"text": "
|
|
2958
|
+
"text": "AIProviderRegistry"
|
|
2959
2959
|
}
|
|
2960
2960
|
},
|
|
2961
2961
|
{
|
|
@@ -3580,11 +3580,21 @@
|
|
|
3580
3580
|
"members": [
|
|
3581
3581
|
{
|
|
3582
3582
|
"kind": "field",
|
|
3583
|
-
"name": "
|
|
3583
|
+
"name": "providerRegistry",
|
|
3584
3584
|
"type": {
|
|
3585
|
-
"text": "
|
|
3585
|
+
"text": "AIProviderRegistry"
|
|
3586
3586
|
}
|
|
3587
3587
|
},
|
|
3588
|
+
{
|
|
3589
|
+
"kind": "field",
|
|
3590
|
+
"name": "aiProvider",
|
|
3591
|
+
"type": {
|
|
3592
|
+
"text": "AIProvider | undefined"
|
|
3593
|
+
},
|
|
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
|
|
3597
|
+
},
|
|
3588
3598
|
{
|
|
3589
3599
|
"kind": "field",
|
|
3590
3600
|
"name": "status",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AIProviderRegistry } from '@genesislcap/foundation-ai';
|
|
2
2
|
import type { MetadataDetail } from '@genesislcap/foundation-comms';
|
|
3
3
|
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
4
4
|
import type { CriteriaChip, CriteriaGroup } from './validation/criteria-ir';
|
|
@@ -11,7 +11,7 @@ import type { CriteriaChip, CriteriaGroup } from './validation/criteria-ir';
|
|
|
11
11
|
* @tagname %%prefix%%-ai-criteria-search
|
|
12
12
|
*/
|
|
13
13
|
export declare class AiCriteriaSearch extends FoundationElement {
|
|
14
|
-
|
|
14
|
+
providerRegistry: AIProviderRegistry;
|
|
15
15
|
placeholder: string;
|
|
16
16
|
disabled: boolean;
|
|
17
17
|
inputValue: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai-criteria-search.d.ts","sourceRoot":"","sources":["../../../src/ai-criteria-search/ai-criteria-search.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"ai-criteria-search.d.ts","sourceRoot":"","sources":["../../../src/ai-criteria-search/ai-criteria-search.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAGnB,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAEpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAI/D,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAc,MAAM,0BAA0B,CAAC;AAOxF;;;;;;;GAOG;AACH,qBAAa,gBAAiB,SAAQ,iBAAiB;IACjC,gBAAgB,EAAE,kBAAkB,CAAC;IAEnD,WAAW,EAAE,MAAM,CAA0D;IACxD,QAAQ,EAAE,OAAO,CAAC;IAEjC,UAAU,EAAE,MAAM,CAAM;IACxB,cAAc,EAAE,OAAO,CAAS;IAChC,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAQ;IACxC,YAAY,EAAE,aAAa,EAAE,CAAM;IACnC,YAAY,EAAE,OAAO,CAAS;IAE9B,aAAa,EAAE,cAAc,EAAE,GAAG,MAAM,EAAE,CAAM;IAChD,WAAW,EAAE,OAAO,CAAS;IAElC,WAAW,EAAE,mBAAmB,CAAC;IAExC,OAAO,CAAC,aAAa,CAA6B;IAClD,OAAO,CAAC,wBAAwB,CAA8C;IAE9E,IACI,eAAe,IAAI,OAAO,CAE7B;IAED,IACI,aAAa,IAAI,YAAY,EAAE,CAUlC;IAED,OAAO,CAAC,aAAa;IAQrB,kBAAkB,IAAI,IAAI;IAS1B,UAAU,CAAC,UAAU,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,IAAI;IAmBzD,UAAU,IAAI,IAAI;IAOZ,YAAY;IA2DlB,UAAU;IAUV,KAAK;IAQL,iBAAiB;IAwCjB,OAAO,CAAC,wBAAwB;CAMjC;AAED,eAAO,MAAM,uCAAuC,EAAE,cAA0B,CAAC;AACjF,eAAO,MAAM,6BAA6B,IAAK,CAAC;AAEhD,eAAO,MAAM,0BAA0B;;;;;;;;;;2BAMrC,CAAC"}
|
|
@@ -1,11 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AIProviderRegistry, type AIStatus } from '@genesislcap/foundation-ai';
|
|
2
2
|
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
3
3
|
export type AIIndicatorState = 'available' | 'downloading' | 'downloadable' | 'unavailable' | 'server' | 'none';
|
|
4
4
|
/**
|
|
5
5
|
* @tagname %%prefix%%-ai-indicator
|
|
6
6
|
*/
|
|
7
7
|
export declare class AiIndicator extends FoundationElement {
|
|
8
|
-
|
|
8
|
+
providerRegistry: AIProviderRegistry;
|
|
9
|
+
/**
|
|
10
|
+
* The indicator reflects status for the registry's default provider only —
|
|
11
|
+
* per-agent provider overrides live with the assistant component, not this
|
|
12
|
+
* top-level chrome.
|
|
13
|
+
*/
|
|
14
|
+
private get aiProvider();
|
|
9
15
|
status: AIStatus | null;
|
|
10
16
|
open: boolean;
|
|
11
17
|
state: AIIndicatorState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai-indicator.d.ts","sourceRoot":"","sources":["../../../src/ai-indicator/ai-indicator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"ai-indicator.d.ts","sourceRoot":"","sources":["../../../src/ai-indicator/ai-indicator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAmB,KAAK,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAEhG,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAO/D,MAAM,MAAM,gBAAgB,GACxB,WAAW,GACX,aAAa,GACb,cAAc,GACd,aAAa,GACb,QAAQ,GACR,MAAM,CAAC;AAEX;;GAEG;AACH,qBAAa,WAAY,SAAQ,iBAAiB;IAC5B,gBAAgB,EAAE,kBAAkB,CAAC;IAEzD;;;;OAIG;IACH,OAAO,KAAK,UAAU,GAErB;IAEW,MAAM,EAAE,QAAQ,GAAG,IAAI,CAAQ;IAC/B,IAAI,EAAE,OAAO,CAAS;IACtB,KAAK,EAAE,gBAAgB,CAAU;IACjC,YAAY,EAAE,OAAO,CAAS;IAE1C,OAAO,CAAC,SAAS,CAA+C;IAChE,OAAO,CAAC,YAAY,CAAiD;IAErE,IACI,iBAAiB,IAAI,MAAM,GAAG,IAAI,CAQrC;IAED,IACI,UAAU,IAAI,OAAO,CAOxB;IAED,IACI,aAAa,IAAI,OAAO,CAE3B;IAEK,iBAAiB;IAMvB,oBAAoB,IAAI,IAAI;IAK5B,WAAW,IAAI,IAAI;IASnB,OAAO,CAAC,kBAAkB;IAM1B,cAAc;IAIR,aAAa,IAAI,OAAO,CAAC,IAAI,CAAC;IAoBpC,OAAO,CAAC,WAAW;IAanB,OAAO,CAAC,iBAAiB;IAQzB,OAAO,CAAC,YAAY;IASpB,OAAO,CAAC,WAAW;IAOb,SAAS,IAAI,OAAO,CAAC,IAAI,CAAC;CAYjC;AAED,eAAO,MAAM,qBAAqB,2TAIhC,CAAC"}
|
package/dist/dts/react.d.ts
CHANGED
|
@@ -120,23 +120,23 @@ interface HTMLWCProps extends React.AriaAttributes {
|
|
|
120
120
|
onInput?(e: Event): void;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export declare const
|
|
123
|
+
export declare const AccordionItem: React.ForwardRefExoticComponent<
|
|
124
124
|
React.PropsWithChildren<
|
|
125
|
-
Omit<PublicOf<
|
|
125
|
+
Omit<PublicOf<AccordionItemWC>, 'children' | 'style'> &
|
|
126
126
|
HTMLWCProps & {
|
|
127
127
|
}
|
|
128
|
-
> & React.RefAttributes<
|
|
128
|
+
> & React.RefAttributes<AccordionItemWC>
|
|
129
129
|
>;
|
|
130
|
-
export type
|
|
130
|
+
export type AccordionItemRef = AccordionItemWC;
|
|
131
131
|
|
|
132
|
-
export declare const
|
|
132
|
+
export declare const Accordion: React.ForwardRefExoticComponent<
|
|
133
133
|
React.PropsWithChildren<
|
|
134
|
-
Omit<PublicOf<
|
|
134
|
+
Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
|
|
135
135
|
HTMLWCProps & {
|
|
136
136
|
}
|
|
137
|
-
> & React.RefAttributes<
|
|
137
|
+
> & React.RefAttributes<AccordionWC>
|
|
138
138
|
>;
|
|
139
|
-
export type
|
|
139
|
+
export type AccordionRef = AccordionWC;
|
|
140
140
|
|
|
141
141
|
export declare const ActionsMenu: React.ForwardRefExoticComponent<
|
|
142
142
|
React.PropsWithChildren<
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __awaiter, __decorate } from "tslib";
|
|
2
|
-
import {
|
|
2
|
+
import { AIProviderRegistry, isSpeechRecognitionAvailable, startSpeechRecognition, } from '@genesislcap/foundation-ai';
|
|
3
3
|
import { attr, observable, volatile } from '@microsoft/fast-element';
|
|
4
4
|
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
5
5
|
import { getPrefix } from '../utils';
|
|
@@ -94,14 +94,15 @@ export class AiCriteriaSearch extends FoundationElement {
|
|
|
94
94
|
const text = (_a = this.inputValue) === null || _a === void 0 ? void 0 : _a.trim();
|
|
95
95
|
if (!text || this.isInterpreting)
|
|
96
96
|
return;
|
|
97
|
-
|
|
97
|
+
const aiProvider = (_b = this.providerRegistry) === null || _b === void 0 ? void 0 : _b.default();
|
|
98
|
+
if (!(aiProvider === null || aiProvider === void 0 ? void 0 : aiProvider.interpretCriteria)) {
|
|
98
99
|
showCriteriaError('AI criteria search', 'AI provider not configured', getPrefix(this));
|
|
99
100
|
return;
|
|
100
101
|
}
|
|
101
102
|
this.isInterpreting = true;
|
|
102
103
|
try {
|
|
103
104
|
const fields = Array.isArray(this.fieldMetadata) ? this.fieldMetadata : [];
|
|
104
|
-
const result = (yield
|
|
105
|
+
const result = (yield aiProvider.interpretCriteria(text, {
|
|
105
106
|
fields,
|
|
106
107
|
}));
|
|
107
108
|
if (!((_c = result === null || result === void 0 ? void 0 : result.groups) === null || _c === void 0 ? void 0 : _c.some((g) => { var _a; return (_a = g.clauses) === null || _a === void 0 ? void 0 : _a.length; }))) {
|
|
@@ -192,8 +193,8 @@ export class AiCriteriaSearch extends FoundationElement {
|
|
|
192
193
|
}
|
|
193
194
|
}
|
|
194
195
|
__decorate([
|
|
195
|
-
|
|
196
|
-
], AiCriteriaSearch.prototype, "
|
|
196
|
+
AIProviderRegistry
|
|
197
|
+
], AiCriteriaSearch.prototype, "providerRegistry", void 0);
|
|
197
198
|
__decorate([
|
|
198
199
|
attr
|
|
199
200
|
], AiCriteriaSearch.prototype, "placeholder", void 0);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __awaiter, __decorate } from "tslib";
|
|
2
|
-
import {
|
|
2
|
+
import { AIProviderRegistry } from '@genesislcap/foundation-ai';
|
|
3
3
|
import { observable, volatile } from '@microsoft/fast-element';
|
|
4
4
|
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
5
5
|
import { wasClickOutsideElement } from '../utils';
|
|
@@ -19,6 +19,15 @@ export class AiIndicator extends FoundationElement {
|
|
|
19
19
|
this.pollTimer = null;
|
|
20
20
|
this.clickOutside = (e) => this.handleClickOutside(e);
|
|
21
21
|
}
|
|
22
|
+
/**
|
|
23
|
+
* The indicator reflects status for the registry's default provider only —
|
|
24
|
+
* per-agent provider overrides live with the assistant component, not this
|
|
25
|
+
* top-level chrome.
|
|
26
|
+
*/
|
|
27
|
+
get aiProvider() {
|
|
28
|
+
var _a;
|
|
29
|
+
return (_a = this.providerRegistry) === null || _a === void 0 ? void 0 : _a.default();
|
|
30
|
+
}
|
|
22
31
|
get chromeStatusLabel() {
|
|
23
32
|
var _a, _b;
|
|
24
33
|
if (((_a = this.status) === null || _a === void 0 ? void 0 : _a.provider) !== 'chrome')
|
|
@@ -160,8 +169,8 @@ export class AiIndicator extends FoundationElement {
|
|
|
160
169
|
}
|
|
161
170
|
}
|
|
162
171
|
__decorate([
|
|
163
|
-
|
|
164
|
-
], AiIndicator.prototype, "
|
|
172
|
+
AIProviderRegistry
|
|
173
|
+
], AiIndicator.prototype, "providerRegistry", void 0);
|
|
165
174
|
__decorate([
|
|
166
175
|
observable
|
|
167
176
|
], AiIndicator.prototype, "status", void 0);
|
package/dist/react.cjs
CHANGED
|
@@ -102,14 +102,14 @@ function _mergeRefs(...refs) {
|
|
|
102
102
|
};
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
const
|
|
105
|
+
const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
|
|
106
106
|
const { children, ...rest } = props;
|
|
107
|
-
return React.createElement(customElements.getName(
|
|
107
|
+
return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
|
|
108
108
|
});
|
|
109
109
|
|
|
110
|
-
const
|
|
110
|
+
const Accordion = React.forwardRef(function Accordion(props, ref) {
|
|
111
111
|
const { children, ...rest } = props;
|
|
112
|
-
return React.createElement(customElements.getName(
|
|
112
|
+
return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
|
|
113
113
|
});
|
|
114
114
|
|
|
115
115
|
const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
|
|
@@ -877,8 +877,8 @@ const UrlInput = React.forwardRef(function UrlInput(props, ref) {
|
|
|
877
877
|
});
|
|
878
878
|
|
|
879
879
|
module.exports = {
|
|
880
|
-
Accordion,
|
|
881
880
|
AccordionItem,
|
|
881
|
+
Accordion,
|
|
882
882
|
ActionsMenu,
|
|
883
883
|
AiCriteriaSearch,
|
|
884
884
|
AiIndicator,
|
package/dist/react.mjs
CHANGED
|
@@ -100,14 +100,14 @@ function _mergeRefs(...refs) {
|
|
|
100
100
|
};
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
export const
|
|
103
|
+
export const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
|
|
104
104
|
const { children, ...rest } = props;
|
|
105
|
-
return React.createElement(customElements.getName(
|
|
105
|
+
return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
|
|
106
106
|
});
|
|
107
107
|
|
|
108
|
-
export const
|
|
108
|
+
export const Accordion = React.forwardRef(function Accordion(props, ref) {
|
|
109
109
|
const { children, ...rest } = props;
|
|
110
|
-
return React.createElement(customElements.getName(
|
|
110
|
+
return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
|
|
111
111
|
});
|
|
112
112
|
|
|
113
113
|
export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-ui",
|
|
3
3
|
"description": "Genesis Foundation UI",
|
|
4
|
-
"version": "14.
|
|
4
|
+
"version": "14.445.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -85,13 +85,13 @@
|
|
|
85
85
|
}
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|
|
88
|
-
"@genesislcap/foundation-testing": "14.
|
|
89
|
-
"@genesislcap/genx": "14.
|
|
90
|
-
"@genesislcap/rollup-builder": "14.
|
|
91
|
-
"@genesislcap/ts-builder": "14.
|
|
92
|
-
"@genesislcap/uvu-playwright-builder": "14.
|
|
93
|
-
"@genesislcap/vite-builder": "14.
|
|
94
|
-
"@genesislcap/webpack-builder": "14.
|
|
88
|
+
"@genesislcap/foundation-testing": "14.445.0",
|
|
89
|
+
"@genesislcap/genx": "14.445.0",
|
|
90
|
+
"@genesislcap/rollup-builder": "14.445.0",
|
|
91
|
+
"@genesislcap/ts-builder": "14.445.0",
|
|
92
|
+
"@genesislcap/uvu-playwright-builder": "14.445.0",
|
|
93
|
+
"@genesislcap/vite-builder": "14.445.0",
|
|
94
|
+
"@genesislcap/webpack-builder": "14.445.0",
|
|
95
95
|
"copyfiles": "^2.4.1"
|
|
96
96
|
},
|
|
97
97
|
"dependencies": {
|
|
@@ -100,16 +100,16 @@
|
|
|
100
100
|
"@fortawesome/free-regular-svg-icons": "^6.2.1",
|
|
101
101
|
"@fortawesome/free-solid-svg-icons": "^6.2.1",
|
|
102
102
|
"@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
|
|
103
|
-
"@genesislcap/expression-builder": "14.
|
|
104
|
-
"@genesislcap/foundation-ai": "14.
|
|
105
|
-
"@genesislcap/foundation-comms": "14.
|
|
106
|
-
"@genesislcap/foundation-criteria": "14.
|
|
107
|
-
"@genesislcap/foundation-errors": "14.
|
|
108
|
-
"@genesislcap/foundation-events": "14.
|
|
109
|
-
"@genesislcap/foundation-logger": "14.
|
|
110
|
-
"@genesislcap/foundation-notifications": "14.
|
|
111
|
-
"@genesislcap/foundation-user": "14.
|
|
112
|
-
"@genesislcap/foundation-utils": "14.
|
|
103
|
+
"@genesislcap/expression-builder": "14.445.0",
|
|
104
|
+
"@genesislcap/foundation-ai": "14.445.0",
|
|
105
|
+
"@genesislcap/foundation-comms": "14.445.0",
|
|
106
|
+
"@genesislcap/foundation-criteria": "14.445.0",
|
|
107
|
+
"@genesislcap/foundation-errors": "14.445.0",
|
|
108
|
+
"@genesislcap/foundation-events": "14.445.0",
|
|
109
|
+
"@genesislcap/foundation-logger": "14.445.0",
|
|
110
|
+
"@genesislcap/foundation-notifications": "14.445.0",
|
|
111
|
+
"@genesislcap/foundation-user": "14.445.0",
|
|
112
|
+
"@genesislcap/foundation-utils": "14.445.0",
|
|
113
113
|
"@microsoft/fast-colors": "5.3.1",
|
|
114
114
|
"@microsoft/fast-components": "2.30.6",
|
|
115
115
|
"@microsoft/fast-element": "1.14.0",
|
|
@@ -142,5 +142,5 @@
|
|
|
142
142
|
"require": "./dist/react.cjs"
|
|
143
143
|
}
|
|
144
144
|
},
|
|
145
|
-
"gitHead": "
|
|
145
|
+
"gitHead": "ab4f2ce242dedb41dcd82795abf7e0acaf14979c"
|
|
146
146
|
}
|