@genesislcap/foundation-ui 14.438.1 → 14.439.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.
- package/dist/custom-elements.json +710 -710
- package/dist/dts/react.d.ts +9 -9
- package/dist/react.cjs +6 -6
- package/dist/react.mjs +5 -5
- package/package.json +19 -19
|
@@ -1398,37 +1398,6 @@
|
|
|
1398
1398
|
}
|
|
1399
1399
|
]
|
|
1400
1400
|
},
|
|
1401
|
-
{
|
|
1402
|
-
"kind": "javascript-module",
|
|
1403
|
-
"path": "src/_config/index.ts",
|
|
1404
|
-
"declarations": [],
|
|
1405
|
-
"exports": [
|
|
1406
|
-
{
|
|
1407
|
-
"kind": "js",
|
|
1408
|
-
"name": "*",
|
|
1409
|
-
"declaration": {
|
|
1410
|
-
"name": "*",
|
|
1411
|
-
"package": "./styles"
|
|
1412
|
-
}
|
|
1413
|
-
},
|
|
1414
|
-
{
|
|
1415
|
-
"kind": "js",
|
|
1416
|
-
"name": "*",
|
|
1417
|
-
"declaration": {
|
|
1418
|
-
"name": "*",
|
|
1419
|
-
"package": "./tokens"
|
|
1420
|
-
}
|
|
1421
|
-
},
|
|
1422
|
-
{
|
|
1423
|
-
"kind": "js",
|
|
1424
|
-
"name": "*",
|
|
1425
|
-
"declaration": {
|
|
1426
|
-
"name": "*",
|
|
1427
|
-
"package": "./values"
|
|
1428
|
-
}
|
|
1429
|
-
}
|
|
1430
|
-
]
|
|
1431
|
-
},
|
|
1432
1401
|
{
|
|
1433
1402
|
"kind": "javascript-module",
|
|
1434
1403
|
"path": "src/accordion/accordion.styles.ts",
|
|
@@ -1944,6 +1913,37 @@
|
|
|
1944
1913
|
}
|
|
1945
1914
|
]
|
|
1946
1915
|
},
|
|
1916
|
+
{
|
|
1917
|
+
"kind": "javascript-module",
|
|
1918
|
+
"path": "src/_config/index.ts",
|
|
1919
|
+
"declarations": [],
|
|
1920
|
+
"exports": [
|
|
1921
|
+
{
|
|
1922
|
+
"kind": "js",
|
|
1923
|
+
"name": "*",
|
|
1924
|
+
"declaration": {
|
|
1925
|
+
"name": "*",
|
|
1926
|
+
"package": "./styles"
|
|
1927
|
+
}
|
|
1928
|
+
},
|
|
1929
|
+
{
|
|
1930
|
+
"kind": "js",
|
|
1931
|
+
"name": "*",
|
|
1932
|
+
"declaration": {
|
|
1933
|
+
"name": "*",
|
|
1934
|
+
"package": "./tokens"
|
|
1935
|
+
}
|
|
1936
|
+
},
|
|
1937
|
+
{
|
|
1938
|
+
"kind": "js",
|
|
1939
|
+
"name": "*",
|
|
1940
|
+
"declaration": {
|
|
1941
|
+
"name": "*",
|
|
1942
|
+
"package": "./values"
|
|
1943
|
+
}
|
|
1944
|
+
}
|
|
1945
|
+
]
|
|
1946
|
+
},
|
|
1947
1947
|
{
|
|
1948
1948
|
"kind": "javascript-module",
|
|
1949
1949
|
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
@@ -2340,115 +2340,203 @@
|
|
|
2340
2340
|
},
|
|
2341
2341
|
{
|
|
2342
2342
|
"kind": "javascript-module",
|
|
2343
|
-
"path": "src/
|
|
2343
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
2344
2344
|
"declarations": [
|
|
2345
2345
|
{
|
|
2346
|
-
"kind": "
|
|
2347
|
-
"name": "
|
|
2348
|
-
"
|
|
2346
|
+
"kind": "function",
|
|
2347
|
+
"name": "actionsMenuBaseStyles",
|
|
2348
|
+
"return": {
|
|
2349
|
+
"type": {
|
|
2350
|
+
"text": "ElementStyles"
|
|
2351
|
+
}
|
|
2352
|
+
},
|
|
2353
|
+
"parameters": [
|
|
2354
|
+
{
|
|
2355
|
+
"name": "context",
|
|
2356
|
+
"type": {
|
|
2357
|
+
"text": "ElementDefinitionContext"
|
|
2358
|
+
}
|
|
2359
|
+
},
|
|
2360
|
+
{
|
|
2361
|
+
"name": "definition",
|
|
2362
|
+
"type": {
|
|
2363
|
+
"text": "FoundationElementDefinition"
|
|
2364
|
+
}
|
|
2365
|
+
}
|
|
2366
|
+
]
|
|
2367
|
+
},
|
|
2368
|
+
{
|
|
2369
|
+
"kind": "function",
|
|
2370
|
+
"name": "foundationActionsMenuStyles",
|
|
2371
|
+
"return": {
|
|
2372
|
+
"type": {
|
|
2373
|
+
"text": "ElementStyles"
|
|
2374
|
+
}
|
|
2375
|
+
},
|
|
2376
|
+
"parameters": [
|
|
2377
|
+
{
|
|
2378
|
+
"name": "context",
|
|
2379
|
+
"type": {
|
|
2380
|
+
"text": "ElementDefinitionContext"
|
|
2381
|
+
}
|
|
2382
|
+
},
|
|
2383
|
+
{
|
|
2384
|
+
"name": "definition",
|
|
2385
|
+
"type": {
|
|
2386
|
+
"text": "FoundationElementDefinition"
|
|
2387
|
+
}
|
|
2388
|
+
}
|
|
2389
|
+
]
|
|
2349
2390
|
}
|
|
2350
2391
|
],
|
|
2351
2392
|
"exports": [
|
|
2352
2393
|
{
|
|
2353
2394
|
"kind": "js",
|
|
2354
|
-
"name": "
|
|
2395
|
+
"name": "actionsMenuBaseStyles",
|
|
2355
2396
|
"declaration": {
|
|
2356
|
-
"name": "
|
|
2357
|
-
"module": "src/
|
|
2397
|
+
"name": "actionsMenuBaseStyles",
|
|
2398
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2399
|
+
}
|
|
2400
|
+
},
|
|
2401
|
+
{
|
|
2402
|
+
"kind": "js",
|
|
2403
|
+
"name": "foundationActionsMenuStyles",
|
|
2404
|
+
"declaration": {
|
|
2405
|
+
"name": "foundationActionsMenuStyles",
|
|
2406
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2358
2407
|
}
|
|
2359
2408
|
}
|
|
2360
2409
|
]
|
|
2361
2410
|
},
|
|
2362
2411
|
{
|
|
2363
2412
|
"kind": "javascript-module",
|
|
2364
|
-
"path": "src/
|
|
2413
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
2365
2414
|
"declarations": [
|
|
2415
|
+
{
|
|
2416
|
+
"kind": "function",
|
|
2417
|
+
"name": "menuTemplate",
|
|
2418
|
+
"parameters": [
|
|
2419
|
+
{
|
|
2420
|
+
"name": "prefix",
|
|
2421
|
+
"type": {
|
|
2422
|
+
"text": "string"
|
|
2423
|
+
}
|
|
2424
|
+
}
|
|
2425
|
+
]
|
|
2426
|
+
},
|
|
2427
|
+
{
|
|
2428
|
+
"kind": "function",
|
|
2429
|
+
"name": "singleOptionTemplate",
|
|
2430
|
+
"parameters": [
|
|
2431
|
+
{
|
|
2432
|
+
"name": "prefix",
|
|
2433
|
+
"type": {
|
|
2434
|
+
"text": "string"
|
|
2435
|
+
}
|
|
2436
|
+
}
|
|
2437
|
+
]
|
|
2438
|
+
},
|
|
2366
2439
|
{
|
|
2367
2440
|
"kind": "variable",
|
|
2368
|
-
"name": "
|
|
2441
|
+
"name": "foundationActionsMenuTemplate",
|
|
2369
2442
|
"type": {
|
|
2370
|
-
"text": "ViewTemplate<
|
|
2443
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
2371
2444
|
},
|
|
2372
|
-
"default": "html`\n ${(x) =>
|
|
2445
|
+
"default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
|
|
2373
2446
|
}
|
|
2374
2447
|
],
|
|
2375
2448
|
"exports": [
|
|
2376
2449
|
{
|
|
2377
2450
|
"kind": "js",
|
|
2378
|
-
"name": "
|
|
2451
|
+
"name": "menuTemplate",
|
|
2379
2452
|
"declaration": {
|
|
2380
|
-
"name": "
|
|
2381
|
-
"module": "src/
|
|
2453
|
+
"name": "menuTemplate",
|
|
2454
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2455
|
+
}
|
|
2456
|
+
},
|
|
2457
|
+
{
|
|
2458
|
+
"kind": "js",
|
|
2459
|
+
"name": "singleOptionTemplate",
|
|
2460
|
+
"declaration": {
|
|
2461
|
+
"name": "singleOptionTemplate",
|
|
2462
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2463
|
+
}
|
|
2464
|
+
},
|
|
2465
|
+
{
|
|
2466
|
+
"kind": "js",
|
|
2467
|
+
"name": "foundationActionsMenuTemplate",
|
|
2468
|
+
"declaration": {
|
|
2469
|
+
"name": "foundationActionsMenuTemplate",
|
|
2470
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2382
2471
|
}
|
|
2383
2472
|
}
|
|
2384
2473
|
]
|
|
2385
2474
|
},
|
|
2386
2475
|
{
|
|
2387
2476
|
"kind": "javascript-module",
|
|
2388
|
-
"path": "src/
|
|
2477
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
2389
2478
|
"declarations": [
|
|
2390
2479
|
{
|
|
2391
2480
|
"kind": "class",
|
|
2392
|
-
"description": "
|
|
2393
|
-
"name": "
|
|
2481
|
+
"description": "",
|
|
2482
|
+
"name": "ActionsMenu",
|
|
2394
2483
|
"members": [
|
|
2395
2484
|
{
|
|
2396
2485
|
"kind": "field",
|
|
2397
|
-
"name": "
|
|
2486
|
+
"name": "actions",
|
|
2398
2487
|
"type": {
|
|
2399
|
-
"text": "
|
|
2488
|
+
"text": "ActionMenuItem[]"
|
|
2400
2489
|
}
|
|
2401
2490
|
},
|
|
2402
2491
|
{
|
|
2403
2492
|
"kind": "field",
|
|
2404
|
-
"name": "
|
|
2493
|
+
"name": "isVertical",
|
|
2405
2494
|
"type": {
|
|
2406
|
-
"text": "
|
|
2495
|
+
"text": "boolean"
|
|
2407
2496
|
},
|
|
2408
|
-
"default": "
|
|
2497
|
+
"default": "false"
|
|
2409
2498
|
},
|
|
2410
2499
|
{
|
|
2411
2500
|
"kind": "field",
|
|
2412
|
-
"name": "
|
|
2501
|
+
"name": "addDefaultActions",
|
|
2413
2502
|
"type": {
|
|
2414
2503
|
"text": "boolean"
|
|
2415
|
-
}
|
|
2504
|
+
},
|
|
2505
|
+
"default": "true"
|
|
2416
2506
|
},
|
|
2417
2507
|
{
|
|
2418
2508
|
"kind": "field",
|
|
2419
|
-
"name": "
|
|
2509
|
+
"name": "autoCloseOnAction",
|
|
2420
2510
|
"type": {
|
|
2421
|
-
"text": "
|
|
2511
|
+
"text": "boolean"
|
|
2422
2512
|
},
|
|
2423
|
-
"default": "
|
|
2513
|
+
"default": "true"
|
|
2424
2514
|
},
|
|
2425
2515
|
{
|
|
2426
2516
|
"kind": "field",
|
|
2427
|
-
"name": "
|
|
2517
|
+
"name": "classNames",
|
|
2428
2518
|
"type": {
|
|
2429
|
-
"text": "
|
|
2430
|
-
}
|
|
2431
|
-
"default": "false"
|
|
2519
|
+
"text": "string"
|
|
2520
|
+
}
|
|
2432
2521
|
},
|
|
2433
2522
|
{
|
|
2434
2523
|
"kind": "field",
|
|
2435
|
-
"name": "
|
|
2524
|
+
"name": "definition",
|
|
2436
2525
|
"type": {
|
|
2437
|
-
"text": "
|
|
2438
|
-
}
|
|
2439
|
-
"default": "null"
|
|
2526
|
+
"text": "any"
|
|
2527
|
+
}
|
|
2440
2528
|
},
|
|
2441
2529
|
{
|
|
2442
2530
|
"kind": "field",
|
|
2443
|
-
"name": "
|
|
2531
|
+
"name": "name",
|
|
2444
2532
|
"type": {
|
|
2445
|
-
"text": "
|
|
2533
|
+
"text": "string"
|
|
2446
2534
|
},
|
|
2447
|
-
"default": "
|
|
2535
|
+
"default": "'Actions'"
|
|
2448
2536
|
},
|
|
2449
2537
|
{
|
|
2450
2538
|
"kind": "field",
|
|
2451
|
-
"name": "
|
|
2539
|
+
"name": "open",
|
|
2452
2540
|
"type": {
|
|
2453
2541
|
"text": "boolean"
|
|
2454
2542
|
},
|
|
@@ -2456,15 +2544,14 @@
|
|
|
2456
2544
|
},
|
|
2457
2545
|
{
|
|
2458
2546
|
"kind": "field",
|
|
2459
|
-
"name": "
|
|
2547
|
+
"name": "buttonAppearance",
|
|
2460
2548
|
"type": {
|
|
2461
|
-
"text": "
|
|
2462
|
-
}
|
|
2463
|
-
"default": "[]"
|
|
2549
|
+
"text": "string"
|
|
2550
|
+
}
|
|
2464
2551
|
},
|
|
2465
2552
|
{
|
|
2466
2553
|
"kind": "field",
|
|
2467
|
-
"name": "
|
|
2554
|
+
"name": "hideDisabled",
|
|
2468
2555
|
"type": {
|
|
2469
2556
|
"text": "boolean"
|
|
2470
2557
|
},
|
|
@@ -2472,125 +2559,102 @@
|
|
|
2472
2559
|
},
|
|
2473
2560
|
{
|
|
2474
2561
|
"kind": "field",
|
|
2475
|
-
"name": "
|
|
2562
|
+
"name": "hideMenuSingleOption",
|
|
2476
2563
|
"type": {
|
|
2477
|
-
"text": "
|
|
2564
|
+
"text": "boolean"
|
|
2478
2565
|
},
|
|
2479
|
-
"
|
|
2566
|
+
"default": "false"
|
|
2480
2567
|
},
|
|
2481
2568
|
{
|
|
2482
2569
|
"kind": "field",
|
|
2483
|
-
"name": "
|
|
2570
|
+
"name": "singleOption",
|
|
2484
2571
|
"type": {
|
|
2485
|
-
"text": "
|
|
2486
|
-
}
|
|
2487
|
-
"privacy": "private",
|
|
2488
|
-
"default": "null"
|
|
2572
|
+
"text": "ActionMenuItem"
|
|
2573
|
+
}
|
|
2489
2574
|
},
|
|
2490
2575
|
{
|
|
2491
2576
|
"kind": "field",
|
|
2492
|
-
"name": "
|
|
2577
|
+
"name": "actionsMenu",
|
|
2493
2578
|
"type": {
|
|
2494
|
-
"text": "
|
|
2495
|
-
},
|
|
2496
|
-
"privacy": "private",
|
|
2497
|
-
"default": "null"
|
|
2498
|
-
},
|
|
2499
|
-
{
|
|
2500
|
-
"kind": "field",
|
|
2501
|
-
"name": "speechAvailable",
|
|
2502
|
-
"type": {
|
|
2503
|
-
"text": "boolean"
|
|
2504
|
-
},
|
|
2505
|
-
"readonly": true
|
|
2506
|
-
},
|
|
2507
|
-
{
|
|
2508
|
-
"kind": "field",
|
|
2509
|
-
"name": "criteriaChips",
|
|
2510
|
-
"type": {
|
|
2511
|
-
"text": "CriteriaChip[]"
|
|
2512
|
-
},
|
|
2513
|
-
"readonly": true
|
|
2514
|
-
},
|
|
2515
|
-
{
|
|
2516
|
-
"kind": "method",
|
|
2517
|
-
"name": "getFieldLabel",
|
|
2518
|
-
"privacy": "private",
|
|
2519
|
-
"return": {
|
|
2520
|
-
"type": {
|
|
2521
|
-
"text": "string"
|
|
2522
|
-
}
|
|
2523
|
-
},
|
|
2524
|
-
"parameters": [
|
|
2525
|
-
{
|
|
2526
|
-
"name": "fieldName",
|
|
2527
|
-
"type": {
|
|
2528
|
-
"text": "string"
|
|
2529
|
-
}
|
|
2530
|
-
}
|
|
2531
|
-
]
|
|
2532
|
-
},
|
|
2533
|
-
{
|
|
2534
|
-
"kind": "method",
|
|
2535
|
-
"name": "toggleCriteriaView",
|
|
2536
|
-
"return": {
|
|
2537
|
-
"type": {
|
|
2538
|
-
"text": "void"
|
|
2539
|
-
}
|
|
2579
|
+
"text": "HTMLElement"
|
|
2540
2580
|
}
|
|
2541
2581
|
},
|
|
2542
2582
|
{
|
|
2543
2583
|
"kind": "method",
|
|
2544
|
-
"name": "
|
|
2545
|
-
"
|
|
2546
|
-
"type": {
|
|
2547
|
-
"text": "void"
|
|
2548
|
-
}
|
|
2549
|
-
},
|
|
2584
|
+
"name": "definitionChanged",
|
|
2585
|
+
"privacy": "protected",
|
|
2550
2586
|
"parameters": [
|
|
2551
2587
|
{
|
|
2552
|
-
"name": "
|
|
2588
|
+
"name": "oldValue",
|
|
2553
2589
|
"type": {
|
|
2554
|
-
"text": "
|
|
2590
|
+
"text": "any"
|
|
2555
2591
|
}
|
|
2556
2592
|
},
|
|
2557
2593
|
{
|
|
2558
|
-
"name": "
|
|
2594
|
+
"name": "newValue",
|
|
2559
2595
|
"type": {
|
|
2560
|
-
"text": "
|
|
2596
|
+
"text": "any"
|
|
2561
2597
|
}
|
|
2562
2598
|
}
|
|
2563
2599
|
]
|
|
2564
2600
|
},
|
|
2565
2601
|
{
|
|
2566
2602
|
"kind": "method",
|
|
2567
|
-
"name": "
|
|
2568
|
-
"
|
|
2569
|
-
"type": {
|
|
2570
|
-
"text": "void"
|
|
2571
|
-
}
|
|
2572
|
-
}
|
|
2603
|
+
"name": "openChanged",
|
|
2604
|
+
"privacy": "protected"
|
|
2573
2605
|
},
|
|
2574
2606
|
{
|
|
2575
2607
|
"kind": "method",
|
|
2576
|
-
"name": "
|
|
2608
|
+
"name": "toggleActionsMenuVisibility"
|
|
2577
2609
|
},
|
|
2578
2610
|
{
|
|
2579
2611
|
"kind": "method",
|
|
2580
|
-
"name": "
|
|
2612
|
+
"name": "onActionMenuItemClick",
|
|
2613
|
+
"parameters": [
|
|
2614
|
+
{
|
|
2615
|
+
"name": "callback",
|
|
2616
|
+
"type": {
|
|
2617
|
+
"text": "(rowData) => void | any"
|
|
2618
|
+
}
|
|
2619
|
+
}
|
|
2620
|
+
]
|
|
2581
2621
|
},
|
|
2582
2622
|
{
|
|
2583
|
-
"kind": "
|
|
2584
|
-
"name": "
|
|
2623
|
+
"kind": "field",
|
|
2624
|
+
"name": "allActions",
|
|
2625
|
+
"type": {
|
|
2626
|
+
"text": "ActionMenuItem[]"
|
|
2627
|
+
},
|
|
2628
|
+
"readonly": true
|
|
2629
|
+
},
|
|
2630
|
+
{
|
|
2631
|
+
"kind": "field",
|
|
2632
|
+
"name": "rowData",
|
|
2633
|
+
"readonly": true
|
|
2585
2634
|
},
|
|
2586
2635
|
{
|
|
2587
2636
|
"kind": "method",
|
|
2588
|
-
"name": "
|
|
2637
|
+
"name": "getLabel",
|
|
2638
|
+
"parameters": [
|
|
2639
|
+
{
|
|
2640
|
+
"name": "name",
|
|
2641
|
+
"type": {
|
|
2642
|
+
"text": "string | ((rowData: any) => string)"
|
|
2643
|
+
}
|
|
2644
|
+
}
|
|
2645
|
+
]
|
|
2589
2646
|
},
|
|
2590
2647
|
{
|
|
2591
2648
|
"kind": "method",
|
|
2592
|
-
"name": "
|
|
2593
|
-
"
|
|
2649
|
+
"name": "getTemplate",
|
|
2650
|
+
"parameters": [
|
|
2651
|
+
{
|
|
2652
|
+
"name": "prefix",
|
|
2653
|
+
"type": {
|
|
2654
|
+
"text": "string"
|
|
2655
|
+
}
|
|
2656
|
+
}
|
|
2657
|
+
]
|
|
2594
2658
|
},
|
|
2595
2659
|
{
|
|
2596
2660
|
"kind": "field",
|
|
@@ -2704,320 +2768,188 @@
|
|
|
2704
2768
|
}
|
|
2705
2769
|
}
|
|
2706
2770
|
],
|
|
2707
|
-
"
|
|
2771
|
+
"attributes": [
|
|
2708
2772
|
{
|
|
2709
|
-
"
|
|
2710
|
-
"
|
|
2773
|
+
"name": "is-vertical",
|
|
2774
|
+
"type": {
|
|
2775
|
+
"text": "boolean"
|
|
2776
|
+
},
|
|
2777
|
+
"default": "false",
|
|
2778
|
+
"fieldName": "isVertical"
|
|
2711
2779
|
},
|
|
2712
2780
|
{
|
|
2713
|
-
"
|
|
2714
|
-
"
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2781
|
+
"name": "add-default-actions",
|
|
2782
|
+
"type": {
|
|
2783
|
+
"text": "boolean"
|
|
2784
|
+
},
|
|
2785
|
+
"default": "true",
|
|
2786
|
+
"fieldName": "addDefaultActions"
|
|
2787
|
+
},
|
|
2718
2788
|
{
|
|
2719
|
-
"name": "
|
|
2789
|
+
"name": "auto-close-on-action",
|
|
2790
|
+
"type": {
|
|
2791
|
+
"text": "boolean"
|
|
2792
|
+
},
|
|
2793
|
+
"default": "true",
|
|
2794
|
+
"fieldName": "autoCloseOnAction"
|
|
2795
|
+
},
|
|
2796
|
+
{
|
|
2797
|
+
"name": "name",
|
|
2720
2798
|
"type": {
|
|
2721
2799
|
"text": "string"
|
|
2722
2800
|
},
|
|
2723
|
-
"default": "'
|
|
2724
|
-
"fieldName": "
|
|
2801
|
+
"default": "'Actions'",
|
|
2802
|
+
"fieldName": "name"
|
|
2725
2803
|
},
|
|
2726
2804
|
{
|
|
2805
|
+
"name": "open",
|
|
2727
2806
|
"type": {
|
|
2728
2807
|
"text": "boolean"
|
|
2729
2808
|
},
|
|
2730
|
-
"
|
|
2809
|
+
"default": "false",
|
|
2810
|
+
"fieldName": "open"
|
|
2811
|
+
},
|
|
2812
|
+
{
|
|
2813
|
+
"name": "buttonAppearance",
|
|
2814
|
+
"type": {
|
|
2815
|
+
"text": "string"
|
|
2816
|
+
},
|
|
2817
|
+
"fieldName": "buttonAppearance"
|
|
2818
|
+
},
|
|
2819
|
+
{
|
|
2820
|
+
"name": "hide-disabled",
|
|
2821
|
+
"type": {
|
|
2822
|
+
"text": "boolean"
|
|
2823
|
+
},
|
|
2824
|
+
"default": "false",
|
|
2825
|
+
"fieldName": "hideDisabled"
|
|
2826
|
+
},
|
|
2827
|
+
{
|
|
2828
|
+
"name": "hide-menu-single-option",
|
|
2829
|
+
"type": {
|
|
2830
|
+
"text": "boolean"
|
|
2831
|
+
},
|
|
2832
|
+
"default": "false",
|
|
2833
|
+
"fieldName": "hideMenuSingleOption"
|
|
2731
2834
|
}
|
|
2732
2835
|
],
|
|
2733
2836
|
"superclass": {
|
|
2734
2837
|
"name": "FoundationElement",
|
|
2735
2838
|
"package": "@microsoft/fast-foundation"
|
|
2736
2839
|
},
|
|
2737
|
-
"tagName": "%%prefix%%-
|
|
2840
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
2738
2841
|
"customElement": true
|
|
2739
2842
|
},
|
|
2740
2843
|
{
|
|
2741
2844
|
"kind": "variable",
|
|
2742
|
-
"name": "
|
|
2743
|
-
"
|
|
2744
|
-
|
|
2745
|
-
},
|
|
2746
|
-
"default": "undefined"
|
|
2747
|
-
},
|
|
2748
|
-
{
|
|
2749
|
-
"kind": "variable",
|
|
2750
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2751
|
-
"type": {
|
|
2752
|
-
"text": "object"
|
|
2753
|
-
},
|
|
2754
|
-
"default": "{}"
|
|
2755
|
-
},
|
|
2756
|
-
{
|
|
2757
|
-
"kind": "variable",
|
|
2758
|
-
"name": "foundationAiCriteriaSearch"
|
|
2845
|
+
"name": "foundationActionsMenu",
|
|
2846
|
+
"description": "The Foundation Actions Menu",
|
|
2847
|
+
"privacy": "public"
|
|
2759
2848
|
}
|
|
2760
2849
|
],
|
|
2761
2850
|
"exports": [
|
|
2762
2851
|
{
|
|
2763
2852
|
"kind": "js",
|
|
2764
|
-
"name": "
|
|
2765
|
-
"declaration": {
|
|
2766
|
-
"name": "AiCriteriaSearch",
|
|
2767
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2768
|
-
}
|
|
2769
|
-
},
|
|
2770
|
-
{
|
|
2771
|
-
"kind": "js",
|
|
2772
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2773
|
-
"declaration": {
|
|
2774
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2775
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2776
|
-
}
|
|
2777
|
-
},
|
|
2778
|
-
{
|
|
2779
|
-
"kind": "js",
|
|
2780
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2853
|
+
"name": "ActionsMenu",
|
|
2781
2854
|
"declaration": {
|
|
2782
|
-
"name": "
|
|
2783
|
-
"module": "src/
|
|
2855
|
+
"name": "ActionsMenu",
|
|
2856
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2784
2857
|
}
|
|
2785
2858
|
},
|
|
2786
2859
|
{
|
|
2787
2860
|
"kind": "js",
|
|
2788
|
-
"name": "
|
|
2861
|
+
"name": "foundationActionsMenu",
|
|
2789
2862
|
"declaration": {
|
|
2790
|
-
"name": "
|
|
2791
|
-
"module": "src/
|
|
2863
|
+
"name": "foundationActionsMenu",
|
|
2864
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2792
2865
|
}
|
|
2793
2866
|
}
|
|
2794
2867
|
]
|
|
2795
2868
|
},
|
|
2796
2869
|
{
|
|
2797
2870
|
"kind": "javascript-module",
|
|
2798
|
-
"path": "src/
|
|
2871
|
+
"path": "src/actions-menu/index.ts",
|
|
2799
2872
|
"declarations": [],
|
|
2800
2873
|
"exports": [
|
|
2801
2874
|
{
|
|
2802
2875
|
"kind": "js",
|
|
2803
|
-
"name": "
|
|
2876
|
+
"name": "*",
|
|
2804
2877
|
"declaration": {
|
|
2805
|
-
"name": "
|
|
2806
|
-
"
|
|
2878
|
+
"name": "*",
|
|
2879
|
+
"package": "./actions-menu.styles"
|
|
2807
2880
|
}
|
|
2808
2881
|
},
|
|
2809
2882
|
{
|
|
2810
2883
|
"kind": "js",
|
|
2811
|
-
"name": "
|
|
2884
|
+
"name": "*",
|
|
2812
2885
|
"declaration": {
|
|
2813
|
-
"name": "
|
|
2814
|
-
"
|
|
2886
|
+
"name": "*",
|
|
2887
|
+
"package": "./actions-menu.template"
|
|
2815
2888
|
}
|
|
2816
2889
|
},
|
|
2817
2890
|
{
|
|
2818
2891
|
"kind": "js",
|
|
2819
|
-
"name": "
|
|
2892
|
+
"name": "*",
|
|
2820
2893
|
"declaration": {
|
|
2821
|
-
"name": "
|
|
2822
|
-
"
|
|
2894
|
+
"name": "*",
|
|
2895
|
+
"package": "./actions-menu"
|
|
2823
2896
|
}
|
|
2824
|
-
}
|
|
2897
|
+
}
|
|
2898
|
+
]
|
|
2899
|
+
},
|
|
2900
|
+
{
|
|
2901
|
+
"kind": "javascript-module",
|
|
2902
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
2903
|
+
"declarations": [
|
|
2825
2904
|
{
|
|
2826
|
-
"kind": "
|
|
2827
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2828
|
-
"declaration": {
|
|
2829
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2830
|
-
"module": "./ai-criteria-search"
|
|
2831
|
-
}
|
|
2832
|
-
},
|
|
2833
|
-
{
|
|
2834
|
-
"kind": "js",
|
|
2905
|
+
"kind": "variable",
|
|
2835
2906
|
"name": "foundationAiCriteriaSearchStyles",
|
|
2836
|
-
"
|
|
2837
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2838
|
-
"module": "./ai-criteria-search.styles"
|
|
2839
|
-
}
|
|
2840
|
-
},
|
|
2841
|
-
{
|
|
2842
|
-
"kind": "js",
|
|
2843
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2844
|
-
"declaration": {
|
|
2845
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2846
|
-
"module": "./ai-criteria-search.template"
|
|
2847
|
-
}
|
|
2848
|
-
},
|
|
2849
|
-
{
|
|
2850
|
-
"kind": "js",
|
|
2851
|
-
"name": "*",
|
|
2852
|
-
"declaration": {
|
|
2853
|
-
"name": "*",
|
|
2854
|
-
"package": "./validation/criteria-ir"
|
|
2855
|
-
}
|
|
2856
|
-
},
|
|
2857
|
-
{
|
|
2858
|
-
"kind": "js",
|
|
2859
|
-
"name": "*",
|
|
2860
|
-
"declaration": {
|
|
2861
|
-
"name": "*",
|
|
2862
|
-
"package": "./validation/operator-map"
|
|
2863
|
-
}
|
|
2864
|
-
},
|
|
2865
|
-
{
|
|
2866
|
-
"kind": "js",
|
|
2867
|
-
"name": "*",
|
|
2868
|
-
"declaration": {
|
|
2869
|
-
"name": "*",
|
|
2870
|
-
"package": "./validation/schema-validator"
|
|
2871
|
-
}
|
|
2872
|
-
}
|
|
2873
|
-
]
|
|
2874
|
-
},
|
|
2875
|
-
{
|
|
2876
|
-
"kind": "javascript-module",
|
|
2877
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
2878
|
-
"declarations": [
|
|
2879
|
-
{
|
|
2880
|
-
"kind": "function",
|
|
2881
|
-
"name": "formatValidationErrors",
|
|
2882
|
-
"return": {
|
|
2883
|
-
"type": {
|
|
2884
|
-
"text": "string"
|
|
2885
|
-
}
|
|
2886
|
-
},
|
|
2887
|
-
"parameters": [
|
|
2888
|
-
{
|
|
2889
|
-
"name": "errors",
|
|
2890
|
-
"type": {
|
|
2891
|
-
"text": "ValidationError[]"
|
|
2892
|
-
}
|
|
2893
|
-
}
|
|
2894
|
-
],
|
|
2895
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
2896
|
-
},
|
|
2897
|
-
{
|
|
2898
|
-
"kind": "function",
|
|
2899
|
-
"name": "showCriteriaError",
|
|
2900
|
-
"return": {
|
|
2901
|
-
"type": {
|
|
2902
|
-
"text": "void"
|
|
2903
|
-
}
|
|
2904
|
-
},
|
|
2905
|
-
"parameters": [
|
|
2906
|
-
{
|
|
2907
|
-
"name": "title",
|
|
2908
|
-
"type": {
|
|
2909
|
-
"text": "string"
|
|
2910
|
-
},
|
|
2911
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
2912
|
-
},
|
|
2913
|
-
{
|
|
2914
|
-
"name": "body",
|
|
2915
|
-
"type": {
|
|
2916
|
-
"text": "string"
|
|
2917
|
-
},
|
|
2918
|
-
"description": "Error message to display"
|
|
2919
|
-
},
|
|
2920
|
-
{
|
|
2921
|
-
"name": "tagName",
|
|
2922
|
-
"type": {
|
|
2923
|
-
"text": "string"
|
|
2924
|
-
},
|
|
2925
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
2926
|
-
}
|
|
2927
|
-
],
|
|
2928
|
-
"description": "Shows a criteria error as a toast notification."
|
|
2929
|
-
}
|
|
2930
|
-
],
|
|
2931
|
-
"exports": [
|
|
2932
|
-
{
|
|
2933
|
-
"kind": "js",
|
|
2934
|
-
"name": "formatValidationErrors",
|
|
2935
|
-
"declaration": {
|
|
2936
|
-
"name": "formatValidationErrors",
|
|
2937
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2938
|
-
}
|
|
2939
|
-
},
|
|
2940
|
-
{
|
|
2941
|
-
"kind": "js",
|
|
2942
|
-
"name": "showCriteriaError",
|
|
2943
|
-
"declaration": {
|
|
2944
|
-
"name": "showCriteriaError",
|
|
2945
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2946
|
-
}
|
|
2947
|
-
}
|
|
2948
|
-
]
|
|
2949
|
-
},
|
|
2950
|
-
{
|
|
2951
|
-
"kind": "javascript-module",
|
|
2952
|
-
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
2953
|
-
"declarations": [
|
|
2954
|
-
{
|
|
2955
|
-
"kind": "function",
|
|
2956
|
-
"name": "foundationAiIndicatorStyles",
|
|
2957
|
-
"return": {
|
|
2958
|
-
"type": {
|
|
2959
|
-
"text": "ElementStyles"
|
|
2960
|
-
}
|
|
2961
|
-
},
|
|
2962
|
-
"parameters": [
|
|
2963
|
-
{
|
|
2964
|
-
"name": "context",
|
|
2965
|
-
"type": {
|
|
2966
|
-
"text": "ElementDefinitionContext"
|
|
2967
|
-
}
|
|
2968
|
-
},
|
|
2969
|
-
{
|
|
2970
|
-
"name": "definition",
|
|
2971
|
-
"type": {
|
|
2972
|
-
"text": "FoundationElementDefinition"
|
|
2973
|
-
}
|
|
2974
|
-
}
|
|
2975
|
-
]
|
|
2907
|
+
"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 .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
|
|
2976
2908
|
}
|
|
2977
2909
|
],
|
|
2978
2910
|
"exports": [
|
|
2979
2911
|
{
|
|
2980
2912
|
"kind": "js",
|
|
2981
|
-
"name": "
|
|
2913
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2982
2914
|
"declaration": {
|
|
2983
|
-
"name": "
|
|
2984
|
-
"module": "src/ai-
|
|
2915
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2916
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
2985
2917
|
}
|
|
2986
2918
|
}
|
|
2987
2919
|
]
|
|
2988
2920
|
},
|
|
2989
2921
|
{
|
|
2990
2922
|
"kind": "javascript-module",
|
|
2991
|
-
"path": "src/ai-
|
|
2923
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
2992
2924
|
"declarations": [
|
|
2993
2925
|
{
|
|
2994
2926
|
"kind": "variable",
|
|
2995
|
-
"name": "
|
|
2927
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2996
2928
|
"type": {
|
|
2997
|
-
"text": "ViewTemplate<
|
|
2929
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
2998
2930
|
},
|
|
2999
|
-
"default": "html`\n ${(x) =>
|
|
2931
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
3000
2932
|
}
|
|
3001
2933
|
],
|
|
3002
2934
|
"exports": [
|
|
3003
2935
|
{
|
|
3004
2936
|
"kind": "js",
|
|
3005
|
-
"name": "
|
|
2937
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3006
2938
|
"declaration": {
|
|
3007
|
-
"name": "
|
|
3008
|
-
"module": "src/ai-
|
|
2939
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2940
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
3009
2941
|
}
|
|
3010
2942
|
}
|
|
3011
2943
|
]
|
|
3012
2944
|
},
|
|
3013
2945
|
{
|
|
3014
2946
|
"kind": "javascript-module",
|
|
3015
|
-
"path": "src/ai-
|
|
2947
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
3016
2948
|
"declarations": [
|
|
3017
2949
|
{
|
|
3018
2950
|
"kind": "class",
|
|
3019
|
-
"description": "",
|
|
3020
|
-
"name": "
|
|
2951
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2952
|
+
"name": "AiCriteriaSearch",
|
|
3021
2953
|
"members": [
|
|
3022
2954
|
{
|
|
3023
2955
|
"kind": "field",
|
|
@@ -3028,15 +2960,54 @@
|
|
|
3028
2960
|
},
|
|
3029
2961
|
{
|
|
3030
2962
|
"kind": "field",
|
|
3031
|
-
"name": "
|
|
2963
|
+
"name": "placeholder",
|
|
3032
2964
|
"type": {
|
|
3033
|
-
"text": "
|
|
2965
|
+
"text": "string"
|
|
2966
|
+
},
|
|
2967
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
2968
|
+
},
|
|
2969
|
+
{
|
|
2970
|
+
"kind": "field",
|
|
2971
|
+
"name": "disabled",
|
|
2972
|
+
"type": {
|
|
2973
|
+
"text": "boolean"
|
|
2974
|
+
}
|
|
2975
|
+
},
|
|
2976
|
+
{
|
|
2977
|
+
"kind": "field",
|
|
2978
|
+
"name": "inputValue",
|
|
2979
|
+
"type": {
|
|
2980
|
+
"text": "string"
|
|
2981
|
+
},
|
|
2982
|
+
"default": "''"
|
|
2983
|
+
},
|
|
2984
|
+
{
|
|
2985
|
+
"kind": "field",
|
|
2986
|
+
"name": "isInterpreting",
|
|
2987
|
+
"type": {
|
|
2988
|
+
"text": "boolean"
|
|
2989
|
+
},
|
|
2990
|
+
"default": "false"
|
|
2991
|
+
},
|
|
2992
|
+
{
|
|
2993
|
+
"kind": "field",
|
|
2994
|
+
"name": "lastValidCriteria",
|
|
2995
|
+
"type": {
|
|
2996
|
+
"text": "string | null"
|
|
3034
2997
|
},
|
|
3035
2998
|
"default": "null"
|
|
3036
2999
|
},
|
|
3037
3000
|
{
|
|
3038
3001
|
"kind": "field",
|
|
3039
|
-
"name": "
|
|
3002
|
+
"name": "activeGroups",
|
|
3003
|
+
"type": {
|
|
3004
|
+
"text": "CriteriaGroup[]"
|
|
3005
|
+
},
|
|
3006
|
+
"default": "[]"
|
|
3007
|
+
},
|
|
3008
|
+
{
|
|
3009
|
+
"kind": "field",
|
|
3010
|
+
"name": "showingChips",
|
|
3040
3011
|
"type": {
|
|
3041
3012
|
"text": "boolean"
|
|
3042
3013
|
},
|
|
@@ -3044,15 +3015,15 @@
|
|
|
3044
3015
|
},
|
|
3045
3016
|
{
|
|
3046
3017
|
"kind": "field",
|
|
3047
|
-
"name": "
|
|
3018
|
+
"name": "fieldMetadata",
|
|
3048
3019
|
"type": {
|
|
3049
|
-
"text": "
|
|
3020
|
+
"text": "MetadataDetail[] | string[]"
|
|
3050
3021
|
},
|
|
3051
|
-
"default": "
|
|
3022
|
+
"default": "[]"
|
|
3052
3023
|
},
|
|
3053
3024
|
{
|
|
3054
3025
|
"kind": "field",
|
|
3055
|
-
"name": "
|
|
3026
|
+
"name": "isRecording",
|
|
3056
3027
|
"type": {
|
|
3057
3028
|
"text": "boolean"
|
|
3058
3029
|
},
|
|
@@ -3060,29 +3031,33 @@
|
|
|
3060
3031
|
},
|
|
3061
3032
|
{
|
|
3062
3033
|
"kind": "field",
|
|
3063
|
-
"name": "
|
|
3034
|
+
"name": "textAreaRef",
|
|
3064
3035
|
"type": {
|
|
3065
|
-
"text": "
|
|
3036
|
+
"text": "HTMLTextAreaElement"
|
|
3066
3037
|
},
|
|
3067
|
-
"privacy": "
|
|
3068
|
-
"default": "null"
|
|
3038
|
+
"privacy": "public"
|
|
3069
3039
|
},
|
|
3070
3040
|
{
|
|
3071
3041
|
"kind": "field",
|
|
3072
|
-
"name": "
|
|
3073
|
-
"
|
|
3042
|
+
"name": "stopRecording",
|
|
3043
|
+
"type": {
|
|
3044
|
+
"text": "(() => void) | null"
|
|
3045
|
+
},
|
|
3046
|
+
"privacy": "private",
|
|
3047
|
+
"default": "null"
|
|
3074
3048
|
},
|
|
3075
3049
|
{
|
|
3076
3050
|
"kind": "field",
|
|
3077
|
-
"name": "
|
|
3051
|
+
"name": "speechApplyDebounceTimer",
|
|
3078
3052
|
"type": {
|
|
3079
|
-
"text": "
|
|
3053
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3080
3054
|
},
|
|
3081
|
-
"
|
|
3055
|
+
"privacy": "private",
|
|
3056
|
+
"default": "null"
|
|
3082
3057
|
},
|
|
3083
3058
|
{
|
|
3084
3059
|
"kind": "field",
|
|
3085
|
-
"name": "
|
|
3060
|
+
"name": "speechAvailable",
|
|
3086
3061
|
"type": {
|
|
3087
3062
|
"text": "boolean"
|
|
3088
3063
|
},
|
|
@@ -3090,69 +3065,65 @@
|
|
|
3090
3065
|
},
|
|
3091
3066
|
{
|
|
3092
3067
|
"kind": "field",
|
|
3093
|
-
"name": "
|
|
3068
|
+
"name": "criteriaChips",
|
|
3094
3069
|
"type": {
|
|
3095
|
-
"text": "
|
|
3070
|
+
"text": "CriteriaChip[]"
|
|
3096
3071
|
},
|
|
3097
3072
|
"readonly": true
|
|
3098
3073
|
},
|
|
3099
3074
|
{
|
|
3100
3075
|
"kind": "method",
|
|
3101
|
-
"name": "
|
|
3076
|
+
"name": "getFieldLabel",
|
|
3077
|
+
"privacy": "private",
|
|
3102
3078
|
"return": {
|
|
3103
3079
|
"type": {
|
|
3104
|
-
"text": "
|
|
3080
|
+
"text": "string"
|
|
3105
3081
|
}
|
|
3106
|
-
}
|
|
3107
|
-
},
|
|
3108
|
-
{
|
|
3109
|
-
"kind": "method",
|
|
3110
|
-
"name": "handleClickOutside",
|
|
3111
|
-
"privacy": "private",
|
|
3082
|
+
},
|
|
3112
3083
|
"parameters": [
|
|
3113
3084
|
{
|
|
3114
|
-
"name": "
|
|
3085
|
+
"name": "fieldName",
|
|
3115
3086
|
"type": {
|
|
3116
|
-
"text": "
|
|
3087
|
+
"text": "string"
|
|
3117
3088
|
}
|
|
3118
3089
|
}
|
|
3119
3090
|
]
|
|
3120
3091
|
},
|
|
3121
3092
|
{
|
|
3122
3093
|
"kind": "method",
|
|
3123
|
-
"name": "
|
|
3124
|
-
},
|
|
3125
|
-
{
|
|
3126
|
-
"kind": "method",
|
|
3127
|
-
"name": "refreshStatus",
|
|
3094
|
+
"name": "toggleCriteriaView",
|
|
3128
3095
|
"return": {
|
|
3129
3096
|
"type": {
|
|
3130
|
-
"text": "
|
|
3097
|
+
"text": "void"
|
|
3131
3098
|
}
|
|
3132
3099
|
}
|
|
3133
3100
|
},
|
|
3134
3101
|
{
|
|
3135
3102
|
"kind": "method",
|
|
3136
|
-
"name": "
|
|
3137
|
-
"privacy": "private",
|
|
3103
|
+
"name": "removeChip",
|
|
3138
3104
|
"return": {
|
|
3139
3105
|
"type": {
|
|
3140
|
-
"text": "
|
|
3106
|
+
"text": "void"
|
|
3141
3107
|
}
|
|
3142
3108
|
},
|
|
3143
3109
|
"parameters": [
|
|
3144
3110
|
{
|
|
3145
|
-
"name": "
|
|
3111
|
+
"name": "groupIndex",
|
|
3146
3112
|
"type": {
|
|
3147
|
-
"text": "
|
|
3113
|
+
"text": "number"
|
|
3114
|
+
}
|
|
3115
|
+
},
|
|
3116
|
+
{
|
|
3117
|
+
"name": "clauseIndex",
|
|
3118
|
+
"type": {
|
|
3119
|
+
"text": "number"
|
|
3148
3120
|
}
|
|
3149
3121
|
}
|
|
3150
3122
|
]
|
|
3151
3123
|
},
|
|
3152
3124
|
{
|
|
3153
3125
|
"kind": "method",
|
|
3154
|
-
"name": "
|
|
3155
|
-
"privacy": "private",
|
|
3126
|
+
"name": "clearChips",
|
|
3156
3127
|
"return": {
|
|
3157
3128
|
"type": {
|
|
3158
3129
|
"text": "void"
|
|
@@ -3161,32 +3132,24 @@
|
|
|
3161
3132
|
},
|
|
3162
3133
|
{
|
|
3163
3134
|
"kind": "method",
|
|
3164
|
-
"name": "
|
|
3165
|
-
"privacy": "private",
|
|
3166
|
-
"return": {
|
|
3167
|
-
"type": {
|
|
3168
|
-
"text": "void"
|
|
3169
|
-
}
|
|
3170
|
-
}
|
|
3135
|
+
"name": "handleSubmit"
|
|
3171
3136
|
},
|
|
3172
3137
|
{
|
|
3173
3138
|
"kind": "method",
|
|
3174
|
-
"name": "
|
|
3175
|
-
"privacy": "private",
|
|
3176
|
-
"return": {
|
|
3177
|
-
"type": {
|
|
3178
|
-
"text": "void"
|
|
3179
|
-
}
|
|
3180
|
-
}
|
|
3139
|
+
"name": "handleBlur"
|
|
3181
3140
|
},
|
|
3182
3141
|
{
|
|
3183
3142
|
"kind": "method",
|
|
3184
|
-
"name": "
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3143
|
+
"name": "clear"
|
|
3144
|
+
},
|
|
3145
|
+
{
|
|
3146
|
+
"kind": "method",
|
|
3147
|
+
"name": "toggleSpeechInput"
|
|
3148
|
+
},
|
|
3149
|
+
{
|
|
3150
|
+
"kind": "method",
|
|
3151
|
+
"name": "clearSpeechApplyDebounce",
|
|
3152
|
+
"privacy": "private"
|
|
3190
3153
|
},
|
|
3191
3154
|
{
|
|
3192
3155
|
"kind": "field",
|
|
@@ -3300,291 +3263,355 @@
|
|
|
3300
3263
|
}
|
|
3301
3264
|
}
|
|
3302
3265
|
],
|
|
3266
|
+
"events": [
|
|
3267
|
+
{
|
|
3268
|
+
"description": "Fired when interpreted criteria is applied or cleared",
|
|
3269
|
+
"name": "criteria-changed"
|
|
3270
|
+
},
|
|
3271
|
+
{
|
|
3272
|
+
"description": "Fired when interpreted criteria contains invalid clauses",
|
|
3273
|
+
"name": "validation-errors"
|
|
3274
|
+
}
|
|
3275
|
+
],
|
|
3276
|
+
"attributes": [
|
|
3277
|
+
{
|
|
3278
|
+
"name": "placeholder",
|
|
3279
|
+
"type": {
|
|
3280
|
+
"text": "string"
|
|
3281
|
+
},
|
|
3282
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
3283
|
+
"fieldName": "placeholder"
|
|
3284
|
+
},
|
|
3285
|
+
{
|
|
3286
|
+
"type": {
|
|
3287
|
+
"text": "boolean"
|
|
3288
|
+
},
|
|
3289
|
+
"fieldName": "disabled"
|
|
3290
|
+
}
|
|
3291
|
+
],
|
|
3303
3292
|
"superclass": {
|
|
3304
3293
|
"name": "FoundationElement",
|
|
3305
3294
|
"package": "@microsoft/fast-foundation"
|
|
3306
3295
|
},
|
|
3307
|
-
"tagName": "%%prefix%%-ai-
|
|
3296
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3308
3297
|
"customElement": true
|
|
3309
3298
|
},
|
|
3310
|
-
{
|
|
3311
|
-
"kind": "variable",
|
|
3312
|
-
"name": "
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
3299
|
+
{
|
|
3300
|
+
"kind": "variable",
|
|
3301
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3302
|
+
"type": {
|
|
3303
|
+
"text": "ShadowRootInit"
|
|
3304
|
+
},
|
|
3305
|
+
"default": "undefined"
|
|
3306
|
+
},
|
|
3307
|
+
{
|
|
3308
|
+
"kind": "variable",
|
|
3309
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3310
|
+
"type": {
|
|
3311
|
+
"text": "object"
|
|
3312
|
+
},
|
|
3313
|
+
"default": "{}"
|
|
3314
|
+
},
|
|
3315
|
+
{
|
|
3316
|
+
"kind": "variable",
|
|
3317
|
+
"name": "foundationAiCriteriaSearch"
|
|
3318
|
+
}
|
|
3319
|
+
],
|
|
3320
|
+
"exports": [
|
|
3321
|
+
{
|
|
3322
|
+
"kind": "js",
|
|
3323
|
+
"name": "AiCriteriaSearch",
|
|
3324
|
+
"declaration": {
|
|
3325
|
+
"name": "AiCriteriaSearch",
|
|
3326
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3327
|
+
}
|
|
3328
|
+
},
|
|
3329
|
+
{
|
|
3330
|
+
"kind": "js",
|
|
3331
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3332
|
+
"declaration": {
|
|
3333
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3334
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3335
|
+
}
|
|
3336
|
+
},
|
|
3316
3337
|
{
|
|
3317
3338
|
"kind": "js",
|
|
3318
|
-
"name": "
|
|
3339
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3319
3340
|
"declaration": {
|
|
3320
|
-
"name": "
|
|
3321
|
-
"module": "src/ai-
|
|
3341
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3342
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3322
3343
|
}
|
|
3323
3344
|
},
|
|
3324
3345
|
{
|
|
3325
3346
|
"kind": "js",
|
|
3326
|
-
"name": "
|
|
3347
|
+
"name": "foundationAiCriteriaSearch",
|
|
3327
3348
|
"declaration": {
|
|
3328
|
-
"name": "
|
|
3329
|
-
"module": "src/ai-
|
|
3349
|
+
"name": "foundationAiCriteriaSearch",
|
|
3350
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3330
3351
|
}
|
|
3331
3352
|
}
|
|
3332
3353
|
]
|
|
3333
3354
|
},
|
|
3334
3355
|
{
|
|
3335
3356
|
"kind": "javascript-module",
|
|
3336
|
-
"path": "src/ai-
|
|
3357
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
3337
3358
|
"declarations": [],
|
|
3338
3359
|
"exports": [
|
|
3339
3360
|
{
|
|
3340
3361
|
"kind": "js",
|
|
3341
|
-
"name": "
|
|
3362
|
+
"name": "AiCriteriaSearch",
|
|
3342
3363
|
"declaration": {
|
|
3343
|
-
"name": "
|
|
3344
|
-
"module": "./ai-
|
|
3364
|
+
"name": "AiCriteriaSearch",
|
|
3365
|
+
"module": "./ai-criteria-search"
|
|
3345
3366
|
}
|
|
3346
3367
|
},
|
|
3347
3368
|
{
|
|
3348
3369
|
"kind": "js",
|
|
3349
|
-
"name": "
|
|
3370
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3350
3371
|
"declaration": {
|
|
3351
|
-
"name": "
|
|
3352
|
-
"module": "./ai-
|
|
3372
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3373
|
+
"module": "./ai-criteria-search"
|
|
3353
3374
|
}
|
|
3354
3375
|
},
|
|
3355
3376
|
{
|
|
3356
3377
|
"kind": "js",
|
|
3357
|
-
"name": "
|
|
3378
|
+
"name": "foundationAiCriteriaSearch",
|
|
3358
3379
|
"declaration": {
|
|
3359
|
-
"name": "
|
|
3360
|
-
"module": "./ai-
|
|
3380
|
+
"name": "foundationAiCriteriaSearch",
|
|
3381
|
+
"module": "./ai-criteria-search"
|
|
3361
3382
|
}
|
|
3362
3383
|
},
|
|
3363
3384
|
{
|
|
3364
3385
|
"kind": "js",
|
|
3365
|
-
"name": "
|
|
3386
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3366
3387
|
"declaration": {
|
|
3367
|
-
"name": "
|
|
3368
|
-
"module": "./ai-
|
|
3388
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3389
|
+
"module": "./ai-criteria-search"
|
|
3369
3390
|
}
|
|
3370
3391
|
},
|
|
3371
3392
|
{
|
|
3372
3393
|
"kind": "js",
|
|
3373
|
-
"name": "
|
|
3394
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3374
3395
|
"declaration": {
|
|
3375
|
-
"name": "
|
|
3376
|
-
"module": "./ai-
|
|
3396
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3397
|
+
"module": "./ai-criteria-search.styles"
|
|
3377
3398
|
}
|
|
3378
3399
|
},
|
|
3379
3400
|
{
|
|
3380
3401
|
"kind": "js",
|
|
3381
|
-
"name": "
|
|
3402
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3382
3403
|
"declaration": {
|
|
3383
|
-
"name": "
|
|
3384
|
-
"module": "./ai-
|
|
3404
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3405
|
+
"module": "./ai-criteria-search.template"
|
|
3406
|
+
}
|
|
3407
|
+
},
|
|
3408
|
+
{
|
|
3409
|
+
"kind": "js",
|
|
3410
|
+
"name": "*",
|
|
3411
|
+
"declaration": {
|
|
3412
|
+
"name": "*",
|
|
3413
|
+
"package": "./validation/criteria-ir"
|
|
3414
|
+
}
|
|
3415
|
+
},
|
|
3416
|
+
{
|
|
3417
|
+
"kind": "js",
|
|
3418
|
+
"name": "*",
|
|
3419
|
+
"declaration": {
|
|
3420
|
+
"name": "*",
|
|
3421
|
+
"package": "./validation/operator-map"
|
|
3422
|
+
}
|
|
3423
|
+
},
|
|
3424
|
+
{
|
|
3425
|
+
"kind": "js",
|
|
3426
|
+
"name": "*",
|
|
3427
|
+
"declaration": {
|
|
3428
|
+
"name": "*",
|
|
3429
|
+
"package": "./validation/schema-validator"
|
|
3385
3430
|
}
|
|
3386
3431
|
}
|
|
3387
3432
|
]
|
|
3388
3433
|
},
|
|
3389
3434
|
{
|
|
3390
3435
|
"kind": "javascript-module",
|
|
3391
|
-
"path": "src/
|
|
3436
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3392
3437
|
"declarations": [
|
|
3393
3438
|
{
|
|
3394
3439
|
"kind": "function",
|
|
3395
|
-
"name": "
|
|
3440
|
+
"name": "formatValidationErrors",
|
|
3396
3441
|
"return": {
|
|
3397
3442
|
"type": {
|
|
3398
|
-
"text": "
|
|
3443
|
+
"text": "string"
|
|
3399
3444
|
}
|
|
3400
3445
|
},
|
|
3401
3446
|
"parameters": [
|
|
3402
3447
|
{
|
|
3403
|
-
"name": "
|
|
3404
|
-
"type": {
|
|
3405
|
-
"text": "ElementDefinitionContext"
|
|
3406
|
-
}
|
|
3407
|
-
},
|
|
3408
|
-
{
|
|
3409
|
-
"name": "definition",
|
|
3448
|
+
"name": "errors",
|
|
3410
3449
|
"type": {
|
|
3411
|
-
"text": "
|
|
3450
|
+
"text": "ValidationError[]"
|
|
3412
3451
|
}
|
|
3413
3452
|
}
|
|
3414
|
-
]
|
|
3453
|
+
],
|
|
3454
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
3415
3455
|
},
|
|
3416
3456
|
{
|
|
3417
3457
|
"kind": "function",
|
|
3418
|
-
"name": "
|
|
3458
|
+
"name": "showCriteriaError",
|
|
3419
3459
|
"return": {
|
|
3420
3460
|
"type": {
|
|
3421
|
-
"text": "
|
|
3461
|
+
"text": "void"
|
|
3422
3462
|
}
|
|
3423
3463
|
},
|
|
3424
3464
|
"parameters": [
|
|
3425
3465
|
{
|
|
3426
|
-
"name": "
|
|
3466
|
+
"name": "title",
|
|
3427
3467
|
"type": {
|
|
3428
|
-
"text": "
|
|
3429
|
-
}
|
|
3468
|
+
"text": "string"
|
|
3469
|
+
},
|
|
3470
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3430
3471
|
},
|
|
3431
3472
|
{
|
|
3432
|
-
"name": "
|
|
3473
|
+
"name": "body",
|
|
3433
3474
|
"type": {
|
|
3434
|
-
"text": "
|
|
3435
|
-
}
|
|
3475
|
+
"text": "string"
|
|
3476
|
+
},
|
|
3477
|
+
"description": "Error message to display"
|
|
3478
|
+
},
|
|
3479
|
+
{
|
|
3480
|
+
"name": "tagName",
|
|
3481
|
+
"type": {
|
|
3482
|
+
"text": "string"
|
|
3483
|
+
},
|
|
3484
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3436
3485
|
}
|
|
3437
|
-
]
|
|
3486
|
+
],
|
|
3487
|
+
"description": "Shows a criteria error as a toast notification."
|
|
3438
3488
|
}
|
|
3439
3489
|
],
|
|
3440
3490
|
"exports": [
|
|
3441
3491
|
{
|
|
3442
3492
|
"kind": "js",
|
|
3443
|
-
"name": "
|
|
3493
|
+
"name": "formatValidationErrors",
|
|
3444
3494
|
"declaration": {
|
|
3445
|
-
"name": "
|
|
3446
|
-
"module": "src/
|
|
3495
|
+
"name": "formatValidationErrors",
|
|
3496
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3447
3497
|
}
|
|
3448
3498
|
},
|
|
3449
3499
|
{
|
|
3450
3500
|
"kind": "js",
|
|
3451
|
-
"name": "
|
|
3501
|
+
"name": "showCriteriaError",
|
|
3452
3502
|
"declaration": {
|
|
3453
|
-
"name": "
|
|
3454
|
-
"module": "src/
|
|
3503
|
+
"name": "showCriteriaError",
|
|
3504
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3455
3505
|
}
|
|
3456
3506
|
}
|
|
3457
3507
|
]
|
|
3458
3508
|
},
|
|
3459
3509
|
{
|
|
3460
3510
|
"kind": "javascript-module",
|
|
3461
|
-
"path": "src/
|
|
3511
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
3462
3512
|
"declarations": [
|
|
3463
3513
|
{
|
|
3464
3514
|
"kind": "function",
|
|
3465
|
-
"name": "
|
|
3515
|
+
"name": "foundationAiIndicatorStyles",
|
|
3516
|
+
"return": {
|
|
3517
|
+
"type": {
|
|
3518
|
+
"text": "ElementStyles"
|
|
3519
|
+
}
|
|
3520
|
+
},
|
|
3466
3521
|
"parameters": [
|
|
3467
3522
|
{
|
|
3468
|
-
"name": "
|
|
3523
|
+
"name": "context",
|
|
3469
3524
|
"type": {
|
|
3470
|
-
"text": "
|
|
3525
|
+
"text": "ElementDefinitionContext"
|
|
3471
3526
|
}
|
|
3472
|
-
}
|
|
3473
|
-
]
|
|
3474
|
-
},
|
|
3475
|
-
{
|
|
3476
|
-
"kind": "function",
|
|
3477
|
-
"name": "singleOptionTemplate",
|
|
3478
|
-
"parameters": [
|
|
3527
|
+
},
|
|
3479
3528
|
{
|
|
3480
|
-
"name": "
|
|
3529
|
+
"name": "definition",
|
|
3481
3530
|
"type": {
|
|
3482
|
-
"text": "
|
|
3531
|
+
"text": "FoundationElementDefinition"
|
|
3483
3532
|
}
|
|
3484
3533
|
}
|
|
3485
3534
|
]
|
|
3486
|
-
},
|
|
3487
|
-
{
|
|
3488
|
-
"kind": "variable",
|
|
3489
|
-
"name": "foundationActionsMenuTemplate",
|
|
3490
|
-
"type": {
|
|
3491
|
-
"text": "ViewTemplate<ActionsMenu>"
|
|
3492
|
-
},
|
|
3493
|
-
"default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
|
|
3494
3535
|
}
|
|
3495
3536
|
],
|
|
3496
3537
|
"exports": [
|
|
3497
3538
|
{
|
|
3498
3539
|
"kind": "js",
|
|
3499
|
-
"name": "
|
|
3540
|
+
"name": "foundationAiIndicatorStyles",
|
|
3500
3541
|
"declaration": {
|
|
3501
|
-
"name": "
|
|
3502
|
-
"module": "src/
|
|
3542
|
+
"name": "foundationAiIndicatorStyles",
|
|
3543
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
3503
3544
|
}
|
|
3504
|
-
}
|
|
3545
|
+
}
|
|
3546
|
+
]
|
|
3547
|
+
},
|
|
3548
|
+
{
|
|
3549
|
+
"kind": "javascript-module",
|
|
3550
|
+
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
3551
|
+
"declarations": [
|
|
3505
3552
|
{
|
|
3506
|
-
"kind": "
|
|
3507
|
-
"name": "
|
|
3508
|
-
"
|
|
3509
|
-
"
|
|
3510
|
-
|
|
3511
|
-
}
|
|
3512
|
-
}
|
|
3553
|
+
"kind": "variable",
|
|
3554
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3555
|
+
"type": {
|
|
3556
|
+
"text": "ViewTemplate<AiIndicator>"
|
|
3557
|
+
},
|
|
3558
|
+
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
3559
|
+
}
|
|
3560
|
+
],
|
|
3561
|
+
"exports": [
|
|
3513
3562
|
{
|
|
3514
3563
|
"kind": "js",
|
|
3515
|
-
"name": "
|
|
3564
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3516
3565
|
"declaration": {
|
|
3517
|
-
"name": "
|
|
3518
|
-
"module": "src/
|
|
3566
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3567
|
+
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
3519
3568
|
}
|
|
3520
3569
|
}
|
|
3521
3570
|
]
|
|
3522
3571
|
},
|
|
3523
3572
|
{
|
|
3524
3573
|
"kind": "javascript-module",
|
|
3525
|
-
"path": "src/
|
|
3574
|
+
"path": "src/ai-indicator/ai-indicator.ts",
|
|
3526
3575
|
"declarations": [
|
|
3527
3576
|
{
|
|
3528
3577
|
"kind": "class",
|
|
3529
3578
|
"description": "",
|
|
3530
|
-
"name": "
|
|
3579
|
+
"name": "AiIndicator",
|
|
3531
3580
|
"members": [
|
|
3532
3581
|
{
|
|
3533
3582
|
"kind": "field",
|
|
3534
|
-
"name": "
|
|
3583
|
+
"name": "aiProvider",
|
|
3535
3584
|
"type": {
|
|
3536
|
-
"text": "
|
|
3585
|
+
"text": "AIProvider"
|
|
3537
3586
|
}
|
|
3538
3587
|
},
|
|
3539
3588
|
{
|
|
3540
3589
|
"kind": "field",
|
|
3541
|
-
"name": "
|
|
3542
|
-
"type": {
|
|
3543
|
-
"text": "boolean"
|
|
3544
|
-
},
|
|
3545
|
-
"default": "false"
|
|
3546
|
-
},
|
|
3547
|
-
{
|
|
3548
|
-
"kind": "field",
|
|
3549
|
-
"name": "addDefaultActions",
|
|
3590
|
+
"name": "status",
|
|
3550
3591
|
"type": {
|
|
3551
|
-
"text": "
|
|
3592
|
+
"text": "AIStatus | null"
|
|
3552
3593
|
},
|
|
3553
|
-
"default": "
|
|
3594
|
+
"default": "null"
|
|
3554
3595
|
},
|
|
3555
3596
|
{
|
|
3556
3597
|
"kind": "field",
|
|
3557
|
-
"name": "
|
|
3598
|
+
"name": "open",
|
|
3558
3599
|
"type": {
|
|
3559
3600
|
"text": "boolean"
|
|
3560
3601
|
},
|
|
3561
|
-
"default": "
|
|
3562
|
-
},
|
|
3563
|
-
{
|
|
3564
|
-
"kind": "field",
|
|
3565
|
-
"name": "classNames",
|
|
3566
|
-
"type": {
|
|
3567
|
-
"text": "string"
|
|
3568
|
-
}
|
|
3569
|
-
},
|
|
3570
|
-
{
|
|
3571
|
-
"kind": "field",
|
|
3572
|
-
"name": "definition",
|
|
3573
|
-
"type": {
|
|
3574
|
-
"text": "any"
|
|
3575
|
-
}
|
|
3602
|
+
"default": "false"
|
|
3576
3603
|
},
|
|
3577
3604
|
{
|
|
3578
3605
|
"kind": "field",
|
|
3579
|
-
"name": "
|
|
3606
|
+
"name": "state",
|
|
3580
3607
|
"type": {
|
|
3581
|
-
"text": "
|
|
3608
|
+
"text": "AIIndicatorState"
|
|
3582
3609
|
},
|
|
3583
|
-
"default": "'
|
|
3610
|
+
"default": "'none'"
|
|
3584
3611
|
},
|
|
3585
3612
|
{
|
|
3586
3613
|
"kind": "field",
|
|
3587
|
-
"name": "
|
|
3614
|
+
"name": "isInstalling",
|
|
3588
3615
|
"type": {
|
|
3589
3616
|
"text": "boolean"
|
|
3590
3617
|
},
|
|
@@ -3592,117 +3619,133 @@
|
|
|
3592
3619
|
},
|
|
3593
3620
|
{
|
|
3594
3621
|
"kind": "field",
|
|
3595
|
-
"name": "
|
|
3622
|
+
"name": "pollTimer",
|
|
3596
3623
|
"type": {
|
|
3597
|
-
"text": "
|
|
3598
|
-
}
|
|
3624
|
+
"text": "ReturnType<typeof setInterval> | null"
|
|
3625
|
+
},
|
|
3626
|
+
"privacy": "private",
|
|
3627
|
+
"default": "null"
|
|
3599
3628
|
},
|
|
3600
3629
|
{
|
|
3601
3630
|
"kind": "field",
|
|
3602
|
-
"name": "
|
|
3631
|
+
"name": "clickOutside",
|
|
3632
|
+
"privacy": "private"
|
|
3633
|
+
},
|
|
3634
|
+
{
|
|
3635
|
+
"kind": "field",
|
|
3636
|
+
"name": "chromeStatusLabel",
|
|
3603
3637
|
"type": {
|
|
3604
|
-
"text": "
|
|
3638
|
+
"text": "string | null"
|
|
3605
3639
|
},
|
|
3606
|
-
"
|
|
3640
|
+
"readonly": true
|
|
3607
3641
|
},
|
|
3608
3642
|
{
|
|
3609
3643
|
"kind": "field",
|
|
3610
|
-
"name": "
|
|
3644
|
+
"name": "canInstall",
|
|
3611
3645
|
"type": {
|
|
3612
3646
|
"text": "boolean"
|
|
3613
3647
|
},
|
|
3614
|
-
"
|
|
3648
|
+
"readonly": true
|
|
3615
3649
|
},
|
|
3616
3650
|
{
|
|
3617
3651
|
"kind": "field",
|
|
3618
|
-
"name": "
|
|
3652
|
+
"name": "isDownloading",
|
|
3619
3653
|
"type": {
|
|
3620
|
-
"text": "
|
|
3621
|
-
}
|
|
3654
|
+
"text": "boolean"
|
|
3655
|
+
},
|
|
3656
|
+
"readonly": true
|
|
3622
3657
|
},
|
|
3623
3658
|
{
|
|
3624
|
-
"kind": "
|
|
3625
|
-
"name": "
|
|
3626
|
-
"
|
|
3627
|
-
"
|
|
3659
|
+
"kind": "method",
|
|
3660
|
+
"name": "openChanged",
|
|
3661
|
+
"return": {
|
|
3662
|
+
"type": {
|
|
3663
|
+
"text": "void"
|
|
3664
|
+
}
|
|
3628
3665
|
}
|
|
3629
3666
|
},
|
|
3630
3667
|
{
|
|
3631
3668
|
"kind": "method",
|
|
3632
|
-
"name": "
|
|
3633
|
-
"privacy": "
|
|
3669
|
+
"name": "handleClickOutside",
|
|
3670
|
+
"privacy": "private",
|
|
3634
3671
|
"parameters": [
|
|
3635
3672
|
{
|
|
3636
|
-
"name": "
|
|
3637
|
-
"type": {
|
|
3638
|
-
"text": "any"
|
|
3639
|
-
}
|
|
3640
|
-
},
|
|
3641
|
-
{
|
|
3642
|
-
"name": "newValue",
|
|
3673
|
+
"name": "event",
|
|
3643
3674
|
"type": {
|
|
3644
|
-
"text": "
|
|
3675
|
+
"text": "MouseEvent"
|
|
3645
3676
|
}
|
|
3646
3677
|
}
|
|
3647
3678
|
]
|
|
3648
3679
|
},
|
|
3649
3680
|
{
|
|
3650
3681
|
"kind": "method",
|
|
3651
|
-
"name": "
|
|
3652
|
-
"privacy": "protected"
|
|
3682
|
+
"name": "toggleDropdown"
|
|
3653
3683
|
},
|
|
3654
3684
|
{
|
|
3655
3685
|
"kind": "method",
|
|
3656
|
-
"name": "
|
|
3686
|
+
"name": "refreshStatus",
|
|
3687
|
+
"return": {
|
|
3688
|
+
"type": {
|
|
3689
|
+
"text": "Promise<void>"
|
|
3690
|
+
}
|
|
3691
|
+
}
|
|
3657
3692
|
},
|
|
3658
3693
|
{
|
|
3659
3694
|
"kind": "method",
|
|
3660
|
-
"name": "
|
|
3695
|
+
"name": "deriveState",
|
|
3696
|
+
"privacy": "private",
|
|
3697
|
+
"return": {
|
|
3698
|
+
"type": {
|
|
3699
|
+
"text": "AIIndicatorState"
|
|
3700
|
+
}
|
|
3701
|
+
},
|
|
3661
3702
|
"parameters": [
|
|
3662
3703
|
{
|
|
3663
|
-
"name": "
|
|
3704
|
+
"name": "s",
|
|
3664
3705
|
"type": {
|
|
3665
|
-
"text": "
|
|
3706
|
+
"text": "AIStatus | null"
|
|
3666
3707
|
}
|
|
3667
3708
|
}
|
|
3668
3709
|
]
|
|
3669
3710
|
},
|
|
3670
3711
|
{
|
|
3671
|
-
"kind": "
|
|
3672
|
-
"name": "
|
|
3673
|
-
"
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
|
|
3712
|
+
"kind": "method",
|
|
3713
|
+
"name": "maybeStartPolling",
|
|
3714
|
+
"privacy": "private",
|
|
3715
|
+
"return": {
|
|
3716
|
+
"type": {
|
|
3717
|
+
"text": "void"
|
|
3718
|
+
}
|
|
3719
|
+
}
|
|
3677
3720
|
},
|
|
3678
3721
|
{
|
|
3679
|
-
"kind": "
|
|
3680
|
-
"name": "
|
|
3681
|
-
"
|
|
3722
|
+
"kind": "method",
|
|
3723
|
+
"name": "startPolling",
|
|
3724
|
+
"privacy": "private",
|
|
3725
|
+
"return": {
|
|
3726
|
+
"type": {
|
|
3727
|
+
"text": "void"
|
|
3728
|
+
}
|
|
3729
|
+
}
|
|
3682
3730
|
},
|
|
3683
3731
|
{
|
|
3684
3732
|
"kind": "method",
|
|
3685
|
-
"name": "
|
|
3686
|
-
"
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
"
|
|
3690
|
-
"text": "string | ((rowData: any) => string)"
|
|
3691
|
-
}
|
|
3733
|
+
"name": "stopPolling",
|
|
3734
|
+
"privacy": "private",
|
|
3735
|
+
"return": {
|
|
3736
|
+
"type": {
|
|
3737
|
+
"text": "void"
|
|
3692
3738
|
}
|
|
3693
|
-
|
|
3739
|
+
}
|
|
3694
3740
|
},
|
|
3695
3741
|
{
|
|
3696
3742
|
"kind": "method",
|
|
3697
|
-
"name": "
|
|
3698
|
-
"
|
|
3699
|
-
{
|
|
3700
|
-
"
|
|
3701
|
-
"type": {
|
|
3702
|
-
"text": "string"
|
|
3703
|
-
}
|
|
3743
|
+
"name": "onInstall",
|
|
3744
|
+
"return": {
|
|
3745
|
+
"type": {
|
|
3746
|
+
"text": "Promise<void>"
|
|
3704
3747
|
}
|
|
3705
|
-
|
|
3748
|
+
}
|
|
3706
3749
|
},
|
|
3707
3750
|
{
|
|
3708
3751
|
"kind": "field",
|
|
@@ -3816,131 +3859,88 @@
|
|
|
3816
3859
|
}
|
|
3817
3860
|
}
|
|
3818
3861
|
],
|
|
3819
|
-
"attributes": [
|
|
3820
|
-
{
|
|
3821
|
-
"name": "is-vertical",
|
|
3822
|
-
"type": {
|
|
3823
|
-
"text": "boolean"
|
|
3824
|
-
},
|
|
3825
|
-
"default": "false",
|
|
3826
|
-
"fieldName": "isVertical"
|
|
3827
|
-
},
|
|
3828
|
-
{
|
|
3829
|
-
"name": "add-default-actions",
|
|
3830
|
-
"type": {
|
|
3831
|
-
"text": "boolean"
|
|
3832
|
-
},
|
|
3833
|
-
"default": "true",
|
|
3834
|
-
"fieldName": "addDefaultActions"
|
|
3835
|
-
},
|
|
3836
|
-
{
|
|
3837
|
-
"name": "auto-close-on-action",
|
|
3838
|
-
"type": {
|
|
3839
|
-
"text": "boolean"
|
|
3840
|
-
},
|
|
3841
|
-
"default": "true",
|
|
3842
|
-
"fieldName": "autoCloseOnAction"
|
|
3843
|
-
},
|
|
3844
|
-
{
|
|
3845
|
-
"name": "name",
|
|
3846
|
-
"type": {
|
|
3847
|
-
"text": "string"
|
|
3848
|
-
},
|
|
3849
|
-
"default": "'Actions'",
|
|
3850
|
-
"fieldName": "name"
|
|
3851
|
-
},
|
|
3852
|
-
{
|
|
3853
|
-
"name": "open",
|
|
3854
|
-
"type": {
|
|
3855
|
-
"text": "boolean"
|
|
3856
|
-
},
|
|
3857
|
-
"default": "false",
|
|
3858
|
-
"fieldName": "open"
|
|
3859
|
-
},
|
|
3860
|
-
{
|
|
3861
|
-
"name": "buttonAppearance",
|
|
3862
|
-
"type": {
|
|
3863
|
-
"text": "string"
|
|
3864
|
-
},
|
|
3865
|
-
"fieldName": "buttonAppearance"
|
|
3866
|
-
},
|
|
3867
|
-
{
|
|
3868
|
-
"name": "hide-disabled",
|
|
3869
|
-
"type": {
|
|
3870
|
-
"text": "boolean"
|
|
3871
|
-
},
|
|
3872
|
-
"default": "false",
|
|
3873
|
-
"fieldName": "hideDisabled"
|
|
3874
|
-
},
|
|
3875
|
-
{
|
|
3876
|
-
"name": "hide-menu-single-option",
|
|
3877
|
-
"type": {
|
|
3878
|
-
"text": "boolean"
|
|
3879
|
-
},
|
|
3880
|
-
"default": "false",
|
|
3881
|
-
"fieldName": "hideMenuSingleOption"
|
|
3882
|
-
}
|
|
3883
|
-
],
|
|
3884
3862
|
"superclass": {
|
|
3885
3863
|
"name": "FoundationElement",
|
|
3886
3864
|
"package": "@microsoft/fast-foundation"
|
|
3887
3865
|
},
|
|
3888
|
-
"tagName": "%%prefix%%-
|
|
3866
|
+
"tagName": "%%prefix%%-ai-indicator",
|
|
3889
3867
|
"customElement": true
|
|
3890
3868
|
},
|
|
3891
3869
|
{
|
|
3892
3870
|
"kind": "variable",
|
|
3893
|
-
"name": "
|
|
3894
|
-
"description": "The Foundation Actions Menu",
|
|
3895
|
-
"privacy": "public"
|
|
3871
|
+
"name": "foundationAiIndicator"
|
|
3896
3872
|
}
|
|
3897
3873
|
],
|
|
3898
3874
|
"exports": [
|
|
3899
3875
|
{
|
|
3900
3876
|
"kind": "js",
|
|
3901
|
-
"name": "
|
|
3877
|
+
"name": "AiIndicator",
|
|
3902
3878
|
"declaration": {
|
|
3903
|
-
"name": "
|
|
3904
|
-
"module": "src/
|
|
3879
|
+
"name": "AiIndicator",
|
|
3880
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3905
3881
|
}
|
|
3906
3882
|
},
|
|
3907
3883
|
{
|
|
3908
3884
|
"kind": "js",
|
|
3909
|
-
"name": "
|
|
3885
|
+
"name": "foundationAiIndicator",
|
|
3910
3886
|
"declaration": {
|
|
3911
|
-
"name": "
|
|
3912
|
-
"module": "src/
|
|
3887
|
+
"name": "foundationAiIndicator",
|
|
3888
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3913
3889
|
}
|
|
3914
3890
|
}
|
|
3915
3891
|
]
|
|
3916
3892
|
},
|
|
3917
3893
|
{
|
|
3918
3894
|
"kind": "javascript-module",
|
|
3919
|
-
"path": "src/
|
|
3895
|
+
"path": "src/ai-indicator/index.ts",
|
|
3920
3896
|
"declarations": [],
|
|
3921
3897
|
"exports": [
|
|
3922
3898
|
{
|
|
3923
3899
|
"kind": "js",
|
|
3924
|
-
"name": "
|
|
3900
|
+
"name": "AiIndicator",
|
|
3925
3901
|
"declaration": {
|
|
3926
|
-
"name": "
|
|
3927
|
-
"
|
|
3902
|
+
"name": "AiIndicator",
|
|
3903
|
+
"module": "./ai-indicator"
|
|
3928
3904
|
}
|
|
3929
3905
|
},
|
|
3930
3906
|
{
|
|
3931
3907
|
"kind": "js",
|
|
3932
|
-
"name": "
|
|
3908
|
+
"name": "foundationAiIndicator",
|
|
3933
3909
|
"declaration": {
|
|
3934
|
-
"name": "
|
|
3935
|
-
"
|
|
3910
|
+
"name": "foundationAiIndicator",
|
|
3911
|
+
"module": "./ai-indicator"
|
|
3936
3912
|
}
|
|
3937
3913
|
},
|
|
3938
3914
|
{
|
|
3939
3915
|
"kind": "js",
|
|
3940
|
-
"name": "
|
|
3916
|
+
"name": "type",
|
|
3941
3917
|
"declaration": {
|
|
3942
|
-
"name": "
|
|
3943
|
-
"
|
|
3918
|
+
"name": "type",
|
|
3919
|
+
"module": "./ai-indicator"
|
|
3920
|
+
}
|
|
3921
|
+
},
|
|
3922
|
+
{
|
|
3923
|
+
"kind": "js",
|
|
3924
|
+
"name": "AIIndicatorState",
|
|
3925
|
+
"declaration": {
|
|
3926
|
+
"name": "AIIndicatorState",
|
|
3927
|
+
"module": "./ai-indicator"
|
|
3928
|
+
}
|
|
3929
|
+
},
|
|
3930
|
+
{
|
|
3931
|
+
"kind": "js",
|
|
3932
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3933
|
+
"declaration": {
|
|
3934
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3935
|
+
"module": "./ai-indicator.template"
|
|
3936
|
+
}
|
|
3937
|
+
},
|
|
3938
|
+
{
|
|
3939
|
+
"kind": "js",
|
|
3940
|
+
"name": "foundationAiIndicatorStyles",
|
|
3941
|
+
"declaration": {
|
|
3942
|
+
"name": "foundationAiIndicatorStyles",
|
|
3943
|
+
"module": "./ai-indicator.styles"
|
|
3944
3944
|
}
|
|
3945
3945
|
}
|
|
3946
3946
|
]
|