@genesislcap/foundation-ui 14.464.0-row-duplication.1 → 14.464.1-alpha-76f77f9.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 +640 -640
- 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,6 +1398,37 @@
|
|
|
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
|
+
},
|
|
1401
1432
|
{
|
|
1402
1433
|
"kind": "javascript-module",
|
|
1403
1434
|
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
@@ -2353,57 +2384,75 @@
|
|
|
2353
2384
|
},
|
|
2354
2385
|
{
|
|
2355
2386
|
"kind": "javascript-module",
|
|
2356
|
-
"path": "src/ai-
|
|
2387
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
2357
2388
|
"declarations": [
|
|
2358
2389
|
{
|
|
2359
|
-
"kind": "
|
|
2360
|
-
"name": "
|
|
2361
|
-
"
|
|
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
|
+
]
|
|
2362
2411
|
}
|
|
2363
2412
|
],
|
|
2364
2413
|
"exports": [
|
|
2365
2414
|
{
|
|
2366
2415
|
"kind": "js",
|
|
2367
|
-
"name": "
|
|
2416
|
+
"name": "foundationAiIndicatorStyles",
|
|
2368
2417
|
"declaration": {
|
|
2369
|
-
"name": "
|
|
2370
|
-
"module": "src/ai-
|
|
2418
|
+
"name": "foundationAiIndicatorStyles",
|
|
2419
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
2371
2420
|
}
|
|
2372
2421
|
}
|
|
2373
2422
|
]
|
|
2374
2423
|
},
|
|
2375
2424
|
{
|
|
2376
2425
|
"kind": "javascript-module",
|
|
2377
|
-
"path": "src/ai-
|
|
2426
|
+
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
2378
2427
|
"declarations": [
|
|
2379
2428
|
{
|
|
2380
2429
|
"kind": "variable",
|
|
2381
|
-
"name": "
|
|
2430
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2382
2431
|
"type": {
|
|
2383
|
-
"text": "ViewTemplate<
|
|
2432
|
+
"text": "ViewTemplate<AiIndicator>"
|
|
2384
2433
|
},
|
|
2385
|
-
"default": "html`\n ${(x) =>
|
|
2434
|
+
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
2386
2435
|
}
|
|
2387
2436
|
],
|
|
2388
2437
|
"exports": [
|
|
2389
2438
|
{
|
|
2390
2439
|
"kind": "js",
|
|
2391
|
-
"name": "
|
|
2440
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2392
2441
|
"declaration": {
|
|
2393
|
-
"name": "
|
|
2394
|
-
"module": "src/ai-
|
|
2442
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2443
|
+
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
2395
2444
|
}
|
|
2396
2445
|
}
|
|
2397
2446
|
]
|
|
2398
2447
|
},
|
|
2399
2448
|
{
|
|
2400
2449
|
"kind": "javascript-module",
|
|
2401
|
-
"path": "src/ai-
|
|
2450
|
+
"path": "src/ai-indicator/ai-indicator.ts",
|
|
2402
2451
|
"declarations": [
|
|
2403
2452
|
{
|
|
2404
2453
|
"kind": "class",
|
|
2405
|
-
"description": "
|
|
2406
|
-
"name": "
|
|
2454
|
+
"description": "",
|
|
2455
|
+
"name": "AiIndicator",
|
|
2407
2456
|
"members": [
|
|
2408
2457
|
{
|
|
2409
2458
|
"kind": "field",
|
|
@@ -2414,54 +2463,25 @@
|
|
|
2414
2463
|
},
|
|
2415
2464
|
{
|
|
2416
2465
|
"kind": "field",
|
|
2417
|
-
"name": "
|
|
2418
|
-
"type": {
|
|
2419
|
-
"text": "string"
|
|
2420
|
-
},
|
|
2421
|
-
"default": "'Describe your search criteria in natural language...'"
|
|
2422
|
-
},
|
|
2423
|
-
{
|
|
2424
|
-
"kind": "field",
|
|
2425
|
-
"name": "disabled",
|
|
2426
|
-
"type": {
|
|
2427
|
-
"text": "boolean"
|
|
2428
|
-
}
|
|
2429
|
-
},
|
|
2430
|
-
{
|
|
2431
|
-
"kind": "field",
|
|
2432
|
-
"name": "inputValue",
|
|
2433
|
-
"type": {
|
|
2434
|
-
"text": "string"
|
|
2435
|
-
},
|
|
2436
|
-
"default": "''"
|
|
2437
|
-
},
|
|
2438
|
-
{
|
|
2439
|
-
"kind": "field",
|
|
2440
|
-
"name": "isInterpreting",
|
|
2466
|
+
"name": "aiProvider",
|
|
2441
2467
|
"type": {
|
|
2442
|
-
"text": "
|
|
2468
|
+
"text": "AIProvider | undefined"
|
|
2443
2469
|
},
|
|
2444
|
-
"
|
|
2470
|
+
"privacy": "private",
|
|
2471
|
+
"description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
|
|
2472
|
+
"readonly": true
|
|
2445
2473
|
},
|
|
2446
2474
|
{
|
|
2447
2475
|
"kind": "field",
|
|
2448
|
-
"name": "
|
|
2476
|
+
"name": "status",
|
|
2449
2477
|
"type": {
|
|
2450
|
-
"text": "
|
|
2478
|
+
"text": "AIStatus | null"
|
|
2451
2479
|
},
|
|
2452
2480
|
"default": "null"
|
|
2453
2481
|
},
|
|
2454
2482
|
{
|
|
2455
2483
|
"kind": "field",
|
|
2456
|
-
"name": "
|
|
2457
|
-
"type": {
|
|
2458
|
-
"text": "CriteriaGroup[]"
|
|
2459
|
-
},
|
|
2460
|
-
"default": "[]"
|
|
2461
|
-
},
|
|
2462
|
-
{
|
|
2463
|
-
"kind": "field",
|
|
2464
|
-
"name": "showingChips",
|
|
2484
|
+
"name": "open",
|
|
2465
2485
|
"type": {
|
|
2466
2486
|
"text": "boolean"
|
|
2467
2487
|
},
|
|
@@ -2469,15 +2489,15 @@
|
|
|
2469
2489
|
},
|
|
2470
2490
|
{
|
|
2471
2491
|
"kind": "field",
|
|
2472
|
-
"name": "
|
|
2492
|
+
"name": "state",
|
|
2473
2493
|
"type": {
|
|
2474
|
-
"text": "
|
|
2494
|
+
"text": "AIIndicatorState"
|
|
2475
2495
|
},
|
|
2476
|
-
"default": "
|
|
2496
|
+
"default": "'none'"
|
|
2477
2497
|
},
|
|
2478
2498
|
{
|
|
2479
2499
|
"kind": "field",
|
|
2480
|
-
"name": "
|
|
2500
|
+
"name": "isInstalling",
|
|
2481
2501
|
"type": {
|
|
2482
2502
|
"text": "boolean"
|
|
2483
2503
|
},
|
|
@@ -2485,33 +2505,29 @@
|
|
|
2485
2505
|
},
|
|
2486
2506
|
{
|
|
2487
2507
|
"kind": "field",
|
|
2488
|
-
"name": "
|
|
2508
|
+
"name": "pollTimer",
|
|
2489
2509
|
"type": {
|
|
2490
|
-
"text": "
|
|
2510
|
+
"text": "ReturnType<typeof setInterval> | null"
|
|
2491
2511
|
},
|
|
2492
|
-
"privacy": "
|
|
2512
|
+
"privacy": "private",
|
|
2513
|
+
"default": "null"
|
|
2493
2514
|
},
|
|
2494
2515
|
{
|
|
2495
2516
|
"kind": "field",
|
|
2496
|
-
"name": "
|
|
2497
|
-
"
|
|
2498
|
-
"text": "(() => void) | null"
|
|
2499
|
-
},
|
|
2500
|
-
"privacy": "private",
|
|
2501
|
-
"default": "null"
|
|
2517
|
+
"name": "clickOutside",
|
|
2518
|
+
"privacy": "private"
|
|
2502
2519
|
},
|
|
2503
2520
|
{
|
|
2504
2521
|
"kind": "field",
|
|
2505
|
-
"name": "
|
|
2522
|
+
"name": "chromeStatusLabel",
|
|
2506
2523
|
"type": {
|
|
2507
|
-
"text": "
|
|
2524
|
+
"text": "string | null"
|
|
2508
2525
|
},
|
|
2509
|
-
"
|
|
2510
|
-
"default": "null"
|
|
2526
|
+
"readonly": true
|
|
2511
2527
|
},
|
|
2512
2528
|
{
|
|
2513
2529
|
"kind": "field",
|
|
2514
|
-
"name": "
|
|
2530
|
+
"name": "canInstall",
|
|
2515
2531
|
"type": {
|
|
2516
2532
|
"text": "boolean"
|
|
2517
2533
|
},
|
|
@@ -2519,65 +2535,69 @@
|
|
|
2519
2535
|
},
|
|
2520
2536
|
{
|
|
2521
2537
|
"kind": "field",
|
|
2522
|
-
"name": "
|
|
2538
|
+
"name": "isDownloading",
|
|
2523
2539
|
"type": {
|
|
2524
|
-
"text": "
|
|
2540
|
+
"text": "boolean"
|
|
2525
2541
|
},
|
|
2526
2542
|
"readonly": true
|
|
2527
2543
|
},
|
|
2528
2544
|
{
|
|
2529
2545
|
"kind": "method",
|
|
2530
|
-
"name": "
|
|
2531
|
-
"privacy": "private",
|
|
2546
|
+
"name": "openChanged",
|
|
2532
2547
|
"return": {
|
|
2533
2548
|
"type": {
|
|
2534
|
-
"text": "
|
|
2549
|
+
"text": "void"
|
|
2535
2550
|
}
|
|
2536
|
-
}
|
|
2551
|
+
}
|
|
2552
|
+
},
|
|
2553
|
+
{
|
|
2554
|
+
"kind": "method",
|
|
2555
|
+
"name": "handleClickOutside",
|
|
2556
|
+
"privacy": "private",
|
|
2537
2557
|
"parameters": [
|
|
2538
2558
|
{
|
|
2539
|
-
"name": "
|
|
2559
|
+
"name": "event",
|
|
2540
2560
|
"type": {
|
|
2541
|
-
"text": "
|
|
2561
|
+
"text": "MouseEvent"
|
|
2542
2562
|
}
|
|
2543
2563
|
}
|
|
2544
2564
|
]
|
|
2545
2565
|
},
|
|
2546
2566
|
{
|
|
2547
2567
|
"kind": "method",
|
|
2548
|
-
"name": "
|
|
2568
|
+
"name": "toggleDropdown"
|
|
2569
|
+
},
|
|
2570
|
+
{
|
|
2571
|
+
"kind": "method",
|
|
2572
|
+
"name": "refreshStatus",
|
|
2549
2573
|
"return": {
|
|
2550
2574
|
"type": {
|
|
2551
|
-
"text": "void"
|
|
2575
|
+
"text": "Promise<void>"
|
|
2552
2576
|
}
|
|
2553
2577
|
}
|
|
2554
2578
|
},
|
|
2555
2579
|
{
|
|
2556
2580
|
"kind": "method",
|
|
2557
|
-
"name": "
|
|
2581
|
+
"name": "deriveState",
|
|
2582
|
+
"privacy": "private",
|
|
2558
2583
|
"return": {
|
|
2559
2584
|
"type": {
|
|
2560
|
-
"text": "
|
|
2585
|
+
"text": "AIIndicatorState"
|
|
2561
2586
|
}
|
|
2562
2587
|
},
|
|
2563
2588
|
"parameters": [
|
|
2564
2589
|
{
|
|
2565
|
-
"name": "
|
|
2566
|
-
"type": {
|
|
2567
|
-
"text": "number"
|
|
2568
|
-
}
|
|
2569
|
-
},
|
|
2570
|
-
{
|
|
2571
|
-
"name": "clauseIndex",
|
|
2590
|
+
"name": "s",
|
|
2572
2591
|
"type": {
|
|
2573
|
-
"text": "
|
|
2592
|
+
"text": "AIStatus | null"
|
|
2574
2593
|
}
|
|
2575
2594
|
}
|
|
2576
2595
|
]
|
|
2577
2596
|
},
|
|
2578
2597
|
{
|
|
2579
2598
|
"kind": "method",
|
|
2580
|
-
"name": "
|
|
2599
|
+
"name": "maybeStartPolling",
|
|
2600
|
+
"privacy": "private",
|
|
2581
2601
|
"return": {
|
|
2582
2602
|
"type": {
|
|
2583
2603
|
"text": "void"
|
|
@@ -2586,24 +2606,32 @@
|
|
|
2586
2606
|
},
|
|
2587
2607
|
{
|
|
2588
2608
|
"kind": "method",
|
|
2589
|
-
"name": "
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
"kind": "method",
|
|
2597
|
-
"name": "clear"
|
|
2609
|
+
"name": "startPolling",
|
|
2610
|
+
"privacy": "private",
|
|
2611
|
+
"return": {
|
|
2612
|
+
"type": {
|
|
2613
|
+
"text": "void"
|
|
2614
|
+
}
|
|
2615
|
+
}
|
|
2598
2616
|
},
|
|
2599
2617
|
{
|
|
2600
2618
|
"kind": "method",
|
|
2601
|
-
"name": "
|
|
2619
|
+
"name": "stopPolling",
|
|
2620
|
+
"privacy": "private",
|
|
2621
|
+
"return": {
|
|
2622
|
+
"type": {
|
|
2623
|
+
"text": "void"
|
|
2624
|
+
}
|
|
2625
|
+
}
|
|
2602
2626
|
},
|
|
2603
2627
|
{
|
|
2604
2628
|
"kind": "method",
|
|
2605
|
-
"name": "
|
|
2606
|
-
"
|
|
2629
|
+
"name": "onInstall",
|
|
2630
|
+
"return": {
|
|
2631
|
+
"type": {
|
|
2632
|
+
"text": "Promise<void>"
|
|
2633
|
+
}
|
|
2634
|
+
}
|
|
2607
2635
|
},
|
|
2608
2636
|
{
|
|
2609
2637
|
"kind": "field",
|
|
@@ -2717,351 +2745,145 @@
|
|
|
2717
2745
|
}
|
|
2718
2746
|
}
|
|
2719
2747
|
],
|
|
2720
|
-
"events": [
|
|
2721
|
-
{
|
|
2722
|
-
"description": "Fired when interpreted criteria is applied or cleared",
|
|
2723
|
-
"name": "criteria-changed"
|
|
2724
|
-
},
|
|
2725
|
-
{
|
|
2726
|
-
"description": "Fired when interpreted criteria contains invalid clauses",
|
|
2727
|
-
"name": "validation-errors"
|
|
2728
|
-
}
|
|
2729
|
-
],
|
|
2730
|
-
"attributes": [
|
|
2731
|
-
{
|
|
2732
|
-
"name": "placeholder",
|
|
2733
|
-
"type": {
|
|
2734
|
-
"text": "string"
|
|
2735
|
-
},
|
|
2736
|
-
"default": "'Describe your search criteria in natural language...'",
|
|
2737
|
-
"fieldName": "placeholder"
|
|
2738
|
-
},
|
|
2739
|
-
{
|
|
2740
|
-
"type": {
|
|
2741
|
-
"text": "boolean"
|
|
2742
|
-
},
|
|
2743
|
-
"fieldName": "disabled"
|
|
2744
|
-
}
|
|
2745
|
-
],
|
|
2746
2748
|
"superclass": {
|
|
2747
2749
|
"name": "FoundationElement",
|
|
2748
2750
|
"package": "@microsoft/fast-foundation"
|
|
2749
2751
|
},
|
|
2750
|
-
"tagName": "%%prefix%%-ai-
|
|
2752
|
+
"tagName": "%%prefix%%-ai-indicator",
|
|
2751
2753
|
"customElement": true
|
|
2752
2754
|
},
|
|
2753
2755
|
{
|
|
2754
2756
|
"kind": "variable",
|
|
2755
|
-
"name": "
|
|
2756
|
-
"type": {
|
|
2757
|
-
"text": "ShadowRootInit"
|
|
2758
|
-
},
|
|
2759
|
-
"default": "undefined"
|
|
2760
|
-
},
|
|
2761
|
-
{
|
|
2762
|
-
"kind": "variable",
|
|
2763
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2764
|
-
"type": {
|
|
2765
|
-
"text": "object"
|
|
2766
|
-
},
|
|
2767
|
-
"default": "{}"
|
|
2768
|
-
},
|
|
2769
|
-
{
|
|
2770
|
-
"kind": "variable",
|
|
2771
|
-
"name": "foundationAiCriteriaSearch"
|
|
2757
|
+
"name": "foundationAiIndicator"
|
|
2772
2758
|
}
|
|
2773
2759
|
],
|
|
2774
2760
|
"exports": [
|
|
2775
2761
|
{
|
|
2776
2762
|
"kind": "js",
|
|
2777
|
-
"name": "
|
|
2778
|
-
"declaration": {
|
|
2779
|
-
"name": "AiCriteriaSearch",
|
|
2780
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2781
|
-
}
|
|
2782
|
-
},
|
|
2783
|
-
{
|
|
2784
|
-
"kind": "js",
|
|
2785
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2786
|
-
"declaration": {
|
|
2787
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2788
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2789
|
-
}
|
|
2790
|
-
},
|
|
2791
|
-
{
|
|
2792
|
-
"kind": "js",
|
|
2793
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2763
|
+
"name": "AiIndicator",
|
|
2794
2764
|
"declaration": {
|
|
2795
|
-
"name": "
|
|
2796
|
-
"module": "src/ai-
|
|
2765
|
+
"name": "AiIndicator",
|
|
2766
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
2797
2767
|
}
|
|
2798
2768
|
},
|
|
2799
2769
|
{
|
|
2800
2770
|
"kind": "js",
|
|
2801
|
-
"name": "
|
|
2771
|
+
"name": "foundationAiIndicator",
|
|
2802
2772
|
"declaration": {
|
|
2803
|
-
"name": "
|
|
2804
|
-
"module": "src/ai-
|
|
2773
|
+
"name": "foundationAiIndicator",
|
|
2774
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
2805
2775
|
}
|
|
2806
2776
|
}
|
|
2807
2777
|
]
|
|
2808
2778
|
},
|
|
2809
2779
|
{
|
|
2810
2780
|
"kind": "javascript-module",
|
|
2811
|
-
"path": "src/ai-
|
|
2781
|
+
"path": "src/ai-indicator/index.ts",
|
|
2812
2782
|
"declarations": [],
|
|
2813
2783
|
"exports": [
|
|
2814
2784
|
{
|
|
2815
2785
|
"kind": "js",
|
|
2816
|
-
"name": "
|
|
2817
|
-
"declaration": {
|
|
2818
|
-
"name": "AiCriteriaSearch",
|
|
2819
|
-
"module": "./ai-criteria-search"
|
|
2820
|
-
}
|
|
2821
|
-
},
|
|
2822
|
-
{
|
|
2823
|
-
"kind": "js",
|
|
2824
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2825
|
-
"declaration": {
|
|
2826
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2827
|
-
"module": "./ai-criteria-search"
|
|
2828
|
-
}
|
|
2829
|
-
},
|
|
2830
|
-
{
|
|
2831
|
-
"kind": "js",
|
|
2832
|
-
"name": "foundationAiCriteriaSearch",
|
|
2833
|
-
"declaration": {
|
|
2834
|
-
"name": "foundationAiCriteriaSearch",
|
|
2835
|
-
"module": "./ai-criteria-search"
|
|
2836
|
-
}
|
|
2837
|
-
},
|
|
2838
|
-
{
|
|
2839
|
-
"kind": "js",
|
|
2840
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2841
|
-
"declaration": {
|
|
2842
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2843
|
-
"module": "./ai-criteria-search"
|
|
2844
|
-
}
|
|
2845
|
-
},
|
|
2846
|
-
{
|
|
2847
|
-
"kind": "js",
|
|
2848
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2849
|
-
"declaration": {
|
|
2850
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2851
|
-
"module": "./ai-criteria-search.styles"
|
|
2852
|
-
}
|
|
2853
|
-
},
|
|
2854
|
-
{
|
|
2855
|
-
"kind": "js",
|
|
2856
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2857
|
-
"declaration": {
|
|
2858
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2859
|
-
"module": "./ai-criteria-search.template"
|
|
2860
|
-
}
|
|
2861
|
-
},
|
|
2862
|
-
{
|
|
2863
|
-
"kind": "js",
|
|
2864
|
-
"name": "*",
|
|
2865
|
-
"declaration": {
|
|
2866
|
-
"name": "*",
|
|
2867
|
-
"package": "./validation/criteria-ir"
|
|
2868
|
-
}
|
|
2869
|
-
},
|
|
2870
|
-
{
|
|
2871
|
-
"kind": "js",
|
|
2872
|
-
"name": "*",
|
|
2786
|
+
"name": "AiIndicator",
|
|
2873
2787
|
"declaration": {
|
|
2874
|
-
"name": "
|
|
2875
|
-
"
|
|
2788
|
+
"name": "AiIndicator",
|
|
2789
|
+
"module": "./ai-indicator"
|
|
2876
2790
|
}
|
|
2877
2791
|
},
|
|
2878
2792
|
{
|
|
2879
2793
|
"kind": "js",
|
|
2880
|
-
"name": "
|
|
2794
|
+
"name": "foundationAiIndicator",
|
|
2881
2795
|
"declaration": {
|
|
2882
|
-
"name": "
|
|
2883
|
-
"
|
|
2796
|
+
"name": "foundationAiIndicator",
|
|
2797
|
+
"module": "./ai-indicator"
|
|
2884
2798
|
}
|
|
2885
|
-
}
|
|
2886
|
-
]
|
|
2887
|
-
},
|
|
2888
|
-
{
|
|
2889
|
-
"kind": "javascript-module",
|
|
2890
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
2891
|
-
"declarations": [
|
|
2892
|
-
{
|
|
2893
|
-
"kind": "function",
|
|
2894
|
-
"name": "formatValidationErrors",
|
|
2895
|
-
"return": {
|
|
2896
|
-
"type": {
|
|
2897
|
-
"text": "string"
|
|
2898
|
-
}
|
|
2899
|
-
},
|
|
2900
|
-
"parameters": [
|
|
2901
|
-
{
|
|
2902
|
-
"name": "errors",
|
|
2903
|
-
"type": {
|
|
2904
|
-
"text": "ValidationError[]"
|
|
2905
|
-
}
|
|
2906
|
-
}
|
|
2907
|
-
],
|
|
2908
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
2909
2799
|
},
|
|
2910
|
-
{
|
|
2911
|
-
"kind": "function",
|
|
2912
|
-
"name": "showCriteriaError",
|
|
2913
|
-
"return": {
|
|
2914
|
-
"type": {
|
|
2915
|
-
"text": "void"
|
|
2916
|
-
}
|
|
2917
|
-
},
|
|
2918
|
-
"parameters": [
|
|
2919
|
-
{
|
|
2920
|
-
"name": "title",
|
|
2921
|
-
"type": {
|
|
2922
|
-
"text": "string"
|
|
2923
|
-
},
|
|
2924
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
2925
|
-
},
|
|
2926
|
-
{
|
|
2927
|
-
"name": "body",
|
|
2928
|
-
"type": {
|
|
2929
|
-
"text": "string"
|
|
2930
|
-
},
|
|
2931
|
-
"description": "Error message to display"
|
|
2932
|
-
},
|
|
2933
|
-
{
|
|
2934
|
-
"name": "tagName",
|
|
2935
|
-
"type": {
|
|
2936
|
-
"text": "string"
|
|
2937
|
-
},
|
|
2938
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
2939
|
-
}
|
|
2940
|
-
],
|
|
2941
|
-
"description": "Shows a criteria error as a toast notification."
|
|
2942
|
-
}
|
|
2943
|
-
],
|
|
2944
|
-
"exports": [
|
|
2945
2800
|
{
|
|
2946
2801
|
"kind": "js",
|
|
2947
|
-
"name": "
|
|
2802
|
+
"name": "type",
|
|
2948
2803
|
"declaration": {
|
|
2949
|
-
"name": "
|
|
2950
|
-
"module": "
|
|
2804
|
+
"name": "type",
|
|
2805
|
+
"module": "./ai-indicator"
|
|
2951
2806
|
}
|
|
2952
2807
|
},
|
|
2953
2808
|
{
|
|
2954
2809
|
"kind": "js",
|
|
2955
|
-
"name": "
|
|
2956
|
-
"declaration": {
|
|
2957
|
-
"name": "showCriteriaError",
|
|
2958
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2959
|
-
}
|
|
2960
|
-
}
|
|
2961
|
-
]
|
|
2962
|
-
},
|
|
2963
|
-
{
|
|
2964
|
-
"kind": "javascript-module",
|
|
2965
|
-
"path": "src/_config/index.ts",
|
|
2966
|
-
"declarations": [],
|
|
2967
|
-
"exports": [
|
|
2968
|
-
{
|
|
2969
|
-
"kind": "js",
|
|
2970
|
-
"name": "*",
|
|
2810
|
+
"name": "AIIndicatorState",
|
|
2971
2811
|
"declaration": {
|
|
2972
|
-
"name": "
|
|
2973
|
-
"
|
|
2812
|
+
"name": "AIIndicatorState",
|
|
2813
|
+
"module": "./ai-indicator"
|
|
2974
2814
|
}
|
|
2975
2815
|
},
|
|
2976
2816
|
{
|
|
2977
2817
|
"kind": "js",
|
|
2978
|
-
"name": "
|
|
2818
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2979
2819
|
"declaration": {
|
|
2980
|
-
"name": "
|
|
2981
|
-
"
|
|
2820
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2821
|
+
"module": "./ai-indicator.template"
|
|
2982
2822
|
}
|
|
2983
2823
|
},
|
|
2984
2824
|
{
|
|
2985
2825
|
"kind": "js",
|
|
2986
|
-
"name": "
|
|
2826
|
+
"name": "foundationAiIndicatorStyles",
|
|
2987
2827
|
"declaration": {
|
|
2988
|
-
"name": "
|
|
2989
|
-
"
|
|
2828
|
+
"name": "foundationAiIndicatorStyles",
|
|
2829
|
+
"module": "./ai-indicator.styles"
|
|
2990
2830
|
}
|
|
2991
2831
|
}
|
|
2992
2832
|
]
|
|
2993
2833
|
},
|
|
2994
2834
|
{
|
|
2995
2835
|
"kind": "javascript-module",
|
|
2996
|
-
"path": "src/ai-
|
|
2836
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
2997
2837
|
"declarations": [
|
|
2998
2838
|
{
|
|
2999
|
-
"kind": "
|
|
3000
|
-
"name": "
|
|
3001
|
-
"
|
|
3002
|
-
"type": {
|
|
3003
|
-
"text": "ElementStyles"
|
|
3004
|
-
}
|
|
3005
|
-
},
|
|
3006
|
-
"parameters": [
|
|
3007
|
-
{
|
|
3008
|
-
"name": "context",
|
|
3009
|
-
"type": {
|
|
3010
|
-
"text": "ElementDefinitionContext"
|
|
3011
|
-
}
|
|
3012
|
-
},
|
|
3013
|
-
{
|
|
3014
|
-
"name": "definition",
|
|
3015
|
-
"type": {
|
|
3016
|
-
"text": "FoundationElementDefinition"
|
|
3017
|
-
}
|
|
3018
|
-
}
|
|
3019
|
-
]
|
|
2839
|
+
"kind": "variable",
|
|
2840
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2841
|
+
"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`"
|
|
3020
2842
|
}
|
|
3021
2843
|
],
|
|
3022
2844
|
"exports": [
|
|
3023
2845
|
{
|
|
3024
2846
|
"kind": "js",
|
|
3025
|
-
"name": "
|
|
2847
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3026
2848
|
"declaration": {
|
|
3027
|
-
"name": "
|
|
3028
|
-
"module": "src/ai-
|
|
2849
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2850
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
3029
2851
|
}
|
|
3030
2852
|
}
|
|
3031
2853
|
]
|
|
3032
2854
|
},
|
|
3033
2855
|
{
|
|
3034
2856
|
"kind": "javascript-module",
|
|
3035
|
-
"path": "src/ai-
|
|
2857
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
3036
2858
|
"declarations": [
|
|
3037
2859
|
{
|
|
3038
2860
|
"kind": "variable",
|
|
3039
|
-
"name": "
|
|
2861
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3040
2862
|
"type": {
|
|
3041
|
-
"text": "ViewTemplate<
|
|
2863
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
3042
2864
|
},
|
|
3043
|
-
"default": "html`\n ${(x) =>
|
|
2865
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
3044
2866
|
}
|
|
3045
2867
|
],
|
|
3046
2868
|
"exports": [
|
|
3047
2869
|
{
|
|
3048
2870
|
"kind": "js",
|
|
3049
|
-
"name": "
|
|
2871
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3050
2872
|
"declaration": {
|
|
3051
|
-
"name": "
|
|
3052
|
-
"module": "src/ai-
|
|
2873
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2874
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
3053
2875
|
}
|
|
3054
2876
|
}
|
|
3055
2877
|
]
|
|
3056
2878
|
},
|
|
3057
2879
|
{
|
|
3058
2880
|
"kind": "javascript-module",
|
|
3059
|
-
"path": "src/ai-
|
|
2881
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
3060
2882
|
"declarations": [
|
|
3061
2883
|
{
|
|
3062
2884
|
"kind": "class",
|
|
3063
|
-
"description": "",
|
|
3064
|
-
"name": "
|
|
2885
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2886
|
+
"name": "AiCriteriaSearch",
|
|
3065
2887
|
"members": [
|
|
3066
2888
|
{
|
|
3067
2889
|
"kind": "field",
|
|
@@ -3072,25 +2894,54 @@
|
|
|
3072
2894
|
},
|
|
3073
2895
|
{
|
|
3074
2896
|
"kind": "field",
|
|
3075
|
-
"name": "
|
|
2897
|
+
"name": "placeholder",
|
|
3076
2898
|
"type": {
|
|
3077
|
-
"text": "
|
|
2899
|
+
"text": "string"
|
|
3078
2900
|
},
|
|
3079
|
-
"
|
|
3080
|
-
"description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
|
|
3081
|
-
"readonly": true
|
|
2901
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
3082
2902
|
},
|
|
3083
2903
|
{
|
|
3084
2904
|
"kind": "field",
|
|
3085
|
-
"name": "
|
|
2905
|
+
"name": "disabled",
|
|
3086
2906
|
"type": {
|
|
3087
|
-
"text": "
|
|
2907
|
+
"text": "boolean"
|
|
2908
|
+
}
|
|
2909
|
+
},
|
|
2910
|
+
{
|
|
2911
|
+
"kind": "field",
|
|
2912
|
+
"name": "inputValue",
|
|
2913
|
+
"type": {
|
|
2914
|
+
"text": "string"
|
|
2915
|
+
},
|
|
2916
|
+
"default": "''"
|
|
2917
|
+
},
|
|
2918
|
+
{
|
|
2919
|
+
"kind": "field",
|
|
2920
|
+
"name": "isInterpreting",
|
|
2921
|
+
"type": {
|
|
2922
|
+
"text": "boolean"
|
|
2923
|
+
},
|
|
2924
|
+
"default": "false"
|
|
2925
|
+
},
|
|
2926
|
+
{
|
|
2927
|
+
"kind": "field",
|
|
2928
|
+
"name": "lastValidCriteria",
|
|
2929
|
+
"type": {
|
|
2930
|
+
"text": "string | null"
|
|
3088
2931
|
},
|
|
3089
2932
|
"default": "null"
|
|
3090
2933
|
},
|
|
3091
2934
|
{
|
|
3092
2935
|
"kind": "field",
|
|
3093
|
-
"name": "
|
|
2936
|
+
"name": "activeGroups",
|
|
2937
|
+
"type": {
|
|
2938
|
+
"text": "CriteriaGroup[]"
|
|
2939
|
+
},
|
|
2940
|
+
"default": "[]"
|
|
2941
|
+
},
|
|
2942
|
+
{
|
|
2943
|
+
"kind": "field",
|
|
2944
|
+
"name": "showingChips",
|
|
3094
2945
|
"type": {
|
|
3095
2946
|
"text": "boolean"
|
|
3096
2947
|
},
|
|
@@ -3098,15 +2949,15 @@
|
|
|
3098
2949
|
},
|
|
3099
2950
|
{
|
|
3100
2951
|
"kind": "field",
|
|
3101
|
-
"name": "
|
|
2952
|
+
"name": "fieldMetadata",
|
|
3102
2953
|
"type": {
|
|
3103
|
-
"text": "
|
|
2954
|
+
"text": "MetadataDetail[] | string[]"
|
|
3104
2955
|
},
|
|
3105
|
-
"default": "
|
|
2956
|
+
"default": "[]"
|
|
3106
2957
|
},
|
|
3107
2958
|
{
|
|
3108
2959
|
"kind": "field",
|
|
3109
|
-
"name": "
|
|
2960
|
+
"name": "isRecording",
|
|
3110
2961
|
"type": {
|
|
3111
2962
|
"text": "boolean"
|
|
3112
2963
|
},
|
|
@@ -3114,29 +2965,33 @@
|
|
|
3114
2965
|
},
|
|
3115
2966
|
{
|
|
3116
2967
|
"kind": "field",
|
|
3117
|
-
"name": "
|
|
2968
|
+
"name": "textAreaRef",
|
|
3118
2969
|
"type": {
|
|
3119
|
-
"text": "
|
|
2970
|
+
"text": "HTMLTextAreaElement"
|
|
3120
2971
|
},
|
|
3121
|
-
"privacy": "
|
|
3122
|
-
"default": "null"
|
|
2972
|
+
"privacy": "public"
|
|
3123
2973
|
},
|
|
3124
2974
|
{
|
|
3125
2975
|
"kind": "field",
|
|
3126
|
-
"name": "
|
|
3127
|
-
"
|
|
2976
|
+
"name": "stopRecording",
|
|
2977
|
+
"type": {
|
|
2978
|
+
"text": "(() => void) | null"
|
|
2979
|
+
},
|
|
2980
|
+
"privacy": "private",
|
|
2981
|
+
"default": "null"
|
|
3128
2982
|
},
|
|
3129
2983
|
{
|
|
3130
2984
|
"kind": "field",
|
|
3131
|
-
"name": "
|
|
2985
|
+
"name": "speechApplyDebounceTimer",
|
|
3132
2986
|
"type": {
|
|
3133
|
-
"text": "
|
|
2987
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3134
2988
|
},
|
|
3135
|
-
"
|
|
2989
|
+
"privacy": "private",
|
|
2990
|
+
"default": "null"
|
|
3136
2991
|
},
|
|
3137
2992
|
{
|
|
3138
2993
|
"kind": "field",
|
|
3139
|
-
"name": "
|
|
2994
|
+
"name": "speechAvailable",
|
|
3140
2995
|
"type": {
|
|
3141
2996
|
"text": "boolean"
|
|
3142
2997
|
},
|
|
@@ -3144,69 +2999,65 @@
|
|
|
3144
2999
|
},
|
|
3145
3000
|
{
|
|
3146
3001
|
"kind": "field",
|
|
3147
|
-
"name": "
|
|
3002
|
+
"name": "criteriaChips",
|
|
3148
3003
|
"type": {
|
|
3149
|
-
"text": "
|
|
3004
|
+
"text": "CriteriaChip[]"
|
|
3150
3005
|
},
|
|
3151
3006
|
"readonly": true
|
|
3152
3007
|
},
|
|
3153
3008
|
{
|
|
3154
3009
|
"kind": "method",
|
|
3155
|
-
"name": "
|
|
3010
|
+
"name": "getFieldLabel",
|
|
3011
|
+
"privacy": "private",
|
|
3156
3012
|
"return": {
|
|
3157
3013
|
"type": {
|
|
3158
|
-
"text": "
|
|
3014
|
+
"text": "string"
|
|
3159
3015
|
}
|
|
3160
|
-
}
|
|
3161
|
-
},
|
|
3162
|
-
{
|
|
3163
|
-
"kind": "method",
|
|
3164
|
-
"name": "handleClickOutside",
|
|
3165
|
-
"privacy": "private",
|
|
3016
|
+
},
|
|
3166
3017
|
"parameters": [
|
|
3167
3018
|
{
|
|
3168
|
-
"name": "
|
|
3019
|
+
"name": "fieldName",
|
|
3169
3020
|
"type": {
|
|
3170
|
-
"text": "
|
|
3021
|
+
"text": "string"
|
|
3171
3022
|
}
|
|
3172
3023
|
}
|
|
3173
3024
|
]
|
|
3174
3025
|
},
|
|
3175
3026
|
{
|
|
3176
3027
|
"kind": "method",
|
|
3177
|
-
"name": "
|
|
3178
|
-
},
|
|
3179
|
-
{
|
|
3180
|
-
"kind": "method",
|
|
3181
|
-
"name": "refreshStatus",
|
|
3028
|
+
"name": "toggleCriteriaView",
|
|
3182
3029
|
"return": {
|
|
3183
3030
|
"type": {
|
|
3184
|
-
"text": "
|
|
3031
|
+
"text": "void"
|
|
3185
3032
|
}
|
|
3186
3033
|
}
|
|
3187
3034
|
},
|
|
3188
3035
|
{
|
|
3189
3036
|
"kind": "method",
|
|
3190
|
-
"name": "
|
|
3191
|
-
"privacy": "private",
|
|
3037
|
+
"name": "removeChip",
|
|
3192
3038
|
"return": {
|
|
3193
3039
|
"type": {
|
|
3194
|
-
"text": "
|
|
3040
|
+
"text": "void"
|
|
3195
3041
|
}
|
|
3196
3042
|
},
|
|
3197
3043
|
"parameters": [
|
|
3198
3044
|
{
|
|
3199
|
-
"name": "
|
|
3045
|
+
"name": "groupIndex",
|
|
3200
3046
|
"type": {
|
|
3201
|
-
"text": "
|
|
3047
|
+
"text": "number"
|
|
3048
|
+
}
|
|
3049
|
+
},
|
|
3050
|
+
{
|
|
3051
|
+
"name": "clauseIndex",
|
|
3052
|
+
"type": {
|
|
3053
|
+
"text": "number"
|
|
3202
3054
|
}
|
|
3203
3055
|
}
|
|
3204
3056
|
]
|
|
3205
3057
|
},
|
|
3206
3058
|
{
|
|
3207
3059
|
"kind": "method",
|
|
3208
|
-
"name": "
|
|
3209
|
-
"privacy": "private",
|
|
3060
|
+
"name": "clearChips",
|
|
3210
3061
|
"return": {
|
|
3211
3062
|
"type": {
|
|
3212
3063
|
"text": "void"
|
|
@@ -3215,32 +3066,24 @@
|
|
|
3215
3066
|
},
|
|
3216
3067
|
{
|
|
3217
3068
|
"kind": "method",
|
|
3218
|
-
"name": "
|
|
3219
|
-
"privacy": "private",
|
|
3220
|
-
"return": {
|
|
3221
|
-
"type": {
|
|
3222
|
-
"text": "void"
|
|
3223
|
-
}
|
|
3224
|
-
}
|
|
3069
|
+
"name": "handleSubmit"
|
|
3225
3070
|
},
|
|
3226
3071
|
{
|
|
3227
3072
|
"kind": "method",
|
|
3228
|
-
"name": "
|
|
3229
|
-
"privacy": "private",
|
|
3230
|
-
"return": {
|
|
3231
|
-
"type": {
|
|
3232
|
-
"text": "void"
|
|
3233
|
-
}
|
|
3234
|
-
}
|
|
3073
|
+
"name": "handleBlur"
|
|
3235
3074
|
},
|
|
3236
3075
|
{
|
|
3237
3076
|
"kind": "method",
|
|
3238
|
-
"name": "
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3077
|
+
"name": "clear"
|
|
3078
|
+
},
|
|
3079
|
+
{
|
|
3080
|
+
"kind": "method",
|
|
3081
|
+
"name": "toggleSpeechInput"
|
|
3082
|
+
},
|
|
3083
|
+
{
|
|
3084
|
+
"kind": "method",
|
|
3085
|
+
"name": "clearSpeechApplyDebounce",
|
|
3086
|
+
"privacy": "private"
|
|
3244
3087
|
},
|
|
3245
3088
|
{
|
|
3246
3089
|
"kind": "field",
|
|
@@ -3354,88 +3197,245 @@
|
|
|
3354
3197
|
}
|
|
3355
3198
|
}
|
|
3356
3199
|
],
|
|
3200
|
+
"events": [
|
|
3201
|
+
{
|
|
3202
|
+
"description": "Fired when interpreted criteria is applied or cleared",
|
|
3203
|
+
"name": "criteria-changed"
|
|
3204
|
+
},
|
|
3205
|
+
{
|
|
3206
|
+
"description": "Fired when interpreted criteria contains invalid clauses",
|
|
3207
|
+
"name": "validation-errors"
|
|
3208
|
+
}
|
|
3209
|
+
],
|
|
3210
|
+
"attributes": [
|
|
3211
|
+
{
|
|
3212
|
+
"name": "placeholder",
|
|
3213
|
+
"type": {
|
|
3214
|
+
"text": "string"
|
|
3215
|
+
},
|
|
3216
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
3217
|
+
"fieldName": "placeholder"
|
|
3218
|
+
},
|
|
3219
|
+
{
|
|
3220
|
+
"type": {
|
|
3221
|
+
"text": "boolean"
|
|
3222
|
+
},
|
|
3223
|
+
"fieldName": "disabled"
|
|
3224
|
+
}
|
|
3225
|
+
],
|
|
3357
3226
|
"superclass": {
|
|
3358
3227
|
"name": "FoundationElement",
|
|
3359
3228
|
"package": "@microsoft/fast-foundation"
|
|
3360
3229
|
},
|
|
3361
|
-
"tagName": "%%prefix%%-ai-
|
|
3230
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3362
3231
|
"customElement": true
|
|
3363
3232
|
},
|
|
3364
3233
|
{
|
|
3365
3234
|
"kind": "variable",
|
|
3366
|
-
"name": "
|
|
3235
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3236
|
+
"type": {
|
|
3237
|
+
"text": "ShadowRootInit"
|
|
3238
|
+
},
|
|
3239
|
+
"default": "undefined"
|
|
3240
|
+
},
|
|
3241
|
+
{
|
|
3242
|
+
"kind": "variable",
|
|
3243
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3244
|
+
"type": {
|
|
3245
|
+
"text": "object"
|
|
3246
|
+
},
|
|
3247
|
+
"default": "{}"
|
|
3248
|
+
},
|
|
3249
|
+
{
|
|
3250
|
+
"kind": "variable",
|
|
3251
|
+
"name": "foundationAiCriteriaSearch"
|
|
3367
3252
|
}
|
|
3368
3253
|
],
|
|
3369
3254
|
"exports": [
|
|
3370
3255
|
{
|
|
3371
3256
|
"kind": "js",
|
|
3372
|
-
"name": "
|
|
3257
|
+
"name": "AiCriteriaSearch",
|
|
3373
3258
|
"declaration": {
|
|
3374
|
-
"name": "
|
|
3375
|
-
"module": "src/ai-
|
|
3259
|
+
"name": "AiCriteriaSearch",
|
|
3260
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3376
3261
|
}
|
|
3377
3262
|
},
|
|
3378
3263
|
{
|
|
3379
3264
|
"kind": "js",
|
|
3380
|
-
"name": "
|
|
3265
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3381
3266
|
"declaration": {
|
|
3382
|
-
"name": "
|
|
3383
|
-
"module": "src/ai-
|
|
3267
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3268
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3269
|
+
}
|
|
3270
|
+
},
|
|
3271
|
+
{
|
|
3272
|
+
"kind": "js",
|
|
3273
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3274
|
+
"declaration": {
|
|
3275
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3276
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3277
|
+
}
|
|
3278
|
+
},
|
|
3279
|
+
{
|
|
3280
|
+
"kind": "js",
|
|
3281
|
+
"name": "foundationAiCriteriaSearch",
|
|
3282
|
+
"declaration": {
|
|
3283
|
+
"name": "foundationAiCriteriaSearch",
|
|
3284
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3384
3285
|
}
|
|
3385
3286
|
}
|
|
3386
3287
|
]
|
|
3387
3288
|
},
|
|
3388
3289
|
{
|
|
3389
3290
|
"kind": "javascript-module",
|
|
3390
|
-
"path": "src/ai-
|
|
3291
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
3391
3292
|
"declarations": [],
|
|
3392
3293
|
"exports": [
|
|
3393
3294
|
{
|
|
3394
3295
|
"kind": "js",
|
|
3395
|
-
"name": "
|
|
3296
|
+
"name": "AiCriteriaSearch",
|
|
3396
3297
|
"declaration": {
|
|
3397
|
-
"name": "
|
|
3398
|
-
"module": "./ai-
|
|
3298
|
+
"name": "AiCriteriaSearch",
|
|
3299
|
+
"module": "./ai-criteria-search"
|
|
3399
3300
|
}
|
|
3400
3301
|
},
|
|
3401
3302
|
{
|
|
3402
3303
|
"kind": "js",
|
|
3403
|
-
"name": "
|
|
3304
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3404
3305
|
"declaration": {
|
|
3405
|
-
"name": "
|
|
3406
|
-
"module": "./ai-
|
|
3306
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3307
|
+
"module": "./ai-criteria-search"
|
|
3407
3308
|
}
|
|
3408
3309
|
},
|
|
3409
3310
|
{
|
|
3410
3311
|
"kind": "js",
|
|
3411
|
-
"name": "
|
|
3312
|
+
"name": "foundationAiCriteriaSearch",
|
|
3412
3313
|
"declaration": {
|
|
3413
|
-
"name": "
|
|
3414
|
-
"module": "./ai-
|
|
3314
|
+
"name": "foundationAiCriteriaSearch",
|
|
3315
|
+
"module": "./ai-criteria-search"
|
|
3415
3316
|
}
|
|
3416
3317
|
},
|
|
3417
3318
|
{
|
|
3418
3319
|
"kind": "js",
|
|
3419
|
-
"name": "
|
|
3320
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3420
3321
|
"declaration": {
|
|
3421
|
-
"name": "
|
|
3422
|
-
"module": "./ai-
|
|
3322
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3323
|
+
"module": "./ai-criteria-search"
|
|
3423
3324
|
}
|
|
3424
3325
|
},
|
|
3425
3326
|
{
|
|
3426
3327
|
"kind": "js",
|
|
3427
|
-
"name": "
|
|
3328
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3428
3329
|
"declaration": {
|
|
3429
|
-
"name": "
|
|
3430
|
-
"module": "./ai-
|
|
3330
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3331
|
+
"module": "./ai-criteria-search.styles"
|
|
3431
3332
|
}
|
|
3432
3333
|
},
|
|
3433
3334
|
{
|
|
3434
3335
|
"kind": "js",
|
|
3435
|
-
"name": "
|
|
3336
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3436
3337
|
"declaration": {
|
|
3437
|
-
"name": "
|
|
3438
|
-
"module": "./ai-
|
|
3338
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3339
|
+
"module": "./ai-criteria-search.template"
|
|
3340
|
+
}
|
|
3341
|
+
},
|
|
3342
|
+
{
|
|
3343
|
+
"kind": "js",
|
|
3344
|
+
"name": "*",
|
|
3345
|
+
"declaration": {
|
|
3346
|
+
"name": "*",
|
|
3347
|
+
"package": "./validation/criteria-ir"
|
|
3348
|
+
}
|
|
3349
|
+
},
|
|
3350
|
+
{
|
|
3351
|
+
"kind": "js",
|
|
3352
|
+
"name": "*",
|
|
3353
|
+
"declaration": {
|
|
3354
|
+
"name": "*",
|
|
3355
|
+
"package": "./validation/operator-map"
|
|
3356
|
+
}
|
|
3357
|
+
},
|
|
3358
|
+
{
|
|
3359
|
+
"kind": "js",
|
|
3360
|
+
"name": "*",
|
|
3361
|
+
"declaration": {
|
|
3362
|
+
"name": "*",
|
|
3363
|
+
"package": "./validation/schema-validator"
|
|
3364
|
+
}
|
|
3365
|
+
}
|
|
3366
|
+
]
|
|
3367
|
+
},
|
|
3368
|
+
{
|
|
3369
|
+
"kind": "javascript-module",
|
|
3370
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3371
|
+
"declarations": [
|
|
3372
|
+
{
|
|
3373
|
+
"kind": "function",
|
|
3374
|
+
"name": "formatValidationErrors",
|
|
3375
|
+
"return": {
|
|
3376
|
+
"type": {
|
|
3377
|
+
"text": "string"
|
|
3378
|
+
}
|
|
3379
|
+
},
|
|
3380
|
+
"parameters": [
|
|
3381
|
+
{
|
|
3382
|
+
"name": "errors",
|
|
3383
|
+
"type": {
|
|
3384
|
+
"text": "ValidationError[]"
|
|
3385
|
+
}
|
|
3386
|
+
}
|
|
3387
|
+
],
|
|
3388
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
3389
|
+
},
|
|
3390
|
+
{
|
|
3391
|
+
"kind": "function",
|
|
3392
|
+
"name": "showCriteriaError",
|
|
3393
|
+
"return": {
|
|
3394
|
+
"type": {
|
|
3395
|
+
"text": "void"
|
|
3396
|
+
}
|
|
3397
|
+
},
|
|
3398
|
+
"parameters": [
|
|
3399
|
+
{
|
|
3400
|
+
"name": "title",
|
|
3401
|
+
"type": {
|
|
3402
|
+
"text": "string"
|
|
3403
|
+
},
|
|
3404
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3405
|
+
},
|
|
3406
|
+
{
|
|
3407
|
+
"name": "body",
|
|
3408
|
+
"type": {
|
|
3409
|
+
"text": "string"
|
|
3410
|
+
},
|
|
3411
|
+
"description": "Error message to display"
|
|
3412
|
+
},
|
|
3413
|
+
{
|
|
3414
|
+
"name": "tagName",
|
|
3415
|
+
"type": {
|
|
3416
|
+
"text": "string"
|
|
3417
|
+
},
|
|
3418
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3419
|
+
}
|
|
3420
|
+
],
|
|
3421
|
+
"description": "Shows a criteria error as a toast notification."
|
|
3422
|
+
}
|
|
3423
|
+
],
|
|
3424
|
+
"exports": [
|
|
3425
|
+
{
|
|
3426
|
+
"kind": "js",
|
|
3427
|
+
"name": "formatValidationErrors",
|
|
3428
|
+
"declaration": {
|
|
3429
|
+
"name": "formatValidationErrors",
|
|
3430
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3431
|
+
}
|
|
3432
|
+
},
|
|
3433
|
+
{
|
|
3434
|
+
"kind": "js",
|
|
3435
|
+
"name": "showCriteriaError",
|
|
3436
|
+
"declaration": {
|
|
3437
|
+
"name": "showCriteriaError",
|
|
3438
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3439
3439
|
}
|
|
3440
3440
|
}
|
|
3441
3441
|
]
|
|
@@ -57691,197 +57691,6 @@
|
|
|
57691
57691
|
}
|
|
57692
57692
|
]
|
|
57693
57693
|
},
|
|
57694
|
-
{
|
|
57695
|
-
"kind": "javascript-module",
|
|
57696
|
-
"path": "src/ai-criteria-search/validation/criteria-ir.ts",
|
|
57697
|
-
"declarations": [],
|
|
57698
|
-
"exports": []
|
|
57699
|
-
},
|
|
57700
|
-
{
|
|
57701
|
-
"kind": "javascript-module",
|
|
57702
|
-
"path": "src/ai-criteria-search/validation/operator-map.ts",
|
|
57703
|
-
"declarations": [
|
|
57704
|
-
{
|
|
57705
|
-
"kind": "function",
|
|
57706
|
-
"name": "groupsToCriteria",
|
|
57707
|
-
"return": {
|
|
57708
|
-
"type": {
|
|
57709
|
-
"text": "string"
|
|
57710
|
-
}
|
|
57711
|
-
},
|
|
57712
|
-
"parameters": [
|
|
57713
|
-
{
|
|
57714
|
-
"name": "groups",
|
|
57715
|
-
"type": {
|
|
57716
|
-
"text": "CriteriaGroup[]"
|
|
57717
|
-
}
|
|
57718
|
-
}
|
|
57719
|
-
],
|
|
57720
|
-
"description": "Converts validated CriteriaGroup[] to a Groovy criteria string using CriteriaBuilder.\nGroups are AND-ed at top level. Within each group, clauses use group.logic (and/or).\nIf group.negated is true, the group's combined expression is wrapped in NOT."
|
|
57721
|
-
},
|
|
57722
|
-
{
|
|
57723
|
-
"kind": "variable",
|
|
57724
|
-
"name": "STRING_OPERATORS",
|
|
57725
|
-
"type": {
|
|
57726
|
-
"text": "CriteriaOperator[]"
|
|
57727
|
-
},
|
|
57728
|
-
"default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
|
|
57729
|
-
},
|
|
57730
|
-
{
|
|
57731
|
-
"kind": "variable",
|
|
57732
|
-
"name": "NUMERIC_OPERATORS",
|
|
57733
|
-
"type": {
|
|
57734
|
-
"text": "CriteriaOperator[]"
|
|
57735
|
-
},
|
|
57736
|
-
"default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
|
|
57737
|
-
},
|
|
57738
|
-
{
|
|
57739
|
-
"kind": "variable",
|
|
57740
|
-
"name": "DATE_OPERATORS",
|
|
57741
|
-
"type": {
|
|
57742
|
-
"text": "CriteriaOperator[]"
|
|
57743
|
-
},
|
|
57744
|
-
"default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
|
|
57745
|
-
},
|
|
57746
|
-
{
|
|
57747
|
-
"kind": "variable",
|
|
57748
|
-
"name": "DATETIME_OPERATORS",
|
|
57749
|
-
"type": {
|
|
57750
|
-
"text": "CriteriaOperator[]"
|
|
57751
|
-
},
|
|
57752
|
-
"default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
|
|
57753
|
-
},
|
|
57754
|
-
{
|
|
57755
|
-
"kind": "variable",
|
|
57756
|
-
"name": "OPERATOR_DISPLAY_LABEL",
|
|
57757
|
-
"type": {
|
|
57758
|
-
"text": "Record<CriteriaOperator, string>"
|
|
57759
|
-
},
|
|
57760
|
-
"default": "{\n contains: 'contains',\n equals: '=',\n startsWith: 'starts with',\n endsWith: 'ends with',\n notEqual: '≠',\n greaterThan: '>',\n lessThan: '<',\n greaterThanOrEqual: '≥',\n lessThanOrEqual: '≤',\n dateIsToday: 'is today',\n dateIsAfter: 'after',\n dateIsBefore: 'before',\n dateIsEqual: '=',\n dateIsGreaterEqual: '≥',\n dateIsLessEqual: '≤',\n dateTimeIsAfter: 'after',\n dateTimeIsBefore: 'before',\n dateTimeIsGreaterEqual: '≥',\n dateTimeIsLessEqual: '≤',\n}"
|
|
57761
|
-
}
|
|
57762
|
-
],
|
|
57763
|
-
"exports": [
|
|
57764
|
-
{
|
|
57765
|
-
"kind": "js",
|
|
57766
|
-
"name": "groupsToCriteria",
|
|
57767
|
-
"declaration": {
|
|
57768
|
-
"name": "groupsToCriteria",
|
|
57769
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
57770
|
-
}
|
|
57771
|
-
},
|
|
57772
|
-
{
|
|
57773
|
-
"kind": "js",
|
|
57774
|
-
"name": "STRING_OPERATORS",
|
|
57775
|
-
"declaration": {
|
|
57776
|
-
"name": "STRING_OPERATORS",
|
|
57777
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
57778
|
-
}
|
|
57779
|
-
},
|
|
57780
|
-
{
|
|
57781
|
-
"kind": "js",
|
|
57782
|
-
"name": "NUMERIC_OPERATORS",
|
|
57783
|
-
"declaration": {
|
|
57784
|
-
"name": "NUMERIC_OPERATORS",
|
|
57785
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
57786
|
-
}
|
|
57787
|
-
},
|
|
57788
|
-
{
|
|
57789
|
-
"kind": "js",
|
|
57790
|
-
"name": "DATE_OPERATORS",
|
|
57791
|
-
"declaration": {
|
|
57792
|
-
"name": "DATE_OPERATORS",
|
|
57793
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
57794
|
-
}
|
|
57795
|
-
},
|
|
57796
|
-
{
|
|
57797
|
-
"kind": "js",
|
|
57798
|
-
"name": "DATETIME_OPERATORS",
|
|
57799
|
-
"declaration": {
|
|
57800
|
-
"name": "DATETIME_OPERATORS",
|
|
57801
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
57802
|
-
}
|
|
57803
|
-
},
|
|
57804
|
-
{
|
|
57805
|
-
"kind": "js",
|
|
57806
|
-
"name": "OPERATOR_DISPLAY_LABEL",
|
|
57807
|
-
"declaration": {
|
|
57808
|
-
"name": "OPERATOR_DISPLAY_LABEL",
|
|
57809
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
57810
|
-
}
|
|
57811
|
-
}
|
|
57812
|
-
]
|
|
57813
|
-
},
|
|
57814
|
-
{
|
|
57815
|
-
"kind": "javascript-module",
|
|
57816
|
-
"path": "src/ai-criteria-search/validation/schema-validator.ts",
|
|
57817
|
-
"declarations": [
|
|
57818
|
-
{
|
|
57819
|
-
"kind": "function",
|
|
57820
|
-
"name": "validateClauses",
|
|
57821
|
-
"return": {
|
|
57822
|
-
"type": {
|
|
57823
|
-
"text": "ValidationResult"
|
|
57824
|
-
}
|
|
57825
|
-
},
|
|
57826
|
-
"parameters": [
|
|
57827
|
-
{
|
|
57828
|
-
"name": "clauses",
|
|
57829
|
-
"type": {
|
|
57830
|
-
"text": "CriteriaClause[]"
|
|
57831
|
-
}
|
|
57832
|
-
},
|
|
57833
|
-
{
|
|
57834
|
-
"name": "fieldMetadata",
|
|
57835
|
-
"type": {
|
|
57836
|
-
"text": "MetadataDetail[] | string[]"
|
|
57837
|
-
}
|
|
57838
|
-
}
|
|
57839
|
-
]
|
|
57840
|
-
},
|
|
57841
|
-
{
|
|
57842
|
-
"kind": "function",
|
|
57843
|
-
"name": "validateGroups",
|
|
57844
|
-
"return": {
|
|
57845
|
-
"type": {
|
|
57846
|
-
"text": "GroupsValidationResult"
|
|
57847
|
-
}
|
|
57848
|
-
},
|
|
57849
|
-
"parameters": [
|
|
57850
|
-
{
|
|
57851
|
-
"name": "groups",
|
|
57852
|
-
"type": {
|
|
57853
|
-
"text": "CriteriaGroup[]"
|
|
57854
|
-
}
|
|
57855
|
-
},
|
|
57856
|
-
{
|
|
57857
|
-
"name": "fieldMetadata",
|
|
57858
|
-
"type": {
|
|
57859
|
-
"text": "MetadataDetail[] | string[]"
|
|
57860
|
-
}
|
|
57861
|
-
}
|
|
57862
|
-
],
|
|
57863
|
-
"description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
|
|
57864
|
-
}
|
|
57865
|
-
],
|
|
57866
|
-
"exports": [
|
|
57867
|
-
{
|
|
57868
|
-
"kind": "js",
|
|
57869
|
-
"name": "validateClauses",
|
|
57870
|
-
"declaration": {
|
|
57871
|
-
"name": "validateClauses",
|
|
57872
|
-
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
57873
|
-
}
|
|
57874
|
-
},
|
|
57875
|
-
{
|
|
57876
|
-
"kind": "js",
|
|
57877
|
-
"name": "validateGroups",
|
|
57878
|
-
"declaration": {
|
|
57879
|
-
"name": "validateGroups",
|
|
57880
|
-
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
57881
|
-
}
|
|
57882
|
-
}
|
|
57883
|
-
]
|
|
57884
|
-
},
|
|
57885
57694
|
{
|
|
57886
57695
|
"kind": "javascript-module",
|
|
57887
57696
|
"path": "src/_config/styles/colors.ts",
|
|
@@ -59254,6 +59063,197 @@
|
|
|
59254
59063
|
"declarations": [],
|
|
59255
59064
|
"exports": []
|
|
59256
59065
|
},
|
|
59066
|
+
{
|
|
59067
|
+
"kind": "javascript-module",
|
|
59068
|
+
"path": "src/ai-criteria-search/validation/criteria-ir.ts",
|
|
59069
|
+
"declarations": [],
|
|
59070
|
+
"exports": []
|
|
59071
|
+
},
|
|
59072
|
+
{
|
|
59073
|
+
"kind": "javascript-module",
|
|
59074
|
+
"path": "src/ai-criteria-search/validation/operator-map.ts",
|
|
59075
|
+
"declarations": [
|
|
59076
|
+
{
|
|
59077
|
+
"kind": "function",
|
|
59078
|
+
"name": "groupsToCriteria",
|
|
59079
|
+
"return": {
|
|
59080
|
+
"type": {
|
|
59081
|
+
"text": "string"
|
|
59082
|
+
}
|
|
59083
|
+
},
|
|
59084
|
+
"parameters": [
|
|
59085
|
+
{
|
|
59086
|
+
"name": "groups",
|
|
59087
|
+
"type": {
|
|
59088
|
+
"text": "CriteriaGroup[]"
|
|
59089
|
+
}
|
|
59090
|
+
}
|
|
59091
|
+
],
|
|
59092
|
+
"description": "Converts validated CriteriaGroup[] to a Groovy criteria string using CriteriaBuilder.\nGroups are AND-ed at top level. Within each group, clauses use group.logic (and/or).\nIf group.negated is true, the group's combined expression is wrapped in NOT."
|
|
59093
|
+
},
|
|
59094
|
+
{
|
|
59095
|
+
"kind": "variable",
|
|
59096
|
+
"name": "STRING_OPERATORS",
|
|
59097
|
+
"type": {
|
|
59098
|
+
"text": "CriteriaOperator[]"
|
|
59099
|
+
},
|
|
59100
|
+
"default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
|
|
59101
|
+
},
|
|
59102
|
+
{
|
|
59103
|
+
"kind": "variable",
|
|
59104
|
+
"name": "NUMERIC_OPERATORS",
|
|
59105
|
+
"type": {
|
|
59106
|
+
"text": "CriteriaOperator[]"
|
|
59107
|
+
},
|
|
59108
|
+
"default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
|
|
59109
|
+
},
|
|
59110
|
+
{
|
|
59111
|
+
"kind": "variable",
|
|
59112
|
+
"name": "DATE_OPERATORS",
|
|
59113
|
+
"type": {
|
|
59114
|
+
"text": "CriteriaOperator[]"
|
|
59115
|
+
},
|
|
59116
|
+
"default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
|
|
59117
|
+
},
|
|
59118
|
+
{
|
|
59119
|
+
"kind": "variable",
|
|
59120
|
+
"name": "DATETIME_OPERATORS",
|
|
59121
|
+
"type": {
|
|
59122
|
+
"text": "CriteriaOperator[]"
|
|
59123
|
+
},
|
|
59124
|
+
"default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
|
|
59125
|
+
},
|
|
59126
|
+
{
|
|
59127
|
+
"kind": "variable",
|
|
59128
|
+
"name": "OPERATOR_DISPLAY_LABEL",
|
|
59129
|
+
"type": {
|
|
59130
|
+
"text": "Record<CriteriaOperator, string>"
|
|
59131
|
+
},
|
|
59132
|
+
"default": "{\n contains: 'contains',\n equals: '=',\n startsWith: 'starts with',\n endsWith: 'ends with',\n notEqual: '≠',\n greaterThan: '>',\n lessThan: '<',\n greaterThanOrEqual: '≥',\n lessThanOrEqual: '≤',\n dateIsToday: 'is today',\n dateIsAfter: 'after',\n dateIsBefore: 'before',\n dateIsEqual: '=',\n dateIsGreaterEqual: '≥',\n dateIsLessEqual: '≤',\n dateTimeIsAfter: 'after',\n dateTimeIsBefore: 'before',\n dateTimeIsGreaterEqual: '≥',\n dateTimeIsLessEqual: '≤',\n}"
|
|
59133
|
+
}
|
|
59134
|
+
],
|
|
59135
|
+
"exports": [
|
|
59136
|
+
{
|
|
59137
|
+
"kind": "js",
|
|
59138
|
+
"name": "groupsToCriteria",
|
|
59139
|
+
"declaration": {
|
|
59140
|
+
"name": "groupsToCriteria",
|
|
59141
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
59142
|
+
}
|
|
59143
|
+
},
|
|
59144
|
+
{
|
|
59145
|
+
"kind": "js",
|
|
59146
|
+
"name": "STRING_OPERATORS",
|
|
59147
|
+
"declaration": {
|
|
59148
|
+
"name": "STRING_OPERATORS",
|
|
59149
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
59150
|
+
}
|
|
59151
|
+
},
|
|
59152
|
+
{
|
|
59153
|
+
"kind": "js",
|
|
59154
|
+
"name": "NUMERIC_OPERATORS",
|
|
59155
|
+
"declaration": {
|
|
59156
|
+
"name": "NUMERIC_OPERATORS",
|
|
59157
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
59158
|
+
}
|
|
59159
|
+
},
|
|
59160
|
+
{
|
|
59161
|
+
"kind": "js",
|
|
59162
|
+
"name": "DATE_OPERATORS",
|
|
59163
|
+
"declaration": {
|
|
59164
|
+
"name": "DATE_OPERATORS",
|
|
59165
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
59166
|
+
}
|
|
59167
|
+
},
|
|
59168
|
+
{
|
|
59169
|
+
"kind": "js",
|
|
59170
|
+
"name": "DATETIME_OPERATORS",
|
|
59171
|
+
"declaration": {
|
|
59172
|
+
"name": "DATETIME_OPERATORS",
|
|
59173
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
59174
|
+
}
|
|
59175
|
+
},
|
|
59176
|
+
{
|
|
59177
|
+
"kind": "js",
|
|
59178
|
+
"name": "OPERATOR_DISPLAY_LABEL",
|
|
59179
|
+
"declaration": {
|
|
59180
|
+
"name": "OPERATOR_DISPLAY_LABEL",
|
|
59181
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
59182
|
+
}
|
|
59183
|
+
}
|
|
59184
|
+
]
|
|
59185
|
+
},
|
|
59186
|
+
{
|
|
59187
|
+
"kind": "javascript-module",
|
|
59188
|
+
"path": "src/ai-criteria-search/validation/schema-validator.ts",
|
|
59189
|
+
"declarations": [
|
|
59190
|
+
{
|
|
59191
|
+
"kind": "function",
|
|
59192
|
+
"name": "validateClauses",
|
|
59193
|
+
"return": {
|
|
59194
|
+
"type": {
|
|
59195
|
+
"text": "ValidationResult"
|
|
59196
|
+
}
|
|
59197
|
+
},
|
|
59198
|
+
"parameters": [
|
|
59199
|
+
{
|
|
59200
|
+
"name": "clauses",
|
|
59201
|
+
"type": {
|
|
59202
|
+
"text": "CriteriaClause[]"
|
|
59203
|
+
}
|
|
59204
|
+
},
|
|
59205
|
+
{
|
|
59206
|
+
"name": "fieldMetadata",
|
|
59207
|
+
"type": {
|
|
59208
|
+
"text": "MetadataDetail[] | string[]"
|
|
59209
|
+
}
|
|
59210
|
+
}
|
|
59211
|
+
]
|
|
59212
|
+
},
|
|
59213
|
+
{
|
|
59214
|
+
"kind": "function",
|
|
59215
|
+
"name": "validateGroups",
|
|
59216
|
+
"return": {
|
|
59217
|
+
"type": {
|
|
59218
|
+
"text": "GroupsValidationResult"
|
|
59219
|
+
}
|
|
59220
|
+
},
|
|
59221
|
+
"parameters": [
|
|
59222
|
+
{
|
|
59223
|
+
"name": "groups",
|
|
59224
|
+
"type": {
|
|
59225
|
+
"text": "CriteriaGroup[]"
|
|
59226
|
+
}
|
|
59227
|
+
},
|
|
59228
|
+
{
|
|
59229
|
+
"name": "fieldMetadata",
|
|
59230
|
+
"type": {
|
|
59231
|
+
"text": "MetadataDetail[] | string[]"
|
|
59232
|
+
}
|
|
59233
|
+
}
|
|
59234
|
+
],
|
|
59235
|
+
"description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
|
|
59236
|
+
}
|
|
59237
|
+
],
|
|
59238
|
+
"exports": [
|
|
59239
|
+
{
|
|
59240
|
+
"kind": "js",
|
|
59241
|
+
"name": "validateClauses",
|
|
59242
|
+
"declaration": {
|
|
59243
|
+
"name": "validateClauses",
|
|
59244
|
+
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
59245
|
+
}
|
|
59246
|
+
},
|
|
59247
|
+
{
|
|
59248
|
+
"kind": "js",
|
|
59249
|
+
"name": "validateGroups",
|
|
59250
|
+
"declaration": {
|
|
59251
|
+
"name": "validateGroups",
|
|
59252
|
+
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
59253
|
+
}
|
|
59254
|
+
}
|
|
59255
|
+
]
|
|
59256
|
+
},
|
|
59257
59257
|
{
|
|
59258
59258
|
"kind": "javascript-module",
|
|
59259
59259
|
"path": "src/environment-indicator/utils/configure.ts",
|