@genesislcap/foundation-utils 14.250.0 → 14.251.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.
Files changed (2) hide show
  1. package/dist/custom-elements.json +222 -222
  2. package/package.json +10 -10
@@ -367,6 +367,56 @@
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
+ },
370
420
  {
371
421
  "kind": "javascript-module",
372
422
  "path": "src/directives/index.ts",
@@ -390,6 +440,59 @@
390
440
  }
391
441
  ]
392
442
  },
443
+ {
444
+ "kind": "javascript-module",
445
+ "path": "src/decorators/index.ts",
446
+ "declarations": [],
447
+ "exports": [
448
+ {
449
+ "kind": "js",
450
+ "name": "*",
451
+ "declaration": {
452
+ "name": "*",
453
+ "package": "./renderOnChange"
454
+ }
455
+ }
456
+ ]
457
+ },
458
+ {
459
+ "kind": "javascript-module",
460
+ "path": "src/decorators/renderOnChange.ts",
461
+ "declarations": [
462
+ {
463
+ "kind": "function",
464
+ "name": "renderOnChange",
465
+ "parameters": [
466
+ {
467
+ "name": "target",
468
+ "type": {
469
+ "text": "FASTElement & { render(): void }"
470
+ },
471
+ "description": "The target to define the property change handler on."
472
+ },
473
+ {
474
+ "name": "name",
475
+ "type": {
476
+ "text": "string"
477
+ },
478
+ "description": "The property name."
479
+ }
480
+ ],
481
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
482
+ "privacy": "public"
483
+ }
484
+ ],
485
+ "exports": [
486
+ {
487
+ "kind": "js",
488
+ "name": "renderOnChange",
489
+ "declaration": {
490
+ "name": "renderOnChange",
491
+ "module": "src/decorators/renderOnChange.ts"
492
+ }
493
+ }
494
+ ]
495
+ },
393
496
  {
394
497
  "kind": "javascript-module",
395
498
  "path": "src/encoding/index.ts",
@@ -846,109 +949,6 @@
846
949
  }
847
950
  ]
848
951
  },
849
- {
850
- "kind": "javascript-module",
851
- "path": "src/decorators/index.ts",
852
- "declarations": [],
853
- "exports": [
854
- {
855
- "kind": "js",
856
- "name": "*",
857
- "declaration": {
858
- "name": "*",
859
- "package": "./renderOnChange"
860
- }
861
- }
862
- ]
863
- },
864
- {
865
- "kind": "javascript-module",
866
- "path": "src/decorators/renderOnChange.ts",
867
- "declarations": [
868
- {
869
- "kind": "function",
870
- "name": "renderOnChange",
871
- "parameters": [
872
- {
873
- "name": "target",
874
- "type": {
875
- "text": "FASTElement & { render(): void }"
876
- },
877
- "description": "The target to define the property change handler on."
878
- },
879
- {
880
- "name": "name",
881
- "type": {
882
- "text": "string"
883
- },
884
- "description": "The property name."
885
- }
886
- ],
887
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
888
- "privacy": "public"
889
- }
890
- ],
891
- "exports": [
892
- {
893
- "kind": "js",
894
- "name": "renderOnChange",
895
- "declaration": {
896
- "name": "renderOnChange",
897
- "module": "src/decorators/renderOnChange.ts"
898
- }
899
- }
900
- ]
901
- },
902
- {
903
- "kind": "javascript-module",
904
- "path": "src/design-system/design-system.ts",
905
- "declarations": [
906
- {
907
- "kind": "function",
908
- "name": "assureDesignSystem",
909
- "return": {
910
- "type": {
911
- "text": "DesignSystemModule"
912
- }
913
- },
914
- "parameters": [
915
- {
916
- "name": "module",
917
- "type": {
918
- "text": "DesignSystemModule"
919
- }
920
- }
921
- ],
922
- "description": "assureDesignSystem.",
923
- "privacy": "public"
924
- }
925
- ],
926
- "exports": [
927
- {
928
- "kind": "js",
929
- "name": "assureDesignSystem",
930
- "declaration": {
931
- "name": "assureDesignSystem",
932
- "module": "src/design-system/design-system.ts"
933
- }
934
- }
935
- ]
936
- },
937
- {
938
- "kind": "javascript-module",
939
- "path": "src/design-system/index.ts",
940
- "declarations": [],
941
- "exports": [
942
- {
943
- "kind": "js",
944
- "name": "*",
945
- "declaration": {
946
- "name": "*",
947
- "package": "./design-system"
948
- }
949
- }
950
- ]
951
- },
952
952
  {
953
953
  "kind": "javascript-module",
954
954
  "path": "src/error/errorMap.ts",
@@ -2290,7 +2290,7 @@
2290
2290
  },
2291
2291
  {
2292
2292
  "kind": "javascript-module",
2293
- "path": "src/directives/when-else/index.ts",
2293
+ "path": "src/window/index.ts",
2294
2294
  "declarations": [],
2295
2295
  "exports": [
2296
2296
  {
@@ -2298,57 +2298,140 @@
2298
2298
  "name": "*",
2299
2299
  "declaration": {
2300
2300
  "name": "*",
2301
- "package": "./when-else"
2301
+ "package": "./window"
2302
2302
  }
2303
2303
  }
2304
2304
  ]
2305
2305
  },
2306
2306
  {
2307
2307
  "kind": "javascript-module",
2308
- "path": "src/directives/when-else/when-else.ts",
2308
+ "path": "src/window/window.ts",
2309
2309
  "declarations": [
2310
2310
  {
2311
2311
  "kind": "function",
2312
- "name": "whenElse",
2312
+ "name": "inIFrame",
2313
2313
  "return": {
2314
2314
  "type": {
2315
- "text": "CaptureType<TSource>"
2315
+ "text": ""
2316
+ }
2317
+ },
2318
+ "description": "Returns a boolean value indicating whether the current window is inside an iframe.",
2319
+ "privacy": "public"
2320
+ },
2321
+ {
2322
+ "kind": "function",
2323
+ "name": "inSymphonyDesktop",
2324
+ "return": {
2325
+ "type": {
2326
+ "text": ""
2327
+ }
2328
+ },
2329
+ "description": "Returns a boolean value indicating whether the user is running the Symphony desktop app.",
2330
+ "privacy": "public"
2331
+ },
2332
+ {
2333
+ "kind": "variable",
2334
+ "name": "POPUP_DEFAULT_WIDTH",
2335
+ "type": {
2336
+ "text": "number"
2337
+ },
2338
+ "default": "483",
2339
+ "description": "The default width (in pixels) for pop-up windows.",
2340
+ "privacy": "public"
2341
+ },
2342
+ {
2343
+ "kind": "variable",
2344
+ "name": "POPUP_DEFAULT_HEIGHT",
2345
+ "type": {
2346
+ "text": "number"
2347
+ },
2348
+ "default": "600",
2349
+ "description": "The default height (in pixels) for pop-up windows.",
2350
+ "privacy": "public"
2351
+ },
2352
+ {
2353
+ "kind": "function",
2354
+ "name": "openPopup",
2355
+ "return": {
2356
+ "type": {
2357
+ "text": ""
2316
2358
  }
2317
2359
  },
2318
2360
  "parameters": [
2319
2361
  {
2320
- "name": "binding",
2362
+ "name": "urlNavigate",
2321
2363
  "type": {
2322
- "text": "Binding<TSource, TReturn>"
2364
+ "text": "string"
2323
2365
  },
2324
- "description": "The condition to test for rendering."
2366
+ "description": "The URL to navigate to."
2325
2367
  },
2326
2368
  {
2327
- "name": "trueTemplateOrTemplateBinding",
2369
+ "name": "target",
2328
2370
  "type": {
2329
- "text": "WhenTemplate<TSource>"
2371
+ "text": "string"
2330
2372
  },
2331
- "description": "The template or a binding that gets the template to render when the condition is true."
2373
+ "description": "The name of the new window."
2332
2374
  },
2333
2375
  {
2334
- "name": "falseTemplateOrTemplateBinding",
2376
+ "name": "popUpWidth",
2377
+ "default": "POPUP_DEFAULT_WIDTH",
2335
2378
  "type": {
2336
- "text": "WhenTemplate<TSource>"
2379
+ "text": "number"
2337
2380
  },
2338
- "description": "The template or a binding that gets the template to render when the condition is false."
2381
+ "description": "The width of the new window (optional)."
2382
+ },
2383
+ {
2384
+ "name": "popUpHeight",
2385
+ "default": "POPUP_DEFAULT_HEIGHT",
2386
+ "type": {
2387
+ "text": "number"
2388
+ },
2389
+ "description": "The height of the new window (optional)."
2339
2390
  }
2340
2391
  ],
2341
- "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
2392
+ "description": "Opens a new browser window with the specified URL, target, width, and height.",
2342
2393
  "privacy": "public"
2343
2394
  }
2344
2395
  ],
2345
2396
  "exports": [
2346
2397
  {
2347
2398
  "kind": "js",
2348
- "name": "whenElse",
2399
+ "name": "inIFrame",
2349
2400
  "declaration": {
2350
- "name": "whenElse",
2351
- "module": "src/directives/when-else/when-else.ts"
2401
+ "name": "inIFrame",
2402
+ "module": "src/window/window.ts"
2403
+ }
2404
+ },
2405
+ {
2406
+ "kind": "js",
2407
+ "name": "inSymphonyDesktop",
2408
+ "declaration": {
2409
+ "name": "inSymphonyDesktop",
2410
+ "module": "src/window/window.ts"
2411
+ }
2412
+ },
2413
+ {
2414
+ "kind": "js",
2415
+ "name": "POPUP_DEFAULT_WIDTH",
2416
+ "declaration": {
2417
+ "name": "POPUP_DEFAULT_WIDTH",
2418
+ "module": "src/window/window.ts"
2419
+ }
2420
+ },
2421
+ {
2422
+ "kind": "js",
2423
+ "name": "POPUP_DEFAULT_HEIGHT",
2424
+ "declaration": {
2425
+ "name": "POPUP_DEFAULT_HEIGHT",
2426
+ "module": "src/window/window.ts"
2427
+ }
2428
+ },
2429
+ {
2430
+ "kind": "js",
2431
+ "name": "openPopup",
2432
+ "declaration": {
2433
+ "name": "openPopup",
2434
+ "module": "src/window/window.ts"
2352
2435
  }
2353
2436
  }
2354
2437
  ]
@@ -2444,7 +2527,7 @@
2444
2527
  },
2445
2528
  {
2446
2529
  "kind": "javascript-module",
2447
- "path": "src/window/index.ts",
2530
+ "path": "src/directives/when-else/index.ts",
2448
2531
  "declarations": [],
2449
2532
  "exports": [
2450
2533
  {
@@ -2452,140 +2535,57 @@
2452
2535
  "name": "*",
2453
2536
  "declaration": {
2454
2537
  "name": "*",
2455
- "package": "./window"
2538
+ "package": "./when-else"
2456
2539
  }
2457
2540
  }
2458
2541
  ]
2459
2542
  },
2460
2543
  {
2461
2544
  "kind": "javascript-module",
2462
- "path": "src/window/window.ts",
2545
+ "path": "src/directives/when-else/when-else.ts",
2463
2546
  "declarations": [
2464
2547
  {
2465
2548
  "kind": "function",
2466
- "name": "inIFrame",
2467
- "return": {
2468
- "type": {
2469
- "text": ""
2470
- }
2471
- },
2472
- "description": "Returns a boolean value indicating whether the current window is inside an iframe.",
2473
- "privacy": "public"
2474
- },
2475
- {
2476
- "kind": "function",
2477
- "name": "inSymphonyDesktop",
2478
- "return": {
2479
- "type": {
2480
- "text": ""
2481
- }
2482
- },
2483
- "description": "Returns a boolean value indicating whether the user is running the Symphony desktop app.",
2484
- "privacy": "public"
2485
- },
2486
- {
2487
- "kind": "variable",
2488
- "name": "POPUP_DEFAULT_WIDTH",
2489
- "type": {
2490
- "text": "number"
2491
- },
2492
- "default": "483",
2493
- "description": "The default width (in pixels) for pop-up windows.",
2494
- "privacy": "public"
2495
- },
2496
- {
2497
- "kind": "variable",
2498
- "name": "POPUP_DEFAULT_HEIGHT",
2499
- "type": {
2500
- "text": "number"
2501
- },
2502
- "default": "600",
2503
- "description": "The default height (in pixels) for pop-up windows.",
2504
- "privacy": "public"
2505
- },
2506
- {
2507
- "kind": "function",
2508
- "name": "openPopup",
2549
+ "name": "whenElse",
2509
2550
  "return": {
2510
2551
  "type": {
2511
- "text": ""
2552
+ "text": "CaptureType<TSource>"
2512
2553
  }
2513
2554
  },
2514
2555
  "parameters": [
2515
2556
  {
2516
- "name": "urlNavigate",
2517
- "type": {
2518
- "text": "string"
2519
- },
2520
- "description": "The URL to navigate to."
2521
- },
2522
- {
2523
- "name": "target",
2557
+ "name": "binding",
2524
2558
  "type": {
2525
- "text": "string"
2559
+ "text": "Binding<TSource, TReturn>"
2526
2560
  },
2527
- "description": "The name of the new window."
2561
+ "description": "The condition to test for rendering."
2528
2562
  },
2529
2563
  {
2530
- "name": "popUpWidth",
2531
- "default": "POPUP_DEFAULT_WIDTH",
2564
+ "name": "trueTemplateOrTemplateBinding",
2532
2565
  "type": {
2533
- "text": "number"
2566
+ "text": "WhenTemplate<TSource>"
2534
2567
  },
2535
- "description": "The width of the new window (optional)."
2568
+ "description": "The template or a binding that gets the template to render when the condition is true."
2536
2569
  },
2537
2570
  {
2538
- "name": "popUpHeight",
2539
- "default": "POPUP_DEFAULT_HEIGHT",
2571
+ "name": "falseTemplateOrTemplateBinding",
2540
2572
  "type": {
2541
- "text": "number"
2573
+ "text": "WhenTemplate<TSource>"
2542
2574
  },
2543
- "description": "The height of the new window (optional)."
2575
+ "description": "The template or a binding that gets the template to render when the condition is false."
2544
2576
  }
2545
2577
  ],
2546
- "description": "Opens a new browser window with the specified URL, target, width, and height.",
2578
+ "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
2547
2579
  "privacy": "public"
2548
2580
  }
2549
2581
  ],
2550
2582
  "exports": [
2551
2583
  {
2552
2584
  "kind": "js",
2553
- "name": "inIFrame",
2554
- "declaration": {
2555
- "name": "inIFrame",
2556
- "module": "src/window/window.ts"
2557
- }
2558
- },
2559
- {
2560
- "kind": "js",
2561
- "name": "inSymphonyDesktop",
2562
- "declaration": {
2563
- "name": "inSymphonyDesktop",
2564
- "module": "src/window/window.ts"
2565
- }
2566
- },
2567
- {
2568
- "kind": "js",
2569
- "name": "POPUP_DEFAULT_WIDTH",
2570
- "declaration": {
2571
- "name": "POPUP_DEFAULT_WIDTH",
2572
- "module": "src/window/window.ts"
2573
- }
2574
- },
2575
- {
2576
- "kind": "js",
2577
- "name": "POPUP_DEFAULT_HEIGHT",
2578
- "declaration": {
2579
- "name": "POPUP_DEFAULT_HEIGHT",
2580
- "module": "src/window/window.ts"
2581
- }
2582
- },
2583
- {
2584
- "kind": "js",
2585
- "name": "openPopup",
2585
+ "name": "whenElse",
2586
2586
  "declaration": {
2587
- "name": "openPopup",
2588
- "module": "src/window/window.ts"
2587
+ "name": "whenElse",
2588
+ "module": "src/directives/when-else/when-else.ts"
2589
2589
  }
2590
2590
  }
2591
2591
  ]
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.250.0",
4
+ "version": "14.251.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.250.0",
31
- "@genesislcap/genx": "14.250.0",
32
- "@genesislcap/rollup-builder": "14.250.0",
33
- "@genesislcap/ts-builder": "14.250.0",
34
- "@genesislcap/uvu-playwright-builder": "14.250.0",
35
- "@genesislcap/vite-builder": "14.250.0",
36
- "@genesislcap/webpack-builder": "14.250.0",
30
+ "@genesislcap/foundation-testing": "14.251.0",
31
+ "@genesislcap/genx": "14.251.0",
32
+ "@genesislcap/rollup-builder": "14.251.0",
33
+ "@genesislcap/ts-builder": "14.251.0",
34
+ "@genesislcap/uvu-playwright-builder": "14.251.0",
35
+ "@genesislcap/vite-builder": "14.251.0",
36
+ "@genesislcap/webpack-builder": "14.251.0",
37
37
  "rimraf": "^5.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/foundation-logger": "14.250.0",
40
+ "@genesislcap/foundation-logger": "14.251.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": "cde412442823b891ab650ab4841d04b963fc9afe"
58
+ "gitHead": "2ab61e47fbc752e88ecb2d83d794c590a8093829"
59
59
  }