@genesislcap/foundation-ui 15.0.0-FUI-2567.2 → 15.0.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 +565 -1364
- package/dist/dts/base-components.d.ts +0 -11
- package/dist/dts/base-components.d.ts.map +1 -1
- package/dist/dts/index.d.ts +0 -1
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/dts/react.d.ts +10 -21
- package/dist/esm/base-components.js +0 -2
- package/dist/esm/index.js +0 -1
- package/dist/foundation-ui.api.json +68 -1089
- package/dist/foundation-ui.d.ts +0 -165
- package/dist/react.cjs +12 -31
- package/dist/react.mjs +10 -28
- package/package.json +19 -19
- package/dist/dts/verification-code-input/index.d.ts +0 -4
- package/dist/dts/verification-code-input/index.d.ts.map +0 -1
- package/dist/dts/verification-code-input/verification-code-input.d.ts +0 -145
- package/dist/dts/verification-code-input/verification-code-input.d.ts.map +0 -1
- package/dist/dts/verification-code-input/verification-code-input.styles.d.ts +0 -3
- package/dist/dts/verification-code-input/verification-code-input.styles.d.ts.map +0 -1
- package/dist/dts/verification-code-input/verification-code-input.template.d.ts +0 -3
- package/dist/dts/verification-code-input/verification-code-input.template.d.ts.map +0 -1
- package/dist/esm/verification-code-input/index.js +0 -3
- package/dist/esm/verification-code-input/verification-code-input.js +0 -437
- package/dist/esm/verification-code-input/verification-code-input.styles.js +0 -108
- package/dist/esm/verification-code-input/verification-code-input.template.js +0 -55
|
@@ -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 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
|
|
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": [
|
|
@@ -867,14 +867,6 @@
|
|
|
867
867
|
"name": "getPrefix",
|
|
868
868
|
"module": "./utils/dom"
|
|
869
869
|
}
|
|
870
|
-
},
|
|
871
|
-
{
|
|
872
|
-
"kind": "js",
|
|
873
|
-
"name": "*",
|
|
874
|
-
"declaration": {
|
|
875
|
-
"name": "*",
|
|
876
|
-
"package": "./verification-code-input"
|
|
877
|
-
}
|
|
878
870
|
}
|
|
879
871
|
]
|
|
880
872
|
},
|
|
@@ -1422,37 +1414,6 @@
|
|
|
1422
1414
|
}
|
|
1423
1415
|
]
|
|
1424
1416
|
},
|
|
1425
|
-
{
|
|
1426
|
-
"kind": "javascript-module",
|
|
1427
|
-
"path": "src/_config/index.ts",
|
|
1428
|
-
"declarations": [],
|
|
1429
|
-
"exports": [
|
|
1430
|
-
{
|
|
1431
|
-
"kind": "js",
|
|
1432
|
-
"name": "*",
|
|
1433
|
-
"declaration": {
|
|
1434
|
-
"name": "*",
|
|
1435
|
-
"package": "./styles"
|
|
1436
|
-
}
|
|
1437
|
-
},
|
|
1438
|
-
{
|
|
1439
|
-
"kind": "js",
|
|
1440
|
-
"name": "*",
|
|
1441
|
-
"declaration": {
|
|
1442
|
-
"name": "*",
|
|
1443
|
-
"package": "./tokens"
|
|
1444
|
-
}
|
|
1445
|
-
},
|
|
1446
|
-
{
|
|
1447
|
-
"kind": "js",
|
|
1448
|
-
"name": "*",
|
|
1449
|
-
"declaration": {
|
|
1450
|
-
"name": "*",
|
|
1451
|
-
"package": "./values"
|
|
1452
|
-
}
|
|
1453
|
-
}
|
|
1454
|
-
]
|
|
1455
|
-
},
|
|
1456
1417
|
{
|
|
1457
1418
|
"kind": "javascript-module",
|
|
1458
1419
|
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
@@ -1847,6 +1808,37 @@
|
|
|
1847
1808
|
}
|
|
1848
1809
|
]
|
|
1849
1810
|
},
|
|
1811
|
+
{
|
|
1812
|
+
"kind": "javascript-module",
|
|
1813
|
+
"path": "src/_config/index.ts",
|
|
1814
|
+
"declarations": [],
|
|
1815
|
+
"exports": [
|
|
1816
|
+
{
|
|
1817
|
+
"kind": "js",
|
|
1818
|
+
"name": "*",
|
|
1819
|
+
"declaration": {
|
|
1820
|
+
"name": "*",
|
|
1821
|
+
"package": "./styles"
|
|
1822
|
+
}
|
|
1823
|
+
},
|
|
1824
|
+
{
|
|
1825
|
+
"kind": "js",
|
|
1826
|
+
"name": "*",
|
|
1827
|
+
"declaration": {
|
|
1828
|
+
"name": "*",
|
|
1829
|
+
"package": "./tokens"
|
|
1830
|
+
}
|
|
1831
|
+
},
|
|
1832
|
+
{
|
|
1833
|
+
"kind": "js",
|
|
1834
|
+
"name": "*",
|
|
1835
|
+
"declaration": {
|
|
1836
|
+
"name": "*",
|
|
1837
|
+
"package": "./values"
|
|
1838
|
+
}
|
|
1839
|
+
}
|
|
1840
|
+
]
|
|
1841
|
+
},
|
|
1850
1842
|
{
|
|
1851
1843
|
"kind": "javascript-module",
|
|
1852
1844
|
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
@@ -2408,208 +2400,275 @@
|
|
|
2408
2400
|
},
|
|
2409
2401
|
{
|
|
2410
2402
|
"kind": "javascript-module",
|
|
2411
|
-
"path": "src/
|
|
2403
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
2412
2404
|
"declarations": [
|
|
2413
2405
|
{
|
|
2414
|
-
"kind": "
|
|
2415
|
-
"name": "
|
|
2416
|
-
"
|
|
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
|
+
]
|
|
2417
2427
|
}
|
|
2418
2428
|
],
|
|
2419
2429
|
"exports": [
|
|
2420
2430
|
{
|
|
2421
2431
|
"kind": "js",
|
|
2422
|
-
"name": "
|
|
2432
|
+
"name": "foundationAccordionStyles",
|
|
2423
2433
|
"declaration": {
|
|
2424
|
-
"name": "
|
|
2425
|
-
"module": "src/
|
|
2434
|
+
"name": "foundationAccordionStyles",
|
|
2435
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
2426
2436
|
}
|
|
2427
2437
|
}
|
|
2428
2438
|
]
|
|
2429
2439
|
},
|
|
2430
2440
|
{
|
|
2431
2441
|
"kind": "javascript-module",
|
|
2432
|
-
"path": "src/
|
|
2442
|
+
"path": "src/accordion/accordion.template.ts",
|
|
2433
2443
|
"declarations": [
|
|
2434
2444
|
{
|
|
2435
|
-
"kind": "
|
|
2436
|
-
"name": "
|
|
2437
|
-
"
|
|
2438
|
-
"
|
|
2445
|
+
"kind": "function",
|
|
2446
|
+
"name": "foundationAccordionTemplate",
|
|
2447
|
+
"return": {
|
|
2448
|
+
"type": {
|
|
2449
|
+
"text": "ViewTemplate<Accordion>"
|
|
2450
|
+
}
|
|
2439
2451
|
},
|
|
2440
|
-
"
|
|
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
|
+
]
|
|
2441
2466
|
}
|
|
2442
2467
|
],
|
|
2443
2468
|
"exports": [
|
|
2444
2469
|
{
|
|
2445
2470
|
"kind": "js",
|
|
2446
|
-
"name": "
|
|
2471
|
+
"name": "foundationAccordionTemplate",
|
|
2447
2472
|
"declaration": {
|
|
2448
|
-
"name": "
|
|
2449
|
-
"module": "src/
|
|
2473
|
+
"name": "foundationAccordionTemplate",
|
|
2474
|
+
"module": "src/accordion/accordion.template.ts"
|
|
2450
2475
|
}
|
|
2451
2476
|
}
|
|
2452
2477
|
]
|
|
2453
2478
|
},
|
|
2454
2479
|
{
|
|
2455
2480
|
"kind": "javascript-module",
|
|
2456
|
-
"path": "src/
|
|
2481
|
+
"path": "src/accordion/accordion.ts",
|
|
2457
2482
|
"declarations": [
|
|
2458
2483
|
{
|
|
2459
2484
|
"kind": "class",
|
|
2460
|
-
"description": "
|
|
2461
|
-
"name": "
|
|
2462
|
-
"
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
},
|
|
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": [
|
|
2470
2494
|
{
|
|
2471
|
-
"
|
|
2472
|
-
"name": "placeholder",
|
|
2495
|
+
"name": "expand-mode",
|
|
2473
2496
|
"type": {
|
|
2474
|
-
"text": "
|
|
2497
|
+
"text": "AccordionExpandMode"
|
|
2475
2498
|
},
|
|
2476
|
-
"
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
"type": {
|
|
2482
|
-
"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"
|
|
2483
2504
|
}
|
|
2484
|
-
}
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
"name": "inputValue",
|
|
2488
|
-
"type": {
|
|
2489
|
-
"text": "string"
|
|
2490
|
-
},
|
|
2491
|
-
"default": "''"
|
|
2492
|
-
},
|
|
2505
|
+
}
|
|
2506
|
+
],
|
|
2507
|
+
"members": [
|
|
2493
2508
|
{
|
|
2494
2509
|
"kind": "field",
|
|
2495
|
-
"name": "
|
|
2510
|
+
"name": "expandmode",
|
|
2496
2511
|
"type": {
|
|
2497
|
-
"text": "
|
|
2512
|
+
"text": "AccordionExpandMode"
|
|
2498
2513
|
},
|
|
2499
|
-
"
|
|
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
|
+
}
|
|
2500
2520
|
},
|
|
2501
2521
|
{
|
|
2502
2522
|
"kind": "field",
|
|
2503
|
-
"name": "
|
|
2523
|
+
"name": "activeid",
|
|
2504
2524
|
"type": {
|
|
2505
2525
|
"text": "string | null"
|
|
2506
2526
|
},
|
|
2507
|
-
"
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
"type": {
|
|
2513
|
-
"text": "CriteriaGroup[]"
|
|
2514
|
-
},
|
|
2515
|
-
"default": "[]"
|
|
2527
|
+
"privacy": "private",
|
|
2528
|
+
"inheritedFrom": {
|
|
2529
|
+
"name": "Accordion",
|
|
2530
|
+
"module": "src/accordion/accordion.ts"
|
|
2531
|
+
}
|
|
2516
2532
|
},
|
|
2517
2533
|
{
|
|
2518
2534
|
"kind": "field",
|
|
2519
|
-
"name": "
|
|
2535
|
+
"name": "activeItemIndex",
|
|
2520
2536
|
"type": {
|
|
2521
|
-
"text": "
|
|
2537
|
+
"text": "number"
|
|
2522
2538
|
},
|
|
2523
|
-
"
|
|
2539
|
+
"privacy": "private",
|
|
2540
|
+
"default": "0",
|
|
2541
|
+
"inheritedFrom": {
|
|
2542
|
+
"name": "Accordion",
|
|
2543
|
+
"module": "src/accordion/accordion.ts"
|
|
2544
|
+
}
|
|
2524
2545
|
},
|
|
2525
2546
|
{
|
|
2526
2547
|
"kind": "field",
|
|
2527
|
-
"name": "
|
|
2548
|
+
"name": "accordionIds",
|
|
2528
2549
|
"type": {
|
|
2529
|
-
"text": "
|
|
2550
|
+
"text": "Array<string | null>"
|
|
2530
2551
|
},
|
|
2531
|
-
"
|
|
2552
|
+
"privacy": "private",
|
|
2553
|
+
"inheritedFrom": {
|
|
2554
|
+
"name": "Accordion",
|
|
2555
|
+
"module": "src/accordion/accordion.ts"
|
|
2556
|
+
}
|
|
2532
2557
|
},
|
|
2533
2558
|
{
|
|
2534
2559
|
"kind": "field",
|
|
2535
|
-
"name": "
|
|
2536
|
-
"
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2560
|
+
"name": "change",
|
|
2561
|
+
"privacy": "private",
|
|
2562
|
+
"inheritedFrom": {
|
|
2563
|
+
"name": "Accordion",
|
|
2564
|
+
"module": "src/accordion/accordion.ts"
|
|
2565
|
+
}
|
|
2540
2566
|
},
|
|
2541
2567
|
{
|
|
2542
|
-
"kind": "
|
|
2543
|
-
"name": "
|
|
2544
|
-
"
|
|
2545
|
-
|
|
2568
|
+
"kind": "method",
|
|
2569
|
+
"name": "findExpandedItem",
|
|
2570
|
+
"privacy": "private",
|
|
2571
|
+
"return": {
|
|
2572
|
+
"type": {
|
|
2573
|
+
"text": "AccordionItem | null"
|
|
2574
|
+
}
|
|
2546
2575
|
},
|
|
2547
|
-
"
|
|
2576
|
+
"inheritedFrom": {
|
|
2577
|
+
"name": "Accordion",
|
|
2578
|
+
"module": "src/accordion/accordion.ts"
|
|
2579
|
+
}
|
|
2548
2580
|
},
|
|
2549
2581
|
{
|
|
2550
2582
|
"kind": "field",
|
|
2551
|
-
"name": "
|
|
2552
|
-
"type": {
|
|
2553
|
-
"text": "(() => void) | null"
|
|
2554
|
-
},
|
|
2583
|
+
"name": "setItems",
|
|
2555
2584
|
"privacy": "private",
|
|
2556
|
-
"
|
|
2585
|
+
"inheritedFrom": {
|
|
2586
|
+
"name": "Accordion",
|
|
2587
|
+
"module": "src/accordion/accordion.ts"
|
|
2588
|
+
}
|
|
2557
2589
|
},
|
|
2558
2590
|
{
|
|
2559
|
-
"kind": "
|
|
2560
|
-
"name": "
|
|
2561
|
-
"type": {
|
|
2562
|
-
"text": "ReturnType<typeof setTimeout> | null"
|
|
2563
|
-
},
|
|
2591
|
+
"kind": "method",
|
|
2592
|
+
"name": "resetItems",
|
|
2564
2593
|
"privacy": "private",
|
|
2565
|
-
"
|
|
2594
|
+
"return": {
|
|
2595
|
+
"type": {
|
|
2596
|
+
"text": "void"
|
|
2597
|
+
}
|
|
2598
|
+
},
|
|
2599
|
+
"inheritedFrom": {
|
|
2600
|
+
"name": "Accordion",
|
|
2601
|
+
"module": "src/accordion/accordion.ts"
|
|
2602
|
+
}
|
|
2566
2603
|
},
|
|
2567
2604
|
{
|
|
2568
2605
|
"kind": "field",
|
|
2569
|
-
"name": "
|
|
2570
|
-
"
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2606
|
+
"name": "removeItemListeners",
|
|
2607
|
+
"privacy": "private",
|
|
2608
|
+
"inheritedFrom": {
|
|
2609
|
+
"name": "Accordion",
|
|
2610
|
+
"module": "src/accordion/accordion.ts"
|
|
2611
|
+
}
|
|
2574
2612
|
},
|
|
2575
2613
|
{
|
|
2576
2614
|
"kind": "field",
|
|
2577
|
-
"name": "
|
|
2578
|
-
"
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2615
|
+
"name": "activeItemChange",
|
|
2616
|
+
"privacy": "private",
|
|
2617
|
+
"inheritedFrom": {
|
|
2618
|
+
"name": "Accordion",
|
|
2619
|
+
"module": "src/accordion/accordion.ts"
|
|
2620
|
+
}
|
|
2582
2621
|
},
|
|
2583
2622
|
{
|
|
2584
2623
|
"kind": "method",
|
|
2585
|
-
"name": "
|
|
2624
|
+
"name": "getItemIds",
|
|
2586
2625
|
"privacy": "private",
|
|
2587
2626
|
"return": {
|
|
2588
2627
|
"type": {
|
|
2589
|
-
"text": "string"
|
|
2628
|
+
"text": "Array<string | null>"
|
|
2590
2629
|
}
|
|
2591
2630
|
},
|
|
2592
|
-
"
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
"text": "string"
|
|
2597
|
-
}
|
|
2598
|
-
}
|
|
2599
|
-
]
|
|
2631
|
+
"inheritedFrom": {
|
|
2632
|
+
"name": "Accordion",
|
|
2633
|
+
"module": "src/accordion/accordion.ts"
|
|
2634
|
+
}
|
|
2600
2635
|
},
|
|
2601
2636
|
{
|
|
2602
2637
|
"kind": "method",
|
|
2603
|
-
"name": "
|
|
2638
|
+
"name": "isSingleExpandMode",
|
|
2639
|
+
"privacy": "private",
|
|
2604
2640
|
"return": {
|
|
2605
2641
|
"type": {
|
|
2606
|
-
"text": "
|
|
2642
|
+
"text": "boolean"
|
|
2607
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"
|
|
2608
2666
|
}
|
|
2609
2667
|
},
|
|
2610
2668
|
{
|
|
2611
2669
|
"kind": "method",
|
|
2612
|
-
"name": "
|
|
2670
|
+
"name": "adjust",
|
|
2671
|
+
"privacy": "private",
|
|
2613
2672
|
"return": {
|
|
2614
2673
|
"type": {
|
|
2615
2674
|
"text": "void"
|
|
@@ -2617,49 +2676,31 @@
|
|
|
2617
2676
|
},
|
|
2618
2677
|
"parameters": [
|
|
2619
2678
|
{
|
|
2620
|
-
"name": "
|
|
2621
|
-
"type": {
|
|
2622
|
-
"text": "number"
|
|
2623
|
-
}
|
|
2624
|
-
},
|
|
2625
|
-
{
|
|
2626
|
-
"name": "clauseIndex",
|
|
2679
|
+
"name": "adjustment",
|
|
2627
2680
|
"type": {
|
|
2628
2681
|
"text": "number"
|
|
2629
2682
|
}
|
|
2630
2683
|
}
|
|
2631
|
-
]
|
|
2684
|
+
],
|
|
2685
|
+
"inheritedFrom": {
|
|
2686
|
+
"name": "Accordion",
|
|
2687
|
+
"module": "src/accordion/accordion.ts"
|
|
2688
|
+
}
|
|
2632
2689
|
},
|
|
2633
2690
|
{
|
|
2634
2691
|
"kind": "method",
|
|
2635
|
-
"name": "
|
|
2692
|
+
"name": "focusItem",
|
|
2693
|
+
"privacy": "private",
|
|
2636
2694
|
"return": {
|
|
2637
2695
|
"type": {
|
|
2638
2696
|
"text": "void"
|
|
2639
2697
|
}
|
|
2698
|
+
},
|
|
2699
|
+
"inheritedFrom": {
|
|
2700
|
+
"name": "Accordion",
|
|
2701
|
+
"module": "src/accordion/accordion.ts"
|
|
2640
2702
|
}
|
|
2641
2703
|
},
|
|
2642
|
-
{
|
|
2643
|
-
"kind": "method",
|
|
2644
|
-
"name": "handleSubmit"
|
|
2645
|
-
},
|
|
2646
|
-
{
|
|
2647
|
-
"kind": "method",
|
|
2648
|
-
"name": "handleBlur"
|
|
2649
|
-
},
|
|
2650
|
-
{
|
|
2651
|
-
"kind": "method",
|
|
2652
|
-
"name": "clear"
|
|
2653
|
-
},
|
|
2654
|
-
{
|
|
2655
|
-
"kind": "method",
|
|
2656
|
-
"name": "toggleSpeechInput"
|
|
2657
|
-
},
|
|
2658
|
-
{
|
|
2659
|
-
"kind": "method",
|
|
2660
|
-
"name": "clearSpeechApplyDebounce",
|
|
2661
|
-
"privacy": "private"
|
|
2662
|
-
},
|
|
2663
2704
|
{
|
|
2664
2705
|
"kind": "field",
|
|
2665
2706
|
"name": "_presentation",
|
|
@@ -2774,48 +2815,26 @@
|
|
|
2774
2815
|
],
|
|
2775
2816
|
"events": [
|
|
2776
2817
|
{
|
|
2777
|
-
"description": "
|
|
2778
|
-
"name": "
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
}
|
|
2784
|
-
],
|
|
2785
|
-
"attributes": [
|
|
2786
|
-
{
|
|
2787
|
-
"name": "placeholder",
|
|
2788
|
-
"type": {
|
|
2789
|
-
"text": "string"
|
|
2790
|
-
},
|
|
2791
|
-
"default": "'Describe your search criteria in natural language...'",
|
|
2792
|
-
"fieldName": "placeholder"
|
|
2793
|
-
},
|
|
2794
|
-
{
|
|
2795
|
-
"type": {
|
|
2796
|
-
"text": "boolean"
|
|
2797
|
-
},
|
|
2798
|
-
"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
|
+
}
|
|
2799
2824
|
}
|
|
2800
|
-
]
|
|
2801
|
-
"superclass": {
|
|
2802
|
-
"name": "FoundationElement",
|
|
2803
|
-
"package": "@microsoft/fast-foundation"
|
|
2804
|
-
},
|
|
2805
|
-
"tagName": "%%prefix%%-ai-criteria-search",
|
|
2806
|
-
"customElement": true
|
|
2825
|
+
]
|
|
2807
2826
|
},
|
|
2808
2827
|
{
|
|
2809
2828
|
"kind": "variable",
|
|
2810
|
-
"name": "
|
|
2829
|
+
"name": "foundationAccordionShadowOptions",
|
|
2811
2830
|
"type": {
|
|
2812
2831
|
"text": "ShadowRootInit"
|
|
2813
2832
|
},
|
|
2814
|
-
"default": "
|
|
2833
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2815
2834
|
},
|
|
2816
2835
|
{
|
|
2817
2836
|
"kind": "variable",
|
|
2818
|
-
"name": "
|
|
2837
|
+
"name": "defaultAccordionConfig",
|
|
2819
2838
|
"type": {
|
|
2820
2839
|
"text": "object"
|
|
2821
2840
|
},
|
|
@@ -2823,103 +2842,57 @@
|
|
|
2823
2842
|
},
|
|
2824
2843
|
{
|
|
2825
2844
|
"kind": "variable",
|
|
2826
|
-
"name": "
|
|
2845
|
+
"name": "foundationAccordion",
|
|
2846
|
+
"description": "The Foundation Accordion",
|
|
2847
|
+
"privacy": "public"
|
|
2827
2848
|
}
|
|
2828
2849
|
],
|
|
2829
2850
|
"exports": [
|
|
2830
2851
|
{
|
|
2831
2852
|
"kind": "js",
|
|
2832
|
-
"name": "
|
|
2853
|
+
"name": "Accordion",
|
|
2833
2854
|
"declaration": {
|
|
2834
|
-
"name": "
|
|
2835
|
-
"module": "src/
|
|
2855
|
+
"name": "Accordion",
|
|
2856
|
+
"module": "src/accordion/accordion.ts"
|
|
2836
2857
|
}
|
|
2837
2858
|
},
|
|
2838
2859
|
{
|
|
2839
2860
|
"kind": "js",
|
|
2840
|
-
"name": "
|
|
2861
|
+
"name": "foundationAccordionShadowOptions",
|
|
2841
2862
|
"declaration": {
|
|
2842
|
-
"name": "
|
|
2843
|
-
"module": "src/
|
|
2863
|
+
"name": "foundationAccordionShadowOptions",
|
|
2864
|
+
"module": "src/accordion/accordion.ts"
|
|
2844
2865
|
}
|
|
2845
2866
|
},
|
|
2846
2867
|
{
|
|
2847
2868
|
"kind": "js",
|
|
2848
|
-
"name": "
|
|
2869
|
+
"name": "defaultAccordionConfig",
|
|
2849
2870
|
"declaration": {
|
|
2850
|
-
"name": "
|
|
2851
|
-
"module": "src/
|
|
2871
|
+
"name": "defaultAccordionConfig",
|
|
2872
|
+
"module": "src/accordion/accordion.ts"
|
|
2852
2873
|
}
|
|
2853
2874
|
},
|
|
2854
2875
|
{
|
|
2855
2876
|
"kind": "js",
|
|
2856
|
-
"name": "
|
|
2877
|
+
"name": "foundationAccordion",
|
|
2857
2878
|
"declaration": {
|
|
2858
|
-
"name": "
|
|
2859
|
-
"module": "src/
|
|
2879
|
+
"name": "foundationAccordion",
|
|
2880
|
+
"module": "src/accordion/accordion.ts"
|
|
2860
2881
|
}
|
|
2861
2882
|
}
|
|
2862
2883
|
]
|
|
2863
2884
|
},
|
|
2864
2885
|
{
|
|
2865
2886
|
"kind": "javascript-module",
|
|
2866
|
-
"path": "src/
|
|
2887
|
+
"path": "src/accordion/index.ts",
|
|
2867
2888
|
"declarations": [],
|
|
2868
2889
|
"exports": [
|
|
2869
|
-
{
|
|
2870
|
-
"kind": "js",
|
|
2871
|
-
"name": "AiCriteriaSearch",
|
|
2872
|
-
"declaration": {
|
|
2873
|
-
"name": "AiCriteriaSearch",
|
|
2874
|
-
"module": "./ai-criteria-search"
|
|
2875
|
-
}
|
|
2876
|
-
},
|
|
2877
|
-
{
|
|
2878
|
-
"kind": "js",
|
|
2879
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2880
|
-
"declaration": {
|
|
2881
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2882
|
-
"module": "./ai-criteria-search"
|
|
2883
|
-
}
|
|
2884
|
-
},
|
|
2885
|
-
{
|
|
2886
|
-
"kind": "js",
|
|
2887
|
-
"name": "foundationAiCriteriaSearch",
|
|
2888
|
-
"declaration": {
|
|
2889
|
-
"name": "foundationAiCriteriaSearch",
|
|
2890
|
-
"module": "./ai-criteria-search"
|
|
2891
|
-
}
|
|
2892
|
-
},
|
|
2893
|
-
{
|
|
2894
|
-
"kind": "js",
|
|
2895
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2896
|
-
"declaration": {
|
|
2897
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2898
|
-
"module": "./ai-criteria-search"
|
|
2899
|
-
}
|
|
2900
|
-
},
|
|
2901
|
-
{
|
|
2902
|
-
"kind": "js",
|
|
2903
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2904
|
-
"declaration": {
|
|
2905
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2906
|
-
"module": "./ai-criteria-search.styles"
|
|
2907
|
-
}
|
|
2908
|
-
},
|
|
2909
|
-
{
|
|
2910
|
-
"kind": "js",
|
|
2911
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2912
|
-
"declaration": {
|
|
2913
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2914
|
-
"module": "./ai-criteria-search.template"
|
|
2915
|
-
}
|
|
2916
|
-
},
|
|
2917
2890
|
{
|
|
2918
2891
|
"kind": "js",
|
|
2919
2892
|
"name": "*",
|
|
2920
2893
|
"declaration": {
|
|
2921
2894
|
"name": "*",
|
|
2922
|
-
"package": "./
|
|
2895
|
+
"package": "./accordion.template"
|
|
2923
2896
|
}
|
|
2924
2897
|
},
|
|
2925
2898
|
{
|
|
@@ -2927,7 +2900,7 @@
|
|
|
2927
2900
|
"name": "*",
|
|
2928
2901
|
"declaration": {
|
|
2929
2902
|
"name": "*",
|
|
2930
|
-
"package": "./
|
|
2903
|
+
"package": "./accordion.styles"
|
|
2931
2904
|
}
|
|
2932
2905
|
},
|
|
2933
2906
|
{
|
|
@@ -2935,82 +2908,7 @@
|
|
|
2935
2908
|
"name": "*",
|
|
2936
2909
|
"declaration": {
|
|
2937
2910
|
"name": "*",
|
|
2938
|
-
"package": "./
|
|
2939
|
-
}
|
|
2940
|
-
}
|
|
2941
|
-
]
|
|
2942
|
-
},
|
|
2943
|
-
{
|
|
2944
|
-
"kind": "javascript-module",
|
|
2945
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
2946
|
-
"declarations": [
|
|
2947
|
-
{
|
|
2948
|
-
"kind": "function",
|
|
2949
|
-
"name": "formatValidationErrors",
|
|
2950
|
-
"return": {
|
|
2951
|
-
"type": {
|
|
2952
|
-
"text": "string"
|
|
2953
|
-
}
|
|
2954
|
-
},
|
|
2955
|
-
"parameters": [
|
|
2956
|
-
{
|
|
2957
|
-
"name": "errors",
|
|
2958
|
-
"type": {
|
|
2959
|
-
"text": "ValidationError[]"
|
|
2960
|
-
}
|
|
2961
|
-
}
|
|
2962
|
-
],
|
|
2963
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
2964
|
-
},
|
|
2965
|
-
{
|
|
2966
|
-
"kind": "function",
|
|
2967
|
-
"name": "showCriteriaError",
|
|
2968
|
-
"return": {
|
|
2969
|
-
"type": {
|
|
2970
|
-
"text": "void"
|
|
2971
|
-
}
|
|
2972
|
-
},
|
|
2973
|
-
"parameters": [
|
|
2974
|
-
{
|
|
2975
|
-
"name": "title",
|
|
2976
|
-
"type": {
|
|
2977
|
-
"text": "string"
|
|
2978
|
-
},
|
|
2979
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
2980
|
-
},
|
|
2981
|
-
{
|
|
2982
|
-
"name": "body",
|
|
2983
|
-
"type": {
|
|
2984
|
-
"text": "string"
|
|
2985
|
-
},
|
|
2986
|
-
"description": "Error message to display"
|
|
2987
|
-
},
|
|
2988
|
-
{
|
|
2989
|
-
"name": "tagName",
|
|
2990
|
-
"type": {
|
|
2991
|
-
"text": "string"
|
|
2992
|
-
},
|
|
2993
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
2994
|
-
}
|
|
2995
|
-
],
|
|
2996
|
-
"description": "Shows a criteria error as a toast notification."
|
|
2997
|
-
}
|
|
2998
|
-
],
|
|
2999
|
-
"exports": [
|
|
3000
|
-
{
|
|
3001
|
-
"kind": "js",
|
|
3002
|
-
"name": "formatValidationErrors",
|
|
3003
|
-
"declaration": {
|
|
3004
|
-
"name": "formatValidationErrors",
|
|
3005
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3006
|
-
}
|
|
3007
|
-
},
|
|
3008
|
-
{
|
|
3009
|
-
"kind": "js",
|
|
3010
|
-
"name": "showCriteriaError",
|
|
3011
|
-
"declaration": {
|
|
3012
|
-
"name": "showCriteriaError",
|
|
3013
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2911
|
+
"package": "./accordion"
|
|
3014
2912
|
}
|
|
3015
2913
|
}
|
|
3016
2914
|
]
|
|
@@ -3466,275 +3364,208 @@
|
|
|
3466
3364
|
},
|
|
3467
3365
|
{
|
|
3468
3366
|
"kind": "javascript-module",
|
|
3469
|
-
"path": "src/
|
|
3367
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
3470
3368
|
"declarations": [
|
|
3471
3369
|
{
|
|
3472
|
-
"kind": "
|
|
3473
|
-
"name": "
|
|
3474
|
-
"
|
|
3475
|
-
"type": {
|
|
3476
|
-
"text": "ElementStyles"
|
|
3477
|
-
}
|
|
3478
|
-
},
|
|
3479
|
-
"parameters": [
|
|
3480
|
-
{
|
|
3481
|
-
"name": "context",
|
|
3482
|
-
"type": {
|
|
3483
|
-
"text": "ElementDefinitionContext"
|
|
3484
|
-
}
|
|
3485
|
-
},
|
|
3486
|
-
{
|
|
3487
|
-
"name": "definition",
|
|
3488
|
-
"type": {
|
|
3489
|
-
"text": "FoundationElementDefinition"
|
|
3490
|
-
}
|
|
3491
|
-
}
|
|
3492
|
-
]
|
|
3370
|
+
"kind": "variable",
|
|
3371
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3372
|
+
"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`"
|
|
3493
3373
|
}
|
|
3494
3374
|
],
|
|
3495
3375
|
"exports": [
|
|
3496
3376
|
{
|
|
3497
3377
|
"kind": "js",
|
|
3498
|
-
"name": "
|
|
3378
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3499
3379
|
"declaration": {
|
|
3500
|
-
"name": "
|
|
3501
|
-
"module": "src/
|
|
3380
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3381
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
3502
3382
|
}
|
|
3503
3383
|
}
|
|
3504
3384
|
]
|
|
3505
3385
|
},
|
|
3506
3386
|
{
|
|
3507
3387
|
"kind": "javascript-module",
|
|
3508
|
-
"path": "src/
|
|
3388
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
3509
3389
|
"declarations": [
|
|
3510
3390
|
{
|
|
3511
|
-
"kind": "
|
|
3512
|
-
"name": "
|
|
3513
|
-
"
|
|
3514
|
-
"
|
|
3515
|
-
"text": "ViewTemplate<Accordion>"
|
|
3516
|
-
}
|
|
3391
|
+
"kind": "variable",
|
|
3392
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3393
|
+
"type": {
|
|
3394
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
3517
3395
|
},
|
|
3518
|
-
"
|
|
3519
|
-
{
|
|
3520
|
-
"name": "context",
|
|
3521
|
-
"type": {
|
|
3522
|
-
"text": "ElementDefinitionContext"
|
|
3523
|
-
}
|
|
3524
|
-
},
|
|
3525
|
-
{
|
|
3526
|
-
"name": "definition",
|
|
3527
|
-
"type": {
|
|
3528
|
-
"text": "FoundationElementDefinition"
|
|
3529
|
-
}
|
|
3530
|
-
}
|
|
3531
|
-
]
|
|
3396
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
3532
3397
|
}
|
|
3533
3398
|
],
|
|
3534
3399
|
"exports": [
|
|
3535
3400
|
{
|
|
3536
3401
|
"kind": "js",
|
|
3537
|
-
"name": "
|
|
3402
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3538
3403
|
"declaration": {
|
|
3539
|
-
"name": "
|
|
3540
|
-
"module": "src/
|
|
3404
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3405
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
3541
3406
|
}
|
|
3542
3407
|
}
|
|
3543
3408
|
]
|
|
3544
3409
|
},
|
|
3545
3410
|
{
|
|
3546
3411
|
"kind": "javascript-module",
|
|
3547
|
-
"path": "src/
|
|
3412
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
3548
3413
|
"declarations": [
|
|
3549
3414
|
{
|
|
3550
3415
|
"kind": "class",
|
|
3551
|
-
"description": "",
|
|
3552
|
-
"name": "
|
|
3553
|
-
"
|
|
3554
|
-
"name": "FASTAccordion",
|
|
3555
|
-
"package": "@microsoft/fast-foundation"
|
|
3556
|
-
},
|
|
3557
|
-
"tagName": "%%prefix%%-accordion",
|
|
3558
|
-
"customElement": true,
|
|
3559
|
-
"attributes": [
|
|
3416
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
3417
|
+
"name": "AiCriteriaSearch",
|
|
3418
|
+
"members": [
|
|
3560
3419
|
{
|
|
3561
|
-
"
|
|
3420
|
+
"kind": "field",
|
|
3421
|
+
"name": "providerRegistry",
|
|
3562
3422
|
"type": {
|
|
3563
|
-
"text": "
|
|
3564
|
-
},
|
|
3565
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3566
|
-
"fieldName": "expandmode",
|
|
3567
|
-
"inheritedFrom": {
|
|
3568
|
-
"name": "Accordion",
|
|
3569
|
-
"module": "src/accordion/accordion.ts"
|
|
3423
|
+
"text": "AIProviderRegistry"
|
|
3570
3424
|
}
|
|
3571
|
-
}
|
|
3572
|
-
],
|
|
3573
|
-
"members": [
|
|
3425
|
+
},
|
|
3574
3426
|
{
|
|
3575
3427
|
"kind": "field",
|
|
3576
|
-
"name": "
|
|
3428
|
+
"name": "placeholder",
|
|
3577
3429
|
"type": {
|
|
3578
|
-
"text": "
|
|
3430
|
+
"text": "string"
|
|
3579
3431
|
},
|
|
3580
|
-
"
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
|
|
3432
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
3433
|
+
},
|
|
3434
|
+
{
|
|
3435
|
+
"kind": "field",
|
|
3436
|
+
"name": "disabled",
|
|
3437
|
+
"type": {
|
|
3438
|
+
"text": "boolean"
|
|
3585
3439
|
}
|
|
3586
3440
|
},
|
|
3587
3441
|
{
|
|
3588
3442
|
"kind": "field",
|
|
3589
|
-
"name": "
|
|
3443
|
+
"name": "inputValue",
|
|
3590
3444
|
"type": {
|
|
3591
|
-
"text": "string
|
|
3445
|
+
"text": "string"
|
|
3592
3446
|
},
|
|
3593
|
-
"
|
|
3594
|
-
"inheritedFrom": {
|
|
3595
|
-
"name": "Accordion",
|
|
3596
|
-
"module": "src/accordion/accordion.ts"
|
|
3597
|
-
}
|
|
3447
|
+
"default": "''"
|
|
3598
3448
|
},
|
|
3599
3449
|
{
|
|
3600
3450
|
"kind": "field",
|
|
3601
|
-
"name": "
|
|
3451
|
+
"name": "isInterpreting",
|
|
3602
3452
|
"type": {
|
|
3603
|
-
"text": "
|
|
3453
|
+
"text": "boolean"
|
|
3604
3454
|
},
|
|
3605
|
-
"
|
|
3606
|
-
"default": "0",
|
|
3607
|
-
"inheritedFrom": {
|
|
3608
|
-
"name": "Accordion",
|
|
3609
|
-
"module": "src/accordion/accordion.ts"
|
|
3610
|
-
}
|
|
3455
|
+
"default": "false"
|
|
3611
3456
|
},
|
|
3612
3457
|
{
|
|
3613
3458
|
"kind": "field",
|
|
3614
|
-
"name": "
|
|
3459
|
+
"name": "lastValidCriteria",
|
|
3615
3460
|
"type": {
|
|
3616
|
-
"text": "
|
|
3461
|
+
"text": "string | null"
|
|
3617
3462
|
},
|
|
3618
|
-
"
|
|
3619
|
-
"inheritedFrom": {
|
|
3620
|
-
"name": "Accordion",
|
|
3621
|
-
"module": "src/accordion/accordion.ts"
|
|
3622
|
-
}
|
|
3463
|
+
"default": "null"
|
|
3623
3464
|
},
|
|
3624
3465
|
{
|
|
3625
3466
|
"kind": "field",
|
|
3626
|
-
"name": "
|
|
3627
|
-
"
|
|
3628
|
-
|
|
3629
|
-
|
|
3630
|
-
|
|
3631
|
-
}
|
|
3467
|
+
"name": "activeGroups",
|
|
3468
|
+
"type": {
|
|
3469
|
+
"text": "CriteriaGroup[]"
|
|
3470
|
+
},
|
|
3471
|
+
"default": "[]"
|
|
3632
3472
|
},
|
|
3633
3473
|
{
|
|
3634
|
-
"kind": "
|
|
3635
|
-
"name": "
|
|
3636
|
-
"
|
|
3637
|
-
|
|
3638
|
-
"type": {
|
|
3639
|
-
"text": "AccordionItem | null"
|
|
3640
|
-
}
|
|
3474
|
+
"kind": "field",
|
|
3475
|
+
"name": "showingChips",
|
|
3476
|
+
"type": {
|
|
3477
|
+
"text": "boolean"
|
|
3641
3478
|
},
|
|
3642
|
-
"
|
|
3643
|
-
"name": "Accordion",
|
|
3644
|
-
"module": "src/accordion/accordion.ts"
|
|
3645
|
-
}
|
|
3479
|
+
"default": "false"
|
|
3646
3480
|
},
|
|
3647
3481
|
{
|
|
3648
3482
|
"kind": "field",
|
|
3649
|
-
"name": "
|
|
3650
|
-
"
|
|
3651
|
-
|
|
3652
|
-
|
|
3653
|
-
|
|
3654
|
-
}
|
|
3483
|
+
"name": "fieldMetadata",
|
|
3484
|
+
"type": {
|
|
3485
|
+
"text": "MetadataDetail[] | string[]"
|
|
3486
|
+
},
|
|
3487
|
+
"default": "[]"
|
|
3655
3488
|
},
|
|
3656
3489
|
{
|
|
3657
|
-
"kind": "
|
|
3658
|
-
"name": "
|
|
3659
|
-
"
|
|
3660
|
-
|
|
3661
|
-
"type": {
|
|
3662
|
-
"text": "void"
|
|
3663
|
-
}
|
|
3490
|
+
"kind": "field",
|
|
3491
|
+
"name": "isRecording",
|
|
3492
|
+
"type": {
|
|
3493
|
+
"text": "boolean"
|
|
3664
3494
|
},
|
|
3665
|
-
"
|
|
3666
|
-
"name": "Accordion",
|
|
3667
|
-
"module": "src/accordion/accordion.ts"
|
|
3668
|
-
}
|
|
3495
|
+
"default": "false"
|
|
3669
3496
|
},
|
|
3670
3497
|
{
|
|
3671
3498
|
"kind": "field",
|
|
3672
|
-
"name": "
|
|
3499
|
+
"name": "textAreaRef",
|
|
3500
|
+
"type": {
|
|
3501
|
+
"text": "HTMLTextAreaElement"
|
|
3502
|
+
},
|
|
3503
|
+
"privacy": "public"
|
|
3504
|
+
},
|
|
3505
|
+
{
|
|
3506
|
+
"kind": "field",
|
|
3507
|
+
"name": "stopRecording",
|
|
3508
|
+
"type": {
|
|
3509
|
+
"text": "(() => void) | null"
|
|
3510
|
+
},
|
|
3673
3511
|
"privacy": "private",
|
|
3674
|
-
"
|
|
3675
|
-
"name": "Accordion",
|
|
3676
|
-
"module": "src/accordion/accordion.ts"
|
|
3677
|
-
}
|
|
3512
|
+
"default": "null"
|
|
3678
3513
|
},
|
|
3679
3514
|
{
|
|
3680
3515
|
"kind": "field",
|
|
3681
|
-
"name": "
|
|
3516
|
+
"name": "speechApplyDebounceTimer",
|
|
3517
|
+
"type": {
|
|
3518
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3519
|
+
},
|
|
3682
3520
|
"privacy": "private",
|
|
3683
|
-
"
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3521
|
+
"default": "null"
|
|
3522
|
+
},
|
|
3523
|
+
{
|
|
3524
|
+
"kind": "field",
|
|
3525
|
+
"name": "speechAvailable",
|
|
3526
|
+
"type": {
|
|
3527
|
+
"text": "boolean"
|
|
3528
|
+
},
|
|
3529
|
+
"readonly": true
|
|
3530
|
+
},
|
|
3531
|
+
{
|
|
3532
|
+
"kind": "field",
|
|
3533
|
+
"name": "criteriaChips",
|
|
3534
|
+
"type": {
|
|
3535
|
+
"text": "CriteriaChip[]"
|
|
3536
|
+
},
|
|
3537
|
+
"readonly": true
|
|
3687
3538
|
},
|
|
3688
3539
|
{
|
|
3689
3540
|
"kind": "method",
|
|
3690
|
-
"name": "
|
|
3541
|
+
"name": "getFieldLabel",
|
|
3691
3542
|
"privacy": "private",
|
|
3692
3543
|
"return": {
|
|
3693
3544
|
"type": {
|
|
3694
|
-
"text": "
|
|
3545
|
+
"text": "string"
|
|
3695
3546
|
}
|
|
3696
3547
|
},
|
|
3697
|
-
"
|
|
3698
|
-
|
|
3699
|
-
|
|
3700
|
-
|
|
3548
|
+
"parameters": [
|
|
3549
|
+
{
|
|
3550
|
+
"name": "fieldName",
|
|
3551
|
+
"type": {
|
|
3552
|
+
"text": "string"
|
|
3553
|
+
}
|
|
3554
|
+
}
|
|
3555
|
+
]
|
|
3701
3556
|
},
|
|
3702
3557
|
{
|
|
3703
3558
|
"kind": "method",
|
|
3704
|
-
"name": "
|
|
3705
|
-
"privacy": "private",
|
|
3559
|
+
"name": "toggleCriteriaView",
|
|
3706
3560
|
"return": {
|
|
3707
3561
|
"type": {
|
|
3708
|
-
"text": "
|
|
3562
|
+
"text": "void"
|
|
3709
3563
|
}
|
|
3710
|
-
},
|
|
3711
|
-
"inheritedFrom": {
|
|
3712
|
-
"name": "Accordion",
|
|
3713
|
-
"module": "src/accordion/accordion.ts"
|
|
3714
|
-
}
|
|
3715
|
-
},
|
|
3716
|
-
{
|
|
3717
|
-
"kind": "field",
|
|
3718
|
-
"name": "handleItemKeyDown",
|
|
3719
|
-
"privacy": "private",
|
|
3720
|
-
"inheritedFrom": {
|
|
3721
|
-
"name": "Accordion",
|
|
3722
|
-
"module": "src/accordion/accordion.ts"
|
|
3723
|
-
}
|
|
3724
|
-
},
|
|
3725
|
-
{
|
|
3726
|
-
"kind": "field",
|
|
3727
|
-
"name": "handleItemFocus",
|
|
3728
|
-
"privacy": "private",
|
|
3729
|
-
"inheritedFrom": {
|
|
3730
|
-
"name": "Accordion",
|
|
3731
|
-
"module": "src/accordion/accordion.ts"
|
|
3732
3564
|
}
|
|
3733
3565
|
},
|
|
3734
3566
|
{
|
|
3735
3567
|
"kind": "method",
|
|
3736
|
-
"name": "
|
|
3737
|
-
"privacy": "private",
|
|
3568
|
+
"name": "removeChip",
|
|
3738
3569
|
"return": {
|
|
3739
3570
|
"type": {
|
|
3740
3571
|
"text": "void"
|
|
@@ -3742,37 +3573,55 @@
|
|
|
3742
3573
|
},
|
|
3743
3574
|
"parameters": [
|
|
3744
3575
|
{
|
|
3745
|
-
"name": "
|
|
3576
|
+
"name": "groupIndex",
|
|
3577
|
+
"type": {
|
|
3578
|
+
"text": "number"
|
|
3579
|
+
}
|
|
3580
|
+
},
|
|
3581
|
+
{
|
|
3582
|
+
"name": "clauseIndex",
|
|
3746
3583
|
"type": {
|
|
3747
3584
|
"text": "number"
|
|
3748
3585
|
}
|
|
3749
3586
|
}
|
|
3750
|
-
]
|
|
3751
|
-
"inheritedFrom": {
|
|
3752
|
-
"name": "Accordion",
|
|
3753
|
-
"module": "src/accordion/accordion.ts"
|
|
3754
|
-
}
|
|
3587
|
+
]
|
|
3755
3588
|
},
|
|
3756
3589
|
{
|
|
3757
3590
|
"kind": "method",
|
|
3758
|
-
"name": "
|
|
3759
|
-
"privacy": "private",
|
|
3591
|
+
"name": "clearChips",
|
|
3760
3592
|
"return": {
|
|
3761
3593
|
"type": {
|
|
3762
3594
|
"text": "void"
|
|
3763
3595
|
}
|
|
3764
|
-
},
|
|
3765
|
-
"inheritedFrom": {
|
|
3766
|
-
"name": "Accordion",
|
|
3767
|
-
"module": "src/accordion/accordion.ts"
|
|
3768
3596
|
}
|
|
3769
3597
|
},
|
|
3770
3598
|
{
|
|
3771
|
-
"kind": "
|
|
3772
|
-
"name": "
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
|
|
3599
|
+
"kind": "method",
|
|
3600
|
+
"name": "handleSubmit"
|
|
3601
|
+
},
|
|
3602
|
+
{
|
|
3603
|
+
"kind": "method",
|
|
3604
|
+
"name": "handleBlur"
|
|
3605
|
+
},
|
|
3606
|
+
{
|
|
3607
|
+
"kind": "method",
|
|
3608
|
+
"name": "clear"
|
|
3609
|
+
},
|
|
3610
|
+
{
|
|
3611
|
+
"kind": "method",
|
|
3612
|
+
"name": "toggleSpeechInput"
|
|
3613
|
+
},
|
|
3614
|
+
{
|
|
3615
|
+
"kind": "method",
|
|
3616
|
+
"name": "clearSpeechApplyDebounce",
|
|
3617
|
+
"privacy": "private"
|
|
3618
|
+
},
|
|
3619
|
+
{
|
|
3620
|
+
"kind": "field",
|
|
3621
|
+
"name": "_presentation",
|
|
3622
|
+
"type": {
|
|
3623
|
+
"text": "ComponentPresentation | null | undefined"
|
|
3624
|
+
},
|
|
3776
3625
|
"privacy": "private",
|
|
3777
3626
|
"default": "void 0",
|
|
3778
3627
|
"inheritedFrom": {
|
|
@@ -3881,26 +3730,48 @@
|
|
|
3881
3730
|
],
|
|
3882
3731
|
"events": [
|
|
3883
3732
|
{
|
|
3884
|
-
"description": "
|
|
3885
|
-
"name": "
|
|
3886
|
-
|
|
3887
|
-
|
|
3888
|
-
|
|
3889
|
-
|
|
3733
|
+
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
3734
|
+
"name": "criteria-changed"
|
|
3735
|
+
},
|
|
3736
|
+
{
|
|
3737
|
+
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
3738
|
+
"name": "validation-errors"
|
|
3890
3739
|
}
|
|
3891
|
-
]
|
|
3740
|
+
],
|
|
3741
|
+
"attributes": [
|
|
3742
|
+
{
|
|
3743
|
+
"name": "placeholder",
|
|
3744
|
+
"type": {
|
|
3745
|
+
"text": "string"
|
|
3746
|
+
},
|
|
3747
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
3748
|
+
"fieldName": "placeholder"
|
|
3749
|
+
},
|
|
3750
|
+
{
|
|
3751
|
+
"type": {
|
|
3752
|
+
"text": "boolean"
|
|
3753
|
+
},
|
|
3754
|
+
"fieldName": "disabled"
|
|
3755
|
+
}
|
|
3756
|
+
],
|
|
3757
|
+
"superclass": {
|
|
3758
|
+
"name": "FoundationElement",
|
|
3759
|
+
"package": "@microsoft/fast-foundation"
|
|
3760
|
+
},
|
|
3761
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3762
|
+
"customElement": true
|
|
3892
3763
|
},
|
|
3893
3764
|
{
|
|
3894
3765
|
"kind": "variable",
|
|
3895
|
-
"name": "
|
|
3766
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3896
3767
|
"type": {
|
|
3897
3768
|
"text": "ShadowRootInit"
|
|
3898
3769
|
},
|
|
3899
|
-
"default": "
|
|
3770
|
+
"default": "undefined"
|
|
3900
3771
|
},
|
|
3901
3772
|
{
|
|
3902
3773
|
"kind": "variable",
|
|
3903
|
-
"name": "
|
|
3774
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3904
3775
|
"type": {
|
|
3905
3776
|
"text": "object"
|
|
3906
3777
|
},
|
|
@@ -3908,57 +3779,103 @@
|
|
|
3908
3779
|
},
|
|
3909
3780
|
{
|
|
3910
3781
|
"kind": "variable",
|
|
3911
|
-
"name": "
|
|
3912
|
-
"description": "The Foundation Accordion",
|
|
3913
|
-
"privacy": "public"
|
|
3782
|
+
"name": "foundationAiCriteriaSearch"
|
|
3914
3783
|
}
|
|
3915
3784
|
],
|
|
3916
3785
|
"exports": [
|
|
3917
3786
|
{
|
|
3918
3787
|
"kind": "js",
|
|
3919
|
-
"name": "
|
|
3788
|
+
"name": "AiCriteriaSearch",
|
|
3920
3789
|
"declaration": {
|
|
3921
|
-
"name": "
|
|
3922
|
-
"module": "src/
|
|
3790
|
+
"name": "AiCriteriaSearch",
|
|
3791
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3923
3792
|
}
|
|
3924
3793
|
},
|
|
3925
3794
|
{
|
|
3926
3795
|
"kind": "js",
|
|
3927
|
-
"name": "
|
|
3796
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3928
3797
|
"declaration": {
|
|
3929
|
-
"name": "
|
|
3930
|
-
"module": "src/
|
|
3798
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3799
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3931
3800
|
}
|
|
3932
3801
|
},
|
|
3933
3802
|
{
|
|
3934
3803
|
"kind": "js",
|
|
3935
|
-
"name": "
|
|
3804
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3936
3805
|
"declaration": {
|
|
3937
|
-
"name": "
|
|
3938
|
-
"module": "src/
|
|
3806
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3807
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3939
3808
|
}
|
|
3940
3809
|
},
|
|
3941
3810
|
{
|
|
3942
3811
|
"kind": "js",
|
|
3943
|
-
"name": "
|
|
3812
|
+
"name": "foundationAiCriteriaSearch",
|
|
3944
3813
|
"declaration": {
|
|
3945
|
-
"name": "
|
|
3946
|
-
"module": "src/
|
|
3814
|
+
"name": "foundationAiCriteriaSearch",
|
|
3815
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3947
3816
|
}
|
|
3948
3817
|
}
|
|
3949
3818
|
]
|
|
3950
3819
|
},
|
|
3951
3820
|
{
|
|
3952
3821
|
"kind": "javascript-module",
|
|
3953
|
-
"path": "src/
|
|
3822
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
3954
3823
|
"declarations": [],
|
|
3955
3824
|
"exports": [
|
|
3825
|
+
{
|
|
3826
|
+
"kind": "js",
|
|
3827
|
+
"name": "AiCriteriaSearch",
|
|
3828
|
+
"declaration": {
|
|
3829
|
+
"name": "AiCriteriaSearch",
|
|
3830
|
+
"module": "./ai-criteria-search"
|
|
3831
|
+
}
|
|
3832
|
+
},
|
|
3833
|
+
{
|
|
3834
|
+
"kind": "js",
|
|
3835
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3836
|
+
"declaration": {
|
|
3837
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3838
|
+
"module": "./ai-criteria-search"
|
|
3839
|
+
}
|
|
3840
|
+
},
|
|
3841
|
+
{
|
|
3842
|
+
"kind": "js",
|
|
3843
|
+
"name": "foundationAiCriteriaSearch",
|
|
3844
|
+
"declaration": {
|
|
3845
|
+
"name": "foundationAiCriteriaSearch",
|
|
3846
|
+
"module": "./ai-criteria-search"
|
|
3847
|
+
}
|
|
3848
|
+
},
|
|
3849
|
+
{
|
|
3850
|
+
"kind": "js",
|
|
3851
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3852
|
+
"declaration": {
|
|
3853
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3854
|
+
"module": "./ai-criteria-search"
|
|
3855
|
+
}
|
|
3856
|
+
},
|
|
3857
|
+
{
|
|
3858
|
+
"kind": "js",
|
|
3859
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3860
|
+
"declaration": {
|
|
3861
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3862
|
+
"module": "./ai-criteria-search.styles"
|
|
3863
|
+
}
|
|
3864
|
+
},
|
|
3865
|
+
{
|
|
3866
|
+
"kind": "js",
|
|
3867
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3868
|
+
"declaration": {
|
|
3869
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3870
|
+
"module": "./ai-criteria-search.template"
|
|
3871
|
+
}
|
|
3872
|
+
},
|
|
3956
3873
|
{
|
|
3957
3874
|
"kind": "js",
|
|
3958
3875
|
"name": "*",
|
|
3959
3876
|
"declaration": {
|
|
3960
3877
|
"name": "*",
|
|
3961
|
-
"package": "./
|
|
3878
|
+
"package": "./validation/criteria-ir"
|
|
3962
3879
|
}
|
|
3963
3880
|
},
|
|
3964
3881
|
{
|
|
@@ -3966,7 +3883,7 @@
|
|
|
3966
3883
|
"name": "*",
|
|
3967
3884
|
"declaration": {
|
|
3968
3885
|
"name": "*",
|
|
3969
|
-
"package": "./
|
|
3886
|
+
"package": "./validation/operator-map"
|
|
3970
3887
|
}
|
|
3971
3888
|
},
|
|
3972
3889
|
{
|
|
@@ -3974,7 +3891,82 @@
|
|
|
3974
3891
|
"name": "*",
|
|
3975
3892
|
"declaration": {
|
|
3976
3893
|
"name": "*",
|
|
3977
|
-
"package": "./
|
|
3894
|
+
"package": "./validation/schema-validator"
|
|
3895
|
+
}
|
|
3896
|
+
}
|
|
3897
|
+
]
|
|
3898
|
+
},
|
|
3899
|
+
{
|
|
3900
|
+
"kind": "javascript-module",
|
|
3901
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3902
|
+
"declarations": [
|
|
3903
|
+
{
|
|
3904
|
+
"kind": "function",
|
|
3905
|
+
"name": "formatValidationErrors",
|
|
3906
|
+
"return": {
|
|
3907
|
+
"type": {
|
|
3908
|
+
"text": "string"
|
|
3909
|
+
}
|
|
3910
|
+
},
|
|
3911
|
+
"parameters": [
|
|
3912
|
+
{
|
|
3913
|
+
"name": "errors",
|
|
3914
|
+
"type": {
|
|
3915
|
+
"text": "ValidationError[]"
|
|
3916
|
+
}
|
|
3917
|
+
}
|
|
3918
|
+
],
|
|
3919
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
3920
|
+
},
|
|
3921
|
+
{
|
|
3922
|
+
"kind": "function",
|
|
3923
|
+
"name": "showCriteriaError",
|
|
3924
|
+
"return": {
|
|
3925
|
+
"type": {
|
|
3926
|
+
"text": "void"
|
|
3927
|
+
}
|
|
3928
|
+
},
|
|
3929
|
+
"parameters": [
|
|
3930
|
+
{
|
|
3931
|
+
"name": "title",
|
|
3932
|
+
"type": {
|
|
3933
|
+
"text": "string"
|
|
3934
|
+
},
|
|
3935
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3936
|
+
},
|
|
3937
|
+
{
|
|
3938
|
+
"name": "body",
|
|
3939
|
+
"type": {
|
|
3940
|
+
"text": "string"
|
|
3941
|
+
},
|
|
3942
|
+
"description": "Error message to display"
|
|
3943
|
+
},
|
|
3944
|
+
{
|
|
3945
|
+
"name": "tagName",
|
|
3946
|
+
"type": {
|
|
3947
|
+
"text": "string"
|
|
3948
|
+
},
|
|
3949
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3950
|
+
}
|
|
3951
|
+
],
|
|
3952
|
+
"description": "Shows a criteria error as a toast notification."
|
|
3953
|
+
}
|
|
3954
|
+
],
|
|
3955
|
+
"exports": [
|
|
3956
|
+
{
|
|
3957
|
+
"kind": "js",
|
|
3958
|
+
"name": "formatValidationErrors",
|
|
3959
|
+
"declaration": {
|
|
3960
|
+
"name": "formatValidationErrors",
|
|
3961
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3962
|
+
}
|
|
3963
|
+
},
|
|
3964
|
+
{
|
|
3965
|
+
"kind": "js",
|
|
3966
|
+
"name": "showCriteriaError",
|
|
3967
|
+
"declaration": {
|
|
3968
|
+
"name": "showCriteriaError",
|
|
3969
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3978
3970
|
}
|
|
3979
3971
|
}
|
|
3980
3972
|
]
|
|
@@ -59131,797 +59123,6 @@
|
|
|
59131
59123
|
}
|
|
59132
59124
|
]
|
|
59133
59125
|
},
|
|
59134
|
-
{
|
|
59135
|
-
"kind": "javascript-module",
|
|
59136
|
-
"path": "src/verification-code-input/index.ts",
|
|
59137
|
-
"declarations": [],
|
|
59138
|
-
"exports": [
|
|
59139
|
-
{
|
|
59140
|
-
"kind": "js",
|
|
59141
|
-
"name": "*",
|
|
59142
|
-
"declaration": {
|
|
59143
|
-
"name": "*",
|
|
59144
|
-
"package": "./verification-code-input"
|
|
59145
|
-
}
|
|
59146
|
-
},
|
|
59147
|
-
{
|
|
59148
|
-
"kind": "js",
|
|
59149
|
-
"name": "*",
|
|
59150
|
-
"declaration": {
|
|
59151
|
-
"name": "*",
|
|
59152
|
-
"package": "./verification-code-input.template"
|
|
59153
|
-
}
|
|
59154
|
-
},
|
|
59155
|
-
{
|
|
59156
|
-
"kind": "js",
|
|
59157
|
-
"name": "*",
|
|
59158
|
-
"declaration": {
|
|
59159
|
-
"name": "*",
|
|
59160
|
-
"package": "./verification-code-input.styles"
|
|
59161
|
-
}
|
|
59162
|
-
}
|
|
59163
|
-
]
|
|
59164
|
-
},
|
|
59165
|
-
{
|
|
59166
|
-
"kind": "javascript-module",
|
|
59167
|
-
"path": "src/verification-code-input/verification-code-input.styles.ts",
|
|
59168
|
-
"declarations": [
|
|
59169
|
-
{
|
|
59170
|
-
"kind": "variable",
|
|
59171
|
-
"name": "foundationVerificationCodeInputStyles",
|
|
59172
|
-
"type": {
|
|
59173
|
-
"text": "ElementStyles"
|
|
59174
|
-
},
|
|
59175
|
-
"default": "css`\n :host {\n display: block;\n font-family: var(--body-font);\n outline: none;\n }\n\n .label {\n display: block;\n color: var(--neutral-foreground-rest);\n cursor: pointer;\n font-size: var(--type-ramp-base-font-size);\n line-height: var(--type-ramp-base-line-height);\n margin-bottom: 4px;\n }\n\n .label-hidden {\n display: none;\n }\n\n :host([readonly]) .label {\n cursor: var(--disabled-cursor);\n }\n\n .container {\n display: flex;\n gap: calc(var(--design-unit) * 1px);\n align-items: center;\n }\n\n .digit {\n display: inline-block;\n box-sizing: border-box;\n outline: none;\n min-width: calc(\n (((var(--base-height-multiplier) + var(--density)) * var(--design-unit)) - 4) * 1px\n );\n }\n\n .digit .root {\n box-sizing: border-box;\n position: relative;\n display: flex;\n flex-direction: row;\n align-items: center;\n color: var(--neutral-foreground-rest);\n background: var(--neutral-fill-input-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n border: calc(var(--stroke-width) * 1px) solid var(--accent-fill-rest);\n height: calc(\n (((var(--base-height-multiplier) + var(--density)) * var(--design-unit)) - 4) * 1px\n );\n }\n\n .digit .control {\n appearance: none;\n font: inherit;\n background: transparent;\n border: 0;\n color: inherit;\n height: calc(100% - 4px);\n width: 100%;\n margin-top: auto;\n margin-bottom: auto;\n padding: 0 calc(var(--design-unit) * 2px + 1px);\n font-size: var(--type-ramp-base-font-size);\n line-height: var(--type-ramp-base-line-height);\n text-align: center;\n outline: none;\n color-scheme: ${activeColorScheme};\n }\n\n .digit[appearance='filled'] .root {\n background: var(--neutral-fill-rest);\n }\n\n .digit.error .root {\n border-color: var(--error-fill-rest);\n }\n\n .digit.disabled {\n opacity: var(--disabled-opacity);\n cursor: var(--disabled-cursor);\n }\n\n .digit.disabled .control {\n cursor: var(--disabled-cursor);\n }\n\n .digit:hover:not(.disabled) .root {\n background: var(--neutral-fill-input-hover);\n border-color: var(--accent-fill-hover);\n }\n\n .digit:focus-within:not(.disabled) .root {\n border-color: var(--focus-stroke-outer);\n box-shadow: 0 0 0 calc(var(--focus-stroke-width) * 1px) var(--focus-stroke-outer) inset;\n }\n\n .digit[appearance='filled']:hover:not(.disabled) .root {\n background: var(--neutral-fill-hover);\n }\n\n ${sharedFieldStyles}\n`"
|
|
59176
|
-
}
|
|
59177
|
-
],
|
|
59178
|
-
"exports": [
|
|
59179
|
-
{
|
|
59180
|
-
"kind": "js",
|
|
59181
|
-
"name": "foundationVerificationCodeInputStyles",
|
|
59182
|
-
"declaration": {
|
|
59183
|
-
"name": "foundationVerificationCodeInputStyles",
|
|
59184
|
-
"module": "src/verification-code-input/verification-code-input.styles.ts"
|
|
59185
|
-
}
|
|
59186
|
-
}
|
|
59187
|
-
]
|
|
59188
|
-
},
|
|
59189
|
-
{
|
|
59190
|
-
"kind": "javascript-module",
|
|
59191
|
-
"path": "src/verification-code-input/verification-code-input.template.ts",
|
|
59192
|
-
"declarations": [
|
|
59193
|
-
{
|
|
59194
|
-
"kind": "variable",
|
|
59195
|
-
"name": "foundationVerificationCodeInputTemplate",
|
|
59196
|
-
"default": "html<VerificationCodeInput>`\n <label\n part=\"label\"\n id=\"${(x) => x.labelId}\"\n for=\"${(x) => x.getControlId(0)}\"\n class=\"${(x) =>\n x.defaultSlottedNodes && x.defaultSlottedNodes.length ? 'label' : 'label label-hidden'}\"\n >\n <slot\n ${slotted({\n property: 'defaultSlottedNodes',\n filter: whitespaceFilter,\n })}\n ></slot>\n </label>\n <div\n class=\"container\"\n role=\"group\"\n aria-labelledby=\"${(x) => (x.hasLabel ? x.labelId : void 0)}\"\n aria-label=\"${(x) => (x.hasLabel ? void 0 : 'Verification code')}\"\n >\n ${repeat(\n (x) => x.digitsIndexes,\n html`\n <div\n class=\"digit ${(x, c) => (c.parent as VerificationCodeInput).digitClassnames}\"\n data-digit-index=\"${(x) => x}\"\n appearance=\"${(x, c) => (c.parent as VerificationCodeInput).appearance}\"\n >\n <div class=\"root\" part=\"root\">\n <div class=\"control-field\">\n <input\n class=\"control\"\n part=\"control\"\n type=\"text\"\n inputmode=\"numeric\"\n pattern=\"[0-9]*\"\n name=\"${(x, c) => (c.parent as VerificationCodeInput).getControlId(x)}\"\n id=\"${(x, c) => (c.parent as VerificationCodeInput).getControlId(x)}\"\n autocomplete=\"${(x) => (x === 0 ? 'one-time-code' : 'off')}\"\n data-test-id=\"${(x, c) => (c.parent as VerificationCodeInput).getControlId(x)}\"\n title=\"Only numbers are allowed\"\n maxlength=\"1\"\n ?autofocus=\"${(x, c) => (c.parent as VerificationCodeInput).autofocus && x === 0}\"\n ?readonly=\"${(x, c) => (c.parent as VerificationCodeInput).readOnly}\"\n ?disabled=\"${(x, c) =>\n (c.parent as VerificationCodeInput).disabled ||\n (c.parent as VerificationCodeInput).readOnly}\"\n ?aria-required=\"${(x, c) => (c.parent as VerificationCodeInput).required}\"\n ?aria-invalid=\"${(x, c) => (c.parent as VerificationCodeInput).error}\"\n />\n </div>\n </div>\n </div>\n `,\n )}\n </div>\n`"
|
|
59197
|
-
}
|
|
59198
|
-
],
|
|
59199
|
-
"exports": [
|
|
59200
|
-
{
|
|
59201
|
-
"kind": "js",
|
|
59202
|
-
"name": "foundationVerificationCodeInputTemplate",
|
|
59203
|
-
"declaration": {
|
|
59204
|
-
"name": "foundationVerificationCodeInputTemplate",
|
|
59205
|
-
"module": "src/verification-code-input/verification-code-input.template.ts"
|
|
59206
|
-
}
|
|
59207
|
-
}
|
|
59208
|
-
]
|
|
59209
|
-
},
|
|
59210
|
-
{
|
|
59211
|
-
"kind": "javascript-module",
|
|
59212
|
-
"path": "src/verification-code-input/verification-code-input.ts",
|
|
59213
|
-
"declarations": [
|
|
59214
|
-
{
|
|
59215
|
-
"kind": "variable",
|
|
59216
|
-
"name": "foundationVerificationCodeInputShadowOptions",
|
|
59217
|
-
"type": {
|
|
59218
|
-
"text": "ShadowRootInit"
|
|
59219
|
-
},
|
|
59220
|
-
"default": "{\n mode: 'open',\n delegatesFocus: true,\n}"
|
|
59221
|
-
},
|
|
59222
|
-
{
|
|
59223
|
-
"kind": "variable",
|
|
59224
|
-
"name": "defaultVerificationCodeInputConfig",
|
|
59225
|
-
"type": {
|
|
59226
|
-
"text": "object"
|
|
59227
|
-
},
|
|
59228
|
-
"default": "{}"
|
|
59229
|
-
},
|
|
59230
|
-
{
|
|
59231
|
-
"kind": "class",
|
|
59232
|
-
"description": "Multi-digit verification code input for OTP / 2FA flows.\n\nForm-associated (FAST `FormAssociated`): host `name` / `required` / `value` participate\nin native HTML form validation and submission like TextField.",
|
|
59233
|
-
"name": "VerificationCodeInput",
|
|
59234
|
-
"members": [
|
|
59235
|
-
{
|
|
59236
|
-
"kind": "field",
|
|
59237
|
-
"name": "values",
|
|
59238
|
-
"type": {
|
|
59239
|
-
"text": "string[]"
|
|
59240
|
-
},
|
|
59241
|
-
"default": "[]",
|
|
59242
|
-
"description": "Per-digit values indexed from `0` to `digits - 1`."
|
|
59243
|
-
},
|
|
59244
|
-
{
|
|
59245
|
-
"kind": "field",
|
|
59246
|
-
"name": "defaultSlottedNodes",
|
|
59247
|
-
"description": "Slotted label content; when empty the label is visually hidden."
|
|
59248
|
-
},
|
|
59249
|
-
{
|
|
59250
|
-
"kind": "field",
|
|
59251
|
-
"name": "controlListeners",
|
|
59252
|
-
"type": {
|
|
59253
|
-
"text": "Map<HTMLInputElement, ControlListeners>"
|
|
59254
|
-
},
|
|
59255
|
-
"privacy": "private",
|
|
59256
|
-
"readonly": true,
|
|
59257
|
-
"default": "new Map()"
|
|
59258
|
-
},
|
|
59259
|
-
{
|
|
59260
|
-
"kind": "field",
|
|
59261
|
-
"name": "syncingFromDigits",
|
|
59262
|
-
"type": {
|
|
59263
|
-
"text": "boolean"
|
|
59264
|
-
},
|
|
59265
|
-
"privacy": "private",
|
|
59266
|
-
"default": "false",
|
|
59267
|
-
"description": "Skip digit re-sync when `value` is updated from digit entry (`commitValues`)."
|
|
59268
|
-
},
|
|
59269
|
-
{
|
|
59270
|
-
"kind": "field",
|
|
59271
|
-
"name": "id",
|
|
59272
|
-
"type": {
|
|
59273
|
-
"text": "string"
|
|
59274
|
-
},
|
|
59275
|
-
"description": "Optional host id used as a prefix for digit input ids (`{id}-0`, `{id}-1`, …)\nand the associated label element."
|
|
59276
|
-
},
|
|
59277
|
-
{
|
|
59278
|
-
"kind": "field",
|
|
59279
|
-
"name": "appearance",
|
|
59280
|
-
"type": {
|
|
59281
|
-
"text": "string"
|
|
59282
|
-
},
|
|
59283
|
-
"default": "'outline'",
|
|
59284
|
-
"description": "Visual treatment applied to each digit field.",
|
|
59285
|
-
"privacy": "public"
|
|
59286
|
-
},
|
|
59287
|
-
{
|
|
59288
|
-
"kind": "field",
|
|
59289
|
-
"name": "digits",
|
|
59290
|
-
"type": {
|
|
59291
|
-
"text": "number"
|
|
59292
|
-
},
|
|
59293
|
-
"default": "6",
|
|
59294
|
-
"description": "Number of single-character digit fields to render.",
|
|
59295
|
-
"privacy": "public"
|
|
59296
|
-
},
|
|
59297
|
-
{
|
|
59298
|
-
"kind": "field",
|
|
59299
|
-
"name": "readOnly",
|
|
59300
|
-
"type": {
|
|
59301
|
-
"text": "boolean"
|
|
59302
|
-
},
|
|
59303
|
-
"default": "false",
|
|
59304
|
-
"description": "When true, digit fields are non-interactive.",
|
|
59305
|
-
"privacy": "public"
|
|
59306
|
-
},
|
|
59307
|
-
{
|
|
59308
|
-
"kind": "field",
|
|
59309
|
-
"name": "disabled",
|
|
59310
|
-
"type": {
|
|
59311
|
-
"text": "boolean"
|
|
59312
|
-
},
|
|
59313
|
-
"default": "false",
|
|
59314
|
-
"description": "When true, digit fields are non-interactive.",
|
|
59315
|
-
"privacy": "public"
|
|
59316
|
-
},
|
|
59317
|
-
{
|
|
59318
|
-
"kind": "field",
|
|
59319
|
-
"name": "autofocus",
|
|
59320
|
-
"type": {
|
|
59321
|
-
"text": "boolean"
|
|
59322
|
-
},
|
|
59323
|
-
"default": "false",
|
|
59324
|
-
"description": "When true, focuses the first digit on connect (and after SPA route commit when hosted that way).",
|
|
59325
|
-
"privacy": "public"
|
|
59326
|
-
},
|
|
59327
|
-
{
|
|
59328
|
-
"kind": "field",
|
|
59329
|
-
"name": "error",
|
|
59330
|
-
"type": {
|
|
59331
|
-
"text": "boolean"
|
|
59332
|
-
},
|
|
59333
|
-
"default": "false",
|
|
59334
|
-
"description": "When true, applies the error visual state to each digit field.",
|
|
59335
|
-
"privacy": "public"
|
|
59336
|
-
},
|
|
59337
|
-
{
|
|
59338
|
-
"kind": "field",
|
|
59339
|
-
"name": "digitsIndexes",
|
|
59340
|
-
"type": {
|
|
59341
|
-
"text": "number[]"
|
|
59342
|
-
},
|
|
59343
|
-
"privacy": "public",
|
|
59344
|
-
"readonly": true
|
|
59345
|
-
},
|
|
59346
|
-
{
|
|
59347
|
-
"kind": "field",
|
|
59348
|
-
"name": "controlIdPrefix",
|
|
59349
|
-
"type": {
|
|
59350
|
-
"text": "string"
|
|
59351
|
-
},
|
|
59352
|
-
"privacy": "public",
|
|
59353
|
-
"readonly": true
|
|
59354
|
-
},
|
|
59355
|
-
{
|
|
59356
|
-
"kind": "field",
|
|
59357
|
-
"name": "labelId",
|
|
59358
|
-
"type": {
|
|
59359
|
-
"text": "string"
|
|
59360
|
-
},
|
|
59361
|
-
"privacy": "public",
|
|
59362
|
-
"readonly": true
|
|
59363
|
-
},
|
|
59364
|
-
{
|
|
59365
|
-
"kind": "field",
|
|
59366
|
-
"name": "hasLabel",
|
|
59367
|
-
"type": {
|
|
59368
|
-
"text": "boolean"
|
|
59369
|
-
},
|
|
59370
|
-
"privacy": "public",
|
|
59371
|
-
"readonly": true
|
|
59372
|
-
},
|
|
59373
|
-
{
|
|
59374
|
-
"kind": "method",
|
|
59375
|
-
"name": "getControlId",
|
|
59376
|
-
"privacy": "public",
|
|
59377
|
-
"return": {
|
|
59378
|
-
"type": {
|
|
59379
|
-
"text": "string"
|
|
59380
|
-
}
|
|
59381
|
-
},
|
|
59382
|
-
"parameters": [
|
|
59383
|
-
{
|
|
59384
|
-
"name": "index",
|
|
59385
|
-
"type": {
|
|
59386
|
-
"text": "number"
|
|
59387
|
-
}
|
|
59388
|
-
}
|
|
59389
|
-
]
|
|
59390
|
-
},
|
|
59391
|
-
{
|
|
59392
|
-
"kind": "method",
|
|
59393
|
-
"name": "clear",
|
|
59394
|
-
"privacy": "public",
|
|
59395
|
-
"return": {
|
|
59396
|
-
"type": {
|
|
59397
|
-
"text": "void"
|
|
59398
|
-
}
|
|
59399
|
-
},
|
|
59400
|
-
"description": "Clears digits, emits `change`, and focuses the first field when connected."
|
|
59401
|
-
},
|
|
59402
|
-
{
|
|
59403
|
-
"kind": "method",
|
|
59404
|
-
"name": "focus",
|
|
59405
|
-
"privacy": "public",
|
|
59406
|
-
"return": {
|
|
59407
|
-
"type": {
|
|
59408
|
-
"text": "void"
|
|
59409
|
-
}
|
|
59410
|
-
}
|
|
59411
|
-
},
|
|
59412
|
-
{
|
|
59413
|
-
"kind": "method",
|
|
59414
|
-
"name": "digitsChanged",
|
|
59415
|
-
"return": {
|
|
59416
|
-
"type": {
|
|
59417
|
-
"text": "void"
|
|
59418
|
-
}
|
|
59419
|
-
}
|
|
59420
|
-
},
|
|
59421
|
-
{
|
|
59422
|
-
"kind": "field",
|
|
59423
|
-
"name": "digitClassnames",
|
|
59424
|
-
"type": {
|
|
59425
|
-
"text": "string"
|
|
59426
|
-
},
|
|
59427
|
-
"privacy": "public",
|
|
59428
|
-
"readonly": true
|
|
59429
|
-
},
|
|
59430
|
-
{
|
|
59431
|
-
"kind": "method",
|
|
59432
|
-
"name": "sanitizeCode",
|
|
59433
|
-
"privacy": "private",
|
|
59434
|
-
"return": {
|
|
59435
|
-
"type": {
|
|
59436
|
-
"text": "string"
|
|
59437
|
-
}
|
|
59438
|
-
},
|
|
59439
|
-
"parameters": [
|
|
59440
|
-
{
|
|
59441
|
-
"name": "raw",
|
|
59442
|
-
"type": {
|
|
59443
|
-
"text": "unknown"
|
|
59444
|
-
}
|
|
59445
|
-
}
|
|
59446
|
-
]
|
|
59447
|
-
},
|
|
59448
|
-
{
|
|
59449
|
-
"kind": "method",
|
|
59450
|
-
"name": "bindControlListeners",
|
|
59451
|
-
"privacy": "private",
|
|
59452
|
-
"return": {
|
|
59453
|
-
"type": {
|
|
59454
|
-
"text": "void"
|
|
59455
|
-
}
|
|
59456
|
-
}
|
|
59457
|
-
},
|
|
59458
|
-
{
|
|
59459
|
-
"kind": "method",
|
|
59460
|
-
"name": "unbindControlListeners",
|
|
59461
|
-
"privacy": "private",
|
|
59462
|
-
"return": {
|
|
59463
|
-
"type": {
|
|
59464
|
-
"text": "void"
|
|
59465
|
-
}
|
|
59466
|
-
}
|
|
59467
|
-
},
|
|
59468
|
-
{
|
|
59469
|
-
"kind": "method",
|
|
59470
|
-
"name": "onKeyDown",
|
|
59471
|
-
"privacy": "private",
|
|
59472
|
-
"return": {
|
|
59473
|
-
"type": {
|
|
59474
|
-
"text": "void"
|
|
59475
|
-
}
|
|
59476
|
-
},
|
|
59477
|
-
"parameters": [
|
|
59478
|
-
{
|
|
59479
|
-
"name": "event",
|
|
59480
|
-
"type": {
|
|
59481
|
-
"text": "KeyboardEvent"
|
|
59482
|
-
}
|
|
59483
|
-
},
|
|
59484
|
-
{
|
|
59485
|
-
"name": "index",
|
|
59486
|
-
"type": {
|
|
59487
|
-
"text": "number"
|
|
59488
|
-
}
|
|
59489
|
-
}
|
|
59490
|
-
]
|
|
59491
|
-
},
|
|
59492
|
-
{
|
|
59493
|
-
"kind": "method",
|
|
59494
|
-
"name": "isBlockedCharacter",
|
|
59495
|
-
"privacy": "private",
|
|
59496
|
-
"return": {
|
|
59497
|
-
"type": {
|
|
59498
|
-
"text": "boolean"
|
|
59499
|
-
}
|
|
59500
|
-
},
|
|
59501
|
-
"parameters": [
|
|
59502
|
-
{
|
|
59503
|
-
"name": "event",
|
|
59504
|
-
"type": {
|
|
59505
|
-
"text": "KeyboardEvent"
|
|
59506
|
-
}
|
|
59507
|
-
}
|
|
59508
|
-
]
|
|
59509
|
-
},
|
|
59510
|
-
{
|
|
59511
|
-
"kind": "method",
|
|
59512
|
-
"name": "onInput",
|
|
59513
|
-
"privacy": "private",
|
|
59514
|
-
"return": {
|
|
59515
|
-
"type": {
|
|
59516
|
-
"text": "void"
|
|
59517
|
-
}
|
|
59518
|
-
},
|
|
59519
|
-
"parameters": [
|
|
59520
|
-
{
|
|
59521
|
-
"name": "event",
|
|
59522
|
-
"type": {
|
|
59523
|
-
"text": "InputEvent"
|
|
59524
|
-
}
|
|
59525
|
-
},
|
|
59526
|
-
{
|
|
59527
|
-
"name": "index",
|
|
59528
|
-
"type": {
|
|
59529
|
-
"text": "number"
|
|
59530
|
-
}
|
|
59531
|
-
}
|
|
59532
|
-
]
|
|
59533
|
-
},
|
|
59534
|
-
{
|
|
59535
|
-
"kind": "method",
|
|
59536
|
-
"name": "onPaste",
|
|
59537
|
-
"privacy": "private",
|
|
59538
|
-
"return": {
|
|
59539
|
-
"type": {
|
|
59540
|
-
"text": "void"
|
|
59541
|
-
}
|
|
59542
|
-
},
|
|
59543
|
-
"parameters": [
|
|
59544
|
-
{
|
|
59545
|
-
"name": "event",
|
|
59546
|
-
"type": {
|
|
59547
|
-
"text": "ClipboardEvent"
|
|
59548
|
-
}
|
|
59549
|
-
},
|
|
59550
|
-
{
|
|
59551
|
-
"name": "index",
|
|
59552
|
-
"type": {
|
|
59553
|
-
"text": "number"
|
|
59554
|
-
}
|
|
59555
|
-
}
|
|
59556
|
-
]
|
|
59557
|
-
},
|
|
59558
|
-
{
|
|
59559
|
-
"kind": "method",
|
|
59560
|
-
"name": "handleBackspace",
|
|
59561
|
-
"privacy": "private",
|
|
59562
|
-
"return": {
|
|
59563
|
-
"type": {
|
|
59564
|
-
"text": "void"
|
|
59565
|
-
}
|
|
59566
|
-
},
|
|
59567
|
-
"parameters": [
|
|
59568
|
-
{
|
|
59569
|
-
"name": "index",
|
|
59570
|
-
"type": {
|
|
59571
|
-
"text": "number"
|
|
59572
|
-
}
|
|
59573
|
-
}
|
|
59574
|
-
]
|
|
59575
|
-
},
|
|
59576
|
-
{
|
|
59577
|
-
"kind": "method",
|
|
59578
|
-
"name": "handleDelete",
|
|
59579
|
-
"privacy": "private",
|
|
59580
|
-
"return": {
|
|
59581
|
-
"type": {
|
|
59582
|
-
"text": "void"
|
|
59583
|
-
}
|
|
59584
|
-
},
|
|
59585
|
-
"parameters": [
|
|
59586
|
-
{
|
|
59587
|
-
"name": "index",
|
|
59588
|
-
"type": {
|
|
59589
|
-
"text": "number"
|
|
59590
|
-
}
|
|
59591
|
-
}
|
|
59592
|
-
]
|
|
59593
|
-
},
|
|
59594
|
-
{
|
|
59595
|
-
"kind": "method",
|
|
59596
|
-
"name": "getIndexFromInput",
|
|
59597
|
-
"privacy": "private",
|
|
59598
|
-
"return": {
|
|
59599
|
-
"type": {
|
|
59600
|
-
"text": "number | null"
|
|
59601
|
-
}
|
|
59602
|
-
},
|
|
59603
|
-
"parameters": [
|
|
59604
|
-
{
|
|
59605
|
-
"name": "input",
|
|
59606
|
-
"type": {
|
|
59607
|
-
"text": "HTMLInputElement"
|
|
59608
|
-
}
|
|
59609
|
-
}
|
|
59610
|
-
]
|
|
59611
|
-
},
|
|
59612
|
-
{
|
|
59613
|
-
"kind": "method",
|
|
59614
|
-
"name": "syncDigitsFromValue",
|
|
59615
|
-
"privacy": "private",
|
|
59616
|
-
"return": {
|
|
59617
|
-
"type": {
|
|
59618
|
-
"text": "void"
|
|
59619
|
-
}
|
|
59620
|
-
},
|
|
59621
|
-
"parameters": [
|
|
59622
|
-
{
|
|
59623
|
-
"name": "cleaned",
|
|
59624
|
-
"type": {
|
|
59625
|
-
"text": "string"
|
|
59626
|
-
}
|
|
59627
|
-
}
|
|
59628
|
-
],
|
|
59629
|
-
"description": "Maps a sanitized code string into per-digit `values` and syncs the DOM when connected."
|
|
59630
|
-
},
|
|
59631
|
-
{
|
|
59632
|
-
"kind": "method",
|
|
59633
|
-
"name": "updateDigit",
|
|
59634
|
-
"privacy": "private",
|
|
59635
|
-
"return": {
|
|
59636
|
-
"type": {
|
|
59637
|
-
"text": "void"
|
|
59638
|
-
}
|
|
59639
|
-
},
|
|
59640
|
-
"parameters": [
|
|
59641
|
-
{
|
|
59642
|
-
"name": "index",
|
|
59643
|
-
"type": {
|
|
59644
|
-
"text": "number"
|
|
59645
|
-
}
|
|
59646
|
-
},
|
|
59647
|
-
{
|
|
59648
|
-
"name": "digit",
|
|
59649
|
-
"type": {
|
|
59650
|
-
"text": "string"
|
|
59651
|
-
}
|
|
59652
|
-
}
|
|
59653
|
-
]
|
|
59654
|
-
},
|
|
59655
|
-
{
|
|
59656
|
-
"kind": "method",
|
|
59657
|
-
"name": "applyDigits",
|
|
59658
|
-
"privacy": "private",
|
|
59659
|
-
"return": {
|
|
59660
|
-
"type": {
|
|
59661
|
-
"text": "void"
|
|
59662
|
-
}
|
|
59663
|
-
},
|
|
59664
|
-
"parameters": [
|
|
59665
|
-
{
|
|
59666
|
-
"name": "raw",
|
|
59667
|
-
"type": {
|
|
59668
|
-
"text": "string"
|
|
59669
|
-
}
|
|
59670
|
-
},
|
|
59671
|
-
{
|
|
59672
|
-
"name": "startIndex",
|
|
59673
|
-
"type": {
|
|
59674
|
-
"text": "number"
|
|
59675
|
-
}
|
|
59676
|
-
}
|
|
59677
|
-
]
|
|
59678
|
-
},
|
|
59679
|
-
{
|
|
59680
|
-
"kind": "method",
|
|
59681
|
-
"name": "commitValues",
|
|
59682
|
-
"privacy": "private",
|
|
59683
|
-
"return": {
|
|
59684
|
-
"type": {
|
|
59685
|
-
"text": "void"
|
|
59686
|
-
}
|
|
59687
|
-
},
|
|
59688
|
-
"parameters": [
|
|
59689
|
-
{
|
|
59690
|
-
"name": "nextValues",
|
|
59691
|
-
"type": {
|
|
59692
|
-
"text": "string[]"
|
|
59693
|
-
}
|
|
59694
|
-
}
|
|
59695
|
-
],
|
|
59696
|
-
"description": "Pushes digit state into the form-associated `value` and emits change / complete."
|
|
59697
|
-
},
|
|
59698
|
-
{
|
|
59699
|
-
"kind": "method",
|
|
59700
|
-
"name": "syncFieldValues",
|
|
59701
|
-
"privacy": "private",
|
|
59702
|
-
"return": {
|
|
59703
|
-
"type": {
|
|
59704
|
-
"text": "void"
|
|
59705
|
-
}
|
|
59706
|
-
}
|
|
59707
|
-
},
|
|
59708
|
-
{
|
|
59709
|
-
"kind": "method",
|
|
59710
|
-
"name": "syncFieldValue",
|
|
59711
|
-
"privacy": "private",
|
|
59712
|
-
"return": {
|
|
59713
|
-
"type": {
|
|
59714
|
-
"text": "void"
|
|
59715
|
-
}
|
|
59716
|
-
},
|
|
59717
|
-
"parameters": [
|
|
59718
|
-
{
|
|
59719
|
-
"name": "index",
|
|
59720
|
-
"type": {
|
|
59721
|
-
"text": "number"
|
|
59722
|
-
}
|
|
59723
|
-
}
|
|
59724
|
-
]
|
|
59725
|
-
},
|
|
59726
|
-
{
|
|
59727
|
-
"kind": "method",
|
|
59728
|
-
"name": "focusDigit",
|
|
59729
|
-
"privacy": "private",
|
|
59730
|
-
"return": {
|
|
59731
|
-
"type": {
|
|
59732
|
-
"text": "void"
|
|
59733
|
-
}
|
|
59734
|
-
},
|
|
59735
|
-
"parameters": [
|
|
59736
|
-
{
|
|
59737
|
-
"name": "index",
|
|
59738
|
-
"type": {
|
|
59739
|
-
"text": "number"
|
|
59740
|
-
}
|
|
59741
|
-
}
|
|
59742
|
-
]
|
|
59743
|
-
},
|
|
59744
|
-
{
|
|
59745
|
-
"kind": "field",
|
|
59746
|
-
"name": "rootNode",
|
|
59747
|
-
"type": {
|
|
59748
|
-
"text": "ParentNode"
|
|
59749
|
-
},
|
|
59750
|
-
"privacy": "private",
|
|
59751
|
-
"readonly": true
|
|
59752
|
-
},
|
|
59753
|
-
{
|
|
59754
|
-
"kind": "method",
|
|
59755
|
-
"name": "getControlElement",
|
|
59756
|
-
"privacy": "private",
|
|
59757
|
-
"return": {
|
|
59758
|
-
"type": {
|
|
59759
|
-
"text": "HTMLInputElement | null"
|
|
59760
|
-
}
|
|
59761
|
-
},
|
|
59762
|
-
"parameters": [
|
|
59763
|
-
{
|
|
59764
|
-
"name": "index",
|
|
59765
|
-
"type": {
|
|
59766
|
-
"text": "number"
|
|
59767
|
-
}
|
|
59768
|
-
}
|
|
59769
|
-
]
|
|
59770
|
-
},
|
|
59771
|
-
{
|
|
59772
|
-
"kind": "method",
|
|
59773
|
-
"name": "isComplete",
|
|
59774
|
-
"privacy": "private",
|
|
59775
|
-
"return": {
|
|
59776
|
-
"type": {
|
|
59777
|
-
"text": "boolean"
|
|
59778
|
-
}
|
|
59779
|
-
}
|
|
59780
|
-
},
|
|
59781
|
-
{
|
|
59782
|
-
"kind": "method",
|
|
59783
|
-
"name": "emitChange",
|
|
59784
|
-
"privacy": "private",
|
|
59785
|
-
"return": {
|
|
59786
|
-
"type": {
|
|
59787
|
-
"text": "void"
|
|
59788
|
-
}
|
|
59789
|
-
}
|
|
59790
|
-
},
|
|
59791
|
-
{
|
|
59792
|
-
"kind": "field",
|
|
59793
|
-
"name": "proxy"
|
|
59794
|
-
}
|
|
59795
|
-
],
|
|
59796
|
-
"events": [
|
|
59797
|
-
{
|
|
59798
|
-
"description": "Fired when any digit changes. Detail: `{ value: string }`.",
|
|
59799
|
-
"name": "change"
|
|
59800
|
-
},
|
|
59801
|
-
{
|
|
59802
|
-
"description": "Fired when all digits are filled. Detail: `{ value: string }`.",
|
|
59803
|
-
"name": "complete"
|
|
59804
|
-
}
|
|
59805
|
-
],
|
|
59806
|
-
"attributes": [
|
|
59807
|
-
{
|
|
59808
|
-
"name": "id",
|
|
59809
|
-
"type": {
|
|
59810
|
-
"text": "string"
|
|
59811
|
-
},
|
|
59812
|
-
"description": "Optional host id used as a prefix for digit input ids (`{id}-0`, `{id}-1`, …)\nand the associated label element.",
|
|
59813
|
-
"fieldName": "id"
|
|
59814
|
-
},
|
|
59815
|
-
{
|
|
59816
|
-
"name": "appearance",
|
|
59817
|
-
"type": {
|
|
59818
|
-
"text": "string"
|
|
59819
|
-
},
|
|
59820
|
-
"default": "'outline'",
|
|
59821
|
-
"description": "Visual treatment applied to each digit field.",
|
|
59822
|
-
"fieldName": "appearance"
|
|
59823
|
-
},
|
|
59824
|
-
{
|
|
59825
|
-
"name": "digits",
|
|
59826
|
-
"type": {
|
|
59827
|
-
"text": "number"
|
|
59828
|
-
},
|
|
59829
|
-
"default": "DEFAULT_DIGITS",
|
|
59830
|
-
"description": "Number of single-character digit fields to render.",
|
|
59831
|
-
"resolveInitializer": {
|
|
59832
|
-
"module": "src/verification-code-input/verification-code-input.ts"
|
|
59833
|
-
},
|
|
59834
|
-
"fieldName": "digits"
|
|
59835
|
-
},
|
|
59836
|
-
{
|
|
59837
|
-
"name": "readonly",
|
|
59838
|
-
"type": {
|
|
59839
|
-
"text": "boolean"
|
|
59840
|
-
},
|
|
59841
|
-
"default": "false",
|
|
59842
|
-
"description": "When true, digit fields are non-interactive.",
|
|
59843
|
-
"fieldName": "readOnly"
|
|
59844
|
-
},
|
|
59845
|
-
{
|
|
59846
|
-
"type": {
|
|
59847
|
-
"text": "boolean"
|
|
59848
|
-
},
|
|
59849
|
-
"default": "false",
|
|
59850
|
-
"description": "When true, digit fields are non-interactive.",
|
|
59851
|
-
"fieldName": "disabled"
|
|
59852
|
-
},
|
|
59853
|
-
{
|
|
59854
|
-
"type": {
|
|
59855
|
-
"text": "boolean"
|
|
59856
|
-
},
|
|
59857
|
-
"default": "false",
|
|
59858
|
-
"description": "When true, focuses the first digit on connect (and after SPA route commit when hosted that way).",
|
|
59859
|
-
"fieldName": "autofocus"
|
|
59860
|
-
},
|
|
59861
|
-
{
|
|
59862
|
-
"type": {
|
|
59863
|
-
"text": "boolean"
|
|
59864
|
-
},
|
|
59865
|
-
"default": "false",
|
|
59866
|
-
"description": "When true, applies the error visual state to each digit field.",
|
|
59867
|
-
"fieldName": "error"
|
|
59868
|
-
}
|
|
59869
|
-
],
|
|
59870
|
-
"mixins": [
|
|
59871
|
-
{
|
|
59872
|
-
"name": "FormAssociated",
|
|
59873
|
-
"package": "@microsoft/fast-foundation"
|
|
59874
|
-
}
|
|
59875
|
-
],
|
|
59876
|
-
"superclass": {
|
|
59877
|
-
"name": "_VerificationCodeInput",
|
|
59878
|
-
"module": "src/verification-code-input/verification-code-input.ts"
|
|
59879
|
-
},
|
|
59880
|
-
"tagName": "%%prefix%%-verification-code-input",
|
|
59881
|
-
"customElement": true
|
|
59882
|
-
},
|
|
59883
|
-
{
|
|
59884
|
-
"kind": "variable",
|
|
59885
|
-
"name": "foundationVerificationCodeInput",
|
|
59886
|
-
"description": "The Foundation Verification Code Input",
|
|
59887
|
-
"privacy": "public"
|
|
59888
|
-
}
|
|
59889
|
-
],
|
|
59890
|
-
"exports": [
|
|
59891
|
-
{
|
|
59892
|
-
"kind": "js",
|
|
59893
|
-
"name": "foundationVerificationCodeInputShadowOptions",
|
|
59894
|
-
"declaration": {
|
|
59895
|
-
"name": "foundationVerificationCodeInputShadowOptions",
|
|
59896
|
-
"module": "src/verification-code-input/verification-code-input.ts"
|
|
59897
|
-
}
|
|
59898
|
-
},
|
|
59899
|
-
{
|
|
59900
|
-
"kind": "js",
|
|
59901
|
-
"name": "defaultVerificationCodeInputConfig",
|
|
59902
|
-
"declaration": {
|
|
59903
|
-
"name": "defaultVerificationCodeInputConfig",
|
|
59904
|
-
"module": "src/verification-code-input/verification-code-input.ts"
|
|
59905
|
-
}
|
|
59906
|
-
},
|
|
59907
|
-
{
|
|
59908
|
-
"kind": "js",
|
|
59909
|
-
"name": "VerificationCodeInput",
|
|
59910
|
-
"declaration": {
|
|
59911
|
-
"name": "VerificationCodeInput",
|
|
59912
|
-
"module": "src/verification-code-input/verification-code-input.ts"
|
|
59913
|
-
}
|
|
59914
|
-
},
|
|
59915
|
-
{
|
|
59916
|
-
"kind": "js",
|
|
59917
|
-
"name": "foundationVerificationCodeInput",
|
|
59918
|
-
"declaration": {
|
|
59919
|
-
"name": "foundationVerificationCodeInput",
|
|
59920
|
-
"module": "src/verification-code-input/verification-code-input.ts"
|
|
59921
|
-
}
|
|
59922
|
-
}
|
|
59923
|
-
]
|
|
59924
|
-
},
|
|
59925
59126
|
{
|
|
59926
59127
|
"kind": "javascript-module",
|
|
59927
59128
|
"path": "src/_config/styles/colors.ts",
|