@esri/calcite-components 1.0.0-next.541 → 1.0.0-next.544
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/assets/date-picker/nls/pt-PT.json +1 -0
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/calcite.js +1 -1
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/{p-5eac94d6.system.entry.js → p-017b5563.system.entry.js} +2 -2
- package/dist/calcite/{p-139e5ea1.js → p-0402c9d6.js} +2 -2
- package/dist/calcite/{p-2c14d2e4.system.entry.js → p-055a2cf9.system.entry.js} +2 -2
- package/dist/calcite/{p-811f9c3a.entry.js → p-05b37bfd.entry.js} +2 -2
- package/dist/calcite/{p-1c6de284.entry.js → p-063cf7d8.entry.js} +2 -2
- package/dist/calcite/{p-5c9aee9b.system.entry.js → p-06e50ca1.system.entry.js} +2 -2
- package/dist/calcite/{p-639566f0.js → p-07500b9d.js} +1 -1
- package/dist/calcite/{p-c08f8245.system.entry.js → p-086a477f.system.entry.js} +2 -2
- package/dist/calcite/{p-e4134b3d.system.entry.js → p-0ab1c130.system.entry.js} +2 -2
- package/dist/calcite/p-0ab8d9a9.system.entry.js +6 -0
- package/dist/calcite/{p-cc86903f.entry.js → p-0c8f4810.entry.js} +2 -2
- package/dist/calcite/{p-a1a42618.js → p-0e793336.js} +2 -2
- package/dist/calcite/{p-b3e66d43.system.entry.js → p-11d6f7e8.system.entry.js} +2 -2
- package/dist/calcite/{p-c5f731d8.system.js → p-124d554c.system.js} +1 -1
- package/dist/calcite/{p-e2658c82.system.entry.js → p-13118932.system.entry.js} +2 -2
- package/dist/calcite/{p-125dc43c.system.js → p-141468cd.system.js} +1 -1
- package/dist/calcite/{p-425efb05.system.js → p-1627818c.system.js} +1 -1
- package/dist/calcite/{p-d24f45b0.js → p-16b14f03.js} +2 -2
- package/dist/calcite/{p-eb3e4fc5.entry.js → p-188b2cfd.entry.js} +2 -2
- package/dist/calcite/{p-e8aba406.system.entry.js → p-193c62a4.system.entry.js} +2 -2
- package/dist/calcite/{p-bf0cb0f3.system.entry.js → p-1aa9f3eb.system.entry.js} +2 -2
- package/dist/calcite/p-1b5134c1.entry.js +6 -0
- package/dist/calcite/{p-1e508d0f.system.entry.js → p-1b5468d5.system.entry.js} +2 -2
- package/dist/calcite/{p-4b686f0d.system.entry.js → p-1f19a1b1.system.entry.js} +2 -2
- package/dist/calcite/{p-7c8f30b3.system.entry.js → p-22b6d250.system.entry.js} +2 -2
- package/dist/calcite/{p-a8eed356.entry.js → p-27357e03.entry.js} +2 -2
- package/dist/calcite/{p-5eaab115.entry.js → p-2a9e74e6.entry.js} +2 -2
- package/dist/calcite/{p-babc3479.system.entry.js → p-2b0f1f3c.system.entry.js} +2 -2
- package/dist/calcite/{p-71d9cf19.entry.js → p-2d18035d.entry.js} +2 -2
- package/dist/calcite/{p-716ffd9d.system.js → p-2e12b7f4.system.js} +2 -2
- package/dist/calcite/{p-6027f8df.entry.js → p-316501a8.entry.js} +2 -2
- package/dist/calcite/{p-f2b42c9a.system.entry.js → p-33fd6519.system.entry.js} +2 -2
- package/dist/calcite/{p-0a0c9fb1.system.entry.js → p-3618ac1f.system.entry.js} +2 -2
- package/dist/calcite/p-37eb4ca2.system.entry.js +6 -0
- package/dist/calcite/{p-c30e0dde.entry.js → p-391b9824.entry.js} +2 -2
- package/dist/calcite/{p-351d758b.js → p-3973e87f.js} +1 -1
- package/dist/calcite/{p-eb3b33a9.js → p-3c34aeff.js} +1 -1
- package/dist/calcite/{p-19caa7ad.entry.js → p-3cb078d5.entry.js} +2 -2
- package/dist/calcite/{p-df744686.system.entry.js → p-3df8d9f0.system.entry.js} +2 -2
- package/dist/calcite/{p-4628af8a.js → p-3fe91dfb.js} +2 -2
- package/dist/calcite/{p-402d5d66.system.js → p-4078cae3.system.js} +1 -1
- package/dist/calcite/{p-513c299d.system.entry.js → p-41db0342.system.entry.js} +2 -2
- package/dist/calcite/p-421e2c77.system.entry.js +6 -0
- package/dist/calcite/{p-7c3b08d4.entry.js → p-431be889.entry.js} +2 -2
- package/dist/calcite/{p-2bd06ea0.entry.js → p-4539ba94.entry.js} +2 -2
- package/dist/calcite/{p-5f902b7e.system.entry.js → p-46980e08.system.entry.js} +2 -2
- package/dist/calcite/{p-23fbea45.js → p-47975ad3.js} +1 -1
- package/dist/calcite/{p-d4db70a1.system.js → p-4929a0eb.system.js} +2 -2
- package/dist/calcite/{p-73821e7e.entry.js → p-4c5a4831.entry.js} +2 -2
- package/dist/calcite/{p-99b59527.system.entry.js → p-4d59d2f1.system.entry.js} +2 -2
- package/dist/calcite/{p-b94c634f.system.js → p-4f479ec5.system.js} +3 -3
- package/dist/calcite/{p-5b2a6ff2.entry.js → p-505fe1e6.entry.js} +2 -2
- package/dist/calcite/p-524e091f.system.entry.js +6 -0
- package/dist/calcite/{p-0c2126c3.entry.js → p-53f08c1d.entry.js} +2 -2
- package/dist/calcite/{p-63ff362d.entry.js → p-555f4c8e.entry.js} +2 -2
- package/dist/calcite/{p-74cc2d04.system.entry.js → p-568b56f0.system.entry.js} +2 -2
- package/dist/calcite/{p-6ad72e5d.system.entry.js → p-5be7ace5.system.entry.js} +2 -2
- package/dist/calcite/{p-373c3525.system.js → p-5c143f06.system.js} +1 -1
- package/dist/calcite/{p-e19e017e.system.js → p-5c5934ca.system.js} +2 -2
- package/dist/calcite/{p-f6ad025c.system.js → p-5d27f690.system.js} +1 -1
- package/dist/calcite/{p-f1d23a04.system.entry.js → p-5d715233.system.entry.js} +2 -2
- package/dist/calcite/{p-ac9811b6.system.js → p-5f17574e.system.js} +1 -1
- package/dist/calcite/{p-4421ad7f.entry.js → p-5fbfcb6f.entry.js} +2 -2
- package/dist/calcite/{p-bf149d0c.system.entry.js → p-60a40fd6.system.entry.js} +2 -2
- package/dist/calcite/p-60fd8d01.entry.js +6 -0
- package/dist/calcite/p-611927da.js +6 -0
- package/dist/calcite/{p-09a784ef.js → p-653af4c7.js} +1 -1
- package/dist/calcite/p-65743185.entry.js +6 -0
- package/dist/calcite/{p-e15a01d6.system.entry.js → p-669cfd9c.system.entry.js} +2 -2
- package/dist/calcite/{p-6659bc18.entry.js → p-66d4cc4f.entry.js} +2 -2
- package/dist/calcite/{p-e05d5ac3.system.entry.js → p-6705254d.system.entry.js} +2 -2
- package/dist/calcite/{p-2d0560c3.system.js → p-67340ef8.system.js} +1 -1
- package/dist/calcite/{p-84e09276.entry.js → p-6a51a947.entry.js} +2 -2
- package/dist/calcite/{p-c4c1e154.system.entry.js → p-6a8842ef.system.entry.js} +2 -2
- package/dist/calcite/{p-eca79639.entry.js → p-6c8dc598.entry.js} +2 -2
- package/dist/calcite/{p-576fd86d.entry.js → p-7090b8ec.entry.js} +2 -2
- package/dist/calcite/{p-bf3c3837.js → p-732f6e8e.js} +1 -1
- package/dist/calcite/{p-7c5fc45e.system.js → p-741e7e94.system.js} +2 -2
- package/dist/calcite/{p-e581002d.js → p-74728471.js} +1 -1
- package/dist/calcite/p-74d0651d.system.js +6 -0
- package/dist/calcite/{p-2a9ee718.entry.js → p-75895886.entry.js} +2 -2
- package/dist/calcite/{p-6fdf2cd3.js → p-771a95d9.js} +1 -1
- package/dist/calcite/{p-82893fd1.system.entry.js → p-77ff437a.system.entry.js} +2 -2
- package/dist/calcite/p-78f9dad4.js +6 -0
- package/dist/calcite/{p-16352c50.entry.js → p-790edf0a.entry.js} +2 -2
- package/dist/calcite/{p-1f513500.system.js → p-7b14556e.system.js} +1 -1
- package/dist/calcite/{p-6a3e681f.entry.js → p-7d6fac7b.entry.js} +2 -2
- package/dist/calcite/{p-3e5f7ea2.entry.js → p-7da893b7.entry.js} +2 -2
- package/dist/calcite/{p-7a5558ea.system.js → p-7ec67376.system.js} +1 -1
- package/dist/calcite/{p-4266ea8e.entry.js → p-80e72bbe.entry.js} +2 -2
- package/dist/calcite/{p-1eef9bb6.system.js → p-843af182.system.js} +1 -1
- package/dist/calcite/{p-344b08b0.system.entry.js → p-84e02c84.system.entry.js} +2 -2
- package/dist/calcite/{p-a608ba0a.js → p-8522c8ba.js} +2 -2
- package/dist/calcite/{p-ca907d1e.entry.js → p-8631146a.entry.js} +2 -2
- package/dist/calcite/{p-ff5d892d.entry.js → p-882dc80b.entry.js} +2 -2
- package/dist/calcite/{p-64c19446.system.js → p-88f8cf93.system.js} +1 -1
- package/dist/calcite/{p-f2fb1a5d.entry.js → p-8daae8c6.entry.js} +2 -2
- package/dist/calcite/{p-0e96136e.js → p-8dfda34f.js} +1 -1
- package/dist/calcite/{p-3c8adba0.entry.js → p-8fe1425a.entry.js} +2 -2
- package/dist/calcite/{p-50508b4c.system.entry.js → p-901c46b3.system.entry.js} +2 -2
- package/dist/calcite/{p-29a87c80.js → p-9023d820.js} +2 -2
- package/dist/calcite/{p-fd44e962.js → p-90b70057.js} +2 -2
- package/dist/calcite/{p-459c4595.js → p-90b73984.js} +1 -1
- package/dist/calcite/{p-458ee586.system.entry.js → p-91ab51ee.system.entry.js} +2 -2
- package/dist/calcite/{p-10080780.system.js → p-9537cb10.system.js} +2 -2
- package/dist/calcite/{p-7616631b.system.js → p-95c483ad.system.js} +2 -2
- package/dist/calcite/{p-544fd9bd.system.js → p-95c977b4.system.js} +1 -1
- package/dist/calcite/{p-f785647f.js → p-96c00b06.js} +1 -1
- package/dist/calcite/{p-e72f0005.js → p-9da7711e.js} +1 -1
- package/dist/calcite/{p-c4230ef0.entry.js → p-9f44b55b.entry.js} +2 -2
- package/dist/calcite/{p-5d45c1c5.system.entry.js → p-a3ae49a7.system.entry.js} +2 -2
- package/dist/calcite/p-a404e149.system.js +6 -0
- package/dist/calcite/{p-d3dac5eb.entry.js → p-a4aa877d.entry.js} +2 -2
- package/dist/calcite/{p-c77a70b4.js → p-a6a0a3cf.js} +2 -2
- package/dist/calcite/{p-9660a4e7.system.entry.js → p-a9a6f58f.system.entry.js} +2 -2
- package/dist/calcite/{p-4f73c72f.entry.js → p-a9f38aa2.entry.js} +2 -2
- package/dist/calcite/{p-9c6bf62a.entry.js → p-aaa6c6a0.entry.js} +2 -2
- package/dist/calcite/{p-bd26a290.system.entry.js → p-ae2bec77.system.entry.js} +2 -2
- package/dist/calcite/{p-84602c73.system.entry.js → p-b19cad69.system.entry.js} +2 -2
- package/dist/calcite/{p-aeed3c1f.system.entry.js → p-b235b547.system.entry.js} +2 -2
- package/dist/calcite/{p-cdd6df6c.system.entry.js → p-b32038bf.system.entry.js} +2 -2
- package/dist/calcite/{p-aaaf4272.entry.js → p-b8b7d638.entry.js} +2 -2
- package/dist/calcite/{p-32a0b6fb.system.entry.js → p-bb182aa7.system.entry.js} +2 -2
- package/dist/calcite/{p-391a3c15.system.entry.js → p-bbc284de.system.entry.js} +2 -2
- package/dist/calcite/{p-29b31c8c.system.entry.js → p-bcec18d4.system.entry.js} +2 -2
- package/dist/calcite/{p-5255410e.entry.js → p-bdccd6fc.entry.js} +2 -2
- package/dist/calcite/p-bdde1ec0.entry.js +6 -0
- package/dist/calcite/{p-30313817.system.entry.js → p-bde5652c.system.entry.js} +2 -2
- package/dist/calcite/{p-7c156c93.entry.js → p-bfc3c9f4.entry.js} +2 -2
- package/dist/calcite/{p-06e4362b.system.entry.js → p-bfdca321.system.entry.js} +2 -2
- package/dist/calcite/{p-5c17d27c.system.entry.js → p-c1ce958f.system.entry.js} +2 -2
- package/dist/calcite/{p-0ce017af.entry.js → p-c21af30c.entry.js} +2 -2
- package/dist/calcite/{p-a5dcf117.entry.js → p-c2fb1a79.entry.js} +2 -2
- package/dist/calcite/{p-964c2611.entry.js → p-c30e1886.entry.js} +2 -2
- package/dist/calcite/{p-183a8c1d.system.js → p-c3412001.system.js} +2 -2
- package/dist/calcite/{p-68b856a6.system.entry.js → p-c5f9864c.system.entry.js} +2 -2
- package/dist/calcite/p-c8f5dc19.entry.js +6 -0
- package/dist/calcite/{p-90faa45d.system.entry.js → p-cb2731b8.system.entry.js} +2 -2
- package/dist/calcite/{p-45216cf8.entry.js → p-cb3d9292.entry.js} +2 -2
- package/dist/calcite/{p-9589b984.entry.js → p-cb9a0a65.entry.js} +2 -2
- package/dist/calcite/{p-0772194e.entry.js → p-ccd90635.entry.js} +2 -2
- package/dist/calcite/{p-022bfda9.system.entry.js → p-cd4c13ba.system.entry.js} +2 -2
- package/dist/calcite/{p-5e64c4aa.system.js → p-cdc58215.system.js} +2 -2
- package/dist/calcite/{p-6b8ec16d.system.entry.js → p-cfde8feb.system.entry.js} +2 -2
- package/dist/calcite/{p-b66ac006.entry.js → p-d173f58f.entry.js} +2 -2
- package/dist/calcite/{p-831e1b4b.system.entry.js → p-d92e018b.system.entry.js} +2 -2
- package/dist/calcite/p-da47df91.entry.js +6 -0
- package/dist/calcite/{p-de2332e1.entry.js → p-da5e4358.entry.js} +2 -2
- package/dist/calcite/{p-fa257fda.system.entry.js → p-da764fa9.system.entry.js} +3 -3
- package/dist/calcite/{p-0bc8ceda.entry.js → p-dcc696e7.entry.js} +2 -2
- package/dist/calcite/{p-57b2682b.system.entry.js → p-dcdba273.system.entry.js} +2 -2
- package/dist/calcite/{p-a4db37f6.system.entry.js → p-df4cd8fb.system.entry.js} +2 -2
- package/dist/calcite/{p-32ca28f1.system.entry.js → p-dffd3707.system.entry.js} +2 -2
- package/dist/calcite/{p-f1f2937c.entry.js → p-e0ee5be8.entry.js} +2 -2
- package/dist/calcite/{p-acb021d5.entry.js → p-e1392170.entry.js} +2 -2
- package/dist/calcite/{p-114329fd.system.js → p-e7ab5a7d.system.js} +2 -2
- package/dist/calcite/p-e89fba48.system.entry.js +6 -0
- package/dist/calcite/{p-89e0b581.entry.js → p-e91e530b.entry.js} +2 -2
- package/dist/calcite/{p-87f73a5a.system.entry.js → p-ea1d91e2.system.entry.js} +2 -2
- package/dist/calcite/{p-392d3088.js → p-eb799436.js} +1 -1
- package/dist/calcite/{p-42793962.entry.js → p-ec3054db.entry.js} +2 -2
- package/dist/calcite/{p-225d4dbf.system.entry.js → p-ee24e31a.system.entry.js} +2 -2
- package/dist/calcite/{p-7a45fc13.entry.js → p-eecaadda.entry.js} +2 -2
- package/dist/calcite/{p-25292326.system.entry.js → p-f7631dc0.system.entry.js} +2 -2
- package/dist/calcite/{p-947fd570.js → p-f7e8e932.js} +2 -2
- package/dist/calcite/{p-20821ca5.system.js → p-fa1a3586.system.js} +1 -1
- package/dist/calcite/{p-e394716d.entry.js → p-fe36ca96.entry.js} +2 -2
- package/dist/calcite/{p-147c243c.entry.js → p-fef3042b.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-4f563a31.js → ExpandToggle-fa654a3c.js} +5 -5
- package/dist/cjs/{Heading-bba36a0a.js → Heading-926da4aa.js} +2 -2
- package/dist/cjs/{array-76b08986.js → array-124bd3fc.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-action-bar.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-menu.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action-pad.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action.cjs.entry.js +6 -6
- package/dist/cjs/calcite-alert.cjs.entry.js +31 -16
- package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
- package/dist/cjs/calcite-block_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-button.cjs.entry.js +8 -8
- package/dist/cjs/calcite-card.cjs.entry.js +6 -6
- package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -7
- package/dist/cjs/calcite-chip.cjs.entry.js +6 -6
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +9 -9
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +11 -9
- package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
- package/dist/cjs/calcite-filter.cjs.entry.js +7 -7
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-handle.cjs.entry.js +4 -4
- package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +11 -11
- package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
- package/dist/cjs/calcite-input-number.cjs.entry.js +11 -11
- package/dist/cjs/calcite-input-text.cjs.entry.js +330 -0
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input.cjs.entry.js +11 -11
- package/dist/cjs/calcite-label.cjs.entry.js +5 -5
- package/dist/cjs/calcite-link.cjs.entry.js +5 -5
- package/dist/cjs/calcite-list_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +6 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
- package/dist/cjs/calcite-option_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
- package/dist/cjs/calcite-panel.cjs.entry.js +9 -9
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-popover_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -8
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-rating.cjs.entry.js +8 -8
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-switch.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tab_4.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tip_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite.cjs.js +3 -3
- package/dist/cjs/{conditionalSlot-f7ebfd77.js → conditionalSlot-126ceabf.js} +3 -3
- package/dist/cjs/{debounce-381f23b0.js → debounce-c21d82c1.js} +1 -1
- package/dist/cjs/{dom-f4e4f342.js → dom-0a516207.js} +2 -2
- package/dist/cjs/{filter-00472272.js → filter-23ea61e2.js} +2 -2
- package/dist/cjs/{floating-ui-4ccb84f8.js → floating-ui-390bc35a.js} +2 -2
- package/dist/cjs/{form-c8006a0f.js → form-24a1b98f.js} +3 -3
- package/dist/cjs/{guid-1c7e7cd2.js → guid-803de3f2.js} +1 -1
- package/dist/cjs/{index-a21fb32a.js → index-fdb83c9d.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-85731aad.js → interactive-a399f754.js} +1 -1
- package/dist/cjs/{interfaces-1e601f15.js → interfaces-6357c13e.js} +1 -1
- package/dist/cjs/{key-b5bec557.js → key-cc50cda7.js} +1 -1
- package/dist/cjs/{label-25b38b6f.js → label-92cae198.js} +2 -2
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{locale-2bb79108.js → locale-c6069fd5.js} +2 -2
- package/dist/cjs/{math-7064250f.js → math-15f75e99.js} +1 -1
- package/dist/cjs/{observers-0e24a1eb.js → observers-e7b90d49.js} +1 -1
- package/dist/cjs/{resources-06d588bf.js → resources-18f8639c.js} +1 -1
- package/dist/cjs/{resources-b6919944.js → resources-353d010f.js} +3 -3
- package/dist/cjs/{resources-6360f2df.js → resources-8219aa8f.js} +1 -1
- package/dist/cjs/{resources-58450e4a.js → resources-de18e1e8.js} +5 -5
- package/dist/cjs/{sortable.esm-8bd96141.js → sortable.esm-ad434f4d.js} +1 -1
- package/dist/cjs/{utils-a2cd887a.js → utils-39852081.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +5 -5
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.css +4 -4
- package/dist/collection/components/alert/alert.js +51 -13
- package/dist/collection/components/alert/interfaces.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/interfaces.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/interfaces.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/interfaces.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-picker/interfaces.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.css +1 -1
- package/dist/collection/components/combobox/combobox.js +1 -1
- package/dist/collection/components/combobox/interfaces.js +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/assets/date-picker/nls/pt-PT.json +1 -0
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/interfaces.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +1 -1
- package/dist/collection/components/dropdown/dropdown.js +12 -5
- package/dist/collection/components/dropdown/interfaces.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/interfaces.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/interfaces.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/interfaces.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/interfaces.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.js +1 -1
- package/dist/collection/components/input-number/interfaces.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.css +400 -0
- package/dist/collection/components/input-text/input-text.js +899 -0
- package/dist/collection/components/input-text/resources.js +24 -0
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/interfaces.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/modal/interfaces.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/popover-manager/popover-manager.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/radio-group/interfaces.js +1 -1
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/rating/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stepper/interfaces.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/interfaces.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/tabs/interfaces.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/interfaces.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/interfaces.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
- package/dist/collection/components/tree/interfaces.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree-item/interfaces.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/interfaces.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +4 -4
- package/dist/components/action.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +28 -12
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +2 -2
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.d.ts +11 -0
- package/dist/components/calcite-input-text.js +382 -0
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover-manager.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-radio-group-item.js +1 -1
- package/dist/components/calcite-radio-group.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip-manager.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +5 -3
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/interfaces.js +1 -1
- package/dist/components/interfaces2.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/custom-elements/index.d.ts +6 -0
- package/dist/custom-elements/index.js +619 -286
- package/dist/esm/{ExpandToggle-91637889.js → ExpandToggle-524ebbcc.js} +5 -5
- package/dist/esm/{Heading-61926aee.js → Heading-e1d3cd72.js} +2 -2
- package/dist/esm/{array-446667ee.js → array-4c52bd68.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +6 -6
- package/dist/esm/calcite-action-bar.entry.js +10 -10
- package/dist/esm/calcite-action-group.entry.js +8 -8
- package/dist/esm/calcite-action-menu.entry.js +10 -10
- package/dist/esm/calcite-action-pad.entry.js +9 -9
- package/dist/esm/calcite-action.entry.js +6 -6
- package/dist/esm/calcite-alert.entry.js +31 -16
- package/dist/esm/calcite-avatar.entry.js +5 -5
- package/dist/esm/calcite-block_2.entry.js +8 -8
- package/dist/esm/calcite-button.entry.js +8 -8
- package/dist/esm/calcite-card.entry.js +6 -6
- package/dist/esm/calcite-checkbox.entry.js +7 -7
- package/dist/esm/calcite-chip.entry.js +6 -6
- package/dist/esm/calcite-color-picker_3.entry.js +8 -8
- package/dist/esm/calcite-combobox_3.entry.js +13 -13
- package/dist/esm/calcite-date-picker_4.entry.js +9 -9
- package/dist/esm/calcite-dropdown_3.entry.js +11 -9
- package/dist/esm/calcite-fab.entry.js +5 -5
- package/dist/esm/calcite-filter.entry.js +7 -7
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +9 -9
- package/dist/esm/calcite-handle.entry.js +4 -4
- package/dist/esm/calcite-icon.entry.js +5 -5
- package/dist/esm/calcite-inline-editable.entry.js +7 -7
- package/dist/esm/calcite-input-date-picker.entry.js +11 -11
- package/dist/esm/calcite-input-message.entry.js +4 -4
- package/dist/esm/calcite-input-number.entry.js +11 -11
- package/dist/esm/calcite-input-text.entry.js +326 -0
- package/dist/esm/calcite-input-time-picker_2.entry.js +9 -9
- package/dist/esm/calcite-input.entry.js +11 -11
- package/dist/esm/calcite-label.entry.js +5 -5
- package/dist/esm/calcite-link.entry.js +5 -5
- package/dist/esm/calcite-list_3.entry.js +8 -8
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +6 -6
- package/dist/esm/calcite-notice.entry.js +7 -7
- package/dist/esm/calcite-option_3.entry.js +8 -8
- package/dist/esm/calcite-pagination.entry.js +5 -5
- package/dist/esm/calcite-panel.entry.js +9 -9
- package/dist/esm/calcite-pick-list_3.entry.js +11 -11
- package/dist/esm/calcite-popover_2.entry.js +7 -7
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +3 -3
- package/dist/esm/calcite-radio-button.entry.js +8 -8
- package/dist/esm/calcite-radio-group_2.entry.js +7 -7
- package/dist/esm/calcite-rating.entry.js +8 -8
- package/dist/esm/calcite-scrim.entry.js +2 -2
- package/dist/esm/calcite-shell_3.entry.js +7 -7
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +3 -3
- package/dist/esm/calcite-stepper_2.entry.js +5 -5
- package/dist/esm/calcite-switch.entry.js +7 -7
- package/dist/esm/calcite-tab_4.entry.js +6 -6
- package/dist/esm/calcite-tile-select_2.entry.js +4 -4
- package/dist/esm/calcite-tile.entry.js +7 -7
- package/dist/esm/calcite-tip_3.entry.js +7 -7
- package/dist/esm/calcite-tooltip_2.entry.js +5 -5
- package/dist/esm/calcite-tree_2.entry.js +6 -6
- package/dist/esm/calcite-value-list_2.entry.js +11 -11
- package/dist/esm/calcite.js +3 -3
- package/dist/esm/{conditionalSlot-cffc171d.js → conditionalSlot-c29e9a2e.js} +3 -3
- package/dist/esm/{debounce-394ab6b8.js → debounce-3756616f.js} +1 -1
- package/dist/esm/{dom-77e16eb3.js → dom-2c671dcd.js} +2 -2
- package/dist/esm/{filter-c8ed1b03.js → filter-98aa352c.js} +2 -2
- package/dist/esm/{floating-ui-a6fc86f1.js → floating-ui-9a886acd.js} +2 -2
- package/dist/esm/{form-e735eb58.js → form-26f2e1c3.js} +3 -3
- package/dist/esm/{guid-eacce60e.js → guid-50c9b747.js} +1 -1
- package/dist/esm/{index-d514fd3e.js → index-a854b3c9.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-6aaa1825.js → interactive-2c549e29.js} +1 -1
- package/dist/esm/{interfaces-38f96b99.js → interfaces-0985a6ea.js} +1 -1
- package/dist/esm/{key-3f3acbfd.js → key-fb1dba9a.js} +1 -1
- package/dist/esm/{label-3a8694cf.js → label-cd6a69b2.js} +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{locale-cc96165f.js → locale-ba0c1d6b.js} +2 -2
- package/dist/esm/{math-9114578e.js → math-b599b068.js} +1 -1
- package/dist/esm/{observers-3bbc570d.js → observers-f88d1a0f.js} +1 -1
- package/dist/esm/{resources-e4bc31a0.js → resources-333a8bd5.js} +5 -5
- package/dist/esm/{resources-54cc4b17.js → resources-6d5c422f.js} +3 -3
- package/dist/esm/{resources-42a9c944.js → resources-80eef5b1.js} +1 -1
- package/dist/esm/{resources-518f9229.js → resources-f8de16d9.js} +1 -1
- package/dist/esm/{sortable.esm-0fa01988.js → sortable.esm-59c211d9.js} +1 -1
- package/dist/esm/{utils-58e4f06f.js → utils-78f272f3.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-91637889.js → ExpandToggle-524ebbcc.js} +2 -2
- package/dist/esm-es5/Heading-e1d3cd72.js +6 -0
- package/dist/esm-es5/{array-446667ee.js → array-4c52bd68.js} +1 -1
- package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
- package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
- package/dist/esm-es5/calcite-action-group.entry.js +2 -2
- package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
- package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
- package/dist/esm-es5/calcite-action.entry.js +2 -2
- package/dist/esm-es5/calcite-alert.entry.js +3 -3
- package/dist/esm-es5/calcite-avatar.entry.js +2 -2
- package/dist/esm-es5/calcite-block_2.entry.js +2 -2
- package/dist/esm-es5/calcite-button.entry.js +2 -2
- package/dist/esm-es5/calcite-card.entry.js +2 -2
- package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
- package/dist/esm-es5/calcite-chip.entry.js +2 -2
- package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
- package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
- package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
- package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
- package/dist/esm-es5/calcite-fab.entry.js +2 -2
- package/dist/esm-es5/calcite-filter.entry.js +2 -2
- package/dist/esm-es5/calcite-flow.entry.js +2 -2
- package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
- package/dist/esm-es5/calcite-handle.entry.js +2 -2
- package/dist/esm-es5/calcite-icon.entry.js +2 -2
- package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
- package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
- package/dist/esm-es5/calcite-input-message.entry.js +2 -2
- package/dist/esm-es5/calcite-input-number.entry.js +2 -2
- package/dist/esm-es5/calcite-input-text.entry.js +6 -0
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
- package/dist/esm-es5/calcite-input.entry.js +2 -2
- package/dist/esm-es5/calcite-label.entry.js +2 -2
- package/dist/esm-es5/calcite-link.entry.js +3 -3
- package/dist/esm-es5/calcite-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-loader.entry.js +2 -2
- package/dist/esm-es5/calcite-modal.entry.js +2 -2
- package/dist/esm-es5/calcite-notice.entry.js +2 -2
- package/dist/esm-es5/calcite-option_3.entry.js +2 -2
- package/dist/esm-es5/calcite-pagination.entry.js +2 -2
- package/dist/esm-es5/calcite-panel.entry.js +2 -2
- package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
- package/dist/esm-es5/calcite-progress.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
- package/dist/esm-es5/calcite-rating.entry.js +2 -2
- package/dist/esm-es5/calcite-scrim.entry.js +2 -2
- package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
- package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
- package/dist/esm-es5/calcite-split-button.entry.js +2 -2
- package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
- package/dist/esm-es5/calcite-switch.entry.js +2 -2
- package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
- package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tile.entry.js +2 -2
- package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
- package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
- package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
- package/dist/esm-es5/calcite.js +2 -2
- package/dist/esm-es5/{conditionalSlot-cffc171d.js → conditionalSlot-c29e9a2e.js} +2 -2
- package/dist/esm-es5/{debounce-394ab6b8.js → debounce-3756616f.js} +1 -1
- package/dist/esm-es5/{dom-77e16eb3.js → dom-2c671dcd.js} +2 -2
- package/dist/esm-es5/{filter-c8ed1b03.js → filter-98aa352c.js} +2 -2
- package/dist/esm-es5/{floating-ui-a6fc86f1.js → floating-ui-9a886acd.js} +2 -2
- package/dist/esm-es5/{form-e735eb58.js → form-26f2e1c3.js} +2 -2
- package/dist/esm-es5/{guid-eacce60e.js → guid-50c9b747.js} +1 -1
- package/dist/esm-es5/{index-d514fd3e.js → index-a854b3c9.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-6aaa1825.js → interactive-2c549e29.js} +1 -1
- package/dist/esm-es5/{interfaces-38f96b99.js → interfaces-0985a6ea.js} +1 -1
- package/dist/esm-es5/{key-3f3acbfd.js → key-fb1dba9a.js} +1 -1
- package/dist/esm-es5/{label-3a8694cf.js → label-cd6a69b2.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-cc96165f.js → locale-ba0c1d6b.js} +2 -2
- package/dist/esm-es5/{math-9114578e.js → math-b599b068.js} +1 -1
- package/dist/esm-es5/{observers-3bbc570d.js → observers-f88d1a0f.js} +1 -1
- package/dist/esm-es5/{resources-e4bc31a0.js → resources-333a8bd5.js} +2 -2
- package/dist/esm-es5/{resources-54cc4b17.js → resources-6d5c422f.js} +2 -2
- package/dist/esm-es5/{resources-42a9c944.js → resources-80eef5b1.js} +1 -1
- package/dist/esm-es5/{resources-518f9229.js → resources-f8de16d9.js} +1 -1
- package/dist/esm-es5/{sortable.esm-0fa01988.js → sortable.esm-59c211d9.js} +1 -1
- package/dist/esm-es5/{utils-58e4f06f.js → utils-78f272f3.js} +1 -1
- package/dist/extras/docs-json.json +646 -99
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/alert/alert.d.ts +9 -2
- package/dist/types/components/dropdown/dropdown.d.ts +4 -3
- package/dist/types/components/dropdown/interfaces.d.ts +6 -0
- package/dist/types/components/input-text/input-text.d.ts +170 -0
- package/dist/types/components/input-text/resources.d.ts +19 -0
- package/dist/types/components.d.ts +246 -4
- package/dist/types/preact.d.ts +7 -0
- package/hydrate/index.js +653 -285
- package/package.json +1 -1
- package/dist/calcite/p-19c714b0.entry.js +0 -6
- package/dist/calcite/p-2f3135e5.js +0 -6
- package/dist/calcite/p-4ab23e26.system.js +0 -6
- package/dist/calcite/p-56571584.system.entry.js +0 -6
- package/dist/calcite/p-74eb09ea.entry.js +0 -6
- package/dist/calcite/p-762267da.js +0 -6
- package/dist/calcite/p-b66d5eaf.system.entry.js +0 -6
- package/dist/calcite/p-cdec0baf.entry.js +0 -6
- package/dist/calcite/p-d7a75a14.entry.js +0 -6
- package/dist/calcite/p-e4b3743c.system.entry.js +0 -6
- package/dist/calcite/p-e7df80d6.entry.js +0 -6
- package/dist/calcite/p-fa6c6568.system.entry.js +0 -6
- package/dist/calcite/p-ffe471b7.system.js +0 -6
- package/dist/esm-es5/Heading-61926aee.js +0 -6
|
@@ -0,0 +1,899 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
* v1.0.0-next.544
|
|
5
|
+
*/
|
|
6
|
+
import { Component, Element, Event, h, Host, Method, Prop, Watch } from "@stencil/core";
|
|
7
|
+
import { getElementDir, getElementProp, getSlotted, setRequestedIcon } from "../../utils/dom";
|
|
8
|
+
import { CSS, SLOTS, TEXT } from "./resources";
|
|
9
|
+
import { connectLabel, disconnectLabel, getLabelText } from "../../utils/label";
|
|
10
|
+
import { connectForm, disconnectForm, HiddenFormInputSlot, submitForm } from "../../utils/form";
|
|
11
|
+
import { CSS_UTILITY, TEXT as COMMON_TEXT } from "../../utils/resources";
|
|
12
|
+
import { createObserver } from "../../utils/observers";
|
|
13
|
+
import { updateHostInteraction } from "../../utils/interactive";
|
|
14
|
+
/**
|
|
15
|
+
* @slot action - A slot for positioning a button next to the component.
|
|
16
|
+
*/
|
|
17
|
+
export class InputText {
|
|
18
|
+
constructor() {
|
|
19
|
+
//--------------------------------------------------------------------------
|
|
20
|
+
//
|
|
21
|
+
// Properties
|
|
22
|
+
//
|
|
23
|
+
//--------------------------------------------------------------------------
|
|
24
|
+
/** Specifies the text alignment of the component's value. */
|
|
25
|
+
this.alignment = "start";
|
|
26
|
+
/**
|
|
27
|
+
* When true, the component is focused on page load.
|
|
28
|
+
*
|
|
29
|
+
* @mdn [autofocus](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)
|
|
30
|
+
*/
|
|
31
|
+
this.autofocus = false;
|
|
32
|
+
/**
|
|
33
|
+
* When true, a clear button is displayed when the component has a value.
|
|
34
|
+
*/
|
|
35
|
+
this.clearable = false;
|
|
36
|
+
/**
|
|
37
|
+
* When true, interaction is prevented and the component is displayed with lower opacity.
|
|
38
|
+
*
|
|
39
|
+
* @mdn [disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
|
|
40
|
+
*/
|
|
41
|
+
this.disabled = false;
|
|
42
|
+
/**
|
|
43
|
+
* When true, the component will not be visible.
|
|
44
|
+
*
|
|
45
|
+
* @mdn [hidden](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/hidden)
|
|
46
|
+
*/
|
|
47
|
+
this.hidden = false;
|
|
48
|
+
/**
|
|
49
|
+
* Accessible name that will appear while loading.
|
|
50
|
+
*
|
|
51
|
+
* @default "Loading"
|
|
52
|
+
*/
|
|
53
|
+
this.intlLoading = COMMON_TEXT.loading;
|
|
54
|
+
/** When true, the icon is flipped in RTL. */
|
|
55
|
+
this.iconFlipRtl = false;
|
|
56
|
+
/** When true, the component is in the loading state and `calcite-progress` is displayed. */
|
|
57
|
+
this.loading = false;
|
|
58
|
+
/**
|
|
59
|
+
* When true, the value cannot be modified.
|
|
60
|
+
*
|
|
61
|
+
* @mdn [readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)
|
|
62
|
+
*/
|
|
63
|
+
this.readOnly = false;
|
|
64
|
+
/** When true, the component must have a value in order for the form to submit. */
|
|
65
|
+
this.required = false;
|
|
66
|
+
/** Specifies the size of the component. */
|
|
67
|
+
this.scale = "m";
|
|
68
|
+
/** Specifies the status of the input field, which determines message and icons. */
|
|
69
|
+
this.status = "idle";
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
73
|
+
this.editingEnabled = false;
|
|
74
|
+
/** The component's value. */
|
|
75
|
+
this.value = "";
|
|
76
|
+
this.previousValueOrigin = "initial";
|
|
77
|
+
this.mutationObserver = createObserver("mutation", () => this.setDisabledAction());
|
|
78
|
+
this.userChangedValue = false;
|
|
79
|
+
//--------------------------------------------------------------------------
|
|
80
|
+
//
|
|
81
|
+
// Private Methods
|
|
82
|
+
//
|
|
83
|
+
//--------------------------------------------------------------------------
|
|
84
|
+
this.keyDownHandler = (event) => {
|
|
85
|
+
if (this.readOnly || this.disabled) {
|
|
86
|
+
return;
|
|
87
|
+
}
|
|
88
|
+
if (this.isClearable && event.key === "Escape") {
|
|
89
|
+
this.clearInputTextValue(event);
|
|
90
|
+
event.preventDefault();
|
|
91
|
+
}
|
|
92
|
+
if (event.key === "Enter" && !event.defaultPrevented) {
|
|
93
|
+
submitForm(this);
|
|
94
|
+
}
|
|
95
|
+
};
|
|
96
|
+
this.clearInputTextValue = (nativeEvent) => {
|
|
97
|
+
this.setValue({
|
|
98
|
+
committing: true,
|
|
99
|
+
nativeEvent,
|
|
100
|
+
origin: "user",
|
|
101
|
+
value: ""
|
|
102
|
+
});
|
|
103
|
+
};
|
|
104
|
+
this.emitChangeIfUserModified = () => {
|
|
105
|
+
if (this.previousValueOrigin === "user" && this.value !== this.previousEmittedValue) {
|
|
106
|
+
this.calciteInputTextChange.emit();
|
|
107
|
+
}
|
|
108
|
+
this.previousEmittedValue = this.value;
|
|
109
|
+
};
|
|
110
|
+
this.inputTextBlurHandler = () => {
|
|
111
|
+
this.calciteInternalInputTextBlur.emit({
|
|
112
|
+
element: this.childEl,
|
|
113
|
+
value: this.value
|
|
114
|
+
});
|
|
115
|
+
this.emitChangeIfUserModified();
|
|
116
|
+
};
|
|
117
|
+
this.inputTextFocusHandler = (event) => {
|
|
118
|
+
const slottedActionEl = getSlotted(this.el, "action");
|
|
119
|
+
if (event.target !== slottedActionEl) {
|
|
120
|
+
this.setFocus();
|
|
121
|
+
}
|
|
122
|
+
this.calciteInternalInputTextFocus.emit({
|
|
123
|
+
element: this.childEl,
|
|
124
|
+
value: this.value
|
|
125
|
+
});
|
|
126
|
+
};
|
|
127
|
+
this.inputTextInputHandler = (nativeEvent) => {
|
|
128
|
+
if (this.disabled || this.readOnly) {
|
|
129
|
+
return;
|
|
130
|
+
}
|
|
131
|
+
this.setValue({
|
|
132
|
+
nativeEvent,
|
|
133
|
+
origin: "user",
|
|
134
|
+
value: nativeEvent.target.value
|
|
135
|
+
});
|
|
136
|
+
};
|
|
137
|
+
this.inputTextKeyDownHandler = (event) => {
|
|
138
|
+
if (this.disabled || this.readOnly) {
|
|
139
|
+
return;
|
|
140
|
+
}
|
|
141
|
+
if (event.key === "Enter") {
|
|
142
|
+
this.emitChangeIfUserModified();
|
|
143
|
+
}
|
|
144
|
+
};
|
|
145
|
+
this.setChildElRef = (el) => {
|
|
146
|
+
this.childEl = el;
|
|
147
|
+
};
|
|
148
|
+
this.setInputValue = (newInputValue) => {
|
|
149
|
+
if (!this.childEl) {
|
|
150
|
+
return;
|
|
151
|
+
}
|
|
152
|
+
this.childEl.value = newInputValue;
|
|
153
|
+
};
|
|
154
|
+
this.setPreviousEmittedValue = (newPreviousEmittedValue) => {
|
|
155
|
+
this.previousEmittedValue = newPreviousEmittedValue;
|
|
156
|
+
};
|
|
157
|
+
this.setPreviousValue = (newPreviousValue) => {
|
|
158
|
+
this.previousValue = newPreviousValue;
|
|
159
|
+
};
|
|
160
|
+
this.setValue = ({ committing = false, nativeEvent, origin, previousValue, value }) => {
|
|
161
|
+
this.setPreviousValue(previousValue || this.value);
|
|
162
|
+
this.previousValueOrigin = origin;
|
|
163
|
+
this.userChangedValue = origin === "user" && value !== this.value;
|
|
164
|
+
this.value = value;
|
|
165
|
+
if (origin === "direct") {
|
|
166
|
+
this.setInputValue(value);
|
|
167
|
+
}
|
|
168
|
+
if (nativeEvent) {
|
|
169
|
+
const calciteInputTextInputEvent = this.calciteInputTextInput.emit({
|
|
170
|
+
element: this.childEl,
|
|
171
|
+
nativeEvent,
|
|
172
|
+
value: this.value
|
|
173
|
+
});
|
|
174
|
+
if (calciteInputTextInputEvent.defaultPrevented) {
|
|
175
|
+
this.value = this.previousValue;
|
|
176
|
+
}
|
|
177
|
+
else if (committing) {
|
|
178
|
+
this.emitChangeIfUserModified();
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
};
|
|
182
|
+
}
|
|
183
|
+
disabledWatcher() {
|
|
184
|
+
this.setDisabledAction();
|
|
185
|
+
}
|
|
186
|
+
valueWatcher(newValue, previousValue) {
|
|
187
|
+
if (!this.userChangedValue) {
|
|
188
|
+
this.setValue({
|
|
189
|
+
origin: "direct",
|
|
190
|
+
previousValue,
|
|
191
|
+
value: !newValue ? "" : newValue
|
|
192
|
+
});
|
|
193
|
+
}
|
|
194
|
+
this.userChangedValue = false;
|
|
195
|
+
}
|
|
196
|
+
updateRequestedIcon() {
|
|
197
|
+
this.requestedIcon = setRequestedIcon({}, this.icon, "text");
|
|
198
|
+
}
|
|
199
|
+
get isClearable() {
|
|
200
|
+
return this.clearable && this.value.length > 0;
|
|
201
|
+
}
|
|
202
|
+
//--------------------------------------------------------------------------
|
|
203
|
+
//
|
|
204
|
+
// Lifecycle
|
|
205
|
+
//
|
|
206
|
+
//--------------------------------------------------------------------------
|
|
207
|
+
connectedCallback() {
|
|
208
|
+
var _a;
|
|
209
|
+
this.scale = getElementProp(this.el, "scale", this.scale);
|
|
210
|
+
this.status = getElementProp(this.el, "status", this.status);
|
|
211
|
+
this.inlineEditableEl = this.el.closest("calcite-inline-editable");
|
|
212
|
+
if (this.inlineEditableEl) {
|
|
213
|
+
this.editingEnabled = this.inlineEditableEl.editingEnabled || false;
|
|
214
|
+
}
|
|
215
|
+
this.setPreviousEmittedValue(this.value);
|
|
216
|
+
this.setPreviousValue(this.value);
|
|
217
|
+
connectLabel(this);
|
|
218
|
+
connectForm(this);
|
|
219
|
+
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true });
|
|
220
|
+
this.setDisabledAction();
|
|
221
|
+
}
|
|
222
|
+
disconnectedCallback() {
|
|
223
|
+
var _a;
|
|
224
|
+
disconnectLabel(this);
|
|
225
|
+
disconnectForm(this);
|
|
226
|
+
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
227
|
+
}
|
|
228
|
+
componentWillLoad() {
|
|
229
|
+
this.requestedIcon = setRequestedIcon({}, this.icon, "text");
|
|
230
|
+
}
|
|
231
|
+
componentDidRender() {
|
|
232
|
+
updateHostInteraction(this);
|
|
233
|
+
}
|
|
234
|
+
//--------------------------------------------------------------------------
|
|
235
|
+
//
|
|
236
|
+
// Public Methods
|
|
237
|
+
//
|
|
238
|
+
//--------------------------------------------------------------------------
|
|
239
|
+
/** Sets focus on the component. */
|
|
240
|
+
async setFocus() {
|
|
241
|
+
var _a;
|
|
242
|
+
(_a = this.childEl) === null || _a === void 0 ? void 0 : _a.focus();
|
|
243
|
+
}
|
|
244
|
+
/** Selects all text of the component's `value`. */
|
|
245
|
+
async selectText() {
|
|
246
|
+
var _a;
|
|
247
|
+
(_a = this.childEl) === null || _a === void 0 ? void 0 : _a.select();
|
|
248
|
+
}
|
|
249
|
+
onLabelClick() {
|
|
250
|
+
this.setFocus();
|
|
251
|
+
}
|
|
252
|
+
onFormReset() {
|
|
253
|
+
this.setValue({
|
|
254
|
+
origin: "reset",
|
|
255
|
+
value: this.defaultValue
|
|
256
|
+
});
|
|
257
|
+
}
|
|
258
|
+
syncHiddenFormInput(input) {
|
|
259
|
+
if (this.minLength != null) {
|
|
260
|
+
input.minLength = this.minLength;
|
|
261
|
+
}
|
|
262
|
+
if (this.maxLength != null) {
|
|
263
|
+
input.maxLength = this.maxLength;
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
setDisabledAction() {
|
|
267
|
+
const slottedActionEl = getSlotted(this.el, "action");
|
|
268
|
+
if (!slottedActionEl) {
|
|
269
|
+
return;
|
|
270
|
+
}
|
|
271
|
+
this.disabled
|
|
272
|
+
? slottedActionEl.setAttribute("disabled", "")
|
|
273
|
+
: slottedActionEl.removeAttribute("disabled");
|
|
274
|
+
}
|
|
275
|
+
// --------------------------------------------------------------------------
|
|
276
|
+
//
|
|
277
|
+
// Render Methods
|
|
278
|
+
//
|
|
279
|
+
// --------------------------------------------------------------------------
|
|
280
|
+
render() {
|
|
281
|
+
const dir = getElementDir(this.el);
|
|
282
|
+
const loader = (h("div", { class: CSS.loader },
|
|
283
|
+
h("calcite-progress", { label: this.intlLoading, type: "indeterminate" })));
|
|
284
|
+
const inputClearButton = (h("button", { "aria-label": this.intlClear || TEXT.clear, class: CSS.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputTextValue, tabIndex: this.disabled ? -1 : 0, type: "button" },
|
|
285
|
+
h("calcite-icon", { icon: "x", scale: "s" })));
|
|
286
|
+
const iconEl = (h("calcite-icon", { class: CSS.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: "s" }));
|
|
287
|
+
const prefixText = h("div", { class: CSS.prefix }, this.prefixText);
|
|
288
|
+
const suffixText = h("div", { class: CSS.suffix }, this.suffixText);
|
|
289
|
+
const childEl = (h("input", { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, class: {
|
|
290
|
+
[CSS.editingEnabled]: this.editingEnabled,
|
|
291
|
+
[CSS.inlineChild]: !!this.inlineEditableEl
|
|
292
|
+
}, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, inputMode: this.el.inputMode, maxLength: this.maxLength, minLength: this.minLength, name: this.name, onBlur: this.inputTextBlurHandler, onFocus: this.inputTextFocusHandler, onInput: this.inputTextInputHandler, onKeyDown: this.inputTextKeyDownHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildElRef, required: this.required ? true : null, tabIndex: this.disabled || (this.inlineEditableEl && !this.editingEnabled) ? -1 : null, type: "text", value: this.value }));
|
|
293
|
+
return (h(Host, { onClick: this.inputTextFocusHandler, onKeyDown: this.keyDownHandler },
|
|
294
|
+
h("div", { class: { [CSS.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } },
|
|
295
|
+
this.prefixText ? prefixText : null,
|
|
296
|
+
h("div", { class: CSS.wrapper },
|
|
297
|
+
childEl,
|
|
298
|
+
this.isClearable ? inputClearButton : null,
|
|
299
|
+
this.requestedIcon ? iconEl : null,
|
|
300
|
+
this.loading ? loader : null),
|
|
301
|
+
h("div", { class: CSS.actionWrapper },
|
|
302
|
+
h("slot", { name: SLOTS.action })),
|
|
303
|
+
this.suffixText ? suffixText : null,
|
|
304
|
+
h(HiddenFormInputSlot, { component: this }))));
|
|
305
|
+
}
|
|
306
|
+
static get is() { return "calcite-input-text"; }
|
|
307
|
+
static get encapsulation() { return "shadow"; }
|
|
308
|
+
static get originalStyleUrls() { return {
|
|
309
|
+
"$": ["input-text.scss"]
|
|
310
|
+
}; }
|
|
311
|
+
static get styleUrls() { return {
|
|
312
|
+
"$": ["input-text.css"]
|
|
313
|
+
}; }
|
|
314
|
+
static get properties() { return {
|
|
315
|
+
"alignment": {
|
|
316
|
+
"type": "string",
|
|
317
|
+
"mutable": false,
|
|
318
|
+
"complexType": {
|
|
319
|
+
"original": "Position",
|
|
320
|
+
"resolved": "\"end\" | \"start\"",
|
|
321
|
+
"references": {
|
|
322
|
+
"Position": {
|
|
323
|
+
"location": "import",
|
|
324
|
+
"path": "../interfaces"
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
},
|
|
328
|
+
"required": false,
|
|
329
|
+
"optional": false,
|
|
330
|
+
"docs": {
|
|
331
|
+
"tags": [],
|
|
332
|
+
"text": "Specifies the text alignment of the component's value."
|
|
333
|
+
},
|
|
334
|
+
"attribute": "alignment",
|
|
335
|
+
"reflect": true,
|
|
336
|
+
"defaultValue": "\"start\""
|
|
337
|
+
},
|
|
338
|
+
"autofocus": {
|
|
339
|
+
"type": "boolean",
|
|
340
|
+
"mutable": false,
|
|
341
|
+
"complexType": {
|
|
342
|
+
"original": "boolean",
|
|
343
|
+
"resolved": "boolean",
|
|
344
|
+
"references": {}
|
|
345
|
+
},
|
|
346
|
+
"required": false,
|
|
347
|
+
"optional": false,
|
|
348
|
+
"docs": {
|
|
349
|
+
"tags": [{
|
|
350
|
+
"name": "mdn",
|
|
351
|
+
"text": "[autofocus](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)"
|
|
352
|
+
}],
|
|
353
|
+
"text": "When true, the component is focused on page load."
|
|
354
|
+
},
|
|
355
|
+
"attribute": "autofocus",
|
|
356
|
+
"reflect": false,
|
|
357
|
+
"defaultValue": "false"
|
|
358
|
+
},
|
|
359
|
+
"clearable": {
|
|
360
|
+
"type": "boolean",
|
|
361
|
+
"mutable": false,
|
|
362
|
+
"complexType": {
|
|
363
|
+
"original": "boolean",
|
|
364
|
+
"resolved": "boolean",
|
|
365
|
+
"references": {}
|
|
366
|
+
},
|
|
367
|
+
"required": false,
|
|
368
|
+
"optional": false,
|
|
369
|
+
"docs": {
|
|
370
|
+
"tags": [],
|
|
371
|
+
"text": "When true, a clear button is displayed when the component has a value."
|
|
372
|
+
},
|
|
373
|
+
"attribute": "clearable",
|
|
374
|
+
"reflect": true,
|
|
375
|
+
"defaultValue": "false"
|
|
376
|
+
},
|
|
377
|
+
"disabled": {
|
|
378
|
+
"type": "boolean",
|
|
379
|
+
"mutable": false,
|
|
380
|
+
"complexType": {
|
|
381
|
+
"original": "boolean",
|
|
382
|
+
"resolved": "boolean",
|
|
383
|
+
"references": {}
|
|
384
|
+
},
|
|
385
|
+
"required": false,
|
|
386
|
+
"optional": false,
|
|
387
|
+
"docs": {
|
|
388
|
+
"tags": [{
|
|
389
|
+
"name": "mdn",
|
|
390
|
+
"text": "[disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)"
|
|
391
|
+
}],
|
|
392
|
+
"text": "When true, interaction is prevented and the component is displayed with lower opacity."
|
|
393
|
+
},
|
|
394
|
+
"attribute": "disabled",
|
|
395
|
+
"reflect": true,
|
|
396
|
+
"defaultValue": "false"
|
|
397
|
+
},
|
|
398
|
+
"hidden": {
|
|
399
|
+
"type": "boolean",
|
|
400
|
+
"mutable": false,
|
|
401
|
+
"complexType": {
|
|
402
|
+
"original": "boolean",
|
|
403
|
+
"resolved": "boolean",
|
|
404
|
+
"references": {}
|
|
405
|
+
},
|
|
406
|
+
"required": false,
|
|
407
|
+
"optional": false,
|
|
408
|
+
"docs": {
|
|
409
|
+
"tags": [{
|
|
410
|
+
"name": "mdn",
|
|
411
|
+
"text": "[hidden](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/hidden)"
|
|
412
|
+
}],
|
|
413
|
+
"text": "When true, the component will not be visible."
|
|
414
|
+
},
|
|
415
|
+
"attribute": "hidden",
|
|
416
|
+
"reflect": false,
|
|
417
|
+
"defaultValue": "false"
|
|
418
|
+
},
|
|
419
|
+
"icon": {
|
|
420
|
+
"type": "any",
|
|
421
|
+
"mutable": false,
|
|
422
|
+
"complexType": {
|
|
423
|
+
"original": "string | boolean",
|
|
424
|
+
"resolved": "boolean | string",
|
|
425
|
+
"references": {}
|
|
426
|
+
},
|
|
427
|
+
"required": false,
|
|
428
|
+
"optional": false,
|
|
429
|
+
"docs": {
|
|
430
|
+
"tags": [],
|
|
431
|
+
"text": "When true, shows a default recommended icon. Alternatively, pass a Calcite UI Icon name to display a specific icon."
|
|
432
|
+
},
|
|
433
|
+
"attribute": "icon",
|
|
434
|
+
"reflect": true
|
|
435
|
+
},
|
|
436
|
+
"intlClear": {
|
|
437
|
+
"type": "string",
|
|
438
|
+
"mutable": false,
|
|
439
|
+
"complexType": {
|
|
440
|
+
"original": "string",
|
|
441
|
+
"resolved": "string",
|
|
442
|
+
"references": {}
|
|
443
|
+
},
|
|
444
|
+
"required": false,
|
|
445
|
+
"optional": true,
|
|
446
|
+
"docs": {
|
|
447
|
+
"tags": [],
|
|
448
|
+
"text": "A text label that will appear on the clear button for screen readers."
|
|
449
|
+
},
|
|
450
|
+
"attribute": "intl-clear",
|
|
451
|
+
"reflect": false
|
|
452
|
+
},
|
|
453
|
+
"intlLoading": {
|
|
454
|
+
"type": "string",
|
|
455
|
+
"mutable": false,
|
|
456
|
+
"complexType": {
|
|
457
|
+
"original": "string",
|
|
458
|
+
"resolved": "string",
|
|
459
|
+
"references": {}
|
|
460
|
+
},
|
|
461
|
+
"required": false,
|
|
462
|
+
"optional": true,
|
|
463
|
+
"docs": {
|
|
464
|
+
"tags": [{
|
|
465
|
+
"name": "default",
|
|
466
|
+
"text": "\"Loading\""
|
|
467
|
+
}],
|
|
468
|
+
"text": "Accessible name that will appear while loading."
|
|
469
|
+
},
|
|
470
|
+
"attribute": "intl-loading",
|
|
471
|
+
"reflect": false,
|
|
472
|
+
"defaultValue": "COMMON_TEXT.loading"
|
|
473
|
+
},
|
|
474
|
+
"iconFlipRtl": {
|
|
475
|
+
"type": "boolean",
|
|
476
|
+
"mutable": false,
|
|
477
|
+
"complexType": {
|
|
478
|
+
"original": "boolean",
|
|
479
|
+
"resolved": "boolean",
|
|
480
|
+
"references": {}
|
|
481
|
+
},
|
|
482
|
+
"required": false,
|
|
483
|
+
"optional": false,
|
|
484
|
+
"docs": {
|
|
485
|
+
"tags": [],
|
|
486
|
+
"text": "When true, the icon is flipped in RTL."
|
|
487
|
+
},
|
|
488
|
+
"attribute": "icon-flip-rtl",
|
|
489
|
+
"reflect": true,
|
|
490
|
+
"defaultValue": "false"
|
|
491
|
+
},
|
|
492
|
+
"label": {
|
|
493
|
+
"type": "string",
|
|
494
|
+
"mutable": false,
|
|
495
|
+
"complexType": {
|
|
496
|
+
"original": "string",
|
|
497
|
+
"resolved": "string",
|
|
498
|
+
"references": {}
|
|
499
|
+
},
|
|
500
|
+
"required": false,
|
|
501
|
+
"optional": true,
|
|
502
|
+
"docs": {
|
|
503
|
+
"tags": [],
|
|
504
|
+
"text": "Accessible name for the component's button or hyperlink."
|
|
505
|
+
},
|
|
506
|
+
"attribute": "label",
|
|
507
|
+
"reflect": false
|
|
508
|
+
},
|
|
509
|
+
"loading": {
|
|
510
|
+
"type": "boolean",
|
|
511
|
+
"mutable": false,
|
|
512
|
+
"complexType": {
|
|
513
|
+
"original": "boolean",
|
|
514
|
+
"resolved": "boolean",
|
|
515
|
+
"references": {}
|
|
516
|
+
},
|
|
517
|
+
"required": false,
|
|
518
|
+
"optional": false,
|
|
519
|
+
"docs": {
|
|
520
|
+
"tags": [],
|
|
521
|
+
"text": "When true, the component is in the loading state and `calcite-progress` is displayed."
|
|
522
|
+
},
|
|
523
|
+
"attribute": "loading",
|
|
524
|
+
"reflect": true,
|
|
525
|
+
"defaultValue": "false"
|
|
526
|
+
},
|
|
527
|
+
"maxLength": {
|
|
528
|
+
"type": "number",
|
|
529
|
+
"mutable": false,
|
|
530
|
+
"complexType": {
|
|
531
|
+
"original": "number",
|
|
532
|
+
"resolved": "number",
|
|
533
|
+
"references": {}
|
|
534
|
+
},
|
|
535
|
+
"required": false,
|
|
536
|
+
"optional": true,
|
|
537
|
+
"docs": {
|
|
538
|
+
"tags": [{
|
|
539
|
+
"name": "mdn",
|
|
540
|
+
"text": "[maxlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#maxlength)"
|
|
541
|
+
}],
|
|
542
|
+
"text": "Specifies the maximum length of text for the component's value."
|
|
543
|
+
},
|
|
544
|
+
"attribute": "max-length",
|
|
545
|
+
"reflect": true
|
|
546
|
+
},
|
|
547
|
+
"minLength": {
|
|
548
|
+
"type": "number",
|
|
549
|
+
"mutable": false,
|
|
550
|
+
"complexType": {
|
|
551
|
+
"original": "number",
|
|
552
|
+
"resolved": "number",
|
|
553
|
+
"references": {}
|
|
554
|
+
},
|
|
555
|
+
"required": false,
|
|
556
|
+
"optional": true,
|
|
557
|
+
"docs": {
|
|
558
|
+
"tags": [{
|
|
559
|
+
"name": "mdn",
|
|
560
|
+
"text": "[minlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#minlength)"
|
|
561
|
+
}],
|
|
562
|
+
"text": "Specifies the minimum length of text for the component's value."
|
|
563
|
+
},
|
|
564
|
+
"attribute": "min-length",
|
|
565
|
+
"reflect": true
|
|
566
|
+
},
|
|
567
|
+
"name": {
|
|
568
|
+
"type": "string",
|
|
569
|
+
"mutable": false,
|
|
570
|
+
"complexType": {
|
|
571
|
+
"original": "string",
|
|
572
|
+
"resolved": "string",
|
|
573
|
+
"references": {}
|
|
574
|
+
},
|
|
575
|
+
"required": false,
|
|
576
|
+
"optional": false,
|
|
577
|
+
"docs": {
|
|
578
|
+
"tags": [{
|
|
579
|
+
"name": "mdn",
|
|
580
|
+
"text": "[name](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#name)"
|
|
581
|
+
}],
|
|
582
|
+
"text": "Specifies the name of the component."
|
|
583
|
+
},
|
|
584
|
+
"attribute": "name",
|
|
585
|
+
"reflect": true
|
|
586
|
+
},
|
|
587
|
+
"placeholder": {
|
|
588
|
+
"type": "string",
|
|
589
|
+
"mutable": false,
|
|
590
|
+
"complexType": {
|
|
591
|
+
"original": "string",
|
|
592
|
+
"resolved": "string",
|
|
593
|
+
"references": {}
|
|
594
|
+
},
|
|
595
|
+
"required": false,
|
|
596
|
+
"optional": false,
|
|
597
|
+
"docs": {
|
|
598
|
+
"tags": [{
|
|
599
|
+
"name": "mdn",
|
|
600
|
+
"text": "[placeholder](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#placeholder)"
|
|
601
|
+
}],
|
|
602
|
+
"text": "Specifies placeholder text for the component."
|
|
603
|
+
},
|
|
604
|
+
"attribute": "placeholder",
|
|
605
|
+
"reflect": false
|
|
606
|
+
},
|
|
607
|
+
"prefixText": {
|
|
608
|
+
"type": "string",
|
|
609
|
+
"mutable": false,
|
|
610
|
+
"complexType": {
|
|
611
|
+
"original": "string",
|
|
612
|
+
"resolved": "string",
|
|
613
|
+
"references": {}
|
|
614
|
+
},
|
|
615
|
+
"required": false,
|
|
616
|
+
"optional": true,
|
|
617
|
+
"docs": {
|
|
618
|
+
"tags": [],
|
|
619
|
+
"text": "Adds text to the start of the component."
|
|
620
|
+
},
|
|
621
|
+
"attribute": "prefix-text",
|
|
622
|
+
"reflect": false
|
|
623
|
+
},
|
|
624
|
+
"readOnly": {
|
|
625
|
+
"type": "boolean",
|
|
626
|
+
"mutable": false,
|
|
627
|
+
"complexType": {
|
|
628
|
+
"original": "boolean",
|
|
629
|
+
"resolved": "boolean",
|
|
630
|
+
"references": {}
|
|
631
|
+
},
|
|
632
|
+
"required": false,
|
|
633
|
+
"optional": false,
|
|
634
|
+
"docs": {
|
|
635
|
+
"tags": [{
|
|
636
|
+
"name": "mdn",
|
|
637
|
+
"text": "[readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)"
|
|
638
|
+
}],
|
|
639
|
+
"text": "When true, the value cannot be modified."
|
|
640
|
+
},
|
|
641
|
+
"attribute": "read-only",
|
|
642
|
+
"reflect": false,
|
|
643
|
+
"defaultValue": "false"
|
|
644
|
+
},
|
|
645
|
+
"required": {
|
|
646
|
+
"type": "boolean",
|
|
647
|
+
"mutable": false,
|
|
648
|
+
"complexType": {
|
|
649
|
+
"original": "boolean",
|
|
650
|
+
"resolved": "boolean",
|
|
651
|
+
"references": {}
|
|
652
|
+
},
|
|
653
|
+
"required": false,
|
|
654
|
+
"optional": false,
|
|
655
|
+
"docs": {
|
|
656
|
+
"tags": [],
|
|
657
|
+
"text": "When true, the component must have a value in order for the form to submit."
|
|
658
|
+
},
|
|
659
|
+
"attribute": "required",
|
|
660
|
+
"reflect": false,
|
|
661
|
+
"defaultValue": "false"
|
|
662
|
+
},
|
|
663
|
+
"scale": {
|
|
664
|
+
"type": "string",
|
|
665
|
+
"mutable": true,
|
|
666
|
+
"complexType": {
|
|
667
|
+
"original": "Scale",
|
|
668
|
+
"resolved": "\"l\" | \"m\" | \"s\"",
|
|
669
|
+
"references": {
|
|
670
|
+
"Scale": {
|
|
671
|
+
"location": "import",
|
|
672
|
+
"path": "../interfaces"
|
|
673
|
+
}
|
|
674
|
+
}
|
|
675
|
+
},
|
|
676
|
+
"required": false,
|
|
677
|
+
"optional": false,
|
|
678
|
+
"docs": {
|
|
679
|
+
"tags": [],
|
|
680
|
+
"text": "Specifies the size of the component."
|
|
681
|
+
},
|
|
682
|
+
"attribute": "scale",
|
|
683
|
+
"reflect": true,
|
|
684
|
+
"defaultValue": "\"m\""
|
|
685
|
+
},
|
|
686
|
+
"status": {
|
|
687
|
+
"type": "string",
|
|
688
|
+
"mutable": true,
|
|
689
|
+
"complexType": {
|
|
690
|
+
"original": "Status",
|
|
691
|
+
"resolved": "\"idle\" | \"invalid\" | \"valid\"",
|
|
692
|
+
"references": {
|
|
693
|
+
"Status": {
|
|
694
|
+
"location": "import",
|
|
695
|
+
"path": "../interfaces"
|
|
696
|
+
}
|
|
697
|
+
}
|
|
698
|
+
},
|
|
699
|
+
"required": false,
|
|
700
|
+
"optional": false,
|
|
701
|
+
"docs": {
|
|
702
|
+
"tags": [],
|
|
703
|
+
"text": "Specifies the status of the input field, which determines message and icons."
|
|
704
|
+
},
|
|
705
|
+
"attribute": "status",
|
|
706
|
+
"reflect": true,
|
|
707
|
+
"defaultValue": "\"idle\""
|
|
708
|
+
},
|
|
709
|
+
"suffixText": {
|
|
710
|
+
"type": "string",
|
|
711
|
+
"mutable": false,
|
|
712
|
+
"complexType": {
|
|
713
|
+
"original": "string",
|
|
714
|
+
"resolved": "string",
|
|
715
|
+
"references": {}
|
|
716
|
+
},
|
|
717
|
+
"required": false,
|
|
718
|
+
"optional": true,
|
|
719
|
+
"docs": {
|
|
720
|
+
"tags": [],
|
|
721
|
+
"text": "Adds text to the end of the component."
|
|
722
|
+
},
|
|
723
|
+
"attribute": "suffix-text",
|
|
724
|
+
"reflect": false
|
|
725
|
+
},
|
|
726
|
+
"editingEnabled": {
|
|
727
|
+
"type": "boolean",
|
|
728
|
+
"mutable": true,
|
|
729
|
+
"complexType": {
|
|
730
|
+
"original": "boolean",
|
|
731
|
+
"resolved": "boolean",
|
|
732
|
+
"references": {}
|
|
733
|
+
},
|
|
734
|
+
"required": false,
|
|
735
|
+
"optional": false,
|
|
736
|
+
"docs": {
|
|
737
|
+
"tags": [{
|
|
738
|
+
"name": "internal",
|
|
739
|
+
"text": undefined
|
|
740
|
+
}],
|
|
741
|
+
"text": ""
|
|
742
|
+
},
|
|
743
|
+
"attribute": "editing-enabled",
|
|
744
|
+
"reflect": true,
|
|
745
|
+
"defaultValue": "false"
|
|
746
|
+
},
|
|
747
|
+
"value": {
|
|
748
|
+
"type": "string",
|
|
749
|
+
"mutable": true,
|
|
750
|
+
"complexType": {
|
|
751
|
+
"original": "string",
|
|
752
|
+
"resolved": "string",
|
|
753
|
+
"references": {}
|
|
754
|
+
},
|
|
755
|
+
"required": false,
|
|
756
|
+
"optional": false,
|
|
757
|
+
"docs": {
|
|
758
|
+
"tags": [],
|
|
759
|
+
"text": "The component's value."
|
|
760
|
+
},
|
|
761
|
+
"attribute": "value",
|
|
762
|
+
"reflect": false,
|
|
763
|
+
"defaultValue": "\"\""
|
|
764
|
+
}
|
|
765
|
+
}; }
|
|
766
|
+
static get events() { return [{
|
|
767
|
+
"method": "calciteInternalInputTextFocus",
|
|
768
|
+
"name": "calciteInternalInputTextFocus",
|
|
769
|
+
"bubbles": true,
|
|
770
|
+
"cancelable": true,
|
|
771
|
+
"composed": true,
|
|
772
|
+
"docs": {
|
|
773
|
+
"tags": [{
|
|
774
|
+
"name": "internal",
|
|
775
|
+
"text": undefined
|
|
776
|
+
}],
|
|
777
|
+
"text": ""
|
|
778
|
+
},
|
|
779
|
+
"complexType": {
|
|
780
|
+
"original": "{\n element: HTMLInputElement;\n value: string;\n }",
|
|
781
|
+
"resolved": "{ element: HTMLInputElement; value: string; }",
|
|
782
|
+
"references": {
|
|
783
|
+
"HTMLInputElement": {
|
|
784
|
+
"location": "global"
|
|
785
|
+
}
|
|
786
|
+
}
|
|
787
|
+
}
|
|
788
|
+
}, {
|
|
789
|
+
"method": "calciteInternalInputTextBlur",
|
|
790
|
+
"name": "calciteInternalInputTextBlur",
|
|
791
|
+
"bubbles": true,
|
|
792
|
+
"cancelable": true,
|
|
793
|
+
"composed": true,
|
|
794
|
+
"docs": {
|
|
795
|
+
"tags": [{
|
|
796
|
+
"name": "internal",
|
|
797
|
+
"text": undefined
|
|
798
|
+
}],
|
|
799
|
+
"text": ""
|
|
800
|
+
},
|
|
801
|
+
"complexType": {
|
|
802
|
+
"original": "{ element: HTMLInputElement; value: string }",
|
|
803
|
+
"resolved": "{ element: HTMLInputElement; value: string; }",
|
|
804
|
+
"references": {
|
|
805
|
+
"HTMLInputElement": {
|
|
806
|
+
"location": "global"
|
|
807
|
+
}
|
|
808
|
+
}
|
|
809
|
+
}
|
|
810
|
+
}, {
|
|
811
|
+
"method": "calciteInputTextInput",
|
|
812
|
+
"name": "calciteInputTextInput",
|
|
813
|
+
"bubbles": true,
|
|
814
|
+
"cancelable": true,
|
|
815
|
+
"composed": true,
|
|
816
|
+
"docs": {
|
|
817
|
+
"tags": [],
|
|
818
|
+
"text": "Fires each time a new value is typed."
|
|
819
|
+
},
|
|
820
|
+
"complexType": {
|
|
821
|
+
"original": "{\n element: HTMLInputElement;\n nativeEvent: MouseEvent | KeyboardEvent | InputEvent;\n value: string;\n }",
|
|
822
|
+
"resolved": "{ element: HTMLInputElement; nativeEvent: MouseEvent | KeyboardEvent | InputEvent; value: string; }",
|
|
823
|
+
"references": {
|
|
824
|
+
"HTMLInputElement": {
|
|
825
|
+
"location": "global"
|
|
826
|
+
},
|
|
827
|
+
"MouseEvent": {
|
|
828
|
+
"location": "global"
|
|
829
|
+
},
|
|
830
|
+
"KeyboardEvent": {
|
|
831
|
+
"location": "global"
|
|
832
|
+
},
|
|
833
|
+
"InputEvent": {
|
|
834
|
+
"location": "global"
|
|
835
|
+
}
|
|
836
|
+
}
|
|
837
|
+
}
|
|
838
|
+
}, {
|
|
839
|
+
"method": "calciteInputTextChange",
|
|
840
|
+
"name": "calciteInputTextChange",
|
|
841
|
+
"bubbles": true,
|
|
842
|
+
"cancelable": true,
|
|
843
|
+
"composed": true,
|
|
844
|
+
"docs": {
|
|
845
|
+
"tags": [],
|
|
846
|
+
"text": "Fires each time a new value is typed and committed."
|
|
847
|
+
},
|
|
848
|
+
"complexType": {
|
|
849
|
+
"original": "void",
|
|
850
|
+
"resolved": "void",
|
|
851
|
+
"references": {}
|
|
852
|
+
}
|
|
853
|
+
}]; }
|
|
854
|
+
static get methods() { return {
|
|
855
|
+
"setFocus": {
|
|
856
|
+
"complexType": {
|
|
857
|
+
"signature": "() => Promise<void>",
|
|
858
|
+
"parameters": [],
|
|
859
|
+
"references": {
|
|
860
|
+
"Promise": {
|
|
861
|
+
"location": "global"
|
|
862
|
+
}
|
|
863
|
+
},
|
|
864
|
+
"return": "Promise<void>"
|
|
865
|
+
},
|
|
866
|
+
"docs": {
|
|
867
|
+
"text": "Sets focus on the component.",
|
|
868
|
+
"tags": []
|
|
869
|
+
}
|
|
870
|
+
},
|
|
871
|
+
"selectText": {
|
|
872
|
+
"complexType": {
|
|
873
|
+
"signature": "() => Promise<void>",
|
|
874
|
+
"parameters": [],
|
|
875
|
+
"references": {
|
|
876
|
+
"Promise": {
|
|
877
|
+
"location": "global"
|
|
878
|
+
}
|
|
879
|
+
},
|
|
880
|
+
"return": "Promise<void>"
|
|
881
|
+
},
|
|
882
|
+
"docs": {
|
|
883
|
+
"text": "Selects all text of the component's `value`.",
|
|
884
|
+
"tags": []
|
|
885
|
+
}
|
|
886
|
+
}
|
|
887
|
+
}; }
|
|
888
|
+
static get elementRef() { return "el"; }
|
|
889
|
+
static get watchers() { return [{
|
|
890
|
+
"propName": "disabled",
|
|
891
|
+
"methodName": "disabledWatcher"
|
|
892
|
+
}, {
|
|
893
|
+
"propName": "value",
|
|
894
|
+
"methodName": "valueWatcher"
|
|
895
|
+
}, {
|
|
896
|
+
"propName": "icon",
|
|
897
|
+
"methodName": "updateRequestedIcon"
|
|
898
|
+
}]; }
|
|
899
|
+
}
|