@esri/calcite-components 1.0.0-next.521 → 1.0.0-next.524
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/calcite.css +1 -1
- 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-3ebebd84.system.entry.js → p-0021e287.system.entry.js} +3 -3
- package/dist/calcite/{p-66240c05.entry.js → p-0198ffdc.entry.js} +2 -2
- package/dist/calcite/p-046ec290.entry.js +6 -0
- package/dist/calcite/{p-25129b54.system.entry.js → p-067f770e.system.entry.js} +2 -2
- package/dist/calcite/{p-1934cb89.entry.js → p-073db535.entry.js} +2 -2
- package/dist/calcite/{p-0c8eb394.js → p-077ff084.js} +1 -1
- package/dist/calcite/{p-fc76a97f.system.js → p-0b11c342.system.js} +1 -1
- package/dist/calcite/{p-46c73e88.entry.js → p-0c376871.entry.js} +2 -2
- package/dist/calcite/{p-f4a4e6fd.entry.js → p-0cc91f9e.entry.js} +2 -2
- package/dist/calcite/p-0f16fcf2.system.js +6 -0
- package/dist/calcite/p-0f539167.system.js +6 -0
- package/dist/calcite/p-0fe02887.js +6 -0
- package/dist/calcite/p-10d09cd6.entry.js +6 -0
- package/dist/calcite/{p-503ffd79.js → p-143abf64.js} +1 -1
- package/dist/calcite/{p-709ffc8a.system.entry.js → p-14796d0f.system.entry.js} +2 -2
- package/dist/calcite/{p-922cca1a.system.js → p-15c964c6.system.js} +2 -2
- package/dist/calcite/{p-5c81572b.entry.js → p-1646ec88.entry.js} +2 -2
- package/dist/calcite/{p-74508b15.system.js → p-16ca542c.system.js} +1 -1
- package/dist/calcite/{p-f5fcb884.system.entry.js → p-184ebb3b.system.entry.js} +2 -2
- package/dist/calcite/{p-a799c49f.system.entry.js → p-19bdcf8c.system.entry.js} +2 -2
- package/dist/calcite/{p-1a7dcfc0.system.entry.js → p-19f3559b.system.entry.js} +2 -2
- package/dist/calcite/{p-22d40d65.entry.js → p-1d943758.entry.js} +2 -2
- package/dist/calcite/{p-ef10300b.entry.js → p-1e059893.entry.js} +2 -2
- package/dist/calcite/{p-1786fb93.js → p-1e3a412f.js} +1 -1
- package/dist/calcite/{p-e0edddf8.entry.js → p-200a4df9.entry.js} +2 -2
- package/dist/calcite/{p-c9878d39.system.entry.js → p-203b84e0.system.entry.js} +2 -2
- package/dist/calcite/{p-5b2d7828.js → p-217da6af.js} +2 -2
- package/dist/calcite/{p-5c335596.system.entry.js → p-23f06b74.system.entry.js} +3 -3
- package/dist/calcite/{p-06332d21.system.entry.js → p-25506e7a.system.entry.js} +2 -2
- package/dist/calcite/{p-d9e6af1c.system.entry.js → p-25ac8f0f.system.entry.js} +2 -2
- package/dist/calcite/{p-43e7a8f1.system.js → p-26556d6d.system.js} +3 -3
- package/dist/calcite/{p-3111a501.system.js → p-2ec417aa.system.js} +1 -1
- package/dist/calcite/{p-d9d2294a.entry.js → p-2f1d4aae.entry.js} +2 -2
- package/dist/calcite/{p-803997da.system.entry.js → p-32448d28.system.entry.js} +2 -2
- package/dist/calcite/{p-c57bfa50.system.entry.js → p-35dc2f85.system.entry.js} +2 -2
- package/dist/calcite/{p-196346bf.system.entry.js → p-360e30b3.system.entry.js} +3 -3
- package/dist/calcite/{p-956aea00.system.entry.js → p-361aa924.system.entry.js} +2 -2
- package/dist/calcite/{p-d4a4f33e.entry.js → p-3a5f669d.entry.js} +2 -2
- package/dist/calcite/{p-0df3ffa0.system.entry.js → p-3aa6117f.system.entry.js} +2 -2
- package/dist/calcite/p-3c567654.entry.js +6 -0
- package/dist/calcite/{p-9ed3942c.system.js → p-3cea6fdc.system.js} +2 -2
- package/dist/calcite/{p-3ecd2c17.entry.js → p-3e9ed951.entry.js} +2 -2
- package/dist/calcite/{p-dc5fb654.system.entry.js → p-40a76d39.system.entry.js} +2 -2
- package/dist/calcite/{p-a6339811.system.entry.js → p-41d85ce9.system.entry.js} +2 -2
- package/dist/calcite/{p-18e94c9f.entry.js → p-434242b1.entry.js} +2 -2
- package/dist/calcite/{p-d8bf5b29.js → p-442951a7.js} +1 -1
- package/dist/calcite/{p-08e28998.system.entry.js → p-4545dbb5.system.entry.js} +2 -2
- package/dist/calcite/{p-53cb1579.system.js → p-454d0d3b.system.js} +1 -1
- package/dist/calcite/{p-98d13115.entry.js → p-463c0ed8.entry.js} +2 -2
- package/dist/calcite/{p-3ecec156.entry.js → p-4b4c8b1f.entry.js} +2 -2
- package/dist/calcite/{p-0e88270b.js → p-4c684c84.js} +2 -2
- package/dist/calcite/{p-0ff0ca0b.system.entry.js → p-4cc8bda0.system.entry.js} +2 -2
- package/dist/calcite/{p-ea37aa52.entry.js → p-4da07432.entry.js} +2 -2
- package/dist/calcite/{p-0c6874b0.system.entry.js → p-4fe7e777.system.entry.js} +2 -2
- package/dist/calcite/{p-a63dc521.system.entry.js → p-505be8f5.system.entry.js} +2 -2
- package/dist/calcite/{p-5b152346.entry.js → p-510ddd53.entry.js} +2 -2
- package/dist/calcite/{p-18de0e0b.system.entry.js → p-56c11b0f.system.entry.js} +2 -2
- package/dist/calcite/{p-e72532a8.entry.js → p-5c0773d2.entry.js} +2 -2
- package/dist/calcite/{p-62a0f380.system.entry.js → p-5d050e71.system.entry.js} +2 -2
- package/dist/calcite/{p-f105b00b.system.entry.js → p-5d23d9e9.system.entry.js} +2 -2
- package/dist/calcite/{p-19f87399.system.js → p-5ded25b4.system.js} +1 -1
- package/dist/calcite/{p-8aafc60e.system.js → p-5df04b2f.system.js} +2 -2
- package/dist/calcite/{p-df8177da.system.entry.js → p-5e4b8fc3.system.entry.js} +2 -2
- package/dist/calcite/{p-4565c114.system.js → p-6021e7db.system.js} +2 -2
- package/dist/calcite/{p-01b638d1.entry.js → p-60ec029f.entry.js} +2 -2
- package/dist/calcite/{p-ec3ac306.system.entry.js → p-617e01a1.system.entry.js} +2 -2
- package/dist/calcite/{p-a7ae0c54.system.entry.js → p-61cd8cfb.system.entry.js} +2 -2
- package/dist/calcite/{p-8d193648.system.js → p-620d4b91.system.js} +1 -1
- package/dist/calcite/{p-b80bbe57.entry.js → p-63be3fc7.entry.js} +2 -2
- package/dist/calcite/{p-7609b260.entry.js → p-63bf0acf.entry.js} +2 -2
- package/dist/calcite/{p-1d7e2d4a.js → p-63cea60e.js} +1 -1
- package/dist/calcite/p-6431a87e.js +6 -0
- package/dist/calcite/{p-302615c5.system.entry.js → p-65e5f903.system.entry.js} +2 -2
- package/dist/calcite/{p-4d012e6d.entry.js → p-674bd6ed.entry.js} +2 -2
- package/dist/calcite/{p-8ad36643.entry.js → p-6c279d51.entry.js} +2 -2
- package/dist/calcite/{p-bc269b24.js → p-6c8e9009.js} +2 -2
- package/dist/calcite/{p-7f80ef30.entry.js → p-6ed34f0c.entry.js} +2 -2
- package/dist/calcite/{p-05a4b9dd.entry.js → p-6f29031f.entry.js} +2 -2
- package/dist/calcite/{p-490d284a.entry.js → p-6f7f0f67.entry.js} +2 -2
- package/dist/calcite/{p-1c45719a.system.js → p-7086770b.system.js} +1 -1
- package/dist/calcite/{p-82894cb4.system.entry.js → p-76c1bcd7.system.entry.js} +3 -3
- package/dist/calcite/{p-f6032fac.entry.js → p-7724bf19.entry.js} +2 -2
- package/dist/calcite/{p-f8360ef0.system.entry.js → p-791eb72e.system.entry.js} +2 -2
- package/dist/calcite/{p-be33578d.js → p-794df25d.js} +2 -2
- package/dist/calcite/{p-68c538e6.js → p-79750027.js} +2 -2
- package/dist/calcite/{p-10fe1682.entry.js → p-7990754a.entry.js} +2 -2
- package/dist/calcite/{p-2b8e9cae.system.entry.js → p-7a538f4d.system.entry.js} +2 -2
- package/dist/calcite/{p-cea960cf.entry.js → p-7d3a5cee.entry.js} +2 -2
- package/dist/calcite/{p-c7e7cc3f.js → p-803e1fdf.js} +1 -1
- package/dist/calcite/{p-b72717bd.entry.js → p-80b15fa9.entry.js} +2 -2
- package/dist/calcite/{p-5a8d424e.system.entry.js → p-80c67e43.system.entry.js} +2 -2
- package/dist/calcite/{p-5956ae2b.system.js → p-82189690.system.js} +1 -1
- package/dist/calcite/p-87ddf5b2.entry.js +6 -0
- package/dist/calcite/{p-5d1ea183.system.entry.js → p-8a15bb81.system.entry.js} +2 -2
- package/dist/calcite/{p-9814a422.system.entry.js → p-8b26bb66.system.entry.js} +2 -2
- package/dist/calcite/{p-ba1931db.entry.js → p-8bc93584.entry.js} +2 -2
- package/dist/calcite/p-8c91f5b7.system.entry.js +6 -0
- package/dist/calcite/{p-68605411.entry.js → p-8eb1ad9d.entry.js} +2 -2
- package/dist/calcite/{p-a7a4705c.entry.js → p-8f4e9d9b.entry.js} +2 -2
- package/dist/calcite/{p-adcd9271.system.js → p-95ac8e64.system.js} +1 -1
- package/dist/calcite/{p-8469c3f5.system.entry.js → p-96239dc0.system.entry.js} +2 -2
- package/dist/calcite/p-9a9b35e0.system.entry.js +6 -0
- package/dist/calcite/{p-d44c6b32.system.js → p-9d4195ba.system.js} +1 -1
- package/dist/calcite/{p-3bbfc3a1.js → p-9e416f64.js} +1 -1
- package/dist/calcite/{p-f0f828f4.js → p-9e9297fc.js} +1 -1
- package/dist/calcite/{p-02a3583d.entry.js → p-9f5327fe.entry.js} +2 -2
- package/dist/calcite/{p-08f334c1.js → p-a18960d1.js} +2 -2
- package/dist/calcite/{p-ab5101d8.system.js → p-a21681bf.system.js} +1 -1
- package/dist/calcite/{p-836254a6.system.entry.js → p-a25613a9.system.entry.js} +2 -2
- package/dist/calcite/{p-477ca75f.entry.js → p-a8863e85.entry.js} +2 -2
- package/dist/calcite/{p-71a5a7b9.js → p-aa0aafda.js} +1 -1
- package/dist/calcite/{p-b64ac51f.entry.js → p-aba8619b.entry.js} +2 -2
- package/dist/calcite/{p-0d86e14f.entry.js → p-b0067d82.entry.js} +2 -2
- package/dist/calcite/{p-e029f7a3.entry.js → p-b43e23a4.entry.js} +2 -2
- package/dist/calcite/{p-4a08a094.js → p-b44a4212.js} +2 -2
- package/dist/calcite/{p-c74ae0e9.system.entry.js → p-b4698639.system.entry.js} +2 -2
- package/dist/calcite/{p-bee3c541.js → p-b47b772e.js} +1 -1
- package/dist/calcite/{p-bcbe7ce6.system.entry.js → p-b78e0aa4.system.entry.js} +2 -2
- package/dist/calcite/{p-80dd019b.js → p-b9b838ca.js} +1 -1
- package/dist/calcite/{p-ca13fa8e.entry.js → p-bb286f7b.entry.js} +2 -2
- package/dist/calcite/{p-2981a893.js → p-bba345b0.js} +2 -2
- package/dist/calcite/{p-f463e742.system.entry.js → p-bd1af8e6.system.entry.js} +2 -2
- package/dist/calcite/{p-5321532e.entry.js → p-be44dd8c.entry.js} +2 -2
- package/dist/calcite/{p-f2efb50c.system.entry.js → p-bf01ccef.system.entry.js} +2 -2
- package/dist/calcite/{p-5bbaac2e.system.entry.js → p-bf24e24e.system.entry.js} +2 -2
- package/dist/calcite/{p-90bd223c.system.entry.js → p-bffc203d.system.entry.js} +2 -2
- package/dist/calcite/{p-d7a237ba.system.js → p-c0137931.system.js} +1 -1
- package/dist/calcite/{p-37ae8843.system.js → p-c0564473.system.js} +2 -2
- package/dist/calcite/{p-616f05fa.entry.js → p-c0dd3393.entry.js} +2 -2
- package/dist/calcite/{p-a56d7998.system.js → p-c17fcd09.system.js} +2 -2
- package/dist/calcite/{p-b2f3fc3d.system.entry.js → p-c4296f0f.system.entry.js} +2 -2
- package/dist/calcite/{p-037f81e1.entry.js → p-ca864d50.entry.js} +2 -2
- package/dist/calcite/{p-b2f5c885.system.entry.js → p-d06a66d5.system.entry.js} +2 -2
- package/dist/calcite/{p-d418b98e.system.entry.js → p-d2024d78.system.entry.js} +2 -2
- package/dist/calcite/{p-c9962a82.system.entry.js → p-d40e2e5e.system.entry.js} +2 -2
- package/dist/calcite/{p-7779dcec.entry.js → p-d48eb3f4.entry.js} +2 -2
- package/dist/calcite/{p-3ade5098.js → p-d94193be.js} +1 -1
- package/dist/calcite/{p-e99806ce.entry.js → p-da460566.entry.js} +2 -2
- package/dist/calcite/{p-a186a81b.entry.js → p-da83c7b8.entry.js} +2 -2
- package/dist/calcite/{p-0e8275de.entry.js → p-db9c0de1.entry.js} +2 -2
- package/dist/calcite/{p-0664c198.entry.js → p-de9f177a.entry.js} +2 -2
- package/dist/calcite/{p-a056927a.entry.js → p-e0e764bb.entry.js} +2 -2
- package/dist/calcite/{p-ed2772f3.system.entry.js → p-e18bb14e.system.entry.js} +2 -2
- package/dist/calcite/{p-d6299c4e.system.js → p-e1ded583.system.js} +2 -2
- package/dist/calcite/{p-eef3c9fd.entry.js → p-e6c703fa.entry.js} +2 -2
- package/dist/calcite/{p-60224344.js → p-e8576375.js} +1 -1
- package/dist/calcite/{p-bd5694e0.system.entry.js → p-eb913caa.system.entry.js} +2 -2
- package/dist/calcite/{p-ce9659f4.entry.js → p-ebdf2dcb.entry.js} +2 -2
- package/dist/calcite/{p-28b4be8f.system.entry.js → p-ed735bdc.system.entry.js} +2 -2
- package/dist/calcite/{p-597100a7.entry.js → p-f1316f46.entry.js} +2 -2
- package/dist/calcite/{p-8e6d31eb.system.js → p-f2b4047b.system.js} +1 -1
- package/dist/calcite/{p-3c9fb8a0.system.entry.js → p-f316435a.system.entry.js} +3 -3
- package/dist/calcite/{p-54bc93ca.system.entry.js → p-f4c0780c.system.entry.js} +2 -2
- package/dist/calcite/{p-f18df807.system.entry.js → p-f5333892.system.entry.js} +2 -2
- package/dist/calcite/{p-0f7446cb.entry.js → p-f601b375.entry.js} +2 -2
- package/dist/calcite/{p-7b5c7678.system.js → p-f68f7eac.system.js} +1 -1
- package/dist/calcite/{p-22ffda43.system.js → p-f7c9c5f2.system.js} +2 -2
- package/dist/calcite/{p-d461e15b.system.entry.js → p-f7f7e330.system.entry.js} +2 -2
- package/dist/calcite/{p-9109755c.entry.js → p-f8055fa4.entry.js} +2 -2
- package/dist/calcite/{p-67f1f6b9.system.entry.js → p-f9642904.system.entry.js} +2 -2
- package/dist/calcite/p-fa13fecc.entry.js +6 -0
- package/dist/calcite/{p-dd9f25da.entry.js → p-fa95edee.entry.js} +2 -2
- package/dist/calcite/{p-b905df83.system.entry.js → p-fe1a1f2b.system.entry.js} +2 -2
- package/dist/calcite/p-fe48f6e1.system.js +6 -0
- package/dist/calcite/{p-fa49f87b.system.entry.js → p-fe9b9938.system.entry.js} +2 -2
- package/dist/calcite/{p-2bceb3cc.js → p-ff900ff3.js} +2 -2
- package/dist/cjs/{ExpandToggle-8aaaf12b.js → ExpandToggle-5914d027.js} +5 -5
- package/dist/cjs/{Heading-5f2ed366.js → Heading-5b6728fa.js} +2 -2
- package/dist/cjs/{array-332f1ad8.js → array-10d140a1.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-action-bar.cjs.entry.js +11 -11
- package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-pad.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action.cjs.entry.js +6 -6
- package/dist/cjs/calcite-alert.cjs.entry.js +5 -5
- 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 +12 -12
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +9 -9
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +7 -7
- 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 +531 -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 +12 -6
- 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 +4 -4
- package/dist/cjs/{conditionalSlot-345c638f.js → conditionalSlot-2fa6c7c0.js} +3 -3
- package/dist/cjs/{debounce-cff73118.js → debounce-a569f7e8.js} +1 -1
- package/dist/cjs/{dom-006119f9.js → dom-ab156ed7.js} +2 -2
- package/dist/cjs/{forIn-63725cb3.js → forIn-5b249337.js} +2 -2
- package/dist/cjs/{form-4aa36914.js → form-9fd7e527.js} +3 -3
- package/dist/cjs/{guid-7ac09c7c.js → guid-e3ed3471.js} +1 -1
- package/dist/cjs/{index-345bd03e.js → index-688507d2.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-4c089305.js → interactive-4c3bdfce.js} +1 -1
- package/dist/cjs/{interfaces-ed5629c9.js → interfaces-8feed84a.js} +1 -1
- package/dist/cjs/{key-ad47ec79.js → key-7c21c694.js} +1 -1
- package/dist/cjs/{label-cbd2fca0.js → label-585aa37d.js} +2 -2
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{locale-a7606dce.js → locale-33c1aad6.js} +2 -2
- package/dist/cjs/{math-cb0eba16.js → math-f61b24ca.js} +1 -1
- package/dist/cjs/{observers-e7215a23.js → observers-1e86c439.js} +1 -1
- package/dist/cjs/{popper-a6799f73.js → popper-bf284b6f.js} +2 -2
- package/dist/cjs/{resources-ec4ddd5b.js → resources-010f3e62.js} +3 -3
- package/dist/cjs/{resources-e4f2b649.js → resources-1d8b7492.js} +1 -1
- package/dist/cjs/{resources-e78d08e9.js → resources-a1c7bd83.js} +5 -5
- package/dist/cjs/{resources-3dfb6262.js → resources-ac47df12.js} +1 -1
- package/dist/cjs/{sortable.esm-75596196.js → sortable.esm-a16d43ef.js} +1 -1
- package/dist/cjs/{utils-cd5ed41f.js → utils-daa542d3.js} +1 -1
- package/dist/collection/collection-manifest.json +7 -1
- 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/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.css +1 -0
- 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 +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.css +1 -0
- 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.js +1 -1
- 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.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/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.js +1 -1
- 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-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.css +509 -0
- package/dist/collection/components/input-number/input-number.js +1251 -0
- package/dist/collection/components/input-number/interfaces.js +6 -0
- package/dist/collection/components/input-number/resources.js +27 -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.css +15 -10
- package/dist/collection/components/label/label.js +28 -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/resources.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/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/popper.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 +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +3 -3
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +2 -2
- 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 +2 -2
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- 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 +2 -2
- 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 +3 -3
- 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 +2 -2
- package/dist/components/calcite-input-date-picker.js +4 -4
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.d.ts +11 -0
- package/dist/components/calcite-input-number.js +592 -0
- package/dist/components/calcite-input-time-picker.js +2 -2
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/components/calcite-radio-group-item.js +1 -1
- package/dist/components/calcite-radio-group.js +2 -2
- package/dist/components/calcite-rating.js +2 -2
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +2 -2
- 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 +3 -3
- 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 +2 -2
- package/dist/components/calcite-tree-item.js +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +2 -2
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +2 -2
- package/dist/components/dropdown.js +2 -2
- package/dist/components/filter.js +1 -1
- package/dist/components/forIn.js +1 -1
- package/dist/components/form.js +2 -2
- 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.d.ts +5 -90
- package/dist/components/index.js +1 -91
- package/dist/components/input.js +2 -2
- 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 +112 -80
- package/dist/components/label2.js +87 -112
- 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 +2 -2
- package/dist/components/popper.js +2 -2
- 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 +2 -2
- package/dist/components/tab-nav.js +2 -2
- 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 +793 -273
- package/dist/esm/{ExpandToggle-f015017d.js → ExpandToggle-6bd463d8.js} +5 -5
- package/dist/esm/{Heading-d8e9c4d0.js → Heading-129c5b2e.js} +2 -2
- package/dist/esm/{array-cc249c07.js → array-5d83abf9.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +4 -4
- package/dist/esm/calcite-action-bar.entry.js +11 -11
- package/dist/esm/calcite-action-group.entry.js +8 -8
- package/dist/esm/calcite-action-menu.entry.js +8 -8
- package/dist/esm/calcite-action-pad.entry.js +10 -10
- package/dist/esm/calcite-action.entry.js +6 -6
- package/dist/esm/calcite-alert.entry.js +5 -5
- 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 +12 -12
- package/dist/esm/calcite-date-picker_4.entry.js +9 -9
- package/dist/esm/calcite-dropdown_3.entry.js +7 -7
- 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 +527 -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 +12 -6
- 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 +4 -4
- package/dist/esm/{conditionalSlot-251f048d.js → conditionalSlot-a00e8dca.js} +3 -3
- package/dist/esm/{debounce-671be4ab.js → debounce-031e6c4d.js} +1 -1
- package/dist/esm/{dom-1d25d90d.js → dom-f9756282.js} +2 -2
- package/dist/esm/{forIn-61b8f555.js → forIn-dbccb332.js} +2 -2
- package/dist/esm/{form-9231bd75.js → form-e4f2868c.js} +3 -3
- package/dist/esm/{guid-681ada01.js → guid-db5de792.js} +1 -1
- package/dist/esm/{index-3d4e33c9.js → index-258b111b.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-206f3e33.js → interactive-2d24af9c.js} +1 -1
- package/dist/esm/{interfaces-1e8297e0.js → interfaces-a34a97a3.js} +1 -1
- package/dist/esm/{key-aaa7a17a.js → key-1ad35d1e.js} +1 -1
- package/dist/esm/{label-78ef6888.js → label-dad4147d.js} +2 -2
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{locale-ddc99d54.js → locale-4b78a8a2.js} +2 -2
- package/dist/esm/{math-6704b0cd.js → math-f9aa9265.js} +1 -1
- package/dist/esm/{observers-f4b26851.js → observers-d73acf67.js} +1 -1
- package/dist/esm/{popper-0f8ca820.js → popper-862cce4a.js} +2 -2
- package/dist/esm/{resources-c23513d4.js → resources-76735425.js} +5 -5
- package/dist/esm/{resources-9cd6c136.js → resources-a1573fa8.js} +3 -3
- package/dist/esm/{resources-8bc22c30.js → resources-a53d5723.js} +1 -1
- package/dist/esm/{resources-f108bb2c.js → resources-ecb7ae7e.js} +1 -1
- package/dist/esm/{sortable.esm-b5154dfc.js → sortable.esm-e4772b0a.js} +1 -1
- package/dist/esm/{utils-29143248.js → utils-aa0bb6c4.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-f015017d.js → ExpandToggle-6bd463d8.js} +2 -2
- package/dist/esm-es5/Heading-129c5b2e.js +6 -0
- package/dist/esm-es5/{array-cc249c07.js → array-5d83abf9.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 +2 -2
- 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 +3 -3
- package/dist/esm-es5/calcite-input-message.entry.js +2 -2
- package/dist/esm-es5/calcite-input-number.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 +2 -2
- 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 +3 -3
- 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-251f048d.js → conditionalSlot-a00e8dca.js} +2 -2
- package/dist/esm-es5/{debounce-671be4ab.js → debounce-031e6c4d.js} +1 -1
- package/dist/esm-es5/{dom-1d25d90d.js → dom-f9756282.js} +2 -2
- package/dist/esm-es5/{forIn-61b8f555.js → forIn-dbccb332.js} +2 -2
- package/dist/esm-es5/{form-9231bd75.js → form-e4f2868c.js} +2 -2
- package/dist/esm-es5/{guid-681ada01.js → guid-db5de792.js} +1 -1
- package/dist/esm-es5/{index-3d4e33c9.js → index-258b111b.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-206f3e33.js → interactive-2d24af9c.js} +1 -1
- package/dist/esm-es5/{interfaces-1e8297e0.js → interfaces-a34a97a3.js} +1 -1
- package/dist/esm-es5/{key-aaa7a17a.js → key-1ad35d1e.js} +1 -1
- package/dist/esm-es5/{label-78ef6888.js → label-dad4147d.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-ddc99d54.js → locale-4b78a8a2.js} +2 -2
- package/dist/esm-es5/{math-6704b0cd.js → math-f9aa9265.js} +1 -1
- package/dist/esm-es5/{observers-f4b26851.js → observers-d73acf67.js} +1 -1
- package/dist/esm-es5/{popper-0f8ca820.js → popper-862cce4a.js} +2 -2
- package/dist/esm-es5/{resources-c23513d4.js → resources-76735425.js} +2 -2
- package/dist/esm-es5/{resources-9cd6c136.js → resources-a1573fa8.js} +2 -2
- package/dist/esm-es5/{resources-8bc22c30.js → resources-a53d5723.js} +1 -1
- package/dist/esm-es5/{resources-f108bb2c.js → resources-ecb7ae7e.js} +1 -1
- package/dist/esm-es5/{sortable.esm-b5154dfc.js → sortable.esm-e4772b0a.js} +1 -1
- package/dist/esm-es5/{utils-29143248.js → utils-aa0bb6c4.js} +1 -1
- package/dist/extras/docs-json.json +806 -111
- 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/input-number/input-number.d.ts +216 -0
- package/dist/types/components/input-number/interfaces.d.ts +1 -0
- package/dist/types/components/input-number/resources.d.ts +22 -0
- package/dist/types/components/label/label.d.ts +6 -0
- package/dist/types/components.d.ts +307 -0
- package/dist/types/preact.d.ts +7 -0
- package/hydrate/index.js +825 -396
- package/package.json +2 -2
- package/readme.md +2 -2
- package/dist/calcite/p-15a2f2b5.entry.js +0 -6
- package/dist/calcite/p-3854aaa3.entry.js +0 -6
- package/dist/calcite/p-56fad8eb.system.entry.js +0 -6
- package/dist/calcite/p-9a775e97.entry.js +0 -6
- package/dist/calcite/p-aa04303b.system.js +0 -6
- package/dist/calcite/p-ab08ad49.system.js +0 -6
- package/dist/calcite/p-b9ba2995.system.js +0 -6
- package/dist/calcite/p-cc236a7d.js +0 -6
- package/dist/calcite/p-ce350a0c.js +0 -6
- package/dist/calcite/p-fb4d2cca.entry.js +0 -6
- package/dist/esm-es5/Heading-d8e9c4d0.js +0 -6
|
@@ -0,0 +1,1251 @@
|
|
|
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.524
|
|
5
|
+
*/
|
|
6
|
+
import { Component, Element, Event, h, Host, Method, Prop, State, 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 { getDecimalSeparator, delocalizeNumberString, localizeNumberString } from "../../utils/locale";
|
|
12
|
+
import { numberKeys } from "../../utils/key";
|
|
13
|
+
import { isValidNumber, parseNumberString, sanitizeNumberString } from "../../utils/number";
|
|
14
|
+
import { CSS_UTILITY, TEXT as COMMON_TEXT } from "../../utils/resources";
|
|
15
|
+
import { decimalPlaces } from "../../utils/math";
|
|
16
|
+
import { createObserver } from "../../utils/observers";
|
|
17
|
+
import { updateHostInteraction } from "../../utils/interactive";
|
|
18
|
+
/**
|
|
19
|
+
* @slot action - A slot for positioning a button next to the component.
|
|
20
|
+
*/
|
|
21
|
+
export class InputNumber {
|
|
22
|
+
constructor() {
|
|
23
|
+
//--------------------------------------------------------------------------
|
|
24
|
+
//
|
|
25
|
+
// Properties
|
|
26
|
+
//
|
|
27
|
+
//--------------------------------------------------------------------------
|
|
28
|
+
/** Specifies the text alignment of the component's value. */
|
|
29
|
+
this.alignment = "start";
|
|
30
|
+
/**
|
|
31
|
+
* When true, the component is focused on page load.
|
|
32
|
+
*
|
|
33
|
+
* @mdn [autofocus](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)
|
|
34
|
+
*/
|
|
35
|
+
this.autofocus = false;
|
|
36
|
+
/**
|
|
37
|
+
* When true, a clear button is displayed when the component has a value.
|
|
38
|
+
*/
|
|
39
|
+
this.clearable = false;
|
|
40
|
+
/**
|
|
41
|
+
* When true, interaction is prevented and the component is displayed with lower opacity.
|
|
42
|
+
*
|
|
43
|
+
* @mdn [disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
|
|
44
|
+
*/
|
|
45
|
+
this.disabled = false;
|
|
46
|
+
/**
|
|
47
|
+
* When true, number values are displayed with the locale's group separator.
|
|
48
|
+
*/
|
|
49
|
+
this.groupSeparator = false;
|
|
50
|
+
/**
|
|
51
|
+
* When true, the component will not be visible.
|
|
52
|
+
*
|
|
53
|
+
* @mdn [hidden](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/hidden)
|
|
54
|
+
*/
|
|
55
|
+
this.hidden = false;
|
|
56
|
+
/**
|
|
57
|
+
* Accessible name that will appear while loading.
|
|
58
|
+
*
|
|
59
|
+
* @default "Loading"
|
|
60
|
+
*/
|
|
61
|
+
this.intlLoading = COMMON_TEXT.loading;
|
|
62
|
+
/** When true, the icon is flipped in RTL. */
|
|
63
|
+
this.iconFlipRtl = false;
|
|
64
|
+
/** When true, the component is in the loading state and `calcite-progress` is displayed. */
|
|
65
|
+
this.loading = false;
|
|
66
|
+
/** Specifies the BCP 47 language tag for the desired language and country format. */
|
|
67
|
+
this.locale = document.documentElement.lang || "en";
|
|
68
|
+
/**
|
|
69
|
+
* Toggles locale formatting for numbers.
|
|
70
|
+
*
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
73
|
+
this.localeFormat = false;
|
|
74
|
+
/** Specifies the placement of the buttons. */
|
|
75
|
+
this.numberButtonType = "vertical";
|
|
76
|
+
/**
|
|
77
|
+
* When true, the value cannot be modified.
|
|
78
|
+
*
|
|
79
|
+
* @mdn [readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)
|
|
80
|
+
*/
|
|
81
|
+
this.readOnly = false;
|
|
82
|
+
/** When true, the component must have a value in order for the form to submit. */
|
|
83
|
+
this.required = false;
|
|
84
|
+
/** Specifies the size of the component. */
|
|
85
|
+
this.scale = "m";
|
|
86
|
+
/** Specifies the status of the input field, which determines message and icons. */
|
|
87
|
+
this.status = "idle";
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
this.editingEnabled = false;
|
|
92
|
+
/** The component's value. */
|
|
93
|
+
this.value = "";
|
|
94
|
+
this.previousValueOrigin = "initial";
|
|
95
|
+
this.mutationObserver = createObserver("mutation", () => this.setDisabledAction());
|
|
96
|
+
this.userChangedValue = false;
|
|
97
|
+
//--------------------------------------------------------------------------
|
|
98
|
+
//
|
|
99
|
+
// Private Methods
|
|
100
|
+
//
|
|
101
|
+
//--------------------------------------------------------------------------
|
|
102
|
+
this.keyDownHandler = (event) => {
|
|
103
|
+
if (this.readOnly || this.disabled) {
|
|
104
|
+
return;
|
|
105
|
+
}
|
|
106
|
+
if (this.isClearable && event.key === "Escape") {
|
|
107
|
+
this.clearInputValue(event);
|
|
108
|
+
event.preventDefault();
|
|
109
|
+
}
|
|
110
|
+
if (event.key === "Enter" && !event.defaultPrevented) {
|
|
111
|
+
submitForm(this);
|
|
112
|
+
}
|
|
113
|
+
};
|
|
114
|
+
this.clearInputValue = (nativeEvent) => {
|
|
115
|
+
this.setNumberValue({
|
|
116
|
+
committing: true,
|
|
117
|
+
nativeEvent,
|
|
118
|
+
origin: "user",
|
|
119
|
+
value: ""
|
|
120
|
+
});
|
|
121
|
+
};
|
|
122
|
+
this.emitChangeIfUserModified = () => {
|
|
123
|
+
if (this.previousValueOrigin === "user" && this.value !== this.previousEmittedValue) {
|
|
124
|
+
this.calciteInputNumberChange.emit();
|
|
125
|
+
}
|
|
126
|
+
this.previousEmittedValue = this.value;
|
|
127
|
+
};
|
|
128
|
+
this.inputNumberBlurHandler = () => {
|
|
129
|
+
this.calciteInternalInputNumberBlur.emit({
|
|
130
|
+
element: this.childNumberEl,
|
|
131
|
+
value: this.value
|
|
132
|
+
});
|
|
133
|
+
this.emitChangeIfUserModified();
|
|
134
|
+
};
|
|
135
|
+
this.inputNumberFocusHandler = (event) => {
|
|
136
|
+
const slottedActionEl = getSlotted(this.el, "action");
|
|
137
|
+
if (event.target !== slottedActionEl) {
|
|
138
|
+
this.setFocus();
|
|
139
|
+
}
|
|
140
|
+
this.calciteInternalInputNumberFocus.emit({
|
|
141
|
+
element: this.childNumberEl,
|
|
142
|
+
value: this.value
|
|
143
|
+
});
|
|
144
|
+
};
|
|
145
|
+
this.inputNumberInputHandler = (nativeEvent) => {
|
|
146
|
+
if (this.disabled || this.readOnly) {
|
|
147
|
+
return;
|
|
148
|
+
}
|
|
149
|
+
const value = nativeEvent.target.value;
|
|
150
|
+
const delocalizedValue = delocalizeNumberString(value, this.locale);
|
|
151
|
+
if (nativeEvent.inputType === "insertFromPaste") {
|
|
152
|
+
if (!isValidNumber(delocalizedValue)) {
|
|
153
|
+
nativeEvent.preventDefault();
|
|
154
|
+
}
|
|
155
|
+
this.setNumberValue({
|
|
156
|
+
nativeEvent,
|
|
157
|
+
origin: "user",
|
|
158
|
+
value: parseNumberString(delocalizedValue)
|
|
159
|
+
});
|
|
160
|
+
this.childNumberEl.value = this.localizedValue;
|
|
161
|
+
}
|
|
162
|
+
else {
|
|
163
|
+
this.setNumberValue({
|
|
164
|
+
nativeEvent,
|
|
165
|
+
origin: "user",
|
|
166
|
+
value: delocalizedValue
|
|
167
|
+
});
|
|
168
|
+
}
|
|
169
|
+
};
|
|
170
|
+
this.inputNumberKeyDownHandler = (event) => {
|
|
171
|
+
if (this.disabled || this.readOnly) {
|
|
172
|
+
return;
|
|
173
|
+
}
|
|
174
|
+
if (event.key === "ArrowUp") {
|
|
175
|
+
/* prevent default behavior of moving cursor to the beginning of the input when holding down ArrowUp */
|
|
176
|
+
event.preventDefault();
|
|
177
|
+
this.nudgeNumberValue("up", event);
|
|
178
|
+
return;
|
|
179
|
+
}
|
|
180
|
+
if (event.key === "ArrowDown") {
|
|
181
|
+
this.nudgeNumberValue("down", event);
|
|
182
|
+
return;
|
|
183
|
+
}
|
|
184
|
+
const supportedKeys = [
|
|
185
|
+
...numberKeys,
|
|
186
|
+
"ArrowLeft",
|
|
187
|
+
"ArrowRight",
|
|
188
|
+
"Backspace",
|
|
189
|
+
"Delete",
|
|
190
|
+
"Enter",
|
|
191
|
+
"Escape",
|
|
192
|
+
"Tab"
|
|
193
|
+
];
|
|
194
|
+
if (event.altKey || event.ctrlKey || event.metaKey) {
|
|
195
|
+
return;
|
|
196
|
+
}
|
|
197
|
+
const isShiftTabEvent = event.shiftKey && event.key === "Tab";
|
|
198
|
+
if (supportedKeys.includes(event.key) && (!event.shiftKey || isShiftTabEvent)) {
|
|
199
|
+
if (event.key === "Enter") {
|
|
200
|
+
this.emitChangeIfUserModified();
|
|
201
|
+
}
|
|
202
|
+
return;
|
|
203
|
+
}
|
|
204
|
+
const decimalSeparator = getDecimalSeparator(this.locale);
|
|
205
|
+
if (event.key === decimalSeparator) {
|
|
206
|
+
if (!this.value && !this.childNumberEl.value) {
|
|
207
|
+
return;
|
|
208
|
+
}
|
|
209
|
+
if (this.value && this.childNumberEl.value.indexOf(decimalSeparator) === -1) {
|
|
210
|
+
return;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
if (/[eE]/.test(event.key)) {
|
|
214
|
+
if (!this.value && !this.childNumberEl.value) {
|
|
215
|
+
return;
|
|
216
|
+
}
|
|
217
|
+
if (this.value && !/[eE]/.test(this.childNumberEl.value)) {
|
|
218
|
+
return;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
if (event.key === "-") {
|
|
222
|
+
if (!this.value && !this.childNumberEl.value) {
|
|
223
|
+
return;
|
|
224
|
+
}
|
|
225
|
+
if (this.value && this.childNumberEl.value.split("-").length <= 2) {
|
|
226
|
+
return;
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
event.preventDefault();
|
|
230
|
+
};
|
|
231
|
+
this.nudgeNumberValue = (direction, nativeEvent) => {
|
|
232
|
+
if (nativeEvent instanceof KeyboardEvent && nativeEvent.repeat) {
|
|
233
|
+
return;
|
|
234
|
+
}
|
|
235
|
+
const inputMax = this.maxString ? parseFloat(this.maxString) : null;
|
|
236
|
+
const inputMin = this.minString ? parseFloat(this.minString) : null;
|
|
237
|
+
const valueNudgeDelayInMs = 100;
|
|
238
|
+
this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent);
|
|
239
|
+
if (this.nudgeNumberValueIntervalId) {
|
|
240
|
+
window.clearInterval(this.nudgeNumberValueIntervalId);
|
|
241
|
+
}
|
|
242
|
+
let firstValueNudge = true;
|
|
243
|
+
this.nudgeNumberValueIntervalId = window.setInterval(() => {
|
|
244
|
+
if (firstValueNudge) {
|
|
245
|
+
firstValueNudge = false;
|
|
246
|
+
return;
|
|
247
|
+
}
|
|
248
|
+
this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent);
|
|
249
|
+
}, valueNudgeDelayInMs);
|
|
250
|
+
};
|
|
251
|
+
this.nudgeButtonPointerUpAndOutHandler = () => {
|
|
252
|
+
window.clearInterval(this.nudgeNumberValueIntervalId);
|
|
253
|
+
};
|
|
254
|
+
this.nudgeButtonPointerDownHandler = (event) => {
|
|
255
|
+
event.preventDefault();
|
|
256
|
+
const direction = event.target.dataset.adjustment;
|
|
257
|
+
if (!this.disabled) {
|
|
258
|
+
this.nudgeNumberValue(direction, event);
|
|
259
|
+
}
|
|
260
|
+
};
|
|
261
|
+
this.setChildNumberElRef = (el) => {
|
|
262
|
+
this.childNumberEl = el;
|
|
263
|
+
};
|
|
264
|
+
this.setInputNumberValue = (newInputValue) => {
|
|
265
|
+
if (!this.childNumberEl) {
|
|
266
|
+
return;
|
|
267
|
+
}
|
|
268
|
+
this.childNumberEl.value = newInputValue;
|
|
269
|
+
};
|
|
270
|
+
this.setPreviousEmittedNumberValue = (newPreviousEmittedValue) => {
|
|
271
|
+
this.previousEmittedValue = isValidNumber(newPreviousEmittedValue)
|
|
272
|
+
? newPreviousEmittedValue
|
|
273
|
+
: "";
|
|
274
|
+
};
|
|
275
|
+
this.setPreviousNumberValue = (newPreviousValue) => {
|
|
276
|
+
this.previousValue = isValidNumber(newPreviousValue) ? newPreviousValue : "";
|
|
277
|
+
};
|
|
278
|
+
this.setNumberValue = ({ committing = false, nativeEvent, origin, previousValue, value }) => {
|
|
279
|
+
const previousLocalizedValue = localizeNumberString(this.previousValue, this.locale, this.groupSeparator, this.numberingSystem);
|
|
280
|
+
const sanitizedValue = sanitizeNumberString(value);
|
|
281
|
+
const newValue = value && !sanitizedValue
|
|
282
|
+
? isValidNumber(this.previousValue)
|
|
283
|
+
? this.previousValue
|
|
284
|
+
: ""
|
|
285
|
+
: sanitizedValue;
|
|
286
|
+
const newLocalizedValue = localizeNumberString(newValue, this.locale, this.groupSeparator, this.numberingSystem);
|
|
287
|
+
this.setPreviousNumberValue(previousValue || this.value);
|
|
288
|
+
this.previousValueOrigin = origin;
|
|
289
|
+
this.userChangedValue = origin === "user" && this.value !== newValue;
|
|
290
|
+
this.value = newValue;
|
|
291
|
+
this.localizedValue = newLocalizedValue;
|
|
292
|
+
if (origin === "direct") {
|
|
293
|
+
this.setInputNumberValue(newLocalizedValue);
|
|
294
|
+
}
|
|
295
|
+
if (nativeEvent) {
|
|
296
|
+
const calciteInputNumberInputEvent = this.calciteInputNumberInput.emit({
|
|
297
|
+
element: this.childNumberEl,
|
|
298
|
+
nativeEvent,
|
|
299
|
+
value: this.value
|
|
300
|
+
});
|
|
301
|
+
if (calciteInputNumberInputEvent.defaultPrevented) {
|
|
302
|
+
this.value = this.previousValue;
|
|
303
|
+
this.localizedValue = previousLocalizedValue;
|
|
304
|
+
}
|
|
305
|
+
else if (committing) {
|
|
306
|
+
this.emitChangeIfUserModified();
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
};
|
|
310
|
+
this.inputNumberKeyUpHandler = () => {
|
|
311
|
+
window.clearInterval(this.nudgeNumberValueIntervalId);
|
|
312
|
+
};
|
|
313
|
+
}
|
|
314
|
+
disabledWatcher() {
|
|
315
|
+
this.setDisabledAction();
|
|
316
|
+
}
|
|
317
|
+
/** watcher to update number-to-string for max */
|
|
318
|
+
maxWatcher() {
|
|
319
|
+
var _a;
|
|
320
|
+
this.maxString = ((_a = this.max) === null || _a === void 0 ? void 0 : _a.toString()) || null;
|
|
321
|
+
}
|
|
322
|
+
/** watcher to update number-to-string for min */
|
|
323
|
+
minWatcher() {
|
|
324
|
+
var _a;
|
|
325
|
+
this.minString = ((_a = this.min) === null || _a === void 0 ? void 0 : _a.toString()) || null;
|
|
326
|
+
}
|
|
327
|
+
valueWatcher(newValue, previousValue) {
|
|
328
|
+
if (!this.userChangedValue) {
|
|
329
|
+
this.setNumberValue({
|
|
330
|
+
origin: "direct",
|
|
331
|
+
previousValue,
|
|
332
|
+
value: newValue == null || newValue == ""
|
|
333
|
+
? ""
|
|
334
|
+
: isValidNumber(newValue)
|
|
335
|
+
? newValue
|
|
336
|
+
: this.previousValue || ""
|
|
337
|
+
});
|
|
338
|
+
this.warnAboutInvalidNumberValue(newValue);
|
|
339
|
+
}
|
|
340
|
+
this.userChangedValue = false;
|
|
341
|
+
}
|
|
342
|
+
updateRequestedIcon() {
|
|
343
|
+
this.requestedIcon = setRequestedIcon({}, this.icon, "number");
|
|
344
|
+
}
|
|
345
|
+
get isClearable() {
|
|
346
|
+
return this.clearable && this.value.length > 0;
|
|
347
|
+
}
|
|
348
|
+
//--------------------------------------------------------------------------
|
|
349
|
+
//
|
|
350
|
+
// Lifecycle
|
|
351
|
+
//
|
|
352
|
+
//--------------------------------------------------------------------------
|
|
353
|
+
connectedCallback() {
|
|
354
|
+
var _a;
|
|
355
|
+
this.scale = getElementProp(this.el, "scale", this.scale);
|
|
356
|
+
this.status = getElementProp(this.el, "status", this.status);
|
|
357
|
+
this.inlineEditableEl = this.el.closest("calcite-inline-editable");
|
|
358
|
+
if (this.inlineEditableEl) {
|
|
359
|
+
this.editingEnabled = this.inlineEditableEl.editingEnabled || false;
|
|
360
|
+
}
|
|
361
|
+
this.setPreviousEmittedNumberValue(this.value);
|
|
362
|
+
this.setPreviousNumberValue(this.value);
|
|
363
|
+
this.warnAboutInvalidNumberValue(this.value);
|
|
364
|
+
this.setNumberValue({
|
|
365
|
+
origin: "connected",
|
|
366
|
+
value: isValidNumber(this.value) ? this.value : ""
|
|
367
|
+
});
|
|
368
|
+
connectLabel(this);
|
|
369
|
+
connectForm(this);
|
|
370
|
+
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true });
|
|
371
|
+
this.setDisabledAction();
|
|
372
|
+
}
|
|
373
|
+
disconnectedCallback() {
|
|
374
|
+
var _a;
|
|
375
|
+
disconnectLabel(this);
|
|
376
|
+
disconnectForm(this);
|
|
377
|
+
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
378
|
+
}
|
|
379
|
+
componentWillLoad() {
|
|
380
|
+
var _a, _b;
|
|
381
|
+
this.maxString = (_a = this.max) === null || _a === void 0 ? void 0 : _a.toString();
|
|
382
|
+
this.minString = (_b = this.min) === null || _b === void 0 ? void 0 : _b.toString();
|
|
383
|
+
this.requestedIcon = setRequestedIcon({}, this.icon, "number");
|
|
384
|
+
}
|
|
385
|
+
componentShouldUpdate(newValue, oldValue, property) {
|
|
386
|
+
if (property === "value" && newValue && !isValidNumber(newValue)) {
|
|
387
|
+
this.setNumberValue({
|
|
388
|
+
origin: "reset",
|
|
389
|
+
value: oldValue
|
|
390
|
+
});
|
|
391
|
+
return false;
|
|
392
|
+
}
|
|
393
|
+
return true;
|
|
394
|
+
}
|
|
395
|
+
componentDidRender() {
|
|
396
|
+
updateHostInteraction(this);
|
|
397
|
+
}
|
|
398
|
+
//--------------------------------------------------------------------------
|
|
399
|
+
//
|
|
400
|
+
// Public Methods
|
|
401
|
+
//
|
|
402
|
+
//--------------------------------------------------------------------------
|
|
403
|
+
/** Sets focus on the component. */
|
|
404
|
+
async setFocus() {
|
|
405
|
+
var _a;
|
|
406
|
+
(_a = this.childNumberEl) === null || _a === void 0 ? void 0 : _a.focus();
|
|
407
|
+
}
|
|
408
|
+
/** Selects all text of the component's `value`. */
|
|
409
|
+
async selectText() {
|
|
410
|
+
var _a;
|
|
411
|
+
(_a = this.childNumberEl) === null || _a === void 0 ? void 0 : _a.select();
|
|
412
|
+
}
|
|
413
|
+
onLabelClick() {
|
|
414
|
+
this.setFocus();
|
|
415
|
+
}
|
|
416
|
+
incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent) {
|
|
417
|
+
const { value } = this;
|
|
418
|
+
const inputStep = this.step === "any" ? 1 : Math.abs(this.step || 1);
|
|
419
|
+
const inputVal = value && value !== "" ? parseFloat(value) : 0;
|
|
420
|
+
const adjustment = direction === "up" ? 1 : -1;
|
|
421
|
+
const nudgedValue = inputVal + inputStep * adjustment;
|
|
422
|
+
const finalValue = (typeof inputMin === "number" && !isNaN(inputMin) && nudgedValue < inputMin) ||
|
|
423
|
+
(typeof inputMax === "number" && !isNaN(inputMax) && nudgedValue > inputMax)
|
|
424
|
+
? inputVal
|
|
425
|
+
: nudgedValue;
|
|
426
|
+
const inputValPlaces = decimalPlaces(inputVal);
|
|
427
|
+
const inputStepPlaces = decimalPlaces(inputStep);
|
|
428
|
+
this.setNumberValue({
|
|
429
|
+
committing: true,
|
|
430
|
+
nativeEvent,
|
|
431
|
+
origin: "user",
|
|
432
|
+
value: finalValue.toFixed(Math.max(inputValPlaces, inputStepPlaces))
|
|
433
|
+
});
|
|
434
|
+
}
|
|
435
|
+
onFormReset() {
|
|
436
|
+
this.setNumberValue({
|
|
437
|
+
origin: "reset",
|
|
438
|
+
value: this.defaultValue
|
|
439
|
+
});
|
|
440
|
+
}
|
|
441
|
+
syncHiddenFormInput(input) {
|
|
442
|
+
var _a, _b, _c, _d;
|
|
443
|
+
input.type = "number";
|
|
444
|
+
input.min = (_b = (_a = this.min) === null || _a === void 0 ? void 0 : _a.toString(10)) !== null && _b !== void 0 ? _b : "";
|
|
445
|
+
input.max = (_d = (_c = this.max) === null || _c === void 0 ? void 0 : _c.toString(10)) !== null && _d !== void 0 ? _d : "";
|
|
446
|
+
}
|
|
447
|
+
setDisabledAction() {
|
|
448
|
+
const slottedActionEl = getSlotted(this.el, "action");
|
|
449
|
+
if (!slottedActionEl) {
|
|
450
|
+
return;
|
|
451
|
+
}
|
|
452
|
+
this.disabled
|
|
453
|
+
? slottedActionEl.setAttribute("disabled", "")
|
|
454
|
+
: slottedActionEl.removeAttribute("disabled");
|
|
455
|
+
}
|
|
456
|
+
warnAboutInvalidNumberValue(value) {
|
|
457
|
+
if (value && !isValidNumber(value)) {
|
|
458
|
+
console.warn(`The specified value "${value}" cannot be parsed, or is out of range.`);
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
// --------------------------------------------------------------------------
|
|
462
|
+
//
|
|
463
|
+
// Render Methods
|
|
464
|
+
//
|
|
465
|
+
// --------------------------------------------------------------------------
|
|
466
|
+
render() {
|
|
467
|
+
const dir = getElementDir(this.el);
|
|
468
|
+
const loader = (h("div", { class: CSS.loader },
|
|
469
|
+
h("calcite-progress", { label: this.intlLoading, type: "indeterminate" })));
|
|
470
|
+
const inputClearButton = (h("button", { "aria-label": this.intlClear || TEXT.clear, class: CSS.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: this.disabled ? -1 : 0, type: "button" },
|
|
471
|
+
h("calcite-icon", { icon: "x", scale: "s" })));
|
|
472
|
+
const iconEl = (h("calcite-icon", { class: CSS.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: "s" }));
|
|
473
|
+
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
474
|
+
const numberButtonsHorizontalUp = (h("button", { class: {
|
|
475
|
+
[CSS.numberButtonItem]: true,
|
|
476
|
+
[CSS.buttonItemHorizontal]: isHorizontalNumberButton
|
|
477
|
+
}, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" },
|
|
478
|
+
h("calcite-icon", { icon: "chevron-up", scale: "s" })));
|
|
479
|
+
const numberButtonsHorizontalDown = (h("button", { class: {
|
|
480
|
+
[CSS.numberButtonItem]: true,
|
|
481
|
+
[CSS.buttonItemHorizontal]: isHorizontalNumberButton
|
|
482
|
+
}, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" },
|
|
483
|
+
h("calcite-icon", { icon: "chevron-down", scale: "s" })));
|
|
484
|
+
const numberButtonsVertical = (h("div", { class: CSS.numberButtonWrapper },
|
|
485
|
+
numberButtonsHorizontalUp,
|
|
486
|
+
numberButtonsHorizontalDown));
|
|
487
|
+
const prefixText = h("div", { class: CSS.prefix }, this.prefixText);
|
|
488
|
+
const suffixText = h("div", { class: CSS.suffix }, this.suffixText);
|
|
489
|
+
const childEl = (h("input", { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, inputMode: this.el.inputMode, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, name: undefined, onBlur: this.inputNumberBlurHandler, onFocus: this.inputNumberFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputNumberKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildNumberElRef, type: "text", value: this.localizedValue }));
|
|
490
|
+
return (h(Host, { onClick: this.inputNumberFocusHandler, onKeyDown: this.keyDownHandler },
|
|
491
|
+
h("div", { class: { [CSS.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } },
|
|
492
|
+
this.numberButtonType === "horizontal" && !this.readOnly
|
|
493
|
+
? numberButtonsHorizontalDown
|
|
494
|
+
: null,
|
|
495
|
+
this.prefixText ? prefixText : null,
|
|
496
|
+
h("div", { class: CSS.wrapper },
|
|
497
|
+
childEl,
|
|
498
|
+
this.isClearable ? inputClearButton : null,
|
|
499
|
+
this.requestedIcon ? iconEl : null,
|
|
500
|
+
this.loading ? loader : null),
|
|
501
|
+
h("div", { class: CSS.actionWrapper },
|
|
502
|
+
h("slot", { name: SLOTS.action })),
|
|
503
|
+
this.numberButtonType === "vertical" && !this.readOnly ? numberButtonsVertical : null,
|
|
504
|
+
this.suffixText ? suffixText : null,
|
|
505
|
+
this.numberButtonType === "horizontal" && !this.readOnly
|
|
506
|
+
? numberButtonsHorizontalUp
|
|
507
|
+
: null,
|
|
508
|
+
h(HiddenFormInputSlot, { component: this }))));
|
|
509
|
+
}
|
|
510
|
+
static get is() { return "calcite-input-number"; }
|
|
511
|
+
static get encapsulation() { return "shadow"; }
|
|
512
|
+
static get originalStyleUrls() { return {
|
|
513
|
+
"$": ["input-number.scss"]
|
|
514
|
+
}; }
|
|
515
|
+
static get styleUrls() { return {
|
|
516
|
+
"$": ["input-number.css"]
|
|
517
|
+
}; }
|
|
518
|
+
static get properties() { return {
|
|
519
|
+
"alignment": {
|
|
520
|
+
"type": "string",
|
|
521
|
+
"mutable": false,
|
|
522
|
+
"complexType": {
|
|
523
|
+
"original": "Position",
|
|
524
|
+
"resolved": "\"end\" | \"start\"",
|
|
525
|
+
"references": {
|
|
526
|
+
"Position": {
|
|
527
|
+
"location": "import",
|
|
528
|
+
"path": "../interfaces"
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
},
|
|
532
|
+
"required": false,
|
|
533
|
+
"optional": false,
|
|
534
|
+
"docs": {
|
|
535
|
+
"tags": [],
|
|
536
|
+
"text": "Specifies the text alignment of the component's value."
|
|
537
|
+
},
|
|
538
|
+
"attribute": "alignment",
|
|
539
|
+
"reflect": true,
|
|
540
|
+
"defaultValue": "\"start\""
|
|
541
|
+
},
|
|
542
|
+
"autofocus": {
|
|
543
|
+
"type": "boolean",
|
|
544
|
+
"mutable": false,
|
|
545
|
+
"complexType": {
|
|
546
|
+
"original": "boolean",
|
|
547
|
+
"resolved": "boolean",
|
|
548
|
+
"references": {}
|
|
549
|
+
},
|
|
550
|
+
"required": false,
|
|
551
|
+
"optional": false,
|
|
552
|
+
"docs": {
|
|
553
|
+
"tags": [{
|
|
554
|
+
"name": "mdn",
|
|
555
|
+
"text": "[autofocus](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)"
|
|
556
|
+
}],
|
|
557
|
+
"text": "When true, the component is focused on page load."
|
|
558
|
+
},
|
|
559
|
+
"attribute": "autofocus",
|
|
560
|
+
"reflect": false,
|
|
561
|
+
"defaultValue": "false"
|
|
562
|
+
},
|
|
563
|
+
"clearable": {
|
|
564
|
+
"type": "boolean",
|
|
565
|
+
"mutable": false,
|
|
566
|
+
"complexType": {
|
|
567
|
+
"original": "boolean",
|
|
568
|
+
"resolved": "boolean",
|
|
569
|
+
"references": {}
|
|
570
|
+
},
|
|
571
|
+
"required": false,
|
|
572
|
+
"optional": false,
|
|
573
|
+
"docs": {
|
|
574
|
+
"tags": [],
|
|
575
|
+
"text": "When true, a clear button is displayed when the component has a value."
|
|
576
|
+
},
|
|
577
|
+
"attribute": "clearable",
|
|
578
|
+
"reflect": true,
|
|
579
|
+
"defaultValue": "false"
|
|
580
|
+
},
|
|
581
|
+
"disabled": {
|
|
582
|
+
"type": "boolean",
|
|
583
|
+
"mutable": false,
|
|
584
|
+
"complexType": {
|
|
585
|
+
"original": "boolean",
|
|
586
|
+
"resolved": "boolean",
|
|
587
|
+
"references": {}
|
|
588
|
+
},
|
|
589
|
+
"required": false,
|
|
590
|
+
"optional": false,
|
|
591
|
+
"docs": {
|
|
592
|
+
"tags": [{
|
|
593
|
+
"name": "mdn",
|
|
594
|
+
"text": "[disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)"
|
|
595
|
+
}],
|
|
596
|
+
"text": "When true, interaction is prevented and the component is displayed with lower opacity."
|
|
597
|
+
},
|
|
598
|
+
"attribute": "disabled",
|
|
599
|
+
"reflect": true,
|
|
600
|
+
"defaultValue": "false"
|
|
601
|
+
},
|
|
602
|
+
"groupSeparator": {
|
|
603
|
+
"type": "boolean",
|
|
604
|
+
"mutable": false,
|
|
605
|
+
"complexType": {
|
|
606
|
+
"original": "boolean",
|
|
607
|
+
"resolved": "boolean",
|
|
608
|
+
"references": {}
|
|
609
|
+
},
|
|
610
|
+
"required": false,
|
|
611
|
+
"optional": false,
|
|
612
|
+
"docs": {
|
|
613
|
+
"tags": [],
|
|
614
|
+
"text": "When true, number values are displayed with the locale's group separator."
|
|
615
|
+
},
|
|
616
|
+
"attribute": "group-separator",
|
|
617
|
+
"reflect": false,
|
|
618
|
+
"defaultValue": "false"
|
|
619
|
+
},
|
|
620
|
+
"hidden": {
|
|
621
|
+
"type": "boolean",
|
|
622
|
+
"mutable": false,
|
|
623
|
+
"complexType": {
|
|
624
|
+
"original": "boolean",
|
|
625
|
+
"resolved": "boolean",
|
|
626
|
+
"references": {}
|
|
627
|
+
},
|
|
628
|
+
"required": false,
|
|
629
|
+
"optional": false,
|
|
630
|
+
"docs": {
|
|
631
|
+
"tags": [{
|
|
632
|
+
"name": "mdn",
|
|
633
|
+
"text": "[hidden](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/hidden)"
|
|
634
|
+
}],
|
|
635
|
+
"text": "When true, the component will not be visible."
|
|
636
|
+
},
|
|
637
|
+
"attribute": "hidden",
|
|
638
|
+
"reflect": false,
|
|
639
|
+
"defaultValue": "false"
|
|
640
|
+
},
|
|
641
|
+
"icon": {
|
|
642
|
+
"type": "any",
|
|
643
|
+
"mutable": false,
|
|
644
|
+
"complexType": {
|
|
645
|
+
"original": "string | boolean",
|
|
646
|
+
"resolved": "boolean | string",
|
|
647
|
+
"references": {}
|
|
648
|
+
},
|
|
649
|
+
"required": false,
|
|
650
|
+
"optional": false,
|
|
651
|
+
"docs": {
|
|
652
|
+
"tags": [],
|
|
653
|
+
"text": "When true, shows a default recommended icon. Alternatively, pass a Calcite UI Icon name to display a specific icon."
|
|
654
|
+
},
|
|
655
|
+
"attribute": "icon",
|
|
656
|
+
"reflect": true
|
|
657
|
+
},
|
|
658
|
+
"intlClear": {
|
|
659
|
+
"type": "string",
|
|
660
|
+
"mutable": false,
|
|
661
|
+
"complexType": {
|
|
662
|
+
"original": "string",
|
|
663
|
+
"resolved": "string",
|
|
664
|
+
"references": {}
|
|
665
|
+
},
|
|
666
|
+
"required": false,
|
|
667
|
+
"optional": true,
|
|
668
|
+
"docs": {
|
|
669
|
+
"tags": [],
|
|
670
|
+
"text": "A text label that will appear on the clear button for screen readers."
|
|
671
|
+
},
|
|
672
|
+
"attribute": "intl-clear",
|
|
673
|
+
"reflect": false
|
|
674
|
+
},
|
|
675
|
+
"intlLoading": {
|
|
676
|
+
"type": "string",
|
|
677
|
+
"mutable": false,
|
|
678
|
+
"complexType": {
|
|
679
|
+
"original": "string",
|
|
680
|
+
"resolved": "string",
|
|
681
|
+
"references": {}
|
|
682
|
+
},
|
|
683
|
+
"required": false,
|
|
684
|
+
"optional": true,
|
|
685
|
+
"docs": {
|
|
686
|
+
"tags": [{
|
|
687
|
+
"name": "default",
|
|
688
|
+
"text": "\"Loading\""
|
|
689
|
+
}],
|
|
690
|
+
"text": "Accessible name that will appear while loading."
|
|
691
|
+
},
|
|
692
|
+
"attribute": "intl-loading",
|
|
693
|
+
"reflect": false,
|
|
694
|
+
"defaultValue": "COMMON_TEXT.loading"
|
|
695
|
+
},
|
|
696
|
+
"iconFlipRtl": {
|
|
697
|
+
"type": "boolean",
|
|
698
|
+
"mutable": false,
|
|
699
|
+
"complexType": {
|
|
700
|
+
"original": "boolean",
|
|
701
|
+
"resolved": "boolean",
|
|
702
|
+
"references": {}
|
|
703
|
+
},
|
|
704
|
+
"required": false,
|
|
705
|
+
"optional": false,
|
|
706
|
+
"docs": {
|
|
707
|
+
"tags": [],
|
|
708
|
+
"text": "When true, the icon is flipped in RTL."
|
|
709
|
+
},
|
|
710
|
+
"attribute": "icon-flip-rtl",
|
|
711
|
+
"reflect": true,
|
|
712
|
+
"defaultValue": "false"
|
|
713
|
+
},
|
|
714
|
+
"label": {
|
|
715
|
+
"type": "string",
|
|
716
|
+
"mutable": false,
|
|
717
|
+
"complexType": {
|
|
718
|
+
"original": "string",
|
|
719
|
+
"resolved": "string",
|
|
720
|
+
"references": {}
|
|
721
|
+
},
|
|
722
|
+
"required": false,
|
|
723
|
+
"optional": true,
|
|
724
|
+
"docs": {
|
|
725
|
+
"tags": [],
|
|
726
|
+
"text": "Accessible name for the component's button or hyperlink."
|
|
727
|
+
},
|
|
728
|
+
"attribute": "label",
|
|
729
|
+
"reflect": false
|
|
730
|
+
},
|
|
731
|
+
"loading": {
|
|
732
|
+
"type": "boolean",
|
|
733
|
+
"mutable": false,
|
|
734
|
+
"complexType": {
|
|
735
|
+
"original": "boolean",
|
|
736
|
+
"resolved": "boolean",
|
|
737
|
+
"references": {}
|
|
738
|
+
},
|
|
739
|
+
"required": false,
|
|
740
|
+
"optional": false,
|
|
741
|
+
"docs": {
|
|
742
|
+
"tags": [],
|
|
743
|
+
"text": "When true, the component is in the loading state and `calcite-progress` is displayed."
|
|
744
|
+
},
|
|
745
|
+
"attribute": "loading",
|
|
746
|
+
"reflect": true,
|
|
747
|
+
"defaultValue": "false"
|
|
748
|
+
},
|
|
749
|
+
"locale": {
|
|
750
|
+
"type": "string",
|
|
751
|
+
"mutable": false,
|
|
752
|
+
"complexType": {
|
|
753
|
+
"original": "string",
|
|
754
|
+
"resolved": "string",
|
|
755
|
+
"references": {}
|
|
756
|
+
},
|
|
757
|
+
"required": false,
|
|
758
|
+
"optional": false,
|
|
759
|
+
"docs": {
|
|
760
|
+
"tags": [],
|
|
761
|
+
"text": "Specifies the BCP 47 language tag for the desired language and country format."
|
|
762
|
+
},
|
|
763
|
+
"attribute": "locale",
|
|
764
|
+
"reflect": false,
|
|
765
|
+
"defaultValue": "document.documentElement.lang || \"en\""
|
|
766
|
+
},
|
|
767
|
+
"numberingSystem": {
|
|
768
|
+
"type": "string",
|
|
769
|
+
"mutable": false,
|
|
770
|
+
"complexType": {
|
|
771
|
+
"original": "string",
|
|
772
|
+
"resolved": "string",
|
|
773
|
+
"references": {}
|
|
774
|
+
},
|
|
775
|
+
"required": false,
|
|
776
|
+
"optional": true,
|
|
777
|
+
"docs": {
|
|
778
|
+
"tags": [{
|
|
779
|
+
"name": "mdn",
|
|
780
|
+
"text": "[numberingSystem](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/numberingSystem)"
|
|
781
|
+
}],
|
|
782
|
+
"text": "Specifies the Unicode numeral system used by the component for localization."
|
|
783
|
+
},
|
|
784
|
+
"attribute": "numbering-system",
|
|
785
|
+
"reflect": false
|
|
786
|
+
},
|
|
787
|
+
"localeFormat": {
|
|
788
|
+
"type": "boolean",
|
|
789
|
+
"mutable": false,
|
|
790
|
+
"complexType": {
|
|
791
|
+
"original": "boolean",
|
|
792
|
+
"resolved": "boolean",
|
|
793
|
+
"references": {}
|
|
794
|
+
},
|
|
795
|
+
"required": false,
|
|
796
|
+
"optional": false,
|
|
797
|
+
"docs": {
|
|
798
|
+
"tags": [{
|
|
799
|
+
"name": "internal",
|
|
800
|
+
"text": undefined
|
|
801
|
+
}],
|
|
802
|
+
"text": "Toggles locale formatting for numbers."
|
|
803
|
+
},
|
|
804
|
+
"attribute": "locale-format",
|
|
805
|
+
"reflect": false,
|
|
806
|
+
"defaultValue": "false"
|
|
807
|
+
},
|
|
808
|
+
"max": {
|
|
809
|
+
"type": "number",
|
|
810
|
+
"mutable": false,
|
|
811
|
+
"complexType": {
|
|
812
|
+
"original": "number",
|
|
813
|
+
"resolved": "number",
|
|
814
|
+
"references": {}
|
|
815
|
+
},
|
|
816
|
+
"required": false,
|
|
817
|
+
"optional": true,
|
|
818
|
+
"docs": {
|
|
819
|
+
"tags": [{
|
|
820
|
+
"name": "mdn",
|
|
821
|
+
"text": "[max](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#max)"
|
|
822
|
+
}],
|
|
823
|
+
"text": "Specifies the maximum value."
|
|
824
|
+
},
|
|
825
|
+
"attribute": "max",
|
|
826
|
+
"reflect": true
|
|
827
|
+
},
|
|
828
|
+
"min": {
|
|
829
|
+
"type": "number",
|
|
830
|
+
"mutable": false,
|
|
831
|
+
"complexType": {
|
|
832
|
+
"original": "number",
|
|
833
|
+
"resolved": "number",
|
|
834
|
+
"references": {}
|
|
835
|
+
},
|
|
836
|
+
"required": false,
|
|
837
|
+
"optional": true,
|
|
838
|
+
"docs": {
|
|
839
|
+
"tags": [{
|
|
840
|
+
"name": "mdn",
|
|
841
|
+
"text": "[min](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#min)"
|
|
842
|
+
}],
|
|
843
|
+
"text": "Specifies the minimum value."
|
|
844
|
+
},
|
|
845
|
+
"attribute": "min",
|
|
846
|
+
"reflect": true
|
|
847
|
+
},
|
|
848
|
+
"maxLength": {
|
|
849
|
+
"type": "number",
|
|
850
|
+
"mutable": false,
|
|
851
|
+
"complexType": {
|
|
852
|
+
"original": "number",
|
|
853
|
+
"resolved": "number",
|
|
854
|
+
"references": {}
|
|
855
|
+
},
|
|
856
|
+
"required": false,
|
|
857
|
+
"optional": true,
|
|
858
|
+
"docs": {
|
|
859
|
+
"tags": [{
|
|
860
|
+
"name": "mdn",
|
|
861
|
+
"text": "[maxlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#maxlength)"
|
|
862
|
+
}],
|
|
863
|
+
"text": "Specifies the maximum length of text for the component's value."
|
|
864
|
+
},
|
|
865
|
+
"attribute": "max-length",
|
|
866
|
+
"reflect": true
|
|
867
|
+
},
|
|
868
|
+
"minLength": {
|
|
869
|
+
"type": "number",
|
|
870
|
+
"mutable": false,
|
|
871
|
+
"complexType": {
|
|
872
|
+
"original": "number",
|
|
873
|
+
"resolved": "number",
|
|
874
|
+
"references": {}
|
|
875
|
+
},
|
|
876
|
+
"required": false,
|
|
877
|
+
"optional": true,
|
|
878
|
+
"docs": {
|
|
879
|
+
"tags": [{
|
|
880
|
+
"name": "mdn",
|
|
881
|
+
"text": "[minlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#minlength)"
|
|
882
|
+
}],
|
|
883
|
+
"text": "Specifies the minimum length of text for the component's value."
|
|
884
|
+
},
|
|
885
|
+
"attribute": "min-length",
|
|
886
|
+
"reflect": true
|
|
887
|
+
},
|
|
888
|
+
"name": {
|
|
889
|
+
"type": "string",
|
|
890
|
+
"mutable": false,
|
|
891
|
+
"complexType": {
|
|
892
|
+
"original": "string",
|
|
893
|
+
"resolved": "string",
|
|
894
|
+
"references": {}
|
|
895
|
+
},
|
|
896
|
+
"required": false,
|
|
897
|
+
"optional": false,
|
|
898
|
+
"docs": {
|
|
899
|
+
"tags": [{
|
|
900
|
+
"name": "mdn",
|
|
901
|
+
"text": "[name](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#name)"
|
|
902
|
+
}],
|
|
903
|
+
"text": "Specifies the name of the component."
|
|
904
|
+
},
|
|
905
|
+
"attribute": "name",
|
|
906
|
+
"reflect": true
|
|
907
|
+
},
|
|
908
|
+
"numberButtonType": {
|
|
909
|
+
"type": "string",
|
|
910
|
+
"mutable": false,
|
|
911
|
+
"complexType": {
|
|
912
|
+
"original": "InputPlacement",
|
|
913
|
+
"resolved": "\"horizontal\" | \"none\" | \"vertical\"",
|
|
914
|
+
"references": {
|
|
915
|
+
"InputPlacement": {
|
|
916
|
+
"location": "import",
|
|
917
|
+
"path": "./interfaces"
|
|
918
|
+
}
|
|
919
|
+
}
|
|
920
|
+
},
|
|
921
|
+
"required": false,
|
|
922
|
+
"optional": true,
|
|
923
|
+
"docs": {
|
|
924
|
+
"tags": [],
|
|
925
|
+
"text": "Specifies the placement of the buttons."
|
|
926
|
+
},
|
|
927
|
+
"attribute": "number-button-type",
|
|
928
|
+
"reflect": true,
|
|
929
|
+
"defaultValue": "\"vertical\""
|
|
930
|
+
},
|
|
931
|
+
"placeholder": {
|
|
932
|
+
"type": "string",
|
|
933
|
+
"mutable": false,
|
|
934
|
+
"complexType": {
|
|
935
|
+
"original": "string",
|
|
936
|
+
"resolved": "string",
|
|
937
|
+
"references": {}
|
|
938
|
+
},
|
|
939
|
+
"required": false,
|
|
940
|
+
"optional": false,
|
|
941
|
+
"docs": {
|
|
942
|
+
"tags": [{
|
|
943
|
+
"name": "mdn",
|
|
944
|
+
"text": "[placeholder](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#placeholder)"
|
|
945
|
+
}],
|
|
946
|
+
"text": "Specifies placeholder text for the component."
|
|
947
|
+
},
|
|
948
|
+
"attribute": "placeholder",
|
|
949
|
+
"reflect": false
|
|
950
|
+
},
|
|
951
|
+
"prefixText": {
|
|
952
|
+
"type": "string",
|
|
953
|
+
"mutable": false,
|
|
954
|
+
"complexType": {
|
|
955
|
+
"original": "string",
|
|
956
|
+
"resolved": "string",
|
|
957
|
+
"references": {}
|
|
958
|
+
},
|
|
959
|
+
"required": false,
|
|
960
|
+
"optional": true,
|
|
961
|
+
"docs": {
|
|
962
|
+
"tags": [],
|
|
963
|
+
"text": "Adds text to the start of the component."
|
|
964
|
+
},
|
|
965
|
+
"attribute": "prefix-text",
|
|
966
|
+
"reflect": false
|
|
967
|
+
},
|
|
968
|
+
"readOnly": {
|
|
969
|
+
"type": "boolean",
|
|
970
|
+
"mutable": false,
|
|
971
|
+
"complexType": {
|
|
972
|
+
"original": "boolean",
|
|
973
|
+
"resolved": "boolean",
|
|
974
|
+
"references": {}
|
|
975
|
+
},
|
|
976
|
+
"required": false,
|
|
977
|
+
"optional": false,
|
|
978
|
+
"docs": {
|
|
979
|
+
"tags": [{
|
|
980
|
+
"name": "mdn",
|
|
981
|
+
"text": "[readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)"
|
|
982
|
+
}],
|
|
983
|
+
"text": "When true, the value cannot be modified."
|
|
984
|
+
},
|
|
985
|
+
"attribute": "read-only",
|
|
986
|
+
"reflect": false,
|
|
987
|
+
"defaultValue": "false"
|
|
988
|
+
},
|
|
989
|
+
"required": {
|
|
990
|
+
"type": "boolean",
|
|
991
|
+
"mutable": false,
|
|
992
|
+
"complexType": {
|
|
993
|
+
"original": "boolean",
|
|
994
|
+
"resolved": "boolean",
|
|
995
|
+
"references": {}
|
|
996
|
+
},
|
|
997
|
+
"required": false,
|
|
998
|
+
"optional": false,
|
|
999
|
+
"docs": {
|
|
1000
|
+
"tags": [],
|
|
1001
|
+
"text": "When true, the component must have a value in order for the form to submit."
|
|
1002
|
+
},
|
|
1003
|
+
"attribute": "required",
|
|
1004
|
+
"reflect": false,
|
|
1005
|
+
"defaultValue": "false"
|
|
1006
|
+
},
|
|
1007
|
+
"scale": {
|
|
1008
|
+
"type": "string",
|
|
1009
|
+
"mutable": true,
|
|
1010
|
+
"complexType": {
|
|
1011
|
+
"original": "Scale",
|
|
1012
|
+
"resolved": "\"l\" | \"m\" | \"s\"",
|
|
1013
|
+
"references": {
|
|
1014
|
+
"Scale": {
|
|
1015
|
+
"location": "import",
|
|
1016
|
+
"path": "../interfaces"
|
|
1017
|
+
}
|
|
1018
|
+
}
|
|
1019
|
+
},
|
|
1020
|
+
"required": false,
|
|
1021
|
+
"optional": false,
|
|
1022
|
+
"docs": {
|
|
1023
|
+
"tags": [],
|
|
1024
|
+
"text": "Specifies the size of the component."
|
|
1025
|
+
},
|
|
1026
|
+
"attribute": "scale",
|
|
1027
|
+
"reflect": true,
|
|
1028
|
+
"defaultValue": "\"m\""
|
|
1029
|
+
},
|
|
1030
|
+
"status": {
|
|
1031
|
+
"type": "string",
|
|
1032
|
+
"mutable": true,
|
|
1033
|
+
"complexType": {
|
|
1034
|
+
"original": "Status",
|
|
1035
|
+
"resolved": "\"idle\" | \"invalid\" | \"valid\"",
|
|
1036
|
+
"references": {
|
|
1037
|
+
"Status": {
|
|
1038
|
+
"location": "import",
|
|
1039
|
+
"path": "../interfaces"
|
|
1040
|
+
}
|
|
1041
|
+
}
|
|
1042
|
+
},
|
|
1043
|
+
"required": false,
|
|
1044
|
+
"optional": false,
|
|
1045
|
+
"docs": {
|
|
1046
|
+
"tags": [],
|
|
1047
|
+
"text": "Specifies the status of the input field, which determines message and icons."
|
|
1048
|
+
},
|
|
1049
|
+
"attribute": "status",
|
|
1050
|
+
"reflect": true,
|
|
1051
|
+
"defaultValue": "\"idle\""
|
|
1052
|
+
},
|
|
1053
|
+
"step": {
|
|
1054
|
+
"type": "any",
|
|
1055
|
+
"mutable": false,
|
|
1056
|
+
"complexType": {
|
|
1057
|
+
"original": "number | \"any\"",
|
|
1058
|
+
"resolved": "\"any\" | number",
|
|
1059
|
+
"references": {}
|
|
1060
|
+
},
|
|
1061
|
+
"required": false,
|
|
1062
|
+
"optional": true,
|
|
1063
|
+
"docs": {
|
|
1064
|
+
"tags": [{
|
|
1065
|
+
"name": "mdn",
|
|
1066
|
+
"text": "[step](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/step)"
|
|
1067
|
+
}],
|
|
1068
|
+
"text": "Specifies the granularity that the component's value must adhere to."
|
|
1069
|
+
},
|
|
1070
|
+
"attribute": "step",
|
|
1071
|
+
"reflect": true
|
|
1072
|
+
},
|
|
1073
|
+
"suffixText": {
|
|
1074
|
+
"type": "string",
|
|
1075
|
+
"mutable": false,
|
|
1076
|
+
"complexType": {
|
|
1077
|
+
"original": "string",
|
|
1078
|
+
"resolved": "string",
|
|
1079
|
+
"references": {}
|
|
1080
|
+
},
|
|
1081
|
+
"required": false,
|
|
1082
|
+
"optional": true,
|
|
1083
|
+
"docs": {
|
|
1084
|
+
"tags": [],
|
|
1085
|
+
"text": "Adds text to the end of the component."
|
|
1086
|
+
},
|
|
1087
|
+
"attribute": "suffix-text",
|
|
1088
|
+
"reflect": false
|
|
1089
|
+
},
|
|
1090
|
+
"editingEnabled": {
|
|
1091
|
+
"type": "boolean",
|
|
1092
|
+
"mutable": true,
|
|
1093
|
+
"complexType": {
|
|
1094
|
+
"original": "boolean",
|
|
1095
|
+
"resolved": "boolean",
|
|
1096
|
+
"references": {}
|
|
1097
|
+
},
|
|
1098
|
+
"required": false,
|
|
1099
|
+
"optional": false,
|
|
1100
|
+
"docs": {
|
|
1101
|
+
"tags": [{
|
|
1102
|
+
"name": "internal",
|
|
1103
|
+
"text": undefined
|
|
1104
|
+
}],
|
|
1105
|
+
"text": ""
|
|
1106
|
+
},
|
|
1107
|
+
"attribute": "editing-enabled",
|
|
1108
|
+
"reflect": true,
|
|
1109
|
+
"defaultValue": "false"
|
|
1110
|
+
},
|
|
1111
|
+
"value": {
|
|
1112
|
+
"type": "string",
|
|
1113
|
+
"mutable": true,
|
|
1114
|
+
"complexType": {
|
|
1115
|
+
"original": "string",
|
|
1116
|
+
"resolved": "string",
|
|
1117
|
+
"references": {}
|
|
1118
|
+
},
|
|
1119
|
+
"required": false,
|
|
1120
|
+
"optional": false,
|
|
1121
|
+
"docs": {
|
|
1122
|
+
"tags": [],
|
|
1123
|
+
"text": "The component's value."
|
|
1124
|
+
},
|
|
1125
|
+
"attribute": "value",
|
|
1126
|
+
"reflect": false,
|
|
1127
|
+
"defaultValue": "\"\""
|
|
1128
|
+
}
|
|
1129
|
+
}; }
|
|
1130
|
+
static get states() { return {
|
|
1131
|
+
"localizedValue": {}
|
|
1132
|
+
}; }
|
|
1133
|
+
static get events() { return [{
|
|
1134
|
+
"method": "calciteInternalInputNumberFocus",
|
|
1135
|
+
"name": "calciteInternalInputNumberFocus",
|
|
1136
|
+
"bubbles": true,
|
|
1137
|
+
"cancelable": true,
|
|
1138
|
+
"composed": true,
|
|
1139
|
+
"docs": {
|
|
1140
|
+
"tags": [{
|
|
1141
|
+
"name": "internal",
|
|
1142
|
+
"text": undefined
|
|
1143
|
+
}],
|
|
1144
|
+
"text": ""
|
|
1145
|
+
},
|
|
1146
|
+
"complexType": {
|
|
1147
|
+
"original": "any",
|
|
1148
|
+
"resolved": "any",
|
|
1149
|
+
"references": {}
|
|
1150
|
+
}
|
|
1151
|
+
}, {
|
|
1152
|
+
"method": "calciteInternalInputNumberBlur",
|
|
1153
|
+
"name": "calciteInternalInputNumberBlur",
|
|
1154
|
+
"bubbles": true,
|
|
1155
|
+
"cancelable": true,
|
|
1156
|
+
"composed": true,
|
|
1157
|
+
"docs": {
|
|
1158
|
+
"tags": [{
|
|
1159
|
+
"name": "internal",
|
|
1160
|
+
"text": undefined
|
|
1161
|
+
}],
|
|
1162
|
+
"text": ""
|
|
1163
|
+
},
|
|
1164
|
+
"complexType": {
|
|
1165
|
+
"original": "any",
|
|
1166
|
+
"resolved": "any",
|
|
1167
|
+
"references": {}
|
|
1168
|
+
}
|
|
1169
|
+
}, {
|
|
1170
|
+
"method": "calciteInputNumberInput",
|
|
1171
|
+
"name": "calciteInputNumberInput",
|
|
1172
|
+
"bubbles": true,
|
|
1173
|
+
"cancelable": true,
|
|
1174
|
+
"composed": true,
|
|
1175
|
+
"docs": {
|
|
1176
|
+
"tags": [],
|
|
1177
|
+
"text": "Fires each time a new value is typed."
|
|
1178
|
+
},
|
|
1179
|
+
"complexType": {
|
|
1180
|
+
"original": "any",
|
|
1181
|
+
"resolved": "any",
|
|
1182
|
+
"references": {}
|
|
1183
|
+
}
|
|
1184
|
+
}, {
|
|
1185
|
+
"method": "calciteInputNumberChange",
|
|
1186
|
+
"name": "calciteInputNumberChange",
|
|
1187
|
+
"bubbles": true,
|
|
1188
|
+
"cancelable": true,
|
|
1189
|
+
"composed": true,
|
|
1190
|
+
"docs": {
|
|
1191
|
+
"tags": [],
|
|
1192
|
+
"text": "Fires each time a new value is typed and committed."
|
|
1193
|
+
},
|
|
1194
|
+
"complexType": {
|
|
1195
|
+
"original": "void",
|
|
1196
|
+
"resolved": "void",
|
|
1197
|
+
"references": {}
|
|
1198
|
+
}
|
|
1199
|
+
}]; }
|
|
1200
|
+
static get methods() { return {
|
|
1201
|
+
"setFocus": {
|
|
1202
|
+
"complexType": {
|
|
1203
|
+
"signature": "() => Promise<void>",
|
|
1204
|
+
"parameters": [],
|
|
1205
|
+
"references": {
|
|
1206
|
+
"Promise": {
|
|
1207
|
+
"location": "global"
|
|
1208
|
+
}
|
|
1209
|
+
},
|
|
1210
|
+
"return": "Promise<void>"
|
|
1211
|
+
},
|
|
1212
|
+
"docs": {
|
|
1213
|
+
"text": "Sets focus on the component.",
|
|
1214
|
+
"tags": []
|
|
1215
|
+
}
|
|
1216
|
+
},
|
|
1217
|
+
"selectText": {
|
|
1218
|
+
"complexType": {
|
|
1219
|
+
"signature": "() => Promise<void>",
|
|
1220
|
+
"parameters": [],
|
|
1221
|
+
"references": {
|
|
1222
|
+
"Promise": {
|
|
1223
|
+
"location": "global"
|
|
1224
|
+
}
|
|
1225
|
+
},
|
|
1226
|
+
"return": "Promise<void>"
|
|
1227
|
+
},
|
|
1228
|
+
"docs": {
|
|
1229
|
+
"text": "Selects all text of the component's `value`.",
|
|
1230
|
+
"tags": []
|
|
1231
|
+
}
|
|
1232
|
+
}
|
|
1233
|
+
}; }
|
|
1234
|
+
static get elementRef() { return "el"; }
|
|
1235
|
+
static get watchers() { return [{
|
|
1236
|
+
"propName": "disabled",
|
|
1237
|
+
"methodName": "disabledWatcher"
|
|
1238
|
+
}, {
|
|
1239
|
+
"propName": "max",
|
|
1240
|
+
"methodName": "maxWatcher"
|
|
1241
|
+
}, {
|
|
1242
|
+
"propName": "min",
|
|
1243
|
+
"methodName": "minWatcher"
|
|
1244
|
+
}, {
|
|
1245
|
+
"propName": "value",
|
|
1246
|
+
"methodName": "valueWatcher"
|
|
1247
|
+
}, {
|
|
1248
|
+
"propName": "icon",
|
|
1249
|
+
"methodName": "updateRequestedIcon"
|
|
1250
|
+
}]; }
|
|
1251
|
+
}
|