@genesislcap/foundation-utils 14.393.1 → 14.393.2

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 +347 -347
  2. package/package.json +11 -11
@@ -391,6 +391,149 @@
391
391
  }
392
392
  ]
393
393
  },
394
+ {
395
+ "kind": "javascript-module",
396
+ "path": "src/design-system/design-system.ts",
397
+ "declarations": [
398
+ {
399
+ "kind": "function",
400
+ "name": "assureDesignSystem",
401
+ "return": {
402
+ "type": {
403
+ "text": "DesignSystemModule"
404
+ }
405
+ },
406
+ "parameters": [
407
+ {
408
+ "name": "module",
409
+ "type": {
410
+ "text": "DesignSystemModule"
411
+ }
412
+ }
413
+ ],
414
+ "description": "assureDesignSystem.",
415
+ "privacy": "public"
416
+ },
417
+ {
418
+ "kind": "function",
419
+ "name": "getCurrentDesignSystem",
420
+ "return": {
421
+ "type": {
422
+ "text": ""
423
+ }
424
+ },
425
+ "parameters": [
426
+ {
427
+ "name": "element",
428
+ "type": {
429
+ "text": "HTMLElement"
430
+ },
431
+ "description": "The starting HTML element"
432
+ },
433
+ {
434
+ "name": "fallbackPrefix",
435
+ "type": {
436
+ "text": "string"
437
+ },
438
+ "description": "The prefix to fallback to if the provider is not available"
439
+ }
440
+ ],
441
+ "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.",
442
+ "privacy": "public"
443
+ },
444
+ {
445
+ "kind": "function",
446
+ "name": "getCurrentDesignSystemPrefix",
447
+ "return": {
448
+ "type": {
449
+ "text": ""
450
+ }
451
+ },
452
+ "parameters": [
453
+ {
454
+ "name": "element",
455
+ "type": {
456
+ "text": "HTMLElement"
457
+ },
458
+ "description": "The starting HTML element"
459
+ },
460
+ {
461
+ "name": "fallbackPrefix",
462
+ "type": {
463
+ "text": "string"
464
+ },
465
+ "description": "The prefix to fallback to if the provider is not available"
466
+ }
467
+ ],
468
+ "description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
469
+ "privacy": "public"
470
+ }
471
+ ],
472
+ "exports": [
473
+ {
474
+ "kind": "js",
475
+ "name": "assureDesignSystem",
476
+ "declaration": {
477
+ "name": "assureDesignSystem",
478
+ "module": "src/design-system/design-system.ts"
479
+ }
480
+ },
481
+ {
482
+ "kind": "js",
483
+ "name": "getCurrentDesignSystem",
484
+ "declaration": {
485
+ "name": "getCurrentDesignSystem",
486
+ "module": "src/design-system/design-system.ts"
487
+ }
488
+ },
489
+ {
490
+ "kind": "js",
491
+ "name": "getCurrentDesignSystemPrefix",
492
+ "declaration": {
493
+ "name": "getCurrentDesignSystemPrefix",
494
+ "module": "src/design-system/design-system.ts"
495
+ }
496
+ }
497
+ ]
498
+ },
499
+ {
500
+ "kind": "javascript-module",
501
+ "path": "src/design-system/index.ts",
502
+ "declarations": [],
503
+ "exports": [
504
+ {
505
+ "kind": "js",
506
+ "name": "*",
507
+ "declaration": {
508
+ "name": "*",
509
+ "package": "./design-system"
510
+ }
511
+ }
512
+ ]
513
+ },
514
+ {
515
+ "kind": "javascript-module",
516
+ "path": "src/directives/index.ts",
517
+ "declarations": [],
518
+ "exports": [
519
+ {
520
+ "kind": "js",
521
+ "name": "*",
522
+ "declaration": {
523
+ "name": "*",
524
+ "package": "./sync"
525
+ }
526
+ },
527
+ {
528
+ "kind": "js",
529
+ "name": "*",
530
+ "declaration": {
531
+ "name": "*",
532
+ "package": "./when-else"
533
+ }
534
+ }
535
+ ]
536
+ },
394
537
  {
395
538
  "kind": "javascript-module",
396
539
  "path": "src/decorators/index.ts",
@@ -459,29 +602,6 @@
459
602
  }
460
603
  ]
461
604
  },
462
- {
463
- "kind": "javascript-module",
464
- "path": "src/directives/index.ts",
465
- "declarations": [],
466
- "exports": [
467
- {
468
- "kind": "js",
469
- "name": "*",
470
- "declaration": {
471
- "name": "*",
472
- "package": "./sync"
473
- }
474
- },
475
- {
476
- "kind": "js",
477
- "name": "*",
478
- "declaration": {
479
- "name": "*",
480
- "package": "./when-else"
481
- }
482
- }
483
- ]
484
- },
485
605
  {
486
606
  "kind": "javascript-module",
487
607
  "path": "src/env/index.ts",
@@ -1158,212 +1278,92 @@
1158
1278
  },
1159
1279
  {
1160
1280
  "kind": "javascript-module",
1161
- "path": "src/design-system/design-system.ts",
1281
+ "path": "src/feature-flags/featureFlags.ts",
1162
1282
  "declarations": [
1163
1283
  {
1164
1284
  "kind": "function",
1165
- "name": "assureDesignSystem",
1285
+ "name": "isFeatureActivated",
1166
1286
  "return": {
1167
1287
  "type": {
1168
- "text": "DesignSystemModule"
1288
+ "text": "boolean"
1169
1289
  }
1170
1290
  },
1171
1291
  "parameters": [
1172
1292
  {
1173
- "name": "module",
1293
+ "name": "feature",
1174
1294
  "type": {
1175
- "text": "DesignSystemModule"
1295
+ "text": "string"
1176
1296
  }
1177
1297
  }
1178
- ],
1179
- "description": "assureDesignSystem.",
1180
- "privacy": "public"
1181
- },
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": [
1182
1331
  {
1183
1332
  "kind": "function",
1184
- "name": "getCurrentDesignSystem",
1333
+ "name": "formatDateTimestamp",
1185
1334
  "return": {
1186
1335
  "type": {
1187
- "text": ""
1336
+ "text": "string"
1188
1337
  }
1189
1338
  },
1190
1339
  "parameters": [
1191
1340
  {
1192
- "name": "element",
1193
- "type": {
1194
- "text": "HTMLElement"
1195
- },
1196
- "description": "The starting HTML element"
1197
- },
1198
- {
1199
- "name": "fallbackPrefix",
1341
+ "name": "timestamp",
1200
1342
  "type": {
1201
- "text": "string"
1202
- },
1203
- "description": "The prefix to fallback to if the provider is not available"
1343
+ "text": "number"
1344
+ }
1204
1345
  }
1205
1346
  ],
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.",
1347
+ "description": "Formats [DATE] UNIX Timestamps (without time) to readable strings",
1207
1348
  "privacy": "public"
1208
1349
  },
1209
1350
  {
1210
1351
  "kind": "function",
1211
- "name": "getCurrentDesignSystemPrefix",
1352
+ "name": "formatDateTimeTimestamp",
1212
1353
  "return": {
1213
1354
  "type": {
1214
- "text": ""
1355
+ "text": "string"
1215
1356
  }
1216
1357
  },
1217
1358
  "parameters": [
1218
1359
  {
1219
- "name": "element",
1220
- "type": {
1221
- "text": "HTMLElement"
1222
- },
1223
- "description": "The starting HTML element"
1224
- },
1225
- {
1226
- "name": "fallbackPrefix",
1360
+ "name": "timestamp",
1227
1361
  "type": {
1228
- "text": "string"
1229
- },
1230
- "description": "The prefix to fallback to if the provider is not available"
1362
+ "text": "number"
1363
+ }
1231
1364
  }
1232
1365
  ],
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"
1235
- }
1236
- ],
1237
- "exports": [
1238
- {
1239
- "kind": "js",
1240
- "name": "assureDesignSystem",
1241
- "declaration": {
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"
1260
- }
1261
- }
1262
- ]
1263
- },
1264
- {
1265
- "kind": "javascript-module",
1266
- "path": "src/design-system/index.ts",
1267
- "declarations": [],
1268
- "exports": [
1269
- {
1270
- "kind": "js",
1271
- "name": "*",
1272
- "declaration": {
1273
- "name": "*",
1274
- "package": "./design-system"
1275
- }
1276
- }
1277
- ]
1278
- },
1279
- {
1280
- "kind": "javascript-module",
1281
- "path": "src/feature-flags/featureFlags.ts",
1282
- "declarations": [
1283
- {
1284
- "kind": "function",
1285
- "name": "isFeatureActivated",
1286
- "return": {
1287
- "type": {
1288
- "text": "boolean"
1289
- }
1290
- },
1291
- "parameters": [
1292
- {
1293
- "name": "feature",
1294
- "type": {
1295
- "text": "string"
1296
- }
1297
- }
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
- {
1351
- "kind": "function",
1352
- "name": "formatDateTimeTimestamp",
1353
- "return": {
1354
- "type": {
1355
- "text": "string"
1356
- }
1357
- },
1358
- "parameters": [
1359
- {
1360
- "name": "timestamp",
1361
- "type": {
1362
- "text": "number"
1363
- }
1364
- }
1365
- ],
1366
- "description": "Formats [DATETIME] UNIX Timestamps (with time) to readable strings",
1366
+ "description": "Formats [DATETIME] UNIX Timestamps (with time) to readable strings",
1367
1367
  "privacy": "public"
1368
1368
  },
1369
1369
  {
@@ -4143,160 +4143,6 @@
4143
4143
  }
4144
4144
  ]
4145
4145
  },
4146
- {
4147
- "kind": "javascript-module",
4148
- "path": "src/encoding/base64/decode.ts",
4149
- "declarations": [
4150
- {
4151
- "kind": "function",
4152
- "name": "decodeFromBase64",
4153
- "return": {
4154
- "type": {
4155
- "text": ""
4156
- }
4157
- },
4158
- "parameters": [
4159
- {
4160
- "name": "base64Value",
4161
- "type": {
4162
- "text": "string"
4163
- }
4164
- },
4165
- {
4166
- "description": "The value to decode from base64.",
4167
- "name": "value"
4168
- }
4169
- ],
4170
- "description": "Decodes a value from base64.",
4171
- "privacy": "public"
4172
- },
4173
- {
4174
- "kind": "function",
4175
- "name": "decodeFromBase64WithPrefix",
4176
- "return": {
4177
- "type": {
4178
- "text": ""
4179
- }
4180
- },
4181
- "parameters": [
4182
- {
4183
- "name": "value",
4184
- "type": {
4185
- "text": "string"
4186
- },
4187
- "description": "The value to decode from base64."
4188
- }
4189
- ],
4190
- "description": "Decodes a value from base64 with a prefix.",
4191
- "privacy": "public"
4192
- }
4193
- ],
4194
- "exports": [
4195
- {
4196
- "kind": "js",
4197
- "name": "decodeFromBase64",
4198
- "declaration": {
4199
- "name": "decodeFromBase64",
4200
- "module": "src/encoding/base64/decode.ts"
4201
- }
4202
- },
4203
- {
4204
- "kind": "js",
4205
- "name": "decodeFromBase64WithPrefix",
4206
- "declaration": {
4207
- "name": "decodeFromBase64WithPrefix",
4208
- "module": "src/encoding/base64/decode.ts"
4209
- }
4210
- }
4211
- ]
4212
- },
4213
- {
4214
- "kind": "javascript-module",
4215
- "path": "src/encoding/base64/encode.ts",
4216
- "declarations": [
4217
- {
4218
- "kind": "function",
4219
- "name": "encodeToBase64",
4220
- "return": {
4221
- "type": {
4222
- "text": ""
4223
- }
4224
- },
4225
- "parameters": [
4226
- {
4227
- "name": "value",
4228
- "type": {
4229
- "text": "string | ArrayBuffer"
4230
- },
4231
- "description": "The value to encode to base64."
4232
- }
4233
- ],
4234
- "description": "Encodes the given value to base64.",
4235
- "privacy": "public"
4236
- },
4237
- {
4238
- "kind": "function",
4239
- "name": "encodeToBase64WithPrefix",
4240
- "return": {
4241
- "type": {
4242
- "text": ""
4243
- }
4244
- },
4245
- "parameters": [
4246
- {
4247
- "name": "value",
4248
- "type": {
4249
- "text": "string | ArrayBuffer"
4250
- },
4251
- "description": "The value to encode to base64."
4252
- }
4253
- ],
4254
- "description": "Encodes the given value with a prefix to base64.",
4255
- "privacy": "public"
4256
- }
4257
- ],
4258
- "exports": [
4259
- {
4260
- "kind": "js",
4261
- "name": "encodeToBase64",
4262
- "declaration": {
4263
- "name": "encodeToBase64",
4264
- "module": "src/encoding/base64/encode.ts"
4265
- }
4266
- },
4267
- {
4268
- "kind": "js",
4269
- "name": "encodeToBase64WithPrefix",
4270
- "declaration": {
4271
- "name": "encodeToBase64WithPrefix",
4272
- "module": "src/encoding/base64/encode.ts"
4273
- }
4274
- }
4275
- ]
4276
- },
4277
- {
4278
- "kind": "javascript-module",
4279
- "path": "src/encoding/base64/index.ts",
4280
- "declarations": [],
4281
- "exports": [
4282
- {
4283
- "kind": "js",
4284
- "name": "*",
4285
- "declaration": {
4286
- "name": "*",
4287
- "package": "./decode"
4288
- }
4289
- },
4290
- {
4291
- "kind": "js",
4292
- "name": "*",
4293
- "declaration": {
4294
- "name": "*",
4295
- "package": "./encode"
4296
- }
4297
- }
4298
- ]
4299
- },
4300
4146
  {
4301
4147
  "kind": "javascript-module",
4302
4148
  "path": "src/directives/sync/index.ts",
@@ -4451,6 +4297,160 @@
4451
4297
  }
4452
4298
  ]
4453
4299
  },
4300
+ {
4301
+ "kind": "javascript-module",
4302
+ "path": "src/encoding/base64/decode.ts",
4303
+ "declarations": [
4304
+ {
4305
+ "kind": "function",
4306
+ "name": "decodeFromBase64",
4307
+ "return": {
4308
+ "type": {
4309
+ "text": ""
4310
+ }
4311
+ },
4312
+ "parameters": [
4313
+ {
4314
+ "name": "base64Value",
4315
+ "type": {
4316
+ "text": "string"
4317
+ }
4318
+ },
4319
+ {
4320
+ "description": "The value to decode from base64.",
4321
+ "name": "value"
4322
+ }
4323
+ ],
4324
+ "description": "Decodes a value from base64.",
4325
+ "privacy": "public"
4326
+ },
4327
+ {
4328
+ "kind": "function",
4329
+ "name": "decodeFromBase64WithPrefix",
4330
+ "return": {
4331
+ "type": {
4332
+ "text": ""
4333
+ }
4334
+ },
4335
+ "parameters": [
4336
+ {
4337
+ "name": "value",
4338
+ "type": {
4339
+ "text": "string"
4340
+ },
4341
+ "description": "The value to decode from base64."
4342
+ }
4343
+ ],
4344
+ "description": "Decodes a value from base64 with a prefix.",
4345
+ "privacy": "public"
4346
+ }
4347
+ ],
4348
+ "exports": [
4349
+ {
4350
+ "kind": "js",
4351
+ "name": "decodeFromBase64",
4352
+ "declaration": {
4353
+ "name": "decodeFromBase64",
4354
+ "module": "src/encoding/base64/decode.ts"
4355
+ }
4356
+ },
4357
+ {
4358
+ "kind": "js",
4359
+ "name": "decodeFromBase64WithPrefix",
4360
+ "declaration": {
4361
+ "name": "decodeFromBase64WithPrefix",
4362
+ "module": "src/encoding/base64/decode.ts"
4363
+ }
4364
+ }
4365
+ ]
4366
+ },
4367
+ {
4368
+ "kind": "javascript-module",
4369
+ "path": "src/encoding/base64/encode.ts",
4370
+ "declarations": [
4371
+ {
4372
+ "kind": "function",
4373
+ "name": "encodeToBase64",
4374
+ "return": {
4375
+ "type": {
4376
+ "text": ""
4377
+ }
4378
+ },
4379
+ "parameters": [
4380
+ {
4381
+ "name": "value",
4382
+ "type": {
4383
+ "text": "string | ArrayBuffer"
4384
+ },
4385
+ "description": "The value to encode to base64."
4386
+ }
4387
+ ],
4388
+ "description": "Encodes the given value to base64.",
4389
+ "privacy": "public"
4390
+ },
4391
+ {
4392
+ "kind": "function",
4393
+ "name": "encodeToBase64WithPrefix",
4394
+ "return": {
4395
+ "type": {
4396
+ "text": ""
4397
+ }
4398
+ },
4399
+ "parameters": [
4400
+ {
4401
+ "name": "value",
4402
+ "type": {
4403
+ "text": "string | ArrayBuffer"
4404
+ },
4405
+ "description": "The value to encode to base64."
4406
+ }
4407
+ ],
4408
+ "description": "Encodes the given value with a prefix to base64.",
4409
+ "privacy": "public"
4410
+ }
4411
+ ],
4412
+ "exports": [
4413
+ {
4414
+ "kind": "js",
4415
+ "name": "encodeToBase64",
4416
+ "declaration": {
4417
+ "name": "encodeToBase64",
4418
+ "module": "src/encoding/base64/encode.ts"
4419
+ }
4420
+ },
4421
+ {
4422
+ "kind": "js",
4423
+ "name": "encodeToBase64WithPrefix",
4424
+ "declaration": {
4425
+ "name": "encodeToBase64WithPrefix",
4426
+ "module": "src/encoding/base64/encode.ts"
4427
+ }
4428
+ }
4429
+ ]
4430
+ },
4431
+ {
4432
+ "kind": "javascript-module",
4433
+ "path": "src/encoding/base64/index.ts",
4434
+ "declarations": [],
4435
+ "exports": [
4436
+ {
4437
+ "kind": "js",
4438
+ "name": "*",
4439
+ "declaration": {
4440
+ "name": "*",
4441
+ "package": "./decode"
4442
+ }
4443
+ },
4444
+ {
4445
+ "kind": "js",
4446
+ "name": "*",
4447
+ "declaration": {
4448
+ "name": "*",
4449
+ "package": "./encode"
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.1",
4
+ "version": "14.393.2",
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.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",
32
+ "@genesislcap/foundation-testing": "14.393.2",
33
+ "@genesislcap/genx": "14.393.2",
34
+ "@genesislcap/rollup-builder": "14.393.2",
35
+ "@genesislcap/ts-builder": "14.393.2",
36
+ "@genesislcap/uvu-playwright-builder": "14.393.2",
37
+ "@genesislcap/vite-builder": "14.393.2",
38
+ "@genesislcap/webpack-builder": "14.393.2",
39
39
  "@types/json-schema": "^7.0.11"
40
40
  },
41
41
  "dependencies": {
42
- "@genesislcap/expression-builder": "14.393.1",
43
- "@genesislcap/foundation-logger": "14.393.1",
42
+ "@genesislcap/expression-builder": "14.393.2",
43
+ "@genesislcap/foundation-logger": "14.393.2",
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": "ba539b917a9a969ad508fbd291bae98960410ada"
61
+ "gitHead": "2448f444f9684f2fd2209843677ccaa342af1234"
62
62
  }