@genesislcap/foundation-ui 14.218.0 → 14.218.1

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 +1089 -1089
  2. package/package.json +16 -16
@@ -817,6 +817,82 @@
817
817
  }
818
818
  ]
819
819
  },
820
+ {
821
+ "kind": "javascript-module",
822
+ "path": "src/_config/index.ts",
823
+ "declarations": [],
824
+ "exports": [
825
+ {
826
+ "kind": "js",
827
+ "name": "*",
828
+ "declaration": {
829
+ "name": "*",
830
+ "package": "./styles"
831
+ }
832
+ },
833
+ {
834
+ "kind": "js",
835
+ "name": "*",
836
+ "declaration": {
837
+ "name": "*",
838
+ "package": "./tokens"
839
+ }
840
+ },
841
+ {
842
+ "kind": "js",
843
+ "name": "*",
844
+ "declaration": {
845
+ "name": "*",
846
+ "package": "./values"
847
+ }
848
+ }
849
+ ]
850
+ },
851
+ {
852
+ "kind": "javascript-module",
853
+ "path": "src/_common/icons.ts",
854
+ "declarations": [
855
+ {
856
+ "kind": "function",
857
+ "name": "closeIcon",
858
+ "parameters": [
859
+ {
860
+ "name": "slot",
861
+ "default": "'start'"
862
+ },
863
+ {
864
+ "name": "fill",
865
+ "default": "'#879ba6'"
866
+ }
867
+ ]
868
+ }
869
+ ],
870
+ "exports": [
871
+ {
872
+ "kind": "js",
873
+ "name": "closeIcon",
874
+ "declaration": {
875
+ "name": "closeIcon",
876
+ "module": "src/_common/icons.ts"
877
+ }
878
+ }
879
+ ]
880
+ },
881
+ {
882
+ "kind": "javascript-module",
883
+ "path": "src/_common/index.ts",
884
+ "declarations": [],
885
+ "exports": [
886
+ {
887
+ "kind": "js",
888
+ "name": "*",
889
+ "declaration": {
890
+ "name": "*",
891
+ "package": "./icons"
892
+ }
893
+ }
894
+ ]
895
+ },
820
896
  {
821
897
  "kind": "javascript-module",
822
898
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -1772,87 +1848,11 @@
1772
1848
  },
1773
1849
  {
1774
1850
  "kind": "javascript-module",
1775
- "path": "src/_common/icons.ts",
1776
- "declarations": [
1777
- {
1778
- "kind": "function",
1779
- "name": "closeIcon",
1780
- "parameters": [
1781
- {
1782
- "name": "slot",
1783
- "default": "'start'"
1784
- },
1785
- {
1786
- "name": "fill",
1787
- "default": "'#879ba6'"
1788
- }
1789
- ]
1790
- }
1791
- ],
1792
- "exports": [
1793
- {
1794
- "kind": "js",
1795
- "name": "closeIcon",
1796
- "declaration": {
1797
- "name": "closeIcon",
1798
- "module": "src/_common/icons.ts"
1799
- }
1800
- }
1801
- ]
1802
- },
1803
- {
1804
- "kind": "javascript-module",
1805
- "path": "src/_common/index.ts",
1806
- "declarations": [],
1807
- "exports": [
1808
- {
1809
- "kind": "js",
1810
- "name": "*",
1811
- "declaration": {
1812
- "name": "*",
1813
- "package": "./icons"
1814
- }
1815
- }
1816
- ]
1817
- },
1818
- {
1819
- "kind": "javascript-module",
1820
- "path": "src/_config/index.ts",
1821
- "declarations": [],
1822
- "exports": [
1823
- {
1824
- "kind": "js",
1825
- "name": "*",
1826
- "declaration": {
1827
- "name": "*",
1828
- "package": "./styles"
1829
- }
1830
- },
1831
- {
1832
- "kind": "js",
1833
- "name": "*",
1834
- "declaration": {
1835
- "name": "*",
1836
- "package": "./tokens"
1837
- }
1838
- },
1839
- {
1840
- "kind": "js",
1841
- "name": "*",
1842
- "declaration": {
1843
- "name": "*",
1844
- "package": "./values"
1845
- }
1846
- }
1847
- ]
1848
- },
1849
- {
1850
- "kind": "javascript-module",
1851
- "path": "src/accordion/accordion.styles.ts",
1851
+ "path": "src/anchor/anchor.styles.ts",
1852
1852
  "declarations": [
1853
1853
  {
1854
1854
  "kind": "function",
1855
- "name": "foundationAccordionStyles",
1855
+ "name": "foundationAnchorStyles",
1856
1856
  "return": {
1857
1857
  "type": {
1858
1858
  "text": "ElementStyles"
@@ -1877,24 +1877,24 @@
1877
1877
  "exports": [
1878
1878
  {
1879
1879
  "kind": "js",
1880
- "name": "foundationAccordionStyles",
1880
+ "name": "foundationAnchorStyles",
1881
1881
  "declaration": {
1882
- "name": "foundationAccordionStyles",
1883
- "module": "src/accordion/accordion.styles.ts"
1882
+ "name": "foundationAnchorStyles",
1883
+ "module": "src/anchor/anchor.styles.ts"
1884
1884
  }
1885
1885
  }
1886
1886
  ]
1887
1887
  },
1888
1888
  {
1889
1889
  "kind": "javascript-module",
1890
- "path": "src/accordion/accordion.template.ts",
1890
+ "path": "src/anchor/anchor.template.ts",
1891
1891
  "declarations": [
1892
1892
  {
1893
1893
  "kind": "function",
1894
- "name": "foundationAccordionTemplate",
1894
+ "name": "foundationAnchorTemplate",
1895
1895
  "return": {
1896
1896
  "type": {
1897
- "text": "ViewTemplate<Accordion>"
1897
+ "text": "ViewTemplate<Anchor>"
1898
1898
  }
1899
1899
  },
1900
1900
  "parameters": [
@@ -1916,207 +1916,25 @@
1916
1916
  "exports": [
1917
1917
  {
1918
1918
  "kind": "js",
1919
- "name": "foundationAccordionTemplate",
1919
+ "name": "foundationAnchorTemplate",
1920
1920
  "declaration": {
1921
- "name": "foundationAccordionTemplate",
1922
- "module": "src/accordion/accordion.template.ts"
1921
+ "name": "foundationAnchorTemplate",
1922
+ "module": "src/anchor/anchor.template.ts"
1923
1923
  }
1924
1924
  }
1925
1925
  ]
1926
1926
  },
1927
1927
  {
1928
1928
  "kind": "javascript-module",
1929
- "path": "src/accordion/accordion.ts",
1929
+ "path": "src/anchor/anchor.ts",
1930
1930
  "declarations": [
1931
1931
  {
1932
1932
  "kind": "class",
1933
1933
  "description": "",
1934
- "name": "Accordion",
1934
+ "name": "Anchor",
1935
1935
  "superclass": {
1936
- "name": "FASTAccordion",
1937
- "package": "@microsoft/fast-foundation"
1938
- },
1939
- "tagName": "%%prefix%%-accordion",
1940
- "customElement": true
1941
- },
1942
- {
1943
- "kind": "variable",
1944
- "name": "foundationAccordionShadowOptions",
1945
- "type": {
1946
- "text": "ShadowRootInit"
1947
- },
1948
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1949
- },
1950
- {
1951
- "kind": "variable",
1952
- "name": "defaultAccordionConfig",
1953
- "type": {
1954
- "text": "object"
1955
- },
1956
- "default": "{}"
1957
- },
1958
- {
1959
- "kind": "variable",
1960
- "name": "foundationAccordion",
1961
- "description": "The Foundation Accordion",
1962
- "privacy": "public"
1963
- }
1964
- ],
1965
- "exports": [
1966
- {
1967
- "kind": "js",
1968
- "name": "Accordion",
1969
- "declaration": {
1970
- "name": "Accordion",
1971
- "module": "src/accordion/accordion.ts"
1972
- }
1973
- },
1974
- {
1975
- "kind": "js",
1976
- "name": "foundationAccordionShadowOptions",
1977
- "declaration": {
1978
- "name": "foundationAccordionShadowOptions",
1979
- "module": "src/accordion/accordion.ts"
1980
- }
1981
- },
1982
- {
1983
- "kind": "js",
1984
- "name": "defaultAccordionConfig",
1985
- "declaration": {
1986
- "name": "defaultAccordionConfig",
1987
- "module": "src/accordion/accordion.ts"
1988
- }
1989
- },
1990
- {
1991
- "kind": "js",
1992
- "name": "foundationAccordion",
1993
- "declaration": {
1994
- "name": "foundationAccordion",
1995
- "module": "src/accordion/accordion.ts"
1996
- }
1997
- }
1998
- ]
1999
- },
2000
- {
2001
- "kind": "javascript-module",
2002
- "path": "src/accordion/index.ts",
2003
- "declarations": [],
2004
- "exports": [
2005
- {
2006
- "kind": "js",
2007
- "name": "*",
2008
- "declaration": {
2009
- "name": "*",
2010
- "package": "./accordion.template"
2011
- }
2012
- },
2013
- {
2014
- "kind": "js",
2015
- "name": "*",
2016
- "declaration": {
2017
- "name": "*",
2018
- "package": "./accordion.styles"
2019
- }
2020
- },
2021
- {
2022
- "kind": "js",
2023
- "name": "*",
2024
- "declaration": {
2025
- "name": "*",
2026
- "package": "./accordion"
2027
- }
2028
- }
2029
- ]
2030
- },
2031
- {
2032
- "kind": "javascript-module",
2033
- "path": "src/anchor/anchor.styles.ts",
2034
- "declarations": [
2035
- {
2036
- "kind": "function",
2037
- "name": "foundationAnchorStyles",
2038
- "return": {
2039
- "type": {
2040
- "text": "ElementStyles"
2041
- }
2042
- },
2043
- "parameters": [
2044
- {
2045
- "name": "context",
2046
- "type": {
2047
- "text": "ElementDefinitionContext"
2048
- }
2049
- },
2050
- {
2051
- "name": "definition",
2052
- "type": {
2053
- "text": "FoundationElementDefinition"
2054
- }
2055
- }
2056
- ]
2057
- }
2058
- ],
2059
- "exports": [
2060
- {
2061
- "kind": "js",
2062
- "name": "foundationAnchorStyles",
2063
- "declaration": {
2064
- "name": "foundationAnchorStyles",
2065
- "module": "src/anchor/anchor.styles.ts"
2066
- }
2067
- }
2068
- ]
2069
- },
2070
- {
2071
- "kind": "javascript-module",
2072
- "path": "src/anchor/anchor.template.ts",
2073
- "declarations": [
2074
- {
2075
- "kind": "function",
2076
- "name": "foundationAnchorTemplate",
2077
- "return": {
2078
- "type": {
2079
- "text": "ViewTemplate<Anchor>"
2080
- }
2081
- },
2082
- "parameters": [
2083
- {
2084
- "name": "context",
2085
- "type": {
2086
- "text": "ElementDefinitionContext"
2087
- }
2088
- },
2089
- {
2090
- "name": "definition",
2091
- "type": {
2092
- "text": "FoundationElementDefinition"
2093
- }
2094
- }
2095
- ]
2096
- }
2097
- ],
2098
- "exports": [
2099
- {
2100
- "kind": "js",
2101
- "name": "foundationAnchorTemplate",
2102
- "declaration": {
2103
- "name": "foundationAnchorTemplate",
2104
- "module": "src/anchor/anchor.template.ts"
2105
- }
2106
- }
2107
- ]
2108
- },
2109
- {
2110
- "kind": "javascript-module",
2111
- "path": "src/anchor/anchor.ts",
2112
- "declarations": [
2113
- {
2114
- "kind": "class",
2115
- "description": "",
2116
- "name": "Anchor",
2117
- "superclass": {
2118
- "name": "FASTAnchor",
2119
- "package": "@microsoft/fast-components"
1936
+ "name": "FASTAnchor",
1937
+ "package": "@microsoft/fast-components"
2120
1938
  },
2121
1939
  "tagName": "%%prefix%%-anchor",
2122
1940
  "customElement": true,
@@ -2550,14 +2368,14 @@
2550
2368
  },
2551
2369
  {
2552
2370
  "kind": "javascript-module",
2553
- "path": "src/anchored-region/anchor-region.template.ts",
2371
+ "path": "src/accordion/accordion.styles.ts",
2554
2372
  "declarations": [
2555
2373
  {
2556
2374
  "kind": "function",
2557
- "name": "foundationAnchoredRegionTemplate",
2375
+ "name": "foundationAccordionStyles",
2558
2376
  "return": {
2559
2377
  "type": {
2560
- "text": "ViewTemplate<AnchoredRegion>"
2378
+ "text": "ElementStyles"
2561
2379
  }
2562
2380
  },
2563
2381
  "parameters": [
@@ -2579,24 +2397,24 @@
2579
2397
  "exports": [
2580
2398
  {
2581
2399
  "kind": "js",
2582
- "name": "foundationAnchoredRegionTemplate",
2400
+ "name": "foundationAccordionStyles",
2583
2401
  "declaration": {
2584
- "name": "foundationAnchoredRegionTemplate",
2585
- "module": "src/anchored-region/anchor-region.template.ts"
2402
+ "name": "foundationAccordionStyles",
2403
+ "module": "src/accordion/accordion.styles.ts"
2586
2404
  }
2587
2405
  }
2588
2406
  ]
2589
2407
  },
2590
2408
  {
2591
2409
  "kind": "javascript-module",
2592
- "path": "src/anchored-region/anchored-region.styles.ts",
2410
+ "path": "src/accordion/accordion.template.ts",
2593
2411
  "declarations": [
2594
2412
  {
2595
2413
  "kind": "function",
2596
- "name": "foundationAnchoredRegionStyles",
2414
+ "name": "foundationAccordionTemplate",
2597
2415
  "return": {
2598
2416
  "type": {
2599
- "text": "ElementStyles"
2417
+ "text": "ViewTemplate<Accordion>"
2600
2418
  }
2601
2419
  },
2602
2420
  "parameters": [
@@ -2618,38 +2436,220 @@
2618
2436
  "exports": [
2619
2437
  {
2620
2438
  "kind": "js",
2621
- "name": "foundationAnchoredRegionStyles",
2439
+ "name": "foundationAccordionTemplate",
2622
2440
  "declaration": {
2623
- "name": "foundationAnchoredRegionStyles",
2624
- "module": "src/anchored-region/anchored-region.styles.ts"
2441
+ "name": "foundationAccordionTemplate",
2442
+ "module": "src/accordion/accordion.template.ts"
2625
2443
  }
2626
2444
  }
2627
2445
  ]
2628
2446
  },
2629
2447
  {
2630
2448
  "kind": "javascript-module",
2631
- "path": "src/anchored-region/anchored-region.ts",
2449
+ "path": "src/accordion/accordion.ts",
2632
2450
  "declarations": [
2633
2451
  {
2634
2452
  "kind": "class",
2635
2453
  "description": "",
2636
- "name": "AnchoredRegion",
2454
+ "name": "Accordion",
2637
2455
  "superclass": {
2638
- "name": "FASTAnchoredRegion",
2639
- "package": "@microsoft/fast-components"
2456
+ "name": "FASTAccordion",
2457
+ "package": "@microsoft/fast-foundation"
2640
2458
  },
2641
- "tagName": "%%prefix%%-anchored-region",
2642
- "customElement": true,
2643
- "attributes": [
2459
+ "tagName": "%%prefix%%-accordion",
2460
+ "customElement": true
2461
+ },
2462
+ {
2463
+ "kind": "variable",
2464
+ "name": "foundationAccordionShadowOptions",
2465
+ "type": {
2466
+ "text": "ShadowRootInit"
2467
+ },
2468
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2469
+ },
2470
+ {
2471
+ "kind": "variable",
2472
+ "name": "defaultAccordionConfig",
2473
+ "type": {
2474
+ "text": "object"
2475
+ },
2476
+ "default": "{}"
2477
+ },
2478
+ {
2479
+ "kind": "variable",
2480
+ "name": "foundationAccordion",
2481
+ "description": "The Foundation Accordion",
2482
+ "privacy": "public"
2483
+ }
2484
+ ],
2485
+ "exports": [
2486
+ {
2487
+ "kind": "js",
2488
+ "name": "Accordion",
2489
+ "declaration": {
2490
+ "name": "Accordion",
2491
+ "module": "src/accordion/accordion.ts"
2492
+ }
2493
+ },
2494
+ {
2495
+ "kind": "js",
2496
+ "name": "foundationAccordionShadowOptions",
2497
+ "declaration": {
2498
+ "name": "foundationAccordionShadowOptions",
2499
+ "module": "src/accordion/accordion.ts"
2500
+ }
2501
+ },
2502
+ {
2503
+ "kind": "js",
2504
+ "name": "defaultAccordionConfig",
2505
+ "declaration": {
2506
+ "name": "defaultAccordionConfig",
2507
+ "module": "src/accordion/accordion.ts"
2508
+ }
2509
+ },
2510
+ {
2511
+ "kind": "js",
2512
+ "name": "foundationAccordion",
2513
+ "declaration": {
2514
+ "name": "foundationAccordion",
2515
+ "module": "src/accordion/accordion.ts"
2516
+ }
2517
+ }
2518
+ ]
2519
+ },
2520
+ {
2521
+ "kind": "javascript-module",
2522
+ "path": "src/accordion/index.ts",
2523
+ "declarations": [],
2524
+ "exports": [
2525
+ {
2526
+ "kind": "js",
2527
+ "name": "*",
2528
+ "declaration": {
2529
+ "name": "*",
2530
+ "package": "./accordion.template"
2531
+ }
2532
+ },
2533
+ {
2534
+ "kind": "js",
2535
+ "name": "*",
2536
+ "declaration": {
2537
+ "name": "*",
2538
+ "package": "./accordion.styles"
2539
+ }
2540
+ },
2541
+ {
2542
+ "kind": "js",
2543
+ "name": "*",
2544
+ "declaration": {
2545
+ "name": "*",
2546
+ "package": "./accordion"
2547
+ }
2548
+ }
2549
+ ]
2550
+ },
2551
+ {
2552
+ "kind": "javascript-module",
2553
+ "path": "src/anchored-region/anchor-region.template.ts",
2554
+ "declarations": [
2555
+ {
2556
+ "kind": "function",
2557
+ "name": "foundationAnchoredRegionTemplate",
2558
+ "return": {
2559
+ "type": {
2560
+ "text": "ViewTemplate<AnchoredRegion>"
2561
+ }
2562
+ },
2563
+ "parameters": [
2644
2564
  {
2645
- "name": "anchor",
2565
+ "name": "context",
2646
2566
  "type": {
2647
- "text": "string"
2648
- },
2649
- "default": "\"\"",
2650
- "description": "The HTML ID of the anchor element this region is positioned relative to",
2651
- "fieldName": "anchor",
2652
- "inheritedFrom": {
2567
+ "text": "ElementDefinitionContext"
2568
+ }
2569
+ },
2570
+ {
2571
+ "name": "definition",
2572
+ "type": {
2573
+ "text": "FoundationElementDefinition"
2574
+ }
2575
+ }
2576
+ ]
2577
+ }
2578
+ ],
2579
+ "exports": [
2580
+ {
2581
+ "kind": "js",
2582
+ "name": "foundationAnchoredRegionTemplate",
2583
+ "declaration": {
2584
+ "name": "foundationAnchoredRegionTemplate",
2585
+ "module": "src/anchored-region/anchor-region.template.ts"
2586
+ }
2587
+ }
2588
+ ]
2589
+ },
2590
+ {
2591
+ "kind": "javascript-module",
2592
+ "path": "src/anchored-region/anchored-region.styles.ts",
2593
+ "declarations": [
2594
+ {
2595
+ "kind": "function",
2596
+ "name": "foundationAnchoredRegionStyles",
2597
+ "return": {
2598
+ "type": {
2599
+ "text": "ElementStyles"
2600
+ }
2601
+ },
2602
+ "parameters": [
2603
+ {
2604
+ "name": "context",
2605
+ "type": {
2606
+ "text": "ElementDefinitionContext"
2607
+ }
2608
+ },
2609
+ {
2610
+ "name": "definition",
2611
+ "type": {
2612
+ "text": "FoundationElementDefinition"
2613
+ }
2614
+ }
2615
+ ]
2616
+ }
2617
+ ],
2618
+ "exports": [
2619
+ {
2620
+ "kind": "js",
2621
+ "name": "foundationAnchoredRegionStyles",
2622
+ "declaration": {
2623
+ "name": "foundationAnchoredRegionStyles",
2624
+ "module": "src/anchored-region/anchored-region.styles.ts"
2625
+ }
2626
+ }
2627
+ ]
2628
+ },
2629
+ {
2630
+ "kind": "javascript-module",
2631
+ "path": "src/anchored-region/anchored-region.ts",
2632
+ "declarations": [
2633
+ {
2634
+ "kind": "class",
2635
+ "description": "",
2636
+ "name": "AnchoredRegion",
2637
+ "superclass": {
2638
+ "name": "FASTAnchoredRegion",
2639
+ "package": "@microsoft/fast-components"
2640
+ },
2641
+ "tagName": "%%prefix%%-anchored-region",
2642
+ "customElement": true,
2643
+ "attributes": [
2644
+ {
2645
+ "name": "anchor",
2646
+ "type": {
2647
+ "text": "string"
2648
+ },
2649
+ "default": "\"\"",
2650
+ "description": "The HTML ID of the anchor element this region is positioned relative to",
2651
+ "fieldName": "anchor",
2652
+ "inheritedFrom": {
2653
2653
  "name": "AnchoredRegion",
2654
2654
  "module": "src/anchored-region/anchored-region.ts"
2655
2655
  }
@@ -16278,35 +16278,35 @@
16278
16278
  },
16279
16279
  {
16280
16280
  "kind": "javascript-module",
16281
- "path": "src/file-upload/file-upload.styles.ts",
16281
+ "path": "src/filter/filter.styles.ts",
16282
16282
  "declarations": [
16283
16283
  {
16284
16284
  "kind": "variable",
16285
- "name": "foundationFileUploadStyles",
16285
+ "name": "foundationFilterStyles",
16286
16286
  "type": {
16287
16287
  "text": "ElementStyles"
16288
16288
  },
16289
- "default": "css`\n /* Host */\n :host {\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n }\n\n .file-selection {\n display: flex;\n align-items: end;\n justify-content: start;\n padding-bottom: 10px;\n }\n\n .file-selection :nth-last-child(-n + 2) {\n margin: 0;\n margin-left: 10px;\n }\n\n input[type='file'] {\n display: none;\n }\n\n .clear-icon {\n cursor: pointer;\n }\n\n .uploader-grid {\n overflow-y: auto;\n }\n\n .file-name-input {\n flex: 1;\n }\n\n .download-button-container {\n display: flex;\n }\n\n .download-button {\n height: 22px;\n }\n\n fast-data-grid-row {\n align-items: center;\n }\n`"
16289
+ "default": "css`\n .filter-wrapper {\n border: 1px solid gray;\n border-radius: calc(var(--design-unit) * 2px);\n padding: calc(var(--design-unit) * 1px);\n }\n\n .close-icon {\n display: flex;\n place-content: center;\n align-items: center;\n flex-direction: column;\n align-content: center;\n justify-content: center;\n margin: calc(var(--design-unit) * 1px);\n padding: calc(var(--design-unit) * 1px);\n border: 1px solid transparent;\n border-radius: calc(var(--design-unit) * 2px);\n cursor: pointer;\n }\n\n .close-icon,\n .cloase-icon svg path {\n transition-property: all;\n transition-timing-function: linear;\n transition-duration: 300ms;\n }\n\n .close-icon:hover {\n border-color: red;\n background: rgb(255 0 0 / 25%);\n }\n\n .close-icon:hover svg path {\n fill: red;\n }\n\n .flex-row {\n display: flex;\n flex-direction: row;\n align-content: center;\n justify-content: space-between;\n align-items: center;\n }\n\n .flex-row zero-text-field,\n .flex-row zero-select,\n .flex-row foundation-text-field,\n .flex-row foundation-select {\n flex: 1;\n }\n`"
16290
16290
  }
16291
16291
  ],
16292
16292
  "exports": [
16293
16293
  {
16294
16294
  "kind": "js",
16295
- "name": "foundationFileUploadStyles",
16295
+ "name": "foundationFilterStyles",
16296
16296
  "declaration": {
16297
- "name": "foundationFileUploadStyles",
16298
- "module": "src/file-upload/file-upload.styles.ts"
16297
+ "name": "foundationFilterStyles",
16298
+ "module": "src/filter/filter.styles.ts"
16299
16299
  }
16300
16300
  }
16301
16301
  ]
16302
16302
  },
16303
16303
  {
16304
16304
  "kind": "javascript-module",
16305
- "path": "src/file-upload/file-upload.template.ts",
16305
+ "path": "src/filter/filter.template.ts",
16306
16306
  "declarations": [
16307
16307
  {
16308
16308
  "kind": "function",
16309
- "name": "getPrefixedFileUpload",
16309
+ "name": "getPrefixedFilterTemplate",
16310
16310
  "parameters": [
16311
16311
  {
16312
16312
  "name": "prefix",
@@ -16318,286 +16318,354 @@
16318
16318
  },
16319
16319
  {
16320
16320
  "kind": "variable",
16321
- "name": "foundationFileUploadTemplate",
16322
- "default": "html<FileUpload>`\n ${(x) => getPrefixedFileUpload(getPrefix(x))}\n`"
16321
+ "name": "foundationFilterTemplate",
16322
+ "type": {
16323
+ "text": "ViewTemplate<Filter>"
16324
+ },
16325
+ "default": "html`\n ${(x) => getPrefixedFilterTemplate(getPrefix(x))}</div>\n`"
16323
16326
  }
16324
16327
  ],
16325
16328
  "exports": [
16326
16329
  {
16327
16330
  "kind": "js",
16328
- "name": "getPrefixedFileUpload",
16331
+ "name": "getPrefixedFilterTemplate",
16329
16332
  "declaration": {
16330
- "name": "getPrefixedFileUpload",
16331
- "module": "src/file-upload/file-upload.template.ts"
16333
+ "name": "getPrefixedFilterTemplate",
16334
+ "module": "src/filter/filter.template.ts"
16332
16335
  }
16333
16336
  },
16334
16337
  {
16335
16338
  "kind": "js",
16336
- "name": "foundationFileUploadTemplate",
16339
+ "name": "foundationFilterTemplate",
16337
16340
  "declaration": {
16338
- "name": "foundationFileUploadTemplate",
16339
- "module": "src/file-upload/file-upload.template.ts"
16341
+ "name": "foundationFilterTemplate",
16342
+ "module": "src/filter/filter.template.ts"
16340
16343
  }
16341
16344
  }
16342
16345
  ]
16343
16346
  },
16344
16347
  {
16345
16348
  "kind": "javascript-module",
16346
- "path": "src/file-upload/file-upload.ts",
16349
+ "path": "src/filter/filter.ts",
16347
16350
  "declarations": [
16348
16351
  {
16349
16352
  "kind": "class",
16350
16353
  "description": "",
16351
- "name": "FileUpload",
16354
+ "name": "Filter",
16352
16355
  "members": [
16353
16356
  {
16354
16357
  "kind": "field",
16355
- "name": "fileInput",
16358
+ "name": "textFilterField",
16356
16359
  "type": {
16357
- "text": "HTMLInputElement"
16360
+ "text": "TextField"
16358
16361
  },
16359
16362
  "privacy": "public"
16360
16363
  },
16361
16364
  {
16362
16365
  "kind": "field",
16363
- "name": "acceptedFormats",
16366
+ "name": "numFilterFieldMin",
16364
16367
  "type": {
16365
- "text": "array"
16368
+ "text": "TextField"
16366
16369
  },
16367
- "privacy": "private",
16368
- "default": "[]"
16370
+ "privacy": "public"
16369
16371
  },
16370
16372
  {
16371
16373
  "kind": "field",
16372
- "name": "selectedFiles",
16374
+ "name": "numFilterFieldMax",
16373
16375
  "type": {
16374
- "text": "File[]"
16376
+ "text": "TextField"
16375
16377
  },
16376
- "privacy": "private"
16377
- },
16378
- {
16379
- "kind": "field",
16380
- "name": "gridCriteria",
16381
- "type": {
16382
- "text": "string"
16383
- }
16378
+ "privacy": "public"
16384
16379
  },
16385
16380
  {
16386
16381
  "kind": "field",
16387
- "name": "connect",
16382
+ "name": "dateFilterFieldMin",
16388
16383
  "type": {
16389
- "text": "Connect"
16390
- }
16384
+ "text": "TextField"
16385
+ },
16386
+ "privacy": "public"
16391
16387
  },
16392
16388
  {
16393
16389
  "kind": "field",
16394
- "name": "session",
16390
+ "name": "dateFilterFieldMax",
16395
16391
  "type": {
16396
- "text": "Session"
16397
- }
16392
+ "text": "TextField"
16393
+ },
16394
+ "privacy": "public"
16398
16395
  },
16399
16396
  {
16400
16397
  "kind": "field",
16401
- "name": "label",
16398
+ "name": "fieldName",
16402
16399
  "type": {
16403
16400
  "text": "string"
16404
16401
  }
16405
16402
  },
16406
16403
  {
16407
16404
  "kind": "field",
16408
- "name": "accept",
16405
+ "name": "type",
16409
16406
  "type": {
16410
- "text": "string"
16407
+ "text": "'text' | 'number' | 'date' | 'boolean' | 'enum'"
16411
16408
  },
16412
- "default": "''"
16413
- },
16414
- {
16415
- "kind": "method",
16416
- "name": "acceptChanged"
16409
+ "default": "'text'"
16417
16410
  },
16418
16411
  {
16419
16412
  "kind": "field",
16420
- "name": "fileSizeLimitBytes",
16421
- "default": "104_857_600",
16413
+ "name": "label",
16422
16414
  "type": {
16423
- "text": "number"
16415
+ "text": "string"
16424
16416
  }
16425
16417
  },
16426
16418
  {
16427
16419
  "kind": "field",
16428
- "name": "uploadedFilesResourceName",
16420
+ "name": "target",
16429
16421
  "type": {
16430
16422
  "text": "string"
16431
16423
  },
16432
- "default": "'ALL_FILE_ATTACHMENTS'"
16424
+ "description": "Will be included in event emmissions.\nUsually set to the id of the target datasource.\nUsefull when we have multiple grids in the same page."
16433
16425
  },
16434
16426
  {
16435
16427
  "kind": "field",
16436
- "name": "uploadEventName",
16428
+ "name": "textFilter",
16437
16429
  "type": {
16438
16430
  "text": "string"
16439
16431
  },
16440
- "default": "'gwf/attachment-handler/upload'"
16432
+ "default": "''"
16441
16433
  },
16442
16434
  {
16443
16435
  "kind": "field",
16444
- "name": "fieldName",
16436
+ "name": "numFilterMin",
16445
16437
  "type": {
16446
- "text": "string"
16438
+ "text": "number"
16447
16439
  }
16448
16440
  },
16449
- {
16450
- "kind": "method",
16451
- "name": "fieldNameChanged"
16452
- },
16453
16441
  {
16454
16442
  "kind": "field",
16455
- "name": "entityId",
16443
+ "name": "numFilterMax",
16456
16444
  "type": {
16457
- "text": "string"
16445
+ "text": "number"
16458
16446
  }
16459
16447
  },
16460
- {
16461
- "kind": "method",
16462
- "name": "entityIdChanged"
16463
- },
16464
16448
  {
16465
16449
  "kind": "field",
16466
- "name": "uploadKey",
16450
+ "name": "dateFilterMin",
16467
16451
  "type": {
16468
16452
  "text": "string"
16469
16453
  }
16470
16454
  },
16471
16455
  {
16472
16456
  "kind": "field",
16473
- "name": "gridFields",
16457
+ "name": "dateFilterMax",
16474
16458
  "type": {
16475
16459
  "text": "string"
16476
- },
16477
- "default": "''"
16460
+ }
16478
16461
  },
16479
16462
  {
16480
16463
  "kind": "field",
16481
- "name": "fileName",
16464
+ "name": "dateMinMS",
16482
16465
  "type": {
16483
- "text": "string"
16484
- },
16485
- "default": "''"
16466
+ "text": "number"
16467
+ }
16486
16468
  },
16487
16469
  {
16488
16470
  "kind": "field",
16489
- "name": "uploadedFilesList",
16471
+ "name": "dateMaxMS",
16490
16472
  "type": {
16491
- "text": "array"
16492
- },
16493
- "default": "[]"
16473
+ "text": "number"
16474
+ }
16494
16475
  },
16495
16476
  {
16496
16477
  "kind": "field",
16497
- "name": "filesGridColumnDefinitions",
16478
+ "name": "enumOptions",
16498
16479
  "type": {
16499
- "text": "ColumnDefinition[]"
16500
- },
16501
- "default": "[]"
16480
+ "text": "string"
16481
+ }
16502
16482
  },
16503
16483
  {
16504
16484
  "kind": "field",
16505
- "name": "downloadEventName",
16485
+ "name": "enumFilterOptions",
16506
16486
  "type": {
16507
- "text": "Function"
16487
+ "text": "any[]"
16508
16488
  },
16509
- "privacy": "public"
16510
- },
16511
- {
16512
- "kind": "method",
16513
- "name": "setupGrid"
16489
+ "default": "[{ name: 'All', value: 'all', selected: true }]"
16514
16490
  },
16515
16491
  {
16516
16492
  "kind": "method",
16517
- "name": "handleStreamRowOperation",
16518
- "privacy": "private",
16493
+ "name": "textFilterChanged",
16519
16494
  "parameters": [
16520
16495
  {
16521
- "name": "data",
16496
+ "name": "oldCriteria",
16522
16497
  "type": {
16523
- "text": "Message<any>"
16498
+ "text": "string"
16499
+ }
16500
+ },
16501
+ {
16502
+ "name": "newCriteria",
16503
+ "type": {
16504
+ "text": "string"
16524
16505
  }
16525
16506
  }
16526
16507
  ]
16527
16508
  },
16528
16509
  {
16529
16510
  "kind": "method",
16530
- "name": "setRowData"
16511
+ "name": "numFilterMinChanged",
16512
+ "parameters": [
16513
+ {
16514
+ "name": "oldMin",
16515
+ "type": {
16516
+ "text": "string"
16517
+ }
16518
+ },
16519
+ {
16520
+ "name": "newMin",
16521
+ "type": {
16522
+ "text": "string"
16523
+ }
16524
+ }
16525
+ ]
16531
16526
  },
16532
16527
  {
16533
16528
  "kind": "method",
16534
- "name": "setColumnDefs"
16529
+ "name": "numFilterMaxChanged",
16530
+ "parameters": [
16531
+ {
16532
+ "name": "oldMax",
16533
+ "type": {
16534
+ "text": "string"
16535
+ }
16536
+ },
16537
+ {
16538
+ "name": "newMax",
16539
+ "type": {
16540
+ "text": "string"
16541
+ }
16542
+ }
16543
+ ]
16535
16544
  },
16536
16545
  {
16537
16546
  "kind": "method",
16538
- "name": "getDownloadColumn",
16539
- "privacy": "public"
16547
+ "name": "handleNumericFilter",
16548
+ "privacy": "private",
16549
+ "parameters": [
16550
+ {
16551
+ "name": "min",
16552
+ "type": {
16553
+ "text": "number"
16554
+ }
16555
+ },
16556
+ {
16557
+ "name": "max",
16558
+ "type": {
16559
+ "text": "number"
16560
+ }
16561
+ }
16562
+ ]
16540
16563
  },
16541
16564
  {
16542
16565
  "kind": "method",
16543
- "name": "getColumnObject",
16544
- "privacy": "public",
16566
+ "name": "formatDate",
16567
+ "privacy": "private",
16568
+ "return": {
16569
+ "type": {
16570
+ "text": ""
16571
+ }
16572
+ },
16545
16573
  "parameters": [
16546
16574
  {
16547
- "name": "column"
16575
+ "name": "epoch",
16576
+ "type": {
16577
+ "text": "number"
16578
+ },
16579
+ "description": "ms since unix epoch"
16548
16580
  }
16549
- ]
16581
+ ],
16582
+ "description": "Example: 1634083200000 -> '20211013-00:00:00'"
16550
16583
  },
16551
16584
  {
16552
16585
  "kind": "method",
16553
- "name": "handleClick",
16554
- "privacy": "public"
16586
+ "name": "dateFilterMinChanged",
16587
+ "parameters": [
16588
+ {
16589
+ "name": "oldMin",
16590
+ "type": {
16591
+ "text": "string"
16592
+ }
16593
+ },
16594
+ {
16595
+ "name": "newMin",
16596
+ "type": {
16597
+ "text": "string"
16598
+ }
16599
+ }
16600
+ ]
16555
16601
  },
16556
16602
  {
16557
16603
  "kind": "method",
16558
- "name": "onInputChange",
16559
- "privacy": "public",
16604
+ "name": "dateFilterMaxChanged",
16560
16605
  "parameters": [
16561
16606
  {
16562
- "name": "e"
16607
+ "name": "oldMax",
16608
+ "type": {
16609
+ "text": "string"
16610
+ }
16611
+ },
16612
+ {
16613
+ "name": "newMax",
16614
+ "type": {
16615
+ "text": "string"
16616
+ }
16563
16617
  }
16564
16618
  ]
16565
16619
  },
16566
16620
  {
16567
16621
  "kind": "method",
16568
- "name": "onFilesSelected",
16569
- "privacy": "public",
16622
+ "name": "handleDateFilter",
16623
+ "privacy": "private",
16570
16624
  "parameters": [
16571
16625
  {
16572
- "name": "files",
16626
+ "name": "min",
16573
16627
  "type": {
16574
- "text": "File[]"
16628
+ "text": "number"
16629
+ }
16630
+ },
16631
+ {
16632
+ "name": "max",
16633
+ "type": {
16634
+ "text": "number"
16575
16635
  }
16576
16636
  }
16577
16637
  ]
16578
16638
  },
16579
16639
  {
16580
16640
  "kind": "method",
16581
- "name": "handleFileUpload",
16641
+ "name": "clear",
16582
16642
  "privacy": "public"
16583
16643
  },
16584
16644
  {
16585
16645
  "kind": "method",
16586
- "name": "handleFileDownload",
16646
+ "name": "onBooleanFilterSelection",
16587
16647
  "privacy": "public",
16588
16648
  "parameters": [
16589
16649
  {
16590
- "name": "rowData",
16650
+ "name": "selection",
16591
16651
  "type": {
16592
- "text": "any"
16652
+ "text": "'all' | 'true' | 'false' | 'null'"
16593
16653
  }
16594
16654
  }
16595
16655
  ]
16596
16656
  },
16597
16657
  {
16598
16658
  "kind": "method",
16599
- "name": "clearSelection",
16600
- "privacy": "public"
16659
+ "name": "onEnumFilterSelection",
16660
+ "privacy": "public",
16661
+ "parameters": [
16662
+ {
16663
+ "name": "selection",
16664
+ "type": {
16665
+ "text": "string"
16666
+ }
16667
+ }
16668
+ ]
16601
16669
  },
16602
16670
  {
16603
16671
  "kind": "field",
@@ -16713,322 +16781,136 @@
16713
16781
  ],
16714
16782
  "attributes": [
16715
16783
  {
16716
- "name": "label",
16717
- "type": {
16718
- "text": "string"
16719
- },
16720
- "fieldName": "label"
16721
- },
16722
- {
16723
- "name": "accept",
16724
- "type": {
16725
- "text": "string"
16726
- },
16727
- "default": "''",
16728
- "fieldName": "accept"
16729
- },
16730
- {
16731
- "name": "file-size-limit-bytes",
16732
- "default": "FILE_SIZE_LIMIT",
16733
- "resolveInitializer": {
16734
- "module": "src/file-upload/file-upload.ts"
16735
- },
16736
- "fieldName": "fileSizeLimitBytes"
16737
- },
16738
- {
16739
- "name": "uploaded-files-resource-name",
16740
- "type": {
16741
- "text": "string"
16742
- },
16743
- "default": "'ALL_FILE_ATTACHMENTS'",
16744
- "fieldName": "uploadedFilesResourceName"
16745
- },
16746
- {
16747
- "name": "upload-event-name",
16784
+ "name": "fieldName",
16748
16785
  "type": {
16749
16786
  "text": "string"
16750
16787
  },
16751
- "default": "'gwf/attachment-handler/upload'",
16752
- "fieldName": "uploadEventName"
16788
+ "fieldName": "fieldName"
16753
16789
  },
16754
16790
  {
16755
- "name": "field-name",
16791
+ "name": "type",
16756
16792
  "type": {
16757
- "text": "string"
16793
+ "text": "'text' | 'number' | 'date' | 'boolean' | 'enum'"
16758
16794
  },
16759
- "fieldName": "fieldName"
16795
+ "default": "'text'",
16796
+ "fieldName": "type"
16760
16797
  },
16761
16798
  {
16762
- "name": "entity-id",
16799
+ "name": "label",
16763
16800
  "type": {
16764
16801
  "text": "string"
16765
16802
  },
16766
- "fieldName": "entityId"
16803
+ "fieldName": "label"
16767
16804
  },
16768
16805
  {
16769
- "name": "upload-key",
16806
+ "name": "target",
16770
16807
  "type": {
16771
16808
  "text": "string"
16772
16809
  },
16773
- "fieldName": "uploadKey"
16810
+ "description": "Will be included in event emmissions.\nUsually set to the id of the target datasource.\nUsefull when we have multiple grids in the same page.",
16811
+ "fieldName": "target"
16774
16812
  },
16775
16813
  {
16776
- "name": "grid-fields",
16814
+ "name": "enumOptions",
16777
16815
  "type": {
16778
16816
  "text": "string"
16779
16817
  },
16780
- "default": "''",
16781
- "fieldName": "gridFields"
16818
+ "fieldName": "enumOptions"
16782
16819
  }
16783
16820
  ],
16784
16821
  "superclass": {
16785
16822
  "name": "FoundationElement",
16786
16823
  "package": "@microsoft/fast-foundation"
16787
16824
  },
16788
- "tagName": "%%prefix%%-file-upload",
16825
+ "tagName": "%%prefix%%-filter",
16789
16826
  "customElement": true
16790
16827
  },
16791
16828
  {
16792
16829
  "kind": "variable",
16793
- "name": "foundationFileUploadShadowOptions",
16794
- "type": {
16795
- "text": "ShadowRootInit"
16796
- },
16797
- "default": "undefined"
16798
- },
16799
- {
16800
- "kind": "variable",
16801
- "name": "defaultFileUploadConfig",
16802
- "type": {
16803
- "text": "object"
16804
- },
16805
- "default": "{}"
16806
- },
16807
- {
16808
- "kind": "variable",
16809
- "name": "foundationFileUpload",
16810
- "description": "The Foundation File Upload",
16811
- "privacy": "public"
16830
+ "name": "foundationFilter"
16812
16831
  }
16813
16832
  ],
16814
16833
  "exports": [
16815
16834
  {
16816
16835
  "kind": "js",
16817
- "name": "FileUpload",
16836
+ "name": "Filter",
16818
16837
  "declaration": {
16819
- "name": "FileUpload",
16820
- "module": "src/file-upload/file-upload.ts"
16838
+ "name": "Filter",
16839
+ "module": "src/filter/filter.ts"
16821
16840
  }
16822
16841
  },
16823
16842
  {
16824
16843
  "kind": "js",
16825
- "name": "foundationFileUploadShadowOptions",
16844
+ "name": "foundationFilter",
16826
16845
  "declaration": {
16827
- "name": "foundationFileUploadShadowOptions",
16828
- "module": "src/file-upload/file-upload.ts"
16846
+ "name": "foundationFilter",
16847
+ "module": "src/filter/filter.ts"
16848
+ }
16849
+ }
16850
+ ]
16851
+ },
16852
+ {
16853
+ "kind": "javascript-module",
16854
+ "path": "src/filter/index.ts",
16855
+ "declarations": [],
16856
+ "exports": [
16857
+ {
16858
+ "kind": "js",
16859
+ "name": "*",
16860
+ "declaration": {
16861
+ "name": "*",
16862
+ "package": "./filter.styles"
16829
16863
  }
16830
16864
  },
16831
16865
  {
16832
16866
  "kind": "js",
16833
- "name": "defaultFileUploadConfig",
16867
+ "name": "*",
16834
16868
  "declaration": {
16835
- "name": "defaultFileUploadConfig",
16836
- "module": "src/file-upload/file-upload.ts"
16869
+ "name": "*",
16870
+ "package": "./filter.template"
16837
16871
  }
16838
16872
  },
16839
16873
  {
16840
16874
  "kind": "js",
16841
- "name": "foundationFileUpload",
16875
+ "name": "*",
16842
16876
  "declaration": {
16843
- "name": "foundationFileUpload",
16844
- "module": "src/file-upload/file-upload.ts"
16877
+ "name": "*",
16878
+ "package": "./filter"
16845
16879
  }
16846
16880
  }
16847
16881
  ]
16848
16882
  },
16849
16883
  {
16850
16884
  "kind": "javascript-module",
16851
- "path": "src/file-upload/file-upload.utils.ts",
16852
- "declarations": [
16853
- {
16854
- "kind": "function",
16855
- "name": "createFormData",
16856
- "parameters": [
16857
- {
16858
- "name": "files",
16859
- "type": {
16860
- "text": "Array<File>"
16861
- }
16862
- }
16863
- ]
16864
- },
16865
- {
16866
- "kind": "function",
16867
- "name": "uploadFiles",
16868
- "parameters": [
16869
- {
16870
- "name": "url",
16871
- "type": {
16872
- "text": "string"
16873
- }
16874
- },
16875
- {
16876
- "name": "formData",
16877
- "type": {
16878
- "text": "FormData"
16879
- }
16880
- },
16881
- {
16882
- "name": "authToken",
16883
- "type": {
16884
- "text": "string"
16885
- }
16886
- }
16887
- ]
16888
- },
16889
- {
16890
- "kind": "function",
16891
- "name": "downloadFile",
16892
- "parameters": [
16893
- {
16894
- "name": "url",
16895
- "type": {
16896
- "text": "string"
16897
- }
16898
- },
16899
- {
16900
- "name": "filename",
16901
- "type": {
16902
- "text": "string"
16903
- }
16904
- },
16905
- {
16906
- "name": "authToken",
16907
- "type": {
16908
- "text": "string"
16909
- }
16910
- },
16911
- {
16912
- "name": "method",
16913
- "default": "'GET'",
16914
- "type": {
16915
- "text": "string"
16916
- }
16917
- },
16918
- {
16919
- "name": "showNotifications",
16920
- "optional": true,
16921
- "type": {
16922
- "text": "boolean"
16923
- }
16924
- },
16925
- {
16926
- "name": "body",
16927
- "optional": true,
16928
- "type": {
16929
- "text": "any"
16930
- }
16931
- }
16932
- ]
16933
- }
16934
- ],
16935
- "exports": [
16936
- {
16937
- "kind": "js",
16938
- "name": "createFormData",
16939
- "declaration": {
16940
- "name": "createFormData",
16941
- "module": "src/file-upload/file-upload.utils.ts"
16942
- }
16943
- },
16944
- {
16945
- "kind": "js",
16946
- "name": "uploadFiles",
16947
- "declaration": {
16948
- "name": "uploadFiles",
16949
- "module": "src/file-upload/file-upload.utils.ts"
16950
- }
16951
- },
16952
- {
16953
- "kind": "js",
16954
- "name": "downloadFile",
16955
- "declaration": {
16956
- "name": "downloadFile",
16957
- "module": "src/file-upload/file-upload.utils.ts"
16958
- }
16959
- }
16960
- ]
16961
- },
16962
- {
16963
- "kind": "javascript-module",
16964
- "path": "src/file-upload/index.ts",
16965
- "declarations": [],
16966
- "exports": [
16967
- {
16968
- "kind": "js",
16969
- "name": "*",
16970
- "declaration": {
16971
- "name": "*",
16972
- "package": "./file-upload"
16973
- }
16974
- },
16975
- {
16976
- "kind": "js",
16977
- "name": "*",
16978
- "declaration": {
16979
- "name": "*",
16980
- "package": "./file-upload.template"
16981
- }
16982
- },
16983
- {
16984
- "kind": "js",
16985
- "name": "*",
16986
- "declaration": {
16987
- "name": "*",
16988
- "package": "./file-upload.styles"
16989
- }
16990
- },
16991
- {
16992
- "kind": "js",
16993
- "name": "*",
16994
- "declaration": {
16995
- "name": "*",
16996
- "package": "./file-upload.utils"
16997
- }
16998
- }
16999
- ]
17000
- },
17001
- {
17002
- "kind": "javascript-module",
17003
- "path": "src/filter/filter.styles.ts",
16885
+ "path": "src/file-upload/file-upload.styles.ts",
17004
16886
  "declarations": [
17005
16887
  {
17006
16888
  "kind": "variable",
17007
- "name": "foundationFilterStyles",
16889
+ "name": "foundationFileUploadStyles",
17008
16890
  "type": {
17009
16891
  "text": "ElementStyles"
17010
16892
  },
17011
- "default": "css`\n .filter-wrapper {\n border: 1px solid gray;\n border-radius: calc(var(--design-unit) * 2px);\n padding: calc(var(--design-unit) * 1px);\n }\n\n .close-icon {\n display: flex;\n place-content: center;\n align-items: center;\n flex-direction: column;\n align-content: center;\n justify-content: center;\n margin: calc(var(--design-unit) * 1px);\n padding: calc(var(--design-unit) * 1px);\n border: 1px solid transparent;\n border-radius: calc(var(--design-unit) * 2px);\n cursor: pointer;\n }\n\n .close-icon,\n .cloase-icon svg path {\n transition-property: all;\n transition-timing-function: linear;\n transition-duration: 300ms;\n }\n\n .close-icon:hover {\n border-color: red;\n background: rgb(255 0 0 / 25%);\n }\n\n .close-icon:hover svg path {\n fill: red;\n }\n\n .flex-row {\n display: flex;\n flex-direction: row;\n align-content: center;\n justify-content: space-between;\n align-items: center;\n }\n\n .flex-row zero-text-field,\n .flex-row zero-select,\n .flex-row foundation-text-field,\n .flex-row foundation-select {\n flex: 1;\n }\n`"
16893
+ "default": "css`\n /* Host */\n :host {\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n }\n\n .file-selection {\n display: flex;\n align-items: end;\n justify-content: start;\n padding-bottom: 10px;\n }\n\n .file-selection :nth-last-child(-n + 2) {\n margin: 0;\n margin-left: 10px;\n }\n\n input[type='file'] {\n display: none;\n }\n\n .clear-icon {\n cursor: pointer;\n }\n\n .uploader-grid {\n overflow-y: auto;\n }\n\n .file-name-input {\n flex: 1;\n }\n\n .download-button-container {\n display: flex;\n }\n\n .download-button {\n height: 22px;\n }\n\n fast-data-grid-row {\n align-items: center;\n }\n`"
17012
16894
  }
17013
16895
  ],
17014
16896
  "exports": [
17015
16897
  {
17016
16898
  "kind": "js",
17017
- "name": "foundationFilterStyles",
16899
+ "name": "foundationFileUploadStyles",
17018
16900
  "declaration": {
17019
- "name": "foundationFilterStyles",
17020
- "module": "src/filter/filter.styles.ts"
16901
+ "name": "foundationFileUploadStyles",
16902
+ "module": "src/file-upload/file-upload.styles.ts"
17021
16903
  }
17022
16904
  }
17023
16905
  ]
17024
16906
  },
17025
16907
  {
17026
16908
  "kind": "javascript-module",
17027
- "path": "src/filter/filter.template.ts",
16909
+ "path": "src/file-upload/file-upload.template.ts",
17028
16910
  "declarations": [
17029
16911
  {
17030
16912
  "kind": "function",
17031
- "name": "getPrefixedFilterTemplate",
16913
+ "name": "getPrefixedFileUpload",
17032
16914
  "parameters": [
17033
16915
  {
17034
16916
  "name": "prefix",
@@ -17040,95 +16922,83 @@
17040
16922
  },
17041
16923
  {
17042
16924
  "kind": "variable",
17043
- "name": "foundationFilterTemplate",
17044
- "type": {
17045
- "text": "ViewTemplate<Filter>"
17046
- },
17047
- "default": "html`\n ${(x) => getPrefixedFilterTemplate(getPrefix(x))}</div>\n`"
16925
+ "name": "foundationFileUploadTemplate",
16926
+ "default": "html<FileUpload>`\n ${(x) => getPrefixedFileUpload(getPrefix(x))}\n`"
17048
16927
  }
17049
16928
  ],
17050
16929
  "exports": [
17051
16930
  {
17052
16931
  "kind": "js",
17053
- "name": "getPrefixedFilterTemplate",
16932
+ "name": "getPrefixedFileUpload",
17054
16933
  "declaration": {
17055
- "name": "getPrefixedFilterTemplate",
17056
- "module": "src/filter/filter.template.ts"
16934
+ "name": "getPrefixedFileUpload",
16935
+ "module": "src/file-upload/file-upload.template.ts"
17057
16936
  }
17058
16937
  },
17059
16938
  {
17060
16939
  "kind": "js",
17061
- "name": "foundationFilterTemplate",
16940
+ "name": "foundationFileUploadTemplate",
17062
16941
  "declaration": {
17063
- "name": "foundationFilterTemplate",
17064
- "module": "src/filter/filter.template.ts"
16942
+ "name": "foundationFileUploadTemplate",
16943
+ "module": "src/file-upload/file-upload.template.ts"
17065
16944
  }
17066
16945
  }
17067
16946
  ]
17068
16947
  },
17069
16948
  {
17070
16949
  "kind": "javascript-module",
17071
- "path": "src/filter/filter.ts",
16950
+ "path": "src/file-upload/file-upload.ts",
17072
16951
  "declarations": [
17073
16952
  {
17074
16953
  "kind": "class",
17075
16954
  "description": "",
17076
- "name": "Filter",
16955
+ "name": "FileUpload",
17077
16956
  "members": [
17078
16957
  {
17079
16958
  "kind": "field",
17080
- "name": "textFilterField",
17081
- "type": {
17082
- "text": "TextField"
17083
- },
17084
- "privacy": "public"
17085
- },
17086
- {
17087
- "kind": "field",
17088
- "name": "numFilterFieldMin",
16959
+ "name": "fileInput",
17089
16960
  "type": {
17090
- "text": "TextField"
16961
+ "text": "HTMLInputElement"
17091
16962
  },
17092
16963
  "privacy": "public"
17093
16964
  },
17094
16965
  {
17095
16966
  "kind": "field",
17096
- "name": "numFilterFieldMax",
16967
+ "name": "acceptedFormats",
17097
16968
  "type": {
17098
- "text": "TextField"
16969
+ "text": "array"
17099
16970
  },
17100
- "privacy": "public"
16971
+ "privacy": "private",
16972
+ "default": "[]"
17101
16973
  },
17102
16974
  {
17103
16975
  "kind": "field",
17104
- "name": "dateFilterFieldMin",
16976
+ "name": "selectedFiles",
17105
16977
  "type": {
17106
- "text": "TextField"
16978
+ "text": "File[]"
17107
16979
  },
17108
- "privacy": "public"
16980
+ "privacy": "private"
17109
16981
  },
17110
16982
  {
17111
16983
  "kind": "field",
17112
- "name": "dateFilterFieldMax",
16984
+ "name": "gridCriteria",
17113
16985
  "type": {
17114
- "text": "TextField"
17115
- },
17116
- "privacy": "public"
16986
+ "text": "string"
16987
+ }
17117
16988
  },
17118
16989
  {
17119
16990
  "kind": "field",
17120
- "name": "fieldName",
16991
+ "name": "connect",
17121
16992
  "type": {
17122
- "text": "string"
16993
+ "text": "Connect"
17123
16994
  }
17124
16995
  },
17125
16996
  {
17126
16997
  "kind": "field",
17127
- "name": "type",
16998
+ "name": "session",
17128
16999
  "type": {
17129
- "text": "'text' | 'number' | 'date' | 'boolean' | 'enum'"
17130
- },
17131
- "default": "'text'"
17000
+ "text": "Session"
17001
+ }
17132
17002
  },
17133
17003
  {
17134
17004
  "kind": "field",
@@ -17139,256 +17009,200 @@
17139
17009
  },
17140
17010
  {
17141
17011
  "kind": "field",
17142
- "name": "target",
17012
+ "name": "accept",
17143
17013
  "type": {
17144
17014
  "text": "string"
17145
17015
  },
17146
- "description": "Will be included in event emmissions.\nUsually set to the id of the target datasource.\nUsefull when we have multiple grids in the same page."
17016
+ "default": "''"
17147
17017
  },
17148
17018
  {
17149
- "kind": "field",
17150
- "name": "textFilter",
17151
- "type": {
17152
- "text": "string"
17153
- },
17154
- "default": "''"
17019
+ "kind": "method",
17020
+ "name": "acceptChanged"
17155
17021
  },
17156
17022
  {
17157
17023
  "kind": "field",
17158
- "name": "numFilterMin",
17024
+ "name": "fileSizeLimitBytes",
17025
+ "default": "104_857_600",
17159
17026
  "type": {
17160
17027
  "text": "number"
17161
17028
  }
17162
17029
  },
17163
17030
  {
17164
17031
  "kind": "field",
17165
- "name": "numFilterMax",
17032
+ "name": "uploadedFilesResourceName",
17166
17033
  "type": {
17167
- "text": "number"
17168
- }
17034
+ "text": "string"
17035
+ },
17036
+ "default": "'ALL_FILE_ATTACHMENTS'"
17169
17037
  },
17170
17038
  {
17171
17039
  "kind": "field",
17172
- "name": "dateFilterMin",
17040
+ "name": "uploadEventName",
17173
17041
  "type": {
17174
17042
  "text": "string"
17175
- }
17043
+ },
17044
+ "default": "'gwf/attachment-handler/upload'"
17176
17045
  },
17177
17046
  {
17178
17047
  "kind": "field",
17179
- "name": "dateFilterMax",
17048
+ "name": "fieldName",
17180
17049
  "type": {
17181
17050
  "text": "string"
17182
17051
  }
17183
17052
  },
17184
17053
  {
17185
- "kind": "field",
17186
- "name": "dateMinMS",
17187
- "type": {
17188
- "text": "number"
17189
- }
17054
+ "kind": "method",
17055
+ "name": "fieldNameChanged"
17190
17056
  },
17191
17057
  {
17192
17058
  "kind": "field",
17193
- "name": "dateMaxMS",
17059
+ "name": "entityId",
17194
17060
  "type": {
17195
- "text": "number"
17061
+ "text": "string"
17196
17062
  }
17197
17063
  },
17064
+ {
17065
+ "kind": "method",
17066
+ "name": "entityIdChanged"
17067
+ },
17198
17068
  {
17199
17069
  "kind": "field",
17200
- "name": "enumOptions",
17070
+ "name": "uploadKey",
17201
17071
  "type": {
17202
17072
  "text": "string"
17203
17073
  }
17204
17074
  },
17205
17075
  {
17206
17076
  "kind": "field",
17207
- "name": "enumFilterOptions",
17077
+ "name": "gridFields",
17208
17078
  "type": {
17209
- "text": "any[]"
17079
+ "text": "string"
17210
17080
  },
17211
- "default": "[{ name: 'All', value: 'all', selected: true }]"
17081
+ "default": "''"
17212
17082
  },
17213
17083
  {
17214
- "kind": "method",
17215
- "name": "textFilterChanged",
17216
- "parameters": [
17217
- {
17218
- "name": "oldCriteria",
17219
- "type": {
17220
- "text": "string"
17221
- }
17222
- },
17223
- {
17224
- "name": "newCriteria",
17225
- "type": {
17226
- "text": "string"
17227
- }
17228
- }
17229
- ]
17084
+ "kind": "field",
17085
+ "name": "fileName",
17086
+ "type": {
17087
+ "text": "string"
17088
+ },
17089
+ "default": "''"
17230
17090
  },
17231
17091
  {
17232
- "kind": "method",
17233
- "name": "numFilterMinChanged",
17234
- "parameters": [
17235
- {
17236
- "name": "oldMin",
17237
- "type": {
17238
- "text": "string"
17239
- }
17240
- },
17241
- {
17242
- "name": "newMin",
17243
- "type": {
17244
- "text": "string"
17245
- }
17246
- }
17247
- ]
17092
+ "kind": "field",
17093
+ "name": "uploadedFilesList",
17094
+ "type": {
17095
+ "text": "array"
17096
+ },
17097
+ "default": "[]"
17248
17098
  },
17249
17099
  {
17250
- "kind": "method",
17251
- "name": "numFilterMaxChanged",
17252
- "parameters": [
17253
- {
17254
- "name": "oldMax",
17255
- "type": {
17256
- "text": "string"
17257
- }
17258
- },
17259
- {
17260
- "name": "newMax",
17261
- "type": {
17262
- "text": "string"
17263
- }
17264
- }
17265
- ]
17100
+ "kind": "field",
17101
+ "name": "filesGridColumnDefinitions",
17102
+ "type": {
17103
+ "text": "ColumnDefinition[]"
17104
+ },
17105
+ "default": "[]"
17266
17106
  },
17267
17107
  {
17268
- "kind": "method",
17269
- "name": "handleNumericFilter",
17270
- "privacy": "private",
17271
- "parameters": [
17272
- {
17273
- "name": "min",
17274
- "type": {
17275
- "text": "number"
17276
- }
17277
- },
17278
- {
17279
- "name": "max",
17280
- "type": {
17281
- "text": "number"
17282
- }
17283
- }
17284
- ]
17108
+ "kind": "field",
17109
+ "name": "downloadEventName",
17110
+ "type": {
17111
+ "text": "Function"
17112
+ },
17113
+ "privacy": "public"
17285
17114
  },
17286
17115
  {
17287
17116
  "kind": "method",
17288
- "name": "formatDate",
17289
- "privacy": "private",
17290
- "return": {
17291
- "type": {
17292
- "text": ""
17293
- }
17294
- },
17295
- "parameters": [
17296
- {
17297
- "name": "epoch",
17298
- "type": {
17299
- "text": "number"
17300
- },
17301
- "description": "ms since unix epoch"
17302
- }
17303
- ],
17304
- "description": "Example: 1634083200000 -> '20211013-00:00:00'"
17117
+ "name": "setupGrid"
17305
17118
  },
17306
17119
  {
17307
17120
  "kind": "method",
17308
- "name": "dateFilterMinChanged",
17121
+ "name": "handleStreamRowOperation",
17122
+ "privacy": "private",
17309
17123
  "parameters": [
17310
17124
  {
17311
- "name": "oldMin",
17312
- "type": {
17313
- "text": "string"
17314
- }
17315
- },
17316
- {
17317
- "name": "newMin",
17125
+ "name": "data",
17318
17126
  "type": {
17319
- "text": "string"
17127
+ "text": "Message<any>"
17320
17128
  }
17321
17129
  }
17322
17130
  ]
17323
17131
  },
17324
17132
  {
17325
17133
  "kind": "method",
17326
- "name": "dateFilterMaxChanged",
17327
- "parameters": [
17328
- {
17329
- "name": "oldMax",
17330
- "type": {
17331
- "text": "string"
17332
- }
17333
- },
17334
- {
17335
- "name": "newMax",
17336
- "type": {
17337
- "text": "string"
17338
- }
17339
- }
17340
- ]
17134
+ "name": "setRowData"
17341
17135
  },
17342
17136
  {
17343
17137
  "kind": "method",
17344
- "name": "handleDateFilter",
17345
- "privacy": "private",
17138
+ "name": "setColumnDefs"
17139
+ },
17140
+ {
17141
+ "kind": "method",
17142
+ "name": "getDownloadColumn",
17143
+ "privacy": "public"
17144
+ },
17145
+ {
17146
+ "kind": "method",
17147
+ "name": "getColumnObject",
17148
+ "privacy": "public",
17346
17149
  "parameters": [
17347
17150
  {
17348
- "name": "min",
17349
- "type": {
17350
- "text": "number"
17351
- }
17352
- },
17353
- {
17354
- "name": "max",
17355
- "type": {
17356
- "text": "number"
17357
- }
17151
+ "name": "column"
17358
17152
  }
17359
17153
  ]
17360
17154
  },
17361
17155
  {
17362
17156
  "kind": "method",
17363
- "name": "clear",
17157
+ "name": "handleClick",
17364
17158
  "privacy": "public"
17365
17159
  },
17366
17160
  {
17367
17161
  "kind": "method",
17368
- "name": "onBooleanFilterSelection",
17162
+ "name": "onInputChange",
17369
17163
  "privacy": "public",
17370
17164
  "parameters": [
17371
17165
  {
17372
- "name": "selection",
17166
+ "name": "e"
17167
+ }
17168
+ ]
17169
+ },
17170
+ {
17171
+ "kind": "method",
17172
+ "name": "onFilesSelected",
17173
+ "privacy": "public",
17174
+ "parameters": [
17175
+ {
17176
+ "name": "files",
17373
17177
  "type": {
17374
- "text": "'all' | 'true' | 'false' | 'null'"
17178
+ "text": "File[]"
17375
17179
  }
17376
17180
  }
17377
17181
  ]
17378
17182
  },
17379
17183
  {
17380
17184
  "kind": "method",
17381
- "name": "onEnumFilterSelection",
17185
+ "name": "handleFileUpload",
17186
+ "privacy": "public"
17187
+ },
17188
+ {
17189
+ "kind": "method",
17190
+ "name": "handleFileDownload",
17382
17191
  "privacy": "public",
17383
17192
  "parameters": [
17384
17193
  {
17385
- "name": "selection",
17194
+ "name": "rowData",
17386
17195
  "type": {
17387
- "text": "string"
17196
+ "text": "any"
17388
17197
  }
17389
17198
  }
17390
17199
  ]
17391
17200
  },
17201
+ {
17202
+ "kind": "method",
17203
+ "name": "clearSelection",
17204
+ "privacy": "public"
17205
+ },
17392
17206
  {
17393
17207
  "kind": "field",
17394
17208
  "name": "_presentation",
@@ -17500,80 +17314,258 @@
17500
17314
  "module": "src/foundation-element/foundation-element.ts"
17501
17315
  }
17502
17316
  }
17503
- ],
17504
- "attributes": [
17317
+ ],
17318
+ "attributes": [
17319
+ {
17320
+ "name": "label",
17321
+ "type": {
17322
+ "text": "string"
17323
+ },
17324
+ "fieldName": "label"
17325
+ },
17326
+ {
17327
+ "name": "accept",
17328
+ "type": {
17329
+ "text": "string"
17330
+ },
17331
+ "default": "''",
17332
+ "fieldName": "accept"
17333
+ },
17334
+ {
17335
+ "name": "file-size-limit-bytes",
17336
+ "default": "FILE_SIZE_LIMIT",
17337
+ "resolveInitializer": {
17338
+ "module": "src/file-upload/file-upload.ts"
17339
+ },
17340
+ "fieldName": "fileSizeLimitBytes"
17341
+ },
17342
+ {
17343
+ "name": "uploaded-files-resource-name",
17344
+ "type": {
17345
+ "text": "string"
17346
+ },
17347
+ "default": "'ALL_FILE_ATTACHMENTS'",
17348
+ "fieldName": "uploadedFilesResourceName"
17349
+ },
17350
+ {
17351
+ "name": "upload-event-name",
17352
+ "type": {
17353
+ "text": "string"
17354
+ },
17355
+ "default": "'gwf/attachment-handler/upload'",
17356
+ "fieldName": "uploadEventName"
17357
+ },
17358
+ {
17359
+ "name": "field-name",
17360
+ "type": {
17361
+ "text": "string"
17362
+ },
17363
+ "fieldName": "fieldName"
17364
+ },
17365
+ {
17366
+ "name": "entity-id",
17367
+ "type": {
17368
+ "text": "string"
17369
+ },
17370
+ "fieldName": "entityId"
17371
+ },
17372
+ {
17373
+ "name": "upload-key",
17374
+ "type": {
17375
+ "text": "string"
17376
+ },
17377
+ "fieldName": "uploadKey"
17378
+ },
17379
+ {
17380
+ "name": "grid-fields",
17381
+ "type": {
17382
+ "text": "string"
17383
+ },
17384
+ "default": "''",
17385
+ "fieldName": "gridFields"
17386
+ }
17387
+ ],
17388
+ "superclass": {
17389
+ "name": "FoundationElement",
17390
+ "package": "@microsoft/fast-foundation"
17391
+ },
17392
+ "tagName": "%%prefix%%-file-upload",
17393
+ "customElement": true
17394
+ },
17395
+ {
17396
+ "kind": "variable",
17397
+ "name": "foundationFileUploadShadowOptions",
17398
+ "type": {
17399
+ "text": "ShadowRootInit"
17400
+ },
17401
+ "default": "undefined"
17402
+ },
17403
+ {
17404
+ "kind": "variable",
17405
+ "name": "defaultFileUploadConfig",
17406
+ "type": {
17407
+ "text": "object"
17408
+ },
17409
+ "default": "{}"
17410
+ },
17411
+ {
17412
+ "kind": "variable",
17413
+ "name": "foundationFileUpload",
17414
+ "description": "The Foundation File Upload",
17415
+ "privacy": "public"
17416
+ }
17417
+ ],
17418
+ "exports": [
17419
+ {
17420
+ "kind": "js",
17421
+ "name": "FileUpload",
17422
+ "declaration": {
17423
+ "name": "FileUpload",
17424
+ "module": "src/file-upload/file-upload.ts"
17425
+ }
17426
+ },
17427
+ {
17428
+ "kind": "js",
17429
+ "name": "foundationFileUploadShadowOptions",
17430
+ "declaration": {
17431
+ "name": "foundationFileUploadShadowOptions",
17432
+ "module": "src/file-upload/file-upload.ts"
17433
+ }
17434
+ },
17435
+ {
17436
+ "kind": "js",
17437
+ "name": "defaultFileUploadConfig",
17438
+ "declaration": {
17439
+ "name": "defaultFileUploadConfig",
17440
+ "module": "src/file-upload/file-upload.ts"
17441
+ }
17442
+ },
17443
+ {
17444
+ "kind": "js",
17445
+ "name": "foundationFileUpload",
17446
+ "declaration": {
17447
+ "name": "foundationFileUpload",
17448
+ "module": "src/file-upload/file-upload.ts"
17449
+ }
17450
+ }
17451
+ ]
17452
+ },
17453
+ {
17454
+ "kind": "javascript-module",
17455
+ "path": "src/file-upload/file-upload.utils.ts",
17456
+ "declarations": [
17457
+ {
17458
+ "kind": "function",
17459
+ "name": "createFormData",
17460
+ "parameters": [
17461
+ {
17462
+ "name": "files",
17463
+ "type": {
17464
+ "text": "Array<File>"
17465
+ }
17466
+ }
17467
+ ]
17468
+ },
17469
+ {
17470
+ "kind": "function",
17471
+ "name": "uploadFiles",
17472
+ "parameters": [
17473
+ {
17474
+ "name": "url",
17475
+ "type": {
17476
+ "text": "string"
17477
+ }
17478
+ },
17479
+ {
17480
+ "name": "formData",
17481
+ "type": {
17482
+ "text": "FormData"
17483
+ }
17484
+ },
17485
+ {
17486
+ "name": "authToken",
17487
+ "type": {
17488
+ "text": "string"
17489
+ }
17490
+ }
17491
+ ]
17492
+ },
17493
+ {
17494
+ "kind": "function",
17495
+ "name": "downloadFile",
17496
+ "parameters": [
17505
17497
  {
17506
- "name": "fieldName",
17498
+ "name": "url",
17507
17499
  "type": {
17508
17500
  "text": "string"
17509
- },
17510
- "fieldName": "fieldName"
17501
+ }
17511
17502
  },
17512
17503
  {
17513
- "name": "type",
17504
+ "name": "filename",
17514
17505
  "type": {
17515
- "text": "'text' | 'number' | 'date' | 'boolean' | 'enum'"
17516
- },
17517
- "default": "'text'",
17518
- "fieldName": "type"
17506
+ "text": "string"
17507
+ }
17519
17508
  },
17520
17509
  {
17521
- "name": "label",
17510
+ "name": "authToken",
17522
17511
  "type": {
17523
17512
  "text": "string"
17524
- },
17525
- "fieldName": "label"
17513
+ }
17526
17514
  },
17527
17515
  {
17528
- "name": "target",
17516
+ "name": "method",
17517
+ "default": "'GET'",
17529
17518
  "type": {
17530
17519
  "text": "string"
17531
- },
17532
- "description": "Will be included in event emmissions.\nUsually set to the id of the target datasource.\nUsefull when we have multiple grids in the same page.",
17533
- "fieldName": "target"
17520
+ }
17534
17521
  },
17535
17522
  {
17536
- "name": "enumOptions",
17523
+ "name": "showNotifications",
17524
+ "optional": true,
17537
17525
  "type": {
17538
- "text": "string"
17539
- },
17540
- "fieldName": "enumOptions"
17526
+ "text": "boolean"
17527
+ }
17528
+ },
17529
+ {
17530
+ "name": "body",
17531
+ "optional": true,
17532
+ "type": {
17533
+ "text": "any"
17534
+ }
17541
17535
  }
17542
- ],
17543
- "superclass": {
17544
- "name": "FoundationElement",
17545
- "package": "@microsoft/fast-foundation"
17546
- },
17547
- "tagName": "%%prefix%%-filter",
17548
- "customElement": true
17549
- },
17550
- {
17551
- "kind": "variable",
17552
- "name": "foundationFilter"
17536
+ ]
17553
17537
  }
17554
17538
  ],
17555
17539
  "exports": [
17556
17540
  {
17557
17541
  "kind": "js",
17558
- "name": "Filter",
17542
+ "name": "createFormData",
17559
17543
  "declaration": {
17560
- "name": "Filter",
17561
- "module": "src/filter/filter.ts"
17544
+ "name": "createFormData",
17545
+ "module": "src/file-upload/file-upload.utils.ts"
17562
17546
  }
17563
17547
  },
17564
17548
  {
17565
17549
  "kind": "js",
17566
- "name": "foundationFilter",
17550
+ "name": "uploadFiles",
17567
17551
  "declaration": {
17568
- "name": "foundationFilter",
17569
- "module": "src/filter/filter.ts"
17552
+ "name": "uploadFiles",
17553
+ "module": "src/file-upload/file-upload.utils.ts"
17554
+ }
17555
+ },
17556
+ {
17557
+ "kind": "js",
17558
+ "name": "downloadFile",
17559
+ "declaration": {
17560
+ "name": "downloadFile",
17561
+ "module": "src/file-upload/file-upload.utils.ts"
17570
17562
  }
17571
17563
  }
17572
17564
  ]
17573
17565
  },
17574
17566
  {
17575
17567
  "kind": "javascript-module",
17576
- "path": "src/filter/index.ts",
17568
+ "path": "src/file-upload/index.ts",
17577
17569
  "declarations": [],
17578
17570
  "exports": [
17579
17571
  {
@@ -17581,7 +17573,7 @@
17581
17573
  "name": "*",
17582
17574
  "declaration": {
17583
17575
  "name": "*",
17584
- "package": "./filter.styles"
17576
+ "package": "./file-upload"
17585
17577
  }
17586
17578
  },
17587
17579
  {
@@ -17589,7 +17581,7 @@
17589
17581
  "name": "*",
17590
17582
  "declaration": {
17591
17583
  "name": "*",
17592
- "package": "./filter.template"
17584
+ "package": "./file-upload.template"
17593
17585
  }
17594
17586
  },
17595
17587
  {
@@ -17597,7 +17589,15 @@
17597
17589
  "name": "*",
17598
17590
  "declaration": {
17599
17591
  "name": "*",
17600
- "package": "./filter"
17592
+ "package": "./file-upload.styles"
17593
+ }
17594
+ },
17595
+ {
17596
+ "kind": "js",
17597
+ "name": "*",
17598
+ "declaration": {
17599
+ "name": "*",
17600
+ "package": "./file-upload.utils"
17601
17601
  }
17602
17602
  }
17603
17603
  ]
@@ -29821,42 +29821,231 @@
29821
29821
  }
29822
29822
  ],
29823
29823
  "superclass": {
29824
- "name": "RouterConfiguration",
29825
- "package": "@microsoft/fast-router"
29826
- }
29824
+ "name": "RouterConfiguration",
29825
+ "package": "@microsoft/fast-router"
29826
+ }
29827
+ }
29828
+ ],
29829
+ "exports": [
29830
+ {
29831
+ "kind": "js",
29832
+ "name": "FoundationRouter",
29833
+ "declaration": {
29834
+ "name": "FoundationRouter",
29835
+ "module": "src/router/router.ts"
29836
+ }
29837
+ },
29838
+ {
29839
+ "kind": "custom-element-definition",
29840
+ "name": "foundation-router",
29841
+ "declaration": {
29842
+ "name": "FoundationRouter",
29843
+ "module": "src/router/router.ts"
29844
+ }
29845
+ },
29846
+ {
29847
+ "kind": "js",
29848
+ "name": "FoundationRouteCollection",
29849
+ "declaration": {
29850
+ "name": "FoundationRouteCollection",
29851
+ "module": "src/router/router.ts"
29852
+ }
29853
+ },
29854
+ {
29855
+ "kind": "js",
29856
+ "name": "FoundationRouterConfiguration",
29857
+ "declaration": {
29858
+ "name": "FoundationRouterConfiguration",
29859
+ "module": "src/router/router.ts"
29860
+ }
29861
+ }
29862
+ ]
29863
+ },
29864
+ {
29865
+ "kind": "javascript-module",
29866
+ "path": "src/segmented-control/index.ts",
29867
+ "declarations": [],
29868
+ "exports": [
29869
+ {
29870
+ "kind": "js",
29871
+ "name": "*",
29872
+ "declaration": {
29873
+ "name": "*",
29874
+ "package": "./segmented-control.template"
29875
+ }
29876
+ },
29877
+ {
29878
+ "kind": "js",
29879
+ "name": "*",
29880
+ "declaration": {
29881
+ "name": "*",
29882
+ "package": "./segmented-control.styles"
29883
+ }
29884
+ },
29885
+ {
29886
+ "kind": "js",
29887
+ "name": "*",
29888
+ "declaration": {
29889
+ "name": "*",
29890
+ "package": "./segmented-control"
29891
+ }
29892
+ }
29893
+ ]
29894
+ },
29895
+ {
29896
+ "kind": "javascript-module",
29897
+ "path": "src/segmented-control/segmented-control.styles.ts",
29898
+ "declarations": [
29899
+ {
29900
+ "kind": "function",
29901
+ "name": "foundationSegmentedControlStyles",
29902
+ "return": {
29903
+ "type": {
29904
+ "text": "ElementStyles"
29905
+ }
29906
+ },
29907
+ "parameters": [
29908
+ {
29909
+ "name": "context",
29910
+ "type": {
29911
+ "text": "ElementDefinitionContext"
29912
+ }
29913
+ },
29914
+ {
29915
+ "name": "definition",
29916
+ "type": {
29917
+ "text": "FoundationElementDefinition"
29918
+ }
29919
+ }
29920
+ ]
29921
+ }
29922
+ ],
29923
+ "exports": [
29924
+ {
29925
+ "kind": "js",
29926
+ "name": "foundationSegmentedControlStyles",
29927
+ "declaration": {
29928
+ "name": "foundationSegmentedControlStyles",
29929
+ "module": "src/segmented-control/segmented-control.styles.ts"
29930
+ }
29931
+ }
29932
+ ]
29933
+ },
29934
+ {
29935
+ "kind": "javascript-module",
29936
+ "path": "src/segmented-control/segmented-control.template.ts",
29937
+ "declarations": [
29938
+ {
29939
+ "kind": "function",
29940
+ "name": "foundationSegmentedControlTemplate",
29941
+ "return": {
29942
+ "type": {
29943
+ "text": "ViewTemplate<SegmentedControl>"
29944
+ }
29945
+ },
29946
+ "parameters": [
29947
+ {
29948
+ "name": "context",
29949
+ "type": {
29950
+ "text": "ElementDefinitionContext"
29951
+ }
29952
+ },
29953
+ {
29954
+ "name": "definition",
29955
+ "type": {
29956
+ "text": "FoundationElementDefinition"
29957
+ }
29958
+ }
29959
+ ]
29960
+ }
29961
+ ],
29962
+ "exports": [
29963
+ {
29964
+ "kind": "js",
29965
+ "name": "foundationSegmentedControlTemplate",
29966
+ "declaration": {
29967
+ "name": "foundationSegmentedControlTemplate",
29968
+ "module": "src/segmented-control/segmented-control.template.ts"
29969
+ }
29970
+ }
29971
+ ]
29972
+ },
29973
+ {
29974
+ "kind": "javascript-module",
29975
+ "path": "src/segmented-control/segmented-control.ts",
29976
+ "declarations": [
29977
+ {
29978
+ "kind": "class",
29979
+ "description": "",
29980
+ "name": "SegmentedControl",
29981
+ "members": [
29982
+ {
29983
+ "kind": "method",
29984
+ "name": "valueChanged",
29985
+ "privacy": "protected"
29986
+ }
29987
+ ],
29988
+ "superclass": {
29989
+ "name": "FASTRadioGroup",
29990
+ "package": "@microsoft/fast-foundation"
29991
+ },
29992
+ "tagName": "%%prefix%%-segmented-control",
29993
+ "customElement": true
29994
+ },
29995
+ {
29996
+ "kind": "variable",
29997
+ "name": "foundationSegmentedControlShadowOptions",
29998
+ "type": {
29999
+ "text": "ShadowRootInit"
30000
+ },
30001
+ "default": "undefined"
30002
+ },
30003
+ {
30004
+ "kind": "variable",
30005
+ "name": "defaultSegmentedControlConfig",
30006
+ "type": {
30007
+ "text": "object"
30008
+ },
30009
+ "default": "{}"
30010
+ },
30011
+ {
30012
+ "kind": "variable",
30013
+ "name": "foundationSegmentedControl",
30014
+ "description": "The Foundation Segmented Control",
30015
+ "privacy": "public"
29827
30016
  }
29828
30017
  ],
29829
30018
  "exports": [
29830
30019
  {
29831
30020
  "kind": "js",
29832
- "name": "FoundationRouter",
30021
+ "name": "SegmentedControl",
29833
30022
  "declaration": {
29834
- "name": "FoundationRouter",
29835
- "module": "src/router/router.ts"
30023
+ "name": "SegmentedControl",
30024
+ "module": "src/segmented-control/segmented-control.ts"
29836
30025
  }
29837
30026
  },
29838
30027
  {
29839
- "kind": "custom-element-definition",
29840
- "name": "foundation-router",
30028
+ "kind": "js",
30029
+ "name": "foundationSegmentedControlShadowOptions",
29841
30030
  "declaration": {
29842
- "name": "FoundationRouter",
29843
- "module": "src/router/router.ts"
30031
+ "name": "foundationSegmentedControlShadowOptions",
30032
+ "module": "src/segmented-control/segmented-control.ts"
29844
30033
  }
29845
30034
  },
29846
30035
  {
29847
30036
  "kind": "js",
29848
- "name": "FoundationRouteCollection",
30037
+ "name": "defaultSegmentedControlConfig",
29849
30038
  "declaration": {
29850
- "name": "FoundationRouteCollection",
29851
- "module": "src/router/router.ts"
30039
+ "name": "defaultSegmentedControlConfig",
30040
+ "module": "src/segmented-control/segmented-control.ts"
29852
30041
  }
29853
30042
  },
29854
30043
  {
29855
30044
  "kind": "js",
29856
- "name": "FoundationRouterConfiguration",
30045
+ "name": "foundationSegmentedControl",
29857
30046
  "declaration": {
29858
- "name": "FoundationRouterConfiguration",
29859
- "module": "src/router/router.ts"
30047
+ "name": "foundationSegmentedControl",
30048
+ "module": "src/segmented-control/segmented-control.ts"
29860
30049
  }
29861
30050
  }
29862
30051
  ]
@@ -31283,195 +31472,6 @@
31283
31472
  }
31284
31473
  ]
31285
31474
  },
31286
- {
31287
- "kind": "javascript-module",
31288
- "path": "src/segmented-control/index.ts",
31289
- "declarations": [],
31290
- "exports": [
31291
- {
31292
- "kind": "js",
31293
- "name": "*",
31294
- "declaration": {
31295
- "name": "*",
31296
- "package": "./segmented-control.template"
31297
- }
31298
- },
31299
- {
31300
- "kind": "js",
31301
- "name": "*",
31302
- "declaration": {
31303
- "name": "*",
31304
- "package": "./segmented-control.styles"
31305
- }
31306
- },
31307
- {
31308
- "kind": "js",
31309
- "name": "*",
31310
- "declaration": {
31311
- "name": "*",
31312
- "package": "./segmented-control"
31313
- }
31314
- }
31315
- ]
31316
- },
31317
- {
31318
- "kind": "javascript-module",
31319
- "path": "src/segmented-control/segmented-control.styles.ts",
31320
- "declarations": [
31321
- {
31322
- "kind": "function",
31323
- "name": "foundationSegmentedControlStyles",
31324
- "return": {
31325
- "type": {
31326
- "text": "ElementStyles"
31327
- }
31328
- },
31329
- "parameters": [
31330
- {
31331
- "name": "context",
31332
- "type": {
31333
- "text": "ElementDefinitionContext"
31334
- }
31335
- },
31336
- {
31337
- "name": "definition",
31338
- "type": {
31339
- "text": "FoundationElementDefinition"
31340
- }
31341
- }
31342
- ]
31343
- }
31344
- ],
31345
- "exports": [
31346
- {
31347
- "kind": "js",
31348
- "name": "foundationSegmentedControlStyles",
31349
- "declaration": {
31350
- "name": "foundationSegmentedControlStyles",
31351
- "module": "src/segmented-control/segmented-control.styles.ts"
31352
- }
31353
- }
31354
- ]
31355
- },
31356
- {
31357
- "kind": "javascript-module",
31358
- "path": "src/segmented-control/segmented-control.template.ts",
31359
- "declarations": [
31360
- {
31361
- "kind": "function",
31362
- "name": "foundationSegmentedControlTemplate",
31363
- "return": {
31364
- "type": {
31365
- "text": "ViewTemplate<SegmentedControl>"
31366
- }
31367
- },
31368
- "parameters": [
31369
- {
31370
- "name": "context",
31371
- "type": {
31372
- "text": "ElementDefinitionContext"
31373
- }
31374
- },
31375
- {
31376
- "name": "definition",
31377
- "type": {
31378
- "text": "FoundationElementDefinition"
31379
- }
31380
- }
31381
- ]
31382
- }
31383
- ],
31384
- "exports": [
31385
- {
31386
- "kind": "js",
31387
- "name": "foundationSegmentedControlTemplate",
31388
- "declaration": {
31389
- "name": "foundationSegmentedControlTemplate",
31390
- "module": "src/segmented-control/segmented-control.template.ts"
31391
- }
31392
- }
31393
- ]
31394
- },
31395
- {
31396
- "kind": "javascript-module",
31397
- "path": "src/segmented-control/segmented-control.ts",
31398
- "declarations": [
31399
- {
31400
- "kind": "class",
31401
- "description": "",
31402
- "name": "SegmentedControl",
31403
- "members": [
31404
- {
31405
- "kind": "method",
31406
- "name": "valueChanged",
31407
- "privacy": "protected"
31408
- }
31409
- ],
31410
- "superclass": {
31411
- "name": "FASTRadioGroup",
31412
- "package": "@microsoft/fast-foundation"
31413
- },
31414
- "tagName": "%%prefix%%-segmented-control",
31415
- "customElement": true
31416
- },
31417
- {
31418
- "kind": "variable",
31419
- "name": "foundationSegmentedControlShadowOptions",
31420
- "type": {
31421
- "text": "ShadowRootInit"
31422
- },
31423
- "default": "undefined"
31424
- },
31425
- {
31426
- "kind": "variable",
31427
- "name": "defaultSegmentedControlConfig",
31428
- "type": {
31429
- "text": "object"
31430
- },
31431
- "default": "{}"
31432
- },
31433
- {
31434
- "kind": "variable",
31435
- "name": "foundationSegmentedControl",
31436
- "description": "The Foundation Segmented Control",
31437
- "privacy": "public"
31438
- }
31439
- ],
31440
- "exports": [
31441
- {
31442
- "kind": "js",
31443
- "name": "SegmentedControl",
31444
- "declaration": {
31445
- "name": "SegmentedControl",
31446
- "module": "src/segmented-control/segmented-control.ts"
31447
- }
31448
- },
31449
- {
31450
- "kind": "js",
31451
- "name": "foundationSegmentedControlShadowOptions",
31452
- "declaration": {
31453
- "name": "foundationSegmentedControlShadowOptions",
31454
- "module": "src/segmented-control/segmented-control.ts"
31455
- }
31456
- },
31457
- {
31458
- "kind": "js",
31459
- "name": "defaultSegmentedControlConfig",
31460
- "declaration": {
31461
- "name": "defaultSegmentedControlConfig",
31462
- "module": "src/segmented-control/segmented-control.ts"
31463
- }
31464
- },
31465
- {
31466
- "kind": "js",
31467
- "name": "foundationSegmentedControl",
31468
- "declaration": {
31469
- "name": "foundationSegmentedControl",
31470
- "module": "src/segmented-control/segmented-control.ts"
31471
- }
31472
- }
31473
- ]
31474
- },
31475
31475
  {
31476
31476
  "kind": "javascript-module",
31477
31477
  "path": "src/segmented-item/index.ts",