@genesislcap/foundation-ui 14.438.0 → 14.438.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +713 -713
- package/dist/dts/react.d.ts +9 -9
- package/dist/react.cjs +6 -6
- package/dist/react.mjs +5 -5
- package/package.json +19 -19
|
@@ -1398,6 +1398,37 @@
|
|
|
1398
1398
|
}
|
|
1399
1399
|
]
|
|
1400
1400
|
},
|
|
1401
|
+
{
|
|
1402
|
+
"kind": "javascript-module",
|
|
1403
|
+
"path": "src/_config/index.ts",
|
|
1404
|
+
"declarations": [],
|
|
1405
|
+
"exports": [
|
|
1406
|
+
{
|
|
1407
|
+
"kind": "js",
|
|
1408
|
+
"name": "*",
|
|
1409
|
+
"declaration": {
|
|
1410
|
+
"name": "*",
|
|
1411
|
+
"package": "./styles"
|
|
1412
|
+
}
|
|
1413
|
+
},
|
|
1414
|
+
{
|
|
1415
|
+
"kind": "js",
|
|
1416
|
+
"name": "*",
|
|
1417
|
+
"declaration": {
|
|
1418
|
+
"name": "*",
|
|
1419
|
+
"package": "./tokens"
|
|
1420
|
+
}
|
|
1421
|
+
},
|
|
1422
|
+
{
|
|
1423
|
+
"kind": "js",
|
|
1424
|
+
"name": "*",
|
|
1425
|
+
"declaration": {
|
|
1426
|
+
"name": "*",
|
|
1427
|
+
"package": "./values"
|
|
1428
|
+
}
|
|
1429
|
+
}
|
|
1430
|
+
]
|
|
1431
|
+
},
|
|
1401
1432
|
{
|
|
1402
1433
|
"kind": "javascript-module",
|
|
1403
1434
|
"path": "src/accordion/accordion.styles.ts",
|
|
@@ -1913,37 +1944,6 @@
|
|
|
1913
1944
|
}
|
|
1914
1945
|
]
|
|
1915
1946
|
},
|
|
1916
|
-
{
|
|
1917
|
-
"kind": "javascript-module",
|
|
1918
|
-
"path": "src/_config/index.ts",
|
|
1919
|
-
"declarations": [],
|
|
1920
|
-
"exports": [
|
|
1921
|
-
{
|
|
1922
|
-
"kind": "js",
|
|
1923
|
-
"name": "*",
|
|
1924
|
-
"declaration": {
|
|
1925
|
-
"name": "*",
|
|
1926
|
-
"package": "./styles"
|
|
1927
|
-
}
|
|
1928
|
-
},
|
|
1929
|
-
{
|
|
1930
|
-
"kind": "js",
|
|
1931
|
-
"name": "*",
|
|
1932
|
-
"declaration": {
|
|
1933
|
-
"name": "*",
|
|
1934
|
-
"package": "./tokens"
|
|
1935
|
-
}
|
|
1936
|
-
},
|
|
1937
|
-
{
|
|
1938
|
-
"kind": "js",
|
|
1939
|
-
"name": "*",
|
|
1940
|
-
"declaration": {
|
|
1941
|
-
"name": "*",
|
|
1942
|
-
"package": "./values"
|
|
1943
|
-
}
|
|
1944
|
-
}
|
|
1945
|
-
]
|
|
1946
|
-
},
|
|
1947
1947
|
{
|
|
1948
1948
|
"kind": "javascript-module",
|
|
1949
1949
|
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
@@ -2340,203 +2340,115 @@
|
|
|
2340
2340
|
},
|
|
2341
2341
|
{
|
|
2342
2342
|
"kind": "javascript-module",
|
|
2343
|
-
"path": "src/
|
|
2343
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
2344
2344
|
"declarations": [
|
|
2345
2345
|
{
|
|
2346
|
-
"kind": "
|
|
2347
|
-
"name": "
|
|
2348
|
-
"
|
|
2349
|
-
"type": {
|
|
2350
|
-
"text": "ElementStyles"
|
|
2351
|
-
}
|
|
2352
|
-
},
|
|
2353
|
-
"parameters": [
|
|
2354
|
-
{
|
|
2355
|
-
"name": "context",
|
|
2356
|
-
"type": {
|
|
2357
|
-
"text": "ElementDefinitionContext"
|
|
2358
|
-
}
|
|
2359
|
-
},
|
|
2360
|
-
{
|
|
2361
|
-
"name": "definition",
|
|
2362
|
-
"type": {
|
|
2363
|
-
"text": "FoundationElementDefinition"
|
|
2364
|
-
}
|
|
2365
|
-
}
|
|
2366
|
-
]
|
|
2367
|
-
},
|
|
2368
|
-
{
|
|
2369
|
-
"kind": "function",
|
|
2370
|
-
"name": "foundationActionsMenuStyles",
|
|
2371
|
-
"return": {
|
|
2372
|
-
"type": {
|
|
2373
|
-
"text": "ElementStyles"
|
|
2374
|
-
}
|
|
2375
|
-
},
|
|
2376
|
-
"parameters": [
|
|
2377
|
-
{
|
|
2378
|
-
"name": "context",
|
|
2379
|
-
"type": {
|
|
2380
|
-
"text": "ElementDefinitionContext"
|
|
2381
|
-
}
|
|
2382
|
-
},
|
|
2383
|
-
{
|
|
2384
|
-
"name": "definition",
|
|
2385
|
-
"type": {
|
|
2386
|
-
"text": "FoundationElementDefinition"
|
|
2387
|
-
}
|
|
2388
|
-
}
|
|
2389
|
-
]
|
|
2346
|
+
"kind": "variable",
|
|
2347
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2348
|
+
"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`"
|
|
2390
2349
|
}
|
|
2391
2350
|
],
|
|
2392
2351
|
"exports": [
|
|
2393
2352
|
{
|
|
2394
2353
|
"kind": "js",
|
|
2395
|
-
"name": "
|
|
2396
|
-
"declaration": {
|
|
2397
|
-
"name": "actionsMenuBaseStyles",
|
|
2398
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2399
|
-
}
|
|
2400
|
-
},
|
|
2401
|
-
{
|
|
2402
|
-
"kind": "js",
|
|
2403
|
-
"name": "foundationActionsMenuStyles",
|
|
2354
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2404
2355
|
"declaration": {
|
|
2405
|
-
"name": "
|
|
2406
|
-
"module": "src/
|
|
2356
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2357
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
2407
2358
|
}
|
|
2408
2359
|
}
|
|
2409
2360
|
]
|
|
2410
2361
|
},
|
|
2411
2362
|
{
|
|
2412
2363
|
"kind": "javascript-module",
|
|
2413
|
-
"path": "src/
|
|
2364
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
2414
2365
|
"declarations": [
|
|
2415
|
-
{
|
|
2416
|
-
"kind": "function",
|
|
2417
|
-
"name": "menuTemplate",
|
|
2418
|
-
"parameters": [
|
|
2419
|
-
{
|
|
2420
|
-
"name": "prefix",
|
|
2421
|
-
"type": {
|
|
2422
|
-
"text": "string"
|
|
2423
|
-
}
|
|
2424
|
-
}
|
|
2425
|
-
]
|
|
2426
|
-
},
|
|
2427
|
-
{
|
|
2428
|
-
"kind": "function",
|
|
2429
|
-
"name": "singleOptionTemplate",
|
|
2430
|
-
"parameters": [
|
|
2431
|
-
{
|
|
2432
|
-
"name": "prefix",
|
|
2433
|
-
"type": {
|
|
2434
|
-
"text": "string"
|
|
2435
|
-
}
|
|
2436
|
-
}
|
|
2437
|
-
]
|
|
2438
|
-
},
|
|
2439
2366
|
{
|
|
2440
2367
|
"kind": "variable",
|
|
2441
|
-
"name": "
|
|
2368
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2442
2369
|
"type": {
|
|
2443
|
-
"text": "ViewTemplate<
|
|
2370
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
2444
2371
|
},
|
|
2445
|
-
"default": "html`\n
|
|
2372
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
2446
2373
|
}
|
|
2447
2374
|
],
|
|
2448
2375
|
"exports": [
|
|
2449
2376
|
{
|
|
2450
2377
|
"kind": "js",
|
|
2451
|
-
"name": "
|
|
2452
|
-
"declaration": {
|
|
2453
|
-
"name": "menuTemplate",
|
|
2454
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2455
|
-
}
|
|
2456
|
-
},
|
|
2457
|
-
{
|
|
2458
|
-
"kind": "js",
|
|
2459
|
-
"name": "singleOptionTemplate",
|
|
2460
|
-
"declaration": {
|
|
2461
|
-
"name": "singleOptionTemplate",
|
|
2462
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2463
|
-
}
|
|
2464
|
-
},
|
|
2465
|
-
{
|
|
2466
|
-
"kind": "js",
|
|
2467
|
-
"name": "foundationActionsMenuTemplate",
|
|
2378
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2468
2379
|
"declaration": {
|
|
2469
|
-
"name": "
|
|
2470
|
-
"module": "src/
|
|
2380
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2381
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
2471
2382
|
}
|
|
2472
2383
|
}
|
|
2473
2384
|
]
|
|
2474
2385
|
},
|
|
2475
2386
|
{
|
|
2476
2387
|
"kind": "javascript-module",
|
|
2477
|
-
"path": "src/
|
|
2388
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
2478
2389
|
"declarations": [
|
|
2479
2390
|
{
|
|
2480
2391
|
"kind": "class",
|
|
2481
|
-
"description": "",
|
|
2482
|
-
"name": "
|
|
2392
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2393
|
+
"name": "AiCriteriaSearch",
|
|
2483
2394
|
"members": [
|
|
2484
2395
|
{
|
|
2485
2396
|
"kind": "field",
|
|
2486
|
-
"name": "
|
|
2397
|
+
"name": "aiProvider",
|
|
2487
2398
|
"type": {
|
|
2488
|
-
"text": "
|
|
2399
|
+
"text": "AIProvider"
|
|
2489
2400
|
}
|
|
2490
2401
|
},
|
|
2491
2402
|
{
|
|
2492
2403
|
"kind": "field",
|
|
2493
|
-
"name": "
|
|
2404
|
+
"name": "placeholder",
|
|
2494
2405
|
"type": {
|
|
2495
|
-
"text": "
|
|
2406
|
+
"text": "string"
|
|
2496
2407
|
},
|
|
2497
|
-
"default": "
|
|
2408
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
2498
2409
|
},
|
|
2499
2410
|
{
|
|
2500
2411
|
"kind": "field",
|
|
2501
|
-
"name": "
|
|
2412
|
+
"name": "disabled",
|
|
2502
2413
|
"type": {
|
|
2503
2414
|
"text": "boolean"
|
|
2504
|
-
}
|
|
2505
|
-
"default": "true"
|
|
2415
|
+
}
|
|
2506
2416
|
},
|
|
2507
2417
|
{
|
|
2508
2418
|
"kind": "field",
|
|
2509
|
-
"name": "
|
|
2419
|
+
"name": "inputValue",
|
|
2510
2420
|
"type": {
|
|
2511
|
-
"text": "
|
|
2421
|
+
"text": "string"
|
|
2512
2422
|
},
|
|
2513
|
-
"default": "
|
|
2423
|
+
"default": "''"
|
|
2514
2424
|
},
|
|
2515
2425
|
{
|
|
2516
2426
|
"kind": "field",
|
|
2517
|
-
"name": "
|
|
2427
|
+
"name": "isInterpreting",
|
|
2518
2428
|
"type": {
|
|
2519
|
-
"text": "
|
|
2520
|
-
}
|
|
2429
|
+
"text": "boolean"
|
|
2430
|
+
},
|
|
2431
|
+
"default": "false"
|
|
2521
2432
|
},
|
|
2522
2433
|
{
|
|
2523
2434
|
"kind": "field",
|
|
2524
|
-
"name": "
|
|
2435
|
+
"name": "lastValidCriteria",
|
|
2525
2436
|
"type": {
|
|
2526
|
-
"text": "
|
|
2527
|
-
}
|
|
2437
|
+
"text": "string | null"
|
|
2438
|
+
},
|
|
2439
|
+
"default": "null"
|
|
2528
2440
|
},
|
|
2529
2441
|
{
|
|
2530
2442
|
"kind": "field",
|
|
2531
|
-
"name": "
|
|
2443
|
+
"name": "activeGroups",
|
|
2532
2444
|
"type": {
|
|
2533
|
-
"text": "
|
|
2445
|
+
"text": "CriteriaGroup[]"
|
|
2534
2446
|
},
|
|
2535
|
-
"default": "
|
|
2447
|
+
"default": "[]"
|
|
2536
2448
|
},
|
|
2537
2449
|
{
|
|
2538
2450
|
"kind": "field",
|
|
2539
|
-
"name": "
|
|
2451
|
+
"name": "showingChips",
|
|
2540
2452
|
"type": {
|
|
2541
2453
|
"text": "boolean"
|
|
2542
2454
|
},
|
|
@@ -2544,14 +2456,15 @@
|
|
|
2544
2456
|
},
|
|
2545
2457
|
{
|
|
2546
2458
|
"kind": "field",
|
|
2547
|
-
"name": "
|
|
2459
|
+
"name": "fieldMetadata",
|
|
2548
2460
|
"type": {
|
|
2549
|
-
"text": "string"
|
|
2550
|
-
}
|
|
2461
|
+
"text": "MetadataDetail[] | string[]"
|
|
2462
|
+
},
|
|
2463
|
+
"default": "[]"
|
|
2551
2464
|
},
|
|
2552
2465
|
{
|
|
2553
2466
|
"kind": "field",
|
|
2554
|
-
"name": "
|
|
2467
|
+
"name": "isRecording",
|
|
2555
2468
|
"type": {
|
|
2556
2469
|
"text": "boolean"
|
|
2557
2470
|
},
|
|
@@ -2559,102 +2472,125 @@
|
|
|
2559
2472
|
},
|
|
2560
2473
|
{
|
|
2561
2474
|
"kind": "field",
|
|
2562
|
-
"name": "
|
|
2475
|
+
"name": "textAreaRef",
|
|
2563
2476
|
"type": {
|
|
2564
|
-
"text": "
|
|
2477
|
+
"text": "HTMLTextAreaElement"
|
|
2565
2478
|
},
|
|
2566
|
-
"
|
|
2479
|
+
"privacy": "public"
|
|
2567
2480
|
},
|
|
2568
2481
|
{
|
|
2569
2482
|
"kind": "field",
|
|
2570
|
-
"name": "
|
|
2483
|
+
"name": "stopRecording",
|
|
2571
2484
|
"type": {
|
|
2572
|
-
"text": "
|
|
2573
|
-
}
|
|
2485
|
+
"text": "(() => void) | null"
|
|
2486
|
+
},
|
|
2487
|
+
"privacy": "private",
|
|
2488
|
+
"default": "null"
|
|
2574
2489
|
},
|
|
2575
2490
|
{
|
|
2576
2491
|
"kind": "field",
|
|
2577
|
-
"name": "
|
|
2492
|
+
"name": "speechApplyDebounceTimer",
|
|
2578
2493
|
"type": {
|
|
2579
|
-
"text": "
|
|
2580
|
-
}
|
|
2581
|
-
|
|
2494
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
2495
|
+
},
|
|
2496
|
+
"privacy": "private",
|
|
2497
|
+
"default": "null"
|
|
2498
|
+
},
|
|
2499
|
+
{
|
|
2500
|
+
"kind": "field",
|
|
2501
|
+
"name": "speechAvailable",
|
|
2502
|
+
"type": {
|
|
2503
|
+
"text": "boolean"
|
|
2504
|
+
},
|
|
2505
|
+
"readonly": true
|
|
2506
|
+
},
|
|
2507
|
+
{
|
|
2508
|
+
"kind": "field",
|
|
2509
|
+
"name": "criteriaChips",
|
|
2510
|
+
"type": {
|
|
2511
|
+
"text": "CriteriaChip[]"
|
|
2512
|
+
},
|
|
2513
|
+
"readonly": true
|
|
2514
|
+
},
|
|
2582
2515
|
{
|
|
2583
2516
|
"kind": "method",
|
|
2584
|
-
"name": "
|
|
2585
|
-
"privacy": "
|
|
2517
|
+
"name": "getFieldLabel",
|
|
2518
|
+
"privacy": "private",
|
|
2519
|
+
"return": {
|
|
2520
|
+
"type": {
|
|
2521
|
+
"text": "string"
|
|
2522
|
+
}
|
|
2523
|
+
},
|
|
2586
2524
|
"parameters": [
|
|
2587
2525
|
{
|
|
2588
|
-
"name": "
|
|
2589
|
-
"type": {
|
|
2590
|
-
"text": "any"
|
|
2591
|
-
}
|
|
2592
|
-
},
|
|
2593
|
-
{
|
|
2594
|
-
"name": "newValue",
|
|
2526
|
+
"name": "fieldName",
|
|
2595
2527
|
"type": {
|
|
2596
|
-
"text": "
|
|
2528
|
+
"text": "string"
|
|
2597
2529
|
}
|
|
2598
2530
|
}
|
|
2599
2531
|
]
|
|
2600
2532
|
},
|
|
2601
2533
|
{
|
|
2602
2534
|
"kind": "method",
|
|
2603
|
-
"name": "
|
|
2604
|
-
"
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2535
|
+
"name": "toggleCriteriaView",
|
|
2536
|
+
"return": {
|
|
2537
|
+
"type": {
|
|
2538
|
+
"text": "void"
|
|
2539
|
+
}
|
|
2540
|
+
}
|
|
2609
2541
|
},
|
|
2610
2542
|
{
|
|
2611
2543
|
"kind": "method",
|
|
2612
|
-
"name": "
|
|
2544
|
+
"name": "removeChip",
|
|
2545
|
+
"return": {
|
|
2546
|
+
"type": {
|
|
2547
|
+
"text": "void"
|
|
2548
|
+
}
|
|
2549
|
+
},
|
|
2613
2550
|
"parameters": [
|
|
2614
2551
|
{
|
|
2615
|
-
"name": "
|
|
2552
|
+
"name": "groupIndex",
|
|
2616
2553
|
"type": {
|
|
2617
|
-
"text": "
|
|
2554
|
+
"text": "number"
|
|
2555
|
+
}
|
|
2556
|
+
},
|
|
2557
|
+
{
|
|
2558
|
+
"name": "clauseIndex",
|
|
2559
|
+
"type": {
|
|
2560
|
+
"text": "number"
|
|
2618
2561
|
}
|
|
2619
2562
|
}
|
|
2620
2563
|
]
|
|
2621
2564
|
},
|
|
2622
2565
|
{
|
|
2623
|
-
"kind": "
|
|
2624
|
-
"name": "
|
|
2625
|
-
"
|
|
2626
|
-
"
|
|
2627
|
-
|
|
2628
|
-
|
|
2566
|
+
"kind": "method",
|
|
2567
|
+
"name": "clearChips",
|
|
2568
|
+
"return": {
|
|
2569
|
+
"type": {
|
|
2570
|
+
"text": "void"
|
|
2571
|
+
}
|
|
2572
|
+
}
|
|
2629
2573
|
},
|
|
2630
2574
|
{
|
|
2631
|
-
"kind": "
|
|
2632
|
-
"name": "
|
|
2633
|
-
"readonly": true
|
|
2575
|
+
"kind": "method",
|
|
2576
|
+
"name": "handleSubmit"
|
|
2634
2577
|
},
|
|
2635
2578
|
{
|
|
2636
2579
|
"kind": "method",
|
|
2637
|
-
"name": "
|
|
2638
|
-
"parameters": [
|
|
2639
|
-
{
|
|
2640
|
-
"name": "name",
|
|
2641
|
-
"type": {
|
|
2642
|
-
"text": "string | ((rowData: any) => string)"
|
|
2643
|
-
}
|
|
2644
|
-
}
|
|
2645
|
-
]
|
|
2580
|
+
"name": "handleBlur"
|
|
2646
2581
|
},
|
|
2647
2582
|
{
|
|
2648
2583
|
"kind": "method",
|
|
2649
|
-
"name": "
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2584
|
+
"name": "clear"
|
|
2585
|
+
},
|
|
2586
|
+
{
|
|
2587
|
+
"kind": "method",
|
|
2588
|
+
"name": "toggleSpeechInput"
|
|
2589
|
+
},
|
|
2590
|
+
{
|
|
2591
|
+
"kind": "method",
|
|
2592
|
+
"name": "clearSpeechApplyDebounce",
|
|
2593
|
+
"privacy": "private"
|
|
2658
2594
|
},
|
|
2659
2595
|
{
|
|
2660
2596
|
"kind": "field",
|
|
@@ -2768,188 +2704,320 @@
|
|
|
2768
2704
|
}
|
|
2769
2705
|
}
|
|
2770
2706
|
],
|
|
2771
|
-
"
|
|
2772
|
-
{
|
|
2773
|
-
"name": "is-vertical",
|
|
2774
|
-
"type": {
|
|
2775
|
-
"text": "boolean"
|
|
2776
|
-
},
|
|
2777
|
-
"default": "false",
|
|
2778
|
-
"fieldName": "isVertical"
|
|
2779
|
-
},
|
|
2780
|
-
{
|
|
2781
|
-
"name": "add-default-actions",
|
|
2782
|
-
"type": {
|
|
2783
|
-
"text": "boolean"
|
|
2784
|
-
},
|
|
2785
|
-
"default": "true",
|
|
2786
|
-
"fieldName": "addDefaultActions"
|
|
2787
|
-
},
|
|
2788
|
-
{
|
|
2789
|
-
"name": "auto-close-on-action",
|
|
2790
|
-
"type": {
|
|
2791
|
-
"text": "boolean"
|
|
2792
|
-
},
|
|
2793
|
-
"default": "true",
|
|
2794
|
-
"fieldName": "autoCloseOnAction"
|
|
2795
|
-
},
|
|
2707
|
+
"events": [
|
|
2796
2708
|
{
|
|
2797
|
-
"
|
|
2798
|
-
"
|
|
2799
|
-
"text": "string"
|
|
2800
|
-
},
|
|
2801
|
-
"default": "'Actions'",
|
|
2802
|
-
"fieldName": "name"
|
|
2709
|
+
"description": "Fired when interpreted criteria is applied or cleared",
|
|
2710
|
+
"name": "criteria-changed"
|
|
2803
2711
|
},
|
|
2804
2712
|
{
|
|
2805
|
-
"
|
|
2806
|
-
"
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
"fieldName": "open"
|
|
2811
|
-
},
|
|
2713
|
+
"description": "Fired when interpreted criteria contains invalid clauses",
|
|
2714
|
+
"name": "validation-errors"
|
|
2715
|
+
}
|
|
2716
|
+
],
|
|
2717
|
+
"attributes": [
|
|
2812
2718
|
{
|
|
2813
|
-
"name": "
|
|
2719
|
+
"name": "placeholder",
|
|
2814
2720
|
"type": {
|
|
2815
2721
|
"text": "string"
|
|
2816
2722
|
},
|
|
2817
|
-
"
|
|
2818
|
-
|
|
2819
|
-
{
|
|
2820
|
-
"name": "hide-disabled",
|
|
2821
|
-
"type": {
|
|
2822
|
-
"text": "boolean"
|
|
2823
|
-
},
|
|
2824
|
-
"default": "false",
|
|
2825
|
-
"fieldName": "hideDisabled"
|
|
2723
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
2724
|
+
"fieldName": "placeholder"
|
|
2826
2725
|
},
|
|
2827
2726
|
{
|
|
2828
|
-
"name": "hide-menu-single-option",
|
|
2829
2727
|
"type": {
|
|
2830
2728
|
"text": "boolean"
|
|
2831
2729
|
},
|
|
2832
|
-
"
|
|
2833
|
-
"fieldName": "hideMenuSingleOption"
|
|
2730
|
+
"fieldName": "disabled"
|
|
2834
2731
|
}
|
|
2835
2732
|
],
|
|
2836
2733
|
"superclass": {
|
|
2837
2734
|
"name": "FoundationElement",
|
|
2838
2735
|
"package": "@microsoft/fast-foundation"
|
|
2839
2736
|
},
|
|
2840
|
-
"tagName": "%%prefix%%-
|
|
2737
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
2841
2738
|
"customElement": true
|
|
2842
2739
|
},
|
|
2843
2740
|
{
|
|
2844
2741
|
"kind": "variable",
|
|
2845
|
-
"name": "
|
|
2846
|
-
"
|
|
2847
|
-
|
|
2742
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2743
|
+
"type": {
|
|
2744
|
+
"text": "ShadowRootInit"
|
|
2745
|
+
},
|
|
2746
|
+
"default": "undefined"
|
|
2747
|
+
},
|
|
2748
|
+
{
|
|
2749
|
+
"kind": "variable",
|
|
2750
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2751
|
+
"type": {
|
|
2752
|
+
"text": "object"
|
|
2753
|
+
},
|
|
2754
|
+
"default": "{}"
|
|
2755
|
+
},
|
|
2756
|
+
{
|
|
2757
|
+
"kind": "variable",
|
|
2758
|
+
"name": "foundationAiCriteriaSearch"
|
|
2848
2759
|
}
|
|
2849
2760
|
],
|
|
2850
2761
|
"exports": [
|
|
2851
2762
|
{
|
|
2852
2763
|
"kind": "js",
|
|
2853
|
-
"name": "
|
|
2764
|
+
"name": "AiCriteriaSearch",
|
|
2854
2765
|
"declaration": {
|
|
2855
|
-
"name": "
|
|
2856
|
-
"module": "src/
|
|
2766
|
+
"name": "AiCriteriaSearch",
|
|
2767
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2857
2768
|
}
|
|
2858
2769
|
},
|
|
2859
2770
|
{
|
|
2860
2771
|
"kind": "js",
|
|
2861
|
-
"name": "
|
|
2772
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2862
2773
|
"declaration": {
|
|
2863
|
-
"name": "
|
|
2864
|
-
"module": "src/
|
|
2774
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2775
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2776
|
+
}
|
|
2777
|
+
},
|
|
2778
|
+
{
|
|
2779
|
+
"kind": "js",
|
|
2780
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2781
|
+
"declaration": {
|
|
2782
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2783
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2784
|
+
}
|
|
2785
|
+
},
|
|
2786
|
+
{
|
|
2787
|
+
"kind": "js",
|
|
2788
|
+
"name": "foundationAiCriteriaSearch",
|
|
2789
|
+
"declaration": {
|
|
2790
|
+
"name": "foundationAiCriteriaSearch",
|
|
2791
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2865
2792
|
}
|
|
2866
2793
|
}
|
|
2867
2794
|
]
|
|
2868
2795
|
},
|
|
2869
2796
|
{
|
|
2870
2797
|
"kind": "javascript-module",
|
|
2871
|
-
"path": "src/
|
|
2798
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
2872
2799
|
"declarations": [],
|
|
2873
2800
|
"exports": [
|
|
2874
2801
|
{
|
|
2875
2802
|
"kind": "js",
|
|
2876
|
-
"name": "
|
|
2803
|
+
"name": "AiCriteriaSearch",
|
|
2877
2804
|
"declaration": {
|
|
2878
|
-
"name": "
|
|
2879
|
-
"
|
|
2805
|
+
"name": "AiCriteriaSearch",
|
|
2806
|
+
"module": "./ai-criteria-search"
|
|
2880
2807
|
}
|
|
2881
2808
|
},
|
|
2882
2809
|
{
|
|
2883
2810
|
"kind": "js",
|
|
2884
|
-
"name": "
|
|
2811
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2885
2812
|
"declaration": {
|
|
2886
|
-
"name": "
|
|
2887
|
-
"
|
|
2813
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2814
|
+
"module": "./ai-criteria-search"
|
|
2888
2815
|
}
|
|
2889
2816
|
},
|
|
2890
2817
|
{
|
|
2891
2818
|
"kind": "js",
|
|
2892
|
-
"name": "
|
|
2819
|
+
"name": "foundationAiCriteriaSearch",
|
|
2893
2820
|
"declaration": {
|
|
2894
|
-
"name": "
|
|
2895
|
-
"
|
|
2821
|
+
"name": "foundationAiCriteriaSearch",
|
|
2822
|
+
"module": "./ai-criteria-search"
|
|
2896
2823
|
}
|
|
2897
|
-
}
|
|
2898
|
-
]
|
|
2899
|
-
},
|
|
2900
|
-
{
|
|
2901
|
-
"kind": "javascript-module",
|
|
2902
|
-
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
2903
|
-
"declarations": [
|
|
2824
|
+
},
|
|
2904
2825
|
{
|
|
2905
|
-
"kind": "
|
|
2826
|
+
"kind": "js",
|
|
2827
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2828
|
+
"declaration": {
|
|
2829
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2830
|
+
"module": "./ai-criteria-search"
|
|
2831
|
+
}
|
|
2832
|
+
},
|
|
2833
|
+
{
|
|
2834
|
+
"kind": "js",
|
|
2906
2835
|
"name": "foundationAiCriteriaSearchStyles",
|
|
2907
|
-
"
|
|
2836
|
+
"declaration": {
|
|
2837
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2838
|
+
"module": "./ai-criteria-search.styles"
|
|
2839
|
+
}
|
|
2840
|
+
},
|
|
2841
|
+
{
|
|
2842
|
+
"kind": "js",
|
|
2843
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2844
|
+
"declaration": {
|
|
2845
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2846
|
+
"module": "./ai-criteria-search.template"
|
|
2847
|
+
}
|
|
2848
|
+
},
|
|
2849
|
+
{
|
|
2850
|
+
"kind": "js",
|
|
2851
|
+
"name": "*",
|
|
2852
|
+
"declaration": {
|
|
2853
|
+
"name": "*",
|
|
2854
|
+
"package": "./validation/criteria-ir"
|
|
2855
|
+
}
|
|
2856
|
+
},
|
|
2857
|
+
{
|
|
2858
|
+
"kind": "js",
|
|
2859
|
+
"name": "*",
|
|
2860
|
+
"declaration": {
|
|
2861
|
+
"name": "*",
|
|
2862
|
+
"package": "./validation/operator-map"
|
|
2863
|
+
}
|
|
2864
|
+
},
|
|
2865
|
+
{
|
|
2866
|
+
"kind": "js",
|
|
2867
|
+
"name": "*",
|
|
2868
|
+
"declaration": {
|
|
2869
|
+
"name": "*",
|
|
2870
|
+
"package": "./validation/schema-validator"
|
|
2871
|
+
}
|
|
2872
|
+
}
|
|
2873
|
+
]
|
|
2874
|
+
},
|
|
2875
|
+
{
|
|
2876
|
+
"kind": "javascript-module",
|
|
2877
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
2878
|
+
"declarations": [
|
|
2879
|
+
{
|
|
2880
|
+
"kind": "function",
|
|
2881
|
+
"name": "formatValidationErrors",
|
|
2882
|
+
"return": {
|
|
2883
|
+
"type": {
|
|
2884
|
+
"text": "string"
|
|
2885
|
+
}
|
|
2886
|
+
},
|
|
2887
|
+
"parameters": [
|
|
2888
|
+
{
|
|
2889
|
+
"name": "errors",
|
|
2890
|
+
"type": {
|
|
2891
|
+
"text": "ValidationError[]"
|
|
2892
|
+
}
|
|
2893
|
+
}
|
|
2894
|
+
],
|
|
2895
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
2896
|
+
},
|
|
2897
|
+
{
|
|
2898
|
+
"kind": "function",
|
|
2899
|
+
"name": "showCriteriaError",
|
|
2900
|
+
"return": {
|
|
2901
|
+
"type": {
|
|
2902
|
+
"text": "void"
|
|
2903
|
+
}
|
|
2904
|
+
},
|
|
2905
|
+
"parameters": [
|
|
2906
|
+
{
|
|
2907
|
+
"name": "title",
|
|
2908
|
+
"type": {
|
|
2909
|
+
"text": "string"
|
|
2910
|
+
},
|
|
2911
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
2912
|
+
},
|
|
2913
|
+
{
|
|
2914
|
+
"name": "body",
|
|
2915
|
+
"type": {
|
|
2916
|
+
"text": "string"
|
|
2917
|
+
},
|
|
2918
|
+
"description": "Error message to display"
|
|
2919
|
+
},
|
|
2920
|
+
{
|
|
2921
|
+
"name": "tagName",
|
|
2922
|
+
"type": {
|
|
2923
|
+
"text": "string"
|
|
2924
|
+
},
|
|
2925
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
2926
|
+
}
|
|
2927
|
+
],
|
|
2928
|
+
"description": "Shows a criteria error as a toast notification."
|
|
2908
2929
|
}
|
|
2909
2930
|
],
|
|
2910
2931
|
"exports": [
|
|
2911
2932
|
{
|
|
2912
2933
|
"kind": "js",
|
|
2913
|
-
"name": "
|
|
2934
|
+
"name": "formatValidationErrors",
|
|
2914
2935
|
"declaration": {
|
|
2915
|
-
"name": "
|
|
2916
|
-
"module": "src/ai-criteria-search/
|
|
2936
|
+
"name": "formatValidationErrors",
|
|
2937
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2938
|
+
}
|
|
2939
|
+
},
|
|
2940
|
+
{
|
|
2941
|
+
"kind": "js",
|
|
2942
|
+
"name": "showCriteriaError",
|
|
2943
|
+
"declaration": {
|
|
2944
|
+
"name": "showCriteriaError",
|
|
2945
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2917
2946
|
}
|
|
2918
2947
|
}
|
|
2919
2948
|
]
|
|
2920
2949
|
},
|
|
2921
2950
|
{
|
|
2922
2951
|
"kind": "javascript-module",
|
|
2923
|
-
"path": "src/ai-
|
|
2952
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
2953
|
+
"declarations": [
|
|
2954
|
+
{
|
|
2955
|
+
"kind": "function",
|
|
2956
|
+
"name": "foundationAiIndicatorStyles",
|
|
2957
|
+
"return": {
|
|
2958
|
+
"type": {
|
|
2959
|
+
"text": "ElementStyles"
|
|
2960
|
+
}
|
|
2961
|
+
},
|
|
2962
|
+
"parameters": [
|
|
2963
|
+
{
|
|
2964
|
+
"name": "context",
|
|
2965
|
+
"type": {
|
|
2966
|
+
"text": "ElementDefinitionContext"
|
|
2967
|
+
}
|
|
2968
|
+
},
|
|
2969
|
+
{
|
|
2970
|
+
"name": "definition",
|
|
2971
|
+
"type": {
|
|
2972
|
+
"text": "FoundationElementDefinition"
|
|
2973
|
+
}
|
|
2974
|
+
}
|
|
2975
|
+
]
|
|
2976
|
+
}
|
|
2977
|
+
],
|
|
2978
|
+
"exports": [
|
|
2979
|
+
{
|
|
2980
|
+
"kind": "js",
|
|
2981
|
+
"name": "foundationAiIndicatorStyles",
|
|
2982
|
+
"declaration": {
|
|
2983
|
+
"name": "foundationAiIndicatorStyles",
|
|
2984
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
2985
|
+
}
|
|
2986
|
+
}
|
|
2987
|
+
]
|
|
2988
|
+
},
|
|
2989
|
+
{
|
|
2990
|
+
"kind": "javascript-module",
|
|
2991
|
+
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
2924
2992
|
"declarations": [
|
|
2925
2993
|
{
|
|
2926
2994
|
"kind": "variable",
|
|
2927
|
-
"name": "
|
|
2995
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2928
2996
|
"type": {
|
|
2929
|
-
"text": "ViewTemplate<
|
|
2997
|
+
"text": "ViewTemplate<AiIndicator>"
|
|
2930
2998
|
},
|
|
2931
|
-
"default": "html`\n ${(x) =>
|
|
2999
|
+
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
2932
3000
|
}
|
|
2933
3001
|
],
|
|
2934
3002
|
"exports": [
|
|
2935
3003
|
{
|
|
2936
3004
|
"kind": "js",
|
|
2937
|
-
"name": "
|
|
3005
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2938
3006
|
"declaration": {
|
|
2939
|
-
"name": "
|
|
2940
|
-
"module": "src/ai-
|
|
3007
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3008
|
+
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
2941
3009
|
}
|
|
2942
3010
|
}
|
|
2943
3011
|
]
|
|
2944
3012
|
},
|
|
2945
3013
|
{
|
|
2946
3014
|
"kind": "javascript-module",
|
|
2947
|
-
"path": "src/ai-
|
|
3015
|
+
"path": "src/ai-indicator/ai-indicator.ts",
|
|
2948
3016
|
"declarations": [
|
|
2949
3017
|
{
|
|
2950
3018
|
"kind": "class",
|
|
2951
|
-
"description": "
|
|
2952
|
-
"name": "
|
|
3019
|
+
"description": "",
|
|
3020
|
+
"name": "AiIndicator",
|
|
2953
3021
|
"members": [
|
|
2954
3022
|
{
|
|
2955
3023
|
"kind": "field",
|
|
@@ -2960,54 +3028,15 @@
|
|
|
2960
3028
|
},
|
|
2961
3029
|
{
|
|
2962
3030
|
"kind": "field",
|
|
2963
|
-
"name": "
|
|
2964
|
-
"type": {
|
|
2965
|
-
"text": "string"
|
|
2966
|
-
},
|
|
2967
|
-
"default": "'Describe your search criteria in natural language...'"
|
|
2968
|
-
},
|
|
2969
|
-
{
|
|
2970
|
-
"kind": "field",
|
|
2971
|
-
"name": "disabled",
|
|
2972
|
-
"type": {
|
|
2973
|
-
"text": "boolean"
|
|
2974
|
-
}
|
|
2975
|
-
},
|
|
2976
|
-
{
|
|
2977
|
-
"kind": "field",
|
|
2978
|
-
"name": "inputValue",
|
|
2979
|
-
"type": {
|
|
2980
|
-
"text": "string"
|
|
2981
|
-
},
|
|
2982
|
-
"default": "''"
|
|
2983
|
-
},
|
|
2984
|
-
{
|
|
2985
|
-
"kind": "field",
|
|
2986
|
-
"name": "isInterpreting",
|
|
2987
|
-
"type": {
|
|
2988
|
-
"text": "boolean"
|
|
2989
|
-
},
|
|
2990
|
-
"default": "false"
|
|
2991
|
-
},
|
|
2992
|
-
{
|
|
2993
|
-
"kind": "field",
|
|
2994
|
-
"name": "lastValidCriteria",
|
|
3031
|
+
"name": "status",
|
|
2995
3032
|
"type": {
|
|
2996
|
-
"text": "
|
|
3033
|
+
"text": "AIStatus | null"
|
|
2997
3034
|
},
|
|
2998
3035
|
"default": "null"
|
|
2999
3036
|
},
|
|
3000
3037
|
{
|
|
3001
3038
|
"kind": "field",
|
|
3002
|
-
"name": "
|
|
3003
|
-
"type": {
|
|
3004
|
-
"text": "CriteriaGroup[]"
|
|
3005
|
-
},
|
|
3006
|
-
"default": "[]"
|
|
3007
|
-
},
|
|
3008
|
-
{
|
|
3009
|
-
"kind": "field",
|
|
3010
|
-
"name": "showingChips",
|
|
3039
|
+
"name": "open",
|
|
3011
3040
|
"type": {
|
|
3012
3041
|
"text": "boolean"
|
|
3013
3042
|
},
|
|
@@ -3015,15 +3044,15 @@
|
|
|
3015
3044
|
},
|
|
3016
3045
|
{
|
|
3017
3046
|
"kind": "field",
|
|
3018
|
-
"name": "
|
|
3047
|
+
"name": "state",
|
|
3019
3048
|
"type": {
|
|
3020
|
-
"text": "
|
|
3049
|
+
"text": "AIIndicatorState"
|
|
3021
3050
|
},
|
|
3022
|
-
"default": "
|
|
3051
|
+
"default": "'none'"
|
|
3023
3052
|
},
|
|
3024
3053
|
{
|
|
3025
3054
|
"kind": "field",
|
|
3026
|
-
"name": "
|
|
3055
|
+
"name": "isInstalling",
|
|
3027
3056
|
"type": {
|
|
3028
3057
|
"text": "boolean"
|
|
3029
3058
|
},
|
|
@@ -3031,33 +3060,29 @@
|
|
|
3031
3060
|
},
|
|
3032
3061
|
{
|
|
3033
3062
|
"kind": "field",
|
|
3034
|
-
"name": "
|
|
3063
|
+
"name": "pollTimer",
|
|
3035
3064
|
"type": {
|
|
3036
|
-
"text": "
|
|
3065
|
+
"text": "ReturnType<typeof setInterval> | null"
|
|
3037
3066
|
},
|
|
3038
|
-
"privacy": "
|
|
3067
|
+
"privacy": "private",
|
|
3068
|
+
"default": "null"
|
|
3039
3069
|
},
|
|
3040
3070
|
{
|
|
3041
3071
|
"kind": "field",
|
|
3042
|
-
"name": "
|
|
3043
|
-
"
|
|
3044
|
-
"text": "(() => void) | null"
|
|
3045
|
-
},
|
|
3046
|
-
"privacy": "private",
|
|
3047
|
-
"default": "null"
|
|
3072
|
+
"name": "clickOutside",
|
|
3073
|
+
"privacy": "private"
|
|
3048
3074
|
},
|
|
3049
3075
|
{
|
|
3050
3076
|
"kind": "field",
|
|
3051
|
-
"name": "
|
|
3077
|
+
"name": "chromeStatusLabel",
|
|
3052
3078
|
"type": {
|
|
3053
|
-
"text": "
|
|
3079
|
+
"text": "string | null"
|
|
3054
3080
|
},
|
|
3055
|
-
"
|
|
3056
|
-
"default": "null"
|
|
3081
|
+
"readonly": true
|
|
3057
3082
|
},
|
|
3058
3083
|
{
|
|
3059
3084
|
"kind": "field",
|
|
3060
|
-
"name": "
|
|
3085
|
+
"name": "canInstall",
|
|
3061
3086
|
"type": {
|
|
3062
3087
|
"text": "boolean"
|
|
3063
3088
|
},
|
|
@@ -3065,65 +3090,69 @@
|
|
|
3065
3090
|
},
|
|
3066
3091
|
{
|
|
3067
3092
|
"kind": "field",
|
|
3068
|
-
"name": "
|
|
3093
|
+
"name": "isDownloading",
|
|
3069
3094
|
"type": {
|
|
3070
|
-
"text": "
|
|
3095
|
+
"text": "boolean"
|
|
3071
3096
|
},
|
|
3072
3097
|
"readonly": true
|
|
3073
3098
|
},
|
|
3074
3099
|
{
|
|
3075
3100
|
"kind": "method",
|
|
3076
|
-
"name": "
|
|
3077
|
-
"privacy": "private",
|
|
3101
|
+
"name": "openChanged",
|
|
3078
3102
|
"return": {
|
|
3079
3103
|
"type": {
|
|
3080
|
-
"text": "
|
|
3104
|
+
"text": "void"
|
|
3081
3105
|
}
|
|
3082
|
-
}
|
|
3106
|
+
}
|
|
3107
|
+
},
|
|
3108
|
+
{
|
|
3109
|
+
"kind": "method",
|
|
3110
|
+
"name": "handleClickOutside",
|
|
3111
|
+
"privacy": "private",
|
|
3083
3112
|
"parameters": [
|
|
3084
3113
|
{
|
|
3085
|
-
"name": "
|
|
3114
|
+
"name": "event",
|
|
3086
3115
|
"type": {
|
|
3087
|
-
"text": "
|
|
3116
|
+
"text": "MouseEvent"
|
|
3088
3117
|
}
|
|
3089
3118
|
}
|
|
3090
3119
|
]
|
|
3091
3120
|
},
|
|
3092
3121
|
{
|
|
3093
3122
|
"kind": "method",
|
|
3094
|
-
"name": "
|
|
3123
|
+
"name": "toggleDropdown"
|
|
3124
|
+
},
|
|
3125
|
+
{
|
|
3126
|
+
"kind": "method",
|
|
3127
|
+
"name": "refreshStatus",
|
|
3095
3128
|
"return": {
|
|
3096
3129
|
"type": {
|
|
3097
|
-
"text": "void"
|
|
3130
|
+
"text": "Promise<void>"
|
|
3098
3131
|
}
|
|
3099
3132
|
}
|
|
3100
3133
|
},
|
|
3101
3134
|
{
|
|
3102
3135
|
"kind": "method",
|
|
3103
|
-
"name": "
|
|
3136
|
+
"name": "deriveState",
|
|
3137
|
+
"privacy": "private",
|
|
3104
3138
|
"return": {
|
|
3105
3139
|
"type": {
|
|
3106
|
-
"text": "
|
|
3140
|
+
"text": "AIIndicatorState"
|
|
3107
3141
|
}
|
|
3108
3142
|
},
|
|
3109
3143
|
"parameters": [
|
|
3110
3144
|
{
|
|
3111
|
-
"name": "
|
|
3112
|
-
"type": {
|
|
3113
|
-
"text": "number"
|
|
3114
|
-
}
|
|
3115
|
-
},
|
|
3116
|
-
{
|
|
3117
|
-
"name": "clauseIndex",
|
|
3145
|
+
"name": "s",
|
|
3118
3146
|
"type": {
|
|
3119
|
-
"text": "
|
|
3147
|
+
"text": "AIStatus | null"
|
|
3120
3148
|
}
|
|
3121
3149
|
}
|
|
3122
3150
|
]
|
|
3123
3151
|
},
|
|
3124
3152
|
{
|
|
3125
3153
|
"kind": "method",
|
|
3126
|
-
"name": "
|
|
3154
|
+
"name": "maybeStartPolling",
|
|
3155
|
+
"privacy": "private",
|
|
3127
3156
|
"return": {
|
|
3128
3157
|
"type": {
|
|
3129
3158
|
"text": "void"
|
|
@@ -3132,24 +3161,32 @@
|
|
|
3132
3161
|
},
|
|
3133
3162
|
{
|
|
3134
3163
|
"kind": "method",
|
|
3135
|
-
"name": "
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
"kind": "method",
|
|
3143
|
-
"name": "clear"
|
|
3164
|
+
"name": "startPolling",
|
|
3165
|
+
"privacy": "private",
|
|
3166
|
+
"return": {
|
|
3167
|
+
"type": {
|
|
3168
|
+
"text": "void"
|
|
3169
|
+
}
|
|
3170
|
+
}
|
|
3144
3171
|
},
|
|
3145
3172
|
{
|
|
3146
3173
|
"kind": "method",
|
|
3147
|
-
"name": "
|
|
3174
|
+
"name": "stopPolling",
|
|
3175
|
+
"privacy": "private",
|
|
3176
|
+
"return": {
|
|
3177
|
+
"type": {
|
|
3178
|
+
"text": "void"
|
|
3179
|
+
}
|
|
3180
|
+
}
|
|
3148
3181
|
},
|
|
3149
3182
|
{
|
|
3150
3183
|
"kind": "method",
|
|
3151
|
-
"name": "
|
|
3152
|
-
"
|
|
3184
|
+
"name": "onInstall",
|
|
3185
|
+
"return": {
|
|
3186
|
+
"type": {
|
|
3187
|
+
"text": "Promise<void>"
|
|
3188
|
+
}
|
|
3189
|
+
}
|
|
3153
3190
|
},
|
|
3154
3191
|
{
|
|
3155
3192
|
"kind": "field",
|
|
@@ -3263,489 +3300,409 @@
|
|
|
3263
3300
|
}
|
|
3264
3301
|
}
|
|
3265
3302
|
],
|
|
3266
|
-
"events": [
|
|
3267
|
-
{
|
|
3268
|
-
"description": "Fired when interpreted criteria is applied or cleared",
|
|
3269
|
-
"name": "criteria-changed"
|
|
3270
|
-
},
|
|
3271
|
-
{
|
|
3272
|
-
"description": "Fired when interpreted criteria contains invalid clauses",
|
|
3273
|
-
"name": "validation-errors"
|
|
3274
|
-
}
|
|
3275
|
-
],
|
|
3276
|
-
"attributes": [
|
|
3277
|
-
{
|
|
3278
|
-
"name": "placeholder",
|
|
3279
|
-
"type": {
|
|
3280
|
-
"text": "string"
|
|
3281
|
-
},
|
|
3282
|
-
"default": "'Describe your search criteria in natural language...'",
|
|
3283
|
-
"fieldName": "placeholder"
|
|
3284
|
-
},
|
|
3285
|
-
{
|
|
3286
|
-
"type": {
|
|
3287
|
-
"text": "boolean"
|
|
3288
|
-
},
|
|
3289
|
-
"fieldName": "disabled"
|
|
3290
|
-
}
|
|
3291
|
-
],
|
|
3292
3303
|
"superclass": {
|
|
3293
|
-
"name": "FoundationElement",
|
|
3294
|
-
"package": "@microsoft/fast-foundation"
|
|
3295
|
-
},
|
|
3296
|
-
"tagName": "%%prefix%%-ai-
|
|
3297
|
-
"customElement": true
|
|
3298
|
-
},
|
|
3299
|
-
{
|
|
3300
|
-
"kind": "variable",
|
|
3301
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3302
|
-
"type": {
|
|
3303
|
-
"text": "ShadowRootInit"
|
|
3304
|
-
},
|
|
3305
|
-
"default": "undefined"
|
|
3306
|
-
},
|
|
3307
|
-
{
|
|
3308
|
-
"kind": "variable",
|
|
3309
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3310
|
-
"type": {
|
|
3311
|
-
"text": "object"
|
|
3312
|
-
},
|
|
3313
|
-
"default": "{}"
|
|
3314
|
-
},
|
|
3315
|
-
{
|
|
3316
|
-
"kind": "variable",
|
|
3317
|
-
"name": "foundationAiCriteriaSearch"
|
|
3318
|
-
}
|
|
3319
|
-
],
|
|
3320
|
-
"exports": [
|
|
3321
|
-
{
|
|
3322
|
-
"kind": "js",
|
|
3323
|
-
"name": "AiCriteriaSearch",
|
|
3324
|
-
"declaration": {
|
|
3325
|
-
"name": "AiCriteriaSearch",
|
|
3326
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3327
|
-
}
|
|
3328
|
-
},
|
|
3329
|
-
{
|
|
3330
|
-
"kind": "js",
|
|
3331
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3332
|
-
"declaration": {
|
|
3333
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3334
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3335
|
-
}
|
|
3304
|
+
"name": "FoundationElement",
|
|
3305
|
+
"package": "@microsoft/fast-foundation"
|
|
3306
|
+
},
|
|
3307
|
+
"tagName": "%%prefix%%-ai-indicator",
|
|
3308
|
+
"customElement": true
|
|
3336
3309
|
},
|
|
3310
|
+
{
|
|
3311
|
+
"kind": "variable",
|
|
3312
|
+
"name": "foundationAiIndicator"
|
|
3313
|
+
}
|
|
3314
|
+
],
|
|
3315
|
+
"exports": [
|
|
3337
3316
|
{
|
|
3338
3317
|
"kind": "js",
|
|
3339
|
-
"name": "
|
|
3318
|
+
"name": "AiIndicator",
|
|
3340
3319
|
"declaration": {
|
|
3341
|
-
"name": "
|
|
3342
|
-
"module": "src/ai-
|
|
3320
|
+
"name": "AiIndicator",
|
|
3321
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3343
3322
|
}
|
|
3344
3323
|
},
|
|
3345
3324
|
{
|
|
3346
3325
|
"kind": "js",
|
|
3347
|
-
"name": "
|
|
3326
|
+
"name": "foundationAiIndicator",
|
|
3348
3327
|
"declaration": {
|
|
3349
|
-
"name": "
|
|
3350
|
-
"module": "src/ai-
|
|
3328
|
+
"name": "foundationAiIndicator",
|
|
3329
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3351
3330
|
}
|
|
3352
3331
|
}
|
|
3353
3332
|
]
|
|
3354
3333
|
},
|
|
3355
3334
|
{
|
|
3356
3335
|
"kind": "javascript-module",
|
|
3357
|
-
"path": "src/ai-
|
|
3336
|
+
"path": "src/ai-indicator/index.ts",
|
|
3358
3337
|
"declarations": [],
|
|
3359
3338
|
"exports": [
|
|
3360
3339
|
{
|
|
3361
3340
|
"kind": "js",
|
|
3362
|
-
"name": "
|
|
3363
|
-
"declaration": {
|
|
3364
|
-
"name": "AiCriteriaSearch",
|
|
3365
|
-
"module": "./ai-criteria-search"
|
|
3366
|
-
}
|
|
3367
|
-
},
|
|
3368
|
-
{
|
|
3369
|
-
"kind": "js",
|
|
3370
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3371
|
-
"declaration": {
|
|
3372
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3373
|
-
"module": "./ai-criteria-search"
|
|
3374
|
-
}
|
|
3375
|
-
},
|
|
3376
|
-
{
|
|
3377
|
-
"kind": "js",
|
|
3378
|
-
"name": "foundationAiCriteriaSearch",
|
|
3379
|
-
"declaration": {
|
|
3380
|
-
"name": "foundationAiCriteriaSearch",
|
|
3381
|
-
"module": "./ai-criteria-search"
|
|
3382
|
-
}
|
|
3383
|
-
},
|
|
3384
|
-
{
|
|
3385
|
-
"kind": "js",
|
|
3386
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3341
|
+
"name": "AiIndicator",
|
|
3387
3342
|
"declaration": {
|
|
3388
|
-
"name": "
|
|
3389
|
-
"module": "./ai-
|
|
3343
|
+
"name": "AiIndicator",
|
|
3344
|
+
"module": "./ai-indicator"
|
|
3390
3345
|
}
|
|
3391
3346
|
},
|
|
3392
3347
|
{
|
|
3393
3348
|
"kind": "js",
|
|
3394
|
-
"name": "
|
|
3349
|
+
"name": "foundationAiIndicator",
|
|
3395
3350
|
"declaration": {
|
|
3396
|
-
"name": "
|
|
3397
|
-
"module": "./ai-
|
|
3351
|
+
"name": "foundationAiIndicator",
|
|
3352
|
+
"module": "./ai-indicator"
|
|
3398
3353
|
}
|
|
3399
3354
|
},
|
|
3400
3355
|
{
|
|
3401
3356
|
"kind": "js",
|
|
3402
|
-
"name": "
|
|
3357
|
+
"name": "type",
|
|
3403
3358
|
"declaration": {
|
|
3404
|
-
"name": "
|
|
3405
|
-
"module": "./ai-
|
|
3359
|
+
"name": "type",
|
|
3360
|
+
"module": "./ai-indicator"
|
|
3406
3361
|
}
|
|
3407
3362
|
},
|
|
3408
3363
|
{
|
|
3409
3364
|
"kind": "js",
|
|
3410
|
-
"name": "
|
|
3365
|
+
"name": "AIIndicatorState",
|
|
3411
3366
|
"declaration": {
|
|
3412
|
-
"name": "
|
|
3413
|
-
"
|
|
3367
|
+
"name": "AIIndicatorState",
|
|
3368
|
+
"module": "./ai-indicator"
|
|
3414
3369
|
}
|
|
3415
3370
|
},
|
|
3416
3371
|
{
|
|
3417
3372
|
"kind": "js",
|
|
3418
|
-
"name": "
|
|
3373
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3419
3374
|
"declaration": {
|
|
3420
|
-
"name": "
|
|
3421
|
-
"
|
|
3375
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3376
|
+
"module": "./ai-indicator.template"
|
|
3422
3377
|
}
|
|
3423
3378
|
},
|
|
3424
3379
|
{
|
|
3425
3380
|
"kind": "js",
|
|
3426
|
-
"name": "
|
|
3381
|
+
"name": "foundationAiIndicatorStyles",
|
|
3427
3382
|
"declaration": {
|
|
3428
|
-
"name": "
|
|
3429
|
-
"
|
|
3383
|
+
"name": "foundationAiIndicatorStyles",
|
|
3384
|
+
"module": "./ai-indicator.styles"
|
|
3430
3385
|
}
|
|
3431
3386
|
}
|
|
3432
3387
|
]
|
|
3433
3388
|
},
|
|
3434
3389
|
{
|
|
3435
3390
|
"kind": "javascript-module",
|
|
3436
|
-
"path": "src/
|
|
3391
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
3437
3392
|
"declarations": [
|
|
3438
3393
|
{
|
|
3439
3394
|
"kind": "function",
|
|
3440
|
-
"name": "
|
|
3395
|
+
"name": "actionsMenuBaseStyles",
|
|
3441
3396
|
"return": {
|
|
3442
3397
|
"type": {
|
|
3443
|
-
"text": "
|
|
3398
|
+
"text": "ElementStyles"
|
|
3444
3399
|
}
|
|
3445
3400
|
},
|
|
3446
3401
|
"parameters": [
|
|
3447
3402
|
{
|
|
3448
|
-
"name": "
|
|
3403
|
+
"name": "context",
|
|
3449
3404
|
"type": {
|
|
3450
|
-
"text": "
|
|
3405
|
+
"text": "ElementDefinitionContext"
|
|
3406
|
+
}
|
|
3407
|
+
},
|
|
3408
|
+
{
|
|
3409
|
+
"name": "definition",
|
|
3410
|
+
"type": {
|
|
3411
|
+
"text": "FoundationElementDefinition"
|
|
3451
3412
|
}
|
|
3452
3413
|
}
|
|
3453
|
-
]
|
|
3454
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
3414
|
+
]
|
|
3455
3415
|
},
|
|
3456
3416
|
{
|
|
3457
3417
|
"kind": "function",
|
|
3458
|
-
"name": "
|
|
3418
|
+
"name": "foundationActionsMenuStyles",
|
|
3459
3419
|
"return": {
|
|
3460
3420
|
"type": {
|
|
3461
|
-
"text": "
|
|
3421
|
+
"text": "ElementStyles"
|
|
3462
3422
|
}
|
|
3463
3423
|
},
|
|
3464
3424
|
"parameters": [
|
|
3465
3425
|
{
|
|
3466
|
-
"name": "
|
|
3467
|
-
"type": {
|
|
3468
|
-
"text": "string"
|
|
3469
|
-
},
|
|
3470
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3471
|
-
},
|
|
3472
|
-
{
|
|
3473
|
-
"name": "body",
|
|
3426
|
+
"name": "context",
|
|
3474
3427
|
"type": {
|
|
3475
|
-
"text": "
|
|
3476
|
-
}
|
|
3477
|
-
"description": "Error message to display"
|
|
3428
|
+
"text": "ElementDefinitionContext"
|
|
3429
|
+
}
|
|
3478
3430
|
},
|
|
3479
3431
|
{
|
|
3480
|
-
"name": "
|
|
3432
|
+
"name": "definition",
|
|
3481
3433
|
"type": {
|
|
3482
|
-
"text": "
|
|
3483
|
-
}
|
|
3484
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3434
|
+
"text": "FoundationElementDefinition"
|
|
3435
|
+
}
|
|
3485
3436
|
}
|
|
3486
|
-
]
|
|
3487
|
-
"description": "Shows a criteria error as a toast notification."
|
|
3437
|
+
]
|
|
3488
3438
|
}
|
|
3489
3439
|
],
|
|
3490
3440
|
"exports": [
|
|
3491
3441
|
{
|
|
3492
3442
|
"kind": "js",
|
|
3493
|
-
"name": "
|
|
3443
|
+
"name": "actionsMenuBaseStyles",
|
|
3494
3444
|
"declaration": {
|
|
3495
|
-
"name": "
|
|
3496
|
-
"module": "src/
|
|
3445
|
+
"name": "actionsMenuBaseStyles",
|
|
3446
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
3497
3447
|
}
|
|
3498
3448
|
},
|
|
3499
3449
|
{
|
|
3500
3450
|
"kind": "js",
|
|
3501
|
-
"name": "
|
|
3451
|
+
"name": "foundationActionsMenuStyles",
|
|
3502
3452
|
"declaration": {
|
|
3503
|
-
"name": "
|
|
3504
|
-
"module": "src/
|
|
3453
|
+
"name": "foundationActionsMenuStyles",
|
|
3454
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
3505
3455
|
}
|
|
3506
3456
|
}
|
|
3507
3457
|
]
|
|
3508
3458
|
},
|
|
3509
3459
|
{
|
|
3510
3460
|
"kind": "javascript-module",
|
|
3511
|
-
"path": "src/
|
|
3461
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
3512
3462
|
"declarations": [
|
|
3513
3463
|
{
|
|
3514
3464
|
"kind": "function",
|
|
3515
|
-
"name": "
|
|
3516
|
-
"return": {
|
|
3517
|
-
"type": {
|
|
3518
|
-
"text": "ElementStyles"
|
|
3519
|
-
}
|
|
3520
|
-
},
|
|
3465
|
+
"name": "menuTemplate",
|
|
3521
3466
|
"parameters": [
|
|
3522
3467
|
{
|
|
3523
|
-
"name": "
|
|
3468
|
+
"name": "prefix",
|
|
3524
3469
|
"type": {
|
|
3525
|
-
"text": "
|
|
3470
|
+
"text": "string"
|
|
3526
3471
|
}
|
|
3527
|
-
}
|
|
3472
|
+
}
|
|
3473
|
+
]
|
|
3474
|
+
},
|
|
3475
|
+
{
|
|
3476
|
+
"kind": "function",
|
|
3477
|
+
"name": "singleOptionTemplate",
|
|
3478
|
+
"parameters": [
|
|
3528
3479
|
{
|
|
3529
|
-
"name": "
|
|
3480
|
+
"name": "prefix",
|
|
3530
3481
|
"type": {
|
|
3531
|
-
"text": "
|
|
3482
|
+
"text": "string"
|
|
3532
3483
|
}
|
|
3533
3484
|
}
|
|
3534
3485
|
]
|
|
3486
|
+
},
|
|
3487
|
+
{
|
|
3488
|
+
"kind": "variable",
|
|
3489
|
+
"name": "foundationActionsMenuTemplate",
|
|
3490
|
+
"type": {
|
|
3491
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
3492
|
+
},
|
|
3493
|
+
"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`"
|
|
3535
3494
|
}
|
|
3536
3495
|
],
|
|
3537
3496
|
"exports": [
|
|
3538
3497
|
{
|
|
3539
3498
|
"kind": "js",
|
|
3540
|
-
"name": "
|
|
3499
|
+
"name": "menuTemplate",
|
|
3541
3500
|
"declaration": {
|
|
3542
|
-
"name": "
|
|
3543
|
-
"module": "src/
|
|
3501
|
+
"name": "menuTemplate",
|
|
3502
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
3544
3503
|
}
|
|
3545
|
-
}
|
|
3546
|
-
]
|
|
3547
|
-
},
|
|
3548
|
-
{
|
|
3549
|
-
"kind": "javascript-module",
|
|
3550
|
-
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
3551
|
-
"declarations": [
|
|
3504
|
+
},
|
|
3552
3505
|
{
|
|
3553
|
-
"kind": "
|
|
3554
|
-
"name": "
|
|
3555
|
-
"
|
|
3556
|
-
"
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
}
|
|
3560
|
-
],
|
|
3561
|
-
"exports": [
|
|
3506
|
+
"kind": "js",
|
|
3507
|
+
"name": "singleOptionTemplate",
|
|
3508
|
+
"declaration": {
|
|
3509
|
+
"name": "singleOptionTemplate",
|
|
3510
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
3511
|
+
}
|
|
3512
|
+
},
|
|
3562
3513
|
{
|
|
3563
3514
|
"kind": "js",
|
|
3564
|
-
"name": "
|
|
3515
|
+
"name": "foundationActionsMenuTemplate",
|
|
3565
3516
|
"declaration": {
|
|
3566
|
-
"name": "
|
|
3567
|
-
"module": "src/
|
|
3517
|
+
"name": "foundationActionsMenuTemplate",
|
|
3518
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
3568
3519
|
}
|
|
3569
3520
|
}
|
|
3570
3521
|
]
|
|
3571
3522
|
},
|
|
3572
3523
|
{
|
|
3573
3524
|
"kind": "javascript-module",
|
|
3574
|
-
"path": "src/
|
|
3525
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
3575
3526
|
"declarations": [
|
|
3576
3527
|
{
|
|
3577
3528
|
"kind": "class",
|
|
3578
3529
|
"description": "",
|
|
3579
|
-
"name": "
|
|
3530
|
+
"name": "ActionsMenu",
|
|
3580
3531
|
"members": [
|
|
3581
3532
|
{
|
|
3582
3533
|
"kind": "field",
|
|
3583
|
-
"name": "
|
|
3534
|
+
"name": "actions",
|
|
3584
3535
|
"type": {
|
|
3585
|
-
"text": "
|
|
3536
|
+
"text": "ActionMenuItem[]"
|
|
3586
3537
|
}
|
|
3587
3538
|
},
|
|
3588
3539
|
{
|
|
3589
3540
|
"kind": "field",
|
|
3590
|
-
"name": "
|
|
3541
|
+
"name": "isVertical",
|
|
3591
3542
|
"type": {
|
|
3592
|
-
"text": "
|
|
3543
|
+
"text": "boolean"
|
|
3593
3544
|
},
|
|
3594
|
-
"default": "
|
|
3545
|
+
"default": "false"
|
|
3595
3546
|
},
|
|
3596
3547
|
{
|
|
3597
3548
|
"kind": "field",
|
|
3598
|
-
"name": "
|
|
3549
|
+
"name": "addDefaultActions",
|
|
3599
3550
|
"type": {
|
|
3600
3551
|
"text": "boolean"
|
|
3601
3552
|
},
|
|
3602
|
-
"default": "
|
|
3553
|
+
"default": "true"
|
|
3603
3554
|
},
|
|
3604
3555
|
{
|
|
3605
3556
|
"kind": "field",
|
|
3606
|
-
"name": "
|
|
3557
|
+
"name": "autoCloseOnAction",
|
|
3607
3558
|
"type": {
|
|
3608
|
-
"text": "
|
|
3559
|
+
"text": "boolean"
|
|
3609
3560
|
},
|
|
3610
|
-
"default": "
|
|
3561
|
+
"default": "true"
|
|
3611
3562
|
},
|
|
3612
3563
|
{
|
|
3613
3564
|
"kind": "field",
|
|
3614
|
-
"name": "
|
|
3565
|
+
"name": "classNames",
|
|
3615
3566
|
"type": {
|
|
3616
|
-
"text": "
|
|
3567
|
+
"text": "string"
|
|
3568
|
+
}
|
|
3569
|
+
},
|
|
3570
|
+
{
|
|
3571
|
+
"kind": "field",
|
|
3572
|
+
"name": "definition",
|
|
3573
|
+
"type": {
|
|
3574
|
+
"text": "any"
|
|
3575
|
+
}
|
|
3576
|
+
},
|
|
3577
|
+
{
|
|
3578
|
+
"kind": "field",
|
|
3579
|
+
"name": "name",
|
|
3580
|
+
"type": {
|
|
3581
|
+
"text": "string"
|
|
3617
3582
|
},
|
|
3618
|
-
"default": "
|
|
3583
|
+
"default": "'Actions'"
|
|
3619
3584
|
},
|
|
3620
3585
|
{
|
|
3621
3586
|
"kind": "field",
|
|
3622
|
-
"name": "
|
|
3587
|
+
"name": "open",
|
|
3623
3588
|
"type": {
|
|
3624
|
-
"text": "
|
|
3589
|
+
"text": "boolean"
|
|
3625
3590
|
},
|
|
3626
|
-
"
|
|
3627
|
-
"default": "null"
|
|
3591
|
+
"default": "false"
|
|
3628
3592
|
},
|
|
3629
3593
|
{
|
|
3630
3594
|
"kind": "field",
|
|
3631
|
-
"name": "
|
|
3632
|
-
"
|
|
3595
|
+
"name": "buttonAppearance",
|
|
3596
|
+
"type": {
|
|
3597
|
+
"text": "string"
|
|
3598
|
+
}
|
|
3633
3599
|
},
|
|
3634
3600
|
{
|
|
3635
3601
|
"kind": "field",
|
|
3636
|
-
"name": "
|
|
3602
|
+
"name": "hideDisabled",
|
|
3637
3603
|
"type": {
|
|
3638
|
-
"text": "
|
|
3604
|
+
"text": "boolean"
|
|
3639
3605
|
},
|
|
3640
|
-
"
|
|
3606
|
+
"default": "false"
|
|
3641
3607
|
},
|
|
3642
3608
|
{
|
|
3643
3609
|
"kind": "field",
|
|
3644
|
-
"name": "
|
|
3610
|
+
"name": "hideMenuSingleOption",
|
|
3645
3611
|
"type": {
|
|
3646
3612
|
"text": "boolean"
|
|
3647
3613
|
},
|
|
3648
|
-
"
|
|
3614
|
+
"default": "false"
|
|
3649
3615
|
},
|
|
3650
3616
|
{
|
|
3651
3617
|
"kind": "field",
|
|
3652
|
-
"name": "
|
|
3618
|
+
"name": "singleOption",
|
|
3653
3619
|
"type": {
|
|
3654
|
-
"text": "
|
|
3655
|
-
}
|
|
3656
|
-
"readonly": true
|
|
3620
|
+
"text": "ActionMenuItem"
|
|
3621
|
+
}
|
|
3657
3622
|
},
|
|
3658
3623
|
{
|
|
3659
|
-
"kind": "
|
|
3660
|
-
"name": "
|
|
3661
|
-
"
|
|
3662
|
-
"
|
|
3663
|
-
"text": "void"
|
|
3664
|
-
}
|
|
3624
|
+
"kind": "field",
|
|
3625
|
+
"name": "actionsMenu",
|
|
3626
|
+
"type": {
|
|
3627
|
+
"text": "HTMLElement"
|
|
3665
3628
|
}
|
|
3666
3629
|
},
|
|
3667
3630
|
{
|
|
3668
3631
|
"kind": "method",
|
|
3669
|
-
"name": "
|
|
3670
|
-
"privacy": "
|
|
3632
|
+
"name": "definitionChanged",
|
|
3633
|
+
"privacy": "protected",
|
|
3671
3634
|
"parameters": [
|
|
3672
3635
|
{
|
|
3673
|
-
"name": "
|
|
3636
|
+
"name": "oldValue",
|
|
3674
3637
|
"type": {
|
|
3675
|
-
"text": "
|
|
3638
|
+
"text": "any"
|
|
3639
|
+
}
|
|
3640
|
+
},
|
|
3641
|
+
{
|
|
3642
|
+
"name": "newValue",
|
|
3643
|
+
"type": {
|
|
3644
|
+
"text": "any"
|
|
3676
3645
|
}
|
|
3677
3646
|
}
|
|
3678
3647
|
]
|
|
3679
3648
|
},
|
|
3680
3649
|
{
|
|
3681
3650
|
"kind": "method",
|
|
3682
|
-
"name": "
|
|
3651
|
+
"name": "openChanged",
|
|
3652
|
+
"privacy": "protected"
|
|
3683
3653
|
},
|
|
3684
3654
|
{
|
|
3685
3655
|
"kind": "method",
|
|
3686
|
-
"name": "
|
|
3687
|
-
"return": {
|
|
3688
|
-
"type": {
|
|
3689
|
-
"text": "Promise<void>"
|
|
3690
|
-
}
|
|
3691
|
-
}
|
|
3656
|
+
"name": "toggleActionsMenuVisibility"
|
|
3692
3657
|
},
|
|
3693
3658
|
{
|
|
3694
3659
|
"kind": "method",
|
|
3695
|
-
"name": "
|
|
3696
|
-
"privacy": "private",
|
|
3697
|
-
"return": {
|
|
3698
|
-
"type": {
|
|
3699
|
-
"text": "AIIndicatorState"
|
|
3700
|
-
}
|
|
3701
|
-
},
|
|
3660
|
+
"name": "onActionMenuItemClick",
|
|
3702
3661
|
"parameters": [
|
|
3703
3662
|
{
|
|
3704
|
-
"name": "
|
|
3663
|
+
"name": "callback",
|
|
3705
3664
|
"type": {
|
|
3706
|
-
"text": "
|
|
3665
|
+
"text": "(rowData) => void | any"
|
|
3707
3666
|
}
|
|
3708
3667
|
}
|
|
3709
3668
|
]
|
|
3710
3669
|
},
|
|
3711
3670
|
{
|
|
3712
|
-
"kind": "
|
|
3713
|
-
"name": "
|
|
3714
|
-
"
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
|
|
3718
|
-
}
|
|
3719
|
-
}
|
|
3671
|
+
"kind": "field",
|
|
3672
|
+
"name": "allActions",
|
|
3673
|
+
"type": {
|
|
3674
|
+
"text": "ActionMenuItem[]"
|
|
3675
|
+
},
|
|
3676
|
+
"readonly": true
|
|
3720
3677
|
},
|
|
3721
3678
|
{
|
|
3722
|
-
"kind": "
|
|
3723
|
-
"name": "
|
|
3724
|
-
"
|
|
3725
|
-
"return": {
|
|
3726
|
-
"type": {
|
|
3727
|
-
"text": "void"
|
|
3728
|
-
}
|
|
3729
|
-
}
|
|
3679
|
+
"kind": "field",
|
|
3680
|
+
"name": "rowData",
|
|
3681
|
+
"readonly": true
|
|
3730
3682
|
},
|
|
3731
3683
|
{
|
|
3732
3684
|
"kind": "method",
|
|
3733
|
-
"name": "
|
|
3734
|
-
"
|
|
3735
|
-
|
|
3736
|
-
|
|
3737
|
-
"
|
|
3685
|
+
"name": "getLabel",
|
|
3686
|
+
"parameters": [
|
|
3687
|
+
{
|
|
3688
|
+
"name": "name",
|
|
3689
|
+
"type": {
|
|
3690
|
+
"text": "string | ((rowData: any) => string)"
|
|
3691
|
+
}
|
|
3738
3692
|
}
|
|
3739
|
-
|
|
3693
|
+
]
|
|
3740
3694
|
},
|
|
3741
3695
|
{
|
|
3742
3696
|
"kind": "method",
|
|
3743
|
-
"name": "
|
|
3744
|
-
"
|
|
3745
|
-
|
|
3746
|
-
"
|
|
3697
|
+
"name": "getTemplate",
|
|
3698
|
+
"parameters": [
|
|
3699
|
+
{
|
|
3700
|
+
"name": "prefix",
|
|
3701
|
+
"type": {
|
|
3702
|
+
"text": "string"
|
|
3703
|
+
}
|
|
3747
3704
|
}
|
|
3748
|
-
|
|
3705
|
+
]
|
|
3749
3706
|
},
|
|
3750
3707
|
{
|
|
3751
3708
|
"kind": "field",
|
|
@@ -3859,88 +3816,131 @@
|
|
|
3859
3816
|
}
|
|
3860
3817
|
}
|
|
3861
3818
|
],
|
|
3819
|
+
"attributes": [
|
|
3820
|
+
{
|
|
3821
|
+
"name": "is-vertical",
|
|
3822
|
+
"type": {
|
|
3823
|
+
"text": "boolean"
|
|
3824
|
+
},
|
|
3825
|
+
"default": "false",
|
|
3826
|
+
"fieldName": "isVertical"
|
|
3827
|
+
},
|
|
3828
|
+
{
|
|
3829
|
+
"name": "add-default-actions",
|
|
3830
|
+
"type": {
|
|
3831
|
+
"text": "boolean"
|
|
3832
|
+
},
|
|
3833
|
+
"default": "true",
|
|
3834
|
+
"fieldName": "addDefaultActions"
|
|
3835
|
+
},
|
|
3836
|
+
{
|
|
3837
|
+
"name": "auto-close-on-action",
|
|
3838
|
+
"type": {
|
|
3839
|
+
"text": "boolean"
|
|
3840
|
+
},
|
|
3841
|
+
"default": "true",
|
|
3842
|
+
"fieldName": "autoCloseOnAction"
|
|
3843
|
+
},
|
|
3844
|
+
{
|
|
3845
|
+
"name": "name",
|
|
3846
|
+
"type": {
|
|
3847
|
+
"text": "string"
|
|
3848
|
+
},
|
|
3849
|
+
"default": "'Actions'",
|
|
3850
|
+
"fieldName": "name"
|
|
3851
|
+
},
|
|
3852
|
+
{
|
|
3853
|
+
"name": "open",
|
|
3854
|
+
"type": {
|
|
3855
|
+
"text": "boolean"
|
|
3856
|
+
},
|
|
3857
|
+
"default": "false",
|
|
3858
|
+
"fieldName": "open"
|
|
3859
|
+
},
|
|
3860
|
+
{
|
|
3861
|
+
"name": "buttonAppearance",
|
|
3862
|
+
"type": {
|
|
3863
|
+
"text": "string"
|
|
3864
|
+
},
|
|
3865
|
+
"fieldName": "buttonAppearance"
|
|
3866
|
+
},
|
|
3867
|
+
{
|
|
3868
|
+
"name": "hide-disabled",
|
|
3869
|
+
"type": {
|
|
3870
|
+
"text": "boolean"
|
|
3871
|
+
},
|
|
3872
|
+
"default": "false",
|
|
3873
|
+
"fieldName": "hideDisabled"
|
|
3874
|
+
},
|
|
3875
|
+
{
|
|
3876
|
+
"name": "hide-menu-single-option",
|
|
3877
|
+
"type": {
|
|
3878
|
+
"text": "boolean"
|
|
3879
|
+
},
|
|
3880
|
+
"default": "false",
|
|
3881
|
+
"fieldName": "hideMenuSingleOption"
|
|
3882
|
+
}
|
|
3883
|
+
],
|
|
3862
3884
|
"superclass": {
|
|
3863
3885
|
"name": "FoundationElement",
|
|
3864
3886
|
"package": "@microsoft/fast-foundation"
|
|
3865
3887
|
},
|
|
3866
|
-
"tagName": "%%prefix%%-
|
|
3888
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
3867
3889
|
"customElement": true
|
|
3868
3890
|
},
|
|
3869
3891
|
{
|
|
3870
3892
|
"kind": "variable",
|
|
3871
|
-
"name": "
|
|
3893
|
+
"name": "foundationActionsMenu",
|
|
3894
|
+
"description": "The Foundation Actions Menu",
|
|
3895
|
+
"privacy": "public"
|
|
3872
3896
|
}
|
|
3873
3897
|
],
|
|
3874
3898
|
"exports": [
|
|
3875
3899
|
{
|
|
3876
3900
|
"kind": "js",
|
|
3877
|
-
"name": "
|
|
3901
|
+
"name": "ActionsMenu",
|
|
3878
3902
|
"declaration": {
|
|
3879
|
-
"name": "
|
|
3880
|
-
"module": "src/
|
|
3903
|
+
"name": "ActionsMenu",
|
|
3904
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
3881
3905
|
}
|
|
3882
3906
|
},
|
|
3883
3907
|
{
|
|
3884
3908
|
"kind": "js",
|
|
3885
|
-
"name": "
|
|
3909
|
+
"name": "foundationActionsMenu",
|
|
3886
3910
|
"declaration": {
|
|
3887
|
-
"name": "
|
|
3888
|
-
"module": "src/
|
|
3911
|
+
"name": "foundationActionsMenu",
|
|
3912
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
3889
3913
|
}
|
|
3890
3914
|
}
|
|
3891
3915
|
]
|
|
3892
3916
|
},
|
|
3893
3917
|
{
|
|
3894
3918
|
"kind": "javascript-module",
|
|
3895
|
-
"path": "src/
|
|
3919
|
+
"path": "src/actions-menu/index.ts",
|
|
3896
3920
|
"declarations": [],
|
|
3897
3921
|
"exports": [
|
|
3898
3922
|
{
|
|
3899
3923
|
"kind": "js",
|
|
3900
|
-
"name": "
|
|
3901
|
-
"declaration": {
|
|
3902
|
-
"name": "AiIndicator",
|
|
3903
|
-
"module": "./ai-indicator"
|
|
3904
|
-
}
|
|
3905
|
-
},
|
|
3906
|
-
{
|
|
3907
|
-
"kind": "js",
|
|
3908
|
-
"name": "foundationAiIndicator",
|
|
3909
|
-
"declaration": {
|
|
3910
|
-
"name": "foundationAiIndicator",
|
|
3911
|
-
"module": "./ai-indicator"
|
|
3912
|
-
}
|
|
3913
|
-
},
|
|
3914
|
-
{
|
|
3915
|
-
"kind": "js",
|
|
3916
|
-
"name": "type",
|
|
3917
|
-
"declaration": {
|
|
3918
|
-
"name": "type",
|
|
3919
|
-
"module": "./ai-indicator"
|
|
3920
|
-
}
|
|
3921
|
-
},
|
|
3922
|
-
{
|
|
3923
|
-
"kind": "js",
|
|
3924
|
-
"name": "AIIndicatorState",
|
|
3924
|
+
"name": "*",
|
|
3925
3925
|
"declaration": {
|
|
3926
|
-
"name": "
|
|
3927
|
-
"
|
|
3926
|
+
"name": "*",
|
|
3927
|
+
"package": "./actions-menu.styles"
|
|
3928
3928
|
}
|
|
3929
3929
|
},
|
|
3930
3930
|
{
|
|
3931
3931
|
"kind": "js",
|
|
3932
|
-
"name": "
|
|
3932
|
+
"name": "*",
|
|
3933
3933
|
"declaration": {
|
|
3934
|
-
"name": "
|
|
3935
|
-
"
|
|
3934
|
+
"name": "*",
|
|
3935
|
+
"package": "./actions-menu.template"
|
|
3936
3936
|
}
|
|
3937
3937
|
},
|
|
3938
3938
|
{
|
|
3939
3939
|
"kind": "js",
|
|
3940
|
-
"name": "
|
|
3940
|
+
"name": "*",
|
|
3941
3941
|
"declaration": {
|
|
3942
|
-
"name": "
|
|
3943
|
-
"
|
|
3942
|
+
"name": "*",
|
|
3943
|
+
"package": "./actions-menu"
|
|
3944
3944
|
}
|
|
3945
3945
|
}
|
|
3946
3946
|
]
|