@genesislcap/foundation-ui 15.3.2 → 15.3.3
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 +1002 -994
- package/dist/dts/number-field/index.d.ts +1 -0
- package/dist/dts/number-field/index.d.ts.map +1 -1
- package/dist/dts/react.d.ts +16 -16
- package/dist/esm/number-field/index.js +1 -0
- package/dist/foundation-ui.api.json +74 -0
- package/dist/foundation-ui.d.ts +2 -0
- package/dist/react.cjs +10 -10
- package/dist/react.mjs +8 -8
- package/package.json +19 -19
|
@@ -958,44 +958,66 @@
|
|
|
958
958
|
},
|
|
959
959
|
{
|
|
960
960
|
"kind": "javascript-module",
|
|
961
|
-
"path": "src/
|
|
961
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
962
962
|
"declarations": [
|
|
963
963
|
{
|
|
964
|
-
"kind": "
|
|
965
|
-
"
|
|
966
|
-
"
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
"text": "string"
|
|
973
|
-
},
|
|
974
|
-
"description": "Optional non-editable label shown on the left inside the field, before the input."
|
|
975
|
-
},
|
|
964
|
+
"kind": "function",
|
|
965
|
+
"name": "foundationAccordionItemStyles",
|
|
966
|
+
"return": {
|
|
967
|
+
"type": {
|
|
968
|
+
"text": "ElementStyles"
|
|
969
|
+
}
|
|
970
|
+
},
|
|
971
|
+
"parameters": [
|
|
976
972
|
{
|
|
977
|
-
"
|
|
978
|
-
"name": "suffix",
|
|
973
|
+
"name": "context",
|
|
979
974
|
"type": {
|
|
980
|
-
"text": "
|
|
981
|
-
}
|
|
982
|
-
"description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
|
|
975
|
+
"text": "ElementDefinitionContext"
|
|
976
|
+
}
|
|
983
977
|
},
|
|
984
978
|
{
|
|
985
|
-
"
|
|
986
|
-
"name": "hideAffixFromScreenReader",
|
|
979
|
+
"name": "definition",
|
|
987
980
|
"type": {
|
|
988
|
-
"text": "
|
|
989
|
-
}
|
|
990
|
-
"default": "false",
|
|
991
|
-
"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."
|
|
981
|
+
"text": "FoundationElementDefinition"
|
|
982
|
+
}
|
|
992
983
|
}
|
|
993
|
-
]
|
|
984
|
+
]
|
|
985
|
+
}
|
|
986
|
+
],
|
|
987
|
+
"exports": [
|
|
988
|
+
{
|
|
989
|
+
"kind": "js",
|
|
990
|
+
"name": "foundationAccordionItemStyles",
|
|
991
|
+
"declaration": {
|
|
992
|
+
"name": "foundationAccordionItemStyles",
|
|
993
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
994
|
+
}
|
|
995
|
+
}
|
|
996
|
+
]
|
|
997
|
+
},
|
|
998
|
+
{
|
|
999
|
+
"kind": "javascript-module",
|
|
1000
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1001
|
+
"declarations": [
|
|
1002
|
+
{
|
|
1003
|
+
"kind": "function",
|
|
1004
|
+
"name": "foundationAccordionItemTemplate",
|
|
1005
|
+
"return": {
|
|
1006
|
+
"type": {
|
|
1007
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
1008
|
+
}
|
|
1009
|
+
},
|
|
994
1010
|
"parameters": [
|
|
995
1011
|
{
|
|
996
|
-
"name": "
|
|
1012
|
+
"name": "context",
|
|
997
1013
|
"type": {
|
|
998
|
-
"text": "
|
|
1014
|
+
"text": "ElementDefinitionContext"
|
|
1015
|
+
}
|
|
1016
|
+
},
|
|
1017
|
+
{
|
|
1018
|
+
"name": "definition",
|
|
1019
|
+
"type": {
|
|
1020
|
+
"text": "FoundationElementDefinition"
|
|
999
1021
|
}
|
|
1000
1022
|
}
|
|
1001
1023
|
]
|
|
@@ -1004,169 +1026,117 @@
|
|
|
1004
1026
|
"exports": [
|
|
1005
1027
|
{
|
|
1006
1028
|
"kind": "js",
|
|
1007
|
-
"name": "
|
|
1029
|
+
"name": "foundationAccordionItemTemplate",
|
|
1008
1030
|
"declaration": {
|
|
1009
|
-
"name": "
|
|
1010
|
-
"module": "src/
|
|
1031
|
+
"name": "foundationAccordionItemTemplate",
|
|
1032
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
1011
1033
|
}
|
|
1012
1034
|
}
|
|
1013
1035
|
]
|
|
1014
1036
|
},
|
|
1015
1037
|
{
|
|
1016
1038
|
"kind": "javascript-module",
|
|
1017
|
-
"path": "src/
|
|
1039
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
1018
1040
|
"declarations": [
|
|
1019
1041
|
{
|
|
1020
1042
|
"kind": "class",
|
|
1021
|
-
"description": "
|
|
1022
|
-
"name": "
|
|
1023
|
-
"
|
|
1043
|
+
"description": "",
|
|
1044
|
+
"name": "AccordionItem",
|
|
1045
|
+
"superclass": {
|
|
1046
|
+
"name": "FASTAccordionItem",
|
|
1047
|
+
"package": "@microsoft/fast-components"
|
|
1048
|
+
},
|
|
1049
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
1050
|
+
"customElement": true,
|
|
1051
|
+
"attributes": [
|
|
1024
1052
|
{
|
|
1025
|
-
"
|
|
1026
|
-
"name": "fileInput",
|
|
1053
|
+
"name": "heading-level",
|
|
1027
1054
|
"type": {
|
|
1028
|
-
"text": "
|
|
1055
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1029
1056
|
},
|
|
1030
|
-
"
|
|
1057
|
+
"default": "2",
|
|
1058
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1059
|
+
"fieldName": "headinglevel",
|
|
1060
|
+
"inheritedFrom": {
|
|
1061
|
+
"name": "AccordionItem",
|
|
1062
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1063
|
+
}
|
|
1031
1064
|
},
|
|
1032
1065
|
{
|
|
1033
|
-
"kind": "field",
|
|
1034
|
-
"name": "selectedFile",
|
|
1035
1066
|
"type": {
|
|
1036
|
-
"text": "
|
|
1067
|
+
"text": "boolean"
|
|
1037
1068
|
},
|
|
1038
|
-
"
|
|
1039
|
-
"
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
"type": {
|
|
1045
|
-
"text": "string"
|
|
1069
|
+
"default": "false",
|
|
1070
|
+
"description": "Expands or collapses the item.",
|
|
1071
|
+
"fieldName": "expanded",
|
|
1072
|
+
"inheritedFrom": {
|
|
1073
|
+
"name": "AccordionItem",
|
|
1074
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1046
1075
|
}
|
|
1047
1076
|
},
|
|
1048
1077
|
{
|
|
1049
|
-
"
|
|
1050
|
-
"name": "accept",
|
|
1078
|
+
"name": "id",
|
|
1051
1079
|
"type": {
|
|
1052
1080
|
"text": "string"
|
|
1053
1081
|
},
|
|
1054
|
-
"
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
"default": "10_485_760",
|
|
1060
|
-
"type": {
|
|
1061
|
-
"text": "number"
|
|
1082
|
+
"description": "The item ID",
|
|
1083
|
+
"fieldName": "id",
|
|
1084
|
+
"inheritedFrom": {
|
|
1085
|
+
"name": "AccordionItem",
|
|
1086
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1062
1087
|
}
|
|
1063
|
-
}
|
|
1088
|
+
}
|
|
1089
|
+
],
|
|
1090
|
+
"members": [
|
|
1064
1091
|
{
|
|
1065
1092
|
"kind": "field",
|
|
1066
|
-
"name": "
|
|
1093
|
+
"name": "headinglevel",
|
|
1067
1094
|
"type": {
|
|
1068
|
-
"text": "
|
|
1095
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1069
1096
|
},
|
|
1070
|
-
"
|
|
1097
|
+
"privacy": "public",
|
|
1098
|
+
"default": "2",
|
|
1099
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1100
|
+
"inheritedFrom": {
|
|
1101
|
+
"name": "AccordionItem",
|
|
1102
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1103
|
+
}
|
|
1071
1104
|
},
|
|
1072
1105
|
{
|
|
1073
1106
|
"kind": "field",
|
|
1074
|
-
"name": "
|
|
1107
|
+
"name": "expanded",
|
|
1075
1108
|
"type": {
|
|
1076
1109
|
"text": "boolean"
|
|
1077
1110
|
},
|
|
1078
|
-
"default": "false"
|
|
1079
|
-
},
|
|
1080
|
-
{
|
|
1081
|
-
"kind": "method",
|
|
1082
|
-
"name": "handleClick",
|
|
1083
|
-
"privacy": "public",
|
|
1084
|
-
"description": "Opens the file picker dialog\nClears any previous file selection before opening"
|
|
1085
|
-
},
|
|
1086
|
-
{
|
|
1087
|
-
"kind": "method",
|
|
1088
|
-
"name": "onInputChange",
|
|
1089
1111
|
"privacy": "public",
|
|
1090
|
-
"
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
},
|
|
1096
|
-
"description": "The change event from the file input"
|
|
1097
|
-
}
|
|
1098
|
-
],
|
|
1099
|
-
"description": "Handles file selection from the file input\nValidates file size and sets up for processing"
|
|
1100
|
-
},
|
|
1101
|
-
{
|
|
1102
|
-
"kind": "method",
|
|
1103
|
-
"name": "clearSelection",
|
|
1104
|
-
"privacy": "public",
|
|
1105
|
-
"description": "Clears all file selection and processing state\nResets the component to its initial state"
|
|
1106
|
-
},
|
|
1107
|
-
{
|
|
1108
|
-
"kind": "method",
|
|
1109
|
-
"name": "getSelectedFile",
|
|
1110
|
-
"privacy": "public",
|
|
1111
|
-
"description": "Gets the currently selected file object",
|
|
1112
|
-
"return": {
|
|
1113
|
-
"type": {
|
|
1114
|
-
"text": ""
|
|
1115
|
-
}
|
|
1112
|
+
"default": "false",
|
|
1113
|
+
"description": "Expands or collapses the item.",
|
|
1114
|
+
"inheritedFrom": {
|
|
1115
|
+
"name": "AccordionItem",
|
|
1116
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1116
1117
|
}
|
|
1117
1118
|
},
|
|
1118
1119
|
{
|
|
1119
|
-
"kind": "
|
|
1120
|
-
"name": "
|
|
1121
|
-
"
|
|
1122
|
-
|
|
1123
|
-
{
|
|
1124
|
-
"name": "title",
|
|
1125
|
-
"type": {
|
|
1126
|
-
"text": "string"
|
|
1127
|
-
},
|
|
1128
|
-
"description": "The error title"
|
|
1129
|
-
},
|
|
1130
|
-
{
|
|
1131
|
-
"name": "message",
|
|
1132
|
-
"type": {
|
|
1133
|
-
"text": "string"
|
|
1134
|
-
},
|
|
1135
|
-
"description": "The error message"
|
|
1136
|
-
}
|
|
1137
|
-
],
|
|
1138
|
-
"description": "Shows an error notification using the unified error handling system"
|
|
1139
|
-
},
|
|
1140
|
-
{
|
|
1141
|
-
"kind": "method",
|
|
1142
|
-
"name": "onFileSelected",
|
|
1143
|
-
"privacy": "protected",
|
|
1144
|
-
"return": {
|
|
1145
|
-
"type": {
|
|
1146
|
-
"text": "void"
|
|
1147
|
-
}
|
|
1120
|
+
"kind": "field",
|
|
1121
|
+
"name": "id",
|
|
1122
|
+
"type": {
|
|
1123
|
+
"text": "string"
|
|
1148
1124
|
},
|
|
1149
|
-
"
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
"description": "The selected file"
|
|
1156
|
-
}
|
|
1157
|
-
],
|
|
1158
|
-
"description": "Abstract method called when a file is selected"
|
|
1125
|
+
"privacy": "public",
|
|
1126
|
+
"description": "The item ID",
|
|
1127
|
+
"inheritedFrom": {
|
|
1128
|
+
"name": "AccordionItem",
|
|
1129
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1130
|
+
}
|
|
1159
1131
|
},
|
|
1160
1132
|
{
|
|
1161
|
-
"kind": "
|
|
1162
|
-
"name": "
|
|
1163
|
-
"privacy": "
|
|
1164
|
-
"
|
|
1165
|
-
"
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
},
|
|
1169
|
-
"description": "Abstract method called when file selection is cleared"
|
|
1133
|
+
"kind": "field",
|
|
1134
|
+
"name": "change",
|
|
1135
|
+
"privacy": "private",
|
|
1136
|
+
"inheritedFrom": {
|
|
1137
|
+
"name": "AccordionItem",
|
|
1138
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1139
|
+
}
|
|
1170
1140
|
},
|
|
1171
1141
|
{
|
|
1172
1142
|
"kind": "field",
|
|
@@ -1282,110 +1252,76 @@
|
|
|
1282
1252
|
],
|
|
1283
1253
|
"events": [
|
|
1284
1254
|
{
|
|
1285
|
-
"description": "
|
|
1286
|
-
"name": "
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
}
|
|
1292
|
-
],
|
|
1293
|
-
"attributes": [
|
|
1294
|
-
{
|
|
1295
|
-
"name": "label",
|
|
1296
|
-
"type": {
|
|
1297
|
-
"text": "string"
|
|
1298
|
-
},
|
|
1299
|
-
"fieldName": "label"
|
|
1300
|
-
},
|
|
1301
|
-
{
|
|
1302
|
-
"name": "accept",
|
|
1303
|
-
"type": {
|
|
1304
|
-
"text": "string"
|
|
1305
|
-
},
|
|
1306
|
-
"default": "''",
|
|
1307
|
-
"fieldName": "accept"
|
|
1308
|
-
},
|
|
1309
|
-
{
|
|
1310
|
-
"name": "file-size-limit-bytes",
|
|
1311
|
-
"default": "DEFAULT_FILE_SIZE_LIMIT",
|
|
1312
|
-
"resolveInitializer": {
|
|
1313
|
-
"module": "src/_common/base-file-component.ts"
|
|
1314
|
-
},
|
|
1315
|
-
"fieldName": "fileSizeLimitBytes"
|
|
1255
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
1256
|
+
"name": "change",
|
|
1257
|
+
"inheritedFrom": {
|
|
1258
|
+
"name": "AccordionItem",
|
|
1259
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1260
|
+
}
|
|
1316
1261
|
}
|
|
1317
|
-
]
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1262
|
+
]
|
|
1263
|
+
},
|
|
1264
|
+
{
|
|
1265
|
+
"kind": "variable",
|
|
1266
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1267
|
+
"type": {
|
|
1268
|
+
"text": "ShadowRootInit"
|
|
1269
|
+
},
|
|
1270
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
1271
|
+
},
|
|
1272
|
+
{
|
|
1273
|
+
"kind": "variable",
|
|
1274
|
+
"name": "defaultAccordionItemConfig",
|
|
1275
|
+
"type": {
|
|
1276
|
+
"text": "object"
|
|
1277
|
+
},
|
|
1278
|
+
"default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
|
|
1279
|
+
},
|
|
1280
|
+
{
|
|
1281
|
+
"kind": "variable",
|
|
1282
|
+
"name": "foundationAccordionItem",
|
|
1283
|
+
"description": "The Foundation Accordion Item",
|
|
1284
|
+
"privacy": "public"
|
|
1322
1285
|
}
|
|
1323
1286
|
],
|
|
1324
1287
|
"exports": [
|
|
1325
1288
|
{
|
|
1326
1289
|
"kind": "js",
|
|
1327
|
-
"name": "
|
|
1290
|
+
"name": "AccordionItem",
|
|
1328
1291
|
"declaration": {
|
|
1329
|
-
"name": "
|
|
1330
|
-
"module": "src/
|
|
1292
|
+
"name": "AccordionItem",
|
|
1293
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1331
1294
|
}
|
|
1332
|
-
}
|
|
1333
|
-
]
|
|
1334
|
-
},
|
|
1335
|
-
{
|
|
1336
|
-
"kind": "javascript-module",
|
|
1337
|
-
"path": "src/_common/field-styles.ts",
|
|
1338
|
-
"declarations": [
|
|
1339
|
-
{
|
|
1340
|
-
"kind": "variable",
|
|
1341
|
-
"name": "sharedFieldStyles",
|
|
1342
|
-
"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`"
|
|
1343
|
-
}
|
|
1344
|
-
],
|
|
1345
|
-
"exports": [
|
|
1295
|
+
},
|
|
1346
1296
|
{
|
|
1347
1297
|
"kind": "js",
|
|
1348
|
-
"name": "
|
|
1298
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1349
1299
|
"declaration": {
|
|
1350
|
-
"name": "
|
|
1351
|
-
"module": "src/
|
|
1300
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1301
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1352
1302
|
}
|
|
1353
|
-
}
|
|
1354
|
-
]
|
|
1355
|
-
},
|
|
1356
|
-
{
|
|
1357
|
-
"kind": "javascript-module",
|
|
1358
|
-
"path": "src/_common/icons.ts",
|
|
1359
|
-
"declarations": [
|
|
1303
|
+
},
|
|
1360
1304
|
{
|
|
1361
|
-
"kind": "
|
|
1362
|
-
"name": "
|
|
1363
|
-
"
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
{
|
|
1369
|
-
"name": "fill",
|
|
1370
|
-
"default": "'#879ba6'"
|
|
1371
|
-
}
|
|
1372
|
-
]
|
|
1373
|
-
}
|
|
1374
|
-
],
|
|
1375
|
-
"exports": [
|
|
1305
|
+
"kind": "js",
|
|
1306
|
+
"name": "defaultAccordionItemConfig",
|
|
1307
|
+
"declaration": {
|
|
1308
|
+
"name": "defaultAccordionItemConfig",
|
|
1309
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1310
|
+
}
|
|
1311
|
+
},
|
|
1376
1312
|
{
|
|
1377
1313
|
"kind": "js",
|
|
1378
|
-
"name": "
|
|
1314
|
+
"name": "foundationAccordionItem",
|
|
1379
1315
|
"declaration": {
|
|
1380
|
-
"name": "
|
|
1381
|
-
"module": "src/
|
|
1316
|
+
"name": "foundationAccordionItem",
|
|
1317
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1382
1318
|
}
|
|
1383
1319
|
}
|
|
1384
1320
|
]
|
|
1385
1321
|
},
|
|
1386
1322
|
{
|
|
1387
1323
|
"kind": "javascript-module",
|
|
1388
|
-
"path": "src/
|
|
1324
|
+
"path": "src/accordion-item/index.ts",
|
|
1389
1325
|
"declarations": [],
|
|
1390
1326
|
"exports": [
|
|
1391
1327
|
{
|
|
@@ -1393,15 +1329,7 @@
|
|
|
1393
1329
|
"name": "*",
|
|
1394
1330
|
"declaration": {
|
|
1395
1331
|
"name": "*",
|
|
1396
|
-
"package": "./
|
|
1397
|
-
}
|
|
1398
|
-
},
|
|
1399
|
-
{
|
|
1400
|
-
"kind": "js",
|
|
1401
|
-
"name": "*",
|
|
1402
|
-
"declaration": {
|
|
1403
|
-
"name": "*",
|
|
1404
|
-
"package": "./base-file-component"
|
|
1332
|
+
"package": "./accordion-item.template"
|
|
1405
1333
|
}
|
|
1406
1334
|
},
|
|
1407
1335
|
{
|
|
@@ -1409,7 +1337,7 @@
|
|
|
1409
1337
|
"name": "*",
|
|
1410
1338
|
"declaration": {
|
|
1411
1339
|
"name": "*",
|
|
1412
|
-
"package": "./
|
|
1340
|
+
"package": "./accordion-item.styles"
|
|
1413
1341
|
}
|
|
1414
1342
|
},
|
|
1415
1343
|
{
|
|
@@ -1417,7 +1345,7 @@
|
|
|
1417
1345
|
"name": "*",
|
|
1418
1346
|
"declaration": {
|
|
1419
1347
|
"name": "*",
|
|
1420
|
-
"package": "./
|
|
1348
|
+
"package": "./accordion-item"
|
|
1421
1349
|
}
|
|
1422
1350
|
}
|
|
1423
1351
|
]
|
|
@@ -1995,97 +1923,44 @@
|
|
|
1995
1923
|
},
|
|
1996
1924
|
{
|
|
1997
1925
|
"kind": "javascript-module",
|
|
1998
|
-
"path": "src/
|
|
1999
|
-
"declarations": [],
|
|
2000
|
-
"exports": [
|
|
2001
|
-
{
|
|
2002
|
-
"kind": "js",
|
|
2003
|
-
"name": "*",
|
|
2004
|
-
"declaration": {
|
|
2005
|
-
"name": "*",
|
|
2006
|
-
"package": "./styles"
|
|
2007
|
-
}
|
|
2008
|
-
},
|
|
2009
|
-
{
|
|
2010
|
-
"kind": "js",
|
|
2011
|
-
"name": "*",
|
|
2012
|
-
"declaration": {
|
|
2013
|
-
"name": "*",
|
|
2014
|
-
"package": "./tokens"
|
|
2015
|
-
}
|
|
2016
|
-
},
|
|
2017
|
-
{
|
|
2018
|
-
"kind": "js",
|
|
2019
|
-
"name": "*",
|
|
2020
|
-
"declaration": {
|
|
2021
|
-
"name": "*",
|
|
2022
|
-
"package": "./values"
|
|
2023
|
-
}
|
|
2024
|
-
}
|
|
2025
|
-
]
|
|
2026
|
-
},
|
|
2027
|
-
{
|
|
2028
|
-
"kind": "javascript-module",
|
|
2029
|
-
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
1926
|
+
"path": "src/_common/affix-mixin.ts",
|
|
2030
1927
|
"declarations": [
|
|
2031
1928
|
{
|
|
2032
|
-
"kind": "
|
|
2033
|
-
"
|
|
2034
|
-
"
|
|
2035
|
-
|
|
2036
|
-
"text": "ElementStyles"
|
|
2037
|
-
}
|
|
2038
|
-
},
|
|
2039
|
-
"parameters": [
|
|
1929
|
+
"kind": "mixin",
|
|
1930
|
+
"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.",
|
|
1931
|
+
"name": "AffixMixin",
|
|
1932
|
+
"members": [
|
|
2040
1933
|
{
|
|
2041
|
-
"
|
|
1934
|
+
"kind": "field",
|
|
1935
|
+
"name": "prefix",
|
|
2042
1936
|
"type": {
|
|
2043
|
-
"text": "
|
|
2044
|
-
}
|
|
1937
|
+
"text": "string"
|
|
1938
|
+
},
|
|
1939
|
+
"description": "Optional non-editable label shown on the left inside the field, before the input."
|
|
2045
1940
|
},
|
|
2046
1941
|
{
|
|
2047
|
-
"
|
|
1942
|
+
"kind": "field",
|
|
1943
|
+
"name": "suffix",
|
|
2048
1944
|
"type": {
|
|
2049
|
-
"text": "
|
|
2050
|
-
}
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
}
|
|
2054
|
-
],
|
|
2055
|
-
"exports": [
|
|
2056
|
-
{
|
|
2057
|
-
"kind": "js",
|
|
2058
|
-
"name": "foundationAccordionItemStyles",
|
|
2059
|
-
"declaration": {
|
|
2060
|
-
"name": "foundationAccordionItemStyles",
|
|
2061
|
-
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
2062
|
-
}
|
|
2063
|
-
}
|
|
2064
|
-
]
|
|
2065
|
-
},
|
|
2066
|
-
{
|
|
2067
|
-
"kind": "javascript-module",
|
|
2068
|
-
"path": "src/accordion-item/accordion-item.template.ts",
|
|
2069
|
-
"declarations": [
|
|
2070
|
-
{
|
|
2071
|
-
"kind": "function",
|
|
2072
|
-
"name": "foundationAccordionItemTemplate",
|
|
2073
|
-
"return": {
|
|
2074
|
-
"type": {
|
|
2075
|
-
"text": "ViewTemplate<AccordionItem>"
|
|
2076
|
-
}
|
|
2077
|
-
},
|
|
2078
|
-
"parameters": [
|
|
1945
|
+
"text": "string"
|
|
1946
|
+
},
|
|
1947
|
+
"description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
|
|
1948
|
+
},
|
|
2079
1949
|
{
|
|
2080
|
-
"
|
|
1950
|
+
"kind": "field",
|
|
1951
|
+
"name": "hideAffixFromScreenReader",
|
|
2081
1952
|
"type": {
|
|
2082
|
-
"text": "
|
|
2083
|
-
}
|
|
2084
|
-
|
|
1953
|
+
"text": "boolean"
|
|
1954
|
+
},
|
|
1955
|
+
"default": "false",
|
|
1956
|
+
"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."
|
|
1957
|
+
}
|
|
1958
|
+
],
|
|
1959
|
+
"parameters": [
|
|
2085
1960
|
{
|
|
2086
|
-
"name": "
|
|
1961
|
+
"name": "Base",
|
|
2087
1962
|
"type": {
|
|
2088
|
-
"text": "
|
|
1963
|
+
"text": "TBase"
|
|
2089
1964
|
}
|
|
2090
1965
|
}
|
|
2091
1966
|
]
|
|
@@ -2094,118 +1969,170 @@
|
|
|
2094
1969
|
"exports": [
|
|
2095
1970
|
{
|
|
2096
1971
|
"kind": "js",
|
|
2097
|
-
"name": "
|
|
1972
|
+
"name": "AffixMixin",
|
|
2098
1973
|
"declaration": {
|
|
2099
|
-
"name": "
|
|
2100
|
-
"module": "src/
|
|
1974
|
+
"name": "AffixMixin",
|
|
1975
|
+
"module": "src/_common/affix-mixin.ts"
|
|
2101
1976
|
}
|
|
2102
1977
|
}
|
|
2103
1978
|
]
|
|
2104
1979
|
},
|
|
2105
1980
|
{
|
|
2106
1981
|
"kind": "javascript-module",
|
|
2107
|
-
"path": "src/
|
|
1982
|
+
"path": "src/_common/base-file-component.ts",
|
|
2108
1983
|
"declarations": [
|
|
2109
1984
|
{
|
|
2110
1985
|
"kind": "class",
|
|
2111
|
-
"description": "",
|
|
2112
|
-
"name": "
|
|
2113
|
-
"
|
|
2114
|
-
"name": "FASTAccordionItem",
|
|
2115
|
-
"package": "@microsoft/fast-components"
|
|
2116
|
-
},
|
|
2117
|
-
"tagName": "%%prefix%%-accordion-item",
|
|
2118
|
-
"customElement": true,
|
|
2119
|
-
"attributes": [
|
|
1986
|
+
"description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
|
|
1987
|
+
"name": "BaseFileComponent",
|
|
1988
|
+
"members": [
|
|
2120
1989
|
{
|
|
2121
|
-
"
|
|
1990
|
+
"kind": "field",
|
|
1991
|
+
"name": "fileInput",
|
|
2122
1992
|
"type": {
|
|
2123
|
-
"text": "
|
|
1993
|
+
"text": "HTMLInputElement"
|
|
2124
1994
|
},
|
|
2125
|
-
"
|
|
2126
|
-
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
2127
|
-
"fieldName": "headinglevel",
|
|
2128
|
-
"inheritedFrom": {
|
|
2129
|
-
"name": "AccordionItem",
|
|
2130
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2131
|
-
}
|
|
1995
|
+
"privacy": "public"
|
|
2132
1996
|
},
|
|
2133
1997
|
{
|
|
1998
|
+
"kind": "field",
|
|
1999
|
+
"name": "selectedFile",
|
|
2134
2000
|
"type": {
|
|
2135
|
-
"text": "
|
|
2001
|
+
"text": "File | null"
|
|
2136
2002
|
},
|
|
2137
|
-
"
|
|
2138
|
-
"
|
|
2139
|
-
"fieldName": "expanded",
|
|
2140
|
-
"inheritedFrom": {
|
|
2141
|
-
"name": "AccordionItem",
|
|
2142
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2143
|
-
}
|
|
2003
|
+
"privacy": "protected",
|
|
2004
|
+
"default": "null"
|
|
2144
2005
|
},
|
|
2145
2006
|
{
|
|
2146
|
-
"
|
|
2007
|
+
"kind": "field",
|
|
2008
|
+
"name": "label",
|
|
2147
2009
|
"type": {
|
|
2148
2010
|
"text": "string"
|
|
2149
|
-
},
|
|
2150
|
-
"description": "The item ID",
|
|
2151
|
-
"fieldName": "id",
|
|
2152
|
-
"inheritedFrom": {
|
|
2153
|
-
"name": "AccordionItem",
|
|
2154
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2155
2011
|
}
|
|
2156
|
-
}
|
|
2157
|
-
],
|
|
2158
|
-
"members": [
|
|
2012
|
+
},
|
|
2159
2013
|
{
|
|
2160
2014
|
"kind": "field",
|
|
2161
|
-
"name": "
|
|
2015
|
+
"name": "accept",
|
|
2162
2016
|
"type": {
|
|
2163
|
-
"text": "
|
|
2017
|
+
"text": "string"
|
|
2164
2018
|
},
|
|
2165
|
-
"
|
|
2166
|
-
"default": "2",
|
|
2167
|
-
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
2168
|
-
"inheritedFrom": {
|
|
2169
|
-
"name": "AccordionItem",
|
|
2170
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2171
|
-
}
|
|
2019
|
+
"default": "''"
|
|
2172
2020
|
},
|
|
2173
2021
|
{
|
|
2174
2022
|
"kind": "field",
|
|
2175
|
-
"name": "
|
|
2023
|
+
"name": "fileSizeLimitBytes",
|
|
2024
|
+
"default": "10_485_760",
|
|
2176
2025
|
"type": {
|
|
2177
|
-
"text": "
|
|
2178
|
-
},
|
|
2179
|
-
"privacy": "public",
|
|
2180
|
-
"default": "false",
|
|
2181
|
-
"description": "Expands or collapses the item.",
|
|
2182
|
-
"inheritedFrom": {
|
|
2183
|
-
"name": "AccordionItem",
|
|
2184
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2026
|
+
"text": "number"
|
|
2185
2027
|
}
|
|
2186
2028
|
},
|
|
2187
2029
|
{
|
|
2188
2030
|
"kind": "field",
|
|
2189
|
-
"name": "
|
|
2031
|
+
"name": "fileName",
|
|
2190
2032
|
"type": {
|
|
2191
2033
|
"text": "string"
|
|
2192
2034
|
},
|
|
2193
|
-
"
|
|
2194
|
-
"description": "The item ID",
|
|
2195
|
-
"inheritedFrom": {
|
|
2196
|
-
"name": "AccordionItem",
|
|
2197
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2198
|
-
}
|
|
2035
|
+
"default": "''"
|
|
2199
2036
|
},
|
|
2200
2037
|
{
|
|
2201
2038
|
"kind": "field",
|
|
2202
|
-
"name": "
|
|
2203
|
-
"
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2039
|
+
"name": "isProcessing",
|
|
2040
|
+
"type": {
|
|
2041
|
+
"text": "boolean"
|
|
2042
|
+
},
|
|
2043
|
+
"default": "false"
|
|
2044
|
+
},
|
|
2045
|
+
{
|
|
2046
|
+
"kind": "method",
|
|
2047
|
+
"name": "handleClick",
|
|
2048
|
+
"privacy": "public",
|
|
2049
|
+
"description": "Opens the file picker dialog\nClears any previous file selection before opening"
|
|
2050
|
+
},
|
|
2051
|
+
{
|
|
2052
|
+
"kind": "method",
|
|
2053
|
+
"name": "onInputChange",
|
|
2054
|
+
"privacy": "public",
|
|
2055
|
+
"parameters": [
|
|
2056
|
+
{
|
|
2057
|
+
"name": "e",
|
|
2058
|
+
"type": {
|
|
2059
|
+
"text": "Event"
|
|
2060
|
+
},
|
|
2061
|
+
"description": "The change event from the file input"
|
|
2062
|
+
}
|
|
2063
|
+
],
|
|
2064
|
+
"description": "Handles file selection from the file input\nValidates file size and sets up for processing"
|
|
2065
|
+
},
|
|
2066
|
+
{
|
|
2067
|
+
"kind": "method",
|
|
2068
|
+
"name": "clearSelection",
|
|
2069
|
+
"privacy": "public",
|
|
2070
|
+
"description": "Clears all file selection and processing state\nResets the component to its initial state"
|
|
2071
|
+
},
|
|
2072
|
+
{
|
|
2073
|
+
"kind": "method",
|
|
2074
|
+
"name": "getSelectedFile",
|
|
2075
|
+
"privacy": "public",
|
|
2076
|
+
"description": "Gets the currently selected file object",
|
|
2077
|
+
"return": {
|
|
2078
|
+
"type": {
|
|
2079
|
+
"text": ""
|
|
2080
|
+
}
|
|
2207
2081
|
}
|
|
2208
2082
|
},
|
|
2083
|
+
{
|
|
2084
|
+
"kind": "method",
|
|
2085
|
+
"name": "showError",
|
|
2086
|
+
"privacy": "protected",
|
|
2087
|
+
"parameters": [
|
|
2088
|
+
{
|
|
2089
|
+
"name": "title",
|
|
2090
|
+
"type": {
|
|
2091
|
+
"text": "string"
|
|
2092
|
+
},
|
|
2093
|
+
"description": "The error title"
|
|
2094
|
+
},
|
|
2095
|
+
{
|
|
2096
|
+
"name": "message",
|
|
2097
|
+
"type": {
|
|
2098
|
+
"text": "string"
|
|
2099
|
+
},
|
|
2100
|
+
"description": "The error message"
|
|
2101
|
+
}
|
|
2102
|
+
],
|
|
2103
|
+
"description": "Shows an error notification using the unified error handling system"
|
|
2104
|
+
},
|
|
2105
|
+
{
|
|
2106
|
+
"kind": "method",
|
|
2107
|
+
"name": "onFileSelected",
|
|
2108
|
+
"privacy": "protected",
|
|
2109
|
+
"return": {
|
|
2110
|
+
"type": {
|
|
2111
|
+
"text": "void"
|
|
2112
|
+
}
|
|
2113
|
+
},
|
|
2114
|
+
"parameters": [
|
|
2115
|
+
{
|
|
2116
|
+
"name": "files",
|
|
2117
|
+
"type": {
|
|
2118
|
+
"text": "File[]"
|
|
2119
|
+
},
|
|
2120
|
+
"description": "The selected file"
|
|
2121
|
+
}
|
|
2122
|
+
],
|
|
2123
|
+
"description": "Abstract method called when a file is selected"
|
|
2124
|
+
},
|
|
2125
|
+
{
|
|
2126
|
+
"kind": "method",
|
|
2127
|
+
"name": "onFileCleared",
|
|
2128
|
+
"privacy": "protected",
|
|
2129
|
+
"return": {
|
|
2130
|
+
"type": {
|
|
2131
|
+
"text": "void"
|
|
2132
|
+
}
|
|
2133
|
+
},
|
|
2134
|
+
"description": "Abstract method called when file selection is cleared"
|
|
2135
|
+
},
|
|
2209
2136
|
{
|
|
2210
2137
|
"kind": "field",
|
|
2211
2138
|
"name": "_presentation",
|
|
@@ -2320,76 +2247,110 @@
|
|
|
2320
2247
|
],
|
|
2321
2248
|
"events": [
|
|
2322
2249
|
{
|
|
2323
|
-
"description": "
|
|
2324
|
-
"name": "
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2250
|
+
"description": "Fired when file size validation fails. detail: `Error`",
|
|
2251
|
+
"name": "error"
|
|
2252
|
+
},
|
|
2253
|
+
{
|
|
2254
|
+
"description": "Fired when selection is cleared",
|
|
2255
|
+
"name": "clear"
|
|
2329
2256
|
}
|
|
2330
|
-
]
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2257
|
+
],
|
|
2258
|
+
"attributes": [
|
|
2259
|
+
{
|
|
2260
|
+
"name": "label",
|
|
2261
|
+
"type": {
|
|
2262
|
+
"text": "string"
|
|
2263
|
+
},
|
|
2264
|
+
"fieldName": "label"
|
|
2265
|
+
},
|
|
2266
|
+
{
|
|
2267
|
+
"name": "accept",
|
|
2268
|
+
"type": {
|
|
2269
|
+
"text": "string"
|
|
2270
|
+
},
|
|
2271
|
+
"default": "''",
|
|
2272
|
+
"fieldName": "accept"
|
|
2273
|
+
},
|
|
2274
|
+
{
|
|
2275
|
+
"name": "file-size-limit-bytes",
|
|
2276
|
+
"default": "DEFAULT_FILE_SIZE_LIMIT",
|
|
2277
|
+
"resolveInitializer": {
|
|
2278
|
+
"module": "src/_common/base-file-component.ts"
|
|
2279
|
+
},
|
|
2280
|
+
"fieldName": "fileSizeLimitBytes"
|
|
2281
|
+
}
|
|
2282
|
+
],
|
|
2283
|
+
"superclass": {
|
|
2284
|
+
"name": "FoundationElement",
|
|
2285
|
+
"package": "@microsoft/fast-foundation"
|
|
2286
|
+
}
|
|
2353
2287
|
}
|
|
2354
2288
|
],
|
|
2355
2289
|
"exports": [
|
|
2356
2290
|
{
|
|
2357
2291
|
"kind": "js",
|
|
2358
|
-
"name": "
|
|
2292
|
+
"name": "BaseFileComponent",
|
|
2359
2293
|
"declaration": {
|
|
2360
|
-
"name": "
|
|
2361
|
-
"module": "src/
|
|
2294
|
+
"name": "BaseFileComponent",
|
|
2295
|
+
"module": "src/_common/base-file-component.ts"
|
|
2362
2296
|
}
|
|
2363
|
-
}
|
|
2297
|
+
}
|
|
2298
|
+
]
|
|
2299
|
+
},
|
|
2300
|
+
{
|
|
2301
|
+
"kind": "javascript-module",
|
|
2302
|
+
"path": "src/_common/field-styles.ts",
|
|
2303
|
+
"declarations": [
|
|
2364
2304
|
{
|
|
2365
|
-
"kind": "
|
|
2366
|
-
"name": "
|
|
2367
|
-
"
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
},
|
|
2305
|
+
"kind": "variable",
|
|
2306
|
+
"name": "sharedFieldStyles",
|
|
2307
|
+
"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`"
|
|
2308
|
+
}
|
|
2309
|
+
],
|
|
2310
|
+
"exports": [
|
|
2372
2311
|
{
|
|
2373
2312
|
"kind": "js",
|
|
2374
|
-
"name": "
|
|
2313
|
+
"name": "sharedFieldStyles",
|
|
2375
2314
|
"declaration": {
|
|
2376
|
-
"name": "
|
|
2377
|
-
"module": "src/
|
|
2315
|
+
"name": "sharedFieldStyles",
|
|
2316
|
+
"module": "src/_common/field-styles.ts"
|
|
2378
2317
|
}
|
|
2379
|
-
}
|
|
2318
|
+
}
|
|
2319
|
+
]
|
|
2320
|
+
},
|
|
2321
|
+
{
|
|
2322
|
+
"kind": "javascript-module",
|
|
2323
|
+
"path": "src/_common/icons.ts",
|
|
2324
|
+
"declarations": [
|
|
2325
|
+
{
|
|
2326
|
+
"kind": "function",
|
|
2327
|
+
"name": "closeIcon",
|
|
2328
|
+
"parameters": [
|
|
2329
|
+
{
|
|
2330
|
+
"name": "slot",
|
|
2331
|
+
"default": "'start'"
|
|
2332
|
+
},
|
|
2333
|
+
{
|
|
2334
|
+
"name": "fill",
|
|
2335
|
+
"default": "'#879ba6'"
|
|
2336
|
+
}
|
|
2337
|
+
]
|
|
2338
|
+
}
|
|
2339
|
+
],
|
|
2340
|
+
"exports": [
|
|
2380
2341
|
{
|
|
2381
2342
|
"kind": "js",
|
|
2382
|
-
"name": "
|
|
2343
|
+
"name": "closeIcon",
|
|
2383
2344
|
"declaration": {
|
|
2384
|
-
"name": "
|
|
2385
|
-
"module": "src/
|
|
2345
|
+
"name": "closeIcon",
|
|
2346
|
+
"module": "src/_common/icons.ts"
|
|
2386
2347
|
}
|
|
2387
2348
|
}
|
|
2388
2349
|
]
|
|
2389
2350
|
},
|
|
2390
2351
|
{
|
|
2391
2352
|
"kind": "javascript-module",
|
|
2392
|
-
"path": "src/
|
|
2353
|
+
"path": "src/_common/index.ts",
|
|
2393
2354
|
"declarations": [],
|
|
2394
2355
|
"exports": [
|
|
2395
2356
|
{
|
|
@@ -2397,7 +2358,7 @@
|
|
|
2397
2358
|
"name": "*",
|
|
2398
2359
|
"declaration": {
|
|
2399
2360
|
"name": "*",
|
|
2400
|
-
"package": "./
|
|
2361
|
+
"package": "./affix-mixin"
|
|
2401
2362
|
}
|
|
2402
2363
|
},
|
|
2403
2364
|
{
|
|
@@ -2405,7 +2366,7 @@
|
|
|
2405
2366
|
"name": "*",
|
|
2406
2367
|
"declaration": {
|
|
2407
2368
|
"name": "*",
|
|
2408
|
-
"package": "./
|
|
2369
|
+
"package": "./base-file-component"
|
|
2409
2370
|
}
|
|
2410
2371
|
},
|
|
2411
2372
|
{
|
|
@@ -2413,7 +2374,15 @@
|
|
|
2413
2374
|
"name": "*",
|
|
2414
2375
|
"declaration": {
|
|
2415
2376
|
"name": "*",
|
|
2416
|
-
"package": "./
|
|
2377
|
+
"package": "./field-styles"
|
|
2378
|
+
}
|
|
2379
|
+
},
|
|
2380
|
+
{
|
|
2381
|
+
"kind": "js",
|
|
2382
|
+
"name": "*",
|
|
2383
|
+
"declaration": {
|
|
2384
|
+
"name": "*",
|
|
2385
|
+
"package": "./icons"
|
|
2417
2386
|
}
|
|
2418
2387
|
}
|
|
2419
2388
|
]
|
|
@@ -3029,11 +2998,11 @@
|
|
|
3029
2998
|
},
|
|
3030
2999
|
{
|
|
3031
3000
|
"kind": "javascript-module",
|
|
3032
|
-
"path": "src/
|
|
3001
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
3033
3002
|
"declarations": [
|
|
3034
3003
|
{
|
|
3035
3004
|
"kind": "function",
|
|
3036
|
-
"name": "
|
|
3005
|
+
"name": "foundationAiIndicatorStyles",
|
|
3037
3006
|
"return": {
|
|
3038
3007
|
"type": {
|
|
3039
3008
|
"text": "ElementStyles"
|
|
@@ -3058,276 +3027,224 @@
|
|
|
3058
3027
|
"exports": [
|
|
3059
3028
|
{
|
|
3060
3029
|
"kind": "js",
|
|
3061
|
-
"name": "
|
|
3030
|
+
"name": "foundationAiIndicatorStyles",
|
|
3062
3031
|
"declaration": {
|
|
3063
|
-
"name": "
|
|
3064
|
-
"module": "src/
|
|
3032
|
+
"name": "foundationAiIndicatorStyles",
|
|
3033
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
3065
3034
|
}
|
|
3066
3035
|
}
|
|
3067
3036
|
]
|
|
3068
3037
|
},
|
|
3069
3038
|
{
|
|
3070
3039
|
"kind": "javascript-module",
|
|
3071
|
-
"path": "src/
|
|
3040
|
+
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
3072
3041
|
"declarations": [
|
|
3073
3042
|
{
|
|
3074
|
-
"kind": "
|
|
3075
|
-
"name": "
|
|
3076
|
-
"
|
|
3077
|
-
"
|
|
3078
|
-
"text": "ViewTemplate<Accordion>"
|
|
3079
|
-
}
|
|
3043
|
+
"kind": "variable",
|
|
3044
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3045
|
+
"type": {
|
|
3046
|
+
"text": "ViewTemplate<AiIndicator>"
|
|
3080
3047
|
},
|
|
3081
|
-
"
|
|
3082
|
-
{
|
|
3083
|
-
"name": "context",
|
|
3084
|
-
"type": {
|
|
3085
|
-
"text": "ElementDefinitionContext"
|
|
3086
|
-
}
|
|
3087
|
-
},
|
|
3088
|
-
{
|
|
3089
|
-
"name": "definition",
|
|
3090
|
-
"type": {
|
|
3091
|
-
"text": "FoundationElementDefinition"
|
|
3092
|
-
}
|
|
3093
|
-
}
|
|
3094
|
-
]
|
|
3048
|
+
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
3095
3049
|
}
|
|
3096
3050
|
],
|
|
3097
3051
|
"exports": [
|
|
3098
3052
|
{
|
|
3099
3053
|
"kind": "js",
|
|
3100
|
-
"name": "
|
|
3054
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3101
3055
|
"declaration": {
|
|
3102
|
-
"name": "
|
|
3103
|
-
"module": "src/
|
|
3056
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3057
|
+
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
3104
3058
|
}
|
|
3105
3059
|
}
|
|
3106
3060
|
]
|
|
3107
3061
|
},
|
|
3108
3062
|
{
|
|
3109
3063
|
"kind": "javascript-module",
|
|
3110
|
-
"path": "src/
|
|
3064
|
+
"path": "src/ai-indicator/ai-indicator.ts",
|
|
3111
3065
|
"declarations": [
|
|
3112
3066
|
{
|
|
3113
3067
|
"kind": "class",
|
|
3114
3068
|
"description": "",
|
|
3115
|
-
"name": "
|
|
3116
|
-
"
|
|
3117
|
-
"name": "FASTAccordion",
|
|
3118
|
-
"package": "@microsoft/fast-foundation"
|
|
3119
|
-
},
|
|
3120
|
-
"tagName": "%%prefix%%-accordion",
|
|
3121
|
-
"customElement": true,
|
|
3122
|
-
"attributes": [
|
|
3069
|
+
"name": "AiIndicator",
|
|
3070
|
+
"members": [
|
|
3123
3071
|
{
|
|
3124
|
-
"
|
|
3072
|
+
"kind": "field",
|
|
3073
|
+
"name": "providerRegistry",
|
|
3125
3074
|
"type": {
|
|
3126
|
-
"text": "
|
|
3127
|
-
},
|
|
3128
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3129
|
-
"fieldName": "expandmode",
|
|
3130
|
-
"inheritedFrom": {
|
|
3131
|
-
"name": "Accordion",
|
|
3132
|
-
"module": "src/accordion/accordion.ts"
|
|
3075
|
+
"text": "AIProviderRegistry"
|
|
3133
3076
|
}
|
|
3134
|
-
}
|
|
3135
|
-
],
|
|
3136
|
-
"members": [
|
|
3077
|
+
},
|
|
3137
3078
|
{
|
|
3138
3079
|
"kind": "field",
|
|
3139
|
-
"name": "
|
|
3080
|
+
"name": "aiProvider",
|
|
3140
3081
|
"type": {
|
|
3141
|
-
"text": "
|
|
3082
|
+
"text": "AIProvider | undefined"
|
|
3142
3083
|
},
|
|
3143
|
-
"privacy": "
|
|
3144
|
-
"description": "
|
|
3145
|
-
"
|
|
3146
|
-
"name": "Accordion",
|
|
3147
|
-
"module": "src/accordion/accordion.ts"
|
|
3148
|
-
}
|
|
3084
|
+
"privacy": "private",
|
|
3085
|
+
"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.",
|
|
3086
|
+
"readonly": true
|
|
3149
3087
|
},
|
|
3150
3088
|
{
|
|
3151
3089
|
"kind": "field",
|
|
3152
|
-
"name": "
|
|
3090
|
+
"name": "status",
|
|
3153
3091
|
"type": {
|
|
3154
|
-
"text": "
|
|
3092
|
+
"text": "AIStatus | null"
|
|
3155
3093
|
},
|
|
3156
|
-
"
|
|
3157
|
-
"inheritedFrom": {
|
|
3158
|
-
"name": "Accordion",
|
|
3159
|
-
"module": "src/accordion/accordion.ts"
|
|
3160
|
-
}
|
|
3094
|
+
"default": "null"
|
|
3161
3095
|
},
|
|
3162
3096
|
{
|
|
3163
3097
|
"kind": "field",
|
|
3164
|
-
"name": "
|
|
3098
|
+
"name": "open",
|
|
3165
3099
|
"type": {
|
|
3166
|
-
"text": "
|
|
3100
|
+
"text": "boolean"
|
|
3167
3101
|
},
|
|
3168
|
-
"
|
|
3169
|
-
"default": "0",
|
|
3170
|
-
"inheritedFrom": {
|
|
3171
|
-
"name": "Accordion",
|
|
3172
|
-
"module": "src/accordion/accordion.ts"
|
|
3173
|
-
}
|
|
3102
|
+
"default": "false"
|
|
3174
3103
|
},
|
|
3175
3104
|
{
|
|
3176
3105
|
"kind": "field",
|
|
3177
|
-
"name": "
|
|
3106
|
+
"name": "state",
|
|
3178
3107
|
"type": {
|
|
3179
|
-
"text": "
|
|
3108
|
+
"text": "AIIndicatorState"
|
|
3180
3109
|
},
|
|
3181
|
-
"
|
|
3182
|
-
"inheritedFrom": {
|
|
3183
|
-
"name": "Accordion",
|
|
3184
|
-
"module": "src/accordion/accordion.ts"
|
|
3185
|
-
}
|
|
3110
|
+
"default": "'none'"
|
|
3186
3111
|
},
|
|
3187
3112
|
{
|
|
3188
3113
|
"kind": "field",
|
|
3189
|
-
"name": "
|
|
3190
|
-
"
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
}
|
|
3114
|
+
"name": "isInstalling",
|
|
3115
|
+
"type": {
|
|
3116
|
+
"text": "boolean"
|
|
3117
|
+
},
|
|
3118
|
+
"default": "false"
|
|
3195
3119
|
},
|
|
3196
3120
|
{
|
|
3197
|
-
"kind": "
|
|
3198
|
-
"name": "
|
|
3121
|
+
"kind": "field",
|
|
3122
|
+
"name": "pollTimer",
|
|
3123
|
+
"type": {
|
|
3124
|
+
"text": "ReturnType<typeof setInterval> | null"
|
|
3125
|
+
},
|
|
3199
3126
|
"privacy": "private",
|
|
3200
|
-
"
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3127
|
+
"default": "null"
|
|
3128
|
+
},
|
|
3129
|
+
{
|
|
3130
|
+
"kind": "field",
|
|
3131
|
+
"name": "clickOutside",
|
|
3132
|
+
"privacy": "private"
|
|
3133
|
+
},
|
|
3134
|
+
{
|
|
3135
|
+
"kind": "field",
|
|
3136
|
+
"name": "chromeStatusLabel",
|
|
3137
|
+
"type": {
|
|
3138
|
+
"text": "string | null"
|
|
3204
3139
|
},
|
|
3205
|
-
"
|
|
3206
|
-
"name": "Accordion",
|
|
3207
|
-
"module": "src/accordion/accordion.ts"
|
|
3208
|
-
}
|
|
3140
|
+
"readonly": true
|
|
3209
3141
|
},
|
|
3210
3142
|
{
|
|
3211
3143
|
"kind": "field",
|
|
3212
|
-
"name": "
|
|
3213
|
-
"
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3144
|
+
"name": "canInstall",
|
|
3145
|
+
"type": {
|
|
3146
|
+
"text": "boolean"
|
|
3147
|
+
},
|
|
3148
|
+
"readonly": true
|
|
3149
|
+
},
|
|
3150
|
+
{
|
|
3151
|
+
"kind": "field",
|
|
3152
|
+
"name": "isDownloading",
|
|
3153
|
+
"type": {
|
|
3154
|
+
"text": "boolean"
|
|
3155
|
+
},
|
|
3156
|
+
"readonly": true
|
|
3218
3157
|
},
|
|
3219
3158
|
{
|
|
3220
3159
|
"kind": "method",
|
|
3221
|
-
"name": "
|
|
3222
|
-
"privacy": "private",
|
|
3160
|
+
"name": "openChanged",
|
|
3223
3161
|
"return": {
|
|
3224
3162
|
"type": {
|
|
3225
3163
|
"text": "void"
|
|
3226
3164
|
}
|
|
3227
|
-
},
|
|
3228
|
-
"inheritedFrom": {
|
|
3229
|
-
"name": "Accordion",
|
|
3230
|
-
"module": "src/accordion/accordion.ts"
|
|
3231
3165
|
}
|
|
3232
3166
|
},
|
|
3233
3167
|
{
|
|
3234
|
-
"kind": "
|
|
3235
|
-
"name": "
|
|
3168
|
+
"kind": "method",
|
|
3169
|
+
"name": "handleClickOutside",
|
|
3236
3170
|
"privacy": "private",
|
|
3237
|
-
"
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3171
|
+
"parameters": [
|
|
3172
|
+
{
|
|
3173
|
+
"name": "event",
|
|
3174
|
+
"type": {
|
|
3175
|
+
"text": "MouseEvent"
|
|
3176
|
+
}
|
|
3177
|
+
}
|
|
3178
|
+
]
|
|
3241
3179
|
},
|
|
3242
3180
|
{
|
|
3243
|
-
"kind": "
|
|
3244
|
-
"name": "
|
|
3245
|
-
"privacy": "private",
|
|
3246
|
-
"inheritedFrom": {
|
|
3247
|
-
"name": "Accordion",
|
|
3248
|
-
"module": "src/accordion/accordion.ts"
|
|
3249
|
-
}
|
|
3181
|
+
"kind": "method",
|
|
3182
|
+
"name": "toggleDropdown"
|
|
3250
3183
|
},
|
|
3251
3184
|
{
|
|
3252
3185
|
"kind": "method",
|
|
3253
|
-
"name": "
|
|
3254
|
-
"privacy": "private",
|
|
3186
|
+
"name": "refreshStatus",
|
|
3255
3187
|
"return": {
|
|
3256
3188
|
"type": {
|
|
3257
|
-
"text": "
|
|
3189
|
+
"text": "Promise<void>"
|
|
3258
3190
|
}
|
|
3259
|
-
},
|
|
3260
|
-
"inheritedFrom": {
|
|
3261
|
-
"name": "Accordion",
|
|
3262
|
-
"module": "src/accordion/accordion.ts"
|
|
3263
3191
|
}
|
|
3264
3192
|
},
|
|
3265
3193
|
{
|
|
3266
3194
|
"kind": "method",
|
|
3267
|
-
"name": "
|
|
3195
|
+
"name": "deriveState",
|
|
3268
3196
|
"privacy": "private",
|
|
3269
3197
|
"return": {
|
|
3270
3198
|
"type": {
|
|
3271
|
-
"text": "
|
|
3199
|
+
"text": "AIIndicatorState"
|
|
3272
3200
|
}
|
|
3273
3201
|
},
|
|
3274
|
-
"
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
3202
|
+
"parameters": [
|
|
3203
|
+
{
|
|
3204
|
+
"name": "s",
|
|
3205
|
+
"type": {
|
|
3206
|
+
"text": "AIStatus | null"
|
|
3207
|
+
}
|
|
3208
|
+
}
|
|
3209
|
+
]
|
|
3278
3210
|
},
|
|
3279
3211
|
{
|
|
3280
|
-
"kind": "
|
|
3281
|
-
"name": "
|
|
3212
|
+
"kind": "method",
|
|
3213
|
+
"name": "maybeStartPolling",
|
|
3282
3214
|
"privacy": "private",
|
|
3283
|
-
"
|
|
3284
|
-
"
|
|
3285
|
-
|
|
3215
|
+
"return": {
|
|
3216
|
+
"type": {
|
|
3217
|
+
"text": "void"
|
|
3218
|
+
}
|
|
3286
3219
|
}
|
|
3287
3220
|
},
|
|
3288
3221
|
{
|
|
3289
|
-
"kind": "
|
|
3290
|
-
"name": "
|
|
3222
|
+
"kind": "method",
|
|
3223
|
+
"name": "startPolling",
|
|
3291
3224
|
"privacy": "private",
|
|
3292
|
-
"
|
|
3293
|
-
"
|
|
3294
|
-
|
|
3225
|
+
"return": {
|
|
3226
|
+
"type": {
|
|
3227
|
+
"text": "void"
|
|
3228
|
+
}
|
|
3295
3229
|
}
|
|
3296
3230
|
},
|
|
3297
3231
|
{
|
|
3298
3232
|
"kind": "method",
|
|
3299
|
-
"name": "
|
|
3233
|
+
"name": "stopPolling",
|
|
3300
3234
|
"privacy": "private",
|
|
3301
3235
|
"return": {
|
|
3302
3236
|
"type": {
|
|
3303
3237
|
"text": "void"
|
|
3304
3238
|
}
|
|
3305
|
-
},
|
|
3306
|
-
"parameters": [
|
|
3307
|
-
{
|
|
3308
|
-
"name": "adjustment",
|
|
3309
|
-
"type": {
|
|
3310
|
-
"text": "number"
|
|
3311
|
-
}
|
|
3312
|
-
}
|
|
3313
|
-
],
|
|
3314
|
-
"inheritedFrom": {
|
|
3315
|
-
"name": "Accordion",
|
|
3316
|
-
"module": "src/accordion/accordion.ts"
|
|
3317
3239
|
}
|
|
3318
3240
|
},
|
|
3319
3241
|
{
|
|
3320
3242
|
"kind": "method",
|
|
3321
|
-
"name": "
|
|
3322
|
-
"privacy": "private",
|
|
3243
|
+
"name": "onInstall",
|
|
3323
3244
|
"return": {
|
|
3324
3245
|
"type": {
|
|
3325
|
-
"text": "void"
|
|
3246
|
+
"text": "Promise<void>"
|
|
3326
3247
|
}
|
|
3327
|
-
},
|
|
3328
|
-
"inheritedFrom": {
|
|
3329
|
-
"name": "Accordion",
|
|
3330
|
-
"module": "src/accordion/accordion.ts"
|
|
3331
3248
|
}
|
|
3332
3249
|
},
|
|
3333
3250
|
{
|
|
@@ -3442,78 +3359,95 @@
|
|
|
3442
3359
|
}
|
|
3443
3360
|
}
|
|
3444
3361
|
],
|
|
3445
|
-
"
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
"name": "change",
|
|
3449
|
-
"inheritedFrom": {
|
|
3450
|
-
"name": "Accordion",
|
|
3451
|
-
"module": "src/accordion/accordion.ts"
|
|
3452
|
-
}
|
|
3453
|
-
}
|
|
3454
|
-
]
|
|
3455
|
-
},
|
|
3456
|
-
{
|
|
3457
|
-
"kind": "variable",
|
|
3458
|
-
"name": "foundationAccordionShadowOptions",
|
|
3459
|
-
"type": {
|
|
3460
|
-
"text": "ShadowRootInit"
|
|
3362
|
+
"superclass": {
|
|
3363
|
+
"name": "FoundationElement",
|
|
3364
|
+
"package": "@microsoft/fast-foundation"
|
|
3461
3365
|
},
|
|
3462
|
-
"
|
|
3366
|
+
"tagName": "%%prefix%%-ai-indicator",
|
|
3367
|
+
"customElement": true
|
|
3463
3368
|
},
|
|
3464
3369
|
{
|
|
3465
3370
|
"kind": "variable",
|
|
3466
|
-
"name": "
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3371
|
+
"name": "foundationAiIndicator"
|
|
3372
|
+
}
|
|
3373
|
+
],
|
|
3374
|
+
"exports": [
|
|
3375
|
+
{
|
|
3376
|
+
"kind": "js",
|
|
3377
|
+
"name": "AiIndicator",
|
|
3378
|
+
"declaration": {
|
|
3379
|
+
"name": "AiIndicator",
|
|
3380
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3381
|
+
}
|
|
3471
3382
|
},
|
|
3472
3383
|
{
|
|
3473
|
-
"kind": "
|
|
3474
|
-
"name": "
|
|
3475
|
-
"
|
|
3476
|
-
|
|
3384
|
+
"kind": "js",
|
|
3385
|
+
"name": "foundationAiIndicator",
|
|
3386
|
+
"declaration": {
|
|
3387
|
+
"name": "foundationAiIndicator",
|
|
3388
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3389
|
+
}
|
|
3477
3390
|
}
|
|
3478
|
-
]
|
|
3391
|
+
]
|
|
3392
|
+
},
|
|
3393
|
+
{
|
|
3394
|
+
"kind": "javascript-module",
|
|
3395
|
+
"path": "src/ai-indicator/index.ts",
|
|
3396
|
+
"declarations": [],
|
|
3479
3397
|
"exports": [
|
|
3480
3398
|
{
|
|
3481
3399
|
"kind": "js",
|
|
3482
|
-
"name": "
|
|
3400
|
+
"name": "AiIndicator",
|
|
3483
3401
|
"declaration": {
|
|
3484
|
-
"name": "
|
|
3485
|
-
"module": "
|
|
3402
|
+
"name": "AiIndicator",
|
|
3403
|
+
"module": "./ai-indicator"
|
|
3486
3404
|
}
|
|
3487
3405
|
},
|
|
3488
3406
|
{
|
|
3489
3407
|
"kind": "js",
|
|
3490
|
-
"name": "
|
|
3408
|
+
"name": "foundationAiIndicator",
|
|
3491
3409
|
"declaration": {
|
|
3492
|
-
"name": "
|
|
3493
|
-
"module": "
|
|
3410
|
+
"name": "foundationAiIndicator",
|
|
3411
|
+
"module": "./ai-indicator"
|
|
3494
3412
|
}
|
|
3495
3413
|
},
|
|
3496
3414
|
{
|
|
3497
3415
|
"kind": "js",
|
|
3498
|
-
"name": "
|
|
3416
|
+
"name": "type",
|
|
3499
3417
|
"declaration": {
|
|
3500
|
-
"name": "
|
|
3501
|
-
"module": "
|
|
3418
|
+
"name": "type",
|
|
3419
|
+
"module": "./ai-indicator"
|
|
3502
3420
|
}
|
|
3503
3421
|
},
|
|
3504
3422
|
{
|
|
3505
3423
|
"kind": "js",
|
|
3506
|
-
"name": "
|
|
3424
|
+
"name": "AIIndicatorState",
|
|
3507
3425
|
"declaration": {
|
|
3508
|
-
"name": "
|
|
3509
|
-
"module": "
|
|
3426
|
+
"name": "AIIndicatorState",
|
|
3427
|
+
"module": "./ai-indicator"
|
|
3428
|
+
}
|
|
3429
|
+
},
|
|
3430
|
+
{
|
|
3431
|
+
"kind": "js",
|
|
3432
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3433
|
+
"declaration": {
|
|
3434
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3435
|
+
"module": "./ai-indicator.template"
|
|
3436
|
+
}
|
|
3437
|
+
},
|
|
3438
|
+
{
|
|
3439
|
+
"kind": "js",
|
|
3440
|
+
"name": "foundationAiIndicatorStyles",
|
|
3441
|
+
"declaration": {
|
|
3442
|
+
"name": "foundationAiIndicatorStyles",
|
|
3443
|
+
"module": "./ai-indicator.styles"
|
|
3510
3444
|
}
|
|
3511
3445
|
}
|
|
3512
3446
|
]
|
|
3513
3447
|
},
|
|
3514
3448
|
{
|
|
3515
3449
|
"kind": "javascript-module",
|
|
3516
|
-
"path": "src/
|
|
3450
|
+
"path": "src/_config/index.ts",
|
|
3517
3451
|
"declarations": [],
|
|
3518
3452
|
"exports": [
|
|
3519
3453
|
{
|
|
@@ -3521,7 +3455,7 @@
|
|
|
3521
3455
|
"name": "*",
|
|
3522
3456
|
"declaration": {
|
|
3523
3457
|
"name": "*",
|
|
3524
|
-
"package": "./
|
|
3458
|
+
"package": "./styles"
|
|
3525
3459
|
}
|
|
3526
3460
|
},
|
|
3527
3461
|
{
|
|
@@ -3529,7 +3463,7 @@
|
|
|
3529
3463
|
"name": "*",
|
|
3530
3464
|
"declaration": {
|
|
3531
3465
|
"name": "*",
|
|
3532
|
-
"package": "./
|
|
3466
|
+
"package": "./tokens"
|
|
3533
3467
|
}
|
|
3534
3468
|
},
|
|
3535
3469
|
{
|
|
@@ -3537,18 +3471,18 @@
|
|
|
3537
3471
|
"name": "*",
|
|
3538
3472
|
"declaration": {
|
|
3539
3473
|
"name": "*",
|
|
3540
|
-
"package": "./
|
|
3474
|
+
"package": "./values"
|
|
3541
3475
|
}
|
|
3542
3476
|
}
|
|
3543
3477
|
]
|
|
3544
3478
|
},
|
|
3545
3479
|
{
|
|
3546
3480
|
"kind": "javascript-module",
|
|
3547
|
-
"path": "src/
|
|
3481
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
3548
3482
|
"declarations": [
|
|
3549
3483
|
{
|
|
3550
3484
|
"kind": "function",
|
|
3551
|
-
"name": "
|
|
3485
|
+
"name": "foundationAccordionStyles",
|
|
3552
3486
|
"return": {
|
|
3553
3487
|
"type": {
|
|
3554
3488
|
"text": "ElementStyles"
|
|
@@ -3573,224 +3507,276 @@
|
|
|
3573
3507
|
"exports": [
|
|
3574
3508
|
{
|
|
3575
3509
|
"kind": "js",
|
|
3576
|
-
"name": "
|
|
3510
|
+
"name": "foundationAccordionStyles",
|
|
3577
3511
|
"declaration": {
|
|
3578
|
-
"name": "
|
|
3579
|
-
"module": "src/
|
|
3512
|
+
"name": "foundationAccordionStyles",
|
|
3513
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
3580
3514
|
}
|
|
3581
3515
|
}
|
|
3582
3516
|
]
|
|
3583
3517
|
},
|
|
3584
3518
|
{
|
|
3585
3519
|
"kind": "javascript-module",
|
|
3586
|
-
"path": "src/
|
|
3520
|
+
"path": "src/accordion/accordion.template.ts",
|
|
3587
3521
|
"declarations": [
|
|
3588
3522
|
{
|
|
3589
|
-
"kind": "
|
|
3590
|
-
"name": "
|
|
3591
|
-
"
|
|
3592
|
-
"
|
|
3523
|
+
"kind": "function",
|
|
3524
|
+
"name": "foundationAccordionTemplate",
|
|
3525
|
+
"return": {
|
|
3526
|
+
"type": {
|
|
3527
|
+
"text": "ViewTemplate<Accordion>"
|
|
3528
|
+
}
|
|
3593
3529
|
},
|
|
3594
|
-
"
|
|
3530
|
+
"parameters": [
|
|
3531
|
+
{
|
|
3532
|
+
"name": "context",
|
|
3533
|
+
"type": {
|
|
3534
|
+
"text": "ElementDefinitionContext"
|
|
3535
|
+
}
|
|
3536
|
+
},
|
|
3537
|
+
{
|
|
3538
|
+
"name": "definition",
|
|
3539
|
+
"type": {
|
|
3540
|
+
"text": "FoundationElementDefinition"
|
|
3541
|
+
}
|
|
3542
|
+
}
|
|
3543
|
+
]
|
|
3595
3544
|
}
|
|
3596
3545
|
],
|
|
3597
3546
|
"exports": [
|
|
3598
3547
|
{
|
|
3599
3548
|
"kind": "js",
|
|
3600
|
-
"name": "
|
|
3549
|
+
"name": "foundationAccordionTemplate",
|
|
3601
3550
|
"declaration": {
|
|
3602
|
-
"name": "
|
|
3603
|
-
"module": "src/
|
|
3551
|
+
"name": "foundationAccordionTemplate",
|
|
3552
|
+
"module": "src/accordion/accordion.template.ts"
|
|
3604
3553
|
}
|
|
3605
3554
|
}
|
|
3606
3555
|
]
|
|
3607
3556
|
},
|
|
3608
3557
|
{
|
|
3609
3558
|
"kind": "javascript-module",
|
|
3610
|
-
"path": "src/
|
|
3559
|
+
"path": "src/accordion/accordion.ts",
|
|
3611
3560
|
"declarations": [
|
|
3612
3561
|
{
|
|
3613
3562
|
"kind": "class",
|
|
3614
3563
|
"description": "",
|
|
3615
|
-
"name": "
|
|
3616
|
-
"
|
|
3617
|
-
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
},
|
|
3624
|
-
{
|
|
3625
|
-
"kind": "field",
|
|
3626
|
-
"name": "aiProvider",
|
|
3627
|
-
"type": {
|
|
3628
|
-
"text": "AIProvider | undefined"
|
|
3629
|
-
},
|
|
3630
|
-
"privacy": "private",
|
|
3631
|
-
"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.",
|
|
3632
|
-
"readonly": true
|
|
3633
|
-
},
|
|
3564
|
+
"name": "Accordion",
|
|
3565
|
+
"superclass": {
|
|
3566
|
+
"name": "FASTAccordion",
|
|
3567
|
+
"package": "@microsoft/fast-foundation"
|
|
3568
|
+
},
|
|
3569
|
+
"tagName": "%%prefix%%-accordion",
|
|
3570
|
+
"customElement": true,
|
|
3571
|
+
"attributes": [
|
|
3634
3572
|
{
|
|
3635
|
-
"
|
|
3636
|
-
"name": "status",
|
|
3573
|
+
"name": "expand-mode",
|
|
3637
3574
|
"type": {
|
|
3638
|
-
"text": "
|
|
3575
|
+
"text": "AccordionExpandMode"
|
|
3639
3576
|
},
|
|
3640
|
-
"
|
|
3641
|
-
|
|
3577
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3578
|
+
"fieldName": "expandmode",
|
|
3579
|
+
"inheritedFrom": {
|
|
3580
|
+
"name": "Accordion",
|
|
3581
|
+
"module": "src/accordion/accordion.ts"
|
|
3582
|
+
}
|
|
3583
|
+
}
|
|
3584
|
+
],
|
|
3585
|
+
"members": [
|
|
3642
3586
|
{
|
|
3643
3587
|
"kind": "field",
|
|
3644
|
-
"name": "
|
|
3588
|
+
"name": "expandmode",
|
|
3645
3589
|
"type": {
|
|
3646
|
-
"text": "
|
|
3590
|
+
"text": "AccordionExpandMode"
|
|
3647
3591
|
},
|
|
3648
|
-
"
|
|
3592
|
+
"privacy": "public",
|
|
3593
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3594
|
+
"inheritedFrom": {
|
|
3595
|
+
"name": "Accordion",
|
|
3596
|
+
"module": "src/accordion/accordion.ts"
|
|
3597
|
+
}
|
|
3649
3598
|
},
|
|
3650
3599
|
{
|
|
3651
3600
|
"kind": "field",
|
|
3652
|
-
"name": "
|
|
3601
|
+
"name": "activeid",
|
|
3653
3602
|
"type": {
|
|
3654
|
-
"text": "
|
|
3603
|
+
"text": "string | null"
|
|
3655
3604
|
},
|
|
3656
|
-
"
|
|
3605
|
+
"privacy": "private",
|
|
3606
|
+
"inheritedFrom": {
|
|
3607
|
+
"name": "Accordion",
|
|
3608
|
+
"module": "src/accordion/accordion.ts"
|
|
3609
|
+
}
|
|
3657
3610
|
},
|
|
3658
3611
|
{
|
|
3659
3612
|
"kind": "field",
|
|
3660
|
-
"name": "
|
|
3613
|
+
"name": "activeItemIndex",
|
|
3661
3614
|
"type": {
|
|
3662
|
-
"text": "
|
|
3615
|
+
"text": "number"
|
|
3663
3616
|
},
|
|
3664
|
-
"
|
|
3617
|
+
"privacy": "private",
|
|
3618
|
+
"default": "0",
|
|
3619
|
+
"inheritedFrom": {
|
|
3620
|
+
"name": "Accordion",
|
|
3621
|
+
"module": "src/accordion/accordion.ts"
|
|
3622
|
+
}
|
|
3665
3623
|
},
|
|
3666
3624
|
{
|
|
3667
3625
|
"kind": "field",
|
|
3668
|
-
"name": "
|
|
3626
|
+
"name": "accordionIds",
|
|
3669
3627
|
"type": {
|
|
3670
|
-
"text": "
|
|
3628
|
+
"text": "Array<string | null>"
|
|
3671
3629
|
},
|
|
3672
3630
|
"privacy": "private",
|
|
3673
|
-
"
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
"name": "clickOutside",
|
|
3678
|
-
"privacy": "private"
|
|
3631
|
+
"inheritedFrom": {
|
|
3632
|
+
"name": "Accordion",
|
|
3633
|
+
"module": "src/accordion/accordion.ts"
|
|
3634
|
+
}
|
|
3679
3635
|
},
|
|
3680
3636
|
{
|
|
3681
3637
|
"kind": "field",
|
|
3682
|
-
"name": "
|
|
3683
|
-
"
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3638
|
+
"name": "change",
|
|
3639
|
+
"privacy": "private",
|
|
3640
|
+
"inheritedFrom": {
|
|
3641
|
+
"name": "Accordion",
|
|
3642
|
+
"module": "src/accordion/accordion.ts"
|
|
3643
|
+
}
|
|
3687
3644
|
},
|
|
3688
3645
|
{
|
|
3689
|
-
"kind": "
|
|
3690
|
-
"name": "
|
|
3691
|
-
"
|
|
3692
|
-
|
|
3646
|
+
"kind": "method",
|
|
3647
|
+
"name": "findExpandedItem",
|
|
3648
|
+
"privacy": "private",
|
|
3649
|
+
"return": {
|
|
3650
|
+
"type": {
|
|
3651
|
+
"text": "AccordionItem | null"
|
|
3652
|
+
}
|
|
3693
3653
|
},
|
|
3694
|
-
"
|
|
3654
|
+
"inheritedFrom": {
|
|
3655
|
+
"name": "Accordion",
|
|
3656
|
+
"module": "src/accordion/accordion.ts"
|
|
3657
|
+
}
|
|
3695
3658
|
},
|
|
3696
3659
|
{
|
|
3697
3660
|
"kind": "field",
|
|
3698
|
-
"name": "
|
|
3699
|
-
"
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
|
|
3661
|
+
"name": "setItems",
|
|
3662
|
+
"privacy": "private",
|
|
3663
|
+
"inheritedFrom": {
|
|
3664
|
+
"name": "Accordion",
|
|
3665
|
+
"module": "src/accordion/accordion.ts"
|
|
3666
|
+
}
|
|
3703
3667
|
},
|
|
3704
3668
|
{
|
|
3705
3669
|
"kind": "method",
|
|
3706
|
-
"name": "
|
|
3670
|
+
"name": "resetItems",
|
|
3671
|
+
"privacy": "private",
|
|
3707
3672
|
"return": {
|
|
3708
3673
|
"type": {
|
|
3709
3674
|
"text": "void"
|
|
3710
3675
|
}
|
|
3676
|
+
},
|
|
3677
|
+
"inheritedFrom": {
|
|
3678
|
+
"name": "Accordion",
|
|
3679
|
+
"module": "src/accordion/accordion.ts"
|
|
3711
3680
|
}
|
|
3712
3681
|
},
|
|
3713
3682
|
{
|
|
3714
|
-
"kind": "
|
|
3715
|
-
"name": "
|
|
3683
|
+
"kind": "field",
|
|
3684
|
+
"name": "removeItemListeners",
|
|
3716
3685
|
"privacy": "private",
|
|
3717
|
-
"
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
"text": "MouseEvent"
|
|
3722
|
-
}
|
|
3723
|
-
}
|
|
3724
|
-
]
|
|
3686
|
+
"inheritedFrom": {
|
|
3687
|
+
"name": "Accordion",
|
|
3688
|
+
"module": "src/accordion/accordion.ts"
|
|
3689
|
+
}
|
|
3725
3690
|
},
|
|
3726
3691
|
{
|
|
3727
|
-
"kind": "
|
|
3728
|
-
"name": "
|
|
3692
|
+
"kind": "field",
|
|
3693
|
+
"name": "activeItemChange",
|
|
3694
|
+
"privacy": "private",
|
|
3695
|
+
"inheritedFrom": {
|
|
3696
|
+
"name": "Accordion",
|
|
3697
|
+
"module": "src/accordion/accordion.ts"
|
|
3698
|
+
}
|
|
3729
3699
|
},
|
|
3730
3700
|
{
|
|
3731
3701
|
"kind": "method",
|
|
3732
|
-
"name": "
|
|
3702
|
+
"name": "getItemIds",
|
|
3703
|
+
"privacy": "private",
|
|
3733
3704
|
"return": {
|
|
3734
3705
|
"type": {
|
|
3735
|
-
"text": "
|
|
3706
|
+
"text": "Array<string | null>"
|
|
3736
3707
|
}
|
|
3708
|
+
},
|
|
3709
|
+
"inheritedFrom": {
|
|
3710
|
+
"name": "Accordion",
|
|
3711
|
+
"module": "src/accordion/accordion.ts"
|
|
3737
3712
|
}
|
|
3738
3713
|
},
|
|
3739
3714
|
{
|
|
3740
3715
|
"kind": "method",
|
|
3741
|
-
"name": "
|
|
3716
|
+
"name": "isSingleExpandMode",
|
|
3742
3717
|
"privacy": "private",
|
|
3743
3718
|
"return": {
|
|
3744
3719
|
"type": {
|
|
3745
|
-
"text": "
|
|
3720
|
+
"text": "boolean"
|
|
3746
3721
|
}
|
|
3747
3722
|
},
|
|
3748
|
-
"
|
|
3749
|
-
|
|
3750
|
-
|
|
3751
|
-
|
|
3752
|
-
"text": "AIStatus | null"
|
|
3753
|
-
}
|
|
3754
|
-
}
|
|
3755
|
-
]
|
|
3723
|
+
"inheritedFrom": {
|
|
3724
|
+
"name": "Accordion",
|
|
3725
|
+
"module": "src/accordion/accordion.ts"
|
|
3726
|
+
}
|
|
3756
3727
|
},
|
|
3757
3728
|
{
|
|
3758
|
-
"kind": "
|
|
3759
|
-
"name": "
|
|
3729
|
+
"kind": "field",
|
|
3730
|
+
"name": "handleItemKeyDown",
|
|
3760
3731
|
"privacy": "private",
|
|
3761
|
-
"
|
|
3762
|
-
"
|
|
3763
|
-
|
|
3764
|
-
}
|
|
3732
|
+
"inheritedFrom": {
|
|
3733
|
+
"name": "Accordion",
|
|
3734
|
+
"module": "src/accordion/accordion.ts"
|
|
3765
3735
|
}
|
|
3766
3736
|
},
|
|
3767
3737
|
{
|
|
3768
|
-
"kind": "
|
|
3769
|
-
"name": "
|
|
3738
|
+
"kind": "field",
|
|
3739
|
+
"name": "handleItemFocus",
|
|
3770
3740
|
"privacy": "private",
|
|
3771
|
-
"
|
|
3772
|
-
"
|
|
3773
|
-
|
|
3774
|
-
}
|
|
3741
|
+
"inheritedFrom": {
|
|
3742
|
+
"name": "Accordion",
|
|
3743
|
+
"module": "src/accordion/accordion.ts"
|
|
3775
3744
|
}
|
|
3776
3745
|
},
|
|
3777
3746
|
{
|
|
3778
3747
|
"kind": "method",
|
|
3779
|
-
"name": "
|
|
3748
|
+
"name": "adjust",
|
|
3780
3749
|
"privacy": "private",
|
|
3781
3750
|
"return": {
|
|
3782
3751
|
"type": {
|
|
3783
3752
|
"text": "void"
|
|
3784
3753
|
}
|
|
3754
|
+
},
|
|
3755
|
+
"parameters": [
|
|
3756
|
+
{
|
|
3757
|
+
"name": "adjustment",
|
|
3758
|
+
"type": {
|
|
3759
|
+
"text": "number"
|
|
3760
|
+
}
|
|
3761
|
+
}
|
|
3762
|
+
],
|
|
3763
|
+
"inheritedFrom": {
|
|
3764
|
+
"name": "Accordion",
|
|
3765
|
+
"module": "src/accordion/accordion.ts"
|
|
3785
3766
|
}
|
|
3786
3767
|
},
|
|
3787
3768
|
{
|
|
3788
3769
|
"kind": "method",
|
|
3789
|
-
"name": "
|
|
3770
|
+
"name": "focusItem",
|
|
3771
|
+
"privacy": "private",
|
|
3790
3772
|
"return": {
|
|
3791
3773
|
"type": {
|
|
3792
|
-
"text": "
|
|
3774
|
+
"text": "void"
|
|
3793
3775
|
}
|
|
3776
|
+
},
|
|
3777
|
+
"inheritedFrom": {
|
|
3778
|
+
"name": "Accordion",
|
|
3779
|
+
"module": "src/accordion/accordion.ts"
|
|
3794
3780
|
}
|
|
3795
3781
|
},
|
|
3796
3782
|
{
|
|
@@ -3905,88 +3891,102 @@
|
|
|
3905
3891
|
}
|
|
3906
3892
|
}
|
|
3907
3893
|
],
|
|
3908
|
-
"
|
|
3909
|
-
|
|
3910
|
-
|
|
3894
|
+
"events": [
|
|
3895
|
+
{
|
|
3896
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
3897
|
+
"name": "change",
|
|
3898
|
+
"inheritedFrom": {
|
|
3899
|
+
"name": "Accordion",
|
|
3900
|
+
"module": "src/accordion/accordion.ts"
|
|
3901
|
+
}
|
|
3902
|
+
}
|
|
3903
|
+
]
|
|
3904
|
+
},
|
|
3905
|
+
{
|
|
3906
|
+
"kind": "variable",
|
|
3907
|
+
"name": "foundationAccordionShadowOptions",
|
|
3908
|
+
"type": {
|
|
3909
|
+
"text": "ShadowRootInit"
|
|
3911
3910
|
},
|
|
3912
|
-
"
|
|
3913
|
-
"customElement": true
|
|
3911
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
3914
3912
|
},
|
|
3915
3913
|
{
|
|
3916
3914
|
"kind": "variable",
|
|
3917
|
-
"name": "
|
|
3915
|
+
"name": "defaultAccordionConfig",
|
|
3916
|
+
"type": {
|
|
3917
|
+
"text": "object"
|
|
3918
|
+
},
|
|
3919
|
+
"default": "{}"
|
|
3920
|
+
},
|
|
3921
|
+
{
|
|
3922
|
+
"kind": "variable",
|
|
3923
|
+
"name": "foundationAccordion",
|
|
3924
|
+
"description": "The Foundation Accordion",
|
|
3925
|
+
"privacy": "public"
|
|
3918
3926
|
}
|
|
3919
3927
|
],
|
|
3920
3928
|
"exports": [
|
|
3921
3929
|
{
|
|
3922
3930
|
"kind": "js",
|
|
3923
|
-
"name": "
|
|
3931
|
+
"name": "Accordion",
|
|
3924
3932
|
"declaration": {
|
|
3925
|
-
"name": "
|
|
3926
|
-
"module": "src/
|
|
3933
|
+
"name": "Accordion",
|
|
3934
|
+
"module": "src/accordion/accordion.ts"
|
|
3927
3935
|
}
|
|
3928
3936
|
},
|
|
3929
3937
|
{
|
|
3930
3938
|
"kind": "js",
|
|
3931
|
-
"name": "
|
|
3932
|
-
"declaration": {
|
|
3933
|
-
"name": "foundationAiIndicator",
|
|
3934
|
-
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3935
|
-
}
|
|
3936
|
-
}
|
|
3937
|
-
]
|
|
3938
|
-
},
|
|
3939
|
-
{
|
|
3940
|
-
"kind": "javascript-module",
|
|
3941
|
-
"path": "src/ai-indicator/index.ts",
|
|
3942
|
-
"declarations": [],
|
|
3943
|
-
"exports": [
|
|
3944
|
-
{
|
|
3945
|
-
"kind": "js",
|
|
3946
|
-
"name": "AiIndicator",
|
|
3939
|
+
"name": "foundationAccordionShadowOptions",
|
|
3947
3940
|
"declaration": {
|
|
3948
|
-
"name": "
|
|
3949
|
-
"module": "
|
|
3941
|
+
"name": "foundationAccordionShadowOptions",
|
|
3942
|
+
"module": "src/accordion/accordion.ts"
|
|
3950
3943
|
}
|
|
3951
3944
|
},
|
|
3952
3945
|
{
|
|
3953
3946
|
"kind": "js",
|
|
3954
|
-
"name": "
|
|
3947
|
+
"name": "defaultAccordionConfig",
|
|
3955
3948
|
"declaration": {
|
|
3956
|
-
"name": "
|
|
3957
|
-
"module": "
|
|
3949
|
+
"name": "defaultAccordionConfig",
|
|
3950
|
+
"module": "src/accordion/accordion.ts"
|
|
3958
3951
|
}
|
|
3959
3952
|
},
|
|
3960
3953
|
{
|
|
3961
3954
|
"kind": "js",
|
|
3962
|
-
"name": "
|
|
3955
|
+
"name": "foundationAccordion",
|
|
3963
3956
|
"declaration": {
|
|
3964
|
-
"name": "
|
|
3965
|
-
"module": "
|
|
3957
|
+
"name": "foundationAccordion",
|
|
3958
|
+
"module": "src/accordion/accordion.ts"
|
|
3966
3959
|
}
|
|
3967
|
-
}
|
|
3960
|
+
}
|
|
3961
|
+
]
|
|
3962
|
+
},
|
|
3963
|
+
{
|
|
3964
|
+
"kind": "javascript-module",
|
|
3965
|
+
"path": "src/accordion/index.ts",
|
|
3966
|
+
"declarations": [],
|
|
3967
|
+
"exports": [
|
|
3968
3968
|
{
|
|
3969
3969
|
"kind": "js",
|
|
3970
|
-
"name": "
|
|
3970
|
+
"name": "*",
|
|
3971
3971
|
"declaration": {
|
|
3972
|
-
"name": "
|
|
3973
|
-
"
|
|
3972
|
+
"name": "*",
|
|
3973
|
+
"package": "./accordion.template"
|
|
3974
3974
|
}
|
|
3975
3975
|
},
|
|
3976
3976
|
{
|
|
3977
3977
|
"kind": "js",
|
|
3978
|
-
"name": "
|
|
3978
|
+
"name": "*",
|
|
3979
3979
|
"declaration": {
|
|
3980
|
-
"name": "
|
|
3981
|
-
"
|
|
3980
|
+
"name": "*",
|
|
3981
|
+
"package": "./accordion.styles"
|
|
3982
3982
|
}
|
|
3983
3983
|
},
|
|
3984
3984
|
{
|
|
3985
3985
|
"kind": "js",
|
|
3986
|
-
"name": "
|
|
3986
|
+
"name": "*",
|
|
3987
3987
|
"declaration": {
|
|
3988
|
-
"name": "
|
|
3989
|
-
"
|
|
3988
|
+
"name": "*",
|
|
3989
|
+
"package": "./accordion"
|
|
3990
3990
|
}
|
|
3991
3991
|
}
|
|
3992
3992
|
]
|
|
@@ -33910,6 +33910,14 @@
|
|
|
33910
33910
|
"name": "*",
|
|
33911
33911
|
"package": "./number-field"
|
|
33912
33912
|
}
|
|
33913
|
+
},
|
|
33914
|
+
{
|
|
33915
|
+
"kind": "js",
|
|
33916
|
+
"name": "toIntlNumberFormat",
|
|
33917
|
+
"declaration": {
|
|
33918
|
+
"name": "toIntlNumberFormat",
|
|
33919
|
+
"module": "./utils"
|
|
33920
|
+
}
|
|
33913
33921
|
}
|
|
33914
33922
|
]
|
|
33915
33923
|
},
|
|
@@ -59916,6 +59924,197 @@
|
|
|
59916
59924
|
}
|
|
59917
59925
|
]
|
|
59918
59926
|
},
|
|
59927
|
+
{
|
|
59928
|
+
"kind": "javascript-module",
|
|
59929
|
+
"path": "src/ai-criteria-search/validation/criteria-ir.ts",
|
|
59930
|
+
"declarations": [],
|
|
59931
|
+
"exports": []
|
|
59932
|
+
},
|
|
59933
|
+
{
|
|
59934
|
+
"kind": "javascript-module",
|
|
59935
|
+
"path": "src/ai-criteria-search/validation/operator-map.ts",
|
|
59936
|
+
"declarations": [
|
|
59937
|
+
{
|
|
59938
|
+
"kind": "function",
|
|
59939
|
+
"name": "groupsToCriteria",
|
|
59940
|
+
"return": {
|
|
59941
|
+
"type": {
|
|
59942
|
+
"text": "string"
|
|
59943
|
+
}
|
|
59944
|
+
},
|
|
59945
|
+
"parameters": [
|
|
59946
|
+
{
|
|
59947
|
+
"name": "groups",
|
|
59948
|
+
"type": {
|
|
59949
|
+
"text": "CriteriaGroup[]"
|
|
59950
|
+
}
|
|
59951
|
+
}
|
|
59952
|
+
],
|
|
59953
|
+
"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."
|
|
59954
|
+
},
|
|
59955
|
+
{
|
|
59956
|
+
"kind": "variable",
|
|
59957
|
+
"name": "STRING_OPERATORS",
|
|
59958
|
+
"type": {
|
|
59959
|
+
"text": "CriteriaOperator[]"
|
|
59960
|
+
},
|
|
59961
|
+
"default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
|
|
59962
|
+
},
|
|
59963
|
+
{
|
|
59964
|
+
"kind": "variable",
|
|
59965
|
+
"name": "NUMERIC_OPERATORS",
|
|
59966
|
+
"type": {
|
|
59967
|
+
"text": "CriteriaOperator[]"
|
|
59968
|
+
},
|
|
59969
|
+
"default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
|
|
59970
|
+
},
|
|
59971
|
+
{
|
|
59972
|
+
"kind": "variable",
|
|
59973
|
+
"name": "DATE_OPERATORS",
|
|
59974
|
+
"type": {
|
|
59975
|
+
"text": "CriteriaOperator[]"
|
|
59976
|
+
},
|
|
59977
|
+
"default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
|
|
59978
|
+
},
|
|
59979
|
+
{
|
|
59980
|
+
"kind": "variable",
|
|
59981
|
+
"name": "DATETIME_OPERATORS",
|
|
59982
|
+
"type": {
|
|
59983
|
+
"text": "CriteriaOperator[]"
|
|
59984
|
+
},
|
|
59985
|
+
"default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
|
|
59986
|
+
},
|
|
59987
|
+
{
|
|
59988
|
+
"kind": "variable",
|
|
59989
|
+
"name": "OPERATOR_DISPLAY_LABEL",
|
|
59990
|
+
"type": {
|
|
59991
|
+
"text": "Record<CriteriaOperator, string>"
|
|
59992
|
+
},
|
|
59993
|
+
"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}"
|
|
59994
|
+
}
|
|
59995
|
+
],
|
|
59996
|
+
"exports": [
|
|
59997
|
+
{
|
|
59998
|
+
"kind": "js",
|
|
59999
|
+
"name": "groupsToCriteria",
|
|
60000
|
+
"declaration": {
|
|
60001
|
+
"name": "groupsToCriteria",
|
|
60002
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60003
|
+
}
|
|
60004
|
+
},
|
|
60005
|
+
{
|
|
60006
|
+
"kind": "js",
|
|
60007
|
+
"name": "STRING_OPERATORS",
|
|
60008
|
+
"declaration": {
|
|
60009
|
+
"name": "STRING_OPERATORS",
|
|
60010
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60011
|
+
}
|
|
60012
|
+
},
|
|
60013
|
+
{
|
|
60014
|
+
"kind": "js",
|
|
60015
|
+
"name": "NUMERIC_OPERATORS",
|
|
60016
|
+
"declaration": {
|
|
60017
|
+
"name": "NUMERIC_OPERATORS",
|
|
60018
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60019
|
+
}
|
|
60020
|
+
},
|
|
60021
|
+
{
|
|
60022
|
+
"kind": "js",
|
|
60023
|
+
"name": "DATE_OPERATORS",
|
|
60024
|
+
"declaration": {
|
|
60025
|
+
"name": "DATE_OPERATORS",
|
|
60026
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60027
|
+
}
|
|
60028
|
+
},
|
|
60029
|
+
{
|
|
60030
|
+
"kind": "js",
|
|
60031
|
+
"name": "DATETIME_OPERATORS",
|
|
60032
|
+
"declaration": {
|
|
60033
|
+
"name": "DATETIME_OPERATORS",
|
|
60034
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60035
|
+
}
|
|
60036
|
+
},
|
|
60037
|
+
{
|
|
60038
|
+
"kind": "js",
|
|
60039
|
+
"name": "OPERATOR_DISPLAY_LABEL",
|
|
60040
|
+
"declaration": {
|
|
60041
|
+
"name": "OPERATOR_DISPLAY_LABEL",
|
|
60042
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60043
|
+
}
|
|
60044
|
+
}
|
|
60045
|
+
]
|
|
60046
|
+
},
|
|
60047
|
+
{
|
|
60048
|
+
"kind": "javascript-module",
|
|
60049
|
+
"path": "src/ai-criteria-search/validation/schema-validator.ts",
|
|
60050
|
+
"declarations": [
|
|
60051
|
+
{
|
|
60052
|
+
"kind": "function",
|
|
60053
|
+
"name": "validateClauses",
|
|
60054
|
+
"return": {
|
|
60055
|
+
"type": {
|
|
60056
|
+
"text": "ValidationResult"
|
|
60057
|
+
}
|
|
60058
|
+
},
|
|
60059
|
+
"parameters": [
|
|
60060
|
+
{
|
|
60061
|
+
"name": "clauses",
|
|
60062
|
+
"type": {
|
|
60063
|
+
"text": "CriteriaClause[]"
|
|
60064
|
+
}
|
|
60065
|
+
},
|
|
60066
|
+
{
|
|
60067
|
+
"name": "fieldMetadata",
|
|
60068
|
+
"type": {
|
|
60069
|
+
"text": "MetadataDetail[] | string[]"
|
|
60070
|
+
}
|
|
60071
|
+
}
|
|
60072
|
+
]
|
|
60073
|
+
},
|
|
60074
|
+
{
|
|
60075
|
+
"kind": "function",
|
|
60076
|
+
"name": "validateGroups",
|
|
60077
|
+
"return": {
|
|
60078
|
+
"type": {
|
|
60079
|
+
"text": "GroupsValidationResult"
|
|
60080
|
+
}
|
|
60081
|
+
},
|
|
60082
|
+
"parameters": [
|
|
60083
|
+
{
|
|
60084
|
+
"name": "groups",
|
|
60085
|
+
"type": {
|
|
60086
|
+
"text": "CriteriaGroup[]"
|
|
60087
|
+
}
|
|
60088
|
+
},
|
|
60089
|
+
{
|
|
60090
|
+
"name": "fieldMetadata",
|
|
60091
|
+
"type": {
|
|
60092
|
+
"text": "MetadataDetail[] | string[]"
|
|
60093
|
+
}
|
|
60094
|
+
}
|
|
60095
|
+
],
|
|
60096
|
+
"description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
|
|
60097
|
+
}
|
|
60098
|
+
],
|
|
60099
|
+
"exports": [
|
|
60100
|
+
{
|
|
60101
|
+
"kind": "js",
|
|
60102
|
+
"name": "validateClauses",
|
|
60103
|
+
"declaration": {
|
|
60104
|
+
"name": "validateClauses",
|
|
60105
|
+
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
60106
|
+
}
|
|
60107
|
+
},
|
|
60108
|
+
{
|
|
60109
|
+
"kind": "js",
|
|
60110
|
+
"name": "validateGroups",
|
|
60111
|
+
"declaration": {
|
|
60112
|
+
"name": "validateGroups",
|
|
60113
|
+
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
60114
|
+
}
|
|
60115
|
+
}
|
|
60116
|
+
]
|
|
60117
|
+
},
|
|
59919
60118
|
{
|
|
59920
60119
|
"kind": "javascript-module",
|
|
59921
60120
|
"path": "src/_config/styles/colors.ts",
|
|
@@ -61288,197 +61487,6 @@
|
|
|
61288
61487
|
"declarations": [],
|
|
61289
61488
|
"exports": []
|
|
61290
61489
|
},
|
|
61291
|
-
{
|
|
61292
|
-
"kind": "javascript-module",
|
|
61293
|
-
"path": "src/ai-criteria-search/validation/criteria-ir.ts",
|
|
61294
|
-
"declarations": [],
|
|
61295
|
-
"exports": []
|
|
61296
|
-
},
|
|
61297
|
-
{
|
|
61298
|
-
"kind": "javascript-module",
|
|
61299
|
-
"path": "src/ai-criteria-search/validation/operator-map.ts",
|
|
61300
|
-
"declarations": [
|
|
61301
|
-
{
|
|
61302
|
-
"kind": "function",
|
|
61303
|
-
"name": "groupsToCriteria",
|
|
61304
|
-
"return": {
|
|
61305
|
-
"type": {
|
|
61306
|
-
"text": "string"
|
|
61307
|
-
}
|
|
61308
|
-
},
|
|
61309
|
-
"parameters": [
|
|
61310
|
-
{
|
|
61311
|
-
"name": "groups",
|
|
61312
|
-
"type": {
|
|
61313
|
-
"text": "CriteriaGroup[]"
|
|
61314
|
-
}
|
|
61315
|
-
}
|
|
61316
|
-
],
|
|
61317
|
-
"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."
|
|
61318
|
-
},
|
|
61319
|
-
{
|
|
61320
|
-
"kind": "variable",
|
|
61321
|
-
"name": "STRING_OPERATORS",
|
|
61322
|
-
"type": {
|
|
61323
|
-
"text": "CriteriaOperator[]"
|
|
61324
|
-
},
|
|
61325
|
-
"default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
|
|
61326
|
-
},
|
|
61327
|
-
{
|
|
61328
|
-
"kind": "variable",
|
|
61329
|
-
"name": "NUMERIC_OPERATORS",
|
|
61330
|
-
"type": {
|
|
61331
|
-
"text": "CriteriaOperator[]"
|
|
61332
|
-
},
|
|
61333
|
-
"default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
|
|
61334
|
-
},
|
|
61335
|
-
{
|
|
61336
|
-
"kind": "variable",
|
|
61337
|
-
"name": "DATE_OPERATORS",
|
|
61338
|
-
"type": {
|
|
61339
|
-
"text": "CriteriaOperator[]"
|
|
61340
|
-
},
|
|
61341
|
-
"default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
|
|
61342
|
-
},
|
|
61343
|
-
{
|
|
61344
|
-
"kind": "variable",
|
|
61345
|
-
"name": "DATETIME_OPERATORS",
|
|
61346
|
-
"type": {
|
|
61347
|
-
"text": "CriteriaOperator[]"
|
|
61348
|
-
},
|
|
61349
|
-
"default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
|
|
61350
|
-
},
|
|
61351
|
-
{
|
|
61352
|
-
"kind": "variable",
|
|
61353
|
-
"name": "OPERATOR_DISPLAY_LABEL",
|
|
61354
|
-
"type": {
|
|
61355
|
-
"text": "Record<CriteriaOperator, string>"
|
|
61356
|
-
},
|
|
61357
|
-
"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}"
|
|
61358
|
-
}
|
|
61359
|
-
],
|
|
61360
|
-
"exports": [
|
|
61361
|
-
{
|
|
61362
|
-
"kind": "js",
|
|
61363
|
-
"name": "groupsToCriteria",
|
|
61364
|
-
"declaration": {
|
|
61365
|
-
"name": "groupsToCriteria",
|
|
61366
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
61367
|
-
}
|
|
61368
|
-
},
|
|
61369
|
-
{
|
|
61370
|
-
"kind": "js",
|
|
61371
|
-
"name": "STRING_OPERATORS",
|
|
61372
|
-
"declaration": {
|
|
61373
|
-
"name": "STRING_OPERATORS",
|
|
61374
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
61375
|
-
}
|
|
61376
|
-
},
|
|
61377
|
-
{
|
|
61378
|
-
"kind": "js",
|
|
61379
|
-
"name": "NUMERIC_OPERATORS",
|
|
61380
|
-
"declaration": {
|
|
61381
|
-
"name": "NUMERIC_OPERATORS",
|
|
61382
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
61383
|
-
}
|
|
61384
|
-
},
|
|
61385
|
-
{
|
|
61386
|
-
"kind": "js",
|
|
61387
|
-
"name": "DATE_OPERATORS",
|
|
61388
|
-
"declaration": {
|
|
61389
|
-
"name": "DATE_OPERATORS",
|
|
61390
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
61391
|
-
}
|
|
61392
|
-
},
|
|
61393
|
-
{
|
|
61394
|
-
"kind": "js",
|
|
61395
|
-
"name": "DATETIME_OPERATORS",
|
|
61396
|
-
"declaration": {
|
|
61397
|
-
"name": "DATETIME_OPERATORS",
|
|
61398
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
61399
|
-
}
|
|
61400
|
-
},
|
|
61401
|
-
{
|
|
61402
|
-
"kind": "js",
|
|
61403
|
-
"name": "OPERATOR_DISPLAY_LABEL",
|
|
61404
|
-
"declaration": {
|
|
61405
|
-
"name": "OPERATOR_DISPLAY_LABEL",
|
|
61406
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
61407
|
-
}
|
|
61408
|
-
}
|
|
61409
|
-
]
|
|
61410
|
-
},
|
|
61411
|
-
{
|
|
61412
|
-
"kind": "javascript-module",
|
|
61413
|
-
"path": "src/ai-criteria-search/validation/schema-validator.ts",
|
|
61414
|
-
"declarations": [
|
|
61415
|
-
{
|
|
61416
|
-
"kind": "function",
|
|
61417
|
-
"name": "validateClauses",
|
|
61418
|
-
"return": {
|
|
61419
|
-
"type": {
|
|
61420
|
-
"text": "ValidationResult"
|
|
61421
|
-
}
|
|
61422
|
-
},
|
|
61423
|
-
"parameters": [
|
|
61424
|
-
{
|
|
61425
|
-
"name": "clauses",
|
|
61426
|
-
"type": {
|
|
61427
|
-
"text": "CriteriaClause[]"
|
|
61428
|
-
}
|
|
61429
|
-
},
|
|
61430
|
-
{
|
|
61431
|
-
"name": "fieldMetadata",
|
|
61432
|
-
"type": {
|
|
61433
|
-
"text": "MetadataDetail[] | string[]"
|
|
61434
|
-
}
|
|
61435
|
-
}
|
|
61436
|
-
]
|
|
61437
|
-
},
|
|
61438
|
-
{
|
|
61439
|
-
"kind": "function",
|
|
61440
|
-
"name": "validateGroups",
|
|
61441
|
-
"return": {
|
|
61442
|
-
"type": {
|
|
61443
|
-
"text": "GroupsValidationResult"
|
|
61444
|
-
}
|
|
61445
|
-
},
|
|
61446
|
-
"parameters": [
|
|
61447
|
-
{
|
|
61448
|
-
"name": "groups",
|
|
61449
|
-
"type": {
|
|
61450
|
-
"text": "CriteriaGroup[]"
|
|
61451
|
-
}
|
|
61452
|
-
},
|
|
61453
|
-
{
|
|
61454
|
-
"name": "fieldMetadata",
|
|
61455
|
-
"type": {
|
|
61456
|
-
"text": "MetadataDetail[] | string[]"
|
|
61457
|
-
}
|
|
61458
|
-
}
|
|
61459
|
-
],
|
|
61460
|
-
"description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
|
|
61461
|
-
}
|
|
61462
|
-
],
|
|
61463
|
-
"exports": [
|
|
61464
|
-
{
|
|
61465
|
-
"kind": "js",
|
|
61466
|
-
"name": "validateClauses",
|
|
61467
|
-
"declaration": {
|
|
61468
|
-
"name": "validateClauses",
|
|
61469
|
-
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
61470
|
-
}
|
|
61471
|
-
},
|
|
61472
|
-
{
|
|
61473
|
-
"kind": "js",
|
|
61474
|
-
"name": "validateGroups",
|
|
61475
|
-
"declaration": {
|
|
61476
|
-
"name": "validateGroups",
|
|
61477
|
-
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
61478
|
-
}
|
|
61479
|
-
}
|
|
61480
|
-
]
|
|
61481
|
-
},
|
|
61482
61490
|
{
|
|
61483
61491
|
"kind": "javascript-module",
|
|
61484
61492
|
"path": "src/environment-indicator/utils/configure.ts",
|