@genesislcap/foundation-utils 14.226.1 → 14.226.2-alpha-bcda968.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -367,56 +367,6 @@
367
367
  }
368
368
  ]
369
369
  },
370
- {
371
- "kind": "javascript-module",
372
- "path": "src/design-system/design-system.ts",
373
- "declarations": [
374
- {
375
- "kind": "function",
376
- "name": "assureDesignSystem",
377
- "return": {
378
- "type": {
379
- "text": "DesignSystemModule"
380
- }
381
- },
382
- "parameters": [
383
- {
384
- "name": "module",
385
- "type": {
386
- "text": "DesignSystemModule"
387
- }
388
- }
389
- ],
390
- "description": "assureDesignSystem.",
391
- "privacy": "public"
392
- }
393
- ],
394
- "exports": [
395
- {
396
- "kind": "js",
397
- "name": "assureDesignSystem",
398
- "declaration": {
399
- "name": "assureDesignSystem",
400
- "module": "src/design-system/design-system.ts"
401
- }
402
- }
403
- ]
404
- },
405
- {
406
- "kind": "javascript-module",
407
- "path": "src/design-system/index.ts",
408
- "declarations": [],
409
- "exports": [
410
- {
411
- "kind": "js",
412
- "name": "*",
413
- "declaration": {
414
- "name": "*",
415
- "package": "./design-system"
416
- }
417
- }
418
- ]
419
- },
420
370
  {
421
371
  "kind": "javascript-module",
422
372
  "path": "src/decorators/index.ts",
@@ -470,29 +420,6 @@
470
420
  }
471
421
  ]
472
422
  },
473
- {
474
- "kind": "javascript-module",
475
- "path": "src/directives/index.ts",
476
- "declarations": [],
477
- "exports": [
478
- {
479
- "kind": "js",
480
- "name": "*",
481
- "declaration": {
482
- "name": "*",
483
- "package": "./sync"
484
- }
485
- },
486
- {
487
- "kind": "js",
488
- "name": "*",
489
- "declaration": {
490
- "name": "*",
491
- "package": "./when-else"
492
- }
493
- }
494
- ]
495
- },
496
423
  {
497
424
  "kind": "javascript-module",
498
425
  "path": "src/encoding/index.ts",
@@ -557,6 +484,40 @@
557
484
  "kind": "javascript-module",
558
485
  "path": "src/env/variables.ts",
559
486
  "declarations": [
487
+ {
488
+ "kind": "variable",
489
+ "name": "BUILDER",
490
+ "type": {
491
+ "text": "string"
492
+ }
493
+ },
494
+ {
495
+ "kind": "variable",
496
+ "name": "_BUILDER",
497
+ "type": {
498
+ "text": "string"
499
+ },
500
+ "default": "'webpack'",
501
+ "description": "The builder aka file bundler.",
502
+ "privacy": "public"
503
+ },
504
+ {
505
+ "kind": "variable",
506
+ "name": "PUBLIC_PATH",
507
+ "type": {
508
+ "text": "string"
509
+ }
510
+ },
511
+ {
512
+ "kind": "variable",
513
+ "name": "_PUBLIC_PATH",
514
+ "type": {
515
+ "text": "string"
516
+ },
517
+ "default": "'/'",
518
+ "description": "The public path.",
519
+ "privacy": "public"
520
+ },
560
521
  {
561
522
  "kind": "variable",
562
523
  "name": "SOCKET_EXT",
@@ -680,6 +641,22 @@
680
641
  }
681
642
  ],
682
643
  "exports": [
644
+ {
645
+ "kind": "js",
646
+ "name": "BUILDER",
647
+ "declaration": {
648
+ "name": "_BUILDER",
649
+ "module": "src/env/variables.ts"
650
+ }
651
+ },
652
+ {
653
+ "kind": "js",
654
+ "name": "PUBLIC_PATH",
655
+ "declaration": {
656
+ "name": "_PUBLIC_PATH",
657
+ "module": "src/env/variables.ts"
658
+ }
659
+ },
683
660
  {
684
661
  "kind": "js",
685
662
  "name": "SOCKET_EXT",
@@ -746,6 +723,29 @@
746
723
  }
747
724
  ]
748
725
  },
726
+ {
727
+ "kind": "javascript-module",
728
+ "path": "src/directives/index.ts",
729
+ "declarations": [],
730
+ "exports": [
731
+ {
732
+ "kind": "js",
733
+ "name": "*",
734
+ "declaration": {
735
+ "name": "*",
736
+ "package": "./sync"
737
+ }
738
+ },
739
+ {
740
+ "kind": "js",
741
+ "name": "*",
742
+ "declaration": {
743
+ "name": "*",
744
+ "package": "./when-else"
745
+ }
746
+ }
747
+ ]
748
+ },
749
749
  {
750
750
  "kind": "javascript-module",
751
751
  "path": "src/error/errorMap.ts",
@@ -945,6 +945,56 @@
945
945
  }
946
946
  ]
947
947
  },
948
+ {
949
+ "kind": "javascript-module",
950
+ "path": "src/design-system/design-system.ts",
951
+ "declarations": [
952
+ {
953
+ "kind": "function",
954
+ "name": "assureDesignSystem",
955
+ "return": {
956
+ "type": {
957
+ "text": "DesignSystemModule"
958
+ }
959
+ },
960
+ "parameters": [
961
+ {
962
+ "name": "module",
963
+ "type": {
964
+ "text": "DesignSystemModule"
965
+ }
966
+ }
967
+ ],
968
+ "description": "assureDesignSystem.",
969
+ "privacy": "public"
970
+ }
971
+ ],
972
+ "exports": [
973
+ {
974
+ "kind": "js",
975
+ "name": "assureDesignSystem",
976
+ "declaration": {
977
+ "name": "assureDesignSystem",
978
+ "module": "src/design-system/design-system.ts"
979
+ }
980
+ }
981
+ ]
982
+ },
983
+ {
984
+ "kind": "javascript-module",
985
+ "path": "src/design-system/index.ts",
986
+ "declarations": [],
987
+ "exports": [
988
+ {
989
+ "kind": "js",
990
+ "name": "*",
991
+ "declaration": {
992
+ "name": "*",
993
+ "package": "./design-system"
994
+ }
995
+ }
996
+ ]
997
+ },
948
998
  {
949
999
  "kind": "javascript-module",
950
1000
  "path": "src/formatters/datetime.ts",
@@ -2233,160 +2283,6 @@
2233
2283
  }
2234
2284
  ]
2235
2285
  },
2236
- {
2237
- "kind": "javascript-module",
2238
- "path": "src/directives/sync/index.ts",
2239
- "declarations": [],
2240
- "exports": [
2241
- {
2242
- "kind": "js",
2243
- "name": "*",
2244
- "declaration": {
2245
- "name": "*",
2246
- "package": "./sync"
2247
- }
2248
- }
2249
- ]
2250
- },
2251
- {
2252
- "kind": "javascript-module",
2253
- "path": "src/directives/sync/sync.ts",
2254
- "declarations": [
2255
- {
2256
- "kind": "variable",
2257
- "name": "defaultEventMap",
2258
- "type": {
2259
- "text": "Map<string, EventName>"
2260
- },
2261
- "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])",
2262
- "description": "A map that associates specific HTML element tags with their corresponding default event names.",
2263
- "privacy": "public"
2264
- },
2265
- {
2266
- "kind": "function",
2267
- "name": "sync",
2268
- "return": {
2269
- "type": {
2270
- "text": "CaptureType<TSource>"
2271
- }
2272
- },
2273
- "parameters": [
2274
- {
2275
- "name": "binding",
2276
- "type": {
2277
- "text": "Binding<TSource, TReturn>"
2278
- }
2279
- },
2280
- {
2281
- "name": "conversionType",
2282
- "default": "'string'",
2283
- "type": {
2284
- "text": "ConversionType"
2285
- }
2286
- },
2287
- {
2288
- "name": "eventName",
2289
- "default": "'default'",
2290
- "type": {
2291
- "text": "EventName"
2292
- }
2293
- },
2294
- {
2295
- "name": "keyAttr",
2296
- "optional": true,
2297
- "type": {
2298
- "text": "string"
2299
- }
2300
- }
2301
- ],
2302
- "description": "Creates a synchronization directive that binds a data source to an HTML element,",
2303
- "privacy": "public"
2304
- }
2305
- ],
2306
- "exports": [
2307
- {
2308
- "kind": "js",
2309
- "name": "defaultEventMap",
2310
- "declaration": {
2311
- "name": "defaultEventMap",
2312
- "module": "src/directives/sync/sync.ts"
2313
- }
2314
- },
2315
- {
2316
- "kind": "js",
2317
- "name": "sync",
2318
- "declaration": {
2319
- "name": "sync",
2320
- "module": "src/directives/sync/sync.ts"
2321
- }
2322
- }
2323
- ]
2324
- },
2325
- {
2326
- "kind": "javascript-module",
2327
- "path": "src/directives/when-else/index.ts",
2328
- "declarations": [],
2329
- "exports": [
2330
- {
2331
- "kind": "js",
2332
- "name": "*",
2333
- "declaration": {
2334
- "name": "*",
2335
- "package": "./when-else"
2336
- }
2337
- }
2338
- ]
2339
- },
2340
- {
2341
- "kind": "javascript-module",
2342
- "path": "src/directives/when-else/when-else.ts",
2343
- "declarations": [
2344
- {
2345
- "kind": "function",
2346
- "name": "whenElse",
2347
- "return": {
2348
- "type": {
2349
- "text": "CaptureType<TSource>"
2350
- }
2351
- },
2352
- "parameters": [
2353
- {
2354
- "name": "binding",
2355
- "type": {
2356
- "text": "Binding<TSource, TReturn>"
2357
- },
2358
- "description": "The condition to test for rendering."
2359
- },
2360
- {
2361
- "name": "trueTemplateOrTemplateBinding",
2362
- "type": {
2363
- "text": "WhenTemplate<TSource>"
2364
- },
2365
- "description": "The template or a binding that gets the template to render when the condition is true."
2366
- },
2367
- {
2368
- "name": "falseTemplateOrTemplateBinding",
2369
- "type": {
2370
- "text": "WhenTemplate<TSource>"
2371
- },
2372
- "description": "The template or a binding that gets the template to render when the condition is false."
2373
- }
2374
- ],
2375
- "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
2376
- "privacy": "public"
2377
- }
2378
- ],
2379
- "exports": [
2380
- {
2381
- "kind": "js",
2382
- "name": "whenElse",
2383
- "declaration": {
2384
- "name": "whenElse",
2385
- "module": "src/directives/when-else/when-else.ts"
2386
- }
2387
- }
2388
- ]
2389
- },
2390
2286
  {
2391
2287
  "kind": "javascript-module",
2392
2288
  "path": "src/encoding/base64/decode.ts",
@@ -2541,6 +2437,160 @@
2541
2437
  }
2542
2438
  ]
2543
2439
  },
2440
+ {
2441
+ "kind": "javascript-module",
2442
+ "path": "src/directives/sync/index.ts",
2443
+ "declarations": [],
2444
+ "exports": [
2445
+ {
2446
+ "kind": "js",
2447
+ "name": "*",
2448
+ "declaration": {
2449
+ "name": "*",
2450
+ "package": "./sync"
2451
+ }
2452
+ }
2453
+ ]
2454
+ },
2455
+ {
2456
+ "kind": "javascript-module",
2457
+ "path": "src/directives/sync/sync.ts",
2458
+ "declarations": [
2459
+ {
2460
+ "kind": "variable",
2461
+ "name": "defaultEventMap",
2462
+ "type": {
2463
+ "text": "Map<string, EventName>"
2464
+ },
2465
+ "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])",
2466
+ "description": "A map that associates specific HTML element tags with their corresponding default event names.",
2467
+ "privacy": "public"
2468
+ },
2469
+ {
2470
+ "kind": "function",
2471
+ "name": "sync",
2472
+ "return": {
2473
+ "type": {
2474
+ "text": "CaptureType<TSource>"
2475
+ }
2476
+ },
2477
+ "parameters": [
2478
+ {
2479
+ "name": "binding",
2480
+ "type": {
2481
+ "text": "Binding<TSource, TReturn>"
2482
+ }
2483
+ },
2484
+ {
2485
+ "name": "conversionType",
2486
+ "default": "'string'",
2487
+ "type": {
2488
+ "text": "ConversionType"
2489
+ }
2490
+ },
2491
+ {
2492
+ "name": "eventName",
2493
+ "default": "'default'",
2494
+ "type": {
2495
+ "text": "EventName"
2496
+ }
2497
+ },
2498
+ {
2499
+ "name": "keyAttr",
2500
+ "optional": true,
2501
+ "type": {
2502
+ "text": "string"
2503
+ }
2504
+ }
2505
+ ],
2506
+ "description": "Creates a synchronization directive that binds a data source to an HTML element,",
2507
+ "privacy": "public"
2508
+ }
2509
+ ],
2510
+ "exports": [
2511
+ {
2512
+ "kind": "js",
2513
+ "name": "defaultEventMap",
2514
+ "declaration": {
2515
+ "name": "defaultEventMap",
2516
+ "module": "src/directives/sync/sync.ts"
2517
+ }
2518
+ },
2519
+ {
2520
+ "kind": "js",
2521
+ "name": "sync",
2522
+ "declaration": {
2523
+ "name": "sync",
2524
+ "module": "src/directives/sync/sync.ts"
2525
+ }
2526
+ }
2527
+ ]
2528
+ },
2529
+ {
2530
+ "kind": "javascript-module",
2531
+ "path": "src/directives/when-else/index.ts",
2532
+ "declarations": [],
2533
+ "exports": [
2534
+ {
2535
+ "kind": "js",
2536
+ "name": "*",
2537
+ "declaration": {
2538
+ "name": "*",
2539
+ "package": "./when-else"
2540
+ }
2541
+ }
2542
+ ]
2543
+ },
2544
+ {
2545
+ "kind": "javascript-module",
2546
+ "path": "src/directives/when-else/when-else.ts",
2547
+ "declarations": [
2548
+ {
2549
+ "kind": "function",
2550
+ "name": "whenElse",
2551
+ "return": {
2552
+ "type": {
2553
+ "text": "CaptureType<TSource>"
2554
+ }
2555
+ },
2556
+ "parameters": [
2557
+ {
2558
+ "name": "binding",
2559
+ "type": {
2560
+ "text": "Binding<TSource, TReturn>"
2561
+ },
2562
+ "description": "The condition to test for rendering."
2563
+ },
2564
+ {
2565
+ "name": "trueTemplateOrTemplateBinding",
2566
+ "type": {
2567
+ "text": "WhenTemplate<TSource>"
2568
+ },
2569
+ "description": "The template or a binding that gets the template to render when the condition is true."
2570
+ },
2571
+ {
2572
+ "name": "falseTemplateOrTemplateBinding",
2573
+ "type": {
2574
+ "text": "WhenTemplate<TSource>"
2575
+ },
2576
+ "description": "The template or a binding that gets the template to render when the condition is false."
2577
+ }
2578
+ ],
2579
+ "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
2580
+ "privacy": "public"
2581
+ }
2582
+ ],
2583
+ "exports": [
2584
+ {
2585
+ "kind": "js",
2586
+ "name": "whenElse",
2587
+ "declaration": {
2588
+ "name": "whenElse",
2589
+ "module": "src/directives/when-else/when-else.ts"
2590
+ }
2591
+ }
2592
+ ]
2593
+ },
2544
2594
  {
2545
2595
  "kind": "javascript-module",
2546
2596
  "path": "src/mappers/dto/index.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 (_a) { }
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 (_b) { }
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 (_c) { }
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 (_d) { }
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 (_e) { }
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 (_f) { }
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 (_g) { }
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",
@@ -11926,6 +11949,29 @@
11926
11949
  "endIndex": 0
11927
11950
  }
11928
11951
  },
11952
+ {
11953
+ "kind": "Variable",
11954
+ "canonicalReference": "@genesislcap/foundation-utils!PUBLIC_PATH:var",
11955
+ "docComment": "/**\n * The public path.\n *\n * @example\n *\n * '/', '/app/'.\n *\n * @defaultValue\n *\n * `'/'`\n *\n * @public\n */\n",
11956
+ "excerptTokens": [
11957
+ {
11958
+ "kind": "Content",
11959
+ "text": "_PUBLIC_PATH: "
11960
+ },
11961
+ {
11962
+ "kind": "Content",
11963
+ "text": "string"
11964
+ }
11965
+ ],
11966
+ "fileUrlPath": "src/env/variables.ts",
11967
+ "isReadonly": false,
11968
+ "releaseTag": "Public",
11969
+ "name": "PUBLIC_PATH",
11970
+ "variableTypeTokenRange": {
11971
+ "startIndex": 1,
11972
+ "endIndex": 2
11973
+ }
11974
+ },
11929
11975
  {
11930
11976
  "kind": "TypeAlias",
11931
11977
  "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
  */
@@ -1594,6 +1604,16 @@ export declare const POPUP_DEFAULT_HEIGHT = 600;
1594
1604
  */
1595
1605
  export declare const POPUP_DEFAULT_WIDTH = 483;
1596
1606
 
1607
+ /**
1608
+ * The public path.
1609
+ * @privateRemarks
1610
+ * Provided by default as part of the `resolveDefineConfig` in the build kit.
1611
+ * @example '/', '/app/'.
1612
+ * @public
1613
+ * @defaultValue `'/'`
1614
+ */
1615
+ export declare let PUBLIC_PATH: string;
1616
+
1597
1617
  /**
1598
1618
  * Publishes an event of a specific type to all subscribed listeners.
1599
1619
  * @public
@@ -0,0 +1,18 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-utils](./foundation-utils.md) &gt; [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
  | [decodeFromBase64](./foundation-utils.decodefrombase64.md) | Decodes a value from base64. |
@@ -105,6 +106,7 @@
105
106
  | [PendingState](./foundation-utils.pendingstate.md) | The <code>PendingState</code> mixin. |
106
107
  | [POPUP\_DEFAULT\_HEIGHT](./foundation-utils.popup_default_height.md) | The default height (in pixels) for pop-up windows. |
107
108
  | [POPUP\_DEFAULT\_WIDTH](./foundation-utils.popup_default_width.md) | The default width (in pixels) for pop-up windows. |
109
+ | [PUBLIC\_PATH](./foundation-utils.public_path.md) | The public path. |
108
110
  | [resolveAfter](./foundation-utils.resolveafter.md) | Resolve a promise after a timeout. |
109
111
  | [ResourceType](./foundation-utils.resourcetype.md) | An object that defines two resource types: "local" and "remote". |
110
112
  | [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) &gt; [@genesislcap/foundation-utils](./foundation-utils.md) &gt; [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
+
@@ -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
 
@@ -1087,6 +1090,9 @@ export const POPUP_DEFAULT_HEIGHT = 600;
1087
1090
  // @public
1088
1091
  export const POPUP_DEFAULT_WIDTH = 483;
1089
1092
 
1093
+ // @public
1094
+ export let PUBLIC_PATH: string;
1095
+
1090
1096
  // @public
1091
1097
  export type Publish<EventType> = (event: EventType) => void;
1092
1098
 
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.226.1",
4
+ "version": "14.226.2-alpha-bcda968.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.226.1",
31
- "@genesislcap/genx": "14.226.1",
32
- "@genesislcap/rollup-builder": "14.226.1",
33
- "@genesislcap/ts-builder": "14.226.1",
34
- "@genesislcap/uvu-playwright-builder": "14.226.1",
35
- "@genesislcap/vite-builder": "14.226.1",
36
- "@genesislcap/webpack-builder": "14.226.1",
30
+ "@genesislcap/foundation-testing": "14.226.2-alpha-bcda968.0",
31
+ "@genesislcap/genx": "14.226.2-alpha-bcda968.0",
32
+ "@genesislcap/rollup-builder": "14.226.2-alpha-bcda968.0",
33
+ "@genesislcap/ts-builder": "14.226.2-alpha-bcda968.0",
34
+ "@genesislcap/uvu-playwright-builder": "14.226.2-alpha-bcda968.0",
35
+ "@genesislcap/vite-builder": "14.226.2-alpha-bcda968.0",
36
+ "@genesislcap/webpack-builder": "14.226.2-alpha-bcda968.0",
37
37
  "rimraf": "^5.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/foundation-logger": "14.226.1",
40
+ "@genesislcap/foundation-logger": "14.226.2-alpha-bcda968.0",
41
41
  "@microsoft/fast-components": "2.30.6",
42
42
  "@microsoft/fast-element": "1.14.0",
43
43
  "@microsoft/fast-foundation": "2.49.6",
@@ -55,5 +55,5 @@
55
55
  "access": "public"
56
56
  },
57
57
  "customElements": "dist/custom-elements.json",
58
- "gitHead": "e691c1741d135edca5271f338f62df8154efb99c"
58
+ "gitHead": "9af9df8ba21d267f9bb916dcdc29796cd9f3e007"
59
59
  }