@genesislcap/foundation-utils 14.187.1 → 14.188.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 +222 -207
- package/dist/dts/env/variables.d.ts +11 -0
- package/dist/dts/env/variables.d.ts.map +1 -1
- package/dist/esm/env/variables.js +11 -0
- package/dist/foundation-utils.api.json +23 -0
- package/dist/foundation-utils.d.ts +12 -0
- package/docs/api/foundation-utils.genesis_socket_url.md +25 -0
- package/docs/api/foundation-utils.md +1 -0
- package/docs/api-report.md +3 -0
- package/package.json +10 -10
|
@@ -565,6 +565,13 @@
|
|
|
565
565
|
"description": "The path to a JSON config file for the HTTP mode.",
|
|
566
566
|
"privacy": "public"
|
|
567
567
|
},
|
|
568
|
+
{
|
|
569
|
+
"kind": "variable",
|
|
570
|
+
"name": "GENESIS_SOCKET_URL",
|
|
571
|
+
"default": "`${location.protocol.replace('http', 'ws')}//${location.host}/${_SOCKET_EXT}/`",
|
|
572
|
+
"description": "Genesis Socket URL",
|
|
573
|
+
"privacy": "public"
|
|
574
|
+
},
|
|
568
575
|
{
|
|
569
576
|
"kind": "variable",
|
|
570
577
|
"name": "API_HOST",
|
|
@@ -664,6 +671,14 @@
|
|
|
664
671
|
"module": "src/env/variables.ts"
|
|
665
672
|
}
|
|
666
673
|
},
|
|
674
|
+
{
|
|
675
|
+
"kind": "js",
|
|
676
|
+
"name": "GENESIS_SOCKET_URL",
|
|
677
|
+
"declaration": {
|
|
678
|
+
"name": "GENESIS_SOCKET_URL",
|
|
679
|
+
"module": "src/env/variables.ts"
|
|
680
|
+
}
|
|
681
|
+
},
|
|
667
682
|
{
|
|
668
683
|
"kind": "js",
|
|
669
684
|
"name": "API_HOST",
|
|
@@ -1425,6 +1440,132 @@
|
|
|
1425
1440
|
}
|
|
1426
1441
|
]
|
|
1427
1442
|
},
|
|
1443
|
+
{
|
|
1444
|
+
"kind": "javascript-module",
|
|
1445
|
+
"path": "src/state/index.ts",
|
|
1446
|
+
"declarations": [],
|
|
1447
|
+
"exports": [
|
|
1448
|
+
{
|
|
1449
|
+
"kind": "js",
|
|
1450
|
+
"name": "*",
|
|
1451
|
+
"declaration": {
|
|
1452
|
+
"name": "*",
|
|
1453
|
+
"package": "./reactive"
|
|
1454
|
+
}
|
|
1455
|
+
},
|
|
1456
|
+
{
|
|
1457
|
+
"kind": "js",
|
|
1458
|
+
"name": "*",
|
|
1459
|
+
"declaration": {
|
|
1460
|
+
"name": "*",
|
|
1461
|
+
"package": "./visitor"
|
|
1462
|
+
}
|
|
1463
|
+
}
|
|
1464
|
+
]
|
|
1465
|
+
},
|
|
1466
|
+
{
|
|
1467
|
+
"kind": "javascript-module",
|
|
1468
|
+
"path": "src/state/reactive.ts",
|
|
1469
|
+
"declarations": [
|
|
1470
|
+
{
|
|
1471
|
+
"kind": "function",
|
|
1472
|
+
"name": "reactive",
|
|
1473
|
+
"return": {
|
|
1474
|
+
"type": {
|
|
1475
|
+
"text": ""
|
|
1476
|
+
}
|
|
1477
|
+
},
|
|
1478
|
+
"parameters": [
|
|
1479
|
+
{
|
|
1480
|
+
"name": "object",
|
|
1481
|
+
"type": {
|
|
1482
|
+
"text": "T"
|
|
1483
|
+
},
|
|
1484
|
+
"description": "The object to make reactive."
|
|
1485
|
+
},
|
|
1486
|
+
{
|
|
1487
|
+
"name": "deep",
|
|
1488
|
+
"default": "false",
|
|
1489
|
+
"description": "Indicates whether to deeply convert the object."
|
|
1490
|
+
}
|
|
1491
|
+
],
|
|
1492
|
+
"description": "Converts a plain object to a reactive, observable object."
|
|
1493
|
+
}
|
|
1494
|
+
],
|
|
1495
|
+
"exports": [
|
|
1496
|
+
{
|
|
1497
|
+
"kind": "js",
|
|
1498
|
+
"name": "reactive",
|
|
1499
|
+
"declaration": {
|
|
1500
|
+
"name": "reactive",
|
|
1501
|
+
"module": "src/state/reactive.ts"
|
|
1502
|
+
}
|
|
1503
|
+
}
|
|
1504
|
+
]
|
|
1505
|
+
},
|
|
1506
|
+
{
|
|
1507
|
+
"kind": "javascript-module",
|
|
1508
|
+
"path": "src/state/visitor.ts",
|
|
1509
|
+
"declarations": [
|
|
1510
|
+
{
|
|
1511
|
+
"kind": "function",
|
|
1512
|
+
"name": "visitObject",
|
|
1513
|
+
"return": {
|
|
1514
|
+
"type": {
|
|
1515
|
+
"text": "void"
|
|
1516
|
+
}
|
|
1517
|
+
},
|
|
1518
|
+
"parameters": [
|
|
1519
|
+
{
|
|
1520
|
+
"name": "object",
|
|
1521
|
+
"type": {
|
|
1522
|
+
"text": "any"
|
|
1523
|
+
},
|
|
1524
|
+
"description": "The object."
|
|
1525
|
+
},
|
|
1526
|
+
{
|
|
1527
|
+
"name": "deep",
|
|
1528
|
+
"type": {
|
|
1529
|
+
"text": "boolean"
|
|
1530
|
+
},
|
|
1531
|
+
"description": "A flag to indicate if a recursive visit of sub objects should occur."
|
|
1532
|
+
},
|
|
1533
|
+
{
|
|
1534
|
+
"name": "visitor",
|
|
1535
|
+
"type": {
|
|
1536
|
+
"text": "ObjectVisitor<TVisitorData>"
|
|
1537
|
+
},
|
|
1538
|
+
"description": "The defined {@link ObjectVisitor}logic.\n * "
|
|
1539
|
+
},
|
|
1540
|
+
{
|
|
1541
|
+
"name": "data",
|
|
1542
|
+
"type": {
|
|
1543
|
+
"text": "TVisitorData"
|
|
1544
|
+
},
|
|
1545
|
+
"description": "Visitor data."
|
|
1546
|
+
},
|
|
1547
|
+
{
|
|
1548
|
+
"name": "traversed",
|
|
1549
|
+
"type": {
|
|
1550
|
+
"text": "WeakSet<any> | Set<any>"
|
|
1551
|
+
},
|
|
1552
|
+
"description": "The traversed object set."
|
|
1553
|
+
}
|
|
1554
|
+
],
|
|
1555
|
+
"description": "Visit object utility."
|
|
1556
|
+
}
|
|
1557
|
+
],
|
|
1558
|
+
"exports": [
|
|
1559
|
+
{
|
|
1560
|
+
"kind": "js",
|
|
1561
|
+
"name": "visitObject",
|
|
1562
|
+
"declaration": {
|
|
1563
|
+
"name": "visitObject",
|
|
1564
|
+
"module": "src/state/visitor.ts"
|
|
1565
|
+
}
|
|
1566
|
+
}
|
|
1567
|
+
]
|
|
1568
|
+
},
|
|
1428
1569
|
{
|
|
1429
1570
|
"kind": "javascript-module",
|
|
1430
1571
|
"path": "src/styles/color.ts",
|
|
@@ -1774,7 +1915,7 @@
|
|
|
1774
1915
|
},
|
|
1775
1916
|
{
|
|
1776
1917
|
"kind": "javascript-module",
|
|
1777
|
-
"path": "src/
|
|
1918
|
+
"path": "src/utils/index.ts",
|
|
1778
1919
|
"declarations": [],
|
|
1779
1920
|
"exports": [
|
|
1780
1921
|
{
|
|
@@ -1782,36 +1923,34 @@
|
|
|
1782
1923
|
"name": "*",
|
|
1783
1924
|
"declaration": {
|
|
1784
1925
|
"name": "*",
|
|
1785
|
-
"package": "./
|
|
1926
|
+
"package": "./logger"
|
|
1786
1927
|
}
|
|
1787
1928
|
}
|
|
1788
1929
|
]
|
|
1789
1930
|
},
|
|
1790
1931
|
{
|
|
1791
1932
|
"kind": "javascript-module",
|
|
1792
|
-
"path": "src/
|
|
1933
|
+
"path": "src/utils/logger.ts",
|
|
1793
1934
|
"declarations": [
|
|
1794
1935
|
{
|
|
1795
1936
|
"kind": "variable",
|
|
1796
|
-
"name": "
|
|
1797
|
-
"description": "A dependency injection token for the UUID interface.",
|
|
1798
|
-
"privacy": "public"
|
|
1937
|
+
"name": "logger"
|
|
1799
1938
|
}
|
|
1800
1939
|
],
|
|
1801
1940
|
"exports": [
|
|
1802
1941
|
{
|
|
1803
1942
|
"kind": "js",
|
|
1804
|
-
"name": "
|
|
1943
|
+
"name": "logger",
|
|
1805
1944
|
"declaration": {
|
|
1806
|
-
"name": "
|
|
1807
|
-
"module": "src/
|
|
1945
|
+
"name": "logger",
|
|
1946
|
+
"module": "src/utils/logger.ts"
|
|
1808
1947
|
}
|
|
1809
1948
|
}
|
|
1810
1949
|
]
|
|
1811
1950
|
},
|
|
1812
1951
|
{
|
|
1813
1952
|
"kind": "javascript-module",
|
|
1814
|
-
"path": "src/
|
|
1953
|
+
"path": "src/uuid/index.ts",
|
|
1815
1954
|
"declarations": [],
|
|
1816
1955
|
"exports": [
|
|
1817
1956
|
{
|
|
@@ -1819,27 +1958,29 @@
|
|
|
1819
1958
|
"name": "*",
|
|
1820
1959
|
"declaration": {
|
|
1821
1960
|
"name": "*",
|
|
1822
|
-
"package": "./
|
|
1961
|
+
"package": "./uuid"
|
|
1823
1962
|
}
|
|
1824
1963
|
}
|
|
1825
1964
|
]
|
|
1826
1965
|
},
|
|
1827
1966
|
{
|
|
1828
1967
|
"kind": "javascript-module",
|
|
1829
|
-
"path": "src/
|
|
1968
|
+
"path": "src/uuid/uuid.ts",
|
|
1830
1969
|
"declarations": [
|
|
1831
1970
|
{
|
|
1832
1971
|
"kind": "variable",
|
|
1833
|
-
"name": "
|
|
1972
|
+
"name": "UUID",
|
|
1973
|
+
"description": "A dependency injection token for the UUID interface.",
|
|
1974
|
+
"privacy": "public"
|
|
1834
1975
|
}
|
|
1835
1976
|
],
|
|
1836
1977
|
"exports": [
|
|
1837
1978
|
{
|
|
1838
1979
|
"kind": "js",
|
|
1839
|
-
"name": "
|
|
1980
|
+
"name": "UUID",
|
|
1840
1981
|
"declaration": {
|
|
1841
|
-
"name": "
|
|
1842
|
-
"module": "src/
|
|
1982
|
+
"name": "UUID",
|
|
1983
|
+
"module": "src/uuid/uuid.ts"
|
|
1843
1984
|
}
|
|
1844
1985
|
}
|
|
1845
1986
|
]
|
|
@@ -2081,6 +2222,71 @@
|
|
|
2081
2222
|
}
|
|
2082
2223
|
]
|
|
2083
2224
|
},
|
|
2225
|
+
{
|
|
2226
|
+
"kind": "javascript-module",
|
|
2227
|
+
"path": "src/directives/when-else/index.ts",
|
|
2228
|
+
"declarations": [],
|
|
2229
|
+
"exports": [
|
|
2230
|
+
{
|
|
2231
|
+
"kind": "js",
|
|
2232
|
+
"name": "*",
|
|
2233
|
+
"declaration": {
|
|
2234
|
+
"name": "*",
|
|
2235
|
+
"package": "./when-else"
|
|
2236
|
+
}
|
|
2237
|
+
}
|
|
2238
|
+
]
|
|
2239
|
+
},
|
|
2240
|
+
{
|
|
2241
|
+
"kind": "javascript-module",
|
|
2242
|
+
"path": "src/directives/when-else/when-else.ts",
|
|
2243
|
+
"declarations": [
|
|
2244
|
+
{
|
|
2245
|
+
"kind": "function",
|
|
2246
|
+
"name": "whenElse",
|
|
2247
|
+
"return": {
|
|
2248
|
+
"type": {
|
|
2249
|
+
"text": "CaptureType<TSource>"
|
|
2250
|
+
}
|
|
2251
|
+
},
|
|
2252
|
+
"parameters": [
|
|
2253
|
+
{
|
|
2254
|
+
"name": "binding",
|
|
2255
|
+
"type": {
|
|
2256
|
+
"text": "Binding<TSource, TReturn>"
|
|
2257
|
+
},
|
|
2258
|
+
"description": "The condition to test for rendering."
|
|
2259
|
+
},
|
|
2260
|
+
{
|
|
2261
|
+
"name": "trueTemplateOrTemplateBinding",
|
|
2262
|
+
"type": {
|
|
2263
|
+
"text": "WhenTemplate<TSource>"
|
|
2264
|
+
},
|
|
2265
|
+
"description": "The template or a binding that gets the template to render when the condition is true."
|
|
2266
|
+
},
|
|
2267
|
+
{
|
|
2268
|
+
"name": "falseTemplateOrTemplateBinding",
|
|
2269
|
+
"type": {
|
|
2270
|
+
"text": "WhenTemplate<TSource>"
|
|
2271
|
+
},
|
|
2272
|
+
"description": "The template or a binding that gets the template to render when the condition is false."
|
|
2273
|
+
}
|
|
2274
|
+
],
|
|
2275
|
+
"description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
|
|
2276
|
+
"privacy": "public"
|
|
2277
|
+
}
|
|
2278
|
+
],
|
|
2279
|
+
"exports": [
|
|
2280
|
+
{
|
|
2281
|
+
"kind": "js",
|
|
2282
|
+
"name": "whenElse",
|
|
2283
|
+
"declaration": {
|
|
2284
|
+
"name": "whenElse",
|
|
2285
|
+
"module": "src/directives/when-else/when-else.ts"
|
|
2286
|
+
}
|
|
2287
|
+
}
|
|
2288
|
+
]
|
|
2289
|
+
},
|
|
2084
2290
|
{
|
|
2085
2291
|
"kind": "javascript-module",
|
|
2086
2292
|
"path": "src/mappers/dto/index.ts",
|
|
@@ -2181,71 +2387,6 @@
|
|
|
2181
2387
|
"declarations": [],
|
|
2182
2388
|
"exports": []
|
|
2183
2389
|
},
|
|
2184
|
-
{
|
|
2185
|
-
"kind": "javascript-module",
|
|
2186
|
-
"path": "src/directives/when-else/index.ts",
|
|
2187
|
-
"declarations": [],
|
|
2188
|
-
"exports": [
|
|
2189
|
-
{
|
|
2190
|
-
"kind": "js",
|
|
2191
|
-
"name": "*",
|
|
2192
|
-
"declaration": {
|
|
2193
|
-
"name": "*",
|
|
2194
|
-
"package": "./when-else"
|
|
2195
|
-
}
|
|
2196
|
-
}
|
|
2197
|
-
]
|
|
2198
|
-
},
|
|
2199
|
-
{
|
|
2200
|
-
"kind": "javascript-module",
|
|
2201
|
-
"path": "src/directives/when-else/when-else.ts",
|
|
2202
|
-
"declarations": [
|
|
2203
|
-
{
|
|
2204
|
-
"kind": "function",
|
|
2205
|
-
"name": "whenElse",
|
|
2206
|
-
"return": {
|
|
2207
|
-
"type": {
|
|
2208
|
-
"text": "CaptureType<TSource>"
|
|
2209
|
-
}
|
|
2210
|
-
},
|
|
2211
|
-
"parameters": [
|
|
2212
|
-
{
|
|
2213
|
-
"name": "binding",
|
|
2214
|
-
"type": {
|
|
2215
|
-
"text": "Binding<TSource, TReturn>"
|
|
2216
|
-
},
|
|
2217
|
-
"description": "The condition to test for rendering."
|
|
2218
|
-
},
|
|
2219
|
-
{
|
|
2220
|
-
"name": "trueTemplateOrTemplateBinding",
|
|
2221
|
-
"type": {
|
|
2222
|
-
"text": "WhenTemplate<TSource>"
|
|
2223
|
-
},
|
|
2224
|
-
"description": "The template or a binding that gets the template to render when the condition is true."
|
|
2225
|
-
},
|
|
2226
|
-
{
|
|
2227
|
-
"name": "falseTemplateOrTemplateBinding",
|
|
2228
|
-
"type": {
|
|
2229
|
-
"text": "WhenTemplate<TSource>"
|
|
2230
|
-
},
|
|
2231
|
-
"description": "The template or a binding that gets the template to render when the condition is false."
|
|
2232
|
-
}
|
|
2233
|
-
],
|
|
2234
|
-
"description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
|
|
2235
|
-
"privacy": "public"
|
|
2236
|
-
}
|
|
2237
|
-
],
|
|
2238
|
-
"exports": [
|
|
2239
|
-
{
|
|
2240
|
-
"kind": "js",
|
|
2241
|
-
"name": "whenElse",
|
|
2242
|
-
"declaration": {
|
|
2243
|
-
"name": "whenElse",
|
|
2244
|
-
"module": "src/directives/when-else/when-else.ts"
|
|
2245
|
-
}
|
|
2246
|
-
}
|
|
2247
|
-
]
|
|
2248
|
-
},
|
|
2249
2390
|
{
|
|
2250
2391
|
"kind": "javascript-module",
|
|
2251
2392
|
"path": "src/mixins/lifecycle/index.ts",
|
|
@@ -2457,132 +2598,6 @@
|
|
|
2457
2598
|
}
|
|
2458
2599
|
]
|
|
2459
2600
|
},
|
|
2460
|
-
{
|
|
2461
|
-
"kind": "javascript-module",
|
|
2462
|
-
"path": "src/state/index.ts",
|
|
2463
|
-
"declarations": [],
|
|
2464
|
-
"exports": [
|
|
2465
|
-
{
|
|
2466
|
-
"kind": "js",
|
|
2467
|
-
"name": "*",
|
|
2468
|
-
"declaration": {
|
|
2469
|
-
"name": "*",
|
|
2470
|
-
"package": "./reactive"
|
|
2471
|
-
}
|
|
2472
|
-
},
|
|
2473
|
-
{
|
|
2474
|
-
"kind": "js",
|
|
2475
|
-
"name": "*",
|
|
2476
|
-
"declaration": {
|
|
2477
|
-
"name": "*",
|
|
2478
|
-
"package": "./visitor"
|
|
2479
|
-
}
|
|
2480
|
-
}
|
|
2481
|
-
]
|
|
2482
|
-
},
|
|
2483
|
-
{
|
|
2484
|
-
"kind": "javascript-module",
|
|
2485
|
-
"path": "src/state/reactive.ts",
|
|
2486
|
-
"declarations": [
|
|
2487
|
-
{
|
|
2488
|
-
"kind": "function",
|
|
2489
|
-
"name": "reactive",
|
|
2490
|
-
"return": {
|
|
2491
|
-
"type": {
|
|
2492
|
-
"text": ""
|
|
2493
|
-
}
|
|
2494
|
-
},
|
|
2495
|
-
"parameters": [
|
|
2496
|
-
{
|
|
2497
|
-
"name": "object",
|
|
2498
|
-
"type": {
|
|
2499
|
-
"text": "T"
|
|
2500
|
-
},
|
|
2501
|
-
"description": "The object to make reactive."
|
|
2502
|
-
},
|
|
2503
|
-
{
|
|
2504
|
-
"name": "deep",
|
|
2505
|
-
"default": "false",
|
|
2506
|
-
"description": "Indicates whether to deeply convert the object."
|
|
2507
|
-
}
|
|
2508
|
-
],
|
|
2509
|
-
"description": "Converts a plain object to a reactive, observable object."
|
|
2510
|
-
}
|
|
2511
|
-
],
|
|
2512
|
-
"exports": [
|
|
2513
|
-
{
|
|
2514
|
-
"kind": "js",
|
|
2515
|
-
"name": "reactive",
|
|
2516
|
-
"declaration": {
|
|
2517
|
-
"name": "reactive",
|
|
2518
|
-
"module": "src/state/reactive.ts"
|
|
2519
|
-
}
|
|
2520
|
-
}
|
|
2521
|
-
]
|
|
2522
|
-
},
|
|
2523
|
-
{
|
|
2524
|
-
"kind": "javascript-module",
|
|
2525
|
-
"path": "src/state/visitor.ts",
|
|
2526
|
-
"declarations": [
|
|
2527
|
-
{
|
|
2528
|
-
"kind": "function",
|
|
2529
|
-
"name": "visitObject",
|
|
2530
|
-
"return": {
|
|
2531
|
-
"type": {
|
|
2532
|
-
"text": "void"
|
|
2533
|
-
}
|
|
2534
|
-
},
|
|
2535
|
-
"parameters": [
|
|
2536
|
-
{
|
|
2537
|
-
"name": "object",
|
|
2538
|
-
"type": {
|
|
2539
|
-
"text": "any"
|
|
2540
|
-
},
|
|
2541
|
-
"description": "The object."
|
|
2542
|
-
},
|
|
2543
|
-
{
|
|
2544
|
-
"name": "deep",
|
|
2545
|
-
"type": {
|
|
2546
|
-
"text": "boolean"
|
|
2547
|
-
},
|
|
2548
|
-
"description": "A flag to indicate if a recursive visit of sub objects should occur."
|
|
2549
|
-
},
|
|
2550
|
-
{
|
|
2551
|
-
"name": "visitor",
|
|
2552
|
-
"type": {
|
|
2553
|
-
"text": "ObjectVisitor<TVisitorData>"
|
|
2554
|
-
},
|
|
2555
|
-
"description": "The defined {@link ObjectVisitor}logic.\n * "
|
|
2556
|
-
},
|
|
2557
|
-
{
|
|
2558
|
-
"name": "data",
|
|
2559
|
-
"type": {
|
|
2560
|
-
"text": "TVisitorData"
|
|
2561
|
-
},
|
|
2562
|
-
"description": "Visitor data."
|
|
2563
|
-
},
|
|
2564
|
-
{
|
|
2565
|
-
"name": "traversed",
|
|
2566
|
-
"type": {
|
|
2567
|
-
"text": "WeakSet<any> | Set<any>"
|
|
2568
|
-
},
|
|
2569
|
-
"description": "The traversed object set."
|
|
2570
|
-
}
|
|
2571
|
-
],
|
|
2572
|
-
"description": "Visit object utility."
|
|
2573
|
-
}
|
|
2574
|
-
],
|
|
2575
|
-
"exports": [
|
|
2576
|
-
{
|
|
2577
|
-
"kind": "js",
|
|
2578
|
-
"name": "visitObject",
|
|
2579
|
-
"declaration": {
|
|
2580
|
-
"name": "visitObject",
|
|
2581
|
-
"module": "src/state/visitor.ts"
|
|
2582
|
-
}
|
|
2583
|
-
}
|
|
2584
|
-
]
|
|
2585
|
-
},
|
|
2586
2601
|
{
|
|
2587
2602
|
"kind": "javascript-module",
|
|
2588
2603
|
"path": "src/serializers/json/index.ts",
|
|
@@ -16,6 +16,17 @@ export { _SOCKET_EXT as SOCKET_EXT };
|
|
|
16
16
|
*/
|
|
17
17
|
declare let _FORCE_HTTP: string;
|
|
18
18
|
export { _FORCE_HTTP as FORCE_HTTP };
|
|
19
|
+
/**
|
|
20
|
+
* Genesis Socket URL
|
|
21
|
+
* @remarks
|
|
22
|
+
* Built from the current {@link https://developer.mozilla.org/en-US/docs/Web/API/Location} object and {@link SOCKET_EXT | socket extension}.
|
|
23
|
+
* @example
|
|
24
|
+
* ```ts
|
|
25
|
+
* await this.connect.connect(GENESIS_SOCKET_URL); // < wss://localhost:6060/gwf/
|
|
26
|
+
* ```
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
export declare const GENESIS_SOCKET_URL: string;
|
|
19
30
|
/**
|
|
20
31
|
* The Genesis Server URL (WebSocket or HTTP).
|
|
21
32
|
* @remarks Optional.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"variables.d.ts","sourceRoot":"","sources":["../../../src/env/variables.ts"],"names":[],"mappings":"AAIA;;;;;;;;GAQG;AACH,QAAA,IAAI,WAAW,EAAE,MAAc,CAAC;AAQhC,OAAO,EAAE,WAAW,IAAI,UAAU,EAAE,CAAC;AAGrC;;;;GAIG;AACH,QAAA,IAAI,WAAW,EAAE,MAAM,CAAC;AAMxB,OAAO,EAAE,WAAW,IAAI,UAAU,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"variables.d.ts","sourceRoot":"","sources":["../../../src/env/variables.ts"],"names":[],"mappings":"AAIA;;;;;;;;GAQG;AACH,QAAA,IAAI,WAAW,EAAE,MAAc,CAAC;AAQhC,OAAO,EAAE,WAAW,IAAI,UAAU,EAAE,CAAC;AAGrC;;;;GAIG;AACH,QAAA,IAAI,WAAW,EAAE,MAAM,CAAC;AAMxB,OAAO,EAAE,WAAW,IAAI,UAAU,EAAE,CAAC;AAErC;;;;;;;;;GASG;AACH,eAAO,MAAM,kBAAkB,QAAiF,CAAC;AAOjH;;;;;;GAMG;AACH,QAAA,IAAI,SAAS,EAAE,MAAwD,CAAC;AAQxE,OAAO,EAAE,SAAS,IAAI,QAAQ,EAAE,CAAC;AAGjC;;;;GAIG;AACH,QAAA,IAAI,YAAY,EAAE,MAAM,CAAC;AAMzB,OAAO,EAAE,YAAY,IAAI,WAAW,EAAE,CAAC;AAKvC;;;;GAIG;AACH,QAAA,IAAI,qBAAqB,EAAE,MAAM,CAAC;AAMlC,OAAO,EAAE,qBAAqB,IAAI,oBAAoB,EAAE,CAAC;AAGzD;;;;GAIG;AACH,QAAA,IAAI,iBAAiB,EAAE,MAAM,CAAC;AAM9B,OAAO,EAAE,iBAAiB,IAAI,gBAAgB,EAAE,CAAC;AAGjD;;;;GAIG;AACH,QAAA,IAAI,aAAa,EAAE,MAAM,CAAC;AAM1B,OAAO,EAAE,aAAa,IAAI,YAAY,EAAE,CAAC"}
|
|
@@ -27,6 +27,17 @@ try {
|
|
|
27
27
|
}
|
|
28
28
|
catch (_b) { }
|
|
29
29
|
export { _FORCE_HTTP as FORCE_HTTP };
|
|
30
|
+
/**
|
|
31
|
+
* Genesis Socket URL
|
|
32
|
+
* @remarks
|
|
33
|
+
* Built from the current {@link https://developer.mozilla.org/en-US/docs/Web/API/Location} object and {@link SOCKET_EXT | socket extension}.
|
|
34
|
+
* @example
|
|
35
|
+
* ```ts
|
|
36
|
+
* await this.connect.connect(GENESIS_SOCKET_URL); // < wss://localhost:6060/gwf/
|
|
37
|
+
* ```
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
export const GENESIS_SOCKET_URL = `${location.protocol.replace('http', 'ws')}//${location.host}/${_SOCKET_EXT}/`;
|
|
30
41
|
const PROTOCOL = _FORCE_HTTP === 'true' ? location.protocol : location.protocol.replace('http', 'ws');
|
|
31
42
|
/**
|
|
32
43
|
* The Genesis Server URL (WebSocket or HTTP).
|
|
@@ -3353,6 +3353,29 @@
|
|
|
3353
3353
|
],
|
|
3354
3354
|
"name": "formatTimestamp"
|
|
3355
3355
|
},
|
|
3356
|
+
{
|
|
3357
|
+
"kind": "Variable",
|
|
3358
|
+
"canonicalReference": "@genesislcap/foundation-utils!GENESIS_SOCKET_URL:var",
|
|
3359
|
+
"docComment": "/**\n * Genesis Socket URL\n *\n * @remarks\n *\n * Built from the current {@link https://developer.mozilla.org/en-US/docs/Web/API/Location} object and {@link SOCKET_EXT | socket extension}.\n *\n * @example\n * ```ts\n * await this.connect.connect(GENESIS_SOCKET_URL); // < wss://localhost:6060/gwf/\n * ```\n *\n * @public\n */\n",
|
|
3360
|
+
"excerptTokens": [
|
|
3361
|
+
{
|
|
3362
|
+
"kind": "Content",
|
|
3363
|
+
"text": "GENESIS_SOCKET_URL: "
|
|
3364
|
+
},
|
|
3365
|
+
{
|
|
3366
|
+
"kind": "Content",
|
|
3367
|
+
"text": "string"
|
|
3368
|
+
}
|
|
3369
|
+
],
|
|
3370
|
+
"fileUrlPath": "src/env/variables.ts",
|
|
3371
|
+
"isReadonly": true,
|
|
3372
|
+
"releaseTag": "Public",
|
|
3373
|
+
"name": "GENESIS_SOCKET_URL",
|
|
3374
|
+
"variableTypeTokenRange": {
|
|
3375
|
+
"startIndex": 1,
|
|
3376
|
+
"endIndex": 2
|
|
3377
|
+
}
|
|
3378
|
+
},
|
|
3356
3379
|
{
|
|
3357
3380
|
"kind": "Variable",
|
|
3358
3381
|
"canonicalReference": "@genesislcap/foundation-utils!getFontMixin:var",
|
|
@@ -439,6 +439,18 @@ export declare type FoundationLayoutContainer = {
|
|
|
439
439
|
_key: 'foundation-layout';
|
|
440
440
|
};
|
|
441
441
|
|
|
442
|
+
/**
|
|
443
|
+
* Genesis Socket URL
|
|
444
|
+
* @remarks
|
|
445
|
+
* Built from the current {@link https://developer.mozilla.org/en-US/docs/Web/API/Location} object and {@link SOCKET_EXT | socket extension}.
|
|
446
|
+
* @example
|
|
447
|
+
* ```ts
|
|
448
|
+
* await this.connect.connect(GENESIS_SOCKET_URL); // < wss://localhost:6060/gwf/
|
|
449
|
+
* ```
|
|
450
|
+
* @public
|
|
451
|
+
*/
|
|
452
|
+
export declare const GENESIS_SOCKET_URL: string;
|
|
453
|
+
|
|
442
454
|
/**
|
|
443
455
|
* Generates a CSS mixin for the specified font family, style, and weight.
|
|
444
456
|
* @param family - The font family.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [GENESIS\_SOCKET\_URL](./foundation-utils.genesis_socket_url.md)
|
|
4
|
+
|
|
5
|
+
## GENESIS\_SOCKET\_URL variable
|
|
6
|
+
|
|
7
|
+
Genesis Socket URL
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
GENESIS_SOCKET_URL: string
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Remarks
|
|
16
|
+
|
|
17
|
+
Built from the current [https://developer.mozilla.org/en-US/docs/Web/API/Location](https://developer.mozilla.org/en-US/docs/Web/API/Location) object and [socket extension](./foundation-utils.socket_ext.md)<!-- -->.
|
|
18
|
+
|
|
19
|
+
## Example
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
```ts
|
|
23
|
+
await this.connect.connect(GENESIS_SOCKET_URL); // < wss://localhost:6060/gwf/
|
|
24
|
+
```
|
|
25
|
+
|
|
@@ -82,6 +82,7 @@
|
|
|
82
82
|
| [defaultJSONSerializerConfig](./foundation-utils.defaultjsonserializerconfig.md) | A Default JSONSerializer Config for serializing and deserializing functions. |
|
|
83
83
|
| [defaultLoggerOptions](./foundation-utils.defaultloggeroptions.md) | The default logger options. |
|
|
84
84
|
| [FORCE\_HTTP](./foundation-utils.force_http.md) | The path to a JSON config file for the HTTP mode. |
|
|
85
|
+
| [GENESIS\_SOCKET\_URL](./foundation-utils.genesis_socket_url.md) | Genesis Socket URL |
|
|
85
86
|
| [getFontMixin](./foundation-utils.getfontmixin.md) | Generates a CSS mixin for the specified font family, style, and weight. |
|
|
86
87
|
| [HTTP\_CONFIG](./foundation-utils.http_config.md) | Configuration settings for HTTP, used in http connect flow \[<code>genesislcap-foundation-comms.HttpConnectConfig</code>\](https://link-to-docs). |
|
|
87
88
|
| [inIFrame](./foundation-utils.iniframe.md) | Returns a boolean value indicating whether the current window is inside an iframe. |
|
package/docs/api-report.md
CHANGED
|
@@ -253,6 +253,9 @@ export type FoundationLayoutContainer = {
|
|
|
253
253
|
_key: 'foundation-layout';
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
+
// @public
|
|
257
|
+
export const GENESIS_SOCKET_URL: string;
|
|
258
|
+
|
|
256
259
|
// @public
|
|
257
260
|
export const getFontMixin: (family: string, style?: FontStyle, weight?: FontWeight) => string;
|
|
258
261
|
|
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.188.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -27,17 +27,17 @@
|
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@genesislcap/foundation-testing": "14.
|
|
31
|
-
"@genesislcap/genx": "14.
|
|
32
|
-
"@genesislcap/rollup-builder": "14.
|
|
33
|
-
"@genesislcap/ts-builder": "14.
|
|
34
|
-
"@genesislcap/uvu-playwright-builder": "14.
|
|
35
|
-
"@genesislcap/vite-builder": "14.
|
|
36
|
-
"@genesislcap/webpack-builder": "14.
|
|
30
|
+
"@genesislcap/foundation-testing": "14.188.0",
|
|
31
|
+
"@genesislcap/genx": "14.188.0",
|
|
32
|
+
"@genesislcap/rollup-builder": "14.188.0",
|
|
33
|
+
"@genesislcap/ts-builder": "14.188.0",
|
|
34
|
+
"@genesislcap/uvu-playwright-builder": "14.188.0",
|
|
35
|
+
"@genesislcap/vite-builder": "14.188.0",
|
|
36
|
+
"@genesislcap/webpack-builder": "14.188.0",
|
|
37
37
|
"rimraf": "^5.0.0"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@genesislcap/foundation-logger": "14.
|
|
40
|
+
"@genesislcap/foundation-logger": "14.188.0",
|
|
41
41
|
"@microsoft/fast-components": "^2.30.6",
|
|
42
42
|
"@microsoft/fast-element": "^1.12.0",
|
|
43
43
|
"@microsoft/fast-foundation": "^2.49.4",
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"access": "public"
|
|
55
55
|
},
|
|
56
56
|
"customElements": "dist/custom-elements.json",
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "c262f43925f3066a3d5515753ef3dd14b6945199"
|
|
58
58
|
}
|