@genesislcap/foundation-ui 14.443.1-alpha-3fbf238.0 → 14.443.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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,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,75 @@
|
|
|
2384
2353
|
},
|
|
2385
2354
|
{
|
|
2386
2355
|
"kind": "javascript-module",
|
|
2387
|
-
"path": "src/ai-
|
|
2356
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
2388
2357
|
"declarations": [
|
|
2389
2358
|
{
|
|
2390
|
-
"kind": "
|
|
2391
|
-
"name": "
|
|
2392
|
-
"
|
|
2359
|
+
"kind": "function",
|
|
2360
|
+
"name": "foundationAiIndicatorStyles",
|
|
2361
|
+
"return": {
|
|
2362
|
+
"type": {
|
|
2363
|
+
"text": "ElementStyles"
|
|
2364
|
+
}
|
|
2365
|
+
},
|
|
2366
|
+
"parameters": [
|
|
2367
|
+
{
|
|
2368
|
+
"name": "context",
|
|
2369
|
+
"type": {
|
|
2370
|
+
"text": "ElementDefinitionContext"
|
|
2371
|
+
}
|
|
2372
|
+
},
|
|
2373
|
+
{
|
|
2374
|
+
"name": "definition",
|
|
2375
|
+
"type": {
|
|
2376
|
+
"text": "FoundationElementDefinition"
|
|
2377
|
+
}
|
|
2378
|
+
}
|
|
2379
|
+
]
|
|
2393
2380
|
}
|
|
2394
2381
|
],
|
|
2395
2382
|
"exports": [
|
|
2396
2383
|
{
|
|
2397
2384
|
"kind": "js",
|
|
2398
|
-
"name": "
|
|
2385
|
+
"name": "foundationAiIndicatorStyles",
|
|
2399
2386
|
"declaration": {
|
|
2400
|
-
"name": "
|
|
2401
|
-
"module": "src/ai-
|
|
2387
|
+
"name": "foundationAiIndicatorStyles",
|
|
2388
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
2402
2389
|
}
|
|
2403
2390
|
}
|
|
2404
2391
|
]
|
|
2405
2392
|
},
|
|
2406
2393
|
{
|
|
2407
2394
|
"kind": "javascript-module",
|
|
2408
|
-
"path": "src/ai-
|
|
2395
|
+
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
2409
2396
|
"declarations": [
|
|
2410
2397
|
{
|
|
2411
2398
|
"kind": "variable",
|
|
2412
|
-
"name": "
|
|
2399
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2413
2400
|
"type": {
|
|
2414
|
-
"text": "ViewTemplate<
|
|
2401
|
+
"text": "ViewTemplate<AiIndicator>"
|
|
2415
2402
|
},
|
|
2416
|
-
"default": "html`\n ${(x) =>
|
|
2403
|
+
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
2417
2404
|
}
|
|
2418
2405
|
],
|
|
2419
2406
|
"exports": [
|
|
2420
2407
|
{
|
|
2421
2408
|
"kind": "js",
|
|
2422
|
-
"name": "
|
|
2409
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2423
2410
|
"declaration": {
|
|
2424
|
-
"name": "
|
|
2425
|
-
"module": "src/ai-
|
|
2411
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2412
|
+
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
2426
2413
|
}
|
|
2427
2414
|
}
|
|
2428
2415
|
]
|
|
2429
2416
|
},
|
|
2430
2417
|
{
|
|
2431
2418
|
"kind": "javascript-module",
|
|
2432
|
-
"path": "src/ai-
|
|
2419
|
+
"path": "src/ai-indicator/ai-indicator.ts",
|
|
2433
2420
|
"declarations": [
|
|
2434
2421
|
{
|
|
2435
2422
|
"kind": "class",
|
|
2436
|
-
"description": "
|
|
2437
|
-
"name": "
|
|
2423
|
+
"description": "",
|
|
2424
|
+
"name": "AiIndicator",
|
|
2438
2425
|
"members": [
|
|
2439
2426
|
{
|
|
2440
2427
|
"kind": "field",
|
|
@@ -2445,54 +2432,15 @@
|
|
|
2445
2432
|
},
|
|
2446
2433
|
{
|
|
2447
2434
|
"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",
|
|
2435
|
+
"name": "status",
|
|
2480
2436
|
"type": {
|
|
2481
|
-
"text": "
|
|
2437
|
+
"text": "AIStatus | null"
|
|
2482
2438
|
},
|
|
2483
2439
|
"default": "null"
|
|
2484
2440
|
},
|
|
2485
2441
|
{
|
|
2486
2442
|
"kind": "field",
|
|
2487
|
-
"name": "
|
|
2488
|
-
"type": {
|
|
2489
|
-
"text": "CriteriaGroup[]"
|
|
2490
|
-
},
|
|
2491
|
-
"default": "[]"
|
|
2492
|
-
},
|
|
2493
|
-
{
|
|
2494
|
-
"kind": "field",
|
|
2495
|
-
"name": "showingChips",
|
|
2443
|
+
"name": "open",
|
|
2496
2444
|
"type": {
|
|
2497
2445
|
"text": "boolean"
|
|
2498
2446
|
},
|
|
@@ -2500,15 +2448,15 @@
|
|
|
2500
2448
|
},
|
|
2501
2449
|
{
|
|
2502
2450
|
"kind": "field",
|
|
2503
|
-
"name": "
|
|
2451
|
+
"name": "state",
|
|
2504
2452
|
"type": {
|
|
2505
|
-
"text": "
|
|
2453
|
+
"text": "AIIndicatorState"
|
|
2506
2454
|
},
|
|
2507
|
-
"default": "
|
|
2455
|
+
"default": "'none'"
|
|
2508
2456
|
},
|
|
2509
2457
|
{
|
|
2510
2458
|
"kind": "field",
|
|
2511
|
-
"name": "
|
|
2459
|
+
"name": "isInstalling",
|
|
2512
2460
|
"type": {
|
|
2513
2461
|
"text": "boolean"
|
|
2514
2462
|
},
|
|
@@ -2516,33 +2464,29 @@
|
|
|
2516
2464
|
},
|
|
2517
2465
|
{
|
|
2518
2466
|
"kind": "field",
|
|
2519
|
-
"name": "
|
|
2467
|
+
"name": "pollTimer",
|
|
2520
2468
|
"type": {
|
|
2521
|
-
"text": "
|
|
2469
|
+
"text": "ReturnType<typeof setInterval> | null"
|
|
2522
2470
|
},
|
|
2523
|
-
"privacy": "
|
|
2471
|
+
"privacy": "private",
|
|
2472
|
+
"default": "null"
|
|
2524
2473
|
},
|
|
2525
2474
|
{
|
|
2526
2475
|
"kind": "field",
|
|
2527
|
-
"name": "
|
|
2528
|
-
"
|
|
2529
|
-
"text": "(() => void) | null"
|
|
2530
|
-
},
|
|
2531
|
-
"privacy": "private",
|
|
2532
|
-
"default": "null"
|
|
2476
|
+
"name": "clickOutside",
|
|
2477
|
+
"privacy": "private"
|
|
2533
2478
|
},
|
|
2534
2479
|
{
|
|
2535
2480
|
"kind": "field",
|
|
2536
|
-
"name": "
|
|
2481
|
+
"name": "chromeStatusLabel",
|
|
2537
2482
|
"type": {
|
|
2538
|
-
"text": "
|
|
2483
|
+
"text": "string | null"
|
|
2539
2484
|
},
|
|
2540
|
-
"
|
|
2541
|
-
"default": "null"
|
|
2485
|
+
"readonly": true
|
|
2542
2486
|
},
|
|
2543
2487
|
{
|
|
2544
2488
|
"kind": "field",
|
|
2545
|
-
"name": "
|
|
2489
|
+
"name": "canInstall",
|
|
2546
2490
|
"type": {
|
|
2547
2491
|
"text": "boolean"
|
|
2548
2492
|
},
|
|
@@ -2550,65 +2494,69 @@
|
|
|
2550
2494
|
},
|
|
2551
2495
|
{
|
|
2552
2496
|
"kind": "field",
|
|
2553
|
-
"name": "
|
|
2497
|
+
"name": "isDownloading",
|
|
2554
2498
|
"type": {
|
|
2555
|
-
"text": "
|
|
2499
|
+
"text": "boolean"
|
|
2556
2500
|
},
|
|
2557
2501
|
"readonly": true
|
|
2558
2502
|
},
|
|
2559
2503
|
{
|
|
2560
2504
|
"kind": "method",
|
|
2561
|
-
"name": "
|
|
2562
|
-
"privacy": "private",
|
|
2505
|
+
"name": "openChanged",
|
|
2563
2506
|
"return": {
|
|
2564
2507
|
"type": {
|
|
2565
|
-
"text": "
|
|
2508
|
+
"text": "void"
|
|
2566
2509
|
}
|
|
2567
|
-
}
|
|
2510
|
+
}
|
|
2511
|
+
},
|
|
2512
|
+
{
|
|
2513
|
+
"kind": "method",
|
|
2514
|
+
"name": "handleClickOutside",
|
|
2515
|
+
"privacy": "private",
|
|
2568
2516
|
"parameters": [
|
|
2569
2517
|
{
|
|
2570
|
-
"name": "
|
|
2518
|
+
"name": "event",
|
|
2571
2519
|
"type": {
|
|
2572
|
-
"text": "
|
|
2520
|
+
"text": "MouseEvent"
|
|
2573
2521
|
}
|
|
2574
2522
|
}
|
|
2575
2523
|
]
|
|
2576
2524
|
},
|
|
2577
2525
|
{
|
|
2578
2526
|
"kind": "method",
|
|
2579
|
-
"name": "
|
|
2527
|
+
"name": "toggleDropdown"
|
|
2528
|
+
},
|
|
2529
|
+
{
|
|
2530
|
+
"kind": "method",
|
|
2531
|
+
"name": "refreshStatus",
|
|
2580
2532
|
"return": {
|
|
2581
2533
|
"type": {
|
|
2582
|
-
"text": "void"
|
|
2534
|
+
"text": "Promise<void>"
|
|
2583
2535
|
}
|
|
2584
2536
|
}
|
|
2585
2537
|
},
|
|
2586
2538
|
{
|
|
2587
2539
|
"kind": "method",
|
|
2588
|
-
"name": "
|
|
2540
|
+
"name": "deriveState",
|
|
2541
|
+
"privacy": "private",
|
|
2589
2542
|
"return": {
|
|
2590
2543
|
"type": {
|
|
2591
|
-
"text": "
|
|
2544
|
+
"text": "AIIndicatorState"
|
|
2592
2545
|
}
|
|
2593
2546
|
},
|
|
2594
2547
|
"parameters": [
|
|
2595
2548
|
{
|
|
2596
|
-
"name": "
|
|
2597
|
-
"type": {
|
|
2598
|
-
"text": "number"
|
|
2599
|
-
}
|
|
2600
|
-
},
|
|
2601
|
-
{
|
|
2602
|
-
"name": "clauseIndex",
|
|
2549
|
+
"name": "s",
|
|
2603
2550
|
"type": {
|
|
2604
|
-
"text": "
|
|
2551
|
+
"text": "AIStatus | null"
|
|
2605
2552
|
}
|
|
2606
2553
|
}
|
|
2607
2554
|
]
|
|
2608
2555
|
},
|
|
2609
2556
|
{
|
|
2610
2557
|
"kind": "method",
|
|
2611
|
-
"name": "
|
|
2558
|
+
"name": "maybeStartPolling",
|
|
2559
|
+
"privacy": "private",
|
|
2612
2560
|
"return": {
|
|
2613
2561
|
"type": {
|
|
2614
2562
|
"text": "void"
|
|
@@ -2617,24 +2565,32 @@
|
|
|
2617
2565
|
},
|
|
2618
2566
|
{
|
|
2619
2567
|
"kind": "method",
|
|
2620
|
-
"name": "
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
"kind": "method",
|
|
2628
|
-
"name": "clear"
|
|
2568
|
+
"name": "startPolling",
|
|
2569
|
+
"privacy": "private",
|
|
2570
|
+
"return": {
|
|
2571
|
+
"type": {
|
|
2572
|
+
"text": "void"
|
|
2573
|
+
}
|
|
2574
|
+
}
|
|
2629
2575
|
},
|
|
2630
2576
|
{
|
|
2631
2577
|
"kind": "method",
|
|
2632
|
-
"name": "
|
|
2578
|
+
"name": "stopPolling",
|
|
2579
|
+
"privacy": "private",
|
|
2580
|
+
"return": {
|
|
2581
|
+
"type": {
|
|
2582
|
+
"text": "void"
|
|
2583
|
+
}
|
|
2584
|
+
}
|
|
2633
2585
|
},
|
|
2634
2586
|
{
|
|
2635
2587
|
"kind": "method",
|
|
2636
|
-
"name": "
|
|
2637
|
-
"
|
|
2588
|
+
"name": "onInstall",
|
|
2589
|
+
"return": {
|
|
2590
|
+
"type": {
|
|
2591
|
+
"text": "Promise<void>"
|
|
2592
|
+
}
|
|
2593
|
+
}
|
|
2638
2594
|
},
|
|
2639
2595
|
{
|
|
2640
2596
|
"kind": "field",
|
|
@@ -2748,320 +2704,145 @@
|
|
|
2748
2704
|
}
|
|
2749
2705
|
}
|
|
2750
2706
|
],
|
|
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
2707
|
"superclass": {
|
|
2778
2708
|
"name": "FoundationElement",
|
|
2779
2709
|
"package": "@microsoft/fast-foundation"
|
|
2780
2710
|
},
|
|
2781
|
-
"tagName": "%%prefix%%-ai-
|
|
2711
|
+
"tagName": "%%prefix%%-ai-indicator",
|
|
2782
2712
|
"customElement": true
|
|
2783
2713
|
},
|
|
2784
2714
|
{
|
|
2785
2715
|
"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"
|
|
2716
|
+
"name": "foundationAiIndicator"
|
|
2803
2717
|
}
|
|
2804
2718
|
],
|
|
2805
2719
|
"exports": [
|
|
2806
2720
|
{
|
|
2807
2721
|
"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",
|
|
2722
|
+
"name": "AiIndicator",
|
|
2825
2723
|
"declaration": {
|
|
2826
|
-
"name": "
|
|
2827
|
-
"module": "src/ai-
|
|
2724
|
+
"name": "AiIndicator",
|
|
2725
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
2828
2726
|
}
|
|
2829
2727
|
},
|
|
2830
2728
|
{
|
|
2831
2729
|
"kind": "js",
|
|
2832
|
-
"name": "
|
|
2730
|
+
"name": "foundationAiIndicator",
|
|
2833
2731
|
"declaration": {
|
|
2834
|
-
"name": "
|
|
2835
|
-
"module": "src/ai-
|
|
2732
|
+
"name": "foundationAiIndicator",
|
|
2733
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
2836
2734
|
}
|
|
2837
2735
|
}
|
|
2838
2736
|
]
|
|
2839
2737
|
},
|
|
2840
2738
|
{
|
|
2841
2739
|
"kind": "javascript-module",
|
|
2842
|
-
"path": "src/ai-
|
|
2740
|
+
"path": "src/ai-indicator/index.ts",
|
|
2843
2741
|
"declarations": [],
|
|
2844
2742
|
"exports": [
|
|
2845
2743
|
{
|
|
2846
2744
|
"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",
|
|
2872
|
-
"declaration": {
|
|
2873
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2874
|
-
"module": "./ai-criteria-search"
|
|
2875
|
-
}
|
|
2876
|
-
},
|
|
2877
|
-
{
|
|
2878
|
-
"kind": "js",
|
|
2879
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2880
|
-
"declaration": {
|
|
2881
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2882
|
-
"module": "./ai-criteria-search.styles"
|
|
2883
|
-
}
|
|
2884
|
-
},
|
|
2885
|
-
{
|
|
2886
|
-
"kind": "js",
|
|
2887
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2745
|
+
"name": "AiIndicator",
|
|
2888
2746
|
"declaration": {
|
|
2889
|
-
"name": "
|
|
2890
|
-
"module": "./ai-
|
|
2747
|
+
"name": "AiIndicator",
|
|
2748
|
+
"module": "./ai-indicator"
|
|
2891
2749
|
}
|
|
2892
2750
|
},
|
|
2893
2751
|
{
|
|
2894
2752
|
"kind": "js",
|
|
2895
|
-
"name": "
|
|
2753
|
+
"name": "foundationAiIndicator",
|
|
2896
2754
|
"declaration": {
|
|
2897
|
-
"name": "
|
|
2898
|
-
"
|
|
2755
|
+
"name": "foundationAiIndicator",
|
|
2756
|
+
"module": "./ai-indicator"
|
|
2899
2757
|
}
|
|
2900
2758
|
},
|
|
2901
2759
|
{
|
|
2902
2760
|
"kind": "js",
|
|
2903
|
-
"name": "
|
|
2761
|
+
"name": "type",
|
|
2904
2762
|
"declaration": {
|
|
2905
|
-
"name": "
|
|
2906
|
-
"
|
|
2763
|
+
"name": "type",
|
|
2764
|
+
"module": "./ai-indicator"
|
|
2907
2765
|
}
|
|
2908
2766
|
},
|
|
2909
2767
|
{
|
|
2910
2768
|
"kind": "js",
|
|
2911
|
-
"name": "
|
|
2769
|
+
"name": "AIIndicatorState",
|
|
2912
2770
|
"declaration": {
|
|
2913
|
-
"name": "
|
|
2914
|
-
"
|
|
2771
|
+
"name": "AIIndicatorState",
|
|
2772
|
+
"module": "./ai-indicator"
|
|
2915
2773
|
}
|
|
2916
|
-
}
|
|
2917
|
-
]
|
|
2918
|
-
},
|
|
2919
|
-
{
|
|
2920
|
-
"kind": "javascript-module",
|
|
2921
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
2922
|
-
"declarations": [
|
|
2923
|
-
{
|
|
2924
|
-
"kind": "function",
|
|
2925
|
-
"name": "formatValidationErrors",
|
|
2926
|
-
"return": {
|
|
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
2774
|
},
|
|
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."
|
|
2973
|
-
}
|
|
2974
|
-
],
|
|
2975
|
-
"exports": [
|
|
2976
2775
|
{
|
|
2977
2776
|
"kind": "js",
|
|
2978
|
-
"name": "
|
|
2777
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2979
2778
|
"declaration": {
|
|
2980
|
-
"name": "
|
|
2981
|
-
"module": "
|
|
2779
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2780
|
+
"module": "./ai-indicator.template"
|
|
2982
2781
|
}
|
|
2983
2782
|
},
|
|
2984
2783
|
{
|
|
2985
2784
|
"kind": "js",
|
|
2986
|
-
"name": "
|
|
2785
|
+
"name": "foundationAiIndicatorStyles",
|
|
2987
2786
|
"declaration": {
|
|
2988
|
-
"name": "
|
|
2989
|
-
"module": "
|
|
2787
|
+
"name": "foundationAiIndicatorStyles",
|
|
2788
|
+
"module": "./ai-indicator.styles"
|
|
2990
2789
|
}
|
|
2991
2790
|
}
|
|
2992
2791
|
]
|
|
2993
2792
|
},
|
|
2994
2793
|
{
|
|
2995
2794
|
"kind": "javascript-module",
|
|
2996
|
-
"path": "src/ai-
|
|
2795
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
2997
2796
|
"declarations": [
|
|
2998
2797
|
{
|
|
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
|
-
]
|
|
2798
|
+
"kind": "variable",
|
|
2799
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2800
|
+
"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
2801
|
}
|
|
3021
2802
|
],
|
|
3022
2803
|
"exports": [
|
|
3023
2804
|
{
|
|
3024
2805
|
"kind": "js",
|
|
3025
|
-
"name": "
|
|
2806
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3026
2807
|
"declaration": {
|
|
3027
|
-
"name": "
|
|
3028
|
-
"module": "src/ai-
|
|
2808
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2809
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
3029
2810
|
}
|
|
3030
2811
|
}
|
|
3031
2812
|
]
|
|
3032
2813
|
},
|
|
3033
2814
|
{
|
|
3034
2815
|
"kind": "javascript-module",
|
|
3035
|
-
"path": "src/ai-
|
|
2816
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
3036
2817
|
"declarations": [
|
|
3037
2818
|
{
|
|
3038
2819
|
"kind": "variable",
|
|
3039
|
-
"name": "
|
|
2820
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3040
2821
|
"type": {
|
|
3041
|
-
"text": "ViewTemplate<
|
|
2822
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
3042
2823
|
},
|
|
3043
|
-
"default": "html`\n ${(x) =>
|
|
2824
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
3044
2825
|
}
|
|
3045
2826
|
],
|
|
3046
2827
|
"exports": [
|
|
3047
2828
|
{
|
|
3048
2829
|
"kind": "js",
|
|
3049
|
-
"name": "
|
|
2830
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3050
2831
|
"declaration": {
|
|
3051
|
-
"name": "
|
|
3052
|
-
"module": "src/ai-
|
|
2832
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2833
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
3053
2834
|
}
|
|
3054
2835
|
}
|
|
3055
2836
|
]
|
|
3056
2837
|
},
|
|
3057
2838
|
{
|
|
3058
2839
|
"kind": "javascript-module",
|
|
3059
|
-
"path": "src/ai-
|
|
2840
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
3060
2841
|
"declarations": [
|
|
3061
2842
|
{
|
|
3062
2843
|
"kind": "class",
|
|
3063
|
-
"description": "",
|
|
3064
|
-
"name": "
|
|
2844
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2845
|
+
"name": "AiCriteriaSearch",
|
|
3065
2846
|
"members": [
|
|
3066
2847
|
{
|
|
3067
2848
|
"kind": "field",
|
|
@@ -3072,15 +2853,54 @@
|
|
|
3072
2853
|
},
|
|
3073
2854
|
{
|
|
3074
2855
|
"kind": "field",
|
|
3075
|
-
"name": "
|
|
2856
|
+
"name": "placeholder",
|
|
3076
2857
|
"type": {
|
|
3077
|
-
"text": "
|
|
2858
|
+
"text": "string"
|
|
2859
|
+
},
|
|
2860
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
2861
|
+
},
|
|
2862
|
+
{
|
|
2863
|
+
"kind": "field",
|
|
2864
|
+
"name": "disabled",
|
|
2865
|
+
"type": {
|
|
2866
|
+
"text": "boolean"
|
|
2867
|
+
}
|
|
2868
|
+
},
|
|
2869
|
+
{
|
|
2870
|
+
"kind": "field",
|
|
2871
|
+
"name": "inputValue",
|
|
2872
|
+
"type": {
|
|
2873
|
+
"text": "string"
|
|
2874
|
+
},
|
|
2875
|
+
"default": "''"
|
|
2876
|
+
},
|
|
2877
|
+
{
|
|
2878
|
+
"kind": "field",
|
|
2879
|
+
"name": "isInterpreting",
|
|
2880
|
+
"type": {
|
|
2881
|
+
"text": "boolean"
|
|
2882
|
+
},
|
|
2883
|
+
"default": "false"
|
|
2884
|
+
},
|
|
2885
|
+
{
|
|
2886
|
+
"kind": "field",
|
|
2887
|
+
"name": "lastValidCriteria",
|
|
2888
|
+
"type": {
|
|
2889
|
+
"text": "string | null"
|
|
3078
2890
|
},
|
|
3079
2891
|
"default": "null"
|
|
3080
2892
|
},
|
|
3081
2893
|
{
|
|
3082
2894
|
"kind": "field",
|
|
3083
|
-
"name": "
|
|
2895
|
+
"name": "activeGroups",
|
|
2896
|
+
"type": {
|
|
2897
|
+
"text": "CriteriaGroup[]"
|
|
2898
|
+
},
|
|
2899
|
+
"default": "[]"
|
|
2900
|
+
},
|
|
2901
|
+
{
|
|
2902
|
+
"kind": "field",
|
|
2903
|
+
"name": "showingChips",
|
|
3084
2904
|
"type": {
|
|
3085
2905
|
"text": "boolean"
|
|
3086
2906
|
},
|
|
@@ -3088,15 +2908,15 @@
|
|
|
3088
2908
|
},
|
|
3089
2909
|
{
|
|
3090
2910
|
"kind": "field",
|
|
3091
|
-
"name": "
|
|
2911
|
+
"name": "fieldMetadata",
|
|
3092
2912
|
"type": {
|
|
3093
|
-
"text": "
|
|
2913
|
+
"text": "MetadataDetail[] | string[]"
|
|
3094
2914
|
},
|
|
3095
|
-
"default": "
|
|
2915
|
+
"default": "[]"
|
|
3096
2916
|
},
|
|
3097
2917
|
{
|
|
3098
2918
|
"kind": "field",
|
|
3099
|
-
"name": "
|
|
2919
|
+
"name": "isRecording",
|
|
3100
2920
|
"type": {
|
|
3101
2921
|
"text": "boolean"
|
|
3102
2922
|
},
|
|
@@ -3104,29 +2924,33 @@
|
|
|
3104
2924
|
},
|
|
3105
2925
|
{
|
|
3106
2926
|
"kind": "field",
|
|
3107
|
-
"name": "
|
|
2927
|
+
"name": "textAreaRef",
|
|
3108
2928
|
"type": {
|
|
3109
|
-
"text": "
|
|
2929
|
+
"text": "HTMLTextAreaElement"
|
|
3110
2930
|
},
|
|
3111
|
-
"privacy": "
|
|
3112
|
-
"default": "null"
|
|
2931
|
+
"privacy": "public"
|
|
3113
2932
|
},
|
|
3114
2933
|
{
|
|
3115
2934
|
"kind": "field",
|
|
3116
|
-
"name": "
|
|
3117
|
-
"
|
|
2935
|
+
"name": "stopRecording",
|
|
2936
|
+
"type": {
|
|
2937
|
+
"text": "(() => void) | null"
|
|
2938
|
+
},
|
|
2939
|
+
"privacy": "private",
|
|
2940
|
+
"default": "null"
|
|
3118
2941
|
},
|
|
3119
2942
|
{
|
|
3120
2943
|
"kind": "field",
|
|
3121
|
-
"name": "
|
|
2944
|
+
"name": "speechApplyDebounceTimer",
|
|
3122
2945
|
"type": {
|
|
3123
|
-
"text": "
|
|
2946
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3124
2947
|
},
|
|
3125
|
-
"
|
|
2948
|
+
"privacy": "private",
|
|
2949
|
+
"default": "null"
|
|
3126
2950
|
},
|
|
3127
2951
|
{
|
|
3128
2952
|
"kind": "field",
|
|
3129
|
-
"name": "
|
|
2953
|
+
"name": "speechAvailable",
|
|
3130
2954
|
"type": {
|
|
3131
2955
|
"text": "boolean"
|
|
3132
2956
|
},
|
|
@@ -3134,69 +2958,65 @@
|
|
|
3134
2958
|
},
|
|
3135
2959
|
{
|
|
3136
2960
|
"kind": "field",
|
|
3137
|
-
"name": "
|
|
2961
|
+
"name": "criteriaChips",
|
|
3138
2962
|
"type": {
|
|
3139
|
-
"text": "
|
|
2963
|
+
"text": "CriteriaChip[]"
|
|
3140
2964
|
},
|
|
3141
2965
|
"readonly": true
|
|
3142
2966
|
},
|
|
3143
2967
|
{
|
|
3144
2968
|
"kind": "method",
|
|
3145
|
-
"name": "
|
|
2969
|
+
"name": "getFieldLabel",
|
|
2970
|
+
"privacy": "private",
|
|
3146
2971
|
"return": {
|
|
3147
2972
|
"type": {
|
|
3148
|
-
"text": "
|
|
2973
|
+
"text": "string"
|
|
3149
2974
|
}
|
|
3150
|
-
}
|
|
3151
|
-
},
|
|
3152
|
-
{
|
|
3153
|
-
"kind": "method",
|
|
3154
|
-
"name": "handleClickOutside",
|
|
3155
|
-
"privacy": "private",
|
|
2975
|
+
},
|
|
3156
2976
|
"parameters": [
|
|
3157
2977
|
{
|
|
3158
|
-
"name": "
|
|
2978
|
+
"name": "fieldName",
|
|
3159
2979
|
"type": {
|
|
3160
|
-
"text": "
|
|
2980
|
+
"text": "string"
|
|
3161
2981
|
}
|
|
3162
2982
|
}
|
|
3163
2983
|
]
|
|
3164
2984
|
},
|
|
3165
2985
|
{
|
|
3166
2986
|
"kind": "method",
|
|
3167
|
-
"name": "
|
|
3168
|
-
},
|
|
3169
|
-
{
|
|
3170
|
-
"kind": "method",
|
|
3171
|
-
"name": "refreshStatus",
|
|
2987
|
+
"name": "toggleCriteriaView",
|
|
3172
2988
|
"return": {
|
|
3173
2989
|
"type": {
|
|
3174
|
-
"text": "
|
|
2990
|
+
"text": "void"
|
|
3175
2991
|
}
|
|
3176
2992
|
}
|
|
3177
2993
|
},
|
|
3178
2994
|
{
|
|
3179
2995
|
"kind": "method",
|
|
3180
|
-
"name": "
|
|
3181
|
-
"privacy": "private",
|
|
2996
|
+
"name": "removeChip",
|
|
3182
2997
|
"return": {
|
|
3183
2998
|
"type": {
|
|
3184
|
-
"text": "
|
|
2999
|
+
"text": "void"
|
|
3185
3000
|
}
|
|
3186
3001
|
},
|
|
3187
3002
|
"parameters": [
|
|
3188
3003
|
{
|
|
3189
|
-
"name": "
|
|
3004
|
+
"name": "groupIndex",
|
|
3190
3005
|
"type": {
|
|
3191
|
-
"text": "
|
|
3006
|
+
"text": "number"
|
|
3007
|
+
}
|
|
3008
|
+
},
|
|
3009
|
+
{
|
|
3010
|
+
"name": "clauseIndex",
|
|
3011
|
+
"type": {
|
|
3012
|
+
"text": "number"
|
|
3192
3013
|
}
|
|
3193
3014
|
}
|
|
3194
3015
|
]
|
|
3195
3016
|
},
|
|
3196
3017
|
{
|
|
3197
3018
|
"kind": "method",
|
|
3198
|
-
"name": "
|
|
3199
|
-
"privacy": "private",
|
|
3019
|
+
"name": "clearChips",
|
|
3200
3020
|
"return": {
|
|
3201
3021
|
"type": {
|
|
3202
3022
|
"text": "void"
|
|
@@ -3205,32 +3025,24 @@
|
|
|
3205
3025
|
},
|
|
3206
3026
|
{
|
|
3207
3027
|
"kind": "method",
|
|
3208
|
-
"name": "
|
|
3209
|
-
"privacy": "private",
|
|
3210
|
-
"return": {
|
|
3211
|
-
"type": {
|
|
3212
|
-
"text": "void"
|
|
3213
|
-
}
|
|
3214
|
-
}
|
|
3028
|
+
"name": "handleSubmit"
|
|
3215
3029
|
},
|
|
3216
3030
|
{
|
|
3217
3031
|
"kind": "method",
|
|
3218
|
-
"name": "
|
|
3219
|
-
"privacy": "private",
|
|
3220
|
-
"return": {
|
|
3221
|
-
"type": {
|
|
3222
|
-
"text": "void"
|
|
3223
|
-
}
|
|
3224
|
-
}
|
|
3032
|
+
"name": "handleBlur"
|
|
3225
3033
|
},
|
|
3226
3034
|
{
|
|
3227
3035
|
"kind": "method",
|
|
3228
|
-
"name": "
|
|
3229
|
-
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3036
|
+
"name": "clear"
|
|
3037
|
+
},
|
|
3038
|
+
{
|
|
3039
|
+
"kind": "method",
|
|
3040
|
+
"name": "toggleSpeechInput"
|
|
3041
|
+
},
|
|
3042
|
+
{
|
|
3043
|
+
"kind": "method",
|
|
3044
|
+
"name": "clearSpeechApplyDebounce",
|
|
3045
|
+
"privacy": "private"
|
|
3234
3046
|
},
|
|
3235
3047
|
{
|
|
3236
3048
|
"kind": "field",
|
|
@@ -3344,88 +3156,276 @@
|
|
|
3344
3156
|
}
|
|
3345
3157
|
}
|
|
3346
3158
|
],
|
|
3159
|
+
"events": [
|
|
3160
|
+
{
|
|
3161
|
+
"description": "Fired when interpreted criteria is applied or cleared",
|
|
3162
|
+
"name": "criteria-changed"
|
|
3163
|
+
},
|
|
3164
|
+
{
|
|
3165
|
+
"description": "Fired when interpreted criteria contains invalid clauses",
|
|
3166
|
+
"name": "validation-errors"
|
|
3167
|
+
}
|
|
3168
|
+
],
|
|
3169
|
+
"attributes": [
|
|
3170
|
+
{
|
|
3171
|
+
"name": "placeholder",
|
|
3172
|
+
"type": {
|
|
3173
|
+
"text": "string"
|
|
3174
|
+
},
|
|
3175
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
3176
|
+
"fieldName": "placeholder"
|
|
3177
|
+
},
|
|
3178
|
+
{
|
|
3179
|
+
"type": {
|
|
3180
|
+
"text": "boolean"
|
|
3181
|
+
},
|
|
3182
|
+
"fieldName": "disabled"
|
|
3183
|
+
}
|
|
3184
|
+
],
|
|
3347
3185
|
"superclass": {
|
|
3348
3186
|
"name": "FoundationElement",
|
|
3349
3187
|
"package": "@microsoft/fast-foundation"
|
|
3350
3188
|
},
|
|
3351
|
-
"tagName": "%%prefix%%-ai-
|
|
3189
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3352
3190
|
"customElement": true
|
|
3353
3191
|
},
|
|
3354
3192
|
{
|
|
3355
3193
|
"kind": "variable",
|
|
3356
|
-
"name": "
|
|
3194
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3195
|
+
"type": {
|
|
3196
|
+
"text": "ShadowRootInit"
|
|
3197
|
+
},
|
|
3198
|
+
"default": "undefined"
|
|
3199
|
+
},
|
|
3200
|
+
{
|
|
3201
|
+
"kind": "variable",
|
|
3202
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3203
|
+
"type": {
|
|
3204
|
+
"text": "object"
|
|
3205
|
+
},
|
|
3206
|
+
"default": "{}"
|
|
3207
|
+
},
|
|
3208
|
+
{
|
|
3209
|
+
"kind": "variable",
|
|
3210
|
+
"name": "foundationAiCriteriaSearch"
|
|
3357
3211
|
}
|
|
3358
3212
|
],
|
|
3359
3213
|
"exports": [
|
|
3360
3214
|
{
|
|
3361
3215
|
"kind": "js",
|
|
3362
|
-
"name": "
|
|
3216
|
+
"name": "AiCriteriaSearch",
|
|
3363
3217
|
"declaration": {
|
|
3364
|
-
"name": "
|
|
3365
|
-
"module": "src/ai-
|
|
3218
|
+
"name": "AiCriteriaSearch",
|
|
3219
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3366
3220
|
}
|
|
3367
3221
|
},
|
|
3368
3222
|
{
|
|
3369
3223
|
"kind": "js",
|
|
3370
|
-
"name": "
|
|
3224
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3371
3225
|
"declaration": {
|
|
3372
|
-
"name": "
|
|
3373
|
-
"module": "src/ai-
|
|
3226
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3227
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3228
|
+
}
|
|
3229
|
+
},
|
|
3230
|
+
{
|
|
3231
|
+
"kind": "js",
|
|
3232
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3233
|
+
"declaration": {
|
|
3234
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3235
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3236
|
+
}
|
|
3237
|
+
},
|
|
3238
|
+
{
|
|
3239
|
+
"kind": "js",
|
|
3240
|
+
"name": "foundationAiCriteriaSearch",
|
|
3241
|
+
"declaration": {
|
|
3242
|
+
"name": "foundationAiCriteriaSearch",
|
|
3243
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3374
3244
|
}
|
|
3375
3245
|
}
|
|
3376
3246
|
]
|
|
3377
3247
|
},
|
|
3378
3248
|
{
|
|
3379
3249
|
"kind": "javascript-module",
|
|
3380
|
-
"path": "src/ai-
|
|
3250
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
3381
3251
|
"declarations": [],
|
|
3382
3252
|
"exports": [
|
|
3383
3253
|
{
|
|
3384
3254
|
"kind": "js",
|
|
3385
|
-
"name": "
|
|
3255
|
+
"name": "AiCriteriaSearch",
|
|
3386
3256
|
"declaration": {
|
|
3387
|
-
"name": "
|
|
3388
|
-
"module": "./ai-
|
|
3257
|
+
"name": "AiCriteriaSearch",
|
|
3258
|
+
"module": "./ai-criteria-search"
|
|
3389
3259
|
}
|
|
3390
3260
|
},
|
|
3391
3261
|
{
|
|
3392
3262
|
"kind": "js",
|
|
3393
|
-
"name": "
|
|
3263
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3394
3264
|
"declaration": {
|
|
3395
|
-
"name": "
|
|
3396
|
-
"module": "./ai-
|
|
3265
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3266
|
+
"module": "./ai-criteria-search"
|
|
3397
3267
|
}
|
|
3398
3268
|
},
|
|
3399
3269
|
{
|
|
3400
3270
|
"kind": "js",
|
|
3401
|
-
"name": "
|
|
3271
|
+
"name": "foundationAiCriteriaSearch",
|
|
3402
3272
|
"declaration": {
|
|
3403
|
-
"name": "
|
|
3404
|
-
"module": "./ai-
|
|
3273
|
+
"name": "foundationAiCriteriaSearch",
|
|
3274
|
+
"module": "./ai-criteria-search"
|
|
3405
3275
|
}
|
|
3406
3276
|
},
|
|
3407
3277
|
{
|
|
3408
3278
|
"kind": "js",
|
|
3409
|
-
"name": "
|
|
3279
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3410
3280
|
"declaration": {
|
|
3411
|
-
"name": "
|
|
3412
|
-
"module": "./ai-
|
|
3281
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3282
|
+
"module": "./ai-criteria-search"
|
|
3413
3283
|
}
|
|
3414
3284
|
},
|
|
3415
3285
|
{
|
|
3416
3286
|
"kind": "js",
|
|
3417
|
-
"name": "
|
|
3287
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3418
3288
|
"declaration": {
|
|
3419
|
-
"name": "
|
|
3420
|
-
"module": "./ai-
|
|
3289
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3290
|
+
"module": "./ai-criteria-search.styles"
|
|
3421
3291
|
}
|
|
3422
3292
|
},
|
|
3423
3293
|
{
|
|
3424
3294
|
"kind": "js",
|
|
3425
|
-
"name": "
|
|
3295
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3426
3296
|
"declaration": {
|
|
3427
|
-
"name": "
|
|
3428
|
-
"module": "./ai-
|
|
3297
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3298
|
+
"module": "./ai-criteria-search.template"
|
|
3299
|
+
}
|
|
3300
|
+
},
|
|
3301
|
+
{
|
|
3302
|
+
"kind": "js",
|
|
3303
|
+
"name": "*",
|
|
3304
|
+
"declaration": {
|
|
3305
|
+
"name": "*",
|
|
3306
|
+
"package": "./validation/criteria-ir"
|
|
3307
|
+
}
|
|
3308
|
+
},
|
|
3309
|
+
{
|
|
3310
|
+
"kind": "js",
|
|
3311
|
+
"name": "*",
|
|
3312
|
+
"declaration": {
|
|
3313
|
+
"name": "*",
|
|
3314
|
+
"package": "./validation/operator-map"
|
|
3315
|
+
}
|
|
3316
|
+
},
|
|
3317
|
+
{
|
|
3318
|
+
"kind": "js",
|
|
3319
|
+
"name": "*",
|
|
3320
|
+
"declaration": {
|
|
3321
|
+
"name": "*",
|
|
3322
|
+
"package": "./validation/schema-validator"
|
|
3323
|
+
}
|
|
3324
|
+
}
|
|
3325
|
+
]
|
|
3326
|
+
},
|
|
3327
|
+
{
|
|
3328
|
+
"kind": "javascript-module",
|
|
3329
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3330
|
+
"declarations": [
|
|
3331
|
+
{
|
|
3332
|
+
"kind": "function",
|
|
3333
|
+
"name": "formatValidationErrors",
|
|
3334
|
+
"return": {
|
|
3335
|
+
"type": {
|
|
3336
|
+
"text": "string"
|
|
3337
|
+
}
|
|
3338
|
+
},
|
|
3339
|
+
"parameters": [
|
|
3340
|
+
{
|
|
3341
|
+
"name": "errors",
|
|
3342
|
+
"type": {
|
|
3343
|
+
"text": "ValidationError[]"
|
|
3344
|
+
}
|
|
3345
|
+
}
|
|
3346
|
+
],
|
|
3347
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
3348
|
+
},
|
|
3349
|
+
{
|
|
3350
|
+
"kind": "function",
|
|
3351
|
+
"name": "showCriteriaError",
|
|
3352
|
+
"return": {
|
|
3353
|
+
"type": {
|
|
3354
|
+
"text": "void"
|
|
3355
|
+
}
|
|
3356
|
+
},
|
|
3357
|
+
"parameters": [
|
|
3358
|
+
{
|
|
3359
|
+
"name": "title",
|
|
3360
|
+
"type": {
|
|
3361
|
+
"text": "string"
|
|
3362
|
+
},
|
|
3363
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3364
|
+
},
|
|
3365
|
+
{
|
|
3366
|
+
"name": "body",
|
|
3367
|
+
"type": {
|
|
3368
|
+
"text": "string"
|
|
3369
|
+
},
|
|
3370
|
+
"description": "Error message to display"
|
|
3371
|
+
},
|
|
3372
|
+
{
|
|
3373
|
+
"name": "tagName",
|
|
3374
|
+
"type": {
|
|
3375
|
+
"text": "string"
|
|
3376
|
+
},
|
|
3377
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3378
|
+
}
|
|
3379
|
+
],
|
|
3380
|
+
"description": "Shows a criteria error as a toast notification."
|
|
3381
|
+
}
|
|
3382
|
+
],
|
|
3383
|
+
"exports": [
|
|
3384
|
+
{
|
|
3385
|
+
"kind": "js",
|
|
3386
|
+
"name": "formatValidationErrors",
|
|
3387
|
+
"declaration": {
|
|
3388
|
+
"name": "formatValidationErrors",
|
|
3389
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3390
|
+
}
|
|
3391
|
+
},
|
|
3392
|
+
{
|
|
3393
|
+
"kind": "js",
|
|
3394
|
+
"name": "showCriteriaError",
|
|
3395
|
+
"declaration": {
|
|
3396
|
+
"name": "showCriteriaError",
|
|
3397
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3398
|
+
}
|
|
3399
|
+
}
|
|
3400
|
+
]
|
|
3401
|
+
},
|
|
3402
|
+
{
|
|
3403
|
+
"kind": "javascript-module",
|
|
3404
|
+
"path": "src/_config/index.ts",
|
|
3405
|
+
"declarations": [],
|
|
3406
|
+
"exports": [
|
|
3407
|
+
{
|
|
3408
|
+
"kind": "js",
|
|
3409
|
+
"name": "*",
|
|
3410
|
+
"declaration": {
|
|
3411
|
+
"name": "*",
|
|
3412
|
+
"package": "./styles"
|
|
3413
|
+
}
|
|
3414
|
+
},
|
|
3415
|
+
{
|
|
3416
|
+
"kind": "js",
|
|
3417
|
+
"name": "*",
|
|
3418
|
+
"declaration": {
|
|
3419
|
+
"name": "*",
|
|
3420
|
+
"package": "./tokens"
|
|
3421
|
+
}
|
|
3422
|
+
},
|
|
3423
|
+
{
|
|
3424
|
+
"kind": "js",
|
|
3425
|
+
"name": "*",
|
|
3426
|
+
"declaration": {
|
|
3427
|
+
"name": "*",
|
|
3428
|
+
"package": "./values"
|
|
3429
3429
|
}
|
|
3430
3430
|
}
|
|
3431
3431
|
]
|
|
@@ -57095,6 +57095,197 @@
|
|
|
57095
57095
|
}
|
|
57096
57096
|
]
|
|
57097
57097
|
},
|
|
57098
|
+
{
|
|
57099
|
+
"kind": "javascript-module",
|
|
57100
|
+
"path": "src/ai-criteria-search/validation/criteria-ir.ts",
|
|
57101
|
+
"declarations": [],
|
|
57102
|
+
"exports": []
|
|
57103
|
+
},
|
|
57104
|
+
{
|
|
57105
|
+
"kind": "javascript-module",
|
|
57106
|
+
"path": "src/ai-criteria-search/validation/operator-map.ts",
|
|
57107
|
+
"declarations": [
|
|
57108
|
+
{
|
|
57109
|
+
"kind": "function",
|
|
57110
|
+
"name": "groupsToCriteria",
|
|
57111
|
+
"return": {
|
|
57112
|
+
"type": {
|
|
57113
|
+
"text": "string"
|
|
57114
|
+
}
|
|
57115
|
+
},
|
|
57116
|
+
"parameters": [
|
|
57117
|
+
{
|
|
57118
|
+
"name": "groups",
|
|
57119
|
+
"type": {
|
|
57120
|
+
"text": "CriteriaGroup[]"
|
|
57121
|
+
}
|
|
57122
|
+
}
|
|
57123
|
+
],
|
|
57124
|
+
"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."
|
|
57125
|
+
},
|
|
57126
|
+
{
|
|
57127
|
+
"kind": "variable",
|
|
57128
|
+
"name": "STRING_OPERATORS",
|
|
57129
|
+
"type": {
|
|
57130
|
+
"text": "CriteriaOperator[]"
|
|
57131
|
+
},
|
|
57132
|
+
"default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
|
|
57133
|
+
},
|
|
57134
|
+
{
|
|
57135
|
+
"kind": "variable",
|
|
57136
|
+
"name": "NUMERIC_OPERATORS",
|
|
57137
|
+
"type": {
|
|
57138
|
+
"text": "CriteriaOperator[]"
|
|
57139
|
+
},
|
|
57140
|
+
"default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
|
|
57141
|
+
},
|
|
57142
|
+
{
|
|
57143
|
+
"kind": "variable",
|
|
57144
|
+
"name": "DATE_OPERATORS",
|
|
57145
|
+
"type": {
|
|
57146
|
+
"text": "CriteriaOperator[]"
|
|
57147
|
+
},
|
|
57148
|
+
"default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
|
|
57149
|
+
},
|
|
57150
|
+
{
|
|
57151
|
+
"kind": "variable",
|
|
57152
|
+
"name": "DATETIME_OPERATORS",
|
|
57153
|
+
"type": {
|
|
57154
|
+
"text": "CriteriaOperator[]"
|
|
57155
|
+
},
|
|
57156
|
+
"default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
|
|
57157
|
+
},
|
|
57158
|
+
{
|
|
57159
|
+
"kind": "variable",
|
|
57160
|
+
"name": "OPERATOR_DISPLAY_LABEL",
|
|
57161
|
+
"type": {
|
|
57162
|
+
"text": "Record<CriteriaOperator, string>"
|
|
57163
|
+
},
|
|
57164
|
+
"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}"
|
|
57165
|
+
}
|
|
57166
|
+
],
|
|
57167
|
+
"exports": [
|
|
57168
|
+
{
|
|
57169
|
+
"kind": "js",
|
|
57170
|
+
"name": "groupsToCriteria",
|
|
57171
|
+
"declaration": {
|
|
57172
|
+
"name": "groupsToCriteria",
|
|
57173
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
57174
|
+
}
|
|
57175
|
+
},
|
|
57176
|
+
{
|
|
57177
|
+
"kind": "js",
|
|
57178
|
+
"name": "STRING_OPERATORS",
|
|
57179
|
+
"declaration": {
|
|
57180
|
+
"name": "STRING_OPERATORS",
|
|
57181
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
57182
|
+
}
|
|
57183
|
+
},
|
|
57184
|
+
{
|
|
57185
|
+
"kind": "js",
|
|
57186
|
+
"name": "NUMERIC_OPERATORS",
|
|
57187
|
+
"declaration": {
|
|
57188
|
+
"name": "NUMERIC_OPERATORS",
|
|
57189
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
57190
|
+
}
|
|
57191
|
+
},
|
|
57192
|
+
{
|
|
57193
|
+
"kind": "js",
|
|
57194
|
+
"name": "DATE_OPERATORS",
|
|
57195
|
+
"declaration": {
|
|
57196
|
+
"name": "DATE_OPERATORS",
|
|
57197
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
57198
|
+
}
|
|
57199
|
+
},
|
|
57200
|
+
{
|
|
57201
|
+
"kind": "js",
|
|
57202
|
+
"name": "DATETIME_OPERATORS",
|
|
57203
|
+
"declaration": {
|
|
57204
|
+
"name": "DATETIME_OPERATORS",
|
|
57205
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
57206
|
+
}
|
|
57207
|
+
},
|
|
57208
|
+
{
|
|
57209
|
+
"kind": "js",
|
|
57210
|
+
"name": "OPERATOR_DISPLAY_LABEL",
|
|
57211
|
+
"declaration": {
|
|
57212
|
+
"name": "OPERATOR_DISPLAY_LABEL",
|
|
57213
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
57214
|
+
}
|
|
57215
|
+
}
|
|
57216
|
+
]
|
|
57217
|
+
},
|
|
57218
|
+
{
|
|
57219
|
+
"kind": "javascript-module",
|
|
57220
|
+
"path": "src/ai-criteria-search/validation/schema-validator.ts",
|
|
57221
|
+
"declarations": [
|
|
57222
|
+
{
|
|
57223
|
+
"kind": "function",
|
|
57224
|
+
"name": "validateClauses",
|
|
57225
|
+
"return": {
|
|
57226
|
+
"type": {
|
|
57227
|
+
"text": "ValidationResult"
|
|
57228
|
+
}
|
|
57229
|
+
},
|
|
57230
|
+
"parameters": [
|
|
57231
|
+
{
|
|
57232
|
+
"name": "clauses",
|
|
57233
|
+
"type": {
|
|
57234
|
+
"text": "CriteriaClause[]"
|
|
57235
|
+
}
|
|
57236
|
+
},
|
|
57237
|
+
{
|
|
57238
|
+
"name": "fieldMetadata",
|
|
57239
|
+
"type": {
|
|
57240
|
+
"text": "MetadataDetail[] | string[]"
|
|
57241
|
+
}
|
|
57242
|
+
}
|
|
57243
|
+
]
|
|
57244
|
+
},
|
|
57245
|
+
{
|
|
57246
|
+
"kind": "function",
|
|
57247
|
+
"name": "validateGroups",
|
|
57248
|
+
"return": {
|
|
57249
|
+
"type": {
|
|
57250
|
+
"text": "GroupsValidationResult"
|
|
57251
|
+
}
|
|
57252
|
+
},
|
|
57253
|
+
"parameters": [
|
|
57254
|
+
{
|
|
57255
|
+
"name": "groups",
|
|
57256
|
+
"type": {
|
|
57257
|
+
"text": "CriteriaGroup[]"
|
|
57258
|
+
}
|
|
57259
|
+
},
|
|
57260
|
+
{
|
|
57261
|
+
"name": "fieldMetadata",
|
|
57262
|
+
"type": {
|
|
57263
|
+
"text": "MetadataDetail[] | string[]"
|
|
57264
|
+
}
|
|
57265
|
+
}
|
|
57266
|
+
],
|
|
57267
|
+
"description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
|
|
57268
|
+
}
|
|
57269
|
+
],
|
|
57270
|
+
"exports": [
|
|
57271
|
+
{
|
|
57272
|
+
"kind": "js",
|
|
57273
|
+
"name": "validateClauses",
|
|
57274
|
+
"declaration": {
|
|
57275
|
+
"name": "validateClauses",
|
|
57276
|
+
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
57277
|
+
}
|
|
57278
|
+
},
|
|
57279
|
+
{
|
|
57280
|
+
"kind": "js",
|
|
57281
|
+
"name": "validateGroups",
|
|
57282
|
+
"declaration": {
|
|
57283
|
+
"name": "validateGroups",
|
|
57284
|
+
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
57285
|
+
}
|
|
57286
|
+
}
|
|
57287
|
+
]
|
|
57288
|
+
},
|
|
57098
57289
|
{
|
|
57099
57290
|
"kind": "javascript-module",
|
|
57100
57291
|
"path": "src/_config/styles/colors.ts",
|
|
@@ -58467,197 +58658,6 @@
|
|
|
58467
58658
|
"declarations": [],
|
|
58468
58659
|
"exports": []
|
|
58469
58660
|
},
|
|
58470
|
-
{
|
|
58471
|
-
"kind": "javascript-module",
|
|
58472
|
-
"path": "src/ai-criteria-search/validation/criteria-ir.ts",
|
|
58473
|
-
"declarations": [],
|
|
58474
|
-
"exports": []
|
|
58475
|
-
},
|
|
58476
|
-
{
|
|
58477
|
-
"kind": "javascript-module",
|
|
58478
|
-
"path": "src/ai-criteria-search/validation/operator-map.ts",
|
|
58479
|
-
"declarations": [
|
|
58480
|
-
{
|
|
58481
|
-
"kind": "function",
|
|
58482
|
-
"name": "groupsToCriteria",
|
|
58483
|
-
"return": {
|
|
58484
|
-
"type": {
|
|
58485
|
-
"text": "string"
|
|
58486
|
-
}
|
|
58487
|
-
},
|
|
58488
|
-
"parameters": [
|
|
58489
|
-
{
|
|
58490
|
-
"name": "groups",
|
|
58491
|
-
"type": {
|
|
58492
|
-
"text": "CriteriaGroup[]"
|
|
58493
|
-
}
|
|
58494
|
-
}
|
|
58495
|
-
],
|
|
58496
|
-
"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."
|
|
58497
|
-
},
|
|
58498
|
-
{
|
|
58499
|
-
"kind": "variable",
|
|
58500
|
-
"name": "STRING_OPERATORS",
|
|
58501
|
-
"type": {
|
|
58502
|
-
"text": "CriteriaOperator[]"
|
|
58503
|
-
},
|
|
58504
|
-
"default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
|
|
58505
|
-
},
|
|
58506
|
-
{
|
|
58507
|
-
"kind": "variable",
|
|
58508
|
-
"name": "NUMERIC_OPERATORS",
|
|
58509
|
-
"type": {
|
|
58510
|
-
"text": "CriteriaOperator[]"
|
|
58511
|
-
},
|
|
58512
|
-
"default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
|
|
58513
|
-
},
|
|
58514
|
-
{
|
|
58515
|
-
"kind": "variable",
|
|
58516
|
-
"name": "DATE_OPERATORS",
|
|
58517
|
-
"type": {
|
|
58518
|
-
"text": "CriteriaOperator[]"
|
|
58519
|
-
},
|
|
58520
|
-
"default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
|
|
58521
|
-
},
|
|
58522
|
-
{
|
|
58523
|
-
"kind": "variable",
|
|
58524
|
-
"name": "DATETIME_OPERATORS",
|
|
58525
|
-
"type": {
|
|
58526
|
-
"text": "CriteriaOperator[]"
|
|
58527
|
-
},
|
|
58528
|
-
"default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
|
|
58529
|
-
},
|
|
58530
|
-
{
|
|
58531
|
-
"kind": "variable",
|
|
58532
|
-
"name": "OPERATOR_DISPLAY_LABEL",
|
|
58533
|
-
"type": {
|
|
58534
|
-
"text": "Record<CriteriaOperator, string>"
|
|
58535
|
-
},
|
|
58536
|
-
"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}"
|
|
58537
|
-
}
|
|
58538
|
-
],
|
|
58539
|
-
"exports": [
|
|
58540
|
-
{
|
|
58541
|
-
"kind": "js",
|
|
58542
|
-
"name": "groupsToCriteria",
|
|
58543
|
-
"declaration": {
|
|
58544
|
-
"name": "groupsToCriteria",
|
|
58545
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
58546
|
-
}
|
|
58547
|
-
},
|
|
58548
|
-
{
|
|
58549
|
-
"kind": "js",
|
|
58550
|
-
"name": "STRING_OPERATORS",
|
|
58551
|
-
"declaration": {
|
|
58552
|
-
"name": "STRING_OPERATORS",
|
|
58553
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
58554
|
-
}
|
|
58555
|
-
},
|
|
58556
|
-
{
|
|
58557
|
-
"kind": "js",
|
|
58558
|
-
"name": "NUMERIC_OPERATORS",
|
|
58559
|
-
"declaration": {
|
|
58560
|
-
"name": "NUMERIC_OPERATORS",
|
|
58561
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
58562
|
-
}
|
|
58563
|
-
},
|
|
58564
|
-
{
|
|
58565
|
-
"kind": "js",
|
|
58566
|
-
"name": "DATE_OPERATORS",
|
|
58567
|
-
"declaration": {
|
|
58568
|
-
"name": "DATE_OPERATORS",
|
|
58569
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
58570
|
-
}
|
|
58571
|
-
},
|
|
58572
|
-
{
|
|
58573
|
-
"kind": "js",
|
|
58574
|
-
"name": "DATETIME_OPERATORS",
|
|
58575
|
-
"declaration": {
|
|
58576
|
-
"name": "DATETIME_OPERATORS",
|
|
58577
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
58578
|
-
}
|
|
58579
|
-
},
|
|
58580
|
-
{
|
|
58581
|
-
"kind": "js",
|
|
58582
|
-
"name": "OPERATOR_DISPLAY_LABEL",
|
|
58583
|
-
"declaration": {
|
|
58584
|
-
"name": "OPERATOR_DISPLAY_LABEL",
|
|
58585
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
58586
|
-
}
|
|
58587
|
-
}
|
|
58588
|
-
]
|
|
58589
|
-
},
|
|
58590
|
-
{
|
|
58591
|
-
"kind": "javascript-module",
|
|
58592
|
-
"path": "src/ai-criteria-search/validation/schema-validator.ts",
|
|
58593
|
-
"declarations": [
|
|
58594
|
-
{
|
|
58595
|
-
"kind": "function",
|
|
58596
|
-
"name": "validateClauses",
|
|
58597
|
-
"return": {
|
|
58598
|
-
"type": {
|
|
58599
|
-
"text": "ValidationResult"
|
|
58600
|
-
}
|
|
58601
|
-
},
|
|
58602
|
-
"parameters": [
|
|
58603
|
-
{
|
|
58604
|
-
"name": "clauses",
|
|
58605
|
-
"type": {
|
|
58606
|
-
"text": "CriteriaClause[]"
|
|
58607
|
-
}
|
|
58608
|
-
},
|
|
58609
|
-
{
|
|
58610
|
-
"name": "fieldMetadata",
|
|
58611
|
-
"type": {
|
|
58612
|
-
"text": "MetadataDetail[] | string[]"
|
|
58613
|
-
}
|
|
58614
|
-
}
|
|
58615
|
-
]
|
|
58616
|
-
},
|
|
58617
|
-
{
|
|
58618
|
-
"kind": "function",
|
|
58619
|
-
"name": "validateGroups",
|
|
58620
|
-
"return": {
|
|
58621
|
-
"type": {
|
|
58622
|
-
"text": "GroupsValidationResult"
|
|
58623
|
-
}
|
|
58624
|
-
},
|
|
58625
|
-
"parameters": [
|
|
58626
|
-
{
|
|
58627
|
-
"name": "groups",
|
|
58628
|
-
"type": {
|
|
58629
|
-
"text": "CriteriaGroup[]"
|
|
58630
|
-
}
|
|
58631
|
-
},
|
|
58632
|
-
{
|
|
58633
|
-
"name": "fieldMetadata",
|
|
58634
|
-
"type": {
|
|
58635
|
-
"text": "MetadataDetail[] | string[]"
|
|
58636
|
-
}
|
|
58637
|
-
}
|
|
58638
|
-
],
|
|
58639
|
-
"description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
|
|
58640
|
-
}
|
|
58641
|
-
],
|
|
58642
|
-
"exports": [
|
|
58643
|
-
{
|
|
58644
|
-
"kind": "js",
|
|
58645
|
-
"name": "validateClauses",
|
|
58646
|
-
"declaration": {
|
|
58647
|
-
"name": "validateClauses",
|
|
58648
|
-
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
58649
|
-
}
|
|
58650
|
-
},
|
|
58651
|
-
{
|
|
58652
|
-
"kind": "js",
|
|
58653
|
-
"name": "validateGroups",
|
|
58654
|
-
"declaration": {
|
|
58655
|
-
"name": "validateGroups",
|
|
58656
|
-
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
58657
|
-
}
|
|
58658
|
-
}
|
|
58659
|
-
]
|
|
58660
|
-
},
|
|
58661
58661
|
{
|
|
58662
58662
|
"kind": "javascript-module",
|
|
58663
58663
|
"path": "src/environment-indicator/utils/configure.ts",
|