@genesislcap/foundation-ui 15.3.2-FUI-2591.1 → 15.3.2-canary.16
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 +566 -566
- package/dist/dts/react.d.ts +9 -9
- package/dist/react.cjs +6 -6
- package/dist/react.mjs +5 -5
- package/package.json +19 -19
|
@@ -2364,203 +2364,115 @@
|
|
|
2364
2364
|
},
|
|
2365
2365
|
{
|
|
2366
2366
|
"kind": "javascript-module",
|
|
2367
|
-
"path": "src/
|
|
2367
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
2368
2368
|
"declarations": [
|
|
2369
2369
|
{
|
|
2370
|
-
"kind": "
|
|
2371
|
-
"name": "
|
|
2372
|
-
"
|
|
2373
|
-
"type": {
|
|
2374
|
-
"text": "ElementStyles"
|
|
2375
|
-
}
|
|
2376
|
-
},
|
|
2377
|
-
"parameters": [
|
|
2378
|
-
{
|
|
2379
|
-
"name": "context",
|
|
2380
|
-
"type": {
|
|
2381
|
-
"text": "ElementDefinitionContext"
|
|
2382
|
-
}
|
|
2383
|
-
},
|
|
2384
|
-
{
|
|
2385
|
-
"name": "definition",
|
|
2386
|
-
"type": {
|
|
2387
|
-
"text": "FoundationElementDefinition"
|
|
2388
|
-
}
|
|
2389
|
-
}
|
|
2390
|
-
]
|
|
2391
|
-
},
|
|
2392
|
-
{
|
|
2393
|
-
"kind": "function",
|
|
2394
|
-
"name": "foundationActionsMenuStyles",
|
|
2395
|
-
"return": {
|
|
2396
|
-
"type": {
|
|
2397
|
-
"text": "ElementStyles"
|
|
2398
|
-
}
|
|
2399
|
-
},
|
|
2400
|
-
"parameters": [
|
|
2401
|
-
{
|
|
2402
|
-
"name": "context",
|
|
2403
|
-
"type": {
|
|
2404
|
-
"text": "ElementDefinitionContext"
|
|
2405
|
-
}
|
|
2406
|
-
},
|
|
2407
|
-
{
|
|
2408
|
-
"name": "definition",
|
|
2409
|
-
"type": {
|
|
2410
|
-
"text": "FoundationElementDefinition"
|
|
2411
|
-
}
|
|
2412
|
-
}
|
|
2413
|
-
]
|
|
2370
|
+
"kind": "variable",
|
|
2371
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2372
|
+
"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`"
|
|
2414
2373
|
}
|
|
2415
2374
|
],
|
|
2416
2375
|
"exports": [
|
|
2417
2376
|
{
|
|
2418
2377
|
"kind": "js",
|
|
2419
|
-
"name": "
|
|
2420
|
-
"declaration": {
|
|
2421
|
-
"name": "actionsMenuBaseStyles",
|
|
2422
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2423
|
-
}
|
|
2424
|
-
},
|
|
2425
|
-
{
|
|
2426
|
-
"kind": "js",
|
|
2427
|
-
"name": "foundationActionsMenuStyles",
|
|
2378
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2428
2379
|
"declaration": {
|
|
2429
|
-
"name": "
|
|
2430
|
-
"module": "src/
|
|
2380
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2381
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
2431
2382
|
}
|
|
2432
2383
|
}
|
|
2433
2384
|
]
|
|
2434
2385
|
},
|
|
2435
2386
|
{
|
|
2436
2387
|
"kind": "javascript-module",
|
|
2437
|
-
"path": "src/
|
|
2388
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
2438
2389
|
"declarations": [
|
|
2439
|
-
{
|
|
2440
|
-
"kind": "function",
|
|
2441
|
-
"name": "menuTemplate",
|
|
2442
|
-
"parameters": [
|
|
2443
|
-
{
|
|
2444
|
-
"name": "prefix",
|
|
2445
|
-
"type": {
|
|
2446
|
-
"text": "string"
|
|
2447
|
-
}
|
|
2448
|
-
}
|
|
2449
|
-
]
|
|
2450
|
-
},
|
|
2451
|
-
{
|
|
2452
|
-
"kind": "function",
|
|
2453
|
-
"name": "singleOptionTemplate",
|
|
2454
|
-
"parameters": [
|
|
2455
|
-
{
|
|
2456
|
-
"name": "prefix",
|
|
2457
|
-
"type": {
|
|
2458
|
-
"text": "string"
|
|
2459
|
-
}
|
|
2460
|
-
}
|
|
2461
|
-
]
|
|
2462
|
-
},
|
|
2463
2390
|
{
|
|
2464
2391
|
"kind": "variable",
|
|
2465
|
-
"name": "
|
|
2392
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2466
2393
|
"type": {
|
|
2467
|
-
"text": "ViewTemplate<
|
|
2394
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
2468
2395
|
},
|
|
2469
|
-
"default": "html`\n
|
|
2396
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
2470
2397
|
}
|
|
2471
2398
|
],
|
|
2472
2399
|
"exports": [
|
|
2473
2400
|
{
|
|
2474
2401
|
"kind": "js",
|
|
2475
|
-
"name": "
|
|
2476
|
-
"declaration": {
|
|
2477
|
-
"name": "menuTemplate",
|
|
2478
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2479
|
-
}
|
|
2480
|
-
},
|
|
2481
|
-
{
|
|
2482
|
-
"kind": "js",
|
|
2483
|
-
"name": "singleOptionTemplate",
|
|
2484
|
-
"declaration": {
|
|
2485
|
-
"name": "singleOptionTemplate",
|
|
2486
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2487
|
-
}
|
|
2488
|
-
},
|
|
2489
|
-
{
|
|
2490
|
-
"kind": "js",
|
|
2491
|
-
"name": "foundationActionsMenuTemplate",
|
|
2402
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2492
2403
|
"declaration": {
|
|
2493
|
-
"name": "
|
|
2494
|
-
"module": "src/
|
|
2404
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2405
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
2495
2406
|
}
|
|
2496
2407
|
}
|
|
2497
2408
|
]
|
|
2498
2409
|
},
|
|
2499
2410
|
{
|
|
2500
2411
|
"kind": "javascript-module",
|
|
2501
|
-
"path": "src/
|
|
2412
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
2502
2413
|
"declarations": [
|
|
2503
2414
|
{
|
|
2504
2415
|
"kind": "class",
|
|
2505
|
-
"description": "",
|
|
2506
|
-
"name": "
|
|
2416
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2417
|
+
"name": "AiCriteriaSearch",
|
|
2507
2418
|
"members": [
|
|
2508
2419
|
{
|
|
2509
2420
|
"kind": "field",
|
|
2510
|
-
"name": "
|
|
2421
|
+
"name": "providerRegistry",
|
|
2511
2422
|
"type": {
|
|
2512
|
-
"text": "
|
|
2423
|
+
"text": "AIProviderRegistry"
|
|
2513
2424
|
}
|
|
2514
2425
|
},
|
|
2515
2426
|
{
|
|
2516
2427
|
"kind": "field",
|
|
2517
|
-
"name": "
|
|
2428
|
+
"name": "placeholder",
|
|
2518
2429
|
"type": {
|
|
2519
|
-
"text": "
|
|
2430
|
+
"text": "string"
|
|
2520
2431
|
},
|
|
2521
|
-
"default": "
|
|
2432
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
2522
2433
|
},
|
|
2523
2434
|
{
|
|
2524
2435
|
"kind": "field",
|
|
2525
|
-
"name": "
|
|
2436
|
+
"name": "disabled",
|
|
2526
2437
|
"type": {
|
|
2527
2438
|
"text": "boolean"
|
|
2528
|
-
}
|
|
2529
|
-
"default": "true"
|
|
2439
|
+
}
|
|
2530
2440
|
},
|
|
2531
2441
|
{
|
|
2532
2442
|
"kind": "field",
|
|
2533
|
-
"name": "
|
|
2443
|
+
"name": "inputValue",
|
|
2534
2444
|
"type": {
|
|
2535
|
-
"text": "
|
|
2445
|
+
"text": "string"
|
|
2536
2446
|
},
|
|
2537
|
-
"default": "
|
|
2447
|
+
"default": "''"
|
|
2538
2448
|
},
|
|
2539
2449
|
{
|
|
2540
2450
|
"kind": "field",
|
|
2541
|
-
"name": "
|
|
2451
|
+
"name": "isInterpreting",
|
|
2542
2452
|
"type": {
|
|
2543
|
-
"text": "
|
|
2544
|
-
}
|
|
2453
|
+
"text": "boolean"
|
|
2454
|
+
},
|
|
2455
|
+
"default": "false"
|
|
2545
2456
|
},
|
|
2546
2457
|
{
|
|
2547
2458
|
"kind": "field",
|
|
2548
|
-
"name": "
|
|
2459
|
+
"name": "lastValidCriteria",
|
|
2549
2460
|
"type": {
|
|
2550
|
-
"text": "
|
|
2551
|
-
}
|
|
2461
|
+
"text": "string | null"
|
|
2462
|
+
},
|
|
2463
|
+
"default": "null"
|
|
2552
2464
|
},
|
|
2553
2465
|
{
|
|
2554
2466
|
"kind": "field",
|
|
2555
|
-
"name": "
|
|
2467
|
+
"name": "activeGroups",
|
|
2556
2468
|
"type": {
|
|
2557
|
-
"text": "
|
|
2469
|
+
"text": "CriteriaGroup[]"
|
|
2558
2470
|
},
|
|
2559
|
-
"default": "
|
|
2471
|
+
"default": "[]"
|
|
2560
2472
|
},
|
|
2561
2473
|
{
|
|
2562
2474
|
"kind": "field",
|
|
2563
|
-
"name": "
|
|
2475
|
+
"name": "showingChips",
|
|
2564
2476
|
"type": {
|
|
2565
2477
|
"text": "boolean"
|
|
2566
2478
|
},
|
|
@@ -2568,14 +2480,15 @@
|
|
|
2568
2480
|
},
|
|
2569
2481
|
{
|
|
2570
2482
|
"kind": "field",
|
|
2571
|
-
"name": "
|
|
2483
|
+
"name": "fieldMetadata",
|
|
2572
2484
|
"type": {
|
|
2573
|
-
"text": "string"
|
|
2574
|
-
}
|
|
2485
|
+
"text": "MetadataDetail[] | string[]"
|
|
2486
|
+
},
|
|
2487
|
+
"default": "[]"
|
|
2575
2488
|
},
|
|
2576
2489
|
{
|
|
2577
2490
|
"kind": "field",
|
|
2578
|
-
"name": "
|
|
2491
|
+
"name": "isRecording",
|
|
2579
2492
|
"type": {
|
|
2580
2493
|
"text": "boolean"
|
|
2581
2494
|
},
|
|
@@ -2583,114 +2496,125 @@
|
|
|
2583
2496
|
},
|
|
2584
2497
|
{
|
|
2585
2498
|
"kind": "field",
|
|
2586
|
-
"name": "
|
|
2499
|
+
"name": "textAreaRef",
|
|
2587
2500
|
"type": {
|
|
2588
|
-
"text": "
|
|
2501
|
+
"text": "HTMLTextAreaElement"
|
|
2589
2502
|
},
|
|
2590
|
-
"
|
|
2503
|
+
"privacy": "public"
|
|
2591
2504
|
},
|
|
2592
2505
|
{
|
|
2593
2506
|
"kind": "field",
|
|
2594
|
-
"name": "
|
|
2507
|
+
"name": "stopRecording",
|
|
2595
2508
|
"type": {
|
|
2596
|
-
"text": "
|
|
2597
|
-
}
|
|
2509
|
+
"text": "(() => void) | null"
|
|
2510
|
+
},
|
|
2511
|
+
"privacy": "private",
|
|
2512
|
+
"default": "null"
|
|
2598
2513
|
},
|
|
2599
2514
|
{
|
|
2600
2515
|
"kind": "field",
|
|
2601
|
-
"name": "
|
|
2516
|
+
"name": "speechApplyDebounceTimer",
|
|
2602
2517
|
"type": {
|
|
2603
|
-
"text": "
|
|
2604
|
-
}
|
|
2518
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
2519
|
+
},
|
|
2520
|
+
"privacy": "private",
|
|
2521
|
+
"default": "null"
|
|
2605
2522
|
},
|
|
2606
2523
|
{
|
|
2607
2524
|
"kind": "field",
|
|
2608
|
-
"name": "
|
|
2525
|
+
"name": "speechAvailable",
|
|
2609
2526
|
"type": {
|
|
2610
|
-
"text": "
|
|
2611
|
-
}
|
|
2527
|
+
"text": "boolean"
|
|
2528
|
+
},
|
|
2529
|
+
"readonly": true
|
|
2612
2530
|
},
|
|
2613
2531
|
{
|
|
2614
|
-
"kind": "
|
|
2615
|
-
"name": "
|
|
2616
|
-
"
|
|
2532
|
+
"kind": "field",
|
|
2533
|
+
"name": "criteriaChips",
|
|
2534
|
+
"type": {
|
|
2535
|
+
"text": "CriteriaChip[]"
|
|
2536
|
+
},
|
|
2537
|
+
"readonly": true
|
|
2617
2538
|
},
|
|
2618
2539
|
{
|
|
2619
2540
|
"kind": "method",
|
|
2620
|
-
"name": "
|
|
2621
|
-
"privacy": "
|
|
2541
|
+
"name": "getFieldLabel",
|
|
2542
|
+
"privacy": "private",
|
|
2543
|
+
"return": {
|
|
2544
|
+
"type": {
|
|
2545
|
+
"text": "string"
|
|
2546
|
+
}
|
|
2547
|
+
},
|
|
2622
2548
|
"parameters": [
|
|
2623
2549
|
{
|
|
2624
|
-
"name": "
|
|
2625
|
-
"type": {
|
|
2626
|
-
"text": "any"
|
|
2627
|
-
}
|
|
2628
|
-
},
|
|
2629
|
-
{
|
|
2630
|
-
"name": "newValue",
|
|
2550
|
+
"name": "fieldName",
|
|
2631
2551
|
"type": {
|
|
2632
|
-
"text": "
|
|
2552
|
+
"text": "string"
|
|
2633
2553
|
}
|
|
2634
2554
|
}
|
|
2635
2555
|
]
|
|
2636
2556
|
},
|
|
2637
2557
|
{
|
|
2638
2558
|
"kind": "method",
|
|
2639
|
-
"name": "
|
|
2640
|
-
"
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2559
|
+
"name": "toggleCriteriaView",
|
|
2560
|
+
"return": {
|
|
2561
|
+
"type": {
|
|
2562
|
+
"text": "void"
|
|
2563
|
+
}
|
|
2564
|
+
}
|
|
2645
2565
|
},
|
|
2646
2566
|
{
|
|
2647
2567
|
"kind": "method",
|
|
2648
|
-
"name": "
|
|
2568
|
+
"name": "removeChip",
|
|
2569
|
+
"return": {
|
|
2570
|
+
"type": {
|
|
2571
|
+
"text": "void"
|
|
2572
|
+
}
|
|
2573
|
+
},
|
|
2649
2574
|
"parameters": [
|
|
2650
2575
|
{
|
|
2651
|
-
"name": "
|
|
2576
|
+
"name": "groupIndex",
|
|
2652
2577
|
"type": {
|
|
2653
|
-
"text": "
|
|
2578
|
+
"text": "number"
|
|
2654
2579
|
}
|
|
2655
|
-
}
|
|
2580
|
+
},
|
|
2581
|
+
{
|
|
2582
|
+
"name": "clauseIndex",
|
|
2583
|
+
"type": {
|
|
2584
|
+
"text": "number"
|
|
2585
|
+
}
|
|
2586
|
+
}
|
|
2656
2587
|
]
|
|
2657
2588
|
},
|
|
2658
2589
|
{
|
|
2659
|
-
"kind": "
|
|
2660
|
-
"name": "
|
|
2661
|
-
"
|
|
2662
|
-
"
|
|
2663
|
-
|
|
2664
|
-
|
|
2590
|
+
"kind": "method",
|
|
2591
|
+
"name": "clearChips",
|
|
2592
|
+
"return": {
|
|
2593
|
+
"type": {
|
|
2594
|
+
"text": "void"
|
|
2595
|
+
}
|
|
2596
|
+
}
|
|
2665
2597
|
},
|
|
2666
2598
|
{
|
|
2667
|
-
"kind": "
|
|
2668
|
-
"name": "
|
|
2669
|
-
"readonly": true
|
|
2599
|
+
"kind": "method",
|
|
2600
|
+
"name": "handleSubmit"
|
|
2670
2601
|
},
|
|
2671
2602
|
{
|
|
2672
2603
|
"kind": "method",
|
|
2673
|
-
"name": "
|
|
2674
|
-
"parameters": [
|
|
2675
|
-
{
|
|
2676
|
-
"name": "name",
|
|
2677
|
-
"type": {
|
|
2678
|
-
"text": "string | ((rowData: any) => string)"
|
|
2679
|
-
}
|
|
2680
|
-
}
|
|
2681
|
-
]
|
|
2604
|
+
"name": "handleBlur"
|
|
2682
2605
|
},
|
|
2683
2606
|
{
|
|
2684
2607
|
"kind": "method",
|
|
2685
|
-
"name": "
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2608
|
+
"name": "clear"
|
|
2609
|
+
},
|
|
2610
|
+
{
|
|
2611
|
+
"kind": "method",
|
|
2612
|
+
"name": "toggleSpeechInput"
|
|
2613
|
+
},
|
|
2614
|
+
{
|
|
2615
|
+
"kind": "method",
|
|
2616
|
+
"name": "clearSpeechApplyDebounce",
|
|
2617
|
+
"privacy": "private"
|
|
2694
2618
|
},
|
|
2695
2619
|
{
|
|
2696
2620
|
"kind": "field",
|
|
@@ -2804,115 +2728,154 @@
|
|
|
2804
2728
|
}
|
|
2805
2729
|
}
|
|
2806
2730
|
],
|
|
2807
|
-
"
|
|
2808
|
-
{
|
|
2809
|
-
"name": "is-vertical",
|
|
2810
|
-
"type": {
|
|
2811
|
-
"text": "boolean"
|
|
2812
|
-
},
|
|
2813
|
-
"default": "false",
|
|
2814
|
-
"fieldName": "isVertical"
|
|
2815
|
-
},
|
|
2816
|
-
{
|
|
2817
|
-
"name": "add-default-actions",
|
|
2818
|
-
"type": {
|
|
2819
|
-
"text": "boolean"
|
|
2820
|
-
},
|
|
2821
|
-
"default": "true",
|
|
2822
|
-
"fieldName": "addDefaultActions"
|
|
2823
|
-
},
|
|
2824
|
-
{
|
|
2825
|
-
"name": "auto-close-on-action",
|
|
2826
|
-
"type": {
|
|
2827
|
-
"text": "boolean"
|
|
2828
|
-
},
|
|
2829
|
-
"default": "true",
|
|
2830
|
-
"fieldName": "autoCloseOnAction"
|
|
2831
|
-
},
|
|
2731
|
+
"events": [
|
|
2832
2732
|
{
|
|
2833
|
-
"
|
|
2834
|
-
"
|
|
2835
|
-
"text": "string"
|
|
2836
|
-
},
|
|
2837
|
-
"default": "'Actions'",
|
|
2838
|
-
"fieldName": "name"
|
|
2733
|
+
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
2734
|
+
"name": "criteria-changed"
|
|
2839
2735
|
},
|
|
2840
2736
|
{
|
|
2841
|
-
"
|
|
2842
|
-
"
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
"fieldName": "open"
|
|
2847
|
-
},
|
|
2737
|
+
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
2738
|
+
"name": "validation-errors"
|
|
2739
|
+
}
|
|
2740
|
+
],
|
|
2741
|
+
"attributes": [
|
|
2848
2742
|
{
|
|
2849
|
-
"name": "
|
|
2743
|
+
"name": "placeholder",
|
|
2850
2744
|
"type": {
|
|
2851
2745
|
"text": "string"
|
|
2852
2746
|
},
|
|
2853
|
-
"
|
|
2854
|
-
|
|
2855
|
-
{
|
|
2856
|
-
"name": "hide-disabled",
|
|
2857
|
-
"type": {
|
|
2858
|
-
"text": "boolean"
|
|
2859
|
-
},
|
|
2860
|
-
"default": "false",
|
|
2861
|
-
"fieldName": "hideDisabled"
|
|
2747
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
2748
|
+
"fieldName": "placeholder"
|
|
2862
2749
|
},
|
|
2863
2750
|
{
|
|
2864
|
-
"name": "hide-menu-single-option",
|
|
2865
2751
|
"type": {
|
|
2866
2752
|
"text": "boolean"
|
|
2867
2753
|
},
|
|
2868
|
-
"
|
|
2869
|
-
"fieldName": "hideMenuSingleOption"
|
|
2754
|
+
"fieldName": "disabled"
|
|
2870
2755
|
}
|
|
2871
2756
|
],
|
|
2872
2757
|
"superclass": {
|
|
2873
2758
|
"name": "FoundationElement",
|
|
2874
2759
|
"package": "@microsoft/fast-foundation"
|
|
2875
2760
|
},
|
|
2876
|
-
"tagName": "%%prefix%%-
|
|
2761
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
2877
2762
|
"customElement": true
|
|
2878
2763
|
},
|
|
2879
2764
|
{
|
|
2880
2765
|
"kind": "variable",
|
|
2881
|
-
"name": "
|
|
2882
|
-
"
|
|
2883
|
-
|
|
2766
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2767
|
+
"type": {
|
|
2768
|
+
"text": "ShadowRootInit"
|
|
2769
|
+
},
|
|
2770
|
+
"default": "undefined"
|
|
2771
|
+
},
|
|
2772
|
+
{
|
|
2773
|
+
"kind": "variable",
|
|
2774
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2775
|
+
"type": {
|
|
2776
|
+
"text": "object"
|
|
2777
|
+
},
|
|
2778
|
+
"default": "{}"
|
|
2779
|
+
},
|
|
2780
|
+
{
|
|
2781
|
+
"kind": "variable",
|
|
2782
|
+
"name": "foundationAiCriteriaSearch"
|
|
2884
2783
|
}
|
|
2885
2784
|
],
|
|
2886
2785
|
"exports": [
|
|
2887
2786
|
{
|
|
2888
2787
|
"kind": "js",
|
|
2889
|
-
"name": "
|
|
2788
|
+
"name": "AiCriteriaSearch",
|
|
2890
2789
|
"declaration": {
|
|
2891
|
-
"name": "
|
|
2892
|
-
"module": "src/
|
|
2790
|
+
"name": "AiCriteriaSearch",
|
|
2791
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2893
2792
|
}
|
|
2894
2793
|
},
|
|
2895
2794
|
{
|
|
2896
2795
|
"kind": "js",
|
|
2897
|
-
"name": "
|
|
2796
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2898
2797
|
"declaration": {
|
|
2899
|
-
"name": "
|
|
2900
|
-
"module": "src/
|
|
2798
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2799
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2800
|
+
}
|
|
2801
|
+
},
|
|
2802
|
+
{
|
|
2803
|
+
"kind": "js",
|
|
2804
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2805
|
+
"declaration": {
|
|
2806
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2807
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2808
|
+
}
|
|
2809
|
+
},
|
|
2810
|
+
{
|
|
2811
|
+
"kind": "js",
|
|
2812
|
+
"name": "foundationAiCriteriaSearch",
|
|
2813
|
+
"declaration": {
|
|
2814
|
+
"name": "foundationAiCriteriaSearch",
|
|
2815
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2901
2816
|
}
|
|
2902
2817
|
}
|
|
2903
2818
|
]
|
|
2904
2819
|
},
|
|
2905
2820
|
{
|
|
2906
2821
|
"kind": "javascript-module",
|
|
2907
|
-
"path": "src/
|
|
2822
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
2908
2823
|
"declarations": [],
|
|
2909
2824
|
"exports": [
|
|
2825
|
+
{
|
|
2826
|
+
"kind": "js",
|
|
2827
|
+
"name": "AiCriteriaSearch",
|
|
2828
|
+
"declaration": {
|
|
2829
|
+
"name": "AiCriteriaSearch",
|
|
2830
|
+
"module": "./ai-criteria-search"
|
|
2831
|
+
}
|
|
2832
|
+
},
|
|
2833
|
+
{
|
|
2834
|
+
"kind": "js",
|
|
2835
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2836
|
+
"declaration": {
|
|
2837
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2838
|
+
"module": "./ai-criteria-search"
|
|
2839
|
+
}
|
|
2840
|
+
},
|
|
2841
|
+
{
|
|
2842
|
+
"kind": "js",
|
|
2843
|
+
"name": "foundationAiCriteriaSearch",
|
|
2844
|
+
"declaration": {
|
|
2845
|
+
"name": "foundationAiCriteriaSearch",
|
|
2846
|
+
"module": "./ai-criteria-search"
|
|
2847
|
+
}
|
|
2848
|
+
},
|
|
2849
|
+
{
|
|
2850
|
+
"kind": "js",
|
|
2851
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2852
|
+
"declaration": {
|
|
2853
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2854
|
+
"module": "./ai-criteria-search"
|
|
2855
|
+
}
|
|
2856
|
+
},
|
|
2857
|
+
{
|
|
2858
|
+
"kind": "js",
|
|
2859
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2860
|
+
"declaration": {
|
|
2861
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2862
|
+
"module": "./ai-criteria-search.styles"
|
|
2863
|
+
}
|
|
2864
|
+
},
|
|
2865
|
+
{
|
|
2866
|
+
"kind": "js",
|
|
2867
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2868
|
+
"declaration": {
|
|
2869
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2870
|
+
"module": "./ai-criteria-search.template"
|
|
2871
|
+
}
|
|
2872
|
+
},
|
|
2910
2873
|
{
|
|
2911
2874
|
"kind": "js",
|
|
2912
2875
|
"name": "*",
|
|
2913
2876
|
"declaration": {
|
|
2914
2877
|
"name": "*",
|
|
2915
|
-
"package": "./
|
|
2878
|
+
"package": "./validation/criteria-ir"
|
|
2916
2879
|
}
|
|
2917
2880
|
},
|
|
2918
2881
|
{
|
|
@@ -2920,130 +2883,293 @@
|
|
|
2920
2883
|
"name": "*",
|
|
2921
2884
|
"declaration": {
|
|
2922
2885
|
"name": "*",
|
|
2923
|
-
"package": "./
|
|
2886
|
+
"package": "./validation/operator-map"
|
|
2887
|
+
}
|
|
2888
|
+
},
|
|
2889
|
+
{
|
|
2890
|
+
"kind": "js",
|
|
2891
|
+
"name": "*",
|
|
2892
|
+
"declaration": {
|
|
2893
|
+
"name": "*",
|
|
2894
|
+
"package": "./validation/schema-validator"
|
|
2895
|
+
}
|
|
2896
|
+
}
|
|
2897
|
+
]
|
|
2898
|
+
},
|
|
2899
|
+
{
|
|
2900
|
+
"kind": "javascript-module",
|
|
2901
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
2902
|
+
"declarations": [
|
|
2903
|
+
{
|
|
2904
|
+
"kind": "function",
|
|
2905
|
+
"name": "formatValidationErrors",
|
|
2906
|
+
"return": {
|
|
2907
|
+
"type": {
|
|
2908
|
+
"text": "string"
|
|
2909
|
+
}
|
|
2910
|
+
},
|
|
2911
|
+
"parameters": [
|
|
2912
|
+
{
|
|
2913
|
+
"name": "errors",
|
|
2914
|
+
"type": {
|
|
2915
|
+
"text": "ValidationError[]"
|
|
2916
|
+
}
|
|
2917
|
+
}
|
|
2918
|
+
],
|
|
2919
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
2920
|
+
},
|
|
2921
|
+
{
|
|
2922
|
+
"kind": "function",
|
|
2923
|
+
"name": "showCriteriaError",
|
|
2924
|
+
"return": {
|
|
2925
|
+
"type": {
|
|
2926
|
+
"text": "void"
|
|
2927
|
+
}
|
|
2928
|
+
},
|
|
2929
|
+
"parameters": [
|
|
2930
|
+
{
|
|
2931
|
+
"name": "title",
|
|
2932
|
+
"type": {
|
|
2933
|
+
"text": "string"
|
|
2934
|
+
},
|
|
2935
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
2936
|
+
},
|
|
2937
|
+
{
|
|
2938
|
+
"name": "body",
|
|
2939
|
+
"type": {
|
|
2940
|
+
"text": "string"
|
|
2941
|
+
},
|
|
2942
|
+
"description": "Error message to display"
|
|
2943
|
+
},
|
|
2944
|
+
{
|
|
2945
|
+
"name": "tagName",
|
|
2946
|
+
"type": {
|
|
2947
|
+
"text": "string"
|
|
2948
|
+
},
|
|
2949
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
2950
|
+
}
|
|
2951
|
+
],
|
|
2952
|
+
"description": "Shows a criteria error as a toast notification."
|
|
2953
|
+
}
|
|
2954
|
+
],
|
|
2955
|
+
"exports": [
|
|
2956
|
+
{
|
|
2957
|
+
"kind": "js",
|
|
2958
|
+
"name": "formatValidationErrors",
|
|
2959
|
+
"declaration": {
|
|
2960
|
+
"name": "formatValidationErrors",
|
|
2961
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2962
|
+
}
|
|
2963
|
+
},
|
|
2964
|
+
{
|
|
2965
|
+
"kind": "js",
|
|
2966
|
+
"name": "showCriteriaError",
|
|
2967
|
+
"declaration": {
|
|
2968
|
+
"name": "showCriteriaError",
|
|
2969
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2970
|
+
}
|
|
2971
|
+
}
|
|
2972
|
+
]
|
|
2973
|
+
},
|
|
2974
|
+
{
|
|
2975
|
+
"kind": "javascript-module",
|
|
2976
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
2977
|
+
"declarations": [
|
|
2978
|
+
{
|
|
2979
|
+
"kind": "function",
|
|
2980
|
+
"name": "actionsMenuBaseStyles",
|
|
2981
|
+
"return": {
|
|
2982
|
+
"type": {
|
|
2983
|
+
"text": "ElementStyles"
|
|
2984
|
+
}
|
|
2985
|
+
},
|
|
2986
|
+
"parameters": [
|
|
2987
|
+
{
|
|
2988
|
+
"name": "context",
|
|
2989
|
+
"type": {
|
|
2990
|
+
"text": "ElementDefinitionContext"
|
|
2991
|
+
}
|
|
2992
|
+
},
|
|
2993
|
+
{
|
|
2994
|
+
"name": "definition",
|
|
2995
|
+
"type": {
|
|
2996
|
+
"text": "FoundationElementDefinition"
|
|
2997
|
+
}
|
|
2998
|
+
}
|
|
2999
|
+
]
|
|
3000
|
+
},
|
|
3001
|
+
{
|
|
3002
|
+
"kind": "function",
|
|
3003
|
+
"name": "foundationActionsMenuStyles",
|
|
3004
|
+
"return": {
|
|
3005
|
+
"type": {
|
|
3006
|
+
"text": "ElementStyles"
|
|
3007
|
+
}
|
|
3008
|
+
},
|
|
3009
|
+
"parameters": [
|
|
3010
|
+
{
|
|
3011
|
+
"name": "context",
|
|
3012
|
+
"type": {
|
|
3013
|
+
"text": "ElementDefinitionContext"
|
|
3014
|
+
}
|
|
3015
|
+
},
|
|
3016
|
+
{
|
|
3017
|
+
"name": "definition",
|
|
3018
|
+
"type": {
|
|
3019
|
+
"text": "FoundationElementDefinition"
|
|
3020
|
+
}
|
|
3021
|
+
}
|
|
3022
|
+
]
|
|
3023
|
+
}
|
|
3024
|
+
],
|
|
3025
|
+
"exports": [
|
|
3026
|
+
{
|
|
3027
|
+
"kind": "js",
|
|
3028
|
+
"name": "actionsMenuBaseStyles",
|
|
3029
|
+
"declaration": {
|
|
3030
|
+
"name": "actionsMenuBaseStyles",
|
|
3031
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2924
3032
|
}
|
|
2925
3033
|
},
|
|
2926
3034
|
{
|
|
2927
3035
|
"kind": "js",
|
|
2928
|
-
"name": "
|
|
3036
|
+
"name": "foundationActionsMenuStyles",
|
|
2929
3037
|
"declaration": {
|
|
2930
|
-
"name": "
|
|
2931
|
-
"
|
|
3038
|
+
"name": "foundationActionsMenuStyles",
|
|
3039
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2932
3040
|
}
|
|
2933
3041
|
}
|
|
2934
3042
|
]
|
|
2935
3043
|
},
|
|
2936
3044
|
{
|
|
2937
3045
|
"kind": "javascript-module",
|
|
2938
|
-
"path": "src/
|
|
3046
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
2939
3047
|
"declarations": [
|
|
3048
|
+
{
|
|
3049
|
+
"kind": "function",
|
|
3050
|
+
"name": "menuTemplate",
|
|
3051
|
+
"parameters": [
|
|
3052
|
+
{
|
|
3053
|
+
"name": "prefix",
|
|
3054
|
+
"type": {
|
|
3055
|
+
"text": "string"
|
|
3056
|
+
}
|
|
3057
|
+
}
|
|
3058
|
+
]
|
|
3059
|
+
},
|
|
3060
|
+
{
|
|
3061
|
+
"kind": "function",
|
|
3062
|
+
"name": "singleOptionTemplate",
|
|
3063
|
+
"parameters": [
|
|
3064
|
+
{
|
|
3065
|
+
"name": "prefix",
|
|
3066
|
+
"type": {
|
|
3067
|
+
"text": "string"
|
|
3068
|
+
}
|
|
3069
|
+
}
|
|
3070
|
+
]
|
|
3071
|
+
},
|
|
2940
3072
|
{
|
|
2941
3073
|
"kind": "variable",
|
|
2942
|
-
"name": "
|
|
2943
|
-
"
|
|
3074
|
+
"name": "foundationActionsMenuTemplate",
|
|
3075
|
+
"type": {
|
|
3076
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
3077
|
+
},
|
|
3078
|
+
"default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
|
|
2944
3079
|
}
|
|
2945
3080
|
],
|
|
2946
3081
|
"exports": [
|
|
2947
3082
|
{
|
|
2948
3083
|
"kind": "js",
|
|
2949
|
-
"name": "
|
|
3084
|
+
"name": "menuTemplate",
|
|
2950
3085
|
"declaration": {
|
|
2951
|
-
"name": "
|
|
2952
|
-
"module": "src/
|
|
3086
|
+
"name": "menuTemplate",
|
|
3087
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2953
3088
|
}
|
|
2954
|
-
}
|
|
2955
|
-
]
|
|
2956
|
-
},
|
|
2957
|
-
{
|
|
2958
|
-
"kind": "javascript-module",
|
|
2959
|
-
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
2960
|
-
"declarations": [
|
|
3089
|
+
},
|
|
2961
3090
|
{
|
|
2962
|
-
"kind": "
|
|
2963
|
-
"name": "
|
|
2964
|
-
"
|
|
2965
|
-
"
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
}
|
|
2969
|
-
],
|
|
2970
|
-
"exports": [
|
|
3091
|
+
"kind": "js",
|
|
3092
|
+
"name": "singleOptionTemplate",
|
|
3093
|
+
"declaration": {
|
|
3094
|
+
"name": "singleOptionTemplate",
|
|
3095
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
3096
|
+
}
|
|
3097
|
+
},
|
|
2971
3098
|
{
|
|
2972
3099
|
"kind": "js",
|
|
2973
|
-
"name": "
|
|
3100
|
+
"name": "foundationActionsMenuTemplate",
|
|
2974
3101
|
"declaration": {
|
|
2975
|
-
"name": "
|
|
2976
|
-
"module": "src/
|
|
3102
|
+
"name": "foundationActionsMenuTemplate",
|
|
3103
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2977
3104
|
}
|
|
2978
3105
|
}
|
|
2979
3106
|
]
|
|
2980
3107
|
},
|
|
2981
3108
|
{
|
|
2982
3109
|
"kind": "javascript-module",
|
|
2983
|
-
"path": "src/
|
|
3110
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
2984
3111
|
"declarations": [
|
|
2985
3112
|
{
|
|
2986
3113
|
"kind": "class",
|
|
2987
|
-
"description": "
|
|
2988
|
-
"name": "
|
|
3114
|
+
"description": "",
|
|
3115
|
+
"name": "ActionsMenu",
|
|
2989
3116
|
"members": [
|
|
2990
3117
|
{
|
|
2991
3118
|
"kind": "field",
|
|
2992
|
-
"name": "
|
|
3119
|
+
"name": "actions",
|
|
2993
3120
|
"type": {
|
|
2994
|
-
"text": "
|
|
3121
|
+
"text": "ActionMenuItem[]"
|
|
2995
3122
|
}
|
|
2996
3123
|
},
|
|
2997
3124
|
{
|
|
2998
3125
|
"kind": "field",
|
|
2999
|
-
"name": "
|
|
3126
|
+
"name": "isVertical",
|
|
3000
3127
|
"type": {
|
|
3001
|
-
"text": "
|
|
3128
|
+
"text": "boolean"
|
|
3002
3129
|
},
|
|
3003
|
-
"default": "
|
|
3130
|
+
"default": "false"
|
|
3004
3131
|
},
|
|
3005
3132
|
{
|
|
3006
3133
|
"kind": "field",
|
|
3007
|
-
"name": "
|
|
3134
|
+
"name": "addDefaultActions",
|
|
3008
3135
|
"type": {
|
|
3009
3136
|
"text": "boolean"
|
|
3010
|
-
}
|
|
3137
|
+
},
|
|
3138
|
+
"default": "true"
|
|
3011
3139
|
},
|
|
3012
3140
|
{
|
|
3013
3141
|
"kind": "field",
|
|
3014
|
-
"name": "
|
|
3142
|
+
"name": "autoCloseOnAction",
|
|
3015
3143
|
"type": {
|
|
3016
|
-
"text": "
|
|
3144
|
+
"text": "boolean"
|
|
3017
3145
|
},
|
|
3018
|
-
"default": "
|
|
3146
|
+
"default": "true"
|
|
3019
3147
|
},
|
|
3020
3148
|
{
|
|
3021
3149
|
"kind": "field",
|
|
3022
|
-
"name": "
|
|
3150
|
+
"name": "classNames",
|
|
3023
3151
|
"type": {
|
|
3024
|
-
"text": "
|
|
3025
|
-
}
|
|
3026
|
-
"default": "false"
|
|
3152
|
+
"text": "string"
|
|
3153
|
+
}
|
|
3027
3154
|
},
|
|
3028
3155
|
{
|
|
3029
3156
|
"kind": "field",
|
|
3030
|
-
"name": "
|
|
3157
|
+
"name": "definition",
|
|
3031
3158
|
"type": {
|
|
3032
|
-
"text": "
|
|
3033
|
-
}
|
|
3034
|
-
"default": "null"
|
|
3159
|
+
"text": "any"
|
|
3160
|
+
}
|
|
3035
3161
|
},
|
|
3036
3162
|
{
|
|
3037
3163
|
"kind": "field",
|
|
3038
|
-
"name": "
|
|
3164
|
+
"name": "name",
|
|
3039
3165
|
"type": {
|
|
3040
|
-
"text": "
|
|
3166
|
+
"text": "string"
|
|
3041
3167
|
},
|
|
3042
|
-
"default": "
|
|
3168
|
+
"default": "'Actions'"
|
|
3043
3169
|
},
|
|
3044
3170
|
{
|
|
3045
3171
|
"kind": "field",
|
|
3046
|
-
"name": "
|
|
3172
|
+
"name": "open",
|
|
3047
3173
|
"type": {
|
|
3048
3174
|
"text": "boolean"
|
|
3049
3175
|
},
|
|
@@ -3051,15 +3177,14 @@
|
|
|
3051
3177
|
},
|
|
3052
3178
|
{
|
|
3053
3179
|
"kind": "field",
|
|
3054
|
-
"name": "
|
|
3180
|
+
"name": "buttonAppearance",
|
|
3055
3181
|
"type": {
|
|
3056
|
-
"text": "
|
|
3057
|
-
}
|
|
3058
|
-
"default": "[]"
|
|
3182
|
+
"text": "string"
|
|
3183
|
+
}
|
|
3059
3184
|
},
|
|
3060
3185
|
{
|
|
3061
3186
|
"kind": "field",
|
|
3062
|
-
"name": "
|
|
3187
|
+
"name": "hideDisabled",
|
|
3063
3188
|
"type": {
|
|
3064
3189
|
"text": "boolean"
|
|
3065
3190
|
},
|
|
@@ -3067,125 +3192,114 @@
|
|
|
3067
3192
|
},
|
|
3068
3193
|
{
|
|
3069
3194
|
"kind": "field",
|
|
3070
|
-
"name": "
|
|
3071
|
-
"type": {
|
|
3072
|
-
"text": "HTMLTextAreaElement"
|
|
3073
|
-
},
|
|
3074
|
-
"privacy": "public"
|
|
3075
|
-
},
|
|
3076
|
-
{
|
|
3077
|
-
"kind": "field",
|
|
3078
|
-
"name": "stopRecording",
|
|
3195
|
+
"name": "hideMenuSingleOption",
|
|
3079
3196
|
"type": {
|
|
3080
|
-
"text": "
|
|
3197
|
+
"text": "boolean"
|
|
3081
3198
|
},
|
|
3082
|
-
"
|
|
3083
|
-
"default": "null"
|
|
3199
|
+
"default": "false"
|
|
3084
3200
|
},
|
|
3085
3201
|
{
|
|
3086
3202
|
"kind": "field",
|
|
3087
|
-
"name": "
|
|
3203
|
+
"name": "singleOption",
|
|
3088
3204
|
"type": {
|
|
3089
|
-
"text": "
|
|
3090
|
-
}
|
|
3091
|
-
"privacy": "private",
|
|
3092
|
-
"default": "null"
|
|
3205
|
+
"text": "ActionMenuItem"
|
|
3206
|
+
}
|
|
3093
3207
|
},
|
|
3094
3208
|
{
|
|
3095
3209
|
"kind": "field",
|
|
3096
|
-
"name": "
|
|
3210
|
+
"name": "actionsMenu",
|
|
3097
3211
|
"type": {
|
|
3098
|
-
"text": "
|
|
3099
|
-
}
|
|
3100
|
-
"readonly": true
|
|
3212
|
+
"text": "HTMLElement"
|
|
3213
|
+
}
|
|
3101
3214
|
},
|
|
3102
3215
|
{
|
|
3103
3216
|
"kind": "field",
|
|
3104
|
-
"name": "
|
|
3217
|
+
"name": "actionsOpener",
|
|
3105
3218
|
"type": {
|
|
3106
|
-
"text": "
|
|
3107
|
-
}
|
|
3108
|
-
"readonly": true
|
|
3109
|
-
},
|
|
3110
|
-
{
|
|
3111
|
-
"kind": "method",
|
|
3112
|
-
"name": "getFieldLabel",
|
|
3113
|
-
"privacy": "private",
|
|
3114
|
-
"return": {
|
|
3115
|
-
"type": {
|
|
3116
|
-
"text": "string"
|
|
3117
|
-
}
|
|
3118
|
-
},
|
|
3119
|
-
"parameters": [
|
|
3120
|
-
{
|
|
3121
|
-
"name": "fieldName",
|
|
3122
|
-
"type": {
|
|
3123
|
-
"text": "string"
|
|
3124
|
-
}
|
|
3125
|
-
}
|
|
3126
|
-
]
|
|
3219
|
+
"text": "HTMLElement"
|
|
3220
|
+
}
|
|
3127
3221
|
},
|
|
3128
3222
|
{
|
|
3129
3223
|
"kind": "method",
|
|
3130
|
-
"name": "
|
|
3131
|
-
"
|
|
3132
|
-
"type": {
|
|
3133
|
-
"text": "void"
|
|
3134
|
-
}
|
|
3135
|
-
}
|
|
3224
|
+
"name": "updateMenuPosition",
|
|
3225
|
+
"privacy": "private"
|
|
3136
3226
|
},
|
|
3137
3227
|
{
|
|
3138
3228
|
"kind": "method",
|
|
3139
|
-
"name": "
|
|
3140
|
-
"
|
|
3141
|
-
"type": {
|
|
3142
|
-
"text": "void"
|
|
3143
|
-
}
|
|
3144
|
-
},
|
|
3229
|
+
"name": "definitionChanged",
|
|
3230
|
+
"privacy": "protected",
|
|
3145
3231
|
"parameters": [
|
|
3146
3232
|
{
|
|
3147
|
-
"name": "
|
|
3233
|
+
"name": "oldValue",
|
|
3148
3234
|
"type": {
|
|
3149
|
-
"text": "
|
|
3235
|
+
"text": "any"
|
|
3150
3236
|
}
|
|
3151
3237
|
},
|
|
3152
3238
|
{
|
|
3153
|
-
"name": "
|
|
3239
|
+
"name": "newValue",
|
|
3154
3240
|
"type": {
|
|
3155
|
-
"text": "
|
|
3241
|
+
"text": "any"
|
|
3156
3242
|
}
|
|
3157
3243
|
}
|
|
3158
3244
|
]
|
|
3159
3245
|
},
|
|
3160
3246
|
{
|
|
3161
3247
|
"kind": "method",
|
|
3162
|
-
"name": "
|
|
3163
|
-
"
|
|
3164
|
-
"type": {
|
|
3165
|
-
"text": "void"
|
|
3166
|
-
}
|
|
3167
|
-
}
|
|
3248
|
+
"name": "openChanged",
|
|
3249
|
+
"privacy": "protected"
|
|
3168
3250
|
},
|
|
3169
3251
|
{
|
|
3170
3252
|
"kind": "method",
|
|
3171
|
-
"name": "
|
|
3253
|
+
"name": "toggleActionsMenuVisibility"
|
|
3172
3254
|
},
|
|
3173
3255
|
{
|
|
3174
3256
|
"kind": "method",
|
|
3175
|
-
"name": "
|
|
3257
|
+
"name": "onActionMenuItemClick",
|
|
3258
|
+
"parameters": [
|
|
3259
|
+
{
|
|
3260
|
+
"name": "callback",
|
|
3261
|
+
"type": {
|
|
3262
|
+
"text": "(rowData) => void | any"
|
|
3263
|
+
}
|
|
3264
|
+
}
|
|
3265
|
+
]
|
|
3176
3266
|
},
|
|
3177
3267
|
{
|
|
3178
|
-
"kind": "
|
|
3179
|
-
"name": "
|
|
3268
|
+
"kind": "field",
|
|
3269
|
+
"name": "allActions",
|
|
3270
|
+
"type": {
|
|
3271
|
+
"text": "ActionMenuItem[]"
|
|
3272
|
+
},
|
|
3273
|
+
"readonly": true
|
|
3274
|
+
},
|
|
3275
|
+
{
|
|
3276
|
+
"kind": "field",
|
|
3277
|
+
"name": "rowData",
|
|
3278
|
+
"readonly": true
|
|
3180
3279
|
},
|
|
3181
3280
|
{
|
|
3182
3281
|
"kind": "method",
|
|
3183
|
-
"name": "
|
|
3282
|
+
"name": "getLabel",
|
|
3283
|
+
"parameters": [
|
|
3284
|
+
{
|
|
3285
|
+
"name": "name",
|
|
3286
|
+
"type": {
|
|
3287
|
+
"text": "string | ((rowData: any) => string)"
|
|
3288
|
+
}
|
|
3289
|
+
}
|
|
3290
|
+
]
|
|
3184
3291
|
},
|
|
3185
3292
|
{
|
|
3186
3293
|
"kind": "method",
|
|
3187
|
-
"name": "
|
|
3188
|
-
"
|
|
3294
|
+
"name": "getTemplate",
|
|
3295
|
+
"parameters": [
|
|
3296
|
+
{
|
|
3297
|
+
"name": "prefix",
|
|
3298
|
+
"type": {
|
|
3299
|
+
"text": "string"
|
|
3300
|
+
}
|
|
3301
|
+
}
|
|
3302
|
+
]
|
|
3189
3303
|
},
|
|
3190
3304
|
{
|
|
3191
3305
|
"kind": "field",
|
|
@@ -3299,154 +3413,115 @@
|
|
|
3299
3413
|
}
|
|
3300
3414
|
}
|
|
3301
3415
|
],
|
|
3302
|
-
"
|
|
3416
|
+
"attributes": [
|
|
3303
3417
|
{
|
|
3304
|
-
"
|
|
3305
|
-
"
|
|
3418
|
+
"name": "is-vertical",
|
|
3419
|
+
"type": {
|
|
3420
|
+
"text": "boolean"
|
|
3421
|
+
},
|
|
3422
|
+
"default": "false",
|
|
3423
|
+
"fieldName": "isVertical"
|
|
3306
3424
|
},
|
|
3307
3425
|
{
|
|
3308
|
-
"
|
|
3309
|
-
"
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
|
|
3426
|
+
"name": "add-default-actions",
|
|
3427
|
+
"type": {
|
|
3428
|
+
"text": "boolean"
|
|
3429
|
+
},
|
|
3430
|
+
"default": "true",
|
|
3431
|
+
"fieldName": "addDefaultActions"
|
|
3432
|
+
},
|
|
3313
3433
|
{
|
|
3314
|
-
"name": "
|
|
3434
|
+
"name": "auto-close-on-action",
|
|
3435
|
+
"type": {
|
|
3436
|
+
"text": "boolean"
|
|
3437
|
+
},
|
|
3438
|
+
"default": "true",
|
|
3439
|
+
"fieldName": "autoCloseOnAction"
|
|
3440
|
+
},
|
|
3441
|
+
{
|
|
3442
|
+
"name": "name",
|
|
3315
3443
|
"type": {
|
|
3316
3444
|
"text": "string"
|
|
3317
3445
|
},
|
|
3318
|
-
"default": "'
|
|
3319
|
-
"fieldName": "
|
|
3446
|
+
"default": "'Actions'",
|
|
3447
|
+
"fieldName": "name"
|
|
3320
3448
|
},
|
|
3321
3449
|
{
|
|
3450
|
+
"name": "open",
|
|
3322
3451
|
"type": {
|
|
3323
3452
|
"text": "boolean"
|
|
3324
3453
|
},
|
|
3325
|
-
"
|
|
3454
|
+
"default": "false",
|
|
3455
|
+
"fieldName": "open"
|
|
3456
|
+
},
|
|
3457
|
+
{
|
|
3458
|
+
"name": "buttonAppearance",
|
|
3459
|
+
"type": {
|
|
3460
|
+
"text": "string"
|
|
3461
|
+
},
|
|
3462
|
+
"fieldName": "buttonAppearance"
|
|
3463
|
+
},
|
|
3464
|
+
{
|
|
3465
|
+
"name": "hide-disabled",
|
|
3466
|
+
"type": {
|
|
3467
|
+
"text": "boolean"
|
|
3468
|
+
},
|
|
3469
|
+
"default": "false",
|
|
3470
|
+
"fieldName": "hideDisabled"
|
|
3471
|
+
},
|
|
3472
|
+
{
|
|
3473
|
+
"name": "hide-menu-single-option",
|
|
3474
|
+
"type": {
|
|
3475
|
+
"text": "boolean"
|
|
3476
|
+
},
|
|
3477
|
+
"default": "false",
|
|
3478
|
+
"fieldName": "hideMenuSingleOption"
|
|
3326
3479
|
}
|
|
3327
3480
|
],
|
|
3328
3481
|
"superclass": {
|
|
3329
3482
|
"name": "FoundationElement",
|
|
3330
3483
|
"package": "@microsoft/fast-foundation"
|
|
3331
3484
|
},
|
|
3332
|
-
"tagName": "%%prefix%%-
|
|
3485
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
3333
3486
|
"customElement": true
|
|
3334
3487
|
},
|
|
3335
3488
|
{
|
|
3336
3489
|
"kind": "variable",
|
|
3337
|
-
"name": "
|
|
3338
|
-
"
|
|
3339
|
-
|
|
3340
|
-
},
|
|
3341
|
-
"default": "undefined"
|
|
3342
|
-
},
|
|
3343
|
-
{
|
|
3344
|
-
"kind": "variable",
|
|
3345
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3346
|
-
"type": {
|
|
3347
|
-
"text": "object"
|
|
3348
|
-
},
|
|
3349
|
-
"default": "{}"
|
|
3350
|
-
},
|
|
3351
|
-
{
|
|
3352
|
-
"kind": "variable",
|
|
3353
|
-
"name": "foundationAiCriteriaSearch"
|
|
3490
|
+
"name": "foundationActionsMenu",
|
|
3491
|
+
"description": "The Foundation Actions Menu",
|
|
3492
|
+
"privacy": "public"
|
|
3354
3493
|
}
|
|
3355
3494
|
],
|
|
3356
3495
|
"exports": [
|
|
3357
3496
|
{
|
|
3358
3497
|
"kind": "js",
|
|
3359
|
-
"name": "
|
|
3360
|
-
"declaration": {
|
|
3361
|
-
"name": "AiCriteriaSearch",
|
|
3362
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3363
|
-
}
|
|
3364
|
-
},
|
|
3365
|
-
{
|
|
3366
|
-
"kind": "js",
|
|
3367
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3368
|
-
"declaration": {
|
|
3369
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3370
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3371
|
-
}
|
|
3372
|
-
},
|
|
3373
|
-
{
|
|
3374
|
-
"kind": "js",
|
|
3375
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3498
|
+
"name": "ActionsMenu",
|
|
3376
3499
|
"declaration": {
|
|
3377
|
-
"name": "
|
|
3378
|
-
"module": "src/
|
|
3500
|
+
"name": "ActionsMenu",
|
|
3501
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
3379
3502
|
}
|
|
3380
3503
|
},
|
|
3381
3504
|
{
|
|
3382
3505
|
"kind": "js",
|
|
3383
|
-
"name": "
|
|
3506
|
+
"name": "foundationActionsMenu",
|
|
3384
3507
|
"declaration": {
|
|
3385
|
-
"name": "
|
|
3386
|
-
"module": "src/
|
|
3508
|
+
"name": "foundationActionsMenu",
|
|
3509
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
3387
3510
|
}
|
|
3388
3511
|
}
|
|
3389
3512
|
]
|
|
3390
3513
|
},
|
|
3391
3514
|
{
|
|
3392
3515
|
"kind": "javascript-module",
|
|
3393
|
-
"path": "src/
|
|
3516
|
+
"path": "src/actions-menu/index.ts",
|
|
3394
3517
|
"declarations": [],
|
|
3395
3518
|
"exports": [
|
|
3396
|
-
{
|
|
3397
|
-
"kind": "js",
|
|
3398
|
-
"name": "AiCriteriaSearch",
|
|
3399
|
-
"declaration": {
|
|
3400
|
-
"name": "AiCriteriaSearch",
|
|
3401
|
-
"module": "./ai-criteria-search"
|
|
3402
|
-
}
|
|
3403
|
-
},
|
|
3404
|
-
{
|
|
3405
|
-
"kind": "js",
|
|
3406
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3407
|
-
"declaration": {
|
|
3408
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3409
|
-
"module": "./ai-criteria-search"
|
|
3410
|
-
}
|
|
3411
|
-
},
|
|
3412
|
-
{
|
|
3413
|
-
"kind": "js",
|
|
3414
|
-
"name": "foundationAiCriteriaSearch",
|
|
3415
|
-
"declaration": {
|
|
3416
|
-
"name": "foundationAiCriteriaSearch",
|
|
3417
|
-
"module": "./ai-criteria-search"
|
|
3418
|
-
}
|
|
3419
|
-
},
|
|
3420
|
-
{
|
|
3421
|
-
"kind": "js",
|
|
3422
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3423
|
-
"declaration": {
|
|
3424
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3425
|
-
"module": "./ai-criteria-search"
|
|
3426
|
-
}
|
|
3427
|
-
},
|
|
3428
|
-
{
|
|
3429
|
-
"kind": "js",
|
|
3430
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3431
|
-
"declaration": {
|
|
3432
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3433
|
-
"module": "./ai-criteria-search.styles"
|
|
3434
|
-
}
|
|
3435
|
-
},
|
|
3436
|
-
{
|
|
3437
|
-
"kind": "js",
|
|
3438
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
3439
|
-
"declaration": {
|
|
3440
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
3441
|
-
"module": "./ai-criteria-search.template"
|
|
3442
|
-
}
|
|
3443
|
-
},
|
|
3444
3519
|
{
|
|
3445
3520
|
"kind": "js",
|
|
3446
3521
|
"name": "*",
|
|
3447
3522
|
"declaration": {
|
|
3448
3523
|
"name": "*",
|
|
3449
|
-
"package": "./
|
|
3524
|
+
"package": "./actions-menu.styles"
|
|
3450
3525
|
}
|
|
3451
3526
|
},
|
|
3452
3527
|
{
|
|
@@ -3454,7 +3529,7 @@
|
|
|
3454
3529
|
"name": "*",
|
|
3455
3530
|
"declaration": {
|
|
3456
3531
|
"name": "*",
|
|
3457
|
-
"package": "./
|
|
3532
|
+
"package": "./actions-menu.template"
|
|
3458
3533
|
}
|
|
3459
3534
|
},
|
|
3460
3535
|
{
|
|
@@ -3462,82 +3537,7 @@
|
|
|
3462
3537
|
"name": "*",
|
|
3463
3538
|
"declaration": {
|
|
3464
3539
|
"name": "*",
|
|
3465
|
-
"package": "./
|
|
3466
|
-
}
|
|
3467
|
-
}
|
|
3468
|
-
]
|
|
3469
|
-
},
|
|
3470
|
-
{
|
|
3471
|
-
"kind": "javascript-module",
|
|
3472
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3473
|
-
"declarations": [
|
|
3474
|
-
{
|
|
3475
|
-
"kind": "function",
|
|
3476
|
-
"name": "formatValidationErrors",
|
|
3477
|
-
"return": {
|
|
3478
|
-
"type": {
|
|
3479
|
-
"text": "string"
|
|
3480
|
-
}
|
|
3481
|
-
},
|
|
3482
|
-
"parameters": [
|
|
3483
|
-
{
|
|
3484
|
-
"name": "errors",
|
|
3485
|
-
"type": {
|
|
3486
|
-
"text": "ValidationError[]"
|
|
3487
|
-
}
|
|
3488
|
-
}
|
|
3489
|
-
],
|
|
3490
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
3491
|
-
},
|
|
3492
|
-
{
|
|
3493
|
-
"kind": "function",
|
|
3494
|
-
"name": "showCriteriaError",
|
|
3495
|
-
"return": {
|
|
3496
|
-
"type": {
|
|
3497
|
-
"text": "void"
|
|
3498
|
-
}
|
|
3499
|
-
},
|
|
3500
|
-
"parameters": [
|
|
3501
|
-
{
|
|
3502
|
-
"name": "title",
|
|
3503
|
-
"type": {
|
|
3504
|
-
"text": "string"
|
|
3505
|
-
},
|
|
3506
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3507
|
-
},
|
|
3508
|
-
{
|
|
3509
|
-
"name": "body",
|
|
3510
|
-
"type": {
|
|
3511
|
-
"text": "string"
|
|
3512
|
-
},
|
|
3513
|
-
"description": "Error message to display"
|
|
3514
|
-
},
|
|
3515
|
-
{
|
|
3516
|
-
"name": "tagName",
|
|
3517
|
-
"type": {
|
|
3518
|
-
"text": "string"
|
|
3519
|
-
},
|
|
3520
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3521
|
-
}
|
|
3522
|
-
],
|
|
3523
|
-
"description": "Shows a criteria error as a toast notification."
|
|
3524
|
-
}
|
|
3525
|
-
],
|
|
3526
|
-
"exports": [
|
|
3527
|
-
{
|
|
3528
|
-
"kind": "js",
|
|
3529
|
-
"name": "formatValidationErrors",
|
|
3530
|
-
"declaration": {
|
|
3531
|
-
"name": "formatValidationErrors",
|
|
3532
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3533
|
-
}
|
|
3534
|
-
},
|
|
3535
|
-
{
|
|
3536
|
-
"kind": "js",
|
|
3537
|
-
"name": "showCriteriaError",
|
|
3538
|
-
"declaration": {
|
|
3539
|
-
"name": "showCriteriaError",
|
|
3540
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3540
|
+
"package": "./actions-menu"
|
|
3541
3541
|
}
|
|
3542
3542
|
}
|
|
3543
3543
|
]
|