@genesislcap/foundation-ui 15.10.5 → 15.10.6-GENC-1480.7
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 +1382 -1363
- package/dist/dts/combobox/combobox.d.ts.map +1 -1
- package/dist/dts/options-datasource/options-datasource.d.ts +8 -2
- package/dist/dts/options-datasource/options-datasource.d.ts.map +1 -1
- package/dist/dts/react.d.ts +9 -9
- package/dist/dts/utils/base-datasource.d.ts.map +1 -1
- package/dist/esm/combobox/combobox.js +21 -3
- package/dist/esm/options-datasource/options-datasource.js +36 -10
- package/dist/esm/utils/base-datasource.js +13 -9
- package/dist/foundation-ui.d.ts +8 -2
- package/dist/react.cjs +6 -6
- package/dist/react.mjs +5 -5
- package/package.json +19 -19
|
@@ -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",
|
|
@@ -1818,34 +1424,11 @@
|
|
|
1818
1424
|
},
|
|
1819
1425
|
{
|
|
1820
1426
|
"kind": "javascript-module",
|
|
1821
|
-
"path": "src/
|
|
1427
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
1822
1428
|
"declarations": [
|
|
1823
1429
|
{
|
|
1824
1430
|
"kind": "function",
|
|
1825
|
-
"name": "
|
|
1826
|
-
"return": {
|
|
1827
|
-
"type": {
|
|
1828
|
-
"text": "ElementStyles"
|
|
1829
|
-
}
|
|
1830
|
-
},
|
|
1831
|
-
"parameters": [
|
|
1832
|
-
{
|
|
1833
|
-
"name": "context",
|
|
1834
|
-
"type": {
|
|
1835
|
-
"text": "ElementDefinitionContext"
|
|
1836
|
-
}
|
|
1837
|
-
},
|
|
1838
|
-
{
|
|
1839
|
-
"name": "definition",
|
|
1840
|
-
"type": {
|
|
1841
|
-
"text": "FoundationElementDefinition"
|
|
1842
|
-
}
|
|
1843
|
-
}
|
|
1844
|
-
]
|
|
1845
|
-
},
|
|
1846
|
-
{
|
|
1847
|
-
"kind": "function",
|
|
1848
|
-
"name": "foundationActionsMenuStyles",
|
|
1431
|
+
"name": "foundationAccordionStyles",
|
|
1849
1432
|
"return": {
|
|
1850
1433
|
"type": {
|
|
1851
1434
|
"text": "ElementStyles"
|
|
@@ -1870,281 +1453,277 @@
|
|
|
1870
1453
|
"exports": [
|
|
1871
1454
|
{
|
|
1872
1455
|
"kind": "js",
|
|
1873
|
-
"name": "
|
|
1874
|
-
"declaration": {
|
|
1875
|
-
"name": "actionsMenuBaseStyles",
|
|
1876
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1877
|
-
}
|
|
1878
|
-
},
|
|
1879
|
-
{
|
|
1880
|
-
"kind": "js",
|
|
1881
|
-
"name": "foundationActionsMenuStyles",
|
|
1456
|
+
"name": "foundationAccordionStyles",
|
|
1882
1457
|
"declaration": {
|
|
1883
|
-
"name": "
|
|
1884
|
-
"module": "src/
|
|
1458
|
+
"name": "foundationAccordionStyles",
|
|
1459
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
1885
1460
|
}
|
|
1886
1461
|
}
|
|
1887
1462
|
]
|
|
1888
1463
|
},
|
|
1889
1464
|
{
|
|
1890
1465
|
"kind": "javascript-module",
|
|
1891
|
-
"path": "src/
|
|
1466
|
+
"path": "src/accordion/accordion.template.ts",
|
|
1892
1467
|
"declarations": [
|
|
1893
1468
|
{
|
|
1894
1469
|
"kind": "function",
|
|
1895
|
-
"name": "
|
|
1470
|
+
"name": "foundationAccordionTemplate",
|
|
1471
|
+
"return": {
|
|
1472
|
+
"type": {
|
|
1473
|
+
"text": "ViewTemplate<Accordion>"
|
|
1474
|
+
}
|
|
1475
|
+
},
|
|
1896
1476
|
"parameters": [
|
|
1897
1477
|
{
|
|
1898
|
-
"name": "
|
|
1478
|
+
"name": "context",
|
|
1899
1479
|
"type": {
|
|
1900
|
-
"text": "
|
|
1480
|
+
"text": "ElementDefinitionContext"
|
|
1901
1481
|
}
|
|
1902
|
-
}
|
|
1903
|
-
]
|
|
1904
|
-
},
|
|
1905
|
-
{
|
|
1906
|
-
"kind": "function",
|
|
1907
|
-
"name": "singleOptionTemplate",
|
|
1908
|
-
"parameters": [
|
|
1482
|
+
},
|
|
1909
1483
|
{
|
|
1910
|
-
"name": "
|
|
1484
|
+
"name": "definition",
|
|
1911
1485
|
"type": {
|
|
1912
|
-
"text": "
|
|
1486
|
+
"text": "FoundationElementDefinition"
|
|
1913
1487
|
}
|
|
1914
1488
|
}
|
|
1915
1489
|
]
|
|
1916
|
-
},
|
|
1917
|
-
{
|
|
1918
|
-
"kind": "variable",
|
|
1919
|
-
"name": "foundationActionsMenuTemplate",
|
|
1920
|
-
"type": {
|
|
1921
|
-
"text": "ViewTemplate<ActionsMenu>"
|
|
1922
|
-
},
|
|
1923
|
-
"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`"
|
|
1924
1490
|
}
|
|
1925
1491
|
],
|
|
1926
1492
|
"exports": [
|
|
1927
1493
|
{
|
|
1928
1494
|
"kind": "js",
|
|
1929
|
-
"name": "
|
|
1930
|
-
"declaration": {
|
|
1931
|
-
"name": "menuTemplate",
|
|
1932
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1933
|
-
}
|
|
1934
|
-
},
|
|
1935
|
-
{
|
|
1936
|
-
"kind": "js",
|
|
1937
|
-
"name": "singleOptionTemplate",
|
|
1938
|
-
"declaration": {
|
|
1939
|
-
"name": "singleOptionTemplate",
|
|
1940
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1941
|
-
}
|
|
1942
|
-
},
|
|
1943
|
-
{
|
|
1944
|
-
"kind": "js",
|
|
1945
|
-
"name": "foundationActionsMenuTemplate",
|
|
1495
|
+
"name": "foundationAccordionTemplate",
|
|
1946
1496
|
"declaration": {
|
|
1947
|
-
"name": "
|
|
1948
|
-
"module": "src/
|
|
1497
|
+
"name": "foundationAccordionTemplate",
|
|
1498
|
+
"module": "src/accordion/accordion.template.ts"
|
|
1949
1499
|
}
|
|
1950
1500
|
}
|
|
1951
1501
|
]
|
|
1952
1502
|
},
|
|
1953
1503
|
{
|
|
1954
1504
|
"kind": "javascript-module",
|
|
1955
|
-
"path": "src/
|
|
1505
|
+
"path": "src/accordion/accordion.ts",
|
|
1956
1506
|
"declarations": [
|
|
1957
1507
|
{
|
|
1958
1508
|
"kind": "class",
|
|
1959
1509
|
"description": "",
|
|
1960
|
-
"name": "
|
|
1961
|
-
"
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
},
|
|
1510
|
+
"name": "Accordion",
|
|
1511
|
+
"superclass": {
|
|
1512
|
+
"name": "FASTAccordion",
|
|
1513
|
+
"package": "@microsoft/fast-foundation"
|
|
1514
|
+
},
|
|
1515
|
+
"tagName": "%%prefix%%-accordion",
|
|
1516
|
+
"customElement": true,
|
|
1517
|
+
"attributes": [
|
|
1969
1518
|
{
|
|
1970
|
-
"
|
|
1971
|
-
"name": "isVertical",
|
|
1519
|
+
"name": "expand-mode",
|
|
1972
1520
|
"type": {
|
|
1973
|
-
"text": "
|
|
1974
|
-
},
|
|
1975
|
-
"default": "false"
|
|
1976
|
-
},
|
|
1977
|
-
{
|
|
1978
|
-
"kind": "field",
|
|
1979
|
-
"name": "addDefaultActions",
|
|
1980
|
-
"type": {
|
|
1981
|
-
"text": "boolean"
|
|
1521
|
+
"text": "AccordionExpandMode"
|
|
1982
1522
|
},
|
|
1983
|
-
"
|
|
1984
|
-
|
|
1523
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1524
|
+
"fieldName": "expandmode",
|
|
1525
|
+
"inheritedFrom": {
|
|
1526
|
+
"name": "Accordion",
|
|
1527
|
+
"module": "src/accordion/accordion.ts"
|
|
1528
|
+
}
|
|
1529
|
+
}
|
|
1530
|
+
],
|
|
1531
|
+
"members": [
|
|
1985
1532
|
{
|
|
1986
1533
|
"kind": "field",
|
|
1987
|
-
"name": "
|
|
1534
|
+
"name": "expandmode",
|
|
1988
1535
|
"type": {
|
|
1989
|
-
"text": "
|
|
1536
|
+
"text": "AccordionExpandMode"
|
|
1990
1537
|
},
|
|
1991
|
-
"
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
"type": {
|
|
1997
|
-
"text": "string"
|
|
1538
|
+
"privacy": "public",
|
|
1539
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1540
|
+
"inheritedFrom": {
|
|
1541
|
+
"name": "Accordion",
|
|
1542
|
+
"module": "src/accordion/accordion.ts"
|
|
1998
1543
|
}
|
|
1999
1544
|
},
|
|
2000
1545
|
{
|
|
2001
1546
|
"kind": "field",
|
|
2002
|
-
"name": "
|
|
1547
|
+
"name": "activeid",
|
|
2003
1548
|
"type": {
|
|
2004
|
-
"text": "
|
|
1549
|
+
"text": "string | null"
|
|
1550
|
+
},
|
|
1551
|
+
"privacy": "private",
|
|
1552
|
+
"inheritedFrom": {
|
|
1553
|
+
"name": "Accordion",
|
|
1554
|
+
"module": "src/accordion/accordion.ts"
|
|
2005
1555
|
}
|
|
2006
1556
|
},
|
|
2007
1557
|
{
|
|
2008
1558
|
"kind": "field",
|
|
2009
|
-
"name": "
|
|
1559
|
+
"name": "activeItemIndex",
|
|
2010
1560
|
"type": {
|
|
2011
|
-
"text": "
|
|
1561
|
+
"text": "number"
|
|
2012
1562
|
},
|
|
2013
|
-
"
|
|
1563
|
+
"privacy": "private",
|
|
1564
|
+
"default": "0",
|
|
1565
|
+
"inheritedFrom": {
|
|
1566
|
+
"name": "Accordion",
|
|
1567
|
+
"module": "src/accordion/accordion.ts"
|
|
1568
|
+
}
|
|
2014
1569
|
},
|
|
2015
1570
|
{
|
|
2016
1571
|
"kind": "field",
|
|
2017
|
-
"name": "
|
|
1572
|
+
"name": "accordionIds",
|
|
2018
1573
|
"type": {
|
|
2019
|
-
"text": "
|
|
1574
|
+
"text": "Array<string | null>"
|
|
2020
1575
|
},
|
|
2021
|
-
"
|
|
1576
|
+
"privacy": "private",
|
|
1577
|
+
"inheritedFrom": {
|
|
1578
|
+
"name": "Accordion",
|
|
1579
|
+
"module": "src/accordion/accordion.ts"
|
|
1580
|
+
}
|
|
2022
1581
|
},
|
|
2023
1582
|
{
|
|
2024
1583
|
"kind": "field",
|
|
2025
|
-
"name": "
|
|
2026
|
-
"
|
|
2027
|
-
|
|
1584
|
+
"name": "change",
|
|
1585
|
+
"privacy": "private",
|
|
1586
|
+
"inheritedFrom": {
|
|
1587
|
+
"name": "Accordion",
|
|
1588
|
+
"module": "src/accordion/accordion.ts"
|
|
2028
1589
|
}
|
|
2029
1590
|
},
|
|
2030
1591
|
{
|
|
2031
|
-
"kind": "
|
|
2032
|
-
"name": "
|
|
2033
|
-
"
|
|
2034
|
-
|
|
1592
|
+
"kind": "method",
|
|
1593
|
+
"name": "findExpandedItem",
|
|
1594
|
+
"privacy": "private",
|
|
1595
|
+
"return": {
|
|
1596
|
+
"type": {
|
|
1597
|
+
"text": "AccordionItem | null"
|
|
1598
|
+
}
|
|
2035
1599
|
},
|
|
2036
|
-
"
|
|
1600
|
+
"inheritedFrom": {
|
|
1601
|
+
"name": "Accordion",
|
|
1602
|
+
"module": "src/accordion/accordion.ts"
|
|
1603
|
+
}
|
|
2037
1604
|
},
|
|
2038
1605
|
{
|
|
2039
1606
|
"kind": "field",
|
|
2040
|
-
"name": "
|
|
2041
|
-
"
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
1607
|
+
"name": "setItems",
|
|
1608
|
+
"privacy": "private",
|
|
1609
|
+
"inheritedFrom": {
|
|
1610
|
+
"name": "Accordion",
|
|
1611
|
+
"module": "src/accordion/accordion.ts"
|
|
1612
|
+
}
|
|
2045
1613
|
},
|
|
2046
1614
|
{
|
|
2047
|
-
"kind": "
|
|
2048
|
-
"name": "
|
|
2049
|
-
"
|
|
2050
|
-
|
|
1615
|
+
"kind": "method",
|
|
1616
|
+
"name": "resetItems",
|
|
1617
|
+
"privacy": "private",
|
|
1618
|
+
"return": {
|
|
1619
|
+
"type": {
|
|
1620
|
+
"text": "void"
|
|
1621
|
+
}
|
|
1622
|
+
},
|
|
1623
|
+
"inheritedFrom": {
|
|
1624
|
+
"name": "Accordion",
|
|
1625
|
+
"module": "src/accordion/accordion.ts"
|
|
2051
1626
|
}
|
|
2052
1627
|
},
|
|
2053
1628
|
{
|
|
2054
1629
|
"kind": "field",
|
|
2055
|
-
"name": "
|
|
2056
|
-
"
|
|
2057
|
-
|
|
1630
|
+
"name": "removeItemListeners",
|
|
1631
|
+
"privacy": "private",
|
|
1632
|
+
"inheritedFrom": {
|
|
1633
|
+
"name": "Accordion",
|
|
1634
|
+
"module": "src/accordion/accordion.ts"
|
|
2058
1635
|
}
|
|
2059
1636
|
},
|
|
2060
1637
|
{
|
|
2061
1638
|
"kind": "field",
|
|
2062
|
-
"name": "
|
|
2063
|
-
"
|
|
2064
|
-
|
|
1639
|
+
"name": "activeItemChange",
|
|
1640
|
+
"privacy": "private",
|
|
1641
|
+
"inheritedFrom": {
|
|
1642
|
+
"name": "Accordion",
|
|
1643
|
+
"module": "src/accordion/accordion.ts"
|
|
2065
1644
|
}
|
|
2066
1645
|
},
|
|
2067
1646
|
{
|
|
2068
1647
|
"kind": "method",
|
|
2069
|
-
"name": "
|
|
2070
|
-
"privacy": "private"
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
"name": "definitionChanged",
|
|
2075
|
-
"privacy": "protected",
|
|
2076
|
-
"parameters": [
|
|
2077
|
-
{
|
|
2078
|
-
"name": "oldValue",
|
|
2079
|
-
"type": {
|
|
2080
|
-
"text": "any"
|
|
2081
|
-
}
|
|
2082
|
-
},
|
|
2083
|
-
{
|
|
2084
|
-
"name": "newValue",
|
|
2085
|
-
"type": {
|
|
2086
|
-
"text": "any"
|
|
2087
|
-
}
|
|
1648
|
+
"name": "getItemIds",
|
|
1649
|
+
"privacy": "private",
|
|
1650
|
+
"return": {
|
|
1651
|
+
"type": {
|
|
1652
|
+
"text": "Array<string | null>"
|
|
2088
1653
|
}
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
"privacy": "protected"
|
|
2095
|
-
},
|
|
2096
|
-
{
|
|
2097
|
-
"kind": "method",
|
|
2098
|
-
"name": "toggleActionsMenuVisibility"
|
|
1654
|
+
},
|
|
1655
|
+
"inheritedFrom": {
|
|
1656
|
+
"name": "Accordion",
|
|
1657
|
+
"module": "src/accordion/accordion.ts"
|
|
1658
|
+
}
|
|
2099
1659
|
},
|
|
2100
1660
|
{
|
|
2101
1661
|
"kind": "method",
|
|
2102
|
-
"name": "
|
|
2103
|
-
"
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
"
|
|
2107
|
-
"text": "(rowData) => void | any"
|
|
2108
|
-
}
|
|
1662
|
+
"name": "isSingleExpandMode",
|
|
1663
|
+
"privacy": "private",
|
|
1664
|
+
"return": {
|
|
1665
|
+
"type": {
|
|
1666
|
+
"text": "boolean"
|
|
2109
1667
|
}
|
|
2110
|
-
|
|
1668
|
+
},
|
|
1669
|
+
"inheritedFrom": {
|
|
1670
|
+
"name": "Accordion",
|
|
1671
|
+
"module": "src/accordion/accordion.ts"
|
|
1672
|
+
}
|
|
2111
1673
|
},
|
|
2112
1674
|
{
|
|
2113
1675
|
"kind": "field",
|
|
2114
|
-
"name": "
|
|
2115
|
-
"
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
1676
|
+
"name": "handleItemKeyDown",
|
|
1677
|
+
"privacy": "private",
|
|
1678
|
+
"inheritedFrom": {
|
|
1679
|
+
"name": "Accordion",
|
|
1680
|
+
"module": "src/accordion/accordion.ts"
|
|
1681
|
+
}
|
|
2119
1682
|
},
|
|
2120
1683
|
{
|
|
2121
1684
|
"kind": "field",
|
|
2122
|
-
"name": "
|
|
2123
|
-
"
|
|
1685
|
+
"name": "handleItemFocus",
|
|
1686
|
+
"privacy": "private",
|
|
1687
|
+
"inheritedFrom": {
|
|
1688
|
+
"name": "Accordion",
|
|
1689
|
+
"module": "src/accordion/accordion.ts"
|
|
1690
|
+
}
|
|
2124
1691
|
},
|
|
2125
1692
|
{
|
|
2126
1693
|
"kind": "method",
|
|
2127
|
-
"name": "
|
|
1694
|
+
"name": "adjust",
|
|
1695
|
+
"privacy": "private",
|
|
1696
|
+
"return": {
|
|
1697
|
+
"type": {
|
|
1698
|
+
"text": "void"
|
|
1699
|
+
}
|
|
1700
|
+
},
|
|
2128
1701
|
"parameters": [
|
|
2129
1702
|
{
|
|
2130
|
-
"name": "
|
|
1703
|
+
"name": "adjustment",
|
|
2131
1704
|
"type": {
|
|
2132
|
-
"text": "
|
|
1705
|
+
"text": "number"
|
|
2133
1706
|
}
|
|
2134
1707
|
}
|
|
2135
|
-
]
|
|
1708
|
+
],
|
|
1709
|
+
"inheritedFrom": {
|
|
1710
|
+
"name": "Accordion",
|
|
1711
|
+
"module": "src/accordion/accordion.ts"
|
|
1712
|
+
}
|
|
2136
1713
|
},
|
|
2137
1714
|
{
|
|
2138
1715
|
"kind": "method",
|
|
2139
|
-
"name": "
|
|
2140
|
-
"
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
"
|
|
2144
|
-
"text": "string"
|
|
2145
|
-
}
|
|
1716
|
+
"name": "focusItem",
|
|
1717
|
+
"privacy": "private",
|
|
1718
|
+
"return": {
|
|
1719
|
+
"type": {
|
|
1720
|
+
"text": "void"
|
|
2146
1721
|
}
|
|
2147
|
-
|
|
1722
|
+
},
|
|
1723
|
+
"inheritedFrom": {
|
|
1724
|
+
"name": "Accordion",
|
|
1725
|
+
"module": "src/accordion/accordion.ts"
|
|
1726
|
+
}
|
|
2148
1727
|
},
|
|
2149
1728
|
{
|
|
2150
1729
|
"kind": "field",
|
|
@@ -2258,107 +1837,503 @@
|
|
|
2258
1837
|
}
|
|
2259
1838
|
}
|
|
2260
1839
|
],
|
|
1840
|
+
"events": [
|
|
1841
|
+
{
|
|
1842
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
1843
|
+
"name": "change",
|
|
1844
|
+
"inheritedFrom": {
|
|
1845
|
+
"name": "Accordion",
|
|
1846
|
+
"module": "src/accordion/accordion.ts"
|
|
1847
|
+
}
|
|
1848
|
+
}
|
|
1849
|
+
]
|
|
1850
|
+
},
|
|
1851
|
+
{
|
|
1852
|
+
"kind": "variable",
|
|
1853
|
+
"name": "foundationAccordionShadowOptions",
|
|
1854
|
+
"type": {
|
|
1855
|
+
"text": "ShadowRootInit"
|
|
1856
|
+
},
|
|
1857
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
1858
|
+
},
|
|
1859
|
+
{
|
|
1860
|
+
"kind": "variable",
|
|
1861
|
+
"name": "defaultAccordionConfig",
|
|
1862
|
+
"type": {
|
|
1863
|
+
"text": "object"
|
|
1864
|
+
},
|
|
1865
|
+
"default": "{}"
|
|
1866
|
+
},
|
|
1867
|
+
{
|
|
1868
|
+
"kind": "variable",
|
|
1869
|
+
"name": "foundationAccordion",
|
|
1870
|
+
"description": "The Foundation Accordion",
|
|
1871
|
+
"privacy": "public"
|
|
1872
|
+
}
|
|
1873
|
+
],
|
|
1874
|
+
"exports": [
|
|
1875
|
+
{
|
|
1876
|
+
"kind": "js",
|
|
1877
|
+
"name": "Accordion",
|
|
1878
|
+
"declaration": {
|
|
1879
|
+
"name": "Accordion",
|
|
1880
|
+
"module": "src/accordion/accordion.ts"
|
|
1881
|
+
}
|
|
1882
|
+
},
|
|
1883
|
+
{
|
|
1884
|
+
"kind": "js",
|
|
1885
|
+
"name": "foundationAccordionShadowOptions",
|
|
1886
|
+
"declaration": {
|
|
1887
|
+
"name": "foundationAccordionShadowOptions",
|
|
1888
|
+
"module": "src/accordion/accordion.ts"
|
|
1889
|
+
}
|
|
1890
|
+
},
|
|
1891
|
+
{
|
|
1892
|
+
"kind": "js",
|
|
1893
|
+
"name": "defaultAccordionConfig",
|
|
1894
|
+
"declaration": {
|
|
1895
|
+
"name": "defaultAccordionConfig",
|
|
1896
|
+
"module": "src/accordion/accordion.ts"
|
|
1897
|
+
}
|
|
1898
|
+
},
|
|
1899
|
+
{
|
|
1900
|
+
"kind": "js",
|
|
1901
|
+
"name": "foundationAccordion",
|
|
1902
|
+
"declaration": {
|
|
1903
|
+
"name": "foundationAccordion",
|
|
1904
|
+
"module": "src/accordion/accordion.ts"
|
|
1905
|
+
}
|
|
1906
|
+
}
|
|
1907
|
+
]
|
|
1908
|
+
},
|
|
1909
|
+
{
|
|
1910
|
+
"kind": "javascript-module",
|
|
1911
|
+
"path": "src/accordion/index.ts",
|
|
1912
|
+
"declarations": [],
|
|
1913
|
+
"exports": [
|
|
1914
|
+
{
|
|
1915
|
+
"kind": "js",
|
|
1916
|
+
"name": "*",
|
|
1917
|
+
"declaration": {
|
|
1918
|
+
"name": "*",
|
|
1919
|
+
"package": "./accordion.template"
|
|
1920
|
+
}
|
|
1921
|
+
},
|
|
1922
|
+
{
|
|
1923
|
+
"kind": "js",
|
|
1924
|
+
"name": "*",
|
|
1925
|
+
"declaration": {
|
|
1926
|
+
"name": "*",
|
|
1927
|
+
"package": "./accordion.styles"
|
|
1928
|
+
}
|
|
1929
|
+
},
|
|
1930
|
+
{
|
|
1931
|
+
"kind": "js",
|
|
1932
|
+
"name": "*",
|
|
1933
|
+
"declaration": {
|
|
1934
|
+
"name": "*",
|
|
1935
|
+
"package": "./accordion"
|
|
1936
|
+
}
|
|
1937
|
+
}
|
|
1938
|
+
]
|
|
1939
|
+
},
|
|
1940
|
+
{
|
|
1941
|
+
"kind": "javascript-module",
|
|
1942
|
+
"path": "src/_config/index.ts",
|
|
1943
|
+
"declarations": [],
|
|
1944
|
+
"exports": [
|
|
1945
|
+
{
|
|
1946
|
+
"kind": "js",
|
|
1947
|
+
"name": "*",
|
|
1948
|
+
"declaration": {
|
|
1949
|
+
"name": "*",
|
|
1950
|
+
"package": "./styles"
|
|
1951
|
+
}
|
|
1952
|
+
},
|
|
1953
|
+
{
|
|
1954
|
+
"kind": "js",
|
|
1955
|
+
"name": "*",
|
|
1956
|
+
"declaration": {
|
|
1957
|
+
"name": "*",
|
|
1958
|
+
"package": "./tokens"
|
|
1959
|
+
}
|
|
1960
|
+
},
|
|
1961
|
+
{
|
|
1962
|
+
"kind": "js",
|
|
1963
|
+
"name": "*",
|
|
1964
|
+
"declaration": {
|
|
1965
|
+
"name": "*",
|
|
1966
|
+
"package": "./values"
|
|
1967
|
+
}
|
|
1968
|
+
}
|
|
1969
|
+
]
|
|
1970
|
+
},
|
|
1971
|
+
{
|
|
1972
|
+
"kind": "javascript-module",
|
|
1973
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
1974
|
+
"declarations": [
|
|
1975
|
+
{
|
|
1976
|
+
"kind": "function",
|
|
1977
|
+
"name": "foundationAccordionItemStyles",
|
|
1978
|
+
"return": {
|
|
1979
|
+
"type": {
|
|
1980
|
+
"text": "ElementStyles"
|
|
1981
|
+
}
|
|
1982
|
+
},
|
|
1983
|
+
"parameters": [
|
|
1984
|
+
{
|
|
1985
|
+
"name": "context",
|
|
1986
|
+
"type": {
|
|
1987
|
+
"text": "ElementDefinitionContext"
|
|
1988
|
+
}
|
|
1989
|
+
},
|
|
1990
|
+
{
|
|
1991
|
+
"name": "definition",
|
|
1992
|
+
"type": {
|
|
1993
|
+
"text": "FoundationElementDefinition"
|
|
1994
|
+
}
|
|
1995
|
+
}
|
|
1996
|
+
]
|
|
1997
|
+
}
|
|
1998
|
+
],
|
|
1999
|
+
"exports": [
|
|
2000
|
+
{
|
|
2001
|
+
"kind": "js",
|
|
2002
|
+
"name": "foundationAccordionItemStyles",
|
|
2003
|
+
"declaration": {
|
|
2004
|
+
"name": "foundationAccordionItemStyles",
|
|
2005
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
2006
|
+
}
|
|
2007
|
+
}
|
|
2008
|
+
]
|
|
2009
|
+
},
|
|
2010
|
+
{
|
|
2011
|
+
"kind": "javascript-module",
|
|
2012
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
2013
|
+
"declarations": [
|
|
2014
|
+
{
|
|
2015
|
+
"kind": "function",
|
|
2016
|
+
"name": "foundationAccordionItemTemplate",
|
|
2017
|
+
"return": {
|
|
2018
|
+
"type": {
|
|
2019
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
2020
|
+
}
|
|
2021
|
+
},
|
|
2022
|
+
"parameters": [
|
|
2023
|
+
{
|
|
2024
|
+
"name": "context",
|
|
2025
|
+
"type": {
|
|
2026
|
+
"text": "ElementDefinitionContext"
|
|
2027
|
+
}
|
|
2028
|
+
},
|
|
2029
|
+
{
|
|
2030
|
+
"name": "definition",
|
|
2031
|
+
"type": {
|
|
2032
|
+
"text": "FoundationElementDefinition"
|
|
2033
|
+
}
|
|
2034
|
+
}
|
|
2035
|
+
]
|
|
2036
|
+
}
|
|
2037
|
+
],
|
|
2038
|
+
"exports": [
|
|
2039
|
+
{
|
|
2040
|
+
"kind": "js",
|
|
2041
|
+
"name": "foundationAccordionItemTemplate",
|
|
2042
|
+
"declaration": {
|
|
2043
|
+
"name": "foundationAccordionItemTemplate",
|
|
2044
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
2045
|
+
}
|
|
2046
|
+
}
|
|
2047
|
+
]
|
|
2048
|
+
},
|
|
2049
|
+
{
|
|
2050
|
+
"kind": "javascript-module",
|
|
2051
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
2052
|
+
"declarations": [
|
|
2053
|
+
{
|
|
2054
|
+
"kind": "class",
|
|
2055
|
+
"description": "",
|
|
2056
|
+
"name": "AccordionItem",
|
|
2057
|
+
"superclass": {
|
|
2058
|
+
"name": "FASTAccordionItem",
|
|
2059
|
+
"package": "@microsoft/fast-components"
|
|
2060
|
+
},
|
|
2061
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
2062
|
+
"customElement": true,
|
|
2261
2063
|
"attributes": [
|
|
2262
2064
|
{
|
|
2263
|
-
"name": "
|
|
2065
|
+
"name": "heading-level",
|
|
2066
|
+
"type": {
|
|
2067
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
2068
|
+
},
|
|
2069
|
+
"default": "2",
|
|
2070
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
2071
|
+
"fieldName": "headinglevel",
|
|
2072
|
+
"inheritedFrom": {
|
|
2073
|
+
"name": "AccordionItem",
|
|
2074
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2075
|
+
}
|
|
2076
|
+
},
|
|
2077
|
+
{
|
|
2264
2078
|
"type": {
|
|
2265
2079
|
"text": "boolean"
|
|
2266
2080
|
},
|
|
2267
2081
|
"default": "false",
|
|
2268
|
-
"
|
|
2082
|
+
"description": "Expands or collapses the item.",
|
|
2083
|
+
"fieldName": "expanded",
|
|
2084
|
+
"inheritedFrom": {
|
|
2085
|
+
"name": "AccordionItem",
|
|
2086
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2087
|
+
}
|
|
2269
2088
|
},
|
|
2270
2089
|
{
|
|
2271
|
-
"name": "
|
|
2090
|
+
"name": "id",
|
|
2272
2091
|
"type": {
|
|
2273
|
-
"text": "
|
|
2092
|
+
"text": "string"
|
|
2274
2093
|
},
|
|
2275
|
-
"
|
|
2276
|
-
"fieldName": "
|
|
2094
|
+
"description": "The item ID",
|
|
2095
|
+
"fieldName": "id",
|
|
2096
|
+
"inheritedFrom": {
|
|
2097
|
+
"name": "AccordionItem",
|
|
2098
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2099
|
+
}
|
|
2100
|
+
}
|
|
2101
|
+
],
|
|
2102
|
+
"members": [
|
|
2103
|
+
{
|
|
2104
|
+
"kind": "field",
|
|
2105
|
+
"name": "headinglevel",
|
|
2106
|
+
"type": {
|
|
2107
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
2108
|
+
},
|
|
2109
|
+
"privacy": "public",
|
|
2110
|
+
"default": "2",
|
|
2111
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
2112
|
+
"inheritedFrom": {
|
|
2113
|
+
"name": "AccordionItem",
|
|
2114
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2115
|
+
}
|
|
2277
2116
|
},
|
|
2278
2117
|
{
|
|
2279
|
-
"
|
|
2118
|
+
"kind": "field",
|
|
2119
|
+
"name": "expanded",
|
|
2280
2120
|
"type": {
|
|
2281
2121
|
"text": "boolean"
|
|
2282
2122
|
},
|
|
2283
|
-
"
|
|
2284
|
-
"
|
|
2123
|
+
"privacy": "public",
|
|
2124
|
+
"default": "false",
|
|
2125
|
+
"description": "Expands or collapses the item.",
|
|
2126
|
+
"inheritedFrom": {
|
|
2127
|
+
"name": "AccordionItem",
|
|
2128
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2129
|
+
}
|
|
2285
2130
|
},
|
|
2286
2131
|
{
|
|
2287
|
-
"
|
|
2132
|
+
"kind": "field",
|
|
2133
|
+
"name": "id",
|
|
2288
2134
|
"type": {
|
|
2289
2135
|
"text": "string"
|
|
2290
2136
|
},
|
|
2291
|
-
"
|
|
2292
|
-
"
|
|
2137
|
+
"privacy": "public",
|
|
2138
|
+
"description": "The item ID",
|
|
2139
|
+
"inheritedFrom": {
|
|
2140
|
+
"name": "AccordionItem",
|
|
2141
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2142
|
+
}
|
|
2293
2143
|
},
|
|
2294
2144
|
{
|
|
2295
|
-
"
|
|
2145
|
+
"kind": "field",
|
|
2146
|
+
"name": "change",
|
|
2147
|
+
"privacy": "private",
|
|
2148
|
+
"inheritedFrom": {
|
|
2149
|
+
"name": "AccordionItem",
|
|
2150
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2151
|
+
}
|
|
2152
|
+
},
|
|
2153
|
+
{
|
|
2154
|
+
"kind": "field",
|
|
2155
|
+
"name": "_presentation",
|
|
2296
2156
|
"type": {
|
|
2297
|
-
"text": "
|
|
2157
|
+
"text": "ComponentPresentation | null | undefined"
|
|
2298
2158
|
},
|
|
2299
|
-
"
|
|
2300
|
-
"
|
|
2159
|
+
"privacy": "private",
|
|
2160
|
+
"default": "void 0",
|
|
2161
|
+
"inheritedFrom": {
|
|
2162
|
+
"name": "FoundationElement",
|
|
2163
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2164
|
+
}
|
|
2301
2165
|
},
|
|
2302
2166
|
{
|
|
2303
|
-
"
|
|
2167
|
+
"kind": "field",
|
|
2168
|
+
"name": "$presentation",
|
|
2304
2169
|
"type": {
|
|
2305
|
-
"text": "
|
|
2170
|
+
"text": "ComponentPresentation | null"
|
|
2306
2171
|
},
|
|
2307
|
-
"
|
|
2172
|
+
"privacy": "public",
|
|
2173
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
2174
|
+
"inheritedFrom": {
|
|
2175
|
+
"name": "FoundationElement",
|
|
2176
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2177
|
+
}
|
|
2308
2178
|
},
|
|
2309
2179
|
{
|
|
2310
|
-
"
|
|
2180
|
+
"kind": "field",
|
|
2181
|
+
"name": "template",
|
|
2311
2182
|
"type": {
|
|
2312
|
-
"text": "
|
|
2183
|
+
"text": "ElementViewTemplate | void | null"
|
|
2313
2184
|
},
|
|
2314
|
-
"
|
|
2315
|
-
"
|
|
2185
|
+
"privacy": "public",
|
|
2186
|
+
"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.",
|
|
2187
|
+
"inheritedFrom": {
|
|
2188
|
+
"name": "FoundationElement",
|
|
2189
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2190
|
+
}
|
|
2316
2191
|
},
|
|
2317
2192
|
{
|
|
2318
|
-
"
|
|
2193
|
+
"kind": "method",
|
|
2194
|
+
"name": "templateChanged",
|
|
2195
|
+
"privacy": "protected",
|
|
2196
|
+
"return": {
|
|
2197
|
+
"type": {
|
|
2198
|
+
"text": "void"
|
|
2199
|
+
}
|
|
2200
|
+
},
|
|
2201
|
+
"inheritedFrom": {
|
|
2202
|
+
"name": "FoundationElement",
|
|
2203
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2204
|
+
}
|
|
2205
|
+
},
|
|
2206
|
+
{
|
|
2207
|
+
"kind": "field",
|
|
2208
|
+
"name": "styles",
|
|
2319
2209
|
"type": {
|
|
2320
|
-
"text": "
|
|
2210
|
+
"text": "ElementStyles | void | null"
|
|
2321
2211
|
},
|
|
2322
|
-
"
|
|
2323
|
-
"
|
|
2212
|
+
"privacy": "public",
|
|
2213
|
+
"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.",
|
|
2214
|
+
"inheritedFrom": {
|
|
2215
|
+
"name": "FoundationElement",
|
|
2216
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2217
|
+
}
|
|
2218
|
+
},
|
|
2219
|
+
{
|
|
2220
|
+
"kind": "method",
|
|
2221
|
+
"name": "stylesChanged",
|
|
2222
|
+
"privacy": "protected",
|
|
2223
|
+
"return": {
|
|
2224
|
+
"type": {
|
|
2225
|
+
"text": "void"
|
|
2226
|
+
}
|
|
2227
|
+
},
|
|
2228
|
+
"inheritedFrom": {
|
|
2229
|
+
"name": "FoundationElement",
|
|
2230
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2231
|
+
}
|
|
2232
|
+
},
|
|
2233
|
+
{
|
|
2234
|
+
"kind": "method",
|
|
2235
|
+
"name": "compose",
|
|
2236
|
+
"privacy": "public",
|
|
2237
|
+
"static": true,
|
|
2238
|
+
"return": {
|
|
2239
|
+
"type": {
|
|
2240
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
2241
|
+
}
|
|
2242
|
+
},
|
|
2243
|
+
"parameters": [
|
|
2244
|
+
{
|
|
2245
|
+
"name": "this",
|
|
2246
|
+
"type": {
|
|
2247
|
+
"text": "K"
|
|
2248
|
+
}
|
|
2249
|
+
},
|
|
2250
|
+
{
|
|
2251
|
+
"name": "elementDefinition",
|
|
2252
|
+
"type": {
|
|
2253
|
+
"text": "T"
|
|
2254
|
+
},
|
|
2255
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
2256
|
+
}
|
|
2257
|
+
],
|
|
2258
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
2259
|
+
"inheritedFrom": {
|
|
2260
|
+
"name": "FoundationElement",
|
|
2261
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2262
|
+
}
|
|
2324
2263
|
}
|
|
2325
2264
|
],
|
|
2326
|
-
"
|
|
2327
|
-
|
|
2328
|
-
|
|
2265
|
+
"events": [
|
|
2266
|
+
{
|
|
2267
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
2268
|
+
"name": "change",
|
|
2269
|
+
"inheritedFrom": {
|
|
2270
|
+
"name": "AccordionItem",
|
|
2271
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2272
|
+
}
|
|
2273
|
+
}
|
|
2274
|
+
]
|
|
2275
|
+
},
|
|
2276
|
+
{
|
|
2277
|
+
"kind": "variable",
|
|
2278
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2279
|
+
"type": {
|
|
2280
|
+
"text": "ShadowRootInit"
|
|
2329
2281
|
},
|
|
2330
|
-
"
|
|
2331
|
-
"customElement": true
|
|
2282
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2332
2283
|
},
|
|
2333
2284
|
{
|
|
2334
2285
|
"kind": "variable",
|
|
2335
|
-
"name": "
|
|
2336
|
-
"
|
|
2286
|
+
"name": "defaultAccordionItemConfig",
|
|
2287
|
+
"type": {
|
|
2288
|
+
"text": "object"
|
|
2289
|
+
},
|
|
2290
|
+
"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}"
|
|
2291
|
+
},
|
|
2292
|
+
{
|
|
2293
|
+
"kind": "variable",
|
|
2294
|
+
"name": "foundationAccordionItem",
|
|
2295
|
+
"description": "The Foundation Accordion Item",
|
|
2337
2296
|
"privacy": "public"
|
|
2338
2297
|
}
|
|
2339
2298
|
],
|
|
2340
2299
|
"exports": [
|
|
2341
2300
|
{
|
|
2342
2301
|
"kind": "js",
|
|
2343
|
-
"name": "
|
|
2302
|
+
"name": "AccordionItem",
|
|
2344
2303
|
"declaration": {
|
|
2345
|
-
"name": "
|
|
2346
|
-
"module": "src/
|
|
2304
|
+
"name": "AccordionItem",
|
|
2305
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2347
2306
|
}
|
|
2348
2307
|
},
|
|
2349
2308
|
{
|
|
2350
2309
|
"kind": "js",
|
|
2351
|
-
"name": "
|
|
2310
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2352
2311
|
"declaration": {
|
|
2353
|
-
"name": "
|
|
2354
|
-
"module": "src/
|
|
2312
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2313
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2314
|
+
}
|
|
2315
|
+
},
|
|
2316
|
+
{
|
|
2317
|
+
"kind": "js",
|
|
2318
|
+
"name": "defaultAccordionItemConfig",
|
|
2319
|
+
"declaration": {
|
|
2320
|
+
"name": "defaultAccordionItemConfig",
|
|
2321
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2322
|
+
}
|
|
2323
|
+
},
|
|
2324
|
+
{
|
|
2325
|
+
"kind": "js",
|
|
2326
|
+
"name": "foundationAccordionItem",
|
|
2327
|
+
"declaration": {
|
|
2328
|
+
"name": "foundationAccordionItem",
|
|
2329
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2355
2330
|
}
|
|
2356
2331
|
}
|
|
2357
2332
|
]
|
|
2358
2333
|
},
|
|
2359
2334
|
{
|
|
2360
2335
|
"kind": "javascript-module",
|
|
2361
|
-
"path": "src/
|
|
2336
|
+
"path": "src/accordion-item/index.ts",
|
|
2362
2337
|
"declarations": [],
|
|
2363
2338
|
"exports": [
|
|
2364
2339
|
{
|
|
@@ -2366,7 +2341,7 @@
|
|
|
2366
2341
|
"name": "*",
|
|
2367
2342
|
"declaration": {
|
|
2368
2343
|
"name": "*",
|
|
2369
|
-
"package": "./
|
|
2344
|
+
"package": "./accordion-item.template"
|
|
2370
2345
|
}
|
|
2371
2346
|
},
|
|
2372
2347
|
{
|
|
@@ -2374,7 +2349,7 @@
|
|
|
2374
2349
|
"name": "*",
|
|
2375
2350
|
"declaration": {
|
|
2376
2351
|
"name": "*",
|
|
2377
|
-
"package": "./
|
|
2352
|
+
"package": "./accordion-item.styles"
|
|
2378
2353
|
}
|
|
2379
2354
|
},
|
|
2380
2355
|
{
|
|
@@ -2382,122 +2357,210 @@
|
|
|
2382
2357
|
"name": "*",
|
|
2383
2358
|
"declaration": {
|
|
2384
2359
|
"name": "*",
|
|
2385
|
-
"package": "./
|
|
2360
|
+
"package": "./accordion-item"
|
|
2386
2361
|
}
|
|
2387
2362
|
}
|
|
2388
2363
|
]
|
|
2389
2364
|
},
|
|
2390
2365
|
{
|
|
2391
2366
|
"kind": "javascript-module",
|
|
2392
|
-
"path": "src/
|
|
2367
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
2368
|
+
"declarations": [
|
|
2369
|
+
{
|
|
2370
|
+
"kind": "function",
|
|
2371
|
+
"name": "actionsMenuBaseStyles",
|
|
2372
|
+
"return": {
|
|
2373
|
+
"type": {
|
|
2374
|
+
"text": "ElementStyles"
|
|
2375
|
+
}
|
|
2376
|
+
},
|
|
2377
|
+
"parameters": [
|
|
2378
|
+
{
|
|
2379
|
+
"name": "context",
|
|
2380
|
+
"type": {
|
|
2381
|
+
"text": "ElementDefinitionContext"
|
|
2382
|
+
}
|
|
2383
|
+
},
|
|
2384
|
+
{
|
|
2385
|
+
"name": "definition",
|
|
2386
|
+
"type": {
|
|
2387
|
+
"text": "FoundationElementDefinition"
|
|
2388
|
+
}
|
|
2389
|
+
}
|
|
2390
|
+
]
|
|
2391
|
+
},
|
|
2392
|
+
{
|
|
2393
|
+
"kind": "function",
|
|
2394
|
+
"name": "foundationActionsMenuStyles",
|
|
2395
|
+
"return": {
|
|
2396
|
+
"type": {
|
|
2397
|
+
"text": "ElementStyles"
|
|
2398
|
+
}
|
|
2399
|
+
},
|
|
2400
|
+
"parameters": [
|
|
2401
|
+
{
|
|
2402
|
+
"name": "context",
|
|
2403
|
+
"type": {
|
|
2404
|
+
"text": "ElementDefinitionContext"
|
|
2405
|
+
}
|
|
2406
|
+
},
|
|
2407
|
+
{
|
|
2408
|
+
"name": "definition",
|
|
2409
|
+
"type": {
|
|
2410
|
+
"text": "FoundationElementDefinition"
|
|
2411
|
+
}
|
|
2412
|
+
}
|
|
2413
|
+
]
|
|
2414
|
+
}
|
|
2415
|
+
],
|
|
2416
|
+
"exports": [
|
|
2417
|
+
{
|
|
2418
|
+
"kind": "js",
|
|
2419
|
+
"name": "actionsMenuBaseStyles",
|
|
2420
|
+
"declaration": {
|
|
2421
|
+
"name": "actionsMenuBaseStyles",
|
|
2422
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2423
|
+
}
|
|
2424
|
+
},
|
|
2425
|
+
{
|
|
2426
|
+
"kind": "js",
|
|
2427
|
+
"name": "foundationActionsMenuStyles",
|
|
2428
|
+
"declaration": {
|
|
2429
|
+
"name": "foundationActionsMenuStyles",
|
|
2430
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2431
|
+
}
|
|
2432
|
+
}
|
|
2433
|
+
]
|
|
2434
|
+
},
|
|
2435
|
+
{
|
|
2436
|
+
"kind": "javascript-module",
|
|
2437
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
2393
2438
|
"declarations": [
|
|
2439
|
+
{
|
|
2440
|
+
"kind": "function",
|
|
2441
|
+
"name": "menuTemplate",
|
|
2442
|
+
"parameters": [
|
|
2443
|
+
{
|
|
2444
|
+
"name": "prefix",
|
|
2445
|
+
"type": {
|
|
2446
|
+
"text": "string"
|
|
2447
|
+
}
|
|
2448
|
+
}
|
|
2449
|
+
]
|
|
2450
|
+
},
|
|
2451
|
+
{
|
|
2452
|
+
"kind": "function",
|
|
2453
|
+
"name": "singleOptionTemplate",
|
|
2454
|
+
"parameters": [
|
|
2455
|
+
{
|
|
2456
|
+
"name": "prefix",
|
|
2457
|
+
"type": {
|
|
2458
|
+
"text": "string"
|
|
2459
|
+
}
|
|
2460
|
+
}
|
|
2461
|
+
]
|
|
2462
|
+
},
|
|
2394
2463
|
{
|
|
2395
2464
|
"kind": "variable",
|
|
2396
|
-
"name": "
|
|
2397
|
-
"
|
|
2465
|
+
"name": "foundationActionsMenuTemplate",
|
|
2466
|
+
"type": {
|
|
2467
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
2468
|
+
},
|
|
2469
|
+
"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`"
|
|
2398
2470
|
}
|
|
2399
2471
|
],
|
|
2400
2472
|
"exports": [
|
|
2401
2473
|
{
|
|
2402
2474
|
"kind": "js",
|
|
2403
|
-
"name": "
|
|
2475
|
+
"name": "menuTemplate",
|
|
2404
2476
|
"declaration": {
|
|
2405
|
-
"name": "
|
|
2406
|
-
"module": "src/
|
|
2477
|
+
"name": "menuTemplate",
|
|
2478
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2407
2479
|
}
|
|
2408
|
-
}
|
|
2409
|
-
]
|
|
2410
|
-
},
|
|
2411
|
-
{
|
|
2412
|
-
"kind": "javascript-module",
|
|
2413
|
-
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
2414
|
-
"declarations": [
|
|
2480
|
+
},
|
|
2415
2481
|
{
|
|
2416
|
-
"kind": "
|
|
2417
|
-
"name": "
|
|
2418
|
-
"
|
|
2419
|
-
"
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
}
|
|
2423
|
-
],
|
|
2424
|
-
"exports": [
|
|
2482
|
+
"kind": "js",
|
|
2483
|
+
"name": "singleOptionTemplate",
|
|
2484
|
+
"declaration": {
|
|
2485
|
+
"name": "singleOptionTemplate",
|
|
2486
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2487
|
+
}
|
|
2488
|
+
},
|
|
2425
2489
|
{
|
|
2426
2490
|
"kind": "js",
|
|
2427
|
-
"name": "
|
|
2491
|
+
"name": "foundationActionsMenuTemplate",
|
|
2428
2492
|
"declaration": {
|
|
2429
|
-
"name": "
|
|
2430
|
-
"module": "src/
|
|
2493
|
+
"name": "foundationActionsMenuTemplate",
|
|
2494
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2431
2495
|
}
|
|
2432
2496
|
}
|
|
2433
2497
|
]
|
|
2434
2498
|
},
|
|
2435
2499
|
{
|
|
2436
2500
|
"kind": "javascript-module",
|
|
2437
|
-
"path": "src/
|
|
2501
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
2438
2502
|
"declarations": [
|
|
2439
2503
|
{
|
|
2440
2504
|
"kind": "class",
|
|
2441
|
-
"description": "
|
|
2442
|
-
"name": "
|
|
2505
|
+
"description": "",
|
|
2506
|
+
"name": "ActionsMenu",
|
|
2443
2507
|
"members": [
|
|
2444
2508
|
{
|
|
2445
2509
|
"kind": "field",
|
|
2446
|
-
"name": "
|
|
2510
|
+
"name": "actions",
|
|
2447
2511
|
"type": {
|
|
2448
|
-
"text": "
|
|
2512
|
+
"text": "ActionMenuItem[]"
|
|
2449
2513
|
}
|
|
2450
2514
|
},
|
|
2451
2515
|
{
|
|
2452
2516
|
"kind": "field",
|
|
2453
|
-
"name": "
|
|
2517
|
+
"name": "isVertical",
|
|
2454
2518
|
"type": {
|
|
2455
|
-
"text": "
|
|
2519
|
+
"text": "boolean"
|
|
2456
2520
|
},
|
|
2457
|
-
"default": "
|
|
2521
|
+
"default": "false"
|
|
2458
2522
|
},
|
|
2459
2523
|
{
|
|
2460
2524
|
"kind": "field",
|
|
2461
|
-
"name": "
|
|
2525
|
+
"name": "addDefaultActions",
|
|
2462
2526
|
"type": {
|
|
2463
2527
|
"text": "boolean"
|
|
2464
|
-
}
|
|
2528
|
+
},
|
|
2529
|
+
"default": "true"
|
|
2465
2530
|
},
|
|
2466
2531
|
{
|
|
2467
2532
|
"kind": "field",
|
|
2468
|
-
"name": "
|
|
2533
|
+
"name": "autoCloseOnAction",
|
|
2469
2534
|
"type": {
|
|
2470
|
-
"text": "
|
|
2535
|
+
"text": "boolean"
|
|
2471
2536
|
},
|
|
2472
|
-
"default": "
|
|
2537
|
+
"default": "true"
|
|
2473
2538
|
},
|
|
2474
2539
|
{
|
|
2475
2540
|
"kind": "field",
|
|
2476
|
-
"name": "
|
|
2541
|
+
"name": "classNames",
|
|
2477
2542
|
"type": {
|
|
2478
|
-
"text": "
|
|
2479
|
-
}
|
|
2480
|
-
"default": "false"
|
|
2543
|
+
"text": "string"
|
|
2544
|
+
}
|
|
2481
2545
|
},
|
|
2482
2546
|
{
|
|
2483
2547
|
"kind": "field",
|
|
2484
|
-
"name": "
|
|
2548
|
+
"name": "definition",
|
|
2485
2549
|
"type": {
|
|
2486
|
-
"text": "
|
|
2487
|
-
}
|
|
2488
|
-
"default": "null"
|
|
2550
|
+
"text": "any"
|
|
2551
|
+
}
|
|
2489
2552
|
},
|
|
2490
2553
|
{
|
|
2491
2554
|
"kind": "field",
|
|
2492
|
-
"name": "
|
|
2555
|
+
"name": "name",
|
|
2493
2556
|
"type": {
|
|
2494
|
-
"text": "
|
|
2557
|
+
"text": "string"
|
|
2495
2558
|
},
|
|
2496
|
-
"default": "
|
|
2559
|
+
"default": "'Actions'"
|
|
2497
2560
|
},
|
|
2498
2561
|
{
|
|
2499
2562
|
"kind": "field",
|
|
2500
|
-
"name": "
|
|
2563
|
+
"name": "open",
|
|
2501
2564
|
"type": {
|
|
2502
2565
|
"text": "boolean"
|
|
2503
2566
|
},
|
|
@@ -2505,15 +2568,14 @@
|
|
|
2505
2568
|
},
|
|
2506
2569
|
{
|
|
2507
2570
|
"kind": "field",
|
|
2508
|
-
"name": "
|
|
2571
|
+
"name": "buttonAppearance",
|
|
2509
2572
|
"type": {
|
|
2510
|
-
"text": "
|
|
2511
|
-
}
|
|
2512
|
-
"default": "[]"
|
|
2573
|
+
"text": "string"
|
|
2574
|
+
}
|
|
2513
2575
|
},
|
|
2514
2576
|
{
|
|
2515
2577
|
"kind": "field",
|
|
2516
|
-
"name": "
|
|
2578
|
+
"name": "hideDisabled",
|
|
2517
2579
|
"type": {
|
|
2518
2580
|
"text": "boolean"
|
|
2519
2581
|
},
|
|
@@ -2521,125 +2583,114 @@
|
|
|
2521
2583
|
},
|
|
2522
2584
|
{
|
|
2523
2585
|
"kind": "field",
|
|
2524
|
-
"name": "
|
|
2525
|
-
"type": {
|
|
2526
|
-
"text": "HTMLTextAreaElement"
|
|
2527
|
-
},
|
|
2528
|
-
"privacy": "public"
|
|
2529
|
-
},
|
|
2530
|
-
{
|
|
2531
|
-
"kind": "field",
|
|
2532
|
-
"name": "stopRecording",
|
|
2586
|
+
"name": "hideMenuSingleOption",
|
|
2533
2587
|
"type": {
|
|
2534
|
-
"text": "
|
|
2588
|
+
"text": "boolean"
|
|
2535
2589
|
},
|
|
2536
|
-
"
|
|
2537
|
-
"default": "null"
|
|
2590
|
+
"default": "false"
|
|
2538
2591
|
},
|
|
2539
2592
|
{
|
|
2540
2593
|
"kind": "field",
|
|
2541
|
-
"name": "
|
|
2594
|
+
"name": "singleOption",
|
|
2542
2595
|
"type": {
|
|
2543
|
-
"text": "
|
|
2544
|
-
}
|
|
2545
|
-
"privacy": "private",
|
|
2546
|
-
"default": "null"
|
|
2596
|
+
"text": "ActionMenuItem"
|
|
2597
|
+
}
|
|
2547
2598
|
},
|
|
2548
2599
|
{
|
|
2549
2600
|
"kind": "field",
|
|
2550
|
-
"name": "
|
|
2601
|
+
"name": "actionsMenu",
|
|
2551
2602
|
"type": {
|
|
2552
|
-
"text": "
|
|
2553
|
-
}
|
|
2554
|
-
"readonly": true
|
|
2603
|
+
"text": "HTMLElement"
|
|
2604
|
+
}
|
|
2555
2605
|
},
|
|
2556
2606
|
{
|
|
2557
2607
|
"kind": "field",
|
|
2558
|
-
"name": "
|
|
2608
|
+
"name": "actionsOpener",
|
|
2559
2609
|
"type": {
|
|
2560
|
-
"text": "
|
|
2561
|
-
}
|
|
2562
|
-
"readonly": true
|
|
2563
|
-
},
|
|
2564
|
-
{
|
|
2565
|
-
"kind": "method",
|
|
2566
|
-
"name": "getFieldLabel",
|
|
2567
|
-
"privacy": "private",
|
|
2568
|
-
"return": {
|
|
2569
|
-
"type": {
|
|
2570
|
-
"text": "string"
|
|
2571
|
-
}
|
|
2572
|
-
},
|
|
2573
|
-
"parameters": [
|
|
2574
|
-
{
|
|
2575
|
-
"name": "fieldName",
|
|
2576
|
-
"type": {
|
|
2577
|
-
"text": "string"
|
|
2578
|
-
}
|
|
2579
|
-
}
|
|
2580
|
-
]
|
|
2610
|
+
"text": "HTMLElement"
|
|
2611
|
+
}
|
|
2581
2612
|
},
|
|
2582
2613
|
{
|
|
2583
2614
|
"kind": "method",
|
|
2584
|
-
"name": "
|
|
2585
|
-
"
|
|
2586
|
-
"type": {
|
|
2587
|
-
"text": "void"
|
|
2588
|
-
}
|
|
2589
|
-
}
|
|
2615
|
+
"name": "updateMenuPosition",
|
|
2616
|
+
"privacy": "private"
|
|
2590
2617
|
},
|
|
2591
2618
|
{
|
|
2592
2619
|
"kind": "method",
|
|
2593
|
-
"name": "
|
|
2594
|
-
"
|
|
2595
|
-
"type": {
|
|
2596
|
-
"text": "void"
|
|
2597
|
-
}
|
|
2598
|
-
},
|
|
2620
|
+
"name": "definitionChanged",
|
|
2621
|
+
"privacy": "protected",
|
|
2599
2622
|
"parameters": [
|
|
2600
2623
|
{
|
|
2601
|
-
"name": "
|
|
2624
|
+
"name": "oldValue",
|
|
2602
2625
|
"type": {
|
|
2603
|
-
"text": "
|
|
2626
|
+
"text": "any"
|
|
2604
2627
|
}
|
|
2605
2628
|
},
|
|
2606
2629
|
{
|
|
2607
|
-
"name": "
|
|
2630
|
+
"name": "newValue",
|
|
2608
2631
|
"type": {
|
|
2609
|
-
"text": "
|
|
2632
|
+
"text": "any"
|
|
2610
2633
|
}
|
|
2611
2634
|
}
|
|
2612
2635
|
]
|
|
2613
2636
|
},
|
|
2614
2637
|
{
|
|
2615
2638
|
"kind": "method",
|
|
2616
|
-
"name": "
|
|
2617
|
-
"
|
|
2618
|
-
"type": {
|
|
2619
|
-
"text": "void"
|
|
2620
|
-
}
|
|
2621
|
-
}
|
|
2639
|
+
"name": "openChanged",
|
|
2640
|
+
"privacy": "protected"
|
|
2622
2641
|
},
|
|
2623
2642
|
{
|
|
2624
2643
|
"kind": "method",
|
|
2625
|
-
"name": "
|
|
2644
|
+
"name": "toggleActionsMenuVisibility"
|
|
2626
2645
|
},
|
|
2627
2646
|
{
|
|
2628
2647
|
"kind": "method",
|
|
2629
|
-
"name": "
|
|
2648
|
+
"name": "onActionMenuItemClick",
|
|
2649
|
+
"parameters": [
|
|
2650
|
+
{
|
|
2651
|
+
"name": "callback",
|
|
2652
|
+
"type": {
|
|
2653
|
+
"text": "(rowData) => void | any"
|
|
2654
|
+
}
|
|
2655
|
+
}
|
|
2656
|
+
]
|
|
2630
2657
|
},
|
|
2631
2658
|
{
|
|
2632
|
-
"kind": "
|
|
2633
|
-
"name": "
|
|
2659
|
+
"kind": "field",
|
|
2660
|
+
"name": "allActions",
|
|
2661
|
+
"type": {
|
|
2662
|
+
"text": "ActionMenuItem[]"
|
|
2663
|
+
},
|
|
2664
|
+
"readonly": true
|
|
2665
|
+
},
|
|
2666
|
+
{
|
|
2667
|
+
"kind": "field",
|
|
2668
|
+
"name": "rowData",
|
|
2669
|
+
"readonly": true
|
|
2634
2670
|
},
|
|
2635
2671
|
{
|
|
2636
2672
|
"kind": "method",
|
|
2637
|
-
"name": "
|
|
2673
|
+
"name": "getLabel",
|
|
2674
|
+
"parameters": [
|
|
2675
|
+
{
|
|
2676
|
+
"name": "name",
|
|
2677
|
+
"type": {
|
|
2678
|
+
"text": "string | ((rowData: any) => string)"
|
|
2679
|
+
}
|
|
2680
|
+
}
|
|
2681
|
+
]
|
|
2638
2682
|
},
|
|
2639
2683
|
{
|
|
2640
2684
|
"kind": "method",
|
|
2641
|
-
"name": "
|
|
2642
|
-
"
|
|
2685
|
+
"name": "getTemplate",
|
|
2686
|
+
"parameters": [
|
|
2687
|
+
{
|
|
2688
|
+
"name": "prefix",
|
|
2689
|
+
"type": {
|
|
2690
|
+
"text": "string"
|
|
2691
|
+
}
|
|
2692
|
+
}
|
|
2693
|
+
]
|
|
2643
2694
|
},
|
|
2644
2695
|
{
|
|
2645
2696
|
"kind": "field",
|
|
@@ -2753,154 +2804,115 @@
|
|
|
2753
2804
|
}
|
|
2754
2805
|
}
|
|
2755
2806
|
],
|
|
2756
|
-
"
|
|
2807
|
+
"attributes": [
|
|
2757
2808
|
{
|
|
2758
|
-
"
|
|
2759
|
-
"
|
|
2809
|
+
"name": "is-vertical",
|
|
2810
|
+
"type": {
|
|
2811
|
+
"text": "boolean"
|
|
2812
|
+
},
|
|
2813
|
+
"default": "false",
|
|
2814
|
+
"fieldName": "isVertical"
|
|
2760
2815
|
},
|
|
2761
2816
|
{
|
|
2762
|
-
"
|
|
2763
|
-
"
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2817
|
+
"name": "add-default-actions",
|
|
2818
|
+
"type": {
|
|
2819
|
+
"text": "boolean"
|
|
2820
|
+
},
|
|
2821
|
+
"default": "true",
|
|
2822
|
+
"fieldName": "addDefaultActions"
|
|
2823
|
+
},
|
|
2767
2824
|
{
|
|
2768
|
-
"name": "
|
|
2825
|
+
"name": "auto-close-on-action",
|
|
2826
|
+
"type": {
|
|
2827
|
+
"text": "boolean"
|
|
2828
|
+
},
|
|
2829
|
+
"default": "true",
|
|
2830
|
+
"fieldName": "autoCloseOnAction"
|
|
2831
|
+
},
|
|
2832
|
+
{
|
|
2833
|
+
"name": "name",
|
|
2769
2834
|
"type": {
|
|
2770
2835
|
"text": "string"
|
|
2771
2836
|
},
|
|
2772
|
-
"default": "'
|
|
2773
|
-
"fieldName": "
|
|
2837
|
+
"default": "'Actions'",
|
|
2838
|
+
"fieldName": "name"
|
|
2774
2839
|
},
|
|
2775
2840
|
{
|
|
2841
|
+
"name": "open",
|
|
2776
2842
|
"type": {
|
|
2777
2843
|
"text": "boolean"
|
|
2778
2844
|
},
|
|
2779
|
-
"
|
|
2845
|
+
"default": "false",
|
|
2846
|
+
"fieldName": "open"
|
|
2847
|
+
},
|
|
2848
|
+
{
|
|
2849
|
+
"name": "buttonAppearance",
|
|
2850
|
+
"type": {
|
|
2851
|
+
"text": "string"
|
|
2852
|
+
},
|
|
2853
|
+
"fieldName": "buttonAppearance"
|
|
2854
|
+
},
|
|
2855
|
+
{
|
|
2856
|
+
"name": "hide-disabled",
|
|
2857
|
+
"type": {
|
|
2858
|
+
"text": "boolean"
|
|
2859
|
+
},
|
|
2860
|
+
"default": "false",
|
|
2861
|
+
"fieldName": "hideDisabled"
|
|
2862
|
+
},
|
|
2863
|
+
{
|
|
2864
|
+
"name": "hide-menu-single-option",
|
|
2865
|
+
"type": {
|
|
2866
|
+
"text": "boolean"
|
|
2867
|
+
},
|
|
2868
|
+
"default": "false",
|
|
2869
|
+
"fieldName": "hideMenuSingleOption"
|
|
2780
2870
|
}
|
|
2781
2871
|
],
|
|
2782
2872
|
"superclass": {
|
|
2783
2873
|
"name": "FoundationElement",
|
|
2784
2874
|
"package": "@microsoft/fast-foundation"
|
|
2785
2875
|
},
|
|
2786
|
-
"tagName": "%%prefix%%-
|
|
2876
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
2787
2877
|
"customElement": true
|
|
2788
2878
|
},
|
|
2789
2879
|
{
|
|
2790
2880
|
"kind": "variable",
|
|
2791
|
-
"name": "
|
|
2792
|
-
"
|
|
2793
|
-
|
|
2794
|
-
},
|
|
2795
|
-
"default": "undefined"
|
|
2796
|
-
},
|
|
2797
|
-
{
|
|
2798
|
-
"kind": "variable",
|
|
2799
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2800
|
-
"type": {
|
|
2801
|
-
"text": "object"
|
|
2802
|
-
},
|
|
2803
|
-
"default": "{}"
|
|
2804
|
-
},
|
|
2805
|
-
{
|
|
2806
|
-
"kind": "variable",
|
|
2807
|
-
"name": "foundationAiCriteriaSearch"
|
|
2881
|
+
"name": "foundationActionsMenu",
|
|
2882
|
+
"description": "The Foundation Actions Menu",
|
|
2883
|
+
"privacy": "public"
|
|
2808
2884
|
}
|
|
2809
2885
|
],
|
|
2810
2886
|
"exports": [
|
|
2811
2887
|
{
|
|
2812
2888
|
"kind": "js",
|
|
2813
|
-
"name": "
|
|
2814
|
-
"declaration": {
|
|
2815
|
-
"name": "AiCriteriaSearch",
|
|
2816
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2817
|
-
}
|
|
2818
|
-
},
|
|
2819
|
-
{
|
|
2820
|
-
"kind": "js",
|
|
2821
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2822
|
-
"declaration": {
|
|
2823
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2824
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2825
|
-
}
|
|
2826
|
-
},
|
|
2827
|
-
{
|
|
2828
|
-
"kind": "js",
|
|
2829
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2889
|
+
"name": "ActionsMenu",
|
|
2830
2890
|
"declaration": {
|
|
2831
|
-
"name": "
|
|
2832
|
-
"module": "src/
|
|
2891
|
+
"name": "ActionsMenu",
|
|
2892
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2833
2893
|
}
|
|
2834
2894
|
},
|
|
2835
2895
|
{
|
|
2836
2896
|
"kind": "js",
|
|
2837
|
-
"name": "
|
|
2897
|
+
"name": "foundationActionsMenu",
|
|
2838
2898
|
"declaration": {
|
|
2839
|
-
"name": "
|
|
2840
|
-
"module": "src/
|
|
2899
|
+
"name": "foundationActionsMenu",
|
|
2900
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2841
2901
|
}
|
|
2842
2902
|
}
|
|
2843
2903
|
]
|
|
2844
2904
|
},
|
|
2845
2905
|
{
|
|
2846
2906
|
"kind": "javascript-module",
|
|
2847
|
-
"path": "src/
|
|
2907
|
+
"path": "src/actions-menu/index.ts",
|
|
2848
2908
|
"declarations": [],
|
|
2849
2909
|
"exports": [
|
|
2850
|
-
{
|
|
2851
|
-
"kind": "js",
|
|
2852
|
-
"name": "AiCriteriaSearch",
|
|
2853
|
-
"declaration": {
|
|
2854
|
-
"name": "AiCriteriaSearch",
|
|
2855
|
-
"module": "./ai-criteria-search"
|
|
2856
|
-
}
|
|
2857
|
-
},
|
|
2858
|
-
{
|
|
2859
|
-
"kind": "js",
|
|
2860
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2861
|
-
"declaration": {
|
|
2862
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2863
|
-
"module": "./ai-criteria-search"
|
|
2864
|
-
}
|
|
2865
|
-
},
|
|
2866
|
-
{
|
|
2867
|
-
"kind": "js",
|
|
2868
|
-
"name": "foundationAiCriteriaSearch",
|
|
2869
|
-
"declaration": {
|
|
2870
|
-
"name": "foundationAiCriteriaSearch",
|
|
2871
|
-
"module": "./ai-criteria-search"
|
|
2872
|
-
}
|
|
2873
|
-
},
|
|
2874
|
-
{
|
|
2875
|
-
"kind": "js",
|
|
2876
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2877
|
-
"declaration": {
|
|
2878
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2879
|
-
"module": "./ai-criteria-search"
|
|
2880
|
-
}
|
|
2881
|
-
},
|
|
2882
|
-
{
|
|
2883
|
-
"kind": "js",
|
|
2884
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2885
|
-
"declaration": {
|
|
2886
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2887
|
-
"module": "./ai-criteria-search.styles"
|
|
2888
|
-
}
|
|
2889
|
-
},
|
|
2890
|
-
{
|
|
2891
|
-
"kind": "js",
|
|
2892
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2893
|
-
"declaration": {
|
|
2894
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2895
|
-
"module": "./ai-criteria-search.template"
|
|
2896
|
-
}
|
|
2897
|
-
},
|
|
2898
2910
|
{
|
|
2899
2911
|
"kind": "js",
|
|
2900
2912
|
"name": "*",
|
|
2901
2913
|
"declaration": {
|
|
2902
2914
|
"name": "*",
|
|
2903
|
-
"package": "./
|
|
2915
|
+
"package": "./actions-menu.styles"
|
|
2904
2916
|
}
|
|
2905
2917
|
},
|
|
2906
2918
|
{
|
|
@@ -2908,7 +2920,7 @@
|
|
|
2908
2920
|
"name": "*",
|
|
2909
2921
|
"declaration": {
|
|
2910
2922
|
"name": "*",
|
|
2911
|
-
"package": "./
|
|
2923
|
+
"package": "./actions-menu.template"
|
|
2912
2924
|
}
|
|
2913
2925
|
},
|
|
2914
2926
|
{
|
|
@@ -2916,357 +2928,215 @@
|
|
|
2916
2928
|
"name": "*",
|
|
2917
2929
|
"declaration": {
|
|
2918
2930
|
"name": "*",
|
|
2919
|
-
"package": "./
|
|
2920
|
-
}
|
|
2921
|
-
}
|
|
2922
|
-
]
|
|
2923
|
-
},
|
|
2924
|
-
{
|
|
2925
|
-
"kind": "javascript-module",
|
|
2926
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
2927
|
-
"declarations": [
|
|
2928
|
-
{
|
|
2929
|
-
"kind": "function",
|
|
2930
|
-
"name": "formatValidationErrors",
|
|
2931
|
-
"return": {
|
|
2932
|
-
"type": {
|
|
2933
|
-
"text": "string"
|
|
2934
|
-
}
|
|
2935
|
-
},
|
|
2936
|
-
"parameters": [
|
|
2937
|
-
{
|
|
2938
|
-
"name": "errors",
|
|
2939
|
-
"type": {
|
|
2940
|
-
"text": "ValidationError[]"
|
|
2941
|
-
}
|
|
2942
|
-
}
|
|
2943
|
-
],
|
|
2944
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
2945
|
-
},
|
|
2946
|
-
{
|
|
2947
|
-
"kind": "function",
|
|
2948
|
-
"name": "showCriteriaError",
|
|
2949
|
-
"return": {
|
|
2950
|
-
"type": {
|
|
2951
|
-
"text": "void"
|
|
2952
|
-
}
|
|
2953
|
-
},
|
|
2954
|
-
"parameters": [
|
|
2955
|
-
{
|
|
2956
|
-
"name": "title",
|
|
2957
|
-
"type": {
|
|
2958
|
-
"text": "string"
|
|
2959
|
-
},
|
|
2960
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
2961
|
-
},
|
|
2962
|
-
{
|
|
2963
|
-
"name": "body",
|
|
2964
|
-
"type": {
|
|
2965
|
-
"text": "string"
|
|
2966
|
-
},
|
|
2967
|
-
"description": "Error message to display"
|
|
2968
|
-
},
|
|
2969
|
-
{
|
|
2970
|
-
"name": "tagName",
|
|
2971
|
-
"type": {
|
|
2972
|
-
"text": "string"
|
|
2973
|
-
},
|
|
2974
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
2975
|
-
}
|
|
2976
|
-
],
|
|
2977
|
-
"description": "Shows a criteria error as a toast notification."
|
|
2978
|
-
}
|
|
2979
|
-
],
|
|
2980
|
-
"exports": [
|
|
2981
|
-
{
|
|
2982
|
-
"kind": "js",
|
|
2983
|
-
"name": "formatValidationErrors",
|
|
2984
|
-
"declaration": {
|
|
2985
|
-
"name": "formatValidationErrors",
|
|
2986
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2987
|
-
}
|
|
2988
|
-
},
|
|
2989
|
-
{
|
|
2990
|
-
"kind": "js",
|
|
2991
|
-
"name": "showCriteriaError",
|
|
2992
|
-
"declaration": {
|
|
2993
|
-
"name": "showCriteriaError",
|
|
2994
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2931
|
+
"package": "./actions-menu"
|
|
2995
2932
|
}
|
|
2996
2933
|
}
|
|
2997
2934
|
]
|
|
2998
2935
|
},
|
|
2999
2936
|
{
|
|
3000
2937
|
"kind": "javascript-module",
|
|
3001
|
-
"path": "src/
|
|
2938
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
3002
2939
|
"declarations": [
|
|
3003
2940
|
{
|
|
3004
|
-
"kind": "
|
|
3005
|
-
"name": "
|
|
3006
|
-
"
|
|
3007
|
-
"type": {
|
|
3008
|
-
"text": "ElementStyles"
|
|
3009
|
-
}
|
|
3010
|
-
},
|
|
3011
|
-
"parameters": [
|
|
3012
|
-
{
|
|
3013
|
-
"name": "context",
|
|
3014
|
-
"type": {
|
|
3015
|
-
"text": "ElementDefinitionContext"
|
|
3016
|
-
}
|
|
3017
|
-
},
|
|
3018
|
-
{
|
|
3019
|
-
"name": "definition",
|
|
3020
|
-
"type": {
|
|
3021
|
-
"text": "FoundationElementDefinition"
|
|
3022
|
-
}
|
|
3023
|
-
}
|
|
3024
|
-
]
|
|
2941
|
+
"kind": "variable",
|
|
2942
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2943
|
+
"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`"
|
|
3025
2944
|
}
|
|
3026
2945
|
],
|
|
3027
2946
|
"exports": [
|
|
3028
2947
|
{
|
|
3029
2948
|
"kind": "js",
|
|
3030
|
-
"name": "
|
|
2949
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3031
2950
|
"declaration": {
|
|
3032
|
-
"name": "
|
|
3033
|
-
"module": "src/
|
|
2951
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2952
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
3034
2953
|
}
|
|
3035
2954
|
}
|
|
3036
2955
|
]
|
|
3037
2956
|
},
|
|
3038
2957
|
{
|
|
3039
2958
|
"kind": "javascript-module",
|
|
3040
|
-
"path": "src/
|
|
2959
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
3041
2960
|
"declarations": [
|
|
3042
2961
|
{
|
|
3043
|
-
"kind": "
|
|
3044
|
-
"name": "
|
|
3045
|
-
"
|
|
3046
|
-
"
|
|
3047
|
-
"text": "ViewTemplate<Accordion>"
|
|
3048
|
-
}
|
|
2962
|
+
"kind": "variable",
|
|
2963
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2964
|
+
"type": {
|
|
2965
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
3049
2966
|
},
|
|
3050
|
-
"
|
|
3051
|
-
{
|
|
3052
|
-
"name": "context",
|
|
3053
|
-
"type": {
|
|
3054
|
-
"text": "ElementDefinitionContext"
|
|
3055
|
-
}
|
|
3056
|
-
},
|
|
3057
|
-
{
|
|
3058
|
-
"name": "definition",
|
|
3059
|
-
"type": {
|
|
3060
|
-
"text": "FoundationElementDefinition"
|
|
3061
|
-
}
|
|
3062
|
-
}
|
|
3063
|
-
]
|
|
2967
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
3064
2968
|
}
|
|
3065
2969
|
],
|
|
3066
2970
|
"exports": [
|
|
3067
2971
|
{
|
|
3068
2972
|
"kind": "js",
|
|
3069
|
-
"name": "
|
|
2973
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3070
2974
|
"declaration": {
|
|
3071
|
-
"name": "
|
|
3072
|
-
"module": "src/
|
|
2975
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2976
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
3073
2977
|
}
|
|
3074
2978
|
}
|
|
3075
2979
|
]
|
|
3076
2980
|
},
|
|
3077
2981
|
{
|
|
3078
2982
|
"kind": "javascript-module",
|
|
3079
|
-
"path": "src/
|
|
2983
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
3080
2984
|
"declarations": [
|
|
3081
2985
|
{
|
|
3082
2986
|
"kind": "class",
|
|
3083
|
-
"description": "",
|
|
3084
|
-
"name": "
|
|
3085
|
-
"
|
|
3086
|
-
"name": "FASTAccordion",
|
|
3087
|
-
"package": "@microsoft/fast-foundation"
|
|
3088
|
-
},
|
|
3089
|
-
"tagName": "%%prefix%%-accordion",
|
|
3090
|
-
"customElement": true,
|
|
3091
|
-
"attributes": [
|
|
2987
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2988
|
+
"name": "AiCriteriaSearch",
|
|
2989
|
+
"members": [
|
|
3092
2990
|
{
|
|
3093
|
-
"
|
|
2991
|
+
"kind": "field",
|
|
2992
|
+
"name": "providerRegistry",
|
|
3094
2993
|
"type": {
|
|
3095
|
-
"text": "
|
|
3096
|
-
},
|
|
3097
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3098
|
-
"fieldName": "expandmode",
|
|
3099
|
-
"inheritedFrom": {
|
|
3100
|
-
"name": "Accordion",
|
|
3101
|
-
"module": "src/accordion/accordion.ts"
|
|
2994
|
+
"text": "AIProviderRegistry"
|
|
3102
2995
|
}
|
|
3103
|
-
}
|
|
3104
|
-
],
|
|
3105
|
-
"members": [
|
|
2996
|
+
},
|
|
3106
2997
|
{
|
|
3107
2998
|
"kind": "field",
|
|
3108
|
-
"name": "
|
|
2999
|
+
"name": "placeholder",
|
|
3109
3000
|
"type": {
|
|
3110
|
-
"text": "
|
|
3001
|
+
"text": "string"
|
|
3111
3002
|
},
|
|
3112
|
-
"
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
|
|
3116
|
-
|
|
3003
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
3004
|
+
},
|
|
3005
|
+
{
|
|
3006
|
+
"kind": "field",
|
|
3007
|
+
"name": "disabled",
|
|
3008
|
+
"type": {
|
|
3009
|
+
"text": "boolean"
|
|
3117
3010
|
}
|
|
3118
3011
|
},
|
|
3119
3012
|
{
|
|
3120
3013
|
"kind": "field",
|
|
3121
|
-
"name": "
|
|
3014
|
+
"name": "inputValue",
|
|
3122
3015
|
"type": {
|
|
3123
|
-
"text": "string
|
|
3016
|
+
"text": "string"
|
|
3124
3017
|
},
|
|
3125
|
-
"
|
|
3126
|
-
"inheritedFrom": {
|
|
3127
|
-
"name": "Accordion",
|
|
3128
|
-
"module": "src/accordion/accordion.ts"
|
|
3129
|
-
}
|
|
3018
|
+
"default": "''"
|
|
3130
3019
|
},
|
|
3131
3020
|
{
|
|
3132
3021
|
"kind": "field",
|
|
3133
|
-
"name": "
|
|
3022
|
+
"name": "isInterpreting",
|
|
3134
3023
|
"type": {
|
|
3135
|
-
"text": "
|
|
3024
|
+
"text": "boolean"
|
|
3136
3025
|
},
|
|
3137
|
-
"
|
|
3138
|
-
"default": "0",
|
|
3139
|
-
"inheritedFrom": {
|
|
3140
|
-
"name": "Accordion",
|
|
3141
|
-
"module": "src/accordion/accordion.ts"
|
|
3142
|
-
}
|
|
3026
|
+
"default": "false"
|
|
3143
3027
|
},
|
|
3144
3028
|
{
|
|
3145
3029
|
"kind": "field",
|
|
3146
|
-
"name": "
|
|
3030
|
+
"name": "lastValidCriteria",
|
|
3147
3031
|
"type": {
|
|
3148
|
-
"text": "
|
|
3032
|
+
"text": "string | null"
|
|
3149
3033
|
},
|
|
3150
|
-
"
|
|
3151
|
-
"inheritedFrom": {
|
|
3152
|
-
"name": "Accordion",
|
|
3153
|
-
"module": "src/accordion/accordion.ts"
|
|
3154
|
-
}
|
|
3034
|
+
"default": "null"
|
|
3155
3035
|
},
|
|
3156
3036
|
{
|
|
3157
3037
|
"kind": "field",
|
|
3158
|
-
"name": "
|
|
3159
|
-
"
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
}
|
|
3038
|
+
"name": "activeGroups",
|
|
3039
|
+
"type": {
|
|
3040
|
+
"text": "CriteriaGroup[]"
|
|
3041
|
+
},
|
|
3042
|
+
"default": "[]"
|
|
3164
3043
|
},
|
|
3165
3044
|
{
|
|
3166
|
-
"kind": "
|
|
3167
|
-
"name": "
|
|
3168
|
-
"
|
|
3169
|
-
|
|
3170
|
-
"type": {
|
|
3171
|
-
"text": "AccordionItem | null"
|
|
3172
|
-
}
|
|
3045
|
+
"kind": "field",
|
|
3046
|
+
"name": "showingChips",
|
|
3047
|
+
"type": {
|
|
3048
|
+
"text": "boolean"
|
|
3173
3049
|
},
|
|
3174
|
-
"
|
|
3175
|
-
"name": "Accordion",
|
|
3176
|
-
"module": "src/accordion/accordion.ts"
|
|
3177
|
-
}
|
|
3050
|
+
"default": "false"
|
|
3178
3051
|
},
|
|
3179
3052
|
{
|
|
3180
3053
|
"kind": "field",
|
|
3181
|
-
"name": "
|
|
3182
|
-
"
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
}
|
|
3054
|
+
"name": "fieldMetadata",
|
|
3055
|
+
"type": {
|
|
3056
|
+
"text": "MetadataDetail[] | string[]"
|
|
3057
|
+
},
|
|
3058
|
+
"default": "[]"
|
|
3187
3059
|
},
|
|
3188
3060
|
{
|
|
3189
|
-
"kind": "
|
|
3190
|
-
"name": "
|
|
3191
|
-
"
|
|
3192
|
-
|
|
3193
|
-
"type": {
|
|
3194
|
-
"text": "void"
|
|
3195
|
-
}
|
|
3061
|
+
"kind": "field",
|
|
3062
|
+
"name": "isRecording",
|
|
3063
|
+
"type": {
|
|
3064
|
+
"text": "boolean"
|
|
3196
3065
|
},
|
|
3197
|
-
"
|
|
3198
|
-
"name": "Accordion",
|
|
3199
|
-
"module": "src/accordion/accordion.ts"
|
|
3200
|
-
}
|
|
3066
|
+
"default": "false"
|
|
3201
3067
|
},
|
|
3202
3068
|
{
|
|
3203
3069
|
"kind": "field",
|
|
3204
|
-
"name": "
|
|
3070
|
+
"name": "textAreaRef",
|
|
3071
|
+
"type": {
|
|
3072
|
+
"text": "HTMLTextAreaElement"
|
|
3073
|
+
},
|
|
3074
|
+
"privacy": "public"
|
|
3075
|
+
},
|
|
3076
|
+
{
|
|
3077
|
+
"kind": "field",
|
|
3078
|
+
"name": "stopRecording",
|
|
3079
|
+
"type": {
|
|
3080
|
+
"text": "(() => void) | null"
|
|
3081
|
+
},
|
|
3205
3082
|
"privacy": "private",
|
|
3206
|
-
"
|
|
3207
|
-
"name": "Accordion",
|
|
3208
|
-
"module": "src/accordion/accordion.ts"
|
|
3209
|
-
}
|
|
3083
|
+
"default": "null"
|
|
3210
3084
|
},
|
|
3211
3085
|
{
|
|
3212
3086
|
"kind": "field",
|
|
3213
|
-
"name": "
|
|
3087
|
+
"name": "speechApplyDebounceTimer",
|
|
3088
|
+
"type": {
|
|
3089
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3090
|
+
},
|
|
3214
3091
|
"privacy": "private",
|
|
3215
|
-
"
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3092
|
+
"default": "null"
|
|
3093
|
+
},
|
|
3094
|
+
{
|
|
3095
|
+
"kind": "field",
|
|
3096
|
+
"name": "speechAvailable",
|
|
3097
|
+
"type": {
|
|
3098
|
+
"text": "boolean"
|
|
3099
|
+
},
|
|
3100
|
+
"readonly": true
|
|
3101
|
+
},
|
|
3102
|
+
{
|
|
3103
|
+
"kind": "field",
|
|
3104
|
+
"name": "criteriaChips",
|
|
3105
|
+
"type": {
|
|
3106
|
+
"text": "CriteriaChip[]"
|
|
3107
|
+
},
|
|
3108
|
+
"readonly": true
|
|
3219
3109
|
},
|
|
3220
3110
|
{
|
|
3221
3111
|
"kind": "method",
|
|
3222
|
-
"name": "
|
|
3112
|
+
"name": "getFieldLabel",
|
|
3223
3113
|
"privacy": "private",
|
|
3224
3114
|
"return": {
|
|
3225
3115
|
"type": {
|
|
3226
|
-
"text": "
|
|
3116
|
+
"text": "string"
|
|
3227
3117
|
}
|
|
3228
3118
|
},
|
|
3229
|
-
"
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
|
|
3119
|
+
"parameters": [
|
|
3120
|
+
{
|
|
3121
|
+
"name": "fieldName",
|
|
3122
|
+
"type": {
|
|
3123
|
+
"text": "string"
|
|
3124
|
+
}
|
|
3125
|
+
}
|
|
3126
|
+
]
|
|
3233
3127
|
},
|
|
3234
3128
|
{
|
|
3235
3129
|
"kind": "method",
|
|
3236
|
-
"name": "
|
|
3237
|
-
"privacy": "private",
|
|
3130
|
+
"name": "toggleCriteriaView",
|
|
3238
3131
|
"return": {
|
|
3239
3132
|
"type": {
|
|
3240
|
-
"text": "
|
|
3133
|
+
"text": "void"
|
|
3241
3134
|
}
|
|
3242
|
-
},
|
|
3243
|
-
"inheritedFrom": {
|
|
3244
|
-
"name": "Accordion",
|
|
3245
|
-
"module": "src/accordion/accordion.ts"
|
|
3246
|
-
}
|
|
3247
|
-
},
|
|
3248
|
-
{
|
|
3249
|
-
"kind": "field",
|
|
3250
|
-
"name": "handleItemKeyDown",
|
|
3251
|
-
"privacy": "private",
|
|
3252
|
-
"inheritedFrom": {
|
|
3253
|
-
"name": "Accordion",
|
|
3254
|
-
"module": "src/accordion/accordion.ts"
|
|
3255
|
-
}
|
|
3256
|
-
},
|
|
3257
|
-
{
|
|
3258
|
-
"kind": "field",
|
|
3259
|
-
"name": "handleItemFocus",
|
|
3260
|
-
"privacy": "private",
|
|
3261
|
-
"inheritedFrom": {
|
|
3262
|
-
"name": "Accordion",
|
|
3263
|
-
"module": "src/accordion/accordion.ts"
|
|
3264
3135
|
}
|
|
3265
3136
|
},
|
|
3266
3137
|
{
|
|
3267
3138
|
"kind": "method",
|
|
3268
|
-
"name": "
|
|
3269
|
-
"privacy": "private",
|
|
3139
|
+
"name": "removeChip",
|
|
3270
3140
|
"return": {
|
|
3271
3141
|
"type": {
|
|
3272
3142
|
"text": "void"
|
|
@@ -3274,31 +3144,49 @@
|
|
|
3274
3144
|
},
|
|
3275
3145
|
"parameters": [
|
|
3276
3146
|
{
|
|
3277
|
-
"name": "
|
|
3147
|
+
"name": "groupIndex",
|
|
3148
|
+
"type": {
|
|
3149
|
+
"text": "number"
|
|
3150
|
+
}
|
|
3151
|
+
},
|
|
3152
|
+
{
|
|
3153
|
+
"name": "clauseIndex",
|
|
3278
3154
|
"type": {
|
|
3279
3155
|
"text": "number"
|
|
3280
3156
|
}
|
|
3281
3157
|
}
|
|
3282
|
-
]
|
|
3283
|
-
"inheritedFrom": {
|
|
3284
|
-
"name": "Accordion",
|
|
3285
|
-
"module": "src/accordion/accordion.ts"
|
|
3286
|
-
}
|
|
3158
|
+
]
|
|
3287
3159
|
},
|
|
3288
3160
|
{
|
|
3289
3161
|
"kind": "method",
|
|
3290
|
-
"name": "
|
|
3291
|
-
"privacy": "private",
|
|
3162
|
+
"name": "clearChips",
|
|
3292
3163
|
"return": {
|
|
3293
3164
|
"type": {
|
|
3294
3165
|
"text": "void"
|
|
3295
3166
|
}
|
|
3296
|
-
},
|
|
3297
|
-
"inheritedFrom": {
|
|
3298
|
-
"name": "Accordion",
|
|
3299
|
-
"module": "src/accordion/accordion.ts"
|
|
3300
3167
|
}
|
|
3301
3168
|
},
|
|
3169
|
+
{
|
|
3170
|
+
"kind": "method",
|
|
3171
|
+
"name": "handleSubmit"
|
|
3172
|
+
},
|
|
3173
|
+
{
|
|
3174
|
+
"kind": "method",
|
|
3175
|
+
"name": "handleBlur"
|
|
3176
|
+
},
|
|
3177
|
+
{
|
|
3178
|
+
"kind": "method",
|
|
3179
|
+
"name": "clear"
|
|
3180
|
+
},
|
|
3181
|
+
{
|
|
3182
|
+
"kind": "method",
|
|
3183
|
+
"name": "toggleSpeechInput"
|
|
3184
|
+
},
|
|
3185
|
+
{
|
|
3186
|
+
"kind": "method",
|
|
3187
|
+
"name": "clearSpeechApplyDebounce",
|
|
3188
|
+
"privacy": "private"
|
|
3189
|
+
},
|
|
3302
3190
|
{
|
|
3303
3191
|
"kind": "field",
|
|
3304
3192
|
"name": "_presentation",
|
|
@@ -3413,26 +3301,48 @@
|
|
|
3413
3301
|
],
|
|
3414
3302
|
"events": [
|
|
3415
3303
|
{
|
|
3416
|
-
"description": "
|
|
3417
|
-
"name": "
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3304
|
+
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
3305
|
+
"name": "criteria-changed"
|
|
3306
|
+
},
|
|
3307
|
+
{
|
|
3308
|
+
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
3309
|
+
"name": "validation-errors"
|
|
3422
3310
|
}
|
|
3423
|
-
]
|
|
3311
|
+
],
|
|
3312
|
+
"attributes": [
|
|
3313
|
+
{
|
|
3314
|
+
"name": "placeholder",
|
|
3315
|
+
"type": {
|
|
3316
|
+
"text": "string"
|
|
3317
|
+
},
|
|
3318
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
3319
|
+
"fieldName": "placeholder"
|
|
3320
|
+
},
|
|
3321
|
+
{
|
|
3322
|
+
"type": {
|
|
3323
|
+
"text": "boolean"
|
|
3324
|
+
},
|
|
3325
|
+
"fieldName": "disabled"
|
|
3326
|
+
}
|
|
3327
|
+
],
|
|
3328
|
+
"superclass": {
|
|
3329
|
+
"name": "FoundationElement",
|
|
3330
|
+
"package": "@microsoft/fast-foundation"
|
|
3331
|
+
},
|
|
3332
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3333
|
+
"customElement": true
|
|
3424
3334
|
},
|
|
3425
3335
|
{
|
|
3426
3336
|
"kind": "variable",
|
|
3427
|
-
"name": "
|
|
3337
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3428
3338
|
"type": {
|
|
3429
3339
|
"text": "ShadowRootInit"
|
|
3430
3340
|
},
|
|
3431
|
-
"default": "
|
|
3341
|
+
"default": "undefined"
|
|
3432
3342
|
},
|
|
3433
3343
|
{
|
|
3434
3344
|
"kind": "variable",
|
|
3435
|
-
"name": "
|
|
3345
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3436
3346
|
"type": {
|
|
3437
3347
|
"text": "object"
|
|
3438
3348
|
},
|
|
@@ -3440,57 +3350,103 @@
|
|
|
3440
3350
|
},
|
|
3441
3351
|
{
|
|
3442
3352
|
"kind": "variable",
|
|
3443
|
-
"name": "
|
|
3444
|
-
"description": "The Foundation Accordion",
|
|
3445
|
-
"privacy": "public"
|
|
3353
|
+
"name": "foundationAiCriteriaSearch"
|
|
3446
3354
|
}
|
|
3447
3355
|
],
|
|
3448
3356
|
"exports": [
|
|
3449
3357
|
{
|
|
3450
3358
|
"kind": "js",
|
|
3451
|
-
"name": "
|
|
3359
|
+
"name": "AiCriteriaSearch",
|
|
3452
3360
|
"declaration": {
|
|
3453
|
-
"name": "
|
|
3454
|
-
"module": "src/
|
|
3361
|
+
"name": "AiCriteriaSearch",
|
|
3362
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3455
3363
|
}
|
|
3456
3364
|
},
|
|
3457
3365
|
{
|
|
3458
3366
|
"kind": "js",
|
|
3459
|
-
"name": "
|
|
3367
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3460
3368
|
"declaration": {
|
|
3461
|
-
"name": "
|
|
3462
|
-
"module": "src/
|
|
3369
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3370
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3463
3371
|
}
|
|
3464
3372
|
},
|
|
3465
3373
|
{
|
|
3466
3374
|
"kind": "js",
|
|
3467
|
-
"name": "
|
|
3375
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3468
3376
|
"declaration": {
|
|
3469
|
-
"name": "
|
|
3470
|
-
"module": "src/
|
|
3377
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3378
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3471
3379
|
}
|
|
3472
3380
|
},
|
|
3473
3381
|
{
|
|
3474
3382
|
"kind": "js",
|
|
3475
|
-
"name": "
|
|
3383
|
+
"name": "foundationAiCriteriaSearch",
|
|
3476
3384
|
"declaration": {
|
|
3477
|
-
"name": "
|
|
3478
|
-
"module": "src/
|
|
3385
|
+
"name": "foundationAiCriteriaSearch",
|
|
3386
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3479
3387
|
}
|
|
3480
3388
|
}
|
|
3481
3389
|
]
|
|
3482
3390
|
},
|
|
3483
3391
|
{
|
|
3484
3392
|
"kind": "javascript-module",
|
|
3485
|
-
"path": "src/
|
|
3393
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
3486
3394
|
"declarations": [],
|
|
3487
3395
|
"exports": [
|
|
3396
|
+
{
|
|
3397
|
+
"kind": "js",
|
|
3398
|
+
"name": "AiCriteriaSearch",
|
|
3399
|
+
"declaration": {
|
|
3400
|
+
"name": "AiCriteriaSearch",
|
|
3401
|
+
"module": "./ai-criteria-search"
|
|
3402
|
+
}
|
|
3403
|
+
},
|
|
3404
|
+
{
|
|
3405
|
+
"kind": "js",
|
|
3406
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3407
|
+
"declaration": {
|
|
3408
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3409
|
+
"module": "./ai-criteria-search"
|
|
3410
|
+
}
|
|
3411
|
+
},
|
|
3412
|
+
{
|
|
3413
|
+
"kind": "js",
|
|
3414
|
+
"name": "foundationAiCriteriaSearch",
|
|
3415
|
+
"declaration": {
|
|
3416
|
+
"name": "foundationAiCriteriaSearch",
|
|
3417
|
+
"module": "./ai-criteria-search"
|
|
3418
|
+
}
|
|
3419
|
+
},
|
|
3420
|
+
{
|
|
3421
|
+
"kind": "js",
|
|
3422
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3423
|
+
"declaration": {
|
|
3424
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3425
|
+
"module": "./ai-criteria-search"
|
|
3426
|
+
}
|
|
3427
|
+
},
|
|
3428
|
+
{
|
|
3429
|
+
"kind": "js",
|
|
3430
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3431
|
+
"declaration": {
|
|
3432
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3433
|
+
"module": "./ai-criteria-search.styles"
|
|
3434
|
+
}
|
|
3435
|
+
},
|
|
3436
|
+
{
|
|
3437
|
+
"kind": "js",
|
|
3438
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3439
|
+
"declaration": {
|
|
3440
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3441
|
+
"module": "./ai-criteria-search.template"
|
|
3442
|
+
}
|
|
3443
|
+
},
|
|
3488
3444
|
{
|
|
3489
3445
|
"kind": "js",
|
|
3490
3446
|
"name": "*",
|
|
3491
3447
|
"declaration": {
|
|
3492
3448
|
"name": "*",
|
|
3493
|
-
"package": "./
|
|
3449
|
+
"package": "./validation/criteria-ir"
|
|
3494
3450
|
}
|
|
3495
3451
|
},
|
|
3496
3452
|
{
|
|
@@ -3498,7 +3454,7 @@
|
|
|
3498
3454
|
"name": "*",
|
|
3499
3455
|
"declaration": {
|
|
3500
3456
|
"name": "*",
|
|
3501
|
-
"package": "./
|
|
3457
|
+
"package": "./validation/operator-map"
|
|
3502
3458
|
}
|
|
3503
3459
|
},
|
|
3504
3460
|
{
|
|
@@ -3506,38 +3462,82 @@
|
|
|
3506
3462
|
"name": "*",
|
|
3507
3463
|
"declaration": {
|
|
3508
3464
|
"name": "*",
|
|
3509
|
-
"package": "./
|
|
3465
|
+
"package": "./validation/schema-validator"
|
|
3510
3466
|
}
|
|
3511
3467
|
}
|
|
3512
3468
|
]
|
|
3513
3469
|
},
|
|
3514
3470
|
{
|
|
3515
3471
|
"kind": "javascript-module",
|
|
3516
|
-
"path": "src/
|
|
3517
|
-
"declarations": [
|
|
3518
|
-
"exports": [
|
|
3472
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3473
|
+
"declarations": [
|
|
3519
3474
|
{
|
|
3520
|
-
"kind": "
|
|
3521
|
-
"name": "
|
|
3522
|
-
"
|
|
3523
|
-
"
|
|
3524
|
-
|
|
3525
|
-
|
|
3475
|
+
"kind": "function",
|
|
3476
|
+
"name": "formatValidationErrors",
|
|
3477
|
+
"return": {
|
|
3478
|
+
"type": {
|
|
3479
|
+
"text": "string"
|
|
3480
|
+
}
|
|
3481
|
+
},
|
|
3482
|
+
"parameters": [
|
|
3483
|
+
{
|
|
3484
|
+
"name": "errors",
|
|
3485
|
+
"type": {
|
|
3486
|
+
"text": "ValidationError[]"
|
|
3487
|
+
}
|
|
3488
|
+
}
|
|
3489
|
+
],
|
|
3490
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
3526
3491
|
},
|
|
3492
|
+
{
|
|
3493
|
+
"kind": "function",
|
|
3494
|
+
"name": "showCriteriaError",
|
|
3495
|
+
"return": {
|
|
3496
|
+
"type": {
|
|
3497
|
+
"text": "void"
|
|
3498
|
+
}
|
|
3499
|
+
},
|
|
3500
|
+
"parameters": [
|
|
3501
|
+
{
|
|
3502
|
+
"name": "title",
|
|
3503
|
+
"type": {
|
|
3504
|
+
"text": "string"
|
|
3505
|
+
},
|
|
3506
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3507
|
+
},
|
|
3508
|
+
{
|
|
3509
|
+
"name": "body",
|
|
3510
|
+
"type": {
|
|
3511
|
+
"text": "string"
|
|
3512
|
+
},
|
|
3513
|
+
"description": "Error message to display"
|
|
3514
|
+
},
|
|
3515
|
+
{
|
|
3516
|
+
"name": "tagName",
|
|
3517
|
+
"type": {
|
|
3518
|
+
"text": "string"
|
|
3519
|
+
},
|
|
3520
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3521
|
+
}
|
|
3522
|
+
],
|
|
3523
|
+
"description": "Shows a criteria error as a toast notification."
|
|
3524
|
+
}
|
|
3525
|
+
],
|
|
3526
|
+
"exports": [
|
|
3527
3527
|
{
|
|
3528
3528
|
"kind": "js",
|
|
3529
|
-
"name": "
|
|
3529
|
+
"name": "formatValidationErrors",
|
|
3530
3530
|
"declaration": {
|
|
3531
|
-
"name": "
|
|
3532
|
-
"
|
|
3531
|
+
"name": "formatValidationErrors",
|
|
3532
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3533
3533
|
}
|
|
3534
3534
|
},
|
|
3535
3535
|
{
|
|
3536
3536
|
"kind": "js",
|
|
3537
|
-
"name": "
|
|
3537
|
+
"name": "showCriteriaError",
|
|
3538
3538
|
"declaration": {
|
|
3539
|
-
"name": "
|
|
3540
|
-
"
|
|
3539
|
+
"name": "showCriteriaError",
|
|
3540
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3541
3541
|
}
|
|
3542
3542
|
}
|
|
3543
3543
|
]
|
|
@@ -37432,6 +37432,25 @@
|
|
|
37432
37432
|
"name": "attachListboxScrollListener",
|
|
37433
37433
|
"privacy": "private"
|
|
37434
37434
|
},
|
|
37435
|
+
{
|
|
37436
|
+
"kind": "method",
|
|
37437
|
+
"name": "isNearListboxBottom",
|
|
37438
|
+
"privacy": "private",
|
|
37439
|
+
"return": {
|
|
37440
|
+
"type": {
|
|
37441
|
+
"text": "boolean"
|
|
37442
|
+
}
|
|
37443
|
+
},
|
|
37444
|
+
"parameters": [
|
|
37445
|
+
{
|
|
37446
|
+
"name": "listbox",
|
|
37447
|
+
"type": {
|
|
37448
|
+
"text": "HTMLElement"
|
|
37449
|
+
}
|
|
37450
|
+
}
|
|
37451
|
+
],
|
|
37452
|
+
"description": "Also true when the options do not fill the listbox: it cannot be scrolled, so the\nbottom is already in view."
|
|
37453
|
+
},
|
|
37435
37454
|
{
|
|
37436
37455
|
"kind": "field",
|
|
37437
37456
|
"name": "listboxScrollHandler",
|
|
@@ -37446,7 +37465,7 @@
|
|
|
37446
37465
|
"kind": "method",
|
|
37447
37466
|
"name": "topUpVisibleListbox",
|
|
37448
37467
|
"privacy": "private",
|
|
37449
|
-
"description": "
|
|
37468
|
+
"description": "Keeps requesting pages while the bottom of the listbox is in view — either because\nthe loaded options do not fill it, or because the user is already scrolled there and\nappending rows fires no further scroll event."
|
|
37450
37469
|
},
|
|
37451
37470
|
{
|
|
37452
37471
|
"kind": "field",
|
|
@@ -59965,197 +59984,6 @@
|
|
|
59965
59984
|
}
|
|
59966
59985
|
]
|
|
59967
59986
|
},
|
|
59968
|
-
{
|
|
59969
|
-
"kind": "javascript-module",
|
|
59970
|
-
"path": "src/ai-criteria-search/validation/criteria-ir.ts",
|
|
59971
|
-
"declarations": [],
|
|
59972
|
-
"exports": []
|
|
59973
|
-
},
|
|
59974
|
-
{
|
|
59975
|
-
"kind": "javascript-module",
|
|
59976
|
-
"path": "src/ai-criteria-search/validation/operator-map.ts",
|
|
59977
|
-
"declarations": [
|
|
59978
|
-
{
|
|
59979
|
-
"kind": "function",
|
|
59980
|
-
"name": "groupsToCriteria",
|
|
59981
|
-
"return": {
|
|
59982
|
-
"type": {
|
|
59983
|
-
"text": "string"
|
|
59984
|
-
}
|
|
59985
|
-
},
|
|
59986
|
-
"parameters": [
|
|
59987
|
-
{
|
|
59988
|
-
"name": "groups",
|
|
59989
|
-
"type": {
|
|
59990
|
-
"text": "CriteriaGroup[]"
|
|
59991
|
-
}
|
|
59992
|
-
}
|
|
59993
|
-
],
|
|
59994
|
-
"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."
|
|
59995
|
-
},
|
|
59996
|
-
{
|
|
59997
|
-
"kind": "variable",
|
|
59998
|
-
"name": "STRING_OPERATORS",
|
|
59999
|
-
"type": {
|
|
60000
|
-
"text": "CriteriaOperator[]"
|
|
60001
|
-
},
|
|
60002
|
-
"default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
|
|
60003
|
-
},
|
|
60004
|
-
{
|
|
60005
|
-
"kind": "variable",
|
|
60006
|
-
"name": "NUMERIC_OPERATORS",
|
|
60007
|
-
"type": {
|
|
60008
|
-
"text": "CriteriaOperator[]"
|
|
60009
|
-
},
|
|
60010
|
-
"default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
|
|
60011
|
-
},
|
|
60012
|
-
{
|
|
60013
|
-
"kind": "variable",
|
|
60014
|
-
"name": "DATE_OPERATORS",
|
|
60015
|
-
"type": {
|
|
60016
|
-
"text": "CriteriaOperator[]"
|
|
60017
|
-
},
|
|
60018
|
-
"default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
|
|
60019
|
-
},
|
|
60020
|
-
{
|
|
60021
|
-
"kind": "variable",
|
|
60022
|
-
"name": "DATETIME_OPERATORS",
|
|
60023
|
-
"type": {
|
|
60024
|
-
"text": "CriteriaOperator[]"
|
|
60025
|
-
},
|
|
60026
|
-
"default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
|
|
60027
|
-
},
|
|
60028
|
-
{
|
|
60029
|
-
"kind": "variable",
|
|
60030
|
-
"name": "OPERATOR_DISPLAY_LABEL",
|
|
60031
|
-
"type": {
|
|
60032
|
-
"text": "Record<CriteriaOperator, string>"
|
|
60033
|
-
},
|
|
60034
|
-
"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}"
|
|
60035
|
-
}
|
|
60036
|
-
],
|
|
60037
|
-
"exports": [
|
|
60038
|
-
{
|
|
60039
|
-
"kind": "js",
|
|
60040
|
-
"name": "groupsToCriteria",
|
|
60041
|
-
"declaration": {
|
|
60042
|
-
"name": "groupsToCriteria",
|
|
60043
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60044
|
-
}
|
|
60045
|
-
},
|
|
60046
|
-
{
|
|
60047
|
-
"kind": "js",
|
|
60048
|
-
"name": "STRING_OPERATORS",
|
|
60049
|
-
"declaration": {
|
|
60050
|
-
"name": "STRING_OPERATORS",
|
|
60051
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60052
|
-
}
|
|
60053
|
-
},
|
|
60054
|
-
{
|
|
60055
|
-
"kind": "js",
|
|
60056
|
-
"name": "NUMERIC_OPERATORS",
|
|
60057
|
-
"declaration": {
|
|
60058
|
-
"name": "NUMERIC_OPERATORS",
|
|
60059
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60060
|
-
}
|
|
60061
|
-
},
|
|
60062
|
-
{
|
|
60063
|
-
"kind": "js",
|
|
60064
|
-
"name": "DATE_OPERATORS",
|
|
60065
|
-
"declaration": {
|
|
60066
|
-
"name": "DATE_OPERATORS",
|
|
60067
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60068
|
-
}
|
|
60069
|
-
},
|
|
60070
|
-
{
|
|
60071
|
-
"kind": "js",
|
|
60072
|
-
"name": "DATETIME_OPERATORS",
|
|
60073
|
-
"declaration": {
|
|
60074
|
-
"name": "DATETIME_OPERATORS",
|
|
60075
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60076
|
-
}
|
|
60077
|
-
},
|
|
60078
|
-
{
|
|
60079
|
-
"kind": "js",
|
|
60080
|
-
"name": "OPERATOR_DISPLAY_LABEL",
|
|
60081
|
-
"declaration": {
|
|
60082
|
-
"name": "OPERATOR_DISPLAY_LABEL",
|
|
60083
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60084
|
-
}
|
|
60085
|
-
}
|
|
60086
|
-
]
|
|
60087
|
-
},
|
|
60088
|
-
{
|
|
60089
|
-
"kind": "javascript-module",
|
|
60090
|
-
"path": "src/ai-criteria-search/validation/schema-validator.ts",
|
|
60091
|
-
"declarations": [
|
|
60092
|
-
{
|
|
60093
|
-
"kind": "function",
|
|
60094
|
-
"name": "validateClauses",
|
|
60095
|
-
"return": {
|
|
60096
|
-
"type": {
|
|
60097
|
-
"text": "ValidationResult"
|
|
60098
|
-
}
|
|
60099
|
-
},
|
|
60100
|
-
"parameters": [
|
|
60101
|
-
{
|
|
60102
|
-
"name": "clauses",
|
|
60103
|
-
"type": {
|
|
60104
|
-
"text": "CriteriaClause[]"
|
|
60105
|
-
}
|
|
60106
|
-
},
|
|
60107
|
-
{
|
|
60108
|
-
"name": "fieldMetadata",
|
|
60109
|
-
"type": {
|
|
60110
|
-
"text": "MetadataDetail[] | string[]"
|
|
60111
|
-
}
|
|
60112
|
-
}
|
|
60113
|
-
]
|
|
60114
|
-
},
|
|
60115
|
-
{
|
|
60116
|
-
"kind": "function",
|
|
60117
|
-
"name": "validateGroups",
|
|
60118
|
-
"return": {
|
|
60119
|
-
"type": {
|
|
60120
|
-
"text": "GroupsValidationResult"
|
|
60121
|
-
}
|
|
60122
|
-
},
|
|
60123
|
-
"parameters": [
|
|
60124
|
-
{
|
|
60125
|
-
"name": "groups",
|
|
60126
|
-
"type": {
|
|
60127
|
-
"text": "CriteriaGroup[]"
|
|
60128
|
-
}
|
|
60129
|
-
},
|
|
60130
|
-
{
|
|
60131
|
-
"name": "fieldMetadata",
|
|
60132
|
-
"type": {
|
|
60133
|
-
"text": "MetadataDetail[] | string[]"
|
|
60134
|
-
}
|
|
60135
|
-
}
|
|
60136
|
-
],
|
|
60137
|
-
"description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
|
|
60138
|
-
}
|
|
60139
|
-
],
|
|
60140
|
-
"exports": [
|
|
60141
|
-
{
|
|
60142
|
-
"kind": "js",
|
|
60143
|
-
"name": "validateClauses",
|
|
60144
|
-
"declaration": {
|
|
60145
|
-
"name": "validateClauses",
|
|
60146
|
-
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
60147
|
-
}
|
|
60148
|
-
},
|
|
60149
|
-
{
|
|
60150
|
-
"kind": "js",
|
|
60151
|
-
"name": "validateGroups",
|
|
60152
|
-
"declaration": {
|
|
60153
|
-
"name": "validateGroups",
|
|
60154
|
-
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
60155
|
-
}
|
|
60156
|
-
}
|
|
60157
|
-
]
|
|
60158
|
-
},
|
|
60159
59987
|
{
|
|
60160
59988
|
"kind": "javascript-module",
|
|
60161
59989
|
"path": "src/_config/styles/colors.ts",
|
|
@@ -61528,6 +61356,197 @@
|
|
|
61528
61356
|
"declarations": [],
|
|
61529
61357
|
"exports": []
|
|
61530
61358
|
},
|
|
61359
|
+
{
|
|
61360
|
+
"kind": "javascript-module",
|
|
61361
|
+
"path": "src/ai-criteria-search/validation/criteria-ir.ts",
|
|
61362
|
+
"declarations": [],
|
|
61363
|
+
"exports": []
|
|
61364
|
+
},
|
|
61365
|
+
{
|
|
61366
|
+
"kind": "javascript-module",
|
|
61367
|
+
"path": "src/ai-criteria-search/validation/operator-map.ts",
|
|
61368
|
+
"declarations": [
|
|
61369
|
+
{
|
|
61370
|
+
"kind": "function",
|
|
61371
|
+
"name": "groupsToCriteria",
|
|
61372
|
+
"return": {
|
|
61373
|
+
"type": {
|
|
61374
|
+
"text": "string"
|
|
61375
|
+
}
|
|
61376
|
+
},
|
|
61377
|
+
"parameters": [
|
|
61378
|
+
{
|
|
61379
|
+
"name": "groups",
|
|
61380
|
+
"type": {
|
|
61381
|
+
"text": "CriteriaGroup[]"
|
|
61382
|
+
}
|
|
61383
|
+
}
|
|
61384
|
+
],
|
|
61385
|
+
"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."
|
|
61386
|
+
},
|
|
61387
|
+
{
|
|
61388
|
+
"kind": "variable",
|
|
61389
|
+
"name": "STRING_OPERATORS",
|
|
61390
|
+
"type": {
|
|
61391
|
+
"text": "CriteriaOperator[]"
|
|
61392
|
+
},
|
|
61393
|
+
"default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
|
|
61394
|
+
},
|
|
61395
|
+
{
|
|
61396
|
+
"kind": "variable",
|
|
61397
|
+
"name": "NUMERIC_OPERATORS",
|
|
61398
|
+
"type": {
|
|
61399
|
+
"text": "CriteriaOperator[]"
|
|
61400
|
+
},
|
|
61401
|
+
"default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
|
|
61402
|
+
},
|
|
61403
|
+
{
|
|
61404
|
+
"kind": "variable",
|
|
61405
|
+
"name": "DATE_OPERATORS",
|
|
61406
|
+
"type": {
|
|
61407
|
+
"text": "CriteriaOperator[]"
|
|
61408
|
+
},
|
|
61409
|
+
"default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
|
|
61410
|
+
},
|
|
61411
|
+
{
|
|
61412
|
+
"kind": "variable",
|
|
61413
|
+
"name": "DATETIME_OPERATORS",
|
|
61414
|
+
"type": {
|
|
61415
|
+
"text": "CriteriaOperator[]"
|
|
61416
|
+
},
|
|
61417
|
+
"default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
|
|
61418
|
+
},
|
|
61419
|
+
{
|
|
61420
|
+
"kind": "variable",
|
|
61421
|
+
"name": "OPERATOR_DISPLAY_LABEL",
|
|
61422
|
+
"type": {
|
|
61423
|
+
"text": "Record<CriteriaOperator, string>"
|
|
61424
|
+
},
|
|
61425
|
+
"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}"
|
|
61426
|
+
}
|
|
61427
|
+
],
|
|
61428
|
+
"exports": [
|
|
61429
|
+
{
|
|
61430
|
+
"kind": "js",
|
|
61431
|
+
"name": "groupsToCriteria",
|
|
61432
|
+
"declaration": {
|
|
61433
|
+
"name": "groupsToCriteria",
|
|
61434
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
61435
|
+
}
|
|
61436
|
+
},
|
|
61437
|
+
{
|
|
61438
|
+
"kind": "js",
|
|
61439
|
+
"name": "STRING_OPERATORS",
|
|
61440
|
+
"declaration": {
|
|
61441
|
+
"name": "STRING_OPERATORS",
|
|
61442
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
61443
|
+
}
|
|
61444
|
+
},
|
|
61445
|
+
{
|
|
61446
|
+
"kind": "js",
|
|
61447
|
+
"name": "NUMERIC_OPERATORS",
|
|
61448
|
+
"declaration": {
|
|
61449
|
+
"name": "NUMERIC_OPERATORS",
|
|
61450
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
61451
|
+
}
|
|
61452
|
+
},
|
|
61453
|
+
{
|
|
61454
|
+
"kind": "js",
|
|
61455
|
+
"name": "DATE_OPERATORS",
|
|
61456
|
+
"declaration": {
|
|
61457
|
+
"name": "DATE_OPERATORS",
|
|
61458
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
61459
|
+
}
|
|
61460
|
+
},
|
|
61461
|
+
{
|
|
61462
|
+
"kind": "js",
|
|
61463
|
+
"name": "DATETIME_OPERATORS",
|
|
61464
|
+
"declaration": {
|
|
61465
|
+
"name": "DATETIME_OPERATORS",
|
|
61466
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
61467
|
+
}
|
|
61468
|
+
},
|
|
61469
|
+
{
|
|
61470
|
+
"kind": "js",
|
|
61471
|
+
"name": "OPERATOR_DISPLAY_LABEL",
|
|
61472
|
+
"declaration": {
|
|
61473
|
+
"name": "OPERATOR_DISPLAY_LABEL",
|
|
61474
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
61475
|
+
}
|
|
61476
|
+
}
|
|
61477
|
+
]
|
|
61478
|
+
},
|
|
61479
|
+
{
|
|
61480
|
+
"kind": "javascript-module",
|
|
61481
|
+
"path": "src/ai-criteria-search/validation/schema-validator.ts",
|
|
61482
|
+
"declarations": [
|
|
61483
|
+
{
|
|
61484
|
+
"kind": "function",
|
|
61485
|
+
"name": "validateClauses",
|
|
61486
|
+
"return": {
|
|
61487
|
+
"type": {
|
|
61488
|
+
"text": "ValidationResult"
|
|
61489
|
+
}
|
|
61490
|
+
},
|
|
61491
|
+
"parameters": [
|
|
61492
|
+
{
|
|
61493
|
+
"name": "clauses",
|
|
61494
|
+
"type": {
|
|
61495
|
+
"text": "CriteriaClause[]"
|
|
61496
|
+
}
|
|
61497
|
+
},
|
|
61498
|
+
{
|
|
61499
|
+
"name": "fieldMetadata",
|
|
61500
|
+
"type": {
|
|
61501
|
+
"text": "MetadataDetail[] | string[]"
|
|
61502
|
+
}
|
|
61503
|
+
}
|
|
61504
|
+
]
|
|
61505
|
+
},
|
|
61506
|
+
{
|
|
61507
|
+
"kind": "function",
|
|
61508
|
+
"name": "validateGroups",
|
|
61509
|
+
"return": {
|
|
61510
|
+
"type": {
|
|
61511
|
+
"text": "GroupsValidationResult"
|
|
61512
|
+
}
|
|
61513
|
+
},
|
|
61514
|
+
"parameters": [
|
|
61515
|
+
{
|
|
61516
|
+
"name": "groups",
|
|
61517
|
+
"type": {
|
|
61518
|
+
"text": "CriteriaGroup[]"
|
|
61519
|
+
}
|
|
61520
|
+
},
|
|
61521
|
+
{
|
|
61522
|
+
"name": "fieldMetadata",
|
|
61523
|
+
"type": {
|
|
61524
|
+
"text": "MetadataDetail[] | string[]"
|
|
61525
|
+
}
|
|
61526
|
+
}
|
|
61527
|
+
],
|
|
61528
|
+
"description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
|
|
61529
|
+
}
|
|
61530
|
+
],
|
|
61531
|
+
"exports": [
|
|
61532
|
+
{
|
|
61533
|
+
"kind": "js",
|
|
61534
|
+
"name": "validateClauses",
|
|
61535
|
+
"declaration": {
|
|
61536
|
+
"name": "validateClauses",
|
|
61537
|
+
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
61538
|
+
}
|
|
61539
|
+
},
|
|
61540
|
+
{
|
|
61541
|
+
"kind": "js",
|
|
61542
|
+
"name": "validateGroups",
|
|
61543
|
+
"declaration": {
|
|
61544
|
+
"name": "validateGroups",
|
|
61545
|
+
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
61546
|
+
}
|
|
61547
|
+
}
|
|
61548
|
+
]
|
|
61549
|
+
},
|
|
61531
61550
|
{
|
|
61532
61551
|
"kind": "javascript-module",
|
|
61533
61552
|
"path": "src/environment-indicator/utils/configure.ts",
|