@nordhealth/components 3.14.0 → 3.14.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/custom-elements.json +2081 -2081
- package/lib/Message.js +1 -1
- package/lib/Message.js.map +1 -1
- package/lib/bundle.js +1 -1
- package/lib/bundle.js.map +1 -1
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -871,161 +871,6 @@
|
|
|
871
871
|
}
|
|
872
872
|
]
|
|
873
873
|
},
|
|
874
|
-
{
|
|
875
|
-
"kind": "javascript-module",
|
|
876
|
-
"path": "src/button-group/ButtonGroup.ts",
|
|
877
|
-
"declarations": [
|
|
878
|
-
{
|
|
879
|
-
"kind": "class",
|
|
880
|
-
"description": "Button groups are designed to bring together button controls that are of a similar nature. For example text formatting controls.",
|
|
881
|
-
"name": "ButtonGroup",
|
|
882
|
-
"cssProperties": [
|
|
883
|
-
{
|
|
884
|
-
"description": "Controls the rounded corners of the button group, using [border radius tokens](/tokens/#border-radius). Only relevant for the default variant.",
|
|
885
|
-
"name": "--n-button-group-border-radius",
|
|
886
|
-
"default": "var(--n-border-radius-s)"
|
|
887
|
-
},
|
|
888
|
-
{
|
|
889
|
-
"description": "Controls the surrounding shadow, using [box shadow tokens](/tokens/#box-shadow). Only relevant for the default variant.",
|
|
890
|
-
"name": "--n-button-group-box-shadow",
|
|
891
|
-
"default": "var(--n-box-shadow)"
|
|
892
|
-
}
|
|
893
|
-
],
|
|
894
|
-
"slots": [
|
|
895
|
-
{
|
|
896
|
-
"description": "The button group content",
|
|
897
|
-
"name": ""
|
|
898
|
-
}
|
|
899
|
-
],
|
|
900
|
-
"members": [
|
|
901
|
-
{
|
|
902
|
-
"kind": "field",
|
|
903
|
-
"name": "defaultSlot",
|
|
904
|
-
"privacy": "private",
|
|
905
|
-
"default": "new SlotController(this)"
|
|
906
|
-
},
|
|
907
|
-
{
|
|
908
|
-
"kind": "field",
|
|
909
|
-
"name": "dirController",
|
|
910
|
-
"privacy": "private",
|
|
911
|
-
"default": "new DirectionController(this)"
|
|
912
|
-
},
|
|
913
|
-
{
|
|
914
|
-
"kind": "field",
|
|
915
|
-
"name": "variant",
|
|
916
|
-
"type": {
|
|
917
|
-
"text": "\"default\" | \"spaced\""
|
|
918
|
-
},
|
|
919
|
-
"default": "\"default\"",
|
|
920
|
-
"description": "The style variant of the button group.",
|
|
921
|
-
"attribute": "variant",
|
|
922
|
-
"reflects": true
|
|
923
|
-
},
|
|
924
|
-
{
|
|
925
|
-
"kind": "field",
|
|
926
|
-
"name": "direction",
|
|
927
|
-
"type": {
|
|
928
|
-
"text": "\"vertical\" | \"horizontal\""
|
|
929
|
-
},
|
|
930
|
-
"default": "\"horizontal\"",
|
|
931
|
-
"description": "The direction of the button group.",
|
|
932
|
-
"attribute": "direction",
|
|
933
|
-
"reflects": true
|
|
934
|
-
},
|
|
935
|
-
{
|
|
936
|
-
"kind": "field",
|
|
937
|
-
"name": "wrap",
|
|
938
|
-
"type": {
|
|
939
|
-
"text": "boolean"
|
|
940
|
-
},
|
|
941
|
-
"default": "false",
|
|
942
|
-
"description": "Defines whether the buttons are forced in a single line\nor can be flowed into multiple lines (only applied when variant is set to `spaced`).",
|
|
943
|
-
"attribute": "wrap",
|
|
944
|
-
"reflects": true
|
|
945
|
-
},
|
|
946
|
-
{
|
|
947
|
-
"kind": "field",
|
|
948
|
-
"name": "role",
|
|
949
|
-
"type": {
|
|
950
|
-
"text": "string"
|
|
951
|
-
},
|
|
952
|
-
"default": "\"group\"",
|
|
953
|
-
"description": "The appropriate role for the containing element.",
|
|
954
|
-
"attribute": "role",
|
|
955
|
-
"reflects": true
|
|
956
|
-
}
|
|
957
|
-
],
|
|
958
|
-
"attributes": [
|
|
959
|
-
{
|
|
960
|
-
"name": "variant",
|
|
961
|
-
"type": {
|
|
962
|
-
"text": "\"default\" | \"spaced\""
|
|
963
|
-
},
|
|
964
|
-
"default": "\"default\"",
|
|
965
|
-
"description": "The style variant of the button group.",
|
|
966
|
-
"fieldName": "variant"
|
|
967
|
-
},
|
|
968
|
-
{
|
|
969
|
-
"name": "direction",
|
|
970
|
-
"type": {
|
|
971
|
-
"text": "\"vertical\" | \"horizontal\""
|
|
972
|
-
},
|
|
973
|
-
"default": "\"horizontal\"",
|
|
974
|
-
"description": "The direction of the button group.",
|
|
975
|
-
"fieldName": "direction"
|
|
976
|
-
},
|
|
977
|
-
{
|
|
978
|
-
"name": "wrap",
|
|
979
|
-
"type": {
|
|
980
|
-
"text": "boolean"
|
|
981
|
-
},
|
|
982
|
-
"default": "false",
|
|
983
|
-
"description": "Defines whether the buttons are forced in a single line\nor can be flowed into multiple lines (only applied when variant is set to `spaced`).",
|
|
984
|
-
"fieldName": "wrap"
|
|
985
|
-
},
|
|
986
|
-
{
|
|
987
|
-
"name": "role",
|
|
988
|
-
"type": {
|
|
989
|
-
"text": "string"
|
|
990
|
-
},
|
|
991
|
-
"default": "\"group\"",
|
|
992
|
-
"description": "The appropriate role for the containing element.",
|
|
993
|
-
"fieldName": "role"
|
|
994
|
-
}
|
|
995
|
-
],
|
|
996
|
-
"superclass": {
|
|
997
|
-
"name": "LitElement",
|
|
998
|
-
"package": "lit"
|
|
999
|
-
},
|
|
1000
|
-
"localization": [],
|
|
1001
|
-
"status": "new",
|
|
1002
|
-
"category": "structure",
|
|
1003
|
-
"readme": "## Usage\n\nThis section includes guidelines for designers and developers about the usage of this component in different contexts.\n\n<div class=\"n-usage n-usage-do\">\n\n### Do\n\n- Use to group together buttons, or dropdowns, of a similar nature or purpose.\n- Use the appropriate `role` attribute on the button group to provide additional semantics.\n- Use an `aria-labelledby` attribute referencing another element to best explain the contents of the button group.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t add components other than buttons, dropdowns and in some instances visually hidden components to the button group.\n- Don’t skip the addition of an appropriate label if the added `role` attribute value calls for it.\n- Don’t use for building grid based layouts.\n\n</div>\n\n---\n\n## Content guidelines\n\nButton labels should be clear, accurate and predictable. It should be possible for the user to understand what will happen when they click a button:\n\n<div class=\"n-usage n-usage-do\">View user settings</div>\n<div class=\"n-usage n-usage-dont\">Click here</div>\n\nWhen writing button labels, always write them in sentence case, not title case. The first word should be capitalized and the rest lowercase (unless a proper noun):\n\n<div class=\"n-usage n-usage-do\">My tasks</div>\n<div class=\"n-usage n-usage-dont\">My Tasks</div>\n\nAvoid unnecessary words and articles in button labels, such as “the”, “an” or “a”:\n\n<div class=\"n-usage n-usage-do\">Add item</div>\n<div class=\"n-usage n-usage-dont\">Add an item</div>\n\n---\n\n## Variants\n\nThis section describes the different component variants, their purpose, and when to use each variant.\n\n| Name | Purpose |\n| --------- | --------------------------------------------- |\n| `default` | The default variant renders a group of segmented buttons to emphasize that they’re thematically-related. |\n| `spaced` | The spaced variant renders a gap between the buttons to space them out evenly. |\n",
|
|
1004
|
-
"examples": [],
|
|
1005
|
-
"dependencies": [],
|
|
1006
|
-
"tagName": "nord-button-group",
|
|
1007
|
-
"customElement": true
|
|
1008
|
-
}
|
|
1009
|
-
],
|
|
1010
|
-
"exports": [
|
|
1011
|
-
{
|
|
1012
|
-
"kind": "js",
|
|
1013
|
-
"name": "default",
|
|
1014
|
-
"declaration": {
|
|
1015
|
-
"name": "ButtonGroup",
|
|
1016
|
-
"module": "src/button-group/ButtonGroup.ts"
|
|
1017
|
-
}
|
|
1018
|
-
},
|
|
1019
|
-
{
|
|
1020
|
-
"kind": "custom-element-definition",
|
|
1021
|
-
"name": "nord-button-group",
|
|
1022
|
-
"declaration": {
|
|
1023
|
-
"name": "ButtonGroup",
|
|
1024
|
-
"module": "src/button-group/ButtonGroup.ts"
|
|
1025
|
-
}
|
|
1026
|
-
}
|
|
1027
|
-
]
|
|
1028
|
-
},
|
|
1029
874
|
{
|
|
1030
875
|
"kind": "javascript-module",
|
|
1031
876
|
"path": "src/button/Button.ts",
|
|
@@ -1638,99 +1483,254 @@
|
|
|
1638
1483
|
},
|
|
1639
1484
|
{
|
|
1640
1485
|
"kind": "javascript-module",
|
|
1641
|
-
"path": "src/
|
|
1486
|
+
"path": "src/button-group/ButtonGroup.ts",
|
|
1642
1487
|
"declarations": [
|
|
1643
1488
|
{
|
|
1644
1489
|
"kind": "class",
|
|
1645
|
-
"description": "
|
|
1646
|
-
"name": "
|
|
1490
|
+
"description": "Button groups are designed to bring together button controls that are of a similar nature. For example text formatting controls.",
|
|
1491
|
+
"name": "ButtonGroup",
|
|
1647
1492
|
"cssProperties": [
|
|
1648
1493
|
{
|
|
1649
|
-
"description": "Controls
|
|
1650
|
-
"name": "--n-
|
|
1651
|
-
"default": "var(--n-border-radius)"
|
|
1494
|
+
"description": "Controls the rounded corners of the button group, using [border radius tokens](/tokens/#border-radius). Only relevant for the default variant.",
|
|
1495
|
+
"name": "--n-button-group-border-radius",
|
|
1496
|
+
"default": "var(--n-border-radius-s)"
|
|
1652
1497
|
},
|
|
1653
1498
|
{
|
|
1654
|
-
"description": "Controls the surrounding shadow, using [box shadow tokens](/tokens/#box-shadow).",
|
|
1655
|
-
"name": "--n-
|
|
1656
|
-
"default": "var(--n-box-shadow
|
|
1499
|
+
"description": "Controls the surrounding shadow, using [box shadow tokens](/tokens/#box-shadow). Only relevant for the default variant.",
|
|
1500
|
+
"name": "--n-button-group-box-shadow",
|
|
1501
|
+
"default": "var(--n-box-shadow)"
|
|
1657
1502
|
}
|
|
1658
1503
|
],
|
|
1659
|
-
"
|
|
1660
|
-
{
|
|
1661
|
-
"kind": "field",
|
|
1662
|
-
"name": "monthSelectNode",
|
|
1663
|
-
"type": {
|
|
1664
|
-
"text": "HTMLElement"
|
|
1665
|
-
},
|
|
1666
|
-
"privacy": "private"
|
|
1667
|
-
},
|
|
1668
|
-
{
|
|
1669
|
-
"kind": "field",
|
|
1670
|
-
"name": "focusedDayNode",
|
|
1671
|
-
"type": {
|
|
1672
|
-
"text": "HTMLButtonElement"
|
|
1673
|
-
},
|
|
1674
|
-
"privacy": "private"
|
|
1675
|
-
},
|
|
1504
|
+
"slots": [
|
|
1676
1505
|
{
|
|
1677
|
-
"
|
|
1678
|
-
"name": "
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1506
|
+
"description": "The button group content",
|
|
1507
|
+
"name": ""
|
|
1508
|
+
}
|
|
1509
|
+
],
|
|
1510
|
+
"members": [
|
|
1682
1511
|
{
|
|
1683
1512
|
"kind": "field",
|
|
1684
|
-
"name": "
|
|
1513
|
+
"name": "defaultSlot",
|
|
1685
1514
|
"privacy": "private",
|
|
1686
|
-
"default": "new
|
|
1687
|
-
},
|
|
1688
|
-
{
|
|
1689
|
-
"kind": "field",
|
|
1690
|
-
"name": "shortcuts",
|
|
1691
|
-
"privacy": "private"
|
|
1515
|
+
"default": "new SlotController(this)"
|
|
1692
1516
|
},
|
|
1693
1517
|
{
|
|
1694
1518
|
"kind": "field",
|
|
1695
|
-
"name": "
|
|
1519
|
+
"name": "dirController",
|
|
1696
1520
|
"privacy": "private",
|
|
1697
|
-
"default": "new
|
|
1521
|
+
"default": "new DirectionController(this)"
|
|
1698
1522
|
},
|
|
1699
1523
|
{
|
|
1700
1524
|
"kind": "field",
|
|
1701
|
-
"name": "
|
|
1525
|
+
"name": "variant",
|
|
1702
1526
|
"type": {
|
|
1703
|
-
"text": "
|
|
1527
|
+
"text": "\"default\" | \"spaced\""
|
|
1704
1528
|
},
|
|
1705
|
-
"
|
|
1706
|
-
"description": "
|
|
1529
|
+
"default": "\"default\"",
|
|
1530
|
+
"description": "The style variant of the button group.",
|
|
1531
|
+
"attribute": "variant",
|
|
1532
|
+
"reflects": true
|
|
1707
1533
|
},
|
|
1708
1534
|
{
|
|
1709
1535
|
"kind": "field",
|
|
1710
|
-
"name": "
|
|
1536
|
+
"name": "direction",
|
|
1711
1537
|
"type": {
|
|
1712
|
-
"text": "
|
|
1538
|
+
"text": "\"vertical\" | \"horizontal\""
|
|
1713
1539
|
},
|
|
1714
|
-
"
|
|
1540
|
+
"default": "\"horizontal\"",
|
|
1541
|
+
"description": "The direction of the button group.",
|
|
1542
|
+
"attribute": "direction",
|
|
1543
|
+
"reflects": true
|
|
1715
1544
|
},
|
|
1716
1545
|
{
|
|
1717
1546
|
"kind": "field",
|
|
1718
|
-
"name": "
|
|
1547
|
+
"name": "wrap",
|
|
1719
1548
|
"type": {
|
|
1720
|
-
"text": "
|
|
1549
|
+
"text": "boolean"
|
|
1721
1550
|
},
|
|
1722
|
-
"
|
|
1551
|
+
"default": "false",
|
|
1552
|
+
"description": "Defines whether the buttons are forced in a single line\nor can be flowed into multiple lines (only applied when variant is set to `spaced`).",
|
|
1553
|
+
"attribute": "wrap",
|
|
1554
|
+
"reflects": true
|
|
1723
1555
|
},
|
|
1724
1556
|
{
|
|
1725
1557
|
"kind": "field",
|
|
1726
|
-
"name": "
|
|
1558
|
+
"name": "role",
|
|
1727
1559
|
"type": {
|
|
1728
|
-
"text": "string
|
|
1560
|
+
"text": "string"
|
|
1729
1561
|
},
|
|
1730
|
-
"
|
|
1731
|
-
|
|
1562
|
+
"default": "\"group\"",
|
|
1563
|
+
"description": "The appropriate role for the containing element.",
|
|
1564
|
+
"attribute": "role",
|
|
1565
|
+
"reflects": true
|
|
1566
|
+
}
|
|
1567
|
+
],
|
|
1568
|
+
"attributes": [
|
|
1732
1569
|
{
|
|
1733
|
-
"
|
|
1570
|
+
"name": "variant",
|
|
1571
|
+
"type": {
|
|
1572
|
+
"text": "\"default\" | \"spaced\""
|
|
1573
|
+
},
|
|
1574
|
+
"default": "\"default\"",
|
|
1575
|
+
"description": "The style variant of the button group.",
|
|
1576
|
+
"fieldName": "variant"
|
|
1577
|
+
},
|
|
1578
|
+
{
|
|
1579
|
+
"name": "direction",
|
|
1580
|
+
"type": {
|
|
1581
|
+
"text": "\"vertical\" | \"horizontal\""
|
|
1582
|
+
},
|
|
1583
|
+
"default": "\"horizontal\"",
|
|
1584
|
+
"description": "The direction of the button group.",
|
|
1585
|
+
"fieldName": "direction"
|
|
1586
|
+
},
|
|
1587
|
+
{
|
|
1588
|
+
"name": "wrap",
|
|
1589
|
+
"type": {
|
|
1590
|
+
"text": "boolean"
|
|
1591
|
+
},
|
|
1592
|
+
"default": "false",
|
|
1593
|
+
"description": "Defines whether the buttons are forced in a single line\nor can be flowed into multiple lines (only applied when variant is set to `spaced`).",
|
|
1594
|
+
"fieldName": "wrap"
|
|
1595
|
+
},
|
|
1596
|
+
{
|
|
1597
|
+
"name": "role",
|
|
1598
|
+
"type": {
|
|
1599
|
+
"text": "string"
|
|
1600
|
+
},
|
|
1601
|
+
"default": "\"group\"",
|
|
1602
|
+
"description": "The appropriate role for the containing element.",
|
|
1603
|
+
"fieldName": "role"
|
|
1604
|
+
}
|
|
1605
|
+
],
|
|
1606
|
+
"superclass": {
|
|
1607
|
+
"name": "LitElement",
|
|
1608
|
+
"package": "lit"
|
|
1609
|
+
},
|
|
1610
|
+
"localization": [],
|
|
1611
|
+
"status": "new",
|
|
1612
|
+
"category": "structure",
|
|
1613
|
+
"readme": "## Usage\n\nThis section includes guidelines for designers and developers about the usage of this component in different contexts.\n\n<div class=\"n-usage n-usage-do\">\n\n### Do\n\n- Use to group together buttons, or dropdowns, of a similar nature or purpose.\n- Use the appropriate `role` attribute on the button group to provide additional semantics.\n- Use an `aria-labelledby` attribute referencing another element to best explain the contents of the button group.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t add components other than buttons, dropdowns and in some instances visually hidden components to the button group.\n- Don’t skip the addition of an appropriate label if the added `role` attribute value calls for it.\n- Don’t use for building grid based layouts.\n\n</div>\n\n---\n\n## Content guidelines\n\nButton labels should be clear, accurate and predictable. It should be possible for the user to understand what will happen when they click a button:\n\n<div class=\"n-usage n-usage-do\">View user settings</div>\n<div class=\"n-usage n-usage-dont\">Click here</div>\n\nWhen writing button labels, always write them in sentence case, not title case. The first word should be capitalized and the rest lowercase (unless a proper noun):\n\n<div class=\"n-usage n-usage-do\">My tasks</div>\n<div class=\"n-usage n-usage-dont\">My Tasks</div>\n\nAvoid unnecessary words and articles in button labels, such as “the”, “an” or “a”:\n\n<div class=\"n-usage n-usage-do\">Add item</div>\n<div class=\"n-usage n-usage-dont\">Add an item</div>\n\n---\n\n## Variants\n\nThis section describes the different component variants, their purpose, and when to use each variant.\n\n| Name | Purpose |\n| --------- | --------------------------------------------- |\n| `default` | The default variant renders a group of segmented buttons to emphasize that they’re thematically-related. |\n| `spaced` | The spaced variant renders a gap between the buttons to space them out evenly. |\n",
|
|
1614
|
+
"examples": [],
|
|
1615
|
+
"dependencies": [],
|
|
1616
|
+
"tagName": "nord-button-group",
|
|
1617
|
+
"customElement": true
|
|
1618
|
+
}
|
|
1619
|
+
],
|
|
1620
|
+
"exports": [
|
|
1621
|
+
{
|
|
1622
|
+
"kind": "js",
|
|
1623
|
+
"name": "default",
|
|
1624
|
+
"declaration": {
|
|
1625
|
+
"name": "ButtonGroup",
|
|
1626
|
+
"module": "src/button-group/ButtonGroup.ts"
|
|
1627
|
+
}
|
|
1628
|
+
},
|
|
1629
|
+
{
|
|
1630
|
+
"kind": "custom-element-definition",
|
|
1631
|
+
"name": "nord-button-group",
|
|
1632
|
+
"declaration": {
|
|
1633
|
+
"name": "ButtonGroup",
|
|
1634
|
+
"module": "src/button-group/ButtonGroup.ts"
|
|
1635
|
+
}
|
|
1636
|
+
}
|
|
1637
|
+
]
|
|
1638
|
+
},
|
|
1639
|
+
{
|
|
1640
|
+
"kind": "javascript-module",
|
|
1641
|
+
"path": "src/calendar/Calendar.ts",
|
|
1642
|
+
"declarations": [
|
|
1643
|
+
{
|
|
1644
|
+
"kind": "class",
|
|
1645
|
+
"description": "Calendar allows user to pick a date. It comes with built-in\nfunctionality that allows you to set a minimum and a maximum allowed date.\nPlease note that the date must be passed in ISO-8601 format.",
|
|
1646
|
+
"name": "Calendar",
|
|
1647
|
+
"cssProperties": [
|
|
1648
|
+
{
|
|
1649
|
+
"description": "Controls how rounded the corners are, using [border radius tokens](/tokens/#border-radius).",
|
|
1650
|
+
"name": "--n-calendar-border-radius",
|
|
1651
|
+
"default": "var(--n-border-radius)"
|
|
1652
|
+
},
|
|
1653
|
+
{
|
|
1654
|
+
"description": "Controls the surrounding shadow, using [box shadow tokens](/tokens/#box-shadow).",
|
|
1655
|
+
"name": "--n-calendar-box-shadow",
|
|
1656
|
+
"default": "var(--n-box-shadow-popout)"
|
|
1657
|
+
}
|
|
1658
|
+
],
|
|
1659
|
+
"members": [
|
|
1660
|
+
{
|
|
1661
|
+
"kind": "field",
|
|
1662
|
+
"name": "monthSelectNode",
|
|
1663
|
+
"type": {
|
|
1664
|
+
"text": "HTMLElement"
|
|
1665
|
+
},
|
|
1666
|
+
"privacy": "private"
|
|
1667
|
+
},
|
|
1668
|
+
{
|
|
1669
|
+
"kind": "field",
|
|
1670
|
+
"name": "focusedDayNode",
|
|
1671
|
+
"type": {
|
|
1672
|
+
"text": "HTMLButtonElement"
|
|
1673
|
+
},
|
|
1674
|
+
"privacy": "private"
|
|
1675
|
+
},
|
|
1676
|
+
{
|
|
1677
|
+
"kind": "field",
|
|
1678
|
+
"name": "direction",
|
|
1679
|
+
"privacy": "private",
|
|
1680
|
+
"default": "new DirectionController(this)"
|
|
1681
|
+
},
|
|
1682
|
+
{
|
|
1683
|
+
"kind": "field",
|
|
1684
|
+
"name": "swipe",
|
|
1685
|
+
"privacy": "private",
|
|
1686
|
+
"default": "new SwipeController(this, {\n matchesGesture: isHorizontalSwipe,\n onSwipeEnd: ({ distX }) => this.addMonths(distX < 0 ? 1 : -1),\n })"
|
|
1687
|
+
},
|
|
1688
|
+
{
|
|
1689
|
+
"kind": "field",
|
|
1690
|
+
"name": "shortcuts",
|
|
1691
|
+
"privacy": "private"
|
|
1692
|
+
},
|
|
1693
|
+
{
|
|
1694
|
+
"kind": "field",
|
|
1695
|
+
"name": "localize",
|
|
1696
|
+
"privacy": "private",
|
|
1697
|
+
"default": "new LocalizeController<\"nord-calendar\">(this, {\n onLangChange: () => this.handleLangChange(),\n })"
|
|
1698
|
+
},
|
|
1699
|
+
{
|
|
1700
|
+
"kind": "field",
|
|
1701
|
+
"name": "dateFormatShort",
|
|
1702
|
+
"type": {
|
|
1703
|
+
"text": "Intl.DateTimeFormat"
|
|
1704
|
+
},
|
|
1705
|
+
"privacy": "private",
|
|
1706
|
+
"description": "Whilst dateAdapter is used for handling the formatting/parsing dates in the input,\nthese are used to format dates exclusively for the benefit of screen readers.\n\nWe prefer DateTimeFormat over date.toLocaleDateString, as the former has\nbetter performance when formatting large number of dates. See:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleDateString#Performance"
|
|
1707
|
+
},
|
|
1708
|
+
{
|
|
1709
|
+
"kind": "field",
|
|
1710
|
+
"name": "monthNames",
|
|
1711
|
+
"type": {
|
|
1712
|
+
"text": "string[]"
|
|
1713
|
+
},
|
|
1714
|
+
"privacy": "private"
|
|
1715
|
+
},
|
|
1716
|
+
{
|
|
1717
|
+
"kind": "field",
|
|
1718
|
+
"name": "monthNamesShort",
|
|
1719
|
+
"type": {
|
|
1720
|
+
"text": "string[]"
|
|
1721
|
+
},
|
|
1722
|
+
"privacy": "private"
|
|
1723
|
+
},
|
|
1724
|
+
{
|
|
1725
|
+
"kind": "field",
|
|
1726
|
+
"name": "dayNames",
|
|
1727
|
+
"type": {
|
|
1728
|
+
"text": "string[]"
|
|
1729
|
+
},
|
|
1730
|
+
"privacy": "private"
|
|
1731
|
+
},
|
|
1732
|
+
{
|
|
1733
|
+
"kind": "field",
|
|
1734
1734
|
"name": "dayNamesShort",
|
|
1735
1735
|
"type": {
|
|
1736
1736
|
"text": "string[]"
|
|
@@ -3626,1308 +3626,1046 @@
|
|
|
3626
3626
|
},
|
|
3627
3627
|
{
|
|
3628
3628
|
"kind": "javascript-module",
|
|
3629
|
-
"path": "src/
|
|
3629
|
+
"path": "src/common/attribute.ts",
|
|
3630
3630
|
"declarations": [
|
|
3631
3631
|
{
|
|
3632
|
-
"kind": "
|
|
3633
|
-
"
|
|
3634
|
-
"
|
|
3635
|
-
"members": [
|
|
3636
|
-
{
|
|
3637
|
-
"kind": "field",
|
|
3638
|
-
"name": "toggleButton",
|
|
3639
|
-
"type": {
|
|
3640
|
-
"text": "Button"
|
|
3641
|
-
},
|
|
3642
|
-
"privacy": "private"
|
|
3643
|
-
},
|
|
3632
|
+
"kind": "function",
|
|
3633
|
+
"name": "add",
|
|
3634
|
+
"parameters": [
|
|
3644
3635
|
{
|
|
3645
|
-
"
|
|
3646
|
-
"name": "closeButton",
|
|
3636
|
+
"name": "element",
|
|
3647
3637
|
"type": {
|
|
3648
|
-
"text": "
|
|
3649
|
-
}
|
|
3650
|
-
"privacy": "private"
|
|
3638
|
+
"text": "Element"
|
|
3639
|
+
}
|
|
3651
3640
|
},
|
|
3652
3641
|
{
|
|
3653
|
-
"
|
|
3654
|
-
"name": "calendar",
|
|
3642
|
+
"name": "attr",
|
|
3655
3643
|
"type": {
|
|
3656
|
-
"text": "
|
|
3657
|
-
}
|
|
3658
|
-
"privacy": "private"
|
|
3644
|
+
"text": "string"
|
|
3645
|
+
}
|
|
3659
3646
|
},
|
|
3660
3647
|
{
|
|
3661
|
-
"
|
|
3662
|
-
"name": "popout",
|
|
3648
|
+
"name": "token",
|
|
3663
3649
|
"type": {
|
|
3664
|
-
"text": "
|
|
3665
|
-
}
|
|
3666
|
-
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
|
|
3673
|
-
|
|
3674
|
-
{
|
|
3675
|
-
"kind": "field",
|
|
3676
|
-
"name": "localize",
|
|
3677
|
-
"privacy": "private",
|
|
3678
|
-
"default": "new LocalizeController<\"nord-date-picker\">(this, {\n onLangChange: () => this.createDateFormatters(),\n })"
|
|
3679
|
-
},
|
|
3650
|
+
"text": "string"
|
|
3651
|
+
}
|
|
3652
|
+
}
|
|
3653
|
+
],
|
|
3654
|
+
"description": "Carefully adds a token to a space-separated attribute\nSimilar to classList, but for any attribute."
|
|
3655
|
+
},
|
|
3656
|
+
{
|
|
3657
|
+
"kind": "function",
|
|
3658
|
+
"name": "remove",
|
|
3659
|
+
"parameters": [
|
|
3680
3660
|
{
|
|
3681
|
-
"
|
|
3682
|
-
"name": "dateFormatLong",
|
|
3661
|
+
"name": "element",
|
|
3683
3662
|
"type": {
|
|
3684
|
-
"text": "
|
|
3685
|
-
}
|
|
3686
|
-
"privacy": "private",
|
|
3687
|
-
"description": "Whilst dateAdapter is used for handling the formatting/parsing dates in the input,\nthese are used to format dates exclusively for the benefit of screen readers.\n\nWe prefer DateTimeFormat over date.toLocaleDateString, as the former has\nbetter performance when formatting large number of dates. See:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleDateString#Performance"
|
|
3663
|
+
"text": "Element"
|
|
3664
|
+
}
|
|
3688
3665
|
},
|
|
3689
3666
|
{
|
|
3690
|
-
"
|
|
3691
|
-
"name": "value",
|
|
3667
|
+
"name": "attr",
|
|
3692
3668
|
"type": {
|
|
3693
3669
|
"text": "string"
|
|
3694
|
-
},
|
|
3695
|
-
"default": "\"\"",
|
|
3696
|
-
"description": "Date value. Must be in IS0-8601 format: YYYY-MM-DD.",
|
|
3697
|
-
"attribute": "value",
|
|
3698
|
-
"inheritedFrom": {
|
|
3699
|
-
"name": "InputMixin",
|
|
3700
|
-
"module": "src/common/mixins/InputMixin.ts"
|
|
3701
3670
|
}
|
|
3702
3671
|
},
|
|
3703
3672
|
{
|
|
3704
|
-
"
|
|
3705
|
-
"name": "valueAsDate",
|
|
3706
|
-
"type": {
|
|
3707
|
-
"text": "Date | undefined"
|
|
3708
|
-
},
|
|
3709
|
-
"description": "Get/set the value of the picker as a Date object."
|
|
3710
|
-
},
|
|
3711
|
-
{
|
|
3712
|
-
"kind": "field",
|
|
3713
|
-
"name": "valueAsNumber",
|
|
3673
|
+
"name": "token",
|
|
3714
3674
|
"type": {
|
|
3715
|
-
"text": "
|
|
3716
|
-
}
|
|
3717
|
-
|
|
3718
|
-
|
|
3675
|
+
"text": "string"
|
|
3676
|
+
}
|
|
3677
|
+
}
|
|
3678
|
+
],
|
|
3679
|
+
"description": "Carefully removes a token from a space-separated attribute.\nSimilar to classList, but for any attribute."
|
|
3680
|
+
}
|
|
3681
|
+
],
|
|
3682
|
+
"exports": [
|
|
3683
|
+
{
|
|
3684
|
+
"kind": "js",
|
|
3685
|
+
"name": "add",
|
|
3686
|
+
"declaration": {
|
|
3687
|
+
"name": "add",
|
|
3688
|
+
"module": "src/common/attribute.ts"
|
|
3689
|
+
}
|
|
3690
|
+
},
|
|
3691
|
+
{
|
|
3692
|
+
"kind": "js",
|
|
3693
|
+
"name": "remove",
|
|
3694
|
+
"declaration": {
|
|
3695
|
+
"name": "remove",
|
|
3696
|
+
"module": "src/common/attribute.ts"
|
|
3697
|
+
}
|
|
3698
|
+
}
|
|
3699
|
+
]
|
|
3700
|
+
},
|
|
3701
|
+
{
|
|
3702
|
+
"kind": "javascript-module",
|
|
3703
|
+
"path": "src/common/collection.ts",
|
|
3704
|
+
"declarations": [
|
|
3705
|
+
{
|
|
3706
|
+
"kind": "function",
|
|
3707
|
+
"name": "groupBy",
|
|
3708
|
+
"parameters": [
|
|
3719
3709
|
{
|
|
3720
|
-
"
|
|
3721
|
-
"name": "open",
|
|
3710
|
+
"name": "array",
|
|
3722
3711
|
"type": {
|
|
3723
|
-
"text": "
|
|
3712
|
+
"text": "Array<TObject>"
|
|
3724
3713
|
},
|
|
3725
|
-
"
|
|
3726
|
-
"description": "Controls whether date picker dialog is open or not.",
|
|
3727
|
-
"attribute": "open",
|
|
3728
|
-
"reflects": true
|
|
3714
|
+
"description": "the collection of objects to group"
|
|
3729
3715
|
},
|
|
3730
3716
|
{
|
|
3731
|
-
"
|
|
3732
|
-
"name": "min",
|
|
3717
|
+
"name": "key",
|
|
3733
3718
|
"type": {
|
|
3734
|
-
"text": "
|
|
3719
|
+
"text": "TKey"
|
|
3735
3720
|
},
|
|
3736
|
-
"description": "
|
|
3737
|
-
|
|
3738
|
-
|
|
3739
|
-
|
|
3721
|
+
"description": "the property to group by"
|
|
3722
|
+
}
|
|
3723
|
+
],
|
|
3724
|
+
"description": "Groups an array objects by property value",
|
|
3725
|
+
"return": {
|
|
3726
|
+
"type": {
|
|
3727
|
+
"text": ""
|
|
3728
|
+
}
|
|
3729
|
+
}
|
|
3730
|
+
},
|
|
3731
|
+
{
|
|
3732
|
+
"kind": "function",
|
|
3733
|
+
"name": "chunk",
|
|
3734
|
+
"return": {
|
|
3735
|
+
"type": {
|
|
3736
|
+
"text": ""
|
|
3737
|
+
}
|
|
3738
|
+
},
|
|
3739
|
+
"parameters": [
|
|
3740
3740
|
{
|
|
3741
|
-
"
|
|
3742
|
-
"name": "max",
|
|
3741
|
+
"name": "array",
|
|
3743
3742
|
"type": {
|
|
3744
|
-
"text": "
|
|
3745
|
-
}
|
|
3746
|
-
"description": "Maximum date allowed to be picked. Must be in IS0-8601 format: YYYY-MM-DD.\nThis setting can be used alone or together with the min property.",
|
|
3747
|
-
"attribute": "max",
|
|
3748
|
-
"reflects": true
|
|
3743
|
+
"text": "T[]"
|
|
3744
|
+
}
|
|
3749
3745
|
},
|
|
3750
3746
|
{
|
|
3751
|
-
"
|
|
3752
|
-
"name": "firstDayOfWeek",
|
|
3747
|
+
"name": "chunkSize",
|
|
3753
3748
|
"type": {
|
|
3754
|
-
"text": "
|
|
3755
|
-
}
|
|
3756
|
-
|
|
3757
|
-
|
|
3758
|
-
|
|
3749
|
+
"text": "number"
|
|
3750
|
+
}
|
|
3751
|
+
}
|
|
3752
|
+
],
|
|
3753
|
+
"description": "Split an array into chunks of the given size"
|
|
3754
|
+
},
|
|
3755
|
+
{
|
|
3756
|
+
"kind": "function",
|
|
3757
|
+
"name": "mapWithOffset",
|
|
3758
|
+
"return": {
|
|
3759
|
+
"type": {
|
|
3760
|
+
"text": ""
|
|
3761
|
+
}
|
|
3762
|
+
},
|
|
3763
|
+
"parameters": [
|
|
3764
|
+
{
|
|
3765
|
+
"name": "array",
|
|
3766
|
+
"type": {
|
|
3767
|
+
"text": "T[]"
|
|
3768
|
+
}
|
|
3759
3769
|
},
|
|
3760
3770
|
{
|
|
3761
|
-
"
|
|
3762
|
-
"name": "dateAdapter",
|
|
3771
|
+
"name": "startingOffset",
|
|
3763
3772
|
"type": {
|
|
3764
|
-
"text": "
|
|
3765
|
-
}
|
|
3766
|
-
"default": "isoAdapter",
|
|
3767
|
-
"description": "Date adapter, for custom parsing/formatting.\nMust be object with a `parse` function which accepts a `string` and returns a `Date`,\nand a `format` function which accepts a `Date` and returns a `string`.\nDefault is IS0-8601 parsing and formatting."
|
|
3773
|
+
"text": "number"
|
|
3774
|
+
}
|
|
3768
3775
|
},
|
|
3769
3776
|
{
|
|
3770
|
-
"
|
|
3771
|
-
"name": "isDateDisabled",
|
|
3777
|
+
"name": "mapFn",
|
|
3772
3778
|
"type": {
|
|
3773
|
-
"text": "
|
|
3774
|
-
}
|
|
3775
|
-
|
|
3776
|
-
|
|
3779
|
+
"text": "(item: T, i: number) => U"
|
|
3780
|
+
}
|
|
3781
|
+
}
|
|
3782
|
+
],
|
|
3783
|
+
"description": "maps over an array, starting at the given offset and wrapping around."
|
|
3784
|
+
}
|
|
3785
|
+
],
|
|
3786
|
+
"exports": [
|
|
3787
|
+
{
|
|
3788
|
+
"kind": "js",
|
|
3789
|
+
"name": "groupBy",
|
|
3790
|
+
"declaration": {
|
|
3791
|
+
"name": "groupBy",
|
|
3792
|
+
"module": "src/common/collection.ts"
|
|
3793
|
+
}
|
|
3794
|
+
},
|
|
3795
|
+
{
|
|
3796
|
+
"kind": "js",
|
|
3797
|
+
"name": "chunk",
|
|
3798
|
+
"declaration": {
|
|
3799
|
+
"name": "chunk",
|
|
3800
|
+
"module": "src/common/collection.ts"
|
|
3801
|
+
}
|
|
3802
|
+
},
|
|
3803
|
+
{
|
|
3804
|
+
"kind": "js",
|
|
3805
|
+
"name": "mapWithOffset",
|
|
3806
|
+
"declaration": {
|
|
3807
|
+
"name": "mapWithOffset",
|
|
3808
|
+
"module": "src/common/collection.ts"
|
|
3809
|
+
}
|
|
3810
|
+
}
|
|
3811
|
+
]
|
|
3812
|
+
},
|
|
3813
|
+
{
|
|
3814
|
+
"kind": "javascript-module",
|
|
3815
|
+
"path": "src/common/dates.ts",
|
|
3816
|
+
"declarations": [
|
|
3817
|
+
{
|
|
3818
|
+
"kind": "function",
|
|
3819
|
+
"name": "createDate",
|
|
3820
|
+
"return": {
|
|
3821
|
+
"type": {
|
|
3822
|
+
"text": "Date | undefined"
|
|
3823
|
+
}
|
|
3824
|
+
},
|
|
3825
|
+
"parameters": [
|
|
3826
|
+
{
|
|
3827
|
+
"name": "year",
|
|
3828
|
+
"type": {
|
|
3829
|
+
"text": "string"
|
|
3830
|
+
}
|
|
3777
3831
|
},
|
|
3778
3832
|
{
|
|
3779
|
-
"
|
|
3780
|
-
"name": "isDateHighlighted",
|
|
3833
|
+
"name": "month",
|
|
3781
3834
|
"type": {
|
|
3782
|
-
"text": "
|
|
3783
|
-
}
|
|
3784
|
-
"default": "isDateHighlighted",
|
|
3785
|
-
"description": "Controls which days are highlighted with a small indicator.\nReturning `false` will not show an indicator.\nReturning `true` will show the indicator, but without an accessible label. Therefore\nReturning a string will show the indicator, and use the string as accessible label.\nIt is recommended to return a string rather than `true` whenever possible."
|
|
3835
|
+
"text": "string"
|
|
3836
|
+
}
|
|
3786
3837
|
},
|
|
3787
3838
|
{
|
|
3788
|
-
"
|
|
3789
|
-
"name": "expand",
|
|
3839
|
+
"name": "day",
|
|
3790
3840
|
"type": {
|
|
3791
|
-
"text": "
|
|
3841
|
+
"text": "string"
|
|
3842
|
+
}
|
|
3843
|
+
}
|
|
3844
|
+
]
|
|
3845
|
+
},
|
|
3846
|
+
{
|
|
3847
|
+
"kind": "function",
|
|
3848
|
+
"name": "parseISODate",
|
|
3849
|
+
"return": {
|
|
3850
|
+
"type": {
|
|
3851
|
+
"text": "Date | undefined"
|
|
3852
|
+
}
|
|
3853
|
+
},
|
|
3854
|
+
"parameters": [
|
|
3855
|
+
{
|
|
3856
|
+
"name": "value",
|
|
3857
|
+
"type": {
|
|
3858
|
+
"text": "string"
|
|
3792
3859
|
},
|
|
3793
|
-
"
|
|
3794
|
-
|
|
3795
|
-
|
|
3796
|
-
|
|
3797
|
-
|
|
3860
|
+
"description": "date string in ISO format YYYY-MM-DD"
|
|
3861
|
+
}
|
|
3862
|
+
]
|
|
3863
|
+
},
|
|
3864
|
+
{
|
|
3865
|
+
"kind": "function",
|
|
3866
|
+
"name": "printISODate",
|
|
3867
|
+
"return": {
|
|
3868
|
+
"type": {
|
|
3869
|
+
"text": "string"
|
|
3870
|
+
}
|
|
3871
|
+
},
|
|
3872
|
+
"parameters": [
|
|
3798
3873
|
{
|
|
3799
|
-
"
|
|
3800
|
-
"
|
|
3801
|
-
|
|
3802
|
-
|
|
3874
|
+
"name": "date",
|
|
3875
|
+
"type": {
|
|
3876
|
+
"text": "Date"
|
|
3877
|
+
}
|
|
3878
|
+
}
|
|
3879
|
+
],
|
|
3880
|
+
"description": "print date in format YYYY-MM-DD"
|
|
3881
|
+
},
|
|
3882
|
+
{
|
|
3883
|
+
"kind": "function",
|
|
3884
|
+
"name": "getDayNames",
|
|
3885
|
+
"parameters": [
|
|
3803
3886
|
{
|
|
3804
|
-
"
|
|
3805
|
-
"
|
|
3806
|
-
|
|
3887
|
+
"name": "locale",
|
|
3888
|
+
"type": {
|
|
3889
|
+
"text": "string"
|
|
3890
|
+
}
|
|
3807
3891
|
},
|
|
3808
3892
|
{
|
|
3809
|
-
"
|
|
3810
|
-
"name": "focusLast",
|
|
3811
|
-
"privacy": "private"
|
|
3812
|
-
},
|
|
3813
|
-
{
|
|
3814
|
-
"kind": "field",
|
|
3815
|
-
"name": "handleDaySelect",
|
|
3816
|
-
"privacy": "private"
|
|
3817
|
-
},
|
|
3818
|
-
{
|
|
3819
|
-
"kind": "method",
|
|
3820
|
-
"name": "handleOpen",
|
|
3821
|
-
"privacy": "private"
|
|
3822
|
-
},
|
|
3823
|
-
{
|
|
3824
|
-
"kind": "method",
|
|
3825
|
-
"name": "handleClose",
|
|
3826
|
-
"privacy": "private"
|
|
3827
|
-
},
|
|
3828
|
-
{
|
|
3829
|
-
"kind": "field",
|
|
3830
|
-
"name": "handleBlur",
|
|
3831
|
-
"privacy": "private"
|
|
3832
|
-
},
|
|
3833
|
-
{
|
|
3834
|
-
"kind": "field",
|
|
3835
|
-
"name": "handleFocus",
|
|
3836
|
-
"privacy": "private"
|
|
3837
|
-
},
|
|
3838
|
-
{
|
|
3839
|
-
"kind": "field",
|
|
3840
|
-
"name": "handleInputChange",
|
|
3841
|
-
"privacy": "private"
|
|
3842
|
-
},
|
|
3843
|
-
{
|
|
3844
|
-
"kind": "method",
|
|
3845
|
-
"name": "setValue",
|
|
3846
|
-
"privacy": "private",
|
|
3847
|
-
"parameters": [
|
|
3848
|
-
{
|
|
3849
|
-
"name": "date",
|
|
3850
|
-
"optional": true,
|
|
3851
|
-
"type": {
|
|
3852
|
-
"text": "Date"
|
|
3853
|
-
}
|
|
3854
|
-
}
|
|
3855
|
-
]
|
|
3856
|
-
},
|
|
3857
|
-
{
|
|
3858
|
-
"kind": "method",
|
|
3859
|
-
"name": "hide",
|
|
3860
|
-
"parameters": [
|
|
3861
|
-
{
|
|
3862
|
-
"name": "moveFocusToButton",
|
|
3863
|
-
"optional": true,
|
|
3864
|
-
"type": {
|
|
3865
|
-
"text": "boolean"
|
|
3866
|
-
},
|
|
3867
|
-
"description": "A boolean option to move the focus to the original button that opens the popout."
|
|
3868
|
-
}
|
|
3869
|
-
],
|
|
3870
|
-
"description": "Hide the date picker programmatically."
|
|
3871
|
-
},
|
|
3872
|
-
{
|
|
3873
|
-
"kind": "method",
|
|
3874
|
-
"name": "show",
|
|
3875
|
-
"description": "Show the date picker programmatically."
|
|
3876
|
-
},
|
|
3877
|
-
{
|
|
3878
|
-
"kind": "field",
|
|
3879
|
-
"name": "size",
|
|
3893
|
+
"name": "weekday",
|
|
3880
3894
|
"type": {
|
|
3881
|
-
"text": "\"
|
|
3882
|
-
},
|
|
3883
|
-
"default": "\"m\"",
|
|
3884
|
-
"description": "The size of the component.",
|
|
3885
|
-
"attribute": "size",
|
|
3886
|
-
"reflects": true,
|
|
3887
|
-
"inheritedFrom": {
|
|
3888
|
-
"name": "SizeMixin",
|
|
3889
|
-
"module": "src/common/mixins/SizeMixin.ts"
|
|
3895
|
+
"text": "Exclude<Intl.DateTimeFormatOptions[\"weekday\"], undefined>"
|
|
3890
3896
|
}
|
|
3891
|
-
}
|
|
3897
|
+
}
|
|
3898
|
+
]
|
|
3899
|
+
},
|
|
3900
|
+
{
|
|
3901
|
+
"kind": "function",
|
|
3902
|
+
"name": "getMonthNames",
|
|
3903
|
+
"parameters": [
|
|
3892
3904
|
{
|
|
3893
|
-
"
|
|
3894
|
-
"
|
|
3895
|
-
|
|
3896
|
-
"default": "new SlotController(this, \"label\")",
|
|
3897
|
-
"inheritedFrom": {
|
|
3898
|
-
"name": "FormAssociatedMixin",
|
|
3899
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3905
|
+
"name": "locale",
|
|
3906
|
+
"type": {
|
|
3907
|
+
"text": "string"
|
|
3900
3908
|
}
|
|
3901
3909
|
},
|
|
3902
3910
|
{
|
|
3903
|
-
"
|
|
3904
|
-
"
|
|
3905
|
-
|
|
3906
|
-
"default": "new SlotController(this, \"error\")",
|
|
3907
|
-
"inheritedFrom": {
|
|
3908
|
-
"name": "FormAssociatedMixin",
|
|
3909
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3911
|
+
"name": "month",
|
|
3912
|
+
"type": {
|
|
3913
|
+
"text": "Exclude<Intl.DateTimeFormatOptions[\"month\"], undefined>"
|
|
3910
3914
|
}
|
|
3911
|
-
}
|
|
3915
|
+
}
|
|
3916
|
+
]
|
|
3917
|
+
},
|
|
3918
|
+
{
|
|
3919
|
+
"kind": "function",
|
|
3920
|
+
"name": "isEqualMonth",
|
|
3921
|
+
"return": {
|
|
3922
|
+
"type": {
|
|
3923
|
+
"text": "boolean"
|
|
3924
|
+
}
|
|
3925
|
+
},
|
|
3926
|
+
"parameters": [
|
|
3912
3927
|
{
|
|
3913
|
-
"
|
|
3914
|
-
"
|
|
3915
|
-
"
|
|
3916
|
-
|
|
3917
|
-
"inheritedFrom": {
|
|
3918
|
-
"name": "FormAssociatedMixin",
|
|
3919
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3928
|
+
"name": "a",
|
|
3929
|
+
"optional": true,
|
|
3930
|
+
"type": {
|
|
3931
|
+
"text": "Date"
|
|
3920
3932
|
}
|
|
3921
3933
|
},
|
|
3922
3934
|
{
|
|
3923
|
-
"
|
|
3924
|
-
"
|
|
3925
|
-
"
|
|
3926
|
-
|
|
3927
|
-
"inheritedFrom": {
|
|
3928
|
-
"name": "FormAssociatedMixin",
|
|
3929
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3935
|
+
"name": "b",
|
|
3936
|
+
"optional": true,
|
|
3937
|
+
"type": {
|
|
3938
|
+
"text": "Date"
|
|
3930
3939
|
}
|
|
3931
|
-
}
|
|
3940
|
+
}
|
|
3941
|
+
],
|
|
3942
|
+
"description": "Compare if two dates are in the same month of the same year."
|
|
3943
|
+
},
|
|
3944
|
+
{
|
|
3945
|
+
"kind": "function",
|
|
3946
|
+
"name": "isEqual",
|
|
3947
|
+
"return": {
|
|
3948
|
+
"type": {
|
|
3949
|
+
"text": "boolean"
|
|
3950
|
+
}
|
|
3951
|
+
},
|
|
3952
|
+
"parameters": [
|
|
3932
3953
|
{
|
|
3933
|
-
"
|
|
3934
|
-
"
|
|
3935
|
-
"
|
|
3936
|
-
|
|
3937
|
-
"inheritedFrom": {
|
|
3938
|
-
"name": "FormAssociatedMixin",
|
|
3939
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3954
|
+
"name": "a",
|
|
3955
|
+
"optional": true,
|
|
3956
|
+
"type": {
|
|
3957
|
+
"text": "Date"
|
|
3940
3958
|
}
|
|
3941
3959
|
},
|
|
3942
3960
|
{
|
|
3943
|
-
"
|
|
3944
|
-
"
|
|
3961
|
+
"name": "b",
|
|
3962
|
+
"optional": true,
|
|
3945
3963
|
"type": {
|
|
3946
|
-
"text": "
|
|
3947
|
-
},
|
|
3948
|
-
"privacy": "protected",
|
|
3949
|
-
"default": "\"input\"",
|
|
3950
|
-
"inheritedFrom": {
|
|
3951
|
-
"name": "FormAssociatedMixin",
|
|
3952
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3964
|
+
"text": "Date"
|
|
3953
3965
|
}
|
|
3954
|
-
}
|
|
3966
|
+
}
|
|
3967
|
+
],
|
|
3968
|
+
"description": "Compare if two dates are equal in terms of day, month, and year"
|
|
3969
|
+
},
|
|
3970
|
+
{
|
|
3971
|
+
"kind": "function",
|
|
3972
|
+
"name": "addDays",
|
|
3973
|
+
"return": {
|
|
3974
|
+
"type": {
|
|
3975
|
+
"text": "Date"
|
|
3976
|
+
}
|
|
3977
|
+
},
|
|
3978
|
+
"parameters": [
|
|
3955
3979
|
{
|
|
3956
|
-
"
|
|
3957
|
-
"name": "errorId",
|
|
3980
|
+
"name": "date",
|
|
3958
3981
|
"type": {
|
|
3959
|
-
"text": "
|
|
3960
|
-
},
|
|
3961
|
-
"privacy": "protected",
|
|
3962
|
-
"default": "\"error\"",
|
|
3963
|
-
"inheritedFrom": {
|
|
3964
|
-
"name": "FormAssociatedMixin",
|
|
3965
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3982
|
+
"text": "Date"
|
|
3966
3983
|
}
|
|
3967
3984
|
},
|
|
3968
3985
|
{
|
|
3969
|
-
"
|
|
3970
|
-
"name": "hintId",
|
|
3986
|
+
"name": "days",
|
|
3971
3987
|
"type": {
|
|
3972
|
-
"text": "
|
|
3973
|
-
},
|
|
3974
|
-
"privacy": "protected",
|
|
3975
|
-
"default": "\"hint\"",
|
|
3976
|
-
"inheritedFrom": {
|
|
3977
|
-
"name": "FormAssociatedMixin",
|
|
3978
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3988
|
+
"text": "number"
|
|
3979
3989
|
}
|
|
3980
|
-
}
|
|
3990
|
+
}
|
|
3991
|
+
]
|
|
3992
|
+
},
|
|
3993
|
+
{
|
|
3994
|
+
"kind": "function",
|
|
3995
|
+
"name": "addMonths",
|
|
3996
|
+
"return": {
|
|
3997
|
+
"type": {
|
|
3998
|
+
"text": "Date"
|
|
3999
|
+
}
|
|
4000
|
+
},
|
|
4001
|
+
"parameters": [
|
|
3981
4002
|
{
|
|
3982
|
-
"
|
|
3983
|
-
"name": "label",
|
|
4003
|
+
"name": "date",
|
|
3984
4004
|
"type": {
|
|
3985
|
-
"text": "
|
|
3986
|
-
},
|
|
3987
|
-
"default": "\"\"",
|
|
3988
|
-
"description": "Label for the input.",
|
|
3989
|
-
"attribute": "label",
|
|
3990
|
-
"reflects": true,
|
|
3991
|
-
"inheritedFrom": {
|
|
3992
|
-
"name": "FormAssociatedMixin",
|
|
3993
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
4005
|
+
"text": "Date"
|
|
3994
4006
|
}
|
|
3995
4007
|
},
|
|
3996
4008
|
{
|
|
3997
|
-
"
|
|
3998
|
-
"name": "hint",
|
|
4009
|
+
"name": "months",
|
|
3999
4010
|
"type": {
|
|
4000
|
-
"text": "
|
|
4001
|
-
},
|
|
4002
|
-
"description": "Optional hint text to be displayed with the input. Alternatively use the hint slot.",
|
|
4003
|
-
"attribute": "hint",
|
|
4004
|
-
"reflects": true,
|
|
4005
|
-
"inheritedFrom": {
|
|
4006
|
-
"name": "FormAssociatedMixin",
|
|
4007
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
4011
|
+
"text": "number"
|
|
4008
4012
|
}
|
|
4009
|
-
}
|
|
4010
|
-
|
|
4011
|
-
|
|
4012
|
-
|
|
4013
|
-
|
|
4014
|
-
|
|
4015
|
-
|
|
4016
|
-
|
|
4017
|
-
"
|
|
4018
|
-
|
|
4019
|
-
|
|
4020
|
-
|
|
4021
|
-
"name": "FormAssociatedMixin",
|
|
4022
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
4023
|
-
}
|
|
4024
|
-
},
|
|
4013
|
+
}
|
|
4014
|
+
]
|
|
4015
|
+
},
|
|
4016
|
+
{
|
|
4017
|
+
"kind": "function",
|
|
4018
|
+
"name": "addYears",
|
|
4019
|
+
"return": {
|
|
4020
|
+
"type": {
|
|
4021
|
+
"text": "Date"
|
|
4022
|
+
}
|
|
4023
|
+
},
|
|
4024
|
+
"parameters": [
|
|
4025
4025
|
{
|
|
4026
|
-
"
|
|
4027
|
-
"name": "placeholder",
|
|
4026
|
+
"name": "date",
|
|
4028
4027
|
"type": {
|
|
4029
|
-
"text": "
|
|
4030
|
-
},
|
|
4031
|
-
"description": "Placeholder text to display within the input.",
|
|
4032
|
-
"attribute": "placeholder",
|
|
4033
|
-
"reflects": true,
|
|
4034
|
-
"inheritedFrom": {
|
|
4035
|
-
"name": "FormAssociatedMixin",
|
|
4036
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
4028
|
+
"text": "Date"
|
|
4037
4029
|
}
|
|
4038
4030
|
},
|
|
4039
4031
|
{
|
|
4040
|
-
"
|
|
4041
|
-
"name": "error",
|
|
4032
|
+
"name": "years",
|
|
4042
4033
|
"type": {
|
|
4043
|
-
"text": "
|
|
4044
|
-
},
|
|
4045
|
-
"description": "Optional error to be shown with the input. Alternatively use the error slot.",
|
|
4046
|
-
"attribute": "error",
|
|
4047
|
-
"reflects": true,
|
|
4048
|
-
"inheritedFrom": {
|
|
4049
|
-
"name": "FormAssociatedMixin",
|
|
4050
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
4034
|
+
"text": "number"
|
|
4051
4035
|
}
|
|
4052
|
-
}
|
|
4036
|
+
}
|
|
4037
|
+
]
|
|
4038
|
+
},
|
|
4039
|
+
{
|
|
4040
|
+
"kind": "function",
|
|
4041
|
+
"name": "startOfWeek",
|
|
4042
|
+
"return": {
|
|
4043
|
+
"type": {
|
|
4044
|
+
"text": "Date"
|
|
4045
|
+
}
|
|
4046
|
+
},
|
|
4047
|
+
"parameters": [
|
|
4053
4048
|
{
|
|
4054
|
-
"
|
|
4055
|
-
"name": "required",
|
|
4049
|
+
"name": "date",
|
|
4056
4050
|
"type": {
|
|
4057
|
-
"text": "
|
|
4058
|
-
},
|
|
4059
|
-
"default": "false",
|
|
4060
|
-
"description": "Determines whether the input is required or not.\nAn input marked as required will be announced as such to users of assistive technology.\nWhen using this property you need to also set “novalidate” attribute on a form element to prevent browser from displaying its own validation errors.",
|
|
4061
|
-
"attribute": "required",
|
|
4062
|
-
"reflects": true,
|
|
4063
|
-
"inheritedFrom": {
|
|
4064
|
-
"name": "FormAssociatedMixin",
|
|
4065
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
4051
|
+
"text": "Date"
|
|
4066
4052
|
}
|
|
4067
4053
|
},
|
|
4068
4054
|
{
|
|
4069
|
-
"
|
|
4070
|
-
"
|
|
4055
|
+
"name": "firstDayOfWeek",
|
|
4056
|
+
"default": "DaysOfWeek.Monday",
|
|
4071
4057
|
"type": {
|
|
4072
|
-
"text": "
|
|
4073
|
-
},
|
|
4074
|
-
"default": "false",
|
|
4075
|
-
"description": "Visually hide the required indicator, but still show\nrequired attribute to assistive technologies like screen readers.",
|
|
4076
|
-
"attribute": "hide-required",
|
|
4077
|
-
"reflects": true,
|
|
4078
|
-
"inheritedFrom": {
|
|
4079
|
-
"name": "FormAssociatedMixin",
|
|
4080
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
4058
|
+
"text": "DaysOfWeek"
|
|
4081
4059
|
}
|
|
4082
|
-
}
|
|
4060
|
+
}
|
|
4061
|
+
]
|
|
4062
|
+
},
|
|
4063
|
+
{
|
|
4064
|
+
"kind": "function",
|
|
4065
|
+
"name": "endOfWeek",
|
|
4066
|
+
"return": {
|
|
4067
|
+
"type": {
|
|
4068
|
+
"text": "Date"
|
|
4069
|
+
}
|
|
4070
|
+
},
|
|
4071
|
+
"parameters": [
|
|
4083
4072
|
{
|
|
4084
|
-
"
|
|
4085
|
-
"
|
|
4086
|
-
|
|
4087
|
-
"parameters": [
|
|
4088
|
-
{
|
|
4089
|
-
"name": "e",
|
|
4090
|
-
"type": {
|
|
4091
|
-
"text": "Event"
|
|
4092
|
-
}
|
|
4093
|
-
}
|
|
4094
|
-
],
|
|
4095
|
-
"inheritedFrom": {
|
|
4096
|
-
"name": "FormAssociatedMixin",
|
|
4097
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
4073
|
+
"name": "date",
|
|
4074
|
+
"type": {
|
|
4075
|
+
"text": "Date"
|
|
4098
4076
|
}
|
|
4099
4077
|
},
|
|
4100
4078
|
{
|
|
4101
|
-
"
|
|
4102
|
-
"
|
|
4103
|
-
"
|
|
4104
|
-
|
|
4105
|
-
{
|
|
4106
|
-
"name": "e",
|
|
4107
|
-
"type": {
|
|
4108
|
-
"text": "Event"
|
|
4109
|
-
}
|
|
4110
|
-
}
|
|
4111
|
-
],
|
|
4112
|
-
"inheritedFrom": {
|
|
4113
|
-
"name": "FormAssociatedMixin",
|
|
4114
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
4079
|
+
"name": "firstDayOfWeek",
|
|
4080
|
+
"default": "DaysOfWeek.Monday",
|
|
4081
|
+
"type": {
|
|
4082
|
+
"text": "DaysOfWeek"
|
|
4115
4083
|
}
|
|
4116
|
-
}
|
|
4084
|
+
}
|
|
4085
|
+
]
|
|
4086
|
+
},
|
|
4087
|
+
{
|
|
4088
|
+
"kind": "function",
|
|
4089
|
+
"name": "startOfMonth",
|
|
4090
|
+
"return": {
|
|
4091
|
+
"type": {
|
|
4092
|
+
"text": "Date"
|
|
4093
|
+
}
|
|
4094
|
+
},
|
|
4095
|
+
"parameters": [
|
|
4117
4096
|
{
|
|
4118
|
-
"
|
|
4119
|
-
"
|
|
4120
|
-
|
|
4121
|
-
"parameters": [
|
|
4122
|
-
{
|
|
4123
|
-
"name": "additionalContent",
|
|
4124
|
-
"optional": true,
|
|
4125
|
-
"type": {
|
|
4126
|
-
"text": "TemplateResult"
|
|
4127
|
-
}
|
|
4128
|
-
}
|
|
4129
|
-
],
|
|
4130
|
-
"inheritedFrom": {
|
|
4131
|
-
"name": "FormAssociatedMixin",
|
|
4132
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
4097
|
+
"name": "date",
|
|
4098
|
+
"type": {
|
|
4099
|
+
"text": "Date"
|
|
4133
4100
|
}
|
|
4134
|
-
}
|
|
4101
|
+
}
|
|
4102
|
+
]
|
|
4103
|
+
},
|
|
4104
|
+
{
|
|
4105
|
+
"kind": "function",
|
|
4106
|
+
"name": "endOfMonth",
|
|
4107
|
+
"return": {
|
|
4108
|
+
"type": {
|
|
4109
|
+
"text": "Date"
|
|
4110
|
+
}
|
|
4111
|
+
},
|
|
4112
|
+
"parameters": [
|
|
4135
4113
|
{
|
|
4136
|
-
"
|
|
4137
|
-
"
|
|
4138
|
-
|
|
4139
|
-
"inheritedFrom": {
|
|
4140
|
-
"name": "FormAssociatedMixin",
|
|
4141
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
4114
|
+
"name": "date",
|
|
4115
|
+
"type": {
|
|
4116
|
+
"text": "Date"
|
|
4142
4117
|
}
|
|
4143
|
-
}
|
|
4118
|
+
}
|
|
4119
|
+
]
|
|
4120
|
+
},
|
|
4121
|
+
{
|
|
4122
|
+
"kind": "function",
|
|
4123
|
+
"name": "setMonth",
|
|
4124
|
+
"return": {
|
|
4125
|
+
"type": {
|
|
4126
|
+
"text": "Date"
|
|
4127
|
+
}
|
|
4128
|
+
},
|
|
4129
|
+
"parameters": [
|
|
4144
4130
|
{
|
|
4145
|
-
"
|
|
4146
|
-
"
|
|
4147
|
-
|
|
4148
|
-
"inheritedFrom": {
|
|
4149
|
-
"name": "FormAssociatedMixin",
|
|
4150
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
4131
|
+
"name": "date",
|
|
4132
|
+
"type": {
|
|
4133
|
+
"text": "Date"
|
|
4151
4134
|
}
|
|
4152
4135
|
},
|
|
4153
4136
|
{
|
|
4154
|
-
"
|
|
4155
|
-
"
|
|
4156
|
-
|
|
4157
|
-
"inheritedFrom": {
|
|
4158
|
-
"name": "FormAssociatedMixin",
|
|
4159
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
4137
|
+
"name": "month",
|
|
4138
|
+
"type": {
|
|
4139
|
+
"text": "number"
|
|
4160
4140
|
}
|
|
4161
|
-
}
|
|
4141
|
+
}
|
|
4142
|
+
]
|
|
4143
|
+
},
|
|
4144
|
+
{
|
|
4145
|
+
"kind": "function",
|
|
4146
|
+
"name": "setYear",
|
|
4147
|
+
"return": {
|
|
4148
|
+
"type": {
|
|
4149
|
+
"text": "Date"
|
|
4150
|
+
}
|
|
4151
|
+
},
|
|
4152
|
+
"parameters": [
|
|
4162
4153
|
{
|
|
4163
|
-
"
|
|
4164
|
-
"
|
|
4165
|
-
|
|
4166
|
-
"readonly": true,
|
|
4167
|
-
"inheritedFrom": {
|
|
4168
|
-
"name": "FormAssociatedMixin",
|
|
4169
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
4154
|
+
"name": "date",
|
|
4155
|
+
"type": {
|
|
4156
|
+
"text": "Date"
|
|
4170
4157
|
}
|
|
4171
4158
|
},
|
|
4172
4159
|
{
|
|
4173
|
-
"
|
|
4174
|
-
"
|
|
4175
|
-
|
|
4176
|
-
"readonly": true,
|
|
4177
|
-
"inheritedFrom": {
|
|
4178
|
-
"name": "FormAssociatedMixin",
|
|
4179
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
4160
|
+
"name": "year",
|
|
4161
|
+
"type": {
|
|
4162
|
+
"text": "number"
|
|
4180
4163
|
}
|
|
4181
|
-
}
|
|
4164
|
+
}
|
|
4165
|
+
]
|
|
4166
|
+
},
|
|
4167
|
+
{
|
|
4168
|
+
"kind": "function",
|
|
4169
|
+
"name": "clamp",
|
|
4170
|
+
"return": {
|
|
4171
|
+
"type": {
|
|
4172
|
+
"text": "Date"
|
|
4173
|
+
}
|
|
4174
|
+
},
|
|
4175
|
+
"parameters": [
|
|
4182
4176
|
{
|
|
4183
|
-
"
|
|
4184
|
-
"name": "readonly",
|
|
4177
|
+
"name": "date",
|
|
4185
4178
|
"type": {
|
|
4186
|
-
"text": "
|
|
4187
|
-
},
|
|
4188
|
-
"default": "false",
|
|
4189
|
-
"description": "Makes the component readonly, so that it is not editable.\nReadonly differs from disabled in that readonly fields are still focusable and will be submitted with a form.",
|
|
4190
|
-
"attribute": "readonly",
|
|
4191
|
-
"reflects": true,
|
|
4192
|
-
"inheritedFrom": {
|
|
4193
|
-
"name": "ReadonlyMixin",
|
|
4194
|
-
"module": "src/common/mixins/ReadonlyMixin.ts"
|
|
4179
|
+
"text": "Date"
|
|
4195
4180
|
}
|
|
4196
4181
|
},
|
|
4197
4182
|
{
|
|
4198
|
-
"
|
|
4199
|
-
"
|
|
4183
|
+
"name": "min",
|
|
4184
|
+
"optional": true,
|
|
4200
4185
|
"type": {
|
|
4201
|
-
"text": "
|
|
4202
|
-
},
|
|
4203
|
-
"default": "false",
|
|
4204
|
-
"description": "Makes the component disabled. This prevents users from\nbeing able to interact with the component, and conveys\nits inactive state to assistive technologies.",
|
|
4205
|
-
"attribute": "disabled",
|
|
4206
|
-
"reflects": true,
|
|
4207
|
-
"inheritedFrom": {
|
|
4208
|
-
"name": "InputMixin",
|
|
4209
|
-
"module": "src/common/mixins/InputMixin.ts"
|
|
4186
|
+
"text": "Date"
|
|
4210
4187
|
}
|
|
4211
4188
|
},
|
|
4212
4189
|
{
|
|
4213
|
-
"
|
|
4214
|
-
"
|
|
4190
|
+
"name": "max",
|
|
4191
|
+
"optional": true,
|
|
4215
4192
|
"type": {
|
|
4216
|
-
"text": "
|
|
4217
|
-
},
|
|
4218
|
-
"description": "The name of the form component.",
|
|
4219
|
-
"attribute": "name",
|
|
4220
|
-
"inheritedFrom": {
|
|
4221
|
-
"name": "InputMixin",
|
|
4222
|
-
"module": "src/common/mixins/InputMixin.ts"
|
|
4193
|
+
"text": "Date"
|
|
4223
4194
|
}
|
|
4224
|
-
}
|
|
4195
|
+
}
|
|
4196
|
+
],
|
|
4197
|
+
"description": "Ensures date is within range, returns min or max if out of bounds"
|
|
4198
|
+
},
|
|
4199
|
+
{
|
|
4200
|
+
"kind": "function",
|
|
4201
|
+
"name": "inRange",
|
|
4202
|
+
"return": {
|
|
4203
|
+
"type": {
|
|
4204
|
+
"text": "boolean"
|
|
4205
|
+
}
|
|
4206
|
+
},
|
|
4207
|
+
"parameters": [
|
|
4225
4208
|
{
|
|
4226
|
-
"
|
|
4227
|
-
"name": "formAncestor",
|
|
4209
|
+
"name": "date",
|
|
4228
4210
|
"type": {
|
|
4229
|
-
"text": "
|
|
4230
|
-
},
|
|
4231
|
-
"privacy": "private",
|
|
4232
|
-
"default": "null",
|
|
4233
|
-
"inheritedFrom": {
|
|
4234
|
-
"name": "InputMixin",
|
|
4235
|
-
"module": "src/common/mixins/InputMixin.ts"
|
|
4211
|
+
"text": "Date"
|
|
4236
4212
|
}
|
|
4237
4213
|
},
|
|
4238
4214
|
{
|
|
4239
|
-
"
|
|
4240
|
-
"
|
|
4215
|
+
"name": "min",
|
|
4216
|
+
"optional": true,
|
|
4241
4217
|
"type": {
|
|
4242
|
-
"text": "
|
|
4243
|
-
},
|
|
4244
|
-
"privacy": "protected",
|
|
4245
|
-
"inheritedFrom": {
|
|
4246
|
-
"name": "InputMixin",
|
|
4247
|
-
"module": "src/common/mixins/InputMixin.ts"
|
|
4218
|
+
"text": "Date"
|
|
4248
4219
|
}
|
|
4249
4220
|
},
|
|
4250
4221
|
{
|
|
4251
|
-
"
|
|
4252
|
-
"
|
|
4222
|
+
"name": "max",
|
|
4223
|
+
"optional": true,
|
|
4253
4224
|
"type": {
|
|
4254
|
-
"text": "
|
|
4255
|
-
},
|
|
4256
|
-
"description": "Gets the form, if any, associated with the form element.\nThe setter accepts a string, which is the id of the form.",
|
|
4257
|
-
"attribute": "form",
|
|
4258
|
-
"inheritedFrom": {
|
|
4259
|
-
"name": "InputMixin",
|
|
4260
|
-
"module": "src/common/mixins/InputMixin.ts"
|
|
4261
|
-
}
|
|
4262
|
-
},
|
|
4263
|
-
{
|
|
4264
|
-
"kind": "field",
|
|
4265
|
-
"name": "focusableRef",
|
|
4266
|
-
"privacy": "protected",
|
|
4267
|
-
"inheritedFrom": {
|
|
4268
|
-
"name": "FocusableMixin",
|
|
4269
|
-
"module": "src/common/mixins/FocusableMixin.ts"
|
|
4270
|
-
}
|
|
4271
|
-
},
|
|
4272
|
-
{
|
|
4273
|
-
"kind": "method",
|
|
4274
|
-
"name": "focus",
|
|
4275
|
-
"parameters": [
|
|
4276
|
-
{
|
|
4277
|
-
"name": "options",
|
|
4278
|
-
"optional": true,
|
|
4279
|
-
"type": {
|
|
4280
|
-
"text": "FocusOptions"
|
|
4281
|
-
},
|
|
4282
|
-
"description": "An object which controls aspects of the focusing process."
|
|
4283
|
-
}
|
|
4284
|
-
],
|
|
4285
|
-
"description": "Programmatically move focus to the component.",
|
|
4286
|
-
"inheritedFrom": {
|
|
4287
|
-
"name": "FocusableMixin",
|
|
4288
|
-
"module": "src/common/mixins/FocusableMixin.ts"
|
|
4289
|
-
}
|
|
4290
|
-
},
|
|
4291
|
-
{
|
|
4292
|
-
"kind": "method",
|
|
4293
|
-
"name": "blur",
|
|
4294
|
-
"description": "Programmatically remove focus from the component.",
|
|
4295
|
-
"inheritedFrom": {
|
|
4296
|
-
"name": "FocusableMixin",
|
|
4297
|
-
"module": "src/common/mixins/FocusableMixin.ts"
|
|
4298
|
-
}
|
|
4299
|
-
},
|
|
4300
|
-
{
|
|
4301
|
-
"kind": "method",
|
|
4302
|
-
"name": "click",
|
|
4303
|
-
"description": "Programmatically simulates a click on the component.",
|
|
4304
|
-
"inheritedFrom": {
|
|
4305
|
-
"name": "FocusableMixin",
|
|
4306
|
-
"module": "src/common/mixins/FocusableMixin.ts"
|
|
4225
|
+
"text": "Date"
|
|
4307
4226
|
}
|
|
4308
4227
|
}
|
|
4309
4228
|
],
|
|
4310
|
-
"
|
|
4229
|
+
"description": "Check if date is within a min and max"
|
|
4230
|
+
},
|
|
4231
|
+
{
|
|
4232
|
+
"kind": "function",
|
|
4233
|
+
"name": "getViewOfMonth",
|
|
4234
|
+
"return": {
|
|
4235
|
+
"type": {
|
|
4236
|
+
"text": "Date[]"
|
|
4237
|
+
}
|
|
4238
|
+
},
|
|
4239
|
+
"parameters": [
|
|
4311
4240
|
{
|
|
4312
|
-
"name": "
|
|
4241
|
+
"name": "date",
|
|
4313
4242
|
"type": {
|
|
4314
|
-
"text": "
|
|
4315
|
-
},
|
|
4316
|
-
"description": "Fired whenever the input's value is changed via user interaction.",
|
|
4317
|
-
"inheritedFrom": {
|
|
4318
|
-
"name": "FormAssociatedMixin",
|
|
4319
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
4243
|
+
"text": "Date"
|
|
4320
4244
|
}
|
|
4321
4245
|
},
|
|
4322
4246
|
{
|
|
4247
|
+
"name": "firstDayOfWeek",
|
|
4248
|
+
"default": "DaysOfWeek.Monday",
|
|
4323
4249
|
"type": {
|
|
4324
|
-
"text": "
|
|
4325
|
-
},
|
|
4326
|
-
"description": "Dispatched when the popout is opened.",
|
|
4327
|
-
"name": "open"
|
|
4328
|
-
},
|
|
4329
|
-
{
|
|
4330
|
-
"type": {
|
|
4331
|
-
"text": "NordEvent"
|
|
4332
|
-
},
|
|
4333
|
-
"description": "Dispatched when the popout is closed.",
|
|
4334
|
-
"name": "close"
|
|
4335
|
-
},
|
|
4336
|
-
{
|
|
4337
|
-
"type": {
|
|
4338
|
-
"text": "DateSelectEvent"
|
|
4339
|
-
},
|
|
4340
|
-
"description": "Dispatched when the calendar's focused date changes.",
|
|
4341
|
-
"name": "nord-focus-date"
|
|
4342
|
-
},
|
|
4343
|
-
{
|
|
4344
|
-
"name": "input",
|
|
4345
|
-
"type": {
|
|
4346
|
-
"text": "NordEvent"
|
|
4347
|
-
},
|
|
4348
|
-
"description": "Fired as the user types into the input.",
|
|
4349
|
-
"inheritedFrom": {
|
|
4350
|
-
"name": "FormAssociatedMixin",
|
|
4351
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
4250
|
+
"text": "DaysOfWeek"
|
|
4352
4251
|
}
|
|
4353
4252
|
}
|
|
4354
4253
|
],
|
|
4355
|
-
"
|
|
4356
|
-
{
|
|
4357
|
-
"name": "value",
|
|
4358
|
-
"type": {
|
|
4359
|
-
"text": "string"
|
|
4360
|
-
},
|
|
4361
|
-
"default": "\"\"",
|
|
4362
|
-
"description": "Date value. Must be in IS0-8601 format: YYYY-MM-DD.",
|
|
4363
|
-
"fieldName": "value",
|
|
4364
|
-
"inheritedFrom": {
|
|
4365
|
-
"name": "InputMixin",
|
|
4366
|
-
"module": "src/common/mixins/InputMixin.ts"
|
|
4367
|
-
}
|
|
4368
|
-
},
|
|
4369
|
-
{
|
|
4370
|
-
"name": "open",
|
|
4371
|
-
"type": {
|
|
4372
|
-
"text": "boolean"
|
|
4373
|
-
},
|
|
4374
|
-
"default": "false",
|
|
4375
|
-
"description": "Controls whether date picker dialog is open or not.",
|
|
4376
|
-
"fieldName": "open"
|
|
4377
|
-
},
|
|
4378
|
-
{
|
|
4379
|
-
"name": "min",
|
|
4380
|
-
"type": {
|
|
4381
|
-
"text": "string | undefined"
|
|
4382
|
-
},
|
|
4383
|
-
"description": "Minimum date allowed to be picked. Must be in IS0-8601 format: YYYY-MM-DD.\nThis setting can be used alone or together with the max property.",
|
|
4384
|
-
"fieldName": "min"
|
|
4385
|
-
},
|
|
4386
|
-
{
|
|
4387
|
-
"name": "max",
|
|
4388
|
-
"type": {
|
|
4389
|
-
"text": "string | undefined"
|
|
4390
|
-
},
|
|
4391
|
-
"description": "Maximum date allowed to be picked. Must be in IS0-8601 format: YYYY-MM-DD.\nThis setting can be used alone or together with the min property.",
|
|
4392
|
-
"fieldName": "max"
|
|
4393
|
-
},
|
|
4394
|
-
{
|
|
4395
|
-
"name": "first-day-of-week",
|
|
4396
|
-
"type": {
|
|
4397
|
-
"text": "DaysOfWeek"
|
|
4398
|
-
},
|
|
4399
|
-
"description": "Which day is considered first day of the week? `0` for Sunday, `1` for Monday, etc.\nDefault is Monday.",
|
|
4400
|
-
"fieldName": "firstDayOfWeek"
|
|
4401
|
-
},
|
|
4402
|
-
{
|
|
4403
|
-
"name": "expand",
|
|
4404
|
-
"type": {
|
|
4405
|
-
"text": "boolean"
|
|
4406
|
-
},
|
|
4407
|
-
"default": "false",
|
|
4408
|
-
"description": "Controls whether the date picker expands to fill the width of its container.",
|
|
4409
|
-
"fieldName": "expand"
|
|
4410
|
-
},
|
|
4411
|
-
{
|
|
4412
|
-
"name": "size",
|
|
4413
|
-
"type": {
|
|
4414
|
-
"text": "\"s\" | \"m\" | \"l\""
|
|
4415
|
-
},
|
|
4416
|
-
"default": "\"m\"",
|
|
4417
|
-
"description": "The size of the component.",
|
|
4418
|
-
"fieldName": "size",
|
|
4419
|
-
"inheritedFrom": {
|
|
4420
|
-
"name": "SizeMixin",
|
|
4421
|
-
"module": "src/common/mixins/SizeMixin.ts"
|
|
4422
|
-
}
|
|
4423
|
-
},
|
|
4424
|
-
{
|
|
4425
|
-
"name": "label",
|
|
4426
|
-
"type": {
|
|
4427
|
-
"text": "string"
|
|
4428
|
-
},
|
|
4429
|
-
"default": "\"\"",
|
|
4430
|
-
"description": "Label for the input.",
|
|
4431
|
-
"fieldName": "label",
|
|
4432
|
-
"inheritedFrom": {
|
|
4433
|
-
"name": "FormAssociatedMixin",
|
|
4434
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
4435
|
-
}
|
|
4436
|
-
},
|
|
4437
|
-
{
|
|
4438
|
-
"name": "hint",
|
|
4439
|
-
"type": {
|
|
4440
|
-
"text": "string | undefined"
|
|
4441
|
-
},
|
|
4442
|
-
"description": "Optional hint text to be displayed with the input. Alternatively use the hint slot.",
|
|
4443
|
-
"fieldName": "hint",
|
|
4444
|
-
"inheritedFrom": {
|
|
4445
|
-
"name": "FormAssociatedMixin",
|
|
4446
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
4447
|
-
}
|
|
4448
|
-
},
|
|
4449
|
-
{
|
|
4450
|
-
"name": "hide-label",
|
|
4451
|
-
"type": {
|
|
4452
|
-
"text": "boolean"
|
|
4453
|
-
},
|
|
4454
|
-
"default": "false",
|
|
4455
|
-
"description": "Visually hide the label, but still show it to assistive technologies like screen readers.",
|
|
4456
|
-
"fieldName": "hideLabel",
|
|
4457
|
-
"inheritedFrom": {
|
|
4458
|
-
"name": "FormAssociatedMixin",
|
|
4459
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
4460
|
-
}
|
|
4461
|
-
},
|
|
4462
|
-
{
|
|
4463
|
-
"name": "placeholder",
|
|
4464
|
-
"type": {
|
|
4465
|
-
"text": "string | undefined"
|
|
4466
|
-
},
|
|
4467
|
-
"description": "Placeholder text to display within the input.",
|
|
4468
|
-
"fieldName": "placeholder",
|
|
4469
|
-
"inheritedFrom": {
|
|
4470
|
-
"name": "FormAssociatedMixin",
|
|
4471
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
4472
|
-
}
|
|
4473
|
-
},
|
|
4474
|
-
{
|
|
4475
|
-
"name": "error",
|
|
4476
|
-
"type": {
|
|
4477
|
-
"text": "string | undefined"
|
|
4478
|
-
},
|
|
4479
|
-
"description": "Optional error to be shown with the input. Alternatively use the error slot.",
|
|
4480
|
-
"fieldName": "error",
|
|
4481
|
-
"inheritedFrom": {
|
|
4482
|
-
"name": "FormAssociatedMixin",
|
|
4483
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
4484
|
-
}
|
|
4485
|
-
},
|
|
4486
|
-
{
|
|
4487
|
-
"name": "required",
|
|
4488
|
-
"type": {
|
|
4489
|
-
"text": "boolean"
|
|
4490
|
-
},
|
|
4491
|
-
"default": "false",
|
|
4492
|
-
"description": "Determines whether the input is required or not.\nAn input marked as required will be announced as such to users of assistive technology.\nWhen using this property you need to also set “novalidate” attribute on a form element to prevent browser from displaying its own validation errors.",
|
|
4493
|
-
"fieldName": "required",
|
|
4494
|
-
"inheritedFrom": {
|
|
4495
|
-
"name": "FormAssociatedMixin",
|
|
4496
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
4497
|
-
}
|
|
4498
|
-
},
|
|
4499
|
-
{
|
|
4500
|
-
"name": "hide-required",
|
|
4501
|
-
"type": {
|
|
4502
|
-
"text": "boolean"
|
|
4503
|
-
},
|
|
4504
|
-
"default": "false",
|
|
4505
|
-
"description": "Visually hide the required indicator, but still show\nrequired attribute to assistive technologies like screen readers.",
|
|
4506
|
-
"fieldName": "hideRequired",
|
|
4507
|
-
"inheritedFrom": {
|
|
4508
|
-
"name": "FormAssociatedMixin",
|
|
4509
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
4510
|
-
}
|
|
4511
|
-
},
|
|
4512
|
-
{
|
|
4513
|
-
"name": "readonly",
|
|
4514
|
-
"type": {
|
|
4515
|
-
"text": "boolean"
|
|
4516
|
-
},
|
|
4517
|
-
"default": "false",
|
|
4518
|
-
"description": "Makes the component readonly, so that it is not editable.\nReadonly differs from disabled in that readonly fields are still focusable and will be submitted with a form.",
|
|
4519
|
-
"fieldName": "readonly",
|
|
4520
|
-
"inheritedFrom": {
|
|
4521
|
-
"name": "ReadonlyMixin",
|
|
4522
|
-
"module": "src/common/mixins/ReadonlyMixin.ts"
|
|
4523
|
-
}
|
|
4524
|
-
},
|
|
4525
|
-
{
|
|
4526
|
-
"name": "disabled",
|
|
4527
|
-
"type": {
|
|
4528
|
-
"text": "boolean"
|
|
4529
|
-
},
|
|
4530
|
-
"default": "false",
|
|
4531
|
-
"description": "Makes the component disabled. This prevents users from\nbeing able to interact with the component, and conveys\nits inactive state to assistive technologies.",
|
|
4532
|
-
"fieldName": "disabled",
|
|
4533
|
-
"inheritedFrom": {
|
|
4534
|
-
"name": "InputMixin",
|
|
4535
|
-
"module": "src/common/mixins/InputMixin.ts"
|
|
4536
|
-
}
|
|
4537
|
-
},
|
|
4538
|
-
{
|
|
4539
|
-
"name": "name",
|
|
4540
|
-
"type": {
|
|
4541
|
-
"text": "string | undefined"
|
|
4542
|
-
},
|
|
4543
|
-
"description": "The name of the form component.",
|
|
4544
|
-
"fieldName": "name",
|
|
4545
|
-
"inheritedFrom": {
|
|
4546
|
-
"name": "InputMixin",
|
|
4547
|
-
"module": "src/common/mixins/InputMixin.ts"
|
|
4548
|
-
}
|
|
4549
|
-
},
|
|
4550
|
-
{
|
|
4551
|
-
"name": "form",
|
|
4552
|
-
"type": {
|
|
4553
|
-
"text": "HTMLFormElement | null"
|
|
4554
|
-
},
|
|
4555
|
-
"description": "Gets the form, if any, associated with the form element.\nThe setter accepts a string, which is the id of the form.",
|
|
4556
|
-
"fieldName": "form",
|
|
4557
|
-
"inheritedFrom": {
|
|
4558
|
-
"name": "InputMixin",
|
|
4559
|
-
"module": "src/common/mixins/InputMixin.ts"
|
|
4560
|
-
}
|
|
4561
|
-
}
|
|
4562
|
-
],
|
|
4563
|
-
"mixins": [
|
|
4564
|
-
{
|
|
4565
|
-
"name": "SizeMixin",
|
|
4566
|
-
"module": "/src/common/mixins/SizeMixin.js"
|
|
4567
|
-
},
|
|
4568
|
-
{
|
|
4569
|
-
"name": "FormAssociatedMixin",
|
|
4570
|
-
"module": "/src/common/mixins/FormAssociatedMixin.js"
|
|
4571
|
-
},
|
|
4572
|
-
{
|
|
4573
|
-
"name": "ReadonlyMixin",
|
|
4574
|
-
"module": "/src/common/mixins/ReadonlyMixin.js"
|
|
4575
|
-
},
|
|
4576
|
-
{
|
|
4577
|
-
"name": "InputMixin",
|
|
4578
|
-
"module": "/src/common/mixins/InputMixin.js"
|
|
4579
|
-
},
|
|
4580
|
-
{
|
|
4581
|
-
"name": "FocusableMixin",
|
|
4582
|
-
"module": "/src/common/mixins/FocusableMixin.js"
|
|
4583
|
-
}
|
|
4584
|
-
],
|
|
4585
|
-
"superclass": {
|
|
4586
|
-
"name": "LitElement",
|
|
4587
|
-
"package": "lit"
|
|
4588
|
-
},
|
|
4589
|
-
"localization": [
|
|
4590
|
-
{
|
|
4591
|
-
"name": "modalHeading",
|
|
4592
|
-
"description": "Heading for the date picker's modal."
|
|
4593
|
-
},
|
|
4594
|
-
{
|
|
4595
|
-
"name": "closeLabel",
|
|
4596
|
-
"description": "Accessible label for the close button."
|
|
4597
|
-
},
|
|
4598
|
-
{
|
|
4599
|
-
"name": "buttonLabel",
|
|
4600
|
-
"description": "Accessible label for the toggle button that opens the date picker modal."
|
|
4601
|
-
},
|
|
4602
|
-
{
|
|
4603
|
-
"name": "selectedDateMessage",
|
|
4604
|
-
"description": "Describes the selected date. This message is appended to the toggle button label when a date is selected."
|
|
4605
|
-
}
|
|
4606
|
-
],
|
|
4607
|
-
"status": "ready",
|
|
4608
|
-
"category": "form",
|
|
4609
|
-
"readme": "## Usage\n\nThis section includes guidelines for designers and developers about the usage of this component in different contexts.\n\n<div class=\"n-usage n-usage-do\">\n\n### Do\n\n- Use when the user needs to choose a single date or a date range.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t use for entering date of birth. Use input component instead.\n- Don’t use to choose a date that is over 10 years in the future or the past.\n\n</div>\n\n---\n\n## Keyboard accessibility\n\nDate picker is built to closely follow [W3C Date Picker Dialog example](https://www.w3.org/TR/wai-aria-practices/examples/dialog-modal/datepicker-dialog.html) with some small exceptions to e.g. better support iOS VoiceOver and Android TalkBack.\n\n### Choose date button\n\n- `Space, Enter`: Opens the date picker dialog and moves focus to the first select menu in the dialog.\n\n### Date picker dialog\n\n- `Esc`: Closes the date picker dialog and moves focus back to the “choose date” button.\n- `Tab`: Moves focus to the next element in the dialog. Please note since the calendar uses `role=\"grid\"`, only one button in the calendar grid is in the tab sequence. Additionally, if focus is on the last focusable element, focus is next moved back to the first focusable element inside the date picker dialog.\n- `Shift + Tab`: Same as above, but in reverse order.\n\n### Date picker dialog: Month/year buttons\n\n- `Space, Enter`: Changes the month and/or year displayed.\n\n### Date picker dialog: Date grid\n\n- `Space, Enter`: Selects a date, closes the dialog, and moves focus back to the “Choose Date” button. Additionally updates the value of the date picker input with the selected date, and adds selected date to “Choose Date” button label.\n- `Arrow up`: Moves focus to the same day of the previous week.\n- `Arrow down`: Moves focus to the same day of the next week.\n- `Arrow right`: Moves focus to the next day. In right-to-left languages, moves focus to the previous day.\n- `Arrow left`: Moves focus to the previous day. In right-to-left languages, moves focus to the next day.\n- `Home`: Moves focus to the first day (e.g Monday) of the current week.\n- `End`: Moves focus to the last day (e.g. Sunday) of the current week.\n- `Page Up`: Changes the grid of dates to the previous month and sets focus on the same day of the same week.\n- `Shift + Page Up`: Changes the grid of dates to the previous year and sets focus on the same day of the same week.\n- `Page Down`: Changes the grid of dates to the next month and sets focus on the same day of the same week.\n- `Shift + Page Down`: Changes the grid of dates to the next year and sets focus on the same day of the same week.\n\n#### Date picker dialog: Close button\n\n- `Space, Enter`: Closes the dialog, moves focus to “choose date” button, but does not update the date in input.\n",
|
|
4610
|
-
"examples": [],
|
|
4611
|
-
"dependencies": [
|
|
4612
|
-
"icon",
|
|
4613
|
-
"input",
|
|
4614
|
-
"button",
|
|
4615
|
-
"visually-hidden",
|
|
4616
|
-
"popout",
|
|
4617
|
-
"stack",
|
|
4618
|
-
"calendar"
|
|
4619
|
-
],
|
|
4620
|
-
"tagName": "nord-date-picker",
|
|
4621
|
-
"customElement": true
|
|
4254
|
+
"description": "given a date, return an array of dates from a calendar perspective"
|
|
4622
4255
|
}
|
|
4623
4256
|
],
|
|
4624
4257
|
"exports": [
|
|
4625
4258
|
{
|
|
4626
4259
|
"kind": "js",
|
|
4627
|
-
"name": "
|
|
4260
|
+
"name": "createDate",
|
|
4628
4261
|
"declaration": {
|
|
4629
|
-
"name": "
|
|
4630
|
-
"module": "src/
|
|
4262
|
+
"name": "createDate",
|
|
4263
|
+
"module": "src/common/dates.ts"
|
|
4631
4264
|
}
|
|
4632
4265
|
},
|
|
4633
4266
|
{
|
|
4634
|
-
"kind": "
|
|
4635
|
-
"name": "
|
|
4267
|
+
"kind": "js",
|
|
4268
|
+
"name": "parseISODate",
|
|
4636
4269
|
"declaration": {
|
|
4637
|
-
"name": "
|
|
4638
|
-
"module": "src/
|
|
4270
|
+
"name": "parseISODate",
|
|
4271
|
+
"module": "src/common/dates.ts"
|
|
4639
4272
|
}
|
|
4640
|
-
}
|
|
4641
|
-
]
|
|
4642
|
-
},
|
|
4643
|
-
{
|
|
4644
|
-
"kind": "javascript-module",
|
|
4645
|
-
"path": "src/date-picker/date-adapter.ts",
|
|
4646
|
-
"declarations": [
|
|
4647
|
-
{
|
|
4648
|
-
"kind": "variable",
|
|
4649
|
-
"name": "isoAdapter",
|
|
4650
|
-
"type": {
|
|
4651
|
-
"text": "DateAdapter"
|
|
4652
|
-
},
|
|
4653
|
-
"default": "{ parse: parseISODate, format: printISODate }"
|
|
4654
|
-
}
|
|
4655
|
-
],
|
|
4656
|
-
"exports": [
|
|
4273
|
+
},
|
|
4657
4274
|
{
|
|
4658
4275
|
"kind": "js",
|
|
4659
|
-
"name": "
|
|
4276
|
+
"name": "printISODate",
|
|
4660
4277
|
"declaration": {
|
|
4661
|
-
"name": "
|
|
4662
|
-
"module": "src/
|
|
4278
|
+
"name": "printISODate",
|
|
4279
|
+
"module": "src/common/dates.ts"
|
|
4663
4280
|
}
|
|
4664
|
-
}
|
|
4665
|
-
]
|
|
4666
|
-
},
|
|
4667
|
-
{
|
|
4668
|
-
"kind": "javascript-module",
|
|
4669
|
-
"path": "src/date-picker/localization.ts",
|
|
4670
|
-
"declarations": [
|
|
4281
|
+
},
|
|
4671
4282
|
{
|
|
4672
|
-
"kind": "
|
|
4673
|
-
"name": "
|
|
4674
|
-
"
|
|
4675
|
-
"
|
|
4676
|
-
|
|
4677
|
-
|
|
4678
|
-
}
|
|
4679
|
-
],
|
|
4680
|
-
"exports": [
|
|
4283
|
+
"kind": "js",
|
|
4284
|
+
"name": "getDayNames",
|
|
4285
|
+
"declaration": {
|
|
4286
|
+
"name": "getDayNames",
|
|
4287
|
+
"module": "src/common/dates.ts"
|
|
4288
|
+
}
|
|
4289
|
+
},
|
|
4681
4290
|
{
|
|
4682
4291
|
"kind": "js",
|
|
4683
|
-
"name": "
|
|
4292
|
+
"name": "getMonthNames",
|
|
4684
4293
|
"declaration": {
|
|
4685
|
-
"name": "
|
|
4686
|
-
"module": "src/
|
|
4294
|
+
"name": "getMonthNames",
|
|
4295
|
+
"module": "src/common/dates.ts"
|
|
4296
|
+
}
|
|
4297
|
+
},
|
|
4298
|
+
{
|
|
4299
|
+
"kind": "js",
|
|
4300
|
+
"name": "isEqualMonth",
|
|
4301
|
+
"declaration": {
|
|
4302
|
+
"name": "isEqualMonth",
|
|
4303
|
+
"module": "src/common/dates.ts"
|
|
4304
|
+
}
|
|
4305
|
+
},
|
|
4306
|
+
{
|
|
4307
|
+
"kind": "js",
|
|
4308
|
+
"name": "isEqual",
|
|
4309
|
+
"declaration": {
|
|
4310
|
+
"name": "isEqual",
|
|
4311
|
+
"module": "src/common/dates.ts"
|
|
4312
|
+
}
|
|
4313
|
+
},
|
|
4314
|
+
{
|
|
4315
|
+
"kind": "js",
|
|
4316
|
+
"name": "addDays",
|
|
4317
|
+
"declaration": {
|
|
4318
|
+
"name": "addDays",
|
|
4319
|
+
"module": "src/common/dates.ts"
|
|
4320
|
+
}
|
|
4321
|
+
},
|
|
4322
|
+
{
|
|
4323
|
+
"kind": "js",
|
|
4324
|
+
"name": "addMonths",
|
|
4325
|
+
"declaration": {
|
|
4326
|
+
"name": "addMonths",
|
|
4327
|
+
"module": "src/common/dates.ts"
|
|
4328
|
+
}
|
|
4329
|
+
},
|
|
4330
|
+
{
|
|
4331
|
+
"kind": "js",
|
|
4332
|
+
"name": "addYears",
|
|
4333
|
+
"declaration": {
|
|
4334
|
+
"name": "addYears",
|
|
4335
|
+
"module": "src/common/dates.ts"
|
|
4336
|
+
}
|
|
4337
|
+
},
|
|
4338
|
+
{
|
|
4339
|
+
"kind": "js",
|
|
4340
|
+
"name": "startOfWeek",
|
|
4341
|
+
"declaration": {
|
|
4342
|
+
"name": "startOfWeek",
|
|
4343
|
+
"module": "src/common/dates.ts"
|
|
4344
|
+
}
|
|
4345
|
+
},
|
|
4346
|
+
{
|
|
4347
|
+
"kind": "js",
|
|
4348
|
+
"name": "endOfWeek",
|
|
4349
|
+
"declaration": {
|
|
4350
|
+
"name": "endOfWeek",
|
|
4351
|
+
"module": "src/common/dates.ts"
|
|
4352
|
+
}
|
|
4353
|
+
},
|
|
4354
|
+
{
|
|
4355
|
+
"kind": "js",
|
|
4356
|
+
"name": "startOfMonth",
|
|
4357
|
+
"declaration": {
|
|
4358
|
+
"name": "startOfMonth",
|
|
4359
|
+
"module": "src/common/dates.ts"
|
|
4360
|
+
}
|
|
4361
|
+
},
|
|
4362
|
+
{
|
|
4363
|
+
"kind": "js",
|
|
4364
|
+
"name": "endOfMonth",
|
|
4365
|
+
"declaration": {
|
|
4366
|
+
"name": "endOfMonth",
|
|
4367
|
+
"module": "src/common/dates.ts"
|
|
4368
|
+
}
|
|
4369
|
+
},
|
|
4370
|
+
{
|
|
4371
|
+
"kind": "js",
|
|
4372
|
+
"name": "setMonth",
|
|
4373
|
+
"declaration": {
|
|
4374
|
+
"name": "setMonth",
|
|
4375
|
+
"module": "src/common/dates.ts"
|
|
4376
|
+
}
|
|
4377
|
+
},
|
|
4378
|
+
{
|
|
4379
|
+
"kind": "js",
|
|
4380
|
+
"name": "setYear",
|
|
4381
|
+
"declaration": {
|
|
4382
|
+
"name": "setYear",
|
|
4383
|
+
"module": "src/common/dates.ts"
|
|
4384
|
+
}
|
|
4385
|
+
},
|
|
4386
|
+
{
|
|
4387
|
+
"kind": "js",
|
|
4388
|
+
"name": "clamp",
|
|
4389
|
+
"declaration": {
|
|
4390
|
+
"name": "clamp",
|
|
4391
|
+
"module": "src/common/dates.ts"
|
|
4392
|
+
}
|
|
4393
|
+
},
|
|
4394
|
+
{
|
|
4395
|
+
"kind": "js",
|
|
4396
|
+
"name": "inRange",
|
|
4397
|
+
"declaration": {
|
|
4398
|
+
"name": "inRange",
|
|
4399
|
+
"module": "src/common/dates.ts"
|
|
4400
|
+
}
|
|
4401
|
+
},
|
|
4402
|
+
{
|
|
4403
|
+
"kind": "js",
|
|
4404
|
+
"name": "getViewOfMonth",
|
|
4405
|
+
"declaration": {
|
|
4406
|
+
"name": "getViewOfMonth",
|
|
4407
|
+
"module": "src/common/dates.ts"
|
|
4687
4408
|
}
|
|
4688
4409
|
}
|
|
4689
4410
|
]
|
|
4690
4411
|
},
|
|
4691
4412
|
{
|
|
4692
4413
|
"kind": "javascript-module",
|
|
4693
|
-
"path": "src/common/
|
|
4414
|
+
"path": "src/common/events.ts",
|
|
4694
4415
|
"declarations": [
|
|
4416
|
+
{
|
|
4417
|
+
"kind": "class",
|
|
4418
|
+
"description": "A base class for events which defaults to bubbling and composed",
|
|
4419
|
+
"name": "NordEvent",
|
|
4420
|
+
"superclass": {
|
|
4421
|
+
"name": "Event",
|
|
4422
|
+
"module": "src/common/events.ts"
|
|
4423
|
+
}
|
|
4424
|
+
},
|
|
4695
4425
|
{
|
|
4696
4426
|
"kind": "function",
|
|
4697
|
-
"name": "
|
|
4427
|
+
"name": "oneEvent",
|
|
4698
4428
|
"parameters": [
|
|
4699
4429
|
{
|
|
4700
4430
|
"name": "element",
|
|
4701
4431
|
"type": {
|
|
4702
|
-
"text": "
|
|
4703
|
-
}
|
|
4704
|
-
},
|
|
4705
|
-
{
|
|
4706
|
-
"name": "attr",
|
|
4707
|
-
"type": {
|
|
4708
|
-
"text": "string"
|
|
4432
|
+
"text": "HTMLElement"
|
|
4709
4433
|
}
|
|
4710
4434
|
},
|
|
4711
4435
|
{
|
|
4712
|
-
"name": "
|
|
4436
|
+
"name": "type",
|
|
4713
4437
|
"type": {
|
|
4714
|
-
"text": "
|
|
4438
|
+
"text": "K"
|
|
4715
4439
|
}
|
|
4716
4440
|
}
|
|
4717
|
-
]
|
|
4718
|
-
"description": "Carefully adds a token to a space-separated attribute\nSimilar to classList, but for any attribute."
|
|
4441
|
+
]
|
|
4719
4442
|
},
|
|
4720
4443
|
{
|
|
4721
4444
|
"kind": "function",
|
|
4722
|
-
"name": "
|
|
4445
|
+
"name": "transition",
|
|
4723
4446
|
"parameters": [
|
|
4724
4447
|
{
|
|
4725
4448
|
"name": "element",
|
|
4726
4449
|
"type": {
|
|
4727
|
-
"text": "
|
|
4728
|
-
}
|
|
4729
|
-
},
|
|
4730
|
-
{
|
|
4731
|
-
"name": "attr",
|
|
4732
|
-
"type": {
|
|
4733
|
-
"text": "string"
|
|
4450
|
+
"text": "HTMLElement"
|
|
4734
4451
|
}
|
|
4735
|
-
}
|
|
4452
|
+
}
|
|
4453
|
+
]
|
|
4454
|
+
},
|
|
4455
|
+
{
|
|
4456
|
+
"kind": "function",
|
|
4457
|
+
"name": "animation",
|
|
4458
|
+
"parameters": [
|
|
4736
4459
|
{
|
|
4737
|
-
"name": "
|
|
4460
|
+
"name": "element",
|
|
4738
4461
|
"type": {
|
|
4739
|
-
"text": "
|
|
4462
|
+
"text": "HTMLElement"
|
|
4740
4463
|
}
|
|
4741
4464
|
}
|
|
4742
|
-
]
|
|
4743
|
-
"description": "Carefully removes a token from a space-separated attribute.\nSimilar to classList, but for any attribute."
|
|
4465
|
+
]
|
|
4744
4466
|
}
|
|
4745
4467
|
],
|
|
4746
4468
|
"exports": [
|
|
4747
4469
|
{
|
|
4748
4470
|
"kind": "js",
|
|
4749
|
-
"name": "
|
|
4471
|
+
"name": "NordEvent",
|
|
4750
4472
|
"declaration": {
|
|
4751
|
-
"name": "
|
|
4752
|
-
"module": "src/common/
|
|
4473
|
+
"name": "NordEvent",
|
|
4474
|
+
"module": "src/common/events.ts"
|
|
4753
4475
|
}
|
|
4754
4476
|
},
|
|
4755
4477
|
{
|
|
4756
4478
|
"kind": "js",
|
|
4757
|
-
"name": "
|
|
4479
|
+
"name": "oneEvent",
|
|
4758
4480
|
"declaration": {
|
|
4759
|
-
"name": "
|
|
4760
|
-
"module": "src/common/
|
|
4481
|
+
"name": "oneEvent",
|
|
4482
|
+
"module": "src/common/events.ts"
|
|
4483
|
+
}
|
|
4484
|
+
},
|
|
4485
|
+
{
|
|
4486
|
+
"kind": "js",
|
|
4487
|
+
"name": "transition",
|
|
4488
|
+
"declaration": {
|
|
4489
|
+
"name": "transition",
|
|
4490
|
+
"module": "src/common/events.ts"
|
|
4491
|
+
}
|
|
4492
|
+
},
|
|
4493
|
+
{
|
|
4494
|
+
"kind": "js",
|
|
4495
|
+
"name": "animation",
|
|
4496
|
+
"declaration": {
|
|
4497
|
+
"name": "animation",
|
|
4498
|
+
"module": "src/common/events.ts"
|
|
4761
4499
|
}
|
|
4762
4500
|
}
|
|
4763
4501
|
]
|
|
4764
4502
|
},
|
|
4765
4503
|
{
|
|
4766
4504
|
"kind": "javascript-module",
|
|
4767
|
-
"path": "src/common/
|
|
4505
|
+
"path": "src/common/focus.ts",
|
|
4768
4506
|
"declarations": [
|
|
4769
4507
|
{
|
|
4770
4508
|
"kind": "function",
|
|
4771
|
-
"name": "
|
|
4772
|
-
"parameters": [
|
|
4773
|
-
{
|
|
4774
|
-
"name": "array",
|
|
4775
|
-
"type": {
|
|
4776
|
-
"text": "Array<TObject>"
|
|
4777
|
-
},
|
|
4778
|
-
"description": "the collection of objects to group"
|
|
4779
|
-
},
|
|
4780
|
-
{
|
|
4781
|
-
"name": "key",
|
|
4782
|
-
"type": {
|
|
4783
|
-
"text": "TKey"
|
|
4784
|
-
},
|
|
4785
|
-
"description": "the property to group by"
|
|
4786
|
-
}
|
|
4787
|
-
],
|
|
4788
|
-
"description": "Groups an array objects by property value",
|
|
4789
|
-
"return": {
|
|
4790
|
-
"type": {
|
|
4791
|
-
"text": ""
|
|
4792
|
-
}
|
|
4793
|
-
}
|
|
4794
|
-
},
|
|
4795
|
-
{
|
|
4796
|
-
"kind": "function",
|
|
4797
|
-
"name": "chunk",
|
|
4509
|
+
"name": "getFocusedElement",
|
|
4798
4510
|
"return": {
|
|
4799
4511
|
"type": {
|
|
4800
|
-
"text": ""
|
|
4512
|
+
"text": "Element | undefined"
|
|
4801
4513
|
}
|
|
4802
4514
|
},
|
|
4803
4515
|
"parameters": [
|
|
4804
4516
|
{
|
|
4805
|
-
"name": "
|
|
4806
|
-
"type": {
|
|
4807
|
-
"text": "T[]"
|
|
4808
|
-
}
|
|
4809
|
-
},
|
|
4810
|
-
{
|
|
4811
|
-
"name": "chunkSize",
|
|
4517
|
+
"name": "root",
|
|
4812
4518
|
"type": {
|
|
4813
|
-
"text": "
|
|
4519
|
+
"text": "Document | ShadowRoot"
|
|
4814
4520
|
}
|
|
4815
4521
|
}
|
|
4816
4522
|
],
|
|
4817
|
-
"description": "
|
|
4818
|
-
}
|
|
4523
|
+
"description": "Gets the currently focused element, taking shadow roots into account."
|
|
4524
|
+
}
|
|
4525
|
+
],
|
|
4526
|
+
"exports": [
|
|
4527
|
+
{
|
|
4528
|
+
"kind": "js",
|
|
4529
|
+
"name": "getFocusedElement",
|
|
4530
|
+
"declaration": {
|
|
4531
|
+
"name": "getFocusedElement",
|
|
4532
|
+
"module": "src/common/focus.ts"
|
|
4533
|
+
}
|
|
4534
|
+
}
|
|
4535
|
+
]
|
|
4536
|
+
},
|
|
4537
|
+
{
|
|
4538
|
+
"kind": "javascript-module",
|
|
4539
|
+
"path": "src/common/form.ts",
|
|
4540
|
+
"declarations": [
|
|
4819
4541
|
{
|
|
4820
4542
|
"kind": "function",
|
|
4821
|
-
"name": "
|
|
4543
|
+
"name": "getSubmitButton",
|
|
4822
4544
|
"return": {
|
|
4823
4545
|
"type": {
|
|
4824
|
-
"text": ""
|
|
4546
|
+
"text": "HTMLButtonElement | null"
|
|
4825
4547
|
}
|
|
4826
4548
|
},
|
|
4827
4549
|
"parameters": [
|
|
4828
4550
|
{
|
|
4829
|
-
"name": "
|
|
4830
|
-
"type": {
|
|
4831
|
-
"text": "T[]"
|
|
4832
|
-
}
|
|
4833
|
-
},
|
|
4834
|
-
{
|
|
4835
|
-
"name": "startingOffset",
|
|
4836
|
-
"type": {
|
|
4837
|
-
"text": "number"
|
|
4838
|
-
}
|
|
4839
|
-
},
|
|
4840
|
-
{
|
|
4841
|
-
"name": "mapFn",
|
|
4551
|
+
"name": "form",
|
|
4842
4552
|
"type": {
|
|
4843
|
-
"text": "
|
|
4553
|
+
"text": "HTMLFormElement"
|
|
4844
4554
|
}
|
|
4845
4555
|
}
|
|
4846
4556
|
],
|
|
4847
|
-
"description": "
|
|
4557
|
+
"description": "Finds a form's submit button. First looking for a button inside form,\nand then looking for a button whose form attribute is equal to the ID of the form."
|
|
4848
4558
|
}
|
|
4849
4559
|
],
|
|
4850
4560
|
"exports": [
|
|
4851
4561
|
{
|
|
4852
4562
|
"kind": "js",
|
|
4853
|
-
"name": "
|
|
4563
|
+
"name": "getSubmitButton",
|
|
4854
4564
|
"declaration": {
|
|
4855
|
-
"name": "
|
|
4856
|
-
"module": "src/common/
|
|
4565
|
+
"name": "getSubmitButton",
|
|
4566
|
+
"module": "src/common/form.ts"
|
|
4857
4567
|
}
|
|
4858
|
-
}
|
|
4568
|
+
}
|
|
4569
|
+
]
|
|
4570
|
+
},
|
|
4571
|
+
{
|
|
4572
|
+
"kind": "javascript-module",
|
|
4573
|
+
"path": "src/common/fsm.ts",
|
|
4574
|
+
"declarations": [
|
|
4859
4575
|
{
|
|
4860
|
-
"kind": "
|
|
4861
|
-
"name": "
|
|
4862
|
-
"
|
|
4863
|
-
|
|
4864
|
-
|
|
4865
|
-
|
|
4866
|
-
|
|
4576
|
+
"kind": "function",
|
|
4577
|
+
"name": "fsm",
|
|
4578
|
+
"parameters": [
|
|
4579
|
+
{
|
|
4580
|
+
"name": "config",
|
|
4581
|
+
"type": {
|
|
4582
|
+
"text": "TTransitions"
|
|
4583
|
+
}
|
|
4584
|
+
}
|
|
4585
|
+
]
|
|
4586
|
+
}
|
|
4587
|
+
],
|
|
4588
|
+
"exports": [
|
|
4867
4589
|
{
|
|
4868
4590
|
"kind": "js",
|
|
4869
|
-
"name": "
|
|
4591
|
+
"name": "fsm",
|
|
4870
4592
|
"declaration": {
|
|
4871
|
-
"name": "
|
|
4872
|
-
"module": "src/common/
|
|
4593
|
+
"name": "fsm",
|
|
4594
|
+
"module": "src/common/fsm.ts"
|
|
4873
4595
|
}
|
|
4874
4596
|
}
|
|
4875
4597
|
]
|
|
4876
4598
|
},
|
|
4877
4599
|
{
|
|
4878
4600
|
"kind": "javascript-module",
|
|
4879
|
-
"path": "src/common/
|
|
4601
|
+
"path": "src/common/inert.ts",
|
|
4880
4602
|
"declarations": [
|
|
4881
4603
|
{
|
|
4882
4604
|
"kind": "function",
|
|
4883
|
-
"name": "
|
|
4884
|
-
"return": {
|
|
4885
|
-
"type": {
|
|
4886
|
-
"text": "Date | undefined"
|
|
4887
|
-
}
|
|
4888
|
-
},
|
|
4605
|
+
"name": "setInertAttributes",
|
|
4889
4606
|
"parameters": [
|
|
4890
4607
|
{
|
|
4891
|
-
"name": "
|
|
4892
|
-
"type": {
|
|
4893
|
-
"text": "string"
|
|
4894
|
-
}
|
|
4895
|
-
},
|
|
4896
|
-
{
|
|
4897
|
-
"name": "month",
|
|
4608
|
+
"name": "elements",
|
|
4898
4609
|
"type": {
|
|
4899
|
-
"text": "
|
|
4900
|
-
}
|
|
4610
|
+
"text": "Element[]"
|
|
4611
|
+
},
|
|
4612
|
+
"description": "The elements to set or remove the `inert` attribute on."
|
|
4901
4613
|
},
|
|
4902
4614
|
{
|
|
4903
|
-
"name": "
|
|
4615
|
+
"name": "enabled",
|
|
4904
4616
|
"type": {
|
|
4905
|
-
"text": "
|
|
4906
|
-
}
|
|
4617
|
+
"text": "boolean"
|
|
4618
|
+
},
|
|
4619
|
+
"description": "Whether to set or remove the `inert` attribute."
|
|
4907
4620
|
}
|
|
4908
|
-
]
|
|
4621
|
+
],
|
|
4622
|
+
"description": "Set or remove the `inert` attribute on all given elements."
|
|
4909
4623
|
},
|
|
4910
4624
|
{
|
|
4911
4625
|
"kind": "function",
|
|
4912
|
-
"name": "
|
|
4626
|
+
"name": "getElementsAround",
|
|
4913
4627
|
"return": {
|
|
4914
4628
|
"type": {
|
|
4915
|
-
"text": "
|
|
4629
|
+
"text": "Element[]"
|
|
4916
4630
|
}
|
|
4917
4631
|
},
|
|
4918
4632
|
"parameters": [
|
|
4919
4633
|
{
|
|
4920
|
-
"name": "
|
|
4634
|
+
"name": "element",
|
|
4921
4635
|
"type": {
|
|
4922
|
-
"text": "
|
|
4923
|
-
}
|
|
4924
|
-
"description": "date string in ISO format YYYY-MM-DD"
|
|
4636
|
+
"text": "Element"
|
|
4637
|
+
}
|
|
4925
4638
|
}
|
|
4926
|
-
]
|
|
4639
|
+
],
|
|
4640
|
+
"description": "Get all siblings of an element, including the siblings of its parents.\nUse this to find all elements that should be inert when a modal is open.\nAnd then use `setInertAttributes` to set or remove the `inert` attribute\non all of them."
|
|
4641
|
+
}
|
|
4642
|
+
],
|
|
4643
|
+
"exports": [
|
|
4644
|
+
{
|
|
4645
|
+
"kind": "js",
|
|
4646
|
+
"name": "setInertAttributes",
|
|
4647
|
+
"declaration": {
|
|
4648
|
+
"name": "setInertAttributes",
|
|
4649
|
+
"module": "src/common/inert.ts"
|
|
4650
|
+
}
|
|
4927
4651
|
},
|
|
4652
|
+
{
|
|
4653
|
+
"kind": "js",
|
|
4654
|
+
"name": "getElementsAround",
|
|
4655
|
+
"declaration": {
|
|
4656
|
+
"name": "getElementsAround",
|
|
4657
|
+
"module": "src/common/inert.ts"
|
|
4658
|
+
}
|
|
4659
|
+
}
|
|
4660
|
+
]
|
|
4661
|
+
},
|
|
4662
|
+
{
|
|
4663
|
+
"kind": "javascript-module",
|
|
4664
|
+
"path": "src/common/input.ts",
|
|
4665
|
+
"declarations": [
|
|
4928
4666
|
{
|
|
4929
4667
|
"kind": "function",
|
|
4930
|
-
"name": "
|
|
4668
|
+
"name": "cleanValue",
|
|
4931
4669
|
"return": {
|
|
4932
4670
|
"type": {
|
|
4933
4671
|
"text": "string"
|
|
@@ -4935,1152 +4673,1414 @@
|
|
|
4935
4673
|
},
|
|
4936
4674
|
"parameters": [
|
|
4937
4675
|
{
|
|
4938
|
-
"name": "
|
|
4939
|
-
"type": {
|
|
4940
|
-
"text": "Date"
|
|
4941
|
-
}
|
|
4942
|
-
}
|
|
4943
|
-
],
|
|
4944
|
-
"description": "print date in format YYYY-MM-DD"
|
|
4945
|
-
},
|
|
4946
|
-
{
|
|
4947
|
-
"kind": "function",
|
|
4948
|
-
"name": "getDayNames",
|
|
4949
|
-
"parameters": [
|
|
4950
|
-
{
|
|
4951
|
-
"name": "locale",
|
|
4676
|
+
"name": "inputEl",
|
|
4952
4677
|
"type": {
|
|
4953
|
-
"text": "
|
|
4678
|
+
"text": "HTMLInputElement"
|
|
4954
4679
|
}
|
|
4955
4680
|
},
|
|
4956
4681
|
{
|
|
4957
|
-
"name": "
|
|
4682
|
+
"name": "regex",
|
|
4958
4683
|
"type": {
|
|
4959
|
-
"text": "
|
|
4684
|
+
"text": "RegExp"
|
|
4960
4685
|
}
|
|
4961
4686
|
}
|
|
4962
4687
|
]
|
|
4963
|
-
}
|
|
4688
|
+
}
|
|
4689
|
+
],
|
|
4690
|
+
"exports": [
|
|
4691
|
+
{
|
|
4692
|
+
"kind": "js",
|
|
4693
|
+
"name": "cleanValue",
|
|
4694
|
+
"declaration": {
|
|
4695
|
+
"name": "cleanValue",
|
|
4696
|
+
"module": "src/common/input.ts"
|
|
4697
|
+
}
|
|
4698
|
+
}
|
|
4699
|
+
]
|
|
4700
|
+
},
|
|
4701
|
+
{
|
|
4702
|
+
"kind": "javascript-module",
|
|
4703
|
+
"path": "src/common/number.ts",
|
|
4704
|
+
"declarations": [
|
|
4964
4705
|
{
|
|
4965
4706
|
"kind": "function",
|
|
4966
|
-
"name": "
|
|
4707
|
+
"name": "wrap",
|
|
4967
4708
|
"parameters": [
|
|
4968
4709
|
{
|
|
4969
|
-
"name": "
|
|
4710
|
+
"name": "val",
|
|
4970
4711
|
"type": {
|
|
4971
|
-
"text": "
|
|
4712
|
+
"text": "number"
|
|
4972
4713
|
}
|
|
4973
4714
|
},
|
|
4974
4715
|
{
|
|
4975
|
-
"name": "
|
|
4716
|
+
"name": "min",
|
|
4976
4717
|
"type": {
|
|
4977
|
-
"text": "
|
|
4718
|
+
"text": "number"
|
|
4719
|
+
}
|
|
4720
|
+
},
|
|
4721
|
+
{
|
|
4722
|
+
"name": "max",
|
|
4723
|
+
"type": {
|
|
4724
|
+
"text": "number"
|
|
4978
4725
|
}
|
|
4979
4726
|
}
|
|
4980
|
-
]
|
|
4727
|
+
],
|
|
4728
|
+
"description": "Wraps a value so that it always falls within min/max,\nwhere a value greater than max gets set to min, and vice versa"
|
|
4981
4729
|
},
|
|
4982
4730
|
{
|
|
4983
4731
|
"kind": "function",
|
|
4984
|
-
"name": "
|
|
4985
|
-
"return": {
|
|
4986
|
-
"type": {
|
|
4987
|
-
"text": "boolean"
|
|
4988
|
-
}
|
|
4989
|
-
},
|
|
4732
|
+
"name": "range",
|
|
4990
4733
|
"parameters": [
|
|
4991
4734
|
{
|
|
4992
|
-
"name": "
|
|
4993
|
-
"optional": true,
|
|
4735
|
+
"name": "from",
|
|
4994
4736
|
"type": {
|
|
4995
|
-
"text": "
|
|
4737
|
+
"text": "number"
|
|
4996
4738
|
}
|
|
4997
4739
|
},
|
|
4998
4740
|
{
|
|
4999
|
-
"name": "
|
|
5000
|
-
"optional": true,
|
|
4741
|
+
"name": "to",
|
|
5001
4742
|
"type": {
|
|
5002
|
-
"text": "
|
|
4743
|
+
"text": "number"
|
|
5003
4744
|
}
|
|
5004
4745
|
}
|
|
5005
|
-
]
|
|
5006
|
-
"description": "Compare if two dates are in the same month of the same year."
|
|
4746
|
+
]
|
|
5007
4747
|
},
|
|
5008
4748
|
{
|
|
5009
4749
|
"kind": "function",
|
|
5010
|
-
"name": "
|
|
5011
|
-
"return": {
|
|
5012
|
-
"type": {
|
|
5013
|
-
"text": "boolean"
|
|
5014
|
-
}
|
|
5015
|
-
},
|
|
4750
|
+
"name": "clamp",
|
|
5016
4751
|
"parameters": [
|
|
5017
4752
|
{
|
|
5018
|
-
"name": "
|
|
5019
|
-
"optional": true,
|
|
4753
|
+
"name": "value",
|
|
5020
4754
|
"type": {
|
|
5021
|
-
"text": "
|
|
4755
|
+
"text": "number"
|
|
5022
4756
|
}
|
|
5023
4757
|
},
|
|
5024
4758
|
{
|
|
5025
|
-
"name": "
|
|
5026
|
-
"optional": true,
|
|
4759
|
+
"name": "min",
|
|
5027
4760
|
"type": {
|
|
5028
|
-
"text": "
|
|
4761
|
+
"text": "number"
|
|
4762
|
+
}
|
|
4763
|
+
},
|
|
4764
|
+
{
|
|
4765
|
+
"name": "max",
|
|
4766
|
+
"type": {
|
|
4767
|
+
"text": "number"
|
|
5029
4768
|
}
|
|
5030
4769
|
}
|
|
5031
|
-
]
|
|
5032
|
-
|
|
4770
|
+
]
|
|
4771
|
+
}
|
|
4772
|
+
],
|
|
4773
|
+
"exports": [
|
|
4774
|
+
{
|
|
4775
|
+
"kind": "js",
|
|
4776
|
+
"name": "wrap",
|
|
4777
|
+
"declaration": {
|
|
4778
|
+
"name": "wrap",
|
|
4779
|
+
"module": "src/common/number.ts"
|
|
4780
|
+
}
|
|
4781
|
+
},
|
|
4782
|
+
{
|
|
4783
|
+
"kind": "js",
|
|
4784
|
+
"name": "range",
|
|
4785
|
+
"declaration": {
|
|
4786
|
+
"name": "range",
|
|
4787
|
+
"module": "src/common/number.ts"
|
|
4788
|
+
}
|
|
5033
4789
|
},
|
|
4790
|
+
{
|
|
4791
|
+
"kind": "js",
|
|
4792
|
+
"name": "clamp",
|
|
4793
|
+
"declaration": {
|
|
4794
|
+
"name": "clamp",
|
|
4795
|
+
"module": "src/common/number.ts"
|
|
4796
|
+
}
|
|
4797
|
+
}
|
|
4798
|
+
]
|
|
4799
|
+
},
|
|
4800
|
+
{
|
|
4801
|
+
"kind": "javascript-module",
|
|
4802
|
+
"path": "src/common/portal.ts",
|
|
4803
|
+
"declarations": [
|
|
5034
4804
|
{
|
|
5035
4805
|
"kind": "function",
|
|
5036
|
-
"name": "
|
|
5037
|
-
"return": {
|
|
5038
|
-
"type": {
|
|
5039
|
-
"text": "Date"
|
|
5040
|
-
}
|
|
5041
|
-
},
|
|
4806
|
+
"name": "createPortal",
|
|
5042
4807
|
"parameters": [
|
|
5043
4808
|
{
|
|
5044
|
-
"name": "
|
|
4809
|
+
"name": "src",
|
|
5045
4810
|
"type": {
|
|
5046
|
-
"text": "
|
|
4811
|
+
"text": "Node"
|
|
5047
4812
|
}
|
|
5048
4813
|
},
|
|
5049
4814
|
{
|
|
5050
|
-
"name": "
|
|
4815
|
+
"name": "dest",
|
|
5051
4816
|
"type": {
|
|
5052
|
-
"text": "
|
|
4817
|
+
"text": "Node"
|
|
5053
4818
|
}
|
|
5054
4819
|
}
|
|
5055
|
-
]
|
|
5056
|
-
|
|
4820
|
+
],
|
|
4821
|
+
"description": "Creates a \"portal\" for transporting an element from one location to another.\nThe element gets moved to its destination on open(),\nand restored to its original location on close()."
|
|
4822
|
+
}
|
|
4823
|
+
],
|
|
4824
|
+
"exports": [
|
|
4825
|
+
{
|
|
4826
|
+
"kind": "js",
|
|
4827
|
+
"name": "createPortal",
|
|
4828
|
+
"declaration": {
|
|
4829
|
+
"name": "createPortal",
|
|
4830
|
+
"module": "src/common/portal.ts"
|
|
4831
|
+
}
|
|
4832
|
+
}
|
|
4833
|
+
]
|
|
4834
|
+
},
|
|
4835
|
+
{
|
|
4836
|
+
"kind": "javascript-module",
|
|
4837
|
+
"path": "src/common/positioning.ts",
|
|
4838
|
+
"declarations": [
|
|
5057
4839
|
{
|
|
5058
4840
|
"kind": "function",
|
|
5059
|
-
"name": "
|
|
4841
|
+
"name": "logicalToPhysical",
|
|
5060
4842
|
"return": {
|
|
5061
4843
|
"type": {
|
|
5062
|
-
"text": "
|
|
4844
|
+
"text": "Side"
|
|
5063
4845
|
}
|
|
5064
4846
|
},
|
|
5065
4847
|
"parameters": [
|
|
5066
4848
|
{
|
|
5067
|
-
"name": "
|
|
5068
|
-
"type": {
|
|
5069
|
-
"text": "Date"
|
|
5070
|
-
}
|
|
5071
|
-
},
|
|
5072
|
-
{
|
|
5073
|
-
"name": "months",
|
|
4849
|
+
"name": "logicalSide",
|
|
5074
4850
|
"type": {
|
|
5075
|
-
"text": "
|
|
4851
|
+
"text": "LogicalSide"
|
|
5076
4852
|
}
|
|
5077
4853
|
}
|
|
5078
|
-
]
|
|
4854
|
+
],
|
|
4855
|
+
"description": "Converts a single logical position to a physical position"
|
|
5079
4856
|
},
|
|
5080
4857
|
{
|
|
5081
4858
|
"kind": "function",
|
|
5082
|
-
"name": "
|
|
4859
|
+
"name": "logicalToPhysical",
|
|
5083
4860
|
"return": {
|
|
5084
4861
|
"type": {
|
|
5085
|
-
"text": "
|
|
4862
|
+
"text": "Placement"
|
|
5086
4863
|
}
|
|
5087
4864
|
},
|
|
5088
4865
|
"parameters": [
|
|
5089
4866
|
{
|
|
5090
|
-
"name": "
|
|
4867
|
+
"name": "logicalSide",
|
|
5091
4868
|
"type": {
|
|
5092
|
-
"text": "
|
|
4869
|
+
"text": "LogicalSide"
|
|
5093
4870
|
}
|
|
5094
4871
|
},
|
|
5095
4872
|
{
|
|
5096
|
-
"name": "
|
|
5097
|
-
"type": {
|
|
5098
|
-
"text": "number"
|
|
5099
|
-
}
|
|
5100
|
-
}
|
|
5101
|
-
]
|
|
5102
|
-
},
|
|
5103
|
-
{
|
|
5104
|
-
"kind": "function",
|
|
5105
|
-
"name": "startOfWeek",
|
|
5106
|
-
"return": {
|
|
5107
|
-
"type": {
|
|
5108
|
-
"text": "Date"
|
|
5109
|
-
}
|
|
5110
|
-
},
|
|
5111
|
-
"parameters": [
|
|
5112
|
-
{
|
|
5113
|
-
"name": "date",
|
|
4873
|
+
"name": "alignment",
|
|
5114
4874
|
"type": {
|
|
5115
|
-
"text": "
|
|
4875
|
+
"text": "Alignment"
|
|
5116
4876
|
}
|
|
5117
4877
|
},
|
|
5118
4878
|
{
|
|
5119
|
-
"name": "
|
|
5120
|
-
"default": "DaysOfWeek.Monday",
|
|
4879
|
+
"name": "dir",
|
|
5121
4880
|
"type": {
|
|
5122
|
-
"text": "
|
|
4881
|
+
"text": "Direction"
|
|
5123
4882
|
}
|
|
5124
4883
|
}
|
|
5125
|
-
]
|
|
4884
|
+
],
|
|
4885
|
+
"description": "Converts a logical side and alignment to floating-ui compatible placement"
|
|
5126
4886
|
},
|
|
5127
4887
|
{
|
|
5128
4888
|
"kind": "function",
|
|
5129
|
-
"name": "
|
|
5130
|
-
"return": {
|
|
5131
|
-
"type": {
|
|
5132
|
-
"text": "Date"
|
|
5133
|
-
}
|
|
5134
|
-
},
|
|
4889
|
+
"name": "logicalToPhysical",
|
|
5135
4890
|
"parameters": [
|
|
5136
4891
|
{
|
|
5137
|
-
"name": "
|
|
4892
|
+
"name": "logicalSide",
|
|
5138
4893
|
"type": {
|
|
5139
|
-
"text": "
|
|
4894
|
+
"text": "LogicalSide"
|
|
5140
4895
|
}
|
|
5141
4896
|
},
|
|
5142
4897
|
{
|
|
5143
|
-
"name": "
|
|
5144
|
-
"
|
|
4898
|
+
"name": "alignment",
|
|
4899
|
+
"optional": true,
|
|
5145
4900
|
"type": {
|
|
5146
|
-
"text": "
|
|
4901
|
+
"text": "Alignment"
|
|
5147
4902
|
}
|
|
5148
|
-
}
|
|
5149
|
-
]
|
|
5150
|
-
},
|
|
5151
|
-
{
|
|
5152
|
-
"kind": "function",
|
|
5153
|
-
"name": "startOfMonth",
|
|
5154
|
-
"return": {
|
|
5155
|
-
"type": {
|
|
5156
|
-
"text": "Date"
|
|
5157
|
-
}
|
|
5158
|
-
},
|
|
5159
|
-
"parameters": [
|
|
4903
|
+
},
|
|
5160
4904
|
{
|
|
5161
|
-
"name": "
|
|
4905
|
+
"name": "dir",
|
|
4906
|
+
"optional": true,
|
|
5162
4907
|
"type": {
|
|
5163
|
-
"text": "
|
|
4908
|
+
"text": "Direction"
|
|
5164
4909
|
}
|
|
5165
4910
|
}
|
|
5166
4911
|
]
|
|
4912
|
+
}
|
|
4913
|
+
],
|
|
4914
|
+
"exports": [
|
|
4915
|
+
{
|
|
4916
|
+
"kind": "js",
|
|
4917
|
+
"name": "logicalToPhysical",
|
|
4918
|
+
"declaration": {
|
|
4919
|
+
"name": "logicalToPhysical",
|
|
4920
|
+
"module": "src/common/positioning.ts"
|
|
4921
|
+
}
|
|
4922
|
+
},
|
|
4923
|
+
{
|
|
4924
|
+
"kind": "js",
|
|
4925
|
+
"name": "logicalToPhysical",
|
|
4926
|
+
"declaration": {
|
|
4927
|
+
"name": "logicalToPhysical",
|
|
4928
|
+
"module": "src/common/positioning.ts"
|
|
4929
|
+
}
|
|
5167
4930
|
},
|
|
4931
|
+
{
|
|
4932
|
+
"kind": "js",
|
|
4933
|
+
"name": "logicalToPhysical",
|
|
4934
|
+
"declaration": {
|
|
4935
|
+
"name": "logicalToPhysical",
|
|
4936
|
+
"module": "src/common/positioning.ts"
|
|
4937
|
+
}
|
|
4938
|
+
}
|
|
4939
|
+
]
|
|
4940
|
+
},
|
|
4941
|
+
{
|
|
4942
|
+
"kind": "javascript-module",
|
|
4943
|
+
"path": "src/common/ref.ts",
|
|
4944
|
+
"declarations": [
|
|
5168
4945
|
{
|
|
5169
4946
|
"kind": "function",
|
|
5170
|
-
"name": "
|
|
4947
|
+
"name": "mergeRefs",
|
|
5171
4948
|
"return": {
|
|
5172
4949
|
"type": {
|
|
5173
|
-
"text": "
|
|
4950
|
+
"text": "RefCallback"
|
|
5174
4951
|
}
|
|
5175
4952
|
},
|
|
5176
4953
|
"parameters": [
|
|
5177
4954
|
{
|
|
5178
|
-
"name": "
|
|
4955
|
+
"name": "refs",
|
|
5179
4956
|
"type": {
|
|
5180
|
-
"text": "
|
|
4957
|
+
"text": "Ref[]"
|
|
5181
4958
|
}
|
|
5182
4959
|
}
|
|
5183
|
-
]
|
|
5184
|
-
|
|
4960
|
+
],
|
|
4961
|
+
"description": "Creates a ref callback which will assign the element to every given ref"
|
|
4962
|
+
}
|
|
4963
|
+
],
|
|
4964
|
+
"exports": [
|
|
4965
|
+
{
|
|
4966
|
+
"kind": "js",
|
|
4967
|
+
"name": "mergeRefs",
|
|
4968
|
+
"declaration": {
|
|
4969
|
+
"name": "mergeRefs",
|
|
4970
|
+
"module": "src/common/ref.ts"
|
|
4971
|
+
}
|
|
4972
|
+
}
|
|
4973
|
+
]
|
|
4974
|
+
},
|
|
4975
|
+
{
|
|
4976
|
+
"kind": "javascript-module",
|
|
4977
|
+
"path": "src/common/storage.ts",
|
|
4978
|
+
"declarations": [
|
|
5185
4979
|
{
|
|
5186
4980
|
"kind": "function",
|
|
5187
|
-
"name": "
|
|
5188
|
-
"return": {
|
|
5189
|
-
"type": {
|
|
5190
|
-
"text": "Date"
|
|
5191
|
-
}
|
|
5192
|
-
},
|
|
4981
|
+
"name": "storage",
|
|
5193
4982
|
"parameters": [
|
|
5194
4983
|
{
|
|
5195
|
-
"name": "
|
|
4984
|
+
"name": "key",
|
|
5196
4985
|
"type": {
|
|
5197
|
-
"text": "
|
|
4986
|
+
"text": "string"
|
|
5198
4987
|
}
|
|
5199
4988
|
},
|
|
5200
4989
|
{
|
|
5201
|
-
"name": "
|
|
4990
|
+
"name": "defaultValue",
|
|
5202
4991
|
"type": {
|
|
5203
|
-
"text": "
|
|
4992
|
+
"text": "T"
|
|
5204
4993
|
}
|
|
5205
|
-
}
|
|
5206
|
-
]
|
|
5207
|
-
},
|
|
5208
|
-
{
|
|
5209
|
-
"kind": "function",
|
|
5210
|
-
"name": "setYear",
|
|
5211
|
-
"return": {
|
|
5212
|
-
"type": {
|
|
5213
|
-
"text": "Date"
|
|
5214
|
-
}
|
|
5215
|
-
},
|
|
5216
|
-
"parameters": [
|
|
4994
|
+
},
|
|
5217
4995
|
{
|
|
5218
|
-
"name": "
|
|
4996
|
+
"name": "serialize",
|
|
4997
|
+
"default": "JSON.stringify",
|
|
5219
4998
|
"type": {
|
|
5220
|
-
"text": "
|
|
4999
|
+
"text": "(value: T) => string"
|
|
5221
5000
|
}
|
|
5222
5001
|
},
|
|
5223
5002
|
{
|
|
5224
|
-
"name": "
|
|
5003
|
+
"name": "deserialize",
|
|
5004
|
+
"default": "JSON.parse",
|
|
5225
5005
|
"type": {
|
|
5226
|
-
"text": "
|
|
5006
|
+
"text": "(value: string) => T"
|
|
5227
5007
|
}
|
|
5228
5008
|
}
|
|
5229
|
-
]
|
|
5230
|
-
|
|
5009
|
+
],
|
|
5010
|
+
"description": "Thin wrapper around local storage which simplifies (de)serialization and default values.\nBy default, (de)serializes as JSON."
|
|
5011
|
+
}
|
|
5012
|
+
],
|
|
5013
|
+
"exports": [
|
|
5231
5014
|
{
|
|
5232
|
-
"kind": "
|
|
5233
|
-
"name": "
|
|
5234
|
-
"
|
|
5235
|
-
"
|
|
5236
|
-
|
|
5237
|
-
|
|
5238
|
-
|
|
5239
|
-
|
|
5015
|
+
"kind": "js",
|
|
5016
|
+
"name": "storage",
|
|
5017
|
+
"declaration": {
|
|
5018
|
+
"name": "storage",
|
|
5019
|
+
"module": "src/common/storage.ts"
|
|
5020
|
+
}
|
|
5021
|
+
}
|
|
5022
|
+
]
|
|
5023
|
+
},
|
|
5024
|
+
{
|
|
5025
|
+
"kind": "javascript-module",
|
|
5026
|
+
"path": "src/date-picker/DatePicker.ts",
|
|
5027
|
+
"declarations": [
|
|
5028
|
+
{
|
|
5029
|
+
"kind": "class",
|
|
5030
|
+
"description": "\nDate Picker allows user to enter a date either through text input,\nor by choosing a date from the calendar. Please note that the date\nmust be passed in ISO-8601 format: YYYY-MM-DD.",
|
|
5031
|
+
"name": "DatePicker",
|
|
5032
|
+
"members": [
|
|
5240
5033
|
{
|
|
5241
|
-
"
|
|
5034
|
+
"kind": "field",
|
|
5035
|
+
"name": "toggleButton",
|
|
5242
5036
|
"type": {
|
|
5243
|
-
"text": "
|
|
5244
|
-
}
|
|
5037
|
+
"text": "Button"
|
|
5038
|
+
},
|
|
5039
|
+
"privacy": "private"
|
|
5245
5040
|
},
|
|
5246
5041
|
{
|
|
5247
|
-
"
|
|
5248
|
-
"
|
|
5042
|
+
"kind": "field",
|
|
5043
|
+
"name": "closeButton",
|
|
5249
5044
|
"type": {
|
|
5250
|
-
"text": "
|
|
5251
|
-
}
|
|
5045
|
+
"text": "HTMLButtonElement"
|
|
5046
|
+
},
|
|
5047
|
+
"privacy": "private"
|
|
5252
5048
|
},
|
|
5253
5049
|
{
|
|
5254
|
-
"
|
|
5255
|
-
"
|
|
5050
|
+
"kind": "field",
|
|
5051
|
+
"name": "calendar",
|
|
5256
5052
|
"type": {
|
|
5257
|
-
"text": "
|
|
5258
|
-
}
|
|
5259
|
-
|
|
5260
|
-
|
|
5261
|
-
"description": "Ensures date is within range, returns min or max if out of bounds"
|
|
5262
|
-
},
|
|
5263
|
-
{
|
|
5264
|
-
"kind": "function",
|
|
5265
|
-
"name": "inRange",
|
|
5266
|
-
"return": {
|
|
5267
|
-
"type": {
|
|
5268
|
-
"text": "boolean"
|
|
5269
|
-
}
|
|
5270
|
-
},
|
|
5271
|
-
"parameters": [
|
|
5053
|
+
"text": "Calendar"
|
|
5054
|
+
},
|
|
5055
|
+
"privacy": "private"
|
|
5056
|
+
},
|
|
5272
5057
|
{
|
|
5273
|
-
"
|
|
5058
|
+
"kind": "field",
|
|
5059
|
+
"name": "popout",
|
|
5274
5060
|
"type": {
|
|
5275
|
-
"text": "
|
|
5276
|
-
}
|
|
5061
|
+
"text": "Popout"
|
|
5062
|
+
},
|
|
5063
|
+
"privacy": "private"
|
|
5277
5064
|
},
|
|
5278
5065
|
{
|
|
5279
|
-
"
|
|
5280
|
-
"
|
|
5066
|
+
"kind": "field",
|
|
5067
|
+
"name": "swipe",
|
|
5068
|
+
"privacy": "private",
|
|
5069
|
+
"default": "new SwipeController(this, {\n target: () => this.popout,\n matchesGesture: isDownwardsSwipe,\n onSwipeEnd: () => this.hide(),\n })"
|
|
5070
|
+
},
|
|
5071
|
+
{
|
|
5072
|
+
"kind": "field",
|
|
5073
|
+
"name": "localize",
|
|
5074
|
+
"privacy": "private",
|
|
5075
|
+
"default": "new LocalizeController<\"nord-date-picker\">(this, {\n onLangChange: () => this.createDateFormatters(),\n })"
|
|
5076
|
+
},
|
|
5077
|
+
{
|
|
5078
|
+
"kind": "field",
|
|
5079
|
+
"name": "dateFormatLong",
|
|
5281
5080
|
"type": {
|
|
5282
|
-
"text": "
|
|
5283
|
-
}
|
|
5081
|
+
"text": "Intl.DateTimeFormat"
|
|
5082
|
+
},
|
|
5083
|
+
"privacy": "private",
|
|
5084
|
+
"description": "Whilst dateAdapter is used for handling the formatting/parsing dates in the input,\nthese are used to format dates exclusively for the benefit of screen readers.\n\nWe prefer DateTimeFormat over date.toLocaleDateString, as the former has\nbetter performance when formatting large number of dates. See:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleDateString#Performance"
|
|
5284
5085
|
},
|
|
5285
5086
|
{
|
|
5286
|
-
"
|
|
5287
|
-
"
|
|
5087
|
+
"kind": "field",
|
|
5088
|
+
"name": "value",
|
|
5288
5089
|
"type": {
|
|
5289
|
-
"text": "
|
|
5090
|
+
"text": "string"
|
|
5091
|
+
},
|
|
5092
|
+
"default": "\"\"",
|
|
5093
|
+
"description": "Date value. Must be in IS0-8601 format: YYYY-MM-DD.",
|
|
5094
|
+
"attribute": "value",
|
|
5095
|
+
"inheritedFrom": {
|
|
5096
|
+
"name": "InputMixin",
|
|
5097
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
5290
5098
|
}
|
|
5291
|
-
}
|
|
5292
|
-
],
|
|
5293
|
-
"description": "Check if date is within a min and max"
|
|
5294
|
-
},
|
|
5295
|
-
{
|
|
5296
|
-
"kind": "function",
|
|
5297
|
-
"name": "getViewOfMonth",
|
|
5298
|
-
"return": {
|
|
5299
|
-
"type": {
|
|
5300
|
-
"text": "Date[]"
|
|
5301
|
-
}
|
|
5302
|
-
},
|
|
5303
|
-
"parameters": [
|
|
5099
|
+
},
|
|
5304
5100
|
{
|
|
5305
|
-
"
|
|
5101
|
+
"kind": "field",
|
|
5102
|
+
"name": "valueAsDate",
|
|
5306
5103
|
"type": {
|
|
5307
|
-
"text": "Date"
|
|
5308
|
-
}
|
|
5104
|
+
"text": "Date | undefined"
|
|
5105
|
+
},
|
|
5106
|
+
"description": "Get/set the value of the picker as a Date object."
|
|
5107
|
+
},
|
|
5108
|
+
{
|
|
5109
|
+
"kind": "field",
|
|
5110
|
+
"name": "valueAsNumber",
|
|
5111
|
+
"type": {
|
|
5112
|
+
"text": "number"
|
|
5113
|
+
},
|
|
5114
|
+
"description": "Get/set the value of the picker as the number of milliseconds elapsed since the UNIX epoch."
|
|
5115
|
+
},
|
|
5116
|
+
{
|
|
5117
|
+
"kind": "field",
|
|
5118
|
+
"name": "open",
|
|
5119
|
+
"type": {
|
|
5120
|
+
"text": "boolean"
|
|
5121
|
+
},
|
|
5122
|
+
"default": "false",
|
|
5123
|
+
"description": "Controls whether date picker dialog is open or not.",
|
|
5124
|
+
"attribute": "open",
|
|
5125
|
+
"reflects": true
|
|
5126
|
+
},
|
|
5127
|
+
{
|
|
5128
|
+
"kind": "field",
|
|
5129
|
+
"name": "min",
|
|
5130
|
+
"type": {
|
|
5131
|
+
"text": "string | undefined"
|
|
5132
|
+
},
|
|
5133
|
+
"description": "Minimum date allowed to be picked. Must be in IS0-8601 format: YYYY-MM-DD.\nThis setting can be used alone or together with the max property.",
|
|
5134
|
+
"attribute": "min",
|
|
5135
|
+
"reflects": true
|
|
5136
|
+
},
|
|
5137
|
+
{
|
|
5138
|
+
"kind": "field",
|
|
5139
|
+
"name": "max",
|
|
5140
|
+
"type": {
|
|
5141
|
+
"text": "string | undefined"
|
|
5142
|
+
},
|
|
5143
|
+
"description": "Maximum date allowed to be picked. Must be in IS0-8601 format: YYYY-MM-DD.\nThis setting can be used alone or together with the min property.",
|
|
5144
|
+
"attribute": "max",
|
|
5145
|
+
"reflects": true
|
|
5309
5146
|
},
|
|
5310
5147
|
{
|
|
5148
|
+
"kind": "field",
|
|
5311
5149
|
"name": "firstDayOfWeek",
|
|
5312
|
-
"default": "DaysOfWeek.Monday",
|
|
5313
5150
|
"type": {
|
|
5314
5151
|
"text": "DaysOfWeek"
|
|
5315
|
-
}
|
|
5316
|
-
|
|
5317
|
-
|
|
5318
|
-
|
|
5319
|
-
|
|
5320
|
-
|
|
5321
|
-
|
|
5322
|
-
|
|
5323
|
-
|
|
5324
|
-
|
|
5325
|
-
|
|
5326
|
-
|
|
5327
|
-
|
|
5328
|
-
|
|
5329
|
-
|
|
5330
|
-
|
|
5331
|
-
|
|
5332
|
-
|
|
5333
|
-
|
|
5334
|
-
|
|
5335
|
-
|
|
5336
|
-
|
|
5337
|
-
|
|
5338
|
-
|
|
5339
|
-
|
|
5340
|
-
|
|
5341
|
-
|
|
5342
|
-
|
|
5343
|
-
|
|
5344
|
-
|
|
5345
|
-
|
|
5346
|
-
|
|
5347
|
-
|
|
5348
|
-
|
|
5349
|
-
|
|
5350
|
-
|
|
5351
|
-
|
|
5352
|
-
|
|
5353
|
-
|
|
5354
|
-
|
|
5355
|
-
|
|
5356
|
-
|
|
5357
|
-
|
|
5358
|
-
|
|
5359
|
-
|
|
5360
|
-
|
|
5361
|
-
|
|
5362
|
-
|
|
5363
|
-
|
|
5364
|
-
|
|
5365
|
-
|
|
5366
|
-
|
|
5367
|
-
|
|
5368
|
-
|
|
5369
|
-
|
|
5370
|
-
|
|
5371
|
-
|
|
5372
|
-
|
|
5373
|
-
|
|
5374
|
-
|
|
5375
|
-
|
|
5376
|
-
|
|
5377
|
-
|
|
5378
|
-
|
|
5379
|
-
|
|
5380
|
-
|
|
5381
|
-
|
|
5382
|
-
|
|
5383
|
-
|
|
5384
|
-
|
|
5385
|
-
|
|
5386
|
-
|
|
5387
|
-
|
|
5388
|
-
|
|
5389
|
-
|
|
5390
|
-
|
|
5391
|
-
|
|
5392
|
-
|
|
5393
|
-
|
|
5394
|
-
|
|
5395
|
-
|
|
5396
|
-
|
|
5397
|
-
|
|
5398
|
-
|
|
5399
|
-
|
|
5400
|
-
|
|
5401
|
-
|
|
5402
|
-
|
|
5403
|
-
|
|
5404
|
-
|
|
5405
|
-
|
|
5406
|
-
|
|
5407
|
-
|
|
5408
|
-
|
|
5409
|
-
|
|
5410
|
-
|
|
5411
|
-
|
|
5412
|
-
|
|
5413
|
-
|
|
5414
|
-
|
|
5415
|
-
|
|
5416
|
-
|
|
5417
|
-
|
|
5418
|
-
|
|
5419
|
-
|
|
5420
|
-
|
|
5421
|
-
|
|
5422
|
-
|
|
5423
|
-
|
|
5424
|
-
|
|
5425
|
-
|
|
5426
|
-
|
|
5427
|
-
|
|
5428
|
-
|
|
5429
|
-
|
|
5430
|
-
|
|
5431
|
-
|
|
5432
|
-
|
|
5433
|
-
|
|
5434
|
-
|
|
5435
|
-
|
|
5436
|
-
|
|
5437
|
-
|
|
5438
|
-
|
|
5439
|
-
|
|
5440
|
-
|
|
5441
|
-
|
|
5442
|
-
|
|
5443
|
-
|
|
5444
|
-
|
|
5445
|
-
|
|
5446
|
-
|
|
5447
|
-
|
|
5448
|
-
|
|
5449
|
-
|
|
5450
|
-
|
|
5451
|
-
|
|
5452
|
-
|
|
5453
|
-
|
|
5454
|
-
|
|
5455
|
-
|
|
5456
|
-
|
|
5457
|
-
|
|
5458
|
-
|
|
5459
|
-
|
|
5460
|
-
|
|
5461
|
-
|
|
5462
|
-
|
|
5463
|
-
|
|
5464
|
-
|
|
5465
|
-
|
|
5466
|
-
|
|
5467
|
-
|
|
5468
|
-
|
|
5469
|
-
|
|
5470
|
-
|
|
5471
|
-
|
|
5472
|
-
|
|
5473
|
-
|
|
5474
|
-
|
|
5475
|
-
|
|
5476
|
-
|
|
5477
|
-
|
|
5478
|
-
|
|
5479
|
-
|
|
5480
|
-
|
|
5481
|
-
|
|
5482
|
-
|
|
5483
|
-
|
|
5484
|
-
|
|
5485
|
-
|
|
5486
|
-
|
|
5487
|
-
|
|
5488
|
-
|
|
5489
|
-
|
|
5490
|
-
|
|
5491
|
-
|
|
5492
|
-
|
|
5152
|
+
},
|
|
5153
|
+
"description": "Which day is considered first day of the week? `0` for Sunday, `1` for Monday, etc.\nDefault is Monday.",
|
|
5154
|
+
"attribute": "first-day-of-week",
|
|
5155
|
+
"reflects": true
|
|
5156
|
+
},
|
|
5157
|
+
{
|
|
5158
|
+
"kind": "field",
|
|
5159
|
+
"name": "dateAdapter",
|
|
5160
|
+
"type": {
|
|
5161
|
+
"text": "DateAdapter"
|
|
5162
|
+
},
|
|
5163
|
+
"default": "isoAdapter",
|
|
5164
|
+
"description": "Date adapter, for custom parsing/formatting.\nMust be object with a `parse` function which accepts a `string` and returns a `Date`,\nand a `format` function which accepts a `Date` and returns a `string`.\nDefault is IS0-8601 parsing and formatting."
|
|
5165
|
+
},
|
|
5166
|
+
{
|
|
5167
|
+
"kind": "field",
|
|
5168
|
+
"name": "isDateDisabled",
|
|
5169
|
+
"type": {
|
|
5170
|
+
"text": "DatePredicate"
|
|
5171
|
+
},
|
|
5172
|
+
"default": "isDateDisabled",
|
|
5173
|
+
"description": "Controls which days are disabled and therefore disallowed.\nFor example, this can be used to disallow selection of weekends."
|
|
5174
|
+
},
|
|
5175
|
+
{
|
|
5176
|
+
"kind": "field",
|
|
5177
|
+
"name": "isDateHighlighted",
|
|
5178
|
+
"type": {
|
|
5179
|
+
"text": "(date: Date) => string | boolean"
|
|
5180
|
+
},
|
|
5181
|
+
"default": "isDateHighlighted",
|
|
5182
|
+
"description": "Controls which days are highlighted with a small indicator.\nReturning `false` will not show an indicator.\nReturning `true` will show the indicator, but without an accessible label. Therefore\nReturning a string will show the indicator, and use the string as accessible label.\nIt is recommended to return a string rather than `true` whenever possible."
|
|
5183
|
+
},
|
|
5184
|
+
{
|
|
5185
|
+
"kind": "field",
|
|
5186
|
+
"name": "expand",
|
|
5187
|
+
"type": {
|
|
5188
|
+
"text": "boolean"
|
|
5189
|
+
},
|
|
5190
|
+
"default": "false",
|
|
5191
|
+
"description": "Controls whether the date picker expands to fill the width of its container.",
|
|
5192
|
+
"attribute": "expand",
|
|
5193
|
+
"reflects": true
|
|
5194
|
+
},
|
|
5195
|
+
{
|
|
5196
|
+
"kind": "method",
|
|
5197
|
+
"name": "createDateFormatters",
|
|
5198
|
+
"privacy": "private"
|
|
5199
|
+
},
|
|
5200
|
+
{
|
|
5201
|
+
"kind": "method",
|
|
5202
|
+
"name": "focusFirst",
|
|
5203
|
+
"privacy": "private"
|
|
5204
|
+
},
|
|
5205
|
+
{
|
|
5206
|
+
"kind": "method",
|
|
5207
|
+
"name": "focusLast",
|
|
5208
|
+
"privacy": "private"
|
|
5209
|
+
},
|
|
5210
|
+
{
|
|
5211
|
+
"kind": "field",
|
|
5212
|
+
"name": "handleDaySelect",
|
|
5213
|
+
"privacy": "private"
|
|
5214
|
+
},
|
|
5215
|
+
{
|
|
5216
|
+
"kind": "method",
|
|
5217
|
+
"name": "handleOpen",
|
|
5218
|
+
"privacy": "private"
|
|
5219
|
+
},
|
|
5220
|
+
{
|
|
5221
|
+
"kind": "method",
|
|
5222
|
+
"name": "handleClose",
|
|
5223
|
+
"privacy": "private"
|
|
5224
|
+
},
|
|
5225
|
+
{
|
|
5226
|
+
"kind": "field",
|
|
5227
|
+
"name": "handleBlur",
|
|
5228
|
+
"privacy": "private"
|
|
5229
|
+
},
|
|
5230
|
+
{
|
|
5231
|
+
"kind": "field",
|
|
5232
|
+
"name": "handleFocus",
|
|
5233
|
+
"privacy": "private"
|
|
5234
|
+
},
|
|
5235
|
+
{
|
|
5236
|
+
"kind": "field",
|
|
5237
|
+
"name": "handleInputChange",
|
|
5238
|
+
"privacy": "private"
|
|
5239
|
+
},
|
|
5240
|
+
{
|
|
5241
|
+
"kind": "method",
|
|
5242
|
+
"name": "setValue",
|
|
5243
|
+
"privacy": "private",
|
|
5244
|
+
"parameters": [
|
|
5245
|
+
{
|
|
5246
|
+
"name": "date",
|
|
5247
|
+
"optional": true,
|
|
5248
|
+
"type": {
|
|
5249
|
+
"text": "Date"
|
|
5250
|
+
}
|
|
5251
|
+
}
|
|
5252
|
+
]
|
|
5253
|
+
},
|
|
5254
|
+
{
|
|
5255
|
+
"kind": "method",
|
|
5256
|
+
"name": "hide",
|
|
5257
|
+
"parameters": [
|
|
5258
|
+
{
|
|
5259
|
+
"name": "moveFocusToButton",
|
|
5260
|
+
"optional": true,
|
|
5261
|
+
"type": {
|
|
5262
|
+
"text": "boolean"
|
|
5263
|
+
},
|
|
5264
|
+
"description": "A boolean option to move the focus to the original button that opens the popout."
|
|
5265
|
+
}
|
|
5266
|
+
],
|
|
5267
|
+
"description": "Hide the date picker programmatically."
|
|
5268
|
+
},
|
|
5269
|
+
{
|
|
5270
|
+
"kind": "method",
|
|
5271
|
+
"name": "show",
|
|
5272
|
+
"description": "Show the date picker programmatically."
|
|
5273
|
+
},
|
|
5274
|
+
{
|
|
5275
|
+
"kind": "field",
|
|
5276
|
+
"name": "size",
|
|
5277
|
+
"type": {
|
|
5278
|
+
"text": "\"s\" | \"m\" | \"l\""
|
|
5279
|
+
},
|
|
5280
|
+
"default": "\"m\"",
|
|
5281
|
+
"description": "The size of the component.",
|
|
5282
|
+
"attribute": "size",
|
|
5283
|
+
"reflects": true,
|
|
5284
|
+
"inheritedFrom": {
|
|
5285
|
+
"name": "SizeMixin",
|
|
5286
|
+
"module": "src/common/mixins/SizeMixin.ts"
|
|
5287
|
+
}
|
|
5288
|
+
},
|
|
5289
|
+
{
|
|
5290
|
+
"kind": "field",
|
|
5291
|
+
"name": "labelSlot",
|
|
5292
|
+
"privacy": "protected",
|
|
5293
|
+
"default": "new SlotController(this, \"label\")",
|
|
5294
|
+
"inheritedFrom": {
|
|
5295
|
+
"name": "FormAssociatedMixin",
|
|
5296
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
5297
|
+
}
|
|
5298
|
+
},
|
|
5299
|
+
{
|
|
5300
|
+
"kind": "field",
|
|
5301
|
+
"name": "errorSlot",
|
|
5302
|
+
"privacy": "protected",
|
|
5303
|
+
"default": "new SlotController(this, \"error\")",
|
|
5304
|
+
"inheritedFrom": {
|
|
5305
|
+
"name": "FormAssociatedMixin",
|
|
5306
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
5307
|
+
}
|
|
5308
|
+
},
|
|
5309
|
+
{
|
|
5310
|
+
"kind": "field",
|
|
5311
|
+
"name": "hintSlot",
|
|
5312
|
+
"privacy": "protected",
|
|
5313
|
+
"default": "new SlotController(this, \"hint\")",
|
|
5314
|
+
"inheritedFrom": {
|
|
5315
|
+
"name": "FormAssociatedMixin",
|
|
5316
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
5317
|
+
}
|
|
5318
|
+
},
|
|
5319
|
+
{
|
|
5320
|
+
"kind": "field",
|
|
5321
|
+
"name": "formData",
|
|
5322
|
+
"privacy": "protected",
|
|
5323
|
+
"default": "new FormDataController(this, { value: () => this.formValue })",
|
|
5324
|
+
"inheritedFrom": {
|
|
5325
|
+
"name": "FormAssociatedMixin",
|
|
5326
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
5327
|
+
}
|
|
5328
|
+
},
|
|
5329
|
+
{
|
|
5330
|
+
"kind": "field",
|
|
5331
|
+
"name": "formValue",
|
|
5332
|
+
"privacy": "protected",
|
|
5333
|
+
"readonly": true,
|
|
5334
|
+
"inheritedFrom": {
|
|
5335
|
+
"name": "FormAssociatedMixin",
|
|
5336
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
5337
|
+
}
|
|
5338
|
+
},
|
|
5339
|
+
{
|
|
5340
|
+
"kind": "field",
|
|
5341
|
+
"name": "inputId",
|
|
5342
|
+
"type": {
|
|
5343
|
+
"text": "string"
|
|
5344
|
+
},
|
|
5345
|
+
"privacy": "protected",
|
|
5346
|
+
"default": "\"input\"",
|
|
5347
|
+
"inheritedFrom": {
|
|
5348
|
+
"name": "FormAssociatedMixin",
|
|
5349
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
5350
|
+
}
|
|
5351
|
+
},
|
|
5352
|
+
{
|
|
5353
|
+
"kind": "field",
|
|
5354
|
+
"name": "errorId",
|
|
5355
|
+
"type": {
|
|
5356
|
+
"text": "string"
|
|
5357
|
+
},
|
|
5358
|
+
"privacy": "protected",
|
|
5359
|
+
"default": "\"error\"",
|
|
5360
|
+
"inheritedFrom": {
|
|
5361
|
+
"name": "FormAssociatedMixin",
|
|
5362
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
5363
|
+
}
|
|
5364
|
+
},
|
|
5365
|
+
{
|
|
5366
|
+
"kind": "field",
|
|
5367
|
+
"name": "hintId",
|
|
5368
|
+
"type": {
|
|
5369
|
+
"text": "string"
|
|
5370
|
+
},
|
|
5371
|
+
"privacy": "protected",
|
|
5372
|
+
"default": "\"hint\"",
|
|
5373
|
+
"inheritedFrom": {
|
|
5374
|
+
"name": "FormAssociatedMixin",
|
|
5375
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
5376
|
+
}
|
|
5377
|
+
},
|
|
5493
5378
|
{
|
|
5494
|
-
"
|
|
5379
|
+
"kind": "field",
|
|
5380
|
+
"name": "label",
|
|
5495
5381
|
"type": {
|
|
5496
|
-
"text": "
|
|
5382
|
+
"text": "string"
|
|
5383
|
+
},
|
|
5384
|
+
"default": "\"\"",
|
|
5385
|
+
"description": "Label for the input.",
|
|
5386
|
+
"attribute": "label",
|
|
5387
|
+
"reflects": true,
|
|
5388
|
+
"inheritedFrom": {
|
|
5389
|
+
"name": "FormAssociatedMixin",
|
|
5390
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
5497
5391
|
}
|
|
5498
5392
|
},
|
|
5499
5393
|
{
|
|
5500
|
-
"
|
|
5394
|
+
"kind": "field",
|
|
5395
|
+
"name": "hint",
|
|
5501
5396
|
"type": {
|
|
5502
|
-
"text": "
|
|
5397
|
+
"text": "string | undefined"
|
|
5398
|
+
},
|
|
5399
|
+
"description": "Optional hint text to be displayed with the input. Alternatively use the hint slot.",
|
|
5400
|
+
"attribute": "hint",
|
|
5401
|
+
"reflects": true,
|
|
5402
|
+
"inheritedFrom": {
|
|
5403
|
+
"name": "FormAssociatedMixin",
|
|
5404
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
5503
5405
|
}
|
|
5504
|
-
}
|
|
5505
|
-
]
|
|
5506
|
-
},
|
|
5507
|
-
{
|
|
5508
|
-
"kind": "function",
|
|
5509
|
-
"name": "transition",
|
|
5510
|
-
"parameters": [
|
|
5406
|
+
},
|
|
5511
5407
|
{
|
|
5512
|
-
"
|
|
5408
|
+
"kind": "field",
|
|
5409
|
+
"name": "hideLabel",
|
|
5513
5410
|
"type": {
|
|
5514
|
-
"text": "
|
|
5411
|
+
"text": "boolean"
|
|
5412
|
+
},
|
|
5413
|
+
"default": "false",
|
|
5414
|
+
"description": "Visually hide the label, but still show it to assistive technologies like screen readers.",
|
|
5415
|
+
"attribute": "hide-label",
|
|
5416
|
+
"reflects": true,
|
|
5417
|
+
"inheritedFrom": {
|
|
5418
|
+
"name": "FormAssociatedMixin",
|
|
5419
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
5515
5420
|
}
|
|
5516
|
-
}
|
|
5517
|
-
]
|
|
5518
|
-
},
|
|
5519
|
-
{
|
|
5520
|
-
"kind": "function",
|
|
5521
|
-
"name": "animation",
|
|
5522
|
-
"parameters": [
|
|
5421
|
+
},
|
|
5523
5422
|
{
|
|
5524
|
-
"
|
|
5423
|
+
"kind": "field",
|
|
5424
|
+
"name": "placeholder",
|
|
5525
5425
|
"type": {
|
|
5526
|
-
"text": "
|
|
5426
|
+
"text": "string | undefined"
|
|
5427
|
+
},
|
|
5428
|
+
"description": "Placeholder text to display within the input.",
|
|
5429
|
+
"attribute": "placeholder",
|
|
5430
|
+
"reflects": true,
|
|
5431
|
+
"inheritedFrom": {
|
|
5432
|
+
"name": "FormAssociatedMixin",
|
|
5433
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
5527
5434
|
}
|
|
5528
|
-
}
|
|
5529
|
-
|
|
5530
|
-
|
|
5531
|
-
|
|
5532
|
-
|
|
5533
|
-
|
|
5534
|
-
|
|
5535
|
-
|
|
5536
|
-
|
|
5537
|
-
|
|
5538
|
-
|
|
5539
|
-
|
|
5540
|
-
|
|
5541
|
-
|
|
5542
|
-
|
|
5543
|
-
|
|
5544
|
-
|
|
5545
|
-
|
|
5546
|
-
|
|
5547
|
-
|
|
5548
|
-
|
|
5549
|
-
|
|
5550
|
-
|
|
5551
|
-
|
|
5552
|
-
|
|
5553
|
-
|
|
5554
|
-
|
|
5555
|
-
|
|
5556
|
-
|
|
5557
|
-
|
|
5558
|
-
|
|
5559
|
-
|
|
5560
|
-
|
|
5561
|
-
|
|
5562
|
-
|
|
5563
|
-
|
|
5564
|
-
|
|
5565
|
-
|
|
5566
|
-
|
|
5567
|
-
|
|
5568
|
-
|
|
5569
|
-
|
|
5570
|
-
|
|
5571
|
-
|
|
5572
|
-
|
|
5573
|
-
|
|
5574
|
-
|
|
5575
|
-
|
|
5576
|
-
"
|
|
5577
|
-
|
|
5578
|
-
|
|
5579
|
-
|
|
5435
|
+
},
|
|
5436
|
+
{
|
|
5437
|
+
"kind": "field",
|
|
5438
|
+
"name": "error",
|
|
5439
|
+
"type": {
|
|
5440
|
+
"text": "string | undefined"
|
|
5441
|
+
},
|
|
5442
|
+
"description": "Optional error to be shown with the input. Alternatively use the error slot.",
|
|
5443
|
+
"attribute": "error",
|
|
5444
|
+
"reflects": true,
|
|
5445
|
+
"inheritedFrom": {
|
|
5446
|
+
"name": "FormAssociatedMixin",
|
|
5447
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
5448
|
+
}
|
|
5449
|
+
},
|
|
5450
|
+
{
|
|
5451
|
+
"kind": "field",
|
|
5452
|
+
"name": "required",
|
|
5453
|
+
"type": {
|
|
5454
|
+
"text": "boolean"
|
|
5455
|
+
},
|
|
5456
|
+
"default": "false",
|
|
5457
|
+
"description": "Determines whether the input is required or not.\nAn input marked as required will be announced as such to users of assistive technology.\nWhen using this property you need to also set “novalidate” attribute on a form element to prevent browser from displaying its own validation errors.",
|
|
5458
|
+
"attribute": "required",
|
|
5459
|
+
"reflects": true,
|
|
5460
|
+
"inheritedFrom": {
|
|
5461
|
+
"name": "FormAssociatedMixin",
|
|
5462
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
5463
|
+
}
|
|
5464
|
+
},
|
|
5465
|
+
{
|
|
5466
|
+
"kind": "field",
|
|
5467
|
+
"name": "hideRequired",
|
|
5468
|
+
"type": {
|
|
5469
|
+
"text": "boolean"
|
|
5470
|
+
},
|
|
5471
|
+
"default": "false",
|
|
5472
|
+
"description": "Visually hide the required indicator, but still show\nrequired attribute to assistive technologies like screen readers.",
|
|
5473
|
+
"attribute": "hide-required",
|
|
5474
|
+
"reflects": true,
|
|
5475
|
+
"inheritedFrom": {
|
|
5476
|
+
"name": "FormAssociatedMixin",
|
|
5477
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
5478
|
+
}
|
|
5479
|
+
},
|
|
5480
|
+
{
|
|
5481
|
+
"kind": "method",
|
|
5482
|
+
"name": "handleInput",
|
|
5483
|
+
"privacy": "protected",
|
|
5484
|
+
"parameters": [
|
|
5485
|
+
{
|
|
5486
|
+
"name": "e",
|
|
5487
|
+
"type": {
|
|
5488
|
+
"text": "Event"
|
|
5489
|
+
}
|
|
5490
|
+
}
|
|
5491
|
+
],
|
|
5492
|
+
"inheritedFrom": {
|
|
5493
|
+
"name": "FormAssociatedMixin",
|
|
5494
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
5495
|
+
}
|
|
5496
|
+
},
|
|
5497
|
+
{
|
|
5498
|
+
"kind": "method",
|
|
5499
|
+
"name": "handleChange",
|
|
5500
|
+
"privacy": "protected",
|
|
5501
|
+
"parameters": [
|
|
5502
|
+
{
|
|
5503
|
+
"name": "e",
|
|
5504
|
+
"type": {
|
|
5505
|
+
"text": "Event"
|
|
5506
|
+
}
|
|
5507
|
+
}
|
|
5508
|
+
],
|
|
5509
|
+
"inheritedFrom": {
|
|
5510
|
+
"name": "FormAssociatedMixin",
|
|
5511
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
5512
|
+
}
|
|
5513
|
+
},
|
|
5514
|
+
{
|
|
5515
|
+
"kind": "method",
|
|
5516
|
+
"name": "renderLabel",
|
|
5517
|
+
"privacy": "protected",
|
|
5518
|
+
"parameters": [
|
|
5519
|
+
{
|
|
5520
|
+
"name": "additionalContent",
|
|
5521
|
+
"optional": true,
|
|
5522
|
+
"type": {
|
|
5523
|
+
"text": "TemplateResult"
|
|
5524
|
+
}
|
|
5525
|
+
}
|
|
5526
|
+
],
|
|
5527
|
+
"inheritedFrom": {
|
|
5528
|
+
"name": "FormAssociatedMixin",
|
|
5529
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
5530
|
+
}
|
|
5531
|
+
},
|
|
5532
|
+
{
|
|
5533
|
+
"kind": "method",
|
|
5534
|
+
"name": "renderError",
|
|
5535
|
+
"privacy": "protected",
|
|
5536
|
+
"inheritedFrom": {
|
|
5537
|
+
"name": "FormAssociatedMixin",
|
|
5538
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
5539
|
+
}
|
|
5540
|
+
},
|
|
5541
|
+
{
|
|
5542
|
+
"kind": "method",
|
|
5543
|
+
"name": "getDescribedBy",
|
|
5544
|
+
"privacy": "protected",
|
|
5545
|
+
"inheritedFrom": {
|
|
5546
|
+
"name": "FormAssociatedMixin",
|
|
5547
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
5548
|
+
}
|
|
5549
|
+
},
|
|
5550
|
+
{
|
|
5551
|
+
"kind": "method",
|
|
5552
|
+
"name": "getInvalid",
|
|
5553
|
+
"privacy": "protected",
|
|
5554
|
+
"inheritedFrom": {
|
|
5555
|
+
"name": "FormAssociatedMixin",
|
|
5556
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
5557
|
+
}
|
|
5558
|
+
},
|
|
5559
|
+
{
|
|
5560
|
+
"kind": "field",
|
|
5561
|
+
"name": "hasHint",
|
|
5562
|
+
"privacy": "protected",
|
|
5563
|
+
"readonly": true,
|
|
5564
|
+
"inheritedFrom": {
|
|
5565
|
+
"name": "FormAssociatedMixin",
|
|
5566
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
5567
|
+
}
|
|
5568
|
+
},
|
|
5580
5569
|
{
|
|
5581
|
-
"
|
|
5570
|
+
"kind": "field",
|
|
5571
|
+
"name": "hasError",
|
|
5572
|
+
"privacy": "protected",
|
|
5573
|
+
"readonly": true,
|
|
5574
|
+
"inheritedFrom": {
|
|
5575
|
+
"name": "FormAssociatedMixin",
|
|
5576
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
5577
|
+
}
|
|
5578
|
+
},
|
|
5579
|
+
{
|
|
5580
|
+
"kind": "field",
|
|
5581
|
+
"name": "readonly",
|
|
5582
5582
|
"type": {
|
|
5583
|
-
"text": "
|
|
5583
|
+
"text": "boolean"
|
|
5584
|
+
},
|
|
5585
|
+
"default": "false",
|
|
5586
|
+
"description": "Makes the component readonly, so that it is not editable.\nReadonly differs from disabled in that readonly fields are still focusable and will be submitted with a form.",
|
|
5587
|
+
"attribute": "readonly",
|
|
5588
|
+
"reflects": true,
|
|
5589
|
+
"inheritedFrom": {
|
|
5590
|
+
"name": "ReadonlyMixin",
|
|
5591
|
+
"module": "src/common/mixins/ReadonlyMixin.ts"
|
|
5584
5592
|
}
|
|
5585
|
-
}
|
|
5586
|
-
],
|
|
5587
|
-
"description": "Gets the currently focused element, taking shadow roots into account."
|
|
5588
|
-
}
|
|
5589
|
-
],
|
|
5590
|
-
"exports": [
|
|
5591
|
-
{
|
|
5592
|
-
"kind": "js",
|
|
5593
|
-
"name": "getFocusedElement",
|
|
5594
|
-
"declaration": {
|
|
5595
|
-
"name": "getFocusedElement",
|
|
5596
|
-
"module": "src/common/focus.ts"
|
|
5597
|
-
}
|
|
5598
|
-
}
|
|
5599
|
-
]
|
|
5600
|
-
},
|
|
5601
|
-
{
|
|
5602
|
-
"kind": "javascript-module",
|
|
5603
|
-
"path": "src/common/form.ts",
|
|
5604
|
-
"declarations": [
|
|
5605
|
-
{
|
|
5606
|
-
"kind": "function",
|
|
5607
|
-
"name": "getSubmitButton",
|
|
5608
|
-
"return": {
|
|
5609
|
-
"type": {
|
|
5610
|
-
"text": "HTMLButtonElement | null"
|
|
5611
|
-
}
|
|
5612
|
-
},
|
|
5613
|
-
"parameters": [
|
|
5593
|
+
},
|
|
5614
5594
|
{
|
|
5615
|
-
"
|
|
5595
|
+
"kind": "field",
|
|
5596
|
+
"name": "disabled",
|
|
5616
5597
|
"type": {
|
|
5617
|
-
"text": "
|
|
5598
|
+
"text": "boolean"
|
|
5599
|
+
},
|
|
5600
|
+
"default": "false",
|
|
5601
|
+
"description": "Makes the component disabled. This prevents users from\nbeing able to interact with the component, and conveys\nits inactive state to assistive technologies.",
|
|
5602
|
+
"attribute": "disabled",
|
|
5603
|
+
"reflects": true,
|
|
5604
|
+
"inheritedFrom": {
|
|
5605
|
+
"name": "InputMixin",
|
|
5606
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
5618
5607
|
}
|
|
5619
|
-
}
|
|
5620
|
-
],
|
|
5621
|
-
"description": "Finds a form's submit button. First looking for a button inside form,\nand then looking for a button whose form attribute is equal to the ID of the form."
|
|
5622
|
-
}
|
|
5623
|
-
],
|
|
5624
|
-
"exports": [
|
|
5625
|
-
{
|
|
5626
|
-
"kind": "js",
|
|
5627
|
-
"name": "getSubmitButton",
|
|
5628
|
-
"declaration": {
|
|
5629
|
-
"name": "getSubmitButton",
|
|
5630
|
-
"module": "src/common/form.ts"
|
|
5631
|
-
}
|
|
5632
|
-
}
|
|
5633
|
-
]
|
|
5634
|
-
},
|
|
5635
|
-
{
|
|
5636
|
-
"kind": "javascript-module",
|
|
5637
|
-
"path": "src/common/fsm.ts",
|
|
5638
|
-
"declarations": [
|
|
5639
|
-
{
|
|
5640
|
-
"kind": "function",
|
|
5641
|
-
"name": "fsm",
|
|
5642
|
-
"parameters": [
|
|
5608
|
+
},
|
|
5643
5609
|
{
|
|
5644
|
-
"
|
|
5610
|
+
"kind": "field",
|
|
5611
|
+
"name": "name",
|
|
5645
5612
|
"type": {
|
|
5646
|
-
"text": "
|
|
5613
|
+
"text": "string | undefined"
|
|
5614
|
+
},
|
|
5615
|
+
"description": "The name of the form component.",
|
|
5616
|
+
"attribute": "name",
|
|
5617
|
+
"inheritedFrom": {
|
|
5618
|
+
"name": "InputMixin",
|
|
5619
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
5647
5620
|
}
|
|
5648
|
-
}
|
|
5649
|
-
]
|
|
5650
|
-
}
|
|
5651
|
-
],
|
|
5652
|
-
"exports": [
|
|
5653
|
-
{
|
|
5654
|
-
"kind": "js",
|
|
5655
|
-
"name": "fsm",
|
|
5656
|
-
"declaration": {
|
|
5657
|
-
"name": "fsm",
|
|
5658
|
-
"module": "src/common/fsm.ts"
|
|
5659
|
-
}
|
|
5660
|
-
}
|
|
5661
|
-
]
|
|
5662
|
-
},
|
|
5663
|
-
{
|
|
5664
|
-
"kind": "javascript-module",
|
|
5665
|
-
"path": "src/common/inert.ts",
|
|
5666
|
-
"declarations": [
|
|
5667
|
-
{
|
|
5668
|
-
"kind": "function",
|
|
5669
|
-
"name": "setInertAttributes",
|
|
5670
|
-
"parameters": [
|
|
5621
|
+
},
|
|
5671
5622
|
{
|
|
5672
|
-
"
|
|
5623
|
+
"kind": "field",
|
|
5624
|
+
"name": "formAncestor",
|
|
5673
5625
|
"type": {
|
|
5674
|
-
"text": "
|
|
5626
|
+
"text": "HTMLFormElement | null"
|
|
5675
5627
|
},
|
|
5676
|
-
"
|
|
5628
|
+
"privacy": "private",
|
|
5629
|
+
"default": "null",
|
|
5630
|
+
"inheritedFrom": {
|
|
5631
|
+
"name": "InputMixin",
|
|
5632
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
5633
|
+
}
|
|
5677
5634
|
},
|
|
5678
5635
|
{
|
|
5679
|
-
"
|
|
5636
|
+
"kind": "field",
|
|
5637
|
+
"name": "_formId",
|
|
5680
5638
|
"type": {
|
|
5681
|
-
"text": "
|
|
5639
|
+
"text": "string | undefined"
|
|
5682
5640
|
},
|
|
5683
|
-
"
|
|
5684
|
-
|
|
5685
|
-
|
|
5686
|
-
|
|
5687
|
-
|
|
5688
|
-
|
|
5689
|
-
"kind": "function",
|
|
5690
|
-
"name": "getElementsAround",
|
|
5691
|
-
"return": {
|
|
5692
|
-
"type": {
|
|
5693
|
-
"text": "Element[]"
|
|
5694
|
-
}
|
|
5695
|
-
},
|
|
5696
|
-
"parameters": [
|
|
5641
|
+
"privacy": "protected",
|
|
5642
|
+
"inheritedFrom": {
|
|
5643
|
+
"name": "InputMixin",
|
|
5644
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
5645
|
+
}
|
|
5646
|
+
},
|
|
5697
5647
|
{
|
|
5698
|
-
"
|
|
5648
|
+
"kind": "field",
|
|
5649
|
+
"name": "form",
|
|
5699
5650
|
"type": {
|
|
5700
|
-
"text": "
|
|
5651
|
+
"text": "HTMLFormElement | null"
|
|
5652
|
+
},
|
|
5653
|
+
"description": "Gets the form, if any, associated with the form element.\nThe setter accepts a string, which is the id of the form.",
|
|
5654
|
+
"attribute": "form",
|
|
5655
|
+
"inheritedFrom": {
|
|
5656
|
+
"name": "InputMixin",
|
|
5657
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
5658
|
+
}
|
|
5659
|
+
},
|
|
5660
|
+
{
|
|
5661
|
+
"kind": "field",
|
|
5662
|
+
"name": "focusableRef",
|
|
5663
|
+
"privacy": "protected",
|
|
5664
|
+
"inheritedFrom": {
|
|
5665
|
+
"name": "FocusableMixin",
|
|
5666
|
+
"module": "src/common/mixins/FocusableMixin.ts"
|
|
5667
|
+
}
|
|
5668
|
+
},
|
|
5669
|
+
{
|
|
5670
|
+
"kind": "method",
|
|
5671
|
+
"name": "focus",
|
|
5672
|
+
"parameters": [
|
|
5673
|
+
{
|
|
5674
|
+
"name": "options",
|
|
5675
|
+
"optional": true,
|
|
5676
|
+
"type": {
|
|
5677
|
+
"text": "FocusOptions"
|
|
5678
|
+
},
|
|
5679
|
+
"description": "An object which controls aspects of the focusing process."
|
|
5680
|
+
}
|
|
5681
|
+
],
|
|
5682
|
+
"description": "Programmatically move focus to the component.",
|
|
5683
|
+
"inheritedFrom": {
|
|
5684
|
+
"name": "FocusableMixin",
|
|
5685
|
+
"module": "src/common/mixins/FocusableMixin.ts"
|
|
5686
|
+
}
|
|
5687
|
+
},
|
|
5688
|
+
{
|
|
5689
|
+
"kind": "method",
|
|
5690
|
+
"name": "blur",
|
|
5691
|
+
"description": "Programmatically remove focus from the component.",
|
|
5692
|
+
"inheritedFrom": {
|
|
5693
|
+
"name": "FocusableMixin",
|
|
5694
|
+
"module": "src/common/mixins/FocusableMixin.ts"
|
|
5695
|
+
}
|
|
5696
|
+
},
|
|
5697
|
+
{
|
|
5698
|
+
"kind": "method",
|
|
5699
|
+
"name": "click",
|
|
5700
|
+
"description": "Programmatically simulates a click on the component.",
|
|
5701
|
+
"inheritedFrom": {
|
|
5702
|
+
"name": "FocusableMixin",
|
|
5703
|
+
"module": "src/common/mixins/FocusableMixin.ts"
|
|
5701
5704
|
}
|
|
5702
5705
|
}
|
|
5703
|
-
],
|
|
5704
|
-
"
|
|
5705
|
-
}
|
|
5706
|
-
],
|
|
5707
|
-
"exports": [
|
|
5708
|
-
{
|
|
5709
|
-
"kind": "js",
|
|
5710
|
-
"name": "setInertAttributes",
|
|
5711
|
-
"declaration": {
|
|
5712
|
-
"name": "setInertAttributes",
|
|
5713
|
-
"module": "src/common/inert.ts"
|
|
5714
|
-
}
|
|
5715
|
-
},
|
|
5716
|
-
{
|
|
5717
|
-
"kind": "js",
|
|
5718
|
-
"name": "getElementsAround",
|
|
5719
|
-
"declaration": {
|
|
5720
|
-
"name": "getElementsAround",
|
|
5721
|
-
"module": "src/common/inert.ts"
|
|
5722
|
-
}
|
|
5723
|
-
}
|
|
5724
|
-
]
|
|
5725
|
-
},
|
|
5726
|
-
{
|
|
5727
|
-
"kind": "javascript-module",
|
|
5728
|
-
"path": "src/common/input.ts",
|
|
5729
|
-
"declarations": [
|
|
5730
|
-
{
|
|
5731
|
-
"kind": "function",
|
|
5732
|
-
"name": "cleanValue",
|
|
5733
|
-
"return": {
|
|
5734
|
-
"type": {
|
|
5735
|
-
"text": "string"
|
|
5736
|
-
}
|
|
5737
|
-
},
|
|
5738
|
-
"parameters": [
|
|
5706
|
+
],
|
|
5707
|
+
"events": [
|
|
5739
5708
|
{
|
|
5740
|
-
"name": "
|
|
5709
|
+
"name": "change",
|
|
5741
5710
|
"type": {
|
|
5742
|
-
"text": "
|
|
5711
|
+
"text": "NordEvent"
|
|
5712
|
+
},
|
|
5713
|
+
"description": "Fired whenever the input's value is changed via user interaction.",
|
|
5714
|
+
"inheritedFrom": {
|
|
5715
|
+
"name": "FormAssociatedMixin",
|
|
5716
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
5743
5717
|
}
|
|
5744
5718
|
},
|
|
5745
5719
|
{
|
|
5746
|
-
"name": "regex",
|
|
5747
5720
|
"type": {
|
|
5748
|
-
"text": "
|
|
5721
|
+
"text": "NordEvent"
|
|
5722
|
+
},
|
|
5723
|
+
"description": "Dispatched when the popout is opened.",
|
|
5724
|
+
"name": "open"
|
|
5725
|
+
},
|
|
5726
|
+
{
|
|
5727
|
+
"type": {
|
|
5728
|
+
"text": "NordEvent"
|
|
5729
|
+
},
|
|
5730
|
+
"description": "Dispatched when the popout is closed.",
|
|
5731
|
+
"name": "close"
|
|
5732
|
+
},
|
|
5733
|
+
{
|
|
5734
|
+
"type": {
|
|
5735
|
+
"text": "DateSelectEvent"
|
|
5736
|
+
},
|
|
5737
|
+
"description": "Dispatched when the calendar's focused date changes.",
|
|
5738
|
+
"name": "nord-focus-date"
|
|
5739
|
+
},
|
|
5740
|
+
{
|
|
5741
|
+
"name": "input",
|
|
5742
|
+
"type": {
|
|
5743
|
+
"text": "NordEvent"
|
|
5744
|
+
},
|
|
5745
|
+
"description": "Fired as the user types into the input.",
|
|
5746
|
+
"inheritedFrom": {
|
|
5747
|
+
"name": "FormAssociatedMixin",
|
|
5748
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
5749
5749
|
}
|
|
5750
5750
|
}
|
|
5751
|
-
]
|
|
5752
|
-
|
|
5753
|
-
],
|
|
5754
|
-
"exports": [
|
|
5755
|
-
{
|
|
5756
|
-
"kind": "js",
|
|
5757
|
-
"name": "cleanValue",
|
|
5758
|
-
"declaration": {
|
|
5759
|
-
"name": "cleanValue",
|
|
5760
|
-
"module": "src/common/input.ts"
|
|
5761
|
-
}
|
|
5762
|
-
}
|
|
5763
|
-
]
|
|
5764
|
-
},
|
|
5765
|
-
{
|
|
5766
|
-
"kind": "javascript-module",
|
|
5767
|
-
"path": "src/common/number.ts",
|
|
5768
|
-
"declarations": [
|
|
5769
|
-
{
|
|
5770
|
-
"kind": "function",
|
|
5771
|
-
"name": "wrap",
|
|
5772
|
-
"parameters": [
|
|
5751
|
+
],
|
|
5752
|
+
"attributes": [
|
|
5773
5753
|
{
|
|
5774
|
-
"name": "
|
|
5754
|
+
"name": "value",
|
|
5775
5755
|
"type": {
|
|
5776
|
-
"text": "
|
|
5756
|
+
"text": "string"
|
|
5757
|
+
},
|
|
5758
|
+
"default": "\"\"",
|
|
5759
|
+
"description": "Date value. Must be in IS0-8601 format: YYYY-MM-DD.",
|
|
5760
|
+
"fieldName": "value",
|
|
5761
|
+
"inheritedFrom": {
|
|
5762
|
+
"name": "InputMixin",
|
|
5763
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
5777
5764
|
}
|
|
5778
5765
|
},
|
|
5766
|
+
{
|
|
5767
|
+
"name": "open",
|
|
5768
|
+
"type": {
|
|
5769
|
+
"text": "boolean"
|
|
5770
|
+
},
|
|
5771
|
+
"default": "false",
|
|
5772
|
+
"description": "Controls whether date picker dialog is open or not.",
|
|
5773
|
+
"fieldName": "open"
|
|
5774
|
+
},
|
|
5779
5775
|
{
|
|
5780
5776
|
"name": "min",
|
|
5781
5777
|
"type": {
|
|
5782
|
-
"text": "
|
|
5783
|
-
}
|
|
5778
|
+
"text": "string | undefined"
|
|
5779
|
+
},
|
|
5780
|
+
"description": "Minimum date allowed to be picked. Must be in IS0-8601 format: YYYY-MM-DD.\nThis setting can be used alone or together with the max property.",
|
|
5781
|
+
"fieldName": "min"
|
|
5784
5782
|
},
|
|
5785
5783
|
{
|
|
5786
5784
|
"name": "max",
|
|
5787
5785
|
"type": {
|
|
5788
|
-
"text": "
|
|
5789
|
-
}
|
|
5790
|
-
|
|
5791
|
-
|
|
5792
|
-
|
|
5793
|
-
},
|
|
5794
|
-
{
|
|
5795
|
-
"kind": "function",
|
|
5796
|
-
"name": "range",
|
|
5797
|
-
"parameters": [
|
|
5786
|
+
"text": "string | undefined"
|
|
5787
|
+
},
|
|
5788
|
+
"description": "Maximum date allowed to be picked. Must be in IS0-8601 format: YYYY-MM-DD.\nThis setting can be used alone or together with the min property.",
|
|
5789
|
+
"fieldName": "max"
|
|
5790
|
+
},
|
|
5798
5791
|
{
|
|
5799
|
-
"name": "
|
|
5792
|
+
"name": "first-day-of-week",
|
|
5800
5793
|
"type": {
|
|
5801
|
-
"text": "
|
|
5802
|
-
}
|
|
5794
|
+
"text": "DaysOfWeek"
|
|
5795
|
+
},
|
|
5796
|
+
"description": "Which day is considered first day of the week? `0` for Sunday, `1` for Monday, etc.\nDefault is Monday.",
|
|
5797
|
+
"fieldName": "firstDayOfWeek"
|
|
5803
5798
|
},
|
|
5804
5799
|
{
|
|
5805
|
-
"name": "
|
|
5800
|
+
"name": "expand",
|
|
5806
5801
|
"type": {
|
|
5807
|
-
"text": "
|
|
5808
|
-
}
|
|
5809
|
-
|
|
5810
|
-
|
|
5811
|
-
|
|
5812
|
-
|
|
5813
|
-
"kind": "function",
|
|
5814
|
-
"name": "clamp",
|
|
5815
|
-
"parameters": [
|
|
5802
|
+
"text": "boolean"
|
|
5803
|
+
},
|
|
5804
|
+
"default": "false",
|
|
5805
|
+
"description": "Controls whether the date picker expands to fill the width of its container.",
|
|
5806
|
+
"fieldName": "expand"
|
|
5807
|
+
},
|
|
5816
5808
|
{
|
|
5817
|
-
"name": "
|
|
5809
|
+
"name": "size",
|
|
5818
5810
|
"type": {
|
|
5819
|
-
"text": "
|
|
5811
|
+
"text": "\"s\" | \"m\" | \"l\""
|
|
5812
|
+
},
|
|
5813
|
+
"default": "\"m\"",
|
|
5814
|
+
"description": "The size of the component.",
|
|
5815
|
+
"fieldName": "size",
|
|
5816
|
+
"inheritedFrom": {
|
|
5817
|
+
"name": "SizeMixin",
|
|
5818
|
+
"module": "src/common/mixins/SizeMixin.ts"
|
|
5820
5819
|
}
|
|
5821
5820
|
},
|
|
5822
5821
|
{
|
|
5823
|
-
"name": "
|
|
5822
|
+
"name": "label",
|
|
5824
5823
|
"type": {
|
|
5825
|
-
"text": "
|
|
5824
|
+
"text": "string"
|
|
5825
|
+
},
|
|
5826
|
+
"default": "\"\"",
|
|
5827
|
+
"description": "Label for the input.",
|
|
5828
|
+
"fieldName": "label",
|
|
5829
|
+
"inheritedFrom": {
|
|
5830
|
+
"name": "FormAssociatedMixin",
|
|
5831
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
5826
5832
|
}
|
|
5827
5833
|
},
|
|
5828
5834
|
{
|
|
5829
|
-
"name": "
|
|
5835
|
+
"name": "hint",
|
|
5830
5836
|
"type": {
|
|
5831
|
-
"text": "
|
|
5837
|
+
"text": "string | undefined"
|
|
5838
|
+
},
|
|
5839
|
+
"description": "Optional hint text to be displayed with the input. Alternatively use the hint slot.",
|
|
5840
|
+
"fieldName": "hint",
|
|
5841
|
+
"inheritedFrom": {
|
|
5842
|
+
"name": "FormAssociatedMixin",
|
|
5843
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
5832
5844
|
}
|
|
5833
|
-
}
|
|
5834
|
-
]
|
|
5835
|
-
}
|
|
5836
|
-
],
|
|
5837
|
-
"exports": [
|
|
5838
|
-
{
|
|
5839
|
-
"kind": "js",
|
|
5840
|
-
"name": "wrap",
|
|
5841
|
-
"declaration": {
|
|
5842
|
-
"name": "wrap",
|
|
5843
|
-
"module": "src/common/number.ts"
|
|
5844
|
-
}
|
|
5845
|
-
},
|
|
5846
|
-
{
|
|
5847
|
-
"kind": "js",
|
|
5848
|
-
"name": "range",
|
|
5849
|
-
"declaration": {
|
|
5850
|
-
"name": "range",
|
|
5851
|
-
"module": "src/common/number.ts"
|
|
5852
|
-
}
|
|
5853
|
-
},
|
|
5854
|
-
{
|
|
5855
|
-
"kind": "js",
|
|
5856
|
-
"name": "clamp",
|
|
5857
|
-
"declaration": {
|
|
5858
|
-
"name": "clamp",
|
|
5859
|
-
"module": "src/common/number.ts"
|
|
5860
|
-
}
|
|
5861
|
-
}
|
|
5862
|
-
]
|
|
5863
|
-
},
|
|
5864
|
-
{
|
|
5865
|
-
"kind": "javascript-module",
|
|
5866
|
-
"path": "src/common/portal.ts",
|
|
5867
|
-
"declarations": [
|
|
5868
|
-
{
|
|
5869
|
-
"kind": "function",
|
|
5870
|
-
"name": "createPortal",
|
|
5871
|
-
"parameters": [
|
|
5845
|
+
},
|
|
5872
5846
|
{
|
|
5873
|
-
"name": "
|
|
5847
|
+
"name": "hide-label",
|
|
5874
5848
|
"type": {
|
|
5875
|
-
"text": "
|
|
5849
|
+
"text": "boolean"
|
|
5850
|
+
},
|
|
5851
|
+
"default": "false",
|
|
5852
|
+
"description": "Visually hide the label, but still show it to assistive technologies like screen readers.",
|
|
5853
|
+
"fieldName": "hideLabel",
|
|
5854
|
+
"inheritedFrom": {
|
|
5855
|
+
"name": "FormAssociatedMixin",
|
|
5856
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
5876
5857
|
}
|
|
5877
5858
|
},
|
|
5878
5859
|
{
|
|
5879
|
-
"name": "
|
|
5860
|
+
"name": "placeholder",
|
|
5880
5861
|
"type": {
|
|
5881
|
-
"text": "
|
|
5862
|
+
"text": "string | undefined"
|
|
5863
|
+
},
|
|
5864
|
+
"description": "Placeholder text to display within the input.",
|
|
5865
|
+
"fieldName": "placeholder",
|
|
5866
|
+
"inheritedFrom": {
|
|
5867
|
+
"name": "FormAssociatedMixin",
|
|
5868
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
5882
5869
|
}
|
|
5883
|
-
}
|
|
5884
|
-
],
|
|
5885
|
-
"description": "Creates a \"portal\" for transporting an element from one location to another.\nThe element gets moved to its destination on open(),\nand restored to its original location on close()."
|
|
5886
|
-
}
|
|
5887
|
-
],
|
|
5888
|
-
"exports": [
|
|
5889
|
-
{
|
|
5890
|
-
"kind": "js",
|
|
5891
|
-
"name": "createPortal",
|
|
5892
|
-
"declaration": {
|
|
5893
|
-
"name": "createPortal",
|
|
5894
|
-
"module": "src/common/portal.ts"
|
|
5895
|
-
}
|
|
5896
|
-
}
|
|
5897
|
-
]
|
|
5898
|
-
},
|
|
5899
|
-
{
|
|
5900
|
-
"kind": "javascript-module",
|
|
5901
|
-
"path": "src/common/positioning.ts",
|
|
5902
|
-
"declarations": [
|
|
5903
|
-
{
|
|
5904
|
-
"kind": "function",
|
|
5905
|
-
"name": "logicalToPhysical",
|
|
5906
|
-
"return": {
|
|
5907
|
-
"type": {
|
|
5908
|
-
"text": "Side"
|
|
5909
|
-
}
|
|
5910
|
-
},
|
|
5911
|
-
"parameters": [
|
|
5870
|
+
},
|
|
5912
5871
|
{
|
|
5913
|
-
"name": "
|
|
5872
|
+
"name": "error",
|
|
5914
5873
|
"type": {
|
|
5915
|
-
"text": "
|
|
5874
|
+
"text": "string | undefined"
|
|
5875
|
+
},
|
|
5876
|
+
"description": "Optional error to be shown with the input. Alternatively use the error slot.",
|
|
5877
|
+
"fieldName": "error",
|
|
5878
|
+
"inheritedFrom": {
|
|
5879
|
+
"name": "FormAssociatedMixin",
|
|
5880
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
5916
5881
|
}
|
|
5917
|
-
}
|
|
5918
|
-
],
|
|
5919
|
-
"description": "Converts a single logical position to a physical position"
|
|
5920
|
-
},
|
|
5921
|
-
{
|
|
5922
|
-
"kind": "function",
|
|
5923
|
-
"name": "logicalToPhysical",
|
|
5924
|
-
"return": {
|
|
5925
|
-
"type": {
|
|
5926
|
-
"text": "Placement"
|
|
5927
|
-
}
|
|
5928
|
-
},
|
|
5929
|
-
"parameters": [
|
|
5882
|
+
},
|
|
5930
5883
|
{
|
|
5931
|
-
"name": "
|
|
5884
|
+
"name": "required",
|
|
5932
5885
|
"type": {
|
|
5933
|
-
"text": "
|
|
5886
|
+
"text": "boolean"
|
|
5887
|
+
},
|
|
5888
|
+
"default": "false",
|
|
5889
|
+
"description": "Determines whether the input is required or not.\nAn input marked as required will be announced as such to users of assistive technology.\nWhen using this property you need to also set “novalidate” attribute on a form element to prevent browser from displaying its own validation errors.",
|
|
5890
|
+
"fieldName": "required",
|
|
5891
|
+
"inheritedFrom": {
|
|
5892
|
+
"name": "FormAssociatedMixin",
|
|
5893
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
5934
5894
|
}
|
|
5935
5895
|
},
|
|
5936
5896
|
{
|
|
5937
|
-
"name": "
|
|
5897
|
+
"name": "hide-required",
|
|
5938
5898
|
"type": {
|
|
5939
|
-
"text": "
|
|
5899
|
+
"text": "boolean"
|
|
5900
|
+
},
|
|
5901
|
+
"default": "false",
|
|
5902
|
+
"description": "Visually hide the required indicator, but still show\nrequired attribute to assistive technologies like screen readers.",
|
|
5903
|
+
"fieldName": "hideRequired",
|
|
5904
|
+
"inheritedFrom": {
|
|
5905
|
+
"name": "FormAssociatedMixin",
|
|
5906
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
5940
5907
|
}
|
|
5941
5908
|
},
|
|
5942
5909
|
{
|
|
5943
|
-
"name": "
|
|
5910
|
+
"name": "readonly",
|
|
5944
5911
|
"type": {
|
|
5945
|
-
"text": "
|
|
5912
|
+
"text": "boolean"
|
|
5913
|
+
},
|
|
5914
|
+
"default": "false",
|
|
5915
|
+
"description": "Makes the component readonly, so that it is not editable.\nReadonly differs from disabled in that readonly fields are still focusable and will be submitted with a form.",
|
|
5916
|
+
"fieldName": "readonly",
|
|
5917
|
+
"inheritedFrom": {
|
|
5918
|
+
"name": "ReadonlyMixin",
|
|
5919
|
+
"module": "src/common/mixins/ReadonlyMixin.ts"
|
|
5946
5920
|
}
|
|
5947
|
-
}
|
|
5948
|
-
],
|
|
5949
|
-
"description": "Converts a logical side and alignment to floating-ui compatible placement"
|
|
5950
|
-
},
|
|
5951
|
-
{
|
|
5952
|
-
"kind": "function",
|
|
5953
|
-
"name": "logicalToPhysical",
|
|
5954
|
-
"parameters": [
|
|
5921
|
+
},
|
|
5955
5922
|
{
|
|
5956
|
-
"name": "
|
|
5923
|
+
"name": "disabled",
|
|
5957
5924
|
"type": {
|
|
5958
|
-
"text": "
|
|
5925
|
+
"text": "boolean"
|
|
5926
|
+
},
|
|
5927
|
+
"default": "false",
|
|
5928
|
+
"description": "Makes the component disabled. This prevents users from\nbeing able to interact with the component, and conveys\nits inactive state to assistive technologies.",
|
|
5929
|
+
"fieldName": "disabled",
|
|
5930
|
+
"inheritedFrom": {
|
|
5931
|
+
"name": "InputMixin",
|
|
5932
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
5959
5933
|
}
|
|
5960
5934
|
},
|
|
5961
5935
|
{
|
|
5962
|
-
"name": "
|
|
5963
|
-
"optional": true,
|
|
5936
|
+
"name": "name",
|
|
5964
5937
|
"type": {
|
|
5965
|
-
"text": "
|
|
5938
|
+
"text": "string | undefined"
|
|
5939
|
+
},
|
|
5940
|
+
"description": "The name of the form component.",
|
|
5941
|
+
"fieldName": "name",
|
|
5942
|
+
"inheritedFrom": {
|
|
5943
|
+
"name": "InputMixin",
|
|
5944
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
5966
5945
|
}
|
|
5967
5946
|
},
|
|
5968
5947
|
{
|
|
5969
|
-
"name": "
|
|
5970
|
-
"optional": true,
|
|
5948
|
+
"name": "form",
|
|
5971
5949
|
"type": {
|
|
5972
|
-
"text": "
|
|
5950
|
+
"text": "HTMLFormElement | null"
|
|
5951
|
+
},
|
|
5952
|
+
"description": "Gets the form, if any, associated with the form element.\nThe setter accepts a string, which is the id of the form.",
|
|
5953
|
+
"fieldName": "form",
|
|
5954
|
+
"inheritedFrom": {
|
|
5955
|
+
"name": "InputMixin",
|
|
5956
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
5973
5957
|
}
|
|
5974
5958
|
}
|
|
5975
|
-
]
|
|
5959
|
+
],
|
|
5960
|
+
"mixins": [
|
|
5961
|
+
{
|
|
5962
|
+
"name": "SizeMixin",
|
|
5963
|
+
"module": "/src/common/mixins/SizeMixin.js"
|
|
5964
|
+
},
|
|
5965
|
+
{
|
|
5966
|
+
"name": "FormAssociatedMixin",
|
|
5967
|
+
"module": "/src/common/mixins/FormAssociatedMixin.js"
|
|
5968
|
+
},
|
|
5969
|
+
{
|
|
5970
|
+
"name": "ReadonlyMixin",
|
|
5971
|
+
"module": "/src/common/mixins/ReadonlyMixin.js"
|
|
5972
|
+
},
|
|
5973
|
+
{
|
|
5974
|
+
"name": "InputMixin",
|
|
5975
|
+
"module": "/src/common/mixins/InputMixin.js"
|
|
5976
|
+
},
|
|
5977
|
+
{
|
|
5978
|
+
"name": "FocusableMixin",
|
|
5979
|
+
"module": "/src/common/mixins/FocusableMixin.js"
|
|
5980
|
+
}
|
|
5981
|
+
],
|
|
5982
|
+
"superclass": {
|
|
5983
|
+
"name": "LitElement",
|
|
5984
|
+
"package": "lit"
|
|
5985
|
+
},
|
|
5986
|
+
"localization": [
|
|
5987
|
+
{
|
|
5988
|
+
"name": "modalHeading",
|
|
5989
|
+
"description": "Heading for the date picker's modal."
|
|
5990
|
+
},
|
|
5991
|
+
{
|
|
5992
|
+
"name": "closeLabel",
|
|
5993
|
+
"description": "Accessible label for the close button."
|
|
5994
|
+
},
|
|
5995
|
+
{
|
|
5996
|
+
"name": "buttonLabel",
|
|
5997
|
+
"description": "Accessible label for the toggle button that opens the date picker modal."
|
|
5998
|
+
},
|
|
5999
|
+
{
|
|
6000
|
+
"name": "selectedDateMessage",
|
|
6001
|
+
"description": "Describes the selected date. This message is appended to the toggle button label when a date is selected."
|
|
6002
|
+
}
|
|
6003
|
+
],
|
|
6004
|
+
"status": "ready",
|
|
6005
|
+
"category": "form",
|
|
6006
|
+
"readme": "## Usage\n\nThis section includes guidelines for designers and developers about the usage of this component in different contexts.\n\n<div class=\"n-usage n-usage-do\">\n\n### Do\n\n- Use when the user needs to choose a single date or a date range.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t use for entering date of birth. Use input component instead.\n- Don’t use to choose a date that is over 10 years in the future or the past.\n\n</div>\n\n---\n\n## Keyboard accessibility\n\nDate picker is built to closely follow [W3C Date Picker Dialog example](https://www.w3.org/TR/wai-aria-practices/examples/dialog-modal/datepicker-dialog.html) with some small exceptions to e.g. better support iOS VoiceOver and Android TalkBack.\n\n### Choose date button\n\n- `Space, Enter`: Opens the date picker dialog and moves focus to the first select menu in the dialog.\n\n### Date picker dialog\n\n- `Esc`: Closes the date picker dialog and moves focus back to the “choose date” button.\n- `Tab`: Moves focus to the next element in the dialog. Please note since the calendar uses `role=\"grid\"`, only one button in the calendar grid is in the tab sequence. Additionally, if focus is on the last focusable element, focus is next moved back to the first focusable element inside the date picker dialog.\n- `Shift + Tab`: Same as above, but in reverse order.\n\n### Date picker dialog: Month/year buttons\n\n- `Space, Enter`: Changes the month and/or year displayed.\n\n### Date picker dialog: Date grid\n\n- `Space, Enter`: Selects a date, closes the dialog, and moves focus back to the “Choose Date” button. Additionally updates the value of the date picker input with the selected date, and adds selected date to “Choose Date” button label.\n- `Arrow up`: Moves focus to the same day of the previous week.\n- `Arrow down`: Moves focus to the same day of the next week.\n- `Arrow right`: Moves focus to the next day. In right-to-left languages, moves focus to the previous day.\n- `Arrow left`: Moves focus to the previous day. In right-to-left languages, moves focus to the next day.\n- `Home`: Moves focus to the first day (e.g Monday) of the current week.\n- `End`: Moves focus to the last day (e.g. Sunday) of the current week.\n- `Page Up`: Changes the grid of dates to the previous month and sets focus on the same day of the same week.\n- `Shift + Page Up`: Changes the grid of dates to the previous year and sets focus on the same day of the same week.\n- `Page Down`: Changes the grid of dates to the next month and sets focus on the same day of the same week.\n- `Shift + Page Down`: Changes the grid of dates to the next year and sets focus on the same day of the same week.\n\n#### Date picker dialog: Close button\n\n- `Space, Enter`: Closes the dialog, moves focus to “choose date” button, but does not update the date in input.\n",
|
|
6007
|
+
"examples": [],
|
|
6008
|
+
"dependencies": [
|
|
6009
|
+
"icon",
|
|
6010
|
+
"input",
|
|
6011
|
+
"button",
|
|
6012
|
+
"visually-hidden",
|
|
6013
|
+
"popout",
|
|
6014
|
+
"stack",
|
|
6015
|
+
"calendar"
|
|
6016
|
+
],
|
|
6017
|
+
"tagName": "nord-date-picker",
|
|
6018
|
+
"customElement": true
|
|
5976
6019
|
}
|
|
5977
6020
|
],
|
|
5978
6021
|
"exports": [
|
|
5979
6022
|
{
|
|
5980
6023
|
"kind": "js",
|
|
5981
|
-
"name": "
|
|
5982
|
-
"declaration": {
|
|
5983
|
-
"name": "logicalToPhysical",
|
|
5984
|
-
"module": "src/common/positioning.ts"
|
|
5985
|
-
}
|
|
5986
|
-
},
|
|
5987
|
-
{
|
|
5988
|
-
"kind": "js",
|
|
5989
|
-
"name": "logicalToPhysical",
|
|
6024
|
+
"name": "default",
|
|
5990
6025
|
"declaration": {
|
|
5991
|
-
"name": "
|
|
5992
|
-
"module": "src/
|
|
6026
|
+
"name": "DatePicker",
|
|
6027
|
+
"module": "src/date-picker/DatePicker.ts"
|
|
5993
6028
|
}
|
|
5994
6029
|
},
|
|
5995
6030
|
{
|
|
5996
|
-
"kind": "
|
|
5997
|
-
"name": "
|
|
6031
|
+
"kind": "custom-element-definition",
|
|
6032
|
+
"name": "nord-date-picker",
|
|
5998
6033
|
"declaration": {
|
|
5999
|
-
"name": "
|
|
6000
|
-
"module": "src/
|
|
6034
|
+
"name": "DatePicker",
|
|
6035
|
+
"module": "src/date-picker/DatePicker.ts"
|
|
6001
6036
|
}
|
|
6002
6037
|
}
|
|
6003
6038
|
]
|
|
6004
6039
|
},
|
|
6005
6040
|
{
|
|
6006
6041
|
"kind": "javascript-module",
|
|
6007
|
-
"path": "src/
|
|
6042
|
+
"path": "src/date-picker/date-adapter.ts",
|
|
6008
6043
|
"declarations": [
|
|
6009
6044
|
{
|
|
6010
|
-
"kind": "
|
|
6011
|
-
"name": "
|
|
6012
|
-
"
|
|
6013
|
-
"
|
|
6014
|
-
"text": "RefCallback"
|
|
6015
|
-
}
|
|
6045
|
+
"kind": "variable",
|
|
6046
|
+
"name": "isoAdapter",
|
|
6047
|
+
"type": {
|
|
6048
|
+
"text": "DateAdapter"
|
|
6016
6049
|
},
|
|
6017
|
-
"
|
|
6018
|
-
{
|
|
6019
|
-
"name": "refs",
|
|
6020
|
-
"type": {
|
|
6021
|
-
"text": "Ref[]"
|
|
6022
|
-
}
|
|
6023
|
-
}
|
|
6024
|
-
],
|
|
6025
|
-
"description": "Creates a ref callback which will assign the element to every given ref"
|
|
6050
|
+
"default": "{ parse: parseISODate, format: printISODate }"
|
|
6026
6051
|
}
|
|
6027
6052
|
],
|
|
6028
6053
|
"exports": [
|
|
6029
6054
|
{
|
|
6030
6055
|
"kind": "js",
|
|
6031
|
-
"name": "
|
|
6056
|
+
"name": "isoAdapter",
|
|
6032
6057
|
"declaration": {
|
|
6033
|
-
"name": "
|
|
6034
|
-
"module": "src/
|
|
6058
|
+
"name": "isoAdapter",
|
|
6059
|
+
"module": "src/date-picker/date-adapter.ts"
|
|
6035
6060
|
}
|
|
6036
6061
|
}
|
|
6037
6062
|
]
|
|
6038
6063
|
},
|
|
6039
6064
|
{
|
|
6040
6065
|
"kind": "javascript-module",
|
|
6041
|
-
"path": "src/
|
|
6066
|
+
"path": "src/date-picker/localization.ts",
|
|
6042
6067
|
"declarations": [
|
|
6043
6068
|
{
|
|
6044
|
-
"kind": "
|
|
6045
|
-
"name": "
|
|
6046
|
-
"
|
|
6047
|
-
|
|
6048
|
-
|
|
6049
|
-
|
|
6050
|
-
"text": "string"
|
|
6051
|
-
}
|
|
6052
|
-
},
|
|
6053
|
-
{
|
|
6054
|
-
"name": "defaultValue",
|
|
6055
|
-
"type": {
|
|
6056
|
-
"text": "T"
|
|
6057
|
-
}
|
|
6058
|
-
},
|
|
6059
|
-
{
|
|
6060
|
-
"name": "serialize",
|
|
6061
|
-
"default": "JSON.stringify",
|
|
6062
|
-
"type": {
|
|
6063
|
-
"text": "(value: T) => string"
|
|
6064
|
-
}
|
|
6065
|
-
},
|
|
6066
|
-
{
|
|
6067
|
-
"name": "deserialize",
|
|
6068
|
-
"default": "JSON.parse",
|
|
6069
|
-
"type": {
|
|
6070
|
-
"text": "(value: string) => T"
|
|
6071
|
-
}
|
|
6072
|
-
}
|
|
6073
|
-
],
|
|
6074
|
-
"description": "Thin wrapper around local storage which simplifies (de)serialization and default values.\nBy default, (de)serializes as JSON."
|
|
6069
|
+
"kind": "variable",
|
|
6070
|
+
"name": "datePickerLocalization",
|
|
6071
|
+
"type": {
|
|
6072
|
+
"text": "object"
|
|
6073
|
+
},
|
|
6074
|
+
"default": "{\n modalHeading: \"Choose a date\",\n closeLabel: \"Close window\",\n buttonLabel: \"Choose date\",\n selectedDateMessage: \"Selected date is\",\n}"
|
|
6075
6075
|
}
|
|
6076
6076
|
],
|
|
6077
6077
|
"exports": [
|
|
6078
6078
|
{
|
|
6079
6079
|
"kind": "js",
|
|
6080
|
-
"name": "
|
|
6080
|
+
"name": "default",
|
|
6081
6081
|
"declaration": {
|
|
6082
|
-
"name": "
|
|
6083
|
-
"module": "src/
|
|
6082
|
+
"name": "datePickerLocalization",
|
|
6083
|
+
"module": "src/date-picker/localization.ts"
|
|
6084
6084
|
}
|
|
6085
6085
|
}
|
|
6086
6086
|
]
|