@genesislcap/foundation-ui 14.443.1 → 14.444.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.
@@ -1400,34 +1400,11 @@
1400
1400
  },
1401
1401
  {
1402
1402
  "kind": "javascript-module",
1403
- "path": "src/actions-menu/actions-menu.styles.ts",
1403
+ "path": "src/accordion/accordion.styles.ts",
1404
1404
  "declarations": [
1405
1405
  {
1406
1406
  "kind": "function",
1407
- "name": "actionsMenuBaseStyles",
1408
- "return": {
1409
- "type": {
1410
- "text": "ElementStyles"
1411
- }
1412
- },
1413
- "parameters": [
1414
- {
1415
- "name": "context",
1416
- "type": {
1417
- "text": "ElementDefinitionContext"
1418
- }
1419
- },
1420
- {
1421
- "name": "definition",
1422
- "type": {
1423
- "text": "FoundationElementDefinition"
1424
- }
1425
- }
1426
- ]
1427
- },
1428
- {
1429
- "kind": "function",
1430
- "name": "foundationActionsMenuStyles",
1407
+ "name": "foundationAccordionStyles",
1431
1408
  "return": {
1432
1409
  "type": {
1433
1410
  "text": "ElementStyles"
@@ -1452,269 +1429,277 @@
1452
1429
  "exports": [
1453
1430
  {
1454
1431
  "kind": "js",
1455
- "name": "actionsMenuBaseStyles",
1456
- "declaration": {
1457
- "name": "actionsMenuBaseStyles",
1458
- "module": "src/actions-menu/actions-menu.styles.ts"
1459
- }
1460
- },
1461
- {
1462
- "kind": "js",
1463
- "name": "foundationActionsMenuStyles",
1432
+ "name": "foundationAccordionStyles",
1464
1433
  "declaration": {
1465
- "name": "foundationActionsMenuStyles",
1466
- "module": "src/actions-menu/actions-menu.styles.ts"
1434
+ "name": "foundationAccordionStyles",
1435
+ "module": "src/accordion/accordion.styles.ts"
1467
1436
  }
1468
1437
  }
1469
1438
  ]
1470
1439
  },
1471
1440
  {
1472
1441
  "kind": "javascript-module",
1473
- "path": "src/actions-menu/actions-menu.template.ts",
1442
+ "path": "src/accordion/accordion.template.ts",
1474
1443
  "declarations": [
1475
1444
  {
1476
1445
  "kind": "function",
1477
- "name": "menuTemplate",
1446
+ "name": "foundationAccordionTemplate",
1447
+ "return": {
1448
+ "type": {
1449
+ "text": "ViewTemplate<Accordion>"
1450
+ }
1451
+ },
1478
1452
  "parameters": [
1479
1453
  {
1480
- "name": "prefix",
1454
+ "name": "context",
1481
1455
  "type": {
1482
- "text": "string"
1456
+ "text": "ElementDefinitionContext"
1483
1457
  }
1484
- }
1485
- ]
1486
- },
1487
- {
1488
- "kind": "function",
1489
- "name": "singleOptionTemplate",
1490
- "parameters": [
1458
+ },
1491
1459
  {
1492
- "name": "prefix",
1460
+ "name": "definition",
1493
1461
  "type": {
1494
- "text": "string"
1462
+ "text": "FoundationElementDefinition"
1495
1463
  }
1496
1464
  }
1497
1465
  ]
1498
- },
1499
- {
1500
- "kind": "variable",
1501
- "name": "foundationActionsMenuTemplate",
1502
- "type": {
1503
- "text": "ViewTemplate<ActionsMenu>"
1504
- },
1505
- "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
1506
1466
  }
1507
1467
  ],
1508
1468
  "exports": [
1509
1469
  {
1510
1470
  "kind": "js",
1511
- "name": "menuTemplate",
1512
- "declaration": {
1513
- "name": "menuTemplate",
1514
- "module": "src/actions-menu/actions-menu.template.ts"
1515
- }
1516
- },
1517
- {
1518
- "kind": "js",
1519
- "name": "singleOptionTemplate",
1520
- "declaration": {
1521
- "name": "singleOptionTemplate",
1522
- "module": "src/actions-menu/actions-menu.template.ts"
1523
- }
1524
- },
1525
- {
1526
- "kind": "js",
1527
- "name": "foundationActionsMenuTemplate",
1471
+ "name": "foundationAccordionTemplate",
1528
1472
  "declaration": {
1529
- "name": "foundationActionsMenuTemplate",
1530
- "module": "src/actions-menu/actions-menu.template.ts"
1473
+ "name": "foundationAccordionTemplate",
1474
+ "module": "src/accordion/accordion.template.ts"
1531
1475
  }
1532
1476
  }
1533
1477
  ]
1534
1478
  },
1535
1479
  {
1536
1480
  "kind": "javascript-module",
1537
- "path": "src/actions-menu/actions-menu.ts",
1481
+ "path": "src/accordion/accordion.ts",
1538
1482
  "declarations": [
1539
1483
  {
1540
1484
  "kind": "class",
1541
1485
  "description": "",
1542
- "name": "ActionsMenu",
1543
- "members": [
1486
+ "name": "Accordion",
1487
+ "superclass": {
1488
+ "name": "FASTAccordion",
1489
+ "package": "@microsoft/fast-foundation"
1490
+ },
1491
+ "tagName": "%%prefix%%-accordion",
1492
+ "customElement": true,
1493
+ "attributes": [
1544
1494
  {
1545
- "kind": "field",
1546
- "name": "actions",
1495
+ "name": "expand-mode",
1547
1496
  "type": {
1548
- "text": "ActionMenuItem[]"
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"
1549
1504
  }
1550
- },
1505
+ }
1506
+ ],
1507
+ "members": [
1551
1508
  {
1552
1509
  "kind": "field",
1553
- "name": "isVertical",
1510
+ "name": "expandmode",
1554
1511
  "type": {
1555
- "text": "boolean"
1512
+ "text": "AccordionExpandMode"
1556
1513
  },
1557
- "default": "false"
1514
+ "privacy": "public",
1515
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1516
+ "inheritedFrom": {
1517
+ "name": "Accordion",
1518
+ "module": "src/accordion/accordion.ts"
1519
+ }
1558
1520
  },
1559
1521
  {
1560
1522
  "kind": "field",
1561
- "name": "addDefaultActions",
1523
+ "name": "activeid",
1562
1524
  "type": {
1563
- "text": "boolean"
1525
+ "text": "string | null"
1564
1526
  },
1565
- "default": "true"
1527
+ "privacy": "private",
1528
+ "inheritedFrom": {
1529
+ "name": "Accordion",
1530
+ "module": "src/accordion/accordion.ts"
1531
+ }
1566
1532
  },
1567
1533
  {
1568
1534
  "kind": "field",
1569
- "name": "autoCloseOnAction",
1535
+ "name": "activeItemIndex",
1570
1536
  "type": {
1571
- "text": "boolean"
1537
+ "text": "number"
1572
1538
  },
1573
- "default": "true"
1574
- },
1575
- {
1576
- "kind": "field",
1577
- "name": "classNames",
1578
- "type": {
1579
- "text": "string"
1539
+ "privacy": "private",
1540
+ "default": "0",
1541
+ "inheritedFrom": {
1542
+ "name": "Accordion",
1543
+ "module": "src/accordion/accordion.ts"
1580
1544
  }
1581
1545
  },
1582
1546
  {
1583
1547
  "kind": "field",
1584
- "name": "definition",
1548
+ "name": "accordionIds",
1585
1549
  "type": {
1586
- "text": "any"
1550
+ "text": "Array<string | null>"
1551
+ },
1552
+ "privacy": "private",
1553
+ "inheritedFrom": {
1554
+ "name": "Accordion",
1555
+ "module": "src/accordion/accordion.ts"
1587
1556
  }
1588
1557
  },
1589
1558
  {
1590
1559
  "kind": "field",
1591
- "name": "name",
1592
- "type": {
1593
- "text": "string"
1594
- },
1595
- "default": "'Actions'"
1560
+ "name": "change",
1561
+ "privacy": "private",
1562
+ "inheritedFrom": {
1563
+ "name": "Accordion",
1564
+ "module": "src/accordion/accordion.ts"
1565
+ }
1596
1566
  },
1597
1567
  {
1598
- "kind": "field",
1599
- "name": "open",
1600
- "type": {
1601
- "text": "boolean"
1568
+ "kind": "method",
1569
+ "name": "findExpandedItem",
1570
+ "privacy": "private",
1571
+ "return": {
1572
+ "type": {
1573
+ "text": "AccordionItem | null"
1574
+ }
1602
1575
  },
1603
- "default": "false"
1604
- },
1605
- {
1606
- "kind": "field",
1607
- "name": "buttonAppearance",
1608
- "type": {
1609
- "text": "string"
1576
+ "inheritedFrom": {
1577
+ "name": "Accordion",
1578
+ "module": "src/accordion/accordion.ts"
1610
1579
  }
1611
1580
  },
1612
1581
  {
1613
1582
  "kind": "field",
1614
- "name": "hideDisabled",
1615
- "type": {
1616
- "text": "boolean"
1617
- },
1618
- "default": "false"
1583
+ "name": "setItems",
1584
+ "privacy": "private",
1585
+ "inheritedFrom": {
1586
+ "name": "Accordion",
1587
+ "module": "src/accordion/accordion.ts"
1588
+ }
1619
1589
  },
1620
1590
  {
1621
- "kind": "field",
1622
- "name": "hideMenuSingleOption",
1623
- "type": {
1624
- "text": "boolean"
1591
+ "kind": "method",
1592
+ "name": "resetItems",
1593
+ "privacy": "private",
1594
+ "return": {
1595
+ "type": {
1596
+ "text": "void"
1597
+ }
1625
1598
  },
1626
- "default": "false"
1599
+ "inheritedFrom": {
1600
+ "name": "Accordion",
1601
+ "module": "src/accordion/accordion.ts"
1602
+ }
1627
1603
  },
1628
1604
  {
1629
1605
  "kind": "field",
1630
- "name": "singleOption",
1631
- "type": {
1632
- "text": "ActionMenuItem"
1606
+ "name": "removeItemListeners",
1607
+ "privacy": "private",
1608
+ "inheritedFrom": {
1609
+ "name": "Accordion",
1610
+ "module": "src/accordion/accordion.ts"
1633
1611
  }
1634
1612
  },
1635
1613
  {
1636
1614
  "kind": "field",
1637
- "name": "actionsMenu",
1638
- "type": {
1639
- "text": "HTMLElement"
1615
+ "name": "activeItemChange",
1616
+ "privacy": "private",
1617
+ "inheritedFrom": {
1618
+ "name": "Accordion",
1619
+ "module": "src/accordion/accordion.ts"
1640
1620
  }
1641
1621
  },
1642
1622
  {
1643
1623
  "kind": "method",
1644
- "name": "definitionChanged",
1645
- "privacy": "protected",
1646
- "parameters": [
1647
- {
1648
- "name": "oldValue",
1649
- "type": {
1650
- "text": "any"
1651
- }
1652
- },
1653
- {
1654
- "name": "newValue",
1655
- "type": {
1656
- "text": "any"
1657
- }
1624
+ "name": "getItemIds",
1625
+ "privacy": "private",
1626
+ "return": {
1627
+ "type": {
1628
+ "text": "Array<string | null>"
1658
1629
  }
1659
- ]
1660
- },
1661
- {
1662
- "kind": "method",
1663
- "name": "openChanged",
1664
- "privacy": "protected"
1665
- },
1666
- {
1667
- "kind": "method",
1668
- "name": "toggleActionsMenuVisibility"
1630
+ },
1631
+ "inheritedFrom": {
1632
+ "name": "Accordion",
1633
+ "module": "src/accordion/accordion.ts"
1634
+ }
1669
1635
  },
1670
1636
  {
1671
1637
  "kind": "method",
1672
- "name": "onActionMenuItemClick",
1673
- "parameters": [
1674
- {
1675
- "name": "callback",
1676
- "type": {
1677
- "text": "(rowData) => void | any"
1678
- }
1638
+ "name": "isSingleExpandMode",
1639
+ "privacy": "private",
1640
+ "return": {
1641
+ "type": {
1642
+ "text": "boolean"
1679
1643
  }
1680
- ]
1644
+ },
1645
+ "inheritedFrom": {
1646
+ "name": "Accordion",
1647
+ "module": "src/accordion/accordion.ts"
1648
+ }
1681
1649
  },
1682
1650
  {
1683
1651
  "kind": "field",
1684
- "name": "allActions",
1685
- "type": {
1686
- "text": "ActionMenuItem[]"
1687
- },
1688
- "readonly": true
1652
+ "name": "handleItemKeyDown",
1653
+ "privacy": "private",
1654
+ "inheritedFrom": {
1655
+ "name": "Accordion",
1656
+ "module": "src/accordion/accordion.ts"
1657
+ }
1689
1658
  },
1690
1659
  {
1691
1660
  "kind": "field",
1692
- "name": "rowData",
1693
- "readonly": true
1661
+ "name": "handleItemFocus",
1662
+ "privacy": "private",
1663
+ "inheritedFrom": {
1664
+ "name": "Accordion",
1665
+ "module": "src/accordion/accordion.ts"
1666
+ }
1694
1667
  },
1695
1668
  {
1696
1669
  "kind": "method",
1697
- "name": "getLabel",
1670
+ "name": "adjust",
1671
+ "privacy": "private",
1672
+ "return": {
1673
+ "type": {
1674
+ "text": "void"
1675
+ }
1676
+ },
1698
1677
  "parameters": [
1699
1678
  {
1700
- "name": "name",
1679
+ "name": "adjustment",
1701
1680
  "type": {
1702
- "text": "string | ((rowData: any) => string)"
1681
+ "text": "number"
1703
1682
  }
1704
1683
  }
1705
- ]
1684
+ ],
1685
+ "inheritedFrom": {
1686
+ "name": "Accordion",
1687
+ "module": "src/accordion/accordion.ts"
1688
+ }
1706
1689
  },
1707
1690
  {
1708
1691
  "kind": "method",
1709
- "name": "getTemplate",
1710
- "parameters": [
1711
- {
1712
- "name": "prefix",
1713
- "type": {
1714
- "text": "string"
1715
- }
1692
+ "name": "focusItem",
1693
+ "privacy": "private",
1694
+ "return": {
1695
+ "type": {
1696
+ "text": "void"
1716
1697
  }
1717
- ]
1698
+ },
1699
+ "inheritedFrom": {
1700
+ "name": "Accordion",
1701
+ "module": "src/accordion/accordion.ts"
1702
+ }
1718
1703
  },
1719
1704
  {
1720
1705
  "kind": "field",
@@ -1828,107 +1813,78 @@
1828
1813
  }
1829
1814
  }
1830
1815
  ],
1831
- "attributes": [
1832
- {
1833
- "name": "is-vertical",
1834
- "type": {
1835
- "text": "boolean"
1836
- },
1837
- "default": "false",
1838
- "fieldName": "isVertical"
1839
- },
1840
- {
1841
- "name": "add-default-actions",
1842
- "type": {
1843
- "text": "boolean"
1844
- },
1845
- "default": "true",
1846
- "fieldName": "addDefaultActions"
1847
- },
1848
- {
1849
- "name": "auto-close-on-action",
1850
- "type": {
1851
- "text": "boolean"
1852
- },
1853
- "default": "true",
1854
- "fieldName": "autoCloseOnAction"
1855
- },
1856
- {
1857
- "name": "name",
1858
- "type": {
1859
- "text": "string"
1860
- },
1861
- "default": "'Actions'",
1862
- "fieldName": "name"
1863
- },
1864
- {
1865
- "name": "open",
1866
- "type": {
1867
- "text": "boolean"
1868
- },
1869
- "default": "false",
1870
- "fieldName": "open"
1871
- },
1872
- {
1873
- "name": "buttonAppearance",
1874
- "type": {
1875
- "text": "string"
1876
- },
1877
- "fieldName": "buttonAppearance"
1878
- },
1879
- {
1880
- "name": "hide-disabled",
1881
- "type": {
1882
- "text": "boolean"
1883
- },
1884
- "default": "false",
1885
- "fieldName": "hideDisabled"
1886
- },
1816
+ "events": [
1887
1817
  {
1888
- "name": "hide-menu-single-option",
1889
- "type": {
1890
- "text": "boolean"
1891
- },
1892
- "default": "false",
1893
- "fieldName": "hideMenuSingleOption"
1818
+ "description": "Fires a custom 'change' event when the active item changes",
1819
+ "name": "change",
1820
+ "inheritedFrom": {
1821
+ "name": "Accordion",
1822
+ "module": "src/accordion/accordion.ts"
1823
+ }
1894
1824
  }
1895
- ],
1896
- "superclass": {
1897
- "name": "FoundationElement",
1898
- "package": "@microsoft/fast-foundation"
1825
+ ]
1826
+ },
1827
+ {
1828
+ "kind": "variable",
1829
+ "name": "foundationAccordionShadowOptions",
1830
+ "type": {
1831
+ "text": "ShadowRootInit"
1899
1832
  },
1900
- "tagName": "%%prefix%%-actions-menu",
1901
- "customElement": true
1833
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1902
1834
  },
1903
1835
  {
1904
1836
  "kind": "variable",
1905
- "name": "foundationActionsMenu",
1906
- "description": "The Foundation Actions Menu",
1837
+ "name": "defaultAccordionConfig",
1838
+ "type": {
1839
+ "text": "object"
1840
+ },
1841
+ "default": "{}"
1842
+ },
1843
+ {
1844
+ "kind": "variable",
1845
+ "name": "foundationAccordion",
1846
+ "description": "The Foundation Accordion",
1907
1847
  "privacy": "public"
1908
1848
  }
1909
1849
  ],
1910
1850
  "exports": [
1911
1851
  {
1912
1852
  "kind": "js",
1913
- "name": "ActionsMenu",
1853
+ "name": "Accordion",
1914
1854
  "declaration": {
1915
- "name": "ActionsMenu",
1916
- "module": "src/actions-menu/actions-menu.ts"
1855
+ "name": "Accordion",
1856
+ "module": "src/accordion/accordion.ts"
1917
1857
  }
1918
1858
  },
1919
1859
  {
1920
1860
  "kind": "js",
1921
- "name": "foundationActionsMenu",
1861
+ "name": "foundationAccordionShadowOptions",
1922
1862
  "declaration": {
1923
- "name": "foundationActionsMenu",
1924
- "module": "src/actions-menu/actions-menu.ts"
1863
+ "name": "foundationAccordionShadowOptions",
1864
+ "module": "src/accordion/accordion.ts"
1865
+ }
1866
+ },
1867
+ {
1868
+ "kind": "js",
1869
+ "name": "defaultAccordionConfig",
1870
+ "declaration": {
1871
+ "name": "defaultAccordionConfig",
1872
+ "module": "src/accordion/accordion.ts"
1873
+ }
1874
+ },
1875
+ {
1876
+ "kind": "js",
1877
+ "name": "foundationAccordion",
1878
+ "declaration": {
1879
+ "name": "foundationAccordion",
1880
+ "module": "src/accordion/accordion.ts"
1925
1881
  }
1926
1882
  }
1927
1883
  ]
1928
1884
  },
1929
1885
  {
1930
1886
  "kind": "javascript-module",
1931
- "path": "src/actions-menu/index.ts",
1887
+ "path": "src/accordion/index.ts",
1932
1888
  "declarations": [],
1933
1889
  "exports": [
1934
1890
  {
@@ -1936,7 +1892,7 @@
1936
1892
  "name": "*",
1937
1893
  "declaration": {
1938
1894
  "name": "*",
1939
- "package": "./actions-menu.styles"
1895
+ "package": "./accordion.template"
1940
1896
  }
1941
1897
  },
1942
1898
  {
@@ -1944,7 +1900,7 @@
1944
1900
  "name": "*",
1945
1901
  "declaration": {
1946
1902
  "name": "*",
1947
- "package": "./actions-menu.template"
1903
+ "package": "./accordion.styles"
1948
1904
  }
1949
1905
  },
1950
1906
  {
@@ -1952,7 +1908,38 @@
1952
1908
  "name": "*",
1953
1909
  "declaration": {
1954
1910
  "name": "*",
1955
- "package": "./actions-menu"
1911
+ "package": "./accordion"
1912
+ }
1913
+ }
1914
+ ]
1915
+ },
1916
+ {
1917
+ "kind": "javascript-module",
1918
+ "path": "src/_config/index.ts",
1919
+ "declarations": [],
1920
+ "exports": [
1921
+ {
1922
+ "kind": "js",
1923
+ "name": "*",
1924
+ "declaration": {
1925
+ "name": "*",
1926
+ "package": "./styles"
1927
+ }
1928
+ },
1929
+ {
1930
+ "kind": "js",
1931
+ "name": "*",
1932
+ "declaration": {
1933
+ "name": "*",
1934
+ "package": "./tokens"
1935
+ }
1936
+ },
1937
+ {
1938
+ "kind": "js",
1939
+ "name": "*",
1940
+ "declaration": {
1941
+ "name": "*",
1942
+ "package": "./values"
1956
1943
  }
1957
1944
  }
1958
1945
  ]
@@ -2353,11 +2340,34 @@
2353
2340
  },
2354
2341
  {
2355
2342
  "kind": "javascript-module",
2356
- "path": "src/ai-indicator/ai-indicator.styles.ts",
2343
+ "path": "src/actions-menu/actions-menu.styles.ts",
2357
2344
  "declarations": [
2358
2345
  {
2359
2346
  "kind": "function",
2360
- "name": "foundationAiIndicatorStyles",
2347
+ "name": "actionsMenuBaseStyles",
2348
+ "return": {
2349
+ "type": {
2350
+ "text": "ElementStyles"
2351
+ }
2352
+ },
2353
+ "parameters": [
2354
+ {
2355
+ "name": "context",
2356
+ "type": {
2357
+ "text": "ElementDefinitionContext"
2358
+ }
2359
+ },
2360
+ {
2361
+ "name": "definition",
2362
+ "type": {
2363
+ "text": "FoundationElementDefinition"
2364
+ }
2365
+ }
2366
+ ]
2367
+ },
2368
+ {
2369
+ "kind": "function",
2370
+ "name": "foundationActionsMenuStyles",
2361
2371
  "return": {
2362
2372
  "type": {
2363
2373
  "text": "ElementStyles"
@@ -2382,215 +2392,269 @@
2382
2392
  "exports": [
2383
2393
  {
2384
2394
  "kind": "js",
2385
- "name": "foundationAiIndicatorStyles",
2395
+ "name": "actionsMenuBaseStyles",
2386
2396
  "declaration": {
2387
- "name": "foundationAiIndicatorStyles",
2388
- "module": "src/ai-indicator/ai-indicator.styles.ts"
2397
+ "name": "actionsMenuBaseStyles",
2398
+ "module": "src/actions-menu/actions-menu.styles.ts"
2399
+ }
2400
+ },
2401
+ {
2402
+ "kind": "js",
2403
+ "name": "foundationActionsMenuStyles",
2404
+ "declaration": {
2405
+ "name": "foundationActionsMenuStyles",
2406
+ "module": "src/actions-menu/actions-menu.styles.ts"
2389
2407
  }
2390
2408
  }
2391
2409
  ]
2392
2410
  },
2393
2411
  {
2394
2412
  "kind": "javascript-module",
2395
- "path": "src/ai-indicator/ai-indicator.template.ts",
2413
+ "path": "src/actions-menu/actions-menu.template.ts",
2396
2414
  "declarations": [
2415
+ {
2416
+ "kind": "function",
2417
+ "name": "menuTemplate",
2418
+ "parameters": [
2419
+ {
2420
+ "name": "prefix",
2421
+ "type": {
2422
+ "text": "string"
2423
+ }
2424
+ }
2425
+ ]
2426
+ },
2427
+ {
2428
+ "kind": "function",
2429
+ "name": "singleOptionTemplate",
2430
+ "parameters": [
2431
+ {
2432
+ "name": "prefix",
2433
+ "type": {
2434
+ "text": "string"
2435
+ }
2436
+ }
2437
+ ]
2438
+ },
2397
2439
  {
2398
2440
  "kind": "variable",
2399
- "name": "foundationAiIndicatorTemplate",
2441
+ "name": "foundationActionsMenuTemplate",
2400
2442
  "type": {
2401
- "text": "ViewTemplate<AiIndicator>"
2443
+ "text": "ViewTemplate<ActionsMenu>"
2402
2444
  },
2403
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2445
+ "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
2404
2446
  }
2405
2447
  ],
2406
2448
  "exports": [
2407
2449
  {
2408
2450
  "kind": "js",
2409
- "name": "foundationAiIndicatorTemplate",
2451
+ "name": "menuTemplate",
2410
2452
  "declaration": {
2411
- "name": "foundationAiIndicatorTemplate",
2412
- "module": "src/ai-indicator/ai-indicator.template.ts"
2453
+ "name": "menuTemplate",
2454
+ "module": "src/actions-menu/actions-menu.template.ts"
2455
+ }
2456
+ },
2457
+ {
2458
+ "kind": "js",
2459
+ "name": "singleOptionTemplate",
2460
+ "declaration": {
2461
+ "name": "singleOptionTemplate",
2462
+ "module": "src/actions-menu/actions-menu.template.ts"
2463
+ }
2464
+ },
2465
+ {
2466
+ "kind": "js",
2467
+ "name": "foundationActionsMenuTemplate",
2468
+ "declaration": {
2469
+ "name": "foundationActionsMenuTemplate",
2470
+ "module": "src/actions-menu/actions-menu.template.ts"
2413
2471
  }
2414
2472
  }
2415
2473
  ]
2416
2474
  },
2417
2475
  {
2418
2476
  "kind": "javascript-module",
2419
- "path": "src/ai-indicator/ai-indicator.ts",
2477
+ "path": "src/actions-menu/actions-menu.ts",
2420
2478
  "declarations": [
2421
2479
  {
2422
2480
  "kind": "class",
2423
2481
  "description": "",
2424
- "name": "AiIndicator",
2482
+ "name": "ActionsMenu",
2425
2483
  "members": [
2426
2484
  {
2427
2485
  "kind": "field",
2428
- "name": "aiProvider",
2486
+ "name": "actions",
2429
2487
  "type": {
2430
- "text": "AIProvider"
2488
+ "text": "ActionMenuItem[]"
2431
2489
  }
2432
2490
  },
2433
2491
  {
2434
2492
  "kind": "field",
2435
- "name": "status",
2493
+ "name": "isVertical",
2436
2494
  "type": {
2437
- "text": "AIStatus | null"
2495
+ "text": "boolean"
2438
2496
  },
2439
- "default": "null"
2497
+ "default": "false"
2440
2498
  },
2441
2499
  {
2442
2500
  "kind": "field",
2443
- "name": "open",
2501
+ "name": "addDefaultActions",
2444
2502
  "type": {
2445
2503
  "text": "boolean"
2446
2504
  },
2447
- "default": "false"
2505
+ "default": "true"
2448
2506
  },
2449
2507
  {
2450
2508
  "kind": "field",
2451
- "name": "state",
2509
+ "name": "autoCloseOnAction",
2452
2510
  "type": {
2453
- "text": "AIIndicatorState"
2511
+ "text": "boolean"
2454
2512
  },
2455
- "default": "'none'"
2513
+ "default": "true"
2456
2514
  },
2457
2515
  {
2458
2516
  "kind": "field",
2459
- "name": "isInstalling",
2517
+ "name": "classNames",
2460
2518
  "type": {
2461
- "text": "boolean"
2462
- },
2463
- "default": "false"
2519
+ "text": "string"
2520
+ }
2464
2521
  },
2465
2522
  {
2466
2523
  "kind": "field",
2467
- "name": "pollTimer",
2524
+ "name": "definition",
2468
2525
  "type": {
2469
- "text": "ReturnType<typeof setInterval> | null"
2470
- },
2471
- "privacy": "private",
2472
- "default": "null"
2526
+ "text": "any"
2527
+ }
2473
2528
  },
2474
2529
  {
2475
2530
  "kind": "field",
2476
- "name": "clickOutside",
2477
- "privacy": "private"
2531
+ "name": "name",
2532
+ "type": {
2533
+ "text": "string"
2534
+ },
2535
+ "default": "'Actions'"
2478
2536
  },
2479
2537
  {
2480
2538
  "kind": "field",
2481
- "name": "chromeStatusLabel",
2539
+ "name": "open",
2482
2540
  "type": {
2483
- "text": "string | null"
2541
+ "text": "boolean"
2484
2542
  },
2485
- "readonly": true
2543
+ "default": "false"
2486
2544
  },
2487
2545
  {
2488
2546
  "kind": "field",
2489
- "name": "canInstall",
2547
+ "name": "buttonAppearance",
2548
+ "type": {
2549
+ "text": "string"
2550
+ }
2551
+ },
2552
+ {
2553
+ "kind": "field",
2554
+ "name": "hideDisabled",
2490
2555
  "type": {
2491
2556
  "text": "boolean"
2492
2557
  },
2493
- "readonly": true
2558
+ "default": "false"
2494
2559
  },
2495
2560
  {
2496
2561
  "kind": "field",
2497
- "name": "isDownloading",
2562
+ "name": "hideMenuSingleOption",
2498
2563
  "type": {
2499
2564
  "text": "boolean"
2500
2565
  },
2501
- "readonly": true
2566
+ "default": "false"
2502
2567
  },
2503
2568
  {
2504
- "kind": "method",
2505
- "name": "openChanged",
2506
- "return": {
2507
- "type": {
2508
- "text": "void"
2509
- }
2569
+ "kind": "field",
2570
+ "name": "singleOption",
2571
+ "type": {
2572
+ "text": "ActionMenuItem"
2573
+ }
2574
+ },
2575
+ {
2576
+ "kind": "field",
2577
+ "name": "actionsMenu",
2578
+ "type": {
2579
+ "text": "HTMLElement"
2510
2580
  }
2511
2581
  },
2512
2582
  {
2513
2583
  "kind": "method",
2514
- "name": "handleClickOutside",
2515
- "privacy": "private",
2584
+ "name": "definitionChanged",
2585
+ "privacy": "protected",
2516
2586
  "parameters": [
2517
2587
  {
2518
- "name": "event",
2588
+ "name": "oldValue",
2519
2589
  "type": {
2520
- "text": "MouseEvent"
2590
+ "text": "any"
2591
+ }
2592
+ },
2593
+ {
2594
+ "name": "newValue",
2595
+ "type": {
2596
+ "text": "any"
2521
2597
  }
2522
2598
  }
2523
2599
  ]
2524
2600
  },
2525
2601
  {
2526
2602
  "kind": "method",
2527
- "name": "toggleDropdown"
2603
+ "name": "openChanged",
2604
+ "privacy": "protected"
2528
2605
  },
2529
2606
  {
2530
2607
  "kind": "method",
2531
- "name": "refreshStatus",
2532
- "return": {
2533
- "type": {
2534
- "text": "Promise<void>"
2535
- }
2536
- }
2608
+ "name": "toggleActionsMenuVisibility"
2537
2609
  },
2538
2610
  {
2539
2611
  "kind": "method",
2540
- "name": "deriveState",
2541
- "privacy": "private",
2542
- "return": {
2543
- "type": {
2544
- "text": "AIIndicatorState"
2545
- }
2546
- },
2612
+ "name": "onActionMenuItemClick",
2547
2613
  "parameters": [
2548
2614
  {
2549
- "name": "s",
2615
+ "name": "callback",
2550
2616
  "type": {
2551
- "text": "AIStatus | null"
2617
+ "text": "(rowData) => void | any"
2552
2618
  }
2553
2619
  }
2554
2620
  ]
2555
2621
  },
2556
2622
  {
2557
- "kind": "method",
2558
- "name": "maybeStartPolling",
2559
- "privacy": "private",
2560
- "return": {
2561
- "type": {
2562
- "text": "void"
2563
- }
2564
- }
2623
+ "kind": "field",
2624
+ "name": "allActions",
2625
+ "type": {
2626
+ "text": "ActionMenuItem[]"
2627
+ },
2628
+ "readonly": true
2565
2629
  },
2566
2630
  {
2567
- "kind": "method",
2568
- "name": "startPolling",
2569
- "privacy": "private",
2570
- "return": {
2571
- "type": {
2572
- "text": "void"
2573
- }
2574
- }
2631
+ "kind": "field",
2632
+ "name": "rowData",
2633
+ "readonly": true
2575
2634
  },
2576
2635
  {
2577
2636
  "kind": "method",
2578
- "name": "stopPolling",
2579
- "privacy": "private",
2580
- "return": {
2581
- "type": {
2582
- "text": "void"
2637
+ "name": "getLabel",
2638
+ "parameters": [
2639
+ {
2640
+ "name": "name",
2641
+ "type": {
2642
+ "text": "string | ((rowData: any) => string)"
2643
+ }
2583
2644
  }
2584
- }
2645
+ ]
2585
2646
  },
2586
2647
  {
2587
2648
  "kind": "method",
2588
- "name": "onInstall",
2589
- "return": {
2590
- "type": {
2591
- "text": "Promise<void>"
2649
+ "name": "getTemplate",
2650
+ "parameters": [
2651
+ {
2652
+ "name": "prefix",
2653
+ "type": {
2654
+ "text": "string"
2655
+ }
2592
2656
  }
2593
- }
2657
+ ]
2594
2658
  },
2595
2659
  {
2596
2660
  "kind": "field",
@@ -2704,88 +2768,131 @@
2704
2768
  }
2705
2769
  }
2706
2770
  ],
2771
+ "attributes": [
2772
+ {
2773
+ "name": "is-vertical",
2774
+ "type": {
2775
+ "text": "boolean"
2776
+ },
2777
+ "default": "false",
2778
+ "fieldName": "isVertical"
2779
+ },
2780
+ {
2781
+ "name": "add-default-actions",
2782
+ "type": {
2783
+ "text": "boolean"
2784
+ },
2785
+ "default": "true",
2786
+ "fieldName": "addDefaultActions"
2787
+ },
2788
+ {
2789
+ "name": "auto-close-on-action",
2790
+ "type": {
2791
+ "text": "boolean"
2792
+ },
2793
+ "default": "true",
2794
+ "fieldName": "autoCloseOnAction"
2795
+ },
2796
+ {
2797
+ "name": "name",
2798
+ "type": {
2799
+ "text": "string"
2800
+ },
2801
+ "default": "'Actions'",
2802
+ "fieldName": "name"
2803
+ },
2804
+ {
2805
+ "name": "open",
2806
+ "type": {
2807
+ "text": "boolean"
2808
+ },
2809
+ "default": "false",
2810
+ "fieldName": "open"
2811
+ },
2812
+ {
2813
+ "name": "buttonAppearance",
2814
+ "type": {
2815
+ "text": "string"
2816
+ },
2817
+ "fieldName": "buttonAppearance"
2818
+ },
2819
+ {
2820
+ "name": "hide-disabled",
2821
+ "type": {
2822
+ "text": "boolean"
2823
+ },
2824
+ "default": "false",
2825
+ "fieldName": "hideDisabled"
2826
+ },
2827
+ {
2828
+ "name": "hide-menu-single-option",
2829
+ "type": {
2830
+ "text": "boolean"
2831
+ },
2832
+ "default": "false",
2833
+ "fieldName": "hideMenuSingleOption"
2834
+ }
2835
+ ],
2707
2836
  "superclass": {
2708
2837
  "name": "FoundationElement",
2709
2838
  "package": "@microsoft/fast-foundation"
2710
2839
  },
2711
- "tagName": "%%prefix%%-ai-indicator",
2840
+ "tagName": "%%prefix%%-actions-menu",
2712
2841
  "customElement": true
2713
2842
  },
2714
2843
  {
2715
2844
  "kind": "variable",
2716
- "name": "foundationAiIndicator"
2845
+ "name": "foundationActionsMenu",
2846
+ "description": "The Foundation Actions Menu",
2847
+ "privacy": "public"
2717
2848
  }
2718
2849
  ],
2719
2850
  "exports": [
2720
2851
  {
2721
2852
  "kind": "js",
2722
- "name": "AiIndicator",
2853
+ "name": "ActionsMenu",
2723
2854
  "declaration": {
2724
- "name": "AiIndicator",
2725
- "module": "src/ai-indicator/ai-indicator.ts"
2855
+ "name": "ActionsMenu",
2856
+ "module": "src/actions-menu/actions-menu.ts"
2726
2857
  }
2727
2858
  },
2728
2859
  {
2729
2860
  "kind": "js",
2730
- "name": "foundationAiIndicator",
2861
+ "name": "foundationActionsMenu",
2731
2862
  "declaration": {
2732
- "name": "foundationAiIndicator",
2733
- "module": "src/ai-indicator/ai-indicator.ts"
2863
+ "name": "foundationActionsMenu",
2864
+ "module": "src/actions-menu/actions-menu.ts"
2734
2865
  }
2735
2866
  }
2736
2867
  ]
2737
2868
  },
2738
2869
  {
2739
2870
  "kind": "javascript-module",
2740
- "path": "src/ai-indicator/index.ts",
2871
+ "path": "src/actions-menu/index.ts",
2741
2872
  "declarations": [],
2742
2873
  "exports": [
2743
2874
  {
2744
2875
  "kind": "js",
2745
- "name": "AiIndicator",
2746
- "declaration": {
2747
- "name": "AiIndicator",
2748
- "module": "./ai-indicator"
2749
- }
2750
- },
2751
- {
2752
- "kind": "js",
2753
- "name": "foundationAiIndicator",
2754
- "declaration": {
2755
- "name": "foundationAiIndicator",
2756
- "module": "./ai-indicator"
2757
- }
2758
- },
2759
- {
2760
- "kind": "js",
2761
- "name": "type",
2762
- "declaration": {
2763
- "name": "type",
2764
- "module": "./ai-indicator"
2765
- }
2766
- },
2767
- {
2768
- "kind": "js",
2769
- "name": "AIIndicatorState",
2876
+ "name": "*",
2770
2877
  "declaration": {
2771
- "name": "AIIndicatorState",
2772
- "module": "./ai-indicator"
2878
+ "name": "*",
2879
+ "package": "./actions-menu.styles"
2773
2880
  }
2774
2881
  },
2775
2882
  {
2776
2883
  "kind": "js",
2777
- "name": "foundationAiIndicatorTemplate",
2884
+ "name": "*",
2778
2885
  "declaration": {
2779
- "name": "foundationAiIndicatorTemplate",
2780
- "module": "./ai-indicator.template"
2886
+ "name": "*",
2887
+ "package": "./actions-menu.template"
2781
2888
  }
2782
2889
  },
2783
2890
  {
2784
2891
  "kind": "js",
2785
- "name": "foundationAiIndicatorStyles",
2892
+ "name": "*",
2786
2893
  "declaration": {
2787
- "name": "foundationAiIndicatorStyles",
2788
- "module": "./ai-indicator.styles"
2894
+ "name": "*",
2895
+ "package": "./actions-menu"
2789
2896
  }
2790
2897
  }
2791
2898
  ]
@@ -3401,42 +3508,11 @@
3401
3508
  },
3402
3509
  {
3403
3510
  "kind": "javascript-module",
3404
- "path": "src/_config/index.ts",
3405
- "declarations": [],
3406
- "exports": [
3407
- {
3408
- "kind": "js",
3409
- "name": "*",
3410
- "declaration": {
3411
- "name": "*",
3412
- "package": "./styles"
3413
- }
3414
- },
3415
- {
3416
- "kind": "js",
3417
- "name": "*",
3418
- "declaration": {
3419
- "name": "*",
3420
- "package": "./tokens"
3421
- }
3422
- },
3423
- {
3424
- "kind": "js",
3425
- "name": "*",
3426
- "declaration": {
3427
- "name": "*",
3428
- "package": "./values"
3429
- }
3430
- }
3431
- ]
3432
- },
3433
- {
3434
- "kind": "javascript-module",
3435
- "path": "src/accordion/accordion.styles.ts",
3511
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
3436
3512
  "declarations": [
3437
3513
  {
3438
3514
  "kind": "function",
3439
- "name": "foundationAccordionStyles",
3515
+ "name": "foundationAiIndicatorStyles",
3440
3516
  "return": {
3441
3517
  "type": {
3442
3518
  "text": "ElementStyles"
@@ -3461,276 +3537,214 @@
3461
3537
  "exports": [
3462
3538
  {
3463
3539
  "kind": "js",
3464
- "name": "foundationAccordionStyles",
3540
+ "name": "foundationAiIndicatorStyles",
3465
3541
  "declaration": {
3466
- "name": "foundationAccordionStyles",
3467
- "module": "src/accordion/accordion.styles.ts"
3542
+ "name": "foundationAiIndicatorStyles",
3543
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3468
3544
  }
3469
3545
  }
3470
3546
  ]
3471
3547
  },
3472
3548
  {
3473
3549
  "kind": "javascript-module",
3474
- "path": "src/accordion/accordion.template.ts",
3550
+ "path": "src/ai-indicator/ai-indicator.template.ts",
3475
3551
  "declarations": [
3476
3552
  {
3477
- "kind": "function",
3478
- "name": "foundationAccordionTemplate",
3479
- "return": {
3480
- "type": {
3481
- "text": "ViewTemplate<Accordion>"
3482
- }
3553
+ "kind": "variable",
3554
+ "name": "foundationAiIndicatorTemplate",
3555
+ "type": {
3556
+ "text": "ViewTemplate<AiIndicator>"
3483
3557
  },
3484
- "parameters": [
3485
- {
3486
- "name": "context",
3487
- "type": {
3488
- "text": "ElementDefinitionContext"
3489
- }
3490
- },
3491
- {
3492
- "name": "definition",
3493
- "type": {
3494
- "text": "FoundationElementDefinition"
3495
- }
3496
- }
3497
- ]
3558
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3498
3559
  }
3499
3560
  ],
3500
3561
  "exports": [
3501
3562
  {
3502
3563
  "kind": "js",
3503
- "name": "foundationAccordionTemplate",
3564
+ "name": "foundationAiIndicatorTemplate",
3504
3565
  "declaration": {
3505
- "name": "foundationAccordionTemplate",
3506
- "module": "src/accordion/accordion.template.ts"
3566
+ "name": "foundationAiIndicatorTemplate",
3567
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3507
3568
  }
3508
3569
  }
3509
3570
  ]
3510
3571
  },
3511
3572
  {
3512
3573
  "kind": "javascript-module",
3513
- "path": "src/accordion/accordion.ts",
3574
+ "path": "src/ai-indicator/ai-indicator.ts",
3514
3575
  "declarations": [
3515
3576
  {
3516
3577
  "kind": "class",
3517
3578
  "description": "",
3518
- "name": "Accordion",
3519
- "superclass": {
3520
- "name": "FASTAccordion",
3521
- "package": "@microsoft/fast-foundation"
3522
- },
3523
- "tagName": "%%prefix%%-accordion",
3524
- "customElement": true,
3525
- "attributes": [
3579
+ "name": "AiIndicator",
3580
+ "members": [
3526
3581
  {
3527
- "name": "expand-mode",
3582
+ "kind": "field",
3583
+ "name": "aiProvider",
3528
3584
  "type": {
3529
- "text": "AccordionExpandMode"
3530
- },
3531
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3532
- "fieldName": "expandmode",
3533
- "inheritedFrom": {
3534
- "name": "Accordion",
3535
- "module": "src/accordion/accordion.ts"
3585
+ "text": "AIProvider"
3536
3586
  }
3537
- }
3538
- ],
3539
- "members": [
3587
+ },
3540
3588
  {
3541
3589
  "kind": "field",
3542
- "name": "expandmode",
3590
+ "name": "status",
3543
3591
  "type": {
3544
- "text": "AccordionExpandMode"
3592
+ "text": "AIStatus | null"
3545
3593
  },
3546
- "privacy": "public",
3547
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3548
- "inheritedFrom": {
3549
- "name": "Accordion",
3550
- "module": "src/accordion/accordion.ts"
3551
- }
3594
+ "default": "null"
3552
3595
  },
3553
3596
  {
3554
3597
  "kind": "field",
3555
- "name": "activeid",
3598
+ "name": "open",
3556
3599
  "type": {
3557
- "text": "string | null"
3600
+ "text": "boolean"
3558
3601
  },
3559
- "privacy": "private",
3560
- "inheritedFrom": {
3561
- "name": "Accordion",
3562
- "module": "src/accordion/accordion.ts"
3563
- }
3602
+ "default": "false"
3564
3603
  },
3565
3604
  {
3566
3605
  "kind": "field",
3567
- "name": "activeItemIndex",
3606
+ "name": "state",
3568
3607
  "type": {
3569
- "text": "number"
3608
+ "text": "AIIndicatorState"
3570
3609
  },
3571
- "privacy": "private",
3572
- "default": "0",
3573
- "inheritedFrom": {
3574
- "name": "Accordion",
3575
- "module": "src/accordion/accordion.ts"
3576
- }
3610
+ "default": "'none'"
3577
3611
  },
3578
3612
  {
3579
3613
  "kind": "field",
3580
- "name": "accordionIds",
3614
+ "name": "isInstalling",
3581
3615
  "type": {
3582
- "text": "Array<string | null>"
3616
+ "text": "boolean"
3583
3617
  },
3584
- "privacy": "private",
3585
- "inheritedFrom": {
3586
- "name": "Accordion",
3587
- "module": "src/accordion/accordion.ts"
3588
- }
3618
+ "default": "false"
3589
3619
  },
3590
3620
  {
3591
3621
  "kind": "field",
3592
- "name": "change",
3622
+ "name": "pollTimer",
3623
+ "type": {
3624
+ "text": "ReturnType<typeof setInterval> | null"
3625
+ },
3593
3626
  "privacy": "private",
3594
- "inheritedFrom": {
3595
- "name": "Accordion",
3596
- "module": "src/accordion/accordion.ts"
3597
- }
3627
+ "default": "null"
3598
3628
  },
3599
3629
  {
3600
- "kind": "method",
3601
- "name": "findExpandedItem",
3602
- "privacy": "private",
3603
- "return": {
3604
- "type": {
3605
- "text": "AccordionItem | null"
3606
- }
3630
+ "kind": "field",
3631
+ "name": "clickOutside",
3632
+ "privacy": "private"
3633
+ },
3634
+ {
3635
+ "kind": "field",
3636
+ "name": "chromeStatusLabel",
3637
+ "type": {
3638
+ "text": "string | null"
3607
3639
  },
3608
- "inheritedFrom": {
3609
- "name": "Accordion",
3610
- "module": "src/accordion/accordion.ts"
3611
- }
3640
+ "readonly": true
3612
3641
  },
3613
3642
  {
3614
3643
  "kind": "field",
3615
- "name": "setItems",
3616
- "privacy": "private",
3617
- "inheritedFrom": {
3618
- "name": "Accordion",
3619
- "module": "src/accordion/accordion.ts"
3620
- }
3644
+ "name": "canInstall",
3645
+ "type": {
3646
+ "text": "boolean"
3647
+ },
3648
+ "readonly": true
3649
+ },
3650
+ {
3651
+ "kind": "field",
3652
+ "name": "isDownloading",
3653
+ "type": {
3654
+ "text": "boolean"
3655
+ },
3656
+ "readonly": true
3621
3657
  },
3622
3658
  {
3623
3659
  "kind": "method",
3624
- "name": "resetItems",
3625
- "privacy": "private",
3660
+ "name": "openChanged",
3626
3661
  "return": {
3627
3662
  "type": {
3628
3663
  "text": "void"
3629
3664
  }
3630
- },
3631
- "inheritedFrom": {
3632
- "name": "Accordion",
3633
- "module": "src/accordion/accordion.ts"
3634
3665
  }
3635
3666
  },
3636
3667
  {
3637
- "kind": "field",
3638
- "name": "removeItemListeners",
3668
+ "kind": "method",
3669
+ "name": "handleClickOutside",
3639
3670
  "privacy": "private",
3640
- "inheritedFrom": {
3641
- "name": "Accordion",
3642
- "module": "src/accordion/accordion.ts"
3643
- }
3671
+ "parameters": [
3672
+ {
3673
+ "name": "event",
3674
+ "type": {
3675
+ "text": "MouseEvent"
3676
+ }
3677
+ }
3678
+ ]
3644
3679
  },
3645
3680
  {
3646
- "kind": "field",
3647
- "name": "activeItemChange",
3648
- "privacy": "private",
3649
- "inheritedFrom": {
3650
- "name": "Accordion",
3651
- "module": "src/accordion/accordion.ts"
3652
- }
3681
+ "kind": "method",
3682
+ "name": "toggleDropdown"
3653
3683
  },
3654
3684
  {
3655
3685
  "kind": "method",
3656
- "name": "getItemIds",
3657
- "privacy": "private",
3686
+ "name": "refreshStatus",
3658
3687
  "return": {
3659
3688
  "type": {
3660
- "text": "Array<string | null>"
3689
+ "text": "Promise<void>"
3661
3690
  }
3662
- },
3663
- "inheritedFrom": {
3664
- "name": "Accordion",
3665
- "module": "src/accordion/accordion.ts"
3666
3691
  }
3667
3692
  },
3668
3693
  {
3669
3694
  "kind": "method",
3670
- "name": "isSingleExpandMode",
3695
+ "name": "deriveState",
3671
3696
  "privacy": "private",
3672
3697
  "return": {
3673
3698
  "type": {
3674
- "text": "boolean"
3699
+ "text": "AIIndicatorState"
3675
3700
  }
3676
3701
  },
3677
- "inheritedFrom": {
3678
- "name": "Accordion",
3679
- "module": "src/accordion/accordion.ts"
3680
- }
3702
+ "parameters": [
3703
+ {
3704
+ "name": "s",
3705
+ "type": {
3706
+ "text": "AIStatus | null"
3707
+ }
3708
+ }
3709
+ ]
3681
3710
  },
3682
3711
  {
3683
- "kind": "field",
3684
- "name": "handleItemKeyDown",
3712
+ "kind": "method",
3713
+ "name": "maybeStartPolling",
3685
3714
  "privacy": "private",
3686
- "inheritedFrom": {
3687
- "name": "Accordion",
3688
- "module": "src/accordion/accordion.ts"
3715
+ "return": {
3716
+ "type": {
3717
+ "text": "void"
3718
+ }
3689
3719
  }
3690
3720
  },
3691
3721
  {
3692
- "kind": "field",
3693
- "name": "handleItemFocus",
3722
+ "kind": "method",
3723
+ "name": "startPolling",
3694
3724
  "privacy": "private",
3695
- "inheritedFrom": {
3696
- "name": "Accordion",
3697
- "module": "src/accordion/accordion.ts"
3725
+ "return": {
3726
+ "type": {
3727
+ "text": "void"
3728
+ }
3698
3729
  }
3699
3730
  },
3700
3731
  {
3701
3732
  "kind": "method",
3702
- "name": "adjust",
3733
+ "name": "stopPolling",
3703
3734
  "privacy": "private",
3704
3735
  "return": {
3705
3736
  "type": {
3706
3737
  "text": "void"
3707
3738
  }
3708
- },
3709
- "parameters": [
3710
- {
3711
- "name": "adjustment",
3712
- "type": {
3713
- "text": "number"
3714
- }
3715
- }
3716
- ],
3717
- "inheritedFrom": {
3718
- "name": "Accordion",
3719
- "module": "src/accordion/accordion.ts"
3720
3739
  }
3721
3740
  },
3722
3741
  {
3723
3742
  "kind": "method",
3724
- "name": "focusItem",
3725
- "privacy": "private",
3743
+ "name": "onInstall",
3726
3744
  "return": {
3727
3745
  "type": {
3728
- "text": "void"
3746
+ "text": "Promise<void>"
3729
3747
  }
3730
- },
3731
- "inheritedFrom": {
3732
- "name": "Accordion",
3733
- "module": "src/accordion/accordion.ts"
3734
3748
  }
3735
3749
  },
3736
3750
  {
@@ -3845,102 +3859,88 @@
3845
3859
  }
3846
3860
  }
3847
3861
  ],
3848
- "events": [
3849
- {
3850
- "description": "Fires a custom 'change' event when the active item changes",
3851
- "name": "change",
3852
- "inheritedFrom": {
3853
- "name": "Accordion",
3854
- "module": "src/accordion/accordion.ts"
3855
- }
3856
- }
3857
- ]
3858
- },
3859
- {
3860
- "kind": "variable",
3861
- "name": "foundationAccordionShadowOptions",
3862
- "type": {
3863
- "text": "ShadowRootInit"
3864
- },
3865
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3866
- },
3867
- {
3868
- "kind": "variable",
3869
- "name": "defaultAccordionConfig",
3870
- "type": {
3871
- "text": "object"
3862
+ "superclass": {
3863
+ "name": "FoundationElement",
3864
+ "package": "@microsoft/fast-foundation"
3872
3865
  },
3873
- "default": "{}"
3866
+ "tagName": "%%prefix%%-ai-indicator",
3867
+ "customElement": true
3874
3868
  },
3875
3869
  {
3876
3870
  "kind": "variable",
3877
- "name": "foundationAccordion",
3878
- "description": "The Foundation Accordion",
3879
- "privacy": "public"
3871
+ "name": "foundationAiIndicator"
3880
3872
  }
3881
3873
  ],
3882
3874
  "exports": [
3883
3875
  {
3884
3876
  "kind": "js",
3885
- "name": "Accordion",
3877
+ "name": "AiIndicator",
3886
3878
  "declaration": {
3887
- "name": "Accordion",
3888
- "module": "src/accordion/accordion.ts"
3879
+ "name": "AiIndicator",
3880
+ "module": "src/ai-indicator/ai-indicator.ts"
3889
3881
  }
3890
3882
  },
3891
3883
  {
3892
3884
  "kind": "js",
3893
- "name": "foundationAccordionShadowOptions",
3885
+ "name": "foundationAiIndicator",
3894
3886
  "declaration": {
3895
- "name": "foundationAccordionShadowOptions",
3896
- "module": "src/accordion/accordion.ts"
3887
+ "name": "foundationAiIndicator",
3888
+ "module": "src/ai-indicator/ai-indicator.ts"
3889
+ }
3890
+ }
3891
+ ]
3892
+ },
3893
+ {
3894
+ "kind": "javascript-module",
3895
+ "path": "src/ai-indicator/index.ts",
3896
+ "declarations": [],
3897
+ "exports": [
3898
+ {
3899
+ "kind": "js",
3900
+ "name": "AiIndicator",
3901
+ "declaration": {
3902
+ "name": "AiIndicator",
3903
+ "module": "./ai-indicator"
3897
3904
  }
3898
3905
  },
3899
3906
  {
3900
3907
  "kind": "js",
3901
- "name": "defaultAccordionConfig",
3908
+ "name": "foundationAiIndicator",
3902
3909
  "declaration": {
3903
- "name": "defaultAccordionConfig",
3904
- "module": "src/accordion/accordion.ts"
3910
+ "name": "foundationAiIndicator",
3911
+ "module": "./ai-indicator"
3905
3912
  }
3906
3913
  },
3907
3914
  {
3908
3915
  "kind": "js",
3909
- "name": "foundationAccordion",
3916
+ "name": "type",
3910
3917
  "declaration": {
3911
- "name": "foundationAccordion",
3912
- "module": "src/accordion/accordion.ts"
3918
+ "name": "type",
3919
+ "module": "./ai-indicator"
3913
3920
  }
3914
- }
3915
- ]
3916
- },
3917
- {
3918
- "kind": "javascript-module",
3919
- "path": "src/accordion/index.ts",
3920
- "declarations": [],
3921
- "exports": [
3921
+ },
3922
3922
  {
3923
3923
  "kind": "js",
3924
- "name": "*",
3924
+ "name": "AIIndicatorState",
3925
3925
  "declaration": {
3926
- "name": "*",
3927
- "package": "./accordion.template"
3926
+ "name": "AIIndicatorState",
3927
+ "module": "./ai-indicator"
3928
3928
  }
3929
3929
  },
3930
3930
  {
3931
3931
  "kind": "js",
3932
- "name": "*",
3932
+ "name": "foundationAiIndicatorTemplate",
3933
3933
  "declaration": {
3934
- "name": "*",
3935
- "package": "./accordion.styles"
3934
+ "name": "foundationAiIndicatorTemplate",
3935
+ "module": "./ai-indicator.template"
3936
3936
  }
3937
3937
  },
3938
3938
  {
3939
3939
  "kind": "js",
3940
- "name": "*",
3940
+ "name": "foundationAiIndicatorStyles",
3941
3941
  "declaration": {
3942
- "name": "*",
3943
- "package": "./accordion"
3942
+ "name": "foundationAiIndicatorStyles",
3943
+ "module": "./ai-indicator.styles"
3944
3944
  }
3945
3945
  }
3946
3946
  ]
@@ -57095,197 +57095,6 @@
57095
57095
  }
57096
57096
  ]
57097
57097
  },
57098
- {
57099
- "kind": "javascript-module",
57100
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
57101
- "declarations": [],
57102
- "exports": []
57103
- },
57104
- {
57105
- "kind": "javascript-module",
57106
- "path": "src/ai-criteria-search/validation/operator-map.ts",
57107
- "declarations": [
57108
- {
57109
- "kind": "function",
57110
- "name": "groupsToCriteria",
57111
- "return": {
57112
- "type": {
57113
- "text": "string"
57114
- }
57115
- },
57116
- "parameters": [
57117
- {
57118
- "name": "groups",
57119
- "type": {
57120
- "text": "CriteriaGroup[]"
57121
- }
57122
- }
57123
- ],
57124
- "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."
57125
- },
57126
- {
57127
- "kind": "variable",
57128
- "name": "STRING_OPERATORS",
57129
- "type": {
57130
- "text": "CriteriaOperator[]"
57131
- },
57132
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
57133
- },
57134
- {
57135
- "kind": "variable",
57136
- "name": "NUMERIC_OPERATORS",
57137
- "type": {
57138
- "text": "CriteriaOperator[]"
57139
- },
57140
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
57141
- },
57142
- {
57143
- "kind": "variable",
57144
- "name": "DATE_OPERATORS",
57145
- "type": {
57146
- "text": "CriteriaOperator[]"
57147
- },
57148
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
57149
- },
57150
- {
57151
- "kind": "variable",
57152
- "name": "DATETIME_OPERATORS",
57153
- "type": {
57154
- "text": "CriteriaOperator[]"
57155
- },
57156
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
57157
- },
57158
- {
57159
- "kind": "variable",
57160
- "name": "OPERATOR_DISPLAY_LABEL",
57161
- "type": {
57162
- "text": "Record<CriteriaOperator, string>"
57163
- },
57164
- "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}"
57165
- }
57166
- ],
57167
- "exports": [
57168
- {
57169
- "kind": "js",
57170
- "name": "groupsToCriteria",
57171
- "declaration": {
57172
- "name": "groupsToCriteria",
57173
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57174
- }
57175
- },
57176
- {
57177
- "kind": "js",
57178
- "name": "STRING_OPERATORS",
57179
- "declaration": {
57180
- "name": "STRING_OPERATORS",
57181
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57182
- }
57183
- },
57184
- {
57185
- "kind": "js",
57186
- "name": "NUMERIC_OPERATORS",
57187
- "declaration": {
57188
- "name": "NUMERIC_OPERATORS",
57189
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57190
- }
57191
- },
57192
- {
57193
- "kind": "js",
57194
- "name": "DATE_OPERATORS",
57195
- "declaration": {
57196
- "name": "DATE_OPERATORS",
57197
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57198
- }
57199
- },
57200
- {
57201
- "kind": "js",
57202
- "name": "DATETIME_OPERATORS",
57203
- "declaration": {
57204
- "name": "DATETIME_OPERATORS",
57205
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57206
- }
57207
- },
57208
- {
57209
- "kind": "js",
57210
- "name": "OPERATOR_DISPLAY_LABEL",
57211
- "declaration": {
57212
- "name": "OPERATOR_DISPLAY_LABEL",
57213
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57214
- }
57215
- }
57216
- ]
57217
- },
57218
- {
57219
- "kind": "javascript-module",
57220
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
57221
- "declarations": [
57222
- {
57223
- "kind": "function",
57224
- "name": "validateClauses",
57225
- "return": {
57226
- "type": {
57227
- "text": "ValidationResult"
57228
- }
57229
- },
57230
- "parameters": [
57231
- {
57232
- "name": "clauses",
57233
- "type": {
57234
- "text": "CriteriaClause[]"
57235
- }
57236
- },
57237
- {
57238
- "name": "fieldMetadata",
57239
- "type": {
57240
- "text": "MetadataDetail[] | string[]"
57241
- }
57242
- }
57243
- ]
57244
- },
57245
- {
57246
- "kind": "function",
57247
- "name": "validateGroups",
57248
- "return": {
57249
- "type": {
57250
- "text": "GroupsValidationResult"
57251
- }
57252
- },
57253
- "parameters": [
57254
- {
57255
- "name": "groups",
57256
- "type": {
57257
- "text": "CriteriaGroup[]"
57258
- }
57259
- },
57260
- {
57261
- "name": "fieldMetadata",
57262
- "type": {
57263
- "text": "MetadataDetail[] | string[]"
57264
- }
57265
- }
57266
- ],
57267
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
57268
- }
57269
- ],
57270
- "exports": [
57271
- {
57272
- "kind": "js",
57273
- "name": "validateClauses",
57274
- "declaration": {
57275
- "name": "validateClauses",
57276
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
57277
- }
57278
- },
57279
- {
57280
- "kind": "js",
57281
- "name": "validateGroups",
57282
- "declaration": {
57283
- "name": "validateGroups",
57284
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
57285
- }
57286
- }
57287
- ]
57288
- },
57289
57098
  {
57290
57099
  "kind": "javascript-module",
57291
57100
  "path": "src/_config/styles/colors.ts",
@@ -58658,6 +58467,197 @@
58658
58467
  "declarations": [],
58659
58468
  "exports": []
58660
58469
  },
58470
+ {
58471
+ "kind": "javascript-module",
58472
+ "path": "src/ai-criteria-search/validation/criteria-ir.ts",
58473
+ "declarations": [],
58474
+ "exports": []
58475
+ },
58476
+ {
58477
+ "kind": "javascript-module",
58478
+ "path": "src/ai-criteria-search/validation/operator-map.ts",
58479
+ "declarations": [
58480
+ {
58481
+ "kind": "function",
58482
+ "name": "groupsToCriteria",
58483
+ "return": {
58484
+ "type": {
58485
+ "text": "string"
58486
+ }
58487
+ },
58488
+ "parameters": [
58489
+ {
58490
+ "name": "groups",
58491
+ "type": {
58492
+ "text": "CriteriaGroup[]"
58493
+ }
58494
+ }
58495
+ ],
58496
+ "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."
58497
+ },
58498
+ {
58499
+ "kind": "variable",
58500
+ "name": "STRING_OPERATORS",
58501
+ "type": {
58502
+ "text": "CriteriaOperator[]"
58503
+ },
58504
+ "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
58505
+ },
58506
+ {
58507
+ "kind": "variable",
58508
+ "name": "NUMERIC_OPERATORS",
58509
+ "type": {
58510
+ "text": "CriteriaOperator[]"
58511
+ },
58512
+ "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
58513
+ },
58514
+ {
58515
+ "kind": "variable",
58516
+ "name": "DATE_OPERATORS",
58517
+ "type": {
58518
+ "text": "CriteriaOperator[]"
58519
+ },
58520
+ "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
58521
+ },
58522
+ {
58523
+ "kind": "variable",
58524
+ "name": "DATETIME_OPERATORS",
58525
+ "type": {
58526
+ "text": "CriteriaOperator[]"
58527
+ },
58528
+ "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
58529
+ },
58530
+ {
58531
+ "kind": "variable",
58532
+ "name": "OPERATOR_DISPLAY_LABEL",
58533
+ "type": {
58534
+ "text": "Record<CriteriaOperator, string>"
58535
+ },
58536
+ "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}"
58537
+ }
58538
+ ],
58539
+ "exports": [
58540
+ {
58541
+ "kind": "js",
58542
+ "name": "groupsToCriteria",
58543
+ "declaration": {
58544
+ "name": "groupsToCriteria",
58545
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
58546
+ }
58547
+ },
58548
+ {
58549
+ "kind": "js",
58550
+ "name": "STRING_OPERATORS",
58551
+ "declaration": {
58552
+ "name": "STRING_OPERATORS",
58553
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
58554
+ }
58555
+ },
58556
+ {
58557
+ "kind": "js",
58558
+ "name": "NUMERIC_OPERATORS",
58559
+ "declaration": {
58560
+ "name": "NUMERIC_OPERATORS",
58561
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
58562
+ }
58563
+ },
58564
+ {
58565
+ "kind": "js",
58566
+ "name": "DATE_OPERATORS",
58567
+ "declaration": {
58568
+ "name": "DATE_OPERATORS",
58569
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
58570
+ }
58571
+ },
58572
+ {
58573
+ "kind": "js",
58574
+ "name": "DATETIME_OPERATORS",
58575
+ "declaration": {
58576
+ "name": "DATETIME_OPERATORS",
58577
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
58578
+ }
58579
+ },
58580
+ {
58581
+ "kind": "js",
58582
+ "name": "OPERATOR_DISPLAY_LABEL",
58583
+ "declaration": {
58584
+ "name": "OPERATOR_DISPLAY_LABEL",
58585
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
58586
+ }
58587
+ }
58588
+ ]
58589
+ },
58590
+ {
58591
+ "kind": "javascript-module",
58592
+ "path": "src/ai-criteria-search/validation/schema-validator.ts",
58593
+ "declarations": [
58594
+ {
58595
+ "kind": "function",
58596
+ "name": "validateClauses",
58597
+ "return": {
58598
+ "type": {
58599
+ "text": "ValidationResult"
58600
+ }
58601
+ },
58602
+ "parameters": [
58603
+ {
58604
+ "name": "clauses",
58605
+ "type": {
58606
+ "text": "CriteriaClause[]"
58607
+ }
58608
+ },
58609
+ {
58610
+ "name": "fieldMetadata",
58611
+ "type": {
58612
+ "text": "MetadataDetail[] | string[]"
58613
+ }
58614
+ }
58615
+ ]
58616
+ },
58617
+ {
58618
+ "kind": "function",
58619
+ "name": "validateGroups",
58620
+ "return": {
58621
+ "type": {
58622
+ "text": "GroupsValidationResult"
58623
+ }
58624
+ },
58625
+ "parameters": [
58626
+ {
58627
+ "name": "groups",
58628
+ "type": {
58629
+ "text": "CriteriaGroup[]"
58630
+ }
58631
+ },
58632
+ {
58633
+ "name": "fieldMetadata",
58634
+ "type": {
58635
+ "text": "MetadataDetail[] | string[]"
58636
+ }
58637
+ }
58638
+ ],
58639
+ "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
58640
+ }
58641
+ ],
58642
+ "exports": [
58643
+ {
58644
+ "kind": "js",
58645
+ "name": "validateClauses",
58646
+ "declaration": {
58647
+ "name": "validateClauses",
58648
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
58649
+ }
58650
+ },
58651
+ {
58652
+ "kind": "js",
58653
+ "name": "validateGroups",
58654
+ "declaration": {
58655
+ "name": "validateGroups",
58656
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
58657
+ }
58658
+ }
58659
+ ]
58660
+ },
58661
58661
  {
58662
58662
  "kind": "javascript-module",
58663
58663
  "path": "src/environment-indicator/utils/configure.ts",