@genesislcap/foundation-utils 14.174.0 → 14.175.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 +113 -113
- package/package.json +10 -10
|
@@ -357,59 +357,6 @@
|
|
|
357
357
|
}
|
|
358
358
|
]
|
|
359
359
|
},
|
|
360
|
-
{
|
|
361
|
-
"kind": "javascript-module",
|
|
362
|
-
"path": "src/decorators/index.ts",
|
|
363
|
-
"declarations": [],
|
|
364
|
-
"exports": [
|
|
365
|
-
{
|
|
366
|
-
"kind": "js",
|
|
367
|
-
"name": "*",
|
|
368
|
-
"declaration": {
|
|
369
|
-
"name": "*",
|
|
370
|
-
"package": "./renderOnChange"
|
|
371
|
-
}
|
|
372
|
-
}
|
|
373
|
-
]
|
|
374
|
-
},
|
|
375
|
-
{
|
|
376
|
-
"kind": "javascript-module",
|
|
377
|
-
"path": "src/decorators/renderOnChange.ts",
|
|
378
|
-
"declarations": [
|
|
379
|
-
{
|
|
380
|
-
"kind": "function",
|
|
381
|
-
"name": "renderOnChange",
|
|
382
|
-
"parameters": [
|
|
383
|
-
{
|
|
384
|
-
"name": "target",
|
|
385
|
-
"type": {
|
|
386
|
-
"text": "FASTElement & { render(): void }"
|
|
387
|
-
},
|
|
388
|
-
"description": "The target to define the property change handler on."
|
|
389
|
-
},
|
|
390
|
-
{
|
|
391
|
-
"name": "name",
|
|
392
|
-
"type": {
|
|
393
|
-
"text": "string"
|
|
394
|
-
},
|
|
395
|
-
"description": "The property name."
|
|
396
|
-
}
|
|
397
|
-
],
|
|
398
|
-
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
399
|
-
"privacy": "public"
|
|
400
|
-
}
|
|
401
|
-
],
|
|
402
|
-
"exports": [
|
|
403
|
-
{
|
|
404
|
-
"kind": "js",
|
|
405
|
-
"name": "renderOnChange",
|
|
406
|
-
"declaration": {
|
|
407
|
-
"name": "renderOnChange",
|
|
408
|
-
"module": "src/decorators/renderOnChange.ts"
|
|
409
|
-
}
|
|
410
|
-
}
|
|
411
|
-
]
|
|
412
|
-
},
|
|
413
360
|
{
|
|
414
361
|
"kind": "javascript-module",
|
|
415
362
|
"path": "src/design-system/design-system.ts",
|
|
@@ -1117,6 +1064,59 @@
|
|
|
1117
1064
|
}
|
|
1118
1065
|
]
|
|
1119
1066
|
},
|
|
1067
|
+
{
|
|
1068
|
+
"kind": "javascript-module",
|
|
1069
|
+
"path": "src/decorators/index.ts",
|
|
1070
|
+
"declarations": [],
|
|
1071
|
+
"exports": [
|
|
1072
|
+
{
|
|
1073
|
+
"kind": "js",
|
|
1074
|
+
"name": "*",
|
|
1075
|
+
"declaration": {
|
|
1076
|
+
"name": "*",
|
|
1077
|
+
"package": "./renderOnChange"
|
|
1078
|
+
}
|
|
1079
|
+
}
|
|
1080
|
+
]
|
|
1081
|
+
},
|
|
1082
|
+
{
|
|
1083
|
+
"kind": "javascript-module",
|
|
1084
|
+
"path": "src/decorators/renderOnChange.ts",
|
|
1085
|
+
"declarations": [
|
|
1086
|
+
{
|
|
1087
|
+
"kind": "function",
|
|
1088
|
+
"name": "renderOnChange",
|
|
1089
|
+
"parameters": [
|
|
1090
|
+
{
|
|
1091
|
+
"name": "target",
|
|
1092
|
+
"type": {
|
|
1093
|
+
"text": "FASTElement & { render(): void }"
|
|
1094
|
+
},
|
|
1095
|
+
"description": "The target to define the property change handler on."
|
|
1096
|
+
},
|
|
1097
|
+
{
|
|
1098
|
+
"name": "name",
|
|
1099
|
+
"type": {
|
|
1100
|
+
"text": "string"
|
|
1101
|
+
},
|
|
1102
|
+
"description": "The property name."
|
|
1103
|
+
}
|
|
1104
|
+
],
|
|
1105
|
+
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
1106
|
+
"privacy": "public"
|
|
1107
|
+
}
|
|
1108
|
+
],
|
|
1109
|
+
"exports": [
|
|
1110
|
+
{
|
|
1111
|
+
"kind": "js",
|
|
1112
|
+
"name": "renderOnChange",
|
|
1113
|
+
"declaration": {
|
|
1114
|
+
"name": "renderOnChange",
|
|
1115
|
+
"module": "src/decorators/renderOnChange.ts"
|
|
1116
|
+
}
|
|
1117
|
+
}
|
|
1118
|
+
]
|
|
1119
|
+
},
|
|
1120
1120
|
{
|
|
1121
1121
|
"kind": "javascript-module",
|
|
1122
1122
|
"path": "src/logger/index.ts",
|
|
@@ -2120,7 +2120,7 @@
|
|
|
2120
2120
|
},
|
|
2121
2121
|
{
|
|
2122
2122
|
"kind": "javascript-module",
|
|
2123
|
-
"path": "src/directives/
|
|
2123
|
+
"path": "src/directives/sync/index.ts",
|
|
2124
2124
|
"declarations": [],
|
|
2125
2125
|
"exports": [
|
|
2126
2126
|
{
|
|
@@ -2128,18 +2128,28 @@
|
|
|
2128
2128
|
"name": "*",
|
|
2129
2129
|
"declaration": {
|
|
2130
2130
|
"name": "*",
|
|
2131
|
-
"package": "./
|
|
2131
|
+
"package": "./sync"
|
|
2132
2132
|
}
|
|
2133
2133
|
}
|
|
2134
2134
|
]
|
|
2135
2135
|
},
|
|
2136
2136
|
{
|
|
2137
2137
|
"kind": "javascript-module",
|
|
2138
|
-
"path": "src/directives/
|
|
2138
|
+
"path": "src/directives/sync/sync.ts",
|
|
2139
2139
|
"declarations": [
|
|
2140
|
+
{
|
|
2141
|
+
"kind": "variable",
|
|
2142
|
+
"name": "defaultEventMap",
|
|
2143
|
+
"type": {
|
|
2144
|
+
"text": "Map<string, EventName>"
|
|
2145
|
+
},
|
|
2146
|
+
"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])",
|
|
2147
|
+
"description": "A map that associates specific HTML element tags with their corresponding default event names.",
|
|
2148
|
+
"privacy": "public"
|
|
2149
|
+
},
|
|
2140
2150
|
{
|
|
2141
2151
|
"kind": "function",
|
|
2142
|
-
"name": "
|
|
2152
|
+
"name": "sync",
|
|
2143
2153
|
"return": {
|
|
2144
2154
|
"type": {
|
|
2145
2155
|
"text": "CaptureType<TSource>"
|
|
@@ -2150,42 +2160,56 @@
|
|
|
2150
2160
|
"name": "binding",
|
|
2151
2161
|
"type": {
|
|
2152
2162
|
"text": "Binding<TSource, TReturn>"
|
|
2153
|
-
}
|
|
2154
|
-
"description": "The condition to test for rendering."
|
|
2163
|
+
}
|
|
2155
2164
|
},
|
|
2156
2165
|
{
|
|
2157
|
-
"name": "
|
|
2166
|
+
"name": "conversionType",
|
|
2167
|
+
"default": "'string'",
|
|
2158
2168
|
"type": {
|
|
2159
|
-
"text": "
|
|
2160
|
-
}
|
|
2161
|
-
"description": "The template or a binding that gets the template to render when the condition is true."
|
|
2169
|
+
"text": "ConversionType"
|
|
2170
|
+
}
|
|
2162
2171
|
},
|
|
2163
2172
|
{
|
|
2164
|
-
"name": "
|
|
2173
|
+
"name": "eventName",
|
|
2174
|
+
"default": "'default'",
|
|
2165
2175
|
"type": {
|
|
2166
|
-
"text": "
|
|
2167
|
-
}
|
|
2168
|
-
|
|
2176
|
+
"text": "EventName"
|
|
2177
|
+
}
|
|
2178
|
+
},
|
|
2179
|
+
{
|
|
2180
|
+
"name": "keyAttr",
|
|
2181
|
+
"optional": true,
|
|
2182
|
+
"type": {
|
|
2183
|
+
"text": "string"
|
|
2184
|
+
}
|
|
2169
2185
|
}
|
|
2170
2186
|
],
|
|
2171
|
-
"description": "
|
|
2187
|
+
"description": "Creates a synchronization directive that binds a data source to an HTML element,",
|
|
2172
2188
|
"privacy": "public"
|
|
2173
2189
|
}
|
|
2174
2190
|
],
|
|
2175
2191
|
"exports": [
|
|
2176
2192
|
{
|
|
2177
2193
|
"kind": "js",
|
|
2178
|
-
"name": "
|
|
2194
|
+
"name": "defaultEventMap",
|
|
2179
2195
|
"declaration": {
|
|
2180
|
-
"name": "
|
|
2181
|
-
"module": "src/directives/
|
|
2196
|
+
"name": "defaultEventMap",
|
|
2197
|
+
"module": "src/directives/sync/sync.ts"
|
|
2198
|
+
}
|
|
2199
|
+
},
|
|
2200
|
+
{
|
|
2201
|
+
"kind": "js",
|
|
2202
|
+
"name": "sync",
|
|
2203
|
+
"declaration": {
|
|
2204
|
+
"name": "sync",
|
|
2205
|
+
"module": "src/directives/sync/sync.ts"
|
|
2182
2206
|
}
|
|
2183
2207
|
}
|
|
2184
2208
|
]
|
|
2185
2209
|
},
|
|
2186
2210
|
{
|
|
2187
2211
|
"kind": "javascript-module",
|
|
2188
|
-
"path": "src/directives/
|
|
2212
|
+
"path": "src/directives/when-else/index.ts",
|
|
2189
2213
|
"declarations": [],
|
|
2190
2214
|
"exports": [
|
|
2191
2215
|
{
|
|
@@ -2193,28 +2217,18 @@
|
|
|
2193
2217
|
"name": "*",
|
|
2194
2218
|
"declaration": {
|
|
2195
2219
|
"name": "*",
|
|
2196
|
-
"package": "./
|
|
2220
|
+
"package": "./when-else"
|
|
2197
2221
|
}
|
|
2198
2222
|
}
|
|
2199
2223
|
]
|
|
2200
2224
|
},
|
|
2201
2225
|
{
|
|
2202
2226
|
"kind": "javascript-module",
|
|
2203
|
-
"path": "src/directives/
|
|
2227
|
+
"path": "src/directives/when-else/when-else.ts",
|
|
2204
2228
|
"declarations": [
|
|
2205
|
-
{
|
|
2206
|
-
"kind": "variable",
|
|
2207
|
-
"name": "defaultEventMap",
|
|
2208
|
-
"type": {
|
|
2209
|
-
"text": "Map<string, EventName>"
|
|
2210
|
-
},
|
|
2211
|
-
"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])",
|
|
2212
|
-
"description": "A map that associates specific HTML element tags with their corresponding default event names.",
|
|
2213
|
-
"privacy": "public"
|
|
2214
|
-
},
|
|
2215
2229
|
{
|
|
2216
2230
|
"kind": "function",
|
|
2217
|
-
"name": "
|
|
2231
|
+
"name": "whenElse",
|
|
2218
2232
|
"return": {
|
|
2219
2233
|
"type": {
|
|
2220
2234
|
"text": "CaptureType<TSource>"
|
|
@@ -2225,49 +2239,35 @@
|
|
|
2225
2239
|
"name": "binding",
|
|
2226
2240
|
"type": {
|
|
2227
2241
|
"text": "Binding<TSource, TReturn>"
|
|
2228
|
-
}
|
|
2229
|
-
|
|
2230
|
-
{
|
|
2231
|
-
"name": "conversionType",
|
|
2232
|
-
"default": "'string'",
|
|
2233
|
-
"type": {
|
|
2234
|
-
"text": "ConversionType"
|
|
2235
|
-
}
|
|
2242
|
+
},
|
|
2243
|
+
"description": "The condition to test for rendering."
|
|
2236
2244
|
},
|
|
2237
2245
|
{
|
|
2238
|
-
"name": "
|
|
2239
|
-
"default": "'default'",
|
|
2246
|
+
"name": "trueTemplateOrTemplateBinding",
|
|
2240
2247
|
"type": {
|
|
2241
|
-
"text": "
|
|
2242
|
-
}
|
|
2248
|
+
"text": "WhenTemplate<TSource>"
|
|
2249
|
+
},
|
|
2250
|
+
"description": "The template or a binding that gets the template to render when the condition is true."
|
|
2243
2251
|
},
|
|
2244
2252
|
{
|
|
2245
|
-
"name": "
|
|
2246
|
-
"optional": true,
|
|
2253
|
+
"name": "falseTemplateOrTemplateBinding",
|
|
2247
2254
|
"type": {
|
|
2248
|
-
"text": "
|
|
2249
|
-
}
|
|
2255
|
+
"text": "WhenTemplate<TSource>"
|
|
2256
|
+
},
|
|
2257
|
+
"description": "The template or a binding that gets the template to render when the condition is false."
|
|
2250
2258
|
}
|
|
2251
2259
|
],
|
|
2252
|
-
"description": "
|
|
2260
|
+
"description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
|
|
2253
2261
|
"privacy": "public"
|
|
2254
2262
|
}
|
|
2255
2263
|
],
|
|
2256
2264
|
"exports": [
|
|
2257
2265
|
{
|
|
2258
2266
|
"kind": "js",
|
|
2259
|
-
"name": "
|
|
2260
|
-
"declaration": {
|
|
2261
|
-
"name": "defaultEventMap",
|
|
2262
|
-
"module": "src/directives/sync/sync.ts"
|
|
2263
|
-
}
|
|
2264
|
-
},
|
|
2265
|
-
{
|
|
2266
|
-
"kind": "js",
|
|
2267
|
-
"name": "sync",
|
|
2267
|
+
"name": "whenElse",
|
|
2268
2268
|
"declaration": {
|
|
2269
|
-
"name": "
|
|
2270
|
-
"module": "src/directives/
|
|
2269
|
+
"name": "whenElse",
|
|
2270
|
+
"module": "src/directives/when-else/when-else.ts"
|
|
2271
2271
|
}
|
|
2272
2272
|
}
|
|
2273
2273
|
]
|
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.
|
|
4
|
+
"version": "14.175.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -19,17 +19,17 @@
|
|
|
19
19
|
"test": "genx test"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@genesislcap/foundation-testing": "14.
|
|
23
|
-
"@genesislcap/genx": "14.
|
|
24
|
-
"@genesislcap/rollup-builder": "14.
|
|
25
|
-
"@genesislcap/ts-builder": "14.
|
|
26
|
-
"@genesislcap/uvu-playwright-builder": "14.
|
|
27
|
-
"@genesislcap/vite-builder": "14.
|
|
28
|
-
"@genesislcap/webpack-builder": "14.
|
|
22
|
+
"@genesislcap/foundation-testing": "14.175.0",
|
|
23
|
+
"@genesislcap/genx": "14.175.0",
|
|
24
|
+
"@genesislcap/rollup-builder": "14.175.0",
|
|
25
|
+
"@genesislcap/ts-builder": "14.175.0",
|
|
26
|
+
"@genesislcap/uvu-playwright-builder": "14.175.0",
|
|
27
|
+
"@genesislcap/vite-builder": "14.175.0",
|
|
28
|
+
"@genesislcap/webpack-builder": "14.175.0",
|
|
29
29
|
"rimraf": "^3.0.2"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@genesislcap/foundation-logger": "14.
|
|
32
|
+
"@genesislcap/foundation-logger": "14.175.0",
|
|
33
33
|
"@microsoft/fast-components": "^2.30.6",
|
|
34
34
|
"@microsoft/fast-element": "^1.12.0",
|
|
35
35
|
"@microsoft/fast-foundation": "^2.49.4",
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"access": "public"
|
|
48
48
|
},
|
|
49
49
|
"customElements": "dist/custom-elements.json",
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "4dab49e3b537a4166f54d4ecd48855f0cc7b0414"
|
|
51
51
|
}
|