@genesislcap/foundation-utils 14.163.0 → 14.164.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 +128 -128
- package/package.json +10 -10
|
@@ -349,6 +349,59 @@
|
|
|
349
349
|
}
|
|
350
350
|
]
|
|
351
351
|
},
|
|
352
|
+
{
|
|
353
|
+
"kind": "javascript-module",
|
|
354
|
+
"path": "src/decorators/index.ts",
|
|
355
|
+
"declarations": [],
|
|
356
|
+
"exports": [
|
|
357
|
+
{
|
|
358
|
+
"kind": "js",
|
|
359
|
+
"name": "*",
|
|
360
|
+
"declaration": {
|
|
361
|
+
"name": "*",
|
|
362
|
+
"package": "./renderOnChange"
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
]
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
"kind": "javascript-module",
|
|
369
|
+
"path": "src/decorators/renderOnChange.ts",
|
|
370
|
+
"declarations": [
|
|
371
|
+
{
|
|
372
|
+
"kind": "function",
|
|
373
|
+
"name": "renderOnChange",
|
|
374
|
+
"parameters": [
|
|
375
|
+
{
|
|
376
|
+
"name": "target",
|
|
377
|
+
"type": {
|
|
378
|
+
"text": "FASTElement & { render(): void }"
|
|
379
|
+
},
|
|
380
|
+
"description": "The target to define the property change handler on."
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"name": "name",
|
|
384
|
+
"type": {
|
|
385
|
+
"text": "string"
|
|
386
|
+
},
|
|
387
|
+
"description": "The property name."
|
|
388
|
+
}
|
|
389
|
+
],
|
|
390
|
+
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
391
|
+
"privacy": "public"
|
|
392
|
+
}
|
|
393
|
+
],
|
|
394
|
+
"exports": [
|
|
395
|
+
{
|
|
396
|
+
"kind": "js",
|
|
397
|
+
"name": "renderOnChange",
|
|
398
|
+
"declaration": {
|
|
399
|
+
"name": "renderOnChange",
|
|
400
|
+
"module": "src/decorators/renderOnChange.ts"
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
]
|
|
404
|
+
},
|
|
352
405
|
{
|
|
353
406
|
"kind": "javascript-module",
|
|
354
407
|
"path": "src/design-system/design-system.ts",
|
|
@@ -422,59 +475,6 @@
|
|
|
422
475
|
}
|
|
423
476
|
]
|
|
424
477
|
},
|
|
425
|
-
{
|
|
426
|
-
"kind": "javascript-module",
|
|
427
|
-
"path": "src/decorators/index.ts",
|
|
428
|
-
"declarations": [],
|
|
429
|
-
"exports": [
|
|
430
|
-
{
|
|
431
|
-
"kind": "js",
|
|
432
|
-
"name": "*",
|
|
433
|
-
"declaration": {
|
|
434
|
-
"name": "*",
|
|
435
|
-
"package": "./renderOnChange"
|
|
436
|
-
}
|
|
437
|
-
}
|
|
438
|
-
]
|
|
439
|
-
},
|
|
440
|
-
{
|
|
441
|
-
"kind": "javascript-module",
|
|
442
|
-
"path": "src/decorators/renderOnChange.ts",
|
|
443
|
-
"declarations": [
|
|
444
|
-
{
|
|
445
|
-
"kind": "function",
|
|
446
|
-
"name": "renderOnChange",
|
|
447
|
-
"parameters": [
|
|
448
|
-
{
|
|
449
|
-
"name": "target",
|
|
450
|
-
"type": {
|
|
451
|
-
"text": "FASTElement & { render(): void }"
|
|
452
|
-
},
|
|
453
|
-
"description": "The target to define the property change handler on."
|
|
454
|
-
},
|
|
455
|
-
{
|
|
456
|
-
"name": "name",
|
|
457
|
-
"type": {
|
|
458
|
-
"text": "string"
|
|
459
|
-
},
|
|
460
|
-
"description": "The property name."
|
|
461
|
-
}
|
|
462
|
-
],
|
|
463
|
-
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
464
|
-
"privacy": "public"
|
|
465
|
-
}
|
|
466
|
-
],
|
|
467
|
-
"exports": [
|
|
468
|
-
{
|
|
469
|
-
"kind": "js",
|
|
470
|
-
"name": "renderOnChange",
|
|
471
|
-
"declaration": {
|
|
472
|
-
"name": "renderOnChange",
|
|
473
|
-
"module": "src/decorators/renderOnChange.ts"
|
|
474
|
-
}
|
|
475
|
-
}
|
|
476
|
-
]
|
|
477
|
-
},
|
|
478
478
|
{
|
|
479
479
|
"kind": "javascript-module",
|
|
480
480
|
"path": "src/env/index.ts",
|
|
@@ -1346,6 +1346,21 @@
|
|
|
1346
1346
|
}
|
|
1347
1347
|
]
|
|
1348
1348
|
},
|
|
1349
|
+
{
|
|
1350
|
+
"kind": "javascript-module",
|
|
1351
|
+
"path": "src/serializers/index.ts",
|
|
1352
|
+
"declarations": [],
|
|
1353
|
+
"exports": [
|
|
1354
|
+
{
|
|
1355
|
+
"kind": "js",
|
|
1356
|
+
"name": "*",
|
|
1357
|
+
"declaration": {
|
|
1358
|
+
"name": "*",
|
|
1359
|
+
"package": "./json"
|
|
1360
|
+
}
|
|
1361
|
+
}
|
|
1362
|
+
]
|
|
1363
|
+
},
|
|
1349
1364
|
{
|
|
1350
1365
|
"kind": "javascript-module",
|
|
1351
1366
|
"path": "src/state/index.ts",
|
|
@@ -1819,21 +1834,6 @@
|
|
|
1819
1834
|
}
|
|
1820
1835
|
]
|
|
1821
1836
|
},
|
|
1822
|
-
{
|
|
1823
|
-
"kind": "javascript-module",
|
|
1824
|
-
"path": "src/serializers/index.ts",
|
|
1825
|
-
"declarations": [],
|
|
1826
|
-
"exports": [
|
|
1827
|
-
{
|
|
1828
|
-
"kind": "js",
|
|
1829
|
-
"name": "*",
|
|
1830
|
-
"declaration": {
|
|
1831
|
-
"name": "*",
|
|
1832
|
-
"package": "./json"
|
|
1833
|
-
}
|
|
1834
|
-
}
|
|
1835
|
-
]
|
|
1836
|
-
},
|
|
1837
1837
|
{
|
|
1838
1838
|
"kind": "javascript-module",
|
|
1839
1839
|
"path": "src/utils/index.ts",
|
|
@@ -2056,7 +2056,7 @@
|
|
|
2056
2056
|
},
|
|
2057
2057
|
{
|
|
2058
2058
|
"kind": "javascript-module",
|
|
2059
|
-
"path": "src/directives/
|
|
2059
|
+
"path": "src/directives/when-else/index.ts",
|
|
2060
2060
|
"declarations": [],
|
|
2061
2061
|
"exports": [
|
|
2062
2062
|
{
|
|
@@ -2064,28 +2064,18 @@
|
|
|
2064
2064
|
"name": "*",
|
|
2065
2065
|
"declaration": {
|
|
2066
2066
|
"name": "*",
|
|
2067
|
-
"package": "./
|
|
2067
|
+
"package": "./when-else"
|
|
2068
2068
|
}
|
|
2069
2069
|
}
|
|
2070
2070
|
]
|
|
2071
2071
|
},
|
|
2072
2072
|
{
|
|
2073
2073
|
"kind": "javascript-module",
|
|
2074
|
-
"path": "src/directives/
|
|
2074
|
+
"path": "src/directives/when-else/when-else.ts",
|
|
2075
2075
|
"declarations": [
|
|
2076
|
-
{
|
|
2077
|
-
"kind": "variable",
|
|
2078
|
-
"name": "defaultEventMap",
|
|
2079
|
-
"type": {
|
|
2080
|
-
"text": "Map<string, EventName>"
|
|
2081
|
-
},
|
|
2082
|
-
"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])",
|
|
2083
|
-
"description": "A map that associates specific HTML element tags with their corresponding default event names.",
|
|
2084
|
-
"privacy": "public"
|
|
2085
|
-
},
|
|
2086
2076
|
{
|
|
2087
2077
|
"kind": "function",
|
|
2088
|
-
"name": "
|
|
2078
|
+
"name": "whenElse",
|
|
2089
2079
|
"return": {
|
|
2090
2080
|
"type": {
|
|
2091
2081
|
"text": "CaptureType<TSource>"
|
|
@@ -2096,56 +2086,42 @@
|
|
|
2096
2086
|
"name": "binding",
|
|
2097
2087
|
"type": {
|
|
2098
2088
|
"text": "Binding<TSource, TReturn>"
|
|
2099
|
-
}
|
|
2100
|
-
|
|
2101
|
-
{
|
|
2102
|
-
"name": "conversionType",
|
|
2103
|
-
"default": "'string'",
|
|
2104
|
-
"type": {
|
|
2105
|
-
"text": "ConversionType"
|
|
2106
|
-
}
|
|
2089
|
+
},
|
|
2090
|
+
"description": "The condition to test for rendering."
|
|
2107
2091
|
},
|
|
2108
2092
|
{
|
|
2109
|
-
"name": "
|
|
2110
|
-
"default": "'default'",
|
|
2093
|
+
"name": "trueTemplateOrTemplateBinding",
|
|
2111
2094
|
"type": {
|
|
2112
|
-
"text": "
|
|
2113
|
-
}
|
|
2095
|
+
"text": "WhenTemplate<TSource>"
|
|
2096
|
+
},
|
|
2097
|
+
"description": "The template or a binding that gets the template to render when the condition is true."
|
|
2114
2098
|
},
|
|
2115
2099
|
{
|
|
2116
|
-
"name": "
|
|
2117
|
-
"optional": true,
|
|
2100
|
+
"name": "falseTemplateOrTemplateBinding",
|
|
2118
2101
|
"type": {
|
|
2119
|
-
"text": "
|
|
2120
|
-
}
|
|
2102
|
+
"text": "WhenTemplate<TSource>"
|
|
2103
|
+
},
|
|
2104
|
+
"description": "The template or a binding that gets the template to render when the condition is false."
|
|
2121
2105
|
}
|
|
2122
2106
|
],
|
|
2123
|
-
"description": "
|
|
2107
|
+
"description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
|
|
2124
2108
|
"privacy": "public"
|
|
2125
2109
|
}
|
|
2126
2110
|
],
|
|
2127
2111
|
"exports": [
|
|
2128
2112
|
{
|
|
2129
2113
|
"kind": "js",
|
|
2130
|
-
"name": "
|
|
2131
|
-
"declaration": {
|
|
2132
|
-
"name": "defaultEventMap",
|
|
2133
|
-
"module": "src/directives/sync/sync.ts"
|
|
2134
|
-
}
|
|
2135
|
-
},
|
|
2136
|
-
{
|
|
2137
|
-
"kind": "js",
|
|
2138
|
-
"name": "sync",
|
|
2114
|
+
"name": "whenElse",
|
|
2139
2115
|
"declaration": {
|
|
2140
|
-
"name": "
|
|
2141
|
-
"module": "src/directives/
|
|
2116
|
+
"name": "whenElse",
|
|
2117
|
+
"module": "src/directives/when-else/when-else.ts"
|
|
2142
2118
|
}
|
|
2143
2119
|
}
|
|
2144
2120
|
]
|
|
2145
2121
|
},
|
|
2146
2122
|
{
|
|
2147
2123
|
"kind": "javascript-module",
|
|
2148
|
-
"path": "src/directives/
|
|
2124
|
+
"path": "src/directives/sync/index.ts",
|
|
2149
2125
|
"declarations": [],
|
|
2150
2126
|
"exports": [
|
|
2151
2127
|
{
|
|
@@ -2153,18 +2129,28 @@
|
|
|
2153
2129
|
"name": "*",
|
|
2154
2130
|
"declaration": {
|
|
2155
2131
|
"name": "*",
|
|
2156
|
-
"package": "./
|
|
2132
|
+
"package": "./sync"
|
|
2157
2133
|
}
|
|
2158
2134
|
}
|
|
2159
2135
|
]
|
|
2160
2136
|
},
|
|
2161
2137
|
{
|
|
2162
2138
|
"kind": "javascript-module",
|
|
2163
|
-
"path": "src/directives/
|
|
2139
|
+
"path": "src/directives/sync/sync.ts",
|
|
2164
2140
|
"declarations": [
|
|
2141
|
+
{
|
|
2142
|
+
"kind": "variable",
|
|
2143
|
+
"name": "defaultEventMap",
|
|
2144
|
+
"type": {
|
|
2145
|
+
"text": "Map<string, EventName>"
|
|
2146
|
+
},
|
|
2147
|
+
"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])",
|
|
2148
|
+
"description": "A map that associates specific HTML element tags with their corresponding default event names.",
|
|
2149
|
+
"privacy": "public"
|
|
2150
|
+
},
|
|
2165
2151
|
{
|
|
2166
2152
|
"kind": "function",
|
|
2167
|
-
"name": "
|
|
2153
|
+
"name": "sync",
|
|
2168
2154
|
"return": {
|
|
2169
2155
|
"type": {
|
|
2170
2156
|
"text": "CaptureType<TSource>"
|
|
@@ -2175,35 +2161,49 @@
|
|
|
2175
2161
|
"name": "binding",
|
|
2176
2162
|
"type": {
|
|
2177
2163
|
"text": "Binding<TSource, TReturn>"
|
|
2178
|
-
}
|
|
2179
|
-
"description": "The condition to test for rendering."
|
|
2164
|
+
}
|
|
2180
2165
|
},
|
|
2181
2166
|
{
|
|
2182
|
-
"name": "
|
|
2167
|
+
"name": "conversionType",
|
|
2168
|
+
"default": "'string'",
|
|
2183
2169
|
"type": {
|
|
2184
|
-
"text": "
|
|
2185
|
-
}
|
|
2186
|
-
"description": "The template or a binding that gets the template to render when the condition is true."
|
|
2170
|
+
"text": "ConversionType"
|
|
2171
|
+
}
|
|
2187
2172
|
},
|
|
2188
2173
|
{
|
|
2189
|
-
"name": "
|
|
2174
|
+
"name": "eventName",
|
|
2175
|
+
"default": "'default'",
|
|
2190
2176
|
"type": {
|
|
2191
|
-
"text": "
|
|
2192
|
-
}
|
|
2193
|
-
|
|
2177
|
+
"text": "EventName"
|
|
2178
|
+
}
|
|
2179
|
+
},
|
|
2180
|
+
{
|
|
2181
|
+
"name": "keyAttr",
|
|
2182
|
+
"optional": true,
|
|
2183
|
+
"type": {
|
|
2184
|
+
"text": "string"
|
|
2185
|
+
}
|
|
2194
2186
|
}
|
|
2195
2187
|
],
|
|
2196
|
-
"description": "
|
|
2188
|
+
"description": "Creates a synchronization directive that binds a data source to an HTML element,",
|
|
2197
2189
|
"privacy": "public"
|
|
2198
2190
|
}
|
|
2199
2191
|
],
|
|
2200
2192
|
"exports": [
|
|
2201
2193
|
{
|
|
2202
2194
|
"kind": "js",
|
|
2203
|
-
"name": "
|
|
2195
|
+
"name": "defaultEventMap",
|
|
2204
2196
|
"declaration": {
|
|
2205
|
-
"name": "
|
|
2206
|
-
"module": "src/directives/
|
|
2197
|
+
"name": "defaultEventMap",
|
|
2198
|
+
"module": "src/directives/sync/sync.ts"
|
|
2199
|
+
}
|
|
2200
|
+
},
|
|
2201
|
+
{
|
|
2202
|
+
"kind": "js",
|
|
2203
|
+
"name": "sync",
|
|
2204
|
+
"declaration": {
|
|
2205
|
+
"name": "sync",
|
|
2206
|
+
"module": "src/directives/sync/sync.ts"
|
|
2207
2207
|
}
|
|
2208
2208
|
}
|
|
2209
2209
|
]
|
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.164.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.164.0",
|
|
23
|
+
"@genesislcap/genx": "14.164.0",
|
|
24
|
+
"@genesislcap/rollup-builder": "14.164.0",
|
|
25
|
+
"@genesislcap/ts-builder": "14.164.0",
|
|
26
|
+
"@genesislcap/uvu-playwright-builder": "14.164.0",
|
|
27
|
+
"@genesislcap/vite-builder": "14.164.0",
|
|
28
|
+
"@genesislcap/webpack-builder": "14.164.0",
|
|
29
29
|
"rimraf": "^3.0.2"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@genesislcap/foundation-logger": "14.
|
|
32
|
+
"@genesislcap/foundation-logger": "14.164.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": "01048301d213303cb5ac16796191bb9903c890d5"
|
|
51
51
|
}
|