@genesislcap/foundation-utils 14.339.1-alpha-d5fee56.0 → 14.339.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 +338 -338
  2. package/package.json +11 -11
@@ -385,7 +385,7 @@
385
385
  },
386
386
  {
387
387
  "kind": "javascript-module",
388
- "path": "src/encoding/index.ts",
388
+ "path": "src/decorators/index.ts",
389
389
  "declarations": [],
390
390
  "exports": [
391
391
  {
@@ -393,7 +393,45 @@
393
393
  "name": "*",
394
394
  "declaration": {
395
395
  "name": "*",
396
- "package": "./base64"
396
+ "package": "./renderOnChange"
397
+ }
398
+ }
399
+ ]
400
+ },
401
+ {
402
+ "kind": "javascript-module",
403
+ "path": "src/decorators/renderOnChange.ts",
404
+ "declarations": [
405
+ {
406
+ "kind": "function",
407
+ "name": "renderOnChange",
408
+ "parameters": [
409
+ {
410
+ "name": "target",
411
+ "type": {
412
+ "text": "FASTElement & { render(): void }"
413
+ },
414
+ "description": "The target to define the property change handler on."
415
+ },
416
+ {
417
+ "name": "name",
418
+ "type": {
419
+ "text": "string"
420
+ },
421
+ "description": "The property name."
422
+ }
423
+ ],
424
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
425
+ "privacy": "public"
426
+ }
427
+ ],
428
+ "exports": [
429
+ {
430
+ "kind": "js",
431
+ "name": "renderOnChange",
432
+ "declaration": {
433
+ "name": "renderOnChange",
434
+ "module": "src/decorators/renderOnChange.ts"
397
435
  }
398
436
  }
399
437
  ]
@@ -421,6 +459,141 @@
421
459
  }
422
460
  ]
423
461
  },
462
+ {
463
+ "kind": "javascript-module",
464
+ "path": "src/encoding/index.ts",
465
+ "declarations": [],
466
+ "exports": [
467
+ {
468
+ "kind": "js",
469
+ "name": "*",
470
+ "declaration": {
471
+ "name": "*",
472
+ "package": "./base64"
473
+ }
474
+ }
475
+ ]
476
+ },
477
+ {
478
+ "kind": "javascript-module",
479
+ "path": "src/design-system/design-system.ts",
480
+ "declarations": [
481
+ {
482
+ "kind": "function",
483
+ "name": "assureDesignSystem",
484
+ "return": {
485
+ "type": {
486
+ "text": "DesignSystemModule"
487
+ }
488
+ },
489
+ "parameters": [
490
+ {
491
+ "name": "module",
492
+ "type": {
493
+ "text": "DesignSystemModule"
494
+ }
495
+ }
496
+ ],
497
+ "description": "assureDesignSystem.",
498
+ "privacy": "public"
499
+ },
500
+ {
501
+ "kind": "function",
502
+ "name": "getCurrentDesignSystem",
503
+ "return": {
504
+ "type": {
505
+ "text": ""
506
+ }
507
+ },
508
+ "parameters": [
509
+ {
510
+ "name": "element",
511
+ "type": {
512
+ "text": "HTMLElement"
513
+ },
514
+ "description": "The starting HTML element"
515
+ },
516
+ {
517
+ "name": "fallbackPrefix",
518
+ "type": {
519
+ "text": "string"
520
+ },
521
+ "description": "The prefix to fallback to if the provider is not available"
522
+ }
523
+ ],
524
+ "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.",
525
+ "privacy": "public"
526
+ },
527
+ {
528
+ "kind": "function",
529
+ "name": "getCurrentDesignSystemPrefix",
530
+ "return": {
531
+ "type": {
532
+ "text": ""
533
+ }
534
+ },
535
+ "parameters": [
536
+ {
537
+ "name": "element",
538
+ "type": {
539
+ "text": "HTMLElement"
540
+ },
541
+ "description": "The starting HTML element"
542
+ },
543
+ {
544
+ "name": "fallbackPrefix",
545
+ "type": {
546
+ "text": "string"
547
+ },
548
+ "description": "The prefix to fallback to if the provider is not available"
549
+ }
550
+ ],
551
+ "description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
552
+ "privacy": "public"
553
+ }
554
+ ],
555
+ "exports": [
556
+ {
557
+ "kind": "js",
558
+ "name": "assureDesignSystem",
559
+ "declaration": {
560
+ "name": "assureDesignSystem",
561
+ "module": "src/design-system/design-system.ts"
562
+ }
563
+ },
564
+ {
565
+ "kind": "js",
566
+ "name": "getCurrentDesignSystem",
567
+ "declaration": {
568
+ "name": "getCurrentDesignSystem",
569
+ "module": "src/design-system/design-system.ts"
570
+ }
571
+ },
572
+ {
573
+ "kind": "js",
574
+ "name": "getCurrentDesignSystemPrefix",
575
+ "declaration": {
576
+ "name": "getCurrentDesignSystemPrefix",
577
+ "module": "src/design-system/design-system.ts"
578
+ }
579
+ }
580
+ ]
581
+ },
582
+ {
583
+ "kind": "javascript-module",
584
+ "path": "src/design-system/index.ts",
585
+ "declarations": [],
586
+ "exports": [
587
+ {
588
+ "kind": "js",
589
+ "name": "*",
590
+ "declaration": {
591
+ "name": "*",
592
+ "package": "./design-system"
593
+ }
594
+ }
595
+ ]
596
+ },
424
597
  {
425
598
  "kind": "javascript-module",
426
599
  "path": "src/env/index.ts",
@@ -896,59 +1069,6 @@
896
1069
  }
897
1070
  ]
898
1071
  },
899
- {
900
- "kind": "javascript-module",
901
- "path": "src/decorators/index.ts",
902
- "declarations": [],
903
- "exports": [
904
- {
905
- "kind": "js",
906
- "name": "*",
907
- "declaration": {
908
- "name": "*",
909
- "package": "./renderOnChange"
910
- }
911
- }
912
- ]
913
- },
914
- {
915
- "kind": "javascript-module",
916
- "path": "src/decorators/renderOnChange.ts",
917
- "declarations": [
918
- {
919
- "kind": "function",
920
- "name": "renderOnChange",
921
- "parameters": [
922
- {
923
- "name": "target",
924
- "type": {
925
- "text": "FASTElement & { render(): void }"
926
- },
927
- "description": "The target to define the property change handler on."
928
- },
929
- {
930
- "name": "name",
931
- "type": {
932
- "text": "string"
933
- },
934
- "description": "The property name."
935
- }
936
- ],
937
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
938
- "privacy": "public"
939
- }
940
- ],
941
- "exports": [
942
- {
943
- "kind": "js",
944
- "name": "renderOnChange",
945
- "declaration": {
946
- "name": "renderOnChange",
947
- "module": "src/decorators/renderOnChange.ts"
948
- }
949
- }
950
- ]
951
- },
952
1072
  {
953
1073
  "kind": "javascript-module",
954
1074
  "path": "src/error/errorMap.ts",
@@ -1150,158 +1270,38 @@
1150
1270
  },
1151
1271
  {
1152
1272
  "kind": "javascript-module",
1153
- "path": "src/design-system/design-system.ts",
1273
+ "path": "src/formatters/datetime.ts",
1154
1274
  "declarations": [
1155
1275
  {
1156
1276
  "kind": "function",
1157
- "name": "assureDesignSystem",
1277
+ "name": "formatDateTimestamp",
1158
1278
  "return": {
1159
1279
  "type": {
1160
- "text": "DesignSystemModule"
1280
+ "text": "string"
1161
1281
  }
1162
1282
  },
1163
1283
  "parameters": [
1164
1284
  {
1165
- "name": "module",
1285
+ "name": "timestamp",
1166
1286
  "type": {
1167
- "text": "DesignSystemModule"
1287
+ "text": "number"
1168
1288
  }
1169
1289
  }
1170
1290
  ],
1171
- "description": "assureDesignSystem.",
1291
+ "description": "Formats [DATE] UNIX Timestamps (without time) to readable strings",
1172
1292
  "privacy": "public"
1173
1293
  },
1174
1294
  {
1175
1295
  "kind": "function",
1176
- "name": "getCurrentDesignSystem",
1296
+ "name": "formatDateTimeTimestamp",
1177
1297
  "return": {
1178
1298
  "type": {
1179
- "text": ""
1299
+ "text": "string"
1180
1300
  }
1181
1301
  },
1182
1302
  "parameters": [
1183
1303
  {
1184
- "name": "element",
1185
- "type": {
1186
- "text": "HTMLElement"
1187
- },
1188
- "description": "The starting HTML element"
1189
- },
1190
- {
1191
- "name": "fallbackPrefix",
1192
- "type": {
1193
- "text": "string"
1194
- },
1195
- "description": "The prefix to fallback to if the provider is not available"
1196
- }
1197
- ],
1198
- "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.",
1199
- "privacy": "public"
1200
- },
1201
- {
1202
- "kind": "function",
1203
- "name": "getCurrentDesignSystemPrefix",
1204
- "return": {
1205
- "type": {
1206
- "text": ""
1207
- }
1208
- },
1209
- "parameters": [
1210
- {
1211
- "name": "element",
1212
- "type": {
1213
- "text": "HTMLElement"
1214
- },
1215
- "description": "The starting HTML element"
1216
- },
1217
- {
1218
- "name": "fallbackPrefix",
1219
- "type": {
1220
- "text": "string"
1221
- },
1222
- "description": "The prefix to fallback to if the provider is not available"
1223
- }
1224
- ],
1225
- "description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
1226
- "privacy": "public"
1227
- }
1228
- ],
1229
- "exports": [
1230
- {
1231
- "kind": "js",
1232
- "name": "assureDesignSystem",
1233
- "declaration": {
1234
- "name": "assureDesignSystem",
1235
- "module": "src/design-system/design-system.ts"
1236
- }
1237
- },
1238
- {
1239
- "kind": "js",
1240
- "name": "getCurrentDesignSystem",
1241
- "declaration": {
1242
- "name": "getCurrentDesignSystem",
1243
- "module": "src/design-system/design-system.ts"
1244
- }
1245
- },
1246
- {
1247
- "kind": "js",
1248
- "name": "getCurrentDesignSystemPrefix",
1249
- "declaration": {
1250
- "name": "getCurrentDesignSystemPrefix",
1251
- "module": "src/design-system/design-system.ts"
1252
- }
1253
- }
1254
- ]
1255
- },
1256
- {
1257
- "kind": "javascript-module",
1258
- "path": "src/design-system/index.ts",
1259
- "declarations": [],
1260
- "exports": [
1261
- {
1262
- "kind": "js",
1263
- "name": "*",
1264
- "declaration": {
1265
- "name": "*",
1266
- "package": "./design-system"
1267
- }
1268
- }
1269
- ]
1270
- },
1271
- {
1272
- "kind": "javascript-module",
1273
- "path": "src/formatters/datetime.ts",
1274
- "declarations": [
1275
- {
1276
- "kind": "function",
1277
- "name": "formatDateTimestamp",
1278
- "return": {
1279
- "type": {
1280
- "text": "string"
1281
- }
1282
- },
1283
- "parameters": [
1284
- {
1285
- "name": "timestamp",
1286
- "type": {
1287
- "text": "number"
1288
- }
1289
- }
1290
- ],
1291
- "description": "Formats [DATE] UNIX Timestamps (without time) to readable strings",
1292
- "privacy": "public"
1293
- },
1294
- {
1295
- "kind": "function",
1296
- "name": "formatDateTimeTimestamp",
1297
- "return": {
1298
- "type": {
1299
- "text": "string"
1300
- }
1301
- },
1302
- "parameters": [
1303
- {
1304
- "name": "timestamp",
1304
+ "name": "timestamp",
1305
1305
  "type": {
1306
1306
  "text": "number"
1307
1307
  }
@@ -3955,160 +3955,6 @@
3955
3955
  }
3956
3956
  ]
3957
3957
  },
3958
- {
3959
- "kind": "javascript-module",
3960
- "path": "src/encoding/base64/decode.ts",
3961
- "declarations": [
3962
- {
3963
- "kind": "function",
3964
- "name": "decodeFromBase64",
3965
- "return": {
3966
- "type": {
3967
- "text": ""
3968
- }
3969
- },
3970
- "parameters": [
3971
- {
3972
- "name": "base64Value",
3973
- "type": {
3974
- "text": "string"
3975
- }
3976
- },
3977
- {
3978
- "description": "The value to decode from base64.",
3979
- "name": "value"
3980
- }
3981
- ],
3982
- "description": "Decodes a value from base64.",
3983
- "privacy": "public"
3984
- },
3985
- {
3986
- "kind": "function",
3987
- "name": "decodeFromBase64WithPrefix",
3988
- "return": {
3989
- "type": {
3990
- "text": ""
3991
- }
3992
- },
3993
- "parameters": [
3994
- {
3995
- "name": "value",
3996
- "type": {
3997
- "text": "string"
3998
- },
3999
- "description": "The value to decode from base64."
4000
- }
4001
- ],
4002
- "description": "Decodes a value from base64 with a prefix.",
4003
- "privacy": "public"
4004
- }
4005
- ],
4006
- "exports": [
4007
- {
4008
- "kind": "js",
4009
- "name": "decodeFromBase64",
4010
- "declaration": {
4011
- "name": "decodeFromBase64",
4012
- "module": "src/encoding/base64/decode.ts"
4013
- }
4014
- },
4015
- {
4016
- "kind": "js",
4017
- "name": "decodeFromBase64WithPrefix",
4018
- "declaration": {
4019
- "name": "decodeFromBase64WithPrefix",
4020
- "module": "src/encoding/base64/decode.ts"
4021
- }
4022
- }
4023
- ]
4024
- },
4025
- {
4026
- "kind": "javascript-module",
4027
- "path": "src/encoding/base64/encode.ts",
4028
- "declarations": [
4029
- {
4030
- "kind": "function",
4031
- "name": "encodeToBase64",
4032
- "return": {
4033
- "type": {
4034
- "text": ""
4035
- }
4036
- },
4037
- "parameters": [
4038
- {
4039
- "name": "value",
4040
- "type": {
4041
- "text": "string | ArrayBuffer"
4042
- },
4043
- "description": "The value to encode to base64."
4044
- }
4045
- ],
4046
- "description": "Encodes the given value to base64.",
4047
- "privacy": "public"
4048
- },
4049
- {
4050
- "kind": "function",
4051
- "name": "encodeToBase64WithPrefix",
4052
- "return": {
4053
- "type": {
4054
- "text": ""
4055
- }
4056
- },
4057
- "parameters": [
4058
- {
4059
- "name": "value",
4060
- "type": {
4061
- "text": "string | ArrayBuffer"
4062
- },
4063
- "description": "The value to encode to base64."
4064
- }
4065
- ],
4066
- "description": "Encodes the given value with a prefix to base64.",
4067
- "privacy": "public"
4068
- }
4069
- ],
4070
- "exports": [
4071
- {
4072
- "kind": "js",
4073
- "name": "encodeToBase64",
4074
- "declaration": {
4075
- "name": "encodeToBase64",
4076
- "module": "src/encoding/base64/encode.ts"
4077
- }
4078
- },
4079
- {
4080
- "kind": "js",
4081
- "name": "encodeToBase64WithPrefix",
4082
- "declaration": {
4083
- "name": "encodeToBase64WithPrefix",
4084
- "module": "src/encoding/base64/encode.ts"
4085
- }
4086
- }
4087
- ]
4088
- },
4089
- {
4090
- "kind": "javascript-module",
4091
- "path": "src/encoding/base64/index.ts",
4092
- "declarations": [],
4093
- "exports": [
4094
- {
4095
- "kind": "js",
4096
- "name": "*",
4097
- "declaration": {
4098
- "name": "*",
4099
- "package": "./decode"
4100
- }
4101
- },
4102
- {
4103
- "kind": "js",
4104
- "name": "*",
4105
- "declaration": {
4106
- "name": "*",
4107
- "package": "./encode"
4108
- }
4109
- }
4110
- ]
4111
- },
4112
3958
  {
4113
3959
  "kind": "javascript-module",
4114
3960
  "path": "src/directives/sync/index.ts",
@@ -4263,6 +4109,160 @@
4263
4109
  }
4264
4110
  ]
4265
4111
  },
4112
+ {
4113
+ "kind": "javascript-module",
4114
+ "path": "src/encoding/base64/decode.ts",
4115
+ "declarations": [
4116
+ {
4117
+ "kind": "function",
4118
+ "name": "decodeFromBase64",
4119
+ "return": {
4120
+ "type": {
4121
+ "text": ""
4122
+ }
4123
+ },
4124
+ "parameters": [
4125
+ {
4126
+ "name": "base64Value",
4127
+ "type": {
4128
+ "text": "string"
4129
+ }
4130
+ },
4131
+ {
4132
+ "description": "The value to decode from base64.",
4133
+ "name": "value"
4134
+ }
4135
+ ],
4136
+ "description": "Decodes a value from base64.",
4137
+ "privacy": "public"
4138
+ },
4139
+ {
4140
+ "kind": "function",
4141
+ "name": "decodeFromBase64WithPrefix",
4142
+ "return": {
4143
+ "type": {
4144
+ "text": ""
4145
+ }
4146
+ },
4147
+ "parameters": [
4148
+ {
4149
+ "name": "value",
4150
+ "type": {
4151
+ "text": "string"
4152
+ },
4153
+ "description": "The value to decode from base64."
4154
+ }
4155
+ ],
4156
+ "description": "Decodes a value from base64 with a prefix.",
4157
+ "privacy": "public"
4158
+ }
4159
+ ],
4160
+ "exports": [
4161
+ {
4162
+ "kind": "js",
4163
+ "name": "decodeFromBase64",
4164
+ "declaration": {
4165
+ "name": "decodeFromBase64",
4166
+ "module": "src/encoding/base64/decode.ts"
4167
+ }
4168
+ },
4169
+ {
4170
+ "kind": "js",
4171
+ "name": "decodeFromBase64WithPrefix",
4172
+ "declaration": {
4173
+ "name": "decodeFromBase64WithPrefix",
4174
+ "module": "src/encoding/base64/decode.ts"
4175
+ }
4176
+ }
4177
+ ]
4178
+ },
4179
+ {
4180
+ "kind": "javascript-module",
4181
+ "path": "src/encoding/base64/encode.ts",
4182
+ "declarations": [
4183
+ {
4184
+ "kind": "function",
4185
+ "name": "encodeToBase64",
4186
+ "return": {
4187
+ "type": {
4188
+ "text": ""
4189
+ }
4190
+ },
4191
+ "parameters": [
4192
+ {
4193
+ "name": "value",
4194
+ "type": {
4195
+ "text": "string | ArrayBuffer"
4196
+ },
4197
+ "description": "The value to encode to base64."
4198
+ }
4199
+ ],
4200
+ "description": "Encodes the given value to base64.",
4201
+ "privacy": "public"
4202
+ },
4203
+ {
4204
+ "kind": "function",
4205
+ "name": "encodeToBase64WithPrefix",
4206
+ "return": {
4207
+ "type": {
4208
+ "text": ""
4209
+ }
4210
+ },
4211
+ "parameters": [
4212
+ {
4213
+ "name": "value",
4214
+ "type": {
4215
+ "text": "string | ArrayBuffer"
4216
+ },
4217
+ "description": "The value to encode to base64."
4218
+ }
4219
+ ],
4220
+ "description": "Encodes the given value with a prefix to base64.",
4221
+ "privacy": "public"
4222
+ }
4223
+ ],
4224
+ "exports": [
4225
+ {
4226
+ "kind": "js",
4227
+ "name": "encodeToBase64",
4228
+ "declaration": {
4229
+ "name": "encodeToBase64",
4230
+ "module": "src/encoding/base64/encode.ts"
4231
+ }
4232
+ },
4233
+ {
4234
+ "kind": "js",
4235
+ "name": "encodeToBase64WithPrefix",
4236
+ "declaration": {
4237
+ "name": "encodeToBase64WithPrefix",
4238
+ "module": "src/encoding/base64/encode.ts"
4239
+ }
4240
+ }
4241
+ ]
4242
+ },
4243
+ {
4244
+ "kind": "javascript-module",
4245
+ "path": "src/encoding/base64/index.ts",
4246
+ "declarations": [],
4247
+ "exports": [
4248
+ {
4249
+ "kind": "js",
4250
+ "name": "*",
4251
+ "declaration": {
4252
+ "name": "*",
4253
+ "package": "./decode"
4254
+ }
4255
+ },
4256
+ {
4257
+ "kind": "js",
4258
+ "name": "*",
4259
+ "declaration": {
4260
+ "name": "*",
4261
+ "package": "./encode"
4262
+ }
4263
+ }
4264
+ ]
4265
+ },
4266
4266
  {
4267
4267
  "kind": "javascript-module",
4268
4268
  "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.339.1-alpha-d5fee56.0",
4
+ "version": "14.339.1",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -27,18 +27,18 @@
27
27
  }
28
28
  },
29
29
  "devDependencies": {
30
- "@genesislcap/foundation-testing": "14.339.1-alpha-d5fee56.0",
31
- "@genesislcap/genx": "14.339.1-alpha-d5fee56.0",
32
- "@genesislcap/rollup-builder": "14.339.1-alpha-d5fee56.0",
33
- "@genesislcap/ts-builder": "14.339.1-alpha-d5fee56.0",
34
- "@genesislcap/uvu-playwright-builder": "14.339.1-alpha-d5fee56.0",
35
- "@genesislcap/vite-builder": "14.339.1-alpha-d5fee56.0",
36
- "@genesislcap/webpack-builder": "14.339.1-alpha-d5fee56.0",
30
+ "@genesislcap/foundation-testing": "14.339.1",
31
+ "@genesislcap/genx": "14.339.1",
32
+ "@genesislcap/rollup-builder": "14.339.1",
33
+ "@genesislcap/ts-builder": "14.339.1",
34
+ "@genesislcap/uvu-playwright-builder": "14.339.1",
35
+ "@genesislcap/vite-builder": "14.339.1",
36
+ "@genesislcap/webpack-builder": "14.339.1",
37
37
  "@types/json-schema": "^7.0.11"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/expression-builder": "14.339.1-alpha-d5fee56.0",
41
- "@genesislcap/foundation-logger": "14.339.1-alpha-d5fee56.0",
40
+ "@genesislcap/expression-builder": "14.339.1",
41
+ "@genesislcap/foundation-logger": "14.339.1",
42
42
  "@microsoft/fast-components": "2.30.6",
43
43
  "@microsoft/fast-element": "1.14.0",
44
44
  "@microsoft/fast-foundation": "2.49.6",
@@ -56,5 +56,5 @@
56
56
  "access": "public"
57
57
  },
58
58
  "customElements": "dist/custom-elements.json",
59
- "gitHead": "a06047db2e0a3a11223bc278db18d655eccef99a"
59
+ "gitHead": "83c777104959d087e3825e7351fe8ddcbe9c3955"
60
60
  }