@genesislcap/foundation-zero 15.35.4 → 15.36.1

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.
@@ -1788,25 +1788,46 @@
1788
1788
  },
1789
1789
  {
1790
1790
  "kind": "javascript-module",
1791
- "path": "src/actions-menu/actions-menu.styles.ts",
1791
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
1792
+ "declarations": [
1793
+ {
1794
+ "kind": "variable",
1795
+ "name": "zeroAiCriteriaSearchStyles",
1796
+ "default": "css`\n ${foundationAiCriteriaSearchStyles}\n`"
1797
+ }
1798
+ ],
1799
+ "exports": [
1800
+ {
1801
+ "kind": "js",
1802
+ "name": "zeroAiCriteriaSearchStyles",
1803
+ "declaration": {
1804
+ "name": "zeroAiCriteriaSearchStyles",
1805
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
1806
+ }
1807
+ }
1808
+ ]
1809
+ },
1810
+ {
1811
+ "kind": "javascript-module",
1812
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
1792
1813
  "declarations": [
1793
1814
  {
1794
1815
  "kind": "function",
1795
- "name": "zeroActionsMenuStyles",
1816
+ "name": "zeroAiCriteriaSearchTemplate",
1796
1817
  "return": {
1797
1818
  "type": {
1798
- "text": "ElementStyles"
1819
+ "text": "ViewTemplate<AiCriteriaSearch>"
1799
1820
  }
1800
1821
  },
1801
1822
  "parameters": [
1802
1823
  {
1803
- "name": "context",
1824
+ "name": "_context",
1804
1825
  "type": {
1805
1826
  "text": "ElementDefinitionContext"
1806
1827
  }
1807
1828
  },
1808
1829
  {
1809
- "name": "definition",
1830
+ "name": "_definition",
1810
1831
  "type": {
1811
1832
  "text": "FoundationElementDefinition"
1812
1833
  }
@@ -1817,403 +1838,347 @@
1817
1838
  "exports": [
1818
1839
  {
1819
1840
  "kind": "js",
1820
- "name": "zeroActionsMenuStyles",
1841
+ "name": "zeroAiCriteriaSearchTemplate",
1821
1842
  "declaration": {
1822
- "name": "zeroActionsMenuStyles",
1823
- "module": "src/actions-menu/actions-menu.styles.ts"
1843
+ "name": "zeroAiCriteriaSearchTemplate",
1844
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
1824
1845
  }
1825
1846
  }
1826
1847
  ]
1827
1848
  },
1828
1849
  {
1829
1850
  "kind": "javascript-module",
1830
- "path": "src/actions-menu/actions-menu.ts",
1851
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
1831
1852
  "declarations": [
1832
1853
  {
1833
1854
  "kind": "class",
1834
1855
  "description": "",
1835
- "name": "ActionsMenu",
1856
+ "name": "AiCriteriaSearch",
1836
1857
  "superclass": {
1837
- "name": "FoundationActionsMenu",
1858
+ "name": "FoundationAiCriteriaSearch",
1838
1859
  "package": "@genesislcap/foundation-ui"
1839
1860
  },
1840
- "tagName": "%%prefix%%-actions-menu",
1861
+ "tagName": "%%prefix%%-ai-criteria-search",
1841
1862
  "customElement": true,
1842
1863
  "attributes": [
1843
1864
  {
1844
- "name": "is-vertical",
1865
+ "name": "placeholder",
1845
1866
  "type": {
1846
- "text": "boolean"
1867
+ "text": "string"
1847
1868
  },
1848
- "default": "false",
1849
- "fieldName": "isVertical",
1869
+ "default": "'Describe your search criteria in natural language...'",
1870
+ "fieldName": "placeholder",
1850
1871
  "inheritedFrom": {
1851
- "name": "ActionsMenu",
1852
- "module": "src/actions-menu/actions-menu.ts"
1872
+ "name": "AiCriteriaSearch",
1873
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1853
1874
  }
1854
1875
  },
1855
1876
  {
1856
- "name": "add-default-actions",
1857
1877
  "type": {
1858
1878
  "text": "boolean"
1859
1879
  },
1860
- "default": "true",
1861
- "fieldName": "addDefaultActions",
1880
+ "fieldName": "disabled",
1862
1881
  "inheritedFrom": {
1863
- "name": "ActionsMenu",
1864
- "module": "src/actions-menu/actions-menu.ts"
1882
+ "name": "AiCriteriaSearch",
1883
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1865
1884
  }
1866
- },
1885
+ }
1886
+ ],
1887
+ "members": [
1867
1888
  {
1868
- "name": "auto-close-on-action",
1889
+ "kind": "field",
1890
+ "name": "providerRegistry",
1869
1891
  "type": {
1870
- "text": "boolean"
1892
+ "text": "AIProviderRegistry"
1871
1893
  },
1872
- "default": "true",
1873
- "fieldName": "autoCloseOnAction",
1874
1894
  "inheritedFrom": {
1875
- "name": "ActionsMenu",
1876
- "module": "src/actions-menu/actions-menu.ts"
1895
+ "name": "AiCriteriaSearch",
1896
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1877
1897
  }
1878
1898
  },
1879
1899
  {
1880
- "name": "name",
1900
+ "kind": "field",
1901
+ "name": "placeholder",
1881
1902
  "type": {
1882
1903
  "text": "string"
1883
1904
  },
1884
- "default": "'Actions'",
1885
- "fieldName": "name",
1905
+ "default": "'Describe your search criteria in natural language...'",
1886
1906
  "inheritedFrom": {
1887
- "name": "ActionsMenu",
1888
- "module": "src/actions-menu/actions-menu.ts"
1907
+ "name": "AiCriteriaSearch",
1908
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1889
1909
  }
1890
1910
  },
1891
1911
  {
1892
- "name": "open",
1912
+ "kind": "field",
1913
+ "name": "disabled",
1893
1914
  "type": {
1894
1915
  "text": "boolean"
1895
1916
  },
1896
- "default": "false",
1897
- "fieldName": "open",
1898
1917
  "inheritedFrom": {
1899
- "name": "ActionsMenu",
1900
- "module": "src/actions-menu/actions-menu.ts"
1918
+ "name": "AiCriteriaSearch",
1919
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1901
1920
  }
1902
1921
  },
1903
1922
  {
1904
- "name": "buttonAppearance",
1923
+ "kind": "field",
1924
+ "name": "inputValue",
1905
1925
  "type": {
1906
1926
  "text": "string"
1907
1927
  },
1908
- "fieldName": "buttonAppearance",
1928
+ "default": "''",
1909
1929
  "inheritedFrom": {
1910
- "name": "ActionsMenu",
1911
- "module": "src/actions-menu/actions-menu.ts"
1930
+ "name": "AiCriteriaSearch",
1931
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1912
1932
  }
1913
1933
  },
1914
1934
  {
1915
- "name": "hide-disabled",
1935
+ "kind": "field",
1936
+ "name": "isInterpreting",
1916
1937
  "type": {
1917
1938
  "text": "boolean"
1918
1939
  },
1919
1940
  "default": "false",
1920
- "fieldName": "hideDisabled",
1921
1941
  "inheritedFrom": {
1922
- "name": "ActionsMenu",
1923
- "module": "src/actions-menu/actions-menu.ts"
1942
+ "name": "AiCriteriaSearch",
1943
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1924
1944
  }
1925
1945
  },
1926
1946
  {
1927
- "name": "hide-menu-single-option",
1947
+ "kind": "field",
1948
+ "name": "lastValidCriteria",
1928
1949
  "type": {
1929
- "text": "boolean"
1950
+ "text": "string | null"
1930
1951
  },
1931
- "default": "false",
1932
- "fieldName": "hideMenuSingleOption",
1952
+ "default": "null",
1933
1953
  "inheritedFrom": {
1934
- "name": "ActionsMenu",
1935
- "module": "src/actions-menu/actions-menu.ts"
1954
+ "name": "AiCriteriaSearch",
1955
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1936
1956
  }
1937
- }
1938
- ],
1939
- "members": [
1957
+ },
1940
1958
  {
1941
1959
  "kind": "field",
1942
- "name": "actions",
1960
+ "name": "activeGroups",
1943
1961
  "type": {
1944
- "text": "ActionMenuItem[]"
1962
+ "text": "CriteriaGroup[]"
1945
1963
  },
1964
+ "default": "[]",
1946
1965
  "inheritedFrom": {
1947
- "name": "ActionsMenu",
1948
- "module": "src/actions-menu/actions-menu.ts"
1966
+ "name": "AiCriteriaSearch",
1967
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1949
1968
  }
1950
1969
  },
1951
1970
  {
1952
1971
  "kind": "field",
1953
- "name": "isVertical",
1972
+ "name": "showingChips",
1954
1973
  "type": {
1955
1974
  "text": "boolean"
1956
1975
  },
1957
1976
  "default": "false",
1958
1977
  "inheritedFrom": {
1959
- "name": "ActionsMenu",
1960
- "module": "src/actions-menu/actions-menu.ts"
1978
+ "name": "AiCriteriaSearch",
1979
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1961
1980
  }
1962
1981
  },
1963
1982
  {
1964
1983
  "kind": "field",
1965
- "name": "addDefaultActions",
1984
+ "name": "fieldMetadata",
1966
1985
  "type": {
1967
- "text": "boolean"
1986
+ "text": "MetadataDetail[] | string[]"
1968
1987
  },
1969
- "default": "true",
1988
+ "default": "[]",
1970
1989
  "inheritedFrom": {
1971
- "name": "ActionsMenu",
1972
- "module": "src/actions-menu/actions-menu.ts"
1990
+ "name": "AiCriteriaSearch",
1991
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1973
1992
  }
1974
1993
  },
1975
1994
  {
1976
1995
  "kind": "field",
1977
- "name": "autoCloseOnAction",
1996
+ "name": "isRecording",
1978
1997
  "type": {
1979
1998
  "text": "boolean"
1980
1999
  },
1981
- "default": "true",
2000
+ "default": "false",
1982
2001
  "inheritedFrom": {
1983
- "name": "ActionsMenu",
1984
- "module": "src/actions-menu/actions-menu.ts"
2002
+ "name": "AiCriteriaSearch",
2003
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1985
2004
  }
1986
2005
  },
1987
2006
  {
1988
2007
  "kind": "field",
1989
- "name": "classNames",
2008
+ "name": "textAreaRef",
1990
2009
  "type": {
1991
- "text": "string"
2010
+ "text": "HTMLTextAreaElement"
1992
2011
  },
2012
+ "privacy": "public",
1993
2013
  "inheritedFrom": {
1994
- "name": "ActionsMenu",
1995
- "module": "src/actions-menu/actions-menu.ts"
2014
+ "name": "AiCriteriaSearch",
2015
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1996
2016
  }
1997
2017
  },
1998
2018
  {
1999
2019
  "kind": "field",
2000
- "name": "definition",
2020
+ "name": "stopRecording",
2001
2021
  "type": {
2002
- "text": "any"
2022
+ "text": "(() => void) | null"
2003
2023
  },
2024
+ "privacy": "private",
2025
+ "default": "null",
2004
2026
  "inheritedFrom": {
2005
- "name": "ActionsMenu",
2006
- "module": "src/actions-menu/actions-menu.ts"
2027
+ "name": "AiCriteriaSearch",
2028
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2007
2029
  }
2008
2030
  },
2009
2031
  {
2010
2032
  "kind": "field",
2011
- "name": "name",
2033
+ "name": "speechApplyDebounceTimer",
2012
2034
  "type": {
2013
- "text": "string"
2035
+ "text": "ReturnType<typeof setTimeout> | null"
2014
2036
  },
2015
- "default": "'Actions'",
2037
+ "privacy": "private",
2038
+ "default": "null",
2016
2039
  "inheritedFrom": {
2017
- "name": "ActionsMenu",
2018
- "module": "src/actions-menu/actions-menu.ts"
2040
+ "name": "AiCriteriaSearch",
2041
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2019
2042
  }
2020
2043
  },
2021
2044
  {
2022
2045
  "kind": "field",
2023
- "name": "open",
2046
+ "name": "speechAvailable",
2024
2047
  "type": {
2025
2048
  "text": "boolean"
2026
2049
  },
2027
- "default": "false",
2050
+ "readonly": true,
2028
2051
  "inheritedFrom": {
2029
- "name": "ActionsMenu",
2030
- "module": "src/actions-menu/actions-menu.ts"
2052
+ "name": "AiCriteriaSearch",
2053
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2031
2054
  }
2032
2055
  },
2033
2056
  {
2034
2057
  "kind": "field",
2035
- "name": "buttonAppearance",
2058
+ "name": "criteriaChips",
2036
2059
  "type": {
2037
- "text": "string"
2060
+ "text": "CriteriaChip[]"
2038
2061
  },
2062
+ "readonly": true,
2039
2063
  "inheritedFrom": {
2040
- "name": "ActionsMenu",
2041
- "module": "src/actions-menu/actions-menu.ts"
2064
+ "name": "AiCriteriaSearch",
2065
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2042
2066
  }
2043
2067
  },
2044
2068
  {
2045
- "kind": "field",
2046
- "name": "hideDisabled",
2047
- "type": {
2048
- "text": "boolean"
2069
+ "kind": "method",
2070
+ "name": "getFieldLabel",
2071
+ "privacy": "private",
2072
+ "return": {
2073
+ "type": {
2074
+ "text": "string"
2075
+ }
2049
2076
  },
2050
- "default": "false",
2077
+ "parameters": [
2078
+ {
2079
+ "name": "fieldName",
2080
+ "type": {
2081
+ "text": "string"
2082
+ }
2083
+ }
2084
+ ],
2051
2085
  "inheritedFrom": {
2052
- "name": "ActionsMenu",
2053
- "module": "src/actions-menu/actions-menu.ts"
2086
+ "name": "AiCriteriaSearch",
2087
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2054
2088
  }
2055
2089
  },
2056
2090
  {
2057
- "kind": "field",
2058
- "name": "hideMenuSingleOption",
2059
- "type": {
2060
- "text": "boolean"
2091
+ "kind": "method",
2092
+ "name": "toggleCriteriaView",
2093
+ "return": {
2094
+ "type": {
2095
+ "text": "void"
2096
+ }
2061
2097
  },
2062
- "default": "false",
2063
2098
  "inheritedFrom": {
2064
- "name": "ActionsMenu",
2065
- "module": "src/actions-menu/actions-menu.ts"
2066
- }
2067
- },
2068
- {
2069
- "kind": "field",
2070
- "name": "singleOption",
2071
- "type": {
2072
- "text": "ActionMenuItem"
2073
- },
2074
- "inheritedFrom": {
2075
- "name": "ActionsMenu",
2076
- "module": "src/actions-menu/actions-menu.ts"
2077
- }
2078
- },
2079
- {
2080
- "kind": "field",
2081
- "name": "actionsMenu",
2082
- "type": {
2083
- "text": "HTMLElement"
2084
- },
2085
- "inheritedFrom": {
2086
- "name": "ActionsMenu",
2087
- "module": "src/actions-menu/actions-menu.ts"
2088
- }
2089
- },
2090
- {
2091
- "kind": "field",
2092
- "name": "actionsOpener",
2093
- "type": {
2094
- "text": "HTMLElement"
2095
- },
2096
- "inheritedFrom": {
2097
- "name": "ActionsMenu",
2098
- "module": "src/actions-menu/actions-menu.ts"
2099
+ "name": "AiCriteriaSearch",
2100
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2099
2101
  }
2100
2102
  },
2101
2103
  {
2102
2104
  "kind": "method",
2103
- "name": "updateMenuPosition",
2104
- "privacy": "private",
2105
- "inheritedFrom": {
2106
- "name": "ActionsMenu",
2107
- "module": "src/actions-menu/actions-menu.ts"
2108
- }
2109
- },
2110
- {
2111
- "kind": "method",
2112
- "name": "definitionChanged",
2113
- "privacy": "protected",
2105
+ "name": "removeChip",
2106
+ "return": {
2107
+ "type": {
2108
+ "text": "void"
2109
+ }
2110
+ },
2114
2111
  "parameters": [
2115
2112
  {
2116
- "name": "oldValue",
2113
+ "name": "groupIndex",
2117
2114
  "type": {
2118
- "text": "any"
2115
+ "text": "number"
2119
2116
  }
2120
2117
  },
2121
2118
  {
2122
- "name": "newValue",
2119
+ "name": "clauseIndex",
2123
2120
  "type": {
2124
- "text": "any"
2121
+ "text": "number"
2125
2122
  }
2126
2123
  }
2127
2124
  ],
2128
2125
  "inheritedFrom": {
2129
- "name": "ActionsMenu",
2130
- "module": "src/actions-menu/actions-menu.ts"
2126
+ "name": "AiCriteriaSearch",
2127
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2131
2128
  }
2132
2129
  },
2133
2130
  {
2134
2131
  "kind": "method",
2135
- "name": "openChanged",
2136
- "privacy": "protected",
2132
+ "name": "clearChips",
2133
+ "return": {
2134
+ "type": {
2135
+ "text": "void"
2136
+ }
2137
+ },
2137
2138
  "inheritedFrom": {
2138
- "name": "ActionsMenu",
2139
- "module": "src/actions-menu/actions-menu.ts"
2139
+ "name": "AiCriteriaSearch",
2140
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2140
2141
  }
2141
2142
  },
2142
2143
  {
2143
2144
  "kind": "method",
2144
- "name": "toggleActionsMenuVisibility",
2145
+ "name": "handleSubmit",
2145
2146
  "inheritedFrom": {
2146
- "name": "ActionsMenu",
2147
- "module": "src/actions-menu/actions-menu.ts"
2147
+ "name": "AiCriteriaSearch",
2148
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2148
2149
  }
2149
2150
  },
2150
2151
  {
2151
2152
  "kind": "method",
2152
- "name": "onActionMenuItemClick",
2153
- "parameters": [
2154
- {
2155
- "name": "callback",
2156
- "type": {
2157
- "text": "(rowData) => void | any"
2158
- }
2159
- }
2160
- ],
2161
- "inheritedFrom": {
2162
- "name": "ActionsMenu",
2163
- "module": "src/actions-menu/actions-menu.ts"
2164
- }
2165
- },
2166
- {
2167
- "kind": "field",
2168
- "name": "allActions",
2169
- "type": {
2170
- "text": "ActionMenuItem[]"
2171
- },
2172
- "readonly": true,
2153
+ "name": "handleBlur",
2173
2154
  "inheritedFrom": {
2174
- "name": "ActionsMenu",
2175
- "module": "src/actions-menu/actions-menu.ts"
2155
+ "name": "AiCriteriaSearch",
2156
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2176
2157
  }
2177
2158
  },
2178
2159
  {
2179
- "kind": "field",
2180
- "name": "rowData",
2181
- "readonly": true,
2160
+ "kind": "method",
2161
+ "name": "clear",
2182
2162
  "inheritedFrom": {
2183
- "name": "ActionsMenu",
2184
- "module": "src/actions-menu/actions-menu.ts"
2163
+ "name": "AiCriteriaSearch",
2164
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2185
2165
  }
2186
2166
  },
2187
2167
  {
2188
2168
  "kind": "method",
2189
- "name": "getLabel",
2190
- "parameters": [
2191
- {
2192
- "name": "name",
2193
- "type": {
2194
- "text": "string | ((rowData: any) => string)"
2195
- }
2196
- }
2197
- ],
2169
+ "name": "toggleSpeechInput",
2198
2170
  "inheritedFrom": {
2199
- "name": "ActionsMenu",
2200
- "module": "src/actions-menu/actions-menu.ts"
2171
+ "name": "AiCriteriaSearch",
2172
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2201
2173
  }
2202
2174
  },
2203
2175
  {
2204
2176
  "kind": "method",
2205
- "name": "getTemplate",
2206
- "parameters": [
2207
- {
2208
- "name": "prefix",
2209
- "type": {
2210
- "text": "string"
2211
- }
2212
- }
2213
- ],
2177
+ "name": "clearSpeechApplyDebounce",
2178
+ "privacy": "private",
2214
2179
  "inheritedFrom": {
2215
- "name": "ActionsMenu",
2216
- "module": "src/actions-menu/actions-menu.ts"
2180
+ "name": "AiCriteriaSearch",
2181
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2217
2182
  }
2218
2183
  },
2219
2184
  {
@@ -2327,37 +2292,55 @@
2327
2292
  "module": "src/foundation-element/foundation-element.ts"
2328
2293
  }
2329
2294
  }
2295
+ ],
2296
+ "events": [
2297
+ {
2298
+ "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
2299
+ "name": "criteria-changed",
2300
+ "inheritedFrom": {
2301
+ "name": "AiCriteriaSearch",
2302
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2303
+ }
2304
+ },
2305
+ {
2306
+ "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
2307
+ "name": "validation-errors",
2308
+ "inheritedFrom": {
2309
+ "name": "AiCriteriaSearch",
2310
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2311
+ }
2312
+ }
2330
2313
  ]
2331
2314
  },
2332
2315
  {
2333
2316
  "kind": "variable",
2334
- "name": "zeroActionsMenu",
2335
- "description": "The Zero Actions Menu",
2317
+ "name": "zeroAiCriteriaSearch",
2318
+ "description": "The Zero AI Criteria Search",
2336
2319
  "privacy": "public"
2337
2320
  }
2338
2321
  ],
2339
2322
  "exports": [
2340
2323
  {
2341
2324
  "kind": "js",
2342
- "name": "ActionsMenu",
2325
+ "name": "AiCriteriaSearch",
2343
2326
  "declaration": {
2344
- "name": "ActionsMenu",
2345
- "module": "src/actions-menu/actions-menu.ts"
2327
+ "name": "AiCriteriaSearch",
2328
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2346
2329
  }
2347
2330
  },
2348
2331
  {
2349
2332
  "kind": "js",
2350
- "name": "zeroActionsMenu",
2333
+ "name": "zeroAiCriteriaSearch",
2351
2334
  "declaration": {
2352
- "name": "zeroActionsMenu",
2353
- "module": "src/actions-menu/actions-menu.ts"
2335
+ "name": "zeroAiCriteriaSearch",
2336
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2354
2337
  }
2355
2338
  }
2356
2339
  ]
2357
2340
  },
2358
2341
  {
2359
2342
  "kind": "javascript-module",
2360
- "path": "src/actions-menu/index.ts",
2343
+ "path": "src/ai-criteria-search/index.ts",
2361
2344
  "declarations": [],
2362
2345
  "exports": [
2363
2346
  {
@@ -2365,7 +2348,7 @@
2365
2348
  "name": "*",
2366
2349
  "declaration": {
2367
2350
  "name": "*",
2368
- "package": "./actions-menu"
2351
+ "package": "./ai-criteria-search"
2369
2352
  }
2370
2353
  },
2371
2354
  {
@@ -2373,53 +2356,40 @@
2373
2356
  "name": "*",
2374
2357
  "declaration": {
2375
2358
  "name": "*",
2376
- "package": "./actions-menu.styles"
2359
+ "package": "./ai-criteria-search.styles"
2377
2360
  }
2378
- }
2379
- ]
2380
- },
2381
- {
2382
- "kind": "javascript-module",
2383
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2384
- "declarations": [
2385
- {
2386
- "kind": "variable",
2387
- "name": "zeroAiCriteriaSearchStyles",
2388
- "default": "css`\n ${foundationAiCriteriaSearchStyles}\n`"
2389
- }
2390
- ],
2391
- "exports": [
2361
+ },
2392
2362
  {
2393
2363
  "kind": "js",
2394
- "name": "zeroAiCriteriaSearchStyles",
2364
+ "name": "*",
2395
2365
  "declaration": {
2396
- "name": "zeroAiCriteriaSearchStyles",
2397
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2366
+ "name": "*",
2367
+ "package": "./ai-criteria-search.template"
2398
2368
  }
2399
2369
  }
2400
2370
  ]
2401
2371
  },
2402
2372
  {
2403
2373
  "kind": "javascript-module",
2404
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2374
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
2405
2375
  "declarations": [
2406
2376
  {
2407
2377
  "kind": "function",
2408
- "name": "zeroAiCriteriaSearchTemplate",
2378
+ "name": "zeroAiIndicatorStyles",
2409
2379
  "return": {
2410
2380
  "type": {
2411
- "text": "ViewTemplate<AiCriteriaSearch>"
2381
+ "text": "ElementStyles"
2412
2382
  }
2413
2383
  },
2414
2384
  "parameters": [
2415
2385
  {
2416
- "name": "_context",
2386
+ "name": "context",
2417
2387
  "type": {
2418
2388
  "text": "ElementDefinitionContext"
2419
2389
  }
2420
2390
  },
2421
2391
  {
2422
- "name": "_definition",
2392
+ "name": "definition",
2423
2393
  "type": {
2424
2394
  "text": "FoundationElementDefinition"
2425
2395
  }
@@ -2430,52 +2400,28 @@
2430
2400
  "exports": [
2431
2401
  {
2432
2402
  "kind": "js",
2433
- "name": "zeroAiCriteriaSearchTemplate",
2403
+ "name": "zeroAiIndicatorStyles",
2434
2404
  "declaration": {
2435
- "name": "zeroAiCriteriaSearchTemplate",
2436
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2405
+ "name": "zeroAiIndicatorStyles",
2406
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
2437
2407
  }
2438
2408
  }
2439
2409
  ]
2440
2410
  },
2441
2411
  {
2442
2412
  "kind": "javascript-module",
2443
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
2413
+ "path": "src/ai-indicator/ai-indicator.ts",
2444
2414
  "declarations": [
2445
2415
  {
2446
2416
  "kind": "class",
2447
2417
  "description": "",
2448
- "name": "AiCriteriaSearch",
2418
+ "name": "AiIndicator",
2449
2419
  "superclass": {
2450
- "name": "FoundationAiCriteriaSearch",
2420
+ "name": "FoundationAiIndicator",
2451
2421
  "package": "@genesislcap/foundation-ui"
2452
2422
  },
2453
- "tagName": "%%prefix%%-ai-criteria-search",
2423
+ "tagName": "%%prefix%%-ai-indicator",
2454
2424
  "customElement": true,
2455
- "attributes": [
2456
- {
2457
- "name": "placeholder",
2458
- "type": {
2459
- "text": "string"
2460
- },
2461
- "default": "'Describe your search criteria in natural language...'",
2462
- "fieldName": "placeholder",
2463
- "inheritedFrom": {
2464
- "name": "AiCriteriaSearch",
2465
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2466
- }
2467
- },
2468
- {
2469
- "type": {
2470
- "text": "boolean"
2471
- },
2472
- "fieldName": "disabled",
2473
- "inheritedFrom": {
2474
- "name": "AiCriteriaSearch",
2475
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2476
- }
2477
- }
2478
- ],
2479
2425
  "members": [
2480
2426
  {
2481
2427
  "kind": "field",
@@ -2484,293 +2430,256 @@
2484
2430
  "text": "AIProviderRegistry"
2485
2431
  },
2486
2432
  "inheritedFrom": {
2487
- "name": "AiCriteriaSearch",
2488
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2489
- }
2490
- },
2491
- {
2492
- "kind": "field",
2493
- "name": "placeholder",
2494
- "type": {
2495
- "text": "string"
2496
- },
2497
- "default": "'Describe your search criteria in natural language...'",
2498
- "inheritedFrom": {
2499
- "name": "AiCriteriaSearch",
2500
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2501
- }
2502
- },
2503
- {
2504
- "kind": "field",
2505
- "name": "disabled",
2506
- "type": {
2507
- "text": "boolean"
2508
- },
2509
- "inheritedFrom": {
2510
- "name": "AiCriteriaSearch",
2511
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2512
- }
2513
- },
2514
- {
2515
- "kind": "field",
2516
- "name": "inputValue",
2517
- "type": {
2518
- "text": "string"
2519
- },
2520
- "default": "''",
2521
- "inheritedFrom": {
2522
- "name": "AiCriteriaSearch",
2523
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2433
+ "name": "AiIndicator",
2434
+ "module": "src/ai-indicator/ai-indicator.ts"
2524
2435
  }
2525
2436
  },
2526
2437
  {
2527
2438
  "kind": "field",
2528
- "name": "isInterpreting",
2439
+ "name": "aiProvider",
2529
2440
  "type": {
2530
- "text": "boolean"
2441
+ "text": "AIProvider | undefined"
2531
2442
  },
2532
- "default": "false",
2443
+ "privacy": "private",
2444
+ "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.",
2445
+ "readonly": true,
2533
2446
  "inheritedFrom": {
2534
- "name": "AiCriteriaSearch",
2535
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2447
+ "name": "AiIndicator",
2448
+ "module": "src/ai-indicator/ai-indicator.ts"
2536
2449
  }
2537
2450
  },
2538
2451
  {
2539
2452
  "kind": "field",
2540
- "name": "lastValidCriteria",
2453
+ "name": "status",
2541
2454
  "type": {
2542
- "text": "string | null"
2455
+ "text": "AIStatus | null"
2543
2456
  },
2544
2457
  "default": "null",
2545
2458
  "inheritedFrom": {
2546
- "name": "AiCriteriaSearch",
2547
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2548
- }
2549
- },
2550
- {
2551
- "kind": "field",
2552
- "name": "activeGroups",
2553
- "type": {
2554
- "text": "CriteriaGroup[]"
2555
- },
2556
- "default": "[]",
2557
- "inheritedFrom": {
2558
- "name": "AiCriteriaSearch",
2559
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2459
+ "name": "AiIndicator",
2460
+ "module": "src/ai-indicator/ai-indicator.ts"
2560
2461
  }
2561
2462
  },
2562
2463
  {
2563
2464
  "kind": "field",
2564
- "name": "showingChips",
2465
+ "name": "open",
2565
2466
  "type": {
2566
2467
  "text": "boolean"
2567
2468
  },
2568
2469
  "default": "false",
2569
2470
  "inheritedFrom": {
2570
- "name": "AiCriteriaSearch",
2571
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2471
+ "name": "AiIndicator",
2472
+ "module": "src/ai-indicator/ai-indicator.ts"
2572
2473
  }
2573
2474
  },
2574
2475
  {
2575
2476
  "kind": "field",
2576
- "name": "fieldMetadata",
2477
+ "name": "state",
2577
2478
  "type": {
2578
- "text": "MetadataDetail[] | string[]"
2479
+ "text": "AIIndicatorState"
2579
2480
  },
2580
- "default": "[]",
2481
+ "default": "'none'",
2581
2482
  "inheritedFrom": {
2582
- "name": "AiCriteriaSearch",
2583
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2483
+ "name": "AiIndicator",
2484
+ "module": "src/ai-indicator/ai-indicator.ts"
2584
2485
  }
2585
2486
  },
2586
2487
  {
2587
2488
  "kind": "field",
2588
- "name": "isRecording",
2489
+ "name": "isInstalling",
2589
2490
  "type": {
2590
2491
  "text": "boolean"
2591
2492
  },
2592
2493
  "default": "false",
2593
2494
  "inheritedFrom": {
2594
- "name": "AiCriteriaSearch",
2595
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2495
+ "name": "AiIndicator",
2496
+ "module": "src/ai-indicator/ai-indicator.ts"
2596
2497
  }
2597
2498
  },
2598
2499
  {
2599
2500
  "kind": "field",
2600
- "name": "textAreaRef",
2501
+ "name": "pollTimer",
2601
2502
  "type": {
2602
- "text": "HTMLTextAreaElement"
2503
+ "text": "ReturnType<typeof setInterval> | null"
2603
2504
  },
2604
- "privacy": "public",
2505
+ "privacy": "private",
2506
+ "default": "null",
2605
2507
  "inheritedFrom": {
2606
- "name": "AiCriteriaSearch",
2607
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2508
+ "name": "AiIndicator",
2509
+ "module": "src/ai-indicator/ai-indicator.ts"
2608
2510
  }
2609
2511
  },
2610
2512
  {
2611
2513
  "kind": "field",
2612
- "name": "stopRecording",
2613
- "type": {
2614
- "text": "(() => void) | null"
2615
- },
2514
+ "name": "clickOutside",
2616
2515
  "privacy": "private",
2617
- "default": "null",
2618
2516
  "inheritedFrom": {
2619
- "name": "AiCriteriaSearch",
2620
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2517
+ "name": "AiIndicator",
2518
+ "module": "src/ai-indicator/ai-indicator.ts"
2621
2519
  }
2622
2520
  },
2623
2521
  {
2624
2522
  "kind": "field",
2625
- "name": "speechApplyDebounceTimer",
2523
+ "name": "chromeStatusLabel",
2626
2524
  "type": {
2627
- "text": "ReturnType<typeof setTimeout> | null"
2525
+ "text": "string | null"
2628
2526
  },
2629
- "privacy": "private",
2630
- "default": "null",
2527
+ "readonly": true,
2631
2528
  "inheritedFrom": {
2632
- "name": "AiCriteriaSearch",
2633
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2529
+ "name": "AiIndicator",
2530
+ "module": "src/ai-indicator/ai-indicator.ts"
2634
2531
  }
2635
2532
  },
2636
2533
  {
2637
2534
  "kind": "field",
2638
- "name": "speechAvailable",
2535
+ "name": "canInstall",
2639
2536
  "type": {
2640
2537
  "text": "boolean"
2641
2538
  },
2642
2539
  "readonly": true,
2643
2540
  "inheritedFrom": {
2644
- "name": "AiCriteriaSearch",
2645
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2541
+ "name": "AiIndicator",
2542
+ "module": "src/ai-indicator/ai-indicator.ts"
2646
2543
  }
2647
2544
  },
2648
2545
  {
2649
2546
  "kind": "field",
2650
- "name": "criteriaChips",
2547
+ "name": "isDownloading",
2651
2548
  "type": {
2652
- "text": "CriteriaChip[]"
2549
+ "text": "boolean"
2653
2550
  },
2654
2551
  "readonly": true,
2655
2552
  "inheritedFrom": {
2656
- "name": "AiCriteriaSearch",
2657
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2553
+ "name": "AiIndicator",
2554
+ "module": "src/ai-indicator/ai-indicator.ts"
2658
2555
  }
2659
2556
  },
2660
2557
  {
2661
2558
  "kind": "method",
2662
- "name": "getFieldLabel",
2663
- "privacy": "private",
2559
+ "name": "openChanged",
2664
2560
  "return": {
2665
2561
  "type": {
2666
- "text": "string"
2562
+ "text": "void"
2667
2563
  }
2668
2564
  },
2565
+ "inheritedFrom": {
2566
+ "name": "AiIndicator",
2567
+ "module": "src/ai-indicator/ai-indicator.ts"
2568
+ }
2569
+ },
2570
+ {
2571
+ "kind": "method",
2572
+ "name": "handleClickOutside",
2573
+ "privacy": "private",
2669
2574
  "parameters": [
2670
2575
  {
2671
- "name": "fieldName",
2576
+ "name": "event",
2672
2577
  "type": {
2673
- "text": "string"
2578
+ "text": "MouseEvent"
2674
2579
  }
2675
2580
  }
2676
2581
  ],
2677
2582
  "inheritedFrom": {
2678
- "name": "AiCriteriaSearch",
2679
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2583
+ "name": "AiIndicator",
2584
+ "module": "src/ai-indicator/ai-indicator.ts"
2680
2585
  }
2681
2586
  },
2682
2587
  {
2683
2588
  "kind": "method",
2684
- "name": "toggleCriteriaView",
2589
+ "name": "toggleDropdown",
2590
+ "inheritedFrom": {
2591
+ "name": "AiIndicator",
2592
+ "module": "src/ai-indicator/ai-indicator.ts"
2593
+ }
2594
+ },
2595
+ {
2596
+ "kind": "method",
2597
+ "name": "refreshStatus",
2685
2598
  "return": {
2686
2599
  "type": {
2687
- "text": "void"
2600
+ "text": "Promise<void>"
2688
2601
  }
2689
2602
  },
2690
2603
  "inheritedFrom": {
2691
- "name": "AiCriteriaSearch",
2692
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2604
+ "name": "AiIndicator",
2605
+ "module": "src/ai-indicator/ai-indicator.ts"
2693
2606
  }
2694
2607
  },
2695
2608
  {
2696
2609
  "kind": "method",
2697
- "name": "removeChip",
2610
+ "name": "deriveState",
2611
+ "privacy": "private",
2698
2612
  "return": {
2699
2613
  "type": {
2700
- "text": "void"
2614
+ "text": "AIIndicatorState"
2701
2615
  }
2702
2616
  },
2703
2617
  "parameters": [
2704
2618
  {
2705
- "name": "groupIndex",
2706
- "type": {
2707
- "text": "number"
2708
- }
2709
- },
2710
- {
2711
- "name": "clauseIndex",
2619
+ "name": "s",
2712
2620
  "type": {
2713
- "text": "number"
2621
+ "text": "AIStatus | null"
2714
2622
  }
2715
2623
  }
2716
2624
  ],
2717
2625
  "inheritedFrom": {
2718
- "name": "AiCriteriaSearch",
2719
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2626
+ "name": "AiIndicator",
2627
+ "module": "src/ai-indicator/ai-indicator.ts"
2720
2628
  }
2721
2629
  },
2722
2630
  {
2723
2631
  "kind": "method",
2724
- "name": "clearChips",
2632
+ "name": "maybeStartPolling",
2633
+ "privacy": "private",
2725
2634
  "return": {
2726
2635
  "type": {
2727
2636
  "text": "void"
2728
2637
  }
2729
2638
  },
2730
- "inheritedFrom": {
2731
- "name": "AiCriteriaSearch",
2732
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2733
- }
2734
- },
2735
- {
2736
- "kind": "method",
2737
- "name": "handleSubmit",
2738
- "inheritedFrom": {
2739
- "name": "AiCriteriaSearch",
2740
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2741
- }
2742
- },
2743
- {
2744
- "kind": "method",
2745
- "name": "handleBlur",
2746
- "inheritedFrom": {
2747
- "name": "AiCriteriaSearch",
2748
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2639
+ "inheritedFrom": {
2640
+ "name": "AiIndicator",
2641
+ "module": "src/ai-indicator/ai-indicator.ts"
2749
2642
  }
2750
2643
  },
2751
2644
  {
2752
2645
  "kind": "method",
2753
- "name": "clear",
2646
+ "name": "startPolling",
2647
+ "privacy": "private",
2648
+ "return": {
2649
+ "type": {
2650
+ "text": "void"
2651
+ }
2652
+ },
2754
2653
  "inheritedFrom": {
2755
- "name": "AiCriteriaSearch",
2756
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2654
+ "name": "AiIndicator",
2655
+ "module": "src/ai-indicator/ai-indicator.ts"
2757
2656
  }
2758
2657
  },
2759
2658
  {
2760
2659
  "kind": "method",
2761
- "name": "toggleSpeechInput",
2660
+ "name": "stopPolling",
2661
+ "privacy": "private",
2662
+ "return": {
2663
+ "type": {
2664
+ "text": "void"
2665
+ }
2666
+ },
2762
2667
  "inheritedFrom": {
2763
- "name": "AiCriteriaSearch",
2764
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2668
+ "name": "AiIndicator",
2669
+ "module": "src/ai-indicator/ai-indicator.ts"
2765
2670
  }
2766
2671
  },
2767
2672
  {
2768
2673
  "kind": "method",
2769
- "name": "clearSpeechApplyDebounce",
2770
- "privacy": "private",
2674
+ "name": "onInstall",
2675
+ "return": {
2676
+ "type": {
2677
+ "text": "Promise<void>"
2678
+ }
2679
+ },
2771
2680
  "inheritedFrom": {
2772
- "name": "AiCriteriaSearch",
2773
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2681
+ "name": "AiIndicator",
2682
+ "module": "src/ai-indicator/ai-indicator.ts"
2774
2683
  }
2775
2684
  },
2776
2685
  {
@@ -2884,90 +2793,62 @@
2884
2793
  "module": "src/foundation-element/foundation-element.ts"
2885
2794
  }
2886
2795
  }
2887
- ],
2888
- "events": [
2889
- {
2890
- "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
2891
- "name": "criteria-changed",
2892
- "inheritedFrom": {
2893
- "name": "AiCriteriaSearch",
2894
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2895
- }
2896
- },
2897
- {
2898
- "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
2899
- "name": "validation-errors",
2900
- "inheritedFrom": {
2901
- "name": "AiCriteriaSearch",
2902
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2903
- }
2904
- }
2905
2796
  ]
2906
2797
  },
2907
2798
  {
2908
2799
  "kind": "variable",
2909
- "name": "zeroAiCriteriaSearch",
2910
- "description": "The Zero AI Criteria Search",
2911
- "privacy": "public"
2800
+ "name": "zeroAiIndicator"
2912
2801
  }
2913
2802
  ],
2914
2803
  "exports": [
2915
2804
  {
2916
2805
  "kind": "js",
2917
- "name": "AiCriteriaSearch",
2806
+ "name": "AiIndicator",
2918
2807
  "declaration": {
2919
- "name": "AiCriteriaSearch",
2920
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2808
+ "name": "AiIndicator",
2809
+ "module": "src/ai-indicator/ai-indicator.ts"
2921
2810
  }
2922
2811
  },
2923
2812
  {
2924
2813
  "kind": "js",
2925
- "name": "zeroAiCriteriaSearch",
2814
+ "name": "zeroAiIndicator",
2926
2815
  "declaration": {
2927
- "name": "zeroAiCriteriaSearch",
2928
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2816
+ "name": "zeroAiIndicator",
2817
+ "module": "src/ai-indicator/ai-indicator.ts"
2929
2818
  }
2930
2819
  }
2931
2820
  ]
2932
2821
  },
2933
2822
  {
2934
2823
  "kind": "javascript-module",
2935
- "path": "src/ai-criteria-search/index.ts",
2824
+ "path": "src/ai-indicator/index.ts",
2936
2825
  "declarations": [],
2937
2826
  "exports": [
2938
2827
  {
2939
2828
  "kind": "js",
2940
- "name": "*",
2941
- "declaration": {
2942
- "name": "*",
2943
- "package": "./ai-criteria-search"
2944
- }
2945
- },
2946
- {
2947
- "kind": "js",
2948
- "name": "*",
2829
+ "name": "AiIndicator",
2949
2830
  "declaration": {
2950
- "name": "*",
2951
- "package": "./ai-criteria-search.styles"
2831
+ "name": "AiIndicator",
2832
+ "module": "./ai-indicator"
2952
2833
  }
2953
2834
  },
2954
2835
  {
2955
2836
  "kind": "js",
2956
- "name": "*",
2837
+ "name": "zeroAiIndicator",
2957
2838
  "declaration": {
2958
- "name": "*",
2959
- "package": "./ai-criteria-search.template"
2839
+ "name": "zeroAiIndicator",
2840
+ "module": "./ai-indicator"
2960
2841
  }
2961
2842
  }
2962
2843
  ]
2963
2844
  },
2964
2845
  {
2965
2846
  "kind": "javascript-module",
2966
- "path": "src/ai-indicator/ai-indicator.styles.ts",
2847
+ "path": "src/actions-menu/actions-menu.styles.ts",
2967
2848
  "declarations": [
2968
2849
  {
2969
2850
  "kind": "function",
2970
- "name": "zeroAiIndicatorStyles",
2851
+ "name": "zeroActionsMenuStyles",
2971
2852
  "return": {
2972
2853
  "type": {
2973
2854
  "text": "ElementStyles"
@@ -2992,64 +2873,205 @@
2992
2873
  "exports": [
2993
2874
  {
2994
2875
  "kind": "js",
2995
- "name": "zeroAiIndicatorStyles",
2876
+ "name": "zeroActionsMenuStyles",
2996
2877
  "declaration": {
2997
- "name": "zeroAiIndicatorStyles",
2998
- "module": "src/ai-indicator/ai-indicator.styles.ts"
2878
+ "name": "zeroActionsMenuStyles",
2879
+ "module": "src/actions-menu/actions-menu.styles.ts"
2999
2880
  }
3000
2881
  }
3001
2882
  ]
3002
2883
  },
3003
2884
  {
3004
2885
  "kind": "javascript-module",
3005
- "path": "src/ai-indicator/ai-indicator.ts",
2886
+ "path": "src/actions-menu/actions-menu.ts",
3006
2887
  "declarations": [
3007
2888
  {
3008
2889
  "kind": "class",
3009
2890
  "description": "",
3010
- "name": "AiIndicator",
2891
+ "name": "ActionsMenu",
3011
2892
  "superclass": {
3012
- "name": "FoundationAiIndicator",
2893
+ "name": "FoundationActionsMenu",
3013
2894
  "package": "@genesislcap/foundation-ui"
3014
2895
  },
3015
- "tagName": "%%prefix%%-ai-indicator",
2896
+ "tagName": "%%prefix%%-actions-menu",
3016
2897
  "customElement": true,
2898
+ "attributes": [
2899
+ {
2900
+ "name": "is-vertical",
2901
+ "type": {
2902
+ "text": "boolean"
2903
+ },
2904
+ "default": "false",
2905
+ "fieldName": "isVertical",
2906
+ "inheritedFrom": {
2907
+ "name": "ActionsMenu",
2908
+ "module": "src/actions-menu/actions-menu.ts"
2909
+ }
2910
+ },
2911
+ {
2912
+ "name": "add-default-actions",
2913
+ "type": {
2914
+ "text": "boolean"
2915
+ },
2916
+ "default": "true",
2917
+ "fieldName": "addDefaultActions",
2918
+ "inheritedFrom": {
2919
+ "name": "ActionsMenu",
2920
+ "module": "src/actions-menu/actions-menu.ts"
2921
+ }
2922
+ },
2923
+ {
2924
+ "name": "auto-close-on-action",
2925
+ "type": {
2926
+ "text": "boolean"
2927
+ },
2928
+ "default": "true",
2929
+ "fieldName": "autoCloseOnAction",
2930
+ "inheritedFrom": {
2931
+ "name": "ActionsMenu",
2932
+ "module": "src/actions-menu/actions-menu.ts"
2933
+ }
2934
+ },
2935
+ {
2936
+ "name": "name",
2937
+ "type": {
2938
+ "text": "string"
2939
+ },
2940
+ "default": "'Actions'",
2941
+ "fieldName": "name",
2942
+ "inheritedFrom": {
2943
+ "name": "ActionsMenu",
2944
+ "module": "src/actions-menu/actions-menu.ts"
2945
+ }
2946
+ },
2947
+ {
2948
+ "name": "open",
2949
+ "type": {
2950
+ "text": "boolean"
2951
+ },
2952
+ "default": "false",
2953
+ "fieldName": "open",
2954
+ "inheritedFrom": {
2955
+ "name": "ActionsMenu",
2956
+ "module": "src/actions-menu/actions-menu.ts"
2957
+ }
2958
+ },
2959
+ {
2960
+ "name": "buttonAppearance",
2961
+ "type": {
2962
+ "text": "string"
2963
+ },
2964
+ "fieldName": "buttonAppearance",
2965
+ "inheritedFrom": {
2966
+ "name": "ActionsMenu",
2967
+ "module": "src/actions-menu/actions-menu.ts"
2968
+ }
2969
+ },
2970
+ {
2971
+ "name": "hide-disabled",
2972
+ "type": {
2973
+ "text": "boolean"
2974
+ },
2975
+ "default": "false",
2976
+ "fieldName": "hideDisabled",
2977
+ "inheritedFrom": {
2978
+ "name": "ActionsMenu",
2979
+ "module": "src/actions-menu/actions-menu.ts"
2980
+ }
2981
+ },
2982
+ {
2983
+ "name": "hide-menu-single-option",
2984
+ "type": {
2985
+ "text": "boolean"
2986
+ },
2987
+ "default": "false",
2988
+ "fieldName": "hideMenuSingleOption",
2989
+ "inheritedFrom": {
2990
+ "name": "ActionsMenu",
2991
+ "module": "src/actions-menu/actions-menu.ts"
2992
+ }
2993
+ }
2994
+ ],
3017
2995
  "members": [
3018
2996
  {
3019
2997
  "kind": "field",
3020
- "name": "providerRegistry",
2998
+ "name": "actions",
2999
+ "type": {
3000
+ "text": "ActionMenuItem[]"
3001
+ },
3002
+ "inheritedFrom": {
3003
+ "name": "ActionsMenu",
3004
+ "module": "src/actions-menu/actions-menu.ts"
3005
+ }
3006
+ },
3007
+ {
3008
+ "kind": "field",
3009
+ "name": "isVertical",
3010
+ "type": {
3011
+ "text": "boolean"
3012
+ },
3013
+ "default": "false",
3014
+ "inheritedFrom": {
3015
+ "name": "ActionsMenu",
3016
+ "module": "src/actions-menu/actions-menu.ts"
3017
+ }
3018
+ },
3019
+ {
3020
+ "kind": "field",
3021
+ "name": "addDefaultActions",
3022
+ "type": {
3023
+ "text": "boolean"
3024
+ },
3025
+ "default": "true",
3026
+ "inheritedFrom": {
3027
+ "name": "ActionsMenu",
3028
+ "module": "src/actions-menu/actions-menu.ts"
3029
+ }
3030
+ },
3031
+ {
3032
+ "kind": "field",
3033
+ "name": "autoCloseOnAction",
3034
+ "type": {
3035
+ "text": "boolean"
3036
+ },
3037
+ "default": "true",
3038
+ "inheritedFrom": {
3039
+ "name": "ActionsMenu",
3040
+ "module": "src/actions-menu/actions-menu.ts"
3041
+ }
3042
+ },
3043
+ {
3044
+ "kind": "field",
3045
+ "name": "classNames",
3021
3046
  "type": {
3022
- "text": "AIProviderRegistry"
3047
+ "text": "string"
3023
3048
  },
3024
3049
  "inheritedFrom": {
3025
- "name": "AiIndicator",
3026
- "module": "src/ai-indicator/ai-indicator.ts"
3050
+ "name": "ActionsMenu",
3051
+ "module": "src/actions-menu/actions-menu.ts"
3027
3052
  }
3028
3053
  },
3029
3054
  {
3030
3055
  "kind": "field",
3031
- "name": "aiProvider",
3056
+ "name": "definition",
3032
3057
  "type": {
3033
- "text": "AIProvider | undefined"
3058
+ "text": "any"
3034
3059
  },
3035
- "privacy": "private",
3036
- "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.",
3037
- "readonly": true,
3038
3060
  "inheritedFrom": {
3039
- "name": "AiIndicator",
3040
- "module": "src/ai-indicator/ai-indicator.ts"
3061
+ "name": "ActionsMenu",
3062
+ "module": "src/actions-menu/actions-menu.ts"
3041
3063
  }
3042
3064
  },
3043
3065
  {
3044
3066
  "kind": "field",
3045
- "name": "status",
3067
+ "name": "name",
3046
3068
  "type": {
3047
- "text": "AIStatus | null"
3069
+ "text": "string"
3048
3070
  },
3049
- "default": "null",
3071
+ "default": "'Actions'",
3050
3072
  "inheritedFrom": {
3051
- "name": "AiIndicator",
3052
- "module": "src/ai-indicator/ai-indicator.ts"
3073
+ "name": "ActionsMenu",
3074
+ "module": "src/actions-menu/actions-menu.ts"
3053
3075
  }
3054
3076
  },
3055
3077
  {
@@ -3060,218 +3082,194 @@
3060
3082
  },
3061
3083
  "default": "false",
3062
3084
  "inheritedFrom": {
3063
- "name": "AiIndicator",
3064
- "module": "src/ai-indicator/ai-indicator.ts"
3085
+ "name": "ActionsMenu",
3086
+ "module": "src/actions-menu/actions-menu.ts"
3065
3087
  }
3066
3088
  },
3067
3089
  {
3068
3090
  "kind": "field",
3069
- "name": "state",
3091
+ "name": "buttonAppearance",
3070
3092
  "type": {
3071
- "text": "AIIndicatorState"
3093
+ "text": "string"
3072
3094
  },
3073
- "default": "'none'",
3074
3095
  "inheritedFrom": {
3075
- "name": "AiIndicator",
3076
- "module": "src/ai-indicator/ai-indicator.ts"
3096
+ "name": "ActionsMenu",
3097
+ "module": "src/actions-menu/actions-menu.ts"
3077
3098
  }
3078
3099
  },
3079
3100
  {
3080
3101
  "kind": "field",
3081
- "name": "isInstalling",
3102
+ "name": "hideDisabled",
3082
3103
  "type": {
3083
3104
  "text": "boolean"
3084
3105
  },
3085
3106
  "default": "false",
3086
3107
  "inheritedFrom": {
3087
- "name": "AiIndicator",
3088
- "module": "src/ai-indicator/ai-indicator.ts"
3108
+ "name": "ActionsMenu",
3109
+ "module": "src/actions-menu/actions-menu.ts"
3089
3110
  }
3090
3111
  },
3091
3112
  {
3092
3113
  "kind": "field",
3093
- "name": "pollTimer",
3114
+ "name": "hideMenuSingleOption",
3094
3115
  "type": {
3095
- "text": "ReturnType<typeof setInterval> | null"
3116
+ "text": "boolean"
3096
3117
  },
3097
- "privacy": "private",
3098
- "default": "null",
3099
- "inheritedFrom": {
3100
- "name": "AiIndicator",
3101
- "module": "src/ai-indicator/ai-indicator.ts"
3102
- }
3103
- },
3104
- {
3105
- "kind": "field",
3106
- "name": "clickOutside",
3107
- "privacy": "private",
3118
+ "default": "false",
3108
3119
  "inheritedFrom": {
3109
- "name": "AiIndicator",
3110
- "module": "src/ai-indicator/ai-indicator.ts"
3120
+ "name": "ActionsMenu",
3121
+ "module": "src/actions-menu/actions-menu.ts"
3111
3122
  }
3112
3123
  },
3113
3124
  {
3114
3125
  "kind": "field",
3115
- "name": "chromeStatusLabel",
3126
+ "name": "singleOption",
3116
3127
  "type": {
3117
- "text": "string | null"
3128
+ "text": "ActionMenuItem"
3118
3129
  },
3119
- "readonly": true,
3120
3130
  "inheritedFrom": {
3121
- "name": "AiIndicator",
3122
- "module": "src/ai-indicator/ai-indicator.ts"
3131
+ "name": "ActionsMenu",
3132
+ "module": "src/actions-menu/actions-menu.ts"
3123
3133
  }
3124
3134
  },
3125
3135
  {
3126
3136
  "kind": "field",
3127
- "name": "canInstall",
3137
+ "name": "actionsMenu",
3128
3138
  "type": {
3129
- "text": "boolean"
3139
+ "text": "HTMLElement"
3130
3140
  },
3131
- "readonly": true,
3132
3141
  "inheritedFrom": {
3133
- "name": "AiIndicator",
3134
- "module": "src/ai-indicator/ai-indicator.ts"
3142
+ "name": "ActionsMenu",
3143
+ "module": "src/actions-menu/actions-menu.ts"
3135
3144
  }
3136
3145
  },
3137
3146
  {
3138
3147
  "kind": "field",
3139
- "name": "isDownloading",
3148
+ "name": "actionsOpener",
3140
3149
  "type": {
3141
- "text": "boolean"
3150
+ "text": "HTMLElement"
3142
3151
  },
3143
- "readonly": true,
3144
3152
  "inheritedFrom": {
3145
- "name": "AiIndicator",
3146
- "module": "src/ai-indicator/ai-indicator.ts"
3153
+ "name": "ActionsMenu",
3154
+ "module": "src/actions-menu/actions-menu.ts"
3147
3155
  }
3148
3156
  },
3149
3157
  {
3150
3158
  "kind": "method",
3151
- "name": "openChanged",
3152
- "return": {
3153
- "type": {
3154
- "text": "void"
3155
- }
3156
- },
3159
+ "name": "updateMenuPosition",
3160
+ "privacy": "private",
3157
3161
  "inheritedFrom": {
3158
- "name": "AiIndicator",
3159
- "module": "src/ai-indicator/ai-indicator.ts"
3162
+ "name": "ActionsMenu",
3163
+ "module": "src/actions-menu/actions-menu.ts"
3160
3164
  }
3161
3165
  },
3162
3166
  {
3163
3167
  "kind": "method",
3164
- "name": "handleClickOutside",
3165
- "privacy": "private",
3168
+ "name": "definitionChanged",
3169
+ "privacy": "protected",
3166
3170
  "parameters": [
3167
3171
  {
3168
- "name": "event",
3172
+ "name": "oldValue",
3169
3173
  "type": {
3170
- "text": "MouseEvent"
3174
+ "text": "any"
3175
+ }
3176
+ },
3177
+ {
3178
+ "name": "newValue",
3179
+ "type": {
3180
+ "text": "any"
3171
3181
  }
3172
3182
  }
3173
3183
  ],
3174
3184
  "inheritedFrom": {
3175
- "name": "AiIndicator",
3176
- "module": "src/ai-indicator/ai-indicator.ts"
3185
+ "name": "ActionsMenu",
3186
+ "module": "src/actions-menu/actions-menu.ts"
3177
3187
  }
3178
3188
  },
3179
3189
  {
3180
3190
  "kind": "method",
3181
- "name": "toggleDropdown",
3191
+ "name": "openChanged",
3192
+ "privacy": "protected",
3182
3193
  "inheritedFrom": {
3183
- "name": "AiIndicator",
3184
- "module": "src/ai-indicator/ai-indicator.ts"
3194
+ "name": "ActionsMenu",
3195
+ "module": "src/actions-menu/actions-menu.ts"
3185
3196
  }
3186
3197
  },
3187
3198
  {
3188
3199
  "kind": "method",
3189
- "name": "refreshStatus",
3190
- "return": {
3191
- "type": {
3192
- "text": "Promise<void>"
3193
- }
3194
- },
3200
+ "name": "toggleActionsMenuVisibility",
3195
3201
  "inheritedFrom": {
3196
- "name": "AiIndicator",
3197
- "module": "src/ai-indicator/ai-indicator.ts"
3202
+ "name": "ActionsMenu",
3203
+ "module": "src/actions-menu/actions-menu.ts"
3198
3204
  }
3199
3205
  },
3200
3206
  {
3201
3207
  "kind": "method",
3202
- "name": "deriveState",
3203
- "privacy": "private",
3204
- "return": {
3205
- "type": {
3206
- "text": "AIIndicatorState"
3207
- }
3208
- },
3208
+ "name": "onActionMenuItemClick",
3209
3209
  "parameters": [
3210
3210
  {
3211
- "name": "s",
3211
+ "name": "callback",
3212
3212
  "type": {
3213
- "text": "AIStatus | null"
3213
+ "text": "(rowData) => void | any"
3214
3214
  }
3215
3215
  }
3216
3216
  ],
3217
3217
  "inheritedFrom": {
3218
- "name": "AiIndicator",
3219
- "module": "src/ai-indicator/ai-indicator.ts"
3218
+ "name": "ActionsMenu",
3219
+ "module": "src/actions-menu/actions-menu.ts"
3220
3220
  }
3221
3221
  },
3222
3222
  {
3223
- "kind": "method",
3224
- "name": "maybeStartPolling",
3225
- "privacy": "private",
3226
- "return": {
3227
- "type": {
3228
- "text": "void"
3229
- }
3223
+ "kind": "field",
3224
+ "name": "allActions",
3225
+ "type": {
3226
+ "text": "ActionMenuItem[]"
3230
3227
  },
3228
+ "readonly": true,
3231
3229
  "inheritedFrom": {
3232
- "name": "AiIndicator",
3233
- "module": "src/ai-indicator/ai-indicator.ts"
3230
+ "name": "ActionsMenu",
3231
+ "module": "src/actions-menu/actions-menu.ts"
3234
3232
  }
3235
3233
  },
3236
3234
  {
3237
- "kind": "method",
3238
- "name": "startPolling",
3239
- "privacy": "private",
3240
- "return": {
3241
- "type": {
3242
- "text": "void"
3243
- }
3244
- },
3235
+ "kind": "field",
3236
+ "name": "rowData",
3237
+ "readonly": true,
3245
3238
  "inheritedFrom": {
3246
- "name": "AiIndicator",
3247
- "module": "src/ai-indicator/ai-indicator.ts"
3239
+ "name": "ActionsMenu",
3240
+ "module": "src/actions-menu/actions-menu.ts"
3248
3241
  }
3249
3242
  },
3250
3243
  {
3251
3244
  "kind": "method",
3252
- "name": "stopPolling",
3253
- "privacy": "private",
3254
- "return": {
3255
- "type": {
3256
- "text": "void"
3245
+ "name": "getLabel",
3246
+ "parameters": [
3247
+ {
3248
+ "name": "name",
3249
+ "type": {
3250
+ "text": "string | ((rowData: any) => string)"
3251
+ }
3257
3252
  }
3258
- },
3253
+ ],
3259
3254
  "inheritedFrom": {
3260
- "name": "AiIndicator",
3261
- "module": "src/ai-indicator/ai-indicator.ts"
3255
+ "name": "ActionsMenu",
3256
+ "module": "src/actions-menu/actions-menu.ts"
3262
3257
  }
3263
3258
  },
3264
3259
  {
3265
3260
  "kind": "method",
3266
- "name": "onInstall",
3267
- "return": {
3268
- "type": {
3269
- "text": "Promise<void>"
3261
+ "name": "getTemplate",
3262
+ "parameters": [
3263
+ {
3264
+ "name": "prefix",
3265
+ "type": {
3266
+ "text": "string"
3267
+ }
3270
3268
  }
3271
- },
3269
+ ],
3272
3270
  "inheritedFrom": {
3273
- "name": "AiIndicator",
3274
- "module": "src/ai-indicator/ai-indicator.ts"
3271
+ "name": "ActionsMenu",
3272
+ "module": "src/actions-menu/actions-menu.ts"
3275
3273
  }
3276
3274
  },
3277
3275
  {
@@ -3389,47 +3387,49 @@
3389
3387
  },
3390
3388
  {
3391
3389
  "kind": "variable",
3392
- "name": "zeroAiIndicator"
3390
+ "name": "zeroActionsMenu",
3391
+ "description": "The Zero Actions Menu",
3392
+ "privacy": "public"
3393
3393
  }
3394
3394
  ],
3395
3395
  "exports": [
3396
3396
  {
3397
3397
  "kind": "js",
3398
- "name": "AiIndicator",
3398
+ "name": "ActionsMenu",
3399
3399
  "declaration": {
3400
- "name": "AiIndicator",
3401
- "module": "src/ai-indicator/ai-indicator.ts"
3400
+ "name": "ActionsMenu",
3401
+ "module": "src/actions-menu/actions-menu.ts"
3402
3402
  }
3403
3403
  },
3404
3404
  {
3405
3405
  "kind": "js",
3406
- "name": "zeroAiIndicator",
3406
+ "name": "zeroActionsMenu",
3407
3407
  "declaration": {
3408
- "name": "zeroAiIndicator",
3409
- "module": "src/ai-indicator/ai-indicator.ts"
3408
+ "name": "zeroActionsMenu",
3409
+ "module": "src/actions-menu/actions-menu.ts"
3410
3410
  }
3411
3411
  }
3412
3412
  ]
3413
3413
  },
3414
3414
  {
3415
3415
  "kind": "javascript-module",
3416
- "path": "src/ai-indicator/index.ts",
3416
+ "path": "src/actions-menu/index.ts",
3417
3417
  "declarations": [],
3418
3418
  "exports": [
3419
3419
  {
3420
3420
  "kind": "js",
3421
- "name": "AiIndicator",
3421
+ "name": "*",
3422
3422
  "declaration": {
3423
- "name": "AiIndicator",
3424
- "module": "./ai-indicator"
3423
+ "name": "*",
3424
+ "package": "./actions-menu"
3425
3425
  }
3426
3426
  },
3427
3427
  {
3428
3428
  "kind": "js",
3429
- "name": "zeroAiIndicator",
3429
+ "name": "*",
3430
3430
  "declaration": {
3431
- "name": "zeroAiIndicator",
3432
- "module": "./ai-indicator"
3431
+ "name": "*",
3432
+ "package": "./actions-menu.styles"
3433
3433
  }
3434
3434
  }
3435
3435
  ]