@genesislcap/foundation-utils 14.393.0 → 14.393.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 +306 -306
  2. package/package.json +11 -11
@@ -446,7 +446,7 @@
446
446
  },
447
447
  {
448
448
  "kind": "javascript-module",
449
- "path": "src/directives/index.ts",
449
+ "path": "src/encoding/index.ts",
450
450
  "declarations": [],
451
451
  "exports": [
452
452
  {
@@ -454,22 +454,14 @@
454
454
  "name": "*",
455
455
  "declaration": {
456
456
  "name": "*",
457
- "package": "./sync"
458
- }
459
- },
460
- {
461
- "kind": "js",
462
- "name": "*",
463
- "declaration": {
464
- "name": "*",
465
- "package": "./when-else"
457
+ "package": "./base64"
466
458
  }
467
459
  }
468
460
  ]
469
461
  },
470
462
  {
471
463
  "kind": "javascript-module",
472
- "path": "src/encoding/index.ts",
464
+ "path": "src/directives/index.ts",
473
465
  "declarations": [],
474
466
  "exports": [
475
467
  {
@@ -477,7 +469,15 @@
477
469
  "name": "*",
478
470
  "declaration": {
479
471
  "name": "*",
480
- "package": "./base64"
472
+ "package": "./sync"
473
+ }
474
+ },
475
+ {
476
+ "kind": "js",
477
+ "name": "*",
478
+ "declaration": {
479
+ "name": "*",
480
+ "package": "./when-else"
481
481
  }
482
482
  }
483
483
  ]
@@ -957,126 +957,6 @@
957
957
  }
958
958
  ]
959
959
  },
960
- {
961
- "kind": "javascript-module",
962
- "path": "src/design-system/design-system.ts",
963
- "declarations": [
964
- {
965
- "kind": "function",
966
- "name": "assureDesignSystem",
967
- "return": {
968
- "type": {
969
- "text": "DesignSystemModule"
970
- }
971
- },
972
- "parameters": [
973
- {
974
- "name": "module",
975
- "type": {
976
- "text": "DesignSystemModule"
977
- }
978
- }
979
- ],
980
- "description": "assureDesignSystem.",
981
- "privacy": "public"
982
- },
983
- {
984
- "kind": "function",
985
- "name": "getCurrentDesignSystem",
986
- "return": {
987
- "type": {
988
- "text": ""
989
- }
990
- },
991
- "parameters": [
992
- {
993
- "name": "element",
994
- "type": {
995
- "text": "HTMLElement"
996
- },
997
- "description": "The starting HTML element"
998
- },
999
- {
1000
- "name": "fallbackPrefix",
1001
- "type": {
1002
- "text": "string"
1003
- },
1004
- "description": "The prefix to fallback to if the provider is not available"
1005
- }
1006
- ],
1007
- "description": "Get the current design system provider element and prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
1008
- "privacy": "public"
1009
- },
1010
- {
1011
- "kind": "function",
1012
- "name": "getCurrentDesignSystemPrefix",
1013
- "return": {
1014
- "type": {
1015
- "text": ""
1016
- }
1017
- },
1018
- "parameters": [
1019
- {
1020
- "name": "element",
1021
- "type": {
1022
- "text": "HTMLElement"
1023
- },
1024
- "description": "The starting HTML element"
1025
- },
1026
- {
1027
- "name": "fallbackPrefix",
1028
- "type": {
1029
- "text": "string"
1030
- },
1031
- "description": "The prefix to fallback to if the provider is not available"
1032
- }
1033
- ],
1034
- "description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
1035
- "privacy": "public"
1036
- }
1037
- ],
1038
- "exports": [
1039
- {
1040
- "kind": "js",
1041
- "name": "assureDesignSystem",
1042
- "declaration": {
1043
- "name": "assureDesignSystem",
1044
- "module": "src/design-system/design-system.ts"
1045
- }
1046
- },
1047
- {
1048
- "kind": "js",
1049
- "name": "getCurrentDesignSystem",
1050
- "declaration": {
1051
- "name": "getCurrentDesignSystem",
1052
- "module": "src/design-system/design-system.ts"
1053
- }
1054
- },
1055
- {
1056
- "kind": "js",
1057
- "name": "getCurrentDesignSystemPrefix",
1058
- "declaration": {
1059
- "name": "getCurrentDesignSystemPrefix",
1060
- "module": "src/design-system/design-system.ts"
1061
- }
1062
- }
1063
- ]
1064
- },
1065
- {
1066
- "kind": "javascript-module",
1067
- "path": "src/design-system/index.ts",
1068
- "declarations": [],
1069
- "exports": [
1070
- {
1071
- "kind": "js",
1072
- "name": "*",
1073
- "declaration": {
1074
- "name": "*",
1075
- "package": "./design-system"
1076
- }
1077
- }
1078
- ]
1079
- },
1080
960
  {
1081
961
  "kind": "javascript-module",
1082
962
  "path": "src/error/errorMap.ts",
@@ -1278,40 +1158,112 @@
1278
1158
  },
1279
1159
  {
1280
1160
  "kind": "javascript-module",
1281
- "path": "src/feature-flags/featureFlags.ts",
1161
+ "path": "src/design-system/design-system.ts",
1282
1162
  "declarations": [
1283
1163
  {
1284
1164
  "kind": "function",
1285
- "name": "isFeatureActivated",
1165
+ "name": "assureDesignSystem",
1286
1166
  "return": {
1287
1167
  "type": {
1288
- "text": "boolean"
1168
+ "text": "DesignSystemModule"
1289
1169
  }
1290
1170
  },
1291
1171
  "parameters": [
1292
1172
  {
1293
- "name": "feature",
1173
+ "name": "module",
1294
1174
  "type": {
1295
- "text": "string"
1175
+ "text": "DesignSystemModule"
1296
1176
  }
1297
1177
  }
1298
- ]
1178
+ ],
1179
+ "description": "assureDesignSystem.",
1180
+ "privacy": "public"
1181
+ },
1182
+ {
1183
+ "kind": "function",
1184
+ "name": "getCurrentDesignSystem",
1185
+ "return": {
1186
+ "type": {
1187
+ "text": ""
1188
+ }
1189
+ },
1190
+ "parameters": [
1191
+ {
1192
+ "name": "element",
1193
+ "type": {
1194
+ "text": "HTMLElement"
1195
+ },
1196
+ "description": "The starting HTML element"
1197
+ },
1198
+ {
1199
+ "name": "fallbackPrefix",
1200
+ "type": {
1201
+ "text": "string"
1202
+ },
1203
+ "description": "The prefix to fallback to if the provider is not available"
1204
+ }
1205
+ ],
1206
+ "description": "Get the current design system provider element and prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
1207
+ "privacy": "public"
1208
+ },
1209
+ {
1210
+ "kind": "function",
1211
+ "name": "getCurrentDesignSystemPrefix",
1212
+ "return": {
1213
+ "type": {
1214
+ "text": ""
1215
+ }
1216
+ },
1217
+ "parameters": [
1218
+ {
1219
+ "name": "element",
1220
+ "type": {
1221
+ "text": "HTMLElement"
1222
+ },
1223
+ "description": "The starting HTML element"
1224
+ },
1225
+ {
1226
+ "name": "fallbackPrefix",
1227
+ "type": {
1228
+ "text": "string"
1229
+ },
1230
+ "description": "The prefix to fallback to if the provider is not available"
1231
+ }
1232
+ ],
1233
+ "description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
1234
+ "privacy": "public"
1299
1235
  }
1300
1236
  ],
1301
1237
  "exports": [
1302
1238
  {
1303
1239
  "kind": "js",
1304
- "name": "isFeatureActivated",
1240
+ "name": "assureDesignSystem",
1305
1241
  "declaration": {
1306
- "name": "isFeatureActivated",
1307
- "module": "src/feature-flags/featureFlags.ts"
1242
+ "name": "assureDesignSystem",
1243
+ "module": "src/design-system/design-system.ts"
1244
+ }
1245
+ },
1246
+ {
1247
+ "kind": "js",
1248
+ "name": "getCurrentDesignSystem",
1249
+ "declaration": {
1250
+ "name": "getCurrentDesignSystem",
1251
+ "module": "src/design-system/design-system.ts"
1252
+ }
1253
+ },
1254
+ {
1255
+ "kind": "js",
1256
+ "name": "getCurrentDesignSystemPrefix",
1257
+ "declaration": {
1258
+ "name": "getCurrentDesignSystemPrefix",
1259
+ "module": "src/design-system/design-system.ts"
1308
1260
  }
1309
1261
  }
1310
1262
  ]
1311
1263
  },
1312
1264
  {
1313
1265
  "kind": "javascript-module",
1314
- "path": "src/feature-flags/index.ts",
1266
+ "path": "src/design-system/index.ts",
1315
1267
  "declarations": [],
1316
1268
  "exports": [
1317
1269
  {
@@ -1319,34 +1271,82 @@
1319
1271
  "name": "*",
1320
1272
  "declaration": {
1321
1273
  "name": "*",
1322
- "package": "./featureFlags"
1274
+ "package": "./design-system"
1323
1275
  }
1324
1276
  }
1325
1277
  ]
1326
1278
  },
1327
1279
  {
1328
1280
  "kind": "javascript-module",
1329
- "path": "src/formatters/datetime.ts",
1281
+ "path": "src/feature-flags/featureFlags.ts",
1330
1282
  "declarations": [
1331
1283
  {
1332
1284
  "kind": "function",
1333
- "name": "formatDateTimestamp",
1285
+ "name": "isFeatureActivated",
1334
1286
  "return": {
1335
1287
  "type": {
1336
- "text": "string"
1288
+ "text": "boolean"
1337
1289
  }
1338
1290
  },
1339
1291
  "parameters": [
1340
1292
  {
1341
- "name": "timestamp",
1293
+ "name": "feature",
1342
1294
  "type": {
1343
- "text": "number"
1295
+ "text": "string"
1344
1296
  }
1345
1297
  }
1346
- ],
1347
- "description": "Formats [DATE] UNIX Timestamps (without time) to readable strings",
1348
- "privacy": "public"
1349
- },
1298
+ ]
1299
+ }
1300
+ ],
1301
+ "exports": [
1302
+ {
1303
+ "kind": "js",
1304
+ "name": "isFeatureActivated",
1305
+ "declaration": {
1306
+ "name": "isFeatureActivated",
1307
+ "module": "src/feature-flags/featureFlags.ts"
1308
+ }
1309
+ }
1310
+ ]
1311
+ },
1312
+ {
1313
+ "kind": "javascript-module",
1314
+ "path": "src/feature-flags/index.ts",
1315
+ "declarations": [],
1316
+ "exports": [
1317
+ {
1318
+ "kind": "js",
1319
+ "name": "*",
1320
+ "declaration": {
1321
+ "name": "*",
1322
+ "package": "./featureFlags"
1323
+ }
1324
+ }
1325
+ ]
1326
+ },
1327
+ {
1328
+ "kind": "javascript-module",
1329
+ "path": "src/formatters/datetime.ts",
1330
+ "declarations": [
1331
+ {
1332
+ "kind": "function",
1333
+ "name": "formatDateTimestamp",
1334
+ "return": {
1335
+ "type": {
1336
+ "text": "string"
1337
+ }
1338
+ },
1339
+ "parameters": [
1340
+ {
1341
+ "name": "timestamp",
1342
+ "type": {
1343
+ "text": "number"
1344
+ }
1345
+ }
1346
+ ],
1347
+ "description": "Formats [DATE] UNIX Timestamps (without time) to readable strings",
1348
+ "privacy": "public"
1349
+ },
1350
1350
  {
1351
1351
  "kind": "function",
1352
1352
  "name": "formatDateTimeTimestamp",
@@ -4143,160 +4143,6 @@
4143
4143
  }
4144
4144
  ]
4145
4145
  },
4146
- {
4147
- "kind": "javascript-module",
4148
- "path": "src/directives/sync/index.ts",
4149
- "declarations": [],
4150
- "exports": [
4151
- {
4152
- "kind": "js",
4153
- "name": "*",
4154
- "declaration": {
4155
- "name": "*",
4156
- "package": "./sync"
4157
- }
4158
- }
4159
- ]
4160
- },
4161
- {
4162
- "kind": "javascript-module",
4163
- "path": "src/directives/sync/sync.ts",
4164
- "declarations": [
4165
- {
4166
- "kind": "variable",
4167
- "name": "defaultEventMap",
4168
- "type": {
4169
- "text": "Map<string, EventName>"
4170
- },
4171
- "default": "new Map([\n ['FAST-TEXT-AREA', 'input'],\n ['FAST-TEXT-FIELD', 'input'],\n ['FOUNDATION-TEXT-AREA', 'input'],\n ['FOUNDATION-TEXT-FIELD', 'input'],\n ['INPUT', 'input'],\n ['ZERO-TEXT-FIELD', 'input'],\n])",
4172
- "description": "A map that associates specific HTML element tags with their corresponding default event names.",
4173
- "privacy": "public"
4174
- },
4175
- {
4176
- "kind": "function",
4177
- "name": "sync",
4178
- "return": {
4179
- "type": {
4180
- "text": "CaptureType<TSource>"
4181
- }
4182
- },
4183
- "parameters": [
4184
- {
4185
- "name": "binding",
4186
- "type": {
4187
- "text": "Binding<TSource, TReturn>"
4188
- }
4189
- },
4190
- {
4191
- "name": "conversionType",
4192
- "default": "'string'",
4193
- "type": {
4194
- "text": "ConversionType"
4195
- }
4196
- },
4197
- {
4198
- "name": "eventName",
4199
- "default": "'default'",
4200
- "type": {
4201
- "text": "EventName"
4202
- }
4203
- },
4204
- {
4205
- "name": "keyAttr",
4206
- "optional": true,
4207
- "type": {
4208
- "text": "string"
4209
- }
4210
- }
4211
- ],
4212
- "description": "Creates a synchronization directive that binds a data source to an HTML element,",
4213
- "privacy": "public"
4214
- }
4215
- ],
4216
- "exports": [
4217
- {
4218
- "kind": "js",
4219
- "name": "defaultEventMap",
4220
- "declaration": {
4221
- "name": "defaultEventMap",
4222
- "module": "src/directives/sync/sync.ts"
4223
- }
4224
- },
4225
- {
4226
- "kind": "js",
4227
- "name": "sync",
4228
- "declaration": {
4229
- "name": "sync",
4230
- "module": "src/directives/sync/sync.ts"
4231
- }
4232
- }
4233
- ]
4234
- },
4235
- {
4236
- "kind": "javascript-module",
4237
- "path": "src/directives/when-else/index.ts",
4238
- "declarations": [],
4239
- "exports": [
4240
- {
4241
- "kind": "js",
4242
- "name": "*",
4243
- "declaration": {
4244
- "name": "*",
4245
- "package": "./when-else"
4246
- }
4247
- }
4248
- ]
4249
- },
4250
- {
4251
- "kind": "javascript-module",
4252
- "path": "src/directives/when-else/when-else.ts",
4253
- "declarations": [
4254
- {
4255
- "kind": "function",
4256
- "name": "whenElse",
4257
- "return": {
4258
- "type": {
4259
- "text": "CaptureType<TSource>"
4260
- }
4261
- },
4262
- "parameters": [
4263
- {
4264
- "name": "binding",
4265
- "type": {
4266
- "text": "Binding<TSource, TReturn>"
4267
- },
4268
- "description": "The condition to test for rendering."
4269
- },
4270
- {
4271
- "name": "trueTemplateOrTemplateBinding",
4272
- "type": {
4273
- "text": "WhenTemplate<TSource>"
4274
- },
4275
- "description": "The template or a binding that gets the template to render when the condition is true."
4276
- },
4277
- {
4278
- "name": "falseTemplateOrTemplateBinding",
4279
- "type": {
4280
- "text": "WhenTemplate<TSource>"
4281
- },
4282
- "description": "The template or a binding that gets the template to render when the condition is false."
4283
- }
4284
- ],
4285
- "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
4286
- "privacy": "public"
4287
- }
4288
- ],
4289
- "exports": [
4290
- {
4291
- "kind": "js",
4292
- "name": "whenElse",
4293
- "declaration": {
4294
- "name": "whenElse",
4295
- "module": "src/directives/when-else/when-else.ts"
4296
- }
4297
- }
4298
- ]
4299
- },
4300
4146
  {
4301
4147
  "kind": "javascript-module",
4302
4148
  "path": "src/encoding/base64/decode.ts",
@@ -4451,6 +4297,160 @@
4451
4297
  }
4452
4298
  ]
4453
4299
  },
4300
+ {
4301
+ "kind": "javascript-module",
4302
+ "path": "src/directives/sync/index.ts",
4303
+ "declarations": [],
4304
+ "exports": [
4305
+ {
4306
+ "kind": "js",
4307
+ "name": "*",
4308
+ "declaration": {
4309
+ "name": "*",
4310
+ "package": "./sync"
4311
+ }
4312
+ }
4313
+ ]
4314
+ },
4315
+ {
4316
+ "kind": "javascript-module",
4317
+ "path": "src/directives/sync/sync.ts",
4318
+ "declarations": [
4319
+ {
4320
+ "kind": "variable",
4321
+ "name": "defaultEventMap",
4322
+ "type": {
4323
+ "text": "Map<string, EventName>"
4324
+ },
4325
+ "default": "new Map([\n ['FAST-TEXT-AREA', 'input'],\n ['FAST-TEXT-FIELD', 'input'],\n ['FOUNDATION-TEXT-AREA', 'input'],\n ['FOUNDATION-TEXT-FIELD', 'input'],\n ['INPUT', 'input'],\n ['ZERO-TEXT-FIELD', 'input'],\n])",
4326
+ "description": "A map that associates specific HTML element tags with their corresponding default event names.",
4327
+ "privacy": "public"
4328
+ },
4329
+ {
4330
+ "kind": "function",
4331
+ "name": "sync",
4332
+ "return": {
4333
+ "type": {
4334
+ "text": "CaptureType<TSource>"
4335
+ }
4336
+ },
4337
+ "parameters": [
4338
+ {
4339
+ "name": "binding",
4340
+ "type": {
4341
+ "text": "Binding<TSource, TReturn>"
4342
+ }
4343
+ },
4344
+ {
4345
+ "name": "conversionType",
4346
+ "default": "'string'",
4347
+ "type": {
4348
+ "text": "ConversionType"
4349
+ }
4350
+ },
4351
+ {
4352
+ "name": "eventName",
4353
+ "default": "'default'",
4354
+ "type": {
4355
+ "text": "EventName"
4356
+ }
4357
+ },
4358
+ {
4359
+ "name": "keyAttr",
4360
+ "optional": true,
4361
+ "type": {
4362
+ "text": "string"
4363
+ }
4364
+ }
4365
+ ],
4366
+ "description": "Creates a synchronization directive that binds a data source to an HTML element,",
4367
+ "privacy": "public"
4368
+ }
4369
+ ],
4370
+ "exports": [
4371
+ {
4372
+ "kind": "js",
4373
+ "name": "defaultEventMap",
4374
+ "declaration": {
4375
+ "name": "defaultEventMap",
4376
+ "module": "src/directives/sync/sync.ts"
4377
+ }
4378
+ },
4379
+ {
4380
+ "kind": "js",
4381
+ "name": "sync",
4382
+ "declaration": {
4383
+ "name": "sync",
4384
+ "module": "src/directives/sync/sync.ts"
4385
+ }
4386
+ }
4387
+ ]
4388
+ },
4389
+ {
4390
+ "kind": "javascript-module",
4391
+ "path": "src/directives/when-else/index.ts",
4392
+ "declarations": [],
4393
+ "exports": [
4394
+ {
4395
+ "kind": "js",
4396
+ "name": "*",
4397
+ "declaration": {
4398
+ "name": "*",
4399
+ "package": "./when-else"
4400
+ }
4401
+ }
4402
+ ]
4403
+ },
4404
+ {
4405
+ "kind": "javascript-module",
4406
+ "path": "src/directives/when-else/when-else.ts",
4407
+ "declarations": [
4408
+ {
4409
+ "kind": "function",
4410
+ "name": "whenElse",
4411
+ "return": {
4412
+ "type": {
4413
+ "text": "CaptureType<TSource>"
4414
+ }
4415
+ },
4416
+ "parameters": [
4417
+ {
4418
+ "name": "binding",
4419
+ "type": {
4420
+ "text": "Binding<TSource, TReturn>"
4421
+ },
4422
+ "description": "The condition to test for rendering."
4423
+ },
4424
+ {
4425
+ "name": "trueTemplateOrTemplateBinding",
4426
+ "type": {
4427
+ "text": "WhenTemplate<TSource>"
4428
+ },
4429
+ "description": "The template or a binding that gets the template to render when the condition is true."
4430
+ },
4431
+ {
4432
+ "name": "falseTemplateOrTemplateBinding",
4433
+ "type": {
4434
+ "text": "WhenTemplate<TSource>"
4435
+ },
4436
+ "description": "The template or a binding that gets the template to render when the condition is false."
4437
+ }
4438
+ ],
4439
+ "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
4440
+ "privacy": "public"
4441
+ }
4442
+ ],
4443
+ "exports": [
4444
+ {
4445
+ "kind": "js",
4446
+ "name": "whenElse",
4447
+ "declaration": {
4448
+ "name": "whenElse",
4449
+ "module": "src/directives/when-else/when-else.ts"
4450
+ }
4451
+ }
4452
+ ]
4453
+ },
4454
4454
  {
4455
4455
  "kind": "javascript-module",
4456
4456
  "path": "src/mappers/dto/index.ts",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-utils",
3
3
  "description": "Genesis Foundation Utils",
4
- "version": "14.393.0",
4
+ "version": "14.393.1",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -29,18 +29,18 @@
29
29
  }
30
30
  },
31
31
  "devDependencies": {
32
- "@genesislcap/foundation-testing": "14.393.0",
33
- "@genesislcap/genx": "14.393.0",
34
- "@genesislcap/rollup-builder": "14.393.0",
35
- "@genesislcap/ts-builder": "14.393.0",
36
- "@genesislcap/uvu-playwright-builder": "14.393.0",
37
- "@genesislcap/vite-builder": "14.393.0",
38
- "@genesislcap/webpack-builder": "14.393.0",
32
+ "@genesislcap/foundation-testing": "14.393.1",
33
+ "@genesislcap/genx": "14.393.1",
34
+ "@genesislcap/rollup-builder": "14.393.1",
35
+ "@genesislcap/ts-builder": "14.393.1",
36
+ "@genesislcap/uvu-playwright-builder": "14.393.1",
37
+ "@genesislcap/vite-builder": "14.393.1",
38
+ "@genesislcap/webpack-builder": "14.393.1",
39
39
  "@types/json-schema": "^7.0.11"
40
40
  },
41
41
  "dependencies": {
42
- "@genesislcap/expression-builder": "14.393.0",
43
- "@genesislcap/foundation-logger": "14.393.0",
42
+ "@genesislcap/expression-builder": "14.393.1",
43
+ "@genesislcap/foundation-logger": "14.393.1",
44
44
  "@microsoft/fast-components": "2.30.6",
45
45
  "@microsoft/fast-element": "1.14.0",
46
46
  "@microsoft/fast-foundation": "2.50.0",
@@ -58,5 +58,5 @@
58
58
  "access": "public"
59
59
  },
60
60
  "customElements": "dist/custom-elements.json",
61
- "gitHead": "25378dcb43ef1a8a78dbcbcd39720c3cd3c61f78"
61
+ "gitHead": "ba539b917a9a969ad508fbd291bae98960410ada"
62
62
  }