@genesislcap/foundation-ui 14.464.0-row-duplication.1 → 14.464.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 +750 -750
- package/dist/dts/react.d.ts +10 -10
- package/dist/react.cjs +12 -12
- package/dist/react.mjs +10 -10
- 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,208 +2384,275 @@
|
|
|
2353
2384
|
},
|
|
2354
2385
|
{
|
|
2355
2386
|
"kind": "javascript-module",
|
|
2356
|
-
"path": "src/
|
|
2387
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
2357
2388
|
"declarations": [
|
|
2358
2389
|
{
|
|
2359
|
-
"kind": "
|
|
2360
|
-
"name": "
|
|
2361
|
-
"
|
|
2390
|
+
"kind": "function",
|
|
2391
|
+
"name": "foundationAccordionStyles",
|
|
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": "foundationAccordionStyles",
|
|
2368
2417
|
"declaration": {
|
|
2369
|
-
"name": "
|
|
2370
|
-
"module": "src/
|
|
2418
|
+
"name": "foundationAccordionStyles",
|
|
2419
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
2371
2420
|
}
|
|
2372
2421
|
}
|
|
2373
2422
|
]
|
|
2374
2423
|
},
|
|
2375
2424
|
{
|
|
2376
2425
|
"kind": "javascript-module",
|
|
2377
|
-
"path": "src/
|
|
2426
|
+
"path": "src/accordion/accordion.template.ts",
|
|
2378
2427
|
"declarations": [
|
|
2379
2428
|
{
|
|
2380
|
-
"kind": "
|
|
2381
|
-
"name": "
|
|
2382
|
-
"
|
|
2383
|
-
"
|
|
2429
|
+
"kind": "function",
|
|
2430
|
+
"name": "foundationAccordionTemplate",
|
|
2431
|
+
"return": {
|
|
2432
|
+
"type": {
|
|
2433
|
+
"text": "ViewTemplate<Accordion>"
|
|
2434
|
+
}
|
|
2384
2435
|
},
|
|
2385
|
-
"
|
|
2436
|
+
"parameters": [
|
|
2437
|
+
{
|
|
2438
|
+
"name": "context",
|
|
2439
|
+
"type": {
|
|
2440
|
+
"text": "ElementDefinitionContext"
|
|
2441
|
+
}
|
|
2442
|
+
},
|
|
2443
|
+
{
|
|
2444
|
+
"name": "definition",
|
|
2445
|
+
"type": {
|
|
2446
|
+
"text": "FoundationElementDefinition"
|
|
2447
|
+
}
|
|
2448
|
+
}
|
|
2449
|
+
]
|
|
2386
2450
|
}
|
|
2387
2451
|
],
|
|
2388
2452
|
"exports": [
|
|
2389
2453
|
{
|
|
2390
2454
|
"kind": "js",
|
|
2391
|
-
"name": "
|
|
2455
|
+
"name": "foundationAccordionTemplate",
|
|
2392
2456
|
"declaration": {
|
|
2393
|
-
"name": "
|
|
2394
|
-
"module": "src/
|
|
2457
|
+
"name": "foundationAccordionTemplate",
|
|
2458
|
+
"module": "src/accordion/accordion.template.ts"
|
|
2395
2459
|
}
|
|
2396
2460
|
}
|
|
2397
2461
|
]
|
|
2398
2462
|
},
|
|
2399
2463
|
{
|
|
2400
2464
|
"kind": "javascript-module",
|
|
2401
|
-
"path": "src/
|
|
2465
|
+
"path": "src/accordion/accordion.ts",
|
|
2402
2466
|
"declarations": [
|
|
2403
2467
|
{
|
|
2404
2468
|
"kind": "class",
|
|
2405
|
-
"description": "
|
|
2406
|
-
"name": "
|
|
2407
|
-
"
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
},
|
|
2469
|
+
"description": "",
|
|
2470
|
+
"name": "Accordion",
|
|
2471
|
+
"superclass": {
|
|
2472
|
+
"name": "FASTAccordion",
|
|
2473
|
+
"package": "@microsoft/fast-foundation"
|
|
2474
|
+
},
|
|
2475
|
+
"tagName": "%%prefix%%-accordion",
|
|
2476
|
+
"customElement": true,
|
|
2477
|
+
"attributes": [
|
|
2415
2478
|
{
|
|
2416
|
-
"
|
|
2417
|
-
"name": "placeholder",
|
|
2479
|
+
"name": "expand-mode",
|
|
2418
2480
|
"type": {
|
|
2419
|
-
"text": "
|
|
2481
|
+
"text": "AccordionExpandMode"
|
|
2420
2482
|
},
|
|
2421
|
-
"
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
"type": {
|
|
2427
|
-
"text": "boolean"
|
|
2483
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2484
|
+
"fieldName": "expandmode",
|
|
2485
|
+
"inheritedFrom": {
|
|
2486
|
+
"name": "Accordion",
|
|
2487
|
+
"module": "src/accordion/accordion.ts"
|
|
2428
2488
|
}
|
|
2429
|
-
}
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
"name": "inputValue",
|
|
2433
|
-
"type": {
|
|
2434
|
-
"text": "string"
|
|
2435
|
-
},
|
|
2436
|
-
"default": "''"
|
|
2437
|
-
},
|
|
2489
|
+
}
|
|
2490
|
+
],
|
|
2491
|
+
"members": [
|
|
2438
2492
|
{
|
|
2439
2493
|
"kind": "field",
|
|
2440
|
-
"name": "
|
|
2494
|
+
"name": "expandmode",
|
|
2441
2495
|
"type": {
|
|
2442
|
-
"text": "
|
|
2496
|
+
"text": "AccordionExpandMode"
|
|
2443
2497
|
},
|
|
2444
|
-
"
|
|
2498
|
+
"privacy": "public",
|
|
2499
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2500
|
+
"inheritedFrom": {
|
|
2501
|
+
"name": "Accordion",
|
|
2502
|
+
"module": "src/accordion/accordion.ts"
|
|
2503
|
+
}
|
|
2445
2504
|
},
|
|
2446
2505
|
{
|
|
2447
2506
|
"kind": "field",
|
|
2448
|
-
"name": "
|
|
2507
|
+
"name": "activeid",
|
|
2449
2508
|
"type": {
|
|
2450
2509
|
"text": "string | null"
|
|
2451
2510
|
},
|
|
2452
|
-
"
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
"type": {
|
|
2458
|
-
"text": "CriteriaGroup[]"
|
|
2459
|
-
},
|
|
2460
|
-
"default": "[]"
|
|
2511
|
+
"privacy": "private",
|
|
2512
|
+
"inheritedFrom": {
|
|
2513
|
+
"name": "Accordion",
|
|
2514
|
+
"module": "src/accordion/accordion.ts"
|
|
2515
|
+
}
|
|
2461
2516
|
},
|
|
2462
2517
|
{
|
|
2463
2518
|
"kind": "field",
|
|
2464
|
-
"name": "
|
|
2519
|
+
"name": "activeItemIndex",
|
|
2465
2520
|
"type": {
|
|
2466
|
-
"text": "
|
|
2521
|
+
"text": "number"
|
|
2467
2522
|
},
|
|
2468
|
-
"
|
|
2523
|
+
"privacy": "private",
|
|
2524
|
+
"default": "0",
|
|
2525
|
+
"inheritedFrom": {
|
|
2526
|
+
"name": "Accordion",
|
|
2527
|
+
"module": "src/accordion/accordion.ts"
|
|
2528
|
+
}
|
|
2469
2529
|
},
|
|
2470
2530
|
{
|
|
2471
2531
|
"kind": "field",
|
|
2472
|
-
"name": "
|
|
2532
|
+
"name": "accordionIds",
|
|
2473
2533
|
"type": {
|
|
2474
|
-
"text": "
|
|
2534
|
+
"text": "Array<string | null>"
|
|
2475
2535
|
},
|
|
2476
|
-
"
|
|
2536
|
+
"privacy": "private",
|
|
2537
|
+
"inheritedFrom": {
|
|
2538
|
+
"name": "Accordion",
|
|
2539
|
+
"module": "src/accordion/accordion.ts"
|
|
2540
|
+
}
|
|
2477
2541
|
},
|
|
2478
2542
|
{
|
|
2479
2543
|
"kind": "field",
|
|
2480
|
-
"name": "
|
|
2481
|
-
"
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2544
|
+
"name": "change",
|
|
2545
|
+
"privacy": "private",
|
|
2546
|
+
"inheritedFrom": {
|
|
2547
|
+
"name": "Accordion",
|
|
2548
|
+
"module": "src/accordion/accordion.ts"
|
|
2549
|
+
}
|
|
2485
2550
|
},
|
|
2486
2551
|
{
|
|
2487
|
-
"kind": "
|
|
2488
|
-
"name": "
|
|
2489
|
-
"
|
|
2490
|
-
|
|
2552
|
+
"kind": "method",
|
|
2553
|
+
"name": "findExpandedItem",
|
|
2554
|
+
"privacy": "private",
|
|
2555
|
+
"return": {
|
|
2556
|
+
"type": {
|
|
2557
|
+
"text": "AccordionItem | null"
|
|
2558
|
+
}
|
|
2491
2559
|
},
|
|
2492
|
-
"
|
|
2560
|
+
"inheritedFrom": {
|
|
2561
|
+
"name": "Accordion",
|
|
2562
|
+
"module": "src/accordion/accordion.ts"
|
|
2563
|
+
}
|
|
2493
2564
|
},
|
|
2494
2565
|
{
|
|
2495
2566
|
"kind": "field",
|
|
2496
|
-
"name": "
|
|
2497
|
-
"type": {
|
|
2498
|
-
"text": "(() => void) | null"
|
|
2499
|
-
},
|
|
2567
|
+
"name": "setItems",
|
|
2500
2568
|
"privacy": "private",
|
|
2501
|
-
"
|
|
2569
|
+
"inheritedFrom": {
|
|
2570
|
+
"name": "Accordion",
|
|
2571
|
+
"module": "src/accordion/accordion.ts"
|
|
2572
|
+
}
|
|
2502
2573
|
},
|
|
2503
2574
|
{
|
|
2504
|
-
"kind": "
|
|
2505
|
-
"name": "
|
|
2506
|
-
"type": {
|
|
2507
|
-
"text": "ReturnType<typeof setTimeout> | null"
|
|
2508
|
-
},
|
|
2575
|
+
"kind": "method",
|
|
2576
|
+
"name": "resetItems",
|
|
2509
2577
|
"privacy": "private",
|
|
2510
|
-
"
|
|
2578
|
+
"return": {
|
|
2579
|
+
"type": {
|
|
2580
|
+
"text": "void"
|
|
2581
|
+
}
|
|
2582
|
+
},
|
|
2583
|
+
"inheritedFrom": {
|
|
2584
|
+
"name": "Accordion",
|
|
2585
|
+
"module": "src/accordion/accordion.ts"
|
|
2586
|
+
}
|
|
2511
2587
|
},
|
|
2512
2588
|
{
|
|
2513
2589
|
"kind": "field",
|
|
2514
|
-
"name": "
|
|
2515
|
-
"
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2590
|
+
"name": "removeItemListeners",
|
|
2591
|
+
"privacy": "private",
|
|
2592
|
+
"inheritedFrom": {
|
|
2593
|
+
"name": "Accordion",
|
|
2594
|
+
"module": "src/accordion/accordion.ts"
|
|
2595
|
+
}
|
|
2519
2596
|
},
|
|
2520
2597
|
{
|
|
2521
2598
|
"kind": "field",
|
|
2522
|
-
"name": "
|
|
2523
|
-
"
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2599
|
+
"name": "activeItemChange",
|
|
2600
|
+
"privacy": "private",
|
|
2601
|
+
"inheritedFrom": {
|
|
2602
|
+
"name": "Accordion",
|
|
2603
|
+
"module": "src/accordion/accordion.ts"
|
|
2604
|
+
}
|
|
2527
2605
|
},
|
|
2528
2606
|
{
|
|
2529
2607
|
"kind": "method",
|
|
2530
|
-
"name": "
|
|
2608
|
+
"name": "getItemIds",
|
|
2531
2609
|
"privacy": "private",
|
|
2532
2610
|
"return": {
|
|
2533
2611
|
"type": {
|
|
2534
|
-
"text": "string"
|
|
2612
|
+
"text": "Array<string | null>"
|
|
2535
2613
|
}
|
|
2536
2614
|
},
|
|
2537
|
-
"
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
"text": "string"
|
|
2542
|
-
}
|
|
2543
|
-
}
|
|
2544
|
-
]
|
|
2615
|
+
"inheritedFrom": {
|
|
2616
|
+
"name": "Accordion",
|
|
2617
|
+
"module": "src/accordion/accordion.ts"
|
|
2618
|
+
}
|
|
2545
2619
|
},
|
|
2546
2620
|
{
|
|
2547
2621
|
"kind": "method",
|
|
2548
|
-
"name": "
|
|
2622
|
+
"name": "isSingleExpandMode",
|
|
2623
|
+
"privacy": "private",
|
|
2549
2624
|
"return": {
|
|
2550
2625
|
"type": {
|
|
2551
|
-
"text": "
|
|
2626
|
+
"text": "boolean"
|
|
2552
2627
|
}
|
|
2628
|
+
},
|
|
2629
|
+
"inheritedFrom": {
|
|
2630
|
+
"name": "Accordion",
|
|
2631
|
+
"module": "src/accordion/accordion.ts"
|
|
2632
|
+
}
|
|
2633
|
+
},
|
|
2634
|
+
{
|
|
2635
|
+
"kind": "field",
|
|
2636
|
+
"name": "handleItemKeyDown",
|
|
2637
|
+
"privacy": "private",
|
|
2638
|
+
"inheritedFrom": {
|
|
2639
|
+
"name": "Accordion",
|
|
2640
|
+
"module": "src/accordion/accordion.ts"
|
|
2641
|
+
}
|
|
2642
|
+
},
|
|
2643
|
+
{
|
|
2644
|
+
"kind": "field",
|
|
2645
|
+
"name": "handleItemFocus",
|
|
2646
|
+
"privacy": "private",
|
|
2647
|
+
"inheritedFrom": {
|
|
2648
|
+
"name": "Accordion",
|
|
2649
|
+
"module": "src/accordion/accordion.ts"
|
|
2553
2650
|
}
|
|
2554
2651
|
},
|
|
2555
2652
|
{
|
|
2556
2653
|
"kind": "method",
|
|
2557
|
-
"name": "
|
|
2654
|
+
"name": "adjust",
|
|
2655
|
+
"privacy": "private",
|
|
2558
2656
|
"return": {
|
|
2559
2657
|
"type": {
|
|
2560
2658
|
"text": "void"
|
|
@@ -2562,49 +2660,31 @@
|
|
|
2562
2660
|
},
|
|
2563
2661
|
"parameters": [
|
|
2564
2662
|
{
|
|
2565
|
-
"name": "
|
|
2566
|
-
"type": {
|
|
2567
|
-
"text": "number"
|
|
2568
|
-
}
|
|
2569
|
-
},
|
|
2570
|
-
{
|
|
2571
|
-
"name": "clauseIndex",
|
|
2663
|
+
"name": "adjustment",
|
|
2572
2664
|
"type": {
|
|
2573
2665
|
"text": "number"
|
|
2574
2666
|
}
|
|
2575
2667
|
}
|
|
2576
|
-
]
|
|
2668
|
+
],
|
|
2669
|
+
"inheritedFrom": {
|
|
2670
|
+
"name": "Accordion",
|
|
2671
|
+
"module": "src/accordion/accordion.ts"
|
|
2672
|
+
}
|
|
2577
2673
|
},
|
|
2578
2674
|
{
|
|
2579
2675
|
"kind": "method",
|
|
2580
|
-
"name": "
|
|
2676
|
+
"name": "focusItem",
|
|
2677
|
+
"privacy": "private",
|
|
2581
2678
|
"return": {
|
|
2582
2679
|
"type": {
|
|
2583
2680
|
"text": "void"
|
|
2584
2681
|
}
|
|
2682
|
+
},
|
|
2683
|
+
"inheritedFrom": {
|
|
2684
|
+
"name": "Accordion",
|
|
2685
|
+
"module": "src/accordion/accordion.ts"
|
|
2585
2686
|
}
|
|
2586
2687
|
},
|
|
2587
|
-
{
|
|
2588
|
-
"kind": "method",
|
|
2589
|
-
"name": "handleSubmit"
|
|
2590
|
-
},
|
|
2591
|
-
{
|
|
2592
|
-
"kind": "method",
|
|
2593
|
-
"name": "handleBlur"
|
|
2594
|
-
},
|
|
2595
|
-
{
|
|
2596
|
-
"kind": "method",
|
|
2597
|
-
"name": "clear"
|
|
2598
|
-
},
|
|
2599
|
-
{
|
|
2600
|
-
"kind": "method",
|
|
2601
|
-
"name": "toggleSpeechInput"
|
|
2602
|
-
},
|
|
2603
|
-
{
|
|
2604
|
-
"kind": "method",
|
|
2605
|
-
"name": "clearSpeechApplyDebounce",
|
|
2606
|
-
"privacy": "private"
|
|
2607
|
-
},
|
|
2608
2688
|
{
|
|
2609
2689
|
"kind": "field",
|
|
2610
2690
|
"name": "_presentation",
|
|
@@ -2719,48 +2799,26 @@
|
|
|
2719
2799
|
],
|
|
2720
2800
|
"events": [
|
|
2721
2801
|
{
|
|
2722
|
-
"description": "
|
|
2723
|
-
"name": "
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
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"
|
|
2802
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
2803
|
+
"name": "change",
|
|
2804
|
+
"inheritedFrom": {
|
|
2805
|
+
"name": "Accordion",
|
|
2806
|
+
"module": "src/accordion/accordion.ts"
|
|
2807
|
+
}
|
|
2744
2808
|
}
|
|
2745
|
-
]
|
|
2746
|
-
"superclass": {
|
|
2747
|
-
"name": "FoundationElement",
|
|
2748
|
-
"package": "@microsoft/fast-foundation"
|
|
2749
|
-
},
|
|
2750
|
-
"tagName": "%%prefix%%-ai-criteria-search",
|
|
2751
|
-
"customElement": true
|
|
2809
|
+
]
|
|
2752
2810
|
},
|
|
2753
2811
|
{
|
|
2754
2812
|
"kind": "variable",
|
|
2755
|
-
"name": "
|
|
2813
|
+
"name": "foundationAccordionShadowOptions",
|
|
2756
2814
|
"type": {
|
|
2757
2815
|
"text": "ShadowRootInit"
|
|
2758
2816
|
},
|
|
2759
|
-
"default": "
|
|
2817
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2760
2818
|
},
|
|
2761
2819
|
{
|
|
2762
2820
|
"kind": "variable",
|
|
2763
|
-
"name": "
|
|
2821
|
+
"name": "defaultAccordionConfig",
|
|
2764
2822
|
"type": {
|
|
2765
2823
|
"text": "object"
|
|
2766
2824
|
},
|
|
@@ -2768,201 +2826,49 @@
|
|
|
2768
2826
|
},
|
|
2769
2827
|
{
|
|
2770
2828
|
"kind": "variable",
|
|
2771
|
-
"name": "
|
|
2829
|
+
"name": "foundationAccordion",
|
|
2830
|
+
"description": "The Foundation Accordion",
|
|
2831
|
+
"privacy": "public"
|
|
2772
2832
|
}
|
|
2773
2833
|
],
|
|
2774
2834
|
"exports": [
|
|
2775
2835
|
{
|
|
2776
2836
|
"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",
|
|
2794
|
-
"declaration": {
|
|
2795
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2796
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2797
|
-
}
|
|
2798
|
-
},
|
|
2799
|
-
{
|
|
2800
|
-
"kind": "js",
|
|
2801
|
-
"name": "foundationAiCriteriaSearch",
|
|
2802
|
-
"declaration": {
|
|
2803
|
-
"name": "foundationAiCriteriaSearch",
|
|
2804
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2805
|
-
}
|
|
2806
|
-
}
|
|
2807
|
-
]
|
|
2808
|
-
},
|
|
2809
|
-
{
|
|
2810
|
-
"kind": "javascript-module",
|
|
2811
|
-
"path": "src/ai-criteria-search/index.ts",
|
|
2812
|
-
"declarations": [],
|
|
2813
|
-
"exports": [
|
|
2814
|
-
{
|
|
2815
|
-
"kind": "js",
|
|
2816
|
-
"name": "AiCriteriaSearch",
|
|
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": "*",
|
|
2837
|
+
"name": "Accordion",
|
|
2873
2838
|
"declaration": {
|
|
2874
|
-
"name": "
|
|
2875
|
-
"
|
|
2839
|
+
"name": "Accordion",
|
|
2840
|
+
"module": "src/accordion/accordion.ts"
|
|
2876
2841
|
}
|
|
2877
2842
|
},
|
|
2878
2843
|
{
|
|
2879
2844
|
"kind": "js",
|
|
2880
|
-
"name": "
|
|
2845
|
+
"name": "foundationAccordionShadowOptions",
|
|
2881
2846
|
"declaration": {
|
|
2882
|
-
"name": "
|
|
2883
|
-
"
|
|
2847
|
+
"name": "foundationAccordionShadowOptions",
|
|
2848
|
+
"module": "src/accordion/accordion.ts"
|
|
2884
2849
|
}
|
|
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
2850
|
},
|
|
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
2851
|
{
|
|
2946
2852
|
"kind": "js",
|
|
2947
|
-
"name": "
|
|
2853
|
+
"name": "defaultAccordionConfig",
|
|
2948
2854
|
"declaration": {
|
|
2949
|
-
"name": "
|
|
2950
|
-
"module": "src/
|
|
2855
|
+
"name": "defaultAccordionConfig",
|
|
2856
|
+
"module": "src/accordion/accordion.ts"
|
|
2951
2857
|
}
|
|
2952
2858
|
},
|
|
2953
2859
|
{
|
|
2954
2860
|
"kind": "js",
|
|
2955
|
-
"name": "
|
|
2861
|
+
"name": "foundationAccordion",
|
|
2956
2862
|
"declaration": {
|
|
2957
|
-
"name": "
|
|
2958
|
-
"module": "src/
|
|
2863
|
+
"name": "foundationAccordion",
|
|
2864
|
+
"module": "src/accordion/accordion.ts"
|
|
2959
2865
|
}
|
|
2960
2866
|
}
|
|
2961
2867
|
]
|
|
2962
2868
|
},
|
|
2963
2869
|
{
|
|
2964
2870
|
"kind": "javascript-module",
|
|
2965
|
-
"path": "src/
|
|
2871
|
+
"path": "src/accordion/index.ts",
|
|
2966
2872
|
"declarations": [],
|
|
2967
2873
|
"exports": [
|
|
2968
2874
|
{
|
|
@@ -2970,7 +2876,7 @@
|
|
|
2970
2876
|
"name": "*",
|
|
2971
2877
|
"declaration": {
|
|
2972
2878
|
"name": "*",
|
|
2973
|
-
"package": "./
|
|
2879
|
+
"package": "./accordion.template"
|
|
2974
2880
|
}
|
|
2975
2881
|
},
|
|
2976
2882
|
{
|
|
@@ -2978,7 +2884,7 @@
|
|
|
2978
2884
|
"name": "*",
|
|
2979
2885
|
"declaration": {
|
|
2980
2886
|
"name": "*",
|
|
2981
|
-
"package": "./
|
|
2887
|
+
"package": "./accordion.styles"
|
|
2982
2888
|
}
|
|
2983
2889
|
},
|
|
2984
2890
|
{
|
|
@@ -2986,7 +2892,7 @@
|
|
|
2986
2892
|
"name": "*",
|
|
2987
2893
|
"declaration": {
|
|
2988
2894
|
"name": "*",
|
|
2989
|
-
"package": "./
|
|
2895
|
+
"package": "./accordion"
|
|
2990
2896
|
}
|
|
2991
2897
|
}
|
|
2992
2898
|
]
|
|
@@ -3442,275 +3348,208 @@
|
|
|
3442
3348
|
},
|
|
3443
3349
|
{
|
|
3444
3350
|
"kind": "javascript-module",
|
|
3445
|
-
"path": "src/
|
|
3351
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
3446
3352
|
"declarations": [
|
|
3447
3353
|
{
|
|
3448
|
-
"kind": "
|
|
3449
|
-
"name": "
|
|
3450
|
-
"
|
|
3451
|
-
"type": {
|
|
3452
|
-
"text": "ElementStyles"
|
|
3453
|
-
}
|
|
3454
|
-
},
|
|
3455
|
-
"parameters": [
|
|
3456
|
-
{
|
|
3457
|
-
"name": "context",
|
|
3458
|
-
"type": {
|
|
3459
|
-
"text": "ElementDefinitionContext"
|
|
3460
|
-
}
|
|
3461
|
-
},
|
|
3462
|
-
{
|
|
3463
|
-
"name": "definition",
|
|
3464
|
-
"type": {
|
|
3465
|
-
"text": "FoundationElementDefinition"
|
|
3466
|
-
}
|
|
3467
|
-
}
|
|
3468
|
-
]
|
|
3354
|
+
"kind": "variable",
|
|
3355
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3356
|
+
"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`"
|
|
3469
3357
|
}
|
|
3470
3358
|
],
|
|
3471
3359
|
"exports": [
|
|
3472
3360
|
{
|
|
3473
3361
|
"kind": "js",
|
|
3474
|
-
"name": "
|
|
3362
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3475
3363
|
"declaration": {
|
|
3476
|
-
"name": "
|
|
3477
|
-
"module": "src/
|
|
3364
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3365
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
3478
3366
|
}
|
|
3479
3367
|
}
|
|
3480
3368
|
]
|
|
3481
3369
|
},
|
|
3482
3370
|
{
|
|
3483
3371
|
"kind": "javascript-module",
|
|
3484
|
-
"path": "src/
|
|
3372
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
3485
3373
|
"declarations": [
|
|
3486
3374
|
{
|
|
3487
|
-
"kind": "
|
|
3488
|
-
"name": "
|
|
3489
|
-
"
|
|
3490
|
-
"
|
|
3491
|
-
"text": "ViewTemplate<Accordion>"
|
|
3492
|
-
}
|
|
3375
|
+
"kind": "variable",
|
|
3376
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3377
|
+
"type": {
|
|
3378
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
3493
3379
|
},
|
|
3494
|
-
"
|
|
3495
|
-
{
|
|
3496
|
-
"name": "context",
|
|
3497
|
-
"type": {
|
|
3498
|
-
"text": "ElementDefinitionContext"
|
|
3499
|
-
}
|
|
3500
|
-
},
|
|
3501
|
-
{
|
|
3502
|
-
"name": "definition",
|
|
3503
|
-
"type": {
|
|
3504
|
-
"text": "FoundationElementDefinition"
|
|
3505
|
-
}
|
|
3506
|
-
}
|
|
3507
|
-
]
|
|
3380
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
3508
3381
|
}
|
|
3509
3382
|
],
|
|
3510
3383
|
"exports": [
|
|
3511
3384
|
{
|
|
3512
3385
|
"kind": "js",
|
|
3513
|
-
"name": "
|
|
3386
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3514
3387
|
"declaration": {
|
|
3515
|
-
"name": "
|
|
3516
|
-
"module": "src/
|
|
3388
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3389
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
3517
3390
|
}
|
|
3518
3391
|
}
|
|
3519
3392
|
]
|
|
3520
3393
|
},
|
|
3521
3394
|
{
|
|
3522
3395
|
"kind": "javascript-module",
|
|
3523
|
-
"path": "src/
|
|
3396
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
3524
3397
|
"declarations": [
|
|
3525
3398
|
{
|
|
3526
3399
|
"kind": "class",
|
|
3527
|
-
"description": "",
|
|
3528
|
-
"name": "
|
|
3529
|
-
"
|
|
3530
|
-
"name": "FASTAccordion",
|
|
3531
|
-
"package": "@microsoft/fast-foundation"
|
|
3532
|
-
},
|
|
3533
|
-
"tagName": "%%prefix%%-accordion",
|
|
3534
|
-
"customElement": true,
|
|
3535
|
-
"attributes": [
|
|
3400
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
3401
|
+
"name": "AiCriteriaSearch",
|
|
3402
|
+
"members": [
|
|
3536
3403
|
{
|
|
3537
|
-
"
|
|
3404
|
+
"kind": "field",
|
|
3405
|
+
"name": "providerRegistry",
|
|
3538
3406
|
"type": {
|
|
3539
|
-
"text": "
|
|
3540
|
-
},
|
|
3541
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3542
|
-
"fieldName": "expandmode",
|
|
3543
|
-
"inheritedFrom": {
|
|
3544
|
-
"name": "Accordion",
|
|
3545
|
-
"module": "src/accordion/accordion.ts"
|
|
3407
|
+
"text": "AIProviderRegistry"
|
|
3546
3408
|
}
|
|
3547
|
-
}
|
|
3548
|
-
],
|
|
3549
|
-
"members": [
|
|
3409
|
+
},
|
|
3550
3410
|
{
|
|
3551
3411
|
"kind": "field",
|
|
3552
|
-
"name": "
|
|
3412
|
+
"name": "placeholder",
|
|
3553
3413
|
"type": {
|
|
3554
|
-
"text": "
|
|
3414
|
+
"text": "string"
|
|
3555
3415
|
},
|
|
3556
|
-
"
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3416
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
3417
|
+
},
|
|
3418
|
+
{
|
|
3419
|
+
"kind": "field",
|
|
3420
|
+
"name": "disabled",
|
|
3421
|
+
"type": {
|
|
3422
|
+
"text": "boolean"
|
|
3561
3423
|
}
|
|
3562
3424
|
},
|
|
3563
3425
|
{
|
|
3564
3426
|
"kind": "field",
|
|
3565
|
-
"name": "
|
|
3427
|
+
"name": "inputValue",
|
|
3566
3428
|
"type": {
|
|
3567
|
-
"text": "string
|
|
3429
|
+
"text": "string"
|
|
3568
3430
|
},
|
|
3569
|
-
"
|
|
3570
|
-
"inheritedFrom": {
|
|
3571
|
-
"name": "Accordion",
|
|
3572
|
-
"module": "src/accordion/accordion.ts"
|
|
3573
|
-
}
|
|
3431
|
+
"default": "''"
|
|
3574
3432
|
},
|
|
3575
3433
|
{
|
|
3576
3434
|
"kind": "field",
|
|
3577
|
-
"name": "
|
|
3435
|
+
"name": "isInterpreting",
|
|
3578
3436
|
"type": {
|
|
3579
|
-
"text": "
|
|
3437
|
+
"text": "boolean"
|
|
3580
3438
|
},
|
|
3581
|
-
"
|
|
3582
|
-
"default": "0",
|
|
3583
|
-
"inheritedFrom": {
|
|
3584
|
-
"name": "Accordion",
|
|
3585
|
-
"module": "src/accordion/accordion.ts"
|
|
3586
|
-
}
|
|
3439
|
+
"default": "false"
|
|
3587
3440
|
},
|
|
3588
3441
|
{
|
|
3589
3442
|
"kind": "field",
|
|
3590
|
-
"name": "
|
|
3443
|
+
"name": "lastValidCriteria",
|
|
3591
3444
|
"type": {
|
|
3592
|
-
"text": "
|
|
3445
|
+
"text": "string | null"
|
|
3593
3446
|
},
|
|
3594
|
-
"
|
|
3595
|
-
"inheritedFrom": {
|
|
3596
|
-
"name": "Accordion",
|
|
3597
|
-
"module": "src/accordion/accordion.ts"
|
|
3598
|
-
}
|
|
3447
|
+
"default": "null"
|
|
3599
3448
|
},
|
|
3600
3449
|
{
|
|
3601
3450
|
"kind": "field",
|
|
3602
|
-
"name": "
|
|
3603
|
-
"
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
}
|
|
3451
|
+
"name": "activeGroups",
|
|
3452
|
+
"type": {
|
|
3453
|
+
"text": "CriteriaGroup[]"
|
|
3454
|
+
},
|
|
3455
|
+
"default": "[]"
|
|
3608
3456
|
},
|
|
3609
3457
|
{
|
|
3610
|
-
"kind": "
|
|
3611
|
-
"name": "
|
|
3612
|
-
"
|
|
3613
|
-
|
|
3614
|
-
"type": {
|
|
3615
|
-
"text": "AccordionItem | null"
|
|
3616
|
-
}
|
|
3458
|
+
"kind": "field",
|
|
3459
|
+
"name": "showingChips",
|
|
3460
|
+
"type": {
|
|
3461
|
+
"text": "boolean"
|
|
3617
3462
|
},
|
|
3618
|
-
"
|
|
3619
|
-
"name": "Accordion",
|
|
3620
|
-
"module": "src/accordion/accordion.ts"
|
|
3621
|
-
}
|
|
3463
|
+
"default": "false"
|
|
3622
3464
|
},
|
|
3623
3465
|
{
|
|
3624
3466
|
"kind": "field",
|
|
3625
|
-
"name": "
|
|
3626
|
-
"
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
|
|
3630
|
-
}
|
|
3467
|
+
"name": "fieldMetadata",
|
|
3468
|
+
"type": {
|
|
3469
|
+
"text": "MetadataDetail[] | string[]"
|
|
3470
|
+
},
|
|
3471
|
+
"default": "[]"
|
|
3631
3472
|
},
|
|
3632
3473
|
{
|
|
3633
|
-
"kind": "
|
|
3634
|
-
"name": "
|
|
3635
|
-
"
|
|
3636
|
-
|
|
3637
|
-
"type": {
|
|
3638
|
-
"text": "void"
|
|
3639
|
-
}
|
|
3474
|
+
"kind": "field",
|
|
3475
|
+
"name": "isRecording",
|
|
3476
|
+
"type": {
|
|
3477
|
+
"text": "boolean"
|
|
3640
3478
|
},
|
|
3641
|
-
"
|
|
3642
|
-
"name": "Accordion",
|
|
3643
|
-
"module": "src/accordion/accordion.ts"
|
|
3644
|
-
}
|
|
3479
|
+
"default": "false"
|
|
3645
3480
|
},
|
|
3646
3481
|
{
|
|
3647
3482
|
"kind": "field",
|
|
3648
|
-
"name": "
|
|
3483
|
+
"name": "textAreaRef",
|
|
3484
|
+
"type": {
|
|
3485
|
+
"text": "HTMLTextAreaElement"
|
|
3486
|
+
},
|
|
3487
|
+
"privacy": "public"
|
|
3488
|
+
},
|
|
3489
|
+
{
|
|
3490
|
+
"kind": "field",
|
|
3491
|
+
"name": "stopRecording",
|
|
3492
|
+
"type": {
|
|
3493
|
+
"text": "(() => void) | null"
|
|
3494
|
+
},
|
|
3649
3495
|
"privacy": "private",
|
|
3650
|
-
"
|
|
3651
|
-
"name": "Accordion",
|
|
3652
|
-
"module": "src/accordion/accordion.ts"
|
|
3653
|
-
}
|
|
3496
|
+
"default": "null"
|
|
3654
3497
|
},
|
|
3655
3498
|
{
|
|
3656
3499
|
"kind": "field",
|
|
3657
|
-
"name": "
|
|
3500
|
+
"name": "speechApplyDebounceTimer",
|
|
3501
|
+
"type": {
|
|
3502
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3503
|
+
},
|
|
3658
3504
|
"privacy": "private",
|
|
3659
|
-
"
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
|
|
3505
|
+
"default": "null"
|
|
3506
|
+
},
|
|
3507
|
+
{
|
|
3508
|
+
"kind": "field",
|
|
3509
|
+
"name": "speechAvailable",
|
|
3510
|
+
"type": {
|
|
3511
|
+
"text": "boolean"
|
|
3512
|
+
},
|
|
3513
|
+
"readonly": true
|
|
3514
|
+
},
|
|
3515
|
+
{
|
|
3516
|
+
"kind": "field",
|
|
3517
|
+
"name": "criteriaChips",
|
|
3518
|
+
"type": {
|
|
3519
|
+
"text": "CriteriaChip[]"
|
|
3520
|
+
},
|
|
3521
|
+
"readonly": true
|
|
3663
3522
|
},
|
|
3664
3523
|
{
|
|
3665
3524
|
"kind": "method",
|
|
3666
|
-
"name": "
|
|
3525
|
+
"name": "getFieldLabel",
|
|
3667
3526
|
"privacy": "private",
|
|
3668
3527
|
"return": {
|
|
3669
3528
|
"type": {
|
|
3670
|
-
"text": "
|
|
3529
|
+
"text": "string"
|
|
3671
3530
|
}
|
|
3672
3531
|
},
|
|
3673
|
-
"
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
|
|
3532
|
+
"parameters": [
|
|
3533
|
+
{
|
|
3534
|
+
"name": "fieldName",
|
|
3535
|
+
"type": {
|
|
3536
|
+
"text": "string"
|
|
3537
|
+
}
|
|
3538
|
+
}
|
|
3539
|
+
]
|
|
3677
3540
|
},
|
|
3678
3541
|
{
|
|
3679
3542
|
"kind": "method",
|
|
3680
|
-
"name": "
|
|
3681
|
-
"privacy": "private",
|
|
3543
|
+
"name": "toggleCriteriaView",
|
|
3682
3544
|
"return": {
|
|
3683
3545
|
"type": {
|
|
3684
|
-
"text": "
|
|
3546
|
+
"text": "void"
|
|
3685
3547
|
}
|
|
3686
|
-
},
|
|
3687
|
-
"inheritedFrom": {
|
|
3688
|
-
"name": "Accordion",
|
|
3689
|
-
"module": "src/accordion/accordion.ts"
|
|
3690
|
-
}
|
|
3691
|
-
},
|
|
3692
|
-
{
|
|
3693
|
-
"kind": "field",
|
|
3694
|
-
"name": "handleItemKeyDown",
|
|
3695
|
-
"privacy": "private",
|
|
3696
|
-
"inheritedFrom": {
|
|
3697
|
-
"name": "Accordion",
|
|
3698
|
-
"module": "src/accordion/accordion.ts"
|
|
3699
|
-
}
|
|
3700
|
-
},
|
|
3701
|
-
{
|
|
3702
|
-
"kind": "field",
|
|
3703
|
-
"name": "handleItemFocus",
|
|
3704
|
-
"privacy": "private",
|
|
3705
|
-
"inheritedFrom": {
|
|
3706
|
-
"name": "Accordion",
|
|
3707
|
-
"module": "src/accordion/accordion.ts"
|
|
3708
3548
|
}
|
|
3709
3549
|
},
|
|
3710
3550
|
{
|
|
3711
3551
|
"kind": "method",
|
|
3712
|
-
"name": "
|
|
3713
|
-
"privacy": "private",
|
|
3552
|
+
"name": "removeChip",
|
|
3714
3553
|
"return": {
|
|
3715
3554
|
"type": {
|
|
3716
3555
|
"text": "void"
|
|
@@ -3718,31 +3557,49 @@
|
|
|
3718
3557
|
},
|
|
3719
3558
|
"parameters": [
|
|
3720
3559
|
{
|
|
3721
|
-
"name": "
|
|
3560
|
+
"name": "groupIndex",
|
|
3561
|
+
"type": {
|
|
3562
|
+
"text": "number"
|
|
3563
|
+
}
|
|
3564
|
+
},
|
|
3565
|
+
{
|
|
3566
|
+
"name": "clauseIndex",
|
|
3722
3567
|
"type": {
|
|
3723
3568
|
"text": "number"
|
|
3724
3569
|
}
|
|
3725
3570
|
}
|
|
3726
|
-
]
|
|
3727
|
-
"inheritedFrom": {
|
|
3728
|
-
"name": "Accordion",
|
|
3729
|
-
"module": "src/accordion/accordion.ts"
|
|
3730
|
-
}
|
|
3571
|
+
]
|
|
3731
3572
|
},
|
|
3732
3573
|
{
|
|
3733
3574
|
"kind": "method",
|
|
3734
|
-
"name": "
|
|
3735
|
-
"privacy": "private",
|
|
3575
|
+
"name": "clearChips",
|
|
3736
3576
|
"return": {
|
|
3737
3577
|
"type": {
|
|
3738
3578
|
"text": "void"
|
|
3739
3579
|
}
|
|
3740
|
-
},
|
|
3741
|
-
"inheritedFrom": {
|
|
3742
|
-
"name": "Accordion",
|
|
3743
|
-
"module": "src/accordion/accordion.ts"
|
|
3744
3580
|
}
|
|
3745
3581
|
},
|
|
3582
|
+
{
|
|
3583
|
+
"kind": "method",
|
|
3584
|
+
"name": "handleSubmit"
|
|
3585
|
+
},
|
|
3586
|
+
{
|
|
3587
|
+
"kind": "method",
|
|
3588
|
+
"name": "handleBlur"
|
|
3589
|
+
},
|
|
3590
|
+
{
|
|
3591
|
+
"kind": "method",
|
|
3592
|
+
"name": "clear"
|
|
3593
|
+
},
|
|
3594
|
+
{
|
|
3595
|
+
"kind": "method",
|
|
3596
|
+
"name": "toggleSpeechInput"
|
|
3597
|
+
},
|
|
3598
|
+
{
|
|
3599
|
+
"kind": "method",
|
|
3600
|
+
"name": "clearSpeechApplyDebounce",
|
|
3601
|
+
"privacy": "private"
|
|
3602
|
+
},
|
|
3746
3603
|
{
|
|
3747
3604
|
"kind": "field",
|
|
3748
3605
|
"name": "_presentation",
|
|
@@ -3857,26 +3714,48 @@
|
|
|
3857
3714
|
],
|
|
3858
3715
|
"events": [
|
|
3859
3716
|
{
|
|
3860
|
-
"description": "
|
|
3861
|
-
"name": "
|
|
3862
|
-
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
|
|
3717
|
+
"description": "Fired when interpreted criteria is applied or cleared",
|
|
3718
|
+
"name": "criteria-changed"
|
|
3719
|
+
},
|
|
3720
|
+
{
|
|
3721
|
+
"description": "Fired when interpreted criteria contains invalid clauses",
|
|
3722
|
+
"name": "validation-errors"
|
|
3866
3723
|
}
|
|
3867
|
-
]
|
|
3724
|
+
],
|
|
3725
|
+
"attributes": [
|
|
3726
|
+
{
|
|
3727
|
+
"name": "placeholder",
|
|
3728
|
+
"type": {
|
|
3729
|
+
"text": "string"
|
|
3730
|
+
},
|
|
3731
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
3732
|
+
"fieldName": "placeholder"
|
|
3733
|
+
},
|
|
3734
|
+
{
|
|
3735
|
+
"type": {
|
|
3736
|
+
"text": "boolean"
|
|
3737
|
+
},
|
|
3738
|
+
"fieldName": "disabled"
|
|
3739
|
+
}
|
|
3740
|
+
],
|
|
3741
|
+
"superclass": {
|
|
3742
|
+
"name": "FoundationElement",
|
|
3743
|
+
"package": "@microsoft/fast-foundation"
|
|
3744
|
+
},
|
|
3745
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3746
|
+
"customElement": true
|
|
3868
3747
|
},
|
|
3869
3748
|
{
|
|
3870
3749
|
"kind": "variable",
|
|
3871
|
-
"name": "
|
|
3750
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3872
3751
|
"type": {
|
|
3873
3752
|
"text": "ShadowRootInit"
|
|
3874
3753
|
},
|
|
3875
|
-
"default": "
|
|
3754
|
+
"default": "undefined"
|
|
3876
3755
|
},
|
|
3877
3756
|
{
|
|
3878
3757
|
"kind": "variable",
|
|
3879
|
-
"name": "
|
|
3758
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3880
3759
|
"type": {
|
|
3881
3760
|
"text": "object"
|
|
3882
3761
|
},
|
|
@@ -3884,57 +3763,103 @@
|
|
|
3884
3763
|
},
|
|
3885
3764
|
{
|
|
3886
3765
|
"kind": "variable",
|
|
3887
|
-
"name": "
|
|
3888
|
-
"description": "The Foundation Accordion",
|
|
3889
|
-
"privacy": "public"
|
|
3766
|
+
"name": "foundationAiCriteriaSearch"
|
|
3890
3767
|
}
|
|
3891
3768
|
],
|
|
3892
3769
|
"exports": [
|
|
3893
3770
|
{
|
|
3894
3771
|
"kind": "js",
|
|
3895
|
-
"name": "
|
|
3772
|
+
"name": "AiCriteriaSearch",
|
|
3896
3773
|
"declaration": {
|
|
3897
|
-
"name": "
|
|
3898
|
-
"module": "src/
|
|
3774
|
+
"name": "AiCriteriaSearch",
|
|
3775
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3899
3776
|
}
|
|
3900
3777
|
},
|
|
3901
3778
|
{
|
|
3902
3779
|
"kind": "js",
|
|
3903
|
-
"name": "
|
|
3780
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3904
3781
|
"declaration": {
|
|
3905
|
-
"name": "
|
|
3906
|
-
"module": "src/
|
|
3782
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3783
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3907
3784
|
}
|
|
3908
3785
|
},
|
|
3909
3786
|
{
|
|
3910
3787
|
"kind": "js",
|
|
3911
|
-
"name": "
|
|
3788
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3912
3789
|
"declaration": {
|
|
3913
|
-
"name": "
|
|
3914
|
-
"module": "src/
|
|
3790
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3791
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3915
3792
|
}
|
|
3916
3793
|
},
|
|
3917
3794
|
{
|
|
3918
3795
|
"kind": "js",
|
|
3919
|
-
"name": "
|
|
3796
|
+
"name": "foundationAiCriteriaSearch",
|
|
3920
3797
|
"declaration": {
|
|
3921
|
-
"name": "
|
|
3922
|
-
"module": "src/
|
|
3798
|
+
"name": "foundationAiCriteriaSearch",
|
|
3799
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3923
3800
|
}
|
|
3924
3801
|
}
|
|
3925
3802
|
]
|
|
3926
3803
|
},
|
|
3927
3804
|
{
|
|
3928
3805
|
"kind": "javascript-module",
|
|
3929
|
-
"path": "src/
|
|
3806
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
3930
3807
|
"declarations": [],
|
|
3931
3808
|
"exports": [
|
|
3809
|
+
{
|
|
3810
|
+
"kind": "js",
|
|
3811
|
+
"name": "AiCriteriaSearch",
|
|
3812
|
+
"declaration": {
|
|
3813
|
+
"name": "AiCriteriaSearch",
|
|
3814
|
+
"module": "./ai-criteria-search"
|
|
3815
|
+
}
|
|
3816
|
+
},
|
|
3817
|
+
{
|
|
3818
|
+
"kind": "js",
|
|
3819
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3820
|
+
"declaration": {
|
|
3821
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3822
|
+
"module": "./ai-criteria-search"
|
|
3823
|
+
}
|
|
3824
|
+
},
|
|
3825
|
+
{
|
|
3826
|
+
"kind": "js",
|
|
3827
|
+
"name": "foundationAiCriteriaSearch",
|
|
3828
|
+
"declaration": {
|
|
3829
|
+
"name": "foundationAiCriteriaSearch",
|
|
3830
|
+
"module": "./ai-criteria-search"
|
|
3831
|
+
}
|
|
3832
|
+
},
|
|
3833
|
+
{
|
|
3834
|
+
"kind": "js",
|
|
3835
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3836
|
+
"declaration": {
|
|
3837
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3838
|
+
"module": "./ai-criteria-search"
|
|
3839
|
+
}
|
|
3840
|
+
},
|
|
3841
|
+
{
|
|
3842
|
+
"kind": "js",
|
|
3843
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3844
|
+
"declaration": {
|
|
3845
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3846
|
+
"module": "./ai-criteria-search.styles"
|
|
3847
|
+
}
|
|
3848
|
+
},
|
|
3849
|
+
{
|
|
3850
|
+
"kind": "js",
|
|
3851
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3852
|
+
"declaration": {
|
|
3853
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3854
|
+
"module": "./ai-criteria-search.template"
|
|
3855
|
+
}
|
|
3856
|
+
},
|
|
3932
3857
|
{
|
|
3933
3858
|
"kind": "js",
|
|
3934
3859
|
"name": "*",
|
|
3935
3860
|
"declaration": {
|
|
3936
3861
|
"name": "*",
|
|
3937
|
-
"package": "./
|
|
3862
|
+
"package": "./validation/criteria-ir"
|
|
3938
3863
|
}
|
|
3939
3864
|
},
|
|
3940
3865
|
{
|
|
@@ -3942,7 +3867,7 @@
|
|
|
3942
3867
|
"name": "*",
|
|
3943
3868
|
"declaration": {
|
|
3944
3869
|
"name": "*",
|
|
3945
|
-
"package": "./
|
|
3870
|
+
"package": "./validation/operator-map"
|
|
3946
3871
|
}
|
|
3947
3872
|
},
|
|
3948
3873
|
{
|
|
@@ -3950,7 +3875,82 @@
|
|
|
3950
3875
|
"name": "*",
|
|
3951
3876
|
"declaration": {
|
|
3952
3877
|
"name": "*",
|
|
3953
|
-
"package": "./
|
|
3878
|
+
"package": "./validation/schema-validator"
|
|
3879
|
+
}
|
|
3880
|
+
}
|
|
3881
|
+
]
|
|
3882
|
+
},
|
|
3883
|
+
{
|
|
3884
|
+
"kind": "javascript-module",
|
|
3885
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3886
|
+
"declarations": [
|
|
3887
|
+
{
|
|
3888
|
+
"kind": "function",
|
|
3889
|
+
"name": "formatValidationErrors",
|
|
3890
|
+
"return": {
|
|
3891
|
+
"type": {
|
|
3892
|
+
"text": "string"
|
|
3893
|
+
}
|
|
3894
|
+
},
|
|
3895
|
+
"parameters": [
|
|
3896
|
+
{
|
|
3897
|
+
"name": "errors",
|
|
3898
|
+
"type": {
|
|
3899
|
+
"text": "ValidationError[]"
|
|
3900
|
+
}
|
|
3901
|
+
}
|
|
3902
|
+
],
|
|
3903
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
3904
|
+
},
|
|
3905
|
+
{
|
|
3906
|
+
"kind": "function",
|
|
3907
|
+
"name": "showCriteriaError",
|
|
3908
|
+
"return": {
|
|
3909
|
+
"type": {
|
|
3910
|
+
"text": "void"
|
|
3911
|
+
}
|
|
3912
|
+
},
|
|
3913
|
+
"parameters": [
|
|
3914
|
+
{
|
|
3915
|
+
"name": "title",
|
|
3916
|
+
"type": {
|
|
3917
|
+
"text": "string"
|
|
3918
|
+
},
|
|
3919
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3920
|
+
},
|
|
3921
|
+
{
|
|
3922
|
+
"name": "body",
|
|
3923
|
+
"type": {
|
|
3924
|
+
"text": "string"
|
|
3925
|
+
},
|
|
3926
|
+
"description": "Error message to display"
|
|
3927
|
+
},
|
|
3928
|
+
{
|
|
3929
|
+
"name": "tagName",
|
|
3930
|
+
"type": {
|
|
3931
|
+
"text": "string"
|
|
3932
|
+
},
|
|
3933
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3934
|
+
}
|
|
3935
|
+
],
|
|
3936
|
+
"description": "Shows a criteria error as a toast notification."
|
|
3937
|
+
}
|
|
3938
|
+
],
|
|
3939
|
+
"exports": [
|
|
3940
|
+
{
|
|
3941
|
+
"kind": "js",
|
|
3942
|
+
"name": "formatValidationErrors",
|
|
3943
|
+
"declaration": {
|
|
3944
|
+
"name": "formatValidationErrors",
|
|
3945
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3946
|
+
}
|
|
3947
|
+
},
|
|
3948
|
+
{
|
|
3949
|
+
"kind": "js",
|
|
3950
|
+
"name": "showCriteriaError",
|
|
3951
|
+
"declaration": {
|
|
3952
|
+
"name": "showCriteriaError",
|
|
3953
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3954
3954
|
}
|
|
3955
3955
|
}
|
|
3956
3956
|
]
|
|
@@ -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",
|