@esri/calcite-components 1.0.0-next.467 → 1.0.0-next.468
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/calcite.js +1 -1
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/{p-54b3c575.js → p-03870589.js} +2 -2
- package/dist/calcite/{p-a4010dce.entry.js → p-076c9c2c.entry.js} +2 -2
- package/dist/calcite/{p-15f40818.system.entry.js → p-07c3a925.system.entry.js} +2 -2
- package/dist/calcite/{p-641a4dbb.system.js → p-099dd5c7.system.js} +3 -3
- package/dist/calcite/{p-df423beb.system.entry.js → p-09ce4dbb.system.entry.js} +2 -2
- package/dist/calcite/{p-6be359ff.system.entry.js → p-0a27411a.system.entry.js} +2 -2
- package/dist/calcite/{p-530cea0b.entry.js → p-0b8265c4.entry.js} +2 -2
- package/dist/calcite/{p-a2d392f0.system.entry.js → p-0c76f714.system.entry.js} +2 -2
- package/dist/calcite/{p-9e2c5494.js → p-0c89f05f.js} +1 -1
- package/dist/calcite/{p-0d34c41f.system.entry.js → p-0db96d2b.system.entry.js} +2 -2
- package/dist/calcite/{p-655020f7.system.entry.js → p-100640cd.system.entry.js} +2 -2
- package/dist/calcite/{p-c6175b47.js → p-102b243d.js} +2 -2
- package/dist/calcite/{p-510c0543.system.entry.js → p-10b46362.system.entry.js} +2 -2
- package/dist/calcite/{p-191c5d07.entry.js → p-1479549c.entry.js} +2 -2
- package/dist/calcite/{p-18260e13.entry.js → p-1509b092.entry.js} +2 -2
- package/dist/calcite/{p-f5873bdb.js → p-1b64d694.js} +1 -1
- package/dist/calcite/{p-908d6fc9.entry.js → p-1f57aa54.entry.js} +2 -2
- package/dist/calcite/p-1f78e980.js +6 -0
- package/dist/calcite/{p-da678d4d.entry.js → p-2121978a.entry.js} +2 -2
- package/dist/calcite/{p-ad6d0e2d.system.js → p-23c1fc3b.system.js} +1 -1
- package/dist/calcite/{p-8ca924c8.entry.js → p-24782286.entry.js} +2 -2
- package/dist/calcite/{p-650586dd.system.entry.js → p-271d1740.system.entry.js} +2 -2
- package/dist/calcite/{p-58226dd8.system.entry.js → p-28435e61.system.entry.js} +2 -2
- package/dist/calcite/{p-81d350c5.system.entry.js → p-2b385a1f.system.entry.js} +2 -2
- package/dist/calcite/{p-adbb8649.system.js → p-2b49459e.system.js} +1 -1
- package/dist/calcite/{p-aff3968d.system.entry.js → p-2bf778a8.system.entry.js} +2 -2
- package/dist/calcite/{p-b1c9025a.js → p-2d0058c9.js} +1 -1
- package/dist/calcite/{p-49275ca4.system.js → p-2db37adf.system.js} +1 -1
- package/dist/calcite/{p-602952a8.entry.js → p-2e19eb1f.entry.js} +2 -2
- package/dist/calcite/{p-6ecedada.js → p-2f6b6ee7.js} +2 -2
- package/dist/calcite/{p-3da93e1b.entry.js → p-32011be0.entry.js} +2 -2
- package/dist/calcite/{p-10492d4d.system.entry.js → p-32a14a91.system.entry.js} +2 -2
- package/dist/calcite/{p-af83867c.entry.js → p-34b93b9a.entry.js} +2 -2
- package/dist/calcite/{p-e569b4b7.js → p-356ae0f0.js} +1 -1
- package/dist/calcite/p-36808749.system.entry.js +6 -0
- package/dist/calcite/{p-8fc2c1bf.entry.js → p-369ec28a.entry.js} +2 -2
- package/dist/calcite/{p-6691e32e.system.entry.js → p-37fda91a.system.entry.js} +2 -2
- package/dist/calcite/{p-18e16502.entry.js → p-381e9a7d.entry.js} +2 -2
- package/dist/calcite/{p-a1f9412e.system.entry.js → p-3c7f86d9.system.entry.js} +2 -2
- package/dist/calcite/{p-12694663.entry.js → p-4264d2b9.entry.js} +2 -2
- package/dist/calcite/{p-20a71b1a.system.entry.js → p-452226a6.system.entry.js} +2 -2
- package/dist/calcite/{p-499d43a9.entry.js → p-4539bc42.entry.js} +2 -2
- package/dist/calcite/p-478d2ee4.entry.js +6 -0
- package/dist/calcite/{p-c0d3e555.system.entry.js → p-47c4e1a8.system.entry.js} +2 -2
- package/dist/calcite/{p-0ac794a1.system.entry.js → p-48b48390.system.entry.js} +2 -2
- package/dist/calcite/{p-386ae9b8.entry.js → p-4bb53417.entry.js} +2 -2
- package/dist/calcite/{p-8cd0c26d.system.js → p-4d2a4ae1.system.js} +2 -2
- package/dist/calcite/{p-3d2114ef.js → p-4f952ec3.js} +1 -1
- package/dist/calcite/{p-4591cb4c.system.js → p-4f9c75db.system.js} +2 -2
- package/dist/calcite/{p-d9c43317.system.js → p-5588fec1.system.js} +2 -2
- package/dist/calcite/{p-85d43378.entry.js → p-56adda75.entry.js} +2 -2
- package/dist/calcite/{p-6960f642.entry.js → p-5882783f.entry.js} +2 -2
- package/dist/calcite/{p-28c770f7.js → p-5ac779f8.js} +1 -1
- package/dist/calcite/{p-6d0de3c2.js → p-5dd4629c.js} +1 -1
- package/dist/calcite/{p-ec08d877.system.entry.js → p-5e586c2d.system.entry.js} +2 -2
- package/dist/calcite/{p-2b50ce0b.system.js → p-5ed85c57.system.js} +1 -1
- package/dist/calcite/{p-9da56107.entry.js → p-61293c60.entry.js} +2 -2
- package/dist/calcite/{p-b6015544.system.entry.js → p-6223f943.system.entry.js} +3 -3
- package/dist/calcite/{p-13534763.js → p-642f58ba.js} +1 -1
- package/dist/calcite/{p-2a243976.system.js → p-64d06f97.system.js} +1 -1
- package/dist/calcite/{p-d635e920.system.entry.js → p-66dbd347.system.entry.js} +2 -2
- package/dist/calcite/{p-3984fbb5.system.js → p-671695ca.system.js} +2 -2
- package/dist/calcite/{p-d93b9102.js → p-67a3fb38.js} +1 -1
- package/dist/calcite/{p-636863c0.system.js → p-6e0b2fd9.system.js} +1 -1
- package/dist/calcite/{p-94ded1e1.system.entry.js → p-6e6679bf.system.entry.js} +2 -2
- package/dist/calcite/{p-5151ba82.system.entry.js → p-6ea7f273.system.entry.js} +2 -2
- package/dist/calcite/{p-568b6ad6.system.entry.js → p-6f24480f.system.entry.js} +2 -2
- package/dist/calcite/{p-c0e0a37e.entry.js → p-6f263d2e.entry.js} +2 -2
- package/dist/calcite/{p-1703676a.entry.js → p-6f75c19f.entry.js} +2 -2
- package/dist/calcite/{p-072353af.system.entry.js → p-718c81ee.system.entry.js} +2 -2
- package/dist/calcite/{p-efc69451.system.entry.js → p-718f0fbd.system.entry.js} +2 -2
- package/dist/calcite/{p-8c6a2f82.system.entry.js → p-72842fca.system.entry.js} +2 -2
- package/dist/calcite/{p-ca6fa431.system.js → p-76d71253.system.js} +1 -1
- package/dist/calcite/{p-a57dd0ce.entry.js → p-789558b9.entry.js} +2 -2
- package/dist/calcite/{p-066fcf54.js → p-79d7bcf2.js} +2 -2
- package/dist/calcite/{p-3638698f.entry.js → p-7a8b542f.entry.js} +2 -2
- package/dist/calcite/{p-4a0d21e7.entry.js → p-7b4314dc.entry.js} +2 -2
- package/dist/calcite/{p-14298e61.entry.js → p-7d8d51b3.entry.js} +2 -2
- package/dist/calcite/{p-de749a6c.system.js → p-7eb95628.system.js} +2 -2
- package/dist/calcite/{p-59674545.system.js → p-7fe88621.system.js} +1 -1
- package/dist/calcite/{p-129682d0.entry.js → p-80c5db63.entry.js} +2 -2
- package/dist/calcite/{p-68f6d5d1.system.entry.js → p-80da274f.system.entry.js} +2 -2
- package/dist/calcite/{p-4c938578.entry.js → p-81a63889.entry.js} +2 -2
- package/dist/calcite/p-826482d7.js +6 -0
- package/dist/calcite/{p-640e0448.system.entry.js → p-829c392c.system.entry.js} +3 -3
- package/dist/calcite/{p-2aceca62.entry.js → p-86d875ad.entry.js} +2 -2
- package/dist/calcite/{p-77a5ba39.system.entry.js → p-896c966d.system.entry.js} +2 -2
- package/dist/calcite/{p-502d6a6c.entry.js → p-8a3c111a.entry.js} +2 -2
- package/dist/calcite/{p-b6559e34.entry.js → p-8de1cd6f.entry.js} +2 -2
- package/dist/calcite/{p-d6bc58f2.entry.js → p-8ecaf1fb.entry.js} +2 -2
- package/dist/calcite/{p-09784bd2.entry.js → p-90c45893.entry.js} +2 -2
- package/dist/calcite/{p-32513ff0.system.entry.js → p-918c3056.system.entry.js} +2 -2
- package/dist/calcite/{p-9e128dd0.system.entry.js → p-91f007e9.system.entry.js} +2 -2
- package/dist/calcite/{p-1b034e67.system.entry.js → p-93a2e728.system.entry.js} +2 -2
- package/dist/calcite/{p-190f261e.system.entry.js → p-9790a6ed.system.entry.js} +2 -2
- package/dist/calcite/{p-c50d06fe.entry.js → p-97eaca72.entry.js} +2 -2
- package/dist/calcite/{p-f6612a3d.js → p-980fa1a3.js} +2 -2
- package/dist/calcite/{p-2df4a83c.system.entry.js → p-9c15cf9b.system.entry.js} +2 -2
- package/dist/calcite/{p-001fdb3f.system.entry.js → p-9c585873.system.entry.js} +2 -2
- package/dist/calcite/{p-c68469b1.system.js → p-9cf73ace.system.js} +2 -2
- package/dist/calcite/{p-2cb438cf.entry.js → p-9d01aa88.entry.js} +2 -2
- package/dist/calcite/{p-0f993f04.system.entry.js → p-9dbe912b.system.entry.js} +2 -2
- package/dist/calcite/{p-34e8449d.entry.js → p-9e2b419c.entry.js} +2 -2
- package/dist/calcite/{p-00cdff3e.entry.js → p-a0bda50f.entry.js} +2 -2
- package/dist/calcite/{p-7d6d07f7.system.entry.js → p-a1e1f584.system.entry.js} +2 -2
- package/dist/calcite/{p-c69edfcb.system.entry.js → p-a1f9ed7a.system.entry.js} +2 -2
- package/dist/calcite/{p-00d30d3a.entry.js → p-a556a3bb.entry.js} +2 -2
- package/dist/calcite/{p-780edd99.system.entry.js → p-a69001f0.system.entry.js} +2 -2
- package/dist/calcite/{p-ae1fa72c.entry.js → p-a95601db.entry.js} +2 -2
- package/dist/calcite/{p-42553683.system.entry.js → p-a97d6205.system.entry.js} +2 -2
- package/dist/calcite/{p-2b62b2dc.js → p-ac01200f.js} +1 -1
- package/dist/calcite/{p-106dc107.system.entry.js → p-acbcc93d.system.entry.js} +2 -2
- package/dist/calcite/{p-9bb2c8f2.entry.js → p-af2c1f7b.entry.js} +2 -2
- package/dist/calcite/{p-649ef399.js → p-b3298659.js} +2 -2
- package/dist/calcite/{p-5e2d8800.entry.js → p-b5438769.entry.js} +2 -2
- package/dist/calcite/{p-81d0552f.system.entry.js → p-b6e9465d.system.entry.js} +2 -2
- package/dist/calcite/{p-a28add23.system.js → p-b7c6c7b2.system.js} +1 -1
- package/dist/calcite/{p-8b49459d.system.entry.js → p-b9b7f37d.system.entry.js} +2 -2
- package/dist/calcite/{p-ba3c0050.system.entry.js → p-b9c89b12.system.entry.js} +2 -2
- package/dist/calcite/{p-6350f75f.js → p-b9d53692.js} +1 -1
- package/dist/calcite/{p-9aa3fe60.js → p-bfd24607.js} +2 -2
- package/dist/calcite/{p-58a1b48b.entry.js → p-c223a445.entry.js} +2 -2
- package/dist/calcite/{p-bb25c739.entry.js → p-c27e0b7e.entry.js} +2 -2
- package/dist/calcite/{p-4c03947d.entry.js → p-c69933c0.entry.js} +2 -2
- package/dist/calcite/{p-baab4ef2.system.entry.js → p-c6d02c31.system.entry.js} +2 -2
- package/dist/calcite/{p-7b4f3225.entry.js → p-c886ee3c.entry.js} +2 -2
- package/dist/calcite/{p-4f478285.system.js → p-cad27227.system.js} +1 -1
- package/dist/calcite/{p-fbc205cc.system.entry.js → p-cb0ed952.system.entry.js} +2 -2
- package/dist/calcite/{p-b030dd60.system.entry.js → p-cb18b9c4.system.entry.js} +2 -2
- package/dist/calcite/{p-0ee63285.system.js → p-ce87fe85.system.js} +1 -1
- package/dist/calcite/{p-1aaa2315.entry.js → p-cf0506f8.entry.js} +2 -2
- package/dist/calcite/{p-11326d34.entry.js → p-cf2dd402.entry.js} +2 -2
- package/dist/calcite/{p-efb9d9d7.js → p-d121dd69.js} +1 -1
- package/dist/calcite/p-d1dcd357.js +6 -0
- package/dist/calcite/{p-2cf5e98b.entry.js → p-d45e21e1.entry.js} +2 -2
- package/dist/calcite/{p-7bfd4b4f.js → p-d5bb1f97.js} +2 -2
- package/dist/calcite/{p-46fd3ee5.entry.js → p-d6e7415e.entry.js} +2 -2
- package/dist/calcite/{p-b11be6c9.system.entry.js → p-d7933406.system.entry.js} +2 -2
- package/dist/calcite/{p-ac2a797a.system.js → p-d8b9b21d.system.js} +1 -1
- package/dist/calcite/{p-afec1dc0.entry.js → p-dae3b393.entry.js} +2 -2
- package/dist/calcite/{p-e4958881.system.js → p-dbb14aaf.system.js} +3 -3
- package/dist/calcite/{p-6946345e.entry.js → p-dfb9a870.entry.js} +2 -2
- package/dist/calcite/{p-3d448dd1.system.entry.js → p-dfc87de6.system.entry.js} +2 -2
- package/dist/calcite/{p-0256661f.system.js → p-e3f0067a.system.js} +1 -1
- package/dist/calcite/{p-57a33de3.system.entry.js → p-e4844c9d.system.entry.js} +2 -2
- package/dist/calcite/{p-b0b330e3.system.entry.js → p-e6aa9e3d.system.entry.js} +2 -2
- package/dist/calcite/{p-c03a1a87.system.entry.js → p-e8234b1d.system.entry.js} +2 -2
- package/dist/calcite/{p-55df886d.entry.js → p-ec34d0c2.entry.js} +2 -2
- package/dist/calcite/{p-32ac62b6.entry.js → p-ecb171f2.entry.js} +2 -2
- package/dist/calcite/{p-8cf041c2.entry.js → p-edc13b97.entry.js} +2 -2
- package/dist/calcite/{p-19d181a3.js → p-f1e06d56.js} +1 -1
- package/dist/calcite/{p-2052a80a.entry.js → p-f39b4934.entry.js} +2 -2
- package/dist/calcite/{p-8a5374a7.entry.js → p-f3a12f7d.entry.js} +2 -2
- package/dist/calcite/{p-289203ab.system.entry.js → p-f4322b19.system.entry.js} +3 -3
- package/dist/calcite/{p-29784091.system.js → p-f47c57dd.system.js} +1 -1
- package/dist/calcite/{p-06da5c54.entry.js → p-f5c27b2c.entry.js} +2 -2
- package/dist/calcite/{p-bd47305c.system.js → p-f64afb0b.system.js} +2 -2
- package/dist/calcite/{p-865221e0.system.entry.js → p-f6ed40ab.system.entry.js} +2 -2
- package/dist/calcite/{p-d507c807.system.js → p-f8aec10d.system.js} +2 -2
- package/dist/calcite/{p-194d241f.entry.js → p-f8d6593f.entry.js} +2 -2
- package/dist/calcite/{p-d0105ccd.system.entry.js → p-fa7441b2.system.entry.js} +2 -2
- package/dist/calcite/{p-03fced34.system.js → p-fbc940f5.system.js} +2 -2
- package/dist/calcite/{p-8d17f037.system.js → p-fda19f01.system.js} +2 -2
- package/dist/calcite/{p-373f9743.system.entry.js → p-fe233cb4.system.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-e1f9c2d2.js → ExpandToggle-519d8c04.js} +5 -5
- package/dist/cjs/{Heading-e2033839.js → Heading-de153f82.js} +2 -2
- package/dist/cjs/{array-44017d81.js → array-8afd2ce5.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +8 -6
- package/dist/cjs/calcite-action-bar.cjs.entry.js +16 -11
- package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -8
- package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -10
- package/dist/cjs/calcite-action.cjs.entry.js +9 -7
- package/dist/cjs/calcite-alert.cjs.entry.js +8 -6
- package/dist/cjs/calcite-avatar.cjs.entry.js +10 -5
- package/dist/cjs/calcite-block_2.cjs.entry.js +16 -10
- package/dist/cjs/calcite-button.cjs.entry.js +12 -10
- package/dist/cjs/calcite-card.cjs.entry.js +15 -9
- package/dist/cjs/calcite-checkbox.cjs.entry.js +9 -8
- package/dist/cjs/calcite-chip.cjs.entry.js +9 -7
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +67 -26
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +19 -14
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +70 -12
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +13 -10
- package/dist/cjs/calcite-fab.cjs.entry.js +6 -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 +54 -9
- package/dist/cjs/calcite-handle.cjs.entry.js +5 -5
- package/dist/cjs/calcite-icon.cjs.entry.js +9 -5
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +16 -10
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +29 -14
- package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +52 -21
- package/dist/cjs/calcite-input.cjs.entry.js +20 -14
- package/dist/cjs/calcite-label.cjs.entry.js +6 -5
- package/dist/cjs/calcite-link.cjs.entry.js +7 -6
- package/dist/cjs/calcite-list_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-loader.cjs.entry.js +5 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +16 -7
- package/dist/cjs/calcite-notice.cjs.entry.js +10 -8
- package/dist/cjs/calcite-option_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-pagination.cjs.entry.js +8 -4
- package/dist/cjs/calcite-panel.cjs.entry.js +18 -11
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +21 -13
- package/dist/cjs/calcite-popover_2.cjs.entry.js +29 -11
- 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 +10 -8
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-rating.cjs.entry.js +13 -9
- package/dist/cjs/calcite-scrim.cjs.entry.js +5 -3
- package/dist/cjs/calcite-shell_3.cjs.entry.js +8 -7
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +8 -5
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -6
- package/dist/cjs/calcite-switch.cjs.entry.js +10 -8
- package/dist/cjs/calcite-tab_4.cjs.entry.js +35 -13
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -7
- package/dist/cjs/calcite-tip_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +8 -5
- package/dist/cjs/calcite-tree_2.cjs.entry.js +21 -11
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +21 -14
- package/dist/cjs/calcite.cjs.js +3 -3
- package/dist/cjs/{conditionalSlot-3860f20e.js → conditionalSlot-2b7b0c9a.js} +7 -3
- package/dist/cjs/{debounce-ec7ac114.js → debounce-020f9f3a.js} +1 -1
- package/dist/cjs/{dom-86455a62.js → dom-cf0fae95.js} +10 -2
- package/dist/cjs/{forIn-e3e96aa6.js → forIn-084e5a21.js} +2 -2
- package/dist/cjs/{form-ef43b187.js → form-4a76a449.js} +19 -3
- package/dist/cjs/{guid-99abe7a5.js → guid-e3e2f3c9.js} +1 -1
- package/dist/cjs/{index-cea6fcaf.js → index-7a67b910.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-0a852e0a.js → interactive-0190c630.js} +7 -4
- package/dist/cjs/{interfaces-3b2adc71.js → interfaces-6c1f00fa.js} +1 -1
- package/dist/cjs/{label-4e028c63.js → label-97b3b425.js} +9 -2
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{locale-2e1d94eb.js → locale-5c38bb9a.js} +2 -2
- package/dist/cjs/{math-6cd8136f.js → math-8a8bed36.js} +1 -1
- package/dist/cjs/{number-e8c2b3e2.js → number-225a74ee.js} +1 -1
- package/dist/cjs/{observers-b44e2827.js → observers-39a8d31f.js} +1 -1
- package/dist/cjs/{popper-17d7458a.js → popper-545c980c.js} +2 -2
- package/dist/cjs/{resources-df0af040.js → resources-575d75a6.js} +5 -5
- package/dist/cjs/{resources-c31fb2bc.js → resources-ac0e7e9c.js} +1 -1
- package/dist/cjs/{resources-747c1532.js → resources-c85a6701.js} +44 -3
- package/dist/cjs/{resources-57544287.js → resources-cc86f452.js} +1 -1
- package/dist/cjs/{sortable.esm-7e34b3c5.js → sortable.esm-64873d3c.js} +1 -1
- package/dist/cjs/{utils-33434d80.js → utils-15472b29.js} +1 -1
- package/dist/collection/components/accordion/accordion.js +5 -3
- 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 +4 -2
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +15 -4
- 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 +2 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +14 -4
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +6 -3
- 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 +6 -1
- package/dist/collection/components/block/block.js +9 -3
- 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 +5 -3
- 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 +12 -5
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +3 -2
- package/dist/collection/components/chip/chip.js +4 -2
- 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 +58 -19
- 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 +3 -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 +7 -4
- 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 +11 -3
- 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 +28 -4
- 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 +7 -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 +28 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +8 -1
- package/dist/collection/components/dropdown/dropdown.js +6 -5
- package/dist/collection/components/dropdown/interfaces.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +5 -3
- 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 +2 -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 +29 -1
- package/dist/collection/components/handle/handle.js +3 -3
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +5 -1
- package/dist/collection/components/inline-editable/inline-editable.js +10 -4
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +12 -6
- 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 +19 -4
- 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 +3 -1
- package/dist/collection/components/interfaces.js +1 -1
- package/dist/collection/components/label/label.js +2 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +3 -2
- package/dist/collection/components/list/list.js +2 -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 +3 -1
- package/dist/collection/components/modal/interfaces.js +1 -1
- package/dist/collection/components/modal/modal.js +41 -8
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +6 -3
- 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 +7 -3
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +27 -8
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +14 -4
- 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 +15 -5
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +2 -2
- package/dist/collection/components/popover/popover.js +55 -8
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/popover-manager/popover-manager.js +2 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +3 -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 +7 -3
- 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 +4 -2
- 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 +2 -1
- package/dist/collection/components/slider/slider.js +18 -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 +6 -3
- package/dist/collection/components/stepper/interfaces.js +1 -1
- package/dist/collection/components/stepper/stepper.js +14 -4
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.js +4 -2
- package/dist/collection/components/tab/interfaces.js +1 -1
- package/dist/collection/components/tab/tab.js +21 -5
- package/dist/collection/components/tab-nav/tab-nav.js +19 -9
- package/dist/collection/components/tab-title/tab-title.js +25 -9
- 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 +5 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +2 -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 +51 -16
- 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 +3 -1
- package/dist/collection/components/tooltip-manager/tooltip-manager.js +2 -1
- package/dist/collection/components/tree/interfaces.js +1 -1
- package/dist/collection/components/tree/tree.js +8 -4
- 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 +18 -12
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/value-list.js +14 -4
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +16 -7
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +5 -1
- package/dist/collection/utils/date.js +36 -1
- package/dist/collection/utils/dom.js +9 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/form.js +17 -1
- package/dist/collection/utils/globalAttributes.js +6 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +7 -4
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +8 -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 +2 -1
- package/dist/components/action.js +4 -2
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +5 -3
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +5 -3
- package/dist/components/calcite-action-bar.js +7 -2
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +6 -2
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +4 -2
- package/dist/components/calcite-avatar.js +6 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +9 -3
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +10 -4
- 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 +58 -19
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +3 -1
- package/dist/components/calcite-combobox.js +6 -3
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +5 -3
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +2 -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 +10 -4
- package/dist/components/calcite-input-date-picker.js +19 -4
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-time-picker.js +3 -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 +11 -2
- package/dist/components/calcite-notice.js +4 -2
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +7 -3
- package/dist/components/calcite-panel.js +10 -3
- 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 +6 -2
- package/dist/components/calcite-popover-manager.js +2 -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 +3 -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 +7 -3
- 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 +2 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +18 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +6 -3
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +6 -2
- 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 +2 -1
- package/dist/components/calcite-tooltip.js +3 -1
- package/dist/components/calcite-tree-item.js +10 -4
- package/dist/components/calcite-tree.js +7 -3
- package/dist/components/calcite-value-list-item.js +6 -3
- package/dist/components/calcite-value-list.js +6 -2
- package/dist/components/checkbox.js +3 -2
- package/dist/components/chip.js +4 -2
- package/dist/components/color-picker-hex-input.js +3 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/conditionalSlot.js +5 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +8 -1
- package/dist/components/date-picker-month.js +28 -1
- package/dist/components/date-picker.js +34 -4
- package/dist/components/date.js +36 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +9 -1
- package/dist/components/dropdown.js +3 -2
- package/dist/components/filter.js +1 -1
- package/dist/components/forIn.js +1 -1
- package/dist/components/form.js +17 -1
- package/dist/components/graph.js +29 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +2 -2
- package/dist/components/icon.js +5 -1
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +10 -4
- package/dist/components/interactive.js +7 -4
- package/dist/components/interfaces.js +1 -1
- package/dist/components/interfaces2.js +1 -1
- package/dist/components/label.js +8 -1
- package/dist/components/label2.js +2 -1
- package/dist/components/link.js +3 -2
- package/dist/components/loader.js +3 -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 +6 -2
- package/dist/components/popover.js +23 -5
- 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 +4 -2
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +4 -2
- package/dist/components/tab-nav.js +15 -5
- package/dist/components/tab-title.js +7 -3
- package/dist/components/tab.js +6 -2
- package/dist/components/tabs.js +5 -1
- package/dist/components/tile.js +2 -1
- package/dist/components/time-picker.js +43 -14
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/custom-elements/index.js +549 -104
- package/dist/esm/{ExpandToggle-b96edd5e.js → ExpandToggle-37cf84b0.js} +5 -5
- package/dist/esm/{Heading-1837a52c.js → Heading-8c939cf8.js} +2 -2
- package/dist/esm/{array-321957e6.js → array-b87220fc.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +8 -6
- package/dist/esm/calcite-action-bar.entry.js +16 -11
- package/dist/esm/calcite-action-group.entry.js +8 -8
- package/dist/esm/calcite-action-menu.entry.js +9 -8
- package/dist/esm/calcite-action-pad.entry.js +14 -10
- package/dist/esm/calcite-action.entry.js +9 -7
- package/dist/esm/calcite-alert.entry.js +8 -6
- package/dist/esm/calcite-avatar.entry.js +10 -5
- package/dist/esm/calcite-block_2.entry.js +16 -10
- package/dist/esm/calcite-button.entry.js +12 -10
- package/dist/esm/calcite-card.entry.js +15 -9
- package/dist/esm/calcite-checkbox.entry.js +9 -8
- package/dist/esm/calcite-chip.entry.js +9 -7
- package/dist/esm/calcite-color-picker_3.entry.js +67 -26
- package/dist/esm/calcite-combobox_3.entry.js +19 -14
- package/dist/esm/calcite-date-picker_4.entry.js +70 -12
- package/dist/esm/calcite-dropdown_3.entry.js +13 -10
- package/dist/esm/calcite-fab.entry.js +6 -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 +54 -9
- package/dist/esm/calcite-handle.entry.js +5 -5
- package/dist/esm/calcite-icon.entry.js +9 -5
- package/dist/esm/calcite-inline-editable.entry.js +16 -10
- package/dist/esm/calcite-input-date-picker.entry.js +29 -14
- package/dist/esm/calcite-input-message.entry.js +4 -4
- package/dist/esm/calcite-input-time-picker_2.entry.js +52 -21
- package/dist/esm/calcite-input.entry.js +20 -14
- package/dist/esm/calcite-label.entry.js +6 -5
- package/dist/esm/calcite-link.entry.js +7 -6
- package/dist/esm/calcite-list_3.entry.js +8 -8
- package/dist/esm/calcite-loader.entry.js +5 -3
- package/dist/esm/calcite-modal.entry.js +16 -7
- package/dist/esm/calcite-notice.entry.js +10 -8
- package/dist/esm/calcite-option_3.entry.js +8 -8
- package/dist/esm/calcite-pagination.entry.js +8 -4
- package/dist/esm/calcite-panel.entry.js +18 -11
- package/dist/esm/calcite-pick-list_3.entry.js +21 -13
- package/dist/esm/calcite-popover_2.entry.js +29 -11
- 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 +10 -8
- package/dist/esm/calcite-radio-group_2.entry.js +7 -7
- package/dist/esm/calcite-rating.entry.js +13 -9
- package/dist/esm/calcite-scrim.entry.js +5 -3
- package/dist/esm/calcite-shell_3.entry.js +8 -7
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +8 -5
- package/dist/esm/calcite-stepper_2.entry.js +10 -6
- package/dist/esm/calcite-switch.entry.js +10 -8
- package/dist/esm/calcite-tab_4.entry.js +35 -13
- package/dist/esm/calcite-tile-select_2.entry.js +4 -4
- package/dist/esm/calcite-tile.entry.js +8 -7
- package/dist/esm/calcite-tip_3.entry.js +7 -7
- package/dist/esm/calcite-tooltip_2.entry.js +8 -5
- package/dist/esm/calcite-tree_2.entry.js +21 -11
- package/dist/esm/calcite-value-list_2.entry.js +21 -14
- package/dist/esm/calcite.js +3 -3
- package/dist/esm/{conditionalSlot-3c00e7fe.js → conditionalSlot-d5dd9287.js} +7 -3
- package/dist/esm/{debounce-df0a6aea.js → debounce-118a7bf3.js} +1 -1
- package/dist/esm/{dom-45f2fe25.js → dom-f17bf906.js} +10 -2
- package/dist/esm/{forIn-0d62c985.js → forIn-7ef86518.js} +2 -2
- package/dist/esm/{form-8b0d78db.js → form-bd644390.js} +19 -3
- package/dist/esm/{guid-abe13cc2.js → guid-0eff0c36.js} +1 -1
- package/dist/esm/{index-effb376f.js → index-95d4d018.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-f15ff552.js → interactive-42b3a77d.js} +7 -4
- package/dist/esm/{interfaces-8f35e458.js → interfaces-fadf36e0.js} +1 -1
- package/dist/esm/{label-c6cbee0a.js → label-73c005f6.js} +9 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{locale-177710c0.js → locale-19a742f1.js} +2 -2
- package/dist/esm/{math-c0a7fce3.js → math-5be6997d.js} +1 -1
- package/dist/esm/{number-bc813e80.js → number-3cab3da6.js} +1 -1
- package/dist/esm/{observers-d987074b.js → observers-2d32784c.js} +1 -1
- package/dist/esm/{popper-2cf5182b.js → popper-f33d2a32.js} +2 -2
- package/dist/esm/{resources-e8e435d8.js → resources-1da3e5aa.js} +44 -3
- package/dist/esm/{resources-50fc5f58.js → resources-48dd3f7d.js} +1 -1
- package/dist/esm/{resources-8932f379.js → resources-540f6a49.js} +5 -5
- package/dist/esm/{resources-8c275d10.js → resources-a70eca0d.js} +1 -1
- package/dist/esm/{sortable.esm-a7107027.js → sortable.esm-5d354dd9.js} +1 -1
- package/dist/esm/{utils-78565828.js → utils-b445b7ed.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-b96edd5e.js → ExpandToggle-37cf84b0.js} +2 -2
- package/dist/esm-es5/{Heading-1837a52c.js → Heading-8c939cf8.js} +2 -2
- package/dist/esm-es5/{array-321957e6.js → array-b87220fc.js} +1 -1
- package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
- package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
- package/dist/esm-es5/calcite-action-group.entry.js +2 -2
- package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
- package/dist/esm-es5/calcite-action-pad.entry.js +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 +3 -3
- package/dist/esm-es5/calcite-input-message.entry.js +2 -2
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
- package/dist/esm-es5/calcite-input.entry.js +2 -2
- package/dist/esm-es5/calcite-label.entry.js +2 -2
- package/dist/esm-es5/calcite-link.entry.js +3 -3
- package/dist/esm-es5/calcite-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-loader.entry.js +2 -2
- package/dist/esm-es5/calcite-modal.entry.js +2 -2
- package/dist/esm-es5/calcite-notice.entry.js +2 -2
- package/dist/esm-es5/calcite-option_3.entry.js +2 -2
- package/dist/esm-es5/calcite-pagination.entry.js +2 -2
- package/dist/esm-es5/calcite-panel.entry.js +2 -2
- package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
- package/dist/esm-es5/calcite-progress.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
- package/dist/esm-es5/calcite-rating.entry.js +2 -2
- package/dist/esm-es5/calcite-scrim.entry.js +2 -2
- package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
- package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
- package/dist/esm-es5/calcite-split-button.entry.js +2 -2
- package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
- package/dist/esm-es5/calcite-switch.entry.js +2 -2
- package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
- package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tile.entry.js +2 -2
- package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
- package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
- package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
- package/dist/esm-es5/calcite.js +2 -2
- package/dist/esm-es5/{conditionalSlot-3c00e7fe.js → conditionalSlot-d5dd9287.js} +2 -2
- package/dist/esm-es5/{debounce-df0a6aea.js → debounce-118a7bf3.js} +1 -1
- package/dist/esm-es5/{dom-45f2fe25.js → dom-f17bf906.js} +2 -2
- package/dist/esm-es5/{forIn-0d62c985.js → forIn-7ef86518.js} +2 -2
- package/dist/esm-es5/{form-8b0d78db.js → form-bd644390.js} +2 -2
- package/dist/esm-es5/{guid-abe13cc2.js → guid-0eff0c36.js} +1 -1
- package/dist/esm-es5/{index-effb376f.js → index-95d4d018.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-f15ff552.js → interactive-42b3a77d.js} +1 -1
- package/dist/esm-es5/{interfaces-8f35e458.js → interfaces-fadf36e0.js} +1 -1
- package/dist/esm-es5/{label-c6cbee0a.js → label-73c005f6.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-177710c0.js → locale-19a742f1.js} +2 -2
- package/dist/esm-es5/{math-c0a7fce3.js → math-5be6997d.js} +1 -1
- package/dist/esm-es5/{number-bc813e80.js → number-3cab3da6.js} +1 -1
- package/dist/esm-es5/{observers-d987074b.js → observers-2d32784c.js} +1 -1
- package/dist/esm-es5/{popper-2cf5182b.js → popper-f33d2a32.js} +2 -2
- package/dist/esm-es5/{resources-e8e435d8.js → resources-1da3e5aa.js} +2 -2
- package/dist/esm-es5/{resources-50fc5f58.js → resources-48dd3f7d.js} +1 -1
- package/dist/esm-es5/{resources-8932f379.js → resources-540f6a49.js} +2 -2
- package/dist/esm-es5/{resources-8c275d10.js → resources-a70eca0d.js} +1 -1
- package/dist/esm-es5/{sortable.esm-a7107027.js → sortable.esm-5d354dd9.js} +1 -1
- package/dist/esm-es5/{utils-78565828.js → utils-b445b7ed.js} +1 -1
- package/dist/extras/docs-json.json +122 -22
- 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/accordion/accordion.d.ts +4 -2
- package/dist/types/components/action/action.d.ts +4 -1
- package/dist/types/components/action-bar/action-bar.d.ts +6 -1
- package/dist/types/components/action-menu/action-menu.d.ts +1 -0
- package/dist/types/components/action-pad/action-pad.d.ts +5 -1
- package/dist/types/components/alert/alert.d.ts +9 -4
- package/dist/types/components/avatar/utils.d.ts +5 -0
- package/dist/types/components/block/block.d.ts +8 -2
- package/dist/types/components/button/button.d.ts +4 -2
- package/dist/types/components/card/card.d.ts +11 -4
- package/dist/types/components/checkbox/checkbox.d.ts +3 -1
- package/dist/types/components/chip/chip.d.ts +3 -1
- package/dist/types/components/color-picker/color-picker.d.ts +57 -18
- package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +2 -0
- package/dist/types/components/combobox/combobox.d.ts +9 -3
- package/dist/types/components/combobox-item/combobox-item.d.ts +2 -0
- package/dist/types/components/date-picker/date-picker.d.ts +32 -3
- package/dist/types/components/date-picker/utils.d.ts +5 -0
- package/dist/types/components/date-picker-day/date-picker-day.d.ts +1 -0
- package/dist/types/components/date-picker-month/date-picker-month.d.ts +28 -0
- package/dist/types/components/date-picker-month-header/date-picker-month-header.d.ts +7 -0
- package/dist/types/components/dropdown/dropdown.d.ts +5 -4
- package/dist/types/components/dropdown-group/dropdown-group.d.ts +4 -2
- package/dist/types/components/fab/fab.d.ts +1 -0
- package/dist/types/components/graph/util.d.ts +14 -0
- package/dist/types/components/handle/handle.d.ts +1 -1
- package/dist/types/components/icon/utils.d.ts +4 -0
- package/dist/types/components/inline-editable/inline-editable.d.ts +9 -3
- package/dist/types/components/input/input.d.ts +15 -6
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +23 -4
- package/dist/types/components/input-message/input-message.d.ts +7 -3
- package/dist/types/components/input-time-picker/input-time-picker.d.ts +2 -0
- package/dist/types/components/label/label.d.ts +1 -0
- package/dist/types/components/link/link.d.ts +2 -1
- package/dist/types/components/list/list.d.ts +1 -0
- package/dist/types/components/loader/loader.d.ts +2 -0
- package/dist/types/components/modal/modal.d.ts +14 -3
- package/dist/types/components/notice/notice.d.ts +9 -4
- package/dist/types/components/pagination/pagination.d.ts +8 -2
- package/dist/types/components/panel/panel.d.ts +10 -2
- package/dist/types/components/pick-list/pick-list.d.ts +5 -1
- package/dist/types/components/pick-list-item/pick-list-item.d.ts +7 -1
- package/dist/types/components/popover/popover.d.ts +20 -3
- package/dist/types/components/popover-manager/popover-manager.d.ts +1 -0
- package/dist/types/components/radio-button/radio-button.d.ts +6 -0
- package/dist/types/components/radio-group-item/radio-group-item.d.ts +1 -0
- package/dist/types/components/rating/rating.d.ts +6 -2
- package/dist/types/components/scrim/scrim.d.ts +3 -1
- package/dist/types/components/shell-panel/shell-panel.d.ts +2 -0
- package/dist/types/components/slider/slider.d.ts +19 -0
- package/dist/types/components/split-button/split-button.d.ts +5 -2
- package/dist/types/components/stepper/stepper.d.ts +6 -1
- package/dist/types/components/switch/switch.d.ts +3 -1
- package/dist/types/components/tab/tab.d.ts +5 -1
- package/dist/types/components/tab-nav/tab-nav.d.ts +15 -4
- package/dist/types/components/tab-title/tab-title.d.ts +17 -5
- package/dist/types/components/tabs/tabs.d.ts +4 -0
- package/dist/types/components/tile/tile.d.ts +1 -0
- package/dist/types/components/time-picker/time-picker.d.ts +42 -13
- package/dist/types/components/tip-manager/tip-manager.d.ts +1 -0
- package/dist/types/components/tooltip/tooltip.d.ts +2 -0
- package/dist/types/components/tooltip-manager/tooltip-manager.d.ts +1 -0
- package/dist/types/components/tree/tree.d.ts +10 -3
- package/dist/types/components/tree-item/tree-item.d.ts +24 -10
- package/dist/types/components/value-list/value-list.d.ts +5 -1
- package/dist/types/components/value-list-item/value-list-item.d.ts +5 -2
- package/dist/types/components.d.ts +43 -7
- package/dist/types/utils/conditionalSlot.d.ts +4 -0
- package/dist/types/utils/date.d.ts +35 -0
- package/dist/types/utils/dom.d.ts +8 -0
- package/dist/types/utils/form.d.ts +14 -0
- package/dist/types/utils/globalAttributes.d.ts +5 -0
- package/dist/types/utils/interactive.d.ts +7 -4
- package/dist/types/utils/label.d.ts +7 -0
- package/hydrate/index.js +547 -107
- package/package.json +2 -1
- package/dist/calcite/p-6cf37ad9.js +0 -6
- package/dist/calcite/p-6ef36061.js +0 -6
- package/dist/calcite/p-98aab39c.system.entry.js +0 -6
- package/dist/calcite/p-9c955932.entry.js +0 -6
- package/dist/calcite/p-af43b4d7.js +0 -6
|
@@ -1,6 +1,6 @@
|
|
|
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.468
|
|
5
5
|
*/
|
|
6
|
-
import{r as t,f as a,h as i,g as e,c as s,H as n}from"./p-9e2c5494.js";import{g as l}from"./p-19d181a3.js";import{c as r}from"./p-6d0de3c2.js";import{j as h}from"./p-c6175b47.js";import{d as o,c}from"./p-e569b4b7.js";import{c as m,d}from"./p-9aa3fe60.js";import{c as u,d as b,a as p,H as f}from"./p-066fcf54.js";import{u as v}from"./p-f5873bdb.js";function g(t,a,i){const e=a[0]-t[0];return e?(3*(a[1]-t[1])/e-i)/2:i}function x(t,a,i,e,s){const[n,l]=t,[r,h]=a,o=(r-n)/3;return`C ${s([n+o,l+o*i]).join(",")} ${s([r-o,h-o*e]).join(",")} ${s([r,h]).join(",")}`}const _=class{constructor(i){t(this,i),this.data=[],this.graphId=`calcite-graph-${l()}`,this.resizeObserver=r("resize",(()=>a(this)))}connectedCallback(){var t;null===(t=this.resizeObserver)||void 0===t||t.observe(this.el)}disconnectedCallback(){var t;null===(t=this.resizeObserver)||void 0===t||t.disconnect()}render(){const{data:t,colorStops:a,el:e,highlightMax:s,highlightMin:n,min:l,max:r}=this,h=this.graphId,{clientHeight:o,clientWidth:c}=e;if(!t||0===t.length)return i("svg",{class:"svg",height:o,preserveAspectRatio:"none",viewBox:`0 0 ${c} ${o}`,width:c});const{min:m,max:d}=function(t){const[a,i]=t[0];return t.reduce((({min:t,max:a},[i,e])=>({min:[Math.min(t[0],i),Math.min(t[1],e)],max:[Math.max(a[0],i),Math.max(a[1],e)]})),{min:[a,i],max:[a,i]})}(t);let u=m,b=d;(l<m[0]||l>m[0])&&(u=[l,0]),(r>d[0]||r<d[0])&&(b=[r,d[1]]);const p=function({width:t,height:a,min:i,max:e}){const s=e[0]-i[0],n=e[1]-i[1];return e=>[(e[0]-i[0])/s*t,a-e[1]/n*a]}({min:u,max:b,width:c,height:o}),[f]=p([n,b[1]]),[v]=p([s,b[1]]),_=function({data:t,min:a,max:i,t:e}){if(0===t.length)return"";const[s,n]=e(t[0]),[l,r]=e(a),[h]=e(i);let o,c,m;const d=t.reduce(((a,i,s)=>{if(c=t[s-2],m=t[s-1],s>1){const t=function(t,a,i){const e=a[0]-t[0],s=i[0]-a[0],n=(a[1]-t[1])/(e||s<0&&0),l=(i[1]-a[1])/(s||e<0&&0),r=(n*s+l*e)/(e+s);return(Math.sign(n)+Math.sign(l))*Math.min(Math.abs(n),Math.abs(l),.5*Math.abs(r))||0}(c,m,i),s=void 0===o?g(c,m,t):o,n=x(c,m,s,t,e);return o=t,`${a} ${n}`}return a}),`M ${l},${r} L ${l},${n} L ${s},${n}`),u=t[t.length-1];return`${d} ${x(m,u,o,g(m,u,o),e)} L ${h},${r} Z`}({data:t,min:m,max:d,t:p}),k=a?`url(#linear-gradient-${h})`:void 0;return i("svg",{class:"svg",height:o,preserveAspectRatio:"none",viewBox:`0 0 ${c} ${o}`,width:c},a?i("defs",null,i("linearGradient",{id:`linear-gradient-${h}`,x1:"0",x2:"1",y1:"0",y2:"0"},a.map((({offset:t,color:a,opacity:e})=>i("stop",{offset:100*t+"%","stop-color":a,"stop-opacity":e}))))):null,void 0!==n?[i("mask",{height:"100%",id:`${h}1`,width:"100%",x:"0%",y:"0%"},i("path",{d:`\n M 0,0\n L ${f-1},0\n L ${f-1},${o}\n L 0,${o}\n Z\n `,fill:"white"})),i("mask",{height:"100%",id:`${h}2`,width:"100%",x:"0%",y:"0%"},i("path",{d:`\n M ${f+1},0\n L ${v-1},0\n L ${v-1},${o}\n L ${f+1}, ${o}\n Z\n `,fill:"white"})),i("mask",{height:"100%",id:`${h}3`,width:"100%",x:"0%",y:"0%"},i("path",{d:`\n M ${v+1},0\n L ${c},0\n L ${c},${o}\n L ${v+1}, ${o}\n Z\n `,fill:"white"})),i("path",{class:"graph-path",d:_,fill:k,mask:`url(#${h}1)`}),i("path",{class:"graph-path--highlight",d:_,fill:k,mask:`url(#${h}2)`}),i("path",{class:"graph-path",d:_,fill:k,mask:`url(#${h}3)`})]:i("path",{class:"graph-path",d:_,fill:k}))}get el(){return e(this)}};function k(t){return Array.isArray(t)}_.style="@-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;height:100%}.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}";const w=class{constructor(a){t(this,a),this.calciteSliderInput=s(this,"calciteSliderInput",7),this.calciteSliderChange=s(this,"calciteSliderChange",7),this.calciteSliderUpdate=s(this,"calciteSliderUpdate",7),this.disabled=!1,this.hasHistogram=!1,this.labelHandles=!1,this.labelTicks=!1,this.max=100,this.min=0,this.mirrored=!1,this.precise=!1,this.required=!1,this.snap=!1,this.step=1,this.value=0,this.scale="m",this.guid=`calcite-slider-${l()}`,this.activeProp="value",this.minMaxValueRange=null,this.minValueDragRange=null,this.maxValueDragRange=null,this.tickValues=[],this.dragUpdate=t=>{if(t.preventDefault(),this.dragProp){const a=this.translate(t.clientX||t.pageX);if(k(this.value)&&"minMaxValue"===this.dragProp)if(this.minValueDragRange&&this.maxValueDragRange&&this.minMaxValueRange){const t=a-this.minValueDragRange,i=a+this.maxValueDragRange;i<=this.max&&t>=this.min&&i-t===this.minMaxValueRange&&(this.minValue=this.clamp(t,"minValue"),this.maxValue=this.clamp(i,"maxValue"))}else this.minValueDragRange=a-this.minValue,this.maxValueDragRange=this.maxValue-a,this.minMaxValueRange=this.maxValue-this.minValue;else this.setValue(this.dragProp,this.clamp(a,this.dragProp))}},this.dragEnd=t=>{this.removeDragListeners(),this.focusActiveHandle(t.clientX),this.lastDragPropValue!=this[this.dragProp]&&this.emitChange(),this.dragProp=null,this.lastDragPropValue=null,this.minValueDragRange=null,this.maxValueDragRange=null,this.minMaxValueRange=null},this.storeTrackRef=t=>{this.trackEl=t}}histogramWatcher(t){this.hasHistogram=!!t}valueHandler(){this.setMinMaxFromValue()}minMaxValueHandler(){this.setValueFromMinMax()}connectedCallback(){this.setMinMaxFromValue(),this.setValueFromMinMax(),m(this),u(this)}disconnectedCallback(){d(this),b(this),this.removeDragListeners()}componentWillLoad(){this.tickValues=this.generateTickValues(),k(this.value)||(this.value=this.clamp(this.value)),p(this,this.value),this.snap&&!k(this.value)&&(this.value=this.getClosestStep(this.value)),this.histogram&&(this.hasHistogram=!0)}componentDidRender(){this.labelHandles&&(this.adjustHostObscuredHandleLabel("value"),k(this.value)&&(this.adjustHostObscuredHandleLabel("minValue"),this.precise&&!this.hasHistogram||this.hyphenateCollidingRangeHandleLabels())),this.hideObscuredBoundingTickLabels(),v(this)}render(){const t=this.el.id||this.guid,a=k(this.value)?"maxValue":"value",e=k(this.value)?this.maxValue:this.value,s=this.minValue||this.min,l=this.shouldUseMinValue(),r=100*this.getUnitInterval(l?this.minValue:s),h=100*this.getUnitInterval(e),o=this.shouldMirror(),c=`${o?100-r:r}%`,m=`${o?h:100-h}%`,d=k(this.value),u=i("div",{"aria-disabled":this.disabled,"aria-label":d?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":e,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===a},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=a,onPointerDown:()=>this.dragStart(a),ref:t=>this.maxHandle=t,role:"slider",style:{right:m},tabIndex:0},i("div",{class:"handle"})),b=i("div",{"aria-disabled":this.disabled,"aria-label":d?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":e,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===a},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=a,onPointerDown:()=>this.dragStart(a),ref:t=>this.maxHandle=t,role:"slider",style:{right:m},tabIndex:0},i("span",{"aria-hidden":"true",class:"handle__label handle__label--value"},e?e.toLocaleString():e),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value static"},e?e.toLocaleString():e),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value transformed"},e?e.toLocaleString():e),i("div",{class:"handle"})),p=i("div",{"aria-disabled":this.disabled,"aria-label":d?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":e,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===a},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=a,onPointerDown:()=>this.dragStart(a),ref:t=>this.maxHandle=t,role:"slider",style:{right:m},tabIndex:0},i("div",{class:"handle"}),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value"},e?e.toLocaleString():e),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value static"},e?e.toLocaleString():e),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value transformed"},e?e.toLocaleString():e)),v=i("div",{"aria-disabled":this.disabled,"aria-label":d?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":e,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===a,"thumb--precise":!0},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=a,onPointerDown:()=>this.dragStart(a),ref:t=>this.maxHandle=t,role:"slider",style:{right:m},tabIndex:0},i("div",{class:"handle"}),i("div",{class:"handle-extension"})),g=i("div",{"aria-disabled":this.disabled,"aria-label":d?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":e,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===a,"thumb--precise":!0},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=a,onPointerDown:()=>this.dragStart(a),ref:t=>this.maxHandle=t,role:"slider",style:{right:m},tabIndex:0},i("div",{class:"handle-extension"}),i("div",{class:"handle"})),x=i("div",{"aria-disabled":this.disabled,"aria-label":d?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":e,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===a,"thumb--precise":!0},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=a,onPointerDown:()=>this.dragStart(a),ref:t=>this.maxHandle=t,role:"slider",style:{right:m},tabIndex:0},i("span",{"aria-hidden":"true",class:"handle__label handle__label--value"},e?e.toLocaleString():e),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value static"},e?e.toLocaleString():e),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value transformed"},e?e.toLocaleString():e),i("div",{class:"handle"}),i("div",{class:"handle-extension"})),_=i("div",{"aria-disabled":this.disabled,"aria-label":d?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":e,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===a,"thumb--precise":!0},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=a,onPointerDown:()=>this.dragStart(a),ref:t=>this.maxHandle=t,role:"slider",style:{right:m},tabIndex:0},i("div",{class:"handle-extension"}),i("div",{class:"handle"}),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value"},e?e.toLocaleString():e),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value static"},e?e.toLocaleString():e),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value transformed"},e?e.toLocaleString():e)),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:!0,"thumb--minValue":!0,"thumb--active":"minValue"===this.dragProp},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp="minValue",onPointerDown:()=>this.dragStart("minValue"),ref:t=>this.minHandle=t,role:"slider",style:{left:c},tabIndex:0},i("div",{class:"handle"})),y=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:!0,"thumb--minValue":!0,"thumb--active":"minValue"===this.dragProp},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp="minValue",onPointerDown:()=>this.dragStart("minValue"),ref:t=>this.minHandle=t,role:"slider",style:{left:c},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"})),$=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:!0,"thumb--minValue":!0,"thumb--active":"minValue"===this.dragProp},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp="minValue",onPointerDown:()=>this.dragStart("minValue"),ref:t=>this.minHandle=t,role:"slider",style:{left:c},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())),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:!0,"thumb--minValue":!0,"thumb--active":"minValue"===this.dragProp,"thumb--precise":!0},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp="minValue",onPointerDown:()=>this.dragStart("minValue"),ref:t=>this.minHandle=t,role:"slider",style:{left:c},tabIndex:0},i("div",{class:"handle-extension"}),i("div",{class:"handle"})),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:!0,"thumb--minValue":!0,"thumb--active":"minValue"===this.dragProp,"thumb--precise":!0},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp="minValue",onPointerDown:()=>this.dragStart("minValue"),ref:t=>this.minHandle=t,role:"slider",style:{left:c},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(n,{id:t,onTouchStart:this.handleTouchStart},i("div",{class:{container:!0,"container--range":d,[`scale--${this.scale}`]:!0}},this.renderGraph(),i("div",{class:"track",ref:this.storeTrackRef},i("div",{class:"track__range",onPointerDown:()=>this.dragStart("minMaxValue"),style:{left:`${o?100-h:r}%`,right:`${o?r:100-h}%`}}),i("div",{class:"ticks"},this.tickValues.map((t=>{const a=100*this.getUnitInterval(t)+"%";let n=t>=s&&t<=e;return l&&(n=t>=this.minValue&&t<=this.maxValue),i("span",{class:{tick:!0,"tick--active":n},style:{left:o?"":a,right:o?a:""}},this.renderTickLabel(t))})))),i("div",{class:"thumb-container"},!this.precise&&!this.labelHandles&&d&&w,!this.hasHistogram&&!this.precise&&this.labelHandles&&d&&y,this.precise&&!this.labelHandles&&d&&D,this.precise&&this.labelHandles&&d&&V,this.hasHistogram&&!this.precise&&this.labelHandles&&d&&$,!this.precise&&!this.labelHandles&&u,!this.hasHistogram&&!this.precise&&this.labelHandles&&b,!this.hasHistogram&&this.precise&&!this.labelHandles&&v,this.hasHistogram&&this.precise&&!this.labelHandles&&g,!this.hasHistogram&&this.precise&&this.labelHandles&&x,this.hasHistogram&&!this.precise&&this.labelHandles&&p,this.hasHistogram&&this.precise&&this.labelHandles&&_,i(f,{component:this}))))}renderGraph(){return this.histogram?i("calcite-graph",{class:"graph",colorStops:this.histogramStops,data:this.histogram,highlightMax:k(this.value)?this.maxValue:this.value,highlightMin:k(this.value)?this.minValue:this.min,max:this.max,min:this.min}):null}renderTickLabel(t){const a=k(this.value),e=t===this.min,s=t===this.max,n=i("span",{class:{tick__label:!0,"tick__label--min":e,"tick__label--max":s}},t.toLocaleString());return this.labelTicks&&!this.hasHistogram&&!a||this.labelTicks&&!this.hasHistogram&&a&&!this.precise&&!this.labelHandles||this.labelTicks&&!this.hasHistogram&&a&&!this.precise&&this.labelHandles||this.labelTicks&&!this.hasHistogram&&a&&this.precise&&(e||s)||this.labelTicks&&this.hasHistogram&&!this.precise&&!this.labelHandles||this.labelTicks&&this.hasHistogram&&this.precise&&!this.labelHandles&&(e||s)||this.labelTicks&&this.hasHistogram&&!this.precise&&this.labelHandles&&(e||s)||this.labelTicks&&this.hasHistogram&&this.precise&&this.labelHandles&&(e||s)?n:null}keyDownHandler(t){const a=this.shouldMirror(),{activeProp:i,max:e,min:s,pageStep:n,step:l}=this,r=this[i],h=t.key;if("Enter"===h||" "===h)return void t.preventDefault();let c;if("ArrowUp"===h||"ArrowRight"===h?c=r+l*(a&&"ArrowRight"===h?-1:1):"ArrowDown"===h||"ArrowLeft"===h?c=r-l*(a&&"ArrowLeft"===h?-1:1):"PageUp"===h?n&&(c=r+n):"PageDown"===h?n&&(c=r-n):"Home"===h?c=s:"End"===h&&(c=e),isNaN(c))return;t.preventDefault();const m=Number(c.toFixed(o(l)));this.setValue(i,this.clamp(m,i))}clickHandler(t){this.focusActiveHandle(t.clientX)}pointerDownHandler(t){const a=this.translate(t.clientX||t.pageX);let i="value";k(this.value)&&(i=a>=this.minValue&&a<=this.maxValue&&"minMaxValue"===this.lastDragProp?"minMaxValue":Math.abs(this.maxValue-a)<Math.abs(this.minValue-a)||a>this.maxValue?"maxValue":"minValue"),this.lastDragPropValue=this[i],this.dragStart(i),this.el.shadowRoot.querySelector(".thumb:active")||this.setValue(i,this.clamp(a,i))}handleTouchStart(t){t.preventDefault()}async setFocus(){(this.minHandle?this.minHandle:this.maxHandle).focus()}setValueFromMinMax(){const{minValue:t,maxValue:a}=this;"number"==typeof t&&"number"==typeof a&&(this.value=[t,a])}setMinMaxFromValue(){const{value:t}=this;k(t)&&(this.minValue=t[0],this.maxValue=t[1])}onLabelClick(){this.setFocus()}shouldMirror(){return this.mirrored&&!this.hasHistogram}shouldUseMinValue(){return!!k(this.value)&&(this.hasHistogram&&0===this.maxValue||!this.hasHistogram&&0===this.minValue)}generateTickValues(){const t=[];let a=this.min;for(;this.ticks&&a<this.max+this.ticks;)t.push(Math.min(a,this.max)),a+=this.ticks;return t}dragStart(t){this.dragProp=t,this.lastDragProp=this.dragProp,this.activeProp=t,document.addEventListener("pointermove",this.dragUpdate),document.addEventListener("pointerup",this.dragEnd),document.addEventListener("pointercancel",this.dragEnd)}focusActiveHandle(t){switch(this.dragProp){case"minValue":this.minHandle.focus();break;case"maxValue":this.maxHandle.focus();break;case"minMaxValue":this.getClosestHandle(t).focus()}}emitInput(){this.calciteSliderInput.emit(),this.calciteSliderUpdate.emit()}emitChange(){this.calciteSliderChange.emit()}removeDragListeners(){document.removeEventListener("pointermove",this.dragUpdate),document.removeEventListener("pointerup",this.dragEnd),document.removeEventListener("pointercancel",this.dragEnd)}setValue(t,a){this[t]!==a&&(this[t]=a,this.dragProp||this.emitChange(),this.emitInput())}clamp(t,a){return t=c(t,this.min,this.max),"maxValue"===a&&(t=Math.max(t,this.minValue)),"minValue"===a&&(t=Math.min(t,this.maxValue)),t}translate(t){const a=this.max-this.min,{left:i,width:e}=this.trackEl.getBoundingClientRect(),s=(t-i)/e,n=this.shouldMirror(),l=this.clamp(this.min+a*(n?1-s:s));let r=Number(l.toFixed(o(this.step)));return this.snap&&this.step&&(r=this.getClosestStep(r)),r}getClosestStep(t){if(t=Number(this.clamp(t).toFixed(o(this.step))),this.step){const a=Math.round(t/this.step)*this.step;t=Number(this.clamp(a).toFixed(o(this.step)))}return t}getClosestHandle(t){return this.getDistanceX(this.maxHandle,t)>this.getDistanceX(this.minHandle,t)?this.minHandle:this.maxHandle}getDistanceX(t,a){return Math.abs(t.getBoundingClientRect().left-a)}getFontSizeForElement(t){return Number(window.getComputedStyle(t).getPropertyValue("font-size").match(/\d+/)[0])}getUnitInterval(t){return((t=this.clamp(t))-this.min)/(this.max-this.min)}adjustHostObscuredHandleLabel(t){const a=this.el.shadowRoot.querySelector(`.handle__label--${t}`),i=this.el.shadowRoot.querySelector(`.handle__label--${t}.static`),e=this.el.shadowRoot.querySelector(`.handle__label--${t}.transformed`),s=i.getBoundingClientRect(),n=this.getHostOffset(s.left,s.right);a.style.transform=`translateX(${n}px)`,e.style.transform=`translateX(${n}px)`}hyphenateCollidingRangeHandleLabels(){const{shadowRoot:t}=this.el,a=this.shouldMirror(),i=a?"value":"minValue",e=a?"minValue":"value",s=t.querySelector(`.handle__label--${i}`),n=t.querySelector(`.handle__label--${i}.static`),l=t.querySelector(`.handle__label--${i}.transformed`),r=this.getHostOffset(n.getBoundingClientRect().left,n.getBoundingClientRect().right),h=t.querySelector(`.handle__label--${e}`),o=t.querySelector(`.handle__label--${e}.static`),c=t.querySelector(`.handle__label--${e}.transformed`),m=this.getHostOffset(o.getBoundingClientRect().left,o.getBoundingClientRect().right),d=this.getFontSizeForElement(s),u=this.getRangeLabelOverlap(l,c),b=s,p=d/2;if(u>0){if(b.classList.add("hyphen","hyphen--wrap"),0===m&&0===r){let t=u/2-p;t=-1===Math.sign(t)?Math.abs(t):-t;const a=this.getHostOffset(l.getBoundingClientRect().left+t-p,l.getBoundingClientRect().right+t-p);let i=u/2;const e=this.getHostOffset(c.getBoundingClientRect().left+i,c.getBoundingClientRect().right+i);0!==a&&(t+=a,i+=a),0!==e&&(t+=e,i+=e),s.style.transform=`translateX(${t}px)`,l.style.transform=`translateX(${t-p}px)`,h.style.transform=`translateX(${i}px)`,c.style.transform=`translateX(${i}px)`}else if(r>0||m>0)s.style.transform=`translateX(${r+p}px)`,h.style.transform=`translateX(${u+m}px)`,c.style.transform=`translateX(${u+m}px)`;else if(r<0||m<0){let t=Math.abs(r)+u-p;t=-1===Math.sign(t)?Math.abs(t):-t,s.style.transform=`translateX(${t}px)`,l.style.transform=`translateX(${t-p}px)`}}else b.classList.remove("hyphen","hyphen--wrap"),s.style.transform=`translateX(${r}px)`,l.style.transform=`translateX(${r}px)`,h.style.transform=`translateX(${m}px)`,c.style.transform=`translateX(${m}px)`}hideObscuredBoundingTickLabels(){const t=k(this.value);if(!(this.hasHistogram||t||this.labelHandles||this.precise))return;if(!this.hasHistogram&&!t&&this.labelHandles&&!this.precise)return;if(!this.hasHistogram&&!t&&!this.labelHandles&&this.precise)return;if(!this.hasHistogram&&!t&&this.labelHandles&&this.precise)return;if(!this.hasHistogram&&t&&!this.precise)return;if(this.hasHistogram&&!this.precise&&!this.labelHandles)return;const a=this.el.shadowRoot.querySelector(".thumb--minValue"),i=this.el.shadowRoot.querySelector(".thumb--value"),e=this.el.shadowRoot.querySelector(".tick__label--min"),s=this.el.shadowRoot.querySelector(".tick__label--max");!a&&i&&e&&s&&(e.style.opacity=this.isMinTickLabelObscured(e,i)?"0":"1",s.style.opacity=this.isMaxTickLabelObscured(s,i)?"0":"1"),a&&i&&e&&s&&(e.style.opacity=this.isMinTickLabelObscured(e,a)||this.isMinTickLabelObscured(e,i)?"0":"1",s.style.opacity=this.isMaxTickLabelObscured(s,a)||this.isMaxTickLabelObscured(s,i)&&this.hasHistogram?"0":"1")}getHostOffset(t,a){const i=this.el.getBoundingClientRect();return t+7<i.left?i.left-t-7:a-7>i.right?7-(a-i.right):0}getRangeLabelOverlap(t,a){const i=t.getBoundingClientRect(),e=a.getBoundingClientRect(),s=this.getFontSizeForElement(t);return Math.max(i.right+s-e.left,0)}isMinTickLabelObscured(t,a){const i=t.getBoundingClientRect(),e=a.getBoundingClientRect();return h(i,e)}isMaxTickLabelObscured(t,a){const i=t.getBoundingClientRect(),e=a.getBoundingClientRect();return h(i,e)}get el(){return e(this)}static get watchers(){return{histogram:["histogramWatcher"],value:["valueHandler"],minValue:["minMaxValueHandler"],maxValue:["minMaxValueHandler"]}}};w.style='@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))}@media (forced-colors: active){.thumb{outline-width:0;outline-offset:0}.handle{outline:2px solid transparent;outline-offset:2px}.thumb:focus .handle,.thumb .handle-extension,.thumb:hover .handle-extension,.thumb:focus .handle-extension,.thumb:active .handle-extension{background-color:canvasText}.track{background-color:canvasText}.track__range{background-color:highlight}}.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}';export{_ as calcite_graph,w as calcite_slider}
|
|
6
|
+
import{r as t,f as a,h as i,g as e,c as s,H as n}from"./p-0c89f05f.js";import{g as l}from"./p-f1e06d56.js";import{c as r}from"./p-5dd4629c.js";import{j as h}from"./p-102b243d.js";import{d as o,c}from"./p-356ae0f0.js";import{c as m,d}from"./p-bfd24607.js";import{c as u,d as b,a as p,H as f}from"./p-79d7bcf2.js";import{u as v}from"./p-1b64d694.js";function g(t,a,i){const e=a[0]-t[0];return e?(3*(a[1]-t[1])/e-i)/2:i}function x(t,a,i,e,s){const[n,l]=t,[r,h]=a,o=(r-n)/3;return`C ${s([n+o,l+o*i]).join(",")} ${s([r-o,h-o*e]).join(",")} ${s([r,h]).join(",")}`}const _=class{constructor(i){t(this,i),this.data=[],this.graphId=`calcite-graph-${l()}`,this.resizeObserver=r("resize",(()=>a(this)))}connectedCallback(){var t;null===(t=this.resizeObserver)||void 0===t||t.observe(this.el)}disconnectedCallback(){var t;null===(t=this.resizeObserver)||void 0===t||t.disconnect()}render(){const{data:t,colorStops:a,el:e,highlightMax:s,highlightMin:n,min:l,max:r}=this,h=this.graphId,{clientHeight:o,clientWidth:c}=e;if(!t||0===t.length)return i("svg",{class:"svg",height:o,preserveAspectRatio:"none",viewBox:`0 0 ${c} ${o}`,width:c});const{min:m,max:d}=function(t){const[a,i]=t[0];return t.reduce((({min:t,max:a},[i,e])=>({min:[Math.min(t[0],i),Math.min(t[1],e)],max:[Math.max(a[0],i),Math.max(a[1],e)]})),{min:[a,i],max:[a,i]})}(t);let u=m,b=d;(l<m[0]||l>m[0])&&(u=[l,0]),(r>d[0]||r<d[0])&&(b=[r,d[1]]);const p=function({width:t,height:a,min:i,max:e}){const s=e[0]-i[0],n=e[1]-i[1];return e=>[(e[0]-i[0])/s*t,a-e[1]/n*a]}({min:u,max:b,width:c,height:o}),[f]=p([n,b[1]]),[v]=p([s,b[1]]),_=function({data:t,min:a,max:i,t:e}){if(0===t.length)return"";const[s,n]=e(t[0]),[l,r]=e(a),[h]=e(i);let o,c,m;const d=t.reduce(((a,i,s)=>{if(c=t[s-2],m=t[s-1],s>1){const t=function(t,a,i){const e=a[0]-t[0],s=i[0]-a[0],n=(a[1]-t[1])/(e||s<0&&0),l=(i[1]-a[1])/(s||e<0&&0),r=(n*s+l*e)/(e+s);return(Math.sign(n)+Math.sign(l))*Math.min(Math.abs(n),Math.abs(l),.5*Math.abs(r))||0}(c,m,i),s=void 0===o?g(c,m,t):o,n=x(c,m,s,t,e);return o=t,`${a} ${n}`}return a}),`M ${l},${r} L ${l},${n} L ${s},${n}`),u=t[t.length-1];return`${d} ${x(m,u,o,g(m,u,o),e)} L ${h},${r} Z`}({data:t,min:m,max:d,t:p}),k=a?`url(#linear-gradient-${h})`:void 0;return i("svg",{class:"svg",height:o,preserveAspectRatio:"none",viewBox:`0 0 ${c} ${o}`,width:c},a?i("defs",null,i("linearGradient",{id:`linear-gradient-${h}`,x1:"0",x2:"1",y1:"0",y2:"0"},a.map((({offset:t,color:a,opacity:e})=>i("stop",{offset:100*t+"%","stop-color":a,"stop-opacity":e}))))):null,void 0!==n?[i("mask",{height:"100%",id:`${h}1`,width:"100%",x:"0%",y:"0%"},i("path",{d:`\n M 0,0\n L ${f-1},0\n L ${f-1},${o}\n L 0,${o}\n Z\n `,fill:"white"})),i("mask",{height:"100%",id:`${h}2`,width:"100%",x:"0%",y:"0%"},i("path",{d:`\n M ${f+1},0\n L ${v-1},0\n L ${v-1},${o}\n L ${f+1}, ${o}\n Z\n `,fill:"white"})),i("mask",{height:"100%",id:`${h}3`,width:"100%",x:"0%",y:"0%"},i("path",{d:`\n M ${v+1},0\n L ${c},0\n L ${c},${o}\n L ${v+1}, ${o}\n Z\n `,fill:"white"})),i("path",{class:"graph-path",d:_,fill:k,mask:`url(#${h}1)`}),i("path",{class:"graph-path--highlight",d:_,fill:k,mask:`url(#${h}2)`}),i("path",{class:"graph-path",d:_,fill:k,mask:`url(#${h}3)`})]:i("path",{class:"graph-path",d:_,fill:k}))}get el(){return e(this)}};function k(t){return Array.isArray(t)}_.style="@-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;height:100%}.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}";const w=class{constructor(a){t(this,a),this.calciteSliderInput=s(this,"calciteSliderInput",7),this.calciteSliderChange=s(this,"calciteSliderChange",7),this.calciteSliderUpdate=s(this,"calciteSliderUpdate",7),this.disabled=!1,this.hasHistogram=!1,this.labelHandles=!1,this.labelTicks=!1,this.max=100,this.min=0,this.mirrored=!1,this.precise=!1,this.required=!1,this.snap=!1,this.step=1,this.value=0,this.scale="m",this.guid=`calcite-slider-${l()}`,this.activeProp="value",this.minMaxValueRange=null,this.minValueDragRange=null,this.maxValueDragRange=null,this.tickValues=[],this.dragUpdate=t=>{if(t.preventDefault(),this.dragProp){const a=this.translate(t.clientX||t.pageX);if(k(this.value)&&"minMaxValue"===this.dragProp)if(this.minValueDragRange&&this.maxValueDragRange&&this.minMaxValueRange){const t=a-this.minValueDragRange,i=a+this.maxValueDragRange;i<=this.max&&t>=this.min&&i-t===this.minMaxValueRange&&(this.minValue=this.clamp(t,"minValue"),this.maxValue=this.clamp(i,"maxValue"))}else this.minValueDragRange=a-this.minValue,this.maxValueDragRange=this.maxValue-a,this.minMaxValueRange=this.maxValue-this.minValue;else this.setValue(this.dragProp,this.clamp(a,this.dragProp))}},this.dragEnd=t=>{this.removeDragListeners(),this.focusActiveHandle(t.clientX),this.lastDragPropValue!=this[this.dragProp]&&this.emitChange(),this.dragProp=null,this.lastDragPropValue=null,this.minValueDragRange=null,this.maxValueDragRange=null,this.minMaxValueRange=null},this.storeTrackRef=t=>{this.trackEl=t}}histogramWatcher(t){this.hasHistogram=!!t}valueHandler(){this.setMinMaxFromValue()}minMaxValueHandler(){this.setValueFromMinMax()}connectedCallback(){this.setMinMaxFromValue(),this.setValueFromMinMax(),m(this),u(this)}disconnectedCallback(){d(this),b(this),this.removeDragListeners()}componentWillLoad(){this.tickValues=this.generateTickValues(),k(this.value)||(this.value=this.clamp(this.value)),p(this,this.value),this.snap&&!k(this.value)&&(this.value=this.getClosestStep(this.value)),this.histogram&&(this.hasHistogram=!0)}componentDidRender(){this.labelHandles&&(this.adjustHostObscuredHandleLabel("value"),k(this.value)&&(this.adjustHostObscuredHandleLabel("minValue"),this.precise&&!this.hasHistogram||this.hyphenateCollidingRangeHandleLabels())),this.hideObscuredBoundingTickLabels(),v(this)}render(){const t=this.el.id||this.guid,a=k(this.value)?"maxValue":"value",e=k(this.value)?this.maxValue:this.value,s=this.minValue||this.min,l=this.shouldUseMinValue(),r=100*this.getUnitInterval(l?this.minValue:s),h=100*this.getUnitInterval(e),o=this.shouldMirror(),c=`${o?100-r:r}%`,m=`${o?h:100-h}%`,d=k(this.value),u=i("div",{"aria-disabled":this.disabled,"aria-label":d?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":e,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===a},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=a,onPointerDown:()=>this.dragStart(a),ref:t=>this.maxHandle=t,role:"slider",style:{right:m},tabIndex:0},i("div",{class:"handle"})),b=i("div",{"aria-disabled":this.disabled,"aria-label":d?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":e,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===a},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=a,onPointerDown:()=>this.dragStart(a),ref:t=>this.maxHandle=t,role:"slider",style:{right:m},tabIndex:0},i("span",{"aria-hidden":"true",class:"handle__label handle__label--value"},e?e.toLocaleString():e),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value static"},e?e.toLocaleString():e),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value transformed"},e?e.toLocaleString():e),i("div",{class:"handle"})),p=i("div",{"aria-disabled":this.disabled,"aria-label":d?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":e,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===a},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=a,onPointerDown:()=>this.dragStart(a),ref:t=>this.maxHandle=t,role:"slider",style:{right:m},tabIndex:0},i("div",{class:"handle"}),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value"},e?e.toLocaleString():e),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value static"},e?e.toLocaleString():e),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value transformed"},e?e.toLocaleString():e)),v=i("div",{"aria-disabled":this.disabled,"aria-label":d?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":e,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===a,"thumb--precise":!0},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=a,onPointerDown:()=>this.dragStart(a),ref:t=>this.maxHandle=t,role:"slider",style:{right:m},tabIndex:0},i("div",{class:"handle"}),i("div",{class:"handle-extension"})),g=i("div",{"aria-disabled":this.disabled,"aria-label":d?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":e,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===a,"thumb--precise":!0},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=a,onPointerDown:()=>this.dragStart(a),ref:t=>this.maxHandle=t,role:"slider",style:{right:m},tabIndex:0},i("div",{class:"handle-extension"}),i("div",{class:"handle"})),x=i("div",{"aria-disabled":this.disabled,"aria-label":d?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":e,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===a,"thumb--precise":!0},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=a,onPointerDown:()=>this.dragStart(a),ref:t=>this.maxHandle=t,role:"slider",style:{right:m},tabIndex:0},i("span",{"aria-hidden":"true",class:"handle__label handle__label--value"},e?e.toLocaleString():e),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value static"},e?e.toLocaleString():e),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value transformed"},e?e.toLocaleString():e),i("div",{class:"handle"}),i("div",{class:"handle-extension"})),_=i("div",{"aria-disabled":this.disabled,"aria-label":d?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":e,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===a,"thumb--precise":!0},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=a,onPointerDown:()=>this.dragStart(a),ref:t=>this.maxHandle=t,role:"slider",style:{right:m},tabIndex:0},i("div",{class:"handle-extension"}),i("div",{class:"handle"}),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value"},e?e.toLocaleString():e),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value static"},e?e.toLocaleString():e),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value transformed"},e?e.toLocaleString():e)),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:!0,"thumb--minValue":!0,"thumb--active":"minValue"===this.dragProp},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp="minValue",onPointerDown:()=>this.dragStart("minValue"),ref:t=>this.minHandle=t,role:"slider",style:{left:c},tabIndex:0},i("div",{class:"handle"})),y=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:!0,"thumb--minValue":!0,"thumb--active":"minValue"===this.dragProp},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp="minValue",onPointerDown:()=>this.dragStart("minValue"),ref:t=>this.minHandle=t,role:"slider",style:{left:c},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"})),$=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:!0,"thumb--minValue":!0,"thumb--active":"minValue"===this.dragProp},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp="minValue",onPointerDown:()=>this.dragStart("minValue"),ref:t=>this.minHandle=t,role:"slider",style:{left:c},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())),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:!0,"thumb--minValue":!0,"thumb--active":"minValue"===this.dragProp,"thumb--precise":!0},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp="minValue",onPointerDown:()=>this.dragStart("minValue"),ref:t=>this.minHandle=t,role:"slider",style:{left:c},tabIndex:0},i("div",{class:"handle-extension"}),i("div",{class:"handle"})),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:!0,"thumb--minValue":!0,"thumb--active":"minValue"===this.dragProp,"thumb--precise":!0},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp="minValue",onPointerDown:()=>this.dragStart("minValue"),ref:t=>this.minHandle=t,role:"slider",style:{left:c},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(n,{id:t,onTouchStart:this.handleTouchStart},i("div",{class:{container:!0,"container--range":d,[`scale--${this.scale}`]:!0}},this.renderGraph(),i("div",{class:"track",ref:this.storeTrackRef},i("div",{class:"track__range",onPointerDown:()=>this.dragStart("minMaxValue"),style:{left:`${o?100-h:r}%`,right:`${o?r:100-h}%`}}),i("div",{class:"ticks"},this.tickValues.map((t=>{const a=100*this.getUnitInterval(t)+"%";let n=t>=s&&t<=e;return l&&(n=t>=this.minValue&&t<=this.maxValue),i("span",{class:{tick:!0,"tick--active":n},style:{left:o?"":a,right:o?a:""}},this.renderTickLabel(t))})))),i("div",{class:"thumb-container"},!this.precise&&!this.labelHandles&&d&&w,!this.hasHistogram&&!this.precise&&this.labelHandles&&d&&y,this.precise&&!this.labelHandles&&d&&D,this.precise&&this.labelHandles&&d&&V,this.hasHistogram&&!this.precise&&this.labelHandles&&d&&$,!this.precise&&!this.labelHandles&&u,!this.hasHistogram&&!this.precise&&this.labelHandles&&b,!this.hasHistogram&&this.precise&&!this.labelHandles&&v,this.hasHistogram&&this.precise&&!this.labelHandles&&g,!this.hasHistogram&&this.precise&&this.labelHandles&&x,this.hasHistogram&&!this.precise&&this.labelHandles&&p,this.hasHistogram&&this.precise&&this.labelHandles&&_,i(f,{component:this}))))}renderGraph(){return this.histogram?i("calcite-graph",{class:"graph",colorStops:this.histogramStops,data:this.histogram,highlightMax:k(this.value)?this.maxValue:this.value,highlightMin:k(this.value)?this.minValue:this.min,max:this.max,min:this.min}):null}renderTickLabel(t){const a=k(this.value),e=t===this.min,s=t===this.max,n=i("span",{class:{tick__label:!0,"tick__label--min":e,"tick__label--max":s}},t.toLocaleString());return this.labelTicks&&!this.hasHistogram&&!a||this.labelTicks&&!this.hasHistogram&&a&&!this.precise&&!this.labelHandles||this.labelTicks&&!this.hasHistogram&&a&&!this.precise&&this.labelHandles||this.labelTicks&&!this.hasHistogram&&a&&this.precise&&(e||s)||this.labelTicks&&this.hasHistogram&&!this.precise&&!this.labelHandles||this.labelTicks&&this.hasHistogram&&this.precise&&!this.labelHandles&&(e||s)||this.labelTicks&&this.hasHistogram&&!this.precise&&this.labelHandles&&(e||s)||this.labelTicks&&this.hasHistogram&&this.precise&&this.labelHandles&&(e||s)?n:null}keyDownHandler(t){const a=this.shouldMirror(),{activeProp:i,max:e,min:s,pageStep:n,step:l}=this,r=this[i],h=t.key;if("Enter"===h||" "===h)return void t.preventDefault();let c;if("ArrowUp"===h||"ArrowRight"===h?c=r+l*(a&&"ArrowRight"===h?-1:1):"ArrowDown"===h||"ArrowLeft"===h?c=r-l*(a&&"ArrowLeft"===h?-1:1):"PageUp"===h?n&&(c=r+n):"PageDown"===h?n&&(c=r-n):"Home"===h?c=s:"End"===h&&(c=e),isNaN(c))return;t.preventDefault();const m=Number(c.toFixed(o(l)));this.setValue(i,this.clamp(m,i))}clickHandler(t){this.focusActiveHandle(t.clientX)}pointerDownHandler(t){const a=this.translate(t.clientX||t.pageX);let i="value";k(this.value)&&(i=a>=this.minValue&&a<=this.maxValue&&"minMaxValue"===this.lastDragProp?"minMaxValue":Math.abs(this.maxValue-a)<Math.abs(this.minValue-a)||a>this.maxValue?"maxValue":"minValue"),this.lastDragPropValue=this[i],this.dragStart(i),this.el.shadowRoot.querySelector(".thumb:active")||this.setValue(i,this.clamp(a,i))}handleTouchStart(t){t.preventDefault()}async setFocus(){(this.minHandle?this.minHandle:this.maxHandle).focus()}setValueFromMinMax(){const{minValue:t,maxValue:a}=this;"number"==typeof t&&"number"==typeof a&&(this.value=[t,a])}setMinMaxFromValue(){const{value:t}=this;k(t)&&(this.minValue=t[0],this.maxValue=t[1])}onLabelClick(){this.setFocus()}shouldMirror(){return this.mirrored&&!this.hasHistogram}shouldUseMinValue(){return!!k(this.value)&&(this.hasHistogram&&0===this.maxValue||!this.hasHistogram&&0===this.minValue)}generateTickValues(){const t=[];let a=this.min;for(;this.ticks&&a<this.max+this.ticks;)t.push(Math.min(a,this.max)),a+=this.ticks;return t}dragStart(t){this.dragProp=t,this.lastDragProp=this.dragProp,this.activeProp=t,document.addEventListener("pointermove",this.dragUpdate),document.addEventListener("pointerup",this.dragEnd),document.addEventListener("pointercancel",this.dragEnd)}focusActiveHandle(t){switch(this.dragProp){case"minValue":this.minHandle.focus();break;case"maxValue":this.maxHandle.focus();break;case"minMaxValue":this.getClosestHandle(t).focus()}}emitInput(){this.calciteSliderInput.emit(),this.calciteSliderUpdate.emit()}emitChange(){this.calciteSliderChange.emit()}removeDragListeners(){document.removeEventListener("pointermove",this.dragUpdate),document.removeEventListener("pointerup",this.dragEnd),document.removeEventListener("pointercancel",this.dragEnd)}setValue(t,a){this[t]!==a&&(this[t]=a,this.dragProp||this.emitChange(),this.emitInput())}clamp(t,a){return t=c(t,this.min,this.max),"maxValue"===a&&(t=Math.max(t,this.minValue)),"minValue"===a&&(t=Math.min(t,this.maxValue)),t}translate(t){const a=this.max-this.min,{left:i,width:e}=this.trackEl.getBoundingClientRect(),s=(t-i)/e,n=this.shouldMirror(),l=this.clamp(this.min+a*(n?1-s:s));let r=Number(l.toFixed(o(this.step)));return this.snap&&this.step&&(r=this.getClosestStep(r)),r}getClosestStep(t){if(t=Number(this.clamp(t).toFixed(o(this.step))),this.step){const a=Math.round(t/this.step)*this.step;t=Number(this.clamp(a).toFixed(o(this.step)))}return t}getClosestHandle(t){return this.getDistanceX(this.maxHandle,t)>this.getDistanceX(this.minHandle,t)?this.minHandle:this.maxHandle}getDistanceX(t,a){return Math.abs(t.getBoundingClientRect().left-a)}getFontSizeForElement(t){return Number(window.getComputedStyle(t).getPropertyValue("font-size").match(/\d+/)[0])}getUnitInterval(t){return((t=this.clamp(t))-this.min)/(this.max-this.min)}adjustHostObscuredHandleLabel(t){const a=this.el.shadowRoot.querySelector(`.handle__label--${t}`),i=this.el.shadowRoot.querySelector(`.handle__label--${t}.static`),e=this.el.shadowRoot.querySelector(`.handle__label--${t}.transformed`),s=i.getBoundingClientRect(),n=this.getHostOffset(s.left,s.right);a.style.transform=`translateX(${n}px)`,e.style.transform=`translateX(${n}px)`}hyphenateCollidingRangeHandleLabels(){const{shadowRoot:t}=this.el,a=this.shouldMirror(),i=a?"value":"minValue",e=a?"minValue":"value",s=t.querySelector(`.handle__label--${i}`),n=t.querySelector(`.handle__label--${i}.static`),l=t.querySelector(`.handle__label--${i}.transformed`),r=this.getHostOffset(n.getBoundingClientRect().left,n.getBoundingClientRect().right),h=t.querySelector(`.handle__label--${e}`),o=t.querySelector(`.handle__label--${e}.static`),c=t.querySelector(`.handle__label--${e}.transformed`),m=this.getHostOffset(o.getBoundingClientRect().left,o.getBoundingClientRect().right),d=this.getFontSizeForElement(s),u=this.getRangeLabelOverlap(l,c),b=s,p=d/2;if(u>0){if(b.classList.add("hyphen","hyphen--wrap"),0===m&&0===r){let t=u/2-p;t=-1===Math.sign(t)?Math.abs(t):-t;const a=this.getHostOffset(l.getBoundingClientRect().left+t-p,l.getBoundingClientRect().right+t-p);let i=u/2;const e=this.getHostOffset(c.getBoundingClientRect().left+i,c.getBoundingClientRect().right+i);0!==a&&(t+=a,i+=a),0!==e&&(t+=e,i+=e),s.style.transform=`translateX(${t}px)`,l.style.transform=`translateX(${t-p}px)`,h.style.transform=`translateX(${i}px)`,c.style.transform=`translateX(${i}px)`}else if(r>0||m>0)s.style.transform=`translateX(${r+p}px)`,h.style.transform=`translateX(${u+m}px)`,c.style.transform=`translateX(${u+m}px)`;else if(r<0||m<0){let t=Math.abs(r)+u-p;t=-1===Math.sign(t)?Math.abs(t):-t,s.style.transform=`translateX(${t}px)`,l.style.transform=`translateX(${t-p}px)`}}else b.classList.remove("hyphen","hyphen--wrap"),s.style.transform=`translateX(${r}px)`,l.style.transform=`translateX(${r}px)`,h.style.transform=`translateX(${m}px)`,c.style.transform=`translateX(${m}px)`}hideObscuredBoundingTickLabels(){const t=k(this.value);if(!(this.hasHistogram||t||this.labelHandles||this.precise))return;if(!this.hasHistogram&&!t&&this.labelHandles&&!this.precise)return;if(!this.hasHistogram&&!t&&!this.labelHandles&&this.precise)return;if(!this.hasHistogram&&!t&&this.labelHandles&&this.precise)return;if(!this.hasHistogram&&t&&!this.precise)return;if(this.hasHistogram&&!this.precise&&!this.labelHandles)return;const a=this.el.shadowRoot.querySelector(".thumb--minValue"),i=this.el.shadowRoot.querySelector(".thumb--value"),e=this.el.shadowRoot.querySelector(".tick__label--min"),s=this.el.shadowRoot.querySelector(".tick__label--max");!a&&i&&e&&s&&(e.style.opacity=this.isMinTickLabelObscured(e,i)?"0":"1",s.style.opacity=this.isMaxTickLabelObscured(s,i)?"0":"1"),a&&i&&e&&s&&(e.style.opacity=this.isMinTickLabelObscured(e,a)||this.isMinTickLabelObscured(e,i)?"0":"1",s.style.opacity=this.isMaxTickLabelObscured(s,a)||this.isMaxTickLabelObscured(s,i)&&this.hasHistogram?"0":"1")}getHostOffset(t,a){const i=this.el.getBoundingClientRect();return t+7<i.left?i.left-t-7:a-7>i.right?7-(a-i.right):0}getRangeLabelOverlap(t,a){const i=t.getBoundingClientRect(),e=a.getBoundingClientRect(),s=this.getFontSizeForElement(t);return Math.max(i.right+s-e.left,0)}isMinTickLabelObscured(t,a){const i=t.getBoundingClientRect(),e=a.getBoundingClientRect();return h(i,e)}isMaxTickLabelObscured(t,a){const i=t.getBoundingClientRect(),e=a.getBoundingClientRect();return h(i,e)}get el(){return e(this)}static get watchers(){return{histogram:["histogramWatcher"],value:["valueHandler"],minValue:["minMaxValueHandler"],maxValue:["minMaxValueHandler"]}}};w.style='@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))}@media (forced-colors: active){.thumb{outline-width:0;outline-offset:0}.handle{outline:2px solid transparent;outline-offset:2px}.thumb:focus .handle,.thumb .handle-extension,.thumb:hover .handle-extension,.thumb:focus .handle-extension,.thumb:active .handle-extension{background-color:canvasText}.track{background-color:canvasText}.track__range{background-color:highlight}}.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}';export{_ as calcite_graph,w as calcite_slider}
|
|
@@ -1,6 +1,6 @@
|
|
|
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.468
|
|
5
5
|
*/
|
|
6
6
|
const o={menuActions:"menu-actions",menuTooltip:"menu-tooltip"},e={more:"More"},n={menu:"ellipsis"};export{n as I,o as S,e as T}
|
|
@@ -1,6 +1,6 @@
|
|
|
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.468
|
|
5
5
|
*/
|
|
6
6
|
function n(n,t,i){return new(function(n){return"intersection"===n?window.IntersectionObserver:"mutation"===n?window.MutationObserver:window.ResizeObserver}(n))(t,i)}export{n as c}
|
|
@@ -1,6 +1,6 @@
|
|
|
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.468
|
|
5
5
|
*/
|
|
6
|
-
System.register(["./p-
|
|
6
|
+
System.register(["./p-64d06f97.system.js"],(function(t){"use strict";var a,i,n;return{setters:[function(t){a=t.r;i=t.h;n=t.g}],execute:function(){var e={scrim:"scrim",content:"content"};var r={loading:"Loading"};var o="@-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{position:absolute;top:0px;right:0px;bottom:0px;left:0px;z-index:50;display:-ms-flexbox;display:flex;height:100%;width:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}@-webkit-keyframes calcite-scrim-fade-in{0%{--tw-bg-opacity:0}100%{--tw-text-opacity:1}}@keyframes calcite-scrim-fade-in{0%{--tw-bg-opacity:0}100%{--tw-text-opacity:1}}.scrim{position:absolute;top:0px;right:0px;bottom:0px;left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-line-pack:center;align-content:center;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;overflow:hidden;-webkit-animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-scrim-background)}.content{padding:1rem}";var c=t("calcite_scrim",function(){function t(t){a(this,t);this.intlLoading=r.loading;this.loading=false}t.prototype.render=function(){var t=this,a=t.el,n=t.loading,r=t.intlLoading;var o=a.innerHTML.trim().length>0;var c=n?i("calcite-loader",{active:true,label:r}):null;var l=o?i("div",{class:e.content},i("slot",null)):null;return i("div",{class:e.scrim},c,l)};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());c.style=o}}}));
|
|
@@ -1,6 +1,6 @@
|
|
|
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.468
|
|
5
5
|
*/
|
|
6
6
|
System.register([],(function(e){"use strict";return{execute:function(){var t=e("S",{menuActions:"menu-actions",menuTooltip:"menu-tooltip"});var n=e("T",{more:"More"});var i=e("I",{menu:"ellipsis"})}}}));
|
|
@@ -1,6 +1,6 @@
|
|
|
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.468
|
|
5
5
|
*/
|
|
6
|
-
import{r as t,c as i,h as a,F as e,g as s}from"./p-
|
|
6
|
+
import{r as t,c as i,h as a,F as e,g as s}from"./p-0c89f05f.js";const n=class{constructor(a){t(this,a),this.calcitePaginationUpdate=i(this,"calcitePaginationUpdate",7),this.calcitePaginationChange=i(this,"calcitePaginationChange",7),this.num=20,this.start=1,this.total=0,this.textLabelNext="Next",this.textLabelPrevious="Previous",this.scale="m",this.previousClicked=()=>{this.previousPage().then(),this.emitUpdate()},this.nextClicked=()=>{this.nextPage(),this.emitUpdate()}}async nextPage(){this.start=Math.min(this.getLastStart(),this.start+this.num)}async previousPage(){this.start=Math.max(1,this.start-this.num)}getLastStart(){const{total:t,num:i}=this;return 1+(t%i==0?t-i:Math.floor(t/i)*i)}showLeftEllipsis(){return Math.floor(this.start/this.num)>3}showRightEllipsis(){return(this.total-this.start)/this.num>3}emitUpdate(){const t={start:this.start,total:this.total,num:this.num};this.calcitePaginationChange.emit(t),this.calcitePaginationUpdate.emit(t)}renderPages(){const t=this.getLastStart();let i,a;this.total/this.num<=5?(a=1+this.num,i=t-this.num):this.start/this.num<4?(a=1+this.num,i=1+4*this.num):this.start+3*this.num>=this.total?(a=t-4*this.num,i=t-this.num):(a=this.start-this.num,i=this.start+this.num);const e=[];for(;a<=i;)e.push(a),a+=this.num;return e.map((t=>this.renderPage(t)))}renderPage(t){const i=Math.floor(t/this.num)+(1===this.num?0:1);return a("button",{class:{page:!0,"is-selected":t===this.start},onClick:()=>{this.start=t,this.emitUpdate()}},i)}renderLeftEllipsis(){if(this.total/this.num>5&&this.showLeftEllipsis())return a("span",{class:"ellipsis ellipsis--start"},"…")}renderRightEllipsis(){if(this.total/this.num>5&&this.showRightEllipsis())return a("span",{class:"ellipsis ellipsis--end"},"…")}render(){const{total:t,num:i,start:s}=this,n=1===i?s<=i:s<i,o=s+i>t;return a(e,null,a("button",{"aria-label":this.textLabelPrevious,class:{previous:!0,"is-disabled":n},disabled:n,onClick:this.previousClicked},a("calcite-icon",{flipRtl:!0,icon:"chevronLeft",scale:"s"})),t>i?this.renderPage(1):null,this.renderLeftEllipsis(),this.renderPages(),this.renderRightEllipsis(),this.renderPage(this.getLastStart()),a("button",{"aria-label":this.textLabelNext,class:{next:!0,"is-disabled":o},disabled:o,onClick:this.nextClicked},a("calcite-icon",{flipRtl:!0,icon:"chevronRight",scale:"s"})))}get el(){return s(this)}};n.style="@-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([scale=s]){--calcite-pagination-spacing:0.25rem 0.5rem}:host([scale=s]) .previous,:host([scale=s]) .next,:host([scale=s]) .page{height:1.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .previous,:host([scale=s]) .next{padding-left:0.25rem;padding-right:0.25rem}:host([scale=m]){--calcite-pagination-spacing:0.5rem 0.75rem}:host([scale=m]) .previous,:host([scale=m]) .next,:host([scale=m]) .page{height:2rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .previous,:host([scale=m]) .next{padding-left:0.5rem;padding-right:0.5rem}:host([scale=l]){--calcite-pagination-spacing:0.75rem 1rem}:host([scale=l]) .previous,:host([scale=l]) .next,:host([scale=l]) .page{height:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .previous,:host([scale=l]) .next{padding-left:1rem;padding-right:1rem}:host{display:-ms-flexbox;display:flex;-webkit-writing-mode:horizontal-tb;-ms-writing-mode:lr-tb;writing-mode:horizontal-tb}:host button{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}:host button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.previous,.next,.page{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;border-style:none;--tw-border-opacity:0;background-color:transparent;font-family:inherit;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-ui-text-3);border-top:2px solid transparent;border-bottom:2px solid transparent}.previous:hover,.next:hover,.page:hover{color:var(--calcite-ui-text-1);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.page:hover{border-bottom-color:var(--calcite-ui-border-2)}.page.is-selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);border-bottom-color:var(--calcite-ui-brand)}.previous:hover,.next:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-brand)}.previous:active,.next:active{background-color:var(--calcite-ui-foreground-3)}.previous.is-disabled,.next.is-disabled{pointer-events:none;background-color:transparent}.previous.is-disabled>calcite-icon,.next.is-disabled>calcite-icon{opacity:var(--calcite-ui-opacity-disabled)}.next{margin-right:0px}.page,.ellipsis{padding:var(--calcite-pagination-spacing)}.ellipsis{display:-ms-flexbox;display:flex;-ms-flex-align:end;align-items:flex-end;color:var(--calcite-ui-text-3)}";export{n as calcite_pagination}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,e,n,i){function a(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,o){function r(t){try{
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,e,n,i){function a(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,o){function r(t){try{l(i.next(t))}catch(t){o(t)}}function s(t){try{l(i["throw"](t))}catch(t){o(t)}}function l(t){t.done?n(t.value):a(t.value).then(r,s)}l((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,a,o,r;return r={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function s(t){return function(e){return l([t,e])}}function l(r){if(i)throw new TypeError("Generator is already executing.");while(n)try{if(i=1,a&&(o=r[0]&2?a["return"]:r[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,r[1])).done)return o;if(a=0,o)r=[r[0]&2,o.value];switch(r[0]){case 0:case 1:o=r;break;case 4:n.label++;return{value:r[1],done:false};case 5:n.label++;a=r[1];r=[0];continue;case 7:r=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(r[0]===6||r[0]===2)){n=0;continue}if(r[0]===3&&(!o||r[1]>o[0]&&r[1]<o[3])){n.label=r[1];break}if(r[0]===6&&n.label<o[1]){n.label=o[1];o=r;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(r);break}if(o[2])n.ops.pop();n.trys.pop();continue}r=e.call(t,n)}catch(t){r=[6,t];a=0}finally{i=o=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};
|
|
2
2
|
/*!
|
|
3
3
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
5
|
-
* v1.0.0-next.
|
|
6
|
-
*/System.register(["./p-
|
|
5
|
+
* v1.0.0-next.468
|
|
6
|
+
*/System.register(["./p-64d06f97.system.js","./p-9cf73ace.system.js","./p-f64afb0b.system.js","./p-7fe88621.system.js","./p-4f9c75db.system.js","./p-76d71253.system.js","./p-6e0b2fd9.system.js","./p-5ed85c57.system.js","./p-b7c6c7b2.system.js"],(function(t){"use strict";var e,n,i,a,o,r,s,l,c,d,f,u,p,m,b,h,v;return{setters:[function(t){e=t.r;n=t.c;i=t.h;a=t.H;o=t.g},function(t){r=t.t;s=t.o;l=t.q;c=t.a;d=t.E;f=t.g},function(t){u=t.f;p=t.g},function(t){m=t.c},function(t){b=t.c;h=t.d},function(t){v=t.d},function(){},function(){},function(){}],execute:function(){var y={actionGroupBottom:"action-group--bottom"};var x={bottomActions:"bottom-actions",expandTooltip:"expand-tooltip"};var g={expand:"Expand",collapse:"Collapse"};var w="@-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}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{pointer-events:auto;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-item-align:stretch;align-self:stretch;max-width:15vw}:host([overflow-actions-disabled]){overflow-y:auto}:host([expanded]){max-width:20vw}::slotted(calcite-action-group){border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}::slotted(calcite-action-group:last-child){border-bottom-width:0px}.action-group--bottom{-ms-flex-positive:1;flex-grow:1;-ms-flex-pack:end;justify-content:flex-end;padding-bottom:0px}";var k=t("calcite_action_bar",function(){function t(t){var i=this;e(this,t);this.calciteActionBarToggle=n(this,"calciteActionBarToggle",7);this.expandDisabled=false;this.expanded=false;this.overflowActionsDisabled=false;this.mutationObserver=m("mutation",(function(){var t=i,e=t.el,n=t.expanded;r({parent:e,expanded:n});i.conditionallyOverflowActions()}));this.resizeObserver=m("resize",(function(t){return i.resizeHandlerEntries(t)}));this.actionMenuOpenChangeHandler=function(t){if(t.detail){var e=t.composedPath();Array.from(i.el.querySelectorAll("calcite-action-group")).forEach((function(t){if(!e.includes(t)){t.menuOpen=false}}))}};this.resizeHandlerEntries=function(t){t.forEach(i.resizeHandler)};this.resizeHandler=function(t){var e=t.contentRect.height;i.resize(e)};this.resize=v((function(t){var e;var n=i,a=n.el,o=n.expanded,r=n.expandDisabled;if(!t){return}var s=l(a);var d=r?s.length:s.length+1;var u=Array.from(a.querySelectorAll("calcite-action-group"));var m=p(a,x.bottomActions)||!r?u.length+1:u.length;var b=f({actionCount:d,actionHeight:(e=s[0])===null||e===void 0?void 0:e.clientHeight,height:t,groupCount:m});c({actionGroups:u,expanded:o,overflowCount:b})}),s);this.conditionallyOverflowActions=function(){if(!i.overflowActionsDisabled){i.overflowActions()}};this.toggleExpand=function(){i.expanded=!i.expanded;i.calciteActionBarToggle.emit()};this.setExpandToggleRef=function(t){i.expandToggleEl=t}}t.prototype.expandHandler=function(){this.conditionallyOverflowActions()};t.prototype.expandedHandler=function(t){r({parent:this.el,expanded:t})};t.prototype.overflowDisabledHandler=function(t){t?this.resizeObserver.disconnect():this.resizeObserver.observe(this.el)};t.prototype.componentDidLoad=function(){this.conditionallyOverflowActions()};t.prototype.connectedCallback=function(){var t,e;var n=this,i=n.el,a=n.expanded;r({parent:i,expanded:a});(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(i,{childList:true,subtree:true});if(!this.overflowActionsDisabled){(e=this.resizeObserver)===null||e===void 0?void 0:e.observe(i)}this.conditionallyOverflowActions();b(this)};t.prototype.disconnectedCallback=function(){var t,e;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();(e=this.resizeObserver)===null||e===void 0?void 0:e.disconnect();h(this)};t.prototype.overflowActions=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.resize(this.el.clientHeight);return[2]}))}))};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:if(!(t==="expand-toggle"))return[3,2];return[4,u(this.expandToggleEl)];case 1:e.sent();return[2];case 2:this.el.focus();return[2]}}))}))};t.prototype.renderBottomActionGroup=function(){var t=this,e=t.expanded,n=t.expandDisabled,a=t.intlExpand,o=t.intlCollapse,r=t.el,s=t.position,l=t.toggleExpand,c=t.scale;var f=p(r,x.expandTooltip);var u=a||g.expand;var m=o||g.collapse;var b=!n?i(d,{el:r,expanded:e,intlCollapse:m,intlExpand:u,position:s,ref:this.setExpandToggleRef,scale:c,toggle:l,tooltip:f}):null;return p(r,x.bottomActions)||b?i("calcite-action-group",{class:y.actionGroupBottom,scale:c},i("slot",{name:x.bottomActions}),i("slot",{name:x.expandTooltip}),b):null};t.prototype.render=function(){return i(a,{onCalciteActionMenuOpenChange:this.actionMenuOpenChangeHandler},i("slot",null),this.renderBottomActionGroup())};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{expandDisabled:["expandHandler"],expanded:["expandedHandler"],overflowActionsDisabled:["overflowDisabledHandler"]}},enumerable:false,configurable:true});return t}());k.style=w}}}));
|
|
@@ -1,6 +1,6 @@
|
|
|
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.468
|
|
5
5
|
*/
|
|
6
6
|
var a;!function(a){a.green="checkCircle",a.yellow="exclamationMarkTriangle",a.red="exclamationMarkTriangle",a.blue="lightbulb"}(a||(a={}));export{a as S}
|
|
@@ -2,5 +2,5 @@ var __extends=this&&this.__extends||function(){var e=function(t,r){e=Object.setP
|
|
|
2
2
|
/*!
|
|
3
3
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
5
|
-
* v1.0.0-next.
|
|
5
|
+
* v1.0.0-next.468
|
|
6
6
|
*/System.register([],(function(e,t){"use strict";return{execute:function(){var r=this;var n=e("N","calcite");var a;var i;var l=false;var $=false;var o=typeof window!=="undefined"?window:{};var s=e("d",o.document||{head:{}});var f={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,r,n){return e.addEventListener(t,r,n)},rel:function(e,t,r,n){return e.removeEventListener(t,r,n)},ce:function(e,t){return new CustomEvent(e,t)}};var u=true;var c=e("p",(function(e){return Promise.resolve(e)}));var v=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replace==="function"}catch(e){}return false}();var d=function(e,t,r,n){if(r){r.map((function(r){var n=r[0],a=r[1],i=r[2];var l=p(e,n);var $=h(t,i);var o=m(n);f.ael(l,a,$,o);(t.$rmListeners$=t.$rmListeners$||[]).push((function(){return f.rel(l,a,$,o)}))}))}};var h=function(e,t){return function(r){try{{if(e.$flags$&256){e.$lazyInstance$[t](r)}else{(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,r])}}}catch(e){ze(e)}}};var p=function(e,t){if(t&4)return s;if(t&8)return o;if(t&16)return s.body;return e};var m=function(e){return(e&2)!==0};var g="r";var y="o";var b="s";var w="t";var N="s-id";var x="sty-id";var R="c-id";var S="{visibility:hidden}[calcite-hydrated]{visibility:inherit}";var _="http://www.w3.org/1999/xlink";var k=function(e,t){if(t===void 0){t=""}{return function(){return}}};var L=function(e,t){{return function(){return}}};var A=new WeakMap;var C=function(e,t,r){var n=Be.get(e);if(v&&r){n=n||new CSSStyleSheet;n.replace(t)}else{n=t}Be.set(e,n)};var E=function(e,t,r,n){var a=j(t);var i=Be.get(a);e=e.nodeType===11?e:s;if(i){if(typeof i==="string"){e=e.head||e;var l=A.get(e);var $=void 0;if(!l){A.set(e,l=new Set)}if(!l.has(a)){if(e.host&&($=e.querySelector("[".concat(x,'="').concat(a,'"]')))){$.innerHTML=i}else{{$=s.createElement("style");$.innerHTML=i}e.insertBefore($,e.querySelector("link"))}if(l){l.add(a)}}}else if(!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[i],false)}}return a};var I=function(e){var t=e.$cmpMeta$;var r=e.$hostElement$;var n=t.$flags$;var a=k("attachStyles",t.$tagName$);var i=E(r.shadowRoot?r.shadowRoot:r.getRootNode(),t);if(n&10){r["s-sc"]=i;r.classList.add(i+"-h")}a()};var j=function(e,t){return"sc-"+e.$tagName$};var T=function(e){return e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{")};var P={};var M="http://www.w3.org/2000/svg";var O="http://www.w3.org/1999/xhtml";var z=function(e){return e!=null};var U=function(e){e=typeof e;return e==="object"||e==="function"};var q=e("h",(function(e,t){var r=[];for(var n=2;n<arguments.length;n++){r[n-2]=arguments[n]}var a=null;var i=null;var l=false;var $=false;var o=[];var s=function(t){for(var r=0;r<t.length;r++){a=t[r];if(Array.isArray(a)){s(a)}else if(a!=null&&typeof a!=="boolean"){if(l=typeof e!=="function"&&!U(a)){a=String(a)}if(l&&$){o[o.length-1].$text$+=a}else{o.push(l?B(null,a):a)}$=l}}};s(r);if(t){if(t.key){i=t.key}{var f=t.className||t.class;if(f){t.class=typeof f!=="object"?f:Object.keys(f).filter((function(e){return f[e]})).join(" ")}}}if(typeof e==="function"){return e(t===null?{}:t,o,W)}var u=B(e,null);u.$attrs$=t;if(o.length>0){u.$children$=o}{u.$key$=i}return u}));var B=function(e,t){var r={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};{r.$attrs$=null}{r.$key$=null}return r};var V=e("H",{});var H=function(e){return e&&e.$tag$===V};var W={forEach:function(e,t){return e.map(F).forEach(t)},map:function(e,t){return e.map(F).map(t).map(D)}};var F=function(e){return{vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}};var D=function(e){if(typeof e.vtag==="function"){var t=Object.assign({},e.vattrs);if(e.vkey){t.key=e.vkey}if(e.vname){t.name=e.vname}return q.apply(void 0,__spreadArray([e.vtag,t],e.vchildren||[],false))}var r=B(e.vtag,e.vtext);r.$attrs$=e.vattrs;r.$children$=e.vchildren;r.$key$=e.vkey;r.$name$=e.vname;return r};var G=function(e,t,r,n,a,i){if(r!==n){var l=Oe(e,t);var $=t.toLowerCase();if(t==="class"){var s=e.classList;var u=K(r);var c=K(n);s.remove.apply(s,u.filter((function(e){return e&&!c.includes(e)})));s.add.apply(s,c.filter((function(e){return e&&!u.includes(e)})))}else if(t==="style"){{for(var v in r){if(!n||n[v]==null){if(v.includes("-")){e.style.removeProperty(v)}else{e.style[v]=""}}}}for(var v in n){if(!r||n[v]!==r[v]){if(v.includes("-")){e.style.setProperty(v,n[v])}else{e.style[v]=n[v]}}}}else if(t==="key");else if(t==="ref"){if(n){n(e)}}else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(Oe(o,$)){t=$.slice(2)}else{t=$[2]+t.slice(3)}if(r){f.rel(e,t,r,false)}if(n){f.ael(e,t,n,false)}}else{var d=U(n);if((l||d&&n!==null)&&!a){try{if(!e.tagName.includes("-")){var h=n==null?"":n;if(t==="list"){l=false}else if(r==null||e[t]!=h){e[t]=h}}else{e[t]=n}}catch(e){}}var p=false;{if($!==($=$.replace(/^xlink\:?/,""))){t=$;p=true}}if(n==null||n===false){if(n!==false||e.getAttribute(t)===""){if(p){e.removeAttributeNS(_,t)}else{e.removeAttribute(t)}}}else if((!l||i&4||a)&&!d){n=n===true?"":n;if(p){e.setAttributeNS(_,t,n)}else{e.setAttribute(t,n)}}}}};var J=/\s/;var K=function(e){return!e?[]:e.split(J)};var Q=function(e,t,r,n){var a=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$;var i=e&&e.$attrs$||P;var l=t.$attrs$||P;{for(n in i){if(!(n in l)){G(a,n,i[n],undefined,r,t.$flags$)}}}for(n in l){G(a,n,i[n],l[n],r,t.$flags$)}};var X=function(e,t,r,n){var i=t.$children$[r];var $=0;var o;var f;if(i.$text$!==null){o=i.$elm$=s.createTextNode(i.$text$)}else{if(!l){l=i.$tag$==="svg"}o=i.$elm$=s.createElementNS(l?M:O,i.$tag$);if(l&&i.$tag$==="foreignObject"){l=false}{Q(null,i,l)}if(z(a)&&o["s-si"]!==a){o.classList.add(o["s-si"]=a)}if(i.$children$){for($=0;$<i.$children$.length;++$){f=X(e,i,$);if(f){o.appendChild(f)}}}{if(i.$tag$==="svg"){l=false}else if(o.tagName==="foreignObject"){l=true}}}return o};var Y=function(e,t,r,n,a,l){var $=e;var o;if($.shadowRoot&&$.tagName===i){$=$.shadowRoot}for(;a<=l;++a){if(n[a]){o=X(null,r,a);if(o){n[a].$elm$=o;$.insertBefore(o,t)}}}};var Z=function(e,t,r,n,a){for(;t<=r;++t){if(n=e[t]){a=n.$elm$;ne(n);a.remove()}}};var ee=function(e,t,r,n){var a=0;var i=0;var l=0;var $=0;var o=t.length-1;var s=t[0];var f=t[o];var u=n.length-1;var c=n[0];var v=n[u];var d;var h;while(a<=o&&i<=u){if(s==null){s=t[++a]}else if(f==null){f=t[--o]}else if(c==null){c=n[++i]}else if(v==null){v=n[--u]}else if(te(s,c)){re(s,c);s=t[++a];c=n[++i]}else if(te(f,v)){re(f,v);f=t[--o];v=n[--u]}else if(te(s,v)){re(s,v);e.insertBefore(s.$elm$,f.$elm$.nextSibling);s=t[++a];v=n[--u]}else if(te(f,c)){re(f,c);e.insertBefore(f.$elm$,s.$elm$);f=t[--o];c=n[++i]}else{l=-1;{for($=a;$<=o;++$){if(t[$]&&t[$].$key$!==null&&t[$].$key$===c.$key$){l=$;break}}}if(l>=0){h=t[l];if(h.$tag$!==c.$tag$){d=X(t&&t[i],r,l)}else{re(h,c);t[l]=undefined;d=h.$elm$}c=n[++i]}else{d=X(t&&t[i],r,i);c=n[++i]}if(d){{s.$elm$.parentNode.insertBefore(d,s.$elm$)}}}}if(a>o){Y(e,n[u+1]==null?null:n[u+1].$elm$,r,n,i,u)}else if(i>u){Z(t,a,o)}};var te=function(e,t){if(e.$tag$===t.$tag$){{return e.$key$===t.$key$}}return false};var re=function(e,t){var r=t.$elm$=e.$elm$;var n=e.$children$;var a=t.$children$;var i=t.$tag$;var $=t.$text$;if($===null){{l=i==="svg"?true:i==="foreignObject"?false:l}{if(i==="slot");else{Q(e,t,l)}}if(n!==null&&a!==null){ee(r,n,t,a)}else if(a!==null){if(e.$text$!==null){r.textContent=""}Y(r,null,t,a,0,a.length-1)}else if(n!==null){Z(n,0,n.length-1)}if(l&&i==="svg"){l=false}}else if(e.$text$!==$){r.data=$}};var ne=function(e){{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null);e.$children$&&e.$children$.map(ne)}};var ae=function(e,t){var r=e.$hostElement$;var n=e.$cmpMeta$;var l=e.$vnode$||B(null,null);var $=H(t)?t:q(null,null,t);i=r.tagName;if(n.$attrsToReflect$){$.$attrs$=$.$attrs$||{};n.$attrsToReflect$.map((function(e){var t=e[0],n=e[1];return $.$attrs$[n]=r[t]}))}$.$tag$=null;$.$flags$|=4;e.$vnode$=$;$.$elm$=l.$elm$=r.shadowRoot||r;{a=r["s-sc"]}re(l,$)};var ie=e("g",(function(e){return Te(e).$hostElement$}));var le=e("c",(function(e,t,r){var n=ie(e);return{emit:function(e){return $e(n,t,{bubbles:!!(r&4),composed:!!(r&2),cancelable:!!(r&1),detail:e})}}}));var $e=function(e,t,r){var n=f.ce(t,r);e.dispatchEvent(n);return n};var oe=function(e,t){if(t&&!e.$onRenderResolve$&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.$onRenderResolve$=t})))}};var se=function(e,t){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}oe(e,e.$ancestorComponent$);var r=function(){return fe(e,t)};return Je(r)};var fe=function(e,t){var r=k("scheduleUpdate",e.$cmpMeta$.$tagName$);var n=e.$lazyInstance$;var a;if(t){{e.$flags$|=256;if(e.$queuedListeners$){e.$queuedListeners$.map((function(e){var t=e[0],r=e[1];return pe(n,t,r)}));e.$queuedListeners$=null}}{a=pe(n,"componentWillLoad")}}{a=me(a,(function(){return pe(n,"componentWillRender")}))}r();return me(a,(function(){return ue(e,n,t)}))};var ue=function(e,t,n){return __awaiter(r,void 0,void 0,(function(){var r,a,i,l,$,o;return __generator(this,(function(s){r=e.$hostElement$;a=k("update",e.$cmpMeta$.$tagName$);i=r["s-rc"];if(n){I(e)}l=k("render",e.$cmpMeta$.$tagName$);{ce(e,t)}if(i){i.map((function(e){return e()}));r["s-rc"]=undefined}l();a();{$=r["s-p"];o=function(){return ve(e)};if($.length===0){o()}else{Promise.all($).then(o);e.$flags$|=4;$.length=0}}return[2]}))}))};var ce=function(e,t,r){try{t=t.render();{e.$flags$&=~16}{e.$flags$|=2}{{{ae(e,t)}}}}catch(t){ze(t,e.$hostElement$)}return null};var ve=function(e){var t=e.$cmpMeta$.$tagName$;var r=e.$hostElement$;var n=k("postUpdate",t);var a=e.$lazyInstance$;var i=e.$ancestorComponent$;{pe(a,"componentDidRender")}if(!(e.$flags$&64)){e.$flags$|=64;{ge(r)}{pe(a,"componentDidLoad")}n();{e.$onReadyResolve$(r);if(!i){he()}}}else{n()}{e.$onInstanceResolve$(r)}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){Ge((function(){return se(e,false)}))}e.$flags$&=~(4|512)}};var de=e("f",(function(e){{var t=Te(e);var r=t.$hostElement$.isConnected;if(r&&(t.$flags$&(2|16))===2){se(t,false)}return r}}));var he=function(e){{ge(s.documentElement)}Ge((function(){return $e(o,"appload",{detail:{namespace:n}})}))};var pe=function(e,t,r){if(e&&e[t]){try{return e[t](r)}catch(e){ze(e)}}return undefined};var me=function(e,t){return e&&e.then?e.then(t):t()};var ge=function(e){return e.setAttribute("calcite-hydrated","")};var ye=function(e,t,r,n){var a=k("hydrateClient",t);var i=e.shadowRoot;var l=[];var $=[];var o=i?[]:null;var c=n.$vnode$=B(t,null);if(!f.$orgLocNodes$){we(s.body,f.$orgLocNodes$=new Map)}e[N]=r;e.removeAttribute(N);be(c,l,$,o,e,e,r);l.map((function(e){var r=e.$hostId$+"."+e.$nodeId$;var n=f.$orgLocNodes$.get(r);var a=e.$elm$;if(n&&u&&n["s-en"]===""){n.parentNode.insertBefore(a,n.nextSibling)}if(!i){a["s-hn"]=t;if(n){a["s-ol"]=n;a["s-ol"]["s-nr"]=a}}f.$orgLocNodes$.delete(r)}));if(i){o.map((function(e){if(e){i.appendChild(e)}}))}a()};var be=function(e,t,r,n,a,i,l){var $;var o;var f;var u;if(i.nodeType===1){$=i.getAttribute(R);if($){o=$.split(".");if(o[0]===l||o[0]==="0"){f={$flags$:0,$hostId$:o[0],$nodeId$:o[1],$depth$:o[2],$index$:o[3],$tag$:i.tagName.toLowerCase(),$elm$:i,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null};t.push(f);i.removeAttribute(R);if(!e.$children$){e.$children$=[]}e.$children$[f.$index$]=f;e=f;if(n&&f.$depth$==="0"){n[f.$index$]=f.$elm$}}}for(u=i.childNodes.length-1;u>=0;u--){be(e,t,r,n,a,i.childNodes[u],l)}if(i.shadowRoot){for(u=i.shadowRoot.childNodes.length-1;u>=0;u--){be(e,t,r,n,a,i.shadowRoot.childNodes[u],l)}}}else if(i.nodeType===8){o=i.nodeValue.split(".");if(o[1]===l||o[1]==="0"){$=o[0];f={$flags$:0,$hostId$:o[1],$nodeId$:o[2],$depth$:o[3],$index$:o[4],$elm$:i,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null};if($===w){f.$elm$=i.nextSibling;if(f.$elm$&&f.$elm$.nodeType===3){f.$text$=f.$elm$.textContent;t.push(f);i.remove();if(!e.$children$){e.$children$=[]}e.$children$[f.$index$]=f;if(n&&f.$depth$==="0"){n[f.$index$]=f.$elm$}}}else if(f.$hostId$===l){if($===b){f.$tag$="slot";if(o[5]){i["s-sn"]=f.$name$=o[5]}else{i["s-sn"]=""}i["s-sr"]=true;if(n){f.$elm$=s.createElement(f.$tag$);if(f.$name$){f.$elm$.setAttribute("name",f.$name$)}i.parentNode.insertBefore(f.$elm$,i);i.remove();if(f.$depth$==="0"){n[f.$index$]=f.$elm$}}r.push(f);if(!e.$children$){e.$children$=[]}e.$children$[f.$index$]=f}else if($===g){if(n){i.remove()}}}}}else if(e&&e.$tag$==="style"){var c=B(null,i.textContent);c.$elm$=i;c.$index$="0";e.$children$=[c]}};var we=function(e,t){if(e.nodeType===1){var r=0;for(;r<e.childNodes.length;r++){we(e.childNodes[r],t)}if(e.shadowRoot){for(r=0;r<e.shadowRoot.childNodes.length;r++){we(e.shadowRoot.childNodes[r],t)}}}else if(e.nodeType===8){var n=e.nodeValue.split(".");if(n[0]===y){t.set(n[1]+"."+n[2],e);e.nodeValue="";e["s-en"]=n[3]}}};var Ne=function(e,t){if(e!=null&&!U(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};var xe=function(e,t){return Te(e).$instanceValues$.get(t)};var Re=function(e,t,r,n){var a=Te(e);var i=a.$hostElement$;var l=a.$instanceValues$.get(t);var $=a.$flags$;var o=a.$lazyInstance$;r=Ne(r,n.$members$[t][0]);var s=Number.isNaN(l)&&Number.isNaN(r);var f=r!==l&&!s;if((!($&8)||l===undefined)&&f){a.$instanceValues$.set(t,r);if(o){if(n.$watchers$&&$&128){var u=n.$watchers$[t];if(u){u.map((function(e){try{o[e](r,l,t)}catch(e){ze(e,i)}}))}}if(($&(2|16))===2){if(o.componentShouldUpdate){if(o.componentShouldUpdate(r,l,t)===false){return}}se(a,false)}}}};var Se=function(e,t,r){if(t.$members$){if(e.watchers){t.$watchers$=e.watchers}var n=Object.entries(t.$members$);var a=e.prototype;n.map((function(e){var n=e[0],i=e[1][0];if(i&31||r&2&&i&32){Object.defineProperty(a,n,{get:function(){return xe(this,n)},set:function(e){Re(this,n,e,t)},configurable:true,enumerable:true})}else if(r&1&&i&64){Object.defineProperty(a,n,{value:function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var r=Te(this);return r.$onInstancePromise$.then((function(){var t;return(t=r.$lazyInstance$)[n].apply(t,e)}))}})}}));if(r&1){var i=new Map;a.attributeChangedCallback=function(e,t,r){var n=this;f.jmp((function(){var t=i.get(e);if(n.hasOwnProperty(t)){r=n[t];delete n[t]}else if(a.hasOwnProperty(t)&&typeof n[t]==="number"&&n[t]==r){return}n[t]=r===null&&typeof n[t]==="boolean"?false:r}))};e.observedAttributes=n.filter((function(e){var t=e[0],r=e[1];return r[0]&15})).map((function(e){var r=e[0],n=e[1];var a=n[1]||r;i.set(a,r);if(n[0]&512){t.$attrsToReflect$.push([r,a])}return a}))}}return e};var _e=function(e,t,n,a,i){return __awaiter(r,void 0,void 0,(function(){var e,r,a,l,$,o,s;return __generator(this,(function(f){switch(f.label){case 0:if(!((t.$flags$&32)===0))return[3,3];t.$flags$|=32;i=qe(n);if(!i.then)return[3,2];e=L();return[4,i];case 1:i=f.sent();e();f.label=2;case 2:if(!i.isProxied){{n.$watchers$=i.watchers}Se(i,n,2);i.isProxied=true}r=k("createInstance",n.$tagName$);{t.$flags$|=8}try{new i(t)}catch(e){ze(e)}{t.$flags$&=~8}{t.$flags$|=128}r();ke(t.$lazyInstance$);if(i.style){a=i.style;l=j(n);if(!Be.has(l)){$=k("registerStyles",n.$tagName$);C(l,a,!!(n.$flags$&1));$()}}f.label=3;case 3:o=t.$ancestorComponent$;s=function(){return se(t,true)};if(o&&o["s-rc"]){o["s-rc"].push(s)}else{s()}return[2]}}))}))};var ke=function(e){{pe(e,"connectedCallback")}};var Le=function(e){if((f.$flags$&1)===0){var t=Te(e);var r=t.$cmpMeta$;var n=k("connectedCallback",r.$tagName$);if(!(t.$flags$&1)){t.$flags$|=1;var a=void 0;{a=e.getAttribute(N);if(a){if(r.$flags$&1){var i=E(e.shadowRoot,r);e.classList.remove(i+"-h",i+"-s")}ye(e,r.$tagName$,a,t)}}{var l=e;while(l=l.parentNode||l.host){if(l.nodeType===1&&l.hasAttribute("s-id")&&l["s-p"]||l["s-p"]){oe(t,t.$ancestorComponent$=l);break}}}if(r.$members$){Object.entries(r.$members$).map((function(t){var r=t[0],n=t[1][0];if(n&31&&e.hasOwnProperty(r)){var a=e[r];delete e[r];e[r]=a}}))}{_e(e,t,r)}}else{d(e,t,r.$listeners$);ke(t.$lazyInstance$)}n()}};var Ae=function(e){if((f.$flags$&1)===0){var t=Te(e);var r=t.$lazyInstance$;{if(t.$rmListeners$){t.$rmListeners$.map((function(e){return e()}));t.$rmListeners$=undefined}}{pe(r,"disconnectedCallback")}}};var Ce=e("b",(function(e,t){if(t===void 0){t={}}var r=k();var n=[];var a=t.exclude||[];var i=o.customElements;var l=s.head;var $=l.querySelector("meta[charset]");var u=s.createElement("style");var c=[];var v=s.querySelectorAll("[".concat(x,"]"));var d;var h=true;var p=0;Object.assign(f,t);f.$resourcesUrl$=new URL(t.resourcesUrl||"./",s.baseURI).href;{f.$flags$|=2}{for(;p<v.length;p++){C(v[p].getAttribute(x),T(v[p].innerHTML),true)}}e.map((function(e){e[1].map((function(t){var r={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};{r.$members$=t[2]}{r.$listeners$=t[3]}{r.$attrsToReflect$=[]}{r.$watchers$={}}var l=r.$tagName$;var $=function(e){__extends(t,e);function t(t){var n=e.call(this,t)||this;t=n;Me(t,r);if(r.$flags$&1){{{t.attachShadow({mode:"open"})}}}return n}t.prototype.connectedCallback=function(){var e=this;if(d){clearTimeout(d);d=null}if(h){c.push(this)}else{f.jmp((function(){return Le(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;f.jmp((function(){return Ae(e)}))};t.prototype.componentOnReady=function(){return Te(this).$onReadyPromise$};return t}(HTMLElement);r.$lazyBundleId$=e[0];if(!a.includes(l)&&!i.get(l)){n.push(l);i.define(l,Se($,r,1))}}))}));{u.innerHTML=n+S;u.setAttribute("data-styles","");l.insertBefore(u,$?$.nextSibling:l.firstChild)}h=false;if(c.length){c.map((function(e){return e.connectedCallback()}))}else{{f.jmp((function(){return d=setTimeout(he,30)}))}}r()}));var Ee=e("a",(function(e){var t=new URL(e,f.$resourcesUrl$);return t.origin!==o.location.origin?t.href:t.pathname}));var Ie=e("F",(function(e,t){return t}));var je=new WeakMap;var Te=function(e){return je.get(e)};var Pe=e("r",(function(e,t){return je.set(t.$lazyInstance$=e,t)}));var Me=function(e,t){var r={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};{r.$onInstancePromise$=new Promise((function(e){return r.$onInstanceResolve$=e}))}{r.$onReadyPromise$=new Promise((function(e){return r.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}d(e,r,t.$listeners$);return je.set(e,r)};var Oe=function(e,t){return t in e};var ze=function(e,t){return(0,console.error)(e,t)};var Ue=new Map;var qe=function(e,r,n){var a=e.$tagName$.replace(/-/g,"_");var i=e.$lazyBundleId$;var l=Ue.get(i);if(l){return l[a]}return t.import("./".concat(i,".entry.js").concat("")).then((function(e){{Ue.set(i,e)}return e[a]}),ze)};var Be=new Map;var Ve=[];var He=[];var We=function(e,t){return function(r){e.push(r);if(!$){$=true;if(t&&f.$flags$&4){Ge(De)}else{f.raf(De)}}}};var Fe=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){ze(e)}}e.length=0};var De=function(){Fe(Ve);{Fe(He);if($=Ve.length>0){f.raf(De)}}};var Ge=function(e){return c().then(e)};var Je=We(He,true)}}}));
|
|
@@ -1,6 +1,6 @@
|
|
|
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.468
|
|
5
5
|
*/
|
|
6
|
-
System.register(["./p-
|
|
6
|
+
System.register(["./p-64d06f97.system.js","./p-5ed85c57.system.js","./p-f64afb0b.system.js","./p-6e0b2fd9.system.js","./p-4f9c75db.system.js","./p-b7c6c7b2.system.js","./p-7fe88621.system.js"],(function(t){"use strict";var n,a,e,i,o,r,c,s,l,m,u;return{setters:[function(t){n=t.r;a=t.h;e=t.F;i=t.g},function(t){o=t.S;r=t.I;c=t.T},function(t){s=t.g},function(t){l=t.S},function(t){m=t.c;u=t.d},function(){},function(){}],execute:function(){var p='@-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}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0px;--calcite-action-group-columns:3}:host([columns="1"]){--calcite-action-group-columns:1}:host([columns="2"]){--calcite-action-group-columns:2}:host([columns="3"]){--calcite-action-group-columns:3}:host([columns="4"]){--calcite-action-group-columns:4}:host([columns="5"]){--calcite-action-group-columns:5}:host([columns="6"]){--calcite-action-group-columns:6}:host(:first-child){padding-top:0px}:host([layout=horizontal]){-ms-flex-direction:row;flex-direction:row}:host([layout=grid]){display:grid;place-content:stretch;gap:1px;background-color:var(--calcite-ui-background);padding:1px;grid-template-columns:repeat(var(--calcite-action-group-columns), auto)}';var f=t("calcite_action_group",function(){function t(t){var a=this;n(this,t);this.expanded=false;this.layout="vertical";this.menuOpen=false;this.setMenuOpen=function(t){a.menuOpen=!!t.detail}}t.prototype.expandedHandler=function(){this.menuOpen=false};t.prototype.connectedCallback=function(){m(this)};t.prototype.disconnectedCallback=function(){u(this)};t.prototype.renderTooltip=function(){var t=this.el;var n=s(t,o.menuTooltip);return n?a("slot",{name:o.menuTooltip,slot:l.tooltip}):null};t.prototype.renderMenu=function(){var t=this,n=t.el,e=t.expanded,i=t.intlMore,m=t.menuOpen,u=t.scale;var p=s(n,o.menuActions);return p?a("calcite-action-menu",{expanded:e,flipPlacements:["left","right"],label:i||c.more,onCalciteActionMenuOpenChange:this.setMenuOpen,open:m,placement:"leading-start",scale:u},a("calcite-action",{icon:r.menu,scale:u,slot:l.trigger,text:i||c.more,textEnabled:e}),a("slot",{name:o.menuActions}),this.renderTooltip()):null};t.prototype.render=function(){return a(e,null,a("slot",null),this.renderMenu())};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{expanded:["expandedHandler"]}},enumerable:false,configurable:true});return t}());f.style=p}}}));
|
|
@@ -1,6 +1,6 @@
|
|
|
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.468
|
|
5
5
|
*/
|
|
6
|
-
System.register(["./p-
|
|
6
|
+
System.register(["./p-f64afb0b.system.js"],(function(e){"use strict";var t,n;return{setters:[function(e){t=e.q;n=e.c}],execute:function(){e({c:f,d:b,g:m});var r="calciteInternalLabelClick";var a=e("l","calciteInternalLabelConnected");var i=e("a","calciteInternaLabelDisconnected");var l="calcite-label";var c=new WeakMap;var o=new WeakMap;var s=new WeakMap;var v=new Set;var u=function(e){var r=e.id;var a=r&&t(e,{selector:"".concat(l,'[for="').concat(r,'"]')});if(a){return a}var i=n(e,l);if(!i||d(i,e)){return null}return i};function d(e,t){var n;var r="custom-element-ancestor-check";var a=function(r){r.stopImmediatePropagation();var a=r.composedPath();n=a.slice(a.indexOf(t),a.indexOf(e))};e.addEventListener(r,a,{once:true});t.dispatchEvent(new CustomEvent(r,{composed:true,bubbles:true}));e.removeEventListener(r,a);var i=n.filter((function(n){return n!==t&&n!==e})).filter((function(e){var t;return(t=e.tagName)===null||t===void 0?void 0:t.includes("-")}));return i.length>0}function f(e){var t=u(e.el);if(c.has(t)||!t&&v.has(e)){return}var n=L.bind(e);if(t){e.labelEl=t;var l=E.bind(e);c.set(e.labelEl,l);e.labelEl.addEventListener(r,l);v.delete(e);document.removeEventListener(a,o.get(e));s.set(e,n);document.addEventListener(i,n)}else if(!v.has(e)){n();document.removeEventListener(i,s.get(e))}}function b(e){v.delete(e);document.removeEventListener(a,o.get(e));document.removeEventListener(i,s.get(e));o.delete(e);s.delete(e);if(!e.labelEl){return}var t=c.get(e.labelEl);e.labelEl.removeEventListener(r,t);c.delete(e.labelEl)}function m(e){var t,n;return e.label||((n=(t=e.labelEl)===null||t===void 0?void 0:t.textContent)===null||n===void 0?void 0:n.trim())||""}function E(e){if(this.disabled){return}var t=this.el.contains(e.detail.sourceEvent.target);if(t){return}this.onLabelClick(e)}function h(){if(v.has(this)){f(this)}}function L(){v.add(this);var e=o.get(this)||h.bind(this);o.set(this,e);document.addEventListener(a,e)}}}}));
|
|
@@ -1,6 +1,6 @@
|
|
|
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.468
|
|
5
5
|
*/
|
|
6
6
|
const e={menu:"menu",defaultTrigger:"default-trigger"},t={tooltip:"tooltip",trigger:"trigger"},r={menu:"ellipsis"};export{e as C,r as I,t as S}
|
|
@@ -1,6 +1,6 @@
|
|
|
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.468
|
|
5
5
|
*/
|
|
6
6
|
System.register([],(function(e){"use strict";return{execute:function(){var t=e("C",{menu:"menu",defaultTrigger:"default-trigger"});var r=e("S",{tooltip:"tooltip",trigger:"trigger"});var i=e("I",{menu:"ellipsis"})}}}));
|