@genesislcap/foundation-utils 14.424.1-alpha-cfc2887.0 → 14.424.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 +213 -213
  2. package/package.json +11 -11
@@ -250,6 +250,59 @@
250
250
  }
251
251
  ]
252
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
+ },
253
306
  {
254
307
  "kind": "javascript-module",
255
308
  "path": "src/data/inMemoryDatabase.ts",
@@ -568,29 +621,6 @@
568
621
  }
569
622
  ]
570
623
  },
571
- {
572
- "kind": "javascript-module",
573
- "path": "src/directives/index.ts",
574
- "declarations": [],
575
- "exports": [
576
- {
577
- "kind": "js",
578
- "name": "*",
579
- "declaration": {
580
- "name": "*",
581
- "package": "./sync"
582
- }
583
- },
584
- {
585
- "kind": "js",
586
- "name": "*",
587
- "declaration": {
588
- "name": "*",
589
- "package": "./when-else"
590
- }
591
- }
592
- ]
593
- },
594
624
  {
595
625
  "kind": "javascript-module",
596
626
  "path": "src/encoding/index.ts",
@@ -1083,7 +1113,7 @@
1083
1113
  },
1084
1114
  {
1085
1115
  "kind": "javascript-module",
1086
- "path": "src/decorators/index.ts",
1116
+ "path": "src/directives/index.ts",
1087
1117
  "declarations": [],
1088
1118
  "exports": [
1089
1119
  {
@@ -1091,45 +1121,15 @@
1091
1121
  "name": "*",
1092
1122
  "declaration": {
1093
1123
  "name": "*",
1094
- "package": "./renderOnChange"
1124
+ "package": "./sync"
1095
1125
  }
1096
- }
1097
- ]
1098
- },
1099
- {
1100
- "kind": "javascript-module",
1101
- "path": "src/decorators/renderOnChange.ts",
1102
- "declarations": [
1103
- {
1104
- "kind": "function",
1105
- "name": "renderOnChange",
1106
- "parameters": [
1107
- {
1108
- "name": "target",
1109
- "type": {
1110
- "text": "FASTElement & { render(): void }"
1111
- },
1112
- "description": "The target to define the property change handler on."
1113
- },
1114
- {
1115
- "name": "name",
1116
- "type": {
1117
- "text": "string"
1118
- },
1119
- "description": "The property name."
1120
- }
1121
- ],
1122
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
1123
- "privacy": "public"
1124
- }
1125
- ],
1126
- "exports": [
1126
+ },
1127
1127
  {
1128
1128
  "kind": "js",
1129
- "name": "renderOnChange",
1129
+ "name": "*",
1130
1130
  "declaration": {
1131
- "name": "renderOnChange",
1132
- "module": "src/decorators/renderOnChange.ts"
1131
+ "name": "*",
1132
+ "package": "./when-else"
1133
1133
  }
1134
1134
  }
1135
1135
  ]
@@ -4308,160 +4308,6 @@
4308
4308
  }
4309
4309
  ]
4310
4310
  },
4311
- {
4312
- "kind": "javascript-module",
4313
- "path": "src/directives/sync/index.ts",
4314
- "declarations": [],
4315
- "exports": [
4316
- {
4317
- "kind": "js",
4318
- "name": "*",
4319
- "declaration": {
4320
- "name": "*",
4321
- "package": "./sync"
4322
- }
4323
- }
4324
- ]
4325
- },
4326
- {
4327
- "kind": "javascript-module",
4328
- "path": "src/directives/sync/sync.ts",
4329
- "declarations": [
4330
- {
4331
- "kind": "variable",
4332
- "name": "defaultEventMap",
4333
- "type": {
4334
- "text": "Map<string, EventName>"
4335
- },
4336
- "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])",
4337
- "description": "A map that associates specific HTML element tags with their corresponding default event names.",
4338
- "privacy": "public"
4339
- },
4340
- {
4341
- "kind": "function",
4342
- "name": "sync",
4343
- "return": {
4344
- "type": {
4345
- "text": "CaptureType<TSource>"
4346
- }
4347
- },
4348
- "parameters": [
4349
- {
4350
- "name": "binding",
4351
- "type": {
4352
- "text": "Binding<TSource, TReturn>"
4353
- }
4354
- },
4355
- {
4356
- "name": "conversionType",
4357
- "default": "'string'",
4358
- "type": {
4359
- "text": "ConversionType"
4360
- }
4361
- },
4362
- {
4363
- "name": "eventName",
4364
- "default": "'default'",
4365
- "type": {
4366
- "text": "EventName"
4367
- }
4368
- },
4369
- {
4370
- "name": "keyAttr",
4371
- "optional": true,
4372
- "type": {
4373
- "text": "string"
4374
- }
4375
- }
4376
- ],
4377
- "description": "Creates a synchronization directive that binds a data source to an HTML element,",
4378
- "privacy": "public"
4379
- }
4380
- ],
4381
- "exports": [
4382
- {
4383
- "kind": "js",
4384
- "name": "defaultEventMap",
4385
- "declaration": {
4386
- "name": "defaultEventMap",
4387
- "module": "src/directives/sync/sync.ts"
4388
- }
4389
- },
4390
- {
4391
- "kind": "js",
4392
- "name": "sync",
4393
- "declaration": {
4394
- "name": "sync",
4395
- "module": "src/directives/sync/sync.ts"
4396
- }
4397
- }
4398
- ]
4399
- },
4400
- {
4401
- "kind": "javascript-module",
4402
- "path": "src/directives/when-else/index.ts",
4403
- "declarations": [],
4404
- "exports": [
4405
- {
4406
- "kind": "js",
4407
- "name": "*",
4408
- "declaration": {
4409
- "name": "*",
4410
- "package": "./when-else"
4411
- }
4412
- }
4413
- ]
4414
- },
4415
- {
4416
- "kind": "javascript-module",
4417
- "path": "src/directives/when-else/when-else.ts",
4418
- "declarations": [
4419
- {
4420
- "kind": "function",
4421
- "name": "whenElse",
4422
- "return": {
4423
- "type": {
4424
- "text": "CaptureType<TSource>"
4425
- }
4426
- },
4427
- "parameters": [
4428
- {
4429
- "name": "binding",
4430
- "type": {
4431
- "text": "Binding<TSource, TReturn>"
4432
- },
4433
- "description": "The condition to test for rendering."
4434
- },
4435
- {
4436
- "name": "trueTemplateOrTemplateBinding",
4437
- "type": {
4438
- "text": "WhenTemplate<TSource>"
4439
- },
4440
- "description": "The template or a binding that gets the template to render when the condition is true."
4441
- },
4442
- {
4443
- "name": "falseTemplateOrTemplateBinding",
4444
- "type": {
4445
- "text": "WhenTemplate<TSource>"
4446
- },
4447
- "description": "The template or a binding that gets the template to render when the condition is false."
4448
- }
4449
- ],
4450
- "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
4451
- "privacy": "public"
4452
- }
4453
- ],
4454
- "exports": [
4455
- {
4456
- "kind": "js",
4457
- "name": "whenElse",
4458
- "declaration": {
4459
- "name": "whenElse",
4460
- "module": "src/directives/when-else/when-else.ts"
4461
- }
4462
- }
4463
- ]
4464
- },
4465
4311
  {
4466
4312
  "kind": "javascript-module",
4467
4313
  "path": "src/encoding/base64/decode.ts",
@@ -4616,6 +4462,160 @@
4616
4462
  }
4617
4463
  ]
4618
4464
  },
4465
+ {
4466
+ "kind": "javascript-module",
4467
+ "path": "src/directives/sync/index.ts",
4468
+ "declarations": [],
4469
+ "exports": [
4470
+ {
4471
+ "kind": "js",
4472
+ "name": "*",
4473
+ "declaration": {
4474
+ "name": "*",
4475
+ "package": "./sync"
4476
+ }
4477
+ }
4478
+ ]
4479
+ },
4480
+ {
4481
+ "kind": "javascript-module",
4482
+ "path": "src/directives/sync/sync.ts",
4483
+ "declarations": [
4484
+ {
4485
+ "kind": "variable",
4486
+ "name": "defaultEventMap",
4487
+ "type": {
4488
+ "text": "Map<string, EventName>"
4489
+ },
4490
+ "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])",
4491
+ "description": "A map that associates specific HTML element tags with their corresponding default event names.",
4492
+ "privacy": "public"
4493
+ },
4494
+ {
4495
+ "kind": "function",
4496
+ "name": "sync",
4497
+ "return": {
4498
+ "type": {
4499
+ "text": "CaptureType<TSource>"
4500
+ }
4501
+ },
4502
+ "parameters": [
4503
+ {
4504
+ "name": "binding",
4505
+ "type": {
4506
+ "text": "Binding<TSource, TReturn>"
4507
+ }
4508
+ },
4509
+ {
4510
+ "name": "conversionType",
4511
+ "default": "'string'",
4512
+ "type": {
4513
+ "text": "ConversionType"
4514
+ }
4515
+ },
4516
+ {
4517
+ "name": "eventName",
4518
+ "default": "'default'",
4519
+ "type": {
4520
+ "text": "EventName"
4521
+ }
4522
+ },
4523
+ {
4524
+ "name": "keyAttr",
4525
+ "optional": true,
4526
+ "type": {
4527
+ "text": "string"
4528
+ }
4529
+ }
4530
+ ],
4531
+ "description": "Creates a synchronization directive that binds a data source to an HTML element,",
4532
+ "privacy": "public"
4533
+ }
4534
+ ],
4535
+ "exports": [
4536
+ {
4537
+ "kind": "js",
4538
+ "name": "defaultEventMap",
4539
+ "declaration": {
4540
+ "name": "defaultEventMap",
4541
+ "module": "src/directives/sync/sync.ts"
4542
+ }
4543
+ },
4544
+ {
4545
+ "kind": "js",
4546
+ "name": "sync",
4547
+ "declaration": {
4548
+ "name": "sync",
4549
+ "module": "src/directives/sync/sync.ts"
4550
+ }
4551
+ }
4552
+ ]
4553
+ },
4554
+ {
4555
+ "kind": "javascript-module",
4556
+ "path": "src/directives/when-else/index.ts",
4557
+ "declarations": [],
4558
+ "exports": [
4559
+ {
4560
+ "kind": "js",
4561
+ "name": "*",
4562
+ "declaration": {
4563
+ "name": "*",
4564
+ "package": "./when-else"
4565
+ }
4566
+ }
4567
+ ]
4568
+ },
4569
+ {
4570
+ "kind": "javascript-module",
4571
+ "path": "src/directives/when-else/when-else.ts",
4572
+ "declarations": [
4573
+ {
4574
+ "kind": "function",
4575
+ "name": "whenElse",
4576
+ "return": {
4577
+ "type": {
4578
+ "text": "CaptureType<TSource>"
4579
+ }
4580
+ },
4581
+ "parameters": [
4582
+ {
4583
+ "name": "binding",
4584
+ "type": {
4585
+ "text": "Binding<TSource, TReturn>"
4586
+ },
4587
+ "description": "The condition to test for rendering."
4588
+ },
4589
+ {
4590
+ "name": "trueTemplateOrTemplateBinding",
4591
+ "type": {
4592
+ "text": "WhenTemplate<TSource>"
4593
+ },
4594
+ "description": "The template or a binding that gets the template to render when the condition is true."
4595
+ },
4596
+ {
4597
+ "name": "falseTemplateOrTemplateBinding",
4598
+ "type": {
4599
+ "text": "WhenTemplate<TSource>"
4600
+ },
4601
+ "description": "The template or a binding that gets the template to render when the condition is false."
4602
+ }
4603
+ ],
4604
+ "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
4605
+ "privacy": "public"
4606
+ }
4607
+ ],
4608
+ "exports": [
4609
+ {
4610
+ "kind": "js",
4611
+ "name": "whenElse",
4612
+ "declaration": {
4613
+ "name": "whenElse",
4614
+ "module": "src/directives/when-else/when-else.ts"
4615
+ }
4616
+ }
4617
+ ]
4618
+ },
4619
4619
  {
4620
4620
  "kind": "javascript-module",
4621
4621
  "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.424.1-alpha-cfc2887.0",
4
+ "version": "14.424.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.424.1-alpha-cfc2887.0",
33
- "@genesislcap/genx": "14.424.1-alpha-cfc2887.0",
34
- "@genesislcap/rollup-builder": "14.424.1-alpha-cfc2887.0",
35
- "@genesislcap/ts-builder": "14.424.1-alpha-cfc2887.0",
36
- "@genesislcap/uvu-playwright-builder": "14.424.1-alpha-cfc2887.0",
37
- "@genesislcap/vite-builder": "14.424.1-alpha-cfc2887.0",
38
- "@genesislcap/webpack-builder": "14.424.1-alpha-cfc2887.0",
32
+ "@genesislcap/foundation-testing": "14.424.1",
33
+ "@genesislcap/genx": "14.424.1",
34
+ "@genesislcap/rollup-builder": "14.424.1",
35
+ "@genesislcap/ts-builder": "14.424.1",
36
+ "@genesislcap/uvu-playwright-builder": "14.424.1",
37
+ "@genesislcap/vite-builder": "14.424.1",
38
+ "@genesislcap/webpack-builder": "14.424.1",
39
39
  "@types/json-schema": "^7.0.11"
40
40
  },
41
41
  "dependencies": {
42
- "@genesislcap/expression-builder": "14.424.1-alpha-cfc2887.0",
43
- "@genesislcap/foundation-logger": "14.424.1-alpha-cfc2887.0",
42
+ "@genesislcap/expression-builder": "14.424.1",
43
+ "@genesislcap/foundation-logger": "14.424.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": "0460a55fc4d9bde4d0e6e11db51125a371bf5b4d"
61
+ "gitHead": "04bb18a6f0b26506a9d87ab252ce9e2329219a5e"
62
62
  }