@genesislcap/foundation-ui 14.433.0 → 14.434.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 +451 -451
- 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/actions-menu/actions-menu.styles.ts",
|
|
@@ -2384,57 +2353,106 @@
|
|
|
2384
2353
|
},
|
|
2385
2354
|
{
|
|
2386
2355
|
"kind": "javascript-module",
|
|
2387
|
-
"path": "src/
|
|
2356
|
+
"path": "src/_config/index.ts",
|
|
2357
|
+
"declarations": [],
|
|
2358
|
+
"exports": [
|
|
2359
|
+
{
|
|
2360
|
+
"kind": "js",
|
|
2361
|
+
"name": "*",
|
|
2362
|
+
"declaration": {
|
|
2363
|
+
"name": "*",
|
|
2364
|
+
"package": "./styles"
|
|
2365
|
+
}
|
|
2366
|
+
},
|
|
2367
|
+
{
|
|
2368
|
+
"kind": "js",
|
|
2369
|
+
"name": "*",
|
|
2370
|
+
"declaration": {
|
|
2371
|
+
"name": "*",
|
|
2372
|
+
"package": "./tokens"
|
|
2373
|
+
}
|
|
2374
|
+
},
|
|
2375
|
+
{
|
|
2376
|
+
"kind": "js",
|
|
2377
|
+
"name": "*",
|
|
2378
|
+
"declaration": {
|
|
2379
|
+
"name": "*",
|
|
2380
|
+
"package": "./values"
|
|
2381
|
+
}
|
|
2382
|
+
}
|
|
2383
|
+
]
|
|
2384
|
+
},
|
|
2385
|
+
{
|
|
2386
|
+
"kind": "javascript-module",
|
|
2387
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
2388
2388
|
"declarations": [
|
|
2389
2389
|
{
|
|
2390
|
-
"kind": "
|
|
2391
|
-
"name": "
|
|
2392
|
-
"
|
|
2390
|
+
"kind": "function",
|
|
2391
|
+
"name": "foundationAiIndicatorStyles",
|
|
2392
|
+
"return": {
|
|
2393
|
+
"type": {
|
|
2394
|
+
"text": "ElementStyles"
|
|
2395
|
+
}
|
|
2396
|
+
},
|
|
2397
|
+
"parameters": [
|
|
2398
|
+
{
|
|
2399
|
+
"name": "context",
|
|
2400
|
+
"type": {
|
|
2401
|
+
"text": "ElementDefinitionContext"
|
|
2402
|
+
}
|
|
2403
|
+
},
|
|
2404
|
+
{
|
|
2405
|
+
"name": "definition",
|
|
2406
|
+
"type": {
|
|
2407
|
+
"text": "FoundationElementDefinition"
|
|
2408
|
+
}
|
|
2409
|
+
}
|
|
2410
|
+
]
|
|
2393
2411
|
}
|
|
2394
2412
|
],
|
|
2395
2413
|
"exports": [
|
|
2396
2414
|
{
|
|
2397
2415
|
"kind": "js",
|
|
2398
|
-
"name": "
|
|
2416
|
+
"name": "foundationAiIndicatorStyles",
|
|
2399
2417
|
"declaration": {
|
|
2400
|
-
"name": "
|
|
2401
|
-
"module": "src/ai-
|
|
2418
|
+
"name": "foundationAiIndicatorStyles",
|
|
2419
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
2402
2420
|
}
|
|
2403
2421
|
}
|
|
2404
2422
|
]
|
|
2405
2423
|
},
|
|
2406
2424
|
{
|
|
2407
2425
|
"kind": "javascript-module",
|
|
2408
|
-
"path": "src/ai-
|
|
2426
|
+
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
2409
2427
|
"declarations": [
|
|
2410
2428
|
{
|
|
2411
2429
|
"kind": "variable",
|
|
2412
|
-
"name": "
|
|
2430
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2413
2431
|
"type": {
|
|
2414
|
-
"text": "ViewTemplate<
|
|
2432
|
+
"text": "ViewTemplate<AiIndicator>"
|
|
2415
2433
|
},
|
|
2416
|
-
"default": "html`\n ${(x) =>
|
|
2434
|
+
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
2417
2435
|
}
|
|
2418
2436
|
],
|
|
2419
2437
|
"exports": [
|
|
2420
2438
|
{
|
|
2421
2439
|
"kind": "js",
|
|
2422
|
-
"name": "
|
|
2440
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2423
2441
|
"declaration": {
|
|
2424
|
-
"name": "
|
|
2425
|
-
"module": "src/ai-
|
|
2442
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2443
|
+
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
2426
2444
|
}
|
|
2427
2445
|
}
|
|
2428
2446
|
]
|
|
2429
2447
|
},
|
|
2430
2448
|
{
|
|
2431
2449
|
"kind": "javascript-module",
|
|
2432
|
-
"path": "src/ai-
|
|
2450
|
+
"path": "src/ai-indicator/ai-indicator.ts",
|
|
2433
2451
|
"declarations": [
|
|
2434
2452
|
{
|
|
2435
2453
|
"kind": "class",
|
|
2436
|
-
"description": "
|
|
2437
|
-
"name": "
|
|
2454
|
+
"description": "",
|
|
2455
|
+
"name": "AiIndicator",
|
|
2438
2456
|
"members": [
|
|
2439
2457
|
{
|
|
2440
2458
|
"kind": "field",
|
|
@@ -2445,54 +2463,15 @@
|
|
|
2445
2463
|
},
|
|
2446
2464
|
{
|
|
2447
2465
|
"kind": "field",
|
|
2448
|
-
"name": "
|
|
2449
|
-
"type": {
|
|
2450
|
-
"text": "string"
|
|
2451
|
-
},
|
|
2452
|
-
"default": "'Describe your search criteria in natural language...'"
|
|
2453
|
-
},
|
|
2454
|
-
{
|
|
2455
|
-
"kind": "field",
|
|
2456
|
-
"name": "disabled",
|
|
2457
|
-
"type": {
|
|
2458
|
-
"text": "boolean"
|
|
2459
|
-
}
|
|
2460
|
-
},
|
|
2461
|
-
{
|
|
2462
|
-
"kind": "field",
|
|
2463
|
-
"name": "inputValue",
|
|
2464
|
-
"type": {
|
|
2465
|
-
"text": "string"
|
|
2466
|
-
},
|
|
2467
|
-
"default": "''"
|
|
2468
|
-
},
|
|
2469
|
-
{
|
|
2470
|
-
"kind": "field",
|
|
2471
|
-
"name": "isInterpreting",
|
|
2472
|
-
"type": {
|
|
2473
|
-
"text": "boolean"
|
|
2474
|
-
},
|
|
2475
|
-
"default": "false"
|
|
2476
|
-
},
|
|
2477
|
-
{
|
|
2478
|
-
"kind": "field",
|
|
2479
|
-
"name": "lastValidCriteria",
|
|
2466
|
+
"name": "status",
|
|
2480
2467
|
"type": {
|
|
2481
|
-
"text": "
|
|
2468
|
+
"text": "AIStatus | null"
|
|
2482
2469
|
},
|
|
2483
2470
|
"default": "null"
|
|
2484
2471
|
},
|
|
2485
2472
|
{
|
|
2486
2473
|
"kind": "field",
|
|
2487
|
-
"name": "
|
|
2488
|
-
"type": {
|
|
2489
|
-
"text": "CriteriaGroup[]"
|
|
2490
|
-
},
|
|
2491
|
-
"default": "[]"
|
|
2492
|
-
},
|
|
2493
|
-
{
|
|
2494
|
-
"kind": "field",
|
|
2495
|
-
"name": "showingChips",
|
|
2474
|
+
"name": "open",
|
|
2496
2475
|
"type": {
|
|
2497
2476
|
"text": "boolean"
|
|
2498
2477
|
},
|
|
@@ -2500,15 +2479,15 @@
|
|
|
2500
2479
|
},
|
|
2501
2480
|
{
|
|
2502
2481
|
"kind": "field",
|
|
2503
|
-
"name": "
|
|
2482
|
+
"name": "state",
|
|
2504
2483
|
"type": {
|
|
2505
|
-
"text": "
|
|
2484
|
+
"text": "AIIndicatorState"
|
|
2506
2485
|
},
|
|
2507
|
-
"default": "
|
|
2486
|
+
"default": "'none'"
|
|
2508
2487
|
},
|
|
2509
2488
|
{
|
|
2510
2489
|
"kind": "field",
|
|
2511
|
-
"name": "
|
|
2490
|
+
"name": "isInstalling",
|
|
2512
2491
|
"type": {
|
|
2513
2492
|
"text": "boolean"
|
|
2514
2493
|
},
|
|
@@ -2516,33 +2495,29 @@
|
|
|
2516
2495
|
},
|
|
2517
2496
|
{
|
|
2518
2497
|
"kind": "field",
|
|
2519
|
-
"name": "
|
|
2498
|
+
"name": "pollTimer",
|
|
2520
2499
|
"type": {
|
|
2521
|
-
"text": "
|
|
2500
|
+
"text": "ReturnType<typeof setInterval> | null"
|
|
2522
2501
|
},
|
|
2523
|
-
"privacy": "
|
|
2502
|
+
"privacy": "private",
|
|
2503
|
+
"default": "null"
|
|
2524
2504
|
},
|
|
2525
2505
|
{
|
|
2526
2506
|
"kind": "field",
|
|
2527
|
-
"name": "
|
|
2528
|
-
"
|
|
2529
|
-
"text": "(() => void) | null"
|
|
2530
|
-
},
|
|
2531
|
-
"privacy": "private",
|
|
2532
|
-
"default": "null"
|
|
2507
|
+
"name": "clickOutside",
|
|
2508
|
+
"privacy": "private"
|
|
2533
2509
|
},
|
|
2534
2510
|
{
|
|
2535
2511
|
"kind": "field",
|
|
2536
|
-
"name": "
|
|
2512
|
+
"name": "chromeStatusLabel",
|
|
2537
2513
|
"type": {
|
|
2538
|
-
"text": "
|
|
2514
|
+
"text": "string | null"
|
|
2539
2515
|
},
|
|
2540
|
-
"
|
|
2541
|
-
"default": "null"
|
|
2516
|
+
"readonly": true
|
|
2542
2517
|
},
|
|
2543
2518
|
{
|
|
2544
2519
|
"kind": "field",
|
|
2545
|
-
"name": "
|
|
2520
|
+
"name": "canInstall",
|
|
2546
2521
|
"type": {
|
|
2547
2522
|
"text": "boolean"
|
|
2548
2523
|
},
|
|
@@ -2550,65 +2525,69 @@
|
|
|
2550
2525
|
},
|
|
2551
2526
|
{
|
|
2552
2527
|
"kind": "field",
|
|
2553
|
-
"name": "
|
|
2528
|
+
"name": "isDownloading",
|
|
2554
2529
|
"type": {
|
|
2555
|
-
"text": "
|
|
2530
|
+
"text": "boolean"
|
|
2556
2531
|
},
|
|
2557
2532
|
"readonly": true
|
|
2558
2533
|
},
|
|
2559
2534
|
{
|
|
2560
2535
|
"kind": "method",
|
|
2561
|
-
"name": "
|
|
2562
|
-
"privacy": "private",
|
|
2536
|
+
"name": "openChanged",
|
|
2563
2537
|
"return": {
|
|
2564
2538
|
"type": {
|
|
2565
|
-
"text": "
|
|
2539
|
+
"text": "void"
|
|
2566
2540
|
}
|
|
2567
|
-
}
|
|
2541
|
+
}
|
|
2542
|
+
},
|
|
2543
|
+
{
|
|
2544
|
+
"kind": "method",
|
|
2545
|
+
"name": "handleClickOutside",
|
|
2546
|
+
"privacy": "private",
|
|
2568
2547
|
"parameters": [
|
|
2569
2548
|
{
|
|
2570
|
-
"name": "
|
|
2549
|
+
"name": "event",
|
|
2571
2550
|
"type": {
|
|
2572
|
-
"text": "
|
|
2551
|
+
"text": "MouseEvent"
|
|
2573
2552
|
}
|
|
2574
2553
|
}
|
|
2575
2554
|
]
|
|
2576
2555
|
},
|
|
2577
2556
|
{
|
|
2578
2557
|
"kind": "method",
|
|
2579
|
-
"name": "
|
|
2558
|
+
"name": "toggleDropdown"
|
|
2559
|
+
},
|
|
2560
|
+
{
|
|
2561
|
+
"kind": "method",
|
|
2562
|
+
"name": "refreshStatus",
|
|
2580
2563
|
"return": {
|
|
2581
2564
|
"type": {
|
|
2582
|
-
"text": "void"
|
|
2565
|
+
"text": "Promise<void>"
|
|
2583
2566
|
}
|
|
2584
2567
|
}
|
|
2585
2568
|
},
|
|
2586
2569
|
{
|
|
2587
2570
|
"kind": "method",
|
|
2588
|
-
"name": "
|
|
2571
|
+
"name": "deriveState",
|
|
2572
|
+
"privacy": "private",
|
|
2589
2573
|
"return": {
|
|
2590
2574
|
"type": {
|
|
2591
|
-
"text": "
|
|
2575
|
+
"text": "AIIndicatorState"
|
|
2592
2576
|
}
|
|
2593
2577
|
},
|
|
2594
2578
|
"parameters": [
|
|
2595
2579
|
{
|
|
2596
|
-
"name": "
|
|
2597
|
-
"type": {
|
|
2598
|
-
"text": "number"
|
|
2599
|
-
}
|
|
2600
|
-
},
|
|
2601
|
-
{
|
|
2602
|
-
"name": "clauseIndex",
|
|
2580
|
+
"name": "s",
|
|
2603
2581
|
"type": {
|
|
2604
|
-
"text": "
|
|
2582
|
+
"text": "AIStatus | null"
|
|
2605
2583
|
}
|
|
2606
2584
|
}
|
|
2607
2585
|
]
|
|
2608
2586
|
},
|
|
2609
2587
|
{
|
|
2610
2588
|
"kind": "method",
|
|
2611
|
-
"name": "
|
|
2589
|
+
"name": "maybeStartPolling",
|
|
2590
|
+
"privacy": "private",
|
|
2612
2591
|
"return": {
|
|
2613
2592
|
"type": {
|
|
2614
2593
|
"text": "void"
|
|
@@ -2617,24 +2596,32 @@
|
|
|
2617
2596
|
},
|
|
2618
2597
|
{
|
|
2619
2598
|
"kind": "method",
|
|
2620
|
-
"name": "
|
|
2599
|
+
"name": "startPolling",
|
|
2600
|
+
"privacy": "private",
|
|
2601
|
+
"return": {
|
|
2602
|
+
"type": {
|
|
2603
|
+
"text": "void"
|
|
2604
|
+
}
|
|
2605
|
+
}
|
|
2621
2606
|
},
|
|
2622
2607
|
{
|
|
2623
2608
|
"kind": "method",
|
|
2624
|
-
"name": "
|
|
2609
|
+
"name": "stopPolling",
|
|
2610
|
+
"privacy": "private",
|
|
2611
|
+
"return": {
|
|
2612
|
+
"type": {
|
|
2613
|
+
"text": "void"
|
|
2614
|
+
}
|
|
2615
|
+
}
|
|
2625
2616
|
},
|
|
2626
2617
|
{
|
|
2627
2618
|
"kind": "method",
|
|
2628
|
-
"name": "
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
{
|
|
2635
|
-
"kind": "method",
|
|
2636
|
-
"name": "clearSpeechApplyDebounce",
|
|
2637
|
-
"privacy": "private"
|
|
2619
|
+
"name": "onInstall",
|
|
2620
|
+
"return": {
|
|
2621
|
+
"type": {
|
|
2622
|
+
"text": "Promise<void>"
|
|
2623
|
+
}
|
|
2624
|
+
}
|
|
2638
2625
|
},
|
|
2639
2626
|
{
|
|
2640
2627
|
"kind": "field",
|
|
@@ -2748,320 +2735,145 @@
|
|
|
2748
2735
|
}
|
|
2749
2736
|
}
|
|
2750
2737
|
],
|
|
2751
|
-
"events": [
|
|
2752
|
-
{
|
|
2753
|
-
"description": "Fired when interpreted criteria is applied or cleared",
|
|
2754
|
-
"name": "criteria-changed"
|
|
2755
|
-
},
|
|
2756
|
-
{
|
|
2757
|
-
"description": "Fired when interpreted criteria contains invalid clauses",
|
|
2758
|
-
"name": "validation-errors"
|
|
2759
|
-
}
|
|
2760
|
-
],
|
|
2761
|
-
"attributes": [
|
|
2762
|
-
{
|
|
2763
|
-
"name": "placeholder",
|
|
2764
|
-
"type": {
|
|
2765
|
-
"text": "string"
|
|
2766
|
-
},
|
|
2767
|
-
"default": "'Describe your search criteria in natural language...'",
|
|
2768
|
-
"fieldName": "placeholder"
|
|
2769
|
-
},
|
|
2770
|
-
{
|
|
2771
|
-
"type": {
|
|
2772
|
-
"text": "boolean"
|
|
2773
|
-
},
|
|
2774
|
-
"fieldName": "disabled"
|
|
2775
|
-
}
|
|
2776
|
-
],
|
|
2777
2738
|
"superclass": {
|
|
2778
2739
|
"name": "FoundationElement",
|
|
2779
2740
|
"package": "@microsoft/fast-foundation"
|
|
2780
2741
|
},
|
|
2781
|
-
"tagName": "%%prefix%%-ai-
|
|
2742
|
+
"tagName": "%%prefix%%-ai-indicator",
|
|
2782
2743
|
"customElement": true
|
|
2783
2744
|
},
|
|
2784
2745
|
{
|
|
2785
2746
|
"kind": "variable",
|
|
2786
|
-
"name": "
|
|
2787
|
-
"type": {
|
|
2788
|
-
"text": "ShadowRootInit"
|
|
2789
|
-
},
|
|
2790
|
-
"default": "undefined"
|
|
2791
|
-
},
|
|
2792
|
-
{
|
|
2793
|
-
"kind": "variable",
|
|
2794
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2795
|
-
"type": {
|
|
2796
|
-
"text": "object"
|
|
2797
|
-
},
|
|
2798
|
-
"default": "{}"
|
|
2799
|
-
},
|
|
2800
|
-
{
|
|
2801
|
-
"kind": "variable",
|
|
2802
|
-
"name": "foundationAiCriteriaSearch"
|
|
2747
|
+
"name": "foundationAiIndicator"
|
|
2803
2748
|
}
|
|
2804
2749
|
],
|
|
2805
2750
|
"exports": [
|
|
2806
2751
|
{
|
|
2807
2752
|
"kind": "js",
|
|
2808
|
-
"name": "
|
|
2809
|
-
"declaration": {
|
|
2810
|
-
"name": "AiCriteriaSearch",
|
|
2811
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2812
|
-
}
|
|
2813
|
-
},
|
|
2814
|
-
{
|
|
2815
|
-
"kind": "js",
|
|
2816
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2817
|
-
"declaration": {
|
|
2818
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2819
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2820
|
-
}
|
|
2821
|
-
},
|
|
2822
|
-
{
|
|
2823
|
-
"kind": "js",
|
|
2824
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2753
|
+
"name": "AiIndicator",
|
|
2825
2754
|
"declaration": {
|
|
2826
|
-
"name": "
|
|
2827
|
-
"module": "src/ai-
|
|
2755
|
+
"name": "AiIndicator",
|
|
2756
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
2828
2757
|
}
|
|
2829
2758
|
},
|
|
2830
2759
|
{
|
|
2831
2760
|
"kind": "js",
|
|
2832
|
-
"name": "
|
|
2761
|
+
"name": "foundationAiIndicator",
|
|
2833
2762
|
"declaration": {
|
|
2834
|
-
"name": "
|
|
2835
|
-
"module": "src/ai-
|
|
2763
|
+
"name": "foundationAiIndicator",
|
|
2764
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
2836
2765
|
}
|
|
2837
2766
|
}
|
|
2838
2767
|
]
|
|
2839
2768
|
},
|
|
2840
2769
|
{
|
|
2841
2770
|
"kind": "javascript-module",
|
|
2842
|
-
"path": "src/ai-
|
|
2771
|
+
"path": "src/ai-indicator/index.ts",
|
|
2843
2772
|
"declarations": [],
|
|
2844
2773
|
"exports": [
|
|
2845
2774
|
{
|
|
2846
2775
|
"kind": "js",
|
|
2847
|
-
"name": "
|
|
2848
|
-
"declaration": {
|
|
2849
|
-
"name": "AiCriteriaSearch",
|
|
2850
|
-
"module": "./ai-criteria-search"
|
|
2851
|
-
}
|
|
2852
|
-
},
|
|
2853
|
-
{
|
|
2854
|
-
"kind": "js",
|
|
2855
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2856
|
-
"declaration": {
|
|
2857
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2858
|
-
"module": "./ai-criteria-search"
|
|
2859
|
-
}
|
|
2860
|
-
},
|
|
2861
|
-
{
|
|
2862
|
-
"kind": "js",
|
|
2863
|
-
"name": "foundationAiCriteriaSearch",
|
|
2864
|
-
"declaration": {
|
|
2865
|
-
"name": "foundationAiCriteriaSearch",
|
|
2866
|
-
"module": "./ai-criteria-search"
|
|
2867
|
-
}
|
|
2868
|
-
},
|
|
2869
|
-
{
|
|
2870
|
-
"kind": "js",
|
|
2871
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2776
|
+
"name": "AiIndicator",
|
|
2872
2777
|
"declaration": {
|
|
2873
|
-
"name": "
|
|
2874
|
-
"module": "./ai-
|
|
2778
|
+
"name": "AiIndicator",
|
|
2779
|
+
"module": "./ai-indicator"
|
|
2875
2780
|
}
|
|
2876
2781
|
},
|
|
2877
2782
|
{
|
|
2878
2783
|
"kind": "js",
|
|
2879
|
-
"name": "
|
|
2784
|
+
"name": "foundationAiIndicator",
|
|
2880
2785
|
"declaration": {
|
|
2881
|
-
"name": "
|
|
2882
|
-
"module": "./ai-
|
|
2786
|
+
"name": "foundationAiIndicator",
|
|
2787
|
+
"module": "./ai-indicator"
|
|
2883
2788
|
}
|
|
2884
2789
|
},
|
|
2885
2790
|
{
|
|
2886
2791
|
"kind": "js",
|
|
2887
|
-
"name": "
|
|
2792
|
+
"name": "type",
|
|
2888
2793
|
"declaration": {
|
|
2889
|
-
"name": "
|
|
2890
|
-
"module": "./ai-
|
|
2794
|
+
"name": "type",
|
|
2795
|
+
"module": "./ai-indicator"
|
|
2891
2796
|
}
|
|
2892
2797
|
},
|
|
2893
2798
|
{
|
|
2894
2799
|
"kind": "js",
|
|
2895
|
-
"name": "
|
|
2800
|
+
"name": "AIIndicatorState",
|
|
2896
2801
|
"declaration": {
|
|
2897
|
-
"name": "
|
|
2898
|
-
"
|
|
2802
|
+
"name": "AIIndicatorState",
|
|
2803
|
+
"module": "./ai-indicator"
|
|
2899
2804
|
}
|
|
2900
2805
|
},
|
|
2901
2806
|
{
|
|
2902
2807
|
"kind": "js",
|
|
2903
|
-
"name": "
|
|
2808
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2904
2809
|
"declaration": {
|
|
2905
|
-
"name": "
|
|
2906
|
-
"
|
|
2810
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2811
|
+
"module": "./ai-indicator.template"
|
|
2907
2812
|
}
|
|
2908
2813
|
},
|
|
2909
2814
|
{
|
|
2910
2815
|
"kind": "js",
|
|
2911
|
-
"name": "
|
|
2816
|
+
"name": "foundationAiIndicatorStyles",
|
|
2912
2817
|
"declaration": {
|
|
2913
|
-
"name": "
|
|
2914
|
-
"
|
|
2818
|
+
"name": "foundationAiIndicatorStyles",
|
|
2819
|
+
"module": "./ai-indicator.styles"
|
|
2915
2820
|
}
|
|
2916
2821
|
}
|
|
2917
2822
|
]
|
|
2918
2823
|
},
|
|
2919
2824
|
{
|
|
2920
2825
|
"kind": "javascript-module",
|
|
2921
|
-
"path": "src/ai-criteria-search/
|
|
2826
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
2922
2827
|
"declarations": [
|
|
2923
2828
|
{
|
|
2924
|
-
"kind": "
|
|
2925
|
-
"name": "
|
|
2926
|
-
"
|
|
2927
|
-
"type": {
|
|
2928
|
-
"text": "string"
|
|
2929
|
-
}
|
|
2930
|
-
},
|
|
2931
|
-
"parameters": [
|
|
2932
|
-
{
|
|
2933
|
-
"name": "errors",
|
|
2934
|
-
"type": {
|
|
2935
|
-
"text": "ValidationError[]"
|
|
2936
|
-
}
|
|
2937
|
-
}
|
|
2938
|
-
],
|
|
2939
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
2940
|
-
},
|
|
2941
|
-
{
|
|
2942
|
-
"kind": "function",
|
|
2943
|
-
"name": "showCriteriaError",
|
|
2944
|
-
"return": {
|
|
2945
|
-
"type": {
|
|
2946
|
-
"text": "void"
|
|
2947
|
-
}
|
|
2948
|
-
},
|
|
2949
|
-
"parameters": [
|
|
2950
|
-
{
|
|
2951
|
-
"name": "title",
|
|
2952
|
-
"type": {
|
|
2953
|
-
"text": "string"
|
|
2954
|
-
},
|
|
2955
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
2956
|
-
},
|
|
2957
|
-
{
|
|
2958
|
-
"name": "body",
|
|
2959
|
-
"type": {
|
|
2960
|
-
"text": "string"
|
|
2961
|
-
},
|
|
2962
|
-
"description": "Error message to display"
|
|
2963
|
-
},
|
|
2964
|
-
{
|
|
2965
|
-
"name": "tagName",
|
|
2966
|
-
"type": {
|
|
2967
|
-
"text": "string"
|
|
2968
|
-
},
|
|
2969
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
2970
|
-
}
|
|
2971
|
-
],
|
|
2972
|
-
"description": "Shows a criteria error as a toast notification."
|
|
2829
|
+
"kind": "variable",
|
|
2830
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2831
|
+
"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`"
|
|
2973
2832
|
}
|
|
2974
2833
|
],
|
|
2975
2834
|
"exports": [
|
|
2976
2835
|
{
|
|
2977
2836
|
"kind": "js",
|
|
2978
|
-
"name": "
|
|
2979
|
-
"declaration": {
|
|
2980
|
-
"name": "formatValidationErrors",
|
|
2981
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2982
|
-
}
|
|
2983
|
-
},
|
|
2984
|
-
{
|
|
2985
|
-
"kind": "js",
|
|
2986
|
-
"name": "showCriteriaError",
|
|
2837
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2987
2838
|
"declaration": {
|
|
2988
|
-
"name": "
|
|
2989
|
-
"module": "src/ai-criteria-search/
|
|
2839
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2840
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
2990
2841
|
}
|
|
2991
2842
|
}
|
|
2992
2843
|
]
|
|
2993
2844
|
},
|
|
2994
2845
|
{
|
|
2995
2846
|
"kind": "javascript-module",
|
|
2996
|
-
"path": "src/ai-
|
|
2847
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
2997
2848
|
"declarations": [
|
|
2998
2849
|
{
|
|
2999
|
-
"kind": "
|
|
3000
|
-
"name": "
|
|
3001
|
-
"
|
|
3002
|
-
"
|
|
3003
|
-
"text": "ElementStyles"
|
|
3004
|
-
}
|
|
2850
|
+
"kind": "variable",
|
|
2851
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2852
|
+
"type": {
|
|
2853
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
3005
2854
|
},
|
|
3006
|
-
"
|
|
3007
|
-
{
|
|
3008
|
-
"name": "context",
|
|
3009
|
-
"type": {
|
|
3010
|
-
"text": "ElementDefinitionContext"
|
|
3011
|
-
}
|
|
3012
|
-
},
|
|
3013
|
-
{
|
|
3014
|
-
"name": "definition",
|
|
3015
|
-
"type": {
|
|
3016
|
-
"text": "FoundationElementDefinition"
|
|
3017
|
-
}
|
|
3018
|
-
}
|
|
3019
|
-
]
|
|
2855
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
3020
2856
|
}
|
|
3021
2857
|
],
|
|
3022
2858
|
"exports": [
|
|
3023
2859
|
{
|
|
3024
2860
|
"kind": "js",
|
|
3025
|
-
"name": "
|
|
2861
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3026
2862
|
"declaration": {
|
|
3027
|
-
"name": "
|
|
3028
|
-
"module": "src/ai-
|
|
2863
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2864
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
3029
2865
|
}
|
|
3030
2866
|
}
|
|
3031
2867
|
]
|
|
3032
2868
|
},
|
|
3033
2869
|
{
|
|
3034
2870
|
"kind": "javascript-module",
|
|
3035
|
-
"path": "src/ai-
|
|
3036
|
-
"declarations": [
|
|
3037
|
-
{
|
|
3038
|
-
"kind": "variable",
|
|
3039
|
-
"name": "foundationAiIndicatorTemplate",
|
|
3040
|
-
"type": {
|
|
3041
|
-
"text": "ViewTemplate<AiIndicator>"
|
|
3042
|
-
},
|
|
3043
|
-
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
3044
|
-
}
|
|
3045
|
-
],
|
|
3046
|
-
"exports": [
|
|
3047
|
-
{
|
|
3048
|
-
"kind": "js",
|
|
3049
|
-
"name": "foundationAiIndicatorTemplate",
|
|
3050
|
-
"declaration": {
|
|
3051
|
-
"name": "foundationAiIndicatorTemplate",
|
|
3052
|
-
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
3053
|
-
}
|
|
3054
|
-
}
|
|
3055
|
-
]
|
|
3056
|
-
},
|
|
3057
|
-
{
|
|
3058
|
-
"kind": "javascript-module",
|
|
3059
|
-
"path": "src/ai-indicator/ai-indicator.ts",
|
|
2871
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
3060
2872
|
"declarations": [
|
|
3061
2873
|
{
|
|
3062
2874
|
"kind": "class",
|
|
3063
|
-
"description": "",
|
|
3064
|
-
"name": "
|
|
2875
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2876
|
+
"name": "AiCriteriaSearch",
|
|
3065
2877
|
"members": [
|
|
3066
2878
|
{
|
|
3067
2879
|
"kind": "field",
|
|
@@ -3072,15 +2884,54 @@
|
|
|
3072
2884
|
},
|
|
3073
2885
|
{
|
|
3074
2886
|
"kind": "field",
|
|
3075
|
-
"name": "
|
|
2887
|
+
"name": "placeholder",
|
|
3076
2888
|
"type": {
|
|
3077
|
-
"text": "
|
|
2889
|
+
"text": "string"
|
|
2890
|
+
},
|
|
2891
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
2892
|
+
},
|
|
2893
|
+
{
|
|
2894
|
+
"kind": "field",
|
|
2895
|
+
"name": "disabled",
|
|
2896
|
+
"type": {
|
|
2897
|
+
"text": "boolean"
|
|
2898
|
+
}
|
|
2899
|
+
},
|
|
2900
|
+
{
|
|
2901
|
+
"kind": "field",
|
|
2902
|
+
"name": "inputValue",
|
|
2903
|
+
"type": {
|
|
2904
|
+
"text": "string"
|
|
2905
|
+
},
|
|
2906
|
+
"default": "''"
|
|
2907
|
+
},
|
|
2908
|
+
{
|
|
2909
|
+
"kind": "field",
|
|
2910
|
+
"name": "isInterpreting",
|
|
2911
|
+
"type": {
|
|
2912
|
+
"text": "boolean"
|
|
2913
|
+
},
|
|
2914
|
+
"default": "false"
|
|
2915
|
+
},
|
|
2916
|
+
{
|
|
2917
|
+
"kind": "field",
|
|
2918
|
+
"name": "lastValidCriteria",
|
|
2919
|
+
"type": {
|
|
2920
|
+
"text": "string | null"
|
|
3078
2921
|
},
|
|
3079
2922
|
"default": "null"
|
|
3080
2923
|
},
|
|
3081
2924
|
{
|
|
3082
2925
|
"kind": "field",
|
|
3083
|
-
"name": "
|
|
2926
|
+
"name": "activeGroups",
|
|
2927
|
+
"type": {
|
|
2928
|
+
"text": "CriteriaGroup[]"
|
|
2929
|
+
},
|
|
2930
|
+
"default": "[]"
|
|
2931
|
+
},
|
|
2932
|
+
{
|
|
2933
|
+
"kind": "field",
|
|
2934
|
+
"name": "showingChips",
|
|
3084
2935
|
"type": {
|
|
3085
2936
|
"text": "boolean"
|
|
3086
2937
|
},
|
|
@@ -3088,15 +2939,15 @@
|
|
|
3088
2939
|
},
|
|
3089
2940
|
{
|
|
3090
2941
|
"kind": "field",
|
|
3091
|
-
"name": "
|
|
2942
|
+
"name": "fieldMetadata",
|
|
3092
2943
|
"type": {
|
|
3093
|
-
"text": "
|
|
2944
|
+
"text": "MetadataDetail[] | string[]"
|
|
3094
2945
|
},
|
|
3095
|
-
"default": "
|
|
2946
|
+
"default": "[]"
|
|
3096
2947
|
},
|
|
3097
2948
|
{
|
|
3098
2949
|
"kind": "field",
|
|
3099
|
-
"name": "
|
|
2950
|
+
"name": "isRecording",
|
|
3100
2951
|
"type": {
|
|
3101
2952
|
"text": "boolean"
|
|
3102
2953
|
},
|
|
@@ -3104,29 +2955,33 @@
|
|
|
3104
2955
|
},
|
|
3105
2956
|
{
|
|
3106
2957
|
"kind": "field",
|
|
3107
|
-
"name": "
|
|
2958
|
+
"name": "textAreaRef",
|
|
3108
2959
|
"type": {
|
|
3109
|
-
"text": "
|
|
2960
|
+
"text": "HTMLTextAreaElement"
|
|
3110
2961
|
},
|
|
3111
|
-
"privacy": "
|
|
3112
|
-
"default": "null"
|
|
2962
|
+
"privacy": "public"
|
|
3113
2963
|
},
|
|
3114
2964
|
{
|
|
3115
2965
|
"kind": "field",
|
|
3116
|
-
"name": "
|
|
3117
|
-
"
|
|
2966
|
+
"name": "stopRecording",
|
|
2967
|
+
"type": {
|
|
2968
|
+
"text": "(() => void) | null"
|
|
2969
|
+
},
|
|
2970
|
+
"privacy": "private",
|
|
2971
|
+
"default": "null"
|
|
3118
2972
|
},
|
|
3119
2973
|
{
|
|
3120
2974
|
"kind": "field",
|
|
3121
|
-
"name": "
|
|
2975
|
+
"name": "speechApplyDebounceTimer",
|
|
3122
2976
|
"type": {
|
|
3123
|
-
"text": "
|
|
2977
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3124
2978
|
},
|
|
3125
|
-
"
|
|
2979
|
+
"privacy": "private",
|
|
2980
|
+
"default": "null"
|
|
3126
2981
|
},
|
|
3127
2982
|
{
|
|
3128
2983
|
"kind": "field",
|
|
3129
|
-
"name": "
|
|
2984
|
+
"name": "speechAvailable",
|
|
3130
2985
|
"type": {
|
|
3131
2986
|
"text": "boolean"
|
|
3132
2987
|
},
|
|
@@ -3134,69 +2989,65 @@
|
|
|
3134
2989
|
},
|
|
3135
2990
|
{
|
|
3136
2991
|
"kind": "field",
|
|
3137
|
-
"name": "
|
|
2992
|
+
"name": "criteriaChips",
|
|
3138
2993
|
"type": {
|
|
3139
|
-
"text": "
|
|
2994
|
+
"text": "CriteriaChip[]"
|
|
3140
2995
|
},
|
|
3141
2996
|
"readonly": true
|
|
3142
2997
|
},
|
|
3143
2998
|
{
|
|
3144
2999
|
"kind": "method",
|
|
3145
|
-
"name": "
|
|
3000
|
+
"name": "getFieldLabel",
|
|
3001
|
+
"privacy": "private",
|
|
3146
3002
|
"return": {
|
|
3147
3003
|
"type": {
|
|
3148
|
-
"text": "
|
|
3004
|
+
"text": "string"
|
|
3149
3005
|
}
|
|
3150
|
-
}
|
|
3151
|
-
},
|
|
3152
|
-
{
|
|
3153
|
-
"kind": "method",
|
|
3154
|
-
"name": "handleClickOutside",
|
|
3155
|
-
"privacy": "private",
|
|
3006
|
+
},
|
|
3156
3007
|
"parameters": [
|
|
3157
3008
|
{
|
|
3158
|
-
"name": "
|
|
3009
|
+
"name": "fieldName",
|
|
3159
3010
|
"type": {
|
|
3160
|
-
"text": "
|
|
3011
|
+
"text": "string"
|
|
3161
3012
|
}
|
|
3162
3013
|
}
|
|
3163
3014
|
]
|
|
3164
3015
|
},
|
|
3165
3016
|
{
|
|
3166
3017
|
"kind": "method",
|
|
3167
|
-
"name": "
|
|
3168
|
-
},
|
|
3169
|
-
{
|
|
3170
|
-
"kind": "method",
|
|
3171
|
-
"name": "refreshStatus",
|
|
3018
|
+
"name": "toggleCriteriaView",
|
|
3172
3019
|
"return": {
|
|
3173
3020
|
"type": {
|
|
3174
|
-
"text": "
|
|
3021
|
+
"text": "void"
|
|
3175
3022
|
}
|
|
3176
3023
|
}
|
|
3177
3024
|
},
|
|
3178
3025
|
{
|
|
3179
3026
|
"kind": "method",
|
|
3180
|
-
"name": "
|
|
3181
|
-
"privacy": "private",
|
|
3027
|
+
"name": "removeChip",
|
|
3182
3028
|
"return": {
|
|
3183
3029
|
"type": {
|
|
3184
|
-
"text": "
|
|
3030
|
+
"text": "void"
|
|
3185
3031
|
}
|
|
3186
3032
|
},
|
|
3187
3033
|
"parameters": [
|
|
3188
3034
|
{
|
|
3189
|
-
"name": "
|
|
3035
|
+
"name": "groupIndex",
|
|
3190
3036
|
"type": {
|
|
3191
|
-
"text": "
|
|
3037
|
+
"text": "number"
|
|
3038
|
+
}
|
|
3039
|
+
},
|
|
3040
|
+
{
|
|
3041
|
+
"name": "clauseIndex",
|
|
3042
|
+
"type": {
|
|
3043
|
+
"text": "number"
|
|
3192
3044
|
}
|
|
3193
3045
|
}
|
|
3194
3046
|
]
|
|
3195
3047
|
},
|
|
3196
3048
|
{
|
|
3197
3049
|
"kind": "method",
|
|
3198
|
-
"name": "
|
|
3199
|
-
"privacy": "private",
|
|
3050
|
+
"name": "clearChips",
|
|
3200
3051
|
"return": {
|
|
3201
3052
|
"type": {
|
|
3202
3053
|
"text": "void"
|
|
@@ -3205,32 +3056,24 @@
|
|
|
3205
3056
|
},
|
|
3206
3057
|
{
|
|
3207
3058
|
"kind": "method",
|
|
3208
|
-
"name": "
|
|
3209
|
-
"privacy": "private",
|
|
3210
|
-
"return": {
|
|
3211
|
-
"type": {
|
|
3212
|
-
"text": "void"
|
|
3213
|
-
}
|
|
3214
|
-
}
|
|
3059
|
+
"name": "handleSubmit"
|
|
3215
3060
|
},
|
|
3216
3061
|
{
|
|
3217
3062
|
"kind": "method",
|
|
3218
|
-
"name": "
|
|
3219
|
-
"privacy": "private",
|
|
3220
|
-
"return": {
|
|
3221
|
-
"type": {
|
|
3222
|
-
"text": "void"
|
|
3223
|
-
}
|
|
3224
|
-
}
|
|
3063
|
+
"name": "handleBlur"
|
|
3225
3064
|
},
|
|
3226
3065
|
{
|
|
3227
3066
|
"kind": "method",
|
|
3228
|
-
"name": "
|
|
3229
|
-
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3067
|
+
"name": "clear"
|
|
3068
|
+
},
|
|
3069
|
+
{
|
|
3070
|
+
"kind": "method",
|
|
3071
|
+
"name": "toggleSpeechInput"
|
|
3072
|
+
},
|
|
3073
|
+
{
|
|
3074
|
+
"kind": "method",
|
|
3075
|
+
"name": "clearSpeechApplyDebounce",
|
|
3076
|
+
"privacy": "private"
|
|
3234
3077
|
},
|
|
3235
3078
|
{
|
|
3236
3079
|
"kind": "field",
|
|
@@ -3344,88 +3187,245 @@
|
|
|
3344
3187
|
}
|
|
3345
3188
|
}
|
|
3346
3189
|
],
|
|
3190
|
+
"events": [
|
|
3191
|
+
{
|
|
3192
|
+
"description": "Fired when interpreted criteria is applied or cleared",
|
|
3193
|
+
"name": "criteria-changed"
|
|
3194
|
+
},
|
|
3195
|
+
{
|
|
3196
|
+
"description": "Fired when interpreted criteria contains invalid clauses",
|
|
3197
|
+
"name": "validation-errors"
|
|
3198
|
+
}
|
|
3199
|
+
],
|
|
3200
|
+
"attributes": [
|
|
3201
|
+
{
|
|
3202
|
+
"name": "placeholder",
|
|
3203
|
+
"type": {
|
|
3204
|
+
"text": "string"
|
|
3205
|
+
},
|
|
3206
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
3207
|
+
"fieldName": "placeholder"
|
|
3208
|
+
},
|
|
3209
|
+
{
|
|
3210
|
+
"type": {
|
|
3211
|
+
"text": "boolean"
|
|
3212
|
+
},
|
|
3213
|
+
"fieldName": "disabled"
|
|
3214
|
+
}
|
|
3215
|
+
],
|
|
3347
3216
|
"superclass": {
|
|
3348
3217
|
"name": "FoundationElement",
|
|
3349
3218
|
"package": "@microsoft/fast-foundation"
|
|
3350
3219
|
},
|
|
3351
|
-
"tagName": "%%prefix%%-ai-
|
|
3220
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3352
3221
|
"customElement": true
|
|
3353
3222
|
},
|
|
3354
3223
|
{
|
|
3355
3224
|
"kind": "variable",
|
|
3356
|
-
"name": "
|
|
3225
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3226
|
+
"type": {
|
|
3227
|
+
"text": "ShadowRootInit"
|
|
3228
|
+
},
|
|
3229
|
+
"default": "undefined"
|
|
3230
|
+
},
|
|
3231
|
+
{
|
|
3232
|
+
"kind": "variable",
|
|
3233
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3234
|
+
"type": {
|
|
3235
|
+
"text": "object"
|
|
3236
|
+
},
|
|
3237
|
+
"default": "{}"
|
|
3238
|
+
},
|
|
3239
|
+
{
|
|
3240
|
+
"kind": "variable",
|
|
3241
|
+
"name": "foundationAiCriteriaSearch"
|
|
3357
3242
|
}
|
|
3358
3243
|
],
|
|
3359
3244
|
"exports": [
|
|
3360
3245
|
{
|
|
3361
3246
|
"kind": "js",
|
|
3362
|
-
"name": "
|
|
3247
|
+
"name": "AiCriteriaSearch",
|
|
3363
3248
|
"declaration": {
|
|
3364
|
-
"name": "
|
|
3365
|
-
"module": "src/ai-
|
|
3249
|
+
"name": "AiCriteriaSearch",
|
|
3250
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3366
3251
|
}
|
|
3367
3252
|
},
|
|
3368
3253
|
{
|
|
3369
3254
|
"kind": "js",
|
|
3370
|
-
"name": "
|
|
3255
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3371
3256
|
"declaration": {
|
|
3372
|
-
"name": "
|
|
3373
|
-
"module": "src/ai-
|
|
3257
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3258
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3259
|
+
}
|
|
3260
|
+
},
|
|
3261
|
+
{
|
|
3262
|
+
"kind": "js",
|
|
3263
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3264
|
+
"declaration": {
|
|
3265
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3266
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3267
|
+
}
|
|
3268
|
+
},
|
|
3269
|
+
{
|
|
3270
|
+
"kind": "js",
|
|
3271
|
+
"name": "foundationAiCriteriaSearch",
|
|
3272
|
+
"declaration": {
|
|
3273
|
+
"name": "foundationAiCriteriaSearch",
|
|
3274
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3374
3275
|
}
|
|
3375
3276
|
}
|
|
3376
3277
|
]
|
|
3377
3278
|
},
|
|
3378
3279
|
{
|
|
3379
3280
|
"kind": "javascript-module",
|
|
3380
|
-
"path": "src/ai-
|
|
3281
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
3381
3282
|
"declarations": [],
|
|
3382
3283
|
"exports": [
|
|
3383
3284
|
{
|
|
3384
3285
|
"kind": "js",
|
|
3385
|
-
"name": "
|
|
3286
|
+
"name": "AiCriteriaSearch",
|
|
3386
3287
|
"declaration": {
|
|
3387
|
-
"name": "
|
|
3388
|
-
"module": "./ai-
|
|
3288
|
+
"name": "AiCriteriaSearch",
|
|
3289
|
+
"module": "./ai-criteria-search"
|
|
3389
3290
|
}
|
|
3390
3291
|
},
|
|
3391
3292
|
{
|
|
3392
3293
|
"kind": "js",
|
|
3393
|
-
"name": "
|
|
3294
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3394
3295
|
"declaration": {
|
|
3395
|
-
"name": "
|
|
3396
|
-
"module": "./ai-
|
|
3296
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3297
|
+
"module": "./ai-criteria-search"
|
|
3397
3298
|
}
|
|
3398
3299
|
},
|
|
3399
3300
|
{
|
|
3400
3301
|
"kind": "js",
|
|
3401
|
-
"name": "
|
|
3302
|
+
"name": "foundationAiCriteriaSearch",
|
|
3402
3303
|
"declaration": {
|
|
3403
|
-
"name": "
|
|
3404
|
-
"module": "./ai-
|
|
3304
|
+
"name": "foundationAiCriteriaSearch",
|
|
3305
|
+
"module": "./ai-criteria-search"
|
|
3405
3306
|
}
|
|
3406
3307
|
},
|
|
3407
3308
|
{
|
|
3408
3309
|
"kind": "js",
|
|
3409
|
-
"name": "
|
|
3310
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3410
3311
|
"declaration": {
|
|
3411
|
-
"name": "
|
|
3412
|
-
"module": "./ai-
|
|
3312
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3313
|
+
"module": "./ai-criteria-search"
|
|
3413
3314
|
}
|
|
3414
3315
|
},
|
|
3415
3316
|
{
|
|
3416
3317
|
"kind": "js",
|
|
3417
|
-
"name": "
|
|
3318
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3418
3319
|
"declaration": {
|
|
3419
|
-
"name": "
|
|
3420
|
-
"module": "./ai-
|
|
3320
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3321
|
+
"module": "./ai-criteria-search.styles"
|
|
3421
3322
|
}
|
|
3422
3323
|
},
|
|
3423
3324
|
{
|
|
3424
3325
|
"kind": "js",
|
|
3425
|
-
"name": "
|
|
3326
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3426
3327
|
"declaration": {
|
|
3427
|
-
"name": "
|
|
3428
|
-
"module": "./ai-
|
|
3328
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3329
|
+
"module": "./ai-criteria-search.template"
|
|
3330
|
+
}
|
|
3331
|
+
},
|
|
3332
|
+
{
|
|
3333
|
+
"kind": "js",
|
|
3334
|
+
"name": "*",
|
|
3335
|
+
"declaration": {
|
|
3336
|
+
"name": "*",
|
|
3337
|
+
"package": "./validation/criteria-ir"
|
|
3338
|
+
}
|
|
3339
|
+
},
|
|
3340
|
+
{
|
|
3341
|
+
"kind": "js",
|
|
3342
|
+
"name": "*",
|
|
3343
|
+
"declaration": {
|
|
3344
|
+
"name": "*",
|
|
3345
|
+
"package": "./validation/operator-map"
|
|
3346
|
+
}
|
|
3347
|
+
},
|
|
3348
|
+
{
|
|
3349
|
+
"kind": "js",
|
|
3350
|
+
"name": "*",
|
|
3351
|
+
"declaration": {
|
|
3352
|
+
"name": "*",
|
|
3353
|
+
"package": "./validation/schema-validator"
|
|
3354
|
+
}
|
|
3355
|
+
}
|
|
3356
|
+
]
|
|
3357
|
+
},
|
|
3358
|
+
{
|
|
3359
|
+
"kind": "javascript-module",
|
|
3360
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3361
|
+
"declarations": [
|
|
3362
|
+
{
|
|
3363
|
+
"kind": "function",
|
|
3364
|
+
"name": "formatValidationErrors",
|
|
3365
|
+
"return": {
|
|
3366
|
+
"type": {
|
|
3367
|
+
"text": "string"
|
|
3368
|
+
}
|
|
3369
|
+
},
|
|
3370
|
+
"parameters": [
|
|
3371
|
+
{
|
|
3372
|
+
"name": "errors",
|
|
3373
|
+
"type": {
|
|
3374
|
+
"text": "ValidationError[]"
|
|
3375
|
+
}
|
|
3376
|
+
}
|
|
3377
|
+
],
|
|
3378
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
3379
|
+
},
|
|
3380
|
+
{
|
|
3381
|
+
"kind": "function",
|
|
3382
|
+
"name": "showCriteriaError",
|
|
3383
|
+
"return": {
|
|
3384
|
+
"type": {
|
|
3385
|
+
"text": "void"
|
|
3386
|
+
}
|
|
3387
|
+
},
|
|
3388
|
+
"parameters": [
|
|
3389
|
+
{
|
|
3390
|
+
"name": "title",
|
|
3391
|
+
"type": {
|
|
3392
|
+
"text": "string"
|
|
3393
|
+
},
|
|
3394
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3395
|
+
},
|
|
3396
|
+
{
|
|
3397
|
+
"name": "body",
|
|
3398
|
+
"type": {
|
|
3399
|
+
"text": "string"
|
|
3400
|
+
},
|
|
3401
|
+
"description": "Error message to display"
|
|
3402
|
+
},
|
|
3403
|
+
{
|
|
3404
|
+
"name": "tagName",
|
|
3405
|
+
"type": {
|
|
3406
|
+
"text": "string"
|
|
3407
|
+
},
|
|
3408
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3409
|
+
}
|
|
3410
|
+
],
|
|
3411
|
+
"description": "Shows a criteria error as a toast notification."
|
|
3412
|
+
}
|
|
3413
|
+
],
|
|
3414
|
+
"exports": [
|
|
3415
|
+
{
|
|
3416
|
+
"kind": "js",
|
|
3417
|
+
"name": "formatValidationErrors",
|
|
3418
|
+
"declaration": {
|
|
3419
|
+
"name": "formatValidationErrors",
|
|
3420
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3421
|
+
}
|
|
3422
|
+
},
|
|
3423
|
+
{
|
|
3424
|
+
"kind": "js",
|
|
3425
|
+
"name": "showCriteriaError",
|
|
3426
|
+
"declaration": {
|
|
3427
|
+
"name": "showCriteriaError",
|
|
3428
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3429
3429
|
}
|
|
3430
3430
|
}
|
|
3431
3431
|
]
|