@genesislcap/foundation-ui 14.428.2-alpha-257ebec.0 → 14.429.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.
@@ -2353,439 +2353,31 @@
2353
2353
  },
2354
2354
  {
2355
2355
  "kind": "javascript-module",
2356
- "path": "src/ai-indicator/ai-indicator.styles.ts",
2357
- "declarations": [
2358
- {
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
- ]
2380
- }
2381
- ],
2382
- "exports": [
2383
- {
2384
- "kind": "js",
2385
- "name": "foundationAiIndicatorStyles",
2386
- "declaration": {
2387
- "name": "foundationAiIndicatorStyles",
2388
- "module": "src/ai-indicator/ai-indicator.styles.ts"
2389
- }
2390
- }
2391
- ]
2392
- },
2393
- {
2394
- "kind": "javascript-module",
2395
- "path": "src/ai-indicator/ai-indicator.template.ts",
2396
- "declarations": [
2397
- {
2398
- "kind": "variable",
2399
- "name": "foundationAiIndicatorTemplate",
2400
- "type": {
2401
- "text": "ViewTemplate<AiIndicator>"
2402
- },
2403
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2404
- }
2405
- ],
2406
- "exports": [
2407
- {
2408
- "kind": "js",
2409
- "name": "foundationAiIndicatorTemplate",
2410
- "declaration": {
2411
- "name": "foundationAiIndicatorTemplate",
2412
- "module": "src/ai-indicator/ai-indicator.template.ts"
2413
- }
2414
- }
2415
- ]
2416
- },
2417
- {
2418
- "kind": "javascript-module",
2419
- "path": "src/ai-indicator/ai-indicator.ts",
2420
- "declarations": [
2421
- {
2422
- "kind": "class",
2423
- "description": "",
2424
- "name": "AiIndicator",
2425
- "members": [
2426
- {
2427
- "kind": "field",
2428
- "name": "aiProvider",
2429
- "type": {
2430
- "text": "AIProvider"
2431
- }
2432
- },
2433
- {
2434
- "kind": "field",
2435
- "name": "status",
2436
- "type": {
2437
- "text": "AIStatus | null"
2438
- },
2439
- "default": "null"
2440
- },
2441
- {
2442
- "kind": "field",
2443
- "name": "open",
2444
- "type": {
2445
- "text": "boolean"
2446
- },
2447
- "default": "false"
2448
- },
2449
- {
2450
- "kind": "field",
2451
- "name": "state",
2452
- "type": {
2453
- "text": "AIIndicatorState"
2454
- },
2455
- "default": "'none'"
2456
- },
2457
- {
2458
- "kind": "field",
2459
- "name": "isInstalling",
2460
- "type": {
2461
- "text": "boolean"
2462
- },
2463
- "default": "false"
2464
- },
2465
- {
2466
- "kind": "field",
2467
- "name": "pollTimer",
2468
- "type": {
2469
- "text": "ReturnType<typeof setInterval> | null"
2470
- },
2471
- "privacy": "private",
2472
- "default": "null"
2473
- },
2474
- {
2475
- "kind": "field",
2476
- "name": "clickOutside",
2477
- "privacy": "private"
2478
- },
2479
- {
2480
- "kind": "field",
2481
- "name": "chromeStatusLabel",
2482
- "type": {
2483
- "text": "string | null"
2484
- },
2485
- "readonly": true
2486
- },
2487
- {
2488
- "kind": "field",
2489
- "name": "canInstall",
2490
- "type": {
2491
- "text": "boolean"
2492
- },
2493
- "readonly": true
2494
- },
2495
- {
2496
- "kind": "field",
2497
- "name": "isDownloading",
2498
- "type": {
2499
- "text": "boolean"
2500
- },
2501
- "readonly": true
2502
- },
2503
- {
2504
- "kind": "method",
2505
- "name": "openChanged",
2506
- "return": {
2507
- "type": {
2508
- "text": "void"
2509
- }
2510
- }
2511
- },
2512
- {
2513
- "kind": "method",
2514
- "name": "handleClickOutside",
2515
- "privacy": "private",
2516
- "parameters": [
2517
- {
2518
- "name": "event",
2519
- "type": {
2520
- "text": "MouseEvent"
2521
- }
2522
- }
2523
- ]
2524
- },
2525
- {
2526
- "kind": "method",
2527
- "name": "toggleDropdown"
2528
- },
2529
- {
2530
- "kind": "method",
2531
- "name": "refreshStatus",
2532
- "return": {
2533
- "type": {
2534
- "text": "Promise<void>"
2535
- }
2536
- }
2537
- },
2538
- {
2539
- "kind": "method",
2540
- "name": "deriveState",
2541
- "privacy": "private",
2542
- "return": {
2543
- "type": {
2544
- "text": "AIIndicatorState"
2545
- }
2546
- },
2547
- "parameters": [
2548
- {
2549
- "name": "s",
2550
- "type": {
2551
- "text": "AIStatus | null"
2552
- }
2553
- }
2554
- ]
2555
- },
2556
- {
2557
- "kind": "method",
2558
- "name": "maybeStartPolling",
2559
- "privacy": "private",
2560
- "return": {
2561
- "type": {
2562
- "text": "void"
2563
- }
2564
- }
2565
- },
2566
- {
2567
- "kind": "method",
2568
- "name": "startPolling",
2569
- "privacy": "private",
2570
- "return": {
2571
- "type": {
2572
- "text": "void"
2573
- }
2574
- }
2575
- },
2576
- {
2577
- "kind": "method",
2578
- "name": "stopPolling",
2579
- "privacy": "private",
2580
- "return": {
2581
- "type": {
2582
- "text": "void"
2583
- }
2584
- }
2585
- },
2586
- {
2587
- "kind": "method",
2588
- "name": "onInstall",
2589
- "return": {
2590
- "type": {
2591
- "text": "Promise<void>"
2592
- }
2593
- }
2594
- },
2595
- {
2596
- "kind": "field",
2597
- "name": "_presentation",
2598
- "type": {
2599
- "text": "ComponentPresentation | null | undefined"
2600
- },
2601
- "privacy": "private",
2602
- "default": "void 0",
2603
- "inheritedFrom": {
2604
- "name": "FoundationElement",
2605
- "module": "src/foundation-element/foundation-element.ts"
2606
- }
2607
- },
2608
- {
2609
- "kind": "field",
2610
- "name": "$presentation",
2611
- "type": {
2612
- "text": "ComponentPresentation | null"
2613
- },
2614
- "privacy": "public",
2615
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2616
- "inheritedFrom": {
2617
- "name": "FoundationElement",
2618
- "module": "src/foundation-element/foundation-element.ts"
2619
- }
2620
- },
2621
- {
2622
- "kind": "field",
2623
- "name": "template",
2624
- "type": {
2625
- "text": "ElementViewTemplate | void | null"
2626
- },
2627
- "privacy": "public",
2628
- "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
2629
- "inheritedFrom": {
2630
- "name": "FoundationElement",
2631
- "module": "src/foundation-element/foundation-element.ts"
2632
- }
2633
- },
2634
- {
2635
- "kind": "method",
2636
- "name": "templateChanged",
2637
- "privacy": "protected",
2638
- "return": {
2639
- "type": {
2640
- "text": "void"
2641
- }
2642
- },
2643
- "inheritedFrom": {
2644
- "name": "FoundationElement",
2645
- "module": "src/foundation-element/foundation-element.ts"
2646
- }
2647
- },
2648
- {
2649
- "kind": "field",
2650
- "name": "styles",
2651
- "type": {
2652
- "text": "ElementStyles | void | null"
2653
- },
2654
- "privacy": "public",
2655
- "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
2656
- "inheritedFrom": {
2657
- "name": "FoundationElement",
2658
- "module": "src/foundation-element/foundation-element.ts"
2659
- }
2660
- },
2661
- {
2662
- "kind": "method",
2663
- "name": "stylesChanged",
2664
- "privacy": "protected",
2665
- "return": {
2666
- "type": {
2667
- "text": "void"
2668
- }
2669
- },
2670
- "inheritedFrom": {
2671
- "name": "FoundationElement",
2672
- "module": "src/foundation-element/foundation-element.ts"
2673
- }
2674
- },
2675
- {
2676
- "kind": "method",
2677
- "name": "compose",
2678
- "privacy": "public",
2679
- "static": true,
2680
- "return": {
2681
- "type": {
2682
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2683
- }
2684
- },
2685
- "parameters": [
2686
- {
2687
- "name": "this",
2688
- "type": {
2689
- "text": "K"
2690
- }
2691
- },
2692
- {
2693
- "name": "elementDefinition",
2694
- "type": {
2695
- "text": "T"
2696
- },
2697
- "description": "The definition of the element to create the registry\nfunction for."
2698
- }
2699
- ],
2700
- "description": "Defines an element registry function with a set of element definition defaults.",
2701
- "inheritedFrom": {
2702
- "name": "FoundationElement",
2703
- "module": "src/foundation-element/foundation-element.ts"
2704
- }
2705
- }
2706
- ],
2707
- "superclass": {
2708
- "name": "FoundationElement",
2709
- "package": "@microsoft/fast-foundation"
2710
- },
2711
- "tagName": "%%prefix%%-ai-indicator",
2712
- "customElement": true
2713
- },
2714
- {
2715
- "kind": "variable",
2716
- "name": "foundationAiIndicator"
2717
- }
2718
- ],
2719
- "exports": [
2720
- {
2721
- "kind": "js",
2722
- "name": "AiIndicator",
2723
- "declaration": {
2724
- "name": "AiIndicator",
2725
- "module": "src/ai-indicator/ai-indicator.ts"
2726
- }
2727
- },
2728
- {
2729
- "kind": "js",
2730
- "name": "foundationAiIndicator",
2731
- "declaration": {
2732
- "name": "foundationAiIndicator",
2733
- "module": "src/ai-indicator/ai-indicator.ts"
2734
- }
2735
- }
2736
- ]
2737
- },
2738
- {
2739
- "kind": "javascript-module",
2740
- "path": "src/ai-indicator/index.ts",
2356
+ "path": "src/_config/index.ts",
2741
2357
  "declarations": [],
2742
2358
  "exports": [
2743
2359
  {
2744
2360
  "kind": "js",
2745
- "name": "AiIndicator",
2746
- "declaration": {
2747
- "name": "AiIndicator",
2748
- "module": "./ai-indicator"
2749
- }
2750
- },
2751
- {
2752
- "kind": "js",
2753
- "name": "foundationAiIndicator",
2754
- "declaration": {
2755
- "name": "foundationAiIndicator",
2756
- "module": "./ai-indicator"
2757
- }
2758
- },
2759
- {
2760
- "kind": "js",
2761
- "name": "type",
2762
- "declaration": {
2763
- "name": "type",
2764
- "module": "./ai-indicator"
2765
- }
2766
- },
2767
- {
2768
- "kind": "js",
2769
- "name": "AIIndicatorState",
2361
+ "name": "*",
2770
2362
  "declaration": {
2771
- "name": "AIIndicatorState",
2772
- "module": "./ai-indicator"
2363
+ "name": "*",
2364
+ "package": "./styles"
2773
2365
  }
2774
2366
  },
2775
2367
  {
2776
2368
  "kind": "js",
2777
- "name": "foundationAiIndicatorTemplate",
2369
+ "name": "*",
2778
2370
  "declaration": {
2779
- "name": "foundationAiIndicatorTemplate",
2780
- "module": "./ai-indicator.template"
2371
+ "name": "*",
2372
+ "package": "./tokens"
2781
2373
  }
2782
2374
  },
2783
2375
  {
2784
2376
  "kind": "js",
2785
- "name": "foundationAiIndicatorStyles",
2377
+ "name": "*",
2786
2378
  "declaration": {
2787
- "name": "foundationAiIndicatorStyles",
2788
- "module": "./ai-indicator.styles"
2379
+ "name": "*",
2380
+ "package": "./values"
2789
2381
  }
2790
2382
  }
2791
2383
  ]
@@ -2797,7 +2389,7 @@
2797
2389
  {
2798
2390
  "kind": "variable",
2799
2391
  "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 .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .mode-control {\n flex-shrink: 0;\n }\n`"
2392
+ "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`"
2801
2393
  }
2802
2394
  ],
2803
2395
  "exports": [
@@ -2866,14 +2458,6 @@
2866
2458
  "text": "boolean"
2867
2459
  }
2868
2460
  },
2869
- {
2870
- "kind": "field",
2871
- "name": "mode",
2872
- "type": {
2873
- "text": "'append' | 'replace'"
2874
- },
2875
- "default": "'replace'"
2876
- },
2877
2461
  {
2878
2462
  "kind": "field",
2879
2463
  "name": "inputValue",
@@ -2898,6 +2482,22 @@
2898
2482
  },
2899
2483
  "default": "null"
2900
2484
  },
2485
+ {
2486
+ "kind": "field",
2487
+ "name": "activeGroups",
2488
+ "type": {
2489
+ "text": "CriteriaGroup[]"
2490
+ },
2491
+ "default": "[]"
2492
+ },
2493
+ {
2494
+ "kind": "field",
2495
+ "name": "showingChips",
2496
+ "type": {
2497
+ "text": "boolean"
2498
+ },
2499
+ "default": "false"
2500
+ },
2901
2501
  {
2902
2502
  "kind": "field",
2903
2503
  "name": "fieldMetadata",
@@ -2942,21 +2542,79 @@
2942
2542
  },
2943
2543
  {
2944
2544
  "kind": "field",
2945
- "name": "baseInputForAppend",
2545
+ "name": "speechAvailable",
2946
2546
  "type": {
2947
- "text": "string"
2547
+ "text": "boolean"
2948
2548
  },
2949
- "privacy": "private",
2950
- "default": "''"
2549
+ "readonly": true
2951
2550
  },
2952
2551
  {
2953
2552
  "kind": "field",
2954
- "name": "speechAvailable",
2553
+ "name": "criteriaChips",
2955
2554
  "type": {
2956
- "text": "boolean"
2555
+ "text": "CriteriaChip[]"
2957
2556
  },
2958
2557
  "readonly": true
2959
2558
  },
2559
+ {
2560
+ "kind": "method",
2561
+ "name": "getFieldLabel",
2562
+ "privacy": "private",
2563
+ "return": {
2564
+ "type": {
2565
+ "text": "string"
2566
+ }
2567
+ },
2568
+ "parameters": [
2569
+ {
2570
+ "name": "fieldName",
2571
+ "type": {
2572
+ "text": "string"
2573
+ }
2574
+ }
2575
+ ]
2576
+ },
2577
+ {
2578
+ "kind": "method",
2579
+ "name": "toggleCriteriaView",
2580
+ "return": {
2581
+ "type": {
2582
+ "text": "void"
2583
+ }
2584
+ }
2585
+ },
2586
+ {
2587
+ "kind": "method",
2588
+ "name": "removeChip",
2589
+ "return": {
2590
+ "type": {
2591
+ "text": "void"
2592
+ }
2593
+ },
2594
+ "parameters": [
2595
+ {
2596
+ "name": "groupIndex",
2597
+ "type": {
2598
+ "text": "number"
2599
+ }
2600
+ },
2601
+ {
2602
+ "name": "clauseIndex",
2603
+ "type": {
2604
+ "text": "number"
2605
+ }
2606
+ }
2607
+ ]
2608
+ },
2609
+ {
2610
+ "kind": "method",
2611
+ "name": "clearChips",
2612
+ "return": {
2613
+ "type": {
2614
+ "text": "void"
2615
+ }
2616
+ }
2617
+ },
2960
2618
  {
2961
2619
  "kind": "method",
2962
2620
  "name": "handleSubmit"
@@ -3114,14 +2772,6 @@
3114
2772
  "text": "boolean"
3115
2773
  },
3116
2774
  "fieldName": "disabled"
3117
- },
3118
- {
3119
- "name": "mode",
3120
- "type": {
3121
- "text": "'append' | 'replace'"
3122
- },
3123
- "default": "'replace'",
3124
- "fieldName": "mode"
3125
2775
  }
3126
2776
  ],
3127
2777
  "superclass": {
@@ -3858,31 +3508,439 @@
3858
3508
  },
3859
3509
  {
3860
3510
  "kind": "javascript-module",
3861
- "path": "src/_config/index.ts",
3511
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
3512
+ "declarations": [
3513
+ {
3514
+ "kind": "function",
3515
+ "name": "foundationAiIndicatorStyles",
3516
+ "return": {
3517
+ "type": {
3518
+ "text": "ElementStyles"
3519
+ }
3520
+ },
3521
+ "parameters": [
3522
+ {
3523
+ "name": "context",
3524
+ "type": {
3525
+ "text": "ElementDefinitionContext"
3526
+ }
3527
+ },
3528
+ {
3529
+ "name": "definition",
3530
+ "type": {
3531
+ "text": "FoundationElementDefinition"
3532
+ }
3533
+ }
3534
+ ]
3535
+ }
3536
+ ],
3537
+ "exports": [
3538
+ {
3539
+ "kind": "js",
3540
+ "name": "foundationAiIndicatorStyles",
3541
+ "declaration": {
3542
+ "name": "foundationAiIndicatorStyles",
3543
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3544
+ }
3545
+ }
3546
+ ]
3547
+ },
3548
+ {
3549
+ "kind": "javascript-module",
3550
+ "path": "src/ai-indicator/ai-indicator.template.ts",
3551
+ "declarations": [
3552
+ {
3553
+ "kind": "variable",
3554
+ "name": "foundationAiIndicatorTemplate",
3555
+ "type": {
3556
+ "text": "ViewTemplate<AiIndicator>"
3557
+ },
3558
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3559
+ }
3560
+ ],
3561
+ "exports": [
3562
+ {
3563
+ "kind": "js",
3564
+ "name": "foundationAiIndicatorTemplate",
3565
+ "declaration": {
3566
+ "name": "foundationAiIndicatorTemplate",
3567
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3568
+ }
3569
+ }
3570
+ ]
3571
+ },
3572
+ {
3573
+ "kind": "javascript-module",
3574
+ "path": "src/ai-indicator/ai-indicator.ts",
3575
+ "declarations": [
3576
+ {
3577
+ "kind": "class",
3578
+ "description": "",
3579
+ "name": "AiIndicator",
3580
+ "members": [
3581
+ {
3582
+ "kind": "field",
3583
+ "name": "aiProvider",
3584
+ "type": {
3585
+ "text": "AIProvider"
3586
+ }
3587
+ },
3588
+ {
3589
+ "kind": "field",
3590
+ "name": "status",
3591
+ "type": {
3592
+ "text": "AIStatus | null"
3593
+ },
3594
+ "default": "null"
3595
+ },
3596
+ {
3597
+ "kind": "field",
3598
+ "name": "open",
3599
+ "type": {
3600
+ "text": "boolean"
3601
+ },
3602
+ "default": "false"
3603
+ },
3604
+ {
3605
+ "kind": "field",
3606
+ "name": "state",
3607
+ "type": {
3608
+ "text": "AIIndicatorState"
3609
+ },
3610
+ "default": "'none'"
3611
+ },
3612
+ {
3613
+ "kind": "field",
3614
+ "name": "isInstalling",
3615
+ "type": {
3616
+ "text": "boolean"
3617
+ },
3618
+ "default": "false"
3619
+ },
3620
+ {
3621
+ "kind": "field",
3622
+ "name": "pollTimer",
3623
+ "type": {
3624
+ "text": "ReturnType<typeof setInterval> | null"
3625
+ },
3626
+ "privacy": "private",
3627
+ "default": "null"
3628
+ },
3629
+ {
3630
+ "kind": "field",
3631
+ "name": "clickOutside",
3632
+ "privacy": "private"
3633
+ },
3634
+ {
3635
+ "kind": "field",
3636
+ "name": "chromeStatusLabel",
3637
+ "type": {
3638
+ "text": "string | null"
3639
+ },
3640
+ "readonly": true
3641
+ },
3642
+ {
3643
+ "kind": "field",
3644
+ "name": "canInstall",
3645
+ "type": {
3646
+ "text": "boolean"
3647
+ },
3648
+ "readonly": true
3649
+ },
3650
+ {
3651
+ "kind": "field",
3652
+ "name": "isDownloading",
3653
+ "type": {
3654
+ "text": "boolean"
3655
+ },
3656
+ "readonly": true
3657
+ },
3658
+ {
3659
+ "kind": "method",
3660
+ "name": "openChanged",
3661
+ "return": {
3662
+ "type": {
3663
+ "text": "void"
3664
+ }
3665
+ }
3666
+ },
3667
+ {
3668
+ "kind": "method",
3669
+ "name": "handleClickOutside",
3670
+ "privacy": "private",
3671
+ "parameters": [
3672
+ {
3673
+ "name": "event",
3674
+ "type": {
3675
+ "text": "MouseEvent"
3676
+ }
3677
+ }
3678
+ ]
3679
+ },
3680
+ {
3681
+ "kind": "method",
3682
+ "name": "toggleDropdown"
3683
+ },
3684
+ {
3685
+ "kind": "method",
3686
+ "name": "refreshStatus",
3687
+ "return": {
3688
+ "type": {
3689
+ "text": "Promise<void>"
3690
+ }
3691
+ }
3692
+ },
3693
+ {
3694
+ "kind": "method",
3695
+ "name": "deriveState",
3696
+ "privacy": "private",
3697
+ "return": {
3698
+ "type": {
3699
+ "text": "AIIndicatorState"
3700
+ }
3701
+ },
3702
+ "parameters": [
3703
+ {
3704
+ "name": "s",
3705
+ "type": {
3706
+ "text": "AIStatus | null"
3707
+ }
3708
+ }
3709
+ ]
3710
+ },
3711
+ {
3712
+ "kind": "method",
3713
+ "name": "maybeStartPolling",
3714
+ "privacy": "private",
3715
+ "return": {
3716
+ "type": {
3717
+ "text": "void"
3718
+ }
3719
+ }
3720
+ },
3721
+ {
3722
+ "kind": "method",
3723
+ "name": "startPolling",
3724
+ "privacy": "private",
3725
+ "return": {
3726
+ "type": {
3727
+ "text": "void"
3728
+ }
3729
+ }
3730
+ },
3731
+ {
3732
+ "kind": "method",
3733
+ "name": "stopPolling",
3734
+ "privacy": "private",
3735
+ "return": {
3736
+ "type": {
3737
+ "text": "void"
3738
+ }
3739
+ }
3740
+ },
3741
+ {
3742
+ "kind": "method",
3743
+ "name": "onInstall",
3744
+ "return": {
3745
+ "type": {
3746
+ "text": "Promise<void>"
3747
+ }
3748
+ }
3749
+ },
3750
+ {
3751
+ "kind": "field",
3752
+ "name": "_presentation",
3753
+ "type": {
3754
+ "text": "ComponentPresentation | null | undefined"
3755
+ },
3756
+ "privacy": "private",
3757
+ "default": "void 0",
3758
+ "inheritedFrom": {
3759
+ "name": "FoundationElement",
3760
+ "module": "src/foundation-element/foundation-element.ts"
3761
+ }
3762
+ },
3763
+ {
3764
+ "kind": "field",
3765
+ "name": "$presentation",
3766
+ "type": {
3767
+ "text": "ComponentPresentation | null"
3768
+ },
3769
+ "privacy": "public",
3770
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3771
+ "inheritedFrom": {
3772
+ "name": "FoundationElement",
3773
+ "module": "src/foundation-element/foundation-element.ts"
3774
+ }
3775
+ },
3776
+ {
3777
+ "kind": "field",
3778
+ "name": "template",
3779
+ "type": {
3780
+ "text": "ElementViewTemplate | void | null"
3781
+ },
3782
+ "privacy": "public",
3783
+ "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
3784
+ "inheritedFrom": {
3785
+ "name": "FoundationElement",
3786
+ "module": "src/foundation-element/foundation-element.ts"
3787
+ }
3788
+ },
3789
+ {
3790
+ "kind": "method",
3791
+ "name": "templateChanged",
3792
+ "privacy": "protected",
3793
+ "return": {
3794
+ "type": {
3795
+ "text": "void"
3796
+ }
3797
+ },
3798
+ "inheritedFrom": {
3799
+ "name": "FoundationElement",
3800
+ "module": "src/foundation-element/foundation-element.ts"
3801
+ }
3802
+ },
3803
+ {
3804
+ "kind": "field",
3805
+ "name": "styles",
3806
+ "type": {
3807
+ "text": "ElementStyles | void | null"
3808
+ },
3809
+ "privacy": "public",
3810
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
3811
+ "inheritedFrom": {
3812
+ "name": "FoundationElement",
3813
+ "module": "src/foundation-element/foundation-element.ts"
3814
+ }
3815
+ },
3816
+ {
3817
+ "kind": "method",
3818
+ "name": "stylesChanged",
3819
+ "privacy": "protected",
3820
+ "return": {
3821
+ "type": {
3822
+ "text": "void"
3823
+ }
3824
+ },
3825
+ "inheritedFrom": {
3826
+ "name": "FoundationElement",
3827
+ "module": "src/foundation-element/foundation-element.ts"
3828
+ }
3829
+ },
3830
+ {
3831
+ "kind": "method",
3832
+ "name": "compose",
3833
+ "privacy": "public",
3834
+ "static": true,
3835
+ "return": {
3836
+ "type": {
3837
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3838
+ }
3839
+ },
3840
+ "parameters": [
3841
+ {
3842
+ "name": "this",
3843
+ "type": {
3844
+ "text": "K"
3845
+ }
3846
+ },
3847
+ {
3848
+ "name": "elementDefinition",
3849
+ "type": {
3850
+ "text": "T"
3851
+ },
3852
+ "description": "The definition of the element to create the registry\nfunction for."
3853
+ }
3854
+ ],
3855
+ "description": "Defines an element registry function with a set of element definition defaults.",
3856
+ "inheritedFrom": {
3857
+ "name": "FoundationElement",
3858
+ "module": "src/foundation-element/foundation-element.ts"
3859
+ }
3860
+ }
3861
+ ],
3862
+ "superclass": {
3863
+ "name": "FoundationElement",
3864
+ "package": "@microsoft/fast-foundation"
3865
+ },
3866
+ "tagName": "%%prefix%%-ai-indicator",
3867
+ "customElement": true
3868
+ },
3869
+ {
3870
+ "kind": "variable",
3871
+ "name": "foundationAiIndicator"
3872
+ }
3873
+ ],
3874
+ "exports": [
3875
+ {
3876
+ "kind": "js",
3877
+ "name": "AiIndicator",
3878
+ "declaration": {
3879
+ "name": "AiIndicator",
3880
+ "module": "src/ai-indicator/ai-indicator.ts"
3881
+ }
3882
+ },
3883
+ {
3884
+ "kind": "js",
3885
+ "name": "foundationAiIndicator",
3886
+ "declaration": {
3887
+ "name": "foundationAiIndicator",
3888
+ "module": "src/ai-indicator/ai-indicator.ts"
3889
+ }
3890
+ }
3891
+ ]
3892
+ },
3893
+ {
3894
+ "kind": "javascript-module",
3895
+ "path": "src/ai-indicator/index.ts",
3862
3896
  "declarations": [],
3863
3897
  "exports": [
3864
3898
  {
3865
3899
  "kind": "js",
3866
- "name": "*",
3900
+ "name": "AiIndicator",
3867
3901
  "declaration": {
3868
- "name": "*",
3869
- "package": "./styles"
3902
+ "name": "AiIndicator",
3903
+ "module": "./ai-indicator"
3870
3904
  }
3871
3905
  },
3872
3906
  {
3873
3907
  "kind": "js",
3874
- "name": "*",
3908
+ "name": "foundationAiIndicator",
3875
3909
  "declaration": {
3876
- "name": "*",
3877
- "package": "./tokens"
3910
+ "name": "foundationAiIndicator",
3911
+ "module": "./ai-indicator"
3878
3912
  }
3879
3913
  },
3880
3914
  {
3881
3915
  "kind": "js",
3882
- "name": "*",
3916
+ "name": "type",
3883
3917
  "declaration": {
3884
- "name": "*",
3885
- "package": "./values"
3918
+ "name": "type",
3919
+ "module": "./ai-indicator"
3920
+ }
3921
+ },
3922
+ {
3923
+ "kind": "js",
3924
+ "name": "AIIndicatorState",
3925
+ "declaration": {
3926
+ "name": "AIIndicatorState",
3927
+ "module": "./ai-indicator"
3928
+ }
3929
+ },
3930
+ {
3931
+ "kind": "js",
3932
+ "name": "foundationAiIndicatorTemplate",
3933
+ "declaration": {
3934
+ "name": "foundationAiIndicatorTemplate",
3935
+ "module": "./ai-indicator.template"
3936
+ }
3937
+ },
3938
+ {
3939
+ "kind": "js",
3940
+ "name": "foundationAiIndicatorStyles",
3941
+ "declaration": {
3942
+ "name": "foundationAiIndicatorStyles",
3943
+ "module": "./ai-indicator.styles"
3886
3944
  }
3887
3945
  }
3888
3946
  ]
@@ -56421,181 +56479,6 @@
56421
56479
  }
56422
56480
  ]
56423
56481
  },
56424
- {
56425
- "kind": "javascript-module",
56426
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
56427
- "declarations": [],
56428
- "exports": []
56429
- },
56430
- {
56431
- "kind": "javascript-module",
56432
- "path": "src/ai-criteria-search/validation/operator-map.ts",
56433
- "declarations": [
56434
- {
56435
- "kind": "function",
56436
- "name": "groupsToCriteria",
56437
- "return": {
56438
- "type": {
56439
- "text": "string"
56440
- }
56441
- },
56442
- "parameters": [
56443
- {
56444
- "name": "groups",
56445
- "type": {
56446
- "text": "CriteriaGroup[]"
56447
- }
56448
- }
56449
- ],
56450
- "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."
56451
- },
56452
- {
56453
- "kind": "variable",
56454
- "name": "STRING_OPERATORS",
56455
- "type": {
56456
- "text": "CriteriaOperator[]"
56457
- },
56458
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
56459
- },
56460
- {
56461
- "kind": "variable",
56462
- "name": "NUMERIC_OPERATORS",
56463
- "type": {
56464
- "text": "CriteriaOperator[]"
56465
- },
56466
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
56467
- },
56468
- {
56469
- "kind": "variable",
56470
- "name": "DATE_OPERATORS",
56471
- "type": {
56472
- "text": "CriteriaOperator[]"
56473
- },
56474
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
56475
- },
56476
- {
56477
- "kind": "variable",
56478
- "name": "DATETIME_OPERATORS",
56479
- "type": {
56480
- "text": "CriteriaOperator[]"
56481
- },
56482
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
56483
- }
56484
- ],
56485
- "exports": [
56486
- {
56487
- "kind": "js",
56488
- "name": "groupsToCriteria",
56489
- "declaration": {
56490
- "name": "groupsToCriteria",
56491
- "module": "src/ai-criteria-search/validation/operator-map.ts"
56492
- }
56493
- },
56494
- {
56495
- "kind": "js",
56496
- "name": "STRING_OPERATORS",
56497
- "declaration": {
56498
- "name": "STRING_OPERATORS",
56499
- "module": "src/ai-criteria-search/validation/operator-map.ts"
56500
- }
56501
- },
56502
- {
56503
- "kind": "js",
56504
- "name": "NUMERIC_OPERATORS",
56505
- "declaration": {
56506
- "name": "NUMERIC_OPERATORS",
56507
- "module": "src/ai-criteria-search/validation/operator-map.ts"
56508
- }
56509
- },
56510
- {
56511
- "kind": "js",
56512
- "name": "DATE_OPERATORS",
56513
- "declaration": {
56514
- "name": "DATE_OPERATORS",
56515
- "module": "src/ai-criteria-search/validation/operator-map.ts"
56516
- }
56517
- },
56518
- {
56519
- "kind": "js",
56520
- "name": "DATETIME_OPERATORS",
56521
- "declaration": {
56522
- "name": "DATETIME_OPERATORS",
56523
- "module": "src/ai-criteria-search/validation/operator-map.ts"
56524
- }
56525
- }
56526
- ]
56527
- },
56528
- {
56529
- "kind": "javascript-module",
56530
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
56531
- "declarations": [
56532
- {
56533
- "kind": "function",
56534
- "name": "validateClauses",
56535
- "return": {
56536
- "type": {
56537
- "text": "ValidationResult"
56538
- }
56539
- },
56540
- "parameters": [
56541
- {
56542
- "name": "clauses",
56543
- "type": {
56544
- "text": "CriteriaClause[]"
56545
- }
56546
- },
56547
- {
56548
- "name": "fieldMetadata",
56549
- "type": {
56550
- "text": "MetadataDetail[] | string[]"
56551
- }
56552
- }
56553
- ]
56554
- },
56555
- {
56556
- "kind": "function",
56557
- "name": "validateGroups",
56558
- "return": {
56559
- "type": {
56560
- "text": "GroupsValidationResult"
56561
- }
56562
- },
56563
- "parameters": [
56564
- {
56565
- "name": "groups",
56566
- "type": {
56567
- "text": "CriteriaGroup[]"
56568
- }
56569
- },
56570
- {
56571
- "name": "fieldMetadata",
56572
- "type": {
56573
- "text": "MetadataDetail[] | string[]"
56574
- }
56575
- }
56576
- ],
56577
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
56578
- }
56579
- ],
56580
- "exports": [
56581
- {
56582
- "kind": "js",
56583
- "name": "validateClauses",
56584
- "declaration": {
56585
- "name": "validateClauses",
56586
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
56587
- }
56588
- },
56589
- {
56590
- "kind": "js",
56591
- "name": "validateGroups",
56592
- "declaration": {
56593
- "name": "validateGroups",
56594
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
56595
- }
56596
- }
56597
- ]
56598
- },
56599
56482
  {
56600
56483
  "kind": "javascript-module",
56601
56484
  "path": "src/_config/styles/colors.ts",
@@ -57968,6 +57851,197 @@
57968
57851
  "declarations": [],
57969
57852
  "exports": []
57970
57853
  },
57854
+ {
57855
+ "kind": "javascript-module",
57856
+ "path": "src/ai-criteria-search/validation/criteria-ir.ts",
57857
+ "declarations": [],
57858
+ "exports": []
57859
+ },
57860
+ {
57861
+ "kind": "javascript-module",
57862
+ "path": "src/ai-criteria-search/validation/operator-map.ts",
57863
+ "declarations": [
57864
+ {
57865
+ "kind": "function",
57866
+ "name": "groupsToCriteria",
57867
+ "return": {
57868
+ "type": {
57869
+ "text": "string"
57870
+ }
57871
+ },
57872
+ "parameters": [
57873
+ {
57874
+ "name": "groups",
57875
+ "type": {
57876
+ "text": "CriteriaGroup[]"
57877
+ }
57878
+ }
57879
+ ],
57880
+ "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."
57881
+ },
57882
+ {
57883
+ "kind": "variable",
57884
+ "name": "STRING_OPERATORS",
57885
+ "type": {
57886
+ "text": "CriteriaOperator[]"
57887
+ },
57888
+ "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
57889
+ },
57890
+ {
57891
+ "kind": "variable",
57892
+ "name": "NUMERIC_OPERATORS",
57893
+ "type": {
57894
+ "text": "CriteriaOperator[]"
57895
+ },
57896
+ "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
57897
+ },
57898
+ {
57899
+ "kind": "variable",
57900
+ "name": "DATE_OPERATORS",
57901
+ "type": {
57902
+ "text": "CriteriaOperator[]"
57903
+ },
57904
+ "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
57905
+ },
57906
+ {
57907
+ "kind": "variable",
57908
+ "name": "DATETIME_OPERATORS",
57909
+ "type": {
57910
+ "text": "CriteriaOperator[]"
57911
+ },
57912
+ "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
57913
+ },
57914
+ {
57915
+ "kind": "variable",
57916
+ "name": "OPERATOR_DISPLAY_LABEL",
57917
+ "type": {
57918
+ "text": "Record<CriteriaOperator, string>"
57919
+ },
57920
+ "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}"
57921
+ }
57922
+ ],
57923
+ "exports": [
57924
+ {
57925
+ "kind": "js",
57926
+ "name": "groupsToCriteria",
57927
+ "declaration": {
57928
+ "name": "groupsToCriteria",
57929
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
57930
+ }
57931
+ },
57932
+ {
57933
+ "kind": "js",
57934
+ "name": "STRING_OPERATORS",
57935
+ "declaration": {
57936
+ "name": "STRING_OPERATORS",
57937
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
57938
+ }
57939
+ },
57940
+ {
57941
+ "kind": "js",
57942
+ "name": "NUMERIC_OPERATORS",
57943
+ "declaration": {
57944
+ "name": "NUMERIC_OPERATORS",
57945
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
57946
+ }
57947
+ },
57948
+ {
57949
+ "kind": "js",
57950
+ "name": "DATE_OPERATORS",
57951
+ "declaration": {
57952
+ "name": "DATE_OPERATORS",
57953
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
57954
+ }
57955
+ },
57956
+ {
57957
+ "kind": "js",
57958
+ "name": "DATETIME_OPERATORS",
57959
+ "declaration": {
57960
+ "name": "DATETIME_OPERATORS",
57961
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
57962
+ }
57963
+ },
57964
+ {
57965
+ "kind": "js",
57966
+ "name": "OPERATOR_DISPLAY_LABEL",
57967
+ "declaration": {
57968
+ "name": "OPERATOR_DISPLAY_LABEL",
57969
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
57970
+ }
57971
+ }
57972
+ ]
57973
+ },
57974
+ {
57975
+ "kind": "javascript-module",
57976
+ "path": "src/ai-criteria-search/validation/schema-validator.ts",
57977
+ "declarations": [
57978
+ {
57979
+ "kind": "function",
57980
+ "name": "validateClauses",
57981
+ "return": {
57982
+ "type": {
57983
+ "text": "ValidationResult"
57984
+ }
57985
+ },
57986
+ "parameters": [
57987
+ {
57988
+ "name": "clauses",
57989
+ "type": {
57990
+ "text": "CriteriaClause[]"
57991
+ }
57992
+ },
57993
+ {
57994
+ "name": "fieldMetadata",
57995
+ "type": {
57996
+ "text": "MetadataDetail[] | string[]"
57997
+ }
57998
+ }
57999
+ ]
58000
+ },
58001
+ {
58002
+ "kind": "function",
58003
+ "name": "validateGroups",
58004
+ "return": {
58005
+ "type": {
58006
+ "text": "GroupsValidationResult"
58007
+ }
58008
+ },
58009
+ "parameters": [
58010
+ {
58011
+ "name": "groups",
58012
+ "type": {
58013
+ "text": "CriteriaGroup[]"
58014
+ }
58015
+ },
58016
+ {
58017
+ "name": "fieldMetadata",
58018
+ "type": {
58019
+ "text": "MetadataDetail[] | string[]"
58020
+ }
58021
+ }
58022
+ ],
58023
+ "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
58024
+ }
58025
+ ],
58026
+ "exports": [
58027
+ {
58028
+ "kind": "js",
58029
+ "name": "validateClauses",
58030
+ "declaration": {
58031
+ "name": "validateClauses",
58032
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
58033
+ }
58034
+ },
58035
+ {
58036
+ "kind": "js",
58037
+ "name": "validateGroups",
58038
+ "declaration": {
58039
+ "name": "validateGroups",
58040
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
58041
+ }
58042
+ }
58043
+ ]
58044
+ },
57971
58045
  {
57972
58046
  "kind": "javascript-module",
57973
58047
  "path": "src/environment-indicator/utils/configure.ts",