@genesislcap/foundation-ui 14.458.0 → 14.458.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +1350 -1350
- package/dist/dts/react.d.ts +17 -17
- package/dist/react.cjs +12 -12
- package/dist/react.mjs +9 -9
- package/package.json +19 -19
|
@@ -934,66 +934,44 @@
|
|
|
934
934
|
},
|
|
935
935
|
{
|
|
936
936
|
"kind": "javascript-module",
|
|
937
|
-
"path": "src/
|
|
937
|
+
"path": "src/_common/affix-mixin.ts",
|
|
938
938
|
"declarations": [
|
|
939
939
|
{
|
|
940
|
-
"kind": "
|
|
941
|
-
"
|
|
942
|
-
"
|
|
943
|
-
|
|
944
|
-
"text": "ElementStyles"
|
|
945
|
-
}
|
|
946
|
-
},
|
|
947
|
-
"parameters": [
|
|
940
|
+
"kind": "mixin",
|
|
941
|
+
"description": "Mixin that adds prefix/suffix affix support with screen-reader handling to an input field component.\nShared between TextField and NumberField to keep the behaviour consistent and avoid duplication.",
|
|
942
|
+
"name": "AffixMixin",
|
|
943
|
+
"members": [
|
|
948
944
|
{
|
|
949
|
-
"
|
|
945
|
+
"kind": "field",
|
|
946
|
+
"name": "prefix",
|
|
950
947
|
"type": {
|
|
951
|
-
"text": "
|
|
952
|
-
}
|
|
948
|
+
"text": "string"
|
|
949
|
+
},
|
|
950
|
+
"description": "Optional non-editable label shown on the left inside the field, before the input."
|
|
953
951
|
},
|
|
954
952
|
{
|
|
955
|
-
"
|
|
953
|
+
"kind": "field",
|
|
954
|
+
"name": "suffix",
|
|
956
955
|
"type": {
|
|
957
|
-
"text": "
|
|
958
|
-
}
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
}
|
|
962
|
-
],
|
|
963
|
-
"exports": [
|
|
964
|
-
{
|
|
965
|
-
"kind": "js",
|
|
966
|
-
"name": "foundationAccordionItemStyles",
|
|
967
|
-
"declaration": {
|
|
968
|
-
"name": "foundationAccordionItemStyles",
|
|
969
|
-
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
970
|
-
}
|
|
971
|
-
}
|
|
972
|
-
]
|
|
973
|
-
},
|
|
974
|
-
{
|
|
975
|
-
"kind": "javascript-module",
|
|
976
|
-
"path": "src/accordion-item/accordion-item.template.ts",
|
|
977
|
-
"declarations": [
|
|
978
|
-
{
|
|
979
|
-
"kind": "function",
|
|
980
|
-
"name": "foundationAccordionItemTemplate",
|
|
981
|
-
"return": {
|
|
982
|
-
"type": {
|
|
983
|
-
"text": "ViewTemplate<AccordionItem>"
|
|
984
|
-
}
|
|
985
|
-
},
|
|
986
|
-
"parameters": [
|
|
956
|
+
"text": "string"
|
|
957
|
+
},
|
|
958
|
+
"description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
|
|
959
|
+
},
|
|
987
960
|
{
|
|
988
|
-
"
|
|
961
|
+
"kind": "field",
|
|
962
|
+
"name": "hideAffixFromScreenReader",
|
|
989
963
|
"type": {
|
|
990
|
-
"text": "
|
|
991
|
-
}
|
|
992
|
-
|
|
964
|
+
"text": "boolean"
|
|
965
|
+
},
|
|
966
|
+
"default": "false",
|
|
967
|
+
"description": "When true, prefix/suffix are not exposed to assistive technology (`aria-hidden` on affixes,\nand their ids are omitted from the control's `aria-describedby`).\nUse only when the unit or symbol is redundant with the visible label or other text."
|
|
968
|
+
}
|
|
969
|
+
],
|
|
970
|
+
"parameters": [
|
|
993
971
|
{
|
|
994
|
-
"name": "
|
|
972
|
+
"name": "Base",
|
|
995
973
|
"type": {
|
|
996
|
-
"text": "
|
|
974
|
+
"text": "TBase"
|
|
997
975
|
}
|
|
998
976
|
}
|
|
999
977
|
]
|
|
@@ -1002,118 +980,170 @@
|
|
|
1002
980
|
"exports": [
|
|
1003
981
|
{
|
|
1004
982
|
"kind": "js",
|
|
1005
|
-
"name": "
|
|
983
|
+
"name": "AffixMixin",
|
|
1006
984
|
"declaration": {
|
|
1007
|
-
"name": "
|
|
1008
|
-
"module": "src/
|
|
985
|
+
"name": "AffixMixin",
|
|
986
|
+
"module": "src/_common/affix-mixin.ts"
|
|
1009
987
|
}
|
|
1010
988
|
}
|
|
1011
989
|
]
|
|
1012
990
|
},
|
|
1013
991
|
{
|
|
1014
992
|
"kind": "javascript-module",
|
|
1015
|
-
"path": "src/
|
|
993
|
+
"path": "src/_common/base-file-component.ts",
|
|
1016
994
|
"declarations": [
|
|
1017
995
|
{
|
|
1018
996
|
"kind": "class",
|
|
1019
|
-
"description": "",
|
|
1020
|
-
"name": "
|
|
1021
|
-
"
|
|
1022
|
-
"name": "FASTAccordionItem",
|
|
1023
|
-
"package": "@microsoft/fast-components"
|
|
1024
|
-
},
|
|
1025
|
-
"tagName": "%%prefix%%-accordion-item",
|
|
1026
|
-
"customElement": true,
|
|
1027
|
-
"attributes": [
|
|
997
|
+
"description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
|
|
998
|
+
"name": "BaseFileComponent",
|
|
999
|
+
"members": [
|
|
1028
1000
|
{
|
|
1029
|
-
"
|
|
1001
|
+
"kind": "field",
|
|
1002
|
+
"name": "fileInput",
|
|
1030
1003
|
"type": {
|
|
1031
|
-
"text": "
|
|
1004
|
+
"text": "HTMLInputElement"
|
|
1032
1005
|
},
|
|
1033
|
-
"
|
|
1034
|
-
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1035
|
-
"fieldName": "headinglevel",
|
|
1036
|
-
"inheritedFrom": {
|
|
1037
|
-
"name": "AccordionItem",
|
|
1038
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1039
|
-
}
|
|
1006
|
+
"privacy": "public"
|
|
1040
1007
|
},
|
|
1041
1008
|
{
|
|
1009
|
+
"kind": "field",
|
|
1010
|
+
"name": "selectedFile",
|
|
1042
1011
|
"type": {
|
|
1043
|
-
"text": "
|
|
1012
|
+
"text": "File | null"
|
|
1044
1013
|
},
|
|
1045
|
-
"
|
|
1046
|
-
"
|
|
1047
|
-
"fieldName": "expanded",
|
|
1048
|
-
"inheritedFrom": {
|
|
1049
|
-
"name": "AccordionItem",
|
|
1050
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1051
|
-
}
|
|
1014
|
+
"privacy": "protected",
|
|
1015
|
+
"default": "null"
|
|
1052
1016
|
},
|
|
1053
1017
|
{
|
|
1054
|
-
"
|
|
1018
|
+
"kind": "field",
|
|
1019
|
+
"name": "label",
|
|
1055
1020
|
"type": {
|
|
1056
1021
|
"text": "string"
|
|
1057
|
-
},
|
|
1058
|
-
"description": "The item ID",
|
|
1059
|
-
"fieldName": "id",
|
|
1060
|
-
"inheritedFrom": {
|
|
1061
|
-
"name": "AccordionItem",
|
|
1062
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1063
1022
|
}
|
|
1064
|
-
}
|
|
1065
|
-
],
|
|
1066
|
-
"members": [
|
|
1023
|
+
},
|
|
1067
1024
|
{
|
|
1068
1025
|
"kind": "field",
|
|
1069
|
-
"name": "
|
|
1026
|
+
"name": "accept",
|
|
1070
1027
|
"type": {
|
|
1071
|
-
"text": "
|
|
1028
|
+
"text": "string"
|
|
1072
1029
|
},
|
|
1073
|
-
"
|
|
1074
|
-
"default": "2",
|
|
1075
|
-
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1076
|
-
"inheritedFrom": {
|
|
1077
|
-
"name": "AccordionItem",
|
|
1078
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1079
|
-
}
|
|
1030
|
+
"default": "''"
|
|
1080
1031
|
},
|
|
1081
1032
|
{
|
|
1082
1033
|
"kind": "field",
|
|
1083
|
-
"name": "
|
|
1034
|
+
"name": "fileSizeLimitBytes",
|
|
1035
|
+
"default": "10_485_760",
|
|
1084
1036
|
"type": {
|
|
1085
|
-
"text": "
|
|
1086
|
-
},
|
|
1087
|
-
"privacy": "public",
|
|
1088
|
-
"default": "false",
|
|
1089
|
-
"description": "Expands or collapses the item.",
|
|
1090
|
-
"inheritedFrom": {
|
|
1091
|
-
"name": "AccordionItem",
|
|
1092
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1037
|
+
"text": "number"
|
|
1093
1038
|
}
|
|
1094
1039
|
},
|
|
1095
1040
|
{
|
|
1096
1041
|
"kind": "field",
|
|
1097
|
-
"name": "
|
|
1042
|
+
"name": "fileName",
|
|
1098
1043
|
"type": {
|
|
1099
1044
|
"text": "string"
|
|
1100
1045
|
},
|
|
1101
|
-
"
|
|
1102
|
-
"description": "The item ID",
|
|
1103
|
-
"inheritedFrom": {
|
|
1104
|
-
"name": "AccordionItem",
|
|
1105
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1106
|
-
}
|
|
1046
|
+
"default": "''"
|
|
1107
1047
|
},
|
|
1108
1048
|
{
|
|
1109
1049
|
"kind": "field",
|
|
1110
|
-
"name": "
|
|
1111
|
-
"
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1050
|
+
"name": "isProcessing",
|
|
1051
|
+
"type": {
|
|
1052
|
+
"text": "boolean"
|
|
1053
|
+
},
|
|
1054
|
+
"default": "false"
|
|
1055
|
+
},
|
|
1056
|
+
{
|
|
1057
|
+
"kind": "method",
|
|
1058
|
+
"name": "handleClick",
|
|
1059
|
+
"privacy": "public",
|
|
1060
|
+
"description": "Opens the file picker dialog\nClears any previous file selection before opening"
|
|
1061
|
+
},
|
|
1062
|
+
{
|
|
1063
|
+
"kind": "method",
|
|
1064
|
+
"name": "onInputChange",
|
|
1065
|
+
"privacy": "public",
|
|
1066
|
+
"parameters": [
|
|
1067
|
+
{
|
|
1068
|
+
"name": "e",
|
|
1069
|
+
"type": {
|
|
1070
|
+
"text": "Event"
|
|
1071
|
+
},
|
|
1072
|
+
"description": "The change event from the file input"
|
|
1073
|
+
}
|
|
1074
|
+
],
|
|
1075
|
+
"description": "Handles file selection from the file input\nValidates file size and sets up for processing"
|
|
1076
|
+
},
|
|
1077
|
+
{
|
|
1078
|
+
"kind": "method",
|
|
1079
|
+
"name": "clearSelection",
|
|
1080
|
+
"privacy": "public",
|
|
1081
|
+
"description": "Clears all file selection and processing state\nResets the component to its initial state"
|
|
1082
|
+
},
|
|
1083
|
+
{
|
|
1084
|
+
"kind": "method",
|
|
1085
|
+
"name": "getSelectedFile",
|
|
1086
|
+
"privacy": "public",
|
|
1087
|
+
"description": "Gets the currently selected file object",
|
|
1088
|
+
"return": {
|
|
1089
|
+
"type": {
|
|
1090
|
+
"text": ""
|
|
1091
|
+
}
|
|
1115
1092
|
}
|
|
1116
1093
|
},
|
|
1094
|
+
{
|
|
1095
|
+
"kind": "method",
|
|
1096
|
+
"name": "showError",
|
|
1097
|
+
"privacy": "protected",
|
|
1098
|
+
"parameters": [
|
|
1099
|
+
{
|
|
1100
|
+
"name": "title",
|
|
1101
|
+
"type": {
|
|
1102
|
+
"text": "string"
|
|
1103
|
+
},
|
|
1104
|
+
"description": "The error title"
|
|
1105
|
+
},
|
|
1106
|
+
{
|
|
1107
|
+
"name": "message",
|
|
1108
|
+
"type": {
|
|
1109
|
+
"text": "string"
|
|
1110
|
+
},
|
|
1111
|
+
"description": "The error message"
|
|
1112
|
+
}
|
|
1113
|
+
],
|
|
1114
|
+
"description": "Shows an error notification using the unified error handling system"
|
|
1115
|
+
},
|
|
1116
|
+
{
|
|
1117
|
+
"kind": "method",
|
|
1118
|
+
"name": "onFileSelected",
|
|
1119
|
+
"privacy": "protected",
|
|
1120
|
+
"return": {
|
|
1121
|
+
"type": {
|
|
1122
|
+
"text": "void"
|
|
1123
|
+
}
|
|
1124
|
+
},
|
|
1125
|
+
"parameters": [
|
|
1126
|
+
{
|
|
1127
|
+
"name": "files",
|
|
1128
|
+
"type": {
|
|
1129
|
+
"text": "File[]"
|
|
1130
|
+
},
|
|
1131
|
+
"description": "The selected file"
|
|
1132
|
+
}
|
|
1133
|
+
],
|
|
1134
|
+
"description": "Abstract method called when a file is selected"
|
|
1135
|
+
},
|
|
1136
|
+
{
|
|
1137
|
+
"kind": "method",
|
|
1138
|
+
"name": "onFileCleared",
|
|
1139
|
+
"privacy": "protected",
|
|
1140
|
+
"return": {
|
|
1141
|
+
"type": {
|
|
1142
|
+
"text": "void"
|
|
1143
|
+
}
|
|
1144
|
+
},
|
|
1145
|
+
"description": "Abstract method called when file selection is cleared"
|
|
1146
|
+
},
|
|
1117
1147
|
{
|
|
1118
1148
|
"kind": "field",
|
|
1119
1149
|
"name": "_presentation",
|
|
@@ -1228,76 +1258,110 @@
|
|
|
1228
1258
|
],
|
|
1229
1259
|
"events": [
|
|
1230
1260
|
{
|
|
1231
|
-
"description": "
|
|
1232
|
-
"name": "
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1261
|
+
"description": "Fired when file size validation fails",
|
|
1262
|
+
"name": "error"
|
|
1263
|
+
},
|
|
1264
|
+
{
|
|
1265
|
+
"description": "Fired when selection is cleared",
|
|
1266
|
+
"name": "clear"
|
|
1237
1267
|
}
|
|
1238
|
-
]
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1268
|
+
],
|
|
1269
|
+
"attributes": [
|
|
1270
|
+
{
|
|
1271
|
+
"name": "label",
|
|
1272
|
+
"type": {
|
|
1273
|
+
"text": "string"
|
|
1274
|
+
},
|
|
1275
|
+
"fieldName": "label"
|
|
1276
|
+
},
|
|
1277
|
+
{
|
|
1278
|
+
"name": "accept",
|
|
1279
|
+
"type": {
|
|
1280
|
+
"text": "string"
|
|
1281
|
+
},
|
|
1282
|
+
"default": "''",
|
|
1283
|
+
"fieldName": "accept"
|
|
1284
|
+
},
|
|
1285
|
+
{
|
|
1286
|
+
"name": "file-size-limit-bytes",
|
|
1287
|
+
"default": "DEFAULT_FILE_SIZE_LIMIT",
|
|
1288
|
+
"resolveInitializer": {
|
|
1289
|
+
"module": "src/_common/base-file-component.ts"
|
|
1290
|
+
},
|
|
1291
|
+
"fieldName": "fileSizeLimitBytes"
|
|
1292
|
+
}
|
|
1293
|
+
],
|
|
1294
|
+
"superclass": {
|
|
1295
|
+
"name": "FoundationElement",
|
|
1296
|
+
"package": "@microsoft/fast-foundation"
|
|
1297
|
+
}
|
|
1261
1298
|
}
|
|
1262
1299
|
],
|
|
1263
1300
|
"exports": [
|
|
1264
1301
|
{
|
|
1265
1302
|
"kind": "js",
|
|
1266
|
-
"name": "
|
|
1303
|
+
"name": "BaseFileComponent",
|
|
1267
1304
|
"declaration": {
|
|
1268
|
-
"name": "
|
|
1269
|
-
"module": "src/
|
|
1305
|
+
"name": "BaseFileComponent",
|
|
1306
|
+
"module": "src/_common/base-file-component.ts"
|
|
1270
1307
|
}
|
|
1271
|
-
}
|
|
1308
|
+
}
|
|
1309
|
+
]
|
|
1310
|
+
},
|
|
1311
|
+
{
|
|
1312
|
+
"kind": "javascript-module",
|
|
1313
|
+
"path": "src/_common/field-styles.ts",
|
|
1314
|
+
"declarations": [
|
|
1272
1315
|
{
|
|
1273
|
-
"kind": "
|
|
1274
|
-
"name": "
|
|
1275
|
-
"
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
},
|
|
1316
|
+
"kind": "variable",
|
|
1317
|
+
"name": "sharedFieldStyles",
|
|
1318
|
+
"default": "css`\n .label-hidden {\n margin: 0;\n }\n\n .control-field {\n display: flex;\n flex: 1 1 0%;\n min-width: 0;\n align-self: stretch;\n align-items: stretch;\n }\n\n .control-field .control {\n flex: 1 1 auto;\n min-width: 0;\n width: auto;\n }\n\n .prefix,\n .suffix {\n display: flex;\n align-items: center;\n flex-shrink: 0;\n box-sizing: border-box;\n padding: 0 calc(var(--design-unit) * 2px);\n user-select: none;\n white-space: nowrap;\n background-color: var(--neutral-fill-rest);\n color: var(--neutral-foreground-hint);\n font-size: var(--type-ramp-base-font-size);\n font-family: inherit;\n line-height: 1;\n }\n\n .prefix {\n border-right: 1px solid var(--neutral-stroke-divider-rest);\n border-radius: calc(var(--control-corner-radius) * 1px) 0 0\n calc(var(--control-corner-radius) * 1px);\n }\n\n .suffix {\n border-left: 1px solid var(--neutral-stroke-divider-rest);\n border-radius: 0 calc(var(--control-corner-radius) * 1px)\n calc(var(--control-corner-radius) * 1px) 0;\n }\n\n :host(.has-prefix:not(.has-suffix)) .control-field .control {\n border-radius: 0 calc(var(--control-corner-radius) * 1px)\n calc(var(--control-corner-radius) * 1px) 0;\n }\n\n :host(.has-suffix:not(.has-prefix)) .control-field .control {\n border-radius: calc(var(--control-corner-radius) * 1px) 0 0\n calc(var(--control-corner-radius) * 1px);\n }\n\n :host(.has-prefix.has-suffix) .control-field .control {\n border-radius: 0;\n }\n`"
|
|
1319
|
+
}
|
|
1320
|
+
],
|
|
1321
|
+
"exports": [
|
|
1280
1322
|
{
|
|
1281
1323
|
"kind": "js",
|
|
1282
|
-
"name": "
|
|
1324
|
+
"name": "sharedFieldStyles",
|
|
1283
1325
|
"declaration": {
|
|
1284
|
-
"name": "
|
|
1285
|
-
"module": "src/
|
|
1326
|
+
"name": "sharedFieldStyles",
|
|
1327
|
+
"module": "src/_common/field-styles.ts"
|
|
1286
1328
|
}
|
|
1287
|
-
}
|
|
1329
|
+
}
|
|
1330
|
+
]
|
|
1331
|
+
},
|
|
1332
|
+
{
|
|
1333
|
+
"kind": "javascript-module",
|
|
1334
|
+
"path": "src/_common/icons.ts",
|
|
1335
|
+
"declarations": [
|
|
1336
|
+
{
|
|
1337
|
+
"kind": "function",
|
|
1338
|
+
"name": "closeIcon",
|
|
1339
|
+
"parameters": [
|
|
1340
|
+
{
|
|
1341
|
+
"name": "slot",
|
|
1342
|
+
"default": "'start'"
|
|
1343
|
+
},
|
|
1344
|
+
{
|
|
1345
|
+
"name": "fill",
|
|
1346
|
+
"default": "'#879ba6'"
|
|
1347
|
+
}
|
|
1348
|
+
]
|
|
1349
|
+
}
|
|
1350
|
+
],
|
|
1351
|
+
"exports": [
|
|
1288
1352
|
{
|
|
1289
1353
|
"kind": "js",
|
|
1290
|
-
"name": "
|
|
1354
|
+
"name": "closeIcon",
|
|
1291
1355
|
"declaration": {
|
|
1292
|
-
"name": "
|
|
1293
|
-
"module": "src/
|
|
1356
|
+
"name": "closeIcon",
|
|
1357
|
+
"module": "src/_common/icons.ts"
|
|
1294
1358
|
}
|
|
1295
1359
|
}
|
|
1296
1360
|
]
|
|
1297
1361
|
},
|
|
1298
1362
|
{
|
|
1299
1363
|
"kind": "javascript-module",
|
|
1300
|
-
"path": "src/
|
|
1364
|
+
"path": "src/_common/index.ts",
|
|
1301
1365
|
"declarations": [],
|
|
1302
1366
|
"exports": [
|
|
1303
1367
|
{
|
|
@@ -1305,7 +1369,7 @@
|
|
|
1305
1369
|
"name": "*",
|
|
1306
1370
|
"declaration": {
|
|
1307
1371
|
"name": "*",
|
|
1308
|
-
"package": "./
|
|
1372
|
+
"package": "./affix-mixin"
|
|
1309
1373
|
}
|
|
1310
1374
|
},
|
|
1311
1375
|
{
|
|
@@ -1313,7 +1377,7 @@
|
|
|
1313
1377
|
"name": "*",
|
|
1314
1378
|
"declaration": {
|
|
1315
1379
|
"name": "*",
|
|
1316
|
-
"package": "./
|
|
1380
|
+
"package": "./base-file-component"
|
|
1317
1381
|
}
|
|
1318
1382
|
},
|
|
1319
1383
|
{
|
|
@@ -1321,41 +1385,26 @@
|
|
|
1321
1385
|
"name": "*",
|
|
1322
1386
|
"declaration": {
|
|
1323
1387
|
"name": "*",
|
|
1324
|
-
"package": "./
|
|
1388
|
+
"package": "./field-styles"
|
|
1389
|
+
}
|
|
1390
|
+
},
|
|
1391
|
+
{
|
|
1392
|
+
"kind": "js",
|
|
1393
|
+
"name": "*",
|
|
1394
|
+
"declaration": {
|
|
1395
|
+
"name": "*",
|
|
1396
|
+
"package": "./icons"
|
|
1325
1397
|
}
|
|
1326
1398
|
}
|
|
1327
1399
|
]
|
|
1328
1400
|
},
|
|
1329
1401
|
{
|
|
1330
1402
|
"kind": "javascript-module",
|
|
1331
|
-
"path": "src/
|
|
1403
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
1332
1404
|
"declarations": [
|
|
1333
1405
|
{
|
|
1334
1406
|
"kind": "function",
|
|
1335
|
-
"name": "
|
|
1336
|
-
"return": {
|
|
1337
|
-
"type": {
|
|
1338
|
-
"text": "ElementStyles"
|
|
1339
|
-
}
|
|
1340
|
-
},
|
|
1341
|
-
"parameters": [
|
|
1342
|
-
{
|
|
1343
|
-
"name": "context",
|
|
1344
|
-
"type": {
|
|
1345
|
-
"text": "ElementDefinitionContext"
|
|
1346
|
-
}
|
|
1347
|
-
},
|
|
1348
|
-
{
|
|
1349
|
-
"name": "definition",
|
|
1350
|
-
"type": {
|
|
1351
|
-
"text": "FoundationElementDefinition"
|
|
1352
|
-
}
|
|
1353
|
-
}
|
|
1354
|
-
]
|
|
1355
|
-
},
|
|
1356
|
-
{
|
|
1357
|
-
"kind": "function",
|
|
1358
|
-
"name": "foundationActionsMenuStyles",
|
|
1407
|
+
"name": "foundationAccordionStyles",
|
|
1359
1408
|
"return": {
|
|
1360
1409
|
"type": {
|
|
1361
1410
|
"text": "ElementStyles"
|
|
@@ -1380,269 +1429,277 @@
|
|
|
1380
1429
|
"exports": [
|
|
1381
1430
|
{
|
|
1382
1431
|
"kind": "js",
|
|
1383
|
-
"name": "
|
|
1384
|
-
"declaration": {
|
|
1385
|
-
"name": "actionsMenuBaseStyles",
|
|
1386
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1387
|
-
}
|
|
1388
|
-
},
|
|
1389
|
-
{
|
|
1390
|
-
"kind": "js",
|
|
1391
|
-
"name": "foundationActionsMenuStyles",
|
|
1432
|
+
"name": "foundationAccordionStyles",
|
|
1392
1433
|
"declaration": {
|
|
1393
|
-
"name": "
|
|
1394
|
-
"module": "src/
|
|
1434
|
+
"name": "foundationAccordionStyles",
|
|
1435
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
1395
1436
|
}
|
|
1396
1437
|
}
|
|
1397
1438
|
]
|
|
1398
1439
|
},
|
|
1399
1440
|
{
|
|
1400
1441
|
"kind": "javascript-module",
|
|
1401
|
-
"path": "src/
|
|
1442
|
+
"path": "src/accordion/accordion.template.ts",
|
|
1402
1443
|
"declarations": [
|
|
1403
1444
|
{
|
|
1404
1445
|
"kind": "function",
|
|
1405
|
-
"name": "
|
|
1446
|
+
"name": "foundationAccordionTemplate",
|
|
1447
|
+
"return": {
|
|
1448
|
+
"type": {
|
|
1449
|
+
"text": "ViewTemplate<Accordion>"
|
|
1450
|
+
}
|
|
1451
|
+
},
|
|
1406
1452
|
"parameters": [
|
|
1407
1453
|
{
|
|
1408
|
-
"name": "
|
|
1454
|
+
"name": "context",
|
|
1409
1455
|
"type": {
|
|
1410
|
-
"text": "
|
|
1456
|
+
"text": "ElementDefinitionContext"
|
|
1411
1457
|
}
|
|
1412
|
-
}
|
|
1413
|
-
]
|
|
1414
|
-
},
|
|
1415
|
-
{
|
|
1416
|
-
"kind": "function",
|
|
1417
|
-
"name": "singleOptionTemplate",
|
|
1418
|
-
"parameters": [
|
|
1458
|
+
},
|
|
1419
1459
|
{
|
|
1420
|
-
"name": "
|
|
1460
|
+
"name": "definition",
|
|
1421
1461
|
"type": {
|
|
1422
|
-
"text": "
|
|
1462
|
+
"text": "FoundationElementDefinition"
|
|
1423
1463
|
}
|
|
1424
1464
|
}
|
|
1425
1465
|
]
|
|
1426
|
-
},
|
|
1427
|
-
{
|
|
1428
|
-
"kind": "variable",
|
|
1429
|
-
"name": "foundationActionsMenuTemplate",
|
|
1430
|
-
"type": {
|
|
1431
|
-
"text": "ViewTemplate<ActionsMenu>"
|
|
1432
|
-
},
|
|
1433
|
-
"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`"
|
|
1434
1466
|
}
|
|
1435
1467
|
],
|
|
1436
1468
|
"exports": [
|
|
1437
1469
|
{
|
|
1438
1470
|
"kind": "js",
|
|
1439
|
-
"name": "
|
|
1440
|
-
"declaration": {
|
|
1441
|
-
"name": "menuTemplate",
|
|
1442
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1443
|
-
}
|
|
1444
|
-
},
|
|
1445
|
-
{
|
|
1446
|
-
"kind": "js",
|
|
1447
|
-
"name": "singleOptionTemplate",
|
|
1448
|
-
"declaration": {
|
|
1449
|
-
"name": "singleOptionTemplate",
|
|
1450
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1451
|
-
}
|
|
1452
|
-
},
|
|
1453
|
-
{
|
|
1454
|
-
"kind": "js",
|
|
1455
|
-
"name": "foundationActionsMenuTemplate",
|
|
1471
|
+
"name": "foundationAccordionTemplate",
|
|
1456
1472
|
"declaration": {
|
|
1457
|
-
"name": "
|
|
1458
|
-
"module": "src/
|
|
1473
|
+
"name": "foundationAccordionTemplate",
|
|
1474
|
+
"module": "src/accordion/accordion.template.ts"
|
|
1459
1475
|
}
|
|
1460
1476
|
}
|
|
1461
1477
|
]
|
|
1462
1478
|
},
|
|
1463
1479
|
{
|
|
1464
1480
|
"kind": "javascript-module",
|
|
1465
|
-
"path": "src/
|
|
1481
|
+
"path": "src/accordion/accordion.ts",
|
|
1466
1482
|
"declarations": [
|
|
1467
1483
|
{
|
|
1468
1484
|
"kind": "class",
|
|
1469
1485
|
"description": "",
|
|
1470
|
-
"name": "
|
|
1471
|
-
"
|
|
1486
|
+
"name": "Accordion",
|
|
1487
|
+
"superclass": {
|
|
1488
|
+
"name": "FASTAccordion",
|
|
1489
|
+
"package": "@microsoft/fast-foundation"
|
|
1490
|
+
},
|
|
1491
|
+
"tagName": "%%prefix%%-accordion",
|
|
1492
|
+
"customElement": true,
|
|
1493
|
+
"attributes": [
|
|
1472
1494
|
{
|
|
1473
|
-
"
|
|
1474
|
-
"name": "actions",
|
|
1495
|
+
"name": "expand-mode",
|
|
1475
1496
|
"type": {
|
|
1476
|
-
"text": "
|
|
1497
|
+
"text": "AccordionExpandMode"
|
|
1498
|
+
},
|
|
1499
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1500
|
+
"fieldName": "expandmode",
|
|
1501
|
+
"inheritedFrom": {
|
|
1502
|
+
"name": "Accordion",
|
|
1503
|
+
"module": "src/accordion/accordion.ts"
|
|
1477
1504
|
}
|
|
1478
|
-
}
|
|
1505
|
+
}
|
|
1506
|
+
],
|
|
1507
|
+
"members": [
|
|
1479
1508
|
{
|
|
1480
1509
|
"kind": "field",
|
|
1481
|
-
"name": "
|
|
1510
|
+
"name": "expandmode",
|
|
1482
1511
|
"type": {
|
|
1483
|
-
"text": "
|
|
1512
|
+
"text": "AccordionExpandMode"
|
|
1484
1513
|
},
|
|
1485
|
-
"
|
|
1514
|
+
"privacy": "public",
|
|
1515
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1516
|
+
"inheritedFrom": {
|
|
1517
|
+
"name": "Accordion",
|
|
1518
|
+
"module": "src/accordion/accordion.ts"
|
|
1519
|
+
}
|
|
1486
1520
|
},
|
|
1487
1521
|
{
|
|
1488
1522
|
"kind": "field",
|
|
1489
|
-
"name": "
|
|
1523
|
+
"name": "activeid",
|
|
1490
1524
|
"type": {
|
|
1491
|
-
"text": "
|
|
1525
|
+
"text": "string | null"
|
|
1492
1526
|
},
|
|
1493
|
-
"
|
|
1527
|
+
"privacy": "private",
|
|
1528
|
+
"inheritedFrom": {
|
|
1529
|
+
"name": "Accordion",
|
|
1530
|
+
"module": "src/accordion/accordion.ts"
|
|
1531
|
+
}
|
|
1494
1532
|
},
|
|
1495
1533
|
{
|
|
1496
1534
|
"kind": "field",
|
|
1497
|
-
"name": "
|
|
1535
|
+
"name": "activeItemIndex",
|
|
1498
1536
|
"type": {
|
|
1499
|
-
"text": "
|
|
1537
|
+
"text": "number"
|
|
1500
1538
|
},
|
|
1501
|
-
"
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
"type": {
|
|
1507
|
-
"text": "string"
|
|
1539
|
+
"privacy": "private",
|
|
1540
|
+
"default": "0",
|
|
1541
|
+
"inheritedFrom": {
|
|
1542
|
+
"name": "Accordion",
|
|
1543
|
+
"module": "src/accordion/accordion.ts"
|
|
1508
1544
|
}
|
|
1509
1545
|
},
|
|
1510
1546
|
{
|
|
1511
1547
|
"kind": "field",
|
|
1512
|
-
"name": "
|
|
1548
|
+
"name": "accordionIds",
|
|
1513
1549
|
"type": {
|
|
1514
|
-
"text": "
|
|
1550
|
+
"text": "Array<string | null>"
|
|
1551
|
+
},
|
|
1552
|
+
"privacy": "private",
|
|
1553
|
+
"inheritedFrom": {
|
|
1554
|
+
"name": "Accordion",
|
|
1555
|
+
"module": "src/accordion/accordion.ts"
|
|
1515
1556
|
}
|
|
1516
1557
|
},
|
|
1517
1558
|
{
|
|
1518
1559
|
"kind": "field",
|
|
1519
|
-
"name": "
|
|
1520
|
-
"
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1560
|
+
"name": "change",
|
|
1561
|
+
"privacy": "private",
|
|
1562
|
+
"inheritedFrom": {
|
|
1563
|
+
"name": "Accordion",
|
|
1564
|
+
"module": "src/accordion/accordion.ts"
|
|
1565
|
+
}
|
|
1524
1566
|
},
|
|
1525
1567
|
{
|
|
1526
|
-
"kind": "
|
|
1527
|
-
"name": "
|
|
1528
|
-
"
|
|
1529
|
-
|
|
1568
|
+
"kind": "method",
|
|
1569
|
+
"name": "findExpandedItem",
|
|
1570
|
+
"privacy": "private",
|
|
1571
|
+
"return": {
|
|
1572
|
+
"type": {
|
|
1573
|
+
"text": "AccordionItem | null"
|
|
1574
|
+
}
|
|
1530
1575
|
},
|
|
1531
|
-
"
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
"kind": "field",
|
|
1535
|
-
"name": "buttonAppearance",
|
|
1536
|
-
"type": {
|
|
1537
|
-
"text": "string"
|
|
1576
|
+
"inheritedFrom": {
|
|
1577
|
+
"name": "Accordion",
|
|
1578
|
+
"module": "src/accordion/accordion.ts"
|
|
1538
1579
|
}
|
|
1539
1580
|
},
|
|
1540
1581
|
{
|
|
1541
1582
|
"kind": "field",
|
|
1542
|
-
"name": "
|
|
1543
|
-
"
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1583
|
+
"name": "setItems",
|
|
1584
|
+
"privacy": "private",
|
|
1585
|
+
"inheritedFrom": {
|
|
1586
|
+
"name": "Accordion",
|
|
1587
|
+
"module": "src/accordion/accordion.ts"
|
|
1588
|
+
}
|
|
1547
1589
|
},
|
|
1548
1590
|
{
|
|
1549
|
-
"kind": "
|
|
1550
|
-
"name": "
|
|
1551
|
-
"
|
|
1552
|
-
|
|
1591
|
+
"kind": "method",
|
|
1592
|
+
"name": "resetItems",
|
|
1593
|
+
"privacy": "private",
|
|
1594
|
+
"return": {
|
|
1595
|
+
"type": {
|
|
1596
|
+
"text": "void"
|
|
1597
|
+
}
|
|
1553
1598
|
},
|
|
1554
|
-
"
|
|
1599
|
+
"inheritedFrom": {
|
|
1600
|
+
"name": "Accordion",
|
|
1601
|
+
"module": "src/accordion/accordion.ts"
|
|
1602
|
+
}
|
|
1555
1603
|
},
|
|
1556
1604
|
{
|
|
1557
1605
|
"kind": "field",
|
|
1558
|
-
"name": "
|
|
1559
|
-
"
|
|
1560
|
-
|
|
1606
|
+
"name": "removeItemListeners",
|
|
1607
|
+
"privacy": "private",
|
|
1608
|
+
"inheritedFrom": {
|
|
1609
|
+
"name": "Accordion",
|
|
1610
|
+
"module": "src/accordion/accordion.ts"
|
|
1561
1611
|
}
|
|
1562
1612
|
},
|
|
1563
1613
|
{
|
|
1564
1614
|
"kind": "field",
|
|
1565
|
-
"name": "
|
|
1566
|
-
"
|
|
1567
|
-
|
|
1615
|
+
"name": "activeItemChange",
|
|
1616
|
+
"privacy": "private",
|
|
1617
|
+
"inheritedFrom": {
|
|
1618
|
+
"name": "Accordion",
|
|
1619
|
+
"module": "src/accordion/accordion.ts"
|
|
1568
1620
|
}
|
|
1569
1621
|
},
|
|
1570
1622
|
{
|
|
1571
1623
|
"kind": "method",
|
|
1572
|
-
"name": "
|
|
1573
|
-
"privacy": "
|
|
1574
|
-
"
|
|
1575
|
-
{
|
|
1576
|
-
"
|
|
1577
|
-
"type": {
|
|
1578
|
-
"text": "any"
|
|
1579
|
-
}
|
|
1580
|
-
},
|
|
1581
|
-
{
|
|
1582
|
-
"name": "newValue",
|
|
1583
|
-
"type": {
|
|
1584
|
-
"text": "any"
|
|
1585
|
-
}
|
|
1624
|
+
"name": "getItemIds",
|
|
1625
|
+
"privacy": "private",
|
|
1626
|
+
"return": {
|
|
1627
|
+
"type": {
|
|
1628
|
+
"text": "Array<string | null>"
|
|
1586
1629
|
}
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
"privacy": "protected"
|
|
1593
|
-
},
|
|
1594
|
-
{
|
|
1595
|
-
"kind": "method",
|
|
1596
|
-
"name": "toggleActionsMenuVisibility"
|
|
1630
|
+
},
|
|
1631
|
+
"inheritedFrom": {
|
|
1632
|
+
"name": "Accordion",
|
|
1633
|
+
"module": "src/accordion/accordion.ts"
|
|
1634
|
+
}
|
|
1597
1635
|
},
|
|
1598
1636
|
{
|
|
1599
1637
|
"kind": "method",
|
|
1600
|
-
"name": "
|
|
1601
|
-
"
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
"
|
|
1605
|
-
"text": "(rowData) => void | any"
|
|
1606
|
-
}
|
|
1638
|
+
"name": "isSingleExpandMode",
|
|
1639
|
+
"privacy": "private",
|
|
1640
|
+
"return": {
|
|
1641
|
+
"type": {
|
|
1642
|
+
"text": "boolean"
|
|
1607
1643
|
}
|
|
1608
|
-
|
|
1644
|
+
},
|
|
1645
|
+
"inheritedFrom": {
|
|
1646
|
+
"name": "Accordion",
|
|
1647
|
+
"module": "src/accordion/accordion.ts"
|
|
1648
|
+
}
|
|
1609
1649
|
},
|
|
1610
1650
|
{
|
|
1611
1651
|
"kind": "field",
|
|
1612
|
-
"name": "
|
|
1613
|
-
"
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1652
|
+
"name": "handleItemKeyDown",
|
|
1653
|
+
"privacy": "private",
|
|
1654
|
+
"inheritedFrom": {
|
|
1655
|
+
"name": "Accordion",
|
|
1656
|
+
"module": "src/accordion/accordion.ts"
|
|
1657
|
+
}
|
|
1617
1658
|
},
|
|
1618
1659
|
{
|
|
1619
1660
|
"kind": "field",
|
|
1620
|
-
"name": "
|
|
1621
|
-
"
|
|
1661
|
+
"name": "handleItemFocus",
|
|
1662
|
+
"privacy": "private",
|
|
1663
|
+
"inheritedFrom": {
|
|
1664
|
+
"name": "Accordion",
|
|
1665
|
+
"module": "src/accordion/accordion.ts"
|
|
1666
|
+
}
|
|
1622
1667
|
},
|
|
1623
1668
|
{
|
|
1624
1669
|
"kind": "method",
|
|
1625
|
-
"name": "
|
|
1670
|
+
"name": "adjust",
|
|
1671
|
+
"privacy": "private",
|
|
1672
|
+
"return": {
|
|
1673
|
+
"type": {
|
|
1674
|
+
"text": "void"
|
|
1675
|
+
}
|
|
1676
|
+
},
|
|
1626
1677
|
"parameters": [
|
|
1627
1678
|
{
|
|
1628
|
-
"name": "
|
|
1679
|
+
"name": "adjustment",
|
|
1629
1680
|
"type": {
|
|
1630
|
-
"text": "
|
|
1681
|
+
"text": "number"
|
|
1631
1682
|
}
|
|
1632
1683
|
}
|
|
1633
|
-
]
|
|
1684
|
+
],
|
|
1685
|
+
"inheritedFrom": {
|
|
1686
|
+
"name": "Accordion",
|
|
1687
|
+
"module": "src/accordion/accordion.ts"
|
|
1688
|
+
}
|
|
1634
1689
|
},
|
|
1635
1690
|
{
|
|
1636
1691
|
"kind": "method",
|
|
1637
|
-
"name": "
|
|
1638
|
-
"
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
"
|
|
1642
|
-
"text": "string"
|
|
1643
|
-
}
|
|
1692
|
+
"name": "focusItem",
|
|
1693
|
+
"privacy": "private",
|
|
1694
|
+
"return": {
|
|
1695
|
+
"type": {
|
|
1696
|
+
"text": "void"
|
|
1644
1697
|
}
|
|
1645
|
-
|
|
1698
|
+
},
|
|
1699
|
+
"inheritedFrom": {
|
|
1700
|
+
"name": "Accordion",
|
|
1701
|
+
"module": "src/accordion/accordion.ts"
|
|
1702
|
+
}
|
|
1646
1703
|
},
|
|
1647
1704
|
{
|
|
1648
1705
|
"kind": "field",
|
|
@@ -1756,107 +1813,78 @@
|
|
|
1756
1813
|
}
|
|
1757
1814
|
}
|
|
1758
1815
|
],
|
|
1759
|
-
"
|
|
1760
|
-
{
|
|
1761
|
-
"name": "is-vertical",
|
|
1762
|
-
"type": {
|
|
1763
|
-
"text": "boolean"
|
|
1764
|
-
},
|
|
1765
|
-
"default": "false",
|
|
1766
|
-
"fieldName": "isVertical"
|
|
1767
|
-
},
|
|
1768
|
-
{
|
|
1769
|
-
"name": "add-default-actions",
|
|
1770
|
-
"type": {
|
|
1771
|
-
"text": "boolean"
|
|
1772
|
-
},
|
|
1773
|
-
"default": "true",
|
|
1774
|
-
"fieldName": "addDefaultActions"
|
|
1775
|
-
},
|
|
1776
|
-
{
|
|
1777
|
-
"name": "auto-close-on-action",
|
|
1778
|
-
"type": {
|
|
1779
|
-
"text": "boolean"
|
|
1780
|
-
},
|
|
1781
|
-
"default": "true",
|
|
1782
|
-
"fieldName": "autoCloseOnAction"
|
|
1783
|
-
},
|
|
1784
|
-
{
|
|
1785
|
-
"name": "name",
|
|
1786
|
-
"type": {
|
|
1787
|
-
"text": "string"
|
|
1788
|
-
},
|
|
1789
|
-
"default": "'Actions'",
|
|
1790
|
-
"fieldName": "name"
|
|
1791
|
-
},
|
|
1792
|
-
{
|
|
1793
|
-
"name": "open",
|
|
1794
|
-
"type": {
|
|
1795
|
-
"text": "boolean"
|
|
1796
|
-
},
|
|
1797
|
-
"default": "false",
|
|
1798
|
-
"fieldName": "open"
|
|
1799
|
-
},
|
|
1800
|
-
{
|
|
1801
|
-
"name": "buttonAppearance",
|
|
1802
|
-
"type": {
|
|
1803
|
-
"text": "string"
|
|
1804
|
-
},
|
|
1805
|
-
"fieldName": "buttonAppearance"
|
|
1806
|
-
},
|
|
1807
|
-
{
|
|
1808
|
-
"name": "hide-disabled",
|
|
1809
|
-
"type": {
|
|
1810
|
-
"text": "boolean"
|
|
1811
|
-
},
|
|
1812
|
-
"default": "false",
|
|
1813
|
-
"fieldName": "hideDisabled"
|
|
1814
|
-
},
|
|
1816
|
+
"events": [
|
|
1815
1817
|
{
|
|
1816
|
-
"
|
|
1817
|
-
"
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1818
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
1819
|
+
"name": "change",
|
|
1820
|
+
"inheritedFrom": {
|
|
1821
|
+
"name": "Accordion",
|
|
1822
|
+
"module": "src/accordion/accordion.ts"
|
|
1823
|
+
}
|
|
1822
1824
|
}
|
|
1823
|
-
]
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1825
|
+
]
|
|
1826
|
+
},
|
|
1827
|
+
{
|
|
1828
|
+
"kind": "variable",
|
|
1829
|
+
"name": "foundationAccordionShadowOptions",
|
|
1830
|
+
"type": {
|
|
1831
|
+
"text": "ShadowRootInit"
|
|
1827
1832
|
},
|
|
1828
|
-
"
|
|
1829
|
-
"customElement": true
|
|
1833
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
1830
1834
|
},
|
|
1831
1835
|
{
|
|
1832
1836
|
"kind": "variable",
|
|
1833
|
-
"name": "
|
|
1834
|
-
"
|
|
1837
|
+
"name": "defaultAccordionConfig",
|
|
1838
|
+
"type": {
|
|
1839
|
+
"text": "object"
|
|
1840
|
+
},
|
|
1841
|
+
"default": "{}"
|
|
1842
|
+
},
|
|
1843
|
+
{
|
|
1844
|
+
"kind": "variable",
|
|
1845
|
+
"name": "foundationAccordion",
|
|
1846
|
+
"description": "The Foundation Accordion",
|
|
1835
1847
|
"privacy": "public"
|
|
1836
1848
|
}
|
|
1837
1849
|
],
|
|
1838
1850
|
"exports": [
|
|
1839
1851
|
{
|
|
1840
1852
|
"kind": "js",
|
|
1841
|
-
"name": "
|
|
1853
|
+
"name": "Accordion",
|
|
1842
1854
|
"declaration": {
|
|
1843
|
-
"name": "
|
|
1844
|
-
"module": "src/
|
|
1855
|
+
"name": "Accordion",
|
|
1856
|
+
"module": "src/accordion/accordion.ts"
|
|
1845
1857
|
}
|
|
1846
1858
|
},
|
|
1847
1859
|
{
|
|
1848
1860
|
"kind": "js",
|
|
1849
|
-
"name": "
|
|
1861
|
+
"name": "foundationAccordionShadowOptions",
|
|
1850
1862
|
"declaration": {
|
|
1851
|
-
"name": "
|
|
1852
|
-
"module": "src/
|
|
1863
|
+
"name": "foundationAccordionShadowOptions",
|
|
1864
|
+
"module": "src/accordion/accordion.ts"
|
|
1865
|
+
}
|
|
1866
|
+
},
|
|
1867
|
+
{
|
|
1868
|
+
"kind": "js",
|
|
1869
|
+
"name": "defaultAccordionConfig",
|
|
1870
|
+
"declaration": {
|
|
1871
|
+
"name": "defaultAccordionConfig",
|
|
1872
|
+
"module": "src/accordion/accordion.ts"
|
|
1873
|
+
}
|
|
1874
|
+
},
|
|
1875
|
+
{
|
|
1876
|
+
"kind": "js",
|
|
1877
|
+
"name": "foundationAccordion",
|
|
1878
|
+
"declaration": {
|
|
1879
|
+
"name": "foundationAccordion",
|
|
1880
|
+
"module": "src/accordion/accordion.ts"
|
|
1853
1881
|
}
|
|
1854
1882
|
}
|
|
1855
1883
|
]
|
|
1856
1884
|
},
|
|
1857
1885
|
{
|
|
1858
1886
|
"kind": "javascript-module",
|
|
1859
|
-
"path": "src/
|
|
1887
|
+
"path": "src/accordion/index.ts",
|
|
1860
1888
|
"declarations": [],
|
|
1861
1889
|
"exports": [
|
|
1862
1890
|
{
|
|
@@ -1864,7 +1892,7 @@
|
|
|
1864
1892
|
"name": "*",
|
|
1865
1893
|
"declaration": {
|
|
1866
1894
|
"name": "*",
|
|
1867
|
-
"package": "./
|
|
1895
|
+
"package": "./accordion.template"
|
|
1868
1896
|
}
|
|
1869
1897
|
},
|
|
1870
1898
|
{
|
|
@@ -1872,146 +1900,249 @@
|
|
|
1872
1900
|
"name": "*",
|
|
1873
1901
|
"declaration": {
|
|
1874
1902
|
"name": "*",
|
|
1875
|
-
"package": "./
|
|
1903
|
+
"package": "./accordion.styles"
|
|
1904
|
+
}
|
|
1905
|
+
},
|
|
1906
|
+
{
|
|
1907
|
+
"kind": "js",
|
|
1908
|
+
"name": "*",
|
|
1909
|
+
"declaration": {
|
|
1910
|
+
"name": "*",
|
|
1911
|
+
"package": "./accordion"
|
|
1912
|
+
}
|
|
1913
|
+
}
|
|
1914
|
+
]
|
|
1915
|
+
},
|
|
1916
|
+
{
|
|
1917
|
+
"kind": "javascript-module",
|
|
1918
|
+
"path": "src/_config/index.ts",
|
|
1919
|
+
"declarations": [],
|
|
1920
|
+
"exports": [
|
|
1921
|
+
{
|
|
1922
|
+
"kind": "js",
|
|
1923
|
+
"name": "*",
|
|
1924
|
+
"declaration": {
|
|
1925
|
+
"name": "*",
|
|
1926
|
+
"package": "./styles"
|
|
1927
|
+
}
|
|
1928
|
+
},
|
|
1929
|
+
{
|
|
1930
|
+
"kind": "js",
|
|
1931
|
+
"name": "*",
|
|
1932
|
+
"declaration": {
|
|
1933
|
+
"name": "*",
|
|
1934
|
+
"package": "./tokens"
|
|
1935
|
+
}
|
|
1936
|
+
},
|
|
1937
|
+
{
|
|
1938
|
+
"kind": "js",
|
|
1939
|
+
"name": "*",
|
|
1940
|
+
"declaration": {
|
|
1941
|
+
"name": "*",
|
|
1942
|
+
"package": "./values"
|
|
1943
|
+
}
|
|
1944
|
+
}
|
|
1945
|
+
]
|
|
1946
|
+
},
|
|
1947
|
+
{
|
|
1948
|
+
"kind": "javascript-module",
|
|
1949
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
1950
|
+
"declarations": [
|
|
1951
|
+
{
|
|
1952
|
+
"kind": "function",
|
|
1953
|
+
"name": "actionsMenuBaseStyles",
|
|
1954
|
+
"return": {
|
|
1955
|
+
"type": {
|
|
1956
|
+
"text": "ElementStyles"
|
|
1957
|
+
}
|
|
1958
|
+
},
|
|
1959
|
+
"parameters": [
|
|
1960
|
+
{
|
|
1961
|
+
"name": "context",
|
|
1962
|
+
"type": {
|
|
1963
|
+
"text": "ElementDefinitionContext"
|
|
1964
|
+
}
|
|
1965
|
+
},
|
|
1966
|
+
{
|
|
1967
|
+
"name": "definition",
|
|
1968
|
+
"type": {
|
|
1969
|
+
"text": "FoundationElementDefinition"
|
|
1970
|
+
}
|
|
1971
|
+
}
|
|
1972
|
+
]
|
|
1973
|
+
},
|
|
1974
|
+
{
|
|
1975
|
+
"kind": "function",
|
|
1976
|
+
"name": "foundationActionsMenuStyles",
|
|
1977
|
+
"return": {
|
|
1978
|
+
"type": {
|
|
1979
|
+
"text": "ElementStyles"
|
|
1980
|
+
}
|
|
1981
|
+
},
|
|
1982
|
+
"parameters": [
|
|
1983
|
+
{
|
|
1984
|
+
"name": "context",
|
|
1985
|
+
"type": {
|
|
1986
|
+
"text": "ElementDefinitionContext"
|
|
1987
|
+
}
|
|
1988
|
+
},
|
|
1989
|
+
{
|
|
1990
|
+
"name": "definition",
|
|
1991
|
+
"type": {
|
|
1992
|
+
"text": "FoundationElementDefinition"
|
|
1993
|
+
}
|
|
1994
|
+
}
|
|
1995
|
+
]
|
|
1996
|
+
}
|
|
1997
|
+
],
|
|
1998
|
+
"exports": [
|
|
1999
|
+
{
|
|
2000
|
+
"kind": "js",
|
|
2001
|
+
"name": "actionsMenuBaseStyles",
|
|
2002
|
+
"declaration": {
|
|
2003
|
+
"name": "actionsMenuBaseStyles",
|
|
2004
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1876
2005
|
}
|
|
1877
2006
|
},
|
|
1878
2007
|
{
|
|
1879
2008
|
"kind": "js",
|
|
1880
|
-
"name": "
|
|
2009
|
+
"name": "foundationActionsMenuStyles",
|
|
1881
2010
|
"declaration": {
|
|
1882
|
-
"name": "
|
|
1883
|
-
"
|
|
2011
|
+
"name": "foundationActionsMenuStyles",
|
|
2012
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1884
2013
|
}
|
|
1885
2014
|
}
|
|
1886
2015
|
]
|
|
1887
2016
|
},
|
|
1888
2017
|
{
|
|
1889
2018
|
"kind": "javascript-module",
|
|
1890
|
-
"path": "src/
|
|
2019
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
1891
2020
|
"declarations": [
|
|
2021
|
+
{
|
|
2022
|
+
"kind": "function",
|
|
2023
|
+
"name": "menuTemplate",
|
|
2024
|
+
"parameters": [
|
|
2025
|
+
{
|
|
2026
|
+
"name": "prefix",
|
|
2027
|
+
"type": {
|
|
2028
|
+
"text": "string"
|
|
2029
|
+
}
|
|
2030
|
+
}
|
|
2031
|
+
]
|
|
2032
|
+
},
|
|
2033
|
+
{
|
|
2034
|
+
"kind": "function",
|
|
2035
|
+
"name": "singleOptionTemplate",
|
|
2036
|
+
"parameters": [
|
|
2037
|
+
{
|
|
2038
|
+
"name": "prefix",
|
|
2039
|
+
"type": {
|
|
2040
|
+
"text": "string"
|
|
2041
|
+
}
|
|
2042
|
+
}
|
|
2043
|
+
]
|
|
2044
|
+
},
|
|
1892
2045
|
{
|
|
1893
2046
|
"kind": "variable",
|
|
1894
|
-
"name": "
|
|
1895
|
-
"
|
|
2047
|
+
"name": "foundationActionsMenuTemplate",
|
|
2048
|
+
"type": {
|
|
2049
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
2050
|
+
},
|
|
2051
|
+
"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`"
|
|
1896
2052
|
}
|
|
1897
2053
|
],
|
|
1898
2054
|
"exports": [
|
|
1899
2055
|
{
|
|
1900
2056
|
"kind": "js",
|
|
1901
|
-
"name": "
|
|
2057
|
+
"name": "menuTemplate",
|
|
1902
2058
|
"declaration": {
|
|
1903
|
-
"name": "
|
|
1904
|
-
"module": "src/
|
|
2059
|
+
"name": "menuTemplate",
|
|
2060
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1905
2061
|
}
|
|
1906
|
-
}
|
|
1907
|
-
]
|
|
1908
|
-
},
|
|
1909
|
-
{
|
|
1910
|
-
"kind": "javascript-module",
|
|
1911
|
-
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
1912
|
-
"declarations": [
|
|
2062
|
+
},
|
|
1913
2063
|
{
|
|
1914
|
-
"kind": "
|
|
1915
|
-
"name": "
|
|
1916
|
-
"
|
|
1917
|
-
"
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
}
|
|
1921
|
-
],
|
|
1922
|
-
"exports": [
|
|
2064
|
+
"kind": "js",
|
|
2065
|
+
"name": "singleOptionTemplate",
|
|
2066
|
+
"declaration": {
|
|
2067
|
+
"name": "singleOptionTemplate",
|
|
2068
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2069
|
+
}
|
|
2070
|
+
},
|
|
1923
2071
|
{
|
|
1924
2072
|
"kind": "js",
|
|
1925
|
-
"name": "
|
|
2073
|
+
"name": "foundationActionsMenuTemplate",
|
|
1926
2074
|
"declaration": {
|
|
1927
|
-
"name": "
|
|
1928
|
-
"module": "src/
|
|
2075
|
+
"name": "foundationActionsMenuTemplate",
|
|
2076
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1929
2077
|
}
|
|
1930
2078
|
}
|
|
1931
2079
|
]
|
|
1932
2080
|
},
|
|
1933
2081
|
{
|
|
1934
2082
|
"kind": "javascript-module",
|
|
1935
|
-
"path": "src/
|
|
2083
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
1936
2084
|
"declarations": [
|
|
1937
2085
|
{
|
|
1938
2086
|
"kind": "class",
|
|
1939
|
-
"description": "
|
|
1940
|
-
"name": "
|
|
2087
|
+
"description": "",
|
|
2088
|
+
"name": "ActionsMenu",
|
|
1941
2089
|
"members": [
|
|
1942
2090
|
{
|
|
1943
2091
|
"kind": "field",
|
|
1944
|
-
"name": "
|
|
2092
|
+
"name": "actions",
|
|
1945
2093
|
"type": {
|
|
1946
|
-
"text": "
|
|
2094
|
+
"text": "ActionMenuItem[]"
|
|
1947
2095
|
}
|
|
1948
2096
|
},
|
|
1949
2097
|
{
|
|
1950
2098
|
"kind": "field",
|
|
1951
|
-
"name": "
|
|
1952
|
-
"type": {
|
|
1953
|
-
"text": "string"
|
|
1954
|
-
},
|
|
1955
|
-
"default": "'Describe your search criteria in natural language...'"
|
|
1956
|
-
},
|
|
1957
|
-
{
|
|
1958
|
-
"kind": "field",
|
|
1959
|
-
"name": "disabled",
|
|
2099
|
+
"name": "isVertical",
|
|
1960
2100
|
"type": {
|
|
1961
2101
|
"text": "boolean"
|
|
1962
|
-
}
|
|
1963
|
-
},
|
|
1964
|
-
{
|
|
1965
|
-
"kind": "field",
|
|
1966
|
-
"name": "inputValue",
|
|
1967
|
-
"type": {
|
|
1968
|
-
"text": "string"
|
|
1969
2102
|
},
|
|
1970
|
-
"default": "
|
|
2103
|
+
"default": "false"
|
|
1971
2104
|
},
|
|
1972
2105
|
{
|
|
1973
2106
|
"kind": "field",
|
|
1974
|
-
"name": "
|
|
2107
|
+
"name": "addDefaultActions",
|
|
1975
2108
|
"type": {
|
|
1976
2109
|
"text": "boolean"
|
|
1977
2110
|
},
|
|
1978
|
-
"default": "
|
|
2111
|
+
"default": "true"
|
|
1979
2112
|
},
|
|
1980
2113
|
{
|
|
1981
2114
|
"kind": "field",
|
|
1982
|
-
"name": "
|
|
2115
|
+
"name": "autoCloseOnAction",
|
|
1983
2116
|
"type": {
|
|
1984
|
-
"text": "
|
|
2117
|
+
"text": "boolean"
|
|
1985
2118
|
},
|
|
1986
|
-
"default": "
|
|
2119
|
+
"default": "true"
|
|
1987
2120
|
},
|
|
1988
2121
|
{
|
|
1989
2122
|
"kind": "field",
|
|
1990
|
-
"name": "
|
|
2123
|
+
"name": "classNames",
|
|
1991
2124
|
"type": {
|
|
1992
|
-
"text": "
|
|
1993
|
-
}
|
|
1994
|
-
"default": "[]"
|
|
2125
|
+
"text": "string"
|
|
2126
|
+
}
|
|
1995
2127
|
},
|
|
1996
2128
|
{
|
|
1997
2129
|
"kind": "field",
|
|
1998
|
-
"name": "
|
|
2130
|
+
"name": "definition",
|
|
1999
2131
|
"type": {
|
|
2000
|
-
"text": "
|
|
2001
|
-
}
|
|
2002
|
-
"default": "false"
|
|
2132
|
+
"text": "any"
|
|
2133
|
+
}
|
|
2003
2134
|
},
|
|
2004
2135
|
{
|
|
2005
2136
|
"kind": "field",
|
|
2006
|
-
"name": "
|
|
2137
|
+
"name": "name",
|
|
2007
2138
|
"type": {
|
|
2008
|
-
"text": "
|
|
2139
|
+
"text": "string"
|
|
2009
2140
|
},
|
|
2010
|
-
"default": "
|
|
2141
|
+
"default": "'Actions'"
|
|
2011
2142
|
},
|
|
2012
2143
|
{
|
|
2013
2144
|
"kind": "field",
|
|
2014
|
-
"name": "
|
|
2145
|
+
"name": "open",
|
|
2015
2146
|
"type": {
|
|
2016
2147
|
"text": "boolean"
|
|
2017
2148
|
},
|
|
@@ -2019,125 +2150,117 @@
|
|
|
2019
2150
|
},
|
|
2020
2151
|
{
|
|
2021
2152
|
"kind": "field",
|
|
2022
|
-
"name": "
|
|
2153
|
+
"name": "buttonAppearance",
|
|
2023
2154
|
"type": {
|
|
2024
|
-
"text": "
|
|
2025
|
-
}
|
|
2026
|
-
"privacy": "public"
|
|
2155
|
+
"text": "string"
|
|
2156
|
+
}
|
|
2027
2157
|
},
|
|
2028
2158
|
{
|
|
2029
2159
|
"kind": "field",
|
|
2030
|
-
"name": "
|
|
2160
|
+
"name": "hideDisabled",
|
|
2031
2161
|
"type": {
|
|
2032
|
-
"text": "
|
|
2162
|
+
"text": "boolean"
|
|
2033
2163
|
},
|
|
2034
|
-
"
|
|
2035
|
-
"default": "null"
|
|
2164
|
+
"default": "false"
|
|
2036
2165
|
},
|
|
2037
2166
|
{
|
|
2038
2167
|
"kind": "field",
|
|
2039
|
-
"name": "
|
|
2168
|
+
"name": "hideMenuSingleOption",
|
|
2040
2169
|
"type": {
|
|
2041
|
-
"text": "
|
|
2170
|
+
"text": "boolean"
|
|
2042
2171
|
},
|
|
2043
|
-
"
|
|
2044
|
-
"default": "null"
|
|
2172
|
+
"default": "false"
|
|
2045
2173
|
},
|
|
2046
2174
|
{
|
|
2047
2175
|
"kind": "field",
|
|
2048
|
-
"name": "
|
|
2176
|
+
"name": "singleOption",
|
|
2049
2177
|
"type": {
|
|
2050
|
-
"text": "
|
|
2051
|
-
}
|
|
2052
|
-
"readonly": true
|
|
2178
|
+
"text": "ActionMenuItem"
|
|
2179
|
+
}
|
|
2053
2180
|
},
|
|
2054
2181
|
{
|
|
2055
2182
|
"kind": "field",
|
|
2056
|
-
"name": "
|
|
2183
|
+
"name": "actionsMenu",
|
|
2057
2184
|
"type": {
|
|
2058
|
-
"text": "
|
|
2059
|
-
},
|
|
2060
|
-
"readonly": true
|
|
2061
|
-
},
|
|
2062
|
-
{
|
|
2063
|
-
"kind": "method",
|
|
2064
|
-
"name": "getFieldLabel",
|
|
2065
|
-
"privacy": "private",
|
|
2066
|
-
"return": {
|
|
2067
|
-
"type": {
|
|
2068
|
-
"text": "string"
|
|
2069
|
-
}
|
|
2070
|
-
},
|
|
2071
|
-
"parameters": [
|
|
2072
|
-
{
|
|
2073
|
-
"name": "fieldName",
|
|
2074
|
-
"type": {
|
|
2075
|
-
"text": "string"
|
|
2076
|
-
}
|
|
2077
|
-
}
|
|
2078
|
-
]
|
|
2079
|
-
},
|
|
2080
|
-
{
|
|
2081
|
-
"kind": "method",
|
|
2082
|
-
"name": "toggleCriteriaView",
|
|
2083
|
-
"return": {
|
|
2084
|
-
"type": {
|
|
2085
|
-
"text": "void"
|
|
2086
|
-
}
|
|
2185
|
+
"text": "HTMLElement"
|
|
2087
2186
|
}
|
|
2088
2187
|
},
|
|
2089
2188
|
{
|
|
2090
2189
|
"kind": "method",
|
|
2091
|
-
"name": "
|
|
2092
|
-
"
|
|
2093
|
-
"type": {
|
|
2094
|
-
"text": "void"
|
|
2095
|
-
}
|
|
2096
|
-
},
|
|
2190
|
+
"name": "definitionChanged",
|
|
2191
|
+
"privacy": "protected",
|
|
2097
2192
|
"parameters": [
|
|
2098
2193
|
{
|
|
2099
|
-
"name": "
|
|
2194
|
+
"name": "oldValue",
|
|
2100
2195
|
"type": {
|
|
2101
|
-
"text": "
|
|
2196
|
+
"text": "any"
|
|
2102
2197
|
}
|
|
2103
2198
|
},
|
|
2104
2199
|
{
|
|
2105
|
-
"name": "
|
|
2200
|
+
"name": "newValue",
|
|
2106
2201
|
"type": {
|
|
2107
|
-
"text": "
|
|
2202
|
+
"text": "any"
|
|
2108
2203
|
}
|
|
2109
2204
|
}
|
|
2110
2205
|
]
|
|
2111
2206
|
},
|
|
2112
2207
|
{
|
|
2113
2208
|
"kind": "method",
|
|
2114
|
-
"name": "
|
|
2115
|
-
"
|
|
2116
|
-
"type": {
|
|
2117
|
-
"text": "void"
|
|
2118
|
-
}
|
|
2119
|
-
}
|
|
2209
|
+
"name": "openChanged",
|
|
2210
|
+
"privacy": "protected"
|
|
2120
2211
|
},
|
|
2121
2212
|
{
|
|
2122
2213
|
"kind": "method",
|
|
2123
|
-
"name": "
|
|
2214
|
+
"name": "toggleActionsMenuVisibility"
|
|
2124
2215
|
},
|
|
2125
2216
|
{
|
|
2126
2217
|
"kind": "method",
|
|
2127
|
-
"name": "
|
|
2218
|
+
"name": "onActionMenuItemClick",
|
|
2219
|
+
"parameters": [
|
|
2220
|
+
{
|
|
2221
|
+
"name": "callback",
|
|
2222
|
+
"type": {
|
|
2223
|
+
"text": "(rowData) => void | any"
|
|
2224
|
+
}
|
|
2225
|
+
}
|
|
2226
|
+
]
|
|
2128
2227
|
},
|
|
2129
2228
|
{
|
|
2130
|
-
"kind": "
|
|
2131
|
-
"name": "
|
|
2229
|
+
"kind": "field",
|
|
2230
|
+
"name": "allActions",
|
|
2231
|
+
"type": {
|
|
2232
|
+
"text": "ActionMenuItem[]"
|
|
2233
|
+
},
|
|
2234
|
+
"readonly": true
|
|
2235
|
+
},
|
|
2236
|
+
{
|
|
2237
|
+
"kind": "field",
|
|
2238
|
+
"name": "rowData",
|
|
2239
|
+
"readonly": true
|
|
2132
2240
|
},
|
|
2133
2241
|
{
|
|
2134
2242
|
"kind": "method",
|
|
2135
|
-
"name": "
|
|
2243
|
+
"name": "getLabel",
|
|
2244
|
+
"parameters": [
|
|
2245
|
+
{
|
|
2246
|
+
"name": "name",
|
|
2247
|
+
"type": {
|
|
2248
|
+
"text": "string | ((rowData: any) => string)"
|
|
2249
|
+
}
|
|
2250
|
+
}
|
|
2251
|
+
]
|
|
2136
2252
|
},
|
|
2137
2253
|
{
|
|
2138
2254
|
"kind": "method",
|
|
2139
|
-
"name": "
|
|
2140
|
-
"
|
|
2255
|
+
"name": "getTemplate",
|
|
2256
|
+
"parameters": [
|
|
2257
|
+
{
|
|
2258
|
+
"name": "prefix",
|
|
2259
|
+
"type": {
|
|
2260
|
+
"text": "string"
|
|
2261
|
+
}
|
|
2262
|
+
}
|
|
2263
|
+
]
|
|
2141
2264
|
},
|
|
2142
2265
|
{
|
|
2143
2266
|
"kind": "field",
|
|
@@ -2251,154 +2374,115 @@
|
|
|
2251
2374
|
}
|
|
2252
2375
|
}
|
|
2253
2376
|
],
|
|
2254
|
-
"
|
|
2377
|
+
"attributes": [
|
|
2255
2378
|
{
|
|
2256
|
-
"
|
|
2257
|
-
"
|
|
2379
|
+
"name": "is-vertical",
|
|
2380
|
+
"type": {
|
|
2381
|
+
"text": "boolean"
|
|
2382
|
+
},
|
|
2383
|
+
"default": "false",
|
|
2384
|
+
"fieldName": "isVertical"
|
|
2258
2385
|
},
|
|
2259
2386
|
{
|
|
2260
|
-
"
|
|
2261
|
-
"
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2387
|
+
"name": "add-default-actions",
|
|
2388
|
+
"type": {
|
|
2389
|
+
"text": "boolean"
|
|
2390
|
+
},
|
|
2391
|
+
"default": "true",
|
|
2392
|
+
"fieldName": "addDefaultActions"
|
|
2393
|
+
},
|
|
2265
2394
|
{
|
|
2266
|
-
"name": "
|
|
2395
|
+
"name": "auto-close-on-action",
|
|
2396
|
+
"type": {
|
|
2397
|
+
"text": "boolean"
|
|
2398
|
+
},
|
|
2399
|
+
"default": "true",
|
|
2400
|
+
"fieldName": "autoCloseOnAction"
|
|
2401
|
+
},
|
|
2402
|
+
{
|
|
2403
|
+
"name": "name",
|
|
2267
2404
|
"type": {
|
|
2268
2405
|
"text": "string"
|
|
2269
2406
|
},
|
|
2270
|
-
"default": "'
|
|
2271
|
-
"fieldName": "
|
|
2407
|
+
"default": "'Actions'",
|
|
2408
|
+
"fieldName": "name"
|
|
2272
2409
|
},
|
|
2273
2410
|
{
|
|
2411
|
+
"name": "open",
|
|
2274
2412
|
"type": {
|
|
2275
2413
|
"text": "boolean"
|
|
2276
2414
|
},
|
|
2277
|
-
"
|
|
2415
|
+
"default": "false",
|
|
2416
|
+
"fieldName": "open"
|
|
2417
|
+
},
|
|
2418
|
+
{
|
|
2419
|
+
"name": "buttonAppearance",
|
|
2420
|
+
"type": {
|
|
2421
|
+
"text": "string"
|
|
2422
|
+
},
|
|
2423
|
+
"fieldName": "buttonAppearance"
|
|
2424
|
+
},
|
|
2425
|
+
{
|
|
2426
|
+
"name": "hide-disabled",
|
|
2427
|
+
"type": {
|
|
2428
|
+
"text": "boolean"
|
|
2429
|
+
},
|
|
2430
|
+
"default": "false",
|
|
2431
|
+
"fieldName": "hideDisabled"
|
|
2432
|
+
},
|
|
2433
|
+
{
|
|
2434
|
+
"name": "hide-menu-single-option",
|
|
2435
|
+
"type": {
|
|
2436
|
+
"text": "boolean"
|
|
2437
|
+
},
|
|
2438
|
+
"default": "false",
|
|
2439
|
+
"fieldName": "hideMenuSingleOption"
|
|
2278
2440
|
}
|
|
2279
2441
|
],
|
|
2280
2442
|
"superclass": {
|
|
2281
2443
|
"name": "FoundationElement",
|
|
2282
2444
|
"package": "@microsoft/fast-foundation"
|
|
2283
2445
|
},
|
|
2284
|
-
"tagName": "%%prefix%%-
|
|
2446
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
2285
2447
|
"customElement": true
|
|
2286
2448
|
},
|
|
2287
2449
|
{
|
|
2288
2450
|
"kind": "variable",
|
|
2289
|
-
"name": "
|
|
2290
|
-
"
|
|
2291
|
-
|
|
2292
|
-
},
|
|
2293
|
-
"default": "undefined"
|
|
2294
|
-
},
|
|
2295
|
-
{
|
|
2296
|
-
"kind": "variable",
|
|
2297
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2298
|
-
"type": {
|
|
2299
|
-
"text": "object"
|
|
2300
|
-
},
|
|
2301
|
-
"default": "{}"
|
|
2302
|
-
},
|
|
2303
|
-
{
|
|
2304
|
-
"kind": "variable",
|
|
2305
|
-
"name": "foundationAiCriteriaSearch"
|
|
2451
|
+
"name": "foundationActionsMenu",
|
|
2452
|
+
"description": "The Foundation Actions Menu",
|
|
2453
|
+
"privacy": "public"
|
|
2306
2454
|
}
|
|
2307
2455
|
],
|
|
2308
2456
|
"exports": [
|
|
2309
2457
|
{
|
|
2310
2458
|
"kind": "js",
|
|
2311
|
-
"name": "
|
|
2312
|
-
"declaration": {
|
|
2313
|
-
"name": "AiCriteriaSearch",
|
|
2314
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2315
|
-
}
|
|
2316
|
-
},
|
|
2317
|
-
{
|
|
2318
|
-
"kind": "js",
|
|
2319
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2320
|
-
"declaration": {
|
|
2321
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2322
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2323
|
-
}
|
|
2324
|
-
},
|
|
2325
|
-
{
|
|
2326
|
-
"kind": "js",
|
|
2327
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2459
|
+
"name": "ActionsMenu",
|
|
2328
2460
|
"declaration": {
|
|
2329
|
-
"name": "
|
|
2330
|
-
"module": "src/
|
|
2461
|
+
"name": "ActionsMenu",
|
|
2462
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2331
2463
|
}
|
|
2332
2464
|
},
|
|
2333
2465
|
{
|
|
2334
2466
|
"kind": "js",
|
|
2335
|
-
"name": "
|
|
2467
|
+
"name": "foundationActionsMenu",
|
|
2336
2468
|
"declaration": {
|
|
2337
|
-
"name": "
|
|
2338
|
-
"module": "src/
|
|
2469
|
+
"name": "foundationActionsMenu",
|
|
2470
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2339
2471
|
}
|
|
2340
2472
|
}
|
|
2341
2473
|
]
|
|
2342
2474
|
},
|
|
2343
2475
|
{
|
|
2344
2476
|
"kind": "javascript-module",
|
|
2345
|
-
"path": "src/
|
|
2477
|
+
"path": "src/actions-menu/index.ts",
|
|
2346
2478
|
"declarations": [],
|
|
2347
2479
|
"exports": [
|
|
2348
|
-
{
|
|
2349
|
-
"kind": "js",
|
|
2350
|
-
"name": "AiCriteriaSearch",
|
|
2351
|
-
"declaration": {
|
|
2352
|
-
"name": "AiCriteriaSearch",
|
|
2353
|
-
"module": "./ai-criteria-search"
|
|
2354
|
-
}
|
|
2355
|
-
},
|
|
2356
|
-
{
|
|
2357
|
-
"kind": "js",
|
|
2358
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2359
|
-
"declaration": {
|
|
2360
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2361
|
-
"module": "./ai-criteria-search"
|
|
2362
|
-
}
|
|
2363
|
-
},
|
|
2364
|
-
{
|
|
2365
|
-
"kind": "js",
|
|
2366
|
-
"name": "foundationAiCriteriaSearch",
|
|
2367
|
-
"declaration": {
|
|
2368
|
-
"name": "foundationAiCriteriaSearch",
|
|
2369
|
-
"module": "./ai-criteria-search"
|
|
2370
|
-
}
|
|
2371
|
-
},
|
|
2372
|
-
{
|
|
2373
|
-
"kind": "js",
|
|
2374
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2375
|
-
"declaration": {
|
|
2376
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2377
|
-
"module": "./ai-criteria-search"
|
|
2378
|
-
}
|
|
2379
|
-
},
|
|
2380
|
-
{
|
|
2381
|
-
"kind": "js",
|
|
2382
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2383
|
-
"declaration": {
|
|
2384
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2385
|
-
"module": "./ai-criteria-search.styles"
|
|
2386
|
-
}
|
|
2387
|
-
},
|
|
2388
|
-
{
|
|
2389
|
-
"kind": "js",
|
|
2390
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2391
|
-
"declaration": {
|
|
2392
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2393
|
-
"module": "./ai-criteria-search.template"
|
|
2394
|
-
}
|
|
2395
|
-
},
|
|
2396
2480
|
{
|
|
2397
2481
|
"kind": "js",
|
|
2398
2482
|
"name": "*",
|
|
2399
2483
|
"declaration": {
|
|
2400
2484
|
"name": "*",
|
|
2401
|
-
"package": "./
|
|
2485
|
+
"package": "./actions-menu.styles"
|
|
2402
2486
|
}
|
|
2403
2487
|
},
|
|
2404
2488
|
{
|
|
@@ -2406,7 +2490,7 @@
|
|
|
2406
2490
|
"name": "*",
|
|
2407
2491
|
"declaration": {
|
|
2408
2492
|
"name": "*",
|
|
2409
|
-
"package": "./
|
|
2493
|
+
"package": "./actions-menu.template"
|
|
2410
2494
|
}
|
|
2411
2495
|
},
|
|
2412
2496
|
{
|
|
@@ -2414,82 +2498,7 @@
|
|
|
2414
2498
|
"name": "*",
|
|
2415
2499
|
"declaration": {
|
|
2416
2500
|
"name": "*",
|
|
2417
|
-
"package": "./
|
|
2418
|
-
}
|
|
2419
|
-
}
|
|
2420
|
-
]
|
|
2421
|
-
},
|
|
2422
|
-
{
|
|
2423
|
-
"kind": "javascript-module",
|
|
2424
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
2425
|
-
"declarations": [
|
|
2426
|
-
{
|
|
2427
|
-
"kind": "function",
|
|
2428
|
-
"name": "formatValidationErrors",
|
|
2429
|
-
"return": {
|
|
2430
|
-
"type": {
|
|
2431
|
-
"text": "string"
|
|
2432
|
-
}
|
|
2433
|
-
},
|
|
2434
|
-
"parameters": [
|
|
2435
|
-
{
|
|
2436
|
-
"name": "errors",
|
|
2437
|
-
"type": {
|
|
2438
|
-
"text": "ValidationError[]"
|
|
2439
|
-
}
|
|
2440
|
-
}
|
|
2441
|
-
],
|
|
2442
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
2443
|
-
},
|
|
2444
|
-
{
|
|
2445
|
-
"kind": "function",
|
|
2446
|
-
"name": "showCriteriaError",
|
|
2447
|
-
"return": {
|
|
2448
|
-
"type": {
|
|
2449
|
-
"text": "void"
|
|
2450
|
-
}
|
|
2451
|
-
},
|
|
2452
|
-
"parameters": [
|
|
2453
|
-
{
|
|
2454
|
-
"name": "title",
|
|
2455
|
-
"type": {
|
|
2456
|
-
"text": "string"
|
|
2457
|
-
},
|
|
2458
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
2459
|
-
},
|
|
2460
|
-
{
|
|
2461
|
-
"name": "body",
|
|
2462
|
-
"type": {
|
|
2463
|
-
"text": "string"
|
|
2464
|
-
},
|
|
2465
|
-
"description": "Error message to display"
|
|
2466
|
-
},
|
|
2467
|
-
{
|
|
2468
|
-
"name": "tagName",
|
|
2469
|
-
"type": {
|
|
2470
|
-
"text": "string"
|
|
2471
|
-
},
|
|
2472
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
2473
|
-
}
|
|
2474
|
-
],
|
|
2475
|
-
"description": "Shows a criteria error as a toast notification."
|
|
2476
|
-
}
|
|
2477
|
-
],
|
|
2478
|
-
"exports": [
|
|
2479
|
-
{
|
|
2480
|
-
"kind": "js",
|
|
2481
|
-
"name": "formatValidationErrors",
|
|
2482
|
-
"declaration": {
|
|
2483
|
-
"name": "formatValidationErrors",
|
|
2484
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2485
|
-
}
|
|
2486
|
-
},
|
|
2487
|
-
{
|
|
2488
|
-
"kind": "js",
|
|
2489
|
-
"name": "showCriteriaError",
|
|
2490
|
-
"declaration": {
|
|
2491
|
-
"name": "showCriteriaError",
|
|
2492
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2501
|
+
"package": "./actions-menu"
|
|
2493
2502
|
}
|
|
2494
2503
|
}
|
|
2495
2504
|
]
|
|
@@ -2945,215 +2954,257 @@
|
|
|
2945
2954
|
},
|
|
2946
2955
|
{
|
|
2947
2956
|
"kind": "javascript-module",
|
|
2948
|
-
"path": "src/
|
|
2957
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
2949
2958
|
"declarations": [
|
|
2950
2959
|
{
|
|
2951
|
-
"kind": "
|
|
2952
|
-
"
|
|
2953
|
-
"
|
|
2960
|
+
"kind": "variable",
|
|
2961
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2962
|
+
"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`"
|
|
2963
|
+
}
|
|
2964
|
+
],
|
|
2965
|
+
"exports": [
|
|
2966
|
+
{
|
|
2967
|
+
"kind": "js",
|
|
2968
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2969
|
+
"declaration": {
|
|
2970
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2971
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
2972
|
+
}
|
|
2973
|
+
}
|
|
2974
|
+
]
|
|
2975
|
+
},
|
|
2976
|
+
{
|
|
2977
|
+
"kind": "javascript-module",
|
|
2978
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
2979
|
+
"declarations": [
|
|
2980
|
+
{
|
|
2981
|
+
"kind": "variable",
|
|
2982
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2983
|
+
"type": {
|
|
2984
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
2985
|
+
},
|
|
2986
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
2987
|
+
}
|
|
2988
|
+
],
|
|
2989
|
+
"exports": [
|
|
2990
|
+
{
|
|
2991
|
+
"kind": "js",
|
|
2992
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2993
|
+
"declaration": {
|
|
2994
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2995
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
2996
|
+
}
|
|
2997
|
+
}
|
|
2998
|
+
]
|
|
2999
|
+
},
|
|
3000
|
+
{
|
|
3001
|
+
"kind": "javascript-module",
|
|
3002
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
3003
|
+
"declarations": [
|
|
3004
|
+
{
|
|
3005
|
+
"kind": "class",
|
|
3006
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
3007
|
+
"name": "AiCriteriaSearch",
|
|
2954
3008
|
"members": [
|
|
2955
3009
|
{
|
|
2956
3010
|
"kind": "field",
|
|
2957
|
-
"name": "
|
|
3011
|
+
"name": "providerRegistry",
|
|
3012
|
+
"type": {
|
|
3013
|
+
"text": "AIProviderRegistry"
|
|
3014
|
+
}
|
|
3015
|
+
},
|
|
3016
|
+
{
|
|
3017
|
+
"kind": "field",
|
|
3018
|
+
"name": "placeholder",
|
|
2958
3019
|
"type": {
|
|
2959
3020
|
"text": "string"
|
|
2960
3021
|
},
|
|
2961
|
-
"
|
|
3022
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
2962
3023
|
},
|
|
2963
3024
|
{
|
|
2964
3025
|
"kind": "field",
|
|
2965
|
-
"name": "
|
|
3026
|
+
"name": "disabled",
|
|
3027
|
+
"type": {
|
|
3028
|
+
"text": "boolean"
|
|
3029
|
+
}
|
|
3030
|
+
},
|
|
3031
|
+
{
|
|
3032
|
+
"kind": "field",
|
|
3033
|
+
"name": "inputValue",
|
|
2966
3034
|
"type": {
|
|
2967
3035
|
"text": "string"
|
|
2968
3036
|
},
|
|
2969
|
-
"
|
|
3037
|
+
"default": "''"
|
|
2970
3038
|
},
|
|
2971
3039
|
{
|
|
2972
3040
|
"kind": "field",
|
|
2973
|
-
"name": "
|
|
3041
|
+
"name": "isInterpreting",
|
|
2974
3042
|
"type": {
|
|
2975
3043
|
"text": "boolean"
|
|
2976
3044
|
},
|
|
2977
|
-
"default": "false"
|
|
2978
|
-
|
|
2979
|
-
}
|
|
2980
|
-
],
|
|
2981
|
-
"parameters": [
|
|
3045
|
+
"default": "false"
|
|
3046
|
+
},
|
|
2982
3047
|
{
|
|
2983
|
-
"
|
|
3048
|
+
"kind": "field",
|
|
3049
|
+
"name": "lastValidCriteria",
|
|
2984
3050
|
"type": {
|
|
2985
|
-
"text": "
|
|
2986
|
-
}
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
}
|
|
2990
|
-
],
|
|
2991
|
-
"exports": [
|
|
2992
|
-
{
|
|
2993
|
-
"kind": "js",
|
|
2994
|
-
"name": "AffixMixin",
|
|
2995
|
-
"declaration": {
|
|
2996
|
-
"name": "AffixMixin",
|
|
2997
|
-
"module": "src/_common/affix-mixin.ts"
|
|
2998
|
-
}
|
|
2999
|
-
}
|
|
3000
|
-
]
|
|
3001
|
-
},
|
|
3002
|
-
{
|
|
3003
|
-
"kind": "javascript-module",
|
|
3004
|
-
"path": "src/_common/base-file-component.ts",
|
|
3005
|
-
"declarations": [
|
|
3006
|
-
{
|
|
3007
|
-
"kind": "class",
|
|
3008
|
-
"description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
|
|
3009
|
-
"name": "BaseFileComponent",
|
|
3010
|
-
"members": [
|
|
3051
|
+
"text": "string | null"
|
|
3052
|
+
},
|
|
3053
|
+
"default": "null"
|
|
3054
|
+
},
|
|
3011
3055
|
{
|
|
3012
3056
|
"kind": "field",
|
|
3013
|
-
"name": "
|
|
3057
|
+
"name": "activeGroups",
|
|
3014
3058
|
"type": {
|
|
3015
|
-
"text": "
|
|
3059
|
+
"text": "CriteriaGroup[]"
|
|
3016
3060
|
},
|
|
3017
|
-
"
|
|
3061
|
+
"default": "[]"
|
|
3018
3062
|
},
|
|
3019
3063
|
{
|
|
3020
3064
|
"kind": "field",
|
|
3021
|
-
"name": "
|
|
3065
|
+
"name": "showingChips",
|
|
3022
3066
|
"type": {
|
|
3023
|
-
"text": "
|
|
3067
|
+
"text": "boolean"
|
|
3024
3068
|
},
|
|
3025
|
-
"
|
|
3026
|
-
"default": "null"
|
|
3069
|
+
"default": "false"
|
|
3027
3070
|
},
|
|
3028
3071
|
{
|
|
3029
3072
|
"kind": "field",
|
|
3030
|
-
"name": "
|
|
3073
|
+
"name": "fieldMetadata",
|
|
3031
3074
|
"type": {
|
|
3032
|
-
"text": "string"
|
|
3033
|
-
}
|
|
3075
|
+
"text": "MetadataDetail[] | string[]"
|
|
3076
|
+
},
|
|
3077
|
+
"default": "[]"
|
|
3034
3078
|
},
|
|
3035
3079
|
{
|
|
3036
3080
|
"kind": "field",
|
|
3037
|
-
"name": "
|
|
3081
|
+
"name": "isRecording",
|
|
3038
3082
|
"type": {
|
|
3039
|
-
"text": "
|
|
3083
|
+
"text": "boolean"
|
|
3040
3084
|
},
|
|
3041
|
-
"default": "
|
|
3085
|
+
"default": "false"
|
|
3042
3086
|
},
|
|
3043
3087
|
{
|
|
3044
3088
|
"kind": "field",
|
|
3045
|
-
"name": "
|
|
3046
|
-
"default": "10_485_760",
|
|
3089
|
+
"name": "textAreaRef",
|
|
3047
3090
|
"type": {
|
|
3048
|
-
"text": "
|
|
3049
|
-
}
|
|
3091
|
+
"text": "HTMLTextAreaElement"
|
|
3092
|
+
},
|
|
3093
|
+
"privacy": "public"
|
|
3050
3094
|
},
|
|
3051
3095
|
{
|
|
3052
3096
|
"kind": "field",
|
|
3053
|
-
"name": "
|
|
3097
|
+
"name": "stopRecording",
|
|
3054
3098
|
"type": {
|
|
3055
|
-
"text": "
|
|
3099
|
+
"text": "(() => void) | null"
|
|
3056
3100
|
},
|
|
3057
|
-
"
|
|
3101
|
+
"privacy": "private",
|
|
3102
|
+
"default": "null"
|
|
3058
3103
|
},
|
|
3059
3104
|
{
|
|
3060
3105
|
"kind": "field",
|
|
3061
|
-
"name": "
|
|
3106
|
+
"name": "speechApplyDebounceTimer",
|
|
3107
|
+
"type": {
|
|
3108
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3109
|
+
},
|
|
3110
|
+
"privacy": "private",
|
|
3111
|
+
"default": "null"
|
|
3112
|
+
},
|
|
3113
|
+
{
|
|
3114
|
+
"kind": "field",
|
|
3115
|
+
"name": "speechAvailable",
|
|
3062
3116
|
"type": {
|
|
3063
3117
|
"text": "boolean"
|
|
3064
3118
|
},
|
|
3065
|
-
"
|
|
3119
|
+
"readonly": true
|
|
3066
3120
|
},
|
|
3067
3121
|
{
|
|
3068
|
-
"kind": "
|
|
3069
|
-
"name": "
|
|
3070
|
-
"
|
|
3071
|
-
|
|
3122
|
+
"kind": "field",
|
|
3123
|
+
"name": "criteriaChips",
|
|
3124
|
+
"type": {
|
|
3125
|
+
"text": "CriteriaChip[]"
|
|
3126
|
+
},
|
|
3127
|
+
"readonly": true
|
|
3072
3128
|
},
|
|
3073
3129
|
{
|
|
3074
3130
|
"kind": "method",
|
|
3075
|
-
"name": "
|
|
3076
|
-
"privacy": "
|
|
3131
|
+
"name": "getFieldLabel",
|
|
3132
|
+
"privacy": "private",
|
|
3133
|
+
"return": {
|
|
3134
|
+
"type": {
|
|
3135
|
+
"text": "string"
|
|
3136
|
+
}
|
|
3137
|
+
},
|
|
3077
3138
|
"parameters": [
|
|
3078
3139
|
{
|
|
3079
|
-
"name": "
|
|
3140
|
+
"name": "fieldName",
|
|
3080
3141
|
"type": {
|
|
3081
|
-
"text": "
|
|
3082
|
-
}
|
|
3083
|
-
"description": "The change event from the file input"
|
|
3142
|
+
"text": "string"
|
|
3143
|
+
}
|
|
3084
3144
|
}
|
|
3085
|
-
]
|
|
3086
|
-
"description": "Handles file selection from the file input\nValidates file size and sets up for processing"
|
|
3087
|
-
},
|
|
3088
|
-
{
|
|
3089
|
-
"kind": "method",
|
|
3090
|
-
"name": "clearSelection",
|
|
3091
|
-
"privacy": "public",
|
|
3092
|
-
"description": "Clears all file selection and processing state\nResets the component to its initial state"
|
|
3145
|
+
]
|
|
3093
3146
|
},
|
|
3094
3147
|
{
|
|
3095
3148
|
"kind": "method",
|
|
3096
|
-
"name": "
|
|
3097
|
-
"privacy": "public",
|
|
3098
|
-
"description": "Gets the currently selected file object",
|
|
3149
|
+
"name": "toggleCriteriaView",
|
|
3099
3150
|
"return": {
|
|
3100
3151
|
"type": {
|
|
3101
|
-
"text": ""
|
|
3152
|
+
"text": "void"
|
|
3102
3153
|
}
|
|
3103
3154
|
}
|
|
3104
3155
|
},
|
|
3105
3156
|
{
|
|
3106
3157
|
"kind": "method",
|
|
3107
|
-
"name": "
|
|
3108
|
-
"
|
|
3158
|
+
"name": "removeChip",
|
|
3159
|
+
"return": {
|
|
3160
|
+
"type": {
|
|
3161
|
+
"text": "void"
|
|
3162
|
+
}
|
|
3163
|
+
},
|
|
3109
3164
|
"parameters": [
|
|
3110
3165
|
{
|
|
3111
|
-
"name": "
|
|
3166
|
+
"name": "groupIndex",
|
|
3112
3167
|
"type": {
|
|
3113
|
-
"text": "
|
|
3114
|
-
}
|
|
3115
|
-
"description": "The error title"
|
|
3168
|
+
"text": "number"
|
|
3169
|
+
}
|
|
3116
3170
|
},
|
|
3117
3171
|
{
|
|
3118
|
-
"name": "
|
|
3172
|
+
"name": "clauseIndex",
|
|
3119
3173
|
"type": {
|
|
3120
|
-
"text": "
|
|
3121
|
-
}
|
|
3122
|
-
"description": "The error message"
|
|
3174
|
+
"text": "number"
|
|
3175
|
+
}
|
|
3123
3176
|
}
|
|
3124
|
-
]
|
|
3125
|
-
"description": "Shows an error notification using the unified error handling system"
|
|
3177
|
+
]
|
|
3126
3178
|
},
|
|
3127
3179
|
{
|
|
3128
3180
|
"kind": "method",
|
|
3129
|
-
"name": "
|
|
3130
|
-
"privacy": "protected",
|
|
3181
|
+
"name": "clearChips",
|
|
3131
3182
|
"return": {
|
|
3132
3183
|
"type": {
|
|
3133
3184
|
"text": "void"
|
|
3134
3185
|
}
|
|
3135
|
-
}
|
|
3136
|
-
"parameters": [
|
|
3137
|
-
{
|
|
3138
|
-
"name": "files",
|
|
3139
|
-
"type": {
|
|
3140
|
-
"text": "File[]"
|
|
3141
|
-
},
|
|
3142
|
-
"description": "The selected file"
|
|
3143
|
-
}
|
|
3144
|
-
],
|
|
3145
|
-
"description": "Abstract method called when a file is selected"
|
|
3186
|
+
}
|
|
3146
3187
|
},
|
|
3147
3188
|
{
|
|
3148
3189
|
"kind": "method",
|
|
3149
|
-
"name": "
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
"
|
|
3190
|
+
"name": "handleSubmit"
|
|
3191
|
+
},
|
|
3192
|
+
{
|
|
3193
|
+
"kind": "method",
|
|
3194
|
+
"name": "handleBlur"
|
|
3195
|
+
},
|
|
3196
|
+
{
|
|
3197
|
+
"kind": "method",
|
|
3198
|
+
"name": "clear"
|
|
3199
|
+
},
|
|
3200
|
+
{
|
|
3201
|
+
"kind": "method",
|
|
3202
|
+
"name": "toggleSpeechInput"
|
|
3203
|
+
},
|
|
3204
|
+
{
|
|
3205
|
+
"kind": "method",
|
|
3206
|
+
"name": "clearSpeechApplyDebounce",
|
|
3207
|
+
"privacy": "private"
|
|
3157
3208
|
},
|
|
3158
3209
|
{
|
|
3159
3210
|
"kind": "field",
|
|
@@ -3269,118 +3320,144 @@
|
|
|
3269
3320
|
],
|
|
3270
3321
|
"events": [
|
|
3271
3322
|
{
|
|
3272
|
-
"description": "Fired when
|
|
3273
|
-
"name": "
|
|
3323
|
+
"description": "Fired when interpreted criteria is applied or cleared",
|
|
3324
|
+
"name": "criteria-changed"
|
|
3274
3325
|
},
|
|
3275
3326
|
{
|
|
3276
|
-
"description": "Fired when
|
|
3277
|
-
"name": "
|
|
3327
|
+
"description": "Fired when interpreted criteria contains invalid clauses",
|
|
3328
|
+
"name": "validation-errors"
|
|
3278
3329
|
}
|
|
3279
3330
|
],
|
|
3280
3331
|
"attributes": [
|
|
3281
3332
|
{
|
|
3282
|
-
"name": "
|
|
3333
|
+
"name": "placeholder",
|
|
3283
3334
|
"type": {
|
|
3284
3335
|
"text": "string"
|
|
3285
3336
|
},
|
|
3286
|
-
"
|
|
3337
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
3338
|
+
"fieldName": "placeholder"
|
|
3287
3339
|
},
|
|
3288
3340
|
{
|
|
3289
|
-
"name": "accept",
|
|
3290
3341
|
"type": {
|
|
3291
|
-
"text": "
|
|
3292
|
-
},
|
|
3293
|
-
"default": "''",
|
|
3294
|
-
"fieldName": "accept"
|
|
3295
|
-
},
|
|
3296
|
-
{
|
|
3297
|
-
"name": "file-size-limit-bytes",
|
|
3298
|
-
"default": "DEFAULT_FILE_SIZE_LIMIT",
|
|
3299
|
-
"resolveInitializer": {
|
|
3300
|
-
"module": "src/_common/base-file-component.ts"
|
|
3342
|
+
"text": "boolean"
|
|
3301
3343
|
},
|
|
3302
|
-
"fieldName": "
|
|
3344
|
+
"fieldName": "disabled"
|
|
3303
3345
|
}
|
|
3304
3346
|
],
|
|
3305
3347
|
"superclass": {
|
|
3306
3348
|
"name": "FoundationElement",
|
|
3307
3349
|
"package": "@microsoft/fast-foundation"
|
|
3308
|
-
}
|
|
3350
|
+
},
|
|
3351
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3352
|
+
"customElement": true
|
|
3353
|
+
},
|
|
3354
|
+
{
|
|
3355
|
+
"kind": "variable",
|
|
3356
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3357
|
+
"type": {
|
|
3358
|
+
"text": "ShadowRootInit"
|
|
3359
|
+
},
|
|
3360
|
+
"default": "undefined"
|
|
3361
|
+
},
|
|
3362
|
+
{
|
|
3363
|
+
"kind": "variable",
|
|
3364
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3365
|
+
"type": {
|
|
3366
|
+
"text": "object"
|
|
3367
|
+
},
|
|
3368
|
+
"default": "{}"
|
|
3369
|
+
},
|
|
3370
|
+
{
|
|
3371
|
+
"kind": "variable",
|
|
3372
|
+
"name": "foundationAiCriteriaSearch"
|
|
3309
3373
|
}
|
|
3310
3374
|
],
|
|
3311
3375
|
"exports": [
|
|
3312
3376
|
{
|
|
3313
3377
|
"kind": "js",
|
|
3314
|
-
"name": "
|
|
3378
|
+
"name": "AiCriteriaSearch",
|
|
3315
3379
|
"declaration": {
|
|
3316
|
-
"name": "
|
|
3317
|
-
"module": "src/
|
|
3380
|
+
"name": "AiCriteriaSearch",
|
|
3381
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3318
3382
|
}
|
|
3319
|
-
}
|
|
3320
|
-
]
|
|
3321
|
-
},
|
|
3322
|
-
{
|
|
3323
|
-
"kind": "javascript-module",
|
|
3324
|
-
"path": "src/_common/field-styles.ts",
|
|
3325
|
-
"declarations": [
|
|
3326
|
-
{
|
|
3327
|
-
"kind": "variable",
|
|
3328
|
-
"name": "sharedFieldStyles",
|
|
3329
|
-
"default": "css`\n .label-hidden {\n margin: 0;\n }\n\n .control-field {\n display: flex;\n flex: 1 1 0%;\n min-width: 0;\n align-self: stretch;\n align-items: stretch;\n }\n\n .control-field .control {\n flex: 1 1 auto;\n min-width: 0;\n width: auto;\n }\n\n .prefix,\n .suffix {\n display: flex;\n align-items: center;\n flex-shrink: 0;\n box-sizing: border-box;\n padding: 0 calc(var(--design-unit) * 2px);\n user-select: none;\n white-space: nowrap;\n background-color: var(--neutral-fill-rest);\n color: var(--neutral-foreground-hint);\n font-size: var(--type-ramp-base-font-size);\n font-family: inherit;\n line-height: 1;\n }\n\n .prefix {\n border-right: 1px solid var(--neutral-stroke-divider-rest);\n border-radius: calc(var(--control-corner-radius) * 1px) 0 0\n calc(var(--control-corner-radius) * 1px);\n }\n\n .suffix {\n border-left: 1px solid var(--neutral-stroke-divider-rest);\n border-radius: 0 calc(var(--control-corner-radius) * 1px)\n calc(var(--control-corner-radius) * 1px) 0;\n }\n\n :host(.has-prefix:not(.has-suffix)) .control-field .control {\n border-radius: 0 calc(var(--control-corner-radius) * 1px)\n calc(var(--control-corner-radius) * 1px) 0;\n }\n\n :host(.has-suffix:not(.has-prefix)) .control-field .control {\n border-radius: calc(var(--control-corner-radius) * 1px) 0 0\n calc(var(--control-corner-radius) * 1px);\n }\n\n :host(.has-prefix.has-suffix) .control-field .control {\n border-radius: 0;\n }\n`"
|
|
3330
|
-
}
|
|
3331
|
-
],
|
|
3332
|
-
"exports": [
|
|
3383
|
+
},
|
|
3333
3384
|
{
|
|
3334
3385
|
"kind": "js",
|
|
3335
|
-
"name": "
|
|
3386
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3336
3387
|
"declaration": {
|
|
3337
|
-
"name": "
|
|
3338
|
-
"module": "src/
|
|
3388
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3389
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3339
3390
|
}
|
|
3340
|
-
}
|
|
3341
|
-
]
|
|
3342
|
-
},
|
|
3343
|
-
{
|
|
3344
|
-
"kind": "javascript-module",
|
|
3345
|
-
"path": "src/_common/icons.ts",
|
|
3346
|
-
"declarations": [
|
|
3391
|
+
},
|
|
3347
3392
|
{
|
|
3348
|
-
"kind": "
|
|
3349
|
-
"name": "
|
|
3350
|
-
"
|
|
3351
|
-
|
|
3352
|
-
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
{
|
|
3356
|
-
"name": "fill",
|
|
3357
|
-
"default": "'#879ba6'"
|
|
3358
|
-
}
|
|
3359
|
-
]
|
|
3360
|
-
}
|
|
3361
|
-
],
|
|
3362
|
-
"exports": [
|
|
3393
|
+
"kind": "js",
|
|
3394
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3395
|
+
"declaration": {
|
|
3396
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3397
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3398
|
+
}
|
|
3399
|
+
},
|
|
3363
3400
|
{
|
|
3364
3401
|
"kind": "js",
|
|
3365
|
-
"name": "
|
|
3402
|
+
"name": "foundationAiCriteriaSearch",
|
|
3366
3403
|
"declaration": {
|
|
3367
|
-
"name": "
|
|
3368
|
-
"module": "src/
|
|
3404
|
+
"name": "foundationAiCriteriaSearch",
|
|
3405
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3369
3406
|
}
|
|
3370
3407
|
}
|
|
3371
3408
|
]
|
|
3372
3409
|
},
|
|
3373
3410
|
{
|
|
3374
3411
|
"kind": "javascript-module",
|
|
3375
|
-
"path": "src/
|
|
3412
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
3376
3413
|
"declarations": [],
|
|
3377
3414
|
"exports": [
|
|
3378
3415
|
{
|
|
3379
3416
|
"kind": "js",
|
|
3380
|
-
"name": "
|
|
3417
|
+
"name": "AiCriteriaSearch",
|
|
3381
3418
|
"declaration": {
|
|
3382
|
-
"name": "
|
|
3383
|
-
"
|
|
3419
|
+
"name": "AiCriteriaSearch",
|
|
3420
|
+
"module": "./ai-criteria-search"
|
|
3421
|
+
}
|
|
3422
|
+
},
|
|
3423
|
+
{
|
|
3424
|
+
"kind": "js",
|
|
3425
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3426
|
+
"declaration": {
|
|
3427
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3428
|
+
"module": "./ai-criteria-search"
|
|
3429
|
+
}
|
|
3430
|
+
},
|
|
3431
|
+
{
|
|
3432
|
+
"kind": "js",
|
|
3433
|
+
"name": "foundationAiCriteriaSearch",
|
|
3434
|
+
"declaration": {
|
|
3435
|
+
"name": "foundationAiCriteriaSearch",
|
|
3436
|
+
"module": "./ai-criteria-search"
|
|
3437
|
+
}
|
|
3438
|
+
},
|
|
3439
|
+
{
|
|
3440
|
+
"kind": "js",
|
|
3441
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3442
|
+
"declaration": {
|
|
3443
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3444
|
+
"module": "./ai-criteria-search"
|
|
3445
|
+
}
|
|
3446
|
+
},
|
|
3447
|
+
{
|
|
3448
|
+
"kind": "js",
|
|
3449
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3450
|
+
"declaration": {
|
|
3451
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3452
|
+
"module": "./ai-criteria-search.styles"
|
|
3453
|
+
}
|
|
3454
|
+
},
|
|
3455
|
+
{
|
|
3456
|
+
"kind": "js",
|
|
3457
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3458
|
+
"declaration": {
|
|
3459
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3460
|
+
"module": "./ai-criteria-search.template"
|
|
3384
3461
|
}
|
|
3385
3462
|
},
|
|
3386
3463
|
{
|
|
@@ -3388,7 +3465,7 @@
|
|
|
3388
3465
|
"name": "*",
|
|
3389
3466
|
"declaration": {
|
|
3390
3467
|
"name": "*",
|
|
3391
|
-
"package": "./
|
|
3468
|
+
"package": "./validation/criteria-ir"
|
|
3392
3469
|
}
|
|
3393
3470
|
},
|
|
3394
3471
|
{
|
|
@@ -3396,7 +3473,7 @@
|
|
|
3396
3473
|
"name": "*",
|
|
3397
3474
|
"declaration": {
|
|
3398
3475
|
"name": "*",
|
|
3399
|
-
"package": "./
|
|
3476
|
+
"package": "./validation/operator-map"
|
|
3400
3477
|
}
|
|
3401
3478
|
},
|
|
3402
3479
|
{
|
|
@@ -3404,49 +3481,93 @@
|
|
|
3404
3481
|
"name": "*",
|
|
3405
3482
|
"declaration": {
|
|
3406
3483
|
"name": "*",
|
|
3407
|
-
"package": "./
|
|
3484
|
+
"package": "./validation/schema-validator"
|
|
3408
3485
|
}
|
|
3409
3486
|
}
|
|
3410
3487
|
]
|
|
3411
3488
|
},
|
|
3412
3489
|
{
|
|
3413
3490
|
"kind": "javascript-module",
|
|
3414
|
-
"path": "src/
|
|
3415
|
-
"declarations": [
|
|
3416
|
-
"exports": [
|
|
3491
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3492
|
+
"declarations": [
|
|
3417
3493
|
{
|
|
3418
|
-
"kind": "
|
|
3419
|
-
"name": "
|
|
3420
|
-
"
|
|
3421
|
-
"
|
|
3422
|
-
|
|
3423
|
-
|
|
3494
|
+
"kind": "function",
|
|
3495
|
+
"name": "formatValidationErrors",
|
|
3496
|
+
"return": {
|
|
3497
|
+
"type": {
|
|
3498
|
+
"text": "string"
|
|
3499
|
+
}
|
|
3500
|
+
},
|
|
3501
|
+
"parameters": [
|
|
3502
|
+
{
|
|
3503
|
+
"name": "errors",
|
|
3504
|
+
"type": {
|
|
3505
|
+
"text": "ValidationError[]"
|
|
3506
|
+
}
|
|
3507
|
+
}
|
|
3508
|
+
],
|
|
3509
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
3424
3510
|
},
|
|
3511
|
+
{
|
|
3512
|
+
"kind": "function",
|
|
3513
|
+
"name": "showCriteriaError",
|
|
3514
|
+
"return": {
|
|
3515
|
+
"type": {
|
|
3516
|
+
"text": "void"
|
|
3517
|
+
}
|
|
3518
|
+
},
|
|
3519
|
+
"parameters": [
|
|
3520
|
+
{
|
|
3521
|
+
"name": "title",
|
|
3522
|
+
"type": {
|
|
3523
|
+
"text": "string"
|
|
3524
|
+
},
|
|
3525
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3526
|
+
},
|
|
3527
|
+
{
|
|
3528
|
+
"name": "body",
|
|
3529
|
+
"type": {
|
|
3530
|
+
"text": "string"
|
|
3531
|
+
},
|
|
3532
|
+
"description": "Error message to display"
|
|
3533
|
+
},
|
|
3534
|
+
{
|
|
3535
|
+
"name": "tagName",
|
|
3536
|
+
"type": {
|
|
3537
|
+
"text": "string"
|
|
3538
|
+
},
|
|
3539
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3540
|
+
}
|
|
3541
|
+
],
|
|
3542
|
+
"description": "Shows a criteria error as a toast notification."
|
|
3543
|
+
}
|
|
3544
|
+
],
|
|
3545
|
+
"exports": [
|
|
3425
3546
|
{
|
|
3426
3547
|
"kind": "js",
|
|
3427
|
-
"name": "
|
|
3548
|
+
"name": "formatValidationErrors",
|
|
3428
3549
|
"declaration": {
|
|
3429
|
-
"name": "
|
|
3430
|
-
"
|
|
3550
|
+
"name": "formatValidationErrors",
|
|
3551
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3431
3552
|
}
|
|
3432
3553
|
},
|
|
3433
3554
|
{
|
|
3434
3555
|
"kind": "js",
|
|
3435
|
-
"name": "
|
|
3556
|
+
"name": "showCriteriaError",
|
|
3436
3557
|
"declaration": {
|
|
3437
|
-
"name": "
|
|
3438
|
-
"
|
|
3558
|
+
"name": "showCriteriaError",
|
|
3559
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3439
3560
|
}
|
|
3440
3561
|
}
|
|
3441
3562
|
]
|
|
3442
3563
|
},
|
|
3443
3564
|
{
|
|
3444
3565
|
"kind": "javascript-module",
|
|
3445
|
-
"path": "src/accordion/accordion.styles.ts",
|
|
3566
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
3446
3567
|
"declarations": [
|
|
3447
3568
|
{
|
|
3448
3569
|
"kind": "function",
|
|
3449
|
-
"name": "
|
|
3570
|
+
"name": "foundationAccordionItemStyles",
|
|
3450
3571
|
"return": {
|
|
3451
3572
|
"type": {
|
|
3452
3573
|
"text": "ElementStyles"
|
|
@@ -3471,24 +3592,24 @@
|
|
|
3471
3592
|
"exports": [
|
|
3472
3593
|
{
|
|
3473
3594
|
"kind": "js",
|
|
3474
|
-
"name": "
|
|
3595
|
+
"name": "foundationAccordionItemStyles",
|
|
3475
3596
|
"declaration": {
|
|
3476
|
-
"name": "
|
|
3477
|
-
"module": "src/accordion/accordion.styles.ts"
|
|
3597
|
+
"name": "foundationAccordionItemStyles",
|
|
3598
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
3478
3599
|
}
|
|
3479
3600
|
}
|
|
3480
3601
|
]
|
|
3481
3602
|
},
|
|
3482
3603
|
{
|
|
3483
3604
|
"kind": "javascript-module",
|
|
3484
|
-
"path": "src/accordion/accordion.template.ts",
|
|
3605
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
3485
3606
|
"declarations": [
|
|
3486
3607
|
{
|
|
3487
3608
|
"kind": "function",
|
|
3488
|
-
"name": "
|
|
3609
|
+
"name": "foundationAccordionItemTemplate",
|
|
3489
3610
|
"return": {
|
|
3490
3611
|
"type": {
|
|
3491
|
-
"text": "ViewTemplate<
|
|
3612
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
3492
3613
|
}
|
|
3493
3614
|
},
|
|
3494
3615
|
"parameters": [
|
|
@@ -3510,237 +3631,116 @@
|
|
|
3510
3631
|
"exports": [
|
|
3511
3632
|
{
|
|
3512
3633
|
"kind": "js",
|
|
3513
|
-
"name": "
|
|
3634
|
+
"name": "foundationAccordionItemTemplate",
|
|
3514
3635
|
"declaration": {
|
|
3515
|
-
"name": "
|
|
3516
|
-
"module": "src/accordion/accordion.template.ts"
|
|
3636
|
+
"name": "foundationAccordionItemTemplate",
|
|
3637
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
3517
3638
|
}
|
|
3518
3639
|
}
|
|
3519
3640
|
]
|
|
3520
3641
|
},
|
|
3521
3642
|
{
|
|
3522
3643
|
"kind": "javascript-module",
|
|
3523
|
-
"path": "src/accordion/accordion.ts",
|
|
3644
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
3524
3645
|
"declarations": [
|
|
3525
3646
|
{
|
|
3526
3647
|
"kind": "class",
|
|
3527
3648
|
"description": "",
|
|
3528
|
-
"name": "
|
|
3649
|
+
"name": "AccordionItem",
|
|
3529
3650
|
"superclass": {
|
|
3530
|
-
"name": "
|
|
3531
|
-
"package": "@microsoft/fast-
|
|
3651
|
+
"name": "FASTAccordionItem",
|
|
3652
|
+
"package": "@microsoft/fast-components"
|
|
3532
3653
|
},
|
|
3533
|
-
"tagName": "%%prefix%%-accordion",
|
|
3654
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
3534
3655
|
"customElement": true,
|
|
3535
3656
|
"attributes": [
|
|
3536
3657
|
{
|
|
3537
|
-
"name": "
|
|
3538
|
-
"type": {
|
|
3539
|
-
"text": "AccordionExpandMode"
|
|
3540
|
-
},
|
|
3541
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3542
|
-
"fieldName": "expandmode",
|
|
3543
|
-
"inheritedFrom": {
|
|
3544
|
-
"name": "Accordion",
|
|
3545
|
-
"module": "src/accordion/accordion.ts"
|
|
3546
|
-
}
|
|
3547
|
-
}
|
|
3548
|
-
],
|
|
3549
|
-
"members": [
|
|
3550
|
-
{
|
|
3551
|
-
"kind": "field",
|
|
3552
|
-
"name": "expandmode",
|
|
3658
|
+
"name": "heading-level",
|
|
3553
3659
|
"type": {
|
|
3554
|
-
"text": "
|
|
3660
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
3555
3661
|
},
|
|
3556
|
-
"
|
|
3557
|
-
"description": "
|
|
3662
|
+
"default": "2",
|
|
3663
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
3664
|
+
"fieldName": "headinglevel",
|
|
3558
3665
|
"inheritedFrom": {
|
|
3559
|
-
"name": "
|
|
3560
|
-
"module": "src/accordion/accordion.ts"
|
|
3666
|
+
"name": "AccordionItem",
|
|
3667
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3561
3668
|
}
|
|
3562
3669
|
},
|
|
3563
3670
|
{
|
|
3564
|
-
"kind": "field",
|
|
3565
|
-
"name": "activeid",
|
|
3566
3671
|
"type": {
|
|
3567
|
-
"text": "
|
|
3672
|
+
"text": "boolean"
|
|
3568
3673
|
},
|
|
3569
|
-
"
|
|
3674
|
+
"default": "false",
|
|
3675
|
+
"description": "Expands or collapses the item.",
|
|
3676
|
+
"fieldName": "expanded",
|
|
3570
3677
|
"inheritedFrom": {
|
|
3571
|
-
"name": "
|
|
3572
|
-
"module": "src/accordion/accordion.ts"
|
|
3678
|
+
"name": "AccordionItem",
|
|
3679
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3573
3680
|
}
|
|
3574
3681
|
},
|
|
3575
3682
|
{
|
|
3576
|
-
"
|
|
3577
|
-
"name": "activeItemIndex",
|
|
3683
|
+
"name": "id",
|
|
3578
3684
|
"type": {
|
|
3579
|
-
"text": "
|
|
3685
|
+
"text": "string"
|
|
3580
3686
|
},
|
|
3581
|
-
"
|
|
3582
|
-
"
|
|
3687
|
+
"description": "The item ID",
|
|
3688
|
+
"fieldName": "id",
|
|
3583
3689
|
"inheritedFrom": {
|
|
3584
|
-
"name": "
|
|
3585
|
-
"module": "src/accordion/accordion.ts"
|
|
3690
|
+
"name": "AccordionItem",
|
|
3691
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3586
3692
|
}
|
|
3587
|
-
}
|
|
3693
|
+
}
|
|
3694
|
+
],
|
|
3695
|
+
"members": [
|
|
3588
3696
|
{
|
|
3589
3697
|
"kind": "field",
|
|
3590
|
-
"name": "
|
|
3698
|
+
"name": "headinglevel",
|
|
3591
3699
|
"type": {
|
|
3592
|
-
"text": "
|
|
3593
|
-
},
|
|
3594
|
-
"privacy": "private",
|
|
3595
|
-
"inheritedFrom": {
|
|
3596
|
-
"name": "Accordion",
|
|
3597
|
-
"module": "src/accordion/accordion.ts"
|
|
3598
|
-
}
|
|
3599
|
-
},
|
|
3600
|
-
{
|
|
3601
|
-
"kind": "field",
|
|
3602
|
-
"name": "change",
|
|
3603
|
-
"privacy": "private",
|
|
3604
|
-
"inheritedFrom": {
|
|
3605
|
-
"name": "Accordion",
|
|
3606
|
-
"module": "src/accordion/accordion.ts"
|
|
3607
|
-
}
|
|
3608
|
-
},
|
|
3609
|
-
{
|
|
3610
|
-
"kind": "method",
|
|
3611
|
-
"name": "findExpandedItem",
|
|
3612
|
-
"privacy": "private",
|
|
3613
|
-
"return": {
|
|
3614
|
-
"type": {
|
|
3615
|
-
"text": "AccordionItem | null"
|
|
3616
|
-
}
|
|
3700
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
3617
3701
|
},
|
|
3702
|
+
"privacy": "public",
|
|
3703
|
+
"default": "2",
|
|
3704
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
3618
3705
|
"inheritedFrom": {
|
|
3619
|
-
"name": "
|
|
3620
|
-
"module": "src/accordion/accordion.ts"
|
|
3706
|
+
"name": "AccordionItem",
|
|
3707
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3621
3708
|
}
|
|
3622
3709
|
},
|
|
3623
3710
|
{
|
|
3624
3711
|
"kind": "field",
|
|
3625
|
-
"name": "
|
|
3626
|
-
"
|
|
3627
|
-
|
|
3628
|
-
"name": "Accordion",
|
|
3629
|
-
"module": "src/accordion/accordion.ts"
|
|
3630
|
-
}
|
|
3631
|
-
},
|
|
3632
|
-
{
|
|
3633
|
-
"kind": "method",
|
|
3634
|
-
"name": "resetItems",
|
|
3635
|
-
"privacy": "private",
|
|
3636
|
-
"return": {
|
|
3637
|
-
"type": {
|
|
3638
|
-
"text": "void"
|
|
3639
|
-
}
|
|
3712
|
+
"name": "expanded",
|
|
3713
|
+
"type": {
|
|
3714
|
+
"text": "boolean"
|
|
3640
3715
|
},
|
|
3716
|
+
"privacy": "public",
|
|
3717
|
+
"default": "false",
|
|
3718
|
+
"description": "Expands or collapses the item.",
|
|
3641
3719
|
"inheritedFrom": {
|
|
3642
|
-
"name": "
|
|
3643
|
-
"module": "src/accordion/accordion.ts"
|
|
3644
|
-
}
|
|
3645
|
-
},
|
|
3646
|
-
{
|
|
3647
|
-
"kind": "field",
|
|
3648
|
-
"name": "removeItemListeners",
|
|
3649
|
-
"privacy": "private",
|
|
3650
|
-
"inheritedFrom": {
|
|
3651
|
-
"name": "Accordion",
|
|
3652
|
-
"module": "src/accordion/accordion.ts"
|
|
3720
|
+
"name": "AccordionItem",
|
|
3721
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3653
3722
|
}
|
|
3654
3723
|
},
|
|
3655
3724
|
{
|
|
3656
3725
|
"kind": "field",
|
|
3657
|
-
"name": "
|
|
3658
|
-
"
|
|
3659
|
-
|
|
3660
|
-
"name": "Accordion",
|
|
3661
|
-
"module": "src/accordion/accordion.ts"
|
|
3662
|
-
}
|
|
3663
|
-
},
|
|
3664
|
-
{
|
|
3665
|
-
"kind": "method",
|
|
3666
|
-
"name": "getItemIds",
|
|
3667
|
-
"privacy": "private",
|
|
3668
|
-
"return": {
|
|
3669
|
-
"type": {
|
|
3670
|
-
"text": "Array<string | null>"
|
|
3671
|
-
}
|
|
3672
|
-
},
|
|
3673
|
-
"inheritedFrom": {
|
|
3674
|
-
"name": "Accordion",
|
|
3675
|
-
"module": "src/accordion/accordion.ts"
|
|
3676
|
-
}
|
|
3677
|
-
},
|
|
3678
|
-
{
|
|
3679
|
-
"kind": "method",
|
|
3680
|
-
"name": "isSingleExpandMode",
|
|
3681
|
-
"privacy": "private",
|
|
3682
|
-
"return": {
|
|
3683
|
-
"type": {
|
|
3684
|
-
"text": "boolean"
|
|
3685
|
-
}
|
|
3726
|
+
"name": "id",
|
|
3727
|
+
"type": {
|
|
3728
|
+
"text": "string"
|
|
3686
3729
|
},
|
|
3730
|
+
"privacy": "public",
|
|
3731
|
+
"description": "The item ID",
|
|
3687
3732
|
"inheritedFrom": {
|
|
3688
|
-
"name": "
|
|
3689
|
-
"module": "src/accordion/accordion.ts"
|
|
3690
|
-
}
|
|
3691
|
-
},
|
|
3692
|
-
{
|
|
3693
|
-
"kind": "field",
|
|
3694
|
-
"name": "handleItemKeyDown",
|
|
3695
|
-
"privacy": "private",
|
|
3696
|
-
"inheritedFrom": {
|
|
3697
|
-
"name": "Accordion",
|
|
3698
|
-
"module": "src/accordion/accordion.ts"
|
|
3733
|
+
"name": "AccordionItem",
|
|
3734
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3699
3735
|
}
|
|
3700
3736
|
},
|
|
3701
3737
|
{
|
|
3702
3738
|
"kind": "field",
|
|
3703
|
-
"name": "
|
|
3704
|
-
"privacy": "private",
|
|
3705
|
-
"inheritedFrom": {
|
|
3706
|
-
"name": "Accordion",
|
|
3707
|
-
"module": "src/accordion/accordion.ts"
|
|
3708
|
-
}
|
|
3709
|
-
},
|
|
3710
|
-
{
|
|
3711
|
-
"kind": "method",
|
|
3712
|
-
"name": "adjust",
|
|
3713
|
-
"privacy": "private",
|
|
3714
|
-
"return": {
|
|
3715
|
-
"type": {
|
|
3716
|
-
"text": "void"
|
|
3717
|
-
}
|
|
3718
|
-
},
|
|
3719
|
-
"parameters": [
|
|
3720
|
-
{
|
|
3721
|
-
"name": "adjustment",
|
|
3722
|
-
"type": {
|
|
3723
|
-
"text": "number"
|
|
3724
|
-
}
|
|
3725
|
-
}
|
|
3726
|
-
],
|
|
3727
|
-
"inheritedFrom": {
|
|
3728
|
-
"name": "Accordion",
|
|
3729
|
-
"module": "src/accordion/accordion.ts"
|
|
3730
|
-
}
|
|
3731
|
-
},
|
|
3732
|
-
{
|
|
3733
|
-
"kind": "method",
|
|
3734
|
-
"name": "focusItem",
|
|
3739
|
+
"name": "change",
|
|
3735
3740
|
"privacy": "private",
|
|
3736
|
-
"return": {
|
|
3737
|
-
"type": {
|
|
3738
|
-
"text": "void"
|
|
3739
|
-
}
|
|
3740
|
-
},
|
|
3741
3741
|
"inheritedFrom": {
|
|
3742
|
-
"name": "
|
|
3743
|
-
"module": "src/accordion/accordion.ts"
|
|
3742
|
+
"name": "AccordionItem",
|
|
3743
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3744
3744
|
}
|
|
3745
3745
|
},
|
|
3746
3746
|
{
|
|
@@ -3857,18 +3857,18 @@
|
|
|
3857
3857
|
],
|
|
3858
3858
|
"events": [
|
|
3859
3859
|
{
|
|
3860
|
-
"description": "Fires a custom 'change' event when the
|
|
3860
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
3861
3861
|
"name": "change",
|
|
3862
3862
|
"inheritedFrom": {
|
|
3863
|
-
"name": "
|
|
3864
|
-
"module": "src/accordion/accordion.ts"
|
|
3863
|
+
"name": "AccordionItem",
|
|
3864
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3865
3865
|
}
|
|
3866
3866
|
}
|
|
3867
3867
|
]
|
|
3868
3868
|
},
|
|
3869
3869
|
{
|
|
3870
3870
|
"kind": "variable",
|
|
3871
|
-
"name": "
|
|
3871
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
3872
3872
|
"type": {
|
|
3873
3873
|
"text": "ShadowRootInit"
|
|
3874
3874
|
},
|
|
@@ -3876,57 +3876,57 @@
|
|
|
3876
3876
|
},
|
|
3877
3877
|
{
|
|
3878
3878
|
"kind": "variable",
|
|
3879
|
-
"name": "
|
|
3879
|
+
"name": "defaultAccordionItemConfig",
|
|
3880
3880
|
"type": {
|
|
3881
3881
|
"text": "object"
|
|
3882
3882
|
},
|
|
3883
|
-
"default": "{}"
|
|
3883
|
+
"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}"
|
|
3884
3884
|
},
|
|
3885
3885
|
{
|
|
3886
3886
|
"kind": "variable",
|
|
3887
|
-
"name": "
|
|
3888
|
-
"description": "The Foundation Accordion",
|
|
3887
|
+
"name": "foundationAccordionItem",
|
|
3888
|
+
"description": "The Foundation Accordion Item",
|
|
3889
3889
|
"privacy": "public"
|
|
3890
3890
|
}
|
|
3891
3891
|
],
|
|
3892
3892
|
"exports": [
|
|
3893
3893
|
{
|
|
3894
3894
|
"kind": "js",
|
|
3895
|
-
"name": "
|
|
3895
|
+
"name": "AccordionItem",
|
|
3896
3896
|
"declaration": {
|
|
3897
|
-
"name": "
|
|
3898
|
-
"module": "src/accordion/accordion.ts"
|
|
3897
|
+
"name": "AccordionItem",
|
|
3898
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3899
3899
|
}
|
|
3900
3900
|
},
|
|
3901
3901
|
{
|
|
3902
3902
|
"kind": "js",
|
|
3903
|
-
"name": "
|
|
3903
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
3904
3904
|
"declaration": {
|
|
3905
|
-
"name": "
|
|
3906
|
-
"module": "src/accordion/accordion.ts"
|
|
3905
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
3906
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3907
3907
|
}
|
|
3908
3908
|
},
|
|
3909
3909
|
{
|
|
3910
3910
|
"kind": "js",
|
|
3911
|
-
"name": "
|
|
3911
|
+
"name": "defaultAccordionItemConfig",
|
|
3912
3912
|
"declaration": {
|
|
3913
|
-
"name": "
|
|
3914
|
-
"module": "src/accordion/accordion.ts"
|
|
3913
|
+
"name": "defaultAccordionItemConfig",
|
|
3914
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3915
3915
|
}
|
|
3916
3916
|
},
|
|
3917
3917
|
{
|
|
3918
3918
|
"kind": "js",
|
|
3919
|
-
"name": "
|
|
3919
|
+
"name": "foundationAccordionItem",
|
|
3920
3920
|
"declaration": {
|
|
3921
|
-
"name": "
|
|
3922
|
-
"module": "src/accordion/accordion.ts"
|
|
3921
|
+
"name": "foundationAccordionItem",
|
|
3922
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3923
3923
|
}
|
|
3924
3924
|
}
|
|
3925
3925
|
]
|
|
3926
3926
|
},
|
|
3927
3927
|
{
|
|
3928
3928
|
"kind": "javascript-module",
|
|
3929
|
-
"path": "src/accordion/index.ts",
|
|
3929
|
+
"path": "src/accordion-item/index.ts",
|
|
3930
3930
|
"declarations": [],
|
|
3931
3931
|
"exports": [
|
|
3932
3932
|
{
|
|
@@ -3934,7 +3934,7 @@
|
|
|
3934
3934
|
"name": "*",
|
|
3935
3935
|
"declaration": {
|
|
3936
3936
|
"name": "*",
|
|
3937
|
-
"package": "./accordion.template"
|
|
3937
|
+
"package": "./accordion-item.template"
|
|
3938
3938
|
}
|
|
3939
3939
|
},
|
|
3940
3940
|
{
|
|
@@ -3942,7 +3942,7 @@
|
|
|
3942
3942
|
"name": "*",
|
|
3943
3943
|
"declaration": {
|
|
3944
3944
|
"name": "*",
|
|
3945
|
-
"package": "./accordion.styles"
|
|
3945
|
+
"package": "./accordion-item.styles"
|
|
3946
3946
|
}
|
|
3947
3947
|
},
|
|
3948
3948
|
{
|
|
@@ -3950,7 +3950,7 @@
|
|
|
3950
3950
|
"name": "*",
|
|
3951
3951
|
"declaration": {
|
|
3952
3952
|
"name": "*",
|
|
3953
|
-
"package": "./accordion"
|
|
3953
|
+
"package": "./accordion-item"
|
|
3954
3954
|
}
|
|
3955
3955
|
}
|
|
3956
3956
|
]
|
|
@@ -57691,197 +57691,6 @@
|
|
|
57691
57691
|
}
|
|
57692
57692
|
]
|
|
57693
57693
|
},
|
|
57694
|
-
{
|
|
57695
|
-
"kind": "javascript-module",
|
|
57696
|
-
"path": "src/ai-criteria-search/validation/criteria-ir.ts",
|
|
57697
|
-
"declarations": [],
|
|
57698
|
-
"exports": []
|
|
57699
|
-
},
|
|
57700
|
-
{
|
|
57701
|
-
"kind": "javascript-module",
|
|
57702
|
-
"path": "src/ai-criteria-search/validation/operator-map.ts",
|
|
57703
|
-
"declarations": [
|
|
57704
|
-
{
|
|
57705
|
-
"kind": "function",
|
|
57706
|
-
"name": "groupsToCriteria",
|
|
57707
|
-
"return": {
|
|
57708
|
-
"type": {
|
|
57709
|
-
"text": "string"
|
|
57710
|
-
}
|
|
57711
|
-
},
|
|
57712
|
-
"parameters": [
|
|
57713
|
-
{
|
|
57714
|
-
"name": "groups",
|
|
57715
|
-
"type": {
|
|
57716
|
-
"text": "CriteriaGroup[]"
|
|
57717
|
-
}
|
|
57718
|
-
}
|
|
57719
|
-
],
|
|
57720
|
-
"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."
|
|
57721
|
-
},
|
|
57722
|
-
{
|
|
57723
|
-
"kind": "variable",
|
|
57724
|
-
"name": "STRING_OPERATORS",
|
|
57725
|
-
"type": {
|
|
57726
|
-
"text": "CriteriaOperator[]"
|
|
57727
|
-
},
|
|
57728
|
-
"default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
|
|
57729
|
-
},
|
|
57730
|
-
{
|
|
57731
|
-
"kind": "variable",
|
|
57732
|
-
"name": "NUMERIC_OPERATORS",
|
|
57733
|
-
"type": {
|
|
57734
|
-
"text": "CriteriaOperator[]"
|
|
57735
|
-
},
|
|
57736
|
-
"default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
|
|
57737
|
-
},
|
|
57738
|
-
{
|
|
57739
|
-
"kind": "variable",
|
|
57740
|
-
"name": "DATE_OPERATORS",
|
|
57741
|
-
"type": {
|
|
57742
|
-
"text": "CriteriaOperator[]"
|
|
57743
|
-
},
|
|
57744
|
-
"default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
|
|
57745
|
-
},
|
|
57746
|
-
{
|
|
57747
|
-
"kind": "variable",
|
|
57748
|
-
"name": "DATETIME_OPERATORS",
|
|
57749
|
-
"type": {
|
|
57750
|
-
"text": "CriteriaOperator[]"
|
|
57751
|
-
},
|
|
57752
|
-
"default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
|
|
57753
|
-
},
|
|
57754
|
-
{
|
|
57755
|
-
"kind": "variable",
|
|
57756
|
-
"name": "OPERATOR_DISPLAY_LABEL",
|
|
57757
|
-
"type": {
|
|
57758
|
-
"text": "Record<CriteriaOperator, string>"
|
|
57759
|
-
},
|
|
57760
|
-
"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}"
|
|
57761
|
-
}
|
|
57762
|
-
],
|
|
57763
|
-
"exports": [
|
|
57764
|
-
{
|
|
57765
|
-
"kind": "js",
|
|
57766
|
-
"name": "groupsToCriteria",
|
|
57767
|
-
"declaration": {
|
|
57768
|
-
"name": "groupsToCriteria",
|
|
57769
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
57770
|
-
}
|
|
57771
|
-
},
|
|
57772
|
-
{
|
|
57773
|
-
"kind": "js",
|
|
57774
|
-
"name": "STRING_OPERATORS",
|
|
57775
|
-
"declaration": {
|
|
57776
|
-
"name": "STRING_OPERATORS",
|
|
57777
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
57778
|
-
}
|
|
57779
|
-
},
|
|
57780
|
-
{
|
|
57781
|
-
"kind": "js",
|
|
57782
|
-
"name": "NUMERIC_OPERATORS",
|
|
57783
|
-
"declaration": {
|
|
57784
|
-
"name": "NUMERIC_OPERATORS",
|
|
57785
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
57786
|
-
}
|
|
57787
|
-
},
|
|
57788
|
-
{
|
|
57789
|
-
"kind": "js",
|
|
57790
|
-
"name": "DATE_OPERATORS",
|
|
57791
|
-
"declaration": {
|
|
57792
|
-
"name": "DATE_OPERATORS",
|
|
57793
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
57794
|
-
}
|
|
57795
|
-
},
|
|
57796
|
-
{
|
|
57797
|
-
"kind": "js",
|
|
57798
|
-
"name": "DATETIME_OPERATORS",
|
|
57799
|
-
"declaration": {
|
|
57800
|
-
"name": "DATETIME_OPERATORS",
|
|
57801
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
57802
|
-
}
|
|
57803
|
-
},
|
|
57804
|
-
{
|
|
57805
|
-
"kind": "js",
|
|
57806
|
-
"name": "OPERATOR_DISPLAY_LABEL",
|
|
57807
|
-
"declaration": {
|
|
57808
|
-
"name": "OPERATOR_DISPLAY_LABEL",
|
|
57809
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
57810
|
-
}
|
|
57811
|
-
}
|
|
57812
|
-
]
|
|
57813
|
-
},
|
|
57814
|
-
{
|
|
57815
|
-
"kind": "javascript-module",
|
|
57816
|
-
"path": "src/ai-criteria-search/validation/schema-validator.ts",
|
|
57817
|
-
"declarations": [
|
|
57818
|
-
{
|
|
57819
|
-
"kind": "function",
|
|
57820
|
-
"name": "validateClauses",
|
|
57821
|
-
"return": {
|
|
57822
|
-
"type": {
|
|
57823
|
-
"text": "ValidationResult"
|
|
57824
|
-
}
|
|
57825
|
-
},
|
|
57826
|
-
"parameters": [
|
|
57827
|
-
{
|
|
57828
|
-
"name": "clauses",
|
|
57829
|
-
"type": {
|
|
57830
|
-
"text": "CriteriaClause[]"
|
|
57831
|
-
}
|
|
57832
|
-
},
|
|
57833
|
-
{
|
|
57834
|
-
"name": "fieldMetadata",
|
|
57835
|
-
"type": {
|
|
57836
|
-
"text": "MetadataDetail[] | string[]"
|
|
57837
|
-
}
|
|
57838
|
-
}
|
|
57839
|
-
]
|
|
57840
|
-
},
|
|
57841
|
-
{
|
|
57842
|
-
"kind": "function",
|
|
57843
|
-
"name": "validateGroups",
|
|
57844
|
-
"return": {
|
|
57845
|
-
"type": {
|
|
57846
|
-
"text": "GroupsValidationResult"
|
|
57847
|
-
}
|
|
57848
|
-
},
|
|
57849
|
-
"parameters": [
|
|
57850
|
-
{
|
|
57851
|
-
"name": "groups",
|
|
57852
|
-
"type": {
|
|
57853
|
-
"text": "CriteriaGroup[]"
|
|
57854
|
-
}
|
|
57855
|
-
},
|
|
57856
|
-
{
|
|
57857
|
-
"name": "fieldMetadata",
|
|
57858
|
-
"type": {
|
|
57859
|
-
"text": "MetadataDetail[] | string[]"
|
|
57860
|
-
}
|
|
57861
|
-
}
|
|
57862
|
-
],
|
|
57863
|
-
"description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
|
|
57864
|
-
}
|
|
57865
|
-
],
|
|
57866
|
-
"exports": [
|
|
57867
|
-
{
|
|
57868
|
-
"kind": "js",
|
|
57869
|
-
"name": "validateClauses",
|
|
57870
|
-
"declaration": {
|
|
57871
|
-
"name": "validateClauses",
|
|
57872
|
-
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
57873
|
-
}
|
|
57874
|
-
},
|
|
57875
|
-
{
|
|
57876
|
-
"kind": "js",
|
|
57877
|
-
"name": "validateGroups",
|
|
57878
|
-
"declaration": {
|
|
57879
|
-
"name": "validateGroups",
|
|
57880
|
-
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
57881
|
-
}
|
|
57882
|
-
}
|
|
57883
|
-
]
|
|
57884
|
-
},
|
|
57885
57694
|
{
|
|
57886
57695
|
"kind": "javascript-module",
|
|
57887
57696
|
"path": "src/_config/styles/colors.ts",
|
|
@@ -59254,6 +59063,197 @@
|
|
|
59254
59063
|
"declarations": [],
|
|
59255
59064
|
"exports": []
|
|
59256
59065
|
},
|
|
59066
|
+
{
|
|
59067
|
+
"kind": "javascript-module",
|
|
59068
|
+
"path": "src/ai-criteria-search/validation/criteria-ir.ts",
|
|
59069
|
+
"declarations": [],
|
|
59070
|
+
"exports": []
|
|
59071
|
+
},
|
|
59072
|
+
{
|
|
59073
|
+
"kind": "javascript-module",
|
|
59074
|
+
"path": "src/ai-criteria-search/validation/operator-map.ts",
|
|
59075
|
+
"declarations": [
|
|
59076
|
+
{
|
|
59077
|
+
"kind": "function",
|
|
59078
|
+
"name": "groupsToCriteria",
|
|
59079
|
+
"return": {
|
|
59080
|
+
"type": {
|
|
59081
|
+
"text": "string"
|
|
59082
|
+
}
|
|
59083
|
+
},
|
|
59084
|
+
"parameters": [
|
|
59085
|
+
{
|
|
59086
|
+
"name": "groups",
|
|
59087
|
+
"type": {
|
|
59088
|
+
"text": "CriteriaGroup[]"
|
|
59089
|
+
}
|
|
59090
|
+
}
|
|
59091
|
+
],
|
|
59092
|
+
"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."
|
|
59093
|
+
},
|
|
59094
|
+
{
|
|
59095
|
+
"kind": "variable",
|
|
59096
|
+
"name": "STRING_OPERATORS",
|
|
59097
|
+
"type": {
|
|
59098
|
+
"text": "CriteriaOperator[]"
|
|
59099
|
+
},
|
|
59100
|
+
"default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
|
|
59101
|
+
},
|
|
59102
|
+
{
|
|
59103
|
+
"kind": "variable",
|
|
59104
|
+
"name": "NUMERIC_OPERATORS",
|
|
59105
|
+
"type": {
|
|
59106
|
+
"text": "CriteriaOperator[]"
|
|
59107
|
+
},
|
|
59108
|
+
"default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
|
|
59109
|
+
},
|
|
59110
|
+
{
|
|
59111
|
+
"kind": "variable",
|
|
59112
|
+
"name": "DATE_OPERATORS",
|
|
59113
|
+
"type": {
|
|
59114
|
+
"text": "CriteriaOperator[]"
|
|
59115
|
+
},
|
|
59116
|
+
"default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
|
|
59117
|
+
},
|
|
59118
|
+
{
|
|
59119
|
+
"kind": "variable",
|
|
59120
|
+
"name": "DATETIME_OPERATORS",
|
|
59121
|
+
"type": {
|
|
59122
|
+
"text": "CriteriaOperator[]"
|
|
59123
|
+
},
|
|
59124
|
+
"default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
|
|
59125
|
+
},
|
|
59126
|
+
{
|
|
59127
|
+
"kind": "variable",
|
|
59128
|
+
"name": "OPERATOR_DISPLAY_LABEL",
|
|
59129
|
+
"type": {
|
|
59130
|
+
"text": "Record<CriteriaOperator, string>"
|
|
59131
|
+
},
|
|
59132
|
+
"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}"
|
|
59133
|
+
}
|
|
59134
|
+
],
|
|
59135
|
+
"exports": [
|
|
59136
|
+
{
|
|
59137
|
+
"kind": "js",
|
|
59138
|
+
"name": "groupsToCriteria",
|
|
59139
|
+
"declaration": {
|
|
59140
|
+
"name": "groupsToCriteria",
|
|
59141
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
59142
|
+
}
|
|
59143
|
+
},
|
|
59144
|
+
{
|
|
59145
|
+
"kind": "js",
|
|
59146
|
+
"name": "STRING_OPERATORS",
|
|
59147
|
+
"declaration": {
|
|
59148
|
+
"name": "STRING_OPERATORS",
|
|
59149
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
59150
|
+
}
|
|
59151
|
+
},
|
|
59152
|
+
{
|
|
59153
|
+
"kind": "js",
|
|
59154
|
+
"name": "NUMERIC_OPERATORS",
|
|
59155
|
+
"declaration": {
|
|
59156
|
+
"name": "NUMERIC_OPERATORS",
|
|
59157
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
59158
|
+
}
|
|
59159
|
+
},
|
|
59160
|
+
{
|
|
59161
|
+
"kind": "js",
|
|
59162
|
+
"name": "DATE_OPERATORS",
|
|
59163
|
+
"declaration": {
|
|
59164
|
+
"name": "DATE_OPERATORS",
|
|
59165
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
59166
|
+
}
|
|
59167
|
+
},
|
|
59168
|
+
{
|
|
59169
|
+
"kind": "js",
|
|
59170
|
+
"name": "DATETIME_OPERATORS",
|
|
59171
|
+
"declaration": {
|
|
59172
|
+
"name": "DATETIME_OPERATORS",
|
|
59173
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
59174
|
+
}
|
|
59175
|
+
},
|
|
59176
|
+
{
|
|
59177
|
+
"kind": "js",
|
|
59178
|
+
"name": "OPERATOR_DISPLAY_LABEL",
|
|
59179
|
+
"declaration": {
|
|
59180
|
+
"name": "OPERATOR_DISPLAY_LABEL",
|
|
59181
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
59182
|
+
}
|
|
59183
|
+
}
|
|
59184
|
+
]
|
|
59185
|
+
},
|
|
59186
|
+
{
|
|
59187
|
+
"kind": "javascript-module",
|
|
59188
|
+
"path": "src/ai-criteria-search/validation/schema-validator.ts",
|
|
59189
|
+
"declarations": [
|
|
59190
|
+
{
|
|
59191
|
+
"kind": "function",
|
|
59192
|
+
"name": "validateClauses",
|
|
59193
|
+
"return": {
|
|
59194
|
+
"type": {
|
|
59195
|
+
"text": "ValidationResult"
|
|
59196
|
+
}
|
|
59197
|
+
},
|
|
59198
|
+
"parameters": [
|
|
59199
|
+
{
|
|
59200
|
+
"name": "clauses",
|
|
59201
|
+
"type": {
|
|
59202
|
+
"text": "CriteriaClause[]"
|
|
59203
|
+
}
|
|
59204
|
+
},
|
|
59205
|
+
{
|
|
59206
|
+
"name": "fieldMetadata",
|
|
59207
|
+
"type": {
|
|
59208
|
+
"text": "MetadataDetail[] | string[]"
|
|
59209
|
+
}
|
|
59210
|
+
}
|
|
59211
|
+
]
|
|
59212
|
+
},
|
|
59213
|
+
{
|
|
59214
|
+
"kind": "function",
|
|
59215
|
+
"name": "validateGroups",
|
|
59216
|
+
"return": {
|
|
59217
|
+
"type": {
|
|
59218
|
+
"text": "GroupsValidationResult"
|
|
59219
|
+
}
|
|
59220
|
+
},
|
|
59221
|
+
"parameters": [
|
|
59222
|
+
{
|
|
59223
|
+
"name": "groups",
|
|
59224
|
+
"type": {
|
|
59225
|
+
"text": "CriteriaGroup[]"
|
|
59226
|
+
}
|
|
59227
|
+
},
|
|
59228
|
+
{
|
|
59229
|
+
"name": "fieldMetadata",
|
|
59230
|
+
"type": {
|
|
59231
|
+
"text": "MetadataDetail[] | string[]"
|
|
59232
|
+
}
|
|
59233
|
+
}
|
|
59234
|
+
],
|
|
59235
|
+
"description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
|
|
59236
|
+
}
|
|
59237
|
+
],
|
|
59238
|
+
"exports": [
|
|
59239
|
+
{
|
|
59240
|
+
"kind": "js",
|
|
59241
|
+
"name": "validateClauses",
|
|
59242
|
+
"declaration": {
|
|
59243
|
+
"name": "validateClauses",
|
|
59244
|
+
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
59245
|
+
}
|
|
59246
|
+
},
|
|
59247
|
+
{
|
|
59248
|
+
"kind": "js",
|
|
59249
|
+
"name": "validateGroups",
|
|
59250
|
+
"declaration": {
|
|
59251
|
+
"name": "validateGroups",
|
|
59252
|
+
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
59253
|
+
}
|
|
59254
|
+
}
|
|
59255
|
+
]
|
|
59256
|
+
},
|
|
59257
59257
|
{
|
|
59258
59258
|
"kind": "javascript-module",
|
|
59259
59259
|
"path": "src/environment-indicator/utils/configure.ts",
|