@genesislcap/foundation-ui 15.10.4 → 15.10.6
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 +708 -689
- package/dist/dts/combobox/combobox.d.ts.map +1 -1
- package/dist/dts/options-datasource/options-datasource.d.ts +8 -2
- package/dist/dts/options-datasource/options-datasource.d.ts.map +1 -1
- package/dist/dts/utils/base-datasource.d.ts.map +1 -1
- package/dist/esm/combobox/combobox.js +21 -3
- package/dist/esm/options-datasource/options-datasource.js +36 -10
- package/dist/esm/utils/base-datasource.js +13 -9
- package/dist/foundation-ui.d.ts +8 -2
- package/package.json +19 -19
|
@@ -956,472 +956,6 @@
|
|
|
956
956
|
}
|
|
957
957
|
]
|
|
958
958
|
},
|
|
959
|
-
{
|
|
960
|
-
"kind": "javascript-module",
|
|
961
|
-
"path": "src/_common/affix-mixin.ts",
|
|
962
|
-
"declarations": [
|
|
963
|
-
{
|
|
964
|
-
"kind": "mixin",
|
|
965
|
-
"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.",
|
|
966
|
-
"name": "AffixMixin",
|
|
967
|
-
"members": [
|
|
968
|
-
{
|
|
969
|
-
"kind": "field",
|
|
970
|
-
"name": "prefix",
|
|
971
|
-
"type": {
|
|
972
|
-
"text": "string"
|
|
973
|
-
},
|
|
974
|
-
"description": "Optional non-editable label shown on the left inside the field, before the input."
|
|
975
|
-
},
|
|
976
|
-
{
|
|
977
|
-
"kind": "field",
|
|
978
|
-
"name": "suffix",
|
|
979
|
-
"type": {
|
|
980
|
-
"text": "string"
|
|
981
|
-
},
|
|
982
|
-
"description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
|
|
983
|
-
},
|
|
984
|
-
{
|
|
985
|
-
"kind": "field",
|
|
986
|
-
"name": "hideAffixFromScreenReader",
|
|
987
|
-
"type": {
|
|
988
|
-
"text": "boolean"
|
|
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."
|
|
992
|
-
}
|
|
993
|
-
],
|
|
994
|
-
"parameters": [
|
|
995
|
-
{
|
|
996
|
-
"name": "Base",
|
|
997
|
-
"type": {
|
|
998
|
-
"text": "TBase"
|
|
999
|
-
}
|
|
1000
|
-
}
|
|
1001
|
-
]
|
|
1002
|
-
}
|
|
1003
|
-
],
|
|
1004
|
-
"exports": [
|
|
1005
|
-
{
|
|
1006
|
-
"kind": "js",
|
|
1007
|
-
"name": "AffixMixin",
|
|
1008
|
-
"declaration": {
|
|
1009
|
-
"name": "AffixMixin",
|
|
1010
|
-
"module": "src/_common/affix-mixin.ts"
|
|
1011
|
-
}
|
|
1012
|
-
}
|
|
1013
|
-
]
|
|
1014
|
-
},
|
|
1015
|
-
{
|
|
1016
|
-
"kind": "javascript-module",
|
|
1017
|
-
"path": "src/_common/base-file-component.ts",
|
|
1018
|
-
"declarations": [
|
|
1019
|
-
{
|
|
1020
|
-
"kind": "class",
|
|
1021
|
-
"description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
|
|
1022
|
-
"name": "BaseFileComponent",
|
|
1023
|
-
"members": [
|
|
1024
|
-
{
|
|
1025
|
-
"kind": "field",
|
|
1026
|
-
"name": "fileInput",
|
|
1027
|
-
"type": {
|
|
1028
|
-
"text": "HTMLInputElement"
|
|
1029
|
-
},
|
|
1030
|
-
"privacy": "public"
|
|
1031
|
-
},
|
|
1032
|
-
{
|
|
1033
|
-
"kind": "field",
|
|
1034
|
-
"name": "selectedFile",
|
|
1035
|
-
"type": {
|
|
1036
|
-
"text": "File | null"
|
|
1037
|
-
},
|
|
1038
|
-
"privacy": "protected",
|
|
1039
|
-
"default": "null"
|
|
1040
|
-
},
|
|
1041
|
-
{
|
|
1042
|
-
"kind": "field",
|
|
1043
|
-
"name": "label",
|
|
1044
|
-
"type": {
|
|
1045
|
-
"text": "string"
|
|
1046
|
-
}
|
|
1047
|
-
},
|
|
1048
|
-
{
|
|
1049
|
-
"kind": "field",
|
|
1050
|
-
"name": "accept",
|
|
1051
|
-
"type": {
|
|
1052
|
-
"text": "string"
|
|
1053
|
-
},
|
|
1054
|
-
"default": "''"
|
|
1055
|
-
},
|
|
1056
|
-
{
|
|
1057
|
-
"kind": "field",
|
|
1058
|
-
"name": "fileSizeLimitBytes",
|
|
1059
|
-
"default": "10_485_760",
|
|
1060
|
-
"type": {
|
|
1061
|
-
"text": "number"
|
|
1062
|
-
}
|
|
1063
|
-
},
|
|
1064
|
-
{
|
|
1065
|
-
"kind": "field",
|
|
1066
|
-
"name": "fileName",
|
|
1067
|
-
"type": {
|
|
1068
|
-
"text": "string"
|
|
1069
|
-
},
|
|
1070
|
-
"default": "''"
|
|
1071
|
-
},
|
|
1072
|
-
{
|
|
1073
|
-
"kind": "field",
|
|
1074
|
-
"name": "isProcessing",
|
|
1075
|
-
"type": {
|
|
1076
|
-
"text": "boolean"
|
|
1077
|
-
},
|
|
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
|
-
"privacy": "public",
|
|
1090
|
-
"parameters": [
|
|
1091
|
-
{
|
|
1092
|
-
"name": "e",
|
|
1093
|
-
"type": {
|
|
1094
|
-
"text": "Event"
|
|
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
|
-
}
|
|
1116
|
-
}
|
|
1117
|
-
},
|
|
1118
|
-
{
|
|
1119
|
-
"kind": "method",
|
|
1120
|
-
"name": "showError",
|
|
1121
|
-
"privacy": "protected",
|
|
1122
|
-
"parameters": [
|
|
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
|
-
}
|
|
1148
|
-
},
|
|
1149
|
-
"parameters": [
|
|
1150
|
-
{
|
|
1151
|
-
"name": "files",
|
|
1152
|
-
"type": {
|
|
1153
|
-
"text": "File[]"
|
|
1154
|
-
},
|
|
1155
|
-
"description": "The selected file"
|
|
1156
|
-
}
|
|
1157
|
-
],
|
|
1158
|
-
"description": "Abstract method called when a file is selected"
|
|
1159
|
-
},
|
|
1160
|
-
{
|
|
1161
|
-
"kind": "method",
|
|
1162
|
-
"name": "onFileCleared",
|
|
1163
|
-
"privacy": "protected",
|
|
1164
|
-
"return": {
|
|
1165
|
-
"type": {
|
|
1166
|
-
"text": "void"
|
|
1167
|
-
}
|
|
1168
|
-
},
|
|
1169
|
-
"description": "Abstract method called when file selection is cleared"
|
|
1170
|
-
},
|
|
1171
|
-
{
|
|
1172
|
-
"kind": "field",
|
|
1173
|
-
"name": "_presentation",
|
|
1174
|
-
"type": {
|
|
1175
|
-
"text": "ComponentPresentation | null | undefined"
|
|
1176
|
-
},
|
|
1177
|
-
"privacy": "private",
|
|
1178
|
-
"default": "void 0",
|
|
1179
|
-
"inheritedFrom": {
|
|
1180
|
-
"name": "FoundationElement",
|
|
1181
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1182
|
-
}
|
|
1183
|
-
},
|
|
1184
|
-
{
|
|
1185
|
-
"kind": "field",
|
|
1186
|
-
"name": "$presentation",
|
|
1187
|
-
"type": {
|
|
1188
|
-
"text": "ComponentPresentation | null"
|
|
1189
|
-
},
|
|
1190
|
-
"privacy": "public",
|
|
1191
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1192
|
-
"inheritedFrom": {
|
|
1193
|
-
"name": "FoundationElement",
|
|
1194
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1195
|
-
}
|
|
1196
|
-
},
|
|
1197
|
-
{
|
|
1198
|
-
"kind": "field",
|
|
1199
|
-
"name": "template",
|
|
1200
|
-
"type": {
|
|
1201
|
-
"text": "ElementViewTemplate | void | null"
|
|
1202
|
-
},
|
|
1203
|
-
"privacy": "public",
|
|
1204
|
-
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
1205
|
-
"inheritedFrom": {
|
|
1206
|
-
"name": "FoundationElement",
|
|
1207
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1208
|
-
}
|
|
1209
|
-
},
|
|
1210
|
-
{
|
|
1211
|
-
"kind": "method",
|
|
1212
|
-
"name": "templateChanged",
|
|
1213
|
-
"privacy": "protected",
|
|
1214
|
-
"return": {
|
|
1215
|
-
"type": {
|
|
1216
|
-
"text": "void"
|
|
1217
|
-
}
|
|
1218
|
-
},
|
|
1219
|
-
"inheritedFrom": {
|
|
1220
|
-
"name": "FoundationElement",
|
|
1221
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1222
|
-
}
|
|
1223
|
-
},
|
|
1224
|
-
{
|
|
1225
|
-
"kind": "field",
|
|
1226
|
-
"name": "styles",
|
|
1227
|
-
"type": {
|
|
1228
|
-
"text": "ElementStyles | void | null"
|
|
1229
|
-
},
|
|
1230
|
-
"privacy": "public",
|
|
1231
|
-
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
1232
|
-
"inheritedFrom": {
|
|
1233
|
-
"name": "FoundationElement",
|
|
1234
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1235
|
-
}
|
|
1236
|
-
},
|
|
1237
|
-
{
|
|
1238
|
-
"kind": "method",
|
|
1239
|
-
"name": "stylesChanged",
|
|
1240
|
-
"privacy": "protected",
|
|
1241
|
-
"return": {
|
|
1242
|
-
"type": {
|
|
1243
|
-
"text": "void"
|
|
1244
|
-
}
|
|
1245
|
-
},
|
|
1246
|
-
"inheritedFrom": {
|
|
1247
|
-
"name": "FoundationElement",
|
|
1248
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1249
|
-
}
|
|
1250
|
-
},
|
|
1251
|
-
{
|
|
1252
|
-
"kind": "method",
|
|
1253
|
-
"name": "compose",
|
|
1254
|
-
"privacy": "public",
|
|
1255
|
-
"static": true,
|
|
1256
|
-
"return": {
|
|
1257
|
-
"type": {
|
|
1258
|
-
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
1259
|
-
}
|
|
1260
|
-
},
|
|
1261
|
-
"parameters": [
|
|
1262
|
-
{
|
|
1263
|
-
"name": "this",
|
|
1264
|
-
"type": {
|
|
1265
|
-
"text": "K"
|
|
1266
|
-
}
|
|
1267
|
-
},
|
|
1268
|
-
{
|
|
1269
|
-
"name": "elementDefinition",
|
|
1270
|
-
"type": {
|
|
1271
|
-
"text": "T"
|
|
1272
|
-
},
|
|
1273
|
-
"description": "The definition of the element to create the registry\nfunction for."
|
|
1274
|
-
}
|
|
1275
|
-
],
|
|
1276
|
-
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
1277
|
-
"inheritedFrom": {
|
|
1278
|
-
"name": "FoundationElement",
|
|
1279
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1280
|
-
}
|
|
1281
|
-
}
|
|
1282
|
-
],
|
|
1283
|
-
"events": [
|
|
1284
|
-
{
|
|
1285
|
-
"description": "Fired when file size validation fails. detail: `Error`",
|
|
1286
|
-
"name": "error"
|
|
1287
|
-
},
|
|
1288
|
-
{
|
|
1289
|
-
"description": "Fired when selection is cleared",
|
|
1290
|
-
"name": "clear"
|
|
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"
|
|
1316
|
-
}
|
|
1317
|
-
],
|
|
1318
|
-
"superclass": {
|
|
1319
|
-
"name": "FoundationElement",
|
|
1320
|
-
"package": "@microsoft/fast-foundation"
|
|
1321
|
-
}
|
|
1322
|
-
}
|
|
1323
|
-
],
|
|
1324
|
-
"exports": [
|
|
1325
|
-
{
|
|
1326
|
-
"kind": "js",
|
|
1327
|
-
"name": "BaseFileComponent",
|
|
1328
|
-
"declaration": {
|
|
1329
|
-
"name": "BaseFileComponent",
|
|
1330
|
-
"module": "src/_common/base-file-component.ts"
|
|
1331
|
-
}
|
|
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": [
|
|
1346
|
-
{
|
|
1347
|
-
"kind": "js",
|
|
1348
|
-
"name": "sharedFieldStyles",
|
|
1349
|
-
"declaration": {
|
|
1350
|
-
"name": "sharedFieldStyles",
|
|
1351
|
-
"module": "src/_common/field-styles.ts"
|
|
1352
|
-
}
|
|
1353
|
-
}
|
|
1354
|
-
]
|
|
1355
|
-
},
|
|
1356
|
-
{
|
|
1357
|
-
"kind": "javascript-module",
|
|
1358
|
-
"path": "src/_common/icons.ts",
|
|
1359
|
-
"declarations": [
|
|
1360
|
-
{
|
|
1361
|
-
"kind": "function",
|
|
1362
|
-
"name": "closeIcon",
|
|
1363
|
-
"parameters": [
|
|
1364
|
-
{
|
|
1365
|
-
"name": "slot",
|
|
1366
|
-
"default": "'start'"
|
|
1367
|
-
},
|
|
1368
|
-
{
|
|
1369
|
-
"name": "fill",
|
|
1370
|
-
"default": "'#879ba6'"
|
|
1371
|
-
}
|
|
1372
|
-
]
|
|
1373
|
-
}
|
|
1374
|
-
],
|
|
1375
|
-
"exports": [
|
|
1376
|
-
{
|
|
1377
|
-
"kind": "js",
|
|
1378
|
-
"name": "closeIcon",
|
|
1379
|
-
"declaration": {
|
|
1380
|
-
"name": "closeIcon",
|
|
1381
|
-
"module": "src/_common/icons.ts"
|
|
1382
|
-
}
|
|
1383
|
-
}
|
|
1384
|
-
]
|
|
1385
|
-
},
|
|
1386
|
-
{
|
|
1387
|
-
"kind": "javascript-module",
|
|
1388
|
-
"path": "src/_common/index.ts",
|
|
1389
|
-
"declarations": [],
|
|
1390
|
-
"exports": [
|
|
1391
|
-
{
|
|
1392
|
-
"kind": "js",
|
|
1393
|
-
"name": "*",
|
|
1394
|
-
"declaration": {
|
|
1395
|
-
"name": "*",
|
|
1396
|
-
"package": "./affix-mixin"
|
|
1397
|
-
}
|
|
1398
|
-
},
|
|
1399
|
-
{
|
|
1400
|
-
"kind": "js",
|
|
1401
|
-
"name": "*",
|
|
1402
|
-
"declaration": {
|
|
1403
|
-
"name": "*",
|
|
1404
|
-
"package": "./base-file-component"
|
|
1405
|
-
}
|
|
1406
|
-
},
|
|
1407
|
-
{
|
|
1408
|
-
"kind": "js",
|
|
1409
|
-
"name": "*",
|
|
1410
|
-
"declaration": {
|
|
1411
|
-
"name": "*",
|
|
1412
|
-
"package": "./field-styles"
|
|
1413
|
-
}
|
|
1414
|
-
},
|
|
1415
|
-
{
|
|
1416
|
-
"kind": "js",
|
|
1417
|
-
"name": "*",
|
|
1418
|
-
"declaration": {
|
|
1419
|
-
"name": "*",
|
|
1420
|
-
"package": "./icons"
|
|
1421
|
-
}
|
|
1422
|
-
}
|
|
1423
|
-
]
|
|
1424
|
-
},
|
|
1425
959
|
{
|
|
1426
960
|
"kind": "javascript-module",
|
|
1427
961
|
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
@@ -1816,37 +1350,6 @@
|
|
|
1816
1350
|
}
|
|
1817
1351
|
]
|
|
1818
1352
|
},
|
|
1819
|
-
{
|
|
1820
|
-
"kind": "javascript-module",
|
|
1821
|
-
"path": "src/_config/index.ts",
|
|
1822
|
-
"declarations": [],
|
|
1823
|
-
"exports": [
|
|
1824
|
-
{
|
|
1825
|
-
"kind": "js",
|
|
1826
|
-
"name": "*",
|
|
1827
|
-
"declaration": {
|
|
1828
|
-
"name": "*",
|
|
1829
|
-
"package": "./styles"
|
|
1830
|
-
}
|
|
1831
|
-
},
|
|
1832
|
-
{
|
|
1833
|
-
"kind": "js",
|
|
1834
|
-
"name": "*",
|
|
1835
|
-
"declaration": {
|
|
1836
|
-
"name": "*",
|
|
1837
|
-
"package": "./tokens"
|
|
1838
|
-
}
|
|
1839
|
-
},
|
|
1840
|
-
{
|
|
1841
|
-
"kind": "js",
|
|
1842
|
-
"name": "*",
|
|
1843
|
-
"declaration": {
|
|
1844
|
-
"name": "*",
|
|
1845
|
-
"package": "./values"
|
|
1846
|
-
}
|
|
1847
|
-
}
|
|
1848
|
-
]
|
|
1849
|
-
},
|
|
1850
1353
|
{
|
|
1851
1354
|
"kind": "javascript-module",
|
|
1852
1355
|
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
@@ -3476,6 +2979,503 @@
|
|
|
3476
2979
|
}
|
|
3477
2980
|
]
|
|
3478
2981
|
},
|
|
2982
|
+
{
|
|
2983
|
+
"kind": "javascript-module",
|
|
2984
|
+
"path": "src/_common/affix-mixin.ts",
|
|
2985
|
+
"declarations": [
|
|
2986
|
+
{
|
|
2987
|
+
"kind": "mixin",
|
|
2988
|
+
"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.",
|
|
2989
|
+
"name": "AffixMixin",
|
|
2990
|
+
"members": [
|
|
2991
|
+
{
|
|
2992
|
+
"kind": "field",
|
|
2993
|
+
"name": "prefix",
|
|
2994
|
+
"type": {
|
|
2995
|
+
"text": "string"
|
|
2996
|
+
},
|
|
2997
|
+
"description": "Optional non-editable label shown on the left inside the field, before the input."
|
|
2998
|
+
},
|
|
2999
|
+
{
|
|
3000
|
+
"kind": "field",
|
|
3001
|
+
"name": "suffix",
|
|
3002
|
+
"type": {
|
|
3003
|
+
"text": "string"
|
|
3004
|
+
},
|
|
3005
|
+
"description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
|
|
3006
|
+
},
|
|
3007
|
+
{
|
|
3008
|
+
"kind": "field",
|
|
3009
|
+
"name": "hideAffixFromScreenReader",
|
|
3010
|
+
"type": {
|
|
3011
|
+
"text": "boolean"
|
|
3012
|
+
},
|
|
3013
|
+
"default": "false",
|
|
3014
|
+
"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."
|
|
3015
|
+
}
|
|
3016
|
+
],
|
|
3017
|
+
"parameters": [
|
|
3018
|
+
{
|
|
3019
|
+
"name": "Base",
|
|
3020
|
+
"type": {
|
|
3021
|
+
"text": "TBase"
|
|
3022
|
+
}
|
|
3023
|
+
}
|
|
3024
|
+
]
|
|
3025
|
+
}
|
|
3026
|
+
],
|
|
3027
|
+
"exports": [
|
|
3028
|
+
{
|
|
3029
|
+
"kind": "js",
|
|
3030
|
+
"name": "AffixMixin",
|
|
3031
|
+
"declaration": {
|
|
3032
|
+
"name": "AffixMixin",
|
|
3033
|
+
"module": "src/_common/affix-mixin.ts"
|
|
3034
|
+
}
|
|
3035
|
+
}
|
|
3036
|
+
]
|
|
3037
|
+
},
|
|
3038
|
+
{
|
|
3039
|
+
"kind": "javascript-module",
|
|
3040
|
+
"path": "src/_common/base-file-component.ts",
|
|
3041
|
+
"declarations": [
|
|
3042
|
+
{
|
|
3043
|
+
"kind": "class",
|
|
3044
|
+
"description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
|
|
3045
|
+
"name": "BaseFileComponent",
|
|
3046
|
+
"members": [
|
|
3047
|
+
{
|
|
3048
|
+
"kind": "field",
|
|
3049
|
+
"name": "fileInput",
|
|
3050
|
+
"type": {
|
|
3051
|
+
"text": "HTMLInputElement"
|
|
3052
|
+
},
|
|
3053
|
+
"privacy": "public"
|
|
3054
|
+
},
|
|
3055
|
+
{
|
|
3056
|
+
"kind": "field",
|
|
3057
|
+
"name": "selectedFile",
|
|
3058
|
+
"type": {
|
|
3059
|
+
"text": "File | null"
|
|
3060
|
+
},
|
|
3061
|
+
"privacy": "protected",
|
|
3062
|
+
"default": "null"
|
|
3063
|
+
},
|
|
3064
|
+
{
|
|
3065
|
+
"kind": "field",
|
|
3066
|
+
"name": "label",
|
|
3067
|
+
"type": {
|
|
3068
|
+
"text": "string"
|
|
3069
|
+
}
|
|
3070
|
+
},
|
|
3071
|
+
{
|
|
3072
|
+
"kind": "field",
|
|
3073
|
+
"name": "accept",
|
|
3074
|
+
"type": {
|
|
3075
|
+
"text": "string"
|
|
3076
|
+
},
|
|
3077
|
+
"default": "''"
|
|
3078
|
+
},
|
|
3079
|
+
{
|
|
3080
|
+
"kind": "field",
|
|
3081
|
+
"name": "fileSizeLimitBytes",
|
|
3082
|
+
"default": "10_485_760",
|
|
3083
|
+
"type": {
|
|
3084
|
+
"text": "number"
|
|
3085
|
+
}
|
|
3086
|
+
},
|
|
3087
|
+
{
|
|
3088
|
+
"kind": "field",
|
|
3089
|
+
"name": "fileName",
|
|
3090
|
+
"type": {
|
|
3091
|
+
"text": "string"
|
|
3092
|
+
},
|
|
3093
|
+
"default": "''"
|
|
3094
|
+
},
|
|
3095
|
+
{
|
|
3096
|
+
"kind": "field",
|
|
3097
|
+
"name": "isProcessing",
|
|
3098
|
+
"type": {
|
|
3099
|
+
"text": "boolean"
|
|
3100
|
+
},
|
|
3101
|
+
"default": "false"
|
|
3102
|
+
},
|
|
3103
|
+
{
|
|
3104
|
+
"kind": "method",
|
|
3105
|
+
"name": "handleClick",
|
|
3106
|
+
"privacy": "public",
|
|
3107
|
+
"description": "Opens the file picker dialog\nClears any previous file selection before opening"
|
|
3108
|
+
},
|
|
3109
|
+
{
|
|
3110
|
+
"kind": "method",
|
|
3111
|
+
"name": "onInputChange",
|
|
3112
|
+
"privacy": "public",
|
|
3113
|
+
"parameters": [
|
|
3114
|
+
{
|
|
3115
|
+
"name": "e",
|
|
3116
|
+
"type": {
|
|
3117
|
+
"text": "Event"
|
|
3118
|
+
},
|
|
3119
|
+
"description": "The change event from the file input"
|
|
3120
|
+
}
|
|
3121
|
+
],
|
|
3122
|
+
"description": "Handles file selection from the file input\nValidates file size and sets up for processing"
|
|
3123
|
+
},
|
|
3124
|
+
{
|
|
3125
|
+
"kind": "method",
|
|
3126
|
+
"name": "clearSelection",
|
|
3127
|
+
"privacy": "public",
|
|
3128
|
+
"description": "Clears all file selection and processing state\nResets the component to its initial state"
|
|
3129
|
+
},
|
|
3130
|
+
{
|
|
3131
|
+
"kind": "method",
|
|
3132
|
+
"name": "getSelectedFile",
|
|
3133
|
+
"privacy": "public",
|
|
3134
|
+
"description": "Gets the currently selected file object",
|
|
3135
|
+
"return": {
|
|
3136
|
+
"type": {
|
|
3137
|
+
"text": ""
|
|
3138
|
+
}
|
|
3139
|
+
}
|
|
3140
|
+
},
|
|
3141
|
+
{
|
|
3142
|
+
"kind": "method",
|
|
3143
|
+
"name": "showError",
|
|
3144
|
+
"privacy": "protected",
|
|
3145
|
+
"parameters": [
|
|
3146
|
+
{
|
|
3147
|
+
"name": "title",
|
|
3148
|
+
"type": {
|
|
3149
|
+
"text": "string"
|
|
3150
|
+
},
|
|
3151
|
+
"description": "The error title"
|
|
3152
|
+
},
|
|
3153
|
+
{
|
|
3154
|
+
"name": "message",
|
|
3155
|
+
"type": {
|
|
3156
|
+
"text": "string"
|
|
3157
|
+
},
|
|
3158
|
+
"description": "The error message"
|
|
3159
|
+
}
|
|
3160
|
+
],
|
|
3161
|
+
"description": "Shows an error notification using the unified error handling system"
|
|
3162
|
+
},
|
|
3163
|
+
{
|
|
3164
|
+
"kind": "method",
|
|
3165
|
+
"name": "onFileSelected",
|
|
3166
|
+
"privacy": "protected",
|
|
3167
|
+
"return": {
|
|
3168
|
+
"type": {
|
|
3169
|
+
"text": "void"
|
|
3170
|
+
}
|
|
3171
|
+
},
|
|
3172
|
+
"parameters": [
|
|
3173
|
+
{
|
|
3174
|
+
"name": "files",
|
|
3175
|
+
"type": {
|
|
3176
|
+
"text": "File[]"
|
|
3177
|
+
},
|
|
3178
|
+
"description": "The selected file"
|
|
3179
|
+
}
|
|
3180
|
+
],
|
|
3181
|
+
"description": "Abstract method called when a file is selected"
|
|
3182
|
+
},
|
|
3183
|
+
{
|
|
3184
|
+
"kind": "method",
|
|
3185
|
+
"name": "onFileCleared",
|
|
3186
|
+
"privacy": "protected",
|
|
3187
|
+
"return": {
|
|
3188
|
+
"type": {
|
|
3189
|
+
"text": "void"
|
|
3190
|
+
}
|
|
3191
|
+
},
|
|
3192
|
+
"description": "Abstract method called when file selection is cleared"
|
|
3193
|
+
},
|
|
3194
|
+
{
|
|
3195
|
+
"kind": "field",
|
|
3196
|
+
"name": "_presentation",
|
|
3197
|
+
"type": {
|
|
3198
|
+
"text": "ComponentPresentation | null | undefined"
|
|
3199
|
+
},
|
|
3200
|
+
"privacy": "private",
|
|
3201
|
+
"default": "void 0",
|
|
3202
|
+
"inheritedFrom": {
|
|
3203
|
+
"name": "FoundationElement",
|
|
3204
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
3205
|
+
}
|
|
3206
|
+
},
|
|
3207
|
+
{
|
|
3208
|
+
"kind": "field",
|
|
3209
|
+
"name": "$presentation",
|
|
3210
|
+
"type": {
|
|
3211
|
+
"text": "ComponentPresentation | null"
|
|
3212
|
+
},
|
|
3213
|
+
"privacy": "public",
|
|
3214
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
3215
|
+
"inheritedFrom": {
|
|
3216
|
+
"name": "FoundationElement",
|
|
3217
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
3218
|
+
}
|
|
3219
|
+
},
|
|
3220
|
+
{
|
|
3221
|
+
"kind": "field",
|
|
3222
|
+
"name": "template",
|
|
3223
|
+
"type": {
|
|
3224
|
+
"text": "ElementViewTemplate | void | null"
|
|
3225
|
+
},
|
|
3226
|
+
"privacy": "public",
|
|
3227
|
+
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
3228
|
+
"inheritedFrom": {
|
|
3229
|
+
"name": "FoundationElement",
|
|
3230
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
3231
|
+
}
|
|
3232
|
+
},
|
|
3233
|
+
{
|
|
3234
|
+
"kind": "method",
|
|
3235
|
+
"name": "templateChanged",
|
|
3236
|
+
"privacy": "protected",
|
|
3237
|
+
"return": {
|
|
3238
|
+
"type": {
|
|
3239
|
+
"text": "void"
|
|
3240
|
+
}
|
|
3241
|
+
},
|
|
3242
|
+
"inheritedFrom": {
|
|
3243
|
+
"name": "FoundationElement",
|
|
3244
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
3245
|
+
}
|
|
3246
|
+
},
|
|
3247
|
+
{
|
|
3248
|
+
"kind": "field",
|
|
3249
|
+
"name": "styles",
|
|
3250
|
+
"type": {
|
|
3251
|
+
"text": "ElementStyles | void | null"
|
|
3252
|
+
},
|
|
3253
|
+
"privacy": "public",
|
|
3254
|
+
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
3255
|
+
"inheritedFrom": {
|
|
3256
|
+
"name": "FoundationElement",
|
|
3257
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
3258
|
+
}
|
|
3259
|
+
},
|
|
3260
|
+
{
|
|
3261
|
+
"kind": "method",
|
|
3262
|
+
"name": "stylesChanged",
|
|
3263
|
+
"privacy": "protected",
|
|
3264
|
+
"return": {
|
|
3265
|
+
"type": {
|
|
3266
|
+
"text": "void"
|
|
3267
|
+
}
|
|
3268
|
+
},
|
|
3269
|
+
"inheritedFrom": {
|
|
3270
|
+
"name": "FoundationElement",
|
|
3271
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
3272
|
+
}
|
|
3273
|
+
},
|
|
3274
|
+
{
|
|
3275
|
+
"kind": "method",
|
|
3276
|
+
"name": "compose",
|
|
3277
|
+
"privacy": "public",
|
|
3278
|
+
"static": true,
|
|
3279
|
+
"return": {
|
|
3280
|
+
"type": {
|
|
3281
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
3282
|
+
}
|
|
3283
|
+
},
|
|
3284
|
+
"parameters": [
|
|
3285
|
+
{
|
|
3286
|
+
"name": "this",
|
|
3287
|
+
"type": {
|
|
3288
|
+
"text": "K"
|
|
3289
|
+
}
|
|
3290
|
+
},
|
|
3291
|
+
{
|
|
3292
|
+
"name": "elementDefinition",
|
|
3293
|
+
"type": {
|
|
3294
|
+
"text": "T"
|
|
3295
|
+
},
|
|
3296
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
3297
|
+
}
|
|
3298
|
+
],
|
|
3299
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
3300
|
+
"inheritedFrom": {
|
|
3301
|
+
"name": "FoundationElement",
|
|
3302
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
3303
|
+
}
|
|
3304
|
+
}
|
|
3305
|
+
],
|
|
3306
|
+
"events": [
|
|
3307
|
+
{
|
|
3308
|
+
"description": "Fired when file size validation fails. detail: `Error`",
|
|
3309
|
+
"name": "error"
|
|
3310
|
+
},
|
|
3311
|
+
{
|
|
3312
|
+
"description": "Fired when selection is cleared",
|
|
3313
|
+
"name": "clear"
|
|
3314
|
+
}
|
|
3315
|
+
],
|
|
3316
|
+
"attributes": [
|
|
3317
|
+
{
|
|
3318
|
+
"name": "label",
|
|
3319
|
+
"type": {
|
|
3320
|
+
"text": "string"
|
|
3321
|
+
},
|
|
3322
|
+
"fieldName": "label"
|
|
3323
|
+
},
|
|
3324
|
+
{
|
|
3325
|
+
"name": "accept",
|
|
3326
|
+
"type": {
|
|
3327
|
+
"text": "string"
|
|
3328
|
+
},
|
|
3329
|
+
"default": "''",
|
|
3330
|
+
"fieldName": "accept"
|
|
3331
|
+
},
|
|
3332
|
+
{
|
|
3333
|
+
"name": "file-size-limit-bytes",
|
|
3334
|
+
"default": "DEFAULT_FILE_SIZE_LIMIT",
|
|
3335
|
+
"resolveInitializer": {
|
|
3336
|
+
"module": "src/_common/base-file-component.ts"
|
|
3337
|
+
},
|
|
3338
|
+
"fieldName": "fileSizeLimitBytes"
|
|
3339
|
+
}
|
|
3340
|
+
],
|
|
3341
|
+
"superclass": {
|
|
3342
|
+
"name": "FoundationElement",
|
|
3343
|
+
"package": "@microsoft/fast-foundation"
|
|
3344
|
+
}
|
|
3345
|
+
}
|
|
3346
|
+
],
|
|
3347
|
+
"exports": [
|
|
3348
|
+
{
|
|
3349
|
+
"kind": "js",
|
|
3350
|
+
"name": "BaseFileComponent",
|
|
3351
|
+
"declaration": {
|
|
3352
|
+
"name": "BaseFileComponent",
|
|
3353
|
+
"module": "src/_common/base-file-component.ts"
|
|
3354
|
+
}
|
|
3355
|
+
}
|
|
3356
|
+
]
|
|
3357
|
+
},
|
|
3358
|
+
{
|
|
3359
|
+
"kind": "javascript-module",
|
|
3360
|
+
"path": "src/_common/field-styles.ts",
|
|
3361
|
+
"declarations": [
|
|
3362
|
+
{
|
|
3363
|
+
"kind": "variable",
|
|
3364
|
+
"name": "sharedFieldStyles",
|
|
3365
|
+
"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`"
|
|
3366
|
+
}
|
|
3367
|
+
],
|
|
3368
|
+
"exports": [
|
|
3369
|
+
{
|
|
3370
|
+
"kind": "js",
|
|
3371
|
+
"name": "sharedFieldStyles",
|
|
3372
|
+
"declaration": {
|
|
3373
|
+
"name": "sharedFieldStyles",
|
|
3374
|
+
"module": "src/_common/field-styles.ts"
|
|
3375
|
+
}
|
|
3376
|
+
}
|
|
3377
|
+
]
|
|
3378
|
+
},
|
|
3379
|
+
{
|
|
3380
|
+
"kind": "javascript-module",
|
|
3381
|
+
"path": "src/_common/icons.ts",
|
|
3382
|
+
"declarations": [
|
|
3383
|
+
{
|
|
3384
|
+
"kind": "function",
|
|
3385
|
+
"name": "closeIcon",
|
|
3386
|
+
"parameters": [
|
|
3387
|
+
{
|
|
3388
|
+
"name": "slot",
|
|
3389
|
+
"default": "'start'"
|
|
3390
|
+
},
|
|
3391
|
+
{
|
|
3392
|
+
"name": "fill",
|
|
3393
|
+
"default": "'#879ba6'"
|
|
3394
|
+
}
|
|
3395
|
+
]
|
|
3396
|
+
}
|
|
3397
|
+
],
|
|
3398
|
+
"exports": [
|
|
3399
|
+
{
|
|
3400
|
+
"kind": "js",
|
|
3401
|
+
"name": "closeIcon",
|
|
3402
|
+
"declaration": {
|
|
3403
|
+
"name": "closeIcon",
|
|
3404
|
+
"module": "src/_common/icons.ts"
|
|
3405
|
+
}
|
|
3406
|
+
}
|
|
3407
|
+
]
|
|
3408
|
+
},
|
|
3409
|
+
{
|
|
3410
|
+
"kind": "javascript-module",
|
|
3411
|
+
"path": "src/_common/index.ts",
|
|
3412
|
+
"declarations": [],
|
|
3413
|
+
"exports": [
|
|
3414
|
+
{
|
|
3415
|
+
"kind": "js",
|
|
3416
|
+
"name": "*",
|
|
3417
|
+
"declaration": {
|
|
3418
|
+
"name": "*",
|
|
3419
|
+
"package": "./affix-mixin"
|
|
3420
|
+
}
|
|
3421
|
+
},
|
|
3422
|
+
{
|
|
3423
|
+
"kind": "js",
|
|
3424
|
+
"name": "*",
|
|
3425
|
+
"declaration": {
|
|
3426
|
+
"name": "*",
|
|
3427
|
+
"package": "./base-file-component"
|
|
3428
|
+
}
|
|
3429
|
+
},
|
|
3430
|
+
{
|
|
3431
|
+
"kind": "js",
|
|
3432
|
+
"name": "*",
|
|
3433
|
+
"declaration": {
|
|
3434
|
+
"name": "*",
|
|
3435
|
+
"package": "./field-styles"
|
|
3436
|
+
}
|
|
3437
|
+
},
|
|
3438
|
+
{
|
|
3439
|
+
"kind": "js",
|
|
3440
|
+
"name": "*",
|
|
3441
|
+
"declaration": {
|
|
3442
|
+
"name": "*",
|
|
3443
|
+
"package": "./icons"
|
|
3444
|
+
}
|
|
3445
|
+
}
|
|
3446
|
+
]
|
|
3447
|
+
},
|
|
3448
|
+
{
|
|
3449
|
+
"kind": "javascript-module",
|
|
3450
|
+
"path": "src/_config/index.ts",
|
|
3451
|
+
"declarations": [],
|
|
3452
|
+
"exports": [
|
|
3453
|
+
{
|
|
3454
|
+
"kind": "js",
|
|
3455
|
+
"name": "*",
|
|
3456
|
+
"declaration": {
|
|
3457
|
+
"name": "*",
|
|
3458
|
+
"package": "./styles"
|
|
3459
|
+
}
|
|
3460
|
+
},
|
|
3461
|
+
{
|
|
3462
|
+
"kind": "js",
|
|
3463
|
+
"name": "*",
|
|
3464
|
+
"declaration": {
|
|
3465
|
+
"name": "*",
|
|
3466
|
+
"package": "./tokens"
|
|
3467
|
+
}
|
|
3468
|
+
},
|
|
3469
|
+
{
|
|
3470
|
+
"kind": "js",
|
|
3471
|
+
"name": "*",
|
|
3472
|
+
"declaration": {
|
|
3473
|
+
"name": "*",
|
|
3474
|
+
"package": "./values"
|
|
3475
|
+
}
|
|
3476
|
+
}
|
|
3477
|
+
]
|
|
3478
|
+
},
|
|
3479
3479
|
{
|
|
3480
3480
|
"kind": "javascript-module",
|
|
3481
3481
|
"path": "src/accordion/accordion.styles.ts",
|
|
@@ -37432,6 +37432,25 @@
|
|
|
37432
37432
|
"name": "attachListboxScrollListener",
|
|
37433
37433
|
"privacy": "private"
|
|
37434
37434
|
},
|
|
37435
|
+
{
|
|
37436
|
+
"kind": "method",
|
|
37437
|
+
"name": "isNearListboxBottom",
|
|
37438
|
+
"privacy": "private",
|
|
37439
|
+
"return": {
|
|
37440
|
+
"type": {
|
|
37441
|
+
"text": "boolean"
|
|
37442
|
+
}
|
|
37443
|
+
},
|
|
37444
|
+
"parameters": [
|
|
37445
|
+
{
|
|
37446
|
+
"name": "listbox",
|
|
37447
|
+
"type": {
|
|
37448
|
+
"text": "HTMLElement"
|
|
37449
|
+
}
|
|
37450
|
+
}
|
|
37451
|
+
],
|
|
37452
|
+
"description": "Also true when the options do not fill the listbox: it cannot be scrolled, so the\nbottom is already in view."
|
|
37453
|
+
},
|
|
37435
37454
|
{
|
|
37436
37455
|
"kind": "field",
|
|
37437
37456
|
"name": "listboxScrollHandler",
|
|
@@ -37446,7 +37465,7 @@
|
|
|
37446
37465
|
"kind": "method",
|
|
37447
37466
|
"name": "topUpVisibleListbox",
|
|
37448
37467
|
"privacy": "private",
|
|
37449
|
-
"description": "
|
|
37468
|
+
"description": "Keeps requesting pages while the bottom of the listbox is in view — either because\nthe loaded options do not fill it, or because the user is already scrolled there and\nappending rows fires no further scroll event."
|
|
37450
37469
|
},
|
|
37451
37470
|
{
|
|
37452
37471
|
"kind": "field",
|
|
@@ -59965,6 +59984,197 @@
|
|
|
59965
59984
|
}
|
|
59966
59985
|
]
|
|
59967
59986
|
},
|
|
59987
|
+
{
|
|
59988
|
+
"kind": "javascript-module",
|
|
59989
|
+
"path": "src/ai-criteria-search/validation/criteria-ir.ts",
|
|
59990
|
+
"declarations": [],
|
|
59991
|
+
"exports": []
|
|
59992
|
+
},
|
|
59993
|
+
{
|
|
59994
|
+
"kind": "javascript-module",
|
|
59995
|
+
"path": "src/ai-criteria-search/validation/operator-map.ts",
|
|
59996
|
+
"declarations": [
|
|
59997
|
+
{
|
|
59998
|
+
"kind": "function",
|
|
59999
|
+
"name": "groupsToCriteria",
|
|
60000
|
+
"return": {
|
|
60001
|
+
"type": {
|
|
60002
|
+
"text": "string"
|
|
60003
|
+
}
|
|
60004
|
+
},
|
|
60005
|
+
"parameters": [
|
|
60006
|
+
{
|
|
60007
|
+
"name": "groups",
|
|
60008
|
+
"type": {
|
|
60009
|
+
"text": "CriteriaGroup[]"
|
|
60010
|
+
}
|
|
60011
|
+
}
|
|
60012
|
+
],
|
|
60013
|
+
"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."
|
|
60014
|
+
},
|
|
60015
|
+
{
|
|
60016
|
+
"kind": "variable",
|
|
60017
|
+
"name": "STRING_OPERATORS",
|
|
60018
|
+
"type": {
|
|
60019
|
+
"text": "CriteriaOperator[]"
|
|
60020
|
+
},
|
|
60021
|
+
"default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
|
|
60022
|
+
},
|
|
60023
|
+
{
|
|
60024
|
+
"kind": "variable",
|
|
60025
|
+
"name": "NUMERIC_OPERATORS",
|
|
60026
|
+
"type": {
|
|
60027
|
+
"text": "CriteriaOperator[]"
|
|
60028
|
+
},
|
|
60029
|
+
"default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
|
|
60030
|
+
},
|
|
60031
|
+
{
|
|
60032
|
+
"kind": "variable",
|
|
60033
|
+
"name": "DATE_OPERATORS",
|
|
60034
|
+
"type": {
|
|
60035
|
+
"text": "CriteriaOperator[]"
|
|
60036
|
+
},
|
|
60037
|
+
"default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
|
|
60038
|
+
},
|
|
60039
|
+
{
|
|
60040
|
+
"kind": "variable",
|
|
60041
|
+
"name": "DATETIME_OPERATORS",
|
|
60042
|
+
"type": {
|
|
60043
|
+
"text": "CriteriaOperator[]"
|
|
60044
|
+
},
|
|
60045
|
+
"default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
|
|
60046
|
+
},
|
|
60047
|
+
{
|
|
60048
|
+
"kind": "variable",
|
|
60049
|
+
"name": "OPERATOR_DISPLAY_LABEL",
|
|
60050
|
+
"type": {
|
|
60051
|
+
"text": "Record<CriteriaOperator, string>"
|
|
60052
|
+
},
|
|
60053
|
+
"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}"
|
|
60054
|
+
}
|
|
60055
|
+
],
|
|
60056
|
+
"exports": [
|
|
60057
|
+
{
|
|
60058
|
+
"kind": "js",
|
|
60059
|
+
"name": "groupsToCriteria",
|
|
60060
|
+
"declaration": {
|
|
60061
|
+
"name": "groupsToCriteria",
|
|
60062
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60063
|
+
}
|
|
60064
|
+
},
|
|
60065
|
+
{
|
|
60066
|
+
"kind": "js",
|
|
60067
|
+
"name": "STRING_OPERATORS",
|
|
60068
|
+
"declaration": {
|
|
60069
|
+
"name": "STRING_OPERATORS",
|
|
60070
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60071
|
+
}
|
|
60072
|
+
},
|
|
60073
|
+
{
|
|
60074
|
+
"kind": "js",
|
|
60075
|
+
"name": "NUMERIC_OPERATORS",
|
|
60076
|
+
"declaration": {
|
|
60077
|
+
"name": "NUMERIC_OPERATORS",
|
|
60078
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60079
|
+
}
|
|
60080
|
+
},
|
|
60081
|
+
{
|
|
60082
|
+
"kind": "js",
|
|
60083
|
+
"name": "DATE_OPERATORS",
|
|
60084
|
+
"declaration": {
|
|
60085
|
+
"name": "DATE_OPERATORS",
|
|
60086
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60087
|
+
}
|
|
60088
|
+
},
|
|
60089
|
+
{
|
|
60090
|
+
"kind": "js",
|
|
60091
|
+
"name": "DATETIME_OPERATORS",
|
|
60092
|
+
"declaration": {
|
|
60093
|
+
"name": "DATETIME_OPERATORS",
|
|
60094
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60095
|
+
}
|
|
60096
|
+
},
|
|
60097
|
+
{
|
|
60098
|
+
"kind": "js",
|
|
60099
|
+
"name": "OPERATOR_DISPLAY_LABEL",
|
|
60100
|
+
"declaration": {
|
|
60101
|
+
"name": "OPERATOR_DISPLAY_LABEL",
|
|
60102
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60103
|
+
}
|
|
60104
|
+
}
|
|
60105
|
+
]
|
|
60106
|
+
},
|
|
60107
|
+
{
|
|
60108
|
+
"kind": "javascript-module",
|
|
60109
|
+
"path": "src/ai-criteria-search/validation/schema-validator.ts",
|
|
60110
|
+
"declarations": [
|
|
60111
|
+
{
|
|
60112
|
+
"kind": "function",
|
|
60113
|
+
"name": "validateClauses",
|
|
60114
|
+
"return": {
|
|
60115
|
+
"type": {
|
|
60116
|
+
"text": "ValidationResult"
|
|
60117
|
+
}
|
|
60118
|
+
},
|
|
60119
|
+
"parameters": [
|
|
60120
|
+
{
|
|
60121
|
+
"name": "clauses",
|
|
60122
|
+
"type": {
|
|
60123
|
+
"text": "CriteriaClause[]"
|
|
60124
|
+
}
|
|
60125
|
+
},
|
|
60126
|
+
{
|
|
60127
|
+
"name": "fieldMetadata",
|
|
60128
|
+
"type": {
|
|
60129
|
+
"text": "MetadataDetail[] | string[]"
|
|
60130
|
+
}
|
|
60131
|
+
}
|
|
60132
|
+
]
|
|
60133
|
+
},
|
|
60134
|
+
{
|
|
60135
|
+
"kind": "function",
|
|
60136
|
+
"name": "validateGroups",
|
|
60137
|
+
"return": {
|
|
60138
|
+
"type": {
|
|
60139
|
+
"text": "GroupsValidationResult"
|
|
60140
|
+
}
|
|
60141
|
+
},
|
|
60142
|
+
"parameters": [
|
|
60143
|
+
{
|
|
60144
|
+
"name": "groups",
|
|
60145
|
+
"type": {
|
|
60146
|
+
"text": "CriteriaGroup[]"
|
|
60147
|
+
}
|
|
60148
|
+
},
|
|
60149
|
+
{
|
|
60150
|
+
"name": "fieldMetadata",
|
|
60151
|
+
"type": {
|
|
60152
|
+
"text": "MetadataDetail[] | string[]"
|
|
60153
|
+
}
|
|
60154
|
+
}
|
|
60155
|
+
],
|
|
60156
|
+
"description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
|
|
60157
|
+
}
|
|
60158
|
+
],
|
|
60159
|
+
"exports": [
|
|
60160
|
+
{
|
|
60161
|
+
"kind": "js",
|
|
60162
|
+
"name": "validateClauses",
|
|
60163
|
+
"declaration": {
|
|
60164
|
+
"name": "validateClauses",
|
|
60165
|
+
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
60166
|
+
}
|
|
60167
|
+
},
|
|
60168
|
+
{
|
|
60169
|
+
"kind": "js",
|
|
60170
|
+
"name": "validateGroups",
|
|
60171
|
+
"declaration": {
|
|
60172
|
+
"name": "validateGroups",
|
|
60173
|
+
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
60174
|
+
}
|
|
60175
|
+
}
|
|
60176
|
+
]
|
|
60177
|
+
},
|
|
59968
60178
|
{
|
|
59969
60179
|
"kind": "javascript-module",
|
|
59970
60180
|
"path": "src/_config/styles/colors.ts",
|
|
@@ -61337,197 +61547,6 @@
|
|
|
61337
61547
|
"declarations": [],
|
|
61338
61548
|
"exports": []
|
|
61339
61549
|
},
|
|
61340
|
-
{
|
|
61341
|
-
"kind": "javascript-module",
|
|
61342
|
-
"path": "src/ai-criteria-search/validation/criteria-ir.ts",
|
|
61343
|
-
"declarations": [],
|
|
61344
|
-
"exports": []
|
|
61345
|
-
},
|
|
61346
|
-
{
|
|
61347
|
-
"kind": "javascript-module",
|
|
61348
|
-
"path": "src/ai-criteria-search/validation/operator-map.ts",
|
|
61349
|
-
"declarations": [
|
|
61350
|
-
{
|
|
61351
|
-
"kind": "function",
|
|
61352
|
-
"name": "groupsToCriteria",
|
|
61353
|
-
"return": {
|
|
61354
|
-
"type": {
|
|
61355
|
-
"text": "string"
|
|
61356
|
-
}
|
|
61357
|
-
},
|
|
61358
|
-
"parameters": [
|
|
61359
|
-
{
|
|
61360
|
-
"name": "groups",
|
|
61361
|
-
"type": {
|
|
61362
|
-
"text": "CriteriaGroup[]"
|
|
61363
|
-
}
|
|
61364
|
-
}
|
|
61365
|
-
],
|
|
61366
|
-
"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."
|
|
61367
|
-
},
|
|
61368
|
-
{
|
|
61369
|
-
"kind": "variable",
|
|
61370
|
-
"name": "STRING_OPERATORS",
|
|
61371
|
-
"type": {
|
|
61372
|
-
"text": "CriteriaOperator[]"
|
|
61373
|
-
},
|
|
61374
|
-
"default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
|
|
61375
|
-
},
|
|
61376
|
-
{
|
|
61377
|
-
"kind": "variable",
|
|
61378
|
-
"name": "NUMERIC_OPERATORS",
|
|
61379
|
-
"type": {
|
|
61380
|
-
"text": "CriteriaOperator[]"
|
|
61381
|
-
},
|
|
61382
|
-
"default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
|
|
61383
|
-
},
|
|
61384
|
-
{
|
|
61385
|
-
"kind": "variable",
|
|
61386
|
-
"name": "DATE_OPERATORS",
|
|
61387
|
-
"type": {
|
|
61388
|
-
"text": "CriteriaOperator[]"
|
|
61389
|
-
},
|
|
61390
|
-
"default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
|
|
61391
|
-
},
|
|
61392
|
-
{
|
|
61393
|
-
"kind": "variable",
|
|
61394
|
-
"name": "DATETIME_OPERATORS",
|
|
61395
|
-
"type": {
|
|
61396
|
-
"text": "CriteriaOperator[]"
|
|
61397
|
-
},
|
|
61398
|
-
"default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
|
|
61399
|
-
},
|
|
61400
|
-
{
|
|
61401
|
-
"kind": "variable",
|
|
61402
|
-
"name": "OPERATOR_DISPLAY_LABEL",
|
|
61403
|
-
"type": {
|
|
61404
|
-
"text": "Record<CriteriaOperator, string>"
|
|
61405
|
-
},
|
|
61406
|
-
"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}"
|
|
61407
|
-
}
|
|
61408
|
-
],
|
|
61409
|
-
"exports": [
|
|
61410
|
-
{
|
|
61411
|
-
"kind": "js",
|
|
61412
|
-
"name": "groupsToCriteria",
|
|
61413
|
-
"declaration": {
|
|
61414
|
-
"name": "groupsToCriteria",
|
|
61415
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
61416
|
-
}
|
|
61417
|
-
},
|
|
61418
|
-
{
|
|
61419
|
-
"kind": "js",
|
|
61420
|
-
"name": "STRING_OPERATORS",
|
|
61421
|
-
"declaration": {
|
|
61422
|
-
"name": "STRING_OPERATORS",
|
|
61423
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
61424
|
-
}
|
|
61425
|
-
},
|
|
61426
|
-
{
|
|
61427
|
-
"kind": "js",
|
|
61428
|
-
"name": "NUMERIC_OPERATORS",
|
|
61429
|
-
"declaration": {
|
|
61430
|
-
"name": "NUMERIC_OPERATORS",
|
|
61431
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
61432
|
-
}
|
|
61433
|
-
},
|
|
61434
|
-
{
|
|
61435
|
-
"kind": "js",
|
|
61436
|
-
"name": "DATE_OPERATORS",
|
|
61437
|
-
"declaration": {
|
|
61438
|
-
"name": "DATE_OPERATORS",
|
|
61439
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
61440
|
-
}
|
|
61441
|
-
},
|
|
61442
|
-
{
|
|
61443
|
-
"kind": "js",
|
|
61444
|
-
"name": "DATETIME_OPERATORS",
|
|
61445
|
-
"declaration": {
|
|
61446
|
-
"name": "DATETIME_OPERATORS",
|
|
61447
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
61448
|
-
}
|
|
61449
|
-
},
|
|
61450
|
-
{
|
|
61451
|
-
"kind": "js",
|
|
61452
|
-
"name": "OPERATOR_DISPLAY_LABEL",
|
|
61453
|
-
"declaration": {
|
|
61454
|
-
"name": "OPERATOR_DISPLAY_LABEL",
|
|
61455
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
61456
|
-
}
|
|
61457
|
-
}
|
|
61458
|
-
]
|
|
61459
|
-
},
|
|
61460
|
-
{
|
|
61461
|
-
"kind": "javascript-module",
|
|
61462
|
-
"path": "src/ai-criteria-search/validation/schema-validator.ts",
|
|
61463
|
-
"declarations": [
|
|
61464
|
-
{
|
|
61465
|
-
"kind": "function",
|
|
61466
|
-
"name": "validateClauses",
|
|
61467
|
-
"return": {
|
|
61468
|
-
"type": {
|
|
61469
|
-
"text": "ValidationResult"
|
|
61470
|
-
}
|
|
61471
|
-
},
|
|
61472
|
-
"parameters": [
|
|
61473
|
-
{
|
|
61474
|
-
"name": "clauses",
|
|
61475
|
-
"type": {
|
|
61476
|
-
"text": "CriteriaClause[]"
|
|
61477
|
-
}
|
|
61478
|
-
},
|
|
61479
|
-
{
|
|
61480
|
-
"name": "fieldMetadata",
|
|
61481
|
-
"type": {
|
|
61482
|
-
"text": "MetadataDetail[] | string[]"
|
|
61483
|
-
}
|
|
61484
|
-
}
|
|
61485
|
-
]
|
|
61486
|
-
},
|
|
61487
|
-
{
|
|
61488
|
-
"kind": "function",
|
|
61489
|
-
"name": "validateGroups",
|
|
61490
|
-
"return": {
|
|
61491
|
-
"type": {
|
|
61492
|
-
"text": "GroupsValidationResult"
|
|
61493
|
-
}
|
|
61494
|
-
},
|
|
61495
|
-
"parameters": [
|
|
61496
|
-
{
|
|
61497
|
-
"name": "groups",
|
|
61498
|
-
"type": {
|
|
61499
|
-
"text": "CriteriaGroup[]"
|
|
61500
|
-
}
|
|
61501
|
-
},
|
|
61502
|
-
{
|
|
61503
|
-
"name": "fieldMetadata",
|
|
61504
|
-
"type": {
|
|
61505
|
-
"text": "MetadataDetail[] | string[]"
|
|
61506
|
-
}
|
|
61507
|
-
}
|
|
61508
|
-
],
|
|
61509
|
-
"description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
|
|
61510
|
-
}
|
|
61511
|
-
],
|
|
61512
|
-
"exports": [
|
|
61513
|
-
{
|
|
61514
|
-
"kind": "js",
|
|
61515
|
-
"name": "validateClauses",
|
|
61516
|
-
"declaration": {
|
|
61517
|
-
"name": "validateClauses",
|
|
61518
|
-
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
61519
|
-
}
|
|
61520
|
-
},
|
|
61521
|
-
{
|
|
61522
|
-
"kind": "js",
|
|
61523
|
-
"name": "validateGroups",
|
|
61524
|
-
"declaration": {
|
|
61525
|
-
"name": "validateGroups",
|
|
61526
|
-
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
61527
|
-
}
|
|
61528
|
-
}
|
|
61529
|
-
]
|
|
61530
|
-
},
|
|
61531
61550
|
{
|
|
61532
61551
|
"kind": "javascript-module",
|
|
61533
61552
|
"path": "src/environment-indicator/utils/configure.ts",
|