@genesislcap/foundation-ui 14.496.1-GENC-1461.4 → 14.496.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 +1525 -1525
- package/dist/dts/react.d.ts +9 -9
- package/dist/react.cjs +6 -6
- package/dist/react.mjs +5 -5
- package/package.json +19 -19
|
@@ -942,66 +942,44 @@
|
|
|
942
942
|
},
|
|
943
943
|
{
|
|
944
944
|
"kind": "javascript-module",
|
|
945
|
-
"path": "src/
|
|
945
|
+
"path": "src/_common/affix-mixin.ts",
|
|
946
946
|
"declarations": [
|
|
947
947
|
{
|
|
948
|
-
"kind": "
|
|
949
|
-
"
|
|
950
|
-
"
|
|
951
|
-
|
|
952
|
-
"text": "ElementStyles"
|
|
953
|
-
}
|
|
954
|
-
},
|
|
955
|
-
"parameters": [
|
|
948
|
+
"kind": "mixin",
|
|
949
|
+
"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.",
|
|
950
|
+
"name": "AffixMixin",
|
|
951
|
+
"members": [
|
|
956
952
|
{
|
|
957
|
-
"
|
|
953
|
+
"kind": "field",
|
|
954
|
+
"name": "prefix",
|
|
958
955
|
"type": {
|
|
959
|
-
"text": "
|
|
960
|
-
}
|
|
956
|
+
"text": "string"
|
|
957
|
+
},
|
|
958
|
+
"description": "Optional non-editable label shown on the left inside the field, before the input."
|
|
961
959
|
},
|
|
962
960
|
{
|
|
963
|
-
"
|
|
961
|
+
"kind": "field",
|
|
962
|
+
"name": "suffix",
|
|
964
963
|
"type": {
|
|
965
|
-
"text": "
|
|
966
|
-
}
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
}
|
|
970
|
-
],
|
|
971
|
-
"exports": [
|
|
972
|
-
{
|
|
973
|
-
"kind": "js",
|
|
974
|
-
"name": "foundationAccordionItemStyles",
|
|
975
|
-
"declaration": {
|
|
976
|
-
"name": "foundationAccordionItemStyles",
|
|
977
|
-
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
978
|
-
}
|
|
979
|
-
}
|
|
980
|
-
]
|
|
981
|
-
},
|
|
982
|
-
{
|
|
983
|
-
"kind": "javascript-module",
|
|
984
|
-
"path": "src/accordion-item/accordion-item.template.ts",
|
|
985
|
-
"declarations": [
|
|
986
|
-
{
|
|
987
|
-
"kind": "function",
|
|
988
|
-
"name": "foundationAccordionItemTemplate",
|
|
989
|
-
"return": {
|
|
990
|
-
"type": {
|
|
991
|
-
"text": "ViewTemplate<AccordionItem>"
|
|
992
|
-
}
|
|
993
|
-
},
|
|
994
|
-
"parameters": [
|
|
964
|
+
"text": "string"
|
|
965
|
+
},
|
|
966
|
+
"description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
|
|
967
|
+
},
|
|
995
968
|
{
|
|
996
|
-
"
|
|
969
|
+
"kind": "field",
|
|
970
|
+
"name": "hideAffixFromScreenReader",
|
|
997
971
|
"type": {
|
|
998
|
-
"text": "
|
|
999
|
-
}
|
|
1000
|
-
|
|
972
|
+
"text": "boolean"
|
|
973
|
+
},
|
|
974
|
+
"default": "false",
|
|
975
|
+
"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."
|
|
976
|
+
}
|
|
977
|
+
],
|
|
978
|
+
"parameters": [
|
|
1001
979
|
{
|
|
1002
|
-
"name": "
|
|
980
|
+
"name": "Base",
|
|
1003
981
|
"type": {
|
|
1004
|
-
"text": "
|
|
982
|
+
"text": "TBase"
|
|
1005
983
|
}
|
|
1006
984
|
}
|
|
1007
985
|
]
|
|
@@ -1010,118 +988,170 @@
|
|
|
1010
988
|
"exports": [
|
|
1011
989
|
{
|
|
1012
990
|
"kind": "js",
|
|
1013
|
-
"name": "
|
|
991
|
+
"name": "AffixMixin",
|
|
1014
992
|
"declaration": {
|
|
1015
|
-
"name": "
|
|
1016
|
-
"module": "src/
|
|
993
|
+
"name": "AffixMixin",
|
|
994
|
+
"module": "src/_common/affix-mixin.ts"
|
|
1017
995
|
}
|
|
1018
996
|
}
|
|
1019
997
|
]
|
|
1020
998
|
},
|
|
1021
999
|
{
|
|
1022
1000
|
"kind": "javascript-module",
|
|
1023
|
-
"path": "src/
|
|
1001
|
+
"path": "src/_common/base-file-component.ts",
|
|
1024
1002
|
"declarations": [
|
|
1025
1003
|
{
|
|
1026
1004
|
"kind": "class",
|
|
1027
|
-
"description": "",
|
|
1028
|
-
"name": "
|
|
1029
|
-
"
|
|
1030
|
-
"name": "FASTAccordionItem",
|
|
1031
|
-
"package": "@microsoft/fast-components"
|
|
1032
|
-
},
|
|
1033
|
-
"tagName": "%%prefix%%-accordion-item",
|
|
1034
|
-
"customElement": true,
|
|
1035
|
-
"attributes": [
|
|
1005
|
+
"description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
|
|
1006
|
+
"name": "BaseFileComponent",
|
|
1007
|
+
"members": [
|
|
1036
1008
|
{
|
|
1037
|
-
"
|
|
1009
|
+
"kind": "field",
|
|
1010
|
+
"name": "fileInput",
|
|
1038
1011
|
"type": {
|
|
1039
|
-
"text": "
|
|
1012
|
+
"text": "HTMLInputElement"
|
|
1040
1013
|
},
|
|
1041
|
-
"
|
|
1042
|
-
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1043
|
-
"fieldName": "headinglevel",
|
|
1044
|
-
"inheritedFrom": {
|
|
1045
|
-
"name": "AccordionItem",
|
|
1046
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1047
|
-
}
|
|
1014
|
+
"privacy": "public"
|
|
1048
1015
|
},
|
|
1049
1016
|
{
|
|
1017
|
+
"kind": "field",
|
|
1018
|
+
"name": "selectedFile",
|
|
1050
1019
|
"type": {
|
|
1051
|
-
"text": "
|
|
1020
|
+
"text": "File | null"
|
|
1052
1021
|
},
|
|
1053
|
-
"
|
|
1054
|
-
"
|
|
1055
|
-
"fieldName": "expanded",
|
|
1056
|
-
"inheritedFrom": {
|
|
1057
|
-
"name": "AccordionItem",
|
|
1058
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1059
|
-
}
|
|
1022
|
+
"privacy": "protected",
|
|
1023
|
+
"default": "null"
|
|
1060
1024
|
},
|
|
1061
1025
|
{
|
|
1062
|
-
"
|
|
1026
|
+
"kind": "field",
|
|
1027
|
+
"name": "label",
|
|
1063
1028
|
"type": {
|
|
1064
1029
|
"text": "string"
|
|
1065
|
-
},
|
|
1066
|
-
"description": "The item ID",
|
|
1067
|
-
"fieldName": "id",
|
|
1068
|
-
"inheritedFrom": {
|
|
1069
|
-
"name": "AccordionItem",
|
|
1070
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1071
1030
|
}
|
|
1072
|
-
}
|
|
1073
|
-
],
|
|
1074
|
-
"members": [
|
|
1031
|
+
},
|
|
1075
1032
|
{
|
|
1076
1033
|
"kind": "field",
|
|
1077
|
-
"name": "
|
|
1034
|
+
"name": "accept",
|
|
1078
1035
|
"type": {
|
|
1079
|
-
"text": "
|
|
1036
|
+
"text": "string"
|
|
1080
1037
|
},
|
|
1081
|
-
"
|
|
1082
|
-
"default": "2",
|
|
1083
|
-
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1084
|
-
"inheritedFrom": {
|
|
1085
|
-
"name": "AccordionItem",
|
|
1086
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1087
|
-
}
|
|
1038
|
+
"default": "''"
|
|
1088
1039
|
},
|
|
1089
1040
|
{
|
|
1090
1041
|
"kind": "field",
|
|
1091
|
-
"name": "
|
|
1042
|
+
"name": "fileSizeLimitBytes",
|
|
1043
|
+
"default": "10_485_760",
|
|
1092
1044
|
"type": {
|
|
1093
|
-
"text": "
|
|
1094
|
-
},
|
|
1095
|
-
"privacy": "public",
|
|
1096
|
-
"default": "false",
|
|
1097
|
-
"description": "Expands or collapses the item.",
|
|
1098
|
-
"inheritedFrom": {
|
|
1099
|
-
"name": "AccordionItem",
|
|
1100
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1045
|
+
"text": "number"
|
|
1101
1046
|
}
|
|
1102
1047
|
},
|
|
1103
1048
|
{
|
|
1104
1049
|
"kind": "field",
|
|
1105
|
-
"name": "
|
|
1050
|
+
"name": "fileName",
|
|
1106
1051
|
"type": {
|
|
1107
1052
|
"text": "string"
|
|
1108
1053
|
},
|
|
1109
|
-
"
|
|
1110
|
-
"description": "The item ID",
|
|
1111
|
-
"inheritedFrom": {
|
|
1112
|
-
"name": "AccordionItem",
|
|
1113
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1114
|
-
}
|
|
1054
|
+
"default": "''"
|
|
1115
1055
|
},
|
|
1116
1056
|
{
|
|
1117
1057
|
"kind": "field",
|
|
1118
|
-
"name": "
|
|
1119
|
-
"
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1058
|
+
"name": "isProcessing",
|
|
1059
|
+
"type": {
|
|
1060
|
+
"text": "boolean"
|
|
1061
|
+
},
|
|
1062
|
+
"default": "false"
|
|
1063
|
+
},
|
|
1064
|
+
{
|
|
1065
|
+
"kind": "method",
|
|
1066
|
+
"name": "handleClick",
|
|
1067
|
+
"privacy": "public",
|
|
1068
|
+
"description": "Opens the file picker dialog\nClears any previous file selection before opening"
|
|
1069
|
+
},
|
|
1070
|
+
{
|
|
1071
|
+
"kind": "method",
|
|
1072
|
+
"name": "onInputChange",
|
|
1073
|
+
"privacy": "public",
|
|
1074
|
+
"parameters": [
|
|
1075
|
+
{
|
|
1076
|
+
"name": "e",
|
|
1077
|
+
"type": {
|
|
1078
|
+
"text": "Event"
|
|
1079
|
+
},
|
|
1080
|
+
"description": "The change event from the file input"
|
|
1081
|
+
}
|
|
1082
|
+
],
|
|
1083
|
+
"description": "Handles file selection from the file input\nValidates file size and sets up for processing"
|
|
1084
|
+
},
|
|
1085
|
+
{
|
|
1086
|
+
"kind": "method",
|
|
1087
|
+
"name": "clearSelection",
|
|
1088
|
+
"privacy": "public",
|
|
1089
|
+
"description": "Clears all file selection and processing state\nResets the component to its initial state"
|
|
1090
|
+
},
|
|
1091
|
+
{
|
|
1092
|
+
"kind": "method",
|
|
1093
|
+
"name": "getSelectedFile",
|
|
1094
|
+
"privacy": "public",
|
|
1095
|
+
"description": "Gets the currently selected file object",
|
|
1096
|
+
"return": {
|
|
1097
|
+
"type": {
|
|
1098
|
+
"text": ""
|
|
1099
|
+
}
|
|
1123
1100
|
}
|
|
1124
1101
|
},
|
|
1102
|
+
{
|
|
1103
|
+
"kind": "method",
|
|
1104
|
+
"name": "showError",
|
|
1105
|
+
"privacy": "protected",
|
|
1106
|
+
"parameters": [
|
|
1107
|
+
{
|
|
1108
|
+
"name": "title",
|
|
1109
|
+
"type": {
|
|
1110
|
+
"text": "string"
|
|
1111
|
+
},
|
|
1112
|
+
"description": "The error title"
|
|
1113
|
+
},
|
|
1114
|
+
{
|
|
1115
|
+
"name": "message",
|
|
1116
|
+
"type": {
|
|
1117
|
+
"text": "string"
|
|
1118
|
+
},
|
|
1119
|
+
"description": "The error message"
|
|
1120
|
+
}
|
|
1121
|
+
],
|
|
1122
|
+
"description": "Shows an error notification using the unified error handling system"
|
|
1123
|
+
},
|
|
1124
|
+
{
|
|
1125
|
+
"kind": "method",
|
|
1126
|
+
"name": "onFileSelected",
|
|
1127
|
+
"privacy": "protected",
|
|
1128
|
+
"return": {
|
|
1129
|
+
"type": {
|
|
1130
|
+
"text": "void"
|
|
1131
|
+
}
|
|
1132
|
+
},
|
|
1133
|
+
"parameters": [
|
|
1134
|
+
{
|
|
1135
|
+
"name": "files",
|
|
1136
|
+
"type": {
|
|
1137
|
+
"text": "File[]"
|
|
1138
|
+
},
|
|
1139
|
+
"description": "The selected file"
|
|
1140
|
+
}
|
|
1141
|
+
],
|
|
1142
|
+
"description": "Abstract method called when a file is selected"
|
|
1143
|
+
},
|
|
1144
|
+
{
|
|
1145
|
+
"kind": "method",
|
|
1146
|
+
"name": "onFileCleared",
|
|
1147
|
+
"privacy": "protected",
|
|
1148
|
+
"return": {
|
|
1149
|
+
"type": {
|
|
1150
|
+
"text": "void"
|
|
1151
|
+
}
|
|
1152
|
+
},
|
|
1153
|
+
"description": "Abstract method called when file selection is cleared"
|
|
1154
|
+
},
|
|
1125
1155
|
{
|
|
1126
1156
|
"kind": "field",
|
|
1127
1157
|
"name": "_presentation",
|
|
@@ -1236,76 +1266,110 @@
|
|
|
1236
1266
|
],
|
|
1237
1267
|
"events": [
|
|
1238
1268
|
{
|
|
1239
|
-
"description": "
|
|
1240
|
-
"name": "
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1269
|
+
"description": "Fired when file size validation fails. detail: `Error`",
|
|
1270
|
+
"name": "error"
|
|
1271
|
+
},
|
|
1272
|
+
{
|
|
1273
|
+
"description": "Fired when selection is cleared",
|
|
1274
|
+
"name": "clear"
|
|
1245
1275
|
}
|
|
1246
|
-
]
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1276
|
+
],
|
|
1277
|
+
"attributes": [
|
|
1278
|
+
{
|
|
1279
|
+
"name": "label",
|
|
1280
|
+
"type": {
|
|
1281
|
+
"text": "string"
|
|
1282
|
+
},
|
|
1283
|
+
"fieldName": "label"
|
|
1284
|
+
},
|
|
1285
|
+
{
|
|
1286
|
+
"name": "accept",
|
|
1287
|
+
"type": {
|
|
1288
|
+
"text": "string"
|
|
1289
|
+
},
|
|
1290
|
+
"default": "''",
|
|
1291
|
+
"fieldName": "accept"
|
|
1292
|
+
},
|
|
1293
|
+
{
|
|
1294
|
+
"name": "file-size-limit-bytes",
|
|
1295
|
+
"default": "DEFAULT_FILE_SIZE_LIMIT",
|
|
1296
|
+
"resolveInitializer": {
|
|
1297
|
+
"module": "src/_common/base-file-component.ts"
|
|
1298
|
+
},
|
|
1299
|
+
"fieldName": "fileSizeLimitBytes"
|
|
1300
|
+
}
|
|
1301
|
+
],
|
|
1302
|
+
"superclass": {
|
|
1303
|
+
"name": "FoundationElement",
|
|
1304
|
+
"package": "@microsoft/fast-foundation"
|
|
1305
|
+
}
|
|
1269
1306
|
}
|
|
1270
1307
|
],
|
|
1271
1308
|
"exports": [
|
|
1272
1309
|
{
|
|
1273
1310
|
"kind": "js",
|
|
1274
|
-
"name": "
|
|
1311
|
+
"name": "BaseFileComponent",
|
|
1275
1312
|
"declaration": {
|
|
1276
|
-
"name": "
|
|
1277
|
-
"module": "src/
|
|
1313
|
+
"name": "BaseFileComponent",
|
|
1314
|
+
"module": "src/_common/base-file-component.ts"
|
|
1278
1315
|
}
|
|
1279
|
-
}
|
|
1316
|
+
}
|
|
1317
|
+
]
|
|
1318
|
+
},
|
|
1319
|
+
{
|
|
1320
|
+
"kind": "javascript-module",
|
|
1321
|
+
"path": "src/_common/field-styles.ts",
|
|
1322
|
+
"declarations": [
|
|
1280
1323
|
{
|
|
1281
|
-
"kind": "
|
|
1282
|
-
"name": "
|
|
1283
|
-
"
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
},
|
|
1324
|
+
"kind": "variable",
|
|
1325
|
+
"name": "sharedFieldStyles",
|
|
1326
|
+
"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`"
|
|
1327
|
+
}
|
|
1328
|
+
],
|
|
1329
|
+
"exports": [
|
|
1288
1330
|
{
|
|
1289
1331
|
"kind": "js",
|
|
1290
|
-
"name": "
|
|
1332
|
+
"name": "sharedFieldStyles",
|
|
1291
1333
|
"declaration": {
|
|
1292
|
-
"name": "
|
|
1293
|
-
"module": "src/
|
|
1334
|
+
"name": "sharedFieldStyles",
|
|
1335
|
+
"module": "src/_common/field-styles.ts"
|
|
1294
1336
|
}
|
|
1295
|
-
}
|
|
1337
|
+
}
|
|
1338
|
+
]
|
|
1339
|
+
},
|
|
1340
|
+
{
|
|
1341
|
+
"kind": "javascript-module",
|
|
1342
|
+
"path": "src/_common/icons.ts",
|
|
1343
|
+
"declarations": [
|
|
1344
|
+
{
|
|
1345
|
+
"kind": "function",
|
|
1346
|
+
"name": "closeIcon",
|
|
1347
|
+
"parameters": [
|
|
1348
|
+
{
|
|
1349
|
+
"name": "slot",
|
|
1350
|
+
"default": "'start'"
|
|
1351
|
+
},
|
|
1352
|
+
{
|
|
1353
|
+
"name": "fill",
|
|
1354
|
+
"default": "'#879ba6'"
|
|
1355
|
+
}
|
|
1356
|
+
]
|
|
1357
|
+
}
|
|
1358
|
+
],
|
|
1359
|
+
"exports": [
|
|
1296
1360
|
{
|
|
1297
1361
|
"kind": "js",
|
|
1298
|
-
"name": "
|
|
1362
|
+
"name": "closeIcon",
|
|
1299
1363
|
"declaration": {
|
|
1300
|
-
"name": "
|
|
1301
|
-
"module": "src/
|
|
1364
|
+
"name": "closeIcon",
|
|
1365
|
+
"module": "src/_common/icons.ts"
|
|
1302
1366
|
}
|
|
1303
1367
|
}
|
|
1304
1368
|
]
|
|
1305
1369
|
},
|
|
1306
1370
|
{
|
|
1307
1371
|
"kind": "javascript-module",
|
|
1308
|
-
"path": "src/
|
|
1372
|
+
"path": "src/_common/index.ts",
|
|
1309
1373
|
"declarations": [],
|
|
1310
1374
|
"exports": [
|
|
1311
1375
|
{
|
|
@@ -1313,7 +1377,7 @@
|
|
|
1313
1377
|
"name": "*",
|
|
1314
1378
|
"declaration": {
|
|
1315
1379
|
"name": "*",
|
|
1316
|
-
"package": "./
|
|
1380
|
+
"package": "./affix-mixin"
|
|
1317
1381
|
}
|
|
1318
1382
|
},
|
|
1319
1383
|
{
|
|
@@ -1321,7 +1385,7 @@
|
|
|
1321
1385
|
"name": "*",
|
|
1322
1386
|
"declaration": {
|
|
1323
1387
|
"name": "*",
|
|
1324
|
-
"package": "./
|
|
1388
|
+
"package": "./base-file-component"
|
|
1325
1389
|
}
|
|
1326
1390
|
},
|
|
1327
1391
|
{
|
|
@@ -1329,18 +1393,26 @@
|
|
|
1329
1393
|
"name": "*",
|
|
1330
1394
|
"declaration": {
|
|
1331
1395
|
"name": "*",
|
|
1332
|
-
"package": "./
|
|
1396
|
+
"package": "./field-styles"
|
|
1397
|
+
}
|
|
1398
|
+
},
|
|
1399
|
+
{
|
|
1400
|
+
"kind": "js",
|
|
1401
|
+
"name": "*",
|
|
1402
|
+
"declaration": {
|
|
1403
|
+
"name": "*",
|
|
1404
|
+
"package": "./icons"
|
|
1333
1405
|
}
|
|
1334
1406
|
}
|
|
1335
1407
|
]
|
|
1336
1408
|
},
|
|
1337
1409
|
{
|
|
1338
1410
|
"kind": "javascript-module",
|
|
1339
|
-
"path": "src/
|
|
1411
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
1340
1412
|
"declarations": [
|
|
1341
1413
|
{
|
|
1342
1414
|
"kind": "function",
|
|
1343
|
-
"name": "
|
|
1415
|
+
"name": "foundationAccordionStyles",
|
|
1344
1416
|
"return": {
|
|
1345
1417
|
"type": {
|
|
1346
1418
|
"text": "ElementStyles"
|
|
@@ -1360,13 +1432,29 @@
|
|
|
1360
1432
|
}
|
|
1361
1433
|
}
|
|
1362
1434
|
]
|
|
1363
|
-
}
|
|
1435
|
+
}
|
|
1436
|
+
],
|
|
1437
|
+
"exports": [
|
|
1438
|
+
{
|
|
1439
|
+
"kind": "js",
|
|
1440
|
+
"name": "foundationAccordionStyles",
|
|
1441
|
+
"declaration": {
|
|
1442
|
+
"name": "foundationAccordionStyles",
|
|
1443
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
1444
|
+
}
|
|
1445
|
+
}
|
|
1446
|
+
]
|
|
1447
|
+
},
|
|
1448
|
+
{
|
|
1449
|
+
"kind": "javascript-module",
|
|
1450
|
+
"path": "src/accordion/accordion.template.ts",
|
|
1451
|
+
"declarations": [
|
|
1364
1452
|
{
|
|
1365
1453
|
"kind": "function",
|
|
1366
|
-
"name": "
|
|
1454
|
+
"name": "foundationAccordionTemplate",
|
|
1367
1455
|
"return": {
|
|
1368
1456
|
"type": {
|
|
1369
|
-
"text": "
|
|
1457
|
+
"text": "ViewTemplate<Accordion>"
|
|
1370
1458
|
}
|
|
1371
1459
|
},
|
|
1372
1460
|
"parameters": [
|
|
@@ -1388,269 +1476,238 @@
|
|
|
1388
1476
|
"exports": [
|
|
1389
1477
|
{
|
|
1390
1478
|
"kind": "js",
|
|
1391
|
-
"name": "
|
|
1392
|
-
"declaration": {
|
|
1393
|
-
"name": "actionsMenuBaseStyles",
|
|
1394
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1395
|
-
}
|
|
1396
|
-
},
|
|
1397
|
-
{
|
|
1398
|
-
"kind": "js",
|
|
1399
|
-
"name": "foundationActionsMenuStyles",
|
|
1479
|
+
"name": "foundationAccordionTemplate",
|
|
1400
1480
|
"declaration": {
|
|
1401
|
-
"name": "
|
|
1402
|
-
"module": "src/
|
|
1481
|
+
"name": "foundationAccordionTemplate",
|
|
1482
|
+
"module": "src/accordion/accordion.template.ts"
|
|
1403
1483
|
}
|
|
1404
1484
|
}
|
|
1405
1485
|
]
|
|
1406
1486
|
},
|
|
1407
1487
|
{
|
|
1408
1488
|
"kind": "javascript-module",
|
|
1409
|
-
"path": "src/
|
|
1489
|
+
"path": "src/accordion/accordion.ts",
|
|
1410
1490
|
"declarations": [
|
|
1411
1491
|
{
|
|
1412
|
-
"kind": "
|
|
1413
|
-
"
|
|
1414
|
-
"
|
|
1492
|
+
"kind": "class",
|
|
1493
|
+
"description": "",
|
|
1494
|
+
"name": "Accordion",
|
|
1495
|
+
"superclass": {
|
|
1496
|
+
"name": "FASTAccordion",
|
|
1497
|
+
"package": "@microsoft/fast-foundation"
|
|
1498
|
+
},
|
|
1499
|
+
"tagName": "%%prefix%%-accordion",
|
|
1500
|
+
"customElement": true,
|
|
1501
|
+
"attributes": [
|
|
1415
1502
|
{
|
|
1416
|
-
"name": "
|
|
1503
|
+
"name": "expand-mode",
|
|
1417
1504
|
"type": {
|
|
1418
|
-
"text": "
|
|
1505
|
+
"text": "AccordionExpandMode"
|
|
1506
|
+
},
|
|
1507
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1508
|
+
"fieldName": "expandmode",
|
|
1509
|
+
"inheritedFrom": {
|
|
1510
|
+
"name": "Accordion",
|
|
1511
|
+
"module": "src/accordion/accordion.ts"
|
|
1419
1512
|
}
|
|
1420
1513
|
}
|
|
1421
|
-
]
|
|
1422
|
-
|
|
1423
|
-
{
|
|
1424
|
-
"kind": "function",
|
|
1425
|
-
"name": "singleOptionTemplate",
|
|
1426
|
-
"parameters": [
|
|
1514
|
+
],
|
|
1515
|
+
"members": [
|
|
1427
1516
|
{
|
|
1428
|
-
"
|
|
1517
|
+
"kind": "field",
|
|
1518
|
+
"name": "expandmode",
|
|
1429
1519
|
"type": {
|
|
1430
|
-
"text": "
|
|
1431
|
-
}
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
"name": "foundationActionsMenuTemplate",
|
|
1438
|
-
"type": {
|
|
1439
|
-
"text": "ViewTemplate<ActionsMenu>"
|
|
1440
|
-
},
|
|
1441
|
-
"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`"
|
|
1442
|
-
}
|
|
1443
|
-
],
|
|
1444
|
-
"exports": [
|
|
1445
|
-
{
|
|
1446
|
-
"kind": "js",
|
|
1447
|
-
"name": "menuTemplate",
|
|
1448
|
-
"declaration": {
|
|
1449
|
-
"name": "menuTemplate",
|
|
1450
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1451
|
-
}
|
|
1452
|
-
},
|
|
1453
|
-
{
|
|
1454
|
-
"kind": "js",
|
|
1455
|
-
"name": "singleOptionTemplate",
|
|
1456
|
-
"declaration": {
|
|
1457
|
-
"name": "singleOptionTemplate",
|
|
1458
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1459
|
-
}
|
|
1460
|
-
},
|
|
1461
|
-
{
|
|
1462
|
-
"kind": "js",
|
|
1463
|
-
"name": "foundationActionsMenuTemplate",
|
|
1464
|
-
"declaration": {
|
|
1465
|
-
"name": "foundationActionsMenuTemplate",
|
|
1466
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1467
|
-
}
|
|
1468
|
-
}
|
|
1469
|
-
]
|
|
1470
|
-
},
|
|
1471
|
-
{
|
|
1472
|
-
"kind": "javascript-module",
|
|
1473
|
-
"path": "src/actions-menu/actions-menu.ts",
|
|
1474
|
-
"declarations": [
|
|
1475
|
-
{
|
|
1476
|
-
"kind": "class",
|
|
1477
|
-
"description": "",
|
|
1478
|
-
"name": "ActionsMenu",
|
|
1479
|
-
"members": [
|
|
1480
|
-
{
|
|
1481
|
-
"kind": "field",
|
|
1482
|
-
"name": "actions",
|
|
1483
|
-
"type": {
|
|
1484
|
-
"text": "ActionMenuItem[]"
|
|
1520
|
+
"text": "AccordionExpandMode"
|
|
1521
|
+
},
|
|
1522
|
+
"privacy": "public",
|
|
1523
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1524
|
+
"inheritedFrom": {
|
|
1525
|
+
"name": "Accordion",
|
|
1526
|
+
"module": "src/accordion/accordion.ts"
|
|
1485
1527
|
}
|
|
1486
1528
|
},
|
|
1487
1529
|
{
|
|
1488
1530
|
"kind": "field",
|
|
1489
|
-
"name": "
|
|
1531
|
+
"name": "activeid",
|
|
1490
1532
|
"type": {
|
|
1491
|
-
"text": "
|
|
1533
|
+
"text": "string | null"
|
|
1492
1534
|
},
|
|
1493
|
-
"
|
|
1535
|
+
"privacy": "private",
|
|
1536
|
+
"inheritedFrom": {
|
|
1537
|
+
"name": "Accordion",
|
|
1538
|
+
"module": "src/accordion/accordion.ts"
|
|
1539
|
+
}
|
|
1494
1540
|
},
|
|
1495
1541
|
{
|
|
1496
1542
|
"kind": "field",
|
|
1497
|
-
"name": "
|
|
1543
|
+
"name": "activeItemIndex",
|
|
1498
1544
|
"type": {
|
|
1499
|
-
"text": "
|
|
1545
|
+
"text": "number"
|
|
1500
1546
|
},
|
|
1501
|
-
"
|
|
1547
|
+
"privacy": "private",
|
|
1548
|
+
"default": "0",
|
|
1549
|
+
"inheritedFrom": {
|
|
1550
|
+
"name": "Accordion",
|
|
1551
|
+
"module": "src/accordion/accordion.ts"
|
|
1552
|
+
}
|
|
1502
1553
|
},
|
|
1503
1554
|
{
|
|
1504
1555
|
"kind": "field",
|
|
1505
|
-
"name": "
|
|
1556
|
+
"name": "accordionIds",
|
|
1506
1557
|
"type": {
|
|
1507
|
-
"text": "
|
|
1558
|
+
"text": "Array<string | null>"
|
|
1508
1559
|
},
|
|
1509
|
-
"
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
"name": "classNames",
|
|
1514
|
-
"type": {
|
|
1515
|
-
"text": "string"
|
|
1560
|
+
"privacy": "private",
|
|
1561
|
+
"inheritedFrom": {
|
|
1562
|
+
"name": "Accordion",
|
|
1563
|
+
"module": "src/accordion/accordion.ts"
|
|
1516
1564
|
}
|
|
1517
1565
|
},
|
|
1518
1566
|
{
|
|
1519
1567
|
"kind": "field",
|
|
1520
|
-
"name": "
|
|
1521
|
-
"
|
|
1522
|
-
|
|
1568
|
+
"name": "change",
|
|
1569
|
+
"privacy": "private",
|
|
1570
|
+
"inheritedFrom": {
|
|
1571
|
+
"name": "Accordion",
|
|
1572
|
+
"module": "src/accordion/accordion.ts"
|
|
1523
1573
|
}
|
|
1524
1574
|
},
|
|
1525
1575
|
{
|
|
1526
|
-
"kind": "
|
|
1527
|
-
"name": "
|
|
1528
|
-
"
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
{
|
|
1534
|
-
"kind": "field",
|
|
1535
|
-
"name": "open",
|
|
1536
|
-
"type": {
|
|
1537
|
-
"text": "boolean"
|
|
1576
|
+
"kind": "method",
|
|
1577
|
+
"name": "findExpandedItem",
|
|
1578
|
+
"privacy": "private",
|
|
1579
|
+
"return": {
|
|
1580
|
+
"type": {
|
|
1581
|
+
"text": "AccordionItem | null"
|
|
1582
|
+
}
|
|
1538
1583
|
},
|
|
1539
|
-
"
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
"kind": "field",
|
|
1543
|
-
"name": "buttonAppearance",
|
|
1544
|
-
"type": {
|
|
1545
|
-
"text": "string"
|
|
1584
|
+
"inheritedFrom": {
|
|
1585
|
+
"name": "Accordion",
|
|
1586
|
+
"module": "src/accordion/accordion.ts"
|
|
1546
1587
|
}
|
|
1547
1588
|
},
|
|
1548
1589
|
{
|
|
1549
1590
|
"kind": "field",
|
|
1550
|
-
"name": "
|
|
1551
|
-
"
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1591
|
+
"name": "setItems",
|
|
1592
|
+
"privacy": "private",
|
|
1593
|
+
"inheritedFrom": {
|
|
1594
|
+
"name": "Accordion",
|
|
1595
|
+
"module": "src/accordion/accordion.ts"
|
|
1596
|
+
}
|
|
1555
1597
|
},
|
|
1556
1598
|
{
|
|
1557
|
-
"kind": "
|
|
1558
|
-
"name": "
|
|
1559
|
-
"
|
|
1560
|
-
|
|
1599
|
+
"kind": "method",
|
|
1600
|
+
"name": "resetItems",
|
|
1601
|
+
"privacy": "private",
|
|
1602
|
+
"return": {
|
|
1603
|
+
"type": {
|
|
1604
|
+
"text": "void"
|
|
1605
|
+
}
|
|
1561
1606
|
},
|
|
1562
|
-
"
|
|
1607
|
+
"inheritedFrom": {
|
|
1608
|
+
"name": "Accordion",
|
|
1609
|
+
"module": "src/accordion/accordion.ts"
|
|
1610
|
+
}
|
|
1563
1611
|
},
|
|
1564
1612
|
{
|
|
1565
1613
|
"kind": "field",
|
|
1566
|
-
"name": "
|
|
1567
|
-
"
|
|
1568
|
-
|
|
1614
|
+
"name": "removeItemListeners",
|
|
1615
|
+
"privacy": "private",
|
|
1616
|
+
"inheritedFrom": {
|
|
1617
|
+
"name": "Accordion",
|
|
1618
|
+
"module": "src/accordion/accordion.ts"
|
|
1569
1619
|
}
|
|
1570
1620
|
},
|
|
1571
1621
|
{
|
|
1572
1622
|
"kind": "field",
|
|
1573
|
-
"name": "
|
|
1574
|
-
"
|
|
1575
|
-
|
|
1623
|
+
"name": "activeItemChange",
|
|
1624
|
+
"privacy": "private",
|
|
1625
|
+
"inheritedFrom": {
|
|
1626
|
+
"name": "Accordion",
|
|
1627
|
+
"module": "src/accordion/accordion.ts"
|
|
1576
1628
|
}
|
|
1577
1629
|
},
|
|
1578
1630
|
{
|
|
1579
1631
|
"kind": "method",
|
|
1580
|
-
"name": "
|
|
1581
|
-
"privacy": "
|
|
1582
|
-
"
|
|
1583
|
-
{
|
|
1584
|
-
"
|
|
1585
|
-
"type": {
|
|
1586
|
-
"text": "any"
|
|
1587
|
-
}
|
|
1588
|
-
},
|
|
1589
|
-
{
|
|
1590
|
-
"name": "newValue",
|
|
1591
|
-
"type": {
|
|
1592
|
-
"text": "any"
|
|
1593
|
-
}
|
|
1632
|
+
"name": "getItemIds",
|
|
1633
|
+
"privacy": "private",
|
|
1634
|
+
"return": {
|
|
1635
|
+
"type": {
|
|
1636
|
+
"text": "Array<string | null>"
|
|
1594
1637
|
}
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
"privacy": "protected"
|
|
1601
|
-
},
|
|
1602
|
-
{
|
|
1603
|
-
"kind": "method",
|
|
1604
|
-
"name": "toggleActionsMenuVisibility"
|
|
1638
|
+
},
|
|
1639
|
+
"inheritedFrom": {
|
|
1640
|
+
"name": "Accordion",
|
|
1641
|
+
"module": "src/accordion/accordion.ts"
|
|
1642
|
+
}
|
|
1605
1643
|
},
|
|
1606
1644
|
{
|
|
1607
1645
|
"kind": "method",
|
|
1608
|
-
"name": "
|
|
1609
|
-
"
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
"
|
|
1613
|
-
"text": "(rowData) => void | any"
|
|
1614
|
-
}
|
|
1646
|
+
"name": "isSingleExpandMode",
|
|
1647
|
+
"privacy": "private",
|
|
1648
|
+
"return": {
|
|
1649
|
+
"type": {
|
|
1650
|
+
"text": "boolean"
|
|
1615
1651
|
}
|
|
1616
|
-
|
|
1652
|
+
},
|
|
1653
|
+
"inheritedFrom": {
|
|
1654
|
+
"name": "Accordion",
|
|
1655
|
+
"module": "src/accordion/accordion.ts"
|
|
1656
|
+
}
|
|
1617
1657
|
},
|
|
1618
1658
|
{
|
|
1619
1659
|
"kind": "field",
|
|
1620
|
-
"name": "
|
|
1621
|
-
"
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1660
|
+
"name": "handleItemKeyDown",
|
|
1661
|
+
"privacy": "private",
|
|
1662
|
+
"inheritedFrom": {
|
|
1663
|
+
"name": "Accordion",
|
|
1664
|
+
"module": "src/accordion/accordion.ts"
|
|
1665
|
+
}
|
|
1625
1666
|
},
|
|
1626
1667
|
{
|
|
1627
1668
|
"kind": "field",
|
|
1628
|
-
"name": "
|
|
1629
|
-
"
|
|
1669
|
+
"name": "handleItemFocus",
|
|
1670
|
+
"privacy": "private",
|
|
1671
|
+
"inheritedFrom": {
|
|
1672
|
+
"name": "Accordion",
|
|
1673
|
+
"module": "src/accordion/accordion.ts"
|
|
1674
|
+
}
|
|
1630
1675
|
},
|
|
1631
1676
|
{
|
|
1632
1677
|
"kind": "method",
|
|
1633
|
-
"name": "
|
|
1678
|
+
"name": "adjust",
|
|
1679
|
+
"privacy": "private",
|
|
1680
|
+
"return": {
|
|
1681
|
+
"type": {
|
|
1682
|
+
"text": "void"
|
|
1683
|
+
}
|
|
1684
|
+
},
|
|
1634
1685
|
"parameters": [
|
|
1635
1686
|
{
|
|
1636
|
-
"name": "
|
|
1687
|
+
"name": "adjustment",
|
|
1637
1688
|
"type": {
|
|
1638
|
-
"text": "
|
|
1689
|
+
"text": "number"
|
|
1639
1690
|
}
|
|
1640
1691
|
}
|
|
1641
|
-
]
|
|
1692
|
+
],
|
|
1693
|
+
"inheritedFrom": {
|
|
1694
|
+
"name": "Accordion",
|
|
1695
|
+
"module": "src/accordion/accordion.ts"
|
|
1696
|
+
}
|
|
1642
1697
|
},
|
|
1643
1698
|
{
|
|
1644
1699
|
"kind": "method",
|
|
1645
|
-
"name": "
|
|
1646
|
-
"
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
"
|
|
1650
|
-
"text": "string"
|
|
1651
|
-
}
|
|
1700
|
+
"name": "focusItem",
|
|
1701
|
+
"privacy": "private",
|
|
1702
|
+
"return": {
|
|
1703
|
+
"type": {
|
|
1704
|
+
"text": "void"
|
|
1652
1705
|
}
|
|
1653
|
-
|
|
1706
|
+
},
|
|
1707
|
+
"inheritedFrom": {
|
|
1708
|
+
"name": "Accordion",
|
|
1709
|
+
"module": "src/accordion/accordion.ts"
|
|
1710
|
+
}
|
|
1654
1711
|
},
|
|
1655
1712
|
{
|
|
1656
1713
|
"kind": "field",
|
|
@@ -1764,107 +1821,78 @@
|
|
|
1764
1821
|
}
|
|
1765
1822
|
}
|
|
1766
1823
|
],
|
|
1767
|
-
"
|
|
1768
|
-
{
|
|
1769
|
-
"name": "is-vertical",
|
|
1770
|
-
"type": {
|
|
1771
|
-
"text": "boolean"
|
|
1772
|
-
},
|
|
1773
|
-
"default": "false",
|
|
1774
|
-
"fieldName": "isVertical"
|
|
1775
|
-
},
|
|
1776
|
-
{
|
|
1777
|
-
"name": "add-default-actions",
|
|
1778
|
-
"type": {
|
|
1779
|
-
"text": "boolean"
|
|
1780
|
-
},
|
|
1781
|
-
"default": "true",
|
|
1782
|
-
"fieldName": "addDefaultActions"
|
|
1783
|
-
},
|
|
1784
|
-
{
|
|
1785
|
-
"name": "auto-close-on-action",
|
|
1786
|
-
"type": {
|
|
1787
|
-
"text": "boolean"
|
|
1788
|
-
},
|
|
1789
|
-
"default": "true",
|
|
1790
|
-
"fieldName": "autoCloseOnAction"
|
|
1791
|
-
},
|
|
1792
|
-
{
|
|
1793
|
-
"name": "name",
|
|
1794
|
-
"type": {
|
|
1795
|
-
"text": "string"
|
|
1796
|
-
},
|
|
1797
|
-
"default": "'Actions'",
|
|
1798
|
-
"fieldName": "name"
|
|
1799
|
-
},
|
|
1800
|
-
{
|
|
1801
|
-
"name": "open",
|
|
1802
|
-
"type": {
|
|
1803
|
-
"text": "boolean"
|
|
1804
|
-
},
|
|
1805
|
-
"default": "false",
|
|
1806
|
-
"fieldName": "open"
|
|
1807
|
-
},
|
|
1808
|
-
{
|
|
1809
|
-
"name": "buttonAppearance",
|
|
1810
|
-
"type": {
|
|
1811
|
-
"text": "string"
|
|
1812
|
-
},
|
|
1813
|
-
"fieldName": "buttonAppearance"
|
|
1814
|
-
},
|
|
1815
|
-
{
|
|
1816
|
-
"name": "hide-disabled",
|
|
1817
|
-
"type": {
|
|
1818
|
-
"text": "boolean"
|
|
1819
|
-
},
|
|
1820
|
-
"default": "false",
|
|
1821
|
-
"fieldName": "hideDisabled"
|
|
1822
|
-
},
|
|
1824
|
+
"events": [
|
|
1823
1825
|
{
|
|
1824
|
-
"
|
|
1825
|
-
"
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1826
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
1827
|
+
"name": "change",
|
|
1828
|
+
"inheritedFrom": {
|
|
1829
|
+
"name": "Accordion",
|
|
1830
|
+
"module": "src/accordion/accordion.ts"
|
|
1831
|
+
}
|
|
1830
1832
|
}
|
|
1831
|
-
]
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1833
|
+
]
|
|
1834
|
+
},
|
|
1835
|
+
{
|
|
1836
|
+
"kind": "variable",
|
|
1837
|
+
"name": "foundationAccordionShadowOptions",
|
|
1838
|
+
"type": {
|
|
1839
|
+
"text": "ShadowRootInit"
|
|
1835
1840
|
},
|
|
1836
|
-
"
|
|
1837
|
-
"customElement": true
|
|
1841
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
1838
1842
|
},
|
|
1839
1843
|
{
|
|
1840
1844
|
"kind": "variable",
|
|
1841
|
-
"name": "
|
|
1842
|
-
"
|
|
1845
|
+
"name": "defaultAccordionConfig",
|
|
1846
|
+
"type": {
|
|
1847
|
+
"text": "object"
|
|
1848
|
+
},
|
|
1849
|
+
"default": "{}"
|
|
1850
|
+
},
|
|
1851
|
+
{
|
|
1852
|
+
"kind": "variable",
|
|
1853
|
+
"name": "foundationAccordion",
|
|
1854
|
+
"description": "The Foundation Accordion",
|
|
1843
1855
|
"privacy": "public"
|
|
1844
1856
|
}
|
|
1845
1857
|
],
|
|
1846
1858
|
"exports": [
|
|
1847
1859
|
{
|
|
1848
1860
|
"kind": "js",
|
|
1849
|
-
"name": "
|
|
1861
|
+
"name": "Accordion",
|
|
1850
1862
|
"declaration": {
|
|
1851
|
-
"name": "
|
|
1852
|
-
"module": "src/
|
|
1863
|
+
"name": "Accordion",
|
|
1864
|
+
"module": "src/accordion/accordion.ts"
|
|
1853
1865
|
}
|
|
1854
1866
|
},
|
|
1855
1867
|
{
|
|
1856
1868
|
"kind": "js",
|
|
1857
|
-
"name": "
|
|
1869
|
+
"name": "foundationAccordionShadowOptions",
|
|
1858
1870
|
"declaration": {
|
|
1859
|
-
"name": "
|
|
1860
|
-
"module": "src/
|
|
1871
|
+
"name": "foundationAccordionShadowOptions",
|
|
1872
|
+
"module": "src/accordion/accordion.ts"
|
|
1873
|
+
}
|
|
1874
|
+
},
|
|
1875
|
+
{
|
|
1876
|
+
"kind": "js",
|
|
1877
|
+
"name": "defaultAccordionConfig",
|
|
1878
|
+
"declaration": {
|
|
1879
|
+
"name": "defaultAccordionConfig",
|
|
1880
|
+
"module": "src/accordion/accordion.ts"
|
|
1881
|
+
}
|
|
1882
|
+
},
|
|
1883
|
+
{
|
|
1884
|
+
"kind": "js",
|
|
1885
|
+
"name": "foundationAccordion",
|
|
1886
|
+
"declaration": {
|
|
1887
|
+
"name": "foundationAccordion",
|
|
1888
|
+
"module": "src/accordion/accordion.ts"
|
|
1861
1889
|
}
|
|
1862
1890
|
}
|
|
1863
1891
|
]
|
|
1864
1892
|
},
|
|
1865
1893
|
{
|
|
1866
1894
|
"kind": "javascript-module",
|
|
1867
|
-
"path": "src/
|
|
1895
|
+
"path": "src/accordion/index.ts",
|
|
1868
1896
|
"declarations": [],
|
|
1869
1897
|
"exports": [
|
|
1870
1898
|
{
|
|
@@ -1872,7 +1900,7 @@
|
|
|
1872
1900
|
"name": "*",
|
|
1873
1901
|
"declaration": {
|
|
1874
1902
|
"name": "*",
|
|
1875
|
-
"package": "./
|
|
1903
|
+
"package": "./accordion.template"
|
|
1876
1904
|
}
|
|
1877
1905
|
},
|
|
1878
1906
|
{
|
|
@@ -1880,7 +1908,7 @@
|
|
|
1880
1908
|
"name": "*",
|
|
1881
1909
|
"declaration": {
|
|
1882
1910
|
"name": "*",
|
|
1883
|
-
"package": "./
|
|
1911
|
+
"package": "./accordion.styles"
|
|
1884
1912
|
}
|
|
1885
1913
|
},
|
|
1886
1914
|
{
|
|
@@ -1888,51 +1916,104 @@
|
|
|
1888
1916
|
"name": "*",
|
|
1889
1917
|
"declaration": {
|
|
1890
1918
|
"name": "*",
|
|
1891
|
-
"package": "./
|
|
1919
|
+
"package": "./accordion"
|
|
1892
1920
|
}
|
|
1893
1921
|
}
|
|
1894
1922
|
]
|
|
1895
1923
|
},
|
|
1896
1924
|
{
|
|
1897
1925
|
"kind": "javascript-module",
|
|
1898
|
-
"path": "src/
|
|
1926
|
+
"path": "src/_config/index.ts",
|
|
1927
|
+
"declarations": [],
|
|
1928
|
+
"exports": [
|
|
1929
|
+
{
|
|
1930
|
+
"kind": "js",
|
|
1931
|
+
"name": "*",
|
|
1932
|
+
"declaration": {
|
|
1933
|
+
"name": "*",
|
|
1934
|
+
"package": "./styles"
|
|
1935
|
+
}
|
|
1936
|
+
},
|
|
1937
|
+
{
|
|
1938
|
+
"kind": "js",
|
|
1939
|
+
"name": "*",
|
|
1940
|
+
"declaration": {
|
|
1941
|
+
"name": "*",
|
|
1942
|
+
"package": "./tokens"
|
|
1943
|
+
}
|
|
1944
|
+
},
|
|
1945
|
+
{
|
|
1946
|
+
"kind": "js",
|
|
1947
|
+
"name": "*",
|
|
1948
|
+
"declaration": {
|
|
1949
|
+
"name": "*",
|
|
1950
|
+
"package": "./values"
|
|
1951
|
+
}
|
|
1952
|
+
}
|
|
1953
|
+
]
|
|
1954
|
+
},
|
|
1955
|
+
{
|
|
1956
|
+
"kind": "javascript-module",
|
|
1957
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
1899
1958
|
"declarations": [
|
|
1900
1959
|
{
|
|
1901
|
-
"kind": "
|
|
1902
|
-
"
|
|
1903
|
-
"
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
"text": "string"
|
|
1910
|
-
},
|
|
1911
|
-
"description": "Optional non-editable label shown on the left inside the field, before the input."
|
|
1912
|
-
},
|
|
1960
|
+
"kind": "function",
|
|
1961
|
+
"name": "foundationAccordionItemStyles",
|
|
1962
|
+
"return": {
|
|
1963
|
+
"type": {
|
|
1964
|
+
"text": "ElementStyles"
|
|
1965
|
+
}
|
|
1966
|
+
},
|
|
1967
|
+
"parameters": [
|
|
1913
1968
|
{
|
|
1914
|
-
"
|
|
1915
|
-
"name": "suffix",
|
|
1969
|
+
"name": "context",
|
|
1916
1970
|
"type": {
|
|
1917
|
-
"text": "
|
|
1918
|
-
}
|
|
1919
|
-
"description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
|
|
1971
|
+
"text": "ElementDefinitionContext"
|
|
1972
|
+
}
|
|
1920
1973
|
},
|
|
1921
1974
|
{
|
|
1922
|
-
"
|
|
1923
|
-
"name": "hideAffixFromScreenReader",
|
|
1975
|
+
"name": "definition",
|
|
1924
1976
|
"type": {
|
|
1925
|
-
"text": "
|
|
1926
|
-
}
|
|
1927
|
-
"default": "false",
|
|
1928
|
-
"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."
|
|
1977
|
+
"text": "FoundationElementDefinition"
|
|
1978
|
+
}
|
|
1929
1979
|
}
|
|
1930
|
-
]
|
|
1980
|
+
]
|
|
1981
|
+
}
|
|
1982
|
+
],
|
|
1983
|
+
"exports": [
|
|
1984
|
+
{
|
|
1985
|
+
"kind": "js",
|
|
1986
|
+
"name": "foundationAccordionItemStyles",
|
|
1987
|
+
"declaration": {
|
|
1988
|
+
"name": "foundationAccordionItemStyles",
|
|
1989
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
1990
|
+
}
|
|
1991
|
+
}
|
|
1992
|
+
]
|
|
1993
|
+
},
|
|
1994
|
+
{
|
|
1995
|
+
"kind": "javascript-module",
|
|
1996
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1997
|
+
"declarations": [
|
|
1998
|
+
{
|
|
1999
|
+
"kind": "function",
|
|
2000
|
+
"name": "foundationAccordionItemTemplate",
|
|
2001
|
+
"return": {
|
|
2002
|
+
"type": {
|
|
2003
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
2004
|
+
}
|
|
2005
|
+
},
|
|
1931
2006
|
"parameters": [
|
|
1932
2007
|
{
|
|
1933
|
-
"name": "
|
|
2008
|
+
"name": "context",
|
|
1934
2009
|
"type": {
|
|
1935
|
-
"text": "
|
|
2010
|
+
"text": "ElementDefinitionContext"
|
|
2011
|
+
}
|
|
2012
|
+
},
|
|
2013
|
+
{
|
|
2014
|
+
"name": "definition",
|
|
2015
|
+
"type": {
|
|
2016
|
+
"text": "FoundationElementDefinition"
|
|
1936
2017
|
}
|
|
1937
2018
|
}
|
|
1938
2019
|
]
|
|
@@ -1941,169 +2022,117 @@
|
|
|
1941
2022
|
"exports": [
|
|
1942
2023
|
{
|
|
1943
2024
|
"kind": "js",
|
|
1944
|
-
"name": "
|
|
2025
|
+
"name": "foundationAccordionItemTemplate",
|
|
1945
2026
|
"declaration": {
|
|
1946
|
-
"name": "
|
|
1947
|
-
"module": "src/
|
|
2027
|
+
"name": "foundationAccordionItemTemplate",
|
|
2028
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
1948
2029
|
}
|
|
1949
2030
|
}
|
|
1950
2031
|
]
|
|
1951
2032
|
},
|
|
1952
2033
|
{
|
|
1953
2034
|
"kind": "javascript-module",
|
|
1954
|
-
"path": "src/
|
|
2035
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
1955
2036
|
"declarations": [
|
|
1956
2037
|
{
|
|
1957
2038
|
"kind": "class",
|
|
1958
|
-
"description": "
|
|
1959
|
-
"name": "
|
|
1960
|
-
"
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
"privacy": "public"
|
|
1968
|
-
},
|
|
2039
|
+
"description": "",
|
|
2040
|
+
"name": "AccordionItem",
|
|
2041
|
+
"superclass": {
|
|
2042
|
+
"name": "FASTAccordionItem",
|
|
2043
|
+
"package": "@microsoft/fast-components"
|
|
2044
|
+
},
|
|
2045
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
2046
|
+
"customElement": true,
|
|
2047
|
+
"attributes": [
|
|
1969
2048
|
{
|
|
1970
|
-
"
|
|
1971
|
-
"name": "selectedFile",
|
|
2049
|
+
"name": "heading-level",
|
|
1972
2050
|
"type": {
|
|
1973
|
-
"text": "
|
|
2051
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1974
2052
|
},
|
|
1975
|
-
"
|
|
1976
|
-
"
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
"type": {
|
|
1982
|
-
"text": "string"
|
|
2053
|
+
"default": "2",
|
|
2054
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
2055
|
+
"fieldName": "headinglevel",
|
|
2056
|
+
"inheritedFrom": {
|
|
2057
|
+
"name": "AccordionItem",
|
|
2058
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1983
2059
|
}
|
|
1984
2060
|
},
|
|
1985
2061
|
{
|
|
1986
|
-
"kind": "field",
|
|
1987
|
-
"name": "accept",
|
|
1988
2062
|
"type": {
|
|
1989
|
-
"text": "
|
|
2063
|
+
"text": "boolean"
|
|
1990
2064
|
},
|
|
1991
|
-
"default": "
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
"
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
"type": {
|
|
1998
|
-
"text": "number"
|
|
2065
|
+
"default": "false",
|
|
2066
|
+
"description": "Expands or collapses the item.",
|
|
2067
|
+
"fieldName": "expanded",
|
|
2068
|
+
"inheritedFrom": {
|
|
2069
|
+
"name": "AccordionItem",
|
|
2070
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1999
2071
|
}
|
|
2000
2072
|
},
|
|
2001
2073
|
{
|
|
2002
|
-
"
|
|
2003
|
-
"name": "fileName",
|
|
2074
|
+
"name": "id",
|
|
2004
2075
|
"type": {
|
|
2005
2076
|
"text": "string"
|
|
2006
2077
|
},
|
|
2007
|
-
"
|
|
2008
|
-
|
|
2078
|
+
"description": "The item ID",
|
|
2079
|
+
"fieldName": "id",
|
|
2080
|
+
"inheritedFrom": {
|
|
2081
|
+
"name": "AccordionItem",
|
|
2082
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2083
|
+
}
|
|
2084
|
+
}
|
|
2085
|
+
],
|
|
2086
|
+
"members": [
|
|
2009
2087
|
{
|
|
2010
2088
|
"kind": "field",
|
|
2011
|
-
"name": "
|
|
2089
|
+
"name": "headinglevel",
|
|
2012
2090
|
"type": {
|
|
2013
|
-
"text": "
|
|
2091
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
2014
2092
|
},
|
|
2015
|
-
"default": "false"
|
|
2016
|
-
},
|
|
2017
|
-
{
|
|
2018
|
-
"kind": "method",
|
|
2019
|
-
"name": "handleClick",
|
|
2020
|
-
"privacy": "public",
|
|
2021
|
-
"description": "Opens the file picker dialog\nClears any previous file selection before opening"
|
|
2022
|
-
},
|
|
2023
|
-
{
|
|
2024
|
-
"kind": "method",
|
|
2025
|
-
"name": "onInputChange",
|
|
2026
|
-
"privacy": "public",
|
|
2027
|
-
"parameters": [
|
|
2028
|
-
{
|
|
2029
|
-
"name": "e",
|
|
2030
|
-
"type": {
|
|
2031
|
-
"text": "Event"
|
|
2032
|
-
},
|
|
2033
|
-
"description": "The change event from the file input"
|
|
2034
|
-
}
|
|
2035
|
-
],
|
|
2036
|
-
"description": "Handles file selection from the file input\nValidates file size and sets up for processing"
|
|
2037
|
-
},
|
|
2038
|
-
{
|
|
2039
|
-
"kind": "method",
|
|
2040
|
-
"name": "clearSelection",
|
|
2041
2093
|
"privacy": "public",
|
|
2042
|
-
"
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
"privacy": "public",
|
|
2048
|
-
"description": "Gets the currently selected file object",
|
|
2049
|
-
"return": {
|
|
2050
|
-
"type": {
|
|
2051
|
-
"text": ""
|
|
2052
|
-
}
|
|
2094
|
+
"default": "2",
|
|
2095
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
2096
|
+
"inheritedFrom": {
|
|
2097
|
+
"name": "AccordionItem",
|
|
2098
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2053
2099
|
}
|
|
2054
2100
|
},
|
|
2055
2101
|
{
|
|
2056
|
-
"kind": "
|
|
2057
|
-
"name": "
|
|
2058
|
-
"
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
"name": "message",
|
|
2069
|
-
"type": {
|
|
2070
|
-
"text": "string"
|
|
2071
|
-
},
|
|
2072
|
-
"description": "The error message"
|
|
2073
|
-
}
|
|
2074
|
-
],
|
|
2075
|
-
"description": "Shows an error notification using the unified error handling system"
|
|
2102
|
+
"kind": "field",
|
|
2103
|
+
"name": "expanded",
|
|
2104
|
+
"type": {
|
|
2105
|
+
"text": "boolean"
|
|
2106
|
+
},
|
|
2107
|
+
"privacy": "public",
|
|
2108
|
+
"default": "false",
|
|
2109
|
+
"description": "Expands or collapses the item.",
|
|
2110
|
+
"inheritedFrom": {
|
|
2111
|
+
"name": "AccordionItem",
|
|
2112
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2113
|
+
}
|
|
2076
2114
|
},
|
|
2077
2115
|
{
|
|
2078
|
-
"kind": "
|
|
2079
|
-
"name": "
|
|
2080
|
-
"
|
|
2081
|
-
|
|
2082
|
-
"type": {
|
|
2083
|
-
"text": "void"
|
|
2084
|
-
}
|
|
2116
|
+
"kind": "field",
|
|
2117
|
+
"name": "id",
|
|
2118
|
+
"type": {
|
|
2119
|
+
"text": "string"
|
|
2085
2120
|
},
|
|
2086
|
-
"
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
"description": "The selected file"
|
|
2093
|
-
}
|
|
2094
|
-
],
|
|
2095
|
-
"description": "Abstract method called when a file is selected"
|
|
2121
|
+
"privacy": "public",
|
|
2122
|
+
"description": "The item ID",
|
|
2123
|
+
"inheritedFrom": {
|
|
2124
|
+
"name": "AccordionItem",
|
|
2125
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2126
|
+
}
|
|
2096
2127
|
},
|
|
2097
2128
|
{
|
|
2098
|
-
"kind": "
|
|
2099
|
-
"name": "
|
|
2100
|
-
"privacy": "
|
|
2101
|
-
"
|
|
2102
|
-
"
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
},
|
|
2106
|
-
"description": "Abstract method called when file selection is cleared"
|
|
2129
|
+
"kind": "field",
|
|
2130
|
+
"name": "change",
|
|
2131
|
+
"privacy": "private",
|
|
2132
|
+
"inheritedFrom": {
|
|
2133
|
+
"name": "AccordionItem",
|
|
2134
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2135
|
+
}
|
|
2107
2136
|
},
|
|
2108
2137
|
{
|
|
2109
2138
|
"kind": "field",
|
|
@@ -2219,110 +2248,76 @@
|
|
|
2219
2248
|
],
|
|
2220
2249
|
"events": [
|
|
2221
2250
|
{
|
|
2222
|
-
"description": "
|
|
2223
|
-
"name": "
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
}
|
|
2229
|
-
],
|
|
2230
|
-
"attributes": [
|
|
2231
|
-
{
|
|
2232
|
-
"name": "label",
|
|
2233
|
-
"type": {
|
|
2234
|
-
"text": "string"
|
|
2235
|
-
},
|
|
2236
|
-
"fieldName": "label"
|
|
2237
|
-
},
|
|
2238
|
-
{
|
|
2239
|
-
"name": "accept",
|
|
2240
|
-
"type": {
|
|
2241
|
-
"text": "string"
|
|
2242
|
-
},
|
|
2243
|
-
"default": "''",
|
|
2244
|
-
"fieldName": "accept"
|
|
2245
|
-
},
|
|
2246
|
-
{
|
|
2247
|
-
"name": "file-size-limit-bytes",
|
|
2248
|
-
"default": "DEFAULT_FILE_SIZE_LIMIT",
|
|
2249
|
-
"resolveInitializer": {
|
|
2250
|
-
"module": "src/_common/base-file-component.ts"
|
|
2251
|
-
},
|
|
2252
|
-
"fieldName": "fileSizeLimitBytes"
|
|
2251
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
2252
|
+
"name": "change",
|
|
2253
|
+
"inheritedFrom": {
|
|
2254
|
+
"name": "AccordionItem",
|
|
2255
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2256
|
+
}
|
|
2253
2257
|
}
|
|
2254
|
-
]
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2258
|
+
]
|
|
2259
|
+
},
|
|
2260
|
+
{
|
|
2261
|
+
"kind": "variable",
|
|
2262
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2263
|
+
"type": {
|
|
2264
|
+
"text": "ShadowRootInit"
|
|
2265
|
+
},
|
|
2266
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2267
|
+
},
|
|
2268
|
+
{
|
|
2269
|
+
"kind": "variable",
|
|
2270
|
+
"name": "defaultAccordionItemConfig",
|
|
2271
|
+
"type": {
|
|
2272
|
+
"text": "object"
|
|
2273
|
+
},
|
|
2274
|
+
"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}"
|
|
2275
|
+
},
|
|
2276
|
+
{
|
|
2277
|
+
"kind": "variable",
|
|
2278
|
+
"name": "foundationAccordionItem",
|
|
2279
|
+
"description": "The Foundation Accordion Item",
|
|
2280
|
+
"privacy": "public"
|
|
2259
2281
|
}
|
|
2260
2282
|
],
|
|
2261
2283
|
"exports": [
|
|
2262
2284
|
{
|
|
2263
2285
|
"kind": "js",
|
|
2264
|
-
"name": "
|
|
2286
|
+
"name": "AccordionItem",
|
|
2265
2287
|
"declaration": {
|
|
2266
|
-
"name": "
|
|
2267
|
-
"module": "src/
|
|
2288
|
+
"name": "AccordionItem",
|
|
2289
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2268
2290
|
}
|
|
2269
|
-
}
|
|
2270
|
-
]
|
|
2271
|
-
},
|
|
2272
|
-
{
|
|
2273
|
-
"kind": "javascript-module",
|
|
2274
|
-
"path": "src/_common/field-styles.ts",
|
|
2275
|
-
"declarations": [
|
|
2276
|
-
{
|
|
2277
|
-
"kind": "variable",
|
|
2278
|
-
"name": "sharedFieldStyles",
|
|
2279
|
-
"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`"
|
|
2280
|
-
}
|
|
2281
|
-
],
|
|
2282
|
-
"exports": [
|
|
2291
|
+
},
|
|
2283
2292
|
{
|
|
2284
2293
|
"kind": "js",
|
|
2285
|
-
"name": "
|
|
2294
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2286
2295
|
"declaration": {
|
|
2287
|
-
"name": "
|
|
2288
|
-
"module": "src/
|
|
2296
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2297
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2289
2298
|
}
|
|
2290
|
-
}
|
|
2291
|
-
]
|
|
2292
|
-
},
|
|
2293
|
-
{
|
|
2294
|
-
"kind": "javascript-module",
|
|
2295
|
-
"path": "src/_common/icons.ts",
|
|
2296
|
-
"declarations": [
|
|
2299
|
+
},
|
|
2297
2300
|
{
|
|
2298
|
-
"kind": "
|
|
2299
|
-
"name": "
|
|
2300
|
-
"
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
{
|
|
2306
|
-
"name": "fill",
|
|
2307
|
-
"default": "'#879ba6'"
|
|
2308
|
-
}
|
|
2309
|
-
]
|
|
2310
|
-
}
|
|
2311
|
-
],
|
|
2312
|
-
"exports": [
|
|
2301
|
+
"kind": "js",
|
|
2302
|
+
"name": "defaultAccordionItemConfig",
|
|
2303
|
+
"declaration": {
|
|
2304
|
+
"name": "defaultAccordionItemConfig",
|
|
2305
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2306
|
+
}
|
|
2307
|
+
},
|
|
2313
2308
|
{
|
|
2314
2309
|
"kind": "js",
|
|
2315
|
-
"name": "
|
|
2310
|
+
"name": "foundationAccordionItem",
|
|
2316
2311
|
"declaration": {
|
|
2317
|
-
"name": "
|
|
2318
|
-
"module": "src/
|
|
2312
|
+
"name": "foundationAccordionItem",
|
|
2313
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2319
2314
|
}
|
|
2320
2315
|
}
|
|
2321
2316
|
]
|
|
2322
2317
|
},
|
|
2323
2318
|
{
|
|
2324
2319
|
"kind": "javascript-module",
|
|
2325
|
-
"path": "src/
|
|
2320
|
+
"path": "src/accordion-item/index.ts",
|
|
2326
2321
|
"declarations": [],
|
|
2327
2322
|
"exports": [
|
|
2328
2323
|
{
|
|
@@ -2330,15 +2325,7 @@
|
|
|
2330
2325
|
"name": "*",
|
|
2331
2326
|
"declaration": {
|
|
2332
2327
|
"name": "*",
|
|
2333
|
-
"package": "./
|
|
2334
|
-
}
|
|
2335
|
-
},
|
|
2336
|
-
{
|
|
2337
|
-
"kind": "js",
|
|
2338
|
-
"name": "*",
|
|
2339
|
-
"declaration": {
|
|
2340
|
-
"name": "*",
|
|
2341
|
-
"package": "./base-file-component"
|
|
2328
|
+
"package": "./accordion-item.template"
|
|
2342
2329
|
}
|
|
2343
2330
|
},
|
|
2344
2331
|
{
|
|
@@ -2346,7 +2333,7 @@
|
|
|
2346
2333
|
"name": "*",
|
|
2347
2334
|
"declaration": {
|
|
2348
2335
|
"name": "*",
|
|
2349
|
-
"package": "./
|
|
2336
|
+
"package": "./accordion-item.styles"
|
|
2350
2337
|
}
|
|
2351
2338
|
},
|
|
2352
2339
|
{
|
|
@@ -2354,138 +2341,210 @@
|
|
|
2354
2341
|
"name": "*",
|
|
2355
2342
|
"declaration": {
|
|
2356
2343
|
"name": "*",
|
|
2357
|
-
"package": "./
|
|
2344
|
+
"package": "./accordion-item"
|
|
2358
2345
|
}
|
|
2359
2346
|
}
|
|
2360
2347
|
]
|
|
2361
2348
|
},
|
|
2362
2349
|
{
|
|
2363
2350
|
"kind": "javascript-module",
|
|
2364
|
-
"path": "src/
|
|
2351
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
2365
2352
|
"declarations": [
|
|
2366
2353
|
{
|
|
2367
|
-
"kind": "
|
|
2368
|
-
"name": "
|
|
2369
|
-
"
|
|
2354
|
+
"kind": "function",
|
|
2355
|
+
"name": "actionsMenuBaseStyles",
|
|
2356
|
+
"return": {
|
|
2357
|
+
"type": {
|
|
2358
|
+
"text": "ElementStyles"
|
|
2359
|
+
}
|
|
2360
|
+
},
|
|
2361
|
+
"parameters": [
|
|
2362
|
+
{
|
|
2363
|
+
"name": "context",
|
|
2364
|
+
"type": {
|
|
2365
|
+
"text": "ElementDefinitionContext"
|
|
2366
|
+
}
|
|
2367
|
+
},
|
|
2368
|
+
{
|
|
2369
|
+
"name": "definition",
|
|
2370
|
+
"type": {
|
|
2371
|
+
"text": "FoundationElementDefinition"
|
|
2372
|
+
}
|
|
2373
|
+
}
|
|
2374
|
+
]
|
|
2375
|
+
},
|
|
2376
|
+
{
|
|
2377
|
+
"kind": "function",
|
|
2378
|
+
"name": "foundationActionsMenuStyles",
|
|
2379
|
+
"return": {
|
|
2380
|
+
"type": {
|
|
2381
|
+
"text": "ElementStyles"
|
|
2382
|
+
}
|
|
2383
|
+
},
|
|
2384
|
+
"parameters": [
|
|
2385
|
+
{
|
|
2386
|
+
"name": "context",
|
|
2387
|
+
"type": {
|
|
2388
|
+
"text": "ElementDefinitionContext"
|
|
2389
|
+
}
|
|
2390
|
+
},
|
|
2391
|
+
{
|
|
2392
|
+
"name": "definition",
|
|
2393
|
+
"type": {
|
|
2394
|
+
"text": "FoundationElementDefinition"
|
|
2395
|
+
}
|
|
2396
|
+
}
|
|
2397
|
+
]
|
|
2370
2398
|
}
|
|
2371
2399
|
],
|
|
2372
2400
|
"exports": [
|
|
2373
2401
|
{
|
|
2374
2402
|
"kind": "js",
|
|
2375
|
-
"name": "
|
|
2403
|
+
"name": "actionsMenuBaseStyles",
|
|
2376
2404
|
"declaration": {
|
|
2377
|
-
"name": "
|
|
2378
|
-
"module": "src/
|
|
2405
|
+
"name": "actionsMenuBaseStyles",
|
|
2406
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2407
|
+
}
|
|
2408
|
+
},
|
|
2409
|
+
{
|
|
2410
|
+
"kind": "js",
|
|
2411
|
+
"name": "foundationActionsMenuStyles",
|
|
2412
|
+
"declaration": {
|
|
2413
|
+
"name": "foundationActionsMenuStyles",
|
|
2414
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2379
2415
|
}
|
|
2380
2416
|
}
|
|
2381
2417
|
]
|
|
2382
2418
|
},
|
|
2383
2419
|
{
|
|
2384
2420
|
"kind": "javascript-module",
|
|
2385
|
-
"path": "src/
|
|
2421
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
2386
2422
|
"declarations": [
|
|
2423
|
+
{
|
|
2424
|
+
"kind": "function",
|
|
2425
|
+
"name": "menuTemplate",
|
|
2426
|
+
"parameters": [
|
|
2427
|
+
{
|
|
2428
|
+
"name": "prefix",
|
|
2429
|
+
"type": {
|
|
2430
|
+
"text": "string"
|
|
2431
|
+
}
|
|
2432
|
+
}
|
|
2433
|
+
]
|
|
2434
|
+
},
|
|
2435
|
+
{
|
|
2436
|
+
"kind": "function",
|
|
2437
|
+
"name": "singleOptionTemplate",
|
|
2438
|
+
"parameters": [
|
|
2439
|
+
{
|
|
2440
|
+
"name": "prefix",
|
|
2441
|
+
"type": {
|
|
2442
|
+
"text": "string"
|
|
2443
|
+
}
|
|
2444
|
+
}
|
|
2445
|
+
]
|
|
2446
|
+
},
|
|
2387
2447
|
{
|
|
2388
2448
|
"kind": "variable",
|
|
2389
|
-
"name": "
|
|
2449
|
+
"name": "foundationActionsMenuTemplate",
|
|
2390
2450
|
"type": {
|
|
2391
|
-
"text": "ViewTemplate<
|
|
2451
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
2392
2452
|
},
|
|
2393
|
-
"default": "html`\n ${(x) =>
|
|
2453
|
+
"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`"
|
|
2394
2454
|
}
|
|
2395
2455
|
],
|
|
2396
2456
|
"exports": [
|
|
2397
2457
|
{
|
|
2398
2458
|
"kind": "js",
|
|
2399
|
-
"name": "
|
|
2459
|
+
"name": "menuTemplate",
|
|
2400
2460
|
"declaration": {
|
|
2401
|
-
"name": "
|
|
2402
|
-
"module": "src/
|
|
2461
|
+
"name": "menuTemplate",
|
|
2462
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2463
|
+
}
|
|
2464
|
+
},
|
|
2465
|
+
{
|
|
2466
|
+
"kind": "js",
|
|
2467
|
+
"name": "singleOptionTemplate",
|
|
2468
|
+
"declaration": {
|
|
2469
|
+
"name": "singleOptionTemplate",
|
|
2470
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2471
|
+
}
|
|
2472
|
+
},
|
|
2473
|
+
{
|
|
2474
|
+
"kind": "js",
|
|
2475
|
+
"name": "foundationActionsMenuTemplate",
|
|
2476
|
+
"declaration": {
|
|
2477
|
+
"name": "foundationActionsMenuTemplate",
|
|
2478
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2403
2479
|
}
|
|
2404
2480
|
}
|
|
2405
2481
|
]
|
|
2406
2482
|
},
|
|
2407
2483
|
{
|
|
2408
2484
|
"kind": "javascript-module",
|
|
2409
|
-
"path": "src/
|
|
2485
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
2410
2486
|
"declarations": [
|
|
2411
2487
|
{
|
|
2412
2488
|
"kind": "class",
|
|
2413
|
-
"description": "
|
|
2414
|
-
"name": "
|
|
2489
|
+
"description": "",
|
|
2490
|
+
"name": "ActionsMenu",
|
|
2415
2491
|
"members": [
|
|
2416
2492
|
{
|
|
2417
2493
|
"kind": "field",
|
|
2418
|
-
"name": "
|
|
2494
|
+
"name": "actions",
|
|
2419
2495
|
"type": {
|
|
2420
|
-
"text": "
|
|
2496
|
+
"text": "ActionMenuItem[]"
|
|
2421
2497
|
}
|
|
2422
2498
|
},
|
|
2423
2499
|
{
|
|
2424
2500
|
"kind": "field",
|
|
2425
|
-
"name": "
|
|
2426
|
-
"type": {
|
|
2427
|
-
"text": "string"
|
|
2428
|
-
},
|
|
2429
|
-
"default": "'Describe your search criteria in natural language...'"
|
|
2430
|
-
},
|
|
2431
|
-
{
|
|
2432
|
-
"kind": "field",
|
|
2433
|
-
"name": "disabled",
|
|
2501
|
+
"name": "isVertical",
|
|
2434
2502
|
"type": {
|
|
2435
2503
|
"text": "boolean"
|
|
2436
|
-
}
|
|
2437
|
-
},
|
|
2438
|
-
{
|
|
2439
|
-
"kind": "field",
|
|
2440
|
-
"name": "inputValue",
|
|
2441
|
-
"type": {
|
|
2442
|
-
"text": "string"
|
|
2443
2504
|
},
|
|
2444
|
-
"default": "
|
|
2505
|
+
"default": "false"
|
|
2445
2506
|
},
|
|
2446
2507
|
{
|
|
2447
2508
|
"kind": "field",
|
|
2448
|
-
"name": "
|
|
2509
|
+
"name": "addDefaultActions",
|
|
2449
2510
|
"type": {
|
|
2450
2511
|
"text": "boolean"
|
|
2451
2512
|
},
|
|
2452
|
-
"default": "
|
|
2513
|
+
"default": "true"
|
|
2453
2514
|
},
|
|
2454
2515
|
{
|
|
2455
2516
|
"kind": "field",
|
|
2456
|
-
"name": "
|
|
2517
|
+
"name": "autoCloseOnAction",
|
|
2457
2518
|
"type": {
|
|
2458
|
-
"text": "
|
|
2519
|
+
"text": "boolean"
|
|
2459
2520
|
},
|
|
2460
|
-
"default": "
|
|
2521
|
+
"default": "true"
|
|
2461
2522
|
},
|
|
2462
2523
|
{
|
|
2463
2524
|
"kind": "field",
|
|
2464
|
-
"name": "
|
|
2525
|
+
"name": "classNames",
|
|
2465
2526
|
"type": {
|
|
2466
|
-
"text": "
|
|
2467
|
-
}
|
|
2468
|
-
"default": "[]"
|
|
2527
|
+
"text": "string"
|
|
2528
|
+
}
|
|
2469
2529
|
},
|
|
2470
2530
|
{
|
|
2471
2531
|
"kind": "field",
|
|
2472
|
-
"name": "
|
|
2532
|
+
"name": "definition",
|
|
2473
2533
|
"type": {
|
|
2474
|
-
"text": "
|
|
2475
|
-
}
|
|
2476
|
-
"default": "false"
|
|
2534
|
+
"text": "any"
|
|
2535
|
+
}
|
|
2477
2536
|
},
|
|
2478
2537
|
{
|
|
2479
2538
|
"kind": "field",
|
|
2480
|
-
"name": "
|
|
2539
|
+
"name": "name",
|
|
2481
2540
|
"type": {
|
|
2482
|
-
"text": "
|
|
2541
|
+
"text": "string"
|
|
2483
2542
|
},
|
|
2484
|
-
"default": "
|
|
2543
|
+
"default": "'Actions'"
|
|
2485
2544
|
},
|
|
2486
2545
|
{
|
|
2487
2546
|
"kind": "field",
|
|
2488
|
-
"name": "
|
|
2547
|
+
"name": "open",
|
|
2489
2548
|
"type": {
|
|
2490
2549
|
"text": "boolean"
|
|
2491
2550
|
},
|
|
@@ -2493,125 +2552,117 @@
|
|
|
2493
2552
|
},
|
|
2494
2553
|
{
|
|
2495
2554
|
"kind": "field",
|
|
2496
|
-
"name": "
|
|
2555
|
+
"name": "buttonAppearance",
|
|
2497
2556
|
"type": {
|
|
2498
|
-
"text": "
|
|
2499
|
-
}
|
|
2500
|
-
"privacy": "public"
|
|
2557
|
+
"text": "string"
|
|
2558
|
+
}
|
|
2501
2559
|
},
|
|
2502
2560
|
{
|
|
2503
2561
|
"kind": "field",
|
|
2504
|
-
"name": "
|
|
2562
|
+
"name": "hideDisabled",
|
|
2505
2563
|
"type": {
|
|
2506
|
-
"text": "
|
|
2564
|
+
"text": "boolean"
|
|
2507
2565
|
},
|
|
2508
|
-
"
|
|
2509
|
-
"default": "null"
|
|
2566
|
+
"default": "false"
|
|
2510
2567
|
},
|
|
2511
2568
|
{
|
|
2512
2569
|
"kind": "field",
|
|
2513
|
-
"name": "
|
|
2570
|
+
"name": "hideMenuSingleOption",
|
|
2514
2571
|
"type": {
|
|
2515
|
-
"text": "
|
|
2572
|
+
"text": "boolean"
|
|
2516
2573
|
},
|
|
2517
|
-
"
|
|
2518
|
-
"default": "null"
|
|
2574
|
+
"default": "false"
|
|
2519
2575
|
},
|
|
2520
2576
|
{
|
|
2521
2577
|
"kind": "field",
|
|
2522
|
-
"name": "
|
|
2578
|
+
"name": "singleOption",
|
|
2523
2579
|
"type": {
|
|
2524
|
-
"text": "
|
|
2525
|
-
}
|
|
2526
|
-
"readonly": true
|
|
2580
|
+
"text": "ActionMenuItem"
|
|
2581
|
+
}
|
|
2527
2582
|
},
|
|
2528
2583
|
{
|
|
2529
2584
|
"kind": "field",
|
|
2530
|
-
"name": "
|
|
2585
|
+
"name": "actionsMenu",
|
|
2531
2586
|
"type": {
|
|
2532
|
-
"text": "
|
|
2533
|
-
},
|
|
2534
|
-
"readonly": true
|
|
2535
|
-
},
|
|
2536
|
-
{
|
|
2537
|
-
"kind": "method",
|
|
2538
|
-
"name": "getFieldLabel",
|
|
2539
|
-
"privacy": "private",
|
|
2540
|
-
"return": {
|
|
2541
|
-
"type": {
|
|
2542
|
-
"text": "string"
|
|
2543
|
-
}
|
|
2544
|
-
},
|
|
2545
|
-
"parameters": [
|
|
2546
|
-
{
|
|
2547
|
-
"name": "fieldName",
|
|
2548
|
-
"type": {
|
|
2549
|
-
"text": "string"
|
|
2550
|
-
}
|
|
2551
|
-
}
|
|
2552
|
-
]
|
|
2553
|
-
},
|
|
2554
|
-
{
|
|
2555
|
-
"kind": "method",
|
|
2556
|
-
"name": "toggleCriteriaView",
|
|
2557
|
-
"return": {
|
|
2558
|
-
"type": {
|
|
2559
|
-
"text": "void"
|
|
2560
|
-
}
|
|
2587
|
+
"text": "HTMLElement"
|
|
2561
2588
|
}
|
|
2562
2589
|
},
|
|
2563
2590
|
{
|
|
2564
2591
|
"kind": "method",
|
|
2565
|
-
"name": "
|
|
2566
|
-
"
|
|
2567
|
-
"type": {
|
|
2568
|
-
"text": "void"
|
|
2569
|
-
}
|
|
2570
|
-
},
|
|
2592
|
+
"name": "definitionChanged",
|
|
2593
|
+
"privacy": "protected",
|
|
2571
2594
|
"parameters": [
|
|
2572
2595
|
{
|
|
2573
|
-
"name": "
|
|
2596
|
+
"name": "oldValue",
|
|
2574
2597
|
"type": {
|
|
2575
|
-
"text": "
|
|
2598
|
+
"text": "any"
|
|
2576
2599
|
}
|
|
2577
2600
|
},
|
|
2578
2601
|
{
|
|
2579
|
-
"name": "
|
|
2602
|
+
"name": "newValue",
|
|
2580
2603
|
"type": {
|
|
2581
|
-
"text": "
|
|
2604
|
+
"text": "any"
|
|
2582
2605
|
}
|
|
2583
2606
|
}
|
|
2584
2607
|
]
|
|
2585
2608
|
},
|
|
2586
2609
|
{
|
|
2587
2610
|
"kind": "method",
|
|
2588
|
-
"name": "
|
|
2589
|
-
"
|
|
2590
|
-
"type": {
|
|
2591
|
-
"text": "void"
|
|
2592
|
-
}
|
|
2593
|
-
}
|
|
2611
|
+
"name": "openChanged",
|
|
2612
|
+
"privacy": "protected"
|
|
2594
2613
|
},
|
|
2595
2614
|
{
|
|
2596
2615
|
"kind": "method",
|
|
2597
|
-
"name": "
|
|
2616
|
+
"name": "toggleActionsMenuVisibility"
|
|
2598
2617
|
},
|
|
2599
2618
|
{
|
|
2600
2619
|
"kind": "method",
|
|
2601
|
-
"name": "
|
|
2620
|
+
"name": "onActionMenuItemClick",
|
|
2621
|
+
"parameters": [
|
|
2622
|
+
{
|
|
2623
|
+
"name": "callback",
|
|
2624
|
+
"type": {
|
|
2625
|
+
"text": "(rowData) => void | any"
|
|
2626
|
+
}
|
|
2627
|
+
}
|
|
2628
|
+
]
|
|
2602
2629
|
},
|
|
2603
2630
|
{
|
|
2604
|
-
"kind": "
|
|
2605
|
-
"name": "
|
|
2631
|
+
"kind": "field",
|
|
2632
|
+
"name": "allActions",
|
|
2633
|
+
"type": {
|
|
2634
|
+
"text": "ActionMenuItem[]"
|
|
2635
|
+
},
|
|
2636
|
+
"readonly": true
|
|
2637
|
+
},
|
|
2638
|
+
{
|
|
2639
|
+
"kind": "field",
|
|
2640
|
+
"name": "rowData",
|
|
2641
|
+
"readonly": true
|
|
2606
2642
|
},
|
|
2607
2643
|
{
|
|
2608
2644
|
"kind": "method",
|
|
2609
|
-
"name": "
|
|
2645
|
+
"name": "getLabel",
|
|
2646
|
+
"parameters": [
|
|
2647
|
+
{
|
|
2648
|
+
"name": "name",
|
|
2649
|
+
"type": {
|
|
2650
|
+
"text": "string | ((rowData: any) => string)"
|
|
2651
|
+
}
|
|
2652
|
+
}
|
|
2653
|
+
]
|
|
2610
2654
|
},
|
|
2611
2655
|
{
|
|
2612
2656
|
"kind": "method",
|
|
2613
|
-
"name": "
|
|
2614
|
-
"
|
|
2657
|
+
"name": "getTemplate",
|
|
2658
|
+
"parameters": [
|
|
2659
|
+
{
|
|
2660
|
+
"name": "prefix",
|
|
2661
|
+
"type": {
|
|
2662
|
+
"text": "string"
|
|
2663
|
+
}
|
|
2664
|
+
}
|
|
2665
|
+
]
|
|
2615
2666
|
},
|
|
2616
2667
|
{
|
|
2617
2668
|
"kind": "field",
|
|
@@ -2725,154 +2776,115 @@
|
|
|
2725
2776
|
}
|
|
2726
2777
|
}
|
|
2727
2778
|
],
|
|
2728
|
-
"
|
|
2779
|
+
"attributes": [
|
|
2729
2780
|
{
|
|
2730
|
-
"
|
|
2731
|
-
"
|
|
2781
|
+
"name": "is-vertical",
|
|
2782
|
+
"type": {
|
|
2783
|
+
"text": "boolean"
|
|
2784
|
+
},
|
|
2785
|
+
"default": "false",
|
|
2786
|
+
"fieldName": "isVertical"
|
|
2732
2787
|
},
|
|
2733
2788
|
{
|
|
2734
|
-
"
|
|
2735
|
-
"
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2789
|
+
"name": "add-default-actions",
|
|
2790
|
+
"type": {
|
|
2791
|
+
"text": "boolean"
|
|
2792
|
+
},
|
|
2793
|
+
"default": "true",
|
|
2794
|
+
"fieldName": "addDefaultActions"
|
|
2795
|
+
},
|
|
2739
2796
|
{
|
|
2740
|
-
"name": "
|
|
2797
|
+
"name": "auto-close-on-action",
|
|
2798
|
+
"type": {
|
|
2799
|
+
"text": "boolean"
|
|
2800
|
+
},
|
|
2801
|
+
"default": "true",
|
|
2802
|
+
"fieldName": "autoCloseOnAction"
|
|
2803
|
+
},
|
|
2804
|
+
{
|
|
2805
|
+
"name": "name",
|
|
2741
2806
|
"type": {
|
|
2742
2807
|
"text": "string"
|
|
2743
2808
|
},
|
|
2744
|
-
"default": "'
|
|
2745
|
-
"fieldName": "
|
|
2809
|
+
"default": "'Actions'",
|
|
2810
|
+
"fieldName": "name"
|
|
2746
2811
|
},
|
|
2747
2812
|
{
|
|
2813
|
+
"name": "open",
|
|
2748
2814
|
"type": {
|
|
2749
2815
|
"text": "boolean"
|
|
2750
2816
|
},
|
|
2751
|
-
"
|
|
2817
|
+
"default": "false",
|
|
2818
|
+
"fieldName": "open"
|
|
2819
|
+
},
|
|
2820
|
+
{
|
|
2821
|
+
"name": "buttonAppearance",
|
|
2822
|
+
"type": {
|
|
2823
|
+
"text": "string"
|
|
2824
|
+
},
|
|
2825
|
+
"fieldName": "buttonAppearance"
|
|
2826
|
+
},
|
|
2827
|
+
{
|
|
2828
|
+
"name": "hide-disabled",
|
|
2829
|
+
"type": {
|
|
2830
|
+
"text": "boolean"
|
|
2831
|
+
},
|
|
2832
|
+
"default": "false",
|
|
2833
|
+
"fieldName": "hideDisabled"
|
|
2834
|
+
},
|
|
2835
|
+
{
|
|
2836
|
+
"name": "hide-menu-single-option",
|
|
2837
|
+
"type": {
|
|
2838
|
+
"text": "boolean"
|
|
2839
|
+
},
|
|
2840
|
+
"default": "false",
|
|
2841
|
+
"fieldName": "hideMenuSingleOption"
|
|
2752
2842
|
}
|
|
2753
2843
|
],
|
|
2754
2844
|
"superclass": {
|
|
2755
2845
|
"name": "FoundationElement",
|
|
2756
2846
|
"package": "@microsoft/fast-foundation"
|
|
2757
2847
|
},
|
|
2758
|
-
"tagName": "%%prefix%%-
|
|
2848
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
2759
2849
|
"customElement": true
|
|
2760
2850
|
},
|
|
2761
2851
|
{
|
|
2762
2852
|
"kind": "variable",
|
|
2763
|
-
"name": "
|
|
2764
|
-
"
|
|
2765
|
-
|
|
2766
|
-
},
|
|
2767
|
-
"default": "undefined"
|
|
2768
|
-
},
|
|
2769
|
-
{
|
|
2770
|
-
"kind": "variable",
|
|
2771
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2772
|
-
"type": {
|
|
2773
|
-
"text": "object"
|
|
2774
|
-
},
|
|
2775
|
-
"default": "{}"
|
|
2776
|
-
},
|
|
2777
|
-
{
|
|
2778
|
-
"kind": "variable",
|
|
2779
|
-
"name": "foundationAiCriteriaSearch"
|
|
2853
|
+
"name": "foundationActionsMenu",
|
|
2854
|
+
"description": "The Foundation Actions Menu",
|
|
2855
|
+
"privacy": "public"
|
|
2780
2856
|
}
|
|
2781
2857
|
],
|
|
2782
2858
|
"exports": [
|
|
2783
2859
|
{
|
|
2784
2860
|
"kind": "js",
|
|
2785
|
-
"name": "
|
|
2786
|
-
"declaration": {
|
|
2787
|
-
"name": "AiCriteriaSearch",
|
|
2788
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2789
|
-
}
|
|
2790
|
-
},
|
|
2791
|
-
{
|
|
2792
|
-
"kind": "js",
|
|
2793
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2794
|
-
"declaration": {
|
|
2795
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2796
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2797
|
-
}
|
|
2798
|
-
},
|
|
2799
|
-
{
|
|
2800
|
-
"kind": "js",
|
|
2801
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2861
|
+
"name": "ActionsMenu",
|
|
2802
2862
|
"declaration": {
|
|
2803
|
-
"name": "
|
|
2804
|
-
"module": "src/
|
|
2863
|
+
"name": "ActionsMenu",
|
|
2864
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2805
2865
|
}
|
|
2806
2866
|
},
|
|
2807
2867
|
{
|
|
2808
2868
|
"kind": "js",
|
|
2809
|
-
"name": "
|
|
2869
|
+
"name": "foundationActionsMenu",
|
|
2810
2870
|
"declaration": {
|
|
2811
|
-
"name": "
|
|
2812
|
-
"module": "src/
|
|
2871
|
+
"name": "foundationActionsMenu",
|
|
2872
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2813
2873
|
}
|
|
2814
2874
|
}
|
|
2815
2875
|
]
|
|
2816
2876
|
},
|
|
2817
2877
|
{
|
|
2818
2878
|
"kind": "javascript-module",
|
|
2819
|
-
"path": "src/
|
|
2879
|
+
"path": "src/actions-menu/index.ts",
|
|
2820
2880
|
"declarations": [],
|
|
2821
2881
|
"exports": [
|
|
2822
|
-
{
|
|
2823
|
-
"kind": "js",
|
|
2824
|
-
"name": "AiCriteriaSearch",
|
|
2825
|
-
"declaration": {
|
|
2826
|
-
"name": "AiCriteriaSearch",
|
|
2827
|
-
"module": "./ai-criteria-search"
|
|
2828
|
-
}
|
|
2829
|
-
},
|
|
2830
|
-
{
|
|
2831
|
-
"kind": "js",
|
|
2832
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2833
|
-
"declaration": {
|
|
2834
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2835
|
-
"module": "./ai-criteria-search"
|
|
2836
|
-
}
|
|
2837
|
-
},
|
|
2838
|
-
{
|
|
2839
|
-
"kind": "js",
|
|
2840
|
-
"name": "foundationAiCriteriaSearch",
|
|
2841
|
-
"declaration": {
|
|
2842
|
-
"name": "foundationAiCriteriaSearch",
|
|
2843
|
-
"module": "./ai-criteria-search"
|
|
2844
|
-
}
|
|
2845
|
-
},
|
|
2846
|
-
{
|
|
2847
|
-
"kind": "js",
|
|
2848
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2849
|
-
"declaration": {
|
|
2850
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2851
|
-
"module": "./ai-criteria-search"
|
|
2852
|
-
}
|
|
2853
|
-
},
|
|
2854
|
-
{
|
|
2855
|
-
"kind": "js",
|
|
2856
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2857
|
-
"declaration": {
|
|
2858
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2859
|
-
"module": "./ai-criteria-search.styles"
|
|
2860
|
-
}
|
|
2861
|
-
},
|
|
2862
|
-
{
|
|
2863
|
-
"kind": "js",
|
|
2864
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2865
|
-
"declaration": {
|
|
2866
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2867
|
-
"module": "./ai-criteria-search.template"
|
|
2868
|
-
}
|
|
2869
|
-
},
|
|
2870
2882
|
{
|
|
2871
2883
|
"kind": "js",
|
|
2872
2884
|
"name": "*",
|
|
2873
2885
|
"declaration": {
|
|
2874
2886
|
"name": "*",
|
|
2875
|
-
"package": "./
|
|
2887
|
+
"package": "./actions-menu.styles"
|
|
2876
2888
|
}
|
|
2877
2889
|
},
|
|
2878
2890
|
{
|
|
@@ -2880,7 +2892,7 @@
|
|
|
2880
2892
|
"name": "*",
|
|
2881
2893
|
"declaration": {
|
|
2882
2894
|
"name": "*",
|
|
2883
|
-
"package": "./
|
|
2895
|
+
"package": "./actions-menu.template"
|
|
2884
2896
|
}
|
|
2885
2897
|
},
|
|
2886
2898
|
{
|
|
@@ -2888,157 +2900,64 @@
|
|
|
2888
2900
|
"name": "*",
|
|
2889
2901
|
"declaration": {
|
|
2890
2902
|
"name": "*",
|
|
2891
|
-
"package": "./
|
|
2892
|
-
}
|
|
2893
|
-
}
|
|
2894
|
-
]
|
|
2895
|
-
},
|
|
2896
|
-
{
|
|
2897
|
-
"kind": "javascript-module",
|
|
2898
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
2899
|
-
"declarations": [
|
|
2900
|
-
{
|
|
2901
|
-
"kind": "function",
|
|
2902
|
-
"name": "formatValidationErrors",
|
|
2903
|
-
"return": {
|
|
2904
|
-
"type": {
|
|
2905
|
-
"text": "string"
|
|
2906
|
-
}
|
|
2907
|
-
},
|
|
2908
|
-
"parameters": [
|
|
2909
|
-
{
|
|
2910
|
-
"name": "errors",
|
|
2911
|
-
"type": {
|
|
2912
|
-
"text": "ValidationError[]"
|
|
2913
|
-
}
|
|
2914
|
-
}
|
|
2915
|
-
],
|
|
2916
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
2917
|
-
},
|
|
2918
|
-
{
|
|
2919
|
-
"kind": "function",
|
|
2920
|
-
"name": "showCriteriaError",
|
|
2921
|
-
"return": {
|
|
2922
|
-
"type": {
|
|
2923
|
-
"text": "void"
|
|
2924
|
-
}
|
|
2925
|
-
},
|
|
2926
|
-
"parameters": [
|
|
2927
|
-
{
|
|
2928
|
-
"name": "title",
|
|
2929
|
-
"type": {
|
|
2930
|
-
"text": "string"
|
|
2931
|
-
},
|
|
2932
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
2933
|
-
},
|
|
2934
|
-
{
|
|
2935
|
-
"name": "body",
|
|
2936
|
-
"type": {
|
|
2937
|
-
"text": "string"
|
|
2938
|
-
},
|
|
2939
|
-
"description": "Error message to display"
|
|
2940
|
-
},
|
|
2941
|
-
{
|
|
2942
|
-
"name": "tagName",
|
|
2943
|
-
"type": {
|
|
2944
|
-
"text": "string"
|
|
2945
|
-
},
|
|
2946
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
2947
|
-
}
|
|
2948
|
-
],
|
|
2949
|
-
"description": "Shows a criteria error as a toast notification."
|
|
2950
|
-
}
|
|
2951
|
-
],
|
|
2952
|
-
"exports": [
|
|
2953
|
-
{
|
|
2954
|
-
"kind": "js",
|
|
2955
|
-
"name": "formatValidationErrors",
|
|
2956
|
-
"declaration": {
|
|
2957
|
-
"name": "formatValidationErrors",
|
|
2958
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2959
|
-
}
|
|
2960
|
-
},
|
|
2961
|
-
{
|
|
2962
|
-
"kind": "js",
|
|
2963
|
-
"name": "showCriteriaError",
|
|
2964
|
-
"declaration": {
|
|
2965
|
-
"name": "showCriteriaError",
|
|
2966
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2903
|
+
"package": "./actions-menu"
|
|
2967
2904
|
}
|
|
2968
2905
|
}
|
|
2969
2906
|
]
|
|
2970
2907
|
},
|
|
2971
2908
|
{
|
|
2972
2909
|
"kind": "javascript-module",
|
|
2973
|
-
"path": "src/ai-
|
|
2910
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
2974
2911
|
"declarations": [
|
|
2975
2912
|
{
|
|
2976
|
-
"kind": "
|
|
2977
|
-
"name": "
|
|
2978
|
-
"
|
|
2979
|
-
"type": {
|
|
2980
|
-
"text": "ElementStyles"
|
|
2981
|
-
}
|
|
2982
|
-
},
|
|
2983
|
-
"parameters": [
|
|
2984
|
-
{
|
|
2985
|
-
"name": "context",
|
|
2986
|
-
"type": {
|
|
2987
|
-
"text": "ElementDefinitionContext"
|
|
2988
|
-
}
|
|
2989
|
-
},
|
|
2990
|
-
{
|
|
2991
|
-
"name": "definition",
|
|
2992
|
-
"type": {
|
|
2993
|
-
"text": "FoundationElementDefinition"
|
|
2994
|
-
}
|
|
2995
|
-
}
|
|
2996
|
-
]
|
|
2913
|
+
"kind": "variable",
|
|
2914
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2915
|
+
"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`"
|
|
2997
2916
|
}
|
|
2998
2917
|
],
|
|
2999
2918
|
"exports": [
|
|
3000
2919
|
{
|
|
3001
2920
|
"kind": "js",
|
|
3002
|
-
"name": "
|
|
2921
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3003
2922
|
"declaration": {
|
|
3004
|
-
"name": "
|
|
3005
|
-
"module": "src/ai-
|
|
2923
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2924
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
3006
2925
|
}
|
|
3007
2926
|
}
|
|
3008
2927
|
]
|
|
3009
2928
|
},
|
|
3010
2929
|
{
|
|
3011
2930
|
"kind": "javascript-module",
|
|
3012
|
-
"path": "src/ai-
|
|
2931
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
3013
2932
|
"declarations": [
|
|
3014
2933
|
{
|
|
3015
2934
|
"kind": "variable",
|
|
3016
|
-
"name": "
|
|
2935
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3017
2936
|
"type": {
|
|
3018
|
-
"text": "ViewTemplate<
|
|
2937
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
3019
2938
|
},
|
|
3020
|
-
"default": "html`\n ${(x) =>
|
|
2939
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
3021
2940
|
}
|
|
3022
2941
|
],
|
|
3023
2942
|
"exports": [
|
|
3024
2943
|
{
|
|
3025
2944
|
"kind": "js",
|
|
3026
|
-
"name": "
|
|
2945
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3027
2946
|
"declaration": {
|
|
3028
|
-
"name": "
|
|
3029
|
-
"module": "src/ai-
|
|
2947
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2948
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
3030
2949
|
}
|
|
3031
2950
|
}
|
|
3032
2951
|
]
|
|
3033
2952
|
},
|
|
3034
2953
|
{
|
|
3035
2954
|
"kind": "javascript-module",
|
|
3036
|
-
"path": "src/ai-
|
|
2955
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
3037
2956
|
"declarations": [
|
|
3038
2957
|
{
|
|
3039
2958
|
"kind": "class",
|
|
3040
|
-
"description": "",
|
|
3041
|
-
"name": "
|
|
2959
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2960
|
+
"name": "AiCriteriaSearch",
|
|
3042
2961
|
"members": [
|
|
3043
2962
|
{
|
|
3044
2963
|
"kind": "field",
|
|
@@ -3049,25 +2968,54 @@
|
|
|
3049
2968
|
},
|
|
3050
2969
|
{
|
|
3051
2970
|
"kind": "field",
|
|
3052
|
-
"name": "
|
|
2971
|
+
"name": "placeholder",
|
|
3053
2972
|
"type": {
|
|
3054
|
-
"text": "
|
|
2973
|
+
"text": "string"
|
|
3055
2974
|
},
|
|
3056
|
-
"
|
|
3057
|
-
"description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
|
|
3058
|
-
"readonly": true
|
|
2975
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
3059
2976
|
},
|
|
3060
2977
|
{
|
|
3061
2978
|
"kind": "field",
|
|
3062
|
-
"name": "
|
|
2979
|
+
"name": "disabled",
|
|
3063
2980
|
"type": {
|
|
3064
|
-
"text": "
|
|
2981
|
+
"text": "boolean"
|
|
2982
|
+
}
|
|
2983
|
+
},
|
|
2984
|
+
{
|
|
2985
|
+
"kind": "field",
|
|
2986
|
+
"name": "inputValue",
|
|
2987
|
+
"type": {
|
|
2988
|
+
"text": "string"
|
|
2989
|
+
},
|
|
2990
|
+
"default": "''"
|
|
2991
|
+
},
|
|
2992
|
+
{
|
|
2993
|
+
"kind": "field",
|
|
2994
|
+
"name": "isInterpreting",
|
|
2995
|
+
"type": {
|
|
2996
|
+
"text": "boolean"
|
|
2997
|
+
},
|
|
2998
|
+
"default": "false"
|
|
2999
|
+
},
|
|
3000
|
+
{
|
|
3001
|
+
"kind": "field",
|
|
3002
|
+
"name": "lastValidCriteria",
|
|
3003
|
+
"type": {
|
|
3004
|
+
"text": "string | null"
|
|
3065
3005
|
},
|
|
3066
3006
|
"default": "null"
|
|
3067
3007
|
},
|
|
3068
3008
|
{
|
|
3069
3009
|
"kind": "field",
|
|
3070
|
-
"name": "
|
|
3010
|
+
"name": "activeGroups",
|
|
3011
|
+
"type": {
|
|
3012
|
+
"text": "CriteriaGroup[]"
|
|
3013
|
+
},
|
|
3014
|
+
"default": "[]"
|
|
3015
|
+
},
|
|
3016
|
+
{
|
|
3017
|
+
"kind": "field",
|
|
3018
|
+
"name": "showingChips",
|
|
3071
3019
|
"type": {
|
|
3072
3020
|
"text": "boolean"
|
|
3073
3021
|
},
|
|
@@ -3075,15 +3023,15 @@
|
|
|
3075
3023
|
},
|
|
3076
3024
|
{
|
|
3077
3025
|
"kind": "field",
|
|
3078
|
-
"name": "
|
|
3026
|
+
"name": "fieldMetadata",
|
|
3079
3027
|
"type": {
|
|
3080
|
-
"text": "
|
|
3028
|
+
"text": "MetadataDetail[] | string[]"
|
|
3081
3029
|
},
|
|
3082
|
-
"default": "
|
|
3030
|
+
"default": "[]"
|
|
3083
3031
|
},
|
|
3084
3032
|
{
|
|
3085
3033
|
"kind": "field",
|
|
3086
|
-
"name": "
|
|
3034
|
+
"name": "isRecording",
|
|
3087
3035
|
"type": {
|
|
3088
3036
|
"text": "boolean"
|
|
3089
3037
|
},
|
|
@@ -3091,29 +3039,33 @@
|
|
|
3091
3039
|
},
|
|
3092
3040
|
{
|
|
3093
3041
|
"kind": "field",
|
|
3094
|
-
"name": "
|
|
3042
|
+
"name": "textAreaRef",
|
|
3095
3043
|
"type": {
|
|
3096
|
-
"text": "
|
|
3044
|
+
"text": "HTMLTextAreaElement"
|
|
3097
3045
|
},
|
|
3098
|
-
"privacy": "
|
|
3099
|
-
"default": "null"
|
|
3046
|
+
"privacy": "public"
|
|
3100
3047
|
},
|
|
3101
3048
|
{
|
|
3102
3049
|
"kind": "field",
|
|
3103
|
-
"name": "
|
|
3104
|
-
"
|
|
3050
|
+
"name": "stopRecording",
|
|
3051
|
+
"type": {
|
|
3052
|
+
"text": "(() => void) | null"
|
|
3053
|
+
},
|
|
3054
|
+
"privacy": "private",
|
|
3055
|
+
"default": "null"
|
|
3105
3056
|
},
|
|
3106
3057
|
{
|
|
3107
3058
|
"kind": "field",
|
|
3108
|
-
"name": "
|
|
3059
|
+
"name": "speechApplyDebounceTimer",
|
|
3109
3060
|
"type": {
|
|
3110
|
-
"text": "
|
|
3061
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3111
3062
|
},
|
|
3112
|
-
"
|
|
3063
|
+
"privacy": "private",
|
|
3064
|
+
"default": "null"
|
|
3113
3065
|
},
|
|
3114
3066
|
{
|
|
3115
3067
|
"kind": "field",
|
|
3116
|
-
"name": "
|
|
3068
|
+
"name": "speechAvailable",
|
|
3117
3069
|
"type": {
|
|
3118
3070
|
"text": "boolean"
|
|
3119
3071
|
},
|
|
@@ -3121,69 +3073,65 @@
|
|
|
3121
3073
|
},
|
|
3122
3074
|
{
|
|
3123
3075
|
"kind": "field",
|
|
3124
|
-
"name": "
|
|
3076
|
+
"name": "criteriaChips",
|
|
3125
3077
|
"type": {
|
|
3126
|
-
"text": "
|
|
3078
|
+
"text": "CriteriaChip[]"
|
|
3127
3079
|
},
|
|
3128
3080
|
"readonly": true
|
|
3129
3081
|
},
|
|
3130
3082
|
{
|
|
3131
3083
|
"kind": "method",
|
|
3132
|
-
"name": "
|
|
3084
|
+
"name": "getFieldLabel",
|
|
3085
|
+
"privacy": "private",
|
|
3133
3086
|
"return": {
|
|
3134
3087
|
"type": {
|
|
3135
|
-
"text": "
|
|
3088
|
+
"text": "string"
|
|
3136
3089
|
}
|
|
3137
|
-
}
|
|
3138
|
-
},
|
|
3139
|
-
{
|
|
3140
|
-
"kind": "method",
|
|
3141
|
-
"name": "handleClickOutside",
|
|
3142
|
-
"privacy": "private",
|
|
3090
|
+
},
|
|
3143
3091
|
"parameters": [
|
|
3144
3092
|
{
|
|
3145
|
-
"name": "
|
|
3093
|
+
"name": "fieldName",
|
|
3146
3094
|
"type": {
|
|
3147
|
-
"text": "
|
|
3095
|
+
"text": "string"
|
|
3148
3096
|
}
|
|
3149
3097
|
}
|
|
3150
3098
|
]
|
|
3151
3099
|
},
|
|
3152
3100
|
{
|
|
3153
3101
|
"kind": "method",
|
|
3154
|
-
"name": "
|
|
3155
|
-
},
|
|
3156
|
-
{
|
|
3157
|
-
"kind": "method",
|
|
3158
|
-
"name": "refreshStatus",
|
|
3102
|
+
"name": "toggleCriteriaView",
|
|
3159
3103
|
"return": {
|
|
3160
3104
|
"type": {
|
|
3161
|
-
"text": "
|
|
3105
|
+
"text": "void"
|
|
3162
3106
|
}
|
|
3163
3107
|
}
|
|
3164
3108
|
},
|
|
3165
3109
|
{
|
|
3166
3110
|
"kind": "method",
|
|
3167
|
-
"name": "
|
|
3168
|
-
"privacy": "private",
|
|
3111
|
+
"name": "removeChip",
|
|
3169
3112
|
"return": {
|
|
3170
3113
|
"type": {
|
|
3171
|
-
"text": "
|
|
3114
|
+
"text": "void"
|
|
3172
3115
|
}
|
|
3173
3116
|
},
|
|
3174
3117
|
"parameters": [
|
|
3175
3118
|
{
|
|
3176
|
-
"name": "
|
|
3119
|
+
"name": "groupIndex",
|
|
3177
3120
|
"type": {
|
|
3178
|
-
"text": "
|
|
3121
|
+
"text": "number"
|
|
3122
|
+
}
|
|
3123
|
+
},
|
|
3124
|
+
{
|
|
3125
|
+
"name": "clauseIndex",
|
|
3126
|
+
"type": {
|
|
3127
|
+
"text": "number"
|
|
3179
3128
|
}
|
|
3180
3129
|
}
|
|
3181
3130
|
]
|
|
3182
3131
|
},
|
|
3183
3132
|
{
|
|
3184
3133
|
"kind": "method",
|
|
3185
|
-
"name": "
|
|
3186
|
-
"privacy": "private",
|
|
3134
|
+
"name": "clearChips",
|
|
3187
3135
|
"return": {
|
|
3188
3136
|
"type": {
|
|
3189
3137
|
"text": "void"
|
|
@@ -3192,32 +3140,24 @@
|
|
|
3192
3140
|
},
|
|
3193
3141
|
{
|
|
3194
3142
|
"kind": "method",
|
|
3195
|
-
"name": "
|
|
3196
|
-
"privacy": "private",
|
|
3197
|
-
"return": {
|
|
3198
|
-
"type": {
|
|
3199
|
-
"text": "void"
|
|
3200
|
-
}
|
|
3201
|
-
}
|
|
3143
|
+
"name": "handleSubmit"
|
|
3202
3144
|
},
|
|
3203
3145
|
{
|
|
3204
3146
|
"kind": "method",
|
|
3205
|
-
"name": "
|
|
3206
|
-
"privacy": "private",
|
|
3207
|
-
"return": {
|
|
3208
|
-
"type": {
|
|
3209
|
-
"text": "void"
|
|
3210
|
-
}
|
|
3211
|
-
}
|
|
3147
|
+
"name": "handleBlur"
|
|
3212
3148
|
},
|
|
3213
3149
|
{
|
|
3214
3150
|
"kind": "method",
|
|
3215
|
-
"name": "
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3151
|
+
"name": "clear"
|
|
3152
|
+
},
|
|
3153
|
+
{
|
|
3154
|
+
"kind": "method",
|
|
3155
|
+
"name": "toggleSpeechInput"
|
|
3156
|
+
},
|
|
3157
|
+
{
|
|
3158
|
+
"kind": "method",
|
|
3159
|
+
"name": "clearSpeechApplyDebounce",
|
|
3160
|
+
"privacy": "private"
|
|
3221
3161
|
},
|
|
3222
3162
|
{
|
|
3223
3163
|
"kind": "field",
|
|
@@ -3331,103 +3271,154 @@
|
|
|
3331
3271
|
}
|
|
3332
3272
|
}
|
|
3333
3273
|
],
|
|
3274
|
+
"events": [
|
|
3275
|
+
{
|
|
3276
|
+
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
3277
|
+
"name": "criteria-changed"
|
|
3278
|
+
},
|
|
3279
|
+
{
|
|
3280
|
+
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
3281
|
+
"name": "validation-errors"
|
|
3282
|
+
}
|
|
3283
|
+
],
|
|
3284
|
+
"attributes": [
|
|
3285
|
+
{
|
|
3286
|
+
"name": "placeholder",
|
|
3287
|
+
"type": {
|
|
3288
|
+
"text": "string"
|
|
3289
|
+
},
|
|
3290
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
3291
|
+
"fieldName": "placeholder"
|
|
3292
|
+
},
|
|
3293
|
+
{
|
|
3294
|
+
"type": {
|
|
3295
|
+
"text": "boolean"
|
|
3296
|
+
},
|
|
3297
|
+
"fieldName": "disabled"
|
|
3298
|
+
}
|
|
3299
|
+
],
|
|
3334
3300
|
"superclass": {
|
|
3335
3301
|
"name": "FoundationElement",
|
|
3336
3302
|
"package": "@microsoft/fast-foundation"
|
|
3337
3303
|
},
|
|
3338
|
-
"tagName": "%%prefix%%-ai-
|
|
3304
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3339
3305
|
"customElement": true
|
|
3340
3306
|
},
|
|
3341
3307
|
{
|
|
3342
3308
|
"kind": "variable",
|
|
3343
|
-
"name": "
|
|
3309
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3310
|
+
"type": {
|
|
3311
|
+
"text": "ShadowRootInit"
|
|
3312
|
+
},
|
|
3313
|
+
"default": "undefined"
|
|
3314
|
+
},
|
|
3315
|
+
{
|
|
3316
|
+
"kind": "variable",
|
|
3317
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3318
|
+
"type": {
|
|
3319
|
+
"text": "object"
|
|
3320
|
+
},
|
|
3321
|
+
"default": "{}"
|
|
3322
|
+
},
|
|
3323
|
+
{
|
|
3324
|
+
"kind": "variable",
|
|
3325
|
+
"name": "foundationAiCriteriaSearch"
|
|
3344
3326
|
}
|
|
3345
3327
|
],
|
|
3346
3328
|
"exports": [
|
|
3347
3329
|
{
|
|
3348
3330
|
"kind": "js",
|
|
3349
|
-
"name": "
|
|
3331
|
+
"name": "AiCriteriaSearch",
|
|
3350
3332
|
"declaration": {
|
|
3351
|
-
"name": "
|
|
3352
|
-
"module": "src/ai-
|
|
3333
|
+
"name": "AiCriteriaSearch",
|
|
3334
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3353
3335
|
}
|
|
3354
3336
|
},
|
|
3355
3337
|
{
|
|
3356
3338
|
"kind": "js",
|
|
3357
|
-
"name": "
|
|
3339
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3358
3340
|
"declaration": {
|
|
3359
|
-
"name": "
|
|
3360
|
-
"module": "src/ai-
|
|
3341
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3342
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3343
|
+
}
|
|
3344
|
+
},
|
|
3345
|
+
{
|
|
3346
|
+
"kind": "js",
|
|
3347
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3348
|
+
"declaration": {
|
|
3349
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3350
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3351
|
+
}
|
|
3352
|
+
},
|
|
3353
|
+
{
|
|
3354
|
+
"kind": "js",
|
|
3355
|
+
"name": "foundationAiCriteriaSearch",
|
|
3356
|
+
"declaration": {
|
|
3357
|
+
"name": "foundationAiCriteriaSearch",
|
|
3358
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3361
3359
|
}
|
|
3362
3360
|
}
|
|
3363
3361
|
]
|
|
3364
3362
|
},
|
|
3365
3363
|
{
|
|
3366
3364
|
"kind": "javascript-module",
|
|
3367
|
-
"path": "src/ai-
|
|
3365
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
3368
3366
|
"declarations": [],
|
|
3369
3367
|
"exports": [
|
|
3370
3368
|
{
|
|
3371
3369
|
"kind": "js",
|
|
3372
|
-
"name": "
|
|
3370
|
+
"name": "AiCriteriaSearch",
|
|
3373
3371
|
"declaration": {
|
|
3374
|
-
"name": "
|
|
3375
|
-
"module": "./ai-
|
|
3372
|
+
"name": "AiCriteriaSearch",
|
|
3373
|
+
"module": "./ai-criteria-search"
|
|
3376
3374
|
}
|
|
3377
3375
|
},
|
|
3378
3376
|
{
|
|
3379
3377
|
"kind": "js",
|
|
3380
|
-
"name": "
|
|
3378
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3381
3379
|
"declaration": {
|
|
3382
|
-
"name": "
|
|
3383
|
-
"module": "./ai-
|
|
3380
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3381
|
+
"module": "./ai-criteria-search"
|
|
3384
3382
|
}
|
|
3385
3383
|
},
|
|
3386
3384
|
{
|
|
3387
3385
|
"kind": "js",
|
|
3388
|
-
"name": "
|
|
3386
|
+
"name": "foundationAiCriteriaSearch",
|
|
3389
3387
|
"declaration": {
|
|
3390
|
-
"name": "
|
|
3391
|
-
"module": "./ai-
|
|
3388
|
+
"name": "foundationAiCriteriaSearch",
|
|
3389
|
+
"module": "./ai-criteria-search"
|
|
3392
3390
|
}
|
|
3393
3391
|
},
|
|
3394
3392
|
{
|
|
3395
3393
|
"kind": "js",
|
|
3396
|
-
"name": "
|
|
3394
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3397
3395
|
"declaration": {
|
|
3398
|
-
"name": "
|
|
3399
|
-
"module": "./ai-
|
|
3396
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3397
|
+
"module": "./ai-criteria-search"
|
|
3400
3398
|
}
|
|
3401
3399
|
},
|
|
3402
3400
|
{
|
|
3403
3401
|
"kind": "js",
|
|
3404
|
-
"name": "
|
|
3402
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3405
3403
|
"declaration": {
|
|
3406
|
-
"name": "
|
|
3407
|
-
"module": "./ai-
|
|
3404
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3405
|
+
"module": "./ai-criteria-search.styles"
|
|
3408
3406
|
}
|
|
3409
3407
|
},
|
|
3410
3408
|
{
|
|
3411
3409
|
"kind": "js",
|
|
3412
|
-
"name": "
|
|
3410
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3413
3411
|
"declaration": {
|
|
3414
|
-
"name": "
|
|
3415
|
-
"module": "./ai-
|
|
3412
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3413
|
+
"module": "./ai-criteria-search.template"
|
|
3416
3414
|
}
|
|
3417
|
-
}
|
|
3418
|
-
]
|
|
3419
|
-
},
|
|
3420
|
-
{
|
|
3421
|
-
"kind": "javascript-module",
|
|
3422
|
-
"path": "src/_config/index.ts",
|
|
3423
|
-
"declarations": [],
|
|
3424
|
-
"exports": [
|
|
3415
|
+
},
|
|
3425
3416
|
{
|
|
3426
3417
|
"kind": "js",
|
|
3427
3418
|
"name": "*",
|
|
3428
3419
|
"declaration": {
|
|
3429
3420
|
"name": "*",
|
|
3430
|
-
"package": "./
|
|
3421
|
+
"package": "./validation/criteria-ir"
|
|
3431
3422
|
}
|
|
3432
3423
|
},
|
|
3433
3424
|
{
|
|
@@ -3435,7 +3426,7 @@
|
|
|
3435
3426
|
"name": "*",
|
|
3436
3427
|
"declaration": {
|
|
3437
3428
|
"name": "*",
|
|
3438
|
-
"package": "./
|
|
3429
|
+
"package": "./validation/operator-map"
|
|
3439
3430
|
}
|
|
3440
3431
|
},
|
|
3441
3432
|
{
|
|
@@ -3443,60 +3434,96 @@
|
|
|
3443
3434
|
"name": "*",
|
|
3444
3435
|
"declaration": {
|
|
3445
3436
|
"name": "*",
|
|
3446
|
-
"package": "./
|
|
3437
|
+
"package": "./validation/schema-validator"
|
|
3447
3438
|
}
|
|
3448
3439
|
}
|
|
3449
3440
|
]
|
|
3450
3441
|
},
|
|
3451
3442
|
{
|
|
3452
3443
|
"kind": "javascript-module",
|
|
3453
|
-
"path": "src/
|
|
3444
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3454
3445
|
"declarations": [
|
|
3455
3446
|
{
|
|
3456
3447
|
"kind": "function",
|
|
3457
|
-
"name": "
|
|
3448
|
+
"name": "formatValidationErrors",
|
|
3458
3449
|
"return": {
|
|
3459
3450
|
"type": {
|
|
3460
|
-
"text": "
|
|
3451
|
+
"text": "string"
|
|
3461
3452
|
}
|
|
3462
3453
|
},
|
|
3463
3454
|
"parameters": [
|
|
3464
3455
|
{
|
|
3465
|
-
"name": "
|
|
3456
|
+
"name": "errors",
|
|
3466
3457
|
"type": {
|
|
3467
|
-
"text": "
|
|
3458
|
+
"text": "ValidationError[]"
|
|
3468
3459
|
}
|
|
3460
|
+
}
|
|
3461
|
+
],
|
|
3462
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
3463
|
+
},
|
|
3464
|
+
{
|
|
3465
|
+
"kind": "function",
|
|
3466
|
+
"name": "showCriteriaError",
|
|
3467
|
+
"return": {
|
|
3468
|
+
"type": {
|
|
3469
|
+
"text": "void"
|
|
3470
|
+
}
|
|
3471
|
+
},
|
|
3472
|
+
"parameters": [
|
|
3473
|
+
{
|
|
3474
|
+
"name": "title",
|
|
3475
|
+
"type": {
|
|
3476
|
+
"text": "string"
|
|
3477
|
+
},
|
|
3478
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3469
3479
|
},
|
|
3470
3480
|
{
|
|
3471
|
-
"name": "
|
|
3481
|
+
"name": "body",
|
|
3472
3482
|
"type": {
|
|
3473
|
-
"text": "
|
|
3474
|
-
}
|
|
3483
|
+
"text": "string"
|
|
3484
|
+
},
|
|
3485
|
+
"description": "Error message to display"
|
|
3486
|
+
},
|
|
3487
|
+
{
|
|
3488
|
+
"name": "tagName",
|
|
3489
|
+
"type": {
|
|
3490
|
+
"text": "string"
|
|
3491
|
+
},
|
|
3492
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3475
3493
|
}
|
|
3476
|
-
]
|
|
3494
|
+
],
|
|
3495
|
+
"description": "Shows a criteria error as a toast notification."
|
|
3477
3496
|
}
|
|
3478
3497
|
],
|
|
3479
3498
|
"exports": [
|
|
3480
3499
|
{
|
|
3481
3500
|
"kind": "js",
|
|
3482
|
-
"name": "
|
|
3501
|
+
"name": "formatValidationErrors",
|
|
3483
3502
|
"declaration": {
|
|
3484
|
-
"name": "
|
|
3485
|
-
"module": "src/
|
|
3503
|
+
"name": "formatValidationErrors",
|
|
3504
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3505
|
+
}
|
|
3506
|
+
},
|
|
3507
|
+
{
|
|
3508
|
+
"kind": "js",
|
|
3509
|
+
"name": "showCriteriaError",
|
|
3510
|
+
"declaration": {
|
|
3511
|
+
"name": "showCriteriaError",
|
|
3512
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3486
3513
|
}
|
|
3487
3514
|
}
|
|
3488
3515
|
]
|
|
3489
3516
|
},
|
|
3490
3517
|
{
|
|
3491
3518
|
"kind": "javascript-module",
|
|
3492
|
-
"path": "src/
|
|
3519
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
3493
3520
|
"declarations": [
|
|
3494
3521
|
{
|
|
3495
3522
|
"kind": "function",
|
|
3496
|
-
"name": "
|
|
3523
|
+
"name": "foundationAiIndicatorStyles",
|
|
3497
3524
|
"return": {
|
|
3498
3525
|
"type": {
|
|
3499
|
-
"text": "
|
|
3526
|
+
"text": "ElementStyles"
|
|
3500
3527
|
}
|
|
3501
3528
|
},
|
|
3502
3529
|
"parameters": [
|
|
@@ -3518,237 +3545,224 @@
|
|
|
3518
3545
|
"exports": [
|
|
3519
3546
|
{
|
|
3520
3547
|
"kind": "js",
|
|
3521
|
-
"name": "
|
|
3548
|
+
"name": "foundationAiIndicatorStyles",
|
|
3522
3549
|
"declaration": {
|
|
3523
|
-
"name": "
|
|
3524
|
-
"module": "src/
|
|
3550
|
+
"name": "foundationAiIndicatorStyles",
|
|
3551
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
3525
3552
|
}
|
|
3526
3553
|
}
|
|
3527
3554
|
]
|
|
3528
3555
|
},
|
|
3529
3556
|
{
|
|
3530
3557
|
"kind": "javascript-module",
|
|
3531
|
-
"path": "src/
|
|
3558
|
+
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
3559
|
+
"declarations": [
|
|
3560
|
+
{
|
|
3561
|
+
"kind": "variable",
|
|
3562
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3563
|
+
"type": {
|
|
3564
|
+
"text": "ViewTemplate<AiIndicator>"
|
|
3565
|
+
},
|
|
3566
|
+
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
3567
|
+
}
|
|
3568
|
+
],
|
|
3569
|
+
"exports": [
|
|
3570
|
+
{
|
|
3571
|
+
"kind": "js",
|
|
3572
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3573
|
+
"declaration": {
|
|
3574
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3575
|
+
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
3576
|
+
}
|
|
3577
|
+
}
|
|
3578
|
+
]
|
|
3579
|
+
},
|
|
3580
|
+
{
|
|
3581
|
+
"kind": "javascript-module",
|
|
3582
|
+
"path": "src/ai-indicator/ai-indicator.ts",
|
|
3532
3583
|
"declarations": [
|
|
3533
3584
|
{
|
|
3534
3585
|
"kind": "class",
|
|
3535
3586
|
"description": "",
|
|
3536
|
-
"name": "
|
|
3537
|
-
"
|
|
3538
|
-
"name": "FASTAccordion",
|
|
3539
|
-
"package": "@microsoft/fast-foundation"
|
|
3540
|
-
},
|
|
3541
|
-
"tagName": "%%prefix%%-accordion",
|
|
3542
|
-
"customElement": true,
|
|
3543
|
-
"attributes": [
|
|
3587
|
+
"name": "AiIndicator",
|
|
3588
|
+
"members": [
|
|
3544
3589
|
{
|
|
3545
|
-
"
|
|
3590
|
+
"kind": "field",
|
|
3591
|
+
"name": "providerRegistry",
|
|
3546
3592
|
"type": {
|
|
3547
|
-
"text": "
|
|
3548
|
-
},
|
|
3549
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3550
|
-
"fieldName": "expandmode",
|
|
3551
|
-
"inheritedFrom": {
|
|
3552
|
-
"name": "Accordion",
|
|
3553
|
-
"module": "src/accordion/accordion.ts"
|
|
3593
|
+
"text": "AIProviderRegistry"
|
|
3554
3594
|
}
|
|
3555
|
-
}
|
|
3556
|
-
],
|
|
3557
|
-
"members": [
|
|
3595
|
+
},
|
|
3558
3596
|
{
|
|
3559
3597
|
"kind": "field",
|
|
3560
|
-
"name": "
|
|
3598
|
+
"name": "aiProvider",
|
|
3561
3599
|
"type": {
|
|
3562
|
-
"text": "
|
|
3600
|
+
"text": "AIProvider | undefined"
|
|
3563
3601
|
},
|
|
3564
|
-
"privacy": "
|
|
3565
|
-
"description": "
|
|
3566
|
-
"
|
|
3567
|
-
"name": "Accordion",
|
|
3568
|
-
"module": "src/accordion/accordion.ts"
|
|
3569
|
-
}
|
|
3602
|
+
"privacy": "private",
|
|
3603
|
+
"description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
|
|
3604
|
+
"readonly": true
|
|
3570
3605
|
},
|
|
3571
3606
|
{
|
|
3572
3607
|
"kind": "field",
|
|
3573
|
-
"name": "
|
|
3608
|
+
"name": "status",
|
|
3574
3609
|
"type": {
|
|
3575
|
-
"text": "
|
|
3610
|
+
"text": "AIStatus | null"
|
|
3576
3611
|
},
|
|
3577
|
-
"
|
|
3578
|
-
"inheritedFrom": {
|
|
3579
|
-
"name": "Accordion",
|
|
3580
|
-
"module": "src/accordion/accordion.ts"
|
|
3581
|
-
}
|
|
3612
|
+
"default": "null"
|
|
3582
3613
|
},
|
|
3583
3614
|
{
|
|
3584
3615
|
"kind": "field",
|
|
3585
|
-
"name": "
|
|
3616
|
+
"name": "open",
|
|
3586
3617
|
"type": {
|
|
3587
|
-
"text": "
|
|
3618
|
+
"text": "boolean"
|
|
3588
3619
|
},
|
|
3589
|
-
"
|
|
3590
|
-
"default": "0",
|
|
3591
|
-
"inheritedFrom": {
|
|
3592
|
-
"name": "Accordion",
|
|
3593
|
-
"module": "src/accordion/accordion.ts"
|
|
3594
|
-
}
|
|
3620
|
+
"default": "false"
|
|
3595
3621
|
},
|
|
3596
3622
|
{
|
|
3597
3623
|
"kind": "field",
|
|
3598
|
-
"name": "
|
|
3624
|
+
"name": "state",
|
|
3599
3625
|
"type": {
|
|
3600
|
-
"text": "
|
|
3626
|
+
"text": "AIIndicatorState"
|
|
3601
3627
|
},
|
|
3602
|
-
"
|
|
3603
|
-
"inheritedFrom": {
|
|
3604
|
-
"name": "Accordion",
|
|
3605
|
-
"module": "src/accordion/accordion.ts"
|
|
3606
|
-
}
|
|
3628
|
+
"default": "'none'"
|
|
3607
3629
|
},
|
|
3608
3630
|
{
|
|
3609
3631
|
"kind": "field",
|
|
3610
|
-
"name": "
|
|
3611
|
-
"
|
|
3612
|
-
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
}
|
|
3632
|
+
"name": "isInstalling",
|
|
3633
|
+
"type": {
|
|
3634
|
+
"text": "boolean"
|
|
3635
|
+
},
|
|
3636
|
+
"default": "false"
|
|
3616
3637
|
},
|
|
3617
3638
|
{
|
|
3618
|
-
"kind": "
|
|
3619
|
-
"name": "
|
|
3639
|
+
"kind": "field",
|
|
3640
|
+
"name": "pollTimer",
|
|
3641
|
+
"type": {
|
|
3642
|
+
"text": "ReturnType<typeof setInterval> | null"
|
|
3643
|
+
},
|
|
3620
3644
|
"privacy": "private",
|
|
3621
|
-
"
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3645
|
+
"default": "null"
|
|
3646
|
+
},
|
|
3647
|
+
{
|
|
3648
|
+
"kind": "field",
|
|
3649
|
+
"name": "clickOutside",
|
|
3650
|
+
"privacy": "private"
|
|
3651
|
+
},
|
|
3652
|
+
{
|
|
3653
|
+
"kind": "field",
|
|
3654
|
+
"name": "chromeStatusLabel",
|
|
3655
|
+
"type": {
|
|
3656
|
+
"text": "string | null"
|
|
3625
3657
|
},
|
|
3626
|
-
"
|
|
3627
|
-
"name": "Accordion",
|
|
3628
|
-
"module": "src/accordion/accordion.ts"
|
|
3629
|
-
}
|
|
3658
|
+
"readonly": true
|
|
3630
3659
|
},
|
|
3631
3660
|
{
|
|
3632
3661
|
"kind": "field",
|
|
3633
|
-
"name": "
|
|
3634
|
-
"
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3662
|
+
"name": "canInstall",
|
|
3663
|
+
"type": {
|
|
3664
|
+
"text": "boolean"
|
|
3665
|
+
},
|
|
3666
|
+
"readonly": true
|
|
3667
|
+
},
|
|
3668
|
+
{
|
|
3669
|
+
"kind": "field",
|
|
3670
|
+
"name": "isDownloading",
|
|
3671
|
+
"type": {
|
|
3672
|
+
"text": "boolean"
|
|
3673
|
+
},
|
|
3674
|
+
"readonly": true
|
|
3639
3675
|
},
|
|
3640
3676
|
{
|
|
3641
3677
|
"kind": "method",
|
|
3642
|
-
"name": "
|
|
3643
|
-
"privacy": "private",
|
|
3678
|
+
"name": "openChanged",
|
|
3644
3679
|
"return": {
|
|
3645
3680
|
"type": {
|
|
3646
3681
|
"text": "void"
|
|
3647
3682
|
}
|
|
3648
|
-
},
|
|
3649
|
-
"inheritedFrom": {
|
|
3650
|
-
"name": "Accordion",
|
|
3651
|
-
"module": "src/accordion/accordion.ts"
|
|
3652
3683
|
}
|
|
3653
3684
|
},
|
|
3654
3685
|
{
|
|
3655
|
-
"kind": "
|
|
3656
|
-
"name": "
|
|
3686
|
+
"kind": "method",
|
|
3687
|
+
"name": "handleClickOutside",
|
|
3657
3688
|
"privacy": "private",
|
|
3658
|
-
"
|
|
3659
|
-
|
|
3660
|
-
|
|
3661
|
-
|
|
3689
|
+
"parameters": [
|
|
3690
|
+
{
|
|
3691
|
+
"name": "event",
|
|
3692
|
+
"type": {
|
|
3693
|
+
"text": "MouseEvent"
|
|
3694
|
+
}
|
|
3695
|
+
}
|
|
3696
|
+
]
|
|
3662
3697
|
},
|
|
3663
3698
|
{
|
|
3664
|
-
"kind": "
|
|
3665
|
-
"name": "
|
|
3666
|
-
"privacy": "private",
|
|
3667
|
-
"inheritedFrom": {
|
|
3668
|
-
"name": "Accordion",
|
|
3669
|
-
"module": "src/accordion/accordion.ts"
|
|
3670
|
-
}
|
|
3699
|
+
"kind": "method",
|
|
3700
|
+
"name": "toggleDropdown"
|
|
3671
3701
|
},
|
|
3672
3702
|
{
|
|
3673
3703
|
"kind": "method",
|
|
3674
|
-
"name": "
|
|
3675
|
-
"privacy": "private",
|
|
3704
|
+
"name": "refreshStatus",
|
|
3676
3705
|
"return": {
|
|
3677
3706
|
"type": {
|
|
3678
|
-
"text": "
|
|
3707
|
+
"text": "Promise<void>"
|
|
3679
3708
|
}
|
|
3680
|
-
},
|
|
3681
|
-
"inheritedFrom": {
|
|
3682
|
-
"name": "Accordion",
|
|
3683
|
-
"module": "src/accordion/accordion.ts"
|
|
3684
3709
|
}
|
|
3685
3710
|
},
|
|
3686
3711
|
{
|
|
3687
3712
|
"kind": "method",
|
|
3688
|
-
"name": "
|
|
3713
|
+
"name": "deriveState",
|
|
3689
3714
|
"privacy": "private",
|
|
3690
3715
|
"return": {
|
|
3691
3716
|
"type": {
|
|
3692
|
-
"text": "
|
|
3717
|
+
"text": "AIIndicatorState"
|
|
3693
3718
|
}
|
|
3694
3719
|
},
|
|
3695
|
-
"
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3720
|
+
"parameters": [
|
|
3721
|
+
{
|
|
3722
|
+
"name": "s",
|
|
3723
|
+
"type": {
|
|
3724
|
+
"text": "AIStatus | null"
|
|
3725
|
+
}
|
|
3726
|
+
}
|
|
3727
|
+
]
|
|
3699
3728
|
},
|
|
3700
3729
|
{
|
|
3701
|
-
"kind": "
|
|
3702
|
-
"name": "
|
|
3730
|
+
"kind": "method",
|
|
3731
|
+
"name": "maybeStartPolling",
|
|
3703
3732
|
"privacy": "private",
|
|
3704
|
-
"
|
|
3705
|
-
"
|
|
3706
|
-
|
|
3733
|
+
"return": {
|
|
3734
|
+
"type": {
|
|
3735
|
+
"text": "void"
|
|
3736
|
+
}
|
|
3707
3737
|
}
|
|
3708
3738
|
},
|
|
3709
3739
|
{
|
|
3710
|
-
"kind": "
|
|
3711
|
-
"name": "
|
|
3740
|
+
"kind": "method",
|
|
3741
|
+
"name": "startPolling",
|
|
3712
3742
|
"privacy": "private",
|
|
3713
|
-
"
|
|
3714
|
-
"
|
|
3715
|
-
|
|
3743
|
+
"return": {
|
|
3744
|
+
"type": {
|
|
3745
|
+
"text": "void"
|
|
3746
|
+
}
|
|
3716
3747
|
}
|
|
3717
3748
|
},
|
|
3718
3749
|
{
|
|
3719
3750
|
"kind": "method",
|
|
3720
|
-
"name": "
|
|
3751
|
+
"name": "stopPolling",
|
|
3721
3752
|
"privacy": "private",
|
|
3722
3753
|
"return": {
|
|
3723
3754
|
"type": {
|
|
3724
3755
|
"text": "void"
|
|
3725
3756
|
}
|
|
3726
|
-
},
|
|
3727
|
-
"parameters": [
|
|
3728
|
-
{
|
|
3729
|
-
"name": "adjustment",
|
|
3730
|
-
"type": {
|
|
3731
|
-
"text": "number"
|
|
3732
|
-
}
|
|
3733
|
-
}
|
|
3734
|
-
],
|
|
3735
|
-
"inheritedFrom": {
|
|
3736
|
-
"name": "Accordion",
|
|
3737
|
-
"module": "src/accordion/accordion.ts"
|
|
3738
3757
|
}
|
|
3739
3758
|
},
|
|
3740
3759
|
{
|
|
3741
3760
|
"kind": "method",
|
|
3742
|
-
"name": "
|
|
3743
|
-
"privacy": "private",
|
|
3761
|
+
"name": "onInstall",
|
|
3744
3762
|
"return": {
|
|
3745
3763
|
"type": {
|
|
3746
|
-
"text": "void"
|
|
3764
|
+
"text": "Promise<void>"
|
|
3747
3765
|
}
|
|
3748
|
-
},
|
|
3749
|
-
"inheritedFrom": {
|
|
3750
|
-
"name": "Accordion",
|
|
3751
|
-
"module": "src/accordion/accordion.ts"
|
|
3752
3766
|
}
|
|
3753
3767
|
},
|
|
3754
3768
|
{
|
|
@@ -3863,102 +3877,88 @@
|
|
|
3863
3877
|
}
|
|
3864
3878
|
}
|
|
3865
3879
|
],
|
|
3866
|
-
"
|
|
3867
|
-
|
|
3868
|
-
|
|
3869
|
-
"name": "change",
|
|
3870
|
-
"inheritedFrom": {
|
|
3871
|
-
"name": "Accordion",
|
|
3872
|
-
"module": "src/accordion/accordion.ts"
|
|
3873
|
-
}
|
|
3874
|
-
}
|
|
3875
|
-
]
|
|
3876
|
-
},
|
|
3877
|
-
{
|
|
3878
|
-
"kind": "variable",
|
|
3879
|
-
"name": "foundationAccordionShadowOptions",
|
|
3880
|
-
"type": {
|
|
3881
|
-
"text": "ShadowRootInit"
|
|
3882
|
-
},
|
|
3883
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
3884
|
-
},
|
|
3885
|
-
{
|
|
3886
|
-
"kind": "variable",
|
|
3887
|
-
"name": "defaultAccordionConfig",
|
|
3888
|
-
"type": {
|
|
3889
|
-
"text": "object"
|
|
3880
|
+
"superclass": {
|
|
3881
|
+
"name": "FoundationElement",
|
|
3882
|
+
"package": "@microsoft/fast-foundation"
|
|
3890
3883
|
},
|
|
3891
|
-
"
|
|
3884
|
+
"tagName": "%%prefix%%-ai-indicator",
|
|
3885
|
+
"customElement": true
|
|
3892
3886
|
},
|
|
3893
3887
|
{
|
|
3894
3888
|
"kind": "variable",
|
|
3895
|
-
"name": "
|
|
3896
|
-
"description": "The Foundation Accordion",
|
|
3897
|
-
"privacy": "public"
|
|
3889
|
+
"name": "foundationAiIndicator"
|
|
3898
3890
|
}
|
|
3899
3891
|
],
|
|
3900
3892
|
"exports": [
|
|
3901
3893
|
{
|
|
3902
3894
|
"kind": "js",
|
|
3903
|
-
"name": "
|
|
3895
|
+
"name": "AiIndicator",
|
|
3904
3896
|
"declaration": {
|
|
3905
|
-
"name": "
|
|
3906
|
-
"module": "src/
|
|
3897
|
+
"name": "AiIndicator",
|
|
3898
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3907
3899
|
}
|
|
3908
3900
|
},
|
|
3909
3901
|
{
|
|
3910
3902
|
"kind": "js",
|
|
3911
|
-
"name": "
|
|
3903
|
+
"name": "foundationAiIndicator",
|
|
3912
3904
|
"declaration": {
|
|
3913
|
-
"name": "
|
|
3914
|
-
"module": "src/
|
|
3905
|
+
"name": "foundationAiIndicator",
|
|
3906
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3907
|
+
}
|
|
3908
|
+
}
|
|
3909
|
+
]
|
|
3910
|
+
},
|
|
3911
|
+
{
|
|
3912
|
+
"kind": "javascript-module",
|
|
3913
|
+
"path": "src/ai-indicator/index.ts",
|
|
3914
|
+
"declarations": [],
|
|
3915
|
+
"exports": [
|
|
3916
|
+
{
|
|
3917
|
+
"kind": "js",
|
|
3918
|
+
"name": "AiIndicator",
|
|
3919
|
+
"declaration": {
|
|
3920
|
+
"name": "AiIndicator",
|
|
3921
|
+
"module": "./ai-indicator"
|
|
3915
3922
|
}
|
|
3916
3923
|
},
|
|
3917
3924
|
{
|
|
3918
3925
|
"kind": "js",
|
|
3919
|
-
"name": "
|
|
3926
|
+
"name": "foundationAiIndicator",
|
|
3920
3927
|
"declaration": {
|
|
3921
|
-
"name": "
|
|
3922
|
-
"module": "
|
|
3928
|
+
"name": "foundationAiIndicator",
|
|
3929
|
+
"module": "./ai-indicator"
|
|
3923
3930
|
}
|
|
3924
3931
|
},
|
|
3925
3932
|
{
|
|
3926
3933
|
"kind": "js",
|
|
3927
|
-
"name": "
|
|
3934
|
+
"name": "type",
|
|
3928
3935
|
"declaration": {
|
|
3929
|
-
"name": "
|
|
3930
|
-
"module": "
|
|
3936
|
+
"name": "type",
|
|
3937
|
+
"module": "./ai-indicator"
|
|
3931
3938
|
}
|
|
3932
|
-
}
|
|
3933
|
-
]
|
|
3934
|
-
},
|
|
3935
|
-
{
|
|
3936
|
-
"kind": "javascript-module",
|
|
3937
|
-
"path": "src/accordion/index.ts",
|
|
3938
|
-
"declarations": [],
|
|
3939
|
-
"exports": [
|
|
3939
|
+
},
|
|
3940
3940
|
{
|
|
3941
3941
|
"kind": "js",
|
|
3942
|
-
"name": "
|
|
3942
|
+
"name": "AIIndicatorState",
|
|
3943
3943
|
"declaration": {
|
|
3944
|
-
"name": "
|
|
3945
|
-
"
|
|
3944
|
+
"name": "AIIndicatorState",
|
|
3945
|
+
"module": "./ai-indicator"
|
|
3946
3946
|
}
|
|
3947
3947
|
},
|
|
3948
3948
|
{
|
|
3949
3949
|
"kind": "js",
|
|
3950
|
-
"name": "
|
|
3950
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3951
3951
|
"declaration": {
|
|
3952
|
-
"name": "
|
|
3953
|
-
"
|
|
3952
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3953
|
+
"module": "./ai-indicator.template"
|
|
3954
3954
|
}
|
|
3955
3955
|
},
|
|
3956
3956
|
{
|
|
3957
3957
|
"kind": "js",
|
|
3958
|
-
"name": "
|
|
3958
|
+
"name": "foundationAiIndicatorStyles",
|
|
3959
3959
|
"declaration": {
|
|
3960
|
-
"name": "
|
|
3961
|
-
"
|
|
3960
|
+
"name": "foundationAiIndicatorStyles",
|
|
3961
|
+
"module": "./ai-indicator.styles"
|
|
3962
3962
|
}
|
|
3963
3963
|
}
|
|
3964
3964
|
]
|
|
@@ -58705,197 +58705,6 @@
|
|
|
58705
58705
|
}
|
|
58706
58706
|
]
|
|
58707
58707
|
},
|
|
58708
|
-
{
|
|
58709
|
-
"kind": "javascript-module",
|
|
58710
|
-
"path": "src/ai-criteria-search/validation/criteria-ir.ts",
|
|
58711
|
-
"declarations": [],
|
|
58712
|
-
"exports": []
|
|
58713
|
-
},
|
|
58714
|
-
{
|
|
58715
|
-
"kind": "javascript-module",
|
|
58716
|
-
"path": "src/ai-criteria-search/validation/operator-map.ts",
|
|
58717
|
-
"declarations": [
|
|
58718
|
-
{
|
|
58719
|
-
"kind": "function",
|
|
58720
|
-
"name": "groupsToCriteria",
|
|
58721
|
-
"return": {
|
|
58722
|
-
"type": {
|
|
58723
|
-
"text": "string"
|
|
58724
|
-
}
|
|
58725
|
-
},
|
|
58726
|
-
"parameters": [
|
|
58727
|
-
{
|
|
58728
|
-
"name": "groups",
|
|
58729
|
-
"type": {
|
|
58730
|
-
"text": "CriteriaGroup[]"
|
|
58731
|
-
}
|
|
58732
|
-
}
|
|
58733
|
-
],
|
|
58734
|
-
"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."
|
|
58735
|
-
},
|
|
58736
|
-
{
|
|
58737
|
-
"kind": "variable",
|
|
58738
|
-
"name": "STRING_OPERATORS",
|
|
58739
|
-
"type": {
|
|
58740
|
-
"text": "CriteriaOperator[]"
|
|
58741
|
-
},
|
|
58742
|
-
"default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
|
|
58743
|
-
},
|
|
58744
|
-
{
|
|
58745
|
-
"kind": "variable",
|
|
58746
|
-
"name": "NUMERIC_OPERATORS",
|
|
58747
|
-
"type": {
|
|
58748
|
-
"text": "CriteriaOperator[]"
|
|
58749
|
-
},
|
|
58750
|
-
"default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
|
|
58751
|
-
},
|
|
58752
|
-
{
|
|
58753
|
-
"kind": "variable",
|
|
58754
|
-
"name": "DATE_OPERATORS",
|
|
58755
|
-
"type": {
|
|
58756
|
-
"text": "CriteriaOperator[]"
|
|
58757
|
-
},
|
|
58758
|
-
"default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
|
|
58759
|
-
},
|
|
58760
|
-
{
|
|
58761
|
-
"kind": "variable",
|
|
58762
|
-
"name": "DATETIME_OPERATORS",
|
|
58763
|
-
"type": {
|
|
58764
|
-
"text": "CriteriaOperator[]"
|
|
58765
|
-
},
|
|
58766
|
-
"default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
|
|
58767
|
-
},
|
|
58768
|
-
{
|
|
58769
|
-
"kind": "variable",
|
|
58770
|
-
"name": "OPERATOR_DISPLAY_LABEL",
|
|
58771
|
-
"type": {
|
|
58772
|
-
"text": "Record<CriteriaOperator, string>"
|
|
58773
|
-
},
|
|
58774
|
-
"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}"
|
|
58775
|
-
}
|
|
58776
|
-
],
|
|
58777
|
-
"exports": [
|
|
58778
|
-
{
|
|
58779
|
-
"kind": "js",
|
|
58780
|
-
"name": "groupsToCriteria",
|
|
58781
|
-
"declaration": {
|
|
58782
|
-
"name": "groupsToCriteria",
|
|
58783
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
58784
|
-
}
|
|
58785
|
-
},
|
|
58786
|
-
{
|
|
58787
|
-
"kind": "js",
|
|
58788
|
-
"name": "STRING_OPERATORS",
|
|
58789
|
-
"declaration": {
|
|
58790
|
-
"name": "STRING_OPERATORS",
|
|
58791
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
58792
|
-
}
|
|
58793
|
-
},
|
|
58794
|
-
{
|
|
58795
|
-
"kind": "js",
|
|
58796
|
-
"name": "NUMERIC_OPERATORS",
|
|
58797
|
-
"declaration": {
|
|
58798
|
-
"name": "NUMERIC_OPERATORS",
|
|
58799
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
58800
|
-
}
|
|
58801
|
-
},
|
|
58802
|
-
{
|
|
58803
|
-
"kind": "js",
|
|
58804
|
-
"name": "DATE_OPERATORS",
|
|
58805
|
-
"declaration": {
|
|
58806
|
-
"name": "DATE_OPERATORS",
|
|
58807
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
58808
|
-
}
|
|
58809
|
-
},
|
|
58810
|
-
{
|
|
58811
|
-
"kind": "js",
|
|
58812
|
-
"name": "DATETIME_OPERATORS",
|
|
58813
|
-
"declaration": {
|
|
58814
|
-
"name": "DATETIME_OPERATORS",
|
|
58815
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
58816
|
-
}
|
|
58817
|
-
},
|
|
58818
|
-
{
|
|
58819
|
-
"kind": "js",
|
|
58820
|
-
"name": "OPERATOR_DISPLAY_LABEL",
|
|
58821
|
-
"declaration": {
|
|
58822
|
-
"name": "OPERATOR_DISPLAY_LABEL",
|
|
58823
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
58824
|
-
}
|
|
58825
|
-
}
|
|
58826
|
-
]
|
|
58827
|
-
},
|
|
58828
|
-
{
|
|
58829
|
-
"kind": "javascript-module",
|
|
58830
|
-
"path": "src/ai-criteria-search/validation/schema-validator.ts",
|
|
58831
|
-
"declarations": [
|
|
58832
|
-
{
|
|
58833
|
-
"kind": "function",
|
|
58834
|
-
"name": "validateClauses",
|
|
58835
|
-
"return": {
|
|
58836
|
-
"type": {
|
|
58837
|
-
"text": "ValidationResult"
|
|
58838
|
-
}
|
|
58839
|
-
},
|
|
58840
|
-
"parameters": [
|
|
58841
|
-
{
|
|
58842
|
-
"name": "clauses",
|
|
58843
|
-
"type": {
|
|
58844
|
-
"text": "CriteriaClause[]"
|
|
58845
|
-
}
|
|
58846
|
-
},
|
|
58847
|
-
{
|
|
58848
|
-
"name": "fieldMetadata",
|
|
58849
|
-
"type": {
|
|
58850
|
-
"text": "MetadataDetail[] | string[]"
|
|
58851
|
-
}
|
|
58852
|
-
}
|
|
58853
|
-
]
|
|
58854
|
-
},
|
|
58855
|
-
{
|
|
58856
|
-
"kind": "function",
|
|
58857
|
-
"name": "validateGroups",
|
|
58858
|
-
"return": {
|
|
58859
|
-
"type": {
|
|
58860
|
-
"text": "GroupsValidationResult"
|
|
58861
|
-
}
|
|
58862
|
-
},
|
|
58863
|
-
"parameters": [
|
|
58864
|
-
{
|
|
58865
|
-
"name": "groups",
|
|
58866
|
-
"type": {
|
|
58867
|
-
"text": "CriteriaGroup[]"
|
|
58868
|
-
}
|
|
58869
|
-
},
|
|
58870
|
-
{
|
|
58871
|
-
"name": "fieldMetadata",
|
|
58872
|
-
"type": {
|
|
58873
|
-
"text": "MetadataDetail[] | string[]"
|
|
58874
|
-
}
|
|
58875
|
-
}
|
|
58876
|
-
],
|
|
58877
|
-
"description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
|
|
58878
|
-
}
|
|
58879
|
-
],
|
|
58880
|
-
"exports": [
|
|
58881
|
-
{
|
|
58882
|
-
"kind": "js",
|
|
58883
|
-
"name": "validateClauses",
|
|
58884
|
-
"declaration": {
|
|
58885
|
-
"name": "validateClauses",
|
|
58886
|
-
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
58887
|
-
}
|
|
58888
|
-
},
|
|
58889
|
-
{
|
|
58890
|
-
"kind": "js",
|
|
58891
|
-
"name": "validateGroups",
|
|
58892
|
-
"declaration": {
|
|
58893
|
-
"name": "validateGroups",
|
|
58894
|
-
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
58895
|
-
}
|
|
58896
|
-
}
|
|
58897
|
-
]
|
|
58898
|
-
},
|
|
58899
58708
|
{
|
|
58900
58709
|
"kind": "javascript-module",
|
|
58901
58710
|
"path": "src/_config/styles/colors.ts",
|
|
@@ -60268,6 +60077,197 @@
|
|
|
60268
60077
|
"declarations": [],
|
|
60269
60078
|
"exports": []
|
|
60270
60079
|
},
|
|
60080
|
+
{
|
|
60081
|
+
"kind": "javascript-module",
|
|
60082
|
+
"path": "src/ai-criteria-search/validation/criteria-ir.ts",
|
|
60083
|
+
"declarations": [],
|
|
60084
|
+
"exports": []
|
|
60085
|
+
},
|
|
60086
|
+
{
|
|
60087
|
+
"kind": "javascript-module",
|
|
60088
|
+
"path": "src/ai-criteria-search/validation/operator-map.ts",
|
|
60089
|
+
"declarations": [
|
|
60090
|
+
{
|
|
60091
|
+
"kind": "function",
|
|
60092
|
+
"name": "groupsToCriteria",
|
|
60093
|
+
"return": {
|
|
60094
|
+
"type": {
|
|
60095
|
+
"text": "string"
|
|
60096
|
+
}
|
|
60097
|
+
},
|
|
60098
|
+
"parameters": [
|
|
60099
|
+
{
|
|
60100
|
+
"name": "groups",
|
|
60101
|
+
"type": {
|
|
60102
|
+
"text": "CriteriaGroup[]"
|
|
60103
|
+
}
|
|
60104
|
+
}
|
|
60105
|
+
],
|
|
60106
|
+
"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."
|
|
60107
|
+
},
|
|
60108
|
+
{
|
|
60109
|
+
"kind": "variable",
|
|
60110
|
+
"name": "STRING_OPERATORS",
|
|
60111
|
+
"type": {
|
|
60112
|
+
"text": "CriteriaOperator[]"
|
|
60113
|
+
},
|
|
60114
|
+
"default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
|
|
60115
|
+
},
|
|
60116
|
+
{
|
|
60117
|
+
"kind": "variable",
|
|
60118
|
+
"name": "NUMERIC_OPERATORS",
|
|
60119
|
+
"type": {
|
|
60120
|
+
"text": "CriteriaOperator[]"
|
|
60121
|
+
},
|
|
60122
|
+
"default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
|
|
60123
|
+
},
|
|
60124
|
+
{
|
|
60125
|
+
"kind": "variable",
|
|
60126
|
+
"name": "DATE_OPERATORS",
|
|
60127
|
+
"type": {
|
|
60128
|
+
"text": "CriteriaOperator[]"
|
|
60129
|
+
},
|
|
60130
|
+
"default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
|
|
60131
|
+
},
|
|
60132
|
+
{
|
|
60133
|
+
"kind": "variable",
|
|
60134
|
+
"name": "DATETIME_OPERATORS",
|
|
60135
|
+
"type": {
|
|
60136
|
+
"text": "CriteriaOperator[]"
|
|
60137
|
+
},
|
|
60138
|
+
"default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
|
|
60139
|
+
},
|
|
60140
|
+
{
|
|
60141
|
+
"kind": "variable",
|
|
60142
|
+
"name": "OPERATOR_DISPLAY_LABEL",
|
|
60143
|
+
"type": {
|
|
60144
|
+
"text": "Record<CriteriaOperator, string>"
|
|
60145
|
+
},
|
|
60146
|
+
"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}"
|
|
60147
|
+
}
|
|
60148
|
+
],
|
|
60149
|
+
"exports": [
|
|
60150
|
+
{
|
|
60151
|
+
"kind": "js",
|
|
60152
|
+
"name": "groupsToCriteria",
|
|
60153
|
+
"declaration": {
|
|
60154
|
+
"name": "groupsToCriteria",
|
|
60155
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60156
|
+
}
|
|
60157
|
+
},
|
|
60158
|
+
{
|
|
60159
|
+
"kind": "js",
|
|
60160
|
+
"name": "STRING_OPERATORS",
|
|
60161
|
+
"declaration": {
|
|
60162
|
+
"name": "STRING_OPERATORS",
|
|
60163
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60164
|
+
}
|
|
60165
|
+
},
|
|
60166
|
+
{
|
|
60167
|
+
"kind": "js",
|
|
60168
|
+
"name": "NUMERIC_OPERATORS",
|
|
60169
|
+
"declaration": {
|
|
60170
|
+
"name": "NUMERIC_OPERATORS",
|
|
60171
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60172
|
+
}
|
|
60173
|
+
},
|
|
60174
|
+
{
|
|
60175
|
+
"kind": "js",
|
|
60176
|
+
"name": "DATE_OPERATORS",
|
|
60177
|
+
"declaration": {
|
|
60178
|
+
"name": "DATE_OPERATORS",
|
|
60179
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60180
|
+
}
|
|
60181
|
+
},
|
|
60182
|
+
{
|
|
60183
|
+
"kind": "js",
|
|
60184
|
+
"name": "DATETIME_OPERATORS",
|
|
60185
|
+
"declaration": {
|
|
60186
|
+
"name": "DATETIME_OPERATORS",
|
|
60187
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60188
|
+
}
|
|
60189
|
+
},
|
|
60190
|
+
{
|
|
60191
|
+
"kind": "js",
|
|
60192
|
+
"name": "OPERATOR_DISPLAY_LABEL",
|
|
60193
|
+
"declaration": {
|
|
60194
|
+
"name": "OPERATOR_DISPLAY_LABEL",
|
|
60195
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60196
|
+
}
|
|
60197
|
+
}
|
|
60198
|
+
]
|
|
60199
|
+
},
|
|
60200
|
+
{
|
|
60201
|
+
"kind": "javascript-module",
|
|
60202
|
+
"path": "src/ai-criteria-search/validation/schema-validator.ts",
|
|
60203
|
+
"declarations": [
|
|
60204
|
+
{
|
|
60205
|
+
"kind": "function",
|
|
60206
|
+
"name": "validateClauses",
|
|
60207
|
+
"return": {
|
|
60208
|
+
"type": {
|
|
60209
|
+
"text": "ValidationResult"
|
|
60210
|
+
}
|
|
60211
|
+
},
|
|
60212
|
+
"parameters": [
|
|
60213
|
+
{
|
|
60214
|
+
"name": "clauses",
|
|
60215
|
+
"type": {
|
|
60216
|
+
"text": "CriteriaClause[]"
|
|
60217
|
+
}
|
|
60218
|
+
},
|
|
60219
|
+
{
|
|
60220
|
+
"name": "fieldMetadata",
|
|
60221
|
+
"type": {
|
|
60222
|
+
"text": "MetadataDetail[] | string[]"
|
|
60223
|
+
}
|
|
60224
|
+
}
|
|
60225
|
+
]
|
|
60226
|
+
},
|
|
60227
|
+
{
|
|
60228
|
+
"kind": "function",
|
|
60229
|
+
"name": "validateGroups",
|
|
60230
|
+
"return": {
|
|
60231
|
+
"type": {
|
|
60232
|
+
"text": "GroupsValidationResult"
|
|
60233
|
+
}
|
|
60234
|
+
},
|
|
60235
|
+
"parameters": [
|
|
60236
|
+
{
|
|
60237
|
+
"name": "groups",
|
|
60238
|
+
"type": {
|
|
60239
|
+
"text": "CriteriaGroup[]"
|
|
60240
|
+
}
|
|
60241
|
+
},
|
|
60242
|
+
{
|
|
60243
|
+
"name": "fieldMetadata",
|
|
60244
|
+
"type": {
|
|
60245
|
+
"text": "MetadataDetail[] | string[]"
|
|
60246
|
+
}
|
|
60247
|
+
}
|
|
60248
|
+
],
|
|
60249
|
+
"description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
|
|
60250
|
+
}
|
|
60251
|
+
],
|
|
60252
|
+
"exports": [
|
|
60253
|
+
{
|
|
60254
|
+
"kind": "js",
|
|
60255
|
+
"name": "validateClauses",
|
|
60256
|
+
"declaration": {
|
|
60257
|
+
"name": "validateClauses",
|
|
60258
|
+
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
60259
|
+
}
|
|
60260
|
+
},
|
|
60261
|
+
{
|
|
60262
|
+
"kind": "js",
|
|
60263
|
+
"name": "validateGroups",
|
|
60264
|
+
"declaration": {
|
|
60265
|
+
"name": "validateGroups",
|
|
60266
|
+
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
60267
|
+
}
|
|
60268
|
+
}
|
|
60269
|
+
]
|
|
60270
|
+
},
|
|
60271
60271
|
{
|
|
60272
60272
|
"kind": "javascript-module",
|
|
60273
60273
|
"path": "src/environment-indicator/utils/configure.ts",
|