@genesislcap/foundation-ui 15.48.0 → 15.49.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,7 +1495,370 @@
1495
1495
  },
1496
1496
  {
1497
1497
  "kind": "javascript-module",
1498
- "path": "src/_config/index.ts",
1498
+ "path": "src/accordion-item/accordion-item.styles.ts",
1499
+ "declarations": [
1500
+ {
1501
+ "kind": "function",
1502
+ "name": "foundationAccordionItemStyles",
1503
+ "return": {
1504
+ "type": {
1505
+ "text": "ElementStyles"
1506
+ }
1507
+ },
1508
+ "parameters": [
1509
+ {
1510
+ "name": "context",
1511
+ "type": {
1512
+ "text": "ElementDefinitionContext"
1513
+ }
1514
+ },
1515
+ {
1516
+ "name": "definition",
1517
+ "type": {
1518
+ "text": "FoundationElementDefinition"
1519
+ }
1520
+ }
1521
+ ]
1522
+ }
1523
+ ],
1524
+ "exports": [
1525
+ {
1526
+ "kind": "js",
1527
+ "name": "foundationAccordionItemStyles",
1528
+ "declaration": {
1529
+ "name": "foundationAccordionItemStyles",
1530
+ "module": "src/accordion-item/accordion-item.styles.ts"
1531
+ }
1532
+ }
1533
+ ]
1534
+ },
1535
+ {
1536
+ "kind": "javascript-module",
1537
+ "path": "src/accordion-item/accordion-item.template.ts",
1538
+ "declarations": [
1539
+ {
1540
+ "kind": "function",
1541
+ "name": "foundationAccordionItemTemplate",
1542
+ "return": {
1543
+ "type": {
1544
+ "text": "ViewTemplate<AccordionItem>"
1545
+ }
1546
+ },
1547
+ "parameters": [
1548
+ {
1549
+ "name": "context",
1550
+ "type": {
1551
+ "text": "ElementDefinitionContext"
1552
+ }
1553
+ },
1554
+ {
1555
+ "name": "definition",
1556
+ "type": {
1557
+ "text": "FoundationElementDefinition"
1558
+ }
1559
+ }
1560
+ ]
1561
+ }
1562
+ ],
1563
+ "exports": [
1564
+ {
1565
+ "kind": "js",
1566
+ "name": "foundationAccordionItemTemplate",
1567
+ "declaration": {
1568
+ "name": "foundationAccordionItemTemplate",
1569
+ "module": "src/accordion-item/accordion-item.template.ts"
1570
+ }
1571
+ }
1572
+ ]
1573
+ },
1574
+ {
1575
+ "kind": "javascript-module",
1576
+ "path": "src/accordion-item/accordion-item.ts",
1577
+ "declarations": [
1578
+ {
1579
+ "kind": "class",
1580
+ "description": "",
1581
+ "name": "AccordionItem",
1582
+ "superclass": {
1583
+ "name": "FASTAccordionItem",
1584
+ "package": "@microsoft/fast-components"
1585
+ },
1586
+ "tagName": "%%prefix%%-accordion-item",
1587
+ "customElement": true,
1588
+ "attributes": [
1589
+ {
1590
+ "name": "heading-level",
1591
+ "type": {
1592
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1593
+ },
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",
1597
+ "inheritedFrom": {
1598
+ "name": "AccordionItem",
1599
+ "module": "src/accordion-item/accordion-item.ts"
1600
+ }
1601
+ },
1602
+ {
1603
+ "type": {
1604
+ "text": "boolean"
1605
+ },
1606
+ "default": "false",
1607
+ "description": "Expands or collapses the item.",
1608
+ "fieldName": "expanded",
1609
+ "inheritedFrom": {
1610
+ "name": "AccordionItem",
1611
+ "module": "src/accordion-item/accordion-item.ts"
1612
+ }
1613
+ },
1614
+ {
1615
+ "name": "id",
1616
+ "type": {
1617
+ "text": "string"
1618
+ },
1619
+ "description": "The item ID",
1620
+ "fieldName": "id",
1621
+ "inheritedFrom": {
1622
+ "name": "AccordionItem",
1623
+ "module": "src/accordion-item/accordion-item.ts"
1624
+ }
1625
+ }
1626
+ ],
1627
+ "members": [
1628
+ {
1629
+ "kind": "field",
1630
+ "name": "headinglevel",
1631
+ "type": {
1632
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
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.",
1637
+ "inheritedFrom": {
1638
+ "name": "AccordionItem",
1639
+ "module": "src/accordion-item/accordion-item.ts"
1640
+ }
1641
+ },
1642
+ {
1643
+ "kind": "field",
1644
+ "name": "expanded",
1645
+ "type": {
1646
+ "text": "boolean"
1647
+ },
1648
+ "privacy": "public",
1649
+ "default": "false",
1650
+ "description": "Expands or collapses the item.",
1651
+ "inheritedFrom": {
1652
+ "name": "AccordionItem",
1653
+ "module": "src/accordion-item/accordion-item.ts"
1654
+ }
1655
+ },
1656
+ {
1657
+ "kind": "field",
1658
+ "name": "id",
1659
+ "type": {
1660
+ "text": "string"
1661
+ },
1662
+ "privacy": "public",
1663
+ "description": "The item ID",
1664
+ "inheritedFrom": {
1665
+ "name": "AccordionItem",
1666
+ "module": "src/accordion-item/accordion-item.ts"
1667
+ }
1668
+ },
1669
+ {
1670
+ "kind": "field",
1671
+ "name": "change",
1672
+ "privacy": "private",
1673
+ "inheritedFrom": {
1674
+ "name": "AccordionItem",
1675
+ "module": "src/accordion-item/accordion-item.ts"
1676
+ }
1677
+ },
1678
+ {
1679
+ "kind": "field",
1680
+ "name": "_presentation",
1681
+ "type": {
1682
+ "text": "ComponentPresentation | null | undefined"
1683
+ },
1684
+ "privacy": "private",
1685
+ "default": "void 0",
1686
+ "inheritedFrom": {
1687
+ "name": "FoundationElement",
1688
+ "module": "src/foundation-element/foundation-element.ts"
1689
+ }
1690
+ },
1691
+ {
1692
+ "kind": "field",
1693
+ "name": "$presentation",
1694
+ "type": {
1695
+ "text": "ComponentPresentation | null"
1696
+ },
1697
+ "privacy": "public",
1698
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1699
+ "inheritedFrom": {
1700
+ "name": "FoundationElement",
1701
+ "module": "src/foundation-element/foundation-element.ts"
1702
+ }
1703
+ },
1704
+ {
1705
+ "kind": "field",
1706
+ "name": "template",
1707
+ "type": {
1708
+ "text": "ElementViewTemplate | void | null"
1709
+ },
1710
+ "privacy": "public",
1711
+ "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.",
1712
+ "inheritedFrom": {
1713
+ "name": "FoundationElement",
1714
+ "module": "src/foundation-element/foundation-element.ts"
1715
+ }
1716
+ },
1717
+ {
1718
+ "kind": "method",
1719
+ "name": "templateChanged",
1720
+ "privacy": "protected",
1721
+ "return": {
1722
+ "type": {
1723
+ "text": "void"
1724
+ }
1725
+ },
1726
+ "inheritedFrom": {
1727
+ "name": "FoundationElement",
1728
+ "module": "src/foundation-element/foundation-element.ts"
1729
+ }
1730
+ },
1731
+ {
1732
+ "kind": "field",
1733
+ "name": "styles",
1734
+ "type": {
1735
+ "text": "ElementStyles | void | null"
1736
+ },
1737
+ "privacy": "public",
1738
+ "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.",
1739
+ "inheritedFrom": {
1740
+ "name": "FoundationElement",
1741
+ "module": "src/foundation-element/foundation-element.ts"
1742
+ }
1743
+ },
1744
+ {
1745
+ "kind": "method",
1746
+ "name": "stylesChanged",
1747
+ "privacy": "protected",
1748
+ "return": {
1749
+ "type": {
1750
+ "text": "void"
1751
+ }
1752
+ },
1753
+ "inheritedFrom": {
1754
+ "name": "FoundationElement",
1755
+ "module": "src/foundation-element/foundation-element.ts"
1756
+ }
1757
+ },
1758
+ {
1759
+ "kind": "method",
1760
+ "name": "compose",
1761
+ "privacy": "public",
1762
+ "static": true,
1763
+ "return": {
1764
+ "type": {
1765
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1766
+ }
1767
+ },
1768
+ "parameters": [
1769
+ {
1770
+ "name": "this",
1771
+ "type": {
1772
+ "text": "K"
1773
+ }
1774
+ },
1775
+ {
1776
+ "name": "elementDefinition",
1777
+ "type": {
1778
+ "text": "T"
1779
+ },
1780
+ "description": "The definition of the element to create the registry\nfunction for."
1781
+ }
1782
+ ],
1783
+ "description": "Defines an element registry function with a set of element definition defaults.",
1784
+ "inheritedFrom": {
1785
+ "name": "FoundationElement",
1786
+ "module": "src/foundation-element/foundation-element.ts"
1787
+ }
1788
+ }
1789
+ ],
1790
+ "events": [
1791
+ {
1792
+ "description": "Fires a custom 'change' event when the button is invoked",
1793
+ "name": "change",
1794
+ "inheritedFrom": {
1795
+ "name": "AccordionItem",
1796
+ "module": "src/accordion-item/accordion-item.ts"
1797
+ }
1798
+ }
1799
+ ]
1800
+ },
1801
+ {
1802
+ "kind": "variable",
1803
+ "name": "foundationAccordionItemShadowOptions",
1804
+ "type": {
1805
+ "text": "ShadowRootInit"
1806
+ },
1807
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1808
+ },
1809
+ {
1810
+ "kind": "variable",
1811
+ "name": "defaultAccordionItemConfig",
1812
+ "type": {
1813
+ "text": "object"
1814
+ },
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}"
1816
+ },
1817
+ {
1818
+ "kind": "variable",
1819
+ "name": "foundationAccordionItem",
1820
+ "description": "The Foundation Accordion Item",
1821
+ "privacy": "public"
1822
+ }
1823
+ ],
1824
+ "exports": [
1825
+ {
1826
+ "kind": "js",
1827
+ "name": "AccordionItem",
1828
+ "declaration": {
1829
+ "name": "AccordionItem",
1830
+ "module": "src/accordion-item/accordion-item.ts"
1831
+ }
1832
+ },
1833
+ {
1834
+ "kind": "js",
1835
+ "name": "foundationAccordionItemShadowOptions",
1836
+ "declaration": {
1837
+ "name": "foundationAccordionItemShadowOptions",
1838
+ "module": "src/accordion-item/accordion-item.ts"
1839
+ }
1840
+ },
1841
+ {
1842
+ "kind": "js",
1843
+ "name": "defaultAccordionItemConfig",
1844
+ "declaration": {
1845
+ "name": "defaultAccordionItemConfig",
1846
+ "module": "src/accordion-item/accordion-item.ts"
1847
+ }
1848
+ },
1849
+ {
1850
+ "kind": "js",
1851
+ "name": "foundationAccordionItem",
1852
+ "declaration": {
1853
+ "name": "foundationAccordionItem",
1854
+ "module": "src/accordion-item/accordion-item.ts"
1855
+ }
1856
+ }
1857
+ ]
1858
+ },
1859
+ {
1860
+ "kind": "javascript-module",
1861
+ "path": "src/accordion-item/index.ts",
1499
1862
  "declarations": [],
1500
1863
  "exports": [
1501
1864
  {
@@ -1503,7 +1866,7 @@
1503
1866
  "name": "*",
1504
1867
  "declaration": {
1505
1868
  "name": "*",
1506
- "package": "./styles"
1869
+ "package": "./accordion-item.template"
1507
1870
  }
1508
1871
  },
1509
1872
  {
@@ -1511,7 +1874,7 @@
1511
1874
  "name": "*",
1512
1875
  "declaration": {
1513
1876
  "name": "*",
1514
- "package": "./tokens"
1877
+ "package": "./accordion-item.styles"
1515
1878
  }
1516
1879
  },
1517
1880
  {
@@ -1519,7 +1882,7 @@
1519
1882
  "name": "*",
1520
1883
  "declaration": {
1521
1884
  "name": "*",
1522
- "package": "./values"
1885
+ "package": "./accordion-item"
1523
1886
  }
1524
1887
  }
1525
1888
  ]
@@ -2041,11 +2404,34 @@
2041
2404
  },
2042
2405
  {
2043
2406
  "kind": "javascript-module",
2044
- "path": "src/accordion-item/accordion-item.styles.ts",
2407
+ "path": "src/actions-menu/actions-menu.styles.ts",
2045
2408
  "declarations": [
2046
2409
  {
2047
2410
  "kind": "function",
2048
- "name": "foundationAccordionItemStyles",
2411
+ "name": "actionsMenuBaseStyles",
2412
+ "return": {
2413
+ "type": {
2414
+ "text": "ElementStyles"
2415
+ }
2416
+ },
2417
+ "parameters": [
2418
+ {
2419
+ "name": "context",
2420
+ "type": {
2421
+ "text": "ElementDefinitionContext"
2422
+ }
2423
+ },
2424
+ {
2425
+ "name": "definition",
2426
+ "type": {
2427
+ "text": "FoundationElementDefinition"
2428
+ }
2429
+ }
2430
+ ]
2431
+ },
2432
+ {
2433
+ "kind": "function",
2434
+ "name": "foundationActionsMenuStyles",
2049
2435
  "return": {
2050
2436
  "type": {
2051
2437
  "text": "ElementStyles"
@@ -2070,157 +2456,282 @@
2070
2456
  "exports": [
2071
2457
  {
2072
2458
  "kind": "js",
2073
- "name": "foundationAccordionItemStyles",
2459
+ "name": "actionsMenuBaseStyles",
2074
2460
  "declaration": {
2075
- "name": "foundationAccordionItemStyles",
2076
- "module": "src/accordion-item/accordion-item.styles.ts"
2461
+ "name": "actionsMenuBaseStyles",
2462
+ "module": "src/actions-menu/actions-menu.styles.ts"
2463
+ }
2464
+ },
2465
+ {
2466
+ "kind": "js",
2467
+ "name": "foundationActionsMenuStyles",
2468
+ "declaration": {
2469
+ "name": "foundationActionsMenuStyles",
2470
+ "module": "src/actions-menu/actions-menu.styles.ts"
2077
2471
  }
2078
2472
  }
2079
2473
  ]
2080
2474
  },
2081
2475
  {
2082
2476
  "kind": "javascript-module",
2083
- "path": "src/accordion-item/accordion-item.template.ts",
2477
+ "path": "src/actions-menu/actions-menu.template.ts",
2084
2478
  "declarations": [
2085
2479
  {
2086
2480
  "kind": "function",
2087
- "name": "foundationAccordionItemTemplate",
2088
- "return": {
2089
- "type": {
2090
- "text": "ViewTemplate<AccordionItem>"
2091
- }
2092
- },
2481
+ "name": "menuTemplate",
2093
2482
  "parameters": [
2094
2483
  {
2095
- "name": "context",
2484
+ "name": "prefix",
2096
2485
  "type": {
2097
- "text": "ElementDefinitionContext"
2486
+ "text": "string"
2098
2487
  }
2099
- },
2488
+ }
2489
+ ]
2490
+ },
2491
+ {
2492
+ "kind": "function",
2493
+ "name": "singleOptionTemplate",
2494
+ "parameters": [
2100
2495
  {
2101
- "name": "definition",
2496
+ "name": "prefix",
2102
2497
  "type": {
2103
- "text": "FoundationElementDefinition"
2498
+ "text": "string"
2104
2499
  }
2105
2500
  }
2106
2501
  ]
2502
+ },
2503
+ {
2504
+ "kind": "variable",
2505
+ "name": "foundationActionsMenuTemplate",
2506
+ "type": {
2507
+ "text": "ViewTemplate<ActionsMenu>"
2508
+ },
2509
+ "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`"
2107
2510
  }
2108
2511
  ],
2109
2512
  "exports": [
2110
2513
  {
2111
2514
  "kind": "js",
2112
- "name": "foundationAccordionItemTemplate",
2515
+ "name": "menuTemplate",
2113
2516
  "declaration": {
2114
- "name": "foundationAccordionItemTemplate",
2115
- "module": "src/accordion-item/accordion-item.template.ts"
2517
+ "name": "menuTemplate",
2518
+ "module": "src/actions-menu/actions-menu.template.ts"
2519
+ }
2520
+ },
2521
+ {
2522
+ "kind": "js",
2523
+ "name": "singleOptionTemplate",
2524
+ "declaration": {
2525
+ "name": "singleOptionTemplate",
2526
+ "module": "src/actions-menu/actions-menu.template.ts"
2527
+ }
2528
+ },
2529
+ {
2530
+ "kind": "js",
2531
+ "name": "foundationActionsMenuTemplate",
2532
+ "declaration": {
2533
+ "name": "foundationActionsMenuTemplate",
2534
+ "module": "src/actions-menu/actions-menu.template.ts"
2116
2535
  }
2117
2536
  }
2118
2537
  ]
2119
2538
  },
2120
2539
  {
2121
2540
  "kind": "javascript-module",
2122
- "path": "src/accordion-item/accordion-item.ts",
2541
+ "path": "src/actions-menu/actions-menu.ts",
2123
2542
  "declarations": [
2124
2543
  {
2125
2544
  "kind": "class",
2126
2545
  "description": "",
2127
- "name": "AccordionItem",
2128
- "superclass": {
2129
- "name": "FASTAccordionItem",
2130
- "package": "@microsoft/fast-components"
2131
- },
2132
- "tagName": "%%prefix%%-accordion-item",
2133
- "customElement": true,
2134
- "attributes": [
2546
+ "name": "ActionsMenu",
2547
+ "members": [
2135
2548
  {
2136
- "name": "heading-level",
2549
+ "kind": "field",
2550
+ "name": "actions",
2137
2551
  "type": {
2138
- "text": "1 | 2 | 3 | 4 | 5 | 6"
2139
- },
2140
- "default": "2",
2141
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2142
- "fieldName": "headinglevel",
2143
- "inheritedFrom": {
2144
- "name": "AccordionItem",
2145
- "module": "src/accordion-item/accordion-item.ts"
2552
+ "text": "ActionMenuItem[]"
2146
2553
  }
2147
2554
  },
2148
2555
  {
2556
+ "kind": "field",
2557
+ "name": "isVertical",
2149
2558
  "type": {
2150
2559
  "text": "boolean"
2151
2560
  },
2152
- "default": "false",
2153
- "description": "Expands or collapses the item.",
2154
- "fieldName": "expanded",
2155
- "inheritedFrom": {
2156
- "name": "AccordionItem",
2157
- "module": "src/accordion-item/accordion-item.ts"
2561
+ "default": "false"
2562
+ },
2563
+ {
2564
+ "kind": "field",
2565
+ "name": "addDefaultActions",
2566
+ "type": {
2567
+ "text": "boolean"
2568
+ },
2569
+ "default": "true"
2570
+ },
2571
+ {
2572
+ "kind": "field",
2573
+ "name": "autoCloseOnAction",
2574
+ "type": {
2575
+ "text": "boolean"
2576
+ },
2577
+ "default": "true"
2578
+ },
2579
+ {
2580
+ "kind": "field",
2581
+ "name": "classNames",
2582
+ "type": {
2583
+ "text": "string"
2158
2584
  }
2159
2585
  },
2160
2586
  {
2161
- "name": "id",
2587
+ "kind": "field",
2588
+ "name": "definition",
2589
+ "type": {
2590
+ "text": "any"
2591
+ }
2592
+ },
2593
+ {
2594
+ "kind": "field",
2595
+ "name": "name",
2162
2596
  "type": {
2163
2597
  "text": "string"
2164
2598
  },
2165
- "description": "The item ID",
2166
- "fieldName": "id",
2167
- "inheritedFrom": {
2168
- "name": "AccordionItem",
2169
- "module": "src/accordion-item/accordion-item.ts"
2170
- }
2171
- }
2172
- ],
2173
- "members": [
2599
+ "default": "'Actions'"
2600
+ },
2174
2601
  {
2175
2602
  "kind": "field",
2176
- "name": "headinglevel",
2603
+ "name": "open",
2177
2604
  "type": {
2178
- "text": "1 | 2 | 3 | 4 | 5 | 6"
2605
+ "text": "boolean"
2179
2606
  },
2180
- "privacy": "public",
2181
- "default": "2",
2182
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2183
- "inheritedFrom": {
2184
- "name": "AccordionItem",
2185
- "module": "src/accordion-item/accordion-item.ts"
2607
+ "default": "false"
2608
+ },
2609
+ {
2610
+ "kind": "field",
2611
+ "name": "buttonAppearance",
2612
+ "type": {
2613
+ "text": "string"
2186
2614
  }
2187
2615
  },
2188
2616
  {
2189
2617
  "kind": "field",
2190
- "name": "expanded",
2618
+ "name": "hideDisabled",
2191
2619
  "type": {
2192
2620
  "text": "boolean"
2193
2621
  },
2194
- "privacy": "public",
2195
- "default": "false",
2196
- "description": "Expands or collapses the item.",
2197
- "inheritedFrom": {
2198
- "name": "AccordionItem",
2199
- "module": "src/accordion-item/accordion-item.ts"
2200
- }
2622
+ "default": "false"
2201
2623
  },
2202
2624
  {
2203
2625
  "kind": "field",
2204
- "name": "id",
2626
+ "name": "hideMenuSingleOption",
2205
2627
  "type": {
2206
- "text": "string"
2628
+ "text": "boolean"
2207
2629
  },
2208
- "privacy": "public",
2209
- "description": "The item ID",
2210
- "inheritedFrom": {
2211
- "name": "AccordionItem",
2212
- "module": "src/accordion-item/accordion-item.ts"
2630
+ "default": "false"
2631
+ },
2632
+ {
2633
+ "kind": "field",
2634
+ "name": "singleOption",
2635
+ "type": {
2636
+ "text": "ActionMenuItem"
2213
2637
  }
2214
2638
  },
2215
2639
  {
2216
2640
  "kind": "field",
2217
- "name": "change",
2218
- "privacy": "private",
2219
- "inheritedFrom": {
2220
- "name": "AccordionItem",
2221
- "module": "src/accordion-item/accordion-item.ts"
2641
+ "name": "actionsMenu",
2642
+ "type": {
2643
+ "text": "HTMLElement"
2222
2644
  }
2223
2645
  },
2646
+ {
2647
+ "kind": "field",
2648
+ "name": "actionsOpener",
2649
+ "type": {
2650
+ "text": "HTMLElement"
2651
+ }
2652
+ },
2653
+ {
2654
+ "kind": "method",
2655
+ "name": "updateMenuPosition",
2656
+ "privacy": "private"
2657
+ },
2658
+ {
2659
+ "kind": "method",
2660
+ "name": "definitionChanged",
2661
+ "privacy": "protected",
2662
+ "parameters": [
2663
+ {
2664
+ "name": "oldValue",
2665
+ "type": {
2666
+ "text": "any"
2667
+ }
2668
+ },
2669
+ {
2670
+ "name": "newValue",
2671
+ "type": {
2672
+ "text": "any"
2673
+ }
2674
+ }
2675
+ ]
2676
+ },
2677
+ {
2678
+ "kind": "method",
2679
+ "name": "openChanged",
2680
+ "privacy": "protected"
2681
+ },
2682
+ {
2683
+ "kind": "method",
2684
+ "name": "toggleActionsMenuVisibility"
2685
+ },
2686
+ {
2687
+ "kind": "method",
2688
+ "name": "onActionMenuItemClick",
2689
+ "parameters": [
2690
+ {
2691
+ "name": "callback",
2692
+ "type": {
2693
+ "text": "(rowData) => void | any"
2694
+ }
2695
+ }
2696
+ ]
2697
+ },
2698
+ {
2699
+ "kind": "field",
2700
+ "name": "allActions",
2701
+ "type": {
2702
+ "text": "ActionMenuItem[]"
2703
+ },
2704
+ "readonly": true
2705
+ },
2706
+ {
2707
+ "kind": "field",
2708
+ "name": "rowData",
2709
+ "readonly": true
2710
+ },
2711
+ {
2712
+ "kind": "method",
2713
+ "name": "getLabel",
2714
+ "parameters": [
2715
+ {
2716
+ "name": "name",
2717
+ "type": {
2718
+ "text": "string | ((rowData: any) => string)"
2719
+ }
2720
+ }
2721
+ ]
2722
+ },
2723
+ {
2724
+ "kind": "method",
2725
+ "name": "getTemplate",
2726
+ "parameters": [
2727
+ {
2728
+ "name": "prefix",
2729
+ "type": {
2730
+ "text": "string"
2731
+ }
2732
+ }
2733
+ ]
2734
+ },
2224
2735
  {
2225
2736
  "kind": "field",
2226
2737
  "name": "_presentation",
@@ -2333,78 +2844,107 @@
2333
2844
  }
2334
2845
  }
2335
2846
  ],
2336
- "events": [
2847
+ "attributes": [
2337
2848
  {
2338
- "description": "Fires a custom 'change' event when the button is invoked",
2339
- "name": "change",
2340
- "inheritedFrom": {
2341
- "name": "AccordionItem",
2342
- "module": "src/accordion-item/accordion-item.ts"
2343
- }
2849
+ "name": "is-vertical",
2850
+ "type": {
2851
+ "text": "boolean"
2852
+ },
2853
+ "default": "false",
2854
+ "fieldName": "isVertical"
2855
+ },
2856
+ {
2857
+ "name": "add-default-actions",
2858
+ "type": {
2859
+ "text": "boolean"
2860
+ },
2861
+ "default": "true",
2862
+ "fieldName": "addDefaultActions"
2863
+ },
2864
+ {
2865
+ "name": "auto-close-on-action",
2866
+ "type": {
2867
+ "text": "boolean"
2868
+ },
2869
+ "default": "true",
2870
+ "fieldName": "autoCloseOnAction"
2871
+ },
2872
+ {
2873
+ "name": "name",
2874
+ "type": {
2875
+ "text": "string"
2876
+ },
2877
+ "default": "'Actions'",
2878
+ "fieldName": "name"
2879
+ },
2880
+ {
2881
+ "name": "open",
2882
+ "type": {
2883
+ "text": "boolean"
2884
+ },
2885
+ "default": "false",
2886
+ "fieldName": "open"
2887
+ },
2888
+ {
2889
+ "name": "buttonAppearance",
2890
+ "type": {
2891
+ "text": "string"
2892
+ },
2893
+ "fieldName": "buttonAppearance"
2894
+ },
2895
+ {
2896
+ "name": "hide-disabled",
2897
+ "type": {
2898
+ "text": "boolean"
2899
+ },
2900
+ "default": "false",
2901
+ "fieldName": "hideDisabled"
2902
+ },
2903
+ {
2904
+ "name": "hide-menu-single-option",
2905
+ "type": {
2906
+ "text": "boolean"
2907
+ },
2908
+ "default": "false",
2909
+ "fieldName": "hideMenuSingleOption"
2344
2910
  }
2345
- ]
2346
- },
2347
- {
2348
- "kind": "variable",
2349
- "name": "foundationAccordionItemShadowOptions",
2350
- "type": {
2351
- "text": "ShadowRootInit"
2352
- },
2353
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2354
- },
2355
- {
2356
- "kind": "variable",
2357
- "name": "defaultAccordionItemConfig",
2358
- "type": {
2359
- "text": "object"
2911
+ ],
2912
+ "superclass": {
2913
+ "name": "FoundationElement",
2914
+ "package": "@microsoft/fast-foundation"
2360
2915
  },
2361
- "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}"
2916
+ "tagName": "%%prefix%%-actions-menu",
2917
+ "customElement": true
2362
2918
  },
2363
2919
  {
2364
2920
  "kind": "variable",
2365
- "name": "foundationAccordionItem",
2366
- "description": "The Foundation Accordion Item",
2921
+ "name": "foundationActionsMenu",
2922
+ "description": "The Foundation Actions Menu",
2367
2923
  "privacy": "public"
2368
2924
  }
2369
2925
  ],
2370
2926
  "exports": [
2371
2927
  {
2372
2928
  "kind": "js",
2373
- "name": "AccordionItem",
2374
- "declaration": {
2375
- "name": "AccordionItem",
2376
- "module": "src/accordion-item/accordion-item.ts"
2377
- }
2378
- },
2379
- {
2380
- "kind": "js",
2381
- "name": "foundationAccordionItemShadowOptions",
2382
- "declaration": {
2383
- "name": "foundationAccordionItemShadowOptions",
2384
- "module": "src/accordion-item/accordion-item.ts"
2385
- }
2386
- },
2387
- {
2388
- "kind": "js",
2389
- "name": "defaultAccordionItemConfig",
2929
+ "name": "ActionsMenu",
2390
2930
  "declaration": {
2391
- "name": "defaultAccordionItemConfig",
2392
- "module": "src/accordion-item/accordion-item.ts"
2931
+ "name": "ActionsMenu",
2932
+ "module": "src/actions-menu/actions-menu.ts"
2393
2933
  }
2394
2934
  },
2395
2935
  {
2396
2936
  "kind": "js",
2397
- "name": "foundationAccordionItem",
2937
+ "name": "foundationActionsMenu",
2398
2938
  "declaration": {
2399
- "name": "foundationAccordionItem",
2400
- "module": "src/accordion-item/accordion-item.ts"
2939
+ "name": "foundationActionsMenu",
2940
+ "module": "src/actions-menu/actions-menu.ts"
2401
2941
  }
2402
2942
  }
2403
2943
  ]
2404
2944
  },
2405
2945
  {
2406
2946
  "kind": "javascript-module",
2407
- "path": "src/accordion-item/index.ts",
2947
+ "path": "src/actions-menu/index.ts",
2408
2948
  "declarations": [],
2409
2949
  "exports": [
2410
2950
  {
@@ -2412,7 +2952,7 @@
2412
2952
  "name": "*",
2413
2953
  "declaration": {
2414
2954
  "name": "*",
2415
- "package": "./accordion-item.template"
2955
+ "package": "./actions-menu.styles"
2416
2956
  }
2417
2957
  },
2418
2958
  {
@@ -2420,7 +2960,7 @@
2420
2960
  "name": "*",
2421
2961
  "declaration": {
2422
2962
  "name": "*",
2423
- "package": "./accordion-item.styles"
2963
+ "package": "./actions-menu.template"
2424
2964
  }
2425
2965
  },
2426
2966
  {
@@ -2428,7 +2968,7 @@
2428
2968
  "name": "*",
2429
2969
  "declaration": {
2430
2970
  "name": "*",
2431
- "package": "./accordion-item"
2971
+ "package": "./actions-menu"
2432
2972
  }
2433
2973
  }
2434
2974
  ]
@@ -3073,623 +3613,91 @@
3073
3613
  "exports": [
3074
3614
  {
3075
3615
  "kind": "js",
3076
- "name": "foundationAiIndicatorStyles",
3077
- "declaration": {
3078
- "name": "foundationAiIndicatorStyles",
3079
- "module": "src/ai-indicator/ai-indicator.styles.ts"
3080
- }
3081
- }
3082
- ]
3083
- },
3084
- {
3085
- "kind": "javascript-module",
3086
- "path": "src/ai-indicator/ai-indicator.template.ts",
3087
- "declarations": [
3088
- {
3089
- "kind": "variable",
3090
- "name": "foundationAiIndicatorTemplate",
3091
- "type": {
3092
- "text": "ViewTemplate<AiIndicator>"
3093
- },
3094
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3095
- }
3096
- ],
3097
- "exports": [
3098
- {
3099
- "kind": "js",
3100
- "name": "foundationAiIndicatorTemplate",
3101
- "declaration": {
3102
- "name": "foundationAiIndicatorTemplate",
3103
- "module": "src/ai-indicator/ai-indicator.template.ts"
3104
- }
3105
- }
3106
- ]
3107
- },
3108
- {
3109
- "kind": "javascript-module",
3110
- "path": "src/ai-indicator/ai-indicator.ts",
3111
- "declarations": [
3112
- {
3113
- "kind": "class",
3114
- "description": "",
3115
- "name": "AiIndicator",
3116
- "members": [
3117
- {
3118
- "kind": "field",
3119
- "name": "providerRegistry",
3120
- "type": {
3121
- "text": "AIProviderRegistry"
3122
- }
3123
- },
3124
- {
3125
- "kind": "field",
3126
- "name": "aiProvider",
3127
- "type": {
3128
- "text": "AIProvider | undefined"
3129
- },
3130
- "privacy": "private",
3131
- "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.",
3132
- "readonly": true
3133
- },
3134
- {
3135
- "kind": "field",
3136
- "name": "status",
3137
- "type": {
3138
- "text": "AIStatus | null"
3139
- },
3140
- "default": "null"
3141
- },
3142
- {
3143
- "kind": "field",
3144
- "name": "open",
3145
- "type": {
3146
- "text": "boolean"
3147
- },
3148
- "default": "false"
3149
- },
3150
- {
3151
- "kind": "field",
3152
- "name": "state",
3153
- "type": {
3154
- "text": "AIIndicatorState"
3155
- },
3156
- "default": "'none'"
3157
- },
3158
- {
3159
- "kind": "field",
3160
- "name": "isInstalling",
3161
- "type": {
3162
- "text": "boolean"
3163
- },
3164
- "default": "false"
3165
- },
3166
- {
3167
- "kind": "field",
3168
- "name": "pollTimer",
3169
- "type": {
3170
- "text": "ReturnType<typeof setInterval> | null"
3171
- },
3172
- "privacy": "private",
3173
- "default": "null"
3174
- },
3175
- {
3176
- "kind": "field",
3177
- "name": "clickOutside",
3178
- "privacy": "private"
3179
- },
3180
- {
3181
- "kind": "field",
3182
- "name": "chromeStatusLabel",
3183
- "type": {
3184
- "text": "string | null"
3185
- },
3186
- "readonly": true
3187
- },
3188
- {
3189
- "kind": "field",
3190
- "name": "canInstall",
3191
- "type": {
3192
- "text": "boolean"
3193
- },
3194
- "readonly": true
3195
- },
3196
- {
3197
- "kind": "field",
3198
- "name": "isDownloading",
3199
- "type": {
3200
- "text": "boolean"
3201
- },
3202
- "readonly": true
3203
- },
3204
- {
3205
- "kind": "method",
3206
- "name": "openChanged",
3207
- "return": {
3208
- "type": {
3209
- "text": "void"
3210
- }
3211
- }
3212
- },
3213
- {
3214
- "kind": "method",
3215
- "name": "handleClickOutside",
3216
- "privacy": "private",
3217
- "parameters": [
3218
- {
3219
- "name": "event",
3220
- "type": {
3221
- "text": "MouseEvent"
3222
- }
3223
- }
3224
- ]
3225
- },
3226
- {
3227
- "kind": "method",
3228
- "name": "toggleDropdown"
3229
- },
3230
- {
3231
- "kind": "method",
3232
- "name": "refreshStatus",
3233
- "return": {
3234
- "type": {
3235
- "text": "Promise<void>"
3236
- }
3237
- }
3238
- },
3239
- {
3240
- "kind": "method",
3241
- "name": "deriveState",
3242
- "privacy": "private",
3243
- "return": {
3244
- "type": {
3245
- "text": "AIIndicatorState"
3246
- }
3247
- },
3248
- "parameters": [
3249
- {
3250
- "name": "s",
3251
- "type": {
3252
- "text": "AIStatus | null"
3253
- }
3254
- }
3255
- ]
3256
- },
3257
- {
3258
- "kind": "method",
3259
- "name": "maybeStartPolling",
3260
- "privacy": "private",
3261
- "return": {
3262
- "type": {
3263
- "text": "void"
3264
- }
3265
- }
3266
- },
3267
- {
3268
- "kind": "method",
3269
- "name": "startPolling",
3270
- "privacy": "private",
3271
- "return": {
3272
- "type": {
3273
- "text": "void"
3274
- }
3275
- }
3276
- },
3277
- {
3278
- "kind": "method",
3279
- "name": "stopPolling",
3280
- "privacy": "private",
3281
- "return": {
3282
- "type": {
3283
- "text": "void"
3284
- }
3285
- }
3286
- },
3287
- {
3288
- "kind": "method",
3289
- "name": "onInstall",
3290
- "return": {
3291
- "type": {
3292
- "text": "Promise<void>"
3293
- }
3294
- }
3295
- },
3296
- {
3297
- "kind": "field",
3298
- "name": "_presentation",
3299
- "type": {
3300
- "text": "ComponentPresentation | null | undefined"
3301
- },
3302
- "privacy": "private",
3303
- "default": "void 0",
3304
- "inheritedFrom": {
3305
- "name": "FoundationElement",
3306
- "module": "src/foundation-element/foundation-element.ts"
3307
- }
3308
- },
3309
- {
3310
- "kind": "field",
3311
- "name": "$presentation",
3312
- "type": {
3313
- "text": "ComponentPresentation | null"
3314
- },
3315
- "privacy": "public",
3316
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3317
- "inheritedFrom": {
3318
- "name": "FoundationElement",
3319
- "module": "src/foundation-element/foundation-element.ts"
3320
- }
3321
- },
3322
- {
3323
- "kind": "field",
3324
- "name": "template",
3325
- "type": {
3326
- "text": "ElementViewTemplate | void | null"
3327
- },
3328
- "privacy": "public",
3329
- "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.",
3330
- "inheritedFrom": {
3331
- "name": "FoundationElement",
3332
- "module": "src/foundation-element/foundation-element.ts"
3333
- }
3334
- },
3335
- {
3336
- "kind": "method",
3337
- "name": "templateChanged",
3338
- "privacy": "protected",
3339
- "return": {
3340
- "type": {
3341
- "text": "void"
3342
- }
3343
- },
3344
- "inheritedFrom": {
3345
- "name": "FoundationElement",
3346
- "module": "src/foundation-element/foundation-element.ts"
3347
- }
3348
- },
3349
- {
3350
- "kind": "field",
3351
- "name": "styles",
3352
- "type": {
3353
- "text": "ElementStyles | void | null"
3354
- },
3355
- "privacy": "public",
3356
- "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.",
3357
- "inheritedFrom": {
3358
- "name": "FoundationElement",
3359
- "module": "src/foundation-element/foundation-element.ts"
3360
- }
3361
- },
3362
- {
3363
- "kind": "method",
3364
- "name": "stylesChanged",
3365
- "privacy": "protected",
3366
- "return": {
3367
- "type": {
3368
- "text": "void"
3369
- }
3370
- },
3371
- "inheritedFrom": {
3372
- "name": "FoundationElement",
3373
- "module": "src/foundation-element/foundation-element.ts"
3374
- }
3375
- },
3376
- {
3377
- "kind": "method",
3378
- "name": "compose",
3379
- "privacy": "public",
3380
- "static": true,
3381
- "return": {
3382
- "type": {
3383
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3384
- }
3385
- },
3386
- "parameters": [
3387
- {
3388
- "name": "this",
3389
- "type": {
3390
- "text": "K"
3391
- }
3392
- },
3393
- {
3394
- "name": "elementDefinition",
3395
- "type": {
3396
- "text": "T"
3397
- },
3398
- "description": "The definition of the element to create the registry\nfunction for."
3399
- }
3400
- ],
3401
- "description": "Defines an element registry function with a set of element definition defaults.",
3402
- "inheritedFrom": {
3403
- "name": "FoundationElement",
3404
- "module": "src/foundation-element/foundation-element.ts"
3405
- }
3406
- }
3407
- ],
3408
- "superclass": {
3409
- "name": "FoundationElement",
3410
- "package": "@microsoft/fast-foundation"
3411
- },
3412
- "tagName": "%%prefix%%-ai-indicator",
3413
- "customElement": true
3414
- },
3415
- {
3416
- "kind": "variable",
3417
- "name": "foundationAiIndicator"
3418
- }
3419
- ],
3420
- "exports": [
3421
- {
3422
- "kind": "js",
3423
- "name": "AiIndicator",
3424
- "declaration": {
3425
- "name": "AiIndicator",
3426
- "module": "src/ai-indicator/ai-indicator.ts"
3427
- }
3428
- },
3429
- {
3430
- "kind": "js",
3431
- "name": "foundationAiIndicator",
3432
- "declaration": {
3433
- "name": "foundationAiIndicator",
3434
- "module": "src/ai-indicator/ai-indicator.ts"
3435
- }
3436
- }
3437
- ]
3438
- },
3439
- {
3440
- "kind": "javascript-module",
3441
- "path": "src/ai-indicator/index.ts",
3442
- "declarations": [],
3443
- "exports": [
3444
- {
3445
- "kind": "js",
3446
- "name": "AiIndicator",
3447
- "declaration": {
3448
- "name": "AiIndicator",
3449
- "module": "./ai-indicator"
3450
- }
3451
- },
3452
- {
3453
- "kind": "js",
3454
- "name": "foundationAiIndicator",
3455
- "declaration": {
3456
- "name": "foundationAiIndicator",
3457
- "module": "./ai-indicator"
3458
- }
3459
- },
3460
- {
3461
- "kind": "js",
3462
- "name": "type",
3463
- "declaration": {
3464
- "name": "type",
3465
- "module": "./ai-indicator"
3466
- }
3467
- },
3468
- {
3469
- "kind": "js",
3470
- "name": "AIIndicatorState",
3471
- "declaration": {
3472
- "name": "AIIndicatorState",
3473
- "module": "./ai-indicator"
3474
- }
3475
- },
3476
- {
3477
- "kind": "js",
3478
- "name": "foundationAiIndicatorTemplate",
3479
- "declaration": {
3480
- "name": "foundationAiIndicatorTemplate",
3481
- "module": "./ai-indicator.template"
3482
- }
3483
- },
3484
- {
3485
- "kind": "js",
3486
- "name": "foundationAiIndicatorStyles",
3487
- "declaration": {
3488
- "name": "foundationAiIndicatorStyles",
3489
- "module": "./ai-indicator.styles"
3490
- }
3491
- }
3492
- ]
3493
- },
3494
- {
3495
- "kind": "javascript-module",
3496
- "path": "src/actions-menu/actions-menu.styles.ts",
3497
- "declarations": [
3498
- {
3499
- "kind": "function",
3500
- "name": "actionsMenuBaseStyles",
3501
- "return": {
3502
- "type": {
3503
- "text": "ElementStyles"
3504
- }
3505
- },
3506
- "parameters": [
3507
- {
3508
- "name": "context",
3509
- "type": {
3510
- "text": "ElementDefinitionContext"
3511
- }
3512
- },
3513
- {
3514
- "name": "definition",
3515
- "type": {
3516
- "text": "FoundationElementDefinition"
3517
- }
3518
- }
3519
- ]
3520
- },
3521
- {
3522
- "kind": "function",
3523
- "name": "foundationActionsMenuStyles",
3524
- "return": {
3525
- "type": {
3526
- "text": "ElementStyles"
3527
- }
3528
- },
3529
- "parameters": [
3530
- {
3531
- "name": "context",
3532
- "type": {
3533
- "text": "ElementDefinitionContext"
3534
- }
3535
- },
3536
- {
3537
- "name": "definition",
3538
- "type": {
3539
- "text": "FoundationElementDefinition"
3540
- }
3541
- }
3542
- ]
3543
- }
3544
- ],
3545
- "exports": [
3546
- {
3547
- "kind": "js",
3548
- "name": "actionsMenuBaseStyles",
3549
- "declaration": {
3550
- "name": "actionsMenuBaseStyles",
3551
- "module": "src/actions-menu/actions-menu.styles.ts"
3552
- }
3553
- },
3554
- {
3555
- "kind": "js",
3556
- "name": "foundationActionsMenuStyles",
3616
+ "name": "foundationAiIndicatorStyles",
3557
3617
  "declaration": {
3558
- "name": "foundationActionsMenuStyles",
3559
- "module": "src/actions-menu/actions-menu.styles.ts"
3618
+ "name": "foundationAiIndicatorStyles",
3619
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3560
3620
  }
3561
3621
  }
3562
3622
  ]
3563
3623
  },
3564
3624
  {
3565
3625
  "kind": "javascript-module",
3566
- "path": "src/actions-menu/actions-menu.template.ts",
3626
+ "path": "src/ai-indicator/ai-indicator.template.ts",
3567
3627
  "declarations": [
3568
- {
3569
- "kind": "function",
3570
- "name": "menuTemplate",
3571
- "parameters": [
3572
- {
3573
- "name": "prefix",
3574
- "type": {
3575
- "text": "string"
3576
- }
3577
- }
3578
- ]
3579
- },
3580
- {
3581
- "kind": "function",
3582
- "name": "singleOptionTemplate",
3583
- "parameters": [
3584
- {
3585
- "name": "prefix",
3586
- "type": {
3587
- "text": "string"
3588
- }
3589
- }
3590
- ]
3591
- },
3592
3628
  {
3593
3629
  "kind": "variable",
3594
- "name": "foundationActionsMenuTemplate",
3630
+ "name": "foundationAiIndicatorTemplate",
3595
3631
  "type": {
3596
- "text": "ViewTemplate<ActionsMenu>"
3632
+ "text": "ViewTemplate<AiIndicator>"
3597
3633
  },
3598
- "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`"
3634
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3599
3635
  }
3600
3636
  ],
3601
3637
  "exports": [
3602
3638
  {
3603
3639
  "kind": "js",
3604
- "name": "menuTemplate",
3605
- "declaration": {
3606
- "name": "menuTemplate",
3607
- "module": "src/actions-menu/actions-menu.template.ts"
3608
- }
3609
- },
3610
- {
3611
- "kind": "js",
3612
- "name": "singleOptionTemplate",
3613
- "declaration": {
3614
- "name": "singleOptionTemplate",
3615
- "module": "src/actions-menu/actions-menu.template.ts"
3616
- }
3617
- },
3618
- {
3619
- "kind": "js",
3620
- "name": "foundationActionsMenuTemplate",
3640
+ "name": "foundationAiIndicatorTemplate",
3621
3641
  "declaration": {
3622
- "name": "foundationActionsMenuTemplate",
3623
- "module": "src/actions-menu/actions-menu.template.ts"
3642
+ "name": "foundationAiIndicatorTemplate",
3643
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3624
3644
  }
3625
3645
  }
3626
3646
  ]
3627
3647
  },
3628
3648
  {
3629
3649
  "kind": "javascript-module",
3630
- "path": "src/actions-menu/actions-menu.ts",
3650
+ "path": "src/ai-indicator/ai-indicator.ts",
3631
3651
  "declarations": [
3632
3652
  {
3633
3653
  "kind": "class",
3634
3654
  "description": "",
3635
- "name": "ActionsMenu",
3655
+ "name": "AiIndicator",
3636
3656
  "members": [
3637
3657
  {
3638
3658
  "kind": "field",
3639
- "name": "actions",
3659
+ "name": "providerRegistry",
3640
3660
  "type": {
3641
- "text": "ActionMenuItem[]"
3661
+ "text": "AIProviderRegistry"
3642
3662
  }
3643
3663
  },
3644
3664
  {
3645
3665
  "kind": "field",
3646
- "name": "isVertical",
3666
+ "name": "aiProvider",
3647
3667
  "type": {
3648
- "text": "boolean"
3668
+ "text": "AIProvider | undefined"
3649
3669
  },
3650
- "default": "false"
3670
+ "privacy": "private",
3671
+ "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.",
3672
+ "readonly": true
3651
3673
  },
3652
3674
  {
3653
3675
  "kind": "field",
3654
- "name": "addDefaultActions",
3676
+ "name": "status",
3655
3677
  "type": {
3656
- "text": "boolean"
3678
+ "text": "AIStatus | null"
3657
3679
  },
3658
- "default": "true"
3680
+ "default": "null"
3659
3681
  },
3660
3682
  {
3661
3683
  "kind": "field",
3662
- "name": "autoCloseOnAction",
3684
+ "name": "open",
3663
3685
  "type": {
3664
3686
  "text": "boolean"
3665
3687
  },
3666
- "default": "true"
3667
- },
3668
- {
3669
- "kind": "field",
3670
- "name": "classNames",
3671
- "type": {
3672
- "text": "string"
3673
- }
3674
- },
3675
- {
3676
- "kind": "field",
3677
- "name": "definition",
3678
- "type": {
3679
- "text": "any"
3680
- }
3688
+ "default": "false"
3681
3689
  },
3682
3690
  {
3683
3691
  "kind": "field",
3684
- "name": "name",
3692
+ "name": "state",
3685
3693
  "type": {
3686
- "text": "string"
3694
+ "text": "AIIndicatorState"
3687
3695
  },
3688
- "default": "'Actions'"
3696
+ "default": "'none'"
3689
3697
  },
3690
3698
  {
3691
3699
  "kind": "field",
3692
- "name": "open",
3700
+ "name": "isInstalling",
3693
3701
  "type": {
3694
3702
  "text": "boolean"
3695
3703
  },
@@ -3697,129 +3705,133 @@
3697
3705
  },
3698
3706
  {
3699
3707
  "kind": "field",
3700
- "name": "buttonAppearance",
3701
- "type": {
3702
- "text": "string"
3703
- }
3704
- },
3705
- {
3706
- "kind": "field",
3707
- "name": "hideDisabled",
3708
+ "name": "pollTimer",
3708
3709
  "type": {
3709
- "text": "boolean"
3710
+ "text": "ReturnType<typeof setInterval> | null"
3710
3711
  },
3711
- "default": "false"
3712
+ "privacy": "private",
3713
+ "default": "null"
3712
3714
  },
3713
3715
  {
3714
3716
  "kind": "field",
3715
- "name": "hideMenuSingleOption",
3716
- "type": {
3717
- "text": "boolean"
3718
- },
3719
- "default": "false"
3717
+ "name": "clickOutside",
3718
+ "privacy": "private"
3720
3719
  },
3721
3720
  {
3722
3721
  "kind": "field",
3723
- "name": "singleOption",
3722
+ "name": "chromeStatusLabel",
3724
3723
  "type": {
3725
- "text": "ActionMenuItem"
3726
- }
3724
+ "text": "string | null"
3725
+ },
3726
+ "readonly": true
3727
3727
  },
3728
3728
  {
3729
3729
  "kind": "field",
3730
- "name": "actionsMenu",
3730
+ "name": "canInstall",
3731
3731
  "type": {
3732
- "text": "HTMLElement"
3733
- }
3732
+ "text": "boolean"
3733
+ },
3734
+ "readonly": true
3734
3735
  },
3735
3736
  {
3736
3737
  "kind": "field",
3737
- "name": "actionsOpener",
3738
+ "name": "isDownloading",
3738
3739
  "type": {
3739
- "text": "HTMLElement"
3740
- }
3740
+ "text": "boolean"
3741
+ },
3742
+ "readonly": true
3741
3743
  },
3742
3744
  {
3743
3745
  "kind": "method",
3744
- "name": "updateMenuPosition",
3745
- "privacy": "private"
3746
+ "name": "openChanged",
3747
+ "return": {
3748
+ "type": {
3749
+ "text": "void"
3750
+ }
3751
+ }
3746
3752
  },
3747
3753
  {
3748
3754
  "kind": "method",
3749
- "name": "definitionChanged",
3750
- "privacy": "protected",
3755
+ "name": "handleClickOutside",
3756
+ "privacy": "private",
3751
3757
  "parameters": [
3752
3758
  {
3753
- "name": "oldValue",
3754
- "type": {
3755
- "text": "any"
3756
- }
3757
- },
3758
- {
3759
- "name": "newValue",
3759
+ "name": "event",
3760
3760
  "type": {
3761
- "text": "any"
3761
+ "text": "MouseEvent"
3762
3762
  }
3763
3763
  }
3764
3764
  ]
3765
3765
  },
3766
3766
  {
3767
3767
  "kind": "method",
3768
- "name": "openChanged",
3769
- "privacy": "protected"
3768
+ "name": "toggleDropdown"
3770
3769
  },
3771
3770
  {
3772
3771
  "kind": "method",
3773
- "name": "toggleActionsMenuVisibility"
3772
+ "name": "refreshStatus",
3773
+ "return": {
3774
+ "type": {
3775
+ "text": "Promise<void>"
3776
+ }
3777
+ }
3774
3778
  },
3775
3779
  {
3776
3780
  "kind": "method",
3777
- "name": "onActionMenuItemClick",
3781
+ "name": "deriveState",
3782
+ "privacy": "private",
3783
+ "return": {
3784
+ "type": {
3785
+ "text": "AIIndicatorState"
3786
+ }
3787
+ },
3778
3788
  "parameters": [
3779
3789
  {
3780
- "name": "callback",
3790
+ "name": "s",
3781
3791
  "type": {
3782
- "text": "(rowData) => void | any"
3792
+ "text": "AIStatus | null"
3783
3793
  }
3784
3794
  }
3785
3795
  ]
3786
3796
  },
3787
3797
  {
3788
- "kind": "field",
3789
- "name": "allActions",
3790
- "type": {
3791
- "text": "ActionMenuItem[]"
3792
- },
3793
- "readonly": true
3798
+ "kind": "method",
3799
+ "name": "maybeStartPolling",
3800
+ "privacy": "private",
3801
+ "return": {
3802
+ "type": {
3803
+ "text": "void"
3804
+ }
3805
+ }
3794
3806
  },
3795
3807
  {
3796
- "kind": "field",
3797
- "name": "rowData",
3798
- "readonly": true
3808
+ "kind": "method",
3809
+ "name": "startPolling",
3810
+ "privacy": "private",
3811
+ "return": {
3812
+ "type": {
3813
+ "text": "void"
3814
+ }
3815
+ }
3799
3816
  },
3800
3817
  {
3801
3818
  "kind": "method",
3802
- "name": "getLabel",
3803
- "parameters": [
3804
- {
3805
- "name": "name",
3806
- "type": {
3807
- "text": "string | ((rowData: any) => string)"
3808
- }
3819
+ "name": "stopPolling",
3820
+ "privacy": "private",
3821
+ "return": {
3822
+ "type": {
3823
+ "text": "void"
3809
3824
  }
3810
- ]
3825
+ }
3811
3826
  },
3812
3827
  {
3813
3828
  "kind": "method",
3814
- "name": "getTemplate",
3815
- "parameters": [
3816
- {
3817
- "name": "prefix",
3818
- "type": {
3819
- "text": "string"
3820
- }
3829
+ "name": "onInstall",
3830
+ "return": {
3831
+ "type": {
3832
+ "text": "Promise<void>"
3821
3833
  }
3822
- ]
3834
+ }
3823
3835
  },
3824
3836
  {
3825
3837
  "kind": "field",
@@ -3933,107 +3945,95 @@
3933
3945
  }
3934
3946
  }
3935
3947
  ],
3936
- "attributes": [
3937
- {
3938
- "name": "is-vertical",
3939
- "type": {
3940
- "text": "boolean"
3941
- },
3942
- "default": "false",
3943
- "fieldName": "isVertical"
3944
- },
3945
- {
3946
- "name": "add-default-actions",
3947
- "type": {
3948
- "text": "boolean"
3949
- },
3950
- "default": "true",
3951
- "fieldName": "addDefaultActions"
3952
- },
3953
- {
3954
- "name": "auto-close-on-action",
3955
- "type": {
3956
- "text": "boolean"
3957
- },
3958
- "default": "true",
3959
- "fieldName": "autoCloseOnAction"
3960
- },
3961
- {
3962
- "name": "name",
3963
- "type": {
3964
- "text": "string"
3965
- },
3966
- "default": "'Actions'",
3967
- "fieldName": "name"
3968
- },
3969
- {
3970
- "name": "open",
3971
- "type": {
3972
- "text": "boolean"
3973
- },
3974
- "default": "false",
3975
- "fieldName": "open"
3976
- },
3977
- {
3978
- "name": "buttonAppearance",
3979
- "type": {
3980
- "text": "string"
3981
- },
3982
- "fieldName": "buttonAppearance"
3983
- },
3984
- {
3985
- "name": "hide-disabled",
3986
- "type": {
3987
- "text": "boolean"
3988
- },
3989
- "default": "false",
3990
- "fieldName": "hideDisabled"
3991
- },
3992
- {
3993
- "name": "hide-menu-single-option",
3994
- "type": {
3995
- "text": "boolean"
3996
- },
3997
- "default": "false",
3998
- "fieldName": "hideMenuSingleOption"
3999
- }
4000
- ],
4001
3948
  "superclass": {
4002
3949
  "name": "FoundationElement",
4003
3950
  "package": "@microsoft/fast-foundation"
4004
3951
  },
4005
- "tagName": "%%prefix%%-actions-menu",
3952
+ "tagName": "%%prefix%%-ai-indicator",
4006
3953
  "customElement": true
4007
3954
  },
4008
3955
  {
4009
3956
  "kind": "variable",
4010
- "name": "foundationActionsMenu",
4011
- "description": "The Foundation Actions Menu",
4012
- "privacy": "public"
3957
+ "name": "foundationAiIndicator"
4013
3958
  }
4014
3959
  ],
4015
3960
  "exports": [
4016
3961
  {
4017
3962
  "kind": "js",
4018
- "name": "ActionsMenu",
3963
+ "name": "AiIndicator",
4019
3964
  "declaration": {
4020
- "name": "ActionsMenu",
4021
- "module": "src/actions-menu/actions-menu.ts"
3965
+ "name": "AiIndicator",
3966
+ "module": "src/ai-indicator/ai-indicator.ts"
4022
3967
  }
4023
3968
  },
4024
3969
  {
4025
3970
  "kind": "js",
4026
- "name": "foundationActionsMenu",
3971
+ "name": "foundationAiIndicator",
4027
3972
  "declaration": {
4028
- "name": "foundationActionsMenu",
4029
- "module": "src/actions-menu/actions-menu.ts"
3973
+ "name": "foundationAiIndicator",
3974
+ "module": "src/ai-indicator/ai-indicator.ts"
4030
3975
  }
4031
3976
  }
4032
3977
  ]
4033
3978
  },
4034
3979
  {
4035
3980
  "kind": "javascript-module",
4036
- "path": "src/actions-menu/index.ts",
3981
+ "path": "src/ai-indicator/index.ts",
3982
+ "declarations": [],
3983
+ "exports": [
3984
+ {
3985
+ "kind": "js",
3986
+ "name": "AiIndicator",
3987
+ "declaration": {
3988
+ "name": "AiIndicator",
3989
+ "module": "./ai-indicator"
3990
+ }
3991
+ },
3992
+ {
3993
+ "kind": "js",
3994
+ "name": "foundationAiIndicator",
3995
+ "declaration": {
3996
+ "name": "foundationAiIndicator",
3997
+ "module": "./ai-indicator"
3998
+ }
3999
+ },
4000
+ {
4001
+ "kind": "js",
4002
+ "name": "type",
4003
+ "declaration": {
4004
+ "name": "type",
4005
+ "module": "./ai-indicator"
4006
+ }
4007
+ },
4008
+ {
4009
+ "kind": "js",
4010
+ "name": "AIIndicatorState",
4011
+ "declaration": {
4012
+ "name": "AIIndicatorState",
4013
+ "module": "./ai-indicator"
4014
+ }
4015
+ },
4016
+ {
4017
+ "kind": "js",
4018
+ "name": "foundationAiIndicatorTemplate",
4019
+ "declaration": {
4020
+ "name": "foundationAiIndicatorTemplate",
4021
+ "module": "./ai-indicator.template"
4022
+ }
4023
+ },
4024
+ {
4025
+ "kind": "js",
4026
+ "name": "foundationAiIndicatorStyles",
4027
+ "declaration": {
4028
+ "name": "foundationAiIndicatorStyles",
4029
+ "module": "./ai-indicator.styles"
4030
+ }
4031
+ }
4032
+ ]
4033
+ },
4034
+ {
4035
+ "kind": "javascript-module",
4036
+ "path": "src/_config/index.ts",
4037
4037
  "declarations": [],
4038
4038
  "exports": [
4039
4039
  {
@@ -4041,7 +4041,7 @@
4041
4041
  "name": "*",
4042
4042
  "declaration": {
4043
4043
  "name": "*",
4044
- "package": "./actions-menu.styles"
4044
+ "package": "./styles"
4045
4045
  }
4046
4046
  },
4047
4047
  {
@@ -4049,7 +4049,7 @@
4049
4049
  "name": "*",
4050
4050
  "declaration": {
4051
4051
  "name": "*",
4052
- "package": "./actions-menu.template"
4052
+ "package": "./tokens"
4053
4053
  }
4054
4054
  },
4055
4055
  {
@@ -4057,7 +4057,7 @@
4057
4057
  "name": "*",
4058
4058
  "declaration": {
4059
4059
  "name": "*",
4060
- "package": "./actions-menu"
4060
+ "package": "./values"
4061
4061
  }
4062
4062
  }
4063
4063
  ]
@@ -50484,6 +50484,14 @@
50484
50484
  "text": "boolean"
50485
50485
  }
50486
50486
  },
50487
+ {
50488
+ "kind": "field",
50489
+ "name": "hideProgress",
50490
+ "type": {
50491
+ "text": "boolean"
50492
+ },
50493
+ "default": "false"
50494
+ },
50487
50495
  {
50488
50496
  "kind": "field",
50489
50497
  "name": "hideStepNumber",
@@ -51021,6 +51029,14 @@
51021
51029
  },
51022
51030
  "fieldName": "hideSubmitButton"
51023
51031
  },
51032
+ {
51033
+ "name": "hide-progress",
51034
+ "type": {
51035
+ "text": "boolean"
51036
+ },
51037
+ "default": "false",
51038
+ "fieldName": "hideProgress"
51039
+ },
51024
51040
  {
51025
51041
  "name": "hide-step-number",
51026
51042
  "type": {
@@ -60202,6 +60218,197 @@
60202
60218
  }
60203
60219
  ]
60204
60220
  },
60221
+ {
60222
+ "kind": "javascript-module",
60223
+ "path": "src/ai-criteria-search/validation/criteria-ir.ts",
60224
+ "declarations": [],
60225
+ "exports": []
60226
+ },
60227
+ {
60228
+ "kind": "javascript-module",
60229
+ "path": "src/ai-criteria-search/validation/operator-map.ts",
60230
+ "declarations": [
60231
+ {
60232
+ "kind": "function",
60233
+ "name": "groupsToCriteria",
60234
+ "return": {
60235
+ "type": {
60236
+ "text": "string"
60237
+ }
60238
+ },
60239
+ "parameters": [
60240
+ {
60241
+ "name": "groups",
60242
+ "type": {
60243
+ "text": "CriteriaGroup[]"
60244
+ }
60245
+ }
60246
+ ],
60247
+ "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."
60248
+ },
60249
+ {
60250
+ "kind": "variable",
60251
+ "name": "STRING_OPERATORS",
60252
+ "type": {
60253
+ "text": "CriteriaOperator[]"
60254
+ },
60255
+ "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
60256
+ },
60257
+ {
60258
+ "kind": "variable",
60259
+ "name": "NUMERIC_OPERATORS",
60260
+ "type": {
60261
+ "text": "CriteriaOperator[]"
60262
+ },
60263
+ "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
60264
+ },
60265
+ {
60266
+ "kind": "variable",
60267
+ "name": "DATE_OPERATORS",
60268
+ "type": {
60269
+ "text": "CriteriaOperator[]"
60270
+ },
60271
+ "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
60272
+ },
60273
+ {
60274
+ "kind": "variable",
60275
+ "name": "DATETIME_OPERATORS",
60276
+ "type": {
60277
+ "text": "CriteriaOperator[]"
60278
+ },
60279
+ "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
60280
+ },
60281
+ {
60282
+ "kind": "variable",
60283
+ "name": "OPERATOR_DISPLAY_LABEL",
60284
+ "type": {
60285
+ "text": "Record<CriteriaOperator, string>"
60286
+ },
60287
+ "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}"
60288
+ }
60289
+ ],
60290
+ "exports": [
60291
+ {
60292
+ "kind": "js",
60293
+ "name": "groupsToCriteria",
60294
+ "declaration": {
60295
+ "name": "groupsToCriteria",
60296
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60297
+ }
60298
+ },
60299
+ {
60300
+ "kind": "js",
60301
+ "name": "STRING_OPERATORS",
60302
+ "declaration": {
60303
+ "name": "STRING_OPERATORS",
60304
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60305
+ }
60306
+ },
60307
+ {
60308
+ "kind": "js",
60309
+ "name": "NUMERIC_OPERATORS",
60310
+ "declaration": {
60311
+ "name": "NUMERIC_OPERATORS",
60312
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60313
+ }
60314
+ },
60315
+ {
60316
+ "kind": "js",
60317
+ "name": "DATE_OPERATORS",
60318
+ "declaration": {
60319
+ "name": "DATE_OPERATORS",
60320
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60321
+ }
60322
+ },
60323
+ {
60324
+ "kind": "js",
60325
+ "name": "DATETIME_OPERATORS",
60326
+ "declaration": {
60327
+ "name": "DATETIME_OPERATORS",
60328
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60329
+ }
60330
+ },
60331
+ {
60332
+ "kind": "js",
60333
+ "name": "OPERATOR_DISPLAY_LABEL",
60334
+ "declaration": {
60335
+ "name": "OPERATOR_DISPLAY_LABEL",
60336
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60337
+ }
60338
+ }
60339
+ ]
60340
+ },
60341
+ {
60342
+ "kind": "javascript-module",
60343
+ "path": "src/ai-criteria-search/validation/schema-validator.ts",
60344
+ "declarations": [
60345
+ {
60346
+ "kind": "function",
60347
+ "name": "validateClauses",
60348
+ "return": {
60349
+ "type": {
60350
+ "text": "ValidationResult"
60351
+ }
60352
+ },
60353
+ "parameters": [
60354
+ {
60355
+ "name": "clauses",
60356
+ "type": {
60357
+ "text": "CriteriaClause[]"
60358
+ }
60359
+ },
60360
+ {
60361
+ "name": "fieldMetadata",
60362
+ "type": {
60363
+ "text": "MetadataDetail[] | string[]"
60364
+ }
60365
+ }
60366
+ ]
60367
+ },
60368
+ {
60369
+ "kind": "function",
60370
+ "name": "validateGroups",
60371
+ "return": {
60372
+ "type": {
60373
+ "text": "GroupsValidationResult"
60374
+ }
60375
+ },
60376
+ "parameters": [
60377
+ {
60378
+ "name": "groups",
60379
+ "type": {
60380
+ "text": "CriteriaGroup[]"
60381
+ }
60382
+ },
60383
+ {
60384
+ "name": "fieldMetadata",
60385
+ "type": {
60386
+ "text": "MetadataDetail[] | string[]"
60387
+ }
60388
+ }
60389
+ ],
60390
+ "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
60391
+ }
60392
+ ],
60393
+ "exports": [
60394
+ {
60395
+ "kind": "js",
60396
+ "name": "validateClauses",
60397
+ "declaration": {
60398
+ "name": "validateClauses",
60399
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
60400
+ }
60401
+ },
60402
+ {
60403
+ "kind": "js",
60404
+ "name": "validateGroups",
60405
+ "declaration": {
60406
+ "name": "validateGroups",
60407
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
60408
+ }
60409
+ }
60410
+ ]
60411
+ },
60205
60412
  {
60206
60413
  "kind": "javascript-module",
60207
60414
  "path": "src/_config/styles/colors.ts",
@@ -61574,197 +61781,6 @@
61574
61781
  "declarations": [],
61575
61782
  "exports": []
61576
61783
  },
61577
- {
61578
- "kind": "javascript-module",
61579
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
61580
- "declarations": [],
61581
- "exports": []
61582
- },
61583
- {
61584
- "kind": "javascript-module",
61585
- "path": "src/ai-criteria-search/validation/operator-map.ts",
61586
- "declarations": [
61587
- {
61588
- "kind": "function",
61589
- "name": "groupsToCriteria",
61590
- "return": {
61591
- "type": {
61592
- "text": "string"
61593
- }
61594
- },
61595
- "parameters": [
61596
- {
61597
- "name": "groups",
61598
- "type": {
61599
- "text": "CriteriaGroup[]"
61600
- }
61601
- }
61602
- ],
61603
- "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."
61604
- },
61605
- {
61606
- "kind": "variable",
61607
- "name": "STRING_OPERATORS",
61608
- "type": {
61609
- "text": "CriteriaOperator[]"
61610
- },
61611
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
61612
- },
61613
- {
61614
- "kind": "variable",
61615
- "name": "NUMERIC_OPERATORS",
61616
- "type": {
61617
- "text": "CriteriaOperator[]"
61618
- },
61619
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
61620
- },
61621
- {
61622
- "kind": "variable",
61623
- "name": "DATE_OPERATORS",
61624
- "type": {
61625
- "text": "CriteriaOperator[]"
61626
- },
61627
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
61628
- },
61629
- {
61630
- "kind": "variable",
61631
- "name": "DATETIME_OPERATORS",
61632
- "type": {
61633
- "text": "CriteriaOperator[]"
61634
- },
61635
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
61636
- },
61637
- {
61638
- "kind": "variable",
61639
- "name": "OPERATOR_DISPLAY_LABEL",
61640
- "type": {
61641
- "text": "Record<CriteriaOperator, string>"
61642
- },
61643
- "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}"
61644
- }
61645
- ],
61646
- "exports": [
61647
- {
61648
- "kind": "js",
61649
- "name": "groupsToCriteria",
61650
- "declaration": {
61651
- "name": "groupsToCriteria",
61652
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61653
- }
61654
- },
61655
- {
61656
- "kind": "js",
61657
- "name": "STRING_OPERATORS",
61658
- "declaration": {
61659
- "name": "STRING_OPERATORS",
61660
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61661
- }
61662
- },
61663
- {
61664
- "kind": "js",
61665
- "name": "NUMERIC_OPERATORS",
61666
- "declaration": {
61667
- "name": "NUMERIC_OPERATORS",
61668
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61669
- }
61670
- },
61671
- {
61672
- "kind": "js",
61673
- "name": "DATE_OPERATORS",
61674
- "declaration": {
61675
- "name": "DATE_OPERATORS",
61676
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61677
- }
61678
- },
61679
- {
61680
- "kind": "js",
61681
- "name": "DATETIME_OPERATORS",
61682
- "declaration": {
61683
- "name": "DATETIME_OPERATORS",
61684
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61685
- }
61686
- },
61687
- {
61688
- "kind": "js",
61689
- "name": "OPERATOR_DISPLAY_LABEL",
61690
- "declaration": {
61691
- "name": "OPERATOR_DISPLAY_LABEL",
61692
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61693
- }
61694
- }
61695
- ]
61696
- },
61697
- {
61698
- "kind": "javascript-module",
61699
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
61700
- "declarations": [
61701
- {
61702
- "kind": "function",
61703
- "name": "validateClauses",
61704
- "return": {
61705
- "type": {
61706
- "text": "ValidationResult"
61707
- }
61708
- },
61709
- "parameters": [
61710
- {
61711
- "name": "clauses",
61712
- "type": {
61713
- "text": "CriteriaClause[]"
61714
- }
61715
- },
61716
- {
61717
- "name": "fieldMetadata",
61718
- "type": {
61719
- "text": "MetadataDetail[] | string[]"
61720
- }
61721
- }
61722
- ]
61723
- },
61724
- {
61725
- "kind": "function",
61726
- "name": "validateGroups",
61727
- "return": {
61728
- "type": {
61729
- "text": "GroupsValidationResult"
61730
- }
61731
- },
61732
- "parameters": [
61733
- {
61734
- "name": "groups",
61735
- "type": {
61736
- "text": "CriteriaGroup[]"
61737
- }
61738
- },
61739
- {
61740
- "name": "fieldMetadata",
61741
- "type": {
61742
- "text": "MetadataDetail[] | string[]"
61743
- }
61744
- }
61745
- ],
61746
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
61747
- }
61748
- ],
61749
- "exports": [
61750
- {
61751
- "kind": "js",
61752
- "name": "validateClauses",
61753
- "declaration": {
61754
- "name": "validateClauses",
61755
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
61756
- }
61757
- },
61758
- {
61759
- "kind": "js",
61760
- "name": "validateGroups",
61761
- "declaration": {
61762
- "name": "validateGroups",
61763
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
61764
- }
61765
- }
61766
- ]
61767
- },
61768
61784
  {
61769
61785
  "kind": "javascript-module",
61770
61786
  "path": "src/environment-indicator/utils/configure.ts",