@genesislcap/foundation-utils 14.217.0 → 14.217.1-alpha-bbbd2b3.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/custom-elements.json +109 -59
- package/dist/dts/env/variables.d.ts +20 -0
- package/dist/dts/env/variables.d.ts.map +1 -1
- package/dist/esm/env/variables.js +39 -7
- package/dist/foundation-utils.api.json +46 -0
- package/dist/foundation-utils.d.ts +20 -0
- package/docs/api/foundation-utils.builder.md +18 -0
- package/docs/api/foundation-utils.md +2 -0
- package/docs/api/foundation-utils.public_path.md +18 -0
- package/docs/api-report.md +6 -0
- package/package.json +10 -10
@@ -365,59 +365,6 @@
|
|
365
365
|
}
|
366
366
|
]
|
367
367
|
},
|
368
|
-
{
|
369
|
-
"kind": "javascript-module",
|
370
|
-
"path": "src/decorators/index.ts",
|
371
|
-
"declarations": [],
|
372
|
-
"exports": [
|
373
|
-
{
|
374
|
-
"kind": "js",
|
375
|
-
"name": "*",
|
376
|
-
"declaration": {
|
377
|
-
"name": "*",
|
378
|
-
"package": "./renderOnChange"
|
379
|
-
}
|
380
|
-
}
|
381
|
-
]
|
382
|
-
},
|
383
|
-
{
|
384
|
-
"kind": "javascript-module",
|
385
|
-
"path": "src/decorators/renderOnChange.ts",
|
386
|
-
"declarations": [
|
387
|
-
{
|
388
|
-
"kind": "function",
|
389
|
-
"name": "renderOnChange",
|
390
|
-
"parameters": [
|
391
|
-
{
|
392
|
-
"name": "target",
|
393
|
-
"type": {
|
394
|
-
"text": "FASTElement & { render(): void }"
|
395
|
-
},
|
396
|
-
"description": "The target to define the property change handler on."
|
397
|
-
},
|
398
|
-
{
|
399
|
-
"name": "name",
|
400
|
-
"type": {
|
401
|
-
"text": "string"
|
402
|
-
},
|
403
|
-
"description": "The property name."
|
404
|
-
}
|
405
|
-
],
|
406
|
-
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
407
|
-
"privacy": "public"
|
408
|
-
}
|
409
|
-
],
|
410
|
-
"exports": [
|
411
|
-
{
|
412
|
-
"kind": "js",
|
413
|
-
"name": "renderOnChange",
|
414
|
-
"declaration": {
|
415
|
-
"name": "renderOnChange",
|
416
|
-
"module": "src/decorators/renderOnChange.ts"
|
417
|
-
}
|
418
|
-
}
|
419
|
-
]
|
420
|
-
},
|
421
368
|
{
|
422
369
|
"kind": "javascript-module",
|
423
370
|
"path": "src/design-system/design-system.ts",
|
@@ -470,7 +417,7 @@
|
|
470
417
|
},
|
471
418
|
{
|
472
419
|
"kind": "javascript-module",
|
473
|
-
"path": "src/
|
420
|
+
"path": "src/decorators/index.ts",
|
474
421
|
"declarations": [],
|
475
422
|
"exports": [
|
476
423
|
{
|
@@ -478,15 +425,45 @@
|
|
478
425
|
"name": "*",
|
479
426
|
"declaration": {
|
480
427
|
"name": "*",
|
481
|
-
"package": "./
|
428
|
+
"package": "./renderOnChange"
|
482
429
|
}
|
483
|
-
}
|
430
|
+
}
|
431
|
+
]
|
432
|
+
},
|
433
|
+
{
|
434
|
+
"kind": "javascript-module",
|
435
|
+
"path": "src/decorators/renderOnChange.ts",
|
436
|
+
"declarations": [
|
437
|
+
{
|
438
|
+
"kind": "function",
|
439
|
+
"name": "renderOnChange",
|
440
|
+
"parameters": [
|
441
|
+
{
|
442
|
+
"name": "target",
|
443
|
+
"type": {
|
444
|
+
"text": "FASTElement & { render(): void }"
|
445
|
+
},
|
446
|
+
"description": "The target to define the property change handler on."
|
447
|
+
},
|
448
|
+
{
|
449
|
+
"name": "name",
|
450
|
+
"type": {
|
451
|
+
"text": "string"
|
452
|
+
},
|
453
|
+
"description": "The property name."
|
454
|
+
}
|
455
|
+
],
|
456
|
+
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
457
|
+
"privacy": "public"
|
458
|
+
}
|
459
|
+
],
|
460
|
+
"exports": [
|
484
461
|
{
|
485
462
|
"kind": "js",
|
486
|
-
"name": "
|
463
|
+
"name": "renderOnChange",
|
487
464
|
"declaration": {
|
488
|
-
"name": "
|
489
|
-
"
|
465
|
+
"name": "renderOnChange",
|
466
|
+
"module": "src/decorators/renderOnChange.ts"
|
490
467
|
}
|
491
468
|
}
|
492
469
|
]
|
@@ -540,6 +517,40 @@
|
|
540
517
|
"kind": "javascript-module",
|
541
518
|
"path": "src/env/variables.ts",
|
542
519
|
"declarations": [
|
520
|
+
{
|
521
|
+
"kind": "variable",
|
522
|
+
"name": "BUILDER",
|
523
|
+
"type": {
|
524
|
+
"text": "string"
|
525
|
+
}
|
526
|
+
},
|
527
|
+
{
|
528
|
+
"kind": "variable",
|
529
|
+
"name": "_BUILDER",
|
530
|
+
"type": {
|
531
|
+
"text": "string"
|
532
|
+
},
|
533
|
+
"default": "'webpack'",
|
534
|
+
"description": "The builder aka file bundler.",
|
535
|
+
"privacy": "public"
|
536
|
+
},
|
537
|
+
{
|
538
|
+
"kind": "variable",
|
539
|
+
"name": "PUBLIC_PATH",
|
540
|
+
"type": {
|
541
|
+
"text": "string"
|
542
|
+
}
|
543
|
+
},
|
544
|
+
{
|
545
|
+
"kind": "variable",
|
546
|
+
"name": "_PUBLIC_PATH",
|
547
|
+
"type": {
|
548
|
+
"text": "string"
|
549
|
+
},
|
550
|
+
"default": "'/'",
|
551
|
+
"description": "The public path.",
|
552
|
+
"privacy": "public"
|
553
|
+
},
|
543
554
|
{
|
544
555
|
"kind": "variable",
|
545
556
|
"name": "SOCKET_EXT",
|
@@ -663,6 +674,22 @@
|
|
663
674
|
}
|
664
675
|
],
|
665
676
|
"exports": [
|
677
|
+
{
|
678
|
+
"kind": "js",
|
679
|
+
"name": "BUILDER",
|
680
|
+
"declaration": {
|
681
|
+
"name": "_BUILDER",
|
682
|
+
"module": "src/env/variables.ts"
|
683
|
+
}
|
684
|
+
},
|
685
|
+
{
|
686
|
+
"kind": "js",
|
687
|
+
"name": "PUBLIC_PATH",
|
688
|
+
"declaration": {
|
689
|
+
"name": "_PUBLIC_PATH",
|
690
|
+
"module": "src/env/variables.ts"
|
691
|
+
}
|
692
|
+
},
|
666
693
|
{
|
667
694
|
"kind": "js",
|
668
695
|
"name": "SOCKET_EXT",
|
@@ -928,6 +955,29 @@
|
|
928
955
|
}
|
929
956
|
]
|
930
957
|
},
|
958
|
+
{
|
959
|
+
"kind": "javascript-module",
|
960
|
+
"path": "src/directives/index.ts",
|
961
|
+
"declarations": [],
|
962
|
+
"exports": [
|
963
|
+
{
|
964
|
+
"kind": "js",
|
965
|
+
"name": "*",
|
966
|
+
"declaration": {
|
967
|
+
"name": "*",
|
968
|
+
"package": "./sync"
|
969
|
+
}
|
970
|
+
},
|
971
|
+
{
|
972
|
+
"kind": "js",
|
973
|
+
"name": "*",
|
974
|
+
"declaration": {
|
975
|
+
"name": "*",
|
976
|
+
"package": "./when-else"
|
977
|
+
}
|
978
|
+
}
|
979
|
+
]
|
980
|
+
},
|
931
981
|
{
|
932
982
|
"kind": "javascript-module",
|
933
983
|
"path": "src/formatters/datetime.ts",
|
@@ -1,3 +1,23 @@
|
|
1
|
+
/**
|
2
|
+
* The builder aka file bundler.
|
3
|
+
* @privateRemarks
|
4
|
+
* Provided by default as part of the `resolveDefineConfig` in the build kit.
|
5
|
+
* @example 'webpack', 'vite'.
|
6
|
+
* @defaultValue `'webpack'`
|
7
|
+
* @public
|
8
|
+
*/
|
9
|
+
declare let _BUILDER: string;
|
10
|
+
export { _BUILDER as BUILDER };
|
11
|
+
/**
|
12
|
+
* The public path.
|
13
|
+
* @privateRemarks
|
14
|
+
* Provided by default as part of the `resolveDefineConfig` in the build kit.
|
15
|
+
* @example '/', '/app/'.
|
16
|
+
* @public
|
17
|
+
* @defaultValue `'/'`
|
18
|
+
*/
|
19
|
+
declare let _PUBLIC_PATH: string;
|
20
|
+
export { _PUBLIC_PATH as PUBLIC_PATH };
|
1
21
|
/**
|
2
22
|
* The sub-path used for WebSocket connections when API_HOST is not set
|
3
23
|
* @public
|
@@ -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;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"}
|
1
|
+
{"version":3,"file":"variables.d.ts","sourceRoot":"","sources":["../../../src/env/variables.ts"],"names":[],"mappings":"AAIA;;;;;;;GAOG;AACH,QAAA,IAAI,QAAQ,EAAE,MAAkB,CAAC;AAQjC,OAAO,EAAE,QAAQ,IAAI,OAAO,EAAE,CAAC;AAG/B;;;;;;;GAOG;AACH,QAAA,IAAI,YAAY,EAAE,MAAY,CAAC;AAQ/B,OAAO,EAAE,YAAY,IAAI,WAAW,EAAE,CAAC;AAGvC;;;;;;;;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"}
|
@@ -1,4 +1,36 @@
|
|
1
1
|
/* eslint-disable import/no-mutable-exports */
|
2
|
+
/**
|
3
|
+
* The builder aka file bundler.
|
4
|
+
* @privateRemarks
|
5
|
+
* Provided by default as part of the `resolveDefineConfig` in the build kit.
|
6
|
+
* @example 'webpack', 'vite'.
|
7
|
+
* @defaultValue `'webpack'`
|
8
|
+
* @public
|
9
|
+
*/
|
10
|
+
let _BUILDER = 'webpack';
|
11
|
+
try {
|
12
|
+
if (typeof BUILDER !== 'undefined') {
|
13
|
+
_BUILDER = BUILDER;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
catch (_a) { }
|
17
|
+
export { _BUILDER as BUILDER };
|
18
|
+
/**
|
19
|
+
* The public path.
|
20
|
+
* @privateRemarks
|
21
|
+
* Provided by default as part of the `resolveDefineConfig` in the build kit.
|
22
|
+
* @example '/', '/app/'.
|
23
|
+
* @public
|
24
|
+
* @defaultValue `'/'`
|
25
|
+
*/
|
26
|
+
let _PUBLIC_PATH = '/';
|
27
|
+
try {
|
28
|
+
if (typeof PUBLIC_PATH !== 'undefined') {
|
29
|
+
_PUBLIC_PATH = PUBLIC_PATH;
|
30
|
+
}
|
31
|
+
}
|
32
|
+
catch (_b) { }
|
33
|
+
export { _PUBLIC_PATH as PUBLIC_PATH };
|
2
34
|
/**
|
3
35
|
* The sub-path used for WebSocket connections when API_HOST is not set
|
4
36
|
* @public
|
@@ -14,7 +46,7 @@ try {
|
|
14
46
|
_SOCKET_EXT = SOCKET_EXT;
|
15
47
|
}
|
16
48
|
}
|
17
|
-
catch (
|
49
|
+
catch (_c) { }
|
18
50
|
export { _SOCKET_EXT as SOCKET_EXT };
|
19
51
|
/**
|
20
52
|
* The path to a JSON config file for the HTTP mode.
|
@@ -25,7 +57,7 @@ let _FORCE_HTTP;
|
|
25
57
|
try {
|
26
58
|
_FORCE_HTTP = FORCE_HTTP;
|
27
59
|
}
|
28
|
-
catch (
|
60
|
+
catch (_d) { }
|
29
61
|
export { _FORCE_HTTP as FORCE_HTTP };
|
30
62
|
/**
|
31
63
|
* Genesis Socket URL
|
@@ -52,7 +84,7 @@ try {
|
|
52
84
|
_API_HOST = API_HOST;
|
53
85
|
}
|
54
86
|
}
|
55
|
-
catch (
|
87
|
+
catch (_e) { }
|
56
88
|
export { _API_HOST as API_HOST };
|
57
89
|
/**
|
58
90
|
* Configuration settings for HTTP, used in http connect flow [`genesislcap-foundation-comms.HttpConnectConfig`](https://link-to-docs).
|
@@ -63,7 +95,7 @@ let _HTTP_CONFIG;
|
|
63
95
|
try {
|
64
96
|
_HTTP_CONFIG = HTTP_CONFIG;
|
65
97
|
}
|
66
|
-
catch (
|
98
|
+
catch (_f) { }
|
67
99
|
export { _HTTP_CONFIG as HTTP_CONFIG };
|
68
100
|
/**
|
69
101
|
* The default Organisation value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).
|
@@ -74,7 +106,7 @@ let _DEFAULT_ORGANISATION;
|
|
74
106
|
try {
|
75
107
|
_DEFAULT_ORGANISATION = DEFAULT_ORGANISATION;
|
76
108
|
}
|
77
|
-
catch (
|
109
|
+
catch (_g) { }
|
78
110
|
export { _DEFAULT_ORGANISATION as DEFAULT_ORGANISATION };
|
79
111
|
/**
|
80
112
|
* The default Password value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).
|
@@ -85,7 +117,7 @@ let _DEFAULT_PASSWORD;
|
|
85
117
|
try {
|
86
118
|
_DEFAULT_PASSWORD = DEFAULT_PASSWORD;
|
87
119
|
}
|
88
|
-
catch (
|
120
|
+
catch (_h) { }
|
89
121
|
export { _DEFAULT_PASSWORD as DEFAULT_PASSWORD };
|
90
122
|
/**
|
91
123
|
* The default Username value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).
|
@@ -96,5 +128,5 @@ let _DEFAULT_USER;
|
|
96
128
|
try {
|
97
129
|
_DEFAULT_USER = DEFAULT_USER;
|
98
130
|
}
|
99
|
-
catch (
|
131
|
+
catch (_j) { }
|
100
132
|
export { _DEFAULT_USER as DEFAULT_USER };
|
@@ -274,6 +274,29 @@
|
|
274
274
|
],
|
275
275
|
"name": "assureDesignSystem"
|
276
276
|
},
|
277
|
+
{
|
278
|
+
"kind": "Variable",
|
279
|
+
"canonicalReference": "@genesislcap/foundation-utils!BUILDER:var",
|
280
|
+
"docComment": "/**\n * The builder aka file bundler.\n *\n * @example\n *\n * 'webpack', 'vite'.\n *\n * @defaultValue\n *\n * `'webpack'`\n *\n * @public\n */\n",
|
281
|
+
"excerptTokens": [
|
282
|
+
{
|
283
|
+
"kind": "Content",
|
284
|
+
"text": "_BUILDER: "
|
285
|
+
},
|
286
|
+
{
|
287
|
+
"kind": "Content",
|
288
|
+
"text": "string"
|
289
|
+
}
|
290
|
+
],
|
291
|
+
"fileUrlPath": "src/env/variables.ts",
|
292
|
+
"isReadonly": false,
|
293
|
+
"releaseTag": "Public",
|
294
|
+
"name": "BUILDER",
|
295
|
+
"variableTypeTokenRange": {
|
296
|
+
"startIndex": 1,
|
297
|
+
"endIndex": 2
|
298
|
+
}
|
299
|
+
},
|
277
300
|
{
|
278
301
|
"kind": "TypeAlias",
|
279
302
|
"canonicalReference": "@genesislcap/foundation-utils!ConstructableLifecycleHandler:type",
|
@@ -11806,6 +11829,29 @@
|
|
11806
11829
|
"endIndex": 0
|
11807
11830
|
}
|
11808
11831
|
},
|
11832
|
+
{
|
11833
|
+
"kind": "Variable",
|
11834
|
+
"canonicalReference": "@genesislcap/foundation-utils!PUBLIC_PATH:var",
|
11835
|
+
"docComment": "/**\n * The public path.\n *\n * @example\n *\n * '/', '/app/'.\n *\n * @defaultValue\n *\n * `'/'`\n *\n * @public\n */\n",
|
11836
|
+
"excerptTokens": [
|
11837
|
+
{
|
11838
|
+
"kind": "Content",
|
11839
|
+
"text": "_PUBLIC_PATH: "
|
11840
|
+
},
|
11841
|
+
{
|
11842
|
+
"kind": "Content",
|
11843
|
+
"text": "string"
|
11844
|
+
}
|
11845
|
+
],
|
11846
|
+
"fileUrlPath": "src/env/variables.ts",
|
11847
|
+
"isReadonly": false,
|
11848
|
+
"releaseTag": "Public",
|
11849
|
+
"name": "PUBLIC_PATH",
|
11850
|
+
"variableTypeTokenRange": {
|
11851
|
+
"startIndex": 1,
|
11852
|
+
"endIndex": 2
|
11853
|
+
}
|
11854
|
+
},
|
11809
11855
|
{
|
11810
11856
|
"kind": "TypeAlias",
|
11811
11857
|
"canonicalReference": "@genesislcap/foundation-utils!Publish:type",
|
@@ -73,6 +73,16 @@ export declare function assureDesignSystem(module: DesignSystemModule): DesignSy
|
|
73
73
|
*/
|
74
74
|
export declare const BIG_INT_64_BITS = 64;
|
75
75
|
|
76
|
+
/**
|
77
|
+
* The builder aka file bundler.
|
78
|
+
* @privateRemarks
|
79
|
+
* Provided by default as part of the `resolveDefineConfig` in the build kit.
|
80
|
+
* @example 'webpack', 'vite'.
|
81
|
+
* @defaultValue `'webpack'`
|
82
|
+
* @public
|
83
|
+
*/
|
84
|
+
export declare let BUILDER: string;
|
85
|
+
|
76
86
|
/**
|
77
87
|
* @public
|
78
88
|
*/
|
@@ -1560,6 +1570,16 @@ export declare const POPUP_DEFAULT_HEIGHT = 600;
|
|
1560
1570
|
*/
|
1561
1571
|
export declare const POPUP_DEFAULT_WIDTH = 483;
|
1562
1572
|
|
1573
|
+
/**
|
1574
|
+
* The public path.
|
1575
|
+
* @privateRemarks
|
1576
|
+
* Provided by default as part of the `resolveDefineConfig` in the build kit.
|
1577
|
+
* @example '/', '/app/'.
|
1578
|
+
* @public
|
1579
|
+
* @defaultValue `'/'`
|
1580
|
+
*/
|
1581
|
+
export declare let PUBLIC_PATH: string;
|
1582
|
+
|
1563
1583
|
/**
|
1564
1584
|
* Publishes an event of a specific type to all subscribed listeners.
|
1565
1585
|
* @public
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [BUILDER](./foundation-utils.builder.md)
|
4
|
+
|
5
|
+
## BUILDER variable
|
6
|
+
|
7
|
+
The builder aka file bundler.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
_BUILDER: string
|
13
|
+
```
|
14
|
+
|
15
|
+
## Example
|
16
|
+
|
17
|
+
'webpack', 'vite'.
|
18
|
+
|
@@ -75,6 +75,7 @@
|
|
75
75
|
| --- | --- |
|
76
76
|
| [activeColorScheme](./foundation-utils.activecolorscheme.md) | A design token that represents the active color scheme (light or dark). |
|
77
77
|
| [API\_HOST](./foundation-utils.api_host.md) | The Genesis Server URL (WebSocket or HTTP). |
|
78
|
+
| [BUILDER](./foundation-utils.builder.md) | The builder aka file bundler. |
|
78
79
|
| [createErrorMap](./foundation-utils.createerrormap.md) | A factory to create the error map. |
|
79
80
|
| [createObserver](./foundation-utils.createobserver.md) | Creates a new event observer instance. |
|
80
81
|
| [DEFAULT\_ORGANISATION](./foundation-utils.default_organisation.md) | The default Organisation value, used in auth/login flow \[<code>genesislcap-foundation-login</code>\](https://link-to-docs). |
|
@@ -101,6 +102,7 @@
|
|
101
102
|
| [PendingState](./foundation-utils.pendingstate.md) | The <code>PendingState</code> mixin. |
|
102
103
|
| [POPUP\_DEFAULT\_HEIGHT](./foundation-utils.popup_default_height.md) | The default height (in pixels) for pop-up windows. |
|
103
104
|
| [POPUP\_DEFAULT\_WIDTH](./foundation-utils.popup_default_width.md) | The default width (in pixels) for pop-up windows. |
|
105
|
+
| [PUBLIC\_PATH](./foundation-utils.public_path.md) | The public path. |
|
104
106
|
| [resolveAfter](./foundation-utils.resolveafter.md) | Resolve a promise after a timeout. |
|
105
107
|
| [ResourceType](./foundation-utils.resourcetype.md) | An object that defines two resource types: "local" and "remote". |
|
106
108
|
| [respondToVisibility](./foundation-utils.respondtovisibility.md) | Setup an <code>IntersectionObserver</code> which will activate a callback function when an element becomes visible on screen |
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [PUBLIC\_PATH](./foundation-utils.public_path.md)
|
4
|
+
|
5
|
+
## PUBLIC\_PATH variable
|
6
|
+
|
7
|
+
The public path.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
_PUBLIC_PATH: string
|
13
|
+
```
|
14
|
+
|
15
|
+
## Example
|
16
|
+
|
17
|
+
'/', '/app/'.
|
18
|
+
|
package/docs/api-report.md
CHANGED
@@ -33,6 +33,9 @@ export function assureDesignSystem(module: DesignSystemModule): DesignSystemModu
|
|
33
33
|
// @internal (undocumented)
|
34
34
|
export const BIG_INT_64_BITS = 64;
|
35
35
|
|
36
|
+
// @public
|
37
|
+
export let BUILDER: string;
|
38
|
+
|
36
39
|
// @public (undocumented)
|
37
40
|
export type ConstructableLifecycleHandler = Constructable<FASTElement & HTMLElement>;
|
38
41
|
|
@@ -1075,6 +1078,9 @@ export const POPUP_DEFAULT_HEIGHT = 600;
|
|
1075
1078
|
// @public
|
1076
1079
|
export const POPUP_DEFAULT_WIDTH = 483;
|
1077
1080
|
|
1081
|
+
// @public
|
1082
|
+
export let PUBLIC_PATH: string;
|
1083
|
+
|
1078
1084
|
// @public
|
1079
1085
|
export type Publish<EventType> = (event: EventType) => void;
|
1080
1086
|
|
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.217.0",
|
4
|
+
"version": "14.217.1-alpha-bbbd2b3.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.217.0",
|
31
|
-
"@genesislcap/genx": "14.217.0",
|
32
|
-
"@genesislcap/rollup-builder": "14.217.0",
|
33
|
-
"@genesislcap/ts-builder": "14.217.0",
|
34
|
-
"@genesislcap/uvu-playwright-builder": "14.217.0",
|
35
|
-
"@genesislcap/vite-builder": "14.217.0",
|
36
|
-
"@genesislcap/webpack-builder": "14.217.0",
|
30
|
+
"@genesislcap/foundation-testing": "14.217.1-alpha-bbbd2b3.0",
|
31
|
+
"@genesislcap/genx": "14.217.1-alpha-bbbd2b3.0",
|
32
|
+
"@genesislcap/rollup-builder": "14.217.1-alpha-bbbd2b3.0",
|
33
|
+
"@genesislcap/ts-builder": "14.217.1-alpha-bbbd2b3.0",
|
34
|
+
"@genesislcap/uvu-playwright-builder": "14.217.1-alpha-bbbd2b3.0",
|
35
|
+
"@genesislcap/vite-builder": "14.217.1-alpha-bbbd2b3.0",
|
36
|
+
"@genesislcap/webpack-builder": "14.217.1-alpha-bbbd2b3.0",
|
37
37
|
"rimraf": "^5.0.0"
|
38
38
|
},
|
39
39
|
"dependencies": {
|
40
|
-
"@genesislcap/foundation-logger": "14.217.0",
|
40
|
+
"@genesislcap/foundation-logger": "14.217.1-alpha-bbbd2b3.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",
|
@@ -55,5 +55,5 @@
|
|
55
55
|
"access": "public"
|
56
56
|
},
|
57
57
|
"customElements": "dist/custom-elements.json",
|
58
|
-
"gitHead": "
|
58
|
+
"gitHead": "11665b997cc85fbfba6db6f8995df8c7b06a2776"
|
59
59
|
}
|