@genesislcap/foundation-ui 14.481.1-alpha-69af5f8.0 → 14.481.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.
Files changed (2) hide show
  1. package/dist/custom-elements.json +688 -688
  2. package/package.json +19 -19
@@ -932,6 +932,472 @@
932
932
  }
933
933
  ]
934
934
  },
935
+ {
936
+ "kind": "javascript-module",
937
+ "path": "src/_common/affix-mixin.ts",
938
+ "declarations": [
939
+ {
940
+ "kind": "mixin",
941
+ "description": "Mixin that adds prefix/suffix affix support with screen-reader handling to an input field component.\nShared between TextField and NumberField to keep the behaviour consistent and avoid duplication.",
942
+ "name": "AffixMixin",
943
+ "members": [
944
+ {
945
+ "kind": "field",
946
+ "name": "prefix",
947
+ "type": {
948
+ "text": "string"
949
+ },
950
+ "description": "Optional non-editable label shown on the left inside the field, before the input."
951
+ },
952
+ {
953
+ "kind": "field",
954
+ "name": "suffix",
955
+ "type": {
956
+ "text": "string"
957
+ },
958
+ "description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
959
+ },
960
+ {
961
+ "kind": "field",
962
+ "name": "hideAffixFromScreenReader",
963
+ "type": {
964
+ "text": "boolean"
965
+ },
966
+ "default": "false",
967
+ "description": "When true, prefix/suffix are not exposed to assistive technology (`aria-hidden` on affixes,\nand their ids are omitted from the control's `aria-describedby`).\nUse only when the unit or symbol is redundant with the visible label or other text."
968
+ }
969
+ ],
970
+ "parameters": [
971
+ {
972
+ "name": "Base",
973
+ "type": {
974
+ "text": "TBase"
975
+ }
976
+ }
977
+ ]
978
+ }
979
+ ],
980
+ "exports": [
981
+ {
982
+ "kind": "js",
983
+ "name": "AffixMixin",
984
+ "declaration": {
985
+ "name": "AffixMixin",
986
+ "module": "src/_common/affix-mixin.ts"
987
+ }
988
+ }
989
+ ]
990
+ },
991
+ {
992
+ "kind": "javascript-module",
993
+ "path": "src/_common/base-file-component.ts",
994
+ "declarations": [
995
+ {
996
+ "kind": "class",
997
+ "description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
998
+ "name": "BaseFileComponent",
999
+ "members": [
1000
+ {
1001
+ "kind": "field",
1002
+ "name": "fileInput",
1003
+ "type": {
1004
+ "text": "HTMLInputElement"
1005
+ },
1006
+ "privacy": "public"
1007
+ },
1008
+ {
1009
+ "kind": "field",
1010
+ "name": "selectedFile",
1011
+ "type": {
1012
+ "text": "File | null"
1013
+ },
1014
+ "privacy": "protected",
1015
+ "default": "null"
1016
+ },
1017
+ {
1018
+ "kind": "field",
1019
+ "name": "label",
1020
+ "type": {
1021
+ "text": "string"
1022
+ }
1023
+ },
1024
+ {
1025
+ "kind": "field",
1026
+ "name": "accept",
1027
+ "type": {
1028
+ "text": "string"
1029
+ },
1030
+ "default": "''"
1031
+ },
1032
+ {
1033
+ "kind": "field",
1034
+ "name": "fileSizeLimitBytes",
1035
+ "default": "10_485_760",
1036
+ "type": {
1037
+ "text": "number"
1038
+ }
1039
+ },
1040
+ {
1041
+ "kind": "field",
1042
+ "name": "fileName",
1043
+ "type": {
1044
+ "text": "string"
1045
+ },
1046
+ "default": "''"
1047
+ },
1048
+ {
1049
+ "kind": "field",
1050
+ "name": "isProcessing",
1051
+ "type": {
1052
+ "text": "boolean"
1053
+ },
1054
+ "default": "false"
1055
+ },
1056
+ {
1057
+ "kind": "method",
1058
+ "name": "handleClick",
1059
+ "privacy": "public",
1060
+ "description": "Opens the file picker dialog\nClears any previous file selection before opening"
1061
+ },
1062
+ {
1063
+ "kind": "method",
1064
+ "name": "onInputChange",
1065
+ "privacy": "public",
1066
+ "parameters": [
1067
+ {
1068
+ "name": "e",
1069
+ "type": {
1070
+ "text": "Event"
1071
+ },
1072
+ "description": "The change event from the file input"
1073
+ }
1074
+ ],
1075
+ "description": "Handles file selection from the file input\nValidates file size and sets up for processing"
1076
+ },
1077
+ {
1078
+ "kind": "method",
1079
+ "name": "clearSelection",
1080
+ "privacy": "public",
1081
+ "description": "Clears all file selection and processing state\nResets the component to its initial state"
1082
+ },
1083
+ {
1084
+ "kind": "method",
1085
+ "name": "getSelectedFile",
1086
+ "privacy": "public",
1087
+ "description": "Gets the currently selected file object",
1088
+ "return": {
1089
+ "type": {
1090
+ "text": ""
1091
+ }
1092
+ }
1093
+ },
1094
+ {
1095
+ "kind": "method",
1096
+ "name": "showError",
1097
+ "privacy": "protected",
1098
+ "parameters": [
1099
+ {
1100
+ "name": "title",
1101
+ "type": {
1102
+ "text": "string"
1103
+ },
1104
+ "description": "The error title"
1105
+ },
1106
+ {
1107
+ "name": "message",
1108
+ "type": {
1109
+ "text": "string"
1110
+ },
1111
+ "description": "The error message"
1112
+ }
1113
+ ],
1114
+ "description": "Shows an error notification using the unified error handling system"
1115
+ },
1116
+ {
1117
+ "kind": "method",
1118
+ "name": "onFileSelected",
1119
+ "privacy": "protected",
1120
+ "return": {
1121
+ "type": {
1122
+ "text": "void"
1123
+ }
1124
+ },
1125
+ "parameters": [
1126
+ {
1127
+ "name": "files",
1128
+ "type": {
1129
+ "text": "File[]"
1130
+ },
1131
+ "description": "The selected file"
1132
+ }
1133
+ ],
1134
+ "description": "Abstract method called when a file is selected"
1135
+ },
1136
+ {
1137
+ "kind": "method",
1138
+ "name": "onFileCleared",
1139
+ "privacy": "protected",
1140
+ "return": {
1141
+ "type": {
1142
+ "text": "void"
1143
+ }
1144
+ },
1145
+ "description": "Abstract method called when file selection is cleared"
1146
+ },
1147
+ {
1148
+ "kind": "field",
1149
+ "name": "_presentation",
1150
+ "type": {
1151
+ "text": "ComponentPresentation | null | undefined"
1152
+ },
1153
+ "privacy": "private",
1154
+ "default": "void 0",
1155
+ "inheritedFrom": {
1156
+ "name": "FoundationElement",
1157
+ "module": "src/foundation-element/foundation-element.ts"
1158
+ }
1159
+ },
1160
+ {
1161
+ "kind": "field",
1162
+ "name": "$presentation",
1163
+ "type": {
1164
+ "text": "ComponentPresentation | null"
1165
+ },
1166
+ "privacy": "public",
1167
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1168
+ "inheritedFrom": {
1169
+ "name": "FoundationElement",
1170
+ "module": "src/foundation-element/foundation-element.ts"
1171
+ }
1172
+ },
1173
+ {
1174
+ "kind": "field",
1175
+ "name": "template",
1176
+ "type": {
1177
+ "text": "ElementViewTemplate | void | null"
1178
+ },
1179
+ "privacy": "public",
1180
+ "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.",
1181
+ "inheritedFrom": {
1182
+ "name": "FoundationElement",
1183
+ "module": "src/foundation-element/foundation-element.ts"
1184
+ }
1185
+ },
1186
+ {
1187
+ "kind": "method",
1188
+ "name": "templateChanged",
1189
+ "privacy": "protected",
1190
+ "return": {
1191
+ "type": {
1192
+ "text": "void"
1193
+ }
1194
+ },
1195
+ "inheritedFrom": {
1196
+ "name": "FoundationElement",
1197
+ "module": "src/foundation-element/foundation-element.ts"
1198
+ }
1199
+ },
1200
+ {
1201
+ "kind": "field",
1202
+ "name": "styles",
1203
+ "type": {
1204
+ "text": "ElementStyles | void | null"
1205
+ },
1206
+ "privacy": "public",
1207
+ "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.",
1208
+ "inheritedFrom": {
1209
+ "name": "FoundationElement",
1210
+ "module": "src/foundation-element/foundation-element.ts"
1211
+ }
1212
+ },
1213
+ {
1214
+ "kind": "method",
1215
+ "name": "stylesChanged",
1216
+ "privacy": "protected",
1217
+ "return": {
1218
+ "type": {
1219
+ "text": "void"
1220
+ }
1221
+ },
1222
+ "inheritedFrom": {
1223
+ "name": "FoundationElement",
1224
+ "module": "src/foundation-element/foundation-element.ts"
1225
+ }
1226
+ },
1227
+ {
1228
+ "kind": "method",
1229
+ "name": "compose",
1230
+ "privacy": "public",
1231
+ "static": true,
1232
+ "return": {
1233
+ "type": {
1234
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1235
+ }
1236
+ },
1237
+ "parameters": [
1238
+ {
1239
+ "name": "this",
1240
+ "type": {
1241
+ "text": "K"
1242
+ }
1243
+ },
1244
+ {
1245
+ "name": "elementDefinition",
1246
+ "type": {
1247
+ "text": "T"
1248
+ },
1249
+ "description": "The definition of the element to create the registry\nfunction for."
1250
+ }
1251
+ ],
1252
+ "description": "Defines an element registry function with a set of element definition defaults.",
1253
+ "inheritedFrom": {
1254
+ "name": "FoundationElement",
1255
+ "module": "src/foundation-element/foundation-element.ts"
1256
+ }
1257
+ }
1258
+ ],
1259
+ "events": [
1260
+ {
1261
+ "description": "Fired when file size validation fails",
1262
+ "name": "error"
1263
+ },
1264
+ {
1265
+ "description": "Fired when selection is cleared",
1266
+ "name": "clear"
1267
+ }
1268
+ ],
1269
+ "attributes": [
1270
+ {
1271
+ "name": "label",
1272
+ "type": {
1273
+ "text": "string"
1274
+ },
1275
+ "fieldName": "label"
1276
+ },
1277
+ {
1278
+ "name": "accept",
1279
+ "type": {
1280
+ "text": "string"
1281
+ },
1282
+ "default": "''",
1283
+ "fieldName": "accept"
1284
+ },
1285
+ {
1286
+ "name": "file-size-limit-bytes",
1287
+ "default": "DEFAULT_FILE_SIZE_LIMIT",
1288
+ "resolveInitializer": {
1289
+ "module": "src/_common/base-file-component.ts"
1290
+ },
1291
+ "fieldName": "fileSizeLimitBytes"
1292
+ }
1293
+ ],
1294
+ "superclass": {
1295
+ "name": "FoundationElement",
1296
+ "package": "@microsoft/fast-foundation"
1297
+ }
1298
+ }
1299
+ ],
1300
+ "exports": [
1301
+ {
1302
+ "kind": "js",
1303
+ "name": "BaseFileComponent",
1304
+ "declaration": {
1305
+ "name": "BaseFileComponent",
1306
+ "module": "src/_common/base-file-component.ts"
1307
+ }
1308
+ }
1309
+ ]
1310
+ },
1311
+ {
1312
+ "kind": "javascript-module",
1313
+ "path": "src/_common/field-styles.ts",
1314
+ "declarations": [
1315
+ {
1316
+ "kind": "variable",
1317
+ "name": "sharedFieldStyles",
1318
+ "default": "css`\n .label-hidden {\n margin: 0;\n }\n\n .control-field {\n display: flex;\n flex: 1 1 0%;\n min-width: 0;\n align-self: stretch;\n align-items: stretch;\n }\n\n .control-field .control {\n flex: 1 1 auto;\n min-width: 0;\n width: auto;\n }\n\n .prefix,\n .suffix {\n display: flex;\n align-items: center;\n flex-shrink: 0;\n box-sizing: border-box;\n padding: 0 calc(var(--design-unit) * 2px);\n user-select: none;\n white-space: nowrap;\n background-color: var(--neutral-fill-rest);\n color: var(--neutral-foreground-hint);\n font-size: var(--type-ramp-base-font-size);\n font-family: inherit;\n line-height: 1;\n }\n\n .prefix {\n border-right: 1px solid var(--neutral-stroke-divider-rest);\n border-radius: calc(var(--control-corner-radius) * 1px) 0 0\n calc(var(--control-corner-radius) * 1px);\n }\n\n .suffix {\n border-left: 1px solid var(--neutral-stroke-divider-rest);\n border-radius: 0 calc(var(--control-corner-radius) * 1px)\n calc(var(--control-corner-radius) * 1px) 0;\n }\n\n :host(.has-prefix:not(.has-suffix)) .control-field .control {\n border-radius: 0 calc(var(--control-corner-radius) * 1px)\n calc(var(--control-corner-radius) * 1px) 0;\n }\n\n :host(.has-suffix:not(.has-prefix)) .control-field .control {\n border-radius: calc(var(--control-corner-radius) * 1px) 0 0\n calc(var(--control-corner-radius) * 1px);\n }\n\n :host(.has-prefix.has-suffix) .control-field .control {\n border-radius: 0;\n }\n`"
1319
+ }
1320
+ ],
1321
+ "exports": [
1322
+ {
1323
+ "kind": "js",
1324
+ "name": "sharedFieldStyles",
1325
+ "declaration": {
1326
+ "name": "sharedFieldStyles",
1327
+ "module": "src/_common/field-styles.ts"
1328
+ }
1329
+ }
1330
+ ]
1331
+ },
1332
+ {
1333
+ "kind": "javascript-module",
1334
+ "path": "src/_common/icons.ts",
1335
+ "declarations": [
1336
+ {
1337
+ "kind": "function",
1338
+ "name": "closeIcon",
1339
+ "parameters": [
1340
+ {
1341
+ "name": "slot",
1342
+ "default": "'start'"
1343
+ },
1344
+ {
1345
+ "name": "fill",
1346
+ "default": "'#879ba6'"
1347
+ }
1348
+ ]
1349
+ }
1350
+ ],
1351
+ "exports": [
1352
+ {
1353
+ "kind": "js",
1354
+ "name": "closeIcon",
1355
+ "declaration": {
1356
+ "name": "closeIcon",
1357
+ "module": "src/_common/icons.ts"
1358
+ }
1359
+ }
1360
+ ]
1361
+ },
1362
+ {
1363
+ "kind": "javascript-module",
1364
+ "path": "src/_common/index.ts",
1365
+ "declarations": [],
1366
+ "exports": [
1367
+ {
1368
+ "kind": "js",
1369
+ "name": "*",
1370
+ "declaration": {
1371
+ "name": "*",
1372
+ "package": "./affix-mixin"
1373
+ }
1374
+ },
1375
+ {
1376
+ "kind": "js",
1377
+ "name": "*",
1378
+ "declaration": {
1379
+ "name": "*",
1380
+ "package": "./base-file-component"
1381
+ }
1382
+ },
1383
+ {
1384
+ "kind": "js",
1385
+ "name": "*",
1386
+ "declaration": {
1387
+ "name": "*",
1388
+ "package": "./field-styles"
1389
+ }
1390
+ },
1391
+ {
1392
+ "kind": "js",
1393
+ "name": "*",
1394
+ "declaration": {
1395
+ "name": "*",
1396
+ "package": "./icons"
1397
+ }
1398
+ }
1399
+ ]
1400
+ },
935
1401
  {
936
1402
  "kind": "javascript-module",
937
1403
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -1326,6 +1792,37 @@
1326
1792
  }
1327
1793
  ]
1328
1794
  },
1795
+ {
1796
+ "kind": "javascript-module",
1797
+ "path": "src/_config/index.ts",
1798
+ "declarations": [],
1799
+ "exports": [
1800
+ {
1801
+ "kind": "js",
1802
+ "name": "*",
1803
+ "declaration": {
1804
+ "name": "*",
1805
+ "package": "./styles"
1806
+ }
1807
+ },
1808
+ {
1809
+ "kind": "js",
1810
+ "name": "*",
1811
+ "declaration": {
1812
+ "name": "*",
1813
+ "package": "./tokens"
1814
+ }
1815
+ },
1816
+ {
1817
+ "kind": "js",
1818
+ "name": "*",
1819
+ "declaration": {
1820
+ "name": "*",
1821
+ "package": "./values"
1822
+ }
1823
+ }
1824
+ ]
1825
+ },
1329
1826
  {
1330
1827
  "kind": "javascript-module",
1331
1828
  "path": "src/actions-menu/actions-menu.styles.ts",
@@ -2943,503 +3440,6 @@
2943
3440
  }
2944
3441
  ]
2945
3442
  },
2946
- {
2947
- "kind": "javascript-module",
2948
- "path": "src/_common/affix-mixin.ts",
2949
- "declarations": [
2950
- {
2951
- "kind": "mixin",
2952
- "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.",
2953
- "name": "AffixMixin",
2954
- "members": [
2955
- {
2956
- "kind": "field",
2957
- "name": "prefix",
2958
- "type": {
2959
- "text": "string"
2960
- },
2961
- "description": "Optional non-editable label shown on the left inside the field, before the input."
2962
- },
2963
- {
2964
- "kind": "field",
2965
- "name": "suffix",
2966
- "type": {
2967
- "text": "string"
2968
- },
2969
- "description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
2970
- },
2971
- {
2972
- "kind": "field",
2973
- "name": "hideAffixFromScreenReader",
2974
- "type": {
2975
- "text": "boolean"
2976
- },
2977
- "default": "false",
2978
- "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."
2979
- }
2980
- ],
2981
- "parameters": [
2982
- {
2983
- "name": "Base",
2984
- "type": {
2985
- "text": "TBase"
2986
- }
2987
- }
2988
- ]
2989
- }
2990
- ],
2991
- "exports": [
2992
- {
2993
- "kind": "js",
2994
- "name": "AffixMixin",
2995
- "declaration": {
2996
- "name": "AffixMixin",
2997
- "module": "src/_common/affix-mixin.ts"
2998
- }
2999
- }
3000
- ]
3001
- },
3002
- {
3003
- "kind": "javascript-module",
3004
- "path": "src/_common/base-file-component.ts",
3005
- "declarations": [
3006
- {
3007
- "kind": "class",
3008
- "description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
3009
- "name": "BaseFileComponent",
3010
- "members": [
3011
- {
3012
- "kind": "field",
3013
- "name": "fileInput",
3014
- "type": {
3015
- "text": "HTMLInputElement"
3016
- },
3017
- "privacy": "public"
3018
- },
3019
- {
3020
- "kind": "field",
3021
- "name": "selectedFile",
3022
- "type": {
3023
- "text": "File | null"
3024
- },
3025
- "privacy": "protected",
3026
- "default": "null"
3027
- },
3028
- {
3029
- "kind": "field",
3030
- "name": "label",
3031
- "type": {
3032
- "text": "string"
3033
- }
3034
- },
3035
- {
3036
- "kind": "field",
3037
- "name": "accept",
3038
- "type": {
3039
- "text": "string"
3040
- },
3041
- "default": "''"
3042
- },
3043
- {
3044
- "kind": "field",
3045
- "name": "fileSizeLimitBytes",
3046
- "default": "10_485_760",
3047
- "type": {
3048
- "text": "number"
3049
- }
3050
- },
3051
- {
3052
- "kind": "field",
3053
- "name": "fileName",
3054
- "type": {
3055
- "text": "string"
3056
- },
3057
- "default": "''"
3058
- },
3059
- {
3060
- "kind": "field",
3061
- "name": "isProcessing",
3062
- "type": {
3063
- "text": "boolean"
3064
- },
3065
- "default": "false"
3066
- },
3067
- {
3068
- "kind": "method",
3069
- "name": "handleClick",
3070
- "privacy": "public",
3071
- "description": "Opens the file picker dialog\nClears any previous file selection before opening"
3072
- },
3073
- {
3074
- "kind": "method",
3075
- "name": "onInputChange",
3076
- "privacy": "public",
3077
- "parameters": [
3078
- {
3079
- "name": "e",
3080
- "type": {
3081
- "text": "Event"
3082
- },
3083
- "description": "The change event from the file input"
3084
- }
3085
- ],
3086
- "description": "Handles file selection from the file input\nValidates file size and sets up for processing"
3087
- },
3088
- {
3089
- "kind": "method",
3090
- "name": "clearSelection",
3091
- "privacy": "public",
3092
- "description": "Clears all file selection and processing state\nResets the component to its initial state"
3093
- },
3094
- {
3095
- "kind": "method",
3096
- "name": "getSelectedFile",
3097
- "privacy": "public",
3098
- "description": "Gets the currently selected file object",
3099
- "return": {
3100
- "type": {
3101
- "text": ""
3102
- }
3103
- }
3104
- },
3105
- {
3106
- "kind": "method",
3107
- "name": "showError",
3108
- "privacy": "protected",
3109
- "parameters": [
3110
- {
3111
- "name": "title",
3112
- "type": {
3113
- "text": "string"
3114
- },
3115
- "description": "The error title"
3116
- },
3117
- {
3118
- "name": "message",
3119
- "type": {
3120
- "text": "string"
3121
- },
3122
- "description": "The error message"
3123
- }
3124
- ],
3125
- "description": "Shows an error notification using the unified error handling system"
3126
- },
3127
- {
3128
- "kind": "method",
3129
- "name": "onFileSelected",
3130
- "privacy": "protected",
3131
- "return": {
3132
- "type": {
3133
- "text": "void"
3134
- }
3135
- },
3136
- "parameters": [
3137
- {
3138
- "name": "files",
3139
- "type": {
3140
- "text": "File[]"
3141
- },
3142
- "description": "The selected file"
3143
- }
3144
- ],
3145
- "description": "Abstract method called when a file is selected"
3146
- },
3147
- {
3148
- "kind": "method",
3149
- "name": "onFileCleared",
3150
- "privacy": "protected",
3151
- "return": {
3152
- "type": {
3153
- "text": "void"
3154
- }
3155
- },
3156
- "description": "Abstract method called when file selection is cleared"
3157
- },
3158
- {
3159
- "kind": "field",
3160
- "name": "_presentation",
3161
- "type": {
3162
- "text": "ComponentPresentation | null | undefined"
3163
- },
3164
- "privacy": "private",
3165
- "default": "void 0",
3166
- "inheritedFrom": {
3167
- "name": "FoundationElement",
3168
- "module": "src/foundation-element/foundation-element.ts"
3169
- }
3170
- },
3171
- {
3172
- "kind": "field",
3173
- "name": "$presentation",
3174
- "type": {
3175
- "text": "ComponentPresentation | null"
3176
- },
3177
- "privacy": "public",
3178
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3179
- "inheritedFrom": {
3180
- "name": "FoundationElement",
3181
- "module": "src/foundation-element/foundation-element.ts"
3182
- }
3183
- },
3184
- {
3185
- "kind": "field",
3186
- "name": "template",
3187
- "type": {
3188
- "text": "ElementViewTemplate | void | null"
3189
- },
3190
- "privacy": "public",
3191
- "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.",
3192
- "inheritedFrom": {
3193
- "name": "FoundationElement",
3194
- "module": "src/foundation-element/foundation-element.ts"
3195
- }
3196
- },
3197
- {
3198
- "kind": "method",
3199
- "name": "templateChanged",
3200
- "privacy": "protected",
3201
- "return": {
3202
- "type": {
3203
- "text": "void"
3204
- }
3205
- },
3206
- "inheritedFrom": {
3207
- "name": "FoundationElement",
3208
- "module": "src/foundation-element/foundation-element.ts"
3209
- }
3210
- },
3211
- {
3212
- "kind": "field",
3213
- "name": "styles",
3214
- "type": {
3215
- "text": "ElementStyles | void | null"
3216
- },
3217
- "privacy": "public",
3218
- "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.",
3219
- "inheritedFrom": {
3220
- "name": "FoundationElement",
3221
- "module": "src/foundation-element/foundation-element.ts"
3222
- }
3223
- },
3224
- {
3225
- "kind": "method",
3226
- "name": "stylesChanged",
3227
- "privacy": "protected",
3228
- "return": {
3229
- "type": {
3230
- "text": "void"
3231
- }
3232
- },
3233
- "inheritedFrom": {
3234
- "name": "FoundationElement",
3235
- "module": "src/foundation-element/foundation-element.ts"
3236
- }
3237
- },
3238
- {
3239
- "kind": "method",
3240
- "name": "compose",
3241
- "privacy": "public",
3242
- "static": true,
3243
- "return": {
3244
- "type": {
3245
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3246
- }
3247
- },
3248
- "parameters": [
3249
- {
3250
- "name": "this",
3251
- "type": {
3252
- "text": "K"
3253
- }
3254
- },
3255
- {
3256
- "name": "elementDefinition",
3257
- "type": {
3258
- "text": "T"
3259
- },
3260
- "description": "The definition of the element to create the registry\nfunction for."
3261
- }
3262
- ],
3263
- "description": "Defines an element registry function with a set of element definition defaults.",
3264
- "inheritedFrom": {
3265
- "name": "FoundationElement",
3266
- "module": "src/foundation-element/foundation-element.ts"
3267
- }
3268
- }
3269
- ],
3270
- "events": [
3271
- {
3272
- "description": "Fired when file size validation fails",
3273
- "name": "error"
3274
- },
3275
- {
3276
- "description": "Fired when selection is cleared",
3277
- "name": "clear"
3278
- }
3279
- ],
3280
- "attributes": [
3281
- {
3282
- "name": "label",
3283
- "type": {
3284
- "text": "string"
3285
- },
3286
- "fieldName": "label"
3287
- },
3288
- {
3289
- "name": "accept",
3290
- "type": {
3291
- "text": "string"
3292
- },
3293
- "default": "''",
3294
- "fieldName": "accept"
3295
- },
3296
- {
3297
- "name": "file-size-limit-bytes",
3298
- "default": "DEFAULT_FILE_SIZE_LIMIT",
3299
- "resolveInitializer": {
3300
- "module": "src/_common/base-file-component.ts"
3301
- },
3302
- "fieldName": "fileSizeLimitBytes"
3303
- }
3304
- ],
3305
- "superclass": {
3306
- "name": "FoundationElement",
3307
- "package": "@microsoft/fast-foundation"
3308
- }
3309
- }
3310
- ],
3311
- "exports": [
3312
- {
3313
- "kind": "js",
3314
- "name": "BaseFileComponent",
3315
- "declaration": {
3316
- "name": "BaseFileComponent",
3317
- "module": "src/_common/base-file-component.ts"
3318
- }
3319
- }
3320
- ]
3321
- },
3322
- {
3323
- "kind": "javascript-module",
3324
- "path": "src/_common/field-styles.ts",
3325
- "declarations": [
3326
- {
3327
- "kind": "variable",
3328
- "name": "sharedFieldStyles",
3329
- "default": "css`\n .label-hidden {\n margin: 0;\n }\n\n .control-field {\n display: flex;\n flex: 1 1 0%;\n min-width: 0;\n align-self: stretch;\n align-items: stretch;\n }\n\n .control-field .control {\n flex: 1 1 auto;\n min-width: 0;\n width: auto;\n }\n\n .prefix,\n .suffix {\n display: flex;\n align-items: center;\n flex-shrink: 0;\n box-sizing: border-box;\n padding: 0 calc(var(--design-unit) * 2px);\n user-select: none;\n white-space: nowrap;\n background-color: var(--neutral-fill-rest);\n color: var(--neutral-foreground-hint);\n font-size: var(--type-ramp-base-font-size);\n font-family: inherit;\n line-height: 1;\n }\n\n .prefix {\n border-right: 1px solid var(--neutral-stroke-divider-rest);\n border-radius: calc(var(--control-corner-radius) * 1px) 0 0\n calc(var(--control-corner-radius) * 1px);\n }\n\n .suffix {\n border-left: 1px solid var(--neutral-stroke-divider-rest);\n border-radius: 0 calc(var(--control-corner-radius) * 1px)\n calc(var(--control-corner-radius) * 1px) 0;\n }\n\n :host(.has-prefix:not(.has-suffix)) .control-field .control {\n border-radius: 0 calc(var(--control-corner-radius) * 1px)\n calc(var(--control-corner-radius) * 1px) 0;\n }\n\n :host(.has-suffix:not(.has-prefix)) .control-field .control {\n border-radius: calc(var(--control-corner-radius) * 1px) 0 0\n calc(var(--control-corner-radius) * 1px);\n }\n\n :host(.has-prefix.has-suffix) .control-field .control {\n border-radius: 0;\n }\n`"
3330
- }
3331
- ],
3332
- "exports": [
3333
- {
3334
- "kind": "js",
3335
- "name": "sharedFieldStyles",
3336
- "declaration": {
3337
- "name": "sharedFieldStyles",
3338
- "module": "src/_common/field-styles.ts"
3339
- }
3340
- }
3341
- ]
3342
- },
3343
- {
3344
- "kind": "javascript-module",
3345
- "path": "src/_common/icons.ts",
3346
- "declarations": [
3347
- {
3348
- "kind": "function",
3349
- "name": "closeIcon",
3350
- "parameters": [
3351
- {
3352
- "name": "slot",
3353
- "default": "'start'"
3354
- },
3355
- {
3356
- "name": "fill",
3357
- "default": "'#879ba6'"
3358
- }
3359
- ]
3360
- }
3361
- ],
3362
- "exports": [
3363
- {
3364
- "kind": "js",
3365
- "name": "closeIcon",
3366
- "declaration": {
3367
- "name": "closeIcon",
3368
- "module": "src/_common/icons.ts"
3369
- }
3370
- }
3371
- ]
3372
- },
3373
- {
3374
- "kind": "javascript-module",
3375
- "path": "src/_common/index.ts",
3376
- "declarations": [],
3377
- "exports": [
3378
- {
3379
- "kind": "js",
3380
- "name": "*",
3381
- "declaration": {
3382
- "name": "*",
3383
- "package": "./affix-mixin"
3384
- }
3385
- },
3386
- {
3387
- "kind": "js",
3388
- "name": "*",
3389
- "declaration": {
3390
- "name": "*",
3391
- "package": "./base-file-component"
3392
- }
3393
- },
3394
- {
3395
- "kind": "js",
3396
- "name": "*",
3397
- "declaration": {
3398
- "name": "*",
3399
- "package": "./field-styles"
3400
- }
3401
- },
3402
- {
3403
- "kind": "js",
3404
- "name": "*",
3405
- "declaration": {
3406
- "name": "*",
3407
- "package": "./icons"
3408
- }
3409
- }
3410
- ]
3411
- },
3412
- {
3413
- "kind": "javascript-module",
3414
- "path": "src/_config/index.ts",
3415
- "declarations": [],
3416
- "exports": [
3417
- {
3418
- "kind": "js",
3419
- "name": "*",
3420
- "declaration": {
3421
- "name": "*",
3422
- "package": "./styles"
3423
- }
3424
- },
3425
- {
3426
- "kind": "js",
3427
- "name": "*",
3428
- "declaration": {
3429
- "name": "*",
3430
- "package": "./tokens"
3431
- }
3432
- },
3433
- {
3434
- "kind": "js",
3435
- "name": "*",
3436
- "declaration": {
3437
- "name": "*",
3438
- "package": "./values"
3439
- }
3440
- }
3441
- ]
3442
- },
3443
3443
  {
3444
3444
  "kind": "javascript-module",
3445
3445
  "path": "src/accordion/accordion.styles.ts",
@@ -57711,197 +57711,6 @@
57711
57711
  }
57712
57712
  ]
57713
57713
  },
57714
- {
57715
- "kind": "javascript-module",
57716
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
57717
- "declarations": [],
57718
- "exports": []
57719
- },
57720
- {
57721
- "kind": "javascript-module",
57722
- "path": "src/ai-criteria-search/validation/operator-map.ts",
57723
- "declarations": [
57724
- {
57725
- "kind": "function",
57726
- "name": "groupsToCriteria",
57727
- "return": {
57728
- "type": {
57729
- "text": "string"
57730
- }
57731
- },
57732
- "parameters": [
57733
- {
57734
- "name": "groups",
57735
- "type": {
57736
- "text": "CriteriaGroup[]"
57737
- }
57738
- }
57739
- ],
57740
- "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."
57741
- },
57742
- {
57743
- "kind": "variable",
57744
- "name": "STRING_OPERATORS",
57745
- "type": {
57746
- "text": "CriteriaOperator[]"
57747
- },
57748
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
57749
- },
57750
- {
57751
- "kind": "variable",
57752
- "name": "NUMERIC_OPERATORS",
57753
- "type": {
57754
- "text": "CriteriaOperator[]"
57755
- },
57756
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
57757
- },
57758
- {
57759
- "kind": "variable",
57760
- "name": "DATE_OPERATORS",
57761
- "type": {
57762
- "text": "CriteriaOperator[]"
57763
- },
57764
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
57765
- },
57766
- {
57767
- "kind": "variable",
57768
- "name": "DATETIME_OPERATORS",
57769
- "type": {
57770
- "text": "CriteriaOperator[]"
57771
- },
57772
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
57773
- },
57774
- {
57775
- "kind": "variable",
57776
- "name": "OPERATOR_DISPLAY_LABEL",
57777
- "type": {
57778
- "text": "Record<CriteriaOperator, string>"
57779
- },
57780
- "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}"
57781
- }
57782
- ],
57783
- "exports": [
57784
- {
57785
- "kind": "js",
57786
- "name": "groupsToCriteria",
57787
- "declaration": {
57788
- "name": "groupsToCriteria",
57789
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57790
- }
57791
- },
57792
- {
57793
- "kind": "js",
57794
- "name": "STRING_OPERATORS",
57795
- "declaration": {
57796
- "name": "STRING_OPERATORS",
57797
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57798
- }
57799
- },
57800
- {
57801
- "kind": "js",
57802
- "name": "NUMERIC_OPERATORS",
57803
- "declaration": {
57804
- "name": "NUMERIC_OPERATORS",
57805
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57806
- }
57807
- },
57808
- {
57809
- "kind": "js",
57810
- "name": "DATE_OPERATORS",
57811
- "declaration": {
57812
- "name": "DATE_OPERATORS",
57813
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57814
- }
57815
- },
57816
- {
57817
- "kind": "js",
57818
- "name": "DATETIME_OPERATORS",
57819
- "declaration": {
57820
- "name": "DATETIME_OPERATORS",
57821
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57822
- }
57823
- },
57824
- {
57825
- "kind": "js",
57826
- "name": "OPERATOR_DISPLAY_LABEL",
57827
- "declaration": {
57828
- "name": "OPERATOR_DISPLAY_LABEL",
57829
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57830
- }
57831
- }
57832
- ]
57833
- },
57834
- {
57835
- "kind": "javascript-module",
57836
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
57837
- "declarations": [
57838
- {
57839
- "kind": "function",
57840
- "name": "validateClauses",
57841
- "return": {
57842
- "type": {
57843
- "text": "ValidationResult"
57844
- }
57845
- },
57846
- "parameters": [
57847
- {
57848
- "name": "clauses",
57849
- "type": {
57850
- "text": "CriteriaClause[]"
57851
- }
57852
- },
57853
- {
57854
- "name": "fieldMetadata",
57855
- "type": {
57856
- "text": "MetadataDetail[] | string[]"
57857
- }
57858
- }
57859
- ]
57860
- },
57861
- {
57862
- "kind": "function",
57863
- "name": "validateGroups",
57864
- "return": {
57865
- "type": {
57866
- "text": "GroupsValidationResult"
57867
- }
57868
- },
57869
- "parameters": [
57870
- {
57871
- "name": "groups",
57872
- "type": {
57873
- "text": "CriteriaGroup[]"
57874
- }
57875
- },
57876
- {
57877
- "name": "fieldMetadata",
57878
- "type": {
57879
- "text": "MetadataDetail[] | string[]"
57880
- }
57881
- }
57882
- ],
57883
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
57884
- }
57885
- ],
57886
- "exports": [
57887
- {
57888
- "kind": "js",
57889
- "name": "validateClauses",
57890
- "declaration": {
57891
- "name": "validateClauses",
57892
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
57893
- }
57894
- },
57895
- {
57896
- "kind": "js",
57897
- "name": "validateGroups",
57898
- "declaration": {
57899
- "name": "validateGroups",
57900
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
57901
- }
57902
- }
57903
- ]
57904
- },
57905
57714
  {
57906
57715
  "kind": "javascript-module",
57907
57716
  "path": "src/_config/styles/colors.ts",
@@ -59274,6 +59083,197 @@
59274
59083
  "declarations": [],
59275
59084
  "exports": []
59276
59085
  },
59086
+ {
59087
+ "kind": "javascript-module",
59088
+ "path": "src/ai-criteria-search/validation/criteria-ir.ts",
59089
+ "declarations": [],
59090
+ "exports": []
59091
+ },
59092
+ {
59093
+ "kind": "javascript-module",
59094
+ "path": "src/ai-criteria-search/validation/operator-map.ts",
59095
+ "declarations": [
59096
+ {
59097
+ "kind": "function",
59098
+ "name": "groupsToCriteria",
59099
+ "return": {
59100
+ "type": {
59101
+ "text": "string"
59102
+ }
59103
+ },
59104
+ "parameters": [
59105
+ {
59106
+ "name": "groups",
59107
+ "type": {
59108
+ "text": "CriteriaGroup[]"
59109
+ }
59110
+ }
59111
+ ],
59112
+ "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."
59113
+ },
59114
+ {
59115
+ "kind": "variable",
59116
+ "name": "STRING_OPERATORS",
59117
+ "type": {
59118
+ "text": "CriteriaOperator[]"
59119
+ },
59120
+ "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
59121
+ },
59122
+ {
59123
+ "kind": "variable",
59124
+ "name": "NUMERIC_OPERATORS",
59125
+ "type": {
59126
+ "text": "CriteriaOperator[]"
59127
+ },
59128
+ "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
59129
+ },
59130
+ {
59131
+ "kind": "variable",
59132
+ "name": "DATE_OPERATORS",
59133
+ "type": {
59134
+ "text": "CriteriaOperator[]"
59135
+ },
59136
+ "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
59137
+ },
59138
+ {
59139
+ "kind": "variable",
59140
+ "name": "DATETIME_OPERATORS",
59141
+ "type": {
59142
+ "text": "CriteriaOperator[]"
59143
+ },
59144
+ "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
59145
+ },
59146
+ {
59147
+ "kind": "variable",
59148
+ "name": "OPERATOR_DISPLAY_LABEL",
59149
+ "type": {
59150
+ "text": "Record<CriteriaOperator, string>"
59151
+ },
59152
+ "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}"
59153
+ }
59154
+ ],
59155
+ "exports": [
59156
+ {
59157
+ "kind": "js",
59158
+ "name": "groupsToCriteria",
59159
+ "declaration": {
59160
+ "name": "groupsToCriteria",
59161
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
59162
+ }
59163
+ },
59164
+ {
59165
+ "kind": "js",
59166
+ "name": "STRING_OPERATORS",
59167
+ "declaration": {
59168
+ "name": "STRING_OPERATORS",
59169
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
59170
+ }
59171
+ },
59172
+ {
59173
+ "kind": "js",
59174
+ "name": "NUMERIC_OPERATORS",
59175
+ "declaration": {
59176
+ "name": "NUMERIC_OPERATORS",
59177
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
59178
+ }
59179
+ },
59180
+ {
59181
+ "kind": "js",
59182
+ "name": "DATE_OPERATORS",
59183
+ "declaration": {
59184
+ "name": "DATE_OPERATORS",
59185
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
59186
+ }
59187
+ },
59188
+ {
59189
+ "kind": "js",
59190
+ "name": "DATETIME_OPERATORS",
59191
+ "declaration": {
59192
+ "name": "DATETIME_OPERATORS",
59193
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
59194
+ }
59195
+ },
59196
+ {
59197
+ "kind": "js",
59198
+ "name": "OPERATOR_DISPLAY_LABEL",
59199
+ "declaration": {
59200
+ "name": "OPERATOR_DISPLAY_LABEL",
59201
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
59202
+ }
59203
+ }
59204
+ ]
59205
+ },
59206
+ {
59207
+ "kind": "javascript-module",
59208
+ "path": "src/ai-criteria-search/validation/schema-validator.ts",
59209
+ "declarations": [
59210
+ {
59211
+ "kind": "function",
59212
+ "name": "validateClauses",
59213
+ "return": {
59214
+ "type": {
59215
+ "text": "ValidationResult"
59216
+ }
59217
+ },
59218
+ "parameters": [
59219
+ {
59220
+ "name": "clauses",
59221
+ "type": {
59222
+ "text": "CriteriaClause[]"
59223
+ }
59224
+ },
59225
+ {
59226
+ "name": "fieldMetadata",
59227
+ "type": {
59228
+ "text": "MetadataDetail[] | string[]"
59229
+ }
59230
+ }
59231
+ ]
59232
+ },
59233
+ {
59234
+ "kind": "function",
59235
+ "name": "validateGroups",
59236
+ "return": {
59237
+ "type": {
59238
+ "text": "GroupsValidationResult"
59239
+ }
59240
+ },
59241
+ "parameters": [
59242
+ {
59243
+ "name": "groups",
59244
+ "type": {
59245
+ "text": "CriteriaGroup[]"
59246
+ }
59247
+ },
59248
+ {
59249
+ "name": "fieldMetadata",
59250
+ "type": {
59251
+ "text": "MetadataDetail[] | string[]"
59252
+ }
59253
+ }
59254
+ ],
59255
+ "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
59256
+ }
59257
+ ],
59258
+ "exports": [
59259
+ {
59260
+ "kind": "js",
59261
+ "name": "validateClauses",
59262
+ "declaration": {
59263
+ "name": "validateClauses",
59264
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
59265
+ }
59266
+ },
59267
+ {
59268
+ "kind": "js",
59269
+ "name": "validateGroups",
59270
+ "declaration": {
59271
+ "name": "validateGroups",
59272
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
59273
+ }
59274
+ }
59275
+ ]
59276
+ },
59277
59277
  {
59278
59278
  "kind": "javascript-module",
59279
59279
  "path": "src/environment-indicator/utils/configure.ts",