@genesislcap/foundation-utils 15.51.0 → 15.51.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.
@@ -258,6 +258,59 @@
258
258
  }
259
259
  ]
260
260
  },
261
+ {
262
+ "kind": "javascript-module",
263
+ "path": "src/decorators/index.ts",
264
+ "declarations": [],
265
+ "exports": [
266
+ {
267
+ "kind": "js",
268
+ "name": "*",
269
+ "declaration": {
270
+ "name": "*",
271
+ "package": "./renderOnChange"
272
+ }
273
+ }
274
+ ]
275
+ },
276
+ {
277
+ "kind": "javascript-module",
278
+ "path": "src/decorators/renderOnChange.ts",
279
+ "declarations": [
280
+ {
281
+ "kind": "function",
282
+ "name": "renderOnChange",
283
+ "parameters": [
284
+ {
285
+ "name": "target",
286
+ "type": {
287
+ "text": "FASTElement & { render(): void }"
288
+ },
289
+ "description": "The target to define the property change handler on."
290
+ },
291
+ {
292
+ "name": "name",
293
+ "type": {
294
+ "text": "string"
295
+ },
296
+ "description": "The property name."
297
+ }
298
+ ],
299
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
300
+ "privacy": "public"
301
+ }
302
+ ],
303
+ "exports": [
304
+ {
305
+ "kind": "js",
306
+ "name": "renderOnChange",
307
+ "declaration": {
308
+ "name": "renderOnChange",
309
+ "module": "src/decorators/renderOnChange.ts"
310
+ }
311
+ }
312
+ ]
313
+ },
261
314
  {
262
315
  "kind": "javascript-module",
263
316
  "path": "src/design-system/design-system.ts",
@@ -658,82 +711,6 @@
658
711
  }
659
712
  ]
660
713
  },
661
- {
662
- "kind": "javascript-module",
663
- "path": "src/decorators/index.ts",
664
- "declarations": [],
665
- "exports": [
666
- {
667
- "kind": "js",
668
- "name": "*",
669
- "declaration": {
670
- "name": "*",
671
- "package": "./renderOnChange"
672
- }
673
- }
674
- ]
675
- },
676
- {
677
- "kind": "javascript-module",
678
- "path": "src/decorators/renderOnChange.ts",
679
- "declarations": [
680
- {
681
- "kind": "function",
682
- "name": "renderOnChange",
683
- "parameters": [
684
- {
685
- "name": "target",
686
- "type": {
687
- "text": "FASTElement & { render(): void }"
688
- },
689
- "description": "The target to define the property change handler on."
690
- },
691
- {
692
- "name": "name",
693
- "type": {
694
- "text": "string"
695
- },
696
- "description": "The property name."
697
- }
698
- ],
699
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
700
- "privacy": "public"
701
- }
702
- ],
703
- "exports": [
704
- {
705
- "kind": "js",
706
- "name": "renderOnChange",
707
- "declaration": {
708
- "name": "renderOnChange",
709
- "module": "src/decorators/renderOnChange.ts"
710
- }
711
- }
712
- ]
713
- },
714
- {
715
- "kind": "javascript-module",
716
- "path": "src/directives/index.ts",
717
- "declarations": [],
718
- "exports": [
719
- {
720
- "kind": "js",
721
- "name": "*",
722
- "declaration": {
723
- "name": "*",
724
- "package": "./sync"
725
- }
726
- },
727
- {
728
- "kind": "js",
729
- "name": "*",
730
- "declaration": {
731
- "name": "*",
732
- "package": "./when-else"
733
- }
734
- }
735
- ]
736
- },
737
714
  {
738
715
  "kind": "javascript-module",
739
716
  "path": "src/encoding/index.ts",
@@ -1248,6 +1225,29 @@
1248
1225
  }
1249
1226
  ]
1250
1227
  },
1228
+ {
1229
+ "kind": "javascript-module",
1230
+ "path": "src/directives/index.ts",
1231
+ "declarations": [],
1232
+ "exports": [
1233
+ {
1234
+ "kind": "js",
1235
+ "name": "*",
1236
+ "declaration": {
1237
+ "name": "*",
1238
+ "package": "./sync"
1239
+ }
1240
+ },
1241
+ {
1242
+ "kind": "js",
1243
+ "name": "*",
1244
+ "declaration": {
1245
+ "name": "*",
1246
+ "package": "./when-else"
1247
+ }
1248
+ }
1249
+ ]
1250
+ },
1251
1251
  {
1252
1252
  "kind": "javascript-module",
1253
1253
  "path": "src/error/errorMap.ts",
@@ -5034,160 +5034,6 @@
5034
5034
  }
5035
5035
  ]
5036
5036
  },
5037
- {
5038
- "kind": "javascript-module",
5039
- "path": "src/directives/sync/index.ts",
5040
- "declarations": [],
5041
- "exports": [
5042
- {
5043
- "kind": "js",
5044
- "name": "*",
5045
- "declaration": {
5046
- "name": "*",
5047
- "package": "./sync"
5048
- }
5049
- }
5050
- ]
5051
- },
5052
- {
5053
- "kind": "javascript-module",
5054
- "path": "src/directives/sync/sync.ts",
5055
- "declarations": [
5056
- {
5057
- "kind": "variable",
5058
- "name": "defaultEventMap",
5059
- "type": {
5060
- "text": "Map<string, EventName>"
5061
- },
5062
- "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])",
5063
- "description": "A map that associates specific HTML element tags with their corresponding default event names.",
5064
- "privacy": "public"
5065
- },
5066
- {
5067
- "kind": "function",
5068
- "name": "sync",
5069
- "return": {
5070
- "type": {
5071
- "text": "CaptureType<TSource>"
5072
- }
5073
- },
5074
- "parameters": [
5075
- {
5076
- "name": "binding",
5077
- "type": {
5078
- "text": "Binding<TSource, TReturn>"
5079
- }
5080
- },
5081
- {
5082
- "name": "conversionType",
5083
- "default": "'string'",
5084
- "type": {
5085
- "text": "ConversionType"
5086
- }
5087
- },
5088
- {
5089
- "name": "eventName",
5090
- "default": "'default'",
5091
- "type": {
5092
- "text": "EventName"
5093
- }
5094
- },
5095
- {
5096
- "name": "keyAttr",
5097
- "optional": true,
5098
- "type": {
5099
- "text": "string"
5100
- }
5101
- }
5102
- ],
5103
- "description": "Creates a synchronization directive that binds a data source to an HTML element,",
5104
- "privacy": "public"
5105
- }
5106
- ],
5107
- "exports": [
5108
- {
5109
- "kind": "js",
5110
- "name": "defaultEventMap",
5111
- "declaration": {
5112
- "name": "defaultEventMap",
5113
- "module": "src/directives/sync/sync.ts"
5114
- }
5115
- },
5116
- {
5117
- "kind": "js",
5118
- "name": "sync",
5119
- "declaration": {
5120
- "name": "sync",
5121
- "module": "src/directives/sync/sync.ts"
5122
- }
5123
- }
5124
- ]
5125
- },
5126
- {
5127
- "kind": "javascript-module",
5128
- "path": "src/directives/when-else/index.ts",
5129
- "declarations": [],
5130
- "exports": [
5131
- {
5132
- "kind": "js",
5133
- "name": "*",
5134
- "declaration": {
5135
- "name": "*",
5136
- "package": "./when-else"
5137
- }
5138
- }
5139
- ]
5140
- },
5141
- {
5142
- "kind": "javascript-module",
5143
- "path": "src/directives/when-else/when-else.ts",
5144
- "declarations": [
5145
- {
5146
- "kind": "function",
5147
- "name": "whenElse",
5148
- "return": {
5149
- "type": {
5150
- "text": "CaptureType<TSource>"
5151
- }
5152
- },
5153
- "parameters": [
5154
- {
5155
- "name": "binding",
5156
- "type": {
5157
- "text": "Binding<TSource, TReturn>"
5158
- },
5159
- "description": "The condition to test for rendering."
5160
- },
5161
- {
5162
- "name": "trueTemplateOrTemplateBinding",
5163
- "type": {
5164
- "text": "WhenTemplate<TSource>"
5165
- },
5166
- "description": "The template or a binding that gets the template to render when the condition is true."
5167
- },
5168
- {
5169
- "name": "falseTemplateOrTemplateBinding",
5170
- "type": {
5171
- "text": "WhenTemplate<TSource>"
5172
- },
5173
- "description": "The template or a binding that gets the template to render when the condition is false."
5174
- }
5175
- ],
5176
- "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
5177
- "privacy": "public"
5178
- }
5179
- ],
5180
- "exports": [
5181
- {
5182
- "kind": "js",
5183
- "name": "whenElse",
5184
- "declaration": {
5185
- "name": "whenElse",
5186
- "module": "src/directives/when-else/when-else.ts"
5187
- }
5188
- }
5189
- ]
5190
- },
5191
5037
  {
5192
5038
  "kind": "javascript-module",
5193
5039
  "path": "src/encoding/base64/decode.ts",
@@ -5342,6 +5188,160 @@
5342
5188
  }
5343
5189
  ]
5344
5190
  },
5191
+ {
5192
+ "kind": "javascript-module",
5193
+ "path": "src/directives/sync/index.ts",
5194
+ "declarations": [],
5195
+ "exports": [
5196
+ {
5197
+ "kind": "js",
5198
+ "name": "*",
5199
+ "declaration": {
5200
+ "name": "*",
5201
+ "package": "./sync"
5202
+ }
5203
+ }
5204
+ ]
5205
+ },
5206
+ {
5207
+ "kind": "javascript-module",
5208
+ "path": "src/directives/sync/sync.ts",
5209
+ "declarations": [
5210
+ {
5211
+ "kind": "variable",
5212
+ "name": "defaultEventMap",
5213
+ "type": {
5214
+ "text": "Map<string, EventName>"
5215
+ },
5216
+ "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])",
5217
+ "description": "A map that associates specific HTML element tags with their corresponding default event names.",
5218
+ "privacy": "public"
5219
+ },
5220
+ {
5221
+ "kind": "function",
5222
+ "name": "sync",
5223
+ "return": {
5224
+ "type": {
5225
+ "text": "CaptureType<TSource>"
5226
+ }
5227
+ },
5228
+ "parameters": [
5229
+ {
5230
+ "name": "binding",
5231
+ "type": {
5232
+ "text": "Binding<TSource, TReturn>"
5233
+ }
5234
+ },
5235
+ {
5236
+ "name": "conversionType",
5237
+ "default": "'string'",
5238
+ "type": {
5239
+ "text": "ConversionType"
5240
+ }
5241
+ },
5242
+ {
5243
+ "name": "eventName",
5244
+ "default": "'default'",
5245
+ "type": {
5246
+ "text": "EventName"
5247
+ }
5248
+ },
5249
+ {
5250
+ "name": "keyAttr",
5251
+ "optional": true,
5252
+ "type": {
5253
+ "text": "string"
5254
+ }
5255
+ }
5256
+ ],
5257
+ "description": "Creates a synchronization directive that binds a data source to an HTML element,",
5258
+ "privacy": "public"
5259
+ }
5260
+ ],
5261
+ "exports": [
5262
+ {
5263
+ "kind": "js",
5264
+ "name": "defaultEventMap",
5265
+ "declaration": {
5266
+ "name": "defaultEventMap",
5267
+ "module": "src/directives/sync/sync.ts"
5268
+ }
5269
+ },
5270
+ {
5271
+ "kind": "js",
5272
+ "name": "sync",
5273
+ "declaration": {
5274
+ "name": "sync",
5275
+ "module": "src/directives/sync/sync.ts"
5276
+ }
5277
+ }
5278
+ ]
5279
+ },
5280
+ {
5281
+ "kind": "javascript-module",
5282
+ "path": "src/directives/when-else/index.ts",
5283
+ "declarations": [],
5284
+ "exports": [
5285
+ {
5286
+ "kind": "js",
5287
+ "name": "*",
5288
+ "declaration": {
5289
+ "name": "*",
5290
+ "package": "./when-else"
5291
+ }
5292
+ }
5293
+ ]
5294
+ },
5295
+ {
5296
+ "kind": "javascript-module",
5297
+ "path": "src/directives/when-else/when-else.ts",
5298
+ "declarations": [
5299
+ {
5300
+ "kind": "function",
5301
+ "name": "whenElse",
5302
+ "return": {
5303
+ "type": {
5304
+ "text": "CaptureType<TSource>"
5305
+ }
5306
+ },
5307
+ "parameters": [
5308
+ {
5309
+ "name": "binding",
5310
+ "type": {
5311
+ "text": "Binding<TSource, TReturn>"
5312
+ },
5313
+ "description": "The condition to test for rendering."
5314
+ },
5315
+ {
5316
+ "name": "trueTemplateOrTemplateBinding",
5317
+ "type": {
5318
+ "text": "WhenTemplate<TSource>"
5319
+ },
5320
+ "description": "The template or a binding that gets the template to render when the condition is true."
5321
+ },
5322
+ {
5323
+ "name": "falseTemplateOrTemplateBinding",
5324
+ "type": {
5325
+ "text": "WhenTemplate<TSource>"
5326
+ },
5327
+ "description": "The template or a binding that gets the template to render when the condition is false."
5328
+ }
5329
+ ],
5330
+ "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
5331
+ "privacy": "public"
5332
+ }
5333
+ ],
5334
+ "exports": [
5335
+ {
5336
+ "kind": "js",
5337
+ "name": "whenElse",
5338
+ "declaration": {
5339
+ "name": "whenElse",
5340
+ "module": "src/directives/when-else/when-else.ts"
5341
+ }
5342
+ }
5343
+ ]
5344
+ },
5345
5345
  {
5346
5346
  "kind": "javascript-module",
5347
5347
  "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": "15.51.0",
4
+ "version": "15.51.1",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -29,17 +29,17 @@
29
29
  }
30
30
  },
31
31
  "devDependencies": {
32
- "@genesislcap/foundation-testing": "15.51.0",
33
- "@genesislcap/genx": "15.51.0",
34
- "@genesislcap/ts-builder": "15.51.0",
35
- "@genesislcap/uvu-playwright-builder": "15.51.0",
36
- "@genesislcap/vite-builder": "15.51.0",
37
- "@genesislcap/webpack-builder": "15.51.0",
32
+ "@genesislcap/foundation-testing": "15.51.1",
33
+ "@genesislcap/genx": "15.51.1",
34
+ "@genesislcap/ts-builder": "15.51.1",
35
+ "@genesislcap/uvu-playwright-builder": "15.51.1",
36
+ "@genesislcap/vite-builder": "15.51.1",
37
+ "@genesislcap/webpack-builder": "15.51.1",
38
38
  "@types/json-schema": "^7.0.11"
39
39
  },
40
40
  "dependencies": {
41
- "@genesislcap/expression-builder": "15.51.0",
42
- "@genesislcap/foundation-logger": "15.51.0",
41
+ "@genesislcap/expression-builder": "15.51.1",
42
+ "@genesislcap/foundation-logger": "15.51.1",
43
43
  "@microsoft/fast-components": "2.30.6",
44
44
  "@microsoft/fast-element": "1.14.0",
45
45
  "@microsoft/fast-foundation": "2.50.0",