@esri/calcite-components 1.0.0-next.464 → 1.0.0-next.467
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/assets/date-picker/nls/ru.json +4 -4
- 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-001fdb3f.system.entry.js +6 -0
- package/dist/calcite/{p-edf1d1d6.entry.js → p-00cdff3e.entry.js} +2 -2
- package/dist/calcite/{p-3574110a.entry.js → p-00d30d3a.entry.js} +2 -2
- package/dist/calcite/{p-c1d349fb.system.js → p-0256661f.system.js} +1 -1
- package/dist/calcite/{p-7a27ed8a.system.js → p-03fced34.system.js} +2 -2
- package/dist/calcite/{p-4d55e334.js → p-066fcf54.js} +2 -2
- package/dist/calcite/{p-9d7e6385.entry.js → p-06da5c54.entry.js} +2 -2
- package/dist/calcite/p-072353af.system.entry.js +6 -0
- package/dist/calcite/{p-93482c63.entry.js → p-09784bd2.entry.js} +2 -2
- package/dist/calcite/{p-e79663e4.system.entry.js → p-0ac794a1.system.entry.js} +2 -2
- package/dist/calcite/{p-554049e6.system.entry.js → p-0d34c41f.system.entry.js} +2 -2
- package/dist/calcite/{p-125f03f8.system.js → p-0ee63285.system.js} +1 -1
- package/dist/calcite/p-0f993f04.system.entry.js +6 -0
- package/dist/calcite/{p-7962ee4a.system.entry.js → p-10492d4d.system.entry.js} +2 -2
- package/dist/calcite/{p-f39998bd.system.entry.js → p-106dc107.system.entry.js} +2 -2
- package/dist/calcite/{p-1abc0661.entry.js → p-11326d34.entry.js} +2 -2
- package/dist/calcite/{p-34c422d1.entry.js → p-12694663.entry.js} +2 -2
- package/dist/calcite/{p-a32153dc.entry.js → p-129682d0.entry.js} +2 -2
- package/dist/calcite/{p-2d9c5035.js → p-13534763.js} +1 -1
- package/dist/calcite/{p-759a8b8f.entry.js → p-14298e61.entry.js} +2 -2
- package/dist/calcite/{p-d0a514cc.system.entry.js → p-15f40818.system.entry.js} +2 -2
- package/dist/calcite/{p-26848d8c.entry.js → p-1703676a.entry.js} +2 -2
- package/dist/calcite/{p-2a7ea441.entry.js → p-18260e13.entry.js} +2 -2
- package/dist/calcite/{p-97846b5b.entry.js → p-18e16502.entry.js} +2 -2
- package/dist/calcite/{p-50d9115f.system.entry.js → p-190f261e.system.entry.js} +2 -2
- package/dist/calcite/{p-70932301.entry.js → p-191c5d07.entry.js} +2 -2
- package/dist/calcite/{p-73fce09c.entry.js → p-194d241f.entry.js} +2 -2
- package/dist/calcite/{p-5ac02e5e.js → p-19d181a3.js} +1 -1
- package/dist/calcite/{p-1ec74a30.entry.js → p-1aaa2315.entry.js} +2 -2
- package/dist/calcite/{p-e9661f8e.system.entry.js → p-1b034e67.system.entry.js} +2 -2
- package/dist/calcite/p-2052a80a.entry.js +6 -0
- package/dist/calcite/{p-4f115393.system.entry.js → p-20a71b1a.system.entry.js} +3 -3
- package/dist/calcite/p-289203ab.system.entry.js +6 -0
- package/dist/calcite/{p-990b5578.js → p-28c770f7.js} +1 -1
- package/dist/calcite/{p-ef4ebea8.system.js → p-29784091.system.js} +1 -1
- package/dist/calcite/{p-244b9388.system.js → p-2a243976.system.js} +1 -1
- package/dist/calcite/p-2aceca62.entry.js +6 -0
- package/dist/calcite/{p-79934fcb.system.js → p-2b50ce0b.system.js} +1 -1
- package/dist/calcite/{p-75783a86.js → p-2b62b2dc.js} +1 -1
- package/dist/calcite/{p-d47df039.entry.js → p-2cb438cf.entry.js} +2 -2
- package/dist/calcite/p-2cf5e98b.entry.js +6 -0
- package/dist/calcite/{p-2ea4d9c2.system.entry.js → p-2df4a83c.system.entry.js} +2 -2
- package/dist/calcite/{p-22437b2f.system.entry.js → p-32513ff0.system.entry.js} +2 -2
- package/dist/calcite/p-32ac62b6.entry.js +6 -0
- package/dist/calcite/{p-bd530f1d.entry.js → p-34e8449d.entry.js} +2 -2
- package/dist/calcite/p-3638698f.entry.js +6 -0
- package/dist/calcite/{p-dcb4f1b7.system.entry.js → p-373f9743.system.entry.js} +2 -2
- package/dist/calcite/p-386ae9b8.entry.js +6 -0
- package/dist/calcite/{p-b6789eb0.system.js → p-3984fbb5.system.js} +2 -2
- package/dist/calcite/{p-93eb488c.js → p-3d2114ef.js} +1 -1
- package/dist/calcite/{p-579eb4dd.system.entry.js → p-3d448dd1.system.entry.js} +2 -2
- package/dist/calcite/p-3da93e1b.entry.js +6 -0
- package/dist/calcite/{p-31264ee9.system.entry.js → p-42553683.system.entry.js} +2 -2
- package/dist/calcite/{p-bfda16a7.system.js → p-4591cb4c.system.js} +2 -2
- package/dist/calcite/p-46fd3ee5.entry.js +6 -0
- package/dist/calcite/{p-cf3863ea.system.js → p-49275ca4.system.js} +1 -1
- package/dist/calcite/{p-ae85866a.entry.js → p-499d43a9.entry.js} +2 -2
- package/dist/calcite/{p-cc8c8358.entry.js → p-4a0d21e7.entry.js} +2 -2
- package/dist/calcite/{p-463f3d91.entry.js → p-4c03947d.entry.js} +2 -2
- package/dist/calcite/{p-fc39c8fc.entry.js → p-4c938578.entry.js} +2 -2
- package/dist/calcite/{p-69933390.system.js → p-4f478285.system.js} +1 -1
- package/dist/calcite/p-502d6a6c.entry.js +6 -0
- package/dist/calcite/{p-d228c759.system.entry.js → p-510c0543.system.entry.js} +2 -2
- package/dist/calcite/{p-4a914a25.system.entry.js → p-5151ba82.system.entry.js} +3 -3
- package/dist/calcite/{p-8cd21d33.entry.js → p-530cea0b.entry.js} +2 -2
- package/dist/calcite/p-54b3c575.js +6 -0
- package/dist/calcite/{p-701eaf25.entry.js → p-55df886d.entry.js} +2 -2
- package/dist/calcite/p-568b6ad6.system.entry.js +6 -0
- package/dist/calcite/{p-2a5b5cb1.system.entry.js → p-57a33de3.system.entry.js} +2 -2
- package/dist/calcite/{p-d6d4a0e5.system.entry.js → p-58226dd8.system.entry.js} +2 -2
- package/dist/calcite/{p-a9336637.entry.js → p-58a1b48b.entry.js} +2 -2
- package/dist/calcite/{p-39955394.system.js → p-59674545.system.js} +1 -1
- package/dist/calcite/{p-5b1ad494.entry.js → p-5e2d8800.entry.js} +2 -2
- package/dist/calcite/{p-871f717c.entry.js → p-602952a8.entry.js} +2 -2
- package/dist/calcite/{p-8bb081ed.js → p-6350f75f.js} +1 -1
- package/dist/calcite/{p-1f7e9d80.system.js → p-636863c0.system.js} +1 -1
- package/dist/calcite/p-640e0448.system.entry.js +6 -0
- package/dist/calcite/p-641a4dbb.system.js +6 -0
- package/dist/calcite/{p-20018e14.js → p-649ef399.js} +2 -2
- package/dist/calcite/{p-27813e18.system.entry.js → p-650586dd.system.entry.js} +2 -2
- package/dist/calcite/{p-a0bfe758.system.entry.js → p-655020f7.system.entry.js} +2 -2
- package/dist/calcite/{p-a84cef19.system.entry.js → p-6691e32e.system.entry.js} +2 -2
- package/dist/calcite/p-68f6d5d1.system.entry.js +6 -0
- package/dist/calcite/p-6946345e.entry.js +6 -0
- package/dist/calcite/p-6960f642.entry.js +6 -0
- package/dist/calcite/p-6be359ff.system.entry.js +6 -0
- package/dist/calcite/{p-8798d024.js → p-6cf37ad9.js} +2 -2
- package/dist/calcite/{p-47af97a5.js → p-6d0de3c2.js} +1 -1
- package/dist/calcite/{p-a82d50dd.js → p-6ecedada.js} +2 -2
- package/dist/calcite/p-6ef36061.js +6 -0
- package/dist/calcite/{p-d52265e0.system.entry.js → p-77a5ba39.system.entry.js} +2 -2
- package/dist/calcite/p-780edd99.system.entry.js +6 -0
- package/dist/calcite/{p-ca93b4f6.entry.js → p-7b4f3225.entry.js} +2 -2
- package/dist/calcite/{p-696fba1e.js → p-7bfd4b4f.js} +2 -2
- package/dist/calcite/p-7d6d07f7.system.entry.js +6 -0
- package/dist/calcite/{p-669ceba9.system.entry.js → p-81d0552f.system.entry.js} +2 -2
- package/dist/calcite/{p-5b31a833.system.entry.js → p-81d350c5.system.entry.js} +2 -2
- package/dist/calcite/{p-3112ff36.entry.js → p-85d43378.entry.js} +2 -2
- package/dist/calcite/{p-c32e6eeb.system.entry.js → p-865221e0.system.entry.js} +2 -2
- package/dist/calcite/{p-d3cc6dbd.entry.js → p-8a5374a7.entry.js} +2 -2
- package/dist/calcite/{p-aee4341a.system.entry.js → p-8b49459d.system.entry.js} +2 -2
- package/dist/calcite/{p-0d6735b5.system.entry.js → p-8c6a2f82.system.entry.js} +2 -2
- package/dist/calcite/{p-5532199b.entry.js → p-8ca924c8.entry.js} +2 -2
- package/dist/calcite/{p-9eddc595.system.js → p-8cd0c26d.system.js} +2 -2
- package/dist/calcite/{p-1ad53ca4.entry.js → p-8cf041c2.entry.js} +2 -2
- package/dist/calcite/{p-b0ff427b.system.js → p-8d17f037.system.js} +2 -2
- package/dist/calcite/p-8fc2c1bf.entry.js +6 -0
- package/dist/calcite/p-908d6fc9.entry.js +6 -0
- package/dist/calcite/p-94ded1e1.system.entry.js +6 -0
- package/dist/calcite/p-98aab39c.system.entry.js +6 -0
- package/dist/calcite/{p-e1573e68.js → p-9aa3fe60.js} +2 -2
- package/dist/calcite/{p-2d96975c.entry.js → p-9bb2c8f2.entry.js} +2 -2
- package/dist/calcite/p-9c955932.entry.js +6 -0
- package/dist/calcite/{p-1394a98e.entry.js → p-9da56107.entry.js} +2 -2
- package/dist/calcite/{p-3e407416.system.entry.js → p-9e128dd0.system.entry.js} +2 -2
- package/dist/calcite/{p-9d5c2148.js → p-9e2c5494.js} +1 -1
- package/dist/calcite/{p-defc7f08.system.entry.js → p-a1f9412e.system.entry.js} +2 -2
- package/dist/calcite/{p-2eb354df.system.js → p-a28add23.system.js} +1 -1
- package/dist/calcite/{p-15043636.system.entry.js → p-a2d392f0.system.entry.js} +2 -2
- package/dist/calcite/{p-1909b8e2.entry.js → p-a4010dce.entry.js} +2 -2
- package/dist/calcite/p-a57dd0ce.entry.js +6 -0
- package/dist/calcite/{p-5d555d40.system.js → p-ac2a797a.system.js} +1 -1
- package/dist/calcite/{p-86a919ae.system.js → p-ad6d0e2d.system.js} +1 -1
- package/dist/calcite/{p-68740877.system.js → p-adbb8649.system.js} +1 -1
- package/dist/calcite/p-ae1fa72c.entry.js +6 -0
- package/dist/calcite/p-af43b4d7.js +6 -0
- package/dist/calcite/{p-9eba200f.entry.js → p-af83867c.entry.js} +2 -2
- package/dist/calcite/{p-c0d5a76d.entry.js → p-afec1dc0.entry.js} +2 -2
- package/dist/calcite/{p-7bcf7f41.system.entry.js → p-aff3968d.system.entry.js} +2 -2
- package/dist/calcite/{p-dc6ec892.system.entry.js → p-b030dd60.system.entry.js} +2 -2
- package/dist/calcite/{p-e7f3a9ba.system.entry.js → p-b0b330e3.system.entry.js} +2 -2
- package/dist/calcite/{p-ab28b1fd.system.entry.js → p-b11be6c9.system.entry.js} +3 -3
- package/dist/calcite/{p-2e2e4c4f.js → p-b1c9025a.js} +1 -1
- package/dist/calcite/{p-a52600b2.system.entry.js → p-b6015544.system.entry.js} +3 -3
- package/dist/calcite/p-b6559e34.entry.js +6 -0
- package/dist/calcite/p-ba3c0050.system.entry.js +6 -0
- package/dist/calcite/{p-5312d940.system.entry.js → p-baab4ef2.system.entry.js} +2 -2
- package/dist/calcite/{p-e71e948a.entry.js → p-bb25c739.entry.js} +2 -2
- package/dist/calcite/{p-6558d88c.system.js → p-bd47305c.system.js} +2 -2
- package/dist/calcite/{p-d20f13dd.system.entry.js → p-c03a1a87.system.entry.js} +2 -2
- package/dist/calcite/{p-d556fb32.system.entry.js → p-c0d3e555.system.entry.js} +2 -2
- package/dist/calcite/{p-9dfb3d89.entry.js → p-c0e0a37e.entry.js} +2 -2
- package/dist/calcite/{p-efd81171.entry.js → p-c50d06fe.entry.js} +2 -2
- package/dist/calcite/{p-81bc5338.js → p-c6175b47.js} +2 -2
- package/dist/calcite/{p-3143aaae.system.js → p-c68469b1.system.js} +2 -2
- package/dist/calcite/{p-27a07bd5.system.entry.js → p-c69edfcb.system.entry.js} +2 -2
- package/dist/calcite/{p-13d9f64b.system.js → p-ca6fa431.system.js} +1 -1
- package/dist/calcite/{p-32702123.system.entry.js → p-d0105ccd.system.entry.js} +2 -2
- package/dist/calcite/{p-5a0ce8d9.system.js → p-d507c807.system.js} +2 -2
- package/dist/calcite/{p-916c131d.system.entry.js → p-d635e920.system.entry.js} +2 -2
- package/dist/calcite/p-d6bc58f2.entry.js +6 -0
- package/dist/calcite/{p-f362f361.js → p-d93b9102.js} +1 -1
- package/dist/calcite/{p-885e7357.system.js → p-d9c43317.system.js} +2 -2
- package/dist/calcite/p-da678d4d.entry.js +6 -0
- package/dist/calcite/p-de749a6c.system.js +6 -0
- package/dist/calcite/{p-43b05946.system.entry.js → p-df423beb.system.entry.js} +2 -2
- package/dist/calcite/{p-b7fb8ef6.system.js → p-e4958881.system.js} +2 -2
- package/dist/calcite/{p-698adce1.js → p-e569b4b7.js} +1 -1
- package/dist/calcite/{p-517461d4.system.entry.js → p-ec08d877.system.entry.js} +2 -2
- package/dist/calcite/{p-a96b81eb.js → p-efb9d9d7.js} +1 -1
- package/dist/calcite/{p-5d421e57.system.entry.js → p-efc69451.system.entry.js} +2 -2
- package/dist/calcite/{p-63bca189.js → p-f5873bdb.js} +1 -1
- package/dist/calcite/{p-d486b73b.js → p-f6612a3d.js} +2 -2
- package/dist/calcite/{p-2cf03381.system.entry.js → p-fbc205cc.system.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-ed0e6137.js → ExpandToggle-e1f9c2d2.js} +5 -5
- package/dist/cjs/{Heading-5026b1f6.js → Heading-e2033839.js} +2 -2
- package/dist/cjs/{array-7739be65.js → array-44017d81.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +18 -14
- package/dist/cjs/calcite-action-bar.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-pad.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action.cjs.entry.js +6 -6
- package/dist/cjs/calcite-alert.cjs.entry.js +13 -12
- package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
- package/dist/cjs/calcite-block_2.cjs.entry.js +10 -8
- package/dist/cjs/calcite-button.cjs.entry.js +8 -8
- package/dist/cjs/calcite-card.cjs.entry.js +6 -6
- package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -7
- package/dist/cjs/calcite-chip.cjs.entry.js +6 -6
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +20 -18
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +20 -17
- package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
- package/dist/cjs/calcite-filter.cjs.entry.js +7 -7
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-handle.cjs.entry.js +4 -4
- package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +20 -18
- package/dist/cjs/calcite-input.cjs.entry.js +15 -15
- package/dist/cjs/calcite-label.cjs.entry.js +5 -5
- package/dist/cjs/calcite-link.cjs.entry.js +5 -5
- package/dist/cjs/calcite-list_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-loader.cjs.entry.js +9 -9
- package/dist/cjs/calcite-modal.cjs.entry.js +6 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
- package/dist/cjs/calcite-option_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-pagination.cjs.entry.js +2 -2
- package/dist/cjs/calcite-panel.cjs.entry.js +9 -9
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +21 -20
- package/dist/cjs/calcite-popover_2.cjs.entry.js +19 -8
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -8
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-rating.cjs.entry.js +7 -7
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +29 -30
- package/dist/cjs/calcite-switch.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tab_4.cjs.entry.js +20 -18
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tip_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tree_2.cjs.entry.js +11 -10
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +15 -14
- package/dist/cjs/calcite.cjs.js +4 -4
- package/dist/cjs/{conditionalSlot-a1ce2c50.js → conditionalSlot-3860f20e.js} +3 -3
- package/dist/cjs/{debounce-b57b4366.js → debounce-ec7ac114.js} +1 -1
- package/dist/cjs/{dom-8563ad97.js → dom-86455a62.js} +2 -2
- package/dist/cjs/{forIn-8b9a52b1.js → forIn-e3e96aa6.js} +2 -2
- package/dist/cjs/{form-ff578dd7.js → form-ef43b187.js} +3 -3
- package/dist/cjs/{guid-bbfbacf8.js → guid-99abe7a5.js} +1 -1
- package/dist/cjs/{index-9ad3f4ec.js → index-cea6fcaf.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-274cf120.js → interactive-0a852e0a.js} +1 -1
- package/dist/cjs/{interfaces-e6abfe6b.js → interfaces-3b2adc71.js} +1 -1
- package/dist/cjs/{label-7caeb189.js → label-4e028c63.js} +2 -2
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{locale-b79cfca1.js → locale-2e1d94eb.js} +2 -2
- package/dist/cjs/{math-2c9fced1.js → math-6cd8136f.js} +1 -1
- package/dist/cjs/{number-e039884b.js → number-e8c2b3e2.js} +1 -1
- package/dist/cjs/{observers-73fbf3b3.js → observers-b44e2827.js} +1 -1
- package/dist/cjs/{popper-a32c2309.js → popper-17d7458a.js} +2 -2
- package/dist/cjs/{resources-cb8d7cc3.js → resources-57544287.js} +1 -1
- package/dist/cjs/{resources-948002c1.js → resources-747c1532.js} +3 -3
- package/dist/cjs/{resources-b052215f.js → resources-c31fb2bc.js} +1 -1
- package/dist/cjs/{resources-955a0bcc.js → resources-df0af040.js} +8 -8
- package/dist/cjs/{sortable.esm-3507f48e.js → sortable.esm-7e34b3c5.js} +1 -1
- package/dist/cjs/{utils-3cace99b.js → utils-33434d80.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/accordion/accordion.js +12 -9
- package/dist/collection/components/accordion/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +14 -13
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +13 -12
- package/dist/collection/components/alert/interfaces.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +11 -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 +1 -1
- package/dist/collection/components/button/interfaces.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/interfaces.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-picker/interfaces.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +3 -3
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.js +1 -1
- package/dist/collection/components/combobox/interfaces.js +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/assets/date-picker/nls/ru.json +4 -4
- package/dist/collection/components/date-picker/date-picker.js +3 -2
- package/dist/collection/components/date-picker/interfaces.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +4 -4
- package/dist/collection/components/date-picker-month/date-picker-month.js +10 -9
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +9 -7
- 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 -5
- 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 +12 -11
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/interfaces.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.css +1 -0
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/interfaces.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +5 -5
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +7 -7
- 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 +9 -9
- 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 +11 -7
- package/dist/collection/components/interfaces.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +5 -5
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +8 -8
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +4 -4
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.css +3 -3
- package/dist/collection/components/loader/loader.js +16 -16
- package/dist/collection/components/modal/interfaces.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +5 -5
- package/dist/collection/components/option-group/option-group.js +4 -4
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +10 -9
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +3 -3
- 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 +9 -9
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +13 -2
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/popover-manager/popover-manager.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/radio-group/interfaces.js +1 -1
- package/dist/collection/components/radio-group/radio-group.js +3 -3
- package/dist/collection/components/radio-group-item/radio-group-item.js +4 -4
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/rating/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +3 -3
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stepper/interfaces.js +1 -1
- package/dist/collection/components/stepper/stepper.js +22 -24
- package/dist/collection/components/stepper-item/stepper-item.css +1 -0
- package/dist/collection/components/stepper-item/stepper-item.js +12 -11
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/interfaces.js +1 -1
- package/dist/collection/components/tab/tab.js +5 -4
- package/dist/collection/components/tab-nav/tab-nav.js +5 -4
- package/dist/collection/components/tab-title/tab-title.js +12 -12
- 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 +7 -7
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/interfaces.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/interfaces.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +11 -11
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
- package/dist/collection/components/tree/interfaces.js +1 -1
- package/dist/collection/components/tree/tree.js +3 -2
- 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 +6 -6
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/value-list.js +10 -9
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/popper.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/calcite-accordion-item.js +10 -9
- package/dist/components/calcite-accordion.js +8 -5
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +10 -9
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +3 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +4 -4
- package/dist/components/calcite-dropdown-item.js +9 -8
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +4 -4
- package/dist/components/calcite-input-date-picker.js +7 -7
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-time-picker.js +7 -5
- 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 +2 -2
- package/dist/components/calcite-list.js +2 -2
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +3 -3
- package/dist/components/calcite-option.js +4 -4
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +7 -6
- package/dist/components/calcite-popover-manager.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-radio-group-item.js +3 -3
- package/dist/components/calcite-radio-group.js +3 -3
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +2 -2
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +10 -9
- package/dist/components/calcite-stepper.js +18 -20
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip-manager.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +5 -5
- package/dist/components/calcite-tree.js +3 -2
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +7 -6
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +3 -3
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +3 -3
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +8 -7
- package/dist/components/date-picker.js +3 -2
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +6 -4
- package/dist/components/filter.js +1 -1
- package/dist/components/forIn.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +2 -2
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +5 -5
- package/dist/components/interactive.js +1 -1
- package/dist/components/interfaces.js +1 -1
- package/dist/components/interfaces2.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loader.js +7 -7
- 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 +7 -7
- package/dist/components/popover.js +13 -2
- package/dist/components/popper.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +4 -4
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/tab-nav.js +3 -2
- package/dist/components/tab-title.js +9 -9
- package/dist/components/tab.js +4 -3
- package/dist/components/tabs.js +4 -4
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +8 -8
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/custom-elements/index.js +180 -151
- package/dist/esm/{ExpandToggle-791d306b.js → ExpandToggle-b96edd5e.js} +5 -5
- package/dist/esm/{Heading-b4e2ed84.js → Heading-1837a52c.js} +2 -2
- package/dist/esm/{array-c3d1a08d.js → array-321957e6.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +18 -14
- package/dist/esm/calcite-action-bar.entry.js +10 -10
- package/dist/esm/calcite-action-group.entry.js +8 -8
- package/dist/esm/calcite-action-menu.entry.js +8 -8
- package/dist/esm/calcite-action-pad.entry.js +9 -9
- package/dist/esm/calcite-action.entry.js +6 -6
- package/dist/esm/calcite-alert.entry.js +13 -12
- package/dist/esm/calcite-avatar.entry.js +5 -5
- package/dist/esm/calcite-block_2.entry.js +10 -8
- package/dist/esm/calcite-button.entry.js +8 -8
- package/dist/esm/calcite-card.entry.js +6 -6
- package/dist/esm/calcite-checkbox.entry.js +7 -7
- package/dist/esm/calcite-chip.entry.js +6 -6
- package/dist/esm/calcite-color-picker_3.entry.js +10 -10
- package/dist/esm/calcite-combobox_3.entry.js +12 -12
- package/dist/esm/calcite-date-picker_4.entry.js +20 -18
- package/dist/esm/calcite-dropdown_3.entry.js +20 -17
- package/dist/esm/calcite-fab.entry.js +5 -5
- package/dist/esm/calcite-filter.entry.js +7 -7
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +10 -10
- package/dist/esm/calcite-handle.entry.js +4 -4
- package/dist/esm/calcite-icon.entry.js +5 -5
- package/dist/esm/calcite-inline-editable.entry.js +9 -9
- package/dist/esm/calcite-input-date-picker.entry.js +17 -17
- package/dist/esm/calcite-input-message.entry.js +4 -4
- package/dist/esm/calcite-input-time-picker_2.entry.js +20 -18
- package/dist/esm/calcite-input.entry.js +15 -15
- package/dist/esm/calcite-label.entry.js +5 -5
- package/dist/esm/calcite-link.entry.js +5 -5
- package/dist/esm/calcite-list_3.entry.js +10 -10
- package/dist/esm/calcite-loader.entry.js +9 -9
- package/dist/esm/calcite-modal.entry.js +6 -6
- package/dist/esm/calcite-notice.entry.js +7 -7
- package/dist/esm/calcite-option_3.entry.js +13 -13
- package/dist/esm/calcite-pagination.entry.js +2 -2
- package/dist/esm/calcite-panel.entry.js +9 -9
- package/dist/esm/calcite-pick-list_3.entry.js +21 -20
- package/dist/esm/calcite-popover_2.entry.js +19 -8
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +3 -3
- package/dist/esm/calcite-radio-button.entry.js +8 -8
- package/dist/esm/calcite-radio-group_2.entry.js +10 -10
- package/dist/esm/calcite-rating.entry.js +7 -7
- package/dist/esm/calcite-scrim.entry.js +2 -2
- package/dist/esm/calcite-shell_3.entry.js +7 -7
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +3 -3
- package/dist/esm/calcite-stepper_2.entry.js +29 -30
- package/dist/esm/calcite-switch.entry.js +7 -7
- package/dist/esm/calcite-tab_4.entry.js +20 -18
- package/dist/esm/calcite-tile-select_2.entry.js +4 -4
- package/dist/esm/calcite-tile.entry.js +7 -7
- package/dist/esm/calcite-tip_3.entry.js +7 -7
- package/dist/esm/calcite-tooltip_2.entry.js +5 -5
- package/dist/esm/calcite-tree_2.entry.js +11 -10
- package/dist/esm/calcite-value-list_2.entry.js +15 -14
- package/dist/esm/calcite.js +4 -4
- package/dist/esm/{conditionalSlot-4f7a799a.js → conditionalSlot-3c00e7fe.js} +3 -3
- package/dist/esm/{debounce-4ee433e8.js → debounce-df0a6aea.js} +1 -1
- package/dist/esm/{dom-a2932582.js → dom-45f2fe25.js} +2 -2
- package/dist/esm/{forIn-58c0fc60.js → forIn-0d62c985.js} +2 -2
- package/dist/esm/{form-f7e25bb7.js → form-8b0d78db.js} +3 -3
- package/dist/esm/{guid-19d940ff.js → guid-abe13cc2.js} +1 -1
- package/dist/esm/{index-d261ca5a.js → index-effb376f.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-b38097f6.js → interactive-f15ff552.js} +1 -1
- package/dist/esm/{interfaces-bbf7cc65.js → interfaces-8f35e458.js} +1 -1
- package/dist/esm/{label-2f6ec862.js → label-c6cbee0a.js} +2 -2
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{locale-e52a164b.js → locale-177710c0.js} +2 -2
- package/dist/esm/{math-a938e6e0.js → math-c0a7fce3.js} +1 -1
- package/dist/esm/{number-7694f29a.js → number-bc813e80.js} +1 -1
- package/dist/esm/{observers-a2053cce.js → observers-d987074b.js} +1 -1
- package/dist/esm/{popper-838cc3a3.js → popper-2cf5182b.js} +2 -2
- package/dist/esm/{resources-e29ae7d9.js → resources-50fc5f58.js} +1 -1
- package/dist/esm/{resources-68442e39.js → resources-8932f379.js} +8 -8
- package/dist/esm/{resources-1e1a97e9.js → resources-8c275d10.js} +1 -1
- package/dist/esm/{resources-b4f2d363.js → resources-e8e435d8.js} +3 -3
- package/dist/esm/{sortable.esm-daa6d5c1.js → sortable.esm-a7107027.js} +1 -1
- package/dist/esm/{utils-0ffe1aed.js → utils-78565828.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-791d306b.js → ExpandToggle-b96edd5e.js} +2 -2
- package/dist/esm-es5/{Heading-b4e2ed84.js → Heading-1837a52c.js} +2 -2
- package/dist/esm-es5/{array-c3d1a08d.js → array-321957e6.js} +1 -1
- package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
- package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
- package/dist/esm-es5/calcite-action-group.entry.js +2 -2
- package/dist/esm-es5/calcite-action-menu.entry.js +3 -3
- package/dist/esm-es5/calcite-action-pad.entry.js +3 -3
- package/dist/esm-es5/calcite-action.entry.js +2 -2
- package/dist/esm-es5/calcite-alert.entry.js +2 -2
- package/dist/esm-es5/calcite-avatar.entry.js +2 -2
- package/dist/esm-es5/calcite-block_2.entry.js +2 -2
- package/dist/esm-es5/calcite-button.entry.js +2 -2
- package/dist/esm-es5/calcite-card.entry.js +2 -2
- package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
- package/dist/esm-es5/calcite-chip.entry.js +2 -2
- package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
- package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
- package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
- package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
- package/dist/esm-es5/calcite-fab.entry.js +2 -2
- package/dist/esm-es5/calcite-filter.entry.js +2 -2
- package/dist/esm-es5/calcite-flow.entry.js +2 -2
- package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
- package/dist/esm-es5/calcite-handle.entry.js +2 -2
- package/dist/esm-es5/calcite-icon.entry.js +2 -2
- package/dist/esm-es5/calcite-inline-editable.entry.js +3 -3
- package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
- package/dist/esm-es5/calcite-input-message.entry.js +2 -2
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +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 +3 -3
- package/dist/esm-es5/calcite-option_3.entry.js +3 -3
- 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 +3 -3
- 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-4f7a799a.js → conditionalSlot-3c00e7fe.js} +2 -2
- package/dist/esm-es5/{debounce-4ee433e8.js → debounce-df0a6aea.js} +1 -1
- package/dist/esm-es5/{dom-a2932582.js → dom-45f2fe25.js} +2 -2
- package/dist/esm-es5/{forIn-58c0fc60.js → forIn-0d62c985.js} +2 -2
- package/dist/esm-es5/{form-f7e25bb7.js → form-8b0d78db.js} +2 -2
- package/dist/esm-es5/{guid-19d940ff.js → guid-abe13cc2.js} +1 -1
- package/dist/esm-es5/{index-d261ca5a.js → index-effb376f.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-b38097f6.js → interactive-f15ff552.js} +1 -1
- package/dist/esm-es5/{interfaces-bbf7cc65.js → interfaces-8f35e458.js} +1 -1
- package/dist/esm-es5/{label-2f6ec862.js → label-c6cbee0a.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-e52a164b.js → locale-177710c0.js} +2 -2
- package/dist/esm-es5/{math-a938e6e0.js → math-c0a7fce3.js} +1 -1
- package/dist/esm-es5/{number-7694f29a.js → number-bc813e80.js} +1 -1
- package/dist/esm-es5/{observers-a2053cce.js → observers-d987074b.js} +1 -1
- package/dist/esm-es5/{popper-838cc3a3.js → popper-2cf5182b.js} +2 -2
- package/dist/esm-es5/{resources-e29ae7d9.js → resources-50fc5f58.js} +1 -1
- package/dist/esm-es5/resources-8932f379.js +6 -0
- package/dist/esm-es5/{resources-1e1a97e9.js → resources-8c275d10.js} +1 -1
- package/dist/esm-es5/{resources-b4f2d363.js → resources-e8e435d8.js} +2 -2
- package/dist/esm-es5/{sortable.esm-daa6d5c1.js → sortable.esm-a7107027.js} +1 -1
- package/dist/esm-es5/{utils-0ffe1aed.js → utils-78565828.js} +1 -1
- package/dist/extras/docs-json.json +74 -64
- 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 +2 -2
- package/dist/types/components/accordion-item/accordion-item.d.ts +4 -4
- package/dist/types/components/alert/alert.d.ts +2 -2
- package/dist/types/components/block/block.d.ts +2 -0
- package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +1 -1
- package/dist/types/components/date-picker-day/date-picker-day.d.ts +1 -1
- package/dist/types/components/date-picker-month/date-picker-month.d.ts +2 -2
- package/dist/types/components/dropdown/dropdown.d.ts +2 -2
- package/dist/types/components/dropdown-group/dropdown-group.d.ts +1 -1
- package/dist/types/components/dropdown-item/dropdown-item.d.ts +3 -3
- package/dist/types/components/inline-editable/inline-editable.d.ts +1 -1
- package/dist/types/components/input/input.d.ts +2 -2
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +2 -2
- package/dist/types/components/input-time-picker/input-time-picker.d.ts +2 -2
- package/dist/types/components/list/list.d.ts +3 -3
- package/dist/types/components/list-item/list-item.d.ts +6 -6
- package/dist/types/components/list-item-group/list-item-group.d.ts +3 -3
- package/dist/types/components/loader/loader.d.ts +9 -9
- package/dist/types/components/option/option.d.ts +1 -1
- package/dist/types/components/option-group/option-group.d.ts +1 -1
- package/dist/types/components/pick-list/pick-list.d.ts +2 -2
- package/dist/types/components/pick-list/shared-list-logic.d.ts +1 -1
- package/dist/types/components/pick-list-item/pick-list-item.d.ts +2 -2
- package/dist/types/components/popover/PopoverManager.d.ts +2 -0
- package/dist/types/components/radio-group-item/radio-group-item.d.ts +1 -1
- package/dist/types/components/stepper/stepper.d.ts +2 -3
- package/dist/types/components/stepper-item/stepper-item.d.ts +3 -3
- package/dist/types/components/tab/tab.d.ts +1 -1
- package/dist/types/components/tab-title/tab-title.d.ts +3 -3
- package/dist/types/components/tabs/tabs.d.ts +2 -2
- package/dist/types/components/time-picker/time-picker.d.ts +3 -3
- package/dist/types/components/tree-item/tree-item.d.ts +1 -1
- package/dist/types/components/value-list/value-list.d.ts +2 -2
- package/dist/types/components.d.ts +35 -31
- package/dist/types/preact.d.ts +56 -56
- package/hydrate/index.js +185 -156
- package/package.json +10 -10
- package/readme.md +2 -2
- package/dist/calcite/p-11762c64.entry.js +0 -6
- package/dist/calcite/p-13f8c3b7.system.entry.js +0 -6
- package/dist/calcite/p-2141a553.system.entry.js +0 -6
- package/dist/calcite/p-28a2b2c1.entry.js +0 -6
- package/dist/calcite/p-2ec9ae22.entry.js +0 -6
- package/dist/calcite/p-31e74680.system.entry.js +0 -6
- package/dist/calcite/p-40ad5605.system.entry.js +0 -6
- package/dist/calcite/p-50901118.system.entry.js +0 -6
- package/dist/calcite/p-55396ff1.entry.js +0 -6
- package/dist/calcite/p-5cd1fd53.entry.js +0 -6
- package/dist/calcite/p-63a4c3bb.entry.js +0 -6
- package/dist/calcite/p-6ccc36d6.system.js +0 -6
- package/dist/calcite/p-6d3b92e9.system.entry.js +0 -6
- package/dist/calcite/p-7066289c.js +0 -6
- package/dist/calcite/p-7235190c.entry.js +0 -6
- package/dist/calcite/p-7d916c69.entry.js +0 -6
- package/dist/calcite/p-8710763e.system.entry.js +0 -6
- package/dist/calcite/p-90c3d7b8.js +0 -6
- package/dist/calcite/p-91d8f613.entry.js +0 -6
- package/dist/calcite/p-99311e75.entry.js +0 -6
- package/dist/calcite/p-a5705999.entry.js +0 -6
- package/dist/calcite/p-a90d71e1.system.entry.js +0 -6
- package/dist/calcite/p-b1e61905.entry.js +0 -6
- package/dist/calcite/p-b29ca66f.system.entry.js +0 -6
- package/dist/calcite/p-b4cd0b0b.entry.js +0 -6
- package/dist/calcite/p-b8c6a78b.system.entry.js +0 -6
- package/dist/calcite/p-b91b7b3b.entry.js +0 -6
- package/dist/calcite/p-be34413c.entry.js +0 -6
- package/dist/calcite/p-bf0589a2.system.entry.js +0 -6
- package/dist/calcite/p-d1a72fed.system.entry.js +0 -6
- package/dist/calcite/p-d33becb0.entry.js +0 -6
- package/dist/calcite/p-d652640c.entry.js +0 -6
- package/dist/calcite/p-da4bcc0b.system.js +0 -6
- package/dist/calcite/p-dda9f2b4.entry.js +0 -6
- package/dist/calcite/p-ecb6cebc.entry.js +0 -6
- package/dist/calcite/p-f2754244.js +0 -6
- package/dist/calcite/p-f4ba2ef6.system.entry.js +0 -6
- package/dist/esm-es5/resources-68442e39.js +0 -6
package/hydrate/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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.467
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
10
|
/*!
|
|
11
|
-
Stencil Mock Doc v2.15.
|
|
11
|
+
Stencil Mock Doc v2.15.2 | MIT Licensed | https://stenciljs.com
|
|
12
12
|
*/
|
|
13
13
|
const CONTENT_REF_ID = 'r';
|
|
14
14
|
const ORG_LOCATION_ID = 'o';
|
|
@@ -5561,7 +5561,7 @@ const accordionCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyfra
|
|
|
5561
5561
|
class Accordion {
|
|
5562
5562
|
constructor(hostRef) {
|
|
5563
5563
|
registerInstance(this, hostRef);
|
|
5564
|
-
this.
|
|
5564
|
+
this.calciteInternalAccordionChange = createEvent(this, "calciteInternalAccordionChange", 7);
|
|
5565
5565
|
//--------------------------------------------------------------------------
|
|
5566
5566
|
//
|
|
5567
5567
|
// Public Properties
|
|
@@ -5612,7 +5612,7 @@ class Accordion {
|
|
|
5612
5612
|
// Event Listeners
|
|
5613
5613
|
//
|
|
5614
5614
|
//--------------------------------------------------------------------------
|
|
5615
|
-
|
|
5615
|
+
calciteInternalAccordionItemKeyEvent(e) {
|
|
5616
5616
|
const item = e.detail.item;
|
|
5617
5617
|
const parent = e.detail.parent;
|
|
5618
5618
|
if (this.el === parent) {
|
|
@@ -5645,6 +5645,7 @@ class Accordion {
|
|
|
5645
5645
|
break;
|
|
5646
5646
|
}
|
|
5647
5647
|
}
|
|
5648
|
+
e.stopPropagation();
|
|
5648
5649
|
}
|
|
5649
5650
|
registerCalciteAccordionItem(e) {
|
|
5650
5651
|
const item = {
|
|
@@ -5655,12 +5656,14 @@ class Accordion {
|
|
|
5655
5656
|
if (this.el === item.parent) {
|
|
5656
5657
|
this.items.push(item);
|
|
5657
5658
|
}
|
|
5659
|
+
e.stopPropagation();
|
|
5658
5660
|
}
|
|
5659
5661
|
updateActiveItemOnChange(event) {
|
|
5660
5662
|
this.requestedAccordionItem = event.detail.requestedAccordionItem;
|
|
5661
|
-
this.
|
|
5663
|
+
this.calciteInternalAccordionChange.emit({
|
|
5662
5664
|
requestedAccordionItem: this.requestedAccordionItem
|
|
5663
5665
|
});
|
|
5666
|
+
event.stopPropagation();
|
|
5664
5667
|
}
|
|
5665
5668
|
//--------------------------------------------------------------------------
|
|
5666
5669
|
//
|
|
@@ -5704,7 +5707,7 @@ class Accordion {
|
|
|
5704
5707
|
"scale": [513],
|
|
5705
5708
|
"selectionMode": [513, "selection-mode"]
|
|
5706
5709
|
},
|
|
5707
|
-
"$listeners$": [[0, "
|
|
5710
|
+
"$listeners$": [[0, "calciteInternalAccordionItemKeyEvent", "calciteInternalAccordionItemKeyEvent"], [0, "calciteInternalAccordionItemRegister", "registerCalciteAccordionItem"], [0, "calciteInternalAccordionItemSelect", "updateActiveItemOnChange"]],
|
|
5708
5711
|
"$lazyBundleId$": "-",
|
|
5709
5712
|
"$attrsToReflect$": [["appearance", "appearance"], ["iconPosition", "icon-position"], ["iconType", "icon-type"], ["scale", "scale"], ["selectionMode", "selection-mode"]]
|
|
5710
5713
|
}; }
|
|
@@ -5926,10 +5929,10 @@ const accordionItemCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@ke
|
|
|
5926
5929
|
class AccordionItem {
|
|
5927
5930
|
constructor(hostRef) {
|
|
5928
5931
|
registerInstance(this, hostRef);
|
|
5929
|
-
this.
|
|
5930
|
-
this.
|
|
5931
|
-
this.
|
|
5932
|
-
this.
|
|
5932
|
+
this.calciteInternalAccordionItemKeyEvent = createEvent(this, "calciteInternalAccordionItemKeyEvent", 7);
|
|
5933
|
+
this.calciteInternalAccordionItemSelect = createEvent(this, "calciteInternalAccordionItemSelect", 7);
|
|
5934
|
+
this.calciteInternalAccordionItemClose = createEvent(this, "calciteInternalAccordionItemClose", 7);
|
|
5935
|
+
this.calciteInternalAccordionItemRegister = createEvent(this, "calciteInternalAccordionItemRegister", 7);
|
|
5933
5936
|
//--------------------------------------------------------------------------
|
|
5934
5937
|
//
|
|
5935
5938
|
// Public Properties
|
|
@@ -5961,7 +5964,7 @@ class AccordionItem {
|
|
|
5961
5964
|
}
|
|
5962
5965
|
componentDidLoad() {
|
|
5963
5966
|
this.itemPosition = this.getItemPosition();
|
|
5964
|
-
this.
|
|
5967
|
+
this.calciteInternalAccordionItemRegister.emit({
|
|
5965
5968
|
parent: this.parent,
|
|
5966
5969
|
position: this.itemPosition
|
|
5967
5970
|
});
|
|
@@ -6000,7 +6003,7 @@ class AccordionItem {
|
|
|
6000
6003
|
case "ArrowDown":
|
|
6001
6004
|
case "Home":
|
|
6002
6005
|
case "End":
|
|
6003
|
-
this.
|
|
6006
|
+
this.calciteInternalAccordionItemKeyEvent.emit({
|
|
6004
6007
|
parent: this.parent,
|
|
6005
6008
|
item: e
|
|
6006
6009
|
});
|
|
@@ -6016,6 +6019,7 @@ class AccordionItem {
|
|
|
6016
6019
|
return;
|
|
6017
6020
|
}
|
|
6018
6021
|
this.determineActiveItem();
|
|
6022
|
+
event.stopPropagation();
|
|
6019
6023
|
}
|
|
6020
6024
|
//--------------------------------------------------------------------------
|
|
6021
6025
|
//
|
|
@@ -6038,7 +6042,7 @@ class AccordionItem {
|
|
|
6038
6042
|
}
|
|
6039
6043
|
}
|
|
6040
6044
|
emitRequestedItem() {
|
|
6041
|
-
this.
|
|
6045
|
+
this.calciteInternalAccordionItemSelect.emit({
|
|
6042
6046
|
requestedAccordionItem: this.el
|
|
6043
6047
|
});
|
|
6044
6048
|
}
|
|
@@ -6056,7 +6060,7 @@ class AccordionItem {
|
|
|
6056
6060
|
"itemSubtitle": [1, "item-subtitle"],
|
|
6057
6061
|
"icon": [513]
|
|
6058
6062
|
},
|
|
6059
|
-
"$listeners$": [[0, "keydown", "keyDownHandler"], [16, "
|
|
6063
|
+
"$listeners$": [[0, "keydown", "keyDownHandler"], [16, "calciteInternalAccordionChange", "updateActiveItemOnChange"]],
|
|
6060
6064
|
"$lazyBundleId$": "-",
|
|
6061
6065
|
"$attrsToReflect$": [["active", "active"], ["icon", "icon"]]
|
|
6062
6066
|
}; }
|
|
@@ -8434,8 +8438,8 @@ class Alert {
|
|
|
8434
8438
|
registerInstance(this, hostRef);
|
|
8435
8439
|
this.calciteAlertClose = createEvent(this, "calciteAlertClose", 7);
|
|
8436
8440
|
this.calciteAlertOpen = createEvent(this, "calciteAlertOpen", 7);
|
|
8437
|
-
this.
|
|
8438
|
-
this.
|
|
8441
|
+
this.calciteInternalAlertSync = createEvent(this, "calciteInternalAlertSync", 7);
|
|
8442
|
+
this.calciteInternalAlertRegister = createEvent(this, "calciteInternalAlertRegister", 7);
|
|
8439
8443
|
//--------------------------------------------------------------------------
|
|
8440
8444
|
//
|
|
8441
8445
|
// Properties
|
|
@@ -8478,7 +8482,7 @@ class Alert {
|
|
|
8478
8482
|
this.active = false;
|
|
8479
8483
|
this.queue = this.queue.filter((e) => e !== this.el);
|
|
8480
8484
|
this.determineActiveAlert();
|
|
8481
|
-
this.
|
|
8485
|
+
this.calciteInternalAlertSync.emit({ queue: this.queue });
|
|
8482
8486
|
};
|
|
8483
8487
|
this.transitionEnd = (event) => {
|
|
8484
8488
|
if (event.propertyName === this.activeTransitionProp) {
|
|
@@ -8496,11 +8500,11 @@ class Alert {
|
|
|
8496
8500
|
}
|
|
8497
8501
|
watchActive() {
|
|
8498
8502
|
if (this.active && !this.queued) {
|
|
8499
|
-
this.
|
|
8503
|
+
this.calciteInternalAlertRegister.emit();
|
|
8500
8504
|
}
|
|
8501
8505
|
if (!this.active) {
|
|
8502
8506
|
this.queue = this.queue.filter((e) => e !== this.el);
|
|
8503
|
-
this.
|
|
8507
|
+
this.calciteInternalAlertSync.emit({ queue: this.queue });
|
|
8504
8508
|
}
|
|
8505
8509
|
}
|
|
8506
8510
|
updateRequestedIcon() {
|
|
@@ -8519,7 +8523,7 @@ class Alert {
|
|
|
8519
8523
|
//--------------------------------------------------------------------------
|
|
8520
8524
|
connectedCallback() {
|
|
8521
8525
|
if (this.active && !this.queued) {
|
|
8522
|
-
this.
|
|
8526
|
+
this.calciteInternalAlertRegister.emit();
|
|
8523
8527
|
}
|
|
8524
8528
|
}
|
|
8525
8529
|
componentWillLoad() {
|
|
@@ -8548,6 +8552,7 @@ class Alert {
|
|
|
8548
8552
|
}
|
|
8549
8553
|
this.queueLength = this.queue.length;
|
|
8550
8554
|
this.determineActiveAlert();
|
|
8555
|
+
event.stopPropagation();
|
|
8551
8556
|
}
|
|
8552
8557
|
// when an alert is first registered, trigger a queue sync to get queue
|
|
8553
8558
|
alertRegister() {
|
|
@@ -8555,7 +8560,7 @@ class Alert {
|
|
|
8555
8560
|
this.queued = true;
|
|
8556
8561
|
this.queue.push(this.el);
|
|
8557
8562
|
}
|
|
8558
|
-
this.
|
|
8563
|
+
this.calciteInternalAlertSync.emit({ queue: this.queue });
|
|
8559
8564
|
this.determineActiveAlert();
|
|
8560
8565
|
}
|
|
8561
8566
|
//--------------------------------------------------------------------------
|
|
@@ -8627,7 +8632,7 @@ class Alert {
|
|
|
8627
8632
|
"requestedIcon": [32],
|
|
8628
8633
|
"setFocus": [64]
|
|
8629
8634
|
},
|
|
8630
|
-
"$listeners$": [[8, "
|
|
8635
|
+
"$listeners$": [[8, "calciteInternalAlertSync", "alertSync"], [8, "calciteInternalAlertRegister", "alertRegister"]],
|
|
8631
8636
|
"$lazyBundleId$": "-",
|
|
8632
8637
|
"$attrsToReflect$": [["active", "active"], ["autoDismissDuration", "auto-dismiss-duration"], ["color", "color"], ["icon", "icon"], ["scale", "scale"]]
|
|
8633
8638
|
}; }
|
|
@@ -8965,10 +8970,12 @@ class Block {
|
|
|
8965
8970
|
this.dragHandle = false;
|
|
8966
8971
|
/**
|
|
8967
8972
|
* Aria-label for collapsing the toggle and tooltip used for the toggle when expanded.
|
|
8973
|
+
* @default "Collapse"
|
|
8968
8974
|
*/
|
|
8969
8975
|
this.intlCollapse = TEXT$m.collapse;
|
|
8970
8976
|
/**
|
|
8971
8977
|
* Aria-label for expanding the toggle and tooltip used for the toggle when collapsed.
|
|
8978
|
+
* @default "Expand"
|
|
8972
8979
|
*/
|
|
8973
8980
|
this.intlExpand = TEXT$m.expand;
|
|
8974
8981
|
/** string to override English loading text
|
|
@@ -13200,7 +13207,7 @@ class ColorPickerHexInput {
|
|
|
13200
13207
|
* The hex value.
|
|
13201
13208
|
*/
|
|
13202
13209
|
this.value = normalizeHex(DEFAULT_COLOR.hex());
|
|
13203
|
-
this.
|
|
13210
|
+
this.onCalciteInternalInputBlur = () => {
|
|
13204
13211
|
const node = this.inputNode;
|
|
13205
13212
|
const inputValue = node.value;
|
|
13206
13213
|
const hex = `#${inputValue}`;
|
|
@@ -13285,7 +13292,7 @@ class ColorPickerHexInput {
|
|
|
13285
13292
|
render() {
|
|
13286
13293
|
const { intlHex, value } = this;
|
|
13287
13294
|
const hexInputValue = this.formatForInternalInput(value);
|
|
13288
|
-
return (hAsync("div", { class: CSS$F.container }, hAsync("calcite-input", { class: CSS$F.input, label: intlHex, maxLength: 6,
|
|
13295
|
+
return (hAsync("div", { class: CSS$F.container }, hAsync("calcite-input", { class: CSS$F.input, label: intlHex, maxLength: 6, onCalciteInputChange: this.onInputChange, onCalciteInternalInputBlur: this.onCalciteInternalInputBlur, onKeyDown: this.handleKeyDown, prefixText: "#", ref: this.storeInputRef, scale: this.scale, value: hexInputValue }), hexInputValue ? (hAsync("calcite-color-picker-swatch", { active: true, class: CSS$F.preview, color: `#${hexInputValue}`, scale: this.scale })) : null));
|
|
13289
13296
|
}
|
|
13290
13297
|
//--------------------------------------------------------------------------
|
|
13291
13298
|
//
|
|
@@ -16792,6 +16799,7 @@ class DatePicker {
|
|
|
16792
16799
|
this.hoverRange = undefined;
|
|
16793
16800
|
}
|
|
16794
16801
|
}
|
|
16802
|
+
e.stopPropagation();
|
|
16795
16803
|
};
|
|
16796
16804
|
this.monthMouseOutChange = () => {
|
|
16797
16805
|
if (this.hoverRange) {
|
|
@@ -16988,7 +16996,7 @@ class DatePicker {
|
|
|
16988
16996
|
renderCalendar(activeDate, maxDate, minDate, date, endDate) {
|
|
16989
16997
|
return (this.localeData && [
|
|
16990
16998
|
hAsync("calcite-date-picker-month-header", { activeDate: activeDate, headingLevel: this.headingLevel || HEADING_LEVEL$6, intlNextMonth: this.intlNextMonth, intlPrevMonth: this.intlPrevMonth, intlYear: this.intlYear, localeData: this.localeData, max: maxDate, min: minDate, onCalciteDatePickerSelect: this.monthHeaderSelectChange, scale: this.scale, selectedDate: this.activeRange === "end" ? endDate : date || new Date() }),
|
|
16991
|
-
hAsync("calcite-date-picker-month", { activeDate: activeDate, endDate: this.range ? endDate : undefined, hoverRange: this.hoverRange, localeData: this.localeData, max: maxDate, min: minDate, onCalciteDatePickerActiveDateChange: this.monthActiveDateChange,
|
|
16999
|
+
hAsync("calcite-date-picker-month", { activeDate: activeDate, endDate: this.range ? endDate : undefined, hoverRange: this.hoverRange, localeData: this.localeData, max: maxDate, min: minDate, onCalciteDatePickerActiveDateChange: this.monthActiveDateChange, onCalciteDatePickerSelect: this.monthDateChange, onCalciteInternalDatePickerHover: this.monthHoverChange, onCalciteInternalDatePickerMouseOut: this.monthMouseOutChange, scale: this.scale, selectedDate: this.activeRange === "end" ? endDate : date, startDate: this.range ? date : undefined })
|
|
16992
17000
|
]);
|
|
16993
17001
|
}
|
|
16994
17002
|
/**
|
|
@@ -17094,7 +17102,7 @@ class DatePickerDay {
|
|
|
17094
17102
|
constructor(hostRef) {
|
|
17095
17103
|
registerInstance(this, hostRef);
|
|
17096
17104
|
this.calciteDaySelect = createEvent(this, "calciteDaySelect", 7);
|
|
17097
|
-
this.
|
|
17105
|
+
this.calciteInternalDayHover = createEvent(this, "calciteInternalDayHover", 7);
|
|
17098
17106
|
/** Date is outside of range and can't be selected */
|
|
17099
17107
|
this.disabled = false;
|
|
17100
17108
|
/** Date is in the current month. */
|
|
@@ -17129,7 +17137,7 @@ class DatePickerDay {
|
|
|
17129
17137
|
};
|
|
17130
17138
|
}
|
|
17131
17139
|
mouseoverHandler() {
|
|
17132
|
-
this.
|
|
17140
|
+
this.calciteInternalDayHover.emit({
|
|
17133
17141
|
disabled: this.disabled
|
|
17134
17142
|
});
|
|
17135
17143
|
}
|
|
@@ -17184,9 +17192,9 @@ class DatePickerMonth {
|
|
|
17184
17192
|
constructor(hostRef) {
|
|
17185
17193
|
registerInstance(this, hostRef);
|
|
17186
17194
|
this.calciteDatePickerSelect = createEvent(this, "calciteDatePickerSelect", 7);
|
|
17187
|
-
this.
|
|
17195
|
+
this.calciteInternalDatePickerHover = createEvent(this, "calciteInternalDatePickerHover", 7);
|
|
17188
17196
|
this.calciteDatePickerActiveDateChange = createEvent(this, "calciteDatePickerActiveDateChange", 7);
|
|
17189
|
-
this.
|
|
17197
|
+
this.calciteInternalDatePickerMouseOut = createEvent(this, "calciteInternalDatePickerMouseOut", 7);
|
|
17190
17198
|
/** Date currently active.*/
|
|
17191
17199
|
this.activeDate = new Date();
|
|
17192
17200
|
//--------------------------------------------------------------------------
|
|
@@ -17249,11 +17257,12 @@ class DatePickerMonth {
|
|
|
17249
17257
|
this.dayHover = (e) => {
|
|
17250
17258
|
const target = e.target;
|
|
17251
17259
|
if (e.detail.disabled) {
|
|
17252
|
-
this.
|
|
17260
|
+
this.calciteInternalDatePickerMouseOut.emit();
|
|
17253
17261
|
}
|
|
17254
17262
|
else {
|
|
17255
|
-
this.
|
|
17263
|
+
this.calciteInternalDatePickerHover.emit(target.value);
|
|
17256
17264
|
}
|
|
17265
|
+
e.stopPropagation();
|
|
17257
17266
|
};
|
|
17258
17267
|
this.daySelect = (e) => {
|
|
17259
17268
|
const target = e.target;
|
|
@@ -17261,7 +17270,7 @@ class DatePickerMonth {
|
|
|
17261
17270
|
};
|
|
17262
17271
|
}
|
|
17263
17272
|
mouseoutHandler() {
|
|
17264
|
-
this.
|
|
17273
|
+
this.calciteInternalDatePickerMouseOut.emit();
|
|
17265
17274
|
}
|
|
17266
17275
|
//--------------------------------------------------------------------------
|
|
17267
17276
|
//
|
|
@@ -17410,7 +17419,7 @@ class DatePickerMonth {
|
|
|
17410
17419
|
"hover--outside-range": this.startDate && !isHoverInRange,
|
|
17411
17420
|
"focused--start": isFocusedOnStart,
|
|
17412
17421
|
"focused--end": !isFocusedOnStart
|
|
17413
|
-
}, currentMonth: currentMonth, day: day, disabled: !inRange(date, this.min, this.max), endOfRange: this.isEndOfRange(date), highlighted: this.betweenSelectedRange(date), key: date.toDateString(), localeData: this.localeData,
|
|
17422
|
+
}, currentMonth: currentMonth, day: day, disabled: !inRange(date, this.min, this.max), endOfRange: this.isEndOfRange(date), highlighted: this.betweenSelectedRange(date), key: date.toDateString(), localeData: this.localeData, onCalciteDaySelect: this.daySelect, onCalciteInternalDayHover: this.dayHover, range: !!this.startDate && !!this.endDate && !sameDate(this.startDate, this.endDate), rangeHover: this.isRangeHover(date), ref: (el) => {
|
|
17414
17423
|
// when moving via keyboard, focus must be updated on active date
|
|
17415
17424
|
if (ref && active && this.activeFocus) {
|
|
17416
17425
|
el === null || el === void 0 ? void 0 : el.focus();
|
|
@@ -17848,8 +17857,9 @@ class Dropdown {
|
|
|
17848
17857
|
}
|
|
17849
17858
|
this.closeCalciteDropdown(false);
|
|
17850
17859
|
}
|
|
17851
|
-
closeCalciteDropdownOnEvent() {
|
|
17860
|
+
closeCalciteDropdownOnEvent(e) {
|
|
17852
17861
|
this.closeCalciteDropdown();
|
|
17862
|
+
e.stopPropagation();
|
|
17853
17863
|
}
|
|
17854
17864
|
closeCalciteDropdownOnOpenEvent(e) {
|
|
17855
17865
|
if (e.composedPath().includes(this.el)) {
|
|
@@ -17867,7 +17877,7 @@ class Dropdown {
|
|
|
17867
17877
|
this.closeCalciteDropdown();
|
|
17868
17878
|
}
|
|
17869
17879
|
}
|
|
17870
|
-
|
|
17880
|
+
calciteInternalDropdownItemKeyEvent(e) {
|
|
17871
17881
|
const { keyboardEvent } = e.detail;
|
|
17872
17882
|
// handle edge
|
|
17873
17883
|
const target = keyboardEvent.target;
|
|
@@ -17912,6 +17922,7 @@ class Dropdown {
|
|
|
17912
17922
|
event.detail.requestedDropdownGroup.selectionMode === "none") {
|
|
17913
17923
|
this.closeCalciteDropdown();
|
|
17914
17924
|
}
|
|
17925
|
+
event.stopPropagation();
|
|
17915
17926
|
}
|
|
17916
17927
|
getModifiers() {
|
|
17917
17928
|
const flipModifier = {
|
|
@@ -18034,7 +18045,7 @@ class Dropdown {
|
|
|
18034
18045
|
"width": [513],
|
|
18035
18046
|
"reposition": [64]
|
|
18036
18047
|
},
|
|
18037
|
-
"$listeners$": [[8, "click", "closeCalciteDropdownOnClick"], [0, "
|
|
18048
|
+
"$listeners$": [[8, "click", "closeCalciteDropdownOnClick"], [0, "calciteInternalDropdownCloseRequest", "closeCalciteDropdownOnEvent"], [8, "calciteDropdownOpen", "closeCalciteDropdownOnOpenEvent"], [1, "mouseenter", "mouseEnterHandler"], [1, "mouseleave", "mouseLeaveHandler"], [0, "calciteInternalDropdownItemKeyEvent", "calciteInternalDropdownItemKeyEvent"], [0, "calciteInternalDropdownItemSelect", "handleItemSelect"]],
|
|
18038
18049
|
"$lazyBundleId$": "-",
|
|
18039
18050
|
"$attrsToReflect$": [["active", "active"], ["disableCloseOnSelect", "disable-close-on-select"], ["disabled", "disabled"], ["placement", "placement"], ["scale", "scale"], ["type", "type"], ["width", "width"]]
|
|
18040
18051
|
}; }
|
|
@@ -18054,7 +18065,7 @@ const dropdownGroupCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@ke
|
|
|
18054
18065
|
class DropdownGroup {
|
|
18055
18066
|
constructor(hostRef) {
|
|
18056
18067
|
registerInstance(this, hostRef);
|
|
18057
|
-
this.
|
|
18068
|
+
this.calciteInternalDropdownItemChange = createEvent(this, "calciteInternalDropdownItemChange", 7);
|
|
18058
18069
|
/** specify the selection mode - multi (allow any number of (or no) active items), single (allow and require one active item),
|
|
18059
18070
|
none (no active items), defaults to single */
|
|
18060
18071
|
this.selectionMode = "single";
|
|
@@ -18086,7 +18097,7 @@ class DropdownGroup {
|
|
|
18086
18097
|
updateActiveItemOnChange(event) {
|
|
18087
18098
|
this.requestedDropdownGroup = event.detail.requestedDropdownGroup;
|
|
18088
18099
|
this.requestedDropdownItem = event.detail.requestedDropdownItem;
|
|
18089
|
-
this.
|
|
18100
|
+
this.calciteInternalDropdownItemChange.emit({
|
|
18090
18101
|
requestedDropdownGroup: this.requestedDropdownGroup,
|
|
18091
18102
|
requestedDropdownItem: this.requestedDropdownItem
|
|
18092
18103
|
});
|
|
@@ -18109,7 +18120,7 @@ class DropdownGroup {
|
|
|
18109
18120
|
"selectionMode": [513, "selection-mode"],
|
|
18110
18121
|
"scale": [513]
|
|
18111
18122
|
},
|
|
18112
|
-
"$listeners$": [[0, "
|
|
18123
|
+
"$listeners$": [[0, "calciteInternalDropdownItemSelect", "updateActiveItemOnChange"]],
|
|
18113
18124
|
"$lazyBundleId$": "-",
|
|
18114
18125
|
"$attrsToReflect$": [["groupTitle", "group-title"], ["selectionMode", "selection-mode"], ["scale", "scale"]]
|
|
18115
18126
|
}; }
|
|
@@ -18133,9 +18144,9 @@ const dropdownItemCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@key
|
|
|
18133
18144
|
class DropdownItem {
|
|
18134
18145
|
constructor(hostRef) {
|
|
18135
18146
|
registerInstance(this, hostRef);
|
|
18136
|
-
this.
|
|
18137
|
-
this.
|
|
18138
|
-
this.
|
|
18147
|
+
this.calciteInternalDropdownItemSelect = createEvent(this, "calciteInternalDropdownItemSelect", 7);
|
|
18148
|
+
this.calciteInternalDropdownItemKeyEvent = createEvent(this, "calciteInternalDropdownItemKeyEvent", 7);
|
|
18149
|
+
this.calciteInternalDropdownCloseRequest = createEvent(this, "calciteInternalDropdownCloseRequest", 7);
|
|
18139
18150
|
//--------------------------------------------------------------------------
|
|
18140
18151
|
//
|
|
18141
18152
|
// Public Properties
|
|
@@ -18220,14 +18231,14 @@ class DropdownItem {
|
|
|
18220
18231
|
}
|
|
18221
18232
|
break;
|
|
18222
18233
|
case "Escape":
|
|
18223
|
-
this.
|
|
18234
|
+
this.calciteInternalDropdownCloseRequest.emit();
|
|
18224
18235
|
break;
|
|
18225
18236
|
case "Tab":
|
|
18226
18237
|
case "ArrowUp":
|
|
18227
18238
|
case "ArrowDown":
|
|
18228
18239
|
case "Home":
|
|
18229
18240
|
case "End":
|
|
18230
|
-
this.
|
|
18241
|
+
this.calciteInternalDropdownItemKeyEvent.emit({ keyboardEvent: e });
|
|
18231
18242
|
break;
|
|
18232
18243
|
}
|
|
18233
18244
|
e.preventDefault();
|
|
@@ -18239,6 +18250,7 @@ class DropdownItem {
|
|
|
18239
18250
|
this.requestedDropdownItem = event.detail.requestedDropdownItem;
|
|
18240
18251
|
this.determineActiveItem();
|
|
18241
18252
|
}
|
|
18253
|
+
event.stopPropagation();
|
|
18242
18254
|
}
|
|
18243
18255
|
//--------------------------------------------------------------------------
|
|
18244
18256
|
//
|
|
@@ -18273,7 +18285,7 @@ class DropdownItem {
|
|
|
18273
18285
|
}
|
|
18274
18286
|
}
|
|
18275
18287
|
emitRequestedItem() {
|
|
18276
|
-
this.
|
|
18288
|
+
this.calciteInternalDropdownItemSelect.emit({
|
|
18277
18289
|
requestedDropdownItem: this.el,
|
|
18278
18290
|
requestedDropdownGroup: this.parentDropdownGroupEl
|
|
18279
18291
|
});
|
|
@@ -18294,7 +18306,7 @@ class DropdownItem {
|
|
|
18294
18306
|
"target": [1],
|
|
18295
18307
|
"setFocus": [64]
|
|
18296
18308
|
},
|
|
18297
|
-
"$listeners$": [[0, "click", "onClick"], [0, "keydown", "keyDownHandler"], [16, "
|
|
18309
|
+
"$listeners$": [[0, "click", "onClick"], [0, "keydown", "keyDownHandler"], [16, "calciteInternalDropdownItemChange", "updateActiveItemOnChange"]],
|
|
18298
18310
|
"$lazyBundleId$": "-",
|
|
18299
18311
|
"$attrsToReflect$": [["active", "active"], ["iconFlipRtl", "icon-flip-rtl"], ["iconStart", "icon-start"], ["iconEnd", "icon-end"], ["href", "href"]]
|
|
18300
18312
|
}; }
|
|
@@ -18797,7 +18809,7 @@ function area({ data, min, max, t }) {
|
|
|
18797
18809
|
return `${commands} ${end} L ${maxX},${minY} Z`;
|
|
18798
18810
|
}
|
|
18799
18811
|
|
|
18800
|
-
const graphCss = "@-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-graph: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-graph{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-graph{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-graph{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-graph{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-graph{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-graph:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-graph-h{display:none}/*!@:host*/.sc-calcite-graph-h{display:block}/*!@.svg*/.svg.sc-calcite-graph{fill:currentColor;stroke:transparent;margin:0px;display:block;height:100%;width:100%;padding:0px}/*!@.svg .graph-path--highlight*/.svg.sc-calcite-graph .graph-path--highlight.sc-calcite-graph{fill:var(--calcite-ui-brand);opacity:0.5}";
|
|
18812
|
+
const graphCss = "@-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-graph: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-graph{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-graph{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-graph{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-graph{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-graph{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-graph:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-graph-h{display:none}/*!@:host*/.sc-calcite-graph-h{display:block;height:100%}/*!@.svg*/.svg.sc-calcite-graph{fill:currentColor;stroke:transparent;margin:0px;display:block;height:100%;width:100%;padding:0px}/*!@.svg .graph-path--highlight*/.svg.sc-calcite-graph .graph-path--highlight.sc-calcite-graph{fill:var(--calcite-ui-brand);opacity:0.5}";
|
|
18801
18813
|
|
|
18802
18814
|
class Graph {
|
|
18803
18815
|
constructor(hostRef) {
|
|
@@ -19121,7 +19133,7 @@ class InlineEditable {
|
|
|
19121
19133
|
registerInstance(this, hostRef);
|
|
19122
19134
|
this.calciteInlineEditableEditCancel = createEvent(this, "calciteInlineEditableEditCancel", 7);
|
|
19123
19135
|
this.calciteInlineEditableEditConfirm = createEvent(this, "calciteInlineEditableEditConfirm", 7);
|
|
19124
|
-
this.
|
|
19136
|
+
this.calciteInternalInlineEditableEnableEditingChange = createEvent(this, "calciteInternalInlineEditableEnableEditingChange", 7);
|
|
19125
19137
|
//--------------------------------------------------------------------------
|
|
19126
19138
|
//
|
|
19127
19139
|
// Props
|
|
@@ -19153,7 +19165,7 @@ class InlineEditable {
|
|
|
19153
19165
|
this.valuePriorToEditing = (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.value;
|
|
19154
19166
|
this.editingEnabled = true;
|
|
19155
19167
|
(_b = this.inputElement) === null || _b === void 0 ? void 0 : _b.setFocus();
|
|
19156
|
-
this.
|
|
19168
|
+
this.calciteInternalInlineEditableEnableEditingChange.emit();
|
|
19157
19169
|
};
|
|
19158
19170
|
this.disableEditing = () => {
|
|
19159
19171
|
this.editingEnabled = false;
|
|
@@ -19332,7 +19344,7 @@ class InlineEditable {
|
|
|
19332
19344
|
"afterConfirm": [16],
|
|
19333
19345
|
"setFocus": [64]
|
|
19334
19346
|
},
|
|
19335
|
-
"$listeners$": [[0, "
|
|
19347
|
+
"$listeners$": [[0, "calciteInternalInputBlur", "blurHandler"]],
|
|
19336
19348
|
"$lazyBundleId$": "-",
|
|
19337
19349
|
"$attrsToReflect$": [["disabled", "disabled"], ["editingEnabled", "editing-enabled"], ["loading", "loading"], ["controls", "controls"], ["intlEnableEditing", "intl-enable-editing"], ["intlCancelEditing", "intl-cancel-editing"], ["intlConfirmChanges", "intl-confirm-changes"], ["scale", "scale"]]
|
|
19338
19350
|
}; }
|
|
@@ -19377,8 +19389,8 @@ const inputCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes
|
|
|
19377
19389
|
class Input {
|
|
19378
19390
|
constructor(hostRef) {
|
|
19379
19391
|
registerInstance(this, hostRef);
|
|
19380
|
-
this.
|
|
19381
|
-
this.
|
|
19392
|
+
this.calciteInternalInputFocus = createEvent(this, "calciteInternalInputFocus", 7);
|
|
19393
|
+
this.calciteInternalInputBlur = createEvent(this, "calciteInternalInputBlur", 7);
|
|
19382
19394
|
this.calciteInputInput = createEvent(this, "calciteInputInput", 7);
|
|
19383
19395
|
this.calciteInputChange = createEvent(this, "calciteInputChange", 7);
|
|
19384
19396
|
//--------------------------------------------------------------------------
|
|
@@ -19473,7 +19485,7 @@ class Input {
|
|
|
19473
19485
|
this.previousEmittedValue = this.value;
|
|
19474
19486
|
};
|
|
19475
19487
|
this.inputBlurHandler = () => {
|
|
19476
|
-
this.
|
|
19488
|
+
this.calciteInternalInputBlur.emit({
|
|
19477
19489
|
element: this.childEl,
|
|
19478
19490
|
value: this.value
|
|
19479
19491
|
});
|
|
@@ -19484,7 +19496,7 @@ class Input {
|
|
|
19484
19496
|
if (event.target !== slottedActionEl) {
|
|
19485
19497
|
this.setFocus();
|
|
19486
19498
|
}
|
|
19487
|
-
this.
|
|
19499
|
+
this.calciteInternalInputFocus.emit({
|
|
19488
19500
|
element: this.childEl,
|
|
19489
19501
|
value: this.value
|
|
19490
19502
|
});
|
|
@@ -19966,8 +19978,8 @@ class InputDatePicker {
|
|
|
19966
19978
|
this.calciteDatePickerChange = createEvent(this, "calciteDatePickerChange", 7);
|
|
19967
19979
|
this.calciteDatePickerRangeChange = createEvent(this, "calciteDatePickerRangeChange", 7);
|
|
19968
19980
|
this.calciteInputDatePickerChange = createEvent(this, "calciteInputDatePickerChange", 7);
|
|
19969
|
-
this.
|
|
19970
|
-
this.
|
|
19981
|
+
this.calciteInternalInputDatePickerOpen = createEvent(this, "calciteInternalInputDatePickerOpen", 7);
|
|
19982
|
+
this.calciteInternalInputDatePickerClose = createEvent(this, "calciteInternalInputDatePickerClose", 7);
|
|
19971
19983
|
//--------------------------------------------------------------------------
|
|
19972
19984
|
//
|
|
19973
19985
|
// Public Properties
|
|
@@ -20030,8 +20042,8 @@ class InputDatePicker {
|
|
|
20030
20042
|
this.transitionEnd = (event) => {
|
|
20031
20043
|
if (event.propertyName === this.activeTransitionProp) {
|
|
20032
20044
|
this.active
|
|
20033
|
-
? this.
|
|
20034
|
-
: this.
|
|
20045
|
+
? this.calciteInternalInputDatePickerOpen.emit()
|
|
20046
|
+
: this.calciteInternalInputDatePickerClose.emit();
|
|
20035
20047
|
}
|
|
20036
20048
|
};
|
|
20037
20049
|
this.setStartInput = (el) => {
|
|
@@ -20241,7 +20253,7 @@ class InputDatePicker {
|
|
|
20241
20253
|
: null;
|
|
20242
20254
|
const formattedEndDate = endDate ? endDate.toLocaleDateString(this.locale) : "";
|
|
20243
20255
|
const formattedDate = date ? date.toLocaleDateString(this.locale) : "";
|
|
20244
|
-
return (hAsync(Host, { onBlur: this.deactivate, onKeyDown: this.keyDownHandler, onKeyUp: this.keyUpHandler, role: "application" }, this.localeData && (hAsync("div", { "aria-expanded": toAriaBoolean(this.active), class: "input-container", role: "application" }, hAsync("div", { class: "input-wrapper", ref: this.setStartWrapper }, hAsync("calcite-input", { class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, disabled: disabled, icon: "calendar", label: getLabelText(this), "number-button-type": "none",
|
|
20256
|
+
return (hAsync(Host, { onBlur: this.deactivate, onKeyDown: this.keyDownHandler, onKeyUp: this.keyUpHandler, role: "application" }, this.localeData && (hAsync("div", { "aria-expanded": toAriaBoolean(this.active), class: "input-container", role: "application" }, hAsync("div", { class: "input-wrapper", ref: this.setStartWrapper }, hAsync("calcite-input", { class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, disabled: disabled, icon: "calendar", label: getLabelText(this), "number-button-type": "none", onCalciteInputInput: this.inputInput, onCalciteInternalInputBlur: this.inputBlur, onCalciteInternalInputFocus: this.startInputFocus, placeholder: (_a = this.localeData) === null || _a === void 0 ? void 0 : _a.placeholder, ref: this.setStartInput, scale: this.scale, type: "text", value: formattedDate })), hAsync("div", { "aria-hidden": toAriaBoolean(!this.active), class: {
|
|
20245
20257
|
"menu-container": true,
|
|
20246
20258
|
"menu-container--active": this.active
|
|
20247
20259
|
}, ref: this.setMenuEl }, hAsync("div", { class: {
|
|
@@ -20252,7 +20264,7 @@ class InputDatePicker {
|
|
|
20252
20264
|
}, onTransitionEnd: this.transitionEnd }, hAsync("calcite-date-picker", { activeRange: this.focusedInput, endAsDate: this.endAsDate, headingLevel: this.headingLevel, intlNextMonth: this.intlNextMonth, intlPrevMonth: this.intlPrevMonth, intlYear: this.intlYear, locale: this.locale, max: this.max, maxAsDate: this.maxAsDate, min: this.min, minAsDate: this.minAsDate, onCalciteDatePickerChange: this.handleDateChange, onCalciteDatePickerRangeChange: this.handleDateRangeChange, proximitySelectionDisabled: this.proximitySelectionDisabled, range: this.range, scale: this.scale, startAsDate: this.startAsDate, tabIndex: 0, valueAsDate: this.valueAsDate }))), this.range && this.layout === "horizontal" && (hAsync("div", { class: "horizontal-arrow-container" }, hAsync("calcite-icon", { flipRtl: true, icon: "arrow-right", scale: "s" }))), this.range && this.layout === "vertical" && this.scale !== "s" && (hAsync("div", { class: "vertical-arrow-container" }, hAsync("calcite-icon", { icon: "arrow-down", scale: "s" }))), this.range && (hAsync("div", { class: "input-wrapper", ref: this.setEndWrapper }, hAsync("calcite-input", { class: {
|
|
20253
20265
|
input: true,
|
|
20254
20266
|
"border-top-color-one": this.layout === "vertical" && this.range
|
|
20255
|
-
}, disabled: disabled, icon: "calendar", "number-button-type": "none",
|
|
20267
|
+
}, disabled: disabled, icon: "calendar", "number-button-type": "none", onCalciteInputInput: this.inputInput, onCalciteInternalInputBlur: this.inputBlur, onCalciteInternalInputFocus: this.endInputFocus, placeholder: (_b = this.localeData) === null || _b === void 0 ? void 0 : _b.placeholder, ref: this.setEndInput, scale: this.scale, type: "text", value: formattedEndDate }))))), hAsync(HiddenFormInputSlot, { component: this })));
|
|
20256
20268
|
}
|
|
20257
20269
|
setReferenceEl() {
|
|
20258
20270
|
const { focusedInput, layout, endWrapper, startWrapper } = this;
|
|
@@ -20791,14 +20803,15 @@ class InputTimePicker {
|
|
|
20791
20803
|
// Event Listeners
|
|
20792
20804
|
//
|
|
20793
20805
|
//--------------------------------------------------------------------------
|
|
20794
|
-
this.
|
|
20806
|
+
this.calciteInternalInputBlurHandler = () => {
|
|
20795
20807
|
this.active = false;
|
|
20796
20808
|
const shouldIncludeSeconds = this.shouldIncludeSeconds();
|
|
20797
20809
|
const localizedInputValue = localizeTimeString(this.calciteInputEl.value, this.locale, shouldIncludeSeconds);
|
|
20798
20810
|
this.setInputValue(localizedInputValue || localizeTimeString(this.value, this.locale, shouldIncludeSeconds));
|
|
20799
20811
|
};
|
|
20800
|
-
this.
|
|
20812
|
+
this.calciteInternalInputFocusHandler = (event) => {
|
|
20801
20813
|
this.active = true;
|
|
20814
|
+
event.stopPropagation();
|
|
20802
20815
|
};
|
|
20803
20816
|
this.calciteInputInputHandler = (event) => {
|
|
20804
20817
|
const target = event.target;
|
|
@@ -20809,6 +20822,7 @@ class InputTimePicker {
|
|
|
20809
20822
|
const target = event.target;
|
|
20810
20823
|
const value = target.value;
|
|
20811
20824
|
this.setValue({ value, origin: "time-picker" });
|
|
20825
|
+
event.stopPropagation();
|
|
20812
20826
|
};
|
|
20813
20827
|
// --------------------------------------------------------------------------
|
|
20814
20828
|
//
|
|
@@ -20966,7 +20980,7 @@ class InputTimePicker {
|
|
|
20966
20980
|
// --------------------------------------------------------------------------
|
|
20967
20981
|
render() {
|
|
20968
20982
|
const popoverId = `${this.referenceElementId}-popover`;
|
|
20969
|
-
return (hAsync(Host, { onKeyDown: this.keyDownHandler }, hAsync("div", { "aria-controls": popoverId, "aria-haspopup": "dialog", "aria-label": this.name, "aria-owns": popoverId, id: this.referenceElementId, role: "combobox" }, hAsync("calcite-input", { disabled: this.disabled, icon: "clock", label: getLabelText(this),
|
|
20983
|
+
return (hAsync(Host, { onKeyDown: this.keyDownHandler }, hAsync("div", { "aria-controls": popoverId, "aria-haspopup": "dialog", "aria-label": this.name, "aria-owns": popoverId, id: this.referenceElementId, role: "combobox" }, hAsync("calcite-input", { disabled: this.disabled, icon: "clock", label: getLabelText(this), onCalciteInputInput: this.calciteInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.calciteInternalInputFocusHandler, ref: this.setCalciteInputEl, scale: this.scale, step: this.step })), hAsync("calcite-popover", { id: popoverId, label: "Time Picker", open: this.active, placement: this.placement, ref: this.setCalcitePopoverEl, referenceElement: this.referenceElementId }, hAsync("calcite-time-picker", { intlHour: this.intlHour, intlHourDown: this.intlHourDown, intlHourUp: this.intlHourUp, intlMeridiem: this.intlMeridiem, intlMeridiemDown: this.intlMeridiemDown, intlMeridiemUp: this.intlMeridiemUp, intlMinute: this.intlMinute, intlMinuteDown: this.intlMinuteDown, intlMinuteUp: this.intlMinuteUp, intlSecond: this.intlSecond, intlSecondDown: this.intlSecondDown, intlSecondUp: this.intlSecondUp, lang: this.locale, onCalciteInternalTimePickerChange: this.timePickerChangeHandler, ref: this.setCalciteTimePickerEl, scale: this.scale, step: this.step, value: this.value })), hAsync(HiddenFormInputSlot, { component: this })));
|
|
20970
20984
|
}
|
|
20971
20985
|
get el() { return getElement(this); }
|
|
20972
20986
|
static get watchers() { return {
|
|
@@ -21005,7 +21019,7 @@ class InputTimePicker {
|
|
|
21005
21019
|
"setFocus": [64],
|
|
21006
21020
|
"reposition": [64]
|
|
21007
21021
|
},
|
|
21008
|
-
"$listeners$": [[0, "click", "clickHandler"], [0, "keyup", "keyUpHandler"], [0, "
|
|
21022
|
+
"$listeners$": [[0, "click", "clickHandler"], [0, "keyup", "keyUpHandler"], [0, "calciteInternalTimePickerBlur", "timePickerBlurHandler"], [0, "calciteInternalTimePickerFocus", "timePickerFocusHandler"]],
|
|
21009
21023
|
"$lazyBundleId$": "-",
|
|
21010
21024
|
"$attrsToReflect$": [["active", "active"], ["disabled", "disabled"], ["required", "required"], ["scale", "scale"], ["placement", "placement"]]
|
|
21011
21025
|
}; }
|
|
@@ -21186,7 +21200,7 @@ const listCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes i
|
|
|
21186
21200
|
|
|
21187
21201
|
/**
|
|
21188
21202
|
* A general purpose list that enables users to construct list items that conform to Calcite styling.
|
|
21189
|
-
* @slot - A slot for adding
|
|
21203
|
+
* @slot - A slot for adding calcite-list-item elements.
|
|
21190
21204
|
*/
|
|
21191
21205
|
class List$1 {
|
|
21192
21206
|
constructor(hostRef) {
|
|
@@ -21197,7 +21211,7 @@ class List$1 {
|
|
|
21197
21211
|
//
|
|
21198
21212
|
// --------------------------------------------------------------------------
|
|
21199
21213
|
/**
|
|
21200
|
-
* When true,
|
|
21214
|
+
* When true, prevents user interaction.
|
|
21201
21215
|
*/
|
|
21202
21216
|
this.disabled = false;
|
|
21203
21217
|
}
|
|
@@ -21267,11 +21281,11 @@ const SLOTS$f = {
|
|
|
21267
21281
|
const listItemCss = "@-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-list-item: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-list-item{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-list-item{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-list-item{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-list-item{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-list-item{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-list-item:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-list-item-h{display:none}/*!@:host*/.sc-calcite-list-item-h{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}/*!@:host([disabled])*/[disabled].sc-calcite-list-item-h{pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-list-item-h[disabled] .sc-calcite-list-item-s>[calcite-hydrated][disabled],[disabled].sc-calcite-list-item-h [calcite-hydrated][disabled].sc-calcite-list-item{opacity:1}/*!@.container*/.container.sc-calcite-list-item{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex:1 1 0%;flex:1 1 0%;background-color:var(--calcite-ui-foreground-1);font-family:var(--calcite-sans-family)}/*!@.container **/.container.sc-calcite-list-item *.sc-calcite-list-item{-webkit-box-sizing:border-box;box-sizing:border-box}/*!@.nested-container*/.nested-container.sc-calcite-list-item{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:var(--calcite-ui-foreground-1)}/*!@.content-container*/.content-container.sc-calcite-list-item{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;padding:0px;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);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}/*!@.content-container--button*/.content-container--button.sc-calcite-list-item{cursor:pointer;border-style:none;background-color:var(--calcite-ui-foreground-1);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;text-align:initial}/*!@.content-container--button:hover*/.content-container--button.sc-calcite-list-item:hover{background-color:var(--calcite-ui-foreground-2)}/*!@.content-container--button:hover .label, .content-container--button:hover .description*/.content-container--button.sc-calcite-list-item:hover .label.sc-calcite-list-item,.content-container--button.sc-calcite-list-item:hover .description.sc-calcite-list-item{color:var(--calcite-ui-text-1)}/*!@.content-container--button:focus*/.content-container--button.sc-calcite-list-item:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@.content-container--button .content-start, .content-container--button .content-end*/.content-container--button.sc-calcite-list-item .content-start.sc-calcite-list-item,.content-container--button.sc-calcite-list-item .content-end.sc-calcite-list-item{pointer-events:none}/*!@.content*/.content.sc-calcite-list-item{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;padding-left:0.75rem;padding-right:0.75rem;padding-top:0.5rem;padding-bottom:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375}/*!@.label, .description*/.label.sc-calcite-list-item,.description.sc-calcite-list-item{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);word-wrap:break-word;word-break:break-word}/*!@.label:only-child, .description:only-child*/.label.sc-calcite-list-item:only-child,.description.sc-calcite-list-item:only-child{margin:0px;padding-top:0.25rem;padding-bottom:0.25rem}/*!@.label*/.label.sc-calcite-list-item{color:var(--calcite-ui-text-1)}/*!@.description*/.description.sc-calcite-list-item{margin-top:0.125rem;color:var(--calcite-ui-text-3)}/*!@.content-start*/.content-start.sc-calcite-list-item{-ms-flex-pack:start;justify-content:flex-start}/*!@.content-end*/.content-end.sc-calcite-list-item{-ms-flex-pack:end;justify-content:flex-end}/*!@.content-start, .content-end*/.content-start.sc-calcite-list-item,.content-end.sc-calcite-list-item{-ms-flex:1 1 auto;flex:1 1 auto}/*!@.has-center-content .content-start, .has-center-content .content-end*/.has-center-content.sc-calcite-list-item .content-start.sc-calcite-list-item,.has-center-content.sc-calcite-list-item .content-end.sc-calcite-list-item{-ms-flex:0 1 auto;flex:0 1 auto}/*!@.actions-start, .actions-end, .content-start, .content-end*/.actions-start.sc-calcite-list-item,.actions-end.sc-calcite-list-item,.content-start.sc-calcite-list-item,.content-end.sc-calcite-list-item{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}/*!@.content-start ::slotted(calcite-icon), .content-end ::slotted(calcite-icon)*/.content-start .sc-calcite-list-item-s>calcite-icon,.content-end.sc-calcite-list-item-s>calcite-icon,.content-end .sc-calcite-list-item-s>calcite-icon{-ms-flex-item-align:center;align-self:center;padding-left:0.75rem;padding-right:0.75rem}/*!@.actions-start ::slotted(calcite-action), .actions-end ::slotted(calcite-action)*/.actions-start .sc-calcite-list-item-s>calcite-action,.actions-end.sc-calcite-list-item-s>calcite-action,.actions-end .sc-calcite-list-item-s>calcite-action{-ms-flex-item-align:stretch;align-self:stretch;color:inherit}/*!@::slotted(calcite-list-item-group), ::slotted(calcite-list-item)*/.sc-calcite-list-item-s>calcite-list-item-group,.sc-calcite-list-item-s>calcite-list-item{padding-left:0.5rem}";
|
|
21268
21282
|
|
|
21269
21283
|
/**
|
|
21270
|
-
* @slot - A slot for adding
|
|
21271
|
-
* @slot actions-start - A slot for adding actionable
|
|
21284
|
+
* @slot - A slot for adding calcite-list-item and calcite-list-item-group elements.
|
|
21285
|
+
* @slot actions-start - A slot for adding actionable calcite-action elements before the content of the list item.
|
|
21272
21286
|
* @slot content-start - A slot for adding non-actionable elements before the label and description of the list item.
|
|
21273
21287
|
* @slot content-end - A slot for adding non-actionable elements after the label and description of the list item.
|
|
21274
|
-
* @slot actions-end - A slot for adding actionable
|
|
21288
|
+
* @slot actions-end - A slot for adding actionable calcite-action elements after the content of the list item.
|
|
21275
21289
|
*/
|
|
21276
21290
|
class ListItem {
|
|
21277
21291
|
constructor(hostRef) {
|
|
@@ -21286,7 +21300,7 @@ class ListItem {
|
|
|
21286
21300
|
*/
|
|
21287
21301
|
this.nonInteractive = false;
|
|
21288
21302
|
/**
|
|
21289
|
-
* When true,
|
|
21303
|
+
* When true, prevents user interaction.
|
|
21290
21304
|
*/
|
|
21291
21305
|
this.disabled = false;
|
|
21292
21306
|
}
|
|
@@ -21384,7 +21398,7 @@ const HEADING_LEVEL$5 = 3;
|
|
|
21384
21398
|
const listItemGroupCss = "@-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-list-item-group: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-list-item-group{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-list-item-group{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-list-item-group{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-list-item-group{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-list-item-group{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-list-item-group:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-list-item-group-h{display:none}/*!@:host*/.sc-calcite-list-item-group-h{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}/*!@.heading*/.heading.sc-calcite-list-item-group{margin:0px;display:-ms-flexbox;display:flex;-ms-flex:1 1 0%;flex:1 1 0%;background-color:var(--calcite-ui-foreground-2);padding:0.75rem;font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}/*!@.container*/.container.sc-calcite-list-item-group{display:-ms-flexbox;display:flex;width:100%;-ms-flex-direction:column;flex-direction:column;background-color:var(--calcite-ui-foreground-1)}/*!@::slotted(calcite-list-item-group)*/.sc-calcite-list-item-group-s>calcite-list-item-group{padding-left:0.5rem}";
|
|
21385
21399
|
|
|
21386
21400
|
/**
|
|
21387
|
-
* @slot - A slot for adding
|
|
21401
|
+
* @slot - A slot for adding calcite-list-item and calcite-list-item-group elements.
|
|
21388
21402
|
*/
|
|
21389
21403
|
class ListItemGroup {
|
|
21390
21404
|
constructor(hostRef) {
|
|
@@ -21428,17 +21442,17 @@ class Loader {
|
|
|
21428
21442
|
// Properties
|
|
21429
21443
|
//
|
|
21430
21444
|
//--------------------------------------------------------------------------
|
|
21431
|
-
/**
|
|
21445
|
+
/** When true, the loader is active. */
|
|
21432
21446
|
this.active = false;
|
|
21433
|
-
/**
|
|
21447
|
+
/** When true, displays smaller and appears to the left of the text. */
|
|
21434
21448
|
this.inline = false;
|
|
21435
|
-
/**
|
|
21449
|
+
/** Specify the scale of the loader. */
|
|
21436
21450
|
this.scale = "m";
|
|
21437
|
-
/**
|
|
21451
|
+
/** Valid only for determinate indicators. Percent complete of 100. */
|
|
21438
21452
|
this.value = 0;
|
|
21439
|
-
/** Text
|
|
21453
|
+
/** Text that displays under the loading indicator. */
|
|
21440
21454
|
this.text = "";
|
|
21441
|
-
/**
|
|
21455
|
+
/** Disables spacing around the loader. */
|
|
21442
21456
|
this.noPadding = false;
|
|
21443
21457
|
}
|
|
21444
21458
|
//--------------------------------------------------------------------------
|
|
@@ -22034,7 +22048,7 @@ const optionCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes
|
|
|
22034
22048
|
class Option {
|
|
22035
22049
|
constructor(hostRef) {
|
|
22036
22050
|
registerInstance(this, hostRef);
|
|
22037
|
-
this.
|
|
22051
|
+
this.calciteInternalOptionChange = createEvent(this, "calciteInternalOptionChange", 7);
|
|
22038
22052
|
//--------------------------------------------------------------------------
|
|
22039
22053
|
//
|
|
22040
22054
|
// Properties
|
|
@@ -22050,7 +22064,7 @@ class Option {
|
|
|
22050
22064
|
if (propName === "label" || propName === "value") {
|
|
22051
22065
|
this.ensureTextContentDependentProps();
|
|
22052
22066
|
}
|
|
22053
|
-
this.
|
|
22067
|
+
this.calciteInternalOptionChange.emit();
|
|
22054
22068
|
}
|
|
22055
22069
|
//--------------------------------------------------------------------------
|
|
22056
22070
|
//
|
|
@@ -22126,7 +22140,7 @@ const optionGroupCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyf
|
|
|
22126
22140
|
class OptionGroup {
|
|
22127
22141
|
constructor(hostRef) {
|
|
22128
22142
|
registerInstance(this, hostRef);
|
|
22129
|
-
this.
|
|
22143
|
+
this.calciteInternalOptionGroupChange = createEvent(this, "calciteInternalOptionGroupChange", 7);
|
|
22130
22144
|
//--------------------------------------------------------------------------
|
|
22131
22145
|
//
|
|
22132
22146
|
// Properties
|
|
@@ -22138,7 +22152,7 @@ class OptionGroup {
|
|
|
22138
22152
|
this.disabled = false;
|
|
22139
22153
|
}
|
|
22140
22154
|
handlePropChange() {
|
|
22141
|
-
this.
|
|
22155
|
+
this.calciteInternalOptionGroupChange.emit();
|
|
22142
22156
|
}
|
|
22143
22157
|
//--------------------------------------------------------------------------
|
|
22144
22158
|
//
|
|
@@ -22737,8 +22751,7 @@ function calciteListItemChangeHandler(event) {
|
|
|
22737
22751
|
this.lastSelectedItem = item;
|
|
22738
22752
|
this.emitCalciteListChange();
|
|
22739
22753
|
}
|
|
22740
|
-
function
|
|
22741
|
-
event.stopPropagation();
|
|
22754
|
+
function calciteInternalListItemValueChangeHandler(event) {
|
|
22742
22755
|
const oldValue = event.detail.oldValue;
|
|
22743
22756
|
const selectedValues = this.selectedValues;
|
|
22744
22757
|
if (selectedValues.has(oldValue)) {
|
|
@@ -22746,6 +22759,7 @@ function calciteListItemValueChangeHandler(event) {
|
|
|
22746
22759
|
selectedValues.delete(oldValue);
|
|
22747
22760
|
selectedValues.set(event.detail.newValue, item);
|
|
22748
22761
|
}
|
|
22762
|
+
event.stopPropagation();
|
|
22749
22763
|
}
|
|
22750
22764
|
// --------------------------------------------------------------------------
|
|
22751
22765
|
//
|
|
@@ -23069,12 +23083,13 @@ class PickList {
|
|
|
23069
23083
|
calciteListItemChangeHandler(event) {
|
|
23070
23084
|
calciteListItemChangeHandler.call(this, event);
|
|
23071
23085
|
}
|
|
23072
|
-
|
|
23086
|
+
calciteInternalListItemPropsChangeHandler(event) {
|
|
23073
23087
|
event.stopPropagation();
|
|
23074
23088
|
this.setUpFilter();
|
|
23075
23089
|
}
|
|
23076
|
-
|
|
23077
|
-
|
|
23090
|
+
calciteInternalListItemValueChangeHandler(event) {
|
|
23091
|
+
calciteInternalListItemValueChangeHandler.call(this, event);
|
|
23092
|
+
event.stopPropagation();
|
|
23078
23093
|
}
|
|
23079
23094
|
calciteListFocusOutHandler(event) {
|
|
23080
23095
|
calciteListFocusOutHandler.call(this, event);
|
|
@@ -23134,7 +23149,7 @@ class PickList {
|
|
|
23134
23149
|
"getSelectedItems": [64],
|
|
23135
23150
|
"setFocus": [64]
|
|
23136
23151
|
},
|
|
23137
|
-
"$listeners$": [[0, "calciteListItemRemove", "calciteListItemRemoveHandler"], [0, "calciteListItemChange", "calciteListItemChangeHandler"], [0, "
|
|
23152
|
+
"$listeners$": [[0, "calciteListItemRemove", "calciteListItemRemoveHandler"], [0, "calciteListItemChange", "calciteListItemChangeHandler"], [0, "calciteInternalListItemPropsChange", "calciteInternalListItemPropsChangeHandler"], [0, "calciteInternalListItemValueChange", "calciteInternalListItemValueChangeHandler"], [0, "focusout", "calciteListFocusOutHandler"]],
|
|
23138
23153
|
"$lazyBundleId$": "-",
|
|
23139
23154
|
"$attrsToReflect$": [["disabled", "disabled"], ["filterEnabled", "filter-enabled"], ["filterPlaceholder", "filter-placeholder"], ["loading", "loading"], ["multiple", "multiple"]]
|
|
23140
23155
|
}; }
|
|
@@ -23232,8 +23247,8 @@ class PickListItem {
|
|
|
23232
23247
|
registerInstance(this, hostRef);
|
|
23233
23248
|
this.calciteListItemChange = createEvent(this, "calciteListItemChange", 7);
|
|
23234
23249
|
this.calciteListItemRemove = createEvent(this, "calciteListItemRemove", 7);
|
|
23235
|
-
this.
|
|
23236
|
-
this.
|
|
23250
|
+
this.calciteInternalListItemPropsChange = createEvent(this, "calciteInternalListItemPropsChange", 7);
|
|
23251
|
+
this.calciteInternalListItemValueChange = createEvent(this, "calciteInternalListItemValueChange", 7);
|
|
23237
23252
|
/**
|
|
23238
23253
|
* When true, the item cannot be clicked and is visually muted.
|
|
23239
23254
|
*/
|
|
@@ -23290,13 +23305,13 @@ class PickListItem {
|
|
|
23290
23305
|
};
|
|
23291
23306
|
}
|
|
23292
23307
|
descriptionWatchHandler() {
|
|
23293
|
-
this.
|
|
23308
|
+
this.calciteInternalListItemPropsChange.emit();
|
|
23294
23309
|
}
|
|
23295
23310
|
labelWatchHandler() {
|
|
23296
|
-
this.
|
|
23311
|
+
this.calciteInternalListItemPropsChange.emit();
|
|
23297
23312
|
}
|
|
23298
23313
|
metadataWatchHandler() {
|
|
23299
|
-
this.
|
|
23314
|
+
this.calciteInternalListItemPropsChange.emit();
|
|
23300
23315
|
}
|
|
23301
23316
|
selectedWatchHandler() {
|
|
23302
23317
|
this.calciteListItemChange.emit({
|
|
@@ -23308,7 +23323,7 @@ class PickListItem {
|
|
|
23308
23323
|
this.shiftPressed = false;
|
|
23309
23324
|
}
|
|
23310
23325
|
valueWatchHandler(newValue, oldValue) {
|
|
23311
|
-
this.
|
|
23326
|
+
this.calciteInternalListItemValueChange.emit({ oldValue, newValue });
|
|
23312
23327
|
}
|
|
23313
23328
|
// --------------------------------------------------------------------------
|
|
23314
23329
|
//
|
|
@@ -23445,7 +23460,7 @@ class PopoverManager$1 {
|
|
|
23445
23460
|
const registeredElement = composedPath.find((pathEl) => registeredElements.has(pathEl));
|
|
23446
23461
|
return registeredElements.get(registeredElement);
|
|
23447
23462
|
};
|
|
23448
|
-
this.
|
|
23463
|
+
this.togglePopovers = (event) => {
|
|
23449
23464
|
const composedPath = event.composedPath();
|
|
23450
23465
|
const popover = this.queryPopover(composedPath);
|
|
23451
23466
|
if (popover) {
|
|
@@ -23456,6 +23471,15 @@ class PopoverManager$1 {
|
|
|
23456
23471
|
.filter((popover) => popover.autoClose && popover.open && !composedPath.includes(popover))
|
|
23457
23472
|
.forEach((popover) => popover.toggle(false));
|
|
23458
23473
|
};
|
|
23474
|
+
this.keyHandler = (event) => {
|
|
23475
|
+
if (event.key !== "Enter" && event.key !== " ") {
|
|
23476
|
+
return;
|
|
23477
|
+
}
|
|
23478
|
+
this.togglePopovers(event);
|
|
23479
|
+
};
|
|
23480
|
+
this.clickHandler = (event) => {
|
|
23481
|
+
this.togglePopovers(event);
|
|
23482
|
+
};
|
|
23459
23483
|
}
|
|
23460
23484
|
// --------------------------------------------------------------------------
|
|
23461
23485
|
//
|
|
@@ -23479,9 +23503,11 @@ class PopoverManager$1 {
|
|
|
23479
23503
|
}
|
|
23480
23504
|
addListeners() {
|
|
23481
23505
|
document.addEventListener("pointerdown", this.clickHandler, { capture: true });
|
|
23506
|
+
document.addEventListener("keydown", this.keyHandler, { capture: true });
|
|
23482
23507
|
}
|
|
23483
23508
|
removeListeners() {
|
|
23484
23509
|
document.removeEventListener("pointerdown", this.clickHandler, { capture: true });
|
|
23510
|
+
document.removeEventListener("keydown", this.keyHandler, { capture: true });
|
|
23485
23511
|
}
|
|
23486
23512
|
}
|
|
23487
23513
|
|
|
@@ -24407,9 +24433,9 @@ class RadioGroup {
|
|
|
24407
24433
|
return (hAsync(Host, { onClick: this.handleClick, role: "radiogroup" }, hAsync("slot", null), hAsync(HiddenFormInputSlot, { component: this })));
|
|
24408
24434
|
}
|
|
24409
24435
|
handleSelected(event) {
|
|
24410
|
-
event.stopPropagation();
|
|
24411
24436
|
event.preventDefault();
|
|
24412
24437
|
this.selectItem(event.target);
|
|
24438
|
+
event.stopPropagation();
|
|
24413
24439
|
}
|
|
24414
24440
|
handleKeyDown(event) {
|
|
24415
24441
|
const keys = ["ArrowLeft", "ArrowUp", "ArrowRight", "ArrowDown", " "];
|
|
@@ -24518,7 +24544,7 @@ class RadioGroup {
|
|
|
24518
24544
|
"width": [513],
|
|
24519
24545
|
"setFocus": [64]
|
|
24520
24546
|
},
|
|
24521
|
-
"$listeners$": [[0, "
|
|
24547
|
+
"$listeners$": [[0, "calciteInternalRadioGroupItemChange", "handleSelected"], [0, "keydown", "handleKeyDown"]],
|
|
24522
24548
|
"$lazyBundleId$": "-",
|
|
24523
24549
|
"$attrsToReflect$": [["appearance", "appearance"], ["disabled", "disabled"], ["required", "required"], ["layout", "layout"], ["scale", "scale"], ["width", "width"]]
|
|
24524
24550
|
}; }
|
|
@@ -24536,7 +24562,7 @@ const radioGroupItemCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@k
|
|
|
24536
24562
|
class RadioGroupItem {
|
|
24537
24563
|
constructor(hostRef) {
|
|
24538
24564
|
registerInstance(this, hostRef);
|
|
24539
|
-
this.
|
|
24565
|
+
this.calciteInternalRadioGroupItemChange = createEvent(this, "calciteInternalRadioGroupItemChange", 7);
|
|
24540
24566
|
//--------------------------------------------------------------------------
|
|
24541
24567
|
//
|
|
24542
24568
|
// Properties
|
|
@@ -24550,7 +24576,7 @@ class RadioGroupItem {
|
|
|
24550
24576
|
this.iconPosition = "start";
|
|
24551
24577
|
}
|
|
24552
24578
|
handleCheckedChange() {
|
|
24553
|
-
this.
|
|
24579
|
+
this.calciteInternalRadioGroupItemChange.emit();
|
|
24554
24580
|
}
|
|
24555
24581
|
render() {
|
|
24556
24582
|
const { checked, value } = this;
|
|
@@ -25012,7 +25038,7 @@ class Select {
|
|
|
25012
25038
|
"width": [513],
|
|
25013
25039
|
"setFocus": [64]
|
|
25014
25040
|
},
|
|
25015
|
-
"$listeners$": [[0, "
|
|
25041
|
+
"$listeners$": [[0, "calciteInternalOptionChange", "handleOptionOrGroupChange"], [0, "calciteInternalOptionGroupChange", "handleOptionOrGroupChange"]],
|
|
25016
25042
|
"$lazyBundleId$": "-",
|
|
25017
25043
|
"$attrsToReflect$": [["disabled", "disabled"], ["required", "required"], ["scale", "scale"], ["width", "width"]]
|
|
25018
25044
|
}; }
|
|
@@ -29553,7 +29579,7 @@ const stepperCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframe
|
|
|
29553
29579
|
class Stepper {
|
|
29554
29580
|
constructor(hostRef) {
|
|
29555
29581
|
registerInstance(this, hostRef);
|
|
29556
|
-
this.
|
|
29582
|
+
this.calciteInternalStepperItemChange = createEvent(this, "calciteInternalStepperItemChange", 7);
|
|
29557
29583
|
//--------------------------------------------------------------------------
|
|
29558
29584
|
//
|
|
29559
29585
|
// Public Properties
|
|
@@ -29572,7 +29598,6 @@ class Stepper {
|
|
|
29572
29598
|
// Private State/Props
|
|
29573
29599
|
//
|
|
29574
29600
|
//--------------------------------------------------------------------------
|
|
29575
|
-
/** map of Stepper items */
|
|
29576
29601
|
this.itemMap = new Map();
|
|
29577
29602
|
/** list of sorted Stepper items */
|
|
29578
29603
|
this.items = [];
|
|
@@ -29596,7 +29621,7 @@ class Stepper {
|
|
|
29596
29621
|
componentDidLoad() {
|
|
29597
29622
|
// if no stepper items are set as active, default to the first one
|
|
29598
29623
|
if (!this.currentPosition) {
|
|
29599
|
-
this.
|
|
29624
|
+
this.calciteInternalStepperItemChange.emit({
|
|
29600
29625
|
position: 0
|
|
29601
29626
|
});
|
|
29602
29627
|
}
|
|
@@ -29614,7 +29639,7 @@ class Stepper {
|
|
|
29614
29639
|
// Event Listeners
|
|
29615
29640
|
//
|
|
29616
29641
|
//--------------------------------------------------------------------------
|
|
29617
|
-
|
|
29642
|
+
calciteInternalStepperItemKeyEvent(e) {
|
|
29618
29643
|
const item = e.detail.item;
|
|
29619
29644
|
const itemToFocus = e.target;
|
|
29620
29645
|
const isFirstItem = this.itemIndex(itemToFocus) === 0;
|
|
@@ -29645,6 +29670,7 @@ class Stepper {
|
|
|
29645
29670
|
this.focusLastItem();
|
|
29646
29671
|
break;
|
|
29647
29672
|
}
|
|
29673
|
+
e.stopPropagation();
|
|
29648
29674
|
}
|
|
29649
29675
|
registerItem(event) {
|
|
29650
29676
|
const item = event.target;
|
|
@@ -29655,15 +29681,17 @@ class Stepper {
|
|
|
29655
29681
|
this.itemMap.set(item, position);
|
|
29656
29682
|
this.items = this.sortItems();
|
|
29657
29683
|
this.enabledItems = this.filterItems();
|
|
29684
|
+
event.stopPropagation();
|
|
29658
29685
|
}
|
|
29659
29686
|
updateItem(event) {
|
|
29660
29687
|
if (event.detail.content) {
|
|
29661
29688
|
this.requestedContent = event.detail.content;
|
|
29662
29689
|
}
|
|
29663
29690
|
this.currentPosition = event.detail.position;
|
|
29664
|
-
this.
|
|
29691
|
+
this.calciteInternalStepperItemChange.emit({
|
|
29665
29692
|
position: this.currentPosition
|
|
29666
29693
|
});
|
|
29694
|
+
event.stopPropagation();
|
|
29667
29695
|
}
|
|
29668
29696
|
//--------------------------------------------------------------------------
|
|
29669
29697
|
//
|
|
@@ -29676,8 +29704,7 @@ class Stepper {
|
|
|
29676
29704
|
if (typeof enabledStepIndex !== "number") {
|
|
29677
29705
|
return;
|
|
29678
29706
|
}
|
|
29679
|
-
this.
|
|
29680
|
-
this.emitChangedItem();
|
|
29707
|
+
this.emitChangedItem(enabledStepIndex);
|
|
29681
29708
|
}
|
|
29682
29709
|
/** set the previous step as active */
|
|
29683
29710
|
async prevStep() {
|
|
@@ -29685,15 +29712,13 @@ class Stepper {
|
|
|
29685
29712
|
if (typeof enabledStepIndex !== "number") {
|
|
29686
29713
|
return;
|
|
29687
29714
|
}
|
|
29688
|
-
this.
|
|
29689
|
-
this.emitChangedItem();
|
|
29715
|
+
this.emitChangedItem(enabledStepIndex);
|
|
29690
29716
|
}
|
|
29691
29717
|
/** set the requested step as active */
|
|
29692
29718
|
async goToStep(step) {
|
|
29693
29719
|
const position = step - 1;
|
|
29694
29720
|
if (this.currentPosition !== position) {
|
|
29695
|
-
this.
|
|
29696
|
-
this.emitChangedItem();
|
|
29721
|
+
this.emitChangedItem(position);
|
|
29697
29722
|
}
|
|
29698
29723
|
}
|
|
29699
29724
|
/** set the first step as active */
|
|
@@ -29702,8 +29727,7 @@ class Stepper {
|
|
|
29702
29727
|
if (typeof enabledStepIndex !== "number") {
|
|
29703
29728
|
return;
|
|
29704
29729
|
}
|
|
29705
|
-
this.
|
|
29706
|
-
this.emitChangedItem();
|
|
29730
|
+
this.emitChangedItem(enabledStepIndex);
|
|
29707
29731
|
}
|
|
29708
29732
|
/** set the last step as active */
|
|
29709
29733
|
async endStep() {
|
|
@@ -29711,8 +29735,7 @@ class Stepper {
|
|
|
29711
29735
|
if (typeof enabledStepIndex !== "number") {
|
|
29712
29736
|
return;
|
|
29713
29737
|
}
|
|
29714
|
-
this.
|
|
29715
|
-
this.emitChangedItem();
|
|
29738
|
+
this.emitChangedItem(enabledStepIndex);
|
|
29716
29739
|
}
|
|
29717
29740
|
//--------------------------------------------------------------------------
|
|
29718
29741
|
//
|
|
@@ -29735,9 +29758,10 @@ class Stepper {
|
|
|
29735
29758
|
this.stepperContentContainer.classList.add("calcite-stepper-content");
|
|
29736
29759
|
this.el.insertAdjacentElement("beforeend", this.stepperContentContainer);
|
|
29737
29760
|
}
|
|
29738
|
-
emitChangedItem() {
|
|
29739
|
-
this.
|
|
29740
|
-
|
|
29761
|
+
emitChangedItem(position) {
|
|
29762
|
+
this.currentPosition = position;
|
|
29763
|
+
this.calciteInternalStepperItemChange.emit({
|
|
29764
|
+
position
|
|
29741
29765
|
});
|
|
29742
29766
|
}
|
|
29743
29767
|
focusFirstItem() {
|
|
@@ -29795,13 +29819,13 @@ class Stepper {
|
|
|
29795
29819
|
"startStep": [64],
|
|
29796
29820
|
"endStep": [64]
|
|
29797
29821
|
},
|
|
29798
|
-
"$listeners$": [[0, "
|
|
29822
|
+
"$listeners$": [[0, "calciteInternalStepperItemKeyEvent", "calciteInternalStepperItemKeyEvent"], [0, "calciteInternalStepperItemRegister", "registerItem"], [0, "calciteInternalStepperItemSelect", "updateItem"]],
|
|
29799
29823
|
"$lazyBundleId$": "-",
|
|
29800
29824
|
"$attrsToReflect$": [["icon", "icon"], ["layout", "layout"], ["numbered", "numbered"], ["scale", "scale"]]
|
|
29801
29825
|
}; }
|
|
29802
29826
|
}
|
|
29803
29827
|
|
|
29804
|
-
const stepperItemCss = "@-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-stepper-item: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-stepper-item{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-stepper-item{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-stepper-item{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-stepper-item{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-stepper-item{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-stepper-item:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-stepper-item-h{display:none}/*!@:host([scale=s])*/[scale=s].sc-calcite-stepper-item-h{--calcite-stepper-item-spacing-unit-s:0.25rem;--calcite-stepper-item-spacing-unit-m:0.75rem;--calcite-stepper-item-spacing-unit-l:1rem;font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-margin-end:0.25rem;margin-inline-end:0.25rem}/*!@:host([scale=s]) .stepper-item-subtitle*/[scale=s].sc-calcite-stepper-item-h .stepper-item-subtitle.sc-calcite-stepper-item{font-size:var(--calcite-font-size--2);line-height:1rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-stepper-item-h{--calcite-stepper-item-spacing-unit-s:0.5rem;--calcite-stepper-item-spacing-unit-m:1rem;--calcite-stepper-item-spacing-unit-l:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}/*!@:host([scale=m]) .stepper-item-subtitle*/[scale=m].sc-calcite-stepper-item-h .stepper-item-subtitle.sc-calcite-stepper-item{font-size:var(--calcite-font-size--1);line-height:1rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-stepper-item-h{--calcite-stepper-item-spacing-unit-s:0.75rem;--calcite-stepper-item-spacing-unit-m:1.25rem;--calcite-stepper-item-spacing-unit-l:1.5rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}/*!@:host([scale=l]) .stepper-item-subtitle*/[scale=l].sc-calcite-stepper-item-h .stepper-item-subtitle.sc-calcite-stepper-item{font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host*/.sc-calcite-stepper-item-h{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;margin-bottom:var(--calcite-stepper-item-spacing-unit-s)}/*!@:host .container*/.sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;cursor:pointer;-ms-flex-direction:column;flex-direction:column;border-width:0px;border-top-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;-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)}/*!@:host*/.sc-calcite-stepper-item-h{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}/*!@:host(:focus)*/.sc-calcite-stepper-item-h:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}/*!@:host .stepper-item-header*/.sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:start;align-items:flex-start}/*!@:host .stepper-item-content, :host .stepper-item-header*/.sc-calcite-stepper-item-h .stepper-item-content.sc-calcite-stepper-item,.sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item{-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);padding-block:var(--calcite-stepper-item-spacing-unit-l);-webkit-padding-end:var(--calcite-stepper-item-spacing-unit-m);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}/*!@:host .stepper-item-header **/.sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item *.sc-calcite-stepper-item{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-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)}/*!@:host .stepper-item-content*/.sc-calcite-stepper-item-h .stepper-item-content.sc-calcite-stepper-item{display:none;width:100%;-ms-flex-direction:column;flex-direction:column;font-size:var(--calcite-font-size--2);line-height:1.375}/*!@:host .stepper-item-icon*/.sc-calcite-stepper-item-h .stepper-item-icon.sc-calcite-stepper-item{-webkit-margin-end:var(--calcite-stepper-item-spacing-unit-m);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m);margin-top:1px;display:-ms-inline-flexbox;display:inline-flex;height:0.75rem;-ms-flex-negative:0;flex-shrink:0;-ms-flex-item-align:start;align-self:flex-start;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);-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)}/*!@:host .stepper-item-header-text*/.sc-calcite-stepper-item-h .stepper-item-header-text.sc-calcite-stepper-item{-ms-flex-direction:column;flex-direction:column;text-align:initial;-webkit-margin-end:auto;margin-inline-end:auto}/*!@:host .stepper-item-title, :host .stepper-item-subtitle*/.sc-calcite-stepper-item-h .stepper-item-title.sc-calcite-stepper-item,.sc-calcite-stepper-item-h .stepper-item-subtitle.sc-calcite-stepper-item{display:-ms-flexbox;display:flex;width:100%}/*!@:host .stepper-item-title*/.sc-calcite-stepper-item-h .stepper-item-title.sc-calcite-stepper-item{margin-bottom:0.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}/*!@:host .stepper-item-subtitle*/.sc-calcite-stepper-item-h .stepper-item-subtitle.sc-calcite-stepper-item{color:var(--calcite-ui-text-3)}/*!@:host .stepper-item-number*/.sc-calcite-stepper-item-h .stepper-item-number.sc-calcite-stepper-item{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);-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);-webkit-margin-end:var(--calcite-stepper-item-spacing-unit-m);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m)}/*!@:host([disabled])*/[disabled].sc-calcite-stepper-item-h{pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-stepper-item-h[disabled] .sc-calcite-stepper-item-s>[calcite-hydrated][disabled],[disabled].sc-calcite-stepper-item-h [calcite-hydrated][disabled].sc-calcite-stepper-item{opacity:1}/*!@:host([complete]) .container*/[complete].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-color:rgba(0, 122, 194, 0.5)}/*!@:host([complete]) .container .stepper-item-icon*/[complete].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-icon.sc-calcite-stepper-item{color:var(--calcite-ui-brand)}/*!@:host([error]) .container*/[error].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-top-color:var(--calcite-ui-danger)}/*!@:host([error]) .container .stepper-item-number*/[error].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-number.sc-calcite-stepper-item{color:var(--calcite-ui-danger)}/*!@:host([error]) .container .stepper-item-icon*/[error].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-icon.sc-calcite-stepper-item{opacity:1;color:var(--calcite-ui-danger)}/*!@:host(:hover:not([disabled]):not([active])) .container, :host(:focus:not([disabled]):not([active])) .container*/.sc-calcite-stepper-item-h:hover:not([disabled]):not([active]) .container.sc-calcite-stepper-item,.sc-calcite-stepper-item-h:focus:not([disabled]):not([active]) .container.sc-calcite-stepper-item{border-top-color:var(--calcite-ui-brand)}/*!@:host(:hover:not([disabled]):not([active])) .container .stepper-item-title, :host(:focus:not([disabled]):not([active])) .container .stepper-item-title*/.sc-calcite-stepper-item-h:hover:not([disabled]):not([active]) .container.sc-calcite-stepper-item .stepper-item-title.sc-calcite-stepper-item,.sc-calcite-stepper-item-h:focus:not([disabled]):not([active]) .container.sc-calcite-stepper-item .stepper-item-title.sc-calcite-stepper-item{color:var(--calcite-ui-text-1)}/*!@:host(:hover:not([disabled]):not([active])) .container .stepper-item-subtitle, :host(:focus:not([disabled]):not([active])) .container .stepper-item-subtitle*/.sc-calcite-stepper-item-h:hover:not([disabled]):not([active]) .container.sc-calcite-stepper-item .stepper-item-subtitle.sc-calcite-stepper-item,.sc-calcite-stepper-item-h:focus:not([disabled]):not([active]) .container.sc-calcite-stepper-item .stepper-item-subtitle.sc-calcite-stepper-item{color:var(--calcite-ui-text-2)}/*!@:host([error]:hover:not([disabled]):not([active])) .container, :host([error]:focus:not([disabled]):not([active])) .container*/[error].sc-calcite-stepper-item-h:hover:not([disabled]):not([active]) .container.sc-calcite-stepper-item,[error].sc-calcite-stepper-item-h:focus:not([disabled]):not([active]) .container.sc-calcite-stepper-item{border-top-color:var(--calcite-ui-danger-hover)}/*!@:host([active]) .container*/[active].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-top-color:var(--calcite-ui-brand)}/*!@:host([active]) .container .stepper-item-title*/[active].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-title.sc-calcite-stepper-item{color:var(--calcite-ui-text-1)}/*!@:host([active]) .container .stepper-item-subtitle*/[active].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-subtitle.sc-calcite-stepper-item{color:var(--calcite-ui-text-2)}/*!@:host([active]) .container .stepper-item-number*/[active].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-number.sc-calcite-stepper-item{color:var(--calcite-ui-brand)}/*!@:host([active]) .container .stepper-item-icon*/[active].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-icon.sc-calcite-stepper-item{color:var(--calcite-ui-brand);opacity:1}/*!@:host([layout=vertical]) .container*/[layout=vertical].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{margin-left:0px;margin-right:0px;margin-top:0px;-ms-flex:1 1 auto;flex:1 1 auto;border-top-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-top:0px;padding-bottom:0px;border-inline-start-width:2px;-webkit-padding-start:var(--calcite-stepper-item-spacing-unit-l);padding-inline-start:var(--calcite-stepper-item-spacing-unit-l)}/*!@:host([layout=vertical]) .container .stepper-item-icon*/[layout=vertical].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-icon.sc-calcite-stepper-item{-ms-flex-order:3;order:3;margin-top:1px;margin-bottom:0px;-webkit-padding-start:var(--calcite-stepper-item-spacing-unit-s);padding-inline-start:var(--calcite-stepper-item-spacing-unit-s);-webkit-margin-start:auto;margin-inline-start:auto}/*!@:host([layout=vertical]) .container .stepper-item-header*/[layout=vertical].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-header.sc-calcite-stepper-item{-webkit-padding-end:0px;padding-inline-end:0px}/*!@:host([layout=vertical]) .container .stepper-item-content*/[layout=vertical].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-content.sc-calcite-stepper-item{padding:0px}/*!@:host([layout=vertical][active]) .container .stepper-item-content*/[layout=vertical][active].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-content.sc-calcite-stepper-item{display:-ms-flexbox;display:flex}/*!@:host([layout=vertical][active]) .container .stepper-item-content ::slotted(:last-child)*/.sc-calcite-stepper-item-h[layout=vertical][active] .container .stepper-item-content .sc-calcite-stepper-item-s>:last-child{margin-bottom:var(--calcite-stepper-item-spacing-unit-l)}/*!@:host([layout=vertical][complete]) .container*/[layout=vertical][complete].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-color:rgba(0, 122, 194, 0.5)}/*!@:host([layout=vertical][complete]:hover:not([disabled]):not([active])) .container, :host([layout=vertical][complete]:focus:not([disabled]):not([active])) .container*/[layout=vertical][complete].sc-calcite-stepper-item-h:hover:not([disabled]):not([active]) .container.sc-calcite-stepper-item,[layout=vertical][complete].sc-calcite-stepper-item-h:focus:not([disabled]):not([active]) .container.sc-calcite-stepper-item{border-color:var(--calcite-ui-brand)}/*!@:host([layout=vertical][error]) .container*/[layout=vertical][error].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-color:var(--calcite-ui-danger)}/*!@:host([layout=vertical][active]) .container*/[layout=vertical][active].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-color:var(--calcite-ui-brand)}/*!@:host([layout=vertical]:hover:not([disabled]):not([active])) .container,\n:host([layout=vertical]:focus:not([disabled]):not([active])) .container*/[layout=vertical].sc-calcite-stepper-item-h:hover:not([disabled]):not([active]) .container.sc-calcite-stepper-item,[layout=vertical].sc-calcite-stepper-item-h:focus:not([disabled]):not([active]) .container.sc-calcite-stepper-item{border-color:rgba(0, 122, 194, 0.5)}/*!@:host([layout=vertical][error]:hover:not([disabled]):not([active])) .container, :host([layout=vertical][error]:focus:not([disabled]):not([active])) .container*/[layout=vertical][error].sc-calcite-stepper-item-h:hover:not([disabled]):not([active]) .container.sc-calcite-stepper-item,[layout=vertical][error].sc-calcite-stepper-item-h:focus:not([disabled]):not([active]) .container.sc-calcite-stepper-item{border-color:var(--calcite-ui-danger-hover)}";
|
|
29828
|
+
const stepperItemCss = "@-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-stepper-item: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-stepper-item{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-stepper-item{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-stepper-item{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-stepper-item{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-stepper-item{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-stepper-item:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-stepper-item-h{display:none}/*!@:host([scale=s])*/[scale=s].sc-calcite-stepper-item-h{--calcite-stepper-item-spacing-unit-s:0.25rem;--calcite-stepper-item-spacing-unit-m:0.75rem;--calcite-stepper-item-spacing-unit-l:1rem;font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-margin-end:0.25rem;margin-inline-end:0.25rem}/*!@:host([scale=s]) .stepper-item-subtitle*/[scale=s].sc-calcite-stepper-item-h .stepper-item-subtitle.sc-calcite-stepper-item{font-size:var(--calcite-font-size--2);line-height:1rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-stepper-item-h{--calcite-stepper-item-spacing-unit-s:0.5rem;--calcite-stepper-item-spacing-unit-m:1rem;--calcite-stepper-item-spacing-unit-l:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}/*!@:host([scale=m]) .stepper-item-subtitle*/[scale=m].sc-calcite-stepper-item-h .stepper-item-subtitle.sc-calcite-stepper-item{font-size:var(--calcite-font-size--1);line-height:1rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-stepper-item-h{--calcite-stepper-item-spacing-unit-s:0.75rem;--calcite-stepper-item-spacing-unit-m:1.25rem;--calcite-stepper-item-spacing-unit-l:1.5rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}/*!@:host([scale=l]) .stepper-item-subtitle*/[scale=l].sc-calcite-stepper-item-h .stepper-item-subtitle.sc-calcite-stepper-item{font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host*/.sc-calcite-stepper-item-h{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-item-align:start;align-self:flex-start;margin-bottom:var(--calcite-stepper-item-spacing-unit-s)}/*!@:host .container*/.sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;cursor:pointer;-ms-flex-direction:column;flex-direction:column;border-width:0px;border-top-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;-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)}/*!@:host*/.sc-calcite-stepper-item-h{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}/*!@:host(:focus)*/.sc-calcite-stepper-item-h:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}/*!@:host .stepper-item-header*/.sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:start;align-items:flex-start}/*!@:host .stepper-item-content, :host .stepper-item-header*/.sc-calcite-stepper-item-h .stepper-item-content.sc-calcite-stepper-item,.sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item{-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);padding-block:var(--calcite-stepper-item-spacing-unit-l);-webkit-padding-end:var(--calcite-stepper-item-spacing-unit-m);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}/*!@:host .stepper-item-header **/.sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item *.sc-calcite-stepper-item{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-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)}/*!@:host .stepper-item-content*/.sc-calcite-stepper-item-h .stepper-item-content.sc-calcite-stepper-item{display:none;width:100%;-ms-flex-direction:column;flex-direction:column;font-size:var(--calcite-font-size--2);line-height:1.375}/*!@:host .stepper-item-icon*/.sc-calcite-stepper-item-h .stepper-item-icon.sc-calcite-stepper-item{-webkit-margin-end:var(--calcite-stepper-item-spacing-unit-m);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m);margin-top:1px;display:-ms-inline-flexbox;display:inline-flex;height:0.75rem;-ms-flex-negative:0;flex-shrink:0;-ms-flex-item-align:start;align-self:flex-start;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);-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)}/*!@:host .stepper-item-header-text*/.sc-calcite-stepper-item-h .stepper-item-header-text.sc-calcite-stepper-item{-ms-flex-direction:column;flex-direction:column;text-align:initial;-webkit-margin-end:auto;margin-inline-end:auto}/*!@:host .stepper-item-title, :host .stepper-item-subtitle*/.sc-calcite-stepper-item-h .stepper-item-title.sc-calcite-stepper-item,.sc-calcite-stepper-item-h .stepper-item-subtitle.sc-calcite-stepper-item{display:-ms-flexbox;display:flex;width:100%}/*!@:host .stepper-item-title*/.sc-calcite-stepper-item-h .stepper-item-title.sc-calcite-stepper-item{margin-bottom:0.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}/*!@:host .stepper-item-subtitle*/.sc-calcite-stepper-item-h .stepper-item-subtitle.sc-calcite-stepper-item{color:var(--calcite-ui-text-3)}/*!@:host .stepper-item-number*/.sc-calcite-stepper-item-h .stepper-item-number.sc-calcite-stepper-item{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);-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);-webkit-margin-end:var(--calcite-stepper-item-spacing-unit-m);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m)}/*!@:host([disabled])*/[disabled].sc-calcite-stepper-item-h{pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-stepper-item-h[disabled] .sc-calcite-stepper-item-s>[calcite-hydrated][disabled],[disabled].sc-calcite-stepper-item-h [calcite-hydrated][disabled].sc-calcite-stepper-item{opacity:1}/*!@:host([complete]) .container*/[complete].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-color:rgba(0, 122, 194, 0.5)}/*!@:host([complete]) .container .stepper-item-icon*/[complete].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-icon.sc-calcite-stepper-item{color:var(--calcite-ui-brand)}/*!@:host([error]) .container*/[error].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-top-color:var(--calcite-ui-danger)}/*!@:host([error]) .container .stepper-item-number*/[error].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-number.sc-calcite-stepper-item{color:var(--calcite-ui-danger)}/*!@:host([error]) .container .stepper-item-icon*/[error].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-icon.sc-calcite-stepper-item{opacity:1;color:var(--calcite-ui-danger)}/*!@:host(:hover:not([disabled]):not([active])) .container, :host(:focus:not([disabled]):not([active])) .container*/.sc-calcite-stepper-item-h:hover:not([disabled]):not([active]) .container.sc-calcite-stepper-item,.sc-calcite-stepper-item-h:focus:not([disabled]):not([active]) .container.sc-calcite-stepper-item{border-top-color:var(--calcite-ui-brand)}/*!@:host(:hover:not([disabled]):not([active])) .container .stepper-item-title, :host(:focus:not([disabled]):not([active])) .container .stepper-item-title*/.sc-calcite-stepper-item-h:hover:not([disabled]):not([active]) .container.sc-calcite-stepper-item .stepper-item-title.sc-calcite-stepper-item,.sc-calcite-stepper-item-h:focus:not([disabled]):not([active]) .container.sc-calcite-stepper-item .stepper-item-title.sc-calcite-stepper-item{color:var(--calcite-ui-text-1)}/*!@:host(:hover:not([disabled]):not([active])) .container .stepper-item-subtitle, :host(:focus:not([disabled]):not([active])) .container .stepper-item-subtitle*/.sc-calcite-stepper-item-h:hover:not([disabled]):not([active]) .container.sc-calcite-stepper-item .stepper-item-subtitle.sc-calcite-stepper-item,.sc-calcite-stepper-item-h:focus:not([disabled]):not([active]) .container.sc-calcite-stepper-item .stepper-item-subtitle.sc-calcite-stepper-item{color:var(--calcite-ui-text-2)}/*!@:host([error]:hover:not([disabled]):not([active])) .container, :host([error]:focus:not([disabled]):not([active])) .container*/[error].sc-calcite-stepper-item-h:hover:not([disabled]):not([active]) .container.sc-calcite-stepper-item,[error].sc-calcite-stepper-item-h:focus:not([disabled]):not([active]) .container.sc-calcite-stepper-item{border-top-color:var(--calcite-ui-danger-hover)}/*!@:host([active]) .container*/[active].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-top-color:var(--calcite-ui-brand)}/*!@:host([active]) .container .stepper-item-title*/[active].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-title.sc-calcite-stepper-item{color:var(--calcite-ui-text-1)}/*!@:host([active]) .container .stepper-item-subtitle*/[active].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-subtitle.sc-calcite-stepper-item{color:var(--calcite-ui-text-2)}/*!@:host([active]) .container .stepper-item-number*/[active].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-number.sc-calcite-stepper-item{color:var(--calcite-ui-brand)}/*!@:host([active]) .container .stepper-item-icon*/[active].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-icon.sc-calcite-stepper-item{color:var(--calcite-ui-brand);opacity:1}/*!@:host([layout=vertical]) .container*/[layout=vertical].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{margin-left:0px;margin-right:0px;margin-top:0px;-ms-flex:1 1 auto;flex:1 1 auto;border-top-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-top:0px;padding-bottom:0px;border-inline-start-width:2px;-webkit-padding-start:var(--calcite-stepper-item-spacing-unit-l);padding-inline-start:var(--calcite-stepper-item-spacing-unit-l)}/*!@:host([layout=vertical]) .container .stepper-item-icon*/[layout=vertical].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-icon.sc-calcite-stepper-item{-ms-flex-order:3;order:3;margin-top:1px;margin-bottom:0px;-webkit-padding-start:var(--calcite-stepper-item-spacing-unit-s);padding-inline-start:var(--calcite-stepper-item-spacing-unit-s);-webkit-margin-start:auto;margin-inline-start:auto}/*!@:host([layout=vertical]) .container .stepper-item-header*/[layout=vertical].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-header.sc-calcite-stepper-item{-webkit-padding-end:0px;padding-inline-end:0px}/*!@:host([layout=vertical]) .container .stepper-item-content*/[layout=vertical].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-content.sc-calcite-stepper-item{padding:0px}/*!@:host([layout=vertical][active]) .container .stepper-item-content*/[layout=vertical][active].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-content.sc-calcite-stepper-item{display:-ms-flexbox;display:flex}/*!@:host([layout=vertical][active]) .container .stepper-item-content ::slotted(:last-child)*/.sc-calcite-stepper-item-h[layout=vertical][active] .container .stepper-item-content .sc-calcite-stepper-item-s>:last-child{margin-bottom:var(--calcite-stepper-item-spacing-unit-l)}/*!@:host([layout=vertical][complete]) .container*/[layout=vertical][complete].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-color:rgba(0, 122, 194, 0.5)}/*!@:host([layout=vertical][complete]:hover:not([disabled]):not([active])) .container, :host([layout=vertical][complete]:focus:not([disabled]):not([active])) .container*/[layout=vertical][complete].sc-calcite-stepper-item-h:hover:not([disabled]):not([active]) .container.sc-calcite-stepper-item,[layout=vertical][complete].sc-calcite-stepper-item-h:focus:not([disabled]):not([active]) .container.sc-calcite-stepper-item{border-color:var(--calcite-ui-brand)}/*!@:host([layout=vertical][error]) .container*/[layout=vertical][error].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-color:var(--calcite-ui-danger)}/*!@:host([layout=vertical][active]) .container*/[layout=vertical][active].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-color:var(--calcite-ui-brand)}/*!@:host([layout=vertical]:hover:not([disabled]):not([active])) .container,\n:host([layout=vertical]:focus:not([disabled]):not([active])) .container*/[layout=vertical].sc-calcite-stepper-item-h:hover:not([disabled]):not([active]) .container.sc-calcite-stepper-item,[layout=vertical].sc-calcite-stepper-item-h:focus:not([disabled]):not([active]) .container.sc-calcite-stepper-item{border-color:rgba(0, 122, 194, 0.5)}/*!@:host([layout=vertical][error]:hover:not([disabled]):not([active])) .container, :host([layout=vertical][error]:focus:not([disabled]):not([active])) .container*/[layout=vertical][error].sc-calcite-stepper-item-h:hover:not([disabled]):not([active]) .container.sc-calcite-stepper-item,[layout=vertical][error].sc-calcite-stepper-item-h:focus:not([disabled]):not([active]) .container.sc-calcite-stepper-item{border-color:var(--calcite-ui-danger-hover)}";
|
|
29805
29829
|
|
|
29806
29830
|
/**
|
|
29807
29831
|
* @slot - A slot for adding custom content.
|
|
@@ -29809,9 +29833,9 @@ const stepperItemCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyf
|
|
|
29809
29833
|
class StepperItem {
|
|
29810
29834
|
constructor(hostRef) {
|
|
29811
29835
|
registerInstance(this, hostRef);
|
|
29812
|
-
this.
|
|
29813
|
-
this.
|
|
29814
|
-
this.
|
|
29836
|
+
this.calciteInternalStepperItemKeyEvent = createEvent(this, "calciteInternalStepperItemKeyEvent", 7);
|
|
29837
|
+
this.calciteInternalStepperItemSelect = createEvent(this, "calciteInternalStepperItemSelect", 7);
|
|
29838
|
+
this.calciteInternalStepperItemRegister = createEvent(this, "calciteInternalStepperItemRegister", 7);
|
|
29815
29839
|
//--------------------------------------------------------------------------
|
|
29816
29840
|
//
|
|
29817
29841
|
// Public Properties
|
|
@@ -29853,7 +29877,7 @@ class StepperItem {
|
|
|
29853
29877
|
case "ArrowRight":
|
|
29854
29878
|
case "Home":
|
|
29855
29879
|
case "End":
|
|
29856
|
-
this.
|
|
29880
|
+
this.calciteInternalStepperItemKeyEvent.emit({ item: e });
|
|
29857
29881
|
e.preventDefault();
|
|
29858
29882
|
break;
|
|
29859
29883
|
}
|
|
@@ -29861,7 +29885,7 @@ class StepperItem {
|
|
|
29861
29885
|
};
|
|
29862
29886
|
this.emitRequestedItem = () => {
|
|
29863
29887
|
if (!this.disabled) {
|
|
29864
|
-
this.
|
|
29888
|
+
this.calciteInternalStepperItemSelect.emit({
|
|
29865
29889
|
position: this.itemPosition,
|
|
29866
29890
|
content: this.itemContent
|
|
29867
29891
|
});
|
|
@@ -29912,6 +29936,7 @@ class StepperItem {
|
|
|
29912
29936
|
this.activePosition = event.detail.position;
|
|
29913
29937
|
this.determineActiveItem();
|
|
29914
29938
|
}
|
|
29939
|
+
event.stopPropagation();
|
|
29915
29940
|
}
|
|
29916
29941
|
renderIcon() {
|
|
29917
29942
|
const path = this.active
|
|
@@ -29927,7 +29952,7 @@ class StepperItem {
|
|
|
29927
29952
|
this.active = !this.disabled && this.itemPosition === this.activePosition;
|
|
29928
29953
|
}
|
|
29929
29954
|
registerStepperItem() {
|
|
29930
|
-
this.
|
|
29955
|
+
this.calciteInternalStepperItemRegister.emit({
|
|
29931
29956
|
position: this.itemPosition,
|
|
29932
29957
|
content: this.itemContent
|
|
29933
29958
|
});
|
|
@@ -29955,7 +29980,7 @@ class StepperItem {
|
|
|
29955
29980
|
"numbered": [1028],
|
|
29956
29981
|
"scale": [1537]
|
|
29957
29982
|
},
|
|
29958
|
-
"$listeners$": [[16, "
|
|
29983
|
+
"$listeners$": [[16, "calciteInternalStepperItemChange", "updateActiveItemOnChange"]],
|
|
29959
29984
|
"$lazyBundleId$": "-",
|
|
29960
29985
|
"$attrsToReflect$": [["active", "active"], ["complete", "complete"], ["disabled", "disabled"], ["layout", "layout"], ["scale", "scale"]]
|
|
29961
29986
|
}; }
|
|
@@ -30088,7 +30113,7 @@ const tabCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in
|
|
|
30088
30113
|
class Tab {
|
|
30089
30114
|
constructor(hostRef) {
|
|
30090
30115
|
registerInstance(this, hostRef);
|
|
30091
|
-
this.
|
|
30116
|
+
this.calciteInternalTabRegister = createEvent(this, "calciteInternalTabRegister", 7);
|
|
30092
30117
|
/**
|
|
30093
30118
|
* Show this tab
|
|
30094
30119
|
*/
|
|
@@ -30110,7 +30135,7 @@ class Tab {
|
|
|
30110
30135
|
this.parentTabsEl = this.el.closest("calcite-tabs");
|
|
30111
30136
|
}
|
|
30112
30137
|
componentDidLoad() {
|
|
30113
|
-
this.
|
|
30138
|
+
this.calciteInternalTabRegister.emit();
|
|
30114
30139
|
}
|
|
30115
30140
|
componentWillRender() {
|
|
30116
30141
|
var _a;
|
|
@@ -30146,6 +30171,7 @@ class Tab {
|
|
|
30146
30171
|
this.active = index === event.detail.tab;
|
|
30147
30172
|
});
|
|
30148
30173
|
}
|
|
30174
|
+
event.stopPropagation();
|
|
30149
30175
|
}
|
|
30150
30176
|
//--------------------------------------------------------------------------
|
|
30151
30177
|
//
|
|
@@ -30338,6 +30364,7 @@ class TabNav {
|
|
|
30338
30364
|
this.selectedTab = e.detail.tab;
|
|
30339
30365
|
e.stopPropagation();
|
|
30340
30366
|
}
|
|
30367
|
+
e.stopPropagation();
|
|
30341
30368
|
}
|
|
30342
30369
|
updateOffsetPosition() {
|
|
30343
30370
|
var _a, _b, _c, _d, _e;
|
|
@@ -30390,7 +30417,7 @@ class TabNav {
|
|
|
30390
30417
|
"selectedTab": [32],
|
|
30391
30418
|
"selectedTabEl": [32]
|
|
30392
30419
|
},
|
|
30393
|
-
"$listeners$": [[0, "
|
|
30420
|
+
"$listeners$": [[0, "calciteInternalTabsFocusPrevious", "focusPreviousTabHandler"], [0, "calciteInternalTabsFocusNext", "focusNextTabHandler"], [0, "calciteInternalTabsActivate", "internalActivateTabHandler"], [0, "calciteTabsActivate", "activateTabHandler"], [0, "calciteInternalTabTitleRegister", "updateTabTitles"], [16, "calciteInternalTabChange", "globalInternalTabChangeHandler"]],
|
|
30394
30421
|
"$lazyBundleId$": "-",
|
|
30395
30422
|
"$attrsToReflect$": [["scale", "scale"], ["layout", "layout"], ["position", "position"], ["bordered", "bordered"]]
|
|
30396
30423
|
}; }
|
|
@@ -30406,9 +30433,9 @@ class TabTitle {
|
|
|
30406
30433
|
registerInstance(this, hostRef);
|
|
30407
30434
|
this.calciteTabsActivate = createEvent(this, "calciteTabsActivate", 7);
|
|
30408
30435
|
this.calciteInternalTabsActivate = createEvent(this, "calciteInternalTabsActivate", 7);
|
|
30409
|
-
this.
|
|
30410
|
-
this.
|
|
30411
|
-
this.
|
|
30436
|
+
this.calciteInternalTabsFocusNext = createEvent(this, "calciteInternalTabsFocusNext", 7);
|
|
30437
|
+
this.calciteInternalTabsFocusPrevious = createEvent(this, "calciteInternalTabsFocusPrevious", 7);
|
|
30438
|
+
this.calciteInternalTabTitleRegister = createEvent(this, "calciteInternalTabTitleRegister", 7);
|
|
30412
30439
|
//--------------------------------------------------------------------------
|
|
30413
30440
|
//
|
|
30414
30441
|
// Properties
|
|
@@ -30483,7 +30510,7 @@ class TabTitle {
|
|
|
30483
30510
|
}, style: showSideBorders && { width: `${this.parentTabNavEl.indicatorWidth}px` } }, this.iconStart ? iconStartEl : null, hAsync("slot", null), this.iconEnd ? iconEndEl : null)));
|
|
30484
30511
|
}
|
|
30485
30512
|
async componentDidLoad() {
|
|
30486
|
-
this.
|
|
30513
|
+
this.calciteInternalTabTitleRegister.emit(await this.getTabIdentifier());
|
|
30487
30514
|
}
|
|
30488
30515
|
componentDidRender() {
|
|
30489
30516
|
updateHostInteraction(this, true);
|
|
@@ -30522,18 +30549,18 @@ class TabTitle {
|
|
|
30522
30549
|
break;
|
|
30523
30550
|
case "ArrowRight":
|
|
30524
30551
|
if (getElementDir(this.el) === "ltr") {
|
|
30525
|
-
this.
|
|
30552
|
+
this.calciteInternalTabsFocusNext.emit();
|
|
30526
30553
|
}
|
|
30527
30554
|
else {
|
|
30528
|
-
this.
|
|
30555
|
+
this.calciteInternalTabsFocusPrevious.emit();
|
|
30529
30556
|
}
|
|
30530
30557
|
break;
|
|
30531
30558
|
case "ArrowLeft":
|
|
30532
30559
|
if (getElementDir(this.el) === "ltr") {
|
|
30533
|
-
this.
|
|
30560
|
+
this.calciteInternalTabsFocusPrevious.emit();
|
|
30534
30561
|
}
|
|
30535
30562
|
else {
|
|
30536
|
-
this.
|
|
30563
|
+
this.calciteInternalTabsFocusNext.emit();
|
|
30537
30564
|
}
|
|
30538
30565
|
break;
|
|
30539
30566
|
}
|
|
@@ -30686,7 +30713,7 @@ class Tabs {
|
|
|
30686
30713
|
/**
|
|
30687
30714
|
* @internal
|
|
30688
30715
|
*/
|
|
30689
|
-
|
|
30716
|
+
calciteInternalTabTitleRegister(e) {
|
|
30690
30717
|
this.titles = [...this.titles, e.target];
|
|
30691
30718
|
this.registryHandler();
|
|
30692
30719
|
e.stopPropagation();
|
|
@@ -30702,7 +30729,7 @@ class Tabs {
|
|
|
30702
30729
|
/**
|
|
30703
30730
|
* @internal
|
|
30704
30731
|
*/
|
|
30705
|
-
|
|
30732
|
+
calciteInternalTabRegister(e) {
|
|
30706
30733
|
this.tabs = [...this.tabs, e.target];
|
|
30707
30734
|
this.registryHandler();
|
|
30708
30735
|
e.stopPropagation();
|
|
@@ -30774,7 +30801,7 @@ class Tabs {
|
|
|
30774
30801
|
"titles": [32],
|
|
30775
30802
|
"tabs": [32]
|
|
30776
30803
|
},
|
|
30777
|
-
"$listeners$": [[0, "
|
|
30804
|
+
"$listeners$": [[0, "calciteInternalTabTitleRegister", "calciteInternalTabTitleRegister"], [16, "calciteTabTitleUnregister", "calciteTabTitleUnregister"], [0, "calciteInternalTabRegister", "calciteInternalTabRegister"], [16, "calciteTabUnregister", "calciteTabUnregister"]],
|
|
30778
30805
|
"$lazyBundleId$": "-",
|
|
30779
30806
|
"$attrsToReflect$": [["layout", "layout"], ["position", "position"], ["scale", "scale"], ["bordered", "bordered"]]
|
|
30780
30807
|
}; }
|
|
@@ -31186,9 +31213,9 @@ function capitalize(str) {
|
|
|
31186
31213
|
class TimePicker {
|
|
31187
31214
|
constructor(hostRef) {
|
|
31188
31215
|
registerInstance(this, hostRef);
|
|
31189
|
-
this.
|
|
31190
|
-
this.
|
|
31191
|
-
this.
|
|
31216
|
+
this.calciteInternalTimePickerBlur = createEvent(this, "calciteInternalTimePickerBlur", 7);
|
|
31217
|
+
this.calciteInternalTimePickerChange = createEvent(this, "calciteInternalTimePickerChange", 7);
|
|
31218
|
+
this.calciteInternalTimePickerFocus = createEvent(this, "calciteInternalTimePickerFocus", 7);
|
|
31192
31219
|
//--------------------------------------------------------------------------
|
|
31193
31220
|
//
|
|
31194
31221
|
// Properties
|
|
@@ -31541,7 +31568,7 @@ class TimePicker {
|
|
|
31541
31568
|
this.value = null;
|
|
31542
31569
|
}
|
|
31543
31570
|
if (emit) {
|
|
31544
|
-
this.
|
|
31571
|
+
this.calciteInternalTimePickerChange.emit();
|
|
31545
31572
|
}
|
|
31546
31573
|
};
|
|
31547
31574
|
this.setValuePart = (key, value, emit = true) => {
|
|
@@ -31580,7 +31607,7 @@ class TimePicker {
|
|
|
31580
31607
|
? ((_a = localizeTimeStringToParts(this.value, this.locale)) === null || _a === void 0 ? void 0 : _a.localizedMeridiem) || null
|
|
31581
31608
|
: localizeTimePart(this.meridiem, "meridiem", this.locale);
|
|
31582
31609
|
if (emit) {
|
|
31583
|
-
this.
|
|
31610
|
+
this.calciteInternalTimePickerChange.emit();
|
|
31584
31611
|
}
|
|
31585
31612
|
};
|
|
31586
31613
|
}
|
|
@@ -31597,10 +31624,10 @@ class TimePicker {
|
|
|
31597
31624
|
//
|
|
31598
31625
|
//--------------------------------------------------------------------------
|
|
31599
31626
|
hostBlurHandler() {
|
|
31600
|
-
this.
|
|
31627
|
+
this.calciteInternalTimePickerBlur.emit();
|
|
31601
31628
|
}
|
|
31602
31629
|
hostFocusHandler() {
|
|
31603
|
-
this.
|
|
31630
|
+
this.calciteInternalTimePickerFocus.emit();
|
|
31604
31631
|
}
|
|
31605
31632
|
keyDownHandler(event) {
|
|
31606
31633
|
const key = event.key;
|
|
@@ -32712,6 +32739,7 @@ class Tree {
|
|
|
32712
32739
|
this.calciteTreeSelect.emit({
|
|
32713
32740
|
selected: nodeListToArray(this.el.querySelectorAll("calcite-tree-item")).filter((i) => i.selected)
|
|
32714
32741
|
});
|
|
32742
|
+
e.stopPropagation();
|
|
32715
32743
|
}
|
|
32716
32744
|
keyDownHandler(event) {
|
|
32717
32745
|
var _a;
|
|
@@ -32823,7 +32851,7 @@ class Tree {
|
|
|
32823
32851
|
"scale": [1537],
|
|
32824
32852
|
"selectionMode": [1537, "selection-mode"]
|
|
32825
32853
|
},
|
|
32826
|
-
"$listeners$": [[0, "focus", "onFocus"], [0, "focusin", "onFocusIn"], [0, "focusout", "onFocusOut"], [0, "
|
|
32854
|
+
"$listeners$": [[0, "focus", "onFocus"], [0, "focusin", "onFocusIn"], [0, "focusout", "onFocusOut"], [0, "calciteInternalTreeItemSelect", "onClick"], [0, "keydown", "keyDownHandler"]],
|
|
32827
32855
|
"$lazyBundleId$": "-",
|
|
32828
32856
|
"$attrsToReflect$": [["lines", "lines"], ["child", "child"], ["scale", "scale"], ["selectionMode", "selection-mode"]]
|
|
32829
32857
|
}; }
|
|
@@ -32856,7 +32884,7 @@ const treeItemCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyfram
|
|
|
32856
32884
|
class TreeItem {
|
|
32857
32885
|
constructor(hostRef) {
|
|
32858
32886
|
registerInstance(this, hostRef);
|
|
32859
|
-
this.
|
|
32887
|
+
this.calciteInternalTreeItemSelect = createEvent(this, "calciteInternalTreeItemSelect", 7);
|
|
32860
32888
|
//--------------------------------------------------------------------------
|
|
32861
32889
|
//
|
|
32862
32890
|
// Properties
|
|
@@ -32995,7 +33023,7 @@ class TreeItem {
|
|
|
32995
33023
|
const target = link.target === "" ? "_self" : link.target;
|
|
32996
33024
|
window.open(link.href, target);
|
|
32997
33025
|
}
|
|
32998
|
-
this.
|
|
33026
|
+
this.calciteInternalTreeItemSelect.emit({
|
|
32999
33027
|
modifyCurrentSelection: this.selectionMode === TreeSelectionMode.Ancestors || this.isSelectionMultiLike,
|
|
33000
33028
|
forceToggle: false
|
|
33001
33029
|
});
|
|
@@ -33004,7 +33032,7 @@ class TreeItem {
|
|
|
33004
33032
|
let root;
|
|
33005
33033
|
switch (e.key) {
|
|
33006
33034
|
case " ":
|
|
33007
|
-
this.
|
|
33035
|
+
this.calciteInternalTreeItemSelect.emit({
|
|
33008
33036
|
modifyCurrentSelection: this.isSelectionMultiLike,
|
|
33009
33037
|
forceToggle: false
|
|
33010
33038
|
});
|
|
@@ -33018,7 +33046,7 @@ class TreeItem {
|
|
|
33018
33046
|
this.selected = true;
|
|
33019
33047
|
}
|
|
33020
33048
|
else {
|
|
33021
|
-
this.
|
|
33049
|
+
this.calciteInternalTreeItemSelect.emit({
|
|
33022
33050
|
modifyCurrentSelection: this.isSelectionMultiLike,
|
|
33023
33051
|
forceToggle: false
|
|
33024
33052
|
});
|
|
@@ -33201,12 +33229,13 @@ class ValueList {
|
|
|
33201
33229
|
calciteListItemChangeHandler(event) {
|
|
33202
33230
|
calciteListItemChangeHandler.call(this, event);
|
|
33203
33231
|
}
|
|
33204
|
-
|
|
33232
|
+
calciteInternalListItemPropsChangeHandler(event) {
|
|
33205
33233
|
event.stopPropagation();
|
|
33206
33234
|
this.setUpFilter();
|
|
33207
33235
|
}
|
|
33208
|
-
|
|
33209
|
-
|
|
33236
|
+
calciteInternalListItemValueChangeHandler(event) {
|
|
33237
|
+
calciteInternalListItemValueChangeHandler.call(this, event);
|
|
33238
|
+
event.stopPropagation();
|
|
33210
33239
|
}
|
|
33211
33240
|
// --------------------------------------------------------------------------
|
|
33212
33241
|
//
|
|
@@ -33293,7 +33322,7 @@ class ValueList {
|
|
|
33293
33322
|
"getSelectedItems": [64],
|
|
33294
33323
|
"setFocus": [64]
|
|
33295
33324
|
},
|
|
33296
|
-
"$listeners$": [[0, "focusout", "calciteListFocusOutHandler"], [0, "calciteListItemRemove", "calciteListItemRemoveHandler"], [0, "calciteListItemChange", "calciteListItemChangeHandler"], [0, "
|
|
33325
|
+
"$listeners$": [[0, "focusout", "calciteListFocusOutHandler"], [0, "calciteListItemRemove", "calciteListItemRemoveHandler"], [0, "calciteListItemChange", "calciteListItemChangeHandler"], [0, "calciteInternalListItemPropsChange", "calciteInternalListItemPropsChangeHandler"], [0, "calciteInternalListItemValueChange", "calciteInternalListItemValueChangeHandler"]],
|
|
33297
33326
|
"$lazyBundleId$": "-",
|
|
33298
33327
|
"$attrsToReflect$": [["disabled", "disabled"], ["dragEnabled", "drag-enabled"], ["filterEnabled", "filter-enabled"], ["filterPlaceholder", "filter-placeholder"], ["loading", "loading"], ["multiple", "multiple"]]
|
|
33299
33328
|
}; }
|