@genesislcap/foundation-ui 14.400.0 → 14.401.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.
|
@@ -1681,6 +1681,188 @@
|
|
|
1681
1681
|
}
|
|
1682
1682
|
]
|
|
1683
1683
|
},
|
|
1684
|
+
{
|
|
1685
|
+
"kind": "javascript-module",
|
|
1686
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
1687
|
+
"declarations": [
|
|
1688
|
+
{
|
|
1689
|
+
"kind": "function",
|
|
1690
|
+
"name": "foundationAccordionStyles",
|
|
1691
|
+
"return": {
|
|
1692
|
+
"type": {
|
|
1693
|
+
"text": "ElementStyles"
|
|
1694
|
+
}
|
|
1695
|
+
},
|
|
1696
|
+
"parameters": [
|
|
1697
|
+
{
|
|
1698
|
+
"name": "context",
|
|
1699
|
+
"type": {
|
|
1700
|
+
"text": "ElementDefinitionContext"
|
|
1701
|
+
}
|
|
1702
|
+
},
|
|
1703
|
+
{
|
|
1704
|
+
"name": "definition",
|
|
1705
|
+
"type": {
|
|
1706
|
+
"text": "FoundationElementDefinition"
|
|
1707
|
+
}
|
|
1708
|
+
}
|
|
1709
|
+
]
|
|
1710
|
+
}
|
|
1711
|
+
],
|
|
1712
|
+
"exports": [
|
|
1713
|
+
{
|
|
1714
|
+
"kind": "js",
|
|
1715
|
+
"name": "foundationAccordionStyles",
|
|
1716
|
+
"declaration": {
|
|
1717
|
+
"name": "foundationAccordionStyles",
|
|
1718
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
1719
|
+
}
|
|
1720
|
+
}
|
|
1721
|
+
]
|
|
1722
|
+
},
|
|
1723
|
+
{
|
|
1724
|
+
"kind": "javascript-module",
|
|
1725
|
+
"path": "src/accordion/accordion.template.ts",
|
|
1726
|
+
"declarations": [
|
|
1727
|
+
{
|
|
1728
|
+
"kind": "function",
|
|
1729
|
+
"name": "foundationAccordionTemplate",
|
|
1730
|
+
"return": {
|
|
1731
|
+
"type": {
|
|
1732
|
+
"text": "ViewTemplate<Accordion>"
|
|
1733
|
+
}
|
|
1734
|
+
},
|
|
1735
|
+
"parameters": [
|
|
1736
|
+
{
|
|
1737
|
+
"name": "context",
|
|
1738
|
+
"type": {
|
|
1739
|
+
"text": "ElementDefinitionContext"
|
|
1740
|
+
}
|
|
1741
|
+
},
|
|
1742
|
+
{
|
|
1743
|
+
"name": "definition",
|
|
1744
|
+
"type": {
|
|
1745
|
+
"text": "FoundationElementDefinition"
|
|
1746
|
+
}
|
|
1747
|
+
}
|
|
1748
|
+
]
|
|
1749
|
+
}
|
|
1750
|
+
],
|
|
1751
|
+
"exports": [
|
|
1752
|
+
{
|
|
1753
|
+
"kind": "js",
|
|
1754
|
+
"name": "foundationAccordionTemplate",
|
|
1755
|
+
"declaration": {
|
|
1756
|
+
"name": "foundationAccordionTemplate",
|
|
1757
|
+
"module": "src/accordion/accordion.template.ts"
|
|
1758
|
+
}
|
|
1759
|
+
}
|
|
1760
|
+
]
|
|
1761
|
+
},
|
|
1762
|
+
{
|
|
1763
|
+
"kind": "javascript-module",
|
|
1764
|
+
"path": "src/accordion/accordion.ts",
|
|
1765
|
+
"declarations": [
|
|
1766
|
+
{
|
|
1767
|
+
"kind": "class",
|
|
1768
|
+
"description": "",
|
|
1769
|
+
"name": "Accordion",
|
|
1770
|
+
"superclass": {
|
|
1771
|
+
"name": "FASTAccordion",
|
|
1772
|
+
"package": "@microsoft/fast-foundation"
|
|
1773
|
+
},
|
|
1774
|
+
"tagName": "%%prefix%%-accordion",
|
|
1775
|
+
"customElement": true
|
|
1776
|
+
},
|
|
1777
|
+
{
|
|
1778
|
+
"kind": "variable",
|
|
1779
|
+
"name": "foundationAccordionShadowOptions",
|
|
1780
|
+
"type": {
|
|
1781
|
+
"text": "ShadowRootInit"
|
|
1782
|
+
},
|
|
1783
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
1784
|
+
},
|
|
1785
|
+
{
|
|
1786
|
+
"kind": "variable",
|
|
1787
|
+
"name": "defaultAccordionConfig",
|
|
1788
|
+
"type": {
|
|
1789
|
+
"text": "object"
|
|
1790
|
+
},
|
|
1791
|
+
"default": "{}"
|
|
1792
|
+
},
|
|
1793
|
+
{
|
|
1794
|
+
"kind": "variable",
|
|
1795
|
+
"name": "foundationAccordion",
|
|
1796
|
+
"description": "The Foundation Accordion",
|
|
1797
|
+
"privacy": "public"
|
|
1798
|
+
}
|
|
1799
|
+
],
|
|
1800
|
+
"exports": [
|
|
1801
|
+
{
|
|
1802
|
+
"kind": "js",
|
|
1803
|
+
"name": "Accordion",
|
|
1804
|
+
"declaration": {
|
|
1805
|
+
"name": "Accordion",
|
|
1806
|
+
"module": "src/accordion/accordion.ts"
|
|
1807
|
+
}
|
|
1808
|
+
},
|
|
1809
|
+
{
|
|
1810
|
+
"kind": "js",
|
|
1811
|
+
"name": "foundationAccordionShadowOptions",
|
|
1812
|
+
"declaration": {
|
|
1813
|
+
"name": "foundationAccordionShadowOptions",
|
|
1814
|
+
"module": "src/accordion/accordion.ts"
|
|
1815
|
+
}
|
|
1816
|
+
},
|
|
1817
|
+
{
|
|
1818
|
+
"kind": "js",
|
|
1819
|
+
"name": "defaultAccordionConfig",
|
|
1820
|
+
"declaration": {
|
|
1821
|
+
"name": "defaultAccordionConfig",
|
|
1822
|
+
"module": "src/accordion/accordion.ts"
|
|
1823
|
+
}
|
|
1824
|
+
},
|
|
1825
|
+
{
|
|
1826
|
+
"kind": "js",
|
|
1827
|
+
"name": "foundationAccordion",
|
|
1828
|
+
"declaration": {
|
|
1829
|
+
"name": "foundationAccordion",
|
|
1830
|
+
"module": "src/accordion/accordion.ts"
|
|
1831
|
+
}
|
|
1832
|
+
}
|
|
1833
|
+
]
|
|
1834
|
+
},
|
|
1835
|
+
{
|
|
1836
|
+
"kind": "javascript-module",
|
|
1837
|
+
"path": "src/accordion/index.ts",
|
|
1838
|
+
"declarations": [],
|
|
1839
|
+
"exports": [
|
|
1840
|
+
{
|
|
1841
|
+
"kind": "js",
|
|
1842
|
+
"name": "*",
|
|
1843
|
+
"declaration": {
|
|
1844
|
+
"name": "*",
|
|
1845
|
+
"package": "./accordion.template"
|
|
1846
|
+
}
|
|
1847
|
+
},
|
|
1848
|
+
{
|
|
1849
|
+
"kind": "js",
|
|
1850
|
+
"name": "*",
|
|
1851
|
+
"declaration": {
|
|
1852
|
+
"name": "*",
|
|
1853
|
+
"package": "./accordion.styles"
|
|
1854
|
+
}
|
|
1855
|
+
},
|
|
1856
|
+
{
|
|
1857
|
+
"kind": "js",
|
|
1858
|
+
"name": "*",
|
|
1859
|
+
"declaration": {
|
|
1860
|
+
"name": "*",
|
|
1861
|
+
"package": "./accordion"
|
|
1862
|
+
}
|
|
1863
|
+
}
|
|
1864
|
+
]
|
|
1865
|
+
},
|
|
1684
1866
|
{
|
|
1685
1867
|
"kind": "javascript-module",
|
|
1686
1868
|
"path": "src/_config/index.ts",
|
|
@@ -2273,11 +2455,11 @@
|
|
|
2273
2455
|
},
|
|
2274
2456
|
{
|
|
2275
2457
|
"kind": "javascript-module",
|
|
2276
|
-
"path": "src/
|
|
2458
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
2277
2459
|
"declarations": [
|
|
2278
2460
|
{
|
|
2279
2461
|
"kind": "function",
|
|
2280
|
-
"name": "
|
|
2462
|
+
"name": "foundationAiIndicatorStyles",
|
|
2281
2463
|
"return": {
|
|
2282
2464
|
"type": {
|
|
2283
2465
|
"text": "ElementStyles"
|
|
@@ -2302,210 +2484,46 @@
|
|
|
2302
2484
|
"exports": [
|
|
2303
2485
|
{
|
|
2304
2486
|
"kind": "js",
|
|
2305
|
-
"name": "
|
|
2306
|
-
"declaration": {
|
|
2307
|
-
"name": "foundationAccordionStyles",
|
|
2308
|
-
"module": "src/accordion/accordion.styles.ts"
|
|
2309
|
-
}
|
|
2310
|
-
}
|
|
2311
|
-
]
|
|
2312
|
-
},
|
|
2313
|
-
{
|
|
2314
|
-
"kind": "javascript-module",
|
|
2315
|
-
"path": "src/accordion/accordion.template.ts",
|
|
2316
|
-
"declarations": [
|
|
2317
|
-
{
|
|
2318
|
-
"kind": "function",
|
|
2319
|
-
"name": "foundationAccordionTemplate",
|
|
2320
|
-
"return": {
|
|
2321
|
-
"type": {
|
|
2322
|
-
"text": "ViewTemplate<Accordion>"
|
|
2323
|
-
}
|
|
2324
|
-
},
|
|
2325
|
-
"parameters": [
|
|
2326
|
-
{
|
|
2327
|
-
"name": "context",
|
|
2328
|
-
"type": {
|
|
2329
|
-
"text": "ElementDefinitionContext"
|
|
2330
|
-
}
|
|
2331
|
-
},
|
|
2332
|
-
{
|
|
2333
|
-
"name": "definition",
|
|
2334
|
-
"type": {
|
|
2335
|
-
"text": "FoundationElementDefinition"
|
|
2336
|
-
}
|
|
2337
|
-
}
|
|
2338
|
-
]
|
|
2339
|
-
}
|
|
2340
|
-
],
|
|
2341
|
-
"exports": [
|
|
2342
|
-
{
|
|
2343
|
-
"kind": "js",
|
|
2344
|
-
"name": "foundationAccordionTemplate",
|
|
2345
|
-
"declaration": {
|
|
2346
|
-
"name": "foundationAccordionTemplate",
|
|
2347
|
-
"module": "src/accordion/accordion.template.ts"
|
|
2348
|
-
}
|
|
2349
|
-
}
|
|
2350
|
-
]
|
|
2351
|
-
},
|
|
2352
|
-
{
|
|
2353
|
-
"kind": "javascript-module",
|
|
2354
|
-
"path": "src/accordion/accordion.ts",
|
|
2355
|
-
"declarations": [
|
|
2356
|
-
{
|
|
2357
|
-
"kind": "class",
|
|
2358
|
-
"description": "",
|
|
2359
|
-
"name": "Accordion",
|
|
2360
|
-
"superclass": {
|
|
2361
|
-
"name": "FASTAccordion",
|
|
2362
|
-
"package": "@microsoft/fast-foundation"
|
|
2363
|
-
},
|
|
2364
|
-
"tagName": "%%prefix%%-accordion",
|
|
2365
|
-
"customElement": true
|
|
2366
|
-
},
|
|
2367
|
-
{
|
|
2368
|
-
"kind": "variable",
|
|
2369
|
-
"name": "foundationAccordionShadowOptions",
|
|
2370
|
-
"type": {
|
|
2371
|
-
"text": "ShadowRootInit"
|
|
2372
|
-
},
|
|
2373
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2374
|
-
},
|
|
2375
|
-
{
|
|
2376
|
-
"kind": "variable",
|
|
2377
|
-
"name": "defaultAccordionConfig",
|
|
2378
|
-
"type": {
|
|
2379
|
-
"text": "object"
|
|
2380
|
-
},
|
|
2381
|
-
"default": "{}"
|
|
2382
|
-
},
|
|
2383
|
-
{
|
|
2384
|
-
"kind": "variable",
|
|
2385
|
-
"name": "foundationAccordion",
|
|
2386
|
-
"description": "The Foundation Accordion",
|
|
2387
|
-
"privacy": "public"
|
|
2388
|
-
}
|
|
2389
|
-
],
|
|
2390
|
-
"exports": [
|
|
2391
|
-
{
|
|
2392
|
-
"kind": "js",
|
|
2393
|
-
"name": "Accordion",
|
|
2394
|
-
"declaration": {
|
|
2395
|
-
"name": "Accordion",
|
|
2396
|
-
"module": "src/accordion/accordion.ts"
|
|
2397
|
-
}
|
|
2398
|
-
},
|
|
2399
|
-
{
|
|
2400
|
-
"kind": "js",
|
|
2401
|
-
"name": "foundationAccordionShadowOptions",
|
|
2402
|
-
"declaration": {
|
|
2403
|
-
"name": "foundationAccordionShadowOptions",
|
|
2404
|
-
"module": "src/accordion/accordion.ts"
|
|
2405
|
-
}
|
|
2406
|
-
},
|
|
2407
|
-
{
|
|
2408
|
-
"kind": "js",
|
|
2409
|
-
"name": "defaultAccordionConfig",
|
|
2410
|
-
"declaration": {
|
|
2411
|
-
"name": "defaultAccordionConfig",
|
|
2412
|
-
"module": "src/accordion/accordion.ts"
|
|
2413
|
-
}
|
|
2414
|
-
},
|
|
2415
|
-
{
|
|
2416
|
-
"kind": "js",
|
|
2417
|
-
"name": "foundationAccordion",
|
|
2418
|
-
"declaration": {
|
|
2419
|
-
"name": "foundationAccordion",
|
|
2420
|
-
"module": "src/accordion/accordion.ts"
|
|
2421
|
-
}
|
|
2422
|
-
}
|
|
2423
|
-
]
|
|
2424
|
-
},
|
|
2425
|
-
{
|
|
2426
|
-
"kind": "javascript-module",
|
|
2427
|
-
"path": "src/accordion/index.ts",
|
|
2428
|
-
"declarations": [],
|
|
2429
|
-
"exports": [
|
|
2430
|
-
{
|
|
2431
|
-
"kind": "js",
|
|
2432
|
-
"name": "*",
|
|
2433
|
-
"declaration": {
|
|
2434
|
-
"name": "*",
|
|
2435
|
-
"package": "./accordion.template"
|
|
2436
|
-
}
|
|
2437
|
-
},
|
|
2438
|
-
{
|
|
2439
|
-
"kind": "js",
|
|
2440
|
-
"name": "*",
|
|
2441
|
-
"declaration": {
|
|
2442
|
-
"name": "*",
|
|
2443
|
-
"package": "./accordion.styles"
|
|
2444
|
-
}
|
|
2445
|
-
},
|
|
2446
|
-
{
|
|
2447
|
-
"kind": "js",
|
|
2448
|
-
"name": "*",
|
|
2449
|
-
"declaration": {
|
|
2450
|
-
"name": "*",
|
|
2451
|
-
"package": "./accordion"
|
|
2452
|
-
}
|
|
2453
|
-
}
|
|
2454
|
-
]
|
|
2455
|
-
},
|
|
2456
|
-
{
|
|
2457
|
-
"kind": "javascript-module",
|
|
2458
|
-
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
2459
|
-
"declarations": [
|
|
2460
|
-
{
|
|
2461
|
-
"kind": "variable",
|
|
2462
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2463
|
-
"default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .mode-control {\n flex-shrink: 0;\n }\n`"
|
|
2464
|
-
}
|
|
2465
|
-
],
|
|
2466
|
-
"exports": [
|
|
2467
|
-
{
|
|
2468
|
-
"kind": "js",
|
|
2469
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2487
|
+
"name": "foundationAiIndicatorStyles",
|
|
2470
2488
|
"declaration": {
|
|
2471
|
-
"name": "
|
|
2472
|
-
"module": "src/ai-
|
|
2489
|
+
"name": "foundationAiIndicatorStyles",
|
|
2490
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
2473
2491
|
}
|
|
2474
2492
|
}
|
|
2475
2493
|
]
|
|
2476
2494
|
},
|
|
2477
2495
|
{
|
|
2478
2496
|
"kind": "javascript-module",
|
|
2479
|
-
"path": "src/ai-
|
|
2497
|
+
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
2480
2498
|
"declarations": [
|
|
2481
2499
|
{
|
|
2482
2500
|
"kind": "variable",
|
|
2483
|
-
"name": "
|
|
2501
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2484
2502
|
"type": {
|
|
2485
|
-
"text": "ViewTemplate<
|
|
2503
|
+
"text": "ViewTemplate<AiIndicator>"
|
|
2486
2504
|
},
|
|
2487
|
-
"default": "html`\n ${(x) =>
|
|
2505
|
+
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
2488
2506
|
}
|
|
2489
2507
|
],
|
|
2490
2508
|
"exports": [
|
|
2491
2509
|
{
|
|
2492
2510
|
"kind": "js",
|
|
2493
|
-
"name": "
|
|
2511
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2494
2512
|
"declaration": {
|
|
2495
|
-
"name": "
|
|
2496
|
-
"module": "src/ai-
|
|
2513
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2514
|
+
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
2497
2515
|
}
|
|
2498
2516
|
}
|
|
2499
2517
|
]
|
|
2500
2518
|
},
|
|
2501
2519
|
{
|
|
2502
2520
|
"kind": "javascript-module",
|
|
2503
|
-
"path": "src/ai-
|
|
2521
|
+
"path": "src/ai-indicator/ai-indicator.ts",
|
|
2504
2522
|
"declarations": [
|
|
2505
2523
|
{
|
|
2506
2524
|
"kind": "class",
|
|
2507
2525
|
"description": "",
|
|
2508
|
-
"name": "
|
|
2526
|
+
"name": "AiIndicator",
|
|
2509
2527
|
"members": [
|
|
2510
2528
|
{
|
|
2511
2529
|
"kind": "field",
|
|
@@ -2516,38 +2534,15 @@
|
|
|
2516
2534
|
},
|
|
2517
2535
|
{
|
|
2518
2536
|
"kind": "field",
|
|
2519
|
-
"name": "
|
|
2520
|
-
"type": {
|
|
2521
|
-
"text": "string"
|
|
2522
|
-
},
|
|
2523
|
-
"default": "'Describe your search criteria in natural language...'"
|
|
2524
|
-
},
|
|
2525
|
-
{
|
|
2526
|
-
"kind": "field",
|
|
2527
|
-
"name": "disabled",
|
|
2528
|
-
"type": {
|
|
2529
|
-
"text": "boolean"
|
|
2530
|
-
}
|
|
2531
|
-
},
|
|
2532
|
-
{
|
|
2533
|
-
"kind": "field",
|
|
2534
|
-
"name": "mode",
|
|
2535
|
-
"type": {
|
|
2536
|
-
"text": "'append' | 'replace'"
|
|
2537
|
-
},
|
|
2538
|
-
"default": "'replace'"
|
|
2539
|
-
},
|
|
2540
|
-
{
|
|
2541
|
-
"kind": "field",
|
|
2542
|
-
"name": "inputValue",
|
|
2537
|
+
"name": "status",
|
|
2543
2538
|
"type": {
|
|
2544
|
-
"text": "
|
|
2539
|
+
"text": "AIStatus | null"
|
|
2545
2540
|
},
|
|
2546
|
-
"default": "
|
|
2541
|
+
"default": "null"
|
|
2547
2542
|
},
|
|
2548
2543
|
{
|
|
2549
2544
|
"kind": "field",
|
|
2550
|
-
"name": "
|
|
2545
|
+
"name": "open",
|
|
2551
2546
|
"type": {
|
|
2552
2547
|
"text": "boolean"
|
|
2553
2548
|
},
|
|
@@ -2555,23 +2550,15 @@
|
|
|
2555
2550
|
},
|
|
2556
2551
|
{
|
|
2557
2552
|
"kind": "field",
|
|
2558
|
-
"name": "
|
|
2559
|
-
"type": {
|
|
2560
|
-
"text": "string | null"
|
|
2561
|
-
},
|
|
2562
|
-
"default": "null"
|
|
2563
|
-
},
|
|
2564
|
-
{
|
|
2565
|
-
"kind": "field",
|
|
2566
|
-
"name": "fieldMetadata",
|
|
2553
|
+
"name": "state",
|
|
2567
2554
|
"type": {
|
|
2568
|
-
"text": "
|
|
2555
|
+
"text": "AIIndicatorState"
|
|
2569
2556
|
},
|
|
2570
|
-
"default": "
|
|
2557
|
+
"default": "'none'"
|
|
2571
2558
|
},
|
|
2572
2559
|
{
|
|
2573
2560
|
"kind": "field",
|
|
2574
|
-
"name": "
|
|
2561
|
+
"name": "isInstalling",
|
|
2575
2562
|
"type": {
|
|
2576
2563
|
"text": "boolean"
|
|
2577
2564
|
},
|
|
@@ -2579,42 +2566,37 @@
|
|
|
2579
2566
|
},
|
|
2580
2567
|
{
|
|
2581
2568
|
"kind": "field",
|
|
2582
|
-
"name": "
|
|
2569
|
+
"name": "pollTimer",
|
|
2583
2570
|
"type": {
|
|
2584
|
-
"text": "
|
|
2571
|
+
"text": "ReturnType<typeof setInterval> | null"
|
|
2585
2572
|
},
|
|
2586
|
-
"privacy": "
|
|
2573
|
+
"privacy": "private",
|
|
2574
|
+
"default": "null"
|
|
2587
2575
|
},
|
|
2588
2576
|
{
|
|
2589
2577
|
"kind": "field",
|
|
2590
|
-
"name": "
|
|
2591
|
-
"
|
|
2592
|
-
"text": "(() => void) | null"
|
|
2593
|
-
},
|
|
2594
|
-
"privacy": "private",
|
|
2595
|
-
"default": "null"
|
|
2578
|
+
"name": "clickOutside",
|
|
2579
|
+
"privacy": "private"
|
|
2596
2580
|
},
|
|
2597
2581
|
{
|
|
2598
2582
|
"kind": "field",
|
|
2599
|
-
"name": "
|
|
2583
|
+
"name": "chromeStatusLabel",
|
|
2600
2584
|
"type": {
|
|
2601
|
-
"text": "
|
|
2585
|
+
"text": "string | null"
|
|
2602
2586
|
},
|
|
2603
|
-
"
|
|
2604
|
-
"default": "null"
|
|
2587
|
+
"readonly": true
|
|
2605
2588
|
},
|
|
2606
2589
|
{
|
|
2607
2590
|
"kind": "field",
|
|
2608
|
-
"name": "
|
|
2591
|
+
"name": "canInstall",
|
|
2609
2592
|
"type": {
|
|
2610
|
-
"text": "
|
|
2593
|
+
"text": "boolean"
|
|
2611
2594
|
},
|
|
2612
|
-
"
|
|
2613
|
-
"default": "''"
|
|
2595
|
+
"readonly": true
|
|
2614
2596
|
},
|
|
2615
2597
|
{
|
|
2616
2598
|
"kind": "field",
|
|
2617
|
-
"name": "
|
|
2599
|
+
"name": "isDownloading",
|
|
2618
2600
|
"type": {
|
|
2619
2601
|
"text": "boolean"
|
|
2620
2602
|
},
|
|
@@ -2622,40 +2604,111 @@
|
|
|
2622
2604
|
},
|
|
2623
2605
|
{
|
|
2624
2606
|
"kind": "method",
|
|
2625
|
-
"name": "
|
|
2607
|
+
"name": "openChanged",
|
|
2608
|
+
"return": {
|
|
2609
|
+
"type": {
|
|
2610
|
+
"text": "void"
|
|
2611
|
+
}
|
|
2612
|
+
}
|
|
2626
2613
|
},
|
|
2627
2614
|
{
|
|
2628
2615
|
"kind": "method",
|
|
2629
|
-
"name": "
|
|
2616
|
+
"name": "handleClickOutside",
|
|
2617
|
+
"privacy": "private",
|
|
2618
|
+
"parameters": [
|
|
2619
|
+
{
|
|
2620
|
+
"name": "event",
|
|
2621
|
+
"type": {
|
|
2622
|
+
"text": "MouseEvent"
|
|
2623
|
+
}
|
|
2624
|
+
}
|
|
2625
|
+
]
|
|
2630
2626
|
},
|
|
2631
2627
|
{
|
|
2632
2628
|
"kind": "method",
|
|
2633
|
-
"name": "
|
|
2629
|
+
"name": "toggleDropdown"
|
|
2634
2630
|
},
|
|
2635
2631
|
{
|
|
2636
2632
|
"kind": "method",
|
|
2637
|
-
"name": "
|
|
2633
|
+
"name": "refreshStatus",
|
|
2634
|
+
"return": {
|
|
2635
|
+
"type": {
|
|
2636
|
+
"text": "Promise<void>"
|
|
2637
|
+
}
|
|
2638
|
+
}
|
|
2638
2639
|
},
|
|
2639
2640
|
{
|
|
2640
2641
|
"kind": "method",
|
|
2641
|
-
"name": "
|
|
2642
|
-
"privacy": "private"
|
|
2642
|
+
"name": "deriveState",
|
|
2643
|
+
"privacy": "private",
|
|
2644
|
+
"return": {
|
|
2645
|
+
"type": {
|
|
2646
|
+
"text": "AIIndicatorState"
|
|
2647
|
+
}
|
|
2648
|
+
},
|
|
2649
|
+
"parameters": [
|
|
2650
|
+
{
|
|
2651
|
+
"name": "s",
|
|
2652
|
+
"type": {
|
|
2653
|
+
"text": "AIStatus | null"
|
|
2654
|
+
}
|
|
2655
|
+
}
|
|
2656
|
+
]
|
|
2643
2657
|
},
|
|
2644
2658
|
{
|
|
2645
|
-
"kind": "
|
|
2646
|
-
"name": "
|
|
2647
|
-
"type": {
|
|
2648
|
-
"text": "ComponentPresentation | null | undefined"
|
|
2649
|
-
},
|
|
2659
|
+
"kind": "method",
|
|
2660
|
+
"name": "maybeStartPolling",
|
|
2650
2661
|
"privacy": "private",
|
|
2651
|
-
"
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2662
|
+
"return": {
|
|
2663
|
+
"type": {
|
|
2664
|
+
"text": "void"
|
|
2665
|
+
}
|
|
2655
2666
|
}
|
|
2656
2667
|
},
|
|
2657
2668
|
{
|
|
2658
|
-
"kind": "
|
|
2669
|
+
"kind": "method",
|
|
2670
|
+
"name": "startPolling",
|
|
2671
|
+
"privacy": "private",
|
|
2672
|
+
"return": {
|
|
2673
|
+
"type": {
|
|
2674
|
+
"text": "void"
|
|
2675
|
+
}
|
|
2676
|
+
}
|
|
2677
|
+
},
|
|
2678
|
+
{
|
|
2679
|
+
"kind": "method",
|
|
2680
|
+
"name": "stopPolling",
|
|
2681
|
+
"privacy": "private",
|
|
2682
|
+
"return": {
|
|
2683
|
+
"type": {
|
|
2684
|
+
"text": "void"
|
|
2685
|
+
}
|
|
2686
|
+
}
|
|
2687
|
+
},
|
|
2688
|
+
{
|
|
2689
|
+
"kind": "method",
|
|
2690
|
+
"name": "onInstall",
|
|
2691
|
+
"return": {
|
|
2692
|
+
"type": {
|
|
2693
|
+
"text": "Promise<void>"
|
|
2694
|
+
}
|
|
2695
|
+
}
|
|
2696
|
+
},
|
|
2697
|
+
{
|
|
2698
|
+
"kind": "field",
|
|
2699
|
+
"name": "_presentation",
|
|
2700
|
+
"type": {
|
|
2701
|
+
"text": "ComponentPresentation | null | undefined"
|
|
2702
|
+
},
|
|
2703
|
+
"privacy": "private",
|
|
2704
|
+
"default": "void 0",
|
|
2705
|
+
"inheritedFrom": {
|
|
2706
|
+
"name": "FoundationElement",
|
|
2707
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2708
|
+
}
|
|
2709
|
+
},
|
|
2710
|
+
{
|
|
2711
|
+
"kind": "field",
|
|
2659
2712
|
"name": "$presentation",
|
|
2660
2713
|
"type": {
|
|
2661
2714
|
"text": "ComponentPresentation | null"
|
|
@@ -2753,318 +2806,145 @@
|
|
|
2753
2806
|
}
|
|
2754
2807
|
}
|
|
2755
2808
|
],
|
|
2756
|
-
"attributes": [
|
|
2757
|
-
{
|
|
2758
|
-
"name": "placeholder",
|
|
2759
|
-
"type": {
|
|
2760
|
-
"text": "string"
|
|
2761
|
-
},
|
|
2762
|
-
"default": "'Describe your search criteria in natural language...'",
|
|
2763
|
-
"fieldName": "placeholder"
|
|
2764
|
-
},
|
|
2765
|
-
{
|
|
2766
|
-
"type": {
|
|
2767
|
-
"text": "boolean"
|
|
2768
|
-
},
|
|
2769
|
-
"fieldName": "disabled"
|
|
2770
|
-
},
|
|
2771
|
-
{
|
|
2772
|
-
"name": "mode",
|
|
2773
|
-
"type": {
|
|
2774
|
-
"text": "'append' | 'replace'"
|
|
2775
|
-
},
|
|
2776
|
-
"default": "'replace'",
|
|
2777
|
-
"fieldName": "mode"
|
|
2778
|
-
}
|
|
2779
|
-
],
|
|
2780
2809
|
"superclass": {
|
|
2781
2810
|
"name": "FoundationElement",
|
|
2782
2811
|
"package": "@microsoft/fast-foundation"
|
|
2783
2812
|
},
|
|
2784
|
-
"tagName": "%%prefix%%-ai-
|
|
2813
|
+
"tagName": "%%prefix%%-ai-indicator",
|
|
2785
2814
|
"customElement": true
|
|
2786
2815
|
},
|
|
2787
2816
|
{
|
|
2788
2817
|
"kind": "variable",
|
|
2789
|
-
"name": "
|
|
2790
|
-
"type": {
|
|
2791
|
-
"text": "ShadowRootInit"
|
|
2792
|
-
},
|
|
2793
|
-
"default": "undefined"
|
|
2794
|
-
},
|
|
2795
|
-
{
|
|
2796
|
-
"kind": "variable",
|
|
2797
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2798
|
-
"type": {
|
|
2799
|
-
"text": "object"
|
|
2800
|
-
},
|
|
2801
|
-
"default": "{}"
|
|
2802
|
-
},
|
|
2803
|
-
{
|
|
2804
|
-
"kind": "variable",
|
|
2805
|
-
"name": "foundationAiCriteriaSearch"
|
|
2818
|
+
"name": "foundationAiIndicator"
|
|
2806
2819
|
}
|
|
2807
2820
|
],
|
|
2808
2821
|
"exports": [
|
|
2809
2822
|
{
|
|
2810
2823
|
"kind": "js",
|
|
2811
|
-
"name": "
|
|
2812
|
-
"declaration": {
|
|
2813
|
-
"name": "AiCriteriaSearch",
|
|
2814
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2815
|
-
}
|
|
2816
|
-
},
|
|
2817
|
-
{
|
|
2818
|
-
"kind": "js",
|
|
2819
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2820
|
-
"declaration": {
|
|
2821
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2822
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2823
|
-
}
|
|
2824
|
-
},
|
|
2825
|
-
{
|
|
2826
|
-
"kind": "js",
|
|
2827
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2824
|
+
"name": "AiIndicator",
|
|
2828
2825
|
"declaration": {
|
|
2829
|
-
"name": "
|
|
2830
|
-
"module": "src/ai-
|
|
2826
|
+
"name": "AiIndicator",
|
|
2827
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
2831
2828
|
}
|
|
2832
2829
|
},
|
|
2833
2830
|
{
|
|
2834
2831
|
"kind": "js",
|
|
2835
|
-
"name": "
|
|
2832
|
+
"name": "foundationAiIndicator",
|
|
2836
2833
|
"declaration": {
|
|
2837
|
-
"name": "
|
|
2838
|
-
"module": "src/ai-
|
|
2834
|
+
"name": "foundationAiIndicator",
|
|
2835
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
2839
2836
|
}
|
|
2840
2837
|
}
|
|
2841
2838
|
]
|
|
2842
2839
|
},
|
|
2843
2840
|
{
|
|
2844
2841
|
"kind": "javascript-module",
|
|
2845
|
-
"path": "src/ai-
|
|
2842
|
+
"path": "src/ai-indicator/index.ts",
|
|
2846
2843
|
"declarations": [],
|
|
2847
2844
|
"exports": [
|
|
2848
2845
|
{
|
|
2849
2846
|
"kind": "js",
|
|
2850
|
-
"name": "
|
|
2851
|
-
"declaration": {
|
|
2852
|
-
"name": "AiCriteriaSearch",
|
|
2853
|
-
"module": "./ai-criteria-search"
|
|
2854
|
-
}
|
|
2855
|
-
},
|
|
2856
|
-
{
|
|
2857
|
-
"kind": "js",
|
|
2858
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2859
|
-
"declaration": {
|
|
2860
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2861
|
-
"module": "./ai-criteria-search"
|
|
2862
|
-
}
|
|
2863
|
-
},
|
|
2864
|
-
{
|
|
2865
|
-
"kind": "js",
|
|
2866
|
-
"name": "foundationAiCriteriaSearch",
|
|
2867
|
-
"declaration": {
|
|
2868
|
-
"name": "foundationAiCriteriaSearch",
|
|
2869
|
-
"module": "./ai-criteria-search"
|
|
2870
|
-
}
|
|
2871
|
-
},
|
|
2872
|
-
{
|
|
2873
|
-
"kind": "js",
|
|
2874
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2875
|
-
"declaration": {
|
|
2876
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2877
|
-
"module": "./ai-criteria-search"
|
|
2878
|
-
}
|
|
2879
|
-
},
|
|
2880
|
-
{
|
|
2881
|
-
"kind": "js",
|
|
2882
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2883
|
-
"declaration": {
|
|
2884
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2885
|
-
"module": "./ai-criteria-search.styles"
|
|
2886
|
-
}
|
|
2887
|
-
},
|
|
2888
|
-
{
|
|
2889
|
-
"kind": "js",
|
|
2890
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2847
|
+
"name": "AiIndicator",
|
|
2891
2848
|
"declaration": {
|
|
2892
|
-
"name": "
|
|
2893
|
-
"module": "./ai-
|
|
2849
|
+
"name": "AiIndicator",
|
|
2850
|
+
"module": "./ai-indicator"
|
|
2894
2851
|
}
|
|
2895
2852
|
},
|
|
2896
2853
|
{
|
|
2897
2854
|
"kind": "js",
|
|
2898
|
-
"name": "
|
|
2855
|
+
"name": "foundationAiIndicator",
|
|
2899
2856
|
"declaration": {
|
|
2900
|
-
"name": "
|
|
2901
|
-
"
|
|
2857
|
+
"name": "foundationAiIndicator",
|
|
2858
|
+
"module": "./ai-indicator"
|
|
2902
2859
|
}
|
|
2903
2860
|
},
|
|
2904
2861
|
{
|
|
2905
2862
|
"kind": "js",
|
|
2906
|
-
"name": "
|
|
2863
|
+
"name": "type",
|
|
2907
2864
|
"declaration": {
|
|
2908
|
-
"name": "
|
|
2909
|
-
"
|
|
2865
|
+
"name": "type",
|
|
2866
|
+
"module": "./ai-indicator"
|
|
2910
2867
|
}
|
|
2911
2868
|
},
|
|
2912
2869
|
{
|
|
2913
2870
|
"kind": "js",
|
|
2914
|
-
"name": "
|
|
2871
|
+
"name": "AIIndicatorState",
|
|
2915
2872
|
"declaration": {
|
|
2916
|
-
"name": "
|
|
2917
|
-
"
|
|
2873
|
+
"name": "AIIndicatorState",
|
|
2874
|
+
"module": "./ai-indicator"
|
|
2918
2875
|
}
|
|
2919
|
-
}
|
|
2920
|
-
]
|
|
2921
|
-
},
|
|
2922
|
-
{
|
|
2923
|
-
"kind": "javascript-module",
|
|
2924
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
2925
|
-
"declarations": [
|
|
2926
|
-
{
|
|
2927
|
-
"kind": "function",
|
|
2928
|
-
"name": "formatValidationErrors",
|
|
2929
|
-
"return": {
|
|
2930
|
-
"type": {
|
|
2931
|
-
"text": "string"
|
|
2932
|
-
}
|
|
2933
|
-
},
|
|
2934
|
-
"parameters": [
|
|
2935
|
-
{
|
|
2936
|
-
"name": "errors",
|
|
2937
|
-
"type": {
|
|
2938
|
-
"text": "ValidationError[]"
|
|
2939
|
-
}
|
|
2940
|
-
}
|
|
2941
|
-
],
|
|
2942
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
2943
2876
|
},
|
|
2944
|
-
{
|
|
2945
|
-
"kind": "function",
|
|
2946
|
-
"name": "showCriteriaError",
|
|
2947
|
-
"return": {
|
|
2948
|
-
"type": {
|
|
2949
|
-
"text": "void"
|
|
2950
|
-
}
|
|
2951
|
-
},
|
|
2952
|
-
"parameters": [
|
|
2953
|
-
{
|
|
2954
|
-
"name": "title",
|
|
2955
|
-
"type": {
|
|
2956
|
-
"text": "string"
|
|
2957
|
-
},
|
|
2958
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
2959
|
-
},
|
|
2960
|
-
{
|
|
2961
|
-
"name": "body",
|
|
2962
|
-
"type": {
|
|
2963
|
-
"text": "string"
|
|
2964
|
-
},
|
|
2965
|
-
"description": "Error message to display"
|
|
2966
|
-
},
|
|
2967
|
-
{
|
|
2968
|
-
"name": "tagName",
|
|
2969
|
-
"type": {
|
|
2970
|
-
"text": "string"
|
|
2971
|
-
},
|
|
2972
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
2973
|
-
}
|
|
2974
|
-
],
|
|
2975
|
-
"description": "Shows a criteria error as a toast notification."
|
|
2976
|
-
}
|
|
2977
|
-
],
|
|
2978
|
-
"exports": [
|
|
2979
2877
|
{
|
|
2980
2878
|
"kind": "js",
|
|
2981
|
-
"name": "
|
|
2879
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2982
2880
|
"declaration": {
|
|
2983
|
-
"name": "
|
|
2984
|
-
"module": "
|
|
2881
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2882
|
+
"module": "./ai-indicator.template"
|
|
2985
2883
|
}
|
|
2986
2884
|
},
|
|
2987
2885
|
{
|
|
2988
2886
|
"kind": "js",
|
|
2989
|
-
"name": "
|
|
2887
|
+
"name": "foundationAiIndicatorStyles",
|
|
2990
2888
|
"declaration": {
|
|
2991
|
-
"name": "
|
|
2992
|
-
"module": "
|
|
2889
|
+
"name": "foundationAiIndicatorStyles",
|
|
2890
|
+
"module": "./ai-indicator.styles"
|
|
2993
2891
|
}
|
|
2994
2892
|
}
|
|
2995
2893
|
]
|
|
2996
2894
|
},
|
|
2997
2895
|
{
|
|
2998
2896
|
"kind": "javascript-module",
|
|
2999
|
-
"path": "src/ai-
|
|
2897
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
3000
2898
|
"declarations": [
|
|
3001
2899
|
{
|
|
3002
|
-
"kind": "
|
|
3003
|
-
"name": "
|
|
3004
|
-
"
|
|
3005
|
-
"type": {
|
|
3006
|
-
"text": "ElementStyles"
|
|
3007
|
-
}
|
|
3008
|
-
},
|
|
3009
|
-
"parameters": [
|
|
3010
|
-
{
|
|
3011
|
-
"name": "context",
|
|
3012
|
-
"type": {
|
|
3013
|
-
"text": "ElementDefinitionContext"
|
|
3014
|
-
}
|
|
3015
|
-
},
|
|
3016
|
-
{
|
|
3017
|
-
"name": "definition",
|
|
3018
|
-
"type": {
|
|
3019
|
-
"text": "FoundationElementDefinition"
|
|
3020
|
-
}
|
|
3021
|
-
}
|
|
3022
|
-
]
|
|
2900
|
+
"kind": "variable",
|
|
2901
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2902
|
+
"default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .mode-control {\n flex-shrink: 0;\n }\n`"
|
|
3023
2903
|
}
|
|
3024
2904
|
],
|
|
3025
2905
|
"exports": [
|
|
3026
2906
|
{
|
|
3027
2907
|
"kind": "js",
|
|
3028
|
-
"name": "
|
|
2908
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3029
2909
|
"declaration": {
|
|
3030
|
-
"name": "
|
|
3031
|
-
"module": "src/ai-
|
|
2910
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2911
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
3032
2912
|
}
|
|
3033
2913
|
}
|
|
3034
2914
|
]
|
|
3035
2915
|
},
|
|
3036
2916
|
{
|
|
3037
2917
|
"kind": "javascript-module",
|
|
3038
|
-
"path": "src/ai-
|
|
2918
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
3039
2919
|
"declarations": [
|
|
3040
2920
|
{
|
|
3041
2921
|
"kind": "variable",
|
|
3042
|
-
"name": "
|
|
2922
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3043
2923
|
"type": {
|
|
3044
|
-
"text": "ViewTemplate<
|
|
2924
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
3045
2925
|
},
|
|
3046
|
-
"default": "html`\n ${(x) =>
|
|
2926
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
3047
2927
|
}
|
|
3048
2928
|
],
|
|
3049
2929
|
"exports": [
|
|
3050
2930
|
{
|
|
3051
2931
|
"kind": "js",
|
|
3052
|
-
"name": "
|
|
2932
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3053
2933
|
"declaration": {
|
|
3054
|
-
"name": "
|
|
3055
|
-
"module": "src/ai-
|
|
2934
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2935
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
3056
2936
|
}
|
|
3057
2937
|
}
|
|
3058
2938
|
]
|
|
3059
2939
|
},
|
|
3060
2940
|
{
|
|
3061
2941
|
"kind": "javascript-module",
|
|
3062
|
-
"path": "src/ai-
|
|
2942
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
3063
2943
|
"declarations": [
|
|
3064
2944
|
{
|
|
3065
2945
|
"kind": "class",
|
|
3066
2946
|
"description": "",
|
|
3067
|
-
"name": "
|
|
2947
|
+
"name": "AiCriteriaSearch",
|
|
3068
2948
|
"members": [
|
|
3069
2949
|
{
|
|
3070
2950
|
"kind": "field",
|
|
@@ -3075,31 +2955,38 @@
|
|
|
3075
2955
|
},
|
|
3076
2956
|
{
|
|
3077
2957
|
"kind": "field",
|
|
3078
|
-
"name": "
|
|
2958
|
+
"name": "placeholder",
|
|
3079
2959
|
"type": {
|
|
3080
|
-
"text": "
|
|
2960
|
+
"text": "string"
|
|
3081
2961
|
},
|
|
3082
|
-
"default": "
|
|
2962
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
3083
2963
|
},
|
|
3084
2964
|
{
|
|
3085
2965
|
"kind": "field",
|
|
3086
|
-
"name": "
|
|
2966
|
+
"name": "disabled",
|
|
3087
2967
|
"type": {
|
|
3088
2968
|
"text": "boolean"
|
|
2969
|
+
}
|
|
2970
|
+
},
|
|
2971
|
+
{
|
|
2972
|
+
"kind": "field",
|
|
2973
|
+
"name": "mode",
|
|
2974
|
+
"type": {
|
|
2975
|
+
"text": "'append' | 'replace'"
|
|
3089
2976
|
},
|
|
3090
|
-
"default": "
|
|
2977
|
+
"default": "'replace'"
|
|
3091
2978
|
},
|
|
3092
2979
|
{
|
|
3093
2980
|
"kind": "field",
|
|
3094
|
-
"name": "
|
|
2981
|
+
"name": "inputValue",
|
|
3095
2982
|
"type": {
|
|
3096
|
-
"text": "
|
|
2983
|
+
"text": "string"
|
|
3097
2984
|
},
|
|
3098
|
-
"default": "'
|
|
2985
|
+
"default": "''"
|
|
3099
2986
|
},
|
|
3100
2987
|
{
|
|
3101
2988
|
"kind": "field",
|
|
3102
|
-
"name": "
|
|
2989
|
+
"name": "isInterpreting",
|
|
3103
2990
|
"type": {
|
|
3104
2991
|
"text": "boolean"
|
|
3105
2992
|
},
|
|
@@ -3107,133 +2994,91 @@
|
|
|
3107
2994
|
},
|
|
3108
2995
|
{
|
|
3109
2996
|
"kind": "field",
|
|
3110
|
-
"name": "
|
|
2997
|
+
"name": "lastValidCriteria",
|
|
3111
2998
|
"type": {
|
|
3112
|
-
"text": "
|
|
2999
|
+
"text": "string | null"
|
|
3113
3000
|
},
|
|
3114
|
-
"privacy": "private",
|
|
3115
3001
|
"default": "null"
|
|
3116
3002
|
},
|
|
3117
3003
|
{
|
|
3118
3004
|
"kind": "field",
|
|
3119
|
-
"name": "
|
|
3120
|
-
"privacy": "private"
|
|
3121
|
-
},
|
|
3122
|
-
{
|
|
3123
|
-
"kind": "field",
|
|
3124
|
-
"name": "chromeStatusLabel",
|
|
3005
|
+
"name": "fieldMetadata",
|
|
3125
3006
|
"type": {
|
|
3126
|
-
"text": "
|
|
3007
|
+
"text": "MetadataDetail[] | string[]"
|
|
3127
3008
|
},
|
|
3128
|
-
"
|
|
3009
|
+
"default": "[]"
|
|
3129
3010
|
},
|
|
3130
3011
|
{
|
|
3131
3012
|
"kind": "field",
|
|
3132
|
-
"name": "
|
|
3013
|
+
"name": "isRecording",
|
|
3133
3014
|
"type": {
|
|
3134
3015
|
"text": "boolean"
|
|
3135
3016
|
},
|
|
3136
|
-
"
|
|
3017
|
+
"default": "false"
|
|
3137
3018
|
},
|
|
3138
3019
|
{
|
|
3139
3020
|
"kind": "field",
|
|
3140
|
-
"name": "
|
|
3021
|
+
"name": "textAreaRef",
|
|
3141
3022
|
"type": {
|
|
3142
|
-
"text": "
|
|
3023
|
+
"text": "HTMLTextAreaElement"
|
|
3143
3024
|
},
|
|
3144
|
-
"
|
|
3025
|
+
"privacy": "public"
|
|
3145
3026
|
},
|
|
3146
3027
|
{
|
|
3147
|
-
"kind": "
|
|
3148
|
-
"name": "
|
|
3149
|
-
"
|
|
3150
|
-
"
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3028
|
+
"kind": "field",
|
|
3029
|
+
"name": "stopRecording",
|
|
3030
|
+
"type": {
|
|
3031
|
+
"text": "(() => void) | null"
|
|
3032
|
+
},
|
|
3033
|
+
"privacy": "private",
|
|
3034
|
+
"default": "null"
|
|
3154
3035
|
},
|
|
3155
3036
|
{
|
|
3156
|
-
"kind": "
|
|
3157
|
-
"name": "
|
|
3037
|
+
"kind": "field",
|
|
3038
|
+
"name": "speechApplyDebounceTimer",
|
|
3039
|
+
"type": {
|
|
3040
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3041
|
+
},
|
|
3158
3042
|
"privacy": "private",
|
|
3159
|
-
"
|
|
3160
|
-
{
|
|
3161
|
-
"name": "event",
|
|
3162
|
-
"type": {
|
|
3163
|
-
"text": "MouseEvent"
|
|
3164
|
-
}
|
|
3165
|
-
}
|
|
3166
|
-
]
|
|
3043
|
+
"default": "null"
|
|
3167
3044
|
},
|
|
3168
3045
|
{
|
|
3169
|
-
"kind": "
|
|
3170
|
-
"name": "
|
|
3046
|
+
"kind": "field",
|
|
3047
|
+
"name": "baseInputForAppend",
|
|
3048
|
+
"type": {
|
|
3049
|
+
"text": "string"
|
|
3050
|
+
},
|
|
3051
|
+
"privacy": "private",
|
|
3052
|
+
"default": "''"
|
|
3171
3053
|
},
|
|
3172
3054
|
{
|
|
3173
|
-
"kind": "
|
|
3174
|
-
"name": "
|
|
3175
|
-
"
|
|
3176
|
-
"
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
}
|
|
3055
|
+
"kind": "field",
|
|
3056
|
+
"name": "speechAvailable",
|
|
3057
|
+
"type": {
|
|
3058
|
+
"text": "boolean"
|
|
3059
|
+
},
|
|
3060
|
+
"readonly": true
|
|
3180
3061
|
},
|
|
3181
3062
|
{
|
|
3182
3063
|
"kind": "method",
|
|
3183
|
-
"name": "
|
|
3184
|
-
"privacy": "private",
|
|
3185
|
-
"return": {
|
|
3186
|
-
"type": {
|
|
3187
|
-
"text": "AIIndicatorState"
|
|
3188
|
-
}
|
|
3189
|
-
},
|
|
3190
|
-
"parameters": [
|
|
3191
|
-
{
|
|
3192
|
-
"name": "s",
|
|
3193
|
-
"type": {
|
|
3194
|
-
"text": "AIStatus | null"
|
|
3195
|
-
}
|
|
3196
|
-
}
|
|
3197
|
-
]
|
|
3064
|
+
"name": "handleSubmit"
|
|
3198
3065
|
},
|
|
3199
3066
|
{
|
|
3200
3067
|
"kind": "method",
|
|
3201
|
-
"name": "
|
|
3202
|
-
"privacy": "private",
|
|
3203
|
-
"return": {
|
|
3204
|
-
"type": {
|
|
3205
|
-
"text": "void"
|
|
3206
|
-
}
|
|
3207
|
-
}
|
|
3068
|
+
"name": "handleBlur"
|
|
3208
3069
|
},
|
|
3209
3070
|
{
|
|
3210
3071
|
"kind": "method",
|
|
3211
|
-
"name": "
|
|
3212
|
-
"privacy": "private",
|
|
3213
|
-
"return": {
|
|
3214
|
-
"type": {
|
|
3215
|
-
"text": "void"
|
|
3216
|
-
}
|
|
3217
|
-
}
|
|
3072
|
+
"name": "clear"
|
|
3218
3073
|
},
|
|
3219
3074
|
{
|
|
3220
3075
|
"kind": "method",
|
|
3221
|
-
"name": "
|
|
3222
|
-
"privacy": "private",
|
|
3223
|
-
"return": {
|
|
3224
|
-
"type": {
|
|
3225
|
-
"text": "void"
|
|
3226
|
-
}
|
|
3227
|
-
}
|
|
3076
|
+
"name": "toggleSpeechInput"
|
|
3228
3077
|
},
|
|
3229
3078
|
{
|
|
3230
3079
|
"kind": "method",
|
|
3231
|
-
"name": "
|
|
3232
|
-
"
|
|
3233
|
-
"type": {
|
|
3234
|
-
"text": "Promise<void>"
|
|
3235
|
-
}
|
|
3236
|
-
}
|
|
3080
|
+
"name": "clearSpeechApplyDebounce",
|
|
3081
|
+
"privacy": "private"
|
|
3237
3082
|
},
|
|
3238
3083
|
{
|
|
3239
3084
|
"kind": "field",
|
|
@@ -3347,88 +3192,243 @@
|
|
|
3347
3192
|
}
|
|
3348
3193
|
}
|
|
3349
3194
|
],
|
|
3195
|
+
"attributes": [
|
|
3196
|
+
{
|
|
3197
|
+
"name": "placeholder",
|
|
3198
|
+
"type": {
|
|
3199
|
+
"text": "string"
|
|
3200
|
+
},
|
|
3201
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
3202
|
+
"fieldName": "placeholder"
|
|
3203
|
+
},
|
|
3204
|
+
{
|
|
3205
|
+
"type": {
|
|
3206
|
+
"text": "boolean"
|
|
3207
|
+
},
|
|
3208
|
+
"fieldName": "disabled"
|
|
3209
|
+
},
|
|
3210
|
+
{
|
|
3211
|
+
"name": "mode",
|
|
3212
|
+
"type": {
|
|
3213
|
+
"text": "'append' | 'replace'"
|
|
3214
|
+
},
|
|
3215
|
+
"default": "'replace'",
|
|
3216
|
+
"fieldName": "mode"
|
|
3217
|
+
}
|
|
3218
|
+
],
|
|
3350
3219
|
"superclass": {
|
|
3351
3220
|
"name": "FoundationElement",
|
|
3352
3221
|
"package": "@microsoft/fast-foundation"
|
|
3353
3222
|
},
|
|
3354
|
-
"tagName": "%%prefix%%-ai-
|
|
3223
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3355
3224
|
"customElement": true
|
|
3356
3225
|
},
|
|
3357
3226
|
{
|
|
3358
3227
|
"kind": "variable",
|
|
3359
|
-
"name": "
|
|
3228
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3229
|
+
"type": {
|
|
3230
|
+
"text": "ShadowRootInit"
|
|
3231
|
+
},
|
|
3232
|
+
"default": "undefined"
|
|
3233
|
+
},
|
|
3234
|
+
{
|
|
3235
|
+
"kind": "variable",
|
|
3236
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3237
|
+
"type": {
|
|
3238
|
+
"text": "object"
|
|
3239
|
+
},
|
|
3240
|
+
"default": "{}"
|
|
3241
|
+
},
|
|
3242
|
+
{
|
|
3243
|
+
"kind": "variable",
|
|
3244
|
+
"name": "foundationAiCriteriaSearch"
|
|
3360
3245
|
}
|
|
3361
3246
|
],
|
|
3362
3247
|
"exports": [
|
|
3363
3248
|
{
|
|
3364
3249
|
"kind": "js",
|
|
3365
|
-
"name": "
|
|
3250
|
+
"name": "AiCriteriaSearch",
|
|
3366
3251
|
"declaration": {
|
|
3367
|
-
"name": "
|
|
3368
|
-
"module": "src/ai-
|
|
3252
|
+
"name": "AiCriteriaSearch",
|
|
3253
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3369
3254
|
}
|
|
3370
3255
|
},
|
|
3371
3256
|
{
|
|
3372
3257
|
"kind": "js",
|
|
3373
|
-
"name": "
|
|
3258
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3374
3259
|
"declaration": {
|
|
3375
|
-
"name": "
|
|
3376
|
-
"module": "src/ai-
|
|
3260
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3261
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3262
|
+
}
|
|
3263
|
+
},
|
|
3264
|
+
{
|
|
3265
|
+
"kind": "js",
|
|
3266
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3267
|
+
"declaration": {
|
|
3268
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3269
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3270
|
+
}
|
|
3271
|
+
},
|
|
3272
|
+
{
|
|
3273
|
+
"kind": "js",
|
|
3274
|
+
"name": "foundationAiCriteriaSearch",
|
|
3275
|
+
"declaration": {
|
|
3276
|
+
"name": "foundationAiCriteriaSearch",
|
|
3277
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3377
3278
|
}
|
|
3378
3279
|
}
|
|
3379
3280
|
]
|
|
3380
3281
|
},
|
|
3381
3282
|
{
|
|
3382
3283
|
"kind": "javascript-module",
|
|
3383
|
-
"path": "src/ai-
|
|
3284
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
3384
3285
|
"declarations": [],
|
|
3385
3286
|
"exports": [
|
|
3386
3287
|
{
|
|
3387
3288
|
"kind": "js",
|
|
3388
|
-
"name": "
|
|
3289
|
+
"name": "AiCriteriaSearch",
|
|
3389
3290
|
"declaration": {
|
|
3390
|
-
"name": "
|
|
3391
|
-
"module": "./ai-
|
|
3291
|
+
"name": "AiCriteriaSearch",
|
|
3292
|
+
"module": "./ai-criteria-search"
|
|
3392
3293
|
}
|
|
3393
3294
|
},
|
|
3394
3295
|
{
|
|
3395
3296
|
"kind": "js",
|
|
3396
|
-
"name": "
|
|
3297
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3397
3298
|
"declaration": {
|
|
3398
|
-
"name": "
|
|
3399
|
-
"module": "./ai-
|
|
3299
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3300
|
+
"module": "./ai-criteria-search"
|
|
3400
3301
|
}
|
|
3401
3302
|
},
|
|
3402
3303
|
{
|
|
3403
3304
|
"kind": "js",
|
|
3404
|
-
"name": "
|
|
3305
|
+
"name": "foundationAiCriteriaSearch",
|
|
3405
3306
|
"declaration": {
|
|
3406
|
-
"name": "
|
|
3407
|
-
"module": "./ai-
|
|
3307
|
+
"name": "foundationAiCriteriaSearch",
|
|
3308
|
+
"module": "./ai-criteria-search"
|
|
3408
3309
|
}
|
|
3409
3310
|
},
|
|
3410
3311
|
{
|
|
3411
3312
|
"kind": "js",
|
|
3412
|
-
"name": "
|
|
3313
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3413
3314
|
"declaration": {
|
|
3414
|
-
"name": "
|
|
3415
|
-
"module": "./ai-
|
|
3315
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3316
|
+
"module": "./ai-criteria-search"
|
|
3416
3317
|
}
|
|
3417
3318
|
},
|
|
3418
3319
|
{
|
|
3419
3320
|
"kind": "js",
|
|
3420
|
-
"name": "
|
|
3321
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3421
3322
|
"declaration": {
|
|
3422
|
-
"name": "
|
|
3423
|
-
"module": "./ai-
|
|
3323
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3324
|
+
"module": "./ai-criteria-search.styles"
|
|
3424
3325
|
}
|
|
3425
3326
|
},
|
|
3426
3327
|
{
|
|
3427
3328
|
"kind": "js",
|
|
3428
|
-
"name": "
|
|
3329
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3429
3330
|
"declaration": {
|
|
3430
|
-
"name": "
|
|
3431
|
-
"module": "./ai-
|
|
3331
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3332
|
+
"module": "./ai-criteria-search.template"
|
|
3333
|
+
}
|
|
3334
|
+
},
|
|
3335
|
+
{
|
|
3336
|
+
"kind": "js",
|
|
3337
|
+
"name": "*",
|
|
3338
|
+
"declaration": {
|
|
3339
|
+
"name": "*",
|
|
3340
|
+
"package": "./validation/criteria-ir"
|
|
3341
|
+
}
|
|
3342
|
+
},
|
|
3343
|
+
{
|
|
3344
|
+
"kind": "js",
|
|
3345
|
+
"name": "*",
|
|
3346
|
+
"declaration": {
|
|
3347
|
+
"name": "*",
|
|
3348
|
+
"package": "./validation/operator-map"
|
|
3349
|
+
}
|
|
3350
|
+
},
|
|
3351
|
+
{
|
|
3352
|
+
"kind": "js",
|
|
3353
|
+
"name": "*",
|
|
3354
|
+
"declaration": {
|
|
3355
|
+
"name": "*",
|
|
3356
|
+
"package": "./validation/schema-validator"
|
|
3357
|
+
}
|
|
3358
|
+
}
|
|
3359
|
+
]
|
|
3360
|
+
},
|
|
3361
|
+
{
|
|
3362
|
+
"kind": "javascript-module",
|
|
3363
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3364
|
+
"declarations": [
|
|
3365
|
+
{
|
|
3366
|
+
"kind": "function",
|
|
3367
|
+
"name": "formatValidationErrors",
|
|
3368
|
+
"return": {
|
|
3369
|
+
"type": {
|
|
3370
|
+
"text": "string"
|
|
3371
|
+
}
|
|
3372
|
+
},
|
|
3373
|
+
"parameters": [
|
|
3374
|
+
{
|
|
3375
|
+
"name": "errors",
|
|
3376
|
+
"type": {
|
|
3377
|
+
"text": "ValidationError[]"
|
|
3378
|
+
}
|
|
3379
|
+
}
|
|
3380
|
+
],
|
|
3381
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
3382
|
+
},
|
|
3383
|
+
{
|
|
3384
|
+
"kind": "function",
|
|
3385
|
+
"name": "showCriteriaError",
|
|
3386
|
+
"return": {
|
|
3387
|
+
"type": {
|
|
3388
|
+
"text": "void"
|
|
3389
|
+
}
|
|
3390
|
+
},
|
|
3391
|
+
"parameters": [
|
|
3392
|
+
{
|
|
3393
|
+
"name": "title",
|
|
3394
|
+
"type": {
|
|
3395
|
+
"text": "string"
|
|
3396
|
+
},
|
|
3397
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3398
|
+
},
|
|
3399
|
+
{
|
|
3400
|
+
"name": "body",
|
|
3401
|
+
"type": {
|
|
3402
|
+
"text": "string"
|
|
3403
|
+
},
|
|
3404
|
+
"description": "Error message to display"
|
|
3405
|
+
},
|
|
3406
|
+
{
|
|
3407
|
+
"name": "tagName",
|
|
3408
|
+
"type": {
|
|
3409
|
+
"text": "string"
|
|
3410
|
+
},
|
|
3411
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3412
|
+
}
|
|
3413
|
+
],
|
|
3414
|
+
"description": "Shows a criteria error as a toast notification."
|
|
3415
|
+
}
|
|
3416
|
+
],
|
|
3417
|
+
"exports": [
|
|
3418
|
+
{
|
|
3419
|
+
"kind": "js",
|
|
3420
|
+
"name": "formatValidationErrors",
|
|
3421
|
+
"declaration": {
|
|
3422
|
+
"name": "formatValidationErrors",
|
|
3423
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3424
|
+
}
|
|
3425
|
+
},
|
|
3426
|
+
{
|
|
3427
|
+
"kind": "js",
|
|
3428
|
+
"name": "showCriteriaError",
|
|
3429
|
+
"declaration": {
|
|
3430
|
+
"name": "showCriteriaError",
|
|
3431
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3432
3432
|
}
|
|
3433
3433
|
}
|
|
3434
3434
|
]
|
|
@@ -24180,6 +24180,391 @@
|
|
|
24180
24180
|
}
|
|
24181
24181
|
]
|
|
24182
24182
|
},
|
|
24183
|
+
{
|
|
24184
|
+
"kind": "javascript-module",
|
|
24185
|
+
"path": "src/flyout/flyout.styles.ts",
|
|
24186
|
+
"declarations": [
|
|
24187
|
+
{
|
|
24188
|
+
"kind": "variable",
|
|
24189
|
+
"name": "flyoutAnimationTime",
|
|
24190
|
+
"type": {
|
|
24191
|
+
"text": "number"
|
|
24192
|
+
},
|
|
24193
|
+
"default": "225"
|
|
24194
|
+
},
|
|
24195
|
+
{
|
|
24196
|
+
"kind": "variable",
|
|
24197
|
+
"name": "foundationFlyoutStyles",
|
|
24198
|
+
"type": {
|
|
24199
|
+
"text": "ElementStyles"
|
|
24200
|
+
},
|
|
24201
|
+
"default": "css`\n /* Host */\n :host {\n display: inline-block;\n height: 100vh;\n position: absolute;\n width: 100vw;\n }\n\n :host([closed]) {\n display: none;\n }\n\n div.container {\n height: 100%;\n width: 100%;\n }\n\n /* flyout */\n div.flyout {\n background-color: white;\n color: black;\n height: 100%;\n position: absolute;\n /* stylelint-disable-next-line function-name-case */\n transition: transform ${flyoutAnimationTime.toString()}ms ease-in;\n width: 20%;\n z-index: 2001;\n }\n\n :host([position='left']) div.flyout {\n left: 0;\n transform: translateX(0%);\n }\n\n :host([position='right']) div.flyout {\n right: 0;\n transform: translateX(0%);\n }\n\n :host([visuallyhidden][position='left']) div.flyout {\n left: 0;\n transform: translateX(-100%);\n }\n\n :host([visuallyhidden][position='right']) div.flyout {\n right: 0;\n transform: translateX(100%);\n }\n\n div.header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n color: var(--neutral-foreground-hint);\n font-weight: 500;\n padding: calc(var(--design-unit) * 2px) calc(var(--design-unit) * 3px);\n\n rapid-button {\n --base-height-multiplier: 8;\n }\n\n rapid-button::part(control) {\n padding: 0 calc((8 + var(--design-unit) * 1 * var(--density)) * 1px);\n }\n }\n\n div.title {\n flex-grow: 1;\n }\n\n div.footer {\n bottom: 0;\n position: absolute;\n width: 100%;\n }\n\n /* Background */\n div.background {\n background-color: black;\n height: 100%;\n opacity: 50%;\n position: absolute;\n /* stylelint-disable-next-line function-name-case */\n transition: opacity ${flyoutAnimationTime.toString()}ms linear;\n width: 100%;\n z-index: 2000;\n }\n\n :host([visuallyhidden]) div.background {\n opacity: 0%;\n }\n`"
|
|
24202
|
+
}
|
|
24203
|
+
],
|
|
24204
|
+
"exports": [
|
|
24205
|
+
{
|
|
24206
|
+
"kind": "js",
|
|
24207
|
+
"name": "flyoutAnimationTime",
|
|
24208
|
+
"declaration": {
|
|
24209
|
+
"name": "flyoutAnimationTime",
|
|
24210
|
+
"module": "src/flyout/flyout.styles.ts"
|
|
24211
|
+
}
|
|
24212
|
+
},
|
|
24213
|
+
{
|
|
24214
|
+
"kind": "js",
|
|
24215
|
+
"name": "foundationFlyoutStyles",
|
|
24216
|
+
"declaration": {
|
|
24217
|
+
"name": "foundationFlyoutStyles",
|
|
24218
|
+
"module": "src/flyout/flyout.styles.ts"
|
|
24219
|
+
}
|
|
24220
|
+
}
|
|
24221
|
+
]
|
|
24222
|
+
},
|
|
24223
|
+
{
|
|
24224
|
+
"kind": "javascript-module",
|
|
24225
|
+
"path": "src/flyout/flyout.template.ts",
|
|
24226
|
+
"declarations": [
|
|
24227
|
+
{
|
|
24228
|
+
"kind": "function",
|
|
24229
|
+
"name": "getPrefixedFlyout",
|
|
24230
|
+
"parameters": [
|
|
24231
|
+
{
|
|
24232
|
+
"name": "prefix",
|
|
24233
|
+
"type": {
|
|
24234
|
+
"text": "string"
|
|
24235
|
+
}
|
|
24236
|
+
}
|
|
24237
|
+
]
|
|
24238
|
+
},
|
|
24239
|
+
{
|
|
24240
|
+
"kind": "variable",
|
|
24241
|
+
"name": "foundationFlyoutTemplate",
|
|
24242
|
+
"default": "html<Flyout>`\n ${(x) => getPrefixedFlyout(getPrefix(x))}\n`"
|
|
24243
|
+
}
|
|
24244
|
+
],
|
|
24245
|
+
"exports": [
|
|
24246
|
+
{
|
|
24247
|
+
"kind": "js",
|
|
24248
|
+
"name": "getPrefixedFlyout",
|
|
24249
|
+
"declaration": {
|
|
24250
|
+
"name": "getPrefixedFlyout",
|
|
24251
|
+
"module": "src/flyout/flyout.template.ts"
|
|
24252
|
+
}
|
|
24253
|
+
},
|
|
24254
|
+
{
|
|
24255
|
+
"kind": "js",
|
|
24256
|
+
"name": "foundationFlyoutTemplate",
|
|
24257
|
+
"declaration": {
|
|
24258
|
+
"name": "foundationFlyoutTemplate",
|
|
24259
|
+
"module": "src/flyout/flyout.template.ts"
|
|
24260
|
+
}
|
|
24261
|
+
}
|
|
24262
|
+
]
|
|
24263
|
+
},
|
|
24264
|
+
{
|
|
24265
|
+
"kind": "javascript-module",
|
|
24266
|
+
"path": "src/flyout/flyout.ts",
|
|
24267
|
+
"declarations": [
|
|
24268
|
+
{
|
|
24269
|
+
"kind": "class",
|
|
24270
|
+
"description": "",
|
|
24271
|
+
"name": "Flyout",
|
|
24272
|
+
"members": [
|
|
24273
|
+
{
|
|
24274
|
+
"kind": "field",
|
|
24275
|
+
"name": "exit",
|
|
24276
|
+
"type": {
|
|
24277
|
+
"text": "HTMLDivElement"
|
|
24278
|
+
},
|
|
24279
|
+
"privacy": "public"
|
|
24280
|
+
},
|
|
24281
|
+
{
|
|
24282
|
+
"kind": "field",
|
|
24283
|
+
"name": "position",
|
|
24284
|
+
"type": {
|
|
24285
|
+
"text": "string"
|
|
24286
|
+
},
|
|
24287
|
+
"default": "'right'"
|
|
24288
|
+
},
|
|
24289
|
+
{
|
|
24290
|
+
"kind": "field",
|
|
24291
|
+
"name": "displayHeader",
|
|
24292
|
+
"type": {
|
|
24293
|
+
"text": "boolean"
|
|
24294
|
+
},
|
|
24295
|
+
"default": "true"
|
|
24296
|
+
},
|
|
24297
|
+
{
|
|
24298
|
+
"kind": "field",
|
|
24299
|
+
"name": "closed",
|
|
24300
|
+
"type": {
|
|
24301
|
+
"text": "boolean"
|
|
24302
|
+
},
|
|
24303
|
+
"default": "true"
|
|
24304
|
+
},
|
|
24305
|
+
{
|
|
24306
|
+
"kind": "method",
|
|
24307
|
+
"name": "closedChanged"
|
|
24308
|
+
},
|
|
24309
|
+
{
|
|
24310
|
+
"kind": "field",
|
|
24311
|
+
"name": "visuallyhidden",
|
|
24312
|
+
"type": {
|
|
24313
|
+
"text": "boolean"
|
|
24314
|
+
},
|
|
24315
|
+
"default": "true"
|
|
24316
|
+
},
|
|
24317
|
+
{
|
|
24318
|
+
"kind": "method",
|
|
24319
|
+
"name": "closeFlyout"
|
|
24320
|
+
},
|
|
24321
|
+
{
|
|
24322
|
+
"kind": "method",
|
|
24323
|
+
"name": "closingFinished"
|
|
24324
|
+
},
|
|
24325
|
+
{
|
|
24326
|
+
"kind": "method",
|
|
24327
|
+
"name": "focusExit"
|
|
24328
|
+
},
|
|
24329
|
+
{
|
|
24330
|
+
"kind": "field",
|
|
24331
|
+
"name": "_presentation",
|
|
24332
|
+
"type": {
|
|
24333
|
+
"text": "ComponentPresentation | null | undefined"
|
|
24334
|
+
},
|
|
24335
|
+
"privacy": "private",
|
|
24336
|
+
"default": "void 0",
|
|
24337
|
+
"inheritedFrom": {
|
|
24338
|
+
"name": "FoundationElement",
|
|
24339
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
24340
|
+
}
|
|
24341
|
+
},
|
|
24342
|
+
{
|
|
24343
|
+
"kind": "field",
|
|
24344
|
+
"name": "$presentation",
|
|
24345
|
+
"type": {
|
|
24346
|
+
"text": "ComponentPresentation | null"
|
|
24347
|
+
},
|
|
24348
|
+
"privacy": "public",
|
|
24349
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
24350
|
+
"inheritedFrom": {
|
|
24351
|
+
"name": "FoundationElement",
|
|
24352
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
24353
|
+
}
|
|
24354
|
+
},
|
|
24355
|
+
{
|
|
24356
|
+
"kind": "field",
|
|
24357
|
+
"name": "template",
|
|
24358
|
+
"type": {
|
|
24359
|
+
"text": "ElementViewTemplate | void | null"
|
|
24360
|
+
},
|
|
24361
|
+
"privacy": "public",
|
|
24362
|
+
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
24363
|
+
"inheritedFrom": {
|
|
24364
|
+
"name": "FoundationElement",
|
|
24365
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
24366
|
+
}
|
|
24367
|
+
},
|
|
24368
|
+
{
|
|
24369
|
+
"kind": "method",
|
|
24370
|
+
"name": "templateChanged",
|
|
24371
|
+
"privacy": "protected",
|
|
24372
|
+
"return": {
|
|
24373
|
+
"type": {
|
|
24374
|
+
"text": "void"
|
|
24375
|
+
}
|
|
24376
|
+
},
|
|
24377
|
+
"inheritedFrom": {
|
|
24378
|
+
"name": "FoundationElement",
|
|
24379
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
24380
|
+
}
|
|
24381
|
+
},
|
|
24382
|
+
{
|
|
24383
|
+
"kind": "field",
|
|
24384
|
+
"name": "styles",
|
|
24385
|
+
"type": {
|
|
24386
|
+
"text": "ElementStyles | void | null"
|
|
24387
|
+
},
|
|
24388
|
+
"privacy": "public",
|
|
24389
|
+
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
24390
|
+
"inheritedFrom": {
|
|
24391
|
+
"name": "FoundationElement",
|
|
24392
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
24393
|
+
}
|
|
24394
|
+
},
|
|
24395
|
+
{
|
|
24396
|
+
"kind": "method",
|
|
24397
|
+
"name": "stylesChanged",
|
|
24398
|
+
"privacy": "protected",
|
|
24399
|
+
"return": {
|
|
24400
|
+
"type": {
|
|
24401
|
+
"text": "void"
|
|
24402
|
+
}
|
|
24403
|
+
},
|
|
24404
|
+
"inheritedFrom": {
|
|
24405
|
+
"name": "FoundationElement",
|
|
24406
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
24407
|
+
}
|
|
24408
|
+
},
|
|
24409
|
+
{
|
|
24410
|
+
"kind": "method",
|
|
24411
|
+
"name": "compose",
|
|
24412
|
+
"privacy": "public",
|
|
24413
|
+
"static": true,
|
|
24414
|
+
"return": {
|
|
24415
|
+
"type": {
|
|
24416
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
24417
|
+
}
|
|
24418
|
+
},
|
|
24419
|
+
"parameters": [
|
|
24420
|
+
{
|
|
24421
|
+
"name": "this",
|
|
24422
|
+
"type": {
|
|
24423
|
+
"text": "K"
|
|
24424
|
+
}
|
|
24425
|
+
},
|
|
24426
|
+
{
|
|
24427
|
+
"name": "elementDefinition",
|
|
24428
|
+
"type": {
|
|
24429
|
+
"text": "T"
|
|
24430
|
+
},
|
|
24431
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
24432
|
+
}
|
|
24433
|
+
],
|
|
24434
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
24435
|
+
"inheritedFrom": {
|
|
24436
|
+
"name": "FoundationElement",
|
|
24437
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
24438
|
+
}
|
|
24439
|
+
}
|
|
24440
|
+
],
|
|
24441
|
+
"attributes": [
|
|
24442
|
+
{
|
|
24443
|
+
"name": "position",
|
|
24444
|
+
"type": {
|
|
24445
|
+
"text": "string"
|
|
24446
|
+
},
|
|
24447
|
+
"default": "'right'",
|
|
24448
|
+
"fieldName": "position"
|
|
24449
|
+
},
|
|
24450
|
+
{
|
|
24451
|
+
"type": {
|
|
24452
|
+
"text": "boolean"
|
|
24453
|
+
},
|
|
24454
|
+
"default": "true",
|
|
24455
|
+
"fieldName": "displayHeader"
|
|
24456
|
+
},
|
|
24457
|
+
{
|
|
24458
|
+
"type": {
|
|
24459
|
+
"text": "boolean"
|
|
24460
|
+
},
|
|
24461
|
+
"default": "true",
|
|
24462
|
+
"fieldName": "closed"
|
|
24463
|
+
},
|
|
24464
|
+
{
|
|
24465
|
+
"type": {
|
|
24466
|
+
"text": "boolean"
|
|
24467
|
+
},
|
|
24468
|
+
"default": "true",
|
|
24469
|
+
"fieldName": "visuallyhidden"
|
|
24470
|
+
}
|
|
24471
|
+
],
|
|
24472
|
+
"superclass": {
|
|
24473
|
+
"name": "FoundationElement",
|
|
24474
|
+
"package": "@microsoft/fast-foundation"
|
|
24475
|
+
},
|
|
24476
|
+
"tagName": "%%prefix%%-flyout",
|
|
24477
|
+
"customElement": true
|
|
24478
|
+
},
|
|
24479
|
+
{
|
|
24480
|
+
"kind": "variable",
|
|
24481
|
+
"name": "foundationFlyoutShadowOptions",
|
|
24482
|
+
"type": {
|
|
24483
|
+
"text": "ShadowRootInit"
|
|
24484
|
+
},
|
|
24485
|
+
"default": "undefined"
|
|
24486
|
+
},
|
|
24487
|
+
{
|
|
24488
|
+
"kind": "variable",
|
|
24489
|
+
"name": "defaultFlyoutConfig",
|
|
24490
|
+
"type": {
|
|
24491
|
+
"text": "object"
|
|
24492
|
+
},
|
|
24493
|
+
"default": "{}"
|
|
24494
|
+
},
|
|
24495
|
+
{
|
|
24496
|
+
"kind": "variable",
|
|
24497
|
+
"name": "foundationFlyout",
|
|
24498
|
+
"description": "The Foundation Flyout",
|
|
24499
|
+
"privacy": "public"
|
|
24500
|
+
}
|
|
24501
|
+
],
|
|
24502
|
+
"exports": [
|
|
24503
|
+
{
|
|
24504
|
+
"kind": "js",
|
|
24505
|
+
"name": "Flyout",
|
|
24506
|
+
"declaration": {
|
|
24507
|
+
"name": "Flyout",
|
|
24508
|
+
"module": "src/flyout/flyout.ts"
|
|
24509
|
+
}
|
|
24510
|
+
},
|
|
24511
|
+
{
|
|
24512
|
+
"kind": "js",
|
|
24513
|
+
"name": "foundationFlyoutShadowOptions",
|
|
24514
|
+
"declaration": {
|
|
24515
|
+
"name": "foundationFlyoutShadowOptions",
|
|
24516
|
+
"module": "src/flyout/flyout.ts"
|
|
24517
|
+
}
|
|
24518
|
+
},
|
|
24519
|
+
{
|
|
24520
|
+
"kind": "js",
|
|
24521
|
+
"name": "defaultFlyoutConfig",
|
|
24522
|
+
"declaration": {
|
|
24523
|
+
"name": "defaultFlyoutConfig",
|
|
24524
|
+
"module": "src/flyout/flyout.ts"
|
|
24525
|
+
}
|
|
24526
|
+
},
|
|
24527
|
+
{
|
|
24528
|
+
"kind": "js",
|
|
24529
|
+
"name": "foundationFlyout",
|
|
24530
|
+
"declaration": {
|
|
24531
|
+
"name": "foundationFlyout",
|
|
24532
|
+
"module": "src/flyout/flyout.ts"
|
|
24533
|
+
}
|
|
24534
|
+
}
|
|
24535
|
+
]
|
|
24536
|
+
},
|
|
24537
|
+
{
|
|
24538
|
+
"kind": "javascript-module",
|
|
24539
|
+
"path": "src/flyout/index.ts",
|
|
24540
|
+
"declarations": [],
|
|
24541
|
+
"exports": [
|
|
24542
|
+
{
|
|
24543
|
+
"kind": "js",
|
|
24544
|
+
"name": "*",
|
|
24545
|
+
"declaration": {
|
|
24546
|
+
"name": "*",
|
|
24547
|
+
"package": "./flyout"
|
|
24548
|
+
}
|
|
24549
|
+
},
|
|
24550
|
+
{
|
|
24551
|
+
"kind": "js",
|
|
24552
|
+
"name": "*",
|
|
24553
|
+
"declaration": {
|
|
24554
|
+
"name": "*",
|
|
24555
|
+
"package": "./flyout.template"
|
|
24556
|
+
}
|
|
24557
|
+
},
|
|
24558
|
+
{
|
|
24559
|
+
"kind": "js",
|
|
24560
|
+
"name": "*",
|
|
24561
|
+
"declaration": {
|
|
24562
|
+
"name": "*",
|
|
24563
|
+
"package": "./flyout.styles"
|
|
24564
|
+
}
|
|
24565
|
+
}
|
|
24566
|
+
]
|
|
24567
|
+
},
|
|
24183
24568
|
{
|
|
24184
24569
|
"kind": "javascript-module",
|
|
24185
24570
|
"path": "src/grid-layout/grid-layout.styles.ts",
|
|
@@ -26402,391 +26787,6 @@
|
|
|
26402
26787
|
}
|
|
26403
26788
|
]
|
|
26404
26789
|
},
|
|
26405
|
-
{
|
|
26406
|
-
"kind": "javascript-module",
|
|
26407
|
-
"path": "src/flyout/flyout.styles.ts",
|
|
26408
|
-
"declarations": [
|
|
26409
|
-
{
|
|
26410
|
-
"kind": "variable",
|
|
26411
|
-
"name": "flyoutAnimationTime",
|
|
26412
|
-
"type": {
|
|
26413
|
-
"text": "number"
|
|
26414
|
-
},
|
|
26415
|
-
"default": "225"
|
|
26416
|
-
},
|
|
26417
|
-
{
|
|
26418
|
-
"kind": "variable",
|
|
26419
|
-
"name": "foundationFlyoutStyles",
|
|
26420
|
-
"type": {
|
|
26421
|
-
"text": "ElementStyles"
|
|
26422
|
-
},
|
|
26423
|
-
"default": "css`\n /* Host */\n :host {\n display: inline-block;\n height: 100vh;\n position: absolute;\n width: 100vw;\n }\n\n :host([closed]) {\n display: none;\n }\n\n div.container {\n height: 100%;\n width: 100%;\n }\n\n /* flyout */\n div.flyout {\n background-color: white;\n color: black;\n height: 100%;\n position: absolute;\n /* stylelint-disable-next-line function-name-case */\n transition: transform ${flyoutAnimationTime.toString()}ms ease-in;\n width: 20%;\n z-index: 2001;\n }\n\n :host([position='left']) div.flyout {\n left: 0;\n transform: translateX(0%);\n }\n\n :host([position='right']) div.flyout {\n right: 0;\n transform: translateX(0%);\n }\n\n :host([visuallyhidden][position='left']) div.flyout {\n left: 0;\n transform: translateX(-100%);\n }\n\n :host([visuallyhidden][position='right']) div.flyout {\n right: 0;\n transform: translateX(100%);\n }\n\n div.header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n color: var(--neutral-foreground-hint);\n font-weight: 500;\n padding: calc(var(--design-unit) * 2px) calc(var(--design-unit) * 3px);\n\n rapid-button {\n --base-height-multiplier: 8;\n }\n\n rapid-button::part(control) {\n padding: 0 calc((8 + var(--design-unit) * 1 * var(--density)) * 1px);\n }\n }\n\n div.title {\n flex-grow: 1;\n }\n\n div.footer {\n bottom: 0;\n position: absolute;\n width: 100%;\n }\n\n /* Background */\n div.background {\n background-color: black;\n height: 100%;\n opacity: 50%;\n position: absolute;\n /* stylelint-disable-next-line function-name-case */\n transition: opacity ${flyoutAnimationTime.toString()}ms linear;\n width: 100%;\n z-index: 2000;\n }\n\n :host([visuallyhidden]) div.background {\n opacity: 0%;\n }\n`"
|
|
26424
|
-
}
|
|
26425
|
-
],
|
|
26426
|
-
"exports": [
|
|
26427
|
-
{
|
|
26428
|
-
"kind": "js",
|
|
26429
|
-
"name": "flyoutAnimationTime",
|
|
26430
|
-
"declaration": {
|
|
26431
|
-
"name": "flyoutAnimationTime",
|
|
26432
|
-
"module": "src/flyout/flyout.styles.ts"
|
|
26433
|
-
}
|
|
26434
|
-
},
|
|
26435
|
-
{
|
|
26436
|
-
"kind": "js",
|
|
26437
|
-
"name": "foundationFlyoutStyles",
|
|
26438
|
-
"declaration": {
|
|
26439
|
-
"name": "foundationFlyoutStyles",
|
|
26440
|
-
"module": "src/flyout/flyout.styles.ts"
|
|
26441
|
-
}
|
|
26442
|
-
}
|
|
26443
|
-
]
|
|
26444
|
-
},
|
|
26445
|
-
{
|
|
26446
|
-
"kind": "javascript-module",
|
|
26447
|
-
"path": "src/flyout/flyout.template.ts",
|
|
26448
|
-
"declarations": [
|
|
26449
|
-
{
|
|
26450
|
-
"kind": "function",
|
|
26451
|
-
"name": "getPrefixedFlyout",
|
|
26452
|
-
"parameters": [
|
|
26453
|
-
{
|
|
26454
|
-
"name": "prefix",
|
|
26455
|
-
"type": {
|
|
26456
|
-
"text": "string"
|
|
26457
|
-
}
|
|
26458
|
-
}
|
|
26459
|
-
]
|
|
26460
|
-
},
|
|
26461
|
-
{
|
|
26462
|
-
"kind": "variable",
|
|
26463
|
-
"name": "foundationFlyoutTemplate",
|
|
26464
|
-
"default": "html<Flyout>`\n ${(x) => getPrefixedFlyout(getPrefix(x))}\n`"
|
|
26465
|
-
}
|
|
26466
|
-
],
|
|
26467
|
-
"exports": [
|
|
26468
|
-
{
|
|
26469
|
-
"kind": "js",
|
|
26470
|
-
"name": "getPrefixedFlyout",
|
|
26471
|
-
"declaration": {
|
|
26472
|
-
"name": "getPrefixedFlyout",
|
|
26473
|
-
"module": "src/flyout/flyout.template.ts"
|
|
26474
|
-
}
|
|
26475
|
-
},
|
|
26476
|
-
{
|
|
26477
|
-
"kind": "js",
|
|
26478
|
-
"name": "foundationFlyoutTemplate",
|
|
26479
|
-
"declaration": {
|
|
26480
|
-
"name": "foundationFlyoutTemplate",
|
|
26481
|
-
"module": "src/flyout/flyout.template.ts"
|
|
26482
|
-
}
|
|
26483
|
-
}
|
|
26484
|
-
]
|
|
26485
|
-
},
|
|
26486
|
-
{
|
|
26487
|
-
"kind": "javascript-module",
|
|
26488
|
-
"path": "src/flyout/flyout.ts",
|
|
26489
|
-
"declarations": [
|
|
26490
|
-
{
|
|
26491
|
-
"kind": "class",
|
|
26492
|
-
"description": "",
|
|
26493
|
-
"name": "Flyout",
|
|
26494
|
-
"members": [
|
|
26495
|
-
{
|
|
26496
|
-
"kind": "field",
|
|
26497
|
-
"name": "exit",
|
|
26498
|
-
"type": {
|
|
26499
|
-
"text": "HTMLDivElement"
|
|
26500
|
-
},
|
|
26501
|
-
"privacy": "public"
|
|
26502
|
-
},
|
|
26503
|
-
{
|
|
26504
|
-
"kind": "field",
|
|
26505
|
-
"name": "position",
|
|
26506
|
-
"type": {
|
|
26507
|
-
"text": "string"
|
|
26508
|
-
},
|
|
26509
|
-
"default": "'right'"
|
|
26510
|
-
},
|
|
26511
|
-
{
|
|
26512
|
-
"kind": "field",
|
|
26513
|
-
"name": "displayHeader",
|
|
26514
|
-
"type": {
|
|
26515
|
-
"text": "boolean"
|
|
26516
|
-
},
|
|
26517
|
-
"default": "true"
|
|
26518
|
-
},
|
|
26519
|
-
{
|
|
26520
|
-
"kind": "field",
|
|
26521
|
-
"name": "closed",
|
|
26522
|
-
"type": {
|
|
26523
|
-
"text": "boolean"
|
|
26524
|
-
},
|
|
26525
|
-
"default": "true"
|
|
26526
|
-
},
|
|
26527
|
-
{
|
|
26528
|
-
"kind": "method",
|
|
26529
|
-
"name": "closedChanged"
|
|
26530
|
-
},
|
|
26531
|
-
{
|
|
26532
|
-
"kind": "field",
|
|
26533
|
-
"name": "visuallyhidden",
|
|
26534
|
-
"type": {
|
|
26535
|
-
"text": "boolean"
|
|
26536
|
-
},
|
|
26537
|
-
"default": "true"
|
|
26538
|
-
},
|
|
26539
|
-
{
|
|
26540
|
-
"kind": "method",
|
|
26541
|
-
"name": "closeFlyout"
|
|
26542
|
-
},
|
|
26543
|
-
{
|
|
26544
|
-
"kind": "method",
|
|
26545
|
-
"name": "closingFinished"
|
|
26546
|
-
},
|
|
26547
|
-
{
|
|
26548
|
-
"kind": "method",
|
|
26549
|
-
"name": "focusExit"
|
|
26550
|
-
},
|
|
26551
|
-
{
|
|
26552
|
-
"kind": "field",
|
|
26553
|
-
"name": "_presentation",
|
|
26554
|
-
"type": {
|
|
26555
|
-
"text": "ComponentPresentation | null | undefined"
|
|
26556
|
-
},
|
|
26557
|
-
"privacy": "private",
|
|
26558
|
-
"default": "void 0",
|
|
26559
|
-
"inheritedFrom": {
|
|
26560
|
-
"name": "FoundationElement",
|
|
26561
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
26562
|
-
}
|
|
26563
|
-
},
|
|
26564
|
-
{
|
|
26565
|
-
"kind": "field",
|
|
26566
|
-
"name": "$presentation",
|
|
26567
|
-
"type": {
|
|
26568
|
-
"text": "ComponentPresentation | null"
|
|
26569
|
-
},
|
|
26570
|
-
"privacy": "public",
|
|
26571
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
26572
|
-
"inheritedFrom": {
|
|
26573
|
-
"name": "FoundationElement",
|
|
26574
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
26575
|
-
}
|
|
26576
|
-
},
|
|
26577
|
-
{
|
|
26578
|
-
"kind": "field",
|
|
26579
|
-
"name": "template",
|
|
26580
|
-
"type": {
|
|
26581
|
-
"text": "ElementViewTemplate | void | null"
|
|
26582
|
-
},
|
|
26583
|
-
"privacy": "public",
|
|
26584
|
-
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
26585
|
-
"inheritedFrom": {
|
|
26586
|
-
"name": "FoundationElement",
|
|
26587
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
26588
|
-
}
|
|
26589
|
-
},
|
|
26590
|
-
{
|
|
26591
|
-
"kind": "method",
|
|
26592
|
-
"name": "templateChanged",
|
|
26593
|
-
"privacy": "protected",
|
|
26594
|
-
"return": {
|
|
26595
|
-
"type": {
|
|
26596
|
-
"text": "void"
|
|
26597
|
-
}
|
|
26598
|
-
},
|
|
26599
|
-
"inheritedFrom": {
|
|
26600
|
-
"name": "FoundationElement",
|
|
26601
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
26602
|
-
}
|
|
26603
|
-
},
|
|
26604
|
-
{
|
|
26605
|
-
"kind": "field",
|
|
26606
|
-
"name": "styles",
|
|
26607
|
-
"type": {
|
|
26608
|
-
"text": "ElementStyles | void | null"
|
|
26609
|
-
},
|
|
26610
|
-
"privacy": "public",
|
|
26611
|
-
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
26612
|
-
"inheritedFrom": {
|
|
26613
|
-
"name": "FoundationElement",
|
|
26614
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
26615
|
-
}
|
|
26616
|
-
},
|
|
26617
|
-
{
|
|
26618
|
-
"kind": "method",
|
|
26619
|
-
"name": "stylesChanged",
|
|
26620
|
-
"privacy": "protected",
|
|
26621
|
-
"return": {
|
|
26622
|
-
"type": {
|
|
26623
|
-
"text": "void"
|
|
26624
|
-
}
|
|
26625
|
-
},
|
|
26626
|
-
"inheritedFrom": {
|
|
26627
|
-
"name": "FoundationElement",
|
|
26628
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
26629
|
-
}
|
|
26630
|
-
},
|
|
26631
|
-
{
|
|
26632
|
-
"kind": "method",
|
|
26633
|
-
"name": "compose",
|
|
26634
|
-
"privacy": "public",
|
|
26635
|
-
"static": true,
|
|
26636
|
-
"return": {
|
|
26637
|
-
"type": {
|
|
26638
|
-
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
26639
|
-
}
|
|
26640
|
-
},
|
|
26641
|
-
"parameters": [
|
|
26642
|
-
{
|
|
26643
|
-
"name": "this",
|
|
26644
|
-
"type": {
|
|
26645
|
-
"text": "K"
|
|
26646
|
-
}
|
|
26647
|
-
},
|
|
26648
|
-
{
|
|
26649
|
-
"name": "elementDefinition",
|
|
26650
|
-
"type": {
|
|
26651
|
-
"text": "T"
|
|
26652
|
-
},
|
|
26653
|
-
"description": "The definition of the element to create the registry\nfunction for."
|
|
26654
|
-
}
|
|
26655
|
-
],
|
|
26656
|
-
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
26657
|
-
"inheritedFrom": {
|
|
26658
|
-
"name": "FoundationElement",
|
|
26659
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
26660
|
-
}
|
|
26661
|
-
}
|
|
26662
|
-
],
|
|
26663
|
-
"attributes": [
|
|
26664
|
-
{
|
|
26665
|
-
"name": "position",
|
|
26666
|
-
"type": {
|
|
26667
|
-
"text": "string"
|
|
26668
|
-
},
|
|
26669
|
-
"default": "'right'",
|
|
26670
|
-
"fieldName": "position"
|
|
26671
|
-
},
|
|
26672
|
-
{
|
|
26673
|
-
"type": {
|
|
26674
|
-
"text": "boolean"
|
|
26675
|
-
},
|
|
26676
|
-
"default": "true",
|
|
26677
|
-
"fieldName": "displayHeader"
|
|
26678
|
-
},
|
|
26679
|
-
{
|
|
26680
|
-
"type": {
|
|
26681
|
-
"text": "boolean"
|
|
26682
|
-
},
|
|
26683
|
-
"default": "true",
|
|
26684
|
-
"fieldName": "closed"
|
|
26685
|
-
},
|
|
26686
|
-
{
|
|
26687
|
-
"type": {
|
|
26688
|
-
"text": "boolean"
|
|
26689
|
-
},
|
|
26690
|
-
"default": "true",
|
|
26691
|
-
"fieldName": "visuallyhidden"
|
|
26692
|
-
}
|
|
26693
|
-
],
|
|
26694
|
-
"superclass": {
|
|
26695
|
-
"name": "FoundationElement",
|
|
26696
|
-
"package": "@microsoft/fast-foundation"
|
|
26697
|
-
},
|
|
26698
|
-
"tagName": "%%prefix%%-flyout",
|
|
26699
|
-
"customElement": true
|
|
26700
|
-
},
|
|
26701
|
-
{
|
|
26702
|
-
"kind": "variable",
|
|
26703
|
-
"name": "foundationFlyoutShadowOptions",
|
|
26704
|
-
"type": {
|
|
26705
|
-
"text": "ShadowRootInit"
|
|
26706
|
-
},
|
|
26707
|
-
"default": "undefined"
|
|
26708
|
-
},
|
|
26709
|
-
{
|
|
26710
|
-
"kind": "variable",
|
|
26711
|
-
"name": "defaultFlyoutConfig",
|
|
26712
|
-
"type": {
|
|
26713
|
-
"text": "object"
|
|
26714
|
-
},
|
|
26715
|
-
"default": "{}"
|
|
26716
|
-
},
|
|
26717
|
-
{
|
|
26718
|
-
"kind": "variable",
|
|
26719
|
-
"name": "foundationFlyout",
|
|
26720
|
-
"description": "The Foundation Flyout",
|
|
26721
|
-
"privacy": "public"
|
|
26722
|
-
}
|
|
26723
|
-
],
|
|
26724
|
-
"exports": [
|
|
26725
|
-
{
|
|
26726
|
-
"kind": "js",
|
|
26727
|
-
"name": "Flyout",
|
|
26728
|
-
"declaration": {
|
|
26729
|
-
"name": "Flyout",
|
|
26730
|
-
"module": "src/flyout/flyout.ts"
|
|
26731
|
-
}
|
|
26732
|
-
},
|
|
26733
|
-
{
|
|
26734
|
-
"kind": "js",
|
|
26735
|
-
"name": "foundationFlyoutShadowOptions",
|
|
26736
|
-
"declaration": {
|
|
26737
|
-
"name": "foundationFlyoutShadowOptions",
|
|
26738
|
-
"module": "src/flyout/flyout.ts"
|
|
26739
|
-
}
|
|
26740
|
-
},
|
|
26741
|
-
{
|
|
26742
|
-
"kind": "js",
|
|
26743
|
-
"name": "defaultFlyoutConfig",
|
|
26744
|
-
"declaration": {
|
|
26745
|
-
"name": "defaultFlyoutConfig",
|
|
26746
|
-
"module": "src/flyout/flyout.ts"
|
|
26747
|
-
}
|
|
26748
|
-
},
|
|
26749
|
-
{
|
|
26750
|
-
"kind": "js",
|
|
26751
|
-
"name": "foundationFlyout",
|
|
26752
|
-
"declaration": {
|
|
26753
|
-
"name": "foundationFlyout",
|
|
26754
|
-
"module": "src/flyout/flyout.ts"
|
|
26755
|
-
}
|
|
26756
|
-
}
|
|
26757
|
-
]
|
|
26758
|
-
},
|
|
26759
|
-
{
|
|
26760
|
-
"kind": "javascript-module",
|
|
26761
|
-
"path": "src/flyout/index.ts",
|
|
26762
|
-
"declarations": [],
|
|
26763
|
-
"exports": [
|
|
26764
|
-
{
|
|
26765
|
-
"kind": "js",
|
|
26766
|
-
"name": "*",
|
|
26767
|
-
"declaration": {
|
|
26768
|
-
"name": "*",
|
|
26769
|
-
"package": "./flyout"
|
|
26770
|
-
}
|
|
26771
|
-
},
|
|
26772
|
-
{
|
|
26773
|
-
"kind": "js",
|
|
26774
|
-
"name": "*",
|
|
26775
|
-
"declaration": {
|
|
26776
|
-
"name": "*",
|
|
26777
|
-
"package": "./flyout.template"
|
|
26778
|
-
}
|
|
26779
|
-
},
|
|
26780
|
-
{
|
|
26781
|
-
"kind": "js",
|
|
26782
|
-
"name": "*",
|
|
26783
|
-
"declaration": {
|
|
26784
|
-
"name": "*",
|
|
26785
|
-
"package": "./flyout.styles"
|
|
26786
|
-
}
|
|
26787
|
-
}
|
|
26788
|
-
]
|
|
26789
|
-
},
|
|
26790
26790
|
{
|
|
26791
26791
|
"kind": "javascript-module",
|
|
26792
26792
|
"path": "src/listbox/index.ts",
|
|
@@ -50264,7 +50264,7 @@
|
|
|
50264
50264
|
"type": {
|
|
50265
50265
|
"text": "ElementStyles"
|
|
50266
50266
|
},
|
|
50267
|
-
"default": "css`\n @keyframes append-animate {\n from {\n transform: translateX(100%);\n opacity: 0%;\n }\n\n to {\n transform: translateX(0%);\n opacity: 100%;\n }\n }\n\n @keyframes delete-animate {\n from {\n transform: translateX(0%);\n opacity: 100%;\n }\n\n to {\n transform: translateX(100%);\n opacity: 0%;\n }\n }\n\n :host {\n --toast-min-width: 356px;\n --toast-min-height: 128px;\n --toast-max-width: 356px;\n --toast-max-height: 272px;\n }\n\n .toast {\n animation: append-animate 0.3s linear;\n max-width: var(--toast-max-width);\n min-width: var(--toast-min-width);\n background-color: var(--fill-color);\n border-radius: calc(var(--control-corner-radius) * 1px);\n border-width: thin;\n border-color: var(--neutral-
|
|
50267
|
+
"default": "css`\n @keyframes append-animate {\n from {\n transform: translateX(100%);\n opacity: 0%;\n }\n\n to {\n transform: translateX(0%);\n opacity: 100%;\n }\n }\n\n @keyframes delete-animate {\n from {\n transform: translateX(0%);\n opacity: 100%;\n }\n\n to {\n transform: translateX(100%);\n opacity: 0%;\n }\n }\n\n :host {\n --toast-min-width: 356px;\n --toast-min-height: 128px;\n --toast-max-width: 356px;\n --toast-max-height: 272px;\n }\n\n .toast {\n animation: append-animate 0.3s linear;\n max-width: var(--toast-max-width);\n min-width: var(--toast-min-width);\n background-color: var(--fill-color);\n border-radius: calc(var(--control-corner-radius) * 1px);\n border-width: thin;\n border-color: var(--neutral-stroke-rest);\n box-shadow: 0 2px 15px 0 rgb(0 0 0 / 35%);\n display: flex;\n position: relative;\n flex-direction: row;\n padding: 8px 8px 8px 15px;\n margin: 5px;\n }\n\n .toast-delete {\n animation: delete-animate 0.3s linear;\n opacity: 0%;\n }\n\n .toast::after {\n content: '';\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n left: 5px;\n height: calc(100% - 10px);\n width: 4px;\n border-radius: 2px;\n background-color: red;\n }\n\n .content-wrapper {\n height: fit-content;\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: stretch;\n }\n\n .bottom {\n width: 70%;\n }\n\n .top {\n width: 100%;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n }\n\n .content {\n width: 85%;\n font-size: 12px;\n overflow-wrap: break-word;\n }\n\n ::slotted(*) {\n white-space: pre-line;\n }\n\n .date {\n color: var(--neutral-foreground-hint);\n font-size: 12px;\n margin: 0 0 5px;\n }\n\n .notification-icon {\n margin-right: 6px;\n }\n\n .close-icon {\n cursor: pointer;\n margin-left: auto;\n color: #879ba6;\n }\n`"
|
|
50268
50268
|
}
|
|
50269
50269
|
],
|
|
50270
50270
|
"exports": [
|