@genesislcap/foundation-ui 14.489.1-alpha-0babe6c0f.0 → 14.491.0-FUI-2567.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +2223 -1424
- 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/react.d.ts +28 -17
- package/dist/dts/verification-code-input/index.d.ts +4 -0
- package/dist/dts/verification-code-input/index.d.ts.map +1 -0
- package/dist/dts/verification-code-input/verification-code-input.d.ts +145 -0
- package/dist/dts/verification-code-input/verification-code-input.d.ts.map +1 -0
- package/dist/dts/verification-code-input/verification-code-input.styles.d.ts +3 -0
- package/dist/dts/verification-code-input/verification-code-input.styles.d.ts.map +1 -0
- package/dist/dts/verification-code-input/verification-code-input.template.d.ts +3 -0
- package/dist/dts/verification-code-input/verification-code-input.template.d.ts.map +1 -0
- package/dist/esm/base-components.js +2 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/verification-code-input/index.js +3 -0
- package/dist/esm/verification-code-input/verification-code-input.js +437 -0
- package/dist/esm/verification-code-input/verification-code-input.styles.js +108 -0
- package/dist/esm/verification-code-input/verification-code-input.template.js +55 -0
- package/dist/foundation-ui.api.json +1089 -68
- package/dist/foundation-ui.d.ts +165 -0
- package/dist/react.cjs +30 -11
- package/dist/react.mjs +27 -9
- 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 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 foundationVerificationCodeInput,\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": [
|
|
@@ -859,6 +859,14 @@
|
|
|
859
859
|
"name": "getPrefix",
|
|
860
860
|
"module": "./utils/dom"
|
|
861
861
|
}
|
|
862
|
+
},
|
|
863
|
+
{
|
|
864
|
+
"kind": "js",
|
|
865
|
+
"name": "*",
|
|
866
|
+
"declaration": {
|
|
867
|
+
"name": "*",
|
|
868
|
+
"package": "./verification-code-input"
|
|
869
|
+
}
|
|
862
870
|
}
|
|
863
871
|
]
|
|
864
872
|
},
|
|
@@ -1408,34 +1416,42 @@
|
|
|
1408
1416
|
},
|
|
1409
1417
|
{
|
|
1410
1418
|
"kind": "javascript-module",
|
|
1411
|
-
"path": "src/
|
|
1412
|
-
"declarations": [
|
|
1419
|
+
"path": "src/_config/index.ts",
|
|
1420
|
+
"declarations": [],
|
|
1421
|
+
"exports": [
|
|
1413
1422
|
{
|
|
1414
|
-
"kind": "
|
|
1415
|
-
"name": "
|
|
1416
|
-
"
|
|
1417
|
-
"
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
{
|
|
1429
|
-
"name": "definition",
|
|
1430
|
-
"type": {
|
|
1431
|
-
"text": "FoundationElementDefinition"
|
|
1432
|
-
}
|
|
1433
|
-
}
|
|
1434
|
-
]
|
|
1423
|
+
"kind": "js",
|
|
1424
|
+
"name": "*",
|
|
1425
|
+
"declaration": {
|
|
1426
|
+
"name": "*",
|
|
1427
|
+
"package": "./styles"
|
|
1428
|
+
}
|
|
1429
|
+
},
|
|
1430
|
+
{
|
|
1431
|
+
"kind": "js",
|
|
1432
|
+
"name": "*",
|
|
1433
|
+
"declaration": {
|
|
1434
|
+
"name": "*",
|
|
1435
|
+
"package": "./tokens"
|
|
1436
|
+
}
|
|
1435
1437
|
},
|
|
1438
|
+
{
|
|
1439
|
+
"kind": "js",
|
|
1440
|
+
"name": "*",
|
|
1441
|
+
"declaration": {
|
|
1442
|
+
"name": "*",
|
|
1443
|
+
"package": "./values"
|
|
1444
|
+
}
|
|
1445
|
+
}
|
|
1446
|
+
]
|
|
1447
|
+
},
|
|
1448
|
+
{
|
|
1449
|
+
"kind": "javascript-module",
|
|
1450
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
1451
|
+
"declarations": [
|
|
1436
1452
|
{
|
|
1437
1453
|
"kind": "function",
|
|
1438
|
-
"name": "
|
|
1454
|
+
"name": "foundationAccordionItemStyles",
|
|
1439
1455
|
"return": {
|
|
1440
1456
|
"type": {
|
|
1441
1457
|
"text": "ElementStyles"
|
|
@@ -1460,270 +1476,157 @@
|
|
|
1460
1476
|
"exports": [
|
|
1461
1477
|
{
|
|
1462
1478
|
"kind": "js",
|
|
1463
|
-
"name": "
|
|
1464
|
-
"declaration": {
|
|
1465
|
-
"name": "actionsMenuBaseStyles",
|
|
1466
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1467
|
-
}
|
|
1468
|
-
},
|
|
1469
|
-
{
|
|
1470
|
-
"kind": "js",
|
|
1471
|
-
"name": "foundationActionsMenuStyles",
|
|
1479
|
+
"name": "foundationAccordionItemStyles",
|
|
1472
1480
|
"declaration": {
|
|
1473
|
-
"name": "
|
|
1474
|
-
"module": "src/
|
|
1481
|
+
"name": "foundationAccordionItemStyles",
|
|
1482
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
1475
1483
|
}
|
|
1476
1484
|
}
|
|
1477
1485
|
]
|
|
1478
1486
|
},
|
|
1479
1487
|
{
|
|
1480
1488
|
"kind": "javascript-module",
|
|
1481
|
-
"path": "src/
|
|
1489
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1482
1490
|
"declarations": [
|
|
1483
1491
|
{
|
|
1484
1492
|
"kind": "function",
|
|
1485
|
-
"name": "
|
|
1493
|
+
"name": "foundationAccordionItemTemplate",
|
|
1494
|
+
"return": {
|
|
1495
|
+
"type": {
|
|
1496
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
1497
|
+
}
|
|
1498
|
+
},
|
|
1486
1499
|
"parameters": [
|
|
1487
1500
|
{
|
|
1488
|
-
"name": "
|
|
1501
|
+
"name": "context",
|
|
1489
1502
|
"type": {
|
|
1490
|
-
"text": "
|
|
1503
|
+
"text": "ElementDefinitionContext"
|
|
1491
1504
|
}
|
|
1492
|
-
}
|
|
1493
|
-
]
|
|
1494
|
-
},
|
|
1495
|
-
{
|
|
1496
|
-
"kind": "function",
|
|
1497
|
-
"name": "singleOptionTemplate",
|
|
1498
|
-
"parameters": [
|
|
1505
|
+
},
|
|
1499
1506
|
{
|
|
1500
|
-
"name": "
|
|
1507
|
+
"name": "definition",
|
|
1501
1508
|
"type": {
|
|
1502
|
-
"text": "
|
|
1509
|
+
"text": "FoundationElementDefinition"
|
|
1503
1510
|
}
|
|
1504
1511
|
}
|
|
1505
1512
|
]
|
|
1506
|
-
},
|
|
1507
|
-
{
|
|
1508
|
-
"kind": "variable",
|
|
1509
|
-
"name": "foundationActionsMenuTemplate",
|
|
1510
|
-
"type": {
|
|
1511
|
-
"text": "ViewTemplate<ActionsMenu>"
|
|
1512
|
-
},
|
|
1513
|
-
"default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
|
|
1514
1513
|
}
|
|
1515
1514
|
],
|
|
1516
1515
|
"exports": [
|
|
1517
1516
|
{
|
|
1518
1517
|
"kind": "js",
|
|
1519
|
-
"name": "
|
|
1520
|
-
"declaration": {
|
|
1521
|
-
"name": "menuTemplate",
|
|
1522
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1523
|
-
}
|
|
1524
|
-
},
|
|
1525
|
-
{
|
|
1526
|
-
"kind": "js",
|
|
1527
|
-
"name": "singleOptionTemplate",
|
|
1528
|
-
"declaration": {
|
|
1529
|
-
"name": "singleOptionTemplate",
|
|
1530
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1531
|
-
}
|
|
1532
|
-
},
|
|
1533
|
-
{
|
|
1534
|
-
"kind": "js",
|
|
1535
|
-
"name": "foundationActionsMenuTemplate",
|
|
1518
|
+
"name": "foundationAccordionItemTemplate",
|
|
1536
1519
|
"declaration": {
|
|
1537
|
-
"name": "
|
|
1538
|
-
"module": "src/
|
|
1520
|
+
"name": "foundationAccordionItemTemplate",
|
|
1521
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
1539
1522
|
}
|
|
1540
1523
|
}
|
|
1541
1524
|
]
|
|
1542
1525
|
},
|
|
1543
1526
|
{
|
|
1544
1527
|
"kind": "javascript-module",
|
|
1545
|
-
"path": "src/
|
|
1528
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
1546
1529
|
"declarations": [
|
|
1547
1530
|
{
|
|
1548
1531
|
"kind": "class",
|
|
1549
1532
|
"description": "",
|
|
1550
|
-
"name": "
|
|
1551
|
-
"
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
},
|
|
1559
|
-
{
|
|
1560
|
-
"kind": "field",
|
|
1561
|
-
"name": "isVertical",
|
|
1562
|
-
"type": {
|
|
1563
|
-
"text": "boolean"
|
|
1564
|
-
},
|
|
1565
|
-
"default": "false"
|
|
1566
|
-
},
|
|
1533
|
+
"name": "AccordionItem",
|
|
1534
|
+
"superclass": {
|
|
1535
|
+
"name": "FASTAccordionItem",
|
|
1536
|
+
"package": "@microsoft/fast-components"
|
|
1537
|
+
},
|
|
1538
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
1539
|
+
"customElement": true,
|
|
1540
|
+
"attributes": [
|
|
1567
1541
|
{
|
|
1568
|
-
"
|
|
1569
|
-
"name": "addDefaultActions",
|
|
1542
|
+
"name": "heading-level",
|
|
1570
1543
|
"type": {
|
|
1571
|
-
"text": "
|
|
1544
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1572
1545
|
},
|
|
1573
|
-
"default": "
|
|
1546
|
+
"default": "2",
|
|
1547
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1548
|
+
"fieldName": "headinglevel",
|
|
1549
|
+
"inheritedFrom": {
|
|
1550
|
+
"name": "AccordionItem",
|
|
1551
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1552
|
+
}
|
|
1574
1553
|
},
|
|
1575
1554
|
{
|
|
1576
|
-
"kind": "field",
|
|
1577
|
-
"name": "autoCloseOnAction",
|
|
1578
1555
|
"type": {
|
|
1579
1556
|
"text": "boolean"
|
|
1580
1557
|
},
|
|
1581
|
-
"default": "
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
"
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
"text": "string"
|
|
1588
|
-
}
|
|
1589
|
-
},
|
|
1590
|
-
{
|
|
1591
|
-
"kind": "field",
|
|
1592
|
-
"name": "definition",
|
|
1593
|
-
"type": {
|
|
1594
|
-
"text": "any"
|
|
1558
|
+
"default": "false",
|
|
1559
|
+
"description": "Expands or collapses the item.",
|
|
1560
|
+
"fieldName": "expanded",
|
|
1561
|
+
"inheritedFrom": {
|
|
1562
|
+
"name": "AccordionItem",
|
|
1563
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1595
1564
|
}
|
|
1596
1565
|
},
|
|
1597
1566
|
{
|
|
1598
|
-
"
|
|
1599
|
-
"name": "name",
|
|
1567
|
+
"name": "id",
|
|
1600
1568
|
"type": {
|
|
1601
1569
|
"text": "string"
|
|
1602
1570
|
},
|
|
1603
|
-
"
|
|
1604
|
-
|
|
1571
|
+
"description": "The item ID",
|
|
1572
|
+
"fieldName": "id",
|
|
1573
|
+
"inheritedFrom": {
|
|
1574
|
+
"name": "AccordionItem",
|
|
1575
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1576
|
+
}
|
|
1577
|
+
}
|
|
1578
|
+
],
|
|
1579
|
+
"members": [
|
|
1605
1580
|
{
|
|
1606
1581
|
"kind": "field",
|
|
1607
|
-
"name": "
|
|
1582
|
+
"name": "headinglevel",
|
|
1608
1583
|
"type": {
|
|
1609
|
-
"text": "
|
|
1584
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1610
1585
|
},
|
|
1611
|
-
"
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
"
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
"text": "string"
|
|
1586
|
+
"privacy": "public",
|
|
1587
|
+
"default": "2",
|
|
1588
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1589
|
+
"inheritedFrom": {
|
|
1590
|
+
"name": "AccordionItem",
|
|
1591
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1618
1592
|
}
|
|
1619
1593
|
},
|
|
1620
1594
|
{
|
|
1621
1595
|
"kind": "field",
|
|
1622
|
-
"name": "
|
|
1596
|
+
"name": "expanded",
|
|
1623
1597
|
"type": {
|
|
1624
1598
|
"text": "boolean"
|
|
1625
1599
|
},
|
|
1626
|
-
"
|
|
1600
|
+
"privacy": "public",
|
|
1601
|
+
"default": "false",
|
|
1602
|
+
"description": "Expands or collapses the item.",
|
|
1603
|
+
"inheritedFrom": {
|
|
1604
|
+
"name": "AccordionItem",
|
|
1605
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1606
|
+
}
|
|
1627
1607
|
},
|
|
1628
1608
|
{
|
|
1629
1609
|
"kind": "field",
|
|
1630
|
-
"name": "
|
|
1610
|
+
"name": "id",
|
|
1631
1611
|
"type": {
|
|
1632
|
-
"text": "
|
|
1612
|
+
"text": "string"
|
|
1633
1613
|
},
|
|
1634
|
-
"
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
"type": {
|
|
1640
|
-
"text": "ActionMenuItem"
|
|
1614
|
+
"privacy": "public",
|
|
1615
|
+
"description": "The item ID",
|
|
1616
|
+
"inheritedFrom": {
|
|
1617
|
+
"name": "AccordionItem",
|
|
1618
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1641
1619
|
}
|
|
1642
1620
|
},
|
|
1643
1621
|
{
|
|
1644
1622
|
"kind": "field",
|
|
1645
|
-
"name": "
|
|
1646
|
-
"
|
|
1647
|
-
|
|
1623
|
+
"name": "change",
|
|
1624
|
+
"privacy": "private",
|
|
1625
|
+
"inheritedFrom": {
|
|
1626
|
+
"name": "AccordionItem",
|
|
1627
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1648
1628
|
}
|
|
1649
1629
|
},
|
|
1650
|
-
{
|
|
1651
|
-
"kind": "method",
|
|
1652
|
-
"name": "definitionChanged",
|
|
1653
|
-
"privacy": "protected",
|
|
1654
|
-
"parameters": [
|
|
1655
|
-
{
|
|
1656
|
-
"name": "oldValue",
|
|
1657
|
-
"type": {
|
|
1658
|
-
"text": "any"
|
|
1659
|
-
}
|
|
1660
|
-
},
|
|
1661
|
-
{
|
|
1662
|
-
"name": "newValue",
|
|
1663
|
-
"type": {
|
|
1664
|
-
"text": "any"
|
|
1665
|
-
}
|
|
1666
|
-
}
|
|
1667
|
-
]
|
|
1668
|
-
},
|
|
1669
|
-
{
|
|
1670
|
-
"kind": "method",
|
|
1671
|
-
"name": "openChanged",
|
|
1672
|
-
"privacy": "protected"
|
|
1673
|
-
},
|
|
1674
|
-
{
|
|
1675
|
-
"kind": "method",
|
|
1676
|
-
"name": "toggleActionsMenuVisibility"
|
|
1677
|
-
},
|
|
1678
|
-
{
|
|
1679
|
-
"kind": "method",
|
|
1680
|
-
"name": "onActionMenuItemClick",
|
|
1681
|
-
"parameters": [
|
|
1682
|
-
{
|
|
1683
|
-
"name": "callback",
|
|
1684
|
-
"type": {
|
|
1685
|
-
"text": "(rowData) => void | any"
|
|
1686
|
-
}
|
|
1687
|
-
}
|
|
1688
|
-
]
|
|
1689
|
-
},
|
|
1690
|
-
{
|
|
1691
|
-
"kind": "field",
|
|
1692
|
-
"name": "allActions",
|
|
1693
|
-
"type": {
|
|
1694
|
-
"text": "ActionMenuItem[]"
|
|
1695
|
-
},
|
|
1696
|
-
"readonly": true
|
|
1697
|
-
},
|
|
1698
|
-
{
|
|
1699
|
-
"kind": "field",
|
|
1700
|
-
"name": "rowData",
|
|
1701
|
-
"readonly": true
|
|
1702
|
-
},
|
|
1703
|
-
{
|
|
1704
|
-
"kind": "method",
|
|
1705
|
-
"name": "getLabel",
|
|
1706
|
-
"parameters": [
|
|
1707
|
-
{
|
|
1708
|
-
"name": "name",
|
|
1709
|
-
"type": {
|
|
1710
|
-
"text": "string | ((rowData: any) => string)"
|
|
1711
|
-
}
|
|
1712
|
-
}
|
|
1713
|
-
]
|
|
1714
|
-
},
|
|
1715
|
-
{
|
|
1716
|
-
"kind": "method",
|
|
1717
|
-
"name": "getTemplate",
|
|
1718
|
-
"parameters": [
|
|
1719
|
-
{
|
|
1720
|
-
"name": "prefix",
|
|
1721
|
-
"type": {
|
|
1722
|
-
"text": "string"
|
|
1723
|
-
}
|
|
1724
|
-
}
|
|
1725
|
-
]
|
|
1726
|
-
},
|
|
1727
1630
|
{
|
|
1728
1631
|
"kind": "field",
|
|
1729
1632
|
"name": "_presentation",
|
|
@@ -1836,107 +1739,78 @@
|
|
|
1836
1739
|
}
|
|
1837
1740
|
}
|
|
1838
1741
|
],
|
|
1839
|
-
"
|
|
1840
|
-
{
|
|
1841
|
-
"name": "is-vertical",
|
|
1842
|
-
"type": {
|
|
1843
|
-
"text": "boolean"
|
|
1844
|
-
},
|
|
1845
|
-
"default": "false",
|
|
1846
|
-
"fieldName": "isVertical"
|
|
1847
|
-
},
|
|
1848
|
-
{
|
|
1849
|
-
"name": "add-default-actions",
|
|
1850
|
-
"type": {
|
|
1851
|
-
"text": "boolean"
|
|
1852
|
-
},
|
|
1853
|
-
"default": "true",
|
|
1854
|
-
"fieldName": "addDefaultActions"
|
|
1855
|
-
},
|
|
1856
|
-
{
|
|
1857
|
-
"name": "auto-close-on-action",
|
|
1858
|
-
"type": {
|
|
1859
|
-
"text": "boolean"
|
|
1860
|
-
},
|
|
1861
|
-
"default": "true",
|
|
1862
|
-
"fieldName": "autoCloseOnAction"
|
|
1863
|
-
},
|
|
1864
|
-
{
|
|
1865
|
-
"name": "name",
|
|
1866
|
-
"type": {
|
|
1867
|
-
"text": "string"
|
|
1868
|
-
},
|
|
1869
|
-
"default": "'Actions'",
|
|
1870
|
-
"fieldName": "name"
|
|
1871
|
-
},
|
|
1872
|
-
{
|
|
1873
|
-
"name": "open",
|
|
1874
|
-
"type": {
|
|
1875
|
-
"text": "boolean"
|
|
1876
|
-
},
|
|
1877
|
-
"default": "false",
|
|
1878
|
-
"fieldName": "open"
|
|
1879
|
-
},
|
|
1880
|
-
{
|
|
1881
|
-
"name": "buttonAppearance",
|
|
1882
|
-
"type": {
|
|
1883
|
-
"text": "string"
|
|
1884
|
-
},
|
|
1885
|
-
"fieldName": "buttonAppearance"
|
|
1886
|
-
},
|
|
1887
|
-
{
|
|
1888
|
-
"name": "hide-disabled",
|
|
1889
|
-
"type": {
|
|
1890
|
-
"text": "boolean"
|
|
1891
|
-
},
|
|
1892
|
-
"default": "false",
|
|
1893
|
-
"fieldName": "hideDisabled"
|
|
1894
|
-
},
|
|
1742
|
+
"events": [
|
|
1895
1743
|
{
|
|
1896
|
-
"
|
|
1897
|
-
"
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1744
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
1745
|
+
"name": "change",
|
|
1746
|
+
"inheritedFrom": {
|
|
1747
|
+
"name": "AccordionItem",
|
|
1748
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1749
|
+
}
|
|
1902
1750
|
}
|
|
1903
|
-
]
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1751
|
+
]
|
|
1752
|
+
},
|
|
1753
|
+
{
|
|
1754
|
+
"kind": "variable",
|
|
1755
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1756
|
+
"type": {
|
|
1757
|
+
"text": "ShadowRootInit"
|
|
1907
1758
|
},
|
|
1908
|
-
"
|
|
1909
|
-
"customElement": true
|
|
1759
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
1910
1760
|
},
|
|
1911
1761
|
{
|
|
1912
1762
|
"kind": "variable",
|
|
1913
|
-
"name": "
|
|
1914
|
-
"
|
|
1763
|
+
"name": "defaultAccordionItemConfig",
|
|
1764
|
+
"type": {
|
|
1765
|
+
"text": "object"
|
|
1766
|
+
},
|
|
1767
|
+
"default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
|
|
1768
|
+
},
|
|
1769
|
+
{
|
|
1770
|
+
"kind": "variable",
|
|
1771
|
+
"name": "foundationAccordionItem",
|
|
1772
|
+
"description": "The Foundation Accordion Item",
|
|
1915
1773
|
"privacy": "public"
|
|
1916
1774
|
}
|
|
1917
1775
|
],
|
|
1918
1776
|
"exports": [
|
|
1919
1777
|
{
|
|
1920
1778
|
"kind": "js",
|
|
1921
|
-
"name": "
|
|
1779
|
+
"name": "AccordionItem",
|
|
1922
1780
|
"declaration": {
|
|
1923
|
-
"name": "
|
|
1924
|
-
"module": "src/
|
|
1781
|
+
"name": "AccordionItem",
|
|
1782
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1925
1783
|
}
|
|
1926
1784
|
},
|
|
1927
1785
|
{
|
|
1928
1786
|
"kind": "js",
|
|
1929
|
-
"name": "
|
|
1787
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1930
1788
|
"declaration": {
|
|
1931
|
-
"name": "
|
|
1932
|
-
"module": "src/
|
|
1789
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1790
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1791
|
+
}
|
|
1792
|
+
},
|
|
1793
|
+
{
|
|
1794
|
+
"kind": "js",
|
|
1795
|
+
"name": "defaultAccordionItemConfig",
|
|
1796
|
+
"declaration": {
|
|
1797
|
+
"name": "defaultAccordionItemConfig",
|
|
1798
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1799
|
+
}
|
|
1800
|
+
},
|
|
1801
|
+
{
|
|
1802
|
+
"kind": "js",
|
|
1803
|
+
"name": "foundationAccordionItem",
|
|
1804
|
+
"declaration": {
|
|
1805
|
+
"name": "foundationAccordionItem",
|
|
1806
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1933
1807
|
}
|
|
1934
1808
|
}
|
|
1935
1809
|
]
|
|
1936
1810
|
},
|
|
1937
1811
|
{
|
|
1938
1812
|
"kind": "javascript-module",
|
|
1939
|
-
"path": "src/
|
|
1813
|
+
"path": "src/accordion-item/index.ts",
|
|
1940
1814
|
"declarations": [],
|
|
1941
1815
|
"exports": [
|
|
1942
1816
|
{
|
|
@@ -1944,7 +1818,7 @@
|
|
|
1944
1818
|
"name": "*",
|
|
1945
1819
|
"declaration": {
|
|
1946
1820
|
"name": "*",
|
|
1947
|
-
"package": "./
|
|
1821
|
+
"package": "./accordion-item.template"
|
|
1948
1822
|
}
|
|
1949
1823
|
},
|
|
1950
1824
|
{
|
|
@@ -1952,7 +1826,7 @@
|
|
|
1952
1826
|
"name": "*",
|
|
1953
1827
|
"declaration": {
|
|
1954
1828
|
"name": "*",
|
|
1955
|
-
"package": "./
|
|
1829
|
+
"package": "./accordion-item.styles"
|
|
1956
1830
|
}
|
|
1957
1831
|
},
|
|
1958
1832
|
{
|
|
@@ -1960,18 +1834,18 @@
|
|
|
1960
1834
|
"name": "*",
|
|
1961
1835
|
"declaration": {
|
|
1962
1836
|
"name": "*",
|
|
1963
|
-
"package": "./
|
|
1837
|
+
"package": "./accordion-item"
|
|
1964
1838
|
}
|
|
1965
1839
|
}
|
|
1966
1840
|
]
|
|
1967
1841
|
},
|
|
1968
1842
|
{
|
|
1969
1843
|
"kind": "javascript-module",
|
|
1970
|
-
"path": "src/accordion
|
|
1844
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
1971
1845
|
"declarations": [
|
|
1972
1846
|
{
|
|
1973
1847
|
"kind": "function",
|
|
1974
|
-
"name": "
|
|
1848
|
+
"name": "foundationAccordionStyles",
|
|
1975
1849
|
"return": {
|
|
1976
1850
|
"type": {
|
|
1977
1851
|
"text": "ElementStyles"
|
|
@@ -1996,24 +1870,24 @@
|
|
|
1996
1870
|
"exports": [
|
|
1997
1871
|
{
|
|
1998
1872
|
"kind": "js",
|
|
1999
|
-
"name": "
|
|
1873
|
+
"name": "foundationAccordionStyles",
|
|
2000
1874
|
"declaration": {
|
|
2001
|
-
"name": "
|
|
2002
|
-
"module": "src/accordion
|
|
1875
|
+
"name": "foundationAccordionStyles",
|
|
1876
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
2003
1877
|
}
|
|
2004
1878
|
}
|
|
2005
1879
|
]
|
|
2006
1880
|
},
|
|
2007
1881
|
{
|
|
2008
1882
|
"kind": "javascript-module",
|
|
2009
|
-
"path": "src/accordion
|
|
1883
|
+
"path": "src/accordion/accordion.template.ts",
|
|
2010
1884
|
"declarations": [
|
|
2011
1885
|
{
|
|
2012
1886
|
"kind": "function",
|
|
2013
|
-
"name": "
|
|
1887
|
+
"name": "foundationAccordionTemplate",
|
|
2014
1888
|
"return": {
|
|
2015
1889
|
"type": {
|
|
2016
|
-
"text": "ViewTemplate<
|
|
1890
|
+
"text": "ViewTemplate<Accordion>"
|
|
2017
1891
|
}
|
|
2018
1892
|
},
|
|
2019
1893
|
"parameters": [
|
|
@@ -2035,116 +1909,237 @@
|
|
|
2035
1909
|
"exports": [
|
|
2036
1910
|
{
|
|
2037
1911
|
"kind": "js",
|
|
2038
|
-
"name": "
|
|
1912
|
+
"name": "foundationAccordionTemplate",
|
|
2039
1913
|
"declaration": {
|
|
2040
|
-
"name": "
|
|
2041
|
-
"module": "src/accordion
|
|
1914
|
+
"name": "foundationAccordionTemplate",
|
|
1915
|
+
"module": "src/accordion/accordion.template.ts"
|
|
2042
1916
|
}
|
|
2043
1917
|
}
|
|
2044
1918
|
]
|
|
2045
1919
|
},
|
|
2046
1920
|
{
|
|
2047
1921
|
"kind": "javascript-module",
|
|
2048
|
-
"path": "src/accordion
|
|
1922
|
+
"path": "src/accordion/accordion.ts",
|
|
2049
1923
|
"declarations": [
|
|
2050
1924
|
{
|
|
2051
1925
|
"kind": "class",
|
|
2052
1926
|
"description": "",
|
|
2053
|
-
"name": "
|
|
1927
|
+
"name": "Accordion",
|
|
2054
1928
|
"superclass": {
|
|
2055
|
-
"name": "
|
|
2056
|
-
"package": "@microsoft/fast-
|
|
1929
|
+
"name": "FASTAccordion",
|
|
1930
|
+
"package": "@microsoft/fast-foundation"
|
|
2057
1931
|
},
|
|
2058
|
-
"tagName": "%%prefix%%-accordion
|
|
1932
|
+
"tagName": "%%prefix%%-accordion",
|
|
2059
1933
|
"customElement": true,
|
|
2060
1934
|
"attributes": [
|
|
2061
1935
|
{
|
|
2062
|
-
"name": "
|
|
1936
|
+
"name": "expand-mode",
|
|
2063
1937
|
"type": {
|
|
2064
|
-
"text": "
|
|
1938
|
+
"text": "AccordionExpandMode"
|
|
2065
1939
|
},
|
|
2066
|
-
"
|
|
2067
|
-
"
|
|
2068
|
-
"fieldName": "headinglevel",
|
|
1940
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1941
|
+
"fieldName": "expandmode",
|
|
2069
1942
|
"inheritedFrom": {
|
|
2070
|
-
"name": "
|
|
2071
|
-
"module": "src/accordion
|
|
1943
|
+
"name": "Accordion",
|
|
1944
|
+
"module": "src/accordion/accordion.ts"
|
|
2072
1945
|
}
|
|
2073
|
-
}
|
|
1946
|
+
}
|
|
1947
|
+
],
|
|
1948
|
+
"members": [
|
|
2074
1949
|
{
|
|
1950
|
+
"kind": "field",
|
|
1951
|
+
"name": "expandmode",
|
|
2075
1952
|
"type": {
|
|
2076
|
-
"text": "
|
|
1953
|
+
"text": "AccordionExpandMode"
|
|
2077
1954
|
},
|
|
2078
|
-
"
|
|
2079
|
-
"description": "
|
|
2080
|
-
"fieldName": "expanded",
|
|
1955
|
+
"privacy": "public",
|
|
1956
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2081
1957
|
"inheritedFrom": {
|
|
2082
|
-
"name": "
|
|
2083
|
-
"module": "src/accordion
|
|
1958
|
+
"name": "Accordion",
|
|
1959
|
+
"module": "src/accordion/accordion.ts"
|
|
2084
1960
|
}
|
|
2085
1961
|
},
|
|
2086
1962
|
{
|
|
2087
|
-
"
|
|
1963
|
+
"kind": "field",
|
|
1964
|
+
"name": "activeid",
|
|
2088
1965
|
"type": {
|
|
2089
|
-
"text": "string"
|
|
1966
|
+
"text": "string | null"
|
|
2090
1967
|
},
|
|
2091
|
-
"
|
|
2092
|
-
"fieldName": "id",
|
|
1968
|
+
"privacy": "private",
|
|
2093
1969
|
"inheritedFrom": {
|
|
2094
|
-
"name": "
|
|
2095
|
-
"module": "src/accordion
|
|
1970
|
+
"name": "Accordion",
|
|
1971
|
+
"module": "src/accordion/accordion.ts"
|
|
2096
1972
|
}
|
|
2097
|
-
}
|
|
2098
|
-
],
|
|
2099
|
-
"members": [
|
|
1973
|
+
},
|
|
2100
1974
|
{
|
|
2101
1975
|
"kind": "field",
|
|
2102
|
-
"name": "
|
|
1976
|
+
"name": "activeItemIndex",
|
|
2103
1977
|
"type": {
|
|
2104
|
-
"text": "
|
|
1978
|
+
"text": "number"
|
|
2105
1979
|
},
|
|
2106
|
-
"privacy": "
|
|
2107
|
-
"default": "
|
|
2108
|
-
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1980
|
+
"privacy": "private",
|
|
1981
|
+
"default": "0",
|
|
2109
1982
|
"inheritedFrom": {
|
|
2110
|
-
"name": "
|
|
2111
|
-
"module": "src/accordion
|
|
1983
|
+
"name": "Accordion",
|
|
1984
|
+
"module": "src/accordion/accordion.ts"
|
|
2112
1985
|
}
|
|
2113
1986
|
},
|
|
2114
1987
|
{
|
|
2115
1988
|
"kind": "field",
|
|
2116
|
-
"name": "
|
|
1989
|
+
"name": "accordionIds",
|
|
2117
1990
|
"type": {
|
|
2118
|
-
"text": "
|
|
1991
|
+
"text": "Array<string | null>"
|
|
2119
1992
|
},
|
|
2120
|
-
"privacy": "
|
|
2121
|
-
"default": "false",
|
|
2122
|
-
"description": "Expands or collapses the item.",
|
|
1993
|
+
"privacy": "private",
|
|
2123
1994
|
"inheritedFrom": {
|
|
2124
|
-
"name": "
|
|
2125
|
-
"module": "src/accordion
|
|
1995
|
+
"name": "Accordion",
|
|
1996
|
+
"module": "src/accordion/accordion.ts"
|
|
2126
1997
|
}
|
|
2127
1998
|
},
|
|
2128
1999
|
{
|
|
2129
2000
|
"kind": "field",
|
|
2130
|
-
"name": "
|
|
2131
|
-
"
|
|
2132
|
-
|
|
2001
|
+
"name": "change",
|
|
2002
|
+
"privacy": "private",
|
|
2003
|
+
"inheritedFrom": {
|
|
2004
|
+
"name": "Accordion",
|
|
2005
|
+
"module": "src/accordion/accordion.ts"
|
|
2006
|
+
}
|
|
2007
|
+
},
|
|
2008
|
+
{
|
|
2009
|
+
"kind": "method",
|
|
2010
|
+
"name": "findExpandedItem",
|
|
2011
|
+
"privacy": "private",
|
|
2012
|
+
"return": {
|
|
2013
|
+
"type": {
|
|
2014
|
+
"text": "AccordionItem | null"
|
|
2015
|
+
}
|
|
2133
2016
|
},
|
|
2134
|
-
"privacy": "public",
|
|
2135
|
-
"description": "The item ID",
|
|
2136
2017
|
"inheritedFrom": {
|
|
2137
|
-
"name": "
|
|
2138
|
-
"module": "src/accordion
|
|
2018
|
+
"name": "Accordion",
|
|
2019
|
+
"module": "src/accordion/accordion.ts"
|
|
2139
2020
|
}
|
|
2140
2021
|
},
|
|
2141
2022
|
{
|
|
2142
2023
|
"kind": "field",
|
|
2143
|
-
"name": "
|
|
2024
|
+
"name": "setItems",
|
|
2144
2025
|
"privacy": "private",
|
|
2145
2026
|
"inheritedFrom": {
|
|
2146
|
-
"name": "
|
|
2147
|
-
"module": "src/accordion
|
|
2027
|
+
"name": "Accordion",
|
|
2028
|
+
"module": "src/accordion/accordion.ts"
|
|
2029
|
+
}
|
|
2030
|
+
},
|
|
2031
|
+
{
|
|
2032
|
+
"kind": "method",
|
|
2033
|
+
"name": "resetItems",
|
|
2034
|
+
"privacy": "private",
|
|
2035
|
+
"return": {
|
|
2036
|
+
"type": {
|
|
2037
|
+
"text": "void"
|
|
2038
|
+
}
|
|
2039
|
+
},
|
|
2040
|
+
"inheritedFrom": {
|
|
2041
|
+
"name": "Accordion",
|
|
2042
|
+
"module": "src/accordion/accordion.ts"
|
|
2043
|
+
}
|
|
2044
|
+
},
|
|
2045
|
+
{
|
|
2046
|
+
"kind": "field",
|
|
2047
|
+
"name": "removeItemListeners",
|
|
2048
|
+
"privacy": "private",
|
|
2049
|
+
"inheritedFrom": {
|
|
2050
|
+
"name": "Accordion",
|
|
2051
|
+
"module": "src/accordion/accordion.ts"
|
|
2052
|
+
}
|
|
2053
|
+
},
|
|
2054
|
+
{
|
|
2055
|
+
"kind": "field",
|
|
2056
|
+
"name": "activeItemChange",
|
|
2057
|
+
"privacy": "private",
|
|
2058
|
+
"inheritedFrom": {
|
|
2059
|
+
"name": "Accordion",
|
|
2060
|
+
"module": "src/accordion/accordion.ts"
|
|
2061
|
+
}
|
|
2062
|
+
},
|
|
2063
|
+
{
|
|
2064
|
+
"kind": "method",
|
|
2065
|
+
"name": "getItemIds",
|
|
2066
|
+
"privacy": "private",
|
|
2067
|
+
"return": {
|
|
2068
|
+
"type": {
|
|
2069
|
+
"text": "Array<string | null>"
|
|
2070
|
+
}
|
|
2071
|
+
},
|
|
2072
|
+
"inheritedFrom": {
|
|
2073
|
+
"name": "Accordion",
|
|
2074
|
+
"module": "src/accordion/accordion.ts"
|
|
2075
|
+
}
|
|
2076
|
+
},
|
|
2077
|
+
{
|
|
2078
|
+
"kind": "method",
|
|
2079
|
+
"name": "isSingleExpandMode",
|
|
2080
|
+
"privacy": "private",
|
|
2081
|
+
"return": {
|
|
2082
|
+
"type": {
|
|
2083
|
+
"text": "boolean"
|
|
2084
|
+
}
|
|
2085
|
+
},
|
|
2086
|
+
"inheritedFrom": {
|
|
2087
|
+
"name": "Accordion",
|
|
2088
|
+
"module": "src/accordion/accordion.ts"
|
|
2089
|
+
}
|
|
2090
|
+
},
|
|
2091
|
+
{
|
|
2092
|
+
"kind": "field",
|
|
2093
|
+
"name": "handleItemKeyDown",
|
|
2094
|
+
"privacy": "private",
|
|
2095
|
+
"inheritedFrom": {
|
|
2096
|
+
"name": "Accordion",
|
|
2097
|
+
"module": "src/accordion/accordion.ts"
|
|
2098
|
+
}
|
|
2099
|
+
},
|
|
2100
|
+
{
|
|
2101
|
+
"kind": "field",
|
|
2102
|
+
"name": "handleItemFocus",
|
|
2103
|
+
"privacy": "private",
|
|
2104
|
+
"inheritedFrom": {
|
|
2105
|
+
"name": "Accordion",
|
|
2106
|
+
"module": "src/accordion/accordion.ts"
|
|
2107
|
+
}
|
|
2108
|
+
},
|
|
2109
|
+
{
|
|
2110
|
+
"kind": "method",
|
|
2111
|
+
"name": "adjust",
|
|
2112
|
+
"privacy": "private",
|
|
2113
|
+
"return": {
|
|
2114
|
+
"type": {
|
|
2115
|
+
"text": "void"
|
|
2116
|
+
}
|
|
2117
|
+
},
|
|
2118
|
+
"parameters": [
|
|
2119
|
+
{
|
|
2120
|
+
"name": "adjustment",
|
|
2121
|
+
"type": {
|
|
2122
|
+
"text": "number"
|
|
2123
|
+
}
|
|
2124
|
+
}
|
|
2125
|
+
],
|
|
2126
|
+
"inheritedFrom": {
|
|
2127
|
+
"name": "Accordion",
|
|
2128
|
+
"module": "src/accordion/accordion.ts"
|
|
2129
|
+
}
|
|
2130
|
+
},
|
|
2131
|
+
{
|
|
2132
|
+
"kind": "method",
|
|
2133
|
+
"name": "focusItem",
|
|
2134
|
+
"privacy": "private",
|
|
2135
|
+
"return": {
|
|
2136
|
+
"type": {
|
|
2137
|
+
"text": "void"
|
|
2138
|
+
}
|
|
2139
|
+
},
|
|
2140
|
+
"inheritedFrom": {
|
|
2141
|
+
"name": "Accordion",
|
|
2142
|
+
"module": "src/accordion/accordion.ts"
|
|
2148
2143
|
}
|
|
2149
2144
|
},
|
|
2150
2145
|
{
|
|
@@ -2261,18 +2256,18 @@
|
|
|
2261
2256
|
],
|
|
2262
2257
|
"events": [
|
|
2263
2258
|
{
|
|
2264
|
-
"description": "Fires a custom 'change' event when the
|
|
2259
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
2265
2260
|
"name": "change",
|
|
2266
2261
|
"inheritedFrom": {
|
|
2267
|
-
"name": "
|
|
2268
|
-
"module": "src/accordion
|
|
2262
|
+
"name": "Accordion",
|
|
2263
|
+
"module": "src/accordion/accordion.ts"
|
|
2269
2264
|
}
|
|
2270
2265
|
}
|
|
2271
2266
|
]
|
|
2272
2267
|
},
|
|
2273
2268
|
{
|
|
2274
2269
|
"kind": "variable",
|
|
2275
|
-
"name": "
|
|
2270
|
+
"name": "foundationAccordionShadowOptions",
|
|
2276
2271
|
"type": {
|
|
2277
2272
|
"text": "ShadowRootInit"
|
|
2278
2273
|
},
|
|
@@ -2280,57 +2275,57 @@
|
|
|
2280
2275
|
},
|
|
2281
2276
|
{
|
|
2282
2277
|
"kind": "variable",
|
|
2283
|
-
"name": "
|
|
2278
|
+
"name": "defaultAccordionConfig",
|
|
2284
2279
|
"type": {
|
|
2285
2280
|
"text": "object"
|
|
2286
2281
|
},
|
|
2287
|
-
"default": "{
|
|
2282
|
+
"default": "{}"
|
|
2288
2283
|
},
|
|
2289
2284
|
{
|
|
2290
2285
|
"kind": "variable",
|
|
2291
|
-
"name": "
|
|
2292
|
-
"description": "The Foundation Accordion
|
|
2286
|
+
"name": "foundationAccordion",
|
|
2287
|
+
"description": "The Foundation Accordion",
|
|
2293
2288
|
"privacy": "public"
|
|
2294
2289
|
}
|
|
2295
2290
|
],
|
|
2296
2291
|
"exports": [
|
|
2297
2292
|
{
|
|
2298
2293
|
"kind": "js",
|
|
2299
|
-
"name": "
|
|
2294
|
+
"name": "Accordion",
|
|
2300
2295
|
"declaration": {
|
|
2301
|
-
"name": "
|
|
2302
|
-
"module": "src/accordion
|
|
2296
|
+
"name": "Accordion",
|
|
2297
|
+
"module": "src/accordion/accordion.ts"
|
|
2303
2298
|
}
|
|
2304
2299
|
},
|
|
2305
2300
|
{
|
|
2306
2301
|
"kind": "js",
|
|
2307
|
-
"name": "
|
|
2302
|
+
"name": "foundationAccordionShadowOptions",
|
|
2308
2303
|
"declaration": {
|
|
2309
|
-
"name": "
|
|
2310
|
-
"module": "src/accordion
|
|
2304
|
+
"name": "foundationAccordionShadowOptions",
|
|
2305
|
+
"module": "src/accordion/accordion.ts"
|
|
2311
2306
|
}
|
|
2312
2307
|
},
|
|
2313
2308
|
{
|
|
2314
2309
|
"kind": "js",
|
|
2315
|
-
"name": "
|
|
2310
|
+
"name": "defaultAccordionConfig",
|
|
2316
2311
|
"declaration": {
|
|
2317
|
-
"name": "
|
|
2318
|
-
"module": "src/accordion
|
|
2312
|
+
"name": "defaultAccordionConfig",
|
|
2313
|
+
"module": "src/accordion/accordion.ts"
|
|
2319
2314
|
}
|
|
2320
2315
|
},
|
|
2321
2316
|
{
|
|
2322
2317
|
"kind": "js",
|
|
2323
|
-
"name": "
|
|
2318
|
+
"name": "foundationAccordion",
|
|
2324
2319
|
"declaration": {
|
|
2325
|
-
"name": "
|
|
2326
|
-
"module": "src/accordion
|
|
2320
|
+
"name": "foundationAccordion",
|
|
2321
|
+
"module": "src/accordion/accordion.ts"
|
|
2327
2322
|
}
|
|
2328
2323
|
}
|
|
2329
2324
|
]
|
|
2330
2325
|
},
|
|
2331
2326
|
{
|
|
2332
2327
|
"kind": "javascript-module",
|
|
2333
|
-
"path": "src/accordion
|
|
2328
|
+
"path": "src/accordion/index.ts",
|
|
2334
2329
|
"declarations": [],
|
|
2335
2330
|
"exports": [
|
|
2336
2331
|
{
|
|
@@ -2338,7 +2333,7 @@
|
|
|
2338
2333
|
"name": "*",
|
|
2339
2334
|
"declaration": {
|
|
2340
2335
|
"name": "*",
|
|
2341
|
-
"package": "./accordion
|
|
2336
|
+
"package": "./accordion.template"
|
|
2342
2337
|
}
|
|
2343
2338
|
},
|
|
2344
2339
|
{
|
|
@@ -2346,7 +2341,7 @@
|
|
|
2346
2341
|
"name": "*",
|
|
2347
2342
|
"declaration": {
|
|
2348
2343
|
"name": "*",
|
|
2349
|
-
"package": "./accordion
|
|
2344
|
+
"package": "./accordion.styles"
|
|
2350
2345
|
}
|
|
2351
2346
|
},
|
|
2352
2347
|
{
|
|
@@ -2354,18 +2349,41 @@
|
|
|
2354
2349
|
"name": "*",
|
|
2355
2350
|
"declaration": {
|
|
2356
2351
|
"name": "*",
|
|
2357
|
-
"package": "./accordion
|
|
2352
|
+
"package": "./accordion"
|
|
2358
2353
|
}
|
|
2359
2354
|
}
|
|
2360
2355
|
]
|
|
2361
2356
|
},
|
|
2362
2357
|
{
|
|
2363
2358
|
"kind": "javascript-module",
|
|
2364
|
-
"path": "src/
|
|
2359
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
2365
2360
|
"declarations": [
|
|
2366
2361
|
{
|
|
2367
2362
|
"kind": "function",
|
|
2368
|
-
"name": "
|
|
2363
|
+
"name": "actionsMenuBaseStyles",
|
|
2364
|
+
"return": {
|
|
2365
|
+
"type": {
|
|
2366
|
+
"text": "ElementStyles"
|
|
2367
|
+
}
|
|
2368
|
+
},
|
|
2369
|
+
"parameters": [
|
|
2370
|
+
{
|
|
2371
|
+
"name": "context",
|
|
2372
|
+
"type": {
|
|
2373
|
+
"text": "ElementDefinitionContext"
|
|
2374
|
+
}
|
|
2375
|
+
},
|
|
2376
|
+
{
|
|
2377
|
+
"name": "definition",
|
|
2378
|
+
"type": {
|
|
2379
|
+
"text": "FoundationElementDefinition"
|
|
2380
|
+
}
|
|
2381
|
+
}
|
|
2382
|
+
]
|
|
2383
|
+
},
|
|
2384
|
+
{
|
|
2385
|
+
"kind": "function",
|
|
2386
|
+
"name": "foundationActionsMenuStyles",
|
|
2369
2387
|
"return": {
|
|
2370
2388
|
"type": {
|
|
2371
2389
|
"text": "ElementStyles"
|
|
@@ -2390,225 +2408,269 @@
|
|
|
2390
2408
|
"exports": [
|
|
2391
2409
|
{
|
|
2392
2410
|
"kind": "js",
|
|
2393
|
-
"name": "
|
|
2411
|
+
"name": "actionsMenuBaseStyles",
|
|
2394
2412
|
"declaration": {
|
|
2395
|
-
"name": "
|
|
2396
|
-
"module": "src/
|
|
2413
|
+
"name": "actionsMenuBaseStyles",
|
|
2414
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2415
|
+
}
|
|
2416
|
+
},
|
|
2417
|
+
{
|
|
2418
|
+
"kind": "js",
|
|
2419
|
+
"name": "foundationActionsMenuStyles",
|
|
2420
|
+
"declaration": {
|
|
2421
|
+
"name": "foundationActionsMenuStyles",
|
|
2422
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2397
2423
|
}
|
|
2398
2424
|
}
|
|
2399
2425
|
]
|
|
2400
2426
|
},
|
|
2401
2427
|
{
|
|
2402
2428
|
"kind": "javascript-module",
|
|
2403
|
-
"path": "src/
|
|
2429
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
2404
2430
|
"declarations": [
|
|
2431
|
+
{
|
|
2432
|
+
"kind": "function",
|
|
2433
|
+
"name": "menuTemplate",
|
|
2434
|
+
"parameters": [
|
|
2435
|
+
{
|
|
2436
|
+
"name": "prefix",
|
|
2437
|
+
"type": {
|
|
2438
|
+
"text": "string"
|
|
2439
|
+
}
|
|
2440
|
+
}
|
|
2441
|
+
]
|
|
2442
|
+
},
|
|
2443
|
+
{
|
|
2444
|
+
"kind": "function",
|
|
2445
|
+
"name": "singleOptionTemplate",
|
|
2446
|
+
"parameters": [
|
|
2447
|
+
{
|
|
2448
|
+
"name": "prefix",
|
|
2449
|
+
"type": {
|
|
2450
|
+
"text": "string"
|
|
2451
|
+
}
|
|
2452
|
+
}
|
|
2453
|
+
]
|
|
2454
|
+
},
|
|
2405
2455
|
{
|
|
2406
2456
|
"kind": "variable",
|
|
2407
|
-
"name": "
|
|
2457
|
+
"name": "foundationActionsMenuTemplate",
|
|
2408
2458
|
"type": {
|
|
2409
|
-
"text": "ViewTemplate<
|
|
2459
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
2410
2460
|
},
|
|
2411
|
-
"default": "html`\n ${(x) =>
|
|
2461
|
+
"default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
|
|
2412
2462
|
}
|
|
2413
2463
|
],
|
|
2414
2464
|
"exports": [
|
|
2415
2465
|
{
|
|
2416
2466
|
"kind": "js",
|
|
2417
|
-
"name": "
|
|
2467
|
+
"name": "menuTemplate",
|
|
2418
2468
|
"declaration": {
|
|
2419
|
-
"name": "
|
|
2420
|
-
"module": "src/
|
|
2469
|
+
"name": "menuTemplate",
|
|
2470
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2421
2471
|
}
|
|
2422
|
-
}
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2472
|
+
},
|
|
2473
|
+
{
|
|
2474
|
+
"kind": "js",
|
|
2475
|
+
"name": "singleOptionTemplate",
|
|
2476
|
+
"declaration": {
|
|
2477
|
+
"name": "singleOptionTemplate",
|
|
2478
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2479
|
+
}
|
|
2480
|
+
},
|
|
2481
|
+
{
|
|
2482
|
+
"kind": "js",
|
|
2483
|
+
"name": "foundationActionsMenuTemplate",
|
|
2484
|
+
"declaration": {
|
|
2485
|
+
"name": "foundationActionsMenuTemplate",
|
|
2486
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2487
|
+
}
|
|
2488
|
+
}
|
|
2489
|
+
]
|
|
2490
|
+
},
|
|
2491
|
+
{
|
|
2492
|
+
"kind": "javascript-module",
|
|
2493
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
2494
|
+
"declarations": [
|
|
2429
2495
|
{
|
|
2430
2496
|
"kind": "class",
|
|
2431
2497
|
"description": "",
|
|
2432
|
-
"name": "
|
|
2498
|
+
"name": "ActionsMenu",
|
|
2433
2499
|
"members": [
|
|
2434
2500
|
{
|
|
2435
2501
|
"kind": "field",
|
|
2436
|
-
"name": "
|
|
2502
|
+
"name": "actions",
|
|
2437
2503
|
"type": {
|
|
2438
|
-
"text": "
|
|
2504
|
+
"text": "ActionMenuItem[]"
|
|
2439
2505
|
}
|
|
2440
2506
|
},
|
|
2441
2507
|
{
|
|
2442
2508
|
"kind": "field",
|
|
2443
|
-
"name": "
|
|
2509
|
+
"name": "isVertical",
|
|
2444
2510
|
"type": {
|
|
2445
|
-
"text": "
|
|
2511
|
+
"text": "boolean"
|
|
2446
2512
|
},
|
|
2447
|
-
"
|
|
2448
|
-
"description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
|
|
2449
|
-
"readonly": true
|
|
2513
|
+
"default": "false"
|
|
2450
2514
|
},
|
|
2451
2515
|
{
|
|
2452
2516
|
"kind": "field",
|
|
2453
|
-
"name": "
|
|
2517
|
+
"name": "addDefaultActions",
|
|
2454
2518
|
"type": {
|
|
2455
|
-
"text": "
|
|
2519
|
+
"text": "boolean"
|
|
2456
2520
|
},
|
|
2457
|
-
"default": "
|
|
2521
|
+
"default": "true"
|
|
2458
2522
|
},
|
|
2459
2523
|
{
|
|
2460
2524
|
"kind": "field",
|
|
2461
|
-
"name": "
|
|
2525
|
+
"name": "autoCloseOnAction",
|
|
2462
2526
|
"type": {
|
|
2463
2527
|
"text": "boolean"
|
|
2464
2528
|
},
|
|
2465
|
-
"default": "
|
|
2529
|
+
"default": "true"
|
|
2466
2530
|
},
|
|
2467
2531
|
{
|
|
2468
2532
|
"kind": "field",
|
|
2469
|
-
"name": "
|
|
2533
|
+
"name": "classNames",
|
|
2470
2534
|
"type": {
|
|
2471
|
-
"text": "
|
|
2472
|
-
}
|
|
2473
|
-
"default": "'none'"
|
|
2535
|
+
"text": "string"
|
|
2536
|
+
}
|
|
2474
2537
|
},
|
|
2475
2538
|
{
|
|
2476
2539
|
"kind": "field",
|
|
2477
|
-
"name": "
|
|
2540
|
+
"name": "definition",
|
|
2478
2541
|
"type": {
|
|
2479
|
-
"text": "
|
|
2480
|
-
}
|
|
2481
|
-
"default": "false"
|
|
2542
|
+
"text": "any"
|
|
2543
|
+
}
|
|
2482
2544
|
},
|
|
2483
2545
|
{
|
|
2484
2546
|
"kind": "field",
|
|
2485
|
-
"name": "
|
|
2547
|
+
"name": "name",
|
|
2486
2548
|
"type": {
|
|
2487
|
-
"text": "
|
|
2549
|
+
"text": "string"
|
|
2488
2550
|
},
|
|
2489
|
-
"
|
|
2490
|
-
"default": "null"
|
|
2551
|
+
"default": "'Actions'"
|
|
2491
2552
|
},
|
|
2492
2553
|
{
|
|
2493
2554
|
"kind": "field",
|
|
2494
|
-
"name": "
|
|
2495
|
-
"
|
|
2555
|
+
"name": "open",
|
|
2556
|
+
"type": {
|
|
2557
|
+
"text": "boolean"
|
|
2558
|
+
},
|
|
2559
|
+
"default": "false"
|
|
2496
2560
|
},
|
|
2497
2561
|
{
|
|
2498
2562
|
"kind": "field",
|
|
2499
|
-
"name": "
|
|
2563
|
+
"name": "buttonAppearance",
|
|
2500
2564
|
"type": {
|
|
2501
|
-
"text": "string
|
|
2502
|
-
}
|
|
2503
|
-
"readonly": true
|
|
2565
|
+
"text": "string"
|
|
2566
|
+
}
|
|
2504
2567
|
},
|
|
2505
2568
|
{
|
|
2506
2569
|
"kind": "field",
|
|
2507
|
-
"name": "
|
|
2570
|
+
"name": "hideDisabled",
|
|
2508
2571
|
"type": {
|
|
2509
2572
|
"text": "boolean"
|
|
2510
2573
|
},
|
|
2511
|
-
"
|
|
2574
|
+
"default": "false"
|
|
2512
2575
|
},
|
|
2513
2576
|
{
|
|
2514
2577
|
"kind": "field",
|
|
2515
|
-
"name": "
|
|
2578
|
+
"name": "hideMenuSingleOption",
|
|
2516
2579
|
"type": {
|
|
2517
2580
|
"text": "boolean"
|
|
2518
2581
|
},
|
|
2519
|
-
"
|
|
2582
|
+
"default": "false"
|
|
2520
2583
|
},
|
|
2521
2584
|
{
|
|
2522
|
-
"kind": "
|
|
2523
|
-
"name": "
|
|
2524
|
-
"
|
|
2525
|
-
"
|
|
2526
|
-
|
|
2527
|
-
|
|
2585
|
+
"kind": "field",
|
|
2586
|
+
"name": "singleOption",
|
|
2587
|
+
"type": {
|
|
2588
|
+
"text": "ActionMenuItem"
|
|
2589
|
+
}
|
|
2590
|
+
},
|
|
2591
|
+
{
|
|
2592
|
+
"kind": "field",
|
|
2593
|
+
"name": "actionsMenu",
|
|
2594
|
+
"type": {
|
|
2595
|
+
"text": "HTMLElement"
|
|
2528
2596
|
}
|
|
2529
2597
|
},
|
|
2530
2598
|
{
|
|
2531
2599
|
"kind": "method",
|
|
2532
|
-
"name": "
|
|
2533
|
-
"privacy": "
|
|
2600
|
+
"name": "definitionChanged",
|
|
2601
|
+
"privacy": "protected",
|
|
2534
2602
|
"parameters": [
|
|
2535
2603
|
{
|
|
2536
|
-
"name": "
|
|
2604
|
+
"name": "oldValue",
|
|
2537
2605
|
"type": {
|
|
2538
|
-
"text": "
|
|
2606
|
+
"text": "any"
|
|
2607
|
+
}
|
|
2608
|
+
},
|
|
2609
|
+
{
|
|
2610
|
+
"name": "newValue",
|
|
2611
|
+
"type": {
|
|
2612
|
+
"text": "any"
|
|
2539
2613
|
}
|
|
2540
2614
|
}
|
|
2541
2615
|
]
|
|
2542
2616
|
},
|
|
2543
2617
|
{
|
|
2544
2618
|
"kind": "method",
|
|
2545
|
-
"name": "
|
|
2619
|
+
"name": "openChanged",
|
|
2620
|
+
"privacy": "protected"
|
|
2546
2621
|
},
|
|
2547
2622
|
{
|
|
2548
2623
|
"kind": "method",
|
|
2549
|
-
"name": "
|
|
2550
|
-
"return": {
|
|
2551
|
-
"type": {
|
|
2552
|
-
"text": "Promise<void>"
|
|
2553
|
-
}
|
|
2554
|
-
}
|
|
2624
|
+
"name": "toggleActionsMenuVisibility"
|
|
2555
2625
|
},
|
|
2556
2626
|
{
|
|
2557
2627
|
"kind": "method",
|
|
2558
|
-
"name": "
|
|
2559
|
-
"privacy": "private",
|
|
2560
|
-
"return": {
|
|
2561
|
-
"type": {
|
|
2562
|
-
"text": "AIIndicatorState"
|
|
2563
|
-
}
|
|
2564
|
-
},
|
|
2628
|
+
"name": "onActionMenuItemClick",
|
|
2565
2629
|
"parameters": [
|
|
2566
2630
|
{
|
|
2567
|
-
"name": "
|
|
2631
|
+
"name": "callback",
|
|
2568
2632
|
"type": {
|
|
2569
|
-
"text": "
|
|
2633
|
+
"text": "(rowData) => void | any"
|
|
2570
2634
|
}
|
|
2571
2635
|
}
|
|
2572
2636
|
]
|
|
2573
2637
|
},
|
|
2574
2638
|
{
|
|
2575
|
-
"kind": "
|
|
2576
|
-
"name": "
|
|
2577
|
-
"
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
}
|
|
2582
|
-
}
|
|
2639
|
+
"kind": "field",
|
|
2640
|
+
"name": "allActions",
|
|
2641
|
+
"type": {
|
|
2642
|
+
"text": "ActionMenuItem[]"
|
|
2643
|
+
},
|
|
2644
|
+
"readonly": true
|
|
2583
2645
|
},
|
|
2584
2646
|
{
|
|
2585
|
-
"kind": "
|
|
2586
|
-
"name": "
|
|
2587
|
-
"
|
|
2588
|
-
"return": {
|
|
2589
|
-
"type": {
|
|
2590
|
-
"text": "void"
|
|
2591
|
-
}
|
|
2592
|
-
}
|
|
2647
|
+
"kind": "field",
|
|
2648
|
+
"name": "rowData",
|
|
2649
|
+
"readonly": true
|
|
2593
2650
|
},
|
|
2594
2651
|
{
|
|
2595
2652
|
"kind": "method",
|
|
2596
|
-
"name": "
|
|
2597
|
-
"
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
"
|
|
2653
|
+
"name": "getLabel",
|
|
2654
|
+
"parameters": [
|
|
2655
|
+
{
|
|
2656
|
+
"name": "name",
|
|
2657
|
+
"type": {
|
|
2658
|
+
"text": "string | ((rowData: any) => string)"
|
|
2659
|
+
}
|
|
2601
2660
|
}
|
|
2602
|
-
|
|
2661
|
+
]
|
|
2603
2662
|
},
|
|
2604
2663
|
{
|
|
2605
2664
|
"kind": "method",
|
|
2606
|
-
"name": "
|
|
2607
|
-
"
|
|
2608
|
-
|
|
2609
|
-
"
|
|
2665
|
+
"name": "getTemplate",
|
|
2666
|
+
"parameters": [
|
|
2667
|
+
{
|
|
2668
|
+
"name": "prefix",
|
|
2669
|
+
"type": {
|
|
2670
|
+
"text": "string"
|
|
2671
|
+
}
|
|
2610
2672
|
}
|
|
2611
|
-
|
|
2673
|
+
]
|
|
2612
2674
|
},
|
|
2613
2675
|
{
|
|
2614
2676
|
"kind": "field",
|
|
@@ -2722,730 +2784,258 @@
|
|
|
2722
2784
|
}
|
|
2723
2785
|
}
|
|
2724
2786
|
],
|
|
2787
|
+
"attributes": [
|
|
2788
|
+
{
|
|
2789
|
+
"name": "is-vertical",
|
|
2790
|
+
"type": {
|
|
2791
|
+
"text": "boolean"
|
|
2792
|
+
},
|
|
2793
|
+
"default": "false",
|
|
2794
|
+
"fieldName": "isVertical"
|
|
2795
|
+
},
|
|
2796
|
+
{
|
|
2797
|
+
"name": "add-default-actions",
|
|
2798
|
+
"type": {
|
|
2799
|
+
"text": "boolean"
|
|
2800
|
+
},
|
|
2801
|
+
"default": "true",
|
|
2802
|
+
"fieldName": "addDefaultActions"
|
|
2803
|
+
},
|
|
2804
|
+
{
|
|
2805
|
+
"name": "auto-close-on-action",
|
|
2806
|
+
"type": {
|
|
2807
|
+
"text": "boolean"
|
|
2808
|
+
},
|
|
2809
|
+
"default": "true",
|
|
2810
|
+
"fieldName": "autoCloseOnAction"
|
|
2811
|
+
},
|
|
2812
|
+
{
|
|
2813
|
+
"name": "name",
|
|
2814
|
+
"type": {
|
|
2815
|
+
"text": "string"
|
|
2816
|
+
},
|
|
2817
|
+
"default": "'Actions'",
|
|
2818
|
+
"fieldName": "name"
|
|
2819
|
+
},
|
|
2820
|
+
{
|
|
2821
|
+
"name": "open",
|
|
2822
|
+
"type": {
|
|
2823
|
+
"text": "boolean"
|
|
2824
|
+
},
|
|
2825
|
+
"default": "false",
|
|
2826
|
+
"fieldName": "open"
|
|
2827
|
+
},
|
|
2828
|
+
{
|
|
2829
|
+
"name": "buttonAppearance",
|
|
2830
|
+
"type": {
|
|
2831
|
+
"text": "string"
|
|
2832
|
+
},
|
|
2833
|
+
"fieldName": "buttonAppearance"
|
|
2834
|
+
},
|
|
2835
|
+
{
|
|
2836
|
+
"name": "hide-disabled",
|
|
2837
|
+
"type": {
|
|
2838
|
+
"text": "boolean"
|
|
2839
|
+
},
|
|
2840
|
+
"default": "false",
|
|
2841
|
+
"fieldName": "hideDisabled"
|
|
2842
|
+
},
|
|
2843
|
+
{
|
|
2844
|
+
"name": "hide-menu-single-option",
|
|
2845
|
+
"type": {
|
|
2846
|
+
"text": "boolean"
|
|
2847
|
+
},
|
|
2848
|
+
"default": "false",
|
|
2849
|
+
"fieldName": "hideMenuSingleOption"
|
|
2850
|
+
}
|
|
2851
|
+
],
|
|
2725
2852
|
"superclass": {
|
|
2726
2853
|
"name": "FoundationElement",
|
|
2727
2854
|
"package": "@microsoft/fast-foundation"
|
|
2728
2855
|
},
|
|
2729
|
-
"tagName": "%%prefix%%-
|
|
2856
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
2730
2857
|
"customElement": true
|
|
2731
2858
|
},
|
|
2732
2859
|
{
|
|
2733
2860
|
"kind": "variable",
|
|
2734
|
-
"name": "
|
|
2861
|
+
"name": "foundationActionsMenu",
|
|
2862
|
+
"description": "The Foundation Actions Menu",
|
|
2863
|
+
"privacy": "public"
|
|
2735
2864
|
}
|
|
2736
2865
|
],
|
|
2737
2866
|
"exports": [
|
|
2738
2867
|
{
|
|
2739
2868
|
"kind": "js",
|
|
2740
|
-
"name": "
|
|
2869
|
+
"name": "ActionsMenu",
|
|
2741
2870
|
"declaration": {
|
|
2742
|
-
"name": "
|
|
2743
|
-
"module": "src/
|
|
2871
|
+
"name": "ActionsMenu",
|
|
2872
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2744
2873
|
}
|
|
2745
2874
|
},
|
|
2746
2875
|
{
|
|
2747
2876
|
"kind": "js",
|
|
2748
|
-
"name": "
|
|
2877
|
+
"name": "foundationActionsMenu",
|
|
2749
2878
|
"declaration": {
|
|
2750
|
-
"name": "
|
|
2751
|
-
"module": "src/
|
|
2879
|
+
"name": "foundationActionsMenu",
|
|
2880
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2752
2881
|
}
|
|
2753
2882
|
}
|
|
2754
2883
|
]
|
|
2755
2884
|
},
|
|
2756
2885
|
{
|
|
2757
2886
|
"kind": "javascript-module",
|
|
2758
|
-
"path": "src/
|
|
2887
|
+
"path": "src/actions-menu/index.ts",
|
|
2759
2888
|
"declarations": [],
|
|
2760
2889
|
"exports": [
|
|
2761
2890
|
{
|
|
2762
2891
|
"kind": "js",
|
|
2763
|
-
"name": "
|
|
2764
|
-
"declaration": {
|
|
2765
|
-
"name": "AiIndicator",
|
|
2766
|
-
"module": "./ai-indicator"
|
|
2767
|
-
}
|
|
2768
|
-
},
|
|
2769
|
-
{
|
|
2770
|
-
"kind": "js",
|
|
2771
|
-
"name": "foundationAiIndicator",
|
|
2772
|
-
"declaration": {
|
|
2773
|
-
"name": "foundationAiIndicator",
|
|
2774
|
-
"module": "./ai-indicator"
|
|
2775
|
-
}
|
|
2776
|
-
},
|
|
2777
|
-
{
|
|
2778
|
-
"kind": "js",
|
|
2779
|
-
"name": "type",
|
|
2780
|
-
"declaration": {
|
|
2781
|
-
"name": "type",
|
|
2782
|
-
"module": "./ai-indicator"
|
|
2783
|
-
}
|
|
2784
|
-
},
|
|
2785
|
-
{
|
|
2786
|
-
"kind": "js",
|
|
2787
|
-
"name": "AIIndicatorState",
|
|
2892
|
+
"name": "*",
|
|
2788
2893
|
"declaration": {
|
|
2789
|
-
"name": "
|
|
2790
|
-
"
|
|
2894
|
+
"name": "*",
|
|
2895
|
+
"package": "./actions-menu.styles"
|
|
2791
2896
|
}
|
|
2792
2897
|
},
|
|
2793
2898
|
{
|
|
2794
2899
|
"kind": "js",
|
|
2795
|
-
"name": "
|
|
2900
|
+
"name": "*",
|
|
2796
2901
|
"declaration": {
|
|
2797
|
-
"name": "
|
|
2798
|
-
"
|
|
2902
|
+
"name": "*",
|
|
2903
|
+
"package": "./actions-menu.template"
|
|
2799
2904
|
}
|
|
2800
2905
|
},
|
|
2801
2906
|
{
|
|
2802
2907
|
"kind": "js",
|
|
2803
|
-
"name": "
|
|
2908
|
+
"name": "*",
|
|
2804
2909
|
"declaration": {
|
|
2805
|
-
"name": "
|
|
2806
|
-
"
|
|
2910
|
+
"name": "*",
|
|
2911
|
+
"package": "./actions-menu"
|
|
2807
2912
|
}
|
|
2808
2913
|
}
|
|
2809
2914
|
]
|
|
2810
2915
|
},
|
|
2811
2916
|
{
|
|
2812
2917
|
"kind": "javascript-module",
|
|
2813
|
-
"path": "src/
|
|
2918
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
2814
2919
|
"declarations": [
|
|
2815
2920
|
{
|
|
2816
|
-
"kind": "
|
|
2817
|
-
"name": "
|
|
2818
|
-
"
|
|
2819
|
-
"type": {
|
|
2820
|
-
"text": "ElementStyles"
|
|
2821
|
-
}
|
|
2822
|
-
},
|
|
2823
|
-
"parameters": [
|
|
2824
|
-
{
|
|
2825
|
-
"name": "context",
|
|
2826
|
-
"type": {
|
|
2827
|
-
"text": "ElementDefinitionContext"
|
|
2828
|
-
}
|
|
2829
|
-
},
|
|
2830
|
-
{
|
|
2831
|
-
"name": "definition",
|
|
2832
|
-
"type": {
|
|
2833
|
-
"text": "FoundationElementDefinition"
|
|
2834
|
-
}
|
|
2835
|
-
}
|
|
2836
|
-
]
|
|
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`"
|
|
2837
2924
|
}
|
|
2838
2925
|
],
|
|
2839
2926
|
"exports": [
|
|
2840
2927
|
{
|
|
2841
2928
|
"kind": "js",
|
|
2842
|
-
"name": "
|
|
2929
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2843
2930
|
"declaration": {
|
|
2844
|
-
"name": "
|
|
2845
|
-
"module": "src/
|
|
2931
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2932
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
2846
2933
|
}
|
|
2847
2934
|
}
|
|
2848
2935
|
]
|
|
2849
2936
|
},
|
|
2850
2937
|
{
|
|
2851
2938
|
"kind": "javascript-module",
|
|
2852
|
-
"path": "src/
|
|
2939
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
2853
2940
|
"declarations": [
|
|
2854
2941
|
{
|
|
2855
|
-
"kind": "
|
|
2856
|
-
"name": "
|
|
2857
|
-
"
|
|
2858
|
-
"
|
|
2859
|
-
"text": "ViewTemplate<Accordion>"
|
|
2860
|
-
}
|
|
2942
|
+
"kind": "variable",
|
|
2943
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2944
|
+
"type": {
|
|
2945
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
2861
2946
|
},
|
|
2862
|
-
"
|
|
2863
|
-
{
|
|
2864
|
-
"name": "context",
|
|
2865
|
-
"type": {
|
|
2866
|
-
"text": "ElementDefinitionContext"
|
|
2867
|
-
}
|
|
2868
|
-
},
|
|
2869
|
-
{
|
|
2870
|
-
"name": "definition",
|
|
2871
|
-
"type": {
|
|
2872
|
-
"text": "FoundationElementDefinition"
|
|
2873
|
-
}
|
|
2874
|
-
}
|
|
2875
|
-
]
|
|
2947
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
2876
2948
|
}
|
|
2877
2949
|
],
|
|
2878
2950
|
"exports": [
|
|
2879
2951
|
{
|
|
2880
2952
|
"kind": "js",
|
|
2881
|
-
"name": "
|
|
2953
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2882
2954
|
"declaration": {
|
|
2883
|
-
"name": "
|
|
2884
|
-
"module": "src/
|
|
2955
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2956
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
2885
2957
|
}
|
|
2886
2958
|
}
|
|
2887
2959
|
]
|
|
2888
2960
|
},
|
|
2889
2961
|
{
|
|
2890
2962
|
"kind": "javascript-module",
|
|
2891
|
-
"path": "src/
|
|
2963
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
2892
2964
|
"declarations": [
|
|
2893
2965
|
{
|
|
2894
2966
|
"kind": "class",
|
|
2895
|
-
"description": "",
|
|
2896
|
-
"name": "
|
|
2897
|
-
"
|
|
2898
|
-
"name": "FASTAccordion",
|
|
2899
|
-
"package": "@microsoft/fast-foundation"
|
|
2900
|
-
},
|
|
2901
|
-
"tagName": "%%prefix%%-accordion",
|
|
2902
|
-
"customElement": true,
|
|
2903
|
-
"attributes": [
|
|
2967
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2968
|
+
"name": "AiCriteriaSearch",
|
|
2969
|
+
"members": [
|
|
2904
2970
|
{
|
|
2905
|
-
"
|
|
2971
|
+
"kind": "field",
|
|
2972
|
+
"name": "providerRegistry",
|
|
2906
2973
|
"type": {
|
|
2907
|
-
"text": "
|
|
2908
|
-
},
|
|
2909
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2910
|
-
"fieldName": "expandmode",
|
|
2911
|
-
"inheritedFrom": {
|
|
2912
|
-
"name": "Accordion",
|
|
2913
|
-
"module": "src/accordion/accordion.ts"
|
|
2974
|
+
"text": "AIProviderRegistry"
|
|
2914
2975
|
}
|
|
2915
|
-
}
|
|
2916
|
-
],
|
|
2917
|
-
"members": [
|
|
2976
|
+
},
|
|
2918
2977
|
{
|
|
2919
2978
|
"kind": "field",
|
|
2920
|
-
"name": "
|
|
2979
|
+
"name": "placeholder",
|
|
2921
2980
|
"type": {
|
|
2922
|
-
"text": "
|
|
2981
|
+
"text": "string"
|
|
2923
2982
|
},
|
|
2924
|
-
"
|
|
2925
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2926
|
-
"inheritedFrom": {
|
|
2927
|
-
"name": "Accordion",
|
|
2928
|
-
"module": "src/accordion/accordion.ts"
|
|
2929
|
-
}
|
|
2983
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
2930
2984
|
},
|
|
2931
2985
|
{
|
|
2932
2986
|
"kind": "field",
|
|
2933
|
-
"name": "
|
|
2987
|
+
"name": "disabled",
|
|
2934
2988
|
"type": {
|
|
2935
|
-
"text": "
|
|
2936
|
-
},
|
|
2937
|
-
"privacy": "private",
|
|
2938
|
-
"inheritedFrom": {
|
|
2939
|
-
"name": "Accordion",
|
|
2940
|
-
"module": "src/accordion/accordion.ts"
|
|
2989
|
+
"text": "boolean"
|
|
2941
2990
|
}
|
|
2942
2991
|
},
|
|
2943
2992
|
{
|
|
2944
2993
|
"kind": "field",
|
|
2945
|
-
"name": "
|
|
2994
|
+
"name": "inputValue",
|
|
2946
2995
|
"type": {
|
|
2947
|
-
"text": "
|
|
2996
|
+
"text": "string"
|
|
2948
2997
|
},
|
|
2949
|
-
"
|
|
2950
|
-
"default": "0",
|
|
2951
|
-
"inheritedFrom": {
|
|
2952
|
-
"name": "Accordion",
|
|
2953
|
-
"module": "src/accordion/accordion.ts"
|
|
2954
|
-
}
|
|
2998
|
+
"default": "''"
|
|
2955
2999
|
},
|
|
2956
3000
|
{
|
|
2957
3001
|
"kind": "field",
|
|
2958
|
-
"name": "
|
|
3002
|
+
"name": "isInterpreting",
|
|
2959
3003
|
"type": {
|
|
2960
|
-
"text": "
|
|
3004
|
+
"text": "boolean"
|
|
2961
3005
|
},
|
|
2962
|
-
"
|
|
2963
|
-
"inheritedFrom": {
|
|
2964
|
-
"name": "Accordion",
|
|
2965
|
-
"module": "src/accordion/accordion.ts"
|
|
2966
|
-
}
|
|
3006
|
+
"default": "false"
|
|
2967
3007
|
},
|
|
2968
3008
|
{
|
|
2969
3009
|
"kind": "field",
|
|
2970
|
-
"name": "
|
|
2971
|
-
"
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
}
|
|
3010
|
+
"name": "lastValidCriteria",
|
|
3011
|
+
"type": {
|
|
3012
|
+
"text": "string | null"
|
|
3013
|
+
},
|
|
3014
|
+
"default": "null"
|
|
2976
3015
|
},
|
|
2977
3016
|
{
|
|
2978
|
-
"kind": "
|
|
2979
|
-
"name": "
|
|
2980
|
-
"
|
|
2981
|
-
|
|
2982
|
-
"type": {
|
|
2983
|
-
"text": "AccordionItem | null"
|
|
2984
|
-
}
|
|
3017
|
+
"kind": "field",
|
|
3018
|
+
"name": "activeGroups",
|
|
3019
|
+
"type": {
|
|
3020
|
+
"text": "CriteriaGroup[]"
|
|
2985
3021
|
},
|
|
2986
|
-
"
|
|
2987
|
-
"name": "Accordion",
|
|
2988
|
-
"module": "src/accordion/accordion.ts"
|
|
2989
|
-
}
|
|
3022
|
+
"default": "[]"
|
|
2990
3023
|
},
|
|
2991
3024
|
{
|
|
2992
3025
|
"kind": "field",
|
|
2993
|
-
"name": "
|
|
2994
|
-
"
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
}
|
|
3026
|
+
"name": "showingChips",
|
|
3027
|
+
"type": {
|
|
3028
|
+
"text": "boolean"
|
|
3029
|
+
},
|
|
3030
|
+
"default": "false"
|
|
2999
3031
|
},
|
|
3000
3032
|
{
|
|
3001
|
-
"kind": "
|
|
3002
|
-
"name": "
|
|
3003
|
-
"
|
|
3004
|
-
|
|
3005
|
-
"type": {
|
|
3006
|
-
"text": "void"
|
|
3007
|
-
}
|
|
3033
|
+
"kind": "field",
|
|
3034
|
+
"name": "fieldMetadata",
|
|
3035
|
+
"type": {
|
|
3036
|
+
"text": "MetadataDetail[] | string[]"
|
|
3008
3037
|
},
|
|
3009
|
-
"
|
|
3010
|
-
"name": "Accordion",
|
|
3011
|
-
"module": "src/accordion/accordion.ts"
|
|
3012
|
-
}
|
|
3013
|
-
},
|
|
3014
|
-
{
|
|
3015
|
-
"kind": "field",
|
|
3016
|
-
"name": "removeItemListeners",
|
|
3017
|
-
"privacy": "private",
|
|
3018
|
-
"inheritedFrom": {
|
|
3019
|
-
"name": "Accordion",
|
|
3020
|
-
"module": "src/accordion/accordion.ts"
|
|
3021
|
-
}
|
|
3022
|
-
},
|
|
3023
|
-
{
|
|
3024
|
-
"kind": "field",
|
|
3025
|
-
"name": "activeItemChange",
|
|
3026
|
-
"privacy": "private",
|
|
3027
|
-
"inheritedFrom": {
|
|
3028
|
-
"name": "Accordion",
|
|
3029
|
-
"module": "src/accordion/accordion.ts"
|
|
3030
|
-
}
|
|
3031
|
-
},
|
|
3032
|
-
{
|
|
3033
|
-
"kind": "method",
|
|
3034
|
-
"name": "getItemIds",
|
|
3035
|
-
"privacy": "private",
|
|
3036
|
-
"return": {
|
|
3037
|
-
"type": {
|
|
3038
|
-
"text": "Array<string | null>"
|
|
3039
|
-
}
|
|
3040
|
-
},
|
|
3041
|
-
"inheritedFrom": {
|
|
3042
|
-
"name": "Accordion",
|
|
3043
|
-
"module": "src/accordion/accordion.ts"
|
|
3044
|
-
}
|
|
3045
|
-
},
|
|
3046
|
-
{
|
|
3047
|
-
"kind": "method",
|
|
3048
|
-
"name": "isSingleExpandMode",
|
|
3049
|
-
"privacy": "private",
|
|
3050
|
-
"return": {
|
|
3051
|
-
"type": {
|
|
3052
|
-
"text": "boolean"
|
|
3053
|
-
}
|
|
3054
|
-
},
|
|
3055
|
-
"inheritedFrom": {
|
|
3056
|
-
"name": "Accordion",
|
|
3057
|
-
"module": "src/accordion/accordion.ts"
|
|
3058
|
-
}
|
|
3059
|
-
},
|
|
3060
|
-
{
|
|
3061
|
-
"kind": "field",
|
|
3062
|
-
"name": "handleItemKeyDown",
|
|
3063
|
-
"privacy": "private",
|
|
3064
|
-
"inheritedFrom": {
|
|
3065
|
-
"name": "Accordion",
|
|
3066
|
-
"module": "src/accordion/accordion.ts"
|
|
3067
|
-
}
|
|
3068
|
-
},
|
|
3069
|
-
{
|
|
3070
|
-
"kind": "field",
|
|
3071
|
-
"name": "handleItemFocus",
|
|
3072
|
-
"privacy": "private",
|
|
3073
|
-
"inheritedFrom": {
|
|
3074
|
-
"name": "Accordion",
|
|
3075
|
-
"module": "src/accordion/accordion.ts"
|
|
3076
|
-
}
|
|
3077
|
-
},
|
|
3078
|
-
{
|
|
3079
|
-
"kind": "method",
|
|
3080
|
-
"name": "adjust",
|
|
3081
|
-
"privacy": "private",
|
|
3082
|
-
"return": {
|
|
3083
|
-
"type": {
|
|
3084
|
-
"text": "void"
|
|
3085
|
-
}
|
|
3086
|
-
},
|
|
3087
|
-
"parameters": [
|
|
3088
|
-
{
|
|
3089
|
-
"name": "adjustment",
|
|
3090
|
-
"type": {
|
|
3091
|
-
"text": "number"
|
|
3092
|
-
}
|
|
3093
|
-
}
|
|
3094
|
-
],
|
|
3095
|
-
"inheritedFrom": {
|
|
3096
|
-
"name": "Accordion",
|
|
3097
|
-
"module": "src/accordion/accordion.ts"
|
|
3098
|
-
}
|
|
3099
|
-
},
|
|
3100
|
-
{
|
|
3101
|
-
"kind": "method",
|
|
3102
|
-
"name": "focusItem",
|
|
3103
|
-
"privacy": "private",
|
|
3104
|
-
"return": {
|
|
3105
|
-
"type": {
|
|
3106
|
-
"text": "void"
|
|
3107
|
-
}
|
|
3108
|
-
},
|
|
3109
|
-
"inheritedFrom": {
|
|
3110
|
-
"name": "Accordion",
|
|
3111
|
-
"module": "src/accordion/accordion.ts"
|
|
3112
|
-
}
|
|
3113
|
-
},
|
|
3114
|
-
{
|
|
3115
|
-
"kind": "field",
|
|
3116
|
-
"name": "_presentation",
|
|
3117
|
-
"type": {
|
|
3118
|
-
"text": "ComponentPresentation | null | undefined"
|
|
3119
|
-
},
|
|
3120
|
-
"privacy": "private",
|
|
3121
|
-
"default": "void 0",
|
|
3122
|
-
"inheritedFrom": {
|
|
3123
|
-
"name": "FoundationElement",
|
|
3124
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
3125
|
-
}
|
|
3126
|
-
},
|
|
3127
|
-
{
|
|
3128
|
-
"kind": "field",
|
|
3129
|
-
"name": "$presentation",
|
|
3130
|
-
"type": {
|
|
3131
|
-
"text": "ComponentPresentation | null"
|
|
3132
|
-
},
|
|
3133
|
-
"privacy": "public",
|
|
3134
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
3135
|
-
"inheritedFrom": {
|
|
3136
|
-
"name": "FoundationElement",
|
|
3137
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
3138
|
-
}
|
|
3139
|
-
},
|
|
3140
|
-
{
|
|
3141
|
-
"kind": "field",
|
|
3142
|
-
"name": "template",
|
|
3143
|
-
"type": {
|
|
3144
|
-
"text": "ElementViewTemplate | void | null"
|
|
3145
|
-
},
|
|
3146
|
-
"privacy": "public",
|
|
3147
|
-
"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.",
|
|
3148
|
-
"inheritedFrom": {
|
|
3149
|
-
"name": "FoundationElement",
|
|
3150
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
3151
|
-
}
|
|
3152
|
-
},
|
|
3153
|
-
{
|
|
3154
|
-
"kind": "method",
|
|
3155
|
-
"name": "templateChanged",
|
|
3156
|
-
"privacy": "protected",
|
|
3157
|
-
"return": {
|
|
3158
|
-
"type": {
|
|
3159
|
-
"text": "void"
|
|
3160
|
-
}
|
|
3161
|
-
},
|
|
3162
|
-
"inheritedFrom": {
|
|
3163
|
-
"name": "FoundationElement",
|
|
3164
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
3165
|
-
}
|
|
3166
|
-
},
|
|
3167
|
-
{
|
|
3168
|
-
"kind": "field",
|
|
3169
|
-
"name": "styles",
|
|
3170
|
-
"type": {
|
|
3171
|
-
"text": "ElementStyles | void | null"
|
|
3172
|
-
},
|
|
3173
|
-
"privacy": "public",
|
|
3174
|
-
"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.",
|
|
3175
|
-
"inheritedFrom": {
|
|
3176
|
-
"name": "FoundationElement",
|
|
3177
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
3178
|
-
}
|
|
3179
|
-
},
|
|
3180
|
-
{
|
|
3181
|
-
"kind": "method",
|
|
3182
|
-
"name": "stylesChanged",
|
|
3183
|
-
"privacy": "protected",
|
|
3184
|
-
"return": {
|
|
3185
|
-
"type": {
|
|
3186
|
-
"text": "void"
|
|
3187
|
-
}
|
|
3188
|
-
},
|
|
3189
|
-
"inheritedFrom": {
|
|
3190
|
-
"name": "FoundationElement",
|
|
3191
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
3192
|
-
}
|
|
3193
|
-
},
|
|
3194
|
-
{
|
|
3195
|
-
"kind": "method",
|
|
3196
|
-
"name": "compose",
|
|
3197
|
-
"privacy": "public",
|
|
3198
|
-
"static": true,
|
|
3199
|
-
"return": {
|
|
3200
|
-
"type": {
|
|
3201
|
-
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
3202
|
-
}
|
|
3203
|
-
},
|
|
3204
|
-
"parameters": [
|
|
3205
|
-
{
|
|
3206
|
-
"name": "this",
|
|
3207
|
-
"type": {
|
|
3208
|
-
"text": "K"
|
|
3209
|
-
}
|
|
3210
|
-
},
|
|
3211
|
-
{
|
|
3212
|
-
"name": "elementDefinition",
|
|
3213
|
-
"type": {
|
|
3214
|
-
"text": "T"
|
|
3215
|
-
},
|
|
3216
|
-
"description": "The definition of the element to create the registry\nfunction for."
|
|
3217
|
-
}
|
|
3218
|
-
],
|
|
3219
|
-
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
3220
|
-
"inheritedFrom": {
|
|
3221
|
-
"name": "FoundationElement",
|
|
3222
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
3223
|
-
}
|
|
3224
|
-
}
|
|
3225
|
-
],
|
|
3226
|
-
"events": [
|
|
3227
|
-
{
|
|
3228
|
-
"description": "Fires a custom 'change' event when the active item changes",
|
|
3229
|
-
"name": "change",
|
|
3230
|
-
"inheritedFrom": {
|
|
3231
|
-
"name": "Accordion",
|
|
3232
|
-
"module": "src/accordion/accordion.ts"
|
|
3233
|
-
}
|
|
3234
|
-
}
|
|
3235
|
-
]
|
|
3236
|
-
},
|
|
3237
|
-
{
|
|
3238
|
-
"kind": "variable",
|
|
3239
|
-
"name": "foundationAccordionShadowOptions",
|
|
3240
|
-
"type": {
|
|
3241
|
-
"text": "ShadowRootInit"
|
|
3242
|
-
},
|
|
3243
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
3244
|
-
},
|
|
3245
|
-
{
|
|
3246
|
-
"kind": "variable",
|
|
3247
|
-
"name": "defaultAccordionConfig",
|
|
3248
|
-
"type": {
|
|
3249
|
-
"text": "object"
|
|
3250
|
-
},
|
|
3251
|
-
"default": "{}"
|
|
3252
|
-
},
|
|
3253
|
-
{
|
|
3254
|
-
"kind": "variable",
|
|
3255
|
-
"name": "foundationAccordion",
|
|
3256
|
-
"description": "The Foundation Accordion",
|
|
3257
|
-
"privacy": "public"
|
|
3258
|
-
}
|
|
3259
|
-
],
|
|
3260
|
-
"exports": [
|
|
3261
|
-
{
|
|
3262
|
-
"kind": "js",
|
|
3263
|
-
"name": "Accordion",
|
|
3264
|
-
"declaration": {
|
|
3265
|
-
"name": "Accordion",
|
|
3266
|
-
"module": "src/accordion/accordion.ts"
|
|
3267
|
-
}
|
|
3268
|
-
},
|
|
3269
|
-
{
|
|
3270
|
-
"kind": "js",
|
|
3271
|
-
"name": "foundationAccordionShadowOptions",
|
|
3272
|
-
"declaration": {
|
|
3273
|
-
"name": "foundationAccordionShadowOptions",
|
|
3274
|
-
"module": "src/accordion/accordion.ts"
|
|
3275
|
-
}
|
|
3276
|
-
},
|
|
3277
|
-
{
|
|
3278
|
-
"kind": "js",
|
|
3279
|
-
"name": "defaultAccordionConfig",
|
|
3280
|
-
"declaration": {
|
|
3281
|
-
"name": "defaultAccordionConfig",
|
|
3282
|
-
"module": "src/accordion/accordion.ts"
|
|
3283
|
-
}
|
|
3284
|
-
},
|
|
3285
|
-
{
|
|
3286
|
-
"kind": "js",
|
|
3287
|
-
"name": "foundationAccordion",
|
|
3288
|
-
"declaration": {
|
|
3289
|
-
"name": "foundationAccordion",
|
|
3290
|
-
"module": "src/accordion/accordion.ts"
|
|
3291
|
-
}
|
|
3292
|
-
}
|
|
3293
|
-
]
|
|
3294
|
-
},
|
|
3295
|
-
{
|
|
3296
|
-
"kind": "javascript-module",
|
|
3297
|
-
"path": "src/accordion/index.ts",
|
|
3298
|
-
"declarations": [],
|
|
3299
|
-
"exports": [
|
|
3300
|
-
{
|
|
3301
|
-
"kind": "js",
|
|
3302
|
-
"name": "*",
|
|
3303
|
-
"declaration": {
|
|
3304
|
-
"name": "*",
|
|
3305
|
-
"package": "./accordion.template"
|
|
3306
|
-
}
|
|
3307
|
-
},
|
|
3308
|
-
{
|
|
3309
|
-
"kind": "js",
|
|
3310
|
-
"name": "*",
|
|
3311
|
-
"declaration": {
|
|
3312
|
-
"name": "*",
|
|
3313
|
-
"package": "./accordion.styles"
|
|
3314
|
-
}
|
|
3315
|
-
},
|
|
3316
|
-
{
|
|
3317
|
-
"kind": "js",
|
|
3318
|
-
"name": "*",
|
|
3319
|
-
"declaration": {
|
|
3320
|
-
"name": "*",
|
|
3321
|
-
"package": "./accordion"
|
|
3322
|
-
}
|
|
3323
|
-
}
|
|
3324
|
-
]
|
|
3325
|
-
},
|
|
3326
|
-
{
|
|
3327
|
-
"kind": "javascript-module",
|
|
3328
|
-
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
3329
|
-
"declarations": [
|
|
3330
|
-
{
|
|
3331
|
-
"kind": "variable",
|
|
3332
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3333
|
-
"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`"
|
|
3334
|
-
}
|
|
3335
|
-
],
|
|
3336
|
-
"exports": [
|
|
3337
|
-
{
|
|
3338
|
-
"kind": "js",
|
|
3339
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3340
|
-
"declaration": {
|
|
3341
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3342
|
-
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
3343
|
-
}
|
|
3344
|
-
}
|
|
3345
|
-
]
|
|
3346
|
-
},
|
|
3347
|
-
{
|
|
3348
|
-
"kind": "javascript-module",
|
|
3349
|
-
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
3350
|
-
"declarations": [
|
|
3351
|
-
{
|
|
3352
|
-
"kind": "variable",
|
|
3353
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
3354
|
-
"type": {
|
|
3355
|
-
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
3356
|
-
},
|
|
3357
|
-
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
3358
|
-
}
|
|
3359
|
-
],
|
|
3360
|
-
"exports": [
|
|
3361
|
-
{
|
|
3362
|
-
"kind": "js",
|
|
3363
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
3364
|
-
"declaration": {
|
|
3365
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
3366
|
-
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
3367
|
-
}
|
|
3368
|
-
}
|
|
3369
|
-
]
|
|
3370
|
-
},
|
|
3371
|
-
{
|
|
3372
|
-
"kind": "javascript-module",
|
|
3373
|
-
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
3374
|
-
"declarations": [
|
|
3375
|
-
{
|
|
3376
|
-
"kind": "class",
|
|
3377
|
-
"description": "Natural-language criteria search input with AI interpretation.",
|
|
3378
|
-
"name": "AiCriteriaSearch",
|
|
3379
|
-
"members": [
|
|
3380
|
-
{
|
|
3381
|
-
"kind": "field",
|
|
3382
|
-
"name": "providerRegistry",
|
|
3383
|
-
"type": {
|
|
3384
|
-
"text": "AIProviderRegistry"
|
|
3385
|
-
}
|
|
3386
|
-
},
|
|
3387
|
-
{
|
|
3388
|
-
"kind": "field",
|
|
3389
|
-
"name": "placeholder",
|
|
3390
|
-
"type": {
|
|
3391
|
-
"text": "string"
|
|
3392
|
-
},
|
|
3393
|
-
"default": "'Describe your search criteria in natural language...'"
|
|
3394
|
-
},
|
|
3395
|
-
{
|
|
3396
|
-
"kind": "field",
|
|
3397
|
-
"name": "disabled",
|
|
3398
|
-
"type": {
|
|
3399
|
-
"text": "boolean"
|
|
3400
|
-
}
|
|
3401
|
-
},
|
|
3402
|
-
{
|
|
3403
|
-
"kind": "field",
|
|
3404
|
-
"name": "inputValue",
|
|
3405
|
-
"type": {
|
|
3406
|
-
"text": "string"
|
|
3407
|
-
},
|
|
3408
|
-
"default": "''"
|
|
3409
|
-
},
|
|
3410
|
-
{
|
|
3411
|
-
"kind": "field",
|
|
3412
|
-
"name": "isInterpreting",
|
|
3413
|
-
"type": {
|
|
3414
|
-
"text": "boolean"
|
|
3415
|
-
},
|
|
3416
|
-
"default": "false"
|
|
3417
|
-
},
|
|
3418
|
-
{
|
|
3419
|
-
"kind": "field",
|
|
3420
|
-
"name": "lastValidCriteria",
|
|
3421
|
-
"type": {
|
|
3422
|
-
"text": "string | null"
|
|
3423
|
-
},
|
|
3424
|
-
"default": "null"
|
|
3425
|
-
},
|
|
3426
|
-
{
|
|
3427
|
-
"kind": "field",
|
|
3428
|
-
"name": "activeGroups",
|
|
3429
|
-
"type": {
|
|
3430
|
-
"text": "CriteriaGroup[]"
|
|
3431
|
-
},
|
|
3432
|
-
"default": "[]"
|
|
3433
|
-
},
|
|
3434
|
-
{
|
|
3435
|
-
"kind": "field",
|
|
3436
|
-
"name": "showingChips",
|
|
3437
|
-
"type": {
|
|
3438
|
-
"text": "boolean"
|
|
3439
|
-
},
|
|
3440
|
-
"default": "false"
|
|
3441
|
-
},
|
|
3442
|
-
{
|
|
3443
|
-
"kind": "field",
|
|
3444
|
-
"name": "fieldMetadata",
|
|
3445
|
-
"type": {
|
|
3446
|
-
"text": "MetadataDetail[] | string[]"
|
|
3447
|
-
},
|
|
3448
|
-
"default": "[]"
|
|
3038
|
+
"default": "[]"
|
|
3449
3039
|
},
|
|
3450
3040
|
{
|
|
3451
3041
|
"kind": "field",
|
|
@@ -3934,42 +3524,11 @@
|
|
|
3934
3524
|
},
|
|
3935
3525
|
{
|
|
3936
3526
|
"kind": "javascript-module",
|
|
3937
|
-
"path": "src/
|
|
3938
|
-
"declarations": [],
|
|
3939
|
-
"exports": [
|
|
3940
|
-
{
|
|
3941
|
-
"kind": "js",
|
|
3942
|
-
"name": "*",
|
|
3943
|
-
"declaration": {
|
|
3944
|
-
"name": "*",
|
|
3945
|
-
"package": "./styles"
|
|
3946
|
-
}
|
|
3947
|
-
},
|
|
3948
|
-
{
|
|
3949
|
-
"kind": "js",
|
|
3950
|
-
"name": "*",
|
|
3951
|
-
"declaration": {
|
|
3952
|
-
"name": "*",
|
|
3953
|
-
"package": "./tokens"
|
|
3954
|
-
}
|
|
3955
|
-
},
|
|
3956
|
-
{
|
|
3957
|
-
"kind": "js",
|
|
3958
|
-
"name": "*",
|
|
3959
|
-
"declaration": {
|
|
3960
|
-
"name": "*",
|
|
3961
|
-
"package": "./values"
|
|
3962
|
-
}
|
|
3963
|
-
}
|
|
3964
|
-
]
|
|
3965
|
-
},
|
|
3966
|
-
{
|
|
3967
|
-
"kind": "javascript-module",
|
|
3968
|
-
"path": "src/anchor/anchor.styles.ts",
|
|
3527
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
3969
3528
|
"declarations": [
|
|
3970
3529
|
{
|
|
3971
3530
|
"kind": "function",
|
|
3972
|
-
"name": "
|
|
3531
|
+
"name": "foundationAiIndicatorStyles",
|
|
3973
3532
|
"return": {
|
|
3974
3533
|
"type": {
|
|
3975
3534
|
"text": "ElementStyles"
|
|
@@ -3994,61 +3553,510 @@
|
|
|
3994
3553
|
"exports": [
|
|
3995
3554
|
{
|
|
3996
3555
|
"kind": "js",
|
|
3997
|
-
"name": "
|
|
3556
|
+
"name": "foundationAiIndicatorStyles",
|
|
3998
3557
|
"declaration": {
|
|
3999
|
-
"name": "
|
|
4000
|
-
"module": "src/
|
|
3558
|
+
"name": "foundationAiIndicatorStyles",
|
|
3559
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
4001
3560
|
}
|
|
4002
3561
|
}
|
|
4003
3562
|
]
|
|
4004
3563
|
},
|
|
4005
3564
|
{
|
|
4006
3565
|
"kind": "javascript-module",
|
|
4007
|
-
"path": "src/
|
|
3566
|
+
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
4008
3567
|
"declarations": [
|
|
4009
3568
|
{
|
|
4010
|
-
"kind": "
|
|
4011
|
-
"name": "
|
|
4012
|
-
"
|
|
4013
|
-
"
|
|
4014
|
-
"text": "ViewTemplate<Anchor>"
|
|
4015
|
-
}
|
|
3569
|
+
"kind": "variable",
|
|
3570
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3571
|
+
"type": {
|
|
3572
|
+
"text": "ViewTemplate<AiIndicator>"
|
|
4016
3573
|
},
|
|
4017
|
-
"
|
|
4018
|
-
{
|
|
4019
|
-
"name": "context",
|
|
4020
|
-
"type": {
|
|
4021
|
-
"text": "ElementDefinitionContext"
|
|
4022
|
-
}
|
|
4023
|
-
},
|
|
4024
|
-
{
|
|
4025
|
-
"name": "definition",
|
|
4026
|
-
"type": {
|
|
4027
|
-
"text": "FoundationElementDefinition"
|
|
4028
|
-
}
|
|
4029
|
-
}
|
|
4030
|
-
]
|
|
3574
|
+
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
4031
3575
|
}
|
|
4032
3576
|
],
|
|
4033
3577
|
"exports": [
|
|
4034
3578
|
{
|
|
4035
3579
|
"kind": "js",
|
|
4036
|
-
"name": "
|
|
3580
|
+
"name": "foundationAiIndicatorTemplate",
|
|
4037
3581
|
"declaration": {
|
|
4038
|
-
"name": "
|
|
4039
|
-
"module": "src/
|
|
3582
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3583
|
+
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
4040
3584
|
}
|
|
4041
3585
|
}
|
|
4042
3586
|
]
|
|
4043
3587
|
},
|
|
4044
3588
|
{
|
|
4045
3589
|
"kind": "javascript-module",
|
|
4046
|
-
"path": "src/
|
|
3590
|
+
"path": "src/ai-indicator/ai-indicator.ts",
|
|
4047
3591
|
"declarations": [
|
|
4048
3592
|
{
|
|
4049
3593
|
"kind": "class",
|
|
4050
3594
|
"description": "",
|
|
4051
|
-
"name": "
|
|
3595
|
+
"name": "AiIndicator",
|
|
3596
|
+
"members": [
|
|
3597
|
+
{
|
|
3598
|
+
"kind": "field",
|
|
3599
|
+
"name": "providerRegistry",
|
|
3600
|
+
"type": {
|
|
3601
|
+
"text": "AIProviderRegistry"
|
|
3602
|
+
}
|
|
3603
|
+
},
|
|
3604
|
+
{
|
|
3605
|
+
"kind": "field",
|
|
3606
|
+
"name": "aiProvider",
|
|
3607
|
+
"type": {
|
|
3608
|
+
"text": "AIProvider | undefined"
|
|
3609
|
+
},
|
|
3610
|
+
"privacy": "private",
|
|
3611
|
+
"description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
|
|
3612
|
+
"readonly": true
|
|
3613
|
+
},
|
|
3614
|
+
{
|
|
3615
|
+
"kind": "field",
|
|
3616
|
+
"name": "status",
|
|
3617
|
+
"type": {
|
|
3618
|
+
"text": "AIStatus | null"
|
|
3619
|
+
},
|
|
3620
|
+
"default": "null"
|
|
3621
|
+
},
|
|
3622
|
+
{
|
|
3623
|
+
"kind": "field",
|
|
3624
|
+
"name": "open",
|
|
3625
|
+
"type": {
|
|
3626
|
+
"text": "boolean"
|
|
3627
|
+
},
|
|
3628
|
+
"default": "false"
|
|
3629
|
+
},
|
|
3630
|
+
{
|
|
3631
|
+
"kind": "field",
|
|
3632
|
+
"name": "state",
|
|
3633
|
+
"type": {
|
|
3634
|
+
"text": "AIIndicatorState"
|
|
3635
|
+
},
|
|
3636
|
+
"default": "'none'"
|
|
3637
|
+
},
|
|
3638
|
+
{
|
|
3639
|
+
"kind": "field",
|
|
3640
|
+
"name": "isInstalling",
|
|
3641
|
+
"type": {
|
|
3642
|
+
"text": "boolean"
|
|
3643
|
+
},
|
|
3644
|
+
"default": "false"
|
|
3645
|
+
},
|
|
3646
|
+
{
|
|
3647
|
+
"kind": "field",
|
|
3648
|
+
"name": "pollTimer",
|
|
3649
|
+
"type": {
|
|
3650
|
+
"text": "ReturnType<typeof setInterval> | null"
|
|
3651
|
+
},
|
|
3652
|
+
"privacy": "private",
|
|
3653
|
+
"default": "null"
|
|
3654
|
+
},
|
|
3655
|
+
{
|
|
3656
|
+
"kind": "field",
|
|
3657
|
+
"name": "clickOutside",
|
|
3658
|
+
"privacy": "private"
|
|
3659
|
+
},
|
|
3660
|
+
{
|
|
3661
|
+
"kind": "field",
|
|
3662
|
+
"name": "chromeStatusLabel",
|
|
3663
|
+
"type": {
|
|
3664
|
+
"text": "string | null"
|
|
3665
|
+
},
|
|
3666
|
+
"readonly": true
|
|
3667
|
+
},
|
|
3668
|
+
{
|
|
3669
|
+
"kind": "field",
|
|
3670
|
+
"name": "canInstall",
|
|
3671
|
+
"type": {
|
|
3672
|
+
"text": "boolean"
|
|
3673
|
+
},
|
|
3674
|
+
"readonly": true
|
|
3675
|
+
},
|
|
3676
|
+
{
|
|
3677
|
+
"kind": "field",
|
|
3678
|
+
"name": "isDownloading",
|
|
3679
|
+
"type": {
|
|
3680
|
+
"text": "boolean"
|
|
3681
|
+
},
|
|
3682
|
+
"readonly": true
|
|
3683
|
+
},
|
|
3684
|
+
{
|
|
3685
|
+
"kind": "method",
|
|
3686
|
+
"name": "openChanged",
|
|
3687
|
+
"return": {
|
|
3688
|
+
"type": {
|
|
3689
|
+
"text": "void"
|
|
3690
|
+
}
|
|
3691
|
+
}
|
|
3692
|
+
},
|
|
3693
|
+
{
|
|
3694
|
+
"kind": "method",
|
|
3695
|
+
"name": "handleClickOutside",
|
|
3696
|
+
"privacy": "private",
|
|
3697
|
+
"parameters": [
|
|
3698
|
+
{
|
|
3699
|
+
"name": "event",
|
|
3700
|
+
"type": {
|
|
3701
|
+
"text": "MouseEvent"
|
|
3702
|
+
}
|
|
3703
|
+
}
|
|
3704
|
+
]
|
|
3705
|
+
},
|
|
3706
|
+
{
|
|
3707
|
+
"kind": "method",
|
|
3708
|
+
"name": "toggleDropdown"
|
|
3709
|
+
},
|
|
3710
|
+
{
|
|
3711
|
+
"kind": "method",
|
|
3712
|
+
"name": "refreshStatus",
|
|
3713
|
+
"return": {
|
|
3714
|
+
"type": {
|
|
3715
|
+
"text": "Promise<void>"
|
|
3716
|
+
}
|
|
3717
|
+
}
|
|
3718
|
+
},
|
|
3719
|
+
{
|
|
3720
|
+
"kind": "method",
|
|
3721
|
+
"name": "deriveState",
|
|
3722
|
+
"privacy": "private",
|
|
3723
|
+
"return": {
|
|
3724
|
+
"type": {
|
|
3725
|
+
"text": "AIIndicatorState"
|
|
3726
|
+
}
|
|
3727
|
+
},
|
|
3728
|
+
"parameters": [
|
|
3729
|
+
{
|
|
3730
|
+
"name": "s",
|
|
3731
|
+
"type": {
|
|
3732
|
+
"text": "AIStatus | null"
|
|
3733
|
+
}
|
|
3734
|
+
}
|
|
3735
|
+
]
|
|
3736
|
+
},
|
|
3737
|
+
{
|
|
3738
|
+
"kind": "method",
|
|
3739
|
+
"name": "maybeStartPolling",
|
|
3740
|
+
"privacy": "private",
|
|
3741
|
+
"return": {
|
|
3742
|
+
"type": {
|
|
3743
|
+
"text": "void"
|
|
3744
|
+
}
|
|
3745
|
+
}
|
|
3746
|
+
},
|
|
3747
|
+
{
|
|
3748
|
+
"kind": "method",
|
|
3749
|
+
"name": "startPolling",
|
|
3750
|
+
"privacy": "private",
|
|
3751
|
+
"return": {
|
|
3752
|
+
"type": {
|
|
3753
|
+
"text": "void"
|
|
3754
|
+
}
|
|
3755
|
+
}
|
|
3756
|
+
},
|
|
3757
|
+
{
|
|
3758
|
+
"kind": "method",
|
|
3759
|
+
"name": "stopPolling",
|
|
3760
|
+
"privacy": "private",
|
|
3761
|
+
"return": {
|
|
3762
|
+
"type": {
|
|
3763
|
+
"text": "void"
|
|
3764
|
+
}
|
|
3765
|
+
}
|
|
3766
|
+
},
|
|
3767
|
+
{
|
|
3768
|
+
"kind": "method",
|
|
3769
|
+
"name": "onInstall",
|
|
3770
|
+
"return": {
|
|
3771
|
+
"type": {
|
|
3772
|
+
"text": "Promise<void>"
|
|
3773
|
+
}
|
|
3774
|
+
}
|
|
3775
|
+
},
|
|
3776
|
+
{
|
|
3777
|
+
"kind": "field",
|
|
3778
|
+
"name": "_presentation",
|
|
3779
|
+
"type": {
|
|
3780
|
+
"text": "ComponentPresentation | null | undefined"
|
|
3781
|
+
},
|
|
3782
|
+
"privacy": "private",
|
|
3783
|
+
"default": "void 0",
|
|
3784
|
+
"inheritedFrom": {
|
|
3785
|
+
"name": "FoundationElement",
|
|
3786
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
3787
|
+
}
|
|
3788
|
+
},
|
|
3789
|
+
{
|
|
3790
|
+
"kind": "field",
|
|
3791
|
+
"name": "$presentation",
|
|
3792
|
+
"type": {
|
|
3793
|
+
"text": "ComponentPresentation | null"
|
|
3794
|
+
},
|
|
3795
|
+
"privacy": "public",
|
|
3796
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
3797
|
+
"inheritedFrom": {
|
|
3798
|
+
"name": "FoundationElement",
|
|
3799
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
3800
|
+
}
|
|
3801
|
+
},
|
|
3802
|
+
{
|
|
3803
|
+
"kind": "field",
|
|
3804
|
+
"name": "template",
|
|
3805
|
+
"type": {
|
|
3806
|
+
"text": "ElementViewTemplate | void | null"
|
|
3807
|
+
},
|
|
3808
|
+
"privacy": "public",
|
|
3809
|
+
"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.",
|
|
3810
|
+
"inheritedFrom": {
|
|
3811
|
+
"name": "FoundationElement",
|
|
3812
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
3813
|
+
}
|
|
3814
|
+
},
|
|
3815
|
+
{
|
|
3816
|
+
"kind": "method",
|
|
3817
|
+
"name": "templateChanged",
|
|
3818
|
+
"privacy": "protected",
|
|
3819
|
+
"return": {
|
|
3820
|
+
"type": {
|
|
3821
|
+
"text": "void"
|
|
3822
|
+
}
|
|
3823
|
+
},
|
|
3824
|
+
"inheritedFrom": {
|
|
3825
|
+
"name": "FoundationElement",
|
|
3826
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
3827
|
+
}
|
|
3828
|
+
},
|
|
3829
|
+
{
|
|
3830
|
+
"kind": "field",
|
|
3831
|
+
"name": "styles",
|
|
3832
|
+
"type": {
|
|
3833
|
+
"text": "ElementStyles | void | null"
|
|
3834
|
+
},
|
|
3835
|
+
"privacy": "public",
|
|
3836
|
+
"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.",
|
|
3837
|
+
"inheritedFrom": {
|
|
3838
|
+
"name": "FoundationElement",
|
|
3839
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
3840
|
+
}
|
|
3841
|
+
},
|
|
3842
|
+
{
|
|
3843
|
+
"kind": "method",
|
|
3844
|
+
"name": "stylesChanged",
|
|
3845
|
+
"privacy": "protected",
|
|
3846
|
+
"return": {
|
|
3847
|
+
"type": {
|
|
3848
|
+
"text": "void"
|
|
3849
|
+
}
|
|
3850
|
+
},
|
|
3851
|
+
"inheritedFrom": {
|
|
3852
|
+
"name": "FoundationElement",
|
|
3853
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
3854
|
+
}
|
|
3855
|
+
},
|
|
3856
|
+
{
|
|
3857
|
+
"kind": "method",
|
|
3858
|
+
"name": "compose",
|
|
3859
|
+
"privacy": "public",
|
|
3860
|
+
"static": true,
|
|
3861
|
+
"return": {
|
|
3862
|
+
"type": {
|
|
3863
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
3864
|
+
}
|
|
3865
|
+
},
|
|
3866
|
+
"parameters": [
|
|
3867
|
+
{
|
|
3868
|
+
"name": "this",
|
|
3869
|
+
"type": {
|
|
3870
|
+
"text": "K"
|
|
3871
|
+
}
|
|
3872
|
+
},
|
|
3873
|
+
{
|
|
3874
|
+
"name": "elementDefinition",
|
|
3875
|
+
"type": {
|
|
3876
|
+
"text": "T"
|
|
3877
|
+
},
|
|
3878
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
3879
|
+
}
|
|
3880
|
+
],
|
|
3881
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
3882
|
+
"inheritedFrom": {
|
|
3883
|
+
"name": "FoundationElement",
|
|
3884
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
3885
|
+
}
|
|
3886
|
+
}
|
|
3887
|
+
],
|
|
3888
|
+
"superclass": {
|
|
3889
|
+
"name": "FoundationElement",
|
|
3890
|
+
"package": "@microsoft/fast-foundation"
|
|
3891
|
+
},
|
|
3892
|
+
"tagName": "%%prefix%%-ai-indicator",
|
|
3893
|
+
"customElement": true
|
|
3894
|
+
},
|
|
3895
|
+
{
|
|
3896
|
+
"kind": "variable",
|
|
3897
|
+
"name": "foundationAiIndicator"
|
|
3898
|
+
}
|
|
3899
|
+
],
|
|
3900
|
+
"exports": [
|
|
3901
|
+
{
|
|
3902
|
+
"kind": "js",
|
|
3903
|
+
"name": "AiIndicator",
|
|
3904
|
+
"declaration": {
|
|
3905
|
+
"name": "AiIndicator",
|
|
3906
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3907
|
+
}
|
|
3908
|
+
},
|
|
3909
|
+
{
|
|
3910
|
+
"kind": "js",
|
|
3911
|
+
"name": "foundationAiIndicator",
|
|
3912
|
+
"declaration": {
|
|
3913
|
+
"name": "foundationAiIndicator",
|
|
3914
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3915
|
+
}
|
|
3916
|
+
}
|
|
3917
|
+
]
|
|
3918
|
+
},
|
|
3919
|
+
{
|
|
3920
|
+
"kind": "javascript-module",
|
|
3921
|
+
"path": "src/ai-indicator/index.ts",
|
|
3922
|
+
"declarations": [],
|
|
3923
|
+
"exports": [
|
|
3924
|
+
{
|
|
3925
|
+
"kind": "js",
|
|
3926
|
+
"name": "AiIndicator",
|
|
3927
|
+
"declaration": {
|
|
3928
|
+
"name": "AiIndicator",
|
|
3929
|
+
"module": "./ai-indicator"
|
|
3930
|
+
}
|
|
3931
|
+
},
|
|
3932
|
+
{
|
|
3933
|
+
"kind": "js",
|
|
3934
|
+
"name": "foundationAiIndicator",
|
|
3935
|
+
"declaration": {
|
|
3936
|
+
"name": "foundationAiIndicator",
|
|
3937
|
+
"module": "./ai-indicator"
|
|
3938
|
+
}
|
|
3939
|
+
},
|
|
3940
|
+
{
|
|
3941
|
+
"kind": "js",
|
|
3942
|
+
"name": "type",
|
|
3943
|
+
"declaration": {
|
|
3944
|
+
"name": "type",
|
|
3945
|
+
"module": "./ai-indicator"
|
|
3946
|
+
}
|
|
3947
|
+
},
|
|
3948
|
+
{
|
|
3949
|
+
"kind": "js",
|
|
3950
|
+
"name": "AIIndicatorState",
|
|
3951
|
+
"declaration": {
|
|
3952
|
+
"name": "AIIndicatorState",
|
|
3953
|
+
"module": "./ai-indicator"
|
|
3954
|
+
}
|
|
3955
|
+
},
|
|
3956
|
+
{
|
|
3957
|
+
"kind": "js",
|
|
3958
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3959
|
+
"declaration": {
|
|
3960
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3961
|
+
"module": "./ai-indicator.template"
|
|
3962
|
+
}
|
|
3963
|
+
},
|
|
3964
|
+
{
|
|
3965
|
+
"kind": "js",
|
|
3966
|
+
"name": "foundationAiIndicatorStyles",
|
|
3967
|
+
"declaration": {
|
|
3968
|
+
"name": "foundationAiIndicatorStyles",
|
|
3969
|
+
"module": "./ai-indicator.styles"
|
|
3970
|
+
}
|
|
3971
|
+
}
|
|
3972
|
+
]
|
|
3973
|
+
},
|
|
3974
|
+
{
|
|
3975
|
+
"kind": "javascript-module",
|
|
3976
|
+
"path": "src/anchor/anchor.styles.ts",
|
|
3977
|
+
"declarations": [
|
|
3978
|
+
{
|
|
3979
|
+
"kind": "function",
|
|
3980
|
+
"name": "foundationAnchorStyles",
|
|
3981
|
+
"return": {
|
|
3982
|
+
"type": {
|
|
3983
|
+
"text": "ElementStyles"
|
|
3984
|
+
}
|
|
3985
|
+
},
|
|
3986
|
+
"parameters": [
|
|
3987
|
+
{
|
|
3988
|
+
"name": "context",
|
|
3989
|
+
"type": {
|
|
3990
|
+
"text": "ElementDefinitionContext"
|
|
3991
|
+
}
|
|
3992
|
+
},
|
|
3993
|
+
{
|
|
3994
|
+
"name": "definition",
|
|
3995
|
+
"type": {
|
|
3996
|
+
"text": "FoundationElementDefinition"
|
|
3997
|
+
}
|
|
3998
|
+
}
|
|
3999
|
+
]
|
|
4000
|
+
}
|
|
4001
|
+
],
|
|
4002
|
+
"exports": [
|
|
4003
|
+
{
|
|
4004
|
+
"kind": "js",
|
|
4005
|
+
"name": "foundationAnchorStyles",
|
|
4006
|
+
"declaration": {
|
|
4007
|
+
"name": "foundationAnchorStyles",
|
|
4008
|
+
"module": "src/anchor/anchor.styles.ts"
|
|
4009
|
+
}
|
|
4010
|
+
}
|
|
4011
|
+
]
|
|
4012
|
+
},
|
|
4013
|
+
{
|
|
4014
|
+
"kind": "javascript-module",
|
|
4015
|
+
"path": "src/anchor/anchor.template.ts",
|
|
4016
|
+
"declarations": [
|
|
4017
|
+
{
|
|
4018
|
+
"kind": "function",
|
|
4019
|
+
"name": "foundationAnchorTemplate",
|
|
4020
|
+
"return": {
|
|
4021
|
+
"type": {
|
|
4022
|
+
"text": "ViewTemplate<Anchor>"
|
|
4023
|
+
}
|
|
4024
|
+
},
|
|
4025
|
+
"parameters": [
|
|
4026
|
+
{
|
|
4027
|
+
"name": "context",
|
|
4028
|
+
"type": {
|
|
4029
|
+
"text": "ElementDefinitionContext"
|
|
4030
|
+
}
|
|
4031
|
+
},
|
|
4032
|
+
{
|
|
4033
|
+
"name": "definition",
|
|
4034
|
+
"type": {
|
|
4035
|
+
"text": "FoundationElementDefinition"
|
|
4036
|
+
}
|
|
4037
|
+
}
|
|
4038
|
+
]
|
|
4039
|
+
}
|
|
4040
|
+
],
|
|
4041
|
+
"exports": [
|
|
4042
|
+
{
|
|
4043
|
+
"kind": "js",
|
|
4044
|
+
"name": "foundationAnchorTemplate",
|
|
4045
|
+
"declaration": {
|
|
4046
|
+
"name": "foundationAnchorTemplate",
|
|
4047
|
+
"module": "src/anchor/anchor.template.ts"
|
|
4048
|
+
}
|
|
4049
|
+
}
|
|
4050
|
+
]
|
|
4051
|
+
},
|
|
4052
|
+
{
|
|
4053
|
+
"kind": "javascript-module",
|
|
4054
|
+
"path": "src/anchor/anchor.ts",
|
|
4055
|
+
"declarations": [
|
|
4056
|
+
{
|
|
4057
|
+
"kind": "class",
|
|
4058
|
+
"description": "",
|
|
4059
|
+
"name": "Anchor",
|
|
4052
4060
|
"superclass": {
|
|
4053
4061
|
"name": "FASTAnchor",
|
|
4054
4062
|
"package": "@microsoft/fast-components"
|
|
@@ -58534,308 +58542,908 @@
|
|
|
58534
58542
|
"name": "tooltip",
|
|
58535
58543
|
"parameters": [
|
|
58536
58544
|
{
|
|
58537
|
-
"name": "text",
|
|
58538
|
-
"type": {
|
|
58539
|
-
"text": "string"
|
|
58545
|
+
"name": "text",
|
|
58546
|
+
"type": {
|
|
58547
|
+
"text": "string"
|
|
58548
|
+
}
|
|
58549
|
+
},
|
|
58550
|
+
{
|
|
58551
|
+
"name": "prefix",
|
|
58552
|
+
"type": {
|
|
58553
|
+
"text": "string"
|
|
58554
|
+
}
|
|
58555
|
+
},
|
|
58556
|
+
{
|
|
58557
|
+
"name": "icon",
|
|
58558
|
+
"optional": true,
|
|
58559
|
+
"type": {
|
|
58560
|
+
"text": "string"
|
|
58561
|
+
}
|
|
58562
|
+
}
|
|
58563
|
+
]
|
|
58564
|
+
}
|
|
58565
|
+
],
|
|
58566
|
+
"exports": [
|
|
58567
|
+
{
|
|
58568
|
+
"kind": "js",
|
|
58569
|
+
"name": "tooltip",
|
|
58570
|
+
"declaration": {
|
|
58571
|
+
"name": "tooltip",
|
|
58572
|
+
"module": "src/utils/tooltip.ts"
|
|
58573
|
+
}
|
|
58574
|
+
}
|
|
58575
|
+
]
|
|
58576
|
+
},
|
|
58577
|
+
{
|
|
58578
|
+
"kind": "javascript-module",
|
|
58579
|
+
"path": "src/utils/validation.ts",
|
|
58580
|
+
"declarations": [
|
|
58581
|
+
{
|
|
58582
|
+
"kind": "function",
|
|
58583
|
+
"name": "isValidString",
|
|
58584
|
+
"return": {
|
|
58585
|
+
"type": {
|
|
58586
|
+
"text": "boolean"
|
|
58587
|
+
}
|
|
58588
|
+
},
|
|
58589
|
+
"parameters": [
|
|
58590
|
+
{
|
|
58591
|
+
"name": "value",
|
|
58592
|
+
"type": {
|
|
58593
|
+
"text": "any"
|
|
58594
|
+
}
|
|
58595
|
+
}
|
|
58596
|
+
]
|
|
58597
|
+
},
|
|
58598
|
+
{
|
|
58599
|
+
"kind": "function",
|
|
58600
|
+
"name": "isNumeric",
|
|
58601
|
+
"return": {
|
|
58602
|
+
"type": {
|
|
58603
|
+
"text": "boolean"
|
|
58604
|
+
}
|
|
58605
|
+
},
|
|
58606
|
+
"parameters": [
|
|
58607
|
+
{
|
|
58608
|
+
"name": "value",
|
|
58609
|
+
"type": {
|
|
58610
|
+
"text": "string"
|
|
58611
|
+
}
|
|
58612
|
+
}
|
|
58613
|
+
]
|
|
58614
|
+
},
|
|
58615
|
+
{
|
|
58616
|
+
"kind": "function",
|
|
58617
|
+
"name": "isInteger",
|
|
58618
|
+
"return": {
|
|
58619
|
+
"type": {
|
|
58620
|
+
"text": "boolean"
|
|
58621
|
+
}
|
|
58622
|
+
},
|
|
58623
|
+
"parameters": [
|
|
58624
|
+
{
|
|
58625
|
+
"name": "value",
|
|
58626
|
+
"type": {
|
|
58627
|
+
"text": "string"
|
|
58628
|
+
}
|
|
58629
|
+
}
|
|
58630
|
+
]
|
|
58631
|
+
}
|
|
58632
|
+
],
|
|
58633
|
+
"exports": [
|
|
58634
|
+
{
|
|
58635
|
+
"kind": "js",
|
|
58636
|
+
"name": "isValidString",
|
|
58637
|
+
"declaration": {
|
|
58638
|
+
"name": "isValidString",
|
|
58639
|
+
"module": "src/utils/validation.ts"
|
|
58640
|
+
}
|
|
58641
|
+
},
|
|
58642
|
+
{
|
|
58643
|
+
"kind": "js",
|
|
58644
|
+
"name": "isNumeric",
|
|
58645
|
+
"declaration": {
|
|
58646
|
+
"name": "isNumeric",
|
|
58647
|
+
"module": "src/utils/validation.ts"
|
|
58648
|
+
}
|
|
58649
|
+
},
|
|
58650
|
+
{
|
|
58651
|
+
"kind": "js",
|
|
58652
|
+
"name": "isInteger",
|
|
58653
|
+
"declaration": {
|
|
58654
|
+
"name": "isInteger",
|
|
58655
|
+
"module": "src/utils/validation.ts"
|
|
58656
|
+
}
|
|
58657
|
+
}
|
|
58658
|
+
]
|
|
58659
|
+
},
|
|
58660
|
+
{
|
|
58661
|
+
"kind": "javascript-module",
|
|
58662
|
+
"path": "src/verification-code-input/index.ts",
|
|
58663
|
+
"declarations": [],
|
|
58664
|
+
"exports": [
|
|
58665
|
+
{
|
|
58666
|
+
"kind": "js",
|
|
58667
|
+
"name": "*",
|
|
58668
|
+
"declaration": {
|
|
58669
|
+
"name": "*",
|
|
58670
|
+
"package": "./verification-code-input"
|
|
58671
|
+
}
|
|
58672
|
+
},
|
|
58673
|
+
{
|
|
58674
|
+
"kind": "js",
|
|
58675
|
+
"name": "*",
|
|
58676
|
+
"declaration": {
|
|
58677
|
+
"name": "*",
|
|
58678
|
+
"package": "./verification-code-input.template"
|
|
58679
|
+
}
|
|
58680
|
+
},
|
|
58681
|
+
{
|
|
58682
|
+
"kind": "js",
|
|
58683
|
+
"name": "*",
|
|
58684
|
+
"declaration": {
|
|
58685
|
+
"name": "*",
|
|
58686
|
+
"package": "./verification-code-input.styles"
|
|
58687
|
+
}
|
|
58688
|
+
}
|
|
58689
|
+
]
|
|
58690
|
+
},
|
|
58691
|
+
{
|
|
58692
|
+
"kind": "javascript-module",
|
|
58693
|
+
"path": "src/verification-code-input/verification-code-input.styles.ts",
|
|
58694
|
+
"declarations": [
|
|
58695
|
+
{
|
|
58696
|
+
"kind": "variable",
|
|
58697
|
+
"name": "foundationVerificationCodeInputStyles",
|
|
58698
|
+
"type": {
|
|
58699
|
+
"text": "ElementStyles"
|
|
58700
|
+
},
|
|
58701
|
+
"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`"
|
|
58702
|
+
}
|
|
58703
|
+
],
|
|
58704
|
+
"exports": [
|
|
58705
|
+
{
|
|
58706
|
+
"kind": "js",
|
|
58707
|
+
"name": "foundationVerificationCodeInputStyles",
|
|
58708
|
+
"declaration": {
|
|
58709
|
+
"name": "foundationVerificationCodeInputStyles",
|
|
58710
|
+
"module": "src/verification-code-input/verification-code-input.styles.ts"
|
|
58711
|
+
}
|
|
58712
|
+
}
|
|
58713
|
+
]
|
|
58714
|
+
},
|
|
58715
|
+
{
|
|
58716
|
+
"kind": "javascript-module",
|
|
58717
|
+
"path": "src/verification-code-input/verification-code-input.template.ts",
|
|
58718
|
+
"declarations": [
|
|
58719
|
+
{
|
|
58720
|
+
"kind": "variable",
|
|
58721
|
+
"name": "foundationVerificationCodeInputTemplate",
|
|
58722
|
+
"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`"
|
|
58723
|
+
}
|
|
58724
|
+
],
|
|
58725
|
+
"exports": [
|
|
58726
|
+
{
|
|
58727
|
+
"kind": "js",
|
|
58728
|
+
"name": "foundationVerificationCodeInputTemplate",
|
|
58729
|
+
"declaration": {
|
|
58730
|
+
"name": "foundationVerificationCodeInputTemplate",
|
|
58731
|
+
"module": "src/verification-code-input/verification-code-input.template.ts"
|
|
58732
|
+
}
|
|
58733
|
+
}
|
|
58734
|
+
]
|
|
58735
|
+
},
|
|
58736
|
+
{
|
|
58737
|
+
"kind": "javascript-module",
|
|
58738
|
+
"path": "src/verification-code-input/verification-code-input.ts",
|
|
58739
|
+
"declarations": [
|
|
58740
|
+
{
|
|
58741
|
+
"kind": "variable",
|
|
58742
|
+
"name": "foundationVerificationCodeInputShadowOptions",
|
|
58743
|
+
"type": {
|
|
58744
|
+
"text": "ShadowRootInit"
|
|
58745
|
+
},
|
|
58746
|
+
"default": "{\n mode: 'open',\n delegatesFocus: true,\n}"
|
|
58747
|
+
},
|
|
58748
|
+
{
|
|
58749
|
+
"kind": "variable",
|
|
58750
|
+
"name": "defaultVerificationCodeInputConfig",
|
|
58751
|
+
"type": {
|
|
58752
|
+
"text": "object"
|
|
58753
|
+
},
|
|
58754
|
+
"default": "{}"
|
|
58755
|
+
},
|
|
58756
|
+
{
|
|
58757
|
+
"kind": "class",
|
|
58758
|
+
"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.",
|
|
58759
|
+
"name": "VerificationCodeInput",
|
|
58760
|
+
"members": [
|
|
58761
|
+
{
|
|
58762
|
+
"kind": "field",
|
|
58763
|
+
"name": "values",
|
|
58764
|
+
"type": {
|
|
58765
|
+
"text": "string[]"
|
|
58766
|
+
},
|
|
58767
|
+
"default": "[]",
|
|
58768
|
+
"description": "Per-digit values indexed from `0` to `digits - 1`."
|
|
58769
|
+
},
|
|
58770
|
+
{
|
|
58771
|
+
"kind": "field",
|
|
58772
|
+
"name": "defaultSlottedNodes",
|
|
58773
|
+
"description": "Slotted label content; when empty the label is visually hidden."
|
|
58774
|
+
},
|
|
58775
|
+
{
|
|
58776
|
+
"kind": "field",
|
|
58777
|
+
"name": "controlListeners",
|
|
58778
|
+
"type": {
|
|
58779
|
+
"text": "Map<HTMLInputElement, ControlListeners>"
|
|
58780
|
+
},
|
|
58781
|
+
"privacy": "private",
|
|
58782
|
+
"readonly": true,
|
|
58783
|
+
"default": "new Map()"
|
|
58784
|
+
},
|
|
58785
|
+
{
|
|
58786
|
+
"kind": "field",
|
|
58787
|
+
"name": "syncingFromDigits",
|
|
58788
|
+
"type": {
|
|
58789
|
+
"text": "boolean"
|
|
58790
|
+
},
|
|
58791
|
+
"privacy": "private",
|
|
58792
|
+
"default": "false",
|
|
58793
|
+
"description": "Skip digit re-sync when `value` is updated from digit entry (`commitValues`)."
|
|
58794
|
+
},
|
|
58795
|
+
{
|
|
58796
|
+
"kind": "field",
|
|
58797
|
+
"name": "id",
|
|
58798
|
+
"type": {
|
|
58799
|
+
"text": "string"
|
|
58800
|
+
},
|
|
58801
|
+
"description": "Optional host id used as a prefix for digit input ids (`{id}-0`, `{id}-1`, …)\nand the associated label element."
|
|
58802
|
+
},
|
|
58803
|
+
{
|
|
58804
|
+
"kind": "field",
|
|
58805
|
+
"name": "appearance",
|
|
58806
|
+
"type": {
|
|
58807
|
+
"text": "string"
|
|
58808
|
+
},
|
|
58809
|
+
"default": "'outline'",
|
|
58810
|
+
"description": "Visual treatment applied to each digit field.",
|
|
58811
|
+
"privacy": "public"
|
|
58812
|
+
},
|
|
58813
|
+
{
|
|
58814
|
+
"kind": "field",
|
|
58815
|
+
"name": "digits",
|
|
58816
|
+
"type": {
|
|
58817
|
+
"text": "number"
|
|
58818
|
+
},
|
|
58819
|
+
"default": "6",
|
|
58820
|
+
"description": "Number of single-character digit fields to render.",
|
|
58821
|
+
"privacy": "public"
|
|
58822
|
+
},
|
|
58823
|
+
{
|
|
58824
|
+
"kind": "field",
|
|
58825
|
+
"name": "readOnly",
|
|
58826
|
+
"type": {
|
|
58827
|
+
"text": "boolean"
|
|
58828
|
+
},
|
|
58829
|
+
"default": "false",
|
|
58830
|
+
"description": "When true, digit fields are non-interactive.",
|
|
58831
|
+
"privacy": "public"
|
|
58832
|
+
},
|
|
58833
|
+
{
|
|
58834
|
+
"kind": "field",
|
|
58835
|
+
"name": "disabled",
|
|
58836
|
+
"type": {
|
|
58837
|
+
"text": "boolean"
|
|
58838
|
+
},
|
|
58839
|
+
"default": "false",
|
|
58840
|
+
"description": "When true, digit fields are non-interactive.",
|
|
58841
|
+
"privacy": "public"
|
|
58842
|
+
},
|
|
58843
|
+
{
|
|
58844
|
+
"kind": "field",
|
|
58845
|
+
"name": "autofocus",
|
|
58846
|
+
"type": {
|
|
58847
|
+
"text": "boolean"
|
|
58848
|
+
},
|
|
58849
|
+
"default": "false",
|
|
58850
|
+
"description": "When true, focuses the first digit on connect (and after SPA route commit when hosted that way).",
|
|
58851
|
+
"privacy": "public"
|
|
58852
|
+
},
|
|
58853
|
+
{
|
|
58854
|
+
"kind": "field",
|
|
58855
|
+
"name": "error",
|
|
58856
|
+
"type": {
|
|
58857
|
+
"text": "boolean"
|
|
58858
|
+
},
|
|
58859
|
+
"default": "false",
|
|
58860
|
+
"description": "When true, applies the error visual state to each digit field.",
|
|
58861
|
+
"privacy": "public"
|
|
58862
|
+
},
|
|
58863
|
+
{
|
|
58864
|
+
"kind": "field",
|
|
58865
|
+
"name": "digitsIndexes",
|
|
58866
|
+
"type": {
|
|
58867
|
+
"text": "number[]"
|
|
58868
|
+
},
|
|
58869
|
+
"privacy": "public",
|
|
58870
|
+
"readonly": true
|
|
58871
|
+
},
|
|
58872
|
+
{
|
|
58873
|
+
"kind": "field",
|
|
58874
|
+
"name": "controlIdPrefix",
|
|
58875
|
+
"type": {
|
|
58876
|
+
"text": "string"
|
|
58877
|
+
},
|
|
58878
|
+
"privacy": "public",
|
|
58879
|
+
"readonly": true
|
|
58880
|
+
},
|
|
58881
|
+
{
|
|
58882
|
+
"kind": "field",
|
|
58883
|
+
"name": "labelId",
|
|
58884
|
+
"type": {
|
|
58885
|
+
"text": "string"
|
|
58886
|
+
},
|
|
58887
|
+
"privacy": "public",
|
|
58888
|
+
"readonly": true
|
|
58889
|
+
},
|
|
58890
|
+
{
|
|
58891
|
+
"kind": "field",
|
|
58892
|
+
"name": "hasLabel",
|
|
58893
|
+
"type": {
|
|
58894
|
+
"text": "boolean"
|
|
58895
|
+
},
|
|
58896
|
+
"privacy": "public",
|
|
58897
|
+
"readonly": true
|
|
58898
|
+
},
|
|
58899
|
+
{
|
|
58900
|
+
"kind": "method",
|
|
58901
|
+
"name": "getControlId",
|
|
58902
|
+
"privacy": "public",
|
|
58903
|
+
"return": {
|
|
58904
|
+
"type": {
|
|
58905
|
+
"text": "string"
|
|
58906
|
+
}
|
|
58907
|
+
},
|
|
58908
|
+
"parameters": [
|
|
58909
|
+
{
|
|
58910
|
+
"name": "index",
|
|
58911
|
+
"type": {
|
|
58912
|
+
"text": "number"
|
|
58913
|
+
}
|
|
58914
|
+
}
|
|
58915
|
+
]
|
|
58916
|
+
},
|
|
58917
|
+
{
|
|
58918
|
+
"kind": "method",
|
|
58919
|
+
"name": "clear",
|
|
58920
|
+
"privacy": "public",
|
|
58921
|
+
"return": {
|
|
58922
|
+
"type": {
|
|
58923
|
+
"text": "void"
|
|
58924
|
+
}
|
|
58925
|
+
},
|
|
58926
|
+
"description": "Clears digits, emits `change`, and focuses the first field when connected."
|
|
58927
|
+
},
|
|
58928
|
+
{
|
|
58929
|
+
"kind": "method",
|
|
58930
|
+
"name": "focus",
|
|
58931
|
+
"privacy": "public",
|
|
58932
|
+
"return": {
|
|
58933
|
+
"type": {
|
|
58934
|
+
"text": "void"
|
|
58935
|
+
}
|
|
58936
|
+
}
|
|
58937
|
+
},
|
|
58938
|
+
{
|
|
58939
|
+
"kind": "method",
|
|
58940
|
+
"name": "digitsChanged",
|
|
58941
|
+
"return": {
|
|
58942
|
+
"type": {
|
|
58943
|
+
"text": "void"
|
|
58944
|
+
}
|
|
58945
|
+
}
|
|
58946
|
+
},
|
|
58947
|
+
{
|
|
58948
|
+
"kind": "field",
|
|
58949
|
+
"name": "digitClassnames",
|
|
58950
|
+
"type": {
|
|
58951
|
+
"text": "string"
|
|
58952
|
+
},
|
|
58953
|
+
"privacy": "public",
|
|
58954
|
+
"readonly": true
|
|
58955
|
+
},
|
|
58956
|
+
{
|
|
58957
|
+
"kind": "method",
|
|
58958
|
+
"name": "sanitizeCode",
|
|
58959
|
+
"privacy": "private",
|
|
58960
|
+
"return": {
|
|
58961
|
+
"type": {
|
|
58962
|
+
"text": "string"
|
|
58963
|
+
}
|
|
58964
|
+
},
|
|
58965
|
+
"parameters": [
|
|
58966
|
+
{
|
|
58967
|
+
"name": "raw",
|
|
58968
|
+
"type": {
|
|
58969
|
+
"text": "unknown"
|
|
58970
|
+
}
|
|
58971
|
+
}
|
|
58972
|
+
]
|
|
58973
|
+
},
|
|
58974
|
+
{
|
|
58975
|
+
"kind": "method",
|
|
58976
|
+
"name": "bindControlListeners",
|
|
58977
|
+
"privacy": "private",
|
|
58978
|
+
"return": {
|
|
58979
|
+
"type": {
|
|
58980
|
+
"text": "void"
|
|
58981
|
+
}
|
|
58982
|
+
}
|
|
58983
|
+
},
|
|
58984
|
+
{
|
|
58985
|
+
"kind": "method",
|
|
58986
|
+
"name": "unbindControlListeners",
|
|
58987
|
+
"privacy": "private",
|
|
58988
|
+
"return": {
|
|
58989
|
+
"type": {
|
|
58990
|
+
"text": "void"
|
|
58991
|
+
}
|
|
58992
|
+
}
|
|
58993
|
+
},
|
|
58994
|
+
{
|
|
58995
|
+
"kind": "method",
|
|
58996
|
+
"name": "onKeyDown",
|
|
58997
|
+
"privacy": "private",
|
|
58998
|
+
"return": {
|
|
58999
|
+
"type": {
|
|
59000
|
+
"text": "void"
|
|
59001
|
+
}
|
|
59002
|
+
},
|
|
59003
|
+
"parameters": [
|
|
59004
|
+
{
|
|
59005
|
+
"name": "event",
|
|
59006
|
+
"type": {
|
|
59007
|
+
"text": "KeyboardEvent"
|
|
59008
|
+
}
|
|
59009
|
+
},
|
|
59010
|
+
{
|
|
59011
|
+
"name": "index",
|
|
59012
|
+
"type": {
|
|
59013
|
+
"text": "number"
|
|
59014
|
+
}
|
|
59015
|
+
}
|
|
59016
|
+
]
|
|
59017
|
+
},
|
|
59018
|
+
{
|
|
59019
|
+
"kind": "method",
|
|
59020
|
+
"name": "isBlockedCharacter",
|
|
59021
|
+
"privacy": "private",
|
|
59022
|
+
"return": {
|
|
59023
|
+
"type": {
|
|
59024
|
+
"text": "boolean"
|
|
59025
|
+
}
|
|
59026
|
+
},
|
|
59027
|
+
"parameters": [
|
|
59028
|
+
{
|
|
59029
|
+
"name": "event",
|
|
59030
|
+
"type": {
|
|
59031
|
+
"text": "KeyboardEvent"
|
|
59032
|
+
}
|
|
59033
|
+
}
|
|
59034
|
+
]
|
|
59035
|
+
},
|
|
59036
|
+
{
|
|
59037
|
+
"kind": "method",
|
|
59038
|
+
"name": "onInput",
|
|
59039
|
+
"privacy": "private",
|
|
59040
|
+
"return": {
|
|
59041
|
+
"type": {
|
|
59042
|
+
"text": "void"
|
|
59043
|
+
}
|
|
59044
|
+
},
|
|
59045
|
+
"parameters": [
|
|
59046
|
+
{
|
|
59047
|
+
"name": "event",
|
|
59048
|
+
"type": {
|
|
59049
|
+
"text": "InputEvent"
|
|
59050
|
+
}
|
|
59051
|
+
},
|
|
59052
|
+
{
|
|
59053
|
+
"name": "index",
|
|
59054
|
+
"type": {
|
|
59055
|
+
"text": "number"
|
|
59056
|
+
}
|
|
59057
|
+
}
|
|
59058
|
+
]
|
|
59059
|
+
},
|
|
59060
|
+
{
|
|
59061
|
+
"kind": "method",
|
|
59062
|
+
"name": "onPaste",
|
|
59063
|
+
"privacy": "private",
|
|
59064
|
+
"return": {
|
|
59065
|
+
"type": {
|
|
59066
|
+
"text": "void"
|
|
59067
|
+
}
|
|
59068
|
+
},
|
|
59069
|
+
"parameters": [
|
|
59070
|
+
{
|
|
59071
|
+
"name": "event",
|
|
59072
|
+
"type": {
|
|
59073
|
+
"text": "ClipboardEvent"
|
|
59074
|
+
}
|
|
59075
|
+
},
|
|
59076
|
+
{
|
|
59077
|
+
"name": "index",
|
|
59078
|
+
"type": {
|
|
59079
|
+
"text": "number"
|
|
59080
|
+
}
|
|
59081
|
+
}
|
|
59082
|
+
]
|
|
59083
|
+
},
|
|
59084
|
+
{
|
|
59085
|
+
"kind": "method",
|
|
59086
|
+
"name": "handleBackspace",
|
|
59087
|
+
"privacy": "private",
|
|
59088
|
+
"return": {
|
|
59089
|
+
"type": {
|
|
59090
|
+
"text": "void"
|
|
59091
|
+
}
|
|
59092
|
+
},
|
|
59093
|
+
"parameters": [
|
|
59094
|
+
{
|
|
59095
|
+
"name": "index",
|
|
59096
|
+
"type": {
|
|
59097
|
+
"text": "number"
|
|
59098
|
+
}
|
|
59099
|
+
}
|
|
59100
|
+
]
|
|
59101
|
+
},
|
|
59102
|
+
{
|
|
59103
|
+
"kind": "method",
|
|
59104
|
+
"name": "handleDelete",
|
|
59105
|
+
"privacy": "private",
|
|
59106
|
+
"return": {
|
|
59107
|
+
"type": {
|
|
59108
|
+
"text": "void"
|
|
59109
|
+
}
|
|
59110
|
+
},
|
|
59111
|
+
"parameters": [
|
|
59112
|
+
{
|
|
59113
|
+
"name": "index",
|
|
59114
|
+
"type": {
|
|
59115
|
+
"text": "number"
|
|
59116
|
+
}
|
|
59117
|
+
}
|
|
59118
|
+
]
|
|
59119
|
+
},
|
|
59120
|
+
{
|
|
59121
|
+
"kind": "method",
|
|
59122
|
+
"name": "getIndexFromInput",
|
|
59123
|
+
"privacy": "private",
|
|
59124
|
+
"return": {
|
|
59125
|
+
"type": {
|
|
59126
|
+
"text": "number | null"
|
|
59127
|
+
}
|
|
59128
|
+
},
|
|
59129
|
+
"parameters": [
|
|
59130
|
+
{
|
|
59131
|
+
"name": "input",
|
|
59132
|
+
"type": {
|
|
59133
|
+
"text": "HTMLInputElement"
|
|
59134
|
+
}
|
|
59135
|
+
}
|
|
59136
|
+
]
|
|
59137
|
+
},
|
|
59138
|
+
{
|
|
59139
|
+
"kind": "method",
|
|
59140
|
+
"name": "syncDigitsFromValue",
|
|
59141
|
+
"privacy": "private",
|
|
59142
|
+
"return": {
|
|
59143
|
+
"type": {
|
|
59144
|
+
"text": "void"
|
|
59145
|
+
}
|
|
59146
|
+
},
|
|
59147
|
+
"parameters": [
|
|
59148
|
+
{
|
|
59149
|
+
"name": "cleaned",
|
|
59150
|
+
"type": {
|
|
59151
|
+
"text": "string"
|
|
59152
|
+
}
|
|
59153
|
+
}
|
|
59154
|
+
],
|
|
59155
|
+
"description": "Maps a sanitized code string into per-digit `values` and syncs the DOM when connected."
|
|
59156
|
+
},
|
|
59157
|
+
{
|
|
59158
|
+
"kind": "method",
|
|
59159
|
+
"name": "updateDigit",
|
|
59160
|
+
"privacy": "private",
|
|
59161
|
+
"return": {
|
|
59162
|
+
"type": {
|
|
59163
|
+
"text": "void"
|
|
59164
|
+
}
|
|
59165
|
+
},
|
|
59166
|
+
"parameters": [
|
|
59167
|
+
{
|
|
59168
|
+
"name": "index",
|
|
59169
|
+
"type": {
|
|
59170
|
+
"text": "number"
|
|
59171
|
+
}
|
|
59172
|
+
},
|
|
59173
|
+
{
|
|
59174
|
+
"name": "digit",
|
|
59175
|
+
"type": {
|
|
59176
|
+
"text": "string"
|
|
59177
|
+
}
|
|
59178
|
+
}
|
|
59179
|
+
]
|
|
59180
|
+
},
|
|
59181
|
+
{
|
|
59182
|
+
"kind": "method",
|
|
59183
|
+
"name": "applyDigits",
|
|
59184
|
+
"privacy": "private",
|
|
59185
|
+
"return": {
|
|
59186
|
+
"type": {
|
|
59187
|
+
"text": "void"
|
|
59188
|
+
}
|
|
59189
|
+
},
|
|
59190
|
+
"parameters": [
|
|
59191
|
+
{
|
|
59192
|
+
"name": "raw",
|
|
59193
|
+
"type": {
|
|
59194
|
+
"text": "string"
|
|
59195
|
+
}
|
|
59196
|
+
},
|
|
59197
|
+
{
|
|
59198
|
+
"name": "startIndex",
|
|
59199
|
+
"type": {
|
|
59200
|
+
"text": "number"
|
|
59201
|
+
}
|
|
59202
|
+
}
|
|
59203
|
+
]
|
|
59204
|
+
},
|
|
59205
|
+
{
|
|
59206
|
+
"kind": "method",
|
|
59207
|
+
"name": "commitValues",
|
|
59208
|
+
"privacy": "private",
|
|
59209
|
+
"return": {
|
|
59210
|
+
"type": {
|
|
59211
|
+
"text": "void"
|
|
59212
|
+
}
|
|
59213
|
+
},
|
|
59214
|
+
"parameters": [
|
|
59215
|
+
{
|
|
59216
|
+
"name": "nextValues",
|
|
59217
|
+
"type": {
|
|
59218
|
+
"text": "string[]"
|
|
59219
|
+
}
|
|
59220
|
+
}
|
|
59221
|
+
],
|
|
59222
|
+
"description": "Pushes digit state into the form-associated `value` and emits change / complete."
|
|
59223
|
+
},
|
|
59224
|
+
{
|
|
59225
|
+
"kind": "method",
|
|
59226
|
+
"name": "syncFieldValues",
|
|
59227
|
+
"privacy": "private",
|
|
59228
|
+
"return": {
|
|
59229
|
+
"type": {
|
|
59230
|
+
"text": "void"
|
|
59231
|
+
}
|
|
59232
|
+
}
|
|
59233
|
+
},
|
|
59234
|
+
{
|
|
59235
|
+
"kind": "method",
|
|
59236
|
+
"name": "syncFieldValue",
|
|
59237
|
+
"privacy": "private",
|
|
59238
|
+
"return": {
|
|
59239
|
+
"type": {
|
|
59240
|
+
"text": "void"
|
|
59241
|
+
}
|
|
59242
|
+
},
|
|
59243
|
+
"parameters": [
|
|
59244
|
+
{
|
|
59245
|
+
"name": "index",
|
|
59246
|
+
"type": {
|
|
59247
|
+
"text": "number"
|
|
59248
|
+
}
|
|
59249
|
+
}
|
|
59250
|
+
]
|
|
59251
|
+
},
|
|
59252
|
+
{
|
|
59253
|
+
"kind": "method",
|
|
59254
|
+
"name": "focusDigit",
|
|
59255
|
+
"privacy": "private",
|
|
59256
|
+
"return": {
|
|
59257
|
+
"type": {
|
|
59258
|
+
"text": "void"
|
|
59259
|
+
}
|
|
59260
|
+
},
|
|
59261
|
+
"parameters": [
|
|
59262
|
+
{
|
|
59263
|
+
"name": "index",
|
|
59264
|
+
"type": {
|
|
59265
|
+
"text": "number"
|
|
59266
|
+
}
|
|
59267
|
+
}
|
|
59268
|
+
]
|
|
59269
|
+
},
|
|
59270
|
+
{
|
|
59271
|
+
"kind": "field",
|
|
59272
|
+
"name": "rootNode",
|
|
59273
|
+
"type": {
|
|
59274
|
+
"text": "ParentNode"
|
|
59275
|
+
},
|
|
59276
|
+
"privacy": "private",
|
|
59277
|
+
"readonly": true
|
|
59278
|
+
},
|
|
59279
|
+
{
|
|
59280
|
+
"kind": "method",
|
|
59281
|
+
"name": "getControlElement",
|
|
59282
|
+
"privacy": "private",
|
|
59283
|
+
"return": {
|
|
59284
|
+
"type": {
|
|
59285
|
+
"text": "HTMLInputElement | null"
|
|
59286
|
+
}
|
|
59287
|
+
},
|
|
59288
|
+
"parameters": [
|
|
59289
|
+
{
|
|
59290
|
+
"name": "index",
|
|
59291
|
+
"type": {
|
|
59292
|
+
"text": "number"
|
|
59293
|
+
}
|
|
59294
|
+
}
|
|
59295
|
+
]
|
|
59296
|
+
},
|
|
59297
|
+
{
|
|
59298
|
+
"kind": "method",
|
|
59299
|
+
"name": "isComplete",
|
|
59300
|
+
"privacy": "private",
|
|
59301
|
+
"return": {
|
|
59302
|
+
"type": {
|
|
59303
|
+
"text": "boolean"
|
|
59304
|
+
}
|
|
59305
|
+
}
|
|
59306
|
+
},
|
|
59307
|
+
{
|
|
59308
|
+
"kind": "method",
|
|
59309
|
+
"name": "emitChange",
|
|
59310
|
+
"privacy": "private",
|
|
59311
|
+
"return": {
|
|
59312
|
+
"type": {
|
|
59313
|
+
"text": "void"
|
|
59314
|
+
}
|
|
58540
59315
|
}
|
|
58541
59316
|
},
|
|
58542
59317
|
{
|
|
58543
|
-
"
|
|
59318
|
+
"kind": "field",
|
|
59319
|
+
"name": "proxy"
|
|
59320
|
+
}
|
|
59321
|
+
],
|
|
59322
|
+
"events": [
|
|
59323
|
+
{
|
|
59324
|
+
"description": "Fired when any digit changes. Detail: `{ value: string }`.",
|
|
59325
|
+
"name": "change"
|
|
59326
|
+
},
|
|
59327
|
+
{
|
|
59328
|
+
"description": "Fired when all digits are filled. Detail: `{ value: string }`.",
|
|
59329
|
+
"name": "complete"
|
|
59330
|
+
}
|
|
59331
|
+
],
|
|
59332
|
+
"attributes": [
|
|
59333
|
+
{
|
|
59334
|
+
"name": "id",
|
|
58544
59335
|
"type": {
|
|
58545
59336
|
"text": "string"
|
|
58546
|
-
}
|
|
59337
|
+
},
|
|
59338
|
+
"description": "Optional host id used as a prefix for digit input ids (`{id}-0`, `{id}-1`, …)\nand the associated label element.",
|
|
59339
|
+
"fieldName": "id"
|
|
58547
59340
|
},
|
|
58548
59341
|
{
|
|
58549
|
-
"name": "
|
|
58550
|
-
"optional": true,
|
|
59342
|
+
"name": "appearance",
|
|
58551
59343
|
"type": {
|
|
58552
59344
|
"text": "string"
|
|
58553
|
-
}
|
|
58554
|
-
|
|
58555
|
-
|
|
58556
|
-
|
|
58557
|
-
|
|
58558
|
-
"exports": [
|
|
58559
|
-
{
|
|
58560
|
-
"kind": "js",
|
|
58561
|
-
"name": "tooltip",
|
|
58562
|
-
"declaration": {
|
|
58563
|
-
"name": "tooltip",
|
|
58564
|
-
"module": "src/utils/tooltip.ts"
|
|
58565
|
-
}
|
|
58566
|
-
}
|
|
58567
|
-
]
|
|
58568
|
-
},
|
|
58569
|
-
{
|
|
58570
|
-
"kind": "javascript-module",
|
|
58571
|
-
"path": "src/utils/validation.ts",
|
|
58572
|
-
"declarations": [
|
|
58573
|
-
{
|
|
58574
|
-
"kind": "function",
|
|
58575
|
-
"name": "isValidString",
|
|
58576
|
-
"return": {
|
|
58577
|
-
"type": {
|
|
58578
|
-
"text": "boolean"
|
|
58579
|
-
}
|
|
58580
|
-
},
|
|
58581
|
-
"parameters": [
|
|
59345
|
+
},
|
|
59346
|
+
"default": "'outline'",
|
|
59347
|
+
"description": "Visual treatment applied to each digit field.",
|
|
59348
|
+
"fieldName": "appearance"
|
|
59349
|
+
},
|
|
58582
59350
|
{
|
|
58583
|
-
"name": "
|
|
59351
|
+
"name": "digits",
|
|
58584
59352
|
"type": {
|
|
58585
|
-
"text": "
|
|
58586
|
-
}
|
|
58587
|
-
|
|
58588
|
-
|
|
58589
|
-
|
|
58590
|
-
|
|
58591
|
-
|
|
58592
|
-
|
|
58593
|
-
|
|
58594
|
-
"type": {
|
|
58595
|
-
"text": "boolean"
|
|
58596
|
-
}
|
|
58597
|
-
},
|
|
58598
|
-
"parameters": [
|
|
59353
|
+
"text": "number"
|
|
59354
|
+
},
|
|
59355
|
+
"default": "DEFAULT_DIGITS",
|
|
59356
|
+
"description": "Number of single-character digit fields to render.",
|
|
59357
|
+
"resolveInitializer": {
|
|
59358
|
+
"module": "src/verification-code-input/verification-code-input.ts"
|
|
59359
|
+
},
|
|
59360
|
+
"fieldName": "digits"
|
|
59361
|
+
},
|
|
58599
59362
|
{
|
|
58600
|
-
"name": "
|
|
59363
|
+
"name": "readonly",
|
|
58601
59364
|
"type": {
|
|
58602
|
-
"text": "
|
|
58603
|
-
}
|
|
58604
|
-
|
|
58605
|
-
|
|
58606
|
-
|
|
58607
|
-
|
|
58608
|
-
"kind": "function",
|
|
58609
|
-
"name": "isInteger",
|
|
58610
|
-
"return": {
|
|
58611
|
-
"type": {
|
|
58612
|
-
"text": "boolean"
|
|
58613
|
-
}
|
|
58614
|
-
},
|
|
58615
|
-
"parameters": [
|
|
59365
|
+
"text": "boolean"
|
|
59366
|
+
},
|
|
59367
|
+
"default": "false",
|
|
59368
|
+
"description": "When true, digit fields are non-interactive.",
|
|
59369
|
+
"fieldName": "readOnly"
|
|
59370
|
+
},
|
|
58616
59371
|
{
|
|
58617
|
-
"name": "value",
|
|
58618
59372
|
"type": {
|
|
58619
|
-
"text": "
|
|
58620
|
-
}
|
|
58621
|
-
|
|
58622
|
-
|
|
58623
|
-
|
|
58624
|
-
|
|
58625
|
-
"exports": [
|
|
58626
|
-
{
|
|
58627
|
-
"kind": "js",
|
|
58628
|
-
"name": "isValidString",
|
|
58629
|
-
"declaration": {
|
|
58630
|
-
"name": "isValidString",
|
|
58631
|
-
"module": "src/utils/validation.ts"
|
|
58632
|
-
}
|
|
58633
|
-
},
|
|
58634
|
-
{
|
|
58635
|
-
"kind": "js",
|
|
58636
|
-
"name": "isNumeric",
|
|
58637
|
-
"declaration": {
|
|
58638
|
-
"name": "isNumeric",
|
|
58639
|
-
"module": "src/utils/validation.ts"
|
|
58640
|
-
}
|
|
58641
|
-
},
|
|
58642
|
-
{
|
|
58643
|
-
"kind": "js",
|
|
58644
|
-
"name": "isInteger",
|
|
58645
|
-
"declaration": {
|
|
58646
|
-
"name": "isInteger",
|
|
58647
|
-
"module": "src/utils/validation.ts"
|
|
58648
|
-
}
|
|
58649
|
-
}
|
|
58650
|
-
]
|
|
58651
|
-
},
|
|
58652
|
-
{
|
|
58653
|
-
"kind": "javascript-module",
|
|
58654
|
-
"path": "src/ai-criteria-search/validation/criteria-ir.ts",
|
|
58655
|
-
"declarations": [],
|
|
58656
|
-
"exports": []
|
|
58657
|
-
},
|
|
58658
|
-
{
|
|
58659
|
-
"kind": "javascript-module",
|
|
58660
|
-
"path": "src/ai-criteria-search/validation/operator-map.ts",
|
|
58661
|
-
"declarations": [
|
|
58662
|
-
{
|
|
58663
|
-
"kind": "function",
|
|
58664
|
-
"name": "groupsToCriteria",
|
|
58665
|
-
"return": {
|
|
58666
|
-
"type": {
|
|
58667
|
-
"text": "string"
|
|
58668
|
-
}
|
|
58669
|
-
},
|
|
58670
|
-
"parameters": [
|
|
59373
|
+
"text": "boolean"
|
|
59374
|
+
},
|
|
59375
|
+
"default": "false",
|
|
59376
|
+
"description": "When true, digit fields are non-interactive.",
|
|
59377
|
+
"fieldName": "disabled"
|
|
59378
|
+
},
|
|
58671
59379
|
{
|
|
58672
|
-
"name": "groups",
|
|
58673
59380
|
"type": {
|
|
58674
|
-
"text": "
|
|
58675
|
-
}
|
|
59381
|
+
"text": "boolean"
|
|
59382
|
+
},
|
|
59383
|
+
"default": "false",
|
|
59384
|
+
"description": "When true, focuses the first digit on connect (and after SPA route commit when hosted that way).",
|
|
59385
|
+
"fieldName": "autofocus"
|
|
59386
|
+
},
|
|
59387
|
+
{
|
|
59388
|
+
"type": {
|
|
59389
|
+
"text": "boolean"
|
|
59390
|
+
},
|
|
59391
|
+
"default": "false",
|
|
59392
|
+
"description": "When true, applies the error visual state to each digit field.",
|
|
59393
|
+
"fieldName": "error"
|
|
58676
59394
|
}
|
|
58677
59395
|
],
|
|
58678
|
-
"
|
|
58679
|
-
|
|
58680
|
-
|
|
58681
|
-
|
|
58682
|
-
|
|
58683
|
-
|
|
58684
|
-
|
|
58685
|
-
|
|
58686
|
-
|
|
58687
|
-
},
|
|
58688
|
-
{
|
|
58689
|
-
"kind": "variable",
|
|
58690
|
-
"name": "NUMERIC_OPERATORS",
|
|
58691
|
-
"type": {
|
|
58692
|
-
"text": "CriteriaOperator[]"
|
|
58693
|
-
},
|
|
58694
|
-
"default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
|
|
58695
|
-
},
|
|
58696
|
-
{
|
|
58697
|
-
"kind": "variable",
|
|
58698
|
-
"name": "DATE_OPERATORS",
|
|
58699
|
-
"type": {
|
|
58700
|
-
"text": "CriteriaOperator[]"
|
|
58701
|
-
},
|
|
58702
|
-
"default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
|
|
58703
|
-
},
|
|
58704
|
-
{
|
|
58705
|
-
"kind": "variable",
|
|
58706
|
-
"name": "DATETIME_OPERATORS",
|
|
58707
|
-
"type": {
|
|
58708
|
-
"text": "CriteriaOperator[]"
|
|
59396
|
+
"mixins": [
|
|
59397
|
+
{
|
|
59398
|
+
"name": "FormAssociated",
|
|
59399
|
+
"package": "@microsoft/fast-foundation"
|
|
59400
|
+
}
|
|
59401
|
+
],
|
|
59402
|
+
"superclass": {
|
|
59403
|
+
"name": "_VerificationCodeInput",
|
|
59404
|
+
"module": "src/verification-code-input/verification-code-input.ts"
|
|
58709
59405
|
},
|
|
58710
|
-
"
|
|
59406
|
+
"tagName": "%%prefix%%-verification-code-input",
|
|
59407
|
+
"customElement": true
|
|
58711
59408
|
},
|
|
58712
59409
|
{
|
|
58713
59410
|
"kind": "variable",
|
|
58714
|
-
"name": "
|
|
58715
|
-
"
|
|
58716
|
-
|
|
58717
|
-
},
|
|
58718
|
-
"default": "{\n contains: 'contains',\n equals: '=',\n startsWith: 'starts with',\n endsWith: 'ends with',\n notEqual: '≠',\n greaterThan: '>',\n lessThan: '<',\n greaterThanOrEqual: '≥',\n lessThanOrEqual: '≤',\n dateIsToday: 'is today',\n dateIsAfter: 'after',\n dateIsBefore: 'before',\n dateIsEqual: '=',\n dateIsGreaterEqual: '≥',\n dateIsLessEqual: '≤',\n dateTimeIsAfter: 'after',\n dateTimeIsBefore: 'before',\n dateTimeIsGreaterEqual: '≥',\n dateTimeIsLessEqual: '≤',\n}"
|
|
59411
|
+
"name": "foundationVerificationCodeInput",
|
|
59412
|
+
"description": "The Foundation Verification Code Input",
|
|
59413
|
+
"privacy": "public"
|
|
58719
59414
|
}
|
|
58720
59415
|
],
|
|
58721
59416
|
"exports": [
|
|
58722
59417
|
{
|
|
58723
59418
|
"kind": "js",
|
|
58724
|
-
"name": "
|
|
58725
|
-
"declaration": {
|
|
58726
|
-
"name": "groupsToCriteria",
|
|
58727
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
58728
|
-
}
|
|
58729
|
-
},
|
|
58730
|
-
{
|
|
58731
|
-
"kind": "js",
|
|
58732
|
-
"name": "STRING_OPERATORS",
|
|
58733
|
-
"declaration": {
|
|
58734
|
-
"name": "STRING_OPERATORS",
|
|
58735
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
58736
|
-
}
|
|
58737
|
-
},
|
|
58738
|
-
{
|
|
58739
|
-
"kind": "js",
|
|
58740
|
-
"name": "NUMERIC_OPERATORS",
|
|
58741
|
-
"declaration": {
|
|
58742
|
-
"name": "NUMERIC_OPERATORS",
|
|
58743
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
58744
|
-
}
|
|
58745
|
-
},
|
|
58746
|
-
{
|
|
58747
|
-
"kind": "js",
|
|
58748
|
-
"name": "DATE_OPERATORS",
|
|
58749
|
-
"declaration": {
|
|
58750
|
-
"name": "DATE_OPERATORS",
|
|
58751
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
58752
|
-
}
|
|
58753
|
-
},
|
|
58754
|
-
{
|
|
58755
|
-
"kind": "js",
|
|
58756
|
-
"name": "DATETIME_OPERATORS",
|
|
59419
|
+
"name": "foundationVerificationCodeInputShadowOptions",
|
|
58757
59420
|
"declaration": {
|
|
58758
|
-
"name": "
|
|
58759
|
-
"module": "src/
|
|
59421
|
+
"name": "foundationVerificationCodeInputShadowOptions",
|
|
59422
|
+
"module": "src/verification-code-input/verification-code-input.ts"
|
|
58760
59423
|
}
|
|
58761
59424
|
},
|
|
58762
59425
|
{
|
|
58763
59426
|
"kind": "js",
|
|
58764
|
-
"name": "
|
|
59427
|
+
"name": "defaultVerificationCodeInputConfig",
|
|
58765
59428
|
"declaration": {
|
|
58766
|
-
"name": "
|
|
58767
|
-
"module": "src/
|
|
59429
|
+
"name": "defaultVerificationCodeInputConfig",
|
|
59430
|
+
"module": "src/verification-code-input/verification-code-input.ts"
|
|
58768
59431
|
}
|
|
58769
|
-
}
|
|
58770
|
-
]
|
|
58771
|
-
},
|
|
58772
|
-
{
|
|
58773
|
-
"kind": "javascript-module",
|
|
58774
|
-
"path": "src/ai-criteria-search/validation/schema-validator.ts",
|
|
58775
|
-
"declarations": [
|
|
58776
|
-
{
|
|
58777
|
-
"kind": "function",
|
|
58778
|
-
"name": "validateClauses",
|
|
58779
|
-
"return": {
|
|
58780
|
-
"type": {
|
|
58781
|
-
"text": "ValidationResult"
|
|
58782
|
-
}
|
|
58783
|
-
},
|
|
58784
|
-
"parameters": [
|
|
58785
|
-
{
|
|
58786
|
-
"name": "clauses",
|
|
58787
|
-
"type": {
|
|
58788
|
-
"text": "CriteriaClause[]"
|
|
58789
|
-
}
|
|
58790
|
-
},
|
|
58791
|
-
{
|
|
58792
|
-
"name": "fieldMetadata",
|
|
58793
|
-
"type": {
|
|
58794
|
-
"text": "MetadataDetail[] | string[]"
|
|
58795
|
-
}
|
|
58796
|
-
}
|
|
58797
|
-
]
|
|
58798
59432
|
},
|
|
58799
|
-
{
|
|
58800
|
-
"kind": "function",
|
|
58801
|
-
"name": "validateGroups",
|
|
58802
|
-
"return": {
|
|
58803
|
-
"type": {
|
|
58804
|
-
"text": "GroupsValidationResult"
|
|
58805
|
-
}
|
|
58806
|
-
},
|
|
58807
|
-
"parameters": [
|
|
58808
|
-
{
|
|
58809
|
-
"name": "groups",
|
|
58810
|
-
"type": {
|
|
58811
|
-
"text": "CriteriaGroup[]"
|
|
58812
|
-
}
|
|
58813
|
-
},
|
|
58814
|
-
{
|
|
58815
|
-
"name": "fieldMetadata",
|
|
58816
|
-
"type": {
|
|
58817
|
-
"text": "MetadataDetail[] | string[]"
|
|
58818
|
-
}
|
|
58819
|
-
}
|
|
58820
|
-
],
|
|
58821
|
-
"description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
|
|
58822
|
-
}
|
|
58823
|
-
],
|
|
58824
|
-
"exports": [
|
|
58825
59433
|
{
|
|
58826
59434
|
"kind": "js",
|
|
58827
|
-
"name": "
|
|
59435
|
+
"name": "VerificationCodeInput",
|
|
58828
59436
|
"declaration": {
|
|
58829
|
-
"name": "
|
|
58830
|
-
"module": "src/
|
|
59437
|
+
"name": "VerificationCodeInput",
|
|
59438
|
+
"module": "src/verification-code-input/verification-code-input.ts"
|
|
58831
59439
|
}
|
|
58832
59440
|
},
|
|
58833
59441
|
{
|
|
58834
59442
|
"kind": "js",
|
|
58835
|
-
"name": "
|
|
59443
|
+
"name": "foundationVerificationCodeInput",
|
|
58836
59444
|
"declaration": {
|
|
58837
|
-
"name": "
|
|
58838
|
-
"module": "src/
|
|
59445
|
+
"name": "foundationVerificationCodeInput",
|
|
59446
|
+
"module": "src/verification-code-input/verification-code-input.ts"
|
|
58839
59447
|
}
|
|
58840
59448
|
}
|
|
58841
59449
|
]
|
|
@@ -60212,6 +60820,197 @@
|
|
|
60212
60820
|
"declarations": [],
|
|
60213
60821
|
"exports": []
|
|
60214
60822
|
},
|
|
60823
|
+
{
|
|
60824
|
+
"kind": "javascript-module",
|
|
60825
|
+
"path": "src/ai-criteria-search/validation/criteria-ir.ts",
|
|
60826
|
+
"declarations": [],
|
|
60827
|
+
"exports": []
|
|
60828
|
+
},
|
|
60829
|
+
{
|
|
60830
|
+
"kind": "javascript-module",
|
|
60831
|
+
"path": "src/ai-criteria-search/validation/operator-map.ts",
|
|
60832
|
+
"declarations": [
|
|
60833
|
+
{
|
|
60834
|
+
"kind": "function",
|
|
60835
|
+
"name": "groupsToCriteria",
|
|
60836
|
+
"return": {
|
|
60837
|
+
"type": {
|
|
60838
|
+
"text": "string"
|
|
60839
|
+
}
|
|
60840
|
+
},
|
|
60841
|
+
"parameters": [
|
|
60842
|
+
{
|
|
60843
|
+
"name": "groups",
|
|
60844
|
+
"type": {
|
|
60845
|
+
"text": "CriteriaGroup[]"
|
|
60846
|
+
}
|
|
60847
|
+
}
|
|
60848
|
+
],
|
|
60849
|
+
"description": "Converts validated CriteriaGroup[] to a Groovy criteria string using CriteriaBuilder.\nGroups are AND-ed at top level. Within each group, clauses use group.logic (and/or).\nIf group.negated is true, the group's combined expression is wrapped in NOT."
|
|
60850
|
+
},
|
|
60851
|
+
{
|
|
60852
|
+
"kind": "variable",
|
|
60853
|
+
"name": "STRING_OPERATORS",
|
|
60854
|
+
"type": {
|
|
60855
|
+
"text": "CriteriaOperator[]"
|
|
60856
|
+
},
|
|
60857
|
+
"default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
|
|
60858
|
+
},
|
|
60859
|
+
{
|
|
60860
|
+
"kind": "variable",
|
|
60861
|
+
"name": "NUMERIC_OPERATORS",
|
|
60862
|
+
"type": {
|
|
60863
|
+
"text": "CriteriaOperator[]"
|
|
60864
|
+
},
|
|
60865
|
+
"default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
|
|
60866
|
+
},
|
|
60867
|
+
{
|
|
60868
|
+
"kind": "variable",
|
|
60869
|
+
"name": "DATE_OPERATORS",
|
|
60870
|
+
"type": {
|
|
60871
|
+
"text": "CriteriaOperator[]"
|
|
60872
|
+
},
|
|
60873
|
+
"default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
|
|
60874
|
+
},
|
|
60875
|
+
{
|
|
60876
|
+
"kind": "variable",
|
|
60877
|
+
"name": "DATETIME_OPERATORS",
|
|
60878
|
+
"type": {
|
|
60879
|
+
"text": "CriteriaOperator[]"
|
|
60880
|
+
},
|
|
60881
|
+
"default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
|
|
60882
|
+
},
|
|
60883
|
+
{
|
|
60884
|
+
"kind": "variable",
|
|
60885
|
+
"name": "OPERATOR_DISPLAY_LABEL",
|
|
60886
|
+
"type": {
|
|
60887
|
+
"text": "Record<CriteriaOperator, string>"
|
|
60888
|
+
},
|
|
60889
|
+
"default": "{\n contains: 'contains',\n equals: '=',\n startsWith: 'starts with',\n endsWith: 'ends with',\n notEqual: '≠',\n greaterThan: '>',\n lessThan: '<',\n greaterThanOrEqual: '≥',\n lessThanOrEqual: '≤',\n dateIsToday: 'is today',\n dateIsAfter: 'after',\n dateIsBefore: 'before',\n dateIsEqual: '=',\n dateIsGreaterEqual: '≥',\n dateIsLessEqual: '≤',\n dateTimeIsAfter: 'after',\n dateTimeIsBefore: 'before',\n dateTimeIsGreaterEqual: '≥',\n dateTimeIsLessEqual: '≤',\n}"
|
|
60890
|
+
}
|
|
60891
|
+
],
|
|
60892
|
+
"exports": [
|
|
60893
|
+
{
|
|
60894
|
+
"kind": "js",
|
|
60895
|
+
"name": "groupsToCriteria",
|
|
60896
|
+
"declaration": {
|
|
60897
|
+
"name": "groupsToCriteria",
|
|
60898
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60899
|
+
}
|
|
60900
|
+
},
|
|
60901
|
+
{
|
|
60902
|
+
"kind": "js",
|
|
60903
|
+
"name": "STRING_OPERATORS",
|
|
60904
|
+
"declaration": {
|
|
60905
|
+
"name": "STRING_OPERATORS",
|
|
60906
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60907
|
+
}
|
|
60908
|
+
},
|
|
60909
|
+
{
|
|
60910
|
+
"kind": "js",
|
|
60911
|
+
"name": "NUMERIC_OPERATORS",
|
|
60912
|
+
"declaration": {
|
|
60913
|
+
"name": "NUMERIC_OPERATORS",
|
|
60914
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60915
|
+
}
|
|
60916
|
+
},
|
|
60917
|
+
{
|
|
60918
|
+
"kind": "js",
|
|
60919
|
+
"name": "DATE_OPERATORS",
|
|
60920
|
+
"declaration": {
|
|
60921
|
+
"name": "DATE_OPERATORS",
|
|
60922
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60923
|
+
}
|
|
60924
|
+
},
|
|
60925
|
+
{
|
|
60926
|
+
"kind": "js",
|
|
60927
|
+
"name": "DATETIME_OPERATORS",
|
|
60928
|
+
"declaration": {
|
|
60929
|
+
"name": "DATETIME_OPERATORS",
|
|
60930
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60931
|
+
}
|
|
60932
|
+
},
|
|
60933
|
+
{
|
|
60934
|
+
"kind": "js",
|
|
60935
|
+
"name": "OPERATOR_DISPLAY_LABEL",
|
|
60936
|
+
"declaration": {
|
|
60937
|
+
"name": "OPERATOR_DISPLAY_LABEL",
|
|
60938
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60939
|
+
}
|
|
60940
|
+
}
|
|
60941
|
+
]
|
|
60942
|
+
},
|
|
60943
|
+
{
|
|
60944
|
+
"kind": "javascript-module",
|
|
60945
|
+
"path": "src/ai-criteria-search/validation/schema-validator.ts",
|
|
60946
|
+
"declarations": [
|
|
60947
|
+
{
|
|
60948
|
+
"kind": "function",
|
|
60949
|
+
"name": "validateClauses",
|
|
60950
|
+
"return": {
|
|
60951
|
+
"type": {
|
|
60952
|
+
"text": "ValidationResult"
|
|
60953
|
+
}
|
|
60954
|
+
},
|
|
60955
|
+
"parameters": [
|
|
60956
|
+
{
|
|
60957
|
+
"name": "clauses",
|
|
60958
|
+
"type": {
|
|
60959
|
+
"text": "CriteriaClause[]"
|
|
60960
|
+
}
|
|
60961
|
+
},
|
|
60962
|
+
{
|
|
60963
|
+
"name": "fieldMetadata",
|
|
60964
|
+
"type": {
|
|
60965
|
+
"text": "MetadataDetail[] | string[]"
|
|
60966
|
+
}
|
|
60967
|
+
}
|
|
60968
|
+
]
|
|
60969
|
+
},
|
|
60970
|
+
{
|
|
60971
|
+
"kind": "function",
|
|
60972
|
+
"name": "validateGroups",
|
|
60973
|
+
"return": {
|
|
60974
|
+
"type": {
|
|
60975
|
+
"text": "GroupsValidationResult"
|
|
60976
|
+
}
|
|
60977
|
+
},
|
|
60978
|
+
"parameters": [
|
|
60979
|
+
{
|
|
60980
|
+
"name": "groups",
|
|
60981
|
+
"type": {
|
|
60982
|
+
"text": "CriteriaGroup[]"
|
|
60983
|
+
}
|
|
60984
|
+
},
|
|
60985
|
+
{
|
|
60986
|
+
"name": "fieldMetadata",
|
|
60987
|
+
"type": {
|
|
60988
|
+
"text": "MetadataDetail[] | string[]"
|
|
60989
|
+
}
|
|
60990
|
+
}
|
|
60991
|
+
],
|
|
60992
|
+
"description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
|
|
60993
|
+
}
|
|
60994
|
+
],
|
|
60995
|
+
"exports": [
|
|
60996
|
+
{
|
|
60997
|
+
"kind": "js",
|
|
60998
|
+
"name": "validateClauses",
|
|
60999
|
+
"declaration": {
|
|
61000
|
+
"name": "validateClauses",
|
|
61001
|
+
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
61002
|
+
}
|
|
61003
|
+
},
|
|
61004
|
+
{
|
|
61005
|
+
"kind": "js",
|
|
61006
|
+
"name": "validateGroups",
|
|
61007
|
+
"declaration": {
|
|
61008
|
+
"name": "validateGroups",
|
|
61009
|
+
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
61010
|
+
}
|
|
61011
|
+
}
|
|
61012
|
+
]
|
|
61013
|
+
},
|
|
60215
61014
|
{
|
|
60216
61015
|
"kind": "javascript-module",
|
|
60217
61016
|
"path": "src/environment-indicator/utils/configure.ts",
|