@genesislcap/foundation-utils 14.248.0 → 14.250.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,109 +367,6 @@
367
367
  }
368
368
  ]
369
369
  },
370
- {
371
- "kind": "javascript-module",
372
- "path": "src/decorators/index.ts",
373
- "declarations": [],
374
- "exports": [
375
- {
376
- "kind": "js",
377
- "name": "*",
378
- "declaration": {
379
- "name": "*",
380
- "package": "./renderOnChange"
381
- }
382
- }
383
- ]
384
- },
385
- {
386
- "kind": "javascript-module",
387
- "path": "src/decorators/renderOnChange.ts",
388
- "declarations": [
389
- {
390
- "kind": "function",
391
- "name": "renderOnChange",
392
- "parameters": [
393
- {
394
- "name": "target",
395
- "type": {
396
- "text": "FASTElement & { render(): void }"
397
- },
398
- "description": "The target to define the property change handler on."
399
- },
400
- {
401
- "name": "name",
402
- "type": {
403
- "text": "string"
404
- },
405
- "description": "The property name."
406
- }
407
- ],
408
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
409
- "privacy": "public"
410
- }
411
- ],
412
- "exports": [
413
- {
414
- "kind": "js",
415
- "name": "renderOnChange",
416
- "declaration": {
417
- "name": "renderOnChange",
418
- "module": "src/decorators/renderOnChange.ts"
419
- }
420
- }
421
- ]
422
- },
423
- {
424
- "kind": "javascript-module",
425
- "path": "src/design-system/design-system.ts",
426
- "declarations": [
427
- {
428
- "kind": "function",
429
- "name": "assureDesignSystem",
430
- "return": {
431
- "type": {
432
- "text": "DesignSystemModule"
433
- }
434
- },
435
- "parameters": [
436
- {
437
- "name": "module",
438
- "type": {
439
- "text": "DesignSystemModule"
440
- }
441
- }
442
- ],
443
- "description": "assureDesignSystem.",
444
- "privacy": "public"
445
- }
446
- ],
447
- "exports": [
448
- {
449
- "kind": "js",
450
- "name": "assureDesignSystem",
451
- "declaration": {
452
- "name": "assureDesignSystem",
453
- "module": "src/design-system/design-system.ts"
454
- }
455
- }
456
- ]
457
- },
458
- {
459
- "kind": "javascript-module",
460
- "path": "src/design-system/index.ts",
461
- "declarations": [],
462
- "exports": [
463
- {
464
- "kind": "js",
465
- "name": "*",
466
- "declaration": {
467
- "name": "*",
468
- "package": "./design-system"
469
- }
470
- }
471
- ]
472
- },
473
370
  {
474
371
  "kind": "javascript-module",
475
372
  "path": "src/directives/index.ts",
@@ -949,6 +846,109 @@
949
846
  }
950
847
  ]
951
848
  },
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/window/index.ts",
2293
+ "path": "src/directives/when-else/index.ts",
2294
2294
  "declarations": [],
2295
2295
  "exports": [
2296
2296
  {
@@ -2298,140 +2298,57 @@
2298
2298
  "name": "*",
2299
2299
  "declaration": {
2300
2300
  "name": "*",
2301
- "package": "./window"
2301
+ "package": "./when-else"
2302
2302
  }
2303
2303
  }
2304
2304
  ]
2305
2305
  },
2306
2306
  {
2307
2307
  "kind": "javascript-module",
2308
- "path": "src/window/window.ts",
2308
+ "path": "src/directives/when-else/when-else.ts",
2309
2309
  "declarations": [
2310
2310
  {
2311
2311
  "kind": "function",
2312
- "name": "inIFrame",
2313
- "return": {
2314
- "type": {
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",
2312
+ "name": "whenElse",
2355
2313
  "return": {
2356
2314
  "type": {
2357
- "text": ""
2315
+ "text": "CaptureType<TSource>"
2358
2316
  }
2359
2317
  },
2360
2318
  "parameters": [
2361
2319
  {
2362
- "name": "urlNavigate",
2363
- "type": {
2364
- "text": "string"
2365
- },
2366
- "description": "The URL to navigate to."
2367
- },
2368
- {
2369
- "name": "target",
2320
+ "name": "binding",
2370
2321
  "type": {
2371
- "text": "string"
2322
+ "text": "Binding<TSource, TReturn>"
2372
2323
  },
2373
- "description": "The name of the new window."
2324
+ "description": "The condition to test for rendering."
2374
2325
  },
2375
2326
  {
2376
- "name": "popUpWidth",
2377
- "default": "POPUP_DEFAULT_WIDTH",
2327
+ "name": "trueTemplateOrTemplateBinding",
2378
2328
  "type": {
2379
- "text": "number"
2329
+ "text": "WhenTemplate<TSource>"
2380
2330
  },
2381
- "description": "The width of the new window (optional)."
2331
+ "description": "The template or a binding that gets the template to render when the condition is true."
2382
2332
  },
2383
2333
  {
2384
- "name": "popUpHeight",
2385
- "default": "POPUP_DEFAULT_HEIGHT",
2334
+ "name": "falseTemplateOrTemplateBinding",
2386
2335
  "type": {
2387
- "text": "number"
2336
+ "text": "WhenTemplate<TSource>"
2388
2337
  },
2389
- "description": "The height of the new window (optional)."
2338
+ "description": "The template or a binding that gets the template to render when the condition is false."
2390
2339
  }
2391
2340
  ],
2392
- "description": "Opens a new browser window with the specified URL, target, width, and height.",
2341
+ "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
2393
2342
  "privacy": "public"
2394
2343
  }
2395
2344
  ],
2396
2345
  "exports": [
2397
2346
  {
2398
2347
  "kind": "js",
2399
- "name": "inIFrame",
2400
- "declaration": {
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",
2348
+ "name": "whenElse",
2432
2349
  "declaration": {
2433
- "name": "openPopup",
2434
- "module": "src/window/window.ts"
2350
+ "name": "whenElse",
2351
+ "module": "src/directives/when-else/when-else.ts"
2435
2352
  }
2436
2353
  }
2437
2354
  ]
@@ -2527,7 +2444,7 @@
2527
2444
  },
2528
2445
  {
2529
2446
  "kind": "javascript-module",
2530
- "path": "src/directives/when-else/index.ts",
2447
+ "path": "src/window/index.ts",
2531
2448
  "declarations": [],
2532
2449
  "exports": [
2533
2450
  {
@@ -2535,57 +2452,140 @@
2535
2452
  "name": "*",
2536
2453
  "declaration": {
2537
2454
  "name": "*",
2538
- "package": "./when-else"
2455
+ "package": "./window"
2539
2456
  }
2540
2457
  }
2541
2458
  ]
2542
2459
  },
2543
2460
  {
2544
2461
  "kind": "javascript-module",
2545
- "path": "src/directives/when-else/when-else.ts",
2462
+ "path": "src/window/window.ts",
2546
2463
  "declarations": [
2547
2464
  {
2548
2465
  "kind": "function",
2549
- "name": "whenElse",
2466
+ "name": "inIFrame",
2550
2467
  "return": {
2551
2468
  "type": {
2552
- "text": "CaptureType<TSource>"
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",
2509
+ "return": {
2510
+ "type": {
2511
+ "text": ""
2553
2512
  }
2554
2513
  },
2555
2514
  "parameters": [
2556
2515
  {
2557
- "name": "binding",
2516
+ "name": "urlNavigate",
2558
2517
  "type": {
2559
- "text": "Binding<TSource, TReturn>"
2518
+ "text": "string"
2560
2519
  },
2561
- "description": "The condition to test for rendering."
2520
+ "description": "The URL to navigate to."
2562
2521
  },
2563
2522
  {
2564
- "name": "trueTemplateOrTemplateBinding",
2523
+ "name": "target",
2565
2524
  "type": {
2566
- "text": "WhenTemplate<TSource>"
2525
+ "text": "string"
2567
2526
  },
2568
- "description": "The template or a binding that gets the template to render when the condition is true."
2527
+ "description": "The name of the new window."
2569
2528
  },
2570
2529
  {
2571
- "name": "falseTemplateOrTemplateBinding",
2530
+ "name": "popUpWidth",
2531
+ "default": "POPUP_DEFAULT_WIDTH",
2572
2532
  "type": {
2573
- "text": "WhenTemplate<TSource>"
2533
+ "text": "number"
2574
2534
  },
2575
- "description": "The template or a binding that gets the template to render when the condition is false."
2535
+ "description": "The width of the new window (optional)."
2536
+ },
2537
+ {
2538
+ "name": "popUpHeight",
2539
+ "default": "POPUP_DEFAULT_HEIGHT",
2540
+ "type": {
2541
+ "text": "number"
2542
+ },
2543
+ "description": "The height of the new window (optional)."
2576
2544
  }
2577
2545
  ],
2578
- "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
2546
+ "description": "Opens a new browser window with the specified URL, target, width, and height.",
2579
2547
  "privacy": "public"
2580
2548
  }
2581
2549
  ],
2582
2550
  "exports": [
2583
2551
  {
2584
2552
  "kind": "js",
2585
- "name": "whenElse",
2553
+ "name": "inIFrame",
2586
2554
  "declaration": {
2587
- "name": "whenElse",
2588
- "module": "src/directives/when-else/when-else.ts"
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",
2586
+ "declaration": {
2587
+ "name": "openPopup",
2588
+ "module": "src/window/window.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.248.0",
4
+ "version": "14.250.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.248.0",
31
- "@genesislcap/genx": "14.248.0",
32
- "@genesislcap/rollup-builder": "14.248.0",
33
- "@genesislcap/ts-builder": "14.248.0",
34
- "@genesislcap/uvu-playwright-builder": "14.248.0",
35
- "@genesislcap/vite-builder": "14.248.0",
36
- "@genesislcap/webpack-builder": "14.248.0",
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",
37
37
  "rimraf": "^5.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/foundation-logger": "14.248.0",
40
+ "@genesislcap/foundation-logger": "14.250.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": "1c9e7b7afeb1940661effcde53286e049ecda101"
58
+ "gitHead": "cde412442823b891ab650ab4841d04b963fc9afe"
59
59
  }