@esri/calcite-components 1.0.0-next.463 → 1.0.0-next.464
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/icon/configure16.json +1 -0
- package/dist/calcite/assets/icon/configure24.json +1 -0
- package/dist/calcite/assets/icon/configure32.json +1 -0
- package/dist/calcite/assets/icon/debugScript16.json +1 -0
- package/dist/calcite/assets/icon/debugScript24.json +1 -0
- package/dist/calcite/assets/icon/debugScript32.json +1 -0
- package/dist/calcite/assets/icon/dissolveFeatures24.json +1 -1
- package/dist/calcite/assets/icon/profileVariables16.json +1 -0
- package/dist/calcite/assets/icon/profileVariables24.json +1 -0
- package/dist/calcite/assets/icon/profileVariables32.json +1 -0
- package/dist/calcite/assets/icon/testData16.json +1 -0
- package/dist/calcite/assets/icon/testData24.json +1 -0
- package/dist/calcite/assets/icon/testData32.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-a10a7033.system.entry.js → p-0d6735b5.system.entry.js} +2 -2
- package/dist/calcite/{p-067ec802.entry.js → p-11762c64.entry.js} +2 -2
- package/dist/calcite/{p-e7ad40f8.system.js → p-125f03f8.system.js} +1 -1
- package/dist/calcite/{p-d3ed373e.entry.js → p-1394a98e.entry.js} +2 -2
- package/dist/calcite/{p-54921a0f.system.js → p-13d9f64b.system.js} +1 -1
- package/dist/calcite/{p-69ed1a6a.system.entry.js → p-13f8c3b7.system.entry.js} +2 -2
- package/dist/calcite/{p-d3fff0e6.system.entry.js → p-15043636.system.entry.js} +2 -2
- package/dist/calcite/{p-935d3d34.entry.js → p-1909b8e2.entry.js} +2 -2
- package/dist/calcite/{p-698a69e3.entry.js → p-1abc0661.entry.js} +2 -2
- package/dist/calcite/{p-f94ef41e.entry.js → p-1ad53ca4.entry.js} +2 -2
- package/dist/calcite/{p-f452a7ef.entry.js → p-1ec74a30.entry.js} +2 -2
- package/dist/calcite/{p-225e070b.system.js → p-1f7e9d80.system.js} +1 -1
- package/dist/calcite/{p-966eacae.js → p-20018e14.js} +2 -2
- package/dist/calcite/p-2141a553.system.entry.js +6 -0
- package/dist/calcite/{p-723e6a58.system.entry.js → p-22437b2f.system.entry.js} +2 -2
- package/dist/calcite/{p-676ea8f3.system.js → p-244b9388.system.js} +2 -2
- package/dist/calcite/{p-27a45f19.entry.js → p-26848d8c.entry.js} +2 -2
- package/dist/calcite/{p-7247130b.system.entry.js → p-27813e18.system.entry.js} +2 -2
- package/dist/calcite/{p-dee24ce2.system.entry.js → p-27a07bd5.system.entry.js} +2 -2
- package/dist/calcite/p-28a2b2c1.entry.js +6 -0
- package/dist/calcite/{p-9f34e6ed.system.entry.js → p-2a5b5cb1.system.entry.js} +2 -2
- package/dist/calcite/{p-f468edcd.entry.js → p-2a7ea441.entry.js} +2 -2
- package/dist/calcite/{p-5d3ce50b.system.entry.js → p-2cf03381.system.entry.js} +2 -2
- package/dist/calcite/{p-3b0435eb.entry.js → p-2d96975c.entry.js} +2 -2
- package/dist/calcite/{p-b5f633a5.js → p-2d9c5035.js} +1 -1
- package/dist/calcite/{p-70b93d65.js → p-2e2e4c4f.js} +1 -1
- package/dist/calcite/{p-012bac2f.system.entry.js → p-2ea4d9c2.system.entry.js} +2 -2
- package/dist/calcite/{p-36a10379.system.js → p-2eb354df.system.js} +1 -1
- package/dist/calcite/p-2ec9ae22.entry.js +6 -0
- package/dist/calcite/{p-d604f84d.entry.js → p-3112ff36.entry.js} +2 -2
- package/dist/calcite/{p-30b68104.system.entry.js → p-31264ee9.system.entry.js} +2 -2
- package/dist/calcite/p-3143aaae.system.js +6 -0
- package/dist/calcite/p-31e74680.system.entry.js +6 -0
- package/dist/calcite/{p-689daf2f.system.entry.js → p-32702123.system.entry.js} +2 -2
- package/dist/calcite/{p-03763324.entry.js → p-34c422d1.entry.js} +2 -2
- package/dist/calcite/{p-d1a695ef.entry.js → p-3574110a.entry.js} +2 -2
- package/dist/calcite/{p-bfd25463.system.js → p-39955394.system.js} +1 -1
- package/dist/calcite/{p-2afda726.system.entry.js → p-3e407416.system.entry.js} +2 -2
- package/dist/calcite/{p-a116f984.system.entry.js → p-40ad5605.system.entry.js} +2 -2
- package/dist/calcite/{p-04937667.system.entry.js → p-43b05946.system.entry.js} +2 -2
- package/dist/calcite/{p-6720f642.entry.js → p-463f3d91.entry.js} +2 -2
- package/dist/calcite/{p-80c66ef6.js → p-47af97a5.js} +1 -1
- package/dist/calcite/{p-30dffd65.system.entry.js → p-4a914a25.system.entry.js} +3 -3
- package/dist/calcite/{p-d64a7840.js → p-4d55e334.js} +2 -2
- package/dist/calcite/{p-8b7d78b5.system.entry.js → p-4f115393.system.entry.js} +3 -3
- package/dist/calcite/{p-17cfb9c1.system.entry.js → p-50901118.system.entry.js} +2 -2
- package/dist/calcite/{p-d159bdc7.system.entry.js → p-50d9115f.system.entry.js} +2 -2
- package/dist/calcite/{p-cbdaab9c.system.entry.js → p-517461d4.system.entry.js} +2 -2
- package/dist/calcite/{p-a32c02b2.system.entry.js → p-5312d940.system.entry.js} +2 -2
- package/dist/calcite/{p-493cf5fc.entry.js → p-5532199b.entry.js} +2 -2
- package/dist/calcite/{p-6b82d37a.entry.js → p-55396ff1.entry.js} +2 -2
- package/dist/calcite/{p-29ed09b3.system.entry.js → p-554049e6.system.entry.js} +3 -3
- package/dist/calcite/{p-f991d05a.system.entry.js → p-579eb4dd.system.entry.js} +2 -2
- package/dist/calcite/{p-5f2ab479.system.js → p-5a0ce8d9.system.js} +2 -2
- package/dist/calcite/{p-77d89707.js → p-5ac02e5e.js} +1 -1
- package/dist/calcite/{p-3b663fe3.entry.js → p-5b1ad494.entry.js} +2 -2
- package/dist/calcite/{p-85b200b1.system.entry.js → p-5b31a833.system.entry.js} +2 -2
- package/dist/calcite/{p-6071b8bf.entry.js → p-5cd1fd53.entry.js} +2 -2
- package/dist/calcite/p-5d421e57.system.entry.js +6 -0
- package/dist/calcite/{p-073fd396.system.js → p-5d555d40.system.js} +1 -1
- package/dist/calcite/{p-807c0746.entry.js → p-63a4c3bb.entry.js} +2 -2
- package/dist/calcite/{p-74bf1ba2.js → p-63bca189.js} +1 -1
- package/dist/calcite/{p-d2bd3e50.system.js → p-6558d88c.system.js} +2 -2
- package/dist/calcite/{p-c58e1477.system.entry.js → p-669ceba9.system.entry.js} +2 -2
- package/dist/calcite/{p-05ff73fa.system.js → p-68740877.system.js} +1 -1
- package/dist/calcite/{p-41edf365.js → p-696fba1e.js} +2 -2
- package/dist/calcite/{p-1e972f14.js → p-698adce1.js} +1 -1
- package/dist/calcite/{p-ee130cac.system.js → p-69933390.system.js} +1 -1
- package/dist/calcite/p-6ccc36d6.system.js +6 -0
- package/dist/calcite/{p-45721bc0.system.entry.js → p-6d3b92e9.system.entry.js} +2 -2
- package/dist/calcite/{p-71236fc9.entry.js → p-701eaf25.entry.js} +2 -2
- package/dist/calcite/{p-ecf5a2bd.js → p-7066289c.js} +2 -2
- package/dist/calcite/{p-3ecd932e.entry.js → p-70932301.entry.js} +2 -2
- package/dist/calcite/{p-072c5078.entry.js → p-7235190c.entry.js} +2 -2
- package/dist/calcite/{p-5d71b7da.entry.js → p-73fce09c.entry.js} +2 -2
- package/dist/calcite/{p-586668c1.js → p-75783a86.js} +1 -1
- package/dist/calcite/{p-f7850dc8.entry.js → p-759a8b8f.entry.js} +2 -2
- package/dist/calcite/{p-9a39f2ad.system.entry.js → p-7962ee4a.system.entry.js} +2 -2
- package/dist/calcite/{p-430e291b.system.js → p-79934fcb.system.js} +1 -1
- package/dist/calcite/{p-137de7a9.system.js → p-7a27ed8a.system.js} +2 -2
- package/dist/calcite/{p-7475a9e7.system.entry.js → p-7bcf7f41.system.entry.js} +2 -2
- package/dist/calcite/{p-26bfa2c8.entry.js → p-7d916c69.entry.js} +2 -2
- package/dist/calcite/{p-cdb71230.js → p-81bc5338.js} +2 -2
- package/dist/calcite/{p-05b658c3.system.js → p-86a919ae.system.js} +1 -1
- package/dist/calcite/{p-08a0e5e7.system.entry.js → p-8710763e.system.entry.js} +2 -2
- package/dist/calcite/{p-f937bc8c.entry.js → p-871f717c.entry.js} +2 -2
- package/dist/calcite/p-8798d024.js +6 -0
- package/dist/calcite/{p-42ca4516.system.js → p-885e7357.system.js} +2 -2
- package/dist/calcite/{p-a9b775b2.js → p-8bb081ed.js} +1 -1
- package/dist/calcite/{p-8a835fa9.entry.js → p-8cd21d33.entry.js} +2 -2
- package/dist/calcite/{p-3fc798b0.js → p-90c3d7b8.js} +2 -2
- package/dist/calcite/{p-4b8c54ff.system.entry.js → p-916c131d.system.entry.js} +2 -2
- package/dist/calcite/{p-946dfbbe.entry.js → p-91d8f613.entry.js} +2 -2
- package/dist/calcite/{p-db491eaa.entry.js → p-93482c63.entry.js} +2 -2
- package/dist/calcite/{p-a8c3f4e4.js → p-93eb488c.js} +1 -1
- package/dist/calcite/{p-f72f050b.entry.js → p-97846b5b.entry.js} +2 -2
- package/dist/calcite/{p-18214d4e.js → p-990b5578.js} +1 -1
- package/dist/calcite/{p-39ab2b28.entry.js → p-99311e75.entry.js} +2 -2
- package/dist/calcite/p-9d5c2148.js +6 -0
- package/dist/calcite/{p-c4d7b59e.entry.js → p-9d7e6385.entry.js} +2 -2
- package/dist/calcite/{p-920eeb64.entry.js → p-9dfb3d89.entry.js} +2 -2
- package/dist/calcite/{p-21e2f111.entry.js → p-9eba200f.entry.js} +2 -2
- package/dist/calcite/{p-44002bba.system.js → p-9eddc595.system.js} +2 -2
- package/dist/calcite/{p-41de1929.system.entry.js → p-a0bfe758.system.entry.js} +2 -2
- package/dist/calcite/{p-67114561.entry.js → p-a32153dc.entry.js} +2 -2
- package/dist/calcite/{p-c706af28.system.entry.js → p-a52600b2.system.entry.js} +2 -2
- package/dist/calcite/{p-fbc26740.entry.js → p-a5705999.entry.js} +2 -2
- package/dist/calcite/p-a82d50dd.js +6 -0
- package/dist/calcite/{p-68d9e58f.system.entry.js → p-a84cef19.system.entry.js} +2 -2
- package/dist/calcite/{p-55e8aae7.system.entry.js → p-a90d71e1.system.entry.js} +2 -2
- package/dist/calcite/{p-0b234a4e.entry.js → p-a9336637.entry.js} +2 -2
- package/dist/calcite/{p-b04542ff.js → p-a96b81eb.js} +1 -1
- package/dist/calcite/{p-c6bd1de7.system.entry.js → p-ab28b1fd.system.entry.js} +2 -2
- package/dist/calcite/{p-eba1098d.entry.js → p-ae85866a.entry.js} +2 -2
- package/dist/calcite/{p-977e2f2b.system.entry.js → p-aee4341a.system.entry.js} +2 -2
- package/dist/calcite/{p-63e00123.system.js → p-b0ff427b.system.js} +2 -2
- package/dist/calcite/{p-cd25fd53.entry.js → p-b1e61905.entry.js} +2 -2
- package/dist/calcite/{p-e18b1b95.system.entry.js → p-b29ca66f.system.entry.js} +2 -2
- package/dist/calcite/p-b4cd0b0b.entry.js +6 -0
- package/dist/calcite/{p-a36c3433.system.js → p-b6789eb0.system.js} +2 -2
- package/dist/calcite/{p-7b4eb54d.system.js → p-b7fb8ef6.system.js} +3 -3
- package/dist/calcite/{p-7bf6b07a.system.entry.js → p-b8c6a78b.system.entry.js} +2 -2
- package/dist/calcite/{p-aa7868b7.entry.js → p-b91b7b3b.entry.js} +2 -2
- package/dist/calcite/{p-4baae866.entry.js → p-bd530f1d.entry.js} +2 -2
- package/dist/calcite/{p-88812e35.entry.js → p-be34413c.entry.js} +2 -2
- package/dist/calcite/{p-d36cbfc9.system.entry.js → p-bf0589a2.system.entry.js} +2 -2
- package/dist/calcite/{p-995a2abe.system.js → p-bfda16a7.system.js} +2 -2
- package/dist/calcite/{p-360efa27.entry.js → p-c0d5a76d.entry.js} +2 -2
- package/dist/calcite/{p-6ad06ac7.system.js → p-c1d349fb.system.js} +1 -1
- package/dist/calcite/{p-278c6aa7.system.entry.js → p-c32e6eeb.system.entry.js} +2 -2
- package/dist/calcite/p-ca93b4f6.entry.js +6 -0
- package/dist/calcite/{p-f903ded8.entry.js → p-cc8c8358.entry.js} +2 -2
- package/dist/calcite/{p-f7435fc9.system.js → p-cf3863ea.system.js} +1 -1
- package/dist/calcite/{p-2e89b88a.system.entry.js → p-d0a514cc.system.entry.js} +2 -2
- package/dist/calcite/{p-bcf85a09.system.entry.js → p-d1a72fed.system.entry.js} +2 -2
- package/dist/calcite/{p-b9447f9d.system.entry.js → p-d20f13dd.system.entry.js} +2 -2
- package/dist/calcite/{p-1db9909c.system.entry.js → p-d228c759.system.entry.js} +2 -2
- package/dist/calcite/{p-c5fbab16.entry.js → p-d33becb0.entry.js} +2 -2
- package/dist/calcite/{p-8f0f191f.entry.js → p-d3cc6dbd.entry.js} +2 -2
- package/dist/calcite/{p-640889b4.entry.js → p-d47df039.entry.js} +2 -2
- package/dist/calcite/{p-3c53fae2.js → p-d486b73b.js} +2 -2
- package/dist/calcite/{p-dad38a9d.system.entry.js → p-d52265e0.system.entry.js} +2 -2
- package/dist/calcite/{p-5f44791e.system.entry.js → p-d556fb32.system.entry.js} +2 -2
- package/dist/calcite/{p-a46f9a15.entry.js → p-d652640c.entry.js} +2 -2
- package/dist/calcite/{p-c5d15f7c.system.entry.js → p-d6d4a0e5.system.entry.js} +2 -2
- package/dist/calcite/{p-77e0f1ba.system.js → p-da4bcc0b.system.js} +2 -2
- package/dist/calcite/{p-0522f64b.system.entry.js → p-dc6ec892.system.entry.js} +2 -2
- package/dist/calcite/{p-bb2d0079.system.entry.js → p-dcb4f1b7.system.entry.js} +2 -2
- package/dist/calcite/{p-489d6ea3.entry.js → p-dda9f2b4.entry.js} +2 -2
- package/dist/calcite/{p-79a24ed8.system.entry.js → p-defc7f08.system.entry.js} +2 -2
- package/dist/calcite/{p-2eb0e6b1.js → p-e1573e68.js} +2 -2
- package/dist/calcite/{p-3cd9efd8.entry.js → p-e71e948a.entry.js} +2 -2
- package/dist/calcite/{p-a6715157.system.entry.js → p-e79663e4.system.entry.js} +2 -2
- package/dist/calcite/{p-feb710e4.system.entry.js → p-e7f3a9ba.system.entry.js} +2 -2
- package/dist/calcite/{p-44d3686d.system.entry.js → p-e9661f8e.system.entry.js} +2 -2
- package/dist/calcite/{p-db524aef.entry.js → p-ecb6cebc.entry.js} +2 -2
- package/dist/calcite/{p-9325521b.entry.js → p-edf1d1d6.entry.js} +2 -2
- package/dist/calcite/{p-185f9c9b.system.js → p-ef4ebea8.system.js} +1 -1
- package/dist/calcite/{p-3a4c9534.entry.js → p-efd81171.entry.js} +2 -2
- package/dist/calcite/{p-4190c2db.js → p-f2754244.js} +2 -2
- package/dist/calcite/{p-35bd5b33.js → p-f362f361.js} +1 -1
- package/dist/calcite/{p-24639718.system.entry.js → p-f39998bd.system.entry.js} +2 -2
- package/dist/calcite/{p-b21561ed.system.entry.js → p-f4ba2ef6.system.entry.js} +2 -2
- package/dist/calcite/{p-f54d8728.entry.js → p-fc39c8fc.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-eec03d68.js → ExpandToggle-ed0e6137.js} +5 -5
- package/dist/cjs/{Heading-3dca469a.js → Heading-5026b1f6.js} +2 -2
- package/dist/cjs/{array-c55dfade.js → array-7739be65.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +4 -4
- 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 +8 -8
- 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 +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 +10 -10
- 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-time-picker_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-input.cjs.entry.js +11 -11
- package/dist/cjs/calcite-label.cjs.entry.js +5 -5
- package/dist/cjs/calcite-link.cjs.entry.js +5 -5
- package/dist/cjs/calcite-list_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +6 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
- package/dist/cjs/calcite-option_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-pagination.cjs.entry.js +2 -2
- package/dist/cjs/calcite-panel.cjs.entry.js +31 -10
- 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 +7 -7
- 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 +111 -99
- 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-a75bd651.js → conditionalSlot-a1ce2c50.js} +3 -3
- package/dist/cjs/{debounce-81dd86f2.js → debounce-b57b4366.js} +1 -1
- package/dist/cjs/{dom-638a3591.js → dom-8563ad97.js} +2 -2
- package/dist/cjs/{forIn-f55313be.js → forIn-8b9a52b1.js} +2 -2
- package/dist/cjs/{form-3294e196.js → form-ff578dd7.js} +3 -3
- package/dist/cjs/{guid-d5bb6094.js → guid-bbfbacf8.js} +1 -1
- package/dist/cjs/{index-92a35a7d.js → index-9ad3f4ec.js} +1 -4
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-5cbde708.js → interactive-274cf120.js} +1 -1
- package/dist/cjs/{interfaces-7b17a4dd.js → interfaces-e6abfe6b.js} +1 -1
- package/dist/cjs/{label-c132e6a6.js → label-7caeb189.js} +2 -2
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{locale-6602a5f7.js → locale-b79cfca1.js} +2 -2
- package/dist/cjs/{math-99f530cf.js → math-2c9fced1.js} +1 -1
- package/dist/cjs/{number-501f63b2.js → number-e039884b.js} +1 -1
- package/dist/cjs/{observers-bfab8337.js → observers-73fbf3b3.js} +1 -1
- package/dist/cjs/{popper-7f7e9026.js → popper-a32c2309.js} +2 -2
- package/dist/cjs/{resources-2b6a1a83.js → resources-948002c1.js} +3 -3
- package/dist/cjs/{resources-73235792.js → resources-955a0bcc.js} +5 -5
- package/dist/cjs/{resources-ac912490.js → resources-b052215f.js} +1 -1
- package/dist/cjs/{resources-9c8d43de.js → resources-cb8d7cc3.js} +1 -1
- package/dist/cjs/{sortable.esm-91bcdc48.js → sortable.esm-3507f48e.js} +1 -1
- package/dist/cjs/{utils-e6fb1a55.js → utils-3cace99b.js} +1 -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.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.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/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/assets/icon/configure16.json +1 -0
- package/dist/collection/components/icon/assets/icon/configure24.json +1 -0
- package/dist/collection/components/icon/assets/icon/configure32.json +1 -0
- package/dist/collection/components/icon/assets/icon/debugScript16.json +1 -0
- package/dist/collection/components/icon/assets/icon/debugScript24.json +1 -0
- package/dist/collection/components/icon/assets/icon/debugScript32.json +1 -0
- package/dist/collection/components/icon/assets/icon/dissolveFeatures24.json +1 -1
- package/dist/collection/components/icon/assets/icon/profileVariables16.json +1 -0
- package/dist/collection/components/icon/assets/icon/profileVariables24.json +1 -0
- package/dist/collection/components/icon/assets/icon/profileVariables32.json +1 -0
- package/dist/collection/components/icon/assets/icon/testData16.json +1 -0
- package/dist/collection/components/icon/assets/icon/testData24.json +1 -0
- package/dist/collection/components/icon/assets/icon/testData32.json +1 -0
- 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-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/interfaces.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/modal/interfaces.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +25 -3
- 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.css +27 -0
- 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 +6 -0
- package/dist/collection/components/stepper/stepper.js +74 -49
- package/dist/collection/components/stepper-item/stepper-item.js +71 -73
- 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 +2 -2
- 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/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 +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 +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 +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 +1 -1
- 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-time-picker.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +24 -2
- 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 +2 -2
- 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 +47 -58
- package/dist/components/calcite-stepper.js +62 -39
- 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 +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/forIn.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/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/number.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/popper.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.js +131 -98
- package/dist/esm/{ExpandToggle-fdd1d5e0.js → ExpandToggle-791d306b.js} +5 -5
- package/dist/esm/{Heading-d9ebdbbf.js → Heading-b4e2ed84.js} +2 -2
- package/dist/esm/{array-2b4c1f87.js → array-c3d1a08d.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +4 -4
- 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 +8 -8
- 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 +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 +10 -10
- 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-time-picker_2.entry.js +8 -8
- package/dist/esm/calcite-input.entry.js +11 -11
- package/dist/esm/calcite-label.entry.js +5 -5
- package/dist/esm/calcite-link.entry.js +5 -5
- package/dist/esm/calcite-list_3.entry.js +8 -8
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +6 -6
- package/dist/esm/calcite-notice.entry.js +7 -7
- package/dist/esm/calcite-option_3.entry.js +8 -8
- package/dist/esm/calcite-pagination.entry.js +2 -2
- package/dist/esm/calcite-panel.entry.js +31 -10
- 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 +7 -7
- 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 +111 -99
- 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-89778d70.js → conditionalSlot-4f7a799a.js} +3 -3
- package/dist/esm/{debounce-ba30afcb.js → debounce-4ee433e8.js} +1 -1
- package/dist/esm/{dom-214e75a1.js → dom-a2932582.js} +2 -2
- package/dist/esm/{forIn-31833178.js → forIn-58c0fc60.js} +2 -2
- package/dist/esm/{form-d34ea9da.js → form-f7e25bb7.js} +3 -3
- package/dist/esm/{guid-8f74d44f.js → guid-19d940ff.js} +1 -1
- package/dist/esm/{index-1caffe24.js → index-d261ca5a.js} +1 -4
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-fd6bb7b4.js → interactive-b38097f6.js} +1 -1
- package/dist/esm/{interfaces-de98f02e.js → interfaces-bbf7cc65.js} +1 -1
- package/dist/esm/{label-837acdbb.js → label-2f6ec862.js} +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{locale-8b4a419a.js → locale-e52a164b.js} +2 -2
- package/dist/esm/{math-f0a6db03.js → math-a938e6e0.js} +1 -1
- package/dist/esm/{number-9105c8e0.js → number-7694f29a.js} +1 -1
- package/dist/esm/{observers-29febf6c.js → observers-a2053cce.js} +1 -1
- package/dist/esm/{popper-2e46e645.js → popper-838cc3a3.js} +2 -2
- package/dist/esm/{resources-e24b29c2.js → resources-1e1a97e9.js} +1 -1
- package/dist/esm/{resources-75a96a0b.js → resources-68442e39.js} +5 -5
- package/dist/esm/{resources-e42a37cb.js → resources-b4f2d363.js} +3 -3
- package/dist/esm/{resources-2ac98c80.js → resources-e29ae7d9.js} +1 -1
- package/dist/esm/{sortable.esm-a459ad18.js → sortable.esm-daa6d5c1.js} +1 -1
- package/dist/esm/{utils-70278bc4.js → utils-0ffe1aed.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-fdd1d5e0.js → ExpandToggle-791d306b.js} +2 -2
- package/dist/esm-es5/{Heading-d9ebdbbf.js → Heading-b4e2ed84.js} +2 -2
- package/dist/esm-es5/{array-2b4c1f87.js → array-c3d1a08d.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 +3 -3
- package/dist/esm-es5/calcite-action-pad.entry.js +3 -3
- 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 +2 -2
- package/dist/esm-es5/calcite-input-message.entry.js +2 -2
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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-89778d70.js → conditionalSlot-4f7a799a.js} +2 -2
- package/dist/esm-es5/{debounce-ba30afcb.js → debounce-4ee433e8.js} +1 -1
- package/dist/esm-es5/{dom-214e75a1.js → dom-a2932582.js} +2 -2
- package/dist/esm-es5/{forIn-31833178.js → forIn-58c0fc60.js} +2 -2
- package/dist/esm-es5/{form-d34ea9da.js → form-f7e25bb7.js} +2 -2
- package/dist/esm-es5/{guid-8f74d44f.js → guid-19d940ff.js} +1 -1
- package/dist/esm-es5/{index-1caffe24.js → index-d261ca5a.js} +2 -2
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-fd6bb7b4.js → interactive-b38097f6.js} +1 -1
- package/dist/esm-es5/{interfaces-de98f02e.js → interfaces-bbf7cc65.js} +1 -1
- package/dist/esm-es5/{label-837acdbb.js → label-2f6ec862.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-8b4a419a.js → locale-e52a164b.js} +2 -2
- package/dist/esm-es5/{math-f0a6db03.js → math-a938e6e0.js} +1 -1
- package/dist/esm-es5/{number-9105c8e0.js → number-7694f29a.js} +1 -1
- package/dist/esm-es5/{observers-29febf6c.js → observers-a2053cce.js} +1 -1
- package/dist/esm-es5/{popper-2e46e645.js → popper-838cc3a3.js} +2 -2
- package/dist/esm-es5/{resources-e24b29c2.js → resources-1e1a97e9.js} +1 -1
- package/dist/esm-es5/{resources-75a96a0b.js → resources-68442e39.js} +2 -2
- package/dist/esm-es5/{resources-e42a37cb.js → resources-b4f2d363.js} +2 -2
- package/dist/esm-es5/{resources-2ac98c80.js → resources-e29ae7d9.js} +1 -1
- package/dist/esm-es5/{sortable.esm-a459ad18.js → sortable.esm-daa6d5c1.js} +1 -1
- package/dist/esm-es5/{utils-70278bc4.js → utils-0ffe1aed.js} +1 -1
- package/dist/extras/docs-json.json +3 -8
- 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/panel/panel.d.ts +3 -0
- package/dist/types/components/stepper/interfaces.d.ts +10 -0
- package/dist/types/components/stepper/stepper.d.ts +14 -9
- package/dist/types/components/stepper-item/stepper-item.d.ts +7 -8
- package/dist/types/components/tab-title/tab-title.d.ts +1 -1
- package/dist/types/components.d.ts +4 -3
- package/hydrate/index.js +133 -101
- package/package.json +2 -2
- package/dist/calcite/p-13e51a75.system.entry.js +0 -6
- package/dist/calcite/p-27420098.entry.js +0 -6
- package/dist/calcite/p-2a615182.system.entry.js +0 -6
- package/dist/calcite/p-317352ba.entry.js +0 -6
- package/dist/calcite/p-499ed95d.js +0 -6
- package/dist/calcite/p-676a9d2a.system.js +0 -6
- package/dist/calcite/p-6f876aa0.system.js +0 -6
- package/dist/calcite/p-76e38da9.system.entry.js +0 -6
- package/dist/calcite/p-7be626d2.entry.js +0 -6
- package/dist/calcite/p-895fa8d6.js +0 -6
- package/dist/calcite/p-8a331a16.js +0 -6
- package/dist/calcite/p-a576cc5c.entry.js +0 -6
package/hydrate/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.464
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -4743,7 +4743,7 @@ function hydrateFactory($stencilWindow, $stencilHydrateOpts, $stencilHydrateResu
|
|
|
4743
4743
|
|
|
4744
4744
|
|
|
4745
4745
|
const NAMESPACE = 'calcite';
|
|
4746
|
-
const BUILD = /* calcite */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate:
|
|
4746
|
+
const BUILD = /* calcite */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: true, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: true, constructableCSS: false, cssAnnotations: true, cssVarShim: false, devTools: false, disconnectedCallback: true, dynamicImportShim: false, element: false, event: true, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: true, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: true, hydratedAttribute: false, hydratedClass: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, safari10: false, scoped: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, shadowDomShim: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
|
|
4747
4747
|
|
|
4748
4748
|
function componentOnReady() {
|
|
4749
4749
|
return getHostRef(this).$onReadyPromise$;
|
|
@@ -5213,8 +5213,7 @@ const callRender = (e, t, o) => {
|
|
|
5213
5213
|
}, postUpdateComponent = e => {
|
|
5214
5214
|
const t = e.$cmpMeta$.$tagName$, o = e.$hostElement$, n = createTime("postUpdate", t), s = e.$lazyInstance$ , l = e.$ancestorComponent$;
|
|
5215
5215
|
(safeCall(s, "componentDidRender"),
|
|
5216
|
-
BUILD.isDev ), 64 & e.$flags$ ? ((
|
|
5217
|
-
BUILD.isDev ), n()) : (e.$flags$ |= 64, addHydratedFlag(o),
|
|
5216
|
+
BUILD.isDev ), 64 & e.$flags$ ? (n()) : (e.$flags$ |= 64, addHydratedFlag(o),
|
|
5218
5217
|
(safeCall(s, "componentDidLoad"),
|
|
5219
5218
|
BUILD.isDev ), n(), (e.$onReadyResolve$(o), l || appDidLoad())), e.$onInstanceResolve$(o), (e.$onRenderResolve$ && (e.$onRenderResolve$(),
|
|
5220
5219
|
e.$onRenderResolve$ = void 0), 512 & e.$flags$ && nextTick((() => scheduleUpdate(e, !1))),
|
|
@@ -22441,11 +22440,21 @@ class Panel {
|
|
|
22441
22440
|
* Opens the action menu.
|
|
22442
22441
|
*/
|
|
22443
22442
|
this.menuOpen = false;
|
|
22443
|
+
this.resizeObserver = createObserver();
|
|
22444
22444
|
// --------------------------------------------------------------------------
|
|
22445
22445
|
//
|
|
22446
22446
|
// Private Methods
|
|
22447
22447
|
//
|
|
22448
22448
|
// --------------------------------------------------------------------------
|
|
22449
|
+
this.resizeHandler = () => {
|
|
22450
|
+
const { panelScrollEl } = this;
|
|
22451
|
+
if (!panelScrollEl ||
|
|
22452
|
+
typeof panelScrollEl.scrollHeight !== "number" ||
|
|
22453
|
+
typeof panelScrollEl.offsetHeight !== "number") {
|
|
22454
|
+
return;
|
|
22455
|
+
}
|
|
22456
|
+
panelScrollEl.tabIndex = panelScrollEl.scrollHeight > panelScrollEl.offsetHeight ? 0 : -1;
|
|
22457
|
+
};
|
|
22449
22458
|
this.setContainerRef = (node) => {
|
|
22450
22459
|
this.containerEl = node;
|
|
22451
22460
|
};
|
|
@@ -22470,6 +22479,15 @@ class Panel {
|
|
|
22470
22479
|
this.backButtonClick = () => {
|
|
22471
22480
|
this.calcitePanelBackClick.emit();
|
|
22472
22481
|
};
|
|
22482
|
+
this.setPanelScrollEl = (el) => {
|
|
22483
|
+
var _a, _b;
|
|
22484
|
+
this.panelScrollEl = el;
|
|
22485
|
+
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
22486
|
+
if (el) {
|
|
22487
|
+
(_b = this.resizeObserver) === null || _b === void 0 ? void 0 : _b.observe(el);
|
|
22488
|
+
this.resizeHandler();
|
|
22489
|
+
}
|
|
22490
|
+
};
|
|
22473
22491
|
}
|
|
22474
22492
|
dismissedHandler() {
|
|
22475
22493
|
this.calcitePanelDismissedChange.emit();
|
|
@@ -22491,7 +22509,9 @@ class Panel {
|
|
|
22491
22509
|
connectConditionalSlotComponent(this);
|
|
22492
22510
|
}
|
|
22493
22511
|
disconnectedCallback() {
|
|
22512
|
+
var _a;
|
|
22494
22513
|
disconnectConditionalSlotComponent(this);
|
|
22514
|
+
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
22495
22515
|
}
|
|
22496
22516
|
// --------------------------------------------------------------------------
|
|
22497
22517
|
//
|
|
@@ -22595,7 +22615,7 @@ class Panel {
|
|
|
22595
22615
|
const hasFab = getSlotted(el, SLOTS$c.fab);
|
|
22596
22616
|
const defaultSlotNode = hAsync("slot", { key: "default-slot" });
|
|
22597
22617
|
const contentWrapperKey = "content-wrapper";
|
|
22598
|
-
return hasFab ? (hAsync("div", { class: { [CSS$k.contentWrapper]: true, [CSS$k.contentHeight]: true }, key: contentWrapperKey, onScroll: this.panelScrollHandler, ref:
|
|
22618
|
+
return hasFab ? (hAsync("div", { class: { [CSS$k.contentWrapper]: true, [CSS$k.contentHeight]: true }, key: contentWrapperKey, onScroll: this.panelScrollHandler, ref: this.setPanelScrollEl }, hAsync("section", { class: CSS$k.contentContainer }, defaultSlotNode), this.renderFab())) : (hAsync("section", { class: { [CSS$k.contentWrapper]: true, [CSS$k.contentContainer]: true }, key: contentWrapperKey, onScroll: this.panelScrollHandler, ref: this.setPanelScrollEl }, defaultSlotNode));
|
|
22599
22619
|
}
|
|
22600
22620
|
renderFab() {
|
|
22601
22621
|
return (hAsync("div", { class: CSS$k.fabContainer }, hAsync("slot", { name: SLOTS$c.fab })));
|
|
@@ -25434,7 +25454,7 @@ class ShellPanel {
|
|
|
25434
25454
|
}; }
|
|
25435
25455
|
}
|
|
25436
25456
|
|
|
25437
|
-
const sliderCss = "@charset \"UTF-8\";@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-slider:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-slider{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-slider{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-slider{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-slider{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-slider{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-slider:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-slider-h{display:none}/*!@.scale--s*/.scale--s.sc-calcite-slider{--calcite-slider-handle-size:10px;--calcite-slider-handle-extension-height:6.5px;--calcite-slider-container-font-size:var(--calcite-font-size--3)}/*!@.scale--s .handle__label, .scale--s .tick__label*/.scale--s.sc-calcite-slider .handle__label.sc-calcite-slider,.scale--s.sc-calcite-slider .tick__label.sc-calcite-slider{line-height:.75rem}/*!@.scale--m*/.scale--m.sc-calcite-slider{--calcite-slider-handle-size:14px;--calcite-slider-handle-extension-height:8px;--calcite-slider-container-font-size:var(--calcite-font-size--2)}/*!@.scale--m .handle__label, .scale--m .tick__label*/.scale--m.sc-calcite-slider .handle__label.sc-calcite-slider,.scale--m.sc-calcite-slider .tick__label.sc-calcite-slider{line-height:1rem}/*!@.scale--l*/.scale--l.sc-calcite-slider{--calcite-slider-handle-size:16px;--calcite-slider-handle-extension-height:10.5px;--calcite-slider-container-font-size:var(--calcite-font-size--1)}/*!@.scale--l .handle__label, .scale--l .tick__label*/.scale--l.sc-calcite-slider .handle__label.sc-calcite-slider,.scale--l.sc-calcite-slider .tick__label.sc-calcite-slider{line-height:1rem}/*!@.handle__label, .tick__label*/.handle__label.sc-calcite-slider,.tick__label.sc-calcite-slider{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);font-size:var(--calcite-slider-container-font-size)}/*!@:host*/.sc-calcite-slider-h{display:block}/*!@.container*/.container.sc-calcite-slider{position:relative;display:block;overflow-wrap:normal;word-break:normal;padding:calc(var(--calcite-slider-handle-size) * 0.5);margin:calc(var(--calcite-slider-handle-size) * 0.5) 0;--calcite-slider-full-handle-height:calc(\n var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height)\n )}/*!@:host([disabled])*/[disabled].sc-calcite-slider-h{pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) .track__range,\n:host([disabled]) .tick--active*/[disabled].sc-calcite-slider-h .track__range.sc-calcite-slider,[disabled].sc-calcite-slider-h .tick--active.sc-calcite-slider{background-color:var(--calcite-ui-text-3)}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-slider-h[disabled] .sc-calcite-slider-s>[calcite-hydrated][disabled],[disabled].sc-calcite-slider-h [calcite-hydrated][disabled].sc-calcite-slider{opacity:1}/*!@.scale--s .thumb:not(.thumb--precise)*/.scale--s.sc-calcite-slider .thumb.sc-calcite-slider:not(.thumb--precise){--calcite-slider-thumb-y-offset:-6px}/*!@.scale--m .thumb:not(.thumb--precise)*/.scale--m.sc-calcite-slider .thumb.sc-calcite-slider:not(.thumb--precise){--calcite-slider-thumb-y-offset:-8px}/*!@.scale--l .thumb:not(.thumb--precise)*/.scale--l.sc-calcite-slider .thumb.sc-calcite-slider:not(.thumb--precise){--calcite-slider-thumb-y-offset:-9px}/*!@:host([precise]:not([has-histogram])) .container .thumb--value*/[precise].sc-calcite-slider-h:not([has-histogram]) .container.sc-calcite-slider .thumb--value.sc-calcite-slider{--calcite-slider-thumb-y-offset:calc(var(--calcite-slider-full-handle-height) * -1)}/*!@.thumb-container*/.thumb-container.sc-calcite-slider{position:relative;max-width:100%}/*!@.thumb*/.thumb.sc-calcite-slider{--calcite-slider-thumb-x-offset:calc(var(--calcite-slider-handle-size) * 0.5);position:absolute;margin:0px;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;border-style:none;background-color:transparent;padding:0px;font-family:inherit;outline:2px solid transparent;outline-offset:2px;-webkit-transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset));transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset))}/*!@.thumb .handle__label.static, .thumb .handle__label.transformed*/.thumb.sc-calcite-slider .handle__label.static.sc-calcite-slider,.thumb.sc-calcite-slider .handle__label.transformed.sc-calcite-slider{position:absolute;top:0px;bottom:0px;opacity:0}/*!@.thumb .handle__label.hyphen::after*/.thumb.sc-calcite-slider .handle__label.hyphen.sc-calcite-slider::after{content:\"—\";display:inline-block;width:1em}/*!@.thumb .handle__label.hyphen--wrap*/.thumb.sc-calcite-slider .handle__label.hyphen--wrap.sc-calcite-slider{display:-ms-flexbox;display:flex}/*!@.thumb .handle*/.thumb.sc-calcite-slider .handle.sc-calcite-slider{-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;height:var(--calcite-slider-handle-size);width:var(--calcite-slider-handle-size);-webkit-box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;-webkit-transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, -webkit-box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, -webkit-box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease, -webkit-box-shadow var(--calcite-animation-timing) ease}/*!@.thumb .handle-extension*/.thumb.sc-calcite-slider .handle-extension.sc-calcite-slider{width:0.125rem;height:var(--calcite-slider-handle-extension-height);background-color:var(--calcite-ui-text-3)}/*!@.thumb:hover .handle*/.thumb.sc-calcite-slider:hover .handle.sc-calcite-slider{-webkit-box-shadow:0 0 0 3px var(--calcite-ui-brand) inset;box-shadow:0 0 0 3px var(--calcite-ui-brand) inset}/*!@.thumb:hover .handle-extension*/.thumb.sc-calcite-slider:hover .handle-extension.sc-calcite-slider{background-color:var(--calcite-ui-brand)}/*!@.thumb:focus .handle*/.thumb.sc-calcite-slider:focus .handle.sc-calcite-slider{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}/*!@.thumb:focus .handle-extension*/.thumb.sc-calcite-slider:focus .handle-extension.sc-calcite-slider{background-color:var(--calcite-ui-brand)}/*!@.thumb.thumb--minValue*/.thumb.thumb--minValue.sc-calcite-slider{-webkit-transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset));transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset))}/*!@.thumb.thumb--precise*/.thumb.thumb--precise.sc-calcite-slider{--calcite-slider-thumb-y-offset:-2px}/*!@:host([label-handles]) .thumb*/[label-handles].sc-calcite-slider-h .thumb.sc-calcite-slider{--calcite-slider-thumb-x-offset:50%}/*!@:host([label-handles]):host(:not([has-histogram])) .scale--s .thumb:not(.thumb--precise)*/[label-handles].sc-calcite-slider-h(.sc-calcite-slider-h:not([has-histogram])) .scale--s.sc-calcite-slider .thumb.sc-calcite-slider:not(.thumb--precise){--calcite-slider-thumb-y-offset:-23px}/*!@:host([label-handles]):host(:not([has-histogram])) .scale--m .thumb:not(.thumb--precise)*/[label-handles].sc-calcite-slider-h(.sc-calcite-slider-h:not([has-histogram])) .scale--m.sc-calcite-slider .thumb.sc-calcite-slider:not(.thumb--precise){--calcite-slider-thumb-y-offset:-30px}/*!@:host([label-handles]):host(:not([has-histogram])) .scale--l .thumb:not(.thumb--precise)*/[label-handles].sc-calcite-slider-h(.sc-calcite-slider-h:not([has-histogram])) .scale--l.sc-calcite-slider .thumb.sc-calcite-slider:not(.thumb--precise){--calcite-slider-thumb-y-offset:-32px}/*!@:host([has-histogram][label-handles]) .handle__label,\n:host([label-handles]:not([has-histogram])) .thumb--minValue.thumb--precise .handle__label*/[has-histogram][label-handles].sc-calcite-slider-h .handle__label.sc-calcite-slider,[label-handles].sc-calcite-slider-h:not([has-histogram]) .thumb--minValue.thumb--precise.sc-calcite-slider .handle__label.sc-calcite-slider{margin-top:0.5em}/*!@:host(:not([has-histogram]):not([precise])) .handle__label,\n:host([label-handles]:not([has-histogram])) .thumb--value .handle__label*/.sc-calcite-slider-h:not([has-histogram]):not([precise]) .handle__label.sc-calcite-slider,[label-handles].sc-calcite-slider-h:not([has-histogram]) .thumb--value.sc-calcite-slider .handle__label.sc-calcite-slider{margin-bottom:0.5em}/*!@:host([label-handles][precise]):host(:not([has-histogram])) .scale--s .thumb--value*/[label-handles][precise].sc-calcite-slider-h(.sc-calcite-slider-h:not([has-histogram])) .scale--s.sc-calcite-slider .thumb--value.sc-calcite-slider{--calcite-slider-thumb-y-offset:-33px}/*!@:host([label-handles][precise]):host(:not([has-histogram])) .scale--m .thumb--value*/[label-handles][precise].sc-calcite-slider-h(.sc-calcite-slider-h:not([has-histogram])) .scale--m.sc-calcite-slider .thumb--value.sc-calcite-slider{--calcite-slider-thumb-y-offset:-44px}/*!@:host([label-handles][precise]):host(:not([has-histogram])) .scale--l .thumb--value*/[label-handles][precise].sc-calcite-slider-h(.sc-calcite-slider-h:not([has-histogram])) .scale--l.sc-calcite-slider .thumb--value.sc-calcite-slider{--calcite-slider-thumb-y-offset:-49px}/*!@.thumb:focus .handle, .thumb--active .handle*/.thumb.sc-calcite-slider:focus .handle.sc-calcite-slider,.thumb--active.sc-calcite-slider .handle.sc-calcite-slider{background-color:var(--calcite-ui-brand);-webkit-box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16)}/*!@.thumb:hover.thumb--precise:after, .thumb:focus.thumb--precise:after, .thumb--active.thumb--precise:after*/.thumb.sc-calcite-slider:hover.thumb--precise:after,.thumb.sc-calcite-slider:focus.thumb--precise:after,.thumb--active.thumb--precise.sc-calcite-slider:after{background-color:var(--calcite-ui-brand)}/*!@.track*/.track.sc-calcite-slider{position:relative;height:0.125rem;border-radius:0px;background-color:var(--calcite-ui-border-2);-webkit-transition:all var(--calcite-internal-animation-timing-medium) ease-in;transition:all var(--calcite-internal-animation-timing-medium) ease-in}/*!@.track__range*/.track__range.sc-calcite-slider{position:absolute;top:0px;height:0.125rem;background-color:var(--calcite-ui-brand)}/*!@.container--range .track__range:hover*/.container--range.sc-calcite-slider .track__range.sc-calcite-slider:hover{cursor:ew-resize}/*!@.container--range .track__range:after*/.container--range.sc-calcite-slider .track__range.sc-calcite-slider:after{position:absolute;width:100%;content:\"\";top:calc(var(--calcite-slider-full-handle-height) * 0.5 * -1);height:calc(var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height))}/*!@.tick*/.tick.sc-calcite-slider{position:absolute;height:0.25rem;width:0.125rem;border-width:1px;border-style:solid;background-color:var(--calcite-ui-border-input);border-color:var(--calcite-ui-foreground-1);top:-2px;pointer-events:none;-webkit-margin-start:calc(-1 * 0.125rem);margin-inline-start:calc(-1 * 0.125rem)}/*!@.tick--active*/.tick--active.sc-calcite-slider{background-color:var(--calcite-ui-brand)}/*!@.tick__label*/.tick__label.sc-calcite-slider{pointer-events:none;margin-top:0.875rem;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}/*!@.tick__label--min*/.tick__label--min.sc-calcite-slider{-webkit-transition:opacity var(--calcite-animation-timing);transition:opacity var(--calcite-animation-timing)}/*!@.tick__label--max*/.tick__label--max.sc-calcite-slider{-webkit-transition:opacity var(--calcite-internal-animation-timing-fast);transition:opacity var(--calcite-internal-animation-timing-fast)}/*!@:host([has-histogram][label-handles]) .tick__label--min, :host([has-histogram][label-handles]) .tick__label--max, :host([has-histogram][precise]) .tick__label--min, :host([has-histogram][precise]) .tick__label--max*/[has-histogram][label-handles].sc-calcite-slider-h .tick__label--min.sc-calcite-slider,[has-histogram][label-handles].sc-calcite-slider-h .tick__label--max.sc-calcite-slider,[has-histogram][precise].sc-calcite-slider-h .tick__label--min.sc-calcite-slider,[has-histogram][precise].sc-calcite-slider-h .tick__label--max.sc-calcite-slider{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}/*!@.graph*/.graph.sc-calcite-slider{color:var(--calcite-ui-foreground-3);height:48px}/*!@:host([label-ticks][ticks]) .container*/[label-ticks][ticks].sc-calcite-slider-h .container.sc-calcite-slider{padding-bottom:calc(0.875rem + var(--calcite-slider-container-font-size))}/*!@:host([has-histogram]):host([precise][label-handles]) .container*/[has-histogram].sc-calcite-slider-h([precise][label-handles]).sc-calcite-slider-h .container.sc-calcite-slider{padding-bottom:calc(var(--calcite-slider-full-handle-height) + 1em)}/*!@:host([has-histogram]):host([label-handles]:not([precise])) .container*/[has-histogram].sc-calcite-slider-h([label-handles].sc-calcite-slider-h:not([precise])) .container.sc-calcite-slider{padding-bottom:calc(var(--calcite-slider-handle-size) * 0.5 + 1em)}/*!@:host([has-histogram]):host([precise]:not([label-handles])) .container*/[has-histogram].sc-calcite-slider-h([precise].sc-calcite-slider-h:not([label-handles])) .container.sc-calcite-slider{padding-bottom:var(--calcite-slider-full-handle-height)}/*!@:host(:not([has-histogram])):host([precise]:not([label-handles])) .container*/.sc-calcite-slider-h:not([has-histogram]).sc-calcite-slider-h([precise]:not([label-handles])) .container.sc-calcite-slider{padding-top:var(--calcite-slider-full-handle-height)}/*!@:host(:not([has-histogram])):host([precise]:not([label-handles])) .container--range*/.sc-calcite-slider-h:not([has-histogram]).sc-calcite-slider-h([precise]:not([label-handles])) .container--range.sc-calcite-slider{padding-bottom:var(--calcite-slider-full-handle-height)}/*!@:host(:not([has-histogram])):host([label-handles]:not([precise])) .container*/.sc-calcite-slider-h:not([has-histogram]).sc-calcite-slider-h([label-handles]:not([precise])) .container.sc-calcite-slider{padding-top:calc(var(--calcite-slider-full-handle-height) + 4px)}/*!@:host(:not([has-histogram])):host([label-handles][precise]) .container*/.sc-calcite-slider-h:not([has-histogram]).sc-calcite-slider-h([label-handles][precise]) .container.sc-calcite-slider{padding-top:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}/*!@:host(:not([has-histogram])):host([label-handles][precise]) .container--range*/.sc-calcite-slider-h:not([has-histogram]).sc-calcite-slider-h([label-handles][precise]) .container--range.sc-calcite-slider{padding-bottom:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}/*!@::slotted(input[slot=hidden-form-input])*/.sc-calcite-slider-s>input[slot=hidden-form-input]{bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
|
25457
|
+
const sliderCss = "@charset \"UTF-8\";@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-slider:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-slider{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-slider{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-slider{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-slider{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-slider{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-slider:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-slider-h{display:none}/*!@.scale--s*/.scale--s.sc-calcite-slider{--calcite-slider-handle-size:10px;--calcite-slider-handle-extension-height:6.5px;--calcite-slider-container-font-size:var(--calcite-font-size--3)}/*!@.scale--s .handle__label, .scale--s .tick__label*/.scale--s.sc-calcite-slider .handle__label.sc-calcite-slider,.scale--s.sc-calcite-slider .tick__label.sc-calcite-slider{line-height:.75rem}/*!@.scale--m*/.scale--m.sc-calcite-slider{--calcite-slider-handle-size:14px;--calcite-slider-handle-extension-height:8px;--calcite-slider-container-font-size:var(--calcite-font-size--2)}/*!@.scale--m .handle__label, .scale--m .tick__label*/.scale--m.sc-calcite-slider .handle__label.sc-calcite-slider,.scale--m.sc-calcite-slider .tick__label.sc-calcite-slider{line-height:1rem}/*!@.scale--l*/.scale--l.sc-calcite-slider{--calcite-slider-handle-size:16px;--calcite-slider-handle-extension-height:10.5px;--calcite-slider-container-font-size:var(--calcite-font-size--1)}/*!@.scale--l .handle__label, .scale--l .tick__label*/.scale--l.sc-calcite-slider .handle__label.sc-calcite-slider,.scale--l.sc-calcite-slider .tick__label.sc-calcite-slider{line-height:1rem}/*!@.handle__label, .tick__label*/.handle__label.sc-calcite-slider,.tick__label.sc-calcite-slider{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);font-size:var(--calcite-slider-container-font-size)}/*!@:host*/.sc-calcite-slider-h{display:block}/*!@.container*/.container.sc-calcite-slider{position:relative;display:block;overflow-wrap:normal;word-break:normal;padding:calc(var(--calcite-slider-handle-size) * 0.5);margin:calc(var(--calcite-slider-handle-size) * 0.5) 0;--calcite-slider-full-handle-height:calc(\n var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height)\n )}/*!@:host([disabled])*/[disabled].sc-calcite-slider-h{pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) .track__range,\n:host([disabled]) .tick--active*/[disabled].sc-calcite-slider-h .track__range.sc-calcite-slider,[disabled].sc-calcite-slider-h .tick--active.sc-calcite-slider{background-color:var(--calcite-ui-text-3)}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-slider-h[disabled] .sc-calcite-slider-s>[calcite-hydrated][disabled],[disabled].sc-calcite-slider-h [calcite-hydrated][disabled].sc-calcite-slider{opacity:1}/*!@.scale--s .thumb:not(.thumb--precise)*/.scale--s.sc-calcite-slider .thumb.sc-calcite-slider:not(.thumb--precise){--calcite-slider-thumb-y-offset:-6px}/*!@.scale--m .thumb:not(.thumb--precise)*/.scale--m.sc-calcite-slider .thumb.sc-calcite-slider:not(.thumb--precise){--calcite-slider-thumb-y-offset:-8px}/*!@.scale--l .thumb:not(.thumb--precise)*/.scale--l.sc-calcite-slider .thumb.sc-calcite-slider:not(.thumb--precise){--calcite-slider-thumb-y-offset:-9px}/*!@:host([precise]:not([has-histogram])) .container .thumb--value*/[precise].sc-calcite-slider-h:not([has-histogram]) .container.sc-calcite-slider .thumb--value.sc-calcite-slider{--calcite-slider-thumb-y-offset:calc(var(--calcite-slider-full-handle-height) * -1)}/*!@.thumb-container*/.thumb-container.sc-calcite-slider{position:relative;max-width:100%}/*!@.thumb*/.thumb.sc-calcite-slider{--calcite-slider-thumb-x-offset:calc(var(--calcite-slider-handle-size) * 0.5);position:absolute;margin:0px;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;border-style:none;background-color:transparent;padding:0px;font-family:inherit;outline:2px solid transparent;outline-offset:2px;-webkit-transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset));transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset))}/*!@.thumb .handle__label.static, .thumb .handle__label.transformed*/.thumb.sc-calcite-slider .handle__label.static.sc-calcite-slider,.thumb.sc-calcite-slider .handle__label.transformed.sc-calcite-slider{position:absolute;top:0px;bottom:0px;opacity:0}/*!@.thumb .handle__label.hyphen::after*/.thumb.sc-calcite-slider .handle__label.hyphen.sc-calcite-slider::after{content:\"—\";display:inline-block;width:1em}/*!@.thumb .handle__label.hyphen--wrap*/.thumb.sc-calcite-slider .handle__label.hyphen--wrap.sc-calcite-slider{display:-ms-flexbox;display:flex}/*!@.thumb .handle*/.thumb.sc-calcite-slider .handle.sc-calcite-slider{-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;height:var(--calcite-slider-handle-size);width:var(--calcite-slider-handle-size);-webkit-box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;-webkit-transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, -webkit-box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, -webkit-box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease, -webkit-box-shadow var(--calcite-animation-timing) ease}/*!@.thumb .handle-extension*/.thumb.sc-calcite-slider .handle-extension.sc-calcite-slider{width:0.125rem;height:var(--calcite-slider-handle-extension-height);background-color:var(--calcite-ui-text-3)}/*!@.thumb:hover .handle*/.thumb.sc-calcite-slider:hover .handle.sc-calcite-slider{-webkit-box-shadow:0 0 0 3px var(--calcite-ui-brand) inset;box-shadow:0 0 0 3px var(--calcite-ui-brand) inset}/*!@.thumb:hover .handle-extension*/.thumb.sc-calcite-slider:hover .handle-extension.sc-calcite-slider{background-color:var(--calcite-ui-brand)}/*!@.thumb:focus .handle*/.thumb.sc-calcite-slider:focus .handle.sc-calcite-slider{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}/*!@.thumb:focus .handle-extension*/.thumb.sc-calcite-slider:focus .handle-extension.sc-calcite-slider{background-color:var(--calcite-ui-brand)}/*!@.thumb.thumb--minValue*/.thumb.thumb--minValue.sc-calcite-slider{-webkit-transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset));transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset))}/*!@.thumb.thumb--precise*/.thumb.thumb--precise.sc-calcite-slider{--calcite-slider-thumb-y-offset:-2px}/*!@:host([label-handles]) .thumb*/[label-handles].sc-calcite-slider-h .thumb.sc-calcite-slider{--calcite-slider-thumb-x-offset:50%}/*!@:host([label-handles]):host(:not([has-histogram])) .scale--s .thumb:not(.thumb--precise)*/[label-handles].sc-calcite-slider-h(.sc-calcite-slider-h:not([has-histogram])) .scale--s.sc-calcite-slider .thumb.sc-calcite-slider:not(.thumb--precise){--calcite-slider-thumb-y-offset:-23px}/*!@:host([label-handles]):host(:not([has-histogram])) .scale--m .thumb:not(.thumb--precise)*/[label-handles].sc-calcite-slider-h(.sc-calcite-slider-h:not([has-histogram])) .scale--m.sc-calcite-slider .thumb.sc-calcite-slider:not(.thumb--precise){--calcite-slider-thumb-y-offset:-30px}/*!@:host([label-handles]):host(:not([has-histogram])) .scale--l .thumb:not(.thumb--precise)*/[label-handles].sc-calcite-slider-h(.sc-calcite-slider-h:not([has-histogram])) .scale--l.sc-calcite-slider .thumb.sc-calcite-slider:not(.thumb--precise){--calcite-slider-thumb-y-offset:-32px}/*!@:host([has-histogram][label-handles]) .handle__label,\n:host([label-handles]:not([has-histogram])) .thumb--minValue.thumb--precise .handle__label*/[has-histogram][label-handles].sc-calcite-slider-h .handle__label.sc-calcite-slider,[label-handles].sc-calcite-slider-h:not([has-histogram]) .thumb--minValue.thumb--precise.sc-calcite-slider .handle__label.sc-calcite-slider{margin-top:0.5em}/*!@:host(:not([has-histogram]):not([precise])) .handle__label,\n:host([label-handles]:not([has-histogram])) .thumb--value .handle__label*/.sc-calcite-slider-h:not([has-histogram]):not([precise]) .handle__label.sc-calcite-slider,[label-handles].sc-calcite-slider-h:not([has-histogram]) .thumb--value.sc-calcite-slider .handle__label.sc-calcite-slider{margin-bottom:0.5em}/*!@:host([label-handles][precise]):host(:not([has-histogram])) .scale--s .thumb--value*/[label-handles][precise].sc-calcite-slider-h(.sc-calcite-slider-h:not([has-histogram])) .scale--s.sc-calcite-slider .thumb--value.sc-calcite-slider{--calcite-slider-thumb-y-offset:-33px}/*!@:host([label-handles][precise]):host(:not([has-histogram])) .scale--m .thumb--value*/[label-handles][precise].sc-calcite-slider-h(.sc-calcite-slider-h:not([has-histogram])) .scale--m.sc-calcite-slider .thumb--value.sc-calcite-slider{--calcite-slider-thumb-y-offset:-44px}/*!@:host([label-handles][precise]):host(:not([has-histogram])) .scale--l .thumb--value*/[label-handles][precise].sc-calcite-slider-h(.sc-calcite-slider-h:not([has-histogram])) .scale--l.sc-calcite-slider .thumb--value.sc-calcite-slider{--calcite-slider-thumb-y-offset:-49px}/*!@.thumb:focus .handle, .thumb--active .handle*/.thumb.sc-calcite-slider:focus .handle.sc-calcite-slider,.thumb--active.sc-calcite-slider .handle.sc-calcite-slider{background-color:var(--calcite-ui-brand);-webkit-box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16)}/*!@.thumb:hover.thumb--precise:after, .thumb:focus.thumb--precise:after, .thumb--active.thumb--precise:after*/.thumb.sc-calcite-slider:hover.thumb--precise:after,.thumb.sc-calcite-slider:focus.thumb--precise:after,.thumb--active.thumb--precise.sc-calcite-slider:after{background-color:var(--calcite-ui-brand)}/*!@.track*/.track.sc-calcite-slider{position:relative;height:0.125rem;border-radius:0px;background-color:var(--calcite-ui-border-2);-webkit-transition:all var(--calcite-internal-animation-timing-medium) ease-in;transition:all var(--calcite-internal-animation-timing-medium) ease-in}/*!@.track__range*/.track__range.sc-calcite-slider{position:absolute;top:0px;height:0.125rem;background-color:var(--calcite-ui-brand)}/*!@.container--range .track__range:hover*/.container--range.sc-calcite-slider .track__range.sc-calcite-slider:hover{cursor:ew-resize}/*!@.container--range .track__range:after*/.container--range.sc-calcite-slider .track__range.sc-calcite-slider:after{position:absolute;width:100%;content:\"\";top:calc(var(--calcite-slider-full-handle-height) * 0.5 * -1);height:calc(var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height))}@media (forced-colors: active){/*!@.thumb*/.thumb.sc-calcite-slider{outline-width:0;outline-offset:0}/*!@.handle*/.handle.sc-calcite-slider{outline:2px solid transparent;outline-offset:2px}/*!@.thumb:focus .handle,\n.thumb .handle-extension,\n.thumb:hover .handle-extension,\n.thumb:focus .handle-extension,\n.thumb:active .handle-extension*/.thumb.sc-calcite-slider:focus .handle.sc-calcite-slider,.thumb.sc-calcite-slider .handle-extension.sc-calcite-slider,.thumb.sc-calcite-slider:hover .handle-extension.sc-calcite-slider,.thumb.sc-calcite-slider:focus .handle-extension.sc-calcite-slider,.thumb.sc-calcite-slider:active .handle-extension.sc-calcite-slider{background-color:canvasText}/*!@.track*/.track.sc-calcite-slider{background-color:canvasText}/*!@.track__range*/.track__range.sc-calcite-slider{background-color:highlight}}/*!@.tick*/.tick.sc-calcite-slider{position:absolute;height:0.25rem;width:0.125rem;border-width:1px;border-style:solid;background-color:var(--calcite-ui-border-input);border-color:var(--calcite-ui-foreground-1);top:-2px;pointer-events:none;-webkit-margin-start:calc(-1 * 0.125rem);margin-inline-start:calc(-1 * 0.125rem)}/*!@.tick--active*/.tick--active.sc-calcite-slider{background-color:var(--calcite-ui-brand)}/*!@.tick__label*/.tick__label.sc-calcite-slider{pointer-events:none;margin-top:0.875rem;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}/*!@.tick__label--min*/.tick__label--min.sc-calcite-slider{-webkit-transition:opacity var(--calcite-animation-timing);transition:opacity var(--calcite-animation-timing)}/*!@.tick__label--max*/.tick__label--max.sc-calcite-slider{-webkit-transition:opacity var(--calcite-internal-animation-timing-fast);transition:opacity var(--calcite-internal-animation-timing-fast)}/*!@:host([has-histogram][label-handles]) .tick__label--min, :host([has-histogram][label-handles]) .tick__label--max, :host([has-histogram][precise]) .tick__label--min, :host([has-histogram][precise]) .tick__label--max*/[has-histogram][label-handles].sc-calcite-slider-h .tick__label--min.sc-calcite-slider,[has-histogram][label-handles].sc-calcite-slider-h .tick__label--max.sc-calcite-slider,[has-histogram][precise].sc-calcite-slider-h .tick__label--min.sc-calcite-slider,[has-histogram][precise].sc-calcite-slider-h .tick__label--max.sc-calcite-slider{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}/*!@.graph*/.graph.sc-calcite-slider{color:var(--calcite-ui-foreground-3);height:48px}/*!@:host([label-ticks][ticks]) .container*/[label-ticks][ticks].sc-calcite-slider-h .container.sc-calcite-slider{padding-bottom:calc(0.875rem + var(--calcite-slider-container-font-size))}/*!@:host([has-histogram]):host([precise][label-handles]) .container*/[has-histogram].sc-calcite-slider-h([precise][label-handles]).sc-calcite-slider-h .container.sc-calcite-slider{padding-bottom:calc(var(--calcite-slider-full-handle-height) + 1em)}/*!@:host([has-histogram]):host([label-handles]:not([precise])) .container*/[has-histogram].sc-calcite-slider-h([label-handles].sc-calcite-slider-h:not([precise])) .container.sc-calcite-slider{padding-bottom:calc(var(--calcite-slider-handle-size) * 0.5 + 1em)}/*!@:host([has-histogram]):host([precise]:not([label-handles])) .container*/[has-histogram].sc-calcite-slider-h([precise].sc-calcite-slider-h:not([label-handles])) .container.sc-calcite-slider{padding-bottom:var(--calcite-slider-full-handle-height)}/*!@:host(:not([has-histogram])):host([precise]:not([label-handles])) .container*/.sc-calcite-slider-h:not([has-histogram]).sc-calcite-slider-h([precise]:not([label-handles])) .container.sc-calcite-slider{padding-top:var(--calcite-slider-full-handle-height)}/*!@:host(:not([has-histogram])):host([precise]:not([label-handles])) .container--range*/.sc-calcite-slider-h:not([has-histogram]).sc-calcite-slider-h([precise]:not([label-handles])) .container--range.sc-calcite-slider{padding-bottom:var(--calcite-slider-full-handle-height)}/*!@:host(:not([has-histogram])):host([label-handles]:not([precise])) .container*/.sc-calcite-slider-h:not([has-histogram]).sc-calcite-slider-h([label-handles]:not([precise])) .container.sc-calcite-slider{padding-top:calc(var(--calcite-slider-full-handle-height) + 4px)}/*!@:host(:not([has-histogram])):host([label-handles][precise]) .container*/.sc-calcite-slider-h:not([has-histogram]).sc-calcite-slider-h([label-handles][precise]) .container.sc-calcite-slider{padding-top:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}/*!@:host(:not([has-histogram])):host([label-handles][precise]) .container--range*/.sc-calcite-slider-h:not([has-histogram]).sc-calcite-slider-h([label-handles][precise]) .container--range.sc-calcite-slider{padding-bottom:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}/*!@::slotted(input[slot=hidden-form-input])*/.sc-calcite-slider-s>input[slot=hidden-form-input]{bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
|
25438
25458
|
|
|
25439
25459
|
function isRange(value) {
|
|
25440
25460
|
return Array.isArray(value);
|
|
@@ -29552,10 +29572,12 @@ class Stepper {
|
|
|
29552
29572
|
// Private State/Props
|
|
29553
29573
|
//
|
|
29554
29574
|
//--------------------------------------------------------------------------
|
|
29555
|
-
/**
|
|
29575
|
+
/** map of Stepper items */
|
|
29576
|
+
this.itemMap = new Map();
|
|
29577
|
+
/** list of sorted Stepper items */
|
|
29556
29578
|
this.items = [];
|
|
29557
|
-
/**
|
|
29558
|
-
this.
|
|
29579
|
+
/** list of enabled Stepper items */
|
|
29580
|
+
this.enabledItems = [];
|
|
29559
29581
|
}
|
|
29560
29582
|
// watch for removal of disabled to register step
|
|
29561
29583
|
contentWatcher() {
|
|
@@ -29596,7 +29618,7 @@ class Stepper {
|
|
|
29596
29618
|
const item = e.detail.item;
|
|
29597
29619
|
const itemToFocus = e.target;
|
|
29598
29620
|
const isFirstItem = this.itemIndex(itemToFocus) === 0;
|
|
29599
|
-
const isLastItem = this.itemIndex(itemToFocus) === this.
|
|
29621
|
+
const isLastItem = this.itemIndex(itemToFocus) === this.enabledItems.length - 1;
|
|
29600
29622
|
switch (item.key) {
|
|
29601
29623
|
case "ArrowDown":
|
|
29602
29624
|
case "ArrowRight":
|
|
@@ -29625,18 +29647,14 @@ class Stepper {
|
|
|
29625
29647
|
}
|
|
29626
29648
|
}
|
|
29627
29649
|
registerItem(event) {
|
|
29628
|
-
const item =
|
|
29629
|
-
|
|
29630
|
-
|
|
29631
|
-
|
|
29632
|
-
};
|
|
29633
|
-
if (item.content && item.item.active) {
|
|
29634
|
-
this.requestedContent = item.content;
|
|
29650
|
+
const item = event.target;
|
|
29651
|
+
const { content, position } = event.detail;
|
|
29652
|
+
if (content && item.active) {
|
|
29653
|
+
this.requestedContent = content;
|
|
29635
29654
|
}
|
|
29636
|
-
|
|
29637
|
-
|
|
29638
|
-
|
|
29639
|
-
this.sortedItems = this.sortItems();
|
|
29655
|
+
this.itemMap.set(item, position);
|
|
29656
|
+
this.items = this.sortItems();
|
|
29657
|
+
this.enabledItems = this.filterItems();
|
|
29640
29658
|
}
|
|
29641
29659
|
updateItem(event) {
|
|
29642
29660
|
if (event.detail.content) {
|
|
@@ -29654,31 +29672,46 @@ class Stepper {
|
|
|
29654
29672
|
//--------------------------------------------------------------------------
|
|
29655
29673
|
/** set the next step as active */
|
|
29656
29674
|
async nextStep() {
|
|
29657
|
-
this.currentPosition
|
|
29658
|
-
|
|
29659
|
-
|
|
29660
|
-
|
|
29675
|
+
const enabledStepIndex = this.getEnabledStepIndex(this.currentPosition + 1, "next");
|
|
29676
|
+
if (typeof enabledStepIndex !== "number") {
|
|
29677
|
+
return;
|
|
29678
|
+
}
|
|
29679
|
+
this.currentPosition = enabledStepIndex;
|
|
29661
29680
|
this.emitChangedItem();
|
|
29662
29681
|
}
|
|
29663
29682
|
/** set the previous step as active */
|
|
29664
29683
|
async prevStep() {
|
|
29665
|
-
this.currentPosition
|
|
29666
|
-
|
|
29684
|
+
const enabledStepIndex = this.getEnabledStepIndex(this.currentPosition - 1, "previous");
|
|
29685
|
+
if (typeof enabledStepIndex !== "number") {
|
|
29686
|
+
return;
|
|
29687
|
+
}
|
|
29688
|
+
this.currentPosition = enabledStepIndex;
|
|
29667
29689
|
this.emitChangedItem();
|
|
29668
29690
|
}
|
|
29669
29691
|
/** set the requested step as active */
|
|
29670
|
-
async goToStep(
|
|
29671
|
-
|
|
29672
|
-
this.
|
|
29692
|
+
async goToStep(step) {
|
|
29693
|
+
const position = step - 1;
|
|
29694
|
+
if (this.currentPosition !== position) {
|
|
29695
|
+
this.currentPosition = position;
|
|
29696
|
+
this.emitChangedItem();
|
|
29697
|
+
}
|
|
29673
29698
|
}
|
|
29674
29699
|
/** set the first step as active */
|
|
29675
29700
|
async startStep() {
|
|
29676
|
-
|
|
29701
|
+
const enabledStepIndex = this.getEnabledStepIndex(0, "next");
|
|
29702
|
+
if (typeof enabledStepIndex !== "number") {
|
|
29703
|
+
return;
|
|
29704
|
+
}
|
|
29705
|
+
this.currentPosition = enabledStepIndex;
|
|
29677
29706
|
this.emitChangedItem();
|
|
29678
29707
|
}
|
|
29679
29708
|
/** set the last step as active */
|
|
29680
29709
|
async endStep() {
|
|
29681
|
-
|
|
29710
|
+
const enabledStepIndex = this.getEnabledStepIndex(this.items.length - 1, "previous");
|
|
29711
|
+
if (typeof enabledStepIndex !== "number") {
|
|
29712
|
+
return;
|
|
29713
|
+
}
|
|
29714
|
+
this.currentPosition = enabledStepIndex;
|
|
29682
29715
|
this.emitChangedItem();
|
|
29683
29716
|
}
|
|
29684
29717
|
//--------------------------------------------------------------------------
|
|
@@ -29686,6 +29719,17 @@ class Stepper {
|
|
|
29686
29719
|
// Private Methods
|
|
29687
29720
|
//
|
|
29688
29721
|
//--------------------------------------------------------------------------
|
|
29722
|
+
getEnabledStepIndex(startIndex, direction = "next") {
|
|
29723
|
+
var _a;
|
|
29724
|
+
const { items, currentPosition } = this;
|
|
29725
|
+
let newIndex = startIndex;
|
|
29726
|
+
while ((_a = items[newIndex]) === null || _a === void 0 ? void 0 : _a.disabled) {
|
|
29727
|
+
newIndex = newIndex + (direction === "previous" ? -1 : 1);
|
|
29728
|
+
}
|
|
29729
|
+
return newIndex !== currentPosition && newIndex < items.length && newIndex >= 0
|
|
29730
|
+
? newIndex
|
|
29731
|
+
: null;
|
|
29732
|
+
}
|
|
29689
29733
|
addHorizontalContentContainer() {
|
|
29690
29734
|
this.stepperContentContainer = document.createElement("div");
|
|
29691
29735
|
this.stepperContentContainer.classList.add("calcite-stepper-content");
|
|
@@ -29697,36 +29741,35 @@ class Stepper {
|
|
|
29697
29741
|
});
|
|
29698
29742
|
}
|
|
29699
29743
|
focusFirstItem() {
|
|
29700
|
-
const firstItem = this.
|
|
29744
|
+
const firstItem = this.enabledItems[0];
|
|
29701
29745
|
this.focusElement(firstItem);
|
|
29702
29746
|
}
|
|
29703
29747
|
focusLastItem() {
|
|
29704
|
-
const lastItem = this.
|
|
29748
|
+
const lastItem = this.enabledItems[this.enabledItems.length - 1];
|
|
29705
29749
|
this.focusElement(lastItem);
|
|
29706
29750
|
}
|
|
29707
29751
|
focusNextItem(e) {
|
|
29708
29752
|
const index = this.itemIndex(e);
|
|
29709
|
-
const nextItem = this.
|
|
29753
|
+
const nextItem = this.enabledItems[index + 1] || this.enabledItems[0];
|
|
29710
29754
|
this.focusElement(nextItem);
|
|
29711
29755
|
}
|
|
29712
29756
|
focusPrevItem(e) {
|
|
29713
29757
|
const index = this.itemIndex(e);
|
|
29714
|
-
const prevItem = this.
|
|
29758
|
+
const prevItem = this.enabledItems[index - 1] || this.enabledItems[this.enabledItems.length - 1];
|
|
29715
29759
|
this.focusElement(prevItem);
|
|
29716
29760
|
}
|
|
29717
29761
|
itemIndex(e) {
|
|
29718
|
-
return this.
|
|
29762
|
+
return this.enabledItems.indexOf(e);
|
|
29719
29763
|
}
|
|
29720
29764
|
focusElement(item) {
|
|
29721
|
-
|
|
29722
|
-
target.focus();
|
|
29765
|
+
item.focus();
|
|
29723
29766
|
}
|
|
29724
29767
|
sortItems() {
|
|
29725
|
-
const
|
|
29726
|
-
|
|
29727
|
-
|
|
29728
|
-
|
|
29729
|
-
return
|
|
29768
|
+
const { itemMap } = this;
|
|
29769
|
+
return Array.from(itemMap.keys()).sort((a, b) => itemMap.get(a) - itemMap.get(b));
|
|
29770
|
+
}
|
|
29771
|
+
filterItems() {
|
|
29772
|
+
return this.items.filter((item) => !item.disabled);
|
|
29730
29773
|
}
|
|
29731
29774
|
updateContent(content) {
|
|
29732
29775
|
this.stepperContentContainer.innerHTML = "";
|
|
@@ -29791,6 +29834,50 @@ class StepperItem {
|
|
|
29791
29834
|
/** the scale of the item */
|
|
29792
29835
|
/** @internal */
|
|
29793
29836
|
this.scale = "m";
|
|
29837
|
+
//--------------------------------------------------------------------------
|
|
29838
|
+
//
|
|
29839
|
+
// Private Methods
|
|
29840
|
+
//
|
|
29841
|
+
//--------------------------------------------------------------------------
|
|
29842
|
+
this.keyDownHandler = (e) => {
|
|
29843
|
+
if (!this.disabled && e.target === this.el) {
|
|
29844
|
+
switch (e.key) {
|
|
29845
|
+
case " ":
|
|
29846
|
+
case "Enter":
|
|
29847
|
+
this.emitRequestedItem();
|
|
29848
|
+
e.preventDefault();
|
|
29849
|
+
break;
|
|
29850
|
+
case "ArrowUp":
|
|
29851
|
+
case "ArrowDown":
|
|
29852
|
+
case "ArrowLeft":
|
|
29853
|
+
case "ArrowRight":
|
|
29854
|
+
case "Home":
|
|
29855
|
+
case "End":
|
|
29856
|
+
this.calciteStepperItemKeyEvent.emit({ item: e });
|
|
29857
|
+
e.preventDefault();
|
|
29858
|
+
break;
|
|
29859
|
+
}
|
|
29860
|
+
}
|
|
29861
|
+
};
|
|
29862
|
+
this.emitRequestedItem = () => {
|
|
29863
|
+
if (!this.disabled) {
|
|
29864
|
+
this.calciteStepperItemSelect.emit({
|
|
29865
|
+
position: this.itemPosition,
|
|
29866
|
+
content: this.itemContent
|
|
29867
|
+
});
|
|
29868
|
+
}
|
|
29869
|
+
};
|
|
29870
|
+
this.setItemContent = (event) => {
|
|
29871
|
+
this.itemPosition = this.getItemPosition();
|
|
29872
|
+
const itemContent = event.target.assignedNodes({ flatten: true });
|
|
29873
|
+
if (itemContent.length) {
|
|
29874
|
+
this.itemContent = itemContent;
|
|
29875
|
+
}
|
|
29876
|
+
this.registerStepperItem();
|
|
29877
|
+
if (this.active) {
|
|
29878
|
+
this.emitRequestedItem();
|
|
29879
|
+
}
|
|
29880
|
+
};
|
|
29794
29881
|
}
|
|
29795
29882
|
// watch for removal of disabled to register step
|
|
29796
29883
|
disabledWatcher() {
|
|
@@ -29808,50 +29895,17 @@ class StepperItem {
|
|
|
29808
29895
|
this.scale = getElementProp(this.el, "scale", "m");
|
|
29809
29896
|
this.parentStepperEl = this.el.parentElement;
|
|
29810
29897
|
}
|
|
29811
|
-
componentDidLoad() {
|
|
29812
|
-
this.itemPosition = this.getItemPosition();
|
|
29813
|
-
this.itemContent = this.getItemContent();
|
|
29814
|
-
this.registerStepperItem();
|
|
29815
|
-
if (this.active) {
|
|
29816
|
-
this.emitRequestedItem();
|
|
29817
|
-
}
|
|
29818
|
-
}
|
|
29819
|
-
componentDidUpdate() {
|
|
29820
|
-
if (this.active) {
|
|
29821
|
-
this.emitRequestedItem();
|
|
29822
|
-
}
|
|
29823
|
-
}
|
|
29824
29898
|
componentDidRender() {
|
|
29825
29899
|
updateHostInteraction(this, true);
|
|
29826
29900
|
}
|
|
29827
29901
|
render() {
|
|
29828
|
-
return (hAsync(Host, { "aria-expanded": toAriaBoolean(this.active), onClick:
|
|
29902
|
+
return (hAsync(Host, { "aria-expanded": toAriaBoolean(this.active), onClick: this.emitRequestedItem, onKeyDown: this.keyDownHandler }, hAsync("div", { class: "container" }, hAsync("div", { class: "stepper-item-header" }, this.icon ? this.renderIcon() : null, this.numbered ? (hAsync("div", { class: "stepper-item-number" }, this.getItemPosition() + 1, ".")) : null, hAsync("div", { class: "stepper-item-header-text" }, hAsync("span", { class: "stepper-item-title" }, this.itemTitle), hAsync("span", { class: "stepper-item-subtitle" }, this.itemSubtitle))), hAsync("div", { class: "stepper-item-content" }, hAsync("slot", { onSlotchange: this.setItemContent })))));
|
|
29829
29903
|
}
|
|
29830
29904
|
//--------------------------------------------------------------------------
|
|
29831
29905
|
//
|
|
29832
29906
|
// Event Listeners
|
|
29833
29907
|
//
|
|
29834
29908
|
//--------------------------------------------------------------------------
|
|
29835
|
-
keyDownHandler(e) {
|
|
29836
|
-
if (!this.disabled && e.target === this.el) {
|
|
29837
|
-
switch (e.key) {
|
|
29838
|
-
case " ":
|
|
29839
|
-
case "Enter":
|
|
29840
|
-
this.emitRequestedItem();
|
|
29841
|
-
e.preventDefault();
|
|
29842
|
-
break;
|
|
29843
|
-
case "ArrowUp":
|
|
29844
|
-
case "ArrowDown":
|
|
29845
|
-
case "ArrowLeft":
|
|
29846
|
-
case "ArrowRight":
|
|
29847
|
-
case "Home":
|
|
29848
|
-
case "End":
|
|
29849
|
-
this.calciteStepperItemKeyEvent.emit({ item: e });
|
|
29850
|
-
e.preventDefault();
|
|
29851
|
-
break;
|
|
29852
|
-
}
|
|
29853
|
-
}
|
|
29854
|
-
}
|
|
29855
29909
|
updateActiveItemOnChange(event) {
|
|
29856
29910
|
if (event.target === this.parentStepperEl ||
|
|
29857
29911
|
event.composedPath().includes(this.parentStepperEl)) {
|
|
@@ -29859,11 +29913,6 @@ class StepperItem {
|
|
|
29859
29913
|
this.determineActiveItem();
|
|
29860
29914
|
}
|
|
29861
29915
|
}
|
|
29862
|
-
//--------------------------------------------------------------------------
|
|
29863
|
-
//
|
|
29864
|
-
// Private Methods
|
|
29865
|
-
//
|
|
29866
|
-
//--------------------------------------------------------------------------
|
|
29867
29916
|
renderIcon() {
|
|
29868
29917
|
const path = this.active
|
|
29869
29918
|
? "circleF"
|
|
@@ -29883,23 +29932,6 @@ class StepperItem {
|
|
|
29883
29932
|
content: this.itemContent
|
|
29884
29933
|
});
|
|
29885
29934
|
}
|
|
29886
|
-
emitRequestedItem() {
|
|
29887
|
-
if (!this.disabled) {
|
|
29888
|
-
this.calciteStepperItemSelect.emit({
|
|
29889
|
-
position: this.itemPosition,
|
|
29890
|
-
content: this.itemContent
|
|
29891
|
-
});
|
|
29892
|
-
}
|
|
29893
|
-
}
|
|
29894
|
-
getItemContent() {
|
|
29895
|
-
var _a;
|
|
29896
|
-
// todo: Remove IE/Edge specific code.
|
|
29897
|
-
return ((_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector("slot"))
|
|
29898
|
-
? this.el.shadowRoot.querySelector("slot").assignedNodes({ flatten: true })
|
|
29899
|
-
: this.el.querySelector(".stepper-item-content")
|
|
29900
|
-
? this.el.querySelector(".stepper-item-content").childNodes
|
|
29901
|
-
: null;
|
|
29902
|
-
}
|
|
29903
29935
|
getItemPosition() {
|
|
29904
29936
|
return Array.prototype.indexOf.call(this.parentStepperEl.querySelectorAll("calcite-stepper-item"), this.el);
|
|
29905
29937
|
}
|
|
@@ -29923,7 +29955,7 @@ class StepperItem {
|
|
|
29923
29955
|
"numbered": [1028],
|
|
29924
29956
|
"scale": [1537]
|
|
29925
29957
|
},
|
|
29926
|
-
"$listeners$": [[
|
|
29958
|
+
"$listeners$": [[16, "calciteStepperItemChange", "updateActiveItemOnChange"]],
|
|
29927
29959
|
"$lazyBundleId$": "-",
|
|
29928
29960
|
"$attrsToReflect$": [["active", "active"], ["complete", "complete"], ["disabled", "disabled"], ["layout", "layout"], ["scale", "scale"]]
|
|
29929
29961
|
}; }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esri/calcite-components",
|
|
3
|
-
"version": "1.0.0-next.
|
|
3
|
+
"version": "1.0.0-next.464",
|
|
4
4
|
"description": "Web Components for Esri's Calcite Design System.",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"@babel/preset-react": "7.16.7",
|
|
73
73
|
"@esri/calcite-base": "^1.2.0",
|
|
74
74
|
"@esri/calcite-colors": "6.0.1",
|
|
75
|
-
"@esri/calcite-ui-icons": "3.19.
|
|
75
|
+
"@esri/calcite-ui-icons": "3.19.1",
|
|
76
76
|
"@esri/eslint-plugin-calcite-components": "0.1.4",
|
|
77
77
|
"@stencil/eslint-plugin": "0.4.0",
|
|
78
78
|
"@stencil/postcss": "2.1.0",
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(a,t,e,i){function n(a){return a instanceof e?a:new e((function(t){t(a)}))}return new(e||(e=Promise))((function(e,r){function l(a){try{o(i.next(a))}catch(a){r(a)}}function s(a){try{o(i["throw"](a))}catch(a){r(a)}}function o(a){a.done?e(a.value):n(a.value).then(l,s)}o((i=i.apply(a,t||[])).next())}))};var __generator=this&&this.__generator||function(a,t){var e={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},i,n,r,l;return l={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function s(a){return function(t){return o([a,t])}}function o(l){if(i)throw new TypeError("Generator is already executing.");while(e)try{if(i=1,n&&(r=l[0]&2?n["return"]:l[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,l[1])).done)return r;if(n=0,r)l=[l[0]&2,r.value];switch(l[0]){case 0:case 1:r=l;break;case 4:e.label++;return{value:l[1],done:false};case 5:e.label++;n=l[1];l=[0];continue;case 7:l=e.ops.pop();e.trys.pop();continue;default:if(!(r=e.trys,r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){e=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){e.label=l[1];break}if(l[0]===6&&e.label<r[1]){e.label=r[1];r=l;break}if(r&&e.label<r[2]){e.label=r[2];e.ops.push(l);break}if(r[2])e.ops.pop();e.trys.pop();continue}l=t.call(a,e)}catch(a){l=[6,a];n=0}finally{i=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};
|
|
2
|
-
/*!
|
|
3
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
4
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
5
|
-
* v1.0.0-next.463
|
|
6
|
-
*/System.register(["./p-676ea8f3.system.js","./p-36a10379.system.js","./p-bfd25463.system.js","./p-d2bd3e50.system.js","./p-05b658c3.system.js","./p-a36c3433.system.js","./p-5f2ab479.system.js","./p-6ad06ac7.system.js"],(function(a){"use strict";var t,e,i,n,r,l,s,o,c,h,u,m,d,p,b,f,v,g;return{setters:[function(a){t=a.r;e=a.f;i=a.h;n=a.g;r=a.c;l=a.H},function(a){s=a.g},function(a){o=a.c},function(a){c=a.j},function(a){h=a.d;u=a.c},function(a){m=a.c;d=a.d},function(a){p=a.c;b=a.d;f=a.a;v=a.H},function(a){g=a.u}],execute:function(){function x(a,t,e){var i=t[0]-a[0];var n=e[0]-t[0];var r=t[1]-a[1];var l=e[1]-t[1];var s=r/(i||n<0&&0);var o=l/(n||i<0&&0);var c=(s*n+o*i)/(i+n);return(Math.sign(s)+Math.sign(o))*Math.min(Math.abs(s),Math.abs(o),.5*Math.abs(c))||0}function y(a,t,e){var i=t[0]-a[0];var n=t[1]-a[1];return i?(3*n/i-e)/2:e}function _(a,t,e,i,n){var r=a[0],l=a[1];var s=t[0],o=t[1];var c=(s-r)/3;var h=n([r+c,l+c*e]).join(",");var u=n([s-c,o-c*i]).join(",");var m=n([s,o]).join(",");return"C ".concat(h," ").concat(u," ").concat(m)}function k(a){var t=a.width,e=a.height,i=a.min,n=a.max;var r=n[0]-i[0];var l=n[1]-i[1];return function(a){var n=(a[0]-i[0])/r*t;var s=e-a[1]/l*e;return[n,s]}}function w(a){var t=a[0],e=t[0],i=t[1];var n=[e,i];var r=[e,i];return a.reduce((function(a,t){var e=a.min,i=a.max;var n=t[0],r=t[1];return{min:[Math.min(e[0],n),Math.min(e[1],r)],max:[Math.max(i[0],n),Math.max(i[1],r)]}}),{min:n,max:r})}function V(a){var t=a.data,e=a.min,i=a.max,n=a.t;if(t.length===0){return""}var r=n(t[0]),l=r[0],s=r[1];var o=n(e),c=o[0],h=o[1];var u=n(i)[0];var m;var d;var p;var b=t.reduce((function(a,e,i){d=t[i-2];p=t[i-1];if(i>1){var r=x(d,p,e);var l=m===undefined?y(d,p,r):m;var s=_(d,p,l,r,n);m=r;return"".concat(a," ").concat(s)}return a}),"M ".concat(c,",").concat(h," L ").concat(c,",").concat(s," L ").concat(l,",").concat(s));var f=t[t.length-1];var v=_(p,f,m,y(p,f,m),n);return"".concat(b," ").concat(v," L ").concat(u,",").concat(h," Z")}var H="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}.svg{fill:currentColor;stroke:transparent;margin:0px;display:block;height:100%;width:100%;padding:0px}.svg .graph-path--highlight{fill:var(--calcite-ui-brand);opacity:0.5}";var D=a("calcite_graph",function(){function a(a){var i=this;t(this,a);this.data=[];this.graphId="calcite-graph-".concat(s());this.resizeObserver=o("resize",(function(){return e(i)}))}a.prototype.connectedCallback=function(){var a;(a=this.resizeObserver)===null||a===void 0?void 0:a.observe(this.el)};a.prototype.disconnectedCallback=function(){var a;(a=this.resizeObserver)===null||a===void 0?void 0:a.disconnect()};a.prototype.render=function(){var a=this,t=a.data,e=a.colorStops,n=a.el,r=a.highlightMax,l=a.highlightMin,s=a.min,o=a.max;var c=this.graphId;var h=n.clientHeight,u=n.clientWidth;if(!t||t.length===0){return i("svg",{class:"svg",height:h,preserveAspectRatio:"none",viewBox:"0 0 ".concat(u," ").concat(h),width:u})}var m=w(t),d=m.min,p=m.max;var b=d;var f=p;if(s<d[0]||s>d[0]){b=[s,0]}if(o>p[0]||o<p[0]){f=[o,p[1]]}var v=k({min:b,max:f,width:u,height:h});var g=v([l,f[1]])[0];var x=v([r,f[1]])[0];var y=V({data:t,min:d,max:p,t:v});var _=e?"url(#linear-gradient-".concat(c,")"):undefined;return i("svg",{class:"svg",height:h,preserveAspectRatio:"none",viewBox:"0 0 ".concat(u," ").concat(h),width:u},e?i("defs",null,i("linearGradient",{id:"linear-gradient-".concat(c),x1:"0",x2:"1",y1:"0",y2:"0"},e.map((function(a){var t=a.offset,e=a.color,n=a.opacity;return i("stop",{offset:"".concat(t*100,"%"),"stop-color":e,"stop-opacity":n})})))):null,l!==undefined?[i("mask",{height:"100%",id:"".concat(c,"1"),width:"100%",x:"0%",y:"0%"},i("path",{d:"\n M 0,0\n L ".concat(g-1,",0\n L ").concat(g-1,",").concat(h,"\n L 0,").concat(h,"\n Z\n "),fill:"white"})),i("mask",{height:"100%",id:"".concat(c,"2"),width:"100%",x:"0%",y:"0%"},i("path",{d:"\n M ".concat(g+1,",0\n L ").concat(x-1,",0\n L ").concat(x-1,",").concat(h,"\n L ").concat(g+1,", ").concat(h,"\n Z\n "),fill:"white"})),i("mask",{height:"100%",id:"".concat(c,"3"),width:"100%",x:"0%",y:"0%"},i("path",{d:"\n M ".concat(x+1,",0\n L ").concat(u,",0\n L ").concat(u,",").concat(h,"\n L ").concat(x+1,", ").concat(h,"\n Z\n "),fill:"white"})),i("path",{class:"graph-path",d:y,fill:_,mask:"url(#".concat(c,"1)")}),i("path",{class:"graph-path--highlight",d:y,fill:_,mask:"url(#".concat(c,"2)")}),i("path",{class:"graph-path",d:y,fill:_,mask:"url(#".concat(c,"3)")})]:i("path",{class:"graph-path",d:y,fill:_}))};Object.defineProperty(a.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return a}());D.style=H;var L='@charset "UTF-8";@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}.scale--s{--calcite-slider-handle-size:10px;--calcite-slider-handle-extension-height:6.5px;--calcite-slider-container-font-size:var(--calcite-font-size--3)}.scale--s .handle__label,.scale--s .tick__label{line-height:.75rem}.scale--m{--calcite-slider-handle-size:14px;--calcite-slider-handle-extension-height:8px;--calcite-slider-container-font-size:var(--calcite-font-size--2)}.scale--m .handle__label,.scale--m .tick__label{line-height:1rem}.scale--l{--calcite-slider-handle-size:16px;--calcite-slider-handle-extension-height:10.5px;--calcite-slider-container-font-size:var(--calcite-font-size--1)}.scale--l .handle__label,.scale--l .tick__label{line-height:1rem}.handle__label,.tick__label{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);font-size:var(--calcite-slider-container-font-size)}:host{display:block}.container{position:relative;display:block;overflow-wrap:normal;word-break:normal;padding:calc(var(--calcite-slider-handle-size) * 0.5);margin:calc(var(--calcite-slider-handle-size) * 0.5) 0;--calcite-slider-full-handle-height:calc(\n var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height)\n )}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) .track__range,:host([disabled]) .tick--active{background-color:var(--calcite-ui-text-3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-6px}.scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-8px}.scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-9px}:host([precise]:not([has-histogram])) .container .thumb--value{--calcite-slider-thumb-y-offset:calc(var(--calcite-slider-full-handle-height) * -1)}.thumb-container{position:relative;max-width:100%}.thumb{--calcite-slider-thumb-x-offset:calc(var(--calcite-slider-handle-size) * 0.5);position:absolute;margin:0px;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;border-style:none;background-color:transparent;padding:0px;font-family:inherit;outline:2px solid transparent;outline-offset:2px;-webkit-transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset));transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset))}.thumb .handle__label.static,.thumb .handle__label.transformed{position:absolute;top:0px;bottom:0px;opacity:0}.thumb .handle__label.hyphen::after{content:"—";display:inline-block;width:1em}.thumb .handle__label.hyphen--wrap{display:-ms-flexbox;display:flex}.thumb .handle{-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;height:var(--calcite-slider-handle-size);width:var(--calcite-slider-handle-size);-webkit-box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;-webkit-transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, -webkit-box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, -webkit-box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease, -webkit-box-shadow var(--calcite-animation-timing) ease}.thumb .handle-extension{width:0.125rem;height:var(--calcite-slider-handle-extension-height);background-color:var(--calcite-ui-text-3)}.thumb:hover .handle{-webkit-box-shadow:0 0 0 3px var(--calcite-ui-brand) inset;box-shadow:0 0 0 3px var(--calcite-ui-brand) inset}.thumb:hover .handle-extension{background-color:var(--calcite-ui-brand)}.thumb:focus .handle{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.thumb:focus .handle-extension{background-color:var(--calcite-ui-brand)}.thumb.thumb--minValue{-webkit-transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset));transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset))}.thumb.thumb--precise{--calcite-slider-thumb-y-offset:-2px}:host([label-handles]) .thumb{--calcite-slider-thumb-x-offset:50%}:host([label-handles]):host(:not([has-histogram])) .scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-23px}:host([label-handles]):host(:not([has-histogram])) .scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-30px}:host([label-handles]):host(:not([has-histogram])) .scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-32px}:host([has-histogram][label-handles]) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--minValue.thumb--precise .handle__label{margin-top:0.5em}:host(:not([has-histogram]):not([precise])) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--value .handle__label{margin-bottom:0.5em}:host([label-handles][precise]):host(:not([has-histogram])) .scale--s .thumb--value{--calcite-slider-thumb-y-offset:-33px}:host([label-handles][precise]):host(:not([has-histogram])) .scale--m .thumb--value{--calcite-slider-thumb-y-offset:-44px}:host([label-handles][precise]):host(:not([has-histogram])) .scale--l .thumb--value{--calcite-slider-thumb-y-offset:-49px}.thumb:focus .handle,.thumb--active .handle{background-color:var(--calcite-ui-brand);-webkit-box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16)}.thumb:hover.thumb--precise:after,.thumb:focus.thumb--precise:after,.thumb--active.thumb--precise:after{background-color:var(--calcite-ui-brand)}.track{position:relative;height:0.125rem;border-radius:0px;background-color:var(--calcite-ui-border-2);-webkit-transition:all var(--calcite-internal-animation-timing-medium) ease-in;transition:all var(--calcite-internal-animation-timing-medium) ease-in}.track__range{position:absolute;top:0px;height:0.125rem;background-color:var(--calcite-ui-brand)}.container--range .track__range:hover{cursor:ew-resize}.container--range .track__range:after{position:absolute;width:100%;content:"";top:calc(var(--calcite-slider-full-handle-height) * 0.5 * -1);height:calc(var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height))}.tick{position:absolute;height:0.25rem;width:0.125rem;border-width:1px;border-style:solid;background-color:var(--calcite-ui-border-input);border-color:var(--calcite-ui-foreground-1);top:-2px;pointer-events:none;-webkit-margin-start:calc(-1 * 0.125rem);margin-inline-start:calc(-1 * 0.125rem)}.tick--active{background-color:var(--calcite-ui-brand)}.tick__label{pointer-events:none;margin-top:0.875rem;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}.tick__label--min{-webkit-transition:opacity var(--calcite-animation-timing);transition:opacity var(--calcite-animation-timing)}.tick__label--max{-webkit-transition:opacity var(--calcite-internal-animation-timing-fast);transition:opacity var(--calcite-internal-animation-timing-fast)}:host([has-histogram][label-handles]) .tick__label--min,:host([has-histogram][label-handles]) .tick__label--max,:host([has-histogram][precise]) .tick__label--min,:host([has-histogram][precise]) .tick__label--max{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}.graph{color:var(--calcite-ui-foreground-3);height:48px}:host([label-ticks][ticks]) .container{padding-bottom:calc(0.875rem + var(--calcite-slider-container-font-size))}:host([has-histogram]):host([precise][label-handles]) .container{padding-bottom:calc(var(--calcite-slider-full-handle-height) + 1em)}:host([has-histogram]):host([label-handles]:not([precise])) .container{padding-bottom:calc(var(--calcite-slider-handle-size) * 0.5 + 1em)}:host([has-histogram]):host([precise]:not([label-handles])) .container{padding-bottom:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container{padding-top:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container--range{padding-bottom:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([label-handles]:not([precise])) .container{padding-top:calc(var(--calcite-slider-full-handle-height) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container{padding-top:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container--range{padding-bottom:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}';function P(a){return Array.isArray(a)}var M=a("calcite_slider",function(){function a(a){var e=this;t(this,a);this.calciteSliderInput=r(this,"calciteSliderInput",7);this.calciteSliderChange=r(this,"calciteSliderChange",7);this.calciteSliderUpdate=r(this,"calciteSliderUpdate",7);this.disabled=false;this.hasHistogram=false;this.labelHandles=false;this.labelTicks=false;this.max=100;this.min=0;this.mirrored=false;this.precise=false;this.required=false;this.snap=false;this.step=1;this.value=0;this.scale="m";this.guid="calcite-slider-".concat(s());this.activeProp="value";this.minMaxValueRange=null;this.minValueDragRange=null;this.maxValueDragRange=null;this.tickValues=[];this.dragUpdate=function(a){a.preventDefault();if(e.dragProp){var t=e.translate(a.clientX||a.pageX);if(P(e.value)&&e.dragProp==="minMaxValue"){if(e.minValueDragRange&&e.maxValueDragRange&&e.minMaxValueRange){var i=t-e.minValueDragRange;var n=t+e.maxValueDragRange;if(n<=e.max&&i>=e.min&&n-i===e.minMaxValueRange){e.minValue=e.clamp(i,"minValue");e.maxValue=e.clamp(n,"maxValue")}}else{e.minValueDragRange=t-e.minValue;e.maxValueDragRange=e.maxValue-t;e.minMaxValueRange=e.maxValue-e.minValue}}else{e.setValue(e.dragProp,e.clamp(t,e.dragProp))}}};this.dragEnd=function(a){e.removeDragListeners();e.focusActiveHandle(a.clientX);if(e.lastDragPropValue!=e[e.dragProp]){e.emitChange()}e.dragProp=null;e.lastDragPropValue=null;e.minValueDragRange=null;e.maxValueDragRange=null;e.minMaxValueRange=null};this.storeTrackRef=function(a){e.trackEl=a}}a.prototype.histogramWatcher=function(a){this.hasHistogram=!!a};a.prototype.valueHandler=function(){this.setMinMaxFromValue()};a.prototype.minMaxValueHandler=function(){this.setValueFromMinMax()};a.prototype.connectedCallback=function(){this.setMinMaxFromValue();this.setValueFromMinMax();m(this);p(this)};a.prototype.disconnectedCallback=function(){d(this);b(this);this.removeDragListeners()};a.prototype.componentWillLoad=function(){this.tickValues=this.generateTickValues();if(!P(this.value)){this.value=this.clamp(this.value)}f(this,this.value);if(this.snap&&!P(this.value)){this.value=this.getClosestStep(this.value)}if(this.histogram){this.hasHistogram=true}};a.prototype.componentDidRender=function(){if(this.labelHandles){this.adjustHostObscuredHandleLabel("value");if(P(this.value)){this.adjustHostObscuredHandleLabel("minValue");if(!(this.precise&&!this.hasHistogram)){this.hyphenateCollidingRangeHandleLabels()}}}this.hideObscuredBoundingTickLabels();g(this)};a.prototype.render=function(){var a;var t=this;var e=this.el.id||this.guid;var n=P(this.value)?"maxValue":"value";var r=P(this.value)?this.maxValue:this.value;var s=this.minValue||this.min;var o=this.shouldUseMinValue();var c=this.getUnitInterval(o?this.minValue:s)*100;var h=this.getUnitInterval(r)*100;var u=this.shouldMirror();var m="".concat(u?100-c:c,"%");var d="".concat(u?h:100-h,"%");var p=P(this.value);var b=i("div",{"aria-disabled":this.disabled,"aria-label":p?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":r,class:{thumb:true,"thumb--value":true,"thumb--active":this.lastDragProp!=="minMaxValue"&&this.dragProp===n},onBlur:function(){return t.activeProp=null},onFocus:function(){return t.activeProp=n},onPointerDown:function(){return t.dragStart(n)},ref:function(a){return t.maxHandle=a},role:"slider",style:{right:d},tabIndex:0},i("div",{class:"handle"}));var f=i("div",{"aria-disabled":this.disabled,"aria-label":p?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":r,class:{thumb:true,"thumb--value":true,"thumb--active":this.lastDragProp!=="minMaxValue"&&this.dragProp===n},onBlur:function(){return t.activeProp=null},onFocus:function(){return t.activeProp=n},onPointerDown:function(){return t.dragStart(n)},ref:function(a){return t.maxHandle=a},role:"slider",style:{right:d},tabIndex:0},i("span",{"aria-hidden":"true",class:"handle__label handle__label--value"},r?r.toLocaleString():r),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value static"},r?r.toLocaleString():r),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value transformed"},r?r.toLocaleString():r),i("div",{class:"handle"}));var g=i("div",{"aria-disabled":this.disabled,"aria-label":p?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":r,class:{thumb:true,"thumb--value":true,"thumb--active":this.lastDragProp!=="minMaxValue"&&this.dragProp===n},onBlur:function(){return t.activeProp=null},onFocus:function(){return t.activeProp=n},onPointerDown:function(){return t.dragStart(n)},ref:function(a){return t.maxHandle=a},role:"slider",style:{right:d},tabIndex:0},i("div",{class:"handle"}),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value"},r?r.toLocaleString():r),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value static"},r?r.toLocaleString():r),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value transformed"},r?r.toLocaleString():r));var x=i("div",{"aria-disabled":this.disabled,"aria-label":p?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":r,class:{thumb:true,"thumb--value":true,"thumb--active":this.lastDragProp!=="minMaxValue"&&this.dragProp===n,"thumb--precise":true},onBlur:function(){return t.activeProp=null},onFocus:function(){return t.activeProp=n},onPointerDown:function(){return t.dragStart(n)},ref:function(a){return t.maxHandle=a},role:"slider",style:{right:d},tabIndex:0},i("div",{class:"handle"}),i("div",{class:"handle-extension"}));var y=i("div",{"aria-disabled":this.disabled,"aria-label":p?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":r,class:{thumb:true,"thumb--value":true,"thumb--active":this.lastDragProp!=="minMaxValue"&&this.dragProp===n,"thumb--precise":true},onBlur:function(){return t.activeProp=null},onFocus:function(){return t.activeProp=n},onPointerDown:function(){return t.dragStart(n)},ref:function(a){return t.maxHandle=a},role:"slider",style:{right:d},tabIndex:0},i("div",{class:"handle-extension"}),i("div",{class:"handle"}));var _=i("div",{"aria-disabled":this.disabled,"aria-label":p?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":r,class:{thumb:true,"thumb--value":true,"thumb--active":this.lastDragProp!=="minMaxValue"&&this.dragProp===n,"thumb--precise":true},onBlur:function(){return t.activeProp=null},onFocus:function(){return t.activeProp=n},onPointerDown:function(){return t.dragStart(n)},ref:function(a){return t.maxHandle=a},role:"slider",style:{right:d},tabIndex:0},i("span",{"aria-hidden":"true",class:"handle__label handle__label--value"},r?r.toLocaleString():r),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value static"},r?r.toLocaleString():r),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value transformed"},r?r.toLocaleString():r),i("div",{class:"handle"}),i("div",{class:"handle-extension"}));var k=i("div",{"aria-disabled":this.disabled,"aria-label":p?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":r,class:{thumb:true,"thumb--value":true,"thumb--active":this.lastDragProp!=="minMaxValue"&&this.dragProp===n,"thumb--precise":true},onBlur:function(){return t.activeProp=null},onFocus:function(){return t.activeProp=n},onPointerDown:function(){return t.dragStart(n)},ref:function(a){return t.maxHandle=a},role:"slider",style:{right:d},tabIndex:0},i("div",{class:"handle-extension"}),i("div",{class:"handle"}),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value"},r?r.toLocaleString():r),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value static"},r?r.toLocaleString():r),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value transformed"},r?r.toLocaleString():r));var w=i("div",{"aria-disabled":this.disabled,"aria-label":this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":this.minValue,class:{thumb:true,"thumb--minValue":true,"thumb--active":this.dragProp==="minValue"},onBlur:function(){return t.activeProp=null},onFocus:function(){return t.activeProp="minValue"},onPointerDown:function(){return t.dragStart("minValue")},ref:function(a){return t.minHandle=a},role:"slider",style:{left:m},tabIndex:0},i("div",{class:"handle"}));var V=i("div",{"aria-disabled":this.disabled,"aria-label":this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":this.minValue,class:{thumb:true,"thumb--minValue":true,"thumb--active":this.dragProp==="minValue"},onBlur:function(){return t.activeProp=null},onFocus:function(){return t.activeProp="minValue"},onPointerDown:function(){return t.dragStart("minValue")},ref:function(a){return t.minHandle=a},role:"slider",style:{left:m},tabIndex:0},i("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue"},this.minValue&&this.minValue.toLocaleString()),i("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue static"},this.minValue&&this.minValue.toLocaleString()),i("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue transformed"},this.minValue&&this.minValue.toLocaleString()),i("div",{class:"handle"}));var H=i("div",{"aria-disabled":this.disabled,"aria-label":this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":this.minValue,class:{thumb:true,"thumb--minValue":true,"thumb--active":this.dragProp==="minValue"},onBlur:function(){return t.activeProp=null},onFocus:function(){return t.activeProp="minValue"},onPointerDown:function(){return t.dragStart("minValue")},ref:function(a){return t.minHandle=a},role:"slider",style:{left:m},tabIndex:0},i("div",{class:"handle"}),i("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue"},this.minValue&&this.minValue.toLocaleString()),i("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue static"},this.minValue&&this.minValue.toLocaleString()),i("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue transformed"},this.minValue&&this.minValue.toLocaleString()));var D=i("div",{"aria-disabled":this.disabled,"aria-label":this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":this.minValue,class:{thumb:true,"thumb--minValue":true,"thumb--active":this.dragProp==="minValue","thumb--precise":true},onBlur:function(){return t.activeProp=null},onFocus:function(){return t.activeProp="minValue"},onPointerDown:function(){return t.dragStart("minValue")},ref:function(a){return t.minHandle=a},role:"slider",style:{left:m},tabIndex:0},i("div",{class:"handle-extension"}),i("div",{class:"handle"}));var L=i("div",{"aria-disabled":this.disabled,"aria-label":this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":this.minValue,class:{thumb:true,"thumb--minValue":true,"thumb--active":this.dragProp==="minValue","thumb--precise":true},onBlur:function(){return t.activeProp=null},onFocus:function(){return t.activeProp="minValue"},onPointerDown:function(){return t.dragStart("minValue")},ref:function(a){return t.minHandle=a},role:"slider",style:{left:m},tabIndex:0},i("div",{class:"handle-extension"}),i("div",{class:"handle"}),i("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue"},this.minValue&&this.minValue.toLocaleString()),i("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue static"},this.minValue&&this.minValue.toLocaleString()),i("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue transformed"},this.minValue&&this.minValue.toLocaleString()));return i(l,{id:e,onTouchStart:this.handleTouchStart},i("div",{class:(a={},a["container"]=true,a["container--range"]=p,a["scale--".concat(this.scale)]=true,a)},this.renderGraph(),i("div",{class:"track",ref:this.storeTrackRef},i("div",{class:"track__range",onPointerDown:function(){return t.dragStart("minMaxValue")},style:{left:"".concat(u?100-h:c,"%"),right:"".concat(u?c:100-h,"%")}}),i("div",{class:"ticks"},this.tickValues.map((function(a){var e="".concat(t.getUnitInterval(a)*100,"%");var n=a>=s&&a<=r;if(o){n=a>=t.minValue&&a<=t.maxValue}return i("span",{class:{tick:true,"tick--active":n},style:{left:u?"":e,right:u?e:""}},t.renderTickLabel(a))})))),i("div",{class:"thumb-container"},!this.precise&&!this.labelHandles&&p&&w,!this.hasHistogram&&!this.precise&&this.labelHandles&&p&&V,this.precise&&!this.labelHandles&&p&&D,this.precise&&this.labelHandles&&p&&L,this.hasHistogram&&!this.precise&&this.labelHandles&&p&&H,!this.precise&&!this.labelHandles&&b,!this.hasHistogram&&!this.precise&&this.labelHandles&&f,!this.hasHistogram&&this.precise&&!this.labelHandles&&x,this.hasHistogram&&this.precise&&!this.labelHandles&&y,!this.hasHistogram&&this.precise&&this.labelHandles&&_,this.hasHistogram&&!this.precise&&this.labelHandles&&g,this.hasHistogram&&this.precise&&this.labelHandles&&k,i(v,{component:this}))))};a.prototype.renderGraph=function(){return this.histogram?i("calcite-graph",{class:"graph",colorStops:this.histogramStops,data:this.histogram,highlightMax:P(this.value)?this.maxValue:this.value,highlightMin:P(this.value)?this.minValue:this.min,max:this.max,min:this.min}):null};a.prototype.renderTickLabel=function(a){var t=P(this.value);var e=a===this.min;var n=a===this.max;var r=i("span",{class:{tick__label:true,"tick__label--min":e,"tick__label--max":n}},a.toLocaleString());if(this.labelTicks&&!this.hasHistogram&&!t){return r}if(this.labelTicks&&!this.hasHistogram&&t&&!this.precise&&!this.labelHandles){return r}if(this.labelTicks&&!this.hasHistogram&&t&&!this.precise&&this.labelHandles){return r}if(this.labelTicks&&!this.hasHistogram&&t&&this.precise&&(e||n)){return r}if(this.labelTicks&&this.hasHistogram&&!this.precise&&!this.labelHandles){return r}if(this.labelTicks&&this.hasHistogram&&this.precise&&!this.labelHandles&&(e||n)){return r}if(this.labelTicks&&this.hasHistogram&&!this.precise&&this.labelHandles&&(e||n)){return r}if(this.labelTicks&&this.hasHistogram&&this.precise&&this.labelHandles&&(e||n)){return r}return null};a.prototype.keyDownHandler=function(a){var t=this.shouldMirror();var e=this,i=e.activeProp,n=e.max,r=e.min,l=e.pageStep,s=e.step;var o=this[i];var c=a.key;if(c==="Enter"||c===" "){a.preventDefault();return}var u;if(c==="ArrowUp"||c==="ArrowRight"){var m=t&&c==="ArrowRight"?-1:1;u=o+s*m}else if(c==="ArrowDown"||c==="ArrowLeft"){var m=t&&c==="ArrowLeft"?-1:1;u=o-s*m}else if(c==="PageUp"){if(l){u=o+l}}else if(c==="PageDown"){if(l){u=o-l}}else if(c==="Home"){u=r}else if(c==="End"){u=n}if(isNaN(u)){return}a.preventDefault();var d=Number(u.toFixed(h(s)));this.setValue(i,this.clamp(d,i))};a.prototype.clickHandler=function(a){this.focusActiveHandle(a.clientX)};a.prototype.pointerDownHandler=function(a){var t=a.clientX||a.pageX;var e=this.translate(t);var i="value";if(P(this.value)){var n=e>=this.minValue&&e<=this.maxValue;if(n&&this.lastDragProp==="minMaxValue"){i="minMaxValue"}else{var r=Math.abs(this.maxValue-e)<Math.abs(this.minValue-e);i=r||e>this.maxValue?"maxValue":"minValue"}}this.lastDragPropValue=this[i];this.dragStart(i);var l=this.el.shadowRoot.querySelector(".thumb:active");if(!l){this.setValue(i,this.clamp(e,i))}};a.prototype.handleTouchStart=function(a){a.preventDefault()};a.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var a;return __generator(this,(function(t){a=this.minHandle?this.minHandle:this.maxHandle;a.focus();return[2]}))}))};a.prototype.setValueFromMinMax=function(){var a=this,t=a.minValue,e=a.maxValue;if(typeof t==="number"&&typeof e==="number"){this.value=[t,e]}};a.prototype.setMinMaxFromValue=function(){var a=this.value;if(P(a)){this.minValue=a[0];this.maxValue=a[1]}};a.prototype.onLabelClick=function(){this.setFocus()};a.prototype.shouldMirror=function(){return this.mirrored&&!this.hasHistogram};a.prototype.shouldUseMinValue=function(){if(!P(this.value)){return false}return this.hasHistogram&&this.maxValue===0||!this.hasHistogram&&this.minValue===0};a.prototype.generateTickValues=function(){var a=[];var t=this.min;while(this.ticks&&t<this.max+this.ticks){a.push(Math.min(t,this.max));t=t+this.ticks}return a};a.prototype.dragStart=function(a){this.dragProp=a;this.lastDragProp=this.dragProp;this.activeProp=a;document.addEventListener("pointermove",this.dragUpdate);document.addEventListener("pointerup",this.dragEnd);document.addEventListener("pointercancel",this.dragEnd)};a.prototype.focusActiveHandle=function(a){switch(this.dragProp){case"minValue":this.minHandle.focus();break;case"maxValue":this.maxHandle.focus();break;case"minMaxValue":this.getClosestHandle(a).focus();break}};a.prototype.emitInput=function(){this.calciteSliderInput.emit();this.calciteSliderUpdate.emit()};a.prototype.emitChange=function(){this.calciteSliderChange.emit()};a.prototype.removeDragListeners=function(){document.removeEventListener("pointermove",this.dragUpdate);document.removeEventListener("pointerup",this.dragEnd);document.removeEventListener("pointercancel",this.dragEnd)};a.prototype.setValue=function(a,t){var e=this[a];var i=e!==t;if(!i){return}this[a]=t;var n=this.dragProp;if(!n){this.emitChange()}this.emitInput()};a.prototype.clamp=function(a,t){a=u(a,this.min,this.max);if(t==="maxValue"){a=Math.max(a,this.minValue)}if(t==="minValue"){a=Math.min(a,this.maxValue)}return a};a.prototype.translate=function(a){var t=this.max-this.min;var e=this.trackEl.getBoundingClientRect(),i=e.left,n=e.width;var r=(a-i)/n;var l=this.shouldMirror();var s=this.clamp(this.min+t*(l?1-r:r));var o=Number(s.toFixed(h(this.step)));if(this.snap&&this.step){o=this.getClosestStep(o)}return o};a.prototype.getClosestStep=function(a){a=Number(this.clamp(a).toFixed(h(this.step)));if(this.step){var t=Math.round(a/this.step)*this.step;a=Number(this.clamp(t).toFixed(h(this.step)))}return a};a.prototype.getClosestHandle=function(a){return this.getDistanceX(this.maxHandle,a)>this.getDistanceX(this.minHandle,a)?this.minHandle:this.maxHandle};a.prototype.getDistanceX=function(a,t){return Math.abs(a.getBoundingClientRect().left-t)};a.prototype.getFontSizeForElement=function(a){return Number(window.getComputedStyle(a).getPropertyValue("font-size").match(/\d+/)[0])};a.prototype.getUnitInterval=function(a){a=this.clamp(a);var t=this.max-this.min;return(a-this.min)/t};a.prototype.adjustHostObscuredHandleLabel=function(a){var t=this.el.shadowRoot.querySelector(".handle__label--".concat(a));var e=this.el.shadowRoot.querySelector(".handle__label--".concat(a,".static"));var i=this.el.shadowRoot.querySelector(".handle__label--".concat(a,".transformed"));var n=e.getBoundingClientRect();var r=this.getHostOffset(n.left,n.right);t.style.transform="translateX(".concat(r,"px)");i.style.transform="translateX(".concat(r,"px)")};a.prototype.hyphenateCollidingRangeHandleLabels=function(){var a=this.el.shadowRoot;var t=this.shouldMirror();var e=t?"value":"minValue";var i=t?"minValue":"value";var n=a.querySelector(".handle__label--".concat(e));var r=a.querySelector(".handle__label--".concat(e,".static"));var l=a.querySelector(".handle__label--".concat(e,".transformed"));var s=this.getHostOffset(r.getBoundingClientRect().left,r.getBoundingClientRect().right);var o=a.querySelector(".handle__label--".concat(i));var c=a.querySelector(".handle__label--".concat(i,".static"));var h=a.querySelector(".handle__label--".concat(i,".transformed"));var u=this.getHostOffset(c.getBoundingClientRect().left,c.getBoundingClientRect().right);var m=this.getFontSizeForElement(n);var d=this.getRangeLabelOverlap(l,h);var p=n;var b=m/2;if(d>0){p.classList.add("hyphen","hyphen--wrap");if(u===0&&s===0){var f=d/2-b;f=Math.sign(f)===-1?Math.abs(f):-f;var v=this.getHostOffset(l.getBoundingClientRect().left+f-b,l.getBoundingClientRect().right+f-b);var g=d/2;var x=this.getHostOffset(h.getBoundingClientRect().left+g,h.getBoundingClientRect().right+g);if(v!==0){f+=v;g+=v}if(x!==0){f+=x;g+=x}n.style.transform="translateX(".concat(f,"px)");l.style.transform="translateX(".concat(f-b,"px)");o.style.transform="translateX(".concat(g,"px)");h.style.transform="translateX(".concat(g,"px)")}else if(s>0||u>0){n.style.transform="translateX(".concat(s+b,"px)");o.style.transform="translateX(".concat(d+u,"px)");h.style.transform="translateX(".concat(d+u,"px)")}else if(s<0||u<0){var f=Math.abs(s)+d-b;f=Math.sign(f)===-1?Math.abs(f):-f;n.style.transform="translateX(".concat(f,"px)");l.style.transform="translateX(".concat(f-b,"px)")}}else{p.classList.remove("hyphen","hyphen--wrap");n.style.transform="translateX(".concat(s,"px)");l.style.transform="translateX(".concat(s,"px)");o.style.transform="translateX(".concat(u,"px)");h.style.transform="translateX(".concat(u,"px)")}};a.prototype.hideObscuredBoundingTickLabels=function(){var a=P(this.value);if(!this.hasHistogram&&!a&&!this.labelHandles&&!this.precise){return}if(!this.hasHistogram&&!a&&this.labelHandles&&!this.precise){return}if(!this.hasHistogram&&!a&&!this.labelHandles&&this.precise){return}if(!this.hasHistogram&&!a&&this.labelHandles&&this.precise){return}if(!this.hasHistogram&&a&&!this.precise){return}if(this.hasHistogram&&!this.precise&&!this.labelHandles){return}var t=this.el.shadowRoot.querySelector(".thumb--minValue");var e=this.el.shadowRoot.querySelector(".thumb--value");var i=this.el.shadowRoot.querySelector(".tick__label--min");var n=this.el.shadowRoot.querySelector(".tick__label--max");if(!t&&e&&i&&n){i.style.opacity=this.isMinTickLabelObscured(i,e)?"0":"1";n.style.opacity=this.isMaxTickLabelObscured(n,e)?"0":"1"}if(t&&e&&i&&n){i.style.opacity=this.isMinTickLabelObscured(i,t)||this.isMinTickLabelObscured(i,e)?"0":"1";n.style.opacity=this.isMaxTickLabelObscured(n,t)||this.isMaxTickLabelObscured(n,e)&&this.hasHistogram?"0":"1"}};a.prototype.getHostOffset=function(a,t){var e=this.el.getBoundingClientRect();var i=7;if(a+i<e.left){return e.left-a-i}if(t-i>e.right){return-(t-e.right)+i}return 0};a.prototype.getRangeLabelOverlap=function(a,t){var e=a.getBoundingClientRect();var i=t.getBoundingClientRect();var n=this.getFontSizeForElement(a);var r=e.right+n-i.left;return Math.max(r,0)};a.prototype.isMinTickLabelObscured=function(a,t){var e=a.getBoundingClientRect();var i=t.getBoundingClientRect();return c(e,i)};a.prototype.isMaxTickLabelObscured=function(a,t){var e=a.getBoundingClientRect();var i=t.getBoundingClientRect();return c(e,i)};Object.defineProperty(a.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(a,"watchers",{get:function(){return{histogram:["histogramWatcher"],value:["valueHandler"],minValue:["minMaxValueHandler"],maxValue:["minMaxValueHandler"]}},enumerable:false,configurable:true});return a}());M.style=L}}}));
|