@esri/calcite-components 1.0.0-next.540 → 1.0.0-next.543
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/assets/date-picker/nls/pt-PT.json +1 -0
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/calcite.js +1 -1
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/{p-de81c890.entry.js → p-02b55f85.entry.js} +2 -2
- package/dist/calcite/{p-41cc3517.entry.js → p-044f8d03.entry.js} +2 -2
- package/dist/calcite/{p-57518b2c.entry.js → p-04bfc3db.entry.js} +2 -2
- package/dist/calcite/{p-843f32cb.system.entry.js → p-052c7ca4.system.entry.js} +2 -2
- package/dist/calcite/{p-236df5dc.system.entry.js → p-05a85116.system.entry.js} +2 -2
- package/dist/calcite/{p-796eae33.system.entry.js → p-05d0db6c.system.entry.js} +2 -2
- package/dist/calcite/{p-fed97308.system.entry.js → p-07433ca7.system.entry.js} +2 -2
- package/dist/calcite/{p-284bd0f9.entry.js → p-07a3e9ea.entry.js} +2 -2
- package/dist/calcite/p-0bf41941.system.entry.js +6 -0
- package/dist/calcite/{p-33b52921.entry.js → p-0d842738.entry.js} +2 -2
- package/dist/calcite/{p-5e059da1.system.entry.js → p-0fb0bd6e.system.entry.js} +2 -2
- package/dist/calcite/{p-2878d8ea.system.entry.js → p-10c48cac.system.entry.js} +2 -2
- package/dist/calcite/{p-7e88e90e.entry.js → p-11d898b6.entry.js} +2 -2
- package/dist/calcite/{p-6ccd08a2.entry.js → p-12282a94.entry.js} +2 -2
- package/dist/calcite/{p-bab9b04d.entry.js → p-139b20b1.entry.js} +2 -2
- package/dist/calcite/{p-97250489.entry.js → p-13d2a093.entry.js} +2 -2
- package/dist/calcite/{p-c4d6600e.system.entry.js → p-13de86fa.system.entry.js} +2 -2
- package/dist/calcite/{p-9081a999.js → p-17a3bf1b.js} +2 -2
- package/dist/calcite/p-19a8ec4a.entry.js +6 -0
- package/dist/calcite/{p-d2bee20b.system.entry.js → p-1c01b808.system.entry.js} +2 -2
- package/dist/calcite/p-1ea493af.system.entry.js +6 -0
- package/dist/calcite/{p-bed4ca2d.system.js → p-20d101a7.system.js} +1 -1
- package/dist/calcite/{p-45fad0a6.js → p-2627da2a.js} +1 -1
- package/dist/calcite/{p-455a09fa.entry.js → p-2a0225aa.entry.js} +2 -2
- package/dist/calcite/{p-282779ab.js → p-2a344d73.js} +2 -2
- package/dist/calcite/{p-83a1a1a0.system.js → p-2c0209e1.system.js} +2 -2
- package/dist/calcite/{p-21ffd209.system.entry.js → p-31bacf1e.system.entry.js} +2 -2
- package/dist/calcite/{p-1d246a53.system.entry.js → p-32921ddc.system.entry.js} +2 -2
- package/dist/calcite/{p-fa3d3f2e.js → p-3313304b.js} +1 -1
- package/dist/calcite/{p-4fa871b3.entry.js → p-353dd973.entry.js} +2 -2
- package/dist/calcite/{p-4b4d9aed.system.entry.js → p-3588b370.system.entry.js} +2 -2
- package/dist/calcite/{p-f55e50a1.js → p-3723d05c.js} +1 -1
- package/dist/calcite/{p-a4da909d.entry.js → p-3845f9d3.entry.js} +2 -2
- package/dist/calcite/{p-4120d714.entry.js → p-38a545d4.entry.js} +2 -2
- package/dist/calcite/{p-82421662.system.entry.js → p-3b1a7e3a.system.entry.js} +2 -2
- package/dist/calcite/{p-c2fcfe6e.js → p-3cbd63e6.js} +2 -2
- package/dist/calcite/{p-df7de081.js → p-3d457897.js} +2 -2
- package/dist/calcite/{p-e7557189.system.js → p-3eac44dd.system.js} +2 -2
- package/dist/calcite/{p-6c93db81.system.entry.js → p-3f35b82f.system.entry.js} +2 -2
- package/dist/calcite/{p-b8ac5258.system.js → p-42a9b7ab.system.js} +1 -1
- package/dist/calcite/{p-7e30641a.system.entry.js → p-435d9ec4.system.entry.js} +2 -2
- package/dist/calcite/{p-af6b3d2c.system.entry.js → p-43b5899f.system.entry.js} +2 -2
- package/dist/calcite/{p-968e8e9e.entry.js → p-456cfe88.entry.js} +2 -2
- package/dist/calcite/{p-1cbae146.entry.js → p-46e5af54.entry.js} +2 -2
- package/dist/calcite/{p-f3df7ed6.js → p-473ebae9.js} +1 -1
- package/dist/calcite/{p-d85a8a30.entry.js → p-49451999.entry.js} +2 -2
- package/dist/calcite/{p-0f119bf9.entry.js → p-4b5e0440.entry.js} +2 -2
- package/dist/calcite/{p-5982c91c.system.js → p-4b75a880.system.js} +1 -1
- package/dist/calcite/{p-7b352412.system.entry.js → p-4c823e2a.system.entry.js} +2 -2
- package/dist/calcite/{p-a650a5e5.system.entry.js → p-4f18b423.system.entry.js} +2 -2
- package/dist/calcite/{p-584cba98.entry.js → p-4f3bc202.entry.js} +2 -2
- package/dist/calcite/{p-5f55efba.js → p-51795827.js} +2 -2
- package/dist/calcite/{p-31537880.js → p-532bc4a9.js} +1 -1
- package/dist/calcite/{p-98389052.system.entry.js → p-54f32e44.system.entry.js} +2 -2
- package/dist/calcite/{p-8bcd756d.entry.js → p-55aabe3e.entry.js} +2 -2
- package/dist/calcite/p-5653de4a.entry.js +6 -0
- package/dist/calcite/{p-5047a1a5.system.entry.js → p-56744044.system.entry.js} +2 -2
- package/dist/calcite/{p-5b4d4cf9.entry.js → p-571d25a5.entry.js} +2 -2
- package/dist/calcite/{p-782aa3a2.entry.js → p-57816943.entry.js} +2 -2
- package/dist/calcite/{p-4cec4a18.entry.js → p-586b8e41.entry.js} +2 -2
- package/dist/calcite/{p-988abea8.system.js → p-5a589eee.system.js} +1 -1
- package/dist/calcite/{p-6243deb7.system.js → p-5d3d341b.system.js} +2 -2
- package/dist/calcite/{p-430013af.system.entry.js → p-5df2b54a.system.entry.js} +3 -3
- package/dist/calcite/{p-2ed089c9.system.entry.js → p-5e8f463c.system.entry.js} +2 -2
- package/dist/calcite/{p-7959e391.entry.js → p-5fbf34b5.entry.js} +2 -2
- package/dist/calcite/{p-e826221d.js → p-60e376e3.js} +1 -1
- package/dist/calcite/{p-96b98b6d.system.entry.js → p-61108ef4.system.entry.js} +2 -2
- package/dist/calcite/{p-6bce0861.entry.js → p-619985e8.entry.js} +2 -2
- package/dist/calcite/{p-d14f54a8.system.entry.js → p-62738405.system.entry.js} +2 -2
- package/dist/calcite/{p-181e8d7e.system.entry.js → p-63cdcb42.system.entry.js} +2 -2
- package/dist/calcite/{p-cb36c8af.system.entry.js → p-64ec63b7.system.entry.js} +2 -2
- package/dist/calcite/{p-7f16c375.entry.js → p-67a5f43a.entry.js} +2 -2
- package/dist/calcite/{p-06e61757.js → p-68fa2a3d.js} +2 -2
- package/dist/calcite/{p-0264a02d.system.entry.js → p-692272f1.system.entry.js} +2 -2
- package/dist/calcite/{p-04b8ad5f.entry.js → p-698fecd1.entry.js} +2 -2
- package/dist/calcite/{p-4766e16c.js → p-6a3a7cde.js} +2 -2
- package/dist/calcite/{p-0d9247a1.system.entry.js → p-6a692ca2.system.entry.js} +2 -2
- package/dist/calcite/{p-24c6115f.system.entry.js → p-6de47b9b.system.entry.js} +2 -2
- package/dist/calcite/p-73b9e981.system.js +6 -0
- package/dist/calcite/{p-a576ac8b.entry.js → p-73f742cb.entry.js} +2 -2
- package/dist/calcite/{p-15849a19.entry.js → p-7584d20d.entry.js} +2 -2
- package/dist/calcite/{p-c3ffab5f.system.entry.js → p-760e789e.system.entry.js} +2 -2
- package/dist/calcite/{p-139be3ba.system.js → p-79c9fdc0.system.js} +1 -1
- package/dist/calcite/{p-cb4240bf.system.entry.js → p-7e45977d.system.entry.js} +2 -2
- package/dist/calcite/{p-7f4e44dd.js → p-7e9f2464.js} +2 -2
- package/dist/calcite/{p-a7890af0.js → p-7ff206f8.js} +1 -1
- package/dist/calcite/{p-56119945.system.entry.js → p-83222866.system.entry.js} +2 -2
- package/dist/calcite/p-8497f2d0.entry.js +6 -0
- package/dist/calcite/{p-e2efbb3f.system.js → p-84e31e94.system.js} +2 -2
- package/dist/calcite/{p-8aea3e1d.js → p-868a4650.js} +1 -1
- package/dist/calcite/{p-65e42525.entry.js → p-86dd3fc3.entry.js} +2 -2
- package/dist/calcite/{p-cf694620.system.entry.js → p-872343d3.system.entry.js} +2 -2
- package/dist/calcite/{p-69bf90b4.system.entry.js → p-8ab8c580.system.entry.js} +2 -2
- package/dist/calcite/{p-4d21107f.system.entry.js → p-8bae58be.system.entry.js} +2 -2
- package/dist/calcite/{p-7723d0e4.js → p-8e5dc763.js} +1 -1
- package/dist/calcite/{p-23300b5b.system.entry.js → p-932d2dec.system.entry.js} +2 -2
- package/dist/calcite/{p-1f594421.js → p-95615797.js} +1 -1
- package/dist/calcite/{p-eb851d93.system.js → p-96509355.system.js} +2 -2
- package/dist/calcite/{p-2b81ac15.system.js → p-98432edd.system.js} +2 -2
- package/dist/calcite/{p-f6f0ef1a.entry.js → p-98461518.entry.js} +2 -2
- package/dist/calcite/p-9a1b659c.js +6 -0
- package/dist/calcite/{p-09f997de.system.entry.js → p-9abd0076.system.entry.js} +2 -2
- package/dist/calcite/{p-bf24af9f.system.js → p-9c86b0bc.system.js} +1 -1
- package/dist/calcite/{p-3aa49808.system.entry.js → p-9cdb888a.system.entry.js} +2 -2
- package/dist/calcite/{p-85433ab6.system.js → p-9d9ce173.system.js} +1 -1
- package/dist/calcite/{p-97d19a09.system.entry.js → p-9db2d5ae.system.entry.js} +2 -2
- package/dist/calcite/{p-2176944c.entry.js → p-9e401f07.entry.js} +2 -2
- package/dist/calcite/{p-06dd5021.js → p-9e72f903.js} +1 -1
- package/dist/calcite/{p-1bcde645.entry.js → p-9f46f6f0.entry.js} +2 -2
- package/dist/calcite/{p-a60e844d.entry.js → p-a031a036.entry.js} +2 -2
- package/dist/calcite/p-a26611cb.js +6 -0
- package/dist/calcite/{p-d80d6bd7.system.entry.js → p-a37c659e.system.entry.js} +2 -2
- package/dist/calcite/{p-50fbd196.entry.js → p-a8b8546b.entry.js} +2 -2
- package/dist/calcite/{p-c55e0d3d.system.entry.js → p-a8c4ad47.system.entry.js} +2 -2
- package/dist/calcite/{p-aa4ff8b3.system.entry.js → p-aa38fb8d.system.entry.js} +2 -2
- package/dist/calcite/{p-6741f1d0.system.js → p-aa64c590.system.js} +1 -1
- package/dist/calcite/{p-fcdd43d8.system.entry.js → p-af33b2fb.system.entry.js} +2 -2
- package/dist/calcite/{p-b4afd568.system.entry.js → p-af5cdbf9.system.entry.js} +3 -3
- package/dist/calcite/p-b02484e6.system.entry.js +6 -0
- package/dist/calcite/p-b549d77e.entry.js +6 -0
- package/dist/calcite/p-b7df98e7.entry.js +6 -0
- package/dist/calcite/{p-ad3541d1.system.js → p-bb686895.system.js} +1 -1
- package/dist/calcite/{p-1a483fcc.system.entry.js → p-bb6f1045.system.entry.js} +2 -2
- package/dist/calcite/{p-86e847b0.system.entry.js → p-bd9cd4a0.system.entry.js} +2 -2
- package/dist/calcite/p-c07115bb.entry.js +6 -0
- package/dist/calcite/p-c0bf1d56.system.entry.js +6 -0
- package/dist/calcite/{p-c8952d69.entry.js → p-c21838e6.entry.js} +2 -2
- package/dist/calcite/{p-5acdd99e.system.entry.js → p-c3d15e2f.system.entry.js} +2 -2
- package/dist/calcite/{p-3ea3cc27.entry.js → p-c5884c95.entry.js} +2 -2
- package/dist/calcite/{p-be057631.js → p-c5d63567.js} +1 -1
- package/dist/calcite/{p-3407f93a.entry.js → p-c61ec448.entry.js} +2 -2
- package/dist/calcite/{p-1fc4d3b7.system.entry.js → p-c61f5dc3.system.entry.js} +2 -2
- package/dist/calcite/{p-9b9ab3be.system.js → p-c9d9a61e.system.js} +2 -2
- package/dist/calcite/{p-7147160a.entry.js → p-ca62bed1.entry.js} +2 -2
- package/dist/calcite/{p-1d8cb69f.entry.js → p-cb58b1ed.entry.js} +2 -2
- package/dist/calcite/{p-9eafb72e.entry.js → p-cfb24db3.entry.js} +2 -2
- package/dist/calcite/p-cfda9102.entry.js +6 -0
- package/dist/calcite/{p-5a31353b.system.entry.js → p-d01f7bc3.system.entry.js} +2 -2
- package/dist/calcite/{p-825fe8c3.system.js → p-d03a4957.system.js} +2 -2
- package/dist/calcite/{p-152cd873.system.js → p-d1e9b864.system.js} +2 -2
- package/dist/calcite/{p-22eade13.entry.js → p-d2e102a3.entry.js} +2 -2
- package/dist/calcite/{p-892a91af.entry.js → p-d7333730.entry.js} +2 -2
- package/dist/calcite/{p-e9325ead.system.js → p-d7d26326.system.js} +1 -1
- package/dist/calcite/{p-297f9e1d.js → p-d9ad0d82.js} +2 -2
- package/dist/calcite/{p-41ece470.entry.js → p-da800aa7.entry.js} +2 -2
- package/dist/calcite/{p-1255d678.system.entry.js → p-db44c872.system.entry.js} +2 -2
- package/dist/calcite/{p-fd33a805.entry.js → p-db5bf7fa.entry.js} +2 -2
- package/dist/calcite/{p-a938cd5c.entry.js → p-db5d3424.entry.js} +2 -2
- package/dist/calcite/{p-3b051d3e.system.js → p-dfe38878.system.js} +1 -1
- package/dist/calcite/{p-668344b9.js → p-e47b720a.js} +1 -1
- package/dist/calcite/{p-b5e9d382.system.entry.js → p-e5f91ab3.system.entry.js} +2 -2
- package/dist/calcite/{p-3faf664a.entry.js → p-eaab1de4.entry.js} +2 -2
- package/dist/calcite/{p-a47affe1.system.entry.js → p-ebb335de.system.entry.js} +2 -2
- package/dist/calcite/{p-940c72de.system.entry.js → p-ebbd9f33.system.entry.js} +2 -2
- package/dist/calcite/{p-a5a20085.system.entry.js → p-ec29aa02.system.entry.js} +2 -2
- package/dist/calcite/{p-b16b6419.system.js → p-ed28e60b.system.js} +1 -1
- package/dist/calcite/{p-f2ebaed2.entry.js → p-ed329bfc.entry.js} +2 -2
- package/dist/calcite/{p-3091c9bd.entry.js → p-ee0cf44d.entry.js} +2 -2
- package/dist/calcite/{p-03a46980.system.js → p-ee7131fb.system.js} +2 -2
- package/dist/calcite/{p-8f527752.system.entry.js → p-f574d6c3.system.entry.js} +2 -2
- package/dist/calcite/{p-cbd07d72.system.js → p-f65141bc.system.js} +1 -1
- package/dist/calcite/{p-78e4cdf3.entry.js → p-f8614769.entry.js} +2 -2
- package/dist/calcite/{p-d422d2ca.entry.js → p-f9bf1673.entry.js} +2 -2
- package/dist/calcite/{p-98b5a5fb.system.entry.js → p-fbb88da9.system.entry.js} +2 -2
- package/dist/calcite/{p-a407cfff.system.js → p-fbf5744b.system.js} +3 -3
- package/dist/calcite/{p-36932349.entry.js → p-fc59b5bf.entry.js} +2 -2
- package/dist/calcite/{p-d13e65c2.entry.js → p-fd10dc0d.entry.js} +2 -2
- package/dist/calcite/{p-39888238.system.js → p-ff2d5911.system.js} +1 -1
- package/dist/cjs/{ExpandToggle-bdbadf09.js → ExpandToggle-c7d4af52.js} +5 -5
- package/dist/cjs/{Heading-69bc15ec.js → Heading-beaacc00.js} +2 -2
- package/dist/cjs/{array-4af50c1d.js → array-72fe7eec.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-action-bar.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-menu.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action-pad.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action.cjs.entry.js +6 -6
- package/dist/cjs/calcite-alert.cjs.entry.js +31 -16
- package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
- package/dist/cjs/calcite-block_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-button.cjs.entry.js +8 -8
- package/dist/cjs/calcite-card.cjs.entry.js +6 -6
- package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -7
- package/dist/cjs/calcite-chip.cjs.entry.js +6 -6
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +39 -36
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +9 -9
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +56 -46
- package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
- package/dist/cjs/calcite-filter.cjs.entry.js +7 -7
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-handle.cjs.entry.js +4 -4
- package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +11 -11
- package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
- package/dist/cjs/calcite-input-number.cjs.entry.js +11 -11
- package/dist/cjs/calcite-input-text.cjs.entry.js +330 -0
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input.cjs.entry.js +11 -11
- package/dist/cjs/calcite-label.cjs.entry.js +5 -5
- package/dist/cjs/calcite-link.cjs.entry.js +5 -5
- package/dist/cjs/calcite-list_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +12 -12
- package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
- package/dist/cjs/calcite-option_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
- package/dist/cjs/calcite-panel.cjs.entry.js +9 -9
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-popover_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -8
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-rating.cjs.entry.js +8 -8
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-switch.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tab_4.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tip_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite.cjs.js +3 -3
- package/dist/cjs/{conditionalSlot-61ae8128.js → conditionalSlot-b8a33b91.js} +3 -3
- package/dist/cjs/{debounce-17d75cb0.js → debounce-e4d93984.js} +1 -1
- package/dist/cjs/{dom-7a972f83.js → dom-6e56f2dc.js} +2 -2
- package/dist/cjs/{filter-c44b5955.js → filter-014c9a9e.js} +2 -2
- package/dist/cjs/{floating-ui-b254038e.js → floating-ui-5841fd96.js} +2 -2
- package/dist/cjs/{form-351a39d4.js → form-1e353995.js} +3 -3
- package/dist/cjs/{guid-44753eac.js → guid-c51c9e0a.js} +1 -1
- package/dist/cjs/{index-ddace81d.js → index-8528542e.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-7f751988.js → interactive-9f1f58c7.js} +1 -1
- package/dist/cjs/{interfaces-77d43ebc.js → interfaces-386bcae6.js} +1 -1
- package/dist/cjs/{key-c005f343.js → key-c8de60bc.js} +1 -1
- package/dist/cjs/{label-66c5161f.js → label-01c65314.js} +2 -2
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{locale-47b632ed.js → locale-bbad01f3.js} +2 -2
- package/dist/cjs/{math-f1ed3643.js → math-91308f73.js} +1 -1
- package/dist/cjs/{observers-d1ad3104.js → observers-c5c8b954.js} +1 -1
- package/dist/cjs/{resources-5cd47627.js → resources-0e5865e4.js} +1 -1
- package/dist/cjs/{resources-7e94d682.js → resources-2ae63728.js} +1 -1
- package/dist/cjs/{resources-67b8eec0.js → resources-34d97c02.js} +3 -3
- package/dist/cjs/{resources-c9745971.js → resources-c804d2f4.js} +5 -5
- package/dist/cjs/{sortable.esm-b46da72b.js → sortable.esm-a49cb8f3.js} +1 -1
- package/dist/cjs/{utils-17889040.js → utils-60ab928d.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +5 -5
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.css +4 -4
- package/dist/collection/components/alert/alert.js +51 -13
- package/dist/collection/components/alert/interfaces.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/interfaces.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/interfaces.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/interfaces.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-picker/interfaces.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.css +1 -1
- package/dist/collection/components/combobox/combobox.js +27 -24
- package/dist/collection/components/combobox/interfaces.js +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/assets/date-picker/nls/pt-PT.json +1 -0
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/interfaces.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +2 -4
- package/dist/collection/components/dropdown/dropdown.js +51 -41
- package/dist/collection/components/dropdown/interfaces.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/interfaces.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/interfaces.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/interfaces.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/interfaces.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.js +1 -1
- package/dist/collection/components/input-number/interfaces.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.css +400 -0
- package/dist/collection/components/input-text/input-text.js +899 -0
- package/dist/collection/components/input-text/resources.js +24 -0
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/interfaces.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/modal/interfaces.js +1 -1
- package/dist/collection/components/modal/modal.js +7 -7
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/popover-manager/popover-manager.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/radio-group/interfaces.js +1 -1
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/rating/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stepper/interfaces.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/interfaces.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/tabs/interfaces.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/interfaces.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/interfaces.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
- package/dist/collection/components/tree/interfaces.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree-item/interfaces.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/interfaces.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +4 -4
- package/dist/components/action.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +28 -12
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +28 -25
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.d.ts +11 -0
- package/dist/components/calcite-input-text.js +382 -0
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +7 -7
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover-manager.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-radio-group-item.js +1 -1
- package/dist/components/calcite-radio-group.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip-manager.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +50 -40
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/interfaces.js +1 -1
- package/dist/components/interfaces2.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/custom-elements/index.d.ts +6 -0
- package/dist/custom-elements/index.js +695 -351
- package/dist/esm/{ExpandToggle-5c167d0d.js → ExpandToggle-67645610.js} +5 -5
- package/dist/esm/{Heading-6d97deff.js → Heading-737b65aa.js} +2 -2
- package/dist/esm/{array-d68030d1.js → array-b1e2e9f6.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +6 -6
- package/dist/esm/calcite-action-bar.entry.js +10 -10
- package/dist/esm/calcite-action-group.entry.js +8 -8
- package/dist/esm/calcite-action-menu.entry.js +10 -10
- package/dist/esm/calcite-action-pad.entry.js +9 -9
- package/dist/esm/calcite-action.entry.js +6 -6
- package/dist/esm/calcite-alert.entry.js +31 -16
- package/dist/esm/calcite-avatar.entry.js +5 -5
- package/dist/esm/calcite-block_2.entry.js +8 -8
- package/dist/esm/calcite-button.entry.js +8 -8
- package/dist/esm/calcite-card.entry.js +6 -6
- package/dist/esm/calcite-checkbox.entry.js +7 -7
- package/dist/esm/calcite-chip.entry.js +6 -6
- package/dist/esm/calcite-color-picker_3.entry.js +8 -8
- package/dist/esm/calcite-combobox_3.entry.js +39 -36
- package/dist/esm/calcite-date-picker_4.entry.js +9 -9
- package/dist/esm/calcite-dropdown_3.entry.js +56 -46
- package/dist/esm/calcite-fab.entry.js +5 -5
- package/dist/esm/calcite-filter.entry.js +7 -7
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +9 -9
- package/dist/esm/calcite-handle.entry.js +4 -4
- package/dist/esm/calcite-icon.entry.js +5 -5
- package/dist/esm/calcite-inline-editable.entry.js +7 -7
- package/dist/esm/calcite-input-date-picker.entry.js +11 -11
- package/dist/esm/calcite-input-message.entry.js +4 -4
- package/dist/esm/calcite-input-number.entry.js +11 -11
- package/dist/esm/calcite-input-text.entry.js +326 -0
- package/dist/esm/calcite-input-time-picker_2.entry.js +9 -9
- package/dist/esm/calcite-input.entry.js +11 -11
- package/dist/esm/calcite-label.entry.js +5 -5
- package/dist/esm/calcite-link.entry.js +5 -5
- package/dist/esm/calcite-list_3.entry.js +8 -8
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +12 -12
- package/dist/esm/calcite-notice.entry.js +7 -7
- package/dist/esm/calcite-option_3.entry.js +8 -8
- package/dist/esm/calcite-pagination.entry.js +5 -5
- package/dist/esm/calcite-panel.entry.js +9 -9
- package/dist/esm/calcite-pick-list_3.entry.js +11 -11
- package/dist/esm/calcite-popover_2.entry.js +7 -7
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +3 -3
- package/dist/esm/calcite-radio-button.entry.js +8 -8
- package/dist/esm/calcite-radio-group_2.entry.js +7 -7
- package/dist/esm/calcite-rating.entry.js +8 -8
- package/dist/esm/calcite-scrim.entry.js +2 -2
- package/dist/esm/calcite-shell_3.entry.js +7 -7
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +3 -3
- package/dist/esm/calcite-stepper_2.entry.js +5 -5
- package/dist/esm/calcite-switch.entry.js +7 -7
- package/dist/esm/calcite-tab_4.entry.js +6 -6
- package/dist/esm/calcite-tile-select_2.entry.js +4 -4
- package/dist/esm/calcite-tile.entry.js +7 -7
- package/dist/esm/calcite-tip_3.entry.js +7 -7
- package/dist/esm/calcite-tooltip_2.entry.js +5 -5
- package/dist/esm/calcite-tree_2.entry.js +6 -6
- package/dist/esm/calcite-value-list_2.entry.js +11 -11
- package/dist/esm/calcite.js +3 -3
- package/dist/esm/{conditionalSlot-8f5261b8.js → conditionalSlot-a4bcb2e5.js} +3 -3
- package/dist/esm/{debounce-d9ca21e6.js → debounce-b50abb2c.js} +1 -1
- package/dist/esm/{dom-436db30d.js → dom-139271e6.js} +2 -2
- package/dist/esm/{filter-ea2019f5.js → filter-a31a2719.js} +2 -2
- package/dist/esm/{floating-ui-d35ae879.js → floating-ui-658b26b6.js} +2 -2
- package/dist/esm/{form-9e4ad205.js → form-b0de5da5.js} +3 -3
- package/dist/esm/{guid-aa232e06.js → guid-2813141a.js} +1 -1
- package/dist/esm/{index-15d8b691.js → index-be95829d.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-877546cb.js → interactive-9e0c5500.js} +1 -1
- package/dist/esm/{interfaces-4d091984.js → interfaces-9aa1c0a3.js} +1 -1
- package/dist/esm/{key-327406fd.js → key-a1781b69.js} +1 -1
- package/dist/esm/{label-0dfb8331.js → label-5ed15495.js} +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{locale-fdc3373c.js → locale-1edde620.js} +2 -2
- package/dist/esm/{math-614ab246.js → math-e073081a.js} +1 -1
- package/dist/esm/{observers-a928db96.js → observers-ea7a7d2a.js} +1 -1
- package/dist/esm/{resources-6ebd7149.js → resources-1af974cb.js} +3 -3
- package/dist/esm/{resources-ebbd1852.js → resources-5b37148c.js} +5 -5
- package/dist/esm/{resources-6deceede.js → resources-7f7afb1c.js} +1 -1
- package/dist/esm/{resources-e2b96c6a.js → resources-e67739c8.js} +1 -1
- package/dist/esm/{sortable.esm-0ad2680c.js → sortable.esm-2a8d0995.js} +1 -1
- package/dist/esm/{utils-4707c83f.js → utils-4c8a9955.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-5c167d0d.js → ExpandToggle-67645610.js} +2 -2
- package/dist/esm-es5/Heading-737b65aa.js +6 -0
- package/dist/esm-es5/{array-d68030d1.js → array-b1e2e9f6.js} +1 -1
- package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
- package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
- package/dist/esm-es5/calcite-action-group.entry.js +2 -2
- package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
- package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
- package/dist/esm-es5/calcite-action.entry.js +2 -2
- package/dist/esm-es5/calcite-alert.entry.js +3 -3
- package/dist/esm-es5/calcite-avatar.entry.js +2 -2
- package/dist/esm-es5/calcite-block_2.entry.js +2 -2
- package/dist/esm-es5/calcite-button.entry.js +2 -2
- package/dist/esm-es5/calcite-card.entry.js +2 -2
- package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
- package/dist/esm-es5/calcite-chip.entry.js +2 -2
- package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
- package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
- package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
- package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
- package/dist/esm-es5/calcite-fab.entry.js +2 -2
- package/dist/esm-es5/calcite-filter.entry.js +2 -2
- package/dist/esm-es5/calcite-flow.entry.js +2 -2
- package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
- package/dist/esm-es5/calcite-handle.entry.js +2 -2
- package/dist/esm-es5/calcite-icon.entry.js +2 -2
- package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
- package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
- package/dist/esm-es5/calcite-input-message.entry.js +2 -2
- package/dist/esm-es5/calcite-input-number.entry.js +3 -3
- package/dist/esm-es5/calcite-input-text.entry.js +6 -0
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
- package/dist/esm-es5/calcite-input.entry.js +2 -2
- package/dist/esm-es5/calcite-label.entry.js +2 -2
- package/dist/esm-es5/calcite-link.entry.js +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 +2 -2
- package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
- package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
- package/dist/esm-es5/calcite.js +2 -2
- package/dist/esm-es5/{conditionalSlot-8f5261b8.js → conditionalSlot-a4bcb2e5.js} +2 -2
- package/dist/esm-es5/{debounce-d9ca21e6.js → debounce-b50abb2c.js} +1 -1
- package/dist/esm-es5/{dom-436db30d.js → dom-139271e6.js} +2 -2
- package/dist/esm-es5/{filter-ea2019f5.js → filter-a31a2719.js} +2 -2
- package/dist/esm-es5/{floating-ui-d35ae879.js → floating-ui-658b26b6.js} +2 -2
- package/dist/esm-es5/{form-9e4ad205.js → form-b0de5da5.js} +2 -2
- package/dist/esm-es5/{guid-aa232e06.js → guid-2813141a.js} +1 -1
- package/dist/esm-es5/{index-15d8b691.js → index-be95829d.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-877546cb.js → interactive-9e0c5500.js} +1 -1
- package/dist/esm-es5/{interfaces-4d091984.js → interfaces-9aa1c0a3.js} +1 -1
- package/dist/esm-es5/{key-327406fd.js → key-a1781b69.js} +1 -1
- package/dist/esm-es5/{label-0dfb8331.js → label-5ed15495.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-fdc3373c.js → locale-1edde620.js} +2 -2
- package/dist/esm-es5/{math-614ab246.js → math-e073081a.js} +1 -1
- package/dist/esm-es5/{observers-a928db96.js → observers-ea7a7d2a.js} +1 -1
- package/dist/esm-es5/{resources-6ebd7149.js → resources-1af974cb.js} +2 -2
- package/dist/esm-es5/{resources-ebbd1852.js → resources-5b37148c.js} +2 -2
- package/dist/esm-es5/{resources-6deceede.js → resources-7f7afb1c.js} +1 -1
- package/dist/esm-es5/{resources-e2b96c6a.js → resources-e67739c8.js} +1 -1
- package/dist/esm-es5/{sortable.esm-0ad2680c.js → sortable.esm-2a8d0995.js} +1 -1
- package/dist/esm-es5/{utils-4707c83f.js → utils-4c8a9955.js} +1 -1
- package/dist/extras/docs-json.json +646 -99
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/alert/alert.d.ts +9 -2
- package/dist/types/components/combobox/combobox.d.ts +2 -1
- package/dist/types/components/dropdown/dropdown.d.ts +4 -1
- package/dist/types/components/input-text/input-text.d.ts +170 -0
- package/dist/types/components/input-text/resources.d.ts +19 -0
- package/dist/types/components.d.ts +244 -2
- package/dist/types/preact.d.ts +7 -0
- package/hydrate/index.js +729 -350
- package/package.json +1 -1
- package/dist/calcite/p-03b347a5.system.entry.js +0 -6
- package/dist/calcite/p-111d2bdd.js +0 -6
- package/dist/calcite/p-1508458c.system.entry.js +0 -6
- package/dist/calcite/p-213e08e9.entry.js +0 -6
- package/dist/calcite/p-25c58362.entry.js +0 -6
- package/dist/calcite/p-266e1c0c.system.entry.js +0 -6
- package/dist/calcite/p-2c2e712b.entry.js +0 -6
- package/dist/calcite/p-6ad8511d.system.js +0 -6
- package/dist/calcite/p-6f19ed5c.entry.js +0 -6
- package/dist/calcite/p-71103ef1.js +0 -6
- package/dist/calcite/p-addeb3a3.entry.js +0 -6
- package/dist/calcite/p-ff06b9f4.entry.js +0 -6
- package/dist/esm-es5/Heading-6d97deff.js +0 -6
|
@@ -0,0 +1,899 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
* v1.0.0-next.543
|
|
5
|
+
*/
|
|
6
|
+
import { Component, Element, Event, h, Host, Method, Prop, Watch } from "@stencil/core";
|
|
7
|
+
import { getElementDir, getElementProp, getSlotted, setRequestedIcon } from "../../utils/dom";
|
|
8
|
+
import { CSS, SLOTS, TEXT } from "./resources";
|
|
9
|
+
import { connectLabel, disconnectLabel, getLabelText } from "../../utils/label";
|
|
10
|
+
import { connectForm, disconnectForm, HiddenFormInputSlot, submitForm } from "../../utils/form";
|
|
11
|
+
import { CSS_UTILITY, TEXT as COMMON_TEXT } from "../../utils/resources";
|
|
12
|
+
import { createObserver } from "../../utils/observers";
|
|
13
|
+
import { updateHostInteraction } from "../../utils/interactive";
|
|
14
|
+
/**
|
|
15
|
+
* @slot action - A slot for positioning a button next to the component.
|
|
16
|
+
*/
|
|
17
|
+
export class InputText {
|
|
18
|
+
constructor() {
|
|
19
|
+
//--------------------------------------------------------------------------
|
|
20
|
+
//
|
|
21
|
+
// Properties
|
|
22
|
+
//
|
|
23
|
+
//--------------------------------------------------------------------------
|
|
24
|
+
/** Specifies the text alignment of the component's value. */
|
|
25
|
+
this.alignment = "start";
|
|
26
|
+
/**
|
|
27
|
+
* When true, the component is focused on page load.
|
|
28
|
+
*
|
|
29
|
+
* @mdn [autofocus](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)
|
|
30
|
+
*/
|
|
31
|
+
this.autofocus = false;
|
|
32
|
+
/**
|
|
33
|
+
* When true, a clear button is displayed when the component has a value.
|
|
34
|
+
*/
|
|
35
|
+
this.clearable = false;
|
|
36
|
+
/**
|
|
37
|
+
* When true, interaction is prevented and the component is displayed with lower opacity.
|
|
38
|
+
*
|
|
39
|
+
* @mdn [disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
|
|
40
|
+
*/
|
|
41
|
+
this.disabled = false;
|
|
42
|
+
/**
|
|
43
|
+
* When true, the component will not be visible.
|
|
44
|
+
*
|
|
45
|
+
* @mdn [hidden](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/hidden)
|
|
46
|
+
*/
|
|
47
|
+
this.hidden = false;
|
|
48
|
+
/**
|
|
49
|
+
* Accessible name that will appear while loading.
|
|
50
|
+
*
|
|
51
|
+
* @default "Loading"
|
|
52
|
+
*/
|
|
53
|
+
this.intlLoading = COMMON_TEXT.loading;
|
|
54
|
+
/** When true, the icon is flipped in RTL. */
|
|
55
|
+
this.iconFlipRtl = false;
|
|
56
|
+
/** When true, the component is in the loading state and `calcite-progress` is displayed. */
|
|
57
|
+
this.loading = false;
|
|
58
|
+
/**
|
|
59
|
+
* When true, the value cannot be modified.
|
|
60
|
+
*
|
|
61
|
+
* @mdn [readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)
|
|
62
|
+
*/
|
|
63
|
+
this.readOnly = false;
|
|
64
|
+
/** When true, the component must have a value in order for the form to submit. */
|
|
65
|
+
this.required = false;
|
|
66
|
+
/** Specifies the size of the component. */
|
|
67
|
+
this.scale = "m";
|
|
68
|
+
/** Specifies the status of the input field, which determines message and icons. */
|
|
69
|
+
this.status = "idle";
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
73
|
+
this.editingEnabled = false;
|
|
74
|
+
/** The component's value. */
|
|
75
|
+
this.value = "";
|
|
76
|
+
this.previousValueOrigin = "initial";
|
|
77
|
+
this.mutationObserver = createObserver("mutation", () => this.setDisabledAction());
|
|
78
|
+
this.userChangedValue = false;
|
|
79
|
+
//--------------------------------------------------------------------------
|
|
80
|
+
//
|
|
81
|
+
// Private Methods
|
|
82
|
+
//
|
|
83
|
+
//--------------------------------------------------------------------------
|
|
84
|
+
this.keyDownHandler = (event) => {
|
|
85
|
+
if (this.readOnly || this.disabled) {
|
|
86
|
+
return;
|
|
87
|
+
}
|
|
88
|
+
if (this.isClearable && event.key === "Escape") {
|
|
89
|
+
this.clearInputTextValue(event);
|
|
90
|
+
event.preventDefault();
|
|
91
|
+
}
|
|
92
|
+
if (event.key === "Enter" && !event.defaultPrevented) {
|
|
93
|
+
submitForm(this);
|
|
94
|
+
}
|
|
95
|
+
};
|
|
96
|
+
this.clearInputTextValue = (nativeEvent) => {
|
|
97
|
+
this.setValue({
|
|
98
|
+
committing: true,
|
|
99
|
+
nativeEvent,
|
|
100
|
+
origin: "user",
|
|
101
|
+
value: ""
|
|
102
|
+
});
|
|
103
|
+
};
|
|
104
|
+
this.emitChangeIfUserModified = () => {
|
|
105
|
+
if (this.previousValueOrigin === "user" && this.value !== this.previousEmittedValue) {
|
|
106
|
+
this.calciteInputTextChange.emit();
|
|
107
|
+
}
|
|
108
|
+
this.previousEmittedValue = this.value;
|
|
109
|
+
};
|
|
110
|
+
this.inputTextBlurHandler = () => {
|
|
111
|
+
this.calciteInternalInputTextBlur.emit({
|
|
112
|
+
element: this.childEl,
|
|
113
|
+
value: this.value
|
|
114
|
+
});
|
|
115
|
+
this.emitChangeIfUserModified();
|
|
116
|
+
};
|
|
117
|
+
this.inputTextFocusHandler = (event) => {
|
|
118
|
+
const slottedActionEl = getSlotted(this.el, "action");
|
|
119
|
+
if (event.target !== slottedActionEl) {
|
|
120
|
+
this.setFocus();
|
|
121
|
+
}
|
|
122
|
+
this.calciteInternalInputTextFocus.emit({
|
|
123
|
+
element: this.childEl,
|
|
124
|
+
value: this.value
|
|
125
|
+
});
|
|
126
|
+
};
|
|
127
|
+
this.inputTextInputHandler = (nativeEvent) => {
|
|
128
|
+
if (this.disabled || this.readOnly) {
|
|
129
|
+
return;
|
|
130
|
+
}
|
|
131
|
+
this.setValue({
|
|
132
|
+
nativeEvent,
|
|
133
|
+
origin: "user",
|
|
134
|
+
value: nativeEvent.target.value
|
|
135
|
+
});
|
|
136
|
+
};
|
|
137
|
+
this.inputTextKeyDownHandler = (event) => {
|
|
138
|
+
if (this.disabled || this.readOnly) {
|
|
139
|
+
return;
|
|
140
|
+
}
|
|
141
|
+
if (event.key === "Enter") {
|
|
142
|
+
this.emitChangeIfUserModified();
|
|
143
|
+
}
|
|
144
|
+
};
|
|
145
|
+
this.setChildElRef = (el) => {
|
|
146
|
+
this.childEl = el;
|
|
147
|
+
};
|
|
148
|
+
this.setInputValue = (newInputValue) => {
|
|
149
|
+
if (!this.childEl) {
|
|
150
|
+
return;
|
|
151
|
+
}
|
|
152
|
+
this.childEl.value = newInputValue;
|
|
153
|
+
};
|
|
154
|
+
this.setPreviousEmittedValue = (newPreviousEmittedValue) => {
|
|
155
|
+
this.previousEmittedValue = newPreviousEmittedValue;
|
|
156
|
+
};
|
|
157
|
+
this.setPreviousValue = (newPreviousValue) => {
|
|
158
|
+
this.previousValue = newPreviousValue;
|
|
159
|
+
};
|
|
160
|
+
this.setValue = ({ committing = false, nativeEvent, origin, previousValue, value }) => {
|
|
161
|
+
this.setPreviousValue(previousValue || this.value);
|
|
162
|
+
this.previousValueOrigin = origin;
|
|
163
|
+
this.userChangedValue = origin === "user" && value !== this.value;
|
|
164
|
+
this.value = value;
|
|
165
|
+
if (origin === "direct") {
|
|
166
|
+
this.setInputValue(value);
|
|
167
|
+
}
|
|
168
|
+
if (nativeEvent) {
|
|
169
|
+
const calciteInputTextInputEvent = this.calciteInputTextInput.emit({
|
|
170
|
+
element: this.childEl,
|
|
171
|
+
nativeEvent,
|
|
172
|
+
value: this.value
|
|
173
|
+
});
|
|
174
|
+
if (calciteInputTextInputEvent.defaultPrevented) {
|
|
175
|
+
this.value = this.previousValue;
|
|
176
|
+
}
|
|
177
|
+
else if (committing) {
|
|
178
|
+
this.emitChangeIfUserModified();
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
};
|
|
182
|
+
}
|
|
183
|
+
disabledWatcher() {
|
|
184
|
+
this.setDisabledAction();
|
|
185
|
+
}
|
|
186
|
+
valueWatcher(newValue, previousValue) {
|
|
187
|
+
if (!this.userChangedValue) {
|
|
188
|
+
this.setValue({
|
|
189
|
+
origin: "direct",
|
|
190
|
+
previousValue,
|
|
191
|
+
value: !newValue ? "" : newValue
|
|
192
|
+
});
|
|
193
|
+
}
|
|
194
|
+
this.userChangedValue = false;
|
|
195
|
+
}
|
|
196
|
+
updateRequestedIcon() {
|
|
197
|
+
this.requestedIcon = setRequestedIcon({}, this.icon, "text");
|
|
198
|
+
}
|
|
199
|
+
get isClearable() {
|
|
200
|
+
return this.clearable && this.value.length > 0;
|
|
201
|
+
}
|
|
202
|
+
//--------------------------------------------------------------------------
|
|
203
|
+
//
|
|
204
|
+
// Lifecycle
|
|
205
|
+
//
|
|
206
|
+
//--------------------------------------------------------------------------
|
|
207
|
+
connectedCallback() {
|
|
208
|
+
var _a;
|
|
209
|
+
this.scale = getElementProp(this.el, "scale", this.scale);
|
|
210
|
+
this.status = getElementProp(this.el, "status", this.status);
|
|
211
|
+
this.inlineEditableEl = this.el.closest("calcite-inline-editable");
|
|
212
|
+
if (this.inlineEditableEl) {
|
|
213
|
+
this.editingEnabled = this.inlineEditableEl.editingEnabled || false;
|
|
214
|
+
}
|
|
215
|
+
this.setPreviousEmittedValue(this.value);
|
|
216
|
+
this.setPreviousValue(this.value);
|
|
217
|
+
connectLabel(this);
|
|
218
|
+
connectForm(this);
|
|
219
|
+
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true });
|
|
220
|
+
this.setDisabledAction();
|
|
221
|
+
}
|
|
222
|
+
disconnectedCallback() {
|
|
223
|
+
var _a;
|
|
224
|
+
disconnectLabel(this);
|
|
225
|
+
disconnectForm(this);
|
|
226
|
+
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
227
|
+
}
|
|
228
|
+
componentWillLoad() {
|
|
229
|
+
this.requestedIcon = setRequestedIcon({}, this.icon, "text");
|
|
230
|
+
}
|
|
231
|
+
componentDidRender() {
|
|
232
|
+
updateHostInteraction(this);
|
|
233
|
+
}
|
|
234
|
+
//--------------------------------------------------------------------------
|
|
235
|
+
//
|
|
236
|
+
// Public Methods
|
|
237
|
+
//
|
|
238
|
+
//--------------------------------------------------------------------------
|
|
239
|
+
/** Sets focus on the component. */
|
|
240
|
+
async setFocus() {
|
|
241
|
+
var _a;
|
|
242
|
+
(_a = this.childEl) === null || _a === void 0 ? void 0 : _a.focus();
|
|
243
|
+
}
|
|
244
|
+
/** Selects all text of the component's `value`. */
|
|
245
|
+
async selectText() {
|
|
246
|
+
var _a;
|
|
247
|
+
(_a = this.childEl) === null || _a === void 0 ? void 0 : _a.select();
|
|
248
|
+
}
|
|
249
|
+
onLabelClick() {
|
|
250
|
+
this.setFocus();
|
|
251
|
+
}
|
|
252
|
+
onFormReset() {
|
|
253
|
+
this.setValue({
|
|
254
|
+
origin: "reset",
|
|
255
|
+
value: this.defaultValue
|
|
256
|
+
});
|
|
257
|
+
}
|
|
258
|
+
syncHiddenFormInput(input) {
|
|
259
|
+
if (this.minLength != null) {
|
|
260
|
+
input.minLength = this.minLength;
|
|
261
|
+
}
|
|
262
|
+
if (this.maxLength != null) {
|
|
263
|
+
input.maxLength = this.maxLength;
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
setDisabledAction() {
|
|
267
|
+
const slottedActionEl = getSlotted(this.el, "action");
|
|
268
|
+
if (!slottedActionEl) {
|
|
269
|
+
return;
|
|
270
|
+
}
|
|
271
|
+
this.disabled
|
|
272
|
+
? slottedActionEl.setAttribute("disabled", "")
|
|
273
|
+
: slottedActionEl.removeAttribute("disabled");
|
|
274
|
+
}
|
|
275
|
+
// --------------------------------------------------------------------------
|
|
276
|
+
//
|
|
277
|
+
// Render Methods
|
|
278
|
+
//
|
|
279
|
+
// --------------------------------------------------------------------------
|
|
280
|
+
render() {
|
|
281
|
+
const dir = getElementDir(this.el);
|
|
282
|
+
const loader = (h("div", { class: CSS.loader },
|
|
283
|
+
h("calcite-progress", { label: this.intlLoading, type: "indeterminate" })));
|
|
284
|
+
const inputClearButton = (h("button", { "aria-label": this.intlClear || TEXT.clear, class: CSS.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputTextValue, tabIndex: this.disabled ? -1 : 0, type: "button" },
|
|
285
|
+
h("calcite-icon", { icon: "x", scale: "s" })));
|
|
286
|
+
const iconEl = (h("calcite-icon", { class: CSS.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: "s" }));
|
|
287
|
+
const prefixText = h("div", { class: CSS.prefix }, this.prefixText);
|
|
288
|
+
const suffixText = h("div", { class: CSS.suffix }, this.suffixText);
|
|
289
|
+
const childEl = (h("input", { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, class: {
|
|
290
|
+
[CSS.editingEnabled]: this.editingEnabled,
|
|
291
|
+
[CSS.inlineChild]: !!this.inlineEditableEl
|
|
292
|
+
}, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, inputMode: this.el.inputMode, maxLength: this.maxLength, minLength: this.minLength, name: this.name, onBlur: this.inputTextBlurHandler, onFocus: this.inputTextFocusHandler, onInput: this.inputTextInputHandler, onKeyDown: this.inputTextKeyDownHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildElRef, required: this.required ? true : null, tabIndex: this.disabled || (this.inlineEditableEl && !this.editingEnabled) ? -1 : null, type: "text", value: this.value }));
|
|
293
|
+
return (h(Host, { onClick: this.inputTextFocusHandler, onKeyDown: this.keyDownHandler },
|
|
294
|
+
h("div", { class: { [CSS.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } },
|
|
295
|
+
this.prefixText ? prefixText : null,
|
|
296
|
+
h("div", { class: CSS.wrapper },
|
|
297
|
+
childEl,
|
|
298
|
+
this.isClearable ? inputClearButton : null,
|
|
299
|
+
this.requestedIcon ? iconEl : null,
|
|
300
|
+
this.loading ? loader : null),
|
|
301
|
+
h("div", { class: CSS.actionWrapper },
|
|
302
|
+
h("slot", { name: SLOTS.action })),
|
|
303
|
+
this.suffixText ? suffixText : null,
|
|
304
|
+
h(HiddenFormInputSlot, { component: this }))));
|
|
305
|
+
}
|
|
306
|
+
static get is() { return "calcite-input-text"; }
|
|
307
|
+
static get encapsulation() { return "shadow"; }
|
|
308
|
+
static get originalStyleUrls() { return {
|
|
309
|
+
"$": ["input-text.scss"]
|
|
310
|
+
}; }
|
|
311
|
+
static get styleUrls() { return {
|
|
312
|
+
"$": ["input-text.css"]
|
|
313
|
+
}; }
|
|
314
|
+
static get properties() { return {
|
|
315
|
+
"alignment": {
|
|
316
|
+
"type": "string",
|
|
317
|
+
"mutable": false,
|
|
318
|
+
"complexType": {
|
|
319
|
+
"original": "Position",
|
|
320
|
+
"resolved": "\"end\" | \"start\"",
|
|
321
|
+
"references": {
|
|
322
|
+
"Position": {
|
|
323
|
+
"location": "import",
|
|
324
|
+
"path": "../interfaces"
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
},
|
|
328
|
+
"required": false,
|
|
329
|
+
"optional": false,
|
|
330
|
+
"docs": {
|
|
331
|
+
"tags": [],
|
|
332
|
+
"text": "Specifies the text alignment of the component's value."
|
|
333
|
+
},
|
|
334
|
+
"attribute": "alignment",
|
|
335
|
+
"reflect": true,
|
|
336
|
+
"defaultValue": "\"start\""
|
|
337
|
+
},
|
|
338
|
+
"autofocus": {
|
|
339
|
+
"type": "boolean",
|
|
340
|
+
"mutable": false,
|
|
341
|
+
"complexType": {
|
|
342
|
+
"original": "boolean",
|
|
343
|
+
"resolved": "boolean",
|
|
344
|
+
"references": {}
|
|
345
|
+
},
|
|
346
|
+
"required": false,
|
|
347
|
+
"optional": false,
|
|
348
|
+
"docs": {
|
|
349
|
+
"tags": [{
|
|
350
|
+
"name": "mdn",
|
|
351
|
+
"text": "[autofocus](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)"
|
|
352
|
+
}],
|
|
353
|
+
"text": "When true, the component is focused on page load."
|
|
354
|
+
},
|
|
355
|
+
"attribute": "autofocus",
|
|
356
|
+
"reflect": false,
|
|
357
|
+
"defaultValue": "false"
|
|
358
|
+
},
|
|
359
|
+
"clearable": {
|
|
360
|
+
"type": "boolean",
|
|
361
|
+
"mutable": false,
|
|
362
|
+
"complexType": {
|
|
363
|
+
"original": "boolean",
|
|
364
|
+
"resolved": "boolean",
|
|
365
|
+
"references": {}
|
|
366
|
+
},
|
|
367
|
+
"required": false,
|
|
368
|
+
"optional": false,
|
|
369
|
+
"docs": {
|
|
370
|
+
"tags": [],
|
|
371
|
+
"text": "When true, a clear button is displayed when the component has a value."
|
|
372
|
+
},
|
|
373
|
+
"attribute": "clearable",
|
|
374
|
+
"reflect": true,
|
|
375
|
+
"defaultValue": "false"
|
|
376
|
+
},
|
|
377
|
+
"disabled": {
|
|
378
|
+
"type": "boolean",
|
|
379
|
+
"mutable": false,
|
|
380
|
+
"complexType": {
|
|
381
|
+
"original": "boolean",
|
|
382
|
+
"resolved": "boolean",
|
|
383
|
+
"references": {}
|
|
384
|
+
},
|
|
385
|
+
"required": false,
|
|
386
|
+
"optional": false,
|
|
387
|
+
"docs": {
|
|
388
|
+
"tags": [{
|
|
389
|
+
"name": "mdn",
|
|
390
|
+
"text": "[disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)"
|
|
391
|
+
}],
|
|
392
|
+
"text": "When true, interaction is prevented and the component is displayed with lower opacity."
|
|
393
|
+
},
|
|
394
|
+
"attribute": "disabled",
|
|
395
|
+
"reflect": true,
|
|
396
|
+
"defaultValue": "false"
|
|
397
|
+
},
|
|
398
|
+
"hidden": {
|
|
399
|
+
"type": "boolean",
|
|
400
|
+
"mutable": false,
|
|
401
|
+
"complexType": {
|
|
402
|
+
"original": "boolean",
|
|
403
|
+
"resolved": "boolean",
|
|
404
|
+
"references": {}
|
|
405
|
+
},
|
|
406
|
+
"required": false,
|
|
407
|
+
"optional": false,
|
|
408
|
+
"docs": {
|
|
409
|
+
"tags": [{
|
|
410
|
+
"name": "mdn",
|
|
411
|
+
"text": "[hidden](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/hidden)"
|
|
412
|
+
}],
|
|
413
|
+
"text": "When true, the component will not be visible."
|
|
414
|
+
},
|
|
415
|
+
"attribute": "hidden",
|
|
416
|
+
"reflect": false,
|
|
417
|
+
"defaultValue": "false"
|
|
418
|
+
},
|
|
419
|
+
"icon": {
|
|
420
|
+
"type": "any",
|
|
421
|
+
"mutable": false,
|
|
422
|
+
"complexType": {
|
|
423
|
+
"original": "string | boolean",
|
|
424
|
+
"resolved": "boolean | string",
|
|
425
|
+
"references": {}
|
|
426
|
+
},
|
|
427
|
+
"required": false,
|
|
428
|
+
"optional": false,
|
|
429
|
+
"docs": {
|
|
430
|
+
"tags": [],
|
|
431
|
+
"text": "When true, shows a default recommended icon. Alternatively, pass a Calcite UI Icon name to display a specific icon."
|
|
432
|
+
},
|
|
433
|
+
"attribute": "icon",
|
|
434
|
+
"reflect": true
|
|
435
|
+
},
|
|
436
|
+
"intlClear": {
|
|
437
|
+
"type": "string",
|
|
438
|
+
"mutable": false,
|
|
439
|
+
"complexType": {
|
|
440
|
+
"original": "string",
|
|
441
|
+
"resolved": "string",
|
|
442
|
+
"references": {}
|
|
443
|
+
},
|
|
444
|
+
"required": false,
|
|
445
|
+
"optional": true,
|
|
446
|
+
"docs": {
|
|
447
|
+
"tags": [],
|
|
448
|
+
"text": "A text label that will appear on the clear button for screen readers."
|
|
449
|
+
},
|
|
450
|
+
"attribute": "intl-clear",
|
|
451
|
+
"reflect": false
|
|
452
|
+
},
|
|
453
|
+
"intlLoading": {
|
|
454
|
+
"type": "string",
|
|
455
|
+
"mutable": false,
|
|
456
|
+
"complexType": {
|
|
457
|
+
"original": "string",
|
|
458
|
+
"resolved": "string",
|
|
459
|
+
"references": {}
|
|
460
|
+
},
|
|
461
|
+
"required": false,
|
|
462
|
+
"optional": true,
|
|
463
|
+
"docs": {
|
|
464
|
+
"tags": [{
|
|
465
|
+
"name": "default",
|
|
466
|
+
"text": "\"Loading\""
|
|
467
|
+
}],
|
|
468
|
+
"text": "Accessible name that will appear while loading."
|
|
469
|
+
},
|
|
470
|
+
"attribute": "intl-loading",
|
|
471
|
+
"reflect": false,
|
|
472
|
+
"defaultValue": "COMMON_TEXT.loading"
|
|
473
|
+
},
|
|
474
|
+
"iconFlipRtl": {
|
|
475
|
+
"type": "boolean",
|
|
476
|
+
"mutable": false,
|
|
477
|
+
"complexType": {
|
|
478
|
+
"original": "boolean",
|
|
479
|
+
"resolved": "boolean",
|
|
480
|
+
"references": {}
|
|
481
|
+
},
|
|
482
|
+
"required": false,
|
|
483
|
+
"optional": false,
|
|
484
|
+
"docs": {
|
|
485
|
+
"tags": [],
|
|
486
|
+
"text": "When true, the icon is flipped in RTL."
|
|
487
|
+
},
|
|
488
|
+
"attribute": "icon-flip-rtl",
|
|
489
|
+
"reflect": true,
|
|
490
|
+
"defaultValue": "false"
|
|
491
|
+
},
|
|
492
|
+
"label": {
|
|
493
|
+
"type": "string",
|
|
494
|
+
"mutable": false,
|
|
495
|
+
"complexType": {
|
|
496
|
+
"original": "string",
|
|
497
|
+
"resolved": "string",
|
|
498
|
+
"references": {}
|
|
499
|
+
},
|
|
500
|
+
"required": false,
|
|
501
|
+
"optional": true,
|
|
502
|
+
"docs": {
|
|
503
|
+
"tags": [],
|
|
504
|
+
"text": "Accessible name for the component's button or hyperlink."
|
|
505
|
+
},
|
|
506
|
+
"attribute": "label",
|
|
507
|
+
"reflect": false
|
|
508
|
+
},
|
|
509
|
+
"loading": {
|
|
510
|
+
"type": "boolean",
|
|
511
|
+
"mutable": false,
|
|
512
|
+
"complexType": {
|
|
513
|
+
"original": "boolean",
|
|
514
|
+
"resolved": "boolean",
|
|
515
|
+
"references": {}
|
|
516
|
+
},
|
|
517
|
+
"required": false,
|
|
518
|
+
"optional": false,
|
|
519
|
+
"docs": {
|
|
520
|
+
"tags": [],
|
|
521
|
+
"text": "When true, the component is in the loading state and `calcite-progress` is displayed."
|
|
522
|
+
},
|
|
523
|
+
"attribute": "loading",
|
|
524
|
+
"reflect": true,
|
|
525
|
+
"defaultValue": "false"
|
|
526
|
+
},
|
|
527
|
+
"maxLength": {
|
|
528
|
+
"type": "number",
|
|
529
|
+
"mutable": false,
|
|
530
|
+
"complexType": {
|
|
531
|
+
"original": "number",
|
|
532
|
+
"resolved": "number",
|
|
533
|
+
"references": {}
|
|
534
|
+
},
|
|
535
|
+
"required": false,
|
|
536
|
+
"optional": true,
|
|
537
|
+
"docs": {
|
|
538
|
+
"tags": [{
|
|
539
|
+
"name": "mdn",
|
|
540
|
+
"text": "[maxlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#maxlength)"
|
|
541
|
+
}],
|
|
542
|
+
"text": "Specifies the maximum length of text for the component's value."
|
|
543
|
+
},
|
|
544
|
+
"attribute": "max-length",
|
|
545
|
+
"reflect": true
|
|
546
|
+
},
|
|
547
|
+
"minLength": {
|
|
548
|
+
"type": "number",
|
|
549
|
+
"mutable": false,
|
|
550
|
+
"complexType": {
|
|
551
|
+
"original": "number",
|
|
552
|
+
"resolved": "number",
|
|
553
|
+
"references": {}
|
|
554
|
+
},
|
|
555
|
+
"required": false,
|
|
556
|
+
"optional": true,
|
|
557
|
+
"docs": {
|
|
558
|
+
"tags": [{
|
|
559
|
+
"name": "mdn",
|
|
560
|
+
"text": "[minlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#minlength)"
|
|
561
|
+
}],
|
|
562
|
+
"text": "Specifies the minimum length of text for the component's value."
|
|
563
|
+
},
|
|
564
|
+
"attribute": "min-length",
|
|
565
|
+
"reflect": true
|
|
566
|
+
},
|
|
567
|
+
"name": {
|
|
568
|
+
"type": "string",
|
|
569
|
+
"mutable": false,
|
|
570
|
+
"complexType": {
|
|
571
|
+
"original": "string",
|
|
572
|
+
"resolved": "string",
|
|
573
|
+
"references": {}
|
|
574
|
+
},
|
|
575
|
+
"required": false,
|
|
576
|
+
"optional": false,
|
|
577
|
+
"docs": {
|
|
578
|
+
"tags": [{
|
|
579
|
+
"name": "mdn",
|
|
580
|
+
"text": "[name](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#name)"
|
|
581
|
+
}],
|
|
582
|
+
"text": "Specifies the name of the component."
|
|
583
|
+
},
|
|
584
|
+
"attribute": "name",
|
|
585
|
+
"reflect": true
|
|
586
|
+
},
|
|
587
|
+
"placeholder": {
|
|
588
|
+
"type": "string",
|
|
589
|
+
"mutable": false,
|
|
590
|
+
"complexType": {
|
|
591
|
+
"original": "string",
|
|
592
|
+
"resolved": "string",
|
|
593
|
+
"references": {}
|
|
594
|
+
},
|
|
595
|
+
"required": false,
|
|
596
|
+
"optional": false,
|
|
597
|
+
"docs": {
|
|
598
|
+
"tags": [{
|
|
599
|
+
"name": "mdn",
|
|
600
|
+
"text": "[placeholder](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#placeholder)"
|
|
601
|
+
}],
|
|
602
|
+
"text": "Specifies placeholder text for the component."
|
|
603
|
+
},
|
|
604
|
+
"attribute": "placeholder",
|
|
605
|
+
"reflect": false
|
|
606
|
+
},
|
|
607
|
+
"prefixText": {
|
|
608
|
+
"type": "string",
|
|
609
|
+
"mutable": false,
|
|
610
|
+
"complexType": {
|
|
611
|
+
"original": "string",
|
|
612
|
+
"resolved": "string",
|
|
613
|
+
"references": {}
|
|
614
|
+
},
|
|
615
|
+
"required": false,
|
|
616
|
+
"optional": true,
|
|
617
|
+
"docs": {
|
|
618
|
+
"tags": [],
|
|
619
|
+
"text": "Adds text to the start of the component."
|
|
620
|
+
},
|
|
621
|
+
"attribute": "prefix-text",
|
|
622
|
+
"reflect": false
|
|
623
|
+
},
|
|
624
|
+
"readOnly": {
|
|
625
|
+
"type": "boolean",
|
|
626
|
+
"mutable": false,
|
|
627
|
+
"complexType": {
|
|
628
|
+
"original": "boolean",
|
|
629
|
+
"resolved": "boolean",
|
|
630
|
+
"references": {}
|
|
631
|
+
},
|
|
632
|
+
"required": false,
|
|
633
|
+
"optional": false,
|
|
634
|
+
"docs": {
|
|
635
|
+
"tags": [{
|
|
636
|
+
"name": "mdn",
|
|
637
|
+
"text": "[readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)"
|
|
638
|
+
}],
|
|
639
|
+
"text": "When true, the value cannot be modified."
|
|
640
|
+
},
|
|
641
|
+
"attribute": "read-only",
|
|
642
|
+
"reflect": false,
|
|
643
|
+
"defaultValue": "false"
|
|
644
|
+
},
|
|
645
|
+
"required": {
|
|
646
|
+
"type": "boolean",
|
|
647
|
+
"mutable": false,
|
|
648
|
+
"complexType": {
|
|
649
|
+
"original": "boolean",
|
|
650
|
+
"resolved": "boolean",
|
|
651
|
+
"references": {}
|
|
652
|
+
},
|
|
653
|
+
"required": false,
|
|
654
|
+
"optional": false,
|
|
655
|
+
"docs": {
|
|
656
|
+
"tags": [],
|
|
657
|
+
"text": "When true, the component must have a value in order for the form to submit."
|
|
658
|
+
},
|
|
659
|
+
"attribute": "required",
|
|
660
|
+
"reflect": false,
|
|
661
|
+
"defaultValue": "false"
|
|
662
|
+
},
|
|
663
|
+
"scale": {
|
|
664
|
+
"type": "string",
|
|
665
|
+
"mutable": true,
|
|
666
|
+
"complexType": {
|
|
667
|
+
"original": "Scale",
|
|
668
|
+
"resolved": "\"l\" | \"m\" | \"s\"",
|
|
669
|
+
"references": {
|
|
670
|
+
"Scale": {
|
|
671
|
+
"location": "import",
|
|
672
|
+
"path": "../interfaces"
|
|
673
|
+
}
|
|
674
|
+
}
|
|
675
|
+
},
|
|
676
|
+
"required": false,
|
|
677
|
+
"optional": false,
|
|
678
|
+
"docs": {
|
|
679
|
+
"tags": [],
|
|
680
|
+
"text": "Specifies the size of the component."
|
|
681
|
+
},
|
|
682
|
+
"attribute": "scale",
|
|
683
|
+
"reflect": true,
|
|
684
|
+
"defaultValue": "\"m\""
|
|
685
|
+
},
|
|
686
|
+
"status": {
|
|
687
|
+
"type": "string",
|
|
688
|
+
"mutable": true,
|
|
689
|
+
"complexType": {
|
|
690
|
+
"original": "Status",
|
|
691
|
+
"resolved": "\"idle\" | \"invalid\" | \"valid\"",
|
|
692
|
+
"references": {
|
|
693
|
+
"Status": {
|
|
694
|
+
"location": "import",
|
|
695
|
+
"path": "../interfaces"
|
|
696
|
+
}
|
|
697
|
+
}
|
|
698
|
+
},
|
|
699
|
+
"required": false,
|
|
700
|
+
"optional": false,
|
|
701
|
+
"docs": {
|
|
702
|
+
"tags": [],
|
|
703
|
+
"text": "Specifies the status of the input field, which determines message and icons."
|
|
704
|
+
},
|
|
705
|
+
"attribute": "status",
|
|
706
|
+
"reflect": true,
|
|
707
|
+
"defaultValue": "\"idle\""
|
|
708
|
+
},
|
|
709
|
+
"suffixText": {
|
|
710
|
+
"type": "string",
|
|
711
|
+
"mutable": false,
|
|
712
|
+
"complexType": {
|
|
713
|
+
"original": "string",
|
|
714
|
+
"resolved": "string",
|
|
715
|
+
"references": {}
|
|
716
|
+
},
|
|
717
|
+
"required": false,
|
|
718
|
+
"optional": true,
|
|
719
|
+
"docs": {
|
|
720
|
+
"tags": [],
|
|
721
|
+
"text": "Adds text to the end of the component."
|
|
722
|
+
},
|
|
723
|
+
"attribute": "suffix-text",
|
|
724
|
+
"reflect": false
|
|
725
|
+
},
|
|
726
|
+
"editingEnabled": {
|
|
727
|
+
"type": "boolean",
|
|
728
|
+
"mutable": true,
|
|
729
|
+
"complexType": {
|
|
730
|
+
"original": "boolean",
|
|
731
|
+
"resolved": "boolean",
|
|
732
|
+
"references": {}
|
|
733
|
+
},
|
|
734
|
+
"required": false,
|
|
735
|
+
"optional": false,
|
|
736
|
+
"docs": {
|
|
737
|
+
"tags": [{
|
|
738
|
+
"name": "internal",
|
|
739
|
+
"text": undefined
|
|
740
|
+
}],
|
|
741
|
+
"text": ""
|
|
742
|
+
},
|
|
743
|
+
"attribute": "editing-enabled",
|
|
744
|
+
"reflect": true,
|
|
745
|
+
"defaultValue": "false"
|
|
746
|
+
},
|
|
747
|
+
"value": {
|
|
748
|
+
"type": "string",
|
|
749
|
+
"mutable": true,
|
|
750
|
+
"complexType": {
|
|
751
|
+
"original": "string",
|
|
752
|
+
"resolved": "string",
|
|
753
|
+
"references": {}
|
|
754
|
+
},
|
|
755
|
+
"required": false,
|
|
756
|
+
"optional": false,
|
|
757
|
+
"docs": {
|
|
758
|
+
"tags": [],
|
|
759
|
+
"text": "The component's value."
|
|
760
|
+
},
|
|
761
|
+
"attribute": "value",
|
|
762
|
+
"reflect": false,
|
|
763
|
+
"defaultValue": "\"\""
|
|
764
|
+
}
|
|
765
|
+
}; }
|
|
766
|
+
static get events() { return [{
|
|
767
|
+
"method": "calciteInternalInputTextFocus",
|
|
768
|
+
"name": "calciteInternalInputTextFocus",
|
|
769
|
+
"bubbles": true,
|
|
770
|
+
"cancelable": true,
|
|
771
|
+
"composed": true,
|
|
772
|
+
"docs": {
|
|
773
|
+
"tags": [{
|
|
774
|
+
"name": "internal",
|
|
775
|
+
"text": undefined
|
|
776
|
+
}],
|
|
777
|
+
"text": ""
|
|
778
|
+
},
|
|
779
|
+
"complexType": {
|
|
780
|
+
"original": "{\n element: HTMLInputElement;\n value: string;\n }",
|
|
781
|
+
"resolved": "{ element: HTMLInputElement; value: string; }",
|
|
782
|
+
"references": {
|
|
783
|
+
"HTMLInputElement": {
|
|
784
|
+
"location": "global"
|
|
785
|
+
}
|
|
786
|
+
}
|
|
787
|
+
}
|
|
788
|
+
}, {
|
|
789
|
+
"method": "calciteInternalInputTextBlur",
|
|
790
|
+
"name": "calciteInternalInputTextBlur",
|
|
791
|
+
"bubbles": true,
|
|
792
|
+
"cancelable": true,
|
|
793
|
+
"composed": true,
|
|
794
|
+
"docs": {
|
|
795
|
+
"tags": [{
|
|
796
|
+
"name": "internal",
|
|
797
|
+
"text": undefined
|
|
798
|
+
}],
|
|
799
|
+
"text": ""
|
|
800
|
+
},
|
|
801
|
+
"complexType": {
|
|
802
|
+
"original": "{ element: HTMLInputElement; value: string }",
|
|
803
|
+
"resolved": "{ element: HTMLInputElement; value: string; }",
|
|
804
|
+
"references": {
|
|
805
|
+
"HTMLInputElement": {
|
|
806
|
+
"location": "global"
|
|
807
|
+
}
|
|
808
|
+
}
|
|
809
|
+
}
|
|
810
|
+
}, {
|
|
811
|
+
"method": "calciteInputTextInput",
|
|
812
|
+
"name": "calciteInputTextInput",
|
|
813
|
+
"bubbles": true,
|
|
814
|
+
"cancelable": true,
|
|
815
|
+
"composed": true,
|
|
816
|
+
"docs": {
|
|
817
|
+
"tags": [],
|
|
818
|
+
"text": "Fires each time a new value is typed."
|
|
819
|
+
},
|
|
820
|
+
"complexType": {
|
|
821
|
+
"original": "{\n element: HTMLInputElement;\n nativeEvent: MouseEvent | KeyboardEvent | InputEvent;\n value: string;\n }",
|
|
822
|
+
"resolved": "{ element: HTMLInputElement; nativeEvent: MouseEvent | KeyboardEvent | InputEvent; value: string; }",
|
|
823
|
+
"references": {
|
|
824
|
+
"HTMLInputElement": {
|
|
825
|
+
"location": "global"
|
|
826
|
+
},
|
|
827
|
+
"MouseEvent": {
|
|
828
|
+
"location": "global"
|
|
829
|
+
},
|
|
830
|
+
"KeyboardEvent": {
|
|
831
|
+
"location": "global"
|
|
832
|
+
},
|
|
833
|
+
"InputEvent": {
|
|
834
|
+
"location": "global"
|
|
835
|
+
}
|
|
836
|
+
}
|
|
837
|
+
}
|
|
838
|
+
}, {
|
|
839
|
+
"method": "calciteInputTextChange",
|
|
840
|
+
"name": "calciteInputTextChange",
|
|
841
|
+
"bubbles": true,
|
|
842
|
+
"cancelable": true,
|
|
843
|
+
"composed": true,
|
|
844
|
+
"docs": {
|
|
845
|
+
"tags": [],
|
|
846
|
+
"text": "Fires each time a new value is typed and committed."
|
|
847
|
+
},
|
|
848
|
+
"complexType": {
|
|
849
|
+
"original": "void",
|
|
850
|
+
"resolved": "void",
|
|
851
|
+
"references": {}
|
|
852
|
+
}
|
|
853
|
+
}]; }
|
|
854
|
+
static get methods() { return {
|
|
855
|
+
"setFocus": {
|
|
856
|
+
"complexType": {
|
|
857
|
+
"signature": "() => Promise<void>",
|
|
858
|
+
"parameters": [],
|
|
859
|
+
"references": {
|
|
860
|
+
"Promise": {
|
|
861
|
+
"location": "global"
|
|
862
|
+
}
|
|
863
|
+
},
|
|
864
|
+
"return": "Promise<void>"
|
|
865
|
+
},
|
|
866
|
+
"docs": {
|
|
867
|
+
"text": "Sets focus on the component.",
|
|
868
|
+
"tags": []
|
|
869
|
+
}
|
|
870
|
+
},
|
|
871
|
+
"selectText": {
|
|
872
|
+
"complexType": {
|
|
873
|
+
"signature": "() => Promise<void>",
|
|
874
|
+
"parameters": [],
|
|
875
|
+
"references": {
|
|
876
|
+
"Promise": {
|
|
877
|
+
"location": "global"
|
|
878
|
+
}
|
|
879
|
+
},
|
|
880
|
+
"return": "Promise<void>"
|
|
881
|
+
},
|
|
882
|
+
"docs": {
|
|
883
|
+
"text": "Selects all text of the component's `value`.",
|
|
884
|
+
"tags": []
|
|
885
|
+
}
|
|
886
|
+
}
|
|
887
|
+
}; }
|
|
888
|
+
static get elementRef() { return "el"; }
|
|
889
|
+
static get watchers() { return [{
|
|
890
|
+
"propName": "disabled",
|
|
891
|
+
"methodName": "disabledWatcher"
|
|
892
|
+
}, {
|
|
893
|
+
"propName": "value",
|
|
894
|
+
"methodName": "valueWatcher"
|
|
895
|
+
}, {
|
|
896
|
+
"propName": "icon",
|
|
897
|
+
"methodName": "updateRequestedIcon"
|
|
898
|
+
}]; }
|
|
899
|
+
}
|