@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
package/hydrate/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.468
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -5575,8 +5575,10 @@ class Accordion {
|
|
|
5575
5575
|
this.iconType = "chevron";
|
|
5576
5576
|
/** specify the scale of accordion, defaults to m */
|
|
5577
5577
|
this.scale = "m";
|
|
5578
|
-
/**
|
|
5579
|
-
*
|
|
5578
|
+
/**
|
|
5579
|
+
* specify the selection mode - multi (allow any number of open items), single (allow one open item),
|
|
5580
|
+
* or single-persist (allow and require one open item), defaults to multi
|
|
5581
|
+
*/
|
|
5580
5582
|
this.selectionMode = "multi";
|
|
5581
5583
|
//--------------------------------------------------------------------------
|
|
5582
5584
|
//
|
|
@@ -5744,6 +5746,7 @@ const guid = () => gen([2, 1, 1, 1, 3]);
|
|
|
5744
5746
|
*
|
|
5745
5747
|
* If it already has an ID, it will be preserved, otherwise a unique one will be generated and assigned.
|
|
5746
5748
|
*
|
|
5749
|
+
* @param el
|
|
5747
5750
|
* @returns {string} The element's ID.
|
|
5748
5751
|
*/
|
|
5749
5752
|
function ensureId(el) {
|
|
@@ -5779,6 +5782,8 @@ function getHost(root) {
|
|
|
5779
5782
|
/**
|
|
5780
5783
|
* This helper queries an element's rootNodes and any ancestor rootNodes.
|
|
5781
5784
|
*
|
|
5785
|
+
* @param element
|
|
5786
|
+
* @param selector
|
|
5782
5787
|
* @returns {Element[]} The elements.
|
|
5783
5788
|
*/
|
|
5784
5789
|
function queryElementsRoots(element, selector) {
|
|
@@ -5805,6 +5810,10 @@ function queryElementsRoots(element, selector) {
|
|
|
5805
5810
|
*
|
|
5806
5811
|
* If both an 'id' and 'selector' are supplied, 'id' will take precedence over 'selector'.
|
|
5807
5812
|
*
|
|
5813
|
+
* @param element
|
|
5814
|
+
* @param root0
|
|
5815
|
+
* @param root0.selector
|
|
5816
|
+
* @param root0.id
|
|
5808
5817
|
* @returns {Element} The element.
|
|
5809
5818
|
*/
|
|
5810
5819
|
function queryElementRoots(element, { selector, id }) {
|
|
@@ -5915,6 +5924,7 @@ function intersects(rect1, rect2) {
|
|
|
5915
5924
|
*
|
|
5916
5925
|
* It should only be used for aria attributes that require a string value of "true" or "false".
|
|
5917
5926
|
*
|
|
5927
|
+
* @param value
|
|
5918
5928
|
* @returns {string} The string conversion of a boolean value ("true" | "false").
|
|
5919
5929
|
*/
|
|
5920
5930
|
function toAriaBoolean(value) {
|
|
@@ -6092,7 +6102,7 @@ function createObserver(type, callback, options) {
|
|
|
6092
6102
|
}
|
|
6093
6103
|
|
|
6094
6104
|
function noopClick() {
|
|
6095
|
-
/** noop
|
|
6105
|
+
/** noop */
|
|
6096
6106
|
}
|
|
6097
6107
|
/**
|
|
6098
6108
|
* This helper updates the host element to prevent keyboard interaction on its subtree and sets the appropriate aria attribute for accessibility.
|
|
@@ -6101,8 +6111,11 @@ function noopClick() {
|
|
|
6101
6111
|
*
|
|
6102
6112
|
* **Notes**
|
|
6103
6113
|
*
|
|
6104
|
-
*
|
|
6105
|
-
*
|
|
6114
|
+
* this util is not needed for simple components whose root element or elements are an interactive component (custom element or native control). For those cases, set the `disabled` props on the root components instead.
|
|
6115
|
+
* technically, users can override `tabindex` and restore keyboard navigation, but this will be considered user error
|
|
6116
|
+
*
|
|
6117
|
+
* @param component
|
|
6118
|
+
* @param hostIsTabbable
|
|
6106
6119
|
*/
|
|
6107
6120
|
function updateHostInteraction(component, hostIsTabbable = false) {
|
|
6108
6121
|
if (component.disabled) {
|
|
@@ -6160,7 +6173,9 @@ class Action {
|
|
|
6160
6173
|
* Indicates unread changes.
|
|
6161
6174
|
*/
|
|
6162
6175
|
this.indicator = false;
|
|
6163
|
-
/**
|
|
6176
|
+
/**
|
|
6177
|
+
* string to override English loading text
|
|
6178
|
+
*
|
|
6164
6179
|
* @default "Loading"
|
|
6165
6180
|
*/
|
|
6166
6181
|
this.intlLoading = TEXT$r.loading;
|
|
@@ -7658,6 +7673,8 @@ let mutationObserver;
|
|
|
7658
7673
|
const observerOptions = { childList: true };
|
|
7659
7674
|
/**
|
|
7660
7675
|
* Helper to set up a conditional slot component on connectedCallback.
|
|
7676
|
+
*
|
|
7677
|
+
* @param component
|
|
7661
7678
|
*/
|
|
7662
7679
|
function connectConditionalSlotComponent(component) {
|
|
7663
7680
|
if (!mutationObserver) {
|
|
@@ -7667,6 +7684,8 @@ function connectConditionalSlotComponent(component) {
|
|
|
7667
7684
|
}
|
|
7668
7685
|
/**
|
|
7669
7686
|
* Helper to tear down a conditional slot component on disconnectedCallback.
|
|
7687
|
+
*
|
|
7688
|
+
* @param component
|
|
7670
7689
|
*/
|
|
7671
7690
|
function disconnectConditionalSlotComponent(component) {
|
|
7672
7691
|
observed.delete(component.el);
|
|
@@ -7817,12 +7836,17 @@ class ActionBar {
|
|
|
7817
7836
|
// --------------------------------------------------------------------------
|
|
7818
7837
|
/**
|
|
7819
7838
|
* Overflows actions that won't fit into menus.
|
|
7839
|
+
*
|
|
7820
7840
|
* @internal
|
|
7821
7841
|
*/
|
|
7822
7842
|
async overflowActions() {
|
|
7823
7843
|
this.resize(this.el.clientHeight);
|
|
7824
7844
|
}
|
|
7825
|
-
/**
|
|
7845
|
+
/**
|
|
7846
|
+
* Sets focus on the component.
|
|
7847
|
+
*
|
|
7848
|
+
* @param focusId
|
|
7849
|
+
*/
|
|
7826
7850
|
async setFocus(focusId) {
|
|
7827
7851
|
if (focusId === "expand-toggle") {
|
|
7828
7852
|
await focusElement(this.expandToggleEl);
|
|
@@ -7997,6 +8021,7 @@ class ActionMenu {
|
|
|
7997
8021
|
this.overlayPositioning = "absolute";
|
|
7998
8022
|
/**
|
|
7999
8023
|
* Determines where the component will be positioned relative to the referenceElement.
|
|
8024
|
+
*
|
|
8000
8025
|
* @see [PopperPlacement](https://github.com/Esri/calcite-components/blob/master/src/utils/popper.ts#L25)
|
|
8001
8026
|
*/
|
|
8002
8027
|
this.placement = "auto";
|
|
@@ -8353,7 +8378,11 @@ class ActionPad {
|
|
|
8353
8378
|
// Methods
|
|
8354
8379
|
//
|
|
8355
8380
|
// --------------------------------------------------------------------------
|
|
8356
|
-
/**
|
|
8381
|
+
/**
|
|
8382
|
+
* Sets focus on the component.
|
|
8383
|
+
*
|
|
8384
|
+
* @param focusId
|
|
8385
|
+
*/
|
|
8357
8386
|
async setFocus(focusId) {
|
|
8358
8387
|
if (focusId === "expand-toggle") {
|
|
8359
8388
|
await focusElement(this.expandToggleEl);
|
|
@@ -8425,7 +8454,8 @@ var StatusIcons;
|
|
|
8425
8454
|
|
|
8426
8455
|
const alertCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-alert:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-alert{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-alert{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-alert{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-alert{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-alert{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-alert:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-alert-h{display:none}/*!@:host([scale=s])*/[scale=s].sc-calcite-alert-h{--calcite-alert-width:40em;--calcite-alert-spacing-token-small:0.5rem;--calcite-alert-spacing-token-large:0.75rem}/*!@:host([scale=s]) slot[name=title]::slotted(*), :host([scale=s]) *::slotted([slot=title])*/.sc-calcite-alert-h[scale=s] slot[name=title].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=s] *.sc-calcite-alert-s>[slot=title]{font-size:var(--calcite-font-size--1);line-height:1.375}/*!@:host([scale=s]) slot[name=message]::slotted(*), :host([scale=s]) *::slotted([slot=message])*/.sc-calcite-alert-h[scale=s] slot[name=message].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=s] *.sc-calcite-alert-s>[slot=message]{font-size:var(--calcite-font-size--2);line-height:1.375}/*!@:host([scale=s]) slot[name=link]::slotted(*), :host([scale=s]) *::slotted([slot=link])*/.sc-calcite-alert-h[scale=s] slot[name=link].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=s] *.sc-calcite-alert-s>[slot=link]{font-size:var(--calcite-font-size--2);line-height:1.375}/*!@:host([scale=s]) .alert-queue-count*/[scale=s].sc-calcite-alert-h .alert-queue-count.sc-calcite-alert{margin-left:0.5rem;margin-right:0.5rem}/*!@:host([scale=s]) .container*/[scale=s].sc-calcite-alert-h .container.sc-calcite-alert{--calcite-alert-min-height:3.5rem}/*!@:host([scale=s]) .alert-close*/[scale=s].sc-calcite-alert-h .alert-close.sc-calcite-alert{padding:0.5rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-alert-h{--calcite-alert-width:50em;--calcite-alert-spacing-token-small:0.75rem;--calcite-alert-spacing-token-large:1rem}/*!@:host([scale=m]) slot[name=title]::slotted(*), :host([scale=m]) *::slotted([slot=title])*/.sc-calcite-alert-h[scale=m] slot[name=title].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=m] *.sc-calcite-alert-s>[slot=title]{font-size:var(--calcite-font-size-0);line-height:1.375}/*!@:host([scale=m]) slot[name=message]::slotted(*), :host([scale=m]) *::slotted([slot=message])*/.sc-calcite-alert-h[scale=m] slot[name=message].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=m] *.sc-calcite-alert-s>[slot=message]{font-size:var(--calcite-font-size--1);line-height:1.375}/*!@:host([scale=m]) slot[name=link]::slotted(*), :host([scale=m]) *::slotted([slot=link])*/.sc-calcite-alert-h[scale=m] slot[name=link].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=m] *.sc-calcite-alert-s>[slot=link]{font-size:var(--calcite-font-size--1);line-height:1.375}/*!@:host([scale=m]) .alert-queue-count*/[scale=m].sc-calcite-alert-h .alert-queue-count.sc-calcite-alert{margin-left:0.75rem;margin-right:0.75rem}/*!@:host([scale=m]) .container*/[scale=m].sc-calcite-alert-h .container.sc-calcite-alert{--calcite-alert-min-height:4.1875rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-alert-h{--calcite-alert-width:60em;--calcite-alert-spacing-token-small:1rem;--calcite-alert-spacing-token-large:1.25rem}/*!@:host([scale=l]) slot[name=title]::slotted(*), :host([scale=l]) *::slotted([slot=title])*/.sc-calcite-alert-h[scale=l] slot[name=title].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=l] *.sc-calcite-alert-s>[slot=title]{margin-bottom:0.25rem;font-size:var(--calcite-font-size-1);line-height:1.375}/*!@:host([scale=l]) slot[name=message]::slotted(*), :host([scale=l]) *::slotted([slot=message])*/.sc-calcite-alert-h[scale=l] slot[name=message].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=l] *.sc-calcite-alert-s>[slot=message]{font-size:var(--calcite-font-size-0);line-height:1.375}/*!@:host([scale=l]) slot[name=link]::slotted(*), :host([scale=l]) *::slotted([slot=link])*/.sc-calcite-alert-h[scale=l] slot[name=link].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=l] *.sc-calcite-alert-s>[slot=link]{font-size:var(--calcite-font-size-0);line-height:1.375}/*!@:host([scale=l]) .alert-queue-count*/[scale=l].sc-calcite-alert-h .alert-queue-count.sc-calcite-alert{margin-left:1rem;margin-right:1rem}/*!@:host([scale=l]) .container*/[scale=l].sc-calcite-alert-h .container.sc-calcite-alert{--calcite-alert-min-height:5.625rem}/*!@:host*/.sc-calcite-alert-h{--calcite-alert-edge-distance:2rem;display:block}/*!@:host .container*/.sc-calcite-alert-h .container.sc-calcite-alert{pointer-events:none;position:fixed;margin-top:0px;margin-bottom:0px;margin-left:auto;margin-right:auto;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background-color:var(--calcite-ui-foreground-1);opacity:0;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);border-radius:var(--calcite-border-radius);border-top:0px solid transparent;border-left:1px solid var(--calcite-ui-border-3);border-right:1px solid var(--calcite-ui-border-3);border-bottom:1px solid var(--calcite-ui-border-3);min-height:var(--calcite-alert-min-height);width:var(--calcite-alert-width);max-width:calc(100% - (var(--calcite-alert-edge-distance) * 2 + 2px));max-height:0;z-index:101;-webkit-transition:var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out;transition:var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out}/*!@:host .container.bottom, :host .container.top*/.sc-calcite-alert-h .container.bottom.sc-calcite-alert,.sc-calcite-alert-h .container.top.sc-calcite-alert{inset-inline-end:0;inset-inline-start:0}/*!@:host .container[class*=bottom]*/.sc-calcite-alert-h .container[class*=bottom].sc-calcite-alert{-webkit-transform:translate3d(0, var(--calcite-alert-edge-distance), 0);transform:translate3d(0, var(--calcite-alert-edge-distance), 0);inset-block-end:var(--calcite-alert-edge-distance)}/*!@:host .container[class*=top]*/.sc-calcite-alert-h .container[class*=top].sc-calcite-alert{-webkit-transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), 0);transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), 0);inset-block-start:var(--calcite-alert-edge-distance)}/*!@:host .container[class*=-start]*/.sc-calcite-alert-h .container[class*=-start].sc-calcite-alert{inset-inline-start:var(--calcite-alert-edge-distance);inset-inline-end:auto}/*!@:host .container[class*=-end]*/.sc-calcite-alert-h .container[class*=-end].sc-calcite-alert{inset-inline-end:var(--calcite-alert-edge-distance);inset-inline-start:auto}/*!@.container*/.container.sc-calcite-alert{display:-ms-flexbox;display:flex;width:100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}/*!@.alert-close*/.alert-close.sc-calcite-alert{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}/*!@.alert-close:focus*/.alert-close.sc-calcite-alert:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@:host([active]) .container:not(.queued)*/[active].sc-calcite-alert-h .container.sc-calcite-alert:not(.queued){max-height:100%;border-top-width:2px;opacity:1;pointer-events:initial}/*!@:host([active]) .container:not(.queued)[class*=bottom]*/[active].sc-calcite-alert-h .container.sc-calcite-alert:not(.queued)[class*=bottom]{-webkit-transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), inherit);transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), inherit)}/*!@:host([active]) .container:not(.queued)[class*=top]*/[active].sc-calcite-alert-h .container.sc-calcite-alert:not(.queued)[class*=top]{-webkit-transform:translate3d(0, var(--calcite-alert-edge-distance), inherit);transform:translate3d(0, var(--calcite-alert-edge-distance), inherit)}/*!@slot[name=title]::slotted(*), *::slotted([slot=title])*/slot[name=title].sc-calcite-alert-s>*,*.sc-calcite-alert-s>[slot=title]{font-size:var(--calcite-font-size-0);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}/*!@slot[name=message]::slotted(*), *::slotted([slot=message])*/slot[name=message].sc-calcite-alert-s>*,*.sc-calcite-alert-s>[slot=message]{margin:0px;display:inline;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}/*!@slot[name=link]::slotted(*), *::slotted([slot=link])*/slot[name=link].sc-calcite-alert-s>*,*.sc-calcite-alert-s>[slot=link]{display:-ms-inline-flexbox;display:inline-flex;color:var(--calcite-ui-text-link)}/*!@.alert-content*/.alert-content.sc-calcite-alert{-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;padding:var(--calcite-alert-spacing-token-small) var(--calcite-alert-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;overflow-wrap:break-word;background-color:var(--calcite-ui-foreground-1);-ms-flex:1 1 auto;flex:1 1 auto;min-width:0;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:0 var(--calcite-alert-spacing-token-small);border-bottom-left-radius:var(--calcite-border-radius);border-bottom-right-radius:var(--calcite-border-radius)}/*!@.alert-content:first-of-type:not(:only-child)*/.alert-content.sc-calcite-alert:first-of-type:not(:only-child){-webkit-padding-start:var(--calcite-alert-spacing-token-large);padding-inline-start:var(--calcite-alert-spacing-token-large)}/*!@.alert-content:only-child*/.alert-content.sc-calcite-alert:only-child{padding:var(--calcite-alert-spacing-token-small)}/*!@.alert-icon*/.alert-icon.sc-calcite-alert{-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;padding:var(--calcite-alert-spacing-token-small) var(--calcite-alert-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-item-align:stretch;align-self:stretch;background-color:var(--calcite-ui-foreground-1);padding-top:0px;padding-bottom:0px}/*!@.alert-close*/.alert-close.sc-calcite-alert{-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;padding:var(--calcite-alert-spacing-token-small) var(--calcite-alert-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;cursor:pointer;-ms-flex-item-align:stretch;align-self:stretch;overflow:hidden;border-style:none;background-color:var(--calcite-ui-foreground-1);padding-top:0px;padding-bottom:0px;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;border-end-end-radius:var(--calcite-border-radius)}/*!@.alert-close:hover, .alert-close:focus*/.alert-close.sc-calcite-alert:hover,.alert-close.sc-calcite-alert:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}/*!@.alert-close:active*/.alert-close.sc-calcite-alert:active{background-color:var(--calcite-ui-foreground-3)}/*!@.alert-queue-count*/.alert-queue-count.sc-calcite-alert{visibility:hidden;display:-ms-flexbox;display:flex;cursor:default;-ms-flex-align:center;align-items:center;-ms-flex-pack:distribute;justify-content:space-around;-ms-flex-item-align:stretch;align-self:stretch;overflow:hidden;background-color:var(--calcite-ui-foreground-1);text-align:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);opacity:0;-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;border-left:0px solid transparent;border-right:0px solid transparent;border-top-right-radius:0}/*!@.alert-queue-count.active*/.alert-queue-count.active.sc-calcite-alert{visibility:visible;opacity:1}/*!@:host([auto-dismiss]) > .alert-queue-count*/[auto-dismiss].sc-calcite-alert-h>.alert-queue-count.sc-calcite-alert{-webkit-border-end:0px solid transparent;border-inline-end:0px solid transparent}/*!@.alert-dismiss-progress*/.alert-dismiss-progress.sc-calcite-alert{position:absolute;left:0px;right:0px;display:block;width:100%;overflow:hidden;top:-2px;height:2px;z-index:103;border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}/*!@.alert-dismiss-progress:after*/.alert-dismiss-progress.sc-calcite-alert:after{position:absolute;top:0px;display:block;height:2px;content:\"\";background-color:var(--calcite-alert-dismiss-progress-background);z-index:104;inset-inline-end:0}/*!@:host([color=blue]) .container*/[color=blue].sc-calcite-alert-h .container.sc-calcite-alert{border-top-color:var(--calcite-ui-info)}/*!@:host([color=blue]) .container .alert-icon*/[color=blue].sc-calcite-alert-h .container.sc-calcite-alert .alert-icon.sc-calcite-alert{color:var(--calcite-ui-info)}/*!@:host([color=red]) .container*/[color=red].sc-calcite-alert-h .container.sc-calcite-alert{border-top-color:var(--calcite-ui-danger)}/*!@:host([color=red]) .container .alert-icon*/[color=red].sc-calcite-alert-h .container.sc-calcite-alert .alert-icon.sc-calcite-alert{color:var(--calcite-ui-danger)}/*!@:host([color=yellow]) .container*/[color=yellow].sc-calcite-alert-h .container.sc-calcite-alert{border-top-color:var(--calcite-ui-warning)}/*!@:host([color=yellow]) .container .alert-icon*/[color=yellow].sc-calcite-alert-h .container.sc-calcite-alert .alert-icon.sc-calcite-alert{color:var(--calcite-ui-warning)}/*!@:host([color=green]) .container*/[color=green].sc-calcite-alert-h .container.sc-calcite-alert{border-top-color:var(--calcite-ui-success)}/*!@:host([color=green]) .container .alert-icon*/[color=green].sc-calcite-alert-h .container.sc-calcite-alert .alert-icon.sc-calcite-alert{color:var(--calcite-ui-success)}/*!@:host([auto-dismiss-duration=fast]) .alert-dismiss-progress:after*/[auto-dismiss-duration=fast].sc-calcite-alert-h .alert-dismiss-progress.sc-calcite-alert:after{-webkit-animation:dismissProgress 6000ms ease-out;animation:dismissProgress 6000ms ease-out}/*!@:host([auto-dismiss-duration=medium]) .alert-dismiss-progress:after*/[auto-dismiss-duration=medium].sc-calcite-alert-h .alert-dismiss-progress.sc-calcite-alert:after{-webkit-animation:dismissProgress 10000ms ease-out;animation:dismissProgress 10000ms ease-out}/*!@:host([auto-dismiss-duration=slow]) .alert-dismiss-progress:after*/[auto-dismiss-duration=slow].sc-calcite-alert-h .alert-dismiss-progress.sc-calcite-alert:after{-webkit-animation:dismissProgress 14000ms ease-out;animation:dismissProgress 14000ms ease-out}@-webkit-keyframes dismissProgress{0%{width:0px;opacity:0.75}100%{width:100%;opacity:1}}@keyframes dismissProgress{0%{width:0px;opacity:0.75}100%{width:100%;opacity:1}}";
|
|
8427
8456
|
|
|
8428
|
-
/**
|
|
8457
|
+
/**
|
|
8458
|
+
* Alerts are meant to provide a way to communicate urgent or important information to users, frequently as a result of an action they took in your app. Alerts are positioned
|
|
8429
8459
|
* at the bottom of the page. Multiple opened alerts will be added to a queue, allowing users to dismiss them in the order they are provided.
|
|
8430
8460
|
*/
|
|
8431
8461
|
/**
|
|
@@ -8453,7 +8483,9 @@ class Alert {
|
|
|
8453
8483
|
this.autoDismissDuration = this.autoDismiss ? "medium" : null;
|
|
8454
8484
|
/** Color for the alert (will apply to top border and icon) */
|
|
8455
8485
|
this.color = "blue";
|
|
8456
|
-
/**
|
|
8486
|
+
/**
|
|
8487
|
+
* string to override English close text
|
|
8488
|
+
*
|
|
8457
8489
|
* @default "Close"
|
|
8458
8490
|
*/
|
|
8459
8491
|
this.intlClose = TEXT$n.intlClose;
|
|
@@ -8749,6 +8781,8 @@ function colorEqual(value1, value2) {
|
|
|
8749
8781
|
/**
|
|
8750
8782
|
* Convert a string to a valid hex by hashing its contents
|
|
8751
8783
|
* and using the hash as a seed for three distinct color values
|
|
8784
|
+
*
|
|
8785
|
+
* @param str
|
|
8752
8786
|
*/
|
|
8753
8787
|
function stringToHex(str) {
|
|
8754
8788
|
let hash = 0;
|
|
@@ -8764,6 +8798,8 @@ function stringToHex(str) {
|
|
|
8764
8798
|
}
|
|
8765
8799
|
/**
|
|
8766
8800
|
* Find the hue of a color given the separate RGB color channels
|
|
8801
|
+
*
|
|
8802
|
+
* @param rgb
|
|
8767
8803
|
*/
|
|
8768
8804
|
function rgbToHue(rgb) {
|
|
8769
8805
|
let { r, g, b } = rgb;
|
|
@@ -8792,6 +8828,7 @@ function rgbToHue(rgb) {
|
|
|
8792
8828
|
}
|
|
8793
8829
|
/**
|
|
8794
8830
|
* For a hex color, find the hue
|
|
8831
|
+
*
|
|
8795
8832
|
* @param hex {string} - form of "#------"
|
|
8796
8833
|
*/
|
|
8797
8834
|
function hexToHue(hex) {
|
|
@@ -8970,19 +9007,25 @@ class Block {
|
|
|
8970
9007
|
this.dragHandle = false;
|
|
8971
9008
|
/**
|
|
8972
9009
|
* Aria-label for collapsing the toggle and tooltip used for the toggle when expanded.
|
|
9010
|
+
*
|
|
8973
9011
|
* @default "Collapse"
|
|
8974
9012
|
*/
|
|
8975
9013
|
this.intlCollapse = TEXT$m.collapse;
|
|
8976
9014
|
/**
|
|
8977
9015
|
* Aria-label for expanding the toggle and tooltip used for the toggle when collapsed.
|
|
9016
|
+
*
|
|
8978
9017
|
* @default "Expand"
|
|
8979
9018
|
*/
|
|
8980
9019
|
this.intlExpand = TEXT$m.expand;
|
|
8981
|
-
/**
|
|
9020
|
+
/**
|
|
9021
|
+
* string to override English loading text
|
|
9022
|
+
*
|
|
8982
9023
|
* @default "Loading"
|
|
8983
9024
|
*/
|
|
8984
9025
|
this.intlLoading = TEXT$m.loading;
|
|
8985
|
-
/**
|
|
9026
|
+
/**
|
|
9027
|
+
* Text string used for the actions menu
|
|
9028
|
+
*
|
|
8986
9029
|
* @default "Options"
|
|
8987
9030
|
*/
|
|
8988
9031
|
this.intlOptions = TEXT$m.options;
|
|
@@ -9255,6 +9298,7 @@ const TEXT$k = {
|
|
|
9255
9298
|
|
|
9256
9299
|
/**
|
|
9257
9300
|
* Exported for testing purposes only
|
|
9301
|
+
*
|
|
9258
9302
|
* @internal
|
|
9259
9303
|
*/
|
|
9260
9304
|
const labelClickEvent = "calciteInternalLabelClick";
|
|
@@ -9297,6 +9341,8 @@ function hasAncestorCustomElements(label, componentEl) {
|
|
|
9297
9341
|
}
|
|
9298
9342
|
/**
|
|
9299
9343
|
* Helper to set up label interactions on connectedCallback.
|
|
9344
|
+
*
|
|
9345
|
+
* @param component
|
|
9300
9346
|
*/
|
|
9301
9347
|
function connectLabel(component) {
|
|
9302
9348
|
const labelEl = findLabelForComponent(component.el);
|
|
@@ -9321,6 +9367,8 @@ function connectLabel(component) {
|
|
|
9321
9367
|
}
|
|
9322
9368
|
/**
|
|
9323
9369
|
* Helper to tear down label interactions on disconnectedCallback on labelable components.
|
|
9370
|
+
*
|
|
9371
|
+
* @param component
|
|
9324
9372
|
*/
|
|
9325
9373
|
function disconnectLabel(component) {
|
|
9326
9374
|
unlabeledComponents.delete(component);
|
|
@@ -9337,6 +9385,8 @@ function disconnectLabel(component) {
|
|
|
9337
9385
|
}
|
|
9338
9386
|
/**
|
|
9339
9387
|
* Helper to get the label text from a component.
|
|
9388
|
+
*
|
|
9389
|
+
* @param component
|
|
9340
9390
|
*/
|
|
9341
9391
|
function getLabelText(component) {
|
|
9342
9392
|
var _a, _b;
|
|
@@ -9391,6 +9441,8 @@ function hasRegisteredFormComponentParent(form, formComponentEl) {
|
|
|
9391
9441
|
}
|
|
9392
9442
|
/**
|
|
9393
9443
|
* Helper to submit a form.
|
|
9444
|
+
*
|
|
9445
|
+
* @param component
|
|
9394
9446
|
*/
|
|
9395
9447
|
function submitForm(component) {
|
|
9396
9448
|
var _a;
|
|
@@ -9398,6 +9450,8 @@ function submitForm(component) {
|
|
|
9398
9450
|
}
|
|
9399
9451
|
/**
|
|
9400
9452
|
* Helper to reset a form.
|
|
9453
|
+
*
|
|
9454
|
+
* @param component
|
|
9401
9455
|
*/
|
|
9402
9456
|
function resetForm(component) {
|
|
9403
9457
|
var _a;
|
|
@@ -9405,6 +9459,8 @@ function resetForm(component) {
|
|
|
9405
9459
|
}
|
|
9406
9460
|
/**
|
|
9407
9461
|
* Helper to set up form interactions on connectedCallback.
|
|
9462
|
+
*
|
|
9463
|
+
* @param component
|
|
9408
9464
|
*/
|
|
9409
9465
|
function connectForm(component) {
|
|
9410
9466
|
const { el, value } = component;
|
|
@@ -9431,6 +9487,8 @@ function onFormReset() {
|
|
|
9431
9487
|
}
|
|
9432
9488
|
/**
|
|
9433
9489
|
* Helper to tear down form interactions on disconnectedCallback.
|
|
9490
|
+
*
|
|
9491
|
+
* @param component
|
|
9434
9492
|
*/
|
|
9435
9493
|
function disconnectForm(component) {
|
|
9436
9494
|
const { el, formEl } = component;
|
|
@@ -9447,6 +9505,9 @@ function disconnectForm(component) {
|
|
|
9447
9505
|
* Helper for setting the default value on initialization after connectedCallback.
|
|
9448
9506
|
*
|
|
9449
9507
|
* Note that this is only needed if the default value cannot be determined on connectedCallback.
|
|
9508
|
+
*
|
|
9509
|
+
* @param component
|
|
9510
|
+
* @param value
|
|
9450
9511
|
*/
|
|
9451
9512
|
function afterConnectDefaultValueSet(component, value) {
|
|
9452
9513
|
component.defaultValue = value;
|
|
@@ -9455,6 +9516,8 @@ function afterConnectDefaultValueSet(component, value) {
|
|
|
9455
9516
|
* Helper for maintaining a form-associated's hidden input in sync with the component.
|
|
9456
9517
|
*
|
|
9457
9518
|
* Based on Ionic's approach: https://github.com/ionic-team/ionic-framework/blob/e4bf052794af9aac07f887013b9250d2a045eba3/core/src/utils/helpers.ts#L198
|
|
9519
|
+
*
|
|
9520
|
+
* @param component
|
|
9458
9521
|
*/
|
|
9459
9522
|
function syncHiddenFormInput(component) {
|
|
9460
9523
|
const { el, formEl, name, value } = component;
|
|
@@ -9539,6 +9602,9 @@ function defaultSyncHiddenFormInput(component, input, value) {
|
|
|
9539
9602
|
* }
|
|
9540
9603
|
*
|
|
9541
9604
|
* Note that the hidden-form-input Sass mixin must be added to the component's style to apply specific styles.
|
|
9605
|
+
*
|
|
9606
|
+
* @param root0
|
|
9607
|
+
* @param root0.component
|
|
9542
9608
|
*/
|
|
9543
9609
|
const HiddenFormInputSlot = ({ component }) => {
|
|
9544
9610
|
syncHiddenFormInput(component);
|
|
@@ -9566,7 +9632,9 @@ class Button {
|
|
|
9566
9632
|
this.color = "blue";
|
|
9567
9633
|
/** is the button disabled */
|
|
9568
9634
|
this.disabled = false;
|
|
9569
|
-
/**
|
|
9635
|
+
/**
|
|
9636
|
+
* string to override English loading text
|
|
9637
|
+
*
|
|
9570
9638
|
* @default "Loading"
|
|
9571
9639
|
*/
|
|
9572
9640
|
this.intlLoading = TEXT$k.loading;
|
|
@@ -9582,7 +9650,7 @@ class Button {
|
|
|
9582
9650
|
this.type = "button";
|
|
9583
9651
|
/** specify the width of the button, defaults to auto */
|
|
9584
9652
|
this.width = "auto";
|
|
9585
|
-
/** watches for changing text content
|
|
9653
|
+
/** watches for changing text content */
|
|
9586
9654
|
this.mutationObserver = createObserver();
|
|
9587
9655
|
/** determine if there is slotted content for styling purposes */
|
|
9588
9656
|
this.hasContent = false;
|
|
@@ -9741,7 +9809,8 @@ const TEXT$j = {
|
|
|
9741
9809
|
|
|
9742
9810
|
const cardCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-card:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-card{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-card{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-card{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-card{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-card{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-card:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-card-h{display:none}/*!@:host*/.sc-calcite-card-h{display:block;max-width:100%}/*!@:host .calcite-card-container*/.sc-calcite-card-h .calcite-card-container.sc-calcite-card{position:relative;display:-ms-flexbox;display:flex;height:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);border-radius:var(--calcite-border-radius-base)}/*!@:host .calcite-card-container:hover*/.sc-calcite-card-h .calcite-card-container.sc-calcite-card:hover{--tw-shadow:0 4px 16px 0 rgba(0, 0, 0, 0.08), 0 2px 8px 0 rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 16px 0 var(--tw-shadow-color), 0 2px 8px 0 var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);z-index:1}/*!@:host .calcite-card-container:active*/.sc-calcite-card-h .calcite-card-container.sc-calcite-card:active{--tw-shadow:0 1px 6px -1px rgba(0, 0, 0, 0.16), 0 1px 2px -1px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 1px 6px -1px var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-transition-duration:75ms;transition-duration:75ms;z-index:1}/*!@.container*/.container.sc-calcite-card{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column}/*!@:host([loading]) .calcite-card-container *:not(calcite-loader):not(.calcite-card-loader-container)*/[loading].sc-calcite-card-h .calcite-card-container.sc-calcite-card *.sc-calcite-card:not(calcite-loader):not(.calcite-card-loader-container){pointer-events:none;opacity:0}/*!@:host([loading]) .calcite-card-loader-container*/[loading].sc-calcite-card-h .calcite-card-loader-container.sc-calcite-card{position:absolute;top:0px;right:0px;bottom:0px;left:0px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}/*!@.header, .footer*/.header.sc-calcite-card,.footer.sc-calcite-card{display:-ms-flexbox;display:flex;padding-left:0.75rem;padding-right:0.75rem;padding-top:0.75rem;padding-bottom:0.25rem}/*!@.header*/.header.sc-calcite-card{-ms-flex-direction:column;flex-direction:column}/*!@.footer*/.footer.sc-calcite-card{margin-top:auto;-ms-flex-direction:row;flex-direction:row;-ms-flex-line-pack:justify;align-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding-left:0.75rem;padding-right:0.75rem;padding-top:0.25rem;padding-bottom:0.75rem}/*!@.card-content*/.card-content.sc-calcite-card{padding:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3)}/*!@:host([selectable]) .calcite-card-container:active*/[selectable].sc-calcite-card-h .calcite-card-container.sc-calcite-card:active{--tw-shadow:0 1px 6px -1px rgba(0, 0, 0, 0.16), 0 1px 2px -1px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 1px 6px -1px var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}/*!@:host([selected]) .calcite-card-container*/[selected].sc-calcite-card-h .calcite-card-container.sc-calcite-card{border-color:var(--calcite-ui-brand)}/*!@slot[name=title]::slotted(*), *::slotted([slot=title])*/slot[name=title].sc-calcite-card-s>*,*.sc-calcite-card-s>[slot=title]{margin:0px;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}/*!@slot[name=subtitle]::slotted(*), *::slotted([slot=subtitle])*/slot[name=subtitle].sc-calcite-card-s>*,*.sc-calcite-card-s>[slot=subtitle]{margin:0px;margin-top:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}/*!@slot[name=thumbnail]::slotted(img), img::slotted([slot=thumbnail])*/slot[name=thumbnail].sc-calcite-card-s>img,img.sc-calcite-card-s>[slot=thumbnail]{min-width:100%;max-width:100%}/*!@slot[name=footer-leading]::slotted(*), *::slotted([slot=footer-leading])*/slot[name=footer-leading].sc-calcite-card-s>*,*.sc-calcite-card-s>[slot=footer-leading]{-ms-flex-item-align:center;align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375;-webkit-margin-end:auto;margin-inline-end:auto}/*!@slot[name=footer-trailing]::slotted(*), *::slotted([slot=footer-trailing])*/slot[name=footer-trailing].sc-calcite-card-s>*,*.sc-calcite-card-s>[slot=footer-trailing]{-ms-flex-item-align:center;align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375}/*!@.thumbnail-wrapper*/.thumbnail-wrapper.sc-calcite-card{font-size:var(--calcite-font-size-0);line-height:1.375}/*!@.checkbox-wrapper*/.checkbox-wrapper.sc-calcite-card{position:absolute;margin:0px;padding:0px;top:0.5rem;inset-inline-end:0.5rem}";
|
|
9743
9811
|
|
|
9744
|
-
/**
|
|
9812
|
+
/**
|
|
9813
|
+
* Cards do not include a grid or bounding container
|
|
9745
9814
|
* - cards will expand to fit the width of their container
|
|
9746
9815
|
*/
|
|
9747
9816
|
/**
|
|
@@ -9767,15 +9836,21 @@ class Card {
|
|
|
9767
9836
|
this.selected = false;
|
|
9768
9837
|
/** Indicates whether the card is selectable. */
|
|
9769
9838
|
this.selectable = false;
|
|
9770
|
-
/**
|
|
9839
|
+
/**
|
|
9840
|
+
* string to override English loading text
|
|
9841
|
+
*
|
|
9771
9842
|
* @default "Loading"
|
|
9772
9843
|
*/
|
|
9773
9844
|
this.intlLoading = TEXT$j.loading;
|
|
9774
|
-
/**
|
|
9845
|
+
/**
|
|
9846
|
+
* string to override English select text for checkbox when selectable is true
|
|
9847
|
+
*
|
|
9775
9848
|
* @default "Select"
|
|
9776
9849
|
*/
|
|
9777
9850
|
this.intlSelect = TEXT$j.select;
|
|
9778
|
-
/**
|
|
9851
|
+
/**
|
|
9852
|
+
* string to override English deselect text for checkbox when selectable is true
|
|
9853
|
+
*
|
|
9779
9854
|
* @default "Deselect"
|
|
9780
9855
|
*/
|
|
9781
9856
|
this.intlDeselect = TEXT$j.deselect;
|
|
@@ -9879,6 +9954,7 @@ class Checkbox {
|
|
|
9879
9954
|
this.disabled = false;
|
|
9880
9955
|
/**
|
|
9881
9956
|
* The hovered state of the checkbox.
|
|
9957
|
+
*
|
|
9882
9958
|
* @internal
|
|
9883
9959
|
*/
|
|
9884
9960
|
this.hovered = false;
|
|
@@ -9886,7 +9962,7 @@ class Checkbox {
|
|
|
9886
9962
|
* True if the checkbox is initially indeterminate,
|
|
9887
9963
|
* which is independent from its checked state
|
|
9888
9964
|
* https://css-tricks.com/indeterminate-checkboxes/
|
|
9889
|
-
|
|
9965
|
+
*/
|
|
9890
9966
|
this.indeterminate = false;
|
|
9891
9967
|
/**
|
|
9892
9968
|
* When true, makes the component required for form-submission.
|
|
@@ -10038,7 +10114,9 @@ class Chip {
|
|
|
10038
10114
|
this.color = "grey";
|
|
10039
10115
|
/** Optionally show a button the user can click to dismiss the chip */
|
|
10040
10116
|
this.dismissible = false;
|
|
10041
|
-
/**
|
|
10117
|
+
/**
|
|
10118
|
+
* Aria label for the "x" button
|
|
10119
|
+
*
|
|
10042
10120
|
* @default "Close"
|
|
10043
10121
|
*/
|
|
10044
10122
|
this.dismissLabel = TEXT$i.close;
|
|
@@ -12376,6 +12454,7 @@ class ColorPicker {
|
|
|
12376
12454
|
* The format of the value property.
|
|
12377
12455
|
*
|
|
12378
12456
|
* When "auto", the format will be inferred from `value` when set.
|
|
12457
|
+
*
|
|
12379
12458
|
* @default "auto"
|
|
12380
12459
|
*/
|
|
12381
12460
|
this.format = defaultFormat;
|
|
@@ -12385,80 +12464,117 @@ class ColorPicker {
|
|
|
12385
12464
|
this.hideChannels = false;
|
|
12386
12465
|
/** When true, hides the saved colors section */
|
|
12387
12466
|
this.hideSaved = false;
|
|
12388
|
-
/**
|
|
12467
|
+
/**
|
|
12468
|
+
* Label used for the blue channel
|
|
12469
|
+
*
|
|
12389
12470
|
* @default "B"
|
|
12390
12471
|
*/
|
|
12391
12472
|
this.intlB = TEXT$h.b;
|
|
12392
|
-
/**
|
|
12473
|
+
/**
|
|
12474
|
+
* Label used for the blue channel description
|
|
12475
|
+
*
|
|
12393
12476
|
* @default "Blue"
|
|
12394
12477
|
*/
|
|
12395
12478
|
this.intlBlue = TEXT$h.blue;
|
|
12396
|
-
/**
|
|
12479
|
+
/**
|
|
12480
|
+
* Label used for the delete color button.
|
|
12481
|
+
*
|
|
12397
12482
|
* @default "Delete color"
|
|
12398
12483
|
*/
|
|
12399
12484
|
this.intlDeleteColor = TEXT$h.deleteColor;
|
|
12400
|
-
/**
|
|
12485
|
+
/**
|
|
12486
|
+
* Label used for the green channel
|
|
12487
|
+
*
|
|
12401
12488
|
* @default "G"
|
|
12402
12489
|
*/
|
|
12403
12490
|
this.intlG = TEXT$h.g;
|
|
12404
|
-
/**
|
|
12491
|
+
/**
|
|
12492
|
+
* Label used for the green channel description
|
|
12493
|
+
*
|
|
12405
12494
|
* @default "Green"
|
|
12406
12495
|
*/
|
|
12407
12496
|
this.intlGreen = TEXT$h.green;
|
|
12408
|
-
/**
|
|
12497
|
+
/**
|
|
12498
|
+
* Label used for the hue channel
|
|
12499
|
+
*
|
|
12409
12500
|
* @default "H"
|
|
12410
12501
|
*/
|
|
12411
12502
|
this.intlH = TEXT$h.h;
|
|
12412
|
-
/**
|
|
12503
|
+
/**
|
|
12504
|
+
* Label used for the HSV mode
|
|
12505
|
+
*
|
|
12413
12506
|
* @default "HSV"
|
|
12414
12507
|
*/
|
|
12415
12508
|
this.intlHsv = TEXT$h.hsv;
|
|
12416
|
-
/**
|
|
12509
|
+
/**
|
|
12510
|
+
* Label used for the hex input
|
|
12511
|
+
*
|
|
12417
12512
|
* @default "Hex"
|
|
12418
12513
|
*/
|
|
12419
12514
|
this.intlHex = TEXT$h.hex;
|
|
12420
|
-
/**
|
|
12515
|
+
/**
|
|
12516
|
+
* Label used for the hue channel description
|
|
12517
|
+
*
|
|
12421
12518
|
* @default "Hue"
|
|
12422
12519
|
*/
|
|
12423
12520
|
this.intlHue = TEXT$h.hue;
|
|
12424
12521
|
/**
|
|
12425
12522
|
* Label used for the hex input when there is no color selected.
|
|
12523
|
+
*
|
|
12426
12524
|
* @default "No color"
|
|
12427
12525
|
*/
|
|
12428
12526
|
this.intlNoColor = TEXT$h.noColor;
|
|
12429
|
-
/**
|
|
12527
|
+
/**
|
|
12528
|
+
* Label used for the red channel
|
|
12529
|
+
*
|
|
12430
12530
|
* @default "R"
|
|
12431
12531
|
*/
|
|
12432
12532
|
this.intlR = TEXT$h.r;
|
|
12433
|
-
/**
|
|
12533
|
+
/**
|
|
12534
|
+
* Label used for the red channel description
|
|
12535
|
+
*
|
|
12434
12536
|
* @default "Red"
|
|
12435
12537
|
*/
|
|
12436
12538
|
this.intlRed = TEXT$h.red;
|
|
12437
|
-
/**
|
|
12539
|
+
/**
|
|
12540
|
+
* Label used for the RGB mode
|
|
12541
|
+
*
|
|
12438
12542
|
* @default "RGB"
|
|
12439
12543
|
*/
|
|
12440
12544
|
this.intlRgb = TEXT$h.rgb;
|
|
12441
|
-
/**
|
|
12545
|
+
/**
|
|
12546
|
+
* Label used for the saturation channel
|
|
12547
|
+
*
|
|
12442
12548
|
* @default "S"
|
|
12443
12549
|
*/
|
|
12444
12550
|
this.intlS = TEXT$h.s;
|
|
12445
|
-
/**
|
|
12551
|
+
/**
|
|
12552
|
+
* Label used for the saturation channel description
|
|
12553
|
+
*
|
|
12446
12554
|
* @default "Saturation"
|
|
12447
12555
|
*/
|
|
12448
12556
|
this.intlSaturation = TEXT$h.saturation;
|
|
12449
|
-
/**
|
|
12557
|
+
/**
|
|
12558
|
+
* Label used for the save color button.
|
|
12559
|
+
*
|
|
12450
12560
|
* @default "Save color"
|
|
12451
12561
|
*/
|
|
12452
12562
|
this.intlSaveColor = TEXT$h.saveColor;
|
|
12453
|
-
/**
|
|
12563
|
+
/**
|
|
12564
|
+
* Label used for the saved colors section
|
|
12565
|
+
*
|
|
12454
12566
|
* @default "Saved"
|
|
12455
12567
|
*/
|
|
12456
12568
|
this.intlSaved = TEXT$h.saved;
|
|
12457
|
-
/**
|
|
12569
|
+
/**
|
|
12570
|
+
* Label used for the value channel
|
|
12571
|
+
*
|
|
12458
12572
|
* @default "V"
|
|
12459
12573
|
*/
|
|
12460
12574
|
this.intlV = TEXT$h.v;
|
|
12461
|
-
/**
|
|
12575
|
+
/**
|
|
12576
|
+
* Label used for the
|
|
12577
|
+
*
|
|
12462
12578
|
* @default "Value"
|
|
12463
12579
|
*/
|
|
12464
12580
|
this.intlValue = TEXT$h.value;
|
|
@@ -12473,6 +12589,7 @@ class ColorPicker {
|
|
|
12473
12589
|
* a RGB, HSL or HSV object.
|
|
12474
12590
|
*
|
|
12475
12591
|
* The type will be preserved as the color is updated.
|
|
12592
|
+
*
|
|
12476
12593
|
* @default "#007ac2"
|
|
12477
12594
|
* @see [ColorValue](https://github.com/Esri/calcite-components/blob/master/src/components/color-picker/interfaces.ts#L10)
|
|
12478
12595
|
*/
|
|
@@ -13191,11 +13308,13 @@ class ColorPickerHexInput {
|
|
|
13191
13308
|
this.allowEmpty = false;
|
|
13192
13309
|
/**
|
|
13193
13310
|
* Label used for the hex input.
|
|
13311
|
+
*
|
|
13194
13312
|
* @default "Hex"
|
|
13195
13313
|
*/
|
|
13196
13314
|
this.intlHex = TEXT$h.hex;
|
|
13197
13315
|
/**
|
|
13198
13316
|
* Label used for the hex input when there is no color selected.
|
|
13317
|
+
*
|
|
13199
13318
|
* @default "No color"
|
|
13200
13319
|
*/
|
|
13201
13320
|
this.intlNoColor = TEXT$h.noColor;
|
|
@@ -15396,7 +15515,8 @@ class Combobox {
|
|
|
15396
15515
|
* @internal
|
|
15397
15516
|
*/
|
|
15398
15517
|
this.required = false;
|
|
15399
|
-
/**
|
|
15518
|
+
/**
|
|
15519
|
+
* specify the selection mode
|
|
15400
15520
|
* - multi: allow any number of selected items (default)
|
|
15401
15521
|
* - single: only one selection)
|
|
15402
15522
|
* - ancestors: like multi, but show ancestors of selected items as selected, only deepest children shown in chips
|
|
@@ -15406,7 +15526,9 @@ class Combobox {
|
|
|
15406
15526
|
this.scale = "m";
|
|
15407
15527
|
/** The value(s) of the selectedItem(s) */
|
|
15408
15528
|
this.value = null;
|
|
15409
|
-
/**
|
|
15529
|
+
/**
|
|
15530
|
+
* string to override the English "Remove tag" text for when an item is selected.
|
|
15531
|
+
*
|
|
15410
15532
|
* @default "Remove tag"
|
|
15411
15533
|
*/
|
|
15412
15534
|
this.intlRemoveTag = TEXT$g.removeTag;
|
|
@@ -16248,6 +16370,8 @@ class ComboboxItem {
|
|
|
16248
16370
|
/**
|
|
16249
16371
|
* Used to toggle the selection state. By default this won't trigger an event.
|
|
16250
16372
|
* The first argument allows the value to be coerced, rather than swapping values.
|
|
16373
|
+
*
|
|
16374
|
+
* @param coerce
|
|
16251
16375
|
*/
|
|
16252
16376
|
async toggleSelected(coerce) {
|
|
16253
16377
|
if (this.disabled) {
|
|
@@ -16509,6 +16633,10 @@ function localizeNumberString(numberString, locale, displayGroupSeparator = fals
|
|
|
16509
16633
|
|
|
16510
16634
|
/**
|
|
16511
16635
|
* Check if date is within a min and max
|
|
16636
|
+
*
|
|
16637
|
+
* @param date
|
|
16638
|
+
* @param min
|
|
16639
|
+
* @param max
|
|
16512
16640
|
*/
|
|
16513
16641
|
function inRange(date, min, max) {
|
|
16514
16642
|
const time = date.getTime();
|
|
@@ -16519,6 +16647,10 @@ function inRange(date, min, max) {
|
|
|
16519
16647
|
/**
|
|
16520
16648
|
* Ensures date is within range,
|
|
16521
16649
|
* returns min or max if out of bounds
|
|
16650
|
+
*
|
|
16651
|
+
* @param date
|
|
16652
|
+
* @param min
|
|
16653
|
+
* @param max
|
|
16522
16654
|
*/
|
|
16523
16655
|
function dateFromRange(date, min, max) {
|
|
16524
16656
|
if (!(date instanceof Date)) {
|
|
@@ -16538,6 +16670,8 @@ function dateFromRange(date, min, max) {
|
|
|
16538
16670
|
/**
|
|
16539
16671
|
* Parse an iso8601 string (YYYY-mm-dd) into a valid date.
|
|
16540
16672
|
* TODO: handle time when time of day UI is added
|
|
16673
|
+
*
|
|
16674
|
+
* @param iso8601
|
|
16541
16675
|
*/
|
|
16542
16676
|
function dateFromISO(iso8601) {
|
|
16543
16677
|
if (iso8601 instanceof Date) {
|
|
@@ -16556,6 +16690,8 @@ function dateFromISO(iso8601) {
|
|
|
16556
16690
|
}
|
|
16557
16691
|
/**
|
|
16558
16692
|
* Return first portion of ISO string (YYYY-mm-dd)
|
|
16693
|
+
*
|
|
16694
|
+
* @param date
|
|
16559
16695
|
*/
|
|
16560
16696
|
function dateToISO(date) {
|
|
16561
16697
|
if (typeof date === "string") {
|
|
@@ -16568,6 +16704,9 @@ function dateToISO(date) {
|
|
|
16568
16704
|
}
|
|
16569
16705
|
/**
|
|
16570
16706
|
* Check if two dates are the same day, month, year
|
|
16707
|
+
*
|
|
16708
|
+
* @param d1
|
|
16709
|
+
* @param d2
|
|
16571
16710
|
*/
|
|
16572
16711
|
function sameDate(d1, d2) {
|
|
16573
16712
|
return (d1 instanceof Date &&
|
|
@@ -16578,6 +16717,8 @@ function sameDate(d1, d2) {
|
|
|
16578
16717
|
}
|
|
16579
16718
|
/**
|
|
16580
16719
|
* Get a date one month in the past
|
|
16720
|
+
*
|
|
16721
|
+
* @param date
|
|
16581
16722
|
*/
|
|
16582
16723
|
function prevMonth(date) {
|
|
16583
16724
|
const month = date.getMonth();
|
|
@@ -16591,6 +16732,8 @@ function prevMonth(date) {
|
|
|
16591
16732
|
}
|
|
16592
16733
|
/**
|
|
16593
16734
|
* Get a date one month in the future
|
|
16735
|
+
*
|
|
16736
|
+
* @param date
|
|
16594
16737
|
*/
|
|
16595
16738
|
function nextMonth(date) {
|
|
16596
16739
|
const month = date.getMonth();
|
|
@@ -16604,6 +16747,9 @@ function nextMonth(date) {
|
|
|
16604
16747
|
}
|
|
16605
16748
|
/**
|
|
16606
16749
|
* Translate a number into a given locals numeral system
|
|
16750
|
+
*
|
|
16751
|
+
* @param num
|
|
16752
|
+
* @param localeData
|
|
16607
16753
|
*/
|
|
16608
16754
|
function localizeNumber(num, localeData) {
|
|
16609
16755
|
return String(num)
|
|
@@ -16613,6 +16759,9 @@ function localizeNumber(num, localeData) {
|
|
|
16613
16759
|
}
|
|
16614
16760
|
/**
|
|
16615
16761
|
* Calculate actual number from localized string
|
|
16762
|
+
*
|
|
16763
|
+
* @param str
|
|
16764
|
+
* @param localeData
|
|
16616
16765
|
*/
|
|
16617
16766
|
function parseNumber(str, localeData) {
|
|
16618
16767
|
const numerals = "0123456789";
|
|
@@ -16625,6 +16774,9 @@ function parseNumber(str, localeData) {
|
|
|
16625
16774
|
/**
|
|
16626
16775
|
* Parse numeric units for day, month, and year from a localized string
|
|
16627
16776
|
* month starts at 0 (can pass to date constructor)
|
|
16777
|
+
*
|
|
16778
|
+
* @param str
|
|
16779
|
+
* @param localeData
|
|
16628
16780
|
*/
|
|
16629
16781
|
function parseDateString(str, localeData) {
|
|
16630
16782
|
const { separator, unitOrder } = localeData;
|
|
@@ -16638,6 +16790,8 @@ function parseDateString(str, localeData) {
|
|
|
16638
16790
|
}
|
|
16639
16791
|
/**
|
|
16640
16792
|
* Convert eastern arbic numerals
|
|
16793
|
+
*
|
|
16794
|
+
* @param str
|
|
16641
16795
|
*/
|
|
16642
16796
|
function replaceArabicNumerals(str = "") {
|
|
16643
16797
|
return str
|
|
@@ -16646,6 +16800,8 @@ function replaceArabicNumerals(str = "") {
|
|
|
16646
16800
|
}
|
|
16647
16801
|
/**
|
|
16648
16802
|
* Based on the unitOrder string, find order of month, day, and year for locale
|
|
16803
|
+
*
|
|
16804
|
+
* @param unitOrder
|
|
16649
16805
|
*/
|
|
16650
16806
|
function getOrder(unitOrder) {
|
|
16651
16807
|
const signifiers = ["d", "m", "y"];
|
|
@@ -16654,6 +16810,9 @@ function getOrder(unitOrder) {
|
|
|
16654
16810
|
}
|
|
16655
16811
|
/**
|
|
16656
16812
|
* Get number of days between two dates
|
|
16813
|
+
*
|
|
16814
|
+
* @param date1
|
|
16815
|
+
* @param date2
|
|
16657
16816
|
*/
|
|
16658
16817
|
function getDaysDiff(date1, date2) {
|
|
16659
16818
|
const ts1 = date1.getTime();
|
|
@@ -16675,15 +16834,21 @@ class DatePicker {
|
|
|
16675
16834
|
registerInstance(this, hostRef);
|
|
16676
16835
|
this.calciteDatePickerChange = createEvent(this, "calciteDatePickerChange", 7);
|
|
16677
16836
|
this.calciteDatePickerRangeChange = createEvent(this, "calciteDatePickerRangeChange", 7);
|
|
16678
|
-
/**
|
|
16837
|
+
/**
|
|
16838
|
+
* Localized string for "previous month" (used for aria label)
|
|
16839
|
+
*
|
|
16679
16840
|
* @default "Previous month"
|
|
16680
16841
|
*/
|
|
16681
16842
|
this.intlPrevMonth = TEXT$f.prevMonth;
|
|
16682
|
-
/**
|
|
16843
|
+
/**
|
|
16844
|
+
* Localized string for "next month" (used for aria label)
|
|
16845
|
+
*
|
|
16683
16846
|
* @default "Next month"
|
|
16684
16847
|
*/
|
|
16685
16848
|
this.intlNextMonth = TEXT$f.nextMonth;
|
|
16686
|
-
/**
|
|
16849
|
+
/**
|
|
16850
|
+
* Localized string for "year" (used for aria label)
|
|
16851
|
+
*
|
|
16687
16852
|
* @default "Year"
|
|
16688
16853
|
*/
|
|
16689
16854
|
this.intlYear = TEXT$f.year;
|
|
@@ -16825,6 +16990,8 @@ class DatePicker {
|
|
|
16825
16990
|
};
|
|
16826
16991
|
/**
|
|
16827
16992
|
* Event handler for when the selected date changes
|
|
16993
|
+
*
|
|
16994
|
+
* @param e
|
|
16828
16995
|
*/
|
|
16829
16996
|
this.monthDateChange = (e) => {
|
|
16830
16997
|
const date = new Date(e.detail);
|
|
@@ -16992,6 +17159,12 @@ class DatePicker {
|
|
|
16992
17159
|
}
|
|
16993
17160
|
/**
|
|
16994
17161
|
* Render calcite-date-picker-month-header and calcite-date-picker-month
|
|
17162
|
+
*
|
|
17163
|
+
* @param activeDate
|
|
17164
|
+
* @param maxDate
|
|
17165
|
+
* @param minDate
|
|
17166
|
+
* @param date
|
|
17167
|
+
* @param endDate
|
|
16995
17168
|
*/
|
|
16996
17169
|
renderCalendar(activeDate, maxDate, minDate, date, endDate) {
|
|
16997
17170
|
return (this.localeData && [
|
|
@@ -17001,6 +17174,9 @@ class DatePicker {
|
|
|
17001
17174
|
}
|
|
17002
17175
|
/**
|
|
17003
17176
|
* Update date instance of start if valid
|
|
17177
|
+
*
|
|
17178
|
+
* @param startDate
|
|
17179
|
+
* @param emit
|
|
17004
17180
|
*/
|
|
17005
17181
|
setStartAsDate(startDate, emit) {
|
|
17006
17182
|
this.startAsDate = startDate;
|
|
@@ -17014,6 +17190,9 @@ class DatePicker {
|
|
|
17014
17190
|
}
|
|
17015
17191
|
/**
|
|
17016
17192
|
* Update date instance of end if valid
|
|
17193
|
+
*
|
|
17194
|
+
* @param endDate
|
|
17195
|
+
* @param emit
|
|
17017
17196
|
*/
|
|
17018
17197
|
setEndAsDate(endDate, emit) {
|
|
17019
17198
|
this.endAsDate = endDate;
|
|
@@ -17037,6 +17216,10 @@ class DatePicker {
|
|
|
17037
17216
|
}
|
|
17038
17217
|
/**
|
|
17039
17218
|
* Get an active date using the value, or current date as default
|
|
17219
|
+
*
|
|
17220
|
+
* @param value
|
|
17221
|
+
* @param min
|
|
17222
|
+
* @param max
|
|
17040
17223
|
*/
|
|
17041
17224
|
getActiveDate(value, min, max) {
|
|
17042
17225
|
return dateFromRange(this.activeDate, min, max) || value || dateFromRange(new Date(), min, max);
|
|
@@ -17315,6 +17498,8 @@ class DatePickerMonth {
|
|
|
17315
17498
|
//--------------------------------------------------------------------------
|
|
17316
17499
|
/**
|
|
17317
17500
|
* Add n months to the current month
|
|
17501
|
+
*
|
|
17502
|
+
* @param step
|
|
17318
17503
|
*/
|
|
17319
17504
|
addMonths(step) {
|
|
17320
17505
|
const nextDate = new Date(this.activeDate);
|
|
@@ -17324,6 +17509,8 @@ class DatePickerMonth {
|
|
|
17324
17509
|
}
|
|
17325
17510
|
/**
|
|
17326
17511
|
* Add n days to the current date
|
|
17512
|
+
*
|
|
17513
|
+
* @param step
|
|
17327
17514
|
*/
|
|
17328
17515
|
addDays(step = 0) {
|
|
17329
17516
|
const nextDate = new Date(this.activeDate);
|
|
@@ -17333,6 +17520,10 @@ class DatePickerMonth {
|
|
|
17333
17520
|
}
|
|
17334
17521
|
/**
|
|
17335
17522
|
* Get dates for last days of the previous month
|
|
17523
|
+
*
|
|
17524
|
+
* @param month
|
|
17525
|
+
* @param year
|
|
17526
|
+
* @param startOfWeek
|
|
17336
17527
|
*/
|
|
17337
17528
|
getPrevMonthdays(month, year, startOfWeek) {
|
|
17338
17529
|
const lastDate = new Date(year, month, 0);
|
|
@@ -17349,6 +17540,9 @@ class DatePickerMonth {
|
|
|
17349
17540
|
}
|
|
17350
17541
|
/**
|
|
17351
17542
|
* Get dates for the current month
|
|
17543
|
+
*
|
|
17544
|
+
* @param month
|
|
17545
|
+
* @param year
|
|
17352
17546
|
*/
|
|
17353
17547
|
getCurrentMonthDays(month, year) {
|
|
17354
17548
|
const num = new Date(year, month + 1, 0).getDate();
|
|
@@ -17360,6 +17554,10 @@ class DatePickerMonth {
|
|
|
17360
17554
|
}
|
|
17361
17555
|
/**
|
|
17362
17556
|
* Get dates for first days of the next month
|
|
17557
|
+
*
|
|
17558
|
+
* @param month
|
|
17559
|
+
* @param year
|
|
17560
|
+
* @param startOfWeek
|
|
17363
17561
|
*/
|
|
17364
17562
|
getNextMonthDays(month, year, startOfWeek) {
|
|
17365
17563
|
const endDay = new Date(year, month + 1, 0).getDay();
|
|
@@ -17374,6 +17572,8 @@ class DatePickerMonth {
|
|
|
17374
17572
|
}
|
|
17375
17573
|
/**
|
|
17376
17574
|
* Determine if the date is in between the start and end dates
|
|
17575
|
+
*
|
|
17576
|
+
* @param date
|
|
17377
17577
|
*/
|
|
17378
17578
|
betweenSelectedRange(date) {
|
|
17379
17579
|
return !!(this.startDate &&
|
|
@@ -17384,6 +17584,8 @@ class DatePickerMonth {
|
|
|
17384
17584
|
}
|
|
17385
17585
|
/**
|
|
17386
17586
|
* Determine if the date should be in selected state
|
|
17587
|
+
*
|
|
17588
|
+
* @param date
|
|
17387
17589
|
*/
|
|
17388
17590
|
isSelected(date) {
|
|
17389
17591
|
return !!(sameDate(date, this.selectedDate) ||
|
|
@@ -17392,6 +17594,8 @@ class DatePickerMonth {
|
|
|
17392
17594
|
}
|
|
17393
17595
|
/**
|
|
17394
17596
|
* Determine if the date is the start of the date range
|
|
17597
|
+
*
|
|
17598
|
+
* @param date
|
|
17395
17599
|
*/
|
|
17396
17600
|
isStartOfRange(date) {
|
|
17397
17601
|
return !!(this.startDate &&
|
|
@@ -17408,6 +17612,12 @@ class DatePickerMonth {
|
|
|
17408
17612
|
}
|
|
17409
17613
|
/**
|
|
17410
17614
|
* Render calcite-date-picker-day
|
|
17615
|
+
*
|
|
17616
|
+
* @param active
|
|
17617
|
+
* @param day
|
|
17618
|
+
* @param date
|
|
17619
|
+
* @param currentMonth
|
|
17620
|
+
* @param ref
|
|
17411
17621
|
*/
|
|
17412
17622
|
renderDateDay(active, day, date, currentMonth, ref) {
|
|
17413
17623
|
var _a;
|
|
@@ -17490,6 +17700,8 @@ class DatePickerMonthHeader {
|
|
|
17490
17700
|
//--------------------------------------------------------------------------
|
|
17491
17701
|
/**
|
|
17492
17702
|
* Increment year on UP/DOWN keys
|
|
17703
|
+
*
|
|
17704
|
+
* @param e
|
|
17493
17705
|
*/
|
|
17494
17706
|
this.onYearKey = (e) => {
|
|
17495
17707
|
const localizedYear = e.target.value;
|
|
@@ -17589,6 +17801,11 @@ class DatePickerMonthHeader {
|
|
|
17589
17801
|
/**
|
|
17590
17802
|
* Parse localized year string from input,
|
|
17591
17803
|
* set to active if in range
|
|
17804
|
+
*
|
|
17805
|
+
* @param root0
|
|
17806
|
+
* @param root0.localizedYear
|
|
17807
|
+
* @param root0.commit
|
|
17808
|
+
* @param root0.offset
|
|
17592
17809
|
*/
|
|
17593
17810
|
setYear({ localizedYear, commit = true, offset = 0 }) {
|
|
17594
17811
|
const { yearInput, activeDate, localeData } = this;
|
|
@@ -17665,12 +17882,13 @@ class Dropdown {
|
|
|
17665
17882
|
/**
|
|
17666
17883
|
specify the maximum number of calcite-dropdown-items to display before showing the scroller, must be greater than 0 -
|
|
17667
17884
|
this value does not include groupTitles passed to calcite-dropdown-group
|
|
17668
|
-
|
|
17885
|
+
*/
|
|
17669
17886
|
this.maxItems = 0;
|
|
17670
17887
|
/** Describes the type of positioning to use for the overlaid content. If your element is in a fixed container, use the 'fixed' value. */
|
|
17671
17888
|
this.overlayPositioning = "absolute";
|
|
17672
17889
|
/**
|
|
17673
17890
|
* Determines where the dropdown will be positioned relative to the button.
|
|
17891
|
+
*
|
|
17674
17892
|
* @default "bottom-leading"
|
|
17675
17893
|
*/
|
|
17676
17894
|
this.placement = defaultMenuPlacement;
|
|
@@ -18066,8 +18284,10 @@ class DropdownGroup {
|
|
|
18066
18284
|
constructor(hostRef) {
|
|
18067
18285
|
registerInstance(this, hostRef);
|
|
18068
18286
|
this.calciteInternalDropdownItemChange = createEvent(this, "calciteInternalDropdownItemChange", 7);
|
|
18069
|
-
/**
|
|
18070
|
-
|
|
18287
|
+
/**
|
|
18288
|
+
specify the selection mode - multi (allow any number of (or no) active items), single (allow and require one active item),
|
|
18289
|
+
none (no active items), defaults to single
|
|
18290
|
+
*/
|
|
18071
18291
|
this.selectionMode = "single";
|
|
18072
18292
|
}
|
|
18073
18293
|
//--------------------------------------------------------------------------
|
|
@@ -18343,6 +18563,7 @@ class Fab {
|
|
|
18343
18563
|
this.disabled = false;
|
|
18344
18564
|
/**
|
|
18345
18565
|
* The name of the icon to display. The value of this property must match the icon name from https://esri.github.io/calcite-ui-icons/.
|
|
18566
|
+
*
|
|
18346
18567
|
* @default "plus"
|
|
18347
18568
|
*/
|
|
18348
18569
|
this.icon = ICONS$9.plus;
|
|
@@ -18714,6 +18935,10 @@ class Flow {
|
|
|
18714
18935
|
* Calculate slope of the tangents
|
|
18715
18936
|
* uses Steffen interpolation as it's monotonic
|
|
18716
18937
|
* http://jrwalsh1.github.io/posts/interpolations/
|
|
18938
|
+
*
|
|
18939
|
+
* @param p0
|
|
18940
|
+
* @param p1
|
|
18941
|
+
* @param p2
|
|
18717
18942
|
*/
|
|
18718
18943
|
function slope(p0, p1, p2) {
|
|
18719
18944
|
const dx = p1[0] - p0[0];
|
|
@@ -18727,6 +18952,10 @@ function slope(p0, p1, p2) {
|
|
|
18727
18952
|
}
|
|
18728
18953
|
/**
|
|
18729
18954
|
* Calculate slope for just one tangent (single-sided)
|
|
18955
|
+
*
|
|
18956
|
+
* @param p0
|
|
18957
|
+
* @param p1
|
|
18958
|
+
* @param m
|
|
18730
18959
|
*/
|
|
18731
18960
|
function slopeSingle(p0, p1, m) {
|
|
18732
18961
|
const dx = p1[0] - p0[0];
|
|
@@ -18739,6 +18968,12 @@ function slopeSingle(p0, p1, m) {
|
|
|
18739
18968
|
*
|
|
18740
18969
|
* Translates Hermite Spline to Beziér curve:
|
|
18741
18970
|
* stackoverflow.com/questions/42574940/
|
|
18971
|
+
*
|
|
18972
|
+
* @param p0
|
|
18973
|
+
* @param p1
|
|
18974
|
+
* @param m0
|
|
18975
|
+
* @param m1
|
|
18976
|
+
* @param t
|
|
18742
18977
|
*/
|
|
18743
18978
|
function bezier(p0, p1, m0, m1, t) {
|
|
18744
18979
|
const [x0, y0] = p0;
|
|
@@ -18752,6 +18987,12 @@ function bezier(p0, p1, m0, m1, t) {
|
|
|
18752
18987
|
/**
|
|
18753
18988
|
* Generate a function which will translate a point
|
|
18754
18989
|
* from the data coordinate space to svg viewbox oriented pixels
|
|
18990
|
+
*
|
|
18991
|
+
* @param root0
|
|
18992
|
+
* @param root0.width
|
|
18993
|
+
* @param root0.height
|
|
18994
|
+
* @param root0.min
|
|
18995
|
+
* @param root0.max
|
|
18755
18996
|
*/
|
|
18756
18997
|
function translate({ width, height, min, max }) {
|
|
18757
18998
|
const rangeX = max[0] - min[0];
|
|
@@ -18764,6 +19005,8 @@ function translate({ width, height, min, max }) {
|
|
|
18764
19005
|
}
|
|
18765
19006
|
/**
|
|
18766
19007
|
* Get the min and max values from the dataset
|
|
19008
|
+
*
|
|
19009
|
+
* @param data
|
|
18767
19010
|
*/
|
|
18768
19011
|
function range(data) {
|
|
18769
19012
|
const [startX, startY] = data[0];
|
|
@@ -18777,6 +19020,12 @@ function range(data) {
|
|
|
18777
19020
|
/**
|
|
18778
19021
|
* Generate drawing commands for an area graph
|
|
18779
19022
|
* returns a string can can be passed directly to a path element's `d` attribute
|
|
19023
|
+
*
|
|
19024
|
+
* @param root0
|
|
19025
|
+
* @param root0.data
|
|
19026
|
+
* @param root0.min
|
|
19027
|
+
* @param root0.max
|
|
19028
|
+
* @param root0.t
|
|
18780
19029
|
*/
|
|
18781
19030
|
function area({ data, min, max, t }) {
|
|
18782
19031
|
if (data.length === 0) {
|
|
@@ -18933,7 +19182,7 @@ class Handle {
|
|
|
18933
19182
|
//
|
|
18934
19183
|
// --------------------------------------------------------------------------
|
|
18935
19184
|
/**
|
|
18936
|
-
* @internal
|
|
19185
|
+
* @internal
|
|
18937
19186
|
*/
|
|
18938
19187
|
this.activated = false;
|
|
18939
19188
|
/**
|
|
@@ -19147,15 +19396,21 @@ class InlineEditable {
|
|
|
19147
19396
|
this.loading = false;
|
|
19148
19397
|
/** specify whether save/cancel controls should be displayed when editingEnabled is true, defaults to false */
|
|
19149
19398
|
this.controls = false;
|
|
19150
|
-
/**
|
|
19399
|
+
/**
|
|
19400
|
+
* specify text to be user for the enable editing button's aria-label, defaults to `Click to edit`
|
|
19401
|
+
*
|
|
19151
19402
|
* @default "Click to edit"
|
|
19152
19403
|
*/
|
|
19153
19404
|
this.intlEnableEditing = TEXT$d.intlEnablingEditing;
|
|
19154
|
-
/**
|
|
19405
|
+
/**
|
|
19406
|
+
* specify text to be user for the cancel editing button's aria-label, defaults to `Cancel`
|
|
19407
|
+
*
|
|
19155
19408
|
* @default "Cancel"
|
|
19156
19409
|
*/
|
|
19157
19410
|
this.intlCancelEditing = TEXT$d.intlCancelEditing;
|
|
19158
|
-
/**
|
|
19411
|
+
/**
|
|
19412
|
+
* specify text to be user for the confirm changes button's aria-label, defaults to `Save`
|
|
19413
|
+
*
|
|
19159
19414
|
* @default "Save"
|
|
19160
19415
|
*/
|
|
19161
19416
|
this.intlConfirmChanges = TEXT$d.intlConfirmChanges;
|
|
@@ -19402,9 +19657,11 @@ class Input {
|
|
|
19402
19657
|
this.alignment = "start";
|
|
19403
19658
|
/** should the input autofocus */
|
|
19404
19659
|
this.autofocus = false;
|
|
19405
|
-
/**
|
|
19660
|
+
/**
|
|
19661
|
+
* optionally display a clear button that displays when field has a value
|
|
19406
19662
|
* shows by default for search, time, date
|
|
19407
|
-
* will not display for type="textarea"
|
|
19663
|
+
* will not display for type="textarea"
|
|
19664
|
+
*/
|
|
19408
19665
|
this.clearable = false;
|
|
19409
19666
|
/** is the input disabled */
|
|
19410
19667
|
this.disabled = false;
|
|
@@ -19414,6 +19671,7 @@ class Input {
|
|
|
19414
19671
|
this.hidden = false;
|
|
19415
19672
|
/**
|
|
19416
19673
|
* string to override English loading text
|
|
19674
|
+
*
|
|
19417
19675
|
* @default "Loading"
|
|
19418
19676
|
*/
|
|
19419
19677
|
this.intlLoading = TEXT$s.loading;
|
|
@@ -19425,6 +19683,7 @@ class Input {
|
|
|
19425
19683
|
this.locale = document.documentElement.lang || "en";
|
|
19426
19684
|
/**
|
|
19427
19685
|
* Toggles locale formatting for numbers.
|
|
19686
|
+
*
|
|
19428
19687
|
* @internal
|
|
19429
19688
|
*/
|
|
19430
19689
|
this.localeFormat = false;
|
|
@@ -19438,7 +19697,9 @@ class Input {
|
|
|
19438
19697
|
this.scale = "m";
|
|
19439
19698
|
/** specify the status of the input field, determines message and icons */
|
|
19440
19699
|
this.status = "idle";
|
|
19441
|
-
/**
|
|
19700
|
+
/**
|
|
19701
|
+
* @internal
|
|
19702
|
+
*/
|
|
19442
19703
|
this.editingEnabled = false;
|
|
19443
19704
|
/**
|
|
19444
19705
|
* specify the input type
|
|
@@ -19991,15 +20252,21 @@ class InputDatePicker {
|
|
|
19991
20252
|
this.disabled = false;
|
|
19992
20253
|
/** Expand or collapse when calendar does not have input */
|
|
19993
20254
|
this.active = false;
|
|
19994
|
-
/**
|
|
20255
|
+
/**
|
|
20256
|
+
* Localized string for "previous month" (used for aria label)
|
|
20257
|
+
*
|
|
19995
20258
|
* @default "Previous month"
|
|
19996
20259
|
*/
|
|
19997
20260
|
this.intlPrevMonth = TEXT$f.prevMonth;
|
|
19998
|
-
/**
|
|
20261
|
+
/**
|
|
20262
|
+
* Localized string for "next month" (used for aria label)
|
|
20263
|
+
*
|
|
19999
20264
|
* @default "Next month"
|
|
20000
20265
|
*/
|
|
20001
20266
|
this.intlNextMonth = TEXT$f.nextMonth;
|
|
20002
|
-
/**
|
|
20267
|
+
/**
|
|
20268
|
+
* Localized string for "year" (used for aria label)
|
|
20269
|
+
*
|
|
20003
20270
|
* @default "Year"
|
|
20004
20271
|
*/
|
|
20005
20272
|
this.intlYear = TEXT$f.year;
|
|
@@ -20009,6 +20276,7 @@ class InputDatePicker {
|
|
|
20009
20276
|
this.scale = "m";
|
|
20010
20277
|
/**
|
|
20011
20278
|
* Determines where the date-picker component will be positioned relative to the input.
|
|
20279
|
+
*
|
|
20012
20280
|
* @default "bottom-leading"
|
|
20013
20281
|
*/
|
|
20014
20282
|
this.placement = defaultMenuPlacement;
|
|
@@ -20095,6 +20363,8 @@ class InputDatePicker {
|
|
|
20095
20363
|
};
|
|
20096
20364
|
/**
|
|
20097
20365
|
* Event handler for when the selected date changes
|
|
20366
|
+
*
|
|
20367
|
+
* @param event
|
|
20098
20368
|
*/
|
|
20099
20369
|
this.handleDateChange = (event) => {
|
|
20100
20370
|
if (this.range) {
|
|
@@ -20350,6 +20620,8 @@ class InputDatePicker {
|
|
|
20350
20620
|
}
|
|
20351
20621
|
/**
|
|
20352
20622
|
* If inputted string is a valid date, update value/active
|
|
20623
|
+
*
|
|
20624
|
+
* @param value
|
|
20353
20625
|
*/
|
|
20354
20626
|
input(value) {
|
|
20355
20627
|
const date = this.getDateFromInput(value);
|
|
@@ -20392,6 +20664,8 @@ class InputDatePicker {
|
|
|
20392
20664
|
}
|
|
20393
20665
|
/**
|
|
20394
20666
|
* Clean up invalid date from input on blur
|
|
20667
|
+
*
|
|
20668
|
+
* @param target
|
|
20395
20669
|
*/
|
|
20396
20670
|
blur(target) {
|
|
20397
20671
|
const { locale, focusedInput, endAsDate, range, startAsDate, valueAsDate } = this;
|
|
@@ -20425,6 +20699,8 @@ class InputDatePicker {
|
|
|
20425
20699
|
/**
|
|
20426
20700
|
* Find a date from input string
|
|
20427
20701
|
* return false if date is invalid, or out of range
|
|
20702
|
+
*
|
|
20703
|
+
* @param value
|
|
20428
20704
|
*/
|
|
20429
20705
|
getDateFromInput(value) {
|
|
20430
20706
|
if (!this.localeData) {
|
|
@@ -20774,6 +21050,7 @@ class InputTimePicker {
|
|
|
20774
21050
|
this.disabled = false;
|
|
20775
21051
|
/**
|
|
20776
21052
|
* BCP 47 language tag for desired language and country format
|
|
21053
|
+
*
|
|
20777
21054
|
* @internal
|
|
20778
21055
|
*/
|
|
20779
21056
|
this.locale = document.documentElement.lang || navigator.language || "en";
|
|
@@ -20787,6 +21064,7 @@ class InputTimePicker {
|
|
|
20787
21064
|
this.scale = "m";
|
|
20788
21065
|
/**
|
|
20789
21066
|
* Determines where the popover will be positioned relative to the input.
|
|
21067
|
+
*
|
|
20790
21068
|
* @see [PopperPlacement](https://github.com/Esri/calcite-components/blob/master/src/utils/popper.ts#L25)
|
|
20791
21069
|
*/
|
|
20792
21070
|
this.placement = "auto";
|
|
@@ -21047,6 +21325,7 @@ class Label {
|
|
|
21047
21325
|
this.alignment = "start";
|
|
21048
21326
|
/**
|
|
21049
21327
|
* specify the status of the label and any child input / input messages
|
|
21328
|
+
*
|
|
21050
21329
|
* @deprecated set directly on child element instead
|
|
21051
21330
|
*/
|
|
21052
21331
|
this.status = "idle";
|
|
@@ -21123,7 +21402,8 @@ class Link {
|
|
|
21123
21402
|
//--------------------------------------------------------------------------
|
|
21124
21403
|
/** is the link disabled */
|
|
21125
21404
|
this.disabled = false;
|
|
21126
|
-
/**
|
|
21405
|
+
/**
|
|
21406
|
+
* Prompts the user to save the linked URL instead of navigating to it. Can be used with or without a value:
|
|
21127
21407
|
* Without a value, the browser will suggest a filename/extension
|
|
21128
21408
|
* See: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-download
|
|
21129
21409
|
*/
|
|
@@ -21200,6 +21480,7 @@ const listCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes i
|
|
|
21200
21480
|
|
|
21201
21481
|
/**
|
|
21202
21482
|
* A general purpose list that enables users to construct list items that conform to Calcite styling.
|
|
21483
|
+
*
|
|
21203
21484
|
* @slot - A slot for adding calcite-list-item elements.
|
|
21204
21485
|
*/
|
|
21205
21486
|
class List$1 {
|
|
@@ -21489,6 +21770,8 @@ class Loader {
|
|
|
21489
21770
|
//--------------------------------------------------------------------------
|
|
21490
21771
|
/**
|
|
21491
21772
|
* Return the proper sizes based on the scale property
|
|
21773
|
+
*
|
|
21774
|
+
* @param scale
|
|
21492
21775
|
*/
|
|
21493
21776
|
getSize(scale) {
|
|
21494
21777
|
return {
|
|
@@ -21825,6 +22108,8 @@ class Modal {
|
|
|
21825
22108
|
//--------------------------------------------------------------------------
|
|
21826
22109
|
/**
|
|
21827
22110
|
* Focus first interactive element
|
|
22111
|
+
*
|
|
22112
|
+
* @param el
|
|
21828
22113
|
* @deprecated use `setFocus` instead.
|
|
21829
22114
|
*/
|
|
21830
22115
|
async focusElement(el) {
|
|
@@ -21838,12 +22123,19 @@ class Modal {
|
|
|
21838
22123
|
*
|
|
21839
22124
|
* By default, will try to focus on any focusable content. If there is none, it will focus on the close button.
|
|
21840
22125
|
* If you want to focus on the close button, you can use the `close-button` focus ID.
|
|
22126
|
+
*
|
|
22127
|
+
* @param focusId
|
|
21841
22128
|
*/
|
|
21842
22129
|
async setFocus(focusId) {
|
|
21843
22130
|
const closeButton = this.closeButtonEl;
|
|
21844
22131
|
return focusElement(focusId === "close-button" ? closeButton : getFocusableElements(this.el)[0] || closeButton);
|
|
21845
22132
|
}
|
|
21846
|
-
/**
|
|
22133
|
+
/**
|
|
22134
|
+
* Set the scroll top of the modal content
|
|
22135
|
+
*
|
|
22136
|
+
* @param top
|
|
22137
|
+
* @param left
|
|
22138
|
+
*/
|
|
21847
22139
|
async scrollContent(top = 0, left = 0) {
|
|
21848
22140
|
if (this.modalContent) {
|
|
21849
22141
|
if (this.modalContent.scrollTo) {
|
|
@@ -21932,7 +22224,8 @@ const CSS$m = {
|
|
|
21932
22224
|
|
|
21933
22225
|
const noticeCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-notice:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-notice{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-notice{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-notice{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-notice{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-notice{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-notice:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-notice-h{display:none}/*!@:host([scale=s])*/[scale=s].sc-calcite-notice-h{--calcite-notice-spacing-token-small:0.5rem;--calcite-notice-spacing-token-large:0.75rem}/*!@:host([scale=s]) .container slot[name=title]::slotted(*), :host([scale=s]) .container *::slotted([slot=title])*/.sc-calcite-notice-h[scale=s] .container slot[name=title].sc-calcite-notice-s>*,.sc-calcite-notice-h[scale=s] .container *.sc-calcite-notice-s>[slot=title]{margin-top:0.125rem;margin-bottom:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}/*!@:host([scale=s]) .container slot[name=message]::slotted(*), :host([scale=s]) .container *::slotted([slot=message])*/.sc-calcite-notice-h[scale=s] .container slot[name=message].sc-calcite-notice-s>*,.sc-calcite-notice-h[scale=s] .container *.sc-calcite-notice-s>[slot=message]{margin-top:0.125rem;margin-bottom:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}/*!@:host([scale=s]) ::slotted(calcite-link)*/.sc-calcite-notice-h[scale=s] .sc-calcite-notice-s>calcite-link{margin-top:0.125rem;margin-bottom:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}/*!@:host([scale=s]) .notice-close*/[scale=s].sc-calcite-notice-h .notice-close.sc-calcite-notice{padding:0.5rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-notice-h{--calcite-notice-spacing-token-small:0.75rem;--calcite-notice-spacing-token-large:1rem}/*!@:host([scale=m]) .container slot[name=title]::slotted(*), :host([scale=m]) .container *::slotted([slot=title])*/.sc-calcite-notice-h[scale=m] .container slot[name=title].sc-calcite-notice-s>*,.sc-calcite-notice-h[scale=m] .container *.sc-calcite-notice-s>[slot=title]{margin-top:0.125rem;margin-bottom:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}/*!@:host([scale=m]) .container slot[name=message]::slotted(*), :host([scale=m]) .container *::slotted([slot=message])*/.sc-calcite-notice-h[scale=m] .container slot[name=message].sc-calcite-notice-s>*,.sc-calcite-notice-h[scale=m] .container *.sc-calcite-notice-s>[slot=message]{margin-top:0.125rem;margin-bottom:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}/*!@:host([scale=m]) ::slotted(calcite-link)*/.sc-calcite-notice-h[scale=m] .sc-calcite-notice-s>calcite-link{margin-top:0.125rem;margin-bottom:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}/*!@:host([scale=l])*/[scale=l].sc-calcite-notice-h{--calcite-notice-spacing-token-small:1rem;--calcite-notice-spacing-token-large:1.25rem}/*!@:host([scale=l]) .container slot[name=title]::slotted(*), :host([scale=l]) .container *::slotted([slot=title])*/.sc-calcite-notice-h[scale=l] .container slot[name=title].sc-calcite-notice-s>*,.sc-calcite-notice-h[scale=l] .container *.sc-calcite-notice-s>[slot=title]{margin-top:0.125rem;margin-bottom:0.125rem;font-size:var(--calcite-font-size-1);line-height:1.375}/*!@:host([scale=l]) .container slot[name=message]::slotted(*), :host([scale=l]) .container *::slotted([slot=message])*/.sc-calcite-notice-h[scale=l] .container slot[name=message].sc-calcite-notice-s>*,.sc-calcite-notice-h[scale=l] .container *.sc-calcite-notice-s>[slot=message]{margin-top:0.125rem;margin-bottom:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}/*!@:host([scale=l]) ::slotted(calcite-link)*/.sc-calcite-notice-h[scale=l] .sc-calcite-notice-s>calcite-link{margin-top:0.125rem;margin-bottom:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}/*!@:host([width=auto])*/[width=auto].sc-calcite-notice-h{--calcite-notice-width:auto}/*!@:host([width=half])*/[width=half].sc-calcite-notice-h{--calcite-notice-width:50%}/*!@:host([width=full])*/[width=full].sc-calcite-notice-h{--calcite-notice-width:100%}/*!@:host*/.sc-calcite-notice-h{margin-left:auto;margin-right:auto;display:none;max-width:100%;-ms-flex-align:center;align-items:center;width:var(--calcite-notice-width)}/*!@.container*/.container.sc-calcite-notice{pointer-events:none;margin-top:0px;margin-bottom:0px;-webkit-box-sizing:border-box;box-sizing:border-box;display:none;width:100%;background-color:var(--calcite-ui-foreground-1);opacity:0;max-height:0;text-align:start;-webkit-transition:var(--calcite-animation-timing);transition:var(--calcite-animation-timing);-webkit-border-start:0px solid;border-inline-start:0px solid;-webkit-box-shadow:0 0 0 0 transparent;box-shadow:0 0 0 0 transparent}/*!@.notice-close*/.notice-close.sc-calcite-notice{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}/*!@.notice-close:focus*/.notice-close.sc-calcite-notice:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@:host*/.sc-calcite-notice-h{display:-ms-flexbox;display:flex}/*!@:host([active]) .container*/[active].sc-calcite-notice-h .container.sc-calcite-notice{pointer-events:auto;display:-ms-flexbox;display:flex;max-height:100%;-ms-flex-align:center;align-items:center;border-width:2px;opacity:1;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}/*!@.container slot[name=title]::slotted(*), .container *::slotted([slot=title])*/.container slot[name=title].sc-calcite-notice-s>*,.container *.sc-calcite-notice-s>[slot=title]{margin:0px;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}/*!@.container slot[name=message]::slotted(*), .container *::slotted([slot=message])*/.container slot[name=message].sc-calcite-notice-s>*,.container *.sc-calcite-notice-s>[slot=message]{margin:0px;display:inline;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);-webkit-margin-end:var(--calcite-notice-spacing-token-small);margin-inline-end:var(--calcite-notice-spacing-token-small)}/*!@.notice-content*/.notice-content.sc-calcite-notice{-webkit-box-sizing:border-box;box-sizing:border-box;-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;padding:var(--calcite-notice-spacing-token-small) var(--calcite-notice-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;display:-ms-flexbox;display:flex;min-width:0px;-ms-flex-direction:column;flex-direction:column;overflow-wrap:break-word;-ms-flex:1 1 0px;flex:1 1 0;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:0 var(--calcite-notice-spacing-token-small)}/*!@.notice-content:first-of-type:not(:only-child)*/.notice-content.sc-calcite-notice:first-of-type:not(:only-child){-webkit-padding-start:var(--calcite-notice-spacing-token-large);padding-inline-start:var(--calcite-notice-spacing-token-large)}/*!@.notice-content:only-of-type*/.notice-content.sc-calcite-notice:only-of-type{padding:var(--calcite-notice-spacing-token-small) var(--calcite-notice-spacing-token-large)}/*!@.notice-icon*/.notice-icon.sc-calcite-notice{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;-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;padding:var(--calcite-notice-spacing-token-small) var(--calcite-notice-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto}/*!@.notice-close*/.notice-close.sc-calcite-notice{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-item-align:stretch;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;-webkit-box-sizing:border-box;box-sizing:border-box;-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;padding:var(--calcite-notice-spacing-token-small) var(--calcite-notice-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;-webkit-appearance:none}/*!@.notice-close:hover, .notice-close:focus*/.notice-close.sc-calcite-notice:hover,.notice-close.sc-calcite-notice:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}/*!@.notice-close:active*/.notice-close.sc-calcite-notice:active{background-color:var(--calcite-ui-foreground-3)}/*!@.actions-end*/.actions-end.sc-calcite-notice{display:-ms-flexbox;display:flex;-ms-flex-item-align:stretch;align-self:stretch}/*!@:host([color=blue]) .container*/[color=blue].sc-calcite-notice-h .container.sc-calcite-notice{border-color:var(--calcite-ui-brand)}/*!@:host([color=blue]) .container .notice-icon*/[color=blue].sc-calcite-notice-h .container.sc-calcite-notice .notice-icon.sc-calcite-notice{color:var(--calcite-ui-brand)}/*!@:host([color=red]) .container*/[color=red].sc-calcite-notice-h .container.sc-calcite-notice{border-color:var(--calcite-ui-danger)}/*!@:host([color=red]) .container .notice-icon*/[color=red].sc-calcite-notice-h .container.sc-calcite-notice .notice-icon.sc-calcite-notice{color:var(--calcite-ui-danger)}/*!@:host([color=yellow]) .container*/[color=yellow].sc-calcite-notice-h .container.sc-calcite-notice{border-color:var(--calcite-ui-warning)}/*!@:host([color=yellow]) .container .notice-icon*/[color=yellow].sc-calcite-notice-h .container.sc-calcite-notice .notice-icon.sc-calcite-notice{color:var(--calcite-ui-warning)}/*!@:host([color=green]) .container*/[color=green].sc-calcite-notice-h .container.sc-calcite-notice{border-color:var(--calcite-ui-success)}/*!@:host([color=green]) .container .notice-icon*/[color=green].sc-calcite-notice-h .container.sc-calcite-notice .notice-icon.sc-calcite-notice{color:var(--calcite-ui-success)}";
|
|
21934
22226
|
|
|
21935
|
-
/**
|
|
22227
|
+
/**
|
|
22228
|
+
* Notices are intended to be used to present users with important-but-not-crucial contextual tips or copy. Because
|
|
21936
22229
|
* notices are displayed inline, a common use case is displaying them on page-load to present users with short hints or contextual copy.
|
|
21937
22230
|
* They are optionally dismissible - useful for keeping track of whether or not a user has dismissed the notice. You can also choose not
|
|
21938
22231
|
* to display a notice on page load and set the "active" attribute as needed to contextually provide inline messaging to users.
|
|
@@ -21959,7 +22252,9 @@ class Notice {
|
|
|
21959
22252
|
this.color = "blue";
|
|
21960
22253
|
/** Optionally show a button the user can click to dismiss the notice */
|
|
21961
22254
|
this.dismissible = false;
|
|
21962
|
-
/**
|
|
22255
|
+
/**
|
|
22256
|
+
* String for the close button.
|
|
22257
|
+
*
|
|
21963
22258
|
* @default "Close"
|
|
21964
22259
|
*/
|
|
21965
22260
|
this.intlClose = TEXT$a.close;
|
|
@@ -22214,11 +22509,15 @@ class Pagination {
|
|
|
22214
22509
|
this.start = 1;
|
|
22215
22510
|
/** total number of items */
|
|
22216
22511
|
this.total = 0;
|
|
22217
|
-
/**
|
|
22512
|
+
/**
|
|
22513
|
+
* Used as an accessible label (aria-label) for the next button
|
|
22514
|
+
*
|
|
22218
22515
|
* @default "Next"
|
|
22219
22516
|
*/
|
|
22220
22517
|
this.textLabelNext = TEXT$9.nextLabel;
|
|
22221
|
-
/**
|
|
22518
|
+
/**
|
|
22519
|
+
* Used as an accessible label (aria-label) of the previous button
|
|
22520
|
+
*
|
|
22222
22521
|
* @default "Previous"
|
|
22223
22522
|
*/
|
|
22224
22523
|
this.textLabelPrevious = TEXT$9.previousLabel;
|
|
@@ -22532,7 +22831,11 @@ class Panel {
|
|
|
22532
22831
|
// Methods
|
|
22533
22832
|
//
|
|
22534
22833
|
// --------------------------------------------------------------------------
|
|
22535
|
-
/**
|
|
22834
|
+
/**
|
|
22835
|
+
* Sets focus on the component.
|
|
22836
|
+
*
|
|
22837
|
+
* @param focusId
|
|
22838
|
+
*/
|
|
22536
22839
|
async setFocus(focusId) {
|
|
22537
22840
|
var _a, _b, _c;
|
|
22538
22841
|
if (focusId === "dismiss-button") {
|
|
@@ -22545,7 +22848,8 @@ class Panel {
|
|
|
22545
22848
|
}
|
|
22546
22849
|
(_c = this.containerEl) === null || _c === void 0 ? void 0 : _c.focus();
|
|
22547
22850
|
}
|
|
22548
|
-
/**
|
|
22851
|
+
/**
|
|
22852
|
+
* Scrolls panel content to a particular set of coordinates.
|
|
22549
22853
|
*
|
|
22550
22854
|
* ```
|
|
22551
22855
|
* myCalcitePanel.scrollContentTo({
|
|
@@ -22554,6 +22858,8 @@ class Panel {
|
|
|
22554
22858
|
* behavior: "auto" // Specifies whether the scrolling should animate smoothly (smooth), or happen instantly in a single jump (auto, the default value).
|
|
22555
22859
|
* });
|
|
22556
22860
|
* ```
|
|
22861
|
+
*
|
|
22862
|
+
* @param options
|
|
22557
22863
|
*/
|
|
22558
22864
|
async scrollContentTo(options) {
|
|
22559
22865
|
var _a;
|
|
@@ -23116,7 +23422,11 @@ class PickList {
|
|
|
23116
23422
|
async getSelectedItems() {
|
|
23117
23423
|
return this.selectedValues;
|
|
23118
23424
|
}
|
|
23119
|
-
/**
|
|
23425
|
+
/**
|
|
23426
|
+
* Sets focus on the component.
|
|
23427
|
+
*
|
|
23428
|
+
* @param focusId
|
|
23429
|
+
*/
|
|
23120
23430
|
async setFocus(focusId) {
|
|
23121
23431
|
return setFocus.call(this, focusId);
|
|
23122
23432
|
}
|
|
@@ -23258,11 +23568,12 @@ class PickListItem {
|
|
|
23258
23568
|
*/
|
|
23259
23569
|
this.disableDeselect = false;
|
|
23260
23570
|
/**
|
|
23261
|
-
* @internal
|
|
23571
|
+
* @internal
|
|
23262
23572
|
*/
|
|
23263
23573
|
this.nonInteractive = false;
|
|
23264
23574
|
/**
|
|
23265
23575
|
* Determines the icon SVG symbol that will be shown. Options are circle, square, grip or null.
|
|
23576
|
+
*
|
|
23266
23577
|
* @see [ICON_TYPES](https://github.com/Esri/calcite-components/blob/master/src/components/pick-list/resources.ts#L5)
|
|
23267
23578
|
*/
|
|
23268
23579
|
this.icon = null;
|
|
@@ -23276,6 +23587,7 @@ class PickListItem {
|
|
|
23276
23587
|
this.selected = false;
|
|
23277
23588
|
/**
|
|
23278
23589
|
* Used as an accessible label (aria-label) for the "remove item" action. Only applicable if removable is true.
|
|
23590
|
+
*
|
|
23279
23591
|
* @default "Remove"
|
|
23280
23592
|
*/
|
|
23281
23593
|
this.intlRemove = TEXT$7.remove;
|
|
@@ -23347,6 +23659,8 @@ class PickListItem {
|
|
|
23347
23659
|
/**
|
|
23348
23660
|
* Used to toggle the selection state. By default this won't trigger an event.
|
|
23349
23661
|
* The first argument allows the value to be coerced, rather than swapping values.
|
|
23662
|
+
*
|
|
23663
|
+
* @param coerce
|
|
23350
23664
|
*/
|
|
23351
23665
|
async toggleSelected(coerce) {
|
|
23352
23666
|
this.selected = typeof coerce === "boolean" ? coerce : !this.selected;
|
|
@@ -23463,7 +23777,7 @@ class PopoverManager$1 {
|
|
|
23463
23777
|
this.togglePopovers = (event) => {
|
|
23464
23778
|
const composedPath = event.composedPath();
|
|
23465
23779
|
const popover = this.queryPopover(composedPath);
|
|
23466
|
-
if (popover) {
|
|
23780
|
+
if (popover && !popover.triggerDisabled) {
|
|
23467
23781
|
popover.toggle();
|
|
23468
23782
|
return;
|
|
23469
23783
|
}
|
|
@@ -23533,6 +23847,7 @@ class Popover {
|
|
|
23533
23847
|
this.autoClose = false;
|
|
23534
23848
|
/**
|
|
23535
23849
|
* Display a close button within the Popover.
|
|
23850
|
+
*
|
|
23536
23851
|
* @deprecated use dismissible instead.
|
|
23537
23852
|
*/
|
|
23538
23853
|
this.closeButton = false;
|
|
@@ -23550,6 +23865,7 @@ class Popover {
|
|
|
23550
23865
|
this.disablePointer = false;
|
|
23551
23866
|
/**
|
|
23552
23867
|
* Offset the position of the popover away from the reference element.
|
|
23868
|
+
*
|
|
23553
23869
|
* @default 6
|
|
23554
23870
|
*/
|
|
23555
23871
|
this.offsetDistance = defaultOffsetDistance;
|
|
@@ -23565,10 +23881,17 @@ class Popover {
|
|
|
23565
23881
|
this.overlayPositioning = "absolute";
|
|
23566
23882
|
/**
|
|
23567
23883
|
* Determines where the component will be positioned relative to the referenceElement.
|
|
23884
|
+
*
|
|
23568
23885
|
* @see [PopperPlacement](https://github.com/Esri/calcite-components/blob/master/src/utils/popper.ts#L25)
|
|
23569
23886
|
*/
|
|
23570
23887
|
this.placement = defaultPopoverPlacement;
|
|
23571
|
-
/**
|
|
23888
|
+
/**
|
|
23889
|
+
* Disables automatically toggling a popover when its referenceElement has been triggered. This property can be set to true to manage when a popover is open.
|
|
23890
|
+
*/
|
|
23891
|
+
this.triggerDisabled = false;
|
|
23892
|
+
/**
|
|
23893
|
+
* Text for close button.
|
|
23894
|
+
*
|
|
23572
23895
|
* @default "Close"
|
|
23573
23896
|
*/
|
|
23574
23897
|
this.intlClose = TEXT$6.close;
|
|
@@ -23690,7 +24013,11 @@ class Popover {
|
|
|
23690
24013
|
})
|
|
23691
24014
|
: this.createPopper();
|
|
23692
24015
|
}
|
|
23693
|
-
/**
|
|
24016
|
+
/**
|
|
24017
|
+
* Sets focus on the component.
|
|
24018
|
+
*
|
|
24019
|
+
* @param focusId
|
|
24020
|
+
*/
|
|
23694
24021
|
async setFocus(focusId) {
|
|
23695
24022
|
var _a;
|
|
23696
24023
|
const { closeButtonEl } = this;
|
|
@@ -23701,7 +24028,11 @@ class Popover {
|
|
|
23701
24028
|
}
|
|
23702
24029
|
(_a = this.el) === null || _a === void 0 ? void 0 : _a.focus();
|
|
23703
24030
|
}
|
|
23704
|
-
/**
|
|
24031
|
+
/**
|
|
24032
|
+
* Toggles the popover's open property.
|
|
24033
|
+
*
|
|
24034
|
+
* @param value
|
|
24035
|
+
*/
|
|
23705
24036
|
async toggle(value = !this.open) {
|
|
23706
24037
|
this.open = value;
|
|
23707
24038
|
}
|
|
@@ -23819,6 +24150,7 @@ class Popover {
|
|
|
23819
24150
|
"overlayPositioning": [1, "overlay-positioning"],
|
|
23820
24151
|
"placement": [513],
|
|
23821
24152
|
"referenceElement": [1, "reference-element"],
|
|
24153
|
+
"triggerDisabled": [516, "trigger-disabled"],
|
|
23822
24154
|
"intlClose": [1, "intl-close"],
|
|
23823
24155
|
"effectiveReferenceElement": [32],
|
|
23824
24156
|
"reposition": [64],
|
|
@@ -23827,7 +24159,7 @@ class Popover {
|
|
|
23827
24159
|
},
|
|
23828
24160
|
"$listeners$": undefined,
|
|
23829
24161
|
"$lazyBundleId$": "-",
|
|
23830
|
-
"$attrsToReflect$": [["autoClose", "auto-close"], ["closeButton", "close-button"], ["dismissible", "dismissible"], ["disableFlip", "disable-flip"], ["disablePointer", "disable-pointer"], ["offsetDistance", "offset-distance"], ["offsetSkidding", "offset-skidding"], ["open", "open"], ["placement", "placement"]]
|
|
24162
|
+
"$attrsToReflect$": [["autoClose", "auto-close"], ["closeButton", "close-button"], ["dismissible", "dismissible"], ["disableFlip", "disable-flip"], ["disablePointer", "disable-pointer"], ["offsetDistance", "offset-distance"], ["offsetSkidding", "offset-skidding"], ["open", "open"], ["placement", "placement"], ["triggerDisabled", "trigger-disabled"]]
|
|
23831
24163
|
}; }
|
|
23832
24164
|
}
|
|
23833
24165
|
|
|
@@ -23848,6 +24180,7 @@ class PopoverManager {
|
|
|
23848
24180
|
// --------------------------------------------------------------------------
|
|
23849
24181
|
/**
|
|
23850
24182
|
* CSS Selector to match reference elements for popovers. Reference elements will be identified by this selector in order to open their associated popover.
|
|
24183
|
+
*
|
|
23851
24184
|
* @default `[data-calcite-popover-reference]`
|
|
23852
24185
|
*/
|
|
23853
24186
|
this.selector = "[data-calcite-popover-reference]";
|
|
@@ -23971,6 +24304,7 @@ class RadioButton {
|
|
|
23971
24304
|
this.disabled = false;
|
|
23972
24305
|
/**
|
|
23973
24306
|
* The focused state of the radio button.
|
|
24307
|
+
*
|
|
23974
24308
|
* @internal
|
|
23975
24309
|
*/
|
|
23976
24310
|
this.focused = false;
|
|
@@ -23978,6 +24312,7 @@ class RadioButton {
|
|
|
23978
24312
|
this.hidden = false;
|
|
23979
24313
|
/**
|
|
23980
24314
|
* The hovered state of the radio button.
|
|
24315
|
+
*
|
|
23981
24316
|
* @internal
|
|
23982
24317
|
*/
|
|
23983
24318
|
this.hovered = false;
|
|
@@ -24639,11 +24974,15 @@ class Rating {
|
|
|
24639
24974
|
this.disabled = false;
|
|
24640
24975
|
/** Show average and count data summary chip (if available) */
|
|
24641
24976
|
this.showChip = false;
|
|
24642
|
-
/**
|
|
24977
|
+
/**
|
|
24978
|
+
* Localized string for "Rating" (used for aria label)
|
|
24979
|
+
*
|
|
24643
24980
|
* @default "Rating"
|
|
24644
24981
|
*/
|
|
24645
24982
|
this.intlRating = TEXT$5.rating;
|
|
24646
|
-
/**
|
|
24983
|
+
/**
|
|
24984
|
+
* Localized string for labelling each star, `${num}` in the string will be replaced by the number
|
|
24985
|
+
*
|
|
24647
24986
|
* @default "Stars: ${num}"
|
|
24648
24987
|
*/
|
|
24649
24988
|
this.intlStars = TEXT$5.stars;
|
|
@@ -24777,7 +25116,9 @@ class Scrim {
|
|
|
24777
25116
|
// Properties
|
|
24778
25117
|
//
|
|
24779
25118
|
// --------------------------------------------------------------------------
|
|
24780
|
-
/**
|
|
25119
|
+
/**
|
|
25120
|
+
* string to override English loading text
|
|
25121
|
+
*
|
|
24781
25122
|
* @default "Loading"
|
|
24782
25123
|
*/
|
|
24783
25124
|
this.intlLoading = TEXT$4.loading;
|
|
@@ -25275,6 +25616,7 @@ class ShellPanel {
|
|
|
25275
25616
|
this.widthScale = "m";
|
|
25276
25617
|
/**
|
|
25277
25618
|
* Accessible label for resize separator.
|
|
25619
|
+
*
|
|
25278
25620
|
* @default "Resize"
|
|
25279
25621
|
*/
|
|
25280
25622
|
this.intlResize = TEXT$3.resize;
|
|
@@ -25576,6 +25918,7 @@ class Slider {
|
|
|
25576
25918
|
};
|
|
25577
25919
|
/**
|
|
25578
25920
|
* Set the reference of the track Element
|
|
25921
|
+
*
|
|
25579
25922
|
* @internal
|
|
25580
25923
|
* @param node
|
|
25581
25924
|
*/
|
|
@@ -25965,6 +26308,7 @@ class Slider {
|
|
|
25965
26308
|
}
|
|
25966
26309
|
/**
|
|
25967
26310
|
* Set the prop value if changed at the component level
|
|
26311
|
+
*
|
|
25968
26312
|
* @param valueProp
|
|
25969
26313
|
* @param value
|
|
25970
26314
|
*/
|
|
@@ -25983,6 +26327,9 @@ class Slider {
|
|
|
25983
26327
|
}
|
|
25984
26328
|
/**
|
|
25985
26329
|
* If number is outside range, constrain to min or max
|
|
26330
|
+
*
|
|
26331
|
+
* @param value
|
|
26332
|
+
* @param prop
|
|
25986
26333
|
* @internal
|
|
25987
26334
|
*/
|
|
25988
26335
|
clamp(value, prop) {
|
|
@@ -25998,6 +26345,8 @@ class Slider {
|
|
|
25998
26345
|
}
|
|
25999
26346
|
/**
|
|
26000
26347
|
* Translate a pixel position to value along the range
|
|
26348
|
+
*
|
|
26349
|
+
* @param x
|
|
26001
26350
|
* @internal
|
|
26002
26351
|
*/
|
|
26003
26352
|
translate(x) {
|
|
@@ -26014,6 +26363,8 @@ class Slider {
|
|
|
26014
26363
|
}
|
|
26015
26364
|
/**
|
|
26016
26365
|
* Get closest allowed value along stepped values
|
|
26366
|
+
*
|
|
26367
|
+
* @param num
|
|
26017
26368
|
* @internal
|
|
26018
26369
|
*/
|
|
26019
26370
|
getClosestStep(num) {
|
|
@@ -26037,6 +26388,8 @@ class Slider {
|
|
|
26037
26388
|
}
|
|
26038
26389
|
/**
|
|
26039
26390
|
* Get position of value along range as fractional value
|
|
26391
|
+
*
|
|
26392
|
+
* @param num
|
|
26040
26393
|
* @return {number} number in the unit interval [0,1]
|
|
26041
26394
|
* @internal
|
|
26042
26395
|
*/
|
|
@@ -26171,6 +26524,9 @@ class Slider {
|
|
|
26171
26524
|
}
|
|
26172
26525
|
/**
|
|
26173
26526
|
* Returns an integer representing the number of pixels to offset on the left or right side based on desired position behavior.
|
|
26527
|
+
*
|
|
26528
|
+
* @param leftBounds
|
|
26529
|
+
* @param rightBounds
|
|
26174
26530
|
* @internal
|
|
26175
26531
|
*/
|
|
26176
26532
|
getHostOffset(leftBounds, rightBounds) {
|
|
@@ -26187,6 +26543,7 @@ class Slider {
|
|
|
26187
26543
|
/**
|
|
26188
26544
|
* Returns an integer representing the number of pixels that the two given span elements are overlapping, taking into account
|
|
26189
26545
|
* a space in between the two spans equal to the font-size set on them to account for the space needed to render a hyphen.
|
|
26546
|
+
*
|
|
26190
26547
|
* @param leftLabel
|
|
26191
26548
|
* @param rightLabel
|
|
26192
26549
|
*/
|
|
@@ -26199,6 +26556,7 @@ class Slider {
|
|
|
26199
26556
|
}
|
|
26200
26557
|
/**
|
|
26201
26558
|
* Returns a boolean value representing if the minLabel span element is obscured (being overlapped) by the given handle div element.
|
|
26559
|
+
*
|
|
26202
26560
|
* @param minLabel
|
|
26203
26561
|
* @param handle
|
|
26204
26562
|
*/
|
|
@@ -26209,6 +26567,7 @@ class Slider {
|
|
|
26209
26567
|
}
|
|
26210
26568
|
/**
|
|
26211
26569
|
* Returns a boolean value representing if the maxLabel span element is obscured (being overlapped) by the given handle div element.
|
|
26570
|
+
*
|
|
26212
26571
|
* @param maxLabel
|
|
26213
26572
|
* @param handle
|
|
26214
26573
|
*/
|
|
@@ -29485,13 +29844,16 @@ class SplitButton {
|
|
|
29485
29844
|
this.disabled = false;
|
|
29486
29845
|
/**
|
|
29487
29846
|
* Is the dropdown currently active or not
|
|
29847
|
+
*
|
|
29488
29848
|
* @internal
|
|
29489
29849
|
*/
|
|
29490
29850
|
this.active = false;
|
|
29491
29851
|
/** specify the icon used for the dropdown menu, defaults to chevron */
|
|
29492
29852
|
this.dropdownIconType = "chevron";
|
|
29493
|
-
/**
|
|
29494
|
-
|
|
29853
|
+
/**
|
|
29854
|
+
optionally add a calcite-loader component to the control,
|
|
29855
|
+
disabling interaction. with the primary button
|
|
29856
|
+
*/
|
|
29495
29857
|
this.loading = false;
|
|
29496
29858
|
/** Describes the type of positioning to use for the dropdown. If your element is in a fixed container, use the 'fixed' value. */
|
|
29497
29859
|
this.overlayPositioning = "absolute";
|
|
@@ -29714,7 +30076,11 @@ class Stepper {
|
|
|
29714
30076
|
}
|
|
29715
30077
|
this.emitChangedItem(enabledStepIndex);
|
|
29716
30078
|
}
|
|
29717
|
-
/**
|
|
30079
|
+
/**
|
|
30080
|
+
* set the requested step as active
|
|
30081
|
+
*
|
|
30082
|
+
* @param step
|
|
30083
|
+
*/
|
|
29718
30084
|
async goToStep(step) {
|
|
29719
30085
|
const position = step - 1;
|
|
29720
30086
|
if (this.currentPosition !== position) {
|
|
@@ -30001,7 +30367,9 @@ class Switch {
|
|
|
30001
30367
|
this.disabled = false;
|
|
30002
30368
|
/** The scale of the switch */
|
|
30003
30369
|
this.scale = "m";
|
|
30004
|
-
/**
|
|
30370
|
+
/**
|
|
30371
|
+
* True if the switch is initially on
|
|
30372
|
+
*
|
|
30005
30373
|
* @deprecated use 'checked' instead.
|
|
30006
30374
|
*/
|
|
30007
30375
|
this.switched = false;
|
|
@@ -30118,7 +30486,9 @@ class Tab {
|
|
|
30118
30486
|
* Show this tab
|
|
30119
30487
|
*/
|
|
30120
30488
|
this.active = false;
|
|
30121
|
-
/**
|
|
30489
|
+
/**
|
|
30490
|
+
* @internal
|
|
30491
|
+
*/
|
|
30122
30492
|
this.scale = "m";
|
|
30123
30493
|
this.guid = `calcite-tab-title-${guid()}`;
|
|
30124
30494
|
}
|
|
@@ -30190,6 +30560,8 @@ class Tab {
|
|
|
30190
30560
|
//
|
|
30191
30561
|
//--------------------------------------------------------------------------
|
|
30192
30562
|
/**
|
|
30563
|
+
* @param tabIds
|
|
30564
|
+
* @param titleIds
|
|
30193
30565
|
* @internal
|
|
30194
30566
|
*/
|
|
30195
30567
|
async updateAriaInfo(tabIds = [], titleIds = []) {
|
|
@@ -30224,13 +30596,21 @@ class TabNav {
|
|
|
30224
30596
|
registerInstance(this, hostRef);
|
|
30225
30597
|
this.calciteTabChange = createEvent(this, "calciteTabChange", 7);
|
|
30226
30598
|
this.calciteInternalTabChange = createEvent(this, "calciteInternalTabChange", 7);
|
|
30227
|
-
/**
|
|
30599
|
+
/**
|
|
30600
|
+
* @internal
|
|
30601
|
+
*/
|
|
30228
30602
|
this.scale = "m";
|
|
30229
|
-
/**
|
|
30603
|
+
/**
|
|
30604
|
+
* @internal
|
|
30605
|
+
*/
|
|
30230
30606
|
this.layout = "inline";
|
|
30231
|
-
/**
|
|
30607
|
+
/**
|
|
30608
|
+
* @internal
|
|
30609
|
+
*/
|
|
30232
30610
|
this.position = "below";
|
|
30233
|
-
/**
|
|
30611
|
+
/**
|
|
30612
|
+
* @internal
|
|
30613
|
+
*/
|
|
30234
30614
|
this.bordered = false;
|
|
30235
30615
|
this.animationActiveDuration = 0.3;
|
|
30236
30616
|
this.resizeObserver = createObserver();
|
|
@@ -30350,6 +30730,8 @@ class TabNav {
|
|
|
30350
30730
|
}
|
|
30351
30731
|
/**
|
|
30352
30732
|
* Check for active tabs on register and update selected
|
|
30733
|
+
*
|
|
30734
|
+
* @param e
|
|
30353
30735
|
*/
|
|
30354
30736
|
updateTabTitles(e) {
|
|
30355
30737
|
if (e.target.active) {
|
|
@@ -30445,14 +30827,16 @@ class TabTitle {
|
|
|
30445
30827
|
this.active = false;
|
|
30446
30828
|
/** Disable this tab title */
|
|
30447
30829
|
this.disabled = false;
|
|
30448
|
-
/**
|
|
30830
|
+
/**
|
|
30831
|
+
* @internal
|
|
30832
|
+
*/
|
|
30449
30833
|
this.bordered = false;
|
|
30450
30834
|
//--------------------------------------------------------------------------
|
|
30451
30835
|
//
|
|
30452
30836
|
// Private State/Props
|
|
30453
30837
|
//
|
|
30454
30838
|
//--------------------------------------------------------------------------
|
|
30455
|
-
/** watches for changing text content
|
|
30839
|
+
/** watches for changing text content */
|
|
30456
30840
|
this.mutationObserver = createObserver();
|
|
30457
30841
|
/** determine if there is slotted text for styling purposes */
|
|
30458
30842
|
this.hasText = false;
|
|
@@ -30583,6 +30967,8 @@ class TabTitle {
|
|
|
30583
30967
|
return this.tab ? this.tab : this.getTabIndex();
|
|
30584
30968
|
}
|
|
30585
30969
|
/**
|
|
30970
|
+
* @param tabIds
|
|
30971
|
+
* @param titleIds
|
|
30586
30972
|
* @internal
|
|
30587
30973
|
*/
|
|
30588
30974
|
async updateAriaInfo(tabIds = [], titleIds = []) {
|
|
@@ -30711,6 +31097,7 @@ class Tabs {
|
|
|
30711
31097
|
//
|
|
30712
31098
|
//--------------------------------------------------------------------------
|
|
30713
31099
|
/**
|
|
31100
|
+
* @param e
|
|
30714
31101
|
* @internal
|
|
30715
31102
|
*/
|
|
30716
31103
|
calciteInternalTabTitleRegister(e) {
|
|
@@ -30719,6 +31106,7 @@ class Tabs {
|
|
|
30719
31106
|
e.stopPropagation();
|
|
30720
31107
|
}
|
|
30721
31108
|
/**
|
|
31109
|
+
* @param e
|
|
30722
31110
|
* @internal
|
|
30723
31111
|
*/
|
|
30724
31112
|
calciteTabTitleUnregister(e) {
|
|
@@ -30727,6 +31115,7 @@ class Tabs {
|
|
|
30727
31115
|
e.stopPropagation();
|
|
30728
31116
|
}
|
|
30729
31117
|
/**
|
|
31118
|
+
* @param e
|
|
30730
31119
|
* @internal
|
|
30731
31120
|
*/
|
|
30732
31121
|
calciteInternalTabRegister(e) {
|
|
@@ -30735,6 +31124,7 @@ class Tabs {
|
|
|
30735
31124
|
e.stopPropagation();
|
|
30736
31125
|
}
|
|
30737
31126
|
/**
|
|
31127
|
+
* @param e
|
|
30738
31128
|
* @internal
|
|
30739
31129
|
*/
|
|
30740
31130
|
calciteTabUnregister(e) {
|
|
@@ -30836,6 +31226,7 @@ class Tile {
|
|
|
30836
31226
|
this.embed = false;
|
|
30837
31227
|
/**
|
|
30838
31228
|
* The focused state of the tile.
|
|
31229
|
+
*
|
|
30839
31230
|
* @internal
|
|
30840
31231
|
*/
|
|
30841
31232
|
this.focused = false;
|
|
@@ -31221,56 +31612,81 @@ class TimePicker {
|
|
|
31221
31612
|
// Properties
|
|
31222
31613
|
//
|
|
31223
31614
|
//--------------------------------------------------------------------------
|
|
31224
|
-
/**
|
|
31615
|
+
/**
|
|
31616
|
+
* aria-label for the hour input
|
|
31617
|
+
*
|
|
31225
31618
|
* @default "Hour"
|
|
31226
31619
|
*/
|
|
31227
31620
|
this.intlHour = TEXT$2.hour;
|
|
31228
|
-
/**
|
|
31621
|
+
/**
|
|
31622
|
+
* aria-label for the hour down button
|
|
31623
|
+
*
|
|
31229
31624
|
* @default "Decrease hour"
|
|
31230
31625
|
*/
|
|
31231
31626
|
this.intlHourDown = TEXT$2.hourDown;
|
|
31232
|
-
/**
|
|
31627
|
+
/**
|
|
31628
|
+
* aria-label for the hour up button
|
|
31629
|
+
*
|
|
31233
31630
|
* @default "Increase hour"
|
|
31234
31631
|
*/
|
|
31235
31632
|
this.intlHourUp = TEXT$2.hourUp;
|
|
31236
|
-
/**
|
|
31633
|
+
/**
|
|
31634
|
+
* aria-label for the meridiem (am/pm) input
|
|
31635
|
+
*
|
|
31237
31636
|
* @default "AM/PM"
|
|
31238
31637
|
*/
|
|
31239
31638
|
this.intlMeridiem = TEXT$2.meridiem;
|
|
31240
|
-
/**
|
|
31639
|
+
/**
|
|
31640
|
+
* aria-label for the meridiem (am/pm) down button
|
|
31641
|
+
*
|
|
31241
31642
|
* @default "Decrease AM/PM"
|
|
31242
31643
|
*/
|
|
31243
31644
|
this.intlMeridiemDown = TEXT$2.meridiemDown;
|
|
31244
|
-
/**
|
|
31645
|
+
/**
|
|
31646
|
+
* aria-label for the meridiem (am/pm) up button
|
|
31647
|
+
*
|
|
31245
31648
|
* @default "Increase AM/PM"
|
|
31246
31649
|
*/
|
|
31247
31650
|
this.intlMeridiemUp = TEXT$2.meridiemUp;
|
|
31248
|
-
/**
|
|
31651
|
+
/**
|
|
31652
|
+
* aria-label for the minute input
|
|
31653
|
+
*
|
|
31249
31654
|
* @default "Minute"
|
|
31250
31655
|
*/
|
|
31251
31656
|
this.intlMinute = TEXT$2.minute;
|
|
31252
|
-
/**
|
|
31657
|
+
/**
|
|
31658
|
+
* aria-label for the minute down button
|
|
31659
|
+
*
|
|
31253
31660
|
* @default "Decrease minute"
|
|
31254
31661
|
*/
|
|
31255
31662
|
this.intlMinuteDown = TEXT$2.minuteDown;
|
|
31256
|
-
/**
|
|
31663
|
+
/**
|
|
31664
|
+
* aria-label for the minute up button
|
|
31665
|
+
*
|
|
31257
31666
|
* @default "Increase minute"
|
|
31258
31667
|
*/
|
|
31259
31668
|
this.intlMinuteUp = TEXT$2.minuteUp;
|
|
31260
|
-
/**
|
|
31669
|
+
/**
|
|
31670
|
+
* aria-label for the second input
|
|
31671
|
+
*
|
|
31261
31672
|
* @default "Second"
|
|
31262
31673
|
*/
|
|
31263
31674
|
this.intlSecond = TEXT$2.second;
|
|
31264
|
-
/**
|
|
31675
|
+
/**
|
|
31676
|
+
* aria-label for the second down button
|
|
31677
|
+
*
|
|
31265
31678
|
* @default "Decrease second"
|
|
31266
31679
|
*/
|
|
31267
31680
|
this.intlSecondDown = TEXT$2.secondDown;
|
|
31268
|
-
/**
|
|
31681
|
+
/**
|
|
31682
|
+
* aria-label for the second up button
|
|
31683
|
+
*
|
|
31269
31684
|
* @default "Increase second"
|
|
31270
31685
|
*/
|
|
31271
31686
|
this.intlSecondUp = TEXT$2.secondUp;
|
|
31272
31687
|
/**
|
|
31273
31688
|
* BCP 47 language tag for desired language and country format
|
|
31689
|
+
*
|
|
31274
31690
|
* @internal
|
|
31275
31691
|
*/
|
|
31276
31692
|
this.locale = document.documentElement.lang || navigator.language || "en";
|
|
@@ -31683,7 +32099,11 @@ class TimePicker {
|
|
|
31683
32099
|
// Public Methods
|
|
31684
32100
|
//
|
|
31685
32101
|
//--------------------------------------------------------------------------
|
|
31686
|
-
/**
|
|
32102
|
+
/**
|
|
32103
|
+
* Sets focus on the component.
|
|
32104
|
+
*
|
|
32105
|
+
* @param target
|
|
32106
|
+
*/
|
|
31687
32107
|
async setFocus(target) {
|
|
31688
32108
|
var _a;
|
|
31689
32109
|
(_a = this[`${target || "hour"}El`]) === null || _a === void 0 ? void 0 : _a.focus();
|
|
@@ -32352,6 +32772,7 @@ class Tooltip {
|
|
|
32352
32772
|
registerInstance(this, hostRef);
|
|
32353
32773
|
/**
|
|
32354
32774
|
* Offset the position of the tooltip away from the reference element.
|
|
32775
|
+
*
|
|
32355
32776
|
* @default 6
|
|
32356
32777
|
*/
|
|
32357
32778
|
this.offsetDistance = defaultOffsetDistance;
|
|
@@ -32367,6 +32788,7 @@ class Tooltip {
|
|
|
32367
32788
|
this.overlayPositioning = "absolute";
|
|
32368
32789
|
/**
|
|
32369
32790
|
* Determines where the component will be positioned relative to the referenceElement.
|
|
32791
|
+
*
|
|
32370
32792
|
* @see [PopperPlacement](https://github.com/Esri/calcite-components/blob/master/src/utils/popper.ts#L25)
|
|
32371
32793
|
*/
|
|
32372
32794
|
this.placement = "auto";
|
|
@@ -32563,6 +32985,7 @@ class TooltipManager {
|
|
|
32563
32985
|
// --------------------------------------------------------------------------
|
|
32564
32986
|
/**
|
|
32565
32987
|
* CSS Selector to match reference elements for tooltips. Reference elements will be identified by this selector in order to open their associated tooltip.
|
|
32988
|
+
*
|
|
32566
32989
|
* @default `[data-calcite-tooltip-reference]`
|
|
32567
32990
|
*/
|
|
32568
32991
|
this.selector = "[data-calcite-tooltip-reference]";
|
|
@@ -32613,13 +33036,17 @@ class Tree {
|
|
|
32613
33036
|
//--------------------------------------------------------------------------
|
|
32614
33037
|
/** Display indentation guide lines. */
|
|
32615
33038
|
this.lines = false;
|
|
32616
|
-
/**
|
|
33039
|
+
/**
|
|
33040
|
+
* Display input
|
|
33041
|
+
*
|
|
32617
33042
|
* @deprecated Use "ancestors" selection-mode for checkbox input.
|
|
32618
33043
|
*/
|
|
32619
33044
|
this.inputEnabled = false;
|
|
32620
33045
|
/** Specify the scale of the tree. */
|
|
32621
33046
|
this.scale = "m";
|
|
32622
|
-
/**
|
|
33047
|
+
/**
|
|
33048
|
+
* Customize how tree selection works.
|
|
33049
|
+
*
|
|
32623
33050
|
* @default "single"
|
|
32624
33051
|
* @see [TreeSelectionMode](https://github.com/Esri/calcite-components/blob/master/src/components/tree/interfaces.ts#L5)
|
|
32625
33052
|
*/
|
|
@@ -32894,11 +33321,17 @@ class TreeItem {
|
|
|
32894
33321
|
this.selected = false;
|
|
32895
33322
|
/** Expanded state of the item. */
|
|
32896
33323
|
this.expanded = false;
|
|
32897
|
-
/**
|
|
33324
|
+
/**
|
|
33325
|
+
* @internal
|
|
33326
|
+
*/
|
|
32898
33327
|
this.parentExpanded = false;
|
|
32899
|
-
/**
|
|
33328
|
+
/**
|
|
33329
|
+
* @internal
|
|
33330
|
+
*/
|
|
32900
33331
|
this.depth = -1;
|
|
32901
|
-
/**
|
|
33332
|
+
/**
|
|
33333
|
+
* @internal
|
|
33334
|
+
*/
|
|
32902
33335
|
this.hasChildren = null;
|
|
32903
33336
|
this.iconClickHandler = (event) => {
|
|
32904
33337
|
event.stopPropagation();
|
|
@@ -33284,7 +33717,11 @@ class ValueList {
|
|
|
33284
33717
|
async getSelectedItems() {
|
|
33285
33718
|
return this.selectedValues;
|
|
33286
33719
|
}
|
|
33287
|
-
/**
|
|
33720
|
+
/**
|
|
33721
|
+
* Sets focus on the component.
|
|
33722
|
+
*
|
|
33723
|
+
* @param focusId
|
|
33724
|
+
*/
|
|
33288
33725
|
async setFocus(focusId) {
|
|
33289
33726
|
return setFocus.call(this, focusId);
|
|
33290
33727
|
}
|
|
@@ -33351,7 +33788,7 @@ class ValueListItem {
|
|
|
33351
33788
|
*/
|
|
33352
33789
|
this.disabled = false;
|
|
33353
33790
|
/**
|
|
33354
|
-
* @internal
|
|
33791
|
+
* @internal
|
|
33355
33792
|
*/
|
|
33356
33793
|
this.disableDeselect = false;
|
|
33357
33794
|
/**
|
|
@@ -33359,11 +33796,12 @@ class ValueListItem {
|
|
|
33359
33796
|
*/
|
|
33360
33797
|
this.nonInteractive = false;
|
|
33361
33798
|
/**
|
|
33362
|
-
* @internal
|
|
33799
|
+
* @internal
|
|
33363
33800
|
*/
|
|
33364
33801
|
this.handleActivated = false;
|
|
33365
33802
|
/**
|
|
33366
33803
|
* Determines the icon SVG symbol that will be shown. Options are circle, square, grip or null.
|
|
33804
|
+
*
|
|
33367
33805
|
* @see [ICON_TYPES](https://github.com/Esri/calcite-components/blob/master/src/components/pick-list/resources.ts#L5)
|
|
33368
33806
|
*/
|
|
33369
33807
|
this.icon = null;
|
|
@@ -33417,6 +33855,8 @@ class ValueListItem {
|
|
|
33417
33855
|
/**
|
|
33418
33856
|
* Toggle the selection state. By default this won't trigger an event.
|
|
33419
33857
|
* The first argument allows the value to be coerced, rather than swapping values.
|
|
33858
|
+
*
|
|
33859
|
+
* @param coerce
|
|
33420
33860
|
*/
|
|
33421
33861
|
async toggleSelected(coerce) {
|
|
33422
33862
|
this.pickListItem.toggleSelected(coerce);
|