@genesislcap/foundation-ui 15.20.1 → 15.20.2-grid-pro-datasource-fix.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.
- package/dist/custom-elements.json +1537 -1537
- package/dist/dts/react.d.ts +18 -18
- package/dist/react.cjs +12 -12
- package/dist/react.mjs +10 -10
- package/package.json +18 -18
|
@@ -956,400 +956,6 @@
|
|
|
956
956
|
}
|
|
957
957
|
]
|
|
958
958
|
},
|
|
959
|
-
{
|
|
960
|
-
"kind": "javascript-module",
|
|
961
|
-
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
962
|
-
"declarations": [
|
|
963
|
-
{
|
|
964
|
-
"kind": "function",
|
|
965
|
-
"name": "foundationAccordionItemStyles",
|
|
966
|
-
"return": {
|
|
967
|
-
"type": {
|
|
968
|
-
"text": "ElementStyles"
|
|
969
|
-
}
|
|
970
|
-
},
|
|
971
|
-
"parameters": [
|
|
972
|
-
{
|
|
973
|
-
"name": "context",
|
|
974
|
-
"type": {
|
|
975
|
-
"text": "ElementDefinitionContext"
|
|
976
|
-
}
|
|
977
|
-
},
|
|
978
|
-
{
|
|
979
|
-
"name": "definition",
|
|
980
|
-
"type": {
|
|
981
|
-
"text": "FoundationElementDefinition"
|
|
982
|
-
}
|
|
983
|
-
}
|
|
984
|
-
]
|
|
985
|
-
}
|
|
986
|
-
],
|
|
987
|
-
"exports": [
|
|
988
|
-
{
|
|
989
|
-
"kind": "js",
|
|
990
|
-
"name": "foundationAccordionItemStyles",
|
|
991
|
-
"declaration": {
|
|
992
|
-
"name": "foundationAccordionItemStyles",
|
|
993
|
-
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
994
|
-
}
|
|
995
|
-
}
|
|
996
|
-
]
|
|
997
|
-
},
|
|
998
|
-
{
|
|
999
|
-
"kind": "javascript-module",
|
|
1000
|
-
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1001
|
-
"declarations": [
|
|
1002
|
-
{
|
|
1003
|
-
"kind": "function",
|
|
1004
|
-
"name": "foundationAccordionItemTemplate",
|
|
1005
|
-
"return": {
|
|
1006
|
-
"type": {
|
|
1007
|
-
"text": "ViewTemplate<AccordionItem>"
|
|
1008
|
-
}
|
|
1009
|
-
},
|
|
1010
|
-
"parameters": [
|
|
1011
|
-
{
|
|
1012
|
-
"name": "context",
|
|
1013
|
-
"type": {
|
|
1014
|
-
"text": "ElementDefinitionContext"
|
|
1015
|
-
}
|
|
1016
|
-
},
|
|
1017
|
-
{
|
|
1018
|
-
"name": "definition",
|
|
1019
|
-
"type": {
|
|
1020
|
-
"text": "FoundationElementDefinition"
|
|
1021
|
-
}
|
|
1022
|
-
}
|
|
1023
|
-
]
|
|
1024
|
-
}
|
|
1025
|
-
],
|
|
1026
|
-
"exports": [
|
|
1027
|
-
{
|
|
1028
|
-
"kind": "js",
|
|
1029
|
-
"name": "foundationAccordionItemTemplate",
|
|
1030
|
-
"declaration": {
|
|
1031
|
-
"name": "foundationAccordionItemTemplate",
|
|
1032
|
-
"module": "src/accordion-item/accordion-item.template.ts"
|
|
1033
|
-
}
|
|
1034
|
-
}
|
|
1035
|
-
]
|
|
1036
|
-
},
|
|
1037
|
-
{
|
|
1038
|
-
"kind": "javascript-module",
|
|
1039
|
-
"path": "src/accordion-item/accordion-item.ts",
|
|
1040
|
-
"declarations": [
|
|
1041
|
-
{
|
|
1042
|
-
"kind": "class",
|
|
1043
|
-
"description": "",
|
|
1044
|
-
"name": "AccordionItem",
|
|
1045
|
-
"superclass": {
|
|
1046
|
-
"name": "FASTAccordionItem",
|
|
1047
|
-
"package": "@microsoft/fast-components"
|
|
1048
|
-
},
|
|
1049
|
-
"tagName": "%%prefix%%-accordion-item",
|
|
1050
|
-
"customElement": true,
|
|
1051
|
-
"attributes": [
|
|
1052
|
-
{
|
|
1053
|
-
"name": "heading-level",
|
|
1054
|
-
"type": {
|
|
1055
|
-
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1056
|
-
},
|
|
1057
|
-
"default": "2",
|
|
1058
|
-
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1059
|
-
"fieldName": "headinglevel",
|
|
1060
|
-
"inheritedFrom": {
|
|
1061
|
-
"name": "AccordionItem",
|
|
1062
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1063
|
-
}
|
|
1064
|
-
},
|
|
1065
|
-
{
|
|
1066
|
-
"type": {
|
|
1067
|
-
"text": "boolean"
|
|
1068
|
-
},
|
|
1069
|
-
"default": "false",
|
|
1070
|
-
"description": "Expands or collapses the item.",
|
|
1071
|
-
"fieldName": "expanded",
|
|
1072
|
-
"inheritedFrom": {
|
|
1073
|
-
"name": "AccordionItem",
|
|
1074
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1075
|
-
}
|
|
1076
|
-
},
|
|
1077
|
-
{
|
|
1078
|
-
"name": "id",
|
|
1079
|
-
"type": {
|
|
1080
|
-
"text": "string"
|
|
1081
|
-
},
|
|
1082
|
-
"description": "The item ID",
|
|
1083
|
-
"fieldName": "id",
|
|
1084
|
-
"inheritedFrom": {
|
|
1085
|
-
"name": "AccordionItem",
|
|
1086
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1087
|
-
}
|
|
1088
|
-
}
|
|
1089
|
-
],
|
|
1090
|
-
"members": [
|
|
1091
|
-
{
|
|
1092
|
-
"kind": "field",
|
|
1093
|
-
"name": "headinglevel",
|
|
1094
|
-
"type": {
|
|
1095
|
-
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1096
|
-
},
|
|
1097
|
-
"privacy": "public",
|
|
1098
|
-
"default": "2",
|
|
1099
|
-
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1100
|
-
"inheritedFrom": {
|
|
1101
|
-
"name": "AccordionItem",
|
|
1102
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1103
|
-
}
|
|
1104
|
-
},
|
|
1105
|
-
{
|
|
1106
|
-
"kind": "field",
|
|
1107
|
-
"name": "expanded",
|
|
1108
|
-
"type": {
|
|
1109
|
-
"text": "boolean"
|
|
1110
|
-
},
|
|
1111
|
-
"privacy": "public",
|
|
1112
|
-
"default": "false",
|
|
1113
|
-
"description": "Expands or collapses the item.",
|
|
1114
|
-
"inheritedFrom": {
|
|
1115
|
-
"name": "AccordionItem",
|
|
1116
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1117
|
-
}
|
|
1118
|
-
},
|
|
1119
|
-
{
|
|
1120
|
-
"kind": "field",
|
|
1121
|
-
"name": "id",
|
|
1122
|
-
"type": {
|
|
1123
|
-
"text": "string"
|
|
1124
|
-
},
|
|
1125
|
-
"privacy": "public",
|
|
1126
|
-
"description": "The item ID",
|
|
1127
|
-
"inheritedFrom": {
|
|
1128
|
-
"name": "AccordionItem",
|
|
1129
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1130
|
-
}
|
|
1131
|
-
},
|
|
1132
|
-
{
|
|
1133
|
-
"kind": "field",
|
|
1134
|
-
"name": "change",
|
|
1135
|
-
"privacy": "private",
|
|
1136
|
-
"inheritedFrom": {
|
|
1137
|
-
"name": "AccordionItem",
|
|
1138
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1139
|
-
}
|
|
1140
|
-
},
|
|
1141
|
-
{
|
|
1142
|
-
"kind": "field",
|
|
1143
|
-
"name": "_presentation",
|
|
1144
|
-
"type": {
|
|
1145
|
-
"text": "ComponentPresentation | null | undefined"
|
|
1146
|
-
},
|
|
1147
|
-
"privacy": "private",
|
|
1148
|
-
"default": "void 0",
|
|
1149
|
-
"inheritedFrom": {
|
|
1150
|
-
"name": "FoundationElement",
|
|
1151
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1152
|
-
}
|
|
1153
|
-
},
|
|
1154
|
-
{
|
|
1155
|
-
"kind": "field",
|
|
1156
|
-
"name": "$presentation",
|
|
1157
|
-
"type": {
|
|
1158
|
-
"text": "ComponentPresentation | null"
|
|
1159
|
-
},
|
|
1160
|
-
"privacy": "public",
|
|
1161
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1162
|
-
"inheritedFrom": {
|
|
1163
|
-
"name": "FoundationElement",
|
|
1164
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1165
|
-
}
|
|
1166
|
-
},
|
|
1167
|
-
{
|
|
1168
|
-
"kind": "field",
|
|
1169
|
-
"name": "template",
|
|
1170
|
-
"type": {
|
|
1171
|
-
"text": "ElementViewTemplate | void | null"
|
|
1172
|
-
},
|
|
1173
|
-
"privacy": "public",
|
|
1174
|
-
"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.",
|
|
1175
|
-
"inheritedFrom": {
|
|
1176
|
-
"name": "FoundationElement",
|
|
1177
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1178
|
-
}
|
|
1179
|
-
},
|
|
1180
|
-
{
|
|
1181
|
-
"kind": "method",
|
|
1182
|
-
"name": "templateChanged",
|
|
1183
|
-
"privacy": "protected",
|
|
1184
|
-
"return": {
|
|
1185
|
-
"type": {
|
|
1186
|
-
"text": "void"
|
|
1187
|
-
}
|
|
1188
|
-
},
|
|
1189
|
-
"inheritedFrom": {
|
|
1190
|
-
"name": "FoundationElement",
|
|
1191
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1192
|
-
}
|
|
1193
|
-
},
|
|
1194
|
-
{
|
|
1195
|
-
"kind": "field",
|
|
1196
|
-
"name": "styles",
|
|
1197
|
-
"type": {
|
|
1198
|
-
"text": "ElementStyles | void | null"
|
|
1199
|
-
},
|
|
1200
|
-
"privacy": "public",
|
|
1201
|
-
"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.",
|
|
1202
|
-
"inheritedFrom": {
|
|
1203
|
-
"name": "FoundationElement",
|
|
1204
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1205
|
-
}
|
|
1206
|
-
},
|
|
1207
|
-
{
|
|
1208
|
-
"kind": "method",
|
|
1209
|
-
"name": "stylesChanged",
|
|
1210
|
-
"privacy": "protected",
|
|
1211
|
-
"return": {
|
|
1212
|
-
"type": {
|
|
1213
|
-
"text": "void"
|
|
1214
|
-
}
|
|
1215
|
-
},
|
|
1216
|
-
"inheritedFrom": {
|
|
1217
|
-
"name": "FoundationElement",
|
|
1218
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1219
|
-
}
|
|
1220
|
-
},
|
|
1221
|
-
{
|
|
1222
|
-
"kind": "method",
|
|
1223
|
-
"name": "compose",
|
|
1224
|
-
"privacy": "public",
|
|
1225
|
-
"static": true,
|
|
1226
|
-
"return": {
|
|
1227
|
-
"type": {
|
|
1228
|
-
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
1229
|
-
}
|
|
1230
|
-
},
|
|
1231
|
-
"parameters": [
|
|
1232
|
-
{
|
|
1233
|
-
"name": "this",
|
|
1234
|
-
"type": {
|
|
1235
|
-
"text": "K"
|
|
1236
|
-
}
|
|
1237
|
-
},
|
|
1238
|
-
{
|
|
1239
|
-
"name": "elementDefinition",
|
|
1240
|
-
"type": {
|
|
1241
|
-
"text": "T"
|
|
1242
|
-
},
|
|
1243
|
-
"description": "The definition of the element to create the registry\nfunction for."
|
|
1244
|
-
}
|
|
1245
|
-
],
|
|
1246
|
-
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
1247
|
-
"inheritedFrom": {
|
|
1248
|
-
"name": "FoundationElement",
|
|
1249
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1250
|
-
}
|
|
1251
|
-
}
|
|
1252
|
-
],
|
|
1253
|
-
"events": [
|
|
1254
|
-
{
|
|
1255
|
-
"description": "Fires a custom 'change' event when the button is invoked",
|
|
1256
|
-
"name": "change",
|
|
1257
|
-
"inheritedFrom": {
|
|
1258
|
-
"name": "AccordionItem",
|
|
1259
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1260
|
-
}
|
|
1261
|
-
}
|
|
1262
|
-
]
|
|
1263
|
-
},
|
|
1264
|
-
{
|
|
1265
|
-
"kind": "variable",
|
|
1266
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
1267
|
-
"type": {
|
|
1268
|
-
"text": "ShadowRootInit"
|
|
1269
|
-
},
|
|
1270
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
1271
|
-
},
|
|
1272
|
-
{
|
|
1273
|
-
"kind": "variable",
|
|
1274
|
-
"name": "defaultAccordionItemConfig",
|
|
1275
|
-
"type": {
|
|
1276
|
-
"text": "object"
|
|
1277
|
-
},
|
|
1278
|
-
"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}"
|
|
1279
|
-
},
|
|
1280
|
-
{
|
|
1281
|
-
"kind": "variable",
|
|
1282
|
-
"name": "foundationAccordionItem",
|
|
1283
|
-
"description": "The Foundation Accordion Item",
|
|
1284
|
-
"privacy": "public"
|
|
1285
|
-
}
|
|
1286
|
-
],
|
|
1287
|
-
"exports": [
|
|
1288
|
-
{
|
|
1289
|
-
"kind": "js",
|
|
1290
|
-
"name": "AccordionItem",
|
|
1291
|
-
"declaration": {
|
|
1292
|
-
"name": "AccordionItem",
|
|
1293
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1294
|
-
}
|
|
1295
|
-
},
|
|
1296
|
-
{
|
|
1297
|
-
"kind": "js",
|
|
1298
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
1299
|
-
"declaration": {
|
|
1300
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
1301
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1302
|
-
}
|
|
1303
|
-
},
|
|
1304
|
-
{
|
|
1305
|
-
"kind": "js",
|
|
1306
|
-
"name": "defaultAccordionItemConfig",
|
|
1307
|
-
"declaration": {
|
|
1308
|
-
"name": "defaultAccordionItemConfig",
|
|
1309
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1310
|
-
}
|
|
1311
|
-
},
|
|
1312
|
-
{
|
|
1313
|
-
"kind": "js",
|
|
1314
|
-
"name": "foundationAccordionItem",
|
|
1315
|
-
"declaration": {
|
|
1316
|
-
"name": "foundationAccordionItem",
|
|
1317
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1318
|
-
}
|
|
1319
|
-
}
|
|
1320
|
-
]
|
|
1321
|
-
},
|
|
1322
|
-
{
|
|
1323
|
-
"kind": "javascript-module",
|
|
1324
|
-
"path": "src/accordion-item/index.ts",
|
|
1325
|
-
"declarations": [],
|
|
1326
|
-
"exports": [
|
|
1327
|
-
{
|
|
1328
|
-
"kind": "js",
|
|
1329
|
-
"name": "*",
|
|
1330
|
-
"declaration": {
|
|
1331
|
-
"name": "*",
|
|
1332
|
-
"package": "./accordion-item.template"
|
|
1333
|
-
}
|
|
1334
|
-
},
|
|
1335
|
-
{
|
|
1336
|
-
"kind": "js",
|
|
1337
|
-
"name": "*",
|
|
1338
|
-
"declaration": {
|
|
1339
|
-
"name": "*",
|
|
1340
|
-
"package": "./accordion-item.styles"
|
|
1341
|
-
}
|
|
1342
|
-
},
|
|
1343
|
-
{
|
|
1344
|
-
"kind": "js",
|
|
1345
|
-
"name": "*",
|
|
1346
|
-
"declaration": {
|
|
1347
|
-
"name": "*",
|
|
1348
|
-
"package": "./accordion-item"
|
|
1349
|
-
}
|
|
1350
|
-
}
|
|
1351
|
-
]
|
|
1352
|
-
},
|
|
1353
959
|
{
|
|
1354
960
|
"kind": "javascript-module",
|
|
1355
961
|
"path": "src/_common/affix-mixin.ts",
|
|
@@ -1889,34 +1495,11 @@
|
|
|
1889
1495
|
},
|
|
1890
1496
|
{
|
|
1891
1497
|
"kind": "javascript-module",
|
|
1892
|
-
"path": "src/
|
|
1498
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
1893
1499
|
"declarations": [
|
|
1894
1500
|
{
|
|
1895
1501
|
"kind": "function",
|
|
1896
|
-
"name": "
|
|
1897
|
-
"return": {
|
|
1898
|
-
"type": {
|
|
1899
|
-
"text": "ElementStyles"
|
|
1900
|
-
}
|
|
1901
|
-
},
|
|
1902
|
-
"parameters": [
|
|
1903
|
-
{
|
|
1904
|
-
"name": "context",
|
|
1905
|
-
"type": {
|
|
1906
|
-
"text": "ElementDefinitionContext"
|
|
1907
|
-
}
|
|
1908
|
-
},
|
|
1909
|
-
{
|
|
1910
|
-
"name": "definition",
|
|
1911
|
-
"type": {
|
|
1912
|
-
"text": "FoundationElementDefinition"
|
|
1913
|
-
}
|
|
1914
|
-
}
|
|
1915
|
-
]
|
|
1916
|
-
},
|
|
1917
|
-
{
|
|
1918
|
-
"kind": "function",
|
|
1919
|
-
"name": "foundationActionsMenuStyles",
|
|
1502
|
+
"name": "foundationAccordionStyles",
|
|
1920
1503
|
"return": {
|
|
1921
1504
|
"type": {
|
|
1922
1505
|
"text": "ElementStyles"
|
|
@@ -1941,281 +1524,277 @@
|
|
|
1941
1524
|
"exports": [
|
|
1942
1525
|
{
|
|
1943
1526
|
"kind": "js",
|
|
1944
|
-
"name": "
|
|
1945
|
-
"declaration": {
|
|
1946
|
-
"name": "actionsMenuBaseStyles",
|
|
1947
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1948
|
-
}
|
|
1949
|
-
},
|
|
1950
|
-
{
|
|
1951
|
-
"kind": "js",
|
|
1952
|
-
"name": "foundationActionsMenuStyles",
|
|
1527
|
+
"name": "foundationAccordionStyles",
|
|
1953
1528
|
"declaration": {
|
|
1954
|
-
"name": "
|
|
1955
|
-
"module": "src/
|
|
1529
|
+
"name": "foundationAccordionStyles",
|
|
1530
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
1956
1531
|
}
|
|
1957
1532
|
}
|
|
1958
1533
|
]
|
|
1959
1534
|
},
|
|
1960
1535
|
{
|
|
1961
1536
|
"kind": "javascript-module",
|
|
1962
|
-
"path": "src/
|
|
1537
|
+
"path": "src/accordion/accordion.template.ts",
|
|
1963
1538
|
"declarations": [
|
|
1964
1539
|
{
|
|
1965
1540
|
"kind": "function",
|
|
1966
|
-
"name": "
|
|
1541
|
+
"name": "foundationAccordionTemplate",
|
|
1542
|
+
"return": {
|
|
1543
|
+
"type": {
|
|
1544
|
+
"text": "ViewTemplate<Accordion>"
|
|
1545
|
+
}
|
|
1546
|
+
},
|
|
1967
1547
|
"parameters": [
|
|
1968
1548
|
{
|
|
1969
|
-
"name": "
|
|
1549
|
+
"name": "context",
|
|
1970
1550
|
"type": {
|
|
1971
|
-
"text": "
|
|
1551
|
+
"text": "ElementDefinitionContext"
|
|
1972
1552
|
}
|
|
1973
|
-
}
|
|
1974
|
-
]
|
|
1975
|
-
},
|
|
1976
|
-
{
|
|
1977
|
-
"kind": "function",
|
|
1978
|
-
"name": "singleOptionTemplate",
|
|
1979
|
-
"parameters": [
|
|
1553
|
+
},
|
|
1980
1554
|
{
|
|
1981
|
-
"name": "
|
|
1555
|
+
"name": "definition",
|
|
1982
1556
|
"type": {
|
|
1983
|
-
"text": "
|
|
1557
|
+
"text": "FoundationElementDefinition"
|
|
1984
1558
|
}
|
|
1985
1559
|
}
|
|
1986
1560
|
]
|
|
1987
|
-
},
|
|
1988
|
-
{
|
|
1989
|
-
"kind": "variable",
|
|
1990
|
-
"name": "foundationActionsMenuTemplate",
|
|
1991
|
-
"type": {
|
|
1992
|
-
"text": "ViewTemplate<ActionsMenu>"
|
|
1993
|
-
},
|
|
1994
|
-
"default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
|
|
1995
1561
|
}
|
|
1996
1562
|
],
|
|
1997
1563
|
"exports": [
|
|
1998
1564
|
{
|
|
1999
1565
|
"kind": "js",
|
|
2000
|
-
"name": "
|
|
2001
|
-
"declaration": {
|
|
2002
|
-
"name": "menuTemplate",
|
|
2003
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2004
|
-
}
|
|
2005
|
-
},
|
|
2006
|
-
{
|
|
2007
|
-
"kind": "js",
|
|
2008
|
-
"name": "singleOptionTemplate",
|
|
2009
|
-
"declaration": {
|
|
2010
|
-
"name": "singleOptionTemplate",
|
|
2011
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2012
|
-
}
|
|
2013
|
-
},
|
|
2014
|
-
{
|
|
2015
|
-
"kind": "js",
|
|
2016
|
-
"name": "foundationActionsMenuTemplate",
|
|
1566
|
+
"name": "foundationAccordionTemplate",
|
|
2017
1567
|
"declaration": {
|
|
2018
|
-
"name": "
|
|
2019
|
-
"module": "src/
|
|
1568
|
+
"name": "foundationAccordionTemplate",
|
|
1569
|
+
"module": "src/accordion/accordion.template.ts"
|
|
2020
1570
|
}
|
|
2021
1571
|
}
|
|
2022
1572
|
]
|
|
2023
1573
|
},
|
|
2024
1574
|
{
|
|
2025
1575
|
"kind": "javascript-module",
|
|
2026
|
-
"path": "src/
|
|
1576
|
+
"path": "src/accordion/accordion.ts",
|
|
2027
1577
|
"declarations": [
|
|
2028
1578
|
{
|
|
2029
1579
|
"kind": "class",
|
|
2030
1580
|
"description": "",
|
|
2031
|
-
"name": "
|
|
2032
|
-
"
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
},
|
|
1581
|
+
"name": "Accordion",
|
|
1582
|
+
"superclass": {
|
|
1583
|
+
"name": "FASTAccordion",
|
|
1584
|
+
"package": "@microsoft/fast-foundation"
|
|
1585
|
+
},
|
|
1586
|
+
"tagName": "%%prefix%%-accordion",
|
|
1587
|
+
"customElement": true,
|
|
1588
|
+
"attributes": [
|
|
2040
1589
|
{
|
|
2041
|
-
"
|
|
2042
|
-
"name": "isVertical",
|
|
1590
|
+
"name": "expand-mode",
|
|
2043
1591
|
"type": {
|
|
2044
|
-
"text": "
|
|
2045
|
-
},
|
|
2046
|
-
"default": "false"
|
|
2047
|
-
},
|
|
2048
|
-
{
|
|
2049
|
-
"kind": "field",
|
|
2050
|
-
"name": "addDefaultActions",
|
|
2051
|
-
"type": {
|
|
2052
|
-
"text": "boolean"
|
|
1592
|
+
"text": "AccordionExpandMode"
|
|
2053
1593
|
},
|
|
2054
|
-
"
|
|
2055
|
-
|
|
1594
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1595
|
+
"fieldName": "expandmode",
|
|
1596
|
+
"inheritedFrom": {
|
|
1597
|
+
"name": "Accordion",
|
|
1598
|
+
"module": "src/accordion/accordion.ts"
|
|
1599
|
+
}
|
|
1600
|
+
}
|
|
1601
|
+
],
|
|
1602
|
+
"members": [
|
|
2056
1603
|
{
|
|
2057
1604
|
"kind": "field",
|
|
2058
|
-
"name": "
|
|
1605
|
+
"name": "expandmode",
|
|
2059
1606
|
"type": {
|
|
2060
|
-
"text": "
|
|
1607
|
+
"text": "AccordionExpandMode"
|
|
2061
1608
|
},
|
|
2062
|
-
"
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
"type": {
|
|
2068
|
-
"text": "string"
|
|
1609
|
+
"privacy": "public",
|
|
1610
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1611
|
+
"inheritedFrom": {
|
|
1612
|
+
"name": "Accordion",
|
|
1613
|
+
"module": "src/accordion/accordion.ts"
|
|
2069
1614
|
}
|
|
2070
1615
|
},
|
|
2071
1616
|
{
|
|
2072
1617
|
"kind": "field",
|
|
2073
|
-
"name": "
|
|
1618
|
+
"name": "activeid",
|
|
2074
1619
|
"type": {
|
|
2075
|
-
"text": "
|
|
1620
|
+
"text": "string | null"
|
|
1621
|
+
},
|
|
1622
|
+
"privacy": "private",
|
|
1623
|
+
"inheritedFrom": {
|
|
1624
|
+
"name": "Accordion",
|
|
1625
|
+
"module": "src/accordion/accordion.ts"
|
|
2076
1626
|
}
|
|
2077
1627
|
},
|
|
2078
1628
|
{
|
|
2079
1629
|
"kind": "field",
|
|
2080
|
-
"name": "
|
|
1630
|
+
"name": "activeItemIndex",
|
|
2081
1631
|
"type": {
|
|
2082
|
-
"text": "
|
|
1632
|
+
"text": "number"
|
|
2083
1633
|
},
|
|
2084
|
-
"
|
|
1634
|
+
"privacy": "private",
|
|
1635
|
+
"default": "0",
|
|
1636
|
+
"inheritedFrom": {
|
|
1637
|
+
"name": "Accordion",
|
|
1638
|
+
"module": "src/accordion/accordion.ts"
|
|
1639
|
+
}
|
|
2085
1640
|
},
|
|
2086
1641
|
{
|
|
2087
1642
|
"kind": "field",
|
|
2088
|
-
"name": "
|
|
1643
|
+
"name": "accordionIds",
|
|
2089
1644
|
"type": {
|
|
2090
|
-
"text": "
|
|
1645
|
+
"text": "Array<string | null>"
|
|
2091
1646
|
},
|
|
2092
|
-
"
|
|
1647
|
+
"privacy": "private",
|
|
1648
|
+
"inheritedFrom": {
|
|
1649
|
+
"name": "Accordion",
|
|
1650
|
+
"module": "src/accordion/accordion.ts"
|
|
1651
|
+
}
|
|
2093
1652
|
},
|
|
2094
1653
|
{
|
|
2095
1654
|
"kind": "field",
|
|
2096
|
-
"name": "
|
|
2097
|
-
"
|
|
2098
|
-
|
|
1655
|
+
"name": "change",
|
|
1656
|
+
"privacy": "private",
|
|
1657
|
+
"inheritedFrom": {
|
|
1658
|
+
"name": "Accordion",
|
|
1659
|
+
"module": "src/accordion/accordion.ts"
|
|
2099
1660
|
}
|
|
2100
1661
|
},
|
|
2101
1662
|
{
|
|
2102
|
-
"kind": "
|
|
2103
|
-
"name": "
|
|
2104
|
-
"
|
|
2105
|
-
|
|
1663
|
+
"kind": "method",
|
|
1664
|
+
"name": "findExpandedItem",
|
|
1665
|
+
"privacy": "private",
|
|
1666
|
+
"return": {
|
|
1667
|
+
"type": {
|
|
1668
|
+
"text": "AccordionItem | null"
|
|
1669
|
+
}
|
|
2106
1670
|
},
|
|
2107
|
-
"
|
|
1671
|
+
"inheritedFrom": {
|
|
1672
|
+
"name": "Accordion",
|
|
1673
|
+
"module": "src/accordion/accordion.ts"
|
|
1674
|
+
}
|
|
2108
1675
|
},
|
|
2109
1676
|
{
|
|
2110
1677
|
"kind": "field",
|
|
2111
|
-
"name": "
|
|
2112
|
-
"
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
1678
|
+
"name": "setItems",
|
|
1679
|
+
"privacy": "private",
|
|
1680
|
+
"inheritedFrom": {
|
|
1681
|
+
"name": "Accordion",
|
|
1682
|
+
"module": "src/accordion/accordion.ts"
|
|
1683
|
+
}
|
|
2116
1684
|
},
|
|
2117
1685
|
{
|
|
2118
|
-
"kind": "
|
|
2119
|
-
"name": "
|
|
2120
|
-
"
|
|
2121
|
-
|
|
1686
|
+
"kind": "method",
|
|
1687
|
+
"name": "resetItems",
|
|
1688
|
+
"privacy": "private",
|
|
1689
|
+
"return": {
|
|
1690
|
+
"type": {
|
|
1691
|
+
"text": "void"
|
|
1692
|
+
}
|
|
1693
|
+
},
|
|
1694
|
+
"inheritedFrom": {
|
|
1695
|
+
"name": "Accordion",
|
|
1696
|
+
"module": "src/accordion/accordion.ts"
|
|
2122
1697
|
}
|
|
2123
1698
|
},
|
|
2124
1699
|
{
|
|
2125
1700
|
"kind": "field",
|
|
2126
|
-
"name": "
|
|
2127
|
-
"
|
|
2128
|
-
|
|
1701
|
+
"name": "removeItemListeners",
|
|
1702
|
+
"privacy": "private",
|
|
1703
|
+
"inheritedFrom": {
|
|
1704
|
+
"name": "Accordion",
|
|
1705
|
+
"module": "src/accordion/accordion.ts"
|
|
2129
1706
|
}
|
|
2130
1707
|
},
|
|
2131
1708
|
{
|
|
2132
1709
|
"kind": "field",
|
|
2133
|
-
"name": "
|
|
2134
|
-
"
|
|
2135
|
-
|
|
1710
|
+
"name": "activeItemChange",
|
|
1711
|
+
"privacy": "private",
|
|
1712
|
+
"inheritedFrom": {
|
|
1713
|
+
"name": "Accordion",
|
|
1714
|
+
"module": "src/accordion/accordion.ts"
|
|
2136
1715
|
}
|
|
2137
1716
|
},
|
|
2138
1717
|
{
|
|
2139
1718
|
"kind": "method",
|
|
2140
|
-
"name": "
|
|
2141
|
-
"privacy": "private"
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
"name": "definitionChanged",
|
|
2146
|
-
"privacy": "protected",
|
|
2147
|
-
"parameters": [
|
|
2148
|
-
{
|
|
2149
|
-
"name": "oldValue",
|
|
2150
|
-
"type": {
|
|
2151
|
-
"text": "any"
|
|
2152
|
-
}
|
|
2153
|
-
},
|
|
2154
|
-
{
|
|
2155
|
-
"name": "newValue",
|
|
2156
|
-
"type": {
|
|
2157
|
-
"text": "any"
|
|
2158
|
-
}
|
|
1719
|
+
"name": "getItemIds",
|
|
1720
|
+
"privacy": "private",
|
|
1721
|
+
"return": {
|
|
1722
|
+
"type": {
|
|
1723
|
+
"text": "Array<string | null>"
|
|
2159
1724
|
}
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
"privacy": "protected"
|
|
2166
|
-
},
|
|
2167
|
-
{
|
|
2168
|
-
"kind": "method",
|
|
2169
|
-
"name": "toggleActionsMenuVisibility"
|
|
1725
|
+
},
|
|
1726
|
+
"inheritedFrom": {
|
|
1727
|
+
"name": "Accordion",
|
|
1728
|
+
"module": "src/accordion/accordion.ts"
|
|
1729
|
+
}
|
|
2170
1730
|
},
|
|
2171
1731
|
{
|
|
2172
1732
|
"kind": "method",
|
|
2173
|
-
"name": "
|
|
2174
|
-
"
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
"
|
|
2178
|
-
"text": "(rowData) => void | any"
|
|
2179
|
-
}
|
|
1733
|
+
"name": "isSingleExpandMode",
|
|
1734
|
+
"privacy": "private",
|
|
1735
|
+
"return": {
|
|
1736
|
+
"type": {
|
|
1737
|
+
"text": "boolean"
|
|
2180
1738
|
}
|
|
2181
|
-
|
|
1739
|
+
},
|
|
1740
|
+
"inheritedFrom": {
|
|
1741
|
+
"name": "Accordion",
|
|
1742
|
+
"module": "src/accordion/accordion.ts"
|
|
1743
|
+
}
|
|
2182
1744
|
},
|
|
2183
1745
|
{
|
|
2184
1746
|
"kind": "field",
|
|
2185
|
-
"name": "
|
|
2186
|
-
"
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
1747
|
+
"name": "handleItemKeyDown",
|
|
1748
|
+
"privacy": "private",
|
|
1749
|
+
"inheritedFrom": {
|
|
1750
|
+
"name": "Accordion",
|
|
1751
|
+
"module": "src/accordion/accordion.ts"
|
|
1752
|
+
}
|
|
2190
1753
|
},
|
|
2191
1754
|
{
|
|
2192
1755
|
"kind": "field",
|
|
2193
|
-
"name": "
|
|
2194
|
-
"
|
|
1756
|
+
"name": "handleItemFocus",
|
|
1757
|
+
"privacy": "private",
|
|
1758
|
+
"inheritedFrom": {
|
|
1759
|
+
"name": "Accordion",
|
|
1760
|
+
"module": "src/accordion/accordion.ts"
|
|
1761
|
+
}
|
|
2195
1762
|
},
|
|
2196
1763
|
{
|
|
2197
1764
|
"kind": "method",
|
|
2198
|
-
"name": "
|
|
1765
|
+
"name": "adjust",
|
|
1766
|
+
"privacy": "private",
|
|
1767
|
+
"return": {
|
|
1768
|
+
"type": {
|
|
1769
|
+
"text": "void"
|
|
1770
|
+
}
|
|
1771
|
+
},
|
|
2199
1772
|
"parameters": [
|
|
2200
1773
|
{
|
|
2201
|
-
"name": "
|
|
1774
|
+
"name": "adjustment",
|
|
2202
1775
|
"type": {
|
|
2203
|
-
"text": "
|
|
1776
|
+
"text": "number"
|
|
2204
1777
|
}
|
|
2205
1778
|
}
|
|
2206
|
-
]
|
|
1779
|
+
],
|
|
1780
|
+
"inheritedFrom": {
|
|
1781
|
+
"name": "Accordion",
|
|
1782
|
+
"module": "src/accordion/accordion.ts"
|
|
1783
|
+
}
|
|
2207
1784
|
},
|
|
2208
1785
|
{
|
|
2209
1786
|
"kind": "method",
|
|
2210
|
-
"name": "
|
|
2211
|
-
"
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
"
|
|
2215
|
-
"text": "string"
|
|
2216
|
-
}
|
|
1787
|
+
"name": "focusItem",
|
|
1788
|
+
"privacy": "private",
|
|
1789
|
+
"return": {
|
|
1790
|
+
"type": {
|
|
1791
|
+
"text": "void"
|
|
2217
1792
|
}
|
|
2218
|
-
|
|
1793
|
+
},
|
|
1794
|
+
"inheritedFrom": {
|
|
1795
|
+
"name": "Accordion",
|
|
1796
|
+
"module": "src/accordion/accordion.ts"
|
|
1797
|
+
}
|
|
2219
1798
|
},
|
|
2220
1799
|
{
|
|
2221
1800
|
"kind": "field",
|
|
@@ -2329,107 +1908,78 @@
|
|
|
2329
1908
|
}
|
|
2330
1909
|
}
|
|
2331
1910
|
],
|
|
2332
|
-
"
|
|
2333
|
-
{
|
|
2334
|
-
"name": "is-vertical",
|
|
2335
|
-
"type": {
|
|
2336
|
-
"text": "boolean"
|
|
2337
|
-
},
|
|
2338
|
-
"default": "false",
|
|
2339
|
-
"fieldName": "isVertical"
|
|
2340
|
-
},
|
|
2341
|
-
{
|
|
2342
|
-
"name": "add-default-actions",
|
|
2343
|
-
"type": {
|
|
2344
|
-
"text": "boolean"
|
|
2345
|
-
},
|
|
2346
|
-
"default": "true",
|
|
2347
|
-
"fieldName": "addDefaultActions"
|
|
2348
|
-
},
|
|
2349
|
-
{
|
|
2350
|
-
"name": "auto-close-on-action",
|
|
2351
|
-
"type": {
|
|
2352
|
-
"text": "boolean"
|
|
2353
|
-
},
|
|
2354
|
-
"default": "true",
|
|
2355
|
-
"fieldName": "autoCloseOnAction"
|
|
2356
|
-
},
|
|
2357
|
-
{
|
|
2358
|
-
"name": "name",
|
|
2359
|
-
"type": {
|
|
2360
|
-
"text": "string"
|
|
2361
|
-
},
|
|
2362
|
-
"default": "'Actions'",
|
|
2363
|
-
"fieldName": "name"
|
|
2364
|
-
},
|
|
2365
|
-
{
|
|
2366
|
-
"name": "open",
|
|
2367
|
-
"type": {
|
|
2368
|
-
"text": "boolean"
|
|
2369
|
-
},
|
|
2370
|
-
"default": "false",
|
|
2371
|
-
"fieldName": "open"
|
|
2372
|
-
},
|
|
2373
|
-
{
|
|
2374
|
-
"name": "buttonAppearance",
|
|
2375
|
-
"type": {
|
|
2376
|
-
"text": "string"
|
|
2377
|
-
},
|
|
2378
|
-
"fieldName": "buttonAppearance"
|
|
2379
|
-
},
|
|
2380
|
-
{
|
|
2381
|
-
"name": "hide-disabled",
|
|
2382
|
-
"type": {
|
|
2383
|
-
"text": "boolean"
|
|
2384
|
-
},
|
|
2385
|
-
"default": "false",
|
|
2386
|
-
"fieldName": "hideDisabled"
|
|
2387
|
-
},
|
|
1911
|
+
"events": [
|
|
2388
1912
|
{
|
|
2389
|
-
"
|
|
2390
|
-
"
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
1913
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
1914
|
+
"name": "change",
|
|
1915
|
+
"inheritedFrom": {
|
|
1916
|
+
"name": "Accordion",
|
|
1917
|
+
"module": "src/accordion/accordion.ts"
|
|
1918
|
+
}
|
|
2395
1919
|
}
|
|
2396
|
-
]
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
1920
|
+
]
|
|
1921
|
+
},
|
|
1922
|
+
{
|
|
1923
|
+
"kind": "variable",
|
|
1924
|
+
"name": "foundationAccordionShadowOptions",
|
|
1925
|
+
"type": {
|
|
1926
|
+
"text": "ShadowRootInit"
|
|
2400
1927
|
},
|
|
2401
|
-
"
|
|
2402
|
-
"customElement": true
|
|
1928
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2403
1929
|
},
|
|
2404
1930
|
{
|
|
2405
1931
|
"kind": "variable",
|
|
2406
|
-
"name": "
|
|
2407
|
-
"
|
|
1932
|
+
"name": "defaultAccordionConfig",
|
|
1933
|
+
"type": {
|
|
1934
|
+
"text": "object"
|
|
1935
|
+
},
|
|
1936
|
+
"default": "{}"
|
|
1937
|
+
},
|
|
1938
|
+
{
|
|
1939
|
+
"kind": "variable",
|
|
1940
|
+
"name": "foundationAccordion",
|
|
1941
|
+
"description": "The Foundation Accordion",
|
|
2408
1942
|
"privacy": "public"
|
|
2409
1943
|
}
|
|
2410
1944
|
],
|
|
2411
1945
|
"exports": [
|
|
2412
1946
|
{
|
|
2413
1947
|
"kind": "js",
|
|
2414
|
-
"name": "
|
|
1948
|
+
"name": "Accordion",
|
|
2415
1949
|
"declaration": {
|
|
2416
|
-
"name": "
|
|
2417
|
-
"module": "src/
|
|
1950
|
+
"name": "Accordion",
|
|
1951
|
+
"module": "src/accordion/accordion.ts"
|
|
2418
1952
|
}
|
|
2419
1953
|
},
|
|
2420
1954
|
{
|
|
2421
1955
|
"kind": "js",
|
|
2422
|
-
"name": "
|
|
1956
|
+
"name": "foundationAccordionShadowOptions",
|
|
2423
1957
|
"declaration": {
|
|
2424
|
-
"name": "
|
|
2425
|
-
"module": "src/
|
|
1958
|
+
"name": "foundationAccordionShadowOptions",
|
|
1959
|
+
"module": "src/accordion/accordion.ts"
|
|
1960
|
+
}
|
|
1961
|
+
},
|
|
1962
|
+
{
|
|
1963
|
+
"kind": "js",
|
|
1964
|
+
"name": "defaultAccordionConfig",
|
|
1965
|
+
"declaration": {
|
|
1966
|
+
"name": "defaultAccordionConfig",
|
|
1967
|
+
"module": "src/accordion/accordion.ts"
|
|
1968
|
+
}
|
|
1969
|
+
},
|
|
1970
|
+
{
|
|
1971
|
+
"kind": "js",
|
|
1972
|
+
"name": "foundationAccordion",
|
|
1973
|
+
"declaration": {
|
|
1974
|
+
"name": "foundationAccordion",
|
|
1975
|
+
"module": "src/accordion/accordion.ts"
|
|
2426
1976
|
}
|
|
2427
1977
|
}
|
|
2428
1978
|
]
|
|
2429
1979
|
},
|
|
2430
1980
|
{
|
|
2431
1981
|
"kind": "javascript-module",
|
|
2432
|
-
"path": "src/
|
|
1982
|
+
"path": "src/accordion/index.ts",
|
|
2433
1983
|
"declarations": [],
|
|
2434
1984
|
"exports": [
|
|
2435
1985
|
{
|
|
@@ -2437,7 +1987,7 @@
|
|
|
2437
1987
|
"name": "*",
|
|
2438
1988
|
"declaration": {
|
|
2439
1989
|
"name": "*",
|
|
2440
|
-
"package": "./
|
|
1990
|
+
"package": "./accordion.template"
|
|
2441
1991
|
}
|
|
2442
1992
|
},
|
|
2443
1993
|
{
|
|
@@ -2445,7 +1995,7 @@
|
|
|
2445
1995
|
"name": "*",
|
|
2446
1996
|
"declaration": {
|
|
2447
1997
|
"name": "*",
|
|
2448
|
-
"package": "./
|
|
1998
|
+
"package": "./accordion.styles"
|
|
2449
1999
|
}
|
|
2450
2000
|
},
|
|
2451
2001
|
{
|
|
@@ -2453,265 +2003,224 @@
|
|
|
2453
2003
|
"name": "*",
|
|
2454
2004
|
"declaration": {
|
|
2455
2005
|
"name": "*",
|
|
2456
|
-
"package": "./
|
|
2006
|
+
"package": "./accordion"
|
|
2457
2007
|
}
|
|
2458
2008
|
}
|
|
2459
2009
|
]
|
|
2460
2010
|
},
|
|
2461
2011
|
{
|
|
2462
2012
|
"kind": "javascript-module",
|
|
2463
|
-
"path": "src/
|
|
2013
|
+
"path": "src/_config/index.ts",
|
|
2014
|
+
"declarations": [],
|
|
2015
|
+
"exports": [
|
|
2016
|
+
{
|
|
2017
|
+
"kind": "js",
|
|
2018
|
+
"name": "*",
|
|
2019
|
+
"declaration": {
|
|
2020
|
+
"name": "*",
|
|
2021
|
+
"package": "./styles"
|
|
2022
|
+
}
|
|
2023
|
+
},
|
|
2024
|
+
{
|
|
2025
|
+
"kind": "js",
|
|
2026
|
+
"name": "*",
|
|
2027
|
+
"declaration": {
|
|
2028
|
+
"name": "*",
|
|
2029
|
+
"package": "./tokens"
|
|
2030
|
+
}
|
|
2031
|
+
},
|
|
2032
|
+
{
|
|
2033
|
+
"kind": "js",
|
|
2034
|
+
"name": "*",
|
|
2035
|
+
"declaration": {
|
|
2036
|
+
"name": "*",
|
|
2037
|
+
"package": "./values"
|
|
2038
|
+
}
|
|
2039
|
+
}
|
|
2040
|
+
]
|
|
2041
|
+
},
|
|
2042
|
+
{
|
|
2043
|
+
"kind": "javascript-module",
|
|
2044
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
2464
2045
|
"declarations": [
|
|
2465
2046
|
{
|
|
2466
|
-
"kind": "
|
|
2467
|
-
"name": "
|
|
2468
|
-
"
|
|
2047
|
+
"kind": "function",
|
|
2048
|
+
"name": "foundationAccordionItemStyles",
|
|
2049
|
+
"return": {
|
|
2050
|
+
"type": {
|
|
2051
|
+
"text": "ElementStyles"
|
|
2052
|
+
}
|
|
2053
|
+
},
|
|
2054
|
+
"parameters": [
|
|
2055
|
+
{
|
|
2056
|
+
"name": "context",
|
|
2057
|
+
"type": {
|
|
2058
|
+
"text": "ElementDefinitionContext"
|
|
2059
|
+
}
|
|
2060
|
+
},
|
|
2061
|
+
{
|
|
2062
|
+
"name": "definition",
|
|
2063
|
+
"type": {
|
|
2064
|
+
"text": "FoundationElementDefinition"
|
|
2065
|
+
}
|
|
2066
|
+
}
|
|
2067
|
+
]
|
|
2469
2068
|
}
|
|
2470
2069
|
],
|
|
2471
2070
|
"exports": [
|
|
2472
2071
|
{
|
|
2473
2072
|
"kind": "js",
|
|
2474
|
-
"name": "
|
|
2073
|
+
"name": "foundationAccordionItemStyles",
|
|
2475
2074
|
"declaration": {
|
|
2476
|
-
"name": "
|
|
2477
|
-
"module": "src/
|
|
2075
|
+
"name": "foundationAccordionItemStyles",
|
|
2076
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
2478
2077
|
}
|
|
2479
2078
|
}
|
|
2480
2079
|
]
|
|
2481
2080
|
},
|
|
2482
2081
|
{
|
|
2483
2082
|
"kind": "javascript-module",
|
|
2484
|
-
"path": "src/
|
|
2083
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
2485
2084
|
"declarations": [
|
|
2486
2085
|
{
|
|
2487
|
-
"kind": "
|
|
2488
|
-
"name": "
|
|
2489
|
-
"
|
|
2490
|
-
"
|
|
2086
|
+
"kind": "function",
|
|
2087
|
+
"name": "foundationAccordionItemTemplate",
|
|
2088
|
+
"return": {
|
|
2089
|
+
"type": {
|
|
2090
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
2091
|
+
}
|
|
2491
2092
|
},
|
|
2492
|
-
"
|
|
2093
|
+
"parameters": [
|
|
2094
|
+
{
|
|
2095
|
+
"name": "context",
|
|
2096
|
+
"type": {
|
|
2097
|
+
"text": "ElementDefinitionContext"
|
|
2098
|
+
}
|
|
2099
|
+
},
|
|
2100
|
+
{
|
|
2101
|
+
"name": "definition",
|
|
2102
|
+
"type": {
|
|
2103
|
+
"text": "FoundationElementDefinition"
|
|
2104
|
+
}
|
|
2105
|
+
}
|
|
2106
|
+
]
|
|
2493
2107
|
}
|
|
2494
2108
|
],
|
|
2495
2109
|
"exports": [
|
|
2496
2110
|
{
|
|
2497
2111
|
"kind": "js",
|
|
2498
|
-
"name": "
|
|
2112
|
+
"name": "foundationAccordionItemTemplate",
|
|
2499
2113
|
"declaration": {
|
|
2500
|
-
"name": "
|
|
2501
|
-
"module": "src/
|
|
2114
|
+
"name": "foundationAccordionItemTemplate",
|
|
2115
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
2502
2116
|
}
|
|
2503
2117
|
}
|
|
2504
2118
|
]
|
|
2505
2119
|
},
|
|
2506
2120
|
{
|
|
2507
2121
|
"kind": "javascript-module",
|
|
2508
|
-
"path": "src/
|
|
2122
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
2509
2123
|
"declarations": [
|
|
2510
2124
|
{
|
|
2511
2125
|
"kind": "class",
|
|
2512
|
-
"description": "
|
|
2513
|
-
"name": "
|
|
2514
|
-
"
|
|
2126
|
+
"description": "",
|
|
2127
|
+
"name": "AccordionItem",
|
|
2128
|
+
"superclass": {
|
|
2129
|
+
"name": "FASTAccordionItem",
|
|
2130
|
+
"package": "@microsoft/fast-components"
|
|
2131
|
+
},
|
|
2132
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
2133
|
+
"customElement": true,
|
|
2134
|
+
"attributes": [
|
|
2515
2135
|
{
|
|
2516
|
-
"
|
|
2517
|
-
"name": "providerRegistry",
|
|
2136
|
+
"name": "heading-level",
|
|
2518
2137
|
"type": {
|
|
2519
|
-
"text": "
|
|
2138
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
2139
|
+
},
|
|
2140
|
+
"default": "2",
|
|
2141
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
2142
|
+
"fieldName": "headinglevel",
|
|
2143
|
+
"inheritedFrom": {
|
|
2144
|
+
"name": "AccordionItem",
|
|
2145
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2520
2146
|
}
|
|
2521
2147
|
},
|
|
2522
2148
|
{
|
|
2523
|
-
"kind": "field",
|
|
2524
|
-
"name": "placeholder",
|
|
2525
2149
|
"type": {
|
|
2526
|
-
"text": "
|
|
2150
|
+
"text": "boolean"
|
|
2527
2151
|
},
|
|
2528
|
-
"default": "
|
|
2152
|
+
"default": "false",
|
|
2153
|
+
"description": "Expands or collapses the item.",
|
|
2154
|
+
"fieldName": "expanded",
|
|
2155
|
+
"inheritedFrom": {
|
|
2156
|
+
"name": "AccordionItem",
|
|
2157
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2158
|
+
}
|
|
2529
2159
|
},
|
|
2530
2160
|
{
|
|
2531
|
-
"
|
|
2532
|
-
"name": "disabled",
|
|
2533
|
-
"type": {
|
|
2534
|
-
"text": "boolean"
|
|
2535
|
-
}
|
|
2536
|
-
},
|
|
2537
|
-
{
|
|
2538
|
-
"kind": "field",
|
|
2539
|
-
"name": "inputValue",
|
|
2161
|
+
"name": "id",
|
|
2540
2162
|
"type": {
|
|
2541
2163
|
"text": "string"
|
|
2542
2164
|
},
|
|
2543
|
-
"
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
},
|
|
2553
|
-
{
|
|
2554
|
-
"kind": "field",
|
|
2555
|
-
"name": "lastValidCriteria",
|
|
2556
|
-
"type": {
|
|
2557
|
-
"text": "string | null"
|
|
2558
|
-
},
|
|
2559
|
-
"default": "null"
|
|
2560
|
-
},
|
|
2561
|
-
{
|
|
2562
|
-
"kind": "field",
|
|
2563
|
-
"name": "activeGroups",
|
|
2564
|
-
"type": {
|
|
2565
|
-
"text": "CriteriaGroup[]"
|
|
2566
|
-
},
|
|
2567
|
-
"default": "[]"
|
|
2568
|
-
},
|
|
2569
|
-
{
|
|
2570
|
-
"kind": "field",
|
|
2571
|
-
"name": "showingChips",
|
|
2572
|
-
"type": {
|
|
2573
|
-
"text": "boolean"
|
|
2574
|
-
},
|
|
2575
|
-
"default": "false"
|
|
2576
|
-
},
|
|
2165
|
+
"description": "The item ID",
|
|
2166
|
+
"fieldName": "id",
|
|
2167
|
+
"inheritedFrom": {
|
|
2168
|
+
"name": "AccordionItem",
|
|
2169
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2170
|
+
}
|
|
2171
|
+
}
|
|
2172
|
+
],
|
|
2173
|
+
"members": [
|
|
2577
2174
|
{
|
|
2578
2175
|
"kind": "field",
|
|
2579
|
-
"name": "
|
|
2176
|
+
"name": "headinglevel",
|
|
2580
2177
|
"type": {
|
|
2581
|
-
"text": "
|
|
2178
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
2582
2179
|
},
|
|
2583
|
-
"
|
|
2180
|
+
"privacy": "public",
|
|
2181
|
+
"default": "2",
|
|
2182
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
2183
|
+
"inheritedFrom": {
|
|
2184
|
+
"name": "AccordionItem",
|
|
2185
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2186
|
+
}
|
|
2584
2187
|
},
|
|
2585
2188
|
{
|
|
2586
2189
|
"kind": "field",
|
|
2587
|
-
"name": "
|
|
2190
|
+
"name": "expanded",
|
|
2588
2191
|
"type": {
|
|
2589
2192
|
"text": "boolean"
|
|
2590
2193
|
},
|
|
2591
|
-
"
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
"
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
},
|
|
2599
|
-
"privacy": "public"
|
|
2600
|
-
},
|
|
2601
|
-
{
|
|
2602
|
-
"kind": "field",
|
|
2603
|
-
"name": "stopRecording",
|
|
2604
|
-
"type": {
|
|
2605
|
-
"text": "(() => void) | null"
|
|
2606
|
-
},
|
|
2607
|
-
"privacy": "private",
|
|
2608
|
-
"default": "null"
|
|
2609
|
-
},
|
|
2610
|
-
{
|
|
2611
|
-
"kind": "field",
|
|
2612
|
-
"name": "speechApplyDebounceTimer",
|
|
2613
|
-
"type": {
|
|
2614
|
-
"text": "ReturnType<typeof setTimeout> | null"
|
|
2615
|
-
},
|
|
2616
|
-
"privacy": "private",
|
|
2617
|
-
"default": "null"
|
|
2194
|
+
"privacy": "public",
|
|
2195
|
+
"default": "false",
|
|
2196
|
+
"description": "Expands or collapses the item.",
|
|
2197
|
+
"inheritedFrom": {
|
|
2198
|
+
"name": "AccordionItem",
|
|
2199
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2200
|
+
}
|
|
2618
2201
|
},
|
|
2619
2202
|
{
|
|
2620
2203
|
"kind": "field",
|
|
2621
|
-
"name": "
|
|
2204
|
+
"name": "id",
|
|
2622
2205
|
"type": {
|
|
2623
|
-
"text": "
|
|
2206
|
+
"text": "string"
|
|
2624
2207
|
},
|
|
2625
|
-
"
|
|
2208
|
+
"privacy": "public",
|
|
2209
|
+
"description": "The item ID",
|
|
2210
|
+
"inheritedFrom": {
|
|
2211
|
+
"name": "AccordionItem",
|
|
2212
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2213
|
+
}
|
|
2626
2214
|
},
|
|
2627
2215
|
{
|
|
2628
2216
|
"kind": "field",
|
|
2629
|
-
"name": "
|
|
2630
|
-
"type": {
|
|
2631
|
-
"text": "CriteriaChip[]"
|
|
2632
|
-
},
|
|
2633
|
-
"readonly": true
|
|
2634
|
-
},
|
|
2635
|
-
{
|
|
2636
|
-
"kind": "method",
|
|
2637
|
-
"name": "getFieldLabel",
|
|
2217
|
+
"name": "change",
|
|
2638
2218
|
"privacy": "private",
|
|
2639
|
-
"
|
|
2640
|
-
"
|
|
2641
|
-
|
|
2642
|
-
}
|
|
2643
|
-
},
|
|
2644
|
-
"parameters": [
|
|
2645
|
-
{
|
|
2646
|
-
"name": "fieldName",
|
|
2647
|
-
"type": {
|
|
2648
|
-
"text": "string"
|
|
2649
|
-
}
|
|
2650
|
-
}
|
|
2651
|
-
]
|
|
2652
|
-
},
|
|
2653
|
-
{
|
|
2654
|
-
"kind": "method",
|
|
2655
|
-
"name": "toggleCriteriaView",
|
|
2656
|
-
"return": {
|
|
2657
|
-
"type": {
|
|
2658
|
-
"text": "void"
|
|
2659
|
-
}
|
|
2660
|
-
}
|
|
2661
|
-
},
|
|
2662
|
-
{
|
|
2663
|
-
"kind": "method",
|
|
2664
|
-
"name": "removeChip",
|
|
2665
|
-
"return": {
|
|
2666
|
-
"type": {
|
|
2667
|
-
"text": "void"
|
|
2668
|
-
}
|
|
2669
|
-
},
|
|
2670
|
-
"parameters": [
|
|
2671
|
-
{
|
|
2672
|
-
"name": "groupIndex",
|
|
2673
|
-
"type": {
|
|
2674
|
-
"text": "number"
|
|
2675
|
-
}
|
|
2676
|
-
},
|
|
2677
|
-
{
|
|
2678
|
-
"name": "clauseIndex",
|
|
2679
|
-
"type": {
|
|
2680
|
-
"text": "number"
|
|
2681
|
-
}
|
|
2682
|
-
}
|
|
2683
|
-
]
|
|
2684
|
-
},
|
|
2685
|
-
{
|
|
2686
|
-
"kind": "method",
|
|
2687
|
-
"name": "clearChips",
|
|
2688
|
-
"return": {
|
|
2689
|
-
"type": {
|
|
2690
|
-
"text": "void"
|
|
2691
|
-
}
|
|
2219
|
+
"inheritedFrom": {
|
|
2220
|
+
"name": "AccordionItem",
|
|
2221
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2692
2222
|
}
|
|
2693
2223
|
},
|
|
2694
|
-
{
|
|
2695
|
-
"kind": "method",
|
|
2696
|
-
"name": "handleSubmit"
|
|
2697
|
-
},
|
|
2698
|
-
{
|
|
2699
|
-
"kind": "method",
|
|
2700
|
-
"name": "handleBlur"
|
|
2701
|
-
},
|
|
2702
|
-
{
|
|
2703
|
-
"kind": "method",
|
|
2704
|
-
"name": "clear"
|
|
2705
|
-
},
|
|
2706
|
-
{
|
|
2707
|
-
"kind": "method",
|
|
2708
|
-
"name": "toggleSpeechInput"
|
|
2709
|
-
},
|
|
2710
|
-
{
|
|
2711
|
-
"kind": "method",
|
|
2712
|
-
"name": "clearSpeechApplyDebounce",
|
|
2713
|
-
"privacy": "private"
|
|
2714
|
-
},
|
|
2715
2224
|
{
|
|
2716
2225
|
"kind": "field",
|
|
2717
2226
|
"name": "_presentation",
|
|
@@ -2826,152 +2335,84 @@
|
|
|
2826
2335
|
],
|
|
2827
2336
|
"events": [
|
|
2828
2337
|
{
|
|
2829
|
-
"description": "
|
|
2830
|
-
"name": "
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
}
|
|
2836
|
-
],
|
|
2837
|
-
"attributes": [
|
|
2838
|
-
{
|
|
2839
|
-
"name": "placeholder",
|
|
2840
|
-
"type": {
|
|
2841
|
-
"text": "string"
|
|
2842
|
-
},
|
|
2843
|
-
"default": "'Describe your search criteria in natural language...'",
|
|
2844
|
-
"fieldName": "placeholder"
|
|
2845
|
-
},
|
|
2846
|
-
{
|
|
2847
|
-
"type": {
|
|
2848
|
-
"text": "boolean"
|
|
2849
|
-
},
|
|
2850
|
-
"fieldName": "disabled"
|
|
2338
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
2339
|
+
"name": "change",
|
|
2340
|
+
"inheritedFrom": {
|
|
2341
|
+
"name": "AccordionItem",
|
|
2342
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2343
|
+
}
|
|
2851
2344
|
}
|
|
2852
|
-
]
|
|
2853
|
-
"superclass": {
|
|
2854
|
-
"name": "FoundationElement",
|
|
2855
|
-
"package": "@microsoft/fast-foundation"
|
|
2856
|
-
},
|
|
2857
|
-
"tagName": "%%prefix%%-ai-criteria-search",
|
|
2858
|
-
"customElement": true
|
|
2345
|
+
]
|
|
2859
2346
|
},
|
|
2860
2347
|
{
|
|
2861
2348
|
"kind": "variable",
|
|
2862
|
-
"name": "
|
|
2349
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2863
2350
|
"type": {
|
|
2864
2351
|
"text": "ShadowRootInit"
|
|
2865
2352
|
},
|
|
2866
|
-
"default": "
|
|
2353
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2867
2354
|
},
|
|
2868
2355
|
{
|
|
2869
2356
|
"kind": "variable",
|
|
2870
|
-
"name": "
|
|
2357
|
+
"name": "defaultAccordionItemConfig",
|
|
2871
2358
|
"type": {
|
|
2872
2359
|
"text": "object"
|
|
2873
2360
|
},
|
|
2874
|
-
"default": "{}"
|
|
2361
|
+
"default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
|
|
2875
2362
|
},
|
|
2876
2363
|
{
|
|
2877
2364
|
"kind": "variable",
|
|
2878
|
-
"name": "
|
|
2365
|
+
"name": "foundationAccordionItem",
|
|
2366
|
+
"description": "The Foundation Accordion Item",
|
|
2367
|
+
"privacy": "public"
|
|
2879
2368
|
}
|
|
2880
2369
|
],
|
|
2881
2370
|
"exports": [
|
|
2882
2371
|
{
|
|
2883
2372
|
"kind": "js",
|
|
2884
|
-
"name": "
|
|
2373
|
+
"name": "AccordionItem",
|
|
2885
2374
|
"declaration": {
|
|
2886
|
-
"name": "
|
|
2887
|
-
"module": "src/
|
|
2375
|
+
"name": "AccordionItem",
|
|
2376
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2888
2377
|
}
|
|
2889
2378
|
},
|
|
2890
2379
|
{
|
|
2891
2380
|
"kind": "js",
|
|
2892
|
-
"name": "
|
|
2381
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2893
2382
|
"declaration": {
|
|
2894
|
-
"name": "
|
|
2895
|
-
"module": "src/
|
|
2383
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2384
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2896
2385
|
}
|
|
2897
2386
|
},
|
|
2898
2387
|
{
|
|
2899
2388
|
"kind": "js",
|
|
2900
|
-
"name": "
|
|
2389
|
+
"name": "defaultAccordionItemConfig",
|
|
2901
2390
|
"declaration": {
|
|
2902
|
-
"name": "
|
|
2903
|
-
"module": "src/
|
|
2391
|
+
"name": "defaultAccordionItemConfig",
|
|
2392
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2904
2393
|
}
|
|
2905
2394
|
},
|
|
2906
2395
|
{
|
|
2907
2396
|
"kind": "js",
|
|
2908
|
-
"name": "
|
|
2397
|
+
"name": "foundationAccordionItem",
|
|
2909
2398
|
"declaration": {
|
|
2910
|
-
"name": "
|
|
2911
|
-
"module": "src/
|
|
2399
|
+
"name": "foundationAccordionItem",
|
|
2400
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2912
2401
|
}
|
|
2913
2402
|
}
|
|
2914
2403
|
]
|
|
2915
2404
|
},
|
|
2916
2405
|
{
|
|
2917
2406
|
"kind": "javascript-module",
|
|
2918
|
-
"path": "src/
|
|
2407
|
+
"path": "src/accordion-item/index.ts",
|
|
2919
2408
|
"declarations": [],
|
|
2920
2409
|
"exports": [
|
|
2921
|
-
{
|
|
2922
|
-
"kind": "js",
|
|
2923
|
-
"name": "AiCriteriaSearch",
|
|
2924
|
-
"declaration": {
|
|
2925
|
-
"name": "AiCriteriaSearch",
|
|
2926
|
-
"module": "./ai-criteria-search"
|
|
2927
|
-
}
|
|
2928
|
-
},
|
|
2929
|
-
{
|
|
2930
|
-
"kind": "js",
|
|
2931
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2932
|
-
"declaration": {
|
|
2933
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2934
|
-
"module": "./ai-criteria-search"
|
|
2935
|
-
}
|
|
2936
|
-
},
|
|
2937
|
-
{
|
|
2938
|
-
"kind": "js",
|
|
2939
|
-
"name": "foundationAiCriteriaSearch",
|
|
2940
|
-
"declaration": {
|
|
2941
|
-
"name": "foundationAiCriteriaSearch",
|
|
2942
|
-
"module": "./ai-criteria-search"
|
|
2943
|
-
}
|
|
2944
|
-
},
|
|
2945
|
-
{
|
|
2946
|
-
"kind": "js",
|
|
2947
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2948
|
-
"declaration": {
|
|
2949
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2950
|
-
"module": "./ai-criteria-search"
|
|
2951
|
-
}
|
|
2952
|
-
},
|
|
2953
|
-
{
|
|
2954
|
-
"kind": "js",
|
|
2955
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2956
|
-
"declaration": {
|
|
2957
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2958
|
-
"module": "./ai-criteria-search.styles"
|
|
2959
|
-
}
|
|
2960
|
-
},
|
|
2961
|
-
{
|
|
2962
|
-
"kind": "js",
|
|
2963
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2964
|
-
"declaration": {
|
|
2965
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2966
|
-
"module": "./ai-criteria-search.template"
|
|
2967
|
-
}
|
|
2968
|
-
},
|
|
2969
2410
|
{
|
|
2970
2411
|
"kind": "js",
|
|
2971
2412
|
"name": "*",
|
|
2972
2413
|
"declaration": {
|
|
2973
2414
|
"name": "*",
|
|
2974
|
-
"package": "./
|
|
2415
|
+
"package": "./accordion-item.template"
|
|
2975
2416
|
}
|
|
2976
2417
|
},
|
|
2977
2418
|
{
|
|
@@ -2979,7 +2420,7 @@
|
|
|
2979
2420
|
"name": "*",
|
|
2980
2421
|
"declaration": {
|
|
2981
2422
|
"name": "*",
|
|
2982
|
-
"package": "./
|
|
2423
|
+
"package": "./accordion-item.styles"
|
|
2983
2424
|
}
|
|
2984
2425
|
},
|
|
2985
2426
|
{
|
|
@@ -2987,93 +2428,41 @@
|
|
|
2987
2428
|
"name": "*",
|
|
2988
2429
|
"declaration": {
|
|
2989
2430
|
"name": "*",
|
|
2990
|
-
"package": "./
|
|
2431
|
+
"package": "./accordion-item"
|
|
2991
2432
|
}
|
|
2992
2433
|
}
|
|
2993
2434
|
]
|
|
2994
2435
|
},
|
|
2995
2436
|
{
|
|
2996
2437
|
"kind": "javascript-module",
|
|
2997
|
-
"path": "src/
|
|
2438
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
2998
2439
|
"declarations": [
|
|
2999
2440
|
{
|
|
3000
2441
|
"kind": "function",
|
|
3001
|
-
"name": "
|
|
2442
|
+
"name": "actionsMenuBaseStyles",
|
|
3002
2443
|
"return": {
|
|
3003
2444
|
"type": {
|
|
3004
|
-
"text": "
|
|
2445
|
+
"text": "ElementStyles"
|
|
3005
2446
|
}
|
|
3006
2447
|
},
|
|
3007
2448
|
"parameters": [
|
|
3008
2449
|
{
|
|
3009
|
-
"name": "
|
|
2450
|
+
"name": "context",
|
|
3010
2451
|
"type": {
|
|
3011
|
-
"text": "
|
|
2452
|
+
"text": "ElementDefinitionContext"
|
|
3012
2453
|
}
|
|
3013
|
-
}
|
|
3014
|
-
],
|
|
3015
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
3016
|
-
},
|
|
3017
|
-
{
|
|
3018
|
-
"kind": "function",
|
|
3019
|
-
"name": "showCriteriaError",
|
|
3020
|
-
"return": {
|
|
3021
|
-
"type": {
|
|
3022
|
-
"text": "void"
|
|
3023
|
-
}
|
|
3024
|
-
},
|
|
3025
|
-
"parameters": [
|
|
3026
|
-
{
|
|
3027
|
-
"name": "title",
|
|
3028
|
-
"type": {
|
|
3029
|
-
"text": "string"
|
|
3030
|
-
},
|
|
3031
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3032
|
-
},
|
|
3033
|
-
{
|
|
3034
|
-
"name": "body",
|
|
3035
|
-
"type": {
|
|
3036
|
-
"text": "string"
|
|
3037
|
-
},
|
|
3038
|
-
"description": "Error message to display"
|
|
3039
2454
|
},
|
|
3040
2455
|
{
|
|
3041
|
-
"name": "
|
|
2456
|
+
"name": "definition",
|
|
3042
2457
|
"type": {
|
|
3043
|
-
"text": "
|
|
3044
|
-
}
|
|
3045
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
2458
|
+
"text": "FoundationElementDefinition"
|
|
2459
|
+
}
|
|
3046
2460
|
}
|
|
3047
|
-
]
|
|
3048
|
-
"description": "Shows a criteria error as a toast notification."
|
|
3049
|
-
}
|
|
3050
|
-
],
|
|
3051
|
-
"exports": [
|
|
3052
|
-
{
|
|
3053
|
-
"kind": "js",
|
|
3054
|
-
"name": "formatValidationErrors",
|
|
3055
|
-
"declaration": {
|
|
3056
|
-
"name": "formatValidationErrors",
|
|
3057
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3058
|
-
}
|
|
2461
|
+
]
|
|
3059
2462
|
},
|
|
3060
|
-
{
|
|
3061
|
-
"kind": "js",
|
|
3062
|
-
"name": "showCriteriaError",
|
|
3063
|
-
"declaration": {
|
|
3064
|
-
"name": "showCriteriaError",
|
|
3065
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3066
|
-
}
|
|
3067
|
-
}
|
|
3068
|
-
]
|
|
3069
|
-
},
|
|
3070
|
-
{
|
|
3071
|
-
"kind": "javascript-module",
|
|
3072
|
-
"path": "src/accordion/accordion.styles.ts",
|
|
3073
|
-
"declarations": [
|
|
3074
2463
|
{
|
|
3075
2464
|
"kind": "function",
|
|
3076
|
-
"name": "
|
|
2465
|
+
"name": "foundationActionsMenuStyles",
|
|
3077
2466
|
"return": {
|
|
3078
2467
|
"type": {
|
|
3079
2468
|
"text": "ElementStyles"
|
|
@@ -3098,276 +2487,772 @@
|
|
|
3098
2487
|
"exports": [
|
|
3099
2488
|
{
|
|
3100
2489
|
"kind": "js",
|
|
3101
|
-
"name": "
|
|
2490
|
+
"name": "actionsMenuBaseStyles",
|
|
3102
2491
|
"declaration": {
|
|
3103
|
-
"name": "
|
|
3104
|
-
"module": "src/
|
|
2492
|
+
"name": "actionsMenuBaseStyles",
|
|
2493
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2494
|
+
}
|
|
2495
|
+
},
|
|
2496
|
+
{
|
|
2497
|
+
"kind": "js",
|
|
2498
|
+
"name": "foundationActionsMenuStyles",
|
|
2499
|
+
"declaration": {
|
|
2500
|
+
"name": "foundationActionsMenuStyles",
|
|
2501
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
3105
2502
|
}
|
|
3106
2503
|
}
|
|
3107
2504
|
]
|
|
3108
2505
|
},
|
|
3109
2506
|
{
|
|
3110
2507
|
"kind": "javascript-module",
|
|
3111
|
-
"path": "src/
|
|
2508
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
3112
2509
|
"declarations": [
|
|
3113
2510
|
{
|
|
3114
2511
|
"kind": "function",
|
|
3115
|
-
"name": "
|
|
3116
|
-
"return": {
|
|
3117
|
-
"type": {
|
|
3118
|
-
"text": "ViewTemplate<Accordion>"
|
|
3119
|
-
}
|
|
3120
|
-
},
|
|
2512
|
+
"name": "menuTemplate",
|
|
3121
2513
|
"parameters": [
|
|
3122
2514
|
{
|
|
3123
|
-
"name": "
|
|
2515
|
+
"name": "prefix",
|
|
3124
2516
|
"type": {
|
|
3125
|
-
"text": "
|
|
2517
|
+
"text": "string"
|
|
3126
2518
|
}
|
|
3127
|
-
}
|
|
2519
|
+
}
|
|
2520
|
+
]
|
|
2521
|
+
},
|
|
2522
|
+
{
|
|
2523
|
+
"kind": "function",
|
|
2524
|
+
"name": "singleOptionTemplate",
|
|
2525
|
+
"parameters": [
|
|
3128
2526
|
{
|
|
3129
|
-
"name": "
|
|
2527
|
+
"name": "prefix",
|
|
3130
2528
|
"type": {
|
|
3131
|
-
"text": "
|
|
2529
|
+
"text": "string"
|
|
3132
2530
|
}
|
|
3133
2531
|
}
|
|
3134
2532
|
]
|
|
2533
|
+
},
|
|
2534
|
+
{
|
|
2535
|
+
"kind": "variable",
|
|
2536
|
+
"name": "foundationActionsMenuTemplate",
|
|
2537
|
+
"type": {
|
|
2538
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
2539
|
+
},
|
|
2540
|
+
"default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
|
|
3135
2541
|
}
|
|
3136
2542
|
],
|
|
3137
2543
|
"exports": [
|
|
3138
2544
|
{
|
|
3139
2545
|
"kind": "js",
|
|
3140
|
-
"name": "
|
|
2546
|
+
"name": "menuTemplate",
|
|
3141
2547
|
"declaration": {
|
|
3142
|
-
"name": "
|
|
3143
|
-
"module": "src/
|
|
2548
|
+
"name": "menuTemplate",
|
|
2549
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2550
|
+
}
|
|
2551
|
+
},
|
|
2552
|
+
{
|
|
2553
|
+
"kind": "js",
|
|
2554
|
+
"name": "singleOptionTemplate",
|
|
2555
|
+
"declaration": {
|
|
2556
|
+
"name": "singleOptionTemplate",
|
|
2557
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2558
|
+
}
|
|
2559
|
+
},
|
|
2560
|
+
{
|
|
2561
|
+
"kind": "js",
|
|
2562
|
+
"name": "foundationActionsMenuTemplate",
|
|
2563
|
+
"declaration": {
|
|
2564
|
+
"name": "foundationActionsMenuTemplate",
|
|
2565
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
3144
2566
|
}
|
|
3145
2567
|
}
|
|
3146
2568
|
]
|
|
3147
2569
|
},
|
|
3148
2570
|
{
|
|
3149
2571
|
"kind": "javascript-module",
|
|
3150
|
-
"path": "src/
|
|
2572
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
3151
2573
|
"declarations": [
|
|
3152
2574
|
{
|
|
3153
2575
|
"kind": "class",
|
|
3154
2576
|
"description": "",
|
|
3155
|
-
"name": "
|
|
3156
|
-
"superclass": {
|
|
3157
|
-
"name": "FASTAccordion",
|
|
3158
|
-
"package": "@microsoft/fast-foundation"
|
|
3159
|
-
},
|
|
3160
|
-
"tagName": "%%prefix%%-accordion",
|
|
3161
|
-
"customElement": true,
|
|
3162
|
-
"attributes": [
|
|
3163
|
-
{
|
|
3164
|
-
"name": "expand-mode",
|
|
3165
|
-
"type": {
|
|
3166
|
-
"text": "AccordionExpandMode"
|
|
3167
|
-
},
|
|
3168
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3169
|
-
"fieldName": "expandmode",
|
|
3170
|
-
"inheritedFrom": {
|
|
3171
|
-
"name": "Accordion",
|
|
3172
|
-
"module": "src/accordion/accordion.ts"
|
|
3173
|
-
}
|
|
3174
|
-
}
|
|
3175
|
-
],
|
|
2577
|
+
"name": "ActionsMenu",
|
|
3176
2578
|
"members": [
|
|
3177
2579
|
{
|
|
3178
2580
|
"kind": "field",
|
|
3179
|
-
"name": "
|
|
2581
|
+
"name": "actions",
|
|
3180
2582
|
"type": {
|
|
3181
|
-
"text": "
|
|
3182
|
-
},
|
|
3183
|
-
"privacy": "public",
|
|
3184
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3185
|
-
"inheritedFrom": {
|
|
3186
|
-
"name": "Accordion",
|
|
3187
|
-
"module": "src/accordion/accordion.ts"
|
|
2583
|
+
"text": "ActionMenuItem[]"
|
|
3188
2584
|
}
|
|
3189
2585
|
},
|
|
3190
2586
|
{
|
|
3191
2587
|
"kind": "field",
|
|
3192
|
-
"name": "
|
|
2588
|
+
"name": "isVertical",
|
|
3193
2589
|
"type": {
|
|
3194
|
-
"text": "
|
|
2590
|
+
"text": "boolean"
|
|
3195
2591
|
},
|
|
3196
|
-
"
|
|
3197
|
-
"inheritedFrom": {
|
|
3198
|
-
"name": "Accordion",
|
|
3199
|
-
"module": "src/accordion/accordion.ts"
|
|
3200
|
-
}
|
|
2592
|
+
"default": "false"
|
|
3201
2593
|
},
|
|
3202
2594
|
{
|
|
3203
2595
|
"kind": "field",
|
|
3204
|
-
"name": "
|
|
2596
|
+
"name": "addDefaultActions",
|
|
3205
2597
|
"type": {
|
|
3206
|
-
"text": "
|
|
2598
|
+
"text": "boolean"
|
|
3207
2599
|
},
|
|
3208
|
-
"
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
2600
|
+
"default": "true"
|
|
2601
|
+
},
|
|
2602
|
+
{
|
|
2603
|
+
"kind": "field",
|
|
2604
|
+
"name": "autoCloseOnAction",
|
|
2605
|
+
"type": {
|
|
2606
|
+
"text": "boolean"
|
|
2607
|
+
},
|
|
2608
|
+
"default": "true"
|
|
2609
|
+
},
|
|
2610
|
+
{
|
|
2611
|
+
"kind": "field",
|
|
2612
|
+
"name": "classNames",
|
|
2613
|
+
"type": {
|
|
2614
|
+
"text": "string"
|
|
3213
2615
|
}
|
|
3214
2616
|
},
|
|
3215
2617
|
{
|
|
3216
2618
|
"kind": "field",
|
|
3217
|
-
"name": "
|
|
2619
|
+
"name": "definition",
|
|
3218
2620
|
"type": {
|
|
3219
|
-
"text": "
|
|
2621
|
+
"text": "any"
|
|
2622
|
+
}
|
|
2623
|
+
},
|
|
2624
|
+
{
|
|
2625
|
+
"kind": "field",
|
|
2626
|
+
"name": "name",
|
|
2627
|
+
"type": {
|
|
2628
|
+
"text": "string"
|
|
3220
2629
|
},
|
|
3221
|
-
"
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
|
|
2630
|
+
"default": "'Actions'"
|
|
2631
|
+
},
|
|
2632
|
+
{
|
|
2633
|
+
"kind": "field",
|
|
2634
|
+
"name": "open",
|
|
2635
|
+
"type": {
|
|
2636
|
+
"text": "boolean"
|
|
2637
|
+
},
|
|
2638
|
+
"default": "false"
|
|
2639
|
+
},
|
|
2640
|
+
{
|
|
2641
|
+
"kind": "field",
|
|
2642
|
+
"name": "buttonAppearance",
|
|
2643
|
+
"type": {
|
|
2644
|
+
"text": "string"
|
|
3225
2645
|
}
|
|
3226
2646
|
},
|
|
3227
2647
|
{
|
|
3228
2648
|
"kind": "field",
|
|
3229
|
-
"name": "
|
|
3230
|
-
"
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
2649
|
+
"name": "hideDisabled",
|
|
2650
|
+
"type": {
|
|
2651
|
+
"text": "boolean"
|
|
2652
|
+
},
|
|
2653
|
+
"default": "false"
|
|
2654
|
+
},
|
|
2655
|
+
{
|
|
2656
|
+
"kind": "field",
|
|
2657
|
+
"name": "hideMenuSingleOption",
|
|
2658
|
+
"type": {
|
|
2659
|
+
"text": "boolean"
|
|
2660
|
+
},
|
|
2661
|
+
"default": "false"
|
|
2662
|
+
},
|
|
2663
|
+
{
|
|
2664
|
+
"kind": "field",
|
|
2665
|
+
"name": "singleOption",
|
|
2666
|
+
"type": {
|
|
2667
|
+
"text": "ActionMenuItem"
|
|
2668
|
+
}
|
|
2669
|
+
},
|
|
2670
|
+
{
|
|
2671
|
+
"kind": "field",
|
|
2672
|
+
"name": "actionsMenu",
|
|
2673
|
+
"type": {
|
|
2674
|
+
"text": "HTMLElement"
|
|
2675
|
+
}
|
|
2676
|
+
},
|
|
2677
|
+
{
|
|
2678
|
+
"kind": "field",
|
|
2679
|
+
"name": "actionsOpener",
|
|
2680
|
+
"type": {
|
|
2681
|
+
"text": "HTMLElement"
|
|
3234
2682
|
}
|
|
3235
2683
|
},
|
|
3236
2684
|
{
|
|
3237
2685
|
"kind": "method",
|
|
3238
|
-
"name": "
|
|
3239
|
-
"privacy": "private"
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
2686
|
+
"name": "updateMenuPosition",
|
|
2687
|
+
"privacy": "private"
|
|
2688
|
+
},
|
|
2689
|
+
{
|
|
2690
|
+
"kind": "method",
|
|
2691
|
+
"name": "definitionChanged",
|
|
2692
|
+
"privacy": "protected",
|
|
2693
|
+
"parameters": [
|
|
2694
|
+
{
|
|
2695
|
+
"name": "oldValue",
|
|
2696
|
+
"type": {
|
|
2697
|
+
"text": "any"
|
|
2698
|
+
}
|
|
2699
|
+
},
|
|
2700
|
+
{
|
|
2701
|
+
"name": "newValue",
|
|
2702
|
+
"type": {
|
|
2703
|
+
"text": "any"
|
|
2704
|
+
}
|
|
2705
|
+
}
|
|
2706
|
+
]
|
|
2707
|
+
},
|
|
2708
|
+
{
|
|
2709
|
+
"kind": "method",
|
|
2710
|
+
"name": "openChanged",
|
|
2711
|
+
"privacy": "protected"
|
|
2712
|
+
},
|
|
2713
|
+
{
|
|
2714
|
+
"kind": "method",
|
|
2715
|
+
"name": "toggleActionsMenuVisibility"
|
|
2716
|
+
},
|
|
2717
|
+
{
|
|
2718
|
+
"kind": "method",
|
|
2719
|
+
"name": "onActionMenuItemClick",
|
|
2720
|
+
"parameters": [
|
|
2721
|
+
{
|
|
2722
|
+
"name": "callback",
|
|
2723
|
+
"type": {
|
|
2724
|
+
"text": "(rowData) => void | any"
|
|
2725
|
+
}
|
|
2726
|
+
}
|
|
2727
|
+
]
|
|
2728
|
+
},
|
|
2729
|
+
{
|
|
2730
|
+
"kind": "field",
|
|
2731
|
+
"name": "allActions",
|
|
2732
|
+
"type": {
|
|
2733
|
+
"text": "ActionMenuItem[]"
|
|
2734
|
+
},
|
|
2735
|
+
"readonly": true
|
|
2736
|
+
},
|
|
2737
|
+
{
|
|
2738
|
+
"kind": "field",
|
|
2739
|
+
"name": "rowData",
|
|
2740
|
+
"readonly": true
|
|
2741
|
+
},
|
|
2742
|
+
{
|
|
2743
|
+
"kind": "method",
|
|
2744
|
+
"name": "getLabel",
|
|
2745
|
+
"parameters": [
|
|
2746
|
+
{
|
|
2747
|
+
"name": "name",
|
|
2748
|
+
"type": {
|
|
2749
|
+
"text": "string | ((rowData: any) => string)"
|
|
2750
|
+
}
|
|
2751
|
+
}
|
|
2752
|
+
]
|
|
2753
|
+
},
|
|
2754
|
+
{
|
|
2755
|
+
"kind": "method",
|
|
2756
|
+
"name": "getTemplate",
|
|
2757
|
+
"parameters": [
|
|
2758
|
+
{
|
|
2759
|
+
"name": "prefix",
|
|
2760
|
+
"type": {
|
|
2761
|
+
"text": "string"
|
|
2762
|
+
}
|
|
3243
2763
|
}
|
|
2764
|
+
]
|
|
2765
|
+
},
|
|
2766
|
+
{
|
|
2767
|
+
"kind": "field",
|
|
2768
|
+
"name": "_presentation",
|
|
2769
|
+
"type": {
|
|
2770
|
+
"text": "ComponentPresentation | null | undefined"
|
|
3244
2771
|
},
|
|
2772
|
+
"privacy": "private",
|
|
2773
|
+
"default": "void 0",
|
|
3245
2774
|
"inheritedFrom": {
|
|
3246
|
-
"name": "
|
|
3247
|
-
"module": "src/
|
|
2775
|
+
"name": "FoundationElement",
|
|
2776
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
3248
2777
|
}
|
|
3249
2778
|
},
|
|
3250
2779
|
{
|
|
3251
2780
|
"kind": "field",
|
|
3252
|
-
"name": "
|
|
3253
|
-
"
|
|
2781
|
+
"name": "$presentation",
|
|
2782
|
+
"type": {
|
|
2783
|
+
"text": "ComponentPresentation | null"
|
|
2784
|
+
},
|
|
2785
|
+
"privacy": "public",
|
|
2786
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
3254
2787
|
"inheritedFrom": {
|
|
3255
|
-
"name": "
|
|
3256
|
-
"module": "src/
|
|
2788
|
+
"name": "FoundationElement",
|
|
2789
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2790
|
+
}
|
|
2791
|
+
},
|
|
2792
|
+
{
|
|
2793
|
+
"kind": "field",
|
|
2794
|
+
"name": "template",
|
|
2795
|
+
"type": {
|
|
2796
|
+
"text": "ElementViewTemplate | void | null"
|
|
2797
|
+
},
|
|
2798
|
+
"privacy": "public",
|
|
2799
|
+
"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.",
|
|
2800
|
+
"inheritedFrom": {
|
|
2801
|
+
"name": "FoundationElement",
|
|
2802
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
3257
2803
|
}
|
|
3258
2804
|
},
|
|
3259
2805
|
{
|
|
3260
2806
|
"kind": "method",
|
|
3261
|
-
"name": "
|
|
3262
|
-
"privacy": "
|
|
2807
|
+
"name": "templateChanged",
|
|
2808
|
+
"privacy": "protected",
|
|
3263
2809
|
"return": {
|
|
3264
2810
|
"type": {
|
|
3265
2811
|
"text": "void"
|
|
3266
2812
|
}
|
|
3267
2813
|
},
|
|
3268
2814
|
"inheritedFrom": {
|
|
3269
|
-
"name": "
|
|
3270
|
-
"module": "src/
|
|
3271
|
-
}
|
|
3272
|
-
},
|
|
3273
|
-
{
|
|
3274
|
-
"kind": "field",
|
|
3275
|
-
"name": "removeItemListeners",
|
|
3276
|
-
"privacy": "private",
|
|
3277
|
-
"inheritedFrom": {
|
|
3278
|
-
"name": "Accordion",
|
|
3279
|
-
"module": "src/accordion/accordion.ts"
|
|
2815
|
+
"name": "FoundationElement",
|
|
2816
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
3280
2817
|
}
|
|
3281
2818
|
},
|
|
3282
2819
|
{
|
|
3283
2820
|
"kind": "field",
|
|
3284
|
-
"name": "
|
|
3285
|
-
"
|
|
2821
|
+
"name": "styles",
|
|
2822
|
+
"type": {
|
|
2823
|
+
"text": "ElementStyles | void | null"
|
|
2824
|
+
},
|
|
2825
|
+
"privacy": "public",
|
|
2826
|
+
"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.",
|
|
3286
2827
|
"inheritedFrom": {
|
|
3287
|
-
"name": "
|
|
3288
|
-
"module": "src/
|
|
2828
|
+
"name": "FoundationElement",
|
|
2829
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
3289
2830
|
}
|
|
3290
2831
|
},
|
|
3291
2832
|
{
|
|
3292
2833
|
"kind": "method",
|
|
3293
|
-
"name": "
|
|
3294
|
-
"privacy": "
|
|
2834
|
+
"name": "stylesChanged",
|
|
2835
|
+
"privacy": "protected",
|
|
3295
2836
|
"return": {
|
|
3296
2837
|
"type": {
|
|
3297
|
-
"text": "
|
|
2838
|
+
"text": "void"
|
|
3298
2839
|
}
|
|
3299
2840
|
},
|
|
3300
2841
|
"inheritedFrom": {
|
|
3301
|
-
"name": "
|
|
3302
|
-
"module": "src/
|
|
2842
|
+
"name": "FoundationElement",
|
|
2843
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
3303
2844
|
}
|
|
3304
2845
|
},
|
|
3305
2846
|
{
|
|
3306
2847
|
"kind": "method",
|
|
3307
|
-
"name": "
|
|
3308
|
-
"privacy": "
|
|
2848
|
+
"name": "compose",
|
|
2849
|
+
"privacy": "public",
|
|
2850
|
+
"static": true,
|
|
3309
2851
|
"return": {
|
|
3310
2852
|
"type": {
|
|
3311
|
-
"text": "
|
|
2853
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
3312
2854
|
}
|
|
3313
2855
|
},
|
|
2856
|
+
"parameters": [
|
|
2857
|
+
{
|
|
2858
|
+
"name": "this",
|
|
2859
|
+
"type": {
|
|
2860
|
+
"text": "K"
|
|
2861
|
+
}
|
|
2862
|
+
},
|
|
2863
|
+
{
|
|
2864
|
+
"name": "elementDefinition",
|
|
2865
|
+
"type": {
|
|
2866
|
+
"text": "T"
|
|
2867
|
+
},
|
|
2868
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
2869
|
+
}
|
|
2870
|
+
],
|
|
2871
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
3314
2872
|
"inheritedFrom": {
|
|
3315
|
-
"name": "
|
|
3316
|
-
"module": "src/
|
|
2873
|
+
"name": "FoundationElement",
|
|
2874
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2875
|
+
}
|
|
2876
|
+
}
|
|
2877
|
+
],
|
|
2878
|
+
"attributes": [
|
|
2879
|
+
{
|
|
2880
|
+
"name": "is-vertical",
|
|
2881
|
+
"type": {
|
|
2882
|
+
"text": "boolean"
|
|
2883
|
+
},
|
|
2884
|
+
"default": "false",
|
|
2885
|
+
"fieldName": "isVertical"
|
|
2886
|
+
},
|
|
2887
|
+
{
|
|
2888
|
+
"name": "add-default-actions",
|
|
2889
|
+
"type": {
|
|
2890
|
+
"text": "boolean"
|
|
2891
|
+
},
|
|
2892
|
+
"default": "true",
|
|
2893
|
+
"fieldName": "addDefaultActions"
|
|
2894
|
+
},
|
|
2895
|
+
{
|
|
2896
|
+
"name": "auto-close-on-action",
|
|
2897
|
+
"type": {
|
|
2898
|
+
"text": "boolean"
|
|
2899
|
+
},
|
|
2900
|
+
"default": "true",
|
|
2901
|
+
"fieldName": "autoCloseOnAction"
|
|
2902
|
+
},
|
|
2903
|
+
{
|
|
2904
|
+
"name": "name",
|
|
2905
|
+
"type": {
|
|
2906
|
+
"text": "string"
|
|
2907
|
+
},
|
|
2908
|
+
"default": "'Actions'",
|
|
2909
|
+
"fieldName": "name"
|
|
2910
|
+
},
|
|
2911
|
+
{
|
|
2912
|
+
"name": "open",
|
|
2913
|
+
"type": {
|
|
2914
|
+
"text": "boolean"
|
|
2915
|
+
},
|
|
2916
|
+
"default": "false",
|
|
2917
|
+
"fieldName": "open"
|
|
2918
|
+
},
|
|
2919
|
+
{
|
|
2920
|
+
"name": "buttonAppearance",
|
|
2921
|
+
"type": {
|
|
2922
|
+
"text": "string"
|
|
2923
|
+
},
|
|
2924
|
+
"fieldName": "buttonAppearance"
|
|
2925
|
+
},
|
|
2926
|
+
{
|
|
2927
|
+
"name": "hide-disabled",
|
|
2928
|
+
"type": {
|
|
2929
|
+
"text": "boolean"
|
|
2930
|
+
},
|
|
2931
|
+
"default": "false",
|
|
2932
|
+
"fieldName": "hideDisabled"
|
|
2933
|
+
},
|
|
2934
|
+
{
|
|
2935
|
+
"name": "hide-menu-single-option",
|
|
2936
|
+
"type": {
|
|
2937
|
+
"text": "boolean"
|
|
2938
|
+
},
|
|
2939
|
+
"default": "false",
|
|
2940
|
+
"fieldName": "hideMenuSingleOption"
|
|
2941
|
+
}
|
|
2942
|
+
],
|
|
2943
|
+
"superclass": {
|
|
2944
|
+
"name": "FoundationElement",
|
|
2945
|
+
"package": "@microsoft/fast-foundation"
|
|
2946
|
+
},
|
|
2947
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
2948
|
+
"customElement": true
|
|
2949
|
+
},
|
|
2950
|
+
{
|
|
2951
|
+
"kind": "variable",
|
|
2952
|
+
"name": "foundationActionsMenu",
|
|
2953
|
+
"description": "The Foundation Actions Menu",
|
|
2954
|
+
"privacy": "public"
|
|
2955
|
+
}
|
|
2956
|
+
],
|
|
2957
|
+
"exports": [
|
|
2958
|
+
{
|
|
2959
|
+
"kind": "js",
|
|
2960
|
+
"name": "ActionsMenu",
|
|
2961
|
+
"declaration": {
|
|
2962
|
+
"name": "ActionsMenu",
|
|
2963
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2964
|
+
}
|
|
2965
|
+
},
|
|
2966
|
+
{
|
|
2967
|
+
"kind": "js",
|
|
2968
|
+
"name": "foundationActionsMenu",
|
|
2969
|
+
"declaration": {
|
|
2970
|
+
"name": "foundationActionsMenu",
|
|
2971
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2972
|
+
}
|
|
2973
|
+
}
|
|
2974
|
+
]
|
|
2975
|
+
},
|
|
2976
|
+
{
|
|
2977
|
+
"kind": "javascript-module",
|
|
2978
|
+
"path": "src/actions-menu/index.ts",
|
|
2979
|
+
"declarations": [],
|
|
2980
|
+
"exports": [
|
|
2981
|
+
{
|
|
2982
|
+
"kind": "js",
|
|
2983
|
+
"name": "*",
|
|
2984
|
+
"declaration": {
|
|
2985
|
+
"name": "*",
|
|
2986
|
+
"package": "./actions-menu.styles"
|
|
2987
|
+
}
|
|
2988
|
+
},
|
|
2989
|
+
{
|
|
2990
|
+
"kind": "js",
|
|
2991
|
+
"name": "*",
|
|
2992
|
+
"declaration": {
|
|
2993
|
+
"name": "*",
|
|
2994
|
+
"package": "./actions-menu.template"
|
|
2995
|
+
}
|
|
2996
|
+
},
|
|
2997
|
+
{
|
|
2998
|
+
"kind": "js",
|
|
2999
|
+
"name": "*",
|
|
3000
|
+
"declaration": {
|
|
3001
|
+
"name": "*",
|
|
3002
|
+
"package": "./actions-menu"
|
|
3003
|
+
}
|
|
3004
|
+
}
|
|
3005
|
+
]
|
|
3006
|
+
},
|
|
3007
|
+
{
|
|
3008
|
+
"kind": "javascript-module",
|
|
3009
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
3010
|
+
"declarations": [
|
|
3011
|
+
{
|
|
3012
|
+
"kind": "function",
|
|
3013
|
+
"name": "foundationAiIndicatorStyles",
|
|
3014
|
+
"return": {
|
|
3015
|
+
"type": {
|
|
3016
|
+
"text": "ElementStyles"
|
|
3017
|
+
}
|
|
3018
|
+
},
|
|
3019
|
+
"parameters": [
|
|
3020
|
+
{
|
|
3021
|
+
"name": "context",
|
|
3022
|
+
"type": {
|
|
3023
|
+
"text": "ElementDefinitionContext"
|
|
3317
3024
|
}
|
|
3318
3025
|
},
|
|
3026
|
+
{
|
|
3027
|
+
"name": "definition",
|
|
3028
|
+
"type": {
|
|
3029
|
+
"text": "FoundationElementDefinition"
|
|
3030
|
+
}
|
|
3031
|
+
}
|
|
3032
|
+
]
|
|
3033
|
+
}
|
|
3034
|
+
],
|
|
3035
|
+
"exports": [
|
|
3036
|
+
{
|
|
3037
|
+
"kind": "js",
|
|
3038
|
+
"name": "foundationAiIndicatorStyles",
|
|
3039
|
+
"declaration": {
|
|
3040
|
+
"name": "foundationAiIndicatorStyles",
|
|
3041
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
3042
|
+
}
|
|
3043
|
+
}
|
|
3044
|
+
]
|
|
3045
|
+
},
|
|
3046
|
+
{
|
|
3047
|
+
"kind": "javascript-module",
|
|
3048
|
+
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
3049
|
+
"declarations": [
|
|
3050
|
+
{
|
|
3051
|
+
"kind": "variable",
|
|
3052
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3053
|
+
"type": {
|
|
3054
|
+
"text": "ViewTemplate<AiIndicator>"
|
|
3055
|
+
},
|
|
3056
|
+
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
3057
|
+
}
|
|
3058
|
+
],
|
|
3059
|
+
"exports": [
|
|
3060
|
+
{
|
|
3061
|
+
"kind": "js",
|
|
3062
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3063
|
+
"declaration": {
|
|
3064
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3065
|
+
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
3066
|
+
}
|
|
3067
|
+
}
|
|
3068
|
+
]
|
|
3069
|
+
},
|
|
3070
|
+
{
|
|
3071
|
+
"kind": "javascript-module",
|
|
3072
|
+
"path": "src/ai-indicator/ai-indicator.ts",
|
|
3073
|
+
"declarations": [
|
|
3074
|
+
{
|
|
3075
|
+
"kind": "class",
|
|
3076
|
+
"description": "",
|
|
3077
|
+
"name": "AiIndicator",
|
|
3078
|
+
"members": [
|
|
3319
3079
|
{
|
|
3320
3080
|
"kind": "field",
|
|
3321
|
-
"name": "
|
|
3322
|
-
"
|
|
3323
|
-
|
|
3324
|
-
"name": "Accordion",
|
|
3325
|
-
"module": "src/accordion/accordion.ts"
|
|
3081
|
+
"name": "providerRegistry",
|
|
3082
|
+
"type": {
|
|
3083
|
+
"text": "AIProviderRegistry"
|
|
3326
3084
|
}
|
|
3327
3085
|
},
|
|
3328
3086
|
{
|
|
3329
3087
|
"kind": "field",
|
|
3330
|
-
"name": "
|
|
3088
|
+
"name": "aiProvider",
|
|
3089
|
+
"type": {
|
|
3090
|
+
"text": "AIProvider | undefined"
|
|
3091
|
+
},
|
|
3331
3092
|
"privacy": "private",
|
|
3332
|
-
"
|
|
3333
|
-
|
|
3334
|
-
|
|
3093
|
+
"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.",
|
|
3094
|
+
"readonly": true
|
|
3095
|
+
},
|
|
3096
|
+
{
|
|
3097
|
+
"kind": "field",
|
|
3098
|
+
"name": "status",
|
|
3099
|
+
"type": {
|
|
3100
|
+
"text": "AIStatus | null"
|
|
3101
|
+
},
|
|
3102
|
+
"default": "null"
|
|
3103
|
+
},
|
|
3104
|
+
{
|
|
3105
|
+
"kind": "field",
|
|
3106
|
+
"name": "open",
|
|
3107
|
+
"type": {
|
|
3108
|
+
"text": "boolean"
|
|
3109
|
+
},
|
|
3110
|
+
"default": "false"
|
|
3111
|
+
},
|
|
3112
|
+
{
|
|
3113
|
+
"kind": "field",
|
|
3114
|
+
"name": "state",
|
|
3115
|
+
"type": {
|
|
3116
|
+
"text": "AIIndicatorState"
|
|
3117
|
+
},
|
|
3118
|
+
"default": "'none'"
|
|
3119
|
+
},
|
|
3120
|
+
{
|
|
3121
|
+
"kind": "field",
|
|
3122
|
+
"name": "isInstalling",
|
|
3123
|
+
"type": {
|
|
3124
|
+
"text": "boolean"
|
|
3125
|
+
},
|
|
3126
|
+
"default": "false"
|
|
3127
|
+
},
|
|
3128
|
+
{
|
|
3129
|
+
"kind": "field",
|
|
3130
|
+
"name": "pollTimer",
|
|
3131
|
+
"type": {
|
|
3132
|
+
"text": "ReturnType<typeof setInterval> | null"
|
|
3133
|
+
},
|
|
3134
|
+
"privacy": "private",
|
|
3135
|
+
"default": "null"
|
|
3136
|
+
},
|
|
3137
|
+
{
|
|
3138
|
+
"kind": "field",
|
|
3139
|
+
"name": "clickOutside",
|
|
3140
|
+
"privacy": "private"
|
|
3141
|
+
},
|
|
3142
|
+
{
|
|
3143
|
+
"kind": "field",
|
|
3144
|
+
"name": "chromeStatusLabel",
|
|
3145
|
+
"type": {
|
|
3146
|
+
"text": "string | null"
|
|
3147
|
+
},
|
|
3148
|
+
"readonly": true
|
|
3149
|
+
},
|
|
3150
|
+
{
|
|
3151
|
+
"kind": "field",
|
|
3152
|
+
"name": "canInstall",
|
|
3153
|
+
"type": {
|
|
3154
|
+
"text": "boolean"
|
|
3155
|
+
},
|
|
3156
|
+
"readonly": true
|
|
3157
|
+
},
|
|
3158
|
+
{
|
|
3159
|
+
"kind": "field",
|
|
3160
|
+
"name": "isDownloading",
|
|
3161
|
+
"type": {
|
|
3162
|
+
"text": "boolean"
|
|
3163
|
+
},
|
|
3164
|
+
"readonly": true
|
|
3165
|
+
},
|
|
3166
|
+
{
|
|
3167
|
+
"kind": "method",
|
|
3168
|
+
"name": "openChanged",
|
|
3169
|
+
"return": {
|
|
3170
|
+
"type": {
|
|
3171
|
+
"text": "void"
|
|
3172
|
+
}
|
|
3335
3173
|
}
|
|
3336
3174
|
},
|
|
3337
3175
|
{
|
|
3338
3176
|
"kind": "method",
|
|
3339
|
-
"name": "
|
|
3177
|
+
"name": "handleClickOutside",
|
|
3178
|
+
"privacy": "private",
|
|
3179
|
+
"parameters": [
|
|
3180
|
+
{
|
|
3181
|
+
"name": "event",
|
|
3182
|
+
"type": {
|
|
3183
|
+
"text": "MouseEvent"
|
|
3184
|
+
}
|
|
3185
|
+
}
|
|
3186
|
+
]
|
|
3187
|
+
},
|
|
3188
|
+
{
|
|
3189
|
+
"kind": "method",
|
|
3190
|
+
"name": "toggleDropdown"
|
|
3191
|
+
},
|
|
3192
|
+
{
|
|
3193
|
+
"kind": "method",
|
|
3194
|
+
"name": "refreshStatus",
|
|
3195
|
+
"return": {
|
|
3196
|
+
"type": {
|
|
3197
|
+
"text": "Promise<void>"
|
|
3198
|
+
}
|
|
3199
|
+
}
|
|
3200
|
+
},
|
|
3201
|
+
{
|
|
3202
|
+
"kind": "method",
|
|
3203
|
+
"name": "deriveState",
|
|
3340
3204
|
"privacy": "private",
|
|
3341
3205
|
"return": {
|
|
3342
3206
|
"type": {
|
|
3343
|
-
"text": "
|
|
3207
|
+
"text": "AIIndicatorState"
|
|
3344
3208
|
}
|
|
3345
3209
|
},
|
|
3346
3210
|
"parameters": [
|
|
3347
3211
|
{
|
|
3348
|
-
"name": "
|
|
3212
|
+
"name": "s",
|
|
3349
3213
|
"type": {
|
|
3350
|
-
"text": "
|
|
3214
|
+
"text": "AIStatus | null"
|
|
3351
3215
|
}
|
|
3352
3216
|
}
|
|
3353
|
-
]
|
|
3354
|
-
|
|
3355
|
-
|
|
3356
|
-
|
|
3217
|
+
]
|
|
3218
|
+
},
|
|
3219
|
+
{
|
|
3220
|
+
"kind": "method",
|
|
3221
|
+
"name": "maybeStartPolling",
|
|
3222
|
+
"privacy": "private",
|
|
3223
|
+
"return": {
|
|
3224
|
+
"type": {
|
|
3225
|
+
"text": "void"
|
|
3226
|
+
}
|
|
3357
3227
|
}
|
|
3358
3228
|
},
|
|
3359
3229
|
{
|
|
3360
3230
|
"kind": "method",
|
|
3361
|
-
"name": "
|
|
3231
|
+
"name": "startPolling",
|
|
3362
3232
|
"privacy": "private",
|
|
3363
3233
|
"return": {
|
|
3364
3234
|
"type": {
|
|
3365
3235
|
"text": "void"
|
|
3366
3236
|
}
|
|
3367
|
-
}
|
|
3368
|
-
|
|
3369
|
-
|
|
3370
|
-
|
|
3237
|
+
}
|
|
3238
|
+
},
|
|
3239
|
+
{
|
|
3240
|
+
"kind": "method",
|
|
3241
|
+
"name": "stopPolling",
|
|
3242
|
+
"privacy": "private",
|
|
3243
|
+
"return": {
|
|
3244
|
+
"type": {
|
|
3245
|
+
"text": "void"
|
|
3246
|
+
}
|
|
3247
|
+
}
|
|
3248
|
+
},
|
|
3249
|
+
{
|
|
3250
|
+
"kind": "method",
|
|
3251
|
+
"name": "onInstall",
|
|
3252
|
+
"return": {
|
|
3253
|
+
"type": {
|
|
3254
|
+
"text": "Promise<void>"
|
|
3255
|
+
}
|
|
3371
3256
|
}
|
|
3372
3257
|
},
|
|
3373
3258
|
{
|
|
@@ -3482,177 +3367,145 @@
|
|
|
3482
3367
|
}
|
|
3483
3368
|
}
|
|
3484
3369
|
],
|
|
3485
|
-
"
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
"name": "change",
|
|
3489
|
-
"inheritedFrom": {
|
|
3490
|
-
"name": "Accordion",
|
|
3491
|
-
"module": "src/accordion/accordion.ts"
|
|
3492
|
-
}
|
|
3493
|
-
}
|
|
3494
|
-
]
|
|
3495
|
-
},
|
|
3496
|
-
{
|
|
3497
|
-
"kind": "variable",
|
|
3498
|
-
"name": "foundationAccordionShadowOptions",
|
|
3499
|
-
"type": {
|
|
3500
|
-
"text": "ShadowRootInit"
|
|
3501
|
-
},
|
|
3502
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
3503
|
-
},
|
|
3504
|
-
{
|
|
3505
|
-
"kind": "variable",
|
|
3506
|
-
"name": "defaultAccordionConfig",
|
|
3507
|
-
"type": {
|
|
3508
|
-
"text": "object"
|
|
3370
|
+
"superclass": {
|
|
3371
|
+
"name": "FoundationElement",
|
|
3372
|
+
"package": "@microsoft/fast-foundation"
|
|
3509
3373
|
},
|
|
3510
|
-
"
|
|
3374
|
+
"tagName": "%%prefix%%-ai-indicator",
|
|
3375
|
+
"customElement": true
|
|
3511
3376
|
},
|
|
3512
3377
|
{
|
|
3513
3378
|
"kind": "variable",
|
|
3514
|
-
"name": "
|
|
3515
|
-
"description": "The Foundation Accordion",
|
|
3516
|
-
"privacy": "public"
|
|
3379
|
+
"name": "foundationAiIndicator"
|
|
3517
3380
|
}
|
|
3518
3381
|
],
|
|
3519
3382
|
"exports": [
|
|
3520
3383
|
{
|
|
3521
3384
|
"kind": "js",
|
|
3522
|
-
"name": "
|
|
3385
|
+
"name": "AiIndicator",
|
|
3523
3386
|
"declaration": {
|
|
3524
|
-
"name": "
|
|
3525
|
-
"module": "src/
|
|
3387
|
+
"name": "AiIndicator",
|
|
3388
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3526
3389
|
}
|
|
3527
3390
|
},
|
|
3528
3391
|
{
|
|
3529
3392
|
"kind": "js",
|
|
3530
|
-
"name": "
|
|
3393
|
+
"name": "foundationAiIndicator",
|
|
3531
3394
|
"declaration": {
|
|
3532
|
-
"name": "
|
|
3533
|
-
"module": "src/
|
|
3395
|
+
"name": "foundationAiIndicator",
|
|
3396
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3397
|
+
}
|
|
3398
|
+
}
|
|
3399
|
+
]
|
|
3400
|
+
},
|
|
3401
|
+
{
|
|
3402
|
+
"kind": "javascript-module",
|
|
3403
|
+
"path": "src/ai-indicator/index.ts",
|
|
3404
|
+
"declarations": [],
|
|
3405
|
+
"exports": [
|
|
3406
|
+
{
|
|
3407
|
+
"kind": "js",
|
|
3408
|
+
"name": "AiIndicator",
|
|
3409
|
+
"declaration": {
|
|
3410
|
+
"name": "AiIndicator",
|
|
3411
|
+
"module": "./ai-indicator"
|
|
3534
3412
|
}
|
|
3535
3413
|
},
|
|
3536
3414
|
{
|
|
3537
3415
|
"kind": "js",
|
|
3538
|
-
"name": "
|
|
3416
|
+
"name": "foundationAiIndicator",
|
|
3539
3417
|
"declaration": {
|
|
3540
|
-
"name": "
|
|
3541
|
-
"module": "
|
|
3418
|
+
"name": "foundationAiIndicator",
|
|
3419
|
+
"module": "./ai-indicator"
|
|
3542
3420
|
}
|
|
3543
3421
|
},
|
|
3544
3422
|
{
|
|
3545
3423
|
"kind": "js",
|
|
3546
|
-
"name": "
|
|
3424
|
+
"name": "type",
|
|
3547
3425
|
"declaration": {
|
|
3548
|
-
"name": "
|
|
3549
|
-
"module": "
|
|
3426
|
+
"name": "type",
|
|
3427
|
+
"module": "./ai-indicator"
|
|
3550
3428
|
}
|
|
3551
|
-
}
|
|
3552
|
-
]
|
|
3553
|
-
},
|
|
3554
|
-
{
|
|
3555
|
-
"kind": "javascript-module",
|
|
3556
|
-
"path": "src/accordion/index.ts",
|
|
3557
|
-
"declarations": [],
|
|
3558
|
-
"exports": [
|
|
3429
|
+
},
|
|
3559
3430
|
{
|
|
3560
3431
|
"kind": "js",
|
|
3561
|
-
"name": "
|
|
3432
|
+
"name": "AIIndicatorState",
|
|
3562
3433
|
"declaration": {
|
|
3563
|
-
"name": "
|
|
3564
|
-
"
|
|
3434
|
+
"name": "AIIndicatorState",
|
|
3435
|
+
"module": "./ai-indicator"
|
|
3565
3436
|
}
|
|
3566
3437
|
},
|
|
3567
3438
|
{
|
|
3568
3439
|
"kind": "js",
|
|
3569
|
-
"name": "
|
|
3440
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3570
3441
|
"declaration": {
|
|
3571
|
-
"name": "
|
|
3572
|
-
"
|
|
3442
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3443
|
+
"module": "./ai-indicator.template"
|
|
3573
3444
|
}
|
|
3574
3445
|
},
|
|
3575
3446
|
{
|
|
3576
3447
|
"kind": "js",
|
|
3577
|
-
"name": "
|
|
3448
|
+
"name": "foundationAiIndicatorStyles",
|
|
3578
3449
|
"declaration": {
|
|
3579
|
-
"name": "
|
|
3580
|
-
"
|
|
3450
|
+
"name": "foundationAiIndicatorStyles",
|
|
3451
|
+
"module": "./ai-indicator.styles"
|
|
3581
3452
|
}
|
|
3582
3453
|
}
|
|
3583
3454
|
]
|
|
3584
3455
|
},
|
|
3585
3456
|
{
|
|
3586
3457
|
"kind": "javascript-module",
|
|
3587
|
-
"path": "src/ai-
|
|
3458
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
3588
3459
|
"declarations": [
|
|
3589
3460
|
{
|
|
3590
|
-
"kind": "
|
|
3591
|
-
"name": "
|
|
3592
|
-
"
|
|
3593
|
-
"type": {
|
|
3594
|
-
"text": "ElementStyles"
|
|
3595
|
-
}
|
|
3596
|
-
},
|
|
3597
|
-
"parameters": [
|
|
3598
|
-
{
|
|
3599
|
-
"name": "context",
|
|
3600
|
-
"type": {
|
|
3601
|
-
"text": "ElementDefinitionContext"
|
|
3602
|
-
}
|
|
3603
|
-
},
|
|
3604
|
-
{
|
|
3605
|
-
"name": "definition",
|
|
3606
|
-
"type": {
|
|
3607
|
-
"text": "FoundationElementDefinition"
|
|
3608
|
-
}
|
|
3609
|
-
}
|
|
3610
|
-
]
|
|
3461
|
+
"kind": "variable",
|
|
3462
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3463
|
+
"default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
|
|
3611
3464
|
}
|
|
3612
3465
|
],
|
|
3613
3466
|
"exports": [
|
|
3614
3467
|
{
|
|
3615
3468
|
"kind": "js",
|
|
3616
|
-
"name": "
|
|
3469
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3617
3470
|
"declaration": {
|
|
3618
|
-
"name": "
|
|
3619
|
-
"module": "src/ai-
|
|
3471
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3472
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
3620
3473
|
}
|
|
3621
3474
|
}
|
|
3622
3475
|
]
|
|
3623
3476
|
},
|
|
3624
3477
|
{
|
|
3625
3478
|
"kind": "javascript-module",
|
|
3626
|
-
"path": "src/ai-
|
|
3479
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
3627
3480
|
"declarations": [
|
|
3628
3481
|
{
|
|
3629
3482
|
"kind": "variable",
|
|
3630
|
-
"name": "
|
|
3483
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3631
3484
|
"type": {
|
|
3632
|
-
"text": "ViewTemplate<
|
|
3485
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
3633
3486
|
},
|
|
3634
|
-
"default": "html`\n ${(x) =>
|
|
3487
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
3635
3488
|
}
|
|
3636
3489
|
],
|
|
3637
3490
|
"exports": [
|
|
3638
3491
|
{
|
|
3639
3492
|
"kind": "js",
|
|
3640
|
-
"name": "
|
|
3493
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3641
3494
|
"declaration": {
|
|
3642
|
-
"name": "
|
|
3643
|
-
"module": "src/ai-
|
|
3495
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3496
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
3644
3497
|
}
|
|
3645
3498
|
}
|
|
3646
3499
|
]
|
|
3647
3500
|
},
|
|
3648
3501
|
{
|
|
3649
3502
|
"kind": "javascript-module",
|
|
3650
|
-
"path": "src/ai-
|
|
3503
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
3651
3504
|
"declarations": [
|
|
3652
3505
|
{
|
|
3653
3506
|
"kind": "class",
|
|
3654
|
-
"description": "",
|
|
3655
|
-
"name": "
|
|
3507
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
3508
|
+
"name": "AiCriteriaSearch",
|
|
3656
3509
|
"members": [
|
|
3657
3510
|
{
|
|
3658
3511
|
"kind": "field",
|
|
@@ -3663,25 +3516,54 @@
|
|
|
3663
3516
|
},
|
|
3664
3517
|
{
|
|
3665
3518
|
"kind": "field",
|
|
3666
|
-
"name": "
|
|
3519
|
+
"name": "placeholder",
|
|
3667
3520
|
"type": {
|
|
3668
|
-
"text": "
|
|
3521
|
+
"text": "string"
|
|
3669
3522
|
},
|
|
3670
|
-
"
|
|
3671
|
-
"description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
|
|
3672
|
-
"readonly": true
|
|
3523
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
3673
3524
|
},
|
|
3674
3525
|
{
|
|
3675
3526
|
"kind": "field",
|
|
3676
|
-
"name": "
|
|
3527
|
+
"name": "disabled",
|
|
3677
3528
|
"type": {
|
|
3678
|
-
"text": "
|
|
3529
|
+
"text": "boolean"
|
|
3530
|
+
}
|
|
3531
|
+
},
|
|
3532
|
+
{
|
|
3533
|
+
"kind": "field",
|
|
3534
|
+
"name": "inputValue",
|
|
3535
|
+
"type": {
|
|
3536
|
+
"text": "string"
|
|
3537
|
+
},
|
|
3538
|
+
"default": "''"
|
|
3539
|
+
},
|
|
3540
|
+
{
|
|
3541
|
+
"kind": "field",
|
|
3542
|
+
"name": "isInterpreting",
|
|
3543
|
+
"type": {
|
|
3544
|
+
"text": "boolean"
|
|
3545
|
+
},
|
|
3546
|
+
"default": "false"
|
|
3547
|
+
},
|
|
3548
|
+
{
|
|
3549
|
+
"kind": "field",
|
|
3550
|
+
"name": "lastValidCriteria",
|
|
3551
|
+
"type": {
|
|
3552
|
+
"text": "string | null"
|
|
3679
3553
|
},
|
|
3680
3554
|
"default": "null"
|
|
3681
3555
|
},
|
|
3682
3556
|
{
|
|
3683
3557
|
"kind": "field",
|
|
3684
|
-
"name": "
|
|
3558
|
+
"name": "activeGroups",
|
|
3559
|
+
"type": {
|
|
3560
|
+
"text": "CriteriaGroup[]"
|
|
3561
|
+
},
|
|
3562
|
+
"default": "[]"
|
|
3563
|
+
},
|
|
3564
|
+
{
|
|
3565
|
+
"kind": "field",
|
|
3566
|
+
"name": "showingChips",
|
|
3685
3567
|
"type": {
|
|
3686
3568
|
"text": "boolean"
|
|
3687
3569
|
},
|
|
@@ -3689,15 +3571,15 @@
|
|
|
3689
3571
|
},
|
|
3690
3572
|
{
|
|
3691
3573
|
"kind": "field",
|
|
3692
|
-
"name": "
|
|
3574
|
+
"name": "fieldMetadata",
|
|
3693
3575
|
"type": {
|
|
3694
|
-
"text": "
|
|
3576
|
+
"text": "MetadataDetail[] | string[]"
|
|
3695
3577
|
},
|
|
3696
|
-
"default": "
|
|
3578
|
+
"default": "[]"
|
|
3697
3579
|
},
|
|
3698
3580
|
{
|
|
3699
3581
|
"kind": "field",
|
|
3700
|
-
"name": "
|
|
3582
|
+
"name": "isRecording",
|
|
3701
3583
|
"type": {
|
|
3702
3584
|
"text": "boolean"
|
|
3703
3585
|
},
|
|
@@ -3705,29 +3587,33 @@
|
|
|
3705
3587
|
},
|
|
3706
3588
|
{
|
|
3707
3589
|
"kind": "field",
|
|
3708
|
-
"name": "
|
|
3590
|
+
"name": "textAreaRef",
|
|
3709
3591
|
"type": {
|
|
3710
|
-
"text": "
|
|
3592
|
+
"text": "HTMLTextAreaElement"
|
|
3711
3593
|
},
|
|
3712
|
-
"privacy": "
|
|
3713
|
-
"default": "null"
|
|
3594
|
+
"privacy": "public"
|
|
3714
3595
|
},
|
|
3715
3596
|
{
|
|
3716
3597
|
"kind": "field",
|
|
3717
|
-
"name": "
|
|
3718
|
-
"
|
|
3598
|
+
"name": "stopRecording",
|
|
3599
|
+
"type": {
|
|
3600
|
+
"text": "(() => void) | null"
|
|
3601
|
+
},
|
|
3602
|
+
"privacy": "private",
|
|
3603
|
+
"default": "null"
|
|
3719
3604
|
},
|
|
3720
3605
|
{
|
|
3721
3606
|
"kind": "field",
|
|
3722
|
-
"name": "
|
|
3607
|
+
"name": "speechApplyDebounceTimer",
|
|
3723
3608
|
"type": {
|
|
3724
|
-
"text": "
|
|
3609
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3725
3610
|
},
|
|
3726
|
-
"
|
|
3611
|
+
"privacy": "private",
|
|
3612
|
+
"default": "null"
|
|
3727
3613
|
},
|
|
3728
3614
|
{
|
|
3729
3615
|
"kind": "field",
|
|
3730
|
-
"name": "
|
|
3616
|
+
"name": "speechAvailable",
|
|
3731
3617
|
"type": {
|
|
3732
3618
|
"text": "boolean"
|
|
3733
3619
|
},
|
|
@@ -3735,69 +3621,65 @@
|
|
|
3735
3621
|
},
|
|
3736
3622
|
{
|
|
3737
3623
|
"kind": "field",
|
|
3738
|
-
"name": "
|
|
3624
|
+
"name": "criteriaChips",
|
|
3739
3625
|
"type": {
|
|
3740
|
-
"text": "
|
|
3626
|
+
"text": "CriteriaChip[]"
|
|
3741
3627
|
},
|
|
3742
3628
|
"readonly": true
|
|
3743
3629
|
},
|
|
3744
3630
|
{
|
|
3745
3631
|
"kind": "method",
|
|
3746
|
-
"name": "
|
|
3632
|
+
"name": "getFieldLabel",
|
|
3633
|
+
"privacy": "private",
|
|
3747
3634
|
"return": {
|
|
3748
3635
|
"type": {
|
|
3749
|
-
"text": "
|
|
3636
|
+
"text": "string"
|
|
3750
3637
|
}
|
|
3751
|
-
}
|
|
3752
|
-
},
|
|
3753
|
-
{
|
|
3754
|
-
"kind": "method",
|
|
3755
|
-
"name": "handleClickOutside",
|
|
3756
|
-
"privacy": "private",
|
|
3638
|
+
},
|
|
3757
3639
|
"parameters": [
|
|
3758
3640
|
{
|
|
3759
|
-
"name": "
|
|
3641
|
+
"name": "fieldName",
|
|
3760
3642
|
"type": {
|
|
3761
|
-
"text": "
|
|
3643
|
+
"text": "string"
|
|
3762
3644
|
}
|
|
3763
3645
|
}
|
|
3764
3646
|
]
|
|
3765
3647
|
},
|
|
3766
3648
|
{
|
|
3767
3649
|
"kind": "method",
|
|
3768
|
-
"name": "
|
|
3769
|
-
},
|
|
3770
|
-
{
|
|
3771
|
-
"kind": "method",
|
|
3772
|
-
"name": "refreshStatus",
|
|
3650
|
+
"name": "toggleCriteriaView",
|
|
3773
3651
|
"return": {
|
|
3774
3652
|
"type": {
|
|
3775
|
-
"text": "
|
|
3653
|
+
"text": "void"
|
|
3776
3654
|
}
|
|
3777
3655
|
}
|
|
3778
3656
|
},
|
|
3779
3657
|
{
|
|
3780
3658
|
"kind": "method",
|
|
3781
|
-
"name": "
|
|
3782
|
-
"privacy": "private",
|
|
3659
|
+
"name": "removeChip",
|
|
3783
3660
|
"return": {
|
|
3784
3661
|
"type": {
|
|
3785
|
-
"text": "
|
|
3662
|
+
"text": "void"
|
|
3786
3663
|
}
|
|
3787
3664
|
},
|
|
3788
3665
|
"parameters": [
|
|
3789
3666
|
{
|
|
3790
|
-
"name": "
|
|
3667
|
+
"name": "groupIndex",
|
|
3791
3668
|
"type": {
|
|
3792
|
-
"text": "
|
|
3669
|
+
"text": "number"
|
|
3670
|
+
}
|
|
3671
|
+
},
|
|
3672
|
+
{
|
|
3673
|
+
"name": "clauseIndex",
|
|
3674
|
+
"type": {
|
|
3675
|
+
"text": "number"
|
|
3793
3676
|
}
|
|
3794
3677
|
}
|
|
3795
3678
|
]
|
|
3796
3679
|
},
|
|
3797
3680
|
{
|
|
3798
3681
|
"kind": "method",
|
|
3799
|
-
"name": "
|
|
3800
|
-
"privacy": "private",
|
|
3682
|
+
"name": "clearChips",
|
|
3801
3683
|
"return": {
|
|
3802
3684
|
"type": {
|
|
3803
3685
|
"text": "void"
|
|
@@ -3806,32 +3688,24 @@
|
|
|
3806
3688
|
},
|
|
3807
3689
|
{
|
|
3808
3690
|
"kind": "method",
|
|
3809
|
-
"name": "
|
|
3810
|
-
"privacy": "private",
|
|
3811
|
-
"return": {
|
|
3812
|
-
"type": {
|
|
3813
|
-
"text": "void"
|
|
3814
|
-
}
|
|
3815
|
-
}
|
|
3691
|
+
"name": "handleSubmit"
|
|
3816
3692
|
},
|
|
3817
3693
|
{
|
|
3818
3694
|
"kind": "method",
|
|
3819
|
-
"name": "
|
|
3820
|
-
"privacy": "private",
|
|
3821
|
-
"return": {
|
|
3822
|
-
"type": {
|
|
3823
|
-
"text": "void"
|
|
3824
|
-
}
|
|
3825
|
-
}
|
|
3695
|
+
"name": "handleBlur"
|
|
3826
3696
|
},
|
|
3827
3697
|
{
|
|
3828
3698
|
"kind": "method",
|
|
3829
|
-
"name": "
|
|
3830
|
-
|
|
3831
|
-
|
|
3832
|
-
|
|
3833
|
-
|
|
3834
|
-
|
|
3699
|
+
"name": "clear"
|
|
3700
|
+
},
|
|
3701
|
+
{
|
|
3702
|
+
"kind": "method",
|
|
3703
|
+
"name": "toggleSpeechInput"
|
|
3704
|
+
},
|
|
3705
|
+
{
|
|
3706
|
+
"kind": "method",
|
|
3707
|
+
"name": "clearSpeechApplyDebounce",
|
|
3708
|
+
"privacy": "private"
|
|
3835
3709
|
},
|
|
3836
3710
|
{
|
|
3837
3711
|
"kind": "field",
|
|
@@ -3945,103 +3819,154 @@
|
|
|
3945
3819
|
}
|
|
3946
3820
|
}
|
|
3947
3821
|
],
|
|
3822
|
+
"events": [
|
|
3823
|
+
{
|
|
3824
|
+
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
3825
|
+
"name": "criteria-changed"
|
|
3826
|
+
},
|
|
3827
|
+
{
|
|
3828
|
+
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
3829
|
+
"name": "validation-errors"
|
|
3830
|
+
}
|
|
3831
|
+
],
|
|
3832
|
+
"attributes": [
|
|
3833
|
+
{
|
|
3834
|
+
"name": "placeholder",
|
|
3835
|
+
"type": {
|
|
3836
|
+
"text": "string"
|
|
3837
|
+
},
|
|
3838
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
3839
|
+
"fieldName": "placeholder"
|
|
3840
|
+
},
|
|
3841
|
+
{
|
|
3842
|
+
"type": {
|
|
3843
|
+
"text": "boolean"
|
|
3844
|
+
},
|
|
3845
|
+
"fieldName": "disabled"
|
|
3846
|
+
}
|
|
3847
|
+
],
|
|
3948
3848
|
"superclass": {
|
|
3949
3849
|
"name": "FoundationElement",
|
|
3950
3850
|
"package": "@microsoft/fast-foundation"
|
|
3951
3851
|
},
|
|
3952
|
-
"tagName": "%%prefix%%-ai-
|
|
3852
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3953
3853
|
"customElement": true
|
|
3954
3854
|
},
|
|
3955
3855
|
{
|
|
3956
3856
|
"kind": "variable",
|
|
3957
|
-
"name": "
|
|
3857
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3858
|
+
"type": {
|
|
3859
|
+
"text": "ShadowRootInit"
|
|
3860
|
+
},
|
|
3861
|
+
"default": "undefined"
|
|
3862
|
+
},
|
|
3863
|
+
{
|
|
3864
|
+
"kind": "variable",
|
|
3865
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3866
|
+
"type": {
|
|
3867
|
+
"text": "object"
|
|
3868
|
+
},
|
|
3869
|
+
"default": "{}"
|
|
3870
|
+
},
|
|
3871
|
+
{
|
|
3872
|
+
"kind": "variable",
|
|
3873
|
+
"name": "foundationAiCriteriaSearch"
|
|
3958
3874
|
}
|
|
3959
3875
|
],
|
|
3960
3876
|
"exports": [
|
|
3961
3877
|
{
|
|
3962
3878
|
"kind": "js",
|
|
3963
|
-
"name": "
|
|
3879
|
+
"name": "AiCriteriaSearch",
|
|
3964
3880
|
"declaration": {
|
|
3965
|
-
"name": "
|
|
3966
|
-
"module": "src/ai-
|
|
3881
|
+
"name": "AiCriteriaSearch",
|
|
3882
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3967
3883
|
}
|
|
3968
3884
|
},
|
|
3969
3885
|
{
|
|
3970
3886
|
"kind": "js",
|
|
3971
|
-
"name": "
|
|
3887
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3972
3888
|
"declaration": {
|
|
3973
|
-
"name": "
|
|
3974
|
-
"module": "src/ai-
|
|
3889
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3890
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3891
|
+
}
|
|
3892
|
+
},
|
|
3893
|
+
{
|
|
3894
|
+
"kind": "js",
|
|
3895
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3896
|
+
"declaration": {
|
|
3897
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3898
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3899
|
+
}
|
|
3900
|
+
},
|
|
3901
|
+
{
|
|
3902
|
+
"kind": "js",
|
|
3903
|
+
"name": "foundationAiCriteriaSearch",
|
|
3904
|
+
"declaration": {
|
|
3905
|
+
"name": "foundationAiCriteriaSearch",
|
|
3906
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3975
3907
|
}
|
|
3976
3908
|
}
|
|
3977
3909
|
]
|
|
3978
3910
|
},
|
|
3979
3911
|
{
|
|
3980
3912
|
"kind": "javascript-module",
|
|
3981
|
-
"path": "src/ai-
|
|
3913
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
3982
3914
|
"declarations": [],
|
|
3983
3915
|
"exports": [
|
|
3984
3916
|
{
|
|
3985
3917
|
"kind": "js",
|
|
3986
|
-
"name": "
|
|
3918
|
+
"name": "AiCriteriaSearch",
|
|
3987
3919
|
"declaration": {
|
|
3988
|
-
"name": "
|
|
3989
|
-
"module": "./ai-
|
|
3920
|
+
"name": "AiCriteriaSearch",
|
|
3921
|
+
"module": "./ai-criteria-search"
|
|
3990
3922
|
}
|
|
3991
3923
|
},
|
|
3992
3924
|
{
|
|
3993
3925
|
"kind": "js",
|
|
3994
|
-
"name": "
|
|
3926
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3995
3927
|
"declaration": {
|
|
3996
|
-
"name": "
|
|
3997
|
-
"module": "./ai-
|
|
3928
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3929
|
+
"module": "./ai-criteria-search"
|
|
3998
3930
|
}
|
|
3999
3931
|
},
|
|
4000
3932
|
{
|
|
4001
3933
|
"kind": "js",
|
|
4002
|
-
"name": "
|
|
3934
|
+
"name": "foundationAiCriteriaSearch",
|
|
4003
3935
|
"declaration": {
|
|
4004
|
-
"name": "
|
|
4005
|
-
"module": "./ai-
|
|
3936
|
+
"name": "foundationAiCriteriaSearch",
|
|
3937
|
+
"module": "./ai-criteria-search"
|
|
4006
3938
|
}
|
|
4007
3939
|
},
|
|
4008
3940
|
{
|
|
4009
3941
|
"kind": "js",
|
|
4010
|
-
"name": "
|
|
3942
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
4011
3943
|
"declaration": {
|
|
4012
|
-
"name": "
|
|
4013
|
-
"module": "./ai-
|
|
3944
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3945
|
+
"module": "./ai-criteria-search"
|
|
4014
3946
|
}
|
|
4015
3947
|
},
|
|
4016
3948
|
{
|
|
4017
3949
|
"kind": "js",
|
|
4018
|
-
"name": "
|
|
3950
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
4019
3951
|
"declaration": {
|
|
4020
|
-
"name": "
|
|
4021
|
-
"module": "./ai-
|
|
3952
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3953
|
+
"module": "./ai-criteria-search.styles"
|
|
4022
3954
|
}
|
|
4023
3955
|
},
|
|
4024
3956
|
{
|
|
4025
3957
|
"kind": "js",
|
|
4026
|
-
"name": "
|
|
3958
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
4027
3959
|
"declaration": {
|
|
4028
|
-
"name": "
|
|
4029
|
-
"module": "./ai-
|
|
3960
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3961
|
+
"module": "./ai-criteria-search.template"
|
|
4030
3962
|
}
|
|
4031
|
-
}
|
|
4032
|
-
]
|
|
4033
|
-
},
|
|
4034
|
-
{
|
|
4035
|
-
"kind": "javascript-module",
|
|
4036
|
-
"path": "src/_config/index.ts",
|
|
4037
|
-
"declarations": [],
|
|
4038
|
-
"exports": [
|
|
3963
|
+
},
|
|
4039
3964
|
{
|
|
4040
3965
|
"kind": "js",
|
|
4041
3966
|
"name": "*",
|
|
4042
3967
|
"declaration": {
|
|
4043
3968
|
"name": "*",
|
|
4044
|
-
"package": "./
|
|
3969
|
+
"package": "./validation/criteria-ir"
|
|
4045
3970
|
}
|
|
4046
3971
|
},
|
|
4047
3972
|
{
|
|
@@ -4049,7 +3974,7 @@
|
|
|
4049
3974
|
"name": "*",
|
|
4050
3975
|
"declaration": {
|
|
4051
3976
|
"name": "*",
|
|
4052
|
-
"package": "./
|
|
3977
|
+
"package": "./validation/operator-map"
|
|
4053
3978
|
}
|
|
4054
3979
|
},
|
|
4055
3980
|
{
|
|
@@ -4057,7 +3982,82 @@
|
|
|
4057
3982
|
"name": "*",
|
|
4058
3983
|
"declaration": {
|
|
4059
3984
|
"name": "*",
|
|
4060
|
-
"package": "./
|
|
3985
|
+
"package": "./validation/schema-validator"
|
|
3986
|
+
}
|
|
3987
|
+
}
|
|
3988
|
+
]
|
|
3989
|
+
},
|
|
3990
|
+
{
|
|
3991
|
+
"kind": "javascript-module",
|
|
3992
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3993
|
+
"declarations": [
|
|
3994
|
+
{
|
|
3995
|
+
"kind": "function",
|
|
3996
|
+
"name": "formatValidationErrors",
|
|
3997
|
+
"return": {
|
|
3998
|
+
"type": {
|
|
3999
|
+
"text": "string"
|
|
4000
|
+
}
|
|
4001
|
+
},
|
|
4002
|
+
"parameters": [
|
|
4003
|
+
{
|
|
4004
|
+
"name": "errors",
|
|
4005
|
+
"type": {
|
|
4006
|
+
"text": "ValidationError[]"
|
|
4007
|
+
}
|
|
4008
|
+
}
|
|
4009
|
+
],
|
|
4010
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
4011
|
+
},
|
|
4012
|
+
{
|
|
4013
|
+
"kind": "function",
|
|
4014
|
+
"name": "showCriteriaError",
|
|
4015
|
+
"return": {
|
|
4016
|
+
"type": {
|
|
4017
|
+
"text": "void"
|
|
4018
|
+
}
|
|
4019
|
+
},
|
|
4020
|
+
"parameters": [
|
|
4021
|
+
{
|
|
4022
|
+
"name": "title",
|
|
4023
|
+
"type": {
|
|
4024
|
+
"text": "string"
|
|
4025
|
+
},
|
|
4026
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
4027
|
+
},
|
|
4028
|
+
{
|
|
4029
|
+
"name": "body",
|
|
4030
|
+
"type": {
|
|
4031
|
+
"text": "string"
|
|
4032
|
+
},
|
|
4033
|
+
"description": "Error message to display"
|
|
4034
|
+
},
|
|
4035
|
+
{
|
|
4036
|
+
"name": "tagName",
|
|
4037
|
+
"type": {
|
|
4038
|
+
"text": "string"
|
|
4039
|
+
},
|
|
4040
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
4041
|
+
}
|
|
4042
|
+
],
|
|
4043
|
+
"description": "Shows a criteria error as a toast notification."
|
|
4044
|
+
}
|
|
4045
|
+
],
|
|
4046
|
+
"exports": [
|
|
4047
|
+
{
|
|
4048
|
+
"kind": "js",
|
|
4049
|
+
"name": "formatValidationErrors",
|
|
4050
|
+
"declaration": {
|
|
4051
|
+
"name": "formatValidationErrors",
|
|
4052
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
4053
|
+
}
|
|
4054
|
+
},
|
|
4055
|
+
{
|
|
4056
|
+
"kind": "js",
|
|
4057
|
+
"name": "showCriteriaError",
|
|
4058
|
+
"declaration": {
|
|
4059
|
+
"name": "showCriteriaError",
|
|
4060
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
4061
4061
|
}
|
|
4062
4062
|
}
|
|
4063
4063
|
]
|
|
@@ -60093,197 +60093,6 @@
|
|
|
60093
60093
|
}
|
|
60094
60094
|
]
|
|
60095
60095
|
},
|
|
60096
|
-
{
|
|
60097
|
-
"kind": "javascript-module",
|
|
60098
|
-
"path": "src/ai-criteria-search/validation/criteria-ir.ts",
|
|
60099
|
-
"declarations": [],
|
|
60100
|
-
"exports": []
|
|
60101
|
-
},
|
|
60102
|
-
{
|
|
60103
|
-
"kind": "javascript-module",
|
|
60104
|
-
"path": "src/ai-criteria-search/validation/operator-map.ts",
|
|
60105
|
-
"declarations": [
|
|
60106
|
-
{
|
|
60107
|
-
"kind": "function",
|
|
60108
|
-
"name": "groupsToCriteria",
|
|
60109
|
-
"return": {
|
|
60110
|
-
"type": {
|
|
60111
|
-
"text": "string"
|
|
60112
|
-
}
|
|
60113
|
-
},
|
|
60114
|
-
"parameters": [
|
|
60115
|
-
{
|
|
60116
|
-
"name": "groups",
|
|
60117
|
-
"type": {
|
|
60118
|
-
"text": "CriteriaGroup[]"
|
|
60119
|
-
}
|
|
60120
|
-
}
|
|
60121
|
-
],
|
|
60122
|
-
"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."
|
|
60123
|
-
},
|
|
60124
|
-
{
|
|
60125
|
-
"kind": "variable",
|
|
60126
|
-
"name": "STRING_OPERATORS",
|
|
60127
|
-
"type": {
|
|
60128
|
-
"text": "CriteriaOperator[]"
|
|
60129
|
-
},
|
|
60130
|
-
"default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
|
|
60131
|
-
},
|
|
60132
|
-
{
|
|
60133
|
-
"kind": "variable",
|
|
60134
|
-
"name": "NUMERIC_OPERATORS",
|
|
60135
|
-
"type": {
|
|
60136
|
-
"text": "CriteriaOperator[]"
|
|
60137
|
-
},
|
|
60138
|
-
"default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
|
|
60139
|
-
},
|
|
60140
|
-
{
|
|
60141
|
-
"kind": "variable",
|
|
60142
|
-
"name": "DATE_OPERATORS",
|
|
60143
|
-
"type": {
|
|
60144
|
-
"text": "CriteriaOperator[]"
|
|
60145
|
-
},
|
|
60146
|
-
"default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
|
|
60147
|
-
},
|
|
60148
|
-
{
|
|
60149
|
-
"kind": "variable",
|
|
60150
|
-
"name": "DATETIME_OPERATORS",
|
|
60151
|
-
"type": {
|
|
60152
|
-
"text": "CriteriaOperator[]"
|
|
60153
|
-
},
|
|
60154
|
-
"default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
|
|
60155
|
-
},
|
|
60156
|
-
{
|
|
60157
|
-
"kind": "variable",
|
|
60158
|
-
"name": "OPERATOR_DISPLAY_LABEL",
|
|
60159
|
-
"type": {
|
|
60160
|
-
"text": "Record<CriteriaOperator, string>"
|
|
60161
|
-
},
|
|
60162
|
-
"default": "{\n contains: 'contains',\n equals: '=',\n startsWith: 'starts with',\n endsWith: 'ends with',\n notEqual: '≠',\n greaterThan: '>',\n lessThan: '<',\n greaterThanOrEqual: '≥',\n lessThanOrEqual: '≤',\n dateIsToday: 'is today',\n dateIsAfter: 'after',\n dateIsBefore: 'before',\n dateIsEqual: '=',\n dateIsGreaterEqual: '≥',\n dateIsLessEqual: '≤',\n dateTimeIsAfter: 'after',\n dateTimeIsBefore: 'before',\n dateTimeIsGreaterEqual: '≥',\n dateTimeIsLessEqual: '≤',\n}"
|
|
60163
|
-
}
|
|
60164
|
-
],
|
|
60165
|
-
"exports": [
|
|
60166
|
-
{
|
|
60167
|
-
"kind": "js",
|
|
60168
|
-
"name": "groupsToCriteria",
|
|
60169
|
-
"declaration": {
|
|
60170
|
-
"name": "groupsToCriteria",
|
|
60171
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60172
|
-
}
|
|
60173
|
-
},
|
|
60174
|
-
{
|
|
60175
|
-
"kind": "js",
|
|
60176
|
-
"name": "STRING_OPERATORS",
|
|
60177
|
-
"declaration": {
|
|
60178
|
-
"name": "STRING_OPERATORS",
|
|
60179
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60180
|
-
}
|
|
60181
|
-
},
|
|
60182
|
-
{
|
|
60183
|
-
"kind": "js",
|
|
60184
|
-
"name": "NUMERIC_OPERATORS",
|
|
60185
|
-
"declaration": {
|
|
60186
|
-
"name": "NUMERIC_OPERATORS",
|
|
60187
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60188
|
-
}
|
|
60189
|
-
},
|
|
60190
|
-
{
|
|
60191
|
-
"kind": "js",
|
|
60192
|
-
"name": "DATE_OPERATORS",
|
|
60193
|
-
"declaration": {
|
|
60194
|
-
"name": "DATE_OPERATORS",
|
|
60195
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60196
|
-
}
|
|
60197
|
-
},
|
|
60198
|
-
{
|
|
60199
|
-
"kind": "js",
|
|
60200
|
-
"name": "DATETIME_OPERATORS",
|
|
60201
|
-
"declaration": {
|
|
60202
|
-
"name": "DATETIME_OPERATORS",
|
|
60203
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60204
|
-
}
|
|
60205
|
-
},
|
|
60206
|
-
{
|
|
60207
|
-
"kind": "js",
|
|
60208
|
-
"name": "OPERATOR_DISPLAY_LABEL",
|
|
60209
|
-
"declaration": {
|
|
60210
|
-
"name": "OPERATOR_DISPLAY_LABEL",
|
|
60211
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60212
|
-
}
|
|
60213
|
-
}
|
|
60214
|
-
]
|
|
60215
|
-
},
|
|
60216
|
-
{
|
|
60217
|
-
"kind": "javascript-module",
|
|
60218
|
-
"path": "src/ai-criteria-search/validation/schema-validator.ts",
|
|
60219
|
-
"declarations": [
|
|
60220
|
-
{
|
|
60221
|
-
"kind": "function",
|
|
60222
|
-
"name": "validateClauses",
|
|
60223
|
-
"return": {
|
|
60224
|
-
"type": {
|
|
60225
|
-
"text": "ValidationResult"
|
|
60226
|
-
}
|
|
60227
|
-
},
|
|
60228
|
-
"parameters": [
|
|
60229
|
-
{
|
|
60230
|
-
"name": "clauses",
|
|
60231
|
-
"type": {
|
|
60232
|
-
"text": "CriteriaClause[]"
|
|
60233
|
-
}
|
|
60234
|
-
},
|
|
60235
|
-
{
|
|
60236
|
-
"name": "fieldMetadata",
|
|
60237
|
-
"type": {
|
|
60238
|
-
"text": "MetadataDetail[] | string[]"
|
|
60239
|
-
}
|
|
60240
|
-
}
|
|
60241
|
-
]
|
|
60242
|
-
},
|
|
60243
|
-
{
|
|
60244
|
-
"kind": "function",
|
|
60245
|
-
"name": "validateGroups",
|
|
60246
|
-
"return": {
|
|
60247
|
-
"type": {
|
|
60248
|
-
"text": "GroupsValidationResult"
|
|
60249
|
-
}
|
|
60250
|
-
},
|
|
60251
|
-
"parameters": [
|
|
60252
|
-
{
|
|
60253
|
-
"name": "groups",
|
|
60254
|
-
"type": {
|
|
60255
|
-
"text": "CriteriaGroup[]"
|
|
60256
|
-
}
|
|
60257
|
-
},
|
|
60258
|
-
{
|
|
60259
|
-
"name": "fieldMetadata",
|
|
60260
|
-
"type": {
|
|
60261
|
-
"text": "MetadataDetail[] | string[]"
|
|
60262
|
-
}
|
|
60263
|
-
}
|
|
60264
|
-
],
|
|
60265
|
-
"description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
|
|
60266
|
-
}
|
|
60267
|
-
],
|
|
60268
|
-
"exports": [
|
|
60269
|
-
{
|
|
60270
|
-
"kind": "js",
|
|
60271
|
-
"name": "validateClauses",
|
|
60272
|
-
"declaration": {
|
|
60273
|
-
"name": "validateClauses",
|
|
60274
|
-
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
60275
|
-
}
|
|
60276
|
-
},
|
|
60277
|
-
{
|
|
60278
|
-
"kind": "js",
|
|
60279
|
-
"name": "validateGroups",
|
|
60280
|
-
"declaration": {
|
|
60281
|
-
"name": "validateGroups",
|
|
60282
|
-
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
60283
|
-
}
|
|
60284
|
-
}
|
|
60285
|
-
]
|
|
60286
|
-
},
|
|
60287
60096
|
{
|
|
60288
60097
|
"kind": "javascript-module",
|
|
60289
60098
|
"path": "src/_config/styles/colors.ts",
|
|
@@ -61656,6 +61465,197 @@
|
|
|
61656
61465
|
"declarations": [],
|
|
61657
61466
|
"exports": []
|
|
61658
61467
|
},
|
|
61468
|
+
{
|
|
61469
|
+
"kind": "javascript-module",
|
|
61470
|
+
"path": "src/ai-criteria-search/validation/criteria-ir.ts",
|
|
61471
|
+
"declarations": [],
|
|
61472
|
+
"exports": []
|
|
61473
|
+
},
|
|
61474
|
+
{
|
|
61475
|
+
"kind": "javascript-module",
|
|
61476
|
+
"path": "src/ai-criteria-search/validation/operator-map.ts",
|
|
61477
|
+
"declarations": [
|
|
61478
|
+
{
|
|
61479
|
+
"kind": "function",
|
|
61480
|
+
"name": "groupsToCriteria",
|
|
61481
|
+
"return": {
|
|
61482
|
+
"type": {
|
|
61483
|
+
"text": "string"
|
|
61484
|
+
}
|
|
61485
|
+
},
|
|
61486
|
+
"parameters": [
|
|
61487
|
+
{
|
|
61488
|
+
"name": "groups",
|
|
61489
|
+
"type": {
|
|
61490
|
+
"text": "CriteriaGroup[]"
|
|
61491
|
+
}
|
|
61492
|
+
}
|
|
61493
|
+
],
|
|
61494
|
+
"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."
|
|
61495
|
+
},
|
|
61496
|
+
{
|
|
61497
|
+
"kind": "variable",
|
|
61498
|
+
"name": "STRING_OPERATORS",
|
|
61499
|
+
"type": {
|
|
61500
|
+
"text": "CriteriaOperator[]"
|
|
61501
|
+
},
|
|
61502
|
+
"default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
|
|
61503
|
+
},
|
|
61504
|
+
{
|
|
61505
|
+
"kind": "variable",
|
|
61506
|
+
"name": "NUMERIC_OPERATORS",
|
|
61507
|
+
"type": {
|
|
61508
|
+
"text": "CriteriaOperator[]"
|
|
61509
|
+
},
|
|
61510
|
+
"default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
|
|
61511
|
+
},
|
|
61512
|
+
{
|
|
61513
|
+
"kind": "variable",
|
|
61514
|
+
"name": "DATE_OPERATORS",
|
|
61515
|
+
"type": {
|
|
61516
|
+
"text": "CriteriaOperator[]"
|
|
61517
|
+
},
|
|
61518
|
+
"default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
|
|
61519
|
+
},
|
|
61520
|
+
{
|
|
61521
|
+
"kind": "variable",
|
|
61522
|
+
"name": "DATETIME_OPERATORS",
|
|
61523
|
+
"type": {
|
|
61524
|
+
"text": "CriteriaOperator[]"
|
|
61525
|
+
},
|
|
61526
|
+
"default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
|
|
61527
|
+
},
|
|
61528
|
+
{
|
|
61529
|
+
"kind": "variable",
|
|
61530
|
+
"name": "OPERATOR_DISPLAY_LABEL",
|
|
61531
|
+
"type": {
|
|
61532
|
+
"text": "Record<CriteriaOperator, string>"
|
|
61533
|
+
},
|
|
61534
|
+
"default": "{\n contains: 'contains',\n equals: '=',\n startsWith: 'starts with',\n endsWith: 'ends with',\n notEqual: '≠',\n greaterThan: '>',\n lessThan: '<',\n greaterThanOrEqual: '≥',\n lessThanOrEqual: '≤',\n dateIsToday: 'is today',\n dateIsAfter: 'after',\n dateIsBefore: 'before',\n dateIsEqual: '=',\n dateIsGreaterEqual: '≥',\n dateIsLessEqual: '≤',\n dateTimeIsAfter: 'after',\n dateTimeIsBefore: 'before',\n dateTimeIsGreaterEqual: '≥',\n dateTimeIsLessEqual: '≤',\n}"
|
|
61535
|
+
}
|
|
61536
|
+
],
|
|
61537
|
+
"exports": [
|
|
61538
|
+
{
|
|
61539
|
+
"kind": "js",
|
|
61540
|
+
"name": "groupsToCriteria",
|
|
61541
|
+
"declaration": {
|
|
61542
|
+
"name": "groupsToCriteria",
|
|
61543
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
61544
|
+
}
|
|
61545
|
+
},
|
|
61546
|
+
{
|
|
61547
|
+
"kind": "js",
|
|
61548
|
+
"name": "STRING_OPERATORS",
|
|
61549
|
+
"declaration": {
|
|
61550
|
+
"name": "STRING_OPERATORS",
|
|
61551
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
61552
|
+
}
|
|
61553
|
+
},
|
|
61554
|
+
{
|
|
61555
|
+
"kind": "js",
|
|
61556
|
+
"name": "NUMERIC_OPERATORS",
|
|
61557
|
+
"declaration": {
|
|
61558
|
+
"name": "NUMERIC_OPERATORS",
|
|
61559
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
61560
|
+
}
|
|
61561
|
+
},
|
|
61562
|
+
{
|
|
61563
|
+
"kind": "js",
|
|
61564
|
+
"name": "DATE_OPERATORS",
|
|
61565
|
+
"declaration": {
|
|
61566
|
+
"name": "DATE_OPERATORS",
|
|
61567
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
61568
|
+
}
|
|
61569
|
+
},
|
|
61570
|
+
{
|
|
61571
|
+
"kind": "js",
|
|
61572
|
+
"name": "DATETIME_OPERATORS",
|
|
61573
|
+
"declaration": {
|
|
61574
|
+
"name": "DATETIME_OPERATORS",
|
|
61575
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
61576
|
+
}
|
|
61577
|
+
},
|
|
61578
|
+
{
|
|
61579
|
+
"kind": "js",
|
|
61580
|
+
"name": "OPERATOR_DISPLAY_LABEL",
|
|
61581
|
+
"declaration": {
|
|
61582
|
+
"name": "OPERATOR_DISPLAY_LABEL",
|
|
61583
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
61584
|
+
}
|
|
61585
|
+
}
|
|
61586
|
+
]
|
|
61587
|
+
},
|
|
61588
|
+
{
|
|
61589
|
+
"kind": "javascript-module",
|
|
61590
|
+
"path": "src/ai-criteria-search/validation/schema-validator.ts",
|
|
61591
|
+
"declarations": [
|
|
61592
|
+
{
|
|
61593
|
+
"kind": "function",
|
|
61594
|
+
"name": "validateClauses",
|
|
61595
|
+
"return": {
|
|
61596
|
+
"type": {
|
|
61597
|
+
"text": "ValidationResult"
|
|
61598
|
+
}
|
|
61599
|
+
},
|
|
61600
|
+
"parameters": [
|
|
61601
|
+
{
|
|
61602
|
+
"name": "clauses",
|
|
61603
|
+
"type": {
|
|
61604
|
+
"text": "CriteriaClause[]"
|
|
61605
|
+
}
|
|
61606
|
+
},
|
|
61607
|
+
{
|
|
61608
|
+
"name": "fieldMetadata",
|
|
61609
|
+
"type": {
|
|
61610
|
+
"text": "MetadataDetail[] | string[]"
|
|
61611
|
+
}
|
|
61612
|
+
}
|
|
61613
|
+
]
|
|
61614
|
+
},
|
|
61615
|
+
{
|
|
61616
|
+
"kind": "function",
|
|
61617
|
+
"name": "validateGroups",
|
|
61618
|
+
"return": {
|
|
61619
|
+
"type": {
|
|
61620
|
+
"text": "GroupsValidationResult"
|
|
61621
|
+
}
|
|
61622
|
+
},
|
|
61623
|
+
"parameters": [
|
|
61624
|
+
{
|
|
61625
|
+
"name": "groups",
|
|
61626
|
+
"type": {
|
|
61627
|
+
"text": "CriteriaGroup[]"
|
|
61628
|
+
}
|
|
61629
|
+
},
|
|
61630
|
+
{
|
|
61631
|
+
"name": "fieldMetadata",
|
|
61632
|
+
"type": {
|
|
61633
|
+
"text": "MetadataDetail[] | string[]"
|
|
61634
|
+
}
|
|
61635
|
+
}
|
|
61636
|
+
],
|
|
61637
|
+
"description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
|
|
61638
|
+
}
|
|
61639
|
+
],
|
|
61640
|
+
"exports": [
|
|
61641
|
+
{
|
|
61642
|
+
"kind": "js",
|
|
61643
|
+
"name": "validateClauses",
|
|
61644
|
+
"declaration": {
|
|
61645
|
+
"name": "validateClauses",
|
|
61646
|
+
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
61647
|
+
}
|
|
61648
|
+
},
|
|
61649
|
+
{
|
|
61650
|
+
"kind": "js",
|
|
61651
|
+
"name": "validateGroups",
|
|
61652
|
+
"declaration": {
|
|
61653
|
+
"name": "validateGroups",
|
|
61654
|
+
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
61655
|
+
}
|
|
61656
|
+
}
|
|
61657
|
+
]
|
|
61658
|
+
},
|
|
61659
61659
|
{
|
|
61660
61660
|
"kind": "javascript-module",
|
|
61661
61661
|
"path": "src/environment-indicator/utils/configure.ts",
|