@genesislcap/foundation-ui 15.9.1 → 15.10.0-FUI-2597.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +858 -858
- package/dist/dts/react.d.ts +9 -9
- package/dist/react.cjs +6 -6
- package/dist/react.mjs +5 -5
- package/package.json +19 -19
|
@@ -956,503 +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
|
-
{
|
|
1426
|
-
"kind": "javascript-module",
|
|
1427
|
-
"path": "src/_config/index.ts",
|
|
1428
|
-
"declarations": [],
|
|
1429
|
-
"exports": [
|
|
1430
|
-
{
|
|
1431
|
-
"kind": "js",
|
|
1432
|
-
"name": "*",
|
|
1433
|
-
"declaration": {
|
|
1434
|
-
"name": "*",
|
|
1435
|
-
"package": "./styles"
|
|
1436
|
-
}
|
|
1437
|
-
},
|
|
1438
|
-
{
|
|
1439
|
-
"kind": "js",
|
|
1440
|
-
"name": "*",
|
|
1441
|
-
"declaration": {
|
|
1442
|
-
"name": "*",
|
|
1443
|
-
"package": "./tokens"
|
|
1444
|
-
}
|
|
1445
|
-
},
|
|
1446
|
-
{
|
|
1447
|
-
"kind": "js",
|
|
1448
|
-
"name": "*",
|
|
1449
|
-
"declaration": {
|
|
1450
|
-
"name": "*",
|
|
1451
|
-
"package": "./values"
|
|
1452
|
-
}
|
|
1453
|
-
}
|
|
1454
|
-
]
|
|
1455
|
-
},
|
|
1456
959
|
{
|
|
1457
960
|
"kind": "javascript-module",
|
|
1458
961
|
"path": "src/accordion/accordion.styles.ts",
|
|
@@ -1970,66 +1473,44 @@
|
|
|
1970
1473
|
},
|
|
1971
1474
|
{
|
|
1972
1475
|
"kind": "javascript-module",
|
|
1973
|
-
"path": "src/
|
|
1476
|
+
"path": "src/_common/affix-mixin.ts",
|
|
1974
1477
|
"declarations": [
|
|
1975
1478
|
{
|
|
1976
|
-
"kind": "
|
|
1977
|
-
"
|
|
1978
|
-
"
|
|
1979
|
-
|
|
1980
|
-
"text": "ElementStyles"
|
|
1981
|
-
}
|
|
1982
|
-
},
|
|
1983
|
-
"parameters": [
|
|
1479
|
+
"kind": "mixin",
|
|
1480
|
+
"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.",
|
|
1481
|
+
"name": "AffixMixin",
|
|
1482
|
+
"members": [
|
|
1984
1483
|
{
|
|
1985
|
-
"
|
|
1484
|
+
"kind": "field",
|
|
1485
|
+
"name": "prefix",
|
|
1986
1486
|
"type": {
|
|
1987
|
-
"text": "
|
|
1988
|
-
}
|
|
1487
|
+
"text": "string"
|
|
1488
|
+
},
|
|
1489
|
+
"description": "Optional non-editable label shown on the left inside the field, before the input."
|
|
1989
1490
|
},
|
|
1990
1491
|
{
|
|
1991
|
-
"
|
|
1492
|
+
"kind": "field",
|
|
1493
|
+
"name": "suffix",
|
|
1992
1494
|
"type": {
|
|
1993
|
-
"text": "
|
|
1994
|
-
}
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
}
|
|
1998
|
-
],
|
|
1999
|
-
"exports": [
|
|
2000
|
-
{
|
|
2001
|
-
"kind": "js",
|
|
2002
|
-
"name": "foundationAccordionItemStyles",
|
|
2003
|
-
"declaration": {
|
|
2004
|
-
"name": "foundationAccordionItemStyles",
|
|
2005
|
-
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
2006
|
-
}
|
|
2007
|
-
}
|
|
2008
|
-
]
|
|
2009
|
-
},
|
|
2010
|
-
{
|
|
2011
|
-
"kind": "javascript-module",
|
|
2012
|
-
"path": "src/accordion-item/accordion-item.template.ts",
|
|
2013
|
-
"declarations": [
|
|
2014
|
-
{
|
|
2015
|
-
"kind": "function",
|
|
2016
|
-
"name": "foundationAccordionItemTemplate",
|
|
2017
|
-
"return": {
|
|
2018
|
-
"type": {
|
|
2019
|
-
"text": "ViewTemplate<AccordionItem>"
|
|
2020
|
-
}
|
|
2021
|
-
},
|
|
2022
|
-
"parameters": [
|
|
1495
|
+
"text": "string"
|
|
1496
|
+
},
|
|
1497
|
+
"description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
|
|
1498
|
+
},
|
|
2023
1499
|
{
|
|
2024
|
-
"
|
|
1500
|
+
"kind": "field",
|
|
1501
|
+
"name": "hideAffixFromScreenReader",
|
|
2025
1502
|
"type": {
|
|
2026
|
-
"text": "
|
|
2027
|
-
}
|
|
2028
|
-
|
|
1503
|
+
"text": "boolean"
|
|
1504
|
+
},
|
|
1505
|
+
"default": "false",
|
|
1506
|
+
"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."
|
|
1507
|
+
}
|
|
1508
|
+
],
|
|
1509
|
+
"parameters": [
|
|
2029
1510
|
{
|
|
2030
|
-
"name": "
|
|
1511
|
+
"name": "Base",
|
|
2031
1512
|
"type": {
|
|
2032
|
-
"text": "
|
|
1513
|
+
"text": "TBase"
|
|
2033
1514
|
}
|
|
2034
1515
|
}
|
|
2035
1516
|
]
|
|
@@ -2038,118 +1519,170 @@
|
|
|
2038
1519
|
"exports": [
|
|
2039
1520
|
{
|
|
2040
1521
|
"kind": "js",
|
|
2041
|
-
"name": "
|
|
1522
|
+
"name": "AffixMixin",
|
|
2042
1523
|
"declaration": {
|
|
2043
|
-
"name": "
|
|
2044
|
-
"module": "src/
|
|
1524
|
+
"name": "AffixMixin",
|
|
1525
|
+
"module": "src/_common/affix-mixin.ts"
|
|
2045
1526
|
}
|
|
2046
1527
|
}
|
|
2047
1528
|
]
|
|
2048
1529
|
},
|
|
2049
1530
|
{
|
|
2050
1531
|
"kind": "javascript-module",
|
|
2051
|
-
"path": "src/
|
|
1532
|
+
"path": "src/_common/base-file-component.ts",
|
|
2052
1533
|
"declarations": [
|
|
2053
1534
|
{
|
|
2054
1535
|
"kind": "class",
|
|
2055
|
-
"description": "",
|
|
2056
|
-
"name": "
|
|
2057
|
-
"
|
|
2058
|
-
"name": "FASTAccordionItem",
|
|
2059
|
-
"package": "@microsoft/fast-components"
|
|
2060
|
-
},
|
|
2061
|
-
"tagName": "%%prefix%%-accordion-item",
|
|
2062
|
-
"customElement": true,
|
|
2063
|
-
"attributes": [
|
|
1536
|
+
"description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
|
|
1537
|
+
"name": "BaseFileComponent",
|
|
1538
|
+
"members": [
|
|
2064
1539
|
{
|
|
2065
|
-
"
|
|
1540
|
+
"kind": "field",
|
|
1541
|
+
"name": "fileInput",
|
|
2066
1542
|
"type": {
|
|
2067
|
-
"text": "
|
|
1543
|
+
"text": "HTMLInputElement"
|
|
2068
1544
|
},
|
|
2069
|
-
"
|
|
2070
|
-
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
2071
|
-
"fieldName": "headinglevel",
|
|
2072
|
-
"inheritedFrom": {
|
|
2073
|
-
"name": "AccordionItem",
|
|
2074
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2075
|
-
}
|
|
1545
|
+
"privacy": "public"
|
|
2076
1546
|
},
|
|
2077
1547
|
{
|
|
1548
|
+
"kind": "field",
|
|
1549
|
+
"name": "selectedFile",
|
|
2078
1550
|
"type": {
|
|
2079
|
-
"text": "
|
|
1551
|
+
"text": "File | null"
|
|
2080
1552
|
},
|
|
2081
|
-
"
|
|
2082
|
-
"
|
|
2083
|
-
"fieldName": "expanded",
|
|
2084
|
-
"inheritedFrom": {
|
|
2085
|
-
"name": "AccordionItem",
|
|
2086
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2087
|
-
}
|
|
1553
|
+
"privacy": "protected",
|
|
1554
|
+
"default": "null"
|
|
2088
1555
|
},
|
|
2089
1556
|
{
|
|
2090
|
-
"
|
|
1557
|
+
"kind": "field",
|
|
1558
|
+
"name": "label",
|
|
2091
1559
|
"type": {
|
|
2092
1560
|
"text": "string"
|
|
2093
|
-
},
|
|
2094
|
-
"description": "The item ID",
|
|
2095
|
-
"fieldName": "id",
|
|
2096
|
-
"inheritedFrom": {
|
|
2097
|
-
"name": "AccordionItem",
|
|
2098
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2099
1561
|
}
|
|
2100
|
-
}
|
|
2101
|
-
],
|
|
2102
|
-
"members": [
|
|
1562
|
+
},
|
|
2103
1563
|
{
|
|
2104
1564
|
"kind": "field",
|
|
2105
|
-
"name": "
|
|
1565
|
+
"name": "accept",
|
|
2106
1566
|
"type": {
|
|
2107
|
-
"text": "
|
|
1567
|
+
"text": "string"
|
|
2108
1568
|
},
|
|
2109
|
-
"
|
|
2110
|
-
"default": "2",
|
|
2111
|
-
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
2112
|
-
"inheritedFrom": {
|
|
2113
|
-
"name": "AccordionItem",
|
|
2114
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2115
|
-
}
|
|
1569
|
+
"default": "''"
|
|
2116
1570
|
},
|
|
2117
1571
|
{
|
|
2118
1572
|
"kind": "field",
|
|
2119
|
-
"name": "
|
|
1573
|
+
"name": "fileSizeLimitBytes",
|
|
1574
|
+
"default": "10_485_760",
|
|
2120
1575
|
"type": {
|
|
2121
|
-
"text": "
|
|
2122
|
-
},
|
|
2123
|
-
"privacy": "public",
|
|
2124
|
-
"default": "false",
|
|
2125
|
-
"description": "Expands or collapses the item.",
|
|
2126
|
-
"inheritedFrom": {
|
|
2127
|
-
"name": "AccordionItem",
|
|
2128
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1576
|
+
"text": "number"
|
|
2129
1577
|
}
|
|
2130
1578
|
},
|
|
2131
1579
|
{
|
|
2132
1580
|
"kind": "field",
|
|
2133
|
-
"name": "
|
|
1581
|
+
"name": "fileName",
|
|
2134
1582
|
"type": {
|
|
2135
1583
|
"text": "string"
|
|
2136
1584
|
},
|
|
2137
|
-
"
|
|
2138
|
-
"description": "The item ID",
|
|
2139
|
-
"inheritedFrom": {
|
|
2140
|
-
"name": "AccordionItem",
|
|
2141
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2142
|
-
}
|
|
1585
|
+
"default": "''"
|
|
2143
1586
|
},
|
|
2144
1587
|
{
|
|
2145
1588
|
"kind": "field",
|
|
2146
|
-
"name": "
|
|
2147
|
-
"
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
1589
|
+
"name": "isProcessing",
|
|
1590
|
+
"type": {
|
|
1591
|
+
"text": "boolean"
|
|
1592
|
+
},
|
|
1593
|
+
"default": "false"
|
|
1594
|
+
},
|
|
1595
|
+
{
|
|
1596
|
+
"kind": "method",
|
|
1597
|
+
"name": "handleClick",
|
|
1598
|
+
"privacy": "public",
|
|
1599
|
+
"description": "Opens the file picker dialog\nClears any previous file selection before opening"
|
|
1600
|
+
},
|
|
1601
|
+
{
|
|
1602
|
+
"kind": "method",
|
|
1603
|
+
"name": "onInputChange",
|
|
1604
|
+
"privacy": "public",
|
|
1605
|
+
"parameters": [
|
|
1606
|
+
{
|
|
1607
|
+
"name": "e",
|
|
1608
|
+
"type": {
|
|
1609
|
+
"text": "Event"
|
|
1610
|
+
},
|
|
1611
|
+
"description": "The change event from the file input"
|
|
1612
|
+
}
|
|
1613
|
+
],
|
|
1614
|
+
"description": "Handles file selection from the file input\nValidates file size and sets up for processing"
|
|
1615
|
+
},
|
|
1616
|
+
{
|
|
1617
|
+
"kind": "method",
|
|
1618
|
+
"name": "clearSelection",
|
|
1619
|
+
"privacy": "public",
|
|
1620
|
+
"description": "Clears all file selection and processing state\nResets the component to its initial state"
|
|
1621
|
+
},
|
|
1622
|
+
{
|
|
1623
|
+
"kind": "method",
|
|
1624
|
+
"name": "getSelectedFile",
|
|
1625
|
+
"privacy": "public",
|
|
1626
|
+
"description": "Gets the currently selected file object",
|
|
1627
|
+
"return": {
|
|
1628
|
+
"type": {
|
|
1629
|
+
"text": ""
|
|
1630
|
+
}
|
|
2151
1631
|
}
|
|
2152
1632
|
},
|
|
1633
|
+
{
|
|
1634
|
+
"kind": "method",
|
|
1635
|
+
"name": "showError",
|
|
1636
|
+
"privacy": "protected",
|
|
1637
|
+
"parameters": [
|
|
1638
|
+
{
|
|
1639
|
+
"name": "title",
|
|
1640
|
+
"type": {
|
|
1641
|
+
"text": "string"
|
|
1642
|
+
},
|
|
1643
|
+
"description": "The error title"
|
|
1644
|
+
},
|
|
1645
|
+
{
|
|
1646
|
+
"name": "message",
|
|
1647
|
+
"type": {
|
|
1648
|
+
"text": "string"
|
|
1649
|
+
},
|
|
1650
|
+
"description": "The error message"
|
|
1651
|
+
}
|
|
1652
|
+
],
|
|
1653
|
+
"description": "Shows an error notification using the unified error handling system"
|
|
1654
|
+
},
|
|
1655
|
+
{
|
|
1656
|
+
"kind": "method",
|
|
1657
|
+
"name": "onFileSelected",
|
|
1658
|
+
"privacy": "protected",
|
|
1659
|
+
"return": {
|
|
1660
|
+
"type": {
|
|
1661
|
+
"text": "void"
|
|
1662
|
+
}
|
|
1663
|
+
},
|
|
1664
|
+
"parameters": [
|
|
1665
|
+
{
|
|
1666
|
+
"name": "files",
|
|
1667
|
+
"type": {
|
|
1668
|
+
"text": "File[]"
|
|
1669
|
+
},
|
|
1670
|
+
"description": "The selected file"
|
|
1671
|
+
}
|
|
1672
|
+
],
|
|
1673
|
+
"description": "Abstract method called when a file is selected"
|
|
1674
|
+
},
|
|
1675
|
+
{
|
|
1676
|
+
"kind": "method",
|
|
1677
|
+
"name": "onFileCleared",
|
|
1678
|
+
"privacy": "protected",
|
|
1679
|
+
"return": {
|
|
1680
|
+
"type": {
|
|
1681
|
+
"text": "void"
|
|
1682
|
+
}
|
|
1683
|
+
},
|
|
1684
|
+
"description": "Abstract method called when file selection is cleared"
|
|
1685
|
+
},
|
|
2153
1686
|
{
|
|
2154
1687
|
"kind": "field",
|
|
2155
1688
|
"name": "_presentation",
|
|
@@ -2264,76 +1797,110 @@
|
|
|
2264
1797
|
],
|
|
2265
1798
|
"events": [
|
|
2266
1799
|
{
|
|
2267
|
-
"description": "
|
|
2268
|
-
"name": "
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
1800
|
+
"description": "Fired when file size validation fails. detail: `Error`",
|
|
1801
|
+
"name": "error"
|
|
1802
|
+
},
|
|
1803
|
+
{
|
|
1804
|
+
"description": "Fired when selection is cleared",
|
|
1805
|
+
"name": "clear"
|
|
2273
1806
|
}
|
|
2274
|
-
]
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
1807
|
+
],
|
|
1808
|
+
"attributes": [
|
|
1809
|
+
{
|
|
1810
|
+
"name": "label",
|
|
1811
|
+
"type": {
|
|
1812
|
+
"text": "string"
|
|
1813
|
+
},
|
|
1814
|
+
"fieldName": "label"
|
|
1815
|
+
},
|
|
1816
|
+
{
|
|
1817
|
+
"name": "accept",
|
|
1818
|
+
"type": {
|
|
1819
|
+
"text": "string"
|
|
1820
|
+
},
|
|
1821
|
+
"default": "''",
|
|
1822
|
+
"fieldName": "accept"
|
|
1823
|
+
},
|
|
1824
|
+
{
|
|
1825
|
+
"name": "file-size-limit-bytes",
|
|
1826
|
+
"default": "DEFAULT_FILE_SIZE_LIMIT",
|
|
1827
|
+
"resolveInitializer": {
|
|
1828
|
+
"module": "src/_common/base-file-component.ts"
|
|
1829
|
+
},
|
|
1830
|
+
"fieldName": "fileSizeLimitBytes"
|
|
1831
|
+
}
|
|
1832
|
+
],
|
|
1833
|
+
"superclass": {
|
|
1834
|
+
"name": "FoundationElement",
|
|
1835
|
+
"package": "@microsoft/fast-foundation"
|
|
1836
|
+
}
|
|
2297
1837
|
}
|
|
2298
1838
|
],
|
|
2299
1839
|
"exports": [
|
|
2300
1840
|
{
|
|
2301
1841
|
"kind": "js",
|
|
2302
|
-
"name": "
|
|
1842
|
+
"name": "BaseFileComponent",
|
|
2303
1843
|
"declaration": {
|
|
2304
|
-
"name": "
|
|
2305
|
-
"module": "src/
|
|
1844
|
+
"name": "BaseFileComponent",
|
|
1845
|
+
"module": "src/_common/base-file-component.ts"
|
|
2306
1846
|
}
|
|
2307
|
-
}
|
|
1847
|
+
}
|
|
1848
|
+
]
|
|
1849
|
+
},
|
|
1850
|
+
{
|
|
1851
|
+
"kind": "javascript-module",
|
|
1852
|
+
"path": "src/_common/field-styles.ts",
|
|
1853
|
+
"declarations": [
|
|
2308
1854
|
{
|
|
2309
|
-
"kind": "
|
|
2310
|
-
"name": "
|
|
2311
|
-
"
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
},
|
|
1855
|
+
"kind": "variable",
|
|
1856
|
+
"name": "sharedFieldStyles",
|
|
1857
|
+
"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`"
|
|
1858
|
+
}
|
|
1859
|
+
],
|
|
1860
|
+
"exports": [
|
|
2316
1861
|
{
|
|
2317
1862
|
"kind": "js",
|
|
2318
|
-
"name": "
|
|
1863
|
+
"name": "sharedFieldStyles",
|
|
2319
1864
|
"declaration": {
|
|
2320
|
-
"name": "
|
|
2321
|
-
"module": "src/
|
|
1865
|
+
"name": "sharedFieldStyles",
|
|
1866
|
+
"module": "src/_common/field-styles.ts"
|
|
2322
1867
|
}
|
|
2323
|
-
}
|
|
1868
|
+
}
|
|
1869
|
+
]
|
|
1870
|
+
},
|
|
1871
|
+
{
|
|
1872
|
+
"kind": "javascript-module",
|
|
1873
|
+
"path": "src/_common/icons.ts",
|
|
1874
|
+
"declarations": [
|
|
1875
|
+
{
|
|
1876
|
+
"kind": "function",
|
|
1877
|
+
"name": "closeIcon",
|
|
1878
|
+
"parameters": [
|
|
1879
|
+
{
|
|
1880
|
+
"name": "slot",
|
|
1881
|
+
"default": "'start'"
|
|
1882
|
+
},
|
|
1883
|
+
{
|
|
1884
|
+
"name": "fill",
|
|
1885
|
+
"default": "'#879ba6'"
|
|
1886
|
+
}
|
|
1887
|
+
]
|
|
1888
|
+
}
|
|
1889
|
+
],
|
|
1890
|
+
"exports": [
|
|
2324
1891
|
{
|
|
2325
1892
|
"kind": "js",
|
|
2326
|
-
"name": "
|
|
1893
|
+
"name": "closeIcon",
|
|
2327
1894
|
"declaration": {
|
|
2328
|
-
"name": "
|
|
2329
|
-
"module": "src/
|
|
1895
|
+
"name": "closeIcon",
|
|
1896
|
+
"module": "src/_common/icons.ts"
|
|
2330
1897
|
}
|
|
2331
1898
|
}
|
|
2332
1899
|
]
|
|
2333
1900
|
},
|
|
2334
1901
|
{
|
|
2335
1902
|
"kind": "javascript-module",
|
|
2336
|
-
"path": "src/
|
|
1903
|
+
"path": "src/_common/index.ts",
|
|
2337
1904
|
"declarations": [],
|
|
2338
1905
|
"exports": [
|
|
2339
1906
|
{
|
|
@@ -2341,7 +1908,7 @@
|
|
|
2341
1908
|
"name": "*",
|
|
2342
1909
|
"declaration": {
|
|
2343
1910
|
"name": "*",
|
|
2344
|
-
"package": "./
|
|
1911
|
+
"package": "./affix-mixin"
|
|
2345
1912
|
}
|
|
2346
1913
|
},
|
|
2347
1914
|
{
|
|
@@ -2349,7 +1916,7 @@
|
|
|
2349
1916
|
"name": "*",
|
|
2350
1917
|
"declaration": {
|
|
2351
1918
|
"name": "*",
|
|
2352
|
-
"package": "./
|
|
1919
|
+
"package": "./base-file-component"
|
|
2353
1920
|
}
|
|
2354
1921
|
},
|
|
2355
1922
|
{
|
|
@@ -2357,7 +1924,15 @@
|
|
|
2357
1924
|
"name": "*",
|
|
2358
1925
|
"declaration": {
|
|
2359
1926
|
"name": "*",
|
|
2360
|
-
"package": "./
|
|
1927
|
+
"package": "./field-styles"
|
|
1928
|
+
}
|
|
1929
|
+
},
|
|
1930
|
+
{
|
|
1931
|
+
"kind": "js",
|
|
1932
|
+
"name": "*",
|
|
1933
|
+
"declaration": {
|
|
1934
|
+
"name": "*",
|
|
1935
|
+
"package": "./icons"
|
|
2361
1936
|
}
|
|
2362
1937
|
}
|
|
2363
1938
|
]
|
|
@@ -3991,6 +3566,431 @@
|
|
|
3991
3566
|
}
|
|
3992
3567
|
]
|
|
3993
3568
|
},
|
|
3569
|
+
{
|
|
3570
|
+
"kind": "javascript-module",
|
|
3571
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
3572
|
+
"declarations": [
|
|
3573
|
+
{
|
|
3574
|
+
"kind": "function",
|
|
3575
|
+
"name": "foundationAccordionItemStyles",
|
|
3576
|
+
"return": {
|
|
3577
|
+
"type": {
|
|
3578
|
+
"text": "ElementStyles"
|
|
3579
|
+
}
|
|
3580
|
+
},
|
|
3581
|
+
"parameters": [
|
|
3582
|
+
{
|
|
3583
|
+
"name": "context",
|
|
3584
|
+
"type": {
|
|
3585
|
+
"text": "ElementDefinitionContext"
|
|
3586
|
+
}
|
|
3587
|
+
},
|
|
3588
|
+
{
|
|
3589
|
+
"name": "definition",
|
|
3590
|
+
"type": {
|
|
3591
|
+
"text": "FoundationElementDefinition"
|
|
3592
|
+
}
|
|
3593
|
+
}
|
|
3594
|
+
]
|
|
3595
|
+
}
|
|
3596
|
+
],
|
|
3597
|
+
"exports": [
|
|
3598
|
+
{
|
|
3599
|
+
"kind": "js",
|
|
3600
|
+
"name": "foundationAccordionItemStyles",
|
|
3601
|
+
"declaration": {
|
|
3602
|
+
"name": "foundationAccordionItemStyles",
|
|
3603
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
3604
|
+
}
|
|
3605
|
+
}
|
|
3606
|
+
]
|
|
3607
|
+
},
|
|
3608
|
+
{
|
|
3609
|
+
"kind": "javascript-module",
|
|
3610
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
3611
|
+
"declarations": [
|
|
3612
|
+
{
|
|
3613
|
+
"kind": "function",
|
|
3614
|
+
"name": "foundationAccordionItemTemplate",
|
|
3615
|
+
"return": {
|
|
3616
|
+
"type": {
|
|
3617
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
3618
|
+
}
|
|
3619
|
+
},
|
|
3620
|
+
"parameters": [
|
|
3621
|
+
{
|
|
3622
|
+
"name": "context",
|
|
3623
|
+
"type": {
|
|
3624
|
+
"text": "ElementDefinitionContext"
|
|
3625
|
+
}
|
|
3626
|
+
},
|
|
3627
|
+
{
|
|
3628
|
+
"name": "definition",
|
|
3629
|
+
"type": {
|
|
3630
|
+
"text": "FoundationElementDefinition"
|
|
3631
|
+
}
|
|
3632
|
+
}
|
|
3633
|
+
]
|
|
3634
|
+
}
|
|
3635
|
+
],
|
|
3636
|
+
"exports": [
|
|
3637
|
+
{
|
|
3638
|
+
"kind": "js",
|
|
3639
|
+
"name": "foundationAccordionItemTemplate",
|
|
3640
|
+
"declaration": {
|
|
3641
|
+
"name": "foundationAccordionItemTemplate",
|
|
3642
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
3643
|
+
}
|
|
3644
|
+
}
|
|
3645
|
+
]
|
|
3646
|
+
},
|
|
3647
|
+
{
|
|
3648
|
+
"kind": "javascript-module",
|
|
3649
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
3650
|
+
"declarations": [
|
|
3651
|
+
{
|
|
3652
|
+
"kind": "class",
|
|
3653
|
+
"description": "",
|
|
3654
|
+
"name": "AccordionItem",
|
|
3655
|
+
"superclass": {
|
|
3656
|
+
"name": "FASTAccordionItem",
|
|
3657
|
+
"package": "@microsoft/fast-components"
|
|
3658
|
+
},
|
|
3659
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
3660
|
+
"customElement": true,
|
|
3661
|
+
"attributes": [
|
|
3662
|
+
{
|
|
3663
|
+
"name": "heading-level",
|
|
3664
|
+
"type": {
|
|
3665
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
3666
|
+
},
|
|
3667
|
+
"default": "2",
|
|
3668
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
3669
|
+
"fieldName": "headinglevel",
|
|
3670
|
+
"inheritedFrom": {
|
|
3671
|
+
"name": "AccordionItem",
|
|
3672
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3673
|
+
}
|
|
3674
|
+
},
|
|
3675
|
+
{
|
|
3676
|
+
"type": {
|
|
3677
|
+
"text": "boolean"
|
|
3678
|
+
},
|
|
3679
|
+
"default": "false",
|
|
3680
|
+
"description": "Expands or collapses the item.",
|
|
3681
|
+
"fieldName": "expanded",
|
|
3682
|
+
"inheritedFrom": {
|
|
3683
|
+
"name": "AccordionItem",
|
|
3684
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3685
|
+
}
|
|
3686
|
+
},
|
|
3687
|
+
{
|
|
3688
|
+
"name": "id",
|
|
3689
|
+
"type": {
|
|
3690
|
+
"text": "string"
|
|
3691
|
+
},
|
|
3692
|
+
"description": "The item ID",
|
|
3693
|
+
"fieldName": "id",
|
|
3694
|
+
"inheritedFrom": {
|
|
3695
|
+
"name": "AccordionItem",
|
|
3696
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3697
|
+
}
|
|
3698
|
+
}
|
|
3699
|
+
],
|
|
3700
|
+
"members": [
|
|
3701
|
+
{
|
|
3702
|
+
"kind": "field",
|
|
3703
|
+
"name": "headinglevel",
|
|
3704
|
+
"type": {
|
|
3705
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
3706
|
+
},
|
|
3707
|
+
"privacy": "public",
|
|
3708
|
+
"default": "2",
|
|
3709
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
3710
|
+
"inheritedFrom": {
|
|
3711
|
+
"name": "AccordionItem",
|
|
3712
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3713
|
+
}
|
|
3714
|
+
},
|
|
3715
|
+
{
|
|
3716
|
+
"kind": "field",
|
|
3717
|
+
"name": "expanded",
|
|
3718
|
+
"type": {
|
|
3719
|
+
"text": "boolean"
|
|
3720
|
+
},
|
|
3721
|
+
"privacy": "public",
|
|
3722
|
+
"default": "false",
|
|
3723
|
+
"description": "Expands or collapses the item.",
|
|
3724
|
+
"inheritedFrom": {
|
|
3725
|
+
"name": "AccordionItem",
|
|
3726
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3727
|
+
}
|
|
3728
|
+
},
|
|
3729
|
+
{
|
|
3730
|
+
"kind": "field",
|
|
3731
|
+
"name": "id",
|
|
3732
|
+
"type": {
|
|
3733
|
+
"text": "string"
|
|
3734
|
+
},
|
|
3735
|
+
"privacy": "public",
|
|
3736
|
+
"description": "The item ID",
|
|
3737
|
+
"inheritedFrom": {
|
|
3738
|
+
"name": "AccordionItem",
|
|
3739
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3740
|
+
}
|
|
3741
|
+
},
|
|
3742
|
+
{
|
|
3743
|
+
"kind": "field",
|
|
3744
|
+
"name": "change",
|
|
3745
|
+
"privacy": "private",
|
|
3746
|
+
"inheritedFrom": {
|
|
3747
|
+
"name": "AccordionItem",
|
|
3748
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3749
|
+
}
|
|
3750
|
+
},
|
|
3751
|
+
{
|
|
3752
|
+
"kind": "field",
|
|
3753
|
+
"name": "_presentation",
|
|
3754
|
+
"type": {
|
|
3755
|
+
"text": "ComponentPresentation | null | undefined"
|
|
3756
|
+
},
|
|
3757
|
+
"privacy": "private",
|
|
3758
|
+
"default": "void 0",
|
|
3759
|
+
"inheritedFrom": {
|
|
3760
|
+
"name": "FoundationElement",
|
|
3761
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
3762
|
+
}
|
|
3763
|
+
},
|
|
3764
|
+
{
|
|
3765
|
+
"kind": "field",
|
|
3766
|
+
"name": "$presentation",
|
|
3767
|
+
"type": {
|
|
3768
|
+
"text": "ComponentPresentation | null"
|
|
3769
|
+
},
|
|
3770
|
+
"privacy": "public",
|
|
3771
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
3772
|
+
"inheritedFrom": {
|
|
3773
|
+
"name": "FoundationElement",
|
|
3774
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
3775
|
+
}
|
|
3776
|
+
},
|
|
3777
|
+
{
|
|
3778
|
+
"kind": "field",
|
|
3779
|
+
"name": "template",
|
|
3780
|
+
"type": {
|
|
3781
|
+
"text": "ElementViewTemplate | void | null"
|
|
3782
|
+
},
|
|
3783
|
+
"privacy": "public",
|
|
3784
|
+
"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.",
|
|
3785
|
+
"inheritedFrom": {
|
|
3786
|
+
"name": "FoundationElement",
|
|
3787
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
3788
|
+
}
|
|
3789
|
+
},
|
|
3790
|
+
{
|
|
3791
|
+
"kind": "method",
|
|
3792
|
+
"name": "templateChanged",
|
|
3793
|
+
"privacy": "protected",
|
|
3794
|
+
"return": {
|
|
3795
|
+
"type": {
|
|
3796
|
+
"text": "void"
|
|
3797
|
+
}
|
|
3798
|
+
},
|
|
3799
|
+
"inheritedFrom": {
|
|
3800
|
+
"name": "FoundationElement",
|
|
3801
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
3802
|
+
}
|
|
3803
|
+
},
|
|
3804
|
+
{
|
|
3805
|
+
"kind": "field",
|
|
3806
|
+
"name": "styles",
|
|
3807
|
+
"type": {
|
|
3808
|
+
"text": "ElementStyles | void | null"
|
|
3809
|
+
},
|
|
3810
|
+
"privacy": "public",
|
|
3811
|
+
"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.",
|
|
3812
|
+
"inheritedFrom": {
|
|
3813
|
+
"name": "FoundationElement",
|
|
3814
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
3815
|
+
}
|
|
3816
|
+
},
|
|
3817
|
+
{
|
|
3818
|
+
"kind": "method",
|
|
3819
|
+
"name": "stylesChanged",
|
|
3820
|
+
"privacy": "protected",
|
|
3821
|
+
"return": {
|
|
3822
|
+
"type": {
|
|
3823
|
+
"text": "void"
|
|
3824
|
+
}
|
|
3825
|
+
},
|
|
3826
|
+
"inheritedFrom": {
|
|
3827
|
+
"name": "FoundationElement",
|
|
3828
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
3829
|
+
}
|
|
3830
|
+
},
|
|
3831
|
+
{
|
|
3832
|
+
"kind": "method",
|
|
3833
|
+
"name": "compose",
|
|
3834
|
+
"privacy": "public",
|
|
3835
|
+
"static": true,
|
|
3836
|
+
"return": {
|
|
3837
|
+
"type": {
|
|
3838
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
3839
|
+
}
|
|
3840
|
+
},
|
|
3841
|
+
"parameters": [
|
|
3842
|
+
{
|
|
3843
|
+
"name": "this",
|
|
3844
|
+
"type": {
|
|
3845
|
+
"text": "K"
|
|
3846
|
+
}
|
|
3847
|
+
},
|
|
3848
|
+
{
|
|
3849
|
+
"name": "elementDefinition",
|
|
3850
|
+
"type": {
|
|
3851
|
+
"text": "T"
|
|
3852
|
+
},
|
|
3853
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
3854
|
+
}
|
|
3855
|
+
],
|
|
3856
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
3857
|
+
"inheritedFrom": {
|
|
3858
|
+
"name": "FoundationElement",
|
|
3859
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
3860
|
+
}
|
|
3861
|
+
}
|
|
3862
|
+
],
|
|
3863
|
+
"events": [
|
|
3864
|
+
{
|
|
3865
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
3866
|
+
"name": "change",
|
|
3867
|
+
"inheritedFrom": {
|
|
3868
|
+
"name": "AccordionItem",
|
|
3869
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3870
|
+
}
|
|
3871
|
+
}
|
|
3872
|
+
]
|
|
3873
|
+
},
|
|
3874
|
+
{
|
|
3875
|
+
"kind": "variable",
|
|
3876
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
3877
|
+
"type": {
|
|
3878
|
+
"text": "ShadowRootInit"
|
|
3879
|
+
},
|
|
3880
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
3881
|
+
},
|
|
3882
|
+
{
|
|
3883
|
+
"kind": "variable",
|
|
3884
|
+
"name": "defaultAccordionItemConfig",
|
|
3885
|
+
"type": {
|
|
3886
|
+
"text": "object"
|
|
3887
|
+
},
|
|
3888
|
+
"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}"
|
|
3889
|
+
},
|
|
3890
|
+
{
|
|
3891
|
+
"kind": "variable",
|
|
3892
|
+
"name": "foundationAccordionItem",
|
|
3893
|
+
"description": "The Foundation Accordion Item",
|
|
3894
|
+
"privacy": "public"
|
|
3895
|
+
}
|
|
3896
|
+
],
|
|
3897
|
+
"exports": [
|
|
3898
|
+
{
|
|
3899
|
+
"kind": "js",
|
|
3900
|
+
"name": "AccordionItem",
|
|
3901
|
+
"declaration": {
|
|
3902
|
+
"name": "AccordionItem",
|
|
3903
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3904
|
+
}
|
|
3905
|
+
},
|
|
3906
|
+
{
|
|
3907
|
+
"kind": "js",
|
|
3908
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
3909
|
+
"declaration": {
|
|
3910
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
3911
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3912
|
+
}
|
|
3913
|
+
},
|
|
3914
|
+
{
|
|
3915
|
+
"kind": "js",
|
|
3916
|
+
"name": "defaultAccordionItemConfig",
|
|
3917
|
+
"declaration": {
|
|
3918
|
+
"name": "defaultAccordionItemConfig",
|
|
3919
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3920
|
+
}
|
|
3921
|
+
},
|
|
3922
|
+
{
|
|
3923
|
+
"kind": "js",
|
|
3924
|
+
"name": "foundationAccordionItem",
|
|
3925
|
+
"declaration": {
|
|
3926
|
+
"name": "foundationAccordionItem",
|
|
3927
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3928
|
+
}
|
|
3929
|
+
}
|
|
3930
|
+
]
|
|
3931
|
+
},
|
|
3932
|
+
{
|
|
3933
|
+
"kind": "javascript-module",
|
|
3934
|
+
"path": "src/accordion-item/index.ts",
|
|
3935
|
+
"declarations": [],
|
|
3936
|
+
"exports": [
|
|
3937
|
+
{
|
|
3938
|
+
"kind": "js",
|
|
3939
|
+
"name": "*",
|
|
3940
|
+
"declaration": {
|
|
3941
|
+
"name": "*",
|
|
3942
|
+
"package": "./accordion-item.template"
|
|
3943
|
+
}
|
|
3944
|
+
},
|
|
3945
|
+
{
|
|
3946
|
+
"kind": "js",
|
|
3947
|
+
"name": "*",
|
|
3948
|
+
"declaration": {
|
|
3949
|
+
"name": "*",
|
|
3950
|
+
"package": "./accordion-item.styles"
|
|
3951
|
+
}
|
|
3952
|
+
},
|
|
3953
|
+
{
|
|
3954
|
+
"kind": "js",
|
|
3955
|
+
"name": "*",
|
|
3956
|
+
"declaration": {
|
|
3957
|
+
"name": "*",
|
|
3958
|
+
"package": "./accordion-item"
|
|
3959
|
+
}
|
|
3960
|
+
}
|
|
3961
|
+
]
|
|
3962
|
+
},
|
|
3963
|
+
{
|
|
3964
|
+
"kind": "javascript-module",
|
|
3965
|
+
"path": "src/_config/index.ts",
|
|
3966
|
+
"declarations": [],
|
|
3967
|
+
"exports": [
|
|
3968
|
+
{
|
|
3969
|
+
"kind": "js",
|
|
3970
|
+
"name": "*",
|
|
3971
|
+
"declaration": {
|
|
3972
|
+
"name": "*",
|
|
3973
|
+
"package": "./styles"
|
|
3974
|
+
}
|
|
3975
|
+
},
|
|
3976
|
+
{
|
|
3977
|
+
"kind": "js",
|
|
3978
|
+
"name": "*",
|
|
3979
|
+
"declaration": {
|
|
3980
|
+
"name": "*",
|
|
3981
|
+
"package": "./tokens"
|
|
3982
|
+
}
|
|
3983
|
+
},
|
|
3984
|
+
{
|
|
3985
|
+
"kind": "js",
|
|
3986
|
+
"name": "*",
|
|
3987
|
+
"declaration": {
|
|
3988
|
+
"name": "*",
|
|
3989
|
+
"package": "./values"
|
|
3990
|
+
}
|
|
3991
|
+
}
|
|
3992
|
+
]
|
|
3993
|
+
},
|
|
3994
3994
|
{
|
|
3995
3995
|
"kind": "javascript-module",
|
|
3996
3996
|
"path": "src/anchor/anchor.styles.ts",
|
|
@@ -59965,6 +59965,197 @@
|
|
|
59965
59965
|
}
|
|
59966
59966
|
]
|
|
59967
59967
|
},
|
|
59968
|
+
{
|
|
59969
|
+
"kind": "javascript-module",
|
|
59970
|
+
"path": "src/ai-criteria-search/validation/criteria-ir.ts",
|
|
59971
|
+
"declarations": [],
|
|
59972
|
+
"exports": []
|
|
59973
|
+
},
|
|
59974
|
+
{
|
|
59975
|
+
"kind": "javascript-module",
|
|
59976
|
+
"path": "src/ai-criteria-search/validation/operator-map.ts",
|
|
59977
|
+
"declarations": [
|
|
59978
|
+
{
|
|
59979
|
+
"kind": "function",
|
|
59980
|
+
"name": "groupsToCriteria",
|
|
59981
|
+
"return": {
|
|
59982
|
+
"type": {
|
|
59983
|
+
"text": "string"
|
|
59984
|
+
}
|
|
59985
|
+
},
|
|
59986
|
+
"parameters": [
|
|
59987
|
+
{
|
|
59988
|
+
"name": "groups",
|
|
59989
|
+
"type": {
|
|
59990
|
+
"text": "CriteriaGroup[]"
|
|
59991
|
+
}
|
|
59992
|
+
}
|
|
59993
|
+
],
|
|
59994
|
+
"description": "Converts validated CriteriaGroup[] to a Groovy criteria string using CriteriaBuilder.\nGroups are AND-ed at top level. Within each group, clauses use group.logic (and/or).\nIf group.negated is true, the group's combined expression is wrapped in NOT."
|
|
59995
|
+
},
|
|
59996
|
+
{
|
|
59997
|
+
"kind": "variable",
|
|
59998
|
+
"name": "STRING_OPERATORS",
|
|
59999
|
+
"type": {
|
|
60000
|
+
"text": "CriteriaOperator[]"
|
|
60001
|
+
},
|
|
60002
|
+
"default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
|
|
60003
|
+
},
|
|
60004
|
+
{
|
|
60005
|
+
"kind": "variable",
|
|
60006
|
+
"name": "NUMERIC_OPERATORS",
|
|
60007
|
+
"type": {
|
|
60008
|
+
"text": "CriteriaOperator[]"
|
|
60009
|
+
},
|
|
60010
|
+
"default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
|
|
60011
|
+
},
|
|
60012
|
+
{
|
|
60013
|
+
"kind": "variable",
|
|
60014
|
+
"name": "DATE_OPERATORS",
|
|
60015
|
+
"type": {
|
|
60016
|
+
"text": "CriteriaOperator[]"
|
|
60017
|
+
},
|
|
60018
|
+
"default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
|
|
60019
|
+
},
|
|
60020
|
+
{
|
|
60021
|
+
"kind": "variable",
|
|
60022
|
+
"name": "DATETIME_OPERATORS",
|
|
60023
|
+
"type": {
|
|
60024
|
+
"text": "CriteriaOperator[]"
|
|
60025
|
+
},
|
|
60026
|
+
"default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
|
|
60027
|
+
},
|
|
60028
|
+
{
|
|
60029
|
+
"kind": "variable",
|
|
60030
|
+
"name": "OPERATOR_DISPLAY_LABEL",
|
|
60031
|
+
"type": {
|
|
60032
|
+
"text": "Record<CriteriaOperator, string>"
|
|
60033
|
+
},
|
|
60034
|
+
"default": "{\n contains: 'contains',\n equals: '=',\n startsWith: 'starts with',\n endsWith: 'ends with',\n notEqual: '≠',\n greaterThan: '>',\n lessThan: '<',\n greaterThanOrEqual: '≥',\n lessThanOrEqual: '≤',\n dateIsToday: 'is today',\n dateIsAfter: 'after',\n dateIsBefore: 'before',\n dateIsEqual: '=',\n dateIsGreaterEqual: '≥',\n dateIsLessEqual: '≤',\n dateTimeIsAfter: 'after',\n dateTimeIsBefore: 'before',\n dateTimeIsGreaterEqual: '≥',\n dateTimeIsLessEqual: '≤',\n}"
|
|
60035
|
+
}
|
|
60036
|
+
],
|
|
60037
|
+
"exports": [
|
|
60038
|
+
{
|
|
60039
|
+
"kind": "js",
|
|
60040
|
+
"name": "groupsToCriteria",
|
|
60041
|
+
"declaration": {
|
|
60042
|
+
"name": "groupsToCriteria",
|
|
60043
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60044
|
+
}
|
|
60045
|
+
},
|
|
60046
|
+
{
|
|
60047
|
+
"kind": "js",
|
|
60048
|
+
"name": "STRING_OPERATORS",
|
|
60049
|
+
"declaration": {
|
|
60050
|
+
"name": "STRING_OPERATORS",
|
|
60051
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60052
|
+
}
|
|
60053
|
+
},
|
|
60054
|
+
{
|
|
60055
|
+
"kind": "js",
|
|
60056
|
+
"name": "NUMERIC_OPERATORS",
|
|
60057
|
+
"declaration": {
|
|
60058
|
+
"name": "NUMERIC_OPERATORS",
|
|
60059
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60060
|
+
}
|
|
60061
|
+
},
|
|
60062
|
+
{
|
|
60063
|
+
"kind": "js",
|
|
60064
|
+
"name": "DATE_OPERATORS",
|
|
60065
|
+
"declaration": {
|
|
60066
|
+
"name": "DATE_OPERATORS",
|
|
60067
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60068
|
+
}
|
|
60069
|
+
},
|
|
60070
|
+
{
|
|
60071
|
+
"kind": "js",
|
|
60072
|
+
"name": "DATETIME_OPERATORS",
|
|
60073
|
+
"declaration": {
|
|
60074
|
+
"name": "DATETIME_OPERATORS",
|
|
60075
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60076
|
+
}
|
|
60077
|
+
},
|
|
60078
|
+
{
|
|
60079
|
+
"kind": "js",
|
|
60080
|
+
"name": "OPERATOR_DISPLAY_LABEL",
|
|
60081
|
+
"declaration": {
|
|
60082
|
+
"name": "OPERATOR_DISPLAY_LABEL",
|
|
60083
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60084
|
+
}
|
|
60085
|
+
}
|
|
60086
|
+
]
|
|
60087
|
+
},
|
|
60088
|
+
{
|
|
60089
|
+
"kind": "javascript-module",
|
|
60090
|
+
"path": "src/ai-criteria-search/validation/schema-validator.ts",
|
|
60091
|
+
"declarations": [
|
|
60092
|
+
{
|
|
60093
|
+
"kind": "function",
|
|
60094
|
+
"name": "validateClauses",
|
|
60095
|
+
"return": {
|
|
60096
|
+
"type": {
|
|
60097
|
+
"text": "ValidationResult"
|
|
60098
|
+
}
|
|
60099
|
+
},
|
|
60100
|
+
"parameters": [
|
|
60101
|
+
{
|
|
60102
|
+
"name": "clauses",
|
|
60103
|
+
"type": {
|
|
60104
|
+
"text": "CriteriaClause[]"
|
|
60105
|
+
}
|
|
60106
|
+
},
|
|
60107
|
+
{
|
|
60108
|
+
"name": "fieldMetadata",
|
|
60109
|
+
"type": {
|
|
60110
|
+
"text": "MetadataDetail[] | string[]"
|
|
60111
|
+
}
|
|
60112
|
+
}
|
|
60113
|
+
]
|
|
60114
|
+
},
|
|
60115
|
+
{
|
|
60116
|
+
"kind": "function",
|
|
60117
|
+
"name": "validateGroups",
|
|
60118
|
+
"return": {
|
|
60119
|
+
"type": {
|
|
60120
|
+
"text": "GroupsValidationResult"
|
|
60121
|
+
}
|
|
60122
|
+
},
|
|
60123
|
+
"parameters": [
|
|
60124
|
+
{
|
|
60125
|
+
"name": "groups",
|
|
60126
|
+
"type": {
|
|
60127
|
+
"text": "CriteriaGroup[]"
|
|
60128
|
+
}
|
|
60129
|
+
},
|
|
60130
|
+
{
|
|
60131
|
+
"name": "fieldMetadata",
|
|
60132
|
+
"type": {
|
|
60133
|
+
"text": "MetadataDetail[] | string[]"
|
|
60134
|
+
}
|
|
60135
|
+
}
|
|
60136
|
+
],
|
|
60137
|
+
"description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
|
|
60138
|
+
}
|
|
60139
|
+
],
|
|
60140
|
+
"exports": [
|
|
60141
|
+
{
|
|
60142
|
+
"kind": "js",
|
|
60143
|
+
"name": "validateClauses",
|
|
60144
|
+
"declaration": {
|
|
60145
|
+
"name": "validateClauses",
|
|
60146
|
+
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
60147
|
+
}
|
|
60148
|
+
},
|
|
60149
|
+
{
|
|
60150
|
+
"kind": "js",
|
|
60151
|
+
"name": "validateGroups",
|
|
60152
|
+
"declaration": {
|
|
60153
|
+
"name": "validateGroups",
|
|
60154
|
+
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
60155
|
+
}
|
|
60156
|
+
}
|
|
60157
|
+
]
|
|
60158
|
+
},
|
|
59968
60159
|
{
|
|
59969
60160
|
"kind": "javascript-module",
|
|
59970
60161
|
"path": "src/_config/styles/colors.ts",
|
|
@@ -61337,197 +61528,6 @@
|
|
|
61337
61528
|
"declarations": [],
|
|
61338
61529
|
"exports": []
|
|
61339
61530
|
},
|
|
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
61531
|
{
|
|
61532
61532
|
"kind": "javascript-module",
|
|
61533
61533
|
"path": "src/environment-indicator/utils/configure.ts",
|