@genesislcap/foundation-ui 14.402.0 → 14.402.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.
Files changed (2) hide show
  1. package/dist/custom-elements.json +774 -774
  2. package/package.json +19 -19
@@ -926,186 +926,160 @@
926
926
  },
927
927
  {
928
928
  "kind": "javascript-module",
929
- "path": "src/accordion-item/accordion-item.styles.ts",
929
+ "path": "src/_common/base-file-component.ts",
930
930
  "declarations": [
931
931
  {
932
- "kind": "function",
933
- "name": "foundationAccordionItemStyles",
934
- "return": {
935
- "type": {
936
- "text": "ElementStyles"
937
- }
938
- },
939
- "parameters": [
932
+ "kind": "class",
933
+ "description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
934
+ "name": "BaseFileComponent",
935
+ "members": [
940
936
  {
941
- "name": "context",
937
+ "kind": "field",
938
+ "name": "fileInput",
942
939
  "type": {
943
- "text": "ElementDefinitionContext"
944
- }
940
+ "text": "HTMLInputElement"
941
+ },
942
+ "privacy": "public"
945
943
  },
946
944
  {
947
- "name": "definition",
948
- "type": {
949
- "text": "FoundationElementDefinition"
950
- }
951
- }
952
- ]
953
- }
954
- ],
955
- "exports": [
956
- {
957
- "kind": "js",
958
- "name": "foundationAccordionItemStyles",
959
- "declaration": {
960
- "name": "foundationAccordionItemStyles",
961
- "module": "src/accordion-item/accordion-item.styles.ts"
962
- }
963
- }
964
- ]
965
- },
966
- {
967
- "kind": "javascript-module",
968
- "path": "src/accordion-item/accordion-item.template.ts",
969
- "declarations": [
970
- {
971
- "kind": "function",
972
- "name": "foundationAccordionItemTemplate",
973
- "return": {
974
- "type": {
975
- "text": "ViewTemplate<AccordionItem>"
976
- }
977
- },
978
- "parameters": [
979
- {
980
- "name": "context",
945
+ "kind": "field",
946
+ "name": "selectedFile",
981
947
  "type": {
982
- "text": "ElementDefinitionContext"
983
- }
948
+ "text": "File | null"
949
+ },
950
+ "privacy": "protected",
951
+ "default": "null"
984
952
  },
985
953
  {
986
- "name": "definition",
954
+ "kind": "field",
955
+ "name": "label",
987
956
  "type": {
988
- "text": "FoundationElementDefinition"
957
+ "text": "string"
989
958
  }
990
- }
991
- ]
992
- }
993
- ],
994
- "exports": [
995
- {
996
- "kind": "js",
997
- "name": "foundationAccordionItemTemplate",
998
- "declaration": {
999
- "name": "foundationAccordionItemTemplate",
1000
- "module": "src/accordion-item/accordion-item.template.ts"
1001
- }
1002
- }
1003
- ]
1004
- },
1005
- {
1006
- "kind": "javascript-module",
1007
- "path": "src/accordion-item/accordion-item.ts",
1008
- "declarations": [
1009
- {
1010
- "kind": "class",
1011
- "description": "",
1012
- "name": "AccordionItem",
1013
- "superclass": {
1014
- "name": "FASTAccordionItem",
1015
- "package": "@microsoft/fast-components"
1016
- },
1017
- "tagName": "%%prefix%%-accordion-item",
1018
- "customElement": true,
1019
- "attributes": [
959
+ },
1020
960
  {
1021
- "name": "heading-level",
961
+ "kind": "field",
962
+ "name": "accept",
1022
963
  "type": {
1023
- "text": "1 | 2 | 3 | 4 | 5 | 6"
964
+ "text": "string"
1024
965
  },
1025
- "default": "2",
1026
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1027
- "fieldName": "headinglevel",
1028
- "inheritedFrom": {
1029
- "name": "AccordionItem",
1030
- "module": "src/accordion-item/accordion-item.ts"
1031
- }
966
+ "default": "''"
1032
967
  },
1033
968
  {
969
+ "kind": "field",
970
+ "name": "fileSizeLimitBytes",
971
+ "default": "10_485_760",
1034
972
  "type": {
1035
- "text": "boolean"
1036
- },
1037
- "default": "false",
1038
- "description": "Expands or collapses the item.",
1039
- "fieldName": "expanded",
1040
- "inheritedFrom": {
1041
- "name": "AccordionItem",
1042
- "module": "src/accordion-item/accordion-item.ts"
973
+ "text": "number"
1043
974
  }
1044
975
  },
1045
976
  {
1046
- "name": "id",
977
+ "kind": "field",
978
+ "name": "fileName",
1047
979
  "type": {
1048
980
  "text": "string"
1049
981
  },
1050
- "description": "The item ID",
1051
- "fieldName": "id",
1052
- "inheritedFrom": {
1053
- "name": "AccordionItem",
1054
- "module": "src/accordion-item/accordion-item.ts"
1055
- }
1056
- }
1057
- ],
1058
- "members": [
982
+ "default": "''"
983
+ },
1059
984
  {
1060
985
  "kind": "field",
1061
- "name": "headinglevel",
986
+ "name": "isProcessing",
1062
987
  "type": {
1063
- "text": "1 | 2 | 3 | 4 | 5 | 6"
988
+ "text": "boolean"
1064
989
  },
990
+ "default": "false"
991
+ },
992
+ {
993
+ "kind": "method",
994
+ "name": "handleClick",
1065
995
  "privacy": "public",
1066
- "default": "2",
1067
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1068
- "inheritedFrom": {
1069
- "name": "AccordionItem",
1070
- "module": "src/accordion-item/accordion-item.ts"
1071
- }
996
+ "description": "Opens the file picker dialog\nClears any previous file selection before opening"
1072
997
  },
1073
998
  {
1074
- "kind": "field",
1075
- "name": "expanded",
1076
- "type": {
1077
- "text": "boolean"
1078
- },
999
+ "kind": "method",
1000
+ "name": "onInputChange",
1079
1001
  "privacy": "public",
1080
- "default": "false",
1081
- "description": "Expands or collapses the item.",
1082
- "inheritedFrom": {
1083
- "name": "AccordionItem",
1084
- "module": "src/accordion-item/accordion-item.ts"
1085
- }
1002
+ "parameters": [
1003
+ {
1004
+ "name": "e",
1005
+ "type": {
1006
+ "text": "Event"
1007
+ },
1008
+ "description": "The change event from the file input"
1009
+ }
1010
+ ],
1011
+ "description": "Handles file selection from the file input\nValidates file size and sets up for processing"
1086
1012
  },
1087
1013
  {
1088
- "kind": "field",
1089
- "name": "id",
1090
- "type": {
1091
- "text": "string"
1092
- },
1014
+ "kind": "method",
1015
+ "name": "clearSelection",
1093
1016
  "privacy": "public",
1094
- "description": "The item ID",
1095
- "inheritedFrom": {
1096
- "name": "AccordionItem",
1097
- "module": "src/accordion-item/accordion-item.ts"
1098
- }
1017
+ "description": "Clears all file selection and processing state\nResets the component to its initial state"
1099
1018
  },
1100
1019
  {
1101
- "kind": "field",
1102
- "name": "change",
1103
- "privacy": "private",
1104
- "inheritedFrom": {
1105
- "name": "AccordionItem",
1106
- "module": "src/accordion-item/accordion-item.ts"
1020
+ "kind": "method",
1021
+ "name": "getSelectedFile",
1022
+ "privacy": "public",
1023
+ "description": "Gets the currently selected file object",
1024
+ "return": {
1025
+ "type": {
1026
+ "text": ""
1027
+ }
1107
1028
  }
1108
1029
  },
1030
+ {
1031
+ "kind": "method",
1032
+ "name": "showError",
1033
+ "privacy": "protected",
1034
+ "parameters": [
1035
+ {
1036
+ "name": "title",
1037
+ "type": {
1038
+ "text": "string"
1039
+ },
1040
+ "description": "The error title"
1041
+ },
1042
+ {
1043
+ "name": "message",
1044
+ "type": {
1045
+ "text": "string"
1046
+ },
1047
+ "description": "The error message"
1048
+ }
1049
+ ],
1050
+ "description": "Shows an error notification using the unified error handling system"
1051
+ },
1052
+ {
1053
+ "kind": "method",
1054
+ "name": "onFileSelected",
1055
+ "privacy": "protected",
1056
+ "return": {
1057
+ "type": {
1058
+ "text": "void"
1059
+ }
1060
+ },
1061
+ "parameters": [
1062
+ {
1063
+ "name": "files",
1064
+ "type": {
1065
+ "text": "File[]"
1066
+ },
1067
+ "description": "The selected file"
1068
+ }
1069
+ ],
1070
+ "description": "Abstract method called when a file is selected"
1071
+ },
1072
+ {
1073
+ "kind": "method",
1074
+ "name": "onFileCleared",
1075
+ "privacy": "protected",
1076
+ "return": {
1077
+ "type": {
1078
+ "text": "void"
1079
+ }
1080
+ },
1081
+ "description": "Abstract method called when file selection is cleared"
1082
+ },
1109
1083
  {
1110
1084
  "kind": "field",
1111
1085
  "name": "_presentation",
@@ -1218,78 +1192,81 @@
1218
1192
  }
1219
1193
  }
1220
1194
  ],
1221
- "events": [
1195
+ "attributes": [
1222
1196
  {
1223
- "description": "Fires a custom 'change' event when the button is invoked",
1224
- "name": "change",
1225
- "inheritedFrom": {
1226
- "name": "AccordionItem",
1227
- "module": "src/accordion-item/accordion-item.ts"
1228
- }
1197
+ "name": "label",
1198
+ "type": {
1199
+ "text": "string"
1200
+ },
1201
+ "fieldName": "label"
1202
+ },
1203
+ {
1204
+ "name": "accept",
1205
+ "type": {
1206
+ "text": "string"
1207
+ },
1208
+ "default": "''",
1209
+ "fieldName": "accept"
1210
+ },
1211
+ {
1212
+ "name": "file-size-limit-bytes",
1213
+ "default": "DEFAULT_FILE_SIZE_LIMIT",
1214
+ "resolveInitializer": {
1215
+ "module": "src/_common/base-file-component.ts"
1216
+ },
1217
+ "fieldName": "fileSizeLimitBytes"
1229
1218
  }
1230
- ]
1231
- },
1232
- {
1233
- "kind": "variable",
1234
- "name": "foundationAccordionItemShadowOptions",
1235
- "type": {
1236
- "text": "ShadowRootInit"
1237
- },
1238
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1239
- },
1240
- {
1241
- "kind": "variable",
1242
- "name": "defaultAccordionItemConfig",
1243
- "type": {
1244
- "text": "object"
1245
- },
1246
- "default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
1247
- },
1248
- {
1249
- "kind": "variable",
1250
- "name": "foundationAccordionItem",
1251
- "description": "The Foundation Accordion Item",
1252
- "privacy": "public"
1219
+ ],
1220
+ "superclass": {
1221
+ "name": "FoundationElement",
1222
+ "package": "@microsoft/fast-foundation"
1223
+ }
1253
1224
  }
1254
1225
  ],
1255
1226
  "exports": [
1256
1227
  {
1257
1228
  "kind": "js",
1258
- "name": "AccordionItem",
1259
- "declaration": {
1260
- "name": "AccordionItem",
1261
- "module": "src/accordion-item/accordion-item.ts"
1262
- }
1263
- },
1264
- {
1265
- "kind": "js",
1266
- "name": "foundationAccordionItemShadowOptions",
1229
+ "name": "BaseFileComponent",
1267
1230
  "declaration": {
1268
- "name": "foundationAccordionItemShadowOptions",
1269
- "module": "src/accordion-item/accordion-item.ts"
1231
+ "name": "BaseFileComponent",
1232
+ "module": "src/_common/base-file-component.ts"
1270
1233
  }
1271
- },
1234
+ }
1235
+ ]
1236
+ },
1237
+ {
1238
+ "kind": "javascript-module",
1239
+ "path": "src/_common/icons.ts",
1240
+ "declarations": [
1272
1241
  {
1273
- "kind": "js",
1274
- "name": "defaultAccordionItemConfig",
1275
- "declaration": {
1276
- "name": "defaultAccordionItemConfig",
1277
- "module": "src/accordion-item/accordion-item.ts"
1278
- }
1279
- },
1242
+ "kind": "function",
1243
+ "name": "closeIcon",
1244
+ "parameters": [
1245
+ {
1246
+ "name": "slot",
1247
+ "default": "'start'"
1248
+ },
1249
+ {
1250
+ "name": "fill",
1251
+ "default": "'#879ba6'"
1252
+ }
1253
+ ]
1254
+ }
1255
+ ],
1256
+ "exports": [
1280
1257
  {
1281
1258
  "kind": "js",
1282
- "name": "foundationAccordionItem",
1259
+ "name": "closeIcon",
1283
1260
  "declaration": {
1284
- "name": "foundationAccordionItem",
1285
- "module": "src/accordion-item/accordion-item.ts"
1261
+ "name": "closeIcon",
1262
+ "module": "src/_common/icons.ts"
1286
1263
  }
1287
1264
  }
1288
1265
  ]
1289
1266
  },
1290
1267
  {
1291
1268
  "kind": "javascript-module",
1292
- "path": "src/accordion-item/index.ts",
1269
+ "path": "src/_common/index.ts",
1293
1270
  "declarations": [],
1294
1271
  "exports": [
1295
1272
  {
@@ -1297,15 +1274,7 @@
1297
1274
  "name": "*",
1298
1275
  "declaration": {
1299
1276
  "name": "*",
1300
- "package": "./accordion-item.template"
1301
- }
1302
- },
1303
- {
1304
- "kind": "js",
1305
- "name": "*",
1306
- "declaration": {
1307
- "name": "*",
1308
- "package": "./accordion-item.styles"
1277
+ "package": "./base-file-component"
1309
1278
  }
1310
1279
  },
1311
1280
  {
@@ -1313,7 +1282,7 @@
1313
1282
  "name": "*",
1314
1283
  "declaration": {
1315
1284
  "name": "*",
1316
- "package": "./accordion-item"
1285
+ "package": "./icons"
1317
1286
  }
1318
1287
  }
1319
1288
  ]
@@ -1877,6 +1846,431 @@
1877
1846
  }
1878
1847
  ]
1879
1848
  },
1849
+ {
1850
+ "kind": "javascript-module",
1851
+ "path": "src/_config/index.ts",
1852
+ "declarations": [],
1853
+ "exports": [
1854
+ {
1855
+ "kind": "js",
1856
+ "name": "*",
1857
+ "declaration": {
1858
+ "name": "*",
1859
+ "package": "./styles"
1860
+ }
1861
+ },
1862
+ {
1863
+ "kind": "js",
1864
+ "name": "*",
1865
+ "declaration": {
1866
+ "name": "*",
1867
+ "package": "./tokens"
1868
+ }
1869
+ },
1870
+ {
1871
+ "kind": "js",
1872
+ "name": "*",
1873
+ "declaration": {
1874
+ "name": "*",
1875
+ "package": "./values"
1876
+ }
1877
+ }
1878
+ ]
1879
+ },
1880
+ {
1881
+ "kind": "javascript-module",
1882
+ "path": "src/accordion-item/accordion-item.styles.ts",
1883
+ "declarations": [
1884
+ {
1885
+ "kind": "function",
1886
+ "name": "foundationAccordionItemStyles",
1887
+ "return": {
1888
+ "type": {
1889
+ "text": "ElementStyles"
1890
+ }
1891
+ },
1892
+ "parameters": [
1893
+ {
1894
+ "name": "context",
1895
+ "type": {
1896
+ "text": "ElementDefinitionContext"
1897
+ }
1898
+ },
1899
+ {
1900
+ "name": "definition",
1901
+ "type": {
1902
+ "text": "FoundationElementDefinition"
1903
+ }
1904
+ }
1905
+ ]
1906
+ }
1907
+ ],
1908
+ "exports": [
1909
+ {
1910
+ "kind": "js",
1911
+ "name": "foundationAccordionItemStyles",
1912
+ "declaration": {
1913
+ "name": "foundationAccordionItemStyles",
1914
+ "module": "src/accordion-item/accordion-item.styles.ts"
1915
+ }
1916
+ }
1917
+ ]
1918
+ },
1919
+ {
1920
+ "kind": "javascript-module",
1921
+ "path": "src/accordion-item/accordion-item.template.ts",
1922
+ "declarations": [
1923
+ {
1924
+ "kind": "function",
1925
+ "name": "foundationAccordionItemTemplate",
1926
+ "return": {
1927
+ "type": {
1928
+ "text": "ViewTemplate<AccordionItem>"
1929
+ }
1930
+ },
1931
+ "parameters": [
1932
+ {
1933
+ "name": "context",
1934
+ "type": {
1935
+ "text": "ElementDefinitionContext"
1936
+ }
1937
+ },
1938
+ {
1939
+ "name": "definition",
1940
+ "type": {
1941
+ "text": "FoundationElementDefinition"
1942
+ }
1943
+ }
1944
+ ]
1945
+ }
1946
+ ],
1947
+ "exports": [
1948
+ {
1949
+ "kind": "js",
1950
+ "name": "foundationAccordionItemTemplate",
1951
+ "declaration": {
1952
+ "name": "foundationAccordionItemTemplate",
1953
+ "module": "src/accordion-item/accordion-item.template.ts"
1954
+ }
1955
+ }
1956
+ ]
1957
+ },
1958
+ {
1959
+ "kind": "javascript-module",
1960
+ "path": "src/accordion-item/accordion-item.ts",
1961
+ "declarations": [
1962
+ {
1963
+ "kind": "class",
1964
+ "description": "",
1965
+ "name": "AccordionItem",
1966
+ "superclass": {
1967
+ "name": "FASTAccordionItem",
1968
+ "package": "@microsoft/fast-components"
1969
+ },
1970
+ "tagName": "%%prefix%%-accordion-item",
1971
+ "customElement": true,
1972
+ "attributes": [
1973
+ {
1974
+ "name": "heading-level",
1975
+ "type": {
1976
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1977
+ },
1978
+ "default": "2",
1979
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1980
+ "fieldName": "headinglevel",
1981
+ "inheritedFrom": {
1982
+ "name": "AccordionItem",
1983
+ "module": "src/accordion-item/accordion-item.ts"
1984
+ }
1985
+ },
1986
+ {
1987
+ "type": {
1988
+ "text": "boolean"
1989
+ },
1990
+ "default": "false",
1991
+ "description": "Expands or collapses the item.",
1992
+ "fieldName": "expanded",
1993
+ "inheritedFrom": {
1994
+ "name": "AccordionItem",
1995
+ "module": "src/accordion-item/accordion-item.ts"
1996
+ }
1997
+ },
1998
+ {
1999
+ "name": "id",
2000
+ "type": {
2001
+ "text": "string"
2002
+ },
2003
+ "description": "The item ID",
2004
+ "fieldName": "id",
2005
+ "inheritedFrom": {
2006
+ "name": "AccordionItem",
2007
+ "module": "src/accordion-item/accordion-item.ts"
2008
+ }
2009
+ }
2010
+ ],
2011
+ "members": [
2012
+ {
2013
+ "kind": "field",
2014
+ "name": "headinglevel",
2015
+ "type": {
2016
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2017
+ },
2018
+ "privacy": "public",
2019
+ "default": "2",
2020
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2021
+ "inheritedFrom": {
2022
+ "name": "AccordionItem",
2023
+ "module": "src/accordion-item/accordion-item.ts"
2024
+ }
2025
+ },
2026
+ {
2027
+ "kind": "field",
2028
+ "name": "expanded",
2029
+ "type": {
2030
+ "text": "boolean"
2031
+ },
2032
+ "privacy": "public",
2033
+ "default": "false",
2034
+ "description": "Expands or collapses the item.",
2035
+ "inheritedFrom": {
2036
+ "name": "AccordionItem",
2037
+ "module": "src/accordion-item/accordion-item.ts"
2038
+ }
2039
+ },
2040
+ {
2041
+ "kind": "field",
2042
+ "name": "id",
2043
+ "type": {
2044
+ "text": "string"
2045
+ },
2046
+ "privacy": "public",
2047
+ "description": "The item ID",
2048
+ "inheritedFrom": {
2049
+ "name": "AccordionItem",
2050
+ "module": "src/accordion-item/accordion-item.ts"
2051
+ }
2052
+ },
2053
+ {
2054
+ "kind": "field",
2055
+ "name": "change",
2056
+ "privacy": "private",
2057
+ "inheritedFrom": {
2058
+ "name": "AccordionItem",
2059
+ "module": "src/accordion-item/accordion-item.ts"
2060
+ }
2061
+ },
2062
+ {
2063
+ "kind": "field",
2064
+ "name": "_presentation",
2065
+ "type": {
2066
+ "text": "ComponentPresentation | null | undefined"
2067
+ },
2068
+ "privacy": "private",
2069
+ "default": "void 0",
2070
+ "inheritedFrom": {
2071
+ "name": "FoundationElement",
2072
+ "module": "src/foundation-element/foundation-element.ts"
2073
+ }
2074
+ },
2075
+ {
2076
+ "kind": "field",
2077
+ "name": "$presentation",
2078
+ "type": {
2079
+ "text": "ComponentPresentation | null"
2080
+ },
2081
+ "privacy": "public",
2082
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2083
+ "inheritedFrom": {
2084
+ "name": "FoundationElement",
2085
+ "module": "src/foundation-element/foundation-element.ts"
2086
+ }
2087
+ },
2088
+ {
2089
+ "kind": "field",
2090
+ "name": "template",
2091
+ "type": {
2092
+ "text": "ElementViewTemplate | void | null"
2093
+ },
2094
+ "privacy": "public",
2095
+ "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.",
2096
+ "inheritedFrom": {
2097
+ "name": "FoundationElement",
2098
+ "module": "src/foundation-element/foundation-element.ts"
2099
+ }
2100
+ },
2101
+ {
2102
+ "kind": "method",
2103
+ "name": "templateChanged",
2104
+ "privacy": "protected",
2105
+ "return": {
2106
+ "type": {
2107
+ "text": "void"
2108
+ }
2109
+ },
2110
+ "inheritedFrom": {
2111
+ "name": "FoundationElement",
2112
+ "module": "src/foundation-element/foundation-element.ts"
2113
+ }
2114
+ },
2115
+ {
2116
+ "kind": "field",
2117
+ "name": "styles",
2118
+ "type": {
2119
+ "text": "ElementStyles | void | null"
2120
+ },
2121
+ "privacy": "public",
2122
+ "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.",
2123
+ "inheritedFrom": {
2124
+ "name": "FoundationElement",
2125
+ "module": "src/foundation-element/foundation-element.ts"
2126
+ }
2127
+ },
2128
+ {
2129
+ "kind": "method",
2130
+ "name": "stylesChanged",
2131
+ "privacy": "protected",
2132
+ "return": {
2133
+ "type": {
2134
+ "text": "void"
2135
+ }
2136
+ },
2137
+ "inheritedFrom": {
2138
+ "name": "FoundationElement",
2139
+ "module": "src/foundation-element/foundation-element.ts"
2140
+ }
2141
+ },
2142
+ {
2143
+ "kind": "method",
2144
+ "name": "compose",
2145
+ "privacy": "public",
2146
+ "static": true,
2147
+ "return": {
2148
+ "type": {
2149
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2150
+ }
2151
+ },
2152
+ "parameters": [
2153
+ {
2154
+ "name": "this",
2155
+ "type": {
2156
+ "text": "K"
2157
+ }
2158
+ },
2159
+ {
2160
+ "name": "elementDefinition",
2161
+ "type": {
2162
+ "text": "T"
2163
+ },
2164
+ "description": "The definition of the element to create the registry\nfunction for."
2165
+ }
2166
+ ],
2167
+ "description": "Defines an element registry function with a set of element definition defaults.",
2168
+ "inheritedFrom": {
2169
+ "name": "FoundationElement",
2170
+ "module": "src/foundation-element/foundation-element.ts"
2171
+ }
2172
+ }
2173
+ ],
2174
+ "events": [
2175
+ {
2176
+ "description": "Fires a custom 'change' event when the button is invoked",
2177
+ "name": "change",
2178
+ "inheritedFrom": {
2179
+ "name": "AccordionItem",
2180
+ "module": "src/accordion-item/accordion-item.ts"
2181
+ }
2182
+ }
2183
+ ]
2184
+ },
2185
+ {
2186
+ "kind": "variable",
2187
+ "name": "foundationAccordionItemShadowOptions",
2188
+ "type": {
2189
+ "text": "ShadowRootInit"
2190
+ },
2191
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2192
+ },
2193
+ {
2194
+ "kind": "variable",
2195
+ "name": "defaultAccordionItemConfig",
2196
+ "type": {
2197
+ "text": "object"
2198
+ },
2199
+ "default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
2200
+ },
2201
+ {
2202
+ "kind": "variable",
2203
+ "name": "foundationAccordionItem",
2204
+ "description": "The Foundation Accordion Item",
2205
+ "privacy": "public"
2206
+ }
2207
+ ],
2208
+ "exports": [
2209
+ {
2210
+ "kind": "js",
2211
+ "name": "AccordionItem",
2212
+ "declaration": {
2213
+ "name": "AccordionItem",
2214
+ "module": "src/accordion-item/accordion-item.ts"
2215
+ }
2216
+ },
2217
+ {
2218
+ "kind": "js",
2219
+ "name": "foundationAccordionItemShadowOptions",
2220
+ "declaration": {
2221
+ "name": "foundationAccordionItemShadowOptions",
2222
+ "module": "src/accordion-item/accordion-item.ts"
2223
+ }
2224
+ },
2225
+ {
2226
+ "kind": "js",
2227
+ "name": "defaultAccordionItemConfig",
2228
+ "declaration": {
2229
+ "name": "defaultAccordionItemConfig",
2230
+ "module": "src/accordion-item/accordion-item.ts"
2231
+ }
2232
+ },
2233
+ {
2234
+ "kind": "js",
2235
+ "name": "foundationAccordionItem",
2236
+ "declaration": {
2237
+ "name": "foundationAccordionItem",
2238
+ "module": "src/accordion-item/accordion-item.ts"
2239
+ }
2240
+ }
2241
+ ]
2242
+ },
2243
+ {
2244
+ "kind": "javascript-module",
2245
+ "path": "src/accordion-item/index.ts",
2246
+ "declarations": [],
2247
+ "exports": [
2248
+ {
2249
+ "kind": "js",
2250
+ "name": "*",
2251
+ "declaration": {
2252
+ "name": "*",
2253
+ "package": "./accordion-item.template"
2254
+ }
2255
+ },
2256
+ {
2257
+ "kind": "js",
2258
+ "name": "*",
2259
+ "declaration": {
2260
+ "name": "*",
2261
+ "package": "./accordion-item.styles"
2262
+ }
2263
+ },
2264
+ {
2265
+ "kind": "js",
2266
+ "name": "*",
2267
+ "declaration": {
2268
+ "name": "*",
2269
+ "package": "./accordion-item"
2270
+ }
2271
+ }
2272
+ ]
2273
+ },
1880
2274
  {
1881
2275
  "kind": "javascript-module",
1882
2276
  "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
@@ -2857,400 +3251,6 @@
2857
3251
  }
2858
3252
  ]
2859
3253
  },
2860
- {
2861
- "kind": "javascript-module",
2862
- "path": "src/_common/base-file-component.ts",
2863
- "declarations": [
2864
- {
2865
- "kind": "class",
2866
- "description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
2867
- "name": "BaseFileComponent",
2868
- "members": [
2869
- {
2870
- "kind": "field",
2871
- "name": "fileInput",
2872
- "type": {
2873
- "text": "HTMLInputElement"
2874
- },
2875
- "privacy": "public"
2876
- },
2877
- {
2878
- "kind": "field",
2879
- "name": "selectedFile",
2880
- "type": {
2881
- "text": "File | null"
2882
- },
2883
- "privacy": "protected",
2884
- "default": "null"
2885
- },
2886
- {
2887
- "kind": "field",
2888
- "name": "label",
2889
- "type": {
2890
- "text": "string"
2891
- }
2892
- },
2893
- {
2894
- "kind": "field",
2895
- "name": "accept",
2896
- "type": {
2897
- "text": "string"
2898
- },
2899
- "default": "''"
2900
- },
2901
- {
2902
- "kind": "field",
2903
- "name": "fileSizeLimitBytes",
2904
- "default": "10_485_760",
2905
- "type": {
2906
- "text": "number"
2907
- }
2908
- },
2909
- {
2910
- "kind": "field",
2911
- "name": "fileName",
2912
- "type": {
2913
- "text": "string"
2914
- },
2915
- "default": "''"
2916
- },
2917
- {
2918
- "kind": "field",
2919
- "name": "isProcessing",
2920
- "type": {
2921
- "text": "boolean"
2922
- },
2923
- "default": "false"
2924
- },
2925
- {
2926
- "kind": "method",
2927
- "name": "handleClick",
2928
- "privacy": "public",
2929
- "description": "Opens the file picker dialog\nClears any previous file selection before opening"
2930
- },
2931
- {
2932
- "kind": "method",
2933
- "name": "onInputChange",
2934
- "privacy": "public",
2935
- "parameters": [
2936
- {
2937
- "name": "e",
2938
- "type": {
2939
- "text": "Event"
2940
- },
2941
- "description": "The change event from the file input"
2942
- }
2943
- ],
2944
- "description": "Handles file selection from the file input\nValidates file size and sets up for processing"
2945
- },
2946
- {
2947
- "kind": "method",
2948
- "name": "clearSelection",
2949
- "privacy": "public",
2950
- "description": "Clears all file selection and processing state\nResets the component to its initial state"
2951
- },
2952
- {
2953
- "kind": "method",
2954
- "name": "getSelectedFile",
2955
- "privacy": "public",
2956
- "description": "Gets the currently selected file object",
2957
- "return": {
2958
- "type": {
2959
- "text": ""
2960
- }
2961
- }
2962
- },
2963
- {
2964
- "kind": "method",
2965
- "name": "showError",
2966
- "privacy": "protected",
2967
- "parameters": [
2968
- {
2969
- "name": "title",
2970
- "type": {
2971
- "text": "string"
2972
- },
2973
- "description": "The error title"
2974
- },
2975
- {
2976
- "name": "message",
2977
- "type": {
2978
- "text": "string"
2979
- },
2980
- "description": "The error message"
2981
- }
2982
- ],
2983
- "description": "Shows an error notification using the unified error handling system"
2984
- },
2985
- {
2986
- "kind": "method",
2987
- "name": "onFileSelected",
2988
- "privacy": "protected",
2989
- "return": {
2990
- "type": {
2991
- "text": "void"
2992
- }
2993
- },
2994
- "parameters": [
2995
- {
2996
- "name": "files",
2997
- "type": {
2998
- "text": "File[]"
2999
- },
3000
- "description": "The selected file"
3001
- }
3002
- ],
3003
- "description": "Abstract method called when a file is selected"
3004
- },
3005
- {
3006
- "kind": "method",
3007
- "name": "onFileCleared",
3008
- "privacy": "protected",
3009
- "return": {
3010
- "type": {
3011
- "text": "void"
3012
- }
3013
- },
3014
- "description": "Abstract method called when file selection is cleared"
3015
- },
3016
- {
3017
- "kind": "field",
3018
- "name": "_presentation",
3019
- "type": {
3020
- "text": "ComponentPresentation | null | undefined"
3021
- },
3022
- "privacy": "private",
3023
- "default": "void 0",
3024
- "inheritedFrom": {
3025
- "name": "FoundationElement",
3026
- "module": "src/foundation-element/foundation-element.ts"
3027
- }
3028
- },
3029
- {
3030
- "kind": "field",
3031
- "name": "$presentation",
3032
- "type": {
3033
- "text": "ComponentPresentation | null"
3034
- },
3035
- "privacy": "public",
3036
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3037
- "inheritedFrom": {
3038
- "name": "FoundationElement",
3039
- "module": "src/foundation-element/foundation-element.ts"
3040
- }
3041
- },
3042
- {
3043
- "kind": "field",
3044
- "name": "template",
3045
- "type": {
3046
- "text": "ElementViewTemplate | void | null"
3047
- },
3048
- "privacy": "public",
3049
- "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.",
3050
- "inheritedFrom": {
3051
- "name": "FoundationElement",
3052
- "module": "src/foundation-element/foundation-element.ts"
3053
- }
3054
- },
3055
- {
3056
- "kind": "method",
3057
- "name": "templateChanged",
3058
- "privacy": "protected",
3059
- "return": {
3060
- "type": {
3061
- "text": "void"
3062
- }
3063
- },
3064
- "inheritedFrom": {
3065
- "name": "FoundationElement",
3066
- "module": "src/foundation-element/foundation-element.ts"
3067
- }
3068
- },
3069
- {
3070
- "kind": "field",
3071
- "name": "styles",
3072
- "type": {
3073
- "text": "ElementStyles | void | null"
3074
- },
3075
- "privacy": "public",
3076
- "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.",
3077
- "inheritedFrom": {
3078
- "name": "FoundationElement",
3079
- "module": "src/foundation-element/foundation-element.ts"
3080
- }
3081
- },
3082
- {
3083
- "kind": "method",
3084
- "name": "stylesChanged",
3085
- "privacy": "protected",
3086
- "return": {
3087
- "type": {
3088
- "text": "void"
3089
- }
3090
- },
3091
- "inheritedFrom": {
3092
- "name": "FoundationElement",
3093
- "module": "src/foundation-element/foundation-element.ts"
3094
- }
3095
- },
3096
- {
3097
- "kind": "method",
3098
- "name": "compose",
3099
- "privacy": "public",
3100
- "static": true,
3101
- "return": {
3102
- "type": {
3103
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3104
- }
3105
- },
3106
- "parameters": [
3107
- {
3108
- "name": "this",
3109
- "type": {
3110
- "text": "K"
3111
- }
3112
- },
3113
- {
3114
- "name": "elementDefinition",
3115
- "type": {
3116
- "text": "T"
3117
- },
3118
- "description": "The definition of the element to create the registry\nfunction for."
3119
- }
3120
- ],
3121
- "description": "Defines an element registry function with a set of element definition defaults.",
3122
- "inheritedFrom": {
3123
- "name": "FoundationElement",
3124
- "module": "src/foundation-element/foundation-element.ts"
3125
- }
3126
- }
3127
- ],
3128
- "attributes": [
3129
- {
3130
- "name": "label",
3131
- "type": {
3132
- "text": "string"
3133
- },
3134
- "fieldName": "label"
3135
- },
3136
- {
3137
- "name": "accept",
3138
- "type": {
3139
- "text": "string"
3140
- },
3141
- "default": "''",
3142
- "fieldName": "accept"
3143
- },
3144
- {
3145
- "name": "file-size-limit-bytes",
3146
- "default": "DEFAULT_FILE_SIZE_LIMIT",
3147
- "resolveInitializer": {
3148
- "module": "src/_common/base-file-component.ts"
3149
- },
3150
- "fieldName": "fileSizeLimitBytes"
3151
- }
3152
- ],
3153
- "superclass": {
3154
- "name": "FoundationElement",
3155
- "package": "@microsoft/fast-foundation"
3156
- }
3157
- }
3158
- ],
3159
- "exports": [
3160
- {
3161
- "kind": "js",
3162
- "name": "BaseFileComponent",
3163
- "declaration": {
3164
- "name": "BaseFileComponent",
3165
- "module": "src/_common/base-file-component.ts"
3166
- }
3167
- }
3168
- ]
3169
- },
3170
- {
3171
- "kind": "javascript-module",
3172
- "path": "src/_common/icons.ts",
3173
- "declarations": [
3174
- {
3175
- "kind": "function",
3176
- "name": "closeIcon",
3177
- "parameters": [
3178
- {
3179
- "name": "slot",
3180
- "default": "'start'"
3181
- },
3182
- {
3183
- "name": "fill",
3184
- "default": "'#879ba6'"
3185
- }
3186
- ]
3187
- }
3188
- ],
3189
- "exports": [
3190
- {
3191
- "kind": "js",
3192
- "name": "closeIcon",
3193
- "declaration": {
3194
- "name": "closeIcon",
3195
- "module": "src/_common/icons.ts"
3196
- }
3197
- }
3198
- ]
3199
- },
3200
- {
3201
- "kind": "javascript-module",
3202
- "path": "src/_common/index.ts",
3203
- "declarations": [],
3204
- "exports": [
3205
- {
3206
- "kind": "js",
3207
- "name": "*",
3208
- "declaration": {
3209
- "name": "*",
3210
- "package": "./base-file-component"
3211
- }
3212
- },
3213
- {
3214
- "kind": "js",
3215
- "name": "*",
3216
- "declaration": {
3217
- "name": "*",
3218
- "package": "./icons"
3219
- }
3220
- }
3221
- ]
3222
- },
3223
- {
3224
- "kind": "javascript-module",
3225
- "path": "src/_config/index.ts",
3226
- "declarations": [],
3227
- "exports": [
3228
- {
3229
- "kind": "js",
3230
- "name": "*",
3231
- "declaration": {
3232
- "name": "*",
3233
- "package": "./styles"
3234
- }
3235
- },
3236
- {
3237
- "kind": "js",
3238
- "name": "*",
3239
- "declaration": {
3240
- "name": "*",
3241
- "package": "./tokens"
3242
- }
3243
- },
3244
- {
3245
- "kind": "js",
3246
- "name": "*",
3247
- "declaration": {
3248
- "name": "*",
3249
- "package": "./values"
3250
- }
3251
- }
3252
- ]
3253
- },
3254
3254
  {
3255
3255
  "kind": "javascript-module",
3256
3256
  "path": "src/accordion/accordion.styles.ts",
@@ -54294,181 +54294,6 @@
54294
54294
  }
54295
54295
  ]
54296
54296
  },
54297
- {
54298
- "kind": "javascript-module",
54299
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
54300
- "declarations": [],
54301
- "exports": []
54302
- },
54303
- {
54304
- "kind": "javascript-module",
54305
- "path": "src/ai-criteria-search/validation/operator-map.ts",
54306
- "declarations": [
54307
- {
54308
- "kind": "function",
54309
- "name": "groupsToCriteria",
54310
- "return": {
54311
- "type": {
54312
- "text": "string"
54313
- }
54314
- },
54315
- "parameters": [
54316
- {
54317
- "name": "groups",
54318
- "type": {
54319
- "text": "CriteriaGroup[]"
54320
- }
54321
- }
54322
- ],
54323
- "description": "Converts validated CriteriaGroup[] to a Groovy criteria string using CriteriaBuilder.\nGroups are AND-ed at top level. Within each group, clauses use group.logic (and/or).\nIf group.negated is true, the group's combined expression is wrapped in NOT."
54324
- },
54325
- {
54326
- "kind": "variable",
54327
- "name": "STRING_OPERATORS",
54328
- "type": {
54329
- "text": "CriteriaOperator[]"
54330
- },
54331
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
54332
- },
54333
- {
54334
- "kind": "variable",
54335
- "name": "NUMERIC_OPERATORS",
54336
- "type": {
54337
- "text": "CriteriaOperator[]"
54338
- },
54339
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
54340
- },
54341
- {
54342
- "kind": "variable",
54343
- "name": "DATE_OPERATORS",
54344
- "type": {
54345
- "text": "CriteriaOperator[]"
54346
- },
54347
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
54348
- },
54349
- {
54350
- "kind": "variable",
54351
- "name": "DATETIME_OPERATORS",
54352
- "type": {
54353
- "text": "CriteriaOperator[]"
54354
- },
54355
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
54356
- }
54357
- ],
54358
- "exports": [
54359
- {
54360
- "kind": "js",
54361
- "name": "groupsToCriteria",
54362
- "declaration": {
54363
- "name": "groupsToCriteria",
54364
- "module": "src/ai-criteria-search/validation/operator-map.ts"
54365
- }
54366
- },
54367
- {
54368
- "kind": "js",
54369
- "name": "STRING_OPERATORS",
54370
- "declaration": {
54371
- "name": "STRING_OPERATORS",
54372
- "module": "src/ai-criteria-search/validation/operator-map.ts"
54373
- }
54374
- },
54375
- {
54376
- "kind": "js",
54377
- "name": "NUMERIC_OPERATORS",
54378
- "declaration": {
54379
- "name": "NUMERIC_OPERATORS",
54380
- "module": "src/ai-criteria-search/validation/operator-map.ts"
54381
- }
54382
- },
54383
- {
54384
- "kind": "js",
54385
- "name": "DATE_OPERATORS",
54386
- "declaration": {
54387
- "name": "DATE_OPERATORS",
54388
- "module": "src/ai-criteria-search/validation/operator-map.ts"
54389
- }
54390
- },
54391
- {
54392
- "kind": "js",
54393
- "name": "DATETIME_OPERATORS",
54394
- "declaration": {
54395
- "name": "DATETIME_OPERATORS",
54396
- "module": "src/ai-criteria-search/validation/operator-map.ts"
54397
- }
54398
- }
54399
- ]
54400
- },
54401
- {
54402
- "kind": "javascript-module",
54403
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
54404
- "declarations": [
54405
- {
54406
- "kind": "function",
54407
- "name": "validateClauses",
54408
- "return": {
54409
- "type": {
54410
- "text": "ValidationResult"
54411
- }
54412
- },
54413
- "parameters": [
54414
- {
54415
- "name": "clauses",
54416
- "type": {
54417
- "text": "CriteriaClause[]"
54418
- }
54419
- },
54420
- {
54421
- "name": "fieldMetadata",
54422
- "type": {
54423
- "text": "MetadataDetail[] | string[]"
54424
- }
54425
- }
54426
- ]
54427
- },
54428
- {
54429
- "kind": "function",
54430
- "name": "validateGroups",
54431
- "return": {
54432
- "type": {
54433
- "text": "GroupsValidationResult"
54434
- }
54435
- },
54436
- "parameters": [
54437
- {
54438
- "name": "groups",
54439
- "type": {
54440
- "text": "CriteriaGroup[]"
54441
- }
54442
- },
54443
- {
54444
- "name": "fieldMetadata",
54445
- "type": {
54446
- "text": "MetadataDetail[] | string[]"
54447
- }
54448
- }
54449
- ],
54450
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
54451
- }
54452
- ],
54453
- "exports": [
54454
- {
54455
- "kind": "js",
54456
- "name": "validateClauses",
54457
- "declaration": {
54458
- "name": "validateClauses",
54459
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
54460
- }
54461
- },
54462
- {
54463
- "kind": "js",
54464
- "name": "validateGroups",
54465
- "declaration": {
54466
- "name": "validateGroups",
54467
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
54468
- }
54469
- }
54470
- ]
54471
- },
54472
54297
  {
54473
54298
  "kind": "javascript-module",
54474
54299
  "path": "src/_config/styles/colors.ts",
@@ -55841,6 +55666,181 @@
55841
55666
  "declarations": [],
55842
55667
  "exports": []
55843
55668
  },
55669
+ {
55670
+ "kind": "javascript-module",
55671
+ "path": "src/ai-criteria-search/validation/criteria-ir.ts",
55672
+ "declarations": [],
55673
+ "exports": []
55674
+ },
55675
+ {
55676
+ "kind": "javascript-module",
55677
+ "path": "src/ai-criteria-search/validation/operator-map.ts",
55678
+ "declarations": [
55679
+ {
55680
+ "kind": "function",
55681
+ "name": "groupsToCriteria",
55682
+ "return": {
55683
+ "type": {
55684
+ "text": "string"
55685
+ }
55686
+ },
55687
+ "parameters": [
55688
+ {
55689
+ "name": "groups",
55690
+ "type": {
55691
+ "text": "CriteriaGroup[]"
55692
+ }
55693
+ }
55694
+ ],
55695
+ "description": "Converts validated CriteriaGroup[] to a Groovy criteria string using CriteriaBuilder.\nGroups are AND-ed at top level. Within each group, clauses use group.logic (and/or).\nIf group.negated is true, the group's combined expression is wrapped in NOT."
55696
+ },
55697
+ {
55698
+ "kind": "variable",
55699
+ "name": "STRING_OPERATORS",
55700
+ "type": {
55701
+ "text": "CriteriaOperator[]"
55702
+ },
55703
+ "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
55704
+ },
55705
+ {
55706
+ "kind": "variable",
55707
+ "name": "NUMERIC_OPERATORS",
55708
+ "type": {
55709
+ "text": "CriteriaOperator[]"
55710
+ },
55711
+ "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
55712
+ },
55713
+ {
55714
+ "kind": "variable",
55715
+ "name": "DATE_OPERATORS",
55716
+ "type": {
55717
+ "text": "CriteriaOperator[]"
55718
+ },
55719
+ "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
55720
+ },
55721
+ {
55722
+ "kind": "variable",
55723
+ "name": "DATETIME_OPERATORS",
55724
+ "type": {
55725
+ "text": "CriteriaOperator[]"
55726
+ },
55727
+ "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
55728
+ }
55729
+ ],
55730
+ "exports": [
55731
+ {
55732
+ "kind": "js",
55733
+ "name": "groupsToCriteria",
55734
+ "declaration": {
55735
+ "name": "groupsToCriteria",
55736
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
55737
+ }
55738
+ },
55739
+ {
55740
+ "kind": "js",
55741
+ "name": "STRING_OPERATORS",
55742
+ "declaration": {
55743
+ "name": "STRING_OPERATORS",
55744
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
55745
+ }
55746
+ },
55747
+ {
55748
+ "kind": "js",
55749
+ "name": "NUMERIC_OPERATORS",
55750
+ "declaration": {
55751
+ "name": "NUMERIC_OPERATORS",
55752
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
55753
+ }
55754
+ },
55755
+ {
55756
+ "kind": "js",
55757
+ "name": "DATE_OPERATORS",
55758
+ "declaration": {
55759
+ "name": "DATE_OPERATORS",
55760
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
55761
+ }
55762
+ },
55763
+ {
55764
+ "kind": "js",
55765
+ "name": "DATETIME_OPERATORS",
55766
+ "declaration": {
55767
+ "name": "DATETIME_OPERATORS",
55768
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
55769
+ }
55770
+ }
55771
+ ]
55772
+ },
55773
+ {
55774
+ "kind": "javascript-module",
55775
+ "path": "src/ai-criteria-search/validation/schema-validator.ts",
55776
+ "declarations": [
55777
+ {
55778
+ "kind": "function",
55779
+ "name": "validateClauses",
55780
+ "return": {
55781
+ "type": {
55782
+ "text": "ValidationResult"
55783
+ }
55784
+ },
55785
+ "parameters": [
55786
+ {
55787
+ "name": "clauses",
55788
+ "type": {
55789
+ "text": "CriteriaClause[]"
55790
+ }
55791
+ },
55792
+ {
55793
+ "name": "fieldMetadata",
55794
+ "type": {
55795
+ "text": "MetadataDetail[] | string[]"
55796
+ }
55797
+ }
55798
+ ]
55799
+ },
55800
+ {
55801
+ "kind": "function",
55802
+ "name": "validateGroups",
55803
+ "return": {
55804
+ "type": {
55805
+ "text": "GroupsValidationResult"
55806
+ }
55807
+ },
55808
+ "parameters": [
55809
+ {
55810
+ "name": "groups",
55811
+ "type": {
55812
+ "text": "CriteriaGroup[]"
55813
+ }
55814
+ },
55815
+ {
55816
+ "name": "fieldMetadata",
55817
+ "type": {
55818
+ "text": "MetadataDetail[] | string[]"
55819
+ }
55820
+ }
55821
+ ],
55822
+ "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
55823
+ }
55824
+ ],
55825
+ "exports": [
55826
+ {
55827
+ "kind": "js",
55828
+ "name": "validateClauses",
55829
+ "declaration": {
55830
+ "name": "validateClauses",
55831
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
55832
+ }
55833
+ },
55834
+ {
55835
+ "kind": "js",
55836
+ "name": "validateGroups",
55837
+ "declaration": {
55838
+ "name": "validateGroups",
55839
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
55840
+ }
55841
+ }
55842
+ ]
55843
+ },
55844
55844
  {
55845
55845
  "kind": "javascript-module",
55846
55846
  "path": "src/environment-indicator/utils/configure.ts",