@genesislcap/foundation-ui 14.489.0 → 14.489.1-alpha-519bcd2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +960 -555
- package/dist/dts/base-components.d.ts +11 -0
- package/dist/dts/base-components.d.ts.map +1 -1
- package/dist/dts/index.d.ts +1 -0
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/dts/pill/index.d.ts +4 -0
- package/dist/dts/pill/index.d.ts.map +1 -0
- package/dist/dts/pill/pill.d.ts +58 -0
- package/dist/dts/pill/pill.d.ts.map +1 -0
- package/dist/dts/pill/pill.styles.d.ts +2 -0
- package/dist/dts/pill/pill.styles.d.ts.map +1 -0
- package/dist/dts/pill/pill.template.d.ts +3 -0
- package/dist/dts/pill/pill.template.d.ts.map +1 -0
- package/dist/dts/react.d.ts +21 -9
- package/dist/esm/base-components.js +2 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/pill/index.js +3 -0
- package/dist/esm/pill/pill.js +63 -0
- package/dist/esm/pill/pill.styles.js +75 -0
- package/dist/esm/pill/pill.template.js +38 -0
- package/dist/foundation-ui.api.json +588 -1
- package/dist/foundation-ui.d.ts +75 -0
- package/dist/react.cjs +30 -6
- package/dist/react.mjs +28 -5
- package/package.json +19 -19
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"type": {
|
|
13
13
|
"text": "object"
|
|
14
14
|
},
|
|
15
|
-
"default": "{\n foundationAccordion,\n foundationAiCriteriaSearch,\n foundationAiIndicator,\n foundationAccordionItem,\n foundationActionsMenu,\n foundationAnchor,\n foundationAnchoredRegion,\n foundationAvatar,\n foundationBadge,\n foundationBanner,\n foundationBreadcrumb,\n foundationBreadcrumbItem,\n foundationButton,\n foundationCalendar,\n foundationCard,\n foundationCategorizedMultiselect,\n foundationCheckbox,\n foundationCombobox,\n foundationConnectionIndicator,\n foundationDataGrid,\n foundationDataGridCell,\n foundationDataGridRow,\n foundationDatePicker,\n foundationDesignSystemProvider,\n foundationDialog,\n foundationDisclosure,\n foundationDivider,\n foundationDropdownMenu,\n foundationErrorBanner,\n foundationErrorBoundary,\n foundationErrorDialog,\n foundationFileReader,\n foundationFileUpload,\n foundationFilter,\n foundationFilterBar,\n foundationFlexLayout,\n foundationFlipper,\n foundationFlyout,\n foundationGridLayout,\n foundationGridLayoutItem,\n foundationHorizontalScroll,\n foundationIcon,\n foundationListbox,\n foundationListboxOption,\n foundationMenu,\n foundationMenuItem,\n foundationModal,\n foundationMultiselect,\n foundationNumberField,\n foundationOptgroup,\n foundationPopper,\n foundationProgress,\n foundationProgressRing,\n foundationRadio,\n foundationRadioGroup,\n foundationScheduler,\n foundationSchedulerCronBuilder,\n foundationSchedulerTimezone,\n foundationSearchBar,\n foundationSearchBarCombobox,\n foundationSegmentedControl,\n foundationSegmentedItem,\n foundationSelect,\n foundationSkeleton,\n foundationSlider,\n foundationSliderLabel,\n foundationSnackbar,\n foundationStackingIcons,\n foundationStatusPill,\n foundationEnvironmentIndicator,\n foundationStepperTab,\n foundationStepperTabPanel,\n foundationSwitch,\n foundationSystemHealthOverlay,\n foundationTab,\n foundationTabPanel,\n foundationTabs,\n foundationTextArea,\n foundationTextField,\n foundationToast,\n foundationToolbar,\n foundationTooltip,\n foundationTreeItem,\n foundationTreeView,\n foundationUrlInput,\n foundationSectionNavigator,\n register(container?: Container, ...rest: any[]) {\n if (!container) {\n // preserve backward compatibility with code that loops through\n // the values of this object and calls them as funcs with no args\n return;\n }\n\n for (const key in this) {\n if (key === 'register') {\n continue;\n }\n\n this[key]().register(container, ...rest);\n }\n },\n}"
|
|
15
|
+
"default": "{\n foundationAccordion,\n foundationAiCriteriaSearch,\n foundationAiIndicator,\n foundationAccordionItem,\n foundationActionsMenu,\n foundationAnchor,\n foundationAnchoredRegion,\n foundationAvatar,\n foundationBadge,\n foundationBanner,\n foundationBreadcrumb,\n foundationBreadcrumbItem,\n foundationButton,\n foundationCalendar,\n foundationCard,\n foundationCategorizedMultiselect,\n foundationCheckbox,\n foundationCombobox,\n foundationConnectionIndicator,\n foundationDataGrid,\n foundationDataGridCell,\n foundationDataGridRow,\n foundationDatePicker,\n foundationDesignSystemProvider,\n foundationDialog,\n foundationDisclosure,\n foundationDivider,\n foundationDropdownMenu,\n foundationErrorBanner,\n foundationErrorBoundary,\n foundationErrorDialog,\n foundationFileReader,\n foundationFileUpload,\n foundationFilter,\n foundationFilterBar,\n foundationFlexLayout,\n foundationFlipper,\n foundationFlyout,\n foundationGridLayout,\n foundationGridLayoutItem,\n foundationHorizontalScroll,\n foundationIcon,\n foundationListbox,\n foundationListboxOption,\n foundationMenu,\n foundationMenuItem,\n foundationModal,\n foundationMultiselect,\n foundationNumberField,\n foundationOptgroup,\n foundationPill,\n foundationPopper,\n foundationProgress,\n foundationProgressRing,\n foundationRadio,\n foundationRadioGroup,\n foundationScheduler,\n foundationSchedulerCronBuilder,\n foundationSchedulerTimezone,\n foundationSearchBar,\n foundationSearchBarCombobox,\n foundationSegmentedControl,\n foundationSegmentedItem,\n foundationSelect,\n foundationSkeleton,\n foundationSlider,\n foundationSliderLabel,\n foundationSnackbar,\n foundationStackingIcons,\n foundationStatusPill,\n foundationEnvironmentIndicator,\n foundationStepperTab,\n foundationStepperTabPanel,\n foundationSwitch,\n foundationSystemHealthOverlay,\n foundationTab,\n foundationTabPanel,\n foundationTabs,\n foundationTextArea,\n foundationTextField,\n foundationToast,\n foundationToolbar,\n foundationTooltip,\n foundationTreeItem,\n foundationTreeView,\n foundationUrlInput,\n foundationSectionNavigator,\n register(container?: Container, ...rest: any[]) {\n if (!container) {\n // preserve backward compatibility with code that loops through\n // the values of this object and calls them as funcs with no args\n return;\n }\n\n for (const key in this) {\n if (key === 'register') {\n continue;\n }\n\n this[key]().register(container, ...rest);\n }\n },\n}"
|
|
16
16
|
}
|
|
17
17
|
],
|
|
18
18
|
"exports": [
|
|
@@ -548,6 +548,14 @@
|
|
|
548
548
|
"package": "./patterns"
|
|
549
549
|
}
|
|
550
550
|
},
|
|
551
|
+
{
|
|
552
|
+
"kind": "js",
|
|
553
|
+
"name": "*",
|
|
554
|
+
"declaration": {
|
|
555
|
+
"name": "*",
|
|
556
|
+
"package": "./pill"
|
|
557
|
+
}
|
|
558
|
+
},
|
|
551
559
|
{
|
|
552
560
|
"kind": "js",
|
|
553
561
|
"name": "*",
|
|
@@ -940,6 +948,37 @@
|
|
|
940
948
|
}
|
|
941
949
|
]
|
|
942
950
|
},
|
|
951
|
+
{
|
|
952
|
+
"kind": "javascript-module",
|
|
953
|
+
"path": "src/_config/index.ts",
|
|
954
|
+
"declarations": [],
|
|
955
|
+
"exports": [
|
|
956
|
+
{
|
|
957
|
+
"kind": "js",
|
|
958
|
+
"name": "*",
|
|
959
|
+
"declaration": {
|
|
960
|
+
"name": "*",
|
|
961
|
+
"package": "./styles"
|
|
962
|
+
}
|
|
963
|
+
},
|
|
964
|
+
{
|
|
965
|
+
"kind": "js",
|
|
966
|
+
"name": "*",
|
|
967
|
+
"declaration": {
|
|
968
|
+
"name": "*",
|
|
969
|
+
"package": "./tokens"
|
|
970
|
+
}
|
|
971
|
+
},
|
|
972
|
+
{
|
|
973
|
+
"kind": "js",
|
|
974
|
+
"name": "*",
|
|
975
|
+
"declaration": {
|
|
976
|
+
"name": "*",
|
|
977
|
+
"package": "./values"
|
|
978
|
+
}
|
|
979
|
+
}
|
|
980
|
+
]
|
|
981
|
+
},
|
|
943
982
|
{
|
|
944
983
|
"kind": "javascript-module",
|
|
945
984
|
"path": "src/_common/affix-mixin.ts",
|
|
@@ -1406,37 +1445,6 @@
|
|
|
1406
1445
|
}
|
|
1407
1446
|
]
|
|
1408
1447
|
},
|
|
1409
|
-
{
|
|
1410
|
-
"kind": "javascript-module",
|
|
1411
|
-
"path": "src/_config/index.ts",
|
|
1412
|
-
"declarations": [],
|
|
1413
|
-
"exports": [
|
|
1414
|
-
{
|
|
1415
|
-
"kind": "js",
|
|
1416
|
-
"name": "*",
|
|
1417
|
-
"declaration": {
|
|
1418
|
-
"name": "*",
|
|
1419
|
-
"package": "./styles"
|
|
1420
|
-
}
|
|
1421
|
-
},
|
|
1422
|
-
{
|
|
1423
|
-
"kind": "js",
|
|
1424
|
-
"name": "*",
|
|
1425
|
-
"declaration": {
|
|
1426
|
-
"name": "*",
|
|
1427
|
-
"package": "./tokens"
|
|
1428
|
-
}
|
|
1429
|
-
},
|
|
1430
|
-
{
|
|
1431
|
-
"kind": "js",
|
|
1432
|
-
"name": "*",
|
|
1433
|
-
"declaration": {
|
|
1434
|
-
"name": "*",
|
|
1435
|
-
"package": "./values"
|
|
1436
|
-
}
|
|
1437
|
-
}
|
|
1438
|
-
]
|
|
1439
|
-
},
|
|
1440
1448
|
{
|
|
1441
1449
|
"kind": "javascript-module",
|
|
1442
1450
|
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
@@ -2392,208 +2400,275 @@
|
|
|
2392
2400
|
},
|
|
2393
2401
|
{
|
|
2394
2402
|
"kind": "javascript-module",
|
|
2395
|
-
"path": "src/
|
|
2403
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
2396
2404
|
"declarations": [
|
|
2397
2405
|
{
|
|
2398
|
-
"kind": "
|
|
2399
|
-
"name": "
|
|
2400
|
-
"
|
|
2406
|
+
"kind": "function",
|
|
2407
|
+
"name": "foundationAccordionStyles",
|
|
2408
|
+
"return": {
|
|
2409
|
+
"type": {
|
|
2410
|
+
"text": "ElementStyles"
|
|
2411
|
+
}
|
|
2412
|
+
},
|
|
2413
|
+
"parameters": [
|
|
2414
|
+
{
|
|
2415
|
+
"name": "context",
|
|
2416
|
+
"type": {
|
|
2417
|
+
"text": "ElementDefinitionContext"
|
|
2418
|
+
}
|
|
2419
|
+
},
|
|
2420
|
+
{
|
|
2421
|
+
"name": "definition",
|
|
2422
|
+
"type": {
|
|
2423
|
+
"text": "FoundationElementDefinition"
|
|
2424
|
+
}
|
|
2425
|
+
}
|
|
2426
|
+
]
|
|
2401
2427
|
}
|
|
2402
2428
|
],
|
|
2403
2429
|
"exports": [
|
|
2404
2430
|
{
|
|
2405
2431
|
"kind": "js",
|
|
2406
|
-
"name": "
|
|
2432
|
+
"name": "foundationAccordionStyles",
|
|
2407
2433
|
"declaration": {
|
|
2408
|
-
"name": "
|
|
2409
|
-
"module": "src/
|
|
2434
|
+
"name": "foundationAccordionStyles",
|
|
2435
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
2410
2436
|
}
|
|
2411
2437
|
}
|
|
2412
2438
|
]
|
|
2413
2439
|
},
|
|
2414
2440
|
{
|
|
2415
2441
|
"kind": "javascript-module",
|
|
2416
|
-
"path": "src/
|
|
2442
|
+
"path": "src/accordion/accordion.template.ts",
|
|
2417
2443
|
"declarations": [
|
|
2418
2444
|
{
|
|
2419
|
-
"kind": "
|
|
2420
|
-
"name": "
|
|
2421
|
-
"
|
|
2422
|
-
"
|
|
2445
|
+
"kind": "function",
|
|
2446
|
+
"name": "foundationAccordionTemplate",
|
|
2447
|
+
"return": {
|
|
2448
|
+
"type": {
|
|
2449
|
+
"text": "ViewTemplate<Accordion>"
|
|
2450
|
+
}
|
|
2423
2451
|
},
|
|
2424
|
-
"
|
|
2452
|
+
"parameters": [
|
|
2453
|
+
{
|
|
2454
|
+
"name": "context",
|
|
2455
|
+
"type": {
|
|
2456
|
+
"text": "ElementDefinitionContext"
|
|
2457
|
+
}
|
|
2458
|
+
},
|
|
2459
|
+
{
|
|
2460
|
+
"name": "definition",
|
|
2461
|
+
"type": {
|
|
2462
|
+
"text": "FoundationElementDefinition"
|
|
2463
|
+
}
|
|
2464
|
+
}
|
|
2465
|
+
]
|
|
2425
2466
|
}
|
|
2426
2467
|
],
|
|
2427
2468
|
"exports": [
|
|
2428
2469
|
{
|
|
2429
2470
|
"kind": "js",
|
|
2430
|
-
"name": "
|
|
2471
|
+
"name": "foundationAccordionTemplate",
|
|
2431
2472
|
"declaration": {
|
|
2432
|
-
"name": "
|
|
2433
|
-
"module": "src/
|
|
2473
|
+
"name": "foundationAccordionTemplate",
|
|
2474
|
+
"module": "src/accordion/accordion.template.ts"
|
|
2434
2475
|
}
|
|
2435
2476
|
}
|
|
2436
2477
|
]
|
|
2437
2478
|
},
|
|
2438
2479
|
{
|
|
2439
2480
|
"kind": "javascript-module",
|
|
2440
|
-
"path": "src/
|
|
2481
|
+
"path": "src/accordion/accordion.ts",
|
|
2441
2482
|
"declarations": [
|
|
2442
2483
|
{
|
|
2443
2484
|
"kind": "class",
|
|
2444
|
-
"description": "
|
|
2445
|
-
"name": "
|
|
2446
|
-
"
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
},
|
|
2485
|
+
"description": "",
|
|
2486
|
+
"name": "Accordion",
|
|
2487
|
+
"superclass": {
|
|
2488
|
+
"name": "FASTAccordion",
|
|
2489
|
+
"package": "@microsoft/fast-foundation"
|
|
2490
|
+
},
|
|
2491
|
+
"tagName": "%%prefix%%-accordion",
|
|
2492
|
+
"customElement": true,
|
|
2493
|
+
"attributes": [
|
|
2454
2494
|
{
|
|
2455
|
-
"
|
|
2456
|
-
"name": "placeholder",
|
|
2495
|
+
"name": "expand-mode",
|
|
2457
2496
|
"type": {
|
|
2458
|
-
"text": "
|
|
2497
|
+
"text": "AccordionExpandMode"
|
|
2459
2498
|
},
|
|
2460
|
-
"
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
"type": {
|
|
2466
|
-
"text": "boolean"
|
|
2499
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2500
|
+
"fieldName": "expandmode",
|
|
2501
|
+
"inheritedFrom": {
|
|
2502
|
+
"name": "Accordion",
|
|
2503
|
+
"module": "src/accordion/accordion.ts"
|
|
2467
2504
|
}
|
|
2468
|
-
}
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
"name": "inputValue",
|
|
2472
|
-
"type": {
|
|
2473
|
-
"text": "string"
|
|
2474
|
-
},
|
|
2475
|
-
"default": "''"
|
|
2476
|
-
},
|
|
2505
|
+
}
|
|
2506
|
+
],
|
|
2507
|
+
"members": [
|
|
2477
2508
|
{
|
|
2478
2509
|
"kind": "field",
|
|
2479
|
-
"name": "
|
|
2510
|
+
"name": "expandmode",
|
|
2480
2511
|
"type": {
|
|
2481
|
-
"text": "
|
|
2512
|
+
"text": "AccordionExpandMode"
|
|
2482
2513
|
},
|
|
2483
|
-
"
|
|
2514
|
+
"privacy": "public",
|
|
2515
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2516
|
+
"inheritedFrom": {
|
|
2517
|
+
"name": "Accordion",
|
|
2518
|
+
"module": "src/accordion/accordion.ts"
|
|
2519
|
+
}
|
|
2484
2520
|
},
|
|
2485
2521
|
{
|
|
2486
2522
|
"kind": "field",
|
|
2487
|
-
"name": "
|
|
2523
|
+
"name": "activeid",
|
|
2488
2524
|
"type": {
|
|
2489
2525
|
"text": "string | null"
|
|
2490
2526
|
},
|
|
2491
|
-
"
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
"type": {
|
|
2497
|
-
"text": "CriteriaGroup[]"
|
|
2498
|
-
},
|
|
2499
|
-
"default": "[]"
|
|
2527
|
+
"privacy": "private",
|
|
2528
|
+
"inheritedFrom": {
|
|
2529
|
+
"name": "Accordion",
|
|
2530
|
+
"module": "src/accordion/accordion.ts"
|
|
2531
|
+
}
|
|
2500
2532
|
},
|
|
2501
2533
|
{
|
|
2502
2534
|
"kind": "field",
|
|
2503
|
-
"name": "
|
|
2535
|
+
"name": "activeItemIndex",
|
|
2504
2536
|
"type": {
|
|
2505
|
-
"text": "
|
|
2537
|
+
"text": "number"
|
|
2506
2538
|
},
|
|
2507
|
-
"
|
|
2539
|
+
"privacy": "private",
|
|
2540
|
+
"default": "0",
|
|
2541
|
+
"inheritedFrom": {
|
|
2542
|
+
"name": "Accordion",
|
|
2543
|
+
"module": "src/accordion/accordion.ts"
|
|
2544
|
+
}
|
|
2508
2545
|
},
|
|
2509
2546
|
{
|
|
2510
2547
|
"kind": "field",
|
|
2511
|
-
"name": "
|
|
2548
|
+
"name": "accordionIds",
|
|
2512
2549
|
"type": {
|
|
2513
|
-
"text": "
|
|
2550
|
+
"text": "Array<string | null>"
|
|
2514
2551
|
},
|
|
2515
|
-
"
|
|
2552
|
+
"privacy": "private",
|
|
2553
|
+
"inheritedFrom": {
|
|
2554
|
+
"name": "Accordion",
|
|
2555
|
+
"module": "src/accordion/accordion.ts"
|
|
2556
|
+
}
|
|
2516
2557
|
},
|
|
2517
2558
|
{
|
|
2518
2559
|
"kind": "field",
|
|
2519
|
-
"name": "
|
|
2520
|
-
"
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2560
|
+
"name": "change",
|
|
2561
|
+
"privacy": "private",
|
|
2562
|
+
"inheritedFrom": {
|
|
2563
|
+
"name": "Accordion",
|
|
2564
|
+
"module": "src/accordion/accordion.ts"
|
|
2565
|
+
}
|
|
2524
2566
|
},
|
|
2525
2567
|
{
|
|
2526
|
-
"kind": "
|
|
2527
|
-
"name": "
|
|
2528
|
-
"
|
|
2529
|
-
|
|
2568
|
+
"kind": "method",
|
|
2569
|
+
"name": "findExpandedItem",
|
|
2570
|
+
"privacy": "private",
|
|
2571
|
+
"return": {
|
|
2572
|
+
"type": {
|
|
2573
|
+
"text": "AccordionItem | null"
|
|
2574
|
+
}
|
|
2530
2575
|
},
|
|
2531
|
-
"
|
|
2576
|
+
"inheritedFrom": {
|
|
2577
|
+
"name": "Accordion",
|
|
2578
|
+
"module": "src/accordion/accordion.ts"
|
|
2579
|
+
}
|
|
2532
2580
|
},
|
|
2533
2581
|
{
|
|
2534
2582
|
"kind": "field",
|
|
2535
|
-
"name": "
|
|
2536
|
-
"type": {
|
|
2537
|
-
"text": "(() => void) | null"
|
|
2538
|
-
},
|
|
2583
|
+
"name": "setItems",
|
|
2539
2584
|
"privacy": "private",
|
|
2540
|
-
"
|
|
2585
|
+
"inheritedFrom": {
|
|
2586
|
+
"name": "Accordion",
|
|
2587
|
+
"module": "src/accordion/accordion.ts"
|
|
2588
|
+
}
|
|
2541
2589
|
},
|
|
2542
2590
|
{
|
|
2543
|
-
"kind": "
|
|
2544
|
-
"name": "
|
|
2545
|
-
"type": {
|
|
2546
|
-
"text": "ReturnType<typeof setTimeout> | null"
|
|
2547
|
-
},
|
|
2591
|
+
"kind": "method",
|
|
2592
|
+
"name": "resetItems",
|
|
2548
2593
|
"privacy": "private",
|
|
2549
|
-
"
|
|
2594
|
+
"return": {
|
|
2595
|
+
"type": {
|
|
2596
|
+
"text": "void"
|
|
2597
|
+
}
|
|
2598
|
+
},
|
|
2599
|
+
"inheritedFrom": {
|
|
2600
|
+
"name": "Accordion",
|
|
2601
|
+
"module": "src/accordion/accordion.ts"
|
|
2602
|
+
}
|
|
2550
2603
|
},
|
|
2551
2604
|
{
|
|
2552
2605
|
"kind": "field",
|
|
2553
|
-
"name": "
|
|
2554
|
-
"
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2606
|
+
"name": "removeItemListeners",
|
|
2607
|
+
"privacy": "private",
|
|
2608
|
+
"inheritedFrom": {
|
|
2609
|
+
"name": "Accordion",
|
|
2610
|
+
"module": "src/accordion/accordion.ts"
|
|
2611
|
+
}
|
|
2558
2612
|
},
|
|
2559
2613
|
{
|
|
2560
2614
|
"kind": "field",
|
|
2561
|
-
"name": "
|
|
2562
|
-
"
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2615
|
+
"name": "activeItemChange",
|
|
2616
|
+
"privacy": "private",
|
|
2617
|
+
"inheritedFrom": {
|
|
2618
|
+
"name": "Accordion",
|
|
2619
|
+
"module": "src/accordion/accordion.ts"
|
|
2620
|
+
}
|
|
2566
2621
|
},
|
|
2567
2622
|
{
|
|
2568
2623
|
"kind": "method",
|
|
2569
|
-
"name": "
|
|
2624
|
+
"name": "getItemIds",
|
|
2570
2625
|
"privacy": "private",
|
|
2571
2626
|
"return": {
|
|
2572
2627
|
"type": {
|
|
2573
|
-
"text": "string"
|
|
2628
|
+
"text": "Array<string | null>"
|
|
2574
2629
|
}
|
|
2575
2630
|
},
|
|
2576
|
-
"
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
"text": "string"
|
|
2581
|
-
}
|
|
2582
|
-
}
|
|
2583
|
-
]
|
|
2631
|
+
"inheritedFrom": {
|
|
2632
|
+
"name": "Accordion",
|
|
2633
|
+
"module": "src/accordion/accordion.ts"
|
|
2634
|
+
}
|
|
2584
2635
|
},
|
|
2585
2636
|
{
|
|
2586
2637
|
"kind": "method",
|
|
2587
|
-
"name": "
|
|
2638
|
+
"name": "isSingleExpandMode",
|
|
2639
|
+
"privacy": "private",
|
|
2588
2640
|
"return": {
|
|
2589
2641
|
"type": {
|
|
2590
|
-
"text": "
|
|
2642
|
+
"text": "boolean"
|
|
2591
2643
|
}
|
|
2644
|
+
},
|
|
2645
|
+
"inheritedFrom": {
|
|
2646
|
+
"name": "Accordion",
|
|
2647
|
+
"module": "src/accordion/accordion.ts"
|
|
2648
|
+
}
|
|
2649
|
+
},
|
|
2650
|
+
{
|
|
2651
|
+
"kind": "field",
|
|
2652
|
+
"name": "handleItemKeyDown",
|
|
2653
|
+
"privacy": "private",
|
|
2654
|
+
"inheritedFrom": {
|
|
2655
|
+
"name": "Accordion",
|
|
2656
|
+
"module": "src/accordion/accordion.ts"
|
|
2657
|
+
}
|
|
2658
|
+
},
|
|
2659
|
+
{
|
|
2660
|
+
"kind": "field",
|
|
2661
|
+
"name": "handleItemFocus",
|
|
2662
|
+
"privacy": "private",
|
|
2663
|
+
"inheritedFrom": {
|
|
2664
|
+
"name": "Accordion",
|
|
2665
|
+
"module": "src/accordion/accordion.ts"
|
|
2592
2666
|
}
|
|
2593
2667
|
},
|
|
2594
2668
|
{
|
|
2595
2669
|
"kind": "method",
|
|
2596
|
-
"name": "
|
|
2670
|
+
"name": "adjust",
|
|
2671
|
+
"privacy": "private",
|
|
2597
2672
|
"return": {
|
|
2598
2673
|
"type": {
|
|
2599
2674
|
"text": "void"
|
|
@@ -2601,49 +2676,31 @@
|
|
|
2601
2676
|
},
|
|
2602
2677
|
"parameters": [
|
|
2603
2678
|
{
|
|
2604
|
-
"name": "
|
|
2605
|
-
"type": {
|
|
2606
|
-
"text": "number"
|
|
2607
|
-
}
|
|
2608
|
-
},
|
|
2609
|
-
{
|
|
2610
|
-
"name": "clauseIndex",
|
|
2679
|
+
"name": "adjustment",
|
|
2611
2680
|
"type": {
|
|
2612
2681
|
"text": "number"
|
|
2613
2682
|
}
|
|
2614
2683
|
}
|
|
2615
|
-
]
|
|
2684
|
+
],
|
|
2685
|
+
"inheritedFrom": {
|
|
2686
|
+
"name": "Accordion",
|
|
2687
|
+
"module": "src/accordion/accordion.ts"
|
|
2688
|
+
}
|
|
2616
2689
|
},
|
|
2617
2690
|
{
|
|
2618
2691
|
"kind": "method",
|
|
2619
|
-
"name": "
|
|
2692
|
+
"name": "focusItem",
|
|
2693
|
+
"privacy": "private",
|
|
2620
2694
|
"return": {
|
|
2621
2695
|
"type": {
|
|
2622
2696
|
"text": "void"
|
|
2623
2697
|
}
|
|
2698
|
+
},
|
|
2699
|
+
"inheritedFrom": {
|
|
2700
|
+
"name": "Accordion",
|
|
2701
|
+
"module": "src/accordion/accordion.ts"
|
|
2624
2702
|
}
|
|
2625
2703
|
},
|
|
2626
|
-
{
|
|
2627
|
-
"kind": "method",
|
|
2628
|
-
"name": "handleSubmit"
|
|
2629
|
-
},
|
|
2630
|
-
{
|
|
2631
|
-
"kind": "method",
|
|
2632
|
-
"name": "handleBlur"
|
|
2633
|
-
},
|
|
2634
|
-
{
|
|
2635
|
-
"kind": "method",
|
|
2636
|
-
"name": "clear"
|
|
2637
|
-
},
|
|
2638
|
-
{
|
|
2639
|
-
"kind": "method",
|
|
2640
|
-
"name": "toggleSpeechInput"
|
|
2641
|
-
},
|
|
2642
|
-
{
|
|
2643
|
-
"kind": "method",
|
|
2644
|
-
"name": "clearSpeechApplyDebounce",
|
|
2645
|
-
"privacy": "private"
|
|
2646
|
-
},
|
|
2647
2704
|
{
|
|
2648
2705
|
"kind": "field",
|
|
2649
2706
|
"name": "_presentation",
|
|
@@ -2758,48 +2815,26 @@
|
|
|
2758
2815
|
],
|
|
2759
2816
|
"events": [
|
|
2760
2817
|
{
|
|
2761
|
-
"description": "
|
|
2762
|
-
"name": "
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
}
|
|
2768
|
-
],
|
|
2769
|
-
"attributes": [
|
|
2770
|
-
{
|
|
2771
|
-
"name": "placeholder",
|
|
2772
|
-
"type": {
|
|
2773
|
-
"text": "string"
|
|
2774
|
-
},
|
|
2775
|
-
"default": "'Describe your search criteria in natural language...'",
|
|
2776
|
-
"fieldName": "placeholder"
|
|
2777
|
-
},
|
|
2778
|
-
{
|
|
2779
|
-
"type": {
|
|
2780
|
-
"text": "boolean"
|
|
2781
|
-
},
|
|
2782
|
-
"fieldName": "disabled"
|
|
2818
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
2819
|
+
"name": "change",
|
|
2820
|
+
"inheritedFrom": {
|
|
2821
|
+
"name": "Accordion",
|
|
2822
|
+
"module": "src/accordion/accordion.ts"
|
|
2823
|
+
}
|
|
2783
2824
|
}
|
|
2784
|
-
]
|
|
2785
|
-
"superclass": {
|
|
2786
|
-
"name": "FoundationElement",
|
|
2787
|
-
"package": "@microsoft/fast-foundation"
|
|
2788
|
-
},
|
|
2789
|
-
"tagName": "%%prefix%%-ai-criteria-search",
|
|
2790
|
-
"customElement": true
|
|
2825
|
+
]
|
|
2791
2826
|
},
|
|
2792
2827
|
{
|
|
2793
2828
|
"kind": "variable",
|
|
2794
|
-
"name": "
|
|
2829
|
+
"name": "foundationAccordionShadowOptions",
|
|
2795
2830
|
"type": {
|
|
2796
2831
|
"text": "ShadowRootInit"
|
|
2797
2832
|
},
|
|
2798
|
-
"default": "
|
|
2833
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2799
2834
|
},
|
|
2800
2835
|
{
|
|
2801
2836
|
"kind": "variable",
|
|
2802
|
-
"name": "
|
|
2837
|
+
"name": "defaultAccordionConfig",
|
|
2803
2838
|
"type": {
|
|
2804
2839
|
"text": "object"
|
|
2805
2840
|
},
|
|
@@ -2807,103 +2842,57 @@
|
|
|
2807
2842
|
},
|
|
2808
2843
|
{
|
|
2809
2844
|
"kind": "variable",
|
|
2810
|
-
"name": "
|
|
2845
|
+
"name": "foundationAccordion",
|
|
2846
|
+
"description": "The Foundation Accordion",
|
|
2847
|
+
"privacy": "public"
|
|
2811
2848
|
}
|
|
2812
2849
|
],
|
|
2813
2850
|
"exports": [
|
|
2814
2851
|
{
|
|
2815
2852
|
"kind": "js",
|
|
2816
|
-
"name": "
|
|
2853
|
+
"name": "Accordion",
|
|
2817
2854
|
"declaration": {
|
|
2818
|
-
"name": "
|
|
2819
|
-
"module": "src/
|
|
2855
|
+
"name": "Accordion",
|
|
2856
|
+
"module": "src/accordion/accordion.ts"
|
|
2820
2857
|
}
|
|
2821
2858
|
},
|
|
2822
2859
|
{
|
|
2823
2860
|
"kind": "js",
|
|
2824
|
-
"name": "
|
|
2861
|
+
"name": "foundationAccordionShadowOptions",
|
|
2825
2862
|
"declaration": {
|
|
2826
|
-
"name": "
|
|
2827
|
-
"module": "src/
|
|
2863
|
+
"name": "foundationAccordionShadowOptions",
|
|
2864
|
+
"module": "src/accordion/accordion.ts"
|
|
2828
2865
|
}
|
|
2829
2866
|
},
|
|
2830
2867
|
{
|
|
2831
2868
|
"kind": "js",
|
|
2832
|
-
"name": "
|
|
2869
|
+
"name": "defaultAccordionConfig",
|
|
2833
2870
|
"declaration": {
|
|
2834
|
-
"name": "
|
|
2835
|
-
"module": "src/
|
|
2871
|
+
"name": "defaultAccordionConfig",
|
|
2872
|
+
"module": "src/accordion/accordion.ts"
|
|
2836
2873
|
}
|
|
2837
2874
|
},
|
|
2838
2875
|
{
|
|
2839
2876
|
"kind": "js",
|
|
2840
|
-
"name": "
|
|
2877
|
+
"name": "foundationAccordion",
|
|
2841
2878
|
"declaration": {
|
|
2842
|
-
"name": "
|
|
2843
|
-
"module": "src/
|
|
2879
|
+
"name": "foundationAccordion",
|
|
2880
|
+
"module": "src/accordion/accordion.ts"
|
|
2844
2881
|
}
|
|
2845
2882
|
}
|
|
2846
2883
|
]
|
|
2847
2884
|
},
|
|
2848
2885
|
{
|
|
2849
2886
|
"kind": "javascript-module",
|
|
2850
|
-
"path": "src/
|
|
2887
|
+
"path": "src/accordion/index.ts",
|
|
2851
2888
|
"declarations": [],
|
|
2852
2889
|
"exports": [
|
|
2853
|
-
{
|
|
2854
|
-
"kind": "js",
|
|
2855
|
-
"name": "AiCriteriaSearch",
|
|
2856
|
-
"declaration": {
|
|
2857
|
-
"name": "AiCriteriaSearch",
|
|
2858
|
-
"module": "./ai-criteria-search"
|
|
2859
|
-
}
|
|
2860
|
-
},
|
|
2861
|
-
{
|
|
2862
|
-
"kind": "js",
|
|
2863
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2864
|
-
"declaration": {
|
|
2865
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2866
|
-
"module": "./ai-criteria-search"
|
|
2867
|
-
}
|
|
2868
|
-
},
|
|
2869
|
-
{
|
|
2870
|
-
"kind": "js",
|
|
2871
|
-
"name": "foundationAiCriteriaSearch",
|
|
2872
|
-
"declaration": {
|
|
2873
|
-
"name": "foundationAiCriteriaSearch",
|
|
2874
|
-
"module": "./ai-criteria-search"
|
|
2875
|
-
}
|
|
2876
|
-
},
|
|
2877
|
-
{
|
|
2878
|
-
"kind": "js",
|
|
2879
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2880
|
-
"declaration": {
|
|
2881
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2882
|
-
"module": "./ai-criteria-search"
|
|
2883
|
-
}
|
|
2884
|
-
},
|
|
2885
|
-
{
|
|
2886
|
-
"kind": "js",
|
|
2887
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2888
|
-
"declaration": {
|
|
2889
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2890
|
-
"module": "./ai-criteria-search.styles"
|
|
2891
|
-
}
|
|
2892
|
-
},
|
|
2893
|
-
{
|
|
2894
|
-
"kind": "js",
|
|
2895
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2896
|
-
"declaration": {
|
|
2897
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2898
|
-
"module": "./ai-criteria-search.template"
|
|
2899
|
-
}
|
|
2900
|
-
},
|
|
2901
2890
|
{
|
|
2902
2891
|
"kind": "js",
|
|
2903
2892
|
"name": "*",
|
|
2904
2893
|
"declaration": {
|
|
2905
2894
|
"name": "*",
|
|
2906
|
-
"package": "./
|
|
2895
|
+
"package": "./accordion.template"
|
|
2907
2896
|
}
|
|
2908
2897
|
},
|
|
2909
2898
|
{
|
|
@@ -2911,7 +2900,7 @@
|
|
|
2911
2900
|
"name": "*",
|
|
2912
2901
|
"declaration": {
|
|
2913
2902
|
"name": "*",
|
|
2914
|
-
"package": "./
|
|
2903
|
+
"package": "./accordion.styles"
|
|
2915
2904
|
}
|
|
2916
2905
|
},
|
|
2917
2906
|
{
|
|
@@ -2919,357 +2908,215 @@
|
|
|
2919
2908
|
"name": "*",
|
|
2920
2909
|
"declaration": {
|
|
2921
2910
|
"name": "*",
|
|
2922
|
-
"package": "./
|
|
2911
|
+
"package": "./accordion"
|
|
2923
2912
|
}
|
|
2924
2913
|
}
|
|
2925
2914
|
]
|
|
2926
2915
|
},
|
|
2927
2916
|
{
|
|
2928
2917
|
"kind": "javascript-module",
|
|
2929
|
-
"path": "src/ai-criteria-search/
|
|
2918
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
2930
2919
|
"declarations": [
|
|
2931
2920
|
{
|
|
2932
|
-
"kind": "
|
|
2933
|
-
"name": "
|
|
2934
|
-
"
|
|
2935
|
-
"type": {
|
|
2936
|
-
"text": "string"
|
|
2937
|
-
}
|
|
2938
|
-
},
|
|
2939
|
-
"parameters": [
|
|
2940
|
-
{
|
|
2941
|
-
"name": "errors",
|
|
2942
|
-
"type": {
|
|
2943
|
-
"text": "ValidationError[]"
|
|
2944
|
-
}
|
|
2945
|
-
}
|
|
2946
|
-
],
|
|
2947
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
2948
|
-
},
|
|
2949
|
-
{
|
|
2950
|
-
"kind": "function",
|
|
2951
|
-
"name": "showCriteriaError",
|
|
2952
|
-
"return": {
|
|
2953
|
-
"type": {
|
|
2954
|
-
"text": "void"
|
|
2955
|
-
}
|
|
2956
|
-
},
|
|
2957
|
-
"parameters": [
|
|
2958
|
-
{
|
|
2959
|
-
"name": "title",
|
|
2960
|
-
"type": {
|
|
2961
|
-
"text": "string"
|
|
2962
|
-
},
|
|
2963
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
2964
|
-
},
|
|
2965
|
-
{
|
|
2966
|
-
"name": "body",
|
|
2967
|
-
"type": {
|
|
2968
|
-
"text": "string"
|
|
2969
|
-
},
|
|
2970
|
-
"description": "Error message to display"
|
|
2971
|
-
},
|
|
2972
|
-
{
|
|
2973
|
-
"name": "tagName",
|
|
2974
|
-
"type": {
|
|
2975
|
-
"text": "string"
|
|
2976
|
-
},
|
|
2977
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
2978
|
-
}
|
|
2979
|
-
],
|
|
2980
|
-
"description": "Shows a criteria error as a toast notification."
|
|
2921
|
+
"kind": "variable",
|
|
2922
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2923
|
+
"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`"
|
|
2981
2924
|
}
|
|
2982
2925
|
],
|
|
2983
2926
|
"exports": [
|
|
2984
2927
|
{
|
|
2985
2928
|
"kind": "js",
|
|
2986
|
-
"name": "
|
|
2987
|
-
"declaration": {
|
|
2988
|
-
"name": "formatValidationErrors",
|
|
2989
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2990
|
-
}
|
|
2991
|
-
},
|
|
2992
|
-
{
|
|
2993
|
-
"kind": "js",
|
|
2994
|
-
"name": "showCriteriaError",
|
|
2929
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2995
2930
|
"declaration": {
|
|
2996
|
-
"name": "
|
|
2997
|
-
"module": "src/ai-criteria-search/
|
|
2931
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2932
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
2998
2933
|
}
|
|
2999
2934
|
}
|
|
3000
2935
|
]
|
|
3001
2936
|
},
|
|
3002
2937
|
{
|
|
3003
2938
|
"kind": "javascript-module",
|
|
3004
|
-
"path": "src/
|
|
2939
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
3005
2940
|
"declarations": [
|
|
3006
2941
|
{
|
|
3007
|
-
"kind": "
|
|
3008
|
-
"name": "
|
|
3009
|
-
"
|
|
3010
|
-
"
|
|
3011
|
-
"text": "ElementStyles"
|
|
3012
|
-
}
|
|
2942
|
+
"kind": "variable",
|
|
2943
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2944
|
+
"type": {
|
|
2945
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
3013
2946
|
},
|
|
3014
|
-
"
|
|
3015
|
-
{
|
|
3016
|
-
"name": "context",
|
|
3017
|
-
"type": {
|
|
3018
|
-
"text": "ElementDefinitionContext"
|
|
3019
|
-
}
|
|
3020
|
-
},
|
|
3021
|
-
{
|
|
3022
|
-
"name": "definition",
|
|
3023
|
-
"type": {
|
|
3024
|
-
"text": "FoundationElementDefinition"
|
|
3025
|
-
}
|
|
3026
|
-
}
|
|
3027
|
-
]
|
|
2947
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
3028
2948
|
}
|
|
3029
2949
|
],
|
|
3030
2950
|
"exports": [
|
|
3031
2951
|
{
|
|
3032
2952
|
"kind": "js",
|
|
3033
|
-
"name": "
|
|
2953
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3034
2954
|
"declaration": {
|
|
3035
|
-
"name": "
|
|
3036
|
-
"module": "src/
|
|
2955
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2956
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
3037
2957
|
}
|
|
3038
2958
|
}
|
|
3039
2959
|
]
|
|
3040
2960
|
},
|
|
3041
2961
|
{
|
|
3042
2962
|
"kind": "javascript-module",
|
|
3043
|
-
"path": "src/
|
|
2963
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
3044
2964
|
"declarations": [
|
|
3045
2965
|
{
|
|
3046
|
-
"kind": "
|
|
3047
|
-
"
|
|
3048
|
-
"
|
|
3049
|
-
|
|
3050
|
-
"text": "ViewTemplate<Accordion>"
|
|
3051
|
-
}
|
|
3052
|
-
},
|
|
3053
|
-
"parameters": [
|
|
2966
|
+
"kind": "class",
|
|
2967
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2968
|
+
"name": "AiCriteriaSearch",
|
|
2969
|
+
"members": [
|
|
3054
2970
|
{
|
|
3055
|
-
"
|
|
2971
|
+
"kind": "field",
|
|
2972
|
+
"name": "providerRegistry",
|
|
3056
2973
|
"type": {
|
|
3057
|
-
"text": "
|
|
2974
|
+
"text": "AIProviderRegistry"
|
|
3058
2975
|
}
|
|
3059
2976
|
},
|
|
3060
2977
|
{
|
|
3061
|
-
"
|
|
2978
|
+
"kind": "field",
|
|
2979
|
+
"name": "placeholder",
|
|
3062
2980
|
"type": {
|
|
3063
|
-
"text": "
|
|
2981
|
+
"text": "string"
|
|
2982
|
+
},
|
|
2983
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
2984
|
+
},
|
|
2985
|
+
{
|
|
2986
|
+
"kind": "field",
|
|
2987
|
+
"name": "disabled",
|
|
2988
|
+
"type": {
|
|
2989
|
+
"text": "boolean"
|
|
3064
2990
|
}
|
|
3065
|
-
}
|
|
3066
|
-
]
|
|
3067
|
-
}
|
|
3068
|
-
],
|
|
3069
|
-
"exports": [
|
|
3070
|
-
{
|
|
3071
|
-
"kind": "js",
|
|
3072
|
-
"name": "foundationAccordionTemplate",
|
|
3073
|
-
"declaration": {
|
|
3074
|
-
"name": "foundationAccordionTemplate",
|
|
3075
|
-
"module": "src/accordion/accordion.template.ts"
|
|
3076
|
-
}
|
|
3077
|
-
}
|
|
3078
|
-
]
|
|
3079
|
-
},
|
|
3080
|
-
{
|
|
3081
|
-
"kind": "javascript-module",
|
|
3082
|
-
"path": "src/accordion/accordion.ts",
|
|
3083
|
-
"declarations": [
|
|
3084
|
-
{
|
|
3085
|
-
"kind": "class",
|
|
3086
|
-
"description": "",
|
|
3087
|
-
"name": "Accordion",
|
|
3088
|
-
"superclass": {
|
|
3089
|
-
"name": "FASTAccordion",
|
|
3090
|
-
"package": "@microsoft/fast-foundation"
|
|
3091
|
-
},
|
|
3092
|
-
"tagName": "%%prefix%%-accordion",
|
|
3093
|
-
"customElement": true,
|
|
3094
|
-
"attributes": [
|
|
2991
|
+
},
|
|
3095
2992
|
{
|
|
3096
|
-
"
|
|
2993
|
+
"kind": "field",
|
|
2994
|
+
"name": "inputValue",
|
|
3097
2995
|
"type": {
|
|
3098
|
-
"text": "
|
|
2996
|
+
"text": "string"
|
|
3099
2997
|
},
|
|
3100
|
-
"
|
|
3101
|
-
|
|
3102
|
-
"inheritedFrom": {
|
|
3103
|
-
"name": "Accordion",
|
|
3104
|
-
"module": "src/accordion/accordion.ts"
|
|
3105
|
-
}
|
|
3106
|
-
}
|
|
3107
|
-
],
|
|
3108
|
-
"members": [
|
|
2998
|
+
"default": "''"
|
|
2999
|
+
},
|
|
3109
3000
|
{
|
|
3110
3001
|
"kind": "field",
|
|
3111
|
-
"name": "
|
|
3002
|
+
"name": "isInterpreting",
|
|
3112
3003
|
"type": {
|
|
3113
|
-
"text": "
|
|
3004
|
+
"text": "boolean"
|
|
3114
3005
|
},
|
|
3115
|
-
"
|
|
3116
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3117
|
-
"inheritedFrom": {
|
|
3118
|
-
"name": "Accordion",
|
|
3119
|
-
"module": "src/accordion/accordion.ts"
|
|
3120
|
-
}
|
|
3006
|
+
"default": "false"
|
|
3121
3007
|
},
|
|
3122
3008
|
{
|
|
3123
3009
|
"kind": "field",
|
|
3124
|
-
"name": "
|
|
3010
|
+
"name": "lastValidCriteria",
|
|
3125
3011
|
"type": {
|
|
3126
3012
|
"text": "string | null"
|
|
3127
3013
|
},
|
|
3128
|
-
"
|
|
3129
|
-
"inheritedFrom": {
|
|
3130
|
-
"name": "Accordion",
|
|
3131
|
-
"module": "src/accordion/accordion.ts"
|
|
3132
|
-
}
|
|
3014
|
+
"default": "null"
|
|
3133
3015
|
},
|
|
3134
3016
|
{
|
|
3135
3017
|
"kind": "field",
|
|
3136
|
-
"name": "
|
|
3018
|
+
"name": "activeGroups",
|
|
3137
3019
|
"type": {
|
|
3138
|
-
"text": "
|
|
3020
|
+
"text": "CriteriaGroup[]"
|
|
3139
3021
|
},
|
|
3140
|
-
"
|
|
3141
|
-
"default": "0",
|
|
3142
|
-
"inheritedFrom": {
|
|
3143
|
-
"name": "Accordion",
|
|
3144
|
-
"module": "src/accordion/accordion.ts"
|
|
3145
|
-
}
|
|
3022
|
+
"default": "[]"
|
|
3146
3023
|
},
|
|
3147
3024
|
{
|
|
3148
3025
|
"kind": "field",
|
|
3149
|
-
"name": "
|
|
3026
|
+
"name": "showingChips",
|
|
3150
3027
|
"type": {
|
|
3151
|
-
"text": "
|
|
3028
|
+
"text": "boolean"
|
|
3152
3029
|
},
|
|
3153
|
-
"
|
|
3154
|
-
"inheritedFrom": {
|
|
3155
|
-
"name": "Accordion",
|
|
3156
|
-
"module": "src/accordion/accordion.ts"
|
|
3157
|
-
}
|
|
3030
|
+
"default": "false"
|
|
3158
3031
|
},
|
|
3159
3032
|
{
|
|
3160
3033
|
"kind": "field",
|
|
3161
|
-
"name": "
|
|
3162
|
-
"
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
}
|
|
3034
|
+
"name": "fieldMetadata",
|
|
3035
|
+
"type": {
|
|
3036
|
+
"text": "MetadataDetail[] | string[]"
|
|
3037
|
+
},
|
|
3038
|
+
"default": "[]"
|
|
3167
3039
|
},
|
|
3168
3040
|
{
|
|
3169
|
-
"kind": "
|
|
3170
|
-
"name": "
|
|
3171
|
-
"
|
|
3172
|
-
|
|
3173
|
-
"type": {
|
|
3174
|
-
"text": "AccordionItem | null"
|
|
3175
|
-
}
|
|
3041
|
+
"kind": "field",
|
|
3042
|
+
"name": "isRecording",
|
|
3043
|
+
"type": {
|
|
3044
|
+
"text": "boolean"
|
|
3176
3045
|
},
|
|
3177
|
-
"
|
|
3178
|
-
"name": "Accordion",
|
|
3179
|
-
"module": "src/accordion/accordion.ts"
|
|
3180
|
-
}
|
|
3046
|
+
"default": "false"
|
|
3181
3047
|
},
|
|
3182
3048
|
{
|
|
3183
3049
|
"kind": "field",
|
|
3184
|
-
"name": "
|
|
3185
|
-
"
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
}
|
|
3050
|
+
"name": "textAreaRef",
|
|
3051
|
+
"type": {
|
|
3052
|
+
"text": "HTMLTextAreaElement"
|
|
3053
|
+
},
|
|
3054
|
+
"privacy": "public"
|
|
3190
3055
|
},
|
|
3191
3056
|
{
|
|
3192
|
-
"kind": "
|
|
3193
|
-
"name": "
|
|
3194
|
-
"
|
|
3195
|
-
|
|
3196
|
-
"type": {
|
|
3197
|
-
"text": "void"
|
|
3198
|
-
}
|
|
3057
|
+
"kind": "field",
|
|
3058
|
+
"name": "stopRecording",
|
|
3059
|
+
"type": {
|
|
3060
|
+
"text": "(() => void) | null"
|
|
3199
3061
|
},
|
|
3200
|
-
"
|
|
3201
|
-
|
|
3202
|
-
"module": "src/accordion/accordion.ts"
|
|
3203
|
-
}
|
|
3062
|
+
"privacy": "private",
|
|
3063
|
+
"default": "null"
|
|
3204
3064
|
},
|
|
3205
3065
|
{
|
|
3206
3066
|
"kind": "field",
|
|
3207
|
-
"name": "
|
|
3067
|
+
"name": "speechApplyDebounceTimer",
|
|
3068
|
+
"type": {
|
|
3069
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3070
|
+
},
|
|
3208
3071
|
"privacy": "private",
|
|
3209
|
-
"
|
|
3210
|
-
"name": "Accordion",
|
|
3211
|
-
"module": "src/accordion/accordion.ts"
|
|
3212
|
-
}
|
|
3072
|
+
"default": "null"
|
|
3213
3073
|
},
|
|
3214
3074
|
{
|
|
3215
3075
|
"kind": "field",
|
|
3216
|
-
"name": "
|
|
3217
|
-
"
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3076
|
+
"name": "speechAvailable",
|
|
3077
|
+
"type": {
|
|
3078
|
+
"text": "boolean"
|
|
3079
|
+
},
|
|
3080
|
+
"readonly": true
|
|
3081
|
+
},
|
|
3082
|
+
{
|
|
3083
|
+
"kind": "field",
|
|
3084
|
+
"name": "criteriaChips",
|
|
3085
|
+
"type": {
|
|
3086
|
+
"text": "CriteriaChip[]"
|
|
3087
|
+
},
|
|
3088
|
+
"readonly": true
|
|
3222
3089
|
},
|
|
3223
3090
|
{
|
|
3224
3091
|
"kind": "method",
|
|
3225
|
-
"name": "
|
|
3092
|
+
"name": "getFieldLabel",
|
|
3226
3093
|
"privacy": "private",
|
|
3227
3094
|
"return": {
|
|
3228
3095
|
"type": {
|
|
3229
|
-
"text": "
|
|
3096
|
+
"text": "string"
|
|
3230
3097
|
}
|
|
3231
3098
|
},
|
|
3232
|
-
"
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3099
|
+
"parameters": [
|
|
3100
|
+
{
|
|
3101
|
+
"name": "fieldName",
|
|
3102
|
+
"type": {
|
|
3103
|
+
"text": "string"
|
|
3104
|
+
}
|
|
3105
|
+
}
|
|
3106
|
+
]
|
|
3236
3107
|
},
|
|
3237
3108
|
{
|
|
3238
3109
|
"kind": "method",
|
|
3239
|
-
"name": "
|
|
3240
|
-
"privacy": "private",
|
|
3110
|
+
"name": "toggleCriteriaView",
|
|
3241
3111
|
"return": {
|
|
3242
3112
|
"type": {
|
|
3243
|
-
"text": "
|
|
3113
|
+
"text": "void"
|
|
3244
3114
|
}
|
|
3245
|
-
},
|
|
3246
|
-
"inheritedFrom": {
|
|
3247
|
-
"name": "Accordion",
|
|
3248
|
-
"module": "src/accordion/accordion.ts"
|
|
3249
|
-
}
|
|
3250
|
-
},
|
|
3251
|
-
{
|
|
3252
|
-
"kind": "field",
|
|
3253
|
-
"name": "handleItemKeyDown",
|
|
3254
|
-
"privacy": "private",
|
|
3255
|
-
"inheritedFrom": {
|
|
3256
|
-
"name": "Accordion",
|
|
3257
|
-
"module": "src/accordion/accordion.ts"
|
|
3258
|
-
}
|
|
3259
|
-
},
|
|
3260
|
-
{
|
|
3261
|
-
"kind": "field",
|
|
3262
|
-
"name": "handleItemFocus",
|
|
3263
|
-
"privacy": "private",
|
|
3264
|
-
"inheritedFrom": {
|
|
3265
|
-
"name": "Accordion",
|
|
3266
|
-
"module": "src/accordion/accordion.ts"
|
|
3267
3115
|
}
|
|
3268
3116
|
},
|
|
3269
3117
|
{
|
|
3270
3118
|
"kind": "method",
|
|
3271
|
-
"name": "
|
|
3272
|
-
"privacy": "private",
|
|
3119
|
+
"name": "removeChip",
|
|
3273
3120
|
"return": {
|
|
3274
3121
|
"type": {
|
|
3275
3122
|
"text": "void"
|
|
@@ -3277,31 +3124,49 @@
|
|
|
3277
3124
|
},
|
|
3278
3125
|
"parameters": [
|
|
3279
3126
|
{
|
|
3280
|
-
"name": "
|
|
3127
|
+
"name": "groupIndex",
|
|
3128
|
+
"type": {
|
|
3129
|
+
"text": "number"
|
|
3130
|
+
}
|
|
3131
|
+
},
|
|
3132
|
+
{
|
|
3133
|
+
"name": "clauseIndex",
|
|
3281
3134
|
"type": {
|
|
3282
3135
|
"text": "number"
|
|
3283
3136
|
}
|
|
3284
3137
|
}
|
|
3285
|
-
]
|
|
3286
|
-
"inheritedFrom": {
|
|
3287
|
-
"name": "Accordion",
|
|
3288
|
-
"module": "src/accordion/accordion.ts"
|
|
3289
|
-
}
|
|
3138
|
+
]
|
|
3290
3139
|
},
|
|
3291
3140
|
{
|
|
3292
3141
|
"kind": "method",
|
|
3293
|
-
"name": "
|
|
3294
|
-
"privacy": "private",
|
|
3142
|
+
"name": "clearChips",
|
|
3295
3143
|
"return": {
|
|
3296
3144
|
"type": {
|
|
3297
3145
|
"text": "void"
|
|
3298
3146
|
}
|
|
3299
|
-
},
|
|
3300
|
-
"inheritedFrom": {
|
|
3301
|
-
"name": "Accordion",
|
|
3302
|
-
"module": "src/accordion/accordion.ts"
|
|
3303
3147
|
}
|
|
3304
3148
|
},
|
|
3149
|
+
{
|
|
3150
|
+
"kind": "method",
|
|
3151
|
+
"name": "handleSubmit"
|
|
3152
|
+
},
|
|
3153
|
+
{
|
|
3154
|
+
"kind": "method",
|
|
3155
|
+
"name": "handleBlur"
|
|
3156
|
+
},
|
|
3157
|
+
{
|
|
3158
|
+
"kind": "method",
|
|
3159
|
+
"name": "clear"
|
|
3160
|
+
},
|
|
3161
|
+
{
|
|
3162
|
+
"kind": "method",
|
|
3163
|
+
"name": "toggleSpeechInput"
|
|
3164
|
+
},
|
|
3165
|
+
{
|
|
3166
|
+
"kind": "method",
|
|
3167
|
+
"name": "clearSpeechApplyDebounce",
|
|
3168
|
+
"privacy": "private"
|
|
3169
|
+
},
|
|
3305
3170
|
{
|
|
3306
3171
|
"kind": "field",
|
|
3307
3172
|
"name": "_presentation",
|
|
@@ -3416,26 +3281,48 @@
|
|
|
3416
3281
|
],
|
|
3417
3282
|
"events": [
|
|
3418
3283
|
{
|
|
3419
|
-
"description": "
|
|
3420
|
-
"name": "
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
|
|
3284
|
+
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
3285
|
+
"name": "criteria-changed"
|
|
3286
|
+
},
|
|
3287
|
+
{
|
|
3288
|
+
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
3289
|
+
"name": "validation-errors"
|
|
3425
3290
|
}
|
|
3426
|
-
]
|
|
3291
|
+
],
|
|
3292
|
+
"attributes": [
|
|
3293
|
+
{
|
|
3294
|
+
"name": "placeholder",
|
|
3295
|
+
"type": {
|
|
3296
|
+
"text": "string"
|
|
3297
|
+
},
|
|
3298
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
3299
|
+
"fieldName": "placeholder"
|
|
3300
|
+
},
|
|
3301
|
+
{
|
|
3302
|
+
"type": {
|
|
3303
|
+
"text": "boolean"
|
|
3304
|
+
},
|
|
3305
|
+
"fieldName": "disabled"
|
|
3306
|
+
}
|
|
3307
|
+
],
|
|
3308
|
+
"superclass": {
|
|
3309
|
+
"name": "FoundationElement",
|
|
3310
|
+
"package": "@microsoft/fast-foundation"
|
|
3311
|
+
},
|
|
3312
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3313
|
+
"customElement": true
|
|
3427
3314
|
},
|
|
3428
3315
|
{
|
|
3429
3316
|
"kind": "variable",
|
|
3430
|
-
"name": "
|
|
3317
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3431
3318
|
"type": {
|
|
3432
3319
|
"text": "ShadowRootInit"
|
|
3433
3320
|
},
|
|
3434
|
-
"default": "
|
|
3321
|
+
"default": "undefined"
|
|
3435
3322
|
},
|
|
3436
3323
|
{
|
|
3437
3324
|
"kind": "variable",
|
|
3438
|
-
"name": "
|
|
3325
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3439
3326
|
"type": {
|
|
3440
3327
|
"text": "object"
|
|
3441
3328
|
},
|
|
@@ -3443,57 +3330,103 @@
|
|
|
3443
3330
|
},
|
|
3444
3331
|
{
|
|
3445
3332
|
"kind": "variable",
|
|
3446
|
-
"name": "
|
|
3447
|
-
"description": "The Foundation Accordion",
|
|
3448
|
-
"privacy": "public"
|
|
3333
|
+
"name": "foundationAiCriteriaSearch"
|
|
3449
3334
|
}
|
|
3450
3335
|
],
|
|
3451
3336
|
"exports": [
|
|
3452
3337
|
{
|
|
3453
3338
|
"kind": "js",
|
|
3454
|
-
"name": "
|
|
3339
|
+
"name": "AiCriteriaSearch",
|
|
3455
3340
|
"declaration": {
|
|
3456
|
-
"name": "
|
|
3457
|
-
"module": "src/
|
|
3341
|
+
"name": "AiCriteriaSearch",
|
|
3342
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3458
3343
|
}
|
|
3459
3344
|
},
|
|
3460
3345
|
{
|
|
3461
3346
|
"kind": "js",
|
|
3462
|
-
"name": "
|
|
3347
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3463
3348
|
"declaration": {
|
|
3464
|
-
"name": "
|
|
3465
|
-
"module": "src/
|
|
3349
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3350
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3466
3351
|
}
|
|
3467
3352
|
},
|
|
3468
3353
|
{
|
|
3469
3354
|
"kind": "js",
|
|
3470
|
-
"name": "
|
|
3355
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3471
3356
|
"declaration": {
|
|
3472
|
-
"name": "
|
|
3473
|
-
"module": "src/
|
|
3357
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3358
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3474
3359
|
}
|
|
3475
3360
|
},
|
|
3476
3361
|
{
|
|
3477
3362
|
"kind": "js",
|
|
3478
|
-
"name": "
|
|
3363
|
+
"name": "foundationAiCriteriaSearch",
|
|
3479
3364
|
"declaration": {
|
|
3480
|
-
"name": "
|
|
3481
|
-
"module": "src/
|
|
3365
|
+
"name": "foundationAiCriteriaSearch",
|
|
3366
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3482
3367
|
}
|
|
3483
3368
|
}
|
|
3484
3369
|
]
|
|
3485
3370
|
},
|
|
3486
3371
|
{
|
|
3487
3372
|
"kind": "javascript-module",
|
|
3488
|
-
"path": "src/
|
|
3373
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
3489
3374
|
"declarations": [],
|
|
3490
3375
|
"exports": [
|
|
3376
|
+
{
|
|
3377
|
+
"kind": "js",
|
|
3378
|
+
"name": "AiCriteriaSearch",
|
|
3379
|
+
"declaration": {
|
|
3380
|
+
"name": "AiCriteriaSearch",
|
|
3381
|
+
"module": "./ai-criteria-search"
|
|
3382
|
+
}
|
|
3383
|
+
},
|
|
3384
|
+
{
|
|
3385
|
+
"kind": "js",
|
|
3386
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3387
|
+
"declaration": {
|
|
3388
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3389
|
+
"module": "./ai-criteria-search"
|
|
3390
|
+
}
|
|
3391
|
+
},
|
|
3392
|
+
{
|
|
3393
|
+
"kind": "js",
|
|
3394
|
+
"name": "foundationAiCriteriaSearch",
|
|
3395
|
+
"declaration": {
|
|
3396
|
+
"name": "foundationAiCriteriaSearch",
|
|
3397
|
+
"module": "./ai-criteria-search"
|
|
3398
|
+
}
|
|
3399
|
+
},
|
|
3400
|
+
{
|
|
3401
|
+
"kind": "js",
|
|
3402
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3403
|
+
"declaration": {
|
|
3404
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3405
|
+
"module": "./ai-criteria-search"
|
|
3406
|
+
}
|
|
3407
|
+
},
|
|
3408
|
+
{
|
|
3409
|
+
"kind": "js",
|
|
3410
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3411
|
+
"declaration": {
|
|
3412
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3413
|
+
"module": "./ai-criteria-search.styles"
|
|
3414
|
+
}
|
|
3415
|
+
},
|
|
3416
|
+
{
|
|
3417
|
+
"kind": "js",
|
|
3418
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3419
|
+
"declaration": {
|
|
3420
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3421
|
+
"module": "./ai-criteria-search.template"
|
|
3422
|
+
}
|
|
3423
|
+
},
|
|
3491
3424
|
{
|
|
3492
3425
|
"kind": "js",
|
|
3493
3426
|
"name": "*",
|
|
3494
3427
|
"declaration": {
|
|
3495
3428
|
"name": "*",
|
|
3496
|
-
"package": "./
|
|
3429
|
+
"package": "./validation/criteria-ir"
|
|
3497
3430
|
}
|
|
3498
3431
|
},
|
|
3499
3432
|
{
|
|
@@ -3501,7 +3434,7 @@
|
|
|
3501
3434
|
"name": "*",
|
|
3502
3435
|
"declaration": {
|
|
3503
3436
|
"name": "*",
|
|
3504
|
-
"package": "./
|
|
3437
|
+
"package": "./validation/operator-map"
|
|
3505
3438
|
}
|
|
3506
3439
|
},
|
|
3507
3440
|
{
|
|
@@ -3509,7 +3442,82 @@
|
|
|
3509
3442
|
"name": "*",
|
|
3510
3443
|
"declaration": {
|
|
3511
3444
|
"name": "*",
|
|
3512
|
-
"package": "./
|
|
3445
|
+
"package": "./validation/schema-validator"
|
|
3446
|
+
}
|
|
3447
|
+
}
|
|
3448
|
+
]
|
|
3449
|
+
},
|
|
3450
|
+
{
|
|
3451
|
+
"kind": "javascript-module",
|
|
3452
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3453
|
+
"declarations": [
|
|
3454
|
+
{
|
|
3455
|
+
"kind": "function",
|
|
3456
|
+
"name": "formatValidationErrors",
|
|
3457
|
+
"return": {
|
|
3458
|
+
"type": {
|
|
3459
|
+
"text": "string"
|
|
3460
|
+
}
|
|
3461
|
+
},
|
|
3462
|
+
"parameters": [
|
|
3463
|
+
{
|
|
3464
|
+
"name": "errors",
|
|
3465
|
+
"type": {
|
|
3466
|
+
"text": "ValidationError[]"
|
|
3467
|
+
}
|
|
3468
|
+
}
|
|
3469
|
+
],
|
|
3470
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
3471
|
+
},
|
|
3472
|
+
{
|
|
3473
|
+
"kind": "function",
|
|
3474
|
+
"name": "showCriteriaError",
|
|
3475
|
+
"return": {
|
|
3476
|
+
"type": {
|
|
3477
|
+
"text": "void"
|
|
3478
|
+
}
|
|
3479
|
+
},
|
|
3480
|
+
"parameters": [
|
|
3481
|
+
{
|
|
3482
|
+
"name": "title",
|
|
3483
|
+
"type": {
|
|
3484
|
+
"text": "string"
|
|
3485
|
+
},
|
|
3486
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3487
|
+
},
|
|
3488
|
+
{
|
|
3489
|
+
"name": "body",
|
|
3490
|
+
"type": {
|
|
3491
|
+
"text": "string"
|
|
3492
|
+
},
|
|
3493
|
+
"description": "Error message to display"
|
|
3494
|
+
},
|
|
3495
|
+
{
|
|
3496
|
+
"name": "tagName",
|
|
3497
|
+
"type": {
|
|
3498
|
+
"text": "string"
|
|
3499
|
+
},
|
|
3500
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3501
|
+
}
|
|
3502
|
+
],
|
|
3503
|
+
"description": "Shows a criteria error as a toast notification."
|
|
3504
|
+
}
|
|
3505
|
+
],
|
|
3506
|
+
"exports": [
|
|
3507
|
+
{
|
|
3508
|
+
"kind": "js",
|
|
3509
|
+
"name": "formatValidationErrors",
|
|
3510
|
+
"declaration": {
|
|
3511
|
+
"name": "formatValidationErrors",
|
|
3512
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3513
|
+
}
|
|
3514
|
+
},
|
|
3515
|
+
{
|
|
3516
|
+
"kind": "js",
|
|
3517
|
+
"name": "showCriteriaError",
|
|
3518
|
+
"declaration": {
|
|
3519
|
+
"name": "showCriteriaError",
|
|
3520
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3513
3521
|
}
|
|
3514
3522
|
}
|
|
3515
3523
|
]
|
|
@@ -38644,6 +38652,403 @@
|
|
|
38644
38652
|
}
|
|
38645
38653
|
]
|
|
38646
38654
|
},
|
|
38655
|
+
{
|
|
38656
|
+
"kind": "javascript-module",
|
|
38657
|
+
"path": "src/pill/index.ts",
|
|
38658
|
+
"declarations": [],
|
|
38659
|
+
"exports": [
|
|
38660
|
+
{
|
|
38661
|
+
"kind": "js",
|
|
38662
|
+
"name": "*",
|
|
38663
|
+
"declaration": {
|
|
38664
|
+
"name": "*",
|
|
38665
|
+
"package": "./pill"
|
|
38666
|
+
}
|
|
38667
|
+
},
|
|
38668
|
+
{
|
|
38669
|
+
"kind": "js",
|
|
38670
|
+
"name": "*",
|
|
38671
|
+
"declaration": {
|
|
38672
|
+
"name": "*",
|
|
38673
|
+
"package": "./pill.styles"
|
|
38674
|
+
}
|
|
38675
|
+
},
|
|
38676
|
+
{
|
|
38677
|
+
"kind": "js",
|
|
38678
|
+
"name": "*",
|
|
38679
|
+
"declaration": {
|
|
38680
|
+
"name": "*",
|
|
38681
|
+
"package": "./pill.template"
|
|
38682
|
+
}
|
|
38683
|
+
}
|
|
38684
|
+
]
|
|
38685
|
+
},
|
|
38686
|
+
{
|
|
38687
|
+
"kind": "javascript-module",
|
|
38688
|
+
"path": "src/pill/pill.styles.ts",
|
|
38689
|
+
"declarations": [
|
|
38690
|
+
{
|
|
38691
|
+
"kind": "variable",
|
|
38692
|
+
"name": "pillStyles",
|
|
38693
|
+
"default": "css`\n :host {\n --pill-fill: var(--neutral-fill-rest, #e5e5e5);\n --pill-fill-hover: var(--neutral-fill-hover, #d9d9d9);\n --pill-foreground: var(--neutral-foreground-rest, #1a1a1a);\n --pill-border-radius: 12px;\n\n display: inline-flex;\n }\n\n .pill {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n height: 24px;\n padding: 0 4px 0 10px;\n border-radius: var(--pill-border-radius);\n background: var(--pill-fill);\n color: var(--pill-foreground);\n font-size: 12px;\n line-height: 1;\n }\n\n .pill[disabled] {\n opacity: 50%;\n }\n\n .pill-body {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n border: none;\n background: transparent;\n color: inherit;\n font: inherit;\n padding: 0;\n cursor: pointer;\n }\n\n .pill-body:disabled {\n cursor: not-allowed;\n }\n\n .pill-label {\n font-weight: 600;\n white-space: nowrap;\n }\n\n .pill-value {\n white-space: nowrap;\n }\n\n .pill-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 16px;\n height: 16px;\n border: none;\n border-radius: 50%;\n background: transparent;\n color: inherit;\n cursor: pointer;\n padding: 0;\n }\n\n .pill-remove:hover {\n background: var(--pill-fill-hover);\n }\n\n .pill-remove:disabled {\n cursor: not-allowed;\n }\n`"
|
|
38694
|
+
}
|
|
38695
|
+
],
|
|
38696
|
+
"exports": [
|
|
38697
|
+
{
|
|
38698
|
+
"kind": "js",
|
|
38699
|
+
"name": "pillStyles",
|
|
38700
|
+
"declaration": {
|
|
38701
|
+
"name": "pillStyles",
|
|
38702
|
+
"module": "src/pill/pill.styles.ts"
|
|
38703
|
+
}
|
|
38704
|
+
}
|
|
38705
|
+
]
|
|
38706
|
+
},
|
|
38707
|
+
{
|
|
38708
|
+
"kind": "javascript-module",
|
|
38709
|
+
"path": "src/pill/pill.template.ts",
|
|
38710
|
+
"declarations": [
|
|
38711
|
+
{
|
|
38712
|
+
"kind": "variable",
|
|
38713
|
+
"name": "foundationPillTemplate",
|
|
38714
|
+
"default": "html<Pill>`\n ${(x) => getPrefixedPillTemplate(getPrefix(x))}\n`"
|
|
38715
|
+
}
|
|
38716
|
+
],
|
|
38717
|
+
"exports": [
|
|
38718
|
+
{
|
|
38719
|
+
"kind": "js",
|
|
38720
|
+
"name": "foundationPillTemplate",
|
|
38721
|
+
"declaration": {
|
|
38722
|
+
"name": "foundationPillTemplate",
|
|
38723
|
+
"module": "src/pill/pill.template.ts"
|
|
38724
|
+
}
|
|
38725
|
+
}
|
|
38726
|
+
]
|
|
38727
|
+
},
|
|
38728
|
+
{
|
|
38729
|
+
"kind": "javascript-module",
|
|
38730
|
+
"path": "src/pill/pill.ts",
|
|
38731
|
+
"declarations": [
|
|
38732
|
+
{
|
|
38733
|
+
"kind": "variable",
|
|
38734
|
+
"name": "foundationPillShadowOptions",
|
|
38735
|
+
"type": {
|
|
38736
|
+
"text": "ShadowRootInit"
|
|
38737
|
+
},
|
|
38738
|
+
"default": "undefined"
|
|
38739
|
+
},
|
|
38740
|
+
{
|
|
38741
|
+
"kind": "variable",
|
|
38742
|
+
"name": "defaultPillConfig",
|
|
38743
|
+
"type": {
|
|
38744
|
+
"text": "object"
|
|
38745
|
+
},
|
|
38746
|
+
"default": "{}"
|
|
38747
|
+
},
|
|
38748
|
+
{
|
|
38749
|
+
"kind": "class",
|
|
38750
|
+
"description": "",
|
|
38751
|
+
"name": "Pill",
|
|
38752
|
+
"members": [
|
|
38753
|
+
{
|
|
38754
|
+
"kind": "field",
|
|
38755
|
+
"name": "label",
|
|
38756
|
+
"type": {
|
|
38757
|
+
"text": "string"
|
|
38758
|
+
},
|
|
38759
|
+
"attribute": "label"
|
|
38760
|
+
},
|
|
38761
|
+
{
|
|
38762
|
+
"kind": "field",
|
|
38763
|
+
"name": "value",
|
|
38764
|
+
"type": {
|
|
38765
|
+
"text": "string"
|
|
38766
|
+
},
|
|
38767
|
+
"attribute": "value"
|
|
38768
|
+
},
|
|
38769
|
+
{
|
|
38770
|
+
"kind": "field",
|
|
38771
|
+
"name": "removable",
|
|
38772
|
+
"type": {
|
|
38773
|
+
"text": "boolean"
|
|
38774
|
+
},
|
|
38775
|
+
"default": "true",
|
|
38776
|
+
"attribute": "removable"
|
|
38777
|
+
},
|
|
38778
|
+
{
|
|
38779
|
+
"kind": "field",
|
|
38780
|
+
"name": "disabled",
|
|
38781
|
+
"type": {
|
|
38782
|
+
"text": "boolean"
|
|
38783
|
+
},
|
|
38784
|
+
"default": "false",
|
|
38785
|
+
"attribute": "disabled"
|
|
38786
|
+
},
|
|
38787
|
+
{
|
|
38788
|
+
"kind": "method",
|
|
38789
|
+
"name": "handleBodyClick",
|
|
38790
|
+
"return": {
|
|
38791
|
+
"type": {
|
|
38792
|
+
"text": "void"
|
|
38793
|
+
}
|
|
38794
|
+
}
|
|
38795
|
+
},
|
|
38796
|
+
{
|
|
38797
|
+
"kind": "method",
|
|
38798
|
+
"name": "handleRemoveClick",
|
|
38799
|
+
"return": {
|
|
38800
|
+
"type": {
|
|
38801
|
+
"text": "void"
|
|
38802
|
+
}
|
|
38803
|
+
},
|
|
38804
|
+
"parameters": [
|
|
38805
|
+
{
|
|
38806
|
+
"name": "event",
|
|
38807
|
+
"type": {
|
|
38808
|
+
"text": "Event"
|
|
38809
|
+
}
|
|
38810
|
+
}
|
|
38811
|
+
]
|
|
38812
|
+
},
|
|
38813
|
+
{
|
|
38814
|
+
"kind": "field",
|
|
38815
|
+
"name": "_presentation",
|
|
38816
|
+
"type": {
|
|
38817
|
+
"text": "ComponentPresentation | null | undefined"
|
|
38818
|
+
},
|
|
38819
|
+
"privacy": "private",
|
|
38820
|
+
"default": "void 0",
|
|
38821
|
+
"inheritedFrom": {
|
|
38822
|
+
"name": "FoundationElement",
|
|
38823
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
38824
|
+
}
|
|
38825
|
+
},
|
|
38826
|
+
{
|
|
38827
|
+
"kind": "field",
|
|
38828
|
+
"name": "$presentation",
|
|
38829
|
+
"type": {
|
|
38830
|
+
"text": "ComponentPresentation | null"
|
|
38831
|
+
},
|
|
38832
|
+
"privacy": "public",
|
|
38833
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
38834
|
+
"inheritedFrom": {
|
|
38835
|
+
"name": "FoundationElement",
|
|
38836
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
38837
|
+
}
|
|
38838
|
+
},
|
|
38839
|
+
{
|
|
38840
|
+
"kind": "field",
|
|
38841
|
+
"name": "template",
|
|
38842
|
+
"type": {
|
|
38843
|
+
"text": "ElementViewTemplate | void | null"
|
|
38844
|
+
},
|
|
38845
|
+
"privacy": "public",
|
|
38846
|
+
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
38847
|
+
"inheritedFrom": {
|
|
38848
|
+
"name": "FoundationElement",
|
|
38849
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
38850
|
+
}
|
|
38851
|
+
},
|
|
38852
|
+
{
|
|
38853
|
+
"kind": "method",
|
|
38854
|
+
"name": "templateChanged",
|
|
38855
|
+
"privacy": "protected",
|
|
38856
|
+
"return": {
|
|
38857
|
+
"type": {
|
|
38858
|
+
"text": "void"
|
|
38859
|
+
}
|
|
38860
|
+
},
|
|
38861
|
+
"inheritedFrom": {
|
|
38862
|
+
"name": "FoundationElement",
|
|
38863
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
38864
|
+
}
|
|
38865
|
+
},
|
|
38866
|
+
{
|
|
38867
|
+
"kind": "field",
|
|
38868
|
+
"name": "styles",
|
|
38869
|
+
"type": {
|
|
38870
|
+
"text": "ElementStyles | void | null"
|
|
38871
|
+
},
|
|
38872
|
+
"privacy": "public",
|
|
38873
|
+
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
38874
|
+
"inheritedFrom": {
|
|
38875
|
+
"name": "FoundationElement",
|
|
38876
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
38877
|
+
}
|
|
38878
|
+
},
|
|
38879
|
+
{
|
|
38880
|
+
"kind": "method",
|
|
38881
|
+
"name": "stylesChanged",
|
|
38882
|
+
"privacy": "protected",
|
|
38883
|
+
"return": {
|
|
38884
|
+
"type": {
|
|
38885
|
+
"text": "void"
|
|
38886
|
+
}
|
|
38887
|
+
},
|
|
38888
|
+
"inheritedFrom": {
|
|
38889
|
+
"name": "FoundationElement",
|
|
38890
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
38891
|
+
}
|
|
38892
|
+
},
|
|
38893
|
+
{
|
|
38894
|
+
"kind": "method",
|
|
38895
|
+
"name": "compose",
|
|
38896
|
+
"privacy": "public",
|
|
38897
|
+
"static": true,
|
|
38898
|
+
"return": {
|
|
38899
|
+
"type": {
|
|
38900
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
38901
|
+
}
|
|
38902
|
+
},
|
|
38903
|
+
"parameters": [
|
|
38904
|
+
{
|
|
38905
|
+
"name": "this",
|
|
38906
|
+
"type": {
|
|
38907
|
+
"text": "K"
|
|
38908
|
+
}
|
|
38909
|
+
},
|
|
38910
|
+
{
|
|
38911
|
+
"name": "elementDefinition",
|
|
38912
|
+
"type": {
|
|
38913
|
+
"text": "T"
|
|
38914
|
+
},
|
|
38915
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
38916
|
+
}
|
|
38917
|
+
],
|
|
38918
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
38919
|
+
"inheritedFrom": {
|
|
38920
|
+
"name": "FoundationElement",
|
|
38921
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
38922
|
+
}
|
|
38923
|
+
}
|
|
38924
|
+
],
|
|
38925
|
+
"events": [
|
|
38926
|
+
{
|
|
38927
|
+
"description": "Fired when the remove control is activated.",
|
|
38928
|
+
"name": "remove"
|
|
38929
|
+
},
|
|
38930
|
+
{
|
|
38931
|
+
"description": "Fired when the pill body (excluding the remove control) is activated.",
|
|
38932
|
+
"name": "pill-click"
|
|
38933
|
+
}
|
|
38934
|
+
],
|
|
38935
|
+
"attributes": [
|
|
38936
|
+
{
|
|
38937
|
+
"name": "label",
|
|
38938
|
+
"type": {
|
|
38939
|
+
"text": "string"
|
|
38940
|
+
},
|
|
38941
|
+
"fieldName": "label",
|
|
38942
|
+
"description": "the name of the thing this pill represents, e.g. a filter field name"
|
|
38943
|
+
},
|
|
38944
|
+
{
|
|
38945
|
+
"name": "value",
|
|
38946
|
+
"type": {
|
|
38947
|
+
"text": "string"
|
|
38948
|
+
},
|
|
38949
|
+
"fieldName": "value",
|
|
38950
|
+
"description": "the current value shown alongside the label, e.g. \"Cpty Desk: EQUITIES\""
|
|
38951
|
+
},
|
|
38952
|
+
{
|
|
38953
|
+
"name": "removable",
|
|
38954
|
+
"type": {
|
|
38955
|
+
"text": "boolean"
|
|
38956
|
+
},
|
|
38957
|
+
"default": "true",
|
|
38958
|
+
"fieldName": "removable",
|
|
38959
|
+
"description": "whether the \"x\" remove control is shown"
|
|
38960
|
+
},
|
|
38961
|
+
{
|
|
38962
|
+
"name": "disabled",
|
|
38963
|
+
"type": {
|
|
38964
|
+
"text": "boolean"
|
|
38965
|
+
},
|
|
38966
|
+
"default": "false",
|
|
38967
|
+
"fieldName": "disabled",
|
|
38968
|
+
"description": "disables both the pill body and the remove control"
|
|
38969
|
+
},
|
|
38970
|
+
{
|
|
38971
|
+
"name": "label",
|
|
38972
|
+
"type": {
|
|
38973
|
+
"text": "string"
|
|
38974
|
+
},
|
|
38975
|
+
"attribute": "label",
|
|
38976
|
+
"fieldName": "label"
|
|
38977
|
+
},
|
|
38978
|
+
{
|
|
38979
|
+
"name": "value",
|
|
38980
|
+
"type": {
|
|
38981
|
+
"text": "string"
|
|
38982
|
+
},
|
|
38983
|
+
"attribute": "value",
|
|
38984
|
+
"fieldName": "value"
|
|
38985
|
+
},
|
|
38986
|
+
{
|
|
38987
|
+
"type": {
|
|
38988
|
+
"text": "boolean"
|
|
38989
|
+
},
|
|
38990
|
+
"default": "true",
|
|
38991
|
+
"attribute": "removable",
|
|
38992
|
+
"fieldName": "removable"
|
|
38993
|
+
},
|
|
38994
|
+
{
|
|
38995
|
+
"type": {
|
|
38996
|
+
"text": "boolean"
|
|
38997
|
+
},
|
|
38998
|
+
"default": "false",
|
|
38999
|
+
"attribute": "disabled",
|
|
39000
|
+
"fieldName": "disabled"
|
|
39001
|
+
}
|
|
39002
|
+
],
|
|
39003
|
+
"superclass": {
|
|
39004
|
+
"name": "FoundationElement",
|
|
39005
|
+
"package": "@microsoft/fast-foundation"
|
|
39006
|
+
},
|
|
39007
|
+
"tagName": "%%prefix%%-pill",
|
|
39008
|
+
"customElement": true
|
|
39009
|
+
},
|
|
39010
|
+
{
|
|
39011
|
+
"kind": "variable",
|
|
39012
|
+
"name": "foundationPill",
|
|
39013
|
+
"description": "The Foundation Pill",
|
|
39014
|
+
"privacy": "public"
|
|
39015
|
+
}
|
|
39016
|
+
],
|
|
39017
|
+
"exports": [
|
|
39018
|
+
{
|
|
39019
|
+
"kind": "js",
|
|
39020
|
+
"name": "foundationPillShadowOptions",
|
|
39021
|
+
"declaration": {
|
|
39022
|
+
"name": "foundationPillShadowOptions",
|
|
39023
|
+
"module": "src/pill/pill.ts"
|
|
39024
|
+
}
|
|
39025
|
+
},
|
|
39026
|
+
{
|
|
39027
|
+
"kind": "js",
|
|
39028
|
+
"name": "defaultPillConfig",
|
|
39029
|
+
"declaration": {
|
|
39030
|
+
"name": "defaultPillConfig",
|
|
39031
|
+
"module": "src/pill/pill.ts"
|
|
39032
|
+
}
|
|
39033
|
+
},
|
|
39034
|
+
{
|
|
39035
|
+
"kind": "js",
|
|
39036
|
+
"name": "Pill",
|
|
39037
|
+
"declaration": {
|
|
39038
|
+
"name": "Pill",
|
|
39039
|
+
"module": "src/pill/pill.ts"
|
|
39040
|
+
}
|
|
39041
|
+
},
|
|
39042
|
+
{
|
|
39043
|
+
"kind": "js",
|
|
39044
|
+
"name": "foundationPill",
|
|
39045
|
+
"declaration": {
|
|
39046
|
+
"name": "foundationPill",
|
|
39047
|
+
"module": "src/pill/pill.ts"
|
|
39048
|
+
}
|
|
39049
|
+
}
|
|
39050
|
+
]
|
|
39051
|
+
},
|
|
38647
39052
|
{
|
|
38648
39053
|
"kind": "javascript-module",
|
|
38649
39054
|
"path": "src/popper/index.ts",
|