@genesislcap/foundation-utils 14.336.2-alpha-617d8b7.0 → 14.336.2-alpha-f7a62bf.0
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.
- package/dist/custom-elements.json +209 -209
- package/package.json +11 -11
@@ -385,7 +385,7 @@
|
|
385
385
|
},
|
386
386
|
{
|
387
387
|
"kind": "javascript-module",
|
388
|
-
"path": "src/
|
388
|
+
"path": "src/encoding/index.ts",
|
389
389
|
"declarations": [],
|
390
390
|
"exports": [
|
391
391
|
{
|
@@ -393,45 +393,7 @@
|
|
393
393
|
"name": "*",
|
394
394
|
"declaration": {
|
395
395
|
"name": "*",
|
396
|
-
"package": "./
|
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"
|
396
|
+
"package": "./base64"
|
435
397
|
}
|
436
398
|
}
|
437
399
|
]
|
@@ -459,21 +421,6 @@
|
|
459
421
|
}
|
460
422
|
]
|
461
423
|
},
|
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
424
|
{
|
478
425
|
"kind": "javascript-module",
|
479
426
|
"path": "src/env/index.ts",
|
@@ -949,6 +896,59 @@
|
|
949
896
|
}
|
950
897
|
]
|
951
898
|
},
|
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
952
|
{
|
953
953
|
"kind": "javascript-module",
|
954
954
|
"path": "src/error/errorMap.ts",
|
@@ -3955,160 +3955,6 @@
|
|
3955
3955
|
}
|
3956
3956
|
]
|
3957
3957
|
},
|
3958
|
-
{
|
3959
|
-
"kind": "javascript-module",
|
3960
|
-
"path": "src/directives/sync/index.ts",
|
3961
|
-
"declarations": [],
|
3962
|
-
"exports": [
|
3963
|
-
{
|
3964
|
-
"kind": "js",
|
3965
|
-
"name": "*",
|
3966
|
-
"declaration": {
|
3967
|
-
"name": "*",
|
3968
|
-
"package": "./sync"
|
3969
|
-
}
|
3970
|
-
}
|
3971
|
-
]
|
3972
|
-
},
|
3973
|
-
{
|
3974
|
-
"kind": "javascript-module",
|
3975
|
-
"path": "src/directives/sync/sync.ts",
|
3976
|
-
"declarations": [
|
3977
|
-
{
|
3978
|
-
"kind": "variable",
|
3979
|
-
"name": "defaultEventMap",
|
3980
|
-
"type": {
|
3981
|
-
"text": "Map<string, EventName>"
|
3982
|
-
},
|
3983
|
-
"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])",
|
3984
|
-
"description": "A map that associates specific HTML element tags with their corresponding default event names.",
|
3985
|
-
"privacy": "public"
|
3986
|
-
},
|
3987
|
-
{
|
3988
|
-
"kind": "function",
|
3989
|
-
"name": "sync",
|
3990
|
-
"return": {
|
3991
|
-
"type": {
|
3992
|
-
"text": "CaptureType<TSource>"
|
3993
|
-
}
|
3994
|
-
},
|
3995
|
-
"parameters": [
|
3996
|
-
{
|
3997
|
-
"name": "binding",
|
3998
|
-
"type": {
|
3999
|
-
"text": "Binding<TSource, TReturn>"
|
4000
|
-
}
|
4001
|
-
},
|
4002
|
-
{
|
4003
|
-
"name": "conversionType",
|
4004
|
-
"default": "'string'",
|
4005
|
-
"type": {
|
4006
|
-
"text": "ConversionType"
|
4007
|
-
}
|
4008
|
-
},
|
4009
|
-
{
|
4010
|
-
"name": "eventName",
|
4011
|
-
"default": "'default'",
|
4012
|
-
"type": {
|
4013
|
-
"text": "EventName"
|
4014
|
-
}
|
4015
|
-
},
|
4016
|
-
{
|
4017
|
-
"name": "keyAttr",
|
4018
|
-
"optional": true,
|
4019
|
-
"type": {
|
4020
|
-
"text": "string"
|
4021
|
-
}
|
4022
|
-
}
|
4023
|
-
],
|
4024
|
-
"description": "Creates a synchronization directive that binds a data source to an HTML element,",
|
4025
|
-
"privacy": "public"
|
4026
|
-
}
|
4027
|
-
],
|
4028
|
-
"exports": [
|
4029
|
-
{
|
4030
|
-
"kind": "js",
|
4031
|
-
"name": "defaultEventMap",
|
4032
|
-
"declaration": {
|
4033
|
-
"name": "defaultEventMap",
|
4034
|
-
"module": "src/directives/sync/sync.ts"
|
4035
|
-
}
|
4036
|
-
},
|
4037
|
-
{
|
4038
|
-
"kind": "js",
|
4039
|
-
"name": "sync",
|
4040
|
-
"declaration": {
|
4041
|
-
"name": "sync",
|
4042
|
-
"module": "src/directives/sync/sync.ts"
|
4043
|
-
}
|
4044
|
-
}
|
4045
|
-
]
|
4046
|
-
},
|
4047
|
-
{
|
4048
|
-
"kind": "javascript-module",
|
4049
|
-
"path": "src/directives/when-else/index.ts",
|
4050
|
-
"declarations": [],
|
4051
|
-
"exports": [
|
4052
|
-
{
|
4053
|
-
"kind": "js",
|
4054
|
-
"name": "*",
|
4055
|
-
"declaration": {
|
4056
|
-
"name": "*",
|
4057
|
-
"package": "./when-else"
|
4058
|
-
}
|
4059
|
-
}
|
4060
|
-
]
|
4061
|
-
},
|
4062
|
-
{
|
4063
|
-
"kind": "javascript-module",
|
4064
|
-
"path": "src/directives/when-else/when-else.ts",
|
4065
|
-
"declarations": [
|
4066
|
-
{
|
4067
|
-
"kind": "function",
|
4068
|
-
"name": "whenElse",
|
4069
|
-
"return": {
|
4070
|
-
"type": {
|
4071
|
-
"text": "CaptureType<TSource>"
|
4072
|
-
}
|
4073
|
-
},
|
4074
|
-
"parameters": [
|
4075
|
-
{
|
4076
|
-
"name": "binding",
|
4077
|
-
"type": {
|
4078
|
-
"text": "Binding<TSource, TReturn>"
|
4079
|
-
},
|
4080
|
-
"description": "The condition to test for rendering."
|
4081
|
-
},
|
4082
|
-
{
|
4083
|
-
"name": "trueTemplateOrTemplateBinding",
|
4084
|
-
"type": {
|
4085
|
-
"text": "WhenTemplate<TSource>"
|
4086
|
-
},
|
4087
|
-
"description": "The template or a binding that gets the template to render when the condition is true."
|
4088
|
-
},
|
4089
|
-
{
|
4090
|
-
"name": "falseTemplateOrTemplateBinding",
|
4091
|
-
"type": {
|
4092
|
-
"text": "WhenTemplate<TSource>"
|
4093
|
-
},
|
4094
|
-
"description": "The template or a binding that gets the template to render when the condition is false."
|
4095
|
-
}
|
4096
|
-
],
|
4097
|
-
"description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
|
4098
|
-
"privacy": "public"
|
4099
|
-
}
|
4100
|
-
],
|
4101
|
-
"exports": [
|
4102
|
-
{
|
4103
|
-
"kind": "js",
|
4104
|
-
"name": "whenElse",
|
4105
|
-
"declaration": {
|
4106
|
-
"name": "whenElse",
|
4107
|
-
"module": "src/directives/when-else/when-else.ts"
|
4108
|
-
}
|
4109
|
-
}
|
4110
|
-
]
|
4111
|
-
},
|
4112
3958
|
{
|
4113
3959
|
"kind": "javascript-module",
|
4114
3960
|
"path": "src/encoding/base64/decode.ts",
|
@@ -4263,6 +4109,160 @@
|
|
4263
4109
|
}
|
4264
4110
|
]
|
4265
4111
|
},
|
4112
|
+
{
|
4113
|
+
"kind": "javascript-module",
|
4114
|
+
"path": "src/directives/sync/index.ts",
|
4115
|
+
"declarations": [],
|
4116
|
+
"exports": [
|
4117
|
+
{
|
4118
|
+
"kind": "js",
|
4119
|
+
"name": "*",
|
4120
|
+
"declaration": {
|
4121
|
+
"name": "*",
|
4122
|
+
"package": "./sync"
|
4123
|
+
}
|
4124
|
+
}
|
4125
|
+
]
|
4126
|
+
},
|
4127
|
+
{
|
4128
|
+
"kind": "javascript-module",
|
4129
|
+
"path": "src/directives/sync/sync.ts",
|
4130
|
+
"declarations": [
|
4131
|
+
{
|
4132
|
+
"kind": "variable",
|
4133
|
+
"name": "defaultEventMap",
|
4134
|
+
"type": {
|
4135
|
+
"text": "Map<string, EventName>"
|
4136
|
+
},
|
4137
|
+
"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])",
|
4138
|
+
"description": "A map that associates specific HTML element tags with their corresponding default event names.",
|
4139
|
+
"privacy": "public"
|
4140
|
+
},
|
4141
|
+
{
|
4142
|
+
"kind": "function",
|
4143
|
+
"name": "sync",
|
4144
|
+
"return": {
|
4145
|
+
"type": {
|
4146
|
+
"text": "CaptureType<TSource>"
|
4147
|
+
}
|
4148
|
+
},
|
4149
|
+
"parameters": [
|
4150
|
+
{
|
4151
|
+
"name": "binding",
|
4152
|
+
"type": {
|
4153
|
+
"text": "Binding<TSource, TReturn>"
|
4154
|
+
}
|
4155
|
+
},
|
4156
|
+
{
|
4157
|
+
"name": "conversionType",
|
4158
|
+
"default": "'string'",
|
4159
|
+
"type": {
|
4160
|
+
"text": "ConversionType"
|
4161
|
+
}
|
4162
|
+
},
|
4163
|
+
{
|
4164
|
+
"name": "eventName",
|
4165
|
+
"default": "'default'",
|
4166
|
+
"type": {
|
4167
|
+
"text": "EventName"
|
4168
|
+
}
|
4169
|
+
},
|
4170
|
+
{
|
4171
|
+
"name": "keyAttr",
|
4172
|
+
"optional": true,
|
4173
|
+
"type": {
|
4174
|
+
"text": "string"
|
4175
|
+
}
|
4176
|
+
}
|
4177
|
+
],
|
4178
|
+
"description": "Creates a synchronization directive that binds a data source to an HTML element,",
|
4179
|
+
"privacy": "public"
|
4180
|
+
}
|
4181
|
+
],
|
4182
|
+
"exports": [
|
4183
|
+
{
|
4184
|
+
"kind": "js",
|
4185
|
+
"name": "defaultEventMap",
|
4186
|
+
"declaration": {
|
4187
|
+
"name": "defaultEventMap",
|
4188
|
+
"module": "src/directives/sync/sync.ts"
|
4189
|
+
}
|
4190
|
+
},
|
4191
|
+
{
|
4192
|
+
"kind": "js",
|
4193
|
+
"name": "sync",
|
4194
|
+
"declaration": {
|
4195
|
+
"name": "sync",
|
4196
|
+
"module": "src/directives/sync/sync.ts"
|
4197
|
+
}
|
4198
|
+
}
|
4199
|
+
]
|
4200
|
+
},
|
4201
|
+
{
|
4202
|
+
"kind": "javascript-module",
|
4203
|
+
"path": "src/directives/when-else/index.ts",
|
4204
|
+
"declarations": [],
|
4205
|
+
"exports": [
|
4206
|
+
{
|
4207
|
+
"kind": "js",
|
4208
|
+
"name": "*",
|
4209
|
+
"declaration": {
|
4210
|
+
"name": "*",
|
4211
|
+
"package": "./when-else"
|
4212
|
+
}
|
4213
|
+
}
|
4214
|
+
]
|
4215
|
+
},
|
4216
|
+
{
|
4217
|
+
"kind": "javascript-module",
|
4218
|
+
"path": "src/directives/when-else/when-else.ts",
|
4219
|
+
"declarations": [
|
4220
|
+
{
|
4221
|
+
"kind": "function",
|
4222
|
+
"name": "whenElse",
|
4223
|
+
"return": {
|
4224
|
+
"type": {
|
4225
|
+
"text": "CaptureType<TSource>"
|
4226
|
+
}
|
4227
|
+
},
|
4228
|
+
"parameters": [
|
4229
|
+
{
|
4230
|
+
"name": "binding",
|
4231
|
+
"type": {
|
4232
|
+
"text": "Binding<TSource, TReturn>"
|
4233
|
+
},
|
4234
|
+
"description": "The condition to test for rendering."
|
4235
|
+
},
|
4236
|
+
{
|
4237
|
+
"name": "trueTemplateOrTemplateBinding",
|
4238
|
+
"type": {
|
4239
|
+
"text": "WhenTemplate<TSource>"
|
4240
|
+
},
|
4241
|
+
"description": "The template or a binding that gets the template to render when the condition is true."
|
4242
|
+
},
|
4243
|
+
{
|
4244
|
+
"name": "falseTemplateOrTemplateBinding",
|
4245
|
+
"type": {
|
4246
|
+
"text": "WhenTemplate<TSource>"
|
4247
|
+
},
|
4248
|
+
"description": "The template or a binding that gets the template to render when the condition is false."
|
4249
|
+
}
|
4250
|
+
],
|
4251
|
+
"description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
|
4252
|
+
"privacy": "public"
|
4253
|
+
}
|
4254
|
+
],
|
4255
|
+
"exports": [
|
4256
|
+
{
|
4257
|
+
"kind": "js",
|
4258
|
+
"name": "whenElse",
|
4259
|
+
"declaration": {
|
4260
|
+
"name": "whenElse",
|
4261
|
+
"module": "src/directives/when-else/when-else.ts"
|
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.336.2-alpha-
|
4
|
+
"version": "14.336.2-alpha-f7a62bf.0",
|
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.336.2-alpha-
|
31
|
-
"@genesislcap/genx": "14.336.2-alpha-
|
32
|
-
"@genesislcap/rollup-builder": "14.336.2-alpha-
|
33
|
-
"@genesislcap/ts-builder": "14.336.2-alpha-
|
34
|
-
"@genesislcap/uvu-playwright-builder": "14.336.2-alpha-
|
35
|
-
"@genesislcap/vite-builder": "14.336.2-alpha-
|
36
|
-
"@genesislcap/webpack-builder": "14.336.2-alpha-
|
30
|
+
"@genesislcap/foundation-testing": "14.336.2-alpha-f7a62bf.0",
|
31
|
+
"@genesislcap/genx": "14.336.2-alpha-f7a62bf.0",
|
32
|
+
"@genesislcap/rollup-builder": "14.336.2-alpha-f7a62bf.0",
|
33
|
+
"@genesislcap/ts-builder": "14.336.2-alpha-f7a62bf.0",
|
34
|
+
"@genesislcap/uvu-playwright-builder": "14.336.2-alpha-f7a62bf.0",
|
35
|
+
"@genesislcap/vite-builder": "14.336.2-alpha-f7a62bf.0",
|
36
|
+
"@genesislcap/webpack-builder": "14.336.2-alpha-f7a62bf.0",
|
37
37
|
"@types/json-schema": "^7.0.11"
|
38
38
|
},
|
39
39
|
"dependencies": {
|
40
|
-
"@genesislcap/expression-builder": "14.336.2-alpha-
|
41
|
-
"@genesislcap/foundation-logger": "14.336.2-alpha-
|
40
|
+
"@genesislcap/expression-builder": "14.336.2-alpha-f7a62bf.0",
|
41
|
+
"@genesislcap/foundation-logger": "14.336.2-alpha-f7a62bf.0",
|
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": "
|
59
|
+
"gitHead": "e531b7d2c0d55bf8b1ad48f3f4113cfb9da31a60"
|
60
60
|
}
|