@genesislcap/foundation-ui 15.22.0 → 15.22.2

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.
@@ -1524,6 +1524,521 @@
1524
1524
  }
1525
1525
  ]
1526
1526
  },
1527
+ {
1528
+ "kind": "javascript-module",
1529
+ "path": "src/accordion/accordion.styles.ts",
1530
+ "declarations": [
1531
+ {
1532
+ "kind": "function",
1533
+ "name": "foundationAccordionStyles",
1534
+ "return": {
1535
+ "type": {
1536
+ "text": "ElementStyles"
1537
+ }
1538
+ },
1539
+ "parameters": [
1540
+ {
1541
+ "name": "context",
1542
+ "type": {
1543
+ "text": "ElementDefinitionContext"
1544
+ }
1545
+ },
1546
+ {
1547
+ "name": "definition",
1548
+ "type": {
1549
+ "text": "FoundationElementDefinition"
1550
+ }
1551
+ }
1552
+ ]
1553
+ }
1554
+ ],
1555
+ "exports": [
1556
+ {
1557
+ "kind": "js",
1558
+ "name": "foundationAccordionStyles",
1559
+ "declaration": {
1560
+ "name": "foundationAccordionStyles",
1561
+ "module": "src/accordion/accordion.styles.ts"
1562
+ }
1563
+ }
1564
+ ]
1565
+ },
1566
+ {
1567
+ "kind": "javascript-module",
1568
+ "path": "src/accordion/accordion.template.ts",
1569
+ "declarations": [
1570
+ {
1571
+ "kind": "function",
1572
+ "name": "foundationAccordionTemplate",
1573
+ "return": {
1574
+ "type": {
1575
+ "text": "ViewTemplate<Accordion>"
1576
+ }
1577
+ },
1578
+ "parameters": [
1579
+ {
1580
+ "name": "context",
1581
+ "type": {
1582
+ "text": "ElementDefinitionContext"
1583
+ }
1584
+ },
1585
+ {
1586
+ "name": "definition",
1587
+ "type": {
1588
+ "text": "FoundationElementDefinition"
1589
+ }
1590
+ }
1591
+ ]
1592
+ }
1593
+ ],
1594
+ "exports": [
1595
+ {
1596
+ "kind": "js",
1597
+ "name": "foundationAccordionTemplate",
1598
+ "declaration": {
1599
+ "name": "foundationAccordionTemplate",
1600
+ "module": "src/accordion/accordion.template.ts"
1601
+ }
1602
+ }
1603
+ ]
1604
+ },
1605
+ {
1606
+ "kind": "javascript-module",
1607
+ "path": "src/accordion/accordion.ts",
1608
+ "declarations": [
1609
+ {
1610
+ "kind": "class",
1611
+ "description": "",
1612
+ "name": "Accordion",
1613
+ "superclass": {
1614
+ "name": "FASTAccordion",
1615
+ "package": "@microsoft/fast-foundation"
1616
+ },
1617
+ "tagName": "%%prefix%%-accordion",
1618
+ "customElement": true,
1619
+ "attributes": [
1620
+ {
1621
+ "name": "expand-mode",
1622
+ "type": {
1623
+ "text": "AccordionExpandMode"
1624
+ },
1625
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1626
+ "fieldName": "expandmode",
1627
+ "inheritedFrom": {
1628
+ "name": "Accordion",
1629
+ "module": "src/accordion/accordion.ts"
1630
+ }
1631
+ }
1632
+ ],
1633
+ "members": [
1634
+ {
1635
+ "kind": "field",
1636
+ "name": "expandmode",
1637
+ "type": {
1638
+ "text": "AccordionExpandMode"
1639
+ },
1640
+ "privacy": "public",
1641
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1642
+ "inheritedFrom": {
1643
+ "name": "Accordion",
1644
+ "module": "src/accordion/accordion.ts"
1645
+ }
1646
+ },
1647
+ {
1648
+ "kind": "field",
1649
+ "name": "activeid",
1650
+ "type": {
1651
+ "text": "string | null"
1652
+ },
1653
+ "privacy": "private",
1654
+ "inheritedFrom": {
1655
+ "name": "Accordion",
1656
+ "module": "src/accordion/accordion.ts"
1657
+ }
1658
+ },
1659
+ {
1660
+ "kind": "field",
1661
+ "name": "activeItemIndex",
1662
+ "type": {
1663
+ "text": "number"
1664
+ },
1665
+ "privacy": "private",
1666
+ "default": "0",
1667
+ "inheritedFrom": {
1668
+ "name": "Accordion",
1669
+ "module": "src/accordion/accordion.ts"
1670
+ }
1671
+ },
1672
+ {
1673
+ "kind": "field",
1674
+ "name": "accordionIds",
1675
+ "type": {
1676
+ "text": "Array<string | null>"
1677
+ },
1678
+ "privacy": "private",
1679
+ "inheritedFrom": {
1680
+ "name": "Accordion",
1681
+ "module": "src/accordion/accordion.ts"
1682
+ }
1683
+ },
1684
+ {
1685
+ "kind": "field",
1686
+ "name": "change",
1687
+ "privacy": "private",
1688
+ "inheritedFrom": {
1689
+ "name": "Accordion",
1690
+ "module": "src/accordion/accordion.ts"
1691
+ }
1692
+ },
1693
+ {
1694
+ "kind": "method",
1695
+ "name": "findExpandedItem",
1696
+ "privacy": "private",
1697
+ "return": {
1698
+ "type": {
1699
+ "text": "AccordionItem | null"
1700
+ }
1701
+ },
1702
+ "inheritedFrom": {
1703
+ "name": "Accordion",
1704
+ "module": "src/accordion/accordion.ts"
1705
+ }
1706
+ },
1707
+ {
1708
+ "kind": "field",
1709
+ "name": "setItems",
1710
+ "privacy": "private",
1711
+ "inheritedFrom": {
1712
+ "name": "Accordion",
1713
+ "module": "src/accordion/accordion.ts"
1714
+ }
1715
+ },
1716
+ {
1717
+ "kind": "method",
1718
+ "name": "resetItems",
1719
+ "privacy": "private",
1720
+ "return": {
1721
+ "type": {
1722
+ "text": "void"
1723
+ }
1724
+ },
1725
+ "inheritedFrom": {
1726
+ "name": "Accordion",
1727
+ "module": "src/accordion/accordion.ts"
1728
+ }
1729
+ },
1730
+ {
1731
+ "kind": "field",
1732
+ "name": "removeItemListeners",
1733
+ "privacy": "private",
1734
+ "inheritedFrom": {
1735
+ "name": "Accordion",
1736
+ "module": "src/accordion/accordion.ts"
1737
+ }
1738
+ },
1739
+ {
1740
+ "kind": "field",
1741
+ "name": "activeItemChange",
1742
+ "privacy": "private",
1743
+ "inheritedFrom": {
1744
+ "name": "Accordion",
1745
+ "module": "src/accordion/accordion.ts"
1746
+ }
1747
+ },
1748
+ {
1749
+ "kind": "method",
1750
+ "name": "getItemIds",
1751
+ "privacy": "private",
1752
+ "return": {
1753
+ "type": {
1754
+ "text": "Array<string | null>"
1755
+ }
1756
+ },
1757
+ "inheritedFrom": {
1758
+ "name": "Accordion",
1759
+ "module": "src/accordion/accordion.ts"
1760
+ }
1761
+ },
1762
+ {
1763
+ "kind": "method",
1764
+ "name": "isSingleExpandMode",
1765
+ "privacy": "private",
1766
+ "return": {
1767
+ "type": {
1768
+ "text": "boolean"
1769
+ }
1770
+ },
1771
+ "inheritedFrom": {
1772
+ "name": "Accordion",
1773
+ "module": "src/accordion/accordion.ts"
1774
+ }
1775
+ },
1776
+ {
1777
+ "kind": "field",
1778
+ "name": "handleItemKeyDown",
1779
+ "privacy": "private",
1780
+ "inheritedFrom": {
1781
+ "name": "Accordion",
1782
+ "module": "src/accordion/accordion.ts"
1783
+ }
1784
+ },
1785
+ {
1786
+ "kind": "field",
1787
+ "name": "handleItemFocus",
1788
+ "privacy": "private",
1789
+ "inheritedFrom": {
1790
+ "name": "Accordion",
1791
+ "module": "src/accordion/accordion.ts"
1792
+ }
1793
+ },
1794
+ {
1795
+ "kind": "method",
1796
+ "name": "adjust",
1797
+ "privacy": "private",
1798
+ "return": {
1799
+ "type": {
1800
+ "text": "void"
1801
+ }
1802
+ },
1803
+ "parameters": [
1804
+ {
1805
+ "name": "adjustment",
1806
+ "type": {
1807
+ "text": "number"
1808
+ }
1809
+ }
1810
+ ],
1811
+ "inheritedFrom": {
1812
+ "name": "Accordion",
1813
+ "module": "src/accordion/accordion.ts"
1814
+ }
1815
+ },
1816
+ {
1817
+ "kind": "method",
1818
+ "name": "focusItem",
1819
+ "privacy": "private",
1820
+ "return": {
1821
+ "type": {
1822
+ "text": "void"
1823
+ }
1824
+ },
1825
+ "inheritedFrom": {
1826
+ "name": "Accordion",
1827
+ "module": "src/accordion/accordion.ts"
1828
+ }
1829
+ },
1830
+ {
1831
+ "kind": "field",
1832
+ "name": "_presentation",
1833
+ "type": {
1834
+ "text": "ComponentPresentation | null | undefined"
1835
+ },
1836
+ "privacy": "private",
1837
+ "default": "void 0",
1838
+ "inheritedFrom": {
1839
+ "name": "FoundationElement",
1840
+ "module": "src/foundation-element/foundation-element.ts"
1841
+ }
1842
+ },
1843
+ {
1844
+ "kind": "field",
1845
+ "name": "$presentation",
1846
+ "type": {
1847
+ "text": "ComponentPresentation | null"
1848
+ },
1849
+ "privacy": "public",
1850
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1851
+ "inheritedFrom": {
1852
+ "name": "FoundationElement",
1853
+ "module": "src/foundation-element/foundation-element.ts"
1854
+ }
1855
+ },
1856
+ {
1857
+ "kind": "field",
1858
+ "name": "template",
1859
+ "type": {
1860
+ "text": "ElementViewTemplate | void | null"
1861
+ },
1862
+ "privacy": "public",
1863
+ "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.",
1864
+ "inheritedFrom": {
1865
+ "name": "FoundationElement",
1866
+ "module": "src/foundation-element/foundation-element.ts"
1867
+ }
1868
+ },
1869
+ {
1870
+ "kind": "method",
1871
+ "name": "templateChanged",
1872
+ "privacy": "protected",
1873
+ "return": {
1874
+ "type": {
1875
+ "text": "void"
1876
+ }
1877
+ },
1878
+ "inheritedFrom": {
1879
+ "name": "FoundationElement",
1880
+ "module": "src/foundation-element/foundation-element.ts"
1881
+ }
1882
+ },
1883
+ {
1884
+ "kind": "field",
1885
+ "name": "styles",
1886
+ "type": {
1887
+ "text": "ElementStyles | void | null"
1888
+ },
1889
+ "privacy": "public",
1890
+ "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.",
1891
+ "inheritedFrom": {
1892
+ "name": "FoundationElement",
1893
+ "module": "src/foundation-element/foundation-element.ts"
1894
+ }
1895
+ },
1896
+ {
1897
+ "kind": "method",
1898
+ "name": "stylesChanged",
1899
+ "privacy": "protected",
1900
+ "return": {
1901
+ "type": {
1902
+ "text": "void"
1903
+ }
1904
+ },
1905
+ "inheritedFrom": {
1906
+ "name": "FoundationElement",
1907
+ "module": "src/foundation-element/foundation-element.ts"
1908
+ }
1909
+ },
1910
+ {
1911
+ "kind": "method",
1912
+ "name": "compose",
1913
+ "privacy": "public",
1914
+ "static": true,
1915
+ "return": {
1916
+ "type": {
1917
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1918
+ }
1919
+ },
1920
+ "parameters": [
1921
+ {
1922
+ "name": "this",
1923
+ "type": {
1924
+ "text": "K"
1925
+ }
1926
+ },
1927
+ {
1928
+ "name": "elementDefinition",
1929
+ "type": {
1930
+ "text": "T"
1931
+ },
1932
+ "description": "The definition of the element to create the registry\nfunction for."
1933
+ }
1934
+ ],
1935
+ "description": "Defines an element registry function with a set of element definition defaults.",
1936
+ "inheritedFrom": {
1937
+ "name": "FoundationElement",
1938
+ "module": "src/foundation-element/foundation-element.ts"
1939
+ }
1940
+ }
1941
+ ],
1942
+ "events": [
1943
+ {
1944
+ "description": "Fires a custom 'change' event when the active item changes",
1945
+ "name": "change",
1946
+ "inheritedFrom": {
1947
+ "name": "Accordion",
1948
+ "module": "src/accordion/accordion.ts"
1949
+ }
1950
+ }
1951
+ ]
1952
+ },
1953
+ {
1954
+ "kind": "variable",
1955
+ "name": "foundationAccordionShadowOptions",
1956
+ "type": {
1957
+ "text": "ShadowRootInit"
1958
+ },
1959
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1960
+ },
1961
+ {
1962
+ "kind": "variable",
1963
+ "name": "defaultAccordionConfig",
1964
+ "type": {
1965
+ "text": "object"
1966
+ },
1967
+ "default": "{}"
1968
+ },
1969
+ {
1970
+ "kind": "variable",
1971
+ "name": "foundationAccordion",
1972
+ "description": "The Foundation Accordion",
1973
+ "privacy": "public"
1974
+ }
1975
+ ],
1976
+ "exports": [
1977
+ {
1978
+ "kind": "js",
1979
+ "name": "Accordion",
1980
+ "declaration": {
1981
+ "name": "Accordion",
1982
+ "module": "src/accordion/accordion.ts"
1983
+ }
1984
+ },
1985
+ {
1986
+ "kind": "js",
1987
+ "name": "foundationAccordionShadowOptions",
1988
+ "declaration": {
1989
+ "name": "foundationAccordionShadowOptions",
1990
+ "module": "src/accordion/accordion.ts"
1991
+ }
1992
+ },
1993
+ {
1994
+ "kind": "js",
1995
+ "name": "defaultAccordionConfig",
1996
+ "declaration": {
1997
+ "name": "defaultAccordionConfig",
1998
+ "module": "src/accordion/accordion.ts"
1999
+ }
2000
+ },
2001
+ {
2002
+ "kind": "js",
2003
+ "name": "foundationAccordion",
2004
+ "declaration": {
2005
+ "name": "foundationAccordion",
2006
+ "module": "src/accordion/accordion.ts"
2007
+ }
2008
+ }
2009
+ ]
2010
+ },
2011
+ {
2012
+ "kind": "javascript-module",
2013
+ "path": "src/accordion/index.ts",
2014
+ "declarations": [],
2015
+ "exports": [
2016
+ {
2017
+ "kind": "js",
2018
+ "name": "*",
2019
+ "declaration": {
2020
+ "name": "*",
2021
+ "package": "./accordion.template"
2022
+ }
2023
+ },
2024
+ {
2025
+ "kind": "js",
2026
+ "name": "*",
2027
+ "declaration": {
2028
+ "name": "*",
2029
+ "package": "./accordion.styles"
2030
+ }
2031
+ },
2032
+ {
2033
+ "kind": "js",
2034
+ "name": "*",
2035
+ "declaration": {
2036
+ "name": "*",
2037
+ "package": "./accordion"
2038
+ }
2039
+ }
2040
+ ]
2041
+ },
1527
2042
  {
1528
2043
  "kind": "javascript-module",
1529
2044
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -3129,725 +3644,224 @@
3129
3644
  "exports": [
3130
3645
  {
3131
3646
  "kind": "js",
3132
- "name": "foundationAiIndicatorStyles",
3133
- "declaration": {
3134
- "name": "foundationAiIndicatorStyles",
3135
- "module": "src/ai-indicator/ai-indicator.styles.ts"
3136
- }
3137
- }
3138
- ]
3139
- },
3140
- {
3141
- "kind": "javascript-module",
3142
- "path": "src/ai-indicator/ai-indicator.template.ts",
3143
- "declarations": [
3144
- {
3145
- "kind": "variable",
3146
- "name": "foundationAiIndicatorTemplate",
3147
- "type": {
3148
- "text": "ViewTemplate<AiIndicator>"
3149
- },
3150
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3151
- }
3152
- ],
3153
- "exports": [
3154
- {
3155
- "kind": "js",
3156
- "name": "foundationAiIndicatorTemplate",
3157
- "declaration": {
3158
- "name": "foundationAiIndicatorTemplate",
3159
- "module": "src/ai-indicator/ai-indicator.template.ts"
3160
- }
3161
- }
3162
- ]
3163
- },
3164
- {
3165
- "kind": "javascript-module",
3166
- "path": "src/ai-indicator/ai-indicator.ts",
3167
- "declarations": [
3168
- {
3169
- "kind": "class",
3170
- "description": "",
3171
- "name": "AiIndicator",
3172
- "members": [
3173
- {
3174
- "kind": "field",
3175
- "name": "providerRegistry",
3176
- "type": {
3177
- "text": "AIProviderRegistry"
3178
- }
3179
- },
3180
- {
3181
- "kind": "field",
3182
- "name": "aiProvider",
3183
- "type": {
3184
- "text": "AIProvider | undefined"
3185
- },
3186
- "privacy": "private",
3187
- "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.",
3188
- "readonly": true
3189
- },
3190
- {
3191
- "kind": "field",
3192
- "name": "status",
3193
- "type": {
3194
- "text": "AIStatus | null"
3195
- },
3196
- "default": "null"
3197
- },
3198
- {
3199
- "kind": "field",
3200
- "name": "open",
3201
- "type": {
3202
- "text": "boolean"
3203
- },
3204
- "default": "false"
3205
- },
3206
- {
3207
- "kind": "field",
3208
- "name": "state",
3209
- "type": {
3210
- "text": "AIIndicatorState"
3211
- },
3212
- "default": "'none'"
3213
- },
3214
- {
3215
- "kind": "field",
3216
- "name": "isInstalling",
3217
- "type": {
3218
- "text": "boolean"
3219
- },
3220
- "default": "false"
3221
- },
3222
- {
3223
- "kind": "field",
3224
- "name": "pollTimer",
3225
- "type": {
3226
- "text": "ReturnType<typeof setInterval> | null"
3227
- },
3228
- "privacy": "private",
3229
- "default": "null"
3230
- },
3231
- {
3232
- "kind": "field",
3233
- "name": "clickOutside",
3234
- "privacy": "private"
3235
- },
3236
- {
3237
- "kind": "field",
3238
- "name": "chromeStatusLabel",
3239
- "type": {
3240
- "text": "string | null"
3241
- },
3242
- "readonly": true
3243
- },
3244
- {
3245
- "kind": "field",
3246
- "name": "canInstall",
3247
- "type": {
3248
- "text": "boolean"
3249
- },
3250
- "readonly": true
3251
- },
3252
- {
3253
- "kind": "field",
3254
- "name": "isDownloading",
3255
- "type": {
3256
- "text": "boolean"
3257
- },
3258
- "readonly": true
3259
- },
3260
- {
3261
- "kind": "method",
3262
- "name": "openChanged",
3263
- "return": {
3264
- "type": {
3265
- "text": "void"
3266
- }
3267
- }
3268
- },
3269
- {
3270
- "kind": "method",
3271
- "name": "handleClickOutside",
3272
- "privacy": "private",
3273
- "parameters": [
3274
- {
3275
- "name": "event",
3276
- "type": {
3277
- "text": "MouseEvent"
3278
- }
3279
- }
3280
- ]
3281
- },
3282
- {
3283
- "kind": "method",
3284
- "name": "toggleDropdown"
3285
- },
3286
- {
3287
- "kind": "method",
3288
- "name": "refreshStatus",
3289
- "return": {
3290
- "type": {
3291
- "text": "Promise<void>"
3292
- }
3293
- }
3294
- },
3295
- {
3296
- "kind": "method",
3297
- "name": "deriveState",
3298
- "privacy": "private",
3299
- "return": {
3300
- "type": {
3301
- "text": "AIIndicatorState"
3302
- }
3303
- },
3304
- "parameters": [
3305
- {
3306
- "name": "s",
3307
- "type": {
3308
- "text": "AIStatus | null"
3309
- }
3310
- }
3311
- ]
3312
- },
3313
- {
3314
- "kind": "method",
3315
- "name": "maybeStartPolling",
3316
- "privacy": "private",
3317
- "return": {
3318
- "type": {
3319
- "text": "void"
3320
- }
3321
- }
3322
- },
3323
- {
3324
- "kind": "method",
3325
- "name": "startPolling",
3326
- "privacy": "private",
3327
- "return": {
3328
- "type": {
3329
- "text": "void"
3330
- }
3331
- }
3332
- },
3333
- {
3334
- "kind": "method",
3335
- "name": "stopPolling",
3336
- "privacy": "private",
3337
- "return": {
3338
- "type": {
3339
- "text": "void"
3340
- }
3341
- }
3342
- },
3343
- {
3344
- "kind": "method",
3345
- "name": "onInstall",
3346
- "return": {
3347
- "type": {
3348
- "text": "Promise<void>"
3349
- }
3350
- }
3351
- },
3352
- {
3353
- "kind": "field",
3354
- "name": "_presentation",
3355
- "type": {
3356
- "text": "ComponentPresentation | null | undefined"
3357
- },
3358
- "privacy": "private",
3359
- "default": "void 0",
3360
- "inheritedFrom": {
3361
- "name": "FoundationElement",
3362
- "module": "src/foundation-element/foundation-element.ts"
3363
- }
3364
- },
3365
- {
3366
- "kind": "field",
3367
- "name": "$presentation",
3368
- "type": {
3369
- "text": "ComponentPresentation | null"
3370
- },
3371
- "privacy": "public",
3372
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3373
- "inheritedFrom": {
3374
- "name": "FoundationElement",
3375
- "module": "src/foundation-element/foundation-element.ts"
3376
- }
3377
- },
3378
- {
3379
- "kind": "field",
3380
- "name": "template",
3381
- "type": {
3382
- "text": "ElementViewTemplate | void | null"
3383
- },
3384
- "privacy": "public",
3385
- "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.",
3386
- "inheritedFrom": {
3387
- "name": "FoundationElement",
3388
- "module": "src/foundation-element/foundation-element.ts"
3389
- }
3390
- },
3391
- {
3392
- "kind": "method",
3393
- "name": "templateChanged",
3394
- "privacy": "protected",
3395
- "return": {
3396
- "type": {
3397
- "text": "void"
3398
- }
3399
- },
3400
- "inheritedFrom": {
3401
- "name": "FoundationElement",
3402
- "module": "src/foundation-element/foundation-element.ts"
3403
- }
3404
- },
3405
- {
3406
- "kind": "field",
3407
- "name": "styles",
3408
- "type": {
3409
- "text": "ElementStyles | void | null"
3410
- },
3411
- "privacy": "public",
3412
- "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.",
3413
- "inheritedFrom": {
3414
- "name": "FoundationElement",
3415
- "module": "src/foundation-element/foundation-element.ts"
3416
- }
3417
- },
3418
- {
3419
- "kind": "method",
3420
- "name": "stylesChanged",
3421
- "privacy": "protected",
3422
- "return": {
3423
- "type": {
3424
- "text": "void"
3425
- }
3426
- },
3427
- "inheritedFrom": {
3428
- "name": "FoundationElement",
3429
- "module": "src/foundation-element/foundation-element.ts"
3430
- }
3431
- },
3432
- {
3433
- "kind": "method",
3434
- "name": "compose",
3435
- "privacy": "public",
3436
- "static": true,
3437
- "return": {
3438
- "type": {
3439
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3440
- }
3441
- },
3442
- "parameters": [
3443
- {
3444
- "name": "this",
3445
- "type": {
3446
- "text": "K"
3447
- }
3448
- },
3449
- {
3450
- "name": "elementDefinition",
3451
- "type": {
3452
- "text": "T"
3453
- },
3454
- "description": "The definition of the element to create the registry\nfunction for."
3455
- }
3456
- ],
3457
- "description": "Defines an element registry function with a set of element definition defaults.",
3458
- "inheritedFrom": {
3459
- "name": "FoundationElement",
3460
- "module": "src/foundation-element/foundation-element.ts"
3461
- }
3462
- }
3463
- ],
3464
- "superclass": {
3465
- "name": "FoundationElement",
3466
- "package": "@microsoft/fast-foundation"
3467
- },
3468
- "tagName": "%%prefix%%-ai-indicator",
3469
- "customElement": true
3470
- },
3471
- {
3472
- "kind": "variable",
3473
- "name": "foundationAiIndicator"
3474
- }
3475
- ],
3476
- "exports": [
3477
- {
3478
- "kind": "js",
3479
- "name": "AiIndicator",
3480
- "declaration": {
3481
- "name": "AiIndicator",
3482
- "module": "src/ai-indicator/ai-indicator.ts"
3483
- }
3484
- },
3485
- {
3486
- "kind": "js",
3487
- "name": "foundationAiIndicator",
3488
- "declaration": {
3489
- "name": "foundationAiIndicator",
3490
- "module": "src/ai-indicator/ai-indicator.ts"
3491
- }
3492
- }
3493
- ]
3494
- },
3495
- {
3496
- "kind": "javascript-module",
3497
- "path": "src/ai-indicator/index.ts",
3498
- "declarations": [],
3499
- "exports": [
3500
- {
3501
- "kind": "js",
3502
- "name": "AiIndicator",
3503
- "declaration": {
3504
- "name": "AiIndicator",
3505
- "module": "./ai-indicator"
3506
- }
3507
- },
3508
- {
3509
- "kind": "js",
3510
- "name": "foundationAiIndicator",
3511
- "declaration": {
3512
- "name": "foundationAiIndicator",
3513
- "module": "./ai-indicator"
3514
- }
3515
- },
3516
- {
3517
- "kind": "js",
3518
- "name": "type",
3519
- "declaration": {
3520
- "name": "type",
3521
- "module": "./ai-indicator"
3522
- }
3523
- },
3524
- {
3525
- "kind": "js",
3526
- "name": "AIIndicatorState",
3527
- "declaration": {
3528
- "name": "AIIndicatorState",
3529
- "module": "./ai-indicator"
3530
- }
3531
- },
3532
- {
3533
- "kind": "js",
3534
- "name": "foundationAiIndicatorTemplate",
3535
- "declaration": {
3536
- "name": "foundationAiIndicatorTemplate",
3537
- "module": "./ai-indicator.template"
3538
- }
3539
- },
3540
- {
3541
- "kind": "js",
3542
- "name": "foundationAiIndicatorStyles",
3543
- "declaration": {
3544
- "name": "foundationAiIndicatorStyles",
3545
- "module": "./ai-indicator.styles"
3546
- }
3547
- }
3548
- ]
3549
- },
3550
- {
3551
- "kind": "javascript-module",
3552
- "path": "src/accordion/accordion.styles.ts",
3553
- "declarations": [
3554
- {
3555
- "kind": "function",
3556
- "name": "foundationAccordionStyles",
3557
- "return": {
3558
- "type": {
3559
- "text": "ElementStyles"
3560
- }
3561
- },
3562
- "parameters": [
3563
- {
3564
- "name": "context",
3565
- "type": {
3566
- "text": "ElementDefinitionContext"
3567
- }
3568
- },
3569
- {
3570
- "name": "definition",
3571
- "type": {
3572
- "text": "FoundationElementDefinition"
3573
- }
3574
- }
3575
- ]
3576
- }
3577
- ],
3578
- "exports": [
3579
- {
3580
- "kind": "js",
3581
- "name": "foundationAccordionStyles",
3647
+ "name": "foundationAiIndicatorStyles",
3582
3648
  "declaration": {
3583
- "name": "foundationAccordionStyles",
3584
- "module": "src/accordion/accordion.styles.ts"
3649
+ "name": "foundationAiIndicatorStyles",
3650
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3585
3651
  }
3586
3652
  }
3587
3653
  ]
3588
3654
  },
3589
3655
  {
3590
3656
  "kind": "javascript-module",
3591
- "path": "src/accordion/accordion.template.ts",
3657
+ "path": "src/ai-indicator/ai-indicator.template.ts",
3592
3658
  "declarations": [
3593
3659
  {
3594
- "kind": "function",
3595
- "name": "foundationAccordionTemplate",
3596
- "return": {
3597
- "type": {
3598
- "text": "ViewTemplate<Accordion>"
3599
- }
3660
+ "kind": "variable",
3661
+ "name": "foundationAiIndicatorTemplate",
3662
+ "type": {
3663
+ "text": "ViewTemplate<AiIndicator>"
3600
3664
  },
3601
- "parameters": [
3602
- {
3603
- "name": "context",
3604
- "type": {
3605
- "text": "ElementDefinitionContext"
3606
- }
3607
- },
3608
- {
3609
- "name": "definition",
3610
- "type": {
3611
- "text": "FoundationElementDefinition"
3612
- }
3613
- }
3614
- ]
3665
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3615
3666
  }
3616
3667
  ],
3617
3668
  "exports": [
3618
3669
  {
3619
3670
  "kind": "js",
3620
- "name": "foundationAccordionTemplate",
3671
+ "name": "foundationAiIndicatorTemplate",
3621
3672
  "declaration": {
3622
- "name": "foundationAccordionTemplate",
3623
- "module": "src/accordion/accordion.template.ts"
3673
+ "name": "foundationAiIndicatorTemplate",
3674
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3624
3675
  }
3625
3676
  }
3626
3677
  ]
3627
3678
  },
3628
3679
  {
3629
3680
  "kind": "javascript-module",
3630
- "path": "src/accordion/accordion.ts",
3681
+ "path": "src/ai-indicator/ai-indicator.ts",
3631
3682
  "declarations": [
3632
3683
  {
3633
3684
  "kind": "class",
3634
3685
  "description": "",
3635
- "name": "Accordion",
3636
- "superclass": {
3637
- "name": "FASTAccordion",
3638
- "package": "@microsoft/fast-foundation"
3639
- },
3640
- "tagName": "%%prefix%%-accordion",
3641
- "customElement": true,
3642
- "attributes": [
3686
+ "name": "AiIndicator",
3687
+ "members": [
3643
3688
  {
3644
- "name": "expand-mode",
3689
+ "kind": "field",
3690
+ "name": "providerRegistry",
3645
3691
  "type": {
3646
- "text": "AccordionExpandMode"
3647
- },
3648
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3649
- "fieldName": "expandmode",
3650
- "inheritedFrom": {
3651
- "name": "Accordion",
3652
- "module": "src/accordion/accordion.ts"
3692
+ "text": "AIProviderRegistry"
3653
3693
  }
3654
- }
3655
- ],
3656
- "members": [
3694
+ },
3657
3695
  {
3658
3696
  "kind": "field",
3659
- "name": "expandmode",
3697
+ "name": "aiProvider",
3660
3698
  "type": {
3661
- "text": "AccordionExpandMode"
3699
+ "text": "AIProvider | undefined"
3662
3700
  },
3663
- "privacy": "public",
3664
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3665
- "inheritedFrom": {
3666
- "name": "Accordion",
3667
- "module": "src/accordion/accordion.ts"
3668
- }
3701
+ "privacy": "private",
3702
+ "description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
3703
+ "readonly": true
3669
3704
  },
3670
3705
  {
3671
3706
  "kind": "field",
3672
- "name": "activeid",
3707
+ "name": "status",
3673
3708
  "type": {
3674
- "text": "string | null"
3709
+ "text": "AIStatus | null"
3675
3710
  },
3676
- "privacy": "private",
3677
- "inheritedFrom": {
3678
- "name": "Accordion",
3679
- "module": "src/accordion/accordion.ts"
3680
- }
3711
+ "default": "null"
3681
3712
  },
3682
3713
  {
3683
3714
  "kind": "field",
3684
- "name": "activeItemIndex",
3715
+ "name": "open",
3685
3716
  "type": {
3686
- "text": "number"
3717
+ "text": "boolean"
3687
3718
  },
3688
- "privacy": "private",
3689
- "default": "0",
3690
- "inheritedFrom": {
3691
- "name": "Accordion",
3692
- "module": "src/accordion/accordion.ts"
3693
- }
3719
+ "default": "false"
3694
3720
  },
3695
3721
  {
3696
3722
  "kind": "field",
3697
- "name": "accordionIds",
3723
+ "name": "state",
3698
3724
  "type": {
3699
- "text": "Array<string | null>"
3725
+ "text": "AIIndicatorState"
3700
3726
  },
3701
- "privacy": "private",
3702
- "inheritedFrom": {
3703
- "name": "Accordion",
3704
- "module": "src/accordion/accordion.ts"
3705
- }
3727
+ "default": "'none'"
3706
3728
  },
3707
3729
  {
3708
3730
  "kind": "field",
3709
- "name": "change",
3710
- "privacy": "private",
3711
- "inheritedFrom": {
3712
- "name": "Accordion",
3713
- "module": "src/accordion/accordion.ts"
3714
- }
3731
+ "name": "isInstalling",
3732
+ "type": {
3733
+ "text": "boolean"
3734
+ },
3735
+ "default": "false"
3715
3736
  },
3716
3737
  {
3717
- "kind": "method",
3718
- "name": "findExpandedItem",
3738
+ "kind": "field",
3739
+ "name": "pollTimer",
3740
+ "type": {
3741
+ "text": "ReturnType<typeof setInterval> | null"
3742
+ },
3719
3743
  "privacy": "private",
3720
- "return": {
3721
- "type": {
3722
- "text": "AccordionItem | null"
3723
- }
3744
+ "default": "null"
3745
+ },
3746
+ {
3747
+ "kind": "field",
3748
+ "name": "clickOutside",
3749
+ "privacy": "private"
3750
+ },
3751
+ {
3752
+ "kind": "field",
3753
+ "name": "chromeStatusLabel",
3754
+ "type": {
3755
+ "text": "string | null"
3724
3756
  },
3725
- "inheritedFrom": {
3726
- "name": "Accordion",
3727
- "module": "src/accordion/accordion.ts"
3728
- }
3757
+ "readonly": true
3729
3758
  },
3730
3759
  {
3731
3760
  "kind": "field",
3732
- "name": "setItems",
3733
- "privacy": "private",
3734
- "inheritedFrom": {
3735
- "name": "Accordion",
3736
- "module": "src/accordion/accordion.ts"
3737
- }
3761
+ "name": "canInstall",
3762
+ "type": {
3763
+ "text": "boolean"
3764
+ },
3765
+ "readonly": true
3766
+ },
3767
+ {
3768
+ "kind": "field",
3769
+ "name": "isDownloading",
3770
+ "type": {
3771
+ "text": "boolean"
3772
+ },
3773
+ "readonly": true
3738
3774
  },
3739
3775
  {
3740
3776
  "kind": "method",
3741
- "name": "resetItems",
3742
- "privacy": "private",
3777
+ "name": "openChanged",
3743
3778
  "return": {
3744
3779
  "type": {
3745
3780
  "text": "void"
3746
3781
  }
3747
- },
3748
- "inheritedFrom": {
3749
- "name": "Accordion",
3750
- "module": "src/accordion/accordion.ts"
3751
3782
  }
3752
3783
  },
3753
3784
  {
3754
- "kind": "field",
3755
- "name": "removeItemListeners",
3785
+ "kind": "method",
3786
+ "name": "handleClickOutside",
3756
3787
  "privacy": "private",
3757
- "inheritedFrom": {
3758
- "name": "Accordion",
3759
- "module": "src/accordion/accordion.ts"
3760
- }
3788
+ "parameters": [
3789
+ {
3790
+ "name": "event",
3791
+ "type": {
3792
+ "text": "MouseEvent"
3793
+ }
3794
+ }
3795
+ ]
3761
3796
  },
3762
3797
  {
3763
- "kind": "field",
3764
- "name": "activeItemChange",
3765
- "privacy": "private",
3766
- "inheritedFrom": {
3767
- "name": "Accordion",
3768
- "module": "src/accordion/accordion.ts"
3769
- }
3798
+ "kind": "method",
3799
+ "name": "toggleDropdown"
3770
3800
  },
3771
3801
  {
3772
3802
  "kind": "method",
3773
- "name": "getItemIds",
3774
- "privacy": "private",
3803
+ "name": "refreshStatus",
3775
3804
  "return": {
3776
3805
  "type": {
3777
- "text": "Array<string | null>"
3806
+ "text": "Promise<void>"
3778
3807
  }
3779
- },
3780
- "inheritedFrom": {
3781
- "name": "Accordion",
3782
- "module": "src/accordion/accordion.ts"
3783
3808
  }
3784
3809
  },
3785
3810
  {
3786
3811
  "kind": "method",
3787
- "name": "isSingleExpandMode",
3812
+ "name": "deriveState",
3788
3813
  "privacy": "private",
3789
3814
  "return": {
3790
3815
  "type": {
3791
- "text": "boolean"
3816
+ "text": "AIIndicatorState"
3792
3817
  }
3793
3818
  },
3794
- "inheritedFrom": {
3795
- "name": "Accordion",
3796
- "module": "src/accordion/accordion.ts"
3797
- }
3819
+ "parameters": [
3820
+ {
3821
+ "name": "s",
3822
+ "type": {
3823
+ "text": "AIStatus | null"
3824
+ }
3825
+ }
3826
+ ]
3798
3827
  },
3799
3828
  {
3800
- "kind": "field",
3801
- "name": "handleItemKeyDown",
3829
+ "kind": "method",
3830
+ "name": "maybeStartPolling",
3802
3831
  "privacy": "private",
3803
- "inheritedFrom": {
3804
- "name": "Accordion",
3805
- "module": "src/accordion/accordion.ts"
3832
+ "return": {
3833
+ "type": {
3834
+ "text": "void"
3835
+ }
3806
3836
  }
3807
3837
  },
3808
3838
  {
3809
- "kind": "field",
3810
- "name": "handleItemFocus",
3839
+ "kind": "method",
3840
+ "name": "startPolling",
3811
3841
  "privacy": "private",
3812
- "inheritedFrom": {
3813
- "name": "Accordion",
3814
- "module": "src/accordion/accordion.ts"
3842
+ "return": {
3843
+ "type": {
3844
+ "text": "void"
3845
+ }
3815
3846
  }
3816
3847
  },
3817
3848
  {
3818
3849
  "kind": "method",
3819
- "name": "adjust",
3850
+ "name": "stopPolling",
3820
3851
  "privacy": "private",
3821
3852
  "return": {
3822
3853
  "type": {
3823
3854
  "text": "void"
3824
3855
  }
3825
- },
3826
- "parameters": [
3827
- {
3828
- "name": "adjustment",
3829
- "type": {
3830
- "text": "number"
3831
- }
3832
- }
3833
- ],
3834
- "inheritedFrom": {
3835
- "name": "Accordion",
3836
- "module": "src/accordion/accordion.ts"
3837
3856
  }
3838
3857
  },
3839
3858
  {
3840
3859
  "kind": "method",
3841
- "name": "focusItem",
3842
- "privacy": "private",
3860
+ "name": "onInstall",
3843
3861
  "return": {
3844
3862
  "type": {
3845
- "text": "void"
3863
+ "text": "Promise<void>"
3846
3864
  }
3847
- },
3848
- "inheritedFrom": {
3849
- "name": "Accordion",
3850
- "module": "src/accordion/accordion.ts"
3851
3865
  }
3852
3866
  },
3853
3867
  {
@@ -3962,102 +3976,88 @@
3962
3976
  }
3963
3977
  }
3964
3978
  ],
3965
- "events": [
3966
- {
3967
- "description": "Fires a custom 'change' event when the active item changes",
3968
- "name": "change",
3969
- "inheritedFrom": {
3970
- "name": "Accordion",
3971
- "module": "src/accordion/accordion.ts"
3972
- }
3973
- }
3974
- ]
3975
- },
3976
- {
3977
- "kind": "variable",
3978
- "name": "foundationAccordionShadowOptions",
3979
- "type": {
3980
- "text": "ShadowRootInit"
3981
- },
3982
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3983
- },
3984
- {
3985
- "kind": "variable",
3986
- "name": "defaultAccordionConfig",
3987
- "type": {
3988
- "text": "object"
3979
+ "superclass": {
3980
+ "name": "FoundationElement",
3981
+ "package": "@microsoft/fast-foundation"
3989
3982
  },
3990
- "default": "{}"
3983
+ "tagName": "%%prefix%%-ai-indicator",
3984
+ "customElement": true
3991
3985
  },
3992
3986
  {
3993
3987
  "kind": "variable",
3994
- "name": "foundationAccordion",
3995
- "description": "The Foundation Accordion",
3996
- "privacy": "public"
3988
+ "name": "foundationAiIndicator"
3997
3989
  }
3998
3990
  ],
3999
3991
  "exports": [
4000
3992
  {
4001
3993
  "kind": "js",
4002
- "name": "Accordion",
3994
+ "name": "AiIndicator",
4003
3995
  "declaration": {
4004
- "name": "Accordion",
4005
- "module": "src/accordion/accordion.ts"
3996
+ "name": "AiIndicator",
3997
+ "module": "src/ai-indicator/ai-indicator.ts"
4006
3998
  }
4007
3999
  },
4008
4000
  {
4009
4001
  "kind": "js",
4010
- "name": "foundationAccordionShadowOptions",
4002
+ "name": "foundationAiIndicator",
4011
4003
  "declaration": {
4012
- "name": "foundationAccordionShadowOptions",
4013
- "module": "src/accordion/accordion.ts"
4004
+ "name": "foundationAiIndicator",
4005
+ "module": "src/ai-indicator/ai-indicator.ts"
4006
+ }
4007
+ }
4008
+ ]
4009
+ },
4010
+ {
4011
+ "kind": "javascript-module",
4012
+ "path": "src/ai-indicator/index.ts",
4013
+ "declarations": [],
4014
+ "exports": [
4015
+ {
4016
+ "kind": "js",
4017
+ "name": "AiIndicator",
4018
+ "declaration": {
4019
+ "name": "AiIndicator",
4020
+ "module": "./ai-indicator"
4014
4021
  }
4015
4022
  },
4016
4023
  {
4017
4024
  "kind": "js",
4018
- "name": "defaultAccordionConfig",
4025
+ "name": "foundationAiIndicator",
4019
4026
  "declaration": {
4020
- "name": "defaultAccordionConfig",
4021
- "module": "src/accordion/accordion.ts"
4027
+ "name": "foundationAiIndicator",
4028
+ "module": "./ai-indicator"
4022
4029
  }
4023
4030
  },
4024
4031
  {
4025
4032
  "kind": "js",
4026
- "name": "foundationAccordion",
4033
+ "name": "type",
4027
4034
  "declaration": {
4028
- "name": "foundationAccordion",
4029
- "module": "src/accordion/accordion.ts"
4035
+ "name": "type",
4036
+ "module": "./ai-indicator"
4030
4037
  }
4031
- }
4032
- ]
4033
- },
4034
- {
4035
- "kind": "javascript-module",
4036
- "path": "src/accordion/index.ts",
4037
- "declarations": [],
4038
- "exports": [
4038
+ },
4039
4039
  {
4040
4040
  "kind": "js",
4041
- "name": "*",
4041
+ "name": "AIIndicatorState",
4042
4042
  "declaration": {
4043
- "name": "*",
4044
- "package": "./accordion.template"
4043
+ "name": "AIIndicatorState",
4044
+ "module": "./ai-indicator"
4045
4045
  }
4046
4046
  },
4047
4047
  {
4048
4048
  "kind": "js",
4049
- "name": "*",
4049
+ "name": "foundationAiIndicatorTemplate",
4050
4050
  "declaration": {
4051
- "name": "*",
4052
- "package": "./accordion.styles"
4051
+ "name": "foundationAiIndicatorTemplate",
4052
+ "module": "./ai-indicator.template"
4053
4053
  }
4054
4054
  },
4055
4055
  {
4056
4056
  "kind": "js",
4057
- "name": "*",
4057
+ "name": "foundationAiIndicatorStyles",
4058
4058
  "declaration": {
4059
- "name": "*",
4060
- "package": "./accordion"
4059
+ "name": "foundationAiIndicatorStyles",
4060
+ "module": "./ai-indicator.styles"
4061
4061
  }
4062
4062
  }
4063
4063
  ]
@@ -59158,6 +59158,25 @@
59158
59158
  }
59159
59159
  ]
59160
59160
  },
59161
+ {
59162
+ "kind": "function",
59163
+ "name": "resolveByValueCriteriaBuilder",
59164
+ "parameters": [
59165
+ {
59166
+ "name": "datasource",
59167
+ "type": {
59168
+ "text": "OptionsDatasource | MultiselectDatasource"
59169
+ }
59170
+ },
59171
+ {
59172
+ "name": "value",
59173
+ "type": {
59174
+ "text": "string | number"
59175
+ }
59176
+ }
59177
+ ],
59178
+ "description": "Resolves a known field value (e.g. a bound `initialSelectedValue`) by exact match on\n`valueField`, as opposed to dataserverCriteriaBuilder, which treats `value` as\ntyped search text and matches it against `labelField`. Using the label-based search to\nresolve an initial value only works by coincidence: an id like `\"CP123\"` will not be found\nby searching a `NAME`/label column for that same string."
59179
+ },
59161
59180
  {
59162
59181
  "kind": "function",
59163
59182
  "name": "requestServerCriteriaBuilder",
@@ -59186,6 +59205,14 @@
59186
59205
  "module": "src/utils/options-datasource-utils.ts"
59187
59206
  }
59188
59207
  },
59208
+ {
59209
+ "kind": "js",
59210
+ "name": "resolveByValueCriteriaBuilder",
59211
+ "declaration": {
59212
+ "name": "resolveByValueCriteriaBuilder",
59213
+ "module": "src/utils/options-datasource-utils.ts"
59214
+ }
59215
+ },
59189
59216
  {
59190
59217
  "kind": "js",
59191
59218
  "name": "requestServerCriteriaBuilder",