@genesislcap/foundation-ui 15.36.0 → 15.36.2-alpha-ec480ce5f.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.
@@ -1495,11 +1495,11 @@
1495
1495
  },
1496
1496
  {
1497
1497
  "kind": "javascript-module",
1498
- "path": "src/accordion/accordion.styles.ts",
1498
+ "path": "src/accordion-item/accordion-item.styles.ts",
1499
1499
  "declarations": [
1500
1500
  {
1501
1501
  "kind": "function",
1502
- "name": "foundationAccordionStyles",
1502
+ "name": "foundationAccordionItemStyles",
1503
1503
  "return": {
1504
1504
  "type": {
1505
1505
  "text": "ElementStyles"
@@ -1524,24 +1524,24 @@
1524
1524
  "exports": [
1525
1525
  {
1526
1526
  "kind": "js",
1527
- "name": "foundationAccordionStyles",
1527
+ "name": "foundationAccordionItemStyles",
1528
1528
  "declaration": {
1529
- "name": "foundationAccordionStyles",
1530
- "module": "src/accordion/accordion.styles.ts"
1529
+ "name": "foundationAccordionItemStyles",
1530
+ "module": "src/accordion-item/accordion-item.styles.ts"
1531
1531
  }
1532
1532
  }
1533
1533
  ]
1534
1534
  },
1535
1535
  {
1536
1536
  "kind": "javascript-module",
1537
- "path": "src/accordion/accordion.template.ts",
1537
+ "path": "src/accordion-item/accordion-item.template.ts",
1538
1538
  "declarations": [
1539
1539
  {
1540
1540
  "kind": "function",
1541
- "name": "foundationAccordionTemplate",
1541
+ "name": "foundationAccordionItemTemplate",
1542
1542
  "return": {
1543
1543
  "type": {
1544
- "text": "ViewTemplate<Accordion>"
1544
+ "text": "ViewTemplate<AccordionItem>"
1545
1545
  }
1546
1546
  },
1547
1547
  "parameters": [
@@ -1563,237 +1563,116 @@
1563
1563
  "exports": [
1564
1564
  {
1565
1565
  "kind": "js",
1566
- "name": "foundationAccordionTemplate",
1566
+ "name": "foundationAccordionItemTemplate",
1567
1567
  "declaration": {
1568
- "name": "foundationAccordionTemplate",
1569
- "module": "src/accordion/accordion.template.ts"
1568
+ "name": "foundationAccordionItemTemplate",
1569
+ "module": "src/accordion-item/accordion-item.template.ts"
1570
1570
  }
1571
1571
  }
1572
1572
  ]
1573
1573
  },
1574
1574
  {
1575
1575
  "kind": "javascript-module",
1576
- "path": "src/accordion/accordion.ts",
1576
+ "path": "src/accordion-item/accordion-item.ts",
1577
1577
  "declarations": [
1578
1578
  {
1579
1579
  "kind": "class",
1580
1580
  "description": "",
1581
- "name": "Accordion",
1581
+ "name": "AccordionItem",
1582
1582
  "superclass": {
1583
- "name": "FASTAccordion",
1584
- "package": "@microsoft/fast-foundation"
1583
+ "name": "FASTAccordionItem",
1584
+ "package": "@microsoft/fast-components"
1585
1585
  },
1586
- "tagName": "%%prefix%%-accordion",
1586
+ "tagName": "%%prefix%%-accordion-item",
1587
1587
  "customElement": true,
1588
1588
  "attributes": [
1589
1589
  {
1590
- "name": "expand-mode",
1591
- "type": {
1592
- "text": "AccordionExpandMode"
1593
- },
1594
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1595
- "fieldName": "expandmode",
1596
- "inheritedFrom": {
1597
- "name": "Accordion",
1598
- "module": "src/accordion/accordion.ts"
1599
- }
1600
- }
1601
- ],
1602
- "members": [
1603
- {
1604
- "kind": "field",
1605
- "name": "expandmode",
1590
+ "name": "heading-level",
1606
1591
  "type": {
1607
- "text": "AccordionExpandMode"
1592
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1608
1593
  },
1609
- "privacy": "public",
1610
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1594
+ "default": "2",
1595
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1596
+ "fieldName": "headinglevel",
1611
1597
  "inheritedFrom": {
1612
- "name": "Accordion",
1613
- "module": "src/accordion/accordion.ts"
1598
+ "name": "AccordionItem",
1599
+ "module": "src/accordion-item/accordion-item.ts"
1614
1600
  }
1615
1601
  },
1616
1602
  {
1617
- "kind": "field",
1618
- "name": "activeid",
1619
1603
  "type": {
1620
- "text": "string | null"
1604
+ "text": "boolean"
1621
1605
  },
1622
- "privacy": "private",
1606
+ "default": "false",
1607
+ "description": "Expands or collapses the item.",
1608
+ "fieldName": "expanded",
1623
1609
  "inheritedFrom": {
1624
- "name": "Accordion",
1625
- "module": "src/accordion/accordion.ts"
1610
+ "name": "AccordionItem",
1611
+ "module": "src/accordion-item/accordion-item.ts"
1626
1612
  }
1627
1613
  },
1628
1614
  {
1629
- "kind": "field",
1630
- "name": "activeItemIndex",
1615
+ "name": "id",
1631
1616
  "type": {
1632
- "text": "number"
1617
+ "text": "string"
1633
1618
  },
1634
- "privacy": "private",
1635
- "default": "0",
1619
+ "description": "The item ID",
1620
+ "fieldName": "id",
1636
1621
  "inheritedFrom": {
1637
- "name": "Accordion",
1638
- "module": "src/accordion/accordion.ts"
1622
+ "name": "AccordionItem",
1623
+ "module": "src/accordion-item/accordion-item.ts"
1639
1624
  }
1640
- },
1625
+ }
1626
+ ],
1627
+ "members": [
1641
1628
  {
1642
1629
  "kind": "field",
1643
- "name": "accordionIds",
1630
+ "name": "headinglevel",
1644
1631
  "type": {
1645
- "text": "Array<string | null>"
1646
- },
1647
- "privacy": "private",
1648
- "inheritedFrom": {
1649
- "name": "Accordion",
1650
- "module": "src/accordion/accordion.ts"
1651
- }
1652
- },
1653
- {
1654
- "kind": "field",
1655
- "name": "change",
1656
- "privacy": "private",
1657
- "inheritedFrom": {
1658
- "name": "Accordion",
1659
- "module": "src/accordion/accordion.ts"
1660
- }
1661
- },
1662
- {
1663
- "kind": "method",
1664
- "name": "findExpandedItem",
1665
- "privacy": "private",
1666
- "return": {
1667
- "type": {
1668
- "text": "AccordionItem | null"
1669
- }
1632
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1670
1633
  },
1634
+ "privacy": "public",
1635
+ "default": "2",
1636
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1671
1637
  "inheritedFrom": {
1672
- "name": "Accordion",
1673
- "module": "src/accordion/accordion.ts"
1638
+ "name": "AccordionItem",
1639
+ "module": "src/accordion-item/accordion-item.ts"
1674
1640
  }
1675
1641
  },
1676
1642
  {
1677
1643
  "kind": "field",
1678
- "name": "setItems",
1679
- "privacy": "private",
1680
- "inheritedFrom": {
1681
- "name": "Accordion",
1682
- "module": "src/accordion/accordion.ts"
1683
- }
1684
- },
1685
- {
1686
- "kind": "method",
1687
- "name": "resetItems",
1688
- "privacy": "private",
1689
- "return": {
1690
- "type": {
1691
- "text": "void"
1692
- }
1644
+ "name": "expanded",
1645
+ "type": {
1646
+ "text": "boolean"
1693
1647
  },
1648
+ "privacy": "public",
1649
+ "default": "false",
1650
+ "description": "Expands or collapses the item.",
1694
1651
  "inheritedFrom": {
1695
- "name": "Accordion",
1696
- "module": "src/accordion/accordion.ts"
1697
- }
1698
- },
1699
- {
1700
- "kind": "field",
1701
- "name": "removeItemListeners",
1702
- "privacy": "private",
1703
- "inheritedFrom": {
1704
- "name": "Accordion",
1705
- "module": "src/accordion/accordion.ts"
1652
+ "name": "AccordionItem",
1653
+ "module": "src/accordion-item/accordion-item.ts"
1706
1654
  }
1707
1655
  },
1708
1656
  {
1709
1657
  "kind": "field",
1710
- "name": "activeItemChange",
1711
- "privacy": "private",
1712
- "inheritedFrom": {
1713
- "name": "Accordion",
1714
- "module": "src/accordion/accordion.ts"
1715
- }
1716
- },
1717
- {
1718
- "kind": "method",
1719
- "name": "getItemIds",
1720
- "privacy": "private",
1721
- "return": {
1722
- "type": {
1723
- "text": "Array<string | null>"
1724
- }
1725
- },
1726
- "inheritedFrom": {
1727
- "name": "Accordion",
1728
- "module": "src/accordion/accordion.ts"
1729
- }
1730
- },
1731
- {
1732
- "kind": "method",
1733
- "name": "isSingleExpandMode",
1734
- "privacy": "private",
1735
- "return": {
1736
- "type": {
1737
- "text": "boolean"
1738
- }
1658
+ "name": "id",
1659
+ "type": {
1660
+ "text": "string"
1739
1661
  },
1662
+ "privacy": "public",
1663
+ "description": "The item ID",
1740
1664
  "inheritedFrom": {
1741
- "name": "Accordion",
1742
- "module": "src/accordion/accordion.ts"
1743
- }
1744
- },
1745
- {
1746
- "kind": "field",
1747
- "name": "handleItemKeyDown",
1748
- "privacy": "private",
1749
- "inheritedFrom": {
1750
- "name": "Accordion",
1751
- "module": "src/accordion/accordion.ts"
1665
+ "name": "AccordionItem",
1666
+ "module": "src/accordion-item/accordion-item.ts"
1752
1667
  }
1753
1668
  },
1754
1669
  {
1755
1670
  "kind": "field",
1756
- "name": "handleItemFocus",
1757
- "privacy": "private",
1758
- "inheritedFrom": {
1759
- "name": "Accordion",
1760
- "module": "src/accordion/accordion.ts"
1761
- }
1762
- },
1763
- {
1764
- "kind": "method",
1765
- "name": "adjust",
1766
- "privacy": "private",
1767
- "return": {
1768
- "type": {
1769
- "text": "void"
1770
- }
1771
- },
1772
- "parameters": [
1773
- {
1774
- "name": "adjustment",
1775
- "type": {
1776
- "text": "number"
1777
- }
1778
- }
1779
- ],
1780
- "inheritedFrom": {
1781
- "name": "Accordion",
1782
- "module": "src/accordion/accordion.ts"
1783
- }
1784
- },
1785
- {
1786
- "kind": "method",
1787
- "name": "focusItem",
1671
+ "name": "change",
1788
1672
  "privacy": "private",
1789
- "return": {
1790
- "type": {
1791
- "text": "void"
1792
- }
1793
- },
1794
1673
  "inheritedFrom": {
1795
- "name": "Accordion",
1796
- "module": "src/accordion/accordion.ts"
1674
+ "name": "AccordionItem",
1675
+ "module": "src/accordion-item/accordion-item.ts"
1797
1676
  }
1798
1677
  },
1799
1678
  {
@@ -1910,18 +1789,18 @@
1910
1789
  ],
1911
1790
  "events": [
1912
1791
  {
1913
- "description": "Fires a custom 'change' event when the active item changes",
1792
+ "description": "Fires a custom 'change' event when the button is invoked",
1914
1793
  "name": "change",
1915
1794
  "inheritedFrom": {
1916
- "name": "Accordion",
1917
- "module": "src/accordion/accordion.ts"
1795
+ "name": "AccordionItem",
1796
+ "module": "src/accordion-item/accordion-item.ts"
1918
1797
  }
1919
1798
  }
1920
1799
  ]
1921
1800
  },
1922
1801
  {
1923
1802
  "kind": "variable",
1924
- "name": "foundationAccordionShadowOptions",
1803
+ "name": "foundationAccordionItemShadowOptions",
1925
1804
  "type": {
1926
1805
  "text": "ShadowRootInit"
1927
1806
  },
@@ -1929,88 +1808,57 @@
1929
1808
  },
1930
1809
  {
1931
1810
  "kind": "variable",
1932
- "name": "defaultAccordionConfig",
1811
+ "name": "defaultAccordionItemConfig",
1933
1812
  "type": {
1934
1813
  "text": "object"
1935
1814
  },
1936
- "default": "{}"
1815
+ "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}"
1937
1816
  },
1938
1817
  {
1939
1818
  "kind": "variable",
1940
- "name": "foundationAccordion",
1941
- "description": "The Foundation Accordion",
1819
+ "name": "foundationAccordionItem",
1820
+ "description": "The Foundation Accordion Item",
1942
1821
  "privacy": "public"
1943
1822
  }
1944
1823
  ],
1945
1824
  "exports": [
1946
1825
  {
1947
1826
  "kind": "js",
1948
- "name": "Accordion",
1949
- "declaration": {
1950
- "name": "Accordion",
1951
- "module": "src/accordion/accordion.ts"
1952
- }
1953
- },
1954
- {
1955
- "kind": "js",
1956
- "name": "foundationAccordionShadowOptions",
1957
- "declaration": {
1958
- "name": "foundationAccordionShadowOptions",
1959
- "module": "src/accordion/accordion.ts"
1960
- }
1961
- },
1962
- {
1963
- "kind": "js",
1964
- "name": "defaultAccordionConfig",
1827
+ "name": "AccordionItem",
1965
1828
  "declaration": {
1966
- "name": "defaultAccordionConfig",
1967
- "module": "src/accordion/accordion.ts"
1829
+ "name": "AccordionItem",
1830
+ "module": "src/accordion-item/accordion-item.ts"
1968
1831
  }
1969
1832
  },
1970
1833
  {
1971
1834
  "kind": "js",
1972
- "name": "foundationAccordion",
1973
- "declaration": {
1974
- "name": "foundationAccordion",
1975
- "module": "src/accordion/accordion.ts"
1976
- }
1977
- }
1978
- ]
1979
- },
1980
- {
1981
- "kind": "javascript-module",
1982
- "path": "src/accordion/index.ts",
1983
- "declarations": [],
1984
- "exports": [
1985
- {
1986
- "kind": "js",
1987
- "name": "*",
1835
+ "name": "foundationAccordionItemShadowOptions",
1988
1836
  "declaration": {
1989
- "name": "*",
1990
- "package": "./accordion.template"
1837
+ "name": "foundationAccordionItemShadowOptions",
1838
+ "module": "src/accordion-item/accordion-item.ts"
1991
1839
  }
1992
1840
  },
1993
1841
  {
1994
1842
  "kind": "js",
1995
- "name": "*",
1843
+ "name": "defaultAccordionItemConfig",
1996
1844
  "declaration": {
1997
- "name": "*",
1998
- "package": "./accordion.styles"
1845
+ "name": "defaultAccordionItemConfig",
1846
+ "module": "src/accordion-item/accordion-item.ts"
1999
1847
  }
2000
1848
  },
2001
1849
  {
2002
1850
  "kind": "js",
2003
- "name": "*",
1851
+ "name": "foundationAccordionItem",
2004
1852
  "declaration": {
2005
- "name": "*",
2006
- "package": "./accordion"
1853
+ "name": "foundationAccordionItem",
1854
+ "module": "src/accordion-item/accordion-item.ts"
2007
1855
  }
2008
1856
  }
2009
1857
  ]
2010
1858
  },
2011
1859
  {
2012
1860
  "kind": "javascript-module",
2013
- "path": "src/_config/index.ts",
1861
+ "path": "src/accordion-item/index.ts",
2014
1862
  "declarations": [],
2015
1863
  "exports": [
2016
1864
  {
@@ -2018,7 +1866,7 @@
2018
1866
  "name": "*",
2019
1867
  "declaration": {
2020
1868
  "name": "*",
2021
- "package": "./styles"
1869
+ "package": "./accordion-item.template"
2022
1870
  }
2023
1871
  },
2024
1872
  {
@@ -2026,7 +1874,7 @@
2026
1874
  "name": "*",
2027
1875
  "declaration": {
2028
1876
  "name": "*",
2029
- "package": "./tokens"
1877
+ "package": "./accordion-item.styles"
2030
1878
  }
2031
1879
  },
2032
1880
  {
@@ -2034,7 +1882,7 @@
2034
1882
  "name": "*",
2035
1883
  "declaration": {
2036
1884
  "name": "*",
2037
- "package": "./values"
1885
+ "package": "./accordion-item"
2038
1886
  }
2039
1887
  }
2040
1888
  ]
@@ -2612,11 +2460,11 @@
2612
2460
  },
2613
2461
  {
2614
2462
  "kind": "javascript-module",
2615
- "path": "src/accordion-item/accordion-item.styles.ts",
2463
+ "path": "src/accordion/accordion.styles.ts",
2616
2464
  "declarations": [
2617
2465
  {
2618
2466
  "kind": "function",
2619
- "name": "foundationAccordionItemStyles",
2467
+ "name": "foundationAccordionStyles",
2620
2468
  "return": {
2621
2469
  "type": {
2622
2470
  "text": "ElementStyles"
@@ -2641,24 +2489,24 @@
2641
2489
  "exports": [
2642
2490
  {
2643
2491
  "kind": "js",
2644
- "name": "foundationAccordionItemStyles",
2492
+ "name": "foundationAccordionStyles",
2645
2493
  "declaration": {
2646
- "name": "foundationAccordionItemStyles",
2647
- "module": "src/accordion-item/accordion-item.styles.ts"
2494
+ "name": "foundationAccordionStyles",
2495
+ "module": "src/accordion/accordion.styles.ts"
2648
2496
  }
2649
2497
  }
2650
2498
  ]
2651
2499
  },
2652
2500
  {
2653
2501
  "kind": "javascript-module",
2654
- "path": "src/accordion-item/accordion-item.template.ts",
2502
+ "path": "src/accordion/accordion.template.ts",
2655
2503
  "declarations": [
2656
2504
  {
2657
2505
  "kind": "function",
2658
- "name": "foundationAccordionItemTemplate",
2506
+ "name": "foundationAccordionTemplate",
2659
2507
  "return": {
2660
2508
  "type": {
2661
- "text": "ViewTemplate<AccordionItem>"
2509
+ "text": "ViewTemplate<Accordion>"
2662
2510
  }
2663
2511
  },
2664
2512
  "parameters": [
@@ -2680,116 +2528,237 @@
2680
2528
  "exports": [
2681
2529
  {
2682
2530
  "kind": "js",
2683
- "name": "foundationAccordionItemTemplate",
2531
+ "name": "foundationAccordionTemplate",
2684
2532
  "declaration": {
2685
- "name": "foundationAccordionItemTemplate",
2686
- "module": "src/accordion-item/accordion-item.template.ts"
2533
+ "name": "foundationAccordionTemplate",
2534
+ "module": "src/accordion/accordion.template.ts"
2687
2535
  }
2688
2536
  }
2689
2537
  ]
2690
2538
  },
2691
2539
  {
2692
2540
  "kind": "javascript-module",
2693
- "path": "src/accordion-item/accordion-item.ts",
2541
+ "path": "src/accordion/accordion.ts",
2694
2542
  "declarations": [
2695
2543
  {
2696
2544
  "kind": "class",
2697
2545
  "description": "",
2698
- "name": "AccordionItem",
2546
+ "name": "Accordion",
2699
2547
  "superclass": {
2700
- "name": "FASTAccordionItem",
2701
- "package": "@microsoft/fast-components"
2548
+ "name": "FASTAccordion",
2549
+ "package": "@microsoft/fast-foundation"
2702
2550
  },
2703
- "tagName": "%%prefix%%-accordion-item",
2551
+ "tagName": "%%prefix%%-accordion",
2704
2552
  "customElement": true,
2705
2553
  "attributes": [
2706
2554
  {
2707
- "name": "heading-level",
2555
+ "name": "expand-mode",
2708
2556
  "type": {
2709
- "text": "1 | 2 | 3 | 4 | 5 | 6"
2557
+ "text": "AccordionExpandMode"
2710
2558
  },
2711
- "default": "2",
2712
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2713
- "fieldName": "headinglevel",
2559
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2560
+ "fieldName": "expandmode",
2714
2561
  "inheritedFrom": {
2715
- "name": "AccordionItem",
2716
- "module": "src/accordion-item/accordion-item.ts"
2562
+ "name": "Accordion",
2563
+ "module": "src/accordion/accordion.ts"
2717
2564
  }
2718
- },
2565
+ }
2566
+ ],
2567
+ "members": [
2719
2568
  {
2569
+ "kind": "field",
2570
+ "name": "expandmode",
2720
2571
  "type": {
2721
- "text": "boolean"
2572
+ "text": "AccordionExpandMode"
2722
2573
  },
2723
- "default": "false",
2724
- "description": "Expands or collapses the item.",
2725
- "fieldName": "expanded",
2574
+ "privacy": "public",
2575
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2726
2576
  "inheritedFrom": {
2727
- "name": "AccordionItem",
2728
- "module": "src/accordion-item/accordion-item.ts"
2577
+ "name": "Accordion",
2578
+ "module": "src/accordion/accordion.ts"
2729
2579
  }
2730
2580
  },
2731
2581
  {
2732
- "name": "id",
2582
+ "kind": "field",
2583
+ "name": "activeid",
2733
2584
  "type": {
2734
- "text": "string"
2585
+ "text": "string | null"
2735
2586
  },
2736
- "description": "The item ID",
2737
- "fieldName": "id",
2587
+ "privacy": "private",
2738
2588
  "inheritedFrom": {
2739
- "name": "AccordionItem",
2740
- "module": "src/accordion-item/accordion-item.ts"
2589
+ "name": "Accordion",
2590
+ "module": "src/accordion/accordion.ts"
2741
2591
  }
2742
- }
2743
- ],
2744
- "members": [
2592
+ },
2745
2593
  {
2746
2594
  "kind": "field",
2747
- "name": "headinglevel",
2595
+ "name": "activeItemIndex",
2748
2596
  "type": {
2749
- "text": "1 | 2 | 3 | 4 | 5 | 6"
2597
+ "text": "number"
2750
2598
  },
2751
- "privacy": "public",
2752
- "default": "2",
2753
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2599
+ "privacy": "private",
2600
+ "default": "0",
2754
2601
  "inheritedFrom": {
2755
- "name": "AccordionItem",
2756
- "module": "src/accordion-item/accordion-item.ts"
2602
+ "name": "Accordion",
2603
+ "module": "src/accordion/accordion.ts"
2757
2604
  }
2758
2605
  },
2759
2606
  {
2760
2607
  "kind": "field",
2761
- "name": "expanded",
2608
+ "name": "accordionIds",
2762
2609
  "type": {
2763
- "text": "boolean"
2610
+ "text": "Array<string | null>"
2764
2611
  },
2765
- "privacy": "public",
2766
- "default": "false",
2767
- "description": "Expands or collapses the item.",
2612
+ "privacy": "private",
2768
2613
  "inheritedFrom": {
2769
- "name": "AccordionItem",
2770
- "module": "src/accordion-item/accordion-item.ts"
2614
+ "name": "Accordion",
2615
+ "module": "src/accordion/accordion.ts"
2771
2616
  }
2772
2617
  },
2773
2618
  {
2774
2619
  "kind": "field",
2775
- "name": "id",
2776
- "type": {
2777
- "text": "string"
2620
+ "name": "change",
2621
+ "privacy": "private",
2622
+ "inheritedFrom": {
2623
+ "name": "Accordion",
2624
+ "module": "src/accordion/accordion.ts"
2625
+ }
2626
+ },
2627
+ {
2628
+ "kind": "method",
2629
+ "name": "findExpandedItem",
2630
+ "privacy": "private",
2631
+ "return": {
2632
+ "type": {
2633
+ "text": "AccordionItem | null"
2634
+ }
2778
2635
  },
2779
- "privacy": "public",
2780
- "description": "The item ID",
2781
2636
  "inheritedFrom": {
2782
- "name": "AccordionItem",
2783
- "module": "src/accordion-item/accordion-item.ts"
2637
+ "name": "Accordion",
2638
+ "module": "src/accordion/accordion.ts"
2784
2639
  }
2785
2640
  },
2786
2641
  {
2787
2642
  "kind": "field",
2788
- "name": "change",
2643
+ "name": "setItems",
2789
2644
  "privacy": "private",
2790
2645
  "inheritedFrom": {
2791
- "name": "AccordionItem",
2792
- "module": "src/accordion-item/accordion-item.ts"
2646
+ "name": "Accordion",
2647
+ "module": "src/accordion/accordion.ts"
2648
+ }
2649
+ },
2650
+ {
2651
+ "kind": "method",
2652
+ "name": "resetItems",
2653
+ "privacy": "private",
2654
+ "return": {
2655
+ "type": {
2656
+ "text": "void"
2657
+ }
2658
+ },
2659
+ "inheritedFrom": {
2660
+ "name": "Accordion",
2661
+ "module": "src/accordion/accordion.ts"
2662
+ }
2663
+ },
2664
+ {
2665
+ "kind": "field",
2666
+ "name": "removeItemListeners",
2667
+ "privacy": "private",
2668
+ "inheritedFrom": {
2669
+ "name": "Accordion",
2670
+ "module": "src/accordion/accordion.ts"
2671
+ }
2672
+ },
2673
+ {
2674
+ "kind": "field",
2675
+ "name": "activeItemChange",
2676
+ "privacy": "private",
2677
+ "inheritedFrom": {
2678
+ "name": "Accordion",
2679
+ "module": "src/accordion/accordion.ts"
2680
+ }
2681
+ },
2682
+ {
2683
+ "kind": "method",
2684
+ "name": "getItemIds",
2685
+ "privacy": "private",
2686
+ "return": {
2687
+ "type": {
2688
+ "text": "Array<string | null>"
2689
+ }
2690
+ },
2691
+ "inheritedFrom": {
2692
+ "name": "Accordion",
2693
+ "module": "src/accordion/accordion.ts"
2694
+ }
2695
+ },
2696
+ {
2697
+ "kind": "method",
2698
+ "name": "isSingleExpandMode",
2699
+ "privacy": "private",
2700
+ "return": {
2701
+ "type": {
2702
+ "text": "boolean"
2703
+ }
2704
+ },
2705
+ "inheritedFrom": {
2706
+ "name": "Accordion",
2707
+ "module": "src/accordion/accordion.ts"
2708
+ }
2709
+ },
2710
+ {
2711
+ "kind": "field",
2712
+ "name": "handleItemKeyDown",
2713
+ "privacy": "private",
2714
+ "inheritedFrom": {
2715
+ "name": "Accordion",
2716
+ "module": "src/accordion/accordion.ts"
2717
+ }
2718
+ },
2719
+ {
2720
+ "kind": "field",
2721
+ "name": "handleItemFocus",
2722
+ "privacy": "private",
2723
+ "inheritedFrom": {
2724
+ "name": "Accordion",
2725
+ "module": "src/accordion/accordion.ts"
2726
+ }
2727
+ },
2728
+ {
2729
+ "kind": "method",
2730
+ "name": "adjust",
2731
+ "privacy": "private",
2732
+ "return": {
2733
+ "type": {
2734
+ "text": "void"
2735
+ }
2736
+ },
2737
+ "parameters": [
2738
+ {
2739
+ "name": "adjustment",
2740
+ "type": {
2741
+ "text": "number"
2742
+ }
2743
+ }
2744
+ ],
2745
+ "inheritedFrom": {
2746
+ "name": "Accordion",
2747
+ "module": "src/accordion/accordion.ts"
2748
+ }
2749
+ },
2750
+ {
2751
+ "kind": "method",
2752
+ "name": "focusItem",
2753
+ "privacy": "private",
2754
+ "return": {
2755
+ "type": {
2756
+ "text": "void"
2757
+ }
2758
+ },
2759
+ "inheritedFrom": {
2760
+ "name": "Accordion",
2761
+ "module": "src/accordion/accordion.ts"
2793
2762
  }
2794
2763
  },
2795
2764
  {
@@ -2906,18 +2875,18 @@
2906
2875
  ],
2907
2876
  "events": [
2908
2877
  {
2909
- "description": "Fires a custom 'change' event when the button is invoked",
2878
+ "description": "Fires a custom 'change' event when the active item changes",
2910
2879
  "name": "change",
2911
2880
  "inheritedFrom": {
2912
- "name": "AccordionItem",
2913
- "module": "src/accordion-item/accordion-item.ts"
2881
+ "name": "Accordion",
2882
+ "module": "src/accordion/accordion.ts"
2914
2883
  }
2915
2884
  }
2916
2885
  ]
2917
2886
  },
2918
2887
  {
2919
2888
  "kind": "variable",
2920
- "name": "foundationAccordionItemShadowOptions",
2889
+ "name": "foundationAccordionShadowOptions",
2921
2890
  "type": {
2922
2891
  "text": "ShadowRootInit"
2923
2892
  },
@@ -2925,81 +2894,530 @@
2925
2894
  },
2926
2895
  {
2927
2896
  "kind": "variable",
2928
- "name": "defaultAccordionItemConfig",
2897
+ "name": "defaultAccordionConfig",
2929
2898
  "type": {
2930
2899
  "text": "object"
2931
2900
  },
2932
- "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}"
2901
+ "default": "{}"
2902
+ },
2903
+ {
2904
+ "kind": "variable",
2905
+ "name": "foundationAccordion",
2906
+ "description": "The Foundation Accordion",
2907
+ "privacy": "public"
2908
+ }
2909
+ ],
2910
+ "exports": [
2911
+ {
2912
+ "kind": "js",
2913
+ "name": "Accordion",
2914
+ "declaration": {
2915
+ "name": "Accordion",
2916
+ "module": "src/accordion/accordion.ts"
2917
+ }
2918
+ },
2919
+ {
2920
+ "kind": "js",
2921
+ "name": "foundationAccordionShadowOptions",
2922
+ "declaration": {
2923
+ "name": "foundationAccordionShadowOptions",
2924
+ "module": "src/accordion/accordion.ts"
2925
+ }
2926
+ },
2927
+ {
2928
+ "kind": "js",
2929
+ "name": "defaultAccordionConfig",
2930
+ "declaration": {
2931
+ "name": "defaultAccordionConfig",
2932
+ "module": "src/accordion/accordion.ts"
2933
+ }
2934
+ },
2935
+ {
2936
+ "kind": "js",
2937
+ "name": "foundationAccordion",
2938
+ "declaration": {
2939
+ "name": "foundationAccordion",
2940
+ "module": "src/accordion/accordion.ts"
2941
+ }
2942
+ }
2943
+ ]
2944
+ },
2945
+ {
2946
+ "kind": "javascript-module",
2947
+ "path": "src/accordion/index.ts",
2948
+ "declarations": [],
2949
+ "exports": [
2950
+ {
2951
+ "kind": "js",
2952
+ "name": "*",
2953
+ "declaration": {
2954
+ "name": "*",
2955
+ "package": "./accordion.template"
2956
+ }
2957
+ },
2958
+ {
2959
+ "kind": "js",
2960
+ "name": "*",
2961
+ "declaration": {
2962
+ "name": "*",
2963
+ "package": "./accordion.styles"
2964
+ }
2965
+ },
2966
+ {
2967
+ "kind": "js",
2968
+ "name": "*",
2969
+ "declaration": {
2970
+ "name": "*",
2971
+ "package": "./accordion"
2972
+ }
2973
+ }
2974
+ ]
2975
+ },
2976
+ {
2977
+ "kind": "javascript-module",
2978
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
2979
+ "declarations": [
2980
+ {
2981
+ "kind": "function",
2982
+ "name": "foundationAiIndicatorStyles",
2983
+ "return": {
2984
+ "type": {
2985
+ "text": "ElementStyles"
2986
+ }
2987
+ },
2988
+ "parameters": [
2989
+ {
2990
+ "name": "context",
2991
+ "type": {
2992
+ "text": "ElementDefinitionContext"
2993
+ }
2994
+ },
2995
+ {
2996
+ "name": "definition",
2997
+ "type": {
2998
+ "text": "FoundationElementDefinition"
2999
+ }
3000
+ }
3001
+ ]
3002
+ }
3003
+ ],
3004
+ "exports": [
3005
+ {
3006
+ "kind": "js",
3007
+ "name": "foundationAiIndicatorStyles",
3008
+ "declaration": {
3009
+ "name": "foundationAiIndicatorStyles",
3010
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3011
+ }
3012
+ }
3013
+ ]
3014
+ },
3015
+ {
3016
+ "kind": "javascript-module",
3017
+ "path": "src/ai-indicator/ai-indicator.template.ts",
3018
+ "declarations": [
3019
+ {
3020
+ "kind": "variable",
3021
+ "name": "foundationAiIndicatorTemplate",
3022
+ "type": {
3023
+ "text": "ViewTemplate<AiIndicator>"
3024
+ },
3025
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3026
+ }
3027
+ ],
3028
+ "exports": [
3029
+ {
3030
+ "kind": "js",
3031
+ "name": "foundationAiIndicatorTemplate",
3032
+ "declaration": {
3033
+ "name": "foundationAiIndicatorTemplate",
3034
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3035
+ }
3036
+ }
3037
+ ]
3038
+ },
3039
+ {
3040
+ "kind": "javascript-module",
3041
+ "path": "src/ai-indicator/ai-indicator.ts",
3042
+ "declarations": [
3043
+ {
3044
+ "kind": "class",
3045
+ "description": "",
3046
+ "name": "AiIndicator",
3047
+ "members": [
3048
+ {
3049
+ "kind": "field",
3050
+ "name": "providerRegistry",
3051
+ "type": {
3052
+ "text": "AIProviderRegistry"
3053
+ }
3054
+ },
3055
+ {
3056
+ "kind": "field",
3057
+ "name": "aiProvider",
3058
+ "type": {
3059
+ "text": "AIProvider | undefined"
3060
+ },
3061
+ "privacy": "private",
3062
+ "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.",
3063
+ "readonly": true
3064
+ },
3065
+ {
3066
+ "kind": "field",
3067
+ "name": "status",
3068
+ "type": {
3069
+ "text": "AIStatus | null"
3070
+ },
3071
+ "default": "null"
3072
+ },
3073
+ {
3074
+ "kind": "field",
3075
+ "name": "open",
3076
+ "type": {
3077
+ "text": "boolean"
3078
+ },
3079
+ "default": "false"
3080
+ },
3081
+ {
3082
+ "kind": "field",
3083
+ "name": "state",
3084
+ "type": {
3085
+ "text": "AIIndicatorState"
3086
+ },
3087
+ "default": "'none'"
3088
+ },
3089
+ {
3090
+ "kind": "field",
3091
+ "name": "isInstalling",
3092
+ "type": {
3093
+ "text": "boolean"
3094
+ },
3095
+ "default": "false"
3096
+ },
3097
+ {
3098
+ "kind": "field",
3099
+ "name": "pollTimer",
3100
+ "type": {
3101
+ "text": "ReturnType<typeof setInterval> | null"
3102
+ },
3103
+ "privacy": "private",
3104
+ "default": "null"
3105
+ },
3106
+ {
3107
+ "kind": "field",
3108
+ "name": "clickOutside",
3109
+ "privacy": "private"
3110
+ },
3111
+ {
3112
+ "kind": "field",
3113
+ "name": "chromeStatusLabel",
3114
+ "type": {
3115
+ "text": "string | null"
3116
+ },
3117
+ "readonly": true
3118
+ },
3119
+ {
3120
+ "kind": "field",
3121
+ "name": "canInstall",
3122
+ "type": {
3123
+ "text": "boolean"
3124
+ },
3125
+ "readonly": true
3126
+ },
3127
+ {
3128
+ "kind": "field",
3129
+ "name": "isDownloading",
3130
+ "type": {
3131
+ "text": "boolean"
3132
+ },
3133
+ "readonly": true
3134
+ },
3135
+ {
3136
+ "kind": "method",
3137
+ "name": "openChanged",
3138
+ "return": {
3139
+ "type": {
3140
+ "text": "void"
3141
+ }
3142
+ }
3143
+ },
3144
+ {
3145
+ "kind": "method",
3146
+ "name": "handleClickOutside",
3147
+ "privacy": "private",
3148
+ "parameters": [
3149
+ {
3150
+ "name": "event",
3151
+ "type": {
3152
+ "text": "MouseEvent"
3153
+ }
3154
+ }
3155
+ ]
3156
+ },
3157
+ {
3158
+ "kind": "method",
3159
+ "name": "toggleDropdown"
3160
+ },
3161
+ {
3162
+ "kind": "method",
3163
+ "name": "refreshStatus",
3164
+ "return": {
3165
+ "type": {
3166
+ "text": "Promise<void>"
3167
+ }
3168
+ }
3169
+ },
3170
+ {
3171
+ "kind": "method",
3172
+ "name": "deriveState",
3173
+ "privacy": "private",
3174
+ "return": {
3175
+ "type": {
3176
+ "text": "AIIndicatorState"
3177
+ }
3178
+ },
3179
+ "parameters": [
3180
+ {
3181
+ "name": "s",
3182
+ "type": {
3183
+ "text": "AIStatus | null"
3184
+ }
3185
+ }
3186
+ ]
3187
+ },
3188
+ {
3189
+ "kind": "method",
3190
+ "name": "maybeStartPolling",
3191
+ "privacy": "private",
3192
+ "return": {
3193
+ "type": {
3194
+ "text": "void"
3195
+ }
3196
+ }
3197
+ },
3198
+ {
3199
+ "kind": "method",
3200
+ "name": "startPolling",
3201
+ "privacy": "private",
3202
+ "return": {
3203
+ "type": {
3204
+ "text": "void"
3205
+ }
3206
+ }
3207
+ },
3208
+ {
3209
+ "kind": "method",
3210
+ "name": "stopPolling",
3211
+ "privacy": "private",
3212
+ "return": {
3213
+ "type": {
3214
+ "text": "void"
3215
+ }
3216
+ }
3217
+ },
3218
+ {
3219
+ "kind": "method",
3220
+ "name": "onInstall",
3221
+ "return": {
3222
+ "type": {
3223
+ "text": "Promise<void>"
3224
+ }
3225
+ }
3226
+ },
3227
+ {
3228
+ "kind": "field",
3229
+ "name": "_presentation",
3230
+ "type": {
3231
+ "text": "ComponentPresentation | null | undefined"
3232
+ },
3233
+ "privacy": "private",
3234
+ "default": "void 0",
3235
+ "inheritedFrom": {
3236
+ "name": "FoundationElement",
3237
+ "module": "src/foundation-element/foundation-element.ts"
3238
+ }
3239
+ },
3240
+ {
3241
+ "kind": "field",
3242
+ "name": "$presentation",
3243
+ "type": {
3244
+ "text": "ComponentPresentation | null"
3245
+ },
3246
+ "privacy": "public",
3247
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3248
+ "inheritedFrom": {
3249
+ "name": "FoundationElement",
3250
+ "module": "src/foundation-element/foundation-element.ts"
3251
+ }
3252
+ },
3253
+ {
3254
+ "kind": "field",
3255
+ "name": "template",
3256
+ "type": {
3257
+ "text": "ElementViewTemplate | void | null"
3258
+ },
3259
+ "privacy": "public",
3260
+ "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.",
3261
+ "inheritedFrom": {
3262
+ "name": "FoundationElement",
3263
+ "module": "src/foundation-element/foundation-element.ts"
3264
+ }
3265
+ },
3266
+ {
3267
+ "kind": "method",
3268
+ "name": "templateChanged",
3269
+ "privacy": "protected",
3270
+ "return": {
3271
+ "type": {
3272
+ "text": "void"
3273
+ }
3274
+ },
3275
+ "inheritedFrom": {
3276
+ "name": "FoundationElement",
3277
+ "module": "src/foundation-element/foundation-element.ts"
3278
+ }
3279
+ },
3280
+ {
3281
+ "kind": "field",
3282
+ "name": "styles",
3283
+ "type": {
3284
+ "text": "ElementStyles | void | null"
3285
+ },
3286
+ "privacy": "public",
3287
+ "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.",
3288
+ "inheritedFrom": {
3289
+ "name": "FoundationElement",
3290
+ "module": "src/foundation-element/foundation-element.ts"
3291
+ }
3292
+ },
3293
+ {
3294
+ "kind": "method",
3295
+ "name": "stylesChanged",
3296
+ "privacy": "protected",
3297
+ "return": {
3298
+ "type": {
3299
+ "text": "void"
3300
+ }
3301
+ },
3302
+ "inheritedFrom": {
3303
+ "name": "FoundationElement",
3304
+ "module": "src/foundation-element/foundation-element.ts"
3305
+ }
3306
+ },
3307
+ {
3308
+ "kind": "method",
3309
+ "name": "compose",
3310
+ "privacy": "public",
3311
+ "static": true,
3312
+ "return": {
3313
+ "type": {
3314
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3315
+ }
3316
+ },
3317
+ "parameters": [
3318
+ {
3319
+ "name": "this",
3320
+ "type": {
3321
+ "text": "K"
3322
+ }
3323
+ },
3324
+ {
3325
+ "name": "elementDefinition",
3326
+ "type": {
3327
+ "text": "T"
3328
+ },
3329
+ "description": "The definition of the element to create the registry\nfunction for."
3330
+ }
3331
+ ],
3332
+ "description": "Defines an element registry function with a set of element definition defaults.",
3333
+ "inheritedFrom": {
3334
+ "name": "FoundationElement",
3335
+ "module": "src/foundation-element/foundation-element.ts"
3336
+ }
3337
+ }
3338
+ ],
3339
+ "superclass": {
3340
+ "name": "FoundationElement",
3341
+ "package": "@microsoft/fast-foundation"
3342
+ },
3343
+ "tagName": "%%prefix%%-ai-indicator",
3344
+ "customElement": true
2933
3345
  },
2934
3346
  {
2935
3347
  "kind": "variable",
2936
- "name": "foundationAccordionItem",
2937
- "description": "The Foundation Accordion Item",
2938
- "privacy": "public"
3348
+ "name": "foundationAiIndicator"
2939
3349
  }
2940
3350
  ],
2941
3351
  "exports": [
2942
3352
  {
2943
3353
  "kind": "js",
2944
- "name": "AccordionItem",
3354
+ "name": "AiIndicator",
2945
3355
  "declaration": {
2946
- "name": "AccordionItem",
2947
- "module": "src/accordion-item/accordion-item.ts"
3356
+ "name": "AiIndicator",
3357
+ "module": "src/ai-indicator/ai-indicator.ts"
2948
3358
  }
2949
3359
  },
2950
3360
  {
2951
3361
  "kind": "js",
2952
- "name": "foundationAccordionItemShadowOptions",
3362
+ "name": "foundationAiIndicator",
2953
3363
  "declaration": {
2954
- "name": "foundationAccordionItemShadowOptions",
2955
- "module": "src/accordion-item/accordion-item.ts"
3364
+ "name": "foundationAiIndicator",
3365
+ "module": "src/ai-indicator/ai-indicator.ts"
3366
+ }
3367
+ }
3368
+ ]
3369
+ },
3370
+ {
3371
+ "kind": "javascript-module",
3372
+ "path": "src/ai-indicator/index.ts",
3373
+ "declarations": [],
3374
+ "exports": [
3375
+ {
3376
+ "kind": "js",
3377
+ "name": "AiIndicator",
3378
+ "declaration": {
3379
+ "name": "AiIndicator",
3380
+ "module": "./ai-indicator"
2956
3381
  }
2957
3382
  },
2958
3383
  {
2959
3384
  "kind": "js",
2960
- "name": "defaultAccordionItemConfig",
3385
+ "name": "foundationAiIndicator",
2961
3386
  "declaration": {
2962
- "name": "defaultAccordionItemConfig",
2963
- "module": "src/accordion-item/accordion-item.ts"
3387
+ "name": "foundationAiIndicator",
3388
+ "module": "./ai-indicator"
2964
3389
  }
2965
3390
  },
2966
3391
  {
2967
3392
  "kind": "js",
2968
- "name": "foundationAccordionItem",
3393
+ "name": "type",
2969
3394
  "declaration": {
2970
- "name": "foundationAccordionItem",
2971
- "module": "src/accordion-item/accordion-item.ts"
3395
+ "name": "type",
3396
+ "module": "./ai-indicator"
2972
3397
  }
2973
- }
2974
- ]
2975
- },
2976
- {
2977
- "kind": "javascript-module",
2978
- "path": "src/accordion-item/index.ts",
2979
- "declarations": [],
2980
- "exports": [
3398
+ },
2981
3399
  {
2982
3400
  "kind": "js",
2983
- "name": "*",
3401
+ "name": "AIIndicatorState",
2984
3402
  "declaration": {
2985
- "name": "*",
2986
- "package": "./accordion-item.template"
3403
+ "name": "AIIndicatorState",
3404
+ "module": "./ai-indicator"
2987
3405
  }
2988
3406
  },
2989
3407
  {
2990
3408
  "kind": "js",
2991
- "name": "*",
3409
+ "name": "foundationAiIndicatorTemplate",
2992
3410
  "declaration": {
2993
- "name": "*",
2994
- "package": "./accordion-item.styles"
3411
+ "name": "foundationAiIndicatorTemplate",
3412
+ "module": "./ai-indicator.template"
2995
3413
  }
2996
3414
  },
2997
3415
  {
2998
3416
  "kind": "js",
2999
- "name": "*",
3417
+ "name": "foundationAiIndicatorStyles",
3000
3418
  "declaration": {
3001
- "name": "*",
3002
- "package": "./accordion-item"
3419
+ "name": "foundationAiIndicatorStyles",
3420
+ "module": "./ai-indicator.styles"
3003
3421
  }
3004
3422
  }
3005
3423
  ]
@@ -3615,449 +4033,31 @@
3615
4033
  },
3616
4034
  {
3617
4035
  "kind": "javascript-module",
3618
- "path": "src/ai-indicator/ai-indicator.styles.ts",
3619
- "declarations": [
3620
- {
3621
- "kind": "function",
3622
- "name": "foundationAiIndicatorStyles",
3623
- "return": {
3624
- "type": {
3625
- "text": "ElementStyles"
3626
- }
3627
- },
3628
- "parameters": [
3629
- {
3630
- "name": "context",
3631
- "type": {
3632
- "text": "ElementDefinitionContext"
3633
- }
3634
- },
3635
- {
3636
- "name": "definition",
3637
- "type": {
3638
- "text": "FoundationElementDefinition"
3639
- }
3640
- }
3641
- ]
3642
- }
3643
- ],
3644
- "exports": [
3645
- {
3646
- "kind": "js",
3647
- "name": "foundationAiIndicatorStyles",
3648
- "declaration": {
3649
- "name": "foundationAiIndicatorStyles",
3650
- "module": "src/ai-indicator/ai-indicator.styles.ts"
3651
- }
3652
- }
3653
- ]
3654
- },
3655
- {
3656
- "kind": "javascript-module",
3657
- "path": "src/ai-indicator/ai-indicator.template.ts",
3658
- "declarations": [
3659
- {
3660
- "kind": "variable",
3661
- "name": "foundationAiIndicatorTemplate",
3662
- "type": {
3663
- "text": "ViewTemplate<AiIndicator>"
3664
- },
3665
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3666
- }
3667
- ],
3668
- "exports": [
3669
- {
3670
- "kind": "js",
3671
- "name": "foundationAiIndicatorTemplate",
3672
- "declaration": {
3673
- "name": "foundationAiIndicatorTemplate",
3674
- "module": "src/ai-indicator/ai-indicator.template.ts"
3675
- }
3676
- }
3677
- ]
3678
- },
3679
- {
3680
- "kind": "javascript-module",
3681
- "path": "src/ai-indicator/ai-indicator.ts",
3682
- "declarations": [
3683
- {
3684
- "kind": "class",
3685
- "description": "",
3686
- "name": "AiIndicator",
3687
- "members": [
3688
- {
3689
- "kind": "field",
3690
- "name": "providerRegistry",
3691
- "type": {
3692
- "text": "AIProviderRegistry"
3693
- }
3694
- },
3695
- {
3696
- "kind": "field",
3697
- "name": "aiProvider",
3698
- "type": {
3699
- "text": "AIProvider | undefined"
3700
- },
3701
- "privacy": "private",
3702
- "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.",
3703
- "readonly": true
3704
- },
3705
- {
3706
- "kind": "field",
3707
- "name": "status",
3708
- "type": {
3709
- "text": "AIStatus | null"
3710
- },
3711
- "default": "null"
3712
- },
3713
- {
3714
- "kind": "field",
3715
- "name": "open",
3716
- "type": {
3717
- "text": "boolean"
3718
- },
3719
- "default": "false"
3720
- },
3721
- {
3722
- "kind": "field",
3723
- "name": "state",
3724
- "type": {
3725
- "text": "AIIndicatorState"
3726
- },
3727
- "default": "'none'"
3728
- },
3729
- {
3730
- "kind": "field",
3731
- "name": "isInstalling",
3732
- "type": {
3733
- "text": "boolean"
3734
- },
3735
- "default": "false"
3736
- },
3737
- {
3738
- "kind": "field",
3739
- "name": "pollTimer",
3740
- "type": {
3741
- "text": "ReturnType<typeof setInterval> | null"
3742
- },
3743
- "privacy": "private",
3744
- "default": "null"
3745
- },
3746
- {
3747
- "kind": "field",
3748
- "name": "clickOutside",
3749
- "privacy": "private"
3750
- },
3751
- {
3752
- "kind": "field",
3753
- "name": "chromeStatusLabel",
3754
- "type": {
3755
- "text": "string | null"
3756
- },
3757
- "readonly": true
3758
- },
3759
- {
3760
- "kind": "field",
3761
- "name": "canInstall",
3762
- "type": {
3763
- "text": "boolean"
3764
- },
3765
- "readonly": true
3766
- },
3767
- {
3768
- "kind": "field",
3769
- "name": "isDownloading",
3770
- "type": {
3771
- "text": "boolean"
3772
- },
3773
- "readonly": true
3774
- },
3775
- {
3776
- "kind": "method",
3777
- "name": "openChanged",
3778
- "return": {
3779
- "type": {
3780
- "text": "void"
3781
- }
3782
- }
3783
- },
3784
- {
3785
- "kind": "method",
3786
- "name": "handleClickOutside",
3787
- "privacy": "private",
3788
- "parameters": [
3789
- {
3790
- "name": "event",
3791
- "type": {
3792
- "text": "MouseEvent"
3793
- }
3794
- }
3795
- ]
3796
- },
3797
- {
3798
- "kind": "method",
3799
- "name": "toggleDropdown"
3800
- },
3801
- {
3802
- "kind": "method",
3803
- "name": "refreshStatus",
3804
- "return": {
3805
- "type": {
3806
- "text": "Promise<void>"
3807
- }
3808
- }
3809
- },
3810
- {
3811
- "kind": "method",
3812
- "name": "deriveState",
3813
- "privacy": "private",
3814
- "return": {
3815
- "type": {
3816
- "text": "AIIndicatorState"
3817
- }
3818
- },
3819
- "parameters": [
3820
- {
3821
- "name": "s",
3822
- "type": {
3823
- "text": "AIStatus | null"
3824
- }
3825
- }
3826
- ]
3827
- },
3828
- {
3829
- "kind": "method",
3830
- "name": "maybeStartPolling",
3831
- "privacy": "private",
3832
- "return": {
3833
- "type": {
3834
- "text": "void"
3835
- }
3836
- }
3837
- },
3838
- {
3839
- "kind": "method",
3840
- "name": "startPolling",
3841
- "privacy": "private",
3842
- "return": {
3843
- "type": {
3844
- "text": "void"
3845
- }
3846
- }
3847
- },
3848
- {
3849
- "kind": "method",
3850
- "name": "stopPolling",
3851
- "privacy": "private",
3852
- "return": {
3853
- "type": {
3854
- "text": "void"
3855
- }
3856
- }
3857
- },
3858
- {
3859
- "kind": "method",
3860
- "name": "onInstall",
3861
- "return": {
3862
- "type": {
3863
- "text": "Promise<void>"
3864
- }
3865
- }
3866
- },
3867
- {
3868
- "kind": "field",
3869
- "name": "_presentation",
3870
- "type": {
3871
- "text": "ComponentPresentation | null | undefined"
3872
- },
3873
- "privacy": "private",
3874
- "default": "void 0",
3875
- "inheritedFrom": {
3876
- "name": "FoundationElement",
3877
- "module": "src/foundation-element/foundation-element.ts"
3878
- }
3879
- },
3880
- {
3881
- "kind": "field",
3882
- "name": "$presentation",
3883
- "type": {
3884
- "text": "ComponentPresentation | null"
3885
- },
3886
- "privacy": "public",
3887
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3888
- "inheritedFrom": {
3889
- "name": "FoundationElement",
3890
- "module": "src/foundation-element/foundation-element.ts"
3891
- }
3892
- },
3893
- {
3894
- "kind": "field",
3895
- "name": "template",
3896
- "type": {
3897
- "text": "ElementViewTemplate | void | null"
3898
- },
3899
- "privacy": "public",
3900
- "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.",
3901
- "inheritedFrom": {
3902
- "name": "FoundationElement",
3903
- "module": "src/foundation-element/foundation-element.ts"
3904
- }
3905
- },
3906
- {
3907
- "kind": "method",
3908
- "name": "templateChanged",
3909
- "privacy": "protected",
3910
- "return": {
3911
- "type": {
3912
- "text": "void"
3913
- }
3914
- },
3915
- "inheritedFrom": {
3916
- "name": "FoundationElement",
3917
- "module": "src/foundation-element/foundation-element.ts"
3918
- }
3919
- },
3920
- {
3921
- "kind": "field",
3922
- "name": "styles",
3923
- "type": {
3924
- "text": "ElementStyles | void | null"
3925
- },
3926
- "privacy": "public",
3927
- "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.",
3928
- "inheritedFrom": {
3929
- "name": "FoundationElement",
3930
- "module": "src/foundation-element/foundation-element.ts"
3931
- }
3932
- },
3933
- {
3934
- "kind": "method",
3935
- "name": "stylesChanged",
3936
- "privacy": "protected",
3937
- "return": {
3938
- "type": {
3939
- "text": "void"
3940
- }
3941
- },
3942
- "inheritedFrom": {
3943
- "name": "FoundationElement",
3944
- "module": "src/foundation-element/foundation-element.ts"
3945
- }
3946
- },
3947
- {
3948
- "kind": "method",
3949
- "name": "compose",
3950
- "privacy": "public",
3951
- "static": true,
3952
- "return": {
3953
- "type": {
3954
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3955
- }
3956
- },
3957
- "parameters": [
3958
- {
3959
- "name": "this",
3960
- "type": {
3961
- "text": "K"
3962
- }
3963
- },
3964
- {
3965
- "name": "elementDefinition",
3966
- "type": {
3967
- "text": "T"
3968
- },
3969
- "description": "The definition of the element to create the registry\nfunction for."
3970
- }
3971
- ],
3972
- "description": "Defines an element registry function with a set of element definition defaults.",
3973
- "inheritedFrom": {
3974
- "name": "FoundationElement",
3975
- "module": "src/foundation-element/foundation-element.ts"
3976
- }
3977
- }
3978
- ],
3979
- "superclass": {
3980
- "name": "FoundationElement",
3981
- "package": "@microsoft/fast-foundation"
3982
- },
3983
- "tagName": "%%prefix%%-ai-indicator",
3984
- "customElement": true
3985
- },
3986
- {
3987
- "kind": "variable",
3988
- "name": "foundationAiIndicator"
3989
- }
3990
- ],
3991
- "exports": [
3992
- {
3993
- "kind": "js",
3994
- "name": "AiIndicator",
3995
- "declaration": {
3996
- "name": "AiIndicator",
3997
- "module": "src/ai-indicator/ai-indicator.ts"
3998
- }
3999
- },
4000
- {
4001
- "kind": "js",
4002
- "name": "foundationAiIndicator",
4003
- "declaration": {
4004
- "name": "foundationAiIndicator",
4005
- "module": "src/ai-indicator/ai-indicator.ts"
4006
- }
4007
- }
4008
- ]
4009
- },
4010
- {
4011
- "kind": "javascript-module",
4012
- "path": "src/ai-indicator/index.ts",
4036
+ "path": "src/_config/index.ts",
4013
4037
  "declarations": [],
4014
4038
  "exports": [
4015
4039
  {
4016
4040
  "kind": "js",
4017
- "name": "AiIndicator",
4018
- "declaration": {
4019
- "name": "AiIndicator",
4020
- "module": "./ai-indicator"
4021
- }
4022
- },
4023
- {
4024
- "kind": "js",
4025
- "name": "foundationAiIndicator",
4026
- "declaration": {
4027
- "name": "foundationAiIndicator",
4028
- "module": "./ai-indicator"
4029
- }
4030
- },
4031
- {
4032
- "kind": "js",
4033
- "name": "type",
4034
- "declaration": {
4035
- "name": "type",
4036
- "module": "./ai-indicator"
4037
- }
4038
- },
4039
- {
4040
- "kind": "js",
4041
- "name": "AIIndicatorState",
4041
+ "name": "*",
4042
4042
  "declaration": {
4043
- "name": "AIIndicatorState",
4044
- "module": "./ai-indicator"
4043
+ "name": "*",
4044
+ "package": "./styles"
4045
4045
  }
4046
4046
  },
4047
4047
  {
4048
4048
  "kind": "js",
4049
- "name": "foundationAiIndicatorTemplate",
4049
+ "name": "*",
4050
4050
  "declaration": {
4051
- "name": "foundationAiIndicatorTemplate",
4052
- "module": "./ai-indicator.template"
4051
+ "name": "*",
4052
+ "package": "./tokens"
4053
4053
  }
4054
4054
  },
4055
4055
  {
4056
4056
  "kind": "js",
4057
- "name": "foundationAiIndicatorStyles",
4057
+ "name": "*",
4058
4058
  "declaration": {
4059
- "name": "foundationAiIndicatorStyles",
4060
- "module": "./ai-indicator.styles"
4059
+ "name": "*",
4060
+ "package": "./values"
4061
4061
  }
4062
4062
  }
4063
4063
  ]
@@ -6584,125 +6584,181 @@
6584
6584
  },
6585
6585
  {
6586
6586
  "kind": "javascript-module",
6587
- "path": "src/banner/banner.styles.ts",
6587
+ "path": "src/badge/badge.styles.ts",
6588
6588
  "declarations": [
6589
6589
  {
6590
- "kind": "variable",
6591
- "name": "foundationBannerStyles",
6592
- "type": {
6593
- "text": "ElementStyles"
6590
+ "kind": "function",
6591
+ "name": "foundationBadgeStyles",
6592
+ "return": {
6593
+ "type": {
6594
+ "text": "ElementStyles"
6595
+ }
6594
6596
  },
6595
- "default": "css`\n @keyframes delete-animate {\n from {\n height: 100px;\n opacity: 100%;\n }\n\n to {\n height: 0;\n opacity: 0%;\n }\n }\n\n @keyframes append-animate {\n from {\n height: 0;\n opacity: 0%;\n }\n\n to {\n height: var(--banner-height);\n opacity: 100%;\n }\n }\n\n :host {\n --banner-width: 100%;\n --banner-height: 65px;\n --flow: row;\n }\n\n @media screen and (max-width: 640px) {\n :host {\n --flow: column;\n --banner-height: 100px;\n }\n }\n\n .banner {\n animation: append-animate 0.3s linear;\n width: var(--banner-width);\n height: var(--banner-height);\n background-color: var(--fill-color);\n display: flex;\n flex-direction: var(--flow);\n padding: 5px 8px;\n box-sizing: border-box;\n overflow: hidden;\n }\n\n .banner-delete {\n animation: delete-animate 0.3s linear;\n opacity: 0%;\n }\n\n .content {\n display: flex;\n align-items: center;\n flex: 2;\n font-size: 12px;\n overflow: hidden;\n white-space: pre-line;\n }\n\n .action {\n display: flex;\n flex-direction: row-reverse;\n align-items: center;\n gap: 10px;\n flex: 1;\n overflow: hidden;\n }\n`"
6597
+ "parameters": [
6598
+ {
6599
+ "name": "context",
6600
+ "type": {
6601
+ "text": "ElementDefinitionContext"
6602
+ }
6603
+ },
6604
+ {
6605
+ "name": "definition",
6606
+ "type": {
6607
+ "text": "FoundationElementDefinition"
6608
+ }
6609
+ }
6610
+ ]
6596
6611
  }
6597
6612
  ],
6598
6613
  "exports": [
6599
6614
  {
6600
6615
  "kind": "js",
6601
- "name": "foundationBannerStyles",
6616
+ "name": "foundationBadgeStyles",
6602
6617
  "declaration": {
6603
- "name": "foundationBannerStyles",
6604
- "module": "src/banner/banner.styles.ts"
6618
+ "name": "foundationBadgeStyles",
6619
+ "module": "src/badge/badge.styles.ts"
6605
6620
  }
6606
6621
  }
6607
6622
  ]
6608
6623
  },
6609
6624
  {
6610
6625
  "kind": "javascript-module",
6611
- "path": "src/banner/banner.template.ts",
6626
+ "path": "src/badge/badge.template.ts",
6612
6627
  "declarations": [
6613
6628
  {
6614
6629
  "kind": "function",
6615
- "name": "getBannerTemplate",
6630
+ "name": "foundationBadgeTemplate",
6631
+ "return": {
6632
+ "type": {
6633
+ "text": "ViewTemplate<Badge>"
6634
+ }
6635
+ },
6616
6636
  "parameters": [
6617
6637
  {
6618
- "name": "prefix",
6638
+ "name": "context",
6619
6639
  "type": {
6620
- "text": "string"
6640
+ "text": "ElementDefinitionContext"
6641
+ }
6642
+ },
6643
+ {
6644
+ "name": "definition",
6645
+ "type": {
6646
+ "text": "FoundationElementDefinition"
6621
6647
  }
6622
6648
  }
6623
6649
  ]
6624
- },
6625
- {
6626
- "kind": "variable",
6627
- "name": "foundationBannerTemplate",
6628
- "default": "html<Banner>`\n ${(x) => getBannerTemplate(getPrefix(x))}\n`"
6629
6650
  }
6630
6651
  ],
6631
6652
  "exports": [
6632
6653
  {
6633
6654
  "kind": "js",
6634
- "name": "getBannerTemplate",
6635
- "declaration": {
6636
- "name": "getBannerTemplate",
6637
- "module": "src/banner/banner.template.ts"
6638
- }
6639
- },
6640
- {
6641
- "kind": "js",
6642
- "name": "foundationBannerTemplate",
6655
+ "name": "foundationBadgeTemplate",
6643
6656
  "declaration": {
6644
- "name": "foundationBannerTemplate",
6645
- "module": "src/banner/banner.template.ts"
6657
+ "name": "foundationBadgeTemplate",
6658
+ "module": "src/badge/badge.template.ts"
6646
6659
  }
6647
6660
  }
6648
6661
  ]
6649
6662
  },
6650
6663
  {
6651
6664
  "kind": "javascript-module",
6652
- "path": "src/banner/banner.ts",
6665
+ "path": "src/badge/badge.ts",
6653
6666
  "declarations": [
6654
- {
6655
- "kind": "variable",
6656
- "name": "foundationBannerShadowOptions",
6657
- "type": {
6658
- "text": "ShadowRootInit"
6659
- },
6660
- "default": "{\n mode: 'open',\n delegatesFocus: true,\n}"
6661
- },
6662
6667
  {
6663
6668
  "kind": "class",
6664
6669
  "description": "",
6665
- "name": "Banner",
6666
- "members": [
6670
+ "name": "Badge",
6671
+ "superclass": {
6672
+ "name": "FASTBadge",
6673
+ "package": "@microsoft/fast-components"
6674
+ },
6675
+ "tagName": "%%prefix%%-badge",
6676
+ "customElement": true,
6677
+ "attributes": [
6667
6678
  {
6668
- "kind": "field",
6669
- "name": "banner",
6679
+ "name": "fill",
6670
6680
  "type": {
6671
- "text": "HTMLElement"
6681
+ "text": "string"
6672
6682
  },
6673
- "privacy": "public"
6683
+ "description": "Indicates the badge should have a filled style.",
6684
+ "fieldName": "fill",
6685
+ "inheritedFrom": {
6686
+ "name": "Badge",
6687
+ "module": "src/badge/badge.ts"
6688
+ }
6674
6689
  },
6675
6690
  {
6676
- "kind": "field",
6677
- "name": "dismissAnimation",
6691
+ "name": "color",
6678
6692
  "type": {
6679
- "text": "'banner-delete' | ''"
6693
+ "text": "string"
6680
6694
  },
6681
- "default": "''"
6695
+ "description": "Indicates the badge should have a filled style.",
6696
+ "fieldName": "color",
6697
+ "inheritedFrom": {
6698
+ "name": "Badge",
6699
+ "module": "src/badge/badge.ts"
6700
+ }
6682
6701
  },
6702
+ {
6703
+ "type": {
6704
+ "text": "boolean"
6705
+ },
6706
+ "description": "Indicates the element should be circular",
6707
+ "fieldName": "circular",
6708
+ "inheritedFrom": {
6709
+ "name": "Badge",
6710
+ "module": "src/badge/badge.ts"
6711
+ }
6712
+ }
6713
+ ],
6714
+ "members": [
6683
6715
  {
6684
6716
  "kind": "field",
6685
- "name": "notification",
6717
+ "name": "fill",
6686
6718
  "type": {
6687
- "text": "NotificationStructure"
6719
+ "text": "string"
6720
+ },
6721
+ "privacy": "public",
6722
+ "description": "Indicates the badge should have a filled style.",
6723
+ "inheritedFrom": {
6724
+ "name": "Badge",
6725
+ "module": "src/badge/badge.ts"
6688
6726
  }
6689
6727
  },
6690
6728
  {
6691
- "kind": "method",
6692
- "name": "dismiss",
6729
+ "kind": "field",
6730
+ "name": "color",
6731
+ "type": {
6732
+ "text": "string"
6733
+ },
6693
6734
  "privacy": "public",
6694
- "return": {
6695
- "type": {
6696
- "text": "Promise<void>"
6697
- }
6735
+ "description": "Indicates the badge should have a filled style.",
6736
+ "inheritedFrom": {
6737
+ "name": "Badge",
6738
+ "module": "src/badge/badge.ts"
6739
+ }
6740
+ },
6741
+ {
6742
+ "kind": "field",
6743
+ "name": "circular",
6744
+ "type": {
6745
+ "text": "boolean"
6698
6746
  },
6699
- "description": "Dismiss the Banner from display."
6747
+ "privacy": "public",
6748
+ "description": "Indicates the element should be circular",
6749
+ "inheritedFrom": {
6750
+ "name": "Badge",
6751
+ "module": "src/badge/badge.ts"
6752
+ }
6700
6753
  },
6701
6754
  {
6702
- "kind": "method",
6703
- "name": "dismissNotification",
6755
+ "kind": "field",
6756
+ "name": "generateBadgeStyle",
6704
6757
  "privacy": "public",
6705
- "description": "Dismiss the Banner (NotificationStructure) from display."
6758
+ "inheritedFrom": {
6759
+ "name": "Badge",
6760
+ "module": "src/badge/badge.ts"
6761
+ }
6706
6762
  },
6707
6763
  {
6708
6764
  "kind": "field",
@@ -6815,51 +6871,69 @@
6815
6871
  "module": "src/foundation-element/foundation-element.ts"
6816
6872
  }
6817
6873
  }
6818
- ],
6819
- "superclass": {
6820
- "name": "FoundationElement",
6821
- "package": "@microsoft/fast-foundation"
6874
+ ]
6875
+ },
6876
+ {
6877
+ "kind": "variable",
6878
+ "name": "foundationBadgeShadowOptions",
6879
+ "type": {
6880
+ "text": "ShadowRootInit"
6822
6881
  },
6823
- "tagName": "%%prefix%%-banner",
6824
- "customElement": true
6882
+ "default": "undefined"
6825
6883
  },
6826
6884
  {
6827
6885
  "kind": "variable",
6828
- "name": "foundationBanner",
6829
- "description": "The Foundation Banner",
6886
+ "name": "defaultBadgeConfig",
6887
+ "type": {
6888
+ "text": "object"
6889
+ },
6890
+ "default": "{}"
6891
+ },
6892
+ {
6893
+ "kind": "variable",
6894
+ "name": "foundationBadge",
6895
+ "description": "The Foundation Badge",
6830
6896
  "privacy": "public"
6831
6897
  }
6832
6898
  ],
6833
6899
  "exports": [
6834
6900
  {
6835
6901
  "kind": "js",
6836
- "name": "foundationBannerShadowOptions",
6902
+ "name": "Badge",
6837
6903
  "declaration": {
6838
- "name": "foundationBannerShadowOptions",
6839
- "module": "src/banner/banner.ts"
6904
+ "name": "Badge",
6905
+ "module": "src/badge/badge.ts"
6840
6906
  }
6841
6907
  },
6842
6908
  {
6843
6909
  "kind": "js",
6844
- "name": "Banner",
6910
+ "name": "foundationBadgeShadowOptions",
6845
6911
  "declaration": {
6846
- "name": "Banner",
6847
- "module": "src/banner/banner.ts"
6912
+ "name": "foundationBadgeShadowOptions",
6913
+ "module": "src/badge/badge.ts"
6848
6914
  }
6849
6915
  },
6850
6916
  {
6851
6917
  "kind": "js",
6852
- "name": "foundationBanner",
6918
+ "name": "defaultBadgeConfig",
6853
6919
  "declaration": {
6854
- "name": "foundationBanner",
6855
- "module": "src/banner/banner.ts"
6920
+ "name": "defaultBadgeConfig",
6921
+ "module": "src/badge/badge.ts"
6922
+ }
6923
+ },
6924
+ {
6925
+ "kind": "js",
6926
+ "name": "foundationBadge",
6927
+ "declaration": {
6928
+ "name": "foundationBadge",
6929
+ "module": "src/badge/badge.ts"
6856
6930
  }
6857
6931
  }
6858
6932
  ]
6859
6933
  },
6860
6934
  {
6861
6935
  "kind": "javascript-module",
6862
- "path": "src/banner/index.ts",
6936
+ "path": "src/badge/index.ts",
6863
6937
  "declarations": [],
6864
6938
  "exports": [
6865
6939
  {
@@ -6867,7 +6941,7 @@
6867
6941
  "name": "*",
6868
6942
  "declaration": {
6869
6943
  "name": "*",
6870
- "package": "./banner.styles"
6944
+ "package": "./badge.template"
6871
6945
  }
6872
6946
  },
6873
6947
  {
@@ -6875,7 +6949,7 @@
6875
6949
  "name": "*",
6876
6950
  "declaration": {
6877
6951
  "name": "*",
6878
- "package": "./banner.template"
6952
+ "package": "./badge.styles"
6879
6953
  }
6880
6954
  },
6881
6955
  {
@@ -6883,188 +6957,132 @@
6883
6957
  "name": "*",
6884
6958
  "declaration": {
6885
6959
  "name": "*",
6886
- "package": "./banner"
6960
+ "package": "./badge"
6887
6961
  }
6888
6962
  }
6889
6963
  ]
6890
6964
  },
6891
6965
  {
6892
6966
  "kind": "javascript-module",
6893
- "path": "src/badge/badge.styles.ts",
6967
+ "path": "src/banner/banner.styles.ts",
6894
6968
  "declarations": [
6895
6969
  {
6896
- "kind": "function",
6897
- "name": "foundationBadgeStyles",
6898
- "return": {
6899
- "type": {
6900
- "text": "ElementStyles"
6901
- }
6970
+ "kind": "variable",
6971
+ "name": "foundationBannerStyles",
6972
+ "type": {
6973
+ "text": "ElementStyles"
6902
6974
  },
6903
- "parameters": [
6904
- {
6905
- "name": "context",
6906
- "type": {
6907
- "text": "ElementDefinitionContext"
6908
- }
6909
- },
6910
- {
6911
- "name": "definition",
6912
- "type": {
6913
- "text": "FoundationElementDefinition"
6914
- }
6915
- }
6916
- ]
6975
+ "default": "css`\n @keyframes delete-animate {\n from {\n height: 100px;\n opacity: 100%;\n }\n\n to {\n height: 0;\n opacity: 0%;\n }\n }\n\n @keyframes append-animate {\n from {\n height: 0;\n opacity: 0%;\n }\n\n to {\n height: var(--banner-height);\n opacity: 100%;\n }\n }\n\n :host {\n --banner-width: 100%;\n --banner-height: 65px;\n --flow: row;\n }\n\n @media screen and (max-width: 640px) {\n :host {\n --flow: column;\n --banner-height: 100px;\n }\n }\n\n .banner {\n animation: append-animate 0.3s linear;\n width: var(--banner-width);\n height: var(--banner-height);\n background-color: var(--fill-color);\n display: flex;\n flex-direction: var(--flow);\n padding: 5px 8px;\n box-sizing: border-box;\n overflow: hidden;\n }\n\n .banner-delete {\n animation: delete-animate 0.3s linear;\n opacity: 0%;\n }\n\n .content {\n display: flex;\n align-items: center;\n flex: 2;\n font-size: 12px;\n overflow: hidden;\n white-space: pre-line;\n }\n\n .action {\n display: flex;\n flex-direction: row-reverse;\n align-items: center;\n gap: 10px;\n flex: 1;\n overflow: hidden;\n }\n`"
6917
6976
  }
6918
6977
  ],
6919
6978
  "exports": [
6920
6979
  {
6921
6980
  "kind": "js",
6922
- "name": "foundationBadgeStyles",
6981
+ "name": "foundationBannerStyles",
6923
6982
  "declaration": {
6924
- "name": "foundationBadgeStyles",
6925
- "module": "src/badge/badge.styles.ts"
6983
+ "name": "foundationBannerStyles",
6984
+ "module": "src/banner/banner.styles.ts"
6926
6985
  }
6927
6986
  }
6928
6987
  ]
6929
6988
  },
6930
6989
  {
6931
6990
  "kind": "javascript-module",
6932
- "path": "src/badge/badge.template.ts",
6991
+ "path": "src/banner/banner.template.ts",
6933
6992
  "declarations": [
6934
6993
  {
6935
6994
  "kind": "function",
6936
- "name": "foundationBadgeTemplate",
6937
- "return": {
6938
- "type": {
6939
- "text": "ViewTemplate<Badge>"
6940
- }
6941
- },
6995
+ "name": "getBannerTemplate",
6942
6996
  "parameters": [
6943
6997
  {
6944
- "name": "context",
6945
- "type": {
6946
- "text": "ElementDefinitionContext"
6947
- }
6948
- },
6949
- {
6950
- "name": "definition",
6998
+ "name": "prefix",
6951
6999
  "type": {
6952
- "text": "FoundationElementDefinition"
7000
+ "text": "string"
6953
7001
  }
6954
7002
  }
6955
7003
  ]
7004
+ },
7005
+ {
7006
+ "kind": "variable",
7007
+ "name": "foundationBannerTemplate",
7008
+ "default": "html<Banner>`\n ${(x) => getBannerTemplate(getPrefix(x))}\n`"
6956
7009
  }
6957
7010
  ],
6958
7011
  "exports": [
6959
7012
  {
6960
7013
  "kind": "js",
6961
- "name": "foundationBadgeTemplate",
7014
+ "name": "getBannerTemplate",
6962
7015
  "declaration": {
6963
- "name": "foundationBadgeTemplate",
6964
- "module": "src/badge/badge.template.ts"
7016
+ "name": "getBannerTemplate",
7017
+ "module": "src/banner/banner.template.ts"
7018
+ }
7019
+ },
7020
+ {
7021
+ "kind": "js",
7022
+ "name": "foundationBannerTemplate",
7023
+ "declaration": {
7024
+ "name": "foundationBannerTemplate",
7025
+ "module": "src/banner/banner.template.ts"
6965
7026
  }
6966
7027
  }
6967
7028
  ]
6968
7029
  },
6969
7030
  {
6970
7031
  "kind": "javascript-module",
6971
- "path": "src/badge/badge.ts",
7032
+ "path": "src/banner/banner.ts",
6972
7033
  "declarations": [
7034
+ {
7035
+ "kind": "variable",
7036
+ "name": "foundationBannerShadowOptions",
7037
+ "type": {
7038
+ "text": "ShadowRootInit"
7039
+ },
7040
+ "default": "{\n mode: 'open',\n delegatesFocus: true,\n}"
7041
+ },
6973
7042
  {
6974
7043
  "kind": "class",
6975
7044
  "description": "",
6976
- "name": "Badge",
6977
- "superclass": {
6978
- "name": "FASTBadge",
6979
- "package": "@microsoft/fast-components"
6980
- },
6981
- "tagName": "%%prefix%%-badge",
6982
- "customElement": true,
6983
- "attributes": [
6984
- {
6985
- "name": "fill",
6986
- "type": {
6987
- "text": "string"
6988
- },
6989
- "description": "Indicates the badge should have a filled style.",
6990
- "fieldName": "fill",
6991
- "inheritedFrom": {
6992
- "name": "Badge",
6993
- "module": "src/badge/badge.ts"
6994
- }
6995
- },
7045
+ "name": "Banner",
7046
+ "members": [
6996
7047
  {
6997
- "name": "color",
7048
+ "kind": "field",
7049
+ "name": "banner",
6998
7050
  "type": {
6999
- "text": "string"
7051
+ "text": "HTMLElement"
7000
7052
  },
7001
- "description": "Indicates the badge should have a filled style.",
7002
- "fieldName": "color",
7003
- "inheritedFrom": {
7004
- "name": "Badge",
7005
- "module": "src/badge/badge.ts"
7006
- }
7053
+ "privacy": "public"
7007
7054
  },
7008
- {
7009
- "type": {
7010
- "text": "boolean"
7011
- },
7012
- "description": "Indicates the element should be circular",
7013
- "fieldName": "circular",
7014
- "inheritedFrom": {
7015
- "name": "Badge",
7016
- "module": "src/badge/badge.ts"
7017
- }
7018
- }
7019
- ],
7020
- "members": [
7021
7055
  {
7022
7056
  "kind": "field",
7023
- "name": "fill",
7057
+ "name": "dismissAnimation",
7024
7058
  "type": {
7025
- "text": "string"
7059
+ "text": "'banner-delete' | ''"
7026
7060
  },
7027
- "privacy": "public",
7028
- "description": "Indicates the badge should have a filled style.",
7029
- "inheritedFrom": {
7030
- "name": "Badge",
7031
- "module": "src/badge/badge.ts"
7032
- }
7061
+ "default": "''"
7033
7062
  },
7034
7063
  {
7035
7064
  "kind": "field",
7036
- "name": "color",
7065
+ "name": "notification",
7037
7066
  "type": {
7038
- "text": "string"
7039
- },
7040
- "privacy": "public",
7041
- "description": "Indicates the badge should have a filled style.",
7042
- "inheritedFrom": {
7043
- "name": "Badge",
7044
- "module": "src/badge/badge.ts"
7067
+ "text": "NotificationStructure"
7045
7068
  }
7046
7069
  },
7047
7070
  {
7048
- "kind": "field",
7049
- "name": "circular",
7050
- "type": {
7051
- "text": "boolean"
7052
- },
7071
+ "kind": "method",
7072
+ "name": "dismiss",
7053
7073
  "privacy": "public",
7054
- "description": "Indicates the element should be circular",
7055
- "inheritedFrom": {
7056
- "name": "Badge",
7057
- "module": "src/badge/badge.ts"
7058
- }
7074
+ "return": {
7075
+ "type": {
7076
+ "text": "Promise<void>"
7077
+ }
7078
+ },
7079
+ "description": "Dismiss the Banner from display."
7059
7080
  },
7060
7081
  {
7061
- "kind": "field",
7062
- "name": "generateBadgeStyle",
7082
+ "kind": "method",
7083
+ "name": "dismissNotification",
7063
7084
  "privacy": "public",
7064
- "inheritedFrom": {
7065
- "name": "Badge",
7066
- "module": "src/badge/badge.ts"
7067
- }
7085
+ "description": "Dismiss the Banner (NotificationStructure) from display."
7068
7086
  },
7069
7087
  {
7070
7088
  "kind": "field",
@@ -7177,69 +7195,51 @@
7177
7195
  "module": "src/foundation-element/foundation-element.ts"
7178
7196
  }
7179
7197
  }
7180
- ]
7181
- },
7182
- {
7183
- "kind": "variable",
7184
- "name": "foundationBadgeShadowOptions",
7185
- "type": {
7186
- "text": "ShadowRootInit"
7187
- },
7188
- "default": "undefined"
7189
- },
7190
- {
7191
- "kind": "variable",
7192
- "name": "defaultBadgeConfig",
7193
- "type": {
7194
- "text": "object"
7198
+ ],
7199
+ "superclass": {
7200
+ "name": "FoundationElement",
7201
+ "package": "@microsoft/fast-foundation"
7195
7202
  },
7196
- "default": "{}"
7203
+ "tagName": "%%prefix%%-banner",
7204
+ "customElement": true
7197
7205
  },
7198
7206
  {
7199
7207
  "kind": "variable",
7200
- "name": "foundationBadge",
7201
- "description": "The Foundation Badge",
7208
+ "name": "foundationBanner",
7209
+ "description": "The Foundation Banner",
7202
7210
  "privacy": "public"
7203
7211
  }
7204
7212
  ],
7205
7213
  "exports": [
7206
7214
  {
7207
7215
  "kind": "js",
7208
- "name": "Badge",
7209
- "declaration": {
7210
- "name": "Badge",
7211
- "module": "src/badge/badge.ts"
7212
- }
7213
- },
7214
- {
7215
- "kind": "js",
7216
- "name": "foundationBadgeShadowOptions",
7216
+ "name": "foundationBannerShadowOptions",
7217
7217
  "declaration": {
7218
- "name": "foundationBadgeShadowOptions",
7219
- "module": "src/badge/badge.ts"
7218
+ "name": "foundationBannerShadowOptions",
7219
+ "module": "src/banner/banner.ts"
7220
7220
  }
7221
7221
  },
7222
7222
  {
7223
7223
  "kind": "js",
7224
- "name": "defaultBadgeConfig",
7224
+ "name": "Banner",
7225
7225
  "declaration": {
7226
- "name": "defaultBadgeConfig",
7227
- "module": "src/badge/badge.ts"
7226
+ "name": "Banner",
7227
+ "module": "src/banner/banner.ts"
7228
7228
  }
7229
7229
  },
7230
7230
  {
7231
7231
  "kind": "js",
7232
- "name": "foundationBadge",
7232
+ "name": "foundationBanner",
7233
7233
  "declaration": {
7234
- "name": "foundationBadge",
7235
- "module": "src/badge/badge.ts"
7234
+ "name": "foundationBanner",
7235
+ "module": "src/banner/banner.ts"
7236
7236
  }
7237
7237
  }
7238
7238
  ]
7239
7239
  },
7240
7240
  {
7241
7241
  "kind": "javascript-module",
7242
- "path": "src/badge/index.ts",
7242
+ "path": "src/banner/index.ts",
7243
7243
  "declarations": [],
7244
7244
  "exports": [
7245
7245
  {
@@ -7247,7 +7247,7 @@
7247
7247
  "name": "*",
7248
7248
  "declaration": {
7249
7249
  "name": "*",
7250
- "package": "./badge.template"
7250
+ "package": "./banner.styles"
7251
7251
  }
7252
7252
  },
7253
7253
  {
@@ -7255,7 +7255,7 @@
7255
7255
  "name": "*",
7256
7256
  "declaration": {
7257
7257
  "name": "*",
7258
- "package": "./badge.styles"
7258
+ "package": "./banner.template"
7259
7259
  }
7260
7260
  },
7261
7261
  {
@@ -7263,7 +7263,7 @@
7263
7263
  "name": "*",
7264
7264
  "declaration": {
7265
7265
  "name": "*",
7266
- "package": "./badge"
7266
+ "package": "./banner"
7267
7267
  }
7268
7268
  }
7269
7269
  ]
@@ -60120,6 +60120,197 @@
60120
60120
  }
60121
60121
  ]
60122
60122
  },
60123
+ {
60124
+ "kind": "javascript-module",
60125
+ "path": "src/ai-criteria-search/validation/criteria-ir.ts",
60126
+ "declarations": [],
60127
+ "exports": []
60128
+ },
60129
+ {
60130
+ "kind": "javascript-module",
60131
+ "path": "src/ai-criteria-search/validation/operator-map.ts",
60132
+ "declarations": [
60133
+ {
60134
+ "kind": "function",
60135
+ "name": "groupsToCriteria",
60136
+ "return": {
60137
+ "type": {
60138
+ "text": "string"
60139
+ }
60140
+ },
60141
+ "parameters": [
60142
+ {
60143
+ "name": "groups",
60144
+ "type": {
60145
+ "text": "CriteriaGroup[]"
60146
+ }
60147
+ }
60148
+ ],
60149
+ "description": "Converts validated CriteriaGroup[] to a Groovy criteria string using CriteriaBuilder.\nGroups are AND-ed at top level. Within each group, clauses use group.logic (and/or).\nIf group.negated is true, the group's combined expression is wrapped in NOT."
60150
+ },
60151
+ {
60152
+ "kind": "variable",
60153
+ "name": "STRING_OPERATORS",
60154
+ "type": {
60155
+ "text": "CriteriaOperator[]"
60156
+ },
60157
+ "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
60158
+ },
60159
+ {
60160
+ "kind": "variable",
60161
+ "name": "NUMERIC_OPERATORS",
60162
+ "type": {
60163
+ "text": "CriteriaOperator[]"
60164
+ },
60165
+ "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
60166
+ },
60167
+ {
60168
+ "kind": "variable",
60169
+ "name": "DATE_OPERATORS",
60170
+ "type": {
60171
+ "text": "CriteriaOperator[]"
60172
+ },
60173
+ "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
60174
+ },
60175
+ {
60176
+ "kind": "variable",
60177
+ "name": "DATETIME_OPERATORS",
60178
+ "type": {
60179
+ "text": "CriteriaOperator[]"
60180
+ },
60181
+ "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
60182
+ },
60183
+ {
60184
+ "kind": "variable",
60185
+ "name": "OPERATOR_DISPLAY_LABEL",
60186
+ "type": {
60187
+ "text": "Record<CriteriaOperator, string>"
60188
+ },
60189
+ "default": "{\n contains: 'contains',\n equals: '=',\n startsWith: 'starts with',\n endsWith: 'ends with',\n notEqual: '≠',\n greaterThan: '>',\n lessThan: '<',\n greaterThanOrEqual: '≥',\n lessThanOrEqual: '≤',\n dateIsToday: 'is today',\n dateIsAfter: 'after',\n dateIsBefore: 'before',\n dateIsEqual: '=',\n dateIsGreaterEqual: '≥',\n dateIsLessEqual: '≤',\n dateTimeIsAfter: 'after',\n dateTimeIsBefore: 'before',\n dateTimeIsGreaterEqual: '≥',\n dateTimeIsLessEqual: '≤',\n}"
60190
+ }
60191
+ ],
60192
+ "exports": [
60193
+ {
60194
+ "kind": "js",
60195
+ "name": "groupsToCriteria",
60196
+ "declaration": {
60197
+ "name": "groupsToCriteria",
60198
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60199
+ }
60200
+ },
60201
+ {
60202
+ "kind": "js",
60203
+ "name": "STRING_OPERATORS",
60204
+ "declaration": {
60205
+ "name": "STRING_OPERATORS",
60206
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60207
+ }
60208
+ },
60209
+ {
60210
+ "kind": "js",
60211
+ "name": "NUMERIC_OPERATORS",
60212
+ "declaration": {
60213
+ "name": "NUMERIC_OPERATORS",
60214
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60215
+ }
60216
+ },
60217
+ {
60218
+ "kind": "js",
60219
+ "name": "DATE_OPERATORS",
60220
+ "declaration": {
60221
+ "name": "DATE_OPERATORS",
60222
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60223
+ }
60224
+ },
60225
+ {
60226
+ "kind": "js",
60227
+ "name": "DATETIME_OPERATORS",
60228
+ "declaration": {
60229
+ "name": "DATETIME_OPERATORS",
60230
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60231
+ }
60232
+ },
60233
+ {
60234
+ "kind": "js",
60235
+ "name": "OPERATOR_DISPLAY_LABEL",
60236
+ "declaration": {
60237
+ "name": "OPERATOR_DISPLAY_LABEL",
60238
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60239
+ }
60240
+ }
60241
+ ]
60242
+ },
60243
+ {
60244
+ "kind": "javascript-module",
60245
+ "path": "src/ai-criteria-search/validation/schema-validator.ts",
60246
+ "declarations": [
60247
+ {
60248
+ "kind": "function",
60249
+ "name": "validateClauses",
60250
+ "return": {
60251
+ "type": {
60252
+ "text": "ValidationResult"
60253
+ }
60254
+ },
60255
+ "parameters": [
60256
+ {
60257
+ "name": "clauses",
60258
+ "type": {
60259
+ "text": "CriteriaClause[]"
60260
+ }
60261
+ },
60262
+ {
60263
+ "name": "fieldMetadata",
60264
+ "type": {
60265
+ "text": "MetadataDetail[] | string[]"
60266
+ }
60267
+ }
60268
+ ]
60269
+ },
60270
+ {
60271
+ "kind": "function",
60272
+ "name": "validateGroups",
60273
+ "return": {
60274
+ "type": {
60275
+ "text": "GroupsValidationResult"
60276
+ }
60277
+ },
60278
+ "parameters": [
60279
+ {
60280
+ "name": "groups",
60281
+ "type": {
60282
+ "text": "CriteriaGroup[]"
60283
+ }
60284
+ },
60285
+ {
60286
+ "name": "fieldMetadata",
60287
+ "type": {
60288
+ "text": "MetadataDetail[] | string[]"
60289
+ }
60290
+ }
60291
+ ],
60292
+ "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
60293
+ }
60294
+ ],
60295
+ "exports": [
60296
+ {
60297
+ "kind": "js",
60298
+ "name": "validateClauses",
60299
+ "declaration": {
60300
+ "name": "validateClauses",
60301
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
60302
+ }
60303
+ },
60304
+ {
60305
+ "kind": "js",
60306
+ "name": "validateGroups",
60307
+ "declaration": {
60308
+ "name": "validateGroups",
60309
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
60310
+ }
60311
+ }
60312
+ ]
60313
+ },
60123
60314
  {
60124
60315
  "kind": "javascript-module",
60125
60316
  "path": "src/_config/styles/colors.ts",
@@ -61492,197 +61683,6 @@
61492
61683
  "declarations": [],
61493
61684
  "exports": []
61494
61685
  },
61495
- {
61496
- "kind": "javascript-module",
61497
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
61498
- "declarations": [],
61499
- "exports": []
61500
- },
61501
- {
61502
- "kind": "javascript-module",
61503
- "path": "src/ai-criteria-search/validation/operator-map.ts",
61504
- "declarations": [
61505
- {
61506
- "kind": "function",
61507
- "name": "groupsToCriteria",
61508
- "return": {
61509
- "type": {
61510
- "text": "string"
61511
- }
61512
- },
61513
- "parameters": [
61514
- {
61515
- "name": "groups",
61516
- "type": {
61517
- "text": "CriteriaGroup[]"
61518
- }
61519
- }
61520
- ],
61521
- "description": "Converts validated CriteriaGroup[] to a Groovy criteria string using CriteriaBuilder.\nGroups are AND-ed at top level. Within each group, clauses use group.logic (and/or).\nIf group.negated is true, the group's combined expression is wrapped in NOT."
61522
- },
61523
- {
61524
- "kind": "variable",
61525
- "name": "STRING_OPERATORS",
61526
- "type": {
61527
- "text": "CriteriaOperator[]"
61528
- },
61529
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
61530
- },
61531
- {
61532
- "kind": "variable",
61533
- "name": "NUMERIC_OPERATORS",
61534
- "type": {
61535
- "text": "CriteriaOperator[]"
61536
- },
61537
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
61538
- },
61539
- {
61540
- "kind": "variable",
61541
- "name": "DATE_OPERATORS",
61542
- "type": {
61543
- "text": "CriteriaOperator[]"
61544
- },
61545
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
61546
- },
61547
- {
61548
- "kind": "variable",
61549
- "name": "DATETIME_OPERATORS",
61550
- "type": {
61551
- "text": "CriteriaOperator[]"
61552
- },
61553
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
61554
- },
61555
- {
61556
- "kind": "variable",
61557
- "name": "OPERATOR_DISPLAY_LABEL",
61558
- "type": {
61559
- "text": "Record<CriteriaOperator, string>"
61560
- },
61561
- "default": "{\n contains: 'contains',\n equals: '=',\n startsWith: 'starts with',\n endsWith: 'ends with',\n notEqual: '≠',\n greaterThan: '>',\n lessThan: '<',\n greaterThanOrEqual: '≥',\n lessThanOrEqual: '≤',\n dateIsToday: 'is today',\n dateIsAfter: 'after',\n dateIsBefore: 'before',\n dateIsEqual: '=',\n dateIsGreaterEqual: '≥',\n dateIsLessEqual: '≤',\n dateTimeIsAfter: 'after',\n dateTimeIsBefore: 'before',\n dateTimeIsGreaterEqual: '≥',\n dateTimeIsLessEqual: '≤',\n}"
61562
- }
61563
- ],
61564
- "exports": [
61565
- {
61566
- "kind": "js",
61567
- "name": "groupsToCriteria",
61568
- "declaration": {
61569
- "name": "groupsToCriteria",
61570
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61571
- }
61572
- },
61573
- {
61574
- "kind": "js",
61575
- "name": "STRING_OPERATORS",
61576
- "declaration": {
61577
- "name": "STRING_OPERATORS",
61578
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61579
- }
61580
- },
61581
- {
61582
- "kind": "js",
61583
- "name": "NUMERIC_OPERATORS",
61584
- "declaration": {
61585
- "name": "NUMERIC_OPERATORS",
61586
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61587
- }
61588
- },
61589
- {
61590
- "kind": "js",
61591
- "name": "DATE_OPERATORS",
61592
- "declaration": {
61593
- "name": "DATE_OPERATORS",
61594
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61595
- }
61596
- },
61597
- {
61598
- "kind": "js",
61599
- "name": "DATETIME_OPERATORS",
61600
- "declaration": {
61601
- "name": "DATETIME_OPERATORS",
61602
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61603
- }
61604
- },
61605
- {
61606
- "kind": "js",
61607
- "name": "OPERATOR_DISPLAY_LABEL",
61608
- "declaration": {
61609
- "name": "OPERATOR_DISPLAY_LABEL",
61610
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61611
- }
61612
- }
61613
- ]
61614
- },
61615
- {
61616
- "kind": "javascript-module",
61617
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
61618
- "declarations": [
61619
- {
61620
- "kind": "function",
61621
- "name": "validateClauses",
61622
- "return": {
61623
- "type": {
61624
- "text": "ValidationResult"
61625
- }
61626
- },
61627
- "parameters": [
61628
- {
61629
- "name": "clauses",
61630
- "type": {
61631
- "text": "CriteriaClause[]"
61632
- }
61633
- },
61634
- {
61635
- "name": "fieldMetadata",
61636
- "type": {
61637
- "text": "MetadataDetail[] | string[]"
61638
- }
61639
- }
61640
- ]
61641
- },
61642
- {
61643
- "kind": "function",
61644
- "name": "validateGroups",
61645
- "return": {
61646
- "type": {
61647
- "text": "GroupsValidationResult"
61648
- }
61649
- },
61650
- "parameters": [
61651
- {
61652
- "name": "groups",
61653
- "type": {
61654
- "text": "CriteriaGroup[]"
61655
- }
61656
- },
61657
- {
61658
- "name": "fieldMetadata",
61659
- "type": {
61660
- "text": "MetadataDetail[] | string[]"
61661
- }
61662
- }
61663
- ],
61664
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
61665
- }
61666
- ],
61667
- "exports": [
61668
- {
61669
- "kind": "js",
61670
- "name": "validateClauses",
61671
- "declaration": {
61672
- "name": "validateClauses",
61673
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
61674
- }
61675
- },
61676
- {
61677
- "kind": "js",
61678
- "name": "validateGroups",
61679
- "declaration": {
61680
- "name": "validateGroups",
61681
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
61682
- }
61683
- }
61684
- ]
61685
- },
61686
61686
  {
61687
61687
  "kind": "javascript-module",
61688
61688
  "path": "src/environment-indicator/utils/configure.ts",