@genesislcap/foundation-utils 14.430.1 → 14.430.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 +291 -291
  2. package/package.json +11 -11
@@ -209,6 +209,100 @@
209
209
  }
210
210
  ]
211
211
  },
212
+ {
213
+ "kind": "javascript-module",
214
+ "path": "src/converters/index.ts",
215
+ "declarations": [],
216
+ "exports": [
217
+ {
218
+ "kind": "js",
219
+ "name": "*",
220
+ "declaration": {
221
+ "name": "*",
222
+ "package": "./string-array-converter"
223
+ }
224
+ }
225
+ ]
226
+ },
227
+ {
228
+ "kind": "javascript-module",
229
+ "path": "src/converters/string-array-converter.ts",
230
+ "declarations": [
231
+ {
232
+ "kind": "variable",
233
+ "name": "stringArrayConverter",
234
+ "type": {
235
+ "text": "ValueConverter"
236
+ },
237
+ "default": "{\n fromView(v: string): string | string[] | undefined {\n if (!v?.trim()) return undefined;\n return v.includes(',') ? v.split(',').map((s) => s.trim()) : v.trim();\n },\n toView(v: string | string[] | undefined): string {\n if (typeof v === 'string') return v;\n if (Array.isArray(v)) return v.join(',');\n return '';\n },\n}",
238
+ "description": "A @microsoft/fast-element#ValueConverter that converts between comma-separated string attributes\nand `string | string[]` properties.",
239
+ "privacy": "public"
240
+ }
241
+ ],
242
+ "exports": [
243
+ {
244
+ "kind": "js",
245
+ "name": "stringArrayConverter",
246
+ "declaration": {
247
+ "name": "stringArrayConverter",
248
+ "module": "src/converters/string-array-converter.ts"
249
+ }
250
+ }
251
+ ]
252
+ },
253
+ {
254
+ "kind": "javascript-module",
255
+ "path": "src/decorators/index.ts",
256
+ "declarations": [],
257
+ "exports": [
258
+ {
259
+ "kind": "js",
260
+ "name": "*",
261
+ "declaration": {
262
+ "name": "*",
263
+ "package": "./renderOnChange"
264
+ }
265
+ }
266
+ ]
267
+ },
268
+ {
269
+ "kind": "javascript-module",
270
+ "path": "src/decorators/renderOnChange.ts",
271
+ "declarations": [
272
+ {
273
+ "kind": "function",
274
+ "name": "renderOnChange",
275
+ "parameters": [
276
+ {
277
+ "name": "target",
278
+ "type": {
279
+ "text": "FASTElement & { render(): void }"
280
+ },
281
+ "description": "The target to define the property change handler on."
282
+ },
283
+ {
284
+ "name": "name",
285
+ "type": {
286
+ "text": "string"
287
+ },
288
+ "description": "The property name."
289
+ }
290
+ ],
291
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
292
+ "privacy": "public"
293
+ }
294
+ ],
295
+ "exports": [
296
+ {
297
+ "kind": "js",
298
+ "name": "renderOnChange",
299
+ "declaration": {
300
+ "name": "renderOnChange",
301
+ "module": "src/decorators/renderOnChange.ts"
302
+ }
303
+ }
304
+ ]
305
+ },
212
306
  {
213
307
  "kind": "javascript-module",
214
308
  "path": "src/data/inMemoryDatabase.ts",
@@ -407,47 +501,6 @@
407
501
  }
408
502
  ]
409
503
  },
410
- {
411
- "kind": "javascript-module",
412
- "path": "src/converters/index.ts",
413
- "declarations": [],
414
- "exports": [
415
- {
416
- "kind": "js",
417
- "name": "*",
418
- "declaration": {
419
- "name": "*",
420
- "package": "./string-array-converter"
421
- }
422
- }
423
- ]
424
- },
425
- {
426
- "kind": "javascript-module",
427
- "path": "src/converters/string-array-converter.ts",
428
- "declarations": [
429
- {
430
- "kind": "variable",
431
- "name": "stringArrayConverter",
432
- "type": {
433
- "text": "ValueConverter"
434
- },
435
- "default": "{\n fromView(v: string): string | string[] | undefined {\n if (!v?.trim()) return undefined;\n return v.includes(',') ? v.split(',').map((s) => s.trim()) : v.trim();\n },\n toView(v: string | string[] | undefined): string {\n if (typeof v === 'string') return v;\n if (Array.isArray(v)) return v.join(',');\n return '';\n },\n}",
436
- "description": "A @microsoft/fast-element#ValueConverter that converts between comma-separated string attributes\nand `string | string[]` properties.",
437
- "privacy": "public"
438
- }
439
- ],
440
- "exports": [
441
- {
442
- "kind": "js",
443
- "name": "stringArrayConverter",
444
- "declaration": {
445
- "name": "stringArrayConverter",
446
- "module": "src/converters/string-array-converter.ts"
447
- }
448
- }
449
- ]
450
- },
451
504
  {
452
505
  "kind": "javascript-module",
453
506
  "path": "src/design-system/design-system.ts",
@@ -650,82 +703,6 @@
650
703
  }
651
704
  ]
652
705
  },
653
- {
654
- "kind": "javascript-module",
655
- "path": "src/decorators/index.ts",
656
- "declarations": [],
657
- "exports": [
658
- {
659
- "kind": "js",
660
- "name": "*",
661
- "declaration": {
662
- "name": "*",
663
- "package": "./renderOnChange"
664
- }
665
- }
666
- ]
667
- },
668
- {
669
- "kind": "javascript-module",
670
- "path": "src/decorators/renderOnChange.ts",
671
- "declarations": [
672
- {
673
- "kind": "function",
674
- "name": "renderOnChange",
675
- "parameters": [
676
- {
677
- "name": "target",
678
- "type": {
679
- "text": "FASTElement & { render(): void }"
680
- },
681
- "description": "The target to define the property change handler on."
682
- },
683
- {
684
- "name": "name",
685
- "type": {
686
- "text": "string"
687
- },
688
- "description": "The property name."
689
- }
690
- ],
691
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
692
- "privacy": "public"
693
- }
694
- ],
695
- "exports": [
696
- {
697
- "kind": "js",
698
- "name": "renderOnChange",
699
- "declaration": {
700
- "name": "renderOnChange",
701
- "module": "src/decorators/renderOnChange.ts"
702
- }
703
- }
704
- ]
705
- },
706
- {
707
- "kind": "javascript-module",
708
- "path": "src/directives/index.ts",
709
- "declarations": [],
710
- "exports": [
711
- {
712
- "kind": "js",
713
- "name": "*",
714
- "declaration": {
715
- "name": "*",
716
- "package": "./sync"
717
- }
718
- },
719
- {
720
- "kind": "js",
721
- "name": "*",
722
- "declaration": {
723
- "name": "*",
724
- "package": "./when-else"
725
- }
726
- }
727
- ]
728
- },
729
706
  {
730
707
  "kind": "javascript-module",
731
708
  "path": "src/encoding/index.ts",
@@ -1216,6 +1193,29 @@
1216
1193
  }
1217
1194
  ]
1218
1195
  },
1196
+ {
1197
+ "kind": "javascript-module",
1198
+ "path": "src/directives/index.ts",
1199
+ "declarations": [],
1200
+ "exports": [
1201
+ {
1202
+ "kind": "js",
1203
+ "name": "*",
1204
+ "declaration": {
1205
+ "name": "*",
1206
+ "package": "./sync"
1207
+ }
1208
+ },
1209
+ {
1210
+ "kind": "js",
1211
+ "name": "*",
1212
+ "declaration": {
1213
+ "name": "*",
1214
+ "package": "./when-else"
1215
+ }
1216
+ }
1217
+ ]
1218
+ },
1219
1219
  {
1220
1220
  "kind": "javascript-module",
1221
1221
  "path": "src/error/errorMap.ts",
@@ -4677,34 +4677,188 @@
4677
4677
  },
4678
4678
  {
4679
4679
  "kind": "javascript-module",
4680
- "path": "src/window/index.ts",
4681
- "declarations": [],
4682
- "exports": [
4683
- {
4684
- "kind": "js",
4685
- "name": "*",
4686
- "declaration": {
4687
- "name": "*",
4688
- "package": "./window"
4689
- }
4690
- }
4691
- ]
4692
- },
4693
- {
4694
- "kind": "javascript-module",
4695
- "path": "src/window/window.ts",
4680
+ "path": "src/encoding/base64/decode.ts",
4696
4681
  "declarations": [
4697
4682
  {
4698
4683
  "kind": "function",
4699
- "name": "inIFrame",
4684
+ "name": "decodeFromBase64",
4700
4685
  "return": {
4701
4686
  "type": {
4702
4687
  "text": ""
4703
4688
  }
4704
4689
  },
4705
- "description": "Returns a boolean value indicating whether the current window is inside an iframe.",
4706
- "privacy": "public"
4707
- },
4690
+ "parameters": [
4691
+ {
4692
+ "name": "base64Value",
4693
+ "type": {
4694
+ "text": "string"
4695
+ }
4696
+ },
4697
+ {
4698
+ "description": "The value to decode from base64.",
4699
+ "name": "value"
4700
+ }
4701
+ ],
4702
+ "description": "Decodes a value from base64.",
4703
+ "privacy": "public"
4704
+ },
4705
+ {
4706
+ "kind": "function",
4707
+ "name": "decodeFromBase64WithPrefix",
4708
+ "return": {
4709
+ "type": {
4710
+ "text": ""
4711
+ }
4712
+ },
4713
+ "parameters": [
4714
+ {
4715
+ "name": "value",
4716
+ "type": {
4717
+ "text": "string"
4718
+ },
4719
+ "description": "The value to decode from base64."
4720
+ }
4721
+ ],
4722
+ "description": "Decodes a value from base64 with a prefix.",
4723
+ "privacy": "public"
4724
+ }
4725
+ ],
4726
+ "exports": [
4727
+ {
4728
+ "kind": "js",
4729
+ "name": "decodeFromBase64",
4730
+ "declaration": {
4731
+ "name": "decodeFromBase64",
4732
+ "module": "src/encoding/base64/decode.ts"
4733
+ }
4734
+ },
4735
+ {
4736
+ "kind": "js",
4737
+ "name": "decodeFromBase64WithPrefix",
4738
+ "declaration": {
4739
+ "name": "decodeFromBase64WithPrefix",
4740
+ "module": "src/encoding/base64/decode.ts"
4741
+ }
4742
+ }
4743
+ ]
4744
+ },
4745
+ {
4746
+ "kind": "javascript-module",
4747
+ "path": "src/encoding/base64/encode.ts",
4748
+ "declarations": [
4749
+ {
4750
+ "kind": "function",
4751
+ "name": "encodeToBase64",
4752
+ "return": {
4753
+ "type": {
4754
+ "text": ""
4755
+ }
4756
+ },
4757
+ "parameters": [
4758
+ {
4759
+ "name": "value",
4760
+ "type": {
4761
+ "text": "string | ArrayBuffer"
4762
+ },
4763
+ "description": "The value to encode to base64."
4764
+ }
4765
+ ],
4766
+ "description": "Encodes the given value to base64.",
4767
+ "privacy": "public"
4768
+ },
4769
+ {
4770
+ "kind": "function",
4771
+ "name": "encodeToBase64WithPrefix",
4772
+ "return": {
4773
+ "type": {
4774
+ "text": ""
4775
+ }
4776
+ },
4777
+ "parameters": [
4778
+ {
4779
+ "name": "value",
4780
+ "type": {
4781
+ "text": "string | ArrayBuffer"
4782
+ },
4783
+ "description": "The value to encode to base64."
4784
+ }
4785
+ ],
4786
+ "description": "Encodes the given value with a prefix to base64.",
4787
+ "privacy": "public"
4788
+ }
4789
+ ],
4790
+ "exports": [
4791
+ {
4792
+ "kind": "js",
4793
+ "name": "encodeToBase64",
4794
+ "declaration": {
4795
+ "name": "encodeToBase64",
4796
+ "module": "src/encoding/base64/encode.ts"
4797
+ }
4798
+ },
4799
+ {
4800
+ "kind": "js",
4801
+ "name": "encodeToBase64WithPrefix",
4802
+ "declaration": {
4803
+ "name": "encodeToBase64WithPrefix",
4804
+ "module": "src/encoding/base64/encode.ts"
4805
+ }
4806
+ }
4807
+ ]
4808
+ },
4809
+ {
4810
+ "kind": "javascript-module",
4811
+ "path": "src/encoding/base64/index.ts",
4812
+ "declarations": [],
4813
+ "exports": [
4814
+ {
4815
+ "kind": "js",
4816
+ "name": "*",
4817
+ "declaration": {
4818
+ "name": "*",
4819
+ "package": "./decode"
4820
+ }
4821
+ },
4822
+ {
4823
+ "kind": "js",
4824
+ "name": "*",
4825
+ "declaration": {
4826
+ "name": "*",
4827
+ "package": "./encode"
4828
+ }
4829
+ }
4830
+ ]
4831
+ },
4832
+ {
4833
+ "kind": "javascript-module",
4834
+ "path": "src/window/index.ts",
4835
+ "declarations": [],
4836
+ "exports": [
4837
+ {
4838
+ "kind": "js",
4839
+ "name": "*",
4840
+ "declaration": {
4841
+ "name": "*",
4842
+ "package": "./window"
4843
+ }
4844
+ }
4845
+ ]
4846
+ },
4847
+ {
4848
+ "kind": "javascript-module",
4849
+ "path": "src/window/window.ts",
4850
+ "declarations": [
4851
+ {
4852
+ "kind": "function",
4853
+ "name": "inIFrame",
4854
+ "return": {
4855
+ "type": {
4856
+ "text": ""
4857
+ }
4858
+ },
4859
+ "description": "Returns a boolean value indicating whether the current window is inside an iframe.",
4860
+ "privacy": "public"
4861
+ },
4708
4862
  {
4709
4863
  "kind": "function",
4710
4864
  "name": "inSymphonyDesktop",
@@ -4977,160 +5131,6 @@
4977
5131
  }
4978
5132
  ]
4979
5133
  },
4980
- {
4981
- "kind": "javascript-module",
4982
- "path": "src/encoding/base64/decode.ts",
4983
- "declarations": [
4984
- {
4985
- "kind": "function",
4986
- "name": "decodeFromBase64",
4987
- "return": {
4988
- "type": {
4989
- "text": ""
4990
- }
4991
- },
4992
- "parameters": [
4993
- {
4994
- "name": "base64Value",
4995
- "type": {
4996
- "text": "string"
4997
- }
4998
- },
4999
- {
5000
- "description": "The value to decode from base64.",
5001
- "name": "value"
5002
- }
5003
- ],
5004
- "description": "Decodes a value from base64.",
5005
- "privacy": "public"
5006
- },
5007
- {
5008
- "kind": "function",
5009
- "name": "decodeFromBase64WithPrefix",
5010
- "return": {
5011
- "type": {
5012
- "text": ""
5013
- }
5014
- },
5015
- "parameters": [
5016
- {
5017
- "name": "value",
5018
- "type": {
5019
- "text": "string"
5020
- },
5021
- "description": "The value to decode from base64."
5022
- }
5023
- ],
5024
- "description": "Decodes a value from base64 with a prefix.",
5025
- "privacy": "public"
5026
- }
5027
- ],
5028
- "exports": [
5029
- {
5030
- "kind": "js",
5031
- "name": "decodeFromBase64",
5032
- "declaration": {
5033
- "name": "decodeFromBase64",
5034
- "module": "src/encoding/base64/decode.ts"
5035
- }
5036
- },
5037
- {
5038
- "kind": "js",
5039
- "name": "decodeFromBase64WithPrefix",
5040
- "declaration": {
5041
- "name": "decodeFromBase64WithPrefix",
5042
- "module": "src/encoding/base64/decode.ts"
5043
- }
5044
- }
5045
- ]
5046
- },
5047
- {
5048
- "kind": "javascript-module",
5049
- "path": "src/encoding/base64/encode.ts",
5050
- "declarations": [
5051
- {
5052
- "kind": "function",
5053
- "name": "encodeToBase64",
5054
- "return": {
5055
- "type": {
5056
- "text": ""
5057
- }
5058
- },
5059
- "parameters": [
5060
- {
5061
- "name": "value",
5062
- "type": {
5063
- "text": "string | ArrayBuffer"
5064
- },
5065
- "description": "The value to encode to base64."
5066
- }
5067
- ],
5068
- "description": "Encodes the given value to base64.",
5069
- "privacy": "public"
5070
- },
5071
- {
5072
- "kind": "function",
5073
- "name": "encodeToBase64WithPrefix",
5074
- "return": {
5075
- "type": {
5076
- "text": ""
5077
- }
5078
- },
5079
- "parameters": [
5080
- {
5081
- "name": "value",
5082
- "type": {
5083
- "text": "string | ArrayBuffer"
5084
- },
5085
- "description": "The value to encode to base64."
5086
- }
5087
- ],
5088
- "description": "Encodes the given value with a prefix to base64.",
5089
- "privacy": "public"
5090
- }
5091
- ],
5092
- "exports": [
5093
- {
5094
- "kind": "js",
5095
- "name": "encodeToBase64",
5096
- "declaration": {
5097
- "name": "encodeToBase64",
5098
- "module": "src/encoding/base64/encode.ts"
5099
- }
5100
- },
5101
- {
5102
- "kind": "js",
5103
- "name": "encodeToBase64WithPrefix",
5104
- "declaration": {
5105
- "name": "encodeToBase64WithPrefix",
5106
- "module": "src/encoding/base64/encode.ts"
5107
- }
5108
- }
5109
- ]
5110
- },
5111
- {
5112
- "kind": "javascript-module",
5113
- "path": "src/encoding/base64/index.ts",
5114
- "declarations": [],
5115
- "exports": [
5116
- {
5117
- "kind": "js",
5118
- "name": "*",
5119
- "declaration": {
5120
- "name": "*",
5121
- "package": "./decode"
5122
- }
5123
- },
5124
- {
5125
- "kind": "js",
5126
- "name": "*",
5127
- "declaration": {
5128
- "name": "*",
5129
- "package": "./encode"
5130
- }
5131
- }
5132
- ]
5133
- },
5134
5134
  {
5135
5135
  "kind": "javascript-module",
5136
5136
  "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.430.1",
4
+ "version": "14.430.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.430.1",
33
- "@genesislcap/genx": "14.430.1",
34
- "@genesislcap/rollup-builder": "14.430.1",
35
- "@genesislcap/ts-builder": "14.430.1",
36
- "@genesislcap/uvu-playwright-builder": "14.430.1",
37
- "@genesislcap/vite-builder": "14.430.1",
38
- "@genesislcap/webpack-builder": "14.430.1",
32
+ "@genesislcap/foundation-testing": "14.430.2",
33
+ "@genesislcap/genx": "14.430.2",
34
+ "@genesislcap/rollup-builder": "14.430.2",
35
+ "@genesislcap/ts-builder": "14.430.2",
36
+ "@genesislcap/uvu-playwright-builder": "14.430.2",
37
+ "@genesislcap/vite-builder": "14.430.2",
38
+ "@genesislcap/webpack-builder": "14.430.2",
39
39
  "@types/json-schema": "^7.0.11"
40
40
  },
41
41
  "dependencies": {
42
- "@genesislcap/expression-builder": "14.430.1",
43
- "@genesislcap/foundation-logger": "14.430.1",
42
+ "@genesislcap/expression-builder": "14.430.2",
43
+ "@genesislcap/foundation-logger": "14.430.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": "6eb4026225087b765f5363f7233d3450af040900"
61
+ "gitHead": "8f0909f596913e22983d0c0558939c2924689e64"
62
62
  }